1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./v2.5-DDmg-04V.js","./v2.5-VIJ3Sybn.js","./v2.5-DU_4nFeO.js","./v2.5-Do-0pAyj.js","./v2.5-DWISQF8l.js","./v2.5-BRJEEl2u.js","./ErrorBoundary-B1U6CBPf.css","./v2.5-BiI7n_B2.js","./BHLink-x2hjmXJf.css","./v2.5-B7N6t0J0.js","./v2.5-DkGqg5mS.js","./v2.5-oTGtRQ8F.js","./TheContent-GP2lQoT5.css","./v2.5-DEFZDvQ_.js","./v2.5-D-eVecjP.js","./v2.5-C6I23XfG.js","./v2.5-Cj-ViZPP.js","./ModalFade-BJYg1pYl.css","./v2.5-DZH76Q_D.js","./v2.5-Cdi8qH88.js","./SecretElems-D-E7PX1E.css","./v2.5-DqEEBpTC.js","./v2.5-DFB7JJhI.js","./LazyloadPlaceholder-DPHrcrYO.css","./AdaptivePicture-B2F5vDp3.css","./v2.5-BQYU8Zrc.js","./AccentCard-DCYGnWBC.css","./v2.5-BQIraYlX.js","./v2.5-NmSCM9sb.js","./ArticleCardSmallPlaceholder-CzjmnllG.css","./v2.5-BjAPnAym.js","./v2.5-DSGPwoBd.js","./ArticleCardSmall-aNQ_jJAr.css","./ArticleCardSmallList-azs9CK4n.css","./v2.5-CK00X63w.js","./v2.5-C_Vj38L8.js","./v2.5-BaKoKTdJ.js","./v2.5-gGNNyXXj.js","./WidgetsArea-Bv-RTwf0.css","./v2.5-BRLEzvlt.js","./v2.5-DNW5NMLe.js","./v2.5-D8TyGkrf.js","./TwoColumn-BXh1MN8K.css","./Index-CkrsubNy.css","./v2.5--a4MhDnq.js","./v2.5-CL6is7Xb.js","./BaseTitleGroup-DWxx8Gcn.css","./v2.5-DIElmj8H.js","./v2.5-B06Kionk.js","./MainPagination-DWhnRkCL.css","./useHeadWithSeo-CaBiwD76.css","./ArchiveTag-B_tkKph7.css","./v2.5-thaKVX_A.js","./v2.5-ZANou7mM.js","./v2.5-DZa48mik.js","./BaseSearch-CEsOZoFC.css","./v2.5-oYcwqVMz.js","./BasePage-C2Sm_KV2.css","./ArchiveSearch-D0VMmKGI.css","./v2.5-D_QCI5C1.js","./v2.5-GPSLwxfs.js","./ArchiveTop-Bk6s6xeK.css","./v2.5-D_edbRUR.js","./ArchiveAuthor-qRBI8pgo.css","./v2.5-ilpIoES9.js","./ArchiveCategory-8AJmhg99.css","./v2.5-Dlf8GUNI.js","./ArchiveAll-ZeHvq2cS.css","./v2.5-BvuIq4H3.js","./v2.5-CmVnGQZR.js","./v2.5-VesCCI1Y.js","./BaseTransitionAnimation-CWK5Ncqf.css","./Article-xzEBkfC_.css","./v2.5-BeXShaMQ.js","./v2.5-CR9gPPAd.js","./v2.5-TovEz48T.js","./v2.5-CEg794XD.js","./v2.5-C3GidjaL.js","./v2.5-U9odb8Cj.js","./v2.5-DhtnmeJo.js","./ArticleFooterSourceItem-Bu9t9XTq.css","./v2.5-DFtTFT5q.js","./v2.5-ByMZWemU.js","./ErrorBlock-BlaAGbBP.css","./article-BI54xMfo.css","./v2.5-BJm6FtJk.js","./v2.5-Cn8mKORe.js","./v2.5-D4BoMMaE.js","./v2.5-BQbdh3LJ.js","./v2.5-DMUBV7yO.js","./footer-DbQHJ0WM.css","./v2.5-titvP8aA.js","./v2.5-D78eQVOr.js","./v2.5-Befi4Ctn.js","./v2.5-BGvxan-e.js","./Shutter-Dm3DUGtR.css","./v2.5-_sdBPr4W.js","./Swiper-Blr3QCJt.css","./v2.5-CFlIZLYm.js","./v2.5-BqtlUB6v.js","./BadgesContainer-C2dVFtnK.css","./default-BZuZVMkC.css","./v2.5-DxRPCcQp.js","./promo-B5bLyRI8.css","./v2.5-DnXXO0ca.js","./v2.5-Bv3hhDo9.js","./AppContainer-D92Nacp8.css","./v2.5-B319G5Od.js","./AppContainer-C0HQxkMM.css","./v2.5-dkTWDvzs.js","./ErrorCommon-CilZTVd9.css"])))=>i.map(i=>d[i]); 2try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a4e68963-901a-4b0a-917f-04ed88926c49",e._sentryDebugIdIdentifier="sentry-dbid-a4e68963-901a-4b0a-917f-04ed88926c49")}catch{}function D0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const o=Object.getOwnPropertyDescriptor(r,s);o&&Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"69e7a69bf07ab6aa2503a7400f8b00502eff57f4"}}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Yf(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},ls=[],dn=()=>{},Vy=()=>!1,Ho=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jf=e=>e.startsWith("onUpdate:"),rt=Object.assign,Xf=(e,t)=>
vendor: 4,159 bytes, line 2
2{const n=e.indexOf(t);n>-1&&e.splice(n,1)},L0=Object.prototype.hasOwnProperty,Ie=(e,t)=>L0.call(e,t),se=Array.isArray,fs=e=>qo(e)==="[object Map]",Wy=e=>qo(e)==="[object Set]",M0=e=>qo(e)==="[object RegExp]",ae=e=>typeof e=="function",We=e=>typeof e=="string",Hn=e=>typeof e=="symbol",$e=e=>e!==null&&typeof e=="object",Qf=e=>($e(e)||ae(e))&&ae(e.then)&&ae(e.catch),Gy=Object.prototype.toString,qo=e=>Gy.call(e),F0=e=>qo(e).slice(8,-1),Ky=e=>qo(e)==="[object Object]",La=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Dr=Yf(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ma=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},$0=/-\w/g,Qt=Ma(e=>e.replace($0,t=>t.slice(1).toUpperCase())),B0=/\B([A-Z])/g,yr=Ma(e=>e.replace(B0,"-$1").toLowerCase()),Fa=Ma(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hi=Ma(e=>e?`on${Fa(e)}`:""),ir=(e,t)=>!Object.is(e,t),ps=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},zy=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Zf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yy=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let kd;const $a=()=>kd||(kd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jo(e){if(se(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=We(r)?j0(r):jo(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(We(e)||$e(e))return e}const U0=/;(?![^(]*\))/g,H0=/:([^]+)/,q0=/\/\*[^]*?\*\//g;function j0(e){const t={};return e.replace(q0,"").split(U0).forEach(n=>{if(n){const r=n.split(H0);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Gr(e){let t="";if(We(e))t=e;else if(se(e))for(let n=0;n<e.length;n++){const r=Gr(e[n]);r&&(t+=r+" ")}else if($e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function aB(e){if(!e)return null;let{class:t,style:n}=e;return t&&!We(t)&&(e.class=Gr(t)),n&&(e.style=jo(n)),e}const V0="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",W0=Yf(V0);function Jy(e){return!!e||e===""}const Xy=e=>!!(e&&e.__v_isRef===!0),as=e=>We(e)?e:e==null?"":se(e)||$e(e)&&(e.toString===Gy||!ae(e.toString))?Xy(e)?as(e.value):JSON.stringify(e,Qy,2):String(e),Qy=(e,t)=>Xy(t)?Qy(e,t.value):fs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Dc(r,o)+" =>"]=s,n),{})}:Wy(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Dc(n))}:Hn(t)?Dc(t):$e(t)&&!se(t)&&!Ky(t)?String(t):t,Dc=(e,t="")=>{var n;return Hn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let _t;class Zy{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_t,!t&&_t&&(this.index=(_t.scopes||(_t.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=_t;try{return _t=this,t()}finally{_t=n}}}on(){++this._on===1&&(this.prevScope=_t,_t=this)}off(){this._on>0&&--this._on===0&&(_t=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].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 Ba(e){return new Zy(e)}function Ua(){return _t}function e_(e,t=!1){_t&&_t.cleanups.push(e)}let Be;const Lc=new WeakSet;class t_{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
vendor: 14,676 bytes, line 2
2=void 0,_t&&_t.active&&_t.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Lc.has(this)&&(Lc.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||r_(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Id(this),s_(this);const t=Be,n=tn;Be=this,tn=!0;try{return this.fn()}finally{o_(this),Be=t,tn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)np(t);this.deps=this.depsTail=void 0,Id(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Lc.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ql(this)&&this.run()}get dirty(){return Ql(this)}}let n_=0,go,yo;function r_(e,t=!1){if(e.flags|=8,t){e.next=yo,yo=e;return}e.next=go,go=e}function ep(){n_++}function tp(){if(--n_>0)return;if(yo){let t=yo;for(yo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;go;){let t=go;for(go=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function s_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function o_(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),np(r),G0(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ql(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(i_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function i_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Io)||(e.globalVersion=Io,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ql(e))))return;e.flags|=2;const t=e.dep,n=Be,r=tn;Be=e,tn=!0;try{s_(e);const s=e.fn(e._value);(t.version===0||ir(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Be=n,tn=r,o_(e),e.flags&=-3}}function np(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)np(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function G0(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let tn=!0;const a_=[];function Ln(){a_.push(tn),tn=!1}function Mn(){const e=a_.pop();tn=e===void 0?!0:e}function Id(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Be;Be=void 0;try{t()}finally{Be=n}}}let Io=0;class K0{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rp{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Be||!tn||Be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Be)n=this.activeLink=new K0(Be,this),Be.deps?(n.prevDep=Be.depsTail,Be.depsTail.nextDep=n,Be.depsTail=n):Be.deps=Be.depsTail=n,c_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Be.depsTail,n.nextDep=void 0,Be.depsTail.nextDep=n,Be.depsTail=n,Be.deps===n&&(Be.deps=r)}return n}trigger(t){this.version++,Io++,this.notify(t)}notify(t){ep();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{tp()}}}function c_(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)c_(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Qi=new WeakMap,Lr=Symbol(""),Zl=Symbol(""),Po=Symbol("");function bt(e,t,n){if(tn&&Be){let r=Qi.get(e);r||Qi.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new rp),s.map=r,s.key=n),s.track()}}function kn(e,t,n,r,s,o){const i=Qi.get(e);if(!i){Io++;return}const a=u=>{u&&u.trigger()};if(ep(),t==="clear")i.forEach(a);else{const u=se(e),f=u&&La(n);if(u&&n==="length"){const c=Number(r);i.forEach((l,p)=>{(p==="length"||p===Po||!Hn(p)&&p>=c)&&a(l)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(Po)),t){case"add":u?f&&a(i.get("length")):(a(i.get(Lr)),fs(e)&&a(i.get(Zl)));break;case"delete":u||(a(i.get(Lr)),fs(e)&&a(i.get(Zl)));break;case"set":fs(e)&&a(i.get(Lr));break}}tp()}function z0(e,t){const n=Qi.get(e);return n&&n.get(t)}function ts(e){const t=ye(e);return t===e?t:(bt(t,"iterate",Po),Gt(e)?t:t.map(rn))}function Ha(e){return bt(e=ye(e),"iterate",Po),e}function Qn(e,t){return _n(e)?vs(hn(e)?rn(t):t):rn(t)}const Y0={__proto__:null,[Symbol.iterator](){return Mc(this,Symbol.iterator,e=>Qn(this,e))},concat(...e){return ts(this).concat(...e.map(t=>se(t)?ts(t):t))},entries(){return Mc(this,"entries",e=>(e[1]=Qn(this,e[1]),e))},every(e,t){return wn(this,"every",e,t,void 0,arguments)},filter(e,t){return wn(this,"filter",e,t,n=>n.map(r=>Qn(this,r)),arguments)},find(e,t){return wn(this,"find",e,t,n=>Qn(this,n),arguments)},findIndex(e,t){return wn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return wn(this,"findLast",e,t,n=>Qn(this,n),arguments)},findLastIndex(e,t){return wn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return wn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Fc(this,"includes",e)},indexOf(...e){return Fc(this,"indexOf",e)},join(e){return ts(this).join(e)},lastIndexOf(...e){return Fc(this,"lastIndexOf",e)},map(e,t){return wn(this,"map",e,t,void 0,arguments)},pop(){return eo(this,"pop")},push(...e){return eo(this,"push",e)},reduce(e,...t){return Pd(this,"reduce",e,t)},reduceRight(e,...t){return Pd(this,"reduceRight",e,t)},shift(){return eo(this,"shift")},some(e,t){return wn(this,"some",e,t,void 0,arguments)},splice(...e){return eo(this,"splice",e)},toReversed(){return ts(this).toReversed()},toSorted(e){return ts(this).toSorted(e)},toSpliced(...e){return ts(this).toSpliced(...e)},unshift(...e){return eo(this,"unshift",e)},values(){return Mc(this,"values",e=>Qn(this,e))}};function Mc(e,t,n){const r=Ha(e),s=r[t]();return r!==e&&!Gt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const J0=Array.prototype;function wn(e,t,n,r,s,o){const i=Ha(e),a=i!==e&&!Gt(e),u=i[t];if(u!==J0[t]){const l=u.apply(e,o);return a?rn(l):l}let f=n;i!==e&&(a?f=function(l,p){return n.call(this,Qn(e,l),p,e)}:n.length>2&&(f=function(l,p){return n.call(this,l,p,e)}));const c=u.call(i,f,r);return a&&s?s(c):c}function Pd(e,t,n,r){const s=Ha(e);let o=n;return s!==e&&(Gt(e)?n.length>3&&(o=function(i,a,u){return n.call(this,i,a,u,e)}):o=function(i,a,u){return n.call(this,i,Qn(e,a),u,e)}),s[t](o,...r)}function Fc(e,t,n){const r=ye(e);bt(r,"iterate",Po);const s=r[t](...n);return(s===-1||s===!1)&&qa(n[0])?(n[0]=ye(n[0]),r[t](...n)):s}function eo(e,t,n=[]){Ln(),ep();const r=ye(e)[t].apply(e,n);return tp(),Mn(),r}const X0=Yf("__proto__,__v_isRef,__isVue"),u_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Hn));function Q0(e){Hn(e)||(e=String(e));const t=ye(this);return bt(t,"has",e),t.hasOwnProperty(e)}class l_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?cw:h_:o?d_:p_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=se(t);if(!s){let u;if(i&&(u=Y0[n]))return u;if(n==="hasOwnProperty")return Q0}const a=Reflect.get(t,n,ze(t)?t:r);if((Hn(n)?u_.has(n):X0(n))||(s||bt(t,"get",n),o))return a;if(ze(a)){const u=i&&La(n)?a:a.value;return s&&$e(u)?Pn(u):u}return $e(a)?s?Pn(a):qn(a):a}}class f_ extends l_{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=se(t)&&La(n);if(!this._isShallow){const f=_n(o);if(!Gt(r)&&!_n(r)&&(o=ye(o),r=ye(r)),!i&&ze(o)&&!ze(r))return f||(o.value=r),!0}const a=i?Number(n)<t.length:Ie(t,n),u=Reflect.set(t,n,r,ze(t)?t:s);return t===ye(s)&&(a?ir(r,o)&&kn(t,"set",n,r):kn(t,"add",n,r)),u}deleteProperty(t,n){const r=Ie(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&kn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Hn(n)||!u_.has(n))&&bt(t,"has",n),r}ownKeys(t){return bt(t,"iterate",se(t)?"length":Lr),Reflect.ownKeys(t)}}class Z0 extends l_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ew=new f_,tw=new Z0,nw=new f_(!0);const ef=e=>e,ci=e=>Reflect.getPrototypeOf(e);function rw(e,t,n){return function(...r){const s=this.__v_raw,o=ye(s),i=fs(o),a=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,f=s[e](...r),c=n?ef:t?vs:rn;return!t&&bt(o,"iterate",u?Zl:Lr),rt(Object.create(f),{next(){const{value:l,done:p}=f.next();return p?{value:l,done:p}:{value:a?[c(l[0]),c(l[1])]:c(l),done:p}}})}}function ui(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sw(e,t){const n={get(s){const o=this.__v_raw,i=ye(o),a=ye(s);e||(ir(s,a)&&bt(i,"get",s),bt(i,"get",a));const{has:u}=ci(i),f=t?ef:e?vs:rn;if(u.call(i,s))return f(o.get(s));if(u.call(i,a))return f(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&bt(ye(s),"iterate",Lr),s.size},has(s){const o=this.__v_raw,i=ye(o),a=ye(s);return e||(ir(s,a)&&bt(i,"has",s),bt(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,u=ye(a),f=t?ef:e?vs:rn;return!e&&bt(u,"iterate",Lr),a.forEach((c,l)=>s.call(o,f(c),f(l),i))}};return rt(n,e?{add:ui("add"),set:ui("set"),delete:ui("delete"),clear:ui("clear")}:{add(s){!t&&!Gt(s)&&!_n(s)&&(s=ye(s));const o=ye(this);return ci(o).has.call(o,s)||(o.add(s),kn(o,"add",s,s)),this},set(s,o){!t&&!Gt(o)&&!_n(o)&&(o=ye(o));const i=ye(this),{has:a,get:u}=ci(i);let f=a.call(i,s);f||(s=ye(s),f=a.call(i,s));const c=u.call(i,s);return i.set(s,o),f?ir(o,c)&&kn(i,"set",s,o):kn(i,"add",s,o),this},delete(s){const o=ye(this),{has:i,get:a}=ci(o);let u=i.call(o,s);u||(s=ye(s),u=i.call(o,s)),a&&a.call(o,s);const f=o.delete(s);return u&&kn(o,"delete",s,void 0),f},clear(){const s=ye(this),o=s.size!==0,i=s.clear();return o&&kn(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=rw(s,e,t)}),n}function sp(e,t){const n=sw(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ie(n,s)&&s in r?n:r,s,o)}const ow={get:sp(!1,!1)},iw={get:sp(!1,!0)},aw={get:sp(!0,!1)};const p_=new WeakMap,d_=new WeakMap,h_=new WeakMap,cw=new WeakMap;function uw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lw(e){return e.__v_skip||!Object.isExtensible(e)?0:uw(F0(e))}function qn(e){return _n(e)?e:op(e,!1,ew,ow,p_)}function rr(e){return op(e,!1,nw,iw,d_)}function Pn(e){return op(e,!0,tw,aw,h_)}function op(e,t,n,r,s){if(!$e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=lw(e);if(o===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function hn(e){return _n(e)?hn(e.__v_raw):!!(e&&e.__v_isReactive)}function _n(e){return!!(e&&e.__v_isReadonly)}function Gt(e){return!!(e&&e.__v_isShallow)}function qa(e){return e?!!e.__v_raw:!1}function ye(e){const t=e&&e.__v_raw;return t?ye(t):e}function ja(e){return!Ie(e,"__v_skip")&&Object.isExtensible(e)&&zy(e,"__v_skip",!0),e}const rn=e=>$e(e)?qn(e):e,vs=e=>$e(e)?Pn(e):e;function ze(e){return e?e.__v_isRef===!0:!1}function be(e){return m_(e,!1)}function mn(e){return m_(e,!0)}function m_(e,t){return ze(e)?e:new fw(e,t)}class fw{constructor(t,n){this.dep=new rp,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ye(t),this._value=n?t:rn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Gt(t)||_n(t);t=r?t:ye(t),ir(t,n)&&(this._rawValue=t,this._value=r?t:rn(t),this.dep.trigger())}}function De(e){return ze(e)?e.value:e}function g_(e){return ae(e)?e():De(e)}const pw={get:(e,t,n)=>t==="__v_raw"?e:De(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ze(s)&&!ze(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function y_(e){return hn(e)?e:new Proxy(e,pw)}function dw(e){const t=se(e)?new Array(e.length):{};for(const n in e)t[n]=v_(e,n);return t}class hw{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ye(t);let s=!0,o=t;if(!se(t)||!La(String(n)))do s=!qa(o)||Gt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=De(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ze(this._raw[this._key])){const n=this._object[this._key];if(ze(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return z0(this._raw,this._key)}}class mw{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function __(e,t,n){return ze(e)?e:ae(e)?new mw(e):$e(e)&&arguments.length>1?v_(e,t,n):be(e)}function v_(e,t,n){return new hw(e,t,n)}class gw{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new rp(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Io-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Be!==this)return r_(this,!0),!0}get value(){const t=this.dep.track();return i_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yw(e,t,n=!1){let r,s;return ae(e)?r=e:(r=e.get,s=e.set),new gw(r,s,n)}const li={},Zi=new WeakMap;let kr;function _w(e,t=!1,n=kr){if(n){let r=Zi.get(n);r||Zi.set(n,r=[]),r.push(e)}}function vw(e,t,n=Le){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:u}=n,f=g=>s?g:Gt(g)||s===!1||s===0?In(g,1):In(g);let c,l,p,d,h=!1,m=!1;if(ze(e)?(l=()=>e.value,h=Gt(e)):hn(e)?(l=()=>f(e),h=!0):se(e)?(m=!0,h=e.some(g=>hn(g)||Gt(g)),l=()=>e.map(g=>{if(ze(g))return g.value;if(hn(g))return f(g);if(ae(g))return u?u(g,2):g()})):ae(e)?t?l=u?()=>u(e,2):e:l=()=>{if(p){Ln();try{p()}finally{Mn()}}const g=kr;kr=c;try{return u?u(e,3,[d]):e(d)}finally{kr=g}}:l=dn,t&&s){const g=l,v=s===!0?1/0:s;l=()=>In(g(),v)}const b=Ua(),w=()=>{c.stop(),b&&b.active&&Xf(b.effects,c)};if(o&&t){const g=t;t=(...v)=>{g(...v),w()}}let _=m?new Array(e.length).fill(li):li;const y=g=>{if(!(!(c.flags&1)||!c.dirty&&!g))if(t){const v=c.run();if(s||h||(m?v.some((E,S)=>ir(E,_[S])):ir(v,_))){p&&p();const E=kr;kr=c;try{const S=[v,_===li?void 0:m&&_[0]===li?[]:_,d];_=v,u?u(t,3,S):t(...S)}finally{kr=E}}}else c.run()};
vendor: 41,102 bytes, lines 2-4
2return a&&a(y),c=new t_(l),c.scheduler=i?()=>i(y,!1):y,d=g=>_w(g,!1,c),p=c.onStop=()=>{const g=Zi.get(c);if(g){if(u)u(g,4);else for(const v of g)v();Zi.delete(c)}},t?r?y(!0):_=c.run():i?i(y.bind(null,!0),!0):c.run(),w.pause=c.pause.bind(c),w.resume=c.resume.bind(c),w.stop=w,w}function In(e,t=1/0,n){if(t<=0||!$e(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ze(e))In(e.value,t,n);else if(se(e))for(let r=0;r<e.length;r++)In(e[r],t,n);else if(Wy(e)||fs(e))e.forEach(r=>{In(r,t,n)});else if(Ky(e)){for(const r in e)In(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&In(e[r],t,n)}return e}function Vo(e,t,n,r){try{return r?e(...r):e()}catch(s){Ns(s,t,n)}}function sn(e,t,n,r){if(ae(e)){const s=Vo(e,t,n,r);return s&&Qf(s)&&s.catch(o=>{Ns(o,t,n)}),s}if(se(e)){const s=[];for(let o=0;o<e.length;o++)s.push(sn(e[o],t,n,r));return s}}function Ns(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Le;if(t){let a=t.parent;const u=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let l=0;l<c.length;l++)if(c[l](e,u,f)===!1)return}a=a.parent}if(o){Ln(),Vo(o,null,10,[e,u,f]),Mn();return}}bw(e,n,s,r,i)}function bw(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Rt=[];let fn=-1;const ds=[];let Zn=null,ss=0;const b_=Promise.resolve();let ea=null;function Ds(e){const t=ea||b_;return e?t.then(this?e.bind(this):e):t}function Sw(e){let t=fn+1,n=Rt.length;for(;t<n;){const r=t+n>>>1,s=Rt[r],o=xo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function ip(e){if(!(e.flags&1)){const t=xo(e),n=Rt[Rt.length-1];!n||!(e.flags&2)&&t>=xo(n)?Rt.push(e):Rt.splice(Sw(t),0,e),e.flags|=1,S_()}}function S_(){ea||(ea=b_.then(w_))}function Oo(e){se(e)?ds.push(...e):Zn&&e.id===-1?Zn.splice(ss+1,0,e):e.flags&1||(ds.push(e),e.flags|=1),S_()}function Od(e,t,n=fn+1){for(;n<Rt.length;n++){const r=Rt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Rt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ta(e){if(ds.length){const t=[...new Set(ds)].sort((n,r)=>xo(n)-xo(r));if(ds.length=0,Zn){Zn.push(...t);return}for(Zn=t,ss=0;ss<Zn.length;ss++){const n=Zn[ss];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Zn=null,ss=0}}const xo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function w_(e){try{for(fn=0;fn<Rt.length;fn++){const t=Rt[fn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Vo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;fn<Rt.length;fn++){const t=Rt[fn];t&&(t.flags&=-2)}fn=-1,Rt.length=0,ta(),ea=null,(Rt.length||ds.length)&&w_()}}let gt=null,E_=null;function na(e){const t=gt;return gt=e,E_=e&&e.type.__scopeId||null,t}function vt(e,t=gt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&aa(-1);const o=na(t);let i;try{i=e(...s)}finally{na(o),r._d&&aa(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function xd(e,t){if(gt===null)return e;const n=Ya(gt),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,u=Le]=t[s];o&&(ae(o)&&(o={mounted:o,updated:o}),o.deep&&In(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:u}))}return e}function pn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let u=a.dir[r];u&&(Ln(),sn(u,n,8,[e.el,a,e,t]),Mn())}}function Mr(e,t){if(mt){let n=mt.provides;const r=mt.parent&&mt.parent.provides;r===n&&(n=mt.provides=Object.create(r)),n[e]=t}}function kt(e,t,n=!1){const r=Kt();if(r||$r){let s=$r?$r._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Wo(){return!!(Kt()||$r)}const ww=Symbol.for("v-scx"),Ew=()=>kt(ww);function Tw(e,t){return ap(e,null,t)}function nn(e,t,n){return ap(e,t,n)}function ap(e,t,n=Le){const{immediate:r,deep:s,flush:o,once:i}=n,a=rt({},n),u=t&&r||!t&&o!=="post";let f;if(Ss){if(o==="sync"){const d=Ew();f=d.__watcherHandles||(d.__watcherHandles=[])}else if(!u){const d=()=>{};return d.stop=dn,d.resume=dn,d.pause=dn,d}}const c=mt;a.call=(d,h,m)=>sn(d,c,h,m);let l=!1;o==="post"?a.scheduler=d=>{Ze(d,c&&c.suspense)}:o!=="sync"&&(l=!0,a.scheduler=(d,h)=>{h?d():ip(d)}),a.augmentJob=d=>{t&&(d.flags|=4),l&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const p=vw(e,t,a);return Ss&&(f?f.push(p):u&&p()),p}function Cw(e,t,n){const r=this.proxy,s=We(e)?e.includes(".")?T_(r,e):()=>r[e]:e.bind(r,r);let o;ae(t)?o=t:(o=t.handler,n=t);const i=jr(this),a=ap(s,o.bind(r),n);return i(),a}function T_(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const C_=Symbol("_vte"),A_=e=>e.__isTeleport,_o=e=>e&&(e.disabled||e.disabled===""),Nd=e=>e&&(e.defer||e.defer===""),Dd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ld=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,tf=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},R_={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,u,f){const{mc:c,pc:l,pbc:p,o:{insert:d,querySelector:h,createText:m,createComment:b}}=f,w=_o(t.props);let{shapeFlag:_,children:y,dynamicChildren:g}=t;if(e==null){const v=t.el=m(""),E=t.anchor=m("");d(v,n,r),d(E,n,r);const S=(C,k)=>{_&16&&c(y,C,k,s,o,i,a,u)},A=()=>{const C=t.target=tf(t.props,h),k=k_(C,t,m,d);C&&(i!=="svg"&&Dd(C)?i="svg":i!=="mathml"&&Ld(C)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(C),w||(S(C,k),qi(t,!1)))};w&&(S(n,E),qi(t,!0)),Nd(t.props)?(t.el.__isMounted=!1,Ze(()=>{A(),delete t.el.__isMounted},o)):A()}else{if(Nd(t.props)&&e.el.__isMounted===!1){Ze(()=>{R_.process(e,t,n,r,s,o,i,a,u,f)},o);return}t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,E=t.target=e.target,S=t.targetAnchor=e.targetAnchor,A=_o(e.props),C=A?n:E,k=A?v:S;if(i==="svg"||Dd(E)?i="svg":(i==="mathml"||Ld(E))&&(i="mathml"),g?(p(e.dynamicChildren,g,C,s,o,i,a),gp(e,t,!0)):u||l(e,t,C,k,s,o,i,a,!1),w)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fi(t,n,v,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const x=t.target=tf(t.props,h);x&&fi(t,x,null,f,0)}else A&&fi(t,E,S,f,1);qi(t,w)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:u,targetStart:f,targetAnchor:c,target:l,props:p}=e;if(l&&(s(f),s(c)),o&&s(u),i&16){const d=o||!_o(p);for(let h=0;h<a.length;h++){const m=a[h];r(m,t,n,d,!!m.dynamicChildren)}}},move:fi,hydrate:Aw};function fi(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:u,children:f,props:c}=e,l=o===2;if(l&&r(i,t,n),(!l||_o(c))&&u&16)for(let p=0;p<f.length;p++)s(f[p],t,n,2);l&&r(a,t,n)}function Aw(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:u,insert:f,createText:c}},l){function p(m,b,w,_){b.anchor=l(i(m),b,a(m),n,r,s,o),b.targetStart=w,b.targetAnchor=_}const d=t.target=tf(t.props,u),h=_o(t.props);if(d){const m=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)p(e,t,m,m&&i(m));else{t.anchor=i(e);let b=m;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}b=i(b)}t.targetAnchor||k_(d,t,c,f),l(m&&i(m),t,d,n,r,s,o)}qi(t,h)}else h&&t.shapeFlag&16&&p(e,t,e,i(e));return t.anchor&&i(t.anchor)}const cB=R_;function qi(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function k_(e,t,n,r){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[C_]=o,e&&(r(s,e),r(o,e)),o}const Rn=Symbol("_leaveCb"),pi=Symbol("_enterCb");function I_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ko(()=>{e.isMounted=!0}),Wa(()=>{e.isUnmounting=!0}),e}const Jt=[Function,Array],P_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jt,onEnter:Jt,onAfterEnter:Jt,onEnterCancelled:Jt,onBeforeLeave:Jt,onLeave:Jt,onAfterLeave:Jt,onLeaveCancelled:Jt,onBeforeAppear:Jt,onAppear:Jt,onAfterAppear:Jt,onAppearCancelled:Jt},O_=e=>{const t=e.subTree;return t.component?O_(t.component):t},Rw={name:"BaseTransition",props:P_,setup(e,{slots:t}){const n=Kt(),r=I_();return()=>{const s=t.default&&cp(t.default(),!0);if(!s||!s.length)return;const o=x_(s),i=ye(e),{mode:a}=i;if(r.isLeaving)return $c(o);const u=Md(o);if(!u)return $c(o);let f=No(u,i,r,n,l=>f=l);u.type!==tt&&lr(u,f);let c=n.subTree&&Md(n.subTree);if(c&&c.type!==tt&&!en(c,u)&&O_(n).type!==tt){let l=No(c,i,r,n);if(lr(c,l),a==="out-in"&&u.type!==tt)return r.isLeaving=!0,l.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete l.afterLeave,c=void 0},$c(o);a==="in-out"&&u.type!==tt?l.delayLeave=(p,d,h)=>{const m=N_(r,c);m[String(c.key)]=c,p[Rn]=()=>{d(),p[Rn]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{h(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function x_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==tt){t=n;break}}return t}const kw=Rw;function N_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function No(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:u,onEnter:f,onAfterEnter:c,onEnterCancelled:l,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:b,onAppear:w,onAfterAppear:_,onAppearCancelled:y}=t,g=String(e.key),v=N_(n,e),E=(C,k)=>{C&&sn(C,r,9,k)},S=(C,k)=>{const x=k[1];E(C,k),se(C)?C.every(I=>I.length<=1)&&x():C.length<=1&&x()},A={mode:i,persisted:a,beforeEnter(C){let k=u;if(!n.isMounted)if(o)k=b||u;else return;C[Rn]&&C[Rn](!0);const x=v[g];x&&en(e,x)&&x.el[Rn]&&x.el[Rn](),E(k,[C])},enter(C){let k=f,x=c,I=l;if(!n.isMounted)if(o)k=w||f,x=_||c,I=y||l;else return;let P=!1;const V=C[pi]=j=>{P||(P=!0,j?E(I,[C]):E(x,[C]),A.delayedLeave&&A.delayedLeave(),C[pi]=void 0)};k?S(k,[C,V]):V()},leave(C,k){const x=String(e.key);if(C[pi]&&C[pi](!0),n.isUnmounting)return k();E(p,[C]);let I=!1;const P=C[Rn]=V=>{I||(I=!0,k(),V?E(m,[C]):E(h,[C]),C[Rn]=void 0,v[x]===e&&delete v[x])};v[x]=e,d?S(d,[C,P]):P()},clone(C){const k=No(C,t,n,r,s);return s&&s(k),k}};return A}function $c(e){if(Go(e))return e=vn(e),e.children=null,e}function Md(e){if(!Go(e))return A_(e.type)&&e.children?x_(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function lr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,lr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function cp(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===dt?(i.patchFlag&128&&s++,r=r.concat(cp(i.children,t,a))):(t||i.type!==tt)&&r.push(a!=null?vn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function cn(e,t){return ae(e)?rt({name:e.name},t,{setup:e}):e}function up(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function uB(e){const t=Kt(),n=mn(null);if(t){const s=t.refs===Le?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}const ra=new WeakMap;function hs(e,t,n,r,s=!1){if(se(e)){e.forEach((h,m)=>hs(h,t&&(se(t)?t[m]:t),n,r,s));return}if(xn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&hs(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Ya(r.component):r.el,i=s?null:o,{i:a,r:u}=e,f=t&&t.r,c=a.refs===Le?a.refs={}:a.refs,l=a.setupState,p=ye(l),d=l===Le?Vy:h=>Ie(p,h);if(f!=null&&f!==u){if(Fd(t),We(f))c[f]=null,d(f)&&(l[f]=null);else if(ze(f)){f.value=null;const h=t;h.k&&(c[h.k]=null)}}if(ae(u))Vo(u,a,12,[i,c]);else{const h=We(u),m=ze(u);if(h||m){const b=()=>{if(e.f){const w=h?d(u)?l[u]:c[u]:u.value;if(s)se(w)&&Xf(w,o);else if(se(w))w.includes(o)||w.push(o);else if(h)c[u]=[o],d(u)&&(l[u]=c[u]);else{const _=[o];u.value=_,e.k&&(c[e.k]=_)}}else h?(c[u]=i,d(u)&&(l[u]=i)):m&&(u.value=i,e.k&&(c[e.k]=i))};if(i){const w=()=>{b(),ra.delete(e)};w.id=-1,ra.set(e,w),Ze(w,n)}else Fd(e),b()}}}function Fd(e){const t=ra.get(e);t&&(t.flags|=8,ra.delete(e))}let $d=!1;const ns=()=>{$d||(console.error("Hydration completed but contains mismatches."),$d=!0)},Iw=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Pw=e=>e.namespaceURI.includes("MathML"),di=e=>{if(e.nodeType===1){if(Iw(e))return"svg";if(Pw(e))return"mathml"}},cs=e=>e.nodeType===8;function Ow(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:u,createComment:f}}=e,c=(y,g)=>{if(!g.hasChildNodes()){n(null,y,g),ta(),g._vnode=y;return}l(g.firstChild,y,null,null,null),ta(),g._vnode=y},l=(y,g,v,E,S,A=!1)=>{A=A||!!g.dynamicChildren;const C=cs(y)&&y.data==="[",k=()=>m(y,g,v,E,S,C),{type:x,ref:I,shapeFlag:P,patchFlag:V}=g;let j=y.nodeType;g.el=y,V===-2&&(A=!1,g.dynamicChildren=null);let M=null;switch(x){case Br:j!==3?g.children===""?(u(g.el=s(""),i(y),y),M=y):M=k():(y.data!==g.children&&(ns(),y.data=g.children),M=o(y));break;case tt:_(y)?(M=o(y),w(g.el=y.content.firstChild,y,v)):j!==8||C?M=k():M=o(y);break;case ji:if(C&&(y=o(y),j=y.nodeType),j===1||j===3){M=y;const $=!g.children.length;for(let N=0;N<g.staticCount;N++)$&&(g.children+=M.nodeType===1?M.outerHTML:M.data),N===g.staticCount-1&&(g.anchor=M),M=o(M);return C?o(M):M}else k();break;case dt:C?M=h(y,g,v,E,S,A):M=k();break;default:if(P&1)(j!==1||g.type.toLowerCase()!==y.tagName.toLowerCase())&&!_(y)?M=k():M=p(y,g,v,E,S,A);else if(P&6){g.slotScopeIds=S;const $=i(y);if(C?M=b(y):cs(y)&&y.data==="teleport start"?M=b(y,y.data,"teleport end"):M=o(y),t(g,$,null,v,E,di($),A),xn(g)&&!g.type.__asyncResolved){let N;C?(N=Se(dt),N.anchor=M?M.previousSibling:$.lastChild):N=y.nodeType===3?Or(""):Se("div"),N.el=y,g.component.subTree=N}}else P&64?j!==8?M=k():M=g.type.hydrate(y,g,v,E,S,A,e,d):P&128&&(M=g.type.hydrate(y,g,v,E,di(i(y)),S,A,e,l))}return I!=null&&hs(I,null,E,g),M},p=(y,g,v,E,S,A)=>{A=A||!!g.dynamicChildren;const{type:C,props:k,patchFlag:x,shapeFlag:I,dirs:P,transition:V}=g,j=C==="input"||C==="option";if(j||x!==-1){P&&pn(g,null,v,"created");let M=!1;if(_(y)){M=ev(null,V)&&v&&v.vnode.props&&v.vnode.props.appear;const N=y.content.firstChild;if(M){const Z=N.getAttribute("class");Z&&(N.$cls=Z),V.beforeEnter(N)}w(N,y,v),g.el=y=N}if(I&16&&!(k&&(k.innerHTML||k.textContent))){let N=d(y.firstChild,g,y,v,E,S,A);for(;N;){hi(y,1)||ns();const Z=N;N=N.nextSibling,a(Z)}}else if(I&8){let N=g.children;N[0]===` 3`&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(N=N.slice(1));const{textContent:Z}=y;Z!==N&&Z!==N.replace(/\r\n|\r/g,` 4`)&&(hi(y,0)||ns(),y.textContent=g.children)}if(k){if(j||!A||x&48){const N=y.tagName.includes("-");for(const Z in k)(j&&(Z.endsWith("value")||Z==="indeterminate")||Ho(Z)&&!Dr(Z)||Z[0]==="."||N&&!Dr(Z))&&r(y,Z,null,k[Z],void 0,v)}else if(k.onClick)r(y,"onClick",null,k.onClick,void 0,v);else if(x&4&&hn(k.style))for(const N in k.style)k.style[N]}let $;($=k&&k.onVnodeBeforeMount)&&Nt($,v,g),P&&pn(g,null,v,"beforeMount"),(($=k&&k.onVnodeMounted)||P||M)&&sv(()=>{$&&Nt($,v,g),M&&V.enter(y),P&&pn(g,null,v,"mounted")},E)}return y.nextSibling},d=(y,g,v,E,S,A,C)=>{C=C||!!g.dynamicChildren;const k=g.children,x=k.length;for(let I=0;I<x;I++){const P=C?k[I]:k[I]=jt(k[I]),V=P.type===Br;y?(V&&!C&&I+1<x&&jt(k[I+1]).type===Br&&(u(s(y.data.slice(P.children.length)),v,o(y)),y.data=P.children),y=l(y,P,E,S,A,C)):V&&!P.children?u(P.el=s(""),v):(hi(v,1)||ns(),n(null,P,v,null,E,S,di(v),A))}return y},h=(y,g,v,E,S,A)=>{const{slotScopeIds:C}=g;C&&(S=S?S.concat(C):C);const k=i(y),x=d(o(y),g,k,v,E,S,A);return x&&cs(x)&&x.data==="]"?o(g.anchor=x):(ns(),u(g.anchor=f("]"),k,x),x)},m=(y,g,v,E,S,A)=>{if(hi(y.parentElement,1)||ns(),g.el=null,A){const x=b(y);for(;;){const I=o(y);if(I&&I!==x)a(I);else break}}const C=o(y),k=i(y);return a(y),n(null,g,k,C,v,E,di(k),S),v&&(v.vnode.el=g.el,za(v,g.el)),C},b=(y,g="[",v="]")=>{let E=0;for(;y;)if(y=o(y),y&&cs(y)&&(y.data===g&&E++,y.data===v)){if(E===0)return o(y);E--}return y},w=(y,g,v)=>{const E=g.parentNode;E&&E.replaceChild(y,g);let S=v;for(;S;)S.vnode.el===g&&(S.vnode.el=S.subTree.el=y),S=S.parent},_=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[c,l]}const Bd="data-allow-mismatch",xw={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function hi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Bd);)e=e.parentElement;const n=e&&e.getAttribute(Bd);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(xw[t])}}const Nw=$a().requestIdleCallback||(e=>setTimeout(e,1)),Dw=$a().cancelIdleCallback||(e=>clearTimeout(e)),lB=(e=1e4)=>t=>{const n=Nw(t,{timeout:e});return()=>Dw(n)};function Lw(e,t){if(cs(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(cs(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const xn=e=>!!e.type.__asyncLoader;function sr(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:u}=e;let f=null,c,l=0;const p=()=>(l++,f=null,d()),d=()=>{let h;return f||(h=f=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),u)return new Promise((b,w)=>{u(m,()=>b(p()),()=>w(m),l+1)});throw m}).then(m=>h!==f&&f?f:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return cn({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(h,m,b){let w=!1;(m.bu||(m.bu=[])).push(()=>w=!0);const _=()=>{w||b()},y=o?()=>{const g=o(_,v=>Lw(h,v));g&&(m.bum||(m.bum=[])).push(g)}:_;c?y():d().then(()=>!m.isUnmounted&&y())},get __asyncResolved(){return c},setup(){const h=mt;if(up(h),c)return()=>mi(c,h);const m=y=>{f=null,Ns(y,h,13,!r)};if(a&&h.suspense||Ss)return d().then(y=>()=>mi(y,h)).catch(y=>(m(y),()=>r?Se(r,{error:y}):null));const b=be(!1),w=be(),_=be(!!s);return s&&setTimeout(()=>{_.value=!1},s),i!=null&&setTimeout(()=>{if(!b.value&&!w.value){const y=new Error(`Async component timed out after ${i}ms.`);m(y),w.value=y}},i),d().then(()=>{b.value=!0,h.parent&&Go(h.parent.vnode)&&h.parent.update()}).catch(y=>{m(y),w.value=y}),()=>{if(b.value&&c)return mi(c,h);if(w.value&&r)return Se(r,{error:w.value});if(n&&!_.value)return mi(n,h)}}})}function mi(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=Se(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Go=e=>e.type.__isKeepAlive,Mw={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Kt(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:u,m:f,um:c,o:{createElement:l}}}=r,p=l("div");r.activate=(_,y,g,v,E)=>{const S=_.component;f(_,y,g,0,a),u(S.vnode,_,y,g,S,a,v,_.slotScopeIds,E),Ze(()=>{S.isDeactivated=!1,S.a&&ps(S.a);const A=_.props&&_.props.onVnodeMounted;A&&Nt(A,S.parent,_)},a)},r.deactivate=_=>{const y=_.component;oa(y.m),oa(y.a),f(_,p,null,1,a),Ze(()=>{y.da&&ps(y.da);const g=_.props&&_.props.onVnodeUnmounted;g&&Nt(g,y.parent,_),y.isDeactivated=!0},a)};function d(_){Bc(_),c(_,n,a,!0)}function h(_){s.forEach((y,g)=>{const v=ff(xn(y)?y.type.__asyncResolved||{}:y.type);v&&!_(v)&&m(g)})}function m(_){const y=s.get(_);y&&(!i||!en(y,i))?d(y):i&&Bc(i),s.delete(_),o.delete(_)}nn(()=>[e.include,e.exclude],([_,y])=>{_&&h(g=>fo(_,g)),y&&h(g=>!fo(y,g))},{flush:"post",deep:!0});let b=null;const w=()=>{b!=null&&(ia(n.subTree.type)?Ze(()=>{s.set(b,gi(n.subTree))},n.subTree.suspense):s.set(b,gi(n.subTree)))};return Ko(w),lp(w),Wa(()=>{s.forEach(_=>{const{subTree:y,suspense:g}=n,v=gi(y);if(_.type===v.type&&_.key===v.key){Bc(v);const E=v.component.da;E&&Ze(E,g);return}d(_)})}),()=>{if(b=null,!t.default)return i=null;const _=t.default(),y=_[0];if(_.length>1)return i=null,_;if(!qr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let g=gi(y);if(g.type===tt)return i=null,g;const v=g.type,E=ff(xn(g)?g.type.__asyncResolved||{}:v),{include:S,exclude:A,max:C}=e;if(S&&(!E||!fo(S,E))||A&&E&&fo(A,E))return g.shapeFlag&=-257,i=g,y;const k=g.key==null?v:g.key,x=s.get(k);return g.el&&(g=vn(g),y.shapeFlag&128&&(y.ssContent=g)),b=k,x?(g.el=x.el,g.component=x.component,g.transition&&lr(g,g.transition),g.shapeFlag|=512,o.delete(k),o.add(k)):(o.add(k),C&&o.size>parseInt(C,10)&&m(o.values().next().value)),g.shapeFlag|=256,i=g,ia(y.type)?y:g}}},Fw=Mw;function fo(e,t){return se(e)?e.some(n=>fo(n,t)):We(e)?e.split(",").includes(t):M0(e)?(e.lastIndex=0,e.test(t)):!1}function D_(e,t){M_(e,"a",t)}function L_(e,t){M_(e,"da",t)}function M_(e,t,n=mt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Va(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Go(s.parent.vnode)&&$w(r,t,n,s),s=s.parent}}function $w(e,t,n,r){const s=Va(t,e,r,!0);fp(()=>{Xf(r[t],s)},n)}function Bc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function gi(e){return e.shapeFlag&128?e.ssContent:e}function Va(e,t,n=mt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Ln();const a=jr(n),u=sn(t,n,e,i);return a(),Mn(),u});return r?s.unshift(o):s.push(o),o}}const jn=e=>(t,n=mt)=>{(!Ss||e==="sp")&&Va(e,(...r)=>t(...r),n)},F_=jn("bm"),Ko=jn("m"),Bw=jn("bu"),lp=jn("u"),Wa=jn("bum"),fp=jn("um"),Uw=jn("sp"),Hw=jn("rtg"),qw=jn("rtc");function $_(e,t=mt){Va("ec",e,t)}const pp="components",jw="directives";function Fr(e,t){return dp(pp,e,!0,t)||e}const B_=Symbol.for("v-ndc");function Ga(e){return We(e)?dp(pp,e,!1)||e:e||B_}function fB(e){return dp(jw,e)}function dp(e,t,n=!0,r=!1){const s=gt||mt;if(s){const o=s.type;if(e===pp){const a=ff(o,!1);if(a&&(a===t||a===Qt(t)||a===Fa(Qt(t))))return o}const i=Ud(s[e]||o[e],t)||Ud(s.appContext[e],t);return!i&&r?o:i}}function Ud(e,t){return e&&(e[t]||e[Qt(t)]||e[Fa(Qt(t))])}function pB(e,t,n,r){let s;const o=n,i=se(e);if(i||We(e)){const a=i&&hn(e);let u=!1,f=!1;a&&(u=!Gt(e),f=_n(e),e=Ha(e)),s=new Array(e.length);for(let c=0,l=e.length;c<l;c++)s[c]=t(u?f?vs(rn(e[c])):rn(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if($e(e))if(e[Symbol.iterator])s=Array.from(e,(a,u)=>t(a,u,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let u=0,f=a.length;u<f;u++){const c=a[u];s[u]=t(e[c],c,u,o)}}else s=[];return s}function dB(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(se(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function Nn(e,t,n={},r,s){if(gt.ce||gt.parent&&xn(gt.parent)&>.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),we(),ht(dt,null,[Se("slot",n,r&&r())],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),we();const i=o&&U_(o(n)),a=n.key||i&&i.key,u=ht(dt,{key:(a&&!Hn(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function U_(e){return e.some(t=>qr(t)?!(t.type===tt||t.type===dt&&!U_(t.children)):!0)?e:null}function hB(e,t){const n={};for(const r in e)n[Hi(r)]=e[r];return n}const nf=e=>e?cv(e)?Ya(e):nf(e.parent):null,vo=rt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>nf(e.parent),$root:e=>nf(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>q_(e),$forceUpdate:e=>e.f||(e.f=()=>{ip(e.update)}),$nextTick:e=>e.n||(e.n=Ds.bind(e.proxy)),$watch:e=>Cw.bind(e)}),Uc=(e,t)=>e!==Le&&!e.__isScriptSetup&&Ie(e,t),Vw={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:u}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Uc(r,t))return i[t]=1,r[t];if(s!==Le&&Ie(s,t))return i[t]=2,s[t];if(Ie(o,t))return i[t]=3,o[t];if(n!==Le&&Ie(n,t))return i[t]=4,n[t];rf&&(i[t]=0)}}const f=vo[t];let c,l;if(f)return t==="$attrs"&&bt(e.attrs,"get",""),f(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Le&&Ie(n,t))return i[t]=4,n[t];if(l=u.config.globalProperties,Ie(l,t))return l[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Uc(s,t)?(s[t]=n,!0):r!==Le&&Ie(r,t)?(r[t]=n,!0):Ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let u;return!!(n[a]||e!==Le&&a[0]!=="$"&&Ie(e,a)||Uc(t,a)||Ie(o,a)||Ie(r,a)||Ie(vo,a)||Ie(s.config.globalProperties,a)||(u=i.__cssModules)&&u[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Hd(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function mB(e){const t=Kt();let n=e();return uf(),Qf(n)&&(n=n.catch(r=>{throw jr(t),r})),[n,()=>jr(t)]}let rf=!0;function Ww(e){const t=q_(e),n=e.proxy,r=e.ctx;rf=!1,t.beforeCreate&&qd(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:u,inject:f,created:c,beforeMount:l,mounted:p,beforeUpdate:d,updated:h,activated:m,deactivated:b,beforeDestroy:w,beforeUnmount:_,destroyed:y,unmounted:g,render:v,renderTracked:E,renderTriggered:S,errorCaptured:A,serverPrefetch:C,expose:k,inheritAttrs:x,components:I,directives:P,filters:V}=t;if(f&&Gw(f,r,null),i)for(const $ in i){const N=i[$];ae(N)&&(r[$]=N.bind(n))}if(s){const $=s.call(n,n);$e($)&&(e.data=qn($))}if(rf=!0,o)for(const $ in o){const N=o[$],Z=ae(N)?N.bind(n,n):ae(N.get)?N.get.bind(n,n):dn,Oe=!ae(N)&&ae(N.set)?N.set.bind(n):dn,Re=je({get:Z,set:Oe});Object.defineProperty(r,$,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ee=>Re.value=ee})}if(a)for(const $ in a)H_(a[$],r,n,$);if(u){const $=ae(u)?u.call(n):u;Reflect.ownKeys($).forEach(N=>{Mr(N,$[N])})}c&&qd(c,e,"c");function M($,N){se(N)?N.forEach(Z=>$(Z.bind(n))):N&&$(N.bind(n))}if(M(F_,l),M(Ko,p),M(Bw,d),M(lp,h),M(D_,m),M(L_,b),M($_,A),M(qw,E),M(Hw,S),M(Wa,_),M(fp,g),M(Uw,C),se(k))if(k.length){const $=e.exposed||(e.exposed={});k.forEach(N=>{Object.defineProperty($,N,{get:()=>n[N],set:Z=>n[N]=Z,enumerable:!0})})}else e.exposed||(e.exposed={});v&&e.render===dn&&(e.render=v),x!=null&&(e.inheritAttrs=x),I&&(e.components=I),P&&(e.directives=P),C&&up(e)}function Gw(e,t,n=dn){se(e)&&(e=sf(e));for(const r in e){const s=e[r];let o;$e(s)?"default"in s?o=kt(s.from||r,s.default,!0):o=kt(s.from||r):o=kt(s),ze(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function qd(e,t,n){sn(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function H_(e,t,n,r){let s=r.includes(".")?T_(n,r):()=>n[r];if(We(e)){const o=t[e];ae(o)&&nn(s,o)}else if(ae(e))nn(s,e.bind(n));else if($e(e))if(se(e))e.forEach(o=>H_(o,t,n,r));else{const o=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(o)&&nn(s,o,e)}}function q_(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let u;return a?u=a:!s.length&&!n&&!r?u=t:(u={},s.length&&s.forEach(f=>sa(u,f,i,!0)),sa(u,t,i)),$e(t)&&o.set(t,u),u}function sa(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&sa(e,o,n,!0),s&&s.forEach(i=>sa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Kw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Kw={data:jd,props:Vd,emits:Vd,methods:po,computed:po,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:po,directives:po,watch:Yw,provide:jd,inject:zw};function jd(e,t){return t?e?function(){return rt(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function zw(e,t){return po(sf(e),sf(t))}function sf(e){if(se(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ct(e,t){return e?[...new Set([].concat(e,t))]:t}function po(e,t){return e?rt(Object.create(null),e,t):t}function Vd(e,t){return e?se(e)&&se(t)?[...new Set([...e,...t])]:rt(Object.create(null),Hd(e),Hd(t??{})):t}function Yw(e,t){if(!e)return t;if(!t)return e;const n=rt(Object.create(null),e);for(const r in t)n[r]=Ct(e[r],t[r]);return n}function j_(){return{app:null,config:{isNativeTag:Vy,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Jw=0;function Xw(e,t){return function(r,s=null){ae(r)||(r=rt({},r)),s!=null&&!$e(s)&&(s=null);const o=j_(),i=new WeakSet,a=[];let u=!1;const f=o.app={_uid:Jw++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:xE,get config(){return o.config},set config(c){},use(c,...l){return i.has(c)||(c&&ae(c.install)?(i.add(c),c.install(f,...l)):ae(c)&&(i.add(c),c(f,...l))),f},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),f},component(c,l){return l?(o.components[c]=l,f):o.components[c]},directive(c,l){return l?(o.directives[c]=l,f):o.directives[c]},mount(c,l,p){if(!u){const d=f._ceVNode||Se(r,s);return d.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),l&&t?t(d,c):e(d,c,p),u=!0,f._container=c,c.__vue_app__=f,Ya(d.component)}},onUnmount(c){a.push(c)},unmount(){u&&(sn(a,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(c,l){return o.provides[c]=l,f},runWithContext(c){const l=$r;$r=f;try{return c()}finally{$r=l}}};return f}}let $r=null;const Qw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qt(t)}Modifiers`]||e[`${yr(t)}Modifiers`];function Zw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let s=n;const o=t.startsWith("update:"),i=o&&Qw(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>We(c)?c.trim():c)),i.number&&(s=n.map(Zf)));let a,u=r[a=Hi(t)]||r[a=Hi(Qt(t))];!u&&o&&(u=r[a=Hi(yr(t))]),u&&sn(u,e,6,s);const f=r[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,sn(f,e,6,s)}}const eE=new WeakMap;function V_(e,t,n=!1){const r=n?eE:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ae(e)){const u=f=>{const c=V_(f,t,!0);c&&(a=!0,rt(i,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!a?($e(e)&&r.set(e,null),null):(se(o)?o.forEach(u=>i[u]=null):rt(i,o),$e(e)&&r.set(e,i),i)}function Ka(e,t){return!e||!Ho(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ie(e,t[0].toLowerCase()+t.slice(1))||Ie(e,yr(t))||Ie(e,t))}function Hc(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:u,render:f,renderCache:c,props:l,data:p,setupState:d,ctx:h,inheritAttrs:m}=e,b=na(e);let w,_;try{if(n.shapeFlag&4){const g=s||r,v=g;w=jt(f.call(v,g,c,l,d,p,h)),_=a}else{const g=t;w=jt(g.length>1?g(l,{attrs:a,slots:i,emit:u}):g(l,null)),_=t.props?a:nE(a)}}catch(g){bo.length=0,Ns(g,e,1),w=Se(tt)}let y=w;if(_&&m!==!1){const g=Object.keys(_),{shapeFlag:v}=y;g.length&&v&7&&(o&&g.some(Jf)&&(_=rE(_,o)),y=vn(y,_,!1,!0))}return n.dirs&&(y=vn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&lr(y,n.transition),w=y,na(b),w}function tE(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(qr(s)){if(s.type!==tt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const nE=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ho(n))&&((t||(t={}))[n]=e[n]);return t},rE=(e,t)=>{const n={};for(const r in e)(!Jf(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sE(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:u}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?Wd(r,i,f):!!i;if(u&8){const c=t.dynamicProps;for(let l=0;l<c.length;l++){const p=c[l];if(i[p]!==r[p]&&!Ka(f,p))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Wd(r,i,f):!0:!!i;return!1}function Wd(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Ka(n,o))return!0}return!1}function za({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const W_={},G_=()=>Object.create(W_),K_=e=>Object.getPrototypeOf(e)===W_;function oE(e,t,n,r=!1){const s={},o=G_();e.propsDefaults=Object.create(null),z_(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:rr(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function iE(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ye(s),[u]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let l=0;l<c.length;l++){let p=c[l];if(Ka(e.emitsOptions,p))continue;const d=t[p];if(u)if(Ie(o,p))d!==o[p]&&(o[p]=d,f=!0);else{const h=Qt(p);s[h]=of(u,a,h,d,e,!1)}else d!==o[p]&&(o[p]=d,f=!0)}}}else{z_(e,t,s,o)&&(f=!0);let c;for(const l in a)(!t||!Ie(t,l)&&((c=yr(l))===l||!Ie(t,c)))&&(u?n&&(n[l]!==void 0||n[c]!==void 0)&&(s[l]=of(u,a,l,void 0,e,!0)):delete s[l]);if(o!==a)for(const l in o)(!t||!Ie(t,l))&&(delete o[l],f=!0)}f&&kn(e.attrs,"set","")}function z_(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let u in t){if(Dr(u))continue;const f=t[u];let c;s&&Ie(s,c=Qt(u))?!o||!o.includes(c)?n[c]=f:(a||(a={}))[c]=f:Ka(e.emitsOptions,u)||(!(u in r)||f!==r[u])&&(r[u]=f,i=!0)}if(o){const u=ye(n),f=a||Le;for(let c=0;c<o.length;c++){const l=o[c];n[l]=of(s,u,l,f[l],e,!Ie(f,l))}}return i}function of(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ie(i,"default");if(a&&r===void 0){const u=i.default;if(i.type!==Function&&!i.skipFactory&&ae(u)){const{propsDefaults:f}=s;if(n in f)r=f[n];else{const c=jr(s);r=f[n]=u.call(null,t),c()}}else r=u;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===yr(n))&&(r=!0))}return r}const aE=new WeakMap;function Y_(e,t,n=!1){const r=n?aE:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let u=!1;if(!ae(e)){const c=l=>{u=!0;const[p,d]=Y_(l,t,!0);rt(i,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!u)return $e(e)&&r.set(e,ls),ls;if(se(o))for(let c=0;c<o.length;c++){const l=Qt(o[c]);Gd(l)&&(i[l]=Le)}else if(o)for(const c in o){const l=Qt(c);if(Gd(l)){const p=o[c],d=i[l]=se(p)||ae(p)?{type:p}:rt({},p),h=d.type;let m=!1,b=!0;if(se(h))for(let w=0;w<h.length;++w){const _=h[w],y=ae(_)&&_.name;if(y==="Boolean"){m=!0;break}else y==="String"&&(b=!1)}else m=ae(h)&&h.name==="Boolean";d[0]=m,d[1]=b,(m||Ie(d,"default"))&&a.push(l)}}const f=[i,a];return $e(e)&&r.set(e,f),f}function Gd(e){return e[0]!=="$"&&!Dr(e)}const hp=e=>e==="_"||e==="_ctx"||e==="$stable",mp=e=>se(e)?e.map(jt):[jt(e)],cE=(e,t,n)=>{if(t._n)return t;const r=vt((...s)=>mp(t(...s)),n);return r._c=!1,r},J_=(e,t,n)=>{const r=e._ctx;for(const s in e){if(hp(s))continue;const o=e[s];if(ae(o))t[s]=cE(s,o,r);else if(o!=null){const i=mp(o);t[s]=()=>i}}},X_=(e,t)=>{const n=mp(t);e.slots.default=()=>n},Q_=(e,t,n)=>{for(const r in t)(n||!hp(r))&&(e[r]=t[r])},uE=(e,t,n)=>{const r=e.slots=G_();if(e.vnode.shapeFlag&32){const s=t._;s?(Q_(r,t,n),n&&zy(r,"_",s,!0)):J_(t,r)}else t&&X_(e,t)},lE=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Q_(s,t,n):(o=!t.$stable,J_(t,s)),i=t}else t&&(X_(e,t),i={default:1});if(o)for(const a in s)!hp(a)&&i[a]==null&&delete s[a]},Ze=sv;function fE(e){return Z_(e)}function pE(e){return Z_(e,Ow)}function Z_(e,t){const n=$a();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:u,setText:f,setElementText:c,parentNode:l,nextSibling:p,setScopeId:d=dn,insertStaticContent:h}=e,m=(T,R,D,H=null,F=null,q=null,J=void 0,Y=null,G=!!R.dynamicChildren)=>{if(T===R)return;T&&!en(T,R)&&(H=U(T),ee(T,F,q,!0),T=null),R.patchFlag===-2&&(G=!1,R.dynamicChildren=null);const{type:W,ref:re,shapeFlag:X}=R;switch(W){case Br:b(T,R,D,H);break;case tt:w(T,R,D,H);break;case ji:T==null&&_(R,D,H,J);break;case dt:I(T,R,D,H,F,q,J,Y,G);break;default:X&1?v(T,R,D,H,F,q,J,Y,G):X&6?P(T,R,D,H,F,q,J,Y,G):(X&64||X&128)&&W.process(T,R,D,H,F,q,J,Y,G,z)}re!=null&&F?hs(re,T&&T.ref,q,R||T,!R):re==null&&T&&T.ref!=null&&hs(T.ref,null,q,T,!0)},b=(T,R,D,H)=>{if(T==null)r(R.el=a(R.children),D,H);else{const F=R.el=T.el;R.children!==T.children&&f(F,R.children)}},w=(T,R,D,H)=>{T==null?r(R.el=u(R.children||""),D,H):R.el=T.el},_=(T,R,D,H)=>{[T.el,T.anchor]=h(T.children,R,D,H,T.el,T.anchor)},y=({el:T,anchor:R},D,H)=>{let F;for(;T&&T!==R;)F=p(T),r(T,D,H),T=F;r(R,D,H)},g=({el:T,anchor:R})=>{let D;for(;T&&T!==R;)D=p(T),s(T),T=D;s(R)},v=(T,R,D,H,F,q,J,Y,G)=>{if(R.type==="svg"?J="svg":R.type==="math"&&(J="mathml"),T==null)E(R,D,H,F,q,J,Y,G);else{const W=T.el&&T.el._isVueCE?T.el:null;try{W&&W._beginPatch(),C(T,R,F,q,J,Y,G)}finally{W&&W._endPatch()}}},E=(T,R,D,H,F,q,J,Y)=>{let G,W;const{props:re,shapeFlag:X,transition:ne,dirs:ue}=T;if(G=T.el=i(T.type,q,re&&re.is,re),X&8?c(G,T.children):X&16&&A(T.children,G,null,H,F,qc(T,q),J,Y),ue&&pn(T,null,H,"created"),S(G,T,T.scopeId,J,H),re){for(const Ne in re)Ne!=="value"&&!Dr(Ne)&&o(G,Ne,null,re[Ne],q,H);"value"in re&&o(G,"value",null,re.value,q),(W=re.onVnodeBeforeMount)&&Nt(W,H,T)}ue&&pn(T,null,H,"beforeMount");const me=ev(F,ne);me&&ne.beforeEnter(G),r(G,R,D),((W=re&&re.onVnodeMounted)||me||ue)&&Ze(()=>{W&&Nt(W,H,T),me&&ne.enter(G),ue&&pn(T,null,H,"mounted")},F)},S=(T,R,D,H,F)=>{if(D&&d(T,D),H)for(let q=0;q<H.length;q++)d(T,H[q]);if(F){let q=F.subTree;if(R===q||ia(q.type)&&(q.ssContent===R||q.ssFallback===R)){const J=F.vnode;S(T,J,J.scopeId,J.slotScopeIds,F.parent)}}},A=(T,R,D,H,F,q,J,Y,G=0)=>{for(let W=G;W<T.length;W++){const re=T[W]=Y?er(T[W]):jt(T[W]);m(null,re,R,D,H,F,q,J,Y)}},C=(T,R,D,H,F,q,J)=>{const Y=R.el=T.el;let{patchFlag:G,dynamicChildren:W,dirs:re}=R;G|=T.patchFlag&16;const X=T.props||Le,ne=R.props||Le;let ue;if(D&&Er(D,!1),(ue=ne.onVnodeBeforeUpdate)&&Nt(ue,D,R,T),re&&pn(R,T,D,"beforeUpdate"),D&&Er(D,!0),(X.innerHTML&&ne.innerHTML==null||X.textContent&&ne.textContent==null)&&c(Y,""),W?k(T.dynamicChildren,W,Y,D,H,qc(R,F),q):J||N(T,R,Y,null,D,H,qc(R,F),q,!1),G>0){if(G&16)x(Y,X,ne,D,F);else if(G&2&&X.class!==ne.class&&o(Y,"class",null,ne.class,F),G&4&&o(Y,"style",X.style,ne.style,F),G&8){const me=R.dynamicProps;for(let Ne=0;Ne<me.length;Ne++){const ge=me[Ne],ct=X[ge],ot=ne[ge];(ot!==ct||ge==="value")&&o(Y,ge,ct,ot,F,D)}}G&1&&T.children!==R.children&&c(Y,R.children)}else!J&&W==null&&x(Y,X,ne,D,F);((ue=ne.onVnodeUpdated)||re)&&Ze(()=>{ue&&Nt(ue,D,R,T),re&&pn(R,T,D,"updated")},H)},k=(T,R,D,H,F,q,J)=>{for(let Y=0;Y<R.length;Y++){const G=T[Y],W=R[Y],re=G.el&&(G.type===dt||!en(G,W)||G.shapeFlag&198)?l(G.el):D;m(G,W,re,null,H,F,q,J,!0)}},x=(T,R,D,H,F)=>{if(R!==D){if(R!==Le)for(const q in R)!Dr(q)&&!(q in D)&&o(T,q,R[q],null,F,H);for(const q in D){if(Dr(q))continue;const J=D[q],Y=R[q];J!==Y&&q!=="value"&&o(T,q,Y,J,F,H)}"value"in D&&o(T,"value",R.value,D.value,F)}},I=(T,R,D,H,F,q,J,Y,G)=>{const W=R.el=T?T.el:a(""),re=R.anchor=T?T.anchor:a("");let{patchFlag:X,dynamicChildren:ne,slotScopeIds:ue}=R;ue&&(Y=Y?Y.concat(ue):ue),T==null?(r(W,D,H),r(re,D,H),A(R.children||[],D,re,F,q,J,Y,G)):X>0&&X&64&&ne&&T.dynamicChildren&&T.dynamicChildren.length===ne.length?(k(T.dynamicChildren,ne,D,F,q,J,Y),(R.key!=null||F&&R===F.subTree)&&gp(T,R,!0)):N(T,R,D,re,F,q,J,Y,G)},P=(T,R,D,H,F,q,J,Y,G)=>{R.slotScopeIds=Y,T==null?R.shapeFlag&512?F.ctx.activate(R,D,H,J,G):V(R,D,H,F,q,J,G):j(T,R,G)},V=(T,R,D,H,F,q,J)=>{const Y=T.component=AE(T,H,F);if(Go(T)&&(Y.ctx.renderer=z),RE(Y,!1,J),Y.asyncDep){if(F&&F.registerDep(Y,M,J),!T.el){const G=Y.subTree=Se(tt);w(null,G,R,D),T.placeholder=G.el}}else M(Y,T,R,D,F,q,J)},j=(T,R,D)=>{const H=R.component=T.component;if(sE(T,R,D))if(H.asyncDep&&!H.asyncResolved){$(H,R,D);return}else H.next=R,H.update();else R.el=T.el,H.vnode=R},M=(T,R,D,H,F,q,J)=>{const Y=()=>{if(T.isMounted){let{next:X,bu:ne,u:ue,parent:me,vnode:Ne}=T;{const Tt=tv(T);if(Tt){X&&(X.el=Ne.el,$(T,X,J)),Tt.asyncDep.then(()=>{T.isUnmounted||Y()});return}}let ge=X,ct;Er(T,!1),X?(X.el=Ne.el,$(T,X,J)):X=Ne,ne&&ps(ne),(ct=X.props&&X.props.onVnodeBeforeUpdate)&&Nt(ct,me,X,Ne),Er(T,!0);const ot=Hc(T),Ht=T.subTree;T.subTree=ot,m(Ht,ot,l(Ht.el),U(Ht),T,F,q),X.el=ot.el,ge===null&&za(T,ot.el),ue&&Ze(ue,F),(ct=X.props&&X.props.onVnodeUpdated)&&Ze(()=>Nt(ct,me,X,Ne),F)}else{let X;const{el:ne,props:ue}=R,{bm:me,m:Ne,parent:ge,root:ct,type:ot}=T,Ht=xn(R);if(Er(T,!1),me&&ps(me),!Ht&&(X=ue&&ue.onVnodeBeforeMount)&&Nt(X,ge,R),Er(T,!0),ne&&oe){const Tt=()=>{T.subTree=Hc(T),oe(ne,T.subTree,T,F,null)};Ht&&ot.__asyncHydrate?ot.__asyncHydrate(ne,T,Tt):Tt()}else{ct.ce&&ct.ce._def.shadowRoot!==!1&&ct.ce._injectChildStyle(ot);const Tt=T.subTree=Hc(T);m(null,Tt,D,H,T,F,q),R.el=Tt.el}if(Ne&&Ze(Ne,F),!Ht&&(X=ue&&ue.onVnodeMounted)){const Tt=R;Ze(()=>Nt(X,ge,Tt),F)}(R.shapeFlag&256||ge&&xn(ge.vnode)&&ge.vnode.shapeFlag&256)&&T.a&&Ze(T.a,F),T.isMounted=!0,R=D=H=null}};T.scope.on();const G=T.effect=new t_(Y);T.scope.off();const W=T.update=G.run.bind(G),re=T.job=G.runIfDirty.bind(G);
vendor: 5,331 bytes, line 4
4re.i=T,re.id=T.uid,G.scheduler=()=>ip(re),Er(T,!0),W()},$=(T,R,D)=>{R.component=T;const H=T.vnode.props;T.vnode=R,T.next=null,iE(T,R.props,H,D),lE(T,R.children,D),Ln(),Od(T),Mn()},N=(T,R,D,H,F,q,J,Y,G=!1)=>{const W=T&&T.children,re=T?T.shapeFlag:0,X=R.children,{patchFlag:ne,shapeFlag:ue}=R;if(ne>0){if(ne&128){Oe(W,X,D,H,F,q,J,Y,G);return}else if(ne&256){Z(W,X,D,H,F,q,J,Y,G);return}}ue&8?(re&16&&He(W,F,q),X!==W&&c(D,X)):re&16?ue&16?Oe(W,X,D,H,F,q,J,Y,G):He(W,F,q,!0):(re&8&&c(D,""),ue&16&&A(X,D,H,F,q,J,Y,G))},Z=(T,R,D,H,F,q,J,Y,G)=>{T=T||ls,R=R||ls;const W=T.length,re=R.length,X=Math.min(W,re);let ne;for(ne=0;ne<X;ne++){const ue=R[ne]=G?er(R[ne]):jt(R[ne]);m(T[ne],ue,D,null,F,q,J,Y,G)}W>re?He(T,F,q,!0,!1,X):A(R,D,H,F,q,J,Y,G,X)},Oe=(T,R,D,H,F,q,J,Y,G)=>{let W=0;const re=R.length;let X=T.length-1,ne=re-1;for(;W<=X&&W<=ne;){const ue=T[W],me=R[W]=G?er(R[W]):jt(R[W]);if(en(ue,me))m(ue,me,D,null,F,q,J,Y,G);else break;W++}for(;W<=X&&W<=ne;){const ue=T[X],me=R[ne]=G?er(R[ne]):jt(R[ne]);if(en(ue,me))m(ue,me,D,null,F,q,J,Y,G);else break;X--,ne--}if(W>X){if(W<=ne){const ue=ne+1,me=ue<re?R[ue].el:H;for(;W<=ne;)m(null,R[W]=G?er(R[W]):jt(R[W]),D,me,F,q,J,Y,G),W++}}else if(W>ne)for(;W<=X;)ee(T[W],F,q,!0),W++;else{const ue=W,me=W,Ne=new Map;for(W=me;W<=ne;W++){const O=R[W]=G?er(R[W]):jt(R[W]);O.key!=null&&Ne.set(O.key,W)}let ge,ct=0;const ot=ne-me+1;let Ht=!1,Tt=0;const Sn=new Array(ot);for(W=0;W<ot;W++)Sn[W]=0;for(W=ue;W<=X;W++){const O=T[W];if(ct>=ot){ee(O,F,q,!0);continue}let L;if(O.key!=null)L=Ne.get(O.key);else for(ge=me;ge<=ne;ge++)if(Sn[ge-me]===0&&en(O,R[ge])){L=ge;break}L===void 0?ee(O,F,q,!0):(Sn[L-me]=W+1,L>=Tt?Tt=L:Ht=!0,m(O,R[L],D,null,F,q,J,Y,G),ct++)}const Sr=Ht?dE(Sn):ls;for(ge=Sr.length-1,W=ot-1;W>=0;W--){const O=me+W,L=R[O],ve=R[O+1],xe=O+1<re?ve.el||nv(ve):H;Sn[W]===0?m(null,L,D,xe,F,q,J,Y,G):Ht&&(ge<0||W!==Sr[ge]?Re(L,D,xe,2):ge--)}}},Re=(T,R,D,H,F=null)=>{const{el:q,type:J,transition:Y,children:G,shapeFlag:W}=T;if(W&6){Re(T.component.subTree,R,D,H);return}if(W&128){T.suspense.move(R,D,H);return}if(W&64){J.move(T,R,D,z);return}if(J===dt){r(q,R,D);for(let X=0;X<G.length;X++)Re(G[X],R,D,H);r(T.anchor,R,D);return}if(J===ji){y(T,R,D);return}if(H!==2&&W&1&&Y)if(H===0)Y.beforeEnter(q),r(q,R,D),Ze(()=>Y.enter(q),F);else{const{leave:X,delayLeave:ne,afterLeave:ue}=Y,me=()=>{T.ctx.isUnmounted?s(q):r(q,R,D)},Ne=()=>{q._isLeaving&&q[Rn](!0),X(q,()=>{me(),ue&&ue()})};ne?ne(q,me,Ne):Ne()}else r(q,R,D)},ee=(T,R,D,H=!1,F=!1)=>{const{type:q,props:J,ref:Y,children:G,dynamicChildren:W,shapeFlag:re,patchFlag:X,dirs:ne,cacheIndex:ue}=T;if(X===-2&&(F=!1),Y!=null&&(Ln(),hs(Y,null,D,T,!0),Mn()),ue!=null&&(R.renderCache[ue]=void 0),re&256){R.ctx.deactivate(T);return}const me=re&1&&ne,Ne=!xn(T);let ge;if(Ne&&(ge=J&&J.onVnodeBeforeUnmount)&&Nt(ge,R,T),re&6)Ce(T.component,D,H);else{if(re&128){T.suspense.unmount(D,H);return}me&&pn(T,null,R,"beforeUnmount"),re&64?T.type.remove(T,R,D,z,H):W&&!W.hasOnce&&(q!==dt||X>0&&X&64)?He(W,R,D,!1,!0):(q===dt&&X&384||!F&&re&16)&&He(G,R,D),H&&ie(T)}(Ne&&(ge=J&&J.onVnodeUnmounted)||me)&&Ze(()=>{ge&&Nt(ge,R,T),me&&pn(T,null,R,"unmounted")},D)},ie=T=>{const{type:R,el:D,anchor:H,transition:F}=T;if(R===dt){_e(D,H);return}if(R===ji){g(T);return}const q=()=>{s(D),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(T.shapeFlag&1&&F&&!F.persisted){const{leave:J,delayLeave:Y}=F,G=()=>J(D,q);Y?Y(T.el,q,G):G()}else q()},_e=(T,R)=>{let D;for(;T!==R;)D=p(T),s(T),T=D;s(R)},Ce=(T,R,D)=>{const{bum:H,scope:F,job:q,subTree:J,um:Y,m:G,a:W}=T;oa(G),oa(W),H&&ps(H),F.stop(),q&&(q.flags|=8,ee(J,T,R,D)),Y&&Ze(Y,R),Ze(()=>{T.isUnmounted=!0},R)},He=(T,R,D,H=!1,F=!1,q=0)=>{for(let J=q;J<T.length;J++)ee(T[J],R,D,H,F)},U=T=>{if(T.shapeFlag&6)return U(T.component.subTree);if(T.shapeFlag&128)return T.suspense.next();const R=p(T.anchor||T.el),D=R&&R[C_];return D?p(D):R};let Q=!1;const K=(T,R,D)=>{let H;T==null?R._vnode&&(ee(R._vnode,null,null,!0),H=R._vnode.component):m(R._vnode||null,T,R,null,null,null,D),R._vnode=T,Q||(Q=!0,Od(H),ta(),Q=!1)},z={p:m,um:ee,m:Re,r:ie,mt:V,mc:A,pc:N,pbc:k,n:U,o:e};let te,oe;return t&&([te,oe]=t(z)),{render:K,hydrate:te,createApp:Xw(K,te)}}function qc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Er({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ev(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function gp(e,t,n=!1){const r=e.children,s=t.children;if(se(r)&&se(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=er(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&gp(i,a)),a.type===Br&&(a.patchFlag!==-1?a.el=i.el:a.__elIndex=o+(e.type===dt?1:0)),a.type===tt&&!a.el&&(a.el=i.el)}}function dE(e){const t=e.slice(),n=[0];let r,s,o,i,a;const u=e.length;for(r=0;r<u;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<f?o=a+1:i=a;f<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function tv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:tv(t)}function oa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function nv(e){if(e.placeholder)return e.placeholder;const t=e.component;
vendor: 5,053 bytes, line 4
4return t?nv(t.subTree):null}const ia=e=>e.__isSuspense;let af=0;const hE={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,u,f){if(e==null)gE(t,n,r,s,o,i,a,u,f);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}yE(e,t,n,r,s,i,a,u,f)}},hydrate:_E,normalize:vE},mE=hE;function Do(e,t){const n=e.props&&e.props[t];ae(n)&&n()}function gE(e,t,n,r,s,o,i,a,u){const{p:f,o:{createElement:c}}=u,l=c("div"),p=e.suspense=rv(e,s,r,t,l,n,o,i,a,u);f(null,p.pendingBranch=e.ssContent,l,null,r,p,o,i),p.deps>0?(Do(e,"onPending"),Do(e,"onFallback"),f(null,e.ssFallback,t,n,r,null,o,i),ms(p,e.ssFallback)):p.resolve(!1,!0)}function yE(e,t,n,r,s,o,i,a,{p:u,um:f,o:{createElement:c}}){const l=t.suspense=e.suspense;l.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:b,isHydrating:w}=l;if(m)l.pendingBranch=p,en(m,p)?(u(m,p,l.hiddenContainer,null,s,l,o,i,a),l.deps<=0?l.resolve():b&&(w||(u(h,d,n,r,s,null,o,i,a),ms(l,d)))):(l.pendingId=af++,w?(l.isHydrating=!1,l.activeBranch=m):f(m,s,l),l.deps=0,l.effects.length=0,l.hiddenContainer=c("div"),b?(u(null,p,l.hiddenContainer,null,s,l,o,i,a),l.deps<=0?l.resolve():(u(h,d,n,r,s,null,o,i,a),ms(l,d))):h&&en(h,p)?(u(h,p,n,r,s,l,o,i,a),l.resolve(!0)):(u(null,p,l.hiddenContainer,null,s,l,o,i,a),l.deps<=0&&l.resolve()));else if(h&&en(h,p))u(h,p,n,r,s,l,o,i,a),ms(l,p);else if(Do(t,"onPending"),l.pendingBranch=p,p.shapeFlag&512?l.pendingId=p.component.suspenseId:l.pendingId=af++,u(null,p,l.hiddenContainer,null,s,l,o,i,a),l.deps<=0)l.resolve();else{const{timeout:_,pendingId:y}=l;_>0?setTimeout(()=>{l.pendingId===y&&l.fallback(d)},_):_===0&&l.fallback(d)}}function rv(e,t,n,r,s,o,i,a,u,f,c=!1){const{p:l,m:p,um:d,n:h,o:{parentNode:m,remove:b}}=f;let w;const _=bE(e);_&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const y=e.props?Yy(e.props.timeout):void 0,g=o,v={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:af++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(E=!1,S=!1){const{vnode:A,activeBranch:C,pendingBranch:k,pendingId:x,effects:I,parentComponent:P,container:V,isInFallback:j}=v;let M=!1;v.isHydrating?v.isHydrating=!1:E||(M=C&&k.transition&&k.transition.mode==="out-in",M&&(C.transition.afterLeave=()=>{x===v.pendingId&&(p(k,V,o===g?h(C):o,0),Oo(I),j&&A.ssFallback&&(A.ssFallback.el=null))}),C&&(m(C.el)===V&&(o=h(C)),d(C,P,v,!0),!M&&j&&A.ssFallback&&Ze(()=>A.ssFallback.el=null,v)),M||p(k,V,o,0)),ms(v,k),v.pendingBranch=null,v.isInFallback=!1;let $=v.parent,N=!1;for(;$;){if($.pendingBranch){$.effects.push(...I),N=!0;break}$=$.parent}!N&&!M&&Oo(I),v.effects=[],_&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!S&&t.resolve()),Do(A,"onResolve")},fallback(E){if(!v.pendingBranch)return;const{vnode:S,activeBranch:A,parentComponent:C,container:k,namespace:x}=v;Do(S,"onFallback");const I=h(A),P=()=>{v.isInFallback&&(l(null,E,k,I,C,null,x,a,u),ms(v,E))},V=E.transition&&E.transition.mode==="out-in";V&&(A.transition.afterLeave=P),v.isInFallback=!0,d(A,C,null,!0),V||P()},move(E,S,A){v.activeBranch&&p(v.activeBranch,E,S,A),v.container=E},next(){return v.activeBranch&&h(v.activeBranch)},registerDep(E,S,A){const C=!!v.pendingBranch;C&&v.deps++;const k=E.vnode.el;E.asyncDep.catch(x=>{Ns(x,E,0)}).then(x=>{if(E.isUnmounted||v.isUnmounted||v.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:I}=E;lf(E,x),k&&(I.el=k);const P=!k&&E.subTree.el;S(E,I,m(k||E.subTree.el),k?null:h(E.subTree),v,i,A),P&&(I.placeholder=null,b(P)),za(E,I.el),C&&--v.deps===0&&v.resolve()})},unmount(E,S){v.isUnmounted=!0,v.activeBranch&&d(v.activeBranch,n,E,S),v.pendingBranch&&d(v.pendingBranch,n,E,S)}};return v}function _E(e,t,n,r,s,o,i,a,u){const f=t.suspense=rv(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=u(e,f.pendingBranch=t.ssContent,n,f,o,i);return f.deps===0&&f.resolve(!1,!0),c}function vE(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Kd(r?n.default:n),e.ssFallback=r?Kd(n.fallback):Se(tt)}function Kd(e){let t;if(ae(e)){const n=bs&&e._c;n&&(e._d=!1,we()),e=e(),n&&(e._d=!0,t=Dt,ov())}return se(e)&&(e=tE(e)),e=jt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sv(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Oo(e)}function ms(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,za(r,s))}function bE(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const dt=Symbol.for("v-fgt"),Br=Symbol.for("v-txt"),tt=Symbol.for("v-cmt"),ji=Symbol.for("v-stc"),bo=[];let Dt=null;function we(e=!1){bo.push(Dt=e?null:[])}function ov(){bo.pop(),Dt=bo[bo.length-1]||null}let bs=1;function aa(e,t=!1){bs+=e,e<0&&Dt&&t&&(Dt.hasOnce=!0)}function iv(e){return e.dynamicChildren=bs>0?Dt||ls:null,ov(),bs>0&&Dt&&Dt.push(e),e}function St(e,t,n,r,s,o){return iv(Ge(e,t,n,r,s,o,!0))}
vendor: 4,191 bytes, line 4
4function ht(e,t,n,r,s){return iv(Se(e,t,n,r,s,!0))}function qr(e){return e?e.__v_isVNode===!0:!1}function en(e,t){return e.type===t.type&&e.key===t.key}const av=({key:e})=>e??null,Vi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||ze(e)||ae(e)?{i:gt,r:e,k:t,f:!!n}:e:null);function Ge(e,t=null,n=null,r=0,s=null,o=e===dt?0:1,i=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&av(t),ref:t&&Vi(t),scopeId:E_,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:gt};return a?(yp(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=We(n)?8:16),bs>0&&!i&&Dt&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&Dt.push(u),u}const Se=SE;function SE(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===B_)&&(e=tt),qr(e)){const a=vn(e,t,!0);return n&&yp(a,n),bs>0&&!o&&Dt&&(a.shapeFlag&6?Dt[Dt.indexOf(e)]=a:Dt.push(a)),a.patchFlag=-2,a}if(OE(e)&&(e=e.__vccOpts),t){t=wE(t);let{class:a,style:u}=t;a&&!We(a)&&(t.class=Gr(a)),$e(u)&&(qa(u)&&!se(u)&&(u=rt({},u)),t.style=jo(u))}const i=We(e)?1:ia(e)?128:A_(e)?64:$e(e)?4:ae(e)?2:0;return Ge(e,t,n,r,s,i,o,!0)}function wE(e){return e?qa(e)||K_(e)?rt({},e):e:null}function vn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:u}=e,f=t?EE(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&av(f),ref:t&&t.ref?n&&o?se(o)?o.concat(Vi(t)):[o,Vi(t)]:Vi(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vn(e.ssContent),ssFallback:e.ssFallback&&vn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&lr(c,u.clone(c)),c}function Or(e=" ",t=0){return Se(Br,null,e,t)}function to(e="",t=!1){return t?(we(),ht(tt,null,e)):Se(tt,null,e)}function jt(e){return e==null||typeof e=="boolean"?Se(tt):se(e)?Se(dt,null,e.slice()):qr(e)?er(e):Se(Br,null,String(e))}function er(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vn(e)}function yp(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),yp(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!K_(t)?t._ctx=gt:s===3&>&&(gt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:gt},n=32):(t=String(t),r&64?(n=16,t=[Or(t)]):n=8);e.children=t,e.shapeFlag|=n}function EE(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Gr([t.class,r.class]));else if(s==="style")t.style=jo([t.style,r.style]);else if(Ho(s)){const o=t[s],i=r[s];i&&o!==i&&!(se(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Nt(e,t,n,r=null){sn(e,t,7,[n,r])}const TE=j_();let CE=0;function AE(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||TE,o={uid:CE++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Zy(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Y_(r,s),emitsOptions:V_(r,s),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:r.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Zw.bind(null,o),e.ce&&e.ce(o),o}let mt=null;const Kt=()=>mt||gt;let ca,cf;{const e=$a(),t=(n,r)=>{let s;
vendor: 2,553 bytes, line 4
4return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ca=t("__VUE_INSTANCE_SETTERS__",n=>mt=n),cf=t("__VUE_SSR_SETTERS__",n=>Ss=n)}const jr=e=>{const t=mt;return ca(e),e.scope.on(),()=>{e.scope.off(),ca(t)}},uf=()=>{mt&&mt.scope.off(),ca(null)};function cv(e){return e.vnode.shapeFlag&4}let Ss=!1;function RE(e,t=!1,n=!1){t&&cf(t);const{props:r,children:s}=e.vnode,o=cv(e);oE(e,r,o,t),uE(e,s,n||t);const i=o?kE(e,t):void 0;return t&&cf(!1),i}function kE(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vw);const{setup:r}=n;if(r){Ln();const s=e.setupContext=r.length>1?PE(e):null,o=jr(e),i=Vo(r,e,0,[e.props,s]),a=Qf(i);if(Mn(),o(),(a||e.sp)&&!xn(e)&&up(e),a){if(i.then(uf,uf),t)return i.then(u=>{lf(e,u)}).catch(u=>{Ns(u,e,0)});e.asyncDep=i}else lf(e,i)}else uv(e)}function lf(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$e(t)&&(e.setupState=y_(t)),uv(e)}function uv(e,t,n){const r=e.type;e.render||(e.render=r.render||dn);{const s=jr(e);Ln();try{Ww(e)}finally{Mn(),s()}}}const IE={get(e,t){return bt(e,"get",""),e[t]}};function PE(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,IE),slots:e.slots,emit:e.emit,expose:t}}function Ya(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(y_(ja(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vo)return vo[n](e)},has(t,n){return n in t||n in vo}})):e.proxy}function ff(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function OE(e){return ae(e)&&"__vccOpts"in e}const je=(e,t)=>yw(e,t,Ss);function Ls(e,t,n){try{aa(-1);const r=arguments.length;return r===2?$e(t)&&!se(t)?qr(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&qr(n)&&(n=[n]),Se(e,t,n))}finally{aa(1)}}const xE="3.5.27";let pf;const zd=typeof window<"u"&&window.trustedTypes;if(zd)try{pf=zd.createPolicy("vue",{createHTML:e=>e})}catch{}const lv=pf?e=>pf.createHTML(e):e=>e,NE="http://www.w3.org/2000/svg",DE="http://www.w3.org/1998/Math/MathML",Cn=typeof document<"u"?document:null,Yd=Cn&&Cn.createElement("template"),LE={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Cn.createElementNS(NE,e):t==="mathml"?Cn.createElementNS(DE,e):n?Cn.createElement(e,{is:n}):Cn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Cn.createTextNode(e),createComment:e=>Cn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 8,344 bytes, line 4
4{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Yd.innerHTML=lv(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Yd.content;if(r==="svg"||r==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zn="transition",no="animation",ws=Symbol("_vtc"),fv={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},pv=rt({},P_,fv),ME=e=>(e.displayName="Transition",e.props=pv,e),FE=ME((e,{slots:t})=>Ls(kw,dv(e),t)),Tr=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Jd=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function dv(e){const t={};for(const I in e)I in fv||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:f=i,appearToClass:c=a,leaveFromClass:l=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=$E(s),m=h&&h[0],b=h&&h[1],{onBeforeEnter:w,onEnter:_,onEnterCancelled:y,onLeave:g,onLeaveCancelled:v,onBeforeAppear:E=w,onAppear:S=_,onAppearCancelled:A=y}=t,C=(I,P,V,j)=>{I._enterCancelled=j,Jn(I,P?c:a),Jn(I,P?f:i),V&&V()},k=(I,P)=>{I._isLeaving=!1,Jn(I,l),Jn(I,d),Jn(I,p),P&&P()},x=I=>(P,V)=>{const j=I?S:_,M=()=>C(P,I,V);Tr(j,[P,M]),Xd(()=>{Jn(P,I?u:o),ln(P,I?c:a),Jd(j)||Qd(P,r,m,M)})};return rt(t,{onBeforeEnter(I){Tr(w,[I]),ln(I,o),ln(I,i)},onBeforeAppear(I){Tr(E,[I]),ln(I,u),ln(I,f)},onEnter:x(!1),onAppear:x(!0),onLeave(I,P){I._isLeaving=!0;const V=()=>k(I,P);ln(I,l),I._enterCancelled?(ln(I,p),df(I)):(df(I),ln(I,p)),Xd(()=>{I._isLeaving&&(Jn(I,l),ln(I,d),Jd(g)||Qd(I,r,b,V))}),Tr(g,[I,V])},onEnterCancelled(I){C(I,!1,void 0,!0),Tr(y,[I])},onAppearCancelled(I){C(I,!0,void 0,!0),Tr(A,[I])},onLeaveCancelled(I){k(I),Tr(v,[I])}})}function $E(e){if(e==null)return null;if($e(e))return[jc(e.enter),jc(e.leave)];{const t=jc(e);return[t,t]}}function jc(e){return Yy(e)}function ln(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ws]||(e[ws]=new Set)).add(t)}function Jn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ws];n&&(n.delete(t),n.size||(e[ws]=void 0))}function Xd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let BE=0;function Qd(e,t,n,r){const s=e._endId=++BE,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:u}=hv(e,t);if(!i)return r();const f=i+"end";let c=0;const l=()=>{e.removeEventListener(f,p),o()},p=d=>{d.target===e&&++c>=u&&l()};setTimeout(()=>{c<u&&l()},a+1),e.addEventListener(f,p)}function hv(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${zn}Delay`),o=r(`${zn}Duration`),i=Zd(s,o),a=r(`${no}Delay`),u=r(`${no}Duration`),f=Zd(a,u);let c=null,l=0,p=0;t===zn?i>0&&(c=zn,l=i,p=o.length):t===no?f>0&&(c=no,l=f,p=u.length):(l=Math.max(i,f),c=l>0?i>f?zn:no:null,p=c?c===zn?o.length:u.length:0);const d=c===zn&&/\b(?:transform|all)(?:,|$)/.test(r(`${zn}Property`).toString());return{type:c,timeout:l,propCount:p,hasTransform:d}}function Zd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>eh(n)+eh(e[r])))}function eh(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function df(e){return(e?e.ownerDocument:document).body.offsetHeight}function UE(e,t,n){const r=e[ws];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ua=Symbol("_vod"),mv=Symbol("_vsh"),gB={name:"show",beforeMount(e,{value:t},{transition:n}){e[ua]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ro(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ro(e,!0),r.enter(e)):r.leave(e,()=>{ro(e,!1)}):ro(e,t))},beforeUnmount(e,{value:t}){ro(e,t)}};function ro(e,t){e.style.display=t?e[ua]:"none",e[mv]=!t}const HE=Symbol(""),qE=/(?:^|;)\s*display\s*:/;function jE(e,t,n){const r=e.style,s=We(n);let o=!1;if(n&&!s){if(t)if(We(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Wi(r,a,"")}else for(const i in t)n[i]==null&&Wi(r,i,"");for(const i in n)i==="display"&&(o=!0),Wi(r,i,n[i])}else if(s){if(t!==n){const i=r[HE];i&&(n+=";"+i),r.cssText=n,o=qE.test(n)}}else t&&e.removeAttribute("style");ua in e&&(e[ua]=o?r.display:"",e[mv]&&(r.display="none"))}const th=/\s*!important$/;function Wi(e,t,n){if(se(n))n.forEach(r=>Wi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=VE(e,t);th.test(n)?e.setProperty(yr(r),n.replace(th,""),"important"):e[r]=n}}const nh=["Webkit","Moz","ms"],Vc={};function VE(e,t){const n=Vc[t];if(n)return n;let r=Qt(t);if(r!=="filter"&&r in e)return Vc[t]=r;r=Fa(r);for(let s=0;s<nh.length;s++){const o=nh[s]+r;if(o in e)return Vc[t]=o}return t}const rh="http://www.w3.org/1999/xlink";function sh(e,t,n,r,s,o=W0(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(rh,t.slice(6,t.length)):e.setAttributeNS(rh,t,n):n==null||o&&!Jy(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Hn(n)?String(n):n)}function oh(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?lv(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(a!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Jy(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function os(e,t,n,r){e.addEventListener(t,n,r)}function WE(e,t,n,r){e.removeEventListener(t,n,r)}const ih=Symbol("_vei");function GE(e,t,n,r,s=null){const o=e[ih]||(e[ih]={}),i=o[t];if(r&&i)i.value=r;else{const[a,u]=KE(t);if(r){const f=o[t]=JE(r,s);os(e,a,f,u)}else i&&(WE(e,a,i,u),o[t]=void 0)}}const ah=/(?:Once|Passive|Capture)$/;function KE(e){let t;if(ah.test(e)){t={};let r;for(;r=e.match(ah);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yr(e.slice(2)),t]}let Wc=0;const zE=Promise.resolve(),YE=()=>Wc||(zE.then(()=>Wc=0),Wc=Date.now());function JE(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;sn(XE(r,n.value),t,5,[r])};return n.value=e,n.attached=YE(),n}function XE(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ch=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,QE=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?UE(e,r,i):t==="style"?jE(e,n,r):Ho(t)?Jf(t)||GE(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ZE(e,t,r,i))?(oh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&sh(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!We(r))?oh(e,Qt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),sh(e,t,r,i))};function ZE(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ch(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ch(t)&&We(n)?!1:t in e}const gv=new WeakMap,yv=new WeakMap,la=Symbol("_moveCb"),uh=Symbol("_enterCb"),eT=e=>(delete e.props.mode,e),tT=eT({name:"TransitionGroup",props:rt({},pv,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Kt(),r=I_();let s,o;return lp(()=>
4{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!oT(s[0].el,n.vnode.el,i)){s=[];return}s.forEach(nT),s.forEach(rT);const a=s.filter(sT);df(n.vnode.el),a.forEach(u=>{const f=u.el,c=f.style;ln(f,i),c.transform=c.webkitTransform=c.transitionDuration="";const l=f[la]=p=>{p&&p.target!==f||(!p||p.propertyName.endsWith("transform"))&&(f.removeEventListener("transitionend",l),f[la]=null,Jn(f,i))};f.addEventListener("transitionend",l)}),s=[]}),()=>{const i=ye(e),a=dv(i);let u=i.tag||dt;if(s=[],o)for(let f=0;f<o.length;f++){const c=o[f];c.el&&c.el instanceof Element&&(s.push(c),lr(c,No(c,a,r,n)),gv.set(c,{left:c.el.offsetLeft,top:c.el.offsetTop}))}o=t.default?cp(t.default()):[];for(let f=0;f<o.length;f++){const c=o[f];c.key!=null&&lr(c,No(c,a,r,n))}return Se(u,null,o)}}}),yB=tT;function nT(e){const t=e.el;t[la]&&t[la](),t[uh]&&t[uh]()}function rT(e){yv.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function sT(e){const t=gv.get(e),n=yv.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function oT(e,t,n){const r=e.cloneNode(),s=e[ws];s&&s.forEach(a=>{a.split(/\s+/).forEach(u=>u&&r.classList.remove(u))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=hv(r);return o.removeChild(r),i}const lh=e=>{const t=e.props["onUpdate:modelValue"]||!1;return se(t)?n=>ps(t,n):t};function iT(e){e.target.composing=!0}function fh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gc=Symbol("_assign");function ph(e,t,n){return t&&(e=e.trim()),n&&(e=Zf(e)),e}const dh={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Gc]=lh(s);const o=r||s.props&&s.props.type==="number";os(e,t?"change":"input",i=>{i.target.composing||e[Gc](ph(e.value,n,o))}),(n||o)&&os(e,"change",()=>{e.value=ph(e.value,n,o)}),t||(os(e,"compositionstart",iT),os(e,"compositionend",fh),os(e,"change",fh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Gc]=lh(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Zf(e.value):e.value,u=t??"";a!==u&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===u)||(e.value=u))}},aT=["ctrl","shift","alt","meta"],cT={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aT.some(n=>e[`${n}Key`]&&!t.includes(n))},_v=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let i=0;i<t.length;i++){const a=cT[t[i]];if(a&&a(s,t))return}return e(s,...o)}))},uT={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_B=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=yr(s.key);if(t.some(i=>i===o||uT[i]===o))return e(s)}))},vv=rt({patchProp:QE},LE);let So,hh=!1;function lT(){return So||(So=fE(vv))}function fT(){return So=hh?So:pE(vv),hh=!0,So}const pT=((...e)=>{const t=lT().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Sv(r);if(!s)return;const o=t._component;!ae(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,bv(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),dT=((...e)=>{const t=fT().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Sv(r);if(s)return n(s,!0,bv(s))},t});function bv(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sv(e){return We(e)?document.querySelector(e):e}const hT=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,mT=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,gT=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yT(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){_T(e);return}return t}function _T(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function fa(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!gT.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(hT.test(e)||mT.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,yT)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const vT=/#/g,bT=/&/g,ST=/\//g,wT=/=/g,_p=/\+/g,ET=/%5e/gi,TT=/%60/gi,CT=/%7c/gi,AT=/%20/gi,RT=/%2f/gi;function kT(e){return encodeURI(""+e).replace(CT,"|")}function hf(e){return kT(typeof e=="string"?e:JSON.stringify(e)).replace(_p,"%2B").replace(AT,"+").replace(vT,"%23").replace(bT,"%26").replace(TT,"`").replace(ET,"^").replace(ST,"%2F")}function Kc(e){return hf(e).replace(wT,"%3D")}function Lo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function mh(e){return Lo(e.replace(RT,"%252F"))}function IT(e){return Lo(e.replace(_p," "))}function PT(e){return Lo(e.replace(_p," "))}function OT(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=IT(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=PT(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function xT(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Kc(e)}=${hf(n)}`).join("&"):`${Kc(e)}=${hf(t)}
4`:Kc(e)}function NT(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>xT(t,e[t])).filter(Boolean).join("&")}const DT=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,LT=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,MT=/^([/\\]\s*){2,}[^/\\]/,FT=/^\.?\//;function zo(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?DT.test(e):LT.test(e)||(t.acceptRelative?MT.test(e):!1)}function $T(e="",t){return e.endsWith("/")}function pa(e="",t){return($T(e)?e.slice(0,-1):e)||"/"}function BT(e="",t){return e.endsWith("/")?e:e+"/"}function UT(e,t){if(wv(t)||zo(e))return e;const n=pa(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Ev(n,e)}function gh(e,t){if(wv(t))return e;const n=pa(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function HT(e,t){const n=VT(e),r={...OT(n.search),...t};return n.search=NT(r),WT(n)}function wv(e){return!e||e==="/"}function qT(e){return e&&e!=="/"}function Ev(e,...t){let n=e||"";for(const r of t.filter(s=>qT(s)))if(n){const s=r.replace(FT,"");n=BT(n)+s}else n=r;return n}function Tv(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,u]of i.split(t).entries())if(!(!u||u===".")){if(u===".."){if(r.length===1&&zo(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+u;continue}r.push(u),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function jT(e,t){return Lo(pa(e))===Lo(pa(t))}const Cv=Symbol.for("ufo:protocolRelative");function VT(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,l,p=""]=n;return{protocol:l.toLowerCase(),pathname:p,href:l+p,auth:"",host:"",search:"",hash:""}}if(!zo(e,{acceptRelative:!0}))return yh(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:u,search:f,hash:c}=yh(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:u,search:f,hash:c,[Cv]:!r}}function yh(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function WT(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Cv]?(e.protocol||"")+"//":"")+s+o+t+n+r}class GT extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function KT(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new GT(i,e.error?{cause:e.error}:void 0);for(const u of["request","options","response"])Object.defineProperty(a,u,{get(){return e[u]}});for(const[u,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,u,{get(){return e.response&&e.response[f]}});return a}const zT=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function _h(e="GET"){return zT.has(e.toUpperCase())}function YT(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const JT=new Set(["image/svg","application/xml","application/xhtml","application/html"]),XT=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function QT(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return XT.test(t)?"json":t==="text/event-stream"?"stream":JT.has(t)||t.startsWith("text/")?"text":"blob"}function ZT(e,t,n,r){const s=eC(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function eC(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function yi(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const tC=new Set([408,409,425,429,500,502,503,504]),nC=new Set([101,204,205,304]);function Av(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const u=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!u){let c;typeof a.options.retry=="number"?c=a.options.retry:c=_h(a.options.method)?0:1;const l=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(l):tC.has(l))){const p=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),o(a.request,{...a.options,retry:c-1})}}const f=KT(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,o),f}const o=async function(u,f={}){const c={request:u,options:ZT(u,f,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await yi(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=UT(c.request,c.options.baseURL)),c.options.query&&(c.request=HT(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&_h(c.options.method))if(YT(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let l;if(!c.options.signal&&c.options.timeout){const d=new r;l=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,d.abort(h)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await yi(c,c.options.onRequestError),await s(c)}finally{l&&clearTimeout(l)}if((c.response.body||c.response._bodyInit)&&!nC.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||QT(c.response.headers.get("content-type")||"");switch(d){case"json":{const h=await c.response.text(),m=c.options.parseResponse||fa;c.response._data=m(h);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await yi(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await yi(c,c.options.onResponseError),await s(c)):c.response},i=async function(u,f){return(await o(u,f))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},u={})=>Av({...e,...u,defaults:{...e.defaults,...u.defaults,...a}}),i}const da=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),rC=da.fetch?(...e)=>da.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),sC=da.Headers,oC=da.AbortController,iC=Av({fetch:rC,Headers:sC,AbortController:oC}),aC=iC,cC=()=>window?.__NUXT__?.config||{},vp=()=>cC().app,uC=()=>
4vp().baseURL,lC=()=>vp().buildAssetsDir,fC=(...e)=>Tv(Rv(),lC(),...e),Rv=(...e)=>{const t=vp(),n=t.cdnURL||t.baseURL;return e.length?Tv(n,...e):n};globalThis.__buildAssetsURL=fC,globalThis.__publicAssetsURL=Rv;globalThis.$fetch||(globalThis.$fetch=aC.create({baseURL:uC()}));"global"in globalThis||(globalThis.global=globalThis);function mf(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?mf(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const pC={run:e=>e()},dC=()=>pC,kv=typeof console.createTask<"u"?console.createTask:dC;function hC(e,t){const n=t.shift(),r=kv(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function mC(e,t){const n=t.shift(),r=kv(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function zc(e,t){for(const n of[...e])n(t)}let gC=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=mf(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=mf(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(hC,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(mC,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&zc(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&zc(this._after,s)}):(this._after&&s&&zc(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function yC(){return new gC}function _C(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const u=()=>{t=i},f=()=>t===i?u:void 0;gf.add(f);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{gf.delete(f)}}}}function vC(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=_C({...e,...r})),t[n]}}}const ha=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},vh="__unctx__",bC=ha[vh]||(ha[vh]=vC()),SC=(e,t={})=>bC.get(e,t),bh="__unctx_async_handlers__",gf=ha[bh]||(ha[bh]=new Set);function gs(e){const t=[];for(const s of gf){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const bB=!1,SB=!1,wB=!1,On={value:null,errorValue:null,deep:!0},wC=null,EB={},EC="#__nuxt",Iv="nuxt-app",TC="vite:preloadError";function bp(e=Iv){return SC(e,{asyncContext:!1})}const CC="__nuxt_plugin";function AC(e){let t=0;const n={_id:e.id||Iv||"nuxt-app",_scope:Ba(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.0"},get vue(){return n.vueApp.version}},payload:rr({...e.ssrContext?.payload||{},data:rr({}),state:qn({}),once:new Set,_errors:rr({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Ua()?n._scope.run(()=>Sh(n,s)):Sh(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:rr({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=yC(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;_i(n,i,o),_i(n.vueApp.config.globalProperties,i,o)},_i(n.vueApp,"$nuxt",n),_i(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(TC,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=fe;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function RC(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function kC(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function IC(e,t){const n=new Set,r=[],s=[];let o,i=0;
4async function a(u){const f=u.dependsOn?.filter(c=>t.some(l=>l._name===c)&&!n.has(c))??[];if(f.length>0)r.push([new Set(f),u]);else{const c=kC(e,u).then(async()=>{u._name&&(n.add(u._name),await Promise.all(r.map(async([l,p])=>{l.has(u._name)&&(l.delete(u._name),l.size===0&&(i++,await a(p)))})))}).catch(l=>{if(!u.parallel&&!e.payload.error)throw l;o||=l});u.parallel?s.push(c):await c}}for(const u of t)RC(e,u);for(const u of t)await a(u);if(await Promise.all(s),i)for(let u=0;u<i;u++)await Promise.all(s);if(o)throw e.payload.error||o}function Je(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[CC]:!0,_name:t})}const PC=Je;function Sh(e,t,n){const r=()=>t();return bp(e._id).set(e),e.vueApp.runWithContext(r)}function Pv(e){let t;return Wo()&&(t=Kt()?.appContext.app.$nuxt),t||=bp(e).tryUse(),t||null}function fe(e){const t=Pv(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Ov(e){return fe().$config}function _i(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Yc(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function yf(e,t,n=".",r){if(!Yc(t))return yf(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Yc(i)&&Yc(s[o])?s[o]=yf(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function OC(e){return(...t)=>t.reduce((n,r)=>yf(n,r,"",e),{})}const xC=OC();function NC(e,t){try{return t in e}catch{return!1}}class wh extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:_f(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=xv(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function DC(e){if(typeof e=="string")return new wh(e);if(LC(e))return e;const t=new wh(e.message??e.statusMessage??"",{cause:e.cause||e});if(NC(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=_f(e.statusCode,t.statusCode):e.status&&(t.statusCode=_f(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;xv(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function LC(e){return e?.constructor?.__h3_error__===!0}const MC=/[^\u0009\u0020-\u007E]/g;function xv(e=""){return e.replace(MC,"")}function _f(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const TB=Symbol("layout-meta"),Nv=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Kr=()=>fe()?.$router,Vr=()=>Wo()?kt(Nv,fe()._route):fe()._route;function CB(e){return e}const Dv="__nuxt_error",Ja=()=>__(fe().payload,"error"),Ir=e=>{const t=Dn(e);try{const n=Ja();fe().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},FC=async(e={})=>{const t=fe(),n=Ja();t.callHook("app:error:cleared",e),e.redirect&&await Kr().replace(e.redirect),n.value=wC},Sp=e=>!!e&&typeof e=="object"&&Dv in e,Dn=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=DC(e);return Object.defineProperty(t,Dv,{value:!0,configurable:!1,writable:!1}),t};let Lv;const Es=e=>Lv=e,Mv=Symbol();function vf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var wo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(wo||(wo={}));function $C(){const e=Ba(!0),t=e.run(()=>be({}));let n=[],r=[];const s=ja({install(o){Es(s),s._a=o,o.provide(Mv,s),o.config.globalProperties.$pinia=s,r.forEach(i=>
4n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Fv=()=>{};function Eh(e,t,n,r=Fv){e.add(t);const s=()=>{e.delete(t)&&r()};return!n&&Ua()&&e_(s),s}function rs(e,...t){e.forEach(n=>{n(...t)})}const BC=e=>e(),Th=Symbol(),Jc=Symbol();function bf(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];vf(s)&&vf(r)&&e.hasOwnProperty(n)&&!ze(r)&&!hn(r)?e[n]=bf(s,r):e[n]=r}return e}const UC=Symbol();function HC(e){return!vf(e)||!Object.prototype.hasOwnProperty.call(e,UC)}const{assign:Xn}=Object;function qC(e){return!!(ze(e)&&e.effect)}function jC(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let u;function f(){a||(n.state.value[e]=s?s():{});const c=dw(n.state.value[e]);return Xn(c,o,Object.keys(i||{}).reduce((l,p)=>(l[p]=ja(je(()=>{Es(n);const d=n._s.get(e);return i[p].call(d,d)})),l),{}))}return u=$v(e,f,t,n,r,!0),u}function $v(e,t,n={},r,s,o){let i;const a=Xn({actions:{}},n),u={deep:!0};let f,c,l=new Set,p=new Set,d;const h=r.state.value[e];!o&&!h&&(r.state.value[e]={});let m;function b(A){let C;f=c=!1,typeof A=="function"?(A(r.state.value[e]),C={type:wo.patchFunction,storeId:e,events:d}):(bf(r.state.value[e],A),C={type:wo.patchObject,payload:A,storeId:e,events:d});const k=m=Symbol();Ds().then(()=>{m===k&&(f=!0)}),c=!0,rs(l,C,r.state.value[e])}const w=o?function(){const{state:C}=n,k=C?C():{};this.$patch(x=>{Xn(x,k)})}:Fv;function _(){i.stop(),l.clear(),p.clear(),r._s.delete(e)}const y=(A,C="")=>{if(Th in A)return A[Jc]=C,A;const k=function(){Es(r);const x=Array.from(arguments),I=new Set,P=new Set;function V($){I.add($)}function j($){P.add($)}rs(p,{args:x,name:k[Jc],store:v,after:V,onError:j});let M;try{M=A.apply(this&&this.$id===e?this:v,x)}catch($){throw rs(P,$),$}return M instanceof Promise?M.then($=>(rs(I,$),$)).catch($=>(rs(P,$),Promise.reject($))):(rs(I,M),M)};return k[Th]=!0,k[Jc]=C,k},g={_p:r,$id:e,$onAction:Eh.bind(null,p),$patch:b,$reset:w,$subscribe(A,C={}){const k=Eh(l,A,C.detached,()=>x()),x=i.run(()=>nn(()=>r.state.value[e],I=>{(C.flush==="sync"?c:f)&&A({storeId:e,type:wo.direct,events:d},I)},Xn({},u,C)));return k},$dispose:_},v=qn(g);r._s.set(e,v);const S=(r._a&&r._a.runWithContext||BC)(()=>r._e.run(()=>(i=Ba()).run(()=>t({action:y}))));for(const A in S){const C=S[A];if(ze(C)&&!qC(C)||hn(C))o||(h&&HC(C)&&(ze(C)?C.value=h[A]:bf(C,h[A])),r.state.value[e][A]=C);else if(typeof C=="function"){const k=y(C,A);S[A]=k,a.actions[A]=C}}return Xn(v,S),Xn(ye(v),S),Object.defineProperty(v,"$state",{get:()=>r.state.value[e],set:A=>{b(C=>{Xn(C,A)})}}),r._p.forEach(A=>{Xn(v,i.run(()=>A({store:v,app:r._a,pinia:r,options:a})))}),h&&o&&n.hydrate&&n.hydrate(v.$state,h),f=!0,c=!0,v}function zr(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(i,a){const u=Wo();return i=i||(u?kt(Mv,null):null),i&&Es(i),i=Lv,i._s.has(e)||(s?$v(e,t,r,i):jC(e,r,i)),i._s.get(e)}return o.$id=e,o}function AB(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const s=e(this.$pinia),o=t[r];return typeof o=="function"?o.call(this,s):s[o]},n),{})}function RB(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[r](...s)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...s){return e(this.$pinia)[t[r]](...s)},n),{})}function VC(e){const t=GC(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const WC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function GC(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=WC.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const KC=-1,zC=-2,YC=-3,JC=-4,XC=-5,QC=-6;function ZC(e,t){return eA(JSON.parse(e),t)}function eA(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function o(i,a=!1){if(i===KC)return;if(i===YC)return NaN;if(i===JC)return 1/0;if(i===XC)return-1/0;if(i===QC)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const u=n[i];if(!u||typeof u!="object")r[i]=u;else if(Array.isArray(u))if(typeof u[0]=="string"){const f=u[0],c=t&&Object.hasOwn(t,f)?t[f]:void 0;if(c){let l=u[1];if(typeof l!="number"&&(l=n.push(u[1])-1),s??=new Set,s.has(l))throw new Error("Invalid circular reference");return s.add(l),r[i]=c(o(l)),s.delete(l),r[i]}switch(f){case"Date":r[i]=new Date(u[1]);break;case"Set":const l=new Set;r[i]=l;for(let h=1;h<u.length;h+=1)l.add(o(u[h]));break;case"Map":const p=new Map;r[i]=p;for(let h=1;h<u.length;h+=2)p.set(o(u[h]),o(u[h+1]));break;case"RegExp":r[i]=new RegExp(u[1],u[2]);break;case"Object":r[i]=Object(u[1]);break;case"BigInt":r[i]=BigInt(u[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let h=1;h<u.length;h+=2)d[u[h]]=o(u[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[u[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const h=globalThis[f],m=o(u[1]),b=new h(m);r[i]=u[2]!==void 0?b.subarray(u[2],u[3]):b;break}case"ArrayBuffer":{const h=u[1];if(typeof h!="string")throw new Error("Invalid ArrayBuffer encoding");const m=VC(h);r[i]=m;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const h=f.slice(9);r[i]=Temporal[h].from(u[1]);break}case"URL":{const h=new URL(u[1]);r[i]=h;break}case"URLSearchParams":{const h=new URLSearchParams(u[1]);r[i]=h;break}default:throw new Error(`Unknown type ${f}`)}}else{const f=new Array(u.length);r[i]=f;for(let c=0;c<u.length;c+=1){const l=u[c];
4l!==zC&&(f[c]=o(l))}}else{const f={};r[i]=f;for(const c in u){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const l=u[c];f[c]=o(l)}}return r[i]}return o(0)}const tA=new Set(["link","style","script","noscript"]),nA=new Set(["title","titleTemplate","script","style","noscript"]),Ch=new Set(["base","meta","link","style","script","noscript"]),rA=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),sA=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),oA=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),iA=new Set(["templateParams","htmlAttrs","bodyAttrs"]),aA=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Sf(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Sf(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Bv=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Uv(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o instanceof Promise)return o.then(()=>Uv(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function cA(e,t,n){if(e.length>0)return Uv(e,t,0,Bv(n))}function uA(e,t,n){if(e.length>0){const r=Bv(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function Xc(e,t){for(const n of[...e])n(t)}var lA=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Sf(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Sf(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(cA,e,t)}callHookParallel(e,...t){return this.callHookWith(uA,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Xc(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&Xc(this._after,r)}):(this._after&&r&&Xc(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function fA(){return new lA}const pA=["name","property","http-equiv"],dA=new Set(["viewport","description","keywords","robots"]);function Hv(e){const t=e.split(":");return t.length?aA.has(t[1]):!1}function wf(e){const{props:t,tag:n}=e;if(sA.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of pA)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&dA.has(s),u=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${u}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(nA.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Ah(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function ma(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>ma(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=ma(s[i],t,i);return o}return s}function hA(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(u=>u?u.trim():"");i&&a.length&&n.set(i,a.join(":"))}
4else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function qv(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=hA(n,r);return}if(oA.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";s==="true"||s===""?e.props[n]=o||i?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function mA(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=qv({tag:e,props:{}},n);return r.key&&tA.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function gA(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=ma(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(mA(s,i))}),r.flat()}const Ef=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Rh={base:-10,title:10},yA={critical:-8,high:-1,low:2},kh={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},_A=/@import/,so=e=>e===""||e===!0;function vA(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=yA[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:kh;if(t.tag in Rh)n=Rh[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=kh.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);so(t.props.async)?n=s.script.async:t.props.src&&!so(t.props.defer)&&!so(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(so(t.props.defer)&&t.props.src&&!so(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&_A.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Ih(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function bA(e={}){const t=fA();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Ih(i,a),push(a,u){const f={...u||{}};delete f.head;const c=f._index??i._entryCount++,l={_i:c,input:a,options:f},p={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(d){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(l.input=d,r.set(c,l),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const p=o.values().next().value;o.delete(p);const d=r.get(p);if(d){const h={tags:gA(d.input,e.propResolvers||[]).map(m=>Object.assign(m,d.options)),entry:d};await t.callHook("entries:normalize",h),d._tags=h.tags.map((m,b)=>(m._w=vA(i,m),m._p=(d._i<<10)+b,m._d=wf(m),m))}}let u=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Ef).reduce((p,d)=>{const h=String(d._d||d._p);if(!p.has(h))return p.set(h,d);const m=p.get(h);if((d?.tagDuplicateStrategy||(iA.has(d.tag)?"merge":null)||(d.key&&d.key===m.key?"merge":null))==="merge"){const w={...m.props};
4Object.entries(d.props).forEach(([_,y])=>w[_]=_==="style"?new Map([...m.props.style||new Map,...y]):_==="class"?new Set([...m.props.class||new Set,...y]):y),p.set(h,{...d,props:w})}else d._p>>10===m._p>>10&&d.tag==="meta"&&Hv(h)?(p.set(h,Object.assign([...Array.isArray(m)?m:[m],d],d)),u=!0):(d._w===m._w?d._p>m._p:d?._w<m?._w)&&p.set(h,d);return p},a.tagMap);const f=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=f?.textContent,c){const p=c?.textContent;if(i._titleTemplate=p,p){let d=typeof p=="function"?p(f?.textContent):p;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",f?.textContent||"")),f?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...f,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),u&&(a.tags=a.tags.flat().sort(Ef)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const l=[];for(const p of a.tags){const{innerHTML:d,tag:h,props:m}=p;if(rA.has(h)&&!(Object.keys(m).length===0&&!p.innerHTML&&!p.textContent)&&!(h==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(h==="script"&&d){if(String(m.type).endsWith("json")){const b=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=b.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));p._d=wf(p)}l.push(p)}}return l},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>Ih(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const Qc="%separator";function SA(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=e[t.substring(0,s)]?.[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function vi(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Qc);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Qc||!o.includes(a))return a;const u=SA(t,a.slice(1),r);return u!==void 0?u:a}).trim(),i&&(e=e.split(Qc).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),e}const Ph=e=>e.includes(":key")?e:e.split(":").join(":key:"),wA={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=Ph(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=Ph(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Ef))}}},EA={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function Tf(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>Tf(n)));if(e?.constructor===Object){const n={};for(const r of Object.keys(e))n[r]=await Tf(e[r]);return n}return e}const TA={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Tf(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},CA={meta:"content",link:"href",htmlAttrs:"lang"},AA=["innerHTML","textContent"],RA=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const n=t.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{const r=t.get("templateParams")?.props||{},s=r.separator||"|";delete r.separator,r.pageTitle=vi(r.pageTitle||e._title||"",r,s);for(const o of n){if(o.processTemplateParams===!1)continue;const i=CA[o.tag];if(i&&typeof o.props[i]=="string")o.props[i]=vi(o.props[i],r,s);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const a of AA)typeof o[a]=="string"&&(o[a]=vi(o[a],r,s,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=vi(n.textContent,e._templateParams,e._separator))}}}),kA=(e,t)=>ze(t)?g_(t):t,wp="usehead";function IA(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(wp,e)}}.install}function PA(){if(Wo()){const e=kt(wp);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function OA(e,t={}){const n=t.head||PA();return n.ssr?n.push(e||{},t):xA(n,e,t)}function xA(e,t,n={}){const r=be(!1);let s;return Tw(()=>{const i=r.value?{}:ma(t,kA);s?s.patch(i):s=e.push(i,n)}),Kt()&&(Wa(()=>{s.dispose()}),L_(()=>{r.value=!0}),D_(()=>{r.value=!1})),s}function NA(e){const t=e||Pv();return t?.ssrContext?.head||t?.runWithContext(()=>{if(Wo())return kt(wp)})}function jv(e,t={}
4){const n=NA(t.nuxt);if(n)return OA(e,{head:n,...t})}const DA=(e,t)=>[],LA=e=>xC({},...DA().map(t=>t.data).reverse()),MA=LA;function Vv(e){const t=typeof e=="string"?e:e.path;try{return MA(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Oh(e,t={}){return null}async function FA(e){return null}let Cr=null;async function $A(){if(Cr)return Cr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await BA(e.textContent||""),n=e.dataset.src?await FA(e.dataset.src):void 0;return Cr={...t,...n,...window.__NUXT__},Cr.config?.public&&(Cr.config.public=qn(Cr.config.public)),Cr}async function BA(e){return await ZC(e,fe()._payloadRevivers)}function Wv(e,t){fe()._payloadRevivers[e]=t}const UA=PC(()=>{Wv("skipHydrate",e=>{})}),HA=[["NuxtError",e=>Dn(e)],["EmptyShallowRef",e=>mn(e==="_"?void 0:e==="0n"?BigInt(0):fa(e))],["EmptyRef",e=>be(e==="_"?void 0:e==="0n"?BigInt(0):fa(e))],["ShallowRef",e=>mn(e)],["ShallowReactive",e=>rr(e)],["Ref",e=>be(e)],["Reactive",e=>qn(e)]],qA=Je({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of HA)Wv(r,s);Object.assign(e.payload,([t,n]=gs(()=>e.runWithContext($A)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Ep(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(h=>{d(h.map(m=>{const b=o.get(m._d)||0,w={tag:m,id:(b?`${m._d}:${b}`:m._d)||Ah(m),shouldRender:!0};return m._d&&Hv(m._d)&&o.set(m._d,b+1),w}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const h=n[d]?.children;for(const m of h){const b=m.tagName.toLowerCase();if(!Ch.has(b))continue;const w=qv({tag:b,props:{}},{innerHTML:m.innerHTML,...m.getAttributeNames().reduce((_,y)=>(_[y]=m.getAttribute(y),_),{})||{}});if(w.key=m.getAttribute("data-hid")||void 0,w._d=wf(w)||Ah(w),a.elMap.has(w._d)){let _=1,y=w._d;for(;a.elMap.has(y);)y=`${w._d}:${_++}`;a.elMap.set(y,m)}else a.elMap.set(w._d,m)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function u(d,h,m){const b=`${d}:${h}`;a.sideEffects[b]=m,delete a.pendingSideEffects[b]}function f({id:d,$el:h,tag:m}){const b=m.tag.endsWith("Attrs");a.elMap.set(d,h),b||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),u(d,"el",()=>{h?.remove(),a.elMap.delete(d)}));for(const w in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,w))continue;const _=m.props[w];if(w.startsWith("on")&&typeof _=="function"){const g=h?.dataset;if(g&&g[`${w}fired`]){const v=w.slice(0,-5);_.call(h,new Event(v.substring(2)))}h.getAttribute(`data-${w}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(w.substring(2),_.bind(h)),h.setAttribute(`data-${w}`,""));continue}const y=`attr:${w}`;if(w==="class"){if(!_)continue;for(const g of _)b&&u(d,`${y}:${g}`,()=>h.classList.remove(g)),!h.classList.contains(g)&&h.classList.add(g)}else if(w==="style"){if(!_)continue;for(const[g,v]of _)u(d,`${y}:${g}`,()=>{h.style.removeProperty(g)}),h.style.setProperty(g,v)}else _!==!1&&_!==null&&(h.getAttribute(w)!==_&&h.setAttribute(w,_===!0?"":String(_)),b&&u(d,y,()=>h.removeAttribute(w)))}}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await i;for(const d of p){const{tag:h,shouldRender:m,id:b}=d;if(m){if(h.tag==="title"){n.title=h.textContent,u("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(b),d.$el?f(d):Ch.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),f(d),l[h]=l[h]||n.createDocumentFragment(),l[h].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,u);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function jA(e={}){const t=e.domOptions?.render||Ep;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return bA({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function VA(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function WA(e={}){const t=jA({domOptions:{render:VA(()=>Ep(t),n=>setTimeout(n,0))},...e});return t.install=IA(t),t}const GA={disableDefaults:!0,disableCapoSorting:!1,plugins:[EA,TA,RA,wA]},KA=Je({name:"nuxt:head",enforce:"pre",setup(e){const t=WA(GA);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Ep(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const is=typeof document<"u";function Gv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 25,839 bytes, line 4
4function zA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Gv(e.default)}const ke=Object.assign;function Zc(e,t){const n={};for(const r in t){const s=t[r];n[r]=on(s)?s.map(e):e(s)}return n}const Eo=()=>{},on=Array.isArray;function xh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Kv=/#/g,YA=/&/g,JA=/\//g,XA=/=/g,QA=/\?/g,zv=/\+/g,ZA=/%5B/g,eR=/%5D/g,Yv=/%5E/g,tR=/%60/g,Jv=/%7B/g,nR=/%7C/g,Xv=/%7D/g,rR=/%20/g;function Tp(e){return e==null?"":encodeURI(""+e).replace(nR,"|").replace(ZA,"[").replace(eR,"]")}function sR(e){return Tp(e).replace(Jv,"{").replace(Xv,"}").replace(Yv,"^")}function Cf(e){return Tp(e).replace(zv,"%2B").replace(rR,"+").replace(Kv,"%23").replace(YA,"%26").replace(tR,"`").replace(Jv,"{").replace(Xv,"}").replace(Yv,"^")}function oR(e){return Cf(e).replace(XA,"%3D")}function iR(e){return Tp(e).replace(Kv,"%23").replace(QA,"%3F")}function aR(e){return iR(e).replace(JA,"%2F")}function Mo(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const cR=/\/$/,uR=e=>e.replace(cR,"");function eu(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let u=t.indexOf("?");return u=a>=0&&u>a?-1:u,u>=0&&(r=t.slice(0,u),o=t.slice(u,a>0?a:t.length),s=e(o.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=dR(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:Mo(i)}}function lR(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Nh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function fR(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ts(t.matched[r],n.matched[s])&&Qv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ts(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!pR(e[n],t[n]))return!1;return!0}function pR(e,t){return on(e)?Dh(e,t):on(t)?Dh(t,e):e?.valueOf()===t?.valueOf()}function Dh(e,t){return on(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function dR(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Af=(function(e){return e.pop="pop",e.push="push",e})({}),tu=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function hR(e){if(!e)if(is){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),uR(e)}const mR=/^[^#]+#/;function gR(e,t){return e.replace(mR,"#")+t}function yR(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Xa=()=>({left:window.scrollX,top:window.scrollY});function _R(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=yR(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Lh(e,t){return(history.state?history.state.position-t:-1)+e}const Rf=new Map;function vR(e,t){Rf.set(e,t)}function bR(e){const t=Rf.get(e);return Rf.delete(e),t}function SR(e){return typeof e=="string"||e&&typeof e=="object"}function Zv(e){return typeof e=="string"||typeof e=="symbol"}let Qe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const eb=Symbol("");Qe.MATCHER_NOT_FOUND+"",Qe.NAVIGATION_GUARD_REDIRECT+"",Qe.NAVIGATION_ABORTED+"",Qe.NAVIGATION_CANCELLED+"",Qe.NAVIGATION_DUPLICATED+"";function Cs(e,t){return ke(new Error,{type:e,[eb]:!0},t)}function En(e,t){return e instanceof Error&&eb in e&&(t==null||!!(e.type&t))}const wR=["params","query","hash"];function ER(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of wR)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function TR(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(zv," "),o=s.indexOf("="),i=Mo(o<0?s:s.slice(0,o)),a=o<0?null:Mo(s.slice(o+1));if(i in t){let u=t[i];on(u)||(u=t[i]=[u]),u.push(a)}else t[i]=a}return t}function Mh(e){let t="";for(let n in e){const r=e[n];if(n=oR(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(on(r)?r.map(s=>s&&Cf(s)):[r&&Cf(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function CR(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=on(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const AR=Symbol(""),Fh=Symbol(""),Cp=Symbol(""),Ap=Symbol(""),kf=Symbol("");function oo(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function tr(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,u)=>{const f=p=>{p===!1?u(Cs(Qe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?u(p):SR(p)?u(Cs(Qe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),a())},c=o(()=>e.call(r&&r.instances[s],t,n,f));let l=Promise.resolve(c);e.length<3&&(l=l.then(f)),l.catch(p=>u(p))})}function nu(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let u=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Gv(u)){const f=(u.__vccOpts||u)[t];f&&o.push(tr(f,n,r,i,a,s))}else{let f=u();o.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const l=zA(c)?c.default:c;i.mods[a]=c,i.components[a]=l;const p=(l.__vccOpts||l)[t];return p&&tr(p,n,r,i,a,s)()}))}}return o}function RR(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(f=>Ts(f,a))?r.push(a):n.push(a));const u=e.matched[i];u&&(t.matched.find(f=>Ts(f,u))||s.push(u))}return[n,r,s]}let kR=()=>location.protocol+"//"+location.host;function tb(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),Nh(a,"")}return Nh(n,e)+r+s}function IR(e,t,n,r){let s=[],o=[],i=null;const a=({state:p})=>{const d=tb(e,location),h=n.value,m=t.value;let b=0;if(p){if(n.value=d,t.value=p,i&&i===h){i=null;return}b=m?p.position-m.position:0}else r(d);s.forEach(w=>{w(n.value,h,{delta:b,type:Af.pop,direction:b?b>0?tu.forward:tu.back:tu.unknown})})};function u(){i=n.value}function f(p){s.push(p);const d=()=>{const h=s.indexOf(p);h>-1&&s.splice(h,1)};return o.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ke({},p.state,{scroll:Xa()}),"")}}function l(){for(const p of o)p();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:u,listen:f,destroy:l}}function $h(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Xa():null}}function PR(e){const{history:t,location:n}=window,r={value:tb(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,f,c){const l=e.indexOf("#"),p=l>-1?(n.host&&document.querySelector("base")?e:e.slice(l))+u:kR()+e+u;try{t[c?"replaceState":"pushState"](f,"",p),s.value=f}catch(d){console.error(d),n[c?"replace":"assign"](p)}}function i(u,f){o(u,ke({},t.state,$h(s.value.back,u,s.value.forward,!0),f,{position:s.value.position}),!0),r.value=u}function a(u,f){const c=ke({},s.value,t.state,{forward:u,scroll:Xa()});o(c.current,c,!0),o(u,ke({},$h(r.value,u,null),{position:c.position+1},f),!1),r.value=u}return{location:r,state:s,push:a,replace:i}}function OR(e){e=hR(e);const t=PR(e),n=IR(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=ke({location:"",base:e,go:r,createHref:gR.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let xr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var it=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(it||{});const xR={type:xr.Static,value:""},NR=/[a-zA-Z0-9_]/;function DR(e){if(!e)return[[]];if(e==="/")return[[xR]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${f}": ${d}`)}let n=it.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,u,f="",c="";function l(){f&&(n===it.Static?o.push({type:xr.Static,value:f}):n===it.Param||n===it.ParamRegExp||n===it.ParamRegExpEnd?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:xr.Param,value:f,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=u}for(;a<e.length;){if(u=e[a++],u==="\\"&&n!==it.ParamRegExp){r=n,n=it.EscapeNext;continue}switch(n){case it.Static:u==="/"?(f&&l(),i()):u===":"?(l(),n=it.Param):p();break;case it.EscapeNext:p(),n=r;break;case it.Param:u==="("?n=it.ParamRegExp:NR.test(u)?p():(l(),n=it.Static,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case it.ParamRegExp:u===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+u:n=it.ParamRegExpEnd:c+=u;break;case it.ParamRegExpEnd:l(),n=it.Static,u!=="*"&&u!=="?"&&u!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===it.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),l(),i(),s}const Bh="[^/]+?",LR={sensitive:!1,strict:!1,start:!0,end:!0};var At=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(At||{});const MR=/[.+*?^${}()[\]/\\]/g;function FR(e,t){const n=ke({},LR,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const c=f.length?[]:[At.Root];n.strict&&!f.length&&(s+="/");for(let l=0;l<f.length;l++){const p=f[l];let d=At.Segment+(n.sensitive?At.BonusCaseSensitive:0);if(p.type===xr.Static)l||(s+="/"),s+=p.value.replace(MR,"\\$&"),d+=At.Static;else if(p.type===xr.Param){const{value:h,repeatable:m,optional:b,regexp:w}=p;o.push({name:h,repeatable:m,optional:b});const _=w||Bh;if(_!==Bh){d+=At.BonusCustomRegExp;try{`${_}`}catch(g){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+g.message)}}let y=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;l||(y=b&&f.length<2?`(?:/${y})`:"/"+y),b&&(y+="?"),s+=y,d+=At.Dynamic,b&&(d+=At.BonusOptional),m&&(d+=At.BonusRepeatable),_===".*"&&(d+=At.BonusWildcard)}c.push(d)}r.push(c)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=At.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(f){const c=f.match(i),l={};if(!c)return null;for(let p=1;p<c.length;p++){const d=c[p]||"",h=o[p-1];l[h.name]=d&&h.repeatable?d.split("/"):d}return l}function u(f){let c="",l=!1;for(const p of e){(!l||!c.endsWith("/"))&&(c+="/"),l=!1;for(const d of p)if(d.type===xr.Static)c+=d.value;else if(d.type===xr.Param){const{value:h,repeatable:m,optional:b}=d,w=h in f?f[h]:"";if(on(w)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=on(w)?w.join("/"):w;if(!_)if(b)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):l=!0);else throw new Error(`Missing required param "${h}"`);c+=_}}return c||"/"}return{re:i,score:r,keys:o,parse:a,stringify:u}}function $R(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===At.Static+At.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===At.Static+At.Segment?1:-1:0}function nb(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=$R(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Uh(r))return 1;if(Uh(s))return-1}return s.length-r.length}function Uh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const BR={strict:!1,end:!0,sensitive:!1};function UR(e,t,n){const r=FR(DR(e.path),n),s=ke(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function HR(e,t){const n=[],r=new Map;t=xh(BR,t);function s(l){return r.get(l)}function o(l,p,d){const h=!d,m=qh(l);m.aliasOf=d&&d.record;const b=xh(t,l),w=[m];if("alias"in l){const g=typeof l.alias=="string"?[l.alias]:l.alias;for(const v of g)w.push(qh(ke({},m,{components:d?d.record.components:m.components,path:v,aliasOf:d?d.record:m})))}let _,y;for(const g of w){const{path:v}=g;if(p&&v[0]!=="/"){const E=p.record.path,S=E[E.length-1]==="/"?"":"/";g.path=p.record.path+(v&&S+v)}if(_=UR(g,p,b),d?d.alias.push(_):(y=y||_,y!==_&&y.alias.push(_),h&&l.name&&!jh(_)&&i(l.name)),rb(_)&&u(_),m.children){const E=m.children;for(let S=0;S<E.length;S++)o(E[S],_,d&&d.children[S])}d=d||_}return y?()=>{i(y)}:Eo}function i(l){if(Zv(l)){const p=r.get(l);p&&(r.delete(l),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(l);p>-1&&(n.splice(p,1),l.record.name&&r.delete(l.record.name),l.children.forEach(i),l.alias.forEach(i))}}function a(){return n}function u(l){const p=VR(l,n);n.splice(p,0,l),l.record.name&&!jh(l)&&r.set(l.record.name,l)}function f(l,p){let d,h={},m,b;if("name"in l&&l.name){if(d=r.get(l.name),!d)throw Cs(Qe.MATCHER_NOT_FOUND,{location:l});b=d.record.name,h=ke(Hh(p.params,d.keys.filter(y=>!y.optional).concat(d.parent?d.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),l.params&&Hh(l.params,d.keys.map(y=>y.name))),m=d.stringify(h)}else if(l.path!=null)m=l.path,d=n.find(y=>y.re.test(m)),d&&(h=d.parse(m),b=d.record.name);else{if(d=p.name?r.get(p.name):n.find(y=>y.re.test(p.path)),!d)throw Cs(Qe.MATCHER_NOT_FOUND,{location:l,currentLocation:p});b=d.record.name,h=ke({},p.params,l.params),m=d.stringify(h)}const w=[];let _=d;for(;_;)w.unshift(_.record),_=_.parent;return{name:b,path:m,params:h,matched:w,meta:jR(w)}}e.forEach(l=>o(l));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function Hh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function qh(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:qR(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function qR(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function jh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jR(e){return e.reduce((t,n)=>ke(t,n.meta),{})}function VR(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;nb(e,t[o])<0?r=o:n=o+1}const s=WR(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function WR(e){let t=e;for(;t=t.parent;)if(rb(t)&&nb(e,t)===0)return t}function rb({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Vh(e){const t=kt(Cp),n=kt(Ap),r=je(()=>{const u=De(e.to);return t.resolve(u)}),s=je(()=>{const{matched:u}=r.value,{length:f}=u,c=u[f-1],l=n.matched;if(!c||!l.length)return-1;const p=l.findIndex(Ts.bind(null,c));if(p>-1)return p;const d=Wh(u[f-2]);return f>1&&Wh(c)===d&&l[l.length-1].path!==d?l.findIndex(Ts.bind(null,u[f-2])):p}),o=je(()=>s.value>-1&&JR(n.params,r.value.params)),i=je(()=>s.value>-1&&s.value===n.matched.length-1&&Qv(n.params,r.value.params));function a(u={}){if(YR(u)){const f=t[De(e.replace)?"replace":"push"](De(e.to)).catch(Eo);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:je(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function GR(e){return e.length===1?e[0]:e}const KR=cn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Vh,setup(e,{slots:t}){const n=qn(Vh(e)),{options:r}=kt(Cp),s=je(()=>({[Gh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&GR(t.default(n));return e.custom?o:Ls("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),zR=KR;function YR(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function JR(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!on(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function Wh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gh=(e,t,n)=>e??t??n,XR=cn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=kt(kf),s=je(()=>e.route||r.value),o=kt(Fh,0),i=je(()=>{let f=De(o);const{matched:c}=s.value;let l;for(;(l=c[f])&&!l.components;)f++;return f}),a=je(()=>s.value.matched[i.value]);Mr(Fh,je(()=>i.value+1)),Mr(AR,a),Mr(kf,s);const u=be();return nn(()=>[u.value,a.value,e.name],([f,c,l],[p,d,h])=>{c&&(c.instances[l]=f,d&&d!==c&&f&&f===p&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),f&&c&&(!d||!Ts(c,d)||!p)&&(c.enterCallbacks[l]||[]).forEach(m=>m(f))},{flush:"post"}),()=>{const f=s.value,c=e.name,l=a.value,p=l&&l.components[c];if(!p)return Kh(n.default,{Component:p,route:f});const d=l.props[c],h=d?d===!0?f.params:typeof d=="function"?d(f):d:null,b=Ls(p,ke({},h,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(l.instances[c]=null)},ref:u}));return Kh(n.default,{Component:b,route:f})||b}}});function Kh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const QR=XR;function ZR(e){const t=HR(e.routes,e),n=e.parseQuery||TR,r=e.stringifyQuery||Mh,s=e.history,o=oo(),i=oo(),a=oo(),u=mn(Xt);let f=Xt;is&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Zc.bind(null,U=>""+U),l=Zc.bind(null,aR),p=Zc.bind(null,Mo);function d(U,Q){let K,z;return Zv(U)?(K=t.getRecordMatcher(U),z=Q):z=U,t.addRoute(z,K)}function h(U){const Q=t.getRecordMatcher(U);Q&&t.removeRoute(Q)}function m(){return t.getRoutes().map(U=>U.record)}function b(U){return!!t.getRecordMatcher(U)}function w(U,Q){if(Q=ke({},Q||u.value),typeof U=="string"){const R=eu(n,U,Q.path),D=t.resolve({path:R.path},Q),H=s.createHref(R.fullPath);return ke(R,D,{params:p(D.params),hash:Mo(R.hash),redirectedFrom:void 0,href:H})}let K;if(U.path!=null)K=ke({},U,{path:eu(n,U.path,Q.path).path});else{const R=ke({},U.params);for(const D in R)R[D]==null&&delete R[D];K=ke({},U,{params:l(R)}),Q.params=l(Q.params)}const z=t.resolve(K,Q),te=U.hash||"";z.params=c(p(z.params));const oe=lR(r,ke({},U,{hash:sR(te),path:z.path})),T=s.createHref(oe);return ke({fullPath:oe,hash:te,query:r===Mh?CR(U.query):U.query||{}},z,{redirectedFrom:void 0,href:T})}function _(U){return typeof U=="string"?eu(n,U,u.value.path):ke({},U)}function y(U,Q){if(f!==U)return Cs(Qe.NAVIGATION_CANCELLED,{from:Q,to:U})}function g(U){return S(U)}function v(U){return g(ke(_(U),{replace:!0}))}function E(U,Q){const K=U.matched[U.matched.length-1];if(K&&K.redirect){const{redirect:z}=K;let te=typeof z=="function"?z(U,Q):z;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=_(te):{path:te},te.params={}),ke({query:U.query,hash:U.hash,params:te.path!=null?{}:U.params},te)}}function S(U,Q){const K=f=w(U),z=u.value,te=U.state,oe=U.force,T=U.replace===!0,R=E(K,z);if(R)return S(ke(_(R),{state:typeof R=="object"?ke({},te,R.state):te,force:oe,replace:T}),Q||K);const D=K;D.redirectedFrom=Q;let H;return!oe&&fR(r,z,K)&&(H=Cs(Qe.NAVIGATION_DUPLICATED,{to:D,from:z}),Re(z,z,!0,!1)),(H?Promise.resolve(H):k(D,z)).catch(F=>En(F)?En(F,Qe.NAVIGATION_GUARD_REDIRECT)?F:Oe(F):N(F,D,z)).then(F=>{if(F){if(En(F,Qe.NAVIGATION_GUARD_REDIRECT))return S(ke({replace:T},_(F.to),{state:typeof F.to=="object"?ke({},te,F.to.state):te,force:oe}),Q||D)}else F=I(D,z,!0,T,te);return x(D,z,F),F})}function A(U,Q){const K=y(U,Q);return K?Promise.reject(K):Promise.resolve()}function C(U){const Q=_e.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(U):U()}function k(U,Q){let K;const[z,te,oe]=RR(U,Q);K=nu(z.reverse(),"beforeRouteLeave",U,Q);for(const R of z)R.leaveGuards.forEach(D=>{K.push(tr(D,U,Q))});const T=A.bind(null,U,Q);return K.push(T),He(K).then(()=>{K=[];for(const R of o.list())K.push(tr(R,U,Q));return K.push(T),He(K)}).then(()=>{K=nu(te,"beforeRouteUpdate",U,Q);for(const R of te)R.updateGuards.forEach(D=>{K.push(tr(D,U,Q))});return K.push(T),He(K)}).then(()=>{K=[];for(const R of oe)if(R.beforeEnter)if(on(R.beforeEnter))for(const D of R.beforeEnter)K.push(tr(D,U,Q));else K.push(tr(R.beforeEnter,U,Q));return K.push(T),He(K)}).then(()=>(U.matched.forEach(R=>R.enterCallbacks={}),K=nu(oe,"beforeRouteEnter",U,Q,C),K.push(T),He(K))).then(()=>{K=[];for(const R of i.list())K.push(tr(R,U,Q));return K.push(T),He(K)}).catch(R=>En(R,Qe.NAVIGATION_CANCELLED)?R:Promise.reject(R))}function x(U,Q,K){a.list().forEach(z=>C(()=>z(U,Q,K)))}function I(U,Q,K,z,te){const oe=y(U,Q);if(oe)return oe;const T=Q===Xt,R=is?history.state:{};K&&(z||T?s.replace(U.fullPath,ke({scroll:T&&R&&R.scroll},te)):s.push(U.fullPath,te)),u.value=U,Re(U,Q,K,T),Oe()}let P;function V(){P||(P=s.listen((U,Q,K)=>{if(!Ce.listening)return;const z=w(U),te=E(z,Ce.currentRoute.value);if(te){S(ke(te,{replace:!0,force:!0}),z).catch(Eo);return}f=z;const oe=u.value;is&&vR(Lh(oe.fullPath,K.delta),Xa()),k(z,oe).catch(T=>En(T,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_CANCELLED)?T:En(T,Qe.NAVIGATION_GUARD_REDIRECT)?(S(ke(_(T.to),{force:!0}),z).then(R=>{En(R,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_DUPLICATED)&&!K.delta&&K.type===Af.pop&&s.go(-1,!1)}).catch(Eo),Promise.reject()):(K.delta&&s.go(-K.delta,!1),N(T,z,oe))).then(T=>{T=T||I(z,oe,!1),T&&(K.delta&&!En(T,Qe.NAVIGATION_CANCELLED)?s.go(-K.delta,!1):K.type===Af.pop&&En(T,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),x(z,oe,T)}).catch(Eo)}))}let j=oo(),M=oo(),$;function N(U,Q,K){Oe(U);const z=M.list();return z.length?z.forEach(te=>te(U,Q,K)):console.error(U),Promise.reject(U)}function Z(){return $&&u.value!==Xt?Promise.resolve():new Promise((U,Q)=>{j.add([U,Q])})}function Oe(U){return $||($=!U,V(),j.list().forEach(([Q,K])=>U?K(U):Q()),j.reset()),U}function Re(U,Q,K,z){const{scrollBehavior:te}=e;if(!is||!te)return Promise.resolve();const oe=!K&&bR(Lh(U.fullPath,0))||(z||!K)&&history.state&&history.state.scroll||null;return Ds().then(()=>te(U,Q,oe)).then(T=>T&&_R(T)).catch(T=>N(T,U,Q))}const ee=U=>s.go(U);let ie;const _e=new Set,Ce={currentRoute:u,listening:!0,addRoute:d,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:m,resolve:w,options:e,push:g,replace:v,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:M.add,isReady:Z,install(U){U.component("RouterLink",zR),U.component("RouterView",QR),U.config.globalProperties.$router=Ce,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>De(u)}),is&&!ie&&u.value===Xt&&(ie=!0,g(s.location).catch(z=>{}));const Q={};for(const z in Xt)Object.defineProperty(Q,z,{get:()=>u.value[z],enumerable:!0});U.provide(Cp,Ce),U.provide(Ap,rr(Q)),U.provide(kf,u);const K=U.unmount;_e.add(U),U.unmount=function(){_e.delete(U),_e.size<1&&(f=Xt,P&&P(),P=null,u.value=Xt,ie=!1,$=!1),K()}}};function He(U){return U.reduce((Q,K)=>Q.then(()=>C(K)),Promise.resolve())}return Ce}function kB(e){return kt(Ap)}const e1=/(:\w+)\([^)]+\)/g,t1=/(:\w+)[?+*]/g,n1=/:\w+/g,r1=(e,t)=>t.path.replace(e1,"$1").replace(t1,"$1").replace(n1,n=>e.params[n.slice(1)]?.toString()||""),IB=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&r1(e.route,n));return typeof r=="function"?r(e.route):r},PB=(e,t)=>({default:()=>e?Ls(Fw,e===!0?{}:e,t):t});
4function sb(e){return Array.isArray(e)?e:[e]}const s1="modulepreload",o1=function(e,t){return new URL(e,t).href},zh={},Ae=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let f=function(c){return Promise.all(c.map(l=>Promise.resolve(l).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),u=a?.nonce||a?.getAttribute("nonce");s=f(n.map(c=>{if(c=o1(c,r),c in zh)return;zh[c]=!0;const l=c.endsWith(".css"),p=l?'[rel="stylesheet"]':"";if(r)for(let h=i.length-1;h>=0;h--){const m=i[h];if(m.href===c&&(!l||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":s1,l||(d.as="script"),d.crossOrigin="",d.href=c,u&&d.setAttribute("nonce",u),document.head.appendChild(d),l)return new Promise((h,m)=>{d.addEventListener("load",h),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},ru={layout:!1},su=[{name:"index",path:"/",component:()=>Ae(()=>import("./v2.5-DDmg-04V.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]),import.meta.url)},{name:"archive-tag-page",path:"/tag",component:()=>Ae(()=>import("./v2.5--a4MhDnq.js"),__vite__mapDeps([44,45,4,5,6,7,8,9,10,11,12,27,46,47,40,41,34,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,49,28,29,50,1,39,51]),import.meta.url),children:[{name:"archive-tag-name",path:":tagName",component:()=>Ae(()=>import("./v2.5--a4MhDnq.js"),__vite__mapDeps([44,45,4,5,6,7,8,9,10,11,12,27,46,47,40,41,34,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,49,28,29,50,1,39,51]),import.meta.url)},{name:"archive-tag-number",path:":tagName/page/:pageNumber(\\d+)",component:()=>Ae(()=>import("./v2.5--a4MhDnq.js"),__vite__mapDeps([44,45,4,5,6,7,8,9,10,11,12,27,46,47,40,41,34,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,49,28,29,50,1,39,51]),import.meta.url)}]},{name:"search",path:"/search",meta:{type:"search"},component:()=>Ae(()=>import("./v2.5-thaKVX_A.js"),__vite__mapDeps([52,53,18,54,55,56,57,31,13,4,5,6,7,8,9,10,11,12,14,15,16,17,19,20,21,22,23,24,25,32,48,27,49,40,41,34,35,36,37,38,42,58]),import.meta.url)},{path:"/search/*",redirect:"/search"},{name:"archive-top-page",path:"/top",component:()=>Ae(()=>import("./v2.5-D_QCI5C1.js"),__vite__mapDeps([59,7,8,27,13,4,5,6,9,10,11,12,14,15,16,17,18,19,20,1,47,40,41,34,35,36,37,38,42,30,31,21,22,23,24,25,32,33,48,49,28,29,50,60,61]),import.meta.url),children:[{name:"archive-top-period",path:":topPeriod",component:()=>Ae(()=>import("./v2.5-D_QCI5C1.js"),__vite__mapDeps([59,7,8,27,13,4,5,6,9,10,11,12,14,15,16,17,18,19,20,1,47,40,41,34,35,36,37,38,42,30,31,21,22,23,24,25,32,33,48,49,28,29,50,60,61]),import.meta.url)},{name:"archive-top-number",path:":topPeriod/page/:pageNumber(\\d+)",component:()=>Ae(()=>import("./v2.5-D_QCI5C1.js"),__vite__mapDeps([59,7,8,27,13,4,5,6,9,10,11,12,14,15,16,17,18,19,20,1,47,40,41,34,35,36,37,38,42,30,31,21,22,23,24,25,32,33,48,49,28,29,50,60,61]),import.meta.url)}]},{name:"archive-author-page",path:"/author",component:()=>Ae(()=>import("./v2.5-D_edbRUR.js"),__vite__mapDeps([62,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,60,39,63]),import.meta.url),children:[{name:"archive-author-slug",path:":authorSlug",component:()=>Ae(()=>import("./v2.5-D_edbRUR.js"),__vite__mapDeps([62,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,60,39,63]),import.meta.url)},{name:"archive-author-number",path:":authorSlug/page/:pageNumber(\\d+)",component:()=>Ae(()=>import("./v2.5-D_edbRUR.js"),__vite__mapDeps([62,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,60,39,63]),import.meta.url)}]},{name:"archive-category-page",path:"/category",component:()=>Ae(()=>import("./v2.5-ilpIoES9.js"),__vite__mapDeps([64,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,45,46,39,60,65]),import.meta.url),children:[{name:"archive-category-slug",path:":categorySlug",component:()=>Ae(()=>import("./v2.5-ilpIoES9.js"),__vite__mapDeps([64,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,45,46,39,60,65]),import.meta.url)},{name:"archive-category-number",path:":categorySlug/page/:pageNumber(\\d+)",component:()=>Ae(()=>import("./v2.5-ilpIoES9.js"),__vite__mapDeps([64,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,45,46,39,60,65]),import.meta.url)}]},{name:"archive-all",path:"/page",component:()=>Ae(()=>import("./v2.5-Dlf8GUNI.js"),__vite__mapDeps([66,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,39,60,67]),import.meta.url),children:[{name:"archive-all-with-page",path:":pageNumber",component:()=>Ae(()=>import("./v2.5-Dlf8GUNI.js"),__vite__mapDeps([66,1,47,40,41,34,4,5,6,7,8,9,10,11,12,35,36,37,38,42,30,31,13,14,15,16,17,18,19,20,21,22,23,24,25,32,33,48,27,49,28,29,50,39,60,67]),import.meta.url)}]},{name:"preview",path:"/preview/:postId",meta:{...ru||{},middleware:["article-data","preview-data"]},component:()=>Ae(()=>import("./v2.5-BvuIq4H3.js"),__vite__mapDeps([68,69,54,1,70,71,14,5,6,72]),import.meta.url)},{name:"preview-public",path:"/preview/:postId/public",meta:{...ru||{},middleware:["article-data","preview-data"]},component:()=>Ae(()=>import("./v2.5-BvuIq4H3.js"),__vite__mapDeps([68,69,54,1,70,71,14,5,6,72]),import.meta.url)},{name:"article-amp",path:"/:slug/amp",component:()=>Ae(()=>import("./v2.5-BeXShaMQ.js"),__vite__mapDeps([73,1,74,37,11,4,5,6,7,8,9,10,12,75,25,76,77,78,79,80,19,81,82,83,2,14,84]),import.meta.url)},{name:"article",path:"/:article",meta:{...ru||{},middleware:["article-data","preview-data"]},component:()=>Ae(()=>import("./v2.5-BvuIq4H3.js"),__vite__mapDeps([68,69,54,1,70,71,14,5,6,72]),import.meta.url)}],OB=(e,t)=>({default:()=>e?Ls(FE,e===!0?{}:e,t):t.default?.()}),i1=/(:\w+)\([^)]+\)/g,a1=/(:\w+)[?+*]/g,c1=/:\w+/g;function Yh(e){const t=e?.meta.key??e.path.replace(i1,"$1").replace(a1,"$1").replace(c1,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function u1(e,t){return e===t||t===Xt?!1:Yh(e)!==Yh(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const l1={scrollBehavior(e,t,n){const r=fe(),s=Kr().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:ob(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const i=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===Xt){a(Jh(e,t,n,s));return}r.hooks.hookOnce(i,()=>{requestAnimationFrame(()=>a(Jh(e,t,n,s)))})})}};function ob(e){try{const t=document.querySelector(e);
4if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Jh(e,t,n,r){if(n)return n;const s=u1(e,t);return e.hash?{el:e.hash,top:ob(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const f1={hashMode:!1,scrollBehaviorType:"auto"},Yn={...f1,...l1},p1=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=gs(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=Dn({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},d1=e=>{const t=Vv({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return zo(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},h1=[p1,d1],If={"article-data":()=>Ae(()=>import("./v2.5-BJm6FtJk.js"),__vite__mapDeps([85,74,10,14,86,35,36]),import.meta.url),"preview-data":()=>Ae(()=>import("./v2.5-D4BoMMaE.js"),__vite__mapDeps([87,74,14,35,36]),import.meta.url)};function m1(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const f=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(f);return c[0]!=="/"&&(c="/"+c),mh(gh(c,""))}const a=mh(gh(r,e)),u=!n||jT(a,n)?a:n;return u+(u.includes("?")?"":s)+o}const g1=Je({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Ov().app.baseURL;const s=Yn.history?.(r)??OR(r),o=Yn.routes?([t,n]=gs(()=>Yn.routes(su)),t=await t,n(),t??su):su;let i;const a=ZR({...Yn,scrollBehavior:(b,w,_)=>{if(w===Xt){i=_;return}if(Yn.scrollBehavior){if(a.options.scrollBehavior=Yn.scrollBehavior,"scrollRestoration"in window.history){const y=a.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return Yn.scrollBehavior(b,Xt,i||_)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const u=mn(a.currentRoute.value);a.afterEach((b,w)=>{u.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const f=m1(r,window.location,e.payload.path),c=mn(a.currentRoute.value),l=()=>{c.value=a.currentRoute.value};a.afterEach((b,w)=>{b.matched.at(-1)?.components?.default===w.matched.at(-1)?.components?.default&&l()});const p={sync:l};for(const b in c.value)Object.defineProperty(p,b,{get:()=>c.value[b],enumerable:!0});e._route=rr(p),e._middleware||={global:[],named:{}};const d=Ja();a.afterEach(async(b,w,_)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(FC),_&&await e.callHook("page:loading:end")});try{[t,n]=gs(()=>a.isReady()),await t,n()}catch(b){[t,n]=gs(()=>e.runWithContext(()=>Ir(b))),await t,n()}const h=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;l();const m=e.payload.state._layout;return a.beforeEach(async(b,w)=>{await e.callHook("page:loading:start"),b.meta=qn(b.meta),e.isHydrating&&m&&!_n(b.meta.layout)&&(b.meta.layout=m),e._processingMiddleware=!0;{const _=new Set([...h1,...e._middleware.global]);for(const g of b.matched){const v=g.meta.middleware;if(v)for(const E of sb(v))_.add(E)}const y=Vv({path:b.path});if(y.appMiddleware)for(const g in y.appMiddleware)y.appMiddleware[g]?_.add(g):_.delete(g);for(const g of _){const v=typeof g=="string"?e._middleware.named[g]||await If[g]?.().then(E=>E.default||E):g;if(!v)throw new Error(`Unknown route middleware: '${g}'.`);try{const E=await e.runWithContext(()=>v(b,w));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const S=E||Dn({status:404,statusText:`Page Not Found: ${f}`});return await e.runWithContext(()=>Ir(S)),!1}if(E===!0)continue;if(E===!1)return E;if(E)return Sp(E)&&E.fatal&&await e.runWithContext(()=>Ir(E)),E}catch(E){const S=Dn(E);return S.fatal&&await e.runWithContext(()=>Ir(S)),S}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(b=>{if(b.matched.length===0)return e.runWithContext(()=>Ir(Dn({status:404,fatal:!1,statusText:`Page not found: ${b.fullPath}`,data:{path:b.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await a.replace({...h,force:!0}),a.options.scrollBehavior=Yn.scrollBehavior}catch(b){await e.runWithContext(()=>Ir(b))}}),{provide:{router:a}}}}),Xh=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Qa=e=>{const t=fe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Xh(()=>e())}):Xh(()=>e())},y1=Je({name:"nuxt:payload",setup(e){const t=new Set;
4Kr().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Oh(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),Qa(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Oh().catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})})})}}),_1=Je(()=>{const e=Kr();Qa(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})});function v1(e={}){const t=e.path||window.location.pathname;let n={};try{n=fa(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:fe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const b1=Je({name:"nuxt:chunk-reload",setup(e){const t=Kr(),n=Ov(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=Ev(n.app.baseURL,o.fullPath);v1({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}});function S1(e){return typeof e=="string"?`'${e}'`:new w1().serialize(e)}const w1=(function(){class e{#e=new Map;compare(n,r){const s=typeof n,o=typeof r;return s==="string"&&o==="string"?n.localeCompare(r):s==="number"&&o==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const s=n.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,n);if(typeof n.toJSON=="function"){const i=n.toJSON();return o+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(o,Object.entries(n))}serializeBuiltInType(n,r){const s=this["$"+n];if(s)return s.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const s=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let o=`${n}{`;for(let i=0;i<s.length;i++){const[a,u]=s[i];o+=`${this.serialize(a,!0)}:${this.serialize(u)}`,i<s.length-1&&(o+=",")}return o+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let s=0;s<n.length;s++)r+=this.serialize(n[s]),s<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,s)=>this.compare(r,s)))}`}
4$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})(),E1=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],T1=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],C1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Ar=[];class A1{_data=new us;_hash=new us([...E1]);_nDataBytes=0;_minBufferSize=0;finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],u=r[4],f=r[5],c=r[6],l=r[7];for(let p=0;p<64;p++){if(p<16)Ar[p]=t[n+p]|0;else{const y=Ar[p-15],g=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,v=Ar[p-2],E=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;Ar[p]=g+Ar[p-7]+E+Ar[p-16]}const d=u&f^~u&c,h=s&o^s&i^o&i,m=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),b=(u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25),w=l+b+d+T1[p]+Ar[p],_=m+h;l=c,c=f,f=u,u=a+w|0,a=i,i=o,o=s,s=w+_|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+u|0,r[5]=r[5]+f|0,r[6]=r[6]+c|0,r[7]=r[7]+l|0}_append(t){typeof t=="string"&&(t=us.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,r=this._data.sigBytes/64;t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*16,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=16)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new us(n,o)}}class us{words;sigBytes;constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}static fromUtf8(t){const n=unescape(encodeURIComponent(t)),r=n.length,s=[];for(let o=0;o<r;o++)s[o>>>2]|=(n.charCodeAt(o)&255)<<24-o%4*8;return new us(s,r)}toBase64(){const t=[];for(let n=0;n<this.sigBytes;n+=3){const r=this.words[n>>>2]>>>24-n%4*8&255,s=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,o=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,i=r<<16|s<<8|o;for(let a=0;a<4&&n*8+a*6<this.sigBytes*8;a++)t.push(C1.charAt(i>>>6*(3-a)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}}function R1(e){return new A1().finalize(e).toBase64()}function k1(e){return R1(S1(e))}const I1={trailing:!0};function P1(e,t=25,n={}){if(n={...I1,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,s,o=[],i,a;const u=(l,p)=>(i=O1(e,l,p),i.finally(()=>{if(i=null,n.trailing&&a&&!s){const d=u(l,a);return a=null,d}}),i),f=function(...l){return n.trailing&&(a=l),i||new Promise(p=>{const d=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const h=n.leading?r:u(this,l);a=null;for(const m of o)m(h);o=[]},t),d?(r=u(this,l),p(r)):o.push(p)})},c=l=>{l&&(clearTimeout(l),s=null)};return f.isPending=()=>!!s,f.cancel=()=>{c(s),o=[],a=null},f.flush=()=>
4{if(c(s),!a||i)return;const l=a;return a=null,u(this,l)},f}async function O1(e,t,n){return await e.apply(t,n)}const ib=Symbol.for("nuxt:client-only"),xB=cn({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=mn(!1);Ko(()=>{r.value=!0});const s=Kt();return s&&(s._nuxtClientOnly=!0),Mr(ib,!0),()=>{if(r.value){const u=t.default?.();return u&&u.length===1?[vn(u[0],n)]:u}const o=t.fallback||t.placeholder;if(o)return Ls(o);const i=e.fallback||e.placeholder||"",a=e.fallbackTag||e.placeholderTag||"span";return St(a,n,i)}}}),x1=e=>e==="defer"||e===!1;function N1(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;D1(e[0],e[1])&&e.unshift(t);let[n,r,s={}]=e,o=!1;const i=je(()=>g_(n));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const a=fe();s.server??=!0,s.default??=M1,s.getCachedData??=cb,s.lazy??=!1,s.immediate??=!0,s.deep??=On.deep,s.dedupe??="cancel",s._functionName,a._asyncData[i.value];function u(){const h={cause:"initial",dedupe:s.dedupe};return a._asyncData[i.value]?._init||(h.cachedData=s.getCachedData(i.value,a,{cause:"initial"}),a._asyncData[i.value]=Qh(a,i.value,r,s,h.cachedData)),()=>a._asyncData[i.value].execute(h)}const f=u(),c=a._asyncData[i.value];c._deps++;const l=s.server!==!1&&a.payload.serverRendered;{let h=function(g){const v=a._asyncData[g];v?._deps&&(v._deps--,v._deps===0&&v?._off())};const m=Kt();if(m&&l&&s.immediate&&!m.sp&&(m.sp=[]),m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const g=m._nuxtOnBeforeMountCbs;F_(()=>{g.forEach(v=>{v()}),g.splice(0,g.length)}),fp(()=>g.splice(0,g.length))}const b=m&&(m._nuxtClientOnly||kt(ib,!1));l&&a.isHydrating&&(c.error.value||c.data.value!=null)?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):m&&(!b&&a.payload.serverRendered&&a.isHydrating||s.lazy)&&s.immediate?m._nuxtOnBeforeMountCbs.push(f):s.immediate&&f();const w=Ua(),_=nn(i,(g,v)=>{if((g||v)&&g!==v){o=!0;const E=a._asyncData[v]?.data.value!==On.value,S=a._asyncDataPromises[v]!==void 0,A={cause:"initial",dedupe:s.dedupe};if(!a._asyncData[g]?._init){let C;v&&E?C=a._asyncData[v].data.value:(C=s.getCachedData(g,a,{cause:"initial"}),A.cachedData=C),a._asyncData[g]=Qh(a,g,r,s,C)}a._asyncData[g]._deps++,v&&h(v),(s.immediate||E||S)&&a._asyncData[g].execute(A),Oo(()=>{o=!1})}},{flush:"sync"}),y=s.watch?nn(s.watch,()=>{o||(a._asyncData[i.value]?._execute.isPending()&&Oo(()=>{a._asyncData[i.value]?._execute.flush()}),a._asyncData[i.value]?._execute({cause:"watch",dedupe:s.dedupe}))}):()=>{};w&&e_(()=>{_(),y(),h(i.value)})}const p={data:bi(()=>a._asyncData[i.value]?.data),pending:bi(()=>a._asyncData[i.value]?.pending),status:bi(()=>a._asyncData[i.value]?.status),error:bi(()=>a._asyncData[i.value]?.error),refresh:(...h)=>a._asyncData[i.value]?._init?a._asyncData[i.value].execute(...h):u()(),execute:(...h)=>p.refresh(...h),clear:()=>{const h=a._asyncData[i.value];if(h?._abortController)try{h._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{h._abortController=void 0}ab(a,i.value)}},d=Promise.resolve(a._asyncDataPromises[i.value]).then(()=>p);return Object.assign(d,p),d}function bi(e){return je({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function D1(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function ab(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=On.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=On.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function L1(e,t){const n={};for(const r of t)n[r]=e[r];return n}function Qh(e,t,n,r,s){e.payload._errors[t]??=On.errorValue;const o=r.getCachedData!==cb,i=n,a=r.deep?be:mn,u=s!=null,f=e.hook("app:data:refresh",async l=>{(!l||l.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:a(u?s:r.default()),pending:mn(!u),error:__(e.payload._errors,t),status:mn("idle"),execute:(...l)=>{const[p,d=void 0]=l,h=p&&d===void 0&&typeof p=="object"?p:{};if(e._asyncDataPromises[t]&&x1(h.dedupe??r.dedupe))return e._asyncDataPromises[t];if(h.cause==="initial"||e.isHydrating){const w="cachedData"in h?h.cachedData:r.getCachedData(t,e,{cause:h.cause??"refresh:manual"});if(w!=null)return e.payload.data[t]=c.data.value=w,c.error.value=On.errorValue,c.status.value="success",Promise.resolve(w)}c.pending.value=!0,c._abortController&&c._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),c._abortController=new AbortController,c.status.value="pending";const m=new AbortController,b=new Promise((w,_)=>{try{const y=h.timeout??r.timeout,g=F1([c._abortController?.signal,h?.signal],m.signal,y);if(g.aborted){const v=g.reason;_(v instanceof Error?v:new DOMException(String(v??"Aborted"),"AbortError"));return}return g.addEventListener("abort",()=>{const v=g.reason;_(v instanceof Error?v:new DOMException(String(v??"Aborted"),"AbortError"))},{once:!0,signal:m.signal}),Promise.resolve(i(e,{signal:g})).then(w,_)}catch(y){_(y)}}).then(async w=>{let _=w;r.transform&&(_=await r.transform(w)),r.pick&&(_=L1(_,r.pick)),e.payload.data[t]=_,c.data.value=_,c.error.value=On.errorValue,c.status.value="success"}).catch(w=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==b||c._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&w instanceof DOMException&&w.name==="AbortError")return c.status.value="idle",e._asyncDataPromises[t];c.error.value=Dn(w),c.data.value=De(r.default()),c.status.value="error"}).finally(()=>{c.pending.value=!1,m.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=b,e._asyncDataPromises[t]},_execute:P1((...l)=>c.execute(...l),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{f(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),o||Ds(()=>{e._asyncData[t]?._init||(ab(e,t),c.execute=()=>Promise.resolve(),c.data.value=On.value)})}};return c}const M1=()=>
4On.value,cb=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function F1(e,t,n){const r=e.filter(i=>!!i);if(typeof n=="number"&&n>=0){const i=AbortSignal.timeout?.(n);i&&r.push(i)}if(AbortSignal.any)return AbortSignal.any(r);const s=new AbortController;for(const i of r)if(i.aborted){const a=i.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}return s.signal}const o=()=>{const a=r.find(u=>u.aborted)?.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}};for(const i of r)i.addEventListener?.("abort",o,{once:!0,signal:t});return s.signal}const Zh="__nuxt_component";function $1(){const e=Kt(),t=Vr(),{_fetchKeyBase:n}=e.proxy.$options;return k1([n,t.path,t.query,t.matched.findIndex(r=>Object.values(r.components||{}).includes(e.type))])}async function B1(e,t){const n=fe(),{fetchKey:r}=Kt().proxy.$options,s=(typeof r=="function"?r(()=>""):r)||$1(),{data:o,error:i}=await N1(`options:asyncdata:${s}`,()=>t(n));if(i.value)throw Dn(i.value);if(o.value&&typeof o.value=="object"){const a=await e;for(const u in o.value)a[u]=je({get:()=>o.value?.[u],set(f){o.value=o.value?{...o.value,[u]:f}:{[u]:f}}})}}const _r=function(...t){const[n,r]=t,{setup:s}=n;return!s&&!n.asyncData&&!n.head?{[Zh]:!0,...n}:{[Zh]:!0,_fetchKeyBase:r,...n,setup(o,i){const a=fe();let u={};if(s){const c=()=>Promise.resolve(s(o,i)).then(p=>p||{});bp(a._id).set(a),u=c()}const f=[];return n.asyncData&&f.push(B1(u,n.asyncData)),n.head&&jv(typeof n.head=="function"?()=>n.head(a):n.head),Promise.resolve(u).then(()=>Promise.all(f)).then(()=>u).finally(()=>{f.length=0})}}};function U1(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}function H1(e){return new URL(globalThis.location.href)}const q1=Je({name:"pinia",setup(e){const t=$C();return e.vueApp.use(t),Es(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){const e=fe();e.payload.pinia=ye(e.$pinia).state.value,Es(void 0)}}}),j1=Je({name:"nuxt:global-components"}),Si={"default-amp":sr(()=>Ae(()=>import("./v2.5-BQbdh3LJ.js"),__vite__mapDeps([88,11,1,89,7,8,36,90,91,5,6]),import.meta.url).then(e=>e.default||e)),default:sr(()=>Ae(()=>import("./v2.5-D78eQVOr.js"),__vite__mapDeps([92,15,9,4,5,6,7,8,10,11,12,89,36,90,1,93,27,18,94,95,96,97,98,53,54,55,16,17,34,35,37,38,99,100,101]),import.meta.url).then(e=>e.default||e)),empty:sr(()=>Ae(()=>import("./v2.5-C6DPPWA6.js"),[],import.meta.url).then(e=>e.default||e)),promo:sr(()=>Ae(()=>import("./v2.5-DxRPCcQp.js"),__vite__mapDeps([102,7,8,99,100,103]),import.meta.url).then(e=>e.default||e))},V1=Je({name:"nuxt:prefetch",setup(e){const t=Kr();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Si[r]=="function"&&await Si[r]()})}),e.hooks.hook("link:prefetch",n=>{if(zo(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=sb(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof If[i]=="function"&&If[i]();typeof s=="string"&&s in Si&&U1(Si[s])})}}),W1=Je({name:"sentry-client-config",async setup(){let e,t;[e,t]=gs(()=>Ae(()=>import("./v2.5-BiajRtVN.js"),[],import.meta.url)),await e,t()}}),G1=Je(e=>{e.hook("vue:error",(...t)=>{console.error("vue:error",...t)}),e.hook("app:error",(...t)=>{console.error("app:error",...t)})});let em=Pf();function K1(){const e=Pf()-em;return em=Pf(),Math.round(e)}function z1(e){const t=J1(e.toString()),n=t%360,r=60+t%40,s=60+t%40;return{h:n,s:r,l:s}}function Y1(e){const t=[],n=[];for(const r of e){const s=r===e.at(-1),o=r&&typeof r!="object"&&String(r).length<=100;s||!o?n.push(r):t.push(r)}return{messages:t.filter(Boolean),args:n.filter(r=>r!==void 0)}}function Pf(){return typeof performance<"u"?performance.now():Date.now()}function J1(e=""){return e.split("").map(t=>t.charCodeAt(0)).reduce((t,n)=>t+n,0)}const ub=(e,...t)=>{const n={parent:e,history:[],waitList:[],listeners:new Set},r=o=>function(...a){const u=K1(),{messages:f,args:c}=Y1(a),l={type:o,delta:u,scopes:t,messages:f,args:c.map(De).filter(d=>d!==void 0)};let p=n;for(;p;)p.history.push(l),p.listeners.size===0?p.waitList.push(l):(p.waitList.length=0,p.listeners.forEac
4h(d=>d(l))),p=p.parent},s=r("log");return s.warn=r("warn"),s.error=r("error"),s.withScope=(...o)=>ub(n,...t,...o),s.subscribe=(o,i=!1)=>typeof o!="function"?console.warn("[logger] Handler must be provided and be function"):(n.listeners.add(o),n[i?"history":"waitList"].forEach(a=>o(a)),()=>n.listeners.delete(o)),s};function X1({delta:e,type:t,scopes:n,messages:r,args:s}){if(localStorage._debug!=="true")return;const o=[...n,...r].map(u=>`%c${u}`).join(" "),i=[...n,...r].map((u,f,c)=>{const{h:l,s:p,l:d}=z1(u);let h=`color: hsl(${l}deg ${p}% ${d}%);`;return f===c.length-1&&(h+="font-weight: bold;"),h}),a=e>2?[`+${e}ms`]:[];console[t](o,...i,...s,...a)}const Pe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Fe=globalThis,To="9.47.1";function Yr(){return Za(Fe),Fe}function Za(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||To,t[To]=t[To]||{}}function ec(e,t,n=Fe){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[To]=r[To]||{};return s[e]||(s[e]=t())}const NB=["debug","info","warn","error","log","assert","trace"],Q1="Sentry Logger ",tm={};function Ms(e){if(!("console"in Fe))return e();const t=Fe.console,n={},r=Object.keys(tm);r.forEach(s=>{const o=tm[s];n[s]=t[s],t[s]=o});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function Z1(){kp().enabled=!0}function ek(){kp().enabled=!1}function lb(){return kp().enabled}function tk(...e){Rp("log",...e)}function nk(...e){Rp("warn",...e)}function rk(...e){Rp("error",...e)}function Rp(e,...t){Pe&&lb()&&Ms(()=>{Fe.console[e](`${Q1}[${e}]:`,...t)})}function kp(){return Pe?ec("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const le={enable:Z1,disable:ek,isEnabled:lb,log:tk,warn:nk,error:rk},fb=50,sk="?",nm=/\(error: (.*)\)/,rm=/captureMessage|captureException/;function ok(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(` 5`);for(let a=r;a<i.length;a++){const u=i[a];if(u.length>1024)continue;const f=nm.test(u)?u.replace(nm,"$1"):u;if(!f.match(/\S*Error: /)){for(const c of t){const l=c(f);if(l){o.push(l);break}}if(o.length>=fb+s)break}}return ik(o.slice(s))}}function DB(e){return Array.isArray(e)?ok(...e):e}function ik(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(wi(t).function||"")&&t.pop(),t.reverse(),rm.test(wi(t).function||"")&&(t.pop(),rm.test(wi(t).function||"")&&t.pop()),t.slice(0,fb).map(n=>({...n,filename:n.filename||wi(t).filename,function:n.function||sk}))}function wi(e){return e[e.length-1]||{}}const ou="<anonymous>";function Ip(e){try{return!e||typeof e!="function"?ou:e.name||ou}catch{return ou}}function LB(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Gi={},sm={};function Fs(e,t){Gi[e]=Gi[e]||[],Gi[e].push(t)}function $s(e,t){if(!sm[e]){sm[e]=!0;try{t()}catch(n){Pe&&le.error(`Error while instrumenting ${e}`,n)}}}function gn(e,t){const n=e&&Gi[e];if(n)for(const r of n)try{r(t)}catch(s){Pe&&le.error(`Error while triggering instrumentation handler. 6Type: ${e} 7Name: ${Ip(r)} 8Error:`,s)}}let iu=null;function ak(e){const t="error";Fs(t,e),$s(t,ck)}function ck(){iu=Fe.onerror,Fe.onerror=function(e,t,n,r,s){return gn("error",{column:r,error:s,line:n,msg:e,url:t}),iu?iu.apply(this,arguments):!1},Fe.onerror.__SENTRY_INSTRUMENTED__=!0}let au=null;function uk(e){const t="unhandledrejection";Fs(t,e),$s(t,lk)}function lk(){au=Fe.onunhandledrejection,Fe.onunhandledrejection=function(e){return gn("unhandledrejection",e),au?au.apply(this,arguments):!0},Fe.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const pb=Object.prototype.toString;function db(e){switch(pb.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Us(e,Error)}}function Bs(e,t){return pb.call(e)===`[object ${t}]`}function MB(e){return Bs(e,"ErrorEvent")}function FB(e){return Bs(e,"DOMError")}function $B(e){return Bs(e,"DOMException")}function ar(e){return Bs(e,"String")}function fk(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function om(e){return e===null||fk(e)||typeof e!="object"&&typeof e!="function"}function hb(e){return Bs(e,"Object")}function pk(e){return typeof Event<"u"&&Us(e,Event)}function dk(e){return typeof Element<"u"&&Us(e,Element)}function hk(e){return Bs(e,"RegExp")}function tc(e){return!!(e?.then&&typeof e.then=="function")}function mk(e){return hb(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Us(e,t){try{return e instanceof t}catch{return!1}}function mb(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function gb(e){return typeof Request<"u"&&Us(e,Request)}const Pp=Fe,gk=80;function Fn(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let o=0,i=0;const a=" > ",u=a.length;let f;const c=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||gk;for(;n&&o++<r&&(f=yk(n,c),!(f==="html"||o>1&&i+s.length*u+f.length>=l));)s.push(f),i+=f.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function yk(e,t){const n=e,r=[];if(!n?.tagName)return"";if(Pp.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t?.length?t.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(s?.length)s.forEach(i=>
8{r.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const i=n.className;if(i&&ar(i)){const a=i.split(/\s+/);for(const u of a)r.push(`.${u}`)}}const o=["aria-label","type","name","title","alt"];for(const i of o){const a=n.getAttribute(i);a&&r.push(`[${i}="${a}"]`)}return r.join("")}function Op(){try{return Pp.document.location.href}catch{return""}}function _k(e){if(!Pp.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function ga(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function BB(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{mb(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function vk(e,t,n=!1){return ar(e)?hk(t)?t.test(e):ar(t)?n?e===t:e.includes(t):!1:!1}function Ki(e,t=[],n=!1){return t.some(r=>vk(e,r,n))}function Of(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&yb(s,r);try{e[t]=s}catch{Pe&&le.log(`Failed to replace method "${t}" in object`,e)}}function an(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Pe&&le.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function yb(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,an(e,"__sentry_original__",t)}catch{}}function bk(e){return e.__sentry_original__}function _b(e){if(db(e))return{message:e.message,name:e.name,stack:e.stack,...am(e)};if(pk(e)){const t={type:e.type,target:im(e.target),currentTarget:im(e.currentTarget),...am(e)};return typeof CustomEvent<"u"&&Us(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function im(e){try{return dk(e)?Fn(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function am(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function UB(e,t=40){const n=Object.keys(_b(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return ga(r,t);for(let s=n.length;s>0;s--){const o=n.slice(0,s).join(", ");if(!(o.length>t))return s===n.length?o:ga(o,t)}return""}function Sk(){const e=Fe;return e.crypto||e.msCrypto}function cr(e=Sk()){let t=()=>Math.random()*16;try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(t()&15)>>n/4).toString(16))}function vb(e){return e.exception?.values?.[0]}function HB(e){const{message:t,event_id:n}=e;if(t)return t;const r=vb(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function wk(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=t||""),o.type||(o.type="Error")}function bb(e,t){const n=vb(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const o={...s?.data,...t.data};n.mechanism.data=o}}function qB(e){if(Ek(e))return!0;try{an(e,"__sentry_captured__",!0)}catch{}return!1}function Ek(e){try{return e.__sentry_captured__}catch{}}const Sb=1e3;function Hs(){return Date.now()/Sb}function Tk(){const{performance:e}=Fe;if(!e?.now||!e.timeOrigin)return Hs;const t=e.timeOrigin;return()=>(t+e.now())/Sb}let cm;function nt(){return(cm??(cm=Tk()))()}let cu;function Ck(){const{performance:e}=Fe;if(!e?.now)return[void 0,"none"];const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=s<t,i=e.timing?.navigationStart,u=typeof i=="number"?Math.abs(i+n-r):t,f=u<t;return o||f?s<=u?[e.timeOrigin,"timeOrigin"]:[i,"navigationStart"]:[r,"dateNow"]}function Ft(){return cu||(cu=Ck()),cu[0]}function Ak(e){const t=nt(),n={sid:cr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>kk(n)};return e&&nc(n,e),n}function nc(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||nt(),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:cr()),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 n=e.timestamp-e.started;e.duration=n>=0?n: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),t
vendor: 6,027 bytes, line 8
8ypeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Rk(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),nc(e,n)}function kk(e){return{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}}}function rc(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=rc(r[s],t[s],n-1));return r}function fr(){return cr()}function Yo(){return cr().substring(16)}const xf="_sentrySpan";function As(e,t){t?an(e,xf,t):delete e[xf]}function ya(e){return e[xf]}const Ik=100;class bn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:fr(),sampleRand:Math.random()}}clone(){const t=new bn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,As(t,ya(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&nc(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,r=n instanceof bn?n.getScopeData():hb(n)?t:void 0,{tags:s,extra:o,user:i,contexts:a,level:u,fingerprint:f=[],propagationContext:c}=r||{};return this._tags={...this._tags,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),u&&(this._level=u),f.length&&(this._fingerprint=f),c&&(this._propagationContext=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,As(this,void 0),this._attachments=[],this.setPropagationContext({traceId:fr(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Ik;if(r<=0)return this;const s={timestamp:Hs(),...t,message:t.message?ga(t.message,2048):t.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:ya(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=rc(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n?.event_id||cr();if(!this._client)return Pe&&le.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r?.event_id||cr();if(!this._client)return Pe&&le.warn("No client configured on scope - will not capture message!"),s;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:s},this),s}captureEvent(t,n){const r=n?.event_id||cr();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(Pe&&le.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
8h(t=>{t(this)}),this._notifyingListeners=!1)}}function Pk(){return ec("defaultCurrentScope",()=>new bn)}function Ok(){return ec("defaultIsolationScope",()=>new bn)}class xk{constructor(t,n){let r;t?r=t:r=new bn;let s;n?s=n:s=new bn,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return tc(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Rs(){const e=Yr(),t=Za(e);return t.stack=t.stack||new xk(Pk(),Ok())}function Nk(e){return Rs().withScope(e)}function Dk(e,t){const n=Rs();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function um(e){return Rs().withScope(()=>e(Rs().getIsolationScope()))}function Lk(){return{withIsolationScope:um,withScope:Nk,withSetScope:Dk,withSetIsolationScope:(e,t)=>um(t),getCurrentScope:()=>Rs().getScope(),getIsolationScope:()=>Rs().getIsolationScope()}}function qs(e){const t=Za(e);return t.acs?t.acs:Lk()}function Ue(){const e=Yr();return qs(e).getCurrentScope()}function js(){const e=Yr();return qs(e).getIsolationScope()}function Mk(){return ec("globalScope",()=>new bn)}function sc(...e){const t=Yr(),n=qs(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function st(){return Ue().getClient()}function jB(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=t,o={trace_id:n,span_id:s||Yo()};return r&&(o.parent_span_id=r),o}const Vt="sentry.source",xp="sentry.sample_rate",wb="sentry.previous_trace_sample_rate",$n="sentry.op",Ye="sentry.origin",_a="sentry.idle_span_finish_reason",Jo="sentry.measurement_unit",Xo="sentry.measurement_value",lm="sentry.custom_span_name",Fk="sentry.profile_id",oc="sentry.exclusive_time",$k="sentry.link.type",Bk=0,Eb=1,at=2;function Uk(e){if(e<400&&e>=100)return{code:Eb};if(e>=400&&e<500)switch(e){case 401:return{code:at,message:"unauthenticated"};case 403:return{code:at,message:"permission_denied"};case 404:return{code:at,message:"not_found"};case 409:return{code:at,message:"already_exists"};case 413:return{code:at,message:"failed_precondition"};case 429:return{code:at,message:"resource_exhausted"};case 499:return{code:at,message:"cancelled"};default:return{code:at,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:at,message:"unimplemented"};case 503:return{code:at,message:"unavailable"};case 504:return{code:at,message:"deadline_exceeded"};default:return{code:at,message:"internal_error"}}return{code:at,message:"unknown_error"}}function Tb(e,t){e.setAttribute("http.response.status_code",t);const n=Uk(t);n.message!=="unknown_error"&&e.setStatus(n)}const Cb="_sentryScope",Ab="_sentryIsolationScope";function Hk(e,t,n){e&&(an(e,Ab,n),an(e,Cb,t))}function va(e){return{scope:e[Cb],isolationScope:e[Ab]}}const Np="sentry-",qk=/^sentry-/,jk=8192;function Rb(e){const t=Wk(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,o])=>{if(s.match(qk)){const i=s.slice(Np.length);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function Vk(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${Np}${r}`]=s),n),{});return Gk(t)}function Wk(e){if(!(!e||!ar(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=fm(n);return Object.entries(r).forEach(([s,o])=>{t[s]=o}),t},{}):fm(e)}function fm(e){return e.split(",").map(t=>t.split("=").map(n=>{try{return decodeURIComponent(n.trim())}catch{return}})).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function Gk(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const o=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=s===0?o:`${t},${o}`;return i.length>jk?(Pe&&le.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):i},"")}function ba(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const kb=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Kk(e){if(!e)return;const t=e.match(kb);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function zk(e,t){const n=Kk(e),r=Rb(t);if(!n?.traceId)return{traceId:fr(),sampleRand:Math.random()};const s=Yk(n,r);r&&(r.sample_rand=s.toString());const{traceId:o,parentSpanId:i,parentSampled:a}=n;return{traceId:o,parentSpanId:i,sampled:a,dsc:r||{},sampleRand:s}}function Ib(e=fr(),t=Yo(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Yk(e,t){const n=ba(t?.sample_rand);if(n!==void 0)return n;const r=ba(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?Math.random()*r:r+Math.random()*(1-r):Math.random()}const Pb=0,Dp=1;let pm=!1;function Jk(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:o,status:i,origin:a,links:u}=Te(e);return{parent_span_id:o,span_id:t,trace_id:n,data:r,op:s,status:i,origin:a,links:u}}function Xk(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:Te(e).parent_span_id,o=va(e).scope,i=r?o?.getPropagationContext().propagationSpanId||Yo():t;return{parent_span_id:s,span_id:i,trace_id:n}}function Qk(e){const{traceId:t,spanId:n}=e.spanContext(),r=Jr(e);return Ib(t,n,r)}function Ob(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...s},attributes:o})=>({span_id:t,trace_id:n,sampled:r===Dp,attributes:o,...s}))}function Ur(e){return typeof e=="number"?dm(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?dm(e.getTime()):nt()}function dm(e){return e>9999999999?e/1e3:e}function Te(e){if(eI(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(Zk(e)){const{attributes:r,startTime:s,name:o,endTime:i,status:a,links:u}=e,f="parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0;return{span_id:t,trace_id:n,data:r,description:o,parent_span_id:f,start_timestamp:Ur
8(s),timestamp:Ur(i)||void 0,status:xb(a),op:r[$n],origin:r[Ye],links:Ob(u)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Zk(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eI(e){return typeof e.getSpanJSON=="function"}function Jr(e){const{traceFlags:t}=e.spanContext();return t===Dp}function xb(e){if(!(!e||e.code===Bk))return e.code===Eb?"ok":e.message||"unknown_error"}const Hr="_sentryChildSpans",Nf="_sentryRootSpan";function Nb(e,t){const n=e[Nf]||e;an(t,Nf,n),e[Hr]?e[Hr].add(t):an(e,Hr,new Set([t]))}function tI(e,t){e[Hr]&&e[Hr].delete(t)}function zi(e){const t=new Set;function n(r){if(!t.has(r)&&Jr(r)){t.add(r);const s=r[Hr]?Array.from(r[Hr]):[];for(const o of s)n(o)}}return n(e),Array.from(t)}function Et(e){return e[Nf]||e}function Ot(){const e=Yr(),t=qs(e);return t.getActiveSpan?t.getActiveSpan():ya(Ue())}function nI(){pm||(Ms(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),pm=!0)}let hm=!1;function rI(){if(hm)return;function e(){const t=Ot(),n=t&&Et(t);if(n){const r="internal_error";Pe&&le.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:at,message:r})}}e.tag="sentry_tracingErrorCallback",hm=!0,ak(e),uk(e)}function Bn(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||st()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}const Db="production",sI=/^o(\d+)\./,oI=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function iI(e){return e==="http"||e==="https"}function Lp(e,t=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:u}=e;return`${a}://${u}${t&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${i}`}function aI(e){const t=oI.exec(e);if(!t){Ms(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",o="",i="",a=""]=t.slice(1);let u="",f=a;const c=f.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),f=c.pop()),f){const l=f.match(/^\d+/);l&&(f=l[0])}return Lb({host:o,pass:s,path:u,projectId:f,port:i,protocol:n,publicKey:r})}function Lb(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function cI(e){if(!Pe)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(le.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?iI(r)?t&&isNaN(parseInt(t,10))?(le.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(le.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(le.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function uI(e){return e.match(sI)?.[1]}function VB(e){const t=typeof e=="string"?aI(e):Lb(e);if(!(!t||!cI(t)))return t}const Mb="_frozenDsc";function Yi(e,t){an(e,Mb,t)}function Fb(e,t){const n=t.getOptions(),{publicKey:r,host:s}=t.getDsn()||{};let o;n.orgId?o=String(n.orgId):s&&(o=uI(s));const i={environment:n.environment||Db,release:n.release,public_key:r,trace_id:e,org_id:o};return t.emit("createDsc",i),i}function lI(e,t){const n=t.getPropagationContext();return n.dsc||Fb(n.traceId,e)}function pr(e){const t=st();if(!t)return{};const n=Et(e),r=Te(n),s=r.data,o=n.spanContext().traceState,i=o?.get("sentry.sample_rate")??s[xp]??s[wb];function a(h){return(typeof i=="number"||typeof i=="string")&&(h.sample_rate=`${i}`),h}const u=n[Mb];if(u)return a(u);const f=o?.get("sentry.dsc"),c=f&&Rb(f);if(c)return a(c);const l=Fb(e.spanContext().traceId,t),p=s[Vt],d=r.description;return p!=="url"&&d&&(l.transaction=d),Bn()&&(l.sampled=String(Jr(n)),l.sample_rand=o?.get("sentry.sample_rand")??va(n).scope?.getPropagationContext().sampleRand.toString()),a(l),t.emit("createDsc",l,n),l}class dr{constructor(t={}){this._traceId=t.traceId||fr(),this._spanId=t.spanId||Yo()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:Pb}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
8addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function An(e,t=100,n=1/0){try{return Df("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function fI(e,t=3,n=100*1024){const r=An(e,t);return mI(r)>n?fI(e,t-1,n):r}function Df(e,t,n=1/0,r=1/0,s=gI()){const[o,i]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=pI(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const u=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(u===0)return a.replace("object ","");if(o(t))return"[Circular ~]";const f=t;if(f&&typeof f.toJSON=="function")try{const d=f.toJSON();return Df("",d,u-1,r,s)}catch{}const c=Array.isArray(t)?[]:{};let l=0;const p=_b(t);for(const d in p){if(!Object.prototype.hasOwnProperty.call(p,d))continue;if(l>=r){c[d]="[MaxProperties ~]";break}const h=p[d];c[d]=Df(d,h,u-1,r,s),l++}return i(t),c}function pI(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(mb(t))return"[VueViewModel]";if(mk(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Ip(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=dI(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function dI(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function hI(e){return~-encodeURI(e).split(/%..|./).length}function mI(e){return hI(JSON.stringify(e))}function gI(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function Mp(e,t=[]){return[e,t]}function WB(e,t){const[n,r]=e;return[n,[...r,t]]}function GB(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function Lf(e){const t=Za(Fe);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function KB(e){const[t,n]=e;let r=JSON.stringify(t);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[Lf(r),o]:r.push(typeof o=="string"?Lf(o):o)}for(const o of n){const[i,a]=o;if(s(` 9${JSON.stringify(i)} 10`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let u;try{u=JSON.stringify(a)}catch{u=JSON.stringify(An(a))}s(u)}}return typeof r=="string"?r:yI(r)}function yI(e){const t=e.reduce((s,o)=>s+o.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function _I(e){return[{type:"span"},e]}function zB(e){const t=typeof e.data=="string"?Lf(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const vI={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function YB(e){return vI[e]}function $b(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function bI(e,t,n,r){const s=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Lp(r)},...s&&{trace:s}}}function SI(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 JB(e,t,n,r){const s=$b(n),o={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:Lp(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Mp(o,[i])}function XB(e,t,n,r){const s=$b(n),o=e.type&&e.type!=="replay_event"?e.type:"event";SI(e,n?.sdk);const i=bI(e,s,r,t);return delete e.sdkProcessingMetadata,Mp(i,[[{type:o},e]])}function wI(e,t){function n(c){return!!c.trace_id&&!!c.public_key}const r=pr(e[0]),s=t?.getDsn(),o=t?.getOptions().tunnel,i={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!o&&s&&{dsn:Lp(s)}},a=t?.getOptions().beforeSendSpan,u=a?c=>{const l=Te(c),p=a(l);return p||(nI(),l)}:Te,f=[];for(const c of e){const l=u(c);l&&f.push(_I(l))}return Mp(i,f)}function EI(e){if(!Pe)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Te(e),{spanId:s}=e.spanContext(),o=Jr(e),i=Et(e),a=i===e,u=`[Tracing] Starting ${o?"sampled":"unsampled"} ${a?"root ":""}span`,f=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];
10if(r&&f.push(`parent ID: ${r}`),!a){const{op:c,description:l}=Te(i);f.push(`root ID: ${i.spanContext().spanId}`),c&&f.push(`root op: ${c}`),l&&f.push(`root description: ${l}`)}le.log(`${u} 11 ${f.join(` 12 `)}`)}function TI(e){if(!Pe)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Te(e),{spanId:r}=e.spanContext(),o=Et(e)===e,i=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${t}" with ID ${r}`;le.log(i)}function CI(e,t,n,r=Ot()){const s=r&&Et(r);s&&(Pe&&le.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[Xo]:t,[Jo]:n}))}function mm(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},s=r[Jo],o=r[Xo];typeof s=="string"&&typeof o=="number"&&(t[n.name]={value:o,unit:s})}),t}const gm=1e3;class ic{constructor(t={}){this._traceId=t.traceId||fr(),this._spanId=t.spanId||Yo(),this._startTime=t.startTimestamp||nt(),this._links=t.links,this._attributes={},this.setAttributes({[Ye]:"manual",[$n]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Dp:Pb}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Ur(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(Vt,"custom"),this}end(t){this._endTime||(this._endTime=Ur(t),TI(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[$n],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:xb(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ye],profile_id:this._attributes[Fk],exclusive_time:this._attributes[oc],measurements:mm(this._events),is_segment:this._isStandaloneSpan&&Et(this)===this||void 0,segment_id:this._isStandaloneSpan?Et(this).spanContext().spanId:void 0,links:Ob(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){Pe&&le.log("[Tracing] Adding an event to span:",t);const s=ym(n)?n:r||nt(),o=ym(n)?{}:n||{},i={name:t,time:Ur(s),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=st();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===Et(this)))return;if(this._isStandaloneSpan){this._sampled?RI(wI([this],t)):(Pe&&le.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const r=this._convertSpanToTransaction();r&&(va(this).scope||Ue()).captureEvent(r)}_convertSpanToTransaction(){if(!_m(Te(this)))return;this._name||(Pe&&le.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=va(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;const o=zi(this).filter(c=>c!==this&&!AI(c)).map(c=>Te(c)).filter(_m),i=this._attributes[Vt];delete this._attributes[lm],o.forEach(c=>{delete c.data[lm]});const a={contexts:{trace:Jk(this)},spans:o.length>gm?o.sort((c,l)=>c.start_timestamp-l.start_timestamp).slice(0,gm):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:pr(this)},request:r,...i&&{transaction_info:{source:i}}},u=mm(this._events);return u&&Object.keys(u).length&&(Pe&&le.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),a.measurements=u),a}}function ym(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function _m(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function AI(e){return e instanceof ic&&e.isStandaloneSpan()}function RI(e){const t=st();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function kI(e,t,n=()=>{}){let r;try{r=e()}catch(s){throw t(s),n(),s}return II(r,t,n)}
12function II(e,t,n){return tc(e)?e.then(r=>(n(),r),r=>{throw t(r),n(),r}):(n(),e)}function PI(e,t,n){if(!Bn(e))return[!1];let r,s;typeof e.tracesSampler=="function"?(s=e.tracesSampler({...t,inheritOrSampleWith:a=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):a}),r=!0):t.parentSampled!==void 0?s=t.parentSampled:typeof e.tracesSampleRate<"u"&&(s=e.tracesSampleRate,r=!0);const o=ba(s);if(o===void 0)return Pe&&le.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!o)return Pe&&le.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,o,r];const i=n<o;return i||Pe&&le.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[i,o,r]}const Bb="__SENTRY_SUPPRESS_TRACING__";function OI(e,t){const n=$p();if(n.startSpan)return n.startSpan(e,t);const r=Hb(e),{forceTransaction:s,parentSpan:o,scope:i}=e,a=i?.clone();return sc(a,()=>NI(o)(()=>{const f=Ue(),c=qb(f,o),p=e.onlyIfParent&&!c?new dr:Ub({parentSpan:c,spanArguments:r,forceTransaction:s,scope:f});return As(f,p),kI(()=>t(p),()=>{const{status:d}=Te(p);p.isRecording()&&(!d||d==="ok")&&p.setStatus({code:at,message:"internal_error"})},()=>{p.end()})}))}function hr(e){const t=$p();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=Hb(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?i=>sc(e.scope,i):s!==void 0?i=>Fp(s,i):i=>i())(()=>{const i=Ue(),a=qb(i,s);return e.onlyIfParent&&!a?new dr:Ub({parentSpan:a,spanArguments:n,forceTransaction:r,scope:i})})}function Fp(e,t){const n=$p();return n.withActiveSpan?n.withActiveSpan(e,t):sc(r=>(As(r,e||void 0),t(r)))}function Ub({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!Bn()){const i=new dr;if(n||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,...pr(i)};Yi(i,a)}return i}const s=js();let o;if(e&&!n)o=xI(e,r,t),Nb(e,o);else if(e){const i=pr(e),{traceId:a,spanId:u}=e.spanContext(),f=Jr(e);o=vm({traceId:a,parentSpanId:u,...t},r,f),Yi(o,i)}else{const{traceId:i,dsc:a,parentSpanId:u,sampled:f}={...s.getPropagationContext(),...r.getPropagationContext()};o=vm({traceId:i,parentSpanId:u,...t},r,f),a&&Yi(o,a)}return EI(o),Hk(o,r,s),o}function Hb(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Ur(e.startTime),delete r.startTime,r}return n}function $p(){const e=Yr();return qs(e)}function vm(e,t,n){const r=st(),s=r?.getOptions()||{},{name:o=""}=e,i={spanAttributes:{...e.attributes},spanName:o,parentSampled:n};r?.emit("beforeSampling",i,{decision:!1});const a=i.parentSampled??n,u=i.spanAttributes,f=t.getPropagationContext(),[c,l,p]=t.getScopeData().sdkProcessingMetadata[Bb]?[!1]:PI(s,{name:o,parentSampled:a,attributes:u,parentSampleRate:ba(f.dsc?.sample_rate)},f.sampleRand),d=new ic({...e,attributes:{[Vt]:"custom",[xp]:l!==void 0&&p?l:void 0,...u},sampled:c});return!c&&r&&(Pe&&le.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",d),d}function xI(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),o=t.getScopeData().sdkProcessingMetadata[Bb]?!1:Jr(e),i=o?new ic({...n,parentSpanId:r,traceId:s,sampled:o}):new dr({traceId:s});Nb(e,i);const a=st();return a&&(a.emit("spanStart",i),n.endTimestamp&&a.emit("spanEnd",i)),i}function qb(e,t){if(t)return t;if(t===null)return;const n=ya(e);if(!n)return;const r=st();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Et(n):n}function NI(e){return e!==void 0?t=>Fp(e,t):t=>t()}const Ji={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},DI="heartbeatFailed",LI="idleTimeout",MI="finalTimeout",FI="externalFinish";function jb(e,t={}){const n=new Map;let r=!1,s,o=FI,i=!t.disableAutoFinish;const a=[],{idleTimeout:u=Ji.idleTimeout,finalTimeout:f=Ji.finalTimeout,childSpanTimeout:c=Ji.childSpanTimeout,beforeSpanEnd:l}=t,p=st();if(!p||!Bn()){const E=new dr,S={sample_rate:"0",sampled:"false",...pr(E)};return Yi(E,S),E}const d=Ue(),h=Ot(),m=$I(e);m.end=new Proxy(m.end,{apply(E,S,A){if(l&&l(m),S instanceof dr)return;const[C,...k]=A,x=C||nt(),I=Ur(x),P=zi(m).filter(N=>N!==m);if(!P.length)return v(I),Reflect.apply(E,S,[I,...k]);const V=P.map(N=>Te(N).timestamp).filter(N=>!!N),j=V.length?Math.max(...V):void 0,M=Te(m).start_timestamp,$=Math.min(M?M+f/1e3:1/0,Math.max(M||-1/0,Math.min(I,j||1/0)));return v($),Reflect.apply(E,S,[$,...k])}});function b(){s&&(clearTimeout(s),s=void 0)}function w(E){b(),s=setTimeout(()=>{!r&&n.size===0&&i&&(o=LI,m.end(E))},u)}function _(E){s=setTimeout(()=>{!r&&i&&(o=DI,m.end(E))},c)}function y(E){b(),n.set(E,!0);const S=nt();_(S+c/1e3)}function g(E){if(n.has(E)&&n.delete(E),n.size===0){const S=nt();w(S+u/1e3)}}function v(E){r=!0,n.clear(),a.forEach(I=>I()),As(d,h);const S=Te(m),{start_timestamp:A}=S;
12if(!A)return;S.data[_a]||m.setAttribute(_a,o),le.log(`[Tracing] Idle span "${S.op}" finished`);const k=zi(m).filter(I=>I!==m);let x=0;k.forEach(I=>{I.isRecording()&&(I.setStatus({code:at,message:"cancelled"}),I.end(E),Pe&&le.log("[Tracing] Cancelling span since span ended early",JSON.stringify(I,void 0,2)));const P=Te(I),{timestamp:V=0,start_timestamp:j=0}=P,M=j<=E,$=(f+u)/1e3,N=V-j<=$;if(Pe){const Z=JSON.stringify(I,void 0,2);M?N||le.log("[Tracing] Discarding span since it finished after idle span final timeout",Z):le.log("[Tracing] Discarding span since it happened after idle span was finished",Z)}(!N||!M)&&(tI(m,I),x++)}),x>0&&m.setAttribute("sentry.idle_span_discarded_spans",x)}return a.push(p.on("spanStart",E=>{if(r||E===m||Te(E).timestamp||E instanceof ic&&E.isStandaloneSpan())return;zi(m).includes(E)&&y(E.spanContext().spanId)})),a.push(p.on("spanEnd",E=>{r||g(E.spanContext().spanId)})),a.push(p.on("idleSpanEnableAutoFinish",E=>{E===m&&(i=!0,w(),n.size&&_())})),t.disableAutoFinish||w(),setTimeout(()=>{r||(m.setStatus({code:at,message:"deadline_exceeded"}),o=MI,m.end())},f),m}function $I(e){const t=hr(e);return As(Ue(),t),Pe&&le.log("[Tracing] Started span is an idle span"),t}const uu=0,bm=1,Sm=2;function QB(e){return new ks(t=>{t(e)})}function ZB(e){return new ks((t,n)=>{n(e)})}class ks{constructor(t){this._state=uu,this._handlers=[],this._runExecutor(t)}then(t,n){return new ks((r,s)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new ks((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,t&&t()},i=>{o=!0,s=i,t&&t()}).then(()=>{if(o){r(s);return}n(s)})})}_executeHandlers(){if(this._state===uu)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===bm&&n[1](this._value),this._state===Sm&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(o,i)=>{if(this._state===uu){if(tc(i)){i.then(r,s);return}this._state=o,this._value=i,this._executeHandlers()}},r=o=>{n(bm,o)},s=o=>{n(Sm,o)};try{t(r,s)}catch(o){s(o)}}}function Mf(e,t,n,r=0){return new ks((s,o)=>{const i=e[r];if(t===null||typeof i!="function")s(t);else{const a=i({...t},n);Pe&&i.id&&a===null&&le.log(`Event processor "${i.id}" dropped event`),tc(a)?a.then(u=>Mf(e,u,n,r+1).then(s)).then(null,o):Mf(e,a,n,r+1).then(s).then(null,o)}})}function BI(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=t;UI(e,t),r&&jI(e,r),VI(e,n),HI(e,s),qI(e,o)}function wm(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,sdkProcessingMetadata:a,breadcrumbs:u,fingerprint:f,eventProcessors:c,attachments:l,propagationContext:p,transactionName:d,span:h}=t;Ei(e,"extra",n),Ei(e,"tags",r),Ei(e,"user",s),Ei(e,"contexts",o),e.sdkProcessingMetadata=rc(e.sdkProcessingMetadata,a,2),i&&(e.level=i),d&&(e.transactionName=d),h&&(e.span=h),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),f.length&&(e.fingerprint=[...e.fingerprint,...f]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),l.length&&(e.attachments=[...e.attachments,...l]),e.propagationContext={...e.propagationContext,...p}}function Ei(e,t,n){e[t]=rc(e[t],n,1)}function UI(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(s).length&&(e.user={...s,...e.user}),Object.keys(o).length&&(e.contexts={...o,...e.contexts}),i&&(e.level=i),a&&e.type!=="transaction"&&(e.transaction=a)}function HI(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function qI(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function jI(e,t){e.contexts={trace:Xk(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:pr(t),...e.sdkProcessingMetadata};const n=Et(t),r=Te(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function VI(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}let Ti,Em,Ci;function WI(e){const t=Fe._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Ci&&n.length===Em||(Em=n.length,Ci=n.reduce((r,s)=>{Ti||(Ti={});const o=Ti[s];if(o)r[o[0]]=o[1];else{const i=e(s);for(let a=i.length-1;a>=0;a--){const f=i[a]?.filename,c=t[s];if(f&&c){r[f]=c,Ti[s]=[f,c];break}}}return r},{})),Ci}function e2(e,t,n,r,s,o){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,u={...t,event_id:t.event_id||n.event_id||cr(),timestamp:t.timestamp||Hs()},f=n.integrations||e.integrations.map(b=>b.name);GI(u,e),YI(u,f),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&KI(u,e.stackParser);const c=XI(r,n.captureContext);n.mechanism&&bb(u,n.mechanism);const l=s?s.getEventProcessors():[],p=Mk().getScopeData();if(o){const b=o.getScopeData();wm(p,b)}if(c){const b=c.getScopeData();wm(p,b)}const d=[...n.attachments||[],...p.attachments];d.length&&(n.attachments=d),BI(u,p);const h=[...l,...p.eventProcessors];return Mf(h,u,n).then(b=>(b&&zI(b),typeof i=="number"&&i>0?JI(b,i,a):b))}function GI(e,t){const{environment:n,release:r,dist:s,maxValueLength:o=250}=t;e.environment=e.environment||n||Db,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s);const i=e.request;i?.url&&(i.url=ga(i.url,o))}function KI(e,t){const n=WI(t);e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.filename&&(s.debug_id=n[s.filename])})})}function zI(e){const t={};if(e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function YI(e,t){t.length>0&&(e.sdk=e.sdk||{}
12,e.sdk.integrations=[...e.sdk.integrations||[],...t])}function JI(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:An(s.data,t,n)}}))},...e.user&&{user:An(e.user,t,n)},...e.contexts&&{contexts:An(e.contexts,t,n)},...e.extra&&{extra:An(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=An(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:An(s.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=An(e.contexts.flags,3,n)),r}function XI(e,t){if(!t)return e;const n=e?e.clone():new bn;return n.update(t),n}function QI(e){if(e)return ZI(e)?{captureContext:e}:tP(e)?{captureContext:e}:e}function ZI(e){return e instanceof bn||typeof e=="function"}const eP=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function tP(e){return Object.keys(e).some(t=>eP.includes(t))}function Qo(e,t){return Ue().captureException(e,QI(t))}function Tm(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return Ue().captureMessage(e,n,r)}function t2(e,t){return Ue().captureEvent(e,t)}function nP(){const e=st();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function n2(e){const t=js(),n=Ue(),{userAgent:r}=Fe.navigator||{},s=Ak({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),o=t.getSession();return o?.status==="ok"&&nc(o,{status:"exited"}),Vb(),t.setSession(s),s}function Vb(){const e=js(),n=Ue().getSession()||e.getSession();n&&Rk(n),Wb(),e.setSession()}function Wb(){const e=js(),t=st(),n=e.getSession();n&&t&&t.captureSession(n)}function r2(e=!1){if(e){Vb();return}Wb()}const Cm=[];function rP(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function s2(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const s=n(t);r=Array.isArray(s)?s:[s]}else r=t;return rP(r)}function o2(e,t){const n={};return t.forEach(r=>{r&&sP(e,r,n)}),n}function i2(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function sP(e,t,n){if(n[t.name]){Pe&&le.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,Cm.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),Cm.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,o)=>r(s,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((o,i)=>r(o,i,e),{id:t.name});e.addEventProcessor(s)}Pe&&le.log(`Integration installed: ${t.name}`)}function a2(e){return e}function Gb(e={}){const t=e.client||st();if(!nP()||!t)return{};const n=Yr(),r=qs(n);if(r.getTraceData)return r.getTraceData(e);const s=e.scope||Ue(),o=e.span||Ot(),i=o?Qk(o):oP(s),a=o?pr(o):lI(t,s),u=Vk(a);return kb.test(i)?{"sentry-trace":i,baggage:u}:(le.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function oP(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return Ib(t,r,n)}const iP=100;function aP(e,t){const n=st(),r=js();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=iP}=n.getOptions();if(o<=0)return;const a={timestamp:Hs(),...e},u=s?Ms(()=>s(a,t)):a;u!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",u,t),r.addBreadcrumb(u,o))}const cP="thismessage:/";function Kb(e){return"isRelative"in e}function zb(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?cP:void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const s=new URL(e,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function uP(e){if(Kb(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function Sa(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function lP(e){return e.split(/[?#]/,1)[0]}function fP(e,t,n,r,s="auto.http.browser"){if(!e.fetchData)return;const{method:o,url:i}=e.fetchData,a=Bn()&&t(i);if(e.endTimestamp&&a){const l=e.fetchData.__span;if(!l)return;const p=r[l];p&&(dP(p,e),delete r[l]);return}const u=!!Ot(),f=a&&u?hr(mP(i,o,s)):new dr;if(e.fetchData.__span=f.spanContext().spanId,r[f.spanContext().spanId]=f,n(e.fetchData.url)){const l=e.args[0],p=e.args[1]||{},d=pP(l,p,Bn()&&u?f:void 0);d&&(e.args[1]=p,p.headers=d)}const c=st();if(c){const l={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};c.emit("beforeOutgoingRequestSpan",f,l)}return f}function pP(e,t,n){const r=Gb({span:n}),s=r["sentry-trace"],o=r.baggage;if(!s)return;const i=t.headers||(gb(e)?e.headers:void 0);
12if(i)if(hP(i)){const a=new Headers(i);if(a.get("sentry-trace")||a.set("sentry-trace",s),o){const u=a.get("baggage");u?Ai(u)||a.set("baggage",`${u},${o}`):a.set("baggage",o)}return a}else if(Array.isArray(i)){const a=[...i];i.find(f=>f[0]==="sentry-trace")||a.push(["sentry-trace",s]);const u=i.find(f=>f[0]==="baggage"&&Ai(f[1]));return o&&!u&&a.push(["baggage",o]),a}else{const a="sentry-trace"in i?i["sentry-trace"]:void 0,u="baggage"in i?i.baggage:void 0,f=u?Array.isArray(u)?[...u]:[u]:[],c=u&&(Array.isArray(u)?u.find(l=>Ai(l)):Ai(u));return o&&!c&&f.push(o),{...i,"sentry-trace":a??s,baggage:f.length>0?f.join(","):void 0}}else return{...r}}function dP(e,t){if(t.response){Tb(e,t.response.status);const n=t.response?.headers?.get("content-length");if(n){const r=parseInt(n);r>0&&e.setAttribute("http.response_content_length",r)}}else t.error&&e.setStatus({code:at,message:"internal_error"});e.end()}function Ai(e){return e.split(",").some(t=>t.trim().startsWith(Np))}function hP(e){return typeof Headers<"u"&&Us(e,Headers)}function mP(e,t,n){const r=zb(e);return{name:r?`${t} ${uP(r)}`:t,attributes:gP(e,r,t,n)}}function gP(e,t,n,r){const s={url:e,type:"fetch","http.method":n,[Ye]:r,[$n]:"http.client"};return t&&(Kb(t)||(s["http.url"]=t.href,s["server.address"]=t.host),t.search&&(s["http.query"]=t.search),t.hash&&(s["http.fragment"]=t.hash)),s}const Fo=Fe;function yP(){return"history"in Fo&&!!Fo.history}
12function _P(){if(!("fetch"in Fo))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Am(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function vP(){if(typeof EdgeRuntime=="string")return!0;if(!_P())return!1;if(Am(Fo.fetch))return!0;let e=!1;const t=Fo.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Am(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){Pe&&le.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function bP(e,t){const n="fetch";Fs(n,e),$s(n,()=>Yb(void 0,t))}function SP(e){const t="fetch-body-resolved";Fs(t,e),$s(t,()=>Yb(EP))}function Yb(e,t=!1){t&&!vP()||Of(Fe,"fetch",function(n){return function(...r){const s=new Error,{method:o,url:i}=TP(r),a={args:r,fetchData:{method:o,url:i},startTimestamp:nt()*1e3,virtualError:s,headers:CP(r)};return e||gn("fetch",{...a}),n.apply(Fe,r).then(async u=>(e?e(u):gn("fetch",{...a,endTimestamp:nt()*1e3,response:u}),u),u=>{if(gn("fetch",{...a,endTimestamp:nt()*1e3,error:u}),db(u)&&u.stack===void 0&&(u.stack=s.stack,an(u,"framesToPop",1)),u instanceof TypeError&&(u.message==="Failed to fetch"||u.message==="Load failed"||u.message==="NetworkError when attempting to fetch resource."))try{const f=new URL(a.fetchData.url);u.message=`${u.message} (${f.host})`}catch{}throw u})}})}async function wP(e,t){if(e?.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let o=!0;for(;o;){let i;try{i=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(i),a&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(i)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function EP(e){let t;try{t=e.clone()}catch{return}wP(t,()=>{gn("fetch-body-resolved",{endTimestamp:nt()*1e3,response:e})})}function Ff(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Rm(e){return typeof e=="string"?e:e?Ff(e,"url")?e.url:e.toString?e.toString():"":""}function TP(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Rm(n),method:Ff(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Rm(t),method:Ff(t,"method")?String(t.method).toUpperCase():"GET"}}function CP(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(gb(t))return new Headers(t.headers)}catch{}}const Lt=Fe;let $f=0;function c2(){return $f>0}function AP(){$f++,setTimeout(()=>{$f--})}function RP(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(bk(e))return e}catch{return e}const r=function(...s){try{const o=s.map(i=>RP(i,t));return e.apply(this,o)}catch(o){throw AP(),sc(i=>{i.addEventProcessor(a=>(t.mechanism&&(wk(a,void 0),bb(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),Qo(o)}),o}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}yb(r,e),an(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Jb(){const e=Op(),{referrer:t}=Lt.document||{},{userAgent:n}=Lt.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}const Bp=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ee=Fe,kP=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Vs=(e,t,n,r)=>{let s,o;return i=>{t.value>=0&&(i||r)&&(o=t.value-(s??0),(o||s===void 0)&&(s=t.value,t.delta=o,t.rating=kP(t.value,n),e(t)))}},IP=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Zo=(e=!0)=>{const t=Ee.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},Ws=()=>Zo()?.activationStart??0,Gs=(e,t=-1)=>{const n=Zo();let r="navigate";return n&&(Ee.document?.prerendering||Ws()>0?r="prerender":Ee.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:IP(),navigationType:r}},lu=new WeakMap;function Up(e,t){return lu.get(e)||lu.set(e,new t),lu.get(e)}class wa{constructor(){wa.prototype.__init.call(this),wa.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(t){if(t.hadRecentInput)return;const n=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&r&&t.startTime-r.startTime<1e3&&t.startTime-n.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),this._onAfterProcessingUnexpectedShift?.(t)}}const Xr=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(s=>{Promise.resolve().then(()=>{t(s.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},ac=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let Co=-1;const PP=()=>Ee.document?.visibilityState==="hidden"&&!Ee.document?.prerendering?0:1/0,Ea=e=>{Ee.document.visibilityState==="hidden"&&Co>-1&&(Co=e.type==="visibilitychange"?e.timeStamp:0,xP())},OP=()=>{addEventListener("visibilitychange",Ea,!0),addEventListener("prerenderingchange",Ea,!0)},xP=()=>{removeEventListener("visibilitychange",Ea,!0),removeEventListener("prerenderingchange",Ea,!0)},cc=()=>
12{if(Ee.document&&Co<0){const e=Ws();Co=(Ee.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(n=>n.name==="hidden"&&n.startTime>e)[0]?.startTime)??PP(),OP()}return{get firstHiddenTime(){return Co}}},ei=e=>{Ee.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},NP=[1800,3e3],DP=(e,t={})=>{ei(()=>{const n=cc(),r=Gs("FCP");let s;const i=Xr("paint",a=>{for(const u of a)u.name==="first-contentful-paint"&&(i.disconnect(),u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-Ws(),0),r.entries.push(u),s(!0)))});i&&(s=Vs(e,r,NP,t.reportAllChanges))})},LP=[.1,.25],MP=(e,t={})=>{DP(ac(()=>{const n=Gs("CLS",0);let r;const s=Up(t,wa),o=a=>{for(const u of a)s._processEntry(u);s._sessionValue>n.value&&(n.value=s._sessionValue,n.entries=s._sessionEntries,r())},i=Xr("layout-shift",o);i&&(r=Vs(e,n,LP,t.reportAllChanges),Ee.document?.addEventListener("visibilitychange",()=>{Ee.document?.visibilityState==="hidden"&&(o(i.takeRecords()),r(!0))}),Ee?.setTimeout?.(r))}))},uc=e=>{const t=n=>{(n.type==="pagehide"||Ee.document?.visibilityState==="hidden")&&e(n)};Ee.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},FP=[100,300],$P=(e,t={})=>{ei(()=>{const n=cc(),r=Gs("FID");let s;const o=u=>{u.startTime<n.firstHiddenTime&&(r.value=u.processingStart-u.startTime,r.entries.push(u),s(!0))},i=u=>{u.forEach(o)},a=Xr("first-input",i);s=Vs(e,r,FP,t.reportAllChanges),a&&uc(ac(()=>{i(a.takeRecords()),a.disconnect()}))})};let Xb=0,fu=1/0,Ri=0;const BP=e=>{e.forEach(t=>{t.interactionId&&(fu=Math.min(fu,t.interactionId),Ri=Math.max(Ri,t.interactionId),Xb=Ri?(Ri-fu)/7+1:0)})};let Bf;const Qb=()=>Bf?Xb:performance.interactionCount||0,UP=()=>{"interactionCount"in performance||Bf||(Bf=Xr("event",BP,{type:"event",buffered:!0,durationThreshold:0}))},pu=10;let Zb=0;const HP=()=>Qb()-Zb;class Ta{constructor(){Ta.prototype.__init.call(this),Ta.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){Zb=Qb(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(HP()/50));return this._longestInteractionList[t]}_processEntry(t){if(this._onBeforeProcessingEntry?.(t),!(t.interactionId||t.entryType==="first-input"))return;const n=this._longestInteractionList.at(-1);let r=this._longestInteractionMap.get(t.interactionId);if(r||this._longestInteractionList.length<pu||t.duration>n._latency){if(r?t.duration>r._latency?(r.entries=[t],r._latency=t.duration):t.duration===r._latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((s,o)=>o._latency-s._latency),this._longestInteractionList.length>pu){const s=this._longestInteractionList.splice(pu);for(const o of s)this._longestInteractionMap.delete(o.id)}this._onAfterProcessingINPCandidate?.(r)}}}const eS=e=>{const t=Ee.requestIdleCallback||Ee.setTimeout;Ee.document?.visibilityState==="hidden"?e():(e=ac(e),t(e),uc(e))},qP=[200,500],jP=40,VP=(e,t={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&ei(()=>{UP();const n=Gs("INP");let r;const s=Up(t,Ta),o=a=>{eS(()=>{for(const f of a)s._processEntry(f);const u=s._estimateP98LongestInteraction();u&&u._latency!==n.value&&(n.value=u._latency,n.entries=u.entries,r())})},i=Xr("event",o,{durationThreshold:t.durationThreshold??jP});r=Vs(e,n,qP,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),uc(()=>{o(i.takeRecords()),r(!0)}))})};class WP{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const GP=[2500,4e3],KP=(e,t={})=>{ei(()=>{const n=cc(),r=Gs("LCP");let s;const o=Up(t,WP),i=u=>{t.reportAllChanges||(u=u.slice(-1));for(const f of u)o._processEntry(f),f.startTime<n.firstHiddenTime&&(r.value=Math.max(f.startTime-Ws(),0),r.entries=[f],s())},a=Xr("largest-contentful-paint",i);if(a){s=Vs(e,r,GP,t.reportAllChanges);const u=ac(()=>{i(a.takeRecords()),a.disconnect(),s(!0)});for(const f of["keydown","click","visibilitychange"])Ee.document&&addEventListener(f,()=>eS(u),{capture:!0,once:!0})}})},zP=[800,1800],Uf=e=>{Ee.document?.prerendering?ei(()=>Uf(e)):Ee.document?.readyState!=="complete"?addEventListener("load",()=>Uf(e),!0):setTimeout(e)},YP=(e,t={})=>{const n=Gs("TTFB"),r=Vs(e,n,zP,t.reportAllChanges);Uf(()=>{const s=Zo();s&&(n.value=Math.max(s.responseStart-Ws(),0),n.entries=[s],r(!0))})},Ao={},Ca={};let tS,nS,rS,sS,oS;function iS(e,t=!1){return ti("cls",e,ZP,tS,t)}function aS(e,t=!1){return ti("lcp",e,tO,rS,t)}function JP(e){return ti("fid",e,eO,nS)}function XP(e){return ti("ttfb",e,nO,sS)}function QP(e){return ti("inp",e,rO,oS)}function Is(e,t){return cS(e,t),Ca[e]||(sO(e),Ca[e]=!0),uS(e,t)}function Ks(e,t){const n=Ao[e];if(n?.length)for(const r of n)try{r(t)}catch(s){Bp&&le.error(`Error while triggering instrumentation handler. 13Type: ${e} 14Name: ${Ip(r)} 15Error:`,s)}}function ZP(){return MP(e=>{Ks("cls",{metric:e}),tS=e},{reportAllChanges:!0})}function eO(){return $P(e=>{Ks("fid",{metric:e}),nS=e})}function tO(){return KP(e=>{Ks("lcp",{metric:e}),rS=e},{reportAllChanges:!0})}function nO(){return YP(e=>{Ks("ttfb",{metric:e}),sS=e})}function rO(){return VP(e=>{Ks("inp",{metric:e}),oS=e})}function ti(e,t,n,r,s=!1){cS(e,t);let o;return Ca[e]||(o=n(),Ca[e]=!0),r&&t({metric:r}),uS(e,t,s?o:void 0)}function sO(e){const t={};e==="event"&&(t.durationThreshold=0),Xr(e,n=>{Ks(e,{entries:n})},t)}function cS(e,t){Ao[e]=Ao[e]||[],Ao[e].push(t)}
15function uS(e,t,n){return()=>{n&&n();const r=Ao[e];if(!r)return;const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}function oO(e){return"duration"in e}function du(e){return typeof e=="number"&&isFinite(e)}function Un(e,t,n,{...r}){const s=Te(e).start_timestamp;return s&&s>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Fp(e,()=>{const o=hr({startTime:t,...r});return o&&o.end(n),o})}function Hp(e){const t=st();if(!t)return;const{name:n,transaction:r,attributes:s,startTime:o}=e,{release:i,environment:a,sendDefaultPii:u}=t.getOptions(),c=t.getIntegrationByName("Replay")?.getReplayId(),l=Ue(),p=l.getUser(),d=p!==void 0?p.email||p.id||p.ip_address:void 0;let h;try{h=l.getScopeData().contexts.profile.profile_id}catch{}const m={release:i,environment:a,user:d||void 0,profile_id:h||void 0,replay_id:c||void 0,transaction:r,"user_agent.original":Ee.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...s};return hr({name:n,attributes:m,startTime:o,experimental:{standalone:!0}})}function lc(){return Ee.addEventListener&&Ee.performance}function Ve(e){return e/1e3}function lS(e){let t="unknown",n="unknown",r="";for(const s of e){if(s==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(s))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=s}return r===e&&(t=r),{name:t,version:n}}function fS(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function pS(e,t){let n,r=!1;function s(a){!r&&n&&t(a,n),r=!0}uc(()=>{s("pagehide")});const o=e.on("beforeStartNavigationSpan",(a,u)=>{u?.isRedirect||(s("navigation"),o?.(),i?.())}),i=e.on("afterStartPageLoadSpan",a=>{n=a.spanContext().spanId,i?.()})}function iO(e){let t=0,n;if(!fS("layout-shift"))return;const r=iS(({metric:s})=>{const o=s.entries[s.entries.length-1];o&&(t=s.value,n=o)},!0);pS(e,(s,o)=>{aO(t,n,o,s),r()})}function aO(e,t,n,r){Bp&&le.log(`Sending CLS span (${e})`);const s=Ve((Ft()||0)+(t?.startTime||0)),o=Ue().getScopeData().transactionName,i=t?Fn(t.sources[0]?.node):"Layout shift",a={[Ye]:"auto.http.browser.cls",[$n]:"ui.webvital.cls",[oc]:t?.duration||0,"sentry.pageload.span_id":n,"sentry.report_event":r};t?.sources&&t.sources.forEach((f,c)=>{a[`cls.source.${c+1}`]=Fn(f.node)});const u=Hp({name:i,transaction:o,attributes:a,startTime:s});u&&(u.addEvent("cls",{[Jo]:"",[Xo]:e}),u.end(s))}function cO(e){let t=0,n;if(!fS("largest-contentful-paint"))return;const r=aS(({metric:s})=>{const o=s.entries[s.entries.length-1];o&&(t=s.value,n=o)},!0);pS(e,(s,o)=>{uO(t,n,o,s),r()})}function uO(e,t,n,r){Bp&&le.log(`Sending LCP span (${e})`);const s=Ve((Ft()||0)+(t?.startTime||0)),o=Ue().getScopeData().transactionName,i=t?Fn(t.element):"Largest contentful paint",a={[Ye]:"auto.http.browser.lcp",[$n]:"ui.webvital.lcp",[oc]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(a["lcp.element"]=Fn(t.element)),t.id&&(a["lcp.id"]=t.id),t.url&&(a["lcp.url"]=t.url.trim().slice(0,200)),t.loadTime!=null&&(a["lcp.loadTime"]=t.loadTime),t.renderTime!=null&&(a["lcp.renderTime"]=t.renderTime),t.size!=null&&(a["lcp.size"]=t.size));const u=Hp({name:i,transaction:o,attributes:a,startTime:s});u&&(u.addEvent("lcp",{[Jo]:"millisecond",[Xo]:e}),u.end(s))}const lO=2147483647;let km=0,pt={},xt,Aa;function fO({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=lc();if(r&&Ft()){r.mark&&Ee.performance.mark("sentry-tracing-init");const s=yO(),o=t?cO(n):gO(),i=_O(),a=e?iO(n):mO();return()=>{s(),o?.(),i(),a?.()}}return()=>{}}function pO(){Is("longtask",({entries:e})=>{const t=Ot();if(!t)return;const{op:n,start_timestamp:r}=Te(t);for(const s of e){const o=Ve(Ft()+s.startTime),i=Ve(s.duration);n==="navigation"&&r&&o<r||Un(t,o,o+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[Ye]:"auto.ui.browser.metrics"}})}})}function dO(){new PerformanceObserver(t=>{const n=Ot();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const s=Ve(Ft()+r.startTime),{start_timestamp:o,op:i}=Te(n);if(i==="navigation"&&o&&s<o)continue;const a=Ve(r.duration),u={[Ye]:"auto.ui.browser.metrics"},f=r.scripts[0],{invoker:c,invokerType:l,sourceURL:p,sourceFunctionName:d,sourceCharPosition:h}=f;u["browser.script.invoker"]=c,u["browser.script.invoker_type"]=l,p&&(u["code.filepath"]=p),d&&(u["code.function"]=d),h!==-1&&(u["browser.script.source_char_position"]=h),Un(n,s,s+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:u})}}).observe({type:"long-animation-frame",buffered:!0})}function hO(){Is("event",({entries:e})=>{const t=Ot();if(t){for(const n of e)if(n.name==="click"){const r=Ve(Ft()+n.startTime),s=Ve(n.duration),o={name:Fn(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[Ye]:"auto.ui.browser.metrics"}},i=_k(n.target);i&&(o.attributes["ui.component_name"]=i),Un(t,r,r+s,o)}}})}function mO(){return iS(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(pt.cls={value:e.value,unit:""},Aa=t)},!0)}function gO(){return aS(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(pt.lcp={value:e.value,unit:"millisecond"},xt=t)},!0)}function yO(){return JP(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Ve(Ft()),r=Ve(t.startTime);pt.fid={value:e.value,unit:"millisecond"},pt["mark.fid"]={value:n+r,unit:"second"}})}function _O(){return XP(({metric:e})=>{e.entries[e.entries.length-1]&&(pt.ttfb={value:e.value,unit:"millisecond"})})}function vO(e,t){const n=lc(),r=Ft();if(!n?.getEntries||!r)return;const s=Ve(r),o=n.getEntries(),{op:i,start_timestamp:a}=Te(e);
15if(o.slice(km).forEach(u=>{const f=Ve(u.startTime),c=Ve(Math.max(0,u.duration));if(!(i==="navigation"&&a&&s+f<a))switch(u.entryType){case"navigation":{wO(e,u,s);break}case"mark":case"paint":case"measure":{bO(e,u,f,c,s,t.ignorePerformanceApiSpans);const l=cc(),p=u.startTime<l.firstHiddenTime;u.name==="first-paint"&&p&&(pt.fp={value:u.startTime,unit:"millisecond"}),u.name==="first-contentful-paint"&&p&&(pt.fcp={value:u.startTime,unit:"millisecond"});break}case"resource":{CO(e,u,u.name,f,c,s,t.ignoreResourceSpans);break}}}),km=Math.max(o.length-1,0),AO(e),i==="pageload"){kO(pt);const u=pt["mark.fid"];u&&pt.fid&&(Un(e,u.value,u.value+Ve(pt.fid.value),{name:"first input delay",op:"ui.action",attributes:{[Ye]:"auto.ui.browser.metrics"}}),delete pt["mark.fid"]),t.recordClsOnPageloadSpan||delete pt.cls,t.recordLcpOnPageloadSpan||delete pt.lcp,Object.entries(pt).forEach(([f,c])=>{CI(f,c.value,c.unit)}),e.setAttribute("performance.timeOrigin",s),e.setAttribute("performance.activationStart",Ws()),RO(e,t)}xt=void 0,Aa=void 0,pt={}}function bO(e,t,n,r,s,o){if(["mark","measure"].includes(t.entryType)&&Ki(t.name,o))return;const i=Zo(!1),a=Ve(i?i.requestStart:0),u=s+Math.max(n,a),f=s+n,c=f+r,l={[Ye]:"auto.resource.browser.metrics"};u!==f&&(l["sentry.browser.measure_happened_before_request"]=!0,l["sentry.browser.measure_start_time"]=u),SO(l,t),u<=c&&Un(e,u,c,{name:t.name,op:t.entryType,attributes:l})}function SO(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[r,s]of Object.entries(n))if(s&&om(s))e[`sentry.browser.measure.detail.${r}`]=s;else if(s!==void 0)try{e[`sentry.browser.measure.detail.${r}`]=JSON.stringify(s)}catch{}return}if(om(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function wO(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{ki(e,t,r,n)}),ki(e,t,"secureConnection",n,"TLS/SSL"),ki(e,t,"fetch",n,"cache"),ki(e,t,"domainLookup",n,"DNS"),TO(e,t,n)}function ki(e,t,n,r,s=n){const o=EO(n),i=t[o],a=t[`${n}Start`];!a||!i||Un(e,r+Ve(a),r+Ve(i),{op:`browser.${s}`,name:t.name,attributes:{[Ye]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function EO(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function TO(e,t,n){const r=n+Ve(t.requestStart),s=n+Ve(t.responseEnd),o=n+Ve(t.responseStart);t.responseEnd&&(Un(e,r,s,{op:"browser.request",name:t.name,attributes:{[Ye]:"auto.ui.browser.metrics"}}),Un(e,o,s,{op:"browser.response",name:t.name,attributes:{[Ye]:"auto.ui.browser.metrics"}}))}function CO(e,t,n,r,s,o,i){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(i?.includes(a))return;const u=Sa(n),f={[Ye]:"auto.resource.browser.metrics"};hu(f,t,"transferSize","http.response_transfer_size"),hu(f,t,"encodedBodySize","http.response_content_length"),hu(f,t,"decodedBodySize","http.decoded_response_content_length");const c=t.deliveryType;c!=null&&(f["http.response_delivery_type"]=c);const l=t.renderBlockingStatus;if(l&&(f["resource.render_blocking_status"]=l),u.protocol&&(f["url.scheme"]=u.protocol.split(":").pop()),u.host&&(f["server.address"]=u.host),f["url.same_origin"]=n.includes(Ee.location.origin),t.nextHopProtocol!=null){const{name:h,version:m}=lS(t.nextHopProtocol);f["network.protocol.name"]=h,f["network.protocol.version"]=m}const p=o+r,d=p+s;Un(e,p,d,{name:n.replace(Ee.location.origin,""),op:a,attributes:f})}function AO(e){const t=Ee.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),du(n.rtt)&&(pt["connection.rtt"]={value:n.rtt,unit:"millisecond"})),du(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),du(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function RO(e,t){xt&&t.recordLcpOnPageloadSpan&&(xt.element&&e.setAttribute("lcp.element",Fn(xt.element)),xt.
15id&&e.setAttribute("lcp.id",xt.id),xt.url&&e.setAttribute("lcp.url",xt.url.trim().slice(0,200)),xt.loadTime!=null&&e.setAttribute("lcp.loadTime",xt.loadTime),xt.renderTime!=null&&e.setAttribute("lcp.renderTime",xt.renderTime),e.setAttribute("lcp.size",xt.size)),Aa?.sources&&t.recordClsOnPageloadSpan&&Aa.sources.forEach((n,r)=>e.setAttribute(`cls.source.${r+1}`,Fn(n.node)))}function hu(e,t,n,r){const s=t[n];s!=null&&s<lO&&(e[r]=s)}function kO(e){const t=Zo(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}function IO(){return lc()&&Ft()?Is("element",PO):()=>{}}const PO=({entries:e})=>{const t=Ot(),n=t?Et(t):void 0,r=n?Te(n).description:Ue().getScopeData().transactionName;e.forEach(s=>{const o=s;if(!o.identifier)return;const i=o.name,a=o.renderTime,u=o.loadTime,[f,c]=u?[Ve(u),"load-time"]:a?[Ve(a),"render-time"]:[nt(),"entry-emission"],l=i==="image-paint"?Ve(Math.max(0,(a??0)-(u??0))):0,p={[Ye]:"auto.ui.browser.elementtiming",[$n]:"ui.elementtiming",[Vt]:"component","sentry.span_start_time_source":c,"sentry.transaction_name":r,"element.id":o.id,"element.type":o.element?.tagName?.toLowerCase()||"unknown","element.size":o.naturalWidth&&o.naturalHeight?`${o.naturalWidth}x${o.naturalHeight}`:void 0,"element.render_time":a,"element.load_time":u,"element.url":o.url||void 0,"element.identifier":o.identifier,"element.paint_type":i};OI({name:`element[${o.identifier}]`,attributes:p,startTime:f,onlyIfParent:!0},d=>{d.end(f+l)})})};let Ii;function OO(e){const t="history";Fs(t,e),$s(t,xO)}function xO(){if(Ee.addEventListener("popstate",()=>{const t=Ee.location.href,n=Ii;if(Ii=t,n===t)return;gn("history",{from:n,to:t})}),!yP())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=Ii,o=NO(String(r));if(Ii=o,s===o)return t.apply(this,n);gn("history",{from:s,to:o})}return t.apply(this,n)}}Of(Ee.history,"pushState",e),Of(Ee.history,"replaceState",e)}function NO(e){try{return new URL(e,Ee.location.origin).toString()}catch{return e}}const ho="__sentry_xhr_v3__";function DO(e){Fs("xhr",e),$s("xhr",LO)}function LO(){if(!Ee.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,o=nt()*1e3,i=ar(r[0])?r[0].toUpperCase():void 0,a=MO(r[1]);if(!i||!a)return t.apply(n,r);n[ho]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const u=()=>{const f=n[ho];if(f&&n.readyState===4){try{f.status_code=n.status}catch{}const c={endTimestamp:nt()*1e3,startTimestamp:o,xhr:n,virtualError:s};gn("xhr",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(f,c,l){return u(),f.apply(c,l)}}):n.addEventListener("readystatechange",u),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(f,c,l){const[p,d]=l,h=c[ho];return h&&ar(p)&&ar(d)&&(h.request_headers[p.toLowerCase()]=d),f.apply(c,l)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[ho];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:nt()*1e3,xhr:n};return gn("xhr",o),t.apply(n,r)}})}function MO(e){if(ar(e))return e;try{return e.toString()}catch{}}const mu=[],Xi=new Map,FO=60;function $O(){if(lc()&&Ft()){const t=BO();return()=>{t()}}return()=>{}}const Im={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function BO(){return QP(UO)}const UO=({metric:e})=>{if(e.value==null)return;const t=Ve(e.value);if(t>FO)return;const n=e.entries.find(h=>h.duration===e.value&&Im[h.name]);if(!n)return;const{interactionId:r}=n,s=Im[n.name],o=Ve(Ft()+n.startTime),i=Ot(),a=i?Et(i):void 0,f=(r!=null?Xi.get(r):void 0)||a,c=f?Te(f).description:Ue().getScopeData().transactionName,l=Fn(n.target),p={[Ye]:"auto.http.browser.inp",[$n]:`ui.interaction.${s}`,[oc]:n.duration},d=Hp({name:l,transaction:c,attributes:p,startTime:o});d&&(d.addEvent("inp",{[Jo]:"millisecond",[Xo]:e.value}),d.end(o+t))};function HO(){const e=({entries:t})=>{const n=Ot(),r=n&&Et(n);t.forEach(s=>{if(!oO(s)||!r)return;const o=s.interactionId;if(o!=null&&!Xi.has(o)){if(mu.length>10){const i=mu.shift();Xi.delete(i)}mu.push(o),Xi.set(o,r)}})};Is("event",e),Is("first-input",e)}const mr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function un(e=0){return((Ft()||performance.timeOrigin)+e)/1e3}function qO(e){const t=[];if(e.nextHopProtocol!=null){const{name:n,version:r}=lS(e.nextHopProtocol);t.push(["network.protocol.version",r],["network.protocol.name",n])}return Ft()?[...t,["http.request.redirect_start",un(e.redirectStart)],["http.request.fetch_start",un(e.fetchStart)],["http.request.domain_lookup_start",un(e.domainLookupStart)],["http.request.domain_lookup_end",un(e.domainLookupEnd)],["http.request.connect_start",un(e.connectStart)],["http.request.secure_connection_start",un(e.secureConnectionStart)],["http.request.connection_end",un(e.connectEnd)],["http.request.request_start",un(e.requestStart)],["http.request.response_start",un(e.responseStart)],["http.request.response_end",un(e.responseEnd)]]:t}const Pm=new WeakMap,gu=new Map,dS={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function jO(e,t){const{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:o,enableHTTPTimings:i,tracePropagationTargets:a,onRequestSpanStart:u}={...dS,...t},f=typeof o=="function"?o:p=>!0,c=p=>WO(p,a),l={};
15n&&(e.addEventProcessor(p=>(p.type==="transaction"&&p.spans&&p.spans.forEach(d=>{if(d.op==="http.client"){const h=gu.get(d.span_id);h&&(d.timestamp=h/1e3,gu.delete(d.span_id))}}),p)),s&&SP(p=>{if(p.response){const d=Pm.get(p.response);d&&p.endTimestamp&&gu.set(d,p.endTimestamp)}}),bP(p=>{const d=fP(p,f,c,l);if(p.response&&p.fetchData.__span&&Pm.set(p.response,p.fetchData.__span),d){const h=hS(p.fetchData.url),m=h?Sa(h).host:void 0;d.setAttributes({"http.url":h,"server.address":m}),i&&Om(d),u?.(d,{headers:p.headers})}})),r&&DO(p=>{const d=GO(p,f,c,l);if(d){i&&Om(d);let h;try{h=new Headers(p.xhr.__sentry_xhr_v3__?.request_headers)}catch{}u?.(d,{headers:h})}})}function VO(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function Om(e){const{url:t}=Te(e).data;if(!t||typeof t!="string")return;const n=Is("resource",({entries:r})=>{r.forEach(s=>{VO(s)&&s.name.endsWith(t)&&(qO(s).forEach(i=>e.setAttribute(...i)),setTimeout(n))})})}function WO(e,t){const n=Op();if(n){let r,s;try{r=new URL(e,n),s=new URL(n).origin}catch{return!1}const o=r.origin===s;return t?Ki(r.toString(),t)||o&&Ki(r.pathname,t):o}else{const r=!!e.match(/^\/(?!\/)/);return t?Ki(e,t):r}}function GO(e,t,n,r){const s=e.xhr,o=s?.[ho];if(!s||s.__sentry_own_request__||!o)return;const{url:i,method:a}=o,u=Bn()&&t(i);if(e.endTimestamp&&u){const m=s.__sentry_xhr_span_id__;if(!m)return;const b=r[m];b&&o.status_code!==void 0&&(Tb(b,o.status_code),b.end(),delete r[m]);return}const f=hS(i),c=Sa(f||i),l=lP(i),p=!!Ot(),d=u&&p?hr({name:`${a} ${l}`,attributes:{url:i,type:"xhr","http.method":a,"http.url":f,"server.address":c?.host,[Ye]:"auto.http.browser",[$n]:"http.client",...c?.search&&{"http.query":c?.search},...c?.hash&&{"http.fragment":c?.hash}}}):new dr;s.__sentry_xhr_span_id__=d.spanContext().spanId,r[s.__sentry_xhr_span_id__]=d,n(i)&&KO(s,Bn()&&p?d:void 0);const h=st();return h&&h.emit("beforeOutgoingRequestSpan",d,e),d}function KO(e,t){const{"sentry-trace":n,baggage:r}=Gb({span:t});n&&zO(e,n,r)}function zO(e,t,n){const r=e.__sentry_xhr_v3__?.request_headers;if(!r?.["sentry-trace"])try{if(e.setRequestHeader("sentry-trace",t),n){const s=r?.baggage;(!s||!YO(s))&&e.setRequestHeader("baggage",n)}}catch{}}function YO(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function hS(e){try{return new URL(e,Lt.location.origin).href}catch{return}}function JO(){Lt.document?Lt.document.addEventListener("visibilitychange",()=>{const e=Ot();if(!e)return;const t=Et(e);if(Lt.document.hidden&&t){const n="cancelled",{op:r,status:s}=Te(t);mr&&le.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),s||t.setStatus({code:at,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):mr&&le.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const XO=3600,mS="sentry_previous_trace",QO="sentry.previous_trace";function ZO(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let s=r?nx():void 0;e.on("spanStart",i=>{if(Et(i)!==i)return;const a=Ue().getPropagationContext();s=ex(s,i,a),r&&tx(s)});let o=!0;n&&e.on("beforeSampling",i=>{if(!s)return;const a=Ue(),u=a.getPropagationContext();if(o&&u.parentSpanId){o=!1;return}a.setPropagationContext({...u,dsc:{...u.dsc,sample_rate:String(s.sampleRate),sampled:String(Hf(s.spanContext))},sampleRand:s.sampleRand}),i.parentSampled=Hf(s.spanContext),i.parentSampleRate=s.sampleRate,i.spanAttributes={...i.spanAttributes,[wb]:s.sampleRate}})}function ex(e,t,n){const r=Te(t);function s(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[xp])}catch{return 0}}const o={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:s(),sampleRand:n.sampleRand};if(!e)return o;const i=e.spanContext;return i.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=XO&&(mr&&le.log(`Adding previous_trace ${i} link to span ${{op:r.op,...t.spanContext()}}`),t.addLink({context:i,attributes:{[$k]:"previous_trace"}}),t.setAttribute(QO,`${i.traceId}-${i.spanId}-${Hf(i)?1:0}`)),o)}function tx(e){try{Lt.sessionStorage.setItem(mS,JSON.stringify(e))}
15catch(t){mr&&le.warn("Could not store previous trace in sessionStorage",t)}}function nx(){try{const e=Lt.sessionStorage?.getItem(mS);return JSON.parse(e)}catch{return}}function Hf(e){return e.traceFlags===1}const rx="BrowserTracing",sx={...Ji,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,_experiments:{},...dS},xm=((e={})=>{const t={name:void 0,source:void 0},n=Lt.document,{enableInp:r,enableElementTiming:s,enableLongTask:o,enableLongAnimationFrame:i,_experiments:{enableInteractions:a,enableStandaloneClsSpans:u,enableStandaloneLcpSpans:f},beforeStartSpan:c,idleTimeout:l,finalTimeout:p,childSpanTimeout:d,markBackgroundSpan:h,traceFetch:m,traceXHR:b,trackFetchStreamPerformance:w,shouldCreateSpanForRequest:_,enableHTTPTimings:y,ignoreResourceSpans:g,ignorePerformanceApiSpans:v,instrumentPageLoad:E,instrumentNavigation:S,detectRedirects:A,linkPreviousTrace:C,consistentTraceSampling:k,onRequestSpanStart:x}={...sx,...e};let I,P;function V(j,M,$=!0){const N=M.op==="pageload",Z=c?c(M):M,Oe=Z.attributes||{};if(M.name!==Z.name&&(Oe[Vt]="custom",Z.attributes=Oe),!$){const ie=Hs();hr({...Z,startTime:ie}).end(ie);return}t.name=Z.name,t.source=Oe[Vt];const Re=jb(Z,{idleTimeout:l,finalTimeout:p,childSpanTimeout:d,disableAutoFinish:N,beforeSpanEnd:ie=>{I?.(),vO(ie,{recordClsOnPageloadSpan:!u,recordLcpOnPageloadSpan:!f,ignoreResourceSpans:g,ignorePerformanceApiSpans:v}),Dm(j,void 0);const _e=Ue(),Ce=_e.getPropagationContext();_e.setPropagationContext({...Ce,traceId:Re.spanContext().traceId,sampled:Jr(Re),dsc:pr(ie)})}});Dm(j,Re);function ee(){n&&["interactive","complete"].includes(n.readyState)&&j.emit("idleSpanEnableAutoFinish",Re)}N&&n&&(n.addEventListener("readystatechange",()=>{ee()}),ee())}return{name:rx,setup(j){if(rI(),I=fO({recordClsStandaloneSpans:u||!1,recordLcpStandaloneSpans:f||!1,client:j}),r&&$O(),s&&IO(),i&&Fe.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?dO():o&&pO(),a&&hO(),A&&n){const $=()=>{P=nt()};addEventListener("click",$,{capture:!0}),addEventListener("keydown",$,{capture:!0,passive:!0})}function M(){const $=$o(j);$&&!Te($).timestamp&&(mr&&le.log(`[Tracing] Finishing current active span with op: ${Te($).op}`),$.setAttribute(_a,"cancelled"),$.end())}j.on("startNavigationSpan",($,N)=>{if(st()!==j)return;if(N?.isRedirect){mr&&le.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),V(j,{op:"navigation.redirect",...$},!1);return}M(),js().setPropagationContext({traceId:fr(),sampleRand:Math.random()});const Z=Ue();Z.setPropagationContext({traceId:fr(),sampleRand:Math.random()}),Z.setSDKProcessingMetadata({normalizedRequest:void 0}),V(j,{op:"navigation",...$})}),j.on("startPageLoadSpan",($,N={})=>{if(st()!==j)return;M();const Z=N.sentryTrace||Nm("sentry-trace"),Oe=N.baggage||Nm("baggage"),Re=zk(Z,Oe),ee=Ue();ee.setPropagationContext(Re),ee.setSDKProcessingMetadata({normalizedRequest:Jb()}),V(j,{op:"pageload",...$})})},afterAllSetup(j){let M=Op();if(C!=="off"&&ZO(j,{linkPreviousTrace:C,consistentTraceSampling:k}),Lt.location){if(E){const $=Ft();ox(j,{name:Lt.location.pathname,startTime:$?$/1e3:void 0,attributes:{[Vt]:"url",[Ye]:"auto.pageload.browser"}})}S&&OO(({to:$,from:N})=>{if(N===void 0&&M?.indexOf($)!==-1){M=void 0;return}M=void 0;const Z=zb($),Oe=$o(j),Re=Oe&&A&&ax(Oe,P);gS(j,{name:Z?.pathname||Lt.location.pathname,attributes:{[Vt]:"url",[Ye]:"auto.navigation.browser"}},{url:$,isRedirect:Re})})}h&&JO(),a&&ix(j,l,p,d,t),r&&HO(),jO(j,{traceFetch:m,traceXHR:b,trackFetchStreamPerformance:w,tracePropagationTargets:j.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:_,enableHTTPTimings:y,onRequestSpanStart:x})}}});function ox(e,t,n){e.emit("startPageLoadSpan",t,n),Ue().setTransactionName(t.name);const r=$o(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function gS(e,t,n){const{url:r,isRedirect:s}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:s}),e.emit("startNavigationSpan",t,{isRedirect:s});const o=Ue();return o.setTransactionName(t.name),r&&!s&&o.setSDKProcessingMetadata({normalizedRequest:{...Jb(),url:r}}),$o(e)}function Nm(e){return Lt.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}
15function ix(e,t,n,r,s){const o=Lt.document;let i;const a=()=>{const u="ui.action.click",f=$o(e);if(f){const c=Te(f).op;if(["navigation","pageload"].includes(c)){mr&&le.warn(`[Tracing] Did not create ${u} span because a pageload or navigation span is in progress.`);return}}if(i&&(i.setAttribute(_a,"interactionInterrupted"),i.end(),i=void 0),!s.name){mr&&le.warn(`[Tracing] Did not create ${u} transaction because _latestRouteName is missing.`);return}i=jb({name:s.name,op:u,attributes:{[Vt]:s.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};o&&addEventListener("click",a,{capture:!0})}const yS="_sentry_idleSpan";function $o(e){return e[yS]}function Dm(e,t){an(e,yS,t)}const Lm=.3;function ax(e,t){const n=Te(e),r=Hs(),s=n.start_timestamp;return!(r-s>Lm||t&&r-t<=Lm)}const _S=["activate","mount"],vS=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,cx=/(?:^|[-_])(\w)/g,ux=e=>e.replace(cx,t=>t.toUpperCase()).replace(/[-_]/g,""),lx="<Root>",yu="<Anonymous>",fx=(e,t)=>e.repeat(t),Ro=(e,t)=>{if(!e)return yu;if(e.$root===e)return lx;if(!e.$options)return yu;const n=e.$options;let r=n.name||n._componentTag||n.__name;const s=n.__file;if(!r&&s){const o=s.match(/([^/\\]+)\.vue$/);o&&(r=o[1])}return(r?`<${ux(r)}>`:yu)+(s&&t!==!1?` at ${s}`:"")},px=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const s=t[t.length-1];if(s.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[s,n],n=0)}t.push(e),e=e.$parent}return` 16 17found in 18 19${t.map((s,o)=>`${(o===0?"---> ":fx(" ",5+o*2))+(Array.isArray(s)?`${Ro(s[0])}... (${s[1]} recursive calls)`:Ro(s))}`).join(` 20`)}`}return` 21 22(found in ${Ro(e)})`},dx=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,s,o)=>{const i=Ro(s,!1),a=s?px(s):"",u={componentName:i,lifecycleHook:o,trace:a};if(t.attachProps&&s&&(s.$options?.propsData?u.propsData=s.$options.propsData:s.$props&&(u.propsData=s.$props)),setTimeout(()=>{Qo(r,{captureContext:{contexts:{vue:u}},mechanism:{handled:!!n,type:"vue"}})}),typeof n=="function"&&e.config.errorHandler)n.call(e,r,s,o);else throw r}},Mm="ui.vue",hx={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function _u(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function mx(e,t){function n(s){return s.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(s=>n(t)===n(s))}const gx=(e={})=>{const t=(e.hooks||[]).concat(_S).filter((s,o,i)=>i.indexOf(s)===o),n={},r=e.timeout||2e3;for(const s of t){const o=hx[s];if(!o){vS&&le.warn(`Unknown hook: ${s}`);continue}for(const i of o)n[i]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||hr({name:"Application Render",op:`${Mm}.render`,attributes:{[Ye]:"auto.ui.vue"},onlyIfParent:!0}),_u(this,nt(),r));const u=Ro(this,!1);if(!(a||(Array.isArray(e.trackComponents)?mx(e.trackComponents,u):e.trackComponents))){_u(this,nt(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const c=i===o[0],l=this.$root?.$_sentryRootComponentSpan||Ot();if(c){if(l){const p=this.$_sentryComponentSpans[s];p&&p.end(),this.$_sentryComponentSpans[s]=hr({name:`Vue ${u}`,op:`${Mm}.${s}`,attributes:{[Ye]:"auto.ui.vue"},onlyIfParent:!0})}}else{const p=this.$_sentryComponentSpans[s];if(!p)return;p.end(),_u(this,nt(),r)}}}return n},yx=Fe,_x={Vue:yx.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:_S,timeout:2e3,trackComponents:!1}},vx="Vue",bx=(e={})=>({name:vx,setup(t){const n={..._x,...t.getOptions(),...e};if(!n.Vue&&!n.app){Ms(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}
22n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(s=>Fm(s,n)):n.Vue&&Fm(n.Vue,n)}}),Fm=(e,t)=>{vS&&e._instance?.isMounted===!0&&Ms(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&dx(e,t),Bn(t)&&e.mixin(gx(t.tracingOptions))};function Sx(e,t,n){let r=!1;e.onError(s=>Qo(s,{mechanism:{handled:!1}})),e.beforeEach((s,o,i)=>{const a=r?void 0:wx(),u={};for(const l of Object.keys(s.params))u[`url.path.parameter.${l}`]=s.params[l],u[`params.${l}`]=s.params[l];for(const l of Object.keys(s.query)){const p=s.query[l];p&&(u[`query.${l}`]=p)}let f=s.path,c="url";if(s.name&&t.routeLabel!=="path")f=s.name.toString(),c="custom";else if(s.matched.length>0){const l=s.matched.length-1;f=s.matched[l].path,c="route"}Ue().setTransactionName(f),t.instrumentPageLoad&&a&&(Te(a).data[Vt]!=="custom"&&(a.updateName(f),a.setAttribute(Vt,c)),a.setAttributes({...u,[Ye]:"auto.pageload.vue"}),r=!0),t.instrumentNavigation&&!a&&n({name:f,op:"navigation",attributes:{...u,[Ye]:"auto.navigation.vue",[Vt]:c}}),i&&i()})}function wx(){const e=Ot(),t=e&&Et(e);return t&&Te(t).op==="pageload"?t:void 0}function Ex(e={}){if(!e.router)return xm(e);const t=xm({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:s=!0,routeLabel:o="name"}=e;return{...t,afterAllSetup(i){t.afterAllSetup(i),Sx(n,{routeLabel:o,instrumentNavigation:r,instrumentPageLoad:s},u=>{gS(i,u)})}}}function fc(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}const bS="StringList";function pe({name:e,value:t,type:n,fallback:r}){const s=o=>{if(typeof r<"u")return r;const i=new Error(`validateEnv:${e}, ${o}`);throw console.error(i),i};if(!t)return s("no value provided");if(n===String)return t;if(n===bS)return t.split(",");if(n===Number){const o=parseFloat(t);return isNaN(o)?s(`suppose to be number, but "${o}" instead`):o}if(n===Boolean)return t==="true"?!0:t==="false"?!1:s(`suppose to be boolean, but "${t}" instead`);if(n===JSON)try{return JSON.parse(`"${t}"`)}catch(o){return s(`can't parse ${n} env variable, error: "${o}"`)}throw new Error(`validateEnv:${e}, unknown type "${n}" is provided`)}var ni={};pe({name:"NODE_ENV",value:void 0,type:String,fallback:"development"});const Tx=pe({name:"PROJECT",value:"burninghut",type:String}),$m=pe({name:"IS_PRODUCTION",value:"true",type:Boolean,fallback:!1});pe({name:"LOGGER",value:"warn,error",type:String,fallback:"warn,error"});const Cx=pe({name:"LOGGER_TRUNCATE",value:"500",type:Number,fallback:500});pe({name:"REDIS_HOST",value:ni.REDIS_HOST,type:String,fallback:""});pe({name:"REDIS_PORT",value:ni.REDIS_PORT,type:Number,fallback:0});pe({name:"REDIS_DB",value:ni.REDIS_DB,type:String,fallback:""});pe({name:"REDIS_APP_CACHE",value:ni.REDIS_APP_CACHE,type:Boolean,fallback:!1});pe({name:"REDIS_PREFIX",value:ni.REDIS_PREFIX,type:String,fallback:""});const pc=pe({name:"AUTH_API_URL",value:"https://auth.burninghut.ru",type:String}),dc=pe({name:"AUTH_CLIENT_ID",value:"web",type:String,fallback:"web"}),SS=pe({name:"PROFILE_API_URL",value:"https://profile.burninghut.ru",type:String}),wS=pe({name:"TALKER_API_URL",value:"https://talker.burninghut.ru",type:String}),hc=pe({name:"ACCESS_TOKEN_COOKIE_NAME",value:"accessToken",type:String}),u2=pe({name:"BUILD_COMMIT_HASH",value:"69e7a69b",type:String,fallback:""}),l2=pe({name:"BUILD_COMMIT_URL",value:"https://gitlab.buhta.org/devhacker/burninghut/bh-frontend/-/commit/69e7a69b",type:String,fallback:""}),f2=pe({name:"BUILD_DATE",value:"Thu 1 Oct 06:21",type:String,fallback:""}),p2=pe({name:"BUILD_AUTHOR",value:"ЮÑий ÐаÑÑÑ Ð¸Ð½",type:String,fallback:""}),d2=pe({name:"BUILD_BRANCH",value:"",type:String,fallback:""}),h2=pe({name:"BUILD_MR_URL",value:"https://gitlab.buhta.org/devhacker/burninghut/bh-frontend/-/merge_requests/",type:String,fallback:""}),m2=pe({name:"BUILD_MR_IDD",value:"",type:String,fallback:""}),g2=pe({name:"WEBSOCKET_HOST",value:"wss://ws.burninghut.ru",type:String,fallback:""}),Ax=new Map([["log","info"],["warn","warning"],["error","error"]]);function Rx({type:e,scopes:t,messages:n,args:r}){const[s,...o]=t,[i,a]=kx(r),u=[s,...o,...n,...i].join(" ");if(aP({category:s??"unknown",message:u,level:Ax.get(e),data:a}),e==="error"){const f=r.find(c=>c instanceof Error);f?Qo(f):Tm(u,"error")}e==="warn"&&Tm(u,"warning")}function kx(e){const t=[],n=[];return e.forEach(r=>{n.length===0&&(typeof r=="string"&&r.length<Cx&&!r.includes(` 23`)||typeof r=="number"||typeof r=="boolean")?t.push(r):n.push(r)}),n.length===1&&fc(n[0])&&!Array.isArray(n[0])?[t,n[0]]:[t,n.length?Object.fromEntries(Object.entries(n)):void 0]}const Ix=Je(e=>{const t=ub(null);e.provide("logger",t),t.subscribe(X1),t.subscribe(Rx)}),Px=Je({dependsOn:["pinia"],setup(e){const t=e.$pinia,n=e.$logger.withScope("ð");if(!t){console.warn("ð Cannot install PiniaLogger because Pinia is not installed");return}t.use(({store:r})=>{r.$onAction(({name:s,args:o,store:i})=>{n(i.$id,s,...o)})})}});let vu;function ES(e){return{lang:e?.lang??vu?.lang,message:e?.message,abortEarly:e?.abortEarly??vu?.abortEarly,abortPipeEarly:e?.abortPipeEarly??vu?.abortPipeEarly}}let Ox;function xx(e){return Ox?.get(e)}let Nx;function Dx(e){return Nx?.get(e)}let Lx;function Mx(e,t){return Lx?.get(e)?.get(t)}function qp(e){const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}
23`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function It(e,t,n,r,s){const o=s&&"input"in s?s.input:n.value,i=s?.expected??e.expects??null,a=s?.received??qp(o),u={kind:e.kind,type:e.type,input:o,expected:i,received:a,message:`Invalid ${t}: ${i?`Expected ${i} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:s?.path,issues:s?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},f=e.kind==="schema",c=s?.message??e.message??Mx(e.reference,u.lang)??(f?Dx(u.lang):null)??r.message??xx(u.lang);c!==void 0&&(u.message=typeof c=="function"?c(u):c),f&&(n.typed=!1),n.issues?n.issues.push(u):n.issues=[u]}function yt(e){return{version:1,vendor:"valibot",validate(t){return e["~run"]({value:t},ES())}}}function Fx(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function jp(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}var $x=class extends Error{constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function Bx(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function mc(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function qf(){return{kind:"schema",type:"any",reference:qf,expects:"any",async:!1,get"~standard"(){return yt(this)},"~run"(e){return e.typed=!0,e}}}function Xe(e,t){return{kind:"schema",type:"array",reference:Xe,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return yt(this)},"~run"(n,r){const s=n.value;if(Array.isArray(s)){n.typed=!0,n.value=[];for(let o=0;o<s.length;o++){const i=s[o],a=this.item["~run"]({value:i},r);if(a.issues){const u={type:"array",origin:"value",input:s,key:o,value:i};for(const f of a.issues)f.path?f.path.unshift(u):f.path=[u],n.issues?.push(f);if(n.issues||(n.issues=a.issues),r.abortEarly){n.typed=!1;break}}a.typed||(n.typed=!1),n.value.push(a.value)}}else It(this,"type",n,r);return n}}}function wt(e){return{kind:"schema",type:"boolean",reference:wt,expects:"boolean",async:!1,message:e,get"~standard"(){return yt(this)},"~run"(t,n){return typeof t.value=="boolean"?t.typed=!0:It(this,"type",t,n),t}}}function TS(e,t){return{kind:"schema",type:"custom",reference:TS,expects:"unknown",async:!1,check:e,message:t,get"~standard"(){return yt(this)},"~run"(n,r){return this.check(n.value)?n.typed=!0:It(this,"type",n,r),n}}}function Pr(e){return{kind:"schema",type:"function",reference:Pr,expects:"Function",async:!1,message:e,get"~standard"(){return yt(this)},"~run"(t,n){return typeof t.value=="function"?t.typed=!0:It(this,"type",t,n),t}}}function Nr(e,t){return{kind:"schema",type:"literal",reference:Nr,expects:qp(e),async:!1,literal:e,message:t,get"~standard"(){return yt(this)},"~run"(n,r){return n.value===this.literal?n.typed=!0:It(this,"type",n,r),n}}}function Ke(e,t){return{kind:"schema",type:"nullable",reference:Ke,expects:`(${e.expects} | null)`,async:!1,wrapped:e,default:t,get"~standard"(){return yt(this)},"~run"(n,r){return n.value===null&&(this.default!==void 0&&(n.value=mc(this,n,r)),n.value===null)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function Me(e,t){return{kind:"schema",type:"nullish",reference:Me,expects:`(${e.expects} | null | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return yt(this)},"~run"(n,r){return(n.value===null||n.value===void 0)&&(this.default!==void 0&&(n.value=mc(this,n,r)),n.value===null||n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function ce(e){return{kind:"schema",type:"number",reference:ce,expects:"number",async:!1,message:e,get"~standard"(){return yt(this)},"~run"(t,n){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:It(this,"type",t,n),t}}}function de(e,t){return{kind:"schema",type:"object",reference:de,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return yt(this)},"~run"(n,r){const s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(const o in this.entries){const i=this.entries[o];if(o in s||(i.type==="exact_optional"||i.type==="optional"||i.type==="nullish")&&i.default!==void 0){const a=o in s?s[o]:mc(i),u=i["~run"]({value:a},r);if(u.issues){const f={type:"object",origin:"value",input:s,key:o,value:a};for(const c of u.issues)c.path?c.path.unshift(f):c.path=[f],n.issues?.pu
23sh(c);if(n.issues||(n.issues=u.issues),r.abortEarly){n.typed=!1;break}}u.typed||(n.typed=!1),n.value[o]=u.value}else if(i.fallback!==void 0)n.value[o]=Bx(i);else if(i.type!=="exact_optional"&&i.type!=="optional"&&i.type!=="nullish"&&(It(this,"key",n,r,{input:void 0,expected:`"${o}"`,path:[{type:"object",origin:"key",input:s,key:o,value:s[o]}]}),r.abortEarly))break}}else It(this,"type",n,r);return n}}}function et(e,t){return{kind:"schema",type:"optional",reference:et,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return yt(this)},"~run"(n,r){return n.value===void 0&&(this.default!==void 0&&(n.value=mc(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function Vp(e,t){return{kind:"schema",type:"picklist",reference:Vp,expects:jp(e.map(qp),"|"),async:!1,options:e,message:t,get"~standard"(){return yt(this)},"~run"(n,r){return this.options.includes(n.value)?n.typed=!0:It(this,"type",n,r),n}}}function Ux(e,t,n){return{kind:"schema",type:"record",reference:Ux,expects:"Object",async:!1,key:e,value:t,message:n,get"~standard"(){return yt(this)},"~run"(r,s){const o=r.value;if(o&&typeof o=="object"){r.typed=!0,r.value={};for(const i in o)if(Fx(o,i)){const a=o[i],u=this.key["~run"]({value:i},s);if(u.issues){const c={type:"object",origin:"key",input:o,key:i,value:a};for(const l of u.issues)l.path=[c],r.issues?.push(l);if(r.issues||(r.issues=u.issues),s.abortEarly){r.typed=!1;break}}const f=this.value["~run"]({value:a},s);if(f.issues){const c={type:"object",origin:"value",input:o,key:i,value:a};for(const l of f.issues)l.path?l.path.unshift(c):l.path=[c],r.issues?.push(l);if(r.issues||(r.issues=f.issues),s.abortEarly){r.typed=!1;break}}(!u.typed||!f.typed)&&(r.typed=!1),u.typed&&(r.value[u.value]=f.value)}}else It(this,"type",r,s);return r}}}function B(e){return{kind:"schema",type:"string",reference:B,expects:"string",async:!1,message:e,get"~standard"(){return yt(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:It(this,"type",t,n),t}}}function Bm(e){let t;if(e)for(const n of e)t?t.push(...n.issues):t=n.issues;return t}function ri(e,t){return{kind:"schema",type:"union",reference:ri,expects:jp(e.map(n=>n.expects),"|"),async:!1,options:e,message:t,get"~standard"(){return yt(this)},"~run"(n,r){let s,o,i;for(const a of this.options){const u=a["~run"]({value:n.value},r);if(u.typed)if(u.issues)o?o.push(u):o=[u];else{s=u;break}else i?i.push(u):i=[u]}if(s)return s;if(o){if(o.length===1)return o[0];It(this,"type",n,r,{issues:Bm(o)}),n.typed=!0}else{if(i?.length===1)return i[0];It(this,"type",n,r,{issues:Bm(i)})}return n}}}function CS(){return{kind:"schema",type:"unknown",reference:CS,expects:"unknown",async:!1,get"~standard"(){return yt(this)},"~run"(e){return e.typed=!0,e}}}function Hx(e,t,n){return{kind:"schema",type:"variant",reference:Hx,expects:"Object",async:!1,key:e,options:t,message:n,get"~standard"(){return yt(this)},"~run"(r,s){const o=r.value;if(o&&typeof o=="object"){let i,a=0,u=this.key,f=[];const c=(l,p)=>{for(const d of l.options){if(d.type==="variant")c(d,new Set(p).add(d.key));else{let h=!0,m=0;for(const b of p){const w=d.entries[b];if(b in o?w["~run"]({typed:!1,value:o[b]},{abortEarly:!0}).issues:w.type!=="exact_optional"&&w.type!=="optional"&&w.type!=="nullish"){h=!1,u!==b&&(a<m||a===m&&b in o&&!(u in o))&&(a=m,u=b,f=[]),u===b&&f.push(d.entries[b].expects);break}m++}if(h){const b=d["~run"]({value:o},s);(!i||!i.typed&&b.typed)&&(i=b)}}if(i&&!i.issues)break}};if(c(this,new Set([this.key])),i)return i;It(this,"type",r,s,{input:o[u],expected:jp(f,"|"),path:[{type:"object",origin:"value",input:o,key:u,value:o[u]}]})}else It(this,"type",r,s);return r}}}function qx(e,t,n){const r=e["~run"]({value:t},ES(n));if(r.issues)throw new $x(r.issues);return r.value}const Pt=(e,t,n=!1)=>
23{if(!n)return e;try{return qx(t,e)}catch(r){throw typeof r=="object"&&r!==null&&"issues"in r?console.warn("schema failed",{data:e,error:r,issues:r.issues}):console.warn("parseData failed",r),r}};function jx(e){return fc(e)?"value"in e:!1}const Vx=de({interceptors:de({authRequest:Pr(),authError:Pr()}),auth:de({changeAfterLoginAction:Pr(),setRefreshTokenPending:Pr(),isAuthenticatedInWordpress:TS(jx)}),user:de({updateUser:Pr(),patchUser:Pr()})});function Wx(e){return{...Pt(e,Vx)}}const Qr=e=>Object.assign(n=>{const r=fe();return r.$pinia||console.warn("[Pinia Warning]: Store accessed without a valid Pinia instance.",e),e(n??r.$pinia)},e),gc=4e4,ut=e=>{const t=$fetch.create(e);return(...n)=>t.raw(...n).then(({status:r,_data:s})=>({status:r,data:s}))},Gx=["integer_id","user_id","sub","id","author_id"],Kx=new RegExp(`("(?:${Gx.join("|")})"\\s*:\\s*)(\\d{16,})(?=\\s*[,}\\]])`,"g");function vr(e){return JSON.parse(e.replace(Kx,'$1"$2"'))}const or=(e={})=>{const{request:t,options:n,error:r,response:s}=e,o=[],i=n.method??"GET";o.push(s?.status),o.push(i);const a=n.params??n.query,u=a&&i==="GET"?"?"+new URLSearchParams(a).toString():"";return o.push(t.includes(n.baseURL)?t:n.baseURL+t+u),i!=="GET"&&a&&o.push(JSON.stringify(a)),Object.keys(n.headers).length&&o.push(n.headers),o.push(r),o.push(s?._data??s?.body),o.filter(Boolean)},zt=(e,t="")=>{if(!e)throw new Error("No $logger provided");const n=e.withScope(`ð ${t}`);return{onRequest(r){n("â¢",...or(r))},onRequestError(r){n.error("[req]",...or(r))},onResponse(r){n("âï¸",...or(r))},async onResponseError(r){n.error("[res]",...or(r))}}};function si(e){let t=null;const n=()=>
23{if(t)return;const{$logger:r}=fe();r&&(t=r.withScope(`ð ${e}`))};return{onRequest(r){n(),t?.("â¢",...or(r))},onRequestError(r){n(),t?.error("[req]",...or(r))},onResponse(r){t?.("âï¸",...or(r))},onResponseError(r){t?.error("[res]",...or(r))}}}class mo extends Error{}mo.prototype.name="InvalidTokenError";function zx(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function Yx(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return zx(t)}catch{return atob(t)}}function Jx(e,t){if(typeof e!="string")throw new mo("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new mo(`Invalid token specified: missing part #${n+1}`);let s;try{s=Yx(r)}catch(o){throw new mo(`Invalid token specified: invalid base64 for part #${n+1} (${o.message})`)}try{return JSON.parse(s)}catch(o){throw new mo(`Invalid token specified: invalid json for part #${n+1} (${o.message})`)}}function Wp(e){try{return Jx(e)}catch(t){return console.warn(`failed to decode token "${e}"`,t),null}}function Mt(e=hc){return window.localStorage.getItem(e)||""}function oi(e,t=hc){if(!oi)return console.error("setAccessToken: accessTokenName should be provided");window.localStorage.setItem(t,e)}function Gp(e){const t=Wp(e);if(!t)return!1;const n=new Date().getTime()/1e3;return t.exp-n>30}function ur(e){return Wp(e)?.sub??null}function Kp(e=hc){localStorage.removeItem(e)}const AS=de({access_token:et(B()),token_type:et(B()),expires_in:et(ce()),message:et(B())}),Xx=AS;function zp(e){return{async onRequest(t){const{$registry:n}=fe();await n.interceptors.authRequest(t,e)},onRequestError(t){const{$registry:n}=fe();n.interceptors.authError(t,e)},onResponseError(t){const{$registry:n}=fe();n.interceptors.authError(t,e)}}}const Qx=["onRequest","onResponse","onRequestError","onResponseError"];function Yp(e=[]){const t={onRequest:[],onResponse:[],onRequestError:[],onResponseError:[]};return Qx.forEach(n=>{e.forEach(r=>{const s=r[n];s&&(t[n]=[...t[n],...Array.isArray(s)?s:[s]])})}),t}const RS=ut({baseURL:pc,timeout:gc,credentials:"include",parseResponse:vr,...si("auth")}),Jp=ut({baseURL:pc,timeout:gc,credentials:"include",parseResponse:vr,...Yp([si("auth"),zp("auth")])});async function Zx(){const{$isDebug:e}=fe();if(!Mt())return Promise.reject(new Error("AccessToken doesn't exist"));try{const{data:n}=await RS("/api/v1/auth/logout",{method:"POST",body:{client_id:dc}});return Pt(n,AS,e),Promise.resolve()}catch(n){return console.error(`auth.ts: ÐÑибка во вÑÐµÐ¼Ñ Ð»Ð¾Ð³Ð°ÑÑа ${n}`),Promise.resolve()}}async function eN(){const{$isDebug:e}=fe(),{data:t}=await RS("/api/v1/auth/token/refresh",{method:"POST",body:{client_id:dc}});return Pt(t,Xx,e)}const tN=de({id:ri([B(),ce()]),provider:B(),name:Ke(B()),email:Ke(B()),avatar:Ke(B())}),nN=de({id:ce(),name:B(),app:B()}),rN=de({integer_id:B(),email:Ke(B()),email_temp:Ke(B()),status:Vp(["pending","active","banned","trashed"]),created_at:Ke(B()),roles:Xe(nN),social_users:Xe(tN)}),kS=de({data:rN});async function sN(e){const{$isDebug:t}=fe(),{data:n}=await Jp(`/api/v1/users/${e}`);return Pt(n,kS,t).data}async function oN(e,t){const{$isDebug:n}=fe(),{data:r}=await Jp(`/api/v1/users/${e}`,{method:"PUT",body:t});return Pt(r,kS,n).data}async function iN(e,t={}){await Jp(`/api/v1/users/${e}/email/resend`,{method:"POST",body:t})}const aN=de({id:Ke(ce()),user_id:Ke(ce()),url:B(),created_at:Ke(B()),updated_at:Ke(B()),size:ri([Nr("xs"),Nr("s"),Nr("m"),Nr("l")])}),cN=Vp(["vkontakte","facebook","instagram","twitter","telegram","youtube","site"]),uN=de({id:ce(),user_id:ri([B(),ce()]),type:cN,url:B(),created_at:Me(B()),updated_at:Me(B())}),IS=de({integer_id:B(),email:Ke(B()),display_name:Ke(B()),about:Ke(B()),links:et(Xe(uN),[]),avatars:et(Xe(aN),[]),created_at:Me(B()),updated_at:Me(B())});({...IS.entries});const PS=de({data:IS}),OS=ut({baseURL:SS,timeout:gc,credentials:"include",parseResponse:vr,...Yp([si("profile"),zp("profile")])});ut({baseURL:SS,timeout:gc,parseResponse:vr,...si("profile-public")});async function lN(e){const{$isDebug:t}=fe(),{data:n}=await OS(`/api/v1/users/${e}`);return Pt(n,PS,t).data}async function fN(e,t){const{$isDebug:n}=fe(),{data:r}=await OS(`/api/v1/users/${e}`,{method:"PATCH",body:t});return Pt(r,PS,n).data}const pN=3,dN=1e3;function Um(e){return new Promise(t=>setTimeout(t,e))}function hN(e){if(typeof e!="object"||e===null)return!1;const{display_name:t,avatars:n}=e;return!t&&(!n||n.length===0)}
23async function jf(e,t=pN,n=dN){try{const r=await e();return!r||hN(r)?t<=0?(console.warn("[withProfileRetry] ÐÑоÑÐ¸Ð»Ñ Ð¿ÑÑÑ Ð¿Ð¾Ñле вÑеÑ
попÑÑок"),null):(await Um(n),jf(e,t-1,n*2)):r}catch(r){return(r?.response?.status??r?.status)===404&&t>0?(await Um(n),jf(e,t-1,n*2)):(console.error("[withProfileRetry] ÐÑибка загÑÑзки пÑоÑилÑ:",r),null)}}const mN=e=>Array.isArray(e)?e.reduce((t,n)=>(n&&typeof n=="object"&&n.provider&&(t[n.provider]=n),t),{}):{};function gN({integerId:e,identity:t,profile:n,bannedAt:r}){if(!t&&!n)throw new Error("mergeIdentityAndProfile: both sources are empty");const s=r??(t?.status==="banned"?new Date().toISOString():null);return{integer_id:e,email:t?.email??null,email_temp:t?.email_temp??null,status:t?.status??null,banned_at:s,roles:t?.roles??[],socials:mN(t?.social_users),display_name:n?.display_name??null,about:n?.about??null,avatars:n?.avatars??[],links:n?.links??[],created_at:n?.created_at??null,updated_at:n?.updated_at??null}}async function yN(e){const t=Mt(),[n,r]=await Promise.allSettled([sN(e),jf(()=>lN(e))]);return gN({integerId:e,identity:n.status==="fulfilled"?n.value:null,profile:r.status==="fulfilled"?r.value:null,bannedAt:t?Wp(t)?.banned_at??null:null})}const gr=Qr(zr("user",{state:()=>({userData:null,isUserFetching:!0,isSendRefreshToken:!1,isLoggedInWp:!1,afterLoginAction:void 0}),actions:{setIsLoggedInWp(e){this.isLoggedInWp=e},setUserRT(e){this.isSendRefreshToken=e},setUser(e){this.userData=e,this.isUserFetching=!1},patchUser(e){this.userData&&(this.userData={...this.userData,...e})},clearUser(){this.userData=null},async fetchUser(e){this.isUserFetching=!0;try{const t=await yN(e);return this.setUser(t),t}catch(t){throw this.isUserFetching=!1,t}}}})),_N=""+new URL("lifehacker-error-BCFpzAtD.svg",import.meta.url).href,vN=""+new URL("burninghut-error-D9xZXdKn.svg",import.meta.url).href,bN=_r({name:"ErrorIcon",computed:{isLifehacker(){return Tx==="lifehacker"},errorImage(){return this.isLifehacker?_N:vN}}}),Yt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},SN={class:"error-icon"},wN=["src"];function EN(e,t,n,r,s,o){return we(),St("div",SN,[Ge("img",{class:"error-icon__image",src:e.errorImage,alt:"оÑибка"},null,8,wN)])}const xS=Yt(bN,[["render",EN],["__scopeId","data-v-87009651"]]),TN=_r({name:"ErrorOkButton",emits:["click"],methods:{click(){this.$emit("click")}}});function CN(e,t,n,r,s,o){return we(),St("button",{class:"error-ok-button",onClick:t[0]||(t[0]=(...i)=>e.click&&e.click(...i))}," Ðк ")}const NS=Yt(TN,[["render",CN]]),AN=_r({name:"ErrorModal",components:{ErrorIcon:xS,ErrorOkButton:NS},emits:["close"],methods:{close(){this.$emit("close")}}}),RN={class:"error-modal__container"},kN={class:"error-modal__content"};function IN(e,t,n,r,s,o){const i=Fr("ErrorIcon"),a=Fr("ErrorOkButton");return we(),St("div",{class:"error-modal",onClose:t[1]||(t[1]=(...u)=>e.close&&e.close(...u))},[Ge("div",RN,[Se(i,{class:"error-modal__icon"}),Ge("div",kN,[Nn(e.$slots,"default")]),Se(a,{class:"error-modal__button",onClick:t[0]||(t[0]=u=>e.$emit("close"))})])],32)}const PN=Yt(AN,[["render",IN]]),ON=_r({name:"CommentsLimitErrorModal",components:{ErrorModal:PN},emits:["close"],methods:{close(){this.$emit("close")}}});function xN(e,t,n,r,s,o){const i=Fr("ErrorModal");return we(),ht(i,{class:"comments-limit-error-modal",onClose:e.close},{default:vt(()=>[...t[0]||(t[0]=[Ge("p",{class:"comments-limit-error-modal__text"}," Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑий. ÐожалÑйÑÑа, пиÑиÑе не более 3 комменÑаÑиев в минÑÑÑ ",-1)])]),_:1},8,["onClose"])}const NN=Yt(ON,[["render",xN]]),DN=_r({name:"ActionSheet",props:{closeClickOutside:{type:Boolean,default:!0}},emits:["close"],data(){return{transform:"",drag:!1,y:0,startPosY:null}},methods:{onClickOutside(){this.closeClickOutside&&this.$emit("close")},activateDrag(e){this.drag=!0,this.startPosY=e.clientY||e.changedTouches[0].clientY},disableDrag(){const e=this.$refs.root;this.drag=!1,this.startPosY=null,this.y<=e?.offsetHeight/2?this.transform="transition: .3s transform linear; transform: translateY(0);":(this.$emit("close"),this.transform="transition: .3s transform linear; transform: translateY(100%);")},onPointermove(e){if(this.drag&&this.startPosY!==null){if(this.y=-(this.startPosY-(e.clientY||e.changedTouches[0].clientY)),this.y<0)return;this.transform=`transition: none; transform: translateY(${this.y}px)`}}}}),LN={class:"action-sheet__body"};function MN(e,t,n,r,s,o){return we(),St("div",{class:"action-sheet",onClose:t[7]||(t[7]=(...i)=>e.onClickOutside&&e.onClickOutside(...i))},[Ge("div",{ref:"root",class:"action-sheet__container",style:jo(e.transform)},[Ge("div",{class:"action-sheet__header",onMousedown:t[0]||(t[0]=(...i)=>e.activateDrag&&e.activateDrag(...i)),onMouseup:t[1]||(t[1]=(...i)=>e.disableDrag&&e.disableDrag(...i)),onMouseleave:t[2]||(t[2]=(...i)=>e.disableDrag&&e.disableDrag(...i)),onMousemove:t[3]||(t[3]=(...i)=>e.onPointermove&&e.onPointermove(...i)),onTouchstart:t[4]||(t[4]=(...i)=>e.activateDrag&&e.activateDrag(...i)),onTouchend:t[5]||(t[5]=(...i)=>e.disableDrag&&e.disableDrag(...i)),onTouchmove:t[6]||(t[6]=(...i)=>e.onPointermove&&e.onPointermove(...i))},null,32),Ge("div",LN,[Nn(e.$slots,"default",{},void 0,!0)])],4)],32)}const FN=Yt(DN,[["render",MN],["__scopeId","data-v-24b420e1"]]),$N=_r({name:"ErrorActionSheet",components:{Actionsheet:FN,ErrorIcon:xS,ErrorOkButton:NS},emits:["close"],methods:{close(){this.$emit("close")}}}),BN={class:"error-action-sheet__container"},UN={class:"error-action-sheet__content"};function HN(e,t,n,r,s,o){const i=Fr("ErrorIcon"),a=Fr("ErrorOkButton"),u=Fr("Actionsheet");return we(),ht(u,{class:"error-action-sheet",onClose:e.close},{default:vt(()=>[Ge("div",BN,[Se(i,{class:"error-action-sheet__icon"}),Ge("div",UN,[Nn(e.$slots,"default",{},void 0,!0)]),Se(a,{class:"error-action-sheet__button",onClick:e.close},null,8,["onClick"])])]),_:3},8,["onClose"])}const qN=Yt($N,[["render",HN],["__scopeId","data-v-508258dc"]]),jN=_r({name:"CommentsLimitErrorActionSheet",components:{ErrorActionSheet:qN},emits:["close"],methods:{close(){this.$emit("close")}}});function VN(e,t,n,r,s,o){const i=Fr("ErrorActionSheet");return we(),ht(i,{class:"comments-limit-error-action-sheet",onClose:e.close},{default:vt(()=>[...t[0]||(t[0]=[Ge("p",{class:"comments-limit-error-action-sheet__text"}," Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ ÐºÐ¾Ð¼Ð¼ÐµÐ½ÑаÑий. ÐожалÑйÑÑа, пиÑиÑе не более 3 комменÑаÑиев в минÑÑÑ ",-1)])]),_:1},8,["onClose"])}const WN=Yt(jN,[["render",VN]]);function GN(){document.dispatchEvent(new CustomEvent("success-refresh-comments"))}function KN(e){document.dispatchEvent(new CustomEvent("failed-refresh-comments",{detail:e}))}async function bu(e){if(e.response){const{message:t,response:{status:n},status:r}=e;switch(n||r){case 401:case 403:KN(e);break;default:console.error(`Error response talker service: ${t}`);break}}
23else e.request?console.error(`Error request talker service: ${e.message}`):console.error(`Error settings talker service: ${e.message}`)}function zN(e){document.dispatchEvent(new CustomEvent("send-analytic",{detail:e}))}const YN=(e,t)=>{nr().addPush(t)},Su=be(!1),wu=be(null),Eu=be({}),Tu=be({}),zs=()=>{const e=()=>`${window.innerWidth-document.body.clientWidth}px`;return{_modalComponent:Pn(wu),_modalComponentProps:Pn(Eu),_modalWrapperProps:Pn(Tu),isOpen:Pn(Su),close:()=>{Su.value=!1,wu.value=null,Eu.value={},Tu.value={},document.body.style.overflow="",document.body.style.paddingRight=""},open:(r,s,o={})=>{Su.value=!0,wu.value=ja(r),Eu.value=s,Tu.value=o,document.body.style.paddingRight=e(),document.body.style.overflow="hidden"}}};function JN(e){const{talkerUrl:t,modal:n,cookieName:r,authUrl:s}=e,o=ut({baseURL:t,timeout:1e4,parseResponse:vr,onRequest:async i=>{const a=Mt(r),u=nr().isSendRefreshToken;if(a&&i.options.headers.set("Authorization",`Bearer ${a}`),i.options.headers.set("x-auth-app","web"),i.options.headers.set("x-app","lifehacker-web"),a&&!Gp(a)&&!u){nr().setUserRT(!0);try{const l=(await $fetch(`${s}/api/v1/auth/token/refresh`,{method:"post",credentials:"include",body:{client_id:dc},headers:{"x-auth-app":"web"}}))?.access_token;oi(l,r),l&&i.options.headers.set("Authorization",`Bearer ${l}`),GN()}catch(c){bu(c)}finally{nr().setUserRT(!1)}}async function f(){await new Promise(c=>{let l=0;const p=setInterval(d,500);function d(){if(!u){const h=Mt(r);h&&(e.headers.Authorization=`Bearer ${h}`),e.headers["x-auth-app"]="odin",clearInterval(p),c()}l>=5&&(clearInterval(p),c()),l+=.5}})}u&&await f()},onRequestError:i=>{bu(i),console.warn("error",i)},onResponse:()=>{const i={...nr().analyticsData};zN(i),nr().setAnalytics(null)},onResponseError:async i=>{const a=nr(),u=i?.response?._data?.data?.isBanned;if(u||bu(i),a.setAnalytics(null),u)throw a.setUserBanned(!0),console.error("isBanned",i),"";if(i?.response?._data?.message==="Quota exceeded"){const f=window.innerWidth<768;throw zs().open(f?WN:NN,{},{align:f?"bottom":"center"}),console.error("Quota exceeded",i),""}throw YN(n,{type:"text-push",title:"ÐÑоизоÑла оÑибка. ÐопÑобÑйÑе еÑÑ Ñаз.",id:Date.now()}),console.error("unknown error",i),""}});return{fetchReactions(i){const a=`/api/reactions/${i}`;return o(a,{method:"GET"})},fetchComments(i,a){const u=`/api/v2/comments/post/${i}?sort=${a}&format_ver=1&limit=10000`;return o(u,{method:"GET"})},sendComment(i){return o("/api/comments",{method:"POST",body:i})},deleteComment(i){const a=`/api/comments?id=${i}`;return o(a,{method:"DELETE"})},editComment(i){return o("/api/comments",{method:"PUT",body:i})},reportComment(i){return o("/api/comments/flags",{method:"PUT",body:{id:i}})},storeFile(i){return o("/api/files",{method:"POST",body:i})},setRelationToComment(i){return o("/api/likes",{method:"PUT",body:i})},removeAttachment(i){const a=`/api/files/${i}`;return o(a,{method:"DELETE"})},removeVideo(i){const a=`/api/video/${i}`;return o(a,{method:"DELETE"})}}}function Tn(){const e=be(null);return e.value||(e.value=JN({modal:null,talkerUrl:wS,cookieName:hc,authUrl:pc})),e.value}const Xp=(e,t)=>{for(const n of e){if(n.children.length>0){const r=Xp(n.children,t);if(r)return r}if(n.id===t)return n}},DS=(e,t)=>{const n=Xp(e,t);if(n)return n.level>2?DS(e,n?.parent):n},XN=e=>{const t=[];let n=0,r=null;for(const s of e){if(s.parent===0){n=s.id;const o={...s,root:n,isNeedEmitMountEvent:!0,children:[]};t.push(o),r||(r=o)}if(s.level>2){const o={...s,root:n,isNeedEmitMountEvent:!0,children:[]};r.children.push(o);continue}if(s.parent!==0){const o=Xp(t,s.parent),i={...s,root:n,isNeedEmitMountEvent:!0,children:[]};r=i,o?.children?.push(i)}}return t},Vf=(e,t)=>{for(const n of e){if(n.id===t)return n;if(n.children.length>0){const r=Vf(n.children,t);if(r)return r}}},QN=(e,t)=>{for(const n in t)n!=="children"&&e[n]!==t[n]&&(e[n]=t[n])},ZN=e=>{const t={...e};return t.path=e.path.replace("public","storage"),t.path=`${wS}/${t.path}`,t},y2=e=>e.map(ZN),nr=Qr(zr("talker",{state:()=>({postId:0,comments:[],mappedComments:[],pushes:[],limit:10,userData:null,isSendRefreshToken:!1,analyticsData:null}),getters:{isUserExists:e=>!!e.userData?.sub,isUserBanned:e=>!!e.userData?.banned},actions:{setPostId(e){this.postId=e},async fetchComments(e){const t=await Tn().fetchComments(e.postId,e.sortType);if(t.data.success){const{data:n}=t.data.data;this.setComments(n)}},async saveEditedComment(e){if(e.video.delete){const n=await Tn().removeVideo(e.video.content.id);this.removeVideo(n.data.data.comment_id)}if(e.oldFiles?.length>0){const n=e.oldFiles[0],r=await Tn().removeAttachment(n.id);this.updateComment(r.data.data.comment)}if(e.newFiles.length>0){const n={comment_id:e.comment.id,post_id:e.postId,image:e.newFiles[0]};await this.storeFileAction(n)}const t=await Tn().editComment(e.comment);this.updateComment(t.data.data)},updateComment(e){const t=Vf(this.mappedComments,e?.id);t&&QN(t,e)},async setLikes(e){const t=await Tn().setRelationToComment(e);return this.updateComment(t.data.comment),t},async deleteComment(e){const t=await Tn().deleteComment(e);return t.data.success&&this.updateComment(t.data.data[0]),t.data.success},async storeFileAction(e){const t=new FormData;t.append("image",e.image),t.append("post_id",String(e.post_id)),t.append("comment_id",String(e.comment_id));const n=await Tn().storeFile(t);this.updateComment(n.data.data.comment)},removeVideo(e){const t=Vf(this.mappedComments,e);t&&(t.videos=[])}
23,async addNewCommentAction(e){const t=e.comment,n=await Tn().sendComment(t);if(n.data.data.reactions=[],this.addNewCommentMutation(n.data.data),e.files.length>0){const r={commentData:n.data.data,comment_id:n.data.data.id,post_id:n.data.data.post_ID,image:e.files[0]};await this.storeFileAction(r)}},addNewCommentMutation(e){if(e.parent===0){this.comments.push(e);const t={...e,root:e.id,reactions:[],children:[]};this.mappedComments.push(t)}else{const t=DS(this.mappedComments,e.parent);if(!t)return;const n={...e,root:t.root,reactions:[],children:[]};t.children.push(n)}},async reportComment(e){const t=await Tn().reportComment(e);return this.updateComment(t.data.data),t.data.success},setComments(e){this.comments=e,this.mappedComments=XN(e)},addPush(e){this.limit===this.pushes.length&&this.pushes.pop(),e.type||(e.type="text-push"),e.timeout||(e.timeout=5e3),this.pushes.push(e)},removePush(e){this.pushes=this.pushes.filter(t=>t.id!==e)},setUser(e){this.userData=e},clearUserData(){this.userData=null},setUserBanned(e){this.userData&&(this.userData.banned=e)},setUserRT(e){this.isSendRefreshToken=e},setAnalytics(e){this.analyticsData=e}}})),eD=Qr(zr("single-article",{state:()=>({article:null,fullscreenSlides:[],meta:null}),actions:{setArticle(e){this.article=e},setMeta(e){this.meta=e},setFullscreenSlide(e){this.fullscreenSlides.push(e.attributes.url)}}})),tD=de({post_id:ce(),post_slug:B(),post_type:et(B()),user_state:Me(B()),updated_at:B(),created_at:B(),post_date:Me(B()),thumbs_up_count:et(ce()),thumbs_up:et(Xe(ce())),thumbs_down_count:et(ce()),thumbs_down:et(Xe(ce())),on_fire_count:et(ce()),on_fire:et(Xe(ce())),angry_count:et(ce()),angry:et(Xe(ce())),heart_count:et(ce()),heart:et(Xe(ce()))}),Hm=de({data:tD,meta:de({last_modified:ce()}),msg:B(),success:et(wt())}),nD=Qr(zr("reactions",{state:()=>({reactions:{}}),getters:{getReactions:e=>e.reactions},actions:{async fetchReactions(e){const{data:t}=await fe().$api.reactions.fetchReactions(e),n=Pt(t,Hm);n.success&&this.setReactions(n.data,!1)},async updateReaction(e,t){const{data:n}=await fe().$api.reactions.updateReaction(e,t),r=Pt(n,Hm);r.success&&this.setReactions(r.data,!0)},setReactions(e,t){if(!e)return;const{post_id:n,user_state:r,updated_at:s}=e;if(this.reactions[n]=e,t){const o=JSON.parse(localStorage.getItem("reactions-state")||"{}");r?o[n]={user_state:r,updated_at:s}:delete o[n],window.localStorage.setItem("reactions-state",JSON.stringify(o)),window.localStorage.getItem("reactions-state")}}}})),rD=e=>e!==null&&typeof e=="object",qm=e=>{const t={name:"unknown",email:"unknown",sub:null,banned:!1,avatars:{},avatar:null};if(!rD(e))return t;const n={};return e.avatars&&e.avatars.length&&e.avatars.forEach(r=>{r&&(n[r.size]=r.url)}),{avatar:n.m||n.s||n.l||n.xs||null,avatars:n,name:e.display_name||t.name,email:e.email||t.email,sub:e.integer_id||t.sub,banned:!!e.banned_at}};function Ps(){const{$logger:e}=fe(),t=gr(),n=nr(),r=e.withScope("ð¨ð»âð³ user-service");async function s(f){const c=await gr().fetchUser(f);o(c)}function o(f){t.setUser(f),n.setUser(qm(f)),u()}function i(f){n.setUser(qm({...t.userData,...f})),t.patchUser(f)}function a(){r("clearUser"),t.clearUser(),n.clearUserData(),u()}function u(){r("fetchReactionsForCurrentArticle");const f=eD().article?.name;f&&nD().fetchReactions(f)}return{fetchAndUpdateUser:s,setUser:o,patchUser:i,clearUser:a}}function sD(){this.__data__=[],this.size=0}function oD(e,t){return e===t||e!==e&&t!==t}function yc(e,t){for(var n=e.length;n--;)if(oD(e[n][0],t))return n;return-1}var iD=Array.prototype,aD=iD.splice;function cD(e){var t=this.__data__,n=yc(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():aD.call(t,n,1),--this.size,!0}function uD(e){var t=this.__data__,n=yc(t,e);return n<0?void 0:t[n][1]}function lD(e){return yc(this.__data__,e)>-1}function fD(e,t){var n=this.__data__,r=yc(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ys(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ys.prototype.clear=sD;Ys.prototype.delete=cD;Ys.prototype.get=uD;Ys.prototype.has=lD;Ys.prototype.set=fD;var pD=typeof global=="object"&&global&&global.Object===Object&&global,dD=typeof self=="object"&&self&&self.Object===Object&&self,_c=pD||dD||Function("return this")(),O
vendor: 4,299 bytes, line 23
23s=_c.Symbol,LS=Object.prototype,hD=LS.hasOwnProperty,mD=LS.toString,ao=Os?Os.toStringTag:void 0;function gD(e){var t=hD.call(e,ao),n=e[ao];try{e[ao]=void 0;var r=!0}catch{}var s=mD.call(e);return r&&(t?e[ao]=n:delete e[ao]),s}var yD=Object.prototype,_D=yD.toString;function vD(e){return _D.call(e)}var bD="[object Null]",SD="[object Undefined]",jm=Os?Os.toStringTag:void 0;function MS(e){return e==null?e===void 0?SD:bD:jm&&jm in Object(e)?gD(e):vD(e)}var wD="[object AsyncFunction]",ED="[object Function]",TD="[object GeneratorFunction]",CD="[object Proxy]";function AD(e){if(!fc(e))return!1;var t=MS(e);return t==ED||t==TD||t==wD||t==CD}var Cu=_c["__core-js_shared__"],Vm=(function(){var e=/[^.]+$/.exec(Cu&&Cu.keys&&Cu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function RD(e){return!!Vm&&Vm in e}var kD=Function.prototype,ID=kD.toString;function PD(e){if(e!=null){try{return ID.call(e)}catch{}try{return e+""}catch{}}return""}var OD=/[\\^$.*+?()[\]{}|]/g,xD=/^\[object .+?Constructor\]$/,ND=Function.prototype,DD=Object.prototype,LD=ND.toString,MD=DD.hasOwnProperty,FD=RegExp("^"+LD.call(MD).replace(OD,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $D(e){if(!fc(e)||RD(e))return!1;var t=AD(e)?FD:xD;return t.test(PD(e))}function BD(e,t){return e?.[t]}function Qp(e,t){var n=BD(e,t);return $D(n)?n:void 0}var UD=Qp(_c,"Map"),Bo=Qp(Object,"create");function HD(){this.__data__=Bo?Bo(null):{},this.size=0}function qD(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var jD="__lodash_hash_undefined__",VD=Object.prototype,WD=VD.hasOwnProperty;function GD(e){var t=this.__data__;if(Bo){var n=t[e];return n===jD?void 0:n}return WD.call(t,e)?t[e]:void 0}var KD=Object.prototype,zD=KD.hasOwnProperty;function YD(e){var t=this.__data__;return Bo?t[e]!==void 0:zD.call(t,e)}var JD="__lodash_hash_undefined__";function XD(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Bo&&t===void 0?JD:t,this}function Wr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Wr.prototype.clear=HD;Wr.prototype.delete=qD;Wr.prototype.get=GD;Wr.prototype.has=YD;Wr.prototype.set=XD;function QD(){this.size=0,this.__data__={hash:new Wr,map:new(UD||Ys),string:new Wr}}function ZD(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function vc(e,t){var n=e.__data__;return ZD(t)?n[typeof t=="string"?"string":"hash"]:n.map}function eL(e){var t=vc(this,e).delete(e);return this.size-=t?1:0,t}function tL(e){return vc(this,e).get(e)}function nL(e){return vc(this,e).has(e)}function rL(e,t){var n=vc(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function br(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}br.prototype.clear=QD;br.prototype.delete=eL;br.prototype.get=tL;br.prototype.has=nL;br.prototype.set=rL;var sL="__lodash_hash_undefined__";function oL(e){return this.__data__.set(e,sL),this}function iL(e){return this.__data__.has(e)}function Ra(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new br;++t<n;)this.add(e[t])}Ra.prototype.add=Ra.prototype.push=oL;Ra.prototype.has=iL;function aL(e,t){return e.has(t)}function FS(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Zp=Array.isArray;function cL(e){return e!=null&&typeof e=="object"}var Au=Qp(_c,"Set"),uL="[object Symbol]";function ed(e){return typeof e=="symbol"||cL(e)&&MS(e)==uL}var lL=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fL=/^\w*$/;function $S(e,t){if(Zp(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ed(e)?!0:fL.test(e)||!lL.test(e)||t!=null&&e in Object(t)}var pL="Expected a function";function td(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(pL);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var i=e.apply(this,r);return n.cache=o.set(s,i)||o,i};return n.cache=new(td.Cache||br),n}td.Cache=br;var dL=500;function hL(e){var t=td(e,function(r){return n.size===dL&&n.clear(),r}),n=t.cache;return t}var mL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gL=/\\(\\)?/g,yL=hL(function(e){var t=[];
23return e.charCodeAt(0)===46&&t.push(""),e.replace(mL,function(n,r,s,o){t.push(s?o.replace(gL,"$1"):r||n)}),t});function _L(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}var Wm=Os?Os.prototype:void 0,Gm=Wm?Wm.toString:void 0;function BS(e){if(typeof e=="string")return e;if(Zp(e))return _L(e,BS)+"";if(ed(e))return Gm?Gm.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function vL(e){return e==null?"":BS(e)}function bL(e,t){return Zp(e)?e:$S(e,t)?[e]:yL(vL(e))}function US(e){if(typeof e=="string"||ed(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function SL(e,t){t=bL(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[US(t[n++])];return n&&n==r?e:void 0}function wL(e){return function(t){return t?.[e]}}function EL(e){return function(t){return SL(t,e)}}function TL(e){return $S(e)?wL(US(e)):EL(e)}function CL(e){return TL(e)}function AL(e,t,n,r){for(var s=e.length,o=n+-1;++o<s;)if(t(e[o],o,e))return o;return-1}function RL(e){return e!==e}function kL(e,t,n){for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function IL(e,t,n){return t===t?kL(e,t,n):AL(e,RL,n)}function PL(e,t){var n=e==null?0:e.length;return!!n&&IL(e,t,0)>-1}function OL(){}var xL=1/0,NL=Au&&1/FS(new Au([,-0]))[1]==xL?function(e){return new Au(e)}:OL,DL=200;function LL(e,t,n){var r=-1,s=PL,o=e.length,i=!0,a=[],u=a;if(o>=DL){var f=t?null:NL(e);if(f)return FS(f);i=!1,s=aL,u=new Ra}else u=t?[]:a;e:for(;++r<o;){var c=e[r],l=t?t(c):c;if(c=c!==0?c:0,i&&l===l){for(var p=u.length;p--;)if(u[p]===l)continue e;t&&u.push(l),a.push(c)}else s(u,l,n)||(u!==a&&u.push(l),a.push(c))}return a}function ML(e,t){return e&&e.length?LL(e,CL(t)):[]}const FL="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let $L=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=FL[n[e]&63];return t};const BL=Qr(zr("badge",()=>{const e=be([]);function t(r){const s={...r,id:r.id??$L(),type:r.type??"default"};e.value.push(s),e.value.length>4&&e.value.shift();const o=3e3+s.content.length*100;return setTimeout(()=>n(s.id),o),s.id}function n(r){e.value=e.value.filter(s=>s.id!==r)}return{badges:e,showBadge:t,hideBadge:n}}));var bc={};const Vn=pe({name:"API_URL",value:"https://burninghut.ru",type:String}),UL=pe({name:"QUIZ_API_URL",value:"https://quiz.burninghut.ru/",type:String}),HL=pe({name:"API_REACTIONS_URL",value:"https://likes.burninghut.ru",type:String});pe({name:"AUTH_API_URL",value:"https://auth.burninghut.ru",type:String});pe({name:"PROFILE_API_URL",value:"https://profile.burninghut.ru",type:String});pe({name:"AUTH_CLIENT_ID",value:"web",type:String,fallback:"web"});const HS=pe({name:"PUSHER_API_URL",value:"https://pusher.burninghut.ru",type:String}),Js=pe({name:"API_URL_PREFIX",value:"/wp-json/bh-kiss/v1/",type:String}),qL=pe({name:"TALKER_API_URL",value:"https://talker.burninghut.ru",type:String}),jL=pe({name:"API_ADMIN_ACTIONS",value:"https://burninghut.ru/wp-admin/admin-ajax.php?action",type:String}),_2=pe({name:"HOME_URL",value:"https://burninghut.ru",type:String}),$t=2e4;pe({name:"ACCESS_TOKEN_COOKIE_NAME",value:"accessToken",type:String});pe({name:"ACCESS_TOKEN_COOKIE_DOMAIN",value:"burninghut.ru",type:String});const Sc=pe({name:"YA_METRIC_ID",value:"57174379",type:String}),v2=pe({name:"YA_METRIK_IDS_AMP",value:"57174379,82948057",type:bS});pe({name:"REDIS_SSR_CACHE_HTTP_TOKEN",value:bc.REDIS_SSR_CACHE_HTTP_TOKEN,type:String,fallback:""});pe({name:"REDIS_SSR_CACHE",value:bc.REDIS_SSR_CACHE,type:Boolean,fallback:!1});pe({name:"REDIS_APP_CACHE",value:bc.REDIS_APP_CACHE,type:Boolean,fallback:!1});pe({name:"SENTRY_SERVER_DNS",value:bc.SENTRY_SERVER_DNS,type:String,fallback:""});const b2=pe({name:"SENTRY_CLIENT_DNS",value:void 0,type:String,fallback:""}),Km=ri([Nr(0),Nr(1)]),VL=de({postTitle:B(),postSlug:B(),postId:ce(),postType:B(),title:B(),renderTitle:B(),commentUserName:B(),eventName:B(),code:B()}),WL=de({fromUser:ce(),toUser:ce(),parentId:Ke(ce()),childId:Ke(ce()),path:B(),dateTime:Ke(B()),content:B(),extends:VL}),qS=de({_id:B(),package_uuid:B(),integer_id:B(),path:B(),redirect_link:B(),event:B(),event_at:B(),payload_version:B(),source:B(),payload:WL,is_read:Km,is_viewed:Km,created_at:B(),updated_at:B()}),GL=de({url:Ke(B()),label:B(),active:wt()}),KL=de({current_page:ce(),from:Ke(ce()),last_page:ce(),links:Xe(GL),path:B(),per_page:ce(),to:Ke(ce()),total:ce()}),zL=de({first:B(),last:B(),prev:Ke(B()),next:Ke(B())}),YL=de({data:Xe(qS),success:wt(),links:zL,meta:KL}),JL=de({data:ce(),success:wt(),msg:B()}),jS=$fetch.create({baseURL:HS,timeout:$t,credentials:"include",...Yp([si("pusher"),zp("pusher")])});async function zm(e,t){const{$isDebug:n}=fe(),r=`/api/v1/kolokolchick/user/${e}`,s=await jS(r,{params:t});return Pt(s,YL,n)}async function XL(e){const{$isDebug:t}=fe(),n=`/api/v1/kolokolchick/user/${e}/notifications/mass-viewing`,r=await jS(n,{method:"patch"});return Pt(r,JL,t)}const Ym=["comment_reply","comment_rated","comment_publish","email_confirm","kolokolchick_update_meta"],QL=Qr(zr("notification",()=>{const{showBadge:e}=BL(),t=be([]),n=be(!1),r=be(0);function s(){t.value=[]}function o(h){Ym.includes(h.event)&&(t.value=ML([h,...t.value],"package_uuid"))}function i(h){const m=h.filter(b=>Ym.includes(b.event));t.value=[...t.value,...m]}function a(){n.value=!0}function u(h){t.value=t.value.map(m=>{const b=m._id===h?1:m.is_read;
23return{...m,is_read:b}})}async function f(){const h=Mt();if(!h)return;const m=ur(h);if(m)try{const{data:b}=await zm(m,{page:1,limit:10});i(b)}catch(b){d(b)}}async function c(){const h=Mt();if(!h)return;const m=ur(h);if(m)try{const{meta:b}=await zm(m,{page:1,limit:1,filter__is_viewed:0});r.value=b.total}catch(b){d(b)}}async function l(){const h=Mt();if(!h)return;const m=ur(h);if(m)try{await XL(m),r.value=0}catch(b){console.error("store.pusher.ts",b)}}function p(){t.value=[],n.value=!1,r.value=0,leavePrivateChannel()}function d(h){const m=h?.msg||h?.message;e({content:m,isError:!0})}return{notifications:t,notificationsRequested:n,unviewedNotificationsCount:r,emptyNotifications:s,addNotification:o,updateNotifications:i,setNotificationsRequested:a,setReadToNotification:u,fetchNotifications:f,fetchUnviewedNotificationsCount:c,resetUnviewedNotificationsCount:l,$reset:p}}));function ko(e){"@babel/helpers - typeof";return ko=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ko(e)}function lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ft(e,t,n){return t&&ZL(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Uo(){return Uo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uo.apply(this,arguments)}function Bt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wf(e,t)}
23function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(r,s){return r.__proto__=s,r},Wf(e,t)}function eM(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function tM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nM(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tM(e)}function Ut(e){var t=eM();return function(){var r=ka(e),s;if(t){var o=ka(this).constructor;s=Reflect.construct(r,arguments,o)}else s=r.apply(this,arguments);return nM(this,s)}}var nd=(function(){function e(){lt(this,e)}return ft(e,[{key:"listenForWhisper",value:function(n,r){return this.listen(".client-"+n,r)}},{key:"notification",value:function(n){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",n)}},{key:"stopListeningForWhisper",value:function(n,r){return this.stopListening(".client-"+n,r)}}]),e})(),VS=(function(){function e(t){lt(this,e),this.namespace=t}return ft(e,[{key:"format",value:function(n){return[".","\\"].includes(n.charAt(0))?n.substring(1):(this.namespace&&(n=this.namespace+"."+n),n.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(n){this.namespace=n}}]),e})();function rM(e){try{new e}catch(t){if(t.message.includes("is not a constructor"))return!1}return!0}var rd=(function(e){Bt(n,e);var t=Ut(n);function n(r,s,o){var i;return lt(this,n),i=t.call(this),i.name=s,i.pusher=r,i.options=o,i.eventFormatter=new VS(i.options.namespace),i.subscribe(),i}return ft(n,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(s,o){return this.on(this.eventFormatter.format(s),o),this}},{key:"listenToAll",value:function(s){var o=this;return this.subscription.bind_global(function(i,a){if(!i.startsWith("pusher:")){var u=o.options.namespace.replace(/\./g,"\\"),f=i.startsWith(u)?i.substring(u.length+1):"."+i;s(f,a)}}),this}},{key:"stopListening",value:function(s,o){return o?this.subscription.unbind(this.eventFormatter.format(s),o):this.subscription.unbind(this.eventFormatter.format(s)),this}},{key:"stopListeningToAll",value:function(s){return s?this.subscription.unbind_global(s):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(s){return this.on("pusher:subscription_succeeded",function(){s()}),this}},{key:"error",value:function(s){return this.on("pusher:subscription_error",function(o){s(o)}),this}},{key:"on",value:function(s,o){return this.subscription.bind(s,o),this}}]),n})(nd),WS=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"whisper",value:function(s,o){return this.pusher.channels.channels[this.name].trigger("client-".concat(s),o),this}}]),n})(rd),sM=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"whisper",value:function(s,o){return this.pusher.channels.channels[this.name].trigger("client-".concat(s),o),this}}]),n})(rd),oM=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"here",value:function(s){return this.on("pusher:subscription_succeeded",function(o){s(Object.keys(o.members).map(function(i){return o.members[i]}))}),this}},{key:"joining",value:function(s){return this.on("pusher:member_added",function(o){s(o.info)}),this}},{key:"whisper",value:function(s,o){return this.pusher.channels.channels[this.name].trigger("client-".concat(s),o),this}},{key:"leaving",value:function(s){return this.on("pusher:member_removed",function(o){s(o.info)}),this}}]),n})(WS),GS=(function(e){Bt(n,e);var t=Ut(n);function n(r,s,o){var i;return lt(this,n),i=t.call(this),i.events={},i.listeners={},i.name=s,i.socket=r,i.options=o,i.eventFormatter=new VS(i.options.namespace),i.subscribe(),i}return ft(n,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(s,o){return this.on(this.eventFormatter.format(s),o),this}},{key:"stopListening",value:function(s,o){return this.unbindEvent(this.eventFormatter.format(s),o),this}},{key:"subscribed",value:function(s){return this.on("connect",function(o){s(o)}),this}},{key:"error",value:function(s){return this}},{key:"on",value:function(s,o){var i=this;return this.listeners[s]=this.listeners[s]||[],this.events[s]||(this.events[s]=function(a,u){i.name===a&&i.listeners[s]&&i.listeners[s].forEac
23h(function(f){return f(u)})},this.socket.on(s,this.events[s])),this.listeners[s].push(o),this}},{key:"unbind",value:function(){var s=this;Object.keys(this.events).forEach(function(o){s.unbindEvent(o)})}},{key:"unbindEvent",value:function(s,o){this.listeners[s]=this.listeners[s]||[],o&&(this.listeners[s]=this.listeners[s].filter(function(i){return i!==o})),(!o||this.listeners[s].length===0)&&(this.events[s]&&(this.socket.removeListener(s,this.events[s]),delete this.events[s]),delete this.listeners[s])}}]),n})(nd),KS=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"whisper",value:function(s,o){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(s),data:o}),this}}]),n})(GS),iM=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"here",value:function(s){return this.on("presence:subscribed",function(o){s(o.map(function(i){return i.user_info}))}),this}},{key:"joining",value:function(s){return this.on("presence:joining",function(o){return s(o.user_info)}),this}},{key:"whisper",value:function(s,o){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(s),data:o}),this}},{key:"leaving",value:function(s){return this.on("presence:leaving",function(o){return s(o.user_info)}),this}}]),n})(KS),Ia=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(s,o){return this}},{key:"listenToAll",value:function(s){return this}},{key:"stopListening",value:function(s,o){return this}},{key:"subscribed",value:function(s){return this}},{key:"error",value:function(s){return this}},{key:"on",value:function(s,o){return this}}]),n})(nd),zS=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"whisper",value:function(s,o){return this}}]),n})(Ia),aM=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"whisper",value:function(s,o){return this}}]),n})(Ia),cM=(function(e){Bt(n,e);var t=Ut(n);function n(){return lt(this,n),t.apply(this,arguments)}return ft(n,[{key:"here",value:function(s){return this}},{key:"joining",value:function(s){return this}},{key:"whisper",value:function(s,o){return this}},{key:"leaving",value:function(s){return this}}]),n})(zS),sd=(function(){function e(t){lt(this,e),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",userAuthentication:{endpoint:"/broadcasting/user-auth",headers:{}},broadcaster:"pusher",csrfToken:null,bearerToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(t),this.connect()}return ft(e,[{key:"setOptions",value:function(n){this.options=Uo(this._defaultOptions,n);var r=this.csrfToken();return r&&(this.options.auth.headers["X-CSRF-TOKEN"]=r,this.options.userAuthentication.headers["X-CSRF-TOKEN"]=r),r=this.options.bearerToken,r&&(this.options.auth.headers.Authorization="Bearer "+r,this.options.userAuthentication.headers.Authorization="Bearer "+r),n}},{key:"csrfToken",value:function(){var n;return typeof window<"u"&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:typeof document<"u"&&typeof document.querySelector=="function"&&(n=document.querySelector('meta[name="csrf-token"]'))?n.getAttribute("content"):null}}]),e})(),Jm=(function(e){Bt(n,e);var t=Ut(n);function n(){var r;return lt(this,n),r=t.apply(this,arguments),r.channels={},r}return ft(n,[{key:"connect",value:function(){typeof this.options.client<"u"?this.pusher=this.options.client:this.options.Pusher?this.pusher=new this.options.Pusher(this.options.key,this.options):this.pusher=new Pusher(this.options.key,this.options)}},{key:"signin",value:function(){this.pusher.signin()}},{key:"listen",value:function(s,o,i){return this.channel(s).listen(o,i)}},{key:"channel",value:function(s){return this.channels[s]||(this.channels[s]=new rd(this.pusher,s,this.options)),this.channels[s]}},{key:"privateChannel",value:function(s){return this.channels["private-"+s]||(this.channels["private-"+s]=new WS(this.pusher,"private-"+s,this.options)),this.channels["private-"+s]}},{key:"encryptedPrivateChannel",value:function(s){return this.channels["private-encrypted-"+s]||
23(this.channels["private-encrypted-"+s]=new sM(this.pusher,"private-encrypted-"+s,this.options)),this.channels["private-encrypted-"+s]}},{key:"presenceChannel",value:function(s){return this.channels["presence-"+s]||(this.channels["presence-"+s]=new oM(this.pusher,"presence-"+s,this.options)),this.channels["presence-"+s]}},{key:"leave",value:function(s){var o=this,i=[s,"private-"+s,"private-encrypted-"+s,"presence-"+s];i.forEach(function(a,u){o.leaveChannel(a)})}},{key:"leaveChannel",value:function(s){this.channels[s]&&(this.channels[s].unsubscribe(),delete this.channels[s])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),n})(sd),Xm=(function(e){Bt(n,e);var t=Ut(n);function n(){var r;return lt(this,n),r=t.apply(this,arguments),r.channels={},r}return ft(n,[{key:"connect",value:function(){var s=this,o=this.getSocketIO();return this.socket=o(this.options.host,this.options),this.socket.on("reconnect",function(){Object.values(s.channels).forEach(function(i){i.subscribe()})}),this.socket}},{key:"getSocketIO",value:function(){if(typeof this.options.client<"u")return this.options.client;if(typeof io<"u")return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(s,o,i){return this.channel(s).listen(o,i)}},{key:"channel",value:function(s){return this.channels[s]||(this.channels[s]=new GS(this.socket,s,this.options)),this.channels[s]}},{key:"privateChannel",value:function(s){return this.channels["private-"+s]||(this.channels["private-"+s]=new KS(this.socket,"private-"+s,this.options)),this.channels["private-"+s]}},{key:"presenceChannel",value:function(s){return this.channels["presence-"+s]||(this.channels["presence-"+s]=new iM(this.socket,"presence-"+s,this.options)),this.channels["presence-"+s]}},{key:"leave",value:function(s){var o=this,i=[s,"private-"+s,"presence-"+s];i.forEach(function(a){o.leaveChannel(a)})}},{key:"leaveChannel",value:function(s){this.channels[s]&&(this.channels[s].unsubscribe(),delete this.channels[s])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),n})(sd),uM=(function(e){Bt(n,e);var t=Ut(n);function n(){var r;return lt(this,n),r=t.apply(this,arguments),r.channels={},r}return ft(n,[{key:"connect",value:function(){}},{key:"listen",value:function(s,o,i){return new Ia}},{key:"channel",value:function(s){return new Ia}},{key:"privateChannel",value:function(s){return new zS}},{key:"encryptedPrivateChannel",value:function(s){return new aM}},{key:"presenceChannel",value:function(s){return new cM}},{key:"leave",value:function(s){}},{key:"leaveChannel",value:function(s){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),n})(sd),lM=(function(){function e(t){lt(this,e),this.options=t,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return ft(e,[{key:"channel",value:function(n){return this.connector.channel(n)}},{key:"connect",value:function(){if(this.options.broadcaster=="reverb")this.connector=new Jm(Uo(Uo({},this.options),{cluster:""}));else if(this.options.broadcaster=="pusher")this.connector=new Jm(this.options);else if(this.options.broadcaster=="socket.io")this.connector=new Xm(this.options);else if(this.options.broadcaster=="null")this.connector=new uM(this.options);else if(typeof this.options.broadcaster=="function"&&rM(this.options.broadcaster))this.connector=new this.options.broadcaster(this.options);else throw new Error("Broadcaster ".concat(ko(this.options.broadcaster)," ").concat(this.options.broadcaster," is not supported."))}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(n){return this.connector.presenceChannel(n)}},{key:"leave",value:function(n){this.connector.leave(n)}},{key:"leaveChannel",value:function(n){this.connector.leaveChannel(n)}},{key:"leaveAllChannels",value:function(){for(var n in this.connector.channels)this.leaveChannel(n)}},{key:"listen",value:function(n,r,s){return this.connector.listen(n,r,s)}},{key:"private",value:function(n){return this.connector.privateChannel(n)}},{key:"encryptedPrivate",value:function(n){if(this.connector instanceof Xm)throw new Error("Broadcaster ".concat(ko(this.options.broadcaster)," ").concat(this.options.broadcaster," does not support encrypted private channels."));return this.connector.encryptedPrivateChannel(n)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){typeof Vue=="function"&&Vue.http&&this.registerVueRequestInterceptor(),typeof axios=="function"&&this.registerAxiosRequestInterceptor(),typeof jQuery=="function"&&this.registerjQueryAjaxSetup(),(typeof Turbo>"u"?"undefined":ko(Turbo))==="object"&&this.registerTurboRequestInterceptor()}},{key:"registerVueRequestInterceptor",value:function(){var n=this;Vue.http.interceptors.push(function(r,s){n.socketId()&&r.headers.set("X-Socket-ID",n.socketId()),s()})}},{key:"registerAxiosRequestInterceptor",value:function(){var n=this;axios.interceptors.request.use(function(r){return n.socketId()&&(r.headers["X-Socket-Id"]=n.socketId()),r})}},{key:"registerjQueryAjaxSetup",value:function(){var n=this;typeof jQuery.ajax<"u"&&jQuery.ajaxPrefilter(function(r,s,o){n.socketId()&&o.setRequestHeader("X-Socket-Id",n.socketId())})}},{key:"registerTurboRequestInterceptor",value:function(){var n=this;document.addEventListener("turbo:before-fetch-request",function(r){r.detail.fetchOptions.headers["X-Socket-Id"]=n.socketId()})}}]),e})(),Pa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
23function YS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function fM(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var s=!1;try{s=this instanceof r}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Pi={exports:{}},Ru,Qm;function JS(){if(Qm)return Ru;Qm=1;var e=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,t=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];Ru=function(o){var i=o,a=o.indexOf("["),u=o.indexOf("]");a!=-1&&u!=-1&&(o=o.substring(0,a)+o.substring(a,u).replace(/:/g,";")+o.substring(u,o.length));for(var f=e.exec(o||""),c={},l=14;l--;)c[t[l]]=f[l]||"";return a!=-1&&u!=-1&&(c.source=i,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=n(c,c.path),c.queryKey=r(c,c.query),c};function n(s,o){var i=/\/{2,9}/g,a=o.replace(i,"/").split("/");return(o.substr(0,1)=="/"||o.length===0)&&a.splice(0,1),o.substr(o.length-1,1)=="/"&&a.splice(a.length-1,1),a}function r(s,o){var i={};return o.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(a,u,f){u&&(i[u]=f)}),i}return Ru}var Oi={exports:{}},xi={exports:{}},ku,Zm;function pM(){if(Zm)return ku;Zm=1;var e=1e3,t=e*60,n=t*60,r=n*24,s=r*365.25;ku=function(f,c){c=c||{};var l=typeof f;if(l==="string"&&f.length>0)return o(f);if(l==="number"&&isNaN(f)===!1)return c.long?a(f):i(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function o(f){if(f=String(f),!(f.length>100)){var c=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(f);if(c){var l=parseFloat(c[1]),p=(c[2]||"ms").toLowerCase();switch(p){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"days":case"day":case"d":return l*r;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*t;case"seconds":case"second":case"secs":case"sec":case"s":return l*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}function i(f){return f>=r?Math.round(f/r)+"d":f>=n?Math.round(f/n)+"h":f>=t?Math.round(f/t)+"m":f>=e?Math.round(f/e)+"s":f+"ms"}function a(f){return u(f,r,"day")||u(f,n,"hour")||u(f,t,"minute")||u(f,e,"second")||f+" ms"}function u(f,c,l){if(!(f<c))return f<c*1.5?Math.floor(f/c)+" "+l:Math.ceil(f/c)+" "+l+"s"}return ku}var eg;function dM(){return eg||(eg=1,(function(e,t){t=e.exports=r.debug=r.default=r,t.coerce=u,t.disable=i,t.enable=o,t.enabled=a,t.humanize=pM(),t.instances=[],t.n
23ames=[],t.skips=[],t.formatters={};function n(f){var c=0,l;for(l in f)c=(c<<5)-c+f.charCodeAt(l),c|=0;return t.colors[Math.abs(c)%t.colors.length]}function r(f){var c;function l(){if(l.enabled){var p=l,d=+new Date,h=d-(c||d);p.diff=h,p.prev=c,p.curr=d,c=d;for(var m=new Array(arguments.length),b=0;b<m.length;b++)m[b]=arguments[b];m[0]=t.coerce(m[0]),typeof m[0]!="string"&&m.unshift("%O");var w=0;m[0]=m[0].replace(/%([a-zA-Z%])/g,function(y,g){if(y==="%%")return y;w++;var v=t.formatters[g];if(typeof v=="function"){var E=m[w];y=v.call(p,E),m.splice(w,1),w--}return y}),t.formatArgs.call(p,m);var _=l.log||t.log||console.log.bind(console);_.apply(p,m)}}return l.namespace=f,l.enabled=t.enabled(f),l.useColors=t.useColors(),l.color=n(f),l.destroy=s,typeof t.init=="function"&&t.init(l),t.instances.push(l),l}function s(){var f=t.instances.indexOf(this);return f!==-1?(t.instances.splice(f,1),!0):!1}function o(f){t.save(f),t.names=[],t.skips=[];var c,l=(typeof f=="string"?f:"").split(/[\s,]+/),p=l.length;for(c=0;c<p;c++)l[c]&&(f=l[c].replace(/\*/g,".*?"),f[0]==="-"?t.skips.push(new RegExp("^"+f.substr(1)+"$")):t.names.push(new RegExp("^"+f+"$")));for(c=0;c<t.instances.length;c++){var d=t.instances[c];d.enabled=t.enabled(d.namespace)}}function i(){t.enable("")}function a(f){if(f[f.length-1]==="*")return!0;var c,l;for(c=0,l=t.skips.length;c<l;c++)if(t.skips[c].test(f))return!1;for(c=0,l=t.names.length;c<l;c++)if(t.names[c].test(f))return!0;return!1}function u(f){return f instanceof Error?f.stack||f.message:f}})(xi,xi.exports)),xi.exports}var tg;function Wn(){return tg||(tg=1,(function(e,t){var n={};t=e.exports=dM(),t.log=o,t.formatArgs=s,t.save=i,t.load=a,t.useColors=r,t.storage=typeof chrome<"u"&&typeof chrome.storage<"u"?chrome.storage.local:u(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return typeof window<"u"&&window.process&&window.process.type==="renderer"?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(f){try{return JSON.stringify(f)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}};function s(f){var c=this.useColors;if(f[0]=(c?"%c":"")+this.namespace+(c?" %c":" ")+f[0]+(c?"%c ":" ")+"+"+t.humanize(this.diff),!!c){var l="color: "+this.color;f.splice(1,0,l,"color: inherit");var p=0,d=0;f[0].replace(/%[a-zA-Z%]/g,function(h){h!=="%%"&&(p++,h==="%c"&&(d=p))}),f.splice(d,0,l)}}function o(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function i(f){try{f==null?t.storage.removeItem("debug"):t.storage.debug=f}catch{}}function a(){var f;try{f=t.storage.debug}catch{}return!f&&typeof process<"u"&&"env"in process&&(f=n.DEBUG),f}t.enable(a());function u(){try{return window.localStorage}catch{}}})(Oi,Oi.exports)),Oi.exports}var Iu,ng;function hM(){if(ng)return Iu;ng=1;var e=JS(),t=Wn()("socket.io-client:url");Iu=n;function n(r,s){var o=r;s=s||typeof location<"u"&&location,r==null&&(r=s.protocol+"//"+s.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=s.protocol+r:r=s.host+r),/^(https?|wss?):\/\//.test(r)||(t("protocol-less url %s",r),typeof s<"u"?r=s.protocol+"//"+r:r="https://"+r),t("parse %s",r),o=e(r)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";var i=o.host.indexOf(":")!==-1,a=i?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+a+":"+o.port,o.href=o.protocol+"://"+a+(s&&s.port===o.port?"":":"+o.port),o}return Iu}var Pu={},Ou={exports:{}},rg;function Xs(){return rg||(rg=1,(function(e){e.exports=t;function t(r){if(r)return n(r)}function n(r){for(var s in t.prototype)r[s]=t.prototype[s];return r}t.prototype.on=t.prototype.addEventListener=function(r,s){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(s),this},t.prototype.once=function(r,s){function o(){this.off(r,o),s.apply(this,arguments)}return o.fn=s,this.on(r,o),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(r,s){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var o=this._callbacks["$"+r];if(!o)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var i,a=0;a<o.length;a++)if(i=o[a],i===s||i.fn===s){o.splice(a,1);break}return o.length===0&&delete this._callbacks["$"+r],this},t.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var s=new Array(arguments.length-1),o=this._callbacks["$"+r],i=1;i<arguments.length;i++)s[i-1]=arguments[i];if(o){o=o.slice(0);for(var i=0,a=o.length;i<a;++i)o[i].apply(this,s)}return this},t.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]},t.prototype.hasListeners=function(r){return!!this.listeners(r).length}})(Ou)),Ou.exports}var co={},xu,sg;function od(){if(sg)return xu;sg=1;var e={}.toString;return xu=Array.isArray||function(t){return e.call(t)=="[object Array]"},xu}var Nu,og;function XS(){if(og)return Nu;og=1,Nu=r;var e=typeof Buffer=="function"&&typeof Buffer.isBuffer=="function",t=typeof ArrayBuffer=="function",n=function(s){return typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s.buffer instanceof ArrayBuffer};function r(s){return e&&Buffer.isBuffer(s)||t&&(s instanceof ArrayBuffer||n(s))}return Nu}var ig;function mM(){if(ig)return co;ig=1;var e=od(),t=XS(),n=Object.prototype.toString,r=typeof Blob=="function"||typeof Blob<"u"&&n.call(Blob)==="[object BlobConstructor]",s=typeof File=="function"||typeof File<"u"&&n.call(File)==="[object FileConstructor]";co.deconstructPacket=function(a){var u=[],f=a.data,c=a;return c.data=o(f,u),c.attachments=u.length,{packet:c,buffers:u}};function o(a,u){if(!a)return a;
23if(t(a)){var f={_placeholder:!0,num:u.length};return u.push(a),f}else if(e(a)){for(var c=new Array(a.length),l=0;l<a.length;l++)c[l]=o(a[l],u);return c}else if(typeof a=="object"&&!(a instanceof Date)){var c={};for(var p in a)c[p]=o(a[p],u);return c}return a}co.reconstructPacket=function(a,u){return a.data=i(a.data,u),a.attachments=void 0,a};function i(a,u){if(!a)return a;if(a&&a._placeholder===!0){var f=typeof a.num=="number"&&a.num>=0&&a.num<u.length;if(f)return u[a.num];throw new Error("illegal attachments")}else if(e(a))for(var c=0;c<a.length;c++)a[c]=i(a[c],u);else if(typeof a=="object")for(var l in a)a[l]=i(a[l],u);return a}return co.removeBlobs=function(a,u){function f(p,d,h){if(!p)return p;if(r&&p instanceof Blob||s&&p instanceof File){c++;var m=new FileReader;m.onload=function(){h?h[d]=this.result:l=this.result,--c||u(l)},m.readAsArrayBuffer(p)}else if(e(p))for(var b=0;b<p.length;b++)f(p[b],b,p);else if(typeof p=="object"&&!t(p))for(var w in p)f(p[w],w,p)}var c=0,l=a;f(l),c||u(l)},co}var ag;function id(){return ag||(ag=1,(function(e){var t=Wn()("socket.io-parser"),n=Xs(),r=mM(),s=od(),o=XS();e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=i,e.Decoder=l;function i(){}var a=e.ERROR+'"encode error"';i.prototype.encode=function(w,_){if(t("encoding packet %j",w),e.BINARY_EVENT===w.type||e.BINARY_ACK===w.type)c(w,_);else{var y=u(w);_([y])}};function u(w){var _=""+w.type;if((e.BINARY_EVENT===w.type||e.BINARY_ACK===w.type)&&(_+=w.attachments+"-"),w.nsp&&w.nsp!=="/"&&(_+=w.nsp+","),w.id!=null&&(_+=w.id),w.data!=null){var y=f(w.data);if(y!==!1)_+=y;else return a}return t("encoded %j as %s",w,_),_}function f(w){try{return JSON.stringify(w)}catch{return!1}}function c(w,_){function y(g){var v=r.deconstructPacket(g),E=u(v.packet),S=v.buffers;S.unshift(E),_(S)}r.removeBlobs(w,y)}function l(){this.reconstructor=null}n(l.prototype),l.prototype.add=function(w){var _;if(typeof w=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");_=d(w),e.BINARY_EVENT===_.type||e.BINARY_ACK===_.type?(this.reconstructor=new m(_),this.reconstructor.reconPack.attachments===0&&this.emit("decoded",_)):this.emit("decoded",_)}else if(o(w)||w.base64)if(this.reconstructor)_=this.reconstructor.takeBinaryData(w),_&&(this.reconstructor=null,this.emit("decoded",_));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+w)};function p(w,_){switch(w){case 0:return typeof _=="object";case 1:return _===void 0;case 4:return typeof _=="string"||typeof _=="object";case 2:case 5:return s(_)&&(typeof _[0]=="string"||typeof _[0]=="number");case 3:case 6:return s(_)}}function d(w){var _=0,y={type:Number(w.charAt(0))};if(e.types[y.type]==null)return b("unknown packet type "+y.type);if(e.BINARY_EVENT===y.type||e.BINARY_ACK===y.type){for(var g=_+1;w.charAt(++_)!=="-"&&_!=w.length;);var v=w.substring(g,_);if(v!=Number(v)||w.charAt(_)!=="-")throw new Error("Illegal attachments");y.attachments=Number(v)}if(w.charAt(_+1)==="/"){for(var g=_+1;++_;){var E=w.charAt(_);if(E===","||_===w.length)break}y.nsp=w.substring(g,_)}else y.nsp="/";var S=w.charAt(_+1);if(S!==""&&Number(S)==S){for(var g=_+1;++_;){var E=w.charAt(_);if(E==null||Number(E)!=E){--_;break}if(_===w.length)break}y.id=Number(w.substring(g,_+1))}if(w.charAt(++_)){var A=h(w.substr(_));if(p(y.type,A))y.data=A;else throw new Error("invalid payload")}return t("decoded %s as %j",w,y),y}function h(w){try{return JSON.parse(w)}catch{return!1}}l.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()};function m(w){this.reconPack=w,this.buffers=[]}m.prototype.takeBinaryData=function(w){if(this.buffers.push(w),this.buffers.length===this.reconPack.attachments){var _=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),_}return null},m.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]};function b(w){return{type:e.ERROR,data:"parser error: "+w}}})(Pu)),Pu}var Ni={exports:{}},Di={},Li={exports:{}},cg;function gM(){if(cg)return Li.exports;cg=1;
23try{Li.exports=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{Li.exports=!1}return Li.exports}var Du,ug;function ad(){return ug||(ug=1,Du=(function(){return typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})()),Du}var Lu,lg;function cd(){if(lg)return Lu;lg=1;var e=gM(),t=ad();return Lu=function(n){var r=n.xdomain,s=n.xscheme,o=n.enablesXDR;try{if(typeof XMLHttpRequest<"u"&&(!r||e))return new XMLHttpRequest}catch{}try{if(typeof XDomainRequest<"u"&&!s&&o)return new XDomainRequest}catch{}if(!r)try{return new t[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}},Lu}var Mi={exports:{}},Mu={},Fu,fg;function yM(){return fg||(fg=1,Fu=Object.keys||function(t){var n=[],r=Object.prototype.hasOwnProperty;for(var s in t)r.call(t,s)&&n.push(s);return n}),Fu}var $u,pg;function QS(){if(pg)return $u;pg=1;var e=od(),t=Object.prototype.toString,n=typeof Blob=="function"||typeof Blob<"u"&&t.call(Blob)==="[object BlobConstructor]",r=typeof File=="function"||typeof File<"u"&&t.call(File)==="[object FileConstructor]";$u=s;function s(o){if(!o||typeof o!="object")return!1;if(e(o)){for(var i=0,a=o.length;i<a;i++)if(s(o[i]))return!0;return!1}if(typeof Buffer=="function"&&Buffer.isBuffer&&Buffer.isBuffer(o)||typeof ArrayBuffer=="function"&&o instanceof ArrayBuffer||n&&o instanceof Blob||r&&o instanceof File)return!0;if(o.toJSON&&typeof o.toJSON=="function"&&arguments.length===1)return s(o.toJSON(),!0);for(var u in o)if(Object.prototype.hasOwnProperty.call(o,u)&&s(o[u]))return!0;return!1}return $u}var Bu,dg;function _M(){return dg||(dg=1,Bu=function(e,t,n){var r=e.byteLength;if(t=t||0,n=n||r,e.slice)return e.slice(t,n);if(t<0&&(t+=r),n<0&&(n+=r),n>r&&(n=r),t>=r||t>=n||r===0)return new ArrayBuffer(0);for(var s=new Uint8Array(e),o=new Uint8Array(n-t),i=t,a=0;i<n;i++,a++)o[a]=s[i];return o.buffer}),Bu}var Uu,hg;function vM(){if(hg)return Uu;hg=1,Uu=e;function e(n,r,s){var o=!1;return s=s||t,i.count=n,n===0?r():i;function i(a,u){if(i.count<=0)throw new Error("after called too many times");--i.count,a?(o=!0,r(a),r=s):i.count===0&&!o&&r(null,u)}}function t(){}return Uu}var Hu,mg;function bM(){if(mg)return Hu;mg=1;var e=String.fromCharCode;function t(d){for(var h=[],m=0,b=d.length,w,_;m<b;)w=d.charCodeAt(m++),w>=55296&&w<=56319&&m<b?(_=d.charCodeAt(m++),(_&64512)==56320?h.push(((w&1023)<<10)+(_&1023)+65536):(h.push(w),m--)):h.push(w);return h}function n(d){for(var h=d.length,m=-1,b,w="";++m<h;)b=d[m],b>65535&&(b-=65536,w+=e(b>>>10&1023|55296),b=56320|b&1023),w+=e(b);return w}function r(d,h){if(d>=55296&&d<=57343){if(h)throw Error("Lone surrogate U+"+d.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function s(d,h){return e(d>>h&63|128)}function o(d,h){if((d&4294967168)==0)return e(d);var m="";return(d&4294965248)==0?m=e(d>>6&31|192):(d&4294901760)==0?(r(d,h)||(d=65533),m=e(d>>12&15|224),m+=s(d,6)):(d&4292870144)==0&&(m=e(d>>18&7|240),m+=s(d,12),m+=s(d,6)),m+=e(d&63|128),m}function i(d,h){h=h||{};for(var m=h.strict!==!1,b=t(d),w=b.length,_=-1,y,g="";++_<w;)y=b[_],g+=o(y,m);return g}function a(){if(l>=c)throw Error("Invalid byte index");var d=f[l]&255;if(l++,(d&192)==128)return d&63;throw Error("Invalid continuation byte")}function u(d){var h,m,b,w,_;if(l>c)throw Error("Invalid byte index");if(l==c)return!1;if(h=f[l]&255,l++,(h&128)==0)return h;if((h&224)==192){if(m=a(),_=(h&31)<<6|m,_>=128)return _;throw Error("Invalid continuation byte")}if((h&240)==224){if(m=a(),b=a(),_=(h&15)<<12|m<<6|b,_>=2048)return r(_,d)?_:65533;throw Error("Invalid continuation byte")}if((h&248)==240&&(m=a(),b=a(),w=a(),_=(h&7)<<18|m<<12|b<<6|w,_>=65536&&_<=1114111))return _;throw Error("Invalid UTF-8 detected")}var f,c,l;function p(d,h){h=h||{};var m=h.strict!==!1;f=t(d),c=f.length,l=0;for(var b=[],w;(w=u(m))!==!1;)b.push(w);return n(b)}return Hu={version:"2.1.2",encode:i,decode:p},Hu}var Fi={},gg;function SM(){return gg||(gg=1,(function(e){Fi.encode=function(t){var n=new Uint8Array(t),r,s=n.length,o="";for(r=0;r<s;r+=3)o+=e[n[r]>>2],o+=e[(n[r]&3)<<4|n[r+1]>>4],o+=e[(n[r+1]&15)<<2|n[r+2]>>6],o+=e[n[r+2]&63];return s%3===2?o=o.substring(0,o.length-1)+"=":s%3===1&&(o=o.substring(0,o.length-2)+"=="),o},Fi.decode=function(t){var n=t.length*.75,r=t.length,s,o=0,i,a,u,f;t[t.length-1]==="="&&(n--,t[t.length-2]==="="&&n--);var c=new ArrayBuffer(n),l=new Uint8Array(c);for(s=0;s<r;s+=4)i=e.indexOf(t[s]),a=e.indexOf(t[s+1]),u=e.indexOf(t[s+2]),f=e.indexOf(t[s+3]),l[o++]=i<<2|a>>4,l[o++]=(a&15)<<4|u>>2,l[o++]=(u&3)<<6|f&63;return c}})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
23+/")),Fi}var qu,yg;function wM(){if(yg)return qu;yg=1;var e=typeof e<"u"?e:typeof WebKitBlobBuilder<"u"?WebKitBlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:!1,t=(function(){try{var a=new Blob(["hi"]);return a.size===2}catch{return!1}})(),n=t&&(function(){try{var a=new Blob([new Uint8Array([1,2])]);return a.size===2}catch{return!1}})(),r=e&&e.prototype.append&&e.prototype.getBlob;function s(a){return a.map(function(u){if(u.buffer instanceof ArrayBuffer){var f=u.buffer;if(u.byteLength!==f.byteLength){var c=new Uint8Array(u.byteLength);c.set(new Uint8Array(f,u.byteOffset,u.byteLength)),f=c.buffer}return f}return u})}function o(a,u){u=u||{};var f=new e;return s(a).forEach(function(c){f.append(c)}),u.type?f.getBlob(u.type):f.getBlob()}function i(a,u){return new Blob(s(a),u||{})}return typeof Blob<"u"&&(o.prototype=Blob.prototype,i.prototype=Blob.prototype),qu=(function(){return t?n?Blob:i:r?o:void 0})(),qu}var _g;function xs(){return _g||(_g=1,(function(e){var t=yM(),n=QS(),r=_M(),s=vM(),o=bM(),i;typeof ArrayBuffer<"u"&&(i=SM());var a=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),u=typeof navigator<"u"&&/PhantomJS/i.test(navigator.userAgent),f=a||u;e.protocol=3;var c=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},l=t(c),p={type:"error",data:"parser error"},d=wM();e.encodePacket=function(g,v,E,S){typeof v=="function"&&(S=v,v=!1),typeof E=="function"&&(S=E,E=null);var A=g.data===void 0?void 0:g.data.buffer||g.data;if(typeof ArrayBuffer<"u"&&A instanceof ArrayBuffer)return m(g,v,S);if(typeof d<"u"&&A instanceof d)return w(g,v,S);if(A&&A.base64)return h(g,S);var C=c[g.type];return g.data!==void 0&&(C+=E?o.encode(String(g.data),{strict:!1}):String(g.data)),S(""+C)};function h(g,v){var E="b"+e.packets[g.type]+g.data.data;return v(E)}function m(g,v,E){if(!v)return e.encodeBase64Packet(g,E);var S=g.data,A=new Uint8Array(S),C=new Uint8Array(1+S.byteLength);C[0]=c[g.type];for(var k=0;k<A.length;k++)C[k+1]=A[k];return E(C.buffer)}function b(g,v,E){if(!v)return e.encodeBase64Packet(g,E);var S=new FileReader;return S.onload=function(){e.encodePacket({type:g.type,data:S.result},v,!0,E)},S.readAsArrayBuffer(g.data)}function w(g,v,E){if(!v)return e.encodeBase64Packet(g,E);if(f)return b(g,v,E);var S=new Uint8Array(1);S[0]=c[g.type];var A=new d([S.buffer,g.data]);return E(A)}e.encodeBase64Packet=function(g,v){var E="b"+e.packets[g.type];if(typeof d<"u"&&g.data instanceof d){var S=new FileReader;return S.onload=function(){var I=S.result.split(",")[1];v(E+I)},S.readAsDataURL(g.data)}var A;try{A=String.fromCharCode.apply(null,new Uint8Array(g.data))}catch{for(var C=new Uint8Array(g.data),k=new Array(C.length),x=0;x<C.length;x++)k[x]=C[x];A=String.fromCharCode.apply(null,k)}return E+=btoa(A),v(E)},e.decodePacket=function(g,v,E){if(g===void 0)return p;if(typeof g=="string"){if(g.charAt(0)==="b")return e.decodeBase64Packet(g.substr(1),v);if(E&&(g=_(g),g===!1))return p;var A=g.charAt(0);return Number(A)!=A||!l[A]?p:g.length>1?{type:l[A],data:g.substring(1)}:{type:l[A]}}var S=new Uint8Array(g),A=S[0],C=r(g,1);return d&&v==="blob"&&(C=new d([C])),{type:l[A],data:C}};function _(g){try{g=o.decode(g,{strict:!1})}catch{return!1}return g}e.decodeBase64Packet=function(g,v){var E=l[g.charAt(0)];if(!i)return{type:E,data:{base64:!0,data:g.substr(1)}};var S=i.decode(g.substr(1));return v==="blob"&&d&&(S=new d([S])),{type:E,data:S}},e.encodePayload=function(g,v,E){typeof v=="function"&&(E=v,v=null);var S=n(g);if(v&&S)return d&&!f?e.encodePayloadAsBlob(g,E):e.encodePayloadAsArrayBuffer(g,E);if(!g.length)return E("0:");function A(k){return k.length+":"+k}function C(k,x){e.encodePacket(k,S?v:!1,!1,function(I){x(null,A(I))})}y(g,C,function(k,x){return E(x.join(""))})};function y(g,v,E){for(var S=new Array(g.length),A=s(g.length,E),C=function(x,I,P){v(I,function(V,j){S[x]=j,P(V,S)})},k=0;k<g.length;k++)C(k,g[k],A)}e.decodePayload=function(g,v,E){if(typeof g!="string")return e.decodePayloadAsBinary(g,v,E);typeof v=="function"&&(E=v,v=null);var S;if(g==="")return E(p,0,1);for(var A="",C,k,x=0,I=g.length;x<I;x++){var P=g.charAt(x);if(P!==":"){A+=P;continue}if(A===""||A!=(C=Number(A))||(k=g.substr(x+1,C),A!=k.length))return E(p,0,1);if(k.length){if(S=e.decodePacket(k,v,!1),p.type===S.type&&p.data===S.data)return E(p,0,1);var V=E(S,x+C,I);if(V===!1)return}x+=C,A=""}if(A!=="")return E(p,0,1)},e.encodePayloadAsArrayBuffer=function(g,v){if(!g.length)return v(new ArrayBuffer(0));function E(S,A){e.encodePacket(S,!0,!0,function(C){return A(null,C)})}y(g,E,function(S,A){var C=A.reduce(function(I,P){var V;return typeof P=="string"?V=P.length:V=P.byteLength,I+V.toString().length+V+2},0),k=new Uint8Array(C),x=0;
23return A.forEach(function(I){var P=typeof I=="string",V=I;if(P){for(var $=new Uint8Array(I.length),j=0;j<I.length;j++)$[j]=I.charCodeAt(j);V=$.buffer}P?k[x++]=0:k[x++]=1;for(var M=V.byteLength.toString(),j=0;j<M.length;j++)k[x++]=parseInt(M[j]);k[x++]=255;for(var $=new Uint8Array(V),j=0;j<$.length;j++)k[x++]=$[j]}),v(k.buffer)})},e.encodePayloadAsBlob=function(g,v){function E(S,A){e.encodePacket(S,!0,!0,function(C){var k=new Uint8Array(1);if(k[0]=1,typeof C=="string"){for(var x=new Uint8Array(C.length),I=0;I<C.length;I++)x[I]=C.charCodeAt(I);C=x.buffer,k[0]=0}for(var P=C instanceof ArrayBuffer?C.byteLength:C.size,V=P.toString(),j=new Uint8Array(V.length+1),I=0;I<V.length;I++)j[I]=parseInt(V[I]);if(j[V.length]=255,d){var M=new d([k.buffer,j.buffer,C]);A(null,M)}})}y(g,E,function(S,A){return v(new d(A))})},e.decodePayloadAsBinary=function(g,v,E){typeof v=="function"&&(E=v,v=null);for(var S=g,A=[];S.byteLength>0;){for(var C=new Uint8Array(S),k=C[0]===0,x="",I=1;C[I]!==255;I++){if(x.length>310)return E(p,0,1);x+=C[I]}S=r(S,2+x.length),x=parseInt(x);var P=r(S,0,x);if(k)try{P=String.fromCharCode.apply(null,new Uint8Array(P))}catch{var V=new Uint8Array(P);P="";for(var I=0;I<V.length;I++)P+=String.fromCharCode(V[I])}A.push(P),S=r(S,x)}var j=A.length;A.forEach(function(M,$){E(e.decodePacket(M,v,!0),$,j)})}})(Mu)),Mu}var ju,vg;function ud(){if(vg)return ju;vg=1;var e=xs(),t=Xs();ju=n;function n(r){this.path=r.path,this.hostname=r.hostname,this.port=r.port,this.secure=r.secure,this.query=r.query,this.timestampParam=r.timestampParam,this.timestampRequests=r.timestampRequests,this.readyState="",this.agent=r.agent||!1,this.socket=r.socket,this.enablesXDR=r.enablesXDR,this.withCredentials=r.withCredentials,this.pfx=r.pfx,this.key=r.key,this.passphrase=r.passphrase,this.cert=r.cert,this.ca=r.ca,this.ciphers=r.ciphers,this.rejectUnauthorized=r.rejectUnauthorized,this.forceNode=r.forceNode,this.isReactNative=r.isReactNative,this.extraHeaders=r.extraHeaders,this.localAddress=r.localAddress}return t(n.prototype),n.prototype.onError=function(r,s){var o=new Error(r);return o.type="TransportError",o.description=s,this.emit("error",o),this},n.prototype.open=function(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this},n.prototype.close=function(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this},n.prototype.send=function(r){if(this.readyState==="open")this.write(r);else throw new Error("Transport not open")},n.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},n.prototype.onData=function(r){var s=e.decodePacket(r,this.socket.binaryType);this.onPacket(s)},n.prototype.onPacket=function(r){this.emit("packet",r)},n.prototype.onClose=function(){this.readyState="closed",this.emit("close")},ju}var $i={},bg;function wc(){return bg||(bg=1,$i.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},$i.decode=function(e){for(var t={},n=e.split("&"),r=0,s=n.length;r<s;r++){var o=n[r].split("=");
23t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}),$i}var Vu,Sg;function Ec(){return Sg||(Sg=1,Vu=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}),Vu}var Wu,wg;function ZS(){if(wg)return Wu;wg=1;var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),t=64,n={},r=0,s=0,o;function i(f){var c="";do c=e[f%t]+c,f=Math.floor(f/t);while(f>0);return c}function a(f){var c=0;for(s=0;s<f.length;s++)c=c*t+n[f.charAt(s)];return c}function u(){var f=i(+new Date);return f!==o?(r=0,o=f):f+"."+i(r++)}for(;s<t;s++)n[e[s]]=s;return u.encode=i,u.decode=a,Wu=u,Wu}var Gu,Eg;function e0(){if(Eg)return Gu;Eg=1;var e=ud(),t=wc(),n=xs(),r=Ec(),s=ZS(),o=Wn()("engine.io-client:polling");Gu=a;var i=(function(){var u=cd(),f=new u({xdomain:!1});return f.responseType!=null})();function a(u){var f=u&&u.forceBase64;(!i||f)&&(this.supportsBinary=!1),e.call(this,u)}return r(a,e),a.prototype.name="polling",a.prototype.doOpen=function(){this.poll()},a.prototype.pause=function(u){var f=this;this.readyState="pausing";function c(){o("paused"),f.readyState="paused",u()}if(this.polling||!this.writable){var l=0;this.polling&&(o("we are currently polling - waiting to pause"),l++,this.once("pollComplete",function(){o("pre-pause polling complete"),--l||c()})),this.writable||(o("we are currently writing - waiting to pause"),l++,this.once("drain",function(){o("pre-pause writing complete"),--l||c()}))}else c()},a.prototype.poll=function(){o("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},a.prototype.onData=function(u){var f=this;o("polling got data %s",u);var c=function(l,p,d){if(f.readyState==="opening"&&l.type==="open"&&f.onOpen(),l.type==="close")return f.onClose(),!1;f.onPacket(l)};n.decodePayload(u,this.socket.binaryType,c),this.readyState!=="closed"&&(this.polling=!1,this.emit("pollComplete"),this.readyState==="open"?this.poll():o('ignoring poll - transport state "%s"',this.readyState))},a.prototype.doClose=function(){var u=this;function f(){o("writing close packet"),u.write([{type:"close"}])}this.readyState==="open"?(o("transport open - closing"),f()):(o("transport not open - deferring close"),this.once("open",f))},a.prototype.write=function(u){var f=this;this.writable=!1;var c=function(){f.writable=!0,f.emit("drain")};n.encodePayload(u,this.supportsBinary,function(l){f.doWrite(l,c)})},a.prototype.uri=function(){var u=this.query||{},f=this.secure?"https":"http",c="";this.timestampRequests!==!1&&(u[this.timestampParam]=s()),!this.supportsBinary&&!u.sid&&(u.b64=1),u=t.encode(u),this.port&&(f==="https"&&Number(this.port)!==443||f==="http"&&Number(this.port)!==80)&&(c=":"+this.port),u.length&&(u="?"+u);var l=this.hostname.indexOf(":")!==-1;return f+"://"+(l?"["+this.hostname+"]":this.hostname)+c+this.path+u},Gu}var Tg;function EM(){if(Tg)return Mi.exports;Tg=1;var e=cd(),t=e0(),n=Xs(),r=Ec(),s=Wn()("engine.io-client:polling-xhr"),o=ad();Mi.exports=a,Mi.exports.Request=u;function i(){}function a(l){if(t.call(this,l),this.requestTimeout=l.requestTimeout,this.extraHeaders=l.extraHeaders,typeof location<"u"){var p=location.protocol==="https:",d=location.port;d||(d=p?443:80),this.xd=typeof location<"u"&&l.hostname!==location.hostname||d!==l.port,this.xs=l.secure!==p}}r(a,t),a.prototype.supportsBinary=!0,a.prototype.request=function(l){return l=l||{},l.uri=this.uri(),l.xd=this.xd,l.xs=this.xs,l.agent=this.agent||!1,l.supportsBinary=this.supportsBinary,l.enablesXDR=this.enablesXDR,l.withCredentials=this.withCredentials,l.pfx=this.pfx,l.key=this.key,l.passphrase=this.passphrase,l.cert=this.cert,l.ca=this.ca,l.ciphers=this.ciphers,l.rejectUnauthorized=this.rejectUnauthorized,l.requestTimeout=this.requestTimeout,l.extraHeaders=this.extraHeaders,new u(l)},a.prototype.doWrite=function(l,p){var d=typeof l!="string"&&l!==void 0,h=this.request({method:"POST",data:l,isBinary:d}),m=this;h.on("success",p),h.on("error",function(b){m.onError("xhr post error",b)}),this.sendXhr=h},a.prototype.doPoll=function(){s("xhr poll");var l=this.request(),p=this;l.on("data",function(d){p.onData(d)}),l.on("error",function(d){p.onError("xhr poll error",d)}),this.pollXhr=l};function u(l){this.method=l.method||"GET",this.uri=l.uri,this.xd=!!l.xd,this.xs=!!l.xs,this.async=l.async!==!1,this.data=l.data!==void 0?l.data:null,this.agent=l.agent,this.isBinary=l.isBinary,this.supportsBinary=l.supportsBinary,this.enablesXDR=l.enablesXDR,this.withCredentials=l.withCredentials,this.requestTimeout=l.requestTimeout,this.pfx=l.pfx,this.key=l.key,this.passphrase=l.passphrase,this.cert=l.cert,this.ca=l.ca,this.ciphers=l.ciphers,this.rejectUnauthorized=l.rejectUnauthorized,this.extraHeaders=l.extraHeaders,this.create()}if(n(u.prototype),u.prototype.create=function(){var l={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};l.pfx=this.pfx,l.key=this.key,l.passphrase=this.passphrase,l.cert=this.cert,l.ca=this.ca,l.ciphers=this.ciphers,l.rejectUnauthorized=this.rejectUnauthorized;var p=this.xhr=new e(l),d=this;try{s("xhr open %s: %s",this.method,this.uri),p.open(this.method,this.uri,this.async);try{if(this.extraHeaders){p.setDisableHeaderCheck&&p.setDisableHeaderCheck(!0);for(var h in this.extraHeaders)this.extraHeaders.hasOwnProperty(h)&&p.setRequestHeader(h,this.extraHeaders[h])}}catch{}if(this.method==="POST")try{this.isBinary?p.setRequestHeader("Content-type","application/octet-stream"):p.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{p.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in p&&(p.withCredentials=this.withCredentials),this.requestTimeout&&(p.timeout=this.requestTimeout),this.hasXDR()?(p.onload=function(){d.onLoad()},p.onerror=function(){d.onError(p.responseText)}):p.onreadystatechange=function(){if(p.readyState===2)try{var m=p.getResponseHeader("Content-Type");(d.supportsBinary&&m==="application/octet-stream"||m==="application/octet-stream; charset=UTF-8")&&(p.responseType="arraybuffer")}catch{}p.readyState===4&&(p.status===200||p.status===1223?d.onLoad():setTimeout(function(){d.onError(typeof p.status=="number"?p.status:0)},0))},s("xhr data %s",this.data),p.send(this.data)}catch(m){setTimeout(function(){d.onError(m)},0);return}typeof document<"u"&&(this.index=u.requestsCount++,u.requests[this.index]=this)}
23,u.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},u.prototype.onData=function(l){this.emit("data",l),this.onSuccess()},u.prototype.onError=function(l){this.emit("error",l),this.cleanup(!0)},u.prototype.cleanup=function(l){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=i:this.xhr.onreadystatechange=i,l)try{this.xhr.abort()}catch{}typeof document<"u"&&delete u.requests[this.index],this.xhr=null}},u.prototype.onLoad=function(){var l;try{var p;try{p=this.xhr.getResponseHeader("Content-Type")}catch{}p==="application/octet-stream"||p==="application/octet-stream; charset=UTF-8"?l=this.xhr.response||this.xhr.responseText:l=this.xhr.responseText}catch(d){this.onError(d)}l!=null&&this.onData(l)},u.prototype.hasXDR=function(){return typeof XDomainRequest<"u"&&!this.xs&&this.enablesXDR},u.prototype.abort=function(){this.cleanup()},u.requestsCount=0,u.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",c);else if(typeof addEventListener=="function"){var f="onpagehide"in o?"pagehide":"unload";addEventListener(f,c,!1)}}function c(){for(var l in u.requests)u.requests.hasOwnProperty(l)&&u.requests[l].abort()}return Mi.exports}var Ku,Cg;function TM(){if(Cg)return Ku;Cg=1;var e=e0(),t=Ec(),n=ad();Ku=a;var r=/\n/g,s=/\\n/g,o;function i(){}function a(u){e.call(this,u),this.query=this.query||{},o||(o=n.___eio=n.___eio||[]),this.index=o.length;var f=this;o.push(function(c){f.onData(c)}),this.query.j=this.index,typeof addEventListener=="function"&&addEventListener("beforeunload",function(){f.script&&(f.script.onerror=i)},!1)}return t(a,e),a.prototype.supportsBinary=!1,a.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),e.prototype.doClose.call(this)},a.prototype.doPoll=function(){var u=this,f=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),f.async=!0,f.src=this.uri(),f.onerror=function(p){u.onError("jsonp poll error",p)};var c=document.getElementsByTagName("script")[0];c?c.parentNode.insertBefore(f,c):(document.head||document.body).appendChild(f),this.script=f;var l=typeof navigator<"u"&&/gecko/i.test(navigator.userAgent);l&&setTimeout(function(){var p=document.createElement("iframe");document.body.appendChild(p),document.body.removeChild(p)},100)},a.prototype.doWrite=function(u,f){var c=this;if(!this.form){var l=document.createElement("form"),p=document.createElement("textarea"),d=this.iframeId="eio_iframe_"+this.index,h;l.className="socketio",l.style.position="absolute",l.style.top="-1000px",l.style.left="-1000px",l.target=d,l.method="POST",l.setAttribute("accept-charset","utf-8"),p.name="d",l.appendChild(p),document.body.appendChild(l),this.form=l,this.area=p}this.form.action=this.uri();function m(){b(),f()}function b(){if(c.iframe)try{c.form.removeChild(c.iframe)}catch(_){c.onError("jsonp polling iframe removal error",_)}try{var w='<iframe src="javascript:0" name="'+c.iframeId+'">';h=document.createElement(w)}catch{h=document.createElement("iframe"),h.name=c.iframeId,h.src="javascript:0"}h.id=c.iframeId,c.form.appendChild(h),c.iframe=h}b(),u=u.replace(s,`\\ 24`),this.area.value=u.replace(r,"\\n");try{this.form.submit()}catch{}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){c.iframe.readyState==="complete"&&m()}:this.iframe.onload=m},Ku}const CM={},AM=Object.freeze(Object.defineProperty({__proto__:null,default:CM},Symbol.toStringTag,{value:"Module"})),t0=fM(AM);var zu,Ag;function RM(){if(Ag)return zu;Ag=1;var e=ud(),t=xs(),n=wc(),r=Ec(),s=ZS(),o=Wn()("engine.io-client:websocket"),i,a;if(typeof WebSocket<"u"?i=WebSocket:typeof self<"u"&&(i=self.WebSocket||self.MozWebSocket),typeof window>"u")try{a=t0}catch{}var u=i||a;zu=f;function f(c){var l=c&&c.forceBase64;l&&(this.supportsBinary=!1),this.perMessageDeflate=c.perMessageDeflate,this.usingBrowserWebSocket=i&&!c.forceNode,this.protocols=c.protocols,this.usingBrowserWebSocket||(u=a),e.call(this,c)}return r(f,e),f.prototype.name="websocket",f.prototype.supportsBinary=!0,f.prototype.doOpen=function(){if(this.check()){var c=this.uri(),l=this.protocols,p={};this.isReactNative||(p.agent=this.agent,p.perMessageDeflate=this.perMessageDeflate,p.pfx=this.pfx,p.key=this.key,p.passphrase=this.passphrase,p.cert=this.cert,p.ca=this.ca,p.ciphers=this.ciphers,p.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(p.headers=this.extraHeaders),this.localAddress&&(p.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?l?new u(c,l):new u(c):new u(c,l,p)}
24catch(d){return this.emit("error",d)}this.ws.binaryType===void 0&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},f.prototype.addEventListeners=function(){var c=this;this.ws.onopen=function(){c.onOpen()},this.ws.onclose=function(){c.onClose()},this.ws.onmessage=function(l){c.onData(l.data)},this.ws.onerror=function(l){c.onError("websocket error",l)}},f.prototype.write=function(c){var l=this;this.writable=!1;for(var p=c.length,d=0,h=p;d<h;d++)(function(b){t.encodePacket(b,l.supportsBinary,function(w){if(!l.usingBrowserWebSocket){var _={};if(b.options&&(_.compress=b.options.compress),l.perMessageDeflate){var y=typeof w=="string"?Buffer.byteLength(w):w.length;y<l.perMessageDeflate.threshold&&(_.compress=!1)}}try{l.usingBrowserWebSocket?l.ws.send(w):l.ws.send(w,_)}catch{o("websocket closed before onclose event")}--p||m()})})(c[d]);function m(){l.emit("flush"),setTimeout(function(){l.writable=!0,l.emit("drain")},0)}},f.prototype.onClose=function(){e.prototype.onClose.call(this)},f.prototype.doClose=function(){typeof this.ws<"u"&&(this.ws.onerror=function(){},this.ws.close())},f.prototype.uri=function(){var c=this.query||{},l=this.secure?"wss":"ws",p="";this.port&&(l==="wss"&&Number(this.port)!==443||l==="ws"&&Number(this.port)!==80)&&(p=":"+this.port),this.timestampRequests&&(c[this.timestampParam]=s()),this.supportsBinary||(c.b64=1),c=n.encode(c),c.length&&(c="?"+c);var d=this.hostname.indexOf(":")!==-1;return l+"://"+(d?"["+this.hostname+"]":this.hostname)+p+this.path+c},f.prototype.check=function(){return!!u&&!("__initialize"in u&&this.name===f.prototype.name)}
24,zu}var Rg;function kg(){if(Rg)return Di;Rg=1;var e=cd(),t=EM(),n=TM(),r=RM();Di.polling=s,Di.websocket=r;function s(o){var i,a=!1,u=!1,f=o.jsonp!==!1;if(typeof location<"u"){var c=location.protocol==="https:",l=location.port;l||(l=c?443:80),a=o.hostname!==location.hostname||l!==o.port,u=o.secure!==c}if(o.xdomain=a,o.xscheme=u,i=new e(o),"open"in i&&!o.forceJSONP)return new t(o);if(!f)throw new Error("JSONP disabled");return new n(o)}return Di}var Yu,Ig;function n0(){if(Ig)return Yu;Ig=1;var e=[].indexOf;return Yu=function(t,n){if(e)return t.indexOf(n);for(var r=0;r<t.length;++r)if(t[r]===n)return r;return-1},Yu}var Ju,Pg;function kM(){if(Pg)return Ju;Pg=1;var e=kg(),t=Xs(),n=Wn()("engine.io-client:socket"),r=n0(),s=xs(),o=JS(),i=wc();Ju=a;function a(f,c){if(!(this instanceof a))return new a(f,c);c=c||{},f&&typeof f=="object"&&(c=f,f=null),f?(f=o(f),c.hostname=f.host,c.secure=f.protocol==="https"||f.protocol==="wss",c.port=f.port,f.query&&(c.query=f.query)):c.host&&(c.hostname=o(c.host).host),this.secure=c.secure!=null?c.secure:typeof location<"u"&&location.protocol==="https:",c.hostname&&!c.port&&(c.port=this.secure?"443":"80"),this.agent=c.agent||!1,this.hostname=c.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=c.port||(typeof location<"u"&&location.port?location.port:this.secure?443:80),this.query=c.query||{},typeof this.query=="string"&&(this.query=i.decode(this.query)),this.upgrade=c.upgrade!==!1,this.path=(c.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!c.forceJSONP,this.jsonp=c.jsonp!==!1,this.forceBase64=!!c.forceBase64,this.enablesXDR=!!c.enablesXDR,this.withCredentials=c.withCredentials!==!1,this.timestampParam=c.timestampParam||"t",this.timestampRequests=c.timestampRequests,this.transports=c.transports||["polling","websocket"],this.transportOptions=c.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=c.policyPort||843,this.rememberUpgrade=c.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=c.onlyBinaryUpgrades,this.perMessageDeflate=c.perMessageDeflate!==!1?c.perMessageDeflate||{}:!1,this.perMessageDeflate===!0&&(this.perMessageDeflate={}),this.perMessageDeflate&&this.perMessageDeflate.threshold==null&&(this.perMessageDeflate.threshold=1024),this.pfx=c.pfx||void 0,this.key=c.key||void 0,this.passphrase=c.passphrase||void 0,this.cert=c.cert||void 0,this.ca=c.ca||void 0,this.ciphers=c.ciphers||void 0,this.rejectUnauthorized=c.rejectUnauthorized===void 0?!0:c.rejectUnauthorized,this.forceNode=!!c.forceNode,this.isReactNative=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",(typeof self>"u"||this.isReactNative)&&(c.extraHeaders&&Object.keys(c.extraHeaders).length>0&&(this.extraHeaders=c.extraHeaders),c.localAddress&&(this.localAddress=c.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}a.priorWebsocketSuccess=!1,t(a.prototype),a.protocol=s.protocol,a.Socket=a,a.Transport=ud(),a.transports=kg(),a.parser=xs(),a.prototype.createTransport=function(f){n('creating transport "%s"',f);var c=u(this.query);c.EIO=s.protocol,c.transport=f;var l=this.transportOptions[f]||{};this.id&&(c.sid=this.id);var p=new e[f]({query:c,socket:this,agent:l.agent||this.agent,hostname:l.hostname||this.hostname,port:l.port||this.port,secure:l.secure||this.secure,path:l.path||this.path,forceJSONP:l.forceJSONP||this.forceJSONP,jsonp:l.jsonp||this.jsonp,forceBase64:l.forceBase64||this.forceBase64,enablesXDR:l.enablesXDR||this.enablesXDR,withCredentials:l.withCredentials||this.withCredentials,timestampRequests:l.timestampRequests||this.timestampRequests,timestampParam:l.timestampParam||this.timestampParam,policyPort:l.policyPort||this.policyPort,pfx:l.pfx||this.pfx,key:l.key||this.key,passphrase:l.passphrase||this.passphrase,cert:l.cert||this.cert,ca:l.ca||this.ca,ciphers:l.ciphers||this.ciphers,rejectUnauthorized:l.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:l.perMessageDeflate||this.perMessageDeflate,extraHeaders:l.extraHeaders||this.extraHeaders,forceNo
24de:l.forceNode||this.forceNode,localAddress:l.localAddress||this.localAddress,requestTimeout:l.requestTimeout||this.requestTimeout,protocols:l.protocols||void 0,isReactNative:this.isReactNative});return p};function u(f){var c={};for(var l in f)f.hasOwnProperty(l)&&(c[l]=f[l]);return c}return a.prototype.open=function(){var f;if(this.rememberUpgrade&&a.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)f="websocket";else if(this.transports.length===0){var c=this;setTimeout(function(){c.emit("error","No transports available")},0);return}else f=this.transports[0];this.readyState="opening";try{f=this.createTransport(f)}catch{this.transports.shift(),this.open();return}f.open(),this.setTransport(f)},a.prototype.setTransport=function(f){n("setting transport %s",f.name);var c=this;this.transport&&(n("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=f,f.on("drain",function(){c.onDrain()}).on("packet",function(l){c.onPacket(l)}).on("error",function(l){c.onError(l)}).on("close",function(){c.onClose("transport close")})},a.prototype.probe=function(f){n('probing transport "%s"',f);var c=this.createTransport(f,{probe:1}),l=!1,p=this;a.priorWebsocketSuccess=!1;function d(){if(p.onlyBinaryUpgrades){var g=!this.supportsBinary&&p.transport.supportsBinary;l=l||g}l||(n('probe transport "%s" opened',f),c.send([{type:"ping",data:"probe"}]),c.once("packet",function(v){if(!l)if(v.type==="pong"&&v.data==="probe"){if(n('probe transport "%s" pong',f),p.upgrading=!0,p.emit("upgrading",c),!c)return;a.priorWebsocketSuccess=c.name==="websocket",n('pausing current transport "%s"',p.transport.name),p.transport.pause(function(){l||p.readyState!=="closed"&&(n("changing transport and sending upgrade packet"),y(),p.setTransport(c),c.send([{type:"upgrade"}]),p.emit("upgrade",c),c=null,p.upgrading=!1,p.flush())})}else{n('probe transport "%s" failed',f);var E=new Error("probe error");E.transport=c.name,p.emit("upgradeError",E)}}))}function h(){l||(l=!0,y(),c.close(),c=null)}function m(g){var v=new Error("probe error: "+g);v.transport=c.name,h(),n('probe transport "%s" failed because of error: %s',f,g),p.emit("upgradeError",v)}function b(){m("transport closed")}function w(){m("socket closed")}function _(g){c&&g.name!==c.name&&(n('"%s" works - aborting "%s"',g.name,c.name),h())}function y(){c.removeListener("open",d),c.removeListener("error",m),c.removeListener("close",b),p.removeListener("close",w),p.removeListener("upgrading",_)}c.once("open",d),c.once("error",m),c.once("close",b),this.once("close",w),this.once("upgrading",_),c.open()},a.prototype.onOpen=function(){if(n("socket open"),this.readyState="open",a.priorWebsocketSuccess=this.transport.name==="websocket",this.emit("open"),this.flush(),this.readyState==="open"&&this.upgrade&&this.transport.pause){n("starting upgrade probes");for(var f=0,c=this.upgrades.length;f<c;f++)this.probe(this.upgrades[f])}},a.prototype.onPacket=function(f){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(n('socket receive: type "%s", data "%s"',f.type,f.data),this.emit("packet",f),this.emit("heartbeat"),f.type){case"open":this.onHandshake(JSON.parse(f.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var c=new Error("server error");c.code=f.data,this.onError(c);break;
24case"message":this.emit("data",f.data),this.emit("message",f.data);break}else n('packet received with socket readyState "%s"',this.readyState)},a.prototype.onHandshake=function(f){this.emit("handshake",f),this.id=f.sid,this.transport.query.sid=f.sid,this.upgrades=this.filterUpgrades(f.upgrades),this.pingInterval=f.pingInterval,this.pingTimeout=f.pingTimeout,this.onOpen(),this.readyState!=="closed"&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},a.prototype.onHeartbeat=function(f){clearTimeout(this.pingTimeoutTimer);var c=this;c.pingTimeoutTimer=setTimeout(function(){c.readyState!=="closed"&&c.onClose("ping timeout")},f||c.pingInterval+c.pingTimeout)},a.prototype.setPing=function(){var f=this;clearTimeout(f.pingIntervalTimer),f.pingIntervalTimer=setTimeout(function(){n("writing ping packet - expecting pong within %sms",f.pingTimeout),f.ping(),f.onHeartbeat(f.pingTimeout)},f.pingInterval)},a.prototype.ping=function(){var f=this;this.sendPacket("ping",function(){f.emit("ping")})},a.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emit("drain"):this.flush()},a.prototype.flush=function(){this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(n("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},a.prototype.write=a.prototype.send=function(f,c,l){return this.sendPacket("message",f,c,l),this},a.prototype.sendPacket=function(f,c,l,p){if(typeof c=="function"&&(p=c,c=void 0),typeof l=="function"&&(p=l,l=null),!(this.readyState==="closing"||this.readyState==="closed")){l=l||{},l.compress=l.compress!==!1;var d={type:f,data:c,options:l};this.emit("packetCreate",d),this.writeBuffer.push(d),p&&this.once("flush",p),this.flush()}},a.prototype.close=function(){if(this.readyState==="opening"||this.readyState==="open"){this.readyState="closing";var f=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?p():c()}):this.upgrading?p():c()}function c(){f.onClose("forced close"),n("socket closing - telling transport to close"),f.transport.close()}function l(){f.removeListener("upgrade",l),f.removeListener("upgradeError",l),c()}function p(){f.once("upgrade",l),f.once("upgradeError",l)}return this},a.prototype.onError=function(f){n("socket error %j",f),a.priorWebsocketSuccess=!1,this.emit("error",f),this.onClose("transport error",f)},a.prototype.onClose=function(f,c){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){n('socket close with reason: "%s"',f);var l=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",f,c),l.writeBuffer=[],l.prevBufferLen=0}},a.prototype.filterUpgrades=function(f){for(var c=[],l=0,p=f.length;l<p;l++)~r(this.transports,f[l])&&c.push(f[l]);return c},Ju}var Og;function IM(){return Og||(Og=1,Ni.exports=kM(),Ni.exports.parser=xs()),Ni.exports}var Xu={exports:{}},Qu,xg;function PM(){if(xg)return Qu;xg=1,Qu=e;function e(t,n){var r=[];n=n||0;for(var s=n||0;s<t.length;s++)r[s-n]=t[s];return r}return Qu}var Zu,Ng;function r0(){if(Ng)return Zu;Ng=1,Zu=e;function e(t,n,r){return t.on(n,r),{destroy:function(){t.removeListener(n,r)}}}return Zu}var el,Dg;function s0(){if(Dg)return el;Dg=1;var e=[].slice;return el=function(t,n){if(typeof n=="string"&&(n=t[n]),typeof n!="function")throw new Error("bind() requires a function");var r=e.call(arguments,2);return function(){return n.apply(t,r.concat(e.call(arguments)))}},el}var Lg;function o0(){return Lg||(Lg=1,(function(e,t){var n=id(),r=Xs(),s=PM(),o=r0(),i=s0(),a=Wn()("socket.io-client:socket"),u=wc(),f=QS();e.exports=p;var c={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},l=r.prototype.emit;function p(d,h,m){this.io=d,this.nsp=h,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},m&&m.query&&(this.query=m.query),this.io.autoConnect&&this.open()}r(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var d=this.io;this.subs=[o(d,"open",i(this,"onopen")),o(d,"packet",i(this,"onpacket")),o(d,"close",i(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.reconnecting||this.io.open(),this.io.readyState==="open"&&this.onopen(),this.emit
24("connecting"),this)},p.prototype.send=function(){var d=s(arguments);return d.unshift("message"),this.emit.apply(this,d),this},p.prototype.emit=function(d){if(c.hasOwnProperty(d))return l.apply(this,arguments),this;var h=s(arguments),m={type:(this.flags.binary!==void 0?this.flags.binary:f(h))?n.BINARY_EVENT:n.EVENT,data:h};return m.options={},m.options.compress=!this.flags||this.flags.compress!==!1,typeof h[h.length-1]=="function"&&(a("emitting packet with ack id %d",this.ids),this.acks[this.ids]=h.pop(),m.id=this.ids++),this.connected?this.packet(m):this.sendBuffer.push(m),this.flags={},this},p.prototype.packet=function(d){d.nsp=this.nsp,this.io.packet(d)},p.prototype.onopen=function(){if(a("transport is open - connecting"),this.nsp!=="/")if(this.query){var d=typeof this.query=="object"?u.encode(this.query):this.query;a("sending connect packet with query %s",d),this.packet({type:n.CONNECT,query:d})}else this.packet({type:n.CONNECT})},p.prototype.onclose=function(d){a("close (%s)",d),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",d)},p.prototype.onpacket=function(d){var h=d.nsp===this.nsp,m=d.type===n.ERROR&&d.nsp==="/";if(!(!h&&!m))switch(d.type){case n.CONNECT:this.onconnect();break;case n.EVENT:this.onevent(d);break;case n.BINARY_EVENT:this.onevent(d);break;case n.ACK:this.onack(d);break;case n.BINARY_ACK:this.onack(d);break;case n.DISCONNECT:this.ondisconnect();break;case n.ERROR:this.emit("error",d.data);break}},p.prototype.onevent=function(d){var h=d.data||[];a("emitting event %j",h),d.id!=null&&(a("attaching ack callback to event"),h.push(this.ack(d.id))),this.connected?l.apply(this,h):this.receiveBuffer.push(h)},p.prototype.ack=function(d){var h=this,m=!1;return function(){if(!m){m=!0;var b=s(arguments);a("sending ack %j",b),h.packet({type:f(b)?n.BINARY_ACK:n.ACK,id:d,data:b})}}},p.prototype.onack=function(d){var h=this.acks[d.id];typeof h=="function"?(a("calling ack %s with %j",d.id,d.data),h.apply(this,d.data),delete this.acks[d.id]):a("bad ack %s",d.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit("connect")},p.prototype.emitBuffered=function(){var d;for(d=0;d<this.receiveBuffer.length;d++)l.apply(this,this.receiveBuffer[d]);for(this.receiveBuffer=[],d=0;d<this.sendBuffer.length;d++)this.packet(this.sendBuffer[d]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){a("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.prototype.destroy=function(){if(this.subs){for(var d=0;d<this.subs.length;d++)this.subs[d].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(a("performing disconnect (%s)",this.nsp),this.packet({type:n.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(d){return this.flags.compress=d,this},p.prototype.binary=function(d){return this.flags.binary=d,this}})(Xu)),Xu.exports}var tl,Mg;function OM(){if(Mg)return tl;Mg=1,tl=e;function e(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}return e.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),r=Math.floor(n*this.jitter*t);t=(Math.floor(n*10)&1)==0?t-r:t+r}return Math.min(t,this.max)|0},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(t){this.ms=t},e.prototype.setMax=function(t){this.max=t},e.prototype.setJitter=function(t){this.jitter=t},tl}var nl,Fg;function $g(){if(Fg)return nl;Fg=1;var e=IM(),t=o0(),n=Xs(),r=id(),s=r0(),o=s0(),i=Wn()("socket.io-client:manager"),a=n0(),u=OM(),f=Object.prototype.hasOwnProperty;nl=c;function c(l,p){if(!(this instanceof c))return new c(l,p);l&&typeof l=="object"&&(p=l,l=void 0),p=p||{},p.path=p.path||"/socket.io",this.nsps={},this.subs=[],this.opts=p,this.reconnection(p.reconnection!==!1),this.reconnectionAttempts(p.reconnectionAttempts||1/0),this.reconnectionDelay(p.reconnectionDelay||1e3),this.reconnectionDelayMax(p.reconnectionDelayMax||5e3),this.randomizationFactor(p.randomizationFactor||.5),this.backoff=new u({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(p.timeout==null?2e4:p.timeout),this.readyState="closed",this.uri=l,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var d=p.parser||r;this.encoder=new d.Encoder,this.decoder=new d.Decoder,this.autoConnect=p.autoConnect!==!1,this.autoConnect&&this.open()}return c.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var l in this.nsps)f.call(this.nsps,l)&&this.nsps[l].emit.apply(this.nsps[l],arguments)},c.prototype.updateSocketIds=function(){for(var l in this.nsps)f.call(this.nsps,l)&&(this.nsps[l].id=this.generateId(l))},c.prototype.generateId=function(l){return(l==="/"?"":l+"#")+this.engine.id},n(c.prototype),c.prototype.reconnection=function(l){return arguments.length?(this._reconnection=!!l,this):this._reconnection},c.prototype.reconnectionAttempts=function(l){return arguments.length?(this._reconnectionAttempts=l,this):this._reconnectionAttempts},c.prototype.reconnectionDelay=function(l){return arguments.length?(this._reconnectionDelay=l,this.backoff&&this.backoff.setMin(l),this):this._reconnectionDelay},c.prototype.randomizationFactor=function(l){return arguments.length?(this._randomizationFactor=l,this.backoff&&this.backoff.setJitter(l),this):this._randomizationFactor},c.prototype.reconnectionDelayMax=function(l){return arguments.length?(this._reconnectionDelayMax=l,this.backoff&&this.backoff.setMax(l),this):this._reconnectionDelayMax},c.prototype.timeout=function(l){return arguments.length?(this._timeout=l,this):this._timeout},c.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()},c.prototype.open=c.prototype.connect=function(l,p){if(i("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;i("opening %s",this.uri),this.engine=e(this.uri,this.opts);var d=this.engine,h=this;this.readyState="opening",this.skipReconnect=!1;var m=s(d,"open",function(){h.onopen(),l&&l()}
24),b=s(d,"error",function(y){if(i("connect_error"),h.cleanup(),h.readyState="closed",h.emitAll("connect_error",y),l){var g=new Error("Connection error");g.data=y,l(g)}else h.maybeReconnectOnOpen()});if(this._timeout!==!1){var w=this._timeout;i("connect attempt will timeout after %d",w),w===0&&m.destroy();var _=setTimeout(function(){i("connect attempt timed out after %d",w),m.destroy(),d.close(),d.emit("error","timeout"),h.emitAll("connect_timeout",w)},w);this.subs.push({destroy:function(){clearTimeout(_)}})}return this.subs.push(m),this.subs.push(b),this},c.prototype.onopen=function(){i("open"),this.cleanup(),this.readyState="open",this.emit("open");var l=this.engine;this.subs.push(s(l,"data",o(this,"ondata"))),this.subs.push(s(l,"ping",o(this,"onping"))),this.subs.push(s(l,"pong",o(this,"onpong"))),this.subs.push(s(l,"error",o(this,"onerror"))),this.subs.push(s(l,"close",o(this,"onclose"))),this.subs.push(s(this.decoder,"decoded",o(this,"ondecoded")))},c.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},c.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},c.prototype.ondata=function(l){this.decoder.add(l)},c.prototype.ondecoded=function(l){this.emit("packet",l)},c.prototype.onerror=function(l){i("error",l),this.emitAll("error",l)},c.prototype.socket=function(l,p){var d=this.nsps[l];if(!d){d=new t(this,l,p),this.nsps[l]=d;var h=this;d.on("connecting",m),d.on("connect",function(){d.id=h.generateId(l)}),this.autoConnect&&m()}function m(){~a(h.connecting,d)||h.connecting.push(d)}return d},c.prototype.destroy=function(l){var p=a(this.connecting,l);~p&&this.connecting.splice(p,1),!this.connecting.length&&this.close()},c.prototype.packet=function(l){i("writing packet %j",l);var p=this;l.query&&l.type===0&&(l.nsp+="?"+l.query),p.encoding?p.packetBuffer.push(l):(p.encoding=!0,this.encoder.encode(l,function(d){for(var h=0;h<d.length;h++)p.engine.write(d[h],l.options);p.encoding=!1,p.processPacketQueue()}))},c.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var l=this.packetBuffer.shift();this.packet(l)}},c.prototype.cleanup=function(){i("cleanup");for(var l=this.subs.length,p=0;p<l;p++){var d=this.subs.shift();d.destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},c.prototype.close=c.prototype.disconnect=function(){i("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,this.readyState==="opening"&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},c.prototype.onclose=function(l){i("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",l),this._reconnection&&!this.skipReconnect&&this.reconnect()},c.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var l=this;if(this.backoff.attempts>=this._reconnectionAttempts)i("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var p=this.backoff.duration();i("will wait %dms before reconnect attempt",p),this.reconnecting=!0;var d=setTimeout(function(){l.skipReconnect||(i("attempting reconnect"),l.emitAll("reconnect_attempt",l.backoff.attempts),l.emitAll("reconnecting",l.backoff.attempts),!l.skipReconnect&&l.open(function(h){h?(i("reconnect attempt error"),l.reconnecting=!1,l.reconnect(),l.emitAll("reconnect_error",h.data)):(i("reconnect success"),l.onreconnect())}))},p);this.subs.push({destroy:function(){clearTimeout(d)}})}},c.prototype.onreconnect=function(){var l=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",l)},nl}var Bg;function xM(){return Bg||(Bg=1,(function(e,t){var n=hM(),r=id(),s=$g(),o=Wn()("socket.io-client");e.exports=t=a;var i=t.managers={};function a(u,f){typeof u=="object"&&(f=u,u=void 0),f=f||{};var c=n(u),l=c.source,p=c.id,d=c.path,h=i[p]&&d in i[p].nsps,m=f.forceNew||f["force new connection"]||f.multiplex===!1||h,b;return m?(o("ignoring socket cache for %s",l),b=s(l,f)):(i[p]||(o("new io instance for %s",l),i[p]=s(l,f)),b=i[p]),c.query&&!f.query&&(f.query=c.query),b.socket(c.path,f)}t.protocol=r.protocol,t.connect=a,t.Manager=$g(),t.Socket=o0()}
24)(Pi,Pi.exports)),Pi.exports}var i0=xM();const a0=YS(i0),S2=D0({__proto__:null,default:a0},[i0]),Gf=768,NM=1024,Kf=1280,DM=1440,w2={TABLET:Gf,BIG_TABLET:NM,DESKTOP:Kf,DESKTOP_WIDE:DM};let Rr=null;function LM(){const{$isDebug:e,$logger:t}=fe(),n=t.withScope("ðï¸ notification-service");function r(){n("connectPrivateChannel");const i=Mt();if(!i)return;const a=ur(i);if(a){if(n("connectPrivateChannel",{subId:a,echo:Rr}),!Rr){n("create new echo");const u={Authorization:`Bearer ${i}`};Rr=new lM({broadcaster:"socket.io",client:a0,host:HS,auth:{headers:u}})}Rr.channel(`pusher_database_private-channel.${a}`).listen("SocketPrivateEvent",o)}}function s(){if(n("leavePrivateChannel",{echo:Rr}),!Rr)return;const i=Mt();if(!i)return;const a=ur(i);if(a)return Rr.leaveChannel(`pusher_database_private-channel.${a}`)}function o(i){const a=Pt(i,qS,e);n("handleWsEvent",a)}return{connectPrivateChannel:r,leavePrivateChannel:s}}function c0(){const{$logger:e}=fe(),t=gr(),n=Ps();QL(),LM();const r=e.withScope("ð auth-service");async function s(i=Mt()){if(r("login"),!i)return;const a=ur(i);if(!a)throw new Error("Failed to parse access token");await n.fetchAndUpdateUser(a),t.afterLoginAction?.()}async function o(){const i=Zx();return r("logout"),Kp(),n.clearUser(),i}return{login:s,logout:o}}function Oa(e,t="unknown"){const{$logger:n}=fe(),r=c0(),s=n.withScope(`ð¨ ${t} error-handler`);if(e.response){const{message:o,response:{status:i}}=e;switch(i){case 401:case 403:r.logout();break;default:s.error("error at response",o);break}}else e.request?s.error("error at request",e.message):s.error("error at settings",e.message)}let Bi=null;function u0(){if(!Bi){const{$registry:e}=fe();e.auth.setRefreshTokenPending(!0),Bi=eN().finally(()=>{Bi=null,e.auth.setRefreshTokenPending(!1)})}return Bi}async function ld(e,t){const n=Mt();if(n&&!Gp(n))try{const s=await u0();if(s.access_token){oi(s.access_token);const o=ur(s.access_token),i=gr();o&&i.userData&&await Ps().fetchAndUpdateUser(o)}else Kp(),Ps().clearUser()}catch(s){Oa(s,t)}const r=Mt();r&&e.options.headers.set("Authorization",`Bearer ${r}`)}const MM=Je(e=>{const t=e.$logger.withScope("Â®ï¸ registry"),n=gr(),r=Ps(),s=je(()=>n.isLoggedInWp||!1),o={interceptors:{authRequest:ld,authError:Oa},auth:{isAuthenticatedInWordpress:s,changeAfterLoginAction:i,setRefreshTokenPending:a=>n.setUserRT(a)},user:{updateUser:r.setUser,patchUser:r.patchUser}};function i(a){n.afterLoginAction=a?()=>a(n.userData):void 0}t("create registry",o),e.provide("registry",Wx(o))}),FM=Je(e=>{const{$logger:t,$registry:n}=e,{search:r}=H1(),s=t.withScope("ð debug"),o=r.includes("?debug=true")||r.includes("&debug=true"),i=localStorage.getItem("_debug")==="true",a=n.auth.isAuthenticatedInWordpress?.value??!1,u=o||i||!$m||a;s({isDebugUrl:o,hasDebugInLocalStorage:i,IS_PRODUCTION:$m,isDebug:u,isWpAuthentificated:a}),e.provide("isDebug",u)}),$M=({$logger:e})=>{const t=ut({baseURL:`${Vn}${Js}`,timeout:$t,credentials:"include",...zt(e,"archives")});return{top(n){const{period:r,limit:s,page:o}=n,i={limit:s,page:o};return t(`top/${r}`,{params:i})},homePosts(n,r=!1){return t("home-posts",{params:n,headers:r?{cookie:void 0}:{}})},category(n){const{slug:r,limit:s,page:o}=n,i={limit:s,page:o};return t(`category/${r}`,{params:i})},tag(n){const{slug:r,limit:s,page:o}=n,i={limit:s,page:o};return t(`tag/${r}`,{params:i})},author(n){const{slug:r,limit:s,page:o}=n,i={limit:s,page:o};return t(`author/${r}`,{params:i})},search(n){return t("search",{params:n})}}},fd=de({id:ce(),type:B(),text:B(),postProcessed:wt(),attributesRemoved:wt(),renamed:wt(),attributes:Me(qf()),children:qf()}),BM=de({name:B(),avatar:B(),url:B(),profile:B(),about:Me(B()),expertise:Me(Xe(fd)),integer_id:Me(B()),telegram:Me(B()),vkontakte:Me(B()),twitter:Me(B())}),uo=de({url:B(),width:ce(),height:ce()}),UM=de({id:ce(),slug:B(),url:B(),title:B()}),HM=de({promo:Me(B()),advert:Me(B()),main_color:Me(B()),cover_source:Me(B()),cover_source_url:Me(B()),post_source:Me(B()),post_source_url:Me(B()),ads_source:B(),ads_source_url:B(),authors:Me(B())}),qM=de({title:B(),description:B(),robots:B(),canonical:B(),og_image:B(),site_icon:B(),schema:B()}),jM=de({id:ce(),title:B(),name:B(),type:B(),url:B(),date:ce(),teaser_url:B(),teaser_target:B(),excerpt:B(),author:BM,categories:Xe(de({id:ce(),title:B(),slug:B(),url:B(),color:B(),icon:Me(B()),covers:Xe(uo),description:Me(B()),parsed_description:Xe(fd),og_image:Me(B())})),tags:Xe(UM),is_advertising:wt(),is_promo:wt(),img:Xe(et(uo)),image:Me(de({image_id:ce(),alt:B(),sizes:Xe(uo),origin:uo})),default_img:Xe(uo),comments_enabled:wt(),comments_count:ce(),reactions_enabled:wt(),views:ce(),ab_titles_data:Xe(B()),advert_label:B(),test_pixels:Xe(B()),ads_token:Me(B())}),VM=de({item:de({...jM.entries,template:B(),meta:HM,parsed_content:Xe(fd)}),meta:de({total_items:ce(),total_pages:ce(),limit:ce(),current_page:ce(),is_user_logged_in:wt()}),seo:qM,adfox_params:de({lh_adfox_terms:B(),lh_adfox_tags:B(),lh_adfox_streams:B(),lh_adfox_noad:B(),lh_adfox_noadsense:ce(),lh_adfox_postid:ce(),lh_adfox_pk:B(),lh_adfox_homepage:wt()})}),WM=({$logger:e})=>{const t=ut({baseURL:`${Vn}${Js}`,timeout:$t,credentials:"include",parseResponse:vr,...zt(e,"single-post")});return{async fetchArticleData(n){const r={post_slug:n.post_slug},s=await t(n.id?`single-post/${n.id}`:"single-post",{params:r});return Pt(s.data,VM)}}},GM=({$logger:e})=>{const t=ut({baseURL:`${Vn}${Js}`,timeout:$t,...zt(e,"widgets")});return{sidebars(){return t("sidebars")}}},KM=({$logger:e})=>{const t=ut({baseURL:qL,timeout:$t,parseResponse:vr,headers:{"Content-Type":"application/json","x-app":"lifehacker-web"},...zt(e,"talker")});return{fetchBestComments(){return t("/api/comments/top?limit=1")},fetchLastComments(){return t("/api/comments/last?limit=3")},fetchCommentsBySlug(n){const r=`/api/v2/comments/by-post-name/post/${n}?format_ver=1&sort=oldest`;return t(r)},fetchComments(n,r=4,s="trending"){const o=`/api/v2/comments/post/${n}?sort=${s}&format_ver=1&limit=${r}`;return t(o)},fetchAmpComments(n,r="trending"){const s=`/api/v2/comments/post/${n}?sort=${r}&format_ver=1`;return t(s)}}};var rl,Ug;function Qs(){return Ug||(Ug=1,rl=TypeError),rl}var sl,Hg;function Tc(){if(Hg)return sl;Hg=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,s=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,i=s&&o&&typeof o.get=="function"?o.get:null,a=s&&Set.prototype.forEach,u=typeof WeakMap=="function"&&WeakMap.prototype,f=u?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,l=c?WeakSet.prototype.has:null,p=typeof WeakRef=="function"&&WeakRef.prototype,d=p?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,b=Function.prototype.toString,w=String.prototype.match,_=String.prototype.slice,y=String.prototype.replace,g=String.prototype.toUpperCase,v=String.prototype.toLowerCase,E=RegExp.prototype.test,S=Array.prototype.concat,A=Array.prototype.join,C=Array.prototype.slice,k=Math.floor,x=typeof BigInt=="function"?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,V=typeof Symbol=="function"&&typeof Symbol.iterator=="object",j=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===V||!0)?Symbol.toStringTag:null,M=Object.prototype.propertyIsEnumerable,$=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function N(O,L){if(O===1/0||O===-1/0||O!==O||O&&O>-1e3&&O<1e3||E.call(/e/,L))return L;var ve=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof O=="number"){var xe=O<0?-k(-O):k(O);if(xe!==O){var qe=String(xe),he=_.call(L,qe.length+1);
vendor: 21,031 bytes, lines 24-27
24return y.call(qe,ve,"$&_")+"."+y.call(y.call(he,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(L,ve,"$&_")}var Z=t0,Oe=Z.custom,Re=R(Oe)?Oe:null,ee={__proto__:null,double:'"',single:"'"},ie={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};sl=function O(L,ve,xe,qe){var he=ve||{};if(F(he,"quoteStyle")&&!F(ee,he.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(he,"maxStringLength")&&(typeof he.maxStringLength=="number"?he.maxStringLength<0&&he.maxStringLength!==1/0:he.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Gn=F(he,"customInspect")?he.customInspect:!0;if(typeof Gn!="boolean"&&Gn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(F(he,"indent")&&he.indent!==null&&he.indent!==" "&&!(parseInt(he.indent,10)===he.indent&&he.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(F(he,"numericSeparator")&&typeof he.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var wr=he.numericSeparator;if(typeof L>"u")return"undefined";if(L===null)return"null";if(typeof L=="boolean")return L?"true":"false";if(typeof L=="string")return me(L,he);if(typeof L=="number"){if(L===0)return 1/0/L>0?"0":"-0";var qt=String(L);return wr?N(L,qt):qt}if(typeof L=="bigint"){var Kn=String(L)+"n";return wr?N(L,Kn):Kn}var Rc=typeof he.depth>"u"?5:he.depth;if(typeof xe>"u"&&(xe=0),xe>=Rc&&Rc>0&&typeof L=="object")return U(L)?"[Array]":"[Object]";var Zr=Tt(he,xe);if(typeof qe>"u")qe=[];else if(Y(qe,L)>=0)return"[Circular]";function Zt(es,ai,N0){if(ai&&(qe=C.call(qe),qe.push(ai)),N0){var Rd={depth:he.depth};return F(he,"quoteStyle")&&(Rd.quoteStyle=he.quoteStyle),O(es,Rd,xe+1,qe)}return O(es,he,xe+1,qe)}if(typeof L=="function"&&!K(L)){var bd=J(L),Sd=Sr(L,Zt);return"[Function"+(bd?": "+bd:" (anonymous)")+"]"+(Sd.length>0?" { "+A.call(Sd,", ")+" }":"")}if(R(L)){var wd=V?y.call(String(L),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(L);return typeof L=="object"&&!V?ge(wd):wd}if(ue(L)){for(var Zs="<"+v.call(String(L.nodeName)),kc=L.attributes||[],ii=0;ii<kc.length;ii++)Zs+=" "+kc[ii].name+"="+_e(Ce(kc[ii].value),"double",he);return Zs+=">",L.childNodes&&L.childNodes.length&&(Zs+="..."),Zs+="</"+v.call(String(L.nodeName))+">",Zs}if(U(L)){if(L.length===0)return"[]";var Ic=Sr(L,Zt);return Zr&&!Ht(Ic)?"["+Sn(Ic,Zr)+"]":"[ "+A.call(Ic,", ")+" ]"}if(z(L)){var Pc=Sr(L,Zt);return!("cause"in Error.prototype)&&"cause"in L&&!M.call(L,"cause")?"{ ["+String(L)+"] "+A.call(S.call("[cause]: "+Zt(L.cause),Pc),", ")+" }":Pc.length===0?"["+String(L)+"]":"{ ["+String(L)+"] "+A.call(Pc,", ")+" }"}if(typeof L=="object"&&Gn){if(Re&&typeof L[Re]=="function"&&Z)return Z(L,{depth:Rc-xe});if(Gn!=="symbol"&&typeof L.inspect=="function")return L.inspect()}if(G(L)){var Ed=[];return r&&r.call(L,function(es,ai){Ed.push(Zt(ai,L,!0)+" => "+Zt(es,L))}),ot("Map",n.call(L),Ed,Zr)}if(X(L)){var Td=[];return a&&a.call(L,function(es){Td.push(Zt(es,L))}),ot("Set",i.call(L),Td,Zr)}if(W(L))return ct("WeakMap");if(ne(L))return ct("WeakSet");if(re(L))return ct("WeakRef");if(oe(L))return ge(Zt(Number(L)));if(D(L))return ge(Zt(x.call(L)));if(T(L))return ge(h.call(L));if(te(L))return ge(Zt(String(L)));if(typeof window<"u"&&L===window)return"{ [object Window] }";if(typeof globalThis<"u"&&L===globalThis||typeof Pa<"u"&&L===Pa)return"{ [object globalThis] }";if(!Q(L)&&!K(L)){var Oc=Sr(L,Zt),Cd=$?$(L)===Object.prototype:L instanceof Object||L.constructor===Object,xc=L instanceof Object?"":"null prototype",Ad=!Cd&&j&&Object(L)===L&&j in L?_.call(q(L),8,-1):xc?"Object":"",x0=Cd||typeof L.constructor!="function"?"":L.constructor.name?L.constructor.name+" ":"",Nc=x0+(Ad||xc?"["+A.call(S.call([],Ad||[],xc||[]),": ")+"] ":"");return Oc.length===0?Nc+"{}":Zr?Nc+"{"+Sn(Oc,Zr)+"}":Nc+"{ "+A.call(Oc,", ")+" }"}return String(L)};function _e(O,L,ve){var xe=ve.quoteStyle||L,qe=ee[xe];return qe+O+qe}function Ce(O){return y.call(String(O),/"/g,""")}function He(O){return!j||!(typeof O=="object"&&(j in O||typeof O[j]<"u"))}function U(O){return q(O)==="[object Array]"&&He(O)}function Q(O){return q(O)==="[object Date]"&&He(O)}function K(O){return q(O)==="[object RegExp]"&&He(O)}function z(O){return q(O)==="[object Error]"&&He(O)}function te(O){return q(O)==="[object String]"&&He(O)}function oe(O){return q(O)==="[object Number]"&&He(O)}function T(O){return q(O)==="[object Boolean]"&&He(O)}function R(O){if(V)return O&&typeof O=="object"&&O instanceof Symbol;if(typeof O=="symbol")return!0;if(!O||typeof O!="object"||!P)return!1;try{return P.call(O),!0}catch{}return!1}function D(O){if(!O||typeof O!="object"||!x)return!1;try{return x.call(O),!0}catch{}return!1}var H=Object.prototype.hasOwnProperty||function(O){return O in this};function F(O,L){return H.call(O,L)}function q(O){return m.call(O)}function J(O){if(O.name)return O.name;var L=w.call(b.call(O),/^function\s*([\w$]+)/);return L?L[1]:null}function Y(O,L){if(O.indexOf)return O.indexOf(L);for(var ve=0,xe=O.length;ve<xe;ve++)if(O[ve]===L)return ve;return-1}function G(O){if(!n||!O||typeof O!="object")return!1;try{n.call(O);try{i.call(O)}catch{return!0}return O instanceof Map}catch{}return!1}function W(O){if(!f||!O||typeof O!="object")return!1;try{f.call(O,f);try{l.call(O,l)}catch{return!0}return O instanceof WeakMap}catch{}return!1}function re(O){if(!d||!O||typeof O!="object")return!1;try{return d.call(O),!0}catch{}return!1}function X(O){if(!i||!O||typeof O!="object")return!1;try{i.call(O);try{n.call(O)}catch{return!0}return O instanceof Set}catch{}return!1}function ne(O){if(!l||!O||typeof O!="object")return!1;try{l.call(O,l);try{f.call(O,f)}catch{return!0}return O instanceof WeakSet}catch{}return!1}function ue(O){return!O||typeof O!="object"?!1:typeof HTMLElement<"u"&&O instanceof HTMLElement?!0:typeof O.nodeName=="string"&&typeof O.getAttribute=="function"}function me(O,L){if(O.length>L.maxStringLength){var ve=O.length-L.maxStringLength,xe="... "+ve+" more character"+(ve>1?"s":"");return me(_.call(O,0,L.maxStringLength),L)+xe}var qe=ie[L.quoteStyle||"single"];qe.lastIndex=0;var he=y.call(y.call(O,qe,"\\$1"),/[\x00-\x1f]/g,Ne);return _e(he,"single",L)}function Ne(O){var L=O.charCodeAt(0),ve={8:"b",9:"t",10:"n",12:"f",13:"r"}[L];return ve?"\\"+ve:"\\x"+(L<16?"0":"")+g.call(L.toString(16))}function ge(O){return"Object("+O+")"}function ct(O){return O+" { ? }"}function ot(O,L,ve,xe){var qe=xe?Sn(ve,xe):A.call(ve,", ");return O+" ("+L+") {"+qe+"}"}function Ht(O){for(var L=0;L<O.length;L++)if(Y(O[L],` 25`)>=0)return!1;return!0}function Tt(O,L){var ve;if(O.indent===" ")ve=" ";else if(typeof O.indent=="number"&&O.indent>0)ve=A.call(Array(O.indent+1)," ");else return null;return{base:ve,prev:A.call(Array(L+1),ve)}}function Sn(O,L){if(O.length===0)return"";var ve=` 26`+L.prev+L.base;return ve+A.call(O,","+ve)+` 27`+L.prev}function Sr(O,L){var ve=U(O),xe=[];if(ve){xe.length=O.length;for(var qe=0;qe<O.length;qe++)xe[qe]=F(O,qe)?L(O[qe],O):""}var he=typeof I=="function"?I(O):[],Gn;if(V){Gn={};for(var wr=0;wr<he.length;wr++)Gn["$"+he[wr]]=he[wr]}for(var qt in O)F(O,qt)&&(ve&&String(Number(qt))===qt&&qt<O.length||V&&Gn["$"+qt]instanceof Symbol||(E.call(/[^\w$]/,qt)?xe.push(L(qt,O)+": "+L(O[qt],O)):xe.push(qt+": "+L(O[qt],O))));if(typeof I=="function")for(var Kn=0;Kn<he.length;Kn++)M.call(O,he[Kn])&&xe.push("["+L(he[Kn])+"]: "+L(O[he[Kn]],O));return xe}return sl}var ol,qg;function zM(){if(qg)return ol;qg=1;var e=Tc(),t=Qs(),n=function(a,u,f){for(var c=a,l;(l=c.next)!=null;c=l)if(l.key===u)return c.next=l.next,f||(l.next=a.next,a.next=l),l},r=function(a,u){if(a){var f=n(a,u);return f&&f.value}},s=function(a,u,f){var c=n(a,u);c?c.value=f:a.next={key:u,next:a.next,value:f}},o=function(a,u){return a?!!n(a,u):!1},i=function(a,u){if(a)return n(a,u,!0)};return ol=function(){var u,f={assert:function(c){if(!f.has(c))throw new t("Side channel does not contain "+e(c))},delete:function(c){var l=u&&u.next,p=i(u,c);return p&&l&&l===p&&(u=void 0),!!p},get:function(c){return r(u,c)},has:function(c){return o(u,c)},set:function(c,l){u||(u={next:void 0}),s(u,c,l)}};return f},ol}var il,jg;function l0(){return jg||(jg=1,il=Object),il}var al,Vg;function YM(){return Vg||(Vg=1,al=Error),al}var cl,Wg;function JM(){return Wg||(Wg=1,cl=EvalError),cl}var ul,Gg;function XM(){return Gg||(Gg=1,ul=RangeError),ul}var ll,Kg;function QM(){return Kg||(Kg=1,ll=ReferenceError),ll}var fl,zg;function ZM(){return zg||(zg=1,fl=SyntaxError),fl}var pl,Yg;function eF(){return Yg||(Yg=1,pl=URIError),pl}var dl,Jg;function tF(){return Jg||(Jg=1,dl=Math.abs),dl}var hl,Xg;function nF(){return Xg||(Xg=1,hl=Math.floor),hl}var ml,Qg;function rF(){return Qg||(Qg=1,ml=Math.max),ml}var gl,Zg;function sF(){return Zg||(Zg=1,gl=Math.min),gl}var yl,ey;function oF(){return ey||(ey=1,yl=Math.pow),yl}var _l,ty;function iF(){return ty||(ty=1,_l=Math.round),_l}var vl,ny;function aF(){return ny||(ny=1,vl=Number.isNaN||function(t){return t!==t}),vl}var bl,ry;function cF(){if(ry)return bl;ry=1;var e=aF();return bl=function(n){return e(n)||n===0?n:n<0?-1:1},bl}var Sl,sy;function uF(){return sy||(sy=1,Sl=Object.getOwnPropertyDescriptor),Sl}var wl,oy;function f0(){if(oy)return wl;oy=1;var e=uF();if(e)try{e([],"length")}catch{e=null}return wl=e,wl}var El,iy;function lF(){if(iy)return El;iy=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return El=e,El}var Tl,ay;function fF(){return ay||(ay=1,Tl=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var s=42;t[n]=s;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,n);if(a.value!==s||a.enumerable!==!0)return!1}return!0}),Tl}var Cl,cy;function pF(){if(cy)return Cl;cy=1;var e=typeof Symbol<"u"&&Symbol,t=fF();return Cl=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Cl}var Al,uy;function p0(){return uy||(uy=1,Al=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Al}var Rl,ly;function d0(){if(ly)return Rl;ly=1;var e=l0();return Rl=e.getPrototypeOf||null,Rl}var kl,fy;function dF(){if(fy)return kl;fy=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",s=function(u,f){for(var c=[],l=0;l<u.length;l+=1)c[l]=u[l];for(var p=0;p<f.length;p+=1)c[p+u.length]=f[p];return c},o=function(u,f){for(var c=[],l=f,p=0;l<u.length;l+=1,p+=1)c[p]=u[l];return c},i=function(a,u){for(var f="",c=0;c<a.length;c+=1)f+=a[c],c+1<a.length&&(f+=u);return f};return kl=function(u){var f=this;if(typeof f!="function"||t.apply(f)!==r)throw new TypeError(e+f);for(var c=o(arguments,1),l,p=function(){if(this instanceof l){var w=f.apply(this,s(c,arguments));return Object(w)===w?w:this}return f.apply(u,s(c,arguments))},d=n(0,f.length-c.length),h=[],m=0;m<d;m++)h[m]="$"+m;if(l=Function("binder","return function ("+i(h,",")+"){ return binder.apply(this,arguments); }")(p),f.prototype){var b=function(){};b.prototype=f.prototype,l.prototype=new b,b.prototype=null}return l},kl}var Il,py;function Cc(){if(py)return Il;py=1;var e=dF();return Il=Function.prototype.bind||e,Il}var Pl,dy;function pd(){return dy||(dy=1,Pl=Function.prototype.call),Pl}var Ol,hy;function h0(){return hy||(hy=1,Ol=Function.prototype.apply),Ol}var xl,my;function hF(){return my||(my=1,xl=typeof Reflect<"u"&&Reflect&&Reflect.apply),xl}var Nl,gy;function mF(){if(gy)return Nl;gy=1;var e=Cc(),t=h0(),n=pd(),r=hF();return Nl=r||e.call(n,t),Nl}var Dl,yy;function m0(){if(yy)return Dl;yy=1;var e=Cc(),t=Qs(),n=pd(),r=mF();return Dl=function(o){if(o.length<1||typeof o[0]!="function")throw new t("a function is required");return r(e,n,o)},Dl}var Ll,_y;function gF(){if(_y)return Ll;_y=1;var e=m0(),t=f0(),n;try{n=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var r=!!n&&t&&t(Object.prototype,"__proto__"),s=Object,o=s.getPrototypeOf;return Ll=r&&typeof r.get=="function"?e([r.get]):typeof o=="function"?function(a){return o(a==null?a:s(a))}:!1,Ll}var Ml,vy;function yF(){if(vy)return Ml;vy=1;var e=p0(),t=d0(),n=gF();return Ml=e?function(s){return e(s)}:t?function(s){if(!s||typeof s!="object"&&typeof s!="function")throw new TypeError("getProto: not an object");return t(s)}:n?function(s){return n(s)}:null,Ml}var Fl,by;function _F(){if(by)return Fl;by=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=Cc();return Fl=n.call(e,t),Fl}var $l,Sy;function dd(){if(Sy)return $l;Sy=1;var e,t=l0(),n=YM(),r=JM(),s=XM(),o=QM(),i=ZM(),a=Qs(),u=eF(),f=tF(),c=nF(),l=rF(),p=sF(),d=oF(),h=iF(),m=cF(),b=Function,w=function(K){try{return b('"use strict"; return ('+K+").constructor;")()}catch{}},_=f0(),y=lF(),g=function(){throw new a},v=_?(function(){try{return arguments.callee,g}catch{try{return _(arguments,"callee").get}catch{return g}}})():g,E=pF()(),S=yF(),A=d0(),C=p0(),k=h0(),x=pd(),I={},P=typeof Uint8Array>"u"||!S?e:S(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":E&&S?S([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":I,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&S?S(S([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!E||!S?e:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":s,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!E||!S?e:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&S?S(""[Symbol.iterator]()):e,"%Symbol%":E?Symbol:e,"%SyntaxError%":i,"%ThrowTypeError%":v,"%TypedArray%":P,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":x,"%Function.prototype.apply%":k,"%Object.defineProperty%":y,"%Object.getPrototypeOf%":A,"%Math.abs%":f,"%Math.floor%":c,"%Math.max%":l,"%Math.min%":p,"%Math.pow%":d,"%Math.round%":h,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(S)try{null.error}catch(K){var j=S(S(K));V["%Error.prototype%"]=j}var M=function K(z){var te;if(z==="%AsyncFunction%")te=w("async function () {}");else if(z==="%GeneratorFunction%")te=w("function* () {}");else if(z==="%AsyncGeneratorFunction%")te=w("async function* () {}");else if(z==="%AsyncGenerator%"){var oe=K("%AsyncGeneratorFunction%");oe&&(te=oe.prototype)}else if(z==="%AsyncIteratorPrototype%"){var T=K("%AsyncGenerator%");T&&S&&(te=S(T.prototype))}return V[z]=te,te},$={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=Cc(),Z=_F(),Oe=N.call(x,Array.prototype.concat),Re=N.call(k,Array.prototype.splice),ee=N.call(x,String.prototype.replace),ie=N.call(x,String.prototype.slice),_e=N.call(x,RegExp.prototype.exec),Ce=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,He=/\\(\\)?/g,U=function(z){var te=ie(z,0,1),oe=ie(z,-1);if(te==="%"&&oe!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(oe==="%"&&te!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var T=[];return ee(z,Ce,function(R,D,H,F){T[T.length]=H?ee(F,He,"$1"):D||R}),T},Q=function(z,te){var oe=z,T;if(Z($,oe)&&(T=$[oe],oe="%"+T[0]+"%"),Z(V,oe)){var R=V[oe];if(R===I&&(R=M(oe)),typeof R>"u"&&!te)throw new a("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:T,name:oe,value:R}}throw new i("intrinsic "+z+" does not exist!")};return $l=function(z,te){if(typeof z!="string"||z.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof te!="boolean")throw new a('"allowMissing" argument must be a boolean');if(_e(/^%?[^%]*%?$/,z)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var oe=U(z),T=oe.length>0?oe[0]:"",R=Q("%"+T+"%",te),D=R.name,H=R.value,F=!1,q=R.alias;q&&(T=q[0],Re(oe,Oe([0,1],q)));for(var J=1,Y=!0;J<oe.length;J+=1){var G=oe[J],W=ie(G,0,1),re=ie(G,-1);if((W==='"'||W==="'"||W==="`"||re==='"'||re==="'"||re==="`")&&W!==re)throw new i("property names with quotes must have matching quotes");if((G==="constructor"||!Y)&&(F=!0),T+="."+G,D="%"+T+"%",Z(V,D))H=V[D];
27else if(H!=null){if(!(G in H)){if(!te)throw new a("base intrinsic for "+z+" exists, but the property is not available.");return}if(_&&J+1>=oe.length){var X=_(H,G);Y=!!X,Y&&"get"in X&&!("originalValue"in X.get)?H=X.get:H=H[G]}else Y=Z(H,G),H=H[G];Y&&!F&&(V[D]=H)}}return H},$l}var Bl,wy;function g0(){if(wy)return Bl;wy=1;var e=dd(),t=m0(),n=t([e("%String.prototype.indexOf%")]);return Bl=function(s,o){var i=e(s,!!o);return typeof i=="function"&&n(s,".prototype.")>-1?t([i]):i},Bl}var Ul,Ey;function y0(){if(Ey)return Ul;Ey=1;var e=dd(),t=g0(),n=Tc(),r=Qs(),s=e("%Map%",!0),o=t("Map.prototype.get",!0),i=t("Map.prototype.set",!0),a=t("Map.prototype.has",!0),u=t("Map.prototype.delete",!0),f=t("Map.prototype.size",!0);return Ul=!!s&&function(){var l,p={assert:function(d){if(!p.has(d))throw new r("Side channel does not contain "+n(d))},delete:function(d){if(l){var h=u(l,d);return f(l)===0&&(l=void 0),h}return!1},get:function(d){if(l)return o(l,d)},has:function(d){return l?a(l,d):!1},set:function(d,h){l||(l=new s),i(l,d,h)}};return p},Ul}var Hl,Ty;function vF(){if(Ty)return Hl;Ty=1;var e=dd(),t=g0(),n=Tc(),r=y0(),s=Qs(),o=e("%WeakMap%",!0),i=t("WeakMap.prototype.get",!0),a=t("WeakMap.prototype.set",!0),u=t("WeakMap.prototype.has",!0),f=t("WeakMap.prototype.delete",!0);return Hl=o?function(){var l,p,d={assert:function(h){if(!d.has(h))throw new s("Side channel does not contain "+n(h))},delete:function(h){if(o&&h&&(typeof h=="object"||typeof h=="function")){if(l)return f(l,h)}else if(r&&p)return p.delete(h);return!1},get:function(h){return o&&h&&(typeof h=="object"||typeof h=="function")&&l?i(l,h):p&&p.get(h)},has:function(h){return o&&h&&(typeof h=="object"||typeof h=="function")&&l?u(l,h):!!p&&p.has(h)},set:function(h,m){o&&h&&(typeof h=="object"||typeof h=="function")?(l||(l=new o),a(l,h,m)):r&&(p||(p=r()),p.set(h,m))}};return d}:r,Hl}var ql,Cy;function _0(){if(Cy)return ql;Cy=1;var e=Qs(),t=Tc(),n=zM(),r=y0(),s=vF(),o=s||r||n;return ql=function(){var a,u={assert:function(f){if(!u.has(f))throw new e("Side channel does not contain "+t(f))},delete:function(f){return!!a&&a.delete(f)},get:function(f){return a&&a.get(f)},has:function(f){return!!a&&a.has(f)},set:function(f,c){a||(a=o()),a.set(f,c)}};return u},ql}var jl,Ay;function hd(){if(Ay)return jl;Ay=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return jl={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},jl}var Vl,Ry;function v0(){if(Ry)return Vl;Ry=1;var e=hd(),t=_0(),n=Object.prototype.hasOwnProperty,r=Array.isArray,s=t(),o=function(S,A){return s.set(S,A),S},i=function(S){return s.has(S)},a=function(S){return s.get(S)},u=function(S,A){s.set(S,A)},f=(function(){for(var E=[],S=0;S<256;++S)E.push("%"+((S<16?"0":"")+S.toString(16)).toUpperCase());return E})(),c=function(S){for(;S.length>1;){var A=S.pop(),C=A.obj[A.prop];if(r(C)){for(var k=[],x=0;x<C.length;++x)typeof C[x]<"u"&&k.push(C[x]);A.obj[A.prop]=k}}},l=function(S,A){for(var C=A&&A.plainObjects?{__proto__:null}:{},k=0;k<S.length;++k)typeof S[k]<"u"&&(C[k]=S[k]);return C},p=function E(S,A,C){if(!A)return S;if(typeof A!="object"&&typeof A!="function"){if(r(S))S.push(A);else if(S&&typeof S=="object")if(i(S)){var k=a(S)+1;S[k]=A,u(S,k)}else(C&&(C.plainObjects||C.allowPrototypes)||!n.call(Object.prototype,A))&&(S[A]=!0);else return[S,A];return S}if(!S||typeof S!="object"){if(i(A)){for(var x=Object.keys(A),I=C&&C.plainObjects?{__proto__:null,0:S}:{0:S},P=0;P<x.length;P++){var V=parseInt(x[P],10);I[V+1]=A[x[P]]}return o(I,a(A)+1)}return[S].concat(A)}var j=S;return r(S)&&!r(A)&&(j=l(S,C)),r(S)&&r(A)?(A.forEach(function(M,$){if(n.call(S,$)){var N=S[$];N&&typeof N=="object"&&M&&typeof M=="object"?S[$]=E(N,M,C):S.push(M)}else S[$]=M}),S):Object.keys(A).reduce(function(M,$){var N=A[$];return n.call(M,$)?M[$]=E(M[$],N,C):M[$]=N,M},j)},d=function(S,A){return Object.keys(A).reduce(function(C,k){return C[k]=A[k],C},S)},h=function(E,S,A){var C=E.replace(/\+/g," ");if(A==="iso-8859-1")return C.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(C)}catch{return C}},m=1024,b=function(S,A,C,k,x){if(S.length===0)return S;var I=S;if(typeof S=="symbol"?I=Symbol.prototype.toString.call(S):typeof S!="str
27ing"&&(I=String(S)),C==="iso-8859-1")return escape(I).replace(/%u[0-9a-f]{4}/gi,function(Z){return"%26%23"+parseInt(Z.slice(2),16)+"%3B"});for(var P="",V=0;V<I.length;V+=m){for(var j=I.length>=m?I.slice(V,V+m):I,M=[],$=0;$<j.length;++$){var N=j.charCodeAt($);if(N===45||N===46||N===95||N===126||N>=48&&N<=57||N>=65&&N<=90||N>=97&&N<=122||x===e.RFC1738&&(N===40||N===41)){M[M.length]=j.charAt($);continue}if(N<128){M[M.length]=f[N];continue}if(N<2048){M[M.length]=f[192|N>>6]+f[128|N&63];continue}if(N<55296||N>=57344){M[M.length]=f[224|N>>12]+f[128|N>>6&63]+f[128|N&63];continue}$+=1,N=65536+((N&1023)<<10|j.charCodeAt($)&1023),M[M.length]=f[240|N>>18]+f[128|N>>12&63]+f[128|N>>6&63]+f[128|N&63]}P+=M.join("")}return P},w=function(S){for(var A=[{obj:{o:S},prop:"o"}],C=[],k=0;k<A.length;++k)for(var x=A[k],I=x.obj[x.prop],P=Object.keys(I),V=0;V<P.length;++V){var j=P[V],M=I[j];typeof M=="object"&&M!==null&&C.indexOf(M)===-1&&(A.push({obj:I,prop:j}),C.push(M))}return c(A),S},_=function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},y=function(S){return!S||typeof S!="object"?!1:!!(S.constructor&&S.constructor.isBuffer&&S.constructor.isBuffer(S))},g=function(S,A,C,k){if(i(S)){var x=a(S)+1;return S[x]=A,u(S,x),S}var I=[].concat(S,A);return I.length>C?o(l(I,{plainObjects:k}),I.length-1):I},v=function(S,A){if(r(S)){for(var C=[],k=0;k<S.length;k+=1)C.push(A(S[k]));return C}return A(S)};return Vl={arrayToObject:l,assign:d,combine:g,compact:w,decode:h,encode:b,isBuffer:y,isOverflow:i,isRegExp:_,maybeMap:v,merge:p},Vl}var Wl,ky;function bF(){if(ky)return Wl;ky=1;var e=_0(),t=v0(),n=hd(),r=Object.prototype.hasOwnProperty,s={brackets:function(b){return b+"[]"},comma:"comma",indices:function(b,w){return b+"["+w+"]"},repeat:function(b){return b}},o=Array.isArray,i=Array.prototype.push,a=function(m,b){i.apply(m,o(b)?b:[b])},u=Date.prototype.toISOString,f=n.default,c={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:f,formatter:n.formatters[f],indices:!1,serializeDate:function(b){return u.call(b)},skipNulls:!1,strictNullHandling:!1},l=function(b){return typeof b=="string"||typeof b=="number"||typeof b=="boolean"||typeof b=="symbol"||typeof b=="bigint"},p={},d=function m(b,w,_,y,g,v,E,S,A,C,k,x,I,P,V,j,M,$){for(var N=b,Z=$,Oe=0,Re=!1;(Z=Z.get(p))!==void 0&&!Re;){var ee=Z.get(b);if(Oe+=1,typeof ee<"u"){if(ee===Oe)throw new RangeError("Cyclic object value");Re=!0}typeof Z.get(p)>"u"&&(Oe=0)}if(typeof C=="function"?N=C(w,N):N instanceof Date?N=I(N):_==="comma"&&o(N)&&(N=t.maybeMap(N,function(D){return D instanceof Date?I(D):D})),N===null){if(v)return A&&!j?A(w,c.encoder,M,"key",P):w;N=""}if(l(N)||t.isBuffer(N)){if(A){var ie=j?w:A(w,c.encoder,M,"key",P);return[V(ie)+"="+V(A(N,c.encoder,M,"value",P))]}return[V(w)+"="+V(String(N))]}var _e=[];if(typeof N>"u")return _e;var Ce;if(_==="comma"&&o(N))j&&A&&(N=t.maybeMap(N,A)),Ce=[{value:N.length>0?N.join(",")||null:void 0}];else if(o(C))Ce=C;else{var He=Object.keys(N);Ce=k?He.sort(k):He}var U=S?String(w).replace(/\./g,"%2E"):String(w),Q=y&&o(N)&&N.length===1?U+"[]":U;if(g&&o(N)&&N.length===0)return Q+"[]";for(var K=0;K<Ce.length;++K){var z=Ce[K],te=typeof z=="object"&&z&&typeof z.value<"u"?z.value:N[z];if(!(E&&te===null)){var oe=x&&S?String(z).replace(/\./g,"%2E"):String(z),T=o(N)?typeof _=="function"?_(Q,oe):Q:Q+(x?"."+oe:"["+oe+"]");$.set(b,Oe);var R=e();R.set(p,$),a(_e,m(te,T,_,y,g,v,E,S,_==="comma"&&j&&o(N)?null:A,C,k,x,I,P,V,j,M,R))}}return _e},h=function(b){if(!b)return c;if(typeof b.allowEmptyArrays<"u"&&typeof b.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof b.encodeDotInKeys<"u"&&typeof b.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(b.encoder!==null&&typeof b.encoder<"u"&&typeof b.encoder!="function")throw new TypeError("Encoder has to be a function.");var w=b.charset||c.charset;if(typeof b.charset<"u"&&b.charset!=="utf-8"&&b.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=n.default;if(typeof b.format<"u"){if(!r.call(n.formatters,b.format))throw new TypeError("Unknown format option provided.");_=b.format}var y=n.formatters[_],g=c.filter;(typeof b.filter=="function"||o(b.filter))&&(g=b.filter);var v;if(b.arrayFormat in s?v=b.arrayFormat:"indices"in b?v=b.indices?"indices":"repeat":v=c.arrayFormat,"commaRoundTrip"in b&&typeof b.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var E=typeof b.allowDots>"u"?b.encodeDotInKeys===!0?!0:c.allowDots:!!b.allowDots;return{addQueryPrefix:typeof b.addQueryPrefix=="boolean"?b.addQueryPrefix:c.addQueryPrefix,allowDots:E,allowEmptyArrays:typeof b.allowEmptyArrays=="boolean"?!!b.allowEmptyArrays:c.allowEmptyArrays,arrayFormat:v,charset
27:w,charsetSentinel:typeof b.charsetSentinel=="boolean"?b.charsetSentinel:c.charsetSentinel,commaRoundTrip:!!b.commaRoundTrip,delimiter:typeof b.delimiter>"u"?c.delimiter:b.delimiter,encode:typeof b.encode=="boolean"?b.encode:c.encode,encodeDotInKeys:typeof b.encodeDotInKeys=="boolean"?b.encodeDotInKeys:c.encodeDotInKeys,encoder:typeof b.encoder=="function"?b.encoder:c.encoder,encodeValuesOnly:typeof b.encodeValuesOnly=="boolean"?b.encodeValuesOnly:c.encodeValuesOnly,filter:g,format:_,formatter:y,serializeDate:typeof b.serializeDate=="function"?b.serializeDate:c.serializeDate,skipNulls:typeof b.skipNulls=="boolean"?b.skipNulls:c.skipNulls,sort:typeof b.sort=="function"?b.sort:null,strictNullHandling:typeof b.strictNullHandling=="boolean"?b.strictNullHandling:c.strictNullHandling}};return Wl=function(m,b){var w=m,_=h(b),y,g;typeof _.filter=="function"?(g=_.filter,w=g("",w)):o(_.filter)&&(g=_.filter,y=g);var v=[];if(typeof w!="object"||w===null)return"";var E=s[_.arrayFormat],S=E==="comma"&&_.commaRoundTrip;y||(y=Object.keys(w)),_.sort&&y.sort(_.sort);for(var A=e(),C=0;C<y.length;++C){var k=y[C],x=w[k];_.skipNulls&&x===null||a(v,d(x,k,E,S,_.allowEmptyArrays,_.strictNullHandling,_.skipNulls,_.encodeDotInKeys,_.encode?_.encoder:null,_.filter,_.sort,_.allowDots,_.serializeDate,_.format,_.formatter,_.encodeValuesOnly,_.charset,A))}var I=v.join(_.delimiter),P=_.addQueryPrefix===!0?"?":"";return _.charsetSentinel&&(_.charset==="iso-8859-1"?P+="utf8=%26%2310003%3B&":P+="utf8=%E2%9C%93&"),I.length>0?P+I:""},Wl}var Gl,Iy;function SF(){if(Iy)return Gl;Iy=1;var e=v0(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(d){return d.replace(/&#(\d+);/g,function(h,m){return String.fromCharCode(parseInt(m,10))})},o=function(d,h,m){if(d&&typeof d=="string"&&h.comma&&d.indexOf(",")>-1)return d.split(",");if(h.throwOnLimitExceeded&&m>=h.arrayLimit)throw new RangeError("Array limit exceeded. Only "+h.arrayLimit+" element"+(h.arrayLimit===1?"":"s")+" allowed in an array.");return d},i="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",u=function(h,m){var b={__proto__:null},w=m.ignoreQueryPrefix?h.replace(/^\?/,""):h;w=w.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var _=m.parameterLimit===1/0?void 0:m.parameterLimit,y=w.split(m.delimiter,m.throwOnLimitExceeded?_+1:_);if(m.throwOnLimitExceeded&&y.length>_)throw new RangeError("Parameter limit exceeded. Only "+_+" parameter"+(_===1?"":"s")+" allowed.");var g=-1,v,E=m.charset;if(m.charsetSentinel)for(v=0;v<y.length;++v)y[v].indexOf("utf8=")===0&&(y[v]===a?E="utf-8":y[v]===i&&(E="iso-8859-1"),g=v,v=y.length);for(v=0;v<y.length;++v)if(v!==g){var S=y[v],A=S.indexOf("]="),C=A===-1?S.indexOf("="):A+1,k,x;if(C===-1?(k=m.decoder(S,r.decoder,E,"key"),x=m.strictNullHandling?null:""):(k=m.decoder(S.slice(0,C),r.decoder,E,"key"),k!==null&&(x=e.maybeMap(o(S.slice(C+1),m,n(b[k])?b[k].length:0),function(P){return m.decoder(P,r.decoder,E,"value")}))),x&&m.interpretNumericEntities&&E==="iso-8859-1"&&(x=s(String(x))),S.indexOf("[]=")>-1&&(x=n(x)?[x]:x),k!==null){var I=t.call(b,k);I&&m.duplicates==="combine"?b[k]=e.combine(b[k],x,m.arrayLimit,m.plainObjects):(!I||m.duplicates==="last")&&(b[k]=x)}}return b},f=function(d,h,m,b){var w=0;if(d.length>0&&d[d.length-1]==="[]"){var _=d.slice(0,-1).join("");w=Array.isArray(h)&&h[_]?h[_].length:0}for(var y=b?h:o(h,m,w),g=d.length-1;g>=0;--g){var v,E=d[g];if(E==="[]"&&m.parseArrays)e.isOverflow(y)?v=y:v=m.allowEmptyArrays&&(y===""||m.strictNullHandling&&y===null)?[]:e.combine([],y,m.arrayLimit,m.plainObjects);else{v=m.plainObjects?{__proto__:null}:{};var S=E.charAt(0)==="["&&E.charAt(E.length-1)==="]"?E.slice(1,-1):E,A=m.decodeDotInKeys?S.replace(/%2E/g,"."):S,C=parseInt(A,10);!m.parseArrays&&A===""?v={0:y}:!isNaN(C)&&E!==A&&String(C)===A&&C>=0&&m.parseArrays&&C<=m.arrayLimit?(v=[],v[C]=y):A!=="__proto__"&&(v[A]=y)}y=v}return y},c=function(h,m){var b=m.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h;if(m.depth<=0)return!m.plainObjects&&t.call(Object.prototype,b)&&!m.allowPrototypes?void 0:[b];var w=/(\[[^[\]]*])/,_=/(\[[^[\]]*])/g,y=w.exec(b),g=y?b.slice(0,y.index):b,v=[];if(g){if(!m.plainObjects&&t.call(Object.prototype,g)&&!m.allowPrototypes)return;v.push(g)}for(var E=0;(y=_.exec(b))!==null&&E<m.depth;){E+=1;var S=y[1].slice(1,-1);if(!m.plainObjects&&t.call(Object.prototype,S)&&!m.allowPrototypes)return;v.push(y[1])}if(y){if(m.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+m.depth+" and strictDepth is true");v.push("["+b.slice(y.index)+"]")}return v},l=function(h,m,b,w){if(h){var _=c(h,b);if(_)return f(_,m,b,w)}},p=function(h){if(!h)return r;if(typeof h.allowEmptyArrays<"u"&&typeof h.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
27if(typeof h.decodeDotInKeys<"u"&&typeof h.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(h.decoder!==null&&typeof h.decoder<"u"&&typeof h.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof h.charset<"u"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof h.throwOnLimitExceeded<"u"&&typeof h.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var m=typeof h.charset>"u"?r.charset:h.charset,b=typeof h.duplicates>"u"?r.duplicates:h.duplicates;if(b!=="combine"&&b!=="first"&&b!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var w=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:r.allowDots:!!h.allowDots;return{allowDots:w,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:r.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:r.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:r.arrayLimit,charset:m,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:r.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:r.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:r.decoder,delimiter:typeof h.delimiter=="string"||e.isRegExp(h.delimiter)?h.delimiter:r.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:r.depth,duplicates:b,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:r.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:r.plainObjects,strictDepth:typeof h.strictDepth=="boolean"?!!h.strictDepth:r.strictDepth,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:typeof h.throwOnLimitExceeded=="boolean"?h.throwOnLimitExceeded:!1}};return Gl=function(d,h){var m=p(h);if(d===""||d===null||typeof d>"u")return m.plainObjects?{__proto__:null}:{};for(var b=typeof d=="string"?u(d,m):d,w=m.plainObjects?{__proto__:null}:{},_=Object.keys(b),y=0;y<_.length;++y){var g=_[y],v=l(g,b[g],m,typeof d=="string");w=e.merge(w,v,m)}return m.allowSparse===!0?w:e.compact(w)},Gl}var Kl,Py;function wF(){if(Py)return Kl;Py=1;var e=bF(),t=SF(),n=hd();return Kl={formats:n,parse:t,stringify:e},Kl}var b0=wF();const EF=(e,t="",n=Js)=>`${n}${e}/${(s=>s.startsWith("/")?s.slice(1):s)(t)}`,TF=({$logger:e})=>{const t=ut({baseURL:Vn,timeout:$t,credentials:"include",...zt(e,"wordpress")});return{fetchMenus(){const n=EF("menus");return t(n)},subscribeToNewsletter(n){return t("/wp-json/subscriptions/v1/subscribe",{method:"post",body:b0.stringify({email:n,agree:!0}),headers:{"Content-Type":"application/x-www-form-urlencoded"}})},async fetchIsLoggedIn(){const{data:n}=await t("/wp-content/mu-plugins/lh-logged.php",{headers:{cookie:void 0}});return n}}},CF=({$logger:e})=>{const t=ut({baseURL:`${Vn}${Js}`,timeout:$t,credentials:"include",headers:{cookie:void 0},...zt(e,"preview")});return{preview(n){const r=`preview${n.postId?`/${n.postId}`:""}`,s={preview_hash:n.preview_hash};return n.preview_hash?t(`${r}/public`,{params:s}):t(r)}}},AF=({$logger:e})=>{const t=ut({baseURL:`${Vn}/wp-json/bh-missprint-alert/v1/`,timeout:$t,credentials:"include",...zt(e,"miss-print")});return{sendAlert(n){return t("send-alert",{method:"POST",body:b0.stringify(n),headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}},RF=({$logger:e})=>{const t=ut({baseURL:jL,timeout:$t,credentials:"include",...zt(e,"admin-actions")});return{refreshAppbox(n,r){return t("refresh-appbox",{method:"POST",body:{postId:n,url:r}})}}},kF=({$logger:e})=>{const t=zt(e,"quizzes"),n=ut({baseURL:UL,timeout:$t,headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"*/*"},...t,onRequest:[t.onRequest,r=>ld(r)],onRequestError:[t.onRequestError,r=>Oa(r,"quizzes")],onResponse:t.onResponse,onResponseError:[t.onResponseError,r=>Oa(r,"quizzes")]});return{getQuickPoll(r){const s=`api/quickpolls/${r}`;return n(s)},setQuickPollAnswerId(r){const s=`api/stats/answer/click/${r}`;return n(s,{method:"POST"})},getQuickPollStatistics(r){const s=`api/stats/quickpolls/full/${r}`;return n(s)}}},IF=de({status:B()}),PF=({$logger:e})=>{const t=ut({baseURL:`${Vn}/wp-json/burninghut/`,timeout:$t,credentials:"include",...zt(e,"ads-form")});return{async send(n){const{data:r}=await t("ads-form",{method:"POST",body:n});return Pt(r,IF)}}},OF=de({status:B()}),xF=({$logger:e})=>{const t=ut({baseURL:Vn,timeout:$t,headers:{"Content-Type":"multipart/form-data"},...zt(e,"ask-question")});return{async askQuestion(n,r,s){const o=new FormData;o.append("id",n),o.append("name",r),o.append("question",s);const i="/wp-admin/admin-ajax.php?action=ask-question",{data:a}=await t(i,{method:"POST",body:o});return Pt(a,OF)}}};function NF(e){try{const t=window[e],n="__storage_test__";return t.setItem(n,n),t.removeItem(n),!0}catch{return!1}}function S0(e,{type:t="localStorage",debug:n,version:r=""}={}){const s=NF(t),o=s?window[t]:{};return s||console.warn(`"${t}" doesn't work, safely fallback to object`),{has(){return o[e+r]!==void 0},set(i){return n?.(`â¶ï¸ storage:${e}`,i),o[e+r]=JSON.stringify([i]),i},get(){try{const i=JSON.parse(o[e+r]??"[]")[0];return n?.(`âï¸ storage:${e}`,i),i}catch{return console.warn(`Can't parse value from "${t}.${e}${r}"`),null}},clear(){n?.(`à storage:${e}`);const i=e+r;i in o&&(o[i]=void 0)}}}function DF(e,t){return Math.floor(Math.random()*(t-e+1))+e}function LF(){const e=S0("X-User-Id"),t=localStorage.getItem("XUserId"),n=t?+t:null,r=e.get()??n??DF(Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);return localStorage.removeItem("XUserId"),e.set(r),r}const Oy="/api/v1/posts",MF=({$logger:e})=>{const t=zt(e,"reactions"),n=ut({baseURL:HL,timeout:$t,...t,parseResponse:vr,onRequest:[t.onRequest,ld,({options:r})=>{const s=LF();r.headers.set("X-User-Id",String(s))}]});return{fetchReactions(r){return n(`${Oy}/by-post-slug/${r}`)},updateReaction(r,s){return n(Oy,{method:"POST",body:{post_type:"post",post_slug:r,user_state:s}})}}},FF=({$logger:e})=>{const t=ut({baseURL:`${Vn}${Js}`,timeout:$t,credentials:"include",headers:{"Content-Type":"application/json"},...zt(e,"search")});return{search(n){return t("/aggregate-search",{method:"POST",body:{"slug-list":n}})}}},$F=Je(e=>{const{$logger:t}=e,n={archives:$M({$logger:t}),singlePost:WM({$logger:t}),widgets:GM({$logger:t}),talker:KM({$logger:t}),wordPress:TF({$logger:t}),preview:CF({$logger:t}),missPrint:AF({$logger:t}),adminActions:RF({$logger:t}),quiz:kF({$logger:t}),adsForm:PF({$logger:t}),askQuestion:xF({$logger:t}),reactions:MF({$logger:t}),search:FF({$logger:t})};t("ð¤ð» api-plugin",n),e.provide("api",n)});var zl,xy;function BF(){return xy||(xy=1,zl=function(t,n){if(n=n.split(":")[0],t=+t,!t)return!1;switch(n){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return!1}return t!==0}),zl}var Ui={},Ny;function UF(){if(Ny)return Ui;Ny=1;var e=Object.prototype.hasOwnProperty,t;function n(i){try{return decodeURIComponent(i.replace(/\+/g," "))}catch{return null}}function r(i){try{return encodeURIComponent(i)}catch{return null}}function s(i){for(var a=/([^=?#&]+)=?([^&]*)/g,u={},f;f=a.exec(i);){var c=n(f[1]),l=n(f[2]);c===null||l===null||c in u||(u[c]=l)}return u}function o(i,a){a=a||"";var u=[],f,c;typeof a!="string"&&(a="?");for(c in i)if(e.call(i,c)){if(f=i[c],!f&&(f===null||f===t||isNaN(f))&&(f=""),c=r(c),f=r(f),c===null||f===null)continue;u.push(c+"="+f)}return u.length?a+u.join("&"):""}return Ui.stringify=o,Ui.parse=s,Ui}var Yl,Dy;
27function HF(){if(Dy)return Yl;Dy=1;var e=BF(),t=UF(),n=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,r=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,o=/:\d+$/,i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,a=/^[a-zA-Z]:/;function u(_){return(_||"").toString().replace(n,"")}var f=[["#","hash"],["?","query"],function(y,g){return p(g.protocol)?y.replace(/\\/g,"/"):y},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],c={hash:1,query:1};function l(_){var y;typeof window<"u"?y=window:typeof Pa<"u"?y=Pa:typeof self<"u"?y=self:y={};var g=y.location||{};_=_||g;var v={},E=typeof _,S;if(_.protocol==="blob:")v=new m(unescape(_.pathname),{});else if(E==="string"){v=new m(_,{});for(S in c)delete v[S]}else if(E==="object"){for(S in _)S in c||(v[S]=_[S]);v.slashes===void 0&&(v.slashes=s.test(_.href))}return v}function p(_){return _==="file:"||_==="ftp:"||_==="http:"||_==="https:"||_==="ws:"||_==="wss:"}function d(_,y){_=u(_),_=_.replace(r,""),y=y||{};var g=i.exec(_),v=g[1]?g[1].toLowerCase():"",E=!!g[2],S=!!g[3],A=0,C;return E?S?(C=g[2]+g[3]+g[4],A=g[2].length+g[3].length):(C=g[2]+g[4],A=g[2].length):S?(C=g[3]+g[4],A=g[3].length):C=g[4],v==="file:"?A>=2&&(C=C.slice(2)):p(v)?C=g[4]:v?E&&(C=C.slice(2)):A>=2&&p(y.protocol)&&(C=g[4]),{protocol:v,slashes:E||p(v),slashesCount:A,rest:C}}function h(_,y){if(_==="")return y;for(var g=(y||"/").split("/").slice(0,-1).concat(_.split("/")),v=g.length,E=g[v-1],S=!1,A=0;v--;)g[v]==="."?g.splice(v,1):g[v]===".."?(g.splice(v,1),A++):A&&(v===0&&(S=!0),g.splice(v,1),A--);return S&&g.unshift(""),(E==="."||E==="..")&&g.push(""),g.join("/")}function m(_,y,g){if(_=u(_),_=_.replace(r,""),!(this instanceof m))return new m(_,y,g);var v,E,S,A,C,k,x=f.slice(),I=typeof y,P=this,V=0;for(I!=="object"&&I!=="string"&&(g=y,y=null),g&&typeof g!="function"&&(g=t.parse),y=l(y),E=d(_||"",y),v=!E.protocol&&!E.slashes,P.slashes=E.slashes||v&&y.slashes,P.protocol=E.protocol||y.protocol||"",_=E.rest,(E.protocol==="file:"&&(E.slashesCount!==2||a.test(_))||!E.slashes&&(E.protocol||E.slashesCount<2||!p(P.protocol)))&&(x[3]=[/(.*)/,"pathname"]);V<x.length;V++){if(A=x[V],typeof A=="function"){_=A(_,P);continue}S=A[0],k=A[1],S!==S?P[k]=_:typeof S=="string"?(C=S==="@"?_.lastIndexOf(S):_.indexOf(S),~C&&(typeof A[2]=="number"?(P[k]=_.slice(0,C),_=_.slice(C+A[2])):(P[k]=_.slice(C),_=_.slice(0,C)))):(C=S.exec(_))&&(P[k]=C[1],_=_.slice(0,C.index)),P[k]=P[k]||v&&A[3]&&y[k]||"",A[4]&&(P[k]=P[k].toLowerCase())}g&&(P.query=g(P.query)),v&&y.slashes&&P.pathname.charAt(0)!=="/"&&(P.pathname!==""||y.pathname!=="")&&(P.pathname=h(P.pathname,y.pathname)),P.pathname.charAt(0)!=="/"&&p(P.protocol)&&(P.pathname="/"+P.pathname),e(P.port,P.protocol)||(P.host=P.hostname,P.port=""),P.username=P.password="",P.auth&&(C=P.auth.indexOf(":"),~C?(P.username=P.auth.slice(0,C),P.username=encodeURIComponent(decodeURIComponent(P.username)),P.password=P.auth.slice(C+1),P.password=encodeURIComponent(decodeURIComponent(P.password))):P.username=encodeURIComponent(decodeURIComponent(P.auth)),P.auth=P.password?P.username+":"+P.password:P.username),P.origin=P.protocol!=="file:"&&p(P.protocol)&&P.host?P.protocol+"//"+P.host:"null",P.href=P.toString()}function b(_,y,g){var v=this;switch(_){case"query":typeof y=="string"&&y.length&&(y=(g||t.parse)(y)),v[_]=y;break;case"port":v[_]=y,e(y,v.protocol)?y&&(v.host=v.hostname+":"+y):(v.host=v.hostname,v[_]="");break;case"hostname":v[_]=y,v.port&&(y+=":"+v.port),v.host=y;break;case"host":v[_]=y,o.test(y)?(y=y.split(":"),v.port=y.pop(),v.hostname=y.join(":")):(v.hostname=y,v.port="");break;case"protocol":v.protocol=y.toLowerCase(),v.slashes=!g;break;case"pathname":case"hash":if(y){var E=_==="pathname"?"/":"#";v[_]=y.charAt(0)!==E?E+y:y}else v[_]=y;break;case"username":case"password":v[_]=encodeURIComponent(y);break;case"auth":var S=y.indexOf(":");~S?(v.username=y.slice(0,S),v.username=encodeURIComponent(decodeURIComponent(v.username)),v.password=y.slice(S+1),v.password=encodeURIComponent(decodeURIComponent(v.password))):v.username=encodeURIComponent(decodeURIComponent(y))}for(var A=0;A<f.length;A++){var C=f[A];C[4]&&(v[C[1]]=v[C[1]].toLowerCase())}return v.auth=v.password?v.username+":"+v.password:v.username,v.origin=v.protocol!=="file:"&&p(v.protocol)&&v.host?v.protocol+"//"+v.host:"null",v.href=v.toString(),v}function w(_){(!_||typeof _!="function")&&(_=t.stringify);var y,g=this,v=g.host,E=g.protocol;E&&E.charAt(E.length-1)!==":"&&(E+=":");var S=E+(g.protocol&&g.slashes||p(g.protocol)?"//":"");return g.username?(S+=g.username,g.password&&(S+=":"+g.password),S+="@"):g.password?(S+=":"+g.password,S+="@"):g.protocol!=="file:"&&p(g.protocol)&&!v&&g.pathname!=="/"&&(S+="@"),(v[v.length-1]===":"||o.test(g.hostname)&&!g.port)&&(v+=":"),S+=v+g.pathname,y=typeof g.query=="object"?_(g.query):g.query,y&&(S+=y.charAt(0)!=="?"?"?"+y:y),g.hash&&(S+=g.hash),S}return m.prototype={set:b,toString:w},m.extractProtocol=d,m.location=l,m.trimLeft=u,m.qs=t,Yl=m,Yl}var qF=HF();const jF=YS(qF);function w0(e){const{pathname:t}=new jF(e),n=/[^/]$/g;return t.match(n)?t+"/":t}const VF=function(e){const{$logger:t}=fe(),n=gr();if(typeof window>"u")return;const r=t.withScope("ð© yandex-metrika"),{level1:s,level2:o,level3:i,level4:a="",level5:u="",level6:f="",level7:c="",level8:l=""}=e,p=w=>w==="article-amp",d=String(i??n?.userData?.integer_id??"guest"),h=o??w0(Vr().fullPath)??"",m=c??p(Vr()?.name??"")?"AMP":"Regular",b={[s]:{[h]:{[d]:{[a]:{[u]:{[f]:{[m]:[l]}}}}}}};if(r(b),!window.ym){console.error("window.ym is not defined");return}window.ym(Sc,"params",b)},WF=Je({name:"data-layer",async setup(e){const t=gr(),n=e.$logger.withScope("ð° data-layer-plugin");nn(()=>t.userData?.integer_id,r=>{r&&(n("add userId",r),window?.ym(Sc,"params",{user_id:String(r)}))}),e.provide("sendYandexMetrika",r=>{Vr().name!=="preview"&&(n("send yandex metrika",r),VF(r))})}}),GF=Qr(zr("device",{state:()=>({device:{isMobile:!1,isTablet:!1,isDesktop:!1}}),getters:{isMobile:e=>e.device.isMobile,isTablet:e=>e.device.isTablet,isDesktop:e=>e.device.isDesktop,deviceType:e=>e.device.isMobile?"mobile":e.device.isTablet?"tablet":e.device.isDesktop?"desktop":"unknown"},actions:{setDevice(e){this.device=e}}})),KF=Je(()=>{const e=GF();function t(){const n=window.matchMedia(`(max-width: ${Gf-1}px)`),r=window.matchMedia(`(min-width: ${Gf}px) and (max-width: ${Kf-1}px)`),s=window.matchMedia(`(min-width: ${Kf}px)`),o={isMobile:n.matches,isTablet:r.matches,isDesktop:s.matches};e.setDevice(o)}Qa(async()=>{t(),window.addEventListener("resize",t,{passive:!0})})}),zF=Je(e=>{const{$logger:t}=e,n=Vr().name,r=n==="article-amp";t("âï¸ is-amp-plugin",{isAmp:r,routeName:n}),e.provide("isAMP",r),e.vueApp.provide("isAMP",r)});function E0(e,t,n){var r=n||{},s=r.noTrailing,o=s===void 0?!1:s,i=r.noLeading,a=i===void 0?!1:i,u=r.debounceMode,f=u===void 0?void 0:u,c,l=!1,p=0;function d(){c&&clearTimeout(c)}function h(b){var w=b||{},_=w.upcomingOnly,y=_===void 0?!1:_;d(),l=!y}function m(){for(var b=arguments.length,w=new Array(b),_=0;_<b;_++)w[_]=arguments[_];var y=this,g=Date.now()-p;if(l)return;function v(){p=Date.now(),t.apply(y,w)}function E(){c=void 0}!a&&f&&!c&&v(),d(),f===void 0&&g>e?a?(p=Date.now(),o||(c=setTimeout(f?E:v,e))):v():o!==!0&&(c=setTimeout(f?E:v,f===void 0?e-g:e))}return m.cancel=h,m}function E2(e,t,n){var r=n||{},s=r.atBegin,o=s===void 0?!1:s;return E0(e,t,{debounceMode:o!==!1})}class Ly{element;percentage=0;ro=null;calcBind=this.calc.bind(this);constructor(t=document.body){this.element=t,this.init()}init(){window.addEventListener("resize",this.calcBind),window.addEventListener("scroll",this.calcBind),this.ro=new ResizeObserver(()=>this.calc()),this.ro.observe(this.element)}destroy(){window.removeEventListener("resize",this.calcBind),window.removeEventListener("scroll",this.calcBind),this.ro?.unobserve(this.element),this.percentage=0,this.ro=null}calc(){if(document.body===this.element){this.percentage=Math.round(this.calcWindowScroll()/this.calcDocumentBodyHeight()*100);return}const t=this.element.getBoundingClientRect(),n=this.element.offsetHeight,r=t.top+pageYOffset,s=r+n;this.calcWindowScroll()<r?this.percentage=0:this.calcWindowScroll()>s?this.percentage=100:this.percentage=Math.round((this.calcWindowScroll()-r)/n*100)}calcDocumentBodyHeight(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)}calcWindowScroll(){return scrollY+document.documentElement.clientHeight}get viewed(){return this.percentage}set viewed(t){this.percentage=t}}const xa={instance:null,thresholds:{25:!1,50:!1,75:!1,100:!1}},md={};function YF(){return xa.instance?xa.instance.viewed:0}function T2(e){return md[e]?.instance?.viewed??0}function JF(){return xa}function C2(e){return md[e]}function XF(e){if(!e)xa.instance=new Ly(document.body);else{const t=document.querySelector(e);t&&(md[e]={instance:new Ly(t),thresholds:{25:!1,50:!1,75:!1,100:!1}})}}const QF=Je({dependsOn:["data-layer"],async setup(){const{$sendYandexMetrika:e,$logger:t}
27=fe(),n=t.withScope("ð¡ scroll-page-plugin"),r=E0(100,s);XF(),n("add listener"),window.addEventListener("scroll",r);function s(){const i=YF();n("onScroll",i),i&&o(JF(),i)}function o(i,a){const{thresholds:u}=i;Object.keys(u).filter(c=>c<=a&&!u[c]).forEach(c=>{u[c]=!0;const l={page:{event:"ÑкÑолл ÑÑÑаниÑÑ %",value:c.toString()}};n("sendAnalytics",l),window.ym(Sc,"params",l),e({level1:"СкÑолл СÑÑаниÑÑ",level4:c.toString()})})}}});function ZF(e){return`${pc}/login?redirect_url=${encodeURIComponent(e)}&client_id=${dc}`}function A2(){function e(t){window.location.href=ZF(t??window.location.href)}return{login:e}}function e$(){const e=window.location.hash;if(!e)return!1;const n=new URLSearchParams(e.substring(1)).get("access_token");return n?(oi(n),history.replaceState(null,"",window.location.pathname+window.location.search),!0):!1}const t$=e=>!e.display_name||!e.email,T0="cookies-accepted",C0="auth-push-closed-at",A0="profile-push-closed-at",n$=cn({__name:"BaseButton",props:{size:{type:String,default:"regular"},href:{type:String,default:null}},setup(e){const t=e,n=je(()=>t.href?"a":"button");return(r,s)=>(we(),ht(Ga(n.value),{class:Gr([r.$style.baseButton,r.$style[t.size]]),href:t.href},{default:vt(()=>[Nn(r.$slots,"default")]),_:3},8,["class","href"]))}}),r$="_baseButton_15j2q_1",s$="_small_15j2q_19",o$="_regular_15j2q_23",i$="_big_15j2q_27",a$={baseButton:r$,small:s$,regular:o$,big:i$},c$={$style:a$},u$=Yt(n$,[["__cssModules",c$]]),l$=cn({__name:"BaseInput",props:{tag:{type:String,default:"label"}},setup(e){const t=e;return(n,r)=>(we(),ht(Ga(t.tag),{class:"base-input"},{default:vt(()=>[Nn(n.$slots,"before",{},void 0,!0),Nn(n.$slots,"default",{},()=>[r[0]||(r[0]=Ge("input",null,null,-1))],!0),Nn(n.$slots,"after",{},void 0,!0)]),_:3}))}}),Jl=Yt(l$,[["__scopeId","data-v-7da7bb82"]]),f$=_r({name:"SvgAsset",props:{content:{type:String,default:null},path:{type:String,default:null},width:{type:String,default:null},height:{type:String,default:null},alt:{type:String,default:""}},mounted(){!this.path&&this.content}}),p$=["src","width","height","alt"],d$=["aria-label","innerHTML"],h$={key:2};function m$(e,t,n,r,s,o){return e.path?(we(),St("img",{key:0,class:"svg-asset",src:e.path,width:e.width,height:e.height,alt:e.alt},null,8,p$)):e.content?(we(),St("span",{key:1,class:"svg-asset","aria-label":e.alt,innerHTML:e.content},null,8,d$)):(we(),St("span",h$))}const gd=Yt(f$,[["render",m$],["__scopeId","data-v-c9ad854d"]]);function g$(e){if(!e.trim())return!1;const t=e.split("@");if(t.length!==2)return!1;const[n,r]=t;if(n.length<1||!r.includes("."))return!1;const s=r.split(".");return!(s.length<2||s.some(o=>o.length<1)||n.includes(" ")||r.includes(" "))}const y$=`<svg 28 xmlns="http://www.w3.org/2000/svg" 29 width="24" 30 height="24" 31 fill="none" 32 viewBox="0 0 24 24" 33> 34 <path 35 fill="currentColor" 36 d="m4 15.6652v3.3328h3.33287l9.82973-9.8297-3.3329-3.33287zm15.74-9.07432c.3467-.34662.3467-.90654 0-1.25316l-2.0797-2.07971c-.3466-.34662-.9065-.34662-1.2531 0l-1.6265 1.62644 3.3329 3.33287z" 37 /> 38</svg> 39`,Wt={ACCOUNT_EXISTS:"ÐккаÑÐ½Ñ Ñже ÑÑÑеÑÑвÑеÑ",DOMAIN_REJECTED:"ÐедопÑÑÑимÑй домен поÑÑÑ",INVALID_EMAIL:"ÐекоÑÑекÑнÑй email",INVALID_NICK:"ÐекоÑÑекÑнÑй ник",LIMIT:"ÐÐ¸Ð¼Ð¸Ñ Ð¿Ð¾Ð¿ÑÑок",NETWORK:"ÐÑибка ÑеÑи",SERVER:"ÐÑибка ÑеÑвеÑа"},My={email_taken:Wt.ACCOUNT_EXISTS,email_domain:Wt.DOMAIN_REJECTED,email_invalid:Wt.INVALID_EMAIL};function yd(e){const{status:t,statusCode:n}=e??{};return t??n}function R0(e){return yd(e)===void 0}function Fy(e){if(R0(e))return Wt.NETWORK;const t=yd(e);if(t===429)return Wt.LIMIT;if(t===422){const{reason:n,errors:r}=e.data??{};if(typeof n=="string"&&My[n])return My[n];if(r?.email)return Wt.INVALID_EMAIL}return Wt.SERVER}function _$(e){if(R0(e))return Wt.NETWORK;const t=yd(e);return t===429?Wt.LIMIT:t===422?Wt.INVALID_NICK:Wt.SERVER}function v$(e,t){if(!t.email)return"nick";if(!t.display_name)return"email";const{errors:n}=e?.data??{};return n?.display_name?"nick":"email"}const b$=`<svg fill="none" height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m7.99963 8.00037c-.63118.63118-.63119
391.65453 0 2.28573l5.71467 5.7146-5.71393 5.714c-.63118.6311-.63118 1.6545 0 2.2857s1.65453.6312 2.28573 0l5.7139-5.7139 5.7139 5.7139c.6312.6312 1.6545.6312 2.2857 0s.6312-1.6546 0-2.2857l-5.7139-5.714 5.7147-5.7146c.6312-.6312.6312-1.65455 0-2.28573s-1.6546-.63118-2.2857 0l-5.7147 5.71463-5.7147-5.71463c-.63114-.63118-1.65449-.63118-2.28567 0z" fill="currentColor" fill-rule="evenodd"/></svg> 40`,S$={class:"auth-modal-container"},w$={class:"auth-modal"},E$={class:"title"},T$=cn({__name:"ModalContainer",props:{title:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=t,r=()=>{zs().close(),n("close")};return(s,o)=>(we(),St("div",S$,[Ge("div",w$,[Ge("button",{class:"close-button","aria-label":"ÐакÑÑÑÑ",onClick:_v(r,["stop"])},[Se(gd,{class:"close-icon",content:De(b$)},null,8,["content"])]),Ge("div",E$,as(e.title),1),Nn(s.$slots,"default",{},void 0,!0)])]))}}),C$=Yt(T$,[["__scopeId","data-v-9b83799e"]]),A$=`<svg fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M14.5176 3C15.0857 3.0001 15.6314 3.22617 16.0332 3.62793L20.3721 7.9668C20.7737 8.36849 20.9999 8.91418 21 9.48242V14.5176C20.9999 15.0858 20.7737 15.6315 20.3721 16.0332L16.0332 20.3721C15.6315 20.7737 15.0858 20.9999 14.5176 21H9.48242C8.91418 20.9999 8.36849 20.7737 7.9668 20.3721L3.62793 16.0332C3.22617 15.6314 3.0001 15.0857 3 14.5176V9.48242C3.0001 8.91425 3.22617 8.36856 3.62793 7.9668L7.9668 3.62793C8.36856 3.22617 8.91425 3.0001 9.48242 3H14.5176ZM9.48242 4.54297C9.32344 4.54307 9.17004 4.60633 9.05762 4.71875L4.71875 9.05762C4.60633 9.17004 4.54307 9.32344 4.54297 9.48242V14.5176C4.54307 14.6766 4.60633 14.83 4.71875 14.9424L9.05762 19.2812L9.14941 19.3564C9.24718 19.4216 9.3633 19.457 9.48242 19.457H14.5176C14.6765 19.4569 14.8299 19.3937 14.9424 19.2812L19.2812 14.9424L19.3564 14.8506C19.4216 14.7528 19.457 14.6367 19.457 14.5176V9.48242C19.457 9.3633 19.4216 9.24718 19.3564 9.14941L19.2812 9.05762L14.9424 4.71875C14.83 4.60633 14.6766 4.54307 14.5176 4.54297H9.48242ZM12 14.6572C12.6151 14.6575 13.1141 15.1564 13.1143 15.7715C13.1141 16.3866 12.6151 16.8855 12 16.8857C11.3849 16.8856 10.886 16.3866 10.8857 15.7715C10.8859 15.1563 11.3849 14.6574 12 14.6572ZM12 7.11426C12.426 7.11426 12.7715 7.45969 12.7715 7.88574V12.3428C12.7713 12.7687 12.426 13.1143 12 13.1143C11.574 13.1143 11.2287 12.7687 11.2285 12.3428V7.88574C11.2285 7.45969 11.574 7.11426 12 7.11426Z" fill="currentColor"/></svg> 41`,R$=`<svg fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m12 3.1875c-4.8645 0-8.8125 3.948-8.8125 8.8125s3.948 8.8125 8.8125 8.8125 8.8125-3.948 8.8125-8.8125-3.948-8.8125-8.8125-8.8125zm0 1.85526c3.8401 0 6.9572 3.11712 6.9572 6.95724 0 3.8401-3.1171 6.9572-6.9572 6.9572-3.84012 0-6.95724-3.1171-6.95724-6.9572 0-3.84012 3.11712-6.95724 6.95724-6.95724zm-1 2.9539c0-.28986.0895-.52843.2685-.71572.179-.1873.4229-.28094.7315-.28094.3045 0 .5473.09364.7284.28094.1811.18729.2716.42586.2716.71572 0 .29431-.0916.53511-.2747.7224-.1831.1873-.4249.28094-.7253.28094s-.5422-.09364-.7253-.28094c-.1831-.18729-.2747-.42809-.2747-.7224zm0 9.00334v-7h2v7z" fill="currentColor" fill-rule="evenodd"/></svg> 42`,k$={class:"content"},I$=cn({__name:"Warning",props:{variant:{type:String,default:"info"}},setup(e){return(t,n)=>(we(),St("div",{class:Gr(["auth-warning",`auth-warning--${e.variant}`])},[Se(gd,{content:e.variant==="error"?De(A$):De(R$),class:"icon"},null,8,["content"]),Ge("div",k$,[Nn(t.$slots,"default",{},void 0,!0)])],2))}}),$y=Yt(I$,[["__scopeId","data-v-cf24d2f3"]]),P$={key:0},O$={key:1,class:"profile-setup__form-input-wrapper"},x$={key:0,class:"profile-setup__supporting-text"},N$={key:3,class:"profile-setup__form-input-wrapper"},D$=["value"],L$=["disabled"],M$=cn({__name:"ProfileSetup",props:{id:{type:String,required:!0},name:{type:String,default:""},email:{type:String,default:""},emailTemp:{type:String,default:""},emailPolicy:{type:Object,default:()=>({domains:[],message:"",support_email:""})},onSubmit:{type:Function,required:!0},onResendEmail:{type:Function,default:void 0}},emits:["close"],setup(e,{emit:t}){const n=e,r=je(()=>n.emailPolicy.support_email?`ÐÑли Ñ Ð²Ð°Ñ Ð²Ð¾Ð·Ð½Ð¸ÐºÐ»Ð¸ вопÑоÑÑ, Ñо напиÑиÑе нам на поÑÑÑ ${n.emailPolicy.support_email}`:""),s=be(null),o=be(null),i=je(()=>s.value||o.value?"ÐобавÑÑе Ñвои даннÑе":"ÐаполниÑе пÑоÑилÑ"),a=be(!1),u=be(!1),f=be(!1),c=t,{$logger:l,$sendYandexMetrika:p,$registry:d}=fe(),h=l.withScope("ð profile-setup-modal");Ko(()=>{h("opened"),C.value&&p({level1:"Ðоказ_добавление_ник"}
42),k.value&&p({level1:"Ðоказ_добавление_поÑÑа"})});const m=be(!1),b=be(!1);function w(){m.value||(m.value=!0,p({level1:"Ðвод_ник_добавление"}))}function _(){o.value=null,!b.value&&(b.value=!0,p({level1:"Ðвод_поÑÑа_добавление"}))}function y(ee){p({level1:"ÐÑибка_поÑÑа_добавление",level2:ee})}function g(ee){p({level1:"ÐÑибка_ник_добавление",level2:ee})}const v=be(n.name),E=be(""),S=be(!1),A=be(null),C=je(()=>!n.name),k=je(()=>!n.email),x=je(()=>!n.email&&(!n.emailTemp||S.value)),I=je(()=>!n.email&&!!n.emailTemp&&!S.value),P=je(()=>{const ee=C.value?v.value.trim()!=="":!0,ie=x.value?E.value.trim()!=="":!0;return ee&&ie});function V(ee){if(!g$(ee))return o.value="ÐекоÑÑекÑнÑй email. ÐÑовеÑÑÑе и попÑобÑйÑе Ñнова.",y(Wt.INVALID_EMAIL),!1;const{domains:ie,message:_e}=n.emailPolicy,Ce=ee.slice(ee.lastIndexOf("@")+1).toLowerCase();return _e&&ie.length>0&&!ie.includes(Ce)?(s.value=_e,y(Wt.DOMAIN_REJECTED),!1):!0}async function j(){if(s.value=null,o.value=null,!P.value)return;const ee={},ie=v.value.trim();C.value&&ie&&(ee.display_name=ie);const _e=E.value?.trim();if(x.value&&_e){if(!V(_e))return;ee.email=_e}h("submit",ee),ee.display_name&&p({level1:"Ðлик_далее_ник_добавление"}),ee.email&&p({level1:"Ðлик_далее_email_добавление"});try{a.value=!0,await n.onSubmit(ee),ee.display_name&&d.user.patchUser({display_name:ee.display_name}),Re()}catch(Ce){console.error("failed to save",Ce),s.value=$(Ce,ee),v$(Ce,ee)==="nick"?g(_$(Ce)):y(Fy(Ce))}a.value=!1}async function M(){if(n.onResendEmail){s.value=null;try{u.value=!0,await n.onResendEmail(),f.value=!0}catch(ee){console.error("failed to resend confirmation",ee),s.value=Z(ee),y(Fy(ee))}u.value=!1}}function $(ee,ie){if(!ie.email)return"Ðе ÑдалоÑÑ ÑоÑ
ÑаниÑÑ Ð½Ð¸Ðº. ÐопÑобÑйÑе Ñнова ÑÑÑÑ Ð¿Ð¾Ð·Ð¶Ðµ.";const _e=ee?.data?.errors?.email;if(Array.isArray(_e)&&typeof _e[0]=="string"&&_e[0])return _e[0];const Ce=ee?.data?.message;return typeof Ce=="string"&&Ce?Ce:"Ðе ÑдалоÑÑ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ Ð¿Ð¾ÑÑÑ. ÐопÑобÑйÑе Ñнова ÑÑÑÑ Ð¿Ð¾Ð·Ð¶Ðµ."}async function N(){S.value=!0,E.value=n.emailTemp,s.value=null,o.value=null,f.value=!1,h("edit-email"),await Ds(),A.value?.focus()}function Z(ee){const ie=ee?.data?.message;return typeof ie=="string"&&ie?ie:"Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ ÑÑÑлкÑ, попÑобÑйÑе позже."}function Oe(){C.value&&p({level1:"ÐакÑÑÑÑ_ник_добавление"}),k.value&&p({level1:"ÐакÑÑÑÑ_поÑÑа_добавление"}),Re()}function Re(){c("close")}return(ee,ie)=>(we(),ht(C$,{class:"profile-setup",title:i.value,onClose:Oe},{default:vt(()=>[Ge("form",{class:"profile-setup__form",novalidate:"",onSubmit:_v(j,["prevent"])},[s.value?(we(),ht($y,{key:0,variant:"error",class:"profile-setup__badge"},{default:vt(()=>[Ge("div",null,as(s.value),1),r.value?(we(),St("div",P$,as(r.value),1)):to("",!0)]),_:1})):to("",!0),C.value?(we(),St("label",O$,[ie[2]||(ie[2]=Or(" Ðик* ",-1)),Se(Jl,{tag:"span"},{default:vt(()=>[xd(Ge("input",{id:"nameInput","onUpdate:modelValue":ie[0]||(ie[0]=_e=>v.value=_e),maxlength:"40",placeholder:"ÐведиÑе Ð¸Ð¼Ñ Ð¸Ð»Ð¸ ник",type:"text",onInput:w},null,544),[[dh,v.value]])]),_:1})])):to("",!0),x.value?(we(),St("label",{key:2,class:Gr(["profile-setup__form-input-wrapper",{"profile-setup__form-input-wrapper--invalid":!!o.value}])},[ie[3]||(ie[3]=Or(" Email* ",-1)),Se(Jl,{tag:"span"},{default:vt(()=>[xd(Ge("input",{id:"emailInput",ref_key:"emailInput",ref:A,"onUpdate:modelValue":ie[1]||(ie[1]=_e=>E.value=_e),placeholder:"ÐведиÑе поÑÑÑ",type:"email",onInput:_},null,544),[[dh,E.value]])]),_:1}),o.value?(we(),St("span",x$,as(o.value),1)):to("",!0)],2)):I.value?(we(),St("div",N$,[ie[5]||(ie[5]=Or(" Email* ",-1)),Se(Jl,{tag:"span"},{after:vt(()=>[Ge("button",{"aria-label":"ÐзмениÑÑ email",class:"profile-setup__edit-email",type:"button",onClick:N},[Se(gd,{content:De(y$)},null,8,["content"])])]),default:vt(()=>[Ge("input",{id:"emailPendingInput",value:e.emailTemp,readonly:"",type:"email"},null,8,D$)]),_:1}),Se($y,null,{default:vt(()=>[...ie[4]||(ie[4]=[Or(" ÐÑÑалоÑÑ Ð¿Ð¾Ð´ÑвеÑдиÑÑ Ð°Ð´ÑеÑ: Ð¼Ñ Ð¾ÑпÑавили ÑÑÑÐ»ÐºÑ Ð½Ð° ваÑÑ Ð¿Ð¾ÑÑÑ. ",-1)])]),_:1}),Ge("button",{class:"profile-setup__resend",disabled:u.value||f.value,type:"button",onClick:M},as(f.value?"СÑÑлка оÑпÑавлена":"ÐÑпÑавиÑÑ ÑÑÑÐ»ÐºÑ ÐµÑÑ Ñаз"),9,L$)])):to("",!0),Se(u$,{disabled:!P.value||a.value,class:"profile-setup__submit"},{default:vt(()=>[...ie[6]||(ie[6]=[Or(" ÐÑодолжиÑÑ ",-1)])]),_:1},8,["disabled"])],32)]),_:1},8,["title"]))}}),F$=Yt(M$,[["__scopeId","data-v-9213b0eb"]]),$$=1440*60*1e3,B$=720*60*1e3;function By(e,t,n=Date.now()){return typeof e!="number"||!Number.isFinite(e)||e>n?!0:n-e>=t}const U$=2e3,yn=be(null),k0=be(0),_d=be(!1),Na=be(null);let zf=!1,vd=!1,I0=!1,ys=null,Xl=null;const _s=e=>S0(e);function H$(){return!vd&&!_s(T0).get()?"cookie-banner":!_d.value&&!Mt()&&By(_s(C0).get(),$$)?"auth-
42push":Na.value&&By(_s(A0).get(),B$)?"profile-setup":null}function P0(){ys!==null&&(clearTimeout(ys),ys=null)}function O0(){P0(),ys=setTimeout(()=>{ys=null,Ac()},U$)}function Da(e){yn.value===e&&(yn.value=null,O0())}function q$(){const e=Na.value;e&&(Na.value=null,zf=!1,zs().open(F$,{...e,onSubmit:async t=>{await e.onSubmit(t),zf=!0}}))}function Ac(){if(!I0||yn.value||ys!==null||zs().isOpen.value)return;const e=H$();e&&(yn.value=e,e==="profile-setup"&&q$())}function j$(){Xl||typeof window>"u"||(Xl=Ba(!0),Xl.run(()=>{nn(zs().isOpen,e=>{e||(yn.value==="profile-setup"?(zf||_s(A0).set(Date.now()),Da("profile-setup")):yn.value||O0())}),nn(_d,e=>{e&&Da("auth-push")})}))}function V$(){I0=!0,Ac()}function W$(e){_d.value=e}function G$(){_s(T0).set(!0),vd=!0,Da("cookie-banner")}function K$(){_s(C0).set(Date.now()),Da("auth-push")}function z$(){zs().isOpen.value||(P0(),yn.value==="cookie-banner"&&(vd=!0),yn.value==="auth-push"&&(k0.value+=1),yn.value="auth-push")}function Y$(e){Na.value=e,Ac()}function J$(){return j$(),{current:Pn(yn),authPushKey:Pn(k0),start:V$,show:Ac,setLoggedIn:W$,acceptCookies:G$,closeAuthPush:K$,requestAuthPush:z$,requestProfileSetup:Y$}}function X$(e){return e.matched.some(t=>t.meta.requiresAuth)}const R2=Array.isArray,k2=e=>e!==null&&typeof e=="object",I2=e=>typeof e=="string",P2=()=>typeof window<"u"&&"ontouchstart"in window,O2=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),x2=()=>typeof window<"u"?window.devicePixelRatio>=2:!1,Q$=Je({dependsOn:["pinia"],async setup(){function e(){X$(Vr())&&(location.href="/")}async function t(){try{return await $fetch("/bff/allowed-email-domains",{signal:AbortSignal.timeout(3e3)})}catch(o){return console.error("failed to fetch allowed email domains",o),{domains:[],message:"",support_email:""}}}async function n(){const o=gr().userData;if(!o||!t$(o))return;const i=o.integer_id,a=await t();J$().requestProfileSetup({id:i,name:o.display_name||"",email:o.email||"",emailTemp:o.email_temp||"",emailPolicy:a,onResendEmail:()=>iN(i,{redirect_url:location.href}),onSubmit:async u=>{if(u.email&&await oN(i,{email:u.email,redirect_url:location.href}),u.display_name)try{await fN(i,{display_name:u.display_name})}catch(f){throw u.email&&console.error("profile patch failed after email change was accepted",f),f}Ps().patchUser({...u.display_name?{display_name:u.display_name}:{},...u.email?{email_temp:u.email}:{}})}})}async function r(){await c0().login(),await n()}async function s(){e$();const o=Mt(),i=o?ur(o):null;if(!o||!i){e();return}if(Gp(o)){await r();return}try{const a=await u0();if(!a.access_token){Kp(),Ps().clearUser(),e();return}oi(a.access_token),await r()}catch{e()}}Qa(()=>{s().catch(o=>console.error("user-plugin init",o))})}}),Z$=Je(()=>{const{$logger:e}=fe(),t=e.withScope("ð©ð clickOutside");function n(r){const s=w0(window.location.href),o=r.target?.closest("a");o&&(t("link click",o?.href),window.ym?.(Sc,"params",{outer_transition:{[s]:[o?.href]}}))}document.addEventListener("click",n,{passive:!0})});function Uy(e){const{error:t,instance:n,info:r}=e,s={info:r};if(n?.$props){const o=st();(o?o.getOptions():null)?.attachProps&&n.$props!==!1&&(s.propsData=n.$props)}setTimeout(()=>{Qo(t,{captureContext:{contexts:{nuxt:s}},mechanism:{handled:!1}})})}const eB=Je({dependsOn:["sentry-client-config"],async setup(e){if(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__){const t=st();t&&"$router"in e&&t.addIntegration(Ex({router:e.$router,routeLabel:"path"}))}e.hook("app:created",t=>{const n=st();n&&n.addIntegration(bx({...Fe._sentryNuxtVueIntegrationOptions,app:t,attachErrorHandler:!1}))}),e.hook("app:error",t=>{Sp(t)&&t.statusCode>=300&&t.statusCode<500||Uy({error:t})}),e.hook("vue:error",(t,n,r)=>{Uy({error:t,instance:n,info:r})})}}),tB=[UA,qA,KA,g1,y1,_1,b1,q1,j1,V1,W1,G1,Ix,Px,MM,FM,$F,WF,KF,zF,QF,Q$,Z$,eB],Hy="https://burninghut.ru/wp-content/uploads/2023/10/cropped-new_favicon_bh-1.png",lo="ÐоÑÑÑÐ°Ñ Ð¸Ð·Ð±Ð° - ÐенÑкое издание пÑо вÑÑ",nB=[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{key:"description",name:"description",content:lo},{name:"format-detection",content:"telephone=no,date=no,address=no,email=no,url=no"},{key:"msapplication-TileColor",name:"msapplication-TileColor",content:"#da532c"},{key:"theme-color",name:"theme-color",content:"#ffffff"},{key:"og:image",property:"og:image",content:Hy},{key:"og:publisher",property:"og:publisher",content:"//www.facebook.com/BurningHutRu/"},{key:"og:site_name",property:"og:site_name",content:"ÐоÑÑÑÐ°Ñ Ðзба"},{key:"og:type",property:"og:type",content:"website"},{key:"og:url",property:"og:url",content:"https://burninghut.ru/"},{key:"og:title",property:"og:title",content:lo},{key:"og:description",property:"og:description",content:lo},{key:"twitter:title",property:"twitter:title",content:lo},{key:"twitter:description",property:"twitter:description",content:lo},{key:"twitter:card",property:"twitter:card",content:"summary_large_image"},{key:"twitter:image",property:"twitter:image",content:Hy},{key:"twitter:site",property:"twitter:site",content:"@BurningHutRu"},{key:"twitter:creator",property:"twitter:creator",content:"@BurningHutRu"},{key:"telegram:channel",name:"telegram:channel",content:"@BurningHut"},{key:"view-transition",name:"view-transition",content:"same-origin"}],rB=[{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png?v=2"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png?v=2"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png?v=2"},{rel:"manifest",href:"/site.webmanifest?v=2"},{rel:"shortcut, icon",href:"/favicon.ico?v=2"}],sB=cn({__name:"app",setup(e){const t=sr(()=>Ae(()=>import("./v2.5-DnXXO0ca.js"),__vite__mapDeps([104,105,69,86,15,9,27,106]),import.meta.url)),n=sr(()=>Ae(()=>import("./v2.5-B319G5Od.js"),__vite__mapDeps([107,105,69,108]),import.meta.url)),r=fe(),s=je(()=>r.$isAMP?n:t);return jv({htmlAttrs:{lang:"ru-RU"},title:"ÐоÑÑÑÐ°Ñ Ð¸Ð·Ð±Ð° - ÐенÑкое издание пÑо вÑÑ",link:[{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png?v=2"},{rel:"alternate",type:"application/rss+xml",href:"https://burninghut.ru/feed/"},...rB],meta:nB}),(o,i)=>(we(),ht(Ga(De(s))))}}),oB=cn({__name:"error",props:{error:{}},setup(e){const t=sr(()=>Ae(()=>import("./v2.5-D78eQVOr.js"),__vite__mapDeps([92,15,9,4,5,6,7,8,10,11,12,89,36,90,1,93,27,18,94,95,96,97,98,53,54,55,16,17,34,35,37,38,99,100,101]),import.meta.url)),n=sr(()=>Ae(()=>
42import("./v2.5-dkTWDvzs.js"),__vite__mapDeps([109,56,57,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,40,41,34,35,36,37,38,42,110]),import.meta.url)),r=e;return Mr("eventCategory",()=>"404"),console.error(r.error?.statusCode,"error-page",r.error?.message,r.error?.url),(s,o)=>(we(),ht(De(t),null,{default:vt(()=>[Se(De(n),{error:r.error},null,8,["error"])]),_:1}))}}),iB={key:0},qy={__name:"nuxt-root",setup(e){const t=()=>null,n=fe(),r=n.deferHydration();if(n.isHydrating){const f=n.hooks.hookOnce("app:error",r);Kr().beforeEach(f)}const s=!1;Mr(Nv,Vr()),n.hooks.callHookWith(f=>f.map(c=>c()),"vue:setup");const o=Ja(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;$_((f,c,l)=>{if(n.hooks.callHook("vue:error",f,c,l).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",f),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,f),!1;if(Sp(f)&&(f.fatal||f.unhandled))return n.runWithContext(()=>Ir(f)),!1});const u=!1;return(f,c)=>(we(),ht(mE,{onResolve:De(r)},{default:vt(()=>[De(i)?(we(),St("div",iB)):De(o)?(we(),ht(De(oB),{key:1,error:De(o)},null,8,["error"])):De(u)?(we(),ht(De(t),{key:2,context:De(u)},null,8,["context"])):De(s)?(we(),ht(Ga(De(s)),{key:3})):(we(),ht(De(sB),{key:4}))]),_:1},8,["onResolve"]))}};let jy;{let e;jy=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?dT(qy):pT(qy),s=AC({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Dn(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await IC(s,tB)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(EC),await s.hooks.callHook("app:mounted",r),await Ds()}catch(i){o(i)}return r},e=jy().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{gn as $,Lp as A,fk as B,ba as C,Pe as D,nI as E,rc as F,tc as G,hb as H,ec as I,Ms as J,GB as K,KB as L,YB as M,To as N,a2 as O,bk as P,st as Q,HB as R,oc as S,Ki as T,Us as U,Fs as V,$s as W,Fe as X,NB as Y,Of as Z,tm as _,Fk as a,Yt as a$,sc as a0,bb as a1,BB as a2,Tm as a3,Qo as a4,LB as a5,db as a6,An as a7,an as a8,ga as a9,ak as aA,c2 as aB,t2 as aC,uk as aD,ar as aE,Op as aF,Jb as aG,s2 as aH,DB as aI,b2 as aJ,$m as aK,cn as aL,we as aM,ht as aN,Se as aO,FE as aP,De as aQ,vt as aR,St as aS,Gr as aT,Ge as aU,Ga as aV,EE as aW,_v as aX,to as aY,cB as aZ,zs as a_,MB as aa,FB as ab,$B as ac,wk as ad,pk as ae,fI as af,UB as ag,Lt as ah,Ee as ai,Am as aj,Bp as ak,ok as al,sk as am,DO as an,bP as ao,OO as ap,ho as aq,aP as ar,Sa as as,mr as at,Fn as au,_k as av,RP as aw,Ip as ax,n2 as ay,r2 as az,le as b,XF as b$,nn as b0,x2 as b1,Ko as b2,je as b3,jv as b4,fe as b5,gr as b6,xB as b7,dt as b8,sr as b9,w0 as bA,Or as bB,A2 as bC,as as bD,jo as bE,pB as bF,fB as bG,xd as bH,eD as bI,GF as bJ,Nn as bK,gs as bL,N1 as bM,w2 as bN,u$ as bO,Dn as bP,aa as bQ,gB as bR,_2 as bS,_B as bT,hB as bU,Qr as bV,zr as bW,dh as bX,T2 as bY,C2 as bZ,Sc as b_,lB as ba,Ae as bb,Mr as bc,Ls as bd,rr as be,Nv as bf,kt as bg,TB as bh,Kr as bi,Wa as bj,IB as bk,Ds as bl,bB as bm,wB as bn,OB as bo,PB as bp,mE as bq,QR as br,be as bs,sb as bt,xC as bu,_r as bv,gd as bw,Vr as bx,Fr as by,c0 as bz,Mp as c,UD as c$,E0 as c0,Si as c1,SB as c2,kB as c3,mn as c4,LA as c5,O2 as c6,k2 as c7,R2 as c8,I2 as c9,BL as cA,yB as cB,J$ as cC,AB as cD,uB as cE,qL as cF,g_ as cG,qn as cH,Tw as cI,Wo as cJ,Kt as cK,Ua as cL,e_ as cM,ze as cN,$L as cO,Hx as cP,CS as cQ,et as cR,jM as cS,qf as cT,wt as cU,EB as cV,k1 as cW,Ky as cX,nD as cY,td as cZ,Ys as c_,HL as ca,nr as cb,y2 as cc,dB as cd,mB as ce,aB as cf,wE as cg,CB as ch,v2 as ci,de as cj,Xe as ck,Ke as cl,B as cm,ce as cn,ri as co,Nr as cp,Pt as cq,f2 as cr,p2 as cs,d2 as ct,u2 as cu,l2 as cv,m2 as cw,h2 as cx,$_ as cy,Qa as cz,Hs as d,br as d0,_c as d1,Zp as d2,cL as d3,MS as d4,pD as d5,AD as d6,Qp as d7,PD as d8,Au as d9,oD as da,Os as db,fc as dc,YS as dd,P2 as de,__ as df,E2 as dg,Ux as dh,UL as di,Vn as dj,PN as dk,qN as dl,ZN as dm,Tx as dn,FN as dp,YN as dq,RB as dr,Vf as ds,lM as dt,g2 as du,qB as e,om as f,nc as g,i2 as h,S2 as i,XB as j,WB as k,zB as l,VB as m,Db as n,JB as o,o2 as p,ks as q,QB as r,sP as s,e2 as t,cr as u,jB as v,lI as w,Ue as x,js as y,ZB as z}; 43//# sourceMappingURL=v2.5-BMcaV3uw.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.