PageSourceSearch

https://realdgame.jp/_nuxt/PznJMdk1.js

js realdgame.jp collected 2026-10-02 02:35:03 UTC 492,802 bytes, 38 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DXJPnNke.js","./CjMzU7J0.js","./CzVorHp_.js","./M0wA2Ifa.js","./EventStatus.CCAvSJfR.css","./storeCache.Vs1Ze7NG.css","./DbL4Gev9.js","./PageLinks.BjXE7Uwu.css","./D-BXiXv4.js","./CUB7-izJ.js","./index.CrlIVqk4.css","./yLbRAQo9.js","./BUZyktUo.js","./BKiDoSlN.js","./index.DF-SSILT.css","./D36aV-Zy.js","./index.CA8c0XkH.css","./BGCdN_CC.js","./index.CmgMaDRw.css","./CYUegJOo.js","./index.Df_29mm3.css","./B2MSWs0l.js","./DnXm_dSs.js","./MpRNWStQ.js","./InquiryHeader.D0meYkKf.css","./index.CRmVKWqH.css","./CA1gxj7e.js","./HZCbJ9Kc.js","./AllEventsList.BdWOiotP.css","./index.BWnPI0DE.css","./B09SDe48.js","./index.B0soYfoM.css","./CPDTkjiC.js","./index.D8W94UrY.css","./CMU7521P.js","./index.1j--lcYt.css","./DVGxh9gz.js","./index.CnfDIjGg.css","./eRoy50Q-.js","./index.DpU9ShQO.css","./D5ziwxYG.js","./index.ONzm8ExR.css","./BrYHqM3t.js","./index.Bj8WfK73.css","./QJj0arnr.js","./index.DujprlYR.css"])))=>i.map(i=>d[i]);
2(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"38b3cb0a86555d4e874b60ff2e56947c3010f101"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="14bf542e-f21f-4fb5-a048-671e27684e80",e._sentryDebugIdIdentifier="sentry-dbid-14bf542e-f21f-4fb5-a048-671e27684e80")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function pu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Fe={},fi=[],_n=()=>{},Oh=()=>!1,Us=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ta=e=>e.startsWith("onUpdate:"),lt=Object.assign,hu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ev=Object.prototype.hasOwnProperty,Le=(e,t)=>Ev.call(e,t),le=Array.isArray,pr=e=>Li(e)==="[object Map]",qn=e=>Li(e)==="[object Set]",Rf=e=>Li(e)==="[object Date]",Tv=e=>Li(e)==="[object RegExp]",me=e=>typeof e=="function",He=e=>typeof e=="string",Gt=e=>typeof e=="symbol",xe=e=>e!==null&&typeof e=="object",Ra=e=>(xe(e)||me(e))&&me(e.then)&&me(e.catch),Nh=Object.prototype.toString,Li=e=>Nh.call(e),Rv=e=>Li(e).slice(8,-1),xh=e=>Li(e)==="[object Object]",Ia=e=>He(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mr=pu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Aa=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Iv=/-\w/g,It=Aa(e=>e.replace(Iv,t=>t.slice(1).toUpperCase())),Av=/\B([A-Z])/g,Zr=Aa(e=>e.replace(Av,"-$1").toLowerCase()),Ca=Aa(e=>e.charAt(0).toUpperCase()+e.slice(1)),oc=Aa(e=>e?`on${Ca(e)}`:""),hn=(e,t)=>!Object.is(e,t),di=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Dh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ka=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ph=e=>{const t=He(e)?Number(e):NaN;return isNaN(t)?e:t};let If;const Oa=()=>If||(If=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Na(e){if(le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=He(r)?Nv(r):Na(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(He(e)||xe(e))return e}const Cv=/;(?![^(]*\))/g,kv=/:([^]+)/,Ov=/\/\*[^]*?\*\//g;function Nv(e){const t={};return e.replace(Ov,"").split(Cv).forEach(n=>{if(n){const r=n.split(kv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ve(e){let t="";if(He(e))t=e;else if(le(e))for(let n=0;n<e.length;n++){const r=Ve(e[n]);r&&(t+=r+" ")}else if(xe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function mF(e){if(!e)return null;let{class:t,style:n}=e;return t&&!He(t)&&(e.class=Ve(t)),n&&(e.style=Na(n)),e}const xv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Dv=pu(xv);function Lh(e){return!!e||e===""}function Pv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Gn(e[r],t[r]);return n}function Af(e,t){if(e.size!==t.size)return!1;const n=Array.from(t),r=new Uint8Array(n.length);for(const i of e){let s=-1;for(let o=0;o<n.length;o++)if(!r[o]&&Gn(i,n[o])){s=o;break}if(s<0)return!1;r[s]=1}return!0}function Gn(e,t){if(e===t)return!0;let n=Rf(e),r=Rf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Gt(e),r=Gt(t),n||r)return e===t;if(n=le(e),r=le(t),n||r)return n&&r?Pv(e,t):!1;if(n=xe(e),r=xe(t),n||r){if(!n||!r)return!1;if(n=pr(e),r=pr(t),n||r||(n=qn(e),r=qn(t),n||r))return n&&r?Af(e,t):!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const o in e){const a=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(a&&!c||!a&&c||!Gn(e[o],t[o]))return!1}}return String(e)===String(t)}function mu(e,t){return e.findIndex(n=>Gn(n,t))}const Mh=e=>!!(e&&e.__v_isRef===!0),Ht=e=>He(e)?e:e==null?"":le(e)||xe(e)&&(e.toString===Nh||!me(e.toString))?Mh(e)?Ht(e.value):JSON.stringify(e,$h,2):String(e),$h=(e,t)=>Mh(t)?$h(e,t.value):pr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[ac(r,s)+" =>"]=i,n),{})}:qn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ac(n))}:Gt(t)?ac(t):xe(t)&&!le(t)&&!xh(t)?String(t):t,ac=(e,t="")=>{var n;return Gt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ot;class Fh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ot&&(ot.active?(this.parent=ot,this.index=(ot.scopes||(ot.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[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){const i=this.scopes.slice();for(t=0,n=i.length;t<n;t++)i[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){++this._on===1&&(this.prevScope=ot,ot=this)}off(){if(this._on>0&&--this._on===0){if(ot===this)ot=this.prevScope;else{let t=ot;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.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){const i=this.scopes.slice();for(n=0,r=i.length;n<r;n++)i[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function gu(e){return new Fh(e)}function xa(){return ot}function Lv(e,t=!1){ot&&ot.cleanups.push(e)}let Ue;const cc=new WeakSet;class Uh{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: 12,586 bytes, line 2
2=void 0,ot&&(ot.active?ot.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,cc.has(this)&&(cc.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Cf(this),Vh(this);const t=Ue,n=rn;Ue=this,rn=!0;try{return this.fn()}finally{qh(this),Ue=t,rn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vu(t);this.deps=this.depsTail=void 0,Cf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?cc.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){nl(this)&&this.run()}get dirty(){return nl(this)}}let Hh=0,cs,ls;function Bh(e,t=!1){if(e.flags|=8,t){e.next=ls,ls=e;return}e.next=cs,cs=e}function _u(){Hh++}function yu(){if(--Hh>0)return;if(ls){let t=ls;for(ls=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;cs;){let t=cs;for(cs=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 Vh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function qh(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),vu(r),Mv(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function nl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Gh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Gh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===bs)||(e.globalVersion=bs,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!nl(e))))return;e.flags|=2;const t=e.dep,n=Ue,r=rn;Ue=e,rn=!0;try{Vh(e);const i=e.fn(e._value);(t.version===0||hn(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ue=n,rn=r,qh(e),e.flags&=-3}}function vu(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)vu(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Mv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let rn=!0;const Wh=[];function Wn(){Wh.push(rn),rn=!1}function Jn(){const e=Wh.pop();rn=e===void 0?!0:e}function Cf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ue;Ue=void 0;try{t()}finally{Ue=n}}}let bs=0;class $v{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 Su{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(!Ue||!rn||Ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ue)n=this.activeLink=new $v(Ue,this),Ue.deps?(n.prevDep=Ue.depsTail,Ue.depsTail.nextDep=n,Ue.depsTail=n):Ue.deps=Ue.depsTail=n,Jh(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=Ue.depsTail,n.nextDep=void 0,Ue.depsTail.nextDep=n,Ue.depsTail=n,Ue.deps===n&&(Ue.deps=r)}return n}trigger(t){this.version++,bs++,this.notify(t)}notify(t){_u();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{yu()}}}function Jh(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)Jh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const zo=new WeakMap,$r=Symbol(""),rl=Symbol(""),ws=Symbol("");function vt(e,t,n){if(rn&&Ue){let r=zo.get(e);r||zo.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Su),i.map=r,i.key=n),i.track()}}function Pn(e,t,n,r,i,s){const o=zo.get(e);if(!o){bs++;return}const a=c=>{c&&c.trigger()};if(_u(),t==="clear")o.forEach(a);else{const c=le(e),u=c&&Ia(n);if(c&&n==="length"){const l=Number(r);o.forEach((f,p)=>{(p==="length"||p===ws||!Gt(p)&&p>=l)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(ws)),t){case"add":c?u&&a(o.get("length")):(a(o.get($r)),pr(e)&&a(o.get(rl)));break;case"delete":c||(a(o.get($r)),pr(e)&&a(o.get(rl)));break;case"set":pr(e)&&a(o.get($r));break}}yu()}function Fv(e,t){const n=zo.get(e);return n&&n.get(t)}function ti(e){const t=ke(e);return t===e?t:(vt(t,"iterate",ws),Bt(e)?t:t.map(on))}function Da(e){return vt(e=ke(e),"iterate",ws),e}function pn(e,t){return vn(e)?bi(yn(e)?on(t):t):on(t)}const Uv={__proto__:null,[Symbol.iterator](){return lc(this,Symbol.iterator,e=>pn(this,e))},concat(...e){return ti(this).concat(...e.map(t=>le(t)?ti(t):t))},entries(){return lc(this,"entries",e=>(e[1]=pn(this,e[1]),e))},every(e,t){return In(this,"every",e,t,void 0,arguments)},filter(e,t){return In(this,"filter",e,t,n=>n.map(r=>pn(this,r)),arguments)},find(e,t){return In(this,"find",e,t,n=>pn(this,n),arguments)},findIndex(e,t){return In(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return In(this,"findLast",e,t,n=>pn(this,n),arguments)},findLastIndex(e,t){return In(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return In(this,"forEach",e,t,void 0,arguments)},includes(...e){return uc(this,"includes",e)},indexOf(...e){return uc(this,"indexOf",e)},join(e){return ti(this).join(e)},lastIndexOf(...e){return uc(this,"lastIndexOf",e)},map(e,t){return In(this,"map",e,t,void 0,arguments)},pop(){return Qi(this,"pop")},push(...e){return Qi(this,"push",e)},reduce(e,...t){return kf(this,"reduce",e,t)},reduceRight(e,...t){return kf(this,"reduceRight",e,t)},shift(){return Qi(this,"shift")},some(e,t){return In(this,"some",e,t,void 0,arguments)},splice(...e){return Qi(this,"splice",e)},toReversed(){return ti(this).toReversed()},toSorted(e){return ti(this).toSorted(e)},toSpliced(...e){return ti(this).toSpliced(...e)},unshift(...e){return Qi(this,"unshift",e)},values(){return lc(this,"values",e=>pn(this,e))}};function lc(e,t,n){const r=Da(e),i=r[t]();return r!==e&&!Bt(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const Hv=Array.prototype;function In(e,t,n,r,i,s){const o=Da(e),a=o!==e&&!Bt(e),c=o[t];if(c!==Hv[t]){const f=c.apply(e,s);return a?on(f):f}let u=n;o!==e&&(a?u=function(f,p){return n.call(this,pn(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const l=c.call(o,u,r);return a&&i?i(l):l}function kf(e,t,n,r){const i=Da(e),s=i!==e&&!Bt(e);let o=n,a=!1;i!==e&&(s?(a=r.length===0,o=function(u,l,f){return a&&(a=!1,u=pn(e,u)),n.call(this,u,pn(e,l),f,e)}):n.length>3&&(o=function(u,l,f){return n.call(this,u,l,f,e)}));const c=i[t](o,...r);return a?pn(e,c):c}function uc(e,t,n){const r=ke(e);vt(r,"iterate",ws);const i=r[t](...n);return(i===-1||i===!1)&&Pa(n[0])?(n[0]=ke(n[0]),r[t](...n)):i}function Qi(e,t,n=[]){Wn(),_u();const r=ke(e)[t].apply(e,n);return yu(),Jn(),r}const Bv=pu("__proto__,__v_isRef,__isVue"),zh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gt));function Vv(e){Gt(e)||(e=String(e));const t=ke(this);return vt(t,"has",e),t.hasOwnProperty(e)}class Kh{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Zv:Zh:s?Xh:Qh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=le(t);if(!i){let c;if(o&&(c=Uv[n]))return c;if(n==="hasOwnProperty")return Vv}const a=Reflect.get(t,n,Ge(t)?t:r);if((Gt(n)?zh.has(n):Bv(n))||(i||vt(t,"get",n),s))return a;if(Ge(a)){const c=o&&Ia(n)?a:a.value;return i&&xe(c)?sl(c):c}return xe(a)?i?sl(a):cn(a):a}}class Yh extends Kh{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];const o=le(t)&&Ia(n);if(!this._isShallow){const u=vn(s);if(!Bt(r)&&!vn(r)&&(s=ke(s),r=ke(r)),!o&&Ge(s)&&!Ge(r))return u||(s.value=r),!0}const a=o?Number(n)<t.length:Le(t,n),c=Reflect.set(t,n,r,Ge(t)?t:i);return t===ke(i)&&c&&(a?hn(r,s)&&Pn(t,"set",n,r):Pn(t,"add",n,r)),c}deleteProperty(t,n){const r=Le(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Pn(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!Gt(n)||!zh.has(n))&&vt(t,"has",n),r}ownKeys(t){return vt(t,"iterate",le(t)?"length":$r),Reflect.ownKeys(t)}}class qv extends Kh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Gv=new Yh,Wv=new qv,Jv=new Yh(!0);const il=e=>e,so=e=>Reflect.getPrototypeOf(e);function zv(e,t,n){return function(...r){const i=this.__v_raw,s=ke(i),o=pr(s),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=i[e](...r),l=n?il:t?bi:on;return!t&&vt(s,"iterate",c?rl:$r),lt(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:a?[l(f[0]),l(f[1])]:l(f),done:p}}})}}function oo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Kv(e,t){const n={get(i){const s=this.__v_raw,o=ke(s),a=ke(i);e||(hn(i,a)&&vt(o,"get",i),vt(o,"get",a));const{has:c}=so(o),u=t?il:e?bi:on;if(c.call(o,i))return u(s.get(i));if(c.call(o,a))return u(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&vt(ke(i),"iterate",$r),i.size},has(i){const s=this.__v_raw,o=ke(s),a=ke(i);return e||(hn(i,a)&&vt(o,"has",i),vt(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,c=ke(a),u=t?il:e?bi:on;return!e&&vt(c,"iterate",$r),a.forEach((l,f)=>i.call(s,u(l),u(f),o))}};return lt(n,e?{add:oo("add"),set:oo("set"),delete:oo("delete"),clear:oo("clear")}:{add(i){const s=ke(this),o=so(s),a=ke(i),c=!t&&!Bt(i)&&!vn(i)?a:i;return o.has.call(s,c)||hn(i,c)&&o.has.call(s,i)||hn(a,c)&&o.has.call(s,a)||(s.add(c),Pn(s,"add",c,c)),this},set(i,s){!t&&!Bt(s)&&!vn(s)&&(s=ke(s));const o=ke(this),{has:a,get:c}=so(o);let u=a.call(o,i);u||(i=ke(i),u=a.call(o,i));const l=c.call(o,i);return o.set(i,s),u?hn(s,l)&&Pn(o,"set",i,s):Pn(o,"add",i,s),this},delete(i){const s=ke(this),{has:o,get:a}=so(s);let c=o.call(s,i);c||(i=ke(i),c=o.call(s,i)),a&&a.call(s,i);const u=s.delete(i);return c&&Pn(s,"delete",i,void 0),u},clear(){const i=ke(this),s=i.size!==0,o=i.clear();return s&&Pn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=zv(i,e,t)}),n}function bu(e,t){const n=Kv(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Le(n,i)&&i in r?n:r,i,s)}const Yv={get:bu(!1,!1)},Qv={get:bu(!1,!0)},Xv={get:bu(!0,!1)};const Qh=new WeakMap,Xh=new WeakMap,Zh=new WeakMap,Zv=new WeakMap;function jv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cn(e){return vn(e)?e:wu(e,!1,Gv,Yv,Qh)}function mn(e){return wu(e,!1,Jv,Qv,Xh)}function sl(e){return wu(e,!0,Wv,Xv,Zh)}function wu(e,t,n,r,i){if(!xe(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=i.get(e);if(s)return s;const o=jv(Rv(e));if(o===0)return e;const a=new Proxy(e,o===2?r:n);return i.set(e,a),a}function yn(e){return vn(e)?yn(e.__v_raw):!!(e&&e.__v_isReactive)}function vn(e){return!!(e&&e.__v_isReadonly)}function Bt(e){return!!(e&&e.__v_isShallow)}function Pa(e){return e?!!e.__v_raw:!1}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function Eu(e){return!Le(e,"__v_skip")&&Object.isExtensible(e)&&Dh(e,"__v_skip",!0),e}const on=e=>xe(e)?cn(e):e,bi=e=>xe(e)?sl(e):e;function Ge(e){return e?e.__v_isRef===!0:!1}function de(e){return jh(e,!1)}function zn(e){return jh(e,!0)}function jh(e,t){return Ge(e)?e:new e0(e,t)}class e0{constructor(t,n){this.dep=new Su,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ke(t),this._value=n?t:on(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Bt(t)||vn(t);t=r?t:ke(t),hn(t,n)&&(this._rawValue=t,this._value=r?t:on(t),this.dep.trigger())}}function re(e){return Ge(e)?e.value:e}function t0(e){return me(e)?e():re(e)}const n0={get:(e,t,n)=>t==="__v_raw"?e:re(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ge(i)&&!Ge(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function em(e){return yn(e)?e:new Proxy(e,n0)}function r0(e){const t=le(e)?new Array(e.length):{};for(const n in e)t[n]=tm(e,n);return t}class i0{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Gt(n)?n:String(n),this._raw=ke(t);let i=!0,s=t;
vendor: 4,507 bytes, line 2
2if(!le(t)||Gt(this._key)||!Ia(this._key))do i=!Pa(s)||Bt(s);while(i&&(s=s.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=re(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ge(this._raw[this._key])){const n=this._object[this._key];if(Ge(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Fv(this._raw,this._key)}}class s0{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 o0(e,t,n){return Ge(e)?e:me(e)?new s0(e):xe(e)&&arguments.length>1?tm(e,t,n):de(e)}function tm(e,t,n){return new i0(e,t,n)}class a0{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Su(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=bs-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ue!==this)return Bh(this,!0),!0}get value(){const t=this.dep.track();return Gh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function c0(e,t,n=!1){let r,i;return me(e)?r=e:(r=e.get,i=e.set),new a0(r,i,n)}const ao={},Ko=new WeakMap;let Or;function l0(e,t=!1,n=Or){if(n){let r=Ko.get(n);r||Ko.set(n,r=[]),r.push(e)}}function u0(e,t,n=Fe){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:c}=n,u=y=>i?y:Bt(y)||i===!1||i===0?Ln(y,1):Ln(y);let l,f,p,d,m=!1,h=!1;if(Ge(e)?(f=()=>e.value,m=Bt(e)):yn(e)?(f=()=>u(e),m=!0):le(e)?(h=!0,m=e.some(y=>yn(y)||Bt(y)),f=()=>e.map(y=>{if(Ge(y))return y.value;if(yn(y))return u(y);if(me(y))return c?c(y,2):y()})):me(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){Wn();try{p()}finally{Jn()}}const y=Or;Or=l;try{return c?c(e,3,[d]):e(d)}finally{Or=y}}:f=_n,t&&i){const y=f,S=i===!0?1/0:i;f=()=>Ln(y(),S)}const _=xa(),w=()=>{l.stop(),_&&_.active&&hu(_.effects,l)};if(s&&t){const y=t;t=(...S)=>{const C=y(...S);return w(),C}}let b=h?new Array(e.length).fill(ao):ao;const g=y=>{if(!(!(l.flags&1)||!l.dirty&&!y))if(t){const S=l.run();if(y||i||m||(h?S.some((C,T)=>hn(C,b[T])):hn(S,b))){p&&p();const C=Or;Or=l;try{const T=[S,b===ao?void 0:h&&b[0]===ao?[]:b,d];b=S,c?c(t,3,T):t(...T)}finally{Or=C}}}else l.run()};return a&&a(g),l=new Uh(f),l.scheduler=o?()=>o(g,!1):g,d=y=>l0(y,!1,l),p=l.onStop=()=>{const y=Ko.get(l);if(y){if(c)c(y,4);else for(const S of y)S();Ko.delete(l)}},t?r?g(!0):b=l.run():o?o(g.bind(null,!0),!0):l.run(),w.pause=l.pause.bind(l),w.resume=l.resume.bind(l),w.stop=w,w}function Ln(e,t=1/0,n){if(t<=0||!xe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ge(e))Ln(e.value,t,n);else if(le(e))for(let r=0;r<e.length;r++)Ln(e[r],t,n);else if(qn(e)||pr(e))e.forEach(r=>{Ln(r,t,n)});else if(xh(e)){for(const r in e)Ln(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ln(e[r],t,n)}return e}function Hs(e,t,n,r){try{return r?e(...r):e()}catch(i){Mi(i,t,n)}}function en(e,t,n,r){if(me(e)){const i=Hs(e,t,n,r);return i&&Ra(i)&&i.catch(s=>{Mi(s,t,n)}),i}if(le(e)){const i=[];for(let s=0;s<e.length;s++)i.push(en(e[s],t,n,r));return i}}function Mi(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Fe;if(t){let a=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const l=a.ec;if(l){for(let f=0;f<l.length;f++)if(l[f](e,c,u)===!1)return}a=a.parent}if(s){Wn(),Hs(s,null,10,[e,c,u]),Jn();return}}f0(e,n,i,r,o)}function f0(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const Rt=[];let fn=-1;const pi=[];let lr=null,oi=0;const nm=Promise.resolve();let Yo=null;function Xt(e){const t=Yo||nm;return e?t.then(this?e.bind(this):e):t}function d0(e){let t=fn+1,n=Rt.length;for(;t<n;){const r=t+n>>>1,i=Rt[r],s=Es(i);s<e||s===e&&i.flags&2?t=r+1:n=r}return t}function Tu(e){if(!(e.flags&1)){const t=Es(e),n=Rt[Rt.length-1];!n||!(e.flags&2)&&t>=Es(n)?Rt.push(e):Rt.splice(d0(t),0,e),e.flags|=1,rm()}}function rm(){Yo||(Yo=nm.then(im))}function ol(e){if(!le(e))lr&&e.id===-1?lr.splice(oi+1,0,e):e.flags&1||(pi.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)pi.push(e[t]);rm()}function Of(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 Qo(e){if(pi.length){const t=[...new Set(pi)].sort((n,r)=>Es(n)-Es(r));if(pi.length=0,lr){for(let n=0;n<t.length;
vendor: 6,093 bytes, line 2
2n++)lr.push(t[n]);return}for(lr=t,oi=0;oi<lr.length;oi++){const n=lr[oi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}lr=null,oi=0}}const Es=e=>e.id==null?e.flags&2?-1:1/0:e.id;function im(e){try{for(fn=0;fn<Rt.length;fn++){const t=Rt[fn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Hs(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,Qo(),Yo=null,(Rt.length||pi.length)&&im()}}let ht=null,sm=null;function Xo(e){const t=ht;return ht=e,sm=e&&e.type.__scopeId||null,t}function ft(e,t=ht,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&ia(-1);const s=Xo(t),o=Fn.length;let a;try{a=e(...i)}finally{for(let c=Fn.length;c>o;c--)Ua();Xo(s),r._d&&ia(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function om(e,t){if(ht===null)return e;const n=Ha(ht),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,o,a,c=Fe]=t[i];s&&(me(s)&&(s={mounted:s,updated:s}),s.deep&&Ln(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:c}))}return e}function dn(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let c=a.dir[r];c&&(Wn(),en(c,n,8,[e.el,a,e,t]),Jn())}}function Mn(e,t){if(pt){let n=pt.provides;const r=pt.parent&&pt.parent.provides;r===n&&(n=pt.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=bn();if(r||Fr){let i=Fr?Fr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&me(t)?t.call(r&&r.proxy):t}}function Bs(){return!!(bn()||Fr)}const p0=Symbol.for("v-scx"),h0=()=>dt(p0);function m0(e,t){return Ru(e,null,t)}function hr(e,t,n){return Ru(e,t,n)}function Ru(e,t,n=Fe){const{immediate:r,deep:i,flush:s,once:o}=n,a=lt({},n),c=t&&r||!t&&s!=="post";let u;if(Wr){if(s==="sync"){const d=h0();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!c){const d=()=>{};return d.stop=_n,d.resume=_n,d.pause=_n,d}}const l=pt;a.call=(d,m,h)=>en(d,l,m,h);let f=!1;s==="post"?a.scheduler=d=>{at(d,l&&l.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(d,m)=>{m?d():Tu(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,l&&(d.id=l.uid,d.i=l))};const p=u0(e,t,a);return Wr&&(u?u.push(p):c&&p()),p}function g0(e,t,n){const r=this.proxy,i=He(e)?e.includes(".")?am(r,e):()=>r[e]:e.bind(r,r);let s;me(t)?s=t:(s=t.handler,n=t);const o=Fi(this),a=Ru(i,s.bind(r),n);return o(),a}function am(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const _0=Symbol("_vte"),La=e=>e.__isTeleport,Qt=Symbol("_leaveCb"),Xi=Symbol("_enterCb");function y0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Sn(()=>{e.isMounted=!0}),$i(()=>{e.isUnmounting=!0}),e}const Jt=[Function,Array],cm={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},lm=e=>{const t=e.subTree;return t.component?lm(t.component):t},v0={name:"BaseTransition",props:cm,setup(e,{slots:t}){const n=bn(),r=y0();return()=>{const i=t.default&&dm(t.default(),!0),s=i&&i.length?um(i):n.subTree?ze():void 0;if(!s)return;const o=ke(e),{mode:a}=o;if(r.isLeaving)return fc(s);const c=Zo(s);if(!c)return fc(s);let u=al(c,o,r,n,f=>u=f);c.type!==it&&wi(c,u);let l=n.subTree&&Zo(n.subTree);if(l&&l.type!==it&&!nn(l,c)&&lm(n).type!==it){let f=al(l,o,r,n);if(wi(l,f),a==="out-in"&&c.type!==it)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,l=void 0},fc(s);a==="in-out"&&c.type!==it?f.delayLeave=(p,d,m)=>{const h=fm(r,l);h[String(l.key)]=l,p[Qt]=()=>{d(),p[Qt]=void 0,delete u.delayedLeave,l=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return s}}};function um(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==it){t=n;break}}return t}const S0=v0;function fm(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 al(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:l,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:_,onAppear:w,onAfterAppear:b,onAppearCancelled:g}=t,y=String(e.key),S=fm(n,e),C=(A,L)=>{A&&en(A,r,9,L)},T=(A,L)=>{const $=L[1];C(A,L),le(A)?A.every(D=>D.length<=1)&&$():A.length<=1&&$()},x={mode:o,persisted:a,beforeEnter(A){let L=c;if(!n.isMounted)if(s)L=_||c;else return;A[Qt]&&A[Qt](!0);const $=S[y];$&&nn(e,$)&&$.el[Qt]&&$.el[Qt](),C(L,[A])},enter(A){if(S[y]===e)return;let L=u,$=l,D=f;if(!n.isMounted)if(s)L=w||u,$=b||l,D=g||f;else return;let J=!1;A[Xi]=N=>{J||(J=!0,N?C(D,[A]):C($,[A]),x.delayedLeave&&x.delayedLeave(),A[Xi]=void 0)};const U=A[Xi].bind(null,!1);L?T(L,[A,U]):U()},leave(A,L){const $=String(e.key);if(A[Xi]&&A[Xi](!0),n.isUnmounting)return L();C(p,[A]);let D=!1;A[Qt]=U=>{D||(D=!0,L(),U?C(h,[A]):C(m,[A]),A[Qt]=void 0,S[$]===e&&delete S[$])};const J=A[Qt].bind(null,!1);S[$]=e,d?T(d,[A,J]):J()},clone(A){const L=al(A,t,n,r,i);return i&&i(L),L}};return x}function fc(e){if(Vs(e))return e=Vt(e),e.children=null,e}function Zo(e){if(!Vs(e))return La(e.type)&&e.children?um(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&&me(n.default))return n.default()}}function wi(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;wi(La(n.type)&&Zo(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function dm(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Je?(o.patchFlag&128&&i++,r=r.concat(dm(o.children,t,a))):(t||o.type!==it)&&r.push(a!=null?Vt(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function et(e,t){return me(e)?lt({name:e.name},t,{setup:e}):e}
2function Iu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Nf(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const jo=new WeakMap;function hi(e,t,n,r,i=!1){if(le(e)){e.forEach((h,_)=>hi(h,t&&(le(t)?t[_]:t),n,r,i));return}if($n(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&hi(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Ha(r.component):r.el,o=i?null:s,{i:a,r:c}=e,u=t&&t.r,l=a.refs===Fe?a.refs={}:a.refs,f=a.setupState,p=ke(f),d=f===Fe?Oh:h=>Nf(l,h)?!1:Le(p,h),m=(h,_)=>!(_&&Nf(l,_));if(u!=null&&u!==c){if(xf(t),He(u))l[u]=null,d(u)&&(f[u]=null);else if(Ge(u)){const h=t;m(u,h.k)&&(u.value=null),h.k&&(l[h.k]=null)}}if(me(c))Hs(c,a,12,[o,l]);else{const h=He(c),_=Ge(c);if(h||_){const w=()=>{if(e.f){const b=h?d(c)?f[c]:l[c]:m()||!e.k?c.value:l[e.k];if(i)le(b)&&hu(b,s);else if(le(b))b.includes(s)||b.push(s);else if(h)l[c]=[s],d(c)&&(f[c]=l[c]);else{const g=[s];m(c,e.k)&&(c.value=g),e.k&&(l[e.k]=g)}}else h?(l[c]=o,d(c)&&(f[c]=o)):_&&(m(c,e.k)&&(c.value=o),e.k&&(l[e.k]=o))};if(o){const b=()=>{w(),jo.delete(e)};b.id=-1,jo.set(e,b),at(b,n)}else xf(e),w()}}}function xf(e){const t=jo.get(e);t&&(t.flags|=8,jo.delete(e))}let Df=!1;const ni=()=>{Df||(console.error("Hydration completed but contains mismatches."),Df=!0)},b0=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",w0=e=>e.namespaceURI.includes("MathML"),co=e=>{if(e.nodeType===1){if(b0(e))return"svg";if(w0(e))return"mathml"}},ci=e=>e.nodeType===8;function E0(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:s,parentNode:o,remove:a,insert:c,createComment:u}}=e,l=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),Qo(),y._vnode=g;return}f(y.firstChild,g,null,null,null),Qo(),y._vnode=g},f=(g,y,S,C,T,x=!1)=>{x=x||!!y.dynamicChildren;const A=ci(g)&&g.data==="[",L=()=>h(g,y,S,C,T,A),{type:$,ref:D,shapeFlag:J,patchFlag:U}=y;let N=g.nodeType;y.el=g,U===-2&&(x=!1,y.dynamicChildren=null);let R=null;switch($){case Ur:N!==3?y.children===""?(c(y.el=i(""),o(g),g),R=g):R=L():(g.data!==y.children&&(ni(),g.data=y.children),R=s(g));break;case it:b(g)?(R=s(g),w(y.el=g.content.firstChild,g,S)):N!==8||A?R=L():R=s(g);break;case gi:if(A&&(g=s(g),N=g.nodeType),N===1||N===3){R=g;const I=!y.children.length;for(let O=0;O<y.staticCount;O++)I&&(y.children+=R.nodeType===1?R.outerHTML:R.data),O===y.staticCount-1&&(y.anchor=R),R=s(R);return A?s(R):R}else L();break;case Je:A?R=m(g,y,S,C,T,x):R=L();break;default:if(J&1)(N!==1||y.type.toLowerCase()!==g.tagName.toLowerCase())&&!b(g)?R=L():R=p(g,y,S,C,T,x);else if(J&6){y.slotScopeIds=T;const I=o(g);if(A?R=_(g):ci(g)&&g.data==="teleport start"?R=_(g,g.data,"teleport end"):R=s(g),t(y,I,null,S,C,co(I),x),$n(y)&&!y.component.subTree){let O;A?(O=pe(gi),O.anchor=R?R.previousSibling:I.lastChild):O=g.nodeType===3?St(""):pe("div"),O.el=g,y.component.subTree=O}}else J&64?N!==8?R=L():R=y.type.hydrate(g,y,S,C,T,x,e,d):J&128&&(R=y.type.hydrate(g,y,S,C,co(o(g)),T,x,e,f))}return D!=null&&hi(D,null,C,y),R},p=(g,y,S,C,T,x)=>{x=x||!!y.dynamicChildren;const{type:A,dynamicProps:L,props:$,patchFlag:D,shapeFlag:J,dirs:U,transition:N}=y,R=A==="input"||A==="option",I=!!L;if(R||I||D!==-1){U&&dn(y,null,S,"created");let O=!1;if(b(g)){O=Mm(null,N)&&S&&S.vnode.props&&S.vnode.props.appear;const V=g.content.firstChild;if(O){const F=V.getAttribute("class");F&&(V.$cls=F),N.beforeEnter(V)}w(V,g,S),y.el=g=V}if(J&16&&!($&&($.innerHTML||$.textContent))){let V=d(g.firstChild,y,g,S,C,T,x);for(V&&!Io(g,1)&&ni();V;){const F=V;V=V.nextSibling,a(F)}}else if(J&8){let V=y.children;V[0]===`
3`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(V=V.slice(1));const{textContent:F}=g;F!==V&&F!==V.replace(/\r\n|\r/g,`
4`)&&(Io(g,0)||ni(),g.textContent=y.children)}if($){if(R||I||!x||D&48){const V=g.tagName.includes("-"),F=g.namespaceURI.includes("svg")?"svg":g.namespaceURI.includes("MathML")?"mathml":void 0;for(const k in $)if(R&&(k.endsWith("value")||k==="indeterminate")||Us(k)&&!Mr(k)||k[0]==="."||V&&!Mr(k)||L&&L.includes(k)){if(R0(g,k,$[k]))continue;r(g,k,null,$[k],F,S)}}else if($.onClick)r(g,"onClick",null,$.onClick,void 0,S);else if(D&4&&yn($.style))for(const V in $.style)$.style[V]}let B;(B=$&&$.onVnodeBeforeMount)&&Nt(B,S,y),U&&dn(y,null,S,"beforeMount"),((B=$&&$.onVnodeMounted)||U||O)&&Bm(()=>{B&&Nt(B,S,y),O&&N.enter(g),U&&dn(y,null,S,"mounted")},C)}return g.nextSibling},d=(g,y,S,C,T,x,A)=>{A=A||!!y.dynamicChildren;const L=y.children,$=L.length;let D=!1;for(let J=0;J<$;J++){const U=A?L[J]:L[J]=$t(L[J]),N=U.type===Ur;g?(N&&!A&&J+1<$&&$t(L[J+1]).type===Ur&&(c(i(g.data.slice(U.children.length)),S,s(g)),g.data=U.
4children),g=f(g,U,C,T,x,A)):N&&!U.children?c(U.el=i(""),S):(D||(D=!0,Io(S,1)||ni()),n(null,U,S,null,C,T,co(S),x))}return g},m=(g,y,S,C,T,x)=>{const{slotScopeIds:A}=y;A&&(T=T?T.concat(A):A);const L=o(g),$=d(s(g),y,L,S,C,T,x);return $&&ci($)&&$.data==="]"?s(y.anchor=$):(ni(),c(y.anchor=u("]"),L,$),$)},h=(g,y,S,C,T,x)=>{if(A0(g,y)||ni(),y.el=null,x){const $=_(g);for(;;){const D=s(g);if(D&&D!==$)a(D);else break}}const A=s(g),L=o(g);return a(g),n(null,y,L,A,S,C,co(L),T),S&&(S.vnode.el=y.el,Fa(S,y.el)),A},_=(g,y="[",S="]")=>{let C=0;for(;g;)if(g=s(g),g&&ci(g)&&(g.data===y&&C++,g.data===S)){if(C===0)return s(g);C--}return g},w=(g,y,S)=>{const C=y.parentNode;C&&C.replaceChild(g,y);let T=S;for(;T;)T.vnode.el===y&&(T.vnode.el=T.subTree.el=g),T=T.parent},b=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[l,f]}const T0=new Set(["src","srcset","href","poster"]);function R0(e,t,n){return T0.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}const ea="data-allow-mismatch",I0={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Io(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ea);)e=e.parentElement;return Au(e&&e.getAttribute(ea),t)}function Au(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(I0[t])}}function A0(e,t){return Io(e.parentElement,1)||C0(e)||k0(t)}function C0(e){return e.nodeType===1&&Au(e.getAttribute(ea),1)}function k0({props:e}){const t=e&&e[ea];return typeof t=="string"&&Au(t,1)}Oa().requestIdleCallback;Oa().cancelIdleCallback;function O0(e,t){if(ci(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ci(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const $n=e=>!!e.type.__asyncLoader;function dc(e){me(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:c}=e;let u=null,l,f=0;const p=()=>(f++,u=null,d()),d=()=>{let m;
vendor: 4,979 bytes, line 4
4return u||(m=u=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),c)return new Promise((_,w)=>{c(h,()=>_(p()),()=>w(h),f+1)});throw h}).then(h=>m!==u&&u?u:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),l=h,h)))};return et({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(m,h,_){const w=m.isConnected;let b=!1;(h.bu||(h.bu=[])).push(()=>b=!0);const g=()=>{b||!m.parentNode||w&&!m.isConnected||_()},y=s?()=>{const S=s(g,C=>O0(m,C));S&&(h.bum||(h.bum=[])).push(S)}:g;l?y():d().then(()=>!h.isUnmounted&&y())},get __asyncResolved(){return l},setup(){const m=pt;if(Iu(m),l)return()=>lo(l,m);const h=S=>{u=null,Mi(S,m,13,!r)};if(a&&m.suspense||Wr)return d().then(S=>()=>lo(S,m)).catch(S=>(h(S),()=>r?pe(r,{error:S}):null));const _=de(!1),w=de(),b=de(!!i);let g,y;return Cu(()=>{g!=null&&clearTimeout(g),y!=null&&clearTimeout(y)}),i&&(y=setTimeout(()=>{m.isUnmounted||(b.value=!1)},i)),o!=null&&(g=setTimeout(()=>{if(!m.isUnmounted&&!_.value&&!w.value){const S=new Error(`Async component timed out after ${o}ms.`);h(S),w.value=S}},o)),d().then(()=>{m.isUnmounted||(_.value=!0,m.parent&&Vs(m.parent.vnode)&&m.parent.update())}).catch(S=>{if(m.isUnmounted){u=null;return}h(S),w.value=S}),()=>{if(_.value&&l)return lo(l,m);if(w.value&&r)return pe(r,{error:w.value});if(n&&!b.value)return lo(n,m)}}})}function lo(e,t){const{ref:n,props:r,children:i,ce:s}=t.vnode,o=pe(e,r,i);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const Vs=e=>e.type.__isKeepAlive,N0={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=bn(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const i=new Map,s=new Set;let o=null;const a=n.suspense,{renderer:{p:c,m:u,um:l,o:{createElement:f}}}=r,p=f("div");r.activate=(b,g,y,S,C)=>{const T=b.component;u(b,g,y,0,a),c(T.vnode,b,g,y,T,a,S,b.slotScopeIds,C),at(()=>{T.isDeactivated=!1,T.a&&di(T.a);const x=b.props&&b.props.onVnodeMounted;x&&Nt(x,T.parent,b)},a)},r.deactivate=b=>{const g=b.component;na(g.m),na(g.a),u(b,p,null,1,a),at(()=>{g.da&&di(g.da);const y=b.props&&b.props.onVnodeUnmounted;y&&Nt(y,g.parent,b),g.isDeactivated=!0},a)};function d(b){pc(b),l(b,n,a,!0)}function m(b){i.forEach((g,y)=>{const S=hl($n(g)?g.type.__asyncResolved||{}:g.type);S&&!b(S)&&h(y)})}function h(b){const g=i.get(b);g&&(!o||!nn(g,o))?d(g):o&&pc(o),i.delete(b),s.delete(b)}hr(()=>[e.include,e.exclude],([b,g])=>{b&&m(y=>rs(b,y)),g&&m(y=>!rs(g,y))},{flush:"post",deep:!0});let _=null;const w=()=>{_!=null&&(ra(n.subTree.type)?at(()=>{const b=uo(n.subTree);b.component&&i.set(_,b)},n.subTree.suspense):i.set(_,uo(n.subTree)))};return Sn(w),gm(w),$i(()=>{i.forEach(b=>{const{subTree:g,suspense:y}=n,S=uo(g);if(b.type===S.type&&b.key===S.key){pc(S);const C=S.component.da;C&&at(C,y);return}d(b)})}),()=>{if(_=null,!t.default)return o=null;const b=t.default(),g=b[0];if(b.length>1)return o=null,b;if(!Gr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let y=uo(g);if(y.type===it)return o=null,y;const S=y.type,C=hl($n(y)?y.type.__asyncResolved||{}:S),{include:T,exclude:x,max:A}=e;if(T&&(!C||!rs(T,C))||x&&C&&rs(x,C))return y.shapeFlag&=-257,o=y,g;const L=y.key==null?S:y.key,$=i.get(L);return y.el&&(y=Vt(y),g.shapeFlag&128&&(g.ssContent=y)),_=L,$?(y.el=$.el,y.component=$.component,y.transition&&wi(y,y.transition),y.shapeFlag|=512,s.delete(L),s.add(L)):(s.add(L),A&&s.size>parseInt(A,10)&&h(s.values().next().value)),y.shapeFlag|=256,o=y,ra(g.type)?g:y}}},x0=N0;function rs(e,t){return le(e)?e.some(n=>rs(n,t)):He(e)?e.split(",").includes(t):Tv(e)?(e.lastIndex=0,e.test(t)):!1}function pm(e,t){mm(e,"a",t)}function hm(e,t){mm(e,"da",t)}function mm(e,t,n=pt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ma(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Vs(i.parent.vnode)&&D0(r,t,n,i),i=i.parent}}function D0(e,t,n,r){const i=Ma(t,e,r,!0);Cu(()=>{hu(r[t],i)},n)}function pc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function uo(e){return e.shapeFlag&128?e.ssContent:e}function Ma(e,t,n=pt,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{Wn();const a=Fi(n),c=en(t,n,e,o);return a(),Jn(),c});return r?i.unshift(s):i.push(s),s}}const Xn=e=>(t,n=pt)=>{(!Wr||e==="sp")&&Ma(e,(...r)=>t(...r),n)},P0=Xn("bm"),Sn=Xn("m"),L0=Xn("bu"),gm=Xn("u"),$i=Xn("bum"),Cu=Xn("um"),M0=Xn("sp"),$0=Xn("rtg"),F0=Xn("rtc");function _m(e,t=pt){Ma("ec",e,t)}const ku="components",U0="directives";function Pf(e,t){return Ou(ku,e,!0,t)||e}const ym=Symbol.for("v-ndc");function H0(e){return He(e)?Ou(ku,e,!1)||e:e||ym}function vm(e){return Ou(U0,e)}function Ou(e,t,n=!0,r=!1){const i=ht||pt;if(i){const s=i.type;if(e===ku){const a=hl(s,!1);if(a&&(a===t||a===It(t)||a===Ca(It(t))))return s}const o=Lf(i[e]||s[e],t)||Lf(i.appContext[e],t);return!o&&r?s:o}}function Lf(e,t){return e&&(e[t]||e[It(t)]||e[Ca(It(t))])}function Sm(e,t,n,r){let i;const s=n,o=le(e);
vendor: 3,660 bytes, line 4
4if(o||He(e)){const a=o&&yn(e);let c=!1,u=!1;a&&(c=!Bt(e),u=vn(e),e=Da(e)),i=new Array(e.length);for(let l=0,f=e.length;l<f;l++)i[l]=t(c?u?bi(on(e[l])):on(e[l]):e[l],l,void 0,s)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,s)}else if(xe(e))if(e[Symbol.iterator])i=Array.from(e,(a,c)=>t(a,c,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let c=0,u=a.length;c<u;c++){const l=a[c];i[c]=t(e[l],l,c,s)}}else i=[];return i}function hc(e,t,n,r,i,s){if(n==null&&(n={}),ht.ce||ht.parent&&$n(ht.parent)&&ht.parent.ce){const u=n,l=Object.keys(u).length>0;return t!=="default"&&(u.name=t),ie(),ct(Je,null,[pe("slot",u,r)],l?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);const a=Fn.length;ie();let c;try{const u=o&&bm(o(n)),l=n.key||s||u&&u.key;c=ct(Je,{key:(l&&!Gt(l)?l:`_${t}`)+(!u&&r?"_fb":"")},u||(r?r():[]),u&&e._===1?64:-2)}catch(u){for(let l=Fn.length;l>a;l--)Ua();throw u}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function bm(e){return e.some(t=>Gr(t)?!(t.type===it||t.type===Je&&!bm(t.children)):!0)?e:null}const cl=e=>e?Wm(e)?Ha(e):cl(e.parent):null,us=lt(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=>cl(e.parent),$root:e=>cl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Em(e),$forceUpdate:e=>e.f||(e.f=()=>{Tu(e.update)}),$nextTick:e=>e.n||(e.n=Xt.bind(e.proxy)),$watch:e=>g0.bind(e)}),mc=(e,t)=>e!==Fe&&!e.__isScriptSetup&&Le(e,t),B0={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(mc(r,t))return o[t]=1,r[t];if(i!==Fe&&Le(i,t))return o[t]=2,i[t];if(Le(s,t))return o[t]=3,s[t];if(n!==Fe&&Le(n,t))return o[t]=4,n[t];ll&&(o[t]=0)}}const u=us[t];let l,f;if(u)return t==="$attrs"&&vt(e.attrs,"get",""),u(e);if((l=a.__cssModules)&&(l=l[t]))return l;if(n!==Fe&&Le(n,t))return o[t]=4,n[t];if(f=c.config.globalProperties,Le(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return mc(i,t)?(i[t]=n,!0):r!==Fe&&Le(r,t)?(r[t]=n,!0):Le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let c;return!!(n[a]||e!==Fe&&a[0]!=="$"&&Le(e,a)||mc(t,a)||Le(s,a)||Le(r,a)||Le(us,a)||Le(i.config.globalProperties,a)||(c=o.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mf(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function gF(e){const t=bn(),n=Wr;let r=e();Rs(),n&&mr(!1);const i=()=>{Fi(t),n&&mr(!0)},s=()=>{bn()!==t&&t.scope.off(),Rs(),n&&mr(!1)};return Ra(r)&&(r=r.catch(o=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(s)),o})),[r,()=>{i(),Promise.resolve().then(s)}]}let ll=!0;function V0(e){const t=Em(e),n=e.proxy,r=e.ctx;ll=!1,t.beforeCreate&&$f(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:c,inject:u,created:l,beforeMount:f,mounted:p,beforeUpdate:d,updated:m,activated:h,deactivated:_,beforeDestroy:w,beforeUnmount:b,destroyed:g,unmounted:y,render:S,renderTracked:C,renderTriggered:T,errorCaptured:x,serverPrefetch:A,expose:L,inheritAttrs:$,components:D,directives:J,filters:U}=t;if(u&&q0(u,r,null),o)for(const I in o){const O=o[I];me(O)&&(r[I]=O.bind(n))}if(i){const I=i.call(n,n);xe(I)&&(e.data=cn(I))}if(ll=!0,s)for(const I in s){const O=s[I],B=me(O)?O.bind(n,n):me(O.get)?O.get.bind(n,n):_n,V=!me
vendor: 4,771 bytes, line 4
4(O)&&me(O.set)?O.set.bind(n):_n,F=we({get:B,set:V});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,get:()=>F.value,set:k=>F.value=k})}if(a)for(const I in a)wm(a[I],r,n,I);if(c){const I=me(c)?c.call(n):c;Reflect.ownKeys(I).forEach(O=>{Mn(O,I[O])})}l&&$f(l,e,"c");function R(I,O){le(O)?O.forEach(B=>I(B.bind(n))):O&&I(O.bind(n))}if(R(P0,f),R(Sn,p),R(L0,d),R(gm,m),R(pm,h),R(hm,_),R(_m,x),R(F0,C),R($0,T),R($i,b),R(Cu,y),R(M0,A),le(L))if(L.length){const I=e.exposed||(e.exposed={});L.forEach(O=>{Object.defineProperty(I,O,{get:()=>n[O],set:B=>n[O]=B,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===_n&&(e.render=S),$!=null&&(e.inheritAttrs=$),D&&(e.components=D),J&&(e.directives=J),A&&Iu(e)}function q0(e,t,n=_n){le(e)&&(e=ul(e));for(const r in e){const i=e[r];let s;xe(i)?"default"in i?s=dt(i.from||r,i.default,!0):s=dt(i.from||r):s=dt(i),Ge(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function $f(e,t,n){en(le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wm(e,t,n,r){let i=r.includes(".")?am(n,r):()=>n[r];if(He(e)){const s=t[e];me(s)&&hr(i,s)}else if(me(e))hr(i,e.bind(n));else if(xe(e))if(le(e))e.forEach(s=>wm(s,t,n,r));else{const s=me(e.handler)?e.handler.bind(n):t[e.handler];me(s)&&hr(i,s,e)}}function Em(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let c;return a?c=a:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(u=>ta(c,u,o,!0)),ta(c,t,o)),xe(t)&&s.set(t,c),c}function ta(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&ta(e,s,n,!0),i&&i.forEach(o=>ta(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=G0[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const G0={data:Ff,props:Uf,emits:Uf,methods:is,computed:is,beforeCreate:Et,created:Et,beforeMount:Et,mounted:Et,beforeUpdate:Et,updated:Et,beforeDestroy:Et,beforeUnmount:Et,destroyed:Et,unmounted:Et,activated:Et,deactivated:Et,errorCaptured:Et,serverPrefetch:Et,components:is,directives:is,watch:J0,provide:Ff,inject:W0};function Ff(e,t){return t?e?function(){return lt(me(e)?e.call(this,this):e,me(t)?t.call(this,this):t)}:t:e}function W0(e,t){return is(ul(e),ul(t))}function ul(e){if(le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Et(e,t){return e?[...new Set([].concat(e,t))]:t}function is(e,t){return e?lt(Object.create(null),e,t):t}function Uf(e,t){return e?le(e)&&le(t)?[...new Set([...e,...t])]:lt(Object.create(null),Mf(e),Mf(t??{})):t}function J0(e,t){if(!e)return t;if(!t)return e;const n=lt(Object.create(null),e);for(const r in t)n[r]=Et(e[r],t[r]);return n}function Tm(){return{app:null,config:{isNativeTag:Oh,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 z0=0;function K0(e,t){return function(r,i=null){me(r)||(r=lt({},r)),i!=null&&!xe(i)&&(i=null);const s=Tm(),o=new WeakSet,a=[];let c=!1;const u=s.app={_uid:z0++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:CS,get config(){return s.config},set config(l){},use(l,...f){return o.has(l)||(l&&me(l.install)?(o.add(l),l.install(u,...f)):me(l)&&(o.add(l),l(u,...f))),u},mixin(l){return s.mixins.includes(l)||s.mixins.push(l),u},component(l,f){return f?(s.components[l]=f,u):s.components[l]},directive(l,f){return f?(s.directives[l]=f,u):s.directives[l]},mount(l,f,p){if(!c){const d=u._ceVNode||pe(r,i);return d.appContext=s,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,l):e(d,l,p),c=!0,u._container=l,l.__vue_app__=u,Ha(d.component)}},onUnmount(l){a.push(l)},unmount(){c&&(en(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(l,f){return s.provides[l]=f,u},runWithContext(l){const f=Fr;Fr=u;try{return l()}finally{Fr=f}}};return u}}let Fr=null;const Y0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${Zr(t)}Modifiers`];function Q0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Fe;let i=n;const s=t.startsWith("update:"),o=s&&Y0(r,t.slice(7));o&&(o.trim&&(i=n.map(l=>He(l)?l.trim():l)),o.number&&(i=i.map(ka)));let a,c=r[a=oc(t)]||r[a=oc(It(t))];!c&&s&&(c=r[a=oc(Zr(t))]),c&&en(c,e,6,i);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,en(u,e,6,i)}}const X0=new WeakMap;function Rm(e,t,n=!1){const r=n?X0:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!me(e)){const c=u=>{const l=Rm(u,t,!0);l&&(a=!0,lt(o,l))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}
vendor: 4,167 bytes, line 4
4return!s&&!a?(xe(e)&&r.set(e,null),null):(le(s)?s.forEach(c=>o[c]=null):lt(o,s),xe(e)&&r.set(e,o),o)}function $a(e,t){return!e||!Us(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Le(e,t[0].toLowerCase()+t.slice(1))||Le(e,Zr(t))||Le(e,t))}function gc(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:c,render:u,renderCache:l,props:f,data:p,setupState:d,ctx:m,inheritAttrs:h}=e,_=Xo(e);let w,b;try{if(n.shapeFlag&4){const y=i||r,S=y;w=$t(u.call(S,y,l,f,d,p,m)),b=a}else{const y=t;w=$t(y.length>1?y(f,{attrs:a,slots:o,emit:c}):y(f,null)),b=t.props?a:j0(a)}}catch(y){Fn.length=0,Mi(y,e,1),w=pe(it)}let g=w;if(b&&h!==!1){const y=Object.keys(b),{shapeFlag:S}=g;y.length&&S&7&&(s&&y.some(Ta)&&(b=eS(b,s)),g=Vt(g,b,!1,!0))}if(n.dirs&&(g=Vt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition){const y=La(g.type)&&Zo(g)||g;wi(y,n.transition)}return w=g,Xo(_),w}function Z0(e,t=!0){let n;for(let r=0;r<e.length;r++){const i=e[r];if(Gr(i)){if(i.type!==it||i.children==="v-if"){if(n)return;n=i}}else return}return n}const j0=e=>{let t;for(const n in e)(n==="class"||n==="style"||Us(n))&&((t||(t={}))[n]=e[n]);return t},eS=(e,t)=>{const n={};for(const r in e)(!Ta(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tS(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:c}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Hf(r,o,u):!!o;if(c&8){const l=t.dynamicProps;for(let f=0;f<l.length;f++){const p=l[f];if(Im(o,r,p)&&!$a(u,p))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Hf(r,o,u):!0:!!o;return!1}function Hf(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(Im(t,e,s)&&!$a(n,s))return!0}return!1}function Im(e,t,n){const r=e[n],i=t[n];return n==="style"&&xe(r)&&xe(i)?!Gn(r,i):r!==i}function Fa({vnode:e,parent:t,suspense:n},r){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=r,e=i),i===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Am={},Cm=()=>Object.create(Am),km=e=>Object.getPrototypeOf(e)===Am;function nS(e,t,n,r=!1){const i={},s=Cm();e.propsDefaults=Object.create(null),Om(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:mn(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function rS(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=ke(i),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const l=e.vnode.dynamicProps;for(let f=0;f<l.length;f++){let p=l[f];if($a(e.emitsOptions,p))continue;const d=t[p];if(c)if(Le(s,p))d!==s[p]&&(s[p]=d,u=!0);else{const m=It(p);i[m]=fl(c,a,m,d,e,!1)}else d!==s[p]&&(s[p]=d,u=!0)}}}else{Om(e,t,i,s)&&(u=!0);let l;for(const f in a)(!t||!Le(t,f)&&((l=Zr(f))===f||!Le(t,l)))&&(c?n&&(n[f]!==void 0||n[l]!==void 0)&&(i[f]=fl(c,a,f,void 0,e,!0)):delete i[f]);if(s!==a)for(const f in s)(!t||!Le(t,f))&&(delete s[f],u=!0)}u&&Pn(e.attrs,"set","")}function Om(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let c in t){if(Mr(c))continue;const u=t[c];let l;i&&Le(i,l=It(c))?!s||!s.includes(l)?n[l]=u:(a||(a={}))[l]=u:$a(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,o=!0)}if(s){const c=ke(n),u=a||Fe;for(let l=0;l<s.length;l++){const f=s[l];n[f]=fl(i,c,f,u[f],e,!Le(u,f))}}return o}function fl(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=Le(o,"default");if(a&&r===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&me(c)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const l=Fi(i);r=u[n]=c.call(null,t),l()}}else r=c;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===Zr(n))&&(r=!0))}return r}const iS=new WeakMap;function Nm(e,t,n=!1){const r=n?iS:t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let c=!1;if(!me(e)){const l=f=>{c=!0;const[p,d]=Nm(f,t,!0);lt(o,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!s&&!c)return xe(e)&&r.set(e,fi),fi;if(le(s))for(let l=0;l<s.length;l++){const f=It(s[l]);Bf(f)&&(o[f]=Fe)}else if(s)for(const l in s){const f=It(l);
vendor: 1,408 bytes, line 4
4if(Bf(f)){const p=s[l],d=o[f]=le(p)||me(p)?{type:p}:lt({},p),m=d.type;let h=!1,_=!0;if(le(m))for(let w=0;w<m.length;++w){const b=m[w],g=me(b)&&b.name;if(g==="Boolean"){h=!0;break}else g==="String"&&(_=!1)}else h=me(m)&&m.name==="Boolean";d[0]=h,d[1]=_,(h||Le(d,"default"))&&a.push(f)}}const u=[o,a];return xe(e)&&r.set(e,u),u}function Bf(e){return e[0]!=="$"&&!Mr(e)}const Nu=e=>e==="_"||e==="_ctx"||e==="$stable",xu=e=>le(e)?e.map($t):[$t(e)],sS=(e,t,n)=>{if(t._n)return t;const r=ft((...i)=>xu(t(...i)),n);return r._c=!1,r},xm=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Nu(i))continue;const s=e[i];if(me(s))t[i]=sS(i,s,r);else if(s!=null){const o=xu(s);t[i]=()=>o}}},Dm=(e,t)=>{const n=xu(t);e.slots.default=()=>n},Pm=(e,t,n)=>{for(const r in t)(n||!Nu(r))&&(e[r]=t[r])},oS=(e,t,n)=>{const r=e.slots=Cm();if(e.vnode.shapeFlag&32){const i=t._;i?(Pm(r,t,n),n&&Dh(r,"_",i,!0)):xm(t,r)}else t&&Dm(e,t)},aS=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Fe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Pm(i,t,n):(s=!t.$stable,xm(t,i)),o=t}else t&&(Dm(e,t),o={default:1});if(s)for(const a in i)!Nu(a)&&o[a]==null&&delete i[a]},at=Bm;function cS(e){return Lm(e)}function lS(e){return Lm(e,E0)}function Lm(e,t){const n=Oa();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:c,setText:u,setElementText:l,parentNode:f,nextSibling:p,setScopeId:d=_n,insertStaticContent:m}
vendor: 20,719 bytes, line 4
4=e,h=(v,E,P,G=null,H=null,q=null,ee=void 0,j=null,Y=!!E.dynamicChildren)=>{if(v===E)return;v&&!nn(v,E)&&(G=M(v),k(v,H,q,!0),v=null),E.patchFlag===-2&&(Y=!1,E.dynamicChildren=null);const{type:W,ref:fe,shapeFlag:ne}=E;switch(W){case Ur:_(v,E,P,G);break;case it:w(v,E,P,G);break;case gi:v==null&&b(E,P,G,ee);break;case Je:D(v,E,P,G,H,q,ee,j,Y);break;default:ne&1?S(v,E,P,G,H,q,ee,j,Y):ne&6?J(v,E,P,G,H,q,ee,j,Y):(ne&64||ne&128)&&W.process(v,E,P,G,H,q,ee,j,Y,X)}fe!=null&&H?hi(fe,v&&v.ref,q,E||v,!E):fe==null&&v&&v.ref!=null&&hi(v.ref,null,q,v,!0)},_=(v,E,P,G)=>{if(v==null)r(E.el=a(E.children),P,G);else{const H=E.el=v.el;E.children!==v.children&&u(H,E.children)}},w=(v,E,P,G)=>{v==null?r(E.el=c(E.children||""),P,G):E.el=v.el},b=(v,E,P,G)=>{[v.el,v.anchor]=m(v.children,E,P,G,v.el,v.anchor)},g=({el:v,anchor:E},P,G)=>{let H;for(;v&&v!==E;)H=p(v),r(v,P,G),v=H;r(E,P,G)},y=({el:v,anchor:E})=>{let P;for(;v&&v!==E;)P=p(v),i(v),v=P;i(E)},S=(v,E,P,G,H,q,ee,j,Y)=>{if(E.type==="svg"?ee="svg":E.type==="math"&&(ee="mathml"),v==null)C(E,P,G,H,q,ee,j,Y);else{const W=v.el&&v.el._isVueCE?v.el:null;try{W&&W._beginPatch(),A(v,E,H,q,ee,j,Y)}finally{W&&W._endPatch()}}},C=(v,E,P,G,H,q,ee,j)=>{let Y,W;const{props:fe,shapeFlag:ne,transition:ce,dirs:he}=v;if(Y=v.el=o(v.type,q,fe&&fe.is,fe),ne&8?l(Y,v.children):ne&16&&x(v.children,Y,null,G,H,_c(v,q),ee,j),he&&dn(v,null,G,"created"),T(Y,v,v.scopeId,ee,G),fe){for(const Oe in fe)Oe!=="value"&&!Mr(Oe)&&s(Y,Oe,null,fe[Oe],q,G);"value"in fe&&s(Y,"value",null,fe.value,q),(W=fe.onVnodeBeforeMount)&&Nt(W,G,v)}he&&dn(v,null,G,"beforeMount");const Te=Mm(H,ce);Te&&ce.beforeEnter(Y),r(Y,E,P),((W=fe&&fe.onVnodeMounted)||Te||he)&&at(()=>{W&&Nt(W,G,v),Te&&ce.enter(Y),he&&dn(v,null,G,"mounted")},H)},T=(v,E,P,G,H)=>{if(P&&d(v,P),G)for(let q=0;q<G.length;q++)d(v,G[q]);if(H){let q=H.subTree;if(E===q||ra(q.type)&&(q.ssContent===E||q.ssFallback===E)){const ee=H.vnode;T(v,ee,ee.scopeId,ee.slotScopeIds,H.parent)}}},x=(v,E,P,G,H,q,ee,j,Y=0)=>{for(let W=Y;W<v.length;W++){const fe=v[W]=j?Nn(v[W]):$t(v[W]);h(null,fe,E,P,G,H,q,ee,j)}},A=(v,E,P,G,H,q,ee)=>{const j=E.el=v.el;let{patchFlag:Y,dynamicChildren:W,dirs:fe}=E;Y|=v.patchFlag&16;const ne=v.props||Fe,ce=E.props||Fe;let he;if(P&&Rr(P,!1),(he=ce.onVnodeBeforeUpdate)&&Nt(he,P,E,v),fe&&dn(E,v,P,"beforeUpdate"),P&&Rr(P,!0),W&&(!v.dynamicChildren||v.dynamicChildren.length!==W.length)&&(Y=0,ee=!1,W=null),(ne.innerHTML&&ce.innerHTML==null||ne.textContent&&ce.textContent==null)&&l(j,""),W?L(v.dynamicChildren,W,j,P,G,_c(E,H),q):ee||O(v,E,j,null,P,G,_c(E,H),q,!1),Y>0){if(Y&16)$(j,ne,ce,P,H);else if(Y&2&&ne.class!==ce.class&&s(j,"class",null,ce.class,H),Y&4&&s(j,"style",ne.style,ce.style,H),Y&8){const Te=E.dynamicProps;for(let Oe=0;Oe<Te.length;Oe++){const Ae=Te[Oe],Ye=ne[Ae],je=ce[Ae];(je!==Ye||Ae==="value")&&s(j,Ae,Ye,je,H,P)}}Y&1&&v.children!==E.children&&l(j,E.children)}else!ee&&W==null&&$(j,ne,ce,P,H);((he=ce.onVnodeUpdated)||fe)&&at(()=>{he&&Nt(he,P,E,v),fe&&dn(E,v,P,"updated")},G)},L=(v,E,P,G,H,q,ee)=>{for(let j=0;j<E.length;j++){const Y=v[j],W=E[j],fe=Y.el&&(Y.type===Je||!nn(Y,W)||Y.shapeFlag&198)?f(Y.el):P;h(Y,W,fe,null,G,H,q,ee,!0)}},$=(v,E,P,G,H)=>{if(E!==P){if(E!==Fe)for(const q in E)!Mr(q)&&!(q in P)&&s(v,q,E[q],null,H,G);for(const q in P){if(Mr(q))continue;const ee=P[q],j=E[q];ee!==j&&q!=="value"&&s(v,q,j,ee,H,G)}"value"in P&&s(v,"value",E.value,P.value,H)}},D=(v,E,P,G,H,q,ee,j,Y)=>{const W=E.el=v?v.el:a(""),fe=E.anchor=v?v.anchor:a("");let{patchFlag:ne,dynamicChildren:ce,slotScopeIds:he}=E;he&&(j=j?j.concat(he):he),v==null?(r(W,P,G),r(fe,P,G),x(E.children||[],P,fe,H,q,ee,j,Y)):ne>0&&ne&64&&ce&&v.dynamicChildren&&v.dynamicChildren.length===ce.length?(L(v.dynamicChildren,ce,P,H,q,ee,j),(E.key!=null||H&&E===H.subTree)&&$m(v,E,!0)):O(v,E,P,fe,H,q,ee,j,Y)},J=(v,E,P,G,H,q,ee,j,Y)=>{E.slotScopeIds=j,v==null?E.shapeFlag&512?H.ctx.activate(E,P,G,ee,Y):U(E,P,G,H,q,ee,Y):N(v,E,Y)},U=(v,E,P,G,H,q,ee)=>{const j=v.component=wS(v,G,H);if(Vs(v)&&(j.ctx.renderer=X),ES(j,!1,ee),j.asyncDep){if(H&&H.registerDep(j,R,ee),!v.el){const Y=j.subTree=pe(it);w(null,Y,E,P),v.placeholder=Y.el}}else R(j,v,E,P,H,q,ee)},N=(v,E,P)=>{const G=E.component=v.component;if(tS(v,E,P))if(G.asyncDep&&!G.asyncResolved){I(G,E,P);return}else G.next=E,G.update();else E.el=v.el,G.vnode=E},R=(v,E,P,G,H,q,ee)=>{const j=()=>{if(v.isMounted){let{next:ne,bu:ce,u:he,parent:Te,vnode:Oe}=v;{const yt=Fm(v);if(yt){ne&&(ne.el=Oe.el,I(v,ne,ee)),yt.asyncDep.then(()=>{at(()=>{v.isUnmounted||W()},H)});return}}let Ae=ne,Ye;Rr(v,!1),ne?(ne.el=Oe.el,I(v,ne,ee)):ne=Oe,ce&&di(ce),(Ye=ne.props&&ne.props.onVnodeBeforeUpdate)&&Nt(Ye,Te,ne,Oe),Rr(v,!0);const je=gc(v),kt=v.subTree;v.subTree=je,h(kt,je,f(kt.el),M(kt),v,H,q),ne.el=je.el,Ae===null&&Fa(v,je.el),he&&at(he,H),(Ye=ne.props&&ne.props.onVnodeUpdated)&&at(()=>Nt(Ye,Te,ne,Oe),H)}else{let ne;const{el:ce,props:he}=E,{bm:Te,m:Oe,parent:Ae,root:Ye,type:je}=v,kt=$n(E);if(Rr(v,!1),Te&&di(Te),!kt&&(ne=he&&he.onVnodeBeforeMount)&&Nt(ne,Ae,E),Rr(v,!0),ce&&Ie){const yt=()=>{v.subTree=gc(v),Ie(ce,v.subTree,v,H,null)};kt&&je.__asyncHydrate?je.__asyncHydrate(ce,v,yt):yt()}else{Ye.ce&&Ye.ce._hasShadowRoot()&&Ye.ce._injectChildStyle(je,v.parent?v.parent.type:void 0);const yt=v.subTree=gc(v);h(null,yt,P,G,v,H,q),E.el=yt.el}if(Oe&&at(Oe,H),!kt&&(ne=he&&he.onVnodeMounted)){const yt=E;at(()=>Nt(ne,Ae,yt),H)}(E.shapeFlag&256||Ae&&$n(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&v.a&&at(v.a,H),v.isMounted=!0,E=P=G=null}};v.scope.on();const Y=v.effect=new Uh(j);v.scope.off();const W=v.update=Y.run.bind(Y),fe=v.job=Y.runIfDirty.bind(Y);fe.i=v,fe.id=v.uid,Y.scheduler=()=>Tu(fe),Rr(v,!0),W()},I=(v,E,P)=>{E.component=v;const G=v.vnode.props;v.vnode=E,v.next=null,rS(v,E.props,G,P),aS(v,E.children,P),Wn(),Of(v),Jn()},O=(v,E,P,G,H,q,ee,j,Y=!1)=>{const W=v&&v.children,fe=v?v.shapeFlag:0,ne=E.children,{patchFlag:ce,shapeFlag:he}=E;if(ce>0){if(ce&128){V(W,ne,P,G,H,q,ee,j,Y);return}else if(ce&256){B(W,ne,P,G,H,q,ee,j,Y);return}}he&8?(fe&16&&ye(W,H,q),ne!==W&&l(P,ne)):fe&16?he&16?V(W,ne,P,G,H,q,ee,j,Y):ye(W,H,q,!0):(fe&8&&l(P,""),he&16&&x(ne,P,G,H,q,ee,j,Y))},B=(v,E,P,G,H,q,ee,j,Y)=>{v=v||fi,E=E||fi;const W=v.length,fe=E.length,ne=Math.min(W,fe);let ce;for(ce=0;ce<ne;ce++){const he=E[ce]=Y?Nn(E[ce]):$t(E[ce]);h(v[ce],he,P,null,H,q,ee,j,Y)}W>fe?ye(v,H,q,!0,!1,ne):x(E,P,G,H,q,ee,j,Y,ne)},V=(v,E,P,G,H,q,ee,j,Y)=>{let W=0;const fe=E.length;let ne=v.length-1,ce=fe-1;for(;W<=ne&&W<=ce;){const he=v[W],Te=E[W]=Y?Nn(E[W]):$t(E[W]);if(nn(he,Te))h(he,Te,P,null,H,q,ee,j,Y);else break;W++}for(;W<=ne&&W<=ce;){const he=v[ne],Te=E[ce]=Y?Nn(E[ce]):$t(E[ce]);if(nn(he,Te))h(he,Te,P,null,H,q,ee,j,Y);else break;ne--,ce--}if(W>ne){if(W<=ce){const he=ce+1,Te=he<fe?E[he].el:G;for(;W<=ce;)h(null,E[W]=Y?Nn(E[W]):$t(E[W]),P,Te,H,q,ee,j,Y),W++}}else if(W>ce)for(;W<=ne;)k(v[W],H,q,!0),W++;else{const he=W,Te=W,Oe=new Map;for(W=Te;W<=ce;W++){const wt=E[W]=Y?Nn(E[W]):$t(E[W]);wt.key!=null&&Oe.set(wt.key,W)}let Ae,Ye=0;const je=ce-Te+1;let kt=!1,yt=0;const tr=new Array(je);for(W=0;W<je;W++)tr[W]=0;for(W=he;W<=ne;W++){const wt=v[W];if(Ye>=je){k(wt,H,q,!0);continue}let Me;if(wt.key!=null)Me=Oe.get(wt.key);else for(Ae=Te;Ae<=ce;Ae++)if(tr[Ae-Te]===0&&nn(wt,E[Ae])){Me=Ae;break}Me===void 0?k(wt,H,q,!0):(tr[Me-Te]=W+1,Me>=yt?yt=Me:kt=!0,h(wt,E[Me],P,null,H,q,ee,j,Y),Ye++)}const Yi=kt?uS(tr):fi;for(Ae=Yi.length-1,W=je-1;W>=0;W--){const wt=Te+W,Me=E[wt],nt=E[wt+1],$e=wt+1<fe?nt.el||Um(nt):G;tr[W]===0?h(null,Me,P,$e,H,q,ee,j,Y):kt&&(Ae<0||W!==Yi[Ae]?F(Me,P,$e,2):Ae--)}}},F=(v,E,P,G,H=null)=>{const{el:q,type:ee,transition:j,children:Y,shapeFlag:W}=v;if(W&6){F(v.component.subTree,E,P,G);return}if(W&128){v.suspense.move(E,P,G);return}if(W&64){ee.move(v,E,P,X);return}if(ee===Je){r(q,E,P);for(let ne=0;ne<Y.length;ne++)F(Y[ne],E,P,G);r(v.anchor,E,P);return}if(ee===gi){g(v,E,P);return}if(G!==2&&W&1&&j)if(G===0)j.persisted&&!q[Qt]?r(q,E,P):(j.beforeEnter(q),r(q,E,P),at(()=>j.enter(q),H));else{const{leave:ne,delayLeave:ce,afterLeave:he}=j,Te=()=>{v.ctx.isUnmounted?i(q):r(q,E,P)},Oe=()=>{const Ae=q._isLeaving||!!q[Qt];q._isLeaving&&q[Qt](!0),j.persisted&&!Ae?Te():ne(q,()=>{Te(),he&&he()})};ce?ce(q,Te,Oe):Oe()}else r(q,E,P)},k=(v,E,P,G=!1,H=!1)=>{const{type:q,props:ee,ref:j,children:Y,dynamicChildren:W,shapeFlag:fe,patchFlag:ne,dirs:ce,cacheIndex:he,memo:Te}=v;if(ne===-2&&(H=!1),j!=null&&(Wn(),hi(j,null,P,v,!0),Jn()),he!=null&&(E.renderCache[he]=void 0),fe&256){E.ctx.deactivate(v);return}const Oe=fe&1&&ce,Ae=!$n(v);let Ye;if(Ae&&(Ye=ee&&ee.onVnodeBeforeUnmount)&&Nt(Ye,E,v),fe&6)be(v.component,P,G);else{if(fe&128){v.suspense.unmount(P,G);return}Oe&&dn(v,null,E,"beforeUnmount"),fe&64?v.type.remove(v,E,P,X,G):W&&!W.hasOnce&&(q!==Je||ne>0&&ne&64)?ye(W,E,P,!1,!0):(q===Je&&ne&384||!H&&fe&16)&&ye(Y,E,P),G&&z(v)}const je=Te!=null&&he==null;(Ae&&(Ye=ee&&ee.onVnodeUnmounted)||Oe||je)&&at(()=>{Ye&&Nt(Ye,E,v),Oe&&dn(v,null,E,"unmounted"),je&&(v.el=null)},P)},z=v=>{const{type:E,el:P,anchor:G,transition:H}=v;if(E===Je){se(P,G);return}if(E===gi){y(v);return}const q=()=>{i(P),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(v.shapeFlag&1&&H&&!H.persisted){const{leave:ee,delayLeave:j}=H,Y=()=>ee(P,q);j?j(v.el,q,Y):Y()}else q()},se=(v,E)=>{let P;for(;v!==E;)P=p(v),i(v),v=P;i(E)},be=(v,E,P)=>{const{bum:G,scope:H,job:q,subTree:ee,um:j,m:Y,a:W}=v;na(Y),na(W),G&&di(G),H.stop(),q&&(q.flags|=8,k(ee,v,E,P)),j&&at(j,E),at(()=>{v.isUnmounted=!0},E)},ye=(v,E,P,G=!1,H=!1,q=0)=>{for(let ee=q;ee<v.length;ee++)k(v[ee],E,P,G,H)},M=v=>{if(v.shapeFlag&6)return M(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const E=p(v.anchor||v.el),P=E&&E[_0];return P?p(P):E};let Z=!1;const K=(v,E,P)=>{let G;v==null?E._vnode&&(k(E._vnode,null,null,!0),G=E._vnode.component):h(E._vnode||null,v,E,null,null,null,P),E._vnode=v,Z||(Z=!0,Of(G),Qo(),Z=!1)},X={p:h,um:k,m:F,r:z,mt:U,mc:x,pc:O,pbc:L,n:M,o:e};let oe,Ie;return t&&([oe,Ie]=t(X)),{render:K,hydrate:oe,createApp:K0(K,oe)}}function _c({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 Rr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $m(e,t,n=!1){const r=e.children,i=t.children;if(le(r)&&le(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Nn(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&$m(o,a)),a.type===Ur&&(a.patchFlag===-1&&(a=i[s]=Nn(a)),a.el=o.el),a.type===it&&!a.el&&(a.el=o.el)}}function uS(e){const t=e.slice(),n=[0];let r,i,s,o,a;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<u?s=a+1:o=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Fm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fm(t)}function na(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Um(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Um(t.subTree):null}const ra=e=>e.__isSuspense;let dl=0;const fS={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,s,o,a,c,u){if(e==null)dS(t,n,r,i,s,o,a,c,u);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}pS(e,t,n,r,i,o,a,c,u)}},hydrate:hS,normalize:mS},Du=fS;function Ts(e,t){const n=e.props&&e.props[t];me(n)&&n()}function dS(e,t,n,r,i,s,o,a,c){const{p:u,o:{createElement:l}}=c,f=l("div"),p=e.suspense=Hm(e,i,r,t,f,n,s,o,a,c);u(null,p.pendingBranch=e.ssContent,f,null,r,p,s,o),p.deps>0?(Ts(e,"onPending"),Ts(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,o),mi(p,e.ssFallback)):p.resolve(!1,!0)}function pS(e,t,n,r,i,s,o,a,{p:c,um:u,o:{createElement:l}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:_,isHydrating:w}=f;if(h)f.pendingBranch=p,nn(h,p)?(c(h,p,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():_&&!w&&!f.isFallbackMountPending&&(c(m,d,n,r,i,null,s,o,a),mi(f,d))):(f.pendingId=dl++,w?(f.isHydrating=!1,f.activeBranch=h):u(h,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=l("div"),_?(c(null,p,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():f.isFallbackMountPending||(c(m,d,n,r,i,null,s,o,a),mi(f,d))):m&&nn(m,p)?(c(m,p,n,r,i,f,s,o,a),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0&&f.resolve()));else if(m&&nn(m,p))c(m,p,n,r,i,f,s,o,a),mi(f,p);else if(Ts(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=dl++,c(null,p,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:g}=f;b>0?setTimeout(()=>{f.pendingId===g&&f.fallback(d)},b):b===0&&f.fallback(d)}}function Hm(e,t,n,r,i,s,o,a,c,u,l=!1){const{p:f,m:p,um:d,n:m,o:{parentNode:h,remove:_}}=u;let w;const b=gS(e);b&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const g=e.props?Ph(e.props.timeout):void 0,y=s,S={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:dl++,timeout:typeof g=="number"?g:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve(C=!1,T=!1){const{vnode:x,activeBranch:A,pendingBranch:L,pendingId:$,effects:D,parentComponent:J,container:U,isInFallback:N}=S;let R=!1;if(S.isHydrating)S.isHydrating=!1;else if(!C){R=A&&L.transition&&L.transition.mode==="out-in";let B=!1;R&&(A.transition.afterLeave=()=>{$===S.pendingId&&(p(L,U,s===y&&!B?m(A):s,0),ol(D),N&&x.ssFallback&&(x.ssFallback.el=null))}),A&&!S.isFallbackMountPending&&(h(A.el)===U&&(s=m(A),B=!0),d(A,J,S,!0),!R&&N&&x.ssFallback&&at(()=>x.ssFallback.el=null,S)),R||p(L,U,s,0)}S.isFallbackMountPending=!1,mi(S,L),S.pendingBranch=null,S.isInFallback=!1;let I=S.parent,O=!1;for(;I;){if(I.pendingBranch){for(let B=0;B<D.length;B++)I.effects.push(D[B]);O=!0;break}I=I.parent}!O&&!R&&ol(D),S.effects=[],b&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),Ts(x,"onResolve")},fallback(C){if(!S.pendingBranch)return;const{vnode:T,activeBranch:x,parentComponent:A,container:L,namespace:$}=S;Ts(T,"onFallback");const D=m(x),J=()=>{if(S.isFallbackMountPending=!1,!S.isInFallback)return;const N=S.vnode.ssFallback;f(null,N,L,D,A,null,$,a,c),mi(S,N)},U=C.transition&&C.transition.mode==="out-in";U&&(S.isFallbackMountPending=!0,x.transition.afterLeave=J),S.isInFallback=!0,d(x,A,null,!0),U||J()},move(C,T,x){S.activeBranch&&p(S.activeBranch,C,T,x),S.container=C},next(){return S.activeBranch&&m(S.activeBranch)},registerDep(C,T,x){const A=!!S.pendingBranch;A&&S.deps++;const L=C.vnode.el;C.asyncDep.catch($=>{Mi($,C,0)}).then($=>{if(C.isUnmounted||S.isUnmounted||S.pendingId!==C.suspenseId)return;Rs(),C.asyncResolved=!0;const{vnode:D}=C;pl(C,$),L&&(D.el=L);const J=!L&&C.subTree.el;T(C,D,h(L||C.subTree.el),L?null:m(C.subTree),S,o,x),J&&(D.placeholder=null,_(J)),Fa(C,D.el),A&&--S.deps===0&&S.resolve()})},unmount(C,T){S.isUnmounted=!0,S.activeBranch&&d(S.activeBranch,n,C,T),S.pendingBranch&&d(S.pendingBranch,n,C,T)}};return S}function hS(e,t,n,r,i,s,o,a,c){const u=t.suspense=Hm(t,r,n,e.parentNode,document.createElement("div"),null,i,s,o,a,!0),l=c(e,u.pendingBranch=t.ssContent,n,u,s,o);return u.deps===0&&u.resolve(!1,!0),l}function mS(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Vf(r?n.default:n),e.ssFallback=r?Vf(n.fallback):pe(it)}function Vf(e){let t;if(me(e)){const n=Ei&&e._c;n&&(e._d=!1,ie()),e=e(),n&&(e._d=!0,t=Pt,Ua())}return le(e)&&(e=Z0(e)),e=$t(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Bm(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):ol(e)}function mi(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Fa(r,i))}function gS(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Je=Symbol.for("v-fgt"),Ur=Symbol.for("v-txt"),it=Symbol.for("v-cmt"),gi=Symbol.for("v-stc"),Fn=[];let Pt=null;function ie(e=!1){Fn.push(Pt=e?null:[])}function Ua(){Fn.pop(),Pt=Fn[Fn.length-1]||null}let Ei=1;function ia(e,t=!1){Ei+=e,e<0&&Pt&&t&&(Pt.hasOnce=!0)}function Vm(e){return e.dynamicChildren=Ei>0?Pt||fi:null,Ua(),Ei>0&&Pt&&Pt.push(e),e}function _e(e,t,n,r,i,s){return Vm(te(e,t,n,r,i,s,!0))}function ct(e,t,n,r,i){return Vm(pe(e,t,n,r,i,!0))}function Gr(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const qm=({key:e})=>e??null,Ao=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||Ge(e)||me(e)?{i:ht,r:e,k:t,f:!!n}:e:null);function te(e,t=null,n=null,r=0,i=null,s=e===Je?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qm(t),ref:t&&Ao(t),scopeId:sm,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:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ht};return a?(sa(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=He(n)?8:16),Ei>0&&!o&&Pt&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Pt.push(c),c}const pe=_S;function _S(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===ym)&&(e=it),Gr(e)){const a=Vt(e,t,!0);return n&&sa(a,n),Ei>0&&!s&&Pt&&(a.shapeFlag&6?Pt[Pt.indexOf(e)]=a:Pt.push(a)),a.patchFlag=-2,a}if(AS(e)&&(e=e.__vccOpts),t){t=yS(t);let{class:a,style:c}=t;a&&!He(a)&&(t.class=Ve(a)),xe(c)&&(Pa(c)&&!le(c)&&(c=lt({},c)),t.style=Na(c))}const o=He(e)?1:ra(e)?128:La(e)?64:xe(e)?4:me(e)?2:0;return te(e,t,n,r,i,o,s,!0)}function yS(e){return e?Pa(e)||km(e)?lt({},e):e:null}function Vt(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:c}=e,u=t?Gm(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&qm(u),ref:t&&t.ref?n&&s?le(s)?s.concat(Ao(t)):[s,Ao(t)]:Ao(t):s,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!==Je?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vt(e.ssContent),ssFallback:e.ssFallback&&Vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&wi(l,c.clone(l)),l}function St(e=" ",t=0){return pe(Ur,null,e,t)}function vS(e,t){const n=pe(gi,null,e);return n.staticCount=t,n}function ze(e="",t=!1){return t?(ie(),ct(it,null,e)):pe(it,null,e)}function $t(e){return e==null||typeof e=="boolean"?pe(it):le(e)?pe(Je,null,e.slice()):Gr(e)?Nn(e):pe(Ur,null,String(e))}function Nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Vt(e)}function sa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),sa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!km(t)?t._ctx=ht:i===3&&ht&&(ht.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(me(t)){if(r&65){sa(e,{default:t});return}t={default:t,_ctx:ht},n=32}else t=String(t),r&64?(n=16,t=[St(t)]):n=8;e.children=t,e.shapeFlag|=n}function Gm(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Ve([t.class,r.class]));else if(i==="style")t.style=Na([t.style,r.style]);else if(Us(i)){const s=t[i],o=r[i];o&&s!==o&&!(le(s)&&s.includes(o))?t[i]=s?[].concat(s,o):o:o==null&&s==null&&!Ta(i)&&(t[i]=o)}else i!==""&&(t[i]=r[i])}return t}function Nt(e,t,n,r=null){en(e,t,7,[n,r])}const SS=Tm();let bS=0;function wS(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||SS,s={uid:bS++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Fh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Nm(r,i),emitsOptions:Rm(r,i),emit:null,emitted:null,propsDefaults:Fe,inheritAttrs:r.inheritAttrs,ctx:Fe,data:Fe,props:Fe,attrs:Fe,slots:Fe,refs:Fe,setupState:Fe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Q0.bind(null,s),e.ce&&e.ce(s),s}let pt=null;const bn=()=>pt||ht;let oa,mr;{const e=Oa(),t=(n,r)=>{let i;
vendor: 1,324 bytes, line 4
4return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};oa=t("__VUE_INSTANCE_SETTERS__",n=>pt=n),mr=t("__VUE_SSR_SETTERS__",n=>Wr=n)}const Fi=e=>{const t=pt;return oa(e),e.scope.on(),()=>{e.scope.off(),oa(t)}},Rs=()=>{pt&&pt.scope.off(),oa(null)};function Wm(e){return e.vnode.shapeFlag&4}let Wr=!1;function ES(e,t=!1,n=!1){t&&mr(t);const{props:r,children:i}=e.vnode,s=Wm(e);nS(e,r,s,t),oS(e,i,n||t);const o=s?TS(e,t):void 0;return t&&mr(!1),o}function TS(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,B0);const{setup:r}=n;if(r){Wn();const i=e.setupContext=r.length>1?IS(e):null,s=Fi(e),o=Hs(r,e,0,[e.props,i]),a=Ra(o);if(Jn(),s(),(a||e.sp)&&!$n(e)&&Iu(e),a){if(o.then(Rs,Rs),t)return o.then(c=>{mr(!0);try{pl(e,c,t)}finally{mr(!1)}}).catch(c=>{Mi(c,e,0)});e.asyncDep=o}else pl(e,o)}else Jm(e)}function pl(e,t,n){me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:xe(t)&&(e.setupState=em(t)),Jm(e)}function Jm(e,t,n){const r=e.type;e.render||(e.render=r.render||_n);{const i=Fi(e);Wn();try{V0(e)}finally{Jn(),i()}}}const RS={get(e,t){return vt(e,"get",""),e[t]}};function IS(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,RS),slots:e.slots,emit:e.emit,expose:t}}function Ha(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(em(Eu(e.exp
vendor: 1,258 bytes, line 4
4osed)),{get(t,n){if(n in t)return t[n];if(n in us)return us[n](e)},has(t,n){return n in t||n in us}})):e.proxy}function hl(e,t=!0){return me(e)?e.displayName||e.name:e.name||t&&e.__name}function AS(e){return me(e)&&"__vccOpts"in e}const we=(e,t)=>c0(e,t,Wr);function Ke(e,t,n){try{ia(-1);const r=arguments.length;return r===2?xe(t)&&!le(t)?Gr(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gr(n)&&(n=[n]),pe(e,t,n))}finally{ia(1)}}const CS="3.5.42";let ml;const qf=typeof window<"u"&&window.trustedTypes;if(qf)try{ml=qf.createPolicy("vue",{createHTML:e=>e})}catch{}const zm=ml?e=>ml.createHTML(e):e=>e,kS="http://www.w3.org/2000/svg",OS="http://www.w3.org/1998/Math/MathML",kn=typeof document<"u"?document:null,Gf=kn&&kn.createElement("template"),NS={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 i=t==="svg"?kn.createElementNS(kS,e):t==="mathml"?kn.createElementNS(OS,e):n?kn.createElement(e,{is:n}):kn.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>kn.createTextNode(e),createComment:e=>kn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 4,208 bytes, line 4
4{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Gf.innerHTML=zm(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Gf.content;if(r==="svg"||r==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nr="transition",Zi="animation",Is=Symbol("_vtc"),Km={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},xS=lt({},cm,Km),DS=e=>(e.displayName="Transition",e.props=xS,e),PS=DS((e,{slots:t})=>Ke(S0,LS(e),t)),Ir=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},Wf=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function LS(e){const t={};for(const D in e)D in Km||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:u=o,appearToClass:l=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,m=MS(i),h=m&&m[0],_=m&&m[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:g,onLeave:y,onLeaveCancelled:S,onBeforeAppear:C=w,onAppear:T=b,onAppearCancelled:x=g}=t,A=(D,J,U,N)=>{D._enterCancelled=N,Ar(D,J?l:a),Ar(D,J?u:o),U&&U()},L=(D,J)=>{D._isLeaving=!1,Ar(D,f),Ar(D,d),Ar(D,p),J&&J()},$=D=>(J,U)=>{const N=D?T:b,R=()=>A(J,D,U);Ir(N,[J,R]),Jf(()=>{Ar(J,D?c:s),An(J,D?l:a),Wf(N)||zf(J,r,h,R)})};return lt(t,{onBeforeEnter(D){Ir(w,[D]),An(D,s),An(D,o)},onBeforeAppear(D){Ir(C,[D]),An(D,c),An(D,u)},onEnter:$(!1),onAppear:$(!0),onLeave(D,J){D._isLeaving=!0;const U=()=>L(D,J);An(D,f),D._enterCancelled?(An(D,p),Qf(D)):(Qf(D),An(D,p)),Jf(()=>{D._isLeaving&&(Ar(D,f),An(D,d),Wf(y)||zf(D,r,_,U))}),Ir(y,[D,U])},onEnterCancelled(D){A(D,!1,void 0,!0),Ir(g,[D])},onAppearCancelled(D){A(D,!0,void 0,!0),Ir(x,[D])},onLeaveCancelled(D){L(D),Ir(S,[D])}})}function MS(e){if(e==null)return null;if(xe(e))return[yc(e.enter),yc(e.leave)];{const t=yc(e);return[t,t]}}function yc(e){return Ph(e)}function An(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Is]||(e[Is]=new Set)).add(t)}function Ar(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Is];n&&(n.delete(t),n.size||(e[Is]=void 0))}function Jf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $S=0;function zf(e,t,n,r){const i=e._endId=++$S,s=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:c}=FS(e,t);if(!o)return r();const u=o+"end";let l=0;const f=()=>{e.removeEventListener(u,p),s()},p=d=>{d.target===e&&++l>=c&&f()};setTimeout(()=>{l<c&&f()},a+1),e.addEventListener(u,p)}function FS(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),i=r(`${nr}Delay`),s=r(`${nr}Duration`),o=Kf(i,s),a=r(`${Zi}Delay`),c=r(`${Zi}Duration`),u=Kf(a,c);let l=null,f=0,p=0;t===nr?o>0&&(l=nr,f=o,p=s.length):t===Zi?u>0&&(l=Zi,f=u,p=c.length):(f=Math.max(o,u),l=f>0?o>u?nr:Zi:null,p=l?l===nr?s.length:c.length:0);const d=l===nr&&/\b(?:transform|all)(?:,|$)/.test(r(`${nr}Property`).toString());return{type:l,timeout:f,propCount:p,hasTransform:d}}function Kf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Yf(n)+Yf(e[r])))}function Yf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Qf(e){return(e?e.ownerDocument:document).body.offsetHeight}function US(e,t,n){const r=e[Is];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const aa=Symbol("_vod"),Ym=Symbol("_vsh"),_F={name:"show",beforeMount(e,{value:t},{transition:n}){e[aa]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ji(e,t)}
vendor: 4,622 bytes, line 4
4,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),ji(e,!0),r.enter(e)):r.leave(e,()=>{ji(e,!1)}):ji(e,t))},beforeUnmount(e,{value:t}){ji(e,t)}};function ji(e,t){e.style.display=t?e[aa]:"none",e[Ym]=!t}const HS=Symbol(""),BS=/(?:^|;)\s*display\s*:/;function VS(e,t,n){const r=e.style,i=He(n);let s=!1;if(n&&!i){if(t)if(He(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&ss(r,a,"")}else for(const o in t)n[o]==null&&ss(r,o,"");for(const o in n){o==="display"&&(s=!0);const a=n[o];a!=null?GS(e,o,!He(t)&&t?t[o]:void 0,a)||ss(r,o,a):ss(r,o,"")}}else if(i){if(t!==n){const o=r[HS];o&&(n+=";"+o),r.cssText=n,s=BS.test(n)}}else t&&e.removeAttribute("style");aa in e&&(e[aa]=s?r.display:"",e[Ym]&&(r.display="none"))}const fo=/\s*!important$/;function ss(e,t,n){if(le(n))n.forEach(r=>ss(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))fo.test(n)?e.setProperty(t,n.replace(fo,""),"important"):e.setProperty(t,n);else{const r=qS(e,t);fo.test(n)?e.setProperty(Zr(r),n.replace(fo,""),"important"):e[r]=n}}const Xf=["Webkit","Moz","ms"],vc={};function qS(e,t){const n=vc[t];if(n)return n;let r=It(t);if(r!=="filter"&&r in e)return vc[t]=r;r=Ca(r);for(let i=0;i<Xf.length;i++){const s=Xf[i]+r;if(s in e)return vc[t]=s}return t}function GS(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&He(r)&&n===r}const Zf="http://www.w3.org/1999/xlink";function jf(e,t,n,r,i,s=Dv(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Zf,t.slice(6,t.length)):e.setAttributeNS(Zf,t,n):n==null||s&&!Lh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Gt(n)?String(n):n)}function ed(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?zm(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Lh(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function fr(e,t,n,r){e.addEventListener(t,n,r)}function WS(e,t,n,r){e.removeEventListener(t,n,r)}const td=Symbol("_vei");function JS(e,t,n,r,i=null){const s=e[td]||(e[td]={}),o=s[t];if(r&&o)o.value=r;else{const[a,c]=YS(t);if(r){const u=s[t]=ZS(r,i);fr(e,a,u,c)}else o&&(WS(e,a,o,c),s[t]=void 0)}}const zS=/(Once|Passive|Capture)$/,KS=/^on:?(?:Once|Passive|Capture)$/;function YS(e){let t,n;for(;(n=e.match(zS))&&!KS.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Zr(e.slice(2)),t]}let Sc=0;const QS=Promise.resolve(),XS=()=>Sc||(QS.then(()=>Sc=0),Sc=Date.now());function ZS(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const i=n.value;if(le(i)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const o=i.slice(),a=[r];for(let c=0;c<o.length&&!r._stopped;c++){const u=o[c];u&&en(u,t,5,a)}}else en(i,t,5,[r])};return n.value=e,n.attached=XS(),n}const nd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jS=(e,t,n,r,i,s)=>{const o=i==="svg";t==="class"?US(e,r,o):t==="style"?VS(e,n,r):Us(t)?Ta(t)||JS(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eb(e,t,r,o))?(ed(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&jf(e,t,r,o,s,t!=="value")):e._isVueCE&&(tb(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!He(r)))?ed(e,It(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),jf(e,t,r,o))};function eb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&nd(t)&&me(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return nd(t)&&He(n)?!1:t in e}function tb(e,t){const n=e._def.props;if(!n)return!1;const r=It(t);return Array.isArray(n)?n.some(i=>It(i)===r):Object.keys(n).some(i=>It(i)===r)}const Ti=e=>{const t=e.props["onUpdate:modelValue"]||!1;return le(t)?n=>di(t,n):t};function nb(e){e.target.composing=!0}function rd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gn=Symbol("_assign"),po=Symbol("_initialValue");
4function bc(e,t,n){return t&&(e=e.trim()),n&&(e=ka(e)),e}const yF={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type==="text"?e[po]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[po]=e.defaultValue.replace(/\r\n?/g,`
5`))),e[gn]=Ti(i);const s=r||i.props&&i.props.type==="number";fr(e,t?"change":"input",o=>{o.target.composing||e[gn](bc(e.value,n,s))}),(n||s)&&fr(e,"change",()=>{e.value=bc(e.value,n,s)}),t||(fr(e,"compositionstart",nb),fr(e,"compositionend",rd),fr(e,"change",rd))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){const i=t??"",s=e[po];delete e[po],s!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==s?e[gn](bc(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(e[gn]=Ti(o),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?ka(e.value):e.value,c=t??"";if(a===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},vF={deep:!0,created(e,t,n){e[gn]=Ti(n),fr(e,"change",()=>{const r=e._modelValue,i=As(e),s=e.checked,o=e[gn];if(le(r)){const a=mu(r,i),c=a!==-1;if(s&&!c)o(r.concat(i));else if(!s&&c){const u=[...r];u.splice(a,1),o(u)}}else if(qn(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(Qm(e,s))})},mounted:id,beforeUpdate(e,t,n){e[gn]=Ti(n),id(e,t,n)}};function id(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(le(t))i=mu(t,r.props.value)>-1;else if(qn(t))i=t.has(r.props.value);else{if(t===n)return;i=Gn(t,Qm(e,!0))}e.checked!==i&&(e.checked=i)}const SF={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,fr(e,"change",()=>{const i=Array.prototype.filter.call(e.options,c=>c.selected).map(c=>n?ka(As(c)):As(c)),s=e.multiple,o=s?qn(e._modelValue)?new Set(i):i:i[0],a=e._pendingValue=[s,s?le(o)?i.slice():i:o];try{e[gn](o)}finally{Xt(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[gn]=Ti(r)},mounted(e,{value:t}){sd(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[gn]=Ti(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!rb(t,n[1],n[0]))&&sd(e,t)}};function rb(e,t,n){if(!n||le(e))return Gn(e,t);if(qn(e)){if(e.size!==t.length)return!1;for(const r of t)if(!e.has(r))return!1;return!0}return!1}function sd(e,t){const n=e.multiple,r=le(t);if(!(n&&!r&&!qn(t))){for(let i=0,s=e.options.length;i<s;i++){const o=e.options[i],a=As(o);if(n)if(r){const c=typeof a;c==="string"||c==="number"?o.selected=t.some(u=>String(u)===String(a)):o.selected=mu(t,a)>-1}else o.selected=t.has(a);else if(Gn(As(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function As(e){return"_value"in e?e._value:e.value}function Qm(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ib=["ctrl","shift","alt","meta"],sb={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)=>ib.some(n=>e[`${n}Key`]&&!t.includes(n))},ob=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((i,...s)=>{for(let o=0;o<t.length;o++){const a=sb[t[o]];if(a&&a(i,t))return}return e(i,...s)}))},Xm=lt({patchProp:jS},NS);let fs,od=!1;function ab(){return fs||(fs=cS(Xm))}function cb(){return fs=od?fs:lS(Xm),od=!0,fs}const lb=((...e)=>{const t=ab().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=jm(r);if(!i)return;const s=t._component;!me(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Zm(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),ub=((...e)=>{const t=cb().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=jm(r);if(i)return n(i,!0,Zm(i))},t});function Zm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jm(e){return He(e)?document.querySelector(e):e}const fb=/"(?:_|\\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*:/,db=/"(?: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*:/,pb=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function hb(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){mb(e);return}return t}function mb(e){`${e}`}function ca(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(!pb.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(fb.test(e)||db.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,hb)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const eg=/#/g,tg=/&/g,gb=/\//g,_b=/=/g,yb=/\?/g,Ba=/\+/g,vb=/%5e/gi,Sb=/%60/gi,bb=/%7c/gi,wb=/%20/gi,Eb=/%2f/gi,Tb=/%252f/gi;function ng(e){return encodeURI(""+e).replace(bb,"|")}function gl(e){return ng(typeof e=="string"?e:JSON.stringify(e)).replace(Ba,"%2B").replace(wb,"+").replace(eg,"%23").replace(tg,"%26").replace(Sb,"`").replace(vb,"^").replace(gb,"%2F")}function wc(e){return gl(e).replace(_b,"%3D")}function Rb(e){return ng(e).replace(eg,"%23").replace(yb,"%3F").replace(Tb,"%2F").replace(tg,"%26").replace(Ba,"%2B")}function Cs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ib(e){return Cs(e.replace(Eb,"%252F"))}function Ab(e){return Cs(e.replace(Ba," "))}function Cb(e){return Cs(e.replace(Ba," "))}function Pu(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 i=Ab(r[1]);if(i==="__proto__"||i==="constructor")continue;const s=Cb(r[2]||"");t[i]===void 0?t[i]=s:Array.isArray(t[i])?t[i].push(s):t[i]=[t[i],s]}return t}function kb(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${wc(e)}=${gl(n)}`).join("&"):`${wc(e)}=${gl(t)}`:wc(e)}function Ob(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
5kb(t,e[t])).filter(Boolean).join("&")}const Nb=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,xb=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Db=/^([/\\]\s*){2,}[^/\\]/,Pb=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Lb=/\/$|\/\?|\/#/,Mb=/^\.?\//;function vr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Nb.test(e):xb.test(e)||(t.acceptRelative?Db.test(e):!1)}function $b(e){return!!e&&Pb.test(e)}function _l(e="",t){return t?Lb.test(e):e.endsWith("/")}function ks(e="",t){if(!t)return(_l(e)?e.slice(0,-1):e)||"/";if(!_l(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");i!==-1&&(n=e.slice(0,i),r=e.slice(i));const[s,...o]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function rg(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(_l(e,!0))return e||"/";let n=e,r="";const i=e.indexOf("#");if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;const[s,...o]=n.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function Fb(e,t){if(sg(t)||vr(e))return e;const n=ks(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Lu(n,e)}function ad(e,t){if(sg(t))return e;const n=ks(t);if(!e.startsWith(n))return e;const r=e[n.length];return r&&r!=="/"&&r!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function ig(e,t){const n=Mu(e),r={...Pu(n.search),...t};return n.search=Ob(r),Hb(n)}function sg(e){return!e||e==="/"}function Ub(e){return e&&e!=="/"}function Lu(e,...t){let n=e||"";for(const r of t.filter(i=>Ub(i)))if(n){const i=r.replace(Mb,"");n=rg(n)+i}else n=r;return n}function og(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let i=0;for(const o of n)if(!(!o||o==="/")){for(const[a,c]of o.split(t).entries())if(!(!c||c===".")){if(c===".."){if(r.length===1&&vr(r[0]))continue;r.pop(),i--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+c;continue}r.push(c),i++}}let s=r.join("/");return i>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*i)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function ag(e,t){return Cs(ks(e))===Cs(ks(t))}const cg=Symbol.for("ufo:protocolRelative");function Mu(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!vr(e,{acceptRelative:!0}))return cd(e);const[,r="",i,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=s.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=cd(a);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:o,pathname:c,search:u,hash:l,[cg]:!r}}function cd(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Hb(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",i=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[cg]?(e.protocol||"")+"//":"")+i+s+t+n+r}let Bb=class extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}};function Vb(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",i=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${i}: ${s}${t?` ${t}`:""}`,a=new Bb(o,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[u]}});return a}const qb=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ld(e="GET"){return qb.has(e.toUpperCase())}function Gb(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 Wb=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Jb=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function zb(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Jb.test(t)?"json":t==="text/event-stream"?"stream":Wb.has(t)||t.startsWith("text/")?"text":"blob"}function Kb(e,t,n,r){const i=Yb(t?.headers??e?.headers,n?.headers,r);let s;return(n?.query||n?.params||t?.params||t?.query)&&(s={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:s,params:s,headers:i}}function Yb(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[i,s]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(i,s);return r}async function ho(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}
5const Qb=new Set([408,409,425,429,500,502,503,504]),Xb=new Set([101,204,205,304]);function lg(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let l;typeof a.options.retry=="number"?l=a.options.retry:l=ld(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(l>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Qb.has(f))){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)),s(a.request,{...a.options,retry:l-1})}}const u=Vb(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(c,u={}){const l={request:c,options:Kb(c,u,e.defaults,n),response:void 0,error:void 0};if(l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&(await ho(l,l.options.onRequest),l.options.headers instanceof n||(l.options.headers=new n(l.options.headers||{}))),typeof l.request=="string"&&(l.options.baseURL&&(l.request=Fb(l.request,l.options.baseURL)),l.options.query&&(l.request=ig(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&ld(l.options.method))if(Gb(l.options.body)){const d=l.options.headers.get("content-type");typeof l.options.body!="string"&&(l.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(l.options.body).toString():JSON.stringify(l.options.body)),d||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")}else("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"));let f;if(!l.options.signal&&l.options.timeout){const d=new r;f=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,d.abort(m)},l.options.timeout),l.options.signal=d.signal}try{l.response=await t(l.request,l.options)}catch(d){return l.error=d,l.options.onRequestError&&await ho(l,l.options.onRequestError),await i(l)}finally{f&&clearTimeout(f)}if((l.response.body||l.response._bodyInit)&&!Xb.has(l.response.status)&&l.options.method!=="HEAD"){const d=(l.options.parseResponse?"json":l.options.responseType)||zb(l.response.headers.get("content-type")||"");switch(d){case"json":{const m=await l.response.text(),h=l.options.parseResponse||ca;l.response._data=h(m);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[d]()}}return l.options.onResponse&&await ho(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await ho(l,l.options.onResponseError),await i(l)):l.response},o=async function(c,u){return(await s(c,u))._data};return o.raw=s,o.native=(...a)=>t(...a),o.create=(a={},c={})=>lg({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),o}const la=(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")})(),Zb=la.fetch?(...e)=>la.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),jb=la.Headers,ew=la.AbortController,tw=lg({fetch:Zb,Headers:jb,AbortController:ew}),nw=tw,rw=()=>window?.__NUXT__?.config||{},$u=()=>rw().app,iw=()=>$u().baseURL,sw=()=>$u().buildAssetsDir,Fu=(...e)=>og(ug(),sw(),...e),ug=(...e)=>{const t=$u(),n=t.cdnURL||t.baseURL;return e.length?og(n,...e):n};globalThis.__buildAssetsURL=Fu,globalThis.__publicAssetsURL=ug;globalThis.$fetch||(globalThis.$fetch=nw.create({baseURL:iw()}));"global"in globalThis||(globalThis.global=globalThis);function yl(e,t={},n){for(const r in e){const i=e[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?yl(i,t,s):typeof i=="function"&&(t[s]=i)}return t}const ow={run:e=>e()},aw=()=>ow,fg=typeof console.createTask<"u"?console.createTask:aw;function cw(e,t){const n=t.shift(),r=fg(n);return e.reduce((i,s)=>i.then(()=>r.run(()=>s(...t))),Promise.resolve())}function lw(e,t){const n=t.shift(),r=fg(n);return Promise.all(e.map(i=>r.run(()=>i(...t))))}function Ec(e,t){for(const n of[...e])n(t)}let uw=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 i=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||this._deprecatedMessages.add(o)}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,i=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,n(...s));return r=this.hook(t,i),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 i of r)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=yl(t),r=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(t){const n=yl(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(cw,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(lw,t,...n)}callHookWith(t,n,...r){const i=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ec(this._before,i);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&Ec(this._after,i)}):(this._after&&i&&Ec(this._after,i),s)}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 fw(){return new uw}function dw(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let i;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o&&(i=new o)}const s=()=>
5{if(i){const o=i.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return i?i.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const c=()=>{t=o},u=()=>t===o?c:void 0;vl.add(u);try{const l=i?i.run(o,a):a();return n||(t=void 0),await l}finally{vl.delete(u)}}}}function pw(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=dw({...e,...r})),t[n]}}}const ua=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ud="__unctx__",hw=ua[ud]||(ua[ud]=pw()),mw=(e,t={})=>hw.get(e,t),fd="__unctx_async_handlers__",vl=ua[fd]||(ua[fd]=new Set);function ds(e){const t=[];for(const i of vl){const s=i();s&&t.push(s)}const n=()=>{for(const i of t)i()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(i=>{throw n(),i})),[r,n]}const dd=!1,pd=!1,gw=!1,_w={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},EF={value:null,errorValue:null,deep:!0},yw=null,vw="#__nuxt",dg="nuxt-app",hd=36e5,Sw="vite:preloadError";function pg(e=dg){return mw(e,{asyncContext:!1})}const bw="__nuxt_plugin";function ww(e){let t=0;const n={_id:e.id||dg||"nuxt-app",_scope:gu(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.6"},get vue(){return n.vueApp.version}},payload:mn({...e.ssrContext?.payload||{},data:mn({}),state:cn({}),once:new Set,_errors:mn({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!xa()?n._scope.run(()=>md(n,i)):md(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:mn({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=fw(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const o="$"+i;mo(n,o,s),mo(n.vueApp.config.globalProperties,o,s)},mo(n.vueApp,"$nuxt",n),mo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Sw,s=>{n.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||=ue;const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function Ew(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Tw(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 Rw(e,t){const n=new Set,r=[],i=[];let s,o=0;async function a(c){const u=c.dependsOn?.filter(l=>t.some(f=>f._name===l)&&!n.has(l))??[];if(u.length>0)r.push([new Set(u),c]);else{const l=Tw(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([f,p])=>{f.has(c._name)&&(f.delete(c._name),f.size===0&&(o++,await a(p)))})))}).catch(f=>{if(!c.parallel&&!e.payload.error)throw f;s||=f});c.parallel?i.push(l):await l}}for(const c of t)Ew(e,c);for(const c of t)await a(c);if(await Promise.all(i),o)for(let c=0;c<o;c++)await Promise.all(i);if(s)throw e.payload.error||s}function tt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[bw]:!0,_name:t})}const Iw=tt;function md(e,t,n){const r=()=>t();return pg(e._id).set(e),e.vueApp.runWithContext(r)}function hg(e){let t;return Bs()&&(t=bn()?.appContext.app.$nuxt),t||=pg(e).tryUse(),t||null}function ue(e){const t=hg(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function tn(e){return ue().$config}function mo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Tc(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 Sl(e,t,n=".",r){if(!Tc(t))return Sl(e,{},n,r);const i={...t};for(const s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:Tc(o)&&Tc(i[s])?i[s]=Sl(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function mg(e){return(...t)=>t.reduce((n,r)=>Sl(n,r,"",e),{})}
5const gg=mg(),Aw=mg((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Cw(e,t){try{return t in e}catch{return!1}}class gd 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:bl(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=_g(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function kw(e){if(typeof e=="string")return new gd(e);if(Ow(e))return e;const t=new gd(e.message??e.statusMessage??"",{cause:e.cause||e});if(Cw(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=bl(e.statusCode,t.statusCode):e.status&&(t.statusCode=bl(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage,r=_g(t.statusMessage)}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Ow(e){return e?.constructor?.__h3_error__===!0}const Nw=/[^\u0009\u0020-\u007E]/g;function _g(e=""){return e.replace(Nw,"")}function bl(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const yg=Symbol("layout-meta"),Jr=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Xe=()=>ue()?.$router,qs=()=>Bs()?dt(Jr,ue()._route):ue()._route;const xw=()=>{try{if(ue()._processingMiddleware)return!0}catch{return!1}return!1},vg=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?wl(e):Xe().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:l={}}=t.open,f=[];for(const[p,d]of Object.entries(l))d!==void 0&&f.push(`${p.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const r=vr(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&$b(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const s=xw();if(!i&&s){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:l,hash:f}=Mu(e);return{path:u,...l&&{query:Pu(l)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const o=Xe(),a=ue();if(i)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,s?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const c=typeof e=="string"?Sg(e):e;return t?.replace?o.replace(c):o.push(c)};function wl(e){return ig(e.path||"",e.query||{})+(e.hash||"")}function Sg(e){const t=Mu(e);return Rb(Ib(t.pathname))+t.search+t.hash}const bg="__nuxt_error",Va=()=>o0(ue().payload,"error"),xn=e=>{const t=Lt(e);try{const n=Va();ue().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},Uu=async(e={})=>{const t=ue(),n=Va();t.callHook("app:error:cleared",e),e.redirect&&await Xe().replace(e.redirect),n.value=yw},wg=e=>!!e&&typeof e=="object"&&bg in e,Lt=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=kw(e);return Object.defineProperty(t,bg,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};let Eg;const Gs=e=>Eg=e,Tg=Symbol();function El(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ps;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ps||(ps={}));function Dw(){const e=gu(!0),t=e.run(()=>de({}));let n=[],r=[];const i=Eu({install(s){Gs(i),i._a=s,s.provide(Tg,i),s.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const Rg=()=>{};function _d(e,t,n,r=Rg){e.push(t);const i=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&xa()&&Lv(i),i}
5function ri(e,...t){e.slice().forEach(n=>{n(...t)})}const Pw=e=>e(),yd=Symbol(),Rc=Symbol();function Tl(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],i=e[n];El(i)&&El(r)&&e.hasOwnProperty(n)&&!Ge(r)&&!yn(r)?e[n]=Tl(i,r):e[n]=r}return e}const Lw=Symbol();function Mw(e){return!El(e)||!e.hasOwnProperty(Lw)}const{assign:or}=Object;function $w(e){return!!(Ge(e)&&e.effect)}function Fw(e,t,n,r){const{state:i,actions:s,getters:o}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=i?i():{});const l=r0(n.state.value[e]);return or(l,s,Object.keys(o||{}).reduce((f,p)=>(f[p]=Eu(we(()=>{Gs(n);const d=n._s.get(e);return o[p].call(d,d)})),f),{}))}return c=Ig(e,u,t,n,r,!0),c}function Ig(e,t,n={},r,i,s){let o;const a=or({actions:{}},n),c={deep:!0};let u,l,f=[],p=[],d;const m=r.state.value[e];!s&&!m&&(r.state.value[e]={});let h;function _(x){let A;u=l=!1,typeof x=="function"?(x(r.state.value[e]),A={type:ps.patchFunction,storeId:e,events:d}):(Tl(r.state.value[e],x),A={type:ps.patchObject,payload:x,storeId:e,events:d});const L=h=Symbol();Xt().then(()=>{h===L&&(u=!0)}),l=!0,ri(f,A,r.state.value[e])}const w=s?function(){const{state:A}=n,L=A?A():{};this.$patch($=>{or($,L)})}:Rg;function b(){o.stop(),f=[],p=[],r._s.delete(e)}const g=(x,A="")=>{if(yd in x)return x[Rc]=A,x;const L=function(){Gs(r);const $=Array.from(arguments),D=[],J=[];function U(I){D.push(I)}function N(I){J.push(I)}ri(p,{args:$,name:L[Rc],store:S,after:U,onError:N});let R;try{R=x.apply(this&&this.$id===e?this:S,$)}catch(I){throw ri(J,I),I}return R instanceof Promise?R.then(I=>(ri(D,I),I)).catch(I=>(ri(J,I),Promise.reject(I))):(ri(D,R),R)};return L[yd]=!0,L[Rc]=A,L},y={_p:r,$id:e,$onAction:_d.bind(null,p),$patch:_,$reset:w,$subscribe(x,A={}){const L=_d(f,x,A.detached,()=>$()),$=o.run(()=>hr(()=>r.state.value[e],D=>{(A.flush==="sync"?l:u)&&x({storeId:e,type:ps.direct,events:d},D)},or({},c,A)));return L},$dispose:b},S=cn(y);r._s.set(e,S);const T=(r._a&&r._a.runWithContext||Pw)(()=>r._e.run(()=>(o=gu()).run(()=>t({action:g}))));for(const x in T){const A=T[x];if(Ge(A)&&!$w(A)||yn(A))s||(m&&Mw(A)&&(Ge(A)?A.value=m[x]:Tl(A,m[x])),r.state.value[e][x]=A);else if(typeof A=="function"){const L=g(A,x);T[x]=L,a.actions[x]=A}}return or(S,T),or(ke(S),T),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:x=>{_(A=>{or(A,x)})}}),r._p.forEach(x=>{or(S,o.run(()=>x({store:S,app:r._a,pinia:r,options:a})))}),m&&s&&n.hydrate&&n.hydrate(S.$state,m),u=!0,l=!0,S}function Tn(e,t,n){let r,i;const s=typeof t=="function";typeof e=="string"?(r=e,i=s?n:t):(i=e,r=e.id);function o(a,c){const u=Bs();return a=a||(u?dt(Tg,null):null),a&&Gs(a),a=Eg,a._s.has(r)||(s?Ig(r,t,i,a):Fw(r,i,a)),a._s.get(r)}return o.$id=r,o}const Uw=-1,Hw=-2,Bw=-3,Vw=-4,qw=-5,Gw=-6,Ww=-7,Ag=2**32-1,Rl=Ag-1;function Jw(e){return!(!Number.isInteger(e)||e<0||e>Rl)}function zw(e){return!(!Number.isInteger(e)||e<0||e>Ag)}function Kw(e){return Uint8Array.fromBase64(e).buffer}function Yw(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Qw(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer}const Xw=typeof Uint8Array.fromBase64=="function",Zw=typeof process=="object"&&process.versions?.node!==void 0,jw=Xw?Kw:Zw?Yw:Qw;function eE(e,t){return e}const tE={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{const i=globalThis[e];return n!==void 0?new i(t,n,r):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Rl]=void 0,delete t[Rl],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}},nE=Object.freeze(tE);function rE(e,t,n){return iE(JSON.parse(e),t)}function iE(e,t,n){const r=eE(nE);if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,s=Array(i.length);let o=null;function a(c,u=!1){if(c===Uw)return r.fromPrimitive(void 0);if(c===Bw)return r.fromPrimitive(NaN);if(c===Vw)return r.fromPrimitive(1/0);if(c===qw)return r.fromPrimitive(-1/0);if(c===Gw)return r.fromPrimitive(-0);if(u||typeof c!="number")throw new Error("Invalid input");if(c in s)return s[c];const l=i[c];if(!l||typeof l!="object")s[c]=r.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const f=l[0],p=t&&Object.hasOwn(t,f)?t[f]:void 0;if(p){let d=l[1];if(typeof d!="number"&&(d=i.push(l[1])-1),Object.hasOwn(s,d))return s[c]=p(s[d]);if(o??=new Set,o.has(d))throw new Error("Invalid circular reference");
5return o.add(d),s[c]=p(a(d)),o.delete(d),s[c]}switch(f){case"Date":s[c]=r.fromISOString(l[1]);break;case"Set":const d=r.createSet();s[c]=d;for(let _=1;_<l.length;_+=1)r.addValue(d,a(l[_]));break;case"Map":const m=r.createMap();s[c]=m;for(let _=1;_<l.length;_+=2)r.addEntry(m,a(l[_]),a(l[_+1]));break;case"RegExp":s[c]=r.fromRegExpInfo(l[1],l[2]);break;case"Object":{const _=l[1];if(typeof i[_]=="object"&&i[_][0]!=="BigInt")throw new Error("Invalid input");s[c]=r.box(a(_));break}case"BigInt":s[c]=r.fromPrimitive(BigInt(l[1]));break;case"null":const h=r.createNullPrototypeObject();s[c]=h;for(let _=1;_<l.length;_+=2){if(l[_]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");r.set(h,l[_],a(l[_+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(i[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const _=a(l[1]);s[c]=r.fromViewInfo(f,_,l[2],l[3]);break}case"ArrayBuffer":{const _=l[1];if(typeof _!="string")throw new Error("Invalid ArrayBuffer encoding");s[c]=r.fromArrayBuffer(jw(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{s[c]=r.fromStringValue(f,l[1]);break}default:throw new Error(`Unknown type ${f}`)}}else if(l[0]===Ww){const f=l[1];if(!zw(f))throw new Error("Invalid input");const p=r.createSparseArray(f);s[c]=p;for(let d=2;d<l.length;d+=2){const m=l[d];if(!Jw(m)||m>=f)throw new Error("Invalid input");r.set(p,m,a(l[d+1]))}}else{const f=r.createArray(l.length);s[c]=f;for(let p=0;p<l.length;p+=1){const d=l[p];d!==Hw&&r.set(f,p,a(d))}}else{const f=r.createObject();s[c]=f;
5for(const p of Object.keys(l)){if(p==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");r.set(f,p,a(l[p]))}}return s[c]}return a(0)}const sE=new Set(["link","style","script","noscript"]),oE=new Set(["title","titleTemplate","script","style","noscript"]),Il=new Set(["base","meta","link","style","script","noscript"]),aE=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),cE=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),vd=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),lE=new Set(["templateParams","htmlAttrs","bodyAttrs"]),uE=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Ic=e=>typeof e=="number"?Number.isFinite(e):e;function Cg(e){return e==="__proto__"||e==="constructor"||e==="prototype"}const Al=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Sd={base:-10,title:10},fE={critical:-8,high:-1,low:2},bd={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}},dE=/@import/,es=e=>e===""||e===!0;function pE(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=fE[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:bd;if(t.tag in Sd)n=Sd[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=bd.meta[s])}else if(t.tag==="link"&&t.props.rel)n=i.link[t.props.rel];else if(t.tag==="script"){const s=String(t.props.type);es(t.props.async)?n=i.script.async:t.props.src&&!es(t.props.defer)&&!es(t.props.async)&&s!=="module"&&!s.endsWith("json")||t.innerHTML&&!s.endsWith("json")?n=i.script.sync:(es(t.props.defer)&&t.props.src&&!es(t.props.async)||s==="module")&&(n=i.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&dE.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function Cl(e,t={},n){for(const r in e){const i=e[r],s=n?`${n}:${r}`:r;typeof i=="object"&&i!==null?Cl(i,t,s):typeof i=="function"&&(t[s]=i)}return t}const kg=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Og(e,t,n,r){for(let i=n;i<e.length;i+=1)try{const s=r?r.run(()=>e[i](...t)):e[i](...t);if(s&&typeof s.then=="function")return Promise.resolve(s).then(()=>Og(e,t,i+1,r))}catch(s){return Promise.reject(s)}}function hE(e,t,n){if(e.length>0)return Og(e,t,0,kg(n))}function mE(e,t,n){if(e.length>0){const r=kg(n);return Promise.all(e.map(i=>r.run(()=>i(...t))))}}function Ac(e,t){for(const n of[...e])n(t)}var gE=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 i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||this._deprecatedMessages.add(s)}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=(...i)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...i));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)}}clearHook(e){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=Cl(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=Cl(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(hE,e,t)}callHookParallel(e,...t){return this.callHookWith(mE,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ac(this._before,r);const i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&Ac(this._after,r)}):(this._after&&r&&Ac(this._after,r),i)}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 _E(){return new gE}const yE=["name","property","http-equiv"],vE=new Set(["viewport","description","keywords","robots"]);function Ng(e){const t=e.indexOf(":");if(t===-1)return!1;const n=e.indexOf(":",t+1),r=e.slice(t+1,n===-1?e.length:n);return r==="twitter"?e==="meta:twitter:image"||e.startsWith("meta:twitter:image:"):uE.has(r)}function kl(e){const{props:t,tag:n}=e;if(cE.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of yE)if(t[r]!==void 0){const i=t[r],s=i&&typeof i=="string"&&i.includes(":"),o=i&&vE.has(i),c=!(s||o)&&e.key?`:key:${e.key}`:"";return`${n}:${i}${c}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(oE.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function xg(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;if(n)return n;const r=Object.keys(e.props).sort();return`${e.tag}:${r.map(i=>`${i}:${String(e.props[i])}`).join(",")}`}function fa(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const i=t?t(n,e):e;if(Array.isArray(i)){let s;for(let o=0;o<i.length;o++){const a=fa(i[o],t);s?s[o]=a:a!==i[o]&&(s=i.slice(0,o),s[o]=a)}return s||i}if(i?.constructor===Object){let s;for(const o in i){const a=Cg(o),c=a?void 0:fa(i[o],t,o);if(!s&&(a||o==="_resolver"||c!==i[o])){s={};for(const l in i){if(l===o)break;s[l]=i[l]}}s&&!a&&(s[o]=c)}return s||i}return i}const SE=/[\s"'<>/=\x00-\x1F\x7F]/;function bE(e,t){const n=e==="style"?new Map:new Set;function r(i){if(i==null||i===void 0)return;const s=String(i).trim();if(s)if(e==="style"){const[o,...a]=s.split(":").map(c=>c?c.trim():"");o&&a.length&&n.set(o,a.join(":"))}
5else s.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(i=>r(i)):t&&typeof t=="object"&&Object.entries(t).forEach(([i,s])=>{s&&s!=="false"&&(e==="style"?n.set(String(i).trim(),String(s)):r(i))}),n}function Dg(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Il.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";for(const r of Object.keys(t)){if(Cg(r))continue;const i=r.startsWith("data-"),s=n&&!vd.has(r),o=s&&!i?r.toLowerCase():r;if(s&&(!o||SE.test(o)))continue;const a=t[r];if(a===null){e.props[o]=null;continue}if(r==="class"||r==="style"){e.props[r]=bE(r,a);continue}if(vd.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof a=="object"){let l=t.type;if(t.type||(l="application/json"),!l?.endsWith("json")&&l!=="speculationrules")continue;t.type=l,e.props.type=l,e[r]=JSON.stringify(a)}else e[r]=a;continue}const c=String(a),u=e.tag==="meta"&&o==="content";c==="true"||c===""?e.props[o]=i||u?c:!0:!a&&i&&c==="false"?e.props[o]="false":a!==void 0&&(e.props[o]=a)}return e}function wE(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Dg({tag:e,props:{}},n);return r.key&&sE.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(i=>({...r,props:{...r.props,content:i}})):r}function EE(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(i,s)=>{for(let o=0;o<t.length;o++)s=t[o](i,s);return s};e=n(void 0,e);const r=[];return e=fa(e,n),Object.entries(e||{}).forEach(([i,s])=>{if(s!==void 0)for(const o of Array.isArray(s)?s:[s])r.push(wE(i,o))}),r.flat()}function wd(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 TE(e={}){const t=_E();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,i=new Map,s=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>wd(o,a),push(a,c){const u={...c||{}};delete u.head;const l=u._index??o._entryCount++,f={_i:l,input:a,options:u},p={_poll(d=!1){o.dirty=!0,!d&&s.add(l),t.callHook("entries:updated",o)},dispose(){r.delete(l)&&o.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(l,f),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);s.size;){const p=s.values().next().value;s.delete(p);const d=r.get(p);if(d){const m={tags:EE(d.input,e.propResolvers||[]).map(h=>Object.assign(h,d.options)),entry:d};await t.callHook("entries:normalize",m),d._tags=m.tags.map((h,_)=>(h._w=pE(o,h),h._p=(d._i<<10)+_,h._d=kl(h),h._d||(h._h=xg(h)),h))}}let c=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Al).reduce((p,d)=>{const m=d._d||d._h;if(!p.has(m))return p.set(m,d);const h=p.get(m);if((d?.tagDuplicateStrategy||(lE.has(d.tag)?"merge":null)||(d.key&&d.key===h.key?"merge":null))==="merge"){const w={...h.props};Object.entries(d.props).forEach(([b,g])=>w[b]=b==="style"?new Map([...h.props.style||new Map,...g]):b==="class"?new Set([...h.props.class||new Set,...g]):g),p.set(m,{...d,props:w})}else d._p>>10===h._p>>10&&d.tag==="meta"&&Ng(m)?(p.set(m,Object.assign([...Array.isArray(h)?h:[h],d],d)),c=!0):(d._w===h._w?d._p>h._p:d?._w<h?._w)&&p.set(m,d);return p},a.tagMap);const u=a.tagMap.get("title"),l=a.tagMap.get("titleTemplate");if(o._title=u?.textContent,l){const p=l?.textContent;if(o._titleTemplate=p,p){let d=typeof p=="function"?p(u?.textContent):p;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(l.tag="title",l.textContent=d)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(Al)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const p of a.tags){const{innerHTML:d,tag:m,props:h}=p;if(aE.has(m)&&!(Object.keys(h).length===0&&!Ic(p.innerHTML)&&!Ic(p.textContent))&&!(m==="meta"&&!Ic(h.content)&&!h["http-equiv"]&&!h.charset)){if(m==="script"&&d){if(String(h.type).endsWith("json")){const _=typeof d=="str
5ing"?d:JSON.stringify(d);p.innerHTML=_.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));p._d=kl(p)}f.push(p)}}return f},invalidate(){for(const a of r.values())s.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>wd(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}const Cc="%separator";function RE(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const i=t.indexOf(".");r=e[t.substring(0,i)]?.[t.substring(i+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function go(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let i=e;try{i=decodeURI(e)}catch{}const s=i.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const o=e.includes(Cc);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Cc||!s.includes(a))return a;const c=RE(t,a.slice(1),r);return c!==void 0?c:a}).trim(),o&&(e=e.split(Cc).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),e}const Ed=e=>e.includes(":key")?e:e.split(":").join(":key:"),IE={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const i=String(r);if(i.startsWith("before:")){const s=Ed(i.slice(7)),o=e.tagMap.get(s);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p-1,t=!0)}else if(i.startsWith("after:")){const s=Ed(i.slice(6)),o=e.tagMap.get(s);o&&(typeof o.tagPriority=="number"&&(n.tagPriority=o.tagPriority),n._p=o._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Al))}}},AE={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 Ol(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=>Ol(n)));if(e?.constructor===Object){const n={};for(const r of Object.keys(e))n[r]=await Ol(e[r]);return n}return e}const CE={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(Ol(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},kE={meta:"content",link:"href",htmlAttrs:"lang"},OE=["innerHTML","textContent"],NE=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||{},i=r.separator||"|";delete r.separator,r.pageTitle=go(r.pageTitle||e._title||"",r,i);for(const s of n){if(s.processTemplateParams===!1)continue;const o=kE[s.tag];if(o&&typeof s.props[o]=="string")s.props[o]=go(s.props[o],r,i);else if(s.processTemplateParams||s.tag==="titleTemplate"||s.tag==="title")for(const a of OE)typeof s[a]=="string"&&(s[a]=go(s[a],r,i,s.tag==="script"&&s.props.type.endsWith("json")))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=go(n.textContent,e._templateParams,e._separator))}}}),xE=(e,t)=>Ge(t)?t0(t):t,Hu="usehead";function DE(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Hu,e)}}.install}function PE(){if(Bs()){const e=dt(Hu);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function LE(e,t={}){const n=t.head||PE();return n.ssr?n.push(e||{},t):ME(n,e,t)}function ME(e,t,n={}){const r=xa();if(r&&!r.active)return{patch(){},dispose(){},_poll(){}};const i=de(!1);let s;return m0(()=>{const a=i.value?{}:fa(t,xE);s?s.patch(a):s=e.push(a,n)}),bn()&&($i(()=>{s.dispose()}),hm(()=>{i.value=!0}),pm(()=>{i.value=!1})),s}function $E(e){const t=e||hg();return t?.ssrContext?.head||t?.runWithContext(()=>{if(Bs())return dt(Hu)}
5)}function Pg(e,t={}){const n=$E(t.nuxt);if(n)return LE(e,{head:n,...t})}const FE=(e,t)=>[],Lg=e=>gg({},...FE().map(t=>t.data).reverse()),UE=Lg;let Co;function HE(){let e;return e=$fetch(Fu(`builds/meta/${tn().app.buildId}.json`),{responseType:"json"}).then(t=>{if(!t||typeof t!="object"||!Array.isArray(t.prerendered))throw new Error("[nuxt] Received malformed app manifest. Ensure that `builds/meta/*.json` is served as JSON by your hosting/proxy and not rewritten to an HTML fallback.");return t}),Co=e,e.catch(t=>{Co===e&&(Co=void 0),console.error("[nuxt] Error fetching app manifest.",t)}),e}function BE(){return Co||HE()}function Mg(e){const t=typeof e=="string"?e:e.path;try{return UE(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function VE(e){return null}let Cr=null;async function qE(){if(Cr)return Cr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await GE(e.textContent||""),n=e.dataset.src?await VE(e.dataset.src):void 0;return Cr={...t,...n,...window.__NUXT__},Cr.config?.public&&(Cr.config.public=cn(Cr.config.public)),Cr}async function GE(e){return await rE(e,ue()._payloadRevivers)}function $g(e,t){ue()._payloadRevivers[e]=t}const WE=Iw(()=>{$g("skipHydrate",e=>{})}),JE=[["NuxtError",e=>Lt(e)],["EmptyShallowRef",e=>zn(e==="_"?void 0:e==="0n"?BigInt(0):ca(e))],["EmptyRef",e=>de(e==="_"?void 0:e==="0n"?BigInt(0):ca(e))],["ShallowRef",e=>zn(e)],["ShallowReactive",e=>mn(e)],["Ref",e=>de(e)],["Reactive",e=>cn(e)]],zE=tt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,i]of JE)$g(r,i);Object.assign(e.payload,([t,n]=ds(()=>e.runWithContext(qE)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function Bu(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 i=>{const s=new Map,o=new Promise(d=>{e.resolveTags().then(m=>{d(m.map(h=>{const _=s.get(h._d)||0,w={tag:h,id:(_?`${h._d}:${_}`:h._d)||h._h,shouldRender:!0};return h._d&&Ng(h._d)&&s.set(h._d,_+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 m=n[d]?.children;for(const h of m){const _=h.tagName.toLowerCase();if(!Il.has(_))continue;const w=Dg({tag:_,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((b,g)=>(b[g]=h.getAttribute(g),b),{})||{}});if(w.key=h.getAttribute("data-hid")||void 0,w._d=kl(w)||xg(w),a.elMap.has(w._d)){let b=1,g=w._d;for(;a.elMap.has(g);)g=`${w._d}:${b++}`;a.elMap.set(g,h)}else a.elMap.set(w._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(d,m,h){const _=`${d}:${m}`;a.sideEffects[_]=h,delete a.pendingSideEffects[_]}function u({id:d,$el:m,tag:h}){const _=h.tag.endsWith("Attrs");a.elMap.set(d,m),_||(h.textContent&&h.textContent!==m.textContent&&(m.textContent=h.textContent),h.innerHTML&&h.innerHTML!==m.innerHTML&&(m.innerHTML=h.innerHTML),c(d,"el",()=>{m?.remove(),a.elMap.delete(d)}));for(const w in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,w))continue;const b=h.props[w];if(w.startsWith("on")&&typeof b=="function"){const y=m?.dataset;if(y&&y[`${w}fired`]){const S=w.slice(0,-5);b.call(m,new Event(S.substring(2)))}m.getAttribute(`data-${w}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:m).addEventListener(w.substring(2),b.bind(m)),m.setAttribute(`data-${w}`,""));continue}const g=`attr:${w}`;if(w==="class"){if(!b)continue;for(const y of b)_&&c(d,`${g}:${y}`,()=>m.classList.remove(y)),!m.classList.contains(y)&&m.classList.add(y)}else if(w==="style"){if(!b)continue;for(const[y,S]of b)c(d,`${g}:${y}`,()=>{m.style.removeProperty(y)}),m.style.setProperty(y,S)}else b!==!1&&b!==null&&(m.getAttribute(w)!==b&&m.setAttribute(w,b===!0?"":String(b)),_&&c(d,g,()=>m.removeAttribute(w)))}}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await o;for(const d of p){const{tag:m,shouldRender:h,id:_}=d;if(h){if(m.tag==="title"){n.title=m.textContent,c("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(_),d.$el?u(d):Il.has(m.tag)&&l.push(d)}}for(const d of l){const m=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[m]=f[m]||n.createDocumentFragment(),f[m].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,c);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),i()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function KE(e={}){const t=e.domOptions?.render||Bu;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1,r=TE({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]});return r.ssr=!1,r}function YE(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function QE(e={}){const t=KE({domOptions:{render:YE(()=>Bu(t),n=>setTimeout(n,0))},...e});return t.install=DE(t),t}const XE={disableDefaults:!0,disableCapoSorting:!1,plugins:[AE,CE,NE,IE]},ZE=tt({name:"nuxt:head",enforce:"pre",setup(e){const t=QE(XE);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Bu(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 i=t.push.bind(t);t.push=((s,o)=>{const a=i(s,o),c=a.dispose.bind(a);return a.dispose=()=>{const u=e["~transitionPromise"];u?u.then(c):c()},a})}}});const ai=typeof document<"u";function Fg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 23,094 bytes, line 5
5function jE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fg(e.default)}const Pe=Object.assign;function kc(e,t){const n={};for(const r in t){const i=t[r];n[r]=an(i)?i.map(e):e(i)}return n}const hs=()=>{},an=Array.isArray;function Td(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Ug=/#/g,eT=/&/g,tT=/\//g,nT=/=/g,rT=/\?/g,Hg=/\+/g,iT=/%5B/g,sT=/%5D/g,Bg=/%5E/g,oT=/%60/g,Vg=/%7B/g,aT=/%7C/g,qg=/%7D/g,cT=/%20/g;function Vu(e){return e==null?"":encodeURI(""+e).replace(aT,"|").replace(iT,"[").replace(sT,"]")}function lT(e){return Vu(e).replace(Vg,"{").replace(qg,"}").replace(Bg,"^")}function Nl(e){return Vu(e).replace(Hg,"%2B").replace(cT,"+").replace(Ug,"%23").replace(eT,"%26").replace(oT,"`").replace(Vg,"{").replace(qg,"}").replace(Bg,"^")}function uT(e){return Nl(e).replace(nT,"%3D")}function fT(e){return Vu(e).replace(Ug,"%23").replace(rT,"%3F")}function dT(e){return fT(e).replace(tT,"%2F")}function Os(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const pT=/\/$/,hT=e=>e.replace(pT,"");function Oc(e,t,n="/"){let r,i={},s="",o="";const a=t.indexOf("#");let c=t.indexOf("?");return c=a>=0&&c>a?-1:c,c>=0&&(r=t.slice(0,c),s=t.slice(c,a>0?a:t.length),i=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=yT(r??t,n),{fullPath:r+s+o,path:r,query:i,hash:Os(o)}}function mT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function gT(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ri(t.matched[r],n.matched[i])&&Gg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ri(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!_T(e[n],t[n]))return!1;return!0}function _T(e,t){return an(e)?Id(e,t):an(t)?Id(t,e):e?.valueOf()===t?.valueOf()}function Id(e,t){return an(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function yT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const Yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let xl=(function(e){return e.pop="pop",e.push="push",e})({}),Nc=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function vT(e){if(!e)if(ai){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hT(e)}const ST=/^[^#]+#/;function bT(e,t){return e.replace(ST,"#")+t}function wT(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 qa=()=>({left:window.scrollX,top:window.scrollY});function ET(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=wT(i,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 Ad(e,t){return(history.state?history.state.position-t:-1)+e}const Dl=new Map;function TT(e,t){Dl.set(e,t)}function RT(e){const t=Dl.get(e);return Dl.delete(e),t}function IT(e){return typeof e=="string"||e&&typeof e=="object"}function Wg(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 Jg=Symbol("");Qe.MATCHER_NOT_FOUND+"",Qe.NAVIGATION_GUARD_REDIRECT+"",Qe.NAVIGATION_ABORTED+"",Qe.NAVIGATION_CANCELLED+"",Qe.NAVIGATION_DUPLICATED+"";function Ii(e,t){return Pe(new Error,{type:e,[Jg]:!0},t)}function Cn(e,t){return e instanceof Error&&Jg in e&&(t==null||!!(e.type&t))}const AT=["params","query","hash"];function CT(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of AT)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function kT(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 i=n[r].replace(Hg," "),s=i.indexOf("="),o=Os(s<0?i:i.slice(0,s)),a=s<0?null:Os(i.slice(s+1));if(o in t){let c=t[o];an(c)||(c=t[o]=[c]),c.push(a)}else t[o]=a}return t}function Cd(e){let t="";for(let n in e){const r=e[n];if(n=uT(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(an(r)?r.map(i=>i&&Nl(i)):[r&&Nl(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function OT(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=an(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const NT=Symbol(""),kd=Symbol(""),qu=Symbol(""),Gu=Symbol(""),Pl=Symbol("");function ts(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ur(e,t,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,c)=>{const u=p=>{p===!1?c(Ii(Qe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):IT(p)?c(Ii(Qe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&r.enterCallbacks[i]===o&&typeof p=="function"&&o.push(p),a())},l=s(()=>e.call(r&&r.instances[i],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(p=>c(p))})}function xc(e,t,n,r,i=s=>s()){const s=[];for(const o of e)for(const a in o.components){let c=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Fg(c)){const u=(c.__vccOpts||c)[t];u&&s.push(ur(u,n,r,o,a,i))}else{let u=c();s.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=jE(l)?l.default:l;o.mods[a]=l,o.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&ur(p,n,r,o,a,i)()}))}}return s}function xT(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const a=t.matched[o];a&&(e.matched.find(u=>Ri(u,a))?r.push(a):n.push(a));const c=e.matched[o];c&&(t.matched.find(u=>Ri(u,c))||i.push(c))}return[n,r,i]}let DT=()=>location.protocol+"//"+location.host;function zg(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let o=i.includes(e.slice(s))?e.slice(s).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),Rd(a,"")}return Rd(n,e)+r+i}function PT(e,t,n,r){let i=[],s=[],o=null;const a=({state:p})=>{const d=zg(e,location),m=n.value,h=t.value;let _=0;if(p){if(n.value=d,t.value=p,o&&o===m){o=null;return}_=h?p.position-h.position:0}else r(d);i.forEach(w=>{w(n.value,m,{delta:_,type:xl.pop,direction:_?_>0?Nc.forward:Nc.back:Nc.unknown})})};function c(){o=n.value}function u(p){i.push(p);const d=()=>{const m=i.indexOf(p);m>-1&&i.splice(m,1)};return s.push(d),d}function l(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Pe({},p.state,{scroll:qa()}),"")}}function f(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:c,listen:u,destroy:f}}function Od(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?qa():null}}function LT(e){const{history:t,location:n}=window,r={value:zg(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,u,l){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:DT()+e+c;try{t[l?"replaceState":"pushState"](u,"",p),i.value=u}catch(d){console.error(d),n[l?"replace":"assign"](p)}}function o(c,u){s(c,Pe({},t.state,Od(i.value.back,c,i.value.forward,!0),u,{position:i.value.position}),!0),r.value=c}function a(c,u){const l=Pe({},i.value,t.state,{forward:c,scroll:qa()});s(l.current,l,!0),s(c,Pe({},Od(r.value,c,null),{position:l.position+1},u),!1),r.value=c}return{location:r,state:i,push:a,replace:o}}function Kg(e){e=vT(e);const t=LT(e),n=PT(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Pe({location:"",base:e,go:r,createHref:bT.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function MT(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Kg(e)}let Lr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var st=(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})(st||{});const $T={type:Lr.Static,value:""},FT=/[a-zA-Z0-9_]/;function UT(e){if(!e)return[[]];if(e==="/")return[[$T]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=st.Static,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,c,u="",l="";function f(){u&&(n===st.Static?s.push({type:Lr.Static,value:u}):n===st.Param||n===st.ParamRegExp||n===st.ParamRegExpEnd?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Lr.Param,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==st.ParamRegExp){r=n,n=st.EscapeNext;continue}switch(n){case st.Static:c==="/"?(u&&f(),o()):c===":"?(f(),n=st.Param):p();break;case st.EscapeNext:p(),n=r;break;case st.Param:c==="("?n=st.ParamRegExp:FT.test(c)?p():(f(),n=st.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case st.ParamRegExp:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=st.ParamRegExpEnd:l+=c;break;case st.ParamRegExpEnd:f(),n=st.Static,c!=="*"&&c!=="?"&&c!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===st.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),i}const Nd="[^/]+?",HT={sensitive:!1,strict:!1,start:!0,end:!0};var Tt=(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})(Tt||{});const BT=/[.+*?^${}()[\]/\\]/g;function VT(e,t){const n=Pe({},HT,t),r=[];let i=n.start?"^":"";const s=[];for(const u of e){const l=u.length?[]:[Tt.Root];n.strict&&!u.length&&(i+="/");for(let f=0;f<u.length;f++){const p=u[f];let d=Tt.Segment+(n.sensitive?Tt.BonusCaseSensitive:0);if(p.type===Lr.Static)f||(i+="/"),i+=p.value.replace(BT,"\\$&"),d+=Tt.Static;else if(p.type===Lr.Param){const{value:m,repeatable:h,optional:_,regexp:w}=p;s.push({name:m,repeatable:h,optional:_});const b=w||Nd;if(b!==Nd){d+=Tt.BonusCustomRegExp;try{`${b}`}catch(y){throw new Error(`Invalid custom RegExp for param "${m}" (${b}): `+y.message)}}let g=h?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(g=_&&u.length<2?`(?:/${g})`:"/"+g),_&&(g+="?"),i+=g,d+=Tt.Dynamic,_&&(d+=Tt.BonusOptional),h&&(d+=Tt.BonusRepeatable),b===".*"&&(d+=Tt.BonusWildcard)}l.push(d)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=Tt.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(u){const l=u.match(o),f={};if(!l)return null;for(let p=1;p<l.length;p++){const d=l[p]||"",m=s[p-1];f[m.name]=d&&m.repeatable?d.split("/"):d}return f}function c(u){let l="",f=!1;for(const p of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const d of p)if(d.type===Lr.Static)l+=d.value;else if(d.type===Lr.Param){const{value:m,repeatable:h,optional:_}=d,w=m in u?u[m]:"";if(an(w)&&!h)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const b=an(w)?w.join("/"):w;if(!b)if(_)p.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);l+=b}}return l||"/"}return{re:o,score:r,keys:s,parse:a,stringify:c}}function qT(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]===Tt.Static+Tt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Tt.Static+Tt.Segment?1:-1:0}function Yg(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const s=qT(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(xd(r))return 1;if(xd(i))return-1}return i.length-r.length}function xd(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const GT={strict:!1,end:!0,sensitive:!1};function WT(e,t,n){const r=VT(UT(e.path),n),i=Pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function JT(e,t){const n=[],r=new Map;t=Td(GT,t);function i(f){return r.get(f)}function s(f,p,d){const m=!d,h=Pd(f);h.aliasOf=d&&d.record;const _=Td(t,f),w=[h];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const S of y)w.push(Pd(Pe({},h,{components:d?d.record.components:h.components,path:S,aliasOf:d?d.record:h})))}let b,g;for(const y of w){const{path:S}=y;if(p&&S[0]!=="/"){const C=p.record.path,T=C[C.length-1]==="/"?"":"/";y.path=p.record.path+(S&&T+S)}if(b=WT(y,p,_),d?d.alias.push(b):(g=g||b,g!==b&&g.alias.push(b),m&&f.name&&!Ld(b)&&o(f.name)),Qg(b)&&c(b),h.children){const C=h.children;for(let T=0;T<C.length;T++)s(C[T],b,d&&d.children[T])}d=d||b}return g?()=>{o(g)}:hs}function o(f){if(Wg(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function c(f){const p=YT(f,n);n.splice(p,0,f),f.record.name&&!Ld(f)&&r.set(f.record.name,f)}function u(f,p){let d,m={},h,_;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Ii(Qe.MATCHER_NOT_FOUND,{location:f});_=d.record.name,m=Pe(Dd(p.params,d.keys.filter(g=>!g.optional).concat(d.parent?d.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),f.params&&Dd(f.params,d.keys.map(g=>g.name))),h=d.stringify(m)}else if(f.path!=null)h=f.path,d=n.find(g=>g.re.test(h)),d&&(m=d.parse(h),_=d.record.name);else{if(d=p.name?r.get(p.name):n.find(g=>g.re.test(p.path)),!d)throw Ii(Qe.MATCHER_NOT_FOUND,{location:f,currentLocation:p});_=d.record.name,m=Pe({},p.params,f.params),h=d.stringify(m)}const w=[];let b=d;for(;b;)w.unshift(b.record),b=b.parent;return{name:_,path:h,params:m,matched:w,meta:KT(w)}}e.forEach(f=>s(f));function l(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:o,clearRoutes:l,getRoutes:a,getRecordMatcher:i}}function Dd(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Pd(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:zT(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 zT(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 Ld(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function KT(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function YT(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Yg(e,t[s])<0?r=s:n=s+1}const i=QT(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function QT(e){let t=e;for(;t=t.parent;)if(Qg(t)&&Yg(e,t)===0)return t}function Qg({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Md(e){const t=dt(qu),n=dt(Gu),r=we(()=>{const c=re(e.to);return t.resolve(c)}),i=we(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const p=f.findIndex(Ri.bind(null,l));if(p>-1)return p;const d=$d(c[u-2]);return u>1&&$d(l)===d&&f[f.length-1].path!==d?f.findIndex(Ri.bind(null,c[u-2])):p}),s=we(()=>i.value>-1&&tR(n.params,r.value.params)),o=we(()=>i.value>-1&&i.value===n.matched.length-1&&Gg(n.params,r.value.params));function a(c={}){if(eR(c)){const u=t[re(e.replace)?"replace":"push"](re(e.to)).catch(hs);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:we(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}function XT(e){return e.length===1?e[0]:e}const ZT=et({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:Md,setup(e,{slots:t}){const n=cn(Md(e)),{options:r}=dt(qu),i=we(()=>({[Fd(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Fd(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&XT(t.default(n));return e.custom?s:Ke("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),jT=ZT;function eR(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 tR(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!an(i)||i.length!==r.length||r.some((s,o)=>s.valueOf()!==i[o].valueOf()))return!1}return!0}function $d(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fd=(e,t,n)=>e??t??n,nR=et({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(Pl),i=we(()=>e.route||r.value),s=dt(kd,0),o=we(()=>{let u=re(s);const{matched:l}=i.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=we(()=>i.value.matched[o.value]);Mn(kd,we(()=>o.value+1)),Mn(NT,a),Mn(Pl,i);const c=de();return hr(()=>[c.value,a.value,e.name],([u,l,f],[p,d,m])=>{l&&(l.instances[f]=u,d&&d!==l&&u&&u===p&&(l.leaveGuards.size||(l.leaveGuards=d.leaveGuards),l.updateGuards.size||(l.updateGuards=d.updateGuards))),u&&l&&(!d||!Ri(l,d)||!p)&&(l.enterCallbacks[f]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=i.value,l=e.name,f=a.value,p=f&&f.components[l];if(!p)return Ud(n.default,{Component:p,route:u});const d=f.props[l],m=d?d===!0?u.params:typeof d=="function"?d(u):d:null,_=Ke(p,Pe({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return Ud(n.default,{Component:_,route:u})||_}}});function Ud(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Xg=nR;function rR(e){const t=JT(e.routes,e),n=e.parseQuery||kT,r=e.stringifyQuery||Cd,i=e.history,s=ts(),o=ts(),a=ts(),c=zn(Yt);let u=Yt;ai&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=kc.bind(null,M=>""+M),f=kc.bind(null,dT),p=kc.bind(null,Os);function d(M,Z){let K,X;return Wg(M)?(K=t.getRecordMatcher(M),X=Z):X=M,t.addRoute(X,K)}function m(M){const Z=t.getRecordMatcher(M);Z&&t.removeRoute(Z)}function h(){return t.getRoutes().map(M=>M.record)}function _(M){return!!t.getRecordMatcher(M)}function w(M,Z){if(Z=Pe({},Z||c.value),typeof M=="string"){const E=Oc(n,M,Z.path),P=t.resolve({path:E.path},Z),G=i.createHref(E.fullPath);return Pe(E,P,{params:p(P.params),hash:Os(E.hash),redirectedFrom:void 0,href:G})}let K;if(M.path!=null)K=Pe({},M,{path:Oc(n,M.path,Z.path).path});else{const E=Pe({},M.params);for(const P in E)E[P]==null&&delete E[P];K=Pe({},M,{params:f(E)}),Z.params=f(Z.params)}const X=t.resolve(K,Z),oe=M.hash||"";X.params=l(p(X.params));const Ie=mT(r,Pe({},M,{hash:lT(oe),path:X.path})),v=i.createHref(Ie);return Pe({fullPath:Ie,hash:oe,query:r===Cd?OT(M.query):M.query||{}},X,{redirectedFrom:void 0,href:v})}function b(M){return typeof M=="string"?Oc(n,M,c.value.path):Pe({},M)}function g(M,Z){if(u!==M)return Ii(Qe.NAVIGATION_CANCELLED,{from:Z,to:M})}function y(M){return T(M)}function S(M){return y(Pe(b(M),{replace:!0}))}function C(M,Z){const K=M.matched[M.matched.length-1];if(K&&K.redirect){const{redirect:X}=K;let oe=typeof X=="function"?X(M,Z):X;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=b(oe):{path:oe},oe.params={}),Pe({query:M.query,hash:M.hash,params:oe.path!=null?{}:M.params},oe)}}function T(M,Z){const K=u=w(M),X=c.value,oe=M.state,Ie=M.force,v=M.replace===!0,E=C(K,X);if(E)return T(Pe(b(E),{state:typeof E=="object"?Pe({},oe,E.state):oe,force:Ie,replace:v}),Z||K);const P=K;P.redirectedFrom=Z;let G;return!Ie&&gT(r,X,K)&&(G=Ii(Qe.NAVIGATION_DUPLICATED,{to:P,from:X}),F(X,X,!0,!1)),(G?Promise.resolve(G):L(P,X)).catch(H=>Cn(H)?Cn(H,Qe.NAVIGATION_GUARD_REDIRECT)?H:V(H):O(H,P,X)).then(H=>{if(H){if(Cn(H,Qe.NAVIGATION_GUARD_REDIRECT))return T(Pe({replace:v},b(H.to),{state:typeof H.to=="object"?Pe({},oe,H.to.state):oe,force:Ie}),Z||P)}else H=D(P,X,!0,v,oe);return $(P,X,H),H})}function x(M,Z){const K=g(M,Z);return K?Promise.reject(K):Promise.resolve()}function A(M){const Z=se.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(M):M()}function L(M,Z){let K;const[X,oe,Ie]=xT(M,Z);K=xc(X.reverse(),"beforeRouteLeave",M,Z);for(const E of X)E.leaveGuards.forEach(P=>{K.push(ur(P,M,Z))});const v=x.bind(null,M,Z);return K.push(v),ye(K).then(()=>{K=[];for(const E of s.list())K.push(ur(E,M,Z));return K.push(v),ye(K)}).then(()=>{K=xc(oe,"beforeRouteUpdate",M,Z);for(const E of oe)E.updateGuards.forEach(P=>{K.push(ur(P,M,Z))});return K.push(v),ye(K)}).then(()=>{K=[];for(const E of Ie)if(E.beforeEnter)if(an(E.beforeEnter))for(const P of E.beforeEnter)K.push(ur(P,M,Z));else K.push(ur(E.beforeEnter,M,Z));return K.push(v),ye(K)}).then(()=>(M.matched.forEach(E=>E.enterCallbacks={}),K=xc(Ie,"beforeRouteEnter",M,Z,A),K.push(v),ye(K))).then(()=>{K=[];for(const E of o.list())K.push(ur(E,M,Z));return K.push(v),ye(K)}).catch(E=>Cn(E,Qe.NAVIGATION_CANCELLED)?E:Promise.reject(E))}
5function $(M,Z,K){a.list().forEach(X=>A(()=>X(M,Z,K)))}function D(M,Z,K,X,oe){const Ie=g(M,Z);if(Ie)return Ie;const v=Z===Yt,E=ai?history.state:{};K&&(X||v?i.replace(M.fullPath,Pe({scroll:v&&E&&E.scroll},oe)):i.push(M.fullPath,oe)),c.value=M,F(M,Z,K,v),V()}let J;function U(){J||(J=i.listen((M,Z,K)=>{if(!be.listening)return;const X=w(M),oe=C(X,be.currentRoute.value);if(oe){T(Pe(oe,{replace:!0,force:!0}),X).catch(hs);return}u=X;const Ie=c.value;ai&&TT(Ad(Ie.fullPath,K.delta),qa()),L(X,Ie).catch(v=>Cn(v,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_CANCELLED)?v:Cn(v,Qe.NAVIGATION_GUARD_REDIRECT)?(T(Pe(b(v.to),{force:!0}),X).then(E=>{Cn(E,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_DUPLICATED)&&!K.delta&&K.type===xl.pop&&i.go(-1,!1)}).catch(hs),Promise.reject()):(K.delta&&i.go(-K.delta,!1),O(v,X,Ie))).then(v=>{v=v||D(X,Ie,!1),v&&(K.delta&&!Cn(v,Qe.NAVIGATION_CANCELLED)?i.go(-K.delta,!1):K.type===xl.pop&&Cn(v,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),$(X,Ie,v)}).catch(hs)}))}let N=ts(),R=ts(),I;function O(M,Z,K){V(M);const X=R.list();return X.length?X.forEach(oe=>oe(M,Z,K)):console.error(M),Promise.reject(M)}function B(){return I&&c.value!==Yt?Promise.resolve():new Promise((M,Z)=>{N.add([M,Z])})}function V(M){return I||(I=!M,U(),N.list().forEach(([Z,K])=>M?K(M):Z()),N.reset()),M}function F(M,Z,K,X){const{scrollBehavior:oe}=e;if(!ai||!oe)return Promise.resolve();const Ie=!K&&RT(Ad(M.fullPath,0))||(X||!K)&&history.state&&history.state.scroll||null;return Xt().then(()=>oe(M,Z,Ie)).then(v=>v&&ET(v)).catch(v=>O(v,M,Z))}const k=M=>i.go(M);let z;const se=new Set,be={currentRoute:c,listening:!0,addRoute:d,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:h,resolve:w,options:e,push:y,replace:S,go:k,back:()=>k(-1),forward:()=>k(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:R.add,isReady:B,install(M){M.component("RouterLink",jT),M.component("RouterView",Xg),M.config.globalProperties.$router=be,Object.defineProperty(M.config.globalProperties,"$route",{enumerable:!0,get:()=>re(c)}),ai&&!z&&c.value===Yt&&(z=!0,y(i.location).catch(X=>{}));const Z={};for(const X in Yt)Object.defineProperty(Z,X,{get:()=>c.value[X],enumerable:!0});M.provide(qu,be),M.provide(Gu,mn(Z)),M.provide(Pl,c);const K=M.unmount;se.add(M),M.unmount=function(){se.delete(M),se.size<1&&(u=Yt,J&&J(),J=null,c.value=Yt,z=!1,I=!1),K()}}};function ye(M){return M.reduce((Z,K)=>Z.then(()=>A(K)),Promise.resolve())}return be}function Zg(e){return dt(Gu)}const iR=/(:\w+)\([^)]+\)/g,sR=/(:\w+)[?+*]/g,oR=/:\w+/g,aR=(e,t)=>t.path.replace(iR,"$1").replace(sR,"$1").replace(oR,n=>e.params[n.slice(1)]?.toString()||""),Ll=(e,t)=>{const n=e.route.matched.find(i=>i.components?.default===e.Component.type),r=t??n?.meta.key??(n&&aR(e.route,n));return typeof r=="function"?r(e.route):r},cR=(e,t)=>({default:()=>e?Ke(x0,e===!0?{}:e,t):t});function jg(e){return Array.isArray(e)?e:[e]}const lR="modulepreload",uR=function(e,t){return new URL(e,t).href},Hd={},qe=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let u=function(l){return Promise.all(l.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");i=u(n.map(l=>{if(l=uR(l,r),l in Hd)return;Hd[l]=!0;const f=l.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(r)for(let m=o.length-1;m>=0;m--){const h=o[m];if(h.href===l&&(!f||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${p}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":lR,f||(d.as="script"),d.crossOrigin="",d.href=l,c&&d.setAttribute("nonce",c),document.head.appendChild(d),f)return new Promise((m,h)=>{d.addEventListener("load",m),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},fR={layout:"home"},dR={key:e=>e.fullPath.split("#")[0]},pR={layout:"event"},Dc=[{name:"index",path:"/",meta:fR||{},component:()=>qe(()=>import("./DXJPnNke.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)},{name:"login",path:"/login",component:()=>qe(()=>import("./yLbRAQo9.js"),__vite__mapDeps([11,12]),import.meta.url)},{name:"faq",path:"/faq",component:()=>qe(()=>import("./BKiDoSlN.js"),__vite__mapDeps([13,6,7,8,14]),import.meta.url)},{name:"shop",path:"/shop",component:()=>qe(()=>import("./D36aV-Zy.js"),__vite__mapDeps([15,6,7,8,9,16]),import.meta.url)},{name:"about",path:"/about",component:()=>qe(()=>import("./BGCdN_CC.js"),__vite__mapDeps([17,6,7,8,18]),import.meta.url)},{name:"event",path:"/event",component:()=>qe(()=>import("./CYUegJOo.js"),__vite__mapDeps([19,2,3,4,5,6,7,8,9,20]),import.meta.url)},{name:"kijidasAuth",path:"/kijidasAuth",component:()=>qe(()=>import("./B2MSWs0l.js"),__vite__mapDeps([21,12]),import.meta.url)},{name:"inquiry",path:"/inquiry",component:()=>qe(()=>import("./DnXm_dSs.js"),__vite__mapDeps([22,23,24,6,7,8,25]),import.meta.url)},{name:"article",path:"/:article()",component:()=>qe(()=>import("./CRPmqFdv.js"),[],import.meta.url)},{name:"all-events",path:"/all-events",meta:dR||{},component:()=>qe(()=>import("./CA1gxj7e.js"),__vite__mapDeps([26,27,28,6,7,8,9,29]),import.meta.url)},{name:"event-slug",path:"/event/:slug()",meta:pR||{},component:()=>qe(()=>
5import("./B09SDe48.js"),__vite__mapDeps([30,3,4,1,6,7,8,9,31]),import.meta.url)},{name:"inquiry-public",path:"/inquiry/public",component:()=>qe(()=>import("./CPDTkjiC.js"),__vite__mapDeps([32,23,24,6,7,8,33]),import.meta.url)},{name:"inquiry-thanks",path:"/inquiry/thanks",component:()=>qe(()=>import("./CMU7521P.js"),__vite__mapDeps([34,8,35]),import.meta.url)},{name:"beginners-guide",path:"/beginners-guide",component:()=>qe(()=>import("./DVGxh9gz.js"),__vite__mapDeps([36,6,7,8,37]),import.meta.url)},{name:"favorite-events",path:"/favorite-events",component:()=>qe(()=>import("./eRoy50Q-.js"),__vite__mapDeps([38,27,28,6,7,8,9,39]),import.meta.url)},{name:"article-slug",path:"/:article()/:slug()",component:()=>qe(()=>import("./C1SQVCu7.js"),[],import.meta.url)},{name:"inquiry-interview",path:"/inquiry/interview",component:()=>qe(()=>import("./D5ziwxYG.js"),__vite__mapDeps([40,23,24,6,7,8,41]),import.meta.url)},{name:"inquiry-otherform",path:"/inquiry/otherform",component:()=>qe(()=>import("./BrYHqM3t.js"),__vite__mapDeps([42,23,24,6,7,8,43]),import.meta.url)},{name:"inquiry-enterprise",path:"/inquiry/enterprise",component:()=>qe(()=>import("./QJj0arnr.js"),__vite__mapDeps([44,23,24,6,7,8,45]),import.meta.url)}],e_=(e,t)=>({default:()=>e?Ke(PS,e===!0?{}:e,t):t.default?.()}),hR=/(:\w+)\([^)]+\)/g,mR=/(:\w+)[?+*]/g,gR=/:\w+/g;function Bd(e){const t=e?.meta.key??e.path.replace(hR,"$1").replace(mR,"$1").replace(gR,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function _R(e,t){return e===t||t===Yt?!1:Bd(e)!==Bd(t)?!0:!e.matched.every((r,i)=>r.components&&r.components.default===t.matched[i]?.components?.default)}function yR(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return t_(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function t_(e,t=[],n=!1){if(e&&e.nodeName){if(SR(e))return t;if(!vR(e)){const r=e.cloneNode(!0);n&&r.querySelectorAll?.("[data-island-slot]").forEach(i=>{i.innerHTML=""}),t.push(r.outerHTML)}t_(e.nextSibling,t,n)}return t}function Pc(e,t){const n=e?yR(e):[t];return n?vS(n.join(""),n.length):Ke("div")}function vR(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function SR(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}function Vd(e){return Array.isArray(e)?e:[e]}function n_(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Vd(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Vd(n.onBeforeLeave):void 0});return gg(...t)}const bR={scrollBehavior(e,t,n){const r=ue(),i=Xe().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:r_(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===Yt?qd(e,t,n,i):new Promise(o=>{const a=()=>{requestAnimationFrame(()=>o(qd(e,t,n,i)))};r.hooks.hookOnce("page:loading:end",()=>{const c=r["~transitionPromise"];c?c.then(a):a()})})}};function r_(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function qd(e,t,n,r){return n||(e.hash?{el:e.hash,top:r_(e.hash),behavior:_R(e,t)?r:"instant"}:{left:0,top:0})}const i_={routes(e){return[...e,{name:"preview-article-slug",path:"/preview/:article/:slug",component:()=>qe(()=>import("./C1SQVCu7.js"),[],import.meta.url)}]}},da=Tn("APGRouting",()=>{const e=de(!1),t=de(""),n=de(0),r=de(!1),i=de(!1),s=de(""),o=de(0);return{isRouteMove:e,lastFullPath:t,scrollRestorePositionY:n,isUseScrollRestore:r,isAnchorLink:i,gaQueryString:s,gaQueryDate:o,setScrollRestorePositionY:m=>{n.value=m},setIsRouteMove:m=>{e.value=m},setLastFullPath:m=>{t.value=m,ue().$setWebStorageItem("localStorage","lastFullPath",m)},setIsUseScrollRestore:m=>{r.value=m},setIsAnchorLink:m=>{i.value=m},setGAQueryString:(m,h)=>{s.value=m,o.value=h,ue().$setWebStorageItem("localStorage","gaQueryString",m),ue().$setWebStorageItem("localStorage","gaQueryDate",h)},getGAQueryString:()=>{const h=ue().$getWebStorageItem("localStorage","gaQueryDate");return Date.now()-h>6048e5?(ue().$setWebStorageItem("localStorage","gaQueryString",""),""):ue().$getWebStorageItem("localStorage","gaQueryString")||""}}}),s_={stringifyQuery:e=>Object.keys(e).map(n=>`${n}=${encodeURIComponent(e[n])}`).join("&"),scrollBehavior(e,t,n){n?da().setScrollRestorePositionY(n.top):da().setScrollRestorePositionY(0)},routes(e){return[...e,{name:"preview-event-slug",path:"/preview/event/:slug",component:()=>qe(()=>
5import("./B09SDe48.js"),__vite__mapDeps([30,3,4,1,6,7,8,9,31]),import.meta.url)}]}},wR={hashMode:!1,scrollBehaviorType:"auto"},Ml=s_.hashMode??i_.hashMode??!1,rr={...wR,...bR,...i_,...s_},ER=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const i=([n,r]=ds(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(i===!0)return;const s=Lt({fatal:!0,status:i&&(i.status||i.statusCode)||404,statusText:i&&(i.statusText||i.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),s};function TR(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let i;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o&&(i=new o)}const s=()=>{if(i){const o=i.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return i?i.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const c=()=>{t=o},u=()=>t===o?c:void 0;$l.add(u);try{const l=i?i.run(o,a):a();return n||(t=void 0),await l}finally{$l.delete(u)}}}}function RR(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=TR({...e,...r})),t[n]}}}const pa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Gd="__unctx__";pa[Gd]||(pa[Gd]=RR());const Wd="__unctx_async_handlers__",$l=pa[Wd]||(pa[Wd]=new Set);function Lc(e){const t=[];for(const i of $l){const s=i();s&&t.push(s)}const n=()=>{for(const i of t)i()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(i=>{throw n(),i})),[r,n]}const IR=Symbol.for("nuxt:client-only"),_o="<div></div>",AR=et({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=zn(!1);Sn(()=>{r.value=!0});const i=bn();return i&&(i._nuxtClientOnly=!0),Mn(IR,!0),()=>{if(r.value){const c=t.default?.();return c&&c.length===1?[Vt(c[0],n)]:c}const s=t.fallback||t.placeholder;if(s)return Ke(s);const o=e.fallback||e.placeholder||"",a=e.fallbackTag||e.placeholderTag||"span";return _e(a,n,o)}}}),Mc=new WeakMap;function CR(e){if(Mc.has(e))return Mc.get(e);const t={...e};return t.render?t.render=(n,r,i,s,o,a)=>{if(s.mounted$??n.mounted$){const c=e.render?.bind(n)(n,r,i,s,o,a);return c.children===null||typeof c.children=="string"?Vt(c):Ke(c)}return Pc(n._.vnode.el,_o)}:t.template&&=`
6      <template v-if="mounted$">${e.template}</template>
7      <template v-else>${_o}</template>
8    `,t.setup=(n,r)=>{const i=ue(),s=zn(i.isHydrating===!1),o=bn();if(i.isHydrating){const c={...o.attrs},u=kR(o);for(const l in c)delete o.attrs[l];Sn(()=>{Object.assign(o.attrs,c),o.vnode.dirs=u})}Sn(()=>{s.value=!0});const a=e.setup?.(n,r)||{};return Ra(a)?Promise.resolve(a).then(c=>typeof c!="function"?(c||={},c.mounted$=s,c):(...u)=>{if(s.value||!i.isHydrating){const l=c(...u);return l.children===null||typeof l.children=="string"?Vt(l):Ke(l)}return Pc(o?.vnode.el,_o)}):typeof a=="function"?(...c)=>{if(s.value){const u=a(...c),l=t.inheritAttrs!==!1?r.attrs:void 0;return u.children===null||typeof u.children=="string"?Vt(u,l):Ke(u,l)}return Pc(o?.vnode.el,_o)}:Object.assign(a,{mounted$:s})},Mc.set(e,t),t}function kR(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}const Fl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),OR=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Wu=e=>{const t=ue();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Fl(()=>e())}):Fl(()=>e())};function NR(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function o_(e,t=Xe()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>o_(e,t));t._routePreloaded.add(n);for(const s of r){const o=s.components?.default;if(typeof o!="function")continue;const a=Promise.resolve(o()).catch(()=>{}).finally(()=>i.splice(i.indexOf(a),1));i.push(a)}await Promise.all(i)}function xR(e={}){const t=e.path||window.location.pathname;let n={};try{n=ca(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:ue().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const DR=(...e)=>e.find(t=>t!==void 0);function PR(e){const t=e.componentName||"NuxtLink";function n(s){return!Ml&&typeof s=="string"&&s.startsWith("#")}function r(s,o,a){const c=a??e.trailingSlash;if(!s||c!=="append"&&c!=="remove")return s;if(typeof s=="string")return yo(s,c);const u="path"in s&&s.path!==void 0?s.path:o(s).path;return{...s,name:void 0,path:yo(u,c)}}function i(s){const o=Xe(),a=tn(),c=we(()=>!!re(s.target)&&re(s.target)!=="_self"),u=we(()=>{const _=re(s.to)||re(s.href)||"";return typeof _=="string"&&vr(_,{acceptRelative:!0})}),l=Pf("RouterLink"),f=l&&typeof l!="string"?l.useLink:void 0,p=we(()=>{if(re(s.external))return!0;const _=re(s.to)||re(s.href)||"";
8return typeof _=="object"?!1:_===""||u.value}),d=we(()=>{const _=re(s.to)||re(s.href)||"";return p.value?_:r(_,o.resolve,re(s.trailingSlash))}),m=p.value?void 0:f?.({...s,to:d,viewTransition:re(s.viewTransition)}),h=we(()=>{const _=re(s.trailingSlash)??e.trailingSlash;if(!d.value||u.value||n(d.value))return d.value;if(p.value){const w=typeof d.value=="object"&&"path"in d.value?wl(d.value):d.value,b=typeof w=="object"?o.resolve(w).href:w;return yo(b,_)}return typeof d.value=="object"?o.resolve(d.value)?.href??null:yo(Lu(a.app.baseURL,d.value),_)});return{to:d,hasTarget:c,isAbsoluteUrl:u,isExternal:p,href:h,isActive:m?.isActive??we(()=>d.value===o.currentRoute.value.path),isExactActive:m?.isExactActive??we(()=>d.value===o.currentRoute.value.path),route:m?.route??we(()=>o.resolve(d.value)),async navigate(_){await vg(h.value,{replace:re(s.replace),external:p.value||c.value})}}}return et({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:i,setup(s,{slots:o}){const a=Xe(),{to:c,href:u,navigate:l,isExternal:f,hasTarget:p,isAbsoluteUrl:d}=i(s),m=zn(!1),h=de(null),_=g=>{h.value=s.custom?g?.$el?.nextElementSibling:g?.$el};function w(g){return!m.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===g:s.prefetchOn?.[g]??e.prefetchOn?.[g])&&(s.prefetch??e.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!$R()}async function b(g=ue()){if(m.value)return;m.value=!0;const y=typeof c.value=="string"?c.value:f.value?wl(c.value):a.resolve(c.value).fullPath,S=f.value?new URL(y,window.location.href).href:y;await Promise.all([g.hooks.callHook("link:prefetch",S).catch(()=>{}),!f.value&&!p.value&&o_(c.value,a).catch(()=>{})])}if(w("visibility")){const g=ue();let y,S=null;Sn(()=>{const C=LR();Wu(()=>{y=Fl(()=>{h?.value?.tagName&&(S=C.observe(h.value,async()=>{S?.(),S=null,await b(g)}))})})}),$i(()=>{y&&OR(y),S?.(),S=null})}return()=>{if(!f.value&&!p.value&&!n(c.value)){const S={ref:_,to:c.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};
8return s.custom||(w("interaction")&&(S.onPointerenter=b.bind(null,void 0),S.onFocus=b.bind(null,void 0)),m.value&&(S.class=s.prefetchedClass||e.prefetchedClass),S.rel=s.rel||void 0),Ke(Pf("RouterLink"),S,o.default)}const g=s.target||null,y=DR(s.noRel?"":s.rel,e.externalRelAttribute,d.value||p.value?"noopener noreferrer":"")||null;return s.custom?o.default?o.default({href:u.value,navigate:l,prefetch:b,get route(){if(!u.value)return;const S=new URL(u.value,window.location.href);return{path:S.pathname,fullPath:S.pathname,get query(){return Pu(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:y,target:g,isExternal:f.value||p.value,isActive:!1,isExactActive:!1}):null:Ke("a",{ref:h,href:u.value||null,rel:y,target:g,onClick:async S=>{if(!(f.value||p.value)){S.preventDefault();try{const C=Sg(u.value);return await(s.replace?a.replace(C):a.push(C))}finally{if(n(c.value)){const C=c.value.slice(1);let T=C;try{T=decodeURIComponent(C)}catch{}document.getElementById(T)?.focus()}}}}},o.default?.())}}})}const Ws=PR(_w);function yo(e,t){const n=t==="append"?rg:ks;return vr(e)&&!e.startsWith("http")?e:n(e,!0)}function LR(){const e=ue();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,o)=>(t||=new IntersectionObserver(a=>{for(const c of a){const u=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&u&&u()}}),n.set(s,o),t.observe(s),()=>{n.delete(s),t?.unobserve(s),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const MR=/2g/;function $R(){const e=navigator.connection;return!!(e&&(e.saveData||MR.test(e.effectiveType)))}const FR={BAR:"app-config-value",kijidas:{page:{sample1:void 0,sample2:void 0},listDefault:{pageSize:30,cacheTtl:1800*1e3},list:{top_event_new:{isNoRouteQuery:!0,articleTypeSlug:"event",pageSize:10,query:{is_started:{column:"is_started",operator:"=",defaultValue:"0,1,2"}},sort:{default:{label:"",value:[{column:"start_date",order:"DESC"}]}}},event_list_new:{isNoRouteQuery:!0,articleTypeSlug:"event",pageSize:0,query:{is_started:{column:"is_started",operator:"=",defaultValue:"0,1,2"}},sort:{default:{label:"",value:[{column:"start_date",order:"DESC"}]}}},top_event_collaborate:{isNoRouteQuery:!0,articleTypeSlug:"event",pageSize:10,query:{tag:{column:"TAG_SLUG",defaultValue:"collaborate"},is_started:{column:"is_started",operator:"=",defaultValue:"0,1,2"}},sort:{default:{label:"",value:[{column:"rank",order:"ASC"}]}}},event_list_collaborate:{isNoRouteQuery:!0,articleTypeSlug:"event",pageSize:0,query:{tag:{column:"TAG_SLUG",defaultValue:"collaborate"},is_started:{column:"is_started",operator:"=",defaultValue:"0,1,2"}},sort:{default:{label:"",value:[{column:"rank",order:"ASC"}]}}},event_detail_recommend:{isNoRouteQuery:!0,articleTypeSlug:"event",pageSize:7,query:{tag:{column:"TAG_SLUG",defaultValue:""},is_started:{column:"is_started",operator:"=",defaultValue:"0,1,2"}},sort:{default:{label:"",value:[{column:"rank",order:"ASC"}]}}},shop_list:{isNoRouteQuery:!0,articleTypeSlug:"shop",pageSize:0,sort:{default:{label:"新着順",value:[{column:"rank",order:"ASC"}]}}},all_events_now:{articleTypeSlug:"event",pageSize:12,query:{tag:{column:"TAG_SLUG"},is_started:{column:"is_started",operator:"=",defaultValue:"0,1,2"}},sort:{default:{label:"新着順",value:[{column:"rank",order:"DESC"},{column:"start_date",order:"DESC"}]}}},all_events_old:{articleTypeSlug:"event",pageSize:12,query:{tag:{column:"TAG_SLUG"},is_started:{column:"is_started",operator:"=",defaultValue:"3"}},sort:{default:{label:"新着順",value:[{column:"rank",order:"DESC"},{column:"start_date",order:"DESC"}]}}},favorite_events:{isNoRouteQuery:!0,articleTypeSlug:"event",pageSize:0,query:{tag:{column:"TAG_SLUG"},ids_hidden:{column:"ARTICLE_ID",defaultValue:""}}},news_list_emergency:{isNoRouteQuery:!0,articleTypeSlug:"news",pageSize:1,query:{cat:{column:"CATEGORY_ID",defaultValue:"107"}},sort:{default:{label:"新着順",value:[{column:"start_date",order:"DESC"}]}}},news_list_for_allevent:{isNoRouteQuery:!0,articleTypeSlug:"news",pageSize:10,query:{cat:{column:"CATEGORY_ID",defaultValue:"108,107"}},sort:{default:{label:"新着順",value:[{column:"start_date",order:"DESC"}]}}},news_list_with_tag:{isNoRouteQuery:!0,articleTypeSlug:"news",pageSize:3,query:{tag:{column:"TAG_SLUG"}},sort:{default:{label:"新着順",value:[{column:"start_date",order:"DESC"}]}}}}}},UR={kijidas:{storageKey:{token:"KJDS:token"},redirectTokenError:void 0,maxCacheSize:30,detailCacheTtl:1800*1e3,tagCacheTtl:1800*1e3,categoryCacheTtl:1800*1e3,sliderTypeSlug:"k-slider",silderCacheTtl:1800*1e3,page:{sample1:{articleTypeSlug:"event",mainListName:"eventMainSample",extend:{listTitle:"テストイベント一覧",listSubTitle:"テストイベントの検索結果ã
8§ã™",detailTitle:"テストイベント詳細"}}},listDefault:{pageSize:20,cacheTtl:1800*1e3},list:{eventMainSample:{articleTypeSlug:"event",pageSize:30,query:{cat:{column:"CATEGORY_ID"},pref:{column:"CATEGORY_ID"},tag:{column:"TAG_SLUG"},tagid:{column:"TAG_ID"},ids_hidden:{column:"ARTICLE_ID"},s:{column:"FREEWORD"}},sort:{default:{label:"新着順",value:[{column:"open_date",order:"DESC"}]},pv:{label:"人気順",value:[{column:"pv_last_week",order:"DESC"}]}}}}}},HR={nuxt:{}},BR=Aw(FR,UR,HR);function Dn(){const e=ue();return e._appConfig||=cn(BR),e._appConfig}function Ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ko={exports:{}},VR=ko.exports,Jd;function a_(){return Jd||(Jd=1,(function(e,t){(function(n,r){e.exports=r()})(VR,(function(){var n=1e3,r=6e4,i=36e5,s="millisecond",o="second",a="minute",c="hour",u="day",l="week",f="month",p="quarter",d="year",m="date",h="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(U){var N=["th","st","nd","rd"],R=U%100;return"["+U+(N[(R-20)%10]||N[R]||N[0])+"]"}},g=function(U,N,R){var I=String(U);return!I||I.length>=N?U:""+Array(N+1-I.length).join(R)+U},y={s:g,z:function(U){var N=-U.utcOffset(),R=Math.abs(N),I=Math.floor(R/60),O=R%60;return(N<=0?"+":"-")+g(I,2,"0")+":"+g(O,2,"0")},m:function U(N,R){if(N.date()<R.date())return-U(R,N);var I=12*(R.year()-N.year())+(R.month()-N.month()),O=N.clone().add(I,f),B=R-O<0,V=N.clone().add(I+(B?-1:1),f);return+(-(I+(R-O)/(B?O-V:V-O))||0)},a:function(U){return U<0?Math.ceil(U)||0:Math.floor(U)},p:function(U){return{M:f,y:d,w:l,d:u,D:m,h:c,m:a,s:o,ms:s,Q:p}[U]||String(U||"").toLowerCase().replace(/s$/,"")},u:function(U){return U===void 0}},S="en",C={};C[S]=b;var T="$isDayjsObject",x=function(U){return U instanceof D||!(!U||!U[T])},A=function U(N,R,I){var O;if(!N)return S;if(typeof N=="string"){var B=N.toLowerCase();C[B]&&(O=B),R&&(C[B]=R,O=B);var V=N.split("-");if(!O&&V.length>1)return U(V[0])}else{var F=N.name;C[F]=N,O=F}return!I&&O&&(S=O),O||!I&&S},L=function(U,N){if(x(U))return U.clone();var R=typeof N=="object"?N:{};return R.date=U,R.args=arguments,new D(R)},$=y;$.l=A,$.i=x,$.w=function(U,N){return L(U,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var D=(function(){function U(R){this.$L=A(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[T]=!0}var N=U.prototype;return N.parse=function(R){this.$d=(function(I){var O=I.date,B=I.utc;if(O===null)return new Date(NaN);if($.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var V=O.match(_);if(V){var F=V[2]-1||0,k=(V[7]||"0").substring(0,3);return B?new Date(Date.UTC(V[1],F,V[3]||1,V[4]||0,V[5]||0,V[6]||0,k)):new Date(V[1],F,V[3]||1,V[4]||0,V[5]||0,V[6]||0,k)}}return new Date(O)})(R),this.init()},N.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},N.$utils=function(){return $},N.isValid=function(){return this.$d.toString()!==h},N.isSame=function(R,I){var O=L(R);return this.startOf(I)<=O&&O<=this.endOf(I)},N.isAfter=function(R,I){return L(R)<this.startOf(I)},N.isBefore=function(R,I){return this.endOf(I)<L(R)},N.$g=function(R,I,O){return $.u(R)?this[I]:this.set(O,R)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(R,I){var O=this,B=!!$.u(I)||I,V=$.p(R),F=function(K,X){var oe=$.w(O.$u?Date.UTC(O.$y,X,K):new Date(O.$y,X,K),O);return B?oe:oe.endOf(u)},k=function(K,X){return $.w(O.toDate()[K].apply(O.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(X)),O)},z=this.$W,se=this.$M,be=this.$D,ye="set"+(this.$u?"UTC":"");switch(V){case d:return B?F(1,0):F(31,11);case f:return B?F(1,se):F(0,se+1);case l:var M=this.$locale().weekStart||0,Z=(z<M?z+7:z)-M;return F(B?be-Z:be+(6-Z),se);case u:case m:return k(ye+"Hours",0);case c:return k(ye+"Minutes",1);case a:return k(ye+"Seconds",2);case o:return k(ye+"Milliseconds",3);default:return this.clone()}},N.endOf=function(R){return this.startOf(R,!1)},N.$set=function(R,I){var O,B=$.p(R),V="set"+(this.$u?"UTC":""),F=(O={},O[u]=V+"Date",O[m]=V+"Date",O[f]=V+"Month",O[d]=V+"FullYear",O[c]=V+"Hours",O[a]=V+"Minutes",O[o]=V+"Seconds",O[s]=V+"Milliseconds",O)[B],k=B===u?this.$D+(I-this.$W):I;if(B===f||B===d){var z=this.clone().set(m,1);z.$d[F](k),z.init(),this.$d=z.set(m,Math.min(this.$D,z.daysInMonth())).$d}else F&&this.$d[F](k);return this.init(),this},N.set=function(R,I){return this.clone().$set(R,I)},N.get=function(R){return this[$.p(R)]()},N.add=function(R,I){var O,B=this;R=Number(R);var V=$.p(I),F=function(se){var be=L(B);return $.w(be.date(be.date()+Math.round(se*R)),B)};if(V===f)return this.set(f,this.$M+R);if(V===d)return this.set(d,this.$y+R);if(V===u)return F(1);if(V===l)return F(7);var k=(O={},O[a]=r,O[c]=i,O[o]=n,O)[V]||1,z=this.$d.getTime()+R*k;return $.w(z,this)},N.subtract=function(R,I){return this.add(-1*R,I)},N.format=function(R){var I=this,O=this.$locale();if(!this.isValid())return O.invalidDate||h;var B=R||"YYYY-MM-DDTHH:mm:ssZ",V=$.z(this),F=this.$H,k=this.$m,z=this.$M,se=O.weekdays,be=O.months,ye=O.meridiem,M=function(X,oe,Ie,v){return X&&(X[oe]||X(I,B))||Ie[oe].slice(0,v)},Z=function(X){return $.s(F%12||12,X,"0")},K=ye||function(X,oe,Ie){var v=X<12?"AM":"PM";return Ie?v.toLowerCase():v};return B.replace(w,(function(X,oe){return oe||(function(Ie){switch(Ie){case"YY":return String(I.$y).slice(-2);case"YYYY":return $.s(I.$y,4,"0");case"M":return z+1;case"MM":return $.s(z+1,2,"0");case"MMM":return M(O.monthsShort,z,be,3);case"MMMM":return M(be,z);case"D":return I.$D;case"DD":return $.s(I.$D,2,"0");case"d":return String(I.$W);case"dd":return M(O.weekdaysMin,I.$W,se,2);case"ddd":return M(O.weekdaysShort,I.$W,se,3);case"dddd":return se[I.$W];case"H":return String(F);case"HH":return $.s(F,2,"0");case"h":return Z(1);case"hh":return Z(2);case"a":return K(F,k,!0);case"A":return K(F,k,!1);case"m":return String(k);case"mm":return $.s(k,2,"0");case"s":return String(I.$s);case"ss":return $.s(I.$s,2,"0");case"SSS":return $.s(I.$ms,3,"0");case"Z":return V}return null})(X)||V.replace(":","")}))}
8,N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(R,I,O){var B,V=this,F=$.p(I),k=L(R),z=(k.utcOffset()-this.utcOffset())*r,se=this-k,be=function(){return $.m(V,k)};switch(F){case d:B=be()/12;break;case f:B=be();break;case p:B=be()/3;break;case l:B=(se-z)/6048e5;break;case u:B=(se-z)/864e5;break;case c:B=se/i;break;case a:B=se/r;break;case o:B=se/n;break;default:B=se}return O?B:$.a(B)},N.daysInMonth=function(){return this.endOf(f).$D},N.$locale=function(){return C[this.$L]},N.locale=function(R,I){if(!R)return this.$L;var O=this.clone(),B=A(R,I,!0);return B&&(O.$L=B),O},N.clone=function(){return $.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},U})(),J=D.prototype;return L.prototype=J,[["$ms",s],["$s",o],["$m",a],["$H",c],["$W",u],["$M",f],["$y",d],["$D",m]].forEach((function(U){J[U[1]]=function(N){return this.$g(N,U[0],U[1])}})),L.extend=function(U,N){return U.$i||(U(N,D,L),U.$i=!0),L},L.locale=A,L.isDayjs=x,L.unix=function(U){return L(1e3*U)},L.en=C[S],L.Ls=C,L.p={},L}))})(ko)),ko.exports}var qR=a_();const ar=Ui(qR);function xr(e=void 0){return ar(e)}const rt={isError:!1,data:null,extend:null,error:null},Oo=Tn("kjdsCore",{state:()=>({site:null,master:null}),actions:{getPageConfig(e=""){const t=Dn().kijidas;let n;if(e)n=e;else{const{currentRoute:r}=Xe();n=r.value.params.article}return n?t.page[n]:null},getImageDomain(){return this.site?.image_domain},getImagePath(){return`${this.site?.image_domain}/${this.site?.image_path}`},findArticleObject(e,t){if(e){const n=parseInt(e);return t.find(r=>r.id===n)}return null},getImgWebpFileName(e,t="s",n=!0,r=!1){let i="";if(e&&(i=e,!e.match(/^https?:\/\//))){if(t){const s=e.split(".");if(s.length>1){const o=s[s.length-1];(o==="jpg"||o==="png"||o==="jpeg"||r&&o==="gif")&&(s[s.length-2]+="_"+t,n&&s.push("webp"),i=s.join("."))}}i=this.getImagePath()+i}return i},getImgInfo(e,t="s"){let n="";if(e.path){const r=e.useWebp===1;r||(t=""),n=this.getImgWebpFileName(e.path,t,r)}return{articleObject:e,url:n}},getImgInfoByEyeCatch(e,t=null){return e?.eyeCatchImageObject?this.getImgInfo(e.eyeCatchImageObject,t):null},getImgInfoByID(e,t,n=null){const r=this.findArticleObject(e,t);return r?this.getImgInfo(r,n):null},isPreviewInUrl(){const{currentRoute:e}=Xe();return e.value.fullPath.includes("/preview/")},async fetchSite(){if(this.site){const t={code:2e5,meta:{},data:this.site};return{...rt,data:t}}const e=await ue().$SiteApi.site();return this.site=e.data,{...rt,data:e}},async fetchMaster(e=!1){if(this.master&&!e)return{...rt,data:{data:this.master}};const t=await ue().$MasterApi.masterGet();return this.master=t.data,{...rt,data:t}},async fetchTags(e=null,t=null){const n=Dn().kijidas,i={...{pageNo:1,pageSize:0,sortField:"rank",sortType:"DESC"},...e};let s;try{const o=t?.cache?.ttl||n.tagCacheTtl;if(o&&n.maxCacheSize){const a=t?.cache?.key||JSON.stringify({name:"tag",reqParams:i}
8);s=await ue().$ApiWithCache(()=>ue().$TagApi.tagOfficial(i),{key:a,ttl:o})}else s=await ue().$TagApi.tagOfficial(i)}catch{return{...rt,isError:!0}}return{...rt,data:s}},async fetchTagDetail(e){const t={id:e};let n;try{n=await ue().$TagApi.tagGetDetail(t)}catch{return{...rt,isError:!0}}return{...rt,data:n}},async fetchCategories(e,t=null){const n=Dn().kijidas,i={...{articleTypeSlug:"",pageNo:1,pageSize:0,sortField:"rank",sortType:"DESC",parentId:void 0,categorySlug:void 0},...e};if(!i.articleTypeSlug)return{...rt,isError:!0};let s;try{const o=t?.cache?.ttl||n.categoryCacheTtl;if(o&&n.maxCacheSize){const a=t?.cache?.key||JSON.stringify({name:"category",reqParams:i});s=await ue().$ApiWithCache(()=>ue().$ArticleApi.articleCategory(i),{key:a,ttl:o})}else s=await ue().$ArticleApi.articleCategory(i)}catch{return{...rt,isError:!0}}return{...rt,data:s}},async fetchList(e,t=null){const n=Dn().kijidas;let r={};{const d=n.listDefault;let m;e&&(m=n.list[e]),r={...d,...m,...t?.config}}if(!r.articleTypeSlug)throw console.error("## fetchList: no config or no articleTypeSlug"),Lt({statusCode:901,statusMessage:"Bad API Request",message:"記事リストの取得パラメータがありません。",data:{},fatal:!0});const i={};r.articleTypeSlug.includes(",")?(i.articleTypeSlug="multipul_slug",i.articleType=r.articleTypeSlug):i.articleTypeSlug=r.articleTypeSlug;let s={};if(!r.isNoRouteQuery){const{currentRoute:d}=Xe();s=d.value.query}t?.query&&(s={...s,...t.query});const o=r.query||{},a=[],c=[],u=[],l=[],f={};for(const d of Object.keys(o)){const m=o[d];if(m){let h=s[d]||m.defaultValue;if(h)if(m.column==="CATEGORY_ID")a.push(String(h));else if(m.column==="TAG_SLUG")u.push(String(h));else if(m.column==="TAG_ID")c.push(String(h));else if(m.column==="FREEWORD")f.freeword=String(h);else if(m.column==="ARTICLE_ID"){let _=String(h);const w=String(h).split(",");w.length>300&&(_=w.splice(300).join(",")),l.push(_)}else m.column&&m.operator&&(m.castNumeric&&(h=parseInt(h)),m.operator!=="="&&(h+=","+m.operator),f[m.column]=h)}}if(l.length&&(f.ids=l),a.length&&(f.category=a),u.length&&(f.tag_slug=u),c.length&&(f.tag=c),Object.keys(f).length&&(i.conditions=JSON.stringify(f)),r.isRandom)i.isRandom="1";else{const d=r.sort||{},m=d[s.sort]||d.default;if(m){const h=[],_=[];m.value.forEach(w=>{h.push(w.column),_.push(w.order)}),i.sortField=h.join(","),i.sortType=_.join(",")}}r.selectColumns&&(i.select=r.selectColumns.join(",")),i.pageSize=r.pageSize??20,i.pageNo=s.page||void 0;let p;try{if(r.isRecommendMode)if(r.cacheTtl&&n.maxCacheSize){const d=r.cacheKeyName||JSON.stringify({name:"articleRecommendList",reqParams:i}
8);p=await ue().$ApiWithCache(()=>ue().$SearchApi.searchRecommend(i),{key:d,ttl:r.cacheTtl})}else p=await ue().$SearchApi.searchRecommend(i);else if(r.cacheTtl&&n.maxCacheSize){const d=r.cacheKeyName||JSON.stringify({name:"articleList",reqParams:i});p=await ue().$ApiWithCache(()=>ue().$ArticleApi.articleList(i),{key:d,ttl:r.cacheTtl})}else p=await ue().$ArticleApi.articleList(i)}catch{return{...rt,isError:!0}}return{...rt,data:p}},async fetchDetail(e){const t=Dn().kijidas;let n=!1,r="",i="",s=0;if(e?.fetchParams?.articleTypeSlug)r=e.fetchParams.articleTypeSlug;else{const c=this.getPageConfig();if(!c)return console.error("## fetchDeatil: no pageConfig"),{...rt,isError:!0};r=c.articleTypeSlug}if(e?.fetchParams?.articleSlugOrId)typeof e.fetchParams.articleSlugOrId=="string"?i=e.fetchParams.articleSlugOrId:typeof e.fetchParams.articleSlugOrId=="number"&&(s=e.fetchParams.articleSlugOrId,n=!0);else{const{currentRoute:c}=Xe(),u=c.value.name;n=u.includes("preview")&&u.includes("slug");const l=c.value.params;n?s=Number(l.slug):i=l.slug}if(!((s||i)&&r))throw console.error("## fetchDeatil: error: no articleId / articleSlug / articleTypeSlug"),Lt({statusCode:911,statusMessage:"Bad API Request",message:"記事の取得パラメータがありません。",data:{},fatal:!0});let o;if(s){const c={id:s,articleTypeSlug:r};try{const u=e?.cache?.ttl||t.detailCacheTtl;if(u&&t.maxCacheSize){const l=e?.cache?.key||JSON.stringify({name:"articleDetail",reqParams:c});o=await ue().$ApiWithCache(()=>ue().$ArticleApi.articleDetailId(c),{key:l,ttl:u})}else o=await ue().$ArticleApi.articleDetailId(c)}catch{return{...rt,isError:!0}}}else{const c={slug:i,articleTypeSlug:r};try{const u=e?.cache?.ttl||t.detailCacheTtl;if(u&&t.maxCacheSize){const l=e?.cache?.key||JSON.stringify({name:"articleDetail",reqParams:c});o=await ue().$ApiWithCache(()=>ue().$ArticleApi.articleDetailSlug(c),{key:l,ttl:u})}else o=await ue().$ArticleApi.articleDetailSlug(c)}catch{return{...rt,isError:!0}}}let a=null;if(o.code===400400?a=Lt({statusCode:404,statusMessage:"Not Found",message:"記事が見つかりません。",data:{code:o.code},fatal:!0}):o.code!==2e5&&(a=Lt({statusCode:913,statusMessage:"Bad API Response Code",message:"不正なレスポンスコードを受信しました。",data:{errorCode:o.code},fatal:!0})),a)return e?.isNoThrowError||xn(a),{...rt,isError:!0,data:o,error:a};if(!e?.isNoSetHead){const{currentRoute:c}=Xe(),u={title:o.data.article.title,meta:[{name:"description",content:o.data.article.description},{property:"og:title",content:o.data.article.title},{property:"og:type",content:"article"},{property:"og:url",content:`${location.origin}${c.value.fullPath}`}]};Pg(u)}return{...rt,data:o}},async fetchSlider(e,t=null){const n=Dn().kijidas,r={rank:null,articleTypeSlug:"",articleSlug:"",article:null,articleObject:null,pcImage:{sUrl:""},spImage:{sUrl:""},title:"",link:"",isLoaded:!1},i=n.sliderTypeSlug;if(!e)return console.error("## fetchSlider: no sliderSlug"),{...rt,isError:!0};const s={slug:e,articleTypeSlug:i};let o;const a=t?.cache?.ttl||n.silderCacheTtl;try{if(a&&n.maxCacheSize){const d=t?.cache?.key||JSON.stringify({name:"slider",reqParams:s});o=await ue().$ApiWithCache(()=>ue().$ArticleApi.articleDetailSlug(s),{key:d,ttl:a})}else o=await ue().$ArticleApi.articleDetailSlug(s)}catch{}const c=10,u=o.data.article.custom,l=o.data.articleObjects,f=[];for(let d=1;d<=c;d++){const m=u["article"+d],h=u["rank"+d],_=u["date_from"+d]||"1900-01-01 00:00:00",w=u["date_to"+d]||"2500-12-31 23:59:59";if(m){if(xr().isBetween(_,w,"second","[]")){const b=m.split(",");if(b.length>=3){const g=b.shift(),y=b.shift();let S=u["pc_image"+d],C=u["sp_image"+d];S&&(S=this.getImgInfoByID(S,l,"s")),C&&(C=this.getImgInfoByID(C,l,"s"));const T={...r,rank:h,pcImage:S,spImage:C,articleTypeSlug:g,articleSlug:y,link:`/${g}/${y}`,title:b.join(",")};f.push(T)}}}else{const b=u["title"+d];let g=u["pc_image"+d],y=u["sp_image"+d];if(b&&(g||y)&&(g&&(g=this.getImgInfoByID(g,l,"s")),y&&(y=this.getImgInfoByID(y,l,"s")),xr().isBetween(_,w,"second","[]"))){const S={...r,rank:h,pcImage:g,spImage:y,title:b,link:u["link"+d],isLoaded:!0};f.push(S)}}}return{...rt,data:o,extend:{sliderItems:f}}},async fetchSliderItems(e,t=null){const n=[],r=[];for(let s=0;s<e.length;s++){const o=e[s];o.isLoaded||(n.push(this.fetchDetail({fetchParams:{articleTypeSlug:o.articleTypeSlug,articleSlugOrId:o.articleSlug},isNoSetHead:!0})),r.push(s))}let i=[];if(n.length)return i=e,await Promise.all(n).then(s=>{for(let o=0;o<s.length;o++){const a=s[o],c=r[o];if(!a.bError){let u;a.article?.eye_catch_image_object?.path,u=this.getImgInfoByEyeCatch(a.article,"s"),u||(u={sUrl:""});const l=i[c];
8l.tArticle=a.article,l.pcImage=u,l.spImage=u,l.bLoaded=!0}}}),i=i.filter(s=>s.isLoaded?(s.pcImage.sUrl||(s.pcImage.sUrl="/images/no_image.png"),s.spImage.sUrl||(s.spImage.sUrl="/images/no_image.png"),!0):!1),i}}}),GR=async(e,t)=>{let n,r;const i=Oo(),s=Dn().kijidas;if(e.params.article){const o=s.page[e.params.article];if(o){e.params.article;const a=e.name;if(e.params.slug&&!a.includes("preview")){const c={fetchParams:{articleTypeSlug:o.articleTypeSlug,articleSlugOrId:e.params.slug}};[n,r]=Lc(()=>Promise.all([i.fetchSite(),i.fetchMaster(),i.fetchDetail(c)])),await n,r()}else[n,r]=Lc(()=>Promise.all([i.fetchSite(),i.fetchMaster()])),await n,r()}else throw e.params.article,Lt({statusCode:404,statusMessage:"page not found",data:{},fatal:!0})}else[n,r]=Lc(()=>Promise.all([i.fetchSite(),i.fetchMaster()])),await n,r()},WR=e=>{const t=Mg({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return vr(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},c_=[ER,GR,WR],Ul={};function JR(e,t,n){const{pathname:r,search:i,hash:s}=t,o=e.indexOf("#");if(o>-1){const u=s.includes(e.slice(o))?e.slice(o).length:1;let l=s.slice(u);return l[0]!=="/"&&(l="/"+l),ad(l,"")}const a=ad(r,e),c=!n||ag(a,n)?a:n;return c+(c.includes("?")?"":i)+s}const zR=tt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=tn().app.baseURL;Ml&&!r.includes("#")&&(r+="#");const i=rr.history?.(r)??(Ml?MT(r):Kg(r)),s=rr.routes?([t,n]=ds(()=>rr.routes(Dc)),t=await t,n(),t??Dc):Dc;let o;const a=rR({...rr,scrollBehavior:(w,b,g)=>{if(b===Yt){o=g;return}if(rr.scrollBehavior){if(a.options.scrollBehavior=rr.scrollBehavior,"scrollRestoration"in window.history){const y=a.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return rr.scrollBehavior(w,Yt,o||g)}},history:i,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=zn(a.currentRoute.value);a.afterEach((w,b)=>{c.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=JR(r,window.location,e.payload.path),l=zn(a.currentRoute.value),f=()=>{l.value=a.currentRoute.value};a.afterEach((w,b)=>{const g=w.matched.at(-1)?.components?.default,y=b.matched.at(-1)?.components?.default;if(g===y){f();return}w.matched.length<b.matched.length&&w.matched.every((S,C)=>S.components?.default===b.matched[C]?.components?.default)&&f()});const p={sync:f};for(const w in l.value)Object.defineProperty(p,w,{get:()=>l.value[w],enumerable:!0});e._route=mn(p),e._middleware||={global:[],named:{}};const d=Va();a.afterEach(async(w,b,g)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(Uu),g&&await e.callHook("page:loading:end")});try{[t,n]=ds(()=>a.isReady()),await t,n()}catch(w){[t,n]=ds(()=>e.runWithContext(()=>xn(w))),await t,n()}const m=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value,h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&ag(a.currentRoute.value.path,e.payload.path);f();const _=e.payload.state._layout;return a.beforeEach(async(w,b)=>{await e.callHook("page:loading:start"),w.meta=cn(w.meta),e.isHydrating&&_&&!vn(w.meta.layout)&&(w.meta.layout=_),e._processingMiddleware=!0;{const g=new Set([...c_,...e._middleware.global]);for(const S of w.matched){const C=S.meta.middleware;if(C)for(const T of jg(C))g.add(T)}const y=Mg({path:w.path});if(y.appMiddleware)for(const S in y.appMiddleware)y.appMiddleware[S]?g.add(S):g.delete(S);for(const S of g){const C=typeof S=="string"?e._middleware.named[S]||await Ul[S]?.().then(T=>T.default||T):S;if(!C)throw new Error(`Unknown route middleware: '${S}'.`);try{const T=await e.runWithContext(()=>C(w,b));if(!e.payload.serverRendered&&e.isHydrating&&(T===!1||T instanceof Error)){const x=T||Lt({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>xn(x)),!1}if(T===!0)continue;if(T===!1)return T;if(T)return wg(T)&&T.fatal&&await e.runWithContext(()=>xn(T)),T}catch(T){const x=Lt(T);return x.fatal&&await e.runWithContext(()=>xn(x)),x}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(w=>{if(w.matched.length===0&&!d.value)return e.runWithContext(()=>xn(Lt({status:404,fatal:!1,statusText:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>
8{try{if("name"in m&&(m.name=void 0),h){const w=a.resolve(e.payload.path);"name"in w&&(w.name=void 0),await a.replace({...w,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...m,force:!0})})}else await a.replace({...m,force:!0});a.options.scrollBehavior=rr.scrollBehavior}catch(w){await e.runWithContext(()=>xn(w))}}),{provide:{router:a}}}}),KR=tt(()=>{const e=Xe();Wu(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),YR=tt(e=>{let t;async function n(){let r;try{r=await BE()}catch(i){const s=i;if(!("status"in s&&(s.status===404||s.status===403)))throw s}t&&clearTimeout(t),t=setTimeout(n,hd);try{const i=await $fetch(Fu("builds/latest.json")+`?${Date.now()}`);i.id!==r?.id&&(e.hooks.callHook("app:manifest:update",i),t&&clearTimeout(t))}catch{}}Wu(()=>{t=setTimeout(n,hd)})}),QR=tt({name:"nuxt:chunk-reload",setup(e){const t=Xe(),n=tn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function i(s){const o=Lu(n.app.baseURL,s.fullPath);xR({path:o,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(i)}),t.onError((s,o)=>{r.has(s)&&i(o)})}}),XR=tt({name:"pinia",setup(e){const t=Dw();return e.vueApp.use(t),Gs(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),ZR=tt({name:"nuxt:global-components"}),dr={default:dc(()=>qe(()=>import("./QJnl5ES2.js"),[],import.meta.url).then(e=>e.default||e)),event:dc(()=>qe(()=>import("./2zLpNfBe.js"),[],import.meta.url).then(e=>e.default||e)),home:dc(()=>qe(()=>import("./pK5Zrkb_.js"),[],import.meta.url).then(e=>e.default||e))},jR=tt({name:"nuxt:prefetch",setup(e){const t=Xe();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof dr[r]=="function"&&await dr[r]()})}),e.hooks.hook("link:prefetch",n=>{if(vr(n))return;const r=t.resolve(n);if(!r)return;const i=r.meta.layout;let s=jg(r.meta.middleware);s=s.filter(o=>typeof o=="string");for(const o of s)typeof Ul[o]=="function"&&Ul[o]();typeof i=="string"&&i in dr&&NR(dr[i])})}});var No={exports:{}},eI=No.exports,zd;function tI(){return zd||(zd=1,(function(e,t){(function(n,r){e.exports=r()})(eI,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],i=n%100;return"["+n+(r[(i-20)%10]||r[i]||r[0])+"]"}}}))})(No)),No.exports}tI();var xo={exports:{}},nI=xo.exports,Kd;function rI(){return Kd||(Kd=1,(function(e,t){(function(n,r){e.exports=r(a_())})(nI,(function(n){function r(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=r(n),s={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(o){return o+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(o){return o<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return i.default.locale(s,null,!0),s}))})(xo)),xo.exports}rI();var Do={exports:{}},iI=Do.exports,Yd;function sI(){return Yd||(Yd=1,(function(e,t){(function(n,r){e.exports=r()})(iI,(function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(s,o,a){var c=o.prototype;a.utc=function(h){var _={date:h,utc:!0,args:arguments};return new o(_)},c.utc=function(h){var _=a(this.toDate(),{locale:this.$L,utc:!0});return h?_.add(this.utcOffset(),n):_},c.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var u=c.parse;c.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),u.call(this,h)};var l=c.init;c.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else l.call(this)};var f=c.utcOffset;c.utcOffset=function(h,_){var w=this.$utils().u;if(w(h))return this.$u?0:w(this.$offset)?f.call(this):this.$offset;if(typeof h=="string"&&(h=(function(S){S===void 0&&(S="");var C=S.match(r);if(!C)return null;var T=(""+C[0]).match(i)||["-",0,0],x=T[0],A=60*+T[1]+ +T[2];
8return A===0?0:x==="+"?A:-A})(h),h===null))return this;var b=Math.abs(h)<=16?60*h:h;if(b===0)return this.utc(_);var g=this.clone();if(_)return g.$offset=b,g.$u=!1,g;var y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(g=this.local().add(b+y,n)).$offset=b,g.$x.$localOffset=y,g};var p=c.format;c.format=function(h){var _=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,_)},c.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var d=c.toDate;c.toDate=function(h){return h==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var m=c.diff;c.diff=function(h,_,w){if(h&&this.$u===h.$u)return m.call(this,h,_,w);var b=this.local(),g=a(h).local();return m.call(b,g,_,w)}}}))})(Do)),Do.exports}var oI=sI();const aI=Ui(oI);var Po={exports:{}},cI=Po.exports,Qd;function lI(){return Qd||(Qd=1,(function(e,t){(function(n,r){e.exports=r()})(cI,(function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(i,s,o){var a,c=function(p,d,m){m===void 0&&(m={});var h=new Date(p),_=(function(w,b){b===void 0&&(b={});var g=b.timeZoneName||"short",y=w+"|"+g,S=r[y];return S||(S=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:g}),r[y]=S),S})(d,m);return _.formatToParts(h)},u=function(p,d){for(var m=c(p,d),h=[],_=0;_<m.length;_+=1){var w=m[_],b=w.type,g=w.value,y=n[b];y>=0&&(h[y]=parseInt(g,10))}var S=h[3],C=S===24?0:S,T=h[0]+"-"+h[1]+"-"+h[2]+" "+C+":"+h[4]+":"+h[5]+":000",x=+p;return(o.utc(T).valueOf()-(x-=x%1e3))/6e4},l=s.prototype;l.tz=function(p,d){if(p===void 0&&(p=a),!this.isValid())return this;var m,h=this.utcOffset(),_=this.toDate(),w=_.toLocaleString("en-US",{timeZone:p}),b=u(+_,p);if(!Number(b))m=this.utcOffset(0,d);else if(m=o(w,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(b,!0),d){var g=m.utcOffset();m=m.add(h-g,"minute")}return m.$x.$timezone=p,m},l.offsetName=function(p){var d=this.$x.$timezone||o.tz.guess(),m=c(this.valueOf(),d,{timeZoneName:p}).find((function(h){return h.type.toLowerCase()==="timezonename"}));return m&&m.value};var f=l.startOf;l.startOf=function(p,d){if(!this.$x||!this.$x.$timezone)return f.call(this,p,d);var m=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,p,d).tz(this.$x.$timezone,!0)},o.tz=function(p,d,m){var h=m&&d,_=m||d||a,w=u(+o(),_);if(typeof p!="string")return o(p).tz(_);var b=o.utc(p,h).valueOf();if(Number.isNaN(b)){var g=o(NaN);return g.$x.$timezone=_,g}var y=(function(x,A,L){var $=x-60*A*1e3,D=u($,L);if(A===D)return[$,A];var J=u($-=60*(D-A)*1e3,L);return D===J?[$,D]:[x-60*Math.min(D,J)*1e3,Math.max(D,J)]})(b,w,_),S=y[0],C=y[1],T=o(S).utcOffset(C);return T.$x.$timezone=_,T},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(p){a=p}}}))})(Po)),Po.exports}var uI=lI();const fI=Ui(uI);var Lo={exports:{}},dI=Lo.exports,Xd;function pI(){return Xd||(Xd=1,(function(e,t){(function(n,r){e.exports=r()})(dI,(function(){return function(n,r,i){n=n||{};var s=r.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(u,l,f,p){return s.fromToBase(u,l,f,p)}i.en.relativeTime=o,s.fromToBase=function(u,l,f,p,d){for(var m,h,_,w=f.$locale().relativeTime||o,b=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],g=b.length,y=0;y<g;y+=1){var S=b[y];S.d&&(m=p?i(u).diff(f,S.d,!0):f.diff(u,S.d,!0));var C=(n.rounding||Math.round)(Math.abs(m));if(_=m>0,C<=S.r||!S.r){C<=1&&y>0&&(S=b[y-1]);var T=w[S.l];d&&(C=d(""+C)),h=typeof T=="string"?T.replace("%d",C):T(C,l,S.l,_);break}}if(l)return h;var x=_?w.future:w.past;return typeof x=="function"?x(h):x.replace("%s",h)},s.to=function(u,l){return a(u,l,this,!0)},s.from=function(u,l){return a(u,l,this)};var c=function(u){return u.$u?i.utc():i()};s.toNow=function(u){return this.to(c(this),u)},s.fromNow=function(u){return this.from(c(this),u)}}}))})(Lo)),Lo.exports}var hI=pI();const mI=Ui(hI);var Mo={exports:{}},gI=Mo.exports,Zd;function _I(){return Zd||(Zd=1,(function(e,t){(function(n,r){e.exports=r()})(gI,(function(){return function(n,r,i){r.prototype.isBetween=function(s,o,a,c){var u=i(s),l=i(o),f=(c=c||"()")[0]==="(",p=c[1]===")";return(f?this.isAfter(u,a):!this.isBefore(u,a))&&(p?this.isBefore(l,a):!this.isAfter(l,a))||(f?this.isBefore(u,a):!this.isAfter(u,a))&&(p?this.isAfter(l,a):!this.isBefore(l,a))}}}))})(Mo)),Mo.exports}var yI=_I();const vI=Ui(yI),SI=tt(e=>{ar.extend(aI),ar.extend(fI),ar.extend(mI),ar.extend(vI),ar.locale("ja"),ar.tz.setDefault("Asia/Tokyo"),e.provide("dayjs",ar)});let bI=class extends Map{#r=0;#e=new Map;#t=new Map;#i;#o;#s;constructor(t={}){if(super(),!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof t.maxAge=="number"&&t.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.#i=t.maxSize,this.#o=t.maxAge||Number.POSITIVE_INFINITY,this.#s=t.onEviction}get __oldCache(){return this.#t}#a(t){if(typeof this.#s=="function")for(const[n,r]of t)this.#s(n,r.value)}
8#n(t,n){return typeof n.expiry=="number"&&n.expiry<=Date.now()?(typeof this.#s=="function"&&this.#s(t,n.value),this.delete(t)):!1}#d(t,n){if(this.#n(t,n)===!1)return n.value}#c(t,n){return n.expiry?this.#d(t,n):n.value}#l(t,n){const r=n.get(t);return this.#c(t,r)}#u(t,n){this.#e.set(t,n),this.#r++,this.#r>=this.#i&&(this.#r=0,this.#a(this.#t),this.#t=this.#e,this.#e=new Map)}#p(t,n){this.#t.delete(t),this.#u(t,n)}*#f(){for(const t of this.#t){const[n,r]=t;this.#e.has(n)||this.#n(n,r)===!1&&(yield t)}for(const t of this.#e){const[n,r]=t;this.#n(n,r)===!1&&(yield t)}}get(t){if(this.#e.has(t)){const n=this.#e.get(t);return this.#c(t,n)}if(this.#t.has(t)){const n=this.#t.get(t);if(this.#n(t,n)===!1)return this.#p(t,n),n.value}}set(t,n,{maxAge:r=this.#o}={}){const i=typeof r=="number"&&r!==Number.POSITIVE_INFINITY?Date.now()+r:void 0;return this.#e.has(t)?this.#e.set(t,{value:n,expiry:i}):this.#u(t,{value:n,expiry:i}),this}has(t){return this.#e.has(t)?!this.#n(t,this.#e.get(t)):this.#t.has(t)?!this.#n(t,this.#t.get(t)):!1}peek(t){if(this.#e.has(t))return this.#l(t,this.#e);if(this.#t.has(t))return this.#l(t,this.#t)}delete(t){const n=this.#e.delete(t);return n&&this.#r--,this.#t.delete(t)||n}clear(){this.#e.clear(),this.#t.clear(),this.#r=0}resize(t){if(!(t&&t>0))throw new TypeError("`maxSize` must be a number greater than 0");const n=[...this.#f()],r=n.length-t;r<0?(this.#e=new Map(n),this.#t=new Map,this.#r=n.length):(r>0&&this.#a(n.slice(0,r)),this.#t=new Map(n.slice(r)),this.#e=new Map,this.#r=0),this.#i=t}*keys(){for(const[t]of this)yield t}*values(){for(const[,t]of this)yield t}*[Symbol.iterator](){for(const t of this.#e){const[n,r]=t;this.#n(n,r)===!1&&(yield[n,r.value])}for(const t of this.#t){const[n,r]=t;this.#e.has(n)||this.#n(n,r)===!1&&(yield[n,r.value])}}*entriesDescending(){let t=[...this.#e];for(let n=t.length-1;n>=0;--n){const r=t[n],[i,s]=r;this.#n(i,s)===!1&&(yield[i,s.value])}t=[...this.#t];for(let n=t.length-1;n>=0;--n){const r=t[n],[i,s]=r;this.#e.has(i)||this.#n(i,s)===!1&&(yield[i,s.value])}}*entriesAscending(){for(const[t,n]of this.#f())yield[t,n.value]}get size(){if(!this.#r)return this.#t.size;let t=0;for(const n of this.#t.keys())this.#e.has(n)||t++;return Math.min(this.#r+t,this.#i)}get maxSize(){return this.#i}entries(){return this.entriesAscending()}forEach(t,n=this){for(const[r,i]of this.entriesAscending())t.call(n,i,r,this)}get[Symbol.toStringTag](){return"QuickLRU"}toString(){return`QuickLRU(${this.size}/${this.maxSize})`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}};const wI="http://34.85.50.218:8288/app".replace(/\/+$/,"");class Hl{constructor(t={}){this.configuration=t}configuration;set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:wI}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||l_}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const EI=new Hl;class At{constructor(t=EI){this.configuration=t,this.middleware=t.middleware}configuration;static jsonRegex=new RegExp("^(:?application/json|[^;/ 	]+/[^;/ 	]+[+]json)[ 	]*(:?;.*)?$","i");middleware;withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?At.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:i}=await this.createFetchParams(t,n),s=await this.fetchApi(r,i);if(s&&s.status>=200&&s.status<300)return s;throw new II(s,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const i=Object.assign({},this.configuration.headers,t.headers);
8Object.keys(i).forEach(l=>i[l]===void 0?delete i[l]:{});const s=typeof n=="function"?n:async()=>n,o={method:t.method,headers:i,body:t.body,credentials:this.configuration.credentials},a={...o,...await s({init:o,context:t})};let c;RI(a.body)||a.body instanceof URLSearchParams||TI(a.body)?c=a.body:this.isJsonMime(i["Content-Type"])?c=JSON.stringify(a.body):c=a.body;const u={...a,body:c};return{url:r,init:u}}fetchApi=async(t,n)=>{let r={url:t,init:n};for(const s of this.middleware)s.pre&&(r=await s.pre({fetch:this.fetchApi,...r})||r);let i;try{i=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(s){for(const o of this.middleware)o.onError&&(i=await o.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:s,response:i?i.clone():void 0})||i);if(i===void 0)throw s instanceof Error?new AI(s,"The request failed and the interceptors did not return an alternative response"):s}for(const s of this.middleware)s.post&&(i=await s.post({fetch:this.fetchApi,url:r.url,init:r.init,response:i.clone()})||i);return i};clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}}function TI(e){return typeof Blob<"u"&&e instanceof Blob}function RI(e){return typeof FormData<"u"&&e instanceof FormData}class II extends Error{constructor(t,n){super(n),this.response=t}response;name="ResponseError"}class AI extends Error{constructor(t,n){super(n),this.cause=t}cause;name="FetchError"}class ge extends Error{constructor(t,n){super(n),this.field=t}field;name="RequiredError"}function l_(e,t=""){return Object.keys(e).map(n=>u_(n,e[n],t)).filter(n=>n.length>0).join("&")}function u_(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const i=t.map(s=>encodeURIComponent(String(s))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${i}`}if(t instanceof Set){const i=Array.from(t);return u_(e,i,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?l_(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function zr(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class ve{constructor(t,n=r=>r){this.raw=t,this.transformer=n}raw;transformer;async value(){return this.transformer(await this.raw.json())}}function Ga(e){return CI(e)}function CI(e,t){return e==null?e:{id:e.id==null?void 0:e.id,path:e.path==null?void 0:e.path,type:e.type==null?void 0:e.type,description:e.description==null?void 0:e.description,referrer:e.referrer==null?void 0:e.referrer,useWebp:e.use_webp==null?void 0:e.use_webp}}function Ai(e){return kI(e)}function kI(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name==null?void 0:e.name,personalIntroduction:e.personal_introduction==null?void 0:e.personal_introduction,personalDepartment:e.personal_department==null?void 0:e.personal_department,iconObject:e.icon_object==null?void 0:Ga(e.icon_object)}}function Wa(e){return OI(e)}function OI(e,t){return e==null?e:{id:e.id==null?void 0:e.id,parentId:e.parent_id==null?void 0:e.parent_id,parentCategorySlug:e.parent_category_slug==null?void 0:e.parent_category_slug,articleTypeSlug:e.article_type_slug==null?void 0:e.article_type_slug,name:e.name==null?void 0:e.name,categorySlug:e.category_slug==null?void 0:e.category_slug,rank:e.rank==null?void 0:e.rank,description:e.description==null?void 0:e.description,isOpen:e.is_open==null?void 0:e.is_open}}function Ju(e){return NI(e)}function NI(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name==null?void 0:e.name,tagSlug:e.tag_slug==null?void 0:e.tag_slug,description:e.description==null?void 0:e.description,isOfficial:e.is_official==null?void 0:e.is_official,rank:e.rank==null?void 0:e.rank}}function xI(e){return DI(e)}function DI(e,t){return e==null?e:{id:e.id==null?void 0:e.id,articleTypeSlug:e.article_type_slug==null?void 0:e.article_type_slug,articleSlug:e.article_slug==null?void 0:e.article_slug,authorObject:e.author_object==null?void 0:Ai(e.author_object),writerObject:e.writer_object==null?void 0:Ai(e.writer_object),title:e.title==null?void 0:e.title,status:e.status==null?void 0:e.status,eyeCatchImage:e.eye_catch_image==null?void 0:e.eye_catch_image,eyeCatchImageObject:e.eye_catch_image_object==null?void 0:Ga(e.eye_catch_image_object),permissionToRead:e.permission_to_read==null?void 0:e.permission_to_read,isPr:e.is_pr==null?void 0:e.is_pr,keywords:e.keywords==null?void 0:e.keywords,openD
8ate:e.open_date==null?void 0:new Date(e.open_date),bodyHtml:e.body_html==null?void 0:e.body_html,bodyJson:e.body_json==null?void 0:e.body_json,description:e.description==null?void 0:e.description,meta:e.meta==null?void 0:e.meta,twitterCard:e.twitter_card==null?void 0:e.twitter_card,startDate:e.start_date==null?void 0:new Date(e.start_date),endDate:e.end_date==null?void 0:new Date(e.end_date),termFrom:e.term_from==null?void 0:new Date(e.term_from),termTo:e.term_to==null?void 0:new Date(e.term_to),ogTagJson:e.og_tag_json==null?void 0:e.og_tag_json,categories:e.categories==null?void 0:e.categories.map(Wa),tags:e.tags==null?void 0:e.tags.map(Ju),custom:e.custom==null?void 0:e.custom}}function f_(e){return PI(e)}function PI(e,t){return e==null?e:{article:e.article==null?void 0:xI(e.article)}}function zu(e){return LI(e)}function LI(e,t){return e==null?e:{id:e.id,articleTypeSlug:e.article_type_slug==null?void 0:e.article_type_slug,articleSlug:e.article_slug==null?void 0:e.article_slug,authorObject:e.author_object==null?void 0:Ai(e.author_object),writerObject:e.writer_object==null?void 0:Ai(e.writer_object),title:e.title==null?void 0:e.title,status:e.status==null?void 0:e.status,eyeCatchImage:e.eye_catch_image==null?void 0:e.eye_catch_image,eyeCatchImageObject:e.eye_catch_image_object==null?void 0:Ga(e.eye_catch_image_object),permissionToRead:e.permission_to_read==null?void 0:e.permission_to_read,isPr:e.is_pr==null?void 0:e.is_pr,keywords:e.keywords==null?void 0:e.keywords,openDate:e.open_date==null?void 0:new Date(e.open_date),bodyHtml:e.body_html==null?void 0:e.body_html,bodyJson:e.body_json==null?void 0:e.body_json,description:e.description==null?void 0:e.description,meta:e.meta==null?void 0:e.meta,twitterCard:e.twitter_card==null?void 0:e.twitter_card,startDate:e.start_date==null?void 0:new Date(e.start_date),endDate:e.end_date==null?void 0:new Date(e.end_date),termFrom:e.term_from==null?void 0:new Date(e.term_from),termTo:e.term_to==null?void 0:new Date(e.term_to),ogTagJson:e.og_tag_json==null?void 0:e.og_tag_json,categories:e.categories==null?void 0:e.categories.map(Wa),tags:e.tags==null?void 0:e.tags.map(Ju),custom:e.custom==null?void 0:e.custom,relations:e.relations==null?void 0:e.relations.map(f_)}}function Ja(e){return MI(e)}function MI(e,t){return e==null?e:{count:e.count==null?void 0:e.count,pageNo:e.page_no==null?void 0:e.page_no,totalPage:e.total_page==null?void 0:e.total_page,pageSize:e.page_size==null?void 0:e.page_size}}function $I(e){return FI(e)}function FI(e,t){return e==null?e:{categories:e.Categories==null?void 0:e.Categories.map(Wa)}}function UI(e){return HI(e)}function HI(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:Ja(e.meta),data:e.data==null?void 0:$I(e.data)}}function BI(e){return VI(e)}function VI(e,t){return e==null?e:{id:e.id==null?void 0:e.id}}function jd(e){return qI(e)}function qI(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:BI(e.data)}}function _i(e){return GI(e)}function GI(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:e.data}}function WI(e){return e==null?e:{id:e.id,password:e.password,recaptcha:e.recaptcha}}function JI(e){return zI(e)}function zI(e,t){return e==null?e:{name:e.name==null?void 0:e.name,title:e.title==null?void 0:e.title,comment:e.comment==null?void 0:e.comment,file1:e.file1==null?void 0:e.file1,file2:e.file2==null?void 0:e.file2,returnText:e.return_text==null?void 0:e.return_text,createdAt:e.created_at==null?void 0:e.created_at}}function KI(e){return YI(e)}function YI(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:Ja(e.meta),data:e.data==null?void 0:e.data.map(JI)}}function QI(e){return e==null?e:{id:e.id,comment:e.comment,recaptcha:e.recaptcha}}function za(e){return XI(e)}function XI(e,t){return e==null?e:{id:e.id==null?void 0:e.id,path:e.path==null?void 0:e.path,type:e.type==null?void 0:e.type,description:e.description==null?void 0:e.description,referrer:e.referrer==null?void 0:e.referrer,useWebp:e.use_webp==null?void 0:e.use_webp}}function ZI(e){return jI(e)}function jI(e,t){return e==null?e:{article:e.article==null?void 0:zu(e.article),articleObjects:e.article_objects==null?void 0:e.article_objects.map(za)}}function ep(e){return eA(e)}function eA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:ZI(e.data)}}function d_(e){return tA(e)}function tA(e,t){return e==null?e:{message:e.message==null?void 0:e.message}}function p_(e){return nA(e)}function nA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:d_(e.data)}}function rA(e){return iA(e)}function iA(e,t){return e==null?e:{id:e.id,articleTypeSlug:e.article_type_slug==null?void 0:e.article_type_slug,articleSlug:e.article_slug==null?void 0:e.article_slug,authorObject:e.author_object==null?void 0:Ai(e.author_object),writerObject:e.writer_object==null?void 0:Ai(e.writer_object),title:e.title==null?void 0:e.title,status:e.status==null?void 0:e.status,eyeCatchImage:e.eye_catch_image==null?void 0:e.eye_catch_image,eyeCatchImageObject:e.eye_catch_image_object==null?void 0:Ga(e.eye_catch_image_object),permissionToRead:e.permission_to_read==null?void 0:e.permission_to_read,isPr:e.is_pr==null?void 0:e.is_pr,keywords:e.keywords==null?void 0:e.keywords,openD
8ate:e.open_date==null?void 0:new Date(e.open_date),bodyHtml:e.body_html==null?void 0:e.body_html,bodyJson:e.body_json==null?void 0:e.body_json,description:e.description==null?void 0:e.description,meta:e.meta==null?void 0:e.meta,twitterCard:e.twitter_card==null?void 0:e.twitter_card,startDate:e.start_date==null?void 0:new Date(e.start_date),endDate:e.end_date==null?void 0:new Date(e.end_date),termFrom:e.term_from==null?void 0:new Date(e.term_from),termTo:e.term_to==null?void 0:new Date(e.term_to),ogTagJson:e.og_tag_json==null?void 0:e.og_tag_json,categories:e.categories==null?void 0:e.categories.map(Wa),tags:e.tags==null?void 0:e.tags.map(Ju),custom:e.custom==null?void 0:e.custom,relations:e.relations==null?void 0:e.relations.map(f_)}}function sA(e){return oA(e)}function oA(e,t){return e==null?e:{articles:e.articles==null?void 0:e.articles.map(rA),articleObjects:e.article_objects==null?void 0:e.article_objects.map(za)}}function $o(e){return aA(e)}function aA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:Ja(e.meta),data:e.data==null?void 0:sA(e.data)}}function cA(e){return e==null?e:{article_type_slug:e.articleTypeSlug,article_slug:e.articleSlug,memo:e.memo,score:e.score,is_public:e.isPublic}}function lA(e){return uA(e)}function uA(e,t){return e==null?e:{id:e.id==null?void 0:e.id,articleTypeSlug:e.article_type_slug==null?void 0:e.article_type_slug,articleSlug:e.article_slug==null?void 0:e.article_slug,memo:e.memo==null?void 0:e.memo,score:e.score==null?void 0:e.score,isPublic:e.is_public==null?void 0:e.is_public,article:e.article==null?void 0:zu(e.article),articleObjects:e.article_objects==null?void 0:e.article_objects.map(za)}}function fA(e){return dA(e)}function dA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:lA(e.data)}}function pA(e){return e==null?e:{memo:e.memo,score:e.score,is_public:e.isPublic}}function hA(e){return mA(e)}function mA(e,t){return e==null?e:{id:e.id==null?void 0:e.id,articleTypeSlug:e.article_type_slug==null?void 0:e.article_type_slug,articleSlug:e.article_slug==null?void 0:e.article_slug,memo:e.memo==null?void 0:e.memo,score:e.score==null?void 0:e.score,isPublic:e.is_public==null?void 0:e.is_public,article:e.article==null?void 0:zu(e.article)}}function gA(e){return _A(e)}function _A(e,t){return e==null?e:{articleObjects:e.article_objects==null?void 0:e.article_objects.map(za),favorites:e.favorites==null?void 0:e.favorites.map(hA)}}function yA(e){return vA(e)}function vA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:Ja(e.meta),data:e.data==null?void 0:gA(e.data)}}function SA(e){return bA(e)}function bA(e,t){return e==null?e:{id:e.id==null?void 0:e.id,articleTypeSlug:e.article_type_slug==null?void 0:e.article_type_slug,articleSlug:e.article_slug==null?void 0:e.article_slug,isPublic:e.is_public==null?void 0:e.is_public}}function wA(e){return EA(e)}function EA(e,t){return e==null?e:{count:e.count==null?void 0:e.count}}function TA(e){return RA(e)}function RA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:wA(e.meta),data:e.data==null?void 0:e.data.map(SA)}}function IA(e){return e==null?e:{id:e.id}}function AA(e){return e==null?e:{login_id:e.loginId,password:e.password}}function CA(e){return kA(e)}function kA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta}}function OA(e){return NA(e)}function NA(e,t){return e==null?e:{id:e.id==null?void 0:e.id,title:e.title==null?void 0:e.title,description:e.description==null?void 0:e.description,type:e.type==null?void 0:e.type,maxlength:e.maxlength==null?void 0:e.maxlength,minlength:e.minlength==null?void 0:e.minlength,placeholder:e.placeholder==null?void 0:e.placeholder,required:e.required==null?void 0:e.required,userentryEnquateSelect:e.userentry_enquate_select==null?void 0:e.userentry_enquate_select}}function xA(e){return DA(e)}function DA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:e.data.map(OA)}}function PA(e){return LA(e)}function LA(e,t){return e==null?e:{masterHeaderSlug:e.master_header_slug==null?void 0:e.master_header_slug,name:e.name==null?void 0:e.name,value:e.value==null?void 0:e.value,rank:e.rank==null?void 0:e.rank}}function MA(e){return $A(e)}function $A(e,t){return e==null?e:{masterHeaderSlug:e.master_header_slug==null?void 0:e.master_header_slug,name:e.name==null?void 0:e.name,rank:e.rank==null?void 0:e.rank,details:e.details==null?void 0:e.details.map(PA)}}function FA(e){return UA(e)}function UA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:e.data.map(MA)}}function ir(e){return HA(e)}
8function HA(e,t){return e==null?e:{title:e.title==null?void 0:e.title,name:e.name==null?void 0:e.name,type:e.type==null?void 0:e.type,_class:e.class==null?void 0:e.class,maxlength:e.maxlength==null?void 0:e.maxlength,minlength:e.minlength==null?void 0:e.minlength,required:e.required==null?void 0:e.required,inputOnly:e.input_only==null?void 0:e.input_only,regex:e.regex==null?void 0:e.regex,placeholder:e.placeholder==null?void 0:e.placeholder,masterHeaderSlug:e.master_header_slug==null?void 0:e.master_header_slug,rank:e.rank==null?void 0:e.rank}}function BA(e){return VA(e)}function VA(e,t){return e==null?e:{fName:e.f_name==null?void 0:ir(e.f_name),lName:e.l_name==null?void 0:ir(e.l_name),postalCode:e.postal_code==null?void 0:ir(e.postal_code),prefectureId:e.prefecture_id==null?void 0:ir(e.prefecture_id),address:e.address==null?void 0:ir(e.address),birthYear:e.birth_year==null?void 0:ir(e.birth_year),gender:e.gender==null?void 0:ir(e.gender),jobId:e.job_id==null?void 0:ir(e.job_id)}}function qA(e){return GA(e)}function GA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,customFields:e.custom_fields==null?void 0:BA(e.custom_fields)}}function WA(e){return JA(e)}function JA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:qA(e.data)}}function zA(e){return e==null?e:{value1:e.value1,value2:e.value2,value3:e.value3,value4:e.value4,value5:e.value5}}function KA(e){return YA(e)}function YA(e,t){return e==null?e:{url:e.url==null?void 0:e.url}}function QA(e){return XA(e)}function XA(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:KA(e.data)}}function ZA(e){return e==null?e:{password:e.password,password_again:e.passwordAgain,code:e.code}}function jA(e){return e==null?e:{mail:e.mail}}function eC(e){return tC(e)}function tC(e,t){return e==null?e:{code:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:d_(e.data)}}function nC(e){return rC(e)}function rC(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name==null?void 0:e.name,tagSlug:e.tag_slug==null?void 0:e.tag_slug,description:e.description==null?void 0:e.description,isOfficial:e.is_official==null?void 0:e.is_official,count:e.count==null?void 0:e.count}}function iC(e){return sC(e)}function sC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:e.data.map(nC)}}function oC(e){return aC(e)}function aC(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name==null?void 0:e.name,tagSlug:e.tag_slug==null?void 0:e.tag_slug,description:e.description==null?void 0:e.description,isOfficial:e.is_official==null?void 0:e.is_official}}function cC(e){return lC(e)}function lC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:oC(e.data)}}function uC(e){return fC(e)}function fC(e,t){return e==null?e:{id:e.id==null?void 0:e.id,tagSlug:e.tag_slug==null?void 0:e.tag_slug,name:e.name==null?void 0:e.name,description:e.description==null?void 0:e.description,isOfficial:e.is_official==null?void 0:e.is_official}}function dC(e){return pC(e)}function pC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:e.data.map(uC)}}function ms(e){return hC(e)}function hC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:eC(e.data)}}function mC(e){return gC(e)}function gC(e,t){return e==null?e:{id:e.id,mail:e.mail==null?void 0:e.mail,password:e.password==null?void 0:e.password,pushAuthentication:e.push_authentication==null?void 0:e.push_authentication,status:e.status==null?void 0:e.status,rank:e.rank==null?void 0:e.rank,searchJson:e.search_json==null?void 0:e.search_json,iconPath:e.icon_path==null?void 0:e.icon_path,custom:e.custom==null?void 0:e.custom,snsKind:e.sns_kind==null?void 0:e.sns_kind}}function Fo(e){return _C(e)}function _C(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:e.data.map(mC)}}function yC(e){return vC(e)}function vC(e,t){return e==null?e:{customField:e.custom_field==null?void 0:e.custom_field,snsKind:e.sns_kind==null?void 0:e.sns_kind,option:e.option==null?void 0:e.option}}function SC(e){return bC(e)}function bC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:yC(e.data)}}function wC(e){return e==null?e:{mail:e.mail,password:e.password,nickname:e.nickname,user_unique_id:e.userUniqueId,custom:e.custom}}function EC(e){return TC(e)}function TC(e,t){return e==null?e:{mail:e.mail==null?void 0:e.mail}}function RC(e){return e==null?e:{mail:e.mail}}function IC(e){return AC(e)}function AC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:EC(e.data)}}function CC(e){return kC(e)}function kC(e,t){return e==null?e:{mail:e.mail==null?void 0:e.mail,searchJson:e.search_json==null?void 0:e.search_json,iconPath:e.icon_path==null?void 0:e.icon_path,nickname:e.nickname==null?void 0:e.nickname,custom:e.custom==null?void 0:e.custom,snsKind:e.sns_kind==null?void 0:e.sns_kind}}function OC(e){return NC(e)}function NC(e,t){return e==null?e:{id:e.id==null?void 0:e.id,title:e.title==null?void 0:e.title,de
8scription:e.description==null?void 0:e.description,type:e.type==null?void 0:e.type,maxlength:e.maxlength==null?void 0:e.maxlength,minlength:e.minlength==null?void 0:e.minlength,placeholder:e.placeholder==null?void 0:e.placeholder,required:e.required==null?void 0:e.required,euquateAnswer:e.euquate_answer==null?void 0:e.euquate_answer}}function xC(e){return DC(e)}function DC(e,t){return e==null?e:{mail:e.mail==null?void 0:e.mail,searchJson:e.search_json==null?void 0:e.search_json,iconPath:e.icon_path==null?void 0:e.icon_path,nickname:e.nickname==null?void 0:e.nickname,customField:e.custom_field==null?void 0:e.custom_field,custom:e.custom==null?void 0:e.custom,parentId:e.parent_id==null?void 0:e.parent_id,parentMeta:e.parent_meta==null?void 0:e.parent_meta,snsKind:e.sns_kind==null?void 0:e.sns_kind,children:e.children==null?void 0:e.children.map(CC),enquate:e.enquate==null?void 0:e.enquate.map(OC)}}function PC(e){return LC(e)}function LC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:xC(e.data)}}function MC(e){return $C(e)}function $C(e,t){return e==null?e:{message:e.message==null?void 0:e.message,id:e.id==null?void 0:e.id}}function Bl(e){return FC(e)}function FC(e,t){return e==null?e:{code:e.code==null?void 0:e.code,meta:e.meta==null?void 0:e.meta,data:e.data==null?void 0:MC(e.data)}}class UC extends At{async articleCategoryRaw(t,n){if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleCategory().');const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType),t.parentId!=null&&(r.parent_id=t.parentId),t.categorySlug!=null&&(r.category_slug=t.categorySlug);const i={},s=await this.request({path:"/article/{article_type_slug}/category_list".replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>UI(o))}async articleCategory(t,n){return await(await this.articleCategoryRaw(t,n)).value()}async articleCommentAddRaw(t,n){if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleCommentAdd().');if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleCommentAdd().');const r={},i={},o=zr([{contentType:"multipart/form-data"}]);let a,c=!1;c=o,c=o,c?a=new FormData:a=new URLSearchParams,t.name!=null&&a.append("name",t.name),t.title!=null&&a.append("title",t.title),t.comment!=null&&a.append("comment",t.comment),t.password!=null&&a.append("password",t.password),t.recaptcha!=null&&a.append("recaptcha",t.recaptcha),t.file1!=null&&a.append("file1",t.file1),t.file2!=null&&a.append("file2",t.file2);const u=await this.request({path:"/article/{article_type_slug}/{slug}/comment_add".replace("{slug}",encodeURIComponent(String(t.slug))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"POST",headers:i,query:r,body:a},n);return new ve(u,l=>jd(l))}async articleCommentAdd(t,n){return await(await this.articleCommentAddRaw(t,n)).value()}async articleCommentDeleteRaw(t,n){if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleCommentDelete().');if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleCommentDelete().');if(t.articleCommentDeleteRequest==null)throw new ge("articleCommentDeleteRequest",'Required parameter "articleCommentDeleteRequest" was null or undefined when calling articleCommentDelete().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/article/{article_type_slug}/{slug}/comment_delete".replace("{slug}",encodeURIComponent(String(t.slug))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"POST",headers:i,query:r,body:WI(t.articleCommentDeleteRequest)},n);return new ve(s,o=>_i(o))}async articleCommentDelete(t,n){return await(await this.articleCommentDeleteRaw(t,n)).value(
8)}async articleCommentEditRaw(t,n){if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleCommentEdit().');if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleCommentEdit().');const r={},i={},o=zr([{contentType:"multipart/form-data"}]);let a,c=!1;c=o,c=o,c?a=new FormData:a=new URLSearchParams,t.id!=null&&a.append("id",t.id),t.name!=null&&a.append("name",t.name),t.title!=null&&a.append("title",t.title),t.comment!=null&&a.append("comment",t.comment),t.password!=null&&a.append("password",t.password),t.recaptcha!=null&&a.append("recaptcha",t.recaptcha),t.file1!=null&&a.append("file1",t.file1),t.file2!=null&&a.append("file2",t.file2),t.file1Del!=null&&a.append("file1_del",t.file1Del),t.file2Del!=null&&a.append("file2_del",t.file2Del);const u=await this.request({path:"/article/{article_type_slug}/{slug}/comment_edit".replace("{slug}",encodeURIComponent(String(t.slug))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"POST",headers:i,query:r,body:a},n);return new ve(u,l=>jd(l))}async articleCommentEdit(t,n){return await(await this.articleCommentEditRaw(t,n)).value()}async articleCommentListRaw(t,n){if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleCommentList().');if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleCommentList().');const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType),t.conditions!=null&&(r.conditions=t.conditions);const i={},s=await this.request({path:"/article/{article_type_slug}/{slug}/comment_list".replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))).replace("{slug}",encodeURIComponent(String(t.slug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>KI(o))}async articleCommentList(t,n){return await(await this.articleCommentListRaw(t,n)).value()}async articleCommentReturnRaw(t,n){if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleCommentReturn().');
8if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleCommentReturn().');if(t.articleCommentReturnRequest==null)throw new ge("articleCommentReturnRequest",'Required parameter "articleCommentReturnRequest" was null or undefined when calling articleCommentReturn().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/article/{article_type_slug}/{slug}/comment_return".replace("{slug}",encodeURIComponent(String(t.slug))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"POST",headers:i,query:r,body:QI(t.articleCommentReturnRequest)},n);return new ve(s,o=>_i(o))}async articleCommentReturn(t,n){return await(await this.articleCommentReturnRaw(t,n)).value()}async articleDetailIdRaw(t,n){if(t.id==null)throw new ge("id",'Required parameter "id" was null or undefined when calling articleDetailId().');if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleDetailId().');const r={},i={},s=await this.request({path:"/article/{article_type_slug}/id/{id}".replace("{id}",encodeURIComponent(String(t.id))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>ep(o))}async articleDetailId(t,n){return await(await this.articleDetailIdRaw(t,n)).value()}async articleDetailSlugRaw(t,n){if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleDetailSlug().');if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleDetailSlug().');const r={},i={},s=await this.request({path:"/article/{article_type_slug}/{slug}".replace("{slug}",encodeURIComponent(String(t.slug))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>ep(o))}async articleDetailSlug(t,n){return await(await this.articleDetailSlugRaw(t,n)).value()}async articleGoodRaw(t,n){if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleGood().');if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleGood().');const r={},i={},s=await this.request({path:"/article/{article_type_slug}/{slug}/good".replace("{slug}",encodeURIComponent(String(t.slug))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>_i(o))}async articleGood(t,n){return await(await this.articleGoodRaw(t,n)).value()}async articleListRaw(t,n){if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleList().');const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType),t.isRandom!=null&&(r.is_random=t.isRandom),t.conditions!=null&&(r.conditions=t.conditions),t.articleType!=null&&(r.article_type=t.articleType),t.select!=null&&(r.select=t.select);const i={},s=await this.request({path:"/article/{article_type_slug}/list".replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>$o(o))}async articleList(t,n){return await(await this.articleListRaw(t,n)).value()}}class HC extends At{async articleFormAddRaw(t,n){if(t.slug==null)throw new ge("slug",'Required parameter "slug" was null or undefined when calling articleFormAdd().');if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling articleFormAdd().');const r={},i={};zr([{contentType:"multipart/form-data"}]);let o;o=new URLSearchParams,t.form!=null&&o.append("form",t.form);const a=await this.request({path:"/article_form/{article_type_slug}/{slug}/add".replace("{slug}",encodeURIComponent(String(t.slug))).replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"POST",headers:i,query:r,body:o},n);return new ve(a,c=>p_(c))}async articleFormAdd(t,n){return await(await this.articleFormAddRaw(t,n)).value(
8)}}class BC extends At{async favoriteAddRaw(t,n){if(t.favoriteAddRequest==null)throw new ge("favoriteAddRequest",'Required parameter "favoriteAddRequest" was null or undefined when calling favoriteAdd().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/favorite",method:"POST",headers:i,query:r,body:cA(t.favoriteAddRequest)},n);return new ve(s,o=>Bl(o))}async favoriteAdd(t,n){return await(await this.favoriteAddRaw(t,n)).value()}async favoriteDeleteRaw(t,n){if(t.iDsInner==null)throw new ge("iDsInner",'Required parameter "iDsInner" was null or undefined when calling favoriteDelete().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/favorite",method:"DELETE",headers:i,query:r,body:t.iDsInner.map(IA)},n);return new ve(s,o=>p_(o))}async favoriteDelete(t,n){return await(await this.favoriteDeleteRaw(t,n)).value()}async favoriteDetailRaw(t,n){if(t.id==null)throw new ge("id",'Required parameter "id" was null or undefined when calling favoriteDetail().');const r={},i={},s=await this.request({path:"/favorite/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:r},n);return new ve(s,o=>fA(o))}async favoriteDetail(t,n){return await(await this.favoriteDetailRaw(t,n)).value()}async favoriteEditRaw(t,n){if(t.id==null)throw new ge("id",'Required parameter "id" was null or undefined when calling favoriteEdit().');if(t.favoriteEditRequest==null)throw new ge("favoriteEditRequest",'Required parameter "favoriteEditRequest" was null or undefined when calling favoriteEdit().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/favorite/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:r,body:pA(t.favoriteEditRequest)},n);return new ve(s,o=>Bl(o))}async favoriteEdit(t,n){return await(await this.favoriteEditRaw(t,n)).value()}async favoriteListRaw(t,n){const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType),t.isPublic!=null&&(r.is_public=t.isPublic);const i={},s=await this.request({path:"/favorite/list",method:"GET",headers:i,query:r},n);return new ve(s,o=>yA(o))}async favoriteList(t={},n){return await(await this.favoriteListRaw(t,n)).value()}async favoriteListLiteRaw(t){const n={},r={},i=await this.request({path:"/favorite/list_lite",method:"GET",headers:r,query:n},t);return new ve(i,s=>TA(s))}async favoriteListLite(t){return await(await this.favoriteListLiteRaw(t)).value()}}class VC extends At{async loginRaw(t,n){if(t.login==null)throw new ge("login",'Required parameter "login" was null or undefined when calling login().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/login",method:"POST",headers:i,query:r,body:AA(t.login)},n);return new ve(s,o=>CA(o))}async login(t,n){return await(await this.loginRaw(t,n)).value()}async tokenRaw(t){const n={},r={},i=await this.request({path:"/token",method:"POST",headers:r,query:n},t);return new ve(i,s=>ms(s))}async token(t){return await(await this.tokenRaw(t)).value()}}class qC extends At{async logoutRaw(t){const n={},r={},i=await this.request({path:"/logout",method:"POST",headers:r,query:n},t);return new ve(i,s=>ms(s))}async logout(t){return await(await this.logoutRaw(t)).value()}}class GC extends At{async masterEnquateGetRaw(t){const n={},r={},i=await this.request({path:"/master/enquate",method:"GET",headers:r,query:n},t);return new ve(i,s=>xA(s))}async masterEnquateGet(t){return await(await this.masterEnquateGetRaw(t)).value()}async masterGetRaw(t){const n={},r={},i=await this.request({path:"/master",method:"GET",headers:r,query:n},t);return new ve(i,s=>FA(s))}async masterGet(t){return await(await this.masterGetRaw(t)).value()}}class WC extends At{async oauthCallbackRaw(t,n){if(t.socialSlug==null)throw new ge("socialSlug",'Required parameter "socialSlug" was null or undefined when calling oauthCallback().');if(t.socialAction==null)throw new ge("socialAction",'Required parameter "socialAction" was null or undefined when calling oauthCallback().');
8if(t.oauthCallbackRequest==null)throw new ge("oauthCallbackRequest",'Required parameter "oauthCallbackRequest" was null or undefined when calling oauthCallback().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/oauth/{social_slug}/callback/{social_action}".replace("{social_slug}",encodeURIComponent(String(t.socialSlug))).replace("{social_action}",encodeURIComponent(String(t.socialAction))),method:"POST",headers:i,query:r,body:zA(t.oauthCallbackRequest)},n);return new ve(s,o=>WA(o))}async oauthCallback(t,n){return await(await this.oauthCallbackRaw(t,n)).value()}async oauthRedirectRaw(t,n){if(t.socialSlug==null)throw new ge("socialSlug",'Required parameter "socialSlug" was null or undefined when calling oauthRedirect().');if(t.socialAction==null)throw new ge("socialAction",'Required parameter "socialAction" was null or undefined when calling oauthRedirect().');const r={},i={},s=await this.request({path:"/oauth/{social_slug}/redirect/{social_action}".replace("{social_slug}",encodeURIComponent(String(t.socialSlug))).replace("{social_action}",encodeURIComponent(String(t.socialAction))),method:"POST",headers:i,query:r},n);return new ve(s,o=>QA(o))}async oauthRedirect(t,n){return await(await this.oauthRedirectRaw(t,n)).value()}}class JC extends At{async passwordCompleteRaw(t,n){if(t.passwordCompleteRequest==null)throw new ge("passwordCompleteRequest",'Required parameter "passwordCompleteRequest" was null or undefined when calling passwordComplete().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/password/complete",method:"POST",headers:i,query:r,body:ZA(t.passwordCompleteRequest)},n);return new ve(s,o=>ms(o))}async passwordComplete(t,n){return await(await this.passwordCompleteRaw(t,n)).value()}async passwordInputRaw(t,n){if(t.code==null)throw new ge("code",'Required parameter "code" was null or undefined when calling passwordInput().');const r={},i={},s=await this.request({path:"/password/input/{code}".replace("{code}",encodeURIComponent(String(t.code))),method:"GET",headers:i,query:r},n);return new ve(s,o=>ms(o))}async passwordInput(t,n){return await(await this.passwordInputRaw(t,n)).value()}async passwordSendRaw(t,n){if(t.passwordSendRequest==null)throw new ge("passwordSendRequest",'Required parameter "passwordSendRequest" was null or undefined when calling passwordSend().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/password/send",method:"POST",headers:i,query:r,body:jA(t.passwordSendRequest)},n);return new ve(s,o=>ms(o))}async passwordSend(t,n){return await(await this.passwordSendRaw(t,n)).value()}}class zC extends At{async searchListRaw(t,n){if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling searchList().');const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType),t.select!=null&&(r.select=t.select),t.isRandom!=null&&(r.is_random=t.isRandom),t.conditions!=null&&(r.conditions=t.conditions),t.articleType!=null&&(r.article_type=t.articleType);const i={},s=await this.request({path:"/search".replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>$o(o))}async searchList(t,n){return await(await this.searchListRaw(t,n)).value()}async searchRecommendRaw(t,n){if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling searchRecommend().');const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType),t.select!=null&&(r.select=t.select),t.isRandom!=null&&(r.is_random=t.isRandom),t.conditions!=null&&(r.conditions=t.conditions),t.articleType!=null&&(r.article_type=t.articleType);const i={},s=await this.request({path:"/search/recommend".replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>$o(o))}async searchRecommend(t,n){return await(await this.searchRecommendRaw(t,n)).value(
8)}async searchRelationRecommendRaw(t,n){if(t.articleId==null)throw new ge("articleId",'Required parameter "articleId" was null or undefined when calling searchRelationRecommend().');const r={};t.pageSize!=null&&(r.page_size=t.pageSize),t.articleType!=null&&(r.article_type=t.articleType),t.articleId!=null&&(r.article_id=t.articleId);const i={},s=await this.request({path:"/search/relations",method:"GET",headers:i,query:r},n);return new ve(s,o=>$o(o))}async searchRelationRecommend(t,n){return await(await this.searchRelationRecommendRaw(t,n)).value()}}class KC extends At{async siteRaw(t){const n={},r={},i=await this.request({path:"/site",method:"POST",headers:r,query:n},t);return new ve(i)}async site(t){return await(await this.siteRaw(t)).value()}}class YC extends At{async tagGetRaw(t,n){if(t.articleTypeSlug==null)throw new ge("articleTypeSlug",'Required parameter "articleTypeSlug" was null or undefined when calling tagGet().');const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType);const i={},s=await this.request({path:"/tag/{article_type_slug}".replace("{article_type_slug}",encodeURIComponent(String(t.articleTypeSlug))),method:"GET",headers:i,query:r},n);return new ve(s,o=>iC(o))}async tagGet(t,n){return await(await this.tagGetRaw(t,n)).value()}async tagGetDetailRaw(t,n){if(t.id==null)throw new ge("id",'Required parameter "id" was null or undefined when calling tagGetDetail().');const r={},i={},s=await this.request({path:"/tag/detail/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:r},n);return new ve(s,o=>cC(o))}async tagGetDetail(t,n){return await(await this.tagGetDetailRaw(t,n)).value()}async tagOfficialRaw(t,n){const r={};t.pageNo!=null&&(r.page_no=t.pageNo),t.pageSize!=null&&(r.page_size=t.pageSize),t.sortField!=null&&(r.sort_field=t.sortField),t.sortType!=null&&(r.sort_type=t.sortType);const i={},s=await this.request({path:"/tag_official",method:"GET",headers:i,query:r},n);return new ve(s,o=>dC(o))}async tagOfficial(t={},n){return await(await this.tagOfficialRaw(t,n)).value()}}class QC extends At{async userAddRaw(t,n){const r={},i={};zr([{contentType:"multipart/form-data"}]);let o;o=new URLSearchParams,t.code!=null&&o.append("code",t.code),t.nickname!=null&&o.append("nickname",t.nickname),t.mail!=null&&o.append("mail",t.mail),t.userUniqueId!=null&&o.append("user_unique_id",t.userUniqueId),t.custom!=null&&o.append("custom",new Blob([JSON.stringify(objectToJSON(t.custom))],{type:"application/json"})),t.option!=null&&o.append("option",new Blob([JSON.stringify(objectToJSON(t.option))],{type:"application/json"})),t.enquate!=null&&o.append("enquate",new Blob([JSON.stringify(objectToJSON(t.enquate))],{type:"application/json"}));const a=await this.request({path:"/user",method:"POST",headers:i,query:r,body:o},n);return new ve(a,c=>Fo(c))}async userAdd(t={},n){return await(await this.userAddRaw(t,n)).value()}async userAddCheckRaw(t,n){if(t.code==null)throw new ge("code",'Required parameter "code" was null or undefined when calling userAddCheck().');const r={},i={},s=await this.request({path:"/user/add_check/{code}".replace("{code}",encodeURIComponent(String(t.code))),method:"GET",headers:i,query:r},n);return new ve(s,o=>SC(o))}async userAddCheck(t,n){return await(await this.userAddCheckRaw(t,n)).value()}async userAddTempRaw(t,n){if(t.userAddTempRequest==null)throw new ge("userAddTempRequest",'Required parameter "userAddTempRequest" was null or undefined when calling userAddTemp().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/user/add_temp",method:"POST",headers:i,query:r,body:wC(t.userAddTempRequest)},n);return new ve(s,o=>Fo(o))}async userAddTemp(t,n){return await(await this.userAddTempRaw(t,n)).value()}async userDeleteRaw(t){const n={},r={},i=await this.request({path:"/user",method:"DELETE",headers:r,query:n},t);return new ve(i,s=>_i(s))}async userDelete(t){return await(await this.userDeleteRaw(t)).value()}async userEditRaw(t,n){const r={},i={};zr([{contentType:"multipart/form-data"}]);let o;o=new URLSearchParams,t.nickname!=null&&o.append("nickname",t.nickname),t.password!=null&&o.append("password",t.password),t.passwordAgain!=null&&o.append("password_again",t.passwordAgain),t.pushAuthentication!=null&&o.append("push_authentication",t.pushAuthentication),t.searchJson!=null&&o.append("search_json",t.searchJson),t.iconPath!=null&&o.append("icon_path",t.iconPath),t.custom!=null&&o.append("custom",t.custom),t.enquate!=null&&o.append("enquate",t.enquate),t.option!=null&&o.append("option",t.option);const a=await this.request({path:"/user/edit",method:"POST",headers:i,query:r,body:o},n);return new ve(a,c=>Fo(c))}async userEdit(t={}
8,n){return await(await this.userEditRaw(t,n)).value()}async userEditMailCompleteRaw(t,n){if(t.code==null)throw new ge("code",'Required parameter "code" was null or undefined when calling userEditMailComplete().');const r={},i={},s=await this.request({path:"/user/edit_mail_complete/{code}".replace("{code}",encodeURIComponent(String(t.code))),method:"GET",headers:i,query:r},n);return new ve(s,o=>IC(o))}async userEditMailComplete(t,n){return await(await this.userEditMailCompleteRaw(t,n)).value()}async userEditMailTempRaw(t,n){if(t.userEditMailTempRequest==null)throw new ge("userEditMailTempRequest",'Required parameter "userEditMailTempRequest" was null or undefined when calling userEditMailTemp().');const r={},i={};i["Content-Type"]="application/json";const s=await this.request({path:"/user/edit_mail_temp/",method:"POST",headers:i,query:r,body:RC(t.userEditMailTempRequest)},n);return new ve(s,o=>_i(o))}async userEditMailTemp(t,n){return await(await this.userEditMailTempRaw(t,n)).value()}async userMeRaw(t){const n={},r={},i=await this.request({path:"/user/me",method:"GET",headers:r,query:n},t);return new ve(i,s=>PC(s))}async userMe(t){return await(await this.userMeRaw(t)).value()}}class XC extends At{async userSubAddRaw(t,n){const r={},i={};zr([{contentType:"multipart/form-data"}]);let o;o=new URLSearchParams,t.nickname!=null&&o.append("nickname",t.nickname),t.mail!=null&&o.append("mail",t.mail),t.password!=null&&o.append("password",t.password),t.passwordAgain!=null&&o.append("password_again",t.passwordAgain),t.custom!=null&&o.append("custom",t.custom);const a=await this.request({path:"/user_sub",method:"POST",headers:i,query:r,body:o},n);return new ve(a,c=>Fo(c))}async userSubAdd(t={},n){return await(await this.userSubAddRaw(t,n)).value()}async userSubDeleteRaw(t,n){if(t.id==null)throw new ge("id",'Required parameter "id" was null or undefined when calling userSubDelete().');const r={},i={},s=await this.request({path:"/user_sub/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:r},n);return new ve(s,o=>_i(o))}async userSubDelete(t,n){return await(await this.userSubDeleteRaw(t,n)).value()}async userSubEditRaw(t,n){if(t.id==null)throw new ge("id",'Required parameter "id" was null or undefined when calling userSubEdit().');const r={},i={};zr([{contentType:"multipart/form-data"}]);let o;o=new URLSearchParams,t.mail!=null&&o.append("mail",t.mail),t.nickname!=null&&o.append("nickname",t.nickname),t.password!=null&&o.append("password",t.password),t.passwordAgain!=null&&o.append("password_again",t.passwordAgain),t.pushAuthentication!=null&&o.append("push_authentication",t.pushAuthentication),t.searchJson!=null&&o.append("search_json",t.searchJson),t.iconPath!=null&&o.append("icon_path",t.iconPath),t.custom!=null&&o.append("custom",t.custom);const a=await this.request({path:"/user_sub/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:i,query:r,body:o},n);return new ve(a,c=>Bl(c))}async userSubEdit(t,n){return await(await this.userSubEditRaw(t,n)).value()}}const ZC=tt(e=>{const t=tn().public.apiUrl,n=Dn().kijidas,r=n.storageKey.token,i=n?.redirectTokenError;let s;n?.maxCacheSize&&(s=new bI({maxSize:n.maxCacheSize}));const o=h=>h.status===401,a=()=>fetch(`${t}/token`,{method:"POST",headers:{Authorization:`Bearer ${localStorage.getItem(r)}`},credentials:"same-origin"}).catch(h=>{throw localStorage.removeItem(r),h}).then(h=>h.status===200?(h.json().then(_=>{_.code===2e5?localStorage.setItem(r,_.data.code.access_token):(`${_.code}`,localStorage.removeItem(r))}),h):(`${h.status}`,localStorage.removeItem(r),h)),c=(h,_)=>{const{key:w,ttl:b,isCacheClear:g}=_,y=s?s.get(w):null;return y&&!g?Promise.resolve(y):h().then(S=>(s&&s.set(w,S,{maxAge:b}),S))},l=(h=>{const{refreshToken:_,shouldRefreshToken:w}=h;let b=null;return(g,y)=>b!==null?b.then(S=>{const C=localStorage.getItem(r);if(S.status!==200||!C)return S;const T={...y,headers:{...y.headers,Authorization:`Bearer ${C}`}};return fetch(g,T)}).catch(S=>{}):fetch(g,y).then(S=>w(S)?(b===null&&(b=new Promise((C,T)=>{const x=localStorage.getItem(r);navigator.locks.request("KJDS_REFRESH_TOKEN",async()=>{const A=localStorage.getItem(r);if(A&&A!==x){const L=new Response(new ReadableStream,{status:299});return C(L)}else await _().then(L=>{b=null,C(L)}).catch(L=>{b=null,T(L)})})})),b.then(C=>{const T=localStorage.getItem(r);if((C.status===200||C.status===299)&&T){const x={...y,headers:{...y.headers,Authorization:`Bearer ${T}`}};return fetch(g,x)}return C}).catch(C=>{})):S)})({shouldRefreshToken:o,refreshToken:a}),f={pre:async h=>{if(h.url.match(/\/(user|user_sub|logout|favorite)/)){const _=localStorage.getItem(r);_&&(h.init.headers={...h.init.headers,Authorization:`Bearer ${_}`})}return await{init:h.init,url:h.url}},post:async h=>{const w=await h.response.clone().json();if(h.response.status!==200)if(`${h.response.status}`,h.response.status===401&&i)vg(i);else{const b=Lt({statusCode:h.response.status,statusMessage:"API Error",message:"APIエラー",data:{errorCode:w.code,errorMessage:w.message},fatal:!0});return xn(b),Promise.reject(b)}return Promise.resolve(h.response)},onError:h=>{const _=Lt({statusCode:999,statusMessage:"Network Error",message:"ネットワークエラー",data:{},fatal:!0});return Promise.reject(_)}},p=new Hl({basePath:t,credentials:"same-origin",middleware:[f]}),d=new Hl({fetchApi:l,basePath:t,credentials:"same-origin",middleware:[f]});return{provide:{ApiWithCache:c,SiteApi:new KC(p),MasterApi:new GC(p),UserApi:new QC(d),UserSubApi:new XC(d),LoginApi:new VC(p),PasswordApi:new JC(d),LogoutApi:new qC(d),OauthApi:new WC(p),TagApi:new YC(p),ArticleApi:new UC(p),ArticleFormApi:new HC(p),SearchApi:new zC(p),FavoriteApi:new BC(d)}}}),jC=tt(()=>({provide:{getWebStorageItem(e,t){tn().public;let n;try{return n=window[e],n.getItem(t)}catch{return!1}},setWebStorageItem(e,t,n){tn().public;let r;try{return r=window[e],r.setItem(t,n),!0}catch{return!1}}}}));var tp=/^GTM-[0-9A-Z]+$/;function $c(e){if(typeof e!="string"||!tp.test(e)){let t=String(e).toUpperCase().replace(/.*-|[^0-9A-Z]/g,""),n=t.length===0?"":` Did you mean 'GTM-${t}'?`;throw new Error(`'${e}' is not a valid GTM-ID (${tp}).${n}`)}}function os(e,t="dataLayer"){return e[t]||(e[t]=[]),e[t]}function yi(e,t){let n=document,r=n.createElement("script"),i=u=>{t.onReady?.({id:e,script:r}),r.removeEventListener("load",i)};r.addEventListener("load",i);let s=t.dataLayerName??"dataLayer";if(os(window,s).push({event:"gtm.js","gtm.start":new Date().getTime()}),!e)return r;r.async=!t.defer,r.defer=!!(t.defer||t.compatibility),t.nonce&&r.setAttribute("nonce",t.nonce),t.scriptType&&(r.type=t.scriptType);let o=new URLSearchParams({id:e,...t.dataLayerName?{l:t.dataLayerName}:{},...t.queryParams??{}}),a=t.source??"https://www.googletagmanager.com/gtm.js";r.src=`${a}?${o}`;let c=t.parentElement??n.body;if(typeof c?.appendChild!="function")throw new Error("parentElement must be a DOM element");return c.appendChild(r),r}function ek(e="https://www.googletagmanager.com/gtm.js"){return Array.from(document.getElementsByTagName("script")).some(t=>t.src.includes(e))}var tk=class{id;options;scriptElements=[];constructor(e){if(Array.isArray(e.id))for(let t of e.id)$c(typeof t=="string"?t:t.id);else $c(e.id);this.id=e.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,dataLayerName:"dataLayer",...e},delete this.options.id}isInBrowserContext=()=>typeof window<"u";enabled(){return this.options.enabled??!0}enable(e=!0,t){if(this.options.enabled=e,this.isInBrowserContext()&&e&&!ek(t)&&this.options.loadScript)if(Array.isArray(this.id))this.id.forEac
8h(n=>{let r;typeof n=="string"?r=yi(n,{...this.options}):r=yi(n.id,{...this.options,queryParams:n.queryParams}),this.scriptElements.push(r)});else{let n=yi(this.id,{...this.options});this.scriptElements.push(n)}}debugEnabled(){return this.options.debug??!1}debug(e){this.options.debug=e}dataLayer(){return this.isInBrowserContext()&&this.options.enabled?os(window,this.options.dataLayerName):!1}trackView(e,t,n={}){let r=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug,r&&os(window,this.options.dataLayerName).push({...n,event:this.options.trackViewEventProperty??"content-view","content-name":t,"content-view-name":e})}trackEvent({event:e,category:t=null,action:n=null,label:r=null,value:i=null,noninteraction:s=!1,...o}={}){let a=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&{...o},a&&os(window,this.options.dataLayerName).push({event:e??"interaction",target:t,action:n,"target-properties":r,value:i,"interaction-type":s,...o})}push(e){let t=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug,t&&os(window,this.options.dataLayerName).push(e)}},xt;function nk(e,t={id:""}){t={trackOnNextTick:!1,...t},xt=new tk(t),e.config.globalProperties.$gtm=xt,xt.isInBrowserContext()&&(t.vueRouter&&rk(e,t.vueRouter,t.ignoredViews,t.trackOnNextTick,t.vueRouterAdditionalEventData),xt.options.enabled&&xt.options.loadScript&&(Array.isArray(t.id)?t.id.forEach(n=>{if(typeof n=="string")yi(n,t);else{let r={...t};n.queryParams!=null&&(r.queryParams={...r.queryParams,...n.queryParams}),yi(n.id,r)}}):yi(t.id,t))),e.provide("gtm",t)}function rk(e,t,n=[],r,i=()=>({})){function s(o,a){return o instanceof Error?!!(o.type&a):!1}t.afterEach(async(o,a,c)=>{var u,l,f;if(typeof o.name!="string"||Array.isArray(n)&&n.includes(o.name)||typeof n=="function"&&n(o,a))return;let p=o.meta&&typeof o.meta.gtm=="string"&&o.meta.gtm?o.meta.gtm:o.name;s(c,4)?xt!=null&&xt.debugEnabled()&&`${p}`:s(c,8)&&xt!=null&&xt.debugEnabled()&&`${p}`;let d={...await i(o,a),...(u=o.meta)==null?void 0:u.gtmAdditionalEventData},m=((f=(l=t.options)==null?void 0:l.history)==null?void 0:f.base)??"";m.endsWith("/")||(m+="/"),m+=o.fullPath.startsWith("/")?o.fullPath.substring(1):o.fullPath,r?Xt(()=>{xt?.trackView(p,m,d)}):xt?.trackView(p,m,d)})}function ik(e){return{install:t=>nk(t,e)}}function np(){return xt}const sk=tt(e=>{const t=tn().public,n=qs();return t.gtmId,t.gtmId&&e.vueApp.use(ik({id:t.gtmId,defer:!0,debug:!0,vueRouter:null})),{provide:{gtmEvent(r){const i=np();i&&i.trackEvent(r)},pushGtmMountedTrigger(){const r=typeof document<"u"&&document.title||"",i=np();i&&i.trackEvent({event:"NuxtPageReady",pageUrl:t.chainPath+n.fullPath,routeName:n.name,pageTitle:typeof document<"u"&&document.title||""})}}}}),ae=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Re=globalThis,Hr="10.71.0";function Sr(){return Js(Re),Re}function Js(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Hr,t[Hr]=t[Hr]||{}}function Hi(e,t,n=Re){const r=n.__SENTRY__=n.__SENTRY__||{},i=r[Hr]=r[Hr]||{};return i[e]||(i[e]=t())}const ok=["debug","info","warn","error","log","assert","trace"],ak="Sentry Logger ",ha={};function Zn(e){if(!("console"in Re))return e();const t=Re.console,n={},r=Object.keys(ha);r.forEach(i=>{const s=ha[i];n[i]=t[i],t[i]=s});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function ck(){Yu().enabled=!0}function lk(){Yu().enabled=!1}function h_(){return Yu().enabled}function uk(...e){Ku("log",...e)}function fk(...e){Ku("warn",...e)}function dk(...e){Ku("error",...e)}function Ku(e,...t){ae&&h_()&&Zn(()=>{Re.console[e](`${ak}[${e}]:`,...t)})}function Yu(){return ae?Hi("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const Q={enable:ck,disable:lk,isEnabled:h_,log:uk,warn:fk,error:dk},m_=50,Kr="?",rp=/\(error: (.*)\)/,ip=/captureMessage|captureException/;function g_(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{const s=[],o=n.split(`
9`);for(let a=r;a<o.length;a++){let c=o[a];c.length>1024&&(c=c.slice(0,1024));const u=rp.test(c)?c.replace(rp,"$1"):c;if(!u.includes("Error: ")){for(const l of t){const f=l(u);if(f){s.push(f);break}}if(s.length>=m_+i)break}}return hk(s.slice(i))}}function pk(e){return Array.isArray(e)?g_(...e):e}function hk(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(vo(t).function||"")&&t.pop(),t.reverse(),ip.test(vo(t).function||"")&&(t.pop(),ip.test(vo(t).function||"")&&t.pop()),t.slice(0,m_).map(n=>({...n,filename:n.filename||vo(t).filename,function:n.function||Kr}))}function vo(e){return e[e.length-1]||{}}const Fc="<anonymous>";function Kn(e){try{return!e||typeof e!="function"?Fc:e.name||Fc}catch{return Fc}}function sp(e){const t=e.exception;if(t){const n=[];
9try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const as={},op={};function br(e,t){return as[e]=as[e]||[],as[e].push(t),()=>{const n=as[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}}}function wr(e,t){if(!op[e]){op[e]=!0;try{t()}catch(n){ae&&Q.error(`Error while instrumenting ${e}`,n)}}}function Zt(e,t){const n=e&&as[e];if(n)for(const r of n)try{r(t)}catch(i){ae&&Q.error(`Error while triggering instrumentation handler.
10Type: ${e}
11Name: ${Kn(r)}
12Error:`,i)}}let Uc=null;function __(e){const t="error";br(t,e),wr(t,mk)}function mk(){Uc=Re.onerror,Re.onerror=function(e,t,n,r,i){return Zt("error",{column:r,error:i,line:n,msg:e,url:t}),Uc?Uc.apply(this,arguments):!1},Re.onerror.__SENTRY_INSTRUMENTED__=!0}let Hc=null;function y_(e){const t="unhandledrejection";br(t,e),wr(t,gk)}function gk(){Hc=Re.onunhandledrejection,Re.onunhandledrejection=function(e){return Zt("unhandledrejection",e),Hc?Hc.apply(this,arguments):!0},Re.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const v_=Object.prototype.toString;function Yn(e){switch(v_.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Qa(e,Error)}}function Bi(e,t){return v_.call(e)===`[object ${t}]`}function S_(e){return Bi(e,"ErrorEvent")}function ap(e){return Bi(e,"DOMError")}function _k(e){return Bi(e,"DOMException")}function Un(e){return Bi(e,"String")}function Qu(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Yr(e){return e===null||Qu(e)||typeof e!="object"&&typeof e!="function"}function ma(e){return Bi(e,"Object")}function Ka(e){return typeof e=="object"&&e!==null}function Ya(e){return typeof Event<"u"&&Qa(e,Event)}function yk(e){return Bi(e,"RegExp")}function zs(e){return!!(e?.then&&typeof e.then=="function")}function Qa(e,t){try{return e instanceof t}catch{return!1}}function Xu(e){return typeof Request<"u"&&Qa(e,Request)}function Ft(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const i=n(r);typeof i=="function"&&b_(i,r);try{e[t]=i}catch{ae&&Q.log(`Failed to replace method "${t}" in object`,e)}}function bt(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{ae&&Q.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function b_(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,bt(e,"__sentry_original__",t)}catch{}}function Zu(e){return e.__sentry_original__}function w_(e){if(Yn(e))return{message:e.message,name:e.name,stack:e.stack,...cp(e)};if(Ya(e)){const{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...cp(e)}}return e}function cp(e){return Ka(e)?Object.fromEntries(Object.entries(e)):{}}function vk(e){const t=Object.keys(w_(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let ii;function Ks(e){if(ii!==void 0)return ii?ii(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=Re;return t in n&&typeof n[t]=="function"?(ii=n[t],ii(e)):(ii=null,e())}function gr(){return Ks(()=>Math.random())}function Er(){return Ks(()=>Date.now())}const Sk=Symbol.for("sentry.skipNormalization"),bk=Symbol.for("sentry.overrideNormalizationDepth");function wk(e){return!!e[Sk]}function Ek(e){const t=e[bk];return typeof t=="number"?t:void 0}let Vl;function E_(e){Vl=e}function On(e,t=100,n=1/0){try{return ql("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function T_(e,t=3,n=100*1024){const r=On(e,t);return Ik(r)>n?T_(e,t-1,n):r}function ql(e,t,n=1/0,r=1/0,i=Ak()){const[s,o]=i;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=R_(e,t);if(!a.startsWith("[object "))return a;if(wk(t))return t;const c=Ek(t),u=c!==void 0?c:n;if(u===0)return a.replace("object ","");if(s(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const m=l.toJSON();return ql("",m,u-1,r,i)}catch{}const f=Array.isArray(t)?[]:{};let p=0;const d=w_(t);for(const m in d){if(!Object.prototype.hasOwnProperty.call(d,m))continue;if(p>=r){f[m]="[MaxProperties ~]";break}const h=d[m];f[m]=ql(m,h,u-1,r,i),p++}return o(t),f}function R_(e,t){try{if(Vl){const r=Vl(t);if(r)return r}return typeof global<"u"&&t===global?"[Global]":typeof t=="number"&&!Number.isFinite(t)?`[${t}]`:typeof t=="function"?`[Function: ${Kn(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Tk(t)}]`}catch(n){return`**non-serializable** (${n})`}}function Tk(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function Rk(e){return~-encodeURI(e).split(/%..|./).length}function Ik(e){return Rk(JSON.stringify(e))}function Ak(){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 Gl(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function lp(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const i=e[r];Yr(i)?n.push(String(i)):i instanceof Error?n.push(i.message?`${i.name}: ${i.message}`:i.name):n.push(R_(void 0,i))}return n.join(t)}function gs(e,t,n=!1){return Un(e)?yk(t)?t.test(e):Un(t)?n?e===t:e.includes(t):typeof t=="function"?t(e):!1:!1}function Hn(e,t=[],n=!1){for(const r of t)if(gs(e,r,n))return!0;return!1}function Ck(){const e=Re;return e.crypto||e.msCrypto}let Bc;function kk(){return gr()*16}function jt(e=Ck()){try{if(e?.randomUUID)return Ks(()=>e.randomUUID()).replace(/-/g,"")}catch{}return Bc||(Bc="10000000100040008000"+1e11),Bc.replace(/[018]/g,t=>(t^(kk()&15)>>t/4).toString(16))}function I_(e){return e.exception?.values?.[0]}function Dr(e){const{message:t,event_id:n}=e;if(t)return t;const r=I_(e);return r?r.type&&r.value?`${r.type}: ${r.value}
12`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Wl(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type="Error")}function Br(e,t){const n=I_(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const s={...i?.data,...t.data};n.mechanism.data=s}}function up(e){if(Ok(e))return!0;try{bt(e,"__sentry_captured__",!0)}catch{}return!1}function Ok(e){try{return e.__sentry_captured__}catch{}}const A_=1e3;function jr(){return Er()/A_}function Nk(){const{performance:e}=Re;if(!e?.now||!e.timeOrigin)return jr;const t=e.timeOrigin;return()=>(t+Ks(()=>e.now()))/A_}let fp;function Ze(){return(fp??(fp=Nk()))()}let Vc=null;function xk(){const{performance:e}=Re;if(!e?.now)return;const t=3e5,n=Ks(()=>e.now()),r=Er(),i=e.timeOrigin;if(typeof i=="number"&&Math.abs(i+n-r)<t)return i;const s=e.timing?.navigationStart;return typeof s=="number"&&Math.abs(s+n-r)<t?s:r-n}function _t(){return Vc===null&&(Vc=xk()),Vc}function Dk(e){const t=Ze(),n={sid:jt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Lk(n)};return e&&Ci(n,e),n}function Ci(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||Ze(),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:jt()),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),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Pk(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Ci(e,n)}function Lk(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 Ys(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 i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=Ys(r[i],t[i],n-1));return r}function Qn(){return jt()}function Bn(){return jt().substring(16)}function C_(e){try{const t=Re.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function k_(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}const Jl="_sentrySpan";function Ns(e,t){t?bt(e,Jl,C_(t)):delete e[Jl]}function ga(e){return k_(e[Jl])}const Mk=100;class wn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Qn(),sampleRand:gr()}}clone(){const t=new wn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},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,t._conversationId=this._conversationId,Ns(t,ga(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&&Ci(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this.setTags({[t]:n})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,n){return this.setAttributes({[t]:n})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],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 wn?n.getScopeData():ma(n)?t:void 0,{tags:i,attributes:s,extra:o,user:a,contexts:c,level:u,fingerprint:l=[],propagationContext:f,conversationId:p}=r||{};return this._tags={...this._tags,...i},this._attributes={...this._attributes,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),l.length&&(this._fingerprint=l),f&&(this._propagationContext=f),p&&(this._conversationId=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Ns(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Qn(),sampleRand:gr()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Mk;if(r<=0)return this;const i={timestamp:jr(),...t,message:t.message?Gl(t.message,2048):t.message};return this._breadcrumbs.push(i),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,attributes:this._attributes,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:ga(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Ys(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n?.event_id||jt();if(!this._client)return ae&&Q.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){const i=r?.event_id||jt();if(!this._client)return ae&&Q.warn("No client configured on scope - will not capture message!"),i;const s=r?.syntheticException??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:s,...r,event_id:i},this),i}captureEvent(t,n){const r=t.event_id||n?.event_id||jt();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(ae&&Q.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
12h(t=>{t(this)}),this._notifyingListeners=!1)}}function $k(){return Hi("defaultCurrentScope",()=>new wn)}function Fk(){return Hi("defaultIsolationScope",()=>new wn)}const dp=e=>e instanceof Promise&&!e[O_],O_=Symbol("chained PromiseLike"),Uk=(e,t,n)=>{const r=e.then(i=>(t(i),i),i=>{throw n(i),i});return dp(r)&&dp(e)?r:Hk(e,r)},Hk=(e,t)=>{if(!t)return e;let n=!1;for(const r in e){if(r in t)continue;n=!0;const i=e[r];typeof i=="function"?Object.defineProperty(t,r,{value:(...s)=>i.apply(e,s),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[O_]:!0}),t};class Bk{constructor(t,n){let r;t?r=t:r=new wn;let i;n?i=n:i=new wn,this._stack=[{scope:r}],this._isolationScope=i}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(i){throw this._popScope(),i}return zs(r)?Uk(r,()=>this._popScope(),()=>this._popScope()):(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 ki(){const e=Sr(),t=Js(e);return t.stack=t.stack||new Bk($k(),Fk())}function Vk(e){return ki().withScope(e)}function qk(e,t){const n=ki();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function pp(e){return ki().withScope(()=>e(ki().getIsolationScope()))}function Gk(){return{withIsolationScope:pp,withScope:Vk,withSetScope:qk,withSetIsolationScope:(e,t)=>pp(t),getCurrentScope:()=>ki().getScope(),getIsolationScope:()=>ki().getIsolationScope()}}function Vi(e){const t=Js(e);return t.acs?t.acs:Gk()}function Wk(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)&&Object.keys(e).includes("value")}function Jk(e,t){const{value:n,unit:r}=Wk(e)?e:{value:e,unit:void 0},i=zk(n),s=r&&typeof r=="string"?{unit:r}:{};if(i)return{...i,...s};if(!t||t==="skip-undefined"&&n===void 0)return;let o="";try{o=JSON.stringify(n)??""}catch{}return{value:o,type:"string",...s}}function hp(e,t=!1){const n={};for(const[r,i]of Object.entries(e??{})){const s=Jk(i,t);s&&(n[r]=s)}return n}function zk(e){if(Array.isArray(e))return{value:e,type:"array"};const t=typeof e=="string"?"string":typeof e=="boolean"?"boolean":typeof e=="number"&&!Number.isNaN(e)?Number.isInteger(e)?"integer":"double":null;if(t)return{value:e,type:t}}function Ne(){const e=Sr();return Vi(e).getCurrentScope()}function ln(){const e=Sr();return Vi(e).getIsolationScope()}function Kk(){return Hi("globalScope",()=>new wn)}function ju(...e){const t=Sr(),n=Vi(t);if(e.length===2){const[r,i]=e;return r?n.withSetScope(r,i):n.withScope(i)}return n.withScope(e[0])}function De(){return Ne().getClient()}function Yk(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:i}=t,s={trace_id:n,span_id:i||Bn()};return r&&(s.parent_span_id=r),s}const Ut="sentry.source",ef="sentry.sample_rate",N_="sentry.previous_trace_sample_rate",Wt="sentry.op",We="sentry.origin",Qk="sentry.status.message",xs="sentry.idle_span_finish_reason",Qs="sentry.measurement_unit",Xs="sentry.measurement_value",mp="sentry.custom_span_name",tf="sentry.profile_id",Tr="sentry.exclusive_time",Xk="sentry.link.type",Zk="gen_ai.conversation.id",x_=0,Xa=1,ut=2;function jk(e){if(e<400&&e>=100)return{code:Xa};if(e>=400&&e<500)switch(e){case 401:return{code:ut,message:"unauthenticated"};case 403:return{code:ut,message:"permission_denied"};case 404:return{code:ut,message:"not_found"};case 409:return{code:ut,message:"already_exists"};case 413:return{code:ut,message:"failed_precondition"};case 429:return{code:ut,message:"resource_exhausted"};case 499:return{code:ut,message:"cancelled"};default:return{code:ut,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:ut,message:"unimplemented"};case 503:return{code:ut,message:"unavailable"};case 504:return{code:ut,message:"deadline_exceeded"};default:return{code:ut,message:"internal_error"}}return{code:ut,message:"internal_error"}}function D_(e,t){e.setAttribute("http.response.status_code",t);const n=jk(t);n.message!=="unknown_error"&&e.setStatus(n)}const P_="_sentryScope",L_="_sentryIsolationScope",e1=Symbol.for("sentry.otelSourceInference"),t1=Symbol.for("sentry.otelSourceExplicitlySet"),n1=Symbol.for("sentry.tracerProviderSpan");function Oi(e,t,n){e&&(bt(e,L_,C_(n)),bt(e,P_,t))}function vi(e){const t=e;return{scope:t[P_],isolationScope:k_(t[L_])}}function gp(e){return e[e1]===!0}function r1(e){bt(e,t1,!0)}function _p(e){return e[n1]===!0}const _a="sentry-",i1=8192;function M_(e){const t=o1(e);if(!t)return;const n=Object.entries(t).reduce((r,[i,s])=>{if(i.startsWith(_a)){const o=i.slice(_a.length);r[o]=s}return r},{});if(Object.keys(n).length>0)return n}function s1(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${_a}${r}`]=i),n),{});return a1(t)}function o1(e){if(!(!e||!Un(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=yp(n);return Object.entries(r).forEach(([i,s])=>{t[i]=s}),t},{}):yp(e)}function yp(e){return e.split(",").map(t=>{const n=t.indexOf("=");if(n===-1)return[];const r=t.slice(0,n),i=t.slice(n+1);return[r,i].map(s=>{try{return decodeURIComponent(s.trim())}catch{return}})}).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function a1(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const s=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=i===0?s:`${t},${s}`;return o.length>i1?(ae&&Q.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const c1=/^o(\d+)\./,l1=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function u1(e){return e==="http"||e==="https"}function qi(e,t=!1){const{host:n,path:r,pass:i,port:s,projectId:o,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r&&`${r}/`}${o}`}function f1(e){const t=l1.exec(e);if(!t){Zn(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,i="",s="",o="",a=""]=t.slice(1);let c="",u=a;const l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return $_({host:s,pass:i,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function $_(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function d1(e){if(!ae)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(Q.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?u1(r)?t&&isNaN(parseInt(t,10))?(Q.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(Q.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(Q.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function p1(e){return e.match(c1)?.[1]}function h1(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=p1(n)),r}function m1(e){const t=typeof e=="string"?f1(e):$_(e);if(!(!t||!d1(t)))return t}function Ds(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 F_=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function g1(e){if(!e)return;const t=e.match(F_);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 _1(e,t){const n=g1(e),r=M_(t);if(!n?.traceId)return{traceId:Qn(),sampleRand:gr()};const i=y1(n,r);r&&(r.sample_rand=i.toString());const{traceId:s,parentSpanId:o,parentSampled:a}=n;return{traceId:s,parentSpanId:o,sampled:a,dsc:r||{},sampleRand:i}}function U_(e=Qn(),t=Bn(),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function H_(e=Qn(),t=Bn(),n){return`00-${e}-${t}-${n?"01":"00"}`}function y1(e,t){const n=Ds(t?.sample_rand);if(n!==void 0)return n;const r=Ds(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?gr()*r:r+gr()*(1-r):gr()}const B_=0,Za=1;let vp=!1;function v1(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:s,status:o,origin:a,links:c}=Ce(e);return{parent_span_id:s,span_id:t,trace_id:n,data:r,op:i,status:o,origin:a,links:c}}function S1(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:Ce(e).parent_span_id,s=vi(e).scope,o=r?s?.getPropagationContext().propagationSpanId||Bn():t;return{parent_span_id:i,span_id:o,trace_id:n}}function b1(e){const{traceId:t,spanId:n}=e.spanContext(),r=jn(e);return U_(t,n,r)}function w1(e){const{traceId:t,spanId:n}=e.spanContext(),r=jn(e);return H_(t,n,r)}function V_(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...i},attributes:s})=>({span_id:t,trace_id:n,sampled:r===Za,attributes:s,...i}))}function q_(e){if(e?.length)return e.map(({context:{spanId:t,traceId:n,traceFlags:r},attributes:i})=>({span_id:t,trace_id:n,sampled:r===Za,attributes:i}))}function Vn(e){return typeof e=="number"?Sp(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Sp(e.getTime()):Ze()}function Sp(e){return e>9999999999?e/1e3:e}function Ce(e){if(z_(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(J_(e)){const{attributes:r,startTime:i,name:s,endTime:o,status:a,links:c}=e;return{span_id:t,trace_id:n,data:r,description:s,parent_span_id:W_(e),start_timestamp:Vn(i),timestamp:Vn(o)||void 0,status:K_(a),op:r[Wt],origin:r[We],links:V_(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function G_(e){if(z_(e))return e.getStreamedSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(J_(e)){const{attributes:r,startTime:i,name:s,endTime:o,status:a,links:c}=e;return{name:s,span_id:t,trace_id:n,parent_span_id:W_(e),start_timestamp:Vn(i),end_timestamp:Vn(o),is_segment:e===Kl(e),status:nf(a),attributes:Y_(r,a),links:q_(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===Kl(e)}}function W_(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function E1(e){return{...e,attributes:hp(e.attributes),links:e.links?.map(t=>({...t,attributes:hp(t.attributes)}))}}function J_(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function z_(e){return typeof e.getSpanJSON=="function"}function jn(e){const{traceFlags:t}=e.spanContext();return t===Za}function K_(e){if(!(!e||e.code===x_))return e.code===Xa?"ok":e.message||"internal_error"}function nf(e){return!e||e.code===Xa||e.code===x_||e.message==="cancelled"?"ok":"error"}function Y_(e,t){const n=nf(t)==="error"?t?.message:void 0;return{...n&&{[Qk]:n},...e}}const Vr="_sentryChildSpans",zl="_sentryRootSpan";function Uo(e,t){const n=e[zl]||e;bt(t,zl,n),jn(e)&&(!e.isRecording()&&!n.isRecording()||(e[Vr]?e[Vr].add(t):bt(e,Vr,new Set([t]))))}function T1(e,t){e[Vr]&&e[Vr].delete(t)}function Ho(e){const t=new Set;function n(r){if(!t.has(r)&&jn(r)){t.add(r);const i=r[Vr]?Array.from(r[Vr]):[];for(const s of i)n(s)}}return n(e),Array.from(t)}const mt=Kl;function Kl(e){return e[zl]||e}function Ct(){const e=Sr(),t=Vi(e);return t.getActiveSpan?t.getActiveSpan():ga(Ne())}function Yl(){vp||(Zn(()=>{}),vp=!0)}let bp=!1;function R1(){if(bp)return;function e(){const t=Ct(),n=t&&mt(t);if(n){const r="internal_error";ae&&Q.log(`[Tracing] Root span: ${r} -> Global error occurred`),n.setStatus({code:ut,message:r})}}bp=!0,__(e),y_(e)}function Mt(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||De()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function wp(e){Q.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Ps(e,t){if(!t?.length)return!1;for(const n of t){if(C1(n)){if(e.description&&gs(e.description,n))return ae&&wp(e),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const i=n.name?e.description&&gs(e.description,n.name):!0,s=n.op?e.op&&gs(e.op,n.op):!0,o=n.attributes?Object.entries(n.attributes).every(([a,c])=>I1(e.attributes?.[a],c)):!0;if(i&&s&&o)return ae&&wp(e),!0}return!1}function I1(e,t){return typeof e=="string"&&(typeof t=="string"||t instanceof RegExp)?gs(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e===t}function A1(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const i of e)i.parent_span_id===r&&(i.parent_span_id=n)}function C1(e){return typeof e=="string"||e instanceof RegExp}const Q_=Symbol.for("sentry.nonRecordingSpan");class Qr{constructor(t={}){this._traceId=t.traceId||Qn(),this._spanId=t.spanId||Bn(),this.dropReason=t.dropReason,bt(this,Q_,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:B_}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
12addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function Ni(e){return!!e&&e[Q_]===!0}const rf="production",X_="_frozenDsc";function Ep(e,t){bt(e,X_,t)}function Z_(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||rf,release:n.release,public_key:r,trace_id:e,org_id:h1(t)};return t.emit("createDsc",i),i}function sf(e,t){const n=t.getPropagationContext();return n.dsc||Z_(n.traceId,e)}function Gi(e){const t=De();if(!t)return{};const n=mt(e),r=Ce(n),i=r.data,s=n.spanContext().traceState,o=s?.get("sentry.sample_rate")??i[ef]??i[N_];function a(_){return(typeof o=="number"||typeof o=="string")&&(_.sample_rate=`${o}`),_}const c=n[X_];if(c)return a(c);const u=Ni(n),l=u&&n.dropReason==="ignored";if(u&&(!Mt(t.getOptions())||l)){const _=vi(n).scope;if(_){const w={...sf(t,_)};return l&&(w.sampled="false"),a(w)}}const f=s?.get("sentry.dsc"),p=f&&M_(f);if(p)return a(p);const d=Z_(e.spanContext().traceId,t),m=i[Ut]??i["sentry.segment.name.source"],h=r.description;return m!=="url"&&h&&(d.transaction=h),Mt()&&(d.sampled=String(jn(n)),d.sample_rand=s?.get("sentry.sample_rand")??vi(n).scope?.getPropagationContext().sampleRand.toString()),a(d),t.emit("createDsc",d,n),d}function j_(e){return!!e&&typeof e=="function"&&"_streamed"in e&&!!e._streamed}function ei(e,t=[]){return[e,t]}function Tp(e,t){const[n,r]=e;return[n,[...r,t]]}function Ql(e,t){const n=e[1];for(const r of n){const i=r[0].type;if(t(r,i))return!0}return!1}function k1(e,t){return Ql(e,(n,r)=>t.includes(r))}function Xl(e){const t=Js(Re);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function O1(e){const[t,n]=e;let r=JSON.stringify(t);function i(s){typeof r=="string"?r=typeof s=="string"?r+s:[Xl(r),s]:r.push(typeof s=="string"?Xl(s):s)}for(const s of n){const[o,a]=s;if(i(`
13${JSON.stringify(o)}
14`),typeof a=="string"||a instanceof Uint8Array)i(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(On(a))}i(c)}}return typeof r=="string"?r:N1(r)}function N1(e){const t=e.reduce((i,s)=>i+s.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function x1(e){return[{type:"span"},e]}function D1(e){const t=typeof e.data=="string"?Xl(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const ey={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function P1(e){return e in ey}function Rp(e){return P1(e)?ey[e]:e}function ty(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function L1(e,t,n,r){const i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(Er()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:qi(r)},...i&&{trace:i}}}function M1(e,t){if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function $1(e,t,n,r){const i=ty(n),s={sent_at:new Date(Er()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:qi(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return ei(s,[o])}function F1(e,t,n,r){const i=ty(n),s=e.type&&e.type!=="replay_event"?e.type:"event";M1(e,n?.sdk);const o=L1(e,i,r,t);return delete e.sdkProcessingMetadata,ei(o,[[{type:s},e]])}function U1(e,t){function n(d){return!!d.trace_id&&!!d.public_key}const r=Gi(e[0]),i=t?.getDsn(),s=t?.getOptions().tunnel,o={sent_at:new Date(Er()).toISOString(),...n(r)&&{trace:r},...!!s&&i&&{dsn:qi(i)}},{beforeSendSpan:a,ignoreSpans:c}=t?.getOptions()||{},u=c?.length?e.filter(d=>{const m=Ce(d);return!Ps({description:m.description,op:m.op,attributes:m.data},c)}):e,l=e.length-u.length;l&&t?.recordDroppedEvent("before_send","span",l);const f=a?d=>{const m=Ce(d),h=j_(a)?m:a(m);return h||(Yl(),m)}:Ce,p=[];for(const d of u){const m=f(d);m&&p.push(x1(m))}return ei(o,p)}function H1(e){if(!ae)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=Ce(e),{spanId:i}=e.spanContext(),s=jn(e),o=mt(e),a=o===e,c=`[Tracing] Starting ${s?"sampled":"unsampled"} ${a?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];
14if(r&&u.push(`parent ID: ${r}`),!a){const{op:l,description:f}=Ce(o);u.push(`root ID: ${o.spanContext().spanId}`),l&&u.push(`root op: ${l}`),f&&u.push(`root description: ${f}`)}Q.log(`${c}
15  ${u.join(`
16  `)}`)}function B1(e){if(!ae)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Ce(e),{spanId:r}=e.spanContext(),s=mt(e)===e,o=`[Tracing] Finishing "${n}" ${s?"root ":""}span "${t}" with ID ${r}`;Q.log(o)}function ny(e,t,n,r=Ct()){const i=r&&mt(r);i&&(ae&&Q.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[Xs]:t,[Qs]:n}))}function Ip(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},i=r[Qs],s=r[Xs];typeof i=="string"&&typeof s=="number"&&(t[n.name]={value:s,unit:i})}),t}function Ap(){return Js(Sr()).segmentSpanCaptureStrategy}function Rn(e){return e.getOptions().traceLifecycle==="stream"}const Cp=1e3;class ja{constructor(t={}){this._traceId=t.traceId||Qn(),this._spanId=t.spanId||Bn(),this._startTime=t.startTimestamp||Ze(),this._links=t.links,this._attributes={},this.setAttributes({[We]:"manual",[Wt]: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._frozen?this:(this._links?this._links.push(t):this._links=[t],this)}addLinks(t){return this._frozen?this:(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?Za:B_}}setAttribute(t,n){return this._frozen?this:(n===void 0?delete this._attributes[t]:this._attributes[t]=n,t===Ut&&n!==void 0&&gp(this)&&r1(this),this)}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._frozen||(this._startTime=Vn(t))}setStatus(t){return this._frozen?this:(this._status=t,this)}updateName(t){return this._frozen?this:(this._name=t,gp(this)||this.setAttribute(Ut,"custom"),this)}end(t){if(this._endTime){this._frozen=_p(this);return}this._endTime=Vn(t),B1(this),this._onSpanEnded(),this._frozen=_p(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Wt],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:K_(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[We],profile_id:this._attributes[tf],exclusive_time:this._attributes[Tr],measurements:Ip(this._events),is_segment:this._isStandaloneSpan&&mt(this)===this||void 0,segment_id:this._isStandaloneSpan?mt(this).spanContext().spanId:void 0,links:V_(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===mt(this),status:nf(this._status),attributes:Y_(this._attributes,this._status),links:q_(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){if(this._frozen)return this;ae&&Q.log("[Tracing] Adding an event to span:",t);const i=kp(n)?n:r||Ze(),s=kp(n)?{}:n||{},o={name:t,time:Vn(i),attributes:s};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=De();t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this));const n=mt(this),r=this._isStandaloneSpan||this===n;if(this._isStandaloneSpan){this._sampled?q1(U1([this],t)):(ae&&Q.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}if(!r){const o=Ap();if(o){const a=vi(this).scope||Ne();o.onChildSpanEnded(this,n,c=>this._convertSpanToTransaction(c),a)}return}if(t&&Rn(t)){t.emit("afterSegmentSpanEnd",this);return}const i=vi(this).scope||Ne(),s=Ap();if(s)s.onSegmentSpanEnded(o=>this._convertSpanToTransaction(o),i);else{const o=this._convertSpanToTransaction();o&&i.captureEvent(o)}}_convertSpanToTransaction(t={}){if(!Op(Ce(this)))return;this._name||(ae&&Q.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:n,isolationScope:r}=vi(this),i=n?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;t.onSpanCaptured?.(this);const s=[];for(const f of Ho(this)){if(f===this||V1(f)||t.isSpanAlreadyCaptured?.(f))continue;const p=Ce(f);Op(p)&&(t.onSpanCaptured?.(f),s.push(p))}const o=this._attributes[Ut];delete this._attributes[mp];let a=!1;
16s.forEach(f=>{delete f.data[mp],f.op?.startsWith("gen_ai.")&&(a=!0)});const c={contexts:{trace:v1(this)},spans:s.length>Cp?s.sort((f,p)=>f.start_timestamp-p.start_timestamp).slice(0,Cp):s,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:n,capturedSpanIsolationScope:r,dynamicSamplingContext:Gi(this),hasGenAiSpans:a},request:i,...o&&{transaction_info:{source:o}}},u=Ip(this._events);return u&&Object.keys(u).length&&(ae&&Q.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),c.measurements=u),c}}function kp(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function Op(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function V1(e){return e instanceof ja&&e.isStandaloneSpan()}function q1(e){const t=De();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function G1(e,t,n){if(!Mt(e))return[!1];let r,i;typeof e.tracesSampler=="function"?(i=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?i=t.parentSampled:typeof e.tracesSampleRate<"u"&&(i=e.tracesSampleRate,r=!0);const s=Ds(i);if(s===void 0)return ae&&Q.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(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!s)return ae&&Q.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,s,r];const o=n<s;return o||ae&&Q.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,s,r]}const W1="__SENTRY_SUPPRESS_TRACING__";function En(e){const t=af();return t.startInactiveSpan?t.startInactiveSpan(e):J1(e)}function J1(e){const t=Y1(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?s=>ju(e.scope,s):r!==void 0?s=>ry(r,s):s=>s())(()=>{const s=Ne(),o=X1(s,r),a=De();return e.onlyIfParent&&!o?z1(s,a):K1({parentSpan:o,spanArguments:t,forceTransaction:n,scope:s})})}function ry(e,t){const n=af();return n.withActiveSpan?n.withActiveSpan(e,t):ju(r=>(Ns(r,e||void 0),t(r)))}function of(e=Ne()){const t=af();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[W1]===!0}function z1(e,t){t?.recordDroppedEvent("no_parent_span","span");const n=new Qr({traceId:e.getPropagationContext().traceId});return Oi(n,e,ln()),n}function K1({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){const i=ln();if(!Mt()){const a={...i.getPropagationContext(),...r.getPropagationContext()},c=e?e.spanContext().traceId:a.traceId,u=new Qr({traceId:c});return e&&!n&&Uo(e,u),Oi(u,r,i),u}const s=De();if(Z1(s,t)){of(r)||s?.recordDroppedEvent("ignored","span");const a=new Qr({dropReason:"ignored",traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&Uo(e,a),Oi(a,r,i),a}let o;if(e&&!n)o=Q1(e,r,t,i),Uo(e,o);else if(e){const a=Gi(e),{traceId:c,spanId:u}=e.spanContext(),l=jn(e);o=Np({traceId:c,parentSpanId:u,...t},r,i,l),Ep(o,a)}else{const{traceId:a,dsc:c,parentSpanId:u,sampled:l}={...i.getPropagationContext(),...r.getPropagationContext()};o=Np({traceId:a,parentSpanId:u,...t},r,i,l),c&&Ep(o,c)}return H1(o),o}function Y1(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Vn(e.startTime),delete r.startTime,r}return n}function af(){const e=Sr();return Vi(e)}function Np(e,t,n,r){const i=De(),s=i?.getOptions()||{},{name:o=""}=e,a={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};i?.emit("beforeSampling",a,{decision:!1});const c=a.parentSampled??r,u=a.spanAttributes,l=t.getPropagationContext(),f=of(t),[p,d,m]=f?[!1]:G1(s,{name:o,parentSampled:c,attributes:u,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Ds(l.dsc?.sample_rate)},l.sampleRand),h=new ja({...e,attributes:{[Ut]:"custom",[ef]:d!==void 0&&m?d:void 0,...u},sampled:p});return!p&&i&&!f&&(ae&&Q.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),i.recordDroppedEvent("sample_rate",Rn(i)?"span":"transaction")),Oi(h,t,n),i&&i.emit("spanStart",h),h}function Q1(e,t,n,r){const{spanId:i,traceId:s}=e.spanContext(),o=of(t),a=o?!1:jn(e),c=a?new ja({...n,parentSpanId:i,traceId:s,sampled:a}):new Qr({traceId:s});Uo(e,c),Oi(c,t,r);const u=De();return u&&(Rn(u)&&Ni(c)&&(Ni(e)&&e.dropReason?(c.dropReason=e.dropReason,u.recordDroppedEvent(e.dropReason,"span")):o||(c.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",c),n.endTimestamp&&(u.emit("spanEnd",c),u.emit("afterSpanEnd",c))),c}function X1(e,t){if(t)return t;if(t===null)return;const n=ga(e);if(!n)return;const r=De();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?mt(n):n}function Z1(e,t){const n=e?.getOptions().ignoreSpans;return!e||!Rn(e)||!n?.length?!1:Ps({description:t.name||"",op:t.attributes?.[Wt]||t.op,attributes:t.attributes},n)}function iy(e){return Ni(e)&&e.dropReason==="ignored"}const Bo={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},j1="heartbeatFailed",eO="idleTimeout",tO="finalTimeout",nO="externalFinish";function sy(e,t={}){const n=new Map;let r=!1,i,s=nO,o=!t.disableAutoFinish;const a=[],{idleTimeout:c=Bo.idleTimeout,finalTimeout:u=Bo.finalTimeout,childSpanTimeout:l=Bo.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:p=!0}=t,d=De(),m=Ne();if(!d||!Mt()){const T=new Qr({traceId:m.getPropagationContext().traceId});return Oi(T,m,ln()),T}const h=Ct(),_=rO(e);_.end=new Proxy(_.end,{apply(T,x,A){if(f&&f(_),Ni(x))return;const[L,...$]=A,D=L||Ze(),J=Vn(D),U=Ho(_).filter(V=>V!==_),N=Ce(_);if(!U.length||!p)return C(J),Reflect.apply(T,x,[J,...$]);const R=d.getOptions().ignoreSpans,I=U?.reduce((V,F)=>{const k=Ce(F);return!k.timestamp||R&&Ps({description:k.description,op:k.op,attributes:k.data},R)?V:V?Math.max(V,k.timestamp):k.timestamp},void 0),O=N.start_timestamp,B=Math.min(O?O+u/1e3:1/0,Math.max(O||-1/0,Math.min(J,I||1/0)));return C(B),Reflect.apply(T,x,[B,...$])}});function w(){i&&(clearTimeout(i),i=void 0)}function b(T){w(),i=setTimeout(()=>{!r&&n.size===0&&o&&(s=eO,_.end(T))}
16,c)}function g(T){i=setTimeout(()=>{!r&&o&&(s=j1,_.end(T))},l)}function y(T){w(),n.set(T,!0);const x=Ze();g(x+l/1e3)}function S(T){if(n.has(T)&&n.delete(T),n.size===0){const x=Ze();b(x+c/1e3)}}function C(T){r=!0,n.clear(),a.forEach(U=>U()),Ns(m,h);const x=Ce(_),{start_timestamp:A}=x;if(!A)return;x.data[xs]||_.setAttribute(xs,s);const $=x.status;(!$||$==="unknown")&&_.setStatus({code:Xa}),Q.log(`[Tracing] Idle span "${x.op}" finished`);const D=Ho(_).filter(U=>U!==_);let J=0;D.forEach(U=>{U.isRecording()&&(U.setStatus({code:ut,message:"cancelled"}),U.end(T),ae&&Q.log("[Tracing] Cancelling span since span ended early",JSON.stringify(U,void 0,2)));const N=Ce(U),{timestamp:R=0,start_timestamp:I=0}=N,O=I<=T,B=(u+c)/1e3,V=R-I<=B;if(ae){const F=JSON.stringify(U,void 0,2);O?V||Q.log("[Tracing] Discarding span since it finished after idle span final timeout",F):Q.log("[Tracing] Discarding span since it happened after idle span was finished",F)}(!V||!O)&&(T1(_,U),J++)}),J>0&&_.setAttribute("sentry.idle_span_discarded_spans",J)}return a.push(d.on("spanStart",T=>{if(r||T===_||Ce(T).timestamp||T instanceof ja&&T.isStandaloneSpan())return;Ho(_).includes(T)&&y(T.spanContext().spanId)})),a.push(d.on("spanEnd",T=>{r||S(T.spanContext().spanId)})),a.push(d.on("idleSpanEnableAutoFinish",T=>{T===_&&(o=!0,b(),n.size&&g())})),t.disableAutoFinish||b(),setTimeout(()=>{r||(_.setStatus({code:ut,message:"deadline_exceeded"}),s=tO,_.end())},u),_}function rO(e){const t=En(e);return Ns(Ne(),t),ae&&Q.log("[Tracing] Started span is an idle span"),t}function iO(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:s}=t;sO(e,t),r&&cO(e,r),lO(e,n),oO(e,i),aO(e,s)}function xp(e,t){const{extra:n,tags:r,attributes:i,user:s,contexts:o,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:f,attachments:p,propagationContext:d,transactionName:m,span:h}=t;ns(e,"extra",n),ns(e,"tags",r),ns(e,"attributes",i),ns(e,"user",s),ns(e,"contexts",o),e.sdkProcessingMetadata=Ys(e.sdkProcessingMetadata,c,2),a&&(e.level=a),m&&(e.transactionName=m),h&&(e.span=h),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...d}}function ns(e,t,n){e[t]=Ys(e[t],n,1)}function oy(e,t){const n=Kk().getScopeData();return e&&xp(n,e.getScopeData()),t&&xp(n,t.getScopeData()),n}function sO(e,t){const{extra:n,tags:r,user:i,contexts:s,level:o,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),o&&(e.level=o),a&&e.type!=="transaction"&&(e.transaction=a)}function oO(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function aO(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function cO(e,t){e.contexts={trace:S1(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Gi(t),...e.sdkProcessingMetadata};const n=mt(t),r=Ce(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function lO(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}const ay="http.url",uO="navigation.route.id",fO="params",cy="sentry.segment.name",ly="sentry.transaction",Wi="url.full",dO="url.path",pO="url.path.parameter",hO="url.template";function uy(e,t){const n=e.attributes??(e.attributes={});Object.entries(t).forEach(([r,i])=>{i!=null&&!(r in n)&&(n[r]=i)})}const qc=0,Dp=1,Pp=2;function Zs(e){return new Ls(t=>{t(e)})}function fy(e){return new Ls((t,n)=>{n(e)})}class Ls{constructor(t){this._state=qc,this._handlers=[],this._runExecutor(t)}then(t,n){return new Ls((r,i)=>{this._handlers.push([!1,s=>{if(!t)r(s);else try{r(t(s))}catch(o){i(o)}},s=>{if(!n)i(s);else try{r(n(s))}catch(o){i(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Ls((n,r)=>{let i,s;return this.then(o=>{s=!1,i=o,t&&t()},o=>{s=!0,i=o,t&&t()}).then(()=>
16{if(s){r(i);return}n(i)})})}_executeHandlers(){if(this._state===qc)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Dp&&n[1](this._value),this._state===Pp&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(s,o)=>{if(this._state===qc){if(zs(o)){o.then(r,i);return}this._state=s,this._value=o,this._executeHandlers()}},r=s=>{n(Dp,s)},i=s=>{n(Pp,s)};try{t(r,i)}catch(s){i(s)}}}function mO(e,t,n,r=0){try{const i=Zl(t,n,e,r);return zs(i)?i:Zs(i)}catch(i){return fy(i)}}function Zl(e,t,n,r){const i=n[r];if(!e||!i)return e;const s=i({...e},t);return ae&&s===null&&Q.log(`Event processor "${i.id||"?"}" dropped event`),zs(s)?s.then(o=>Zl(o,t,n,r+1)):Zl(s,t,n,r+1)}let kr,Lp,Mp,sr;function gO(e){const t=Re._sentryDebugIds,n=Re._debugIds;if(!t&&!n)return{};const r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(sr&&r.length===Lp&&i.length===Mp)return sr;Lp=r.length,Mp=i.length,sr={},kr||(kr={});const s=(o,a)=>{for(const c of o){const u=a[c],l=kr?.[c];if(l&&sr&&u)sr[l[0]]=u,kr&&(kr[c]=[l[0],u]);else if(u){const f=e(c);for(let p=f.length-1;p>=0;p--){const m=f[p]?.filename;if(m&&sr&&kr){sr[m]=u,kr[c]=[m,u];break}}}}};return t&&s(r,t),n&&s(i,n),sr}function _O(e,t,n,r,i,s){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||jt(),timestamp:t.timestamp||jr()},u=n.integrations||e.integrations.map(w=>w.name);yO(c,e),bO(c,u),i&&i.emit("applyFrameMetadata",t),t.type===void 0&&vO(c,e.stackParser);const l=EO(r,n.captureContext);n.mechanism&&Br(c,n.mechanism);const f=i?i.getEventProcessors():[],p=oy(s,l),d=[...n.attachments||[],...p.attachments];d.length&&(n.attachments=d),iO(c,p);const m=[...f,...p.eventProcessors];return(n.data&&n.data.__sentry__===!0?Zs(c):mO(m,c,n)).then(w=>(w&&SO(w),typeof o=="number"&&o>0?wO(w,o,a):w))}function yO(e,t){const{environment:n,release:r,dist:i,maxValueLength:s}=t;e.environment=e.environment||n||rf,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);const o=e.request;o?.url&&s&&(o.url=Gl(o.url,s)),s&&e.exception?.values?.forEach(a=>{a.value&&(a.value=Gl(a.value,s))})}function vO(e,t){const n=gO(t);e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(i=>{i.filename&&(i.debug_id=n[i.filename])})})}function SO(e){const t={};if(e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.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,i])=>{n.push({type:"sourcemap",code_file:r,debug_id:i})})}function bO(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function wO(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:On(i.data,t,n)}}))},...e.user&&{user:On(e.user,t,n)},...e.contexts&&{contexts:On(e.contexts,t,n)},...e.extra&&{extra:On(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=On(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>({...i,...i.data&&{data:On(i.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=On(e.contexts.flags,3,n)),r}function EO(e,t){if(!t)return e;const n=e?e.clone():new wn;return n.update(t),n}function TO(e){if(e)return RO(e)?{captureContext:e}:AO(e)?{captureContext:e}:e}function RO(e){return e instanceof wn||typeof e=="function"}const IO=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function AO(e){return Object.keys(e).some(t=>IO.includes(t))}function cf(e,t){return Ne().captureException(e,TO(t))}function dy(e,t){return Ne().captureEvent(e,t)}function CO(){const e=De();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function $p(e){const t=ln(),{user:n}=oy(t,Ne()),{userAgent:r}=Re.navigator||{},i=Dk({user:n,...r&&{userAgent:r},...e}),s=t.getSession();return s?.status==="ok"&&Ci(s,{status:"exited"}),py(),t.setSession(i),i}function py(){const e=ln(),n=Ne().getSession()||e.getSession();n&&Pk(n),hy(),e.setSession()}function hy(){const e=ln(),t=De(),n=e.getSession();n&&t&&t.captureSession(n)}function Gc(e=!1){if(e){py();return}hy()}function my(e){return typeof e=="object"&&typeof e.unref=="function"&&e.unref(),e}const kO="7";function OO(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function NO(e){return`${OO(e)}${e.projectId}/envelope/`}function xO(e,t){const n={sentry_version:kO};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function DO(e,t,n){return t||`${NO(e)}?${xO(e,n)}`}const Fp=[];function PO(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];
16i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function LO(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(i=>{i.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const i=n(t);r=Array.isArray(i)?i:[i]}else r=t;return PO(r)}function MO(e,t){const n={};return t.forEach(r=>{r?.beforeSetup&&r.beforeSetup(e)}),t.forEach(r=>{r&&gy(e,r,n)}),n}function Up(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function gy(e,t,n){if(n[t.name]){ae&&Q.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Fp.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),Fp.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",(i,s)=>r(i,s,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),i=Object.assign((s,o)=>r(s,o,e),{id:t.name});e.addEventProcessor(i)}["processSpan","processSegmentSpan"].forEach(r=>{const i=t[r];typeof i=="function"&&e.on(r,s=>i.call(t,s,e))}),ae&&Q.log(`Integration installed: ${t.name}`)}function $O(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function FO(){return"npm"}function UO(){return!$O()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function ec(){return typeof window<"u"&&(!UO()||HO())}function HO(){return Re.process?.type==="renderer"}function BO(e,t){const n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...ec()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function VO(e,t,n,r,i){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=qi(r)),ei(s,[BO(e,i)])}function qO(e,t){const n=t??GO(e)??[];if(n.length===0)return;const r=e.getOptions(),i=VO(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);_y().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function GO(e){return _y().get(e)}function _y(){return Hi("clientToLogBufferMap",()=>new WeakMap)}function WO(e,t){const n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...ec()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function JO(e,t,n,r,i){const s={};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=qi(r)),ei(s,[WO(e,i)])}function zO(e,t){const n=t??KO(e)??[];if(n.length===0)return;const r=e.getOptions(),i=JO(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);yy().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(i)}function KO(e){return yy().get(e)}function yy(){return Hi("clientToMetricBufferMap",()=>new WeakMap)}function YO(e){const t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status==="ok"||e.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...e.data},links:e.links};return E1(t)}function QO(e,t){if(e.type!=="transaction"||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||Rn(t))return;const n=[],r=[];for(const s of e.spans)s.op?.startsWith("gen_ai.")?n.push(YO(s)):r.push(s);if(n.length===0)return;e.spans=r;const i=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...ec()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}const lf=Symbol.for("SentryBufferFullError");function uf(e=100){const t=new Set;function n(){return t.size<e}function r(o){t.delete(o)}function i(o){if(!n())return fy(lf);const a=o();return t.add(a),a.then(()=>r(a),()=>r(a)),a}function s(o){if(!t.size)return Zs(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!o)return a;const c=[a,new Promise(u=>my(setTimeout(()=>u(!1),o)))];return Promise.race(c)}return{get $(){return Array.from(t)},add:i,drain:s}}const XO=60*1e3;function ZO(e,t=Er()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?XO:r-t}function jO(e,t){return e[t]||e.all||0}function eN(e,t,n=Er()){return jO(e,t)>n}function tN(e,{statusCode:t,headers:n},r=Er()){const i={...e},s=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(s)for(const a of s.trim().split(",")){const[c,u,,,l]=a.split(":",5),f=parseInt(c,10),p=(isNaN(f)?60:f)*1e3;if(!u)i.all=r+p;else for(const d of u.split(";"))d==="metric_bucket"?(!l||l.split(";").includes("custom"))&&(i[d]=r+p):i[d]=r+p}else o?i.all=r+ZO(o,r):t===429&&(i.all=r+60*1e3);return i}const vy=64;function nN(e,t,n=uf(e.bufferSize||vy)){let r={};const i=o=>n.drain(o);function s(o){const a=[];if(Ql(o,(f,p)=>{const d=Rp(p);eN(r,d)?e.recordDroppedEvent("ratelimit_backoff",d):a.push(f)}),a.length===0)return Promise.resolve({});const c=ei(o[0],a),u=f=>{if(k1(c,["client_report"])){ae&&Q.warn(`Dropping client report. Will not send outcomes (reason: ${f}).`);return}Ql(c,(p,d)=>
16{e.recordDroppedEvent(f,Rp(d))})},l=()=>t({body:O1(c)}).then(f=>f.statusCode===413?(ae&&Q.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),u("send_error"),f):(ae&&f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&Q.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=tN(r,f),f),f=>{throw u("network_error"),ae&&Q.error("Encountered error running transport request:",f),f});return n.add(l).then(f=>f,f=>{if(f===lf)return ae&&Q.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw f})}return{send:s,flush:i}}function rN(e,t,n){const r=[{type:"client_report"},{timestamp:jr(),discarded_events:e}];return ei(t?{dsn:t}:{},[r])}function Sy(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function iN(e){const{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:s,data:o,op:a}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:o?.[tf],exclusive_time:o?.[Tr],measurements:e.measurements,is_segment:!0}}function sN(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[tf]:e.profile_id},...e.exclusive_time&&{[Tr]:e.exclusive_time}}}},measurements:e.measurements}}const So=["forwarded","-ip","remote-","via","-user"];function oN(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:So},httpHeaders:{request:{deny:So},response:{deny:So}},httpBodies:[],urlQueryParams:{deny:So},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}const aN={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function cN(e){const t=e.dataCollection!=null?aN:oN(e.sendDefaultPii),n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}const Hp="Not capturing exception because it's already been captured.",Bp="Discarded session because of missing or non-string release",by=Symbol.for("SentryInternalError"),wy=Symbol.for("SentryDoNotSendEventError"),lN=5e3;function Vo(e){return{message:e,[by]:!0}}function Wc(e){return{message:e,[wy]:!0}}function Vp(e){return Ka(e)&&by in e}function qp(e){return Ka(e)&&wy in e}function Gp(e,t,n,r,i){let s=0,o,a=!1;e.on(n,()=>{s=0,clearTimeout(o),a=!1}),e.on(t,c=>{if(s+=r(c),s>=8e5)i(e);else if(!a){const u=e.getOptions()._flushInterval??lN;u>0&&(a=!0,o=my(setTimeout(()=>{i(e)},u)))}}),e.on("flush",()=>{i(e)})}class uN{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=uf(t.transportOptions?.bufferSize??vy),this._dataCollection=cN(t),t.dsn?this._dsn=m1(t.dsn):ae&&Q.warn("No DSN provided, client will not send events."),this._dsn){const r=DO(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&Gp(this,"afterCaptureLog","flushLogs",hN,qO),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&Gp(this,"afterCaptureMetric","flushMetrics",pN,zO)}captureException(t,n,r){const i=jt();if(up(t))return ae&&Q.log(Hp),i;const s={event_id:i,...n};return this._process(()=>this.eventFromException(t,s).then(o=>this._captureEvent(o,s,r)).then(o=>o),"error"),s.event_id}captureMessage(t,n,r,i){const s={event_id:jt(),...r},o=Qu(t)?t:String(t),a=Yr(t),c=a?this.eventFromMessage(o,n,s):this.eventFromException(t,s);return this._process(()=>c.then(u=>
16this._captureEvent(u,s,i)),a?"unknown":"error"),s.event_id}captureEvent(t,n,r){const i=jt();if(n?.originalException&&up(n.originalException))return ae&&Q.log(Hp),i;const s={event_id:i,...n},o=t.sdkProcessingMetadata||{},a=o.capturedSpanScope,c=o.capturedSpanIsolationScope,u=Wp(t.type);return this._process(()=>this._captureEvent(t,s,a||r,c),u),s.event_id}captureSession(t){this.sendSession(t),Ci(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(this.emit("flush"),!n)return!0;const r=await this._isClientDoneProcessing(t),i=await n.flush(t);return r&&i}async close(t){const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const n=this._integrations[t.name];!n&&t.beforeSetup&&t.beforeSetup(this),gy(this,t,this._integrations),n||Up(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);const r=QO(t,this);let i=F1(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])i=Tp(i,D1(s));r&&(i=Tp(i,r)),this.sendEnvelope(i).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:n,environment:r=rf}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!n){ae&&Q.warn(Bp);return}s.release=s.release||n,s.environment=s.environment||r,t.attrs=s}else{if(!t.release&&!n){ae&&Q.warn(Bp);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const i=$1(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const i=`${t}:${n}`;ae&&Q.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||new Set,i=(...s)=>n(...s);return r.add(i),()=>{r.delete(i)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(i=>i(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return ae&&Q.error("Error while sending envelope:",n),{}}return ae&&Q.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=MO(this,t),Up(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",i=!1;const s=n.exception?.values;if(s){i=!0,r=!1;for(const c of s)if(c.mechanism?.handled===!1){r=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(Ci(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||n<t;){if(await new Promise(r=>setTimeout(r,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,i){const s=this.getOptions(),o=this.getIntegrationNames();return!n.integrations&&o.length&&(n.integrations=o),this.emit("preprocessEvent",t,n),t.type||i.setLastEventId(t.event_id||n.event_id),_O(s,t,n,r,this,i).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:{...a.contexts?.trace,...Yk(r)},...a.contexts};const c=sf(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r=Ne(),i=ln()){return ae&&jl(t)&&Q.log(`Captured error event \`${Sy(t)[0]||"<unknown>"}\``),this._processEvent(t,n,r,i).then(s=>s.event_id,s=>{ae&&(qp(s)?Q.log(s.message):Vp(s)?Q.warn(s.message):Q.warn(s))})}_processEvent(t,n,r,i){const s=this.getOptions(),{sampleRate:o}=s,a=Ey(t),c=jl(t),l=`before send for type \`${t.type||"error"}\``,f=typeof o>"u"?void 0:Ds(o),p=Wp(t.type);return this._prepareEvent(t,n,r,i).then(d=>{if(d===null)throw this.recordDroppedEvent("event_processor",p),Wc("An event processor returned `null`, will not send event.");if(n.data?.__sentry__===!0)return d;const h=dN(this,s,d,n);return fN(h,l)}).then(d=>{if(d===null){if(this.recordDroppedEvent("before_send",p),a){const w=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",w)}throw Wc(`${l} returned \`null\`, will not send event.`)}const m=r.getSession()||i.getSession();if(c&&m&&this._updateSessionFromEvent(m,d),c&&typeof f=="number"&&gr()>f)throw this.recordDroppedEvent("sample_rate","error"),Wc(`Discarding event because it's not included in the random sample (sampling rate = ${o})`);if(a){const _=d.sdkProcessingMetadata?.spanCountBeforeProcessing||0,w=d.spans?d.spans.length:0,b=_-w;b>0&&this.recordDroppedEvent("before_send","span",b)}const h=d.transaction_info;if(a&&h&&d.transaction!==t.transaction){const _="custom";d.transaction_info={...h,source:_}}
16return this.sendEvent(d,n),d}).then(null,d=>{throw qp(d)||Vp(d)?d:(this.captureException(d,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:d}),Vo(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
17Reason: ${d}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r===lf&&this.recordDroppedEvent("queue_overflow",n),r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[i,s]=n.split(":");return{reason:i,category:s,quantity:r}})}_flushOutcomes(){ae&&Q.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){ae&&Q.log("No outcomes to send");return}if(!this._dsn){ae&&Q.log("No dsn provided, will not send outcomes");return}ae&&Q.log("Sending outcomes:",t);const n=rN(t,this._options.tunnel&&qi(this._dsn));this.sendEnvelope(n)}}function Wp(e){return e==="replay_event"?"replay":e||"error"}function fN(e,t){const n=`${t} must return \`null\` or a valid event.`;if(zs(e))return e.then(r=>{if(!ma(r)&&r!==null)throw Vo(n);return r},r=>{throw Vo(`${t} rejected with ${r}`)});if(!ma(e)&&e!==null)throw Vo(n);return e}function dN(e,t,n,r){const{beforeSend:i,beforeSendTransaction:s,ignoreSpans:o}=t,a=!j_(t.beforeSendSpan)&&t.beforeSendSpan;let c=n;if(jl(c)&&i)return i(c,r);
17if(Ey(c)){if(a||o){const u=iN(c);if(o?.length&&Ps({description:u.description,op:u.op,attributes:u.data},o))return null;if(a){const l=a(u);l?c=Ys(n,sN(l)):Yl()}if(c.spans){const l=[],f=c.spans;for(const d of f){if(o?.length&&Ps({description:d.description,op:d.op,attributes:d.data},o)){A1(f,d);continue}if(a){const m=a(d);m?l.push(m):(Yl(),l.push(d))}else l.push(d)}const p=c.spans.length-l.length;p&&e.recordDroppedEvent("before_send","span",p),c.spans=l}}if(s){if(c.spans){const u=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:u}}return s(c,r)}}return c}function jl(e){return e.type===void 0}function Ey(e){return e.type==="transaction"}function pN(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Ty(e.attributes)}function hN(e){let t=0;return e.message&&(t+=e.message.length*2),t+Ty(e.attributes)}function Ty(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*Jp(n[0]):Yr(n)?t+=Jp(n):t+=100}),t}function Jp(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function mN(e,t){t.debug===!0&&(ae?Q.enable():Zn(()=>{})),Ne().update(t.initialScope);const r=new e(t);return gN(r),r.init(),r}function gN(e){Ne().setClient(e)}const _N="thismessage:/";function ff(e){return"isRelative"in e}function ya(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,r=n?_N:void 0;try{if("canParse"in URL&&!URL.canParse(e,r))return;const i=new URL(e,r);return n?{isRelative:n,pathname:i.pathname,search:i.search,hash:i.hash}:i}catch{}}function Ry(e){if(ff(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 qr(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 yN(e){return e.split(/[?#]/,1)[0]}function sn(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",i=e.includes(";base64,"),s=e.indexOf(",");let o="";if(t&&s!==-1){const a=e.slice(s+1);o=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${r}${i?",base64":""}${o?`,${o}`:""}`}return e}function vN(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function Iy(e,t,n=[t],r="npm"){const i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(s=>({name:`${r}:@sentry/${s}`,version:Hr})),i.version=Hr)}function Ay(e={}){const t=e.client||De();if(!CO()||!t)return{};const n=Sr(),r=Vi(n);if(r.getTraceData)return r.getTraceData(e);const i=e.scope||Ne(),s=e.span||Ct(),o=Ni(s)&&!Mt(t.getOptions()),a=s&&!o?b1(s):SN(i),c=s?Gi(s):sf(t,i),u=s1(c);if(!F_.test(a))return Q.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const f={"sentry-trace":a,baggage:u};return e.propagateTraceparent&&(f.traceparent=s&&!o?w1(s):bN(i)),f}function SN(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return U_(t,r,n)}function bN(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return H_(t,r,n)}function wN(e){return Array.from(new Set(e))}const EN=100;function Xr(e,t){const n=De(),r=ln();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:s=EN}=n.getOptions();if(s<=0)return;const a={timestamp:jr(),...e},c=i?Zn(()=>i(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,s))}const TN="FunctionToString",zp=new WeakMap,RN=(()=>({name:TN,setupOnce(){const e=Function.prototype.toString;try{Function.prototype.toString=function(...t){const n=Zu(this);let r;try{zp.has(De())&&n!==void 0&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){zp.set(e,!0)}})),IN=RN,AN=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],CN="EventFilters",kN=(e={})=>{let t;return{name:CN,setup(n){const r=n.getOptions();t=Kp(e,r)},processEvent(n,r,i){if(!t){const s=i.getOptions();t=Kp(e,s)}return NN(n,t)?null:n}}},ON=((e={})=>({...kN(e),name:"InboundFilters"}));function Kp(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:AN],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function NN(e,t){if(e.type){if(e.type==="transaction"&&DN(e,t.ignoreTransactions))return ae&&Q.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
18Event: ${Dr(e)}`),!0}else{if(xN(e,t.ignoreErrors))return ae&&Q.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
19Event: ${Dr(e)}`),!0;if($N(e))return ae&&Q.warn(`Event dropped due to not having an error message, error type or stacktrace.
20Event: ${Dr(e)}`),!0;if(PN(e,t.denyUrls))return ae&&Q.warn(`Event dropped due to being matched by \`denyUrls\` option.
21Event: ${Dr(e)}.
22Url: ${va(e)}`),!0;if(!LN(e,t.allowUrls))return ae&&Q.warn(`Event dropped due to not being matched by \`allowUrls\` option.
23Event: ${Dr(e)}.
24Url: ${va(e)}`),!0}return!1}function xN(e,t){return t?.length?Sy(e).some(n=>Hn(n,t)):!1}function DN(e,t){if(!t?.length)return!1;const n=e.transaction;return n?Hn(n,t):!1}function PN(e,t){if(!t?.length)return!1;const n=va(e);return n?Hn(n,t):!1}function LN(e,t){if(!t?.length)return!0;const n=va(e);return n?Hn(n,t):!0}function MN(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function va(e){try{const n=[...e.exception?.values??[]].reverse().find(r=>r.mechanism?.parent_id===void 0&&r.stacktrace?.frames?.length)?.stacktrace?.frames;return n?MN(n):null}catch{return ae&&Q.error(`Cannot extract url for event ${Dr(e)}`),null}}function $N(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function FN(e,t,n,r,i,s){if(!i.exception?.values||!s||!Yn(s.originalException))return;const o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=eu(e,t,r,s.originalException,n,i.exception.values,o,0))}function eu(e,t,n,r,i,s,o,a){if(s.length>=n+1)return s;let c=[...s];if(Yn(r[i])){Yp(o,a,r);const u=e(t,r[i]),l=c.length;Qp(u,i,l,a),c=eu(e,t,n,r[i],i,[u,...c],u,l)}
24return Cy(r)&&r.errors.forEach((u,l)=>{if(Yn(u)){Yp(o,a,r);const f=e(t,u),p=c.length;Qp(f,`errors[${l}]`,p,a),c=eu(e,t,n,u,i,[f,...c],f,p)}}),c}function Cy(e){return Array.isArray(e.errors)}function Yp(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...Cy(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Qp(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function UN(e){return Yn(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function Xp(e){return UN(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}const Zp=new Set([]);function HN(e){const t="console",n=br(t,e);return wr(t,BN),n}const jp=new Set;function BN(){"console"in Re&&ok.forEach(function(e){jp.has(e)||!(e in Re.console)||(jp.add(e),Ft(Re.console,e,function(t){return ha[e]=t,function(...n){const r=n[0],i=ha[e],s=Zp.size&&typeof r=="string"&&Hn(r,Zp);s||Zt("console",{args:n,level:e}),(!s||ae&&Q.isEnabled())&&i?.apply(Re.console,n)}}))})}function VN(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const qN="Dedupe",GN=(()=>{let e;return{name:qN,processEvent(t){if(t.type)return t;try{if(JN(t,e))return ae&&Q.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),WN=GN;function JN(e,t){return t?!!(zN(e,t)||KN(e,t)):!1}function zN(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Oy(e,t)||!ky(e,t))}function KN(e,t){const n=eh(t),r=eh(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Oy(e,t)||!ky(e,t))}function ky(e,t){let n=sp(e),r=sp(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){const s=r[i],o=n[i];if(s.filename!==o.filename||s.lineno!==o.lineno||s.colno!==o.colno||s.function!==o.function)return!1}return!0}function Oy(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function eh(e){return e.exception?.values?.[0]}const YN="ConversationId",QN=(()=>({name:YN,setup(e){e.on("spanStart",t=>{const n=Ne().getScopeData(),r=ln().getScopeData(),i=n.conversationId||r.conversationId;if(i){const{op:s,data:o,description:a}=Ce(t);if(!s?.startsWith("gen_ai.")&&!o["ai.operationId"]&&!a?.startsWith("ai."))return;t.setAttribute(Zk,i)}})}})),XN=QN;function ZN(e,t,n,r,i){if(!e.fetchData)return;const{method:s,url:o}=e.fetchData,a=Mt()&&t(o);if(e.endTimestamp){const h=e.fetchData.__span;if(!h)return;const _=r[h];_&&(a&&(tx(_,e),jN(_,e,i)),delete r[h]);return}const{spanOrigin:c="auto.http.browser",propagateTraceparent:u=!1}=typeof i=="object"?i:{spanOrigin:i},l=De(),f=!!Ct(),p=f||!!l&&Rn(l),d=a&&p?En(ix(o,s,c)):new Qr,m=iy(d)&&f?void 0:d;if(a&&!p&&l?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=d.spanContext().spanId,r[d.spanContext().spanId]=d,n(e.fetchData.url)){const h=e.args[0],_={...e.args[1]||{}},w=ex(h,_,Mt()&&p?m:void 0,u);w&&(e.args[1]=_,_.headers=w)}if(l){const h={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};l.emit("beforeOutgoingRequestSpan",d,h)}return d}function jN(e,t,n){(typeof n=="object"&&n!==null?n.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function ex(e,t,n,r){const i=Ay({span:n,propagateTraceparent:r}),s=i["sentry-trace"],o=i.baggage,a=i.traceparent;if(!s)return;const c=t.headers||(Xu(e)?e.headers:void 0);if(c)if(nx(c)){const u=new Headers(c);if(u.get("sentry-trace")||u.set("sentry-trace",s),r&&a&&!u.get("traceparent")&&u.set("traceparent",a),o){const l=u.get("baggage");l?bo(l)||u.set("baggage",`${l},${o}`):u.set("baggage",o)}return u}else if(rx(c)){const u=[...c];u.find(f=>f[0]==="sentry-trace")||u.push(["sentry-trace",s]),r&&a&&!u.find(f=>f[0]==="traceparent")&&u.push(["traceparent",a]);const l=c.find(f=>f[0]==="baggage"&&typeof f[1]=="string"&&bo(f[1]));return o&&!l&&u.push(["baggage",o]),u}else{const u="sentry-trace"in c?c["sentry-trace"]:void 0,l="traceparent"in c?c.traceparent:void 0,f="baggage"in c?c.baggage:void 0,p=f?Array.isArray(f)?[...f]:[f]:[],d=f&&(Array.isArray(f)?f.find(h=>bo(h)):bo(f));o&&!d&&p.push(o);const m=Object.assign({},c,{"sentry-trace":u??s,...p.length>0&&{baggage:p.join(",")}});return r&&a&&!l&&(m.traceparent=a),m}else return{"sentry-trace":s,...o&&{baggage:o},...a&&{traceparent:a}}}function tx(e,t){if(t.response){D_(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:ut,message:"internal_error"});e.end()}function bo(e){return typeof e!="string"?!1:e.split(",").some(t=>t.trim().startsWith(_a))}function nx(e){return typeof Headers<"u"&&Qa(e,Headers)}function rx(e){return Array.isArray(e)?e.every(t=>Array.isArray(t)&&t.length===2&&typeof t[0]=="string"):!1}function ix(e,t,n){if(e.startsWith("data:")){const s=sn(e);return{name:`${t} ${s}`,attributes:th(e,void 0,t,n)}}const r=ya(e),i=r?Ry(r):e;return{name:`${t} ${i}`,attributes:th(e,r,t,n)}}function th(e,t,n,r){const i={url:sn(e),type:"fetch","http.method":n,[We]:r,[Wt]:"http.client"};return t&&(ff(t)||(i[ay]=sn(t.href),i[Wi]=sn(t.href),i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}function Ny(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Ms=Re;function sx(){return"history"in Ms&&!!Ms.history}function ox(){if(!("fetch"in Ms))return!1;
24try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function tu(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ax(){if(typeof EdgeRuntime=="string")return!0;if(!ox())return!1;if(tu(Ms.fetch))return!0;let e=!1;const t=Ms.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=tu(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){ae&&Q.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function df(e,t){const n="fetch",r=br(n,e);return wr(n,()=>xy(void 0,t)),r}function cx(e){const t="fetch-body-resolved",n=br(t,e);return wr(t,()=>xy(ux)),n}function xy(e,t=!1){t&&!ax()||Ft(Re,"fetch",function(n){return function(...r){const i=new Error,{method:s,url:o}=fx(r),a={args:r,fetchData:{method:s,url:o},startTimestamp:Ze()*1e3,virtualError:i,headers:dx(r)};return e||Zt("fetch",{...a}),n.apply(Re,r).then(async c=>(e?e(c):Zt("fetch",{...a,endTimestamp:Ze()*1e3,response:c}),c),c=>{Zt("fetch",{...a,endTimestamp:Ze()*1e3,error:c}),Yn(c)&&c.stack===void 0&&(c.stack=i.stack,bt(c,"framesToPop",1));const l=De()?.getOptions().enhanceFetchErrorMessages??"always";if(l!==!1&&Yn(c)&&c.name==="TypeError"&&(c.message==="Failed to fetch"||c.message==="Load failed"||c.message==="NetworkError when attempting to fetch resource."))try{const d=new URL(a.fetchData.url).host;l==="always"?c.message=`${c.message} (${d})`:bt(c,"__sentry_fetch_url_host__",d)}catch{}throw c})}})}async function lx(e,t){if(e?.body){const n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let s=!0;for(;s;){let o;try{o=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(o),a&&(t(),s=!1)}catch{s=!1}finally{clearTimeout(o)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function ux(e){let t;try{t=e.clone()}catch{return}lx(t,()=>{Zt("fetch-body-resolved",{endTimestamp:Ze()*1e3,response:e})})}function qo(e,t){return Ka(e)&&!!e[t]}function nh(e){return typeof e=="string"?e:e?qo(e,"url")?e.url:e.toString?e.toString():"":""}function fx(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:nh(n),method:qo(r,"method")?String(r.method).toUpperCase():Xu(n)&&qo(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:nh(t),method:qo(t,"method")?String(t.method).toUpperCase():"GET"}}function dx(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Xu(t))return new Headers(t.headers)}catch{}}const Dy=Re;function xi(){try{return Dy.document.location.href}catch{return""}}function Py(e,t=5){if(!Dy.HTMLElement)return null;let n=e;for(let r=0;r<t;r++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}const Ee=Re;let nu=0;function Ly(){return nu>0}function px(){nu++,setTimeout(()=>{nu--})}function Di(e,t={}){function n(i){return typeof i=="function"}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){const s=e.__sentry_wrapped__;return typeof s=="function"?s:e}if(Zu(e))return e}catch{return e}const r=function(...i){Re._sentryWrappedDepth=(Re._sentryWrappedDepth||0)+1;try{const s=i.map(o=>Di(o,t));return e.apply(this,s)}catch(s){throw px(),ju(o=>{o.addEventProcessor(a=>(t.mechanism&&(Wl(a,void 0),Br(a,t.mechanism)),a.extra={...a.extra,arguments:i},a)),cf(s)}),s}finally{Re._sentryWrappedDepth=(Re._sentryWrappedDepth||0)-1}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}b_(r,e),bt(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Sa(){const e=xi(),{referrer:t}=Ee.document||{},{userAgent:n}=Ee.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function pf(e,t){const n=tc(e,t),r={type:yx(t),value:vx(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function hx(e,t,n,r){const s=De()?.getOptions().normalizeDepth,o=Tx(t),a={__serialized__:T_(t,s)};if(o)return{exception:{values:[pf(e,o)]},extra:a};const c={exception:{values:[{type:Ya(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:wx(t,{isUnhandledRejection:r})}]},extra:a};if(n){const u=tc(e,n);u.length&&(c.exception.values[0].stacktrace={frames:u})}return c}
24function Jc(e,t){return{exception:{values:[pf(e,t)]}}}function tc(e,t){const n=t.stacktrace||t.stack||"",r=gx(t),i=_x(t);try{return e(n,r,i)}catch{}return[]}const mx=/Minified React error #\d+;/i;function gx(e){return e&&mx.test(e.message)?1:0}function _x(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function My(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function yx(e){const t=e?.name;return!t&&My(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function vx(e){const t=e?.message;return My(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?Xp(t.error):Xp(e):"No error message"}function Sx(e,t,n,r){const i=n?.syntheticException||void 0,s=hf(e,t,i,r);return Br(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),Zs(s)}function bx(e,t,n="info",r,i){const s=r?.syntheticException||void 0,o=ru(e,t,s,i);return o.level=n,r?.event_id&&(o.event_id=r.event_id),Zs(o)}function hf(e,t,n,r,i){let s;if(S_(t)&&t.error)return Jc(e,t.error);if(ap(t)||_k(t)){const o=t;if("stack"in t){s=Jc(e,t);const a=s.exception?.values?.[0];if(r&&n&&a&&!a.stacktrace){const c=tc(e,n);c.length&&(a.stacktrace={frames:c},Br(s,{synthetic:!0}))}}else{const a=o.name||(ap(o)?"DOMError":"DOMException"),c=o.message?`${a}: ${o.message}`:a;s=ru(e,c,n,r),Wl(s,c)}return"code"in o&&(s.tags={...s.tags,"DOMException.code":`${o.code}`}),s}return Yn(t)?Jc(e,t):ma(t)||Ya(t)?(s=hx(e,t,n,i),Br(s,{synthetic:!0}),s):(s=ru(e,t,n,r),Wl(s,`${t}`),Br(s,{synthetic:!0}),s)}function ru(e,t,n,r){const i={};if(r&&n){const s=tc(e,n);s.length&&(i.exception={values:[{value:t,stacktrace:{frames:s}}]}),Br(i,{synthetic:!0})}if(Qu(t)){const{__sentry_template_string__:s,__sentry_template_values__:o}=t;return i.logentry={message:s,params:o},i}return i.message=t,i}function wx(e,{isUnhandledRejection:t}){const n=vk(e),r=t?"promise rejection":"exception";return S_(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Ya(e)?`Event \`${Ex(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Ex(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Tx(e){return Object.values(e).find(Yn)}class Rx extends uN{constructor(t){const n=Ix(t),r=Ee.SENTRY_SDK_SOURCE||FO();Iy(n,"browser",["browser"],r),super(n);const{userInfo:i}=this.getDataCollectionOptions();n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:i?"auto":"never",...n._metadata.sdk.settings});const{sendClientReports:s}=this._options;Ee.document&&Ee.document.addEventListener("visibilitychange",()=>{Ee.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),i&&this.on("beforeSendSession",vN)}eventFromException(t,n){return Sx(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return bx(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,i){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,i)}}function Ix(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Ee.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const er=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Se=Re,Ax=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",js=(e,t,n,r)=>{let i,s;return o=>{t.value>=0&&(o||r)&&(s=t.value-(i??0),(s||i===void 0)&&(i=t.value,t.delta=s,t.rating=Ax(t.value,n),e(t)))}},eo=(e=!0)=>{const t=Se.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},Ji=()=>eo()?.activationStart??0;function _r(e,t,n){Se.document&&Se.addEventListener(e,t,n)}function ba(e,t,n){Se.document&&Se.removeEventListener(e,t,n)}let Si=-1;const $y=new Set,Cx=()=>Se.document?.visibilityState==="hidden"&&!Se.document?.prerendering?0:1/0,Go=e=>{if(kx(e)&&Si>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of $y)t();isFinite(Si)||(Si=e.type==="visibilitychange"?e.timeStamp:0,ba("prerenderingchange",Go,!0))}},to=()=>
24{if(Se.document&&Si<0){const e=Ji();Si=(Se.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(n=>n.name==="hidden"&&n.startTime>e)[0]?.startTime)??Cx(),_r("visibilitychange",Go,!0),_r("pagehide",Go,!0),_r("prerenderingchange",Go,!0)}return{get firstHiddenTime(){return Si},onHidden(e){$y.add(e)}}};function kx(e){return e.type==="pagehide"||Se.document?.visibilityState==="hidden"}const Ox=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,no=(e,t=-1)=>{const n=eo();let r="navigate";return n&&(Se.document?.prerendering||Ji()>0?r="prerender":Se.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:Ox(),navigationType:r}},zc=new WeakMap;function mf(e,t){try{return zc.get(e)||zc.set(e,new t),zc.get(e)}catch{return new t}}class Nx{constructor(){this._sessionValue=0,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 zi=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{Promise.resolve().then(()=>{t(i.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},gf=e=>{let t=!1;return()=>{t||(e(),t=!0)}},nc=e=>{Se.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},xx=[1800,3e3],Dx=(e,t={})=>{nc(()=>{const n=to(),r=no("FCP");let i;const o=zi("paint",a=>{for(const c of a)c.name==="first-contentful-paint"&&(o.disconnect(),c.startTime<n.firstHiddenTime&&(r.value=Math.max(c.startTime-Ji(),0),r.entries.push(c),i(!0)))});o&&(i=js(e,r,xx,t.reportAllChanges))})},Px=[.1,.25],Lx=(e,t={})=>{Dx(gf(()=>{const n=no("CLS",0);let r;const i=to(),s=mf(t,Nx),o=c=>{for(const u of c)s._processEntry(u);s._sessionValue>n.value&&(n.value=s._sessionValue,n.entries=s._sessionEntries,r())},a=zi("layout-shift",o);a&&(r=js(e,n,Px,t.reportAllChanges),i.onHidden(()=>{o(a.takeRecords()),r(!0)}),Se?.setTimeout?.(r))}))};let Fy=0,Kc=1/0,wo=0;const Mx=e=>{e.forEach(t=>{t.interactionId&&(Kc=Math.min(Kc,t.interactionId),wo=Math.max(wo,t.interactionId),Fy=wo?(wo-Kc)/7+1:0)})};let iu;const Uy=()=>iu?Fy:performance.interactionCount||0,$x=()=>{"interactionCount"in performance||iu||(iu=zi("event",Mx,{type:"event",buffered:!0,durationThreshold:0}))},Yc=10;let Hy=0;const Fx=()=>Uy()-Hy;class Ux{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){Hy=Uy(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(Fx()/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<Yc||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((i,s)=>s._latency-i._latency),this._longestInteractionList.length>Yc){const i=this._longestInteractionList.splice(Yc);for(const s of i)this._longestInteractionMap.delete(s.id)}this._onAfterProcessingINPCandidate?.(r)}}}const _f=e=>{const t=Se.requestIdleCallback||Se.setTimeout;Se.document?.visibilityState==="hidden"?e():(e=gf(e),_r("visibilitychange",e,{once:!0,capture:!0}),_r("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),ba("visibilitychange",e,{capture:!0}),ba("pagehide",e,{capture:!0})}))},Hx=[200,500],Bx=40,Vx=(e,t={})=>
24{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const n=to();nc(()=>{$x();const r=no("INP");let i;const s=mf(t,Ux),o=c=>{_f(()=>{for(const l of c)s._processEntry(l);const u=s._estimateP98LongestInteraction();u&&u._latency!==r.value&&(r.value=u._latency,r.entries=u.entries,i())})},a=zi("event",o,{durationThreshold:t.durationThreshold??Bx});i=js(e,r,Hx,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{o(a.takeRecords()),i(!0)}))})};class qx{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const Gx=[2500,4e3],Wx=(e,t={})=>{nc(()=>{const n=to(),r=no("LCP");let i;const s=mf(t,qx),o=c=>{t.reportAllChanges||(c=c.slice(-1));for(const u of c)s._processEntry(u),u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-Ji(),0),r.entries=[u],i())},a=zi("largest-contentful-paint",o);if(a){i=js(e,r,Gx,t.reportAllChanges);const c=gf(()=>{o(a.takeRecords()),a.disconnect(),i(!0)}),u=l=>{l.isTrusted&&(_f(c),ba(l.type,u,{capture:!0}))};for(const l of["keydown","click","visibilitychange"])_r(l,u,{capture:!0})}})},Jx=[800,1800],su=e=>{Se.document?.prerendering?nc(()=>su(e)):Se.document?.readyState!=="complete"?addEventListener("load",()=>su(e),!0):setTimeout(e)},zx=(e,t={})=>{const n=no("TTFB"),r=js(e,n,Jx,t.reportAllChanges);su(()=>{const i=eo();i&&(n.value=Math.max(i.responseStart-Ji(),0),n.entries=[i],r(!0))})},_s={},wa={};let By,Vy,qy,Gy;function yf(e,t=!1){return rc("cls",e,Yx,By,t)}function vf(e,t=!1){return rc("lcp",e,Qx,Vy,t)}function Kx(e){return rc("ttfb",e,Xx,qy)}function Wy(e){return rc("inp",e,Zx,Gy)}function Pi(e,t){return Jy(e,t),wa[e]||(jx(e),wa[e]=!0),zy(e,t)}function ro(e,t){const n=_s[e];if(n?.length)for(const r of n)try{r(t)}catch(i){er&&Q.error(`Error while triggering instrumentation handler.
25Type: ${e}
26Name: ${Kn(r)}
27Error:`,i)}}function Yx(){return Lx(e=>{ro("cls",{metric:e}),By=e},{reportAllChanges:!0})}function Qx(){return Wx(e=>{ro("lcp",{metric:e}),Vy=e},{reportAllChanges:!0})}function Xx(){return zx(e=>{ro("ttfb",{metric:e}),qy=e})}function Zx(){return Vx(e=>{ro("inp",{metric:e}),Gy=e})}function rc(e,t,n,r,i=!1){Jy(e,t);let s;return wa[e]||(s=n(),wa[e]=!0),r&&t({metric:r}),zy(e,t,i?s:void 0)}function jx(e){const t={};e==="event"&&(t.durationThreshold=0),zi(e,n=>{ro(e,{entries:n})},t)}function Jy(e,t){_s[e]=_s[e]||[],_s[e].push(t)}function zy(e,t,n){return()=>{n&&n();const r=_s[e];if(!r)return;const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function eD(e){return"duration"in e}const tD=80,Nr={};try{typeof Node<"u"&&(Nr.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(Nr.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,Nr.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,Nr.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,Nr.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(Nr.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function cr(e,t,n){const r=Nr[t];if(r)try{return r.call(e,n)}catch{}const i=e[t];return typeof i=="function"?i.call(e,n):i}function gt(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let s=0,o=0;const a=" > ",c=a.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||tD;for(;n&&s++<r&&(u=nD(n,l),!(u==="html"||s>1&&o+i.length*c+u.length>=f));)i.push(u),o+=u.length,n=cr(n,"parentNode");return i.reverse().join(a)}catch{return"<unknown>"}}function nD(e,t){const n=[],r=cr(e,"tagName");if(!r)return"";if(typeof HTMLElement<"u"&&e instanceof HTMLElement){const s=cr(e,"dataset");if(s){if(s.sentryComponent)return s.sentryComponent;if(s.sentryElement)return s.sentryElement}}n.push(r.toLowerCase());const i=t?.length?t.filter(s=>cr(e,"getAttribute",s)).map(s=>[s,cr(e,"getAttribute",s)]):null;if(i?.length)i.forEach(s=>{n.push(`[${s[0]}="${s[1]}"]`)});else{const s=cr(e,"id");s&&n.push(`#${s}`);const o=cr(e,"className");if(o&&Un(o)){const a=o.split(/\s+/);for(const c of a)n.push(`.${c}`)}}for(const s of["aria-label","type","name","title","alt"]){const o=cr(e,"getAttribute",s);o&&n.push(`[${s}="${o}"]`)}return n.join("")}const rD=e=>{const t=n=>{(n.type==="pagehide"||Se.document?.visibilityState==="hidden")&&e(n)};_r("visibilitychange",t,{capture:!0,once:!0}),_r("pagehide",t,{capture:!0,once:!0})};function Qc(e){return typeof e=="number"&&isFinite(e)}function yr(e,t,n,{...r}){const i=Ce(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),ry(e,()=>{const s=En({startTime:t,...r});return s&&s.end(n),s})}function Sf(e){const t=De();if(!t)return;const{name:n,transaction:r,attributes:i,startTime:s}=e,{release:o,environment:a}=t.getOptions(),{userInfo:c}=t.getDataCollectionOptions(),l=t.getIntegrationByName("Replay")?.getReplayId(),f=Ne(),p=f.getUser(),d=p!==void 0?p.email||p.id||p.ip_address:void 0;let m;try{m=f.getScopeData().contexts.profile.profile_id}catch{}const h={release:o,environment:a,user:d||void 0,profile_id:m||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":Se.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...i};return En({name:n,attributes:h,startTime:s,experimental:{standalone:!0}})}function Ki(){return Se.addEventListener&&Se.performance}function Be(e){return e/1e3}function iD(e){let t="unknown",n="unknown",r="";for(const i of e){if(i==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=i}
27return r===e&&(t=r),{name:t,version:n}}function ic(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function sc(e,t){let n,r=!1;function i(a){!r&&n&&t(a,n.spanContext().spanId,n),r=!0}rD(()=>{i("pagehide")});const s=e.on("beforeStartNavigationSpan",(a,c)=>{c?.isRedirect||(i("navigation"),s(),o())}),o=e.on("afterStartPageLoadSpan",a=>{n=a,o()})}function sD(e){let t=0,n;if(!ic("layout-shift"))return;const r=yf(({metric:i})=>{const s=i.entries[i.entries.length-1];s&&(t=i.value,n=s)},!0);sc(e,(i,s)=>{oD(t,n,s,i),r()})}function oD(e,t,n,r){er&&Q.log(`Sending CLS span (${e})`);const i=t?Be((_t()||0)+t.startTime):Ze(),s=Ne().getScopeData().transactionName,o=t?gt(t.sources[0]?.node):"Layout shift",a={[We]:"auto.http.browser.cls",[Wt]:"ui.webvital.cls",[Tr]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t?.sources&&t.sources.forEach((u,l)=>{a[`cls.source.${l+1}`]=gt(u.node)});const c=Sf({name:o,transaction:s,attributes:a,startTime:i});c&&(c.addEvent("cls",{[Qs]:"",[Xs]:e}),c.end(i))}const aD=6e4;function io(e){return e!=null&&e>0&&e<=aD}function cD(e){let t=0,n;if(!ic("largest-contentful-paint"))return;const r=vf(({metric:i})=>{const s=i.entries[i.entries.length-1];!s||!io(i.value)||(t=i.value,n=s)},!0);sc(e,(i,s)=>{lD(t,n,s,i),r()})}function lD(e,t,n,r){if(!io(e))return;er&&Q.log(`Sending LCP span (${e})`);const i=Be((_t()||0)+(t?.startTime||0)),s=Ne().getScopeData().transactionName,o=t?gt(t.element):"Largest contentful paint",a={[We]:"auto.http.browser.lcp",[Wt]:"ui.webvital.lcp",[Tr]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(a["lcp.element"]=gt(t.element)),t.id&&(a["lcp.id"]=t.id),t.url&&(a["lcp.url"]=t.url),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 c=Sf({name:o,transaction:s,attributes:a,startTime:i});c&&(c.addEvent("lcp",{[Qs]:"millisecond",[Xs]:e}),c.end(i))}function zt(e){return e&&((_t()||performance.timeOrigin)+e)/1e3}function Ky(e){const t={};if(e.nextHopProtocol!=null){const{name:n,version:r}=iD(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return _t()||Ki()?.timeOrigin?uD({...t,"http.request.redirect_start":zt(e.redirectStart),"http.request.redirect_end":zt(e.redirectEnd),"http.request.worker_start":zt(e.workerStart),"http.request.fetch_start":zt(e.fetchStart),"http.request.domain_lookup_start":zt(e.domainLookupStart),"http.request.domain_lookup_end":zt(e.domainLookupEnd),"http.request.connect_start":zt(e.connectStart),"http.request.secure_connection_start":zt(e.secureConnectionStart),"http.request.connection_end":zt(e.connectEnd),"http.request.request_start":zt(e.requestStart),"http.request.response_start":zt(e.responseStart),"http.request.response_end":zt(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function uD(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const fD=2147483647;let rh=0,Dt={},Ot,Ea;function dD({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=Ki();if(r&&_t()){r.mark&&Se.performance.mark("sentry-tracing-init");const i=t?cD(n):t===!1?_D():void 0,s=e?sD(n):e===!1?gD():void 0,o=yD(),a=vD();return()=>{o(),a(),i?.(),s?.()}}return()=>{}}function pD(){Pi("longtask",({entries:e})=>{const t=Ct();if(!t)return;const{op:n,start_timestamp:r}=Ce(t);for(const i of e){const s=Be(_t()+i.startTime),o=Be(i.duration);n==="navigation"&&r&&s<r||yr(t,s,s+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[We]:"auto.ui.browser.metrics"}})}})}function hD(){new PerformanceObserver(t=>{const n=Ct();if(n)for(const r of t.getEntries()){if(!r.scripts[0])continue;const i=Be(_t()+r.startTime),{start_timestamp:s,op:o}=Ce(n);if(o==="navigation"&&s&&i<s)continue;const a=Be(r.duration),c={[We]:"auto.ui.browser.metrics"},u=r.scripts[0],{invoker:l,invokerType:f,sourceURL:p,sourceFunctionName:d,sourceCharPosition:m}=u;c["browser.script.invoker"]=l,c["browser.script.invoker_type"]=f,p&&(c["code.filepath"]=p),d&&(c["code.function"]=d),m!==-1&&(c["browser.script.source_char_position"]=m),yr(n,i,i+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function mD(){Pi("event",({entries:e})=>{const t=Ct();if(t){for(const n of e)if(n.name==="click"){const r=Be(_t()+n.startTime),i=Be(n.duration),s={name:gt(n.target),op:`ui.interaction.${n.name}`,startTime:r,attributes:{[We]:"auto.ui.browser.metrics"}},o=Py(n.target);o&&(s.attributes["ui.component_name"]=o),yr(t,r,r+i,s)}}})}function gD(){return yf(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Dt.cls={value:e.value,unit:""},Ea=t)},!0)}function _D(){return vf(({metric:e})=>{const t=e.entries[e.entries.length-1];!t||!io(e.value)||(Dt.lcp={value:e.value,unit:"millisecond"},Ot=t)},!0)}function yD(){return Kx(({metric:e})=>{e.entries[e.entries.length-1]&&(Dt.ttfb={value:e.value,unit:"millisecond"})})}function vD(){return Pi("paint",({entries:e})=>{const t=to();for(const n of e){const r=n.startTime<t.firstHiddenTime;n.name==="first-paint"&&r&&(Dt.fp={value:n.startTime,unit:"millisecond"}),n.name==="first-contentful-paint"&&r&&(Dt.fcp={value:n.startTime,unit:"millisecond"})}})}function SD(e,t){const n=Ki(),r=_t();if(!n?.getEntries||!r)return;const{spanStreamingEnabled:i,ignorePerformanceApiSpans:s,ignoreResourceSpans:o}=t,a=Be(r),c=n.getEntries(),{op:u,start_timestamp:l}=Ce(e);
27c.slice(rh).forEach(f=>{const p=Be(f.startTime),d=Be(Math.max(0,f.duration));if(!(u==="navigation"&&l&&a+p<l))switch(f.entryType){case"navigation":{RD(e,f,a);break}case"mark":case"paint":case"measure":{ED(e,f,p,d,a,s);break}case"resource":{CD(e,f,f.name,p,d,a,o);break}}}),rh=Math.max(c.length-1,0),kD(e,i)}function bD(e,t){const n=_t();if(!Ki()?.getEntries||!n){ih();return}const{spanStreamingEnabled:r,recordClsOnPageloadSpan:i,recordLcpOnPageloadSpan:s}=t,o=Be(n);if(Ce(e).op==="pageload"){if(xD(Dt),r){const a=(c,u,l)=>{const f=l??`browser.web_vital.${c}.value`;e.setAttribute(f,u),er&&Q.log("Setting web vital attribute",{[f]:u},"on pageload span")};["ttfb","fp","fcp"].forEach(c=>{Dt[c]&&a(c,Dt[c].value)}),Dt["ttfb.requestTime"]&&a("ttfb.requestTime",Dt["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else i||delete Dt.cls,s||delete Dt.lcp,Object.entries(Dt).forEach(([a,c])=>{ny(a,c.value,c.unit,e)}),OD(e,t);e.setAttribute(r?"browser.performance.time_origin":"performance.timeOrigin",o),e.setAttribute(r?"browser.performance.navigation.activation_start":"performance.activationStart",Ji())}ih()}function ih(){Ot=void 0,Ea=void 0,Dt={}}function wD(e){if(e?.entryType==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function ED(e,t,n,r,i,s){if(wD(t)||["mark","measure"].includes(t.entryType)&&Hn(t.name,s))return;const o=eo(!1),a=Be(o?o.requestStart:0),c=i+Math.max(n,a),u=i+n,l=u+r,f={[We]:"auto.resource.browser.metrics"};c!==u&&(f["sentry.browser.measure_happened_before_request"]=!0,f["sentry.browser.measure_start_time"]=c),TD(f,t),c<=l&&yr(e,c,l,{name:t.name,op:t.entryType,attributes:f})}function TD(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[r,i]of Object.entries(n))if(i&&Yr(i))e[`sentry.browser.measure.detail.${r}`]=i;else if(i!==void 0)try{e[`sentry.browser.measure.detail.${r}`]=JSON.stringify(i)}catch{}return}if(Yr(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function RD(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Eo(e,t,r,n)}),Eo(e,t,"secureConnection",n,"TLS/SSL"),Eo(e,t,"fetch",n,"cache"),Eo(e,t,"domainLookup",n,"DNS"),AD(e,t,n)}function Eo(e,t,n,r,i=n){const s=ID(n),o=t[s],a=t[`${n}Start`];!a||!o||yr(e,r+Be(a),r+Be(o),{op:`browser.${i}`,name:t.name,attributes:{[We]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function ID(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function AD(e,t,n){const r=n+Be(t.requestStart),i=n+Be(t.responseEnd),s=n+Be(t.responseStart);t.responseEnd&&(yr(e,r,i,{op:"browser.request",name:t.name,attributes:{[We]:"auto.ui.browser.metrics"}}),yr(e,s,i,{op:"browser.response",name:t.name,attributes:{[We]:"auto.ui.browser.metrics"}}))}function CD(e,t,n,r,i,s,o){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(a))return;const c={[We]:"auto.resource.browser.metrics"},u=qr(n);u.protocol&&(c["url.scheme"]=u.protocol.split(":").pop()),u.host&&(c["server.address"]=u.host),c["url.same_origin"]=n.includes(Se.location.origin),c[Wi]=n,ND(t,c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const l={...c,...Ky(t)},f=s+r,p=f+i;yr(e,f,p,{name:n.replace(Se.location.origin,""),op:a,attributes:l})}function kD(e,t){const n=Se.navigator;if(!n)return;const r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),Qc(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):Ce(e).op==="pageload"&&ny("connection.rtt",r.rtt,"millisecond"))),Qc(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),Qc(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}function OD(e,t){Ot&&t.recordLcpOnPageloadSpan&&(Ot.element&&e.setAttribute("lcp.element",gt(Ot.element)),Ot.id&&e.setAttribute("lcp.id",Ot.id),Ot.url&&e.setAttribute("lcp.url",Ot.url.trim().slice(0,200)),Ot.loadTime!=null&&e.setAttribute("lcp.loadTime",Ot.loadTime),Ot.renderTime!=null&&e.setAttribute("lcp.renderTime",Ot.renderTime),e.setAttribute("lcp.size",Ot.size)),Ea?.sources&&t.recordClsOnPageloadSpan&&Ea.sources.forEac
27h((n,r)=>e.setAttribute(`cls.source.${r+1}`,gt(n.node)))}function ND(e,t,n){n.forEach(([r,i])=>{const s=e[r];s!=null&&(typeof s=="number"&&s<fD||typeof s=="string")&&(t[i]=s)})}function xD(e){const t=eo(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const Xc=[],ys=new Map,si=new Map,Yy=60;function DD(){if(Ki()&&_t()){const t=PD();return()=>{t()}}return()=>{}}const $s={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 PD(){return Wy(LD)}const LD=({metric:e})=>{if(e.value==null)return;const t=Be(e.value);if(t>Yy)return;const n=e.entries.find(m=>m.duration===e.value&&$s[m.name]);if(!n)return;const{interactionId:r}=n,i=$s[n.name],s=Be(_t()+n.startTime),o=Ct(),a=o?mt(o):void 0,c=r!=null?ys.get(r):void 0,u=c?.span||a,l=u?Ce(u).description:Ne().getScopeData().transactionName,f=c?.elementName||gt(n.target),p={[We]:"auto.http.browser.inp",[Wt]:`ui.interaction.${i}`,[Tr]:n.duration},d=Sf({name:f,transaction:l,attributes:p,startTime:s});d&&(d.addEvent("inp",{[Qs]:"millisecond",[Xs]:e.value}),d.end(s+t))};function MD(e){return e!=null?ys.get(e):void 0}function $D(){const e=Object.keys($s);ec()&&e.forEach(i=>{Se.addEventListener(i,t,{capture:!0,passive:!0})});function t(i){const s=i.target;if(!s)return;const o=gt(s),a=Math.round(i.timeStamp);if(si.set(a,o),si.size>50){const c=si.keys().next().value;c!==void 0&&si.delete(c)}}function n(i){const s=Math.round(i.startTime);let o=si.get(s);if(!o)for(let a=-5;a<=5;a++){const c=si.get(s+a);if(c){o=c;break}}return o||"<unknown>"}const r=({entries:i})=>{const s=Ct(),o=s&&mt(s);i.forEach(a=>{if(!eD(a))return;const c=a.interactionId;if(c==null||ys.has(c))return;const u=a.target?gt(a.target):n(a);if(Xc.length>10){const l=Xc.shift();ys.delete(l)}Xc.push(c),ys.set(c,{span:o,elementName:u})})};Pi("event",r),Pi("first-input",r)}function bf(e){const{name:t,op:n,origin:r,metricName:i,value:s,attributes:o,parentSpan:a,reportEvent:c,startTime:u,endTime:l}=e,f=Ne().getScopeData().transactionName,p={[We]:r,[Wt]:n,[Tr]:0,[`browser.web_vital.${i}.value`]:s,[ly]:f,[cy]:f,"user_agent.original":Se.navigator?.userAgent,...o};a&&G_(a).attributes?.[Wt]==="pageload"&&(p["sentry.pageload.span_id"]=a.spanContext().spanId),c&&(p[`browser.web_vital.${i}.report_event`]=c);const d=En({name:t,attributes:p,startTime:u,parentSpan:a});d&&d.end(l??u)}function FD(e){let t=0,n;if(!ic("largest-contentful-paint"))return;const r=vf(({metric:i})=>{const s=i.entries[i.entries.length-1];!s||!io(i.value)||(t=i.value,n=s)},!0);sc(e,(i,s,o)=>{UD(t,n,o,i),r()})}function UD(e,t,n,r){if(!io(e))return;er&&Q.log(`Sending LCP span (${e})`);const i=_t()||0,s=Be(i),o=Be(i+(t?.startTime||0)),a=t?gt(t.element):"Largest contentful paint",c={};t?.element&&(c["browser.web_vital.lcp.element"]=gt(t.element)),t?.id&&(c["browser.web_vital.lcp.id"]=t.id),t?.url&&(c["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(c["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(c["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(c["browser.web_vital.lcp.size"]=t.size),bf({name:a,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:c,parentSpan:n,reportEvent:r,startTime:s,endTime:o})}function HD(e){let t=0,n;if(!ic("layout-shift"))return;const r=yf(({metric:i})=>{const s=i.entries[i.entries.length-1];s&&(t=i.value,n=s)},!0);sc(e,(i,s,o)=>{BD(t,n,o,i),r()})}function BD(e,t,n,r){er&&Q.log(`Sending CLS span (${e})`);const i=t?Be((_t()||0)+t.startTime):Ze(),s=t?gt(t.sources[0]?.node):"Layout shift",o={};t?.sources&&t.sources.forEach((a,c)=>{o[`browser.web_vital.cls.source.${c+1}`]=gt(a.node)}),bf({name:s,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:o,parentSpan:n,reportEvent:r,startTime:i})}function VD(){if(!Ki()||!_t())return;Wy(({metric:n})=>{if(n.value==null||Be(n.value)>Yy)return;const i=n.entries.find(s=>s.duration===n.value&&$s[s.name]);i&&qD(n.value,i)})}function qD(e,t){er&&Q.log(`Sending INP span (${e})`);const n=Be(_t()+t.startTime),r=Be(e),i=$s[t.name],s=MD(t.interactionId),o=Ct(),a=o?mt(o):void 0,c=s?.span||a,u=c?G_(c).name:Ne().getScopeData().transactionName,l=s?.elementName||gt(t.target);bf({name:l,op:`ui.interaction.${i}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[Tr]:t.duration,[ly]:u,[cy]:u},startTime:n,endTime:n+r,parentSpan:c})}const GD=1e3;let sh,ou,au;function WD(e){br("dom",e),wr("dom",JD)}function JD(){if(!Se.document)return;const e=Zt.bind(null,"dom"),t=oh(e,!0);Se.document.addEventListener("click",t,!1),Se.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const i=Se[n]?.prototype;
vendor: 3,309 bytes, line 27
27i?.hasOwnProperty?.("addEventListener")&&(Ft(i,"addEventListener",function(s){return function(o,a,c){if(o==="click"||o=="keypress")try{const u=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},l=u[o]=u[o]||{refCount:0};if(!l.handler){const f=oh(e);l.handler=f,s.call(this,o,f,c)}l.refCount++}catch{}return s.call(this,o,a,c)}}),Ft(i,"removeEventListener",function(s){return function(o,a,c){if(o==="click"||o=="keypress")try{const u=this.__sentry_instrumentation_handlers__||{},l=u[o];l&&(l.refCount--,l.refCount<=0&&(s.call(this,o,l.handler,c),l.handler=void 0,delete u[o]),Object.keys(u).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return s.call(this,o,a,c)}}))})}function zD(e){if(e.type!==ou)return!1;try{if(!e.target||e.target._sentryId!==au)return!1}catch{}return!0}function KD(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function oh(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=YD(n);if(KD(n.type,r))return;bt(n,"_sentryCaptured",!0),r&&!r._sentryId&&bt(r,"_sentryId",jt());const i=n.type==="keypress"?"input":n.type;zD(n)||(e({event:n,name:i,global:t}),ou=n.type,au=r?r._sentryId:void 0),clearTimeout(sh),sh=Se.setTimeout(()=>{au=void 0,ou=void 0},GD)}}function YD(e){try{return e.target}catch{return null}}let To;function wf(e){const t="history";br(t,e),wr(t,QD)}function QD(){if(Se.addEventListener("popstate",()=>{const t=Se.location.href,n=To;if(To=t,n===t)return;Zt("history",{from:n,to:t})}),!sx())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const i=To,s=XD(String(r));if(To=s,i===s)return t.apply(this,n);Zt("history",{from:i,to:s})}return t.apply(this,n)}}Ft(Se.history,"pushState",e),Ft(Se.history,"replaceState",e)}function XD(e){try{return new URL(e,Se.location.origin).toString()}catch{return e}}const Wo={};function ZD(e){const t=Wo[e];if(t)return t;let n=Se[e];if(tu(n))return Wo[e]=n.bind(Se);const r=Se.document;if(r&&typeof r.createElement=="function")try{const i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i);const s=i.contentWindow;s?.[e]&&(n=s[e]),r.head.removeChild(i)}catch(i){er&&Q.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,i)}return n&&(Wo[e]=n.bind(Se))}function jD(e){Wo[e]=void 0}const li="__sentry_xhr_v3__";function Qy(e){br("xhr",e),wr("xhr",eP)}function eP(){if(!Se.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const i=new Error,s=Ze()*1e3,o=Un(r[0])?r[0].toUpperCase():void 0,a=tP(r[1]);if(!o||!a)return t.apply(n,r);n[li]={method:o,url:a,request_headers:{}},o==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[li];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const l={endTimestamp:Ze()*1e3,startTimestamp:s,xhr:n,virtualError:i};Zt("xhr",l),n.removeEventListener("readystatechange",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,l,f){return c(),u.apply(l,f)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,l,f){const[p,d]=f,m=l[li];return m&&Un(p)&&Un(d)&&(m.request_headers[p.toLowerCase()]=d),u.a
27pply(l,f)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const i=n[li];if(!i)return t.apply(n,r);r[0]!==void 0&&(i.body=r[0]);const s={startTimestamp:Ze()*1e3,xhr:n};return Zt("xhr",s),t.apply(n,r)}})}function tP(e){if(Un(e))return e;try{return e.toString()}catch{}}function nP(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return er&&Q.error(n,"Failed to get xhr response headers",e),{}}return t?t.split(`\r
28`).reduce((n,r)=>{const[i,s]=r.split(": ");return s&&(n[i.toLowerCase()]=s),n},{}):{}}function rP(e){if(typeof Element>"u")return!1;try{return e instanceof Element}catch{return!1}}function iP(e){try{return new URL(e,Se.location.origin).toString()}catch{return e}}const sP=40;function oP(e,t=ZD("fetch")){let n=0,r=0;async function i(s){const o=s.body.length;n+=o,r++;const a={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const c=await t(e.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw jD("fetch"),c}finally{n-=o,r--}}return nN(e,i,uf(e.bufferSize||sP))}const qt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,aP=30,cP=50;function cu(e,t,n,r){const i={filename:e,function:t==="<anonymous>"?Kr:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const lP=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,uP=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>
28|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,fP=/\((\S*)(?::(\d+))(?::(\d+))\)/,dP=/at (.+?) ?\(data:(.+?),/,pP=e=>{const t=e.match(dP);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=lP.exec(e);if(n){const[,i,s,o]=n;return cu(i,Kr,+s,+o)}const r=uP.exec(e);if(r){if(r[2]?.indexOf("eval")===0){const a=fP.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[s,o]=Xy(r[1]||Kr,r[2]);return cu(o,s,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},hP=[aP,pP],mP=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,gP=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,_P=e=>{const t=mP.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const s=gP.exec(t[3]);s&&(t[1]=t[1]||"eval",t[3]=s[1],t[4]=s[2],t[5]="")}let r=t[3],i=t[1]||Kr;return[i,r]=Xy(i,r),cu(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},yP=[cP,_P],vP=[hP,yP],SP=g_(...vP),Xy=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Kr,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Ro=1024,bP="Breadcrumbs",wP=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:bP,setup(n){t.console&&HN(IP(n)),t.dom&&WD(RP(n,t.dom)),t.xhr&&Qy(AP(n)),t.fetch&&df(CP(n)),t.history&&wf(kP(n)),t.sentry&&n.on("beforeSendEvent",TP(n))}}}),EP=wP;function TP(e){return function(n){De()===e&&Xr({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Dr(n)},{event:n})}}function RP(e,t){return function(r){if(De()!==e)return;let i,s,o=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Ro&&(qt&&Q.warn(`\`dom.maxStringLength\` cannot exceed ${Ro}, but a value of ${a} was configured. Sentry will use ${Ro} instead.`),a=Ro),typeof o=="string"&&(o=[o]);try{const u=r.event,l=OP(u)?u.target:u;i=gt(l,{keyAttrs:o,maxStringLength:a}),s=Py(l)}catch{i="<unknown>"}if(i.length===0)return;const c={category:`ui.${r.name}`,message:i};s&&(c.data={"ui.component_name":s}),Xr(c,{event:r.event,name:r.name,global:r.global})}}function IP(e){return function(n){if(De()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:VN(n.level),message:lp(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${lp(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Xr(r,{input:n.args,level:n.level})}}function AP(e){return function(n){if(De()!==e)return;const{startTimestamp:r,endTimestamp:i}=n,s=n.xhr[li];if(!r||!i||!s)return;const{method:o,url:a,status_code:c,body:u}=s,l={method:o,url:a,status_code:c},f={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:i},p={category:"xhr",data:l,type:"http",level:Ny(c)};e.emit("beforeOutgoingRequestBreadcrumb",p,f),Xr(p,f)}}function CP(e){return function(n){if(De()!==e)return;const{startTimestamp:r,endTimestamp:i}=n;if(i&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const s={data:n.error,input:n.args,startTimestamp:r,endTimestamp:i},o={category:"fetch",data:n.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",o,s),Xr(o,s)}else{const s=n.response,o={...n.fetchData,status_code:s?.status},a={input:n.args,response:s,startTimestamp:r,endTimestamp:i},c={category:"fetch",data:o,type:"http",level:Ny(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),Xr(c,a)}}}function kP(e){return function(n){if(De()!==e)return;let r=n.from,i=n.to;const s=qr(Ee.location.href);let o=r?qr(r):void 0;const a=qr(i);o?.path||(o=s),s.protocol===a.protocol&&s.host===a.host&&(i=a.relative),s.protocol===o.protocol&&s.host===o.host&&(r=o.relative),Xr({category:"navigation",data:{from:r,to:i}})}}function OP(e){return!!e&&!!e.target}const NP="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".
28split(","),xP="BrowserApiErrors",DP=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:xP,setupOnce(){t.setTimeout&&Ft(Ee,"setTimeout",ah),t.setInterval&&Ft(Ee,"setInterval",ah),t.requestAnimationFrame&&Ft(Ee,"requestAnimationFrame",LP),t.XMLHttpRequest&&"XMLHttpRequest"in Ee&&Ft(XMLHttpRequest.prototype,"send",MP);const n=t.eventTarget;n&&(Array.isArray(n)?n:NP).forEach(i=>$P(i,t))}}}),PP=DP;function ah(e){return function(...t){const n=t[0];return t[0]=Di(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Kn(e)}`}}),e.apply(this,t)}}function LP(e){return function(t){return e.apply(this,[Di(t,{mechanism:{data:{handler:Kn(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function MP(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&Ft(n,i,function(s){const o={mechanism:{data:{handler:Kn(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${i}`}},a=Zu(s);return a&&(o.mechanism.data.handler=Kn(a)),Di(s,o)})}),e.apply(this,t)}}function $P(e,t){const r=Ee[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(Ft(r,"addEventListener",function(i){return function(s,o,a){try{FP(o)&&(o.handleEvent=Di(o.handleEvent,{mechanism:{data:{handler:Kn(o),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&UP(this,s,o),i.apply(this,[s,Di(o,{mechanism:{data:{handler:Kn(o),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),Ft(r,"removeEventListener",function(i){return function(s,o,a){try{if(Object.prototype.hasOwnProperty.call(o,"__sentry_wrapped__")){const c=o.__sentry_wrapped__;c&&i.call(this,s,c,a)}}catch{}return i.call(this,s,o,a)}}))}function FP(e){return typeof e.handleEvent=="function"}function UP(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const HP=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof Ee.document>"u"){qt&&Q.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}$p({ignoreDuration:!0});let n=!1;_f(()=>{n||(Gc(),n=!0)});const r=ln();let i=r.getUser();r.addScopeListener(s=>{const o=s.getUser();(i?.id!==o?.id||i?.ip_address!==o?.ip_address)&&(i=o,n&&Gc())}),t==="route"&&wf(({from:s,to:o})=>{s!==o&&($p({ignoreDuration:!0}),Gc(),n=!0)})}}},BP="CultureContext",VP=(()=>({name:BP,preprocessEvent(e){const t=ch();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){const t=ch();t&&uy(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})),qP=VP;function ch(){try{const e=Ee.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}const GP="GlobalHandlers",WP=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:GP,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(zP(n),lh("onerror")),t.onunhandledrejection&&(KP(n),lh("onunhandledrejection"))}}}),JP=WP;function zP(e){__(t=>{const{stackParser:n,attachStacktrace:r}=Zy();if(De()!==e||Ly())return;const{msg:i,url:s,line:o,column:a,error:c}=t,u=XP(hf(n,c||i,void 0,r,!1),s,o,a);u.level="error",dy(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function KP(e){y_(t=>{const{stackParser:n,attachStacktrace:r}=Zy();if(De()!==e||Ly())return;const i=YP(t),s=Yr(i)?QP(i):hf(n,i,void 0,r,!0);s.level="error",dy(s,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function YP(e){if(Yr(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function QP(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function XP(e,t,n,r){const i=e.exception=e.exception||{},s=i.values=i.values||[],o=s[0]=s[0]||{},a=o.stacktrace=o.stacktrace||{},c=a.frames=a.frames||[];
28return c.length===0&&c.push({colno:r,lineno:n,filename:ZP(t)??xi(),function:Kr,in_app:!0}),e}function lh(e){qt&&Q.log(`Global Handler attached: ${e}`)}function Zy(){return De()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function ZP(e){if(!(!Un(e)||e.length===0))return e.startsWith("data:")?`<${sn(e,!1)}>`:e}const jP=()=>({name:"HttpContext",preprocessEvent(e){if(!Ee.navigator&&!Ee.location&&!Ee.document)return;const t=Sa(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){const t=e.attributes?.[Wt];if(!Ee.navigator&&!Ee.location&&!Ee.document)return;const n=Sa();uy(e,{[Wi]:t!=="http.client"?n.url:void 0,"http.request.header.user_agent":n.headers["User-Agent"],"http.request.header.referer":n.headers.Referer})}}),eL="cause",tL=5,nL="LinkedErrors",rL=((e={})=>{const t=e.limit||tL,n=e.key||eL;return{name:nL,preprocessEvent(r,i,s){const o=s.getOptions();FN(pf,o.stackParser,n,t,r,i)}}}),iL=rL,sL=/^HTML(\w*)Element$/;function jy(e){if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(rP(e)){const t=oL(e);if(sL.test(t))return`[HTMLElement: ${gt(e)}]`}}function oL(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function aL(){return cL()?(qt&&Zn(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function cL(){if(typeof Ee.window>"u")return!1;const e=Ee;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;const n=xi();return!(Ee===Ee.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}function ev(e){return[ON(),IN(),XN(),PP(),EP(),JP(),iL(),WN(),jP(),qP(),HP()]}function lL(e={}){const t=!e.skipBrowserExtensionCheck&&aL();let n=e.defaultIntegrations==null?ev():e.defaultIntegrations;const r={...e,enabled:t?!1:e.enabled,stackParser:pk(e.stackParser||SP),integrations:LO({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||oP};return E_(jy),mN(Rx,r)}function uL(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function tv(e){try{return new URL(e,Ee.location.origin).href}catch{return}}function fL(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function nv(e){try{return new Headers(e)}catch{return}}const rv={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function dL(e,t){const{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:s,tracePropagationTargets:o,onRequestSpanStart:a,onRequestSpanEnd:c}
28={...rv,...t},u=typeof i=="function"?i:d=>!0,l=d=>hL(d,o),f={},p=e.getOptions().propagateTraceparent;n&&df(d=>{const m=ZN(d,u,l,f,{propagateTraceparent:p,onRequestSpanEnd:c});if(m){const h=tv(d.fetchData.url),_=h?qr(h).host:void 0,w=h?sn(h):void 0;m.setAttributes({[ay]:w,[Wi]:w,"server.address":_}),s&&uh(m,e),a?.(m,{headers:d.headers})}}),r&&Qy(d=>{const m=mL(d,u,l,f,p,c);m&&(s&&uh(m,e),a?.(m,{headers:nv(d.xhr.__sentry_xhr_v3__?.request_headers)}))})}const pL=300;function uh(e,t){const{url:n}=Ce(e).data;if(!n||typeof n!="string")return;let r=()=>{setTimeout(i)};if(Rn(t)){const s=e.end.bind(e);e.end=o=>{const a=o??Ze();let c=!1;const u=()=>{c||(c=!0,setTimeout(i),s(a),clearTimeout(l))};r=u;const l=setTimeout(u,pL)}}const i=Pi("resource",({entries:s})=>{s.forEach(o=>{fL(o)&&o.name.endsWith(n)&&(e.setAttributes(Ky(o)),r())})})}function hL(e,t){const n=xi();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}const s=r.origin===i;return t?Hn(r.toString(),t)||s&&Hn(r.pathname,t):s}else{const r=!!e.match(/^\/(?!\/)/);return t?Hn(e,t):r}}function mL(e,t,n,r,i,s){const o=e.xhr,a=o?.[li];if(!o||o.__sentry_own_request__||!a)return;const{url:c,method:u}=a,l=Mt()&&t(c);if(e.endTimestamp){const y=o.__sentry_xhr_span_id__;if(!y)return;const S=r[y];S&&(l&&a.status_code!==void 0&&(D_(S,a.status_code),S.end(),s?.(S,{headers:nv(nP(o)),error:e.error})),delete r[y]);return}const f=tv(c),p=qr(f||c),d=f?sn(f):void 0,m=sn(yN(c)),h=De(),_=!!Ct(),w=_||!!h&&Rn(h),b=l&&w?En({name:`${u} ${m}`,attributes:{url:sn(c),type:"xhr","http.method":u,"http.url":d,[Wi]:d,"server.address":p?.host,[We]:"auto.http.browser",[Wt]:"http.client",...p?.search&&{"http.query":p?.search},...p?.hash&&{"http.fragment":p?.hash}}}):new Qr,g=iy(b)&&_?void 0:b;return l&&!w&&h?.recordDroppedEvent("no_parent_span","span"),o.__sentry_xhr_span_id__=b.spanContext().spanId,r[o.__sentry_xhr_span_id__]=b,n(c)&&gL(o,Mt()&&w?g:void 0,i),h&&h.emit("beforeOutgoingRequestSpan",b,e),b}function gL(e,t,n){const{"sentry-trace":r,baggage:i,traceparent:s}=Ay({span:t,propagateTraceparent:n});r&&_L(e,r,i,s)}function _L(e,t,n,r){const i=e.__sentry_xhr_v3__?.request_headers;if(!(i?.["sentry-trace"]||!e.setRequestHeader))try{if(e.setRequestHeader("sentry-trace",t),r&&!i?.traceparent&&e.setRequestHeader("traceparent",r),n){const s=i?.baggage;(!s||!uL(s))&&e.setRequestHeader("baggage",n)}}catch{}}const fh=new WeakMap,dh=new WeakMap,yL=9e4,vL=["text/event-stream","application/x-ndjson","application/stream+json"],SL=()=>({name:"FetchStreamPerformance",setup(){cx(e=>{if(e.response){const t=fh.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);const n=dh.get(e.response);n&&clearTimeout(n)}}}),df(e=>{if(e.endTimestamp&&e.response){const t=e.response.headers?.get("content-type")||"";if(e.response.headers?.get("content-length")||!vL.some(c=>t.startsWith(c)))return;const n=e.fetchData?.url||"",r=e.fetchData?.method||"GET",i=ya(n),s=n.startsWith("data:")?sn(n):i?Ry(i):n,o=En({name:`${r} ${s}`,startTime:e.endTimestamp,attributes:{url:sn(n),"http.method":r,type:"fetch",[Wt]:"http.client.stream",[We]:"auto.http.browser.stream"}});fh.set(e.response,o);const a=setTimeout(()=>{o.isRecording()&&o.end()},yL);dh.set(e.response,a)}})}}),iv="WebVitals",bL=(e={})=>{const t=new Set(e.ignore??[]);return{name:iv,setup(n){const r=Rn(n),{enableStandaloneClsSpans:i,enableStandaloneLcpSpans:s}=e._experiments??{},o=r||t.has("cls")?void 0:i||!1,a=r||t.has("lcp")?void 0:s||!1,c=dD({recordClsStandaloneSpans:o,recordLcpStandaloneSpans:a,client:n}),u=new WeakSet;n.on("afterStartPageLoadSpan",l=>{u.add(l)}),n.on("spanEnd",l=>{u.delete(l)&&(c(),bD(l,{recordClsOnPageloadSpan:o===!1,recordLcpOnPageloadSpan:a===!1,spanStreamingEnabled:r}))}),r?(t.has("lcp")||FD(n),t.has("cls")||HD(n),t.has("inp")||VD()):t.has("inp")||DD()},afterAllSetup(){t.has("inp")||$D()}}};function wL(){Ee.document?Ee.document.addEventListener("visibilitychange",()=>{const e=Ct();if(!e)return;const t=mt(e);if(Ee.document.hidden&&t){const n="cancelled",{op:r,status:i}=Ce(t);qt&&Q.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),i||t.setStatus({code:ut,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):qt&&Q.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const EL=3600,sv="sentry_previous_trace",TL="sentry.previous_trace";function RL(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const r=t==="session-storage";let i=r?CL():void 0;e.on("spanStart",o=>{if(mt(o)!==o)return;const a=Ne().getPropagationContext();i=IL(i,o,a),r&&AL(i)});let s=!0;n&&e.on("beforeSampling",o=>{if(!i)return;const a=Ne(),c=a.getPropagationContext();if(s&&c.parentSpanId){s=!1;return}a.setPropagationContext({...c,dsc:{...c.dsc,sample_rate:String(i.sampleRate),sampled:String(lu(i.spanContext))},sampleRand:i.sampleRand}),o.parentSampled=lu(i.spanContext),o.parentSampleRate=i.sampleRate,o.spanAttributes={...o.spanAttributes,[N_]:i.sampleRate}})}function IL(e,t,n){const r=Ce(t);function i(){try{const a=Number(r.data?.[ef]??n.dsc?.sample_rate);return Number.isNaN(a)?0:a}catch{return 0}}const s={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return s;const o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=EL&&(qt&&Q.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[Xk]:"previous_trace"}}),t.setAttribute(TL,`${o.traceId}-${o.spanId}-${lu(o)?1:0}`)),s)}function AL(e){try{Ee.sessionStorage.setItem(sv,JSON.stringify(e))}catch(t){qt&&Q.warn("Could not store previous trace in sessionStorage",t)}}function CL(){try{const e=Ee.sessionStorage?.getItem(sv);return JSON.parse(e)}catch{return}}function lu(e){return e.traceFlags===1}const kL="BrowserTracing",OL=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function NL(){const e=Ee.navigator;return e?.userAgent?OL.test(e.userAgent):!1}const xL={...Bo,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
28dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...rv},ph=((e={})=>{"enableElementTiming"in e&&Zn(()=>{});const t={name:void 0,source:void 0},n=Ee.document,{enableInp:r,enableLongTask:i,enableLongAnimationFrame:s,_experiments:{enableInteractions:o,enableStandaloneClsSpans:a,enableStandaloneLcpSpans:c},beforeStartSpan:u,idleTimeout:l,finalTimeout:f,childSpanTimeout:p,markBackgroundSpan:d,traceFetch:m,traceXHR:h,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:w,enableHTTPTimings:b,ignoreResourceSpans:g,ignorePerformanceApiSpans:y,instrumentPageLoad:S,instrumentNavigation:C,detectRedirects:T,linkPreviousTrace:x,consistentTraceSampling:A,enableReportPageLoaded:L,onRequestSpanStart:$,onRequestSpanEnd:D}={...xL,...e},J=NL();let U,N;function R(I,O,B=!0,V){const F=O.op==="pageload",k=O.name,z=u?u(O):O,se=ya(V||xi()),be={...se?.pathname&&{[dO]:se.pathname},...se&&!ff(se)&&{[Wi]:se.href},...z.attributes};if(k!==z.name&&(be[Ut]="custom"),z.attributes=be,!B){const Z=jr();En({...z,startTime:Z}).end(Z);return}t.name=z.name,t.source=be[Ut];const ye=sy(z,{idleTimeout:l,finalTimeout:f,childSpanTimeout:p,disableAutoFinish:F,beforeSpanEnd:Z=>{SD(Z,{ignoreResourceSpans:g,ignorePerformanceApiSpans:y,spanStreamingEnabled:Rn(I)}),gh(I,void 0);const K=Ne(),X=K.getPropagationContext();K.setPropagationContext({...X,traceId:ye.spanContext().traceId,sampled:jn(ye),dsc:Gi(Z)}),F&&(N=void 0)},trimIdleSpanEndTimestamp:!L});F&&L&&(N=ye),gh(I,ye);function M(){n&&["interactive","complete"].includes(n.readyState)&&(I.emit("idleSpanEnableAutoFinish",ye),n.removeEventListener("readystatechange",M))}F&&!L&&n&&(n.addEventListener("readystatechange",M),M())}return{name:kL,setup(I){if(J){qt&&Q.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if(R1(),s&&Re.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?hD():i&&pD(),o&&mD(),T&&n){const B=()=>{U=Ze()};addEventListener("click",B,{capture:!0}),addEventListener("keydown",B,{capture:!0,passive:!0})}function O(){const B=Fs(I);B&&!Ce(B).timestamp&&(qt&&Q.log(`[Tracing] Finishing current active span with op: ${Ce(B).op}`),B.setAttribute(xs,"cancelled"),B.end())}I.on("startNavigationSpan",(B,V)=>{if(De()!==I)return;if(V?.isRedirect){qt&&Q.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),R(I,{op:"navigation.redirect",...B},!1,V.url);return}U=void 0,O(),ln().setPropagationContext({traceId:Qn(),sampleRand:Math.random(),propagationSpanId:Mt()?void 0:Bn()});const F=Ne();F.setPropagationContext({traceId:Qn(),sampleRand:Math.random(),propagationSpanId:Mt()?void 0:Bn()}),F.setSDKProcessingMetadata({normalizedRequest:void 0}),R(I,{op:"navigation",...B,parentSpan:null,forceTransaction:!0},!0,V?.url)}),I.on("startPageLoadSpan",(B,V={})=>{if(De()!==I)return;O();const F=V.sentryTrace||hh("sentry-trace")||mh("sentry-trace"),k=V.baggage||hh("baggage")||mh("baggage"),z=_1(F,k),se=Ne();se.setPropagationContext(z),Mt()||(se.getPropagationContext().propagationSpanId=Bn()),se.setSDKProcessingMetadata({normalizedRequest:Sa()}),R(I,{op:"pageload",...B})}),I.on("endPageloadSpan",()=>{L&&N&&(N.setAttribute(xs,"reportPageLoaded"),N.end())})},afterAllSetup(I){if(J)return;I.addIntegration&&!I.getIntegrationByName?.(iv)&&I.addIntegration(bL({ignore:r?[]:["inp"],_experiments:{enableStandaloneClsSpans:a,enableStandaloneLcpSpans:c}}));let O=xi();if(x!=="off"&&RL(I,{linkPreviousTrace:x,consistentTraceSampling:A}),Ee.location){if(S){const B=_t();DL(I,{name:Ee.location.pathname,startTime:B?B/1e3:void 0,attributes:{[Ut]:"url",[We]:"auto.pageload.browser"}})}C&&wf(({to:B,from:V})=>{if(V===void 0&&O?.indexOf(B)!==-1){O=void 0;return}O=void 0;const F=ya(B),k=Fs(I),z=k&&T&&LL(k,U);ov(I,{name:F?.pathname||Ee.location.pathname,attributes:{[Ut]:"url",[We]:"auto.navigation.browser"}},{url:B,isRedirect:z})})}d&&wL(),o&&PL(I,l,f,p,t),dL(I,{traceFetch:m,traceXHR:h,tracePropagationTargets:I.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:w,enableHTTPTimings:b,onRequestSpanStart:$,onRequestSpanEnd:D}),_&&I.addIntegration(SL())}}});function DL(e,t,n){e.emit("startPageLoadSpan",t,n),Ne().setTransactionName(t.name);const r=Fs(e);return r&&e.emit("afterStartPageLoadSpan",r),r}function ov(e,t,n){const{url:r,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i,url:r}),e.emit("startNavigationSpan",t,{isRedirect:i,url:r});const s=Ne();return s.setTransactionName(t.name),r&&!i&&s.setSDKProcessingMetadata({normalizedRequest:{...Sa(),url:r}}),Fs(e)}function hh(e){return Ee.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function mh(e){return Ee.performance?.getEntriesByType?.("navigation")[0]?.serverTiming?.find(r=>r.name===e)?.description}function PL(e,t,n,r,i){const s=Ee.document;let o;const a=()=>{const c="ui.action.click",u=Fs(e);if(u){const l=Ce(u).op;
28if(["navigation","pageload"].includes(l)){qt&&Q.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(o&&(o.setAttribute(xs,"interactionInterrupted"),o.end(),o=void 0),!i.name){qt&&Q.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}o=sy({name:i.name,op:c,attributes:{[Ut]:i.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})};s&&addEventListener("click",a,{capture:!0})}const av="_sentry_idleSpan";function Fs(e){return e[av]}function gh(e,t){bt(e,av,t)}const _h=1.5;function LL(e,t){const n=Ce(e),r=jr(),i=n.start_timestamp;return!(r-i>_h||t&&r-t<=_h)}const cv=["activate","mount"],lv=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,ML=/(?:^|[-_])(\w)/g,$L=e=>e.replace(ML,t=>t.toUpperCase()).replace(/[-_]/g,""),FL="<Root>",Zc="<Anonymous>",UL=(e,t)=>e.repeat(t),vs=(e,t)=>{if(!e)return Zc;if(e.$root===e)return FL;if(!e.$options)return Zc;const n=e.$options;let r=n.name||n._componentTag||n.__name;const i=n.__file;if(!r&&i){const s=i.match(/([^/\\]+)\.vue$/);s&&(r=s[1])}return(r?`<${$L(r)}>`:Zc)+(i&&t!==!1?` at ${i}`:"")},HL=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return`
29
30found in
31
32${t.map((i,s)=>`${(s===0?"---> ":UL(" ",5+s*2))+(Array.isArray(i)?`${vs(i[0])}... (${i[1]} recursive calls)`:vs(i))}`).join(`
33`)}`}return`
34
35(found in ${vs(e)})`},BL=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(r,i,s)=>{const o=vs(i,!1),a=i?HL(i):"",c={componentName:o,lifecycleHook:s,trace:a};if(t?.attachProps!==!1&&i&&(i.$options?.propsData?c.propsData=i.$options.propsData:i.$props&&(c.propsData=i.$props)),setTimeout(()=>{cf(r,{captureContext:{contexts:{vue:c}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),typeof n=="function"&&e.config.errorHandler)n.call(e,r,i,s);else throw r}},yh="ui.vue",VL={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function jc(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 qL(e,t){function n(i){return i.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(i=>n(t)===n(i))}const GL=(e={})=>{const t=wN((e.hooks||[]).concat(cv)),n={},r=e.timeout||2e3;for(const i of t){const s=VL[i];if(!s){lv&&Q.warn(`Unknown hook: ${i}`);continue}for(const o of s)n[o]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||En({name:"Application Render",op:`${yh}.render`,attributes:{[We]:"auto.ui.vue"},onlyIfParent:!0}),jc(this,Ze(),r));const c=vs(this,!1);if(!(a||(Array.isArray(e.trackComponents)?qL(e.trackComponents,c):e.trackComponents))){jc(this,Ze(),r);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const l=o===s[0],f=this.$root?.$_sentryRootComponentSpan||Ct();if(l){if(f){const p=this.$_sentryComponentSpans[i];p&&p.end(),this.$_sentryComponentSpans[i]=En({name:`Vue ${c}`,op:`${yh}.${i}`,attributes:{[We]:"auto.ui.vue"},onlyIfParent:!0})}}else{const p=this.$_sentryComponentSpans[i];if(!p)return;p.end(),jc(this,Ze(),r)}}}return n},WL=Re,JL={Vue:WL.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:cv,timeout:2e3,trackComponents:!1}},zL="Vue",KL=(e={})=>({name:zL,setup(t){const n={...JL,...t.getOptions(),...e};if(!n.Vue&&!n.app){Zn(()=>{});return}n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(i=>vh(i,n)):n.Vue&&vh(n.Vue,n)}}),vh=(e,t)=>{lv&&e._instance?.isMounted===!0&&Zn(()=>{}),t.attachErrorHandler&&BL(e,t),Mt(t)&&e.mixin(GL(t.tracingOptions))};function YL(e){return!!(typeof e=="object"&&e&&(e.__isVue||e._isVue))}function QL(e){return!!(typeof e=="object"&&e?.__v_isVNode)}function XL(e){return YL(e)?"[VueViewModel]":QL(e)?"[VueVNode]":jy(e)}function ZL(e={}){const t={defaultIntegrations:[...ev(),KL()],...e};Iy(t,"vue");const n=lL(t);return E_(XL),n}function jL(e,t,n){let r=!1;const i="mode"in e;e.onError(s=>cf(s,{mechanism:{handled:!1}})),e.beforeEach((s,o,...a)=>{const c=r?void 0:eM(),u={};for(const p of Object.keys(s.params))u[`${pO}.${p}`]=s.params[p],u[`${fO}.${p}`]=s.params[p];for(const p of Object.keys(s.query)){const d=s.query[p];d&&(u[`query.${p}`]=d)}let l=s.path,f="url";if(s.name&&t.routeLabel!=="path")l=s.name.toString(),f="custom";else if(s.matched.length>0){const p=s.matched.length-1;l=s.matched[p].path,f="route"}if(f==="route"&&(u[hO]=l),s.name&&(u[uO]=s.name.toString()),Ne().setTransactionName(l),t.instrumentPageLoad&&c&&
35(Ce(c).data[Ut]!=="custom"&&(c.updateName(l),c.setAttribute(Ut,f)),c.setAttributes({...u,[We]:"auto.pageload.vue"}),r=!0),t.instrumentNavigation&&!c&&n({name:l,op:"navigation",attributes:{...u,[We]:"auto.navigation.vue",[Ut]:f}},iP(s.fullPath??s.path)),i){const p=a[0];typeof p=="function"&&p()}})}function eM(){const e=Ct(),t=e&&mt(e);return t&&Ce(t).op==="pageload"?t:void 0}function tM(e={}){if(!e.router)return ph(e);const t=ph({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:i=!0,routeLabel:s="name"}=e;return{...t,afterAllSetup(o){t.afterAllSetup(o),jL(n,{routeLabel:s,instrumentNavigation:r,instrumentPageLoad:i},(c,u)=>{ov(o,c,{url:u})})}}}const nM=tt(e=>{const t=Xe(),{public:{sentry:n}}=tn();!n.dsn||!n.enabled||ZL({app:e.vueApp,dsn:n.dsn,environment:n.environment,integrations:[tM({router:t})],tracesSampleRate:.2})});class rM extends Map{#r=0;#e=new Map;#t=new Map;#i;#o;#s;constructor(t={}){if(super(),!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof t.maxAge=="number"&&t.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.#i=t.maxSize,this.#o=t.maxAge||Number.POSITIVE_INFINITY,this.#s=t.onEviction}get __oldCache(){return this.#t}#a(t){if(typeof this.#s=="function")for(const[n,r]of t)this.#s(n,r.value)}#n(t,n){return typeof n.expiry=="number"&&n.expiry<=Date.now()?(typeof this.#s=="function"&&this.#s(t,n.value),this.delete(t)):!1}#d(t,n){if(this.#n(t,n)===!1)return n.value}#c(t,n){return n.expiry?this.#d(t,n):n.value}#l(t,n){const r=n.get(t);return this.#c(t,r)}#u(t,n){this.#e.set(t,n),this.#r++,this.#r>=this.#i&&(this.#r=0,this.#a(this.#t),this.#t=this.#e,this.#e=new Map)}#p(t,n){this.#t.delete(t),this.#u(t,n)}*#f(){for(const t of this.#t){const[n,r]=t;this.#e.has(n)||this.#n(n,r)===!1&&(yield t)}for(const t of this.#e){const[n,r]=t;this.#n(n,r)===!1&&(yield t)}}get(t){if(this.#e.has(t)){const n=this.#e.get(t);return this.#c(t,n)}if(this.#t.has(t)){const n=this.#t.get(t);if(this.#n(t,n)===!1)return this.#p(t,n),n.value}}set(t,n,{maxAge:r=this.#o}={}){const i=typeof r=="number"&&r!==Number.POSITIVE_INFINITY?Date.now()+r:void 0;return this.#e.has(t)?this.#e.set(t,{value:n,expiry:i}):this.#u(t,{value:n,expiry:i}),this}has(t){return this.#e.has(t)?!this.#n(t,this.#e.get(t)):this.#t.has(t)?!this.#n(t,this.#t.get(t)):!1}peek(t){if(this.#e.has(t))return this.#l(t,this.#e);if(this.#t.has(t))return this.#l(t,this.#t)}delete(t){const n=this.#e.delete(t);return n&&this.#r--,this.#t.delete(t)||n}clear(){this.#e.clear(),this.#t.clear(),this.#r=0}resize(t){if(!(t&&t>0))throw new TypeError("`maxSize` must be a number greater than 0");const n=[...this.#f()],r=n.length-t;r<0?(this.#e=new Map(n),this.#t=new Map,this.#r=n.length):(r>0&&this.#a(n.slice(0,r)),this.#t=new Map(n.slice(r)),this.#e=new Map,this.#r=0),this.#i=t}*keys(){for(const[t]of this)yield t}*values(){for(const[,t]of this)yield t}*[Symbol.iterator](){for(const t of this.#e){const[n,r]=t;this.#n(n,r)===!1&&(yield[n,r.value])}for(const t of this.#t){const[n,r]=t;this.#e.has(n)||this.#n(n,r)===!1&&(yield[n,r.value])}}*entriesDescending(){let t=[...this.#e];for(let n=t.length-1;n>=0;--n){const r=t[n],[i,s]=r;this.#n(i,s)===!1&&(yield[i,s.value])}t=[...this.#t];for(let n=t.length-1;n>=0;--n){const r=t[n],[i,s]=r;this.#e.has(i)||this.#n(i,s)===!1&&(yield[i,s.value])}}*entriesAscending(){for(const[t,n]of this.#f())yield[t,n.value]}get size(){if(!this.#r)return this.#t.size;let t=0;for(const n of this.#t.keys())this.#e.has(n)||t++;return Math.min(this.#r+t,this.#i)}get maxSize(){return this.#i}entries(){return this.entriesAscending()}forEach(t,n=this){for(const[r,i]of this.entriesAscending())t.call(n,i,r,this)}get[Symbol.toStringTag](){return"QuickLRU"}toString(){return`QuickLRU(${this.size}/${this.maxSize})`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}const iM=tt(e=>{const t=Dn().kijidas;let n;return t?.maxCacheSize&&(n=new rM({maxSize:t.maxCacheSize})),{provide:{getSimpleCache(r){return n?n.get(r):null},setSimpleCache(r,i){n.set(r,i,{maxAge:t.listDefault.cacheTtl})}}}}),sM=tt(e=>
35({provide:{addComma(t){return t.toLocaleString()},setGuideImagesNumber(t){const n=qs(),r=document.querySelectorAll("img");t.imagesNumber=r.length,r.forEach(i=>{i.addEventListener("load",()=>{if(t.loadedImagesNumber++,t.loadedImagesNumber!==t.imagesNumber)return;const s=n.hash;if(!(s&&s.match(/^#.+$/)))return;document.querySelector(s).scrollIntoView({behavior:"smooth"})})})},waitTime(t){return new Promise(n=>setTimeout(n,t))}}})),oM=tt(e=>{c_.unshift((t,n)=>{const r=da();r.setIsRouteMove(t!==n),r.setLastFullPath(t.fullPath),r.setIsUseScrollRestore(!1)}),e.hook("page:finish",t=>{const n=da();n.isAnchorLink?n.isAnchorLink=!1:n.isUseScrollRestore&&n.isRouteMove?Xt(()=>{const r=n.scrollRestorePositionY;scrollTo(0,r)}):Xt(()=>{scrollTo(0,0)}),Xt(()=>{setTimeout(()=>{e.$pushGtmMountedTrigger()},100)})})});var Jo={exports:{}};var aM=Jo.exports,Sh;function cM(){return Sh||(Sh=1,(function(e,t){(function(n,r){e.exports=r()})(aM,(function(){function n(F){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(k){return typeof k}:n=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},n(F)}function r(){return r=Object.assign||function(F){for(var k=1;k<arguments.length;k++){var z=arguments[k];for(var se in z)Object.prototype.hasOwnProperty.call(z,se)&&(F[se]=z[se])}return F},r.apply(this,arguments)}var i=4,s=.001,o=1e-7,a=10,c=11,u=1/(c-1),l=typeof Float32Array=="function";function f(F,k){return 1-3*k+3*F}function p(F,k){return 3*k-6*F}function d(F){return 3*F}function m(F,k,z){return((f(k,z)*F+p(k,z))*F+d(k))*F}function h(F,k,z){return 3*f(k,z)*F*F+2*p(k,z)*F+d(k)}function _(F,k,z,se,be){var ye,M,Z=0;do M=k+(z-k)/2,ye=m(M,se,be)-F,ye>0?z=M:k=M;while(Math.abs(ye)>o&&++Z<a);return M}function w(F,k,z,se){for(var be=0;be<i;++be){var ye=h(k,z,se);if(ye===0)return k;var M=m(k,z,se)-F;k-=M/ye}return k}function b(F){return F}var g=function(k,z,se,be){if(!(0<=k&&k<=1&&0<=se&&se<=1))throw new Error("bezier x values must be in [0, 1] range");if(k===z&&se===be)return b;for(var ye=l?new Float32Array(c):new Array(c),M=0;M<c;++M)ye[M]=m(M*u,k,se);function Z(K){for(var X=0,oe=1,Ie=c-1;oe!==Ie&&ye[oe]<=K;++oe)X+=u;--oe;var v=(K-ye[oe])/(ye[oe+1]-ye[oe]),E=X+v*u,P=h(E,k,se);return P>=s?w(K,E,k,se):P===0?E:_(K,X,X+u,k,se)}return function(X){return X===0?0:X===1?1:m(Z(X),z,be)}},y={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},S=!1;try{var C=Object.defineProperty({},"passive",{get:function(){S=!0}});window.addEventListener("test",null,C)}catch{}var T={$:function(k){return typeof k!="string"?k:document.querySelector(k)},on:function(k,z,se){var be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};z instanceof Array||(z=[z]);for(var ye=0;ye<z.length;ye++)k.addEventListener(z[ye],se,S?be:!1)},off:function(k,z,se){z instanceof Array||(z=[z]);for(var be=0;be<z.length;be++)k.removeEventListener(z[be],se)},cumulativeOffset:function(k){var z=0,se=0;do z+=k.offsetTop||0,se+=k.offsetLeft||0,k=k.offsetParent;while(k);return{top:z,left:se}}},x=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],A={container:"body",duration:500,lazy:!0,easing:"ease",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0};function L(F){A=r({},A,F)}var $=function(){var k,z,se,be,ye,M,Z,K,X,oe,Ie,v,E,P,G,H,q,ee,j,Y,W,fe,ne,ce=function(nt){K&&(ne=nt,Y=!0)},he,Te,Oe,Ae;function Ye(Me){var nt=Me.scrollTop;return Me.tagName.toLowerCase()==="body"&&(nt=nt||document.documentElement.scrollTop),nt}function je(Me){var nt=Me.scrollLeft;return Me.tagName.toLowerCase()==="body"&&(nt=nt||document.documentElement.scrollLeft),nt}function kt(){W=T.cumulativeOffset(z),fe=T.cumulativeOffset(k),v&&(G=fe.left-W.left+M,ee=G-P),E&&(q=fe.top-W.top+M,j=q-H)}function yt(Me){if(Y)return tr();Te||(Te=Me),ye||kt(),Oe=Me-Te,Ae=Math.min(Oe/se,1),Ae=he(Ae),Yi(z,H+j*Ae,P+ee*Ae),Oe<se?window.requestAnimationFrame(yt):tr()}function tr(){Y||Yi(z,q,G),Te=!1,T.off(z,x,ce),Y&&Ie&&Ie(ne,k),!Y&&oe&&oe(k)}function Yi(Me,nt,$e){E&&(Me.scrollTop=nt),v&&(Me.scrollLeft=$e),Me.tagName.toLowerCase()==="body"&&(E&&(document.documentElement.scrollTop=nt),v&&(document.documentElement.scrollLeft=$e))}function wt(Me,nt){var $e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n(nt)==="object"?$e=nt:typeof nt=="number"&&($e.duration=nt),k=T.$(Me),!k)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+Me);
35if(z=T.$($e.container||A.container),se=$e.hasOwnProperty("duration")?$e.duration:A.duration,ye=$e.hasOwnProperty("lazy")?$e.lazy:A.lazy,be=$e.easing||A.easing,M=$e.hasOwnProperty("offset")?$e.offset:A.offset,Z=$e.hasOwnProperty("force")?$e.force!==!1:A.force,K=$e.hasOwnProperty("cancelable")?$e.cancelable!==!1:A.cancelable,X=$e.onStart||A.onStart,oe=$e.onDone||A.onDone,Ie=$e.onCancel||A.onCancel,v=$e.x===void 0?A.x:$e.x,E=$e.y===void 0?A.y:$e.y,typeof M=="function"&&(M=M(k,z)),P=je(z),H=Ye(z),kt(),Y=!1,!Z){var Sv=z.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:z.offsetHeight,Ef=H,bv=Ef+Sv,Tf=q-M,wv=Tf+k.offsetHeight;if(Tf>=Ef&&wv<=bv){oe&&oe(k);return}}if(X&&X(k),!j&&!ee){oe&&oe(k);return}return typeof be=="string"&&(be=y[be]||y.ease),he=g.apply(g,be),T.on(z,x,ce,{passive:!0}),window.requestAnimationFrame(yt),function(){ne=null,Y=!0}}return wt},D=$(),J=[];function U(F){for(var k=0;k<J.length;++k)if(J[k].el===F)return J.splice(k,1),!0;return!1}function N(F){for(var k=0;k<J.length;++k)if(J[k].el===F)return J[k]}function R(F){var k=N(F);return k||(J.push(k={el:F,binding:{}}),k)}function I(F){var k=R(this).binding;if(k.value){if(F.preventDefault(),typeof k.value=="string")return D(k.value);D(k.value.el||k.value.element,k.value)}}var O={bind:function(k,z){R(k).binding=z,T.on(k,"click",I)},unbind:function(k){U(k),T.off(k,"click",I)},update:function(k,z){R(k).binding=z}},B={bind:O.bind,unbind:O.unbind,update:O.update,beforeMount:O.bind,unmounted:O.unbind,updated:O.update,scrollTo:D,bindings:J},V=function(k,z){z&&L(z),k.directive("scroll-to",B);var se=k.config.globalProperties||k.prototype;se.$scrollTo=B.scrollTo};return typeof window<"u"&&window.Vue&&(window.VueScrollTo=B,window.VueScrollTo.setDefaults=L,window.VueScrollTo.scroller=$,window.Vue.use&&window.Vue.use(V)),B.install=V,B}))})(Jo)),Jo.exports}var lM=cM();const uM=Ui(lM),fM=tt(e=>{const t={duration:700};e.vueApp.use(uM,t)});function dM(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(l){try{u(r.next(l))}catch(f){o(f)}}function c(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?s(l.value):i(l.value).then(a,c)}u((r=r.apply(e,[])).next())})}function pM(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var el,bh;function hM(){return bh||(bh=1,el=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,i,s;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),r=s.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[i]))return!1;for(i=r;i--!==0;){var o=s[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}),el}var mM=hM(),gM=pM(mM);const wh="__googleMapsScriptId";var ui;(function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"})(ui||(ui={}));class Pr{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:i,id:s=wh,language:o,libraries:a=[],mapIds:c,nonce:u,region:l,retries:f=3,url:p="https://maps.googleapis.com/maps/api/js",version:d}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=i,this.id=s||wh,this.language=o,this.libraries=a,this.mapIds=c,this.nonce=u,this.region=l,this.retries=f,this.url=p,this.version=d,Pr.instance){if(!gM(this.options,Pr.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Pr.instance.options)}`);return Pr.instance}Pr.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?ui.FAILURE:this.done?ui.SUCCESS:this.loading?ui.LOADING:ui.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(r=>{r?n(r.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(s=>!r[s]&&delete r[s]),!((n=(t=window?.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(s=>{let o,a,c,u="The Google Maps JavaScript API",l="google",f="importLibrary",p="__ib__",d=document,m=window;m=m[l]||(m[l]={});const h=m.maps||(m.maps={}),_=new Set,w=new URLSearchParams,b=()=>o||(o=new Promise((g,y)=>dM(this,void 0,void 0,function*(){var S;yield a=d.createElement("script"),a.id=this.id,w.set("libraries",[..._]+"");for(c in s)w.set(c.replace(/[A-Z]/g,C=>"_"+C[0].toLowerCase()),s[c]);w.set("callback",l+".maps."+p),a.src=this.url+"?"+w,h[p]=g,a.onerror=()=>o=y(Error(u+" could not load.")),a.nonce=this.nonce||((S=d.querySelector("script[n
35once]"))===null||S===void 0?void 0:S.nonce)||"",d.head.append(a)})));h[f]?u+"":h[f]=(g,...y)=>_.add(g)&&b().then(()=>h[f](g,...y))})(r);const i=this.libraries.map(s=>this.importLibrary(s));i.length||i.push(this.importLibrary("core")),Promise.all(i).then(()=>this.callback(),s=>{const o=new ErrorEvent("error",{error:s});this.loadErrorCallback(o)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){this.callback();return}this.loading=!0,this.setScript()}}}const _M=tt(e=>({provide:{googlemap:new Pr({apiKey:"AIzaSyDvTKalDIrjmSQS7sKviZMzsBrKirz963g",version:"weekly",libraries:["places","drawing","geometry","visualization"],language:"ja"})}})),Kt={addEventListeners(e,t,n){for(let r=0,i=t.length;r<i;r++)e.addEventListener(t[r],n,{passive:!1})},removeEventListeners(e,t,n){for(let r=0,i=t.length;r<i;r++)e.removeEventListener(t[r],n,{passive:!1})},emitEvent:function(e,t,n){if(e.componentInstance)e.componentInstance.$emit(t,n);else{let r=new window.CustomEvent(t,{detail:n});e.el.dispatchEvent(r)}}},uu=["mousedown","touchstart"],fu=["mousemove","touchmove"],du=["mouseup","touchend"],Eh=function(e,t,n){let r=e,i=!0,s=window;typeof t.value=="boolean"?i=t.value:typeof t.value=="object"?(typeof t.value.target=="string"?(r=e.querySelector(t.value.target),r||console.error("There is no element with the current target value.")):typeof t.value.target<"u"&&console.error(`The parameter "target" should be either 'undefined' or 'string'.`),typeof t.value.container=="string"?(s=document.querySelector(t.value.container),s||console.error("There is no element with the current container value.")):typeof t.value.container<"u"&&console.error(`The parameter "container" should be be either 'undefined' or 'string'.`),typeof t.value.active=="boolean"?i=t.value.active:typeof t.value.active<"u"&&console.error(`The parameter "active" value should be either 'undefined', 'true' or 'false'.`)):typeof t.value<"u"&&console.error("The passed value should be either 'undefined', 'true' or 'false' or 'object'.");const o=function(c,u){s===window?window.scrollBy(c,u):(s.scrollLeft+=c,s.scrollTop+=u)},a=function(){let c,u,l,f=!1;r.md=function(p){const d=p instanceof window.MouseEvent,m=d?p.pageX:p.touches[0].pageX,h=d?p.pageY:p.touches[0].pageY,_=document.elementFromPoint(m-window.pageXOffset,h-window.pageYOffset),w=t.arg==="nochilddrag",b=t.modifiers.noleft,g=t.modifiers.noright,y=t.modifiers.nomiddle,S=t.modifiers.noback,C=t.modifiers.noforward,T=t.arg==="firstchilddrag",x=_===r,A=_===r.firstChild,L=w?typeof _?.dataset.dragscroll<"u":typeof _?.dataset.noDragscroll>"u";if(!(!x&&(!L||T&&!A))&&!(p.button===0&&b)){if(p.button===1&&y||p.button===2&&g||p.button===3&&S||p.button===4&&C)return;l=1,c=d?p.clientX:p.touches[0].clientX,u=d?p.clientY:p.touches[0].clientY}},r.mu=function(p){l=0,f&&Kt.emitEvent(n,"dragscrollend"),f=!1},r.mm=function(p){const d=p instanceof window.MouseEvent;let m,h;if(l){p.preventDefault(),f||Kt.emitEvent(n,"dragscrollstart"),f=!0;const _=r.scrollLeft+r.clientWidth>=r.scrollWidth||r.scrollLeft===0,w=r.scrollTop+r.clientHeight>=r.scrollHeight||r.scrollTop===0;m=-c+(c=d?p.clientX:p.touches[0].clientX),h=-u+(u=d?p.clientY:p.touches[0].clientY),t.modifiers.pass?(r.scrollLeft-=t.modifiers.y?-0:m,r.scrollTop-=t.modifiers.x?-0:h,r===document.body&&(r.scrollLeft-=t.modifiers.y?-0:m,r.scrollTop-=t.modifiers.x?-0:h),(_||t.modifiers.y)&&o(-m,0),(w||t.modifiers.x)&&o(0,-h)):(t.modifiers.x&&(h=-0),t.modifiers.y&&(m=-0),r.scrollLeft-=m,r.scrollTop-=h,r===document.body&&(r.scrollLeft-=m,r.scrollTop-=h)),Kt.emitEvent(n,"dragscrollmove",{deltaX:-m,deltaY:-h})}},Kt.addEventListeners(r,uu,r.md),Kt.addEventListeners(window,du,r.mu),Kt.addEventListeners(window,fu,r.mm)};i?document.readyState==="complete"?a():window.addEventListener("load",a):(Kt.removeEventListeners(r,uu,r.md),Kt.removeEventListeners(window,du,r.mu),Kt.removeEventListeners(window,fu,r.mm))},yM=e=>{const t=e;Kt.removeEventListeners(t,uu,t.md),Kt.removeEventListeners(window,du,t.mu),Kt.removeEventListeners(window,fu,t.mm)},uv={mounted:(e,t,n)=>Eh(e,t,n),updated:(e,t,n)=>
35{JSON.stringify(t.value)!==JSON.stringify(t.oldValue)&&Eh(e,t,n)},unmounted:e=>yM(e)},vM={install(e){e.directive("dragscroll",uv)}};typeof window<"u"&&window.Vue&&(window.VueDragscroll=uv);const SM=tt(e=>{e.vueApp.use(vM)}),bM=[WE,zE,ZE,zR,KR,YR,QR,XR,ZR,jR,SI,ZC,jC,sk,nM,iM,sM,oM,fM,_M,SM];function Th(e){return typeof e=="function"?e():re(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Rh=()=>{};function wM(e,t){function n(...r){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(s)})}return n}function EM(e,t={}){let n,r,i=Rh;const s=a=>{clearTimeout(a),i(),i=Rh};return a=>{const c=Th(e),u=Th(t.maxWait);return n&&s(n),c<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((l,f)=>{i=t.rejectOnCancel?f:l,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,l(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,l(a())},c)})}}function TM(e,t=200,n={}){return wM(EM(t,n),e)}function RM(e,t=200,n={}){const r=de(e.value),i=TM(()=>{r.value=e.value},t,n);return hr(e,()=>i()),r}const IM=Tn("APGLoading",()=>{const e=de(0),t=de(!1);let n=de(!1);n=RM(t,1);const r=()=>{e.value+=1,t.value=!0},i=()=>{e.value=Math.max(0,e.value-1),e.value===0&&(t.value=!1)};return{isLoading:n,start:()=>{n.value=!0,r()},lazyStart:()=>{r()},finish:()=>{n.value=!1,i()},lazyFinish:()=>{i()}}}),AM={key:0,class:"c-loading"},CM=et({__name:"APGLoading.client",setup(e){const t=IM();Xe().onError(()=>{t.lazyFinish()});const r=ue();return r.hook("page:start",t.lazyStart),r.hook("page:finish",t.lazyFinish),r.hook("vue:error",t.lazyFinish),r.hook("app:error",t.lazyFinish),(i,s)=>re(t).isLoading?(ie(),_e("div",AM,[...s[0]||(s[0]=[te("div",{class:"c-loading_indicater"},null,-1)])])):ze("",!0)}}),un=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},kM=un(CM,[["__scopeId","data-v-3554f9de"]]),fv=(e="RouteProvider")=>et({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,i={};for(const s in t.route)Object.defineProperty(i,s,{get:()=>n===t.renderKey?t.route[s]:r[s],enumerable:!0});return Mn(Jr,mn(i)),()=>t.vnode?Ke(t.vnode,{ref:t.vnodeRef}):t.vnode}}),OM=fv(),Ih=new WeakMap,NM=et({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const i=ue(),s=de(),o=dt(Jr,null);let a;r({pageRef:s});const c=dt(yg,null);let u;const l=i.deferHydration();let f=!1,p=!1,d=0;if(i.isHydrating){const h=i.hooks.hookOnce("app:error",l),_=Xe().beforeEach(()=>{h(),_()})}
35e.pageKey&&hr(()=>e.pageKey,(h,_)=>{h!==_&&i.callHook("page:loading:start")});let m=!1;{const h=Xe().beforeResolve(()=>{m=!1});$i(()=>{h(),l()})}return()=>Ke(Xg,{name:e.name,route:e.route,...t},{default:h=>{const _=xM(o,h.route,h.Component),w=o&&o.matched.length===h.route.matched.length;if(!h.Component){if(u&&!w&&!tl(u))return u;l();return}if(u&&c&&!tl(u)&&!c.isCurrent(h.route))return u;if(_&&o&&(!c||c?.isCurrent(o)))return(w||u)&&!tl(u)?u:null;const b=Ll(h,e.pageKey),g=DM(o,h.route,h.Component);!i.isHydrating&&a===b&&!g&&Xt(()=>{m||(m=!0,i.callHook("page:loading:end"))}),f&&a!==b&&p&&d++,a=b;const y=!!(e.transition??h.route.meta.pageTransition??dd),S=y&&n_([e.transition,h.route.meta.pageTransition,dd,{onAfterLeave(){i["~transitionFinish"]?.(),delete i["~transitionFinish"],delete i["~transitionPromise"],i.callHook("page:transition:finish",h.Component)}}]),C=e.keepalive??h.route.meta.keepalive??gw;return u=e_(y&&S,cR(C,Ke(Du,{key:d,suspensible:!0,onPending:()=>{f=!0,y&&!i["~transitionPromise"]&&(i["~transitionPromise"]=new Promise(T=>{i["~transitionFinish"]=T})),i.callHook("page:start",h.Component)}
35,onResolve:async()=>{f=!1,p=!0;try{await Xt(),i._route.sync?.(),await i.callHook("page:finish",h.Component),!m&&!g&&(m=!0,await i.callHook("page:loading:end"))}finally{l()}}},{default:()=>{const T={key:b||void 0,vnode:n.default?PM(n.default,h):h.Component,route:h.route,renderKey:b||void 0,trackRootNodes:y,vnodeRef:s};if(!C)return Ke(OM,T);const x=h.Component.type,A=x;let L=Ih.get(A);return L||(L=fv(x.name||x.__name),Ih.set(A,L)),Ke(L,T)}}))).default(),u}})}});function xM(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);if(r===-1)return!1;const i=t.matched.slice(0,r).filter(o=>o.components?.default);if(!i.length)return!1;const s=e.matched.filter(o=>o.components?.default);return i.some((o,a)=>o.components?.default!==s[a]?.components?.default)||n&&Ll({route:t,Component:n})!==Ll({route:e,Component:n})}function DM(e,t,n){return e?t.matched.findIndex(i=>i.components?.default===n?.type)<t.matched.length-1:!1}function PM(e,t){const n=e(t);return n.length===1?Ke(n[0]):Ke(Je,void 0,n)}function tl(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}const dv=Lg,LM=et({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Ke(dr[e.name],e.layoutProps,t.slots)}}),MM={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},$M=et({name:"NuxtLayout",inheritAttrs:!1,props:MM,setup(e,t){const n=ue(),r=dt(Jr),s=!r||r===qs()?Zg():r,o=we(()=>{let l=re(e.name)??s?.meta.layout??dv(s?.path).appLayout??"default";return l&&!(l in dr)&&e.fallback&&(l=re(e.fallback)),l}),a=zn();t.expose({layoutRef:a});const c=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",c),f=Xe().beforeEach(()=>{l(),f()})}let u;return()=>{const f=!!o.value&&o.value in dr&&!!(s?.meta.layoutTransition??pd),p=f&&n_([s?.meta.layoutTransition,pd,{onBeforeLeave(){n["~transitionPromise"]=new Promise(m=>{n["~transitionFinish"]=m})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),d=u;return u=o.value,e_(p,{default:()=>Ke(Du,{suspensible:!0,onResolve:async()=>{await Xt(c)}},{default:()=>Ke(FM,{layoutProps:Gm(t.attrs,s.meta.layoutProps??{},{ref:a}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,isRenderingNewLayout:m=>m!==d&&m===o.value,hasTransition:f},t.slots)})}).default()}}}),FM=et({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Mn(yg,{isCurrent:s=>n===!1||n===(s.meta.layout??dv(s.path).appLayout??"default")});const r=dt(Jr);if(r&&r===qs()){const s=Zg(),o={};for(const a in s){const c=a;Object.defineProperty(o,c,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?s[c]:r[c]})}Mn(Jr,mn(o))}return()=>!n||typeof n=="string"&&!(n in dr)?t.slots.default?.():Ke(LM,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),UM=CR(kM),HM={};function BM(e,t){const n=UM,r=NM,i=$M;return ie(),_e("div",null,[pe(n),pe(i,null,{default:ft(()=>[pe(r,{"page-key":s=>s.fullPath},null,8,["page-key"])]),_:1})])}const VM=un(HM,[["render",BM]]),qM={class:"icon-nav__text"},GM=["href"],WM={class:"icon-nav__text"},JM={class:"icon-nav__text"},zM=et({__name:"IconNav",props:{link:{default:""},sign:{},text:{default:""},place:{default:""}},setup(e){const t=e,n=we(()=>({"icon-nav-header":t.place==="header"})),r=i=>!/^https?:\/\//.test(i);return(i,s)=>{const o=Ws;return e.link&&r(e.link)?(ie(),ct(o,{key:0,class:Ve(["icon-nav",re(n)]),to:e.link},{default:ft(()=>[te("span",{class:Ve(["icon-nav__icon",`icon-${e.sign}`])},[...s[0]||(s[0]=[te("span",null,null,-1)])],2),te("span",qM,[hc(i.$slots,"taggedText",{},void 0,!0),i.$slots.taggedText?ze("",!0):(ie(),_e(Je,{key:0},[St(Ht(e.text),1)],64))])]),_:3},8,["to","class"])):e.link&&!r(e.link)?(ie(),_e("a",{key:1,class:Ve(["icon-nav",re(n)]),href:e.link},[te("span",{class:Ve(["icon-nav__icon",`icon-${e.sign}`])},[...s[1]||(s[1]=[te("span",null,null,-1)])],2),te("span",WM,[hc(i.$slots,"taggedText",{},void 0,!0),i.$slots.taggedText?ze("",!0):(ie(),_e(Je,{key:0},[St(Ht(e.text),1)],64))])],10,GM)):(ie(),_e("button",{key:2,class:Ve(["icon-nav",re(n)])},[te("span",{class:Ve(["icon-nav__icon",`icon-${e.sign}`])},[...s[2]||(s[2]=[te("span",null,null,-1)])],2),te("span",JM,[hc(i.$slots,"taggedText",{},void 0,!0),i.$slots.taggedText?ze("",!0):(ie(),_e(Je,{key:0},[St(Ht(e.text),1)],64))])],2))}}}
35),pv=un(zM,[["__scopeId","data-v-aa53ccfc"]]),KM=["href"],YM={key:0},QM={key:0},XM=et({__name:"ButtonBuyTicket",props:{shape:{default:"default"},futureShopUrl:{}},setup(e){const t=e,n=we(()=>({short:r})),r=t.shape==="short";return(i,s)=>{const o=vm("scroll-to");return e.futureShopUrl&&e.futureShopUrl!==""?(ie(),_e("a",{key:0,class:Ve(["button-buy-ticket",re(n)]),href:e.futureShopUrl,target:"_blank"},[s[1]||(s[1]=St(" チケット",-1)),r?(ie(),_e("br",YM)):ze("",!0),s[2]||(s[2]=St("購入 ",-1))],10,KM)):om((ie(),_e("span",{key:1,class:Ve(["button-buy-ticket",re(n)]),onClick:s[0]||(s[0]=ob(()=>{},["stop"]))},[s[3]||(s[3]=St(" チケット",-1)),r?(ie(),_e("br",QM)):ze("",!0),s[4]||(s[4]=St("購入 ",-1))],2)),[[o,"#buyTicket"]])}}}),hv=un(XM,[["__scopeId","data-v-a5f6f439"]]),Ss=Tn("kjdsUtility",()=>{const e=p=>{const d=Oo();if(d.master){for(let m=0;m<d.master.length;m++)if(d.master[m].masterHeaderSlug===p)return d.master[m].details.sort((h,_)=>h.rank-_.rank),d.master[m]}return null},t=(p,d,m="・",h="")=>{let _="";if(d){const w=e(p);if(w){const b=d.split(",");for(let g=0;g<b.length;g++)for(let y=0;y<w.details.length;y++)if(w.details[y].value===b[g]&&w.details[y].value!==h){_.length>0&&(_+=m),_+=w.details[y].name;break}}}return _},n=(p,d,m="・")=>{let h="";const _=e(p);if(_){const w=d.split(",");for(let b=0;b<w.length;b++)for(let g=0;g<_.details.length;g++)if(_.details[g].name===w[b]){h.length>0&&(h+=m),h+=_.details[g].value;break}}return h},r=p=>{const d=[];if(p.tags){const m=p.tags;if(m)for(let h=0;h<m.length;h++)m[h].isOfficial===1&&d.push(m[h])}return d},i=(p,d)=>{const m=r(p);for(let h=0;h<m.length;h++)if(m[h].tagSlug===d)return m[h];return null},s=(p,d)=>{const m=[];for(let h=0;h<p.relations.length;h++)p.relations[h].article.articleTypeSlug===d&&m.push(p.relations[h].article);return m},o=(p,d)=>{const m=Object.keys(p),h=Object.values(p);if(m.length>0&&h.length>0){const _=m.indexOf(d);if(_!==-1)return h[_]}return null},a=(p,d=null,m=!0,h=null)=>{const w=Oo().getImgInfoByEyeCatch(p,d);return w?w.url:m?u(h):null},c=(p,d,m=null,h=null)=>{const w=Oo().getImgInfoByID(p,d,m);return w?w.url:u(h)},u=p=>p==="l"?"/images/noimage-l.svg":p==="m"?"/images/noimage-m.svg":p==="s"?"/images/noimage-s.svg":"/images/noimage-l.svg";return{getMaster:e,getMasterNameByValue:t,getMasterValueByName:n,getTags:r,getTagsByTagSlug:i,getRelations:s,getQuery:o,getImgInfoUrlByEyeCatch:a,getImgInfoUrlByID:c,getNoImage:u,combDetailRess:p=>{const d={articles:[],articleObjects:[]};for(let m=0;m<p.length;m++){const h=p[m].data.data.article,_=p[m].data.data.articleObjects;d.articles.push(h);for(let w=0;w<_.length;w++){let b=!1;for(let g=0;g<d.articleObjects.length;g++)if(d.articleObjects[g].id===_[w].id){b=!0;break}b||d.articleObjects.push(_[w])}}return d},getFilenameByUrl:p=>{const d=p.split("/");return d[d.length-1]}}}),ZM=Tn("googlemapUtility",()=>({getAddress:async()=>{const t=await new Promise(o=>{navigator.geolocation.getCurrentPosition(a=>{o(a)},()=>{o(null)})});if(t===null)return null;const{$googlemap:n}=ue();let r=null;if(await n.load().then(o=>{r=o}),!r)return null;const i=new r.maps.Geocoder;if(!i)return null;const s=await new Promise((o,a)=>{i.geocode({address:null,latLng:new r.maps.LatLng(t.coords.latitude,t.coords.longitude)},(c,u)=>{const l=[];if(u===r.maps.GeocoderStatus.OK){for(const f in c)c[f].geometry&&l.push(c[f].formatted_address);o(l)}else a(l)})});return s.length===0?null:s}})),mv=Tn("areaSelect",()=>{const e=de("prefecture_id"),t=de("municipalities_name"),n=de("neighbor_prefectures"),r=de("prefecture"),i=de("prefecture_mini"),s=de("municipalities"),o="13",a="その他",c=de(!1),u=de(!1),l=de(""),f=de(""),p=de(""),d=de(""),m=de(""),h=de([]),_=de(0),w=de(!1),b=async N=>{const R=tn().public.apiUrl+"/scrap/prefecture_neighbor/"+N;let I=null;try{I=await fetch(R)}catch{}if(I){const O=await I.json();localStorage.setItem(n.value,JSON.stringify(O.data))}},g=async()=>{const N=Ss(),I=await ZM().getAddress();if(I&&I.length>0){const O=N.getMaster(r.value);if(O){for(let B=0;B<O.details.length;B++)for(let V=0;V<I.length;V++)if(I[V].includes(O.details[B].name)){if(localStorage.setItem(e.value,O.details[B].value),b(O.details[B].value),O.details[B].value===o){const F=N.getMaster(s.value);if(F){let k=-1;for(let z=0;z<F.details.length;z++)if(I[V].includes(F.details[z].name)){k=z;break}localStorage.setItem(t.value,k===-1?a:F.details[k].name)}}return!0}}}return!1},y=()=>{const N=Ss();let R=localStorage.getItem(e.value);R||(R=o);let I=[];const O=localStorage.getItem(n.value);O&&(I=JSON.parse(O)),(!I||I.length===0||I[0].value!==R)&&b(R);const B=N.getMaster(r.value),V=[];if(B)for(let F=0;F<B.details.length;F++)B.details[F].name!=="オンライン"&&V.push({value:B.details[F].value,name:B.details[F].name,select:B.details[F].value===R});if(l.value=R,f.value=N.getMasterNameByValue(r.value,R),p.value=N.getMasterNameByValue(i.value,R),R===o){let F=localStorage.getItem(t.value);F||(F=a),d.value=F,m.value=N.getMasterValueByName(s.value,F)}else d.value="",m.value="";h.value=V};
35return{areaSelectStoragePrefecture:e,areaSelectStorageMunicipalities:t,areaSelectStorageNeighborPrefectures:n,masterNamePrefecture:r,masterNamePrefectureMini:i,masterNameMunicipalities:s,DEF_PREFECTURE_TOKYO:o,DEF_MUNICIPALITIES_TOKYO_ATHER:a,isInit:c,isInitGps:u,selectPrefectureID:l,selectPrefectureName:f,selectPrefectureNameMini:p,selectMunicipalitiesName:d,selectMunicipalitiesShop:m,selectList:h,update:_,lock:w,init:()=>{if(c.value)return;c.value=!0;const N=l.value;y(),N!==l.value&&(_.value+=1)},load:y,initGps:async()=>{u.value||(u.value=!0,!localStorage.getItem(e.value)&&await g()&&(y(),_.value+=1))},updateGps:async()=>{if(w.value)return;w.value=!0;const N=localStorage.getItem(e.value),R=localStorage.getItem(t.value);await g()&&(y(),(localStorage.getItem(e.value)!==N||localStorage.getItem(t.value)!==R)&&(_.value+=1)),w.value=!1},setGps:g,fetchNeighborPrefectures:b,getSelectPrefectureID:()=>l.value,getSelectPrefectureName:()=>f.value,getSelectPrefectureNameMini:()=>p.value,getSelectMunicipalitiesName:()=>d.value,getSelectMunicipalitiesShop:()=>m.value,getList:()=>h.value,setPrefectureID:N=>{localStorage.setItem(e.value,N),y(),_.value+=1}}}),jM={key:1,class:"area-select__label"},e$={class:"area-select__pref"},t$={class:"area-select__pref-name"},n$=["value","selected"],r$=et({__name:"AreaSelect",props:{place:{default:""},gps:{type:Boolean,default:!1}},setup(e){const t=e,n=we(()=>({"header-nav":t.place==="header"})),r=mv();r.init();const i=()=>{r.updateGps()},s=c=>{r.setPrefectureID(c.target.value)},o=we(()=>r.getSelectPrefectureNameMini()),a=we(()=>r.getList());return Sn(()=>{r.initGps()}),(c,u)=>(ie(),_e("div",{class:Ve(["area-select",re(n)])},[e.gps?(ie(),_e("p",{key:0,class:"area-select__label area-select__gps",onClick:u[0]||(u[0]=l=>i())},[...u[1]||(u[1]=[St(" 現在地を",-1),te("br",{class:"area-select__label_br"},null,-1),St("再読込する ",-1)])])):(ie(),_e("p",jM," エリア選択 ")),te("div",e$,[te("p",t$,Ht(re(o)),1),te("select",{class:"area-select__pref-select",onChange:s},[(ie(!0),_e(Je,null,Sm(re(a),(l,f)=>(ie(),_e("option",{key:f,value:l.value,selected:l.select},Ht(l.name),9,n$))),128))],32)])],2))}}),i$=un(r$,[["__scopeId","data-v-ec87b891"]]),Ah=""+new URL("logo.CZKtc_Bl.svg",import.meta.url).href,gv=Tn("scpUtility",()=>({DEF_IS_STARTED_BEFORE:"0",DEF_IS_STARTED_SESSION:"2",DEF_IS_STARTED_END:"3",DEF_TECH_FRONTEND_NOSELECT:"1",DEF_GENRE_NOSELECT:"1",DEF_SMARTPHONE_NOSELECT:"0",DEF_TAG_NEAR_SLUG:"near",DEF_TAG_NEAR_NAME:"近くのイベント",DEF_TAG_NEW_SLUG:"new",DEF_TAG_NEW_NAME:"新着",DEF_TAG_COLLABO_SLUG:"collaborate",DEF_TAG_COLLABO_NAME:"コラボレーション",DEF_TOP_EVENT_MAX:10,DEF_EVENT_LIST_MAX:0,DEF_TAG_RANK_STRONG:1,specialUrl:de(""),getPrefectures:S=>{const C=Ss(),x=String(S).replace(/\s+/g,""),A=x?x.split(","):[],L=[];for(let $=0;$<A.length;$++){const D=C.getMasterValueByName("prefecture",A[$]);if(D){const J=C.getMasterNameByValue("prefecture_mini",D);J&&L.push(J)}}return L},getPlaceNamesByNeighberPrefectures:(S,C)=>{const T=mv(),A=String(S).replace(/\s+/g,""),L=A?A.split(","):[],$=JSON.parse(localStorage.getItem(T.areaSelectStorageNeighborPrefectures)||"[]"),D=JSON.parse(C)||[];let J=[];const U=[];for(let R=0;R<$.length;R++)for(let I=0;I<L.length;I++)$[R].name===L[I]&&(J=D.filter(O=>O.place_pref===$[R].name),J.length>0?U.push(...J.map(O=>O.place_name)):U.push($[R].name));return[...new Set(U)].slice(0,3)},getTopSlider:(S,C)=>{const T=Ss(),x=xr();for(let A=0;A<10;A++){const L="date_from"+String(A+1),$="date_to"+String(A+1),D=S.custom[L],J=S.custom[$];let U=!1;if(D&&J){const N=xr(S.custom[L]),R=xr(S.custom[$]);N<=x&&R>=x&&(U=!0)}else D&&!J?xr(S.custom[L])<=x&&(U=!0):!D&&J?xr(S.custom[$])>=x&&(U=!0):U=!0;if(U){const N="pc_image"+String(A+1),R="sp_image"+String(A+1),I="link"+String(A+1),O=S.custom[N],B=S.custom[R],V=S.custom[I];if(O||B||V)return{pcImage:T.getImgInfoUrlByID(O,C,"l","l"),spImage:T.getImgInfoUrlByID(B,C,"l","m"),link:V}}}return null},fetchNeighborList:async(S,C,T=null)=>{const x={isError:!0,data:{data:{articles:[],articleObjects:[]}}};let A='"prefecture_id":"'+C+'"';A+=',"is_started":"0,1,2"',T&&(A+=',"tag_slug":["'+T+'"]');const L=tn().public.apiUrl+"/scrap/event/neighbor_article?page_size="+String(S)+"&conditions="+encodeURIComponent("{"+A+"}");let $=null;if(await fetch(L).then(D=>{$=D}).catch(D=>{}),$){const D=await $.json();if(D.code===2e5){const J=[];for(let N=0;N<D.data.articles.length;N++){const R=[];for(let I=0;I<D.data.articles[N].tags.length;I++)R.push({description:D.data.articles[N].tags[I].description,id:D.data.articles[N].tags[I].id,isOfficial:D.data.articles[N].tags[I].is_official,name:D.data.articles[N].tags[I].name,rank:D.data.articles[N].tags[I].rank,tagSlug:D.data.articles[N].tags[I].tag_slug});J.push({articleSlug:D.data.articles[N].article_slug,title:D.data.articles[N].title,custom:D.data.articles[N].custom,tags:R})}x.data.data.articles=J;const U=[];for(let N=0;N<D.data.article_objects.length;N++)U.push({description:D.data.article_objects[N].description,id:D.data.article_objects[N].id,path:D.data.article_objects[N].path,referrer:D.data.article_objects[N].referrer,type:D.data.article_objects[N].type,useWebp:D.data.article_objects[N].use_webp});x.data.data.articleObjects=U}x.isError=!1}return x},fetchIdsForRecommends:async(S,C,T)=>{try{let x='{"prefecture_id":"'+S+'"';x+=',"is_started":"0,1,2"}';const L=tn().public.apiUrl+"/scrap/event/neighbor_article?page_size="+10+"&sort_field=rank&sort_type=A
35SC&conditions="+encodeURIComponent(x),D=await(await fetch(L)).json();if(D.code===2e5){const J=[],U=Ss();return D.data.articles.forEach(N=>{if(N.custom?.event_json)try{const R=JSON.parse(N.custom.event_json);let I=[];Array.isArray(R)&&R.length>0&&(I=R.filter(O=>O.place_pref===C),I.forEach(O=>{J.push(O.event_id||null)}))}catch(R){console.error(R)}}),[...new Set(J.filter(N=>N!==null))]}}catch(x){console.error(x)}return[]}})),_v=Tn("favoriteEvent",()=>{const e=de("favorite_event_ids"),t=de(null),n=de(!1),r=a=>{t.value=String(a),n.value=s()},i=()=>{const a=localStorage.getItem(e.value);return a?a.split(","):[]},s=()=>t.value?i().includes(t.value):!1;return{eventLocalStorageKey:e,currentID:t,isFavorite:n,setCurrentID:r,getSaveAll:i,isSave:s,update:()=>{if(!t.value)return;const a=i(),c=a.indexOf(t.value);c===-1?a.push(t.value):a.splice(c,1),a.length>0?localStorage.setItem(e.value,a.join(",")):localStorage.removeItem(e.value),n.value=s()}}}),yv=Tn("kjdsDetails",()=>{const e=de(!1),t=de("");return{showButtonBuyTicket:e,futureShopUrl:t,setShowButtonBuyTicket:i=>{e.value=i},setFutureShopUrl:i=>{t.value=i}}}),s$={class:"header__container"},o$={class:"header__siteid"},a$={key:0},c$={class:"header__nav"},l$={class:"header__nav-items"},u$={class:"header__nav-item about"},f$={class:"header__nav-item addfavorite"},d$={key:0,class:"header__nav-item specialsite"},p$={class:"header__nav-item findbydate"},h$={class:"header__nav-item info"},m$={key:0,class:"header__nav-ticket"},g$={key:1,class:"header__nav-area"},_$=et({__name:"SiteHeader",props:{page:{default:""}},setup(e){const t=gv(),n=_v(),r=yv(),i=e,s=we(()=>({home:i.page==="home",event:i.page==="event"})),o=we(()=>r.showButtonBuyTicket),a=we(()=>r.futureShopUrl),c=()=>t.specialUrl,l=cn({navMenuCommonData:[{link:"/beginners-guide",sign:"beginner",text:"初めての方"},{link:"/faq",sign:"faq",text:"よくある質問"},{link:"/favorite-events",sign:"favorite",text:"お気に入り"}]}).navMenuCommonData.map(d=>{const m=d.sign;return{link:d.link,sign:d.sign,text:d.text,iconNavSign:m}}),f=we(()=>n.isFavorite),p=()=>{n.update()};return(d,m)=>{const h=Ws,_=pv,w=hv,b=i$,g=AR;return ie(),_e("header",{id:"top",class:Ve(["header",re(s)])},[te("div",s$,[te("div",o$,[e.page==="home"?(ie(),_e("h1",a$,[...m[2]||(m[2]=[te("img",{src:Ah,alt:"リアル脱出ゲーム Created by SCRAP"},null,-1)])])):(ie(),ct(h,{key:1,to:"/"},{default:ft(()=>[...m[3]||(m[3]=[te("img",{src:Ah,alt:"リアル脱出ゲーム Created by SCRAP"},null,-1)])]),_:1}))]),te("nav",c$,[te("ul",l$,[te("li",u$,[pe(_,{class:"header__nav-link",link:"/about",sign:"about",place:"header"},{taggedText:ft(()=>[...m[4]||(m[4]=[te("span",null,"リアル脱出",-1),te("span",null,"ゲームとは",-1)])]),_:1})]),(ie(!0),_e(Je,null,Sm(re(l),(y,S)=>(ie(),_e("li",{key:S,class:Ve(["header__nav-item",y.sign])},[pe(_,{class:"header__nav-link",link:y.link,sign:y.iconNavSign,text:y.text,place:"header"},null,8,["link","sign","text"])],2))),128)),e.page==="event"?(ie(),_e(Je,{key:0},[te("li",f$,[re(f)?(ie(),ct(_,{key:0,class:"header__nav-link",sign:"addfavorite",text:"お気に入りに登録済み",place:"header",onClick:m[0]||(m[0]=y=>p())})):(ie(),ct(_,{key:1,class:"header__nav-link",sign:"addfavorite",text:"お気に入りに追加",place:"header",onClick:m[1]||(m[1]=y=>p())}))]),c()?(ie(),_e("li",d$,[pe(_,{class:"header__nav-link",link:c(),target:"_blank",sign:"specialsite",text:"特設サイト",place:"header"},null,8,["link"])])):ze("",!0)],64)):(ie(),_e(Je,{key:1},[te("li",p$,[pe(_,{class:"header__nav-link",sign:"findbydate",text:"日付で探す",place:"header",link:"https://www.scrapmagazine.com/calendar/"})]),te("li",h$,[pe(_,{class:"header__nav-link",link:"https://www.scrapmagazine.com/news/",target:"_blank",sign:"info",text:"お知らせ",place:"header"})])],64))]),e.page==="event"&&re(o)?(ie(),_e("div",m$,[pe(w,{class:"header__nav-ticket-button","future-shop-url":re(a)},null,8,["future-shop-url"])])):ze("",!0),e.page!=="error"?(ie(),_e("div",g$,[pe(g,null,{default:ft(()=>[pe(b,{place:"header"})]),_:1})])):ze("",!0)])])],2)}}}),y$=un(_$,[["__scopeId","data-v-59545e7b"]]),v$=["disabled"],S$=et({__name:"BaseButton",props:{value:{default:""},text:{},link:{default:""},query:{default:null},buttonColor:{default:"primary"},buttonSize:{default:"medium"},buttonType:{default:"default"},disabled:{type:Boolean,default:!1},target:{default:null}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=de(null),s=we(()=>!!n.link),o=we(()=>({secondary:n.buttonColor==="secondary",large:n.buttonSize==="large",arrow:n.buttonType==="arrow",beginner:n.buttonType==="beginner",specialsite:n.buttonType==="specialsite",faq:n.buttonType==="faq"}));Sn(()=>{(s.value?i.value.$el:i.value).addEventListener("click",a)});const a=()=>
35{if(s.value)r("click",null);else{const c=n.value;n.value,r("click",c)}};return(c,u)=>{const l=Ws;return e.link!==""&&!e.query?(ie(),ct(l,{key:0,ref_key:"root",ref:i,class:Ve(["base-button",re(o)]),to:e.link,target:e.target,disabled:n.disabled,"no-rel":""},{default:ft(()=>[St(Ht(e.text),1)]),_:1},8,["class","to","target","disabled"])):e.link!==""&&e.query?(ie(),ct(l,{key:1,ref_key:"root",ref:i,class:Ve(["base-button nuxt-link-button",re(o)]),to:{name:e.link,query:e.query},target:e.target,disabled:n.disabled,"no-rel":""},{default:ft(()=>[St(Ht(e.text),1)]),_:1},8,["class","to","target","disabled"])):(ie(),_e("button",{key:2,ref_key:"root",ref:i,class:Ve(["base-button",re(o)]),type:"button",disabled:n.disabled},Ht(e.text),11,v$))}}}),vv=un(S$,[["__scopeId","data-v-186185c5"]]),b$={class:"error-page-content"},w$={class:"error-page-content__lead"},E$=["textContent"],T$=["innerHTML"],R$={key:0,class:"error-page-content__footer"},I$=et({__name:"ErrorPageContent",props:{statusCode:{},apiCode:{default:""},message:{default:""},messageDetail:{default:""}},setup(e){const t=e,n={1e4:"not-found",10003:"not-found",10004:"not-found",10301:"not-found",10302:"not-found",10311:"not-found",99999:"not-found",10202:"session",10209:"session",10001:"login",10002:"login",10005:"login",10006:"login",10051:"member-card",90001:"maintenance"},r=we(()=>{let a="";return t.statusCode===404?a="not-found":n[t.apiCode]?a=n[t.apiCode]:a="not-found",a}),i=we(()=>
35t.message.replace(/\\n/g,`
36`)),s=we(()=>t.messageDetail.replace(/\\n/g,`
37`));function o(){Uu({redirect:"/"})}return(a,c)=>{const u=vv;return ie(),_e("div",b$,[te("div",{class:Ve(["error-page-content__icon",re(r)])},null,2),te("p",w$,[te("strong",{textContent:Ht(re(i))},null,8,E$)]),te("div",{class:"error-page-content__body",innerHTML:re(s)},null,8,T$),re(r)!=="maintenance"?(ie(),_e("div",R$,[pe(u,{text:"トップページへもどる",class:"error-page-content__back-button",onClick:o})])):ze("",!0)])}}}),A$=un(I$,[["__scopeId","data-v-a9714ec0"]]),C$={key:3,xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28"},k$={key:4,xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28"},O$=et({__name:"IconSvg",props:{sign:{},pattern:{default:""}},setup(e){const t=e,n=we(()=>({"pattern-2":t.pattern==="2"}));return(r,i)=>(ie(),_e(Je,null,[e.sign==="x"?(ie(),_e("svg",{key:0,class:Ve(re(n)),xmlns:"http://www.w3.org/2000/svg",width:"24.589",height:"25.129",viewBox:"0 0 24.589 25.129"},[...i[0]||(i[0]=[te("path",{id:"パス_1970","data-name":"パス 1970",d:"M11.662,14.094,10.69,12.7,2.951,1.633H6.283l6.245,8.934.973,1.39L21.619,23.57H18.287ZM21.618,0,13.67,9.239,7.322,0H0L9.6,13.971,0,25.129H2.169l8.393-9.757,6.7,9.757h7.323L14.633,10.64h0L23.787,0Z",fill:"#295fb5",class:"filled"},null,-1)])],2)):ze("",!0),e.sign==="instagram"?(ie(),_e("svg",{key:1,class:Ve(re(n)),xmlns:"http://www.w3.org/2000/svg",width:"29.24",height:"29.24",viewBox:"0 0 29.24 29.24"},[...i[1]||(i[1]=[te("g",{id:"グループ_2021","data-name":"グループ 2021",transform:"translate(-81.715 -12.032)"},[te("path",{id:"パス_86","data-name":"パス 86",d:"M96.335,14.666c3.9,0,4.366.015,5.908.085a8.086,8.086,0,0,1,2.714.5,4.84,4.84,0,0,1,2.775,2.774,8.107,8.107,0,0,1,.5,2.715c.071,1.542.086,2,.086,5.908s-.015,4.366-.086,5.907a8.1,8.1,0,0,1-.5,2.715,4.846,4.846,0,0,1-2.775,2.775,8.093,8.093,0,0,1-2.714.5c-1.542.071-2,.085-5.908.085s-4.366-.014-5.908-.085a8.093,8.093,0,0,1-2.714-.5,4.846,4.846,0,0,1-2.775-2.775,8.093,8.093,0,0,1-.5-2.714c-.071-1.542-.086-2-.086-5.908s.015-4.366.
37086-5.908a8.106,8.106,0,0,1,.5-2.715,4.84,4.84,0,0,1,2.775-2.774,8.086,8.086,0,0,1,2.714-.5c1.542-.07,2-.085,5.908-.085m0-2.634c-3.971,0-4.468.017-6.028.088a10.716,10.716,0,0,0-3.549.68,7.475,7.475,0,0,0-4.275,4.275,10.716,10.716,0,0,0-.68,3.549c-.071,1.559-.088,2.057-.088,6.028s.017,4.468.088,6.028a10.71,10.71,0,0,0,.68,3.548A7.473,7.473,0,0,0,86.758,40.5a10.716,10.716,0,0,0,3.549.68c1.56.071,2.057.088,6.028.088s4.468-.017,6.028-.088a10.716,10.716,0,0,0,3.549-.68,7.473,7.473,0,0,0,4.275-4.276,10.71,10.71,0,0,0,.68-3.548c.071-1.56.088-2.058.088-6.028s-.017-4.469-.088-6.028a10.716,10.716,0,0,0-.68-3.549,7.475,7.475,0,0,0-4.275-4.275,10.716,10.716,0,0,0-3.549-.68c-1.56-.071-2.057-.088-6.028-.088",fill:"#295fb5",class:"filled"}),te("path",{id:"パス_87","data-name":"パス 87",d:"M96.335,19.144a7.508,7.508,0,1,0,7.507,7.508,7.507,7.507,0,0,0-7.507-7.508m0,12.381a4.873,4.873,0,1,1,4.873-4.873,4.873,4.873,0,0,1-4.873,4.873",fill:"#295fb5",class:"filled"}),te("path",{id:"パス_88","data-name":"パス 88",d:"M105.894,18.848a1.754,1.754,0,1,1-1.754-1.754,1.754,1.754,0,0,1,1.754,1.754",fill:"#295fb5",class:"filled"})],-1)])],2)):ze("",!0),e.sign==="mail"?(ie(),_e("svg",{key:2,class:Ve(re(n)),xmlns:"http://www.w3.org/2000/svg",width:"26.362",height:"20.37",viewBox:"0 0 26.362 20.37"},[...i[2]||(i[2]=[te("g",{id:"グループ_2022","data-name":"グループ 2022",transform:"translate(-151.154 -16.467)"},[te("path",{id:"パス_83","data-name":"パス 83",d:"M151.366,21.731V36.837h26.15V20.785l-12.6,9.937Z",fill:"#295fb5",class:"filled"}),te("path",{id:"パス_84","data-name":"パス 84",d:"M151.154,17.886,164.4,25.93l12.776-9.463Z",fill:"#295fb5",class:"filled"})],-1)])],2)):ze("",!0),e.sign==="copylink"?(ie(),_e("svg",C$,[...i[3]||(i[3]=[te("g",{id:"グループ_2006","data-name":"グループ 2006",transform:"translate(-188.614 -11)"},[te("path",{id:"パス_2094","data-name":"パス 2094",d:"M215.123,17.081l-1.465-1.464-3.31-3.31h0l-.817-.817a2,2,0,0,0-1.414-.585h-9.408a2,2,0,0,0-2,2v1.875h2V12.9h8.423a1.962,1.962,0,0,0-.2.817v4.212a2,2,0,0,0,2,2h4.212a2,2,0,0,0,.563-.084V30.9h-2v2h2a2,2,0,0,0,2-2V18.5a2,2,0,0,0-.586-1.414m-6.189.852V13.721l2.495,2.495.313.313.1.1,1.3,1.3Z",transform:"translate(0 0.096)",fill:"#7790B5"}),te("path",{id:"パス_2095","data-name":"パス 2095",d:"M209.4,23.792a1.987,1.987,0,0,0-.172-.485c-.019-.04-.04-.077-.061-.115a1.985,1.985,0,0,0-.314-.423l-5.592-5.592a1.928,1.928,0,0,0-.306-.251,1.908,1.908,0,0,0-.178-.1c-.056-.029-.109-.065-.168-.089a1.974,1.974,0,0,0-.215-.065c-.053-.015-.1-.037-.158-.048a2.03,2.03,0,0,0-.39-.038h-9.406a2,2,0,0,0-2,2v18a2,2,0,0,0,2,2h15a2,2,0,0,0,2-2V24.183a1.937,1.937,0,0,0-.04-.389Zm-1.96.391h-5.593V18.591Zm0,12.408h-15v-18h7.407v5.592a2,2,0,0,0,2,2h5.593Z",transform:"translate(0 0.096)",fill:"#7790B5"}),te("rect",{id:"長方形_900","data-name":"長方形 900",width:"28",height:"28",transform:"translate(188.614 11)",fill:"none"})],-1)])])):ze("",!0),e.sign==="dlimg"?(ie(),_e("svg",k$,[...i[4]||(i[4]=[te("g",{id:"グループ_2005","data-name":"グループ 2005",transform:"translate(-269.614 -11)"},[te("path",{id:"パス_2097","data-name":"パス 2097",d:"M291.25,11.725h-15a2,2,0,0,0-2,2v18a2,2,0,0,0,2,2h1.638a3.05,3.05,0,0,1,.223-1.917c.014-.029.034-.054.049-.083h-1.91v-18h15v18h-1.762c.015.029.036.054.05.084a3.046,3.046,0,0,1,.222,1.916h1.49a2,2,0,0,0,2-2v-18a2,2,0,0,0-2-2",fill:"#7790B5"}),te("path",{id:"パス_2098","data-name":"パス 2098",d:"M288.273,31.726a2.059,2.059,0,0,0-1.265-.647V30.016a2.125,2.125,0,0,0-2.123-2.122h-2.122a2.125,2.125,0,0,0-2.122,2.122v1.063a2.053,2.053,0,0,0-1.265.647,2,2,0,0,0-.362.511,2.175,2.175,0,0,0,.265,2.174l2.954,3.614a2.1,2.1,0,0,0,1.588.754,2.043,2.043,0,0,0,1.588-.754l2.959-3.613a2.011,2.011,0,0,0,.35-.686,2.039,2.039,0,0,0-.084-1.488,2,2,0,0,0-.361-.512M283.86,36.76a.052.052,0,0,1-.039.019.054.054,0,0,1-.04-.019L281.3,33.726l-.474-.581a.047.047,0,0,1,.036-.078h1.777V30.016a.121.121,0,0,1,.122-.122h2.122a.122.122,0,0,1,.123.122v3.051h1.776a.049.049,0,0,1,.043.027.05.05,0,0,1-.006.051l-.476.581Z",fill:"#7790B5"}),te("rect",{id:"長方形_901","data-name":"長方形 901",width:"28",height:"28",transform:"translate(269.614 11)",fill:"none"})],-1)])])):ze("",!0)],64))}}),N$={key:0},x$={key:1},D$={key:0},P$={key:1},L$=et({__name:"LinkArrowIcon",props:{name:{},query:{},text:{default:""},direction:{default:"right"}},setup(e){const t=e,n=we(()=>({left:t.direction==="left"}));return(r,i)=>{const s=Ws;return e.name?(ie(),ct(s,{key:0,to:{name:e.name,query:e.query},class:Ve([re(n),"link-arrow-icon valid"])},{default:ft(()=>
37[e.direction==="left"?(ie(),_e("span",N$)):ze("",!0),St(" "+Ht(e.text)+" ",1),e.direction!=="left"?(ie(),_e("span",x$)):ze("",!0)]),_:1},8,["to","class"])):e.direction==="up"?(ie(),ct(s,{key:1,class:"link-arrow-icon up"},{default:ft(()=>[St(Ht(e.text)+" ",1),i[0]||(i[0]=te("span",null,null,-1))]),_:1})):(ie(),ct(s,{key:2,class:Ve([re(n),"link-arrow-icon"])},{default:ft(()=>[e.direction==="left"?(ie(),_e("span",D$)):ze("",!0),St(" "+Ht(e.text)+" ",1),e.direction!=="left"?(ie(),_e("span",P$)):ze("",!0)]),_:1},8,["class"]))}}}),M$=un(L$,[["__scopeId","data-v-d553a15c"]]),$$=""+new URL("bannar-funclub.DdsC1B2N.svg",import.meta.url).href,F$={class:"footer__media"},U$={class:"footer__media-items"},H$={class:"footer__media-item"},B$={class:"footer__media-item"},V$={class:"footer__media-item"},q$={class:"footer__funclub"},G$={class:"footer__inquiry"},W$={class:"footer__pagetop"},J$={key:0,class:"footer__bar"},z$={class:"footer__bar-items"},K$={class:"footer__bar-item"},Y$={class:"footer__bar-item"},Q$={key:0,class:"footer__bar-item"},X$={key:0,class:"footer__bar-buy-ticket"},Z$={key:1,class:"footer__bar"},j$={class:"footer__bar-items"},eF={key:0,class:"footer__bar-item"},tF={class:"footer__bar-item"},nF={class:"footer__bar-item"},rF={class:"footer__bar-item"},iF=et({__name:"SiteFooter",props:{page:{default:""}},setup(e){const t=gv(),n=_v(),r=yv(),i=e,s=we(()=>({home:i.page==="home",event:i.page==="event"})),o=we(()=>n.isFavorite),a=we(()=>r.showButtonBuyTicket),c=we(()=>r.futureShopUrl),u=()=>{n.update()},l=()=>t.specialUrl;return(f,p)=>{const d=O$,m=Ws,h=vv,_=M$,w=pv,b=hv,g=vm("scroll-to");return ie(),_e("footer",{class:Ve(["footer",re(s)])},[te("div",F$,[p[2]||(p[2]=te("p",{class:"footer__media-lead"}," 最新の情報はこちらから ",-1)),te("ul",U$,[te("li",H$,[pe(m,{class:"footer__media-link x",to:"https://x.com/realdgame",target:"_blank","no-rel":"",title:"X"},{default:ft(()=>[pe(d,{sign:"x"})]),_:1})]),te("li",B$,[pe(m,{class:"footer__media-link instagram",to:"https://www.instagram.com/scrap_official_insta/",target:"_blank","no-rel":"",title:"Instagram"},{default:ft(()=>[pe(d,{sign:"instagram"})]),_:1})]),te("li",V$,[pe(m,{class:"footer__media-link newsletter",to:"https://realdgame.jp/newsletter/",target:"_blank","no-rel":"",title:"メールマガジン"},{default:ft(()=>[pe(d,{sign:"mail"})]),_:1})])])]),te("div",q$,[pe(m,{to:"https://scraptanteidan.com/",target:"_blank","no-rel":"",class:"footer__funclub-link"},{default:ft(()=>[...p[3]||(p[3]=[te("span",{class:"footer__funclub-banner"},[te("img",{src:$$,alt:"SCRAP ファンクラブ 少年探偵SCRAP団"})],-1),te("p",{class:"footer__funclub-text"}," 団員募集中! チケット先行予約など特典多数!! ",-1)])]),_:1})]),te("div",G$,[pe(h,{link:"/inquiry",class:"footer__inquiry-link",text:"お問い合わせ"})]),p[6]||(p[6]=te("p",{class:"footer__copyright"}," ©SCRAP All rights reserved. ",-1)),te("div",W$,[om(pe(_,{class:"footer__pagetop-link",text:"Pagetop",direction:"up"},null,512),[[g,"#top"]])]),e.page==="event"?(ie(),_e("nav",J$,[te("ul",z$,[te("li",K$,[pe(w,{class:"footer__bar-link",link:"/faq",sign:"faq",text:"よくある質問"})]),te("li",Y$,[re(o)?(ie(),ct(w,{key:0,class:"footer__bar-link",sign:"addfavorite",onClick:p[
370]||(p[0]=y=>u())},{taggedText:ft(()=>[...p[4]||(p[4]=[te("span",null,"お気に入り",-1),te("span",null,"に登録済み",-1)])]),_:1})):(ie(),ct(w,{key:1,class:"footer__bar-link",sign:"addfavorite",onClick:p[1]||(p[1]=y=>u())},{taggedText:ft(()=>[...p[5]||(p[5]=[te("span",null,"お気に入り",-1),te("span",null,"に追加",-1)])]),_:1}))]),l()?(ie(),_e("li",Q$,[pe(w,{class:"footer__bar-link",link:l(),target:"_blank",sign:"specialsite",text:"特設サイト"},null,8,["link"])])):ze("",!0)]),re(a)?(ie(),_e("div",X$,[pe(b,{"future-shop-url":re(c)},null,8,["future-shop-url"])])):ze("",!0)])):(ie(),_e("nav",Z$,[te("ul",j$,[e.page!=="home"?(ie(),_e("li",eF,[pe(w,{class:"footer__bar-link",link:"/",sign:"home",text:"ホーム"})])):ze("",!0),te("li",tF,[pe(w,{class:"footer__bar-link",link:"/faq/",sign:"faq",text:"よくある質問"})]),te("li",nF,[pe(w,{class:"footer__bar-link",link:"/favorite-events/",sign:"favorite",text:"お気に入り"})]),te("li",rF,[pe(w,{class:"footer__bar-link",link:"https://www.scrapmagazine.com/calendar/",sign:"findbydate",text:"日付で探す"})])])]))],2)}}}),sF=un(iF,[["__scopeId","data-v-5aff63e7"]]),oF=Tn("index",()=>{const e=de(!1),t=de(!1),n=de(""),r=de(""),i=de(0),s=de(""),o=de(!1);return{isContentLoaded:e,isRouteMove:t,expire:n,pagePath:r,positionY:i,lastFullPath:s,isUseScrollRestore:o,setPositionY:d=>{i.value=d},setIsContentLoaded:d=>{e.value=d},setPagePath:()=>{r.value=location.pathname},setIsRouteMove:d=>{t.value=d},setLastFullPath:d=>{s.value=d,ue().$setWebStorageItem("localStorage","lastFullPath",d)},setIsUseScrollRestore:d=>{o.value=d}}}),aF={class:"base"},cF={class:"base__header"},lF={class:"base__body"},uF={class:"error-page"},fF={class:"base__footer"},dF=et({__name:"error",props:{error:{default:{statusCode:0,statusMessage:"",message:"",data:{errorCode:"",errorMessage:"",errorMessageDetail:""}}}},setup(e){const t=e;t.error?.statusCode,t.error?.data,Pg({title:"エラー",meta:[{name:"robots",content:t.error?.statusCode===404?"noindex":"index"},{name:"description",content:""}]});const r=Xe().beforeEach(a=>{r(),Uu({redirect:a.fullPath})}),i=we(()=>t.error?.data?.errorCode?t.error.data.errorCode:""),s=we(()=>t.error?.data?.errorCode&&t.error?.data?.errorMessage?t.error.data.errorMessage:t.error?.statusCode===404?"Not Found":t.error?.statusMessage?t.error.statusMessage:"不明なエラーです"),o=we(()=>t.error?.data?.errorCode&&t.error?.data?.errorMessageDetail?t.error.data.errorMessageDetail:t.error?.statusCode===404?`ここには何もないようです。
38ほかを探してみましょう。`:"");return Sn(()=>{oF().setIsContentLoaded(!0)}),(a,c)=>{const u=y$,l=A$,f=sF;return ie(),_e("div",aF,[te("div",cF,[pe(u,{page:"error"})]),te("main",lF,[te("div",uF,[pe(l,{"status-code":e.error?.statusCode,"api-code":re(i),message:re(s),"message-detail":re(o)},null,8,["status-code","api-code","message","message-detail"])])]),te("div",fF,[pe(f)])])}}}),pF=un(dF,[["__scopeId","data-v-a1a46e3d"]]),hF={key:0},Ch={__name:"nuxt-root",setup(e){const t=()=>null,n=ue(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r),f=Xe().beforeEach(()=>{l(),f()})}const i=!1;Mn(Jr,qs()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup",[]);const s=Va(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function c(l,f,p){const d=n.vueApp.config.errorHandler;if(d&&!d.__nuxt_default)try{d(l,f,p)}catch(m){console.error("[nuxt] Error in `app.config.errorHandler`",m)}}_m((l,f,p)=>{if(n.hooks.callHook("vue:error",l,f,p).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",l),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,l),!1;if(wg(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>xn(l)),c(l,f,p),!1});const u=!1;return(l,f)=>(ie(),ct(Du,{onResolve:re(r)},{default:ft(()=>[re(o)?(ie(),_e("div",hF)):re(s)?(ie(),ct(re(pF),{key:1,error:re(s)},null,8,["error"])):re(u)?(ie(),ct(re(t),{key:2,context:re(u)},null,8,["context"])):re(i)?(ie(),ct(H0(re(i)),{key:3})):(ie(),ct(re(VM),{key:4}))]),_:1},8,["onResolve"]))}};let kh;{let e;
38kh=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?ub(Ch):lb(Ch),i=ww({vueApp:r});async function s(o){await i.callHook("app:error",o),i.payload.error||=Lt(o)}s.__nuxt_default=!0,r.config.errorHandler=s,i.hook("app:suspense:resolve",()=>{r.config.errorHandler===s&&(r.config.errorHandler=void 0)});try{await Rw(i,bM)}catch(o){s(o)}try{await i.hooks.callHook("app:created",r),await i.hooks.callHook("app:beforeMount",r),r.mount(vw),await i.hooks.callHook("app:mounted",r),await Xt()}catch(o){s(o)}return r},e=kh().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{o0 as $,Oo as A,Ss as B,gv as C,mv as D,IM as E,Je as F,gF as G,Sn as H,hr as I,Pg as J,mF as K,Gm as L,ue as M,yF as N,cn as O,Xe as P,oF as Q,Tn as R,Dn as S,_v as T,hv as U,O$ as V,Na as W,Xt as X,yv as Y,AR as Z,un as _,ze as a,Ge as a0,tn as a1,vF as a2,EF as a3,Lv as a4,xa as a5,zn as a6,Lt as a7,t0 as a8,P0 as a9,Cu as aa,dt as ab,IR as ac,ol as ad,bn as ae,SF as af,y$ as ag,hc as ah,sF as ai,te as b,_e as c,et as d,pe as e,Ws as f,om as g,vS as h,de as i,we as j,xr as k,da as l,vm as m,Ve as n,ie as o,ct as p,St as q,Sm as r,vv as s,Ht as t,re as u,_F as v,ft as w,i$ as x,M$ as y,qs as z};

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.