246 lines
1.1 MiB
JavaScript
246 lines
1.1 MiB
JavaScript
|
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-sU0pwRT9.js","assets/is-plan-event-enabled-DeNtQvA5.js","assets/index-B-5n3K6b.js"])))=>i.map(i=>d[i]);
|
||
|
|
/**
|
||
|
|
* @vue/shared v3.5.13
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**//*! #__NO_SIDE_EFFECTS__ */function fn(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const at={},Wo=[],vr=()=>{},el=()=>!1,Za=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),E_=e=>e.startsWith("onUpdate:"),ot=Object.assign,A_=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},j4=Object.prototype.hasOwnProperty,bt=(e,t)=>j4.call(e,t),Ce=Array.isArray,Go=e=>Ru(e)==="[object Map]",Ya=e=>Ru(e)==="[object Set]",Z0=e=>Ru(e)==="[object Date]",z4=e=>Ru(e)==="[object RegExp]",Be=e=>typeof e=="function",We=e=>typeof e=="string",Qr=e=>typeof e=="symbol",Et=e=>e!==null&&typeof e=="object",C_=e=>(Et(e)||Be(e))&&Be(e.then)&&Be(e.catch),h2=Object.prototype.toString,Ru=e=>h2.call(e),W4=e=>Ru(e).slice(8,-1),Uh=e=>Ru(e)==="[object Object]",T_=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pi=fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),G4=fn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Hh=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},K4=/-(\w)/g,Nt=Hh(e=>e.replace(K4,(t,r)=>r?r.toUpperCase():"")),Z4=/\B([A-Z])/g,Kr=Hh(e=>e.replace(Z4,"-$1").toLowerCase()),Ja=Hh(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ko=Hh(e=>e?`on${Ja(e)}`:""),xr=(e,t)=>!Object.is(e,t),Zo=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},m2=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Lp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fp=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let Y0;const Vh=()=>Y0||(Y0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Y4(e,t){return e+JSON.stringify(t,(r,n)=>typeof n=="function"?n.toString():n)}const J4="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Q4=fn(J4);function Fr(e){if(Ce(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],s=We(n)?g2(n):Fr(n);if(s)for(const i in s)t[i]=s[i]}return t}else if(We(e)||Et(e))return e}const X4=/;(?![^(]*\))/g,eO=/:([^]+)/,tO=/\/\*[^]*?\*\//g;function g2(e){const t={};return e.replace(tO,"").split(X4).forEach(r=>{if(r){const n=r.split(eO);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ze(e){let t="";if(We(e))t=e;else if(Ce(e))for(let r=0;r<e.length;r++){const n=ze(e[r]);n&&(t+=n+" ")}else if(Et(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function rO(e){if(!e)return null;let{class:t,style:r}=e;return t&&!We(t)&&(e.class=ze(t)),r&&(e.style=Fr(r)),e}const nO="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",sO="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",iO="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,m
|
||
|
|
* @vue/reactivity v3.5.13
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/let $r;class I_{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=$r,!t&&$r&&(this.index=($r.scopes||($r.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=$r;try{return $r=this,t()}finally{$r=r}}}on(){$r=this}off(){$r=this.parent}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function jh(e){return new I_(e)}function yc(){return $r}function $u(e,t=!1){$r&&$r.cleanups.push(e)}let Rt;const jm=new WeakSet;class Tl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,$r&&$r.active&&$r.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,jm.has(this)&&(jm.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||S2(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,J0(this),w2(this);const t=Rt,r=zn;Rt=this,zn=!0;try{return this.fn()}finally{k2(this),Rt=t,zn=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)R_(t);this.deps=this.depsTail=void 0,J0(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?jm.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Dg(this)&&this.run()}get dirty(){return Dg(this)}}let b2=0,ol,ul;function S2(e,t=!1){if(e.flags|=8,t){e.next=ul,ul=e;return}e.next=ol,ol=e}function P_(){b2++}function O_(){if(--b2>0)return;if(ul){let t=ul;for(ul=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;ol;){let t=ol;for(ol=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function w2(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function k2(e){let t,r=e.depsTail,n=r;for(;n;){const s=n.prevDep;n.version===-1?(n===r&&(r=s),R_(n),hO(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=s}e.deps=t,e.depsTail=r}function Dg(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(E2(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function E2(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Il))return;e.globalVersion=Il;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Dg(e)){e.flags&=-3;return}const r=Rt,n=zn;Rt=e,zn=!0;try{w2(e);const s=e.fn(e._value);(t.version===0||xr(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Rt=r,zn=n,k2(e),e.flags&=-3}}function R_(e,t=!1){const{dep:r,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)R_(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function hO(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function mO(e,t){e.effect instanceof Tl&&(e=e.effect.fn);const r=new Tl(e);t&&ot(r,t);try{r.run()}catch(s){throw r.stop(),s}const n=r.run.bind(r);return n.effect=r,n}function gO(e){e.effect.stop()}let zn=!0;const A2=[];function ji(){A2.push(zn),zn=!1}function zi(){const e=A2.pop();zn=e===void 0?!0:e}function J0(e){const{cleanup:t}=e;if(e
|
||
|
|
* @vue/runtime-core v3.5.13
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/const F2=[];function ZO(e){F2.push(e)}function YO(){F2.pop()}function JO(e,t){}const QO={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},XO={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 xu(e,t,r,n){try{return n?e(...n):e()}catch(s){Qa(s,t,r)}}function Tn(e,t,r,n){if(Be(e)){const s=xu(e,t,r,n);return s&&C_(s)&&s.catch(i=>{Qa(i,t,r)}),s}if(Ce(e)){const s=[];for(let i=0;i<e.length;i++)s.push(Tn(e[i],t,r,n));return s}}function Qa(e,t,r,n=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||at;if(t){let o=t.parent;const u=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${r}`;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,u,l)===!1)return}o=o.parent}if(i){ji(),xu(i,null,10,[e,u,l]),zi();return}}eR(e,r,s,n,a)}function eR(e,t,r,n=!0,s=!1){if(s)throw e;console.error(e)}const Nr=[];let ss=-1;const Yo=[];let yi=null,xo=0;const B2=Promise.resolve();let Hp=null;function pr(e){const t=Hp||B2;return e?t.then(this?e.bind(this):e):t}function tR(e){let t=ss+1,r=Nr.length;for(;t<r;){const n=t+r>>>1,s=Nr[n],i=Rl(s);i<e||i===e&&s.flags&2?t=n+1:r=n}return t}function N_(e){if(!(e.flags&1)){const t=Rl(e),r=Nr[Nr.length-1];!r||!(e.flags&2)&&t>=Rl(r)?Nr.push(e):Nr.splice(tR(t),0,e),e.flags|=1,U2()}}function U2(){Hp||(Hp=B2.then(H2))}function Ol(e){Ce(e)?Yo.push(...e):yi&&e.id===-1?yi.splice(xo+1,0,e):e.flags&1||(Yo.push(e),e.flags|=1),U2()}function X0(e,t,r=ss+1){for(;r<Nr.length;r++){const n=Nr[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Nr.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Vp(e){if(Yo.length){const t=[...new Set(Yo)].sort((r,n)=>Rl(r)-Rl(n));if(Yo.length=0,yi){yi.push(...t);return}for(yi=t,xo=0;xo<yi.length;xo++){const r=yi[xo];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}yi=null,xo=0}}const Rl=e=>e.id==null?e.flags&2?-1:1/0:e.id;function H2(e){try{for(ss=0;ss<Nr.length;ss++){const t=Nr[ss];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xu(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ss<Nr.length;ss++){const t=Nr[ss];t&&(t.flags&=-2)}ss=-1,Nr.length=0,Vp(),Hp=null,(Nr.length||Yo.length)&&H2()}}let No,Kc=[];function V2(e,t){var r,n;No=e,No?(No.enabled=!0,Kc.forEach(({event:s,args:i})=>No.emit(s,...i)),Kc=[]):typeof window<"u"&&window.HTMLElement&&!((n=(r=window.navigator)==null?void 0:r.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{V2(i,t)}),setTimeout(()=>{No||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Kc=[])},3e3)):Kc=[]}let or=null,Jh=null;function $l(e){const t=or;return or=e,Jh=e&&e.type.__scopeId||null,t}function rR(e){Jh=e}function nR(){Jh=null}const sR=e=>V;function V(e,t=or,r){if(!t||e._n)return e;const n=(...s)=>{n._d&&Gg(-1);const i=$l(t);let a;try{a=e(...s)}finally{$l(i),n._d&&Gg(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function In(e,t){if(or===null)return e;const r=Tc(or),n=e.
|
||
|
|
`&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(z=z.slice(1)),y.textContent!==z&&(Qc(y,0)||ho(),y.textContent=f.children)}if(A){if(j||!E||T&48){const z=y.tagName.includes("-");for(const de in A)(j&&(de.endsWith("value")||de==="indeterminate")||Za(de)&&!Pi(de)||de[0]==="."||z)&&n(y,de,null,A[de],void 0,h)}else if(A.onClick)n(y,"onClick",null,A.onClick,void 0,h);else if(T&4&&Wn(A.style))for(const z in A.style)A.style[z]}let J;(J=A&&A.onVnodeBeforeMount)&&zr(J,h,f),O&&is(f,null,h,"beforeMount"),((J=A&&A.onVnodeMounted)||O||I)&&OE(()=>{J&&zr(J,h,f),I&&H.enter(y),O&&is(f,null,h,"mounted")},m)}return y.nextSibling},g=(y,f,h,m,k,E,C)=>{C=C||!!f.dynamicChildren;const A=f.children,T=A.length;for(let x=0;x<T;x++){const O=C?A[x]:A[x]=Wr(A[x]),H=O.type===hs;y?(H&&!C&&x+1<T&&Wr(A[x+1]).type===hs&&(u(s(y.data.slice(O.children.length)),h,i(y)),y.data=O.children),y=d(y,O,m,k,E,C)):H&&!O.children?u(O.el=s(""),h):(Qc(h,1)||ho(),r(null,O,h,null,m,k,Jc(h),E))}return y},v=(y,f,h,m,k,E)=>{const{slotScopeIds:C}=f;C&&(k=k?k.concat(C):C);const A=a(y),T=g(i(y),f,A,h,m,k,E);return T&&Uo(T)&&T.data==="]"?i(f.anchor=T):(ho(),u(f.anchor=l("]"),A,T),T)},_=(y,f,h,m,k,E)=>{if(Qc(y.parentElement,1)||ho(),f.el=null,E){const T=w(y);for(;;){const x=i(y);if(x&&x!==T)o(x);else break}}const C=i(y),A=a(y);return o(y),r(null,f,A,C,h,m,Jc(A),k),h&&(h.vnode.el=f.el,rm(h,f.el)),C},w=(y,f="[",h="]")=>{let m=0;for(;y;)if(y=i(y),y&&Uo(y)&&(y.data===f&&m++,y.data===h)){if(m===0)return i(y);m--}return y},S=(y,f,h)=>{const m=f.parentNode;m&&m.replaceChild(y,f);let k=h;for(;k;)k.vnode.el===f&&(k.vnode.el=k.subTree.el=y),k=k.parent},b=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[c,d]}const i1="data-allow-mismatch",dR={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Qc(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(i1);)e=e.parentElement;const r=e&&e.getAttribute(i1);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:r.split(",").includes(dR[t])}}const fR=Vh().requestIdleCallback||(e=>setTimeout(e,1)),pR=Vh().cancelIdleCallback||(e=>clearTimeout(e)),hR=(e=1e4)=>t=>{const r=fR(t,{timeout:e});return()=>pR(r)};function mR(e){const{top:t,left:r,bottom:n,right:s}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return(t>0&&t<i||n>0&&n<i)&&(r>0&&r<a||s>0&&s<a)}const gR=e=>(t,r)=>{const n=new IntersectionObserver(s=>{for(const i of s)if(i.isIntersecting){n.disconnect(),t();break}},e);return r(s=>{if(s instanceof Element){if(mR(s))return t(),n.disconnect(),!1;n.observe(s)}}),()=>n.disconnect()},vR=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},_R=(e=[])=>(t,r)=>{We(e)&&(e=[e]);let n=!1;const s=a=>{n||(n=!0,i(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},i=()=>{r(a=>{for(const o of e)a.removeEventListener(o,s)})};return r(a=>{for(const o of e)a.addEventListener(o,s,{once:!0})}),i};function yR(e,t){if(Uo(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Uo(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const Oi=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function bR(e){Be(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:s=200,hydrate:i,timeout:a,suspensible:o=!0,onError:u}=e;let l=null,c,d=0;const p=()=>(d++,l=null,g()),g=()=>{let v;return l||(v=l=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),u)return new Promise((w,S)=>{u(_,()=>w(p()),()=>S(_),d+1)});throw _}).then(_=>v!==l&&l?l:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return pe({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(v,_,w){const S=i?()=>{const b=i(w,y=>yR(v,y));b&&(_.bum||(_.bum=[])).push(b)}:w;c?S():g().then(()=>!_.isUnmounted&&S())},get __asyncResolved(){return c},setup(){const v=ar;if(F_(v),c)return()=>Km(c,v);const _=y=>{l=null,Qa(y,v,13,!n)};if(o&&v.suspense||ou)return g().then(y=>()=>Km(y,v)).catch(y=>(_(y),()=>n?F(n,{error:y}):null));cons
|
||
|
|
* @vue/runtime-dom v3.5.13
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/let Xg;const p1=typeof window<"u"&&window.trustedTypes;if(p1)try{Xg=p1.createPolicy("vue",{createHTML:e=>e})}catch{}const VE=Xg?e=>Xg.createHTML(e):e=>e,x$="http://www.w3.org/2000/svg",N$="http://www.w3.org/1998/Math/MathML",xs=typeof document<"u"?document:null,h1=xs&&xs.createElement("template"),D$={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const s=t==="svg"?xs.createElementNS(x$,e):t==="mathml"?xs.createElementNS(N$,e):r?xs.createElement(e,{is:r}):xs.createElement(e);return e==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:e=>xs.createTextNode(e),createComment:e=>xs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,s,i){const a=r?r.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),r),!(s===i||!(s=s.nextSibling)););else{h1.innerHTML=VE(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const o=h1.content;if(n==="svg"||n==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},ui="transition",Hu="animation",uu=Symbol("_vtc"),qE={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},jE=ot({},L_,qE),L$=e=>(e.displayName="Transition",e.props=jE,e),Y_=L$((e,{slots:t})=>_t(Y2,zE(e),t)),na=(e,t=[])=>{Ce(e)?e.forEach(r=>r(...t)):e&&e(...t)},m1=e=>e?Ce(e)?e.some(t=>t.length>1):e.length>1:!1;function zE(e){const t={};for(const x in e)x in qE||(t[x]=e[x]);if(e.css===!1)return t;const{name:r="v",type:n,duration:s,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:o=`${r}-enter-to`,appearFromClass:u=i,appearActiveClass:l=a,appearToClass:c=o,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:p=`${r}-leave-active`,leaveToClass:g=`${r}-leave-to`}=e,v=F$(s),_=v&&v[0],w=v&&v[1],{onBeforeEnter:S,onEnter:b,onEnterCancelled:y,onLeave:f,onLeaveCancelled:h,onBeforeAppear:m=S,onAppear:k=b,onAppearCancelled:E=y}=t,C=(x,O,H,j)=>{x._enterCancelled=j,pi(x,O?c:o),pi(x,O?l:a),H&&H()},A=(x,O)=>{x._isLeaving=!1,pi(x,d),pi(x,g),pi(x,p),O&&O()},T=x=>(O,H)=>{const j=x?k:b,I=()=>C(O,x,H);na(j,[O,I]),g1(()=>{pi(O,x?u:i),rs(O,x?c:o),m1(j)||v1(O,n,_,I)})};return ot(t,{onBeforeEnter(x){na(S,[x]),rs(x,i),rs(x,a)},onBeforeAppear(x){na(m,[x]),rs(x,u),rs(x,l)},onEnter:T(!1),onAppear:T(!0),onLeave(x,O){x._isLeaving=!0;const H=()=>A(x,O);rs(x,d),x._enterCancelled?(rs(x,p),ev()):(ev(),rs(x,p)),g1(()=>{x._isLeaving&&(pi(x,d),rs(x,g),m1(f)||v1(x,n,w,H))}),na(f,[x,H])},onEnterCancelled(x){C(x,!1,void 0,!0),na(y,[x])},onAppearCancelled(x){C(x,!0,void 0,!0),na(E,[x])},onLeaveCancelled(x){A(x),na(h,[x])}})}function F$(e){if(e==null)return null;if(Et(e))return[Qm(e.enter),Qm(e.leave)];{const t=Qm(e);return[t,t]}}function Qm(e){return Fp(e)}function rs(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[uu]||(e[uu]=new Set)).add(t)}function pi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[uu];r&&(r.delete(t),r.size||(e[uu]=void 0))}function g1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let B$=0;function v1(e,t,r,n){const s=e._endId=++B$,i=()=>{s===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:a,timeout:o,propCount:u}=WE(e,t);if(!a)return n();const l=a+"end";let c=0;const d=()=>{e.removeEventListener(l,p),i()},p=g=>{g.target===e&&++c>=u&&d()};setTimeout(()=>{c<u&&d()},o+1),e.addEventListener(l,p)}function WE(e,t){const r=window.getComputedStyle(e),n=v=>(r[v]||"").split(", "),s=n(`${ui}Delay`),i=n(`${ui}Duration`),a=_1(s,i),o=n(`${Hu}Delay`),u=n(`${Hu}Duration`
|
||
|
|
* @vue/compiler-core v3.5.13
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/const Ll=Symbol(""),pl=Symbol(""),Q_=Symbol(""),Jp=Symbol(""),l8=Symbol(""),La=Symbol(""),c8=Symbol(""),d8=Symbol(""),X_=Symbol(""),ey=Symbol(""),Ic=Symbol(""),ty=Symbol(""),f8=Symbol(""),ry=Symbol(""),ny=Symbol(""),sy=Symbol(""),iy=Symbol(""),ay=Symbol(""),oy=Symbol(""),p8=Symbol(""),h8=Symbol(""),om=Symbol(""),Qp=Symbol(""),uy=Symbol(""),ly=Symbol(""),Fl=Symbol(""),Pc=Symbol(""),cy=Symbol(""),nv=Symbol(""),b6=Symbol(""),sv=Symbol(""),Xp=Symbol(""),S6=Symbol(""),w6=Symbol(""),dy=Symbol(""),k6=Symbol(""),E6=Symbol(""),fy=Symbol(""),m8=Symbol(""),cu={[Ll]:"Fragment",[pl]:"Teleport",[Q_]:"Suspense",[Jp]:"KeepAlive",[l8]:"BaseTransition",[La]:"openBlock",[c8]:"createBlock",[d8]:"createElementBlock",[X_]:"createVNode",[ey]:"createElementVNode",[Ic]:"createCommentVNode",[ty]:"createTextVNode",[f8]:"createStaticVNode",[ry]:"resolveComponent",[ny]:"resolveDynamicComponent",[sy]:"resolveDirective",[iy]:"resolveFilter",[ay]:"withDirectives",[oy]:"renderList",[p8]:"renderSlot",[h8]:"createSlots",[om]:"toDisplayString",[Qp]:"mergeProps",[uy]:"normalizeClass",[ly]:"normalizeStyle",[Fl]:"normalizeProps",[Pc]:"guardReactiveProps",[cy]:"toHandlers",[nv]:"camelize",[b6]:"capitalize",[sv]:"toHandlerKey",[Xp]:"setBlockTracking",[S6]:"pushScopeId",[w6]:"popScopeId",[dy]:"withCtx",[k6]:"unref",[E6]:"isRef",[fy]:"withMemo",[m8]:"isMemoSame"};function A6(e){Object.getOwnPropertySymbols(e).forEach(t=>{cu[t]=e[t]})}const pn={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function C6(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:pn}}function Bl(e,t,r,n,s,i,a,o=!1,u=!1,l=!1,c=pn){return e&&(o?(e.helper(La),e.helper(pu(e.inSSR,l))):e.helper(fu(e.inSSR,l)),a&&e.helper(ay)),{type:13,tag:t,props:r,children:n,patchFlag:s,dynamicProps:i,directives:a,isBlock:o,disableTracking:u,isComponent:l,loc:c}}function Pa(e,t=pn){return{type:17,loc:t,elements:e}}function kn(e,t=pn){return{type:15,loc:t,properties:e}}function Yt(e,t){return{type:16,loc:pn,key:We(e)?Ze(e,!0):e,value:t}}function Ze(e,t=!1,r=pn,n=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:n}}function Gn(e,t=pn){return{type:8,loc:t,children:e}}function ir(e,t=[],r=pn){return{type:14,loc:r,callee:e,arguments:t}}function du(e,t=void 0,r=!1,n=!1,s=pn){return{type:18,params:e,returns:t,newline:r,isSlot:n,loc:s}}function iv(e,t,r,n=!0){return{type:19,test:e,consequent:t,alternate:r,newline:n,loc:pn}}function T6(e,t,r=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:n,needArraySpread:!1,loc:pn}}function I6(e){return{type:21,body:e,loc:pn}}function fu(e,t){return e||t?X_:ey}function pu(e,t){return e||t?c8:d8}function py(e,{helper:t,removeHelper:r,inSSR:n}){e.isBlock||(e.isBlock=!0,r(fu(n,e.isComponent)),t(La),t(pu(n,e.isComponent)))}const N1=new Uint8Array([123,123]),D1=new Uint8Array([125,125]);function L1(e){return e>=97&&e<=122||e>=65&&e<=90}function tn(e){return e===32||e===10||e===9||e===12||e===13}function li(e){return e===47||e===62||tn(e)}function eh(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}const yr={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class P6{constructor(t,r){this.stack=t,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=N1,this.delimiterClose=D1,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.l
|
||
|
|
`);else if(Y6(i.content)){const a=e[s-1]&&e[s-1].type,o=e[s+1]&&e[s+1].type;!a||!o||r&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&J6(i.content)))?(n=!0,e[s]=null):i.content=" "}else r&&(i.content=E8(i.content))}return n?e.filter(Boolean):e}function Y6(e){for(let t=0;t<e.length;t++)if(!tn(e.charCodeAt(t)))return!1;return!0}function J6(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r===10||r===13)return!0}return!1}function E8(e){let t="",r=!1;for(let n=0;n<e.length;n++)tn(e.charCodeAt(n))?r||(t+=" ",r=!0):(t+=e[n],r=!1);return t}function ov(e){(Lt[0]||Vl).children.push(e)}function Kt(e,t){return{start:Wt.getPos(e),end:t==null?t:Wt.getPos(t),source:t==null?t:mr(e,t)}}function Q6(e){return Kt(e.start.offset,e.end.offset)}function Sa(e,t){e.end=Wt.getPos(t),e.source=mr(e.start.offset,t)}function X6(e){const t={type:6,name:e.rawName,nameLoc:Kt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const r=e.exp.loc;r.end.offset<e.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),t.value={type:2,content:e.exp.content,loc:r}}return t}function wp(e,t=!1,r,n=0,s=0){return Ze(e,t,r,n)}function Is(e,t,r){St.onError(Ft(e,Kt(t,t)))}function eM(){Wt.reset(),br=null,dt=null,jr="",Os=-1,ga=-1,Lt.length=0}function tM(e,t){if(eM(),zs=e,St=ot({},S8),t){let s;for(s in t)t[s]!=null&&(St[s]=t[s])}Wt.mode=St.parseMode==="html"?1:St.parseMode==="sfc"?2:0,Wt.inXML=St.ns===1||St.ns===2;const r=t&&t.delimiters;r&&(Wt.delimiterOpen=eh(r[0]),Wt.delimiterClose=eh(r[1]));const n=Vl=C6([],e);return Wt.parse(zs),n.loc=Kt(0,e.length),n.children=k8(n.children),Vl=null,n}function rM(e,t){kp(e,void 0,t,A8(e,e.children[0]))}function A8(e,t){const{children:r}=e;return r.length===1&&t.type===1&&!rh(t)}function kp(e,t,r,n=!1,s=!1){const{children:i}=e,a=[];for(let c=0;c<i.length;c++){const d=i[c];if(d.type===1&&d.tagType===0){const p=n?0:nn(d,r);if(p>0){if(p>=2){d.codegenNode.patchFlag=-1,a.push(d);continue}}else{const g=d.codegenNode;if(g.type===13){const v=g.patchFlag;if((v===void 0||v===512||v===1)&&T8(d,r)>=2){const _=I8(d);_&&(g.props=r.hoist(_))}g.dynamicProps&&(g.dynamicProps=r.hoist(g.dynamicProps))}}}else if(d.type===12&&(n?0:nn(d,r))>=2){a.push(d);continue}if(d.type===1){const p=d.tagType===1;p&&r.scopes.vSlot++,kp(d,e,r,!1,s),p&&r.scopes.vSlot--}else if(d.type===11)kp(d,e,r,d.children.length===1,!0);else if(d.type===9)for(let p=0;p<d.branches.length;p++)kp(d.branches[p],e,r,d.branches[p].children.length===1,s)}let o=!1;if(a.length===i.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&Ce(e.codegenNode.children))e.codegenNode.children=u(Pa(e.codegenNode.children)),o=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!Ce(e.codegenNode.children)&&e.codegenNode.children.type===15){const c=l(e.codegenNode,"default");c&&(c.returns=u(Pa(c.returns)),o=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Ce(t.codegenNode.children)&&t.codegenNode.children.type===15){const c=Sn(e,"slot",!0),d=c&&c.arg&&l(t.codegenNode,c.arg);d&&(d.returns=u(Pa(d.returns)),o=!0)}}if(!o)for(const c of a)c.codegenNode=r.cache(c.codegenNode);function u(c){const d=r.cache(c);return s&&r.hmr&&(d.needArraySpread=!0),d}function l(c,d){if(c.children&&!Ce(c.children)&&c.children.type===15){const p=c.children.properties.find(g=>g.key===d||g.key.content===d);return p&&p.value}}a.length&&r.transformHoist&&r.transformHoist(i,r,e)}function nn(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=r.get(e);if(n!==void 0)return n;const s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(s.patchFlag===void 0){let a=3;const o=T8(e,t);if(o===0)return r.set(e,0),0;o<a&&(a=o);for(let u=0;u<e.children.length;u++){const l=nn(e.children[u],t);if(l===0)return r.set(e,0),0;l<a&&(a=l)}if(a>1)for(let u=0;u<e.props.length;u++){const l=e.props[u];if(l.type===7&&l.name==="bind"&&l.exp){const c=nn(l.exp,t);if(c=
|
||
|
|
`+" ".repeat(_),0)}return g}function lM(e,t={}){const r=uM(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:n,push:s,prefixIdentifiers:i,indent:a,deindent:o,newline:u,scopeId:l,ssr:c}=r,d=Array.from(e.helpers),p=d.length>0,g=!i&&n!=="module";cM(e,r);const _=c?"ssrRender":"render",S=(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${_}(${S}) {`),a(),g&&(s("with (_ctx) {"),a(),p&&(s(`const { ${d.map(O8).join(", ")} } = _Vue
|
||
|
|
`,-1),u())),e.components.length&&(rg(e.components,"component",r),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(rg(e.directives,"directive",r),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),rg(e.filters,"filter",r),u()),e.temps>0){s("let ");for(let b=0;b<e.temps;b++)s(`${b>0?", ":""}_temp${b}`)}return(e.components.length||e.directives.length||e.temps)&&(s(`
|
||
|
|
`,0),u()),c||s("return "),e.codegenNode?Ar(e.codegenNode,r):s("null"),g&&(o(),s("}")),o(),s("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function cM(e,t){const{ssr:r,prefixIdentifiers:n,push:s,newline:i,runtimeModuleName:a,runtimeGlobalName:o,ssrRuntimeModuleName:u}=t,l=o,c=Array.from(e.helpers);if(c.length>0&&(s(`const _Vue = ${l}
|
||
|
|
`,-1),e.hoists.length)){const d=[X_,ey,Ic,ty,f8].filter(p=>c.includes(p)).map(O8).join(", ");s(`const { ${d} } = _Vue
|
||
|
|
`,-1)}dM(e.hoists,t),i(),s("return ")}function rg(e,t,{helper:r,push:n,newline:s,isTS:i}){const a=r(t==="filter"?iy:t==="component"?ry:sy);for(let o=0;o<e.length;o++){let u=e[o];const l=u.endsWith("__self");l&&(u=u.slice(0,-6)),n(`const ${Hl(u,t)} = ${a}(${JSON.stringify(u)}${l?", true":""})${i?"!":""}`),o<e.length-1&&s()}}function dM(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:n}=t;n();for(let s=0;s<e.length;s++){const i=e[s];i&&(r(`const _hoisted_${s+1} = `),Ar(i,t),n())}t.pure=!1}function vy(e,t){const r=e.length>3||!1;t.push("["),r&&t.indent(),Oc(e,t,r),r&&t.deindent(),t.push("]")}function Oc(e,t,r=!1,n=!0){const{push:s,newline:i}=t;for(let a=0;a<e.length;a++){const o=e[a];We(o)?s(o,-3):Ce(o)?vy(o,t):Ar(o,t),a<e.length-1&&(r?(n&&s(","),i()):n&&s(", "))}}function Ar(e,t){if(We(e)){t.push(e,-3);return}if(Qr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Ar(e.codegenNode,t);break;case 2:fM(e,t);break;case 4:R8(e,t);break;case 5:pM(e,t);break;case 12:Ar(e.codegenNode,t);break;case 8:$8(e,t);break;case 3:mM(e,t);break;case 13:gM(e,t);break;case 14:_M(e,t);break;case 15:yM(e,t);break;case 17:bM(e,t);break;case 18:SM(e,t);break;case 19:wM(e,t);break;case 20:kM(e,t);break;case 21:Oc(e.body,t,!0,!1);break}}function fM(e,t){t.push(JSON.stringify(e.content),-3,e)}function R8(e,t){const{content:r,isStatic:n}=e;t.push(n?JSON.stringify(r):r,-3,e)}function pM(e,t){const{push:r,helper:n,pure:s}=t;s&&r(cm),r(`${n(om)}(`),Ar(e.content,t),r(")")}function $8(e,t){for(let r=0;r<e.children.length;r++){const n=e.children[r];We(n)?t.push(n,-3):Ar(n,t)}}function hM(e,t){const{push:r}=t;if(e.type===8)r("["),$8(e,t),r("]");else if(e.isStatic){const n=my(e.content)?e.content:JSON.stringify(e.content);r(n,-2,e)}else r(`[${e.content}]`,-3,e)}function mM(e,t){const{push:r,helper:n,pure:s}=t;s&&r(cm),r(`${n(Ic)}(${JSON.stringify(e.content)})`,-3,e)}function gM(e,t){const{push:r,helper:n,pure:s}=t,{tag:i,props:a,children:o,patchFlag:u,dynamicProps:l,directives:c,isBlock:d,disableTracking:p,isComponent:g}=e;let v;u&&(v=String(u)),c&&r(n(ay)+"("),d&&r(`(${n(La)}(${p?"true":""}), `),s&&r(cm);const _=d?pu(t.inSSR,g):fu(t.inSSR,g);r(n(_)+"(",-2,e),Oc(vM([i,a,o,v,l]),t),r(")"),d&&r(")"),c&&(r(", "),Ar(c,t),r(")"))}function vM(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(r=>r||"null")}function _M(e,t){const{push:r,helper:n,pure:s}=t,i=We(e.callee)?e.callee:n(e.callee);s&&r(cm),r(i+"(",-2,e),Oc(e.arguments,t),r(")")}function yM(e,t){const{push:r,indent:n,deindent:s,newline:i}=t,{properties:a}=e;if(!a.length){r("{}",-2,e);return}const o=a.length>1||!1;r(o?"{":"{ "),o&&n();for(let u=0;u<a.length;u++){const{key:l,value:c}=a[u];hM(l,t),r(": "),Ar(c,t),u<a.length-1&&(r(","),i())}o&&s(),r(o?"}":" }")}function bM(e,t){vy(e.elements,t)}function SM(e,t){const{push:r,indent:n,deindent:s}=t,{params:i,returns:a,body:o,newline:u,isSlot:l}=e;l&&r(`_${cu[dy]}(`),r("(",-2,e),Ce(i)?Oc(i,t):i&&Ar(i,t),r(") => "),(u||o)&&(r("{"),n()),a?(u&&r("return "),Ce(a)?vy(a,t):Ar(a,t)):o&&Ar(o,t),(u||o)&&(s(),r("}")),l&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function wM(e,t){const{test:r,consequent:n,alternate:s,newline:i}=e,{push:a,indent:o,deindent:u,newline:l}=t;if(r.type===4){const d=!my(r.content);d&&a("("),R8(r,t),d&&a(")")}else a("("),Ar(r,t),a(")");i&&o(),t.indentLevel++,i||a(" "),a("? "),Ar(n,t),t.indentLevel--,i&&l(),i||a(" "),a(": ");const c=s.type===19;c||t.indentLevel++,Ar(s,t),c||t.indentLevel--,i&&u(!0)}function kM(e,t){const{push:r,helper:n,indent:s,deindent:i,newline:a}=t,{needPauseTracking:o,needArraySpread:u}=e;u&&r("[...("),r(`_cache[${e.index}] || (`),o&&(s(),r(`${n(Xp)}(-1`),e.inVOnce&&r(", true"),r("),"),a(),r("(")),r(`_cache[${e.index}] = `),Ar(e.value,t),o&&(r(`).cacheIndex = ${e.index},`),a(),r(`${n(Xp)}(1),`),a(),r(`_cache[${e.index}]`),i()),r(")"),u&&r(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\
|
||
|
|
* @vue/compiler-dom v3.5.13
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/const U8=Symbol(""),H8=Symbol(""),V8=Symbol(""),q8=Symbol(""),cv=Symbol(""),j8=Symbol(""),z8=Symbol(""),W8=Symbol(""),G8=Symbol(""),K8=Symbol("");A6({[U8]:"vModelRadio",[H8]:"vModelCheckbox",[V8]:"vModelText",[q8]:"vModelSelect",[cv]:"vModelDynamic",[j8]:"withModifiers",[z8]:"withKeys",[W8]:"vShow",[G8]:"Transition",[K8]:"TransitionGroup"});let mo;function YM(e,t=!1){return mo||(mo=document.createElement("div")),t?(mo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,mo.children[0].getAttribute("foo")):(mo.innerHTML=e,mo.textContent)}const JM={parseMode:"html",isVoidTag:cO,isNativeTag:e=>oO(e)||uO(e)||lO(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:YM,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return G8;if(e==="TransitionGroup"||e==="transition-group")return K8},getNamespace(e,t,r){let n=t?t.ns:r;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},QM=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:Ze("style",!0,t.loc),exp:XM(t.value.content,t.loc),modifiers:[],loc:t.loc})})},XM=(e,t)=>{const r=g2(e);return Ze(JSON.stringify(r),!1,t,3)};function Ri(e,t){return Ft(e,t)}const ex=(e,t,r)=>{const{exp:n,loc:s}=e;return n||r.onError(Ri(53,s)),t.children.length&&(r.onError(Ri(54,s)),t.children.length=0),{props:[Yt(Ze("innerHTML",!0,s),n||Ze("",!0))]}},tx=(e,t,r)=>{const{exp:n,loc:s}=e;return n||r.onError(Ri(55,s)),t.children.length&&(r.onError(Ri(56,s)),t.children.length=0),{props:[Yt(Ze("textContent",!0),n?nn(n,r)>0?n:ir(r.helperString(om),[n],s):Ze("",!0))]}},rx=(e,t,r)=>{const n=B8(e,t,r);if(!n.props.length||t.tagType===1)return n;e.arg&&r.onError(Ri(58,e.arg.loc));const{tag:s}=t,i=r.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||i){let a=V8,o=!1;if(s==="input"||i){const u=um(t,"type");if(u){if(u.type===7)a=cv;else if(u.value)switch(u.value.content){case"radio":a=U8;break;case"checkbox":a=H8;break;case"file":o=!0,r.onError(Ri(59,e.loc));break}}else F6(t)&&(a=cv)}else s==="select"&&(a=q8);o||(n.needRuntime=r.helper(a))}else r.onError(Ri(57,e.loc));return n.props=n.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),n},nx=fn("passive,once,capture"),sx=fn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ix=fn("left,right"),Z8=fn("onkeyup,onkeydown,onkeypress"),ax=(e,t,r,n)=>{const s=[],i=[],a=[];for(let o=0;o<t.length;o++){const u=t[o].content;u==="native"&&Ul("COMPILER_V_ON_NATIVE",r)||nx(u)?a.push(u):ix(u)?Zr(e)?Z8(e.content.toLowerCase())?s.push(u):i.push(u):(s.push(u),i.push(u)):sx(u)?i.push(u):s.push(u)}return{keyModifiers:s,nonKeyModifiers:i,eventOptionModifiers:a}},Q1=(e,t)=>Zr(e)&&e.content.toLowerCase()==="onclick"?Ze(t,!0):e.type!==4?Gn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,ox=(e,t,r)=>F8(e,t,r,n=>{const{modifiers:s}=e;if(!s.length)return n;let{key:i,value:a}=n.props[0];const{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:l}=ax(i,s,r,e.loc);if(u.includes("right")&&(i=Q1(i,"onContextmenu")),u.includes("middle")&&(i=Q1(i,"onMouseup")),u.length&&(a=ir(r.helper(j8),[a,JSON.stringify(u)])),o.length&&(!Zr(i)||Z8(i.content.toLowerCase()))&&(a=ir(r.helper(z8),[a,JSON.stringify(o)])),l.length){const c=l.map(Ja).join("");i=Zr(i)?Ze(`${i.content}${c}`,!0):Gn(["(",i,`) + "${c}"`])}return{props:[Yt(i,a)]}}),ux=(e,t,r)=>{const{exp:n,loc:s}=e;return n||r.onError(Ri(61,s)),{props:[],needRuntime:r.helper(W8)}},lx=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},cx=[QM],dx={cloak:ZM,html:ex,text:tx,model:rx,on:ox,show:ux};function fx(e,t={}){return KM(e,ot({},JM,t,{nodeTransforms:[lx,...cx,...t.nodeTransforms||[]],directiveTransforms:ot({},d
|
||
|
|
* vue v3.5.13
|
||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
|
* @license MIT
|
||
|
|
**/const X1=Object.create(null);function px(e,t){if(!We(e))if(e.nodeType)e=e.innerHTML;else return vr;const r=Y4(e,t),n=X1[r];if(n)return n;if(e[0]==="#"){const o=document.querySelector(e);e=o?o.innerHTML:""}const s=ot({hoistStatic:!0,onError:void 0,onWarn:vr},t);!s.isCustomElement&&typeof customElements<"u"&&(s.isCustomElement=o=>!!customElements.get(o));const{code:i}=fx(e,s),a=new Function("Vue",i)(y6);return a._rc=!0,X1[r]=a}FE(px);/*!
|
||
|
|
* pinia v2.1.7
|
||
|
|
* (c) 2023 Eduardo San Martin Morote
|
||
|
|
* @license MIT
|
||
|
|
*/let Y8;const dm=e=>Y8=e,J8=Symbol();function dv(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var hl;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(hl||(hl={}));function qoe(){const e=jh(!0),t=e.run(()=>G({}));let r=[],n=[];const s=Yh({install(i){dm(s),s._a=i,i.provide(J8,s),i.config.globalProperties.$pinia=s,n.forEach(a=>r.push(a)),n=[]},use(i){return this._a?r.push(i):n.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return s}const Q8=()=>{};function eb(e,t,r,n=Q8){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!r&&yc()&&$u(s),s}function go(e,...t){e.slice().forEach(r=>{r(...t)})}const hx=e=>e();function fv(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],s=e[r];dv(s)&&dv(n)&&e.hasOwnProperty(r)&&!yt(n)&&!Wn(n)?e[r]=fv(s,n):e[r]=n}return e}const mx=Symbol();function gx(e){return!dv(e)||!e.hasOwnProperty(mx)}const{assign:hi}=Object;function vx(e){return!!(yt(e)&&e.effect)}function _x(e,t,r,n){const{state:s,actions:i,getters:a}=t,o=r.state.value[e];let u;function l(){o||(r.state.value[e]=s?s():{});const c=Es(r.state.value[e]);return hi(c,i,Object.keys(a||{}).reduce((d,p)=>(d[p]=Yh(se(()=>{dm(r);const g=r._s.get(e);return a[p].call(g,g)})),d),{}))}return u=X8(e,l,t,r,n,!0),u}function X8(e,t,r={},n,s,i){let a;const o=hi({actions:{}},r),u={deep:!0};let l,c,d=[],p=[],g;const v=n.state.value[e];!i&&!v&&(n.state.value[e]={}),G({});let _;function w(E){let C;l=c=!1,typeof E=="function"?(E(n.state.value[e]),C={type:hl.patchFunction,storeId:e,events:g}):(fv(n.state.value[e],E),C={type:hl.patchObject,payload:E,storeId:e,events:g});const A=_=Symbol();pr().then(()=>{_===A&&(l=!0)}),c=!0,go(d,C,n.state.value[e])}const S=i?function(){const{state:C}=r,A=C?C():{};this.$patch(T=>{hi(T,A)})}:Q8;function b(){a.stop(),d=[],p=[],n._s.delete(e)}function y(E,C){return function(){dm(n);const A=Array.from(arguments),T=[],x=[];function O(I){T.push(I)}function H(I){x.push(I)}go(p,{args:A,name:E,store:h,after:O,onError:H});let j;try{j=C.apply(this&&this.$id===e?this:h,A)}catch(I){throw go(x,I),I}return j instanceof Promise?j.then(I=>(go(T,I),I)).catch(I=>(go(x,I),Promise.reject(I))):(go(T,j),j)}}const f={_p:n,$id:e,$onAction:eb.bind(null,p),$patch:w,$reset:S,$subscribe(E,C={}){const A=eb(d,E,C.detached,()=>T()),T=a.run(()=>Se(()=>n.state.value[e],x=>{(C.flush==="sync"?c:l)&&E({storeId:e,type:hl.direct,events:g},x)},hi({},u,C)));return A},$dispose:b},h=Wi(f);n._s.set(e,h);const k=(n._a&&n._a.runWithContext||hx)(()=>n._e.run(()=>(a=jh()).run(t)));for(const E in k){const C=k[E];if(yt(C)&&!vx(C)||Wn(C))i||(v&&gx(C)&&(yt(C)?C.value=v[E]:fv(C,v[E])),n.state.value[e][E]=C);else if(typeof C=="function"){const A=y(E,C);k[E]=A,o.actions[E]=C}}return hi(h,k),hi(Qe(h),k),Object.defineProperty(h,"$state",{get:()=>n.state.value[e],set:E=>{w(C=>{hi(C,E)})}}),n._p.forEach(E=>{hi(h,a.run(()=>E({store:h,app:n._a,pinia:n,options:o})))}),v&&i&&r.hydrate&&r.hydrate(h.$state,v),l=!0,c=!0,h}function Xa(e,t,r){let n,s;const i=typeof t=="function";typeof e=="string"?(n=e,s=i?r:t):(s=e,n=e.id);function a(o,u){const l=W_();return o=o||(l?it(J8,null):null),o&&dm(o),o=Y8,o._s.has(n)||(i?X8(n,t,s,o):_x(n,s,o)),o._s.get(n)}return a.$id=n,a}function Ne(e){{e=Qe(e);const t={};for(const r in e){const n=e[r];(yt(n)||Wn(n))&&(t[r]=x_(e,r))}return t}}const yx=Symbol();var fm=(e=>(e.Polite="polite",e.Assertive="assertive",e.Off="off",e))(fm||{});const bx=pe({name:"PuikIcon",__name:"icon",props:{icon:{type:String},nodeType:{default:"div",type:String},fontSize:{default:"1rem",type:[String,Number]},color:{default:"#00000",type:String},fill:{default:1,type:Number},isDisabled:{type:Boolean},dataTest:{type:String},ariaLabel:{type:String}},setup(e){const t=e,r=se(()=>Number.isNaN(Number(t.fontSize))?t.fontSize:`${t.fontSize}px`),n=se(()=>({fontSize:r.value,color:t.color,"font-variation-settings":`'FILL
|
||
|
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(_=>` - ${_}`).join(`
|
||
|
|
`)].join(`
|
||
|
|
`));let g=gA((a=d.props)!=null?a:{},u,c),v=Jn(d,g,!0);for(let _ in g)_.startsWith("on")&&(v.props||(v.props={}),v.props[_]=g[_]);return v}return Array.isArray(l)&&l.length===1?l[0]:l}return _t(o,Object.assign({},u,c),{default:()=>l})}function mA(e){return e.flatMap(t=>t.type===he?mA(t.children):[t])}function gA(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let s in n)s.startsWith("on")&&typeof n[s]=="function"?(r[s]!=null||(r[s]=[]),r[s].push(n[s])):t[s]=n[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(n=>[n,void 0])));for(let n in r)Object.assign(t,{[n](s,...i){let a=r[n];for(let o of a){if(s instanceof Event&&s.defaultPrevented)return;o(s,...i)}}});return t}function v5(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function vA(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function _5(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Fi=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Fi||{});let Ba=pe({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:r}){return()=>{var n;let{features:s,...i}=e,a={"aria-hidden":(s&2)===2?!0:(n=i["aria-hidden"])!=null?n:void 0,hidden:(s&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(s&4)===4&&(s&2)!==2&&{display:"none"}}};return hn({ourProps:a,theirProps:i,slot:{},attrs:r,slots:t,name:"Hidden"})}}}),_A=Symbol("Context");var Hs=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Hs||{});function yA(){return it(_A,null)}function y5(e){lr(_A,e)}var Ln=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ln||{});function b5(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let _a=[];b5(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&_a[0]!==t.target&&(_a.unshift(t.target),_a=_a.filter(r=>r!=null&&r.isConnected),_a.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function S5(e){var t,r;let n=(t=e?.form)!=null?t:e.closest("form");if(n){for(let s of n.elements)if(s!==e&&(s.tagName==="INPUT"&&s.type==="submit"||s.tagName==="BUTTON"&&s.type==="submit"||s.nodeName==="INPUT"&&s.type==="image")){s.click();return}(r=n.requestSubmit)==null||r.call(n)}}function Oy(e,t,r,n){hm.isServer||Hr(s=>{e=e??window,e.addEventListener(t,r,n),s(()=>e.removeEventListener(t,r,n))})}var sn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(sn||{});function Ry(){let e=G(0);return fA("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function bA(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.value){let n=Re(r);n instanceof HTMLElement&&t.add(n)}return t}var SA=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(SA||{});let ju=Object.assign(pe({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:G(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let
|
||
|
|
* vue-router v4.2.5
|
||
|
|
* (c) 2023 Eduardo San Martin Morote
|
||
|
|
* @license MIT
|
||
|
|
*/const Do=typeof window<"u";function b7(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const kt=Object.assign;function ug(e,t){const r={};for(const n in t){const s=t[n];r[n]=Qn(s)?s.map(e):e(s)}return r}const _l=()=>{},Qn=Array.isArray,S7=/\/$/,w7=e=>e.replace(S7,"");function lg(e,t,r="/"){let n,s={},i="",a="";const o=t.indexOf("#");let u=t.indexOf("?");return o<u&&o>=0&&(u=-1),u>-1&&(n=t.slice(0,u),i=t.slice(u+1,o>-1?o:t.length),s=e(i)),o>-1&&(n=n||t.slice(0,o),a=t.slice(o,t.length)),n=C7(n??t,r),{fullPath:n+(i&&"?")+i+a,path:n,query:s,hash:a}}function k7(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function Eb(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function E7(e,t,r){const n=t.matched.length-1,s=r.matched.length-1;return n>-1&&n===s&&_u(t.matched[n],r.matched[s])&&uC(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function _u(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function uC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!A7(e[r],t[r]))return!1;return!0}function A7(e,t){return Qn(e)?Ab(e,t):Qn(t)?Ab(t,e):e===t}function Ab(e,t){return Qn(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function C7(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let i=r.length-1,a,o;for(a=0;a<n.length;a++)if(o=n[a],o!==".")if(o==="..")i>1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var Gl;(function(e){e.pop="pop",e.push="push"})(Gl||(Gl={}));var yl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(yl||(yl={}));function T7(e){if(!e)if(Do){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),w7(e)}const I7=/^[^#]+#/;function P7(e,t){return e.replace(I7,"#")+t}function O7(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const bm=()=>({left:window.pageXOffset,top:window.pageYOffset});function R7(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),s=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!s)return;t=O7(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Cb(e,t){return(history.state?history.state.position-t:-1)+e}const kv=new Map;function $7(e,t){kv.set(e,t)}function M7(e){const t=kv.get(e);return kv.delete(e),t}let x7=()=>location.protocol+"//"+location.host;function lC(e,t){const{pathname:r,search:n,hash:s}=t,i=e.indexOf("#");if(i>-1){let o=s.includes(e.slice(i))?e.slice(i).length:1,u=s.slice(o);return u[0]!=="/"&&(u="/"+u),Eb(u,"")}return Eb(r,e)+n+s}function N7(e,t,r,n){let s=[],i=[],a=null;const o=({state:p})=>{const g=lC(e,location),v=r.value,_=t.value;let w=0;if(p){if(r.value=g,t.value=p,a&&a===v){a=null;return}w=_?p.position-_.position:0}else n(g);s.forEach(S=>{S(r.value,v,{delta:w,type:Gl.pop,direction:w?w>0?yl.forward:yl.back:yl.unknown})})};function u(){a=r.value}function l(p){s.push(p);const g=()=>{const v=s.indexOf(p);v>-1&&s.splice(v,1)};return i.push(g),g}function c(){const{history:p}=window;p.state&&p.replaceState(kt({},p.state,{scroll:bm()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:u,listen:l,destroy:d}}function Tb(e,t,r,n=!1,s=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:s?bm():null}}function D7(e){const{history:t,location:r}=window,n={value:lC(e,r)},s={value:t.state};s.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replace
|
||
|
|
* shared v9.9.0
|
||
|
|
* (c) 2024 kazuya kawaguchi
|
||
|
|
* Released under the MIT License.
|
||
|
|
*/const oh=typeof window<"u",Xi=(e,t=!1)=>t?Symbol.for(e):Symbol(e),EF=(e,t,r)=>AF({l:e,k:t,s:r}),AF=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),cr=e=>typeof e=="number"&&isFinite(e),CF=e=>yC(e)==="[object Date]",uh=e=>yC(e)==="[object RegExp]",wm=e=>mt(e)&&Object.keys(e).length===0,Cr=Object.assign;let Ub;const Kl=()=>Ub||(Ub=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hb(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const TF=Object.prototype.hasOwnProperty;function lh(e,t){return TF.call(e,t)}const ur=Array.isArray,jt=e=>typeof e=="function",xe=e=>typeof e=="string",zt=e=>typeof e=="boolean",wt=e=>e!==null&&typeof e=="object",IF=e=>wt(e)&&jt(e.then)&&jt(e.catch),_C=Object.prototype.toString,yC=e=>_C.call(e),mt=e=>{if(!wt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},PF=e=>e==null?"":ur(e)||mt(e)&&e.toString===_C?JSON.stringify(e,null,2):String(e);function OF(e,t=""){return e.reduce((r,n,s)=>s===0?r+n:r+t+n,"")}function Hy(e){let t=e;return()=>++t}function RF(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ld=e=>!wt(e)||ur(e);function Pp(e,t){if(ld(e)||ld(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:s}=r.pop();Object.keys(n).forEach(i=>{ld(n[i])||ld(s[i])?s[i]=n[i]:r.push({src:n[i],des:s[i]})})}}/*!
|
||
|
|
* message-compiler v9.9.0
|
||
|
|
* (c) 2024 kazuya kawaguchi
|
||
|
|
* Released under the MIT License.
|
||
|
|
*/const $F=/\{([0-9a-zA-Z]+)\}/g;function MF(e,...t){return t.length===1&&xF(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace($F,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const xF=e=>e!==null&&typeof e=="object",hr={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},NF={[hr.EXPECTED_TOKEN]:"Expected token: '{0}'",[hr.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[hr.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[hr.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[hr.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[hr.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[hr.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[hr.EMPTY_PLACEHOLDER]:"Empty placeholder",[hr.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[hr.INVALID_LINKED_FORMAT]:"Invalid linked format",[hr.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[hr.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[hr.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[hr.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[hr.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[hr.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function bC(e,t,r={}){const{domain:n,messages:s,args:i}=r,a=MF((s||NF)[e]||"",...i||[]),o=new SyntaxError(String(a));return o.code=e,o.domain=n,o}/*!
|
||
|
|
* core-base v9.9.0
|
||
|
|
* (c) 2024 kazuya kawaguchi
|
||
|
|
* Released under the MIT License.
|
||
|
|
*/function DF(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Kl().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Kl().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const ea=[];ea[0]={w:[0],i:[3,0],"[":[4],o:[7]};ea[1]={w:[1],".":[2],"[":[4],o:[7]};ea[2]={w:[2],i:[3,0],0:[3,0]};ea[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ea[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ea[5]={"'":[4,0],o:8,l:[5,0]};ea[6]={'"':[4,0],o:8,l:[6,0]};const LF=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function FF(e){return LF.test(e)}function BF(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function UF(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function HF(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:FF(t)?BF(t):"*"+t}function VF(e){const t=[];let r=-1,n=0,s=0,i,a,o,u,l,c,d;const p=[];p[0]=()=>{a===void 0?a=o:a+=o},p[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},p[2]=()=>{p[0](),s++},p[3]=()=>{if(s>0)s--,n=4,p[0]();else{if(s=0,a===void 0||(a=HF(a),a===!1))return!1;p[1]()}};function g(){const v=e[r+1];if(n===5&&v==="'"||n===6&&v==='"')return r++,o="\\"+v,p[0](),!0}for(;n!==null;)if(r++,i=e[r],!(i==="\\"&&g())){if(u=UF(i),d=ea[n],l=d[u]||d.l||8,l===8||(n=l[0],l[1]!==void 0&&(c=p[l[1]],c&&(o=i,c()===!1))))return;if(n===7)return t}}const Vb=new Map;function qF(e,t){return wt(e)?e[t]:null}function jF(e,t){if(!wt(e))return null;let r=Vb.get(t);if(r||(r=VF(t),r&&Vb.set(t,r)),!r)return null;const n=r.length;let s=e,i=0;for(;i<n;){const a=s[r[i]];if(a===void 0||jt(s))return null;s=a,i++}return s}const zF=e=>e,WF=e=>"",GF="text",KF=e=>e.length===0?"":OF(e),ZF=PF;function qb(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function YF(e){const t=cr(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(cr(e.named.count)||cr(e.named.n))?cr(e.named.count)?e.named.count:cr(e.named.n)?e.named.n:t:t}function JF(e,t){t.count||(t.count=e),t.n||(t.n=e)}function QF(e={}){const t=e.locale,r=YF(e),n=wt(e.pluralRules)&&xe(t)&&jt(e.pluralRules[t])?e.pluralRules[t]:qb,s=wt(e.pluralRules)&&xe(t)&&jt(e.pluralRules[t])?qb:void 0,i=S=>S[n(r,S.length,s)],a=e.list||[],o=S=>a[S],u=e.named||{};cr(e.pluralIndex)&&JF(r,u);const l=S=>u[S];function c(S){const b=jt(e.messages)?e.messages(S):wt(e.messages)?e.messages[S]:!1;return b||(e.parent?e.parent.message(S):WF)}const d=S=>e.modifiers?e.modifiers[S]:zF,p=mt(e.processor)&&jt(e.processor.normalize)?e.processor.normalize:KF,g=mt(e.processor)&&jt(e.processor.interpolate)?e.processor.interpolate:ZF,v=mt(e.processor)&&xe(e.processor.type)?e.processor.type:GF,w={list:o,named:l,plural:i,linked:(S,...b)=>{const[y,f]=b;let h="text",m="";b.length===1?wt(y)?(m=y.modifier||m,h=y.type||h):xe(y)&&(m=y||m):b.length===2&&(xe(y)&&(m=y||m),xe(f)&&(h=f||h));const k=c(S)(w),E=h==="vnode"&&ur(k)&&m?k[0]:k;return m?d(m)(E,h):E},message:c,type:v,interpolate:g,normalize:p,values:Cr({},a,u)};return w}let Zl=null;function XF(e){Zl=e}function eB(e,t,r){Zl&&Zl.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const tB=rB("function:translate");function rB(e){return t=>Zl&&Zl.emit(e,t)}const nB={__EXTEND_POINT__:8},SC=hr.__EXTEND_POINT__,sa=Hy(SC),ls={INVALID_ARGUMENT:SC,INVALID_DATE_ARGUMENT:sa(),INVALID_ISO_DATE_ARGUMENT:sa(),NOT_SUPPORT_NON_STRING_MESSAGE:sa(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:sa(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:sa(),NOT_SUPPORT_LOCALE_TYPE:sa(),__EXTEND_POINT__:sa()};function Vs(e){return bC(e,null,void 0)}function Vy(e,t){return t.locale!=null?jb(t.locale):jb(e.locale)}let dg;function jb(e){if(xe(e))return e;if(jt(e)){if(e.resolvedOnce&&dg!=null)return dg;if(e.constructor.name==="Function"){const t=e();if(IF(t))throw Vs(ls.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return dg=t}else throw Vs(ls.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vs(ls.NOT_SUPPORT_LOCALE_TYPE)}function sB(e,t,r){return[...new Set([r,...ur(t)
|
||
|
|
* vue-i18n v9.9.0
|
||
|
|
* (c) 2024 kazuya kawaguchi
|
||
|
|
* Released under the MIT License.
|
||
|
|
*/const bB="9.9.0";function SB(){typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Kl().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Kl().__INTLIFY_PROD_DEVTOOLS__=!1)}const wB=nB.__EXTEND_POINT__,di=Hy(wB);di(),di(),di(),di(),di(),di(),di(),di();const RC=ls.__EXTEND_POINT__,qr=Hy(RC),Rn={UNEXPECTED_RETURN_TYPE:RC,INVALID_ARGUMENT:qr(),MUST_BE_CALL_SETUP_TOP:qr(),NOT_INSTALLED:qr(),NOT_AVAILABLE_IN_LEGACY_MODE:qr(),REQUIRED_VALUE:qr(),INVALID_VALUE:qr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:qr(),NOT_INSTALLED_WITH_PROVIDE:qr(),UNEXPECTED_ERROR:qr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:qr(),BRIDGE_SUPPORT_VUE_2_ONLY:qr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:qr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:qr(),__EXTEND_POINT__:qr()};function Xn(e,...t){return bC(e,null,void 0)}const Pv=Xi("__translateVNode"),Ov=Xi("__datetimeParts"),Rv=Xi("__numberParts"),kB=Xi("__setPluralRules"),EB=Xi("__injectWithOption"),$v=Xi("__dispose");function Yl(e){if(!wt(e))return e;for(const t in e)if(lh(e,t))if(!t.includes("."))wt(e[t])&&Yl(e[t]);else{const r=t.split("."),n=r.length-1;let s=e,i=!1;for(let a=0;a<n;a++){if(r[a]in s||(s[r[a]]={}),!wt(s[r[a]])){i=!0;break}s=s[r[a]]}i||(s[r[n]]=e[t],delete e[t]),wt(s[r[n]])&&Yl(s[r[n]])}return e}function $C(e,t){const{messages:r,__i18n:n,messageResolver:s,flatJson:i}=t,a=mt(r)?r:ur(n)?{}:{[e]:{}};if(ur(n)&&n.forEach(o=>{if("locale"in o&&"resource"in o){const{locale:u,resource:l}=o;u?(a[u]=a[u]||{},Pp(l,a[u])):Pp(l,a)}else xe(o)&&Pp(JSON.parse(o),a)}),s==null&&i)for(const o in a)lh(a,o)&&Yl(a[o]);return a}function MC(e){return e.type}function AB(e,t,r){let n=wt(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=$C(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,n[i])});{if(wt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(wt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function rS(e){return F(hs,null,e,0)}const nS="__INTLIFY_META__",sS=()=>[],CB=()=>!1;let iS=0;function aS(e){return(t,r,n,s)=>e(r,n,Jt()||void 0,s)}const TB=()=>{const e=Jt();let t=null;return e&&(t=MC(e)[nS])?{[nS]:t}:null};function xC(e={},t){const{__root:r,__injectWithOption:n}=e,s=r===void 0,i=e.flatJson,a=oh?G:Mu;let o=zt(e.inheritLocale)?e.inheritLocale:!0;const u=a(r&&o?r.locale.value:xe(e.locale)?e.locale:ch),l=a(r&&o?r.fallbackLocale.value:xe(e.fallbackLocale)||ur(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),c=a($C(u.value,e)),d=a(mt(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=a(mt(e.numberFormats)?e.numberFormats:{[u.value]:{}});let g=r?r.missingWarn:zt(e.missingWarn)||uh(e.missingWarn)?e.missingWarn:!0,v=r?r.fallbackWarn:zt(e.fallbackWarn)||uh(e.fallbackWarn)?e.fallbackWarn:!0,_=r?r.fallbackRoot:zt(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,S=jt(e.missing)?e.missing:null,b=jt(e.missing)?aS(e.missing):null,y=jt(e.postTranslation)?e.postTranslation:null,f=r?r.warnHtmlMessage:zt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter;const m=r?r.modifiers:mt(e.modifiers)?e.modifiers:{};let k=e.pluralRules||r&&r.pluralRules,E;E=(()=>{s&&Kb(null);const Z={version:bB,locale:u.value,fallbackLocale:l.value,messages:c.value,modifiers:m,pluralRules:k,missing:b===null?void 0:b,missingWarn:g,fallbackWarn:v,fallbackFormat:w,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};Z.datetimeFormats=d.value,Z.numberFormats=p.value,Z.__datetimeFormatters=mt(E)?E.__datetimeFormatters:void 0,Z.__numberFormatters=mt(E)?E.__numberFormatters:void 0;const ae=mB(Z);return s&&Kb(ae),ae})(),Gu(E,u.value,l.value);function A(){return[u.value,l.value,c.value,d.value,p.value]}const T=se({get:()=>u.value,set:Z=>{u.value=Z,E.locale=u.value}}),x=se({get:()=>l.value,set:Z=>{l.value=Z,E.fallbackL
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(b,y){if(b){if(typeof b=="string")return c(b,y);var f=Object.prototype.toString.call(b).slice(8,-1);if(f==="Object"&&b.constructor&&(f=b.constructor.name),f==="Map"||f==="Set")return Array.from(b);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return c(b,y)}}function c(b,y){(y==null||y>b.length)&&(y=b.length);for(var f=0,h=new Array(y);f<y;f++)h[f]=b[f];return h}function d(b,y){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(b)))){var f=[],h=!0,m=!1,k=void 0;try{for(var E=b[Symbol.iterator](),C;!(h=(C=E.next()).done)&&(f.push(C.value),!(y&&f.length===y));h=!0);}catch(A){m=!0,k=A}finally{try{!h&&E.return!=null&&E.return()}finally{if(m)throw k}}return f}}function p(b){if(Array.isArray(b))return b}var g={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},v=/^\[([^\]]+)\](?::([0-9]+))?$/;function _(b){return Object.prototype.toString.call(b)==="[object RegExp]"}function w(b,y){for(var f=0;f<y.length;f++){var h=y[f];if(b===h||_(h)&&h.test(b))return!0}return!1}function S(b,y){if((0,r.default)(b),!b||/[\s<>]/.test(b)||b.indexOf("mailto:")===0||(y=(0,i.default)(y,g),y.validate_length&&b.length>=2083)||!y.allow_fragments&&b.includes("#")||!y.allow_query_components&&(b.includes("?")||b.includes("&")))return!1;var f,h,m,k,E,C,A,T;if(A=b.split("#"),b=A.shift(),A=b.split("?"),b=A.shift(),A=b.split("://"),A.length>1){if(f=A.shift().toLowerCase(),y.require_valid_protocol&&y.protocols.indexOf(f)===-1)return!1}else{if(y.require_protocol)return!1;if(b.slice(0,2)==="//"){if(!y.allow_protocol_relative_urls)return!1;A[0]=b.slice(2)}}if(b=A.join("://"),b==="")return!1;if(A=b.split("/"),b=A.shift(),b===""&&!y.require_host)return!0;if(A=b.split("@"),A.length>1){if(y.disallow_auth||A[0]===""||(h=A.shift(),h.indexOf(":")>=0&&h.split(":").length>2))return!1;var x=h.split(":"),O=o(x,2),H=O[0],j=O[1];if(H===""&&j==="")return!1}k=A.join("@"),C=null,T=null;var I=k.match(v);if(I?(m="",T=I[1],C=I[2]||null):(A=k.split(":"),m=A.shift(),A.length&&(C=A.join(":"))),C!==null&&C.length>0){if(E=parseInt(C,10),!/^[0-9]+$/.test(C)||E<=0||E>65535)return!1}else if(y.require_port)return!1;return y.host_whitelist?w(m,y.host_whitelist):m===""&&!y.require_host?!0:!(!(0,s.default)(m)&&!(0,n.default)(m,y)&&(!T||!(0,s.default)(T,6))||(m=m||T,y.host_blacklist&&w(m,y.host_blacklist)))}e.exports=t.default,e.exports.default=t.default}(Ld,Ld.exports)),Ld.exports}var Fd={exports:{}},Pw;function IW(){return Pw||(Pw=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=n(_e());function n(d){return d&&d.__esModule?d:{default:d}}var s=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,i=/^([0-9a-fA-F]){12}$/,a=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,o=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,u=/^([0-9a-fA-F]){16}$/,l=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;function c(d,p){return(0,r.default)(d),p!=null&&p.eui&&(p.eui=String(p.eui)),p!=null&&p.no_colons||p!=null&&p.no_separators?p.eui==="48"?i.test(d):p.eui==="64"?u.test(d):i.test(d)||u.test(d):p?.eui==="48"?s.test(d)||a.test(d):p?.eui==="64"?o.test(d)||l.test(d):c(d,{eui:"48"})||c(d,{eui:"64"})}e.exports=t.default,e.exports.default=t.default}(Fd,Fd.exports)),Fd.exports}var Bd={exports:{}},Ow;function PW(){return Ow||(Ow=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=s(_e()),n=s(Om());function s(l){return l&&l.__esModule?l:{default:l}}var i=/^\d{1,3}$/,a=32,o=128;function u(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(0,r.default)(l);var d=l.split("/");if(d.length!==2||!i.test(d[1])||d[1].length>1&&d[1].startsWith("0"))return!1;var p=(0,n.default)(d[0],c);if(!p)return!1;var g=null;switch(String(c)){case"4":g=a;break;case"6":g=o;break;default:g=(0,n.default)(d[0],"6")
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(_,w){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(_)))){var S=[],b=!0,y=!1,f=void 0;try{for(var h=_[Symbol.iterator](),m;!(b=(m=h.next()).done)&&(S.push(m.value),!(w&&S.length===w));b=!0);}catch(k){y=!0,f=k}finally{try{!b&&h.return!=null&&h.return()}finally{if(y)throw f}}return S}}function o(_){if(Array.isArray(_))return _}function u(_,w){var S;if(typeof Symbol>"u"||_[Symbol.iterator]==null){if(Array.isArray(_)||(S=l(_))||w){S&&(_=S);var b=0,y=function(){};return{s:y,n:function(){return b>=_.length?{done:!0}:{done:!1,value:_[b++]}},e:function(E){throw E},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,h=!1,m;return{s:function(){S=_[Symbol.iterator]()},n:function(){var E=S.next();return f=E.done,E},e:function(E){h=!0,m=E},f:function(){try{!f&&S.return!=null&&S.return()}finally{if(h)throw m}}}}function l(_,w){if(_){if(typeof _=="string")return c(_,w);var S=Object.prototype.toString.call(_).slice(8,-1);if(S==="Object"&&_.constructor&&(S=_.constructor.name),S==="Map"||S==="Set")return Array.from(_);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return c(_,w)}}function c(_,w){(w==null||w>_.length)&&(w=_.length);for(var S=0,b=new Array(w);S<w;S++)b[S]=_[S];return b}var d={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};function p(_){return/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(_)}function g(_,w){for(var S=[],b=Math.min(_.length,w.length),y=0;y<b;y++)S.push([_[y],w[y]]);return S}function v(_,w){if(typeof w=="string"?w=(0,r.default)({format:w},d):w=(0,r.default)(w,d),typeof _=="string"&&p(w.format)){var S=w.delimiters.find(function(O){return w.format.indexOf(O)!==-1}),b=w.strictMode?S:w.delimiters.find(function(O){return _.indexOf(O)!==-1}),y=g(_.split(b),w.format.toLowerCase().split(S)),f={},h=u(y),m;try{for(h.s();!(m=h.n()).done;){var k=s(m.value,2),E=k[0],C=k[1];if(E.length!==C.length)return!1;f[C.charAt(0)]=E}}catch(O){h.e(O)}finally{h.f()}var A=f.y;if(f.y.length===2){var T=parseInt(f.y,10);if(isNaN(T))return!1;var x=new Date().getFullYear()%100;T<x?A="20".concat(f.y):A="19".concat(f.y)}return new Date("".concat(A,"-").concat(f.m,"-").concat(f.d)).getDate()===+f.d}return w.strictMode?!1:Object.prototype.toString.call(_)==="[object Date]"&&isFinite(_)}e.exports=t.default,e.exports.default=t.default}(Ud,Ud.exports)),Ud.exports}var Hd={exports:{}},$w;function OW(){return $w||($w=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(Vr());function n(o){return o&&o.__esModule?o:{default:o}}var s={hourFormat:"hour24",mode:"default"},i={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};function a(o,u){return u=(0,r.default)(u,s),typeof o!="string"?!1:i[u.hourFormat][u.mode].test(o)}e.exports=t.default,e.exports.default=t.default}(Hd,Hd.exports)),Hd.exports}var Vd={exports:{}},Mw;function RW(){return Mw||(Mw=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(_e());function n(u){return u&&u.__esModule?u:{default:u}}var s={loose:!1},i=["true","false","1","0"],a=[].concat(i,["yes","no"]);function o(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;return(0,r.default)(u),l.loose?a.includes(u.toLowerCase()):i.includes(u)}e.exports=t.default,e.exports.default=t.default}(Vd,Vd.exports)),Vd.exports}var qd={exports:{}},xw;function $W(){return xw||(xw=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r=n(_e());function n(y){return y&&y.__esModule?y:{default:y}}var s="([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",i="(([a-zA-Z]{2,3}(-".concat(s,")?)|([a-zA-Z]{5,8}))"),a="([A-Za-z]{4})",o="([A-Za-z]{2}|\\d{3})",u="([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",l="(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])",c="(".concat(l,"(-[A-Za-z0-9]{2,8})+)"),d="(x(-[A-Za-z0-9]{1,8})+)",p="((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))",g="((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",v="(".concat(p,"|").concat(g,")"),_="(-|_)",w="".concat(i,"(").concat(_).concat(a,")?(").concat(_).concat(o,")?(").concat(_).concat(u,")*(").concat(_).concat(c,")*(").concat(_).concat(d,")?"),S=new RegExp("(^".concat(d,"$)|(^").concat(v,"$)|(^").concat(w,"$)"));function b(y){return(0,r.default)(y),S.te
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(R,M){if(R){if(typeof R=="string")return v(R,M);var U=Object.prototype.toString.call(R).slice(8,-1);if(U==="Object"&&R.constructor&&(U=R.constructor.name),U==="Map"||U==="Set")return Array.from(R);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return v(R,M)}}function p(R){if(typeof Symbol<"u"&&Symbol.iterator in Object(R))return Array.from(R)}function g(R){if(Array.isArray(R))return v(R)}function v(R,M){(M==null||M>R.length)&&(M=R.length);for(var U=0,K=new Array(M);U<M;U++)K[U]=R[U];return K}function _(R){var M=R.slice(0,2),U=parseInt(R.slice(2,4),10);U>40?(U-=40,M="20".concat(M)):U>20?(U-=20,M="18".concat(M)):M="19".concat(M),U<10&&(U="0".concat(U));var K="".concat(M,"/").concat(U,"/").concat(R.slice(4,6));if(!(0,i.default)(K,"YYYY/MM/DD"))return!1;for(var Q=R.split("").map(function(ue){return parseInt(ue,10)}),Y=[2,4,8,5,10,9,7,3,6],te=0,ce=0;ce<Y.length;ce++)te+=Q[ce]*Y[ce];return te=te%11===10?0:te%11,te===Q[9]}function w(R){var M=R.split(""),U=M.filter(function(Q,Y){return Y%2}).map(function(Q){return Number(Q)*2}).join("").split(""),K=M.filter(function(Q,Y){return!(Y%2)}).concat(U).map(function(Q){return Number(Q)}).reduce(function(Q,Y){return Q+Y});return K%10===0}function S(R){R=R.replace(/\W/,"");var M=parseInt(R.slice(0,2),10);if(R.length===10)M<54?M="20".concat(M):M="19".concat(M);else{if(R.slice(6)==="000")return!1;if(M<54)M="19".concat(M);else return!1}M.length===3&&(M=[M.slice(0,2),"0",M.slice(2)].join(""));var U=parseInt(R.slice(2,4),10);if(U>50&&(U-=50),U>20){if(parseInt(M,10)<2004)return!1;U-=20}U<10&&(U="0".concat(U));var K="".concat(M,"/").concat(U,"/").concat(R.slice(4,6));if(!(0,i.default)(K,"YYYY/MM/DD"))return!1;if(R.length===10&&parseInt(R,10)%11!==0){var Q=parseInt(R.slice(0,9),10)%11;if(parseInt(M,10)<1986&&Q===10){if(parseInt(R.slice(9),10)!==0)return!1}else return!1}return!0}function b(R){return s.luhnCheck(R)}function y(R){for(var M=R.split("").map(function(ue){return parseInt(ue,10)}),U=[],K=0;K<M.length-1;K++){U.push("");for(var Q=0;Q<M.length-1;Q++)M[K]===M[Q]&&(U[K]+=Q)}if(U=U.filter(function(ue){return ue.length>1}),U.length!==2&&U.length!==3)return!1;if(U[0].length===3){for(var Y=U[0].split("").map(function(ue){return parseInt(ue,10)}),te=0,ce=0;ce<Y.length-1;ce++)Y[ce]+1===Y[ce+1]&&(te+=1);if(te===2)return!1}return s.iso7064Check(R)}function f(R){R=R.replace(/\W/,"");var M=parseInt(R.slice(4,6),10),U=R.slice(6,7);switch(U){case"0":case"1":case"2":case"3":M="19".concat(M);break;case"4":case"9":M<37?M="20".concat(M):M="19".concat(M);break;default:if(M<37)M="20".concat(M);else if(M>58)M="18".concat(M);else return!1;break}M.length===3&&(M=[M.slice(0,2),"0",M.slice(2)].join(""));var K="".concat(M,"/").concat(R.slice(2,4),"/").concat(R.slice(0,2));if(!(0,i.default)(K,"YYYY/MM/DD"))return!1;for(var Q=R.split("").map(function(ue){return parseInt(ue,10)}),Y=0,te=4,ce=0;ce<9;ce++)Y+=Q[ce]*te,te-=1,te===1&&(te=7);return Y%=11,Y===1?!1:Y===0?Q[9]===0:Q[9]===11-Y}function h(R){for(var M=R.slice(0,8).split("").map(function(Y){return parseInt(Y,10)}),U=0,K=1;K<M.length;K+=2)U+=M[K];for(var Q=0;Q<M.length;Q+=2)M[Q]<2?U+=1-M[Q]:(U+=2*(M[Q]-2)+5,M[Q]>4&&(U+=2));return String.fromCharCode(U%26+65)===R.charAt(8)}function m(R){for(var M=R.split("").map(function(Q){return parseInt(Q,10)}),U=0,K=0;K<8;K++)U+=M[K]*Math.pow(2,8-K);return U%11%10===M[8]}function k(R){var M=s.reverseMultiplyAndSum(R.split("").slice(0,7).map(function(U){return parseInt(U,10)}),8);return R.length===9&&R[8]!=="W"&&(M+=(R[8].charCodeAt(0)-64)*9),M%=23,M===0?R[7].toUpperCase()==="W":R[7].toUpperCase()===String.fromCharCode(64+M)}var E={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(_,w){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(_)))){var S=[],b=!0,y=!1,f=void 0;try{for(var h=_[Symbol.iterator](),m;!(b=(m=h.next()).done)&&(S.push(m.value),!(w&&S.length===w));b=!0);}catch(k){y=!0,f=k}finally{try{!b&&h.return!=null&&h.return()}finally{if(y)throw f}}return S}}function l(_){if(Array.isArray(_))return _}function c(_,w){var S;if(typeof Symbol>"u"||_[Symbol.iterator]==null){if(Array.isArray(_)||(S=d(_))||w){S&&(_=S);var b=0,y=function(){};return{s:y,n:function(){return b>=_.length?{done:!0}:{done:!1,value:_[b++]}},e:function(E){throw E},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,h=!1,m;return{s:function(){S=_[Symbol.iterator]()},n:function(){var E=S.next();return f=E.done,E},e:function(E){h=!0,m=E},f:function(){try{!f&&S.return!=null&&S.return()}finally{if(h)throw m}}}}function d(_,w){if(_){if(typeof _=="string")return p(_,w);var S=Object.prototype.toString.call(_).slice(8,-1);if(S==="Object"&&_.constructor&&(S=_.constructor.name),S==="Map"||S==="Set")return Array.from(_);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return p(_,w)}}function p(_,w){(w==null||w>_.length)&&(w=_.length);for(var S=0,b=new Array(w);S<w;S++)b[S]=_[S];return b}function g(_){var w=new Set(["subject","body","cc","bcc"]),S={cc:"",bcc:""},b=!1,y=_.split("&");if(y.length>4)return!1;var f=c(y),h;try{for(f.s();!(h=f.n()).done;){var m=h.value,k=m.split("="),E=a(k,2),C=E[0],A=E[1];if(C&&!w.has(C)){b=!0;break}A&&(C==="cc"||C==="bcc")&&(S[C]=A),C&&w.delete(C)}}catch(T){f.e(T)}finally{f.f()}return b?!1:S}function v(_,w){if((0,s.default)(_),_.indexOf("mailto:")!==0)return!1;var S=_.replace("mailto:","").split("?"),b=a(S,2),y=b[0],f=y===void 0?"":y,h=b[1],m=h===void 0?"":h;if(!f&&!m)return!0;var k=g(m);return k?"".concat(f,",").concat(k.cc,",").concat(k.bcc).split(",").every(function(E){return E=(0,r.default)(E," "),E?(0,n.default)(E,w):!0}):!1}e.exports=t.default,e.exports.default=t.default}(zf,zf.exports)),zf.exports}var Zf={exports:{}},Zk;function DG(){return Zk||(Zk=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(_e());function n(u){return u&&u.__esModule?u:{default:u}}var s=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,i=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,a=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function o(u){return(0,r.default)(u),s.test(u)||i.test(u)||a.test(u)}e.exports=t.default,e.exports.default=t.default}(Zf,Zf.exports)),Zf.exports}var Yf={exports:{}},Yk;function LG(){return Yk||(Yk=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var r=s(_e()),n=s(Vr());function s(d){return d&&d.__esModule?d:{default:d}}var i=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,o=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,l={checkDMS:!1};function c(d,p){if((0,r.default)(d),p=(0,n.default)(p,l),!d.includes(","))return!1;var g=d.split(",");return g[0].startsWith("(")&&!g[1].endsWith(")")||g[1].endsWith(")")&&!g[0].startsWith("(")?!1:p.checkDMS?o.test(g[0])&&u.test(g[1]):i.test(g[0])&&a.test(g[1])}e.exports=t.default,e.exports.default=t.default}(Yf,Yf.exports)),Yf.exports}var Ro={},Jk;function FG(){if(Jk)return Ro;Jk=1,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=u,Ro.locales=void 0;var e=t(_e());function t(l){return l&&l.__esModule?l:{default:l}}var r=/^\d{3}$/,n=/^\d{4}$/,s=/^\d{5}$/,i=/^\d{6}$/,a={AD:/^AD\d{3}$/,AT:n,AU:n,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:n,BG:n,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:n,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:s,DK:n,DO:s,DZ:s,EE:s,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:s,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:n,ID:s,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:r,IT:s,JP:/^\d{3}\-\d{4}$/,KE:s,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:n,LV:/^LV\-\d{4}$/,LK:s,MG:r,MX:s,MT
|
||
|
|
`),I=I.replace(/\r/g,`
|
||
|
|
`),I=I.replace(/\u00A0/g," "),h.smartIndentationFix&&(I=j(I)),I=`
|
||
|
|
|
||
|
|
`+I+`
|
||
|
|
|
||
|
|
`,I=n.subParser("detab")(I,h,J),I=I.replace(/^[ \t]+$/mg,""),n.helper.forEach(m,function(z){I=n.subParser("runExtension")(z,I,h,J)}),I=n.subParser("metadata")(I,h,J),I=n.subParser("hashPreCodeTags")(I,h,J),I=n.subParser("githubCodeBlocks")(I,h,J),I=n.subParser("hashHTMLBlocks")(I,h,J),I=n.subParser("hashCodeTags")(I,h,J),I=n.subParser("stripLinkDefinitions")(I,h,J),I=n.subParser("blockGamut")(I,h,J),I=n.subParser("unhashHTMLSpans")(I,h,J),I=n.subParser("unescapeSpecialChars")(I,h,J),I=I.replace(/¨D/g,"$$"),I=I.replace(/¨T/g,"¨"),I=n.subParser("completeHTMLDocument")(I,h,J),n.helper.forEach(k,function(z){I=n.subParser("runExtension")(z,I,h,J)}),A=J.metadata,I},this.makeMarkdown=this.makeMd=function(I,J){if(I=I.replace(/\r\n/g,`
|
||
|
|
`),I=I.replace(/\r/g,`
|
||
|
|
`),I=I.replace(/>[ \t]+</,">¨NBSP;<"),!J)if(window&&window.document)J=window.document;else throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");var z=J.createElement("div");z.innerHTML=I;var de={preList:Te(z)};ye(z);for(var q=z.childNodes,ie="",ne=0;ne<q.length;ne++)ie+=n.subParser("makeMarkdown.node")(q[ne],de);function ye($e){for(var He=0;He<$e.childNodes.length;++He){var oe=$e.childNodes[He];oe.nodeType===3?!/\S/.test(oe.nodeValue)&&!/^[ ]+$/.test(oe.nodeValue)?($e.removeChild(oe),--He):(oe.nodeValue=oe.nodeValue.split(`
|
||
|
|
`).join(" "),oe.nodeValue=oe.nodeValue.replace(/(\s)+/g,"$1")):oe.nodeType===1&&ye(oe)}}function Te($e){for(var He=$e.querySelectorAll("pre"),oe=[],fe=0;fe<He.length;++fe)if(He[fe].childElementCount===1&&He[fe].firstChild.tagName.toLowerCase()==="code"){var ge=He[fe].firstChild.innerHTML.trim(),Ee=He[fe].firstChild.getAttribute("data-language")||"";if(Ee==="")for(var Fe=He[fe].firstChild.className.split(" "),je=0;je<Fe.length;++je){var L=Fe[je].match(/^language-(.+)$/);if(L!==null){Ee=L[1];break}}ge=n.helper.unescapeHTMLEntities(ge),oe.push(ge),He[fe].outerHTML='<precode language="'+Ee+'" precodenum="'+fe.toString()+'"></precode>'}else oe.push(He[fe].innerHTML),He[fe].innerHTML="",He[fe].setAttribute("prenum",fe.toString());return oe}return ie},this.setOption=function(I,J){h[I]=J},this.getOption=function(I){return h[I]},this.getOptions=function(){return h},this.addExtension=function(I,J){J=J||null,x(I,J)},this.useExtension=function(I){x(I)},this.setFlavor=function(I){if(!u.hasOwnProperty(I))throw Error(I+" flavor was not found");var J=u[I];C=I;for(var z in J)J.hasOwnProperty(z)&&(h[z]=J[z])},this.getFlavor=function(){return C},this.removeExtension=function(I){n.helper.isArray(I)||(I=[I]);for(var J=0;J<I.length;++J){for(var z=I[J],de=0;de<m.length;++de)m[de]===z&&m.splice(de,1);for(var q=0;q<k.length;++q)k[q]===z&&k.splice(q,1)}},this.getAllExtensions=function(){return{language:m,output:k}},this.getMetadata=function(I){return I?A.raw:A.parsed},this.getMetadataFormat=function(){return A.format},this._setMetadataPair=function(I,J){A.parsed[I]=J},this._setMetadataFormat=function(I){A.format=I},this._setMetadataRaw=function(I){A.raw=I}},n.subParser("anchors",function(f,h,m){f=m.converter._dispatch("anchors.before",f,h,m);var k=function(E,C,A,T,x,O,H){if(n.helper.isUndefined(H)&&(H=""),A=A.toLowerCase(),E.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)T="";else if(!T)if(A||(A=C.toLowerCase().replace(/ ?\n/g," ")),T="#"+A,!n.helper.isUndefined(m.gUrls[A]))T=m.gUrls[A],n.helper.isUndefined(m.gTitles[A])||(H=m.gTitles[A]);else return E;T=T.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var j='<a href="'+T+'"';return H!==""&&H!==null&&(H=H.replace(/"/g,"""),H=H.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),j+=' title="'+H+'"'),h.openLinksInNewWindow&&!/^#/.test(T)&&(j+=' rel="noopener noreferrer" target="¨E95Eblank"'),j+=">"+C+"</a>",j};return f=f.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,k),f=f.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,k),f=f.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,k),f=f.replace(/\[([^\[\]]+)]()()()()()/g,k),h.ghMentions&&(f=f.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi,function(E,C,A,T,x){if(A==="\\")return C+T;if(!n.helper.isString(h.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var O=h.ghMentionsLink.replace(/\{u}/g,x),H="";return h.openLinksInNewWindow&&(H=' rel="noopener noreferrer" target="¨E95Eblank"'),C+'<a href="'+O+'"'+H+">"+T+"</a>"})),f=m.converter._dispatch("anchors.after",f,h,m),f});var p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,v=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,_=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,w=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,S=function(f){return function(h,m,k,E,C,A,T){k=k.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var x=k,O="",H="",j=m||"",I=T||"";return/^www\./i.test(k)&&(k=k.replace(/^www\./i,"http://www.")),f.excludeTrailingPunctuationFromURLs&&A&&(O=A),f.openLinksInNewWindow&&(H=' rel="noopener noreferrer" target="¨E95Eblank"'),j+'<a href="'+k+'"'+H+">"+x+"</a>"+O+I}},b=function(f,h){return fu
|
||
|
|
|
||
|
|
`;var k=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return h.splitAdjacentBlockquotes&&(k=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),f=f.replace(k,function(E){return E=E.replace(/^[ \t]*>[ \t]?/gm,""),E=E.replace(/¨0/g,""),E=E.replace(/^[ \t]+$/gm,""),E=n.subParser("githubCodeBlocks")(E,h,m),E=n.subParser("blockGamut")(E,h,m),E=E.replace(/(^|\n)/g,"$1 "),E=E.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(C,A){var T=A;return T=T.replace(/^ /mg,"¨0"),T=T.replace(/¨0/g,""),T}),n.subParser("hashBlock")(`<blockquote>
|
||
|
|
`+E+`
|
||
|
|
</blockquote>`,h,m)}),f=m.converter._dispatch("blockQuotes.after",f,h,m),f}),n.subParser("codeBlocks",function(f,h,m){f=m.converter._dispatch("codeBlocks.before",f,h,m),f+="¨0";var k=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return f=f.replace(k,function(E,C,A){var T=C,x=A,O=`
|
||
|
|
`;return T=n.subParser("outdent")(T,h,m),T=n.subParser("encodeCode")(T,h,m),T=n.subParser("detab")(T,h,m),T=T.replace(/^\n+/g,""),T=T.replace(/\n+$/g,""),h.omitExtraWLInCodeBlocks&&(O=""),T="<pre><code>"+T+O+"</code></pre>",n.subParser("hashBlock")(T,h,m)+x}),f=f.replace(/¨0/,""),f=m.converter._dispatch("codeBlocks.after",f,h,m),f}),n.subParser("codeSpans",function(f,h,m){return f=m.converter._dispatch("codeSpans.before",f,h,m),typeof f>"u"&&(f=""),f=f.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(k,E,C,A){var T=A;return T=T.replace(/^([ \t]*)/g,""),T=T.replace(/[ \t]*$/g,""),T=n.subParser("encodeCode")(T,h,m),T=E+"<code>"+T+"</code>",T=n.subParser("hashHTMLSpans")(T,h,m),T}),f=m.converter._dispatch("codeSpans.after",f,h,m),f}),n.subParser("completeHTMLDocument",function(f,h,m){if(!h.completeHTMLDocument)return f;f=m.converter._dispatch("completeHTMLDocument.before",f,h,m);var k="html",E=`<!DOCTYPE HTML>
|
||
|
|
`,C="",A=`<meta charset="utf-8">
|
||
|
|
`,T="",x="";typeof m.metadata.parsed.doctype<"u"&&(E="<!DOCTYPE "+m.metadata.parsed.doctype+`>
|
||
|
|
`,k=m.metadata.parsed.doctype.toString().toLowerCase(),(k==="html"||k==="html5")&&(A='<meta charset="utf-8">'));for(var O in m.metadata.parsed)if(m.metadata.parsed.hasOwnProperty(O))switch(O.toLowerCase()){case"doctype":break;case"title":C="<title>"+m.metadata.parsed.title+`</title>
|
||
|
|
`;break;case"charset":k==="html"||k==="html5"?A='<meta charset="'+m.metadata.parsed.charset+`">
|
||
|
|
`:A='<meta name="charset" content="'+m.metadata.parsed.charset+`">
|
||
|
|
`;break;case"language":case"lang":T=' lang="'+m.metadata.parsed[O]+'"',x+='<meta name="'+O+'" content="'+m.metadata.parsed[O]+`">
|
||
|
|
`;break;default:x+='<meta name="'+O+'" content="'+m.metadata.parsed[O]+`">
|
||
|
|
`}return f=E+"<html"+T+`>
|
||
|
|
<head>
|
||
|
|
`+C+A+x+`</head>
|
||
|
|
<body>
|
||
|
|
`+f.trim()+`
|
||
|
|
</body>
|
||
|
|
</html>`,f=m.converter._dispatch("completeHTMLDocument.after",f,h,m),f}),n.subParser("detab",function(f,h,m){return f=m.converter._dispatch("detab.before",f,h,m),f=f.replace(/\t(?=\t)/g," "),f=f.replace(/\t/g,"¨A¨B"),f=f.replace(/¨B(.+?)¨A/g,function(k,E){for(var C=E,A=4-C.length%4,T=0;T<A;T++)C+=" ";return C}),f=f.replace(/¨A/g," "),f=f.replace(/¨B/g,""),f=m.converter._dispatch("detab.after",f,h,m),f}),n.subParser("ellipsis",function(f,h,m){return h.ellipsis&&(f=m.converter._dispatch("ellipsis.before",f,h,m),f=f.replace(/\.\.\./g,"…"),f=m.converter._dispatch("ellipsis.after",f,h,m)),f}),n.subParser("emoji",function(f,h,m){if(!h.emoji)return f;f=m.converter._dispatch("emoji.before",f,h,m);var k=/:([\S]+?):/g;return f=f.replace(k,function(E,C){return n.helper.emojis.hasOwnProperty(C)?n.helper.emojis[C]:E}),f=m.converter._dispatch("emoji.after",f,h,m),f}),n.subParser("encodeAmpsAndAngles",function(f,h,m){return f=m.converter._dispatch("encodeAmpsAndAngles.before",f,h,m),f=f.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),f=f.replace(/<(?![a-z\/?$!])/gi,"<"),f=f.replace(/</g,"<"),f=f.replace(/>/g,">"),f=m.converter._dispatch("encodeAmpsAndAngles.after",f,h,m),f}),n.subParser("encodeBackslashEscapes",function(f,h,m){return f=m.converter._dispatch("encodeBackslashEscapes.before",f,h,m),f=f.replace(/\\(\\)/g,n.helper.escapeCharactersCallback),f=f.replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,n.helper.escapeCharactersCallback),f=m.converter._dispatch("encodeBackslashEscapes.after",f,h,m),f}),n.subParser("encodeCode",function(f,h,m){return f=m.converter._dispatch("encodeCode.before",f,h,m),f=f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),f=m.converter._dispatch("encodeCode.after",f,h,m),f}),n.subParser("escapeSpecialCharsWithinTagAttributes",function(f,h,m){f=m.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",f,h,m);var k=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,E=/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return f=f.replace(k,function(C){return C.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),f=f.replace(E,function(C){return C.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),f=m.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",f,h,m),f}),n.subParser("githubCodeBlocks",function(f,h,m){return h.ghCodeBlocks?(f=m.converter._dispatch("githubCodeBlocks.before",f,h,m),f+="¨0",f=f.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(k,E,C,A){var T=h.omitExtraWLInCodeBlocks?"":`
|
||
|
|
`;return A=n.subParser("encodeCode")(A,h,m),A=n.subParser("detab")(A,h,m),A=A.replace(/^\n+/g,""),A=A.replace(/\n+$/g,""),A="<pre><code"+(C?' class="'+C+" language-"+C+'"':"")+">"+A+T+"</code></pre>",A=n.subParser("hashBlock")(A,h,m),`
|
||
|
|
|
||
|
|
¨G`+(m.ghCodeBlocks.push({text:k,codeblock:A})-1)+`G
|
||
|
|
|
||
|
|
`}),f=f.replace(/¨0/,""),m.converter._dispatch("githubCodeBlocks.after",f,h,m)):f}),n.subParser("hashBlock",function(f,h,m){return f=m.converter._dispatch("hashBlock.before",f,h,m),f=f.replace(/(^\n+|\n+$)/g,""),f=`
|
||
|
|
|
||
|
|
¨K`+(m.gHtmlBlocks.push(f)-1)+`K
|
||
|
|
|
||
|
|
`,f=m.converter._dispatch("hashBlock.after",f,h,m),f}),n.subParser("hashCodeTags",function(f,h,m){f=m.converter._dispatch("hashCodeTags.before",f,h,m);var k=function(E,C,A,T){var x=A+n.subParser("encodeCode")(C,h,m)+T;return"¨C"+(m.gHtmlSpans.push(x)-1)+"C"};return f=n.helper.replaceRecursiveRegExp(f,k,"<code\\b[^>]*>","</code>","gim"),f=m.converter._dispatch("hashCodeTags.after",f,h,m),f}),n.subParser("hashElement",function(f,h,m){return function(k,E){var C=E;return C=C.replace(/\n\n/g,`
|
||
|
|
`),C=C.replace(/^\n/,""),C=C.replace(/\n+$/g,""),C=`
|
||
|
|
|
||
|
|
¨K`+(m.gHtmlBlocks.push(C)-1)+`K
|
||
|
|
|
||
|
|
`,C}}),n.subParser("hashHTMLBlocks",function(f,h,m){f=m.converter._dispatch("hashHTMLBlocks.before",f,h,m);var k=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],E=function(I,J,z,de){var q=I;return z.search(/\bmarkdown\b/)!==-1&&(q=z+m.converter.makeHtml(J)+de),`
|
||
|
|
|
||
|
|
¨K`+(m.gHtmlBlocks.push(q)-1)+`K
|
||
|
|
|
||
|
|
`};h.backslashEscapesHTMLTags&&(f=f.replace(/\\<(\/?[^>]+?)>/g,function(I,J){return"<"+J+">"}));for(var C=0;C<k.length;++C)for(var A,T=new RegExp("^ {0,3}(<"+k[C]+"\\b[^>]*>)","im"),x="<"+k[C]+"\\b[^>]*>",O="</"+k[C]+">";(A=n.helper.regexIndexOf(f,T))!==-1;){var H=n.helper.splitAtIndex(f,A),j=n.helper.replaceRecursiveRegExp(H[1],E,x,O,"im");if(j===H[1])break;f=H[0].concat(j)}return f=f.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(f,h,m)),f=n.helper.replaceRecursiveRegExp(f,function(I){return`
|
||
|
|
|
||
|
|
¨K`+(m.gHtmlBlocks.push(I)-1)+`K
|
||
|
|
|
||
|
|
`},"^ {0,3}<!--","-->","gm"),f=f.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(f,h,m)),f=m.converter._dispatch("hashHTMLBlocks.after",f,h,m),f}),n.subParser("hashHTMLSpans",function(f,h,m){f=m.converter._dispatch("hashHTMLSpans.before",f,h,m);function k(E){return"¨C"+(m.gHtmlSpans.push(E)-1)+"C"}return f=f.replace(/<[^>]+?\/>/gi,function(E){return k(E)}),f=f.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(E){return k(E)}),f=f.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(E){return k(E)}),f=f.replace(/<[^>]+?>/gi,function(E){return k(E)}),f=m.converter._dispatch("hashHTMLSpans.after",f,h,m),f}),n.subParser("unhashHTMLSpans",function(f,h,m){f=m.converter._dispatch("unhashHTMLSpans.before",f,h,m);for(var k=0;k<m.gHtmlSpans.length;++k){for(var E=m.gHtmlSpans[k],C=0;/¨C(\d+)C/.test(E);){var A=RegExp.$1;if(E=E.replace("¨C"+A+"C",m.gHtmlSpans[A]),C===10){console.error("maximum nesting of 10 spans reached!!!");break}++C}f=f.replace("¨C"+k+"C",E)}return f=m.converter._dispatch("unhashHTMLSpans.after",f,h,m),f}),n.subParser("hashPreCodeTags",function(f,h,m){f=m.converter._dispatch("hashPreCodeTags.before",f,h,m);var k=function(E,C,A,T){var x=A+n.subParser("encodeCode")(C,h,m)+T;return`
|
||
|
|
|
||
|
|
¨G`+(m.ghCodeBlocks.push({text:E,codeblock:x})-1)+`G
|
||
|
|
|
||
|
|
`};return f=n.helper.replaceRecursiveRegExp(f,k,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),f=m.converter._dispatch("hashPreCodeTags.after",f,h,m),f}),n.subParser("headers",function(f,h,m){f=m.converter._dispatch("headers.before",f,h,m);var k=isNaN(parseInt(h.headerLevelStart))?1:parseInt(h.headerLevelStart),E=h.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,C=h.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;f=f.replace(E,function(x,O){var H=n.subParser("spanGamut")(O,h,m),j=h.noHeaderId?"":' id="'+T(O)+'"',I=k,J="<h"+I+j+">"+H+"</h"+I+">";return n.subParser("hashBlock")(J,h,m)}),f=f.replace(C,function(x,O){var H=n.subParser("spanGamut")(O,h,m),j=h.noHeaderId?"":' id="'+T(O)+'"',I=k+1,J="<h"+I+j+">"+H+"</h"+I+">";return n.subParser("hashBlock")(J,h,m)});var A=h.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;f=f.replace(A,function(x,O,H){var j=H;h.customizedHeaderId&&(j=H.replace(/\s?\{([^{]+?)}\s*$/,""));var I=n.subParser("spanGamut")(j,h,m),J=h.noHeaderId?"":' id="'+T(H)+'"',z=k-1+O.length,de="<h"+z+J+">"+I+"</h"+z+">";return n.subParser("hashBlock")(de,h,m)});function T(x){var O,H;if(h.customizedHeaderId){var j=x.match(/\{([^{]+?)}\s*$/);j&&j[1]&&(x=j[1])}return O=x,n.helper.isString(h.prefixHeaderId)?H=h.prefixHeaderId:h.prefixHeaderId===!0?H="section-":H="",h.rawPrefixHeaderId||(O=H+O),h.ghCompatibleHeaderId?O=O.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():h.rawHeaderId?O=O.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():O=O.replace(/[^\w]/g,"").toLowerCase(),h.rawPrefixHeaderId&&(O=H+O),m.hashLinkCounts[O]?O=O+"-"+m.hashLinkCounts[O]++:m.hashLinkCounts[O]=1,O}return f=m.converter._dispatch("headers.after",f,h,m),f}),n.subParser("horizontalRule",function(f,h,m){f=m.converter._dispatch("horizontalRule.before",f,h,m);var k=n.subParser("hashBlock")("<hr />",h,m);return f=f.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,k),f=f.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,k),f=f.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,k),f=m.converter._dispatch("horizontalRule.after",f,h,m),f}),n.subParser("images",function(f,h,m){f=m.converter._dispatch("images.before",f,h,m);var k=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,E=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,C=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,A=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,T=/!\[([^\[\]]+)]()()()()()/g;function x(H,j,I,J,z,de,q,ie){return J=J.replace(/\s/g,""),O(H,j,I,J,z,de,q,ie)}function O(H,j,I,J,z,de,q,ie){var ne=m.gUrls,ye=m.gTitles,Te=m.gDimensions;if(I=I.toLowerCase(),ie||(ie=""),H.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)J="";else if(J===""||J===null)if((I===""||I===null)&&(I=j.toLowerCase().replace(/ ?\n/g," ")),J="#"+I,!n.helper.isUndefined(ne[I]))J=ne[I],n.helper.isUndefined(ye[I])||(ie=ye[I]),n.helper.isUndefined(Te[I])||(z=Te[I].width,de=Te[I].height);else return H;j=j.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),J=J.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var $e='<img src="'+J+'" alt="'+j+'"';return ie&&n.helper.isString(ie)&&(ie=ie.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),$e+=' title="'+ie+'"'),z&&de&&(z=z==="*"?"auto":z,de=de==="*"?"auto":de,$e+=' width="'+z+'"',$e+=' height="'+de+'"'),$e+=" />",$e}return f=f.replace(A,O),f=f.replace(C,x),f=f.replace(E,O),f=f.replace(k,O),f=f.replace(T,O),f=m.converter._dispatch("images.after",f,h,m),f}),n.subParser("italicsAndBol
|
||
|
|
`),A+="¨0";var x=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,O=/\n[ \t]*\n(?!¨0)/.test(A);return h.disableForced4SpacesIndentedSublists&&(x=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),A=A.replace(x,function(H,j,I,J,z,de,q){q=q&&q.trim()!=="";var ie=n.subParser("outdent")(z,h,m),ne="";return de&&h.tasklists&&(ne=' class="task-list-item" style="list-style-type: none;"',ie=ie.replace(/^[ \t]*\[(x|X| )?]/m,function(){var ye='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return q&&(ye+=" checked"),ye+=">",ye})),ie=ie.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(ye){return"¨A"+ye}),j||ie.search(/\n{2,}/)>-1?(ie=n.subParser("githubCodeBlocks")(ie,h,m),ie=n.subParser("blockGamut")(ie,h,m)):(ie=n.subParser("lists")(ie,h,m),ie=ie.replace(/\n$/,""),ie=n.subParser("hashHTMLBlocks")(ie,h,m),ie=ie.replace(/\n\n+/g,`
|
||
|
|
|
||
|
|
`),O?ie=n.subParser("paragraphs")(ie,h,m):ie=n.subParser("spanGamut")(ie,h,m)),ie=ie.replace("¨A",""),ie="<li"+ne+">"+ie+`</li>
|
||
|
|
`,ie}),A=A.replace(/¨0/g,""),m.gListLevel--,T&&(A=A.replace(/\s+$/,"")),A}function E(A,T){if(T==="ol"){var x=A.match(/^ *(\d+)\./);if(x&&x[1]!=="1")return' start="'+x[1]+'"'}return""}function C(A,T,x){var O=h.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,H=h.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,j=T==="ul"?O:H,I="";if(A.search(j)!==-1)(function z(de){var q=de.search(j),ie=E(A,T);q!==-1?(I+=`
|
||
|
|
|
||
|
|
<`+T+ie+`>
|
||
|
|
`+k(de.slice(0,q),!!x)+"</"+T+`>
|
||
|
|
`,T=T==="ul"?"ol":"ul",j=T==="ul"?O:H,z(de.slice(q))):I+=`
|
||
|
|
|
||
|
|
<`+T+ie+`>
|
||
|
|
`+k(de,!!x)+"</"+T+`>
|
||
|
|
`})(A);else{var J=E(A,T);I=`
|
||
|
|
|
||
|
|
<`+T+J+`>
|
||
|
|
`+k(A,!!x)+"</"+T+`>
|
||
|
|
`}return I}return f=m.converter._dispatch("lists.before",f,h,m),f+="¨0",m.gListLevel?f=f.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(A,T,x){var O=x.search(/[*+-]/g)>-1?"ul":"ol";return C(T,O,!0)}):f=f.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(A,T,x,O){var H=O.search(/[*+-]/g)>-1?"ul":"ol";return C(x,H,!1)}),f=f.replace(/¨0/,""),f=m.converter._dispatch("lists.after",f,h,m),f}),n.subParser("metadata",function(f,h,m){if(!h.metadata)return f;f=m.converter._dispatch("metadata.before",f,h,m);function k(E){m.metadata.raw=E,E=E.replace(/&/g,"&").replace(/"/g,"""),E=E.replace(/\n {4}/g," "),E.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(C,A,T){return m.metadata.parsed[A]=T,""})}return f=f.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(E,C,A){return k(A),"¨M"}),f=f.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(E,C,A){return C&&(m.metadata.format=C),k(A),"¨M"}),f=f.replace(/¨M/g,""),f=m.converter._dispatch("metadata.after",f,h,m),f}),n.subParser("outdent",function(f,h,m){return f=m.converter._dispatch("outdent.before",f,h,m),f=f.replace(/^(\t|[ ]{1,4})/gm,"¨0"),f=f.replace(/¨0/g,""),f=m.converter._dispatch("outdent.after",f,h,m),f}),n.subParser("paragraphs",function(f,h,m){f=m.converter._dispatch("paragraphs.before",f,h,m),f=f.replace(/^\n+/g,""),f=f.replace(/\n+$/g,"");for(var k=f.split(/\n{2,}/g),E=[],C=k.length,A=0;A<C;A++){var T=k[A];T.search(/¨(K|G)(\d+)\1/g)>=0?E.push(T):T.search(/\S/)>=0&&(T=n.subParser("spanGamut")(T,h,m),T=T.replace(/^([ \t]*)/g,"<p>"),T+="</p>",E.push(T))}for(C=E.length,A=0;A<C;A++){for(var x="",O=E[A],H=!1;/¨(K|G)(\d+)\1/.test(O);){var j=RegExp.$1,I=RegExp.$2;j==="K"?x=m.gHtmlBlocks[I]:H?x=n.subParser("encodeCode")(m.ghCodeBlocks[I].text,h,m):x=m.ghCodeBlocks[I].codeblock,x=x.replace(/\$/g,"$$$$"),O=O.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,x),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(O)&&(H=!0)}E[A]=O}return f=E.join(`
|
||
|
|
`),f=f.replace(/^\n+/g,""),f=f.replace(/\n+$/g,""),m.converter._dispatch("paragraphs.after",f,h,m)}),n.subParser("runExtension",function(f,h,m,k){if(f.filter)h=f.filter(h,k.converter,m);else if(f.regex){var E=f.regex;E instanceof RegExp||(E=new RegExp(E,"g")),h=h.replace(E,f.replace)}return h}),n.subParser("spanGamut",function(f,h,m){return f=m.converter._dispatch("spanGamut.before",f,h,m),f=n.subParser("codeSpans")(f,h,m),f=n.subParser("escapeSpecialCharsWithinTagAttributes")(f,h,m),f=n.subParser("encodeBackslashEscapes")(f,h,m),f=n.subParser("images")(f,h,m),f=n.subParser("anchors")(f,h,m),f=n.subParser("autoLinks")(f,h,m),f=n.subParser("simplifiedAutoLinks")(f,h,m),f=n.subParser("emoji")(f,h,m),f=n.subParser("underline")(f,h,m),f=n.subParser("italicsAndBold")(f,h,m),f=n.subParser("strikethrough")(f,h,m),f=n.subParser("ellipsis")(f,h,m),f=n.subParser("hashHTMLSpans")(f,h,m),f=n.subParser("encodeAmpsAndAngles")(f,h,m),h.simpleLineBreaks?/\n\n¨K/.test(f)||(f=f.replace(/\n+/g,`<br />
|
||
|
|
`)):f=f.replace(/ +\n/g,`<br />
|
||
|
|
`),f=m.converter._dispatch("spanGamut.after",f,h,m),f}),n.subParser("strikethrough",function(f,h,m){function k(E){return h.simplifiedAutoLink&&(E=n.subParser("simplifiedAutoLinks")(E,h,m)),"<del>"+E+"</del>"}return h.strikethrough&&(f=m.converter._dispatch("strikethrough.before",f,h,m),f=f.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(E,C){return k(C)}),f=m.converter._dispatch("strikethrough.after",f,h,m)),f}),n.subParser("stripLinkDefinitions",function(f,h,m){var k=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,E=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;f+="¨0";var C=function(A,T,x,O,H,j,I){return T=T.toLowerCase(),f.toLowerCase().split(T).length-1<2?A:(x.match(/^data:.+?\/.+?;base64,/)?m.gUrls[T]=x.replace(/\s/g,""):m.gUrls[T]=n.subParser("encodeAmpsAndAngles")(x,h,m),j?j+I:(I&&(m.gTitles[T]=I.replace(/"|'/g,""")),h.parseImgDimensions&&O&&H&&(m.gDimensions[T]={width:O,height:H}),""))};return f=f.replace(E,C),f=f.replace(k,C),f=f.replace(/¨0/,""),f}),n.subParser("tables",function(f,h,m){if(!h.tables)return f;var k=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,E=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function C(H){return/^:[ \t]*--*$/.test(H)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(H)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(H)?' style="text-align:center;"':""}function A(H,j){var I="";return H=H.trim(),(h.tablesHeaderId||h.tableHeaderId)&&(I=' id="'+H.replace(/ /g,"_").toLowerCase()+'"'),H=n.subParser("spanGamut")(H,h,m),"<th"+I+j+">"+H+`</th>
|
||
|
|
`}function T(H,j){var I=n.subParser("spanGamut")(H,h,m);return"<td"+j+">"+I+`</td>
|
||
|
|
`}function x(H,j){for(var I=`<table>
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
`,J=H.length,z=0;z<J;++z)I+=H[z];for(I+=`</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
`,z=0;z<j.length;++z){I+=`<tr>
|
||
|
|
`;for(var de=0;de<J;++de)I+=j[z][de];I+=`</tr>
|
||
|
|
`}return I+=`</tbody>
|
||
|
|
</table>
|
||
|
|
`,I}function O(H){var j,I=H.split(`
|
||
|
|
`);for(j=0;j<I.length;++j)/^ {0,3}\|/.test(I[j])&&(I[j]=I[j].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(I[j])&&(I[j]=I[j].replace(/\|[ \t]*$/,"")),I[j]=n.subParser("codeSpans")(I[j],h,m);var J=I[0].split("|").map(function($e){return $e.trim()}),z=I[1].split("|").map(function($e){return $e.trim()}),de=[],q=[],ie=[],ne=[];for(I.shift(),I.shift(),j=0;j<I.length;++j)I[j].trim()!==""&&de.push(I[j].split("|").map(function($e){return $e.trim()}));if(J.length<z.length)return H;for(j=0;j<z.length;++j)ie.push(C(z[j]));for(j=0;j<J.length;++j)n.helper.isUndefined(ie[j])&&(ie[j]=""),q.push(A(J[j],ie[j]));for(j=0;j<de.length;++j){for(var ye=[],Te=0;Te<q.length;++Te)n.helper.isUndefined(de[j][Te]),ye.push(T(de[j][Te],ie[Te]));ne.push(ye)}return x(q,ne)}return f=m.converter._dispatch("tables.before",f,h,m),f=f.replace(/\\(\|)/g,n.helper.escapeCharactersCallback),f=f.replace(k,O),f=f.replace(E,O),f=m.converter._dispatch("tables.after",f,h,m),f}),n.subParser("underline",function(f,h,m){return h.underline&&(f=m.converter._dispatch("underline.before",f,h,m),h.literalMidWordUnderscores?(f=f.replace(/\b___(\S[\s\S]*?)___\b/g,function(k,E){return"<u>"+E+"</u>"}),f=f.replace(/\b__(\S[\s\S]*?)__\b/g,function(k,E){return"<u>"+E+"</u>"})):(f=f.replace(/___(\S[\s\S]*?)___/g,function(k,E){return/\S$/.test(E)?"<u>"+E+"</u>":k}),f=f.replace(/__(\S[\s\S]*?)__/g,function(k,E){return/\S$/.test(E)?"<u>"+E+"</u>":k})),f=f.replace(/(_)/g,n.helper.escapeCharactersCallback),f=m.converter._dispatch("underline.after",f,h,m)),f}),n.subParser("unescapeSpecialChars",function(f,h,m){return f=m.converter._dispatch("unescapeSpecialChars.before",f,h,m),f=f.replace(/¨E(\d+)E/g,function(k,E){var C=parseInt(E);return String.fromCharCode(C)}),f=m.converter._dispatch("unescapeSpecialChars.after",f,h,m),f}),n.subParser("makeMarkdown.blockquote",function(f,h){var m="";if(f.hasChildNodes())for(var k=f.childNodes,E=k.length,C=0;C<E;++C){var A=n.subParser("makeMarkdown.node")(k[C],h);A!==""&&(m+=A)}return m=m.trim(),m="> "+m.split(`
|
||
|
|
`).join(`
|
||
|
|
> `),m}),n.subParser("makeMarkdown.codeBlock",function(f,h){var m=f.getAttribute("language"),k=f.getAttribute("precodenum");return"```"+m+`
|
||
|
|
`+h.preList[k]+"\n```"}),n.subParser("makeMarkdown.codeSpan",function(f){return"`"+f.innerHTML+"`"}),n.subParser("makeMarkdown.emphasis",function(f,h){var m="";if(f.hasChildNodes()){m+="*";for(var k=f.childNodes,E=k.length,C=0;C<E;++C)m+=n.subParser("makeMarkdown.node")(k[C],h);m+="*"}return m}),n.subParser("makeMarkdown.header",function(f,h,m){var k=new Array(m+1).join("#"),E="";if(f.hasChildNodes()){E=k+" ";for(var C=f.childNodes,A=C.length,T=0;T<A;++T)E+=n.subParser("makeMarkdown.node")(C[T],h)}return E}),n.subParser("makeMarkdown.hr",function(){return"---"}),n.subParser("makeMarkdown.image",function(f){var h="";return f.hasAttribute("src")&&(h+="+">",f.hasAttribute("width")&&f.hasAttribute("height")&&(h+=" ="+f.getAttribute("width")+"x"+f.getAttribute("height")),f.hasAttribute("title")&&(h+=' "'+f.getAttribute("title")+'"'),h+=")"),h}),n.subParser("makeMarkdown.links",function(f,h){var m="";if(f.hasChildNodes()&&f.hasAttribute("href")){var k=f.childNodes,E=k.length;m="[";for(var C=0;C<E;++C)m+=n.subParser("makeMarkdown.node")(k[C],h);m+="](",m+="<"+f.getAttribute("href")+">",f.hasAttribute("title")&&(m+=' "'+f.getAttribute("title")+'"'),m+=")"}return m}),n.subParser("makeMarkdown.list",function(f,h,m){var k="";if(!f.hasChildNodes())return"";for(var E=f.childNodes,C=E.length,A=f.getAttribute("start")||1,T=0;T<C;++T)if(!(typeof E[T].tagName>"u"||E[T].tagName.toLowerCase()!=="li")){var x="";m==="ol"?x=A.toString()+". ":x="- ",k+=x+n.subParser("makeMarkdown.listItem")(E[T],h),++A}return k+=`
|
||
|
|
<!-- -->
|
||
|
|
`,k.trim()}),n.subParser("makeMarkdown.listItem",function(f,h){for(var m="",k=f.childNodes,E=k.length,C=0;C<E;++C)m+=n.subParser("makeMarkdown.node")(k[C],h);return/\n$/.test(m)?m=m.split(`
|
||
|
|
`).join(`
|
||
|
|
`).replace(/^ {4}$/gm,"").replace(/\n\n+/g,`
|
||
|
|
|
||
|
|
`):m+=`
|
||
|
|
`,m}),n.subParser("makeMarkdown.node",function(f,h,m){m=m||!1;var k="";if(f.nodeType===3)return n.subParser("makeMarkdown.txt")(f,h);if(f.nodeType===8)return"<!--"+f.data+`-->
|
||
|
|
|
||
|
|
`;if(f.nodeType!==1)return"";var E=f.tagName.toLowerCase();switch(E){case"h1":m||(k=n.subParser("makeMarkdown.header")(f,h,1)+`
|
||
|
|
|
||
|
|
`);break;case"h2":m||(k=n.subParser("makeMarkdown.header")(f,h,2)+`
|
||
|
|
|
||
|
|
`);break;case"h3":m||(k=n.subParser("makeMarkdown.header")(f,h,3)+`
|
||
|
|
|
||
|
|
`);break;case"h4":m||(k=n.subParser("makeMarkdown.header")(f,h,4)+`
|
||
|
|
|
||
|
|
`);break;case"h5":m||(k=n.subParser("makeMarkdown.header")(f,h,5)+`
|
||
|
|
|
||
|
|
`);break;case"h6":m||(k=n.subParser("makeMarkdown.header")(f,h,6)+`
|
||
|
|
|
||
|
|
`);break;case"p":m||(k=n.subParser("makeMarkdown.paragraph")(f,h)+`
|
||
|
|
|
||
|
|
`);break;case"blockquote":m||(k=n.subParser("makeMarkdown.blockquote")(f,h)+`
|
||
|
|
|
||
|
|
`);break;case"hr":m||(k=n.subParser("makeMarkdown.hr")(f,h)+`
|
||
|
|
|
||
|
|
`);break;case"ol":m||(k=n.subParser("makeMarkdown.list")(f,h,"ol")+`
|
||
|
|
|
||
|
|
`);break;case"ul":m||(k=n.subParser("makeMarkdown.list")(f,h,"ul")+`
|
||
|
|
|
||
|
|
`);break;case"precode":m||(k=n.subParser("makeMarkdown.codeBlock")(f,h)+`
|
||
|
|
|
||
|
|
`);break;case"pre":m||(k=n.subParser("makeMarkdown.pre")(f,h)+`
|
||
|
|
|
||
|
|
`);break;case"table":m||(k=n.subParser("makeMarkdown.table")(f,h)+`
|
||
|
|
|
||
|
|
`);break;case"code":k=n.subParser("makeMarkdown.codeSpan")(f,h);break;case"em":case"i":k=n.subParser("makeMarkdown.emphasis")(f,h);break;case"strong":case"b":k=n.subParser("makeMarkdown.strong")(f,h);break;case"del":k=n.subParser("makeMarkdown.strikethrough")(f,h);break;case"a":k=n.subParser("makeMarkdown.links")(f,h);break;case"img":k=n.subParser("makeMarkdown.image")(f,h);break;default:k=f.outerHTML+`
|
||
|
|
|
||
|
|
`}return k}),n.subParser("makeMarkdown.paragraph",function(f,h){var m="";if(f.hasChildNodes())for(var k=f.childNodes,E=k.length,C=0;C<E;++C)m+=n.subParser("makeMarkdown.node")(k[C],h);return m=m.trim(),m}),n.subParser("makeMarkdown.pre",function(f,h){var m=f.getAttribute("prenum");return"<pre>"+h.preList[m]+"</pre>"}),n.subParser("makeMarkdown.strikethrough",function(f,h){var m="";if(f.hasChildNodes()){m+="~~";for(var k=f.childNodes,E=k.length,C=0;C<E;++C)m+=n.subParser("makeMarkdown.node")(k[C],h);m+="~~"}return m}),n.subParser("makeMarkdown.strong",function(f,h){var m="";if(f.hasChildNodes()){m+="**";for(var k=f.childNodes,E=k.length,C=0;C<E;++C)m+=n.subParser("makeMarkdown.node")(k[C],h);m+="**"}return m}),n.subParser("makeMarkdown.table",function(f,h){var m="",k=[[],[]],E=f.querySelectorAll("thead>tr>th"),C=f.querySelectorAll("tbody>tr"),A,T;for(A=0;A<E.length;++A){var x=n.subParser("makeMarkdown.tableCell")(E[A],h),O="---";if(E[A].hasAttribute("style")){var H=E[A].getAttribute("style").toLowerCase().replace(/\s/g,"");switch(H){case"text-align:left;":O=":---";break;case"text-align:right;":O="---:";break;case"text-align:center;":O=":---:";break}}k[0][A]=x.trim(),k[1][A]=O}for(A=0;A<C.length;++A){var j=k.push([])-1,I=C[A].getElementsByTagName("td");for(T=0;T<E.length;++T){var J=" ";typeof I[T]<"u"&&(J=n.subParser("makeMarkdown.tableCell")(I[T],h)),k[j].push(J)}}var z=3;for(A=0;A<k.length;++A)for(T=0;T<k[A].length;++T){var de=k[A][T].length;de>z&&(z=de)}for(A=0;A<k.length;++A){for(T=0;T<k[A].length;++T)A===1?k[A][T].slice(-1)===":"?k[A][T]=n.helper.padEnd(k[A][T].slice(-1),z-1,"-")+":":k[A][T]=n.helper.padEnd(k[A][T],z,"-"):k[A][T]=n.helper.padEnd(k[A][T],z);m+="| "+k[A].join(" | ")+` |
|
||
|
|
`}return m.trim()}),n.subParser("makeMarkdown.tableCell",function(f,h){var m="";if(!f.hasChildNodes())return"";for(var k=f.childNodes,E=k.length,C=0;C<E;++C)m+=n.subParser("makeMarkdown.node")(k[C],h,!0);return m.trim()}),n.subParser("makeMarkdown.txt",function(f){var h=f.nodeValue;return h=h.replace(/ +/g," "),h=h.replace(/¨NBSP;/g," "),h=n.helper.unescapeHTMLEntities(h),h=h.replace(/([*_~|`])/g,"\\$1"),h=h.replace(/^(\s*)>/g,"\\$1>"),h=h.replace(/^#/gm,"\\#"),h=h.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),h=h.replace(/^( {0,3}\d+)\./gm,"$1\\."),h=h.replace(/^( {0,3})([+-])/gm,"$1\\$2"),h=h.replace(/]([\s]*)\(/g,"\\]$1\\("),h=h.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),h});var y=this;e.exports?e.exports=n:y.showdown=n}).call(wY)}(xp)),xp.exports}var EY=kY();const AY=i0(EY);/*!
|
||
|
|
* vue-showdown - Use showdown as a vue component
|
||
|
|
*
|
||
|
|
* @version v4.2.0
|
||
|
|
* @link https://vue-showdown.js.org
|
||
|
|
* @license MIT
|
||
|
|
* @copyright 2018-2023 meteorlxy
|
||
|
|
*/const CY=pe({name:"VueShowdown",props:{markdown:{type:String,required:!1,default:null},tag:{type:String,required:!1,default:"div"},flavor:{type:String,required:!1,default:null},options:{type:Object,required:!1,default:()=>({})},extensions:{type:Array,required:!1,default:null},vueTemplate:{type:Boolean,required:!1,default:!1},vueTemplateComponents:{type:Object,required:!1,default:()=>({})},vueTemplateData:{type:Object,required:!1,default:()=>({})}},setup(e,{slots:t}){const r=se(()=>{const i=new AY.Converter({extensions:e.extensions??void 0});return e.flavor!==null&&i.setFlavor(e.flavor),Object.entries(e.options).forEach(([a,o])=>{i.setOption(a,o)}),i}),n=se(()=>{if(e.markdown!==null)return e.markdown;const i=t.default?.()[0];return i?.type===hs?i.children:""}),s=se(()=>r.value.makeHtml(n.value));return()=>e.vueTemplate?_t({components:e.vueTemplateComponents,setup:()=>e.vueTemplateData,template:`<${e.tag}>${s.value}</${e.tag}>`}):_t(e.tag,{innerHTML:s.value})}}),TY=["id","aria-labelledby"],IY={class:"sh-bg-primary-200 sh-p-4"},PY=pe({__name:"FaqAnswer",props:{answer:{},isExpanded:{type:Boolean}},setup(e){const t=e,{answer:r,isExpanded:n}=Es(t),s=G(0),i=G(0),a=G(null),o=()=>{if(a.value?.style.display==="none"){a.value?.style.setProperty("display","block");const u=a.value?.getBoundingClientRect();i.value=u?.height??0,a.value?.style.setProperty("display","none")}else{const u=a.value?.getBoundingClientRect();i.value=u?.height??0}};return lt(()=>{if(n.value===!0)i.value=a.value?.clientHeight??0;else{a.value?.style.setProperty("display","block");const u=a.value?.getBoundingClientRect();i.value=u?.height??0,a.value?.style.setProperty("display","none")}window.addEventListener("resize",o)}),Nu(()=>{window.removeEventListener("resize",o)}),(u,l)=>(P(),re(Y_,{"enter-active-class":"animate-accordion-down","leave-active-class":"animate-accordion-up"},{default:V(()=>[In($("div",{id:`answer-${s.value}`,ref_key:"node",ref:a,role:"region","aria-labelledby":`question-${s.value}`,class:"psshipping-faq-answer sh-overflow-hidden",style:Fr({"--answer-height":i.value+"px"})},[$("div",IY,[F(N(CY),{markdown:N(r)},null,8,["markdown"])])],12,TY),[[Ki,N(n)]])]),_:1}))}}),OY=si(PY,[["__scopeId","data-v-0296c345"]]),RY={class:"sh-my-2"},$Y=pe({__name:"FaqQuestion",props:{question:{}},emits:["onFaqQuestionClicked"],setup(e,{emit:t}){const r=t,n=e,{question:s}=Es(n),i=G(0);return(a,o)=>{const u=Qi;return P(),W("h3",RY,[F(u,{id:`question-${i.value}`,href:"#","aria-controls":`answer-${i.value}`,onClick:o[0]||(o[0]=ft(l=>r("onFaqQuestionClicked"),["prevent"]))},{default:V(()=>[X(D(N(s)),1)]),_:1},8,["id","aria-controls"])])}}}),MY={class:"puik-h2 sh-mb-6"},xY={id:"questions"},NY={class:"puik-h3 sh-mb-4"},DY=pe({__name:"FaqWrapper",setup(e){const{t}=Vt(),r=G(new Set),n=()=>[{categoryTitle:t("help.faq.gettingStarted.title"),questions:[{title:t("help.faq.gettingStarted.question1.question"),answer:t("help.faq.gettingStarted.question1.answer")},{title:t("help.faq.gettingStarted.question2.question"),answer:t("help.faq.gettingStarted.question2.answer")},{title:t("help.faq.gettingStarted.question3.question"),answer:t("help.faq.gettingStarted.question3.answer")},{title:t("help.faq.gettingStarted.question4.question"),answer:t("help.faq.gettingStarted.question4.answer")},{title:t("help.faq.gettingStarted.question5.question"),answer:t("help.faq.gettingStarted.question5.answer")},{title:t("help.faq.gettingStarted.question6.question"),answer:t("help.faq.gettingStarted.question6.answer")},{title:t("help.faq.gettingStarted.question7.question"),answer:t("help.faq.gettingStarted.question7.answer")},{title:t("help.faq.gettingStarted.question8.question"),answer:t("help.faq.gettingStarted.question8.answer")}]},{categoryTitle:t("help.faq.configuration.title"),questions:[{title:t("help.faq.configuration.question1.question"),answer:t("help.faq.configuration.question1.answer")},{title:t("help.faq.configuration.question2.question"),answer:t("help.faq.configuration.question2.answer")},{title:t("help.faq.configuration.question3.question"),answer:t("help.faq.configuration.question3
|
||
|
|
`);for(let a=n;a<i.length;a++){const o=i[a];if(o.length>1024)continue;const u=v3.test(o)?o.replace(v3,"$1"):o;if(!u.match(/\S*Error: /)){for(const l of t){const c=l(u);if(c){s.push(c);break}}if(s.length>=TI)break}}return See(s)}}function bee(e){return Array.isArray(e)?II(...e):e}function See(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),_3.test(t[t.length-1].function||"")&&(t.pop(),_3.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,TI).map(r=>({...r,filename:r.filename||t[t.length-1].filename,function:r.function||"?"}))}const Cg="<anonymous>";function ei(e){try{return!e||typeof e!="function"?Cg:e.name||Cg}catch{return Cg}}const Np={},y3={};function uo(e,t){Np[e]=Np[e]||[],Np[e].push(t)}function lo(e,t){y3[e]||(t(),y3[e]=!0)}function Yn(e,t){const r=e&&Np[e];if(r)for(const n of r)try{n(t)}catch(s){Lc&&Ae.error(`Error while triggering instrumentation handler.
|
||
|
|
Type: ${e}
|
||
|
|
Name: ${ei(n)}
|
||
|
|
Error:`,s)}}function wee(e){const t="console";uo(t,e),lo(t,kee)}function kee(){"console"in ut&&n_.forEach(function(e){e in ut.console&&fr(ut.console,e,function(t){return Ch[e]=t,function(...r){Yn("console",{args:r,level:e});const s=Ch[e];s&&s.apply(ut.console,r)}})})}function ln(){const e=ut,t=e.crypto||e.msCrypto;let r=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(r=()=>{const n=new Uint8Array(1);return t.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function PI(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ii(e){const{message:t,event_id:r}=e;if(t)return t;const n=PI(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function i_(e,t,r){const n=e.exception=e.exception||{},s=n.values=n.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function pc(e,t){const r=PI(e);if(!r)return;const n={type:"generic",handled:!0},s=r.mechanism;if(r.mechanism={...n,...s,...t},t&&"data"in t){const i={...s&&s.data,...t.data};r.mechanism.data=i}}function b3(e){if(e&&e.__sentry_captured__)return!0;try{fc(e,"__sentry_captured__",!0)}catch{}return!1}function E0(e){return Array.isArray(e)?e:[e]}const Fo=ut,Eee=1e3;let S3,a_,o_;function OI(e){const t="dom";uo(t,e),lo(t,Aee)}function Aee(){if(!Fo.document)return;const e=Yn.bind(null,"dom"),t=w3(e,!0);Fo.document.addEventListener("click",t,!1),Fo.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(r=>{const n=Fo[r]&&Fo[r].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(fr(n,"addEventListener",function(s){return function(i,a,o){if(i==="click"||i=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=l[i]=l[i]||{refCount:0};if(!c.handler){const d=w3(e);c.handler=d,s.call(this,i,d,o)}c.refCount++}catch{}return s.call(this,i,a,o)}}),fr(n,"removeEventListener",function(s){return function(i,a,o){if(i==="click"||i=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__||{},c=l[i];c&&(c.refCount--,c.refCount<=0&&(s.call(this,i,c.handler,o),c.handler=void 0,delete l[i]),Object.keys(l).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return s.call(this,i,a,o)}}))})}function Cee(e){if(e.type!==a_)return!1;try{if(!e.target||e.target._sentryId!==o_)return!1}catch{}return!0}function Tee(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function w3(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;const n=Iee(r);if(Tee(r.type,n))return;fc(r,"_sentryCaptured",!0),n&&!n._sentryId&&fc(n,"_sentryId",ln());const s=r.type==="keypress"?"input":r.type;Cee(r)||(e({event:r,name:s,global:t}),a_=r.type,o_=n?n._sentryId:void 0),clearTimeout(S3),S3=Fo.setTimeout(()=>{o_=void 0,a_=void 0},Eee)}}function Iee(e){try{return e.target}catch{return null}}const u_=S0();function RI(){if(!("fetch"in u_))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function l_(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Pee(){if(typeof EdgeRuntime=="string")return!0;if(!RI())return!1;if(l_(u_.fetch))return!0;let e=!1;const t=u_.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=l_(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){Lc&&Ae.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function $I(e){const t="fetch";uo(t,e),lo(t,Oee)}function Oee(){Pee()&&fr(ut,"fetch",function(e){return function(...t){const{method:r,url:n}=Ree(t),s={args:t,fetchData:{method:r,url:n},startTimestamp:Date.now()};return Yn("fetch",{...s}),e.apply(ut,t).then(i=>{const a={...s,endTimestamp:Date.now(),response:i};return Yn("fetch",a),i},i=>{const a={...s,endTimestamp:Date.
|
||
|
|
${JSON.stringify(o)}
|
||
|
|
`),typeof u=="string"||u instanceof Uint8Array)i(u);else{let l;try{l=JSON.stringify(u)}catch{l=JSON.stringify(as(u))}i(l)}}return typeof s=="string"?s:nte(s)}function nte(e){const t=e.reduce((s,i)=>s+i.length,0),r=new Uint8Array(t);let n=0;for(const s of e)r.set(s,n),n+=s.length;return r}function ste(e,t){const r=typeof e.data=="string"?f_(e.data,t):e.data;return[jn({type:"attachment",length:r.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),r]}const ite={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function C3(e){return ite[e]}function I0(e){if(!e||!e.sdk)return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function DI(e,t,r,n){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:Fc(n)},...s&&{trace:jn({...s})}}}function ate(e,t,r){const n=[{type:"client_report"},{timestamp:Bc(),discarded_events:e}];return co(t?{dsn:t}:{},[n])}const ote=60*1e3;function ute(e,t=Date.now()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${e}`);return isNaN(n)?ote:n-t}function lte(e,t){return e[t]||e.all||0}function LI(e,t,r=Date.now()){return lte(e,t)>r}function FI(e,{statusCode:t,headers:r},n=Date.now()){const s={...e},i=r&&r["x-sentry-rate-limits"],a=r&&r["retry-after"];if(i)for(const o of i.trim().split(",")){const[u,l]=o.split(":",2),c=parseInt(u,10),d=(isNaN(c)?60:c)*1e3;if(!l)s.all=n+d;else for(const p of l.split(";"))s[p]=n+d}else a?s.all=n+ute(a,n):t===429&&(s.all=n+60*1e3);return s}function cte(e,t){return e??t()}function Ig(e){let t,r=e[0],n=1;for(;n<e.length;){const s=e[n],i=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return;s==="access"||s==="optionalAccess"?(t=r,r=i(r)):(s==="call"||s==="optionalCall")&&(r=i((...a)=>r.call(t,...a)),t=void 0)}return r}const Mt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Nm="production";function P0(){return kI("globalEventProcessors",()=>[])}function dte(e){P0().push(e)}function Th(e,t,r,n=0){return new rn((s,i)=>{const a=e[n];if(t===null||typeof a!="function")s(t);else{const o=a({...t},r);Mt&&a.id&&o===null&&Ae.log(`Event processor "${a.id}" dropped event`),Mm(o)?o.then(u=>Th(e,u,r,n+1).then(s)).then(null,i):Th(e,o,r,n+1).then(s).then(null,i)}})}function BI(e){const t=T0(),r={sid:ln(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>fte(r)};return e&&Ga(r,e),r}function Ga(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||T0(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:ln()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const r=e.timestamp-e.started;e.duration=r>=0?r:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function UI(e,t){let r={};e.status==="ok"&&(r={status:"exited"}),Ga(e,r)}function fte(e){return jn({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const pte=1;fun
|
||
|
|
Sentry.addTracingExtensions();
|
||
|
|
Sentry.init({...});
|
||
|
|
`):Ae.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const r=this.getStackTop().scope,n=r.getSession();n&&UI(n),this._sendSessionUpdate(),r.setSession()}startSession(t){const{scope:r,client:n}=this.getStackTop(),{release:s,environment:i=Nm}=n&&n.getOptions()||{},{userAgent:a}=ut.navigator||{},o=BI({release:s,environment:i,user:r.getUser(),...a&&{userAgent:a},...t}),u=r.getSession&&r.getSession();return u&&u.status==="ok"&&Ga(u,{status:"exited"}),this.endSession(),r.setSession(o),o}shouldSendDefaultPii(){const t=this.getClient(),r=t&&t.getOptions();return!!(r&&r.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:r}=this.getStackTop(),n=t.getSession();n&&r&&r.captureSession&&r.captureSession(n)}_callExtensionMethod(t,...r){const s=Lm().__SENTRY__;if(s&&s.extensions&&typeof s.extensions[t]=="function")return s.extensions[t].apply(this,r);Mt&&Ae.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Lm(){return ut.__SENTRY__=ut.__SENTRY__||{extensions:{},hub:void 0},ut}function $3(e){const t=Lm(),r=p_(t);return YI(t,e),r}function Cs(){const e=Lm();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return Fte(e)}function Uc(){return Cs().getIsolationScope()}function Fte(e=Lm()){return(!Bte(e)||p_(e).isOlderThan(KI))&&YI(e,new ZI),p_(e)}function Bte(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function p_(e){return kI("hub",()=>new ZI,e)}function YI(e,t){if(!e)return!1;const r=e.__SENTRY__=e.__SENTRY__||{};return r.hub=t,!0}const Ute="sentry.source";function Hte(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=Bt(),r=e||t&&t.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}function Vte(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function qte(e,t,r,n){const s=I0(r),i={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!n&&t&&{dsn:Fc(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return co(i,[a])}function jte(e,t,r,n){const s=I0(r),i=e.type&&e.type!=="replay_event"?e.type:"event";Vte(e,r&&r.sdk);const a=DI(e,s,n,t);return delete e.sdkProcessingMetadata,co(a,[[{type:i},e]])}const zte="7";function Wte(e){const t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function Gte(e){return`${Wte(e)}${e.projectId}/envelope/`}function Kte(e,t){return vee({sentry_key:e.publicKey,sentry_version:zte,...t&&{sentry_client:`${t.name}/${t.version}`}})}function Zte(e,t={}){const r=typeof t=="string"?t:t.tunnel,n=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return r||`${Gte(e)}?${Kte(e,n)}`}const M3=[];function Yte(e){const t={};return e.forEach(r=>{const{name:n}=r,s=t[n];s&&!s.isDefaultInstance&&r.isDefaultInstance||(t[n]=r)}),Object.keys(t).map(r=>t[r])}function Jte(e){const t=e.defaultIntegrations||[],r=e.integrations;t.forEach(a=>{a.isDefaultInstance=!0});let n;Array.isArray(r)?n=[...t,...r]:typeof r=="function"?n=E0(r(t)):n=t;const s=Yte(n),i=Xte(s,a=>a.name==="Debug");if(i!==-1){const[a]=s.splice(i,1);s.push(a)}return s}function Qte(e,t){const r={};return t.forEach(n=>{n&&JI(e,n,r)}),r}function JI(e,t,r){if(r[t.name]){Mt&&Ae.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,M3.indexOf(t.name)===-1&&(t.setupOnce(dte,Cs),M3.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),e.on&&typeof t.preprocessEvent=="function"){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,i)=>n(s,i,e))}if(e.addEventProcessor&&typeof t.processEvent=="function"){const n=t.processEvent.bind(t),s=Object.assign((i,a)=>n(i,a,e),{id:t.name});e.addEventProcessor(s)}Mt&
|
||
|
|
`}return t}function tre(e,t,r,n){const s={sent_at:new Date().toISOString()};r&&r.sdk&&(s.sdk={name:r.sdk.name,version:r.sdk.version}),n&&t&&(s.dsn=Fc(t));const i=rre(e);return co(s,[i])}function rre(e){const t=ere(e);return[{type:"statsd",length:t.length},t]}const x3="Not capturing exception because it's already been captured.";class nre{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=gee(t.dsn):Mt&&Ae.warn("No DSN provided, client will not send events."),this._dsn){const r=Zte(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}}captureException(t,r,n){if(b3(t)){Mt&&Ae.log(x3);return}let s=r&&r.event_id;return this._process(this.eventFromException(t,r).then(i=>this._captureEvent(i,r,n)).then(i=>{s=i})),s}captureMessage(t,r,n,s){let i=n&&n.event_id;const a=y0(t)?t:String(t),o=b0(t)?this.eventFromMessage(a,r,n):this.eventFromException(t,n);return this._process(o.then(u=>this._captureEvent(u,n,s)).then(u=>{i=u})),i}captureEvent(t,r,n){if(r&&r.originalException&&b3(r.originalException)){Mt&&Ae.log(x3);return}let s=r&&r.event_id;return this._process(this._captureEvent(t,r,n).then(i=>{s=i})),s}captureSession(t){typeof t.release!="string"?Mt&&Ae.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Ga(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const r=this._transport;return r?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(t).then(n=>r.flush(t).then(s=>n&&s))):Cu(!0)}close(t){return this.flush(t).then(r=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),r))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(t){return this.getIntegrationByName(t)}getIntegrationByName(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return Mt&&Ae.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){JI(this,t,this._integrations)}sendEvent(t,r={}){this.emit("beforeSendEvent",t,r);let n=jte(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of r.attachments||[])n=tte(n,ste(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));const s=this._sendEnvelope(n);s&&s.then(i=>this.emit("afterSendEvent",t,i),null)}sendSession(t){const r=qte(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}recordDroppedEvent(t,r,n){if(this._options.sendClientReports){const s=`${t}:${r}`;Mt&&Ae.log(`Adding outcome: "${s}"`),this._outcomes[s]=this._outcomes[s]+1||1}}captureAggregateMetrics(t){Mt&&Ae.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);const r=tre(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}on(t,r){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(r)}emit(t,...r){this._hooks[t]&&this._hooks[t].forEach(n=>n(...r))}_setupIntegrations(){this._integrations=Qte(this,this._options.integrations),this._integrationsInitialized=!0}_updateSessionFromEvent(t,r){let n=!1,s=!1;const i=r.exception&&r.exception.values;if(i){s=!0;for(const u of i){const l=u.mechanism;if(l&&l.handled===!1){n=!0;break}}}const a=t.status==="ok";(a&&t.errors===0||a&&n)&&(Ga(t,{...n&&{status:"crashed"},errors:t.errors||Number(s||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new rn(r=>{let n=0;const s=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),r(!0)):(n+=s,t&&n>=t&&(clearInterval(i),r(!1)))},s)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!
|
||
|
|
Reason: ${d}`))})}_process(t){this._numProcessing++,t.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,r=>{Mt&&Ae.error("Error while sending event:",r)});Mt&&Ae.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(r=>{const[n,s]=r.split(":");return{reason:n,category:s,quantity:t[r]}})}}function sre(e,t){const r=`${t} must return \`null\` or a valid event.`;if(Mm(e))return e.then(n=>{if(!Au(n)&&n!==null)throw new us(r);return n},n=>{throw new us(`${t} rejected with ${n}`)});if(!Au(e)&&e!==null)throw new us(r);return e}function ire(e,t,r){const{beforeSend:n,beforeSendTransaction:s}=e;return QI(t)&&n?n(t,r):XI(t)&&s?s(t,r):t}function QI(e){return e.type===void 0}function XI(e){return e.type==="transaction"}function are(e){const t=Bt();!t||!t.addEventProcessor||t.addEventProcessor(e)}function ore(e,t){t.debug===!0&&(Mt?Ae.enable():ks(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),ii().update(t.initialScope);const n=new e(t);ure(n),lre(n)}function ure(e){const r=Cs().getStackTop();r.client=e,r.scope.setClient(e)}function lre(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}const cre=30;function eP(e,t,r=Yee(e.bufferSize||cre)){let n={};const s=a=>r.drain(a);function i(a){const o=[];if(A3(a,(d,p)=>{const g=C3(p);if(LI(n,g)){const v=N3(d,p);e.recordDroppedEvent("ratelimit_backoff",g,v)}else o.push(d)}),o.length===0)return Cu();const u=co(a[0],o),l=d=>{A3(u,(p,g)=>{const v=N3(p,g);e.recordDroppedEvent(d,C3(g),v)})},c=()=>t({body:rte(u,e.textEncoder)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&Mt&&Ae.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=FI(n,d),d),d=>{throw l("network_error"),d});return r.add(c).then(d=>d,d=>{if(d instanceof us)return Mt&&Ae.error("Skipped sending event because buffer is full."),l("queue_overflow"),Cu();throw d})}return i.__sentry__baseTransport__=!0,{send:i,flush:s}}function N3(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function dre(e,t){const r=t&&hre(t)?t.getClient():t,n=r&&r.getDsn(),s=r&&r.getOptions().tunnel;return pre(e,n)||fre(e,s)}function fre(e,t){return t?D3(e)===D3(t):!1}function pre(e,t){return t?e.includes(t.host):!1}function D3(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function hre(e){return e.getClient!==void 0}const mre=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],gre=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],tP="InboundFilters",vre=(e={})=>({name:tP,setupOnce(){},processEvent(t,r,n){const s=n.getOptions(),i=bre(e,s);return Sre(t,i)?null:t}}),_re=vre,yre=ai(tP,_re);function bre(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:mre],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:gre],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function Sre(e,t){return t.ignoreInternal&&Tre(e)?(Mt&&Ae.warn(`Event dropped due to being internal Sentry Error.
|
||
|
|
Event: ${Ii(e)}`),!0):wre(e,t.ignoreErrors)?(Mt&&Ae.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
||
|
|
Event: ${Ii(e)}`),!0):kre(e,t.ignoreTransactions)?(Mt&&Ae.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
||
|
|
Event: ${Ii(e)}`),!0):Ere(e,t.denyUrls)?(Mt&&Ae.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
||
|
|
Event: ${Ii(e)}.
|
||
|
|
Url: ${Ih(e)}`),!0):Are(e,t.allowUrls)?!1:(Mt&&Ae.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
||
|
|
Event: ${Ii(e)}.
|
||
|
|
Url: ${Ih(e)}`),!0)}function wre(e,t){return e.type||!t||!t.length?!1:Cre(e).some(r=>Dc(r,t))}function kre(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const r=e.transaction;return r?Dc(r,t):!1}function Ere(e,t){if(!t||!t.length)return!1;const r=Ih(e);return r?Dc(r,t):!1}function Are(e,t){if(!t||!t.length)return!0;const r=Ih(e);return r?Dc(r,t):!0}function Cre(e){const t=[];e.message&&t.push(e.message);let r;try{r=e.exception.values[e.exception.values.length-1]}catch{}return r&&r.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`)),Mt&&t.length===0&&Ae.error(`Could not extract message for event ${Ii(e)}`),t}function Tre(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function Ire(e=[]){for(let t=e.length-1;t>=0;t--){const r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function Ih(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?Ire(t):null}catch{return Mt&&Ae.error(`Cannot extract url for event ${Ii(e)}`),null}}let L3;const rP="FunctionToString",Pre=()=>({name:rP,setupOnce(){L3=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=k0(this)||this;return L3.apply(t,e)}}catch{}}}),Ore=Pre,Rre=ai(rP,Ore),Tt=ut;let h_=0;function nP(){return h_>0}function $re(){h_++,setTimeout(()=>{h_--})}function Tu(e,t={},r){if(typeof e!="function")return e;try{const s=e.__sentry_wrapped__;if(s)return s;if(k0(e))return e}catch{return e}const n=function(){const s=Array.prototype.slice.call(arguments);try{const i=s.map(a=>Tu(a,t));return e.apply(this,i)}catch(i){throw $re(),Ite(a=>{a.addEventProcessor(o=>(t.mechanism&&(i_(o,void 0),pc(o,t.mechanism)),o.extra={...o.extra,arguments:s},o)),Dm(i)}),i}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=e[s])}catch{}AI(n,e),fc(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return e.name}})}catch{}return n}const js=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function sP(e,t){const r=O0(e,t),n={type:t&&t.name,value:Dre(t)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function Mre(e,t,r,n){const s=Bt(),i=s&&s.getOptions().normalizeDepth,a={exception:{values:[{type:$m(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:Bre(t,{isUnhandledRejection:n})}]},extra:{__serialized__:xI(t,i)}};if(r){const o=O0(e,r);o.length&&(a.exception.values[0].stacktrace={frames:o})}return a}function Og(e,t){return{exception:{values:[sP(e,t)]}}}function O0(e,t){const r=t.stacktrace||t.stack||"",n=Nre(t);try{return e(r,n)}catch{}return[]}const xre=/Minified React error #\d+;/i;function Nre(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(xre.test(e.message))return 1}return 0}function Dre(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Lre(e,t,r,n){const s=r&&r.syntheticException||void 0,i=R0(e,t,s,n);return pc(i),i.level="error",r&&r.event_id&&(i.event_id=r.event_id),Cu(i)}function Fre(e,t,r="info",n,s){const i=n&&n.syntheticException||void 0,a=m_(e,t,i,s);return a.level=r,n&&n.event_id&&(a.event_id=n.event_id),Cu(a)}function R0(e,t,r,n,s){let i;if(_0(t)&&t.error)return Og(e,t.error);if(d3(t)||QX(t)){const a=t;if("stack"in t)i=Og(e,t);else{const o=a.name||(d3(a)?"DOMError":"DOMException"),u=a.message?`${o}: ${a.message}`:o;i=m_(e,u,r,n),i_(i,u)}return"code"in a&&(i.tags={...i.tags,"DOMException.code":`${a.code}`}),i}return SI(t)?Og(e,t):Au(t)||$m(t)?(i=Mre(e,t,r,s),pc(i,{synthetic:!0}),i):(i=m_(e,t,r,n),i_(i,`${t}`),pc(i,{synthetic:!0}),i)}function m_(e,t,r,n){const s={};if(n&&r){const i=O0(e,r);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]})}if(y0(t)){const{__sentry_template_string__:i,__sentry_template_values__:a}=t;return s.logentry={message:i,params:a},s}return s.message=t,s}function Bre(e,{isUnhandledRejection:t}){const r=_ee(e),n=t?"promise rejection":"exception";return _0(e)?`Eve
|
||
|
|
Type: ${e}
|
||
|
|
Name: ${ei(n)}
|
||
|
|
Error:`,s)}}function nse(){ese(e=>{wP("lcp",{metric:e}),SP=e})}function sse(e,t,r,n){return kP(e,t),Ph[e]||(r(),Ph[e]=!0),n&&t({metric:n}),EP(e,t)}function ise(e){const t={};e==="event"&&(t.durationThreshold=0),yP(e,r=>{wP(e,{entries:r})},t)}function kP(e,t){wl[e]=wl[e]||[],wl[e].push(t)}function EP(e,t){return()=>{const r=wl[e];if(!r)return;const n=r.indexOf(t);n!==-1&&r.splice(n,1)}}const $t=ut,M0="sentryReplaySession",ase="replay_event",x0="Unable to send Replay",ose=3e5,use=9e5,lse=5e3,cse=5500,dse=6e4,fse=5e3,pse=3,q3=15e4,pp=5e3,hse=3e3,mse=300,N0=2e7,gse=4999,vse=15e3,j3=36e5;function _se(e,t){return e??t()}function Oh(e){let t,r=e[0],n=1;for(;n<e.length;){const s=e[n],i=e[n+1];if(n+=2,(s==="optionalAccess"||s==="optionalCall")&&r==null)return;s==="access"||s==="optionalAccess"?(t=r,r=i(r)):(s==="call"||s==="optionalCall")&&(r=i((...a)=>r.call(t,...a)),t=void 0)}return r}var sr;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(sr||(sr={}));function yse(e){return e.nodeType===e.ELEMENT_NODE}function kl(e){const t=Oh([e,"optionalAccess",r=>r.host]);return Oh([t,"optionalAccess",r=>r.shadowRoot])===e}function El(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function bse(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e}function Sse(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const r=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}function Rh(e){try{const t=e.rules||e.cssRules;return t?bse(Array.from(t,AP).join("")):null}catch{return null}}function AP(e){let t;if(kse(e))try{t=Rh(e.styleSheet)||Sse(e)}catch{}else if(Ese(e)&&e.selectorText.includes(":"))return wse(e.cssText);return t||e.cssText}function wse(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function kse(e){return"styleSheet"in e}function Ese(e){return"selectorText"in e}class CP{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const r=Oh([this,"access",n=>n.getMeta,"call",n=>n(t),"optionalAccess",n=>n.id]);return _se(r,()=>-1)}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const r=this.getId(t);this.idNodeMap.delete(r),t.childNodes&&t.childNodes.forEach(n=>this.removeNodeFromMap(n))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,r){const n=r.id;this.idNodeMap.set(n,t),this.nodeMetaMap.set(t,r)}replace(t,r){const n=this.getNode(t);if(n){const s=this.nodeMetaMap.get(n);s&&this.nodeMetaMap.set(r,s)}this.idNodeMap.set(t,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Ase(){return new CP}function Bm({maskInputOptions:e,tagName:t,type:r}){return t==="OPTION"&&(t="SELECT"),!!(e[t.toLowerCase()]||r&&e[r]||r==="password"||t==="INPUT"&&!r&&e.text)}function mc({isMasked:e,element:t,value:r,maskInputFn:n}){let s=r||"";return e?(n&&(s=n(s,t)),"*".repeat(s.length)):s}function Iu(e){return e.toLowerCase()}function g_(e){return e.toUpperCase()}const z3="__rrweb_original__";function Cse(e){const t=e.getContext("2d");if(!t)return!0;const r=50;for(let n=0;n<e.width;n+=r)for(let s=0;s<e.height;s+=r){const i=t.getImageData,a=z3 in i?i[z3]:i;if(new Uint32Array(a.call(t,n,s,Math.min(r,e.width-n),Math.min(r,e.height-s)).data.buffer).some(u=>u!==0))return!1}return!0}function D0(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Iu(t):null}function $h(e,t,r){return t==="INPUT"&&(r==="radio"||r==="checkbox")?e.getAttribute("value")||"":e.value}let Tse=1;const Ise=new RegExp("[^a-z0-9-_:]"),gc=-2;function L0(){return Tse++}functi
|
||
|
|
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
|
||
|
|
or you can use record.mirror to access the mirror instance during recording.`;let G3={map:{},getId(){return console.error(Bo),-1},getNode(){return console.error(Bo),null},removeNodeFromMap(){console.error(Bo)},has(){return console.error(Bo),!1},reset(){console.error(Bo)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(G3=new Proxy(G3,{get(e,t,r){return t==="map"&&console.error(Bo),Reflect.get(e,t,r)}}));function vc(e,t,r={}){let n=null,s=0;return function(...i){const a=Date.now();!s&&r.leading===!1&&(s=a);const o=t-(a-s),u=this;o<=0||o>t?(n&&(clearTimeout(n),n=null),s=a,e.apply(u,i)):!n&&r.trailing!==!1&&(n=setTimeout(()=>{s=r.leading===!1?0:Date.now(),n=null,e.apply(u,i)},o))}}function PP(e,t,r,n,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,n?r:{set(a){setTimeout(()=>{r.set.call(this,a)},0),i&&i.set&&i.set.call(this,a)}}),()=>PP(e,t,i||{},!0)}function B0(e,t,r){try{if(!(t in e))return()=>{};const n=e[t],s=r(n);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=s,()=>{e[t]=n}}catch{return()=>{}}}let xh=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(xh=()=>new Date().getTime());function OP(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:Ei([t,"optionalAccess",r=>r.documentElement,"access",r=>r.scrollLeft])||Ei([t,"optionalAccess",r=>r.body,"optionalAccess",r=>r.parentElement,"optionalAccess",r=>r.scrollLeft])||Ei([t,"optionalAccess",r=>r.body,"optionalAccess",r=>r.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:Ei([t,"optionalAccess",r=>r.documentElement,"access",r=>r.scrollTop])||Ei([t,"optionalAccess",r=>r.body,"optionalAccess",r=>r.parentElement,"optionalAccess",r=>r.scrollTop])||Ei([t,"optionalAccess",r=>r.body,"optionalAccess",r=>r.scrollTop])||0}}function RP(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function $P(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Un(e,t,r,n,s){if(!e)return!1;const i=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!i)return!1;const a=qo(t,r);if(!s){const l=n&&i.matches(n);return a(i)&&!l}const o=Aa(i,a);let u=-1;return o<0?!1:(n&&(u=Aa(i,qo(null,n))),o>-1&&u<0?!0:o<u)}function Zse(e,t){return t.getId(e)!==-1}function Rg(e,t){return t.getId(e)===gc}function MP(e,t){if(kl(e))return!1;const r=t.getId(e);return t.has(r)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?MP(e.parentNode,t):!0:!0}function v_(e){return!!e.changedTouches}function Yse(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let r=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===r)return!0;while(r=r&&r.parentNode);return!1})}function xP(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function NP(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function __(e){return!!Ei([e,"optionalAccess",t=>t.shadowRoot])}class Jse{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return cte(this.styleIDMap.get(t),()=>-1)}has(t){return this.styleIDMap.has(t)}add(t,r){if(this.has(t))return this.getId(t);let n;return r===void 0?n=this.id++:n=r,this.styleIDMap.set(t,n),this.idStyleMap.set(n,t),n}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function DP(e){let t=null;return Ei([e,"access",r=>r.getRootNode,"optionalCall",r=>r(),"optionalAccess",r=>r.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e
|
||
|
|
`).reduce((r,n)=>{const[s,i]=n.split(": ");return r[s.toLowerCase()]=i,r},{}):{}}function Xae(e){const t=[];try{return[e.responseText]}catch(r){t.push(r)}try{return eoe(e.response,e.responseType)}catch(r){t.push(r)}return It&&Ae.warn("[Replay] Failed to get xhr response body",...t),[void 0]}function eoe(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch{return It&&Ae.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return It&&Ae.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function toe(e,t,r){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Vm(n,r)}catch{return}}function roe(e){const t=Bt();try{const r=new TextEncoder,{networkDetailAllowUrls:n,networkDetailDenyUrls:s,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o}=e.getOptions(),u={replay:e,textEncoder:r,networkDetailAllowUrls:n,networkDetailDenyUrls:s,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o};t&&t.on?t.on("beforeAddBreadcrumb",(l,c)=>noe(u,l,c)):($I($ae(e)),MI(xae(e)))}catch{}}function noe(e,t,r){if(t.data)try{soe(t)&&aoe(r)&&(Yae(t,r,e),Zae(t,r,e)),ioe(t)&&ooe(r)&&(Bae(t,r,e),Fae(t,r,e))}catch{It&&Ae.warn("Error when enriching network breadcrumb")}}function soe(e){return e.category==="xhr"}function ioe(e){return e.category==="fetch"}function aoe(e){return e&&e.xhr}function ooe(e){return e&&e.response}let a2=null;function uoe(e){return!!e.category}const loe=e=>t=>{if(!e.isEnabled())return;const r=coe(t);r&&Vc(e,r)};function coe(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return a2===t||!t||(a2=t,!uoe(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:t.category==="console"?doe(t):ps(t)}function doe(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return ps(e);let r=!1;const n=t.map(s=>{if(!s)return s;if(typeof s=="string")return s.length>pp?(r=!0,`${s.slice(0,pp)}…`):s;if(typeof s=="object")try{const i=as(s,7);return JSON.stringify(i).length>pp?(r=!0,`${JSON.stringify(i,null,2).slice(0,pp)}…`):i}catch{}return s});return ps({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function foe(e){const t=ii(),r=Bt();t.addScopeListener(loe(e)),OI(qie(e)),A0(Pae(e)),roe(e);const n=Tae(e,!o2(r));r&&r.addEventProcessor?r.addEventProcessor(n):are(n),o2(r)&&(r.on("beforeSendEvent",wae(e)),r.on("afterSendEvent",t4(e)),r.on("createDsc",s=>{const i=e.getSessionId();i&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(s.replay_id=i)}),r.on("startTransaction",s=>{e.lastTransaction=s}),r.on("finishTransaction",s=>{e.lastTransaction=s}),r.on("beforeSendFeedback",(s,i)=>{const a=e.getSessionId();i&&i.includeReplay&&e.isEnabled()&&a&&(e.flush(),s.contexts&&s.contexts.feedback&&(s.contexts.feedback.replay_id=a))}))}function o2(e){return!!(e&&e.on)}async function poe(e){try{return Promise.all(Um(e,[hoe($t.performance.memory)]))}catch{return[]}}function hoe(e){const{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e,s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}function moe(e,t,r){let n,s,i;const a=r&&r.maxWait?Math.max(r.maxWait,t):0;function o(){return u(),n=e(),n}function u(){s!==void 0&&clearTimeout(s),i!==void 0&&clearTimeout(i),s=i=void 0}function l(){return s!==void 0||i!==void 0?o():n}function c(){return s&&clearTimeout(s),s=setTimeout(o,t),a&&i===void 0&&(i=setTimeout(o,a)),n}return c.cancel=u,c.flush=l,c}function goe(e){let t=!1;return(r,n)=>{if(!e.checkAndHandleExpiredSession()){It&&Ae.warn("[Replay] Received replay event after session expired.");return}const s=n||!t;t=!0,e.clickDetector&&Fie(e.clickDetector,r),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&s&&e.setInitialState(),!j0(e,r,s))return!0;if(!s)return!1;if(_oe(e,s),e.session&&e.session.pr
|
||
|
|
`;if(typeof e=="string")r=`${n}${e}`;else{const i=new TextEncoder().encode(n);r=new Uint8Array(i.length+e.length),r.set(i),r.set(e,i.length)}return r}async function Soe({client:e,scope:t,replayId:r,event:n}){const s=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:r,integrations:s};e.emit&&e.emit("preprocessEvent",n,i);const a=await HI(e.getOptions(),n,i,t,e,Uc());if(!a)return null;a.platform=a.platform||"javascript";const o=e.getSdkMetadata&&e.getSdkMetadata(),{name:u,version:l}=o&&o.sdk||{};return a.sdk={...a.sdk,name:u||"sentry.javascript.unknown",version:l||"0.0.0"},a}async function woe({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:s,session:i}){const a=boe({recordingData:e,headers:{segment_id:r}}),{urls:o,errorIds:u,traceIds:l,initialTimestamp:c}=n,d=Bt(),p=ii(),g=d&&d.getTransport(),v=d&&d.getDsn();if(!d||!g||!v||!i.sampled)return;const _={type:ase,replay_start_timestamp:c/1e3,timestamp:s/1e3,error_ids:u,trace_ids:l,urls:o,replay_id:t,segment_id:r,replay_type:i.sampled},w=await Soe({scope:p,client:d,replayId:t,event:_});if(!w){d.recordDroppedEvent("event_processor","replay",_),Mr("An event processor returned `null`, will not send event.");return}delete w.sdkProcessingMetadata;const S=yoe(w,a,v,d.getOptions().tunnel);let b;try{b=await g.send(S)}catch(f){const h=new Error(x0);try{h.cause=f}catch{}throw h}if(!b)return b;if(typeof b.statusCode=="number"&&(b.statusCode<200||b.statusCode>=300))throw new u4(b.statusCode);const y=FI({},b);if(LI(y,"replay"))throw new l4(y);return b}class u4 extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class l4 extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function c4(e,t={count:0,interval:fse}){const{recordingData:r,options:n}=e;if(r.length)try{return await woe(e),!0}catch(s){if(s instanceof u4||s instanceof l4)throw s;if(Tte("Replays",{_retryCount:t.count}),It&&n._experiments&&n._experiments.captureExceptions&&Dm(s),t.count>=pse){const i=new Error(`${x0} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,a)=>{setTimeout(async()=>{try{await c4(e,t),i(!0)}catch(o){a(o)}},t.interval)})}}const d4="__THROTTLED",koe="__SKIPPED";function Eoe(e,t,r){const n=new Map,s=o=>{const u=o-r;n.forEach((l,c)=>{c<u&&n.delete(c)})},i=()=>[...n.values()].reduce((o,u)=>o+u,0);let a=!1;return(...o)=>{const u=Math.floor(Date.now()/1e3);if(s(u),i()>=t){const c=a;return a=!0,c?koe:d4}a=!1;const l=n.get(u)||0;return n.set(u,l+1),e(...o)}}class Ti{constructor({options:t,recordingOptions:r}){Ti.prototype.__init.call(this),Ti.prototype.__init2.call(this),Ti.prototype.__init3.call(this),Ti.prototype.__init4.call(this),Ti.prototype.__init5.call(this),Ti.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:ose,sessionIdleExpire:use},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=r,this._options=t,this._debouncedFlush=moe(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Eoe((a,o)=>gae(this,a,o),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:s}=this.getOptions(),i=n?{threshold:Math.min(hse,n),timeout:n,scrollTimeout:mse,ignoreSelector:s?s.join(","):""}:void 0;i&&(this.clickDetector=new xie(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(t){const{errorSampleRate:r,sessionSampleRate:n}=this._options;if(!(r<=0&&n<=0)){if(this._initializeSessionForSampling(t),!this.session){this._handleException(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingM
|
||
|
|
This option is deprecated and will be removed soon.
|
||
|
|
Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:
|
||
|
|
Sentry.init({ replaysSessionSampleRate: ${l} })`),this._initialOptions.sessionSampleRate=l),typeof c=="number"&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.
|
||
|
|
This option is deprecated and will be removed soon.
|
||
|
|
Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:
|
||
|
|
Sentry.init({ replaysOnErrorSampleRate: ${c} })`),this._initialOptions.errorSampleRate=c),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${u2}`:u2),this._isInitialized&&E3())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return l2}set _isInitialized(t){l2=t}setupOnce(){E3()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return!this._replay||!this._replay.isEnabled()?Promise.resolve():this._replay.sendBufferedReplayOrFlush(t)}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const t=Ioe(this._initialOptions);this._replay=new Ti({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const r=Bt().getIntegrationByName("ReplayCanvas");if(!r)return;this._replay._canvas=r.getOptions()}catch{}}}W0.__initStatic();function Ioe(e){const t=Bt(),r=t&&t.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...jn(e)};return r?(e.sessionSampleRate==null&&e.errorSampleRate==null&&r.replaysSessionSampleRate==null&&r.replaysOnErrorSampleRate==null&&ks(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),typeof r.replaysSessionSampleRate=="number"&&(n.sessionSampleRate=r.replaysSessionSampleRate),typeof r.replaysOnErrorSampleRate=="number"&&(n.errorSampleRate=r.replaysOnErrorSampleRate),n):(ks(()=>{console.warn("SDK client is not available.")}),n)}function c2(e){return[...Toe,...e.map(t=>t.toLowerCase())]}const f4=["activate","mount","update"],Poe=/(?:^|[-_])(\w)/g,Ooe=e=>e.replace(Poe,t=>t.toUpperCase()).replace(/[-_]/g,""),Roe="<Root>",Ng="<Anonymous>",$oe=(e,t)=>e.repeat?e.repeat(t):e,Cl=(e,t)=>{if(!e)return Ng;if(e.$root===e)return Roe;if(!e.$options)return Ng;const r=e.$options;let n=r.name||r._componentTag;const s=r.__file;if(!n&&s){const i=s.match(/([^/\\]+)\.vue$/);i&&(n=i[1])}return(n?`<${Ooe(n)}>`:Ng)+(s&&t!==!1?` at ${s}`:"")},Moe=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let r=0;for(;e;){if(t.length>0){const s=t[t.length-1];if(s.constructor===e.constructor){r++,e=e.$parent;continue}else r>0&&(t[t.length-1]=[s,r],r=0)}t.push(e),e=e.$parent}return`
|
||
|
|
|
||
|
|
found in
|
||
|
|
|
||
|
|
${t.map((s,i)=>`${(i===0?"---> ":$oe(" ",5+i*2))+(Array.isArray(s)?`${Cl(s[0])}... (${s[1]} recursive calls)`:Cl(s))}`).join(`
|
||
|
|
`)}`}return`
|
||
|
|
|
||
|
|
(found in ${Cl(e)})`},xoe=(e,t)=>{const{errorHandler:r,warnHandler:n,silent:s}=e.config;e.config.errorHandler=(i,a,o)=>{const u=Cl(a,!1),l=a?Moe(a):"",c={componentName:u,lifecycleHook:o,trace:l};if(t.attachProps&&a&&(a.$options&&a.$options.propsData?c.propsData=a.$options.propsData:a.$props&&(c.propsData=a.$props)),setTimeout(()=>{Dm(i,{captureContext:{contexts:{vue:c}},mechanism:{handled:!1}})}),typeof r=="function"&&r.call(e,i,a,o),t.logErrors){const d=typeof console<"u",p=`Error in ${o}: "${i&&i.toString()}"`;n?n.call(null,p,a,l):d&&!s&&ks(()=>{console.error(`[Vue warn]: ${p}${l}`)})}}},Noe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,d2="ui.vue",Doe={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function f2(){return ii().getTransaction()}function Loe(e,t,r){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},r)}const Foe=e=>{const t=(e.hooks||[]).concat(f4).filter((n,s,i)=>i.indexOf(n)===s),r={};for(const n of t){const s=Doe[n];if(!s){Noe&&Ae.warn(`Unknown hook: ${n}`);continue}for(const i of s)r[i]=function(){const a=this.$root===this;if(a){const l=f2();l&&(this.$_sentryRootSpan=this.$_sentryRootSpan||l.startChild({description:"Application Render",op:`${d2}.render`,origin:"auto.ui.vue"}))}const o=Cl(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(o)>-1:e.trackComponents;if(!(!a&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},i==s[0]){const l=this.$root&&this.$root.$_sentryRootSpan||f2();if(l){const c=this.$_sentrySpans[n];c&&c.end(),this.$_sentrySpans[n]=l.startChild({description:`Vue <${o}>`,op:`${d2}.${n}`,origin:"auto.ui.vue"})}}else{const l=this.$_sentrySpans[n];if(!l)return;l.end(),Loe(this,T0(),e.timeout)}}}return r},Boe=ut,Uoe={Vue:Boe.Vue,attachProps:!0,logErrors:!0,hooks:f4,timeout:2e3,trackComponents:!1},p4="Vue",Hoe=(e={})=>({name:p4,setupOnce(){},setup(t){Voe(t,e)}}),h4=Hoe;ai(p4,h4);function Voe(e,t){const r={...Uoe,...e.getOptions(),...t};if(!r.Vue&&!r.app){ks(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}r.app?E0(r.app).forEach(s=>p2(s,r)):r.Vue&&p2(r.Vue,r)}const p2=(e,t)=>{const r=e;(r._instance&&r._instance.isMounted)===!0&&ks(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),xoe(e,t),Hte(t)&&e.mixin(Foe({...t,...t.tracingOptions}))};function lue(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:hc}],version:hc}},defaultIntegrations:[...gP,h4()],...e};jne(t)}export{W0 as $,Ji as A,ym as B,Ke as C,Xe as D,ni as E,he as F,NV as G,As as H,xn as I,eE as J,KV as K,Xr as L,er as M,vp as N,Ys as O,Gi as P,Ie as Q,$H as R,qoe as S,W2 as T,rv as U,Qoe as V,ph as W,JX as X,Yoe as Y,lue as Z,si as _,le as a,$i as a$,xc as a0,_r as a1,Qi as a2,Joe as a3,iue as a4,Br as a5,aue as a6,Am as a7,to as a8,Qs as a9,$u as aA,pr as aB,jh as aC,lr as aD,eo as aE,Xa as aF,eue as aG,De as aH,Le as aI,bg as aJ,tue as aK,rue as aL,dr as aM,Sd as aN,dc as aO,be as aP,Eu as aQ,zT as aR,ha as aS,Xoe as aT,vj as aU,ds as aV,ST as aW,t0 as aX,a0 as aY,Xj as aZ,Sl as a_,nue as aa,e_ as ab,sC as ac,oue as ad,uue as ae,Tr as af,pt as ag,sue as ah,Hr as ai,Fr as aj,Jt as ak,it as al,H_ as am,em as an,_t as ao,Wi as ap,Zt as aq,Jn as ar,rO as as,xE as at,x_ as au,Nt as av,Ko as aw,ft as ax,Sc as ay,yc as az,st as b,Oq as b0,qt as b1,pq as b2,_j as b3,i0 as b4,re as c,pe as d,At as e,Dt as f,Vt as g,cs as h,se as i,Je as j,G as k,Uy as l,Se as m,lt as n,P as o,$ as p,W as q,kc as r,Ne as s,Es as t,N as u,Ue as v,V as w,X as x,D as y,F as z};
|
||
|
|
//# sourceMappingURL=globals-BVeJWRKG.js.map
|