var LL=Object.defineProperty;var nT=e=>{throw TypeError(e)};var $L=(e,t,n)=>t in e?LL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var St=(e,t,n)=>$L(e,typeof t!="symbol"?t+"":t,n),FL=(e,t,n)=>t.has(e)||nT("Cannot "+n);var rT=(e,t,n)=>t.has(e)?nT("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);var jc=(e,t,n)=>(FL(e,t,"access private method"),n);import{a as Hw,g as Su,c as Oe}from"./dayjs-D2aUm2XC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="665c9425-f340-4bc1-9d5c-78224fc3a94e",e._sentryDebugIdIdentifier="sentry-dbid-665c9425-f340-4bc1-9d5c-78224fc3a94e")}catch{}})();/**
* @vue/shared v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function f0(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ht={},Tl=[],Ei=()=>{},BL=()=>!1,Kd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Uw=e=>e.startsWith("onUpdate:"),Ht=Object.assign,zw=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jL=Object.prototype.hasOwnProperty,wt=(e,t)=>jL.call(e,t),Ie=Array.isArray,_l=e=>mc(e)==="[object Map]",xu=e=>mc(e)==="[object Set]",iT=e=>mc(e)==="[object Date]",HL=e=>mc(e)==="[object RegExp]",Be=e=>typeof e=="function",Ut=e=>typeof e=="string",eo=e=>typeof e=="symbol",kt=e=>e!==null&&typeof e=="object",Vw=e=>(kt(e)||Be(e))&&Be(e.then)&&Be(e.catch),JC=Object.prototype.toString,mc=e=>JC.call(e),UL=e=>mc(e).slice(8,-1),Ga=e=>mc(e)==="[object Object]",Ww=e=>Ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ol=f0(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),d0=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},zL=/-(\w)/g,qn=d0(e=>e.replace(zL,(t,n)=>n?n.toUpperCase():"")),VL=/\B([A-Z])/g,xr=d0(e=>e.replace(VL,"-$1").toLowerCase()),qd=d0(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ef=d0(e=>e?`on${qd(e)}`:""),sr=(e,t)=>!Object.is(e,t),Il=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},QC=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Rm=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Pm=e=>{const t=Ut(e)?Number(e):NaN;return isNaN(t)?e:t};let oT;const ZC=()=>oT||(oT=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),WL="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",GL=f0(WL);function Lo(e){if(Ie(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Ut(r)?XL(r):Lo(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Ut(e)||kt(e))return e}const KL=/;(?![^(]*\))/g,qL=/:([^]+)/,YL=/\/\*[^]*?\*\//g;function XL(e){const t={};return e.replace(YL,"").split(KL).forEach(n=>{if(n){const r=n.split(qL);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _t(e){let t="";if(Ut(e))t=e;else if(Ie(e))for(let n=0;n<e.length;n++){const r=_t(e[n]);r&&(t+=r+" ")}else if(kt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function gn(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ut(t)&&(e.class=_t(t)),n&&(e.style=Lo(n)),e}const JL="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",QL=f0(JL);function eA(e){return!!e||e===""}function ZL(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Xs(e[r],t[r]);return n}function Xs(e,t){if(e===t)return!0;let n=iT(e),r=iT(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=eo(e),r=eo(t),n||r)return e===t;if(n=Ie(e),r=Ie(t),n||r)return n&&r?ZL(e,t):!1;if(n=kt(e),r=kt(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const s in e){const a=e.hasOwnProperty(s),u=t.hasOwnProperty(s);if(a&&!u||!a&&u||!Xs(e[s],t[s]))return!1}}return String(e)===String(t)}function h0(e,t){return e.findIndex(n=>Xs(n,t))}const tA=e=>!!(e&&e.__v_isRef===!0),un=e=>Ut(e)?e:e==null?"":Ie(e)||kt(e)&&(e.toString===JC||!Be(e.toString))?tA(e)?un(e.value):JSON.stringify(e,nA,2):String(e),nA=(e,t)=>tA(t)?nA(e,t.value):_l(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[Iv(r,o)+" =>"]=i,n),{})}:xu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Iv(n))}:eo(t)?Iv(t):kt(t)&&!Ie(t)&&!Ga(t)?String(t):t,Iv=(e,t="")=>{var n;return eo(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ir;class Gw{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ir,!t&&ir&&(this.index=(ir.scopes||(ir.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ir;try{return ir=this,t()}finally{ir=n}}}on(){ir=this}off(){ir=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!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,this._active=!1}}}function rA(e){return new Gw(e)}function iA(){return ir}function oA(e,t=!1){ir&&ir.cleanups.push(e)}let Ft;const Cv=new WeakSet;class rd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ir&&ir.active&&ir.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Cv.has(this)&&(Cv.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||aA(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,sT(this),uA(this);const t=Ft,n=Si;Ft=this,Si=!0;try{return this.fn()}finally{lA(this),Ft=t,Si=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Yw(t);this.deps=this.depsTail=void 0,sT(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Cv.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){fb(this)&&this.run()}get dirty(){return fb(this)}}let sA=0,pl;function aA(e){e.flags|=8,e.next=pl,pl=e}function Kw(){sA++}function qw(){if(--sA>0)return;let e;for(;pl;){let t=pl,n;for(;t;)t.flags&=-9,t=t.next;for(t=pl,pl=void 0;t;){if(t.flags&1)try{t.trigger()}catch(r){e||(e=r)}n=t.next,t.next=void 0,t=n}}if(e)throw e}function uA(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function lA(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Yw(r),e8(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function fb(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(cA(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function cA(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===id))return;e.globalVersion=id;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!fb(e)){e.flags&=-3;return}const n=Ft,r=Si;Ft=e,Si=!0;try{uA(e);const i=e.fn(e._value);(t.version===0||sr(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ft=n,Si=r,lA(e),e.flags&=-3}}function Yw(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),!n.subs&&n.computed){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Yw(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function e8(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function t8(e,t){e.effect instanceof rd&&(e=e.effect.fn);const n=new rd(e);t&&Ht(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r}function n8(e){e.effect.stop()}let Si=!0;const fA=[];function ca(){fA.push(Si),Si=!1}function fa(){const e=fA.pop();Si=e===void 0?!0:e}function sT(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ft;Ft=void 0;try{t()}finally{Ft=n}}}let id=0;class r8{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 p0{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ft||!Si||Ft===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ft)n=this.activeLink=new r8(Ft,this),Ft.deps?(n.prevDep=Ft.depsTail,Ft.depsTail.nextDep=n,Ft.depsTail=n):Ft.deps=Ft.depsTail=n,dA(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=Ft.depsTail,n.nextDep=void 0,Ft.depsTail.nextDep=n,Ft.depsTail=n,Ft.deps===n&&(Ft.deps=r)}return n}trigger(t){this.version++,id++,this.notify(t)}notify(t){Kw();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qw()}}}function dA(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)dA(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Dm=new WeakMap,Ka=Symbol(""),db=Symbol(""),od=Symbol("");function Xn(e,t,n){if(Si&&Ft){let r=Dm.get(e);r||Dm.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new p0),i.target=e,i.map=r,i.key=n),i.track()}}function $o(e,t,n,r,i,o){const s=Dm.get(e);if(!s){id++;return}const a=u=>{u&&u.trigger()};if(Kw(),t==="clear")s.forEach(a);else{const u=Ie(e),l=u&&Ww(n);if(u&&n==="length"){const c=Number(r);s.forEach((f,d)=>{(d==="length"||d===od||!eo(d)&&d>=c)&&a(f)})}else switch(n!==void 0&&a(s.get(n)),l&&a(s.get(od)),t){case"add":u?l&&a(s.get("length")):(a(s.get(Ka)),_l(e)&&a(s.get(db)));break;case"delete":u||(a(s.get(Ka)),_l(e)&&a(s.get(db)));break;case"set":_l(e)&&a(s.get(Ka));break}}qw()}function i8(e,t){const n=Dm.get(e);return n&&n.get(t)}function ju(e){const t=vt(e);return t===e?t:(Xn(t,"iterate",od),Br(e)?t:t.map(Hn))}function m0(e){return Xn(e=vt(e),"iterate",od),e}const o8={__proto__:null,[Symbol.iterator](){return Av(this,Symbol.iterator,Hn)},concat(...e){return ju(this).concat(...e.map(t=>Ie(t)?ju(t):t))},entries(){return Av(this,"entries",e=>(e[1]=Hn(e[1]),e))},every(e,t){return go(this,"every",e,t,void 0,arguments)},filter(e,t){return go(this,"filter",e,t,n=>n.map(Hn),arguments)},find(e,t){return go(this,"find",e,t,Hn,arguments)},findIndex(e,t){return go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return go(this,"findLast",e,t,Hn,arguments)},findLastIndex(e,t){return go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return go(this,"forEach",e,t,void 0,arguments)},includes(...e){return kv(this,"includes",e)},indexOf(...e){return kv(this,"indexOf",e)},join(e){return ju(this).join(e)},lastIndexOf(...e){return kv(this,"lastIndexOf",e)},map(e,t){return go(this,"map",e,t,void 0,arguments)},pop(){return Hc(this,"pop")},push(...e){return Hc(this,"push",e)},reduce(e,...t){return aT(this,"reduce",e,t)},reduceRight(e,...t){return aT(this,"reduceRight",e,t)},shift(){return Hc(this,"shift")},some(e,t){return go(this,"some",e,t,void 0,arguments)},splice(...e){return Hc(this,"splice",e)},toReversed(){return ju(this).toReversed()},toSorted(e){return ju(this).toSorted(e)},toSpliced(...e){return ju(this).toSpliced(...e)},unshift(...e){return Hc(this,"unshift",e)},values(){return Av(this,"values",Hn)}};function Av(e,t,n){const r=m0(e),i=r[t]();return r!==e&&!Br(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const s8=Array.prototype;function go(e,t,n,r,i,o){const s=m0(e),a=s!==e&&!Br(e),u=s[t];if(u!==s8[t]){const f=u.apply(e,o);return a?Hn(f):f}let l=n;s!==e&&(a?l=function(f,d){return n.call(this,Hn(f),d,e)}:n.length>2&&(l=function(f,d){return n.call(this,f,d,e)}));const c=u.call(s,l,r);return a&&i?i(c):c}function aT(e,t,n,r){const i=m0(e);let o=n;return i!==e&&(Br(e)?n.length>3&&(o=function(s,a,u){return n.call(this,s,a,u,e)}):o=function(s,a,u){return n.call(this,s,Hn(a),u,e)}),i[t](o,...r)}function kv(e,t,n){const r=vt(e);Xn(r,"iterate",od);const i=r[t](...n);return(i===-1||i===!1)&&b0(n[0])?(n[0]=vt(n[0]),r[t](...n)):i}function Hc(e,t,n=[]){ca(),Kw();const r=vt(e)[t].apply(e,n);return qw(),fa(),r}const a8=f0("__proto__,__v_isRef,__isVue"),hA=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(eo));function u8(e){eo(e)||(e=String(e));const t=vt(this);return Xn(t,"has",e),t.hasOwnProperty(e)}class pA{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?wA:bA:o?yA:vA).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Ie(t);if(!i){let u;if(s&&(u=o8[n]))return u;if(n==="hasOwnProperty")return u8}const a=Reflect.get(t,n,bn(t)?t:r);return(eo(n)?hA.has(n):a8(n))||(i||Xn(t,"get",n),o)?a:bn(a)?s&&Ww(n)?a:a.value:kt(a)?i?Jw(a):Tu(a):a}}class mA extends pA{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const u=Js(o);if(!Br(r)&&!Js(r)&&(o=vt(o),r=vt(r)),!Ie(t)&&bn(o)&&!bn(r))return u?!1:(o.value=r,!0)}const s=Ie(t)&&Ww(n)?Number(n)<t.length:wt(t,n),a=Reflect.set(t,n,r,bn(t)?t:i);return t===vt(i)&&(s?sr(r,o)&&$o(t,"set",n,r):$o(t,"add",n,r)),a}deleteProperty(t,n){const r=wt(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&$o(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!eo(n)||!hA.has(n))&&Xn(t,"has",n),r}ownKeys(t){return Xn(t,"iterate",Ie(t)?"length":Ka),Reflect.ownKeys(t)}}class gA extends pA{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const l8=new mA,c8=new gA,f8=new mA(!0),d8=new gA(!0),Xw=e=>e,g0=e=>Reflect.getPrototypeOf(e);function Mh(e,t,n=!1,r=!1){e=e.__v_raw;const i=vt(e),o=vt(t);n||(sr(t,o)&&Xn(i,"get",t),Xn(i,"get",o));const{has:s}=g0(i),a=r?Xw:n?Qw:Hn;if(s.call(i,t))return a(e.get(t));if(s.call(i,o))return a(e.get(o));e!==i&&e.get(t)}function Lh(e,t=!1){const n=this.__v_raw,r=vt(n),i=vt(e);return t||(sr(e,i)&&Xn(r,"has",e),Xn(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function $h(e,t=!1){return e=e.__v_raw,!t&&Xn(vt(e),"iterate",Ka),Reflect.get(e,"size",e)}function uT(e,t=!1){!t&&!Br(e)&&!Js(e)&&(e=vt(e));const n=vt(this);return g0(n).has.call(n,e)||(n.add(e),$o(n,"add",e,e)),this}function lT(e,t,n=!1){!n&&!Br(t)&&!Js(t)&&(t=vt(t));const r=vt(this),{has:i,get:o}=g0(r);let s=i.call(r,e);s||(e=vt(e),s=i.call(r,e));const a=o.call(r,e);return r.set(e,t),s?sr(t,a)&&$o(r,"set",e,t):$o(r,"add",e,t),this}function cT(e){const t=vt(this),{has:n,get:r}=g0(t);let i=n.call(t,e);i||(e=vt(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&$o(t,"delete",e,void 0),o}function fT(){const e=vt(this),t=e.size!==0,n=e.clear();return t&&$o(e,"clear",void 0,void 0),n}function Fh(e,t){return function(r,i){const o=this,s=o.__v_raw,a=vt(s),u=t?Xw:e?Qw:Hn;return!e&&Xn(a,"iterate",Ka),s.forEach((l,c)=>r.call(i,u(l),u(c),o))}}function Bh(e,t,n){return function(...r){const i=this.__v_raw,o=vt(i),s=_l(o),a=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,l=i[e](...r),c=n?Xw:t?Qw:Hn;return!t&&Xn(o,"iterate",u?db:Ka),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function ds(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function h8(){const e={get(o){return Mh(this,o)},get size(){return $h(this)},has:Lh,add:uT,set:lT,delete:cT,clear:fT,forEach:Fh(!1,!1)},t={get(o){return Mh(this,o,!1,!0)},get size(){return $h(this)},has:Lh,add(o){return uT.call(this,o,!0)},set(o,s){return lT.call(this,o,s,!0)},delete:cT,clear:fT,forEach:Fh(!1,!0)},n={get(o){return Mh(this,o,!0)},get size(){return $h(this,!0)},has(o){return Lh.call(this,o,!0)},add:ds("add"),set:ds("set"),delete:ds("delete"),clear:ds("clear"),forEach:Fh(!0,!1)},r={get(o){return Mh(this,o,!0,!0)},get size(){return $h(this,!0)},has(o){return Lh.call(this,o,!0)},add:ds("add"),set:ds("set"),delete:ds("delete"),clear:ds("clear"),forEach:Fh(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Bh(o,!1,!1),n[o]=Bh(o,!0,!1),t[o]=Bh(o,!1,!0),r[o]=Bh(o,!0,!0)}),[e,n,t,r]}const[p8,m8,g8,v8]=h8();function v0(e,t){const n=t?e?v8:g8:e?m8:p8;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(wt(n,i)&&i in r?n:r,i,o)}const y8={get:v0(!1,!1)},b8={get:v0(!1,!0)},w8={get:v0(!0,!1)},E8={get:v0(!0,!0)},vA=new WeakMap,yA=new WeakMap,bA=new WeakMap,wA=new WeakMap;function S8(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function x8(e){return e.__v_skip||!Object.isExtensible(e)?0:S8(UL(e))}function Tu(e){return Js(e)?e:y0(e,!1,l8,y8,vA)}function EA(e){return y0(e,!1,f8,b8,yA)}function Jw(e){return y0(e,!0,c8,w8,bA)}function T8(e){return y0(e,!0,d8,E8,wA)}function y0(e,t,n,r,i){if(!kt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=x8(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function Hs(e){return Js(e)?Hs(e.__v_raw):!!(e&&e.__v_isReactive)}function Js(e){return!!(e&&e.__v_isReadonly)}function Br(e){return!!(e&&e.__v_isShallow)}function b0(e){return e?!!e.__v_raw:!1}function vt(e){const t=e&&e.__v_raw;return t?vt(t):e}function SA(e){return!wt(e,"__v_skip")&&Object.isExtensible(e)&&QC(e,"__v_skip",!0),e}const Hn=e=>kt(e)?Tu(e):e,Qw=e=>kt(e)?Jw(e):e;function bn(e){return e?e.__v_isRef===!0:!1}function Je(e){return xA(e,!1)}function gc(e){return xA(e,!0)}function xA(e,t){return bn(e)?e:new _8(e,t)}class _8{constructor(t,n){this.dep=new p0,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:vt(t),this._value=n?t:Hn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Br(t)||Js(t);t=r?t:vt(t),sr(t,n)&&(this._rawValue=t,this._value=r?t:Hn(t),this.dep.trigger())}}function hb(e){e.dep&&e.dep.trigger()}function ln(e){return bn(e)?e.value:e}function O8(e){return Be(e)?e():ln(e)}const I8={get:(e,t,n)=>t==="__v_raw"?e:ln(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return bn(i)&&!bn(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Zw(e){return Hs(e)?e:new Proxy(e,I8)}class C8{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new p0,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function TA(e){return new C8(e)}function is(e){const t=Ie(e)?new Array(e.length):{};for(const n in e)t[n]=OA(e,n);return t}class A8{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return i8(vt(this._object),this._key)}}class k8{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 _A(e,t,n){return bn(e)?e:Be(e)?new k8(e):kt(e)&&arguments.length>1?OA(e,t,n):Je(e)}function OA(e,t,n){const r=e[t];return bn(r)?r:new A8(e,t,n)}class R8{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new p0(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=id-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ft!==this)return aA(this),!0}get value(){const t=this.dep.track();return cA(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function P8(e,t,n=!1){let r,i;return Be(e)?r=e:(r=e.get,i=e.set),new R8(r,i,n)}const D8={GET:"get",HAS:"has",ITERATE:"iterate"},N8={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},jh={},Nm=new WeakMap;let Ss;function M8(){return Ss}function IA(e,t=!1,n=Ss){if(n){let r=Nm.get(n);r||Nm.set(n,r=[]),r.push(e)}}function L8(e,t,n=ht){const{immediate:r,deep:i,once:o,scheduler:s,augmentJob:a,call:u}=n,l=w=>i?w:Br(w)||i===!1||i===0?Po(w,1):Po(w);let c,f,d,h,p=!1,m=!1;if(bn(e)?(f=()=>e.value,p=Br(e)):Hs(e)?(f=()=>l(e),p=!0):Ie(e)?(m=!0,p=e.some(w=>Hs(w)||Br(w)),f=()=>e.map(w=>{if(bn(w))return w.value;if(Hs(w))return l(w);if(Be(w))return u?u(w,2):w()})):Be(e)?t?f=u?()=>u(e,2):e:f=()=>{if(d){ca();try{d()}finally{fa()}}const w=Ss;Ss=c;try{return u?u(e,3,[h]):e(h)}finally{Ss=w}}:f=Ei,t&&i){const w=f,S=i===!0?1/0:i;f=()=>Po(w(),S)}const g=iA(),v=()=>{c.stop(),g&&zw(g.effects,c)};if(o&&t){const w=t;t=(...S)=>{w(...S),v()}}let y=m?new Array(e.length).fill(jh):jh;const b=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const S=c.run();if(i||p||(m?S.some((E,_)=>sr(E,y[_])):sr(S,y))){d&&d();const E=Ss;Ss=c;try{const _=[S,y===jh?void 0:m&&y[0]===jh?[]:y,h];u?u(t,3,_):t(..._),y=S}finally{Ss=E}}}else c.run()};return a&&a(b),c=new rd(f),c.scheduler=s?()=>s(b,!1):b,h=w=>IA(w,!1,c),d=c.onStop=()=>{const w=Nm.get(c);if(w){if(u)u(w,4);else for(const S of w)S();Nm.delete(c)}},t?r?b(!0):y=c.run():s?s(b.bind(null,!0),!0):c.run(),v.pause=c.pause.bind(c),v.resume=c.resume.bind(c),v.stop=v,v}function Po(e,t=1/0,n){if(t<=0||!kt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,bn(e))Po(e.value,t,n);else if(Ie(e))for(let r=0;r<e.length;r++)Po(e[r],t,n);else if(xu(e)||_l(e))e.forEach(r=>{Po(r,t,n)});else if(Ga(e)){for(const r in e)Po(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Po(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const CA=[];function $8(e){CA.push(e)}function F8(){CA.pop()}function B8(e,t){}const j8={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},H8={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function vc(e,t,n,r){try{return r?e(...r):e()}catch(i){_u(i,t,n)}}function ti(e,t,n,r){if(Be(e)){const i=vc(e,t,n,r);return i&&Vw(i)&&i.catch(o=>{_u(o,t,n)}),i}if(Ie(e)){const i=[];for(let o=0;o<e.length;o++)i.push(ti(e[o],t,n,r));return i}}function _u(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||ht;if(t){let a=t.parent;const u=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,u,l)===!1)return}a=a.parent}if(o){ca(),vc(o,null,10,[e,u,l]),fa();return}}U8(e,n,i,r,s)}function U8(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}let sd=!1,pb=!1;const ar=[];let Li=0;const Cl=[];let xs=null,rl=0;const AA=Promise.resolve();let eE=null;function to(e){const t=eE||AA;return e?t.then(this?e.bind(this):e):t}function z8(e){let t=sd?Li+1:0,n=ar.length;for(;t<n;){const r=t+n>>>1,i=ar[r],o=ad(i);o<e||o===e&&i.flags&2?t=r+1:n=r}return t}function tE(e){if(!(e.flags&1)){const t=ad(e),n=ar[ar.length-1];!n||!(e.flags&2)&&t>=ad(n)?ar.push(e):ar.splice(z8(t),0,e),e.flags|=1,kA()}}function kA(){!sd&&!pb&&(pb=!0,eE=AA.then(RA))}function Mm(e){Ie(e)?Cl.push(...e):xs&&e.id===-1?xs.splice(rl+1,0,e):e.flags&1||(Cl.push(e),e.flags|=1),kA()}function dT(e,t,n=sd?Li+1:0){for(;n<ar.length;n++){const r=ar[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ar.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Lm(e){if(Cl.length){const t=[...new Set(Cl)].sort((n,r)=>ad(n)-ad(r));if(Cl.length=0,xs){xs.push(...t);return}for(xs=t,rl=0;rl<xs.length;rl++){const n=xs[rl];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xs=null,rl=0}}const ad=e=>e.id==null?e.flags&2?-1:1/0:e.id;function RA(e){pb=!1,sd=!0;try{for(Li=0;Li<ar.length;Li++){const t=ar[Li];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),vc(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Li<ar.length;Li++){const t=ar[Li];t&&(t.flags&=-2)}Li=0,ar.length=0,Lm(),sd=!1,eE=null,(ar.length||Cl.length)&&RA()}}let il,Hh=[];function PA(e,t){var n,r;il=e,il?(il.enabled=!0,Hh.forEach(({event:i,args:o})=>il.emit(i,...o)),Hh=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{PA(o,t)}),setTimeout(()=>{il||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Hh=[])},3e3)):Hh=[]}let vn=null,w0=null;function ud(e){const t=vn;return vn=e,w0=e&&e.type.__scopeId||null,t}function DA(e){w0=e}function NA(){w0=null}const MA=e=>Fn;function Fn(e,t=vn,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Sb(-1);const o=ud(t);let s;try{s=e(...i)}finally{ud(o),r._d&&Sb(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function qa(e,t){if(vn===null)return e;const n=Zd(vn),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,s,a,u=ht]=t[i];o&&(Be(o)&&(o={mounted:o,updated:o}),o.deep&&Po(s),r.push({dir:o,instance:n,value:s,oldValue:void 0,arg:a,modifiers:u}))}return e}function Fi(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let u=a.dir[r];u&&(ca(),ti(u,n,8,[e.el,a,e,t]),fa())}}const LA=Symbol("_vte"),$A=e=>e.__isTeleport,Sf=e=>e&&(e.disabled||e.disabled===""),V8=e=>e&&(e.defer||e.defer===""),hT=e=>typeof SVGElement<"u"&&e instanceof SVGElement,pT=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,mb=(e,t)=>{const n=e&&e.to;return Ut(n)?t?t(n):null:n},W8={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,s,a,u,l){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:g}}=l,v=Sf(t.props);let{shapeFlag:y,children:b,dynamicChildren:w}=t;if(e==null){const S=t.el=m(""),E=t.anchor=m("");h(S,n,r),h(E,n,r);const _=(O,T)=>{y&16&&(i&&i.isCE&&(i.ce._teleportTarget=O),c(b,O,T,i,o,s,a,u))},C=()=>{const O=t.target=mb(t.props,p),T=FA(O,t,m,h);O&&(s!=="svg"&&hT(O)?s="svg":s!=="mathml"&&pT(O)&&(s="mathml"),v||(_(O,T),qp(t)))};v&&(_(n,E),qp(t)),V8(t.props)?Cn(C,o):C()}else{t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,E=t.target=e.target,_=t.targetAnchor=e.targetAnchor,C=Sf(e.props),O=C?n:E,T=C?S:_;if(s==="svg"||hT(E)?s="svg":(s==="mathml"||pT(E))&&(s="mathml"),w?(d(e.dynamicChildren,w,O,i,o,s,a),hE(e,t,!0)):u||f(e,t,O,T,i,o,s,a,!1),v)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Uh(t,n,S,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const x=t.target=mb(t.props,p);x&&Uh(t,x,null,l,0)}else C&&Uh(t,E,_,l,1);qp(t)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:s,children:a,anchor:u,targetStart:l,targetAnchor:c,target:f,props:d}=e;if(f&&(i(l),i(c)),o&&i(u),s&16){const h=o||!Sf(d);for(let p=0;p<a.length;p++){const m=a[p];r(m,t,n,h,!!m.dynamicChildren)}}},move:Uh,hydrate:G8};function Uh(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:u,children:l,props:c}=e,f=o===2;if(f&&r(s,t,n),(!f||Sf(c))&&u&16)for(let d=0;d<l.length;d++)i(l[d],t,n,2);f&&r(a,t,n)}function G8(e,t,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:u,insert:l,createText:c}},f){const d=t.target=mb(t.props,u);if(d){const h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Sf(t.props))t.anchor=f(s(e),t,a(e),n,r,i,o),t.targetStart=h,t.targetAnchor=h&&s(h);else{t.anchor=s(e);let p=h;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&s(t.targetAnchor);break}}p=s(p)}t.targetAnchor||FA(d,t,c,l),f(h&&s(h),t,d,n,r,i,o)}qp(t)}return t.anchor&&s(t.anchor)}const yc=W8;function qp(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function FA(e,t,n,r){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[LA]=o,e&&(r(i,e),r(o,e)),o}const Ts=Symbol("_leaveCb"),zh=Symbol("_enterCb");function nE(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ni(()=>{e.isMounted=!0}),Xd(()=>{e.isUnmounting=!0}),e}const Wr=[Function,Array],rE={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wr,onEnter:Wr,onAfterEnter:Wr,onEnterCancelled:Wr,onBeforeLeave:Wr,onLeave:Wr,onAfterLeave:Wr,onLeaveCancelled:Wr,onBeforeAppear:Wr,onAppear:Wr,onAfterAppear:Wr,onAppearCancelled:Wr},BA=e=>{const t=e.subTree;return t.component?BA(t.component):t},K8={name:"BaseTransition",props:rE,setup(e,{slots:t}){const n=ai(),r=nE();return()=>{const i=t.default&&E0(t.default(),!0);if(!i||!i.length)return;const o=jA(i),s=vt(e),{mode:a}=s;if(r.isLeaving)return Rv(o);const u=mT(o);if(!u)return Rv(o);let l=jl(u,s,r,n,d=>l=d);u.type!==an&&Go(u,l);const c=n.subTree,f=c&&mT(c);if(f&&f.type!==an&&!yi(u,f)&&BA(n).type!==an){const d=jl(f,s,r,n);if(Go(f,d),a==="out-in"&&u.type!==an)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},Rv(o);a==="in-out"&&u.type!==an&&(d.delayLeave=(h,p,m)=>{const g=UA(r,f);g[String(f.key)]=f,h[Ts]=()=>{p(),h[Ts]=void 0,delete l.delayedLeave},l.delayedLeave=m})}return o}}};function jA(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==an){t=n;break}}return t}const HA=K8;function UA(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 jl(e,t,n,r,i){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,w=String(e.key),S=UA(n,e),E=(O,T)=>{O&&ti(O,r,9,T)},_=(O,T)=>{const x=T[1];E(O,T),Ie(O)?O.every(I=>I.length<=1)&&x():O.length<=1&&x()},C={mode:s,persisted:a,beforeEnter(O){let T=u;if(!n.isMounted)if(o)T=g||u;else return;O[Ts]&&O[Ts](!0);const x=S[w];x&&yi(e,x)&&x.el[Ts]&&x.el[Ts](),E(T,[O])},enter(O){let T=l,x=c,I=f;if(!n.isMounted)if(o)T=v||l,x=y||c,I=b||f;else return;let A=!1;const D=O[zh]=R=>{A||(A=!0,R?E(I,[O]):E(x,[O]),C.delayedLeave&&C.delayedLeave(),O[zh]=void 0)};T?_(T,[O,D]):D()},leave(O,T){const x=String(e.key);if(O[zh]&&O[zh](!0),n.isUnmounting)return T();E(d,[O]);let I=!1;const A=O[Ts]=D=>{I||(I=!0,T(),D?E(m,[O]):E(p,[O]),O[Ts]=void 0,S[x]===e&&delete S[x])};S[x]=e,h?_(h,[O,A]):A()},clone(O){const T=jl(O,t,n,r,i);return i&&i(T),T}};return C}function Rv(e){if(Yd(e))return e=ro(e),e.children=null,e}function mT(e){if(!Yd(e))return $A(e.type)&&e.children?jA(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Be(n.default))return n.default()}}function Go(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Go(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function E0(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let s=e[o];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:o);s.type===jt?(s.patchFlag&128&&i++,r=r.concat(E0(s.children,t,a))):(t||s.type!==an)&&r.push(a!=null?ro(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function xt(e,t){return Be(e)?Ht({name:e.name},t,{setup:e}):e}function da(){const e=ai();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function iE(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function q8(e){const t=ai(),n=gc(null);if(t){const i=t.refs===ht?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function $m(e,t,n,r,i=!1){if(Ie(e)){e.forEach((p,m)=>$m(p,t&&(Ie(t)?t[m]:t),n,r,i));return}if(Us(r)&&!i)return;const o=r.shapeFlag&4?Zd(r.component):r.el,s=i?null:o,{i:a,r:u}=e,l=t&&t.r,c=a.refs===ht?a.refs={}:a.refs,f=a.setupState,d=vt(f),h=f===ht?()=>!1:p=>wt(d,p);if(l!=null&&l!==u&&(Ut(l)?(c[l]=null,h(l)&&(f[l]=null)):bn(l)&&(l.value=null)),Be(u))vc(u,a,12,[s,c]);else{const p=Ut(u),m=bn(u);if(p||m){const g=()=>{if(e.f){const v=p?h(u)?f[u]:c[u]:u.value;i?Ie(v)&&zw(v,o):Ie(v)?v.includes(o)||v.push(o):p?(c[u]=[o],h(u)&&(f[u]=c[u])):(u.value=[o],e.k&&(c[e.k]=u.value))}else p?(c[u]=s,h(u)&&(f[u]=s)):m&&(u.value=s,e.k&&(c[e.k]=s))};s?(g.id=-1,Cn(g,n)):g()}}}let gT=!1;const Hu=()=>{gT||(console.error("Hydration completed but contains mismatches."),gT=!0)},Y8=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",X8=e=>e.namespaceURI.includes("MathML"),Vh=e=>{if(e.nodeType===1){if(Y8(e))return"svg";if(X8(e))return"mathml"}},ml=e=>e.nodeType===8;function J8(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:s,remove:a,insert:u,createComment:l}}=e,c=(b,w)=>{if(!w.hasChildNodes()){n(null,b,w),Lm(),w._vnode=b;return}f(w.firstChild,b,null,null,null),Lm(),w._vnode=b},f=(b,w,S,E,_,C=!1)=>{C=C||!!w.dynamicChildren;const O=ml(b)&&b.data==="[",T=()=>m(b,w,S,E,_,O),{type:x,ref:I,shapeFlag:A,patchFlag:D}=w;let R=b.nodeType;w.el=b,D===-2&&(C=!1,w.dynamicChildren=null);let k=null;switch(x){case zs:R!==3?w.children===""?(u(w.el=i(""),s(b),b),k=b):k=T():(b.data!==w.children&&(Hu(),b.data=w.children),k=o(b));break;case an:y(b)?(k=o(b),v(w.el=b.content.firstChild,b,S)):R!==8||O?k=T():k=o(b);break;case Xa:if(O&&(b=o(b),R=b.nodeType),R===1||R===3){k=b;const P=!w.children.length;for(let N=0;N<w.staticCount;N++)P&&(w.children+=k.nodeType===1?k.outerHTML:k.data),N===w.staticCount-1&&(w.anchor=k),k=o(k);return O?o(k):k}else T();break;case jt:O?k=p(b,w,S,E,_,C):k=T();break;default:if(A&1)(R!==1||w.type.toLowerCase()!==b.tagName.toLowerCase())&&!y(b)?k=T():k=d(b,w,S,E,_,C);else if(A&6){w.slotScopeIds=_;const P=s(b);if(O?k=g(b):ml(b)&&b.data==="teleport start"?k=g(b,b.data,"teleport end"):k=o(b),t(w,P,null,S,E,Vh(P),C),Us(w)){let N;O?(N=te(jt),N.anchor=k?k.previousSibling:P.lastChild):N=b.nodeType===3?$n(""):te("div"),N.el=b,w.component.subTree=N}}else A&64?R!==8?k=T():k=w.type.hydrate(b,w,S,E,_,C,e,h):A&128&&(k=w.type.hydrate(b,w,S,E,Vh(s(b)),_,C,e,f))}return I!=null&&$m(I,null,E,w),k},d=(b,w,S,E,_,C)=>{C=C||!!w.dynamicChildren;const{type:O,props:T,patchFlag:x,shapeFlag:I,dirs:A,transition:D}=w,R=O==="input"||O==="option";if(R||x!==-1){A&&Fi(w,null,S,"created");let k=!1;if(y(b)){k=fk(E,D)&&S&&S.vnode.props&&S.vnode.props.appear;const N=b.content.firstChild;k&&D.beforeEnter(N),v(N,b,S),w.el=b=N}if(I&16&&!(T&&(T.innerHTML||T.textContent))){let N=h(b.firstChild,w,b,S,E,_,C);for(;N;){Wh(b,1)||Hu();const $=N;N=N.nextSibling,a($)}}else if(I&8){let N=w.children;N[0]===`
`&&(b.tagName==="PRE"||b.tagName==="TEXTAREA")&&(N=N.slice(1)),b.textContent!==N&&(Wh(b,0)||Hu(),b.textContent=w.children)}if(T){if(R||!C||x&48){const N=b.tagName.includes("-");for(const $ in T)(R&&($.endsWith("value")||$==="indeterminate")||Kd($)&&!Ol($)||$[0]==="."||N)&&r(b,$,null,T[$],void 0,S)}else if(T.onClick)r(b,"onClick",null,T.onClick,void 0,S);else if(x&4&&Hs(T.style))for(const N in T.style)T.style[N]}let P;(P=T&&T.onVnodeBeforeMount)&&yr(P,S,w),A&&Fi(w,null,S,"beforeMount"),((P=T&&T.onVnodeMounted)||A||k)&&Ek(()=>{P&&yr(P,S,w),k&&D.enter(b),A&&Fi(w,null,S,"mounted")},E)}return b.nextSibling},h=(b,w,S,E,_,C,O)=>{O=O||!!w.dynamicChildren;const T=w.children,x=T.length;for(let I=0;I<x;I++){const A=O?T[I]:T[I]=wr(T[I]),D=A.type===zs;b?(D&&!O&&I+1<x&&wr(T[I+1]).type===zs&&(u(i(b.data.slice(A.children.length)),S,o(b)),b.data=A.children),b=f(b,A,E,_,C,O)):D&&!A.children?u(A.el=i(""),S):(Wh(S,1)||Hu(),n(null,A,S,null,E,_,Vh(S),C))}return b},p=(b,w,S,E,_,C)=>{const{slotScopeIds:O}=w;O&&(_=_?_.concat(O):O);const T=s(b),x=h(o(b),w,T,S,E,_,C);return x&&ml(x)&&x.data==="]"?o(w.anchor=x):(Hu(),u(w.anchor=l("]"),T,x),x)},m=(b,w,S,E,_,C)=>{if(Wh(b.parentElement,1)||Hu(),w.el=null,C){const x=g(b);for(;;){const I=o(b);if(I&&I!==x)a(I);else break}}const O=o(b),T=s(b);return a(b),n(null,w,T,O,S,E,Vh(T),_),O},g=(b,w="[",S="]")=>{let E=0;for(;b;)if(b=o(b),b&&ml(b)&&(b.data===w&&E++,b.data===S)){if(E===0)return o(b);E--}return b},v=(b,w,S)=>{const E=w.parentNode;E&&E.replaceChild(b,w);let _=S;for(;_;)_.vnode.el===w&&(_.vnode.el=_.subTree.el=b),_=_.parent},y=b=>b.nodeType===1&&b.tagName==="TEMPLATE";return[c,f]}const vT="data-allow-mismatch",Q8={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Wh(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(vT);)e=e.parentElement;const n=e&&e.getAttribute(vT);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Q8[t])}}const Z8=(e=1e4)=>t=>{const n=requestIdleCallback(t,{timeout:e});return()=>cancelIdleCallback(n)};function e$(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:s}=window;return(t>0&&t<o||r>0&&r<o)&&(n>0&&n<s||i>0&&i<s)}const t$=e=>(t,n)=>{const r=new IntersectionObserver(i=>{for(const o of i)if(o.isIntersecting){r.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(e$(i))return t(),r.disconnect(),!1;r.observe(i)}}),()=>r.disconnect()},n$=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},r$=(e=[])=>(t,n)=>{Ut(e)&&(e=[e]);let r=!1;const i=s=>{r||(r=!0,o(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},o=()=>{n(s=>{for(const a of e)s.removeEventListener(a,i)})};return n(s=>{for(const a of e)s.addEventListener(a,i,{once:!0})}),o};function i$(e,t){if(ml(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ml(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Us=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function o$(e){Be(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:s,suspensible:a=!0,onError:u}=e;let l=null,c,f=0;const d=()=>(f++,l=null,h()),h=()=>{let p;return l||(p=l=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),u)return new Promise((g,v)=>{u(m,()=>g(d()),()=>v(m),f+1)});throw m}).then(m=>p!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return xt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,m,g){const v=o?()=>{const y=o(g,b=>i$(p,b));y&&(m.bum||(m.bum=[])).push(y)}:g;c?v():h().then(()=>!m.isUnmounted&&v())},get __asyncResolved(){return c},setup(){const p=mn;if(iE(p),c)return()=>Pv(c,p);const m=b=>{l=null,_u(b,p,13,!r)};if(a&&p.suspense||Qd)return h().then(b=>()=>Pv(b,p)).catch(b=>(m(b),()=>r?te(r,{error:b}):null));const g=Je(!1),v=Je(),y=Je(!!i);return i&&setTimeout(()=>{y.value=!1},i),s!=null&&setTimeout(()=>{if(!g.value&&!v.value){const b=new Error(`Async component timed out after ${s}ms.`);m(b),v.value=b}},s),h().then(()=>{g.value=!0,p.parent&&Yd(p.parent.vnode)&&p.parent.update()}).catch(b=>{m(b),v.value=b}),()=>{if(g.value&&c)return Pv(c,p);if(v.value&&r)return te(r,{error:v.value});if(n&&!y.value)return te(n)}}})}function Pv(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,s=te(e,r,i);return s.ref=n,s.ce=o,delete t.vnode.ce,s}const Yd=e=>e.type.__isKeepAlive,s$={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ai(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,o=new Set;let s=null;const a=n.suspense,{renderer:{p:u,m:l,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(y,b,w,S,E)=>{const _=y.component;l(y,b,w,0,a),u(_.vnode,y,b,w,_,a,S,y.slotScopeIds,E),Cn(()=>{_.isDeactivated=!1,_.a&&Il(_.a);const C=y.props&&y.props.onVnodeMounted;C&&yr(C,_.parent,y)},a)},r.deactivate=y=>{const b=y.component;Bm(b.m),Bm(b.a),l(y,d,null,1,a),Cn(()=>{b.da&&Il(b.da);const w=y.props&&y.props.onVnodeUnmounted;w&&yr(w,b.parent,y),b.isDeactivated=!0},a)};function h(y){Dv(y),c(y,n,a,!0)}function p(y){i.forEach((b,w)=>{const S=Ib(b.type);S&&!y(S)&&m(w)})}function m(y){const b=i.get(y);b&&(!s||!yi(b,s))?h(b):s&&Dv(s),i.delete(y),o.delete(y)}on(()=>[e.include,e.exclude],([y,b])=>{y&&p(w=>cf(y,w)),b&&p(w=>!cf(b,w))},{flush:"post",deep:!0});let g=null;const v=()=>{g!=null&&(jm(n.subTree.type)?Cn(()=>{i.set(g,Gh(n.subTree))},n.subTree.suspense):i.set(g,Gh(n.subTree)))};return ni(v),x0(v),Xd(()=>{i.forEach(y=>{const{subTree:b,suspense:w}=n,S=Gh(b);if(y.type===S.type&&y.key===S.key){Dv(S);const E=S.component.da;E&&Cn(E,w);return}h(y)})}),()=>{if(g=null,!t.default)return s=null;const y=t.default(),b=y[0];if(y.length>1)return s=null,y;if(!no(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return s=null,b;let w=Gh(b);if(w.type===an)return s=null,w;const S=w.type,E=Ib(Us(w)?w.type.__asyncResolved||{}:S),{include:_,exclude:C,max:O}=e;if(_&&(!E||!cf(_,E))||C&&E&&cf(C,E))return w.shapeFlag&=-257,s=w,b;const T=w.key==null?S:w.key,x=i.get(T);return w.el&&(w=ro(w),b.shapeFlag&128&&(b.ssContent=w)),g=T,x?(w.el=x.el,w.component=x.component,w.transition&&Go(w,w.transition),w.shapeFlag|=512,o.delete(T),o.add(T)):(o.add(T),O&&o.size>parseInt(O,10)&&m(o.values().next().value)),w.shapeFlag|=256,s=w,jm(b.type)?b:w}}},a$=s$;function cf(e,t){return Ie(e)?e.some(n=>cf(n,t)):Ut(e)?e.split(",").includes(t):HL(e)?(e.lastIndex=0,e.test(t)):!1}function oE(e,t){zA(e,"a",t)}function sE(e,t){zA(e,"da",t)}function zA(e,t,n=mn){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(S0(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Yd(i.parent.vnode)&&u$(r,t,n,i),i=i.parent}}function u$(e,t,n,r){const i=S0(t,e,r,!0);ha(()=>{zw(r[t],i)},n)}function Dv(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Gh(e){return e.shapeFlag&128?e.ssContent:e}function S0(e,t,n=mn,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{ca();const a=lu(n),u=ti(t,n,e,s);return a(),fa(),u});return r?i.unshift(o):i.push(o),o}}const os=e=>(t,n=mn)=>{(!Qd||e==="sp")&&S0(e,(...r)=>t(...r),n)},aE=os("bm"),ni=os("m"),VA=os("bu"),x0=os("u"),Xd=os("bum"),ha=os("um"),WA=os("sp"),GA=os("rtg"),KA=os("rtc");function qA(e,t=mn){S0("ec",e,t)}const uE="components",l$="directives";function Hr(e,t){return lE(uE,e,!0,t)||e}const YA=Symbol.for("v-ndc");function c$(e){return Ut(e)?lE(uE,e,!1)||e:e||YA}function f$(e){return lE(l$,e)}function lE(e,t,n=!0,r=!1){const i=vn||mn;if(i){const o=i.type;if(e===uE){const a=Ib(o,!1);if(a&&(a===t||a===qn(t)||a===qd(qn(t))))return o}const s=yT(i[e]||o[e],t)||yT(i.appContext[e],t);return!s&&r?o:s}}function yT(e,t){return e&&(e[t]||e[qn(t)]||e[qd(qn(t))])}function su(e,t,n,r){let i;const o=n&&n[r],s=Ie(e);if(s||Ut(e)){const a=s&&Hs(e);let u=!1;a&&(u=!Br(e),e=m0(e)),i=new Array(e.length);for(let l=0,c=e.length;l<c;l++)i[l]=t(u?Hn(e[l]):e[l],l,void 0,o&&o[l])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,o&&o[a])}else if(kt(e))if(e[Symbol.iterator])i=Array.from(e,(a,u)=>t(a,u,void 0,o&&o[u]));else{const a=Object.keys(e);i=new Array(a.length);for(let u=0,l=a.length;u<l;u++){const c=a[u];i[u]=t(e[c],c,u,o&&o[u])}}else i=[];return n&&(n[r]=i),i}function d$(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ie(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function Nt(e,t,n={},r,i){if(vn.ce||vn.parent&&Us(vn.parent)&&vn.parent.ce)return t!=="default"&&(n.name=t),Se(),Ur(jt,null,[te("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),Se();const s=o&&cE(o(n)),a=Ur(jt,{key:(n.key||s&&s.key||`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function cE(e){return e.some(t=>no(t)?!(t.type===an||t.type===jt&&!cE(t.children)):!0)?e:null}function h$(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Ef(r)]=e[r];return n}const gb=e=>e?Ok(e)?Zd(e):gb(e.parent):null,xf=Ht(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=>gb(e.parent),$root:e=>gb(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>fE(e),$forceUpdate:e=>e.f||(e.f=()=>{tE(e.update)}),$nextTick:e=>e.n||(e.n=to.bind(e.proxy)),$watch:e=>U$.bind(e)}),Nv=(e,t)=>e!==ht&&!e.__isScriptSetup&&wt(e,t),vb={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:a,appContext:u}=e;let l;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Nv(r,t))return s[t]=1,r[t];if(i!==ht&&wt(i,t))return s[t]=2,i[t];if((l=e.propsOptions[0])&&wt(l,t))return s[t]=3,o[t];if(n!==ht&&wt(n,t))return s[t]=4,n[t];yb&&(s[t]=0)}}const c=xf[t];let f,d;if(c)return t==="$attrs"&&Xn(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ht&&wt(n,t))return s[t]=4,n[t];if(d=u.config.globalProperties,wt(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Nv(i,t)?(i[t]=n,!0):r!==ht&&wt(r,t)?(r[t]=n,!0):wt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let a;return!!n[s]||e!==ht&&wt(e,s)||Nv(t,s)||(a=o[0])&&wt(a,s)||wt(r,s)||wt(xf,s)||wt(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:wt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},p$=Ht({},vb,{get(e,t){if(t!==Symbol.unscopables)return vb.get(e,t,e)},has(e,t){return t[0]!=="_"&&!GL(t)}});function m$(){return null}function g$(){return null}function v$(e){}function y$(e){}function b$(){return null}function w$(){}function E$(e,t){return null}function S$(){return XA().slots}function x$(){return XA().attrs}function XA(){const e=ai();return e.setupContext||(e.setupContext=Ak(e))}function ld(e){return Ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function T$(e,t){const n=ld(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?Ie(i)||Be(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function au(e,t){return!e||!t?e||t:Ie(e)&&Ie(t)?e.concat(t):Ht({},ld(e),ld(t))}function _$(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function O$(e){const t=ai();let n=e();return Tb(),Vw(n)&&(n=n.catch(r=>{throw lu(t),r})),[n,()=>lu(t)]}let yb=!0;function I$(e){const t=fE(e),n=e.proxy,r=e.ctx;yb=!1,t.beforeCreate&&bT(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:a,provide:u,inject:l,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:y,destroyed:b,unmounted:w,render:S,renderTracked:E,renderTriggered:_,errorCaptured:C,serverPrefetch:O,expose:T,inheritAttrs:x,components:I,directives:A,filters:D}=t;if(l&&C$(l,r,null),s)for(const P in s){const N=s[P];Be(N)&&(r[P]=N.bind(n))}if(i){const P=i.call(n,n);kt(P)&&(e.data=Tu(P))}if(yb=!0,o)for(const P in o){const N=o[P],$=Be(N)?N.bind(n,n):Be(N.get)?N.get.bind(n,n):Ei,F=!Be(N)&&Be(N.set)?N.set.bind(n):Ei,V=_e({get:$,set:F});Object.defineProperty(r,P,{enumerable:!0,configurable:!0,get:()=>V.value,set:H=>V.value=H})}if(a)for(const P in a)JA(a[P],r,n,P);if(u){const P=Be(u)?u.call(n):u;Reflect.ownKeys(P).forEach(N=>{Fo(N,P[N])})}c&&bT(c,e,"c");function k(P,N){Ie(N)?N.forEach($=>P($.bind(n))):N&&P(N.bind(n))}if(k(aE,f),k(ni,d),k(VA,h),k(x0,p),k(oE,m),k(sE,g),k(qA,C),k(KA,E),k(GA,_),k(Xd,y),k(ha,w),k(WA,O),Ie(T))if(T.length){const P=e.exposed||(e.exposed={});T.forEach(N=>{Object.defineProperty(P,N,{get:()=>n[N],set:$=>n[N]=$})})}else e.exposed||(e.exposed={});S&&e.render===Ei&&(e.render=S),x!=null&&(e.inheritAttrs=x),I&&(e.components=I),A&&(e.directives=A),O&&iE(e)}function C$(e,t,n=Ei){Ie(e)&&(e=bb(e));for(const r in e){const i=e[r];let o;kt(i)?"default"in i?o=cn(i.from||r,i.default,!0):o=cn(i.from||r):o=cn(i),bn(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[r]=o}}function bT(e,t,n){ti(Ie(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function JA(e,t,n,r){let i=r.includes(".")?vk(n,r):()=>n[r];if(Ut(e)){const o=t[e];Be(o)&&on(i,o)}else if(Be(e))on(i,e.bind(n));else if(kt(e))if(Ie(e))e.forEach(o=>JA(o,t,n,r));else{const o=Be(e.handler)?e.handler.bind(n):t[e.handler];Be(o)&&on(i,o,e)}}function fE(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let u;return a?u=a:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(l=>Fm(u,l,s,!0)),Fm(u,t,s)),kt(t)&&o.set(t,u),u}function Fm(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Fm(e,o,n,!0),i&&i.forEach(s=>Fm(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=A$[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const A$={data:wT,props:ET,emits:ET,methods:ff,computed:ff,beforeCreate:tr,created:tr,beforeMount:tr,mounted:tr,beforeUpdate:tr,updated:tr,beforeDestroy:tr,beforeUnmount:tr,destroyed:tr,unmounted:tr,activated:tr,deactivated:tr,errorCaptured:tr,serverPrefetch:tr,components:ff,directives:ff,watch:R$,provide:wT,inject:k$};function wT(e,t){return t?e?function(){return Ht(Be(e)?e.call(this,this):e,Be(t)?t.call(this,this):t)}:t:e}function k$(e,t){return ff(bb(e),bb(t))}function bb(e){if(Ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function tr(e,t){return e?[...new Set([].concat(e,t))]:t}function ff(e,t){return e?Ht(Object.create(null),e,t):t}function ET(e,t){return e?Ie(e)&&Ie(t)?[...new Set([...e,...t])]:Ht(Object.create(null),ld(e),ld(t??{})):t}function R$(e,t){if(!e)return t;if(!t)return e;const n=Ht(Object.create(null),e);for(const r in t)n[r]=tr(e[r],t[r]);return n}function QA(){return{app:null,config:{isNativeTag:BL,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 P$=0;function D$(e,t){return function(r,i=null){Be(r)||(r=Ht({},r)),i!=null&&!kt(i)&&(i=null);const o=QA(),s=new WeakSet,a=[];let u=!1;const l=o.app={_uid:P$++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:Rk,get config(){return o.config},set config(c){},use(c,...f){return s.has(c)||(c&&Be(c.install)?(s.add(c),c.install(l,...f)):Be(c)&&(s.add(c),c(l,...f))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,f){return f?(o.components[c]=f,l):o.components[c]},directive(c,f){return f?(o.directives[c]=f,l):o.directives[c]},mount(c,f,d){if(!u){const h=l._ceVNode||te(r,i);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,c):e(h,c,d),u=!0,l._container=c,c.__vue_app__=l,Zd(h.component)}},onUnmount(c){a.push(c)},unmount(){u&&(ti(a,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(c,f){return o.provides[c]=f,l},runWithContext(c){const f=Ya;Ya=l;try{return c()}finally{Ya=f}}};return l}}let Ya=null;function Fo(e,t){if(mn){let n=mn.provides;const r=mn.parent&&mn.parent.provides;r===n&&(n=mn.provides=Object.create(r)),n[e]=t}}function cn(e,t,n=!1){const r=mn||vn;if(r||Ya){const i=Ya?Ya._context.provides:r?r.parent==null?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&&Be(t)?t.call(r&&r.proxy):t}}function N$(){return!!(mn||vn||Ya)}const ZA={},ek=()=>Object.create(ZA),tk=e=>Object.getPrototypeOf(e)===ZA;function M$(e,t,n,r=!1){const i={},o=ek();e.propsDefaults=Object.create(null),nk(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:EA(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function L$(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=vt(i),[u]=e.propsOptions;let l=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(T0(e.emitsOptions,d))continue;const h=t[d];if(u)if(wt(o,d))h!==o[d]&&(o[d]=h,l=!0);else{const p=qn(d);i[p]=wb(u,a,p,h,e,!1)}else h!==o[d]&&(o[d]=h,l=!0)}}}else{nk(e,t,i,o)&&(l=!0);let c;for(const f in a)(!t||!wt(t,f)&&((c=xr(f))===f||!wt(t,c)))&&(u?n&&(n[f]!==void 0||n[c]!==void 0)&&(i[f]=wb(u,a,f,void 0,e,!0)):delete i[f]);if(o!==a)for(const f in o)(!t||!wt(t,f))&&(delete o[f],l=!0)}l&&$o(e.attrs,"set","")}function nk(e,t,n,r){const[i,o]=e.propsOptions;let s=!1,a;if(t)for(let u in t){if(Ol(u))continue;const l=t[u];let c;i&&wt(i,c=qn(u))?!o||!o.includes(c)?n[c]=l:(a||(a={}))[c]=l:T0(e.emitsOptions,u)||(!(u in r)||l!==r[u])&&(r[u]=l,s=!0)}if(o){const u=vt(n),l=a||ht;for(let c=0;c<o.length;c++){const f=o[c];n[f]=wb(i,u,f,l[f],e,!wt(l,f))}}return s}function wb(e,t,n,r,i,o){const s=e[n];if(s!=null){const a=wt(s,"default");if(a&&r===void 0){const u=s.default;if(s.type!==Function&&!s.skipFactory&&Be(u)){const{propsDefaults:l}=i;if(n in l)r=l[n];else{const c=lu(i);r=l[n]=u.call(null,t),c()}}else r=u;i.ce&&i.ce._setProp(n,r)}s[0]&&(o&&!a?r=!1:s[1]&&(r===""||r===xr(n))&&(r=!0))}return r}const $$=new WeakMap;function rk(e,t,n=!1){const r=n?$$:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,s={},a=[];let u=!1;if(!Be(e)){const c=f=>{u=!0;const[d,h]=rk(f,t,!0);Ht(s,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!u)return kt(e)&&r.set(e,Tl),Tl;if(Ie(o))for(let c=0;c<o.length;c++){const f=qn(o[c]);ST(f)&&(s[f]=ht)}else if(o)for(const c in o){const f=qn(c);if(ST(f)){const d=o[c],h=s[f]=Ie(d)||Be(d)?{type:d}:Ht({},d),p=h.type;let m=!1,g=!0;if(Ie(p))for(let v=0;v<p.length;++v){const y=p[v],b=Be(y)&&y.name;if(b==="Boolean"){m=!0;break}else b==="String"&&(g=!1)}else m=Be(p)&&p.name==="Boolean";h[0]=m,h[1]=g,(m||wt(h,"default"))&&a.push(f)}}const l=[s,a];return kt(e)&&r.set(e,l),l}function ST(e){return e[0]!=="$"&&!Ol(e)}const ik=e=>e[0]==="_"||e==="$stable",dE=e=>Ie(e)?e.map(wr):[wr(e)],F$=(e,t,n)=>{if(t._n)return t;const r=Fn((...i)=>dE(t(...i)),n);return r._c=!1,r},ok=(e,t,n)=>{const r=e._ctx;for(const i in e){if(ik(i))continue;const o=e[i];if(Be(o))t[i]=F$(i,o,r);else if(o!=null){const s=dE(o);t[i]=()=>s}}},sk=(e,t)=>{const n=dE(t);e.slots.default=()=>n},ak=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},B$=(e,t,n)=>{const r=e.slots=ek();if(e.vnode.shapeFlag&32){const i=t._;i?(ak(r,t,n),n&&QC(r,"_",i,!0)):ok(t,r)}else t&&sk(e,t)},j$=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=ht;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:ak(i,t,n):(o=!t.$stable,ok(t,i)),s=t}else t&&(sk(e,t),s={default:1});if(o)for(const a in i)!ik(a)&&s[a]==null&&delete i[a]},Cn=Ek;function uk(e){return ck(e)}function lk(e){return ck(e,J8)}function ck(e,t){const n=ZC();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:a,createComment:u,setText:l,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Ei,insertStaticContent:p}=e,m=(M,L,K,re=null,Q=null,le=null,fe=void 0,ne=null,oe=!!L.dynamicChildren)=>{if(M===L)return;M&&!yi(M,L)&&(re=B(M),H(M,Q,le,!0),M=null),L.patchFlag===-2&&(oe=!1,L.dynamicChildren=null);const{type:ee,ref:pe,shapeFlag:ae}=L;switch(ee){case zs:g(M,L,K,re);break;case an:v(M,L,K,re);break;case Xa:M==null&&y(L,K,re,fe);break;case jt:I(M,L,K,re,Q,le,fe,ne,oe);break;default:ae&1?S(M,L,K,re,Q,le,fe,ne,oe):ae&6?A(M,L,K,re,Q,le,fe,ne,oe):(ae&64||ae&128)&&ee.process(M,L,K,re,Q,le,fe,ne,oe,de)}pe!=null&&Q&&$m(pe,M&&M.ref,le,L||M,!L)},g=(M,L,K,re)=>{if(M==null)r(L.el=a(L.children),K,re);else{const Q=L.el=M.el;L.children!==M.children&&l(Q,L.children)}},v=(M,L,K,re)=>{M==null?r(L.el=u(L.children||""),K,re):L.el=M.el},y=(M,L,K,re)=>{[M.el,M.anchor]=p(M.children,L,K,re,M.el,M.anchor)},b=({el:M,anchor:L},K,re)=>{let Q;for(;M&&M!==L;)Q=d(M),r(M,K,re),M=Q;r(L,K,re)},w=({el:M,anchor:L})=>{let K;for(;M&&M!==L;)K=d(M),i(M),M=K;i(L)},S=(M,L,K,re,Q,le,fe,ne,oe)=>{L.type==="svg"?fe="svg":L.type==="math"&&(fe="mathml"),M==null?E(L,K,re,Q,le,fe,ne,oe):O(M,L,Q,le,fe,ne,oe)},E=(M,L,K,re,Q,le,fe,ne)=>{let oe,ee;const{props:pe,shapeFlag:ae,transition:ye,dirs:Ce}=M;if(oe=M.el=s(M.type,le,pe&&pe.is,pe),ae&8?c(oe,M.children):ae&16&&C(M.children,oe,null,re,Q,Mv(M,le),fe,ne),Ce&&Fi(M,null,re,"created"),_(oe,M,M.scopeId,fe,re),pe){for(const et in pe)et!=="value"&&!Ol(et)&&o(oe,et,null,pe[et],le,re);"value"in pe&&o(oe,"value",null,pe.value,le),(ee=pe.onVnodeBeforeMount)&&yr(ee,re,M)}Ce&&Fi(M,null,re,"beforeMount");const Ke=fk(Q,ye);Ke&&ye.beforeEnter(oe),r(oe,L,K),((ee=pe&&pe.onVnodeMounted)||Ke||Ce)&&Cn(()=>{ee&&yr(ee,re,M),Ke&&ye.enter(oe),Ce&&Fi(M,null,re,"mounted")},Q)},_=(M,L,K,re,Q)=>{if(K&&h(M,K),re)for(let le=0;le<re.length;le++)h(M,re[le]);if(Q){let le=Q.subTree;if(L===le||jm(le.type)&&(le.ssContent===L||le.ssFallback===L)){const fe=Q.vnode;_(M,fe,fe.scopeId,fe.slotScopeIds,Q.parent)}}},C=(M,L,K,re,Q,le,fe,ne,oe=0)=>{for(let ee=oe;ee<M.length;ee++){const pe=M[ee]=ne?_s(M[ee]):wr(M[ee]);m(null,pe,L,K,re,Q,le,fe,ne)}},O=(M,L,K,re,Q,le,fe)=>{const ne=L.el=M.el;let{patchFlag:oe,dynamicChildren:ee,dirs:pe}=L;oe|=M.patchFlag&16;const ae=M.props||ht,ye=L.props||ht;let Ce;if(K&&xa(K,!1),(Ce=ye.onVnodeBeforeUpdate)&&yr(Ce,K,L,M),pe&&Fi(L,M,K,"beforeUpdate"),K&&xa(K,!0),(ae.innerHTML&&ye.innerHTML==null||ae.textContent&&ye.textContent==null)&&c(ne,""),ee?T(M.dynamicChildren,ee,ne,K,re,Mv(L,Q),le):fe||N(M,L,ne,null,K,re,Mv(L,Q),le,!1),oe>0){if(oe&16)x(ne,ae,ye,K,Q);else if(oe&2&&ae.class!==ye.class&&o(ne,"class",null,ye.class,Q),oe&4&&o(ne,"style",ae.style,ye.style,Q),oe&8){const Ke=L.dynamicProps;for(let et=0;et<Ke.length;et++){const z=Ke[et],q=ae[z],X=ye[z];(X!==q||z==="value")&&o(ne,z,q,X,Q,K)}}oe&1&&M.children!==L.children&&c(ne,L.children)}else!fe&&ee==null&&x(ne,ae,ye,K,Q);((Ce=ye.onVnodeUpdated)||pe)&&Cn(()=>{Ce&&yr(Ce,K,L,M),pe&&Fi(L,M,K,"updated")},re)},T=(M,L,K,re,Q,le,fe)=>{for(let ne=0;ne<L.length;ne++){const oe=M[ne],ee=L[ne],pe=oe.el&&(oe.type===jt||!yi(oe,ee)||oe.shapeFlag&70)?f(oe.el):K;m(oe,ee,pe,null,re,Q,le,fe,!0)}},x=(M,L,K,re,Q)=>{if(L!==K){if(L!==ht)for(const le in L)!Ol(le)&&!(le in K)&&o(M,le,L[le],null,Q,re);for(const le in K){if(Ol(le))continue;const fe=K[le],ne=L[le];fe!==ne&&le!=="value"&&o(M,le,ne,fe,Q,re)}"value"in K&&o(M,"value",L.value,K.value,Q)}},I=(M,L,K,re,Q,le,fe,ne,oe)=>{const ee=L.el=M?M.el:a(""),pe=L.anchor=M?M.anchor:a("");let{patchFlag:ae,dynamicChildren:ye,slotScopeIds:Ce}=L;Ce&&(ne=ne?ne.concat(Ce):Ce),M==null?(r(ee,K,re),r(pe,K,re),C(L.children||[],K,pe,Q,le,fe,ne,oe)):ae>0&&ae&64&&ye&&M.dynamicChildren?(T(M.dynamicChildren,ye,K,Q,le,fe,ne),(L.key!=null||Q&&L===Q.subTree)&&hE(M,L,!0)):N(M,L,K,pe,Q,le,fe,ne,oe)},A=(M,L,K,re,Q,le,fe,ne,oe)=>{L.slotScopeIds=ne,M==null?L.shapeFlag&512?Q.ctx.activate(L,K,re,fe,oe):D(L,K,re,Q,le,fe,oe):R(M,L,oe)},D=(M,L,K,re,Q,le,fe)=>{const ne=M.component=_k(M,re,Q);if(Yd(M)&&(ne.ctx.renderer=de),Ik(ne,!1,fe),ne.asyncDep){if(Q&&Q.registerDep(ne,k,fe),!M.el){const oe=ne.subTree=te(an);v(null,oe,L,K)}}else k(ne,M,L,K,Q,le,fe)},R=(M,L,K)=>{const re=L.component=M.component;if(K$(M,L,K))if(re.asyncDep&&!re.asyncResolved){P(re,L,K);return}else re.next=L,re.update();else L.el=M.el,re.vnode=L},k=(M,L,K,re,Q,le,fe)=>{const ne=()=>{if(M.isMounted){let{next:ae,bu:ye,u:Ce,parent:Ke,vnode:et}=M;{const ie=dk(M);if(ie){ae&&(ae.el=et.el,P(M,ae,fe)),ie.asyncDep.then(()=>{M.isUnmounted||ne()});return}}let z=ae,q;xa(M,!1),ae?(ae.el=et.el,P(M,ae,fe)):ae=et,ye&&Il(ye),(q=ae.props&&ae.props.onVnodeBeforeUpdate)&&yr(q,Ke,ae,et),xa(M,!0);const X=Yp(M),W=M.subTree;M.subTree=X,m(W,X,f(W.el),B(W),M,Q,le),ae.el=X.el,z===null&&pE(M,X.el),Ce&&Cn(Ce,Q),(q=ae.props&&ae.props.onVnodeUpdated)&&Cn(()=>yr(q,Ke,ae,et),Q)}else{let ae;const{el:ye,props:Ce}=L,{bm:Ke,m:et,parent:z,root:q,type:X}=M,W=Us(L);if(xa(M,!1),Ke&&Il(Ke),!W&&(ae=Ce&&Ce.onVnodeBeforeMount)&&yr(ae,z,L),xa(M,!0),ye&&nt){const ie=()=>{M.subTree=Yp(M),nt(ye,M.subTree,M,Q,null)};W&&X.__asyncHydrate?X.__asyncHydrate(ye,M,ie):ie()}else{q.ce&&q.ce._injectChildStyle(X);const ie=M.subTree=Yp(M);m(null,ie,K,re,M,Q,le),L.el=ie.el}if(et&&Cn(et,Q),!W&&(ae=Ce&&Ce.onVnodeMounted)){const ie=L;Cn(()=>yr(ae,z,ie),Q)}(L.shapeFlag&256||z&&Us(z.vnode)&&z.vnode.shapeFlag&256)&&M.a&&Cn(M.a,Q),M.isMounted=!0,L=K=re=null}};M.scope.on();const oe=M.effect=new rd(ne);M.scope.off();const ee=M.update=oe.run.bind(oe),pe=M.job=oe.runIfDirty.bind(oe);pe.i=M,pe.id=M.uid,oe.scheduler=()=>tE(pe),xa(M,!0),ee()},P=(M,L,K)=>{L.component=M;const re=M.vnode.props;M.vnode=L,M.next=null,L$(M,L.props,re,K),j$(M,L.children,K),ca(),dT(M),fa()},N=(M,L,K,re,Q,le,fe,ne,oe=!1)=>{const ee=M&&M.children,pe=M?M.shapeFlag:0,ae=L.children,{patchFlag:ye,shapeFlag:Ce}=L;if(ye>0){if(ye&128){F(ee,ae,K,re,Q,le,fe,ne,oe);return}else if(ye&256){$(ee,ae,K,re,Q,le,fe,ne,oe);return}}Ce&8?(pe&16&&J(ee,Q,le),ae!==ee&&c(K,ae)):pe&16?Ce&16?F(ee,ae,K,re,Q,le,fe,ne,oe):J(ee,Q,le,!0):(pe&8&&c(K,""),Ce&16&&C(ae,K,re,Q,le,fe,ne,oe))},$=(M,L,K,re,Q,le,fe,ne,oe)=>{M=M||Tl,L=L||Tl;const ee=M.length,pe=L.length,ae=Math.min(ee,pe);let ye;for(ye=0;ye<ae;ye++){const Ce=L[ye]=oe?_s(L[ye]):wr(L[ye]);m(M[ye],Ce,K,null,Q,le,fe,ne,oe)}ee>pe?J(M,Q,le,!0,!1,ae):C(L,K,re,Q,le,fe,ne,oe,ae)},F=(M,L,K,re,Q,le,fe,ne,oe)=>{let ee=0;const pe=L.length;let ae=M.length-1,ye=pe-1;for(;ee<=ae&&ee<=ye;){const Ce=M[ee],Ke=L[ee]=oe?_s(L[ee]):wr(L[ee]);if(yi(Ce,Ke))m(Ce,Ke,K,null,Q,le,fe,ne,oe);else break;ee++}for(;ee<=ae&&ee<=ye;){const Ce=M[ae],Ke=L[ye]=oe?_s(L[ye]):wr(L[ye]);if(yi(Ce,Ke))m(Ce,Ke,K,null,Q,le,fe,ne,oe);else break;ae--,ye--}if(ee>ae){if(ee<=ye){const Ce=ye+1,Ke=Ce<pe?L[Ce].el:re;for(;ee<=ye;)m(null,L[ee]=oe?_s(L[ee]):wr(L[ee]),K,Ke,Q,le,fe,ne,oe),ee++}}else if(ee>ye)for(;ee<=ae;)H(M[ee],Q,le,!0),ee++;else{const Ce=ee,Ke=ee,et=new Map;for(ee=Ke;ee<=ye;ee++){const Te=L[ee]=oe?_s(L[ee]):wr(L[ee]);Te.key!=null&&et.set(Te.key,ee)}let z,q=0;const X=ye-Ke+1;let W=!1,ie=0;const ce=new Array(X);for(ee=0;ee<X;ee++)ce[ee]=0;for(ee=Ce;ee<=ae;ee++){const Te=M[ee];if(q>=X){H(Te,Q,le,!0);continue}let je;if(Te.key!=null)je=et.get(Te.key);else for(z=Ke;z<=ye;z++)if(ce[z-Ke]===0&&yi(Te,L[z])){je=z;break}je===void 0?H(Te,Q,le,!0):(ce[je-Ke]=ee+1,je>=ie?ie=je:W=!0,m(Te,L[je],K,null,Q,le,fe,ne,oe),q++)}const we=W?H$(ce):Tl;for(z=we.length-1,ee=X-1;ee>=0;ee--){const Te=Ke+ee,je=L[Te],Ae=Te+1<pe?L[Te+1].el:re;ce[ee]===0?m(null,je,K,Ae,Q,le,fe,ne,oe):W&&(z<0||ee!==we[z]?V(je,K,Ae,2):z--)}}},V=(M,L,K,re,Q=null)=>{const{el:le,type:fe,transition:ne,children:oe,shapeFlag:ee}=M;if(ee&6){V(M.component.subTree,L,K,re);return}if(ee&128){M.suspense.move(L,K,re);return}if(ee&64){fe.move(M,L,K,de);return}if(fe===jt){r(le,L,K);for(let ae=0;ae<oe.length;ae++)V(oe[ae],L,K,re);r(M.anchor,L,K);return}if(fe===Xa){b(M,L,K);return}if(re!==2&&ee&1&&ne)if(re===0)ne.beforeEnter(le),r(le,L,K),Cn(()=>ne.enter(le),Q);else{const{leave:ae,delayLeave:ye,afterLeave:Ce}=ne,Ke=()=>r(le,L,K),et=()=>{ae(le,()=>{Ke(),Ce&&Ce()})};ye?ye(le,Ke,et):et()}else r(le,L,K)},H=(M,L,K,re=!1,Q=!1)=>{const{type:le,props:fe,ref:ne,children:oe,dynamicChildren:ee,shapeFlag:pe,patchFlag:ae,dirs:ye,cacheIndex:Ce}=M;if(ae===-2&&(Q=!1),ne!=null&&$m(ne,null,K,M,!0),Ce!=null&&(L.renderCache[Ce]=void 0),pe&256){L.ctx.deactivate(M);return}const Ke=pe&1&&ye,et=!Us(M);let z;if(et&&(z=fe&&fe.onVnodeBeforeUnmount)&&yr(z,L,M),pe&6)Y(M.component,K,re);else{if(pe&128){M.suspense.unmount(K,re);return}Ke&&Fi(M,null,L,"beforeUnmount"),pe&64?M.type.remove(M,L,K,de,re):ee&&!ee.hasOnce&&(le!==jt||ae>0&&ae&64)?J(ee,L,K,!1,!0):(le===jt&&ae&384||!Q&&pe&16)&&J(oe,L,K),re&&G(M)}(et&&(z=fe&&fe.onVnodeUnmounted)||Ke)&&Cn(()=>{z&&yr(z,L,M),Ke&&Fi(M,null,L,"unmounted")},K)},G=M=>{const{type:L,el:K,anchor:re,transition:Q}=M;if(L===jt){U(K,re);return}if(L===Xa){w(M);return}const le=()=>{i(K),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(M.shapeFlag&1&&Q&&!Q.persisted){const{leave:fe,delayLeave:ne}=Q,oe=()=>fe(K,le);ne?ne(M.el,le,oe):oe()}else le()},U=(M,L)=>{let K;for(;M!==L;)K=d(M),i(M),M=K;i(L)},Y=(M,L,K)=>{const{bum:re,scope:Q,job:le,subTree:fe,um:ne,m:oe,a:ee}=M;Bm(oe),Bm(ee),re&&Il(re),Q.stop(),le&&(le.flags|=8,H(fe,M,L,K)),ne&&Cn(ne,L),Cn(()=>{M.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&M.asyncDep&&!M.asyncResolved&&M.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},J=(M,L,K,re=!1,Q=!1,le=0)=>{for(let fe=le;fe<M.length;fe++)H(M[fe],L,K,re,Q)},B=M=>{if(M.shapeFlag&6)return B(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const L=d(M.anchor||M.el),K=L&&L[LA];return K?d(K):L};let Z=!1;const ue=(M,L,K)=>{M==null?L._vnode&&H(L._vnode,null,null,!0):m(L._vnode||null,M,L,null,null,null,K),L._vnode=M,Z||(Z=!0,dT(),Lm(),Z=!1)},de={p:m,um:H,m:V,r:G,mt:D,mc:C,pc:N,pbc:T,n:B,o:e};let Me,nt;return t&&([Me,nt]=t(de)),{render:ue,hydrate:Me,createApp:D$(ue,Me)}}function Mv({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 xa({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fk(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hE(e,t,n=!1){const r=e.children,i=t.children;if(Ie(r)&&Ie(i))for(let o=0;o<r.length;o++){const s=r[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=_s(i[o]),a.el=s.el),!n&&a.patchFlag!==-2&&hE(s,a)),a.type===zs&&(a.el=s.el)}}function H$(e){const t=e.slice(),n=[0];let r,i,o,s,a;const u=e.length;for(r=0;r<u;r++){const l=e[r];if(l!==0){if(i=n[n.length-1],e[i]<l){t[r]=i,n.push(r);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,e[n[a]]<l?o=a+1:s=a;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}function dk(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:dk(t)}function Bm(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const hk=Symbol.for("v-scx"),pk=()=>cn(hk);function _r(e,t){return Jd(e,null,t)}function mk(e,t){return Jd(e,null,{flush:"post"})}function gk(e,t){return Jd(e,null,{flush:"sync"})}function on(e,t,n){return Jd(e,t,n)}function Jd(e,t,n=ht){const{immediate:r,deep:i,flush:o,once:s}=n,a=Ht({},n);let u;if(Qd)if(o==="sync"){const d=pk();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||r)a.once=!0;else{const d=()=>{};return d.stop=Ei,d.resume=Ei,d.pause=Ei,d}const l=mn;a.call=(d,h,p)=>ti(d,l,h,p);let c=!1;o==="post"?a.scheduler=d=>{Cn(d,l&&l.suspense)}:o!=="sync"&&(c=!0,a.scheduler=(d,h)=>{h?d():tE(d)}),a.augmentJob=d=>{t&&(d.flags|=4),c&&(d.flags|=2,l&&(d.id=l.uid,d.i=l))};const f=L8(e,t,a);return u&&u.push(f),f}function U$(e,t,n){const r=this.proxy,i=Ut(e)?e.includes(".")?vk(r,e):()=>r[e]:e.bind(r,r);let o;Be(t)?o=t:(o=t.handler,n=t);const s=lu(this),a=Jd(i,o.bind(r),n);return s(),a}function vk(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}}function bc(e,t,n=ht){const r=ai(),i=qn(t),o=xr(t),s=yk(e,t),a=TA((u,l)=>{let c,f=ht,d;return gk(()=>{const h=e[t];sr(c,h)&&(c=h,l())}),{get(){return u(),n.get?n.get(c):c},set(h){const p=n.set?n.set(h):h;if(!sr(p,c)&&!(f!==ht&&sr(h,f)))return;const m=r.vnode.props;m&&(t in m||i in m||o in m)&&(`onUpdate:${t}`in m||`onUpdate:${i}`in m||`onUpdate:${o}`in m)||(c=h,l()),r.emit(`update:${t}`,p),sr(h,p)&&sr(h,f)&&!sr(p,d)&&l(),f=h,d=p}}});return a[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?s||ht:a,done:!1}:{done:!0}}}},a}const yk=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${qn(t)}Modifiers`]||e[`${xr(t)}Modifiers`];function z$(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ht;let i=n;const o=t.startsWith("update:"),s=o&&yk(r,t.slice(7));s&&(s.trim&&(i=n.map(c=>Ut(c)?c.trim():c)),s.number&&(i=n.map(Rm)));let a,u=r[a=Ef(t)]||r[a=Ef(qn(t))];!u&&o&&(u=r[a=Ef(xr(t))]),u&&ti(u,e,6,i);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ti(l,e,6,i)}}function bk(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},a=!1;if(!Be(e)){const u=l=>{const c=bk(l,t,!0);c&&(a=!0,Ht(s,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!a?(kt(e)&&r.set(e,null),null):(Ie(o)?o.forEach(u=>s[u]=null):Ht(s,o),kt(e)&&r.set(e,s),s)}function T0(e,t){return!e||!Kd(t)?!1:(t=t.slice(2).replace(/Once$/,""),wt(e,t[0].toLowerCase()+t.slice(1))||wt(e,xr(t))||wt(e,t))}function Yp(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:s,attrs:a,emit:u,render:l,renderCache:c,props:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e,g=ud(e);let v,y;try{if(n.shapeFlag&4){const w=i||r,S=w;v=wr(l.call(S,w,c,f,h,d,p)),y=a}else{const w=t;v=wr(w.length>1?w(f,{attrs:a,slots:s,emit:u}):w(f,null)),y=t.props?a:W$(a)}}catch(w){Tf.length=0,_u(w,e,1),v=te(an)}let b=v;if(y&&m!==!1){const w=Object.keys(y),{shapeFlag:S}=b;w.length&&S&7&&(o&&w.some(Uw)&&(y=G$(y,o)),b=ro(b,y,!1,!0))}return n.dirs&&(b=ro(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Go(b,n.transition),v=b,ud(g),v}function V$(e,t=!0){let n;for(let r=0;r<e.length;r++){const i=e[r];if(no(i)){if(i.type!==an||i.children==="v-if"){if(n)return;n=i}}else return}return n}const W$=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kd(n))&&((t||(t={}))[n]=e[n]);return t},G$=(e,t)=>{const n={};for(const r in e)(!Uw(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function K$(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:u}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?xT(r,s,l):!!s;if(u&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(s[d]!==r[d]&&!T0(l,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?xT(r,s,l):!0:!!s;return!1}function xT(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 o=r[i];if(t[o]!==e[o]&&!T0(n,o))return!0}return!1}function pE({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const jm=e=>e.__isSuspense;let Eb=0;const q$={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,s,a,u,l){if(e==null)X$(t,n,r,i,o,s,a,u,l);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}J$(e,t,n,r,i,s,a,u,l)}},hydrate:Q$,normalize:Z$},Y$=q$;function cd(e,t){const n=e.props&&e.props[t];Be(n)&&n()}function X$(e,t,n,r,i,o,s,a,u){const{p:l,o:{createElement:c}}=u,f=c("div"),d=e.suspense=wk(e,i,r,t,f,n,o,s,a,u);l(null,d.pendingBranch=e.ssContent,f,null,r,d,o,s),d.deps>0?(cd(e,"onPending"),cd(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,o,s),Al(d,e.ssFallback)):d.resolve(!1,!0)}function J$(e,t,n,r,i,o,s,a,{p:u,um:l,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:g,isHydrating:v}=f;if(m)f.pendingBranch=d,yi(d,m)?(u(m,d,f.hiddenContainer,null,i,f,o,s,a),f.deps<=0?f.resolve():g&&(v||(u(p,h,n,r,i,null,o,s,a),Al(f,h)))):(f.pendingId=Eb++,v?(f.isHydrating=!1,f.activeBranch=m):l(m,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),g?(u(null,d,f.hiddenContainer,null,i,f,o,s,a),f.deps<=0?f.resolve():(u(p,h,n,r,i,null,o,s,a),Al(f,h))):p&&yi(d,p)?(u(p,d,n,r,i,f,o,s,a),f.resolve(!0)):(u(null,d,f.hiddenContainer,null,i,f,o,s,a),f.deps<=0&&f.resolve()));else if(p&&yi(d,p))u(p,d,n,r,i,f,o,s,a),Al(f,d);else if(cd(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Eb++,u(null,d,f.hiddenContainer,null,i,f,o,s,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:b}=f;y>0?setTimeout(()=>{f.pendingId===b&&f.fallback(h)},y):y===0&&f.fallback(h)}}function wk(e,t,n,r,i,o,s,a,u,l,c=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:m,remove:g}}=l;let v;const y=e5(e);y&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const b=e.props?Pm(e.props.timeout):void 0,w=o,S={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:i,deps:0,pendingId:Eb++,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(E=!1,_=!1){const{vnode:C,activeBranch:O,pendingBranch:T,pendingId:x,effects:I,parentComponent:A,container:D}=S;let R=!1;S.isHydrating?S.isHydrating=!1:E||(R=O&&T.transition&&T.transition.mode==="out-in",R&&(O.transition.afterLeave=()=>{x===S.pendingId&&(d(T,D,o===w?p(O):o,0),Mm(I))}),O&&(m(O.el)===D&&(o=p(O)),h(O,A,S,!0)),R||d(T,D,o,0)),Al(S,T),S.pendingBranch=null,S.isInFallback=!1;let k=S.parent,P=!1;for(;k;){if(k.pendingBranch){k.effects.push(...I),P=!0;break}k=k.parent}!P&&!R&&Mm(I),S.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!_&&t.resolve()),cd(C,"onResolve")},fallback(E){if(!S.pendingBranch)return;const{vnode:_,activeBranch:C,parentComponent:O,container:T,namespace:x}=S;cd(_,"onFallback");const I=p(C),A=()=>{S.isInFallback&&(f(null,E,T,I,O,null,x,a,u),Al(S,E))},D=E.transition&&E.transition.mode==="out-in";D&&(C.transition.afterLeave=A),S.isInFallback=!0,h(C,O,null,!0),D||A()},move(E,_,C){S.activeBranch&&d(S.activeBranch,E,_,C),S.container=E},next(){return S.activeBranch&&p(S.activeBranch)},registerDep(E,_,C){const O=!!S.pendingBranch;O&&S.deps++;const T=E.vnode.el;E.asyncDep.catch(x=>{_u(x,E,0)}).then(x=>{if(E.isUnmounted||S.isUnmounted||S.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:I}=E;_b(E,x,!1),T&&(I.el=T);const A=!T&&E.subTree.el;_(E,I,m(T||E.subTree.el),T?null:p(E.subTree),S,s,C),A&&g(A),pE(E,I.el),O&&--S.deps===0&&S.resolve()})},unmount(E,_){S.isUnmounted=!0,S.activeBranch&&h(S.activeBranch,n,E,_),S.pendingBranch&&h(S.pendingBranch,n,E,_)}};return S}function Q$(e,t,n,r,i,o,s,a,u){const l=t.suspense=wk(t,r,n,e.parentNode,document.createElement("div"),null,i,o,s,a,!0),c=u(e,l.pendingBranch=t.ssContent,n,l,o,s);return l.deps===0&&l.resolve(!1,!0),c}function Z$(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=TT(r?n.default:n),e.ssFallback=r?TT(n.fallback):te(an)}function TT(e){let t;if(Be(e)){const n=uu&&e._c;n&&(e._d=!1,Se()),e=e(),n&&(e._d=!0,t=Wn,Sk())}return Ie(e)&&(e=V$(e)),e=wr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ek(e,t){t&&t.pendingBranch?Ie(e)?t.effects.push(...e):t.effects.push(e):Mm(e)}function Al(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,pE(r,i))}function e5(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const jt=Symbol.for("v-fgt"),zs=Symbol.for("v-txt"),an=Symbol.for("v-cmt"),Xa=Symbol.for("v-stc"),Tf=[];let Wn=null;function Se(e=!1){Tf.push(Wn=e?null:[])}function Sk(){Tf.pop(),Wn=Tf[Tf.length-1]||null}let uu=1;function Sb(e){uu+=e,e<0&&Wn&&(Wn.hasOnce=!0)}function xk(e){return e.dynamicChildren=uu>0?Wn||Tl:null,Sk(),uu>0&&Wn&&Wn.push(e),e}function Ne(e,t,n,r,i,o){return xk(ge(e,t,n,r,i,o,!0))}function Ur(e,t,n,r,i){return xk(te(e,t,n,r,i,!0))}function no(e){return e?e.__v_isVNode===!0:!1}function yi(e,t){return e.type===t.type&&e.key===t.key}function t5(e){}const Tk=({key:e})=>e??null,Xp=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ut(e)||bn(e)||Be(e)?{i:vn,r:e,k:t,f:!!n}:e:null);function ge(e,t=null,n=null,r=0,i=null,o=e===jt?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Tk(t),ref:t&&Xp(t),scopeId:w0,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:vn};return a?(mE(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Ut(n)?8:16),uu>0&&!s&&Wn&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&Wn.push(u),u}const te=n5;function n5(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===YA)&&(e=an),no(e)){const a=ro(e,t,!0);return n&&mE(a,n),uu>0&&!o&&Wn&&(a.shapeFlag&6?Wn[Wn.indexOf(e)]=a:Wn.push(a)),a.patchFlag=-2,a}if(c5(e)&&(e=e.__vccOpts),t){t=Gn(t);let{class:a,style:u}=t;a&&!Ut(a)&&(t.class=_t(a)),kt(u)&&(b0(u)&&!Ie(u)&&(u=Ht({},u)),t.style=Lo(u))}const s=Ut(e)?1:jm(e)?128:$A(e)?64:kt(e)?4:Be(e)?2:0;return ge(e,t,n,r,i,s,o,!0)}function Gn(e){return e?b0(e)||tk(e)?Ht({},e):e:null}function ro(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:s,children:a,transition:u}=e,l=t?Et(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Tk(l),ref:t&&t.ref?n&&o?Ie(o)?o.concat(Xp(t)):[o,Xp(t)]:Xp(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==jt?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ro(e.ssContent),ssFallback:e.ssFallback&&ro(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&Go(c,u.clone(c)),c}function $n(e=" ",t=0){return te(zs,null,e,t)}function r5(e,t){const n=te(Xa,null,e);return n.staticCount=t,n}function Jn(e="",t=!1){return t?(Se(),Ur(an,null,e)):te(an,null,e)}function wr(e){return e==null||typeof e=="boolean"?te(an):Ie(e)?te(jt,null,e.slice()):no(e)?_s(e):te(zs,null,String(e))}function _s(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ro(e)}function mE(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ie(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),mE(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!tk(t)?t._ctx=vn:i===3&&vn&&(vn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Be(t)?(t={default:t,_ctx:vn},n=32):(t=String(t),r&64?(n=16,t=[$n(t)]):n=8);e.children=t,e.shapeFlag|=n}function Et(...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=_t([t.class,r.class]));else if(i==="style")t.style=Lo([t.style,r.style]);else if(Kd(i)){const o=t[i],s=r[i];s&&o!==s&&!(Ie(o)&&o.includes(s))&&(t[i]=o?[].concat(o,s):s)}else i!==""&&(t[i]=r[i])}return t}function yr(e,t,n,r=null){ti(e,t,7,[n,r])}const i5=QA();let o5=0;function _k(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||i5,o={uid:o5++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Gw(!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:rk(r,i),emitsOptions:bk(r,i),emit:null,emitted:null,propsDefaults:ht,inheritAttrs:r.inheritAttrs,ctx:ht,data:ht,props:ht,attrs:ht,slots:ht,refs:ht,setupState:ht,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=z$.bind(null,o),e.ce&&e.ce(o),o}let mn=null;const ai=()=>mn||vn;let Hm,xb;{const e=ZC(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(s=>s(o)):i[0](o)}};Hm=t("__VUE_INSTANCE_SETTERS__",n=>mn=n),xb=t("__VUE_SSR_SETTERS__",n=>Qd=n)}const lu=e=>{const t=mn;return Hm(e),e.scope.on(),()=>{e.scope.off(),Hm(t)}},Tb=()=>{mn&&mn.scope.off(),Hm(null)};function Ok(e){return e.vnode.shapeFlag&4}let Qd=!1;function Ik(e,t=!1,n=!1){t&&xb(t);const{props:r,children:i}=e.vnode,o=Ok(e);M$(e,r,o,t),B$(e,i,n);const s=o?s5(e,t):void 0;return t&&xb(!1),s}function s5(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,vb);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?Ak(e):null,o=lu(e);ca();const s=vc(r,e,0,[e.props,i]);if(fa(),o(),Vw(s)){if(Us(e)||iE(e),s.then(Tb,Tb),t)return s.then(a=>{_b(e,a,t)}).catch(a=>{_u(a,e,0)});e.asyncDep=s}else _b(e,s,t)}else Ck(e,t)}function _b(e,t,n){Be(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:kt(t)&&(e.setupState=Zw(t)),Ck(e,n)}let Um,Ob;function a5(e){Um=e,Ob=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,p$))}}const u5=()=>!Um;function Ck(e,t,n){const r=e.type;if(!e.render){if(!t&&Um&&!r.render){const i=r.template||fE(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:u}=r,l=Ht(Ht({isCustomElement:o,delimiters:a},s),u);r.render=Um(i,l)}}e.render=r.render||Ei,Ob&&Ob(e)}{const i=lu(e);ca();try{I$(e)}finally{fa(),i()}}}const l5={get(e,t){return Xn(e,"get",""),e[t]}};function Ak(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,l5),slots:e.slots,emit:e.emit,expose:t}}function Zd(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zw(SA(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xf)return xf[n](e)},has(t,n){return n in t||n in xf}})):e.proxy}function Ib(e,t=!0){return Be(e)?e.displayName||e.name:e.name||t&&e.__name}function c5(e){return Be(e)&&"__vccOpts"in e}const _e=(e,t)=>P8(e,t,Qd);function cu(e,t,n){const r=arguments.length;return r===2?kt(t)&&!Ie(t)?no(t)?te(e,null,[t]):te(e,t):te(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&no(n)&&(n=[n]),te(e,t,n))}function f5(){}function d5(e,t,n,r){const i=n[r];if(i&&kk(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function kk(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(sr(n[r],t[r]))return!1;return uu>0&&Wn&&Wn.push(e),!0}const Rk="3.5.9",h5=Ei,p5=H8,m5=il,g5=PA,v5={createComponentInstance:_k,setupComponent:Ik,renderComponentRoot:Yp,setCurrentRenderingInstance:ud,isVNode:no,normalizeVNode:wr,getComponentPublicInstance:Zd,ensureValidVNode:cE,pushWarningContext:$8,popWarningContext:F8},y5=v5,b5=null,w5=null,E5=null;/**
* @vue/runtime-dom v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Cb;const _T=typeof window<"u"&&window.trustedTypes;if(_T)try{Cb=_T.createPolicy("vue",{createHTML:e=>e})}catch{}const Pk=Cb?e=>Cb.createHTML(e):e=>e,S5="http://www.w3.org/2000/svg",x5="http://www.w3.org/1998/Math/MathML",To=typeof document<"u"?document:null,OT=To&&To.createElement("template"),T5={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"?To.createElementNS(S5,e):t==="mathml"?To.createElementNS(x5,e):n?To.createElement(e,{is:n}):To.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>To.createTextNode(e),createComment:e=>To.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>To.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{OT.innerHTML=Pk(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=OT.content;if(r==="svg"||r==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},hs="transition",Uc="animation",Hl=Symbol("_vtc"),Dk={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},Nk=Ht({},rE,Dk),_5=e=>(e.displayName="Transition",e.props=Nk,e),gE=_5((e,{slots:t})=>cu(HA,Mk(e),t)),Ta=(e,t=[])=>{Ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},IT=e=>e?Ie(e)?e.some(t=>t.length>1):e.length>1:!1;function Mk(e){const t={};for(const I in e)I in Dk||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:l=s,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=O5(i),m=p&&p[0],g=p&&p[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:w,onLeaveCancelled:S,onBeforeAppear:E=v,onAppear:_=y,onAppearCancelled:C=b}=t,O=(I,A,D)=>{vs(I,A?c:a),vs(I,A?l:s),D&&D()},T=(I,A)=>{I._isLeaving=!1,vs(I,f),vs(I,h),vs(I,d),A&&A()},x=I=>(A,D)=>{const R=I?_:y,k=()=>O(A,I,D);Ta(R,[A,k]),CT(()=>{vs(A,I?u:o),Eo(A,I?c:a),IT(R)||AT(A,r,m,k)})};return Ht(t,{onBeforeEnter(I){Ta(v,[I]),Eo(I,o),Eo(I,s)},onBeforeAppear(I){Ta(E,[I]),Eo(I,u),Eo(I,l)},onEnter:x(!1),onAppear:x(!0),onLeave(I,A){I._isLeaving=!0;const D=()=>T(I,A);Eo(I,f),Eo(I,d),$k(),CT(()=>{I._isLeaving&&(vs(I,f),Eo(I,h),IT(w)||AT(I,r,g,D))}),Ta(w,[I,D])},onEnterCancelled(I){O(I,!1),Ta(b,[I])},onAppearCancelled(I){O(I,!0),Ta(C,[I])},onLeaveCancelled(I){T(I),Ta(S,[I])}})}function O5(e){if(e==null)return null;if(kt(e))return[Lv(e.enter),Lv(e.leave)];{const t=Lv(e);return[t,t]}}function Lv(e){return Pm(e)}function Eo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Hl]||(e[Hl]=new Set)).add(t)}function vs(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Hl];n&&(n.delete(t),n.size||(e[Hl]=void 0))}function CT(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let I5=0;function AT(e,t,n,r){const i=e._endId=++I5,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:s,timeout:a,propCount:u}=Lk(e,t);if(!s)return r();const l=s+"end";let c=0;const f=()=>{e.removeEventListener(l,d),o()},d=h=>{h.target===e&&++c>=u&&f()};setTimeout(()=>{c<u&&f()},a+1),e.addEventListener(l,d)}function Lk(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),i=r(`${hs}Delay`),o=r(`${hs}Duration`),s=kT(i,o),a=r(`${Uc}Delay`),u=r(`${Uc}Duration`),l=kT(a,u);let c=null,f=0,d=0;t===hs?s>0&&(c=hs,f=s,d=o.length):t===Uc?l>0&&(c=Uc,f=l,d=u.length):(f=Math.max(s,l),c=f>0?s>l?hs:Uc:null,d=c?c===hs?o.length:u.length:0);const h=c===hs&&/\b(transform|all)(,|$)/.test(r(`${hs}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function kT(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>RT(n)+RT(e[r])))}function RT(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function $k(){return document.body.offsetHeight}function C5(e,t,n){const r=e[Hl];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zm=Symbol("_vod"),Fk=Symbol("_vsh"),Vs={beforeMount(e,{value:t},{transition:n}){e[zm]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):zc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),zc(e,!0),r.enter(e)):r.leave(e,()=>{zc(e,!1)}):zc(e,t))},beforeUnmount(e,{value:t}){zc(e,t)}};function zc(e,t){e.style.display=t?e[zm]:"none",e[Fk]=!t}function A5(){Vs.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Bk=Symbol("");function eh(e){const t=ai();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Vm(o,i))},r=()=>{const i=e(t.proxy);t.ce?Vm(t.ce,i):Ab(t.subTree,i),n(i)};aE(()=>{mk(r)}),ni(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),ha(()=>i.disconnect())})}function Ab(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ab(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Vm(e.el,t);else if(e.type===jt)e.children.forEach(n=>Ab(n,t));else if(e.type===Xa){let{el:n,anchor:r}=e;for(;n&&(Vm(n,t),n!==r);)n=n.nextSibling}}function Vm(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[Bk]=r}}const k5=/(^|;)\s*display\s*:/;function R5(e,t,n){const r=e.style,i=Ut(n);let o=!1;if(n&&!i){if(t)if(Ut(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&Jp(r,a,"")}else for(const s in t)n[s]==null&&Jp(r,s,"");for(const s in n)s==="display"&&(o=!0),Jp(r,s,n[s])}else if(i){if(t!==n){const s=r[Bk];s&&(n+=";"+s),r.cssText=n,o=k5.test(n)}}else t&&e.removeAttribute("style");zm in e&&(e[zm]=o?r.display:"",e[Fk]&&(r.display="none"))}const PT=/\s*!important$/;function Jp(e,t,n){if(Ie(n))n.forEach(r=>Jp(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=P5(e,t);PT.test(n)?e.setProperty(xr(r),n.replace(PT,""),"important"):e[r]=n}}const DT=["Webkit","Moz","ms"],$v={};function P5(e,t){const n=$v[t];if(n)return n;let r=qn(t);if(r!=="filter"&&r in e)return $v[t]=r;r=qd(r);for(let i=0;i<DT.length;i++){const o=DT[i]+r;if(o in e)return $v[t]=o}return t}const NT="http://www.w3.org/1999/xlink";function MT(e,t,n,r,i,o=QL(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(NT,t.slice(6,t.length)):e.setAttributeNS(NT,t,n):n==null||o&&!eA(n)?e.removeAttribute(t):e.setAttribute(t,o?"":eo(n)?String(n):n)}function D5(e,t,n,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Pk(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const s=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(s!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=eA(n):n==null&&s==="string"?(n="",o=!0):s==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(t)}function Do(e,t,n,r){e.addEventListener(t,n,r)}function N5(e,t,n,r){e.removeEventListener(t,n,r)}const LT=Symbol("_vei");function M5(e,t,n,r,i=null){const o=e[LT]||(e[LT]={}),s=o[t];if(r&&s)s.value=r;else{const[a,u]=L5(t);if(r){const l=o[t]=B5(r,i);Do(e,a,l,u)}else s&&(N5(e,a,s,u),o[t]=void 0)}}const $T=/(?:Once|Passive|Capture)$/;function L5(e){let t;if($T.test(e)){t={};let r;for(;r=e.match($T);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xr(e.slice(2)),t]}let Fv=0;const $5=Promise.resolve(),F5=()=>Fv||($5.then(()=>Fv=0),Fv=Date.now());function B5(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ti(j5(r,n.value),t,5,[r])};return n.value=e,n.attached=F5(),n}function j5(e,t){if(Ie(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const FT=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,H5=(e,t,n,r,i,o)=>{const s=i==="svg";t==="class"?C5(e,r,s):t==="style"?R5(e,n,r):Kd(t)?Uw(t)||M5(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):U5(e,t,r,s))?(D5(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&MT(e,t,r,s,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),MT(e,t,r,s))};function U5(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&FT(t)&&Be(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 FT(t)&&Ut(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!Ut(n)))}const BT={};/*! #__NO_SIDE_EFFECTS__ */function jk(e,t,n){const r=xt(e,t);Ga(r)&&Ht(r,t);class i extends _0{constructor(s){super(r,s,n)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const z5=(e,t)=>jk(e,t,e3),V5=typeof HTMLElement<"u"?HTMLElement:class{};class _0 extends V5{constructor(t,n={},r=Km){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Km?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof _0){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,to(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:s}=r;let a;if(o&&!Ie(o))for(const u in o){const l=o[u];(l===Number||l&&l.type===Number)&&(u in this._props&&(this._props[u]=Pm(this._props[u])),(a||(a=Object.create(null)))[qn(u)]=!0)}this._numberProps=a,i&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(s),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)wt(this,r)||Object.defineProperty(this,r,{get:()=>ln(n[r])})}_resolveProps(t){const{props:n}=t,r=Ie(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i]);for(const i of r.map(qn))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):BT;const i=qn(t);n&&this._numberProps&&this._numberProps[i]&&(r=Pm(r)),this._setProp(i,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!1){n!==this._props[t]&&(n===BT?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(xr(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(xr(t),n+""):n||this.removeAttribute(xr(t))))}_update(){Zk(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=te(this._def,Ht(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const i=(o,s)=>{this.dispatchEvent(new CustomEvent(o,Ga(s[0])?Ht({detail:s},s[0]):{detail:s}))};r.emit=(o,...s)=>{i(o,s),xr(o)!==o&&i(xr(o),s)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let i=t.length-1;i>=0;i--){const o=document.createElement("style");r&&o.setAttribute("nonce",r),o.textContent=t[i],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const i=t[r],o=i.getAttribute("name")||"default",s=this._slots[o],a=i.parentNode;if(s)for(const u of s){if(n&&u.nodeType===1){const l=n+"-s",c=document.createTreeWalker(u,1);u.setAttribute(l,"");let f;for(;f=c.nextNode();)f.setAttribute(l,"")}a.insertBefore(u,i)}else for(;i.firstChild;)a.insertBefore(i.firstChild,i);a.removeChild(i)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function Hk(e){const t=ai(),n=t&&t.ce;return n||null}function W5(){const e=Hk();return e&&e.shadowRoot}function G5(e="$style"){{const t=ai();if(!t)return ht;const n=t.type.__cssModules;if(!n)return ht;const r=n[e];return r||ht}}const Uk=new WeakMap,zk=new WeakMap,Wm=Symbol("_moveCb"),jT=Symbol("_enterCb"),K5=e=>(delete e.props.mode,e),q5=K5({name:"TransitionGroup",props:Ht({},Nk,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ai(),r=nE();let i,o;return x0(()=>{if(!i.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Z5(i[0].el,n.vnode.el,s))return;i.forEach(X5),i.forEach(J5);const a=i.filter(Q5);$k(),a.forEach(u=>{const l=u.el,c=l.style;Eo(l,s),c.transform=c.webkitTransform=c.transitionDuration="";const f=l[Wm]=d=>{d&&d.target!==l||(!d||/transform$/.test(d.propertyName))&&(l.removeEventListener("transitionend",f),l[Wm]=null,vs(l,s))};l.addEventListener("transitionend",f)})}),()=>{const s=vt(e),a=Mk(s);let u=s.tag||jt;if(i=[],o)for(let l=0;l<o.length;l++){const c=o[l];c.el&&c.el instanceof Element&&(i.push(c),Go(c,jl(c,a,r,n)),Uk.set(c,c.el.getBoundingClientRect()))}o=t.default?E0(t.default()):[];for(let l=0;l<o.length;l++){const c=o[l];c.key!=null&&Go(c,jl(c,a,r,n))}return te(u,null,o)}}}),Y5=q5;function X5(e){const t=e.el;t[Wm]&&t[Wm](),t[jT]&&t[jT]()}function J5(e){zk.set(e,e.el.getBoundingClientRect())}function Q5(e){const t=Uk.get(e),n=zk.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function Z5(e,t,n){const r=e.cloneNode(),i=e[Hl];i&&i.forEach(a=>{a.split(/\s+/).forEach(u=>u&&r.classList.remove(u))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:s}=Lk(r);return o.removeChild(r),s}const Qs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ie(t)?n=>Il(t,n):t};function eF(e){e.target.composing=!0}function HT(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Jr=Symbol("_assign"),Gm={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Jr]=Qs(i);const o=r||i.props&&i.props.type==="number";Do(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Rm(a)),e[Jr](a)}),n&&Do(e,"change",()=>{e.value=e.value.trim()}),t||(Do(e,"compositionstart",eF),Do(e,"compositionend",HT),Do(e,"change",HT))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},s){if(e[Jr]=Qs(s),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Rm(e.value):e.value,u=t??"";a!==u&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===u)||(e.value=u))}},vE={deep:!0,created(e,t,n){e[Jr]=Qs(n),Do(e,"change",()=>{const r=e._modelValue,i=Ul(e),o=e.checked,s=e[Jr];if(Ie(r)){const a=h0(r,i),u=a!==-1;if(o&&!u)s(r.concat(i));else if(!o&&u){const l=[...r];l.splice(a,1),s(l)}}else if(xu(r)){const a=new Set(r);o?a.add(i):a.delete(i),s(a)}else s(Wk(e,o))})},mounted:UT,beforeUpdate(e,t,n){e[Jr]=Qs(n),UT(e,t,n)}};function UT(e,{value:t},n){e._modelValue=t;let r;Ie(t)?r=h0(t,n.props.value)>-1:xu(t)?r=t.has(n.props.value):r=Xs(t,Wk(e,!0)),e.checked!==r&&(e.checked=r)}const yE={created(e,{value:t},n){e.checked=Xs(t,n.props.value),e[Jr]=Qs(n),Do(e,"change",()=>{e[Jr](Ul(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Jr]=Qs(r),t!==n&&(e.checked=Xs(t,r.props.value))}},Vk={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=xu(t);Do(e,"change",()=>{const o=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?Rm(Ul(s)):Ul(s));e[Jr](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,to(()=>{e._assigning=!1})}),e[Jr]=Qs(r)},mounted(e,{value:t}){zT(e,t)},beforeUpdate(e,t,n){e[Jr]=Qs(n)},updated(e,{value:t}){e._assigning||zT(e,t)}};function zT(e,t){const n=e.multiple,r=Ie(t);if(!(n&&!r&&!xu(t))){for(let i=0,o=e.options.length;i<o;i++){const s=e.options[i],a=Ul(s);if(n)if(r){const u=typeof a;u==="string"||u==="number"?s.selected=t.some(l=>String(l)===String(a)):s.selected=h0(t,a)>-1}else s.selected=t.has(a);else if(Xs(Ul(s),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ul(e){return"_value"in e?e._value:e.value}function Wk(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Gk={created(e,t,n){Kh(e,t,n,null,"created")},mounted(e,t,n){Kh(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Kh(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Kh(e,t,n,r,"updated")}};function Kk(e,t){switch(e){case"SELECT":return Vk;case"TEXTAREA":return Gm;default:switch(t){case"checkbox":return vE;case"radio":return yE;default:return Gm}}}function Kh(e,t,n,r,i){const s=Kk(e.tagName,n.props&&n.props.type)[i];s&&s(e,t,n,r)}function tF(){Gm.getSSRProps=({value:e})=>({value:e}),yE.getSSRProps=({value:e},t)=>{if(t.props&&Xs(t.props.value,e))return{checked:!0}},vE.getSSRProps=({value:e},t)=>{if(Ie(e)){if(t.props&&h0(e,t.props.value)>-1)return{checked:!0}}else if(xu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Gk.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Kk(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const nF=["ctrl","shift","alt","meta"],rF={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)=>nF.some(n=>e[`${n}Key`]&&!t.includes(n))},qk=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let s=0;s<t.length;s++){const a=rF[t[s]];if(a&&a(i,t))return}return e(i,...o)})},iF={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yk=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=xr(i.key);if(t.some(s=>s===o||iF[s]===o))return e(i)})},Xk=Ht({patchProp:H5},T5);let _f,VT=!1;function Jk(){return _f||(_f=uk(Xk))}function Qk(){return _f=VT?_f:lk(Xk),VT=!0,_f}const Zk=(...e)=>{Jk().render(...e)},oF=(...e)=>{Qk().hydrate(...e)},Km=(...e)=>{const t=Jk().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=n3(r);if(!i)return;const o=t._component;!Be(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const s=n(i,!1,t3(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t},e3=(...e)=>{const t=Qk().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=n3(r);if(i)return n(i,!0,t3(i))},t};function t3(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function n3(e){return Ut(e)?document.querySelector(e):e}let WT=!1;const sF=()=>{WT||(WT=!0,tF(),A5())};/**
* vue v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const aF=()=>{},uF=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:HA,BaseTransitionPropsValidators:rE,Comment:an,DeprecationTypes:E5,EffectScope:Gw,ErrorCodes:j8,ErrorTypeStrings:p5,Fragment:jt,KeepAlive:a$,ReactiveEffect:rd,Static:Xa,Suspense:Y$,Teleport:yc,Text:zs,TrackOpTypes:D8,Transition:gE,TransitionGroup:Y5,TriggerOpTypes:N8,VueElement:_0,assertNumber:B8,callWithAsyncErrorHandling:ti,callWithErrorHandling:vc,camelize:qn,capitalize:qd,cloneVNode:ro,compatUtils:w5,compile:aF,computed:_e,createApp:Km,createBlock:Ur,createCommentVNode:Jn,createElementBlock:Ne,createElementVNode:ge,createHydrationRenderer:lk,createPropsRestProxy:_$,createRenderer:uk,createSSRApp:e3,createSlots:d$,createStaticVNode:r5,createTextVNode:$n,createVNode:te,customRef:TA,defineAsyncComponent:o$,defineComponent:xt,defineCustomElement:jk,defineEmits:g$,defineExpose:v$,defineModel:w$,defineOptions:y$,defineProps:m$,defineSSRCustomElement:z5,defineSlots:b$,devtools:m5,effect:t8,effectScope:rA,getCurrentInstance:ai,getCurrentScope:iA,getCurrentWatcher:M8,getTransitionRawChildren:E0,guardReactiveProps:Gn,h:cu,handleError:_u,hasInjectionContext:N$,hydrate:oF,hydrateOnIdle:Z8,hydrateOnInteraction:r$,hydrateOnMediaQuery:n$,hydrateOnVisible:t$,initCustomFormatter:f5,initDirectivesForSSR:sF,inject:cn,isMemoSame:kk,isProxy:b0,isReactive:Hs,isReadonly:Js,isRef:bn,isRuntimeOnly:u5,isShallow:Br,isVNode:no,markRaw:SA,mergeDefaults:T$,mergeModels:au,mergeProps:Et,nextTick:to,normalizeClass:_t,normalizeProps:gn,normalizeStyle:Lo,onActivated:oE,onBeforeMount:aE,onBeforeUnmount:Xd,onBeforeUpdate:VA,onDeactivated:sE,onErrorCaptured:qA,onMounted:ni,onRenderTracked:KA,onRenderTriggered:GA,onScopeDispose:oA,onServerPrefetch:WA,onUnmounted:ha,onUpdated:x0,onWatcherCleanup:IA,openBlock:Se,popScopeId:NA,provide:Fo,proxyRefs:Zw,pushScopeId:DA,queuePostFlushCb:Mm,reactive:Tu,readonly:Jw,ref:Je,registerRuntimeCompiler:a5,render:Zk,renderList:su,renderSlot:Nt,resolveComponent:Hr,resolveDirective:f$,resolveDynamicComponent:c$,resolveFilter:b5,resolveTransitionHooks:jl,setBlockTracking:Sb,setDevtoolsHook:g5,setTransitionHooks:Go,shallowReactive:EA,shallowReadonly:T8,shallowRef:gc,ssrContextKey:hk,ssrUtils:y5,stop:n8,toDisplayString:un,toHandlerKey:Ef,toHandlers:h$,toRaw:vt,toRef:_A,toRefs:is,toValue:O8,transformVNodeArgs:t5,triggerRef:hb,unref:ln,useAttrs:x$,useCssModule:G5,useCssVars:eh,useHost:Hk,useId:da,useModel:bc,useSSRContext:pk,useShadowRoot:W5,useSlots:S$,useTemplateRef:q8,useTransitionState:nE,vModelCheckbox:vE,vModelDynamic:Gk,vModelRadio:yE,vModelSelect:Vk,vModelText:Gm,vShow:Vs,version:Rk,warn:h5,watch:on,watchEffect:_r,watchPostEffect:mk,watchSyncEffect:gk,withAsyncContext:O$,withCtx:Fn,withDefaults:E$,withDirectives:qa,withKeys:Yk,withMemo:d5,withModifiers:qk,withScopeId:MA},Symbol.toStringTag,{value:"Module"}));function kb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Rb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GT(Object(n),!0).forEach(function(r){kb(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var lF=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(r,i){if(!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");if(s.async=!0,s.src=t,s.defer=n.defer,n.preconnectOrigin){var a=document.createElement("link");a.href=n.preconnectOrigin,a.rel="preconnect",o.appendChild(a)}o.appendChild(s),s.onload=r,s.onerror=i}})},cF=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(!r.length)return t;var o=r.shift();if(!(!Ga(t)||!Ga(o))){for(var s in o)Ga(o[s])?(t[s]||Object.assign(t,kb({},s,{})),e(t[s],o[s])):Object.assign(t,kb({},s,o[s]));return e.apply(void 0,[t].concat(r))}},th=function(){return!(typeof window>"u"||typeof document>"u")},KT=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;th()},fF=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return KT('Missing "appName" property inside the plugin options.',t.app_name==null),KT('Missing "name" property in the route.',t.screen_name==null),t};function dF(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),r=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),r.join("/")+n.join("/")}var hF=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},r3={},pF=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=hF();r3=cF(n,t)},Vr=function(){return r3},fu=function(){var e,t=Vr(),n=t.globalObjectName;!th()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},bE=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Vr(),i=r.config,o=r.includes;fu.apply(void 0,["config",i.id].concat(t)),Array.isArray(o)&&o.forEach(function(s){fu.apply(void 0,["config",s.id].concat(t))})},qT=function(t,n){th()&&(window["ga-disable-".concat(t)]=n)},i3=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=Vr(),n=t.config,r=t.includes;qT(n.id,e),Array.isArray(r)&&r.forEach(function(i){return qT(i.id,e)})},o3=function(){i3(!0)},mF=function(){i3(!1)},s3,gF=function(t){s3=t},wE=function(){return s3},Ou=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Vr(),r=n.includes,i=n.defaultGroupName;t.send_to==null&&Array.isArray(r)&&r.length&&(t.send_to=r.map(function(o){return o.id}).concat(i)),fu("event",e,t)},a3=function(e){if(th()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=Vr(),r=n.pageTrackerUseFullPath,i=n.pageTrackerPrependBase,o=wE(),s=o&&o.options.base,a=r?e.fullPath:e.path;t=Rb(Rb({},e.name&&{page_title:e.name}),{},{page_path:i?dF(a,s):a})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),Ou("page_view",t)}},u3=function(e){var t=Vr(),n=t.appName;if(e){var r;typeof e=="string"?r={screen_name:e}:r=e,r.app_name=r.app_name||n,Ou("screen_view",r)}},vF=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Ou.apply(void 0,["exception"].concat(t))},yF=function(e){bE("linker",e)},bF=function(e){Ou("timing_complete",e)},wF=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];fu.apply(void 0,["set"].concat(t))},EF=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Ou.apply(void 0,["refund"].concat(t))},SF=function(e){Ou("purchase",e)},xF=function(e){bE({custom_map:e})},TF=Object.freeze({__proto__:null,query:fu,config:bE,optOut:o3,optIn:mF,pageview:a3,screenview:u3,exception:vF,linker:yF,time:bF,set:wF,refund:EF,purchase:SF,customMap:xF,event:Ou}),_F=function(t){t.config.globalProperties.$gtag=TF},OF=function(){if(th()){var e=Vr(),t=e.enabled,n=e.globalObjectName,r=e.globalDataLayerName;return window[n]==null&&(window[r]=window[r]||[],window[n]=function(){window[r].push(arguments)}),window[n]("js",new Date),t||o3(),window[n]}},YT=function(t){return Rb({send_page_view:!1},t)},l3=function(){var e=Vr(),t=e.config,n=e.includes;fu("config",t.id,YT(t.params)),Array.isArray(n)&&n.forEach(function(r){fu("config",r.id,YT(r.params))})},XT=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Vr(),r=n.appName,i=n.pageTrackerTemplate,o=n.pageTrackerScreenviewEnabled,s=n.pageTrackerSkipSamePath;if(!(s&&e.path===t.path)){var a=e;if(Be(i)?a=i(e,t):o&&(a=fF({app_name:r,screen_name:e.name})),o){u3(a);return}a3(a)}},JT=function(t){var n=Vr(),r=n.pageTrackerExcludedRoutes;return r.includes(t.path)||r.includes(t.name)},IF=function(){var e=Vr(),t=e.onBeforeTrack,n=e.onAfterTrack,r=wE();r.isReady().then(function(){to().then(function(){var i=r.currentRoute;l3(),!JT(i.value)&&XT(i.value)}),r.afterEach(function(i,o){to().then(function(){JT(i)||(Be(t)&&t(i,o),XT(i,o),Be(n)&&n(i,o))})})})},CF=function(){var e=Vr(),t=e.onReady,n=e.onError,r=e.globalObjectName,i=e.globalDataLayerName,o=e.config,s=e.customResourceURL,a=e.customPreconnectOrigin,u=e.deferScriptLoad,l=e.pageTrackerEnabled,c=e.disableScriptLoad,f=!!(l&&wE());if(OF(),f?IF():l3(),!c)return lF("".concat(s,"?id=").concat(o.id,"&l=").concat(i),{preconnectOrigin:a,defer:u}).then(function(){t&&t(window[r])}).catch(function(d){return n&&n(d),d})},Qce=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;_F(t),pF(n),gF(r),Vr().bootstrap&&CF()};const QT=/^GTM-[0-9A-Z]+$/;function Bv(e){if(typeof e!="string"||!QT.test(e)){const 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 (${QT}).${n}`)}}function kl(e,t){var n;const r=document,i=r.createElement("script"),o=l=>{var c;(c=t.onReady)==null||c.call(t,{id:e,script:i}),i.removeEventListener("load",o)};if(i.addEventListener("load",o),window.dataLayer=window.dataLayer??[],(n=window.dataLayer)==null||n.push({event:"gtm.js","gtm.start":new Date().getTime()}),!e)return i;i.async=!t.defer,i.defer=!!(t.defer||t.compatibility),t.nonce&&(i.nonce=t.nonce);const s=new URLSearchParams({id:e,...t.queryParams??{}}),a=t.source??"https://www.googletagmanager.com/gtm.js";i.src=`${a}?${s}`;const u=t.parentElement??r.body;if(typeof(u==null?void 0:u.appendChild)!="function")throw new Error("parentElement must be a DOM element");return u.appendChild(i),i}function AF(e="https://www.googletagmanager.com/gtm.js"){return Array.from(document.getElementsByTagName("script")).some(t=>t.src.includes(e))}class kF{constructor(t){St(this,"id");St(this,"options");St(this,"scriptElements",[]);St(this,"isInBrowserContext",()=>typeof window<"u");if(Array.isArray(t.id))for(const n of t.id)Bv(typeof n=="string"?n:n.id);else Bv(t.id);this.id=t.id,this.options={enabled:!0,debug:!1,loadScript:!0,defer:!1,compatibility:!1,...t},delete this.options.id}enabled(){return this.options.enabled??!0}enable(t=!0,n){if(this.options.enabled=t,this.isInBrowserContext()&&t&&!AF(n)&&this.options.loadScript)if(Array.isArray(this.id))this.id.forEach(r=>{let i;typeof r=="string"?i=kl(r,{...this.options}):i=kl(r.id,{...this.options,queryParams:r.queryParams}),this.scriptElements.push(i)});else{const r=kl(this.id,{...this.options});this.scriptElements.push(r)}}debugEnabled(){return this.options.debug??!1}debug(t){this.options.debug=t}dataLayer(){return this.isInBrowserContext()&&this.options.enabled?window.dataLayer=window.dataLayer??[]:!1}trackView(t,n,r={}){const i=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${i?"":"(disabled)"}]: Dispatching TrackView`,{screenName:t,path:n}),i&&(window.dataLayer=window.dataLayer??[]).push({...r,event:this.options.trackViewEventProperty??"content-view","content-name":n,"content-view-name":t})}trackEvent({event:t,category:n=null,action:r=null,label:i=null,value:o=null,noninteraction:s=!1,...a}={}){const u=this.isInBrowserContext()&&(this.options.enabled??!1);this.options.debug&&console.log(`[GTM-Support${u?"":"(disabled)"}]: Dispatching event`,{event:t,category:n,action:r,label:i,value:o,...a}),u&&(window.dataLayer=window.dataLayer??[]).push({event:t??"interaction",target:n,action:r,"target-properties":i,value:o,"interaction-type":s,...a})}}let Dr;function RF(e,t={id:""}){t={trackOnNextTick:!1,...t},Dr=new kF(t),e.config.globalProperties.$gtm=Dr,Dr.isInBrowserContext()&&(t.vueRouter&&PF(e,t.vueRouter,t.ignoredViews,t.trackOnNextTick,t.vueRouterAdditionalEventData),Dr.options.enabled&&Dr.options.loadScript&&(Array.isArray(t.id)?t.id.forEach(n=>{if(typeof n=="string")kl(n,t);else{const r={...t};n.queryParams!=null&&(r.queryParams={...r.queryParams,...n.queryParams}),kl(n.id,r)}}):kl(t.id,t))),e.provide("gtm",t)}function PF(e,t,n=[],r,i=()=>({})){function o(s,a){return s instanceof Error?!!(s.type&a):!1}t.afterEach(async(s,a,u)=>{var l,c,f;if(typeof s.name!="string"||Array.isArray(n)&&n.includes(s.name)||typeof n=="function"&&n(s,a))return;const d=s.meta&&typeof s.meta.gtm=="string"&&s.meta.gtm?s.meta.gtm:s.name;o(u,4)?Dr!=null&&Dr.debugEnabled()&&console.log(`[VueGtm]: '${d}' not tracked due to navigation aborted`):o(u,8)&&Dr!=null&&Dr.debugEnabled()&&console.log(`[VueGtm]: '${d}' not tracked due to navigation cancelled`);const h={...await i(s,a),...(l=s.meta)==null?void 0:l.gtmAdditionalEventData};let m=((f=(c=t.options)==null?void 0:c.history)==null?void 0:f.base)??"";m.endsWith("/")||(m+="/"),m+=s.fullPath.startsWith("/")?s.fullPath.substring(1):s.fullPath,r?to(()=>{Dr==null||Dr.trackView(d,m,h)}):Dr==null||Dr.trackView(d,m,h)})}function Zce(e){return{install:t=>RF(t,e)}}const c3=Object.prototype.toString;function EE(e){switch(c3.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ko(e,Error)}}function wc(e,t){return c3.call(e)===`[object ${t}]`}function f3(e){return wc(e,"ErrorEvent")}function ZT(e){return wc(e,"DOMError")}function DF(e){return wc(e,"DOMException")}function Bo(e){return wc(e,"String")}function SE(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function xE(e){return e===null||SE(e)||typeof e!="object"&&typeof e!="function"}function zl(e){return wc(e,"Object")}function O0(e){return typeof Event<"u"&&Ko(e,Event)}function NF(e){return typeof Element<"u"&&Ko(e,Element)}function MF(e){return wc(e,"RegExp")}function I0(e){return!!(e&&e.then&&typeof e.then=="function")}function LF(e){return zl(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Ko(e,t){try{return e instanceof t}catch{return!1}}function d3(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Rl(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function e2(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const i=e[r];try{d3(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function $F(e,t,n=!1){return Bo(e)?MF(t)?t.test(e):Bo(t)?n?e===t:e.includes(t):!1:!1}function Ws(e,t=[],n=!1){return t.some(r=>$F(e,r,n))}function FF(e,t,n=250,r,i,o,s){if(!o.exception||!o.exception.values||!s||!Ko(s.originalException,Error))return;const a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=BF(Pb(e,t,i,s.originalException,r,o.exception.values,a,0),n))}function Pb(e,t,n,r,i,o,s,a){if(o.length>=n+1)return o;let u=[...o];if(Ko(r[i],Error)){t2(s,a);const l=e(t,r[i]),c=u.length;n2(l,i,c,a),u=Pb(e,t,n,r[i],i,[l,...u],l,c)}return Array.isArray(r.errors)&&r.errors.forEach((l,c)=>{if(Ko(l,Error)){t2(s,a);const f=e(t,l),d=u.length;n2(f,`errors[${c}]`,d,a),u=Pb(e,t,n,l,i,[f,...u],f,d)}}),u}function t2(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function n2(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function BF(e,t){return e.map(n=>(n.value&&(n.value=Rl(n.value,t)),n))}const jo="8.27.0",ct=globalThis;function TE(e,t,n){const r=ct,i=r.__SENTRY__=r.__SENTRY__||{},o=i[jo]=i[jo]||{};return o[e]||(o[e]=t())}const Pl=ct,jF=80;function qo(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let o=0,s=0;const a=" > ",u=a.length;let l;const c=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||jF;for(;n&&o++<r&&(l=HF(n,c),!(l==="html"||o>1&&s+i.length*u+l.length>=f));)i.push(l),s+=l.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function HF(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(Pl.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const i=t&&t.length?t.filter(s=>n.getAttribute(s)).map(s=>[s,n.getAttribute(s)]):null;if(i&&i.length)i.forEach(s=>{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const s=n.className;if(s&&Bo(s)){const a=s.split(/\s+/);for(const u of a)r.push(`.${u}`)}}const o=["aria-label","type","name","title","alt"];for(const s of o){const a=n.getAttribute(s);a&&r.push(`[${s}="${a}"]`)}return r.join("")}function h3(){try{return Pl.document.location.href}catch{return""}}function UF(e){return Pl.document&&Pl.document.querySelector?Pl.document.querySelector(e):null}function p3(e){if(!Pl.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const Ec=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,zF="Sentry Logger ",Db=["debug","info","warn","error","log","assert","trace"],qm={};function ss(e){if(!("console"in ct))return e();const t=ct.console,n={},r=Object.keys(qm);r.forEach(i=>{const o=qm[i];n[i]=t[i],t[i]=o});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function VF(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Ec?Db.forEach(n=>{t[n]=(...r)=>{e&&ss(()=>{ct.console[n](`${zF}[${n}]:`,...r)})}}):Db.forEach(n=>{t[n]=()=>{}}),t}const me=VF(),WF=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function GF(e){return e==="http"||e==="https"}function nh(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:u}=e;return`${a}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function KF(e){const t=WF.exec(e);if(!t){ss(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,i="",o="",s="",a=""]=t.slice(1);let u="",l=a;const c=l.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),l=c.pop()),l){const f=l.match(/^\d+/);f&&(l=f[0])}return m3({host:o,pass:i,path:u,projectId:l,port:s,protocol:n,publicKey:r})}function m3(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function qF(e){if(!Ec)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(s=>e[s]?!1:(me.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?GF(r)?t&&isNaN(parseInt(t,10))?(me.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(me.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(me.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function YF(e){const t=typeof e=="string"?KF(e):m3(e);if(!(!t||!qF(t)))return t}class Ui extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function Dn(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);typeof i=="function"&&g3(i,r),e[t]=i}function ri(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Ec&&me.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function g3(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,ri(e,"__sentry_original__",t)}catch{}}function _E(e){return e.__sentry_original__}function XF(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function v3(e){if(EE(e))return{message:e.message,name:e.name,stack:e.stack,...i2(e)};if(O0(e)){const t={type:e.type,target:r2(e.target),currentTarget:r2(e.currentTarget),...i2(e)};return typeof CustomEvent<"u"&&Ko(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function r2(e){try{return NF(e)?qo(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function i2(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function JF(e,t=40){const n=Object.keys(v3(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Rl(r,t);for(let i=n.length;i>0;i--){const o=n.slice(0,i).join(", ");if(!(o.length>t))return i===n.length?o:Rl(o,t)}return""}function yn(e){return Nb(e,new Map)}function Nb(e,t){if(QF(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=Nb(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(Nb(i,t))}),r}return e}function QF(e){if(!zl(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const y3=50,du="?",o2=/\(error: (.*)\)/,s2=/captureMessage|captureException/;function b3(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{const o=[],s=n.split(`
`);for(let a=r;a<s.length;a++){const u=s[a];if(u.length>1024)continue;const l=o2.test(u)?u.replace(o2,"$1"):u;if(!l.match(/\S*Error: /)){for(const c of t){const f=c(l);if(f){o.push(f);break}}if(o.length>=y3+i)break}}return eB(o.slice(i))}}function ZF(e){return Array.isArray(e)?b3(...e):e}function eB(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(qh(t).function||"")&&t.pop(),t.reverse(),s2.test(qh(t).function||"")&&(t.pop(),s2.test(qh(t).function||"")&&t.pop()),t.slice(0,y3).map(n=>({...n,filename:n.filename||qh(t).filename,function:n.function||du}))}function qh(e){return e[e.length-1]||{}}const jv="<anonymous>";function Yo(e){try{return!e||typeof e!="function"?jv:e.name||jv}catch{return jv}}function a2(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Qp={},u2={};function pa(e,t){Qp[e]=Qp[e]||[],Qp[e].push(t)}function ma(e,t){u2[e]||(t(),u2[e]=!0)}function Qr(e,t){const n=e&&Qp[e];if(n)for(const r of n)try{r(t)}catch(i){Ec&&me.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Yo(r)}
Error:`,i)}}function tB(e){const t="console";pa(t,e),ma(t,nB)}function nB(){"console"in ct&&Db.forEach(function(e){e in ct.console&&Dn(ct.console,e,function(t){return qm[e]=t,function(...n){Qr("console",{args:n,level:e});const i=qm[e];i&&i.apply(ct.console,n)}})})}const Mb=ct;function w3(){if(!("fetch"in Mb))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Lb(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function rB(){if(typeof EdgeRuntime=="string")return!0;if(!w3())return!1;if(Lb(Mb.fetch))return!0;let e=!1;const t=Mb.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Lb(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){Ec&&me.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}const E3=1e3;function rh(){return Date.now()/E3}function iB(){const{performance:e}=ct;if(!e||!e.now)return rh;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/E3}const Yn=iB(),fr=(()=>{const{performance:e}=ct;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,s=e.timing&&e.timing.navigationStart,u=typeof s=="number"?Math.abs(s+n-r):t,l=u<t;return o||l?i<=u?e.timeOrigin:s:r})();function S3(e,t){const n="fetch";pa(n,e),ma(n,()=>x3(void 0,t))}function oB(e){const t="fetch-body-resolved";pa(t,e),ma(t,()=>x3(aB))}function x3(e,t=!1){t&&!rB()||Dn(ct,"fetch",function(n){return function(...r){const{method:i,url:o}=uB(r),s={args:r,fetchData:{method:i,url:o},startTimestamp:Yn()*1e3};e||Qr("fetch",{...s});const a=new Error().stack;return n.apply(ct,r).then(async u=>(e?e(u):Qr("fetch",{...s,endTimestamp:Yn()*1e3,response:u}),u),u=>{throw Qr("fetch",{...s,endTimestamp:Yn()*1e3,error:u}),EE(u)&&u.stack===void 0&&(u.stack=a,ri(u,"framesToPop",1)),u})}})}async function sB(e,t){if(e&&e.body&&e.body.getReader){const n=e.body.getReader();async function r({done:i}){if(i)return Promise.resolve();try{const o=await Promise.race([n.read(),new Promise(s=>{setTimeout(()=>{s({done:!0})},5e3)})]);await r(o)}catch{}}return n.read().then(r).then(t).catch(()=>{})}}async function aB(e){let t;try{t=e.clone()}catch{return}await sB(t,()=>{Qr("fetch-body-resolved",{endTimestamp:Yn()*1e3,response:e})})}function $b(e,t){return!!e&&typeof e=="object"&&!!e[t]}function l2(e){return typeof e=="string"?e:e?$b(e,"url")?e.url:e.toString?e.toString():"":""}function uB(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:l2(n),method:$b(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:l2(t),method:$b(t,"method")?String(t.method).toUpperCase():"GET"}}let Yh=null;function T3(e){const t="error";pa(t,e),ma(t,lB)}function lB(){Yh=ct.onerror,ct.onerror=function(e,t,n,r,i){return Qr("error",{column:r,error:i,line:n,msg:e,url:t}),Yh&&!Yh.__SENTRY_LOADER__?Yh.apply(this,arguments):!1},ct.onerror.__SENTRY_INSTRUMENTED__=!0}let Xh=null;function _3(e){const t="unhandledrejection";pa(t,e),ma(t,cB)}function cB(){Xh=ct.onunhandledrejection,ct.onunhandledrejection=function(e){return Qr("unhandledrejection",e),Xh&&!Xh.__SENTRY_LOADER__?Xh.apply(this,arguments):!0},ct.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function fB(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function dB(){return"npm"}function hB(){return!fB()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function c2(){return typeof window<"u"&&(!hB()||pB())}function pB(){return ct.process!==void 0&&ct.process.type==="renderer"}function mB(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let o=0;o<t.length;o++)if(t[o]===i)return!0;return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function qt(){const e=ct,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function O3(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Os(e){const{message:t,event_id:n}=e;if(t)return t;const r=O3(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Fb(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type="Error")}function fd(e,t){const n=O3(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const o={...i&&i.data,...t.data};n.mechanism.data=o}}function f2(e){if(e&&e.__sentry_captured__)return!0;try{ri(e,"__sentry_captured__",!0)}catch{}return!1}function OE(e){return Array.isArray(e)?e:[e]}function ji(e,t=100,n=1/0){try{return Bb("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function I3(e,t=3,n=100*1024){const r=ji(e,t);return bB(r)>n?I3(e,t-1,n):r}function Bb(e,t,n=1/0,r=1/0,i=mB()){const[o,s]=i;if(t==null||["number","boolean","string"].includes(typeof t)&&!Number.isNaN(t))return t;const a=gB(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const u=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(u===0)return a.replace("object ","");if(o(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const h=l.toJSON();return Bb("",h,u-1,r,i)}catch{}const c=Array.isArray(t)?[]:{};let f=0;const d=v3(t);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(f>=r){c[h]="[MaxProperties ~]";break}const p=d[h];c[h]=Bb(h,p,u-1,r,i),f++}return s(t),c}function gB(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(d3(t))return"[VueViewModel]";if(LF(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${Yo(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=vB(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function vB(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function yB(e){return~-encodeURI(e).split(/%..|./).length}function bB(e){return yB(JSON.stringify(e))}var _o;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(_o||(_o={}));function Xo(e){return new qr(t=>{t(e)})}function Ym(e){return new qr((t,n)=>{n(e)})}class qr{constructor(t){qr.prototype.__init.call(this),qr.prototype.__init2.call(this),qr.prototype.__init3.call(this),qr.prototype.__init4.call(this),this._state=_o.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new qr((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(s){i(s)}},o=>{if(!n)i(o);else try{r(n(o))}catch(s){i(s)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new qr((n,r)=>{let i,o;return this.then(s=>{o=!1,i=s,t&&t()},s=>{o=!0,i=s,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init(){this._resolve=t=>{this._setResult(_o.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(_o.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===_o.PENDING){if(I0(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===_o.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===_o.RESOLVED&&n[1](this._value),this._state===_o.REJECTED&&n[2](this._value),n[0]=!0)})}}}function wB(e){const t=[];function n(){return e===void 0||t.length<e}function r(s){return t.splice(t.indexOf(s),1)[0]||Promise.resolve(void 0)}function i(s){if(!n())return Ym(new Ui("Not adding Promise because buffer limit was reached."));const a=s();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(s){return new qr((a,u)=>{let l=t.length;if(!l)return a(!0);const c=setTimeout(()=>{s&&s>0&&a(!1)},s);t.forEach(f=>{Xo(f).then(()=>{--l||(clearTimeout(c),a(!0))},u)})})}return{$:t,add:i,drain:o}}function Ja(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}}const EB=["fatal","error","warning","log","info","debug"];function SB(e){return e==="warn"?"warning":EB.includes(e)?e:"log"}const jb="baggage",C3="sentry-",xB=/^sentry-/,TB=8192;function A3(e){const t=_B(e);if(!t)return;const n=Object.entries(t).reduce((r,[i,o])=>{if(i.match(xB)){const s=i.slice(C3.length);r[s]=o}return r},{});if(Object.keys(n).length>0)return n}function k3(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${C3}${r}`]=i),n),{});return OB(t)}function _B(e){if(!(!e||!Bo(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=d2(n);return Object.entries(r).forEach(([i,o])=>{t[i]=o}),t},{}):d2(e)}function d2(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function OB(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const o=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,s=i===0?o:`${t},${o}`;return s.length>TB?(Ec&&me.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):s},"")}const IB=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function CB(e){if(!e)return;const t=e.match(IB);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 AB(e,t){const n=CB(e),r=A3(t),{traceId:i,parentSpanId:o,parentSampled:s}=n||{};return n?{traceId:i||qt(),parentSpanId:o||qt().substring(16),spanId:qt().substring(16),sampled:s,dsc:r||{}}:{traceId:i||qt(),spanId:qt().substring(16)}}function IE(e=qt(),t=qt().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Iu(e,t=[]){return[e,t]}function kB(e,t){const[n,r]=e;return[n,[...r,t]]}function h2(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 Hb(e){return ct.__SENTRY__&&ct.__SENTRY__.encodePolyfill?ct.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function RB(e){const[t,n]=e;let r=JSON.stringify(t);function i(o){typeof r=="string"?r=typeof o=="string"?r+o:[Hb(r),o]:r.push(typeof o=="string"?Hb(o):o)}for(const o of n){const[s,a]=o;if(i(`
${JSON.stringify(s)}
`),typeof a=="string"||a instanceof Uint8Array)i(a);else{let u;try{u=JSON.stringify(a)}catch{u=JSON.stringify(ji(a))}i(u)}}return typeof r=="string"?r:PB(r)}function PB(e){const t=e.reduce((i,o)=>i+o.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function DB(e){return[{type:"span"},e]}function NB(e){const t=typeof e.data=="string"?Hb(e.data):e.data;return[yn({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const MB={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function p2(e){return MB[e]}function CE(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function R3(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:nh(r)},...i&&{trace:yn({...i})}}}function LB(e,t,n){const r=[{type:"client_report"},{timestamp:rh(),discarded_events:e}];return Iu(t?{dsn:t}:{},[r])}const $B=60*1e3;function FB(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?$B:r-t}function BB(e,t){return e[t]||e.all||0}function P3(e,t,n=Date.now()){return BB(e,t)>n}function D3(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(const a of o.trim().split(",")){const[u,l,,,c]=a.split(":",5),f=parseInt(u,10),d=(isNaN(f)?60:f)*1e3;if(!l)i.all=r+d;else for(const h of l.split(";"))h==="metric_bucket"?(!c||c.split(";").includes("custom"))&&(i[h]=r+d):i[h]=r+d}else s?i.all=r+FB(s,r):t===429&&(i.all=r+60*1e3);return i}function jB(e,t){return e??t()}function Er(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}function Xm(){return{traceId:qt(),spanId:qt().substring(16)}}const Jh=ct;function HB(){const e=Jh.chrome,t=e&&e.app&&e.app.runtime,n="history"in Jh&&!!Jh.history.pushState&&!!Jh.history.replaceState;return!t&&n}const Ze=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Sc(){return AE(ct),ct}function AE(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||jo,t[jo]=t[jo]||{}}function UB(e){const t=Yn(),n={sid:qt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>VB(n)};return e&&Vl(n,e),n}function Vl(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||Yn(),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:qt()),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 zB(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Vl(e,n)}function VB(e){return yn({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Ub="_sentrySpan";function dd(e,t){t?ri(e,Ub,t):delete e[Ub]}function Jm(e){return e[Ub]}const WB=100;class kE{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Xm()}clone(){const t=new kE;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},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._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,dd(t,Jm(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&&Vl(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[r,i]=n instanceof Zs?[n.getScopeData(),n.getRequestSession()]:zl(n)?[t,t.requestSession]:[],{tags:o,extra:s,user:a,contexts:u,level:l,fingerprint:c=[],propagationContext:f}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...s},this._contexts={...this._contexts,...u},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),c.length&&(this._fingerprint=c),f&&(this._propagationContext=f),i&&(this._requestSession=i),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,dd(this,void 0),this._attachments=[],this._propagationContext=Xm(),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:WB;if(r<=0)return this;const i={timestamp:rh(),...t},o=this._breadcrumbs;return o.push(i),this._breadcrumbs=o.length>r?o.slice(-r):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Jm(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:qt();if(!this._client)return me.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&&r.event_id?r.event_id:qt();if(!this._client)return me.warn("No client configured on scope - will not capture message!"),i;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},this),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:qt();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(me.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const Zs=kE;function GB(){return TE("defaultCurrentScope",()=>new Zs)}function KB(){return TE("defaultIsolationScope",()=>new Zs)}class qB{constructor(t,n){let r;t?r=t:r=new Zs;let i;n?i=n:i=new Zs,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 I0(r)?r.then(i=>(this._popScope(),i),i=>{throw this._popScope(),i}):(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 Wl(){const e=Sc(),t=AE(e);return t.stack=t.stack||new qB(GB(),KB())}function YB(e){return Wl().withScope(e)}function XB(e,t){const n=Wl();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function m2(e){return Wl().withScope(()=>e(Wl().getIsolationScope()))}function JB(){return{withIsolationScope:m2,withScope:YB,withSetScope:XB,withSetIsolationScope:(e,t)=>m2(t),getCurrentScope:()=>Wl().getScope(),getIsolationScope:()=>Wl().getIsolationScope()}}function ih(e){const t=AE(e);return t.acs?t.acs:JB()}function Mt(){const e=Sc();return ih(e).getCurrentScope()}function ui(){const e=Sc();return ih(e).getIsolationScope()}function QB(){return TE("globalScope",()=>new Zs)}function RE(...e){const t=Sc(),n=ih(t);if(e.length===2){const[r,i]=e;return r?n.withSetScope(r,i):n.withScope(i)}return n.withScope(e[0])}function ft(){return Mt().getClient()}const ZB="_sentryMetrics";function zb(e){const t=e[ZB];if(!t)return;const n={};for(const[,[r,i]]of t)(n[r]||(n[r]=[])).push(yn(i));return n}const Yr="sentry.source",N3="sentry.sample_rate",hu="sentry.op",Jt="sentry.origin",Vb="sentry.idle_span_finish_reason",C0="sentry.measurement_unit",A0="sentry.measurement_value",e9="sentry.profile_id",PE="sentry.exclusive_time",t9=0,M3=1,On=2;function n9(e){if(e<400&&e>=100)return{code:M3};if(e>=400&&e<500)switch(e){case 401:return{code:On,message:"unauthenticated"};case 403:return{code:On,message:"permission_denied"};case 404:return{code:On,message:"not_found"};case 409:return{code:On,message:"already_exists"};case 413:return{code:On,message:"failed_precondition"};case 429:return{code:On,message:"resource_exhausted"};case 499:return{code:On,message:"cancelled"};default:return{code:On,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:On,message:"unimplemented"};case 503:return{code:On,message:"unavailable"};case 504:return{code:On,message:"deadline_exceeded"};default:return{code:On,message:"internal_error"}}return{code:On,message:"unknown_error"}}function L3(e,t){e.setAttribute("http.response.status_code",t);const n=n9(t);n.message!=="unknown_error"&&e.setStatus(n)}const $3=0,F3=1;function r9(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:s,origin:a}=pt(e);return yn({parent_span_id:o,span_id:t,trace_id:n,data:r,op:i,status:s,origin:a})}function i9(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=pt(e);return yn({parent_span_id:r,span_id:t,trace_id:n})}function B3(e){const{traceId:t,spanId:n}=e.spanContext(),r=Cu(e);return IE(t,n,r)}function Qa(e){return typeof e=="number"?g2(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?g2(e.getTime()):Yn()}function g2(e){return e>9999999999?e/1e3:e}function pt(e){if(s9(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(o9(e)){const{attributes:r,startTime:i,name:o,endTime:s,parentSpanId:a,status:u}=e;return yn({span_id:t,trace_id:n,data:r,description:o,parent_span_id:a,start_timestamp:Qa(i),timestamp:Qa(s)||void 0,status:j3(u),op:r[hu],origin:r[Jt],_metrics_summary:zb(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function o9(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function s9(e){return typeof e.getSpanJSON=="function"}function Cu(e){const{traceFlags:t}=e.spanContext();return t===F3}function j3(e){if(!(!e||e.code===t9))return e.code===M3?"ok":e.message||"unknown_error"}const Za="_sentryChildSpans",Wb="_sentryRootSpan";function H3(e,t){const n=e[Wb]||e;ri(t,Wb,n),e[Za]?e[Za].add(t):ri(e,Za,new Set([t]))}function a9(e,t){e[Za]&&e[Za].delete(t)}function Zp(e){const t=new Set;function n(r){if(!t.has(r)&&Cu(r)){t.add(r);const i=r[Za]?Array.from(r[Za]):[];for(const o of i)n(o)}}return n(e),Array.from(t)}function Nn(e){return e[Wb]||e}function En(){const e=Sc(),t=ih(e);return t.getActiveSpan?t.getActiveSpan():Jm(Mt())}let v2=!1;function u9(){v2||(v2=!0,T3(Gb),_3(Gb))}function Gb(){const e=En(),t=e&&Nn(e);if(t){const n="internal_error";Ze&&me.log(`[Tracing] Root span: ${n} -> Global error occured`),t.setStatus({code:On,message:n})}}Gb.tag="sentry_tracingErrorCallback";const U3="_sentryScope",z3="_sentryIsolationScope";function l9(e,t,n){e&&(ri(e,z3,n),ri(e,U3,t))}function y2(e){return{scope:e[U3],isolationScope:e[z3]}}function Jo(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=ft(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class xc{constructor(t={}){this._traceId=t.traceId||qt(),this._spanId=t.spanId||qt().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:$3}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,r){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}const DE="production",V3="_frozenDsc";function b2(e,t){ri(e,V3,t)}function k0(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=yn({environment:n.environment||DE,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function Au(e){const t=ft();if(!t)return{};const n=k0(pt(e).trace_id||"",t),r=Nn(e),i=r[V3];if(i)return i;const o=r.spanContext().traceState,s=o&&o.get("sentry.dsc"),a=s&&A3(s);if(a)return a;const u=pt(r),l=u.data||{},c=l[N3];c!=null&&(n.sample_rate=`${c}`);const f=l[Yr],d=u.description;return f!=="url"&&d&&(n.transaction=d),n.sampled=String(Cu(r)),t.emit("createDsc",n,r),n}function c9(e){if(!Ze)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=pt(e),{spanId:i}=e.spanContext(),o=Cu(e),s=Nn(e),a=s===e,u=`[Tracing] Starting ${o?"sampled":"unsampled"} ${a?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!a){const{op:c,description:f}=pt(s);l.push(`root ID: ${s.spanContext().spanId}`),c&&l.push(`root op: ${c}`),f&&l.push(`root description: ${f}`)}me.log(`${u}
  ${l.join(`
  `)}`)}function f9(e){if(!Ze)return;const{description:t="< unknown name >",op:n="< unknown op >"}=pt(e),{spanId:r}=e.spanContext(),o=Nn(e)===e,s=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${t}" with ID ${r}`;me.log(s)}function Qm(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){Ze&&me.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}function d9(e,t){if(!Jo(e))return[!1];let n;typeof e.tracesSampler=="function"?n=e.tracesSampler(t):t.parentSampled!==void 0?n=t.parentSampled:typeof e.tracesSampleRate<"u"?n=e.tracesSampleRate:n=1;const r=Qm(n);return r===void 0?(Ze&&me.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()<r?[!0,r]:(Ze&&me.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,r]):(Ze&&me.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,r])}function h9(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function p9(e,t,n,r){const i=CE(n),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:nh(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Iu(o,[s])}function m9(e,t,n,r){const i=CE(n),o=e.type&&e.type!=="replay_event"?e.type:"event";h9(e,n&&n.sdk);const s=R3(e,i,r,t);return delete e.sdkProcessingMetadata,Iu(s,[[{type:o},e]])}function g9(e,t){function n(c){return!!c.trace_id&&!!c.public_key}const r=Au(e[0]),i=t&&t.getDsn(),o=t&&t.getOptions().tunnel,s={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!o&&i&&{dsn:nh(i)}},a=t&&t.getOptions().beforeSendSpan,u=a?c=>a(pt(c)):c=>pt(c),l=[];for(const c of e){const f=u(c);f&&l.push(DB(f))}return Iu(s,l)}function v9(e,t,n){const r=En(),i=r&&Nn(r);i&&i.addEvent(e,{[A0]:t,[C0]:n})}function w2(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const r=n.attributes||{},i=r[C0],o=r[A0];typeof i=="string"&&typeof o=="number"&&(t[n.name]={value:o,unit:i})}),t}const E2=1e3;class NE{constructor(t={}){this._traceId=t.traceId||qt(),this._spanId=t.spanId||qt().substring(16),this._startTime=t.startTimestamp||Yn(),this._attributes={},this.setAttributes({[Jt]:"manual",[hu]: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}addLinks(t){return this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?F3:$3}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Qa(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this}end(t){this._endTime||(this._endTime=Qa(t),f9(this),this._onSpanEnded())}getSpanJSON(){return yn({data:this._attributes,description:this._name,op:this._attributes[hu],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:j3(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Jt],_metrics_summary:zb(this),profile_id:this._attributes[e9],exclusive_time:this._attributes[PE],measurements:w2(this._events),is_segment:this._isStandaloneSpan&&Nn(this)===this||void 0,segment_id:this._isStandaloneSpan?Nn(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,r){Ze&&me.log("[Tracing] Adding an event to span:",t);const i=S2(n)?n:r||Yn(),o=S2(n)?{}:n||{},s={name:t,time:Qa(i),attributes:o};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=ft();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===Nn(this)))return;if(this._isStandaloneSpan){this._sampled?b9(g9([this],t)):(Ze&&me.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const r=this._convertSpanToTransaction();r&&(y2(this).scope||Mt()).captureEvent(r)}_convertSpanToTransaction(){if(!x2(pt(this)))return;this._name||(Ze&&me.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=y2(this),i=(t||Mt()).getClient()||ft();if(this._sampled!==!0){Ze&&me.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),i&&i.recordDroppedEvent("sample_rate","transaction");return}const s=Zp(this).filter(f=>f!==this&&!y9(f)).map(f=>pt(f)).filter(x2),a=this._attributes[Yr],u={contexts:{trace:r9(this)},spans:s.length>E2?s.sort((f,d)=>f.start_timestamp-d.start_timestamp).slice(0,E2):s,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,...yn({dynamicSamplingContext:Au(this)})},_metrics_summary:zb(this),...a&&{transaction_info:{source:a}}},l=w2(this._events);return l&&Object.keys(l).length&&(Ze&&me.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),u.measurements=l),u}}function S2(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function x2(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function y9(e){return e instanceof NE&&e.isStandaloneSpan()}function b9(e){const t=ft();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}const r=t.getTransport();r&&r.send(e).then(null,i=>{Ze&&me.error("Error while sending span:",i)})}const W3="__SENTRY_SUPPRESS_TRACING__";function io(e){const t=K3();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=E9(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?s=>RE(e.scope,s):i!==void 0?s=>G3(i,s):s=>s())(()=>{const s=Mt(),a=x9(s);return e.onlyIfParent&&!a?new xc:w9({parentSpan:a,spanArguments:n,forceTransaction:r,scope:s})})}function G3(e,t){const n=K3();return n.withActiveSpan?n.withActiveSpan(e,t):RE(r=>(dd(r,e||void 0),t(r)))}function w9({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!Jo())return new xc;const i=ui();let o;if(e&&!n)o=S9(e,r,t),H3(e,o);else if(e){const s=Au(e),{traceId:a,spanId:u}=e.spanContext(),l=Cu(e);o=T2({traceId:a,parentSpanId:u,...t},r,l),b2(o,s)}else{const{traceId:s,dsc:a,parentSpanId:u,sampled:l}={...i.getPropagationContext(),...r.getPropagationContext()};o=T2({traceId:s,parentSpanId:u,...t},r,l),a&&b2(o,a)}return c9(o),l9(o,r,i),o}function E9(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const r={...n};return r.startTimestamp=Qa(e.startTime),delete r.startTime,r}return n}function K3(){const e=Sc();return ih(e)}function T2(e,t,n){const r=ft(),i=r&&r.getOptions()||{},{name:o="",attributes:s}=e,[a,u]=t.getScopeData().sdkProcessingMetadata[W3]?[!1]:d9(i,{name:o,parentSampled:n,attributes:s,transactionContext:{name:o,parentSampled:n}}),l=new NE({...e,attributes:{[Yr]:"custom",...e.attributes},sampled:a});return u!==void 0&&l.setAttribute(N3,u),r&&r.emit("spanStart",l),l}function S9(e,t,n){const{spanId:r,traceId:i}=e.spanContext(),o=t.getScopeData().sdkProcessingMetadata[W3]?!1:Cu(e),s=o?new NE({...n,parentSpanId:r,traceId:i,sampled:o}):new xc({traceId:i});H3(e,s);const a=ft();return a&&(a.emit("spanStart",s),n.endTimestamp&&a.emit("spanEnd",s)),s}function x9(e){const t=Jm(e);if(!t)return;const n=ft();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?Nn(t):t}const em={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},T9="heartbeatFailed",_9="idleTimeout",O9="finalTimeout",I9="externalFinish";function q3(e,t={}){const n=new Map;let r=!1,i,o=I9,s=!t.disableAutoFinish;const a=[],{idleTimeout:u=em.idleTimeout,finalTimeout:l=em.finalTimeout,childSpanTimeout:c=em.childSpanTimeout,beforeSpanEnd:f}=t,d=ft();if(!d||!Jo())return new xc;const h=Mt(),p=En(),m=C9(e);m.end=new Proxy(m.end,{apply(E,_,C){f&&f(m);const[O,...T]=C,x=O||Yn(),I=Qa(x),A=Zp(m).filter(N=>N!==m);if(!A.length)return S(I),Reflect.apply(E,_,[I,...T]);const D=A.map(N=>pt(N).timestamp).filter(N=>!!N),R=D.length?Math.max(...D):void 0,k=pt(m).start_timestamp,P=Math.min(k?k+l/1e3:1/0,Math.max(k||-1/0,Math.min(I,R||1/0)));return S(P),Reflect.apply(E,_,[P,...T])}});function g(){i&&(clearTimeout(i),i=void 0)}function v(E){g(),i=setTimeout(()=>{!r&&n.size===0&&s&&(o=_9,m.end(E))},u)}function y(E){i=setTimeout(()=>{!r&&s&&(o=T9,m.end(E))},c)}function b(E){g(),n.set(E,!0);const _=Yn();y(_+c/1e3)}function w(E){if(n.has(E)&&n.delete(E),n.size===0){const _=Yn();v(_+u/1e3)}}function S(E){r=!0,n.clear(),a.forEach(I=>I()),dd(h,p);const _=pt(m),{start_timestamp:C}=_;if(!C)return;(_.data||{})[Vb]||m.setAttribute(Vb,o),me.log(`[Tracing] Idle span "${_.op}" finished`);const T=Zp(m).filter(I=>I!==m);let x=0;T.forEach(I=>{I.isRecording()&&(I.setStatus({code:On,message:"cancelled"}),I.end(E),Ze&&me.log("[Tracing] Cancelling span since span ended early",JSON.stringify(I,void 0,2)));const A=pt(I),{timestamp:D=0,start_timestamp:R=0}=A,k=R<=E,P=(l+u)/1e3,N=D-R<=P;if(Ze){const $=JSON.stringify(I,void 0,2);k?N||me.log("[Tracing] Discarding span since it finished after idle span final timeout",$):me.log("[Tracing] Discarding span since it happened after idle span was finished",$)}(!N||!k)&&(a9(m,I),x++)}),x>0&&m.setAttribute("sentry.idle_span_discarded_spans",x)}return a.push(d.on("spanStart",E=>{if(r||E===m||pt(E).timestamp)return;Zp(m).includes(E)&&b(E.spanContext().spanId)})),a.push(d.on("spanEnd",E=>{r||w(E.spanContext().spanId)})),a.push(d.on("idleSpanEnableAutoFinish",E=>{E===m&&(s=!0,v(),n.size&&y())})),t.disableAutoFinish||v(),setTimeout(()=>{r||(m.setStatus({code:On,message:"deadline_exceeded"}),o=O9,m.end())},l),m}function C9(e){const t=io(e);return dd(Mt(),t),Ze&&me.log("[Tracing] Started span is an idle span"),t}function Kb(e,t,n,r=0){return new qr((i,o)=>{const s=e[r];if(t===null||typeof s!="function")i(t);else{const a=s({...t},n);Ze&&s.id&&a===null&&me.log(`Event processor "${s.id}" dropped event`),I0(a)?a.then(u=>Kb(e,u,n,r+1).then(i)).then(null,o):Kb(e,a,n,r+1).then(i).then(null,o)}})}function A9(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;k9(e,t),r&&D9(e,r),N9(e,n),R9(e,i),P9(e,o)}function _2(e,t){const{extra:n,tags:r,user:i,contexts:o,level:s,sdkProcessingMetadata:a,breadcrumbs:u,fingerprint:l,eventProcessors:c,attachments:f,propagationContext:d,transactionName:h,span:p}=t;Vc(e,"extra",n),Vc(e,"tags",r),Vc(e,"user",i),Vc(e,"contexts",o),Vc(e,"sdkProcessingMetadata",a),s&&(e.level=s),h&&(e.transactionName=h),p&&(e.span=p),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...d}}function Vc(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function k9(e,t){const{extra:n,tags:r,user:i,contexts:o,level:s,transactionName:a}=t,u=yn(n);u&&Object.keys(u).length&&(e.extra={...u,...e.extra});const l=yn(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const c=yn(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});const f=yn(o);f&&Object.keys(f).length&&(e.contexts={...f,...e.contexts}),s&&(e.level=s),a&&e.type!=="transaction"&&(e.transaction=a)}function R9(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function P9(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function D9(e,t){e.contexts={trace:i9(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Au(t),...e.sdkProcessingMetadata};const n=Nn(t),r=pt(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function N9(e,t){e.fingerprint=e.fingerprint?OE(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function Y3(e,t,n,r,i,o){const{normalizeDepth:s=3,normalizeMaxBreadth:a=1e3}=e,u={...t,event_id:t.event_id||n.event_id||qt(),timestamp:t.timestamp||rh()},l=n.integrations||e.integrations.map(g=>g.name);M9(u,e),F9(u,l),i&&i.emit("applyFrameMetadata",t),t.type===void 0&&L9(u,e.stackParser);const c=j9(r,n.captureContext);n.mechanism&&fd(u,n.mechanism);const f=i?i.getEventProcessors():[],d=QB().getScopeData();if(o){const g=o.getScopeData();_2(d,g)}if(c){const g=c.getScopeData();_2(d,g)}const h=[...n.attachments||[],...d.attachments];h.length&&(n.attachments=h),A9(u,d);const p=[...f,...d.eventProcessors];return Kb(p,u,n).then(g=>(g&&$9(g),typeof s=="number"&&s>0?B9(g,s,a):g))}function M9(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:DE),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=Rl(e.message,o));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=Rl(s.value,o));const a=e.request;a&&a.url&&(a.url=Rl(a.url,o))}const O2=new WeakMap;function L9(e,t){const n=ct._sentryDebugIds;if(!n)return;let r;const i=O2.get(t);i?r=i:(r=new Map,O2.set(t,r));const o=Object.entries(n).reduce((s,[a,u])=>{let l;const c=r.get(a);c?l=c:(l=t(a),r.set(a,l));for(let f=l.length-1;f>=0;f--){const d=l[f];if(d.filename){s[d.filename]=u;break}}return s},{});try{e.exception.values.forEach(s=>{s.stacktrace.frames.forEach(a=>{a.filename&&(a.debug_id=o[a.filename])})})}catch{}}function $9(e){const t={};try{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)})})}catch{}if(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 F9(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function B9(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:ji(i.data,t,n)}}))},...e.user&&{user:ji(e.user,t,n)},...e.contexts&&{contexts:ji(e.contexts,t,n)},...e.extra&&{extra:ji(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=ji(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>({...i,...i.data&&{data:ji(i.data,t,n)}}))),r}function j9(e,t){if(!t)return e;const n=e?e.clone():new Zs;return n.update(t),n}function H9(e){if(e)return U9(e)?{captureContext:e}:V9(e)?{captureContext:e}:e}function U9(e){return e instanceof Zs||typeof e=="function"}const z9=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function V9(e){return Object.keys(e).some(t=>z9.includes(t))}function oh(e,t){return Mt().captureException(e,H9(t))}function efe(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return Mt().captureMessage(e,n,r)}function X3(e,t){return Mt().captureEvent(e,t)}function W9(e,t){ui().setContext(e,t)}function G9(e){ui().addEventProcessor(e)}function I2(e){const t=ft(),n=ui(),r=Mt(),{release:i,environment:o=DE}=t&&t.getOptions()||{},{userAgent:s}=ct.navigator||{},a=UB({release:i,environment:o,user:r.getUser()||n.getUser(),...s&&{userAgent:s},...e}),u=n.getSession();return u&&u.status==="ok"&&Vl(u,{status:"exited"}),J3(),n.setSession(a),r.setSession(a),a}function J3(){const e=ui(),t=Mt(),n=t.getSession()||e.getSession();n&&zB(n),Q3(),e.setSession(),t.setSession()}function Q3(){const e=ui(),t=Mt(),n=ft(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function C2(e=!1){if(e){J3();return}Q3()}const K9="7";function q9(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Y9(e){return`${q9(e)}${e.projectId}/envelope/`}function X9(e,t){return XF({sentry_key:e.publicKey,sentry_version:K9,...t&&{sentry_client:`${t.name}/${t.version}`}})}function J9(e,t,n){return t||`${Y9(e)}?${X9(e,n)}`}const A2=[];function Q9(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function Z9(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=OE(n(t)):r=t;const i=Q9(r),o=i.findIndex(s=>s.name==="Debug");if(o>-1){const[s]=i.splice(o,1);i.push(s)}return i}function ej(e,t){const n={};return t.forEach(r=>{r&&Z3(e,r,n)}),n}function k2(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function Z3(e,t,n){if(n[t.name]){Ze&&me.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,A2.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),A2.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,o)=>r(i,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),i=Object.assign((o,s)=>r(o,s,e),{id:t.name});e.addEventProcessor(i)}Ze&&me.log(`Integration installed: ${t.name}`)}const R2="Not capturing exception because it's already been captured.";class tj{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=YF(t.dsn):Ze&&me.warn("No DSN provided, client will not send events."),this._dsn){const n=J9(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:n})}}captureException(t,n,r){const i=qt();if(f2(t))return Ze&&me.log(R2),i;const o={event_id:i,...n};return this._process(this.eventFromException(t,o).then(s=>this._captureEvent(s,o,r))),o.event_id}captureMessage(t,n,r,i){const o={event_id:qt(),...r},s=SE(t)?t:String(t),a=xE(t)?this.eventFromMessage(s,n,o):this.eventFromException(t,o);return this._process(a.then(u=>this._captureEvent(u,o,i))),o.event_id}captureEvent(t,n,r){const i=qt();if(n&&n.originalException&&f2(n.originalException))return Ze&&me.log(R2),i;const o={event_id:i,...n},a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,o,a||r)),o.event_id}captureSession(t){typeof t.release!="string"?Ze&&me.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Vl(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i))):Xo(!0)}close(t){return this.flush(t).then(n=>(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]}addIntegration(t){const n=this._integrations[t.name];Z3(this,t,this._integrations),n||k2(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=m9(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=kB(r,NB(o));const i=this.sendEnvelope(r);i&&i.then(o=>this.emit("afterSendEvent",t,o),null)}sendSession(t){const n=p9(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=typeof r=="number"?r:1,o=`${t}:${n}`;Ze&&me.log(`Recording outcome: "${o}"${i>1?` (${i} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+i}}on(t,n){const r=this._hooks[t]=this._hooks[t]||[];return r.push(n),()=>{const i=r.indexOf(n);i>-1&&r.splice(i,1)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(i=>i(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(Ze&&me.error("Error while sending event:",n),n)):(Ze&&me.error("Transport disabled"),Xo({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=ej(this,t),k2(this,t)}_updateSessionFromEvent(t,n){let r=!1,i=!1;const o=n.exception&&n.exception.values;if(o){i=!0;for(const u of o){const l=u.mechanism;if(l&&l.handled===!1){r=!0;break}}}const s=t.status==="ok";(s&&t.errors===0||s&&r)&&(Vl(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new qr(n=>{let r=0;const i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,i=ui()){const o=this.getOptions(),s=Object.keys(this._integrations);return!n.integrations&&s.length>0&&(n.integrations=s),this.emit("preprocessEvent",t,n),t.type||i.setLastEventId(t.event_id||n.event_id),Y3(o,t,n,r,this,i).then(a=>{if(a===null)return a;const u={...i.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(a.contexts&&a.contexts.trace)&&u){const{traceId:c,spanId:f,parentSpanId:d,dsc:h}=u;a.contexts={trace:yn({trace_id:c,span_id:f,parent_span_id:d}),...a.contexts};const p=h||k0(c,this);a.sdkProcessingMetadata={dynamicSamplingContext:p,...a.sdkProcessingMetadata}}return a})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(Ze){const o=i;o.logLevel==="log"?me.log(o.message):me.warn(o)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:o}=i,s=tR(t),a=eR(t),u=t.type||"error",l=`before send for type \`${u}\``,c=typeof o>"u"?void 0:Qm(o);if(a&&typeof c=="number"&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",t),Ym(new Ui(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const f=u==="replay_event"?"replay":u,h=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,h).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",f,t),new Ui("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return p;const g=rj(this,i,p,n);return nj(g,l)}).then(p=>{if(p===null){if(this.recordDroppedEvent("before_send",f,t),s){const y=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",y)}throw new Ui(`${l} returned \`null\`, will not send event.`,"log")}const m=r&&r.getSession();if(!s&&m&&this._updateSessionFromEvent(m,p),s){const v=p.sdkProcessingMetadata&&p.sdkProcessingMetadata.spanCountBeforeProcessing||0,y=p.spans?p.spans.length:0,b=v-y;b>0&&this.recordDroppedEvent("before_send","span",b)}const g=p.transaction_info;if(s&&g&&p.transaction!==t.transaction){const v="custom";p.transaction_info={...g,source:v}}return this.sendEvent(p,n),p}).then(null,p=>{throw p instanceof Ui?p:(this.captureException(p,{data:{__sentry__:!0},originalException:p}),new Ui(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${p}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[i,o]=n.split(":");return{reason:i,category:o,quantity:r}})}_flushOutcomes(){Ze&&me.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){Ze&&me.log("No outcomes to send");return}if(!this._dsn){Ze&&me.log("No dsn provided, will not send outcomes");return}Ze&&me.log("Sending outcomes:",t);const n=LB(t,this._options.tunnel&&nh(this._dsn));this.sendEnvelope(n)}}function nj(e,t){const n=`${t} must return \`null\` or a valid event.`;if(I0(e))return e.then(r=>{if(!zl(r)&&r!==null)throw new Ui(n);return r},r=>{throw new Ui(`${t} rejected with ${r}`)});if(!zl(e)&&e!==null)throw new Ui(n);return e}function rj(e,t,n,r){const{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:s}=t;if(eR(n)&&i)return i(n,r);if(tR(n)){if(n.spans&&s){const a=[];for(const u of n.spans){const l=s(u);l?a.push(l):e.recordDroppedEvent("before_send","span")}n.spans=a}if(o){if(n.spans){const a=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:a}}return o(n,r)}}return n}function eR(e){return e.type===void 0}function tR(e){return e.type==="transaction"}function ij(e,t){t.debug===!0&&(Ze?me.enable():ss(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Mt().update(t.initialScope);const r=new e(t);return oj(r),r.init(),r}function oj(e){Mt().setClient(e)}const sj=64;function aj(e,t,n=wB(e.bufferSize||sj)){let r={};const i=s=>n.drain(s);function o(s){const a=[];if(h2(s,(f,d)=>{const h=p2(d);if(P3(r,h)){const p=P2(f,d);e.recordDroppedEvent("ratelimit_backoff",h,p)}else a.push(f)}),a.length===0)return Xo({});const u=Iu(s[0],a),l=f=>{h2(u,(d,h)=>{const p=P2(d,h);e.recordDroppedEvent(f,p2(h),p)})},c=()=>t({body:RB(u)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&Ze&&me.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=D3(r,f),f),f=>{throw l("network_error"),f});return n.add(c).then(f=>f,f=>{if(f instanceof Ui)return Ze&&me.error("Skipped sending event because buffer is full."),l("queue_overflow"),Xo({});throw f})}return{send:o,flush:i}}function P2(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function uj(e,t){const n=t&&t.getDsn(),r=t&&t.getOptions().tunnel;return cj(e,n)||lj(e,r)}function lj(e,t){return t?D2(e)===D2(t):!1}function cj(e,t){return t?e.includes(t.host):!1}function D2(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function fj(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(o=>({name:`${r}:@sentry/${o}`,version:jo})),version:jo}),e._metadata=i}const dj=100;function ea(e,t){const n=ft(),r=ui();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=dj}=n.getOptions();if(o<=0)return;const a={timestamp:rh(),...e},u=i?ss(()=>i(a,t)):a;u!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",u,t),r.addBreadcrumb(u,o))}let N2;const hj="FunctionToString",M2=new WeakMap,pj=()=>({name:hj,setupOnce(){N2=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=_E(this),n=M2.has(ft())&&t!==void 0?t:this;return N2.apply(n,e)}}catch{}},setup(e){M2.set(e,!0)}}),mj=pj,gj=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],vj="InboundFilters",yj=(e={})=>({name:vj,processEvent(t,n,r){const i=r.getOptions(),o=wj(e,i);return Ej(t,o)?null:t}}),bj=yj;function wj(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:gj],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function Ej(e,t){return t.ignoreInternal&&Ij(e)?(Ze&&me.warn(`Event dropped due to being internal Sentry Error.
Event: ${Os(e)}`),!0):Sj(e,t.ignoreErrors)?(Ze&&me.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${Os(e)}`),!0):Aj(e)?(Ze&&me.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${Os(e)}`),!0):xj(e,t.ignoreTransactions)?(Ze&&me.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${Os(e)}`),!0):Tj(e,t.denyUrls)?(Ze&&me.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${Os(e)}.
Url: ${Zm(e)}`),!0):_j(e,t.allowUrls)?!1:(Ze&&me.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${Os(e)}.
Url: ${Zm(e)}`),!0)}function Sj(e,t){return e.type||!t||!t.length?!1:Oj(e).some(n=>Ws(n,t))}function xj(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?Ws(n,t):!1}function Tj(e,t){if(!t||!t.length)return!1;const n=Zm(e);return n?Ws(n,t):!1}function _j(e,t){if(!t||!t.length)return!0;const n=Zm(e);return n?Ws(n,t):!0}function Oj(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}function Ij(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function Cj(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 Zm(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?Cj(t):null}catch{return Ze&&me.error(`Cannot extract url for event ${Os(e)}`),null}}function Aj(e){return e.type||!e.exception||!e.exception.values||e.exception.values.length===0?!1:!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value)}const kj="Dedupe",Rj=()=>{let e;return{name:kj,processEvent(t){if(t.type)return t;try{if(Dj(t,e))return Ze&&me.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},Pj=Rj;function Dj(e,t){return t?!!(Nj(e,t)||Mj(e,t)):!1}function Nj(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!rR(e,t)||!nR(e,t))}function Mj(e,t){const n=L2(t),r=L2(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!rR(e,t)||!nR(e,t))}function nR(e,t){let n=a2(e),r=a2(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 o=r[i],s=n[i];if(o.filename!==s.filename||o.lineno!==s.lineno||o.colno!==s.colno||o.function!==s.function)return!1}return!0}function rR(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 L2(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Lj(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;const o=Jo()&&t(e.fetchData.url);if(e.endTimestamp&&o){const p=e.fetchData.__span;if(!p)return;const m=r[p];m&&(Bj(m,e),delete r[p]);return}const s=Mt(),a=ft(),{method:u,url:l}=e.fetchData,c=Fj(l),f=c?Ja(c).host:void 0,d=!!En(),h=o&&d?io({name:`${u} ${l}`,attributes:{url:l,type:"fetch","http.method":u,"http.url":c,"server.address":f,[Jt]:i,[hu]:"http.client"}}):new xc;if(e.fetchData.__span=h.spanContext().spanId,r[h.spanContext().spanId]=h,n(e.fetchData.url)&&a){const p=e.args[0];e.args[1]=e.args[1]||{};const m=e.args[1];m.headers=$j(p,a,s,m,Jo()&&d?h:void 0)}return h}function $j(e,t,n,r,i){const o=ui(),{traceId:s,spanId:a,sampled:u,dsc:l}={...o.getPropagationContext(),...n.getPropagationContext()},c=i?B3(i):IE(s,a,u),f=k3(l||(i?Au(i):k0(s,t))),d=r.headers||(typeof Request<"u"&&Ko(e,Request)?e.headers:void 0);if(d)if(typeof Headers<"u"&&Ko(d,Headers)){const h=new Headers(d);return h.append("sentry-trace",c),f&&h.append(jb,f),h}else if(Array.isArray(d)){const h=[...d,["sentry-trace",c]];return f&&h.push([jb,f]),h}else{const h="baggage"in d?d.baggage:void 0,p=[];return Array.isArray(h)?p.push(...h):h&&p.push(h),f&&p.push(f),{...d,"sentry-trace":c,baggage:p.length>0?p.join(","):void 0}}else return{"sentry-trace":c,baggage:f}}function Fj(e){try{return new URL(e).href}catch{return}}function Bj(e,t){if(t.response){L3(e,t.response.status);const n=t.response&&t.response.headers&&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:On,message:"internal_error"});e.end()}const Xe=ct;let qb=0;function iR(){return qb>0}function jj(){qb++,setTimeout(()=>{qb--})}function Gl(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(_E(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{const o=i.map(s=>Gl(s,t));return e.apply(this,o)}catch(o){throw jj(),RE(s=>{s.addEventProcessor(a=>(t.mechanism&&(Fb(a,void 0),fd(a,t.mechanism)),a.extra={...a.extra,arguments:i},a)),oh(o)}),o}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}g3(r,e),ri(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}const Oi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function ME(e,t){const n=LE(e,t),r={type:t&&t.name,value:Wj(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Hj(e,t,n,r){const i=ft(),o=i&&i.getOptions().normalizeDepth,s=Xj(t),a={__serialized__:I3(t,o)};if(s)return{exception:{values:[ME(e,s)]},extra:a};const u={exception:{values:[{type:O0(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:qj(t,{isUnhandledRejection:r})}]},extra:a};if(n){const l=LE(e,n);l.length&&(u.exception.values[0].stacktrace={frames:l})}return u}function Hv(e,t){return{exception:{values:[ME(e,t)]}}}function LE(e,t){const n=t.stacktrace||t.stack||"",r=zj(t),i=Vj(t);try{return e(n,r,i)}catch{}return[]}const Uj=/Minified React error #\d+;/i;function zj(e){return e&&Uj.test(e.message)?1:0}function Vj(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function Wj(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function Gj(e,t,n,r){const i=n&&n.syntheticException||void 0,o=$E(e,t,i,r);return fd(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Xo(o)}function Kj(e,t,n="info",r,i){const o=r&&r.syntheticException||void 0,s=Yb(e,t,o,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),Xo(s)}function $E(e,t,n,r,i){let o;if(f3(t)&&t.error)return Hv(e,t.error);if(ZT(t)||DF(t)){const s=t;if("stack"in t)o=Hv(e,t);else{const a=s.name||(ZT(s)?"DOMError":"DOMException"),u=s.message?`${a}: ${s.message}`:a;o=Yb(e,u,n,r),Fb(o,u)}return"code"in s&&(o.tags={...o.tags,"DOMException.code":`${s.code}`}),o}return EE(t)?Hv(e,t):zl(t)||O0(t)?(o=Hj(e,t,n,i),fd(o,{synthetic:!0}),o):(o=Yb(e,t,n,r),Fb(o,`${t}`),fd(o,{synthetic:!0}),o)}function Yb(e,t,n,r){const i={};if(r&&n){const o=LE(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}if(SE(t)){const{__sentry_template_string__:o,__sentry_template_values__:s}=t;return i.logentry={message:o,params:s},i}return i.message=t,i}function qj(e,{isUnhandledRejection:t}){const n=JF(e),r=t?"promise rejection":"exception";return f3(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:O0(e)?`Event \`${Yj(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Yj(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Xj(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}function Jj(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:nh(r)}},o=Qj(e);return Iu(i,[o])}function Qj(e){return[{type:"user_report"},e]}class Zj extends tj{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=Xe.SENTRY_SDK_SOURCE||dB();fj(n,"browser",["browser"],r),super(n),n.sendClientReports&&Xe.document&&Xe.document.addEventListener("visibilitychange",()=>{Xe.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return Gj(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return Kj(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Oi&&me.warn("SDK not enabled, will not capture user feedback.");return}const n=Jj(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}}const Tr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,e7=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Tc=(e,t,n,r)=>{let i,o;return s=>{t.value>=0&&(s||r)&&(o=t.value-(i||0),(o||i===void 0)&&(i=t.value,t.delta=o,t.rating=e7(t.value,n),e(t)))}},Ge=ct,t7=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,sh=()=>Ge.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],R0=()=>{const e=sh();return e&&e.activationStart||0},_c=(e,t)=>{const n=sh();let r="navigate";return n&&(Ge.document&&Ge.document.prerendering||R0()>0?r="prerender":Ge.document&&Ge.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:t7(),navigationType:r}},ku=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{Promise.resolve().then(()=>{t(i.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},ah=e=>{const t=n=>{(n.type==="pagehide"||Ge.document&&Ge.document.visibilityState==="hidden")&&e(n)};Ge.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},FE=e=>{let t=!1;return n=>{t||(e(n),t=!0)}};let hd=-1;const n7=()=>{hd=Ge.document.visibilityState==="hidden"&&!Ge.document.prerendering?0:1/0},eg=e=>{Ge.document.visibilityState==="hidden"&&hd>-1&&(hd=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("visibilitychange",eg,!0),removeEventListener("prerenderingchange",eg,!0))},r7=()=>{addEventListener("visibilitychange",eg,!0),addEventListener("prerenderingchange",eg,!0)},P0=()=>(Ge.document&&hd<0&&(n7(),r7()),{get firstHiddenTime(){return hd}}),uh=e=>{Ge.document&&Ge.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},i7=[1800,3e3],o7=(e,t={})=>{uh(()=>{const n=P0(),r=_c("FCP");let i;const s=ku("paint",a=>{a.forEach(u=>{u.name==="first-contentful-paint"&&(s.disconnect(),u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-R0(),0),r.entries.push(u),i(!0)))})});s&&(i=Tc(e,r,i7,t.reportAllChanges))})},s7=[.1,.25],a7=(e,t={})=>{o7(FE(()=>{const n=_c("CLS",0);let r,i=0,o=[];const s=u=>{u.forEach(l=>{if(!l.hadRecentInput){const c=o[0],f=o[o.length-1];i&&c&&f&&l.startTime-f.startTime<1e3&&l.startTime-c.startTime<5e3?(i+=l.value,o.push(l)):(i=l.value,o=[l])}}),i>n.value&&(n.value=i,n.entries=o,r())},a=ku("layout-shift",s);a&&(r=Tc(e,n,s7,t.reportAllChanges),ah(()=>{s(a.takeRecords()),r(!0)}),setTimeout(r,0))}))},u7=[100,300],l7=(e,t={})=>{uh(()=>{const n=P0(),r=_c("FID");let i;const o=u=>{u.startTime<n.firstHiddenTime&&(r.value=u.processingStart-u.startTime,r.entries.push(u),i(!0))},s=u=>{u.forEach(o)},a=ku("first-input",s);i=Tc(e,r,u7,t.reportAllChanges),a&&ah(FE(()=>{s(a.takeRecords()),a.disconnect()}))})};let oR=0,Uv=1/0,Qh=0;const c7=e=>{e.forEach(t=>{t.interactionId&&(Uv=Math.min(Uv,t.interactionId),Qh=Math.max(Qh,t.interactionId),oR=Qh?(Qh-Uv)/7+1:0)})};let Xb;const f7=()=>Xb?oR:performance.interactionCount||0,d7=()=>{"interactionCount"in performance||Xb||(Xb=ku("event",c7,{type:"event",buffered:!0,durationThreshold:0}))},h7=[200,500],p7=0,sR=()=>f7()-p7,$2=10,Co=[],zv={},F2=e=>{const t=Co[Co.length-1],n=zv[e.interactionId];if(n||Co.length<$2||t&&e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};zv[r.id]=r,Co.push(r)}Co.sort((r,i)=>i.latency-r.latency),Co.splice($2).forEach(r=>{delete zv[r.id]})}},m7=()=>{const e=Math.min(Co.length-1,Math.floor(sR()/50));return Co[e]},g7=(e,t={})=>{uh(()=>{d7();const n=_c("INP");let r;const i=s=>{s.forEach(u=>{u.interactionId&&F2(u),u.entryType==="first-input"&&!Co.some(c=>c.entries.some(f=>u.duration===f.duration&&u.startTime===f.startTime))&&F2(u)});const a=m7();a&&a.latency!==n.value&&(n.value=a.latency,n.entries=a.entries,r())},o=ku("event",i,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:40});r=Tc(e,n,h7,t.reportAllChanges),o&&("PerformanceEventTiming"in Ge&&"interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),ah(()=>{i(o.takeRecords()),n.value<0&&sR()>0&&(n.value=0,n.entries=[]),r(!0)}))})},v7=[2500,4e3],B2={},y7=(e,t={})=>{uh(()=>{const n=P0(),r=_c("LCP");let i;const o=a=>{const u=a[a.length-1];u&&u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-R0(),0),r.entries=[u],i())},s=ku("largest-contentful-paint",o);if(s){i=Tc(e,r,v7,t.reportAllChanges);const a=FE(()=>{B2[r.id]||(o(s.takeRecords()),s.disconnect(),B2[r.id]=!0,i(!0))});["keydown","click"].forEach(u=>{Ge.document&&addEventListener(u,()=>setTimeout(a,0),!0)}),ah(a)}})},b7=[800,1800],Jb=e=>{Ge.document&&Ge.document.prerendering?uh(()=>Jb(e)):Ge.document&&Ge.document.readyState!=="complete"?addEventListener("load",()=>Jb(e),!0):setTimeout(e,0)},w7=(e,t={})=>{const n=_c("TTFB"),r=Tc(e,n,b7,t.reportAllChanges);Jb(()=>{const i=sh();if(i){const o=i.responseStart;if(o<=0||o>performance.now())return;n.value=Math.max(o-R0(),0),n.entries=[i],r(!0)}})},Of={},tg={};let aR,uR,lR,cR,fR;function BE(e,t=!1){return lh("cls",e,S7,aR,t)}function dR(e,t=!1){return lh("lcp",e,T7,lR,t)}function hR(e){return lh("fid",e,x7,uR)}function E7(e){return lh("ttfb",e,_7,cR)}function pR(e){return lh("inp",e,O7,fR)}function Kl(e,t){return mR(e,t),tg[e]||(I7(e),tg[e]=!0),gR(e,t)}function Oc(e,t){const n=Of[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(i){Tr&&me.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Yo(r)}
Error:`,i)}}function S7(){return a7(e=>{Oc("cls",{metric:e}),aR=e},{reportAllChanges:!0})}function x7(){return l7(e=>{Oc("fid",{metric:e}),uR=e})}function T7(){return y7(e=>{Oc("lcp",{metric:e}),lR=e},{reportAllChanges:!0})}function _7(){return w7(e=>{Oc("ttfb",{metric:e}),cR=e})}function O7(){return g7(e=>{Oc("inp",{metric:e}),fR=e})}function lh(e,t,n,r,i=!1){mR(e,t);let o;return tg[e]||(o=n(),tg[e]=!0),r&&t({metric:r}),gR(e,t,i?o:void 0)}function I7(e){const t={};e==="event"&&(t.durationThreshold=0),ku(e,n=>{Oc(e,{entries:n})},t)}function mR(e,t){Of[e]=Of[e]||[],Of[e].push(t)}function gR(e,t,n){return()=>{n&&n();const r=Of[e];if(!r)return;const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function C7(e){return"duration"in e}function Vv(e){return typeof e=="number"&&isFinite(e)}function ql(e,t,n,{...r}){const i=pt(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),G3(e,()=>{const o=io({startTime:t,...r});return o&&o.end(n),o})}function vR(e){const t=ft();if(!t)return;const{name:n,transaction:r,attributes:i,startTime:o}=e,{release:s,environment:a}=t.getOptions(),u=t.getIntegrationByName("Replay"),l=u&&u.getReplayId(),c=Mt(),f=c.getUser(),d=f!==void 0?f.email||f.id||f.ip_address:void 0;let h;try{h=c.getScopeData().contexts.profile.profile_id}catch{}const p={release:s,environment:a,user:d||void 0,profile_id:h||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":Ge.navigator&&Ge.navigator.userAgent,...i};return io({name:n,attributes:p,startTime:o,experimental:{standalone:!0}})}function jE(){return Ge&&Ge.addEventListener&&Ge.performance}function Xt(e){return e/1e3}function A7(){let e=0,t,n;if(!R7())return;let r=!1;function i(){r||(r=!0,n&&k7(e,t,n),o())}const o=BE(({metric:s})=>{const a=s.entries[s.entries.length-1];a&&(e=s.value,t=a)},!0);ah(()=>{i()}),setTimeout(()=>{const s=ft(),a=Er([s,"optionalAccess",f=>f.on,"call",f=>f("startNavigationSpan",()=>{i(),a&&a()})]),u=En(),l=u&&Nn(u),c=l&&pt(l);c&&c.op==="pageload"&&(n=l.spanContext().spanId)},0)}function k7(e,t,n){Tr&&me.log(`Sending CLS span (${e})`);const r=Xt(fr)+(Er([t,"optionalAccess",l=>l.startTime])||0),i=Xt(Er([t,"optionalAccess",l=>l.duration])||0),o=Mt().getScopeData().transactionName,s=t?qo(Er([t,"access",l=>l.sources,"access",l=>l[0],"optionalAccess",l=>l.node])):"Layout shift",a=yn({[Jt]:"auto.http.browser.cls",[hu]:"ui.webvital.cls",[PE]:Er([t,"optionalAccess",l=>l.duration])||0,"sentry.pageload.span_id":n}),u=vR({name:s,transaction:o,attributes:a,startTime:r});Er([u,"optionalAccess",l=>l.addEvent,"call",l=>l("cls",{[C0]:"",[A0]:e})]),Er([u,"optionalAccess",l=>l.end,"call",l=>l(r+i)])}function R7(){try{return Er([PerformanceObserver,"access",e=>e.supportedEntryTypes,"optionalAccess",e=>e.includes,"call",e=>e("layout-shift")])}catch{return!1}}const P7=2147483647;let j2=0,In={},$i,If;function D7({recordClsStandaloneSpans:e}){const t=jE();if(t&&fr){t.mark&&Ge.performance.mark("sentry-tracing-init");const n=B7(),r=F7(),i=j7(),o=e?A7():$7();return()=>{n(),r(),i(),o&&o()}}return()=>{}}function N7(){Kl("longtask",({entries:e})=>{if(En())for(const t of e){const n=Xt(fr+t.startTime),r=Xt(t.duration),i=io({name:"Main UI thread blocked",op:"ui.long-task",startTime:n,attributes:{[Jt]:"auto.ui.browser.metrics"}});i&&i.end(n+r)}})}function M7(){new PerformanceObserver(t=>{if(En())for(const n of t.getEntries()){if(!n.scripts[0])continue;const r=Xt(fr+n.startTime),i=Xt(n.duration),o={[Jt]:"auto.ui.browser.metrics"},s=n.scripts[0],{invoker:a,invokerType:u,sourceURL:l,sourceFunctionName:c,sourceCharPosition:f}=s;o["browser.script.invoker"]=a,o["browser.script.invoker_type"]=u,l&&(o["code.filepath"]=l),c&&(o["code.function"]=c),f!==-1&&(o["browser.script.source_char_position"]=f);const d=io({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:r,attributes:o});d&&d.end(r+i)}}).observe({type:"long-animation-frame",buffered:!0})}function L7(){Kl("event",({entries:e})=>{if(En()){for(const t of e)if(t.name==="click"){const n=Xt(fr+t.startTime),r=Xt(t.duration),i={name:qo(t.target),op:`ui.interaction.${t.name}`,startTime:n,attributes:{[Jt]:"auto.ui.browser.metrics"}},o=p3(t.target);o&&(i.attributes["ui.component_name"]=o);const s=io(i);s&&s.end(n+r)}}})}function $7(){return BE(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Tr&&me.log(`[Measurements] Adding CLS ${e.value}`),In.cls={value:e.value,unit:""},If=t)},!0)}function F7(){return dR(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Tr&&me.log("[Measurements] Adding LCP"),In.lcp={value:e.value,unit:"millisecond"},$i=t)},!0)}function B7(){return hR(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Xt(fr),r=Xt(t.startTime);Tr&&me.log("[Measurements] Adding FID"),In.fid={value:e.value,unit:"millisecond"},In["mark.fid"]={value:n+r,unit:"second"}})}function j7(){return E7(({metric:e})=>{e.entries[e.entries.length-1]&&(Tr&&me.log("[Measurements] Adding TTFB"),In.ttfb={value:e.value,unit:"millisecond"})})}function H7(e,t){const n=jE();if(!n||!Ge.performance.getEntries||!fr)return;Tr&&me.log("[Tracing] Adding & adjusting spans using Performance API");const r=Xt(fr),i=n.getEntries(),{op:o,start_timestamp:s}=pt(e);if(i.slice(j2).forEach(a=>{const u=Xt(a.startTime),l=Xt(Math.max(0,a.duration));if(!(o==="navigation"&&s&&r+u<s))switch(a.entryType){case"navigation":{z7(e,a,r);break}case"mark":case"paint":case"measure":{U7(e,a,u,l,r);const c=P0(),f=a.startTime<c.firstHiddenTime;a.name==="first-paint"&&f&&(Tr&&me.log("[Measurements] Adding FP"),In.fp={value:a.startTime,unit:"millisecond"}),a.name==="first-contentful-paint"&&f&&(Tr&&me.log("[Measurements] Adding FCP"),In.fcp={value:a.startTime,unit:"millisecond"});break}case"resource":{W7(e,a,a.name,u,l,r);break}}}),j2=Math.max(i.length-1,0),G7(e),o==="pageload"){q7(In),["fcp","fp","lcp"].forEach(u=>{const l=In[u];if(!l||!s||r>=s)return;const c=l.value,f=r+Xt(c),d=Math.abs((f-s)*1e3),h=d-c;Tr&&me.log(`[Measurements] Normalized ${u} from ${c} to ${d} (${h})`),l.value=d});const a=In["mark.fid"];a&&In.fid&&(ql(e,a.value,a.value+Xt(In.fid.value),{name:"first input delay",op:"ui.action",attributes:{[Jt]:"auto.ui.browser.metrics"}}),delete In["mark.fid"]),(!("fcp"in In)||!t.recordClsOnPageloadSpan)&&delete In.cls,Object.entries(In).forEach(([u,l])=>{v9(u,l.value,l.unit)}),K7(e)}$i=void 0,If=void 0,In={}}function U7(e,t,n,r,i){const o=sh(),s=Xt(o?o.requestStart:0),a=i+Math.max(n,s),u=i+n,l=u+r,c={[Jt]:"auto.resource.browser.metrics"};return a!==u&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=a),ql(e,a,l,{name:t.name,op:t.entryType,attributes:c}),a}function z7(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Zh(e,t,r,n)}),Zh(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Zh(e,t,"fetch",n,"cache","domainLookupStart"),Zh(e,t,"domainLookup",n,"DNS"),V7(e,t,n)}function Zh(e,t,n,r,i,o){const s=o?t[o]:t[`${n}End`],a=t[`${n}Start`];!a||!s||ql(e,r+Xt(a),r+Xt(s),{op:"browser",name:i||n,attributes:{[Jt]:"auto.ui.browser.metrics"}})}function V7(e,t,n){const r=n+Xt(t.requestStart),i=n+Xt(t.responseEnd),o=n+Xt(t.responseStart);t.responseEnd&&(ql(e,r,i,{op:"browser",name:"request",attributes:{[Jt]:"auto.ui.browser.metrics"}}),ql(e,o,i,{op:"browser",name:"response",attributes:{[Jt]:"auto.ui.browser.metrics"}}))}function W7(e,t,n,r,i,o){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const s=Ja(n),a={[Jt]:"auto.resource.browser.metrics"};Wv(a,t,"transferSize","http.response_transfer_size"),Wv(a,t,"encodedBodySize","http.response_content_length"),Wv(a,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(a["resource.render_blocking_status"]=t.renderBlockingStatus),s.protocol&&(a["url.scheme"]=s.protocol.split(":").pop()),s.host&&(a["server.address"]=s.host),a["url.same_origin"]=n.includes(Ge.location.origin);const u=o+r,l=u+i;ql(e,u,l,{name:n.replace(Ge.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:a})}function G7(e){const t=Ge.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),Vv(n.rtt)&&(In["connection.rtt"]={value:n.rtt,unit:"millisecond"})),Vv(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),Vv(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function K7(e){$i&&(Tr&&me.log("[Measurements] Adding LCP Data"),$i.element&&e.setAttribute("lcp.element",qo($i.element)),$i.id&&e.setAttribute("lcp.id",$i.id),$i.url&&e.setAttribute("lcp.url",$i.url.trim().slice(0,200)),e.setAttribute("lcp.size",$i.size)),If&&If.sources&&(Tr&&me.log("[Measurements] Adding CLS Data"),If.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,qo(t.node))))}function Wv(e,t,n,r){const i=t[n];i!=null&&i<P7&&(e[r]=i)}function q7(e){const t=sh();if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(Tr&&me.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}const Y7=1e3;let H2,Qb,Zb;function yR(e){const t="dom";pa(t,e),ma(t,X7)}function X7(){if(!Ge.document)return;const e=Qr.bind(null,"dom"),t=U2(e,!0);Ge.document.addEventListener("click",t,!1),Ge.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=Ge[n]&&Ge[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Dn(r,"addEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__=u.__sentry_instrumentation_handlers__||{},c=l[o]=l[o]||{refCount:0};if(!c.handler){const f=U2(e);c.handler=f,i.call(this,o,f,a)}c.refCount++}catch{}return i.call(this,o,s,a)}}),Dn(r,"removeEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{const u=this,l=u.__sentry_instrumentation_handlers__||{},c=l[o];c&&(c.refCount--,c.refCount<=0&&(i.call(this,o,c.handler,a),c.handler=void 0,delete l[o]),Object.keys(l).length===0&&delete u.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,s,a)}}))})}function J7(e){if(e.type!==Qb)return!1;try{if(!e.target||e.target._sentryId!==Zb)return!1}catch{}return!0}function Q7(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function U2(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Z7(n);if(Q7(n.type,r))return;ri(n,"_sentryCaptured",!0),r&&!r._sentryId&&ri(r,"_sentryId",qt());const i=n.type==="keypress"?"input":n.type;J7(n)||(e({event:n,name:i,global:t}),Qb=n.type,Zb=r?r._sentryId:void 0),clearTimeout(H2),H2=Ge.setTimeout(()=>{Zb=void 0,Qb=void 0},Y7)}}function Z7(e){try{return e.target}catch{return null}}let ep;function D0(e){const t="history";pa(t,e),ma(t,eH)}function eH(){if(!HB())return;const e=Ge.onpopstate;Ge.onpopstate=function(...n){const r=Ge.location.href,i=ep;if(ep=r,Qr("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const o=ep,s=String(i);ep=s,Qr("history",{from:o,to:s})}return n.apply(this,r)}}Dn(Ge.history,"pushState",t),Dn(Ge.history,"replaceState",t)}const tm={};function bR(e){const t=tm[e];if(t)return t;let n=Ge[e];if(Lb(n))return tm[e]=n.bind(Ge);const r=Ge.document;if(r&&typeof r.createElement=="function")try{const i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i);const o=i.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(i)}catch(i){Tr&&me.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,i)}return n&&(tm[e]=n.bind(Ge))}function z2(e){tm[e]=void 0}function Yl(...e){return bR("setTimeout")(...e)}const Ba="__sentry_xhr_v3__";function wR(e){const t="xhr";pa(t,e),ma(t,tH)}function tH(){if(!Ge.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;Dn(e,"open",function(t){return function(...n){const r=Yn()*1e3,i=Bo(n[0])?n[0].toUpperCase():void 0,o=nH(n[1]);if(!i||!o)return t.apply(this,n);this[Ba]={method:i,url:o,request_headers:{}},i==="POST"&&o.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const a=this[Ba];if(a&&this.readyState===4){try{a.status_code=this.status}catch{}const u={endTimestamp:Yn()*1e3,startTimestamp:r,xhr:this};Qr("xhr",u)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?Dn(this,"onreadystatechange",function(a){return function(...u){return s(),a.apply(this,u)}}):this.addEventListener("readystatechange",s),Dn(this,"setRequestHeader",function(a){return function(...u){const[l,c]=u,f=this[Ba];return f&&Bo(l)&&Bo(c)&&(f.request_headers[l.toLowerCase()]=c),a.apply(this,u)}}),t.apply(this,n)}}),Dn(e,"send",function(t){return function(...n){const r=this[Ba];if(!r)return t.apply(this,n);n[0]!==void 0&&(r.body=n[0]);const i={startTimestamp:Yn()*1e3,xhr:this};return Qr("xhr",i),t.apply(this,n)}})}function nH(e){if(Bo(e))return e;try{return e.toString()}catch{}}const Gv=[],nm=new Map;function rH(){if(jE()&&fr){const t=iH();return()=>{t()}}return()=>{}}const V2={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 iH(){return pR(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(p=>p.duration===e.value&&V2[p.name]);if(!t)return;const{interactionId:n}=t,r=V2[t.name],i=Xt(fr+t.startTime),o=Xt(e.value),s=En(),a=s?Nn(s):void 0,l=(n!=null?nm.get(n):void 0)||a,c=l?pt(l).description:Mt().getScopeData().transactionName,f=qo(t.target),d=yn({[Jt]:"auto.http.browser.inp",[hu]:`ui.interaction.${r}`,[PE]:t.duration}),h=vR({name:f,transaction:c,attributes:d,startTime:i});Er([h,"optionalAccess",p=>p.addEvent,"call",p=>p("inp",{[C0]:"millisecond",[A0]:e.value})]),Er([h,"optionalAccess",p=>p.end,"call",p=>p(i+o)])})}function oH(e){const t=({entries:n})=>{const r=En(),i=r&&Nn(r);n.forEach(o=>{if(!C7(o)||!i)return;const s=o.interactionId;if(s!=null&&!nm.has(s)){if(Gv.length>10){const a=Gv.shift();nm.delete(a)}Gv.push(s),nm.set(s,i)}})};Kl("event",t),Kl("first-input",t)}function sH(e,t=bR("fetch")){let n=0,r=0;function i(o){const s=o.body.length;n+=s,r++;const a={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return z2("fetch"),Ym("No fetch implementation available");try{return t(e.url,a).then(u=>(n-=s,r--,{statusCode:u.status,headers:{"x-sentry-rate-limits":u.headers.get("X-Sentry-Rate-Limits"),"retry-after":u.headers.get("Retry-After")}}))}catch(u){return z2("fetch"),n-=s,r--,Ym(u)}}return aj(e,i)}const aH=30,uH=50;function e1(e,t,n,r){const i={filename:e,function:t==="<anonymous>"?du:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const lH=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,cH=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,fH=/\((\S*)(?::(\d+))(?::(\d+))\)/,dH=e=>{const t=lH.exec(e);if(t){const[,r,i,o]=t;return e1(r,du,+i,+o)}const n=cH.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const s=fH.exec(n[2]);s&&(n[2]=s[1],n[3]=s[2],n[4]=s[3])}const[i,o]=ER(n[1]||du,n[2]);return e1(o,i,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},hH=[aH,dH],pH=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,mH=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,gH=e=>{const t=pH.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=mH.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],i=t[1]||du;return[i,r]=ER(i,r),e1(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},vH=[uH,gH],yH=[hH,vH],bH=b3(...yH),ER=(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]:du,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},tp=1024,wH="Breadcrumbs",EH=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:wH,setup(n){t.console&&tB(_H(n)),t.dom&&yR(TH(n,t.dom)),t.xhr&&wR(OH(n)),t.fetch&&S3(IH(n)),t.history&&D0(CH(n)),t.sentry&&n.on("beforeSendEvent",xH(n))}}},SH=EH;function xH(e){return function(n){ft()===e&&ea({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Os(n)},{event:n})}}function TH(e,t){return function(r){if(ft()!==e)return;let i,o,s=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>tp&&(Oi&&me.warn(`\`dom.maxStringLength\` cannot exceed ${tp}, but a value of ${a} was configured. Sentry will use ${tp} instead.`),a=tp),typeof s=="string"&&(s=[s]);try{const l=r.event,c=AH(l)?l.target:l;i=qo(c,{keyAttrs:s,maxStringLength:a}),o=p3(c)}catch{i="<unknown>"}if(i.length===0)return;const u={category:`ui.${r.name}`,message:i};o&&(u.data={"ui.component_name":o}),ea(u,{event:r.event,name:r.name,global:r.global})}}function _H(e){return function(n){if(ft()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:SB(n.level),message:e2(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${e2(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;ea(r,{input:n.args,level:n.level})}}function OH(e){return function(n){if(ft()!==e)return;const{startTimestamp:r,endTimestamp:i}=n,o=n.xhr[Ba];if(!r||!i||!o)return;const{method:s,url:a,status_code:u,body:l}=o,c={method:s,url:a,status_code:u},f={xhr:n.xhr,input:l,startTimestamp:r,endTimestamp:i};ea({category:"xhr",data:c,type:"http"},f)}}function IH(e){return function(n){if(ft()!==e)return;const{startTimestamp:r,endTimestamp:i}=n;if(i&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o=n.fetchData,s={data:n.error,input:n.args,startTimestamp:r,endTimestamp:i};ea({category:"fetch",data:o,level:"error",type:"http"},s)}else{const o=n.response,s={...n.fetchData,status_code:o&&o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:i};ea({category:"fetch",data:s,type:"http"},a)}}}function CH(e){return function(n){if(ft()!==e)return;let r=n.from,i=n.to;const o=Ja(Xe.location.href);let s=r?Ja(r):void 0;const a=Ja(i);(!s||!s.path)&&(s=o),o.protocol===a.protocol&&o.host===a.host&&(i=a.relative),o.protocol===s.protocol&&o.host===s.host&&(r=s.relative),ea({category:"navigation",data:{from:r,to:i}})}}function AH(e){return!!e&&!!e.target}const kH=["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"],RH="BrowserApiErrors",PH=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:RH,setupOnce(){t.setTimeout&&Dn(Xe,"setTimeout",W2),t.setInterval&&Dn(Xe,"setInterval",W2),t.requestAnimationFrame&&Dn(Xe,"requestAnimationFrame",NH),t.XMLHttpRequest&&"XMLHttpRequest"in Xe&&Dn(XMLHttpRequest.prototype,"send",MH);const n=t.eventTarget;n&&(Array.isArray(n)?n:kH).forEach(LH)}}},DH=PH;function W2(e){return function(...t){const n=t[0];return t[0]=Gl(n,{mechanism:{data:{function:Yo(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function NH(e){return function(t){return e.apply(this,[Gl(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Yo(e)},handled:!1,type:"instrument"}})])}}function MH(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&Dn(n,i,function(o){const s={mechanism:{data:{function:i,handler:Yo(o)},handled:!1,type:"instrument"}},a=_E(o);return a&&(s.mechanism.data.handler=Yo(a)),Gl(o,s)})}),e.apply(this,t)}}function LH(e){const t=Xe,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Dn(n,"addEventListener",function(r){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=Gl(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Yo(o),target:e},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[i,Gl(o,{mechanism:{data:{function:"addEventListener",handler:Yo(o),target:e},handled:!1,type:"instrument"}}),s])}}),Dn(n,"removeEventListener",function(r){return function(i,o,s){const a=o;try{const u=a&&a.__sentry_wrapped__;u&&r.call(this,i,u,s)}catch{}return r.call(this,i,a,s)}}))}const $H="GlobalHandlers",FH=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:$H,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(jH(n),G2("onerror")),t.onunhandledrejection&&(HH(n),G2("onunhandledrejection"))}}},BH=FH;function jH(e){T3(t=>{const{stackParser:n,attachStacktrace:r}=SR();if(ft()!==e||iR())return;const{msg:i,url:o,line:s,column:a,error:u}=t,l=VH($E(n,u||i,void 0,r,!1),o,s,a);l.level="error",X3(l,{originalException:u,mechanism:{handled:!1,type:"onerror"}})})}function HH(e){_3(t=>{const{stackParser:n,attachStacktrace:r}=SR();if(ft()!==e||iR())return;const i=UH(t),o=xE(i)?zH(i):$E(n,i,void 0,r,!0);o.level="error",X3(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function UH(e){if(xE(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 zH(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function VH(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],l=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,f=Bo(t)&&t.length>0?t:h3();return u.length===0&&u.push({colno:l,filename:f,function:du,in_app:!0,lineno:c}),e}function G2(e){Oi&&me.log(`Global Handler attached: ${e}`)}function SR(){const e=ft();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const WH=()=>({name:"HttpContext",preprocessEvent(e){if(!Xe.navigator&&!Xe.location&&!Xe.document)return;const t=e.request&&e.request.url||Xe.location&&Xe.location.href,{referrer:n}=Xe.document||{},{userAgent:r}=Xe.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}}),GH="cause",KH=5,qH="LinkedErrors",YH=(e={})=>{const t=e.limit||KH,n=e.key||GH;return{name:qH,preprocessEvent(r,i,o){const s=o.getOptions();FF(ME,s.stackParser,s.maxValueLength,n,t,r,i)}}},XH=YH;function xR(e){return[bj(),mj(),DH(),SH(),BH(),XH(),Pj(),WH()]}function JH(e={}){const t={defaultIntegrations:xR(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Xe.SENTRY_RELEASE&&Xe.SENTRY_RELEASE.id?Xe.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function QH(){const e=typeof Xe.window<"u"&&Xe;if(!e)return!1;const t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,i=Xe.location&&Xe.location.href||"",o=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],s=!!r&&Xe===Xe.top&&o.some(u=>i.startsWith(`${u}//`)),a=typeof e.nw<"u";return!!r&&!s&&!a}function ZH(e={}){const t=JH(e);if(QH()){ss(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Oi&&(w3()||me.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:ZF(t.stackParser||bH),integrations:Z9(t),transport:t.transport||sH},r=ij(Zj,n);return t.autoSessionTracking&&e4(),r}function e4(){if(typeof Xe.document>"u"){Oi&&me.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}I2({ignoreDuration:!0}),C2(),D0(({from:e,to:t})=>{e!==void 0&&e!==t&&(I2({ignoreDuration:!0}),C2())})}const Bt=ct,HE="sentryReplaySession",t4="replay_event",UE="Unable to send Replay",n4=3e5,r4=9e5,i4=5e3,o4=5500,s4=6e4,a4=5e3,u4=3,K2=15e4,np=5e3,l4=3e3,c4=300,zE=2e7,f4=4999,d4=15e3,q2=36e5;function t1(e,t){return e??t()}function pd(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}var pn;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(pn||(pn={}));function h4(e){return e.nodeType===e.ELEMENT_NODE}function Cf(e){const t=pd([e,"optionalAccess",n=>n.host]);return pd([t,"optionalAccess",n=>n.shadowRoot])===e}function Af(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function p4(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e}function m4(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function ng(e){try{const t=e.rules||e.cssRules;return t?p4(Array.from(t,TR).join("")):null}catch{return null}}function TR(e){let t;if(v4(e))try{t=ng(e.styleSheet)||m4(e)}catch{}else if(y4(e)&&e.selectorText.includes(":"))return g4(e.cssText);return t||e.cssText}function g4(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function v4(e){return"styleSheet"in e}function y4(e){return"selectorText"in e}class _R{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const n=pd([this,"access",r=>r.getMeta,"call",r=>r(t),"optionalAccess",r=>r.id]);return t1(n,()=>-1)}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach(r=>this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const i=this.nodeMetaMap.get(r);i&&this.nodeMetaMap.set(n,i)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function b4(){return new _R}function N0({maskInputOptions:e,tagName:t,type:n}){return t==="OPTION"&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||n==="password"||t==="INPUT"&&!n&&e.text)}function md({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function Xl(e){return e.toLowerCase()}function n1(e){return e.toUpperCase()}const Y2="__rrweb_original__";function w4(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r<e.width;r+=n)for(let i=0;i<e.height;i+=n){const o=t.getImageData,s=Y2 in o?o[Y2]:o;if(new Uint32Array(s.call(t,r,i,Math.min(n,e.width-r),Math.min(n,e.height-i)).data.buffer).some(u=>u!==0))return!1}return!0}function VE(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Xl(t):null}function rg(e,t,n){return t==="INPUT"&&(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function OR(e,t){let n;try{n=new URL(e,t1(t,()=>window.location.href))}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,i=n.pathname.match(r);return t1(pd([i,"optionalAccess",o=>o[1]]),()=>null)}const X2={};function IR(e){const t=X2[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const i=n.createElement("iframe");i.hidden=!0,n.head.appendChild(i);const o=i.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(i)}catch{}return X2[e]=r.bind(window)}function r1(...e){return IR("setTimeout")(...e)}function CR(...e){return IR("clearTimeout")(...e)}let E4=1;const S4=new RegExp("[^a-z0-9-_:]"),gd=-2;function WE(){return E4++}function x4(e){if(e instanceof HTMLFormElement)return"form";const t=Xl(e.tagName);return S4.test(t)?"div":t}function T4(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Uu,J2;const _4=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,O4=/^(?:[a-z+]+:)?\/\//i,I4=/^www\..*/i,C4=/^(data:)([^,]*),(.*)/i;function ig(e,t){return(e||"").replace(_4,(n,r,i,o,s,a)=>{const u=i||s||a,l=r||o||"";if(!u)return n;if(O4.test(u)||I4.test(u))return`url(${l}${u}${l})`;if(C4.test(u))return`url(${l}${u}${l})`;if(u[0]==="/")return`url(${l}${T4(t)+u}${l})`;const c=t.split("/"),f=u.split("/");c.pop();for(const d of f)d!=="."&&(d===".."?c.pop():c.push(d));return`url(${l}${c.join("/")}${l})`})}const A4=/^[^ \t\n\r\u000c]+/,k4=/^[, \t\n\r\u000c]+/;function R4(e,t){if(t.trim()==="")return t;let n=0;function r(o){let s;const a=o.exec(t.substring(n));return a?(s=a[0],n+=s.length,s):""}const i=[];for(;r(k4),!(n>=t.length);){let o=r(A4);if(o.slice(-1)===",")o=gl(e,o.substring(0,o.length-1)),i.push(o);else{let s="";o=gl(e,o);let a=!1;for(;;){const u=t.charAt(n);if(u===""){i.push((o+s).trim());break}else if(a)u===")"&&(a=!1);else if(u===","){n+=1,i.push((o+s).trim());break}else u==="("&&(a=!0);s+=u,n+=1}}}return i.join(", ")}function gl(e,t){if(!t||t.trim()==="")return t;const n=e.createElement("a");return n.href=t,n.href}function P4(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function GE(){const e=document.createElement("a");return e.href="",e.href}function AR(e,t,n,r,i,o){return r&&(n==="src"||n==="href"&&!(t==="use"&&r[0]==="#")||n==="xlink:href"&&r[0]!=="#"||n==="background"&&(t==="table"||t==="td"||t==="th")?gl(e,r):n==="srcset"?R4(e,r):n==="style"?ig(r,GE()):t==="object"&&n==="data"?gl(e,r):typeof o=="function"?o(n,r,i):r)}function kR(e,t,n){return(e==="video"||e==="audio")&&t==="autoplay"}function D4(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let i=e.classList.length;i--;){const o=e.classList[i];if(t.test(o))return!0}if(n)return e.matches(n)}catch{}return!1}function N4(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function ja(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:ja(e.parentNode,t,n,r+1)}function vl(e,t){return n=>{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(N4(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Jl(e,t,n,r,i,o){try{const s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(s===null)return!1;if(s.tagName==="INPUT"){const l=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(l))return!0}let a=-1,u=-1;if(o){if(u=ja(s,vl(r,i)),u<0)return!0;a=ja(s,vl(t,n),u>=0?u:1/0)}else{if(a=ja(s,vl(t,n)),a<0)return!1;u=ja(s,vl(r,i),a>=0?a:1/0)}return a>=0?u>=0?a<=u:!0:u>=0?!1:!!o}catch{}return!!o}function M4(e,t,n){const r=e.contentWindow;if(!r)return;let i=!1,o;try{o=r.document.readyState}catch{return}if(o!=="complete"){const a=r1(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{CR(a),i=!0,t()});return}const s="about:blank";if(r.location.href!==s||e.src===s||e.src==="")return r1(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function L4(e,t,n){let r=!1,i;try{i=e.sheet}catch{return}if(i)return;const o=r1(()=>{r||(t(),r=!0)},n);e.addEventListener("load",()=>{CR(o),r=!0,t()})}function $4(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskAttributeFn:u,maskTextClass:l,unmaskTextClass:c,maskTextSelector:f,unmaskTextSelector:d,inlineStylesheet:h,maskInputOptions:p={},maskTextFn:m,maskInputFn:g,dataURLOptions:v={},inlineImages:y,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:S=!1}=t,E=F4(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:pn.Document,childNodes:[],compatMode:e.compatMode}:{type:pn.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:pn.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:return j4(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:s,inlineStylesheet:h,maskAttributeFn:u,maskInputOptions:p,maskInputFn:g,dataURLOptions:v,inlineImages:y,recordCanvas:b,keepIframeSrcFn:w,newlyAddedElement:S,rootId:E,maskAllText:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:f,unmaskTextSelector:d});case e.TEXT_NODE:return B4(e,{maskAllText:a,maskTextClass:l,unmaskTextClass:c,maskTextSelector:f,unmaskTextSelector:d,maskTextFn:m,maskInputOptions:p,maskInputFn:g,rootId:E});case e.CDATA_SECTION_NODE:return{type:pn.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:pn.Comment,textContent:e.textContent||"",rootId:E};default:return!1}}function F4(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function B4(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:s,maskTextFn:a,maskInputOptions:u,maskInputFn:l,rootId:c}=t,f=e.parentNode&&e.parentNode.tagName;let d=e.textContent;const h=f==="STYLE"?!0:void 0,p=f==="SCRIPT"?!0:void 0,m=f==="TEXTAREA"?!0:void 0;if(h&&d){try{e.nextSibling||e.previousSibling||pd([e,"access",v=>v.parentNode,"access",v=>v.sheet,"optionalAccess",v=>v.cssRules])&&(d=ng(e.parentNode.sheet))}catch(v){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${v}`,e)}d=ig(d,GE())}p&&(d="SCRIPT_PLACEHOLDER");const g=Jl(e,r,o,i,s,n);if(!h&&!p&&!m&&d&&g&&(d=a?a(d,e.parentElement):d.replace(/[\S]/g,"*")),m&&d&&(u.textarea||g)&&(d=l?l(d,e.parentNode):d.replace(/[\S]/g,"*")),f==="OPTION"&&d){const v=N0({type:null,tagName:f,maskInputOptions:u});d=md({isMasked:Jl(e,r,o,i,s,v),element:e,value:d,maskInputFn:l})}return{type:pn.Text,textContent:d||"",isStyle:h,rootId:c}}function j4(e,t){const{doc:n,blockClass:r,blockSelector:i,unblockSelector:o,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:u,maskInputFn:l,dataURLOptions:c={},inlineImages:f,recordCanvas:d,keepIframeSrcFn:h,newlyAddedElement:p=!1,rootId:m,maskAllText:g,maskTextClass:v,unmaskTextClass:y,maskTextSelector:b,unmaskTextSelector:w}=t,S=D4(e,r,i,o),E=x4(e);let _={};const C=e.attributes.length;for(let T=0;T<C;T++){const x=e.attributes[T];x.name&&!kR(E,x.name,x.value)&&(_[x.name]=AR(n,E,Xl(x.name),x.value,e,u))}if(E==="link"&&s){const T=Array.from(n.styleSheets).find(I=>I.href===e.href);let x=null;T&&(x=ng(T)),x&&(delete _.rel,delete _.href,_._cssText=ig(x,T.href))}if(E==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const T=ng(e.sheet);T&&(_._cssText=ig(T,GE()))}if(E==="input"||E==="textarea"||E==="select"||E==="option"){const T=e,x=VE(T),I=rg(T,n1(E),x),A=T.checked;if(x!=="submit"&&x!=="button"&&I){const D=Jl(T,v,b,y,w,N0({type:x,tagName:n1(E),maskInputOptions:a}));_.value=md({isMasked:D,element:T,value:I,maskInputFn:l})}A&&(_.checked=A)}if(E==="option"&&(e.selected&&!a.select?_.selected=!0:delete _.selected),E==="canvas"&&d){if(e.__context==="2d")w4(e)||(_.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){const T=e.toDataURL(c.type,c.quality),x=document.createElement("canvas");x.width=e.width,x.height=e.height;const I=x.toDataURL(c.type,c.quality);T!==I&&(_.rr_dataURL=T)}}if(E==="img"&&f){Uu||(Uu=n.createElement("canvas"),J2=Uu.getContext("2d"));const T=e,x=T.crossOrigin;T.crossOrigin="anonymous";const I=()=>{T.removeEventListener("load",I);try{Uu.width=T.naturalWidth,Uu.height=T.naturalHeight,J2.drawImage(T,0,0),_.rr_dataURL=Uu.toDataURL(c.type,c.quality)}catch(A){console.warn(`Cannot inline img src=${T.currentSrc}! Error: ${A}`)}x?_.crossOrigin=x:T.removeAttribute("crossorigin")};T.complete&&T.naturalWidth!==0?I():T.addEventListener("load",I)}if((E==="audio"||E==="video")&&(_.rr_mediaState=e.paused?"paused":"played",_.rr_mediaCurrentTime=e.currentTime),p||(e.scrollLeft&&(_.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(_.rr_scrollTop=e.scrollTop)),S){const{width:T,height:x}=e.getBoundingClientRect();_={class:_.class,rr_width:`${T}px`,rr_height:`${x}px`}}E==="iframe"&&!h(_.src)&&(!S&&!e.contentDocument&&(_.rr_src=_.src),delete _.src);let O;try{customElements.get(E)&&(O=!0)}catch{}return{type:pn.Element,tagName:E,attributes:_,childNodes:[],isSVG:P4(e)||void 0,needBlock:S,rootId:m,isCustom:O}}function Lt(e){return e==null?"":e.toLowerCase()}function H4(e,t){if(t.comment&&e.type===pn.Comment)return!0;if(e.type===pn.Element){if(t.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")&&e.attributes.as==="script"||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&OR(e.attributes.href)==="js"))return!0;if(t.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(Lt(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Lt(e.attributes.name)==="application-name"||Lt(e.attributes.rel)==="icon"||Lt(e.attributes.rel)==="apple-touch-icon"||Lt(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&&Lt(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Lt(e.attributes.property).match(/^(og|twitter|fb):/)||Lt(e.attributes.name).match(/^(og|twitter):/)||Lt(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&&(Lt(e.attributes.name)==="robots"||Lt(e.attributes.name)==="googlebot"||Lt(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&&(Lt(e.attributes.name)==="author"||Lt(e.attributes.name)==="generator"||Lt(e.attributes.name)==="framework"||Lt(e.attributes.name)==="publisher"||Lt(e.attributes.name)==="progid"||Lt(e.attributes.property).match(/^article:/)||Lt(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&(Lt(e.attributes.name)==="google-site-verification"||Lt(e.attributes.name)==="yandex-verification"||Lt(e.attributes.name)==="csrf-token"||Lt(e.attributes.name)==="p:domain_verify"||Lt(e.attributes.name)==="verify-v1"||Lt(e.attributes.name)==="verification"||Lt(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function yl(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:f,skipChild:d=!1,inlineStylesheet:h=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b={},inlineImages:w=!1,recordCanvas:S=!1,onSerialize:E,onIframeLoad:_,iframeLoadTimeout:C=5e3,onStylesheetLoad:O,stylesheetLoadTimeout:T=5e3,keepIframeSrcFn:x=()=>!1,newlyAddedElement:I=!1}=t;let{preserveWhiteSpace:A=!0}=t;const D=$4(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:u,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,dataURLOptions:b,inlineImages:w,recordCanvas:S,keepIframeSrcFn:x,newlyAddedElement:I});if(!D)return console.warn(e,"not serialized"),null;let R;r.hasNode(e)?R=r.getId(e):H4(D,y)||!A&&D.type===pn.Text&&!D.isStyle&&!D.textContent.replace(/^\s+|\s+$/gm,"").length?R=gd:R=WE();const k=Object.assign(D,{id:R});if(r.add(e,k),R===gd)return null;E&&E(e);let P=!d;if(k.type===pn.Element){P=P&&!k.needBlock,delete k.needBlock;const N=e.shadowRoot;N&&Af(N)&&(k.isShadowHost=!0)}if((k.type===pn.Document||k.type===pn.Element)&&P){y.headWhitespace&&k.type===pn.Element&&k.tagName==="head"&&(A=!1);const N={doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:u,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:f,skipChild:d,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:w,recordCanvas:S,preserveWhiteSpace:A,onSerialize:E,onIframeLoad:_,iframeLoadTimeout:C,onStylesheetLoad:O,stylesheetLoadTimeout:T,keepIframeSrcFn:x};for(const $ of Array.from(e.childNodes)){const F=yl($,N);F&&k.childNodes.push(F)}if(h4(e)&&e.shadowRoot)for(const $ of Array.from(e.shadowRoot.childNodes)){const F=yl($,N);F&&(Af(e.shadowRoot)&&(F.isShadow=!0),k.childNodes.push(F))}}return e.parentNode&&Cf(e.parentNode)&&Af(e.parentNode)&&(k.isShadow=!0),k.type===pn.Element&&k.tagName==="iframe"&&M4(e,()=>{const N=e.contentDocument;if(N&&_){const $=yl(N,{doc:N,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:w,recordCanvas:S,preserveWhiteSpace:A,onSerialize:E,onIframeLoad:_,iframeLoadTimeout:C,onStylesheetLoad:O,stylesheetLoadTimeout:T,keepIframeSrcFn:x});$&&_(e,$)}},C),k.type===pn.Element&&k.tagName==="link"&&typeof k.attributes.rel=="string"&&(k.attributes.rel==="stylesheet"||k.attributes.rel==="preload"&&typeof k.attributes.href=="string"&&OR(k.attributes.href)==="css")&&L4(e,()=>{if(O){const N=yl(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y,dataURLOptions:b,inlineImages:w,recordCanvas:S,preserveWhiteSpace:A,onSerialize:E,onIframeLoad:_,iframeLoadTimeout:C,onStylesheetLoad:O,stylesheetLoadTimeout:T,keepIframeSrcFn:x});N&&O(e,N)}},T),k}function U4(e,t){const{mirror:n=new _R,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:u=null,maskTextSelector:l=null,unmaskTextSelector:c=null,inlineStylesheet:f=!0,inlineImages:d=!1,recordCanvas:h=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOM:y=!1,dataURLOptions:b,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:_,onStylesheetLoad:C,stylesheetLoadTimeout:O,keepIframeSrcFn:T=()=>!1}=t||{};return yl(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:s,maskTextClass:a,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:f,maskInputOptions:p===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:p===!1?{}:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:v,slimDOMOptions:y===!0||y==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:y==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:y===!1?{}:y,dataURLOptions:b,inlineImages:d,recordCanvas:h,preserveWhiteSpace:w,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:_,onStylesheetLoad:C,stylesheetLoadTimeout:O,keepIframeSrcFn:T,newlyAddedElement:!1})}function Is(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}function lr(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const ol=`Please stop import mirror directly. Instead of that,\r
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
or you can use record.mirror to access the mirror instance during recording.`;let Q2={map:{},getId(){return console.error(ol),-1},getNode(){return console.error(ol),null},removeNodeFromMap(){console.error(ol)},has(){return console.error(ol),!1},reset(){console.error(ol)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Q2=new Proxy(Q2,{get(e,t,n){return t==="map"&&console.error(ol),Reflect.get(e,t,n)}}));function vd(e,t,n={}){let r=null,i=0;return function(...o){const s=Date.now();!i&&n.leading===!1&&(i=s);const a=t-(s-i),u=this;a<=0||a>t?(r&&(Y4(r),r=null),i=s,e.apply(u,o)):!r&&n.trailing!==!1&&(r=M0(()=>{i=n.leading===!1?0:Date.now(),r=null,e.apply(u,o)},a))}}function RR(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(s){M0(()=>{n.set.call(this,s)},0),o&&o.set&&o.set.call(this,s)}}),()=>RR(e,t,o||{},!0)}function KE(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}let og=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(og=()=>new Date().getTime());function PR(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:Is([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollLeft])||Is([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollLeft])||Is([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:Is([t,"optionalAccess",n=>n.documentElement,"access",n=>n.scrollTop])||Is([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.parentElement,"optionalAccess",n=>n.scrollTop])||Is([t,"optionalAccess",n=>n.body,"optionalAccess",n=>n.scrollTop])||0}}function DR(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function NR(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function MR(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function bi(e,t,n,r,i){if(!e)return!1;const o=MR(e);if(!o)return!1;const s=vl(t,n);if(!i){const l=r&&o.matches(r);return s(o)&&!l}const a=ja(o,s);let u=-1;return a<0?!1:(r&&(u=ja(o,vl(null,r))),a>-1&&u<0?!0:a<u)}function z4(e,t){return t.getId(e)!==-1}function Kv(e,t){return t.getId(e)===gd}function LR(e,t){if(Cf(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?LR(e.parentNode,t):!0:!0}function i1(e){return!!e.changedTouches}function V4(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}function $R(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function FR(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function o1(e){return!!Is([e,"optionalAccess",t=>t.shadowRoot])}class W4{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return jB(this.styleIDMap.get(t),()=>-1)}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function BR(e){let t=null;return Is([e,"access",n=>n.getRootNode,"optionalCall",n=>n(),"optionalAccess",n=>n.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function G4(e){let t=e,n;for(;n=BR(t);)t=n;return t}function K4(e){const t=e.ownerDocument;if(!t)return!1;const n=G4(e);return t.contains(n)}function jR(e){const t=e.ownerDocument;return t?t.contains(e)||K4(e):!1}const Z2={};function qE(e){const t=Z2[e];if(t)return t;const n=window.document;let r=window[e];if(n&&typeof n.createElement=="function")try{const i=n.createElement("iframe");i.hidden=!0,n.head.appendChild(i);const o=i.contentWindow;o&&o[e]&&(r=o[e]),n.head.removeChild(i)}catch{}return Z2[e]=r.bind(window)}function q4(...e){return qE("requestAnimationFrame")(...e)}function M0(...e){return qE("setTimeout")(...e)}function Y4(...e){return qE("clearTimeout")(...e)}var rt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(rt||{}),it=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(it||{}),rr=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(rr||{}),So=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(So||{});function X4(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}function e_(e){return"__ln"in e}class J4{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=X4([n,"optionalAccess",i=>i.next])||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&e_(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&e_(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const t_=(e,t)=>`${e}@${t}`;class Q4{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new J4,i=u=>{let l=u,c=gd;for(;c===gd;)l=l&&l.nextSibling,c=l&&this.mirror.getId(l);return c},o=u=>{if(!u.parentNode||!jR(u))return;const l=Cf(u.parentNode)?this.mirror.getId(BR(u)):this.mirror.getId(u.parentNode),c=i(u);if(l===-1||c===-1)return r.addNode(u);const f=yl(u,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:d=>{$R(d,this.mirror)&&this.iframeManager.addIframe(d),FR(d,this.mirror)&&this.stylesheetManager.trackLinkElement(d),o1(u)&&this.shadowDomManager.addShadowRoot(u.shadowRoot,this.doc)},onIframeLoad:(d,h)=>{this.iframeManager.attachIframe(d,h),d.contentWindow&&this.canvasManager.addWindow(d.contentWindow),this.shadowDomManager.observeAttachShadow(d)},onStylesheetLoad:(d,h)=>{this.stylesheetManager.attachLinkElement(d,h)}});f&&(t.push({parentId:l,nextId:c,node:f}),n.add(f.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const u of this.movedSet)n_(this.removes,u,this.mirror)&&!this.movedSet.has(u.parentNode)||o(u);for(const u of this.addedSet)!r_(this.droppedSet,u)&&!n_(this.removes,u,this.mirror)||r_(this.movedSet,u)?o(u):this.droppedSet.add(u);let s=null;for(;r.length;){let u=null;if(s){const l=this.mirror.getId(s.value.parentNode),c=i(s.value);l!==-1&&c!==-1&&(u=s)}if(!u){let l=r.tail;for(;l;){const c=l;if(l=l.previous,c){const f=this.mirror.getId(c.value.parentNode);if(i(c.value)===-1)continue;if(f!==-1){u=c;break}else{const h=c.value;if(h.parentNode&&h.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const p=h.parentNode.host;if(this.mirror.getId(p)!==-1){u=c;break}}}}}}if(!u){for(;r.head;)r.removeNode(r.head.value);break}s=u.previous,r.removeNode(u.value),o(u.value)}const a={texts:this.texts.map(u=>({id:this.mirror.getId(u.node),value:u.value})).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),attributes:this.attributes.map(u=>{const{attributes:l}=u;if(typeof l.style=="string"){const c=JSON.stringify(u.styleDiff),f=JSON.stringify(u._unchangedStyles);c.length<l.style.length&&(c+f).split("var(").length===l.style.split("var(").length&&(l.style=u.styleDiff)}return{id:this.mirror.getId(u.node),attributes:l}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),removes:this.removes,adds:t};!a.texts.length&&!a.attributes.length&&!a.removes.length&&!a.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=t=>{if(!Kv(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!bi(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:Jl(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,MR(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,i=t.target.getAttribute(r);if(r==="value"){const s=VE(n),a=n.tagName;i=rg(n,a,s);const u=N0({maskInputOptions:this.maskInputOptions,tagName:a,type:s}),l=Jl(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,u);i=md({isMasked:l,element:n,value:i,maskInputFn:this.maskInputFn})}if(bi(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i===t.oldValue)return;let o=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(i))if(!n.contentDocument)r="rr_src";else return;if(o||(o={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(t.target,o)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!kR(n.tagName,r)&&(o.attributes[r]=AR(this.doc,Xl(n.tagName),Xl(r),i,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const s=this.unattachedDoc.createElement("span");t.oldValue&&s.setAttribute("style",t.oldValue);for(const a of Array.from(n.style)){const u=n.style.getPropertyValue(a),l=n.style.getPropertyPriority(a);u!==s.style.getPropertyValue(a)||l!==s.style.getPropertyPriority(a)?l===""?o.styleDiff[a]=u:o.styleDiff[a]=[u,l]:o._unchangedStyles[a]=[u,l]}for(const a of Array.from(s.style))n.style.getPropertyValue(a)===""&&(o.styleDiff[a]=!1)}break}case"childList":{if(bi(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),i=Cf(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);bi(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Kv(n,this.mirror)||!z4(n,this.mirror)||(this.addedSet.has(n)?(s1(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||LR(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[t_(r,i)]?s1(this.movedSet,n):this.removes.push({parentId:i,id:r,isShadow:Cf(t.target)&&Af(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(Kv(t,this.mirror))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[t_(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);bi(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(r=>this.genAdds(r)),o1(t)&&t.shadowRoot.childNodes.forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function s1(e,t){e.delete(t),t.childNodes.forEach(n=>s1(e,n))}function n_(e,t,n){return e.length===0?!1:HR(e,t,n)}function HR(e,t,n){const{parentNode:r}=t;if(!r)return!1;const i=n.getId(r);return e.some(o=>o.id===i)?!0:HR(e,r,n)}function r_(e,t){return e.size===0?!1:UR(e,t)}function UR(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:UR(e,n):!1}let kf;function Z4(e){kf=e}function eU(){kf=void 0}const gt=e=>kf?(...n)=>{try{return e(...n)}catch(r){if(kf&&kf(r)===!0)return()=>{};throw r}}:e;function vi(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}const bl=[];function ch(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function zR(e,t){const n=new Q4;bl.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const i=vi([window,"optionalAccess",s=>s.Zone,"optionalAccess",s=>s.__symbol__,"optionalCall",s=>s("MutationObserver")]);i&&window[i]&&(r=window[i]);const o=new r(gt(s=>{e.onMutation&&e.onMutation(s)===!1||n.processMutations.bind(n)(s)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function tU({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const i=typeof t.mousemove=="number"?t.mousemove:50,o=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let s=[],a;const u=vd(gt(f=>{const d=Date.now()-a;e(s.map(h=>(h.timeOffset-=d,h)),f),s=[],a=null}),o),l=gt(vd(gt(f=>{const d=ch(f),{clientX:h,clientY:p}=i1(f)?f.changedTouches[0]:f;a||(a=og()),s.push({x:h,y:p,id:r.getId(d),timeOffset:og()-a}),u(typeof DragEvent<"u"&&f instanceof DragEvent?it.Drag:f instanceof MouseEvent?it.MouseMove:it.TouchMove)}),i,{trailing:!1})),c=[lr("mousemove",l,n),lr("touchmove",l,n),lr("drag",l,n)];return gt(()=>{c.forEach(f=>f())})}function nU({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const a=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,u=[];let l=null;const c=f=>d=>{const h=ch(d);if(bi(h,r,i,o,!0))return;let p=null,m=f;if("pointerType"in d){switch(d.pointerType){case"mouse":p=So.Mouse;break;case"touch":p=So.Touch;break;case"pen":p=So.Pen;break}p===So.Touch?rr[f]===rr.MouseDown?m="TouchStart":rr[f]===rr.MouseUp&&(m="TouchEnd"):So.Pen}else i1(d)&&(p=So.Touch);p!==null?(l=p,(m.startsWith("Touch")&&p===So.Touch||m.startsWith("Mouse")&&p===So.Mouse)&&(p=null)):rr[f]===rr.Click&&(p=l,l=null);const g=i1(d)?d.changedTouches[0]:d;if(!g)return;const v=n.getId(h),{clientX:y,clientY:b}=g;gt(e)({type:rr[m],id:v,x:y,y:b,...p!==null&&{pointerType:p}})};return Object.keys(rr).filter(f=>Number.isNaN(Number(f))&&!f.endsWith("_Departed")&&a[f]!==!1).forEach(f=>{let d=Xl(f);const h=c(f);if(window.PointerEvent)switch(rr[f]){case rr.MouseDown:case rr.MouseUp:d=d.replace("mouse","pointer");break;case rr.TouchStart:case rr.TouchEnd:return}u.push(lr(d,h,t))}),gt(()=>{u.forEach(f=>f())})}function VR({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){const a=gt(vd(gt(u=>{const l=ch(u);if(!l||bi(l,r,i,o,!0))return;const c=n.getId(l);if(l===t&&t.defaultView){const f=PR(t.defaultView);e({id:c,x:f.left,y:f.top})}else e({id:c,x:l.scrollLeft,y:l.scrollTop})}),s.scroll||100));return lr("scroll",a,t)}function rU({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const i=gt(vd(gt(()=>{const o=DR(),s=NR();(n!==o||r!==s)&&(e({width:Number(s),height:Number(o)}),n=o,r=s)}),200));return lr("resize",i,t)}const iU=["INPUT","TEXTAREA","SELECT"],i_=new WeakMap;function oU({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:s,ignoreSelector:a,maskInputOptions:u,maskInputFn:l,sampling:c,userTriggeredOnInput:f,maskTextClass:d,unmaskTextClass:h,maskTextSelector:p,unmaskTextSelector:m}){function g(_){let C=ch(_);const O=_.isTrusted,T=C&&n1(C.tagName);if(T==="OPTION"&&(C=C.parentElement),!C||!T||iU.indexOf(T)<0||bi(C,r,i,o,!0))return;const x=C;if(x.classList.contains(s)||a&&x.matches(a))return;const I=VE(C);let A=rg(x,T,I),D=!1;const R=N0({maskInputOptions:u,tagName:T,type:I}),k=Jl(C,d,p,h,m,R);(I==="radio"||I==="checkbox")&&(D=C.checked),A=md({isMasked:k,element:C,value:A,maskInputFn:l}),v(C,f?{text:A,isChecked:D,userTriggered:O}:{text:A,isChecked:D});const P=C.name;I==="radio"&&P&&D&&t.querySelectorAll(`input[type="radio"][name="${P}"]`).forEach(N=>{if(N!==C){const $=md({isMasked:k,element:N,value:rg(N,T,I),maskInputFn:l});v(N,f?{text:$,isChecked:!D,userTriggered:!1}:{text:$,isChecked:!D})}})}function v(_,C){const O=i_.get(_);if(!O||O.text!==C.text||O.isChecked!==C.isChecked){i_.set(_,C);const T=n.getId(_);gt(e)({...C,id:T})}}const b=(c.input==="last"?["change"]:["input","change"]).map(_=>lr(_,gt(g),t)),w=t.defaultView;if(!w)return()=>{b.forEach(_=>_())};const S=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),E=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return S&&S.set&&b.push(...E.map(_=>RR(_[0],_[1],{set(){gt(g)({target:this,isTrusted:!1})}},!1,w))),gt(()=>{b.forEach(_=>_())})}function sg(e){const t=[];function n(r,i){if(rp("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||rp("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||rp("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||rp("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const s=Array.from(r.parentRule.cssRules).indexOf(r);i.unshift(s)}else if(r.parentStyleSheet){const s=Array.from(r.parentStyleSheet.cssRules).indexOf(r);i.unshift(s)}return i}return n(e,t)}function Cs(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function sU({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:gt((c,f,d)=>{const[h,p]=d,{id:m,styleId:g}=Cs(f,t,n.styleMirror);return(m&&m!==-1||g&&g!==-1)&&e({id:m,styleId:g,adds:[{rule:h,index:p}]}),c.apply(f,d)})});const o=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:gt((c,f,d)=>{const[h]=d,{id:p,styleId:m}=Cs(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,removes:[{index:h}]}),c.apply(f,d)})});let s;r.CSSStyleSheet.prototype.replace&&(s=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:gt((c,f,d)=>{const[h]=d,{id:p,styleId:m}=Cs(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replace:h}),c.apply(f,d)})}));let a;r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:gt((c,f,d)=>{const[h]=d,{id:p,styleId:m}=Cs(f,t,n.styleMirror);return(p&&p!==-1||m&&m!==-1)&&e({id:p,styleId:m,replaceSync:h}),c.apply(f,d)})}));const u={};ip("CSSGroupingRule")?u.CSSGroupingRule=r.CSSGroupingRule:(ip("CSSMediaRule")&&(u.CSSMediaRule=r.CSSMediaRule),ip("CSSConditionRule")&&(u.CSSConditionRule=r.CSSConditionRule),ip("CSSSupportsRule")&&(u.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(u).forEach(([c,f])=>{l[c]={insertRule:f.prototype.insertRule,deleteRule:f.prototype.deleteRule},f.prototype.insertRule=new Proxy(l[c].insertRule,{apply:gt((d,h,p)=>{const[m,g]=p,{id:v,styleId:y}=Cs(h.parentStyleSheet,t,n.styleMirror);return(v&&v!==-1||y&&y!==-1)&&e({id:v,styleId:y,adds:[{rule:m,index:[...sg(h),g||0]}]}),d.apply(h,p)})}),f.prototype.deleteRule=new Proxy(l[c].deleteRule,{apply:gt((d,h,p)=>{const[m]=p,{id:g,styleId:v}=Cs(h.parentStyleSheet,t,n.styleMirror);return(g&&g!==-1||v&&v!==-1)&&e({id:g,styleId:v,removes:[{index:[...sg(h),m]}]}),d.apply(h,p)})})}),gt(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=o,s&&(r.CSSStyleSheet.prototype.replace=s),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(u).forEach(([c,f])=>{f.prototype.insertRule=l[c].insertRule,f.prototype.deleteRule=l[c].deleteRule})})}function WR({mirror:e,stylesheetManager:t},n){let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const i=n.nodeName==="#document"?vi([n,"access",s=>s.defaultView,"optionalAccess",s=>s.Document]):vi([n,"access",s=>s.ownerDocument,"optionalAccess",s=>s.defaultView,"optionalAccess",s=>s.ShadowRoot]),o=vi([i,"optionalAccess",s=>s.prototype])?Object.getOwnPropertyDescriptor(vi([i,"optionalAccess",s=>s.prototype]),"adoptedStyleSheets"):void 0;return r===null||r===-1||!i||!o?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return vi([o,"access",s=>s.get,"optionalAccess",s=>s.call,"call",s=>s(this)])},set(s){const a=vi([o,"access",u=>u.set,"optionalAccess",u=>u.call,"call",u=>u(this,s)]);if(r!==null&&r!==-1)try{t.adoptStyleSheets(s,r)}catch{}return a}}),gt(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})}))}function aU({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:gt((a,u,l)=>{const[c,f,d]=l;if(n.has(c))return o.apply(u,[c,f,d]);const{id:h,styleId:p}=Cs(vi([u,"access",m=>m.parentRule,"optionalAccess",m=>m.parentStyleSheet]),t,r.styleMirror);return(h&&h!==-1||p&&p!==-1)&&e({id:h,styleId:p,set:{property:c,value:f,priority:d},index:sg(u.parentRule)}),a.apply(u,l)})});const s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:gt((a,u,l)=>{const[c]=l;if(n.has(c))return s.apply(u,[c]);const{id:f,styleId:d}=Cs(vi([u,"access",h=>h.parentRule,"optionalAccess",h=>h.parentStyleSheet]),t,r.styleMirror);return(f&&f!==-1||d&&d!==-1)&&e({id:f,styleId:d,remove:{property:c},index:sg(u.parentRule)}),a.apply(u,l)})}),gt(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=s})}function uU({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:s}){const a=gt(l=>vd(gt(c=>{const f=ch(c);if(!f||bi(f,t,n,r,!0))return;const{currentTime:d,volume:h,muted:p,playbackRate:m}=f;e({type:l,id:i.getId(f),currentTime:d,volume:h,muted:p,playbackRate:m})}),o.media||500)),u=[lr("play",a(0),s),lr("pause",a(1),s),lr("seeked",a(2),s),lr("volumechange",a(3),s),lr("ratechange",a(4),s)];return gt(()=>{u.forEach(l=>l())})}function lU({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(u,l,c){const f=new o(u,l,c);return i.set(f,{family:u,buffer:typeof l!="string",descriptors:c,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),f};const s=KE(t.fonts,"add",function(a){return function(u){return M0(gt(()=>{const l=i.get(u);l&&(e(l),i.delete(u))}),0),a.apply(this,[u])}});return r.push(()=>{n.FontFace=o}),r.push(s),gt(()=>{r.forEach(a=>a())})}function cU(e){const{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:s}=e;let a=!0;const u=gt(()=>{const l=t.getSelection();if(!l||a&&vi([l,"optionalAccess",d=>d.isCollapsed]))return;a=l.isCollapsed||!1;const c=[],f=l.rangeCount||0;for(let d=0;d<f;d++){const h=l.getRangeAt(d),{startContainer:p,startOffset:m,endContainer:g,endOffset:v}=h;bi(p,r,i,o,!0)||bi(g,r,i,o,!0)||c.push({start:n.getId(p),startOffset:m,end:n.getId(g),endOffset:v})}s({ranges:c})});return u(),lr("selectionchange",u)}function fU({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:KE(n.customElements,"define",function(i){return function(o,s,a){try{t({define:{name:o}})}catch{}return i.apply(this,[o,s,a])}})}function dU(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=zR(e,e.doc));const i=tU(e),o=nU(e),s=VR(e),a=rU(e,{win:n}),u=oU(e),l=uU(e);let c=()=>{},f=()=>{},d=()=>{},h=()=>{};e.recordDOM&&(c=sU(e,{win:n}),f=WR(e,e.doc),d=aU(e,{win:n}),e.collectFonts&&(h=lU(e)));const p=cU(e),m=fU(e),g=[];for(const v of e.plugins)g.push(v.observer(v.callback,n,v.options));return gt(()=>{bl.forEach(v=>v.reset()),vi([r,"optionalAccess",v=>v.disconnect,"call",v=>v()]),i(),o(),s(),a(),u(),l(),c(),f(),d(),h(),p(),m(),g.forEach(v=>v())})}function rp(e){return typeof window[e]<"u"}function ip(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class a1{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,i){const o=r||this.getIdToRemoteIdMap(t),s=i||this.getRemoteIdToIdMap(t);let a=o.get(n);return a||(a=this.generateIdFn(),o.set(n,a),s.set(a,n)),a}getIds(t,n){const r=this.getIdToRemoteIdMap(t),i=this.getRemoteIdToIdMap(t);return n.map(o=>this.getId(t,o,r,i))}getRemoteId(t,n,r){const i=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const o=i.get(n);return o||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(i=>this.getRemoteId(t,i,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}function o_(e){let t,n=e[0],r=1;for(;r<e.length;){const i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}class hU{constructor(){this.crossOriginIframeMirror=new a1(WE),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class pU{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new a1(WE),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new a1(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),o_([this,"access",r=>r.loadListener,"optionalCall",r=>r(t)]),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const i=this.crossOriginIframeMap.get(t.source);if(!i)return;const o=this.transformCrossOriginEvent(i,n.data.event);o&&this.wrappedEmit(o,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case rt.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const r=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,r),this.patchRootIdOnNode(n.data.node,r),{timestamp:n.timestamp,type:rt.IncrementalSnapshot,data:{source:it.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case rt.Meta:case rt.Load:case rt.DomContentLoaded:return!1;case rt.Plugin:return n;case rt.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case rt.IncrementalSnapshot:switch(n.data.source){case it.Mutation:return n.data.adds.forEach(r=>{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);const i=this.crossOriginIframeRootIdMap.get(t);i&&this.patchRootIdOnNode(r.node,i)}),n.data.removes.forEach(r=>{this.replaceIds(r,t,["parentId","id"])}),n.data.attributes.forEach(r=>{this.replaceIds(r,t,["id"])}),n.data.texts.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case it.Drag:case it.TouchMove:case it.MouseMove:return n.data.positions.forEach(r=>{this.replaceIds(r,t,["id"])}),n;case it.ViewportResize:return!1;case it.MediaInteraction:case it.MouseInteraction:case it.Scroll:case it.CanvasMutation:case it.Input:return this.replaceIds(n.data,t,["id"]),n;case it.StyleSheetRule:case it.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case it.Font:return n;case it.Selection:return n.data.ranges.forEach(r=>{this.replaceIds(r,t,["start","end"])}),n;case it.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),o_([n,"access",r=>r.data,"access",r=>r.styles,"optionalAccess",r=>r.forEach,"call",r=>r(i=>{this.replaceStyleIds(i,t,["styleId"])})]),n}}return!1}replace(t,n,r,i){for(const o of i)!Array.isArray(n[o])&&typeof n[o]!="number"||(Array.isArray(n[o])?n[o]=t.getIds(r,n[o]):n[o]=t.getId(r,n[o]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==pn.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class mU{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class gU{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Af(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=zR({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(VR({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),M0(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(WR({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(KE(t.prototype,"attachShadow",function(i){return function(o){const s=i.call(this,o);return this.shadowRoot&&jR(this)&&r.addShadowRoot(this.shadowRoot,n),s}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class s_{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class vU{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new W4,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},i=[];for(const o of t){let s;this.styleMirror.has(o)?s=this.styleMirror.getId(o):(s=this.styleMirror.add(o),i.push({styleId:s,rules:Array.from(o.rules||CSSRule,(a,u)=>({rule:TR(a),index:u}))})),r.styleIds.push(s)}i.length>0&&(r.styles=i),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class yU{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){q4(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(i=>i!==n)}add(t,n){this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}let Qt,ag;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=Er([e,"access",t=>t.contentWindow,"optionalAccess",t=>t.Array,"access",t=>t.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const pi=b4();function Gs(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:u=null,maskAllText:l=!1,maskTextClass:c="rr-mask",unmaskTextClass:f=null,maskTextSelector:d=null,unmaskTextSelector:h=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:v,maskAttributeFn:y,maskInputFn:b,maskTextFn:w,maxCanvasSize:S=null,packFn:E,sampling:_={},dataURLOptions:C={},mousemoveWait:O,recordDOM:T=!0,recordCanvas:x=!1,recordCrossOriginIframes:I=!1,recordAfter:A=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:D=!1,collectFonts:R=!1,inlineImages:k=!1,plugins:P,keepIframeSrcFn:N=()=>!1,ignoreCSSAttributes:$=new Set([]),errorHandler:F,onMutation:V,getCanvasManager:H}=e;Z4(F);const G=I?window.parent===window:!0;let U=!1;if(!G)try{window.parent.document&&(U=!1)}catch{U=!0}if(G&&!t)throw new Error("emit function is required");O!==void 0&&_.mousemove===void 0&&(_.mousemove=O),pi.reset();const Y=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:g!==void 0?g:{},J=v===!0||v==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:v==="all",headMetaDescKeywords:v==="all"}:v||{};V4();let B,Z=0;const ue=ne=>{for(const oe of P||[])oe.eventProcessor&&(ne=oe.eventProcessor(ne));return E&&!U&&(ne=E(ne)),ne};Qt=(ne,oe)=>{const ee=ne;if(ee.timestamp=og(),Er([bl,"access",pe=>pe[0],"optionalAccess",pe=>pe.isFrozen,"call",pe=>pe()])&&ee.type!==rt.FullSnapshot&&!(ee.type===rt.IncrementalSnapshot&&ee.data.source===it.Mutation)&&bl.forEach(pe=>pe.unfreeze()),G)Er([t,"optionalCall",pe=>pe(ue(ee),oe)]);else if(U){const pe={type:"rrweb",event:ue(ee),origin:window.location.origin,isCheckout:oe};window.parent.postMessage(pe,"*")}if(ee.type===rt.FullSnapshot)B=ee,Z=0;else if(ee.type===rt.IncrementalSnapshot){if(ee.data.source===it.Mutation&&ee.data.isAttachIframe)return;Z++;const pe=r&&Z>=r,ae=n&&B&&ee.timestamp-B.timestamp>n;(pe||ae)&&fe(!0)}};const de=ne=>{Qt({type:rt.IncrementalSnapshot,data:{source:it.Mutation,...ne}})},Me=ne=>Qt({type:rt.IncrementalSnapshot,data:{source:it.Scroll,...ne}}),nt=ne=>Qt({type:rt.IncrementalSnapshot,data:{source:it.CanvasMutation,...ne}}),M=ne=>Qt({type:rt.IncrementalSnapshot,data:{source:it.AdoptedStyleSheet,...ne}}),L=new vU({mutationCb:de,adoptedStyleSheetCb:M}),K=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new hU:new pU({mirror:pi,mutationCb:de,stylesheetManager:L,recordCrossOriginIframes:I,wrappedEmit:Qt});for(const ne of P||[])ne.getMirror&&ne.getMirror({nodeMirror:pi,crossOriginIframeMirror:K.crossOriginIframeMirror,crossOriginIframeStyleMirror:K.crossOriginIframeStyleMirror});const re=new yU,Q=wU(H,{mirror:pi,win:window,mutationCb:ne=>Qt({type:rt.IncrementalSnapshot,data:{source:it.CanvasMutation,...ne}}),recordCanvas:x,blockClass:i,blockSelector:o,unblockSelector:s,maxCanvasSize:S,sampling:_.canvas,dataURLOptions:C,errorHandler:F}),le=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new mU:new gU({mutationCb:de,scrollCb:Me,bypassOptions:{onMutation:V,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:Y,dataURLOptions:C,maskAttributeFn:y,maskTextFn:w,maskInputFn:b,recordCanvas:x,inlineImages:k,sampling:_,slimDOMOptions:J,iframeManager:K,stylesheetManager:L,canvasManager:Q,keepIframeSrcFn:N,processedNodeManager:re},mirror:pi}),fe=(ne=!1)=>{if(!T)return;Qt({type:rt.Meta,data:{href:window.location.href,width:NR(),height:DR()}},ne),L.reset(),le.init(),bl.forEach(ee=>ee.lock());const oe=U4(document,{mirror:pi,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskAllInputs:Y,maskAttributeFn:y,maskInputFn:b,maskTextFn:w,slimDOM:J,dataURLOptions:C,recordCanvas:x,inlineImages:k,onSerialize:ee=>{$R(ee,pi)&&K.addIframe(ee),FR(ee,pi)&&L.trackLinkElement(ee),o1(ee)&&le.addShadowRoot(ee.shadowRoot,document)},onIframeLoad:(ee,pe)=>{K.attachIframe(ee,pe),ee.contentWindow&&Q.addWindow(ee.contentWindow),le.observeAttachShadow(ee)},onStylesheetLoad:(ee,pe)=>{L.attachLinkElement(ee,pe)},keepIframeSrcFn:N});if(!oe)return console.warn("Failed to snapshot the document");Qt({type:rt.FullSnapshot,data:{node:oe,initialOffset:PR(window)}}),bl.forEach(ee=>ee.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&L.adoptStyleSheets(document.adoptedStyleSheets,pi.getId(document))};ag=fe;try{const ne=[],oe=pe=>gt(dU)({onMutation:V,mutationCb:de,mousemoveCb:(ae,ye)=>Qt({type:rt.IncrementalSnapshot,data:{source:ye,positions:ae}}),mouseInteractionCb:ae=>Qt({type:rt.IncrementalSnapshot,data:{source:it.MouseInteraction,...ae}}),scrollCb:Me,viewportResizeCb:ae=>Qt({type:rt.IncrementalSnapshot,data:{source:it.ViewportResize,...ae}}),inputCb:ae=>Qt({type:rt.IncrementalSnapshot,data:{source:it.Input,...ae}}),mediaInteractionCb:ae=>Qt({type:rt.IncrementalSnapshot,data:{source:it.MediaInteraction,...ae}}),styleSheetRuleCb:ae=>Qt({type:rt.IncrementalSnapshot,data:{source:it.StyleSheetRule,...ae}}),styleDeclarationCb:ae=>Qt({type:rt.IncrementalSnapshot,data:{source:it.StyleDeclaration,...ae}}),canvasMutationCb:nt,fontCb:ae=>Qt({type:rt.IncrementalSnapshot,data:{source:it.Font,...ae}}),selectionCb:ae=>{Qt({type:rt.IncrementalSnapshot,data:{source:it.Selection,...ae}})},customElementCb:ae=>{Qt({type:rt.IncrementalSnapshot,data:{source:it.CustomElement,...ae}})},blockClass:i,ignoreClass:a,ignoreSelector:u,maskAllText:l,maskTextClass:c,unmaskTextClass:f,maskTextSelector:d,unmaskTextSelector:h,maskInputOptions:Y,inlineStylesheet:p,sampling:_,recordDOM:T,recordCanvas:x,inlineImages:k,userTriggeredOnInput:D,collectFonts:R,doc:pe,maskAttributeFn:y,maskInputFn:b,maskTextFn:w,keepIframeSrcFn:N,blockSelector:o,unblockSelector:s,slimDOMOptions:J,dataURLOptions:C,mirror:pi,iframeManager:K,stylesheetManager:L,shadowDomManager:le,processedNodeManager:re,canvasManager:Q,ignoreCSSAttributes:$,plugins:Er([P,"optionalAccess",ae=>ae.filter,"call",ae=>ae(ye=>ye.observer),"optionalAccess",ae=>ae.map,"call",ae=>ae(ye=>({observer:ye.observer,options:ye.options,callback:Ce=>Qt({type:rt.Plugin,data:{plugin:ye.name,payload:Ce}})}))])||[]},{});K.addLoadListener(pe=>{try{ne.push(oe(pe.contentDocument))}catch(ae){console.warn(ae)}});const ee=()=>{fe(),ne.push(oe(document))};return document.readyState==="interactive"||document.readyState==="complete"?ee():(ne.push(lr("DOMContentLoaded",()=>{Qt({type:rt.DomContentLoaded,data:{}}),A==="DOMContentLoaded"&&ee()})),ne.push(lr("load",()=>{Qt({type:rt.Load,data:{}}),A==="load"&&ee()},window))),()=>{ne.forEach(pe=>pe()),re.destroy(),ag=void 0,eU()}}catch(ne){console.warn(ne)}}function bU(e){if(!ag)throw new Error("please take full snapshot after start recording");ag(e)}Gs.mirror=pi;Gs.takeFullSnapshot=bU;function wU(e,t){try{return e?e(t):new s_}catch{return console.warn("Unable to initialize CanvasManager"),new s_}}const He=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,a_=["info","warn","error","log"],rm="[Replay] ";function qv(e,t="info"){ea({category:"console",data:{logger:"replay"},level:t,message:`${rm}${e}`},{level:t})}function EU(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:r=>{e=r.captureExceptions,t=r.traceInternals}};return He?(a_.forEach(r=>{n[r]=(...i)=>{me[r](rm,...i),t&&qv(i[0])}}),n.exception=(r,...i)=>{n.error&&n.error(...i),me.error(rm,r),e?oh(r):t&&qv(r)},n.infoTick=(...r)=>{me.info(rm,...r),t&&setTimeout(()=>qv(r[0]),0)}):a_.forEach(r=>{n[r]=()=>{}}),n}const We=EU(),SU=3,xU=5;function YE(e){return e>9999999999?e:e*1e3}function Yv(e){return e>9999999999?e/1e3:e}function fh(e,t){t.category!=="sentry.transaction"&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:rt.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:ji(t,10,1e3)}}),t.category==="console")))}const TU="button,a";function GR(e){return e.closest(TU)||e}function KR(e){const t=qR(e);return!t||!(t instanceof Element)?t:GR(t)}function qR(e){return _U(e)?e.target:e}function _U(e){return typeof e=="object"&&!!e&&"target"in e}let As;function OU(e){return As||(As=[],IU()),As.push(e),()=>{const t=As?As.indexOf(e):-1;t>-1&&As.splice(t,1)}}function IU(){Dn(Bt,"open",function(e){return function(...t){if(As)try{As.forEach(n=>n())}catch{}return e.apply(Bt,t)}})}function CU(e,t,n){e.handleClick(t,n)}class AU{constructor(t,n,r=fh){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=OU(()=>{this._lastMutation=u_()});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(RU(n,this._ignoreSelector)||!PU(t))return;const r={timestamp:Yv(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(i=>i.node===r.node&&Math.abs(i.timestamp-r.timestamp)<1)||(this._clicks.push(r),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=Yv(t)}registerScroll(t=Date.now()){this._lastScroll=Yv(t)}registerClick(t){const n=GR(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=>{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=>n.node===t)}_checkClicks(){const t=[],n=u_();this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=n&&t.push(r)});for(const r of t){const i=this._clicks.indexOf(r);i>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(i,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&&t.scrollAfter<=this._scollTimeout,i=t.mutationAfter&&t.mutationAfter<=this._threshold,o=!r&&!i,{clickCount:s,clickBreadcrumb:a}=t;if(o){const u=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,l=u<this._timeout*1e3?"mutation":"timeout",c={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:Bt.location.href,route:n.getCurrentRoute(),timeAfterClickMs:u,endReason:l,clickCount:s||1}};this._addBreadcrumbEvent(n,c);return}if(s>1){const u={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:Bt.location.href,route:n.getCurrentRoute(),clickCount:s,metric:!0}};this._addBreadcrumbEvent(n,u)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Yl(()=>this._checkClicks(),1e3)}}const kU=["A","BUTTON","INPUT"];function RU(e,t){return!!(!kU.includes(e.tagName)||e.tagName==="INPUT"&&!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&&(e.hasAttribute("download")||e.hasAttribute("target")&&e.getAttribute("target")!=="_self")||t&&e.matches(t))}function PU(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function u_(){return Date.now()/1e3}function DU(e,t){try{if(!NU(t))return;const{source:n}=t.data;if(n===it.Mutation&&e.registerMutation(t.timestamp),n===it.Scroll&&e.registerScroll(t.timestamp),MU(t)){const{type:r,id:i}=t.data,o=Gs.mirror.getNode(i);o instanceof HTMLElement&&r===rr.Click&&e.registerClick(o)}}catch{}}function NU(e){return e.type===SU}function MU(e){return e.data.source===it.MouseInteraction}function Vi(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var ug;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(ug||(ug={}));const LU=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function $U(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(LU.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&&(r="testId"),t[r]=e[n]}return t}const FU=e=>t=>{if(!e.isEnabled())return;const n=BU(t);if(!n)return;const r=t.name==="click",i=r?t.event:void 0;r&&e.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&CU(e.clickDetector,n,KR(t.event)),fh(e,n)};function YR(e,t){const n=Gs.mirror.getId(e),r=n&&Gs.mirror.getNode(n),i=r&&Gs.mirror.getMeta(r),o=i&&HU(i)?i:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map(s=>s.type===ug.Text&&s.textContent).filter(Boolean).map(s=>s.trim()).join(""),attributes:$U(o.attributes)}}:{}}}function BU(e){const{target:t,message:n}=jU(e);return Vi({category:`ui.${e.name}`,...YR(t,n)})}function jU(e){const t=e.name==="click";let n,r=null;try{r=t?KR(e.event):qR(e.event),n=qo(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}function HU(e){return e.type===ug.Element}function UU(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=zU(t);n&&fh(e,n)}function zU(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:s}=e;if(!s||VU(s)||!o)return null;const a=t||r||i,u=o.length===1;if(!a&&u)return null;const l=qo(s,{maxStringLength:200})||"<unknown>",c=YR(s,l);return Vi({category:"ui.keyDown",message:l,data:{...c.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}function VU(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const WU={resource:XU,paint:qU,navigation:YU};function op(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function GU(e){return e.map(KU).filter(Boolean)}function KU(e){const t=WU[e.entryType];return t?t(e):null}function Ql(e){return((fr||Bt.performance.timeOrigin)+e)/1e3}function qU(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=Ql(i);return{type:n,name:r,start:o,end:o+t,data:void 0}}function YU(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:u,domInteractive:l,loadEventStart:c,loadEventEnd:f,redirectCount:d,startTime:h,transferSize:p,type:m}=e;return i===0?null:{type:`${t}.${m}`,start:Ql(h),end:Ql(o),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:s,duration:i,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:u,loadEventStart:c,loadEventEnd:f,domComplete:o,redirectCount:d}}}function XU(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:s,encodedBodySize:a,responseStatus:u,transferSize:l}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Ql(o),end:Ql(i),name:r,data:{size:l,statusCode:u,decodedBodySize:s,encodedBodySize:a}}}function JU(e){const t=e.entries[e.entries.length-1],n=t&&t.element?[t.element]:void 0;return L0(e,"largest-contentful-paint",n)}function QU(e){const t=e.entries[e.entries.length-1],n=[];if(t&&t.sources)for(const r of t.sources)r.node&&n.push(r.node);return L0(e,"cumulative-layout-shift",n)}function ZU(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return L0(e,"first-input-delay",n)}function ez(e){const t=e.entries[e.entries.length-1],n=t&&t.target?[t.target]:void 0;return L0(e,"interaction-to-next-paint",n)}function L0(e,t,n){const r=e.value,i=e.rating,o=Ql(r);return{type:"web-vital",name:t,start:o,end:o,data:{value:r,size:r,rating:i,nodeIds:n?n.map(a=>Gs.mirror.getId(a)):void 0}}}function tz(e){function t(i){e.performanceEntries.includes(i)||e.performanceEntries.push(i)}function n({entries:i}){i.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(i=>{r.push(Kl(i,n))}),r.push(dR(op(JU,e)),BE(op(QU,e)),hR(op(ZU,e)),pR(op(ez,e))),()=>{r.forEach(i=>i())}}const nz='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},O=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&&j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&&new TextEncoder,K="undefined"!=typeof TextDecoder&&new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(J)return J.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new H,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new N(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=>{R.clear()},addEvent:t=>R.addEvent(t),finish:()=>R.finish(),compress:t=>Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&&"function"==typeof V[n])try{const t=V[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function rz(){const e=new Blob([nz]);return URL.createObjectURL(e)}class XE extends Error{constructor(){super(`Event buffer exceeded maximum size of ${zE}.`)}}class XR{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize>zE)throw new XE;this.events.push(t)}finish(){return new Promise(t=>{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map(n=>n.timestamp).sort()[0];return t?YE(t):null}}class iz{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=>{this._worker.addEventListener("message",({data:r})=>{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=>{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){He&&We.info("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((i,o)=>{const s=({data:a})=>{const u=a;if(u.method===t&&u.id===r){if(this._worker.removeEventListener("message",s),!u.success){He&&We.error("Error in compression worker: ",u.response),o(new Error("Error in compression worker"));return}i(u.response)}};this._worker.addEventListener("message",s),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class oz{constructor(t){this._worker=new iz(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const n=YE(t.timestamp);(!this._earliestTimestamp||n<this._earliestTimestamp)&&(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize>zE?Promise.reject(new XE):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=>{He&&We.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class sz{constructor(t){this._fallback=new XR,this._compression=new oz(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){He&&We.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n}=this._fallback,r=[];for(const i of t)r.push(this._compression.addEvent(i));this._compression.hasCheckout=n,this._used=this._compression;try{await Promise.all(r)}catch(i){He&&We.exception(i,"Failed to add events when switching buffers.")}}}function az({useCompression:e,workerUrl:t}){if(e&&window.Worker){const n=uz(t);if(n)return n}return He&&We.info("Using simple buffer"),new XR}function uz(e){try{const t=e||lz();if(!t)return;He&&We.info(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new sz(n)}catch(t){He&&We.exception(t,"Failed to create compression worker")}}function lz(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?rz():""}function JE(){try{return"sessionStorage"in Bt&&!!Bt.sessionStorage}catch{return!1}}function cz(e){fz(),e.session=void 0}function fz(){if(JE())try{Bt.sessionStorage.removeItem(HE)}catch{}}function JR(e){return e===void 0?!1:Math.random()<e}function QR(e){const t=Date.now(),n=e.id||qt(),r=e.started||t,i=e.lastActivity||t,o=e.segmentId||0,s=e.sampled,a=e.previousSessionId;return{id:n,started:r,lastActivity:i,segmentId:o,sampled:s,previousSessionId:a}}function QE(e){if(JE())try{Bt.sessionStorage.setItem(HE,JSON.stringify(e))}catch{}}function dz(e,t){return JR(e)?"session":t?"buffer":!1}function l_({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const i=dz(e,t),o=QR({sampled:i,previousSessionId:r});return n&&QE(o),o}function hz(){if(!JE())return null;try{const e=Bt.sessionStorage.getItem(HE);if(!e)return null;const t=JSON.parse(e);return He&&We.infoTick("Loading existing session"),QR(t)}catch{return null}}function u1(e,t,n=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=n}function ZR(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return u1(e.started,t,r)||u1(e.lastActivity,n,r)}function eP(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!ZR(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&&e.segmentId===0)}function Xv({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const i=r.stickySession&&hz();return i?eP(i,{sessionIdleExpire:e,maxReplayDuration:t})?(He&&We.infoTick("Session in sessionStorage is expired, creating new one..."),l_(r,{previousSessionId:i.id})):i:(He&&We.infoTick("Creating new session"),l_(r,{previousSessionId:n}))}function pz(e){return e.type===rt.Custom}function ZE(e,t,n){return nP(e,t)?(tP(e,t,n),!0):!1}function mz(e,t,n){return nP(e,t)?tP(e,t,n):Promise.resolve(null)}async function tP(e,t,n){if(!e.eventBuffer)return null;try{n&&e.recordingMode==="buffer"&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const r=e.getOptions(),i=gz(t,r.beforeAddRecordingEvent);return i?await e.eventBuffer.addEvent(i):void 0}catch(r){const i=r&&r instanceof XE?"addEventSizeExceeded":"addEvent";e.handleException(r),await e.stop({reason:i});const o=ft();o&&o.recordDroppedEvent("internal_sdk_error","replay")}}function nP(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=YE(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(He&&We.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function gz(e,t){try{if(typeof t=="function"&&pz(e))return t(e)}catch(n){return He&&We.exception(n,"An error occured in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function eS(e){return!e.type}function l1(e){return e.type==="transaction"}function vz(e){return e.type==="replay_event"}function c_(e){return e.type==="feedback"}function yz(e){return(t,n)=>{if(!e.isEnabled()||!eS(t)&&!l1(t))return;const r=n&&n.statusCode;if(!(!r||r<200||r>=300)){if(l1(t)){bz(e,t);return}wz(e,t)}}}function bz(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}function wz(e,t){const n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();typeof r=="function"&&!r(t)||Yl(()=>{e.sendBufferedReplayOrFlush()})}function Ez(e){return t=>{!e.isEnabled()||!eS(t)||Sz(e,t)}}function Sz(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0]&&t.exception.values[0].value;if(typeof n=="string"&&(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const r=Vi({category:"replay.hydrate-error",data:{url:h3()}});fh(e,r)}}function xz(e){const t=ft();t&&t.on("beforeAddBreadcrumb",n=>Tz(e,n))}function Tz(e,t){if(!e.isEnabled()||!rP(t))return;const n=_z(t);n&&fh(e,n)}function _z(e){return!rP(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?Oz(e):Vi(e)}function Oz(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||t.length===0)return Vi(e);let n=!1;const r=t.map(i=>{if(!i)return i;if(typeof i=="string")return i.length>np?(n=!0,`${i.slice(0,np)}…`):i;if(typeof i=="object")try{const o=ji(i,7);return JSON.stringify(o).length>np?(n=!0,`${JSON.stringify(o,null,2).slice(0,np)}…`):o}catch{}return i});return Vi({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function rP(e){return!!e.category}function Iz(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&&t.originalException.__rrweb__)}function Cz(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:rt.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function Az(e,t){return e.recordingMode!=="buffer"||t.message===UE||!t.exception||t.type?!1:JR(e.getOptions().errorSampleRate)}function kz(e){return Object.assign((t,n)=>e.isEnabled()?vz(t)?(delete t.breadcrumbs,t):!eS(t)&&!l1(t)&&!c_(t)||!e.checkAndHandleExpiredSession()?t:c_(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),Cz(e,t),t):Iz(t,n)&&!e.getOptions()._experiments.captureExceptions?(He&&We.log("Ignoring error from rrweb internals",t),null):((Az(e,t)||e.recordingMode==="session")&&(t.tags={...t.tags,replayId:e.getSessionId()}),t):t,{id:"Replay"})}function $0(e,t){return t.map(({type:n,start:r,end:i,name:o,data:s})=>{const a=e.throttledAddEvent({type:rt.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:o,startTimestamp:r,endTimestamp:i,data:s}}});return typeof a=="string"?Promise.resolve(null):a})}function Rz(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function Pz(e){return t=>{if(!e.isEnabled())return;const n=Rz(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>($0(e,[n]),!1)))}}function Dz(e,t){return He&&e.getOptions()._experiments.traceInternals?!1:uj(t,ft())}function iP(e,t){e.isEnabled()&&t!==null&&(Dz(e,t.name)||e.addUpdate(()=>($0(e,[t]),!0)))}function F0(e){if(!e)return;const t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=uP(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function oP(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function sP(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[uP(e)];if(!e)return[void 0]}catch(t){return He&&We.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return He&&We.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function lg(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function aP(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:s,request:a,response:u}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:yn({method:o,statusCode:s,request:a,response:u})}}function yd(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Ks(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:o}=Nz(n);return r.body=i,o&&o.length>0&&(r._meta={warnings:o}),r}function c1(e,t){return Object.entries(e).reduce((n,[r,i])=>{const o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=i),n},{})}function uP(e){return new URLSearchParams(e).toString()}function Nz(e){if(!e||typeof e!="string")return{body:e};const t=e.length>K2,n=Mz(e);if(t){const r=e.slice(0,K2);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function Mz(e){const t=e[0],n=e[e.length-1];return t==="["&&n==="]"||t==="{"&&n==="}"}function cg(e,t){const n=Lz(e);return Ws(n,t)}function Lz(e,t=Bt.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(Bt.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function $z(e,t,n){try{const r=await Bz(e,t,n),i=aP("resource.fetch",r);iP(n.replay,i)}catch(r){He&&We.exception(r,"Failed to capture fetch breadcrumb")}}function Fz(e,t){const{input:n,response:r}=t,i=n?lP(n):void 0,o=F0(i),s=r?oP(r.headers.get("content-length")):void 0;o!==void 0&&(e.data.request_body_size=o),s!==void 0&&(e.data.response_body_size=s)}async function Bz(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=t,{url:s,method:a,status_code:u=0,request_body_size:l,response_body_size:c}=e.data,f=cg(s,n.networkDetailAllowUrls)&&!cg(s,n.networkDetailDenyUrls),d=f?jz(n,t.input,l):yd(l),h=await Hz(f,n,t.response,c);return{startTimestamp:i,endTimestamp:o,url:s,method:a,statusCode:u,request:d,response:h}}function jz({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=n?Vz(n,t):{};if(!e)return Ks(i,r,void 0);const o=lP(n),[s,a]=sP(o),u=Ks(i,r,s);return a?lg(u,a):u}async function Hz(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&i!==void 0)return yd(i);const o=r?cP(r.headers,n):{};if(!r||!t&&i!==void 0)return Ks(o,i,void 0);const[s,a]=await zz(r),u=Uz(s,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:o});return a?lg(u,a):u}function Uz(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{const o=e&&e.length&&n===void 0?F0(e):n;return r?t?Ks(i,o,e):Ks(i,o,void 0):yd(o)}catch(o){return He&&We.exception(o,"Failed to serialize response body"),Ks(i,n,void 0)}}async function zz(e){const t=Wz(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await Gz(t)]}catch(n){return He&&We.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function lP(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function cP(e,t){const n={};return t.forEach(r=>{e.get(r)&&(n[r]=e.get(r))}),n}function Vz(e,t){return e.length===1&&typeof e[0]!="string"?f_(e[0],t):e.length===2?f_(e[1],t):{}}function f_(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?cP(n,t):Array.isArray(n)?{}:c1(n,t):{}}function Wz(e){try{return e.clone()}catch(t){He&&We.exception(t,"Failed to clone response body")}}function Gz(e){return new Promise((t,n)=>{const r=Yl(()=>n(new Error("Timeout while trying to read response body")),500);Kz(e).then(i=>t(i),i=>n(i)).finally(()=>clearTimeout(r))})}async function Kz(e){return await e.text()}async function qz(e,t,n){try{const r=Xz(e,t,n),i=aP("resource.xhr",r);iP(n.replay,i)}catch(r){He&&We.exception(r,"Failed to capture xhr breadcrumb")}}function Yz(e,t){const{xhr:n,input:r}=t;if(!n)return;const i=F0(r),o=n.getResponseHeader("content-length")?oP(n.getResponseHeader("content-length")):eV(n.response,n.responseType);i!==void 0&&(e.data.request_body_size=i),o!==void 0&&(e.data.response_body_size=o)}function Xz(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:s,xhr:a}=t,{url:u,method:l,status_code:c=0,request_body_size:f,response_body_size:d}=e.data;if(!u)return null;if(!a||!cg(u,n.networkDetailAllowUrls)||cg(u,n.networkDetailDenyUrls)){const E=yd(f),_=yd(d);return{startTimestamp:i,endTimestamp:o,url:u,method:l,statusCode:c,request:E,response:_}}const h=a[Ba],p=h?c1(h.request_headers,n.networkRequestHeaders):{},m=c1(Jz(a),n.networkResponseHeaders),[g,v]=n.networkCaptureBodies?sP(s):[void 0],[y,b]=n.networkCaptureBodies?Qz(a):[void 0],w=Ks(p,f,g),S=Ks(m,d,y);return{startTimestamp:i,endTimestamp:o,url:u,method:l,statusCode:c,request:v?lg(w,v):w,response:b?lg(S,b):S}}function Jz(e){const t=e.getAllResponseHeaders();return t?t.split(`\r
`).reduce((n,r)=>{const[i,o]=r.split(": ");return o&&(n[i.toLowerCase()]=o),n},{}):{}}function Qz(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return Zz(e.response,e.responseType)}catch(n){t.push(n)}return He&&We.warn("Failed to get xhr response body",...t),[void 0]}function Zz(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&&e&&typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return He&&We.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return He&&We.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function eV(e,t){try{const n=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return F0(n)}catch{return}}function tV(e){const t=ft();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:s}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:s};t&&t.on("beforeAddBreadcrumb",(u,l)=>nV(a,u,l))}catch{}}function nV(e,t,n){if(t.data)try{rV(t)&&oV(n)&&(Yz(t,n),qz(t,n,e)),iV(t)&&sV(n)&&(Fz(t,n),$z(t,n,e))}catch(r){He&&We.exception(r,"Error when enriching network breadcrumb")}}function rV(e){return e.category==="xhr"}function iV(e){return e.category==="fetch"}function oV(e){return e&&e.xhr}function sV(e){return e&&e.response}function aV(e){const t=ft();yR(FU(e)),D0(Pz(e)),xz(e),tV(e);const n=kz(e);G9(n),t&&(t.on("beforeSendEvent",Ez(e)),t.on("afterSendEvent",yz(e)),t.on("createDsc",r=>{const i=e.getSessionId();i&&e.isEnabled()&&e.recordingMode==="session"&&e.checkAndHandleExpiredSession()&&(r.replay_id=i)}),t.on("spanStart",r=>{e.lastActiveSpan=r}),t.on("spanEnd",r=>{e.lastActiveSpan=r}),t.on("beforeSendFeedback",(r,i)=>{const o=e.getSessionId();i&&i.includeReplay&&e.isEnabled()&&o&&r.contexts&&r.contexts.feedback&&(r.contexts.feedback.replay_id=o)}))}async function uV(e){try{return Promise.all($0(e,[lV(Bt.performance.memory)]))}catch{return[]}}function lV(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function cV(e,t,n){let r,i,o;const s=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return u(),r=e(),r}function u(){i!==void 0&&clearTimeout(i),o!==void 0&&clearTimeout(o),i=o=void 0}function l(){return i!==void 0||o!==void 0?a():r}function c(){return i&&clearTimeout(i),i=Yl(a,t),s&&o===void 0&&(o=Yl(a,s)),r}return c.cancel=u,c.flush=l,c}function fV(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession()){He&&We.warn("Received replay event after session expired.");return}const i=r||!t;t=!0,e.clickDetector&&DU(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&i&&e.setInitialState(),!ZE(e,n,i))return!0;if(!i)return!1;if(hV(e,i),e.session&&e.session.previousSessionId)return!0;if(e.recordingMode==="buffer"&&e.session&&e.eventBuffer){const o=e.eventBuffer.getEarliestTimestamp();o&&(He&&We.info(`Updating session start time to earliest event in buffer to ${new Date(o)}`),e.session.started=o,e.getOptions().stickySession&&QE(e.session))}return e.recordingMode==="session"&&e.flush(),!0})}}function dV(e){const t=e.getOptions();return{type:rt.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:e.eventBuffer?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function hV(e,t){!t||!e.session||e.session.segmentId!==0||ZE(e,dV(e),!1)}function pV(e,t,n,r){return Iu(R3(e,CE(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function mV({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}
`;if(typeof e=="string")n=`${r}${e}`;else{const o=new TextEncoder().encode(r);n=new Uint8Array(o.length+e.length),n.set(o),n.set(e,o.length)}return n}async function gV({client:e,scope:t,replayId:n,event:r}){const i=typeof e._integrations=="object"&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,o={event_id:n,integrations:i};e.emit("preprocessEvent",r,o);const s=await Y3(e.getOptions(),r,o,t,e,ui());if(!s)return null;s.platform=s.platform||"javascript";const a=e.getSdkMetadata(),{name:u,version:l}=a&&a.sdk||{};return s.sdk={...s.sdk,name:u||"sentry.javascript.unknown",version:l||"0.0.0"},s}async function vV({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o}){const s=mV({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:u,traceIds:l,initialTimestamp:c}=r,f=ft(),d=Mt(),h=f&&f.getTransport(),p=f&&f.getDsn();if(!f||!h||!p||!o.sampled)return Xo({});const m={type:t4,replay_start_timestamp:c/1e3,timestamp:i/1e3,error_ids:u,trace_ids:l,urls:a,replay_id:t,segment_id:n,replay_type:o.sampled},g=await gV({scope:d,client:f,replayId:t,event:m});if(!g)return f.recordDroppedEvent("event_processor","replay",m),He&&We.info("An event processor returned `null`, will not send event."),Xo({});delete g.sdkProcessingMetadata;const v=pV(g,s,p,f.getOptions().tunnel);let y;try{y=await h.send(v)}catch(w){const S=new Error(UE);try{S.cause=w}catch{}throw S}if(typeof y.statusCode=="number"&&(y.statusCode<200||y.statusCode>=300))throw new fP(y.statusCode);const b=D3({},y);if(P3(b,"replay"))throw new dP(b);return y}class fP extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class dP extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function hP(e,t={count:0,interval:a4}){const{recordingData:n,options:r}=e;if(n.length)try{return await vV(e),!0}catch(i){if(i instanceof fP||i instanceof dP)throw i;if(W9("Replays",{_retryCount:t.count}),He&&r._experiments&&r._experiments.captureExceptions&&oh(i),t.count>=u4){const o=new Error(`${UE} - max retries exceeded`);try{o.cause=i}catch{}throw o}return t.interval*=++t.count,new Promise((o,s)=>{Yl(async()=>{try{await hP(e,t),o(!0)}catch(a){s(a)}},t.interval)})}}const pP="__THROTTLED",yV="__SKIPPED";function bV(e,t,n){const r=new Map,i=a=>{const u=a-n;r.forEach((l,c)=>{c<u&&r.delete(c)})},o=()=>[...r.values()].reduce((a,u)=>a+u,0);let s=!1;return(...a)=>{const u=Math.floor(Date.now()/1e3);if(i(u),o()>=t){const c=s;return s=!0,c?yV:pP}s=!1;const l=r.get(u)||0;return r.set(u,l+1),e(...a)}}class ks{constructor({options:t,recordingOptions:n}){ks.prototype.__init.call(this),ks.prototype.__init2.call(this),ks.prototype.__init3.call(this),ks.prototype.__init4.call(this),ks.prototype.__init5.call(this),ks.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:n4,sessionIdleExpire:r4},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=t,this._debouncedFlush=cV(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=bV((s,a)=>mz(this,s,a),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:i}=this.getOptions(),o=r?{threshold:Math.min(l4,r),timeout:r,scrollTimeout:c4,ignoreSelector:i?i.join(","):""}:void 0;if(o&&(this.clickDetector=new AU(this,o)),He){const s=t._experiments;We.setConfig({captureExceptions:!!s.captureExceptions,traceInternals:!!s.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){He&&We.exception(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,i=n<=0&&r<=0;if(this._requiresManualStart=i,!i){if(this._initializeSessionForSampling(t),!this.session){He&&We.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled==="buffer"&&this.session.segmentId===0?"buffer":"session",He&&We.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode==="session"){He&&We.info("Recording is already in progress");return}if(this._isEnabled&&this.recordingMode==="buffer"){He&&We.info("Buffering is in progress, call `flush()` to save the replay");return}He&&We.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=Xv({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled){He&&We.info("Buffering is in progress, call `flush()` to save the replay");return}He&&We.infoTick("Starting replay in buffer mode");const t=Xv({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=Gs({...this._recordingOptions,...this.recordingMode==="buffer"&&{checkoutEveryNms:s4},emit:fV(this),onMutation:this._onMutationHandler,...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1;try{He&&We.info(`Stopping Replay${n?` triggered by ${n}`:""}`),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,cz(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),He&&We.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),He&&We.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();He&&We.info("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&&(this.recordingMode="session",this.session&&(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode!=="buffer"&&n!==!0&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&u1(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${Bt.location.pathname}${Bt.location.hash}${Bt.location.search}`,n=`${Bt.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===pP){const i=Vi({category:"replay.throttled"});this.addUpdate(()=>!ZE(this,{type:xU,timestamp:i.timestamp||0,data:{tag:"breadcrumb",payload:i,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||En(),n=t&&Nn(t),i=(n&&pt(n).data||{})[Yr];if(!(!n||!i||!["route","custom"].includes(i)))return pt(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=az({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const n=this._options.errorSampleRate>0,r=Xv({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return eP(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{Bt.document.addEventListener("visibilitychange",this._handleVisibilityChange),Bt.addEventListener("blur",this._handleWindowBlur),Bt.addEventListener("focus",this._handleWindowFocus),Bt.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(aV(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=tz(this)}_removeListeners(){try{Bt.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Bt.removeEventListener("blur",this._handleWindowBlur),Bt.removeEventListener("focus",this._handleWindowFocus),Bt.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(t){this.handleException(t)}}__init(){this._handleVisibilityChange=()=>{Bt.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const t=Vi({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=Vi({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{UU(this,t)}}_doChangeToBackgroundTasks(t){!this.session||ZR(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){He&&We.info("Document has become active, but session has expired");return}t&&this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=>{this.throttledAddEvent({type:rt.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){const t=GU(this.performanceEntries).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all($0(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){He&&We.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&&(await uV(this),!!this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const n=Date.now();if(n-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const r=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const o=await this.eventBuffer.finish();await hP({replayId:t,recordingData:o,segmentId:i,eventContext:r,session:this.session,options:this.getOptions(),timestamp:n})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});const r=ft();r&&r.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession()){He&&We.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,i=Date.now()-n;this._debouncedFlush.cancel();const o=i<this._options.minReplayDuration,s=i>this._options.maxReplayDuration+5e3;if(o||s){He&&We.info(`Session duration (${Math.floor(i/1e3)}s) is too ${o?"short":"long"}, not sending replay.`),o&&this._debouncedFlush();return}const a=this.eventBuffer;if(a&&this.session.segmentId===0&&!a.hasCheckout&&He&&We.info("Flushing initial segment without checkout."),!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(u){He&&We.error(u)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&QE(this.session)}__init6(){this._onMutationHandler=t=>{const n=t.length,r=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,o=r&&n>r;if(n>i||o){const s=Vi({category:"replay.mutations",data:{count:n,limit:o}});this._createCustomBreadcrumb(s)}return o?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function Wc(e,t){return[...e,...t].join(",")}function wV({mask:e,unmask:t,block:n,unblock:r,ignore:i}){const o=['base[href="/"]'],s=Wc(e,[".sentry-mask","[data-sentry-mask]"]),a=Wc(t,[]);return{maskTextSelector:s,unmaskTextSelector:a,blockSelector:Wc(n,[".sentry-block","[data-sentry-block]",...o]),unblockSelector:Wc(r,[]),ignoreSelector:Wc(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function EV({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:n.includes(t)||t==="value"&&e.tagName==="INPUT"&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o}const d_='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',SV=["content-length","content-type","accept"];let h_=!1;const tfe=e=>new B0(e);class B0{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=i4,flushMaxDelay:n=o4,minReplayDuration:r=f4,maxReplayDuration:i=q2,stickySession:o=!0,useCompression:s=!0,workerUrl:a,_experiments:u={},maskAllText:l=!0,maskAllInputs:c=!0,blockAllMedia:f=!0,mutationBreadcrumbLimit:d=750,mutationLimit:h=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:g=[],networkDetailDenyUrls:v=[],networkCaptureBodies:y=!0,networkRequestHeaders:b=[],networkResponseHeaders:w=[],mask:S=[],maskAttributes:E=["title","placeholder"],unmask:_=[],block:C=[],unblock:O=[],ignore:T=[],maskFn:x,beforeAddRecordingEvent:I,beforeErrorSampling:A}={}){this.name=B0.id;const D=wV({mask:S,unmask:_,block:C,unblock:O,ignore:T});if(this._recordingOptions={maskAllInputs:c,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:x,maskInputFn:x,maskAttributeFn:(R,k,P)=>EV({maskAttributes:E,maskAllText:l,privacyOptions:D,key:R,value:k,el:P}),...D,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:R=>{try{R.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,d4),maxReplayDuration:Math.min(i,q2),stickySession:o,useCompression:s,workerUrl:a,blockAllMedia:f,maskAllInputs:c,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:h,slowClickTimeout:p,slowClickIgnoreSelectors:m,networkDetailAllowUrls:g,networkDetailDenyUrls:v,networkCaptureBodies:y,networkRequestHeaders:p_(b),networkResponseHeaders:p_(w),beforeAddRecordingEvent:I,beforeErrorSampling:A,_experiments:u},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${d_}`:d_),this._isInitialized&&c2())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return h_}set _isInitialized(t){h_=t}afterAllSetup(t){!c2()||this._replay||(this._setup(t),this._initialize(t))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}_initialize(t){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=xV(this._initialOptions,t);this._replay=new ks({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}B0.__initStatic();function xV(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...yn(e)},i=Qm(n.replaysSessionSampleRate),o=Qm(n.replaysOnErrorSampleRate);return i==null&&o==null&&ss(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),i!=null&&(r.sessionSampleRate=i),o!=null&&(r.errorSampleRate=o),r}function p_(e){return[...SV,...e.map(t=>t.toLowerCase())]}const m_=new WeakMap,Jv=new Map,f1={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function TV(e,t){const{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:s}={traceFetch:f1.traceFetch,traceXHR:f1.traceXHR,...t},a=typeof i=="function"?i:c=>!0,u=c=>CV(c,s),l={};n&&(e.addEventProcessor(c=>(c.type==="transaction"&&c.spans&&c.spans.forEach(f=>{if(f.op==="http.client"){const d=Jv.get(f.span_id);d&&(f.timestamp=d/1e3,Jv.delete(f.span_id))}}),c)),oB(c=>{if(c.response){const f=m_.get(c.response);f&&c.endTimestamp&&Jv.set(f,c.endTimestamp)}}),S3(c=>{const f=Lj(c,a,u,l);if(c.response&&c.fetchData.__span&&m_.set(c.response,c.fetchData.__span),f){const d=mP(c.fetchData.url),h=d?Ja(d).host:void 0;f.setAttributes({"http.url":d,"server.address":h})}o&&f&&g_(f)})),r&&wR(c=>{const f=AV(c,a,u,l);o&&f&&g_(f)})}function _V(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function g_(e){const{url:t}=pt(e).data||{};if(!t||typeof t!="string")return;const n=Kl("resource",({entries:r})=>{r.forEach(i=>{_V(i)&&i.name.endsWith(t)&&(IV(i).forEach(s=>e.setAttribute(...s)),setTimeout(n))})})}function OV(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}return r===e&&(t=r),{name:t,version:n}}function Pi(e=0){return((fr||performance.timeOrigin)+e)/1e3}function IV(e){const{name:t,version:n}=OV(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),fr?[...r,["http.request.redirect_start",Pi(e.redirectStart)],["http.request.fetch_start",Pi(e.fetchStart)],["http.request.domain_lookup_start",Pi(e.domainLookupStart)],["http.request.domain_lookup_end",Pi(e.domainLookupEnd)],["http.request.connect_start",Pi(e.connectStart)],["http.request.secure_connection_start",Pi(e.secureConnectionStart)],["http.request.connection_end",Pi(e.connectEnd)],["http.request.request_start",Pi(e.requestStart)],["http.request.response_start",Pi(e.responseStart)],["http.request.response_end",Pi(e.responseEnd)]]:r}function CV(e,t){const n=Xe.location&&Xe.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}const o=r.origin===i;return t?Ws(r.toString(),t)||o&&Ws(r.pathname,t):o}else{const r=!!e.match(/^\/(?!\/)/);return t?Ws(e,t):r}}function AV(e,t,n,r){const i=e.xhr,o=i&&i[Ba];if(!i||i.__sentry_own_request__||!o)return;const s=Jo()&&t(o.url);if(e.endTimestamp&&s){const d=i.__sentry_xhr_span_id__;if(!d)return;const h=r[d];h&&o.status_code!==void 0&&(L3(h,o.status_code),h.end(),delete r[d]);return}const a=mP(o.url),u=a?Ja(a).host:void 0,l=!!En(),c=s&&l?io({name:`${o.method} ${o.url}`,attributes:{type:"xhr","http.method":o.method,"http.url":a,url:o.url,"server.address":u,[Jt]:"auto.http.browser",[hu]:"http.client"}}):new xc;i.__sentry_xhr_span_id__=c.spanContext().spanId,r[i.__sentry_xhr_span_id__]=c;const f=ft();return i.setRequestHeader&&n(o.url)&&f&&kV(i,f,Jo()&&l?c:void 0),c}function kV(e,t,n){const r=Mt(),i=ui(),{traceId:o,spanId:s,sampled:a,dsc:u}={...i.getPropagationContext(),...r.getPropagationContext()},l=n&&Jo()?B3(n):IE(o,s,a),c=k3(u||(n?Au(n):k0(o,t)));RV(e,l,c)}function RV(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(jb,n)}catch{}}function mP(e){try{return new URL(e,Xe.location.origin).href}catch{return}}function PV(){Xe&&Xe.document?Xe.document.addEventListener("visibilitychange",()=>{const e=En();if(!e)return;const t=Nn(e);if(Xe.document.hidden&&t){const n="cancelled",{op:r,status:i}=pt(t);Oi&&me.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`),i||t.setStatus({code:On,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Oi&&me.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const DV="BrowserTracing",NV={...em,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...f1},v_=(e={})=>{u9();const{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:i,enableStandaloneClsSpans:o},beforeStartSpan:s,idleTimeout:a,finalTimeout:u,childSpanTimeout:l,markBackgroundSpan:c,traceFetch:f,traceXHR:d,shouldCreateSpanForRequest:h,enableHTTPTimings:p,instrumentPageLoad:m,instrumentNavigation:g}={...NV,...e},v=D7({recordClsStandaloneSpans:o||!1});t&&rH(),r&&ct.PerformanceObserver&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?M7():n&&N7(),i&&L7();const y={name:void 0,source:void 0};function b(w,S){const E=S.op==="pageload",_=s?s(S):S,C=_.attributes||{};S.name!==_.name&&(C[Yr]="custom",_.attributes=C),y.name=_.name,y.source=C[Yr];const O=q3(_,{idleTimeout:a,finalTimeout:u,childSpanTimeout:l,disableAutoFinish:E,beforeSpanEnd:x=>{v(),H7(x,{recordClsOnPageloadSpan:!o})}});function T(){["interactive","complete"].includes(Xe.document.readyState)&&w.emit("idleSpanEnableAutoFinish",O)}return E&&Xe.document&&(Xe.document.addEventListener("readystatechange",()=>{T()}),T()),O}return{name:DV,afterAllSetup(w){let S,E=Xe.location&&Xe.location.href;w.on("startNavigationSpan",_=>{ft()===w&&(S&&!pt(S).timestamp&&(Oi&&me.log(`[Tracing] Finishing current root span with op: ${pt(S).op}`),S.end()),S=b(w,{op:"navigation",..._}))}),w.on("startPageLoadSpan",(_,C={})=>{if(ft()!==w)return;S&&!pt(S).timestamp&&(Oi&&me.log(`[Tracing] Finishing current root span with op: ${pt(S).op}`),S.end());const O=C.sentryTrace||y_("sentry-trace"),T=C.baggage||y_("baggage"),x=AB(O,T);Mt().setPropagationContext(x),S=b(w,{op:"pageload",..._})}),w.on("spanEnd",_=>{const C=pt(_).op;if(_!==Nn(_)||C!=="navigation"&&C!=="pageload")return;const O=Mt(),T=O.getPropagationContext();O.setPropagationContext({...T,sampled:T.sampled!==void 0?T.sampled:Cu(_),dsc:T.dsc||Au(_)})}),Xe.location&&(m&&MV(w,{name:Xe.location.pathname,startTime:fr?fr/1e3:void 0,attributes:{[Yr]:"url",[Jt]:"auto.pageload.browser"}}),g&&D0(({to:_,from:C})=>{if(C===void 0&&E&&E.indexOf(_)!==-1){E=void 0;return}C!==_&&(E=void 0,gP(w,{name:Xe.location.pathname,attributes:{[Yr]:"url",[Jt]:"auto.navigation.browser"}}))})),c&&PV(),i&&LV(a,u,l,y),t&&oH(),TV(w,{traceFetch:f,traceXHR:d,tracePropagationTargets:w.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:h,enableHTTPTimings:p})}}};function MV(e,t,n){e.emit("startPageLoadSpan",t,n),Mt().setTransactionName(t.name);const r=En();return(r&&pt(r).op)==="pageload"?r:void 0}function gP(e,t){ui().setPropagationContext(Xm()),Mt().setPropagationContext(Xm()),e.emit("startNavigationSpan",t),Mt().setTransactionName(t.name);const n=En();return(n&&pt(n).op)==="navigation"?n:void 0}function y_(e){const t=UF(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function LV(e,t,n,r){let i;const o=()=>{const s="ui.action.click",a=En(),u=a&&Nn(a);if(u){const l=pt(u).op;if(["navigation","pageload"].includes(l)){Oi&&me.warn(`[Tracing] Did not create ${s} span because a pageload or navigation span is in progress.`);return}}if(i&&(i.setAttribute(Vb,"interactionInterrupted"),i.end(),i=void 0),!r.name){Oi&&me.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`);return}i=q3({name:r.name,op:s,attributes:{[Yr]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n})};Xe.document&&addEventListener("click",o,{once:!1,capture:!0})}const vP=["activate","mount","update"],yP=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,$V=/(?:^|[-_])(\w)/g,FV=e=>e.replace($V,t=>t.toUpperCase()).replace(/[-_]/g,""),BV="<Root>",Qv="<Anonymous>",jV=(e,t)=>e.repeat(t),Rf=(e,t)=>{if(!e)return Qv;if(e.$root===e)return BV;if(!e.$options)return Qv;const n=e.$options;let r=n.name||n._componentTag;const i=n.__file;if(!r&&i){const o=i.match(/([^/\\]+)\.vue$/);o&&(r=o[1])}return(r?`<${FV(r)}>`:Qv)+(i&&t!==!1?` at ${i}`:"")},HV=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`

found in

${t.map((i,o)=>`${(o===0?"---> ":jV(" ",5+o*2))+(Array.isArray(i)?`${Rf(i[0])}... (${i[1]} recursive calls)`:Rf(i))}`).join(`
`)}`}return`

(found in ${Rf(e)})`},UV=(e,t)=>{const{errorHandler:n,warnHandler:r,silent:i}=e.config;e.config.errorHandler=(o,s,a)=>{const u=Rf(s,!1),l=s?HV(s):"",c={componentName:u,lifecycleHook:a,trace:l};if(t.attachProps&&s&&(s.$options&&s.$options.propsData?c.propsData=s.$options.propsData:s.$props&&(c.propsData=s.$props)),setTimeout(()=>{oh(o,{captureContext:{contexts:{vue:c}},mechanism:{handled:!1}})}),typeof n=="function"&&n.call(e,o,s,a),t.logErrors){const f=typeof console<"u",d=`Error in ${a}: "${o&&o.toString()}"`;r?r.call(null,d,s,l):f&&!i&&ss(()=>{console.error(`[Vue warn]: ${d}${l}`)})}}},b_="ui.vue",zV={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function VV(e,t,n){e.$_sentryRootSpanTimer&&clearTimeout(e.$_sentryRootSpanTimer),e.$_sentryRootSpanTimer=setTimeout(()=>{e.$root&&e.$root.$_sentryRootSpan&&(e.$root.$_sentryRootSpan.end(t),e.$root.$_sentryRootSpan=void 0)},n)}const WV=e=>{const t=(e.hooks||[]).concat(vP).filter((r,i,o)=>o.indexOf(r)===i),n={};for(const r of t){const i=zV[r];if(!i){yP&&me.warn(`Unknown hook: ${r}`);continue}for(const o of i)n[o]=function(){const s=this.$root===this;s&&En()&&(this.$_sentryRootSpan=this.$_sentryRootSpan||io({name:"Application Render",op:`${b_}.render`,attributes:{[Jt]:"auto.ui.vue"}}));const a=Rf(this,!1),u=Array.isArray(e.trackComponents)?e.trackComponents.indexOf(a)>-1:e.trackComponents;if(!(!s&&!u))if(this.$_sentrySpans=this.$_sentrySpans||{},o==i[0]){if(this.$root&&this.$root.$_sentryRootSpan||En()){const c=this.$_sentrySpans[r];c&&c.end(),this.$_sentrySpans[r]=io({name:`Vue <${a}>`,op:`${b_}.${r}`,attributes:{[Jt]:"auto.ui.vue"}})}}else{const l=this.$_sentrySpans[r];if(!l)return;l.end(),VV(this,Yn(),e.timeout)}}}return n},GV=ct,KV={Vue:GV.Vue,attachProps:!0,logErrors:!0,hooks:vP,timeout:2e3,trackComponents:!1},qV="Vue",YV=(e={})=>({name:qV,setup(t){JV(t,e)}}),XV=YV;function JV(e,t){const n={...KV,...e.getOptions(),...t};if(!n.Vue&&!n.app){ss(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\nUpdate your `Sentry.init` call with an appropriate config option:\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?OE(n.app).forEach(i=>w_(i,n)):n.Vue&&w_(n.Vue,n)}const w_=(e,t)=>{if(yP){const n=e;(n._instance&&n._instance.isMounted)===!0&&ss(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")})}UV(e,t),Jo(t)&&e.mixin(WV({...t,...t.tracingOptions}))};function nfe(e={}){const t={_metadata:{sdk:{name:"sentry.javascript.vue",packages:[{name:"npm:@sentry/vue",version:jo}],version:jo}},defaultIntegrations:[...xR(),XV()],...e};return ZH(t)}function QV(e,t,n){let r=!0;e.onError(i=>oh(i,{mechanism:{handled:!1}})),e.beforeEach((i,o,s)=>{const a=o.name==null&&o.matched.length===0||o.name===void 0&&r;r&&(r=!1);const u={[Jt]:"auto.navigation.vue"};for(const f of Object.keys(i.params))u[`params.${f}`]=i.params[f];for(const f of Object.keys(i.query)){const d=i.query[f];d&&(u[`query.${f}`]=d)}let l=i.path,c="url";if(i.name&&t.routeLabel!=="path")l=i.name.toString(),c="custom";else if(i.matched.length>0){const f=i.matched.length-1;l=i.matched[f].path,c="route"}if(Mt().setTransactionName(l),t.instrumentPageLoad&&a){const f=ZV();f&&((pt(f).data||{})[Yr]!=="custom"&&(f.updateName(l),f.setAttribute(Yr,c)),f.setAttributes({...u,[Jt]:"auto.pageload.vue"}))}t.instrumentNavigation&&!a&&(u[Yr]=c,u[Jt]="auto.navigation.vue",n({name:l,op:"navigation",attributes:u})),s&&s()})}function ZV(){const e=En(),t=e&&Nn(e);if(!t)return;const n=pt(t).op;return n==="navigation"||n==="pageload"?t:void 0}function rfe(e={}){if(!e.router)return v_(e);const t=v_({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:r=!0,instrumentPageLoad:i=!0,routeLabel:o="name"}=e;return{...t,afterAllSetup(s){t.afterAllSetup(s),QV(n,{routeLabel:o,instrumentNavigation:r,instrumentPageLoad:i},u=>{gP(s,u)})}}}function eW(){return bP().__VUE_DEVTOOLS_GLOBAL_HOOK__}function bP(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const tW=typeof Proxy=="function",nW="devtools-plugin:setup",rW="plugin:settings:set";let zu,d1;function iW(){var e;return zu!==void 0||(typeof window<"u"&&window.performance?(zu=!0,d1=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(zu=!0,d1=global.perf_hooks.performance):zu=!1),zu}function oW(){return iW()?d1.now():Date.now()}class sW{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const a=t.settings[s];r[s]=a.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const s=localStorage.getItem(i),a=JSON.parse(s);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(s){try{localStorage.setItem(i,JSON.stringify(s))}catch{}o=s},now(){return oW()}},n&&n.on(rW,(s,a)=>{s===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(s,a)=>this.target?this.target.on[a]:(...u)=>{this.onQueue.push({method:a,args:u})}}),this.proxiedTarget=new Proxy({},{get:(s,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...u)=>(this.targetQueue.push({method:a,args:u,resolve:()=>{}}),this.fallbacks[a](...u)):(...u)=>new Promise(l=>{this.targetQueue.push({method:a,args:u,resolve:l})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function aW(e,t){const n=e,r=bP(),i=eW(),o=tW&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))i.emit(nW,e,t);else{const s=o?new sW(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
  * vue-router v4.2.2
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */const sl=typeof window<"u";function uW(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Tt=Object.assign;function Zv(e,t){const n={};for(const r in t){const i=t[r];n[r]=Ii(i)?i.map(e):e(i)}return n}const Pf=()=>{},Ii=Array.isArray,lW=/\/$/,cW=e=>e.replace(lW,"");function ey(e,t,n="/"){let r,i={},o="",s="";const a=t.indexOf("#");let u=t.indexOf("?");return a<u&&a>=0&&(u=-1),u>-1&&(r=t.slice(0,u),o=t.slice(u+1,a>-1?a:t.length),i=e(o)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=pW(r??t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function fW(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function E_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function dW(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Zl(t.matched[r],n.matched[i])&&wP(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Zl(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wP(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hW(e[n],t[n]))return!1;return!0}function hW(e,t){return Ii(e)?S_(e,t):Ii(t)?S_(t,e):e===t}function S_(e,t){return Ii(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function pW(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 o=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var bd;(function(e){e.pop="pop",e.push="push"})(bd||(bd={}));var Df;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Df||(Df={}));function mW(e){if(!e)if(sl){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),cW(e)}const gW=/^[^#]+#/;function vW(e,t){return e.replace(gW,"#")+t}function yW(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 j0=()=>({left:window.pageXOffset,top:window.pageYOffset});function bW(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=yW(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function x_(e,t){return(history.state?history.state.position-t:-1)+e}const h1=new Map;function wW(e,t){h1.set(e,t)}function EW(e){const t=h1.get(e);return h1.delete(e),t}let SW=()=>location.protocol+"//"+location.host;function EP(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,u=i.slice(a);return u[0]!=="/"&&(u="/"+u),E_(u,"")}return E_(n,e)+r+i}function xW(e,t,n,r){let i=[],o=[],s=null;const a=({state:d})=>{const h=EP(e,location),p=n.value,m=t.value;let g=0;if(d){if(n.value=h,t.value=d,s&&s===p){s=null;return}g=m?d.position-m.position:0}else r(h);i.forEach(v=>{v(n.value,p,{delta:g,type:bd.pop,direction:g?g>0?Df.forward:Df.back:Df.unknown})})};function u(){s=n.value}function l(d){i.push(d);const h=()=>{const p=i.indexOf(d);p>-1&&i.splice(p,1)};return o.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(Tt({},d.state,{scroll:j0()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:u,listen:l,destroy:f}}function T_(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?j0():null}}function TW(e){const{history:t,location:n}=window,r={value:EP(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,l,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+u:SW()+e+u;try{t[c?"replaceState":"pushState"](l,"",d),i.value=l}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function s(u,l){const c=Tt({},t.state,T_(i.value.back,u,i.value.forward,!0),l,{position:i.value.position});o(u,c,!0),r.value=u}function a(u,l){const c=Tt({},i.value,t.state,{forward:u,scroll:j0()});o(c.current,c,!0);const f=Tt({},T_(r.value,u,null),{position:c.position+1},l);o(u,f,!1),r.value=u}return{location:r,state:i,push:a,replace:s}}function _W(e){e=mW(e);const t=TW(e),n=xW(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=Tt({location:"",base:e,go:r,createHref:vW.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 ife(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),_W(e)}function OW(e){return typeof e=="string"||e&&typeof e=="object"}function SP(e){return typeof e=="string"||typeof e=="symbol"}const ps={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xP=Symbol("");var __;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(__||(__={}));function ec(e,t){return Tt(new Error,{type:e,[xP]:!0},t)}function vo(e,t){return e instanceof Error&&xP in e&&(t==null||!!(e.type&t))}const O_="[^/]+?",IW={sensitive:!1,strict:!1,start:!0,end:!0},CW=/[.+*?^${}()[\]/\\]/g;function AW(e,t){const n=Tt({},IW,t),r=[];let i=n.start?"^":"";const o=[];for(const l of e){const c=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let f=0;f<l.length;f++){const d=l[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(CW,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:m,optional:g,regexp:v}=d;o.push({name:p,repeatable:m,optional:g});const y=v||O_;if(y!==O_){h+=10;try{new RegExp(`(${y})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+w.message)}}let b=m?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(b=g&&l.length<2?`(?:/${b})`:"/"+b),g&&(b+="?"),i+=b,h+=20,g&&(h+=-8),m&&(h+=-20),y===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");function a(l){const c=l.match(s),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",p=o[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function u(l){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const h of d)if(h.type===0)c+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:g}=h,v=p in l?l[p]:"";if(Ii(v)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Ii(v)?v.join("/"):v;if(!y)if(g)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);c+=y}}return c||"/"}return{re:s,score:r,keys:o,parse:a,stringify:u}}function kW(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function RW(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=kW(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(I_(r))return 1;if(I_(i))return-1}return i.length-r.length}function I_(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const PW={type:0,value:""},DW=/[a-zA-Z0-9_]/;function NW(e){if(!e)return[[]];if(e==="/")return[[PW]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a=0,u,l="",c="";function f(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=u}for(;a<e.length;){if(u=e[a++],u==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:u==="/"?(l&&f(),s()):u===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:u==="("?n=2:DW.test(u)?d():(f(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case 2:u===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+u:n=3:c+=u;break;case 3:f(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),f(),s(),i}function MW(e,t,n){const r=AW(NW(e.path),n),i=Tt(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function LW(e,t){const n=[],r=new Map;t=k_({strict:!1,end:!0,sensitive:!1},t);function i(c){return r.get(c)}function o(c,f,d){const h=!d,p=$W(c);p.aliasOf=d&&d.record;const m=k_(t,c),g=[p];if("alias"in c){const b=typeof c.alias=="string"?[c.alias]:c.alias;for(const w of b)g.push(Tt({},p,{components:d?d.record.components:p.components,path:w,aliasOf:d?d.record:p}))}let v,y;for(const b of g){const{path:w}=b;if(f&&w[0]!=="/"){const S=f.record.path,E=S[S.length-1]==="/"?"":"/";b.path=f.record.path+(w&&E+w)}if(v=MW(b,f,m),d?d.alias.push(v):(y=y||v,y!==v&&y.alias.push(v),h&&c.name&&!A_(v)&&s(c.name)),p.children){const S=p.children;for(let E=0;E<S.length;E++)o(S[E],v,d&&d.children[E])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&u(v)}return y?()=>{s(y)}:Pf}function s(c){if(SP(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(s),c.alias.forEach(s))}}function a(){return n}function u(c){let f=0;for(;f<n.length&&RW(c,n[f])>=0&&(c.record.path!==n[f].record.path||!TP(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!A_(c)&&r.set(c.record.name,c)}function l(c,f){let d,h={},p,m;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw ec(1,{location:c});m=d.record.name,h=Tt(C_(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),c.params&&C_(c.params,d.keys.map(y=>y.name))),p=d.stringify(h)}else if("path"in c)p=c.path,d=n.find(y=>y.re.test(p)),d&&(h=d.parse(p),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw ec(1,{location:c,currentLocation:f});m=d.record.name,h=Tt({},f.params,c.params),p=d.stringify(h)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:m,path:p,params:h,matched:g,meta:BW(g)}}return e.forEach(c=>o(c)),{addRoute:o,resolve:l,removeRoute:s,getRoutes:a,getRecordMatcher:i}}function C_(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function $W(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:FW(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function FW(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=="boolean"?n:n[r];return t}function A_(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function BW(e){return e.reduce((t,n)=>Tt(t,n.meta),{})}function k_(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function TP(e,t){return t.children.some(n=>n===e||TP(e,n))}const _P=/#/g,jW=/&/g,HW=/\//g,UW=/=/g,zW=/\?/g,OP=/\+/g,VW=/%5B/g,WW=/%5D/g,IP=/%5E/g,GW=/%60/g,CP=/%7B/g,KW=/%7C/g,AP=/%7D/g,qW=/%20/g;function tS(e){return encodeURI(""+e).replace(KW,"|").replace(VW,"[").replace(WW,"]")}function YW(e){return tS(e).replace(CP,"{").replace(AP,"}").replace(IP,"^")}function p1(e){return tS(e).replace(OP,"%2B").replace(qW,"+").replace(_P,"%23").replace(jW,"%26").replace(GW,"`").replace(CP,"{").replace(AP,"}").replace(IP,"^")}function XW(e){return p1(e).replace(UW,"%3D")}function JW(e){return tS(e).replace(_P,"%23").replace(zW,"%3F")}function QW(e){return e==null?"":JW(e).replace(HW,"%2F")}function fg(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ZW(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(OP," "),s=o.indexOf("="),a=fg(s<0?o:o.slice(0,s)),u=s<0?null:fg(o.slice(s+1));if(a in t){let l=t[a];Ii(l)||(l=t[a]=[l]),l.push(u)}else t[a]=u}return t}function R_(e){let t="";for(let n in e){const r=e[n];if(n=XW(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ii(r)?r.map(o=>o&&p1(o)):[r&&p1(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function eG(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ii(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const nS=Symbol(""),P_=Symbol(""),H0=Symbol(""),rS=Symbol(""),m1=Symbol("");function Gc(){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,reset:n}}function kP(e,t,n){const r=()=>{e[t].delete(n)};ha(r),sE(r),oE(()=>{e[t].add(n)}),e[t].add(n)}function ofe(e){const t=cn(nS,{}).value;t&&kP(t,"leaveGuards",e)}function sfe(e){const t=cn(nS,{}).value;t&&kP(t,"updateGuards",e)}function Rs(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const u=f=>{f===!1?a(ec(4,{from:n,to:t})):f instanceof Error?a(f):OW(f)?a(ec(2,{from:t,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),s())},l=e.call(r&&r.instances[i],t,n,u);let c=Promise.resolve(l);e.length<3&&(c=c.then(u)),c.catch(f=>a(f))})}function ty(e,t,n,r){const i=[];for(const o of e)for(const s in o.components){let a=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(tG(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Rs(l,n,r,o,s))}else{let u=a();i.push(()=>u.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const c=uW(l)?l.default:l;o.components[s]=c;const d=(c.__vccOpts||c)[t];return d&&Rs(d,n,r,o,s)()}))}}return i}function tG(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function D_(e){const t=cn(H0),n=cn(rS),r=_e(()=>t.resolve(ln(e.to))),i=_e(()=>{const{matched:u}=r.value,{length:l}=u,c=u[l-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Zl.bind(null,c));if(d>-1)return d;const h=N_(u[l-2]);return l>1&&N_(c)===h&&f[f.length-1].path!==h?f.findIndex(Zl.bind(null,u[l-2])):d}),o=_e(()=>i.value>-1&&oG(n.params,r.value.params)),s=_e(()=>i.value>-1&&i.value===n.matched.length-1&&wP(n.params,r.value.params));function a(u={}){return iG(u)?t[ln(e.replace)?"replace":"push"](ln(e.to)).catch(Pf):Promise.resolve()}return{route:r,href:_e(()=>r.value.href),isActive:o,isExactActive:s,navigate:a}}const nG=xt({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"}},useLink:D_,setup(e,{slots:t}){const n=Tu(D_(e)),{options:r}=cn(H0),i=_e(()=>({[M_(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[M_(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:cu("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),rG=nG;function iG(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 oG(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(!Ii(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function N_(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const M_=(e,t,n)=>e??t??n,sG=xt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=cn(m1),i=_e(()=>e.route||r.value),o=cn(P_,0),s=_e(()=>{let l=ln(o);const{matched:c}=i.value;let f;for(;(f=c[l])&&!f.components;)l++;return l}),a=_e(()=>i.value.matched[s.value]);Fo(P_,_e(()=>s.value+1)),Fo(nS,a),Fo(m1,i);const u=Je();return on(()=>[u.value,a.value,e.name],([l,c,f],[d,h,p])=>{c&&(c.instances[f]=l,h&&h!==c&&l&&l===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),l&&c&&(!h||!Zl(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(m=>m(l))},{flush:"post"}),()=>{const l=i.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return L_(n.default,{Component:d,route:l});const h=f.props[c],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,g=cu(d,Tt({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[c]=null)},ref:u}));return L_(n.default,{Component:g,route:l})||g}}});function L_(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const aG=sG;function afe(e){const t=LW(e.routes,e),n=e.parseQuery||ZW,r=e.stringifyQuery||R_,i=e.history,o=Gc(),s=Gc(),a=Gc(),u=gc(ps);let l=ps;sl&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Zv.bind(null,B=>""+B),f=Zv.bind(null,QW),d=Zv.bind(null,fg);function h(B,Z){let ue,de;return SP(B)?(ue=t.getRecordMatcher(B),de=Z):de=B,t.addRoute(de,ue)}function p(B){const Z=t.getRecordMatcher(B);Z&&t.removeRoute(Z)}function m(){return t.getRoutes().map(B=>B.record)}function g(B){return!!t.getRecordMatcher(B)}function v(B,Z){if(Z=Tt({},Z||u.value),typeof B=="string"){const L=ey(n,B,Z.path),K=t.resolve({path:L.path},Z),re=i.createHref(L.fullPath);return Tt(L,K,{params:d(K.params),hash:fg(L.hash),redirectedFrom:void 0,href:re})}let ue;if("path"in B)ue=Tt({},B,{path:ey(n,B.path,Z.path).path});else{const L=Tt({},B.params);for(const K in L)L[K]==null&&delete L[K];ue=Tt({},B,{params:f(L)}),Z.params=f(Z.params)}const de=t.resolve(ue,Z),Me=B.hash||"";de.params=c(d(de.params));const nt=fW(r,Tt({},B,{hash:YW(Me),path:de.path})),M=i.createHref(nt);return Tt({fullPath:nt,hash:Me,query:r===R_?eG(B.query):B.query||{}},de,{redirectedFrom:void 0,href:M})}function y(B){return typeof B=="string"?ey(n,B,u.value.path):Tt({},B)}function b(B,Z){if(l!==B)return ec(8,{from:Z,to:B})}function w(B){return _(B)}function S(B){return w(Tt(y(B),{replace:!0}))}function E(B){const Z=B.matched[B.matched.length-1];if(Z&&Z.redirect){const{redirect:ue}=Z;let de=typeof ue=="function"?ue(B):ue;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=y(de):{path:de},de.params={}),Tt({query:B.query,hash:B.hash,params:"path"in de?{}:B.params},de)}}function _(B,Z){const ue=l=v(B),de=u.value,Me=B.state,nt=B.force,M=B.replace===!0,L=E(ue);if(L)return _(Tt(y(L),{state:typeof L=="object"?Tt({},Me,L.state):Me,force:nt,replace:M}),Z||ue);const K=ue;K.redirectedFrom=Z;let re;return!nt&&dW(r,de,ue)&&(re=ec(16,{to:K,from:de}),V(de,de,!0,!1)),(re?Promise.resolve(re):T(K,de)).catch(Q=>vo(Q)?vo(Q,2)?Q:F(Q):N(Q,K,de)).then(Q=>{if(Q){if(vo(Q,2))return _(Tt({replace:M},y(Q.to),{state:typeof Q.to=="object"?Tt({},Me,Q.to.state):Me,force:nt}),Z||K)}else Q=I(K,de,!0,M,Me);return x(K,de,Q),Q})}function C(B,Z){const ue=b(B,Z);return ue?Promise.reject(ue):Promise.resolve()}function O(B){const Z=U.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(B):B()}function T(B,Z){let ue;const[de,Me,nt]=uG(B,Z);ue=ty(de.reverse(),"beforeRouteLeave",B,Z);for(const L of de)L.leaveGuards.forEach(K=>{ue.push(Rs(K,B,Z))});const M=C.bind(null,B,Z);return ue.push(M),J(ue).then(()=>{ue=[];for(const L of o.list())ue.push(Rs(L,B,Z));return ue.push(M),J(ue)}).then(()=>{ue=ty(Me,"beforeRouteUpdate",B,Z);for(const L of Me)L.updateGuards.forEach(K=>{ue.push(Rs(K,B,Z))});return ue.push(M),J(ue)}).then(()=>{ue=[];for(const L of B.matched)if(L.beforeEnter&&!Z.matched.includes(L))if(Ii(L.beforeEnter))for(const K of L.beforeEnter)ue.push(Rs(K,B,Z));else ue.push(Rs(L.beforeEnter,B,Z));return ue.push(M),J(ue)}).then(()=>(B.matched.forEach(L=>L.enterCallbacks={}),ue=ty(nt,"beforeRouteEnter",B,Z),ue.push(M),J(ue))).then(()=>{ue=[];for(const L of s.list())ue.push(Rs(L,B,Z));return ue.push(M),J(ue)}).catch(L=>vo(L,8)?L:Promise.reject(L))}function x(B,Z,ue){for(const de of a.list())O(()=>de(B,Z,ue))}function I(B,Z,ue,de,Me){const nt=b(B,Z);if(nt)return nt;const M=Z===ps,L=sl?history.state:{};ue&&(de||M?i.replace(B.fullPath,Tt({scroll:M&&L&&L.scroll},Me)):i.push(B.fullPath,Me)),u.value=B,V(B,Z,ue,M),F()}let A;function D(){A||(A=i.listen((B,Z,ue)=>{if(!Y.listening)return;const de=v(B),Me=E(de);if(Me){_(Tt(Me,{replace:!0}),de).catch(Pf);return}l=de;const nt=u.value;sl&&wW(x_(nt.fullPath,ue.delta),j0()),T(de,nt).catch(M=>vo(M,12)?M:vo(M,2)?(_(M.to,de).then(L=>{vo(L,20)&&!ue.delta&&ue.type===bd.pop&&i.go(-1,!1)}).catch(Pf),Promise.reject()):(ue.delta&&i.go(-ue.delta,!1),N(M,de,nt))).then(M=>{M=M||I(de,nt,!1),M&&(ue.delta&&!vo(M,8)?i.go(-ue.delta,!1):ue.type===bd.pop&&vo(M,20)&&i.go(-1,!1)),x(de,nt,M)}).catch(Pf)}))}let R=Gc(),k=Gc(),P;function N(B,Z,ue){F(B);const de=k.list();return de.length?de.forEach(Me=>Me(B,Z,ue)):console.error(B),Promise.reject(B)}function $(){return P&&u.value!==ps?Promise.resolve():new Promise((B,Z)=>{R.add([B,Z])})}function F(B){return P||(P=!B,D(),R.list().forEach(([Z,ue])=>B?ue(B):Z()),R.reset()),B}function V(B,Z,ue,de){const{scrollBehavior:Me}=e;if(!sl||!Me)return Promise.resolve();const nt=!ue&&EW(x_(B.fullPath,0))||(de||!ue)&&history.state&&history.state.scroll||null;return to().then(()=>Me(B,Z,nt)).then(M=>M&&bW(M)).catch(M=>N(M,B,Z))}const H=B=>i.go(B);let G;const U=new Set,Y={currentRoute:u,listening:!0,addRoute:h,removeRoute:p,hasRoute:g,getRoutes:m,resolve:v,options:e,push:w,replace:S,go:H,back:()=>H(-1),forward:()=>H(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:k.add,isReady:$,install(B){const Z=this;B.component("RouterLink",rG),B.component("RouterView",aG),B.config.globalProperties.$router=Z,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>ln(u)}),sl&&!G&&u.value===ps&&(G=!0,w(i.location).catch(Me=>{}));const ue={};for(const Me in ps)ue[Me]=_e(()=>u.value[Me]);B.provide(H0,Z),B.provide(rS,Tu(ue)),B.provide(m1,u);const de=B.unmount;U.add(B),B.unmount=function(){U.delete(B),U.size<1&&(l=ps,A&&A(),A=null,u.value=ps,G=!1,P=!1),de()}}};function J(B){return B.reduce((Z,ue)=>Z.then(()=>O(ue)),Promise.resolve())}return Y}function uG(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;s<o;s++){const a=t.matched[s];a&&(e.matched.find(l=>Zl(l,a))?r.push(a):n.push(a));const u=e.matched[s];u&&(t.matched.find(l=>Zl(l,u))||i.push(u))}return[n,r,i]}function ufe(){return cn(H0)}function lfe(){return cn(rS)}const lG=xt({props:{bounce:{type:Boolean,default:!1}},setup(e){const{bounce:t}=is(e),n=Je(),r=Je(),i="icons",o=_e(()=>s.indexOf(u.value)!==-1),s=["file-word-fill-color","file-word-color","file-powerpoint-fill-color","file-powerpoint-color","file-pdf-fill-color","file-pdf-color","file-excel-fill-color","file-excel-color","astrategy-logo","asales-logo","anews-logo","sparkles-fill"],a=Je(""),u=_e(()=>{let p=a.value;return d.forEach((m,g)=>{a.value.endsWith(g)&&(p=a.value.split(g)[0])}),p});ni(()=>{var p,m;l(),a.value=((m=(p=r.value)==null?void 0:p.textContent)==null?void 0:m.trim())??""});const l=()=>{const p=n.value;p&&new MutationObserver(m=>{m.forEach(()=>{var g,v;a.value=((v=(g=r.value)==null?void 0:g.textContent)==null?void 0:v.trim())??""})}).observe(p,{characterData:!0,subtree:!0})},c=_e(()=>{if(!n.value)return"";let p="";n.value.classList.contains("asales")&&(p+=" asales-primary"),n.value.classList.contains("astrategy")&&(p+=" astrategy-primary");const m=h.value;return m!==""&&(p+=" "+m),p}),f=_e(()=>{const p=t.value?"tap-bounce":"";return`icon_${u.value} icon_${u.value}-dims ${p}`}),d=(()=>{const p=["orange","green","blue","gray"],m=["1000","800","600","400","200"],g=["white","orange100","green100","blue100",...p.flatMap(y=>m.map(b=>y+b))],v=new Map;return v.set("-gray","gray400"),g.forEach(y=>{v.set(`-${y}`,y)}),v})(),h=_e(()=>{const p=a.value;let m="";return d.forEach((g,v)=>{p.endsWith(v)&&(m=g)}),m});return{rootRef:n,iconNameRef:r,componentName:i,hasSpecifiedColor:o,iconColorClass:c,iconName:u,iconClass:f}}}),xn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},cG={key:0,viewBox:"0 0 24 24"},fG=["xlink:href"],dG={ref:"iconNameRef",class:"hidden-icon-name"};function hG(e,t,n,r,i,o){return Se(),Ne("div",{ref:"rootRef",class:_t(["icon-box",[e.iconColorClass,{symbol:!e.hasSpecifiedColor}]])},[e.hasSpecifiedColor?(Se(),Ne("div",{key:1,class:_t(["sm-icon",e.iconClass])},null,2)):(Se(),Ne("svg",cG,[ge("use",{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#icon_"+e.iconName},null,8,fG)])),ge("div",dG,[Nt(e.$slots,"default",{},void 0,!0)],512)],2)}const Ic=xn(lG,[["render",hG],["__scopeId","data-v-6aa9b47e"]]),pG=xt({components:{SmIcons:Ic},props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:{change:e=>!0},setup(e,t){const{value:n,disabled:r}=is(e),i="checkbox",o=Je(e.value);return on(n,s=>{o.value=s}),{componentName:i,enable:o,toggle:()=>{r.value||(o.value=!o.value,t.emit("change",o.value))}}}});function mG(e,t,n,r,i,o){const s=Hr("sm-icons");return Se(),Ne("div",{class:_t(["checkbox",{disabled:e.disabled,enable:e.enable}]),onClick:t[0]||(t[0]=(...a)=>e.toggle&&e.toggle(...a))},[qa(te(s,null,{default:Fn(()=>t[1]||(t[1]=[$n("square")])),_:1},512),[[Vs,!e.enable&&e.disabled]]),qa(te(s,null,{default:Fn(()=>t[2]||(t[2]=[$n("square-fill")])),_:1},512),[[Vs,!e.enable&&!e.disabled]]),qa(te(s,null,{default:Fn(()=>t[3]||(t[3]=[$n("check-square-fill")])),_:1},512),[[Vs,e.enable]])],2)}const RP=xn(pG,[["render",mG],["__scopeId","data-v-60c4375c"]]),gG=xt({components:{CheckBox:RP},props:{value:{type:Boolean,default:!1},baseColor:{type:String,default:"#F3F2F2"},disabled:{type:Boolean,default:!1}},emits:{change:e=>!0},setup(e,t){const{value:n,disabled:r}=is(e),i="checkbox-label",o=Je(e.value);on(n,a=>{o.value=a});const s=_e(()=>o.value&&r.value?"checked disabled":o.value?"checked":r.value?"disabled":"");return{componentName:i,enable:o,className:s,onChange:a=>{r.value||(o.value=a,t.emit("change",a))}}}});function vG(e,t,n,r,i,o){const s=Hr("CheckBox");return Se(),Ne("div",{class:_t(["checkbox-label",e.className]),onClick:t[0]||(t[0]=a=>e.onChange(!e.enable))},[te(s,{value:e.enable,disabled:e.disabled},null,8,["value","disabled"]),ge("div",{class:_t(["c-inputLabel",e.className])},[Nt(e.$slots,"default",{},void 0,!0)],2)],2)}const yG=xn(gG,[["render",vG],["__scopeId","data-v-be56b246"]]),bG=xt({props:{show:{type:Boolean,default:!1}},setup(){return{componentName:"loading",points:"M-0.111261,-0.487464,0.311745,-0.390916,0.5,0,0.311745,0.390916,-0.111261,0.487464,-0.450484,0.216942,-0.450484,-0.216942z"}}}),wG={class:"loader"},EG={xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"-0.6 -0.6 1.2 1.2"},SG={class:"heptagon",transform:"rotate(13)"},xG=["d"];function TG(e,t,n,r,i,o){return Se(),Ne("div",wG,[(Se(),Ne("svg",EG,[ge("g",SG,[ge("path",{class:"path","stroke-miterlimit":"10",d:e.points,fill:"none",stroke:"#98d1bc","stroke-width":"0.2"},null,8,xG)])]))])}const _G=xn(bG,[["render",TG],["__scopeId","data-v-29d074ef"]]),OG=xt({components:{SmIcons:Ic},props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:{change:e=>!0},setup(e,t){const n="radio",{value:r,disabled:i}=is(e),o=Je(e.value);return on(r,s=>{o.value=s}),{componentName:n,enable:o,toggle:()=>{i.value||(o.value=!o.value,t.emit("change",o.value))}}}});function IG(e,t,n,r,i,o){const s=Hr("sm-icons");return Se(),Ne("div",{class:_t(["radio",{disabled:e.disabled,enable:e.enable}]),onClick:t[0]||(t[0]=(...a)=>e.toggle&&e.toggle(...a))},[qa(te(s,{class:"small"},{default:Fn(()=>t[1]||(t[1]=[$n("circle-fill")])),_:1},512),[[Vs,!e.enable]]),qa(te(s,{class:"small"},{default:Fn(()=>t[2]||(t[2]=[$n("target-circle")])),_:1},512),[[Vs,e.enable]])],2)}const PP=xn(OG,[["render",IG],["__scopeId","data-v-ca887283"]]),CG=xt({components:{Radio:PP},props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:{change:e=>!0},setup(e,t){const n="radio-label",{value:r}=is(e),i=Je(e.value);on(r,s=>{i.value=s});const o=_e(()=>i.value?"checked":"");return{componentName:n,className:o,onChange:s=>{i.value=s,t.emit("change",s)}}}});function AG(e,t,n,r,i,o){const s=Hr("Radio");return Se(),Ne("div",{class:_t(["radio-label",e.className])},[te(s,{value:e.value,disabled:e.disabled,onChange:e.onChange},null,8,["value","disabled","onChange"]),ge("div",{class:_t(["c-inputLabel",{disabled:e.disabled}])},[Nt(e.$slots,"default",{},void 0,!0)],2)],2)}const kG=xn(CG,[["render",AG],["__scopeId","data-v-3ac1b50d"]]),RG=xt({components:{SmIcons:Ic},props:{labels:{type:Array,default:()=>[]},values:{type:Array,default:()=>[]},disabledValues:{type:Array,default:()=>[]},optionsMaxHeight:{type:String,default:void 0},label:{type:String,default:""},placeholder:{type:String,default:""}},emits:{selected:(e,t)=>!0},setup(e,t){const n="selectbox",{labels:r,values:i,disabledValues:o,optionsMaxHeight:s,label:a,placeholder:u}=is(e),l=Je(),c=Je("選択してください"),f=Je(!1),d=Je(""),h=Je({});on(r,()=>{m()}),on(i,()=>{m()}),on(a,E=>{d.value=c.value,c.value=E}),ni(()=>{m(),u.value&&(a.value===void 0||a.value==="")&&(c.value=u.value),h.value={"max-height":s.value},to(()=>{const E=l.value;E&&!w.value&&(h.value={...h.value,"max-width":E.clientWidth+"px"})})}),ha(()=>{document.removeEventListener("click",S);const E=document.querySelector(".modal-container");E&&E.removeEventListener("click",S)});const p=_e(()=>i.value.map((E,_)=>_>=r.value.length?{name:"",value:"",isDisabled:!0}:{name:r.value[_],value:E,isDisabled:o.value.includes(E)})),m=()=>{a.value&&a.value!==""&&(d.value=c.value,c.value=a.value)},g=E=>{d.value=c.value,c.value=E.name,f.value=!1;const _=p.value.find(C=>C.name===d.value);t.emit("selected",E,_)},v=()=>{f.value?b():y()},y=()=>{f.value=!0,document.addEventListener("click",S,{capture:!0});const E=document.querySelector(".modal-container");E&&E.addEventListener("click",S)},b=()=>{f.value=!1,document.removeEventListener("click",S,{capture:!0});const E=document.querySelector(".modal-container");E&&E.removeEventListener("click",S)},w=_e(()=>{const E=l.value;return!!(E&&E.classList.contains("small"))}),S=E=>{const _=E.target,C=l.value;C&&!C.contains(_)&&b()};return{componentName:n,rootRef:l,hasSmall:w,togglePopup:v,selectedLabel:c,popupStyle:h,showPopup:f,selectionLabels:p,selectLabel:g}}}),PG={ref:"rootRef",class:"selectbox"},DG={class:"popup-anchor"},NG=["onClick"];function MG(e,t,n,r,i,o){const s=Hr("sm-icons");return Se(),Ne("div",PG,[ge("div",{class:_t(["c-selectBox",{"c-selectBox--small":e.hasSmall}]),onClick:t[0]||(t[0]=(...a)=>e.togglePopup&&e.togglePopup(...a))},[ge("span",{class:_t(["c-selectBox__placeholder",e.hasSmall?"c-text--s":"c-text--m"])},un(e.selectedLabel),3),te(s,{class:_t(["c-selectBox__arrow",{small:e.hasSmall}])},{default:Fn(()=>t[1]||(t[1]=[$n("angle-down")])),_:1},8,["class"])],2),ge("div",DG,[e.showPopup?(Se(),Ne("div",{key:0,class:"c-selectOptions selector-popup",style:Lo(e.popupStyle)},[(Se(!0),Ne(jt,null,su(e.selectionLabels,(a,u)=>(Se(),Ne("span",{key:u,class:_t(["c-selectOptions__label","c-text--m",a.isDisabled?"disabled":""]),onClick:l=>a.isDisabled?void 0:e.selectLabel(a)},un(a.name),11,NG))),128))],4)):Jn("",!0)])],512)}const LG=xn(RG,[["render",MG],["__scopeId","data-v-b9dc8b9c"]]),$G=xt({props:{value:{type:Boolean,default:!1},labels:{type:Array,default:()=>["off","on"]}},emits:{change:e=>!0},setup(e,t){const n="toggle-button",{labels:r}=is(e),i=Je(e.value);on(()=>e.value,()=>{i.value=e.value});const o=_e(()=>r.value?r.value[0]:"off"),s=_e(()=>r.value?r.value[1]:"on"),a=_e(()=>({default:i.value})),u=_e(()=>i.value?"on":"off");return{componentName:n,offLabel:o,onLabel:s,propClass:a,className:u,toggle:()=>{i.value=!i.value,t.emit("change",i.value)}}}}),FG={class:"toggle-message off-message"},BG={class:"toggle-message on-message"};function jG(e,t,n,r,i,o){return Se(),Ne("div",{class:_t(["toggle-button",e.className])},[ge("div",FG,un(e.offLabel),1),ge("div",{class:_t(["toggle-box",e.propClass]),onClick:t[0]||(t[0]=(...s)=>e.toggle&&e.toggle(...s))},[ge("div",{class:_t(["toggle-circle",e.propClass])},null,2)],2),ge("div",BG,un(e.onLabel),1)],2)}const HG=xn($G,[["render",jG],["__scopeId","data-v-ea2805b7"]]),UG=xt({components:{Icons:Ic},emits:["close"],setup(){return{componentName:"dialog"}}}),zG={class:"dialog-wrapper"},VG={class:"dialog-container"},WG={class:"dialog-header"},GG={class:"dialog-content"},KG={class:"dialog-body"},qG={key:0,class:"dialog-footer"};function YG(e,t,n,r,i,o){const s=Hr("icons");return Se(),Ne("div",{class:"dialog-mask",onMousedown:t[1]||(t[1]=qk(a=>e.$emit("close"),["self"]))},[ge("div",zG,[ge("div",VG,[ge("div",WG,[Nt(e.$slots,"header",{},()=>[t[2]||(t[2]=$n(" タイトル "))],!0),te(s,{class:"small clickable close-icon",onClick:t[0]||(t[0]=a=>e.$emit("close"))},{default:Fn(()=>t[3]||(t[3]=[$n(" times-gray600 ")])),_:1})]),ge("div",GG,[ge("div",KG,[Nt(e.$slots,"body",{},()=>[t[4]||(t[4]=$n(" body "))],!0)]),e.$slots.footer?(Se(),Ne("div",qG,[Nt(e.$slots,"footer",{},()=>[t[5]||(t[5]=$n(" footer "))],!0)])):Jn("",!0)])])])],32)}const XG=xn(UG,[["render",YG],["__scopeId","data-v-732e382c"]]);/*! @license DOMPurify 2.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.5/LICENSE */function Ms(e){"@babel/helpers - typeof";return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ms(e)}function g1(e,t){return g1=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},g1(e,t)}function JG(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function im(e,t,n){return JG()?im=Reflect.construct:im=function(r,i,o){var s=[null];s.push.apply(s,i);var a=Function.bind.apply(r,s),u=new a;return o&&g1(u,o.prototype),u},im.apply(null,arguments)}function mi(e){return QG(e)||ZG(e)||eK(e)||tK()}function QG(e){if(Array.isArray(e))return v1(e)}function ZG(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eK(e,t){if(e){if(typeof e=="string")return v1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v1(e,t)}}function v1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tK(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var nK=Object.hasOwnProperty,$_=Object.setPrototypeOf,rK=Object.isFrozen,iK=Object.getPrototypeOf,oK=Object.getOwnPropertyDescriptor,dr=Object.freeze,Ci=Object.seal,sK=Object.create,DP=typeof Reflect<"u"&&Reflect,dg=DP.apply,y1=DP.construct;dg||(dg=function(e,t,n){return e.apply(t,n)});dr||(dr=function(e){return e});Ci||(Ci=function(e){return e});y1||(y1=function(e,t){return im(e,mi(t))});var aK=ii(Array.prototype.forEach),F_=ii(Array.prototype.pop),Kc=ii(Array.prototype.push),om=ii(String.prototype.toLowerCase),ny=ii(String.prototype.toString),uK=ii(String.prototype.match),ci=ii(String.prototype.replace),lK=ii(String.prototype.indexOf),cK=ii(String.prototype.trim),Zn=ii(RegExp.prototype.test),ry=fK(TypeError);function ii(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return dg(e,t,r)}}function fK(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y1(e,n)}}function tt(e,t,n){n=n||om,$_&&$_(e,null);for(var r=t.length;r--;){var i=t[r];if(typeof i=="string"){var o=n(i);o!==i&&(rK(t)||(t[r]=o),i=o)}e[i]=!0}return e}function _a(e){var t=sK(null),n;for(n in e)dg(nK,e,[n])===!0&&(t[n]=e[n]);return t}function sp(e,t){for(;e!==null;){var n=oK(e,t);if(n){if(n.get)return ii(n.get);if(typeof n.value=="function")return ii(n.value)}e=iK(e)}function r(i){return console.warn("fallback value for",i),null}return r}var B_=dr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),iy=dr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),oy=dr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),dK=dr(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),sy=dr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),hK=dr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j_=dr(["#text"]),H_=dr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ay=dr(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U_=dr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ap=dr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),pK=Ci(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mK=Ci(/<%[\w\W]*|[\w\W]*%>/gm),gK=Ci(/\${[\w\W]*}/gm),vK=Ci(/^data-[\-\w.\u00B7-\uFFFF]/),yK=Ci(/^aria-[\-\w]+$/),bK=Ci(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),wK=Ci(/^(?:\w+script|data):/i),EK=Ci(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),SK=Ci(/^html$/i),xK=function(){return typeof window>"u"?null:window},TK=function(e,t){if(Ms(e)!=="object"||typeof e.createPolicy!="function")return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(o){return o},createScriptURL:function(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function NP(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xK(),t=function(j){return NP(j)};if(t.version="2.4.5",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var n=e.document,r=e.document,i=e.DocumentFragment,o=e.HTMLTemplateElement,s=e.Node,a=e.Element,u=e.NodeFilter,l=e.NamedNodeMap,c=l===void 0?e.NamedNodeMap||e.MozNamedAttrMap:l,f=e.HTMLFormElement,d=e.DOMParser,h=e.trustedTypes,p=a.prototype,m=sp(p,"cloneNode"),g=sp(p,"nextSibling"),v=sp(p,"childNodes"),y=sp(p,"parentNode");if(typeof o=="function"){var b=r.createElement("template");b.content&&b.content.ownerDocument&&(r=b.content.ownerDocument)}var w=TK(h,n),S=w?w.createHTML(""):"",E=r,_=E.implementation,C=E.createNodeIterator,O=E.createDocumentFragment,T=E.getElementsByTagName,x=n.importNode,I={};try{I=_a(r).documentMode?r.documentMode:{}}catch{}var A={};t.isSupported=typeof y=="function"&&_&&typeof _.createHTMLDocument<"u"&&I!==9;var D=pK,R=mK,k=gK,P=vK,N=yK,$=wK,F=EK,V=bK,H=null,G=tt({},[].concat(mi(B_),mi(iy),mi(oy),mi(sy),mi(j_))),U=null,Y=tt({},[].concat(mi(H_),mi(ay),mi(U_),mi(ap))),J=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),B=null,Z=null,ue=!0,de=!0,Me=!1,nt=!0,M=!1,L=!1,K=!1,re=!1,Q=!1,le=!1,fe=!1,ne=!0,oe=!1,ee="user-content-",pe=!0,ae=!1,ye={},Ce=null,Ke=tt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),et=null,z=tt({},["audio","video","img","source","image","track"]),q=null,X=tt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),W="http://www.w3.org/1998/Math/MathML",ie="http://www.w3.org/2000/svg",ce="http://www.w3.org/1999/xhtml",we=ce,Te=!1,je=null,Ae=tt({},[W,ie,ce],ny),be,ke=["application/xhtml+xml","text/html"],Ve="text/html",Pe,It=null,Tn=r.createElement("form"),Dh=function(j){return j instanceof RegExp||j instanceof Function},fs=function(j){It&&It===j||((!j||Ms(j)!=="object")&&(j={}),j=_a(j),be=ke.indexOf(j.PARSER_MEDIA_TYPE)===-1?be=Ve:be=j.PARSER_MEDIA_TYPE,Pe=be==="application/xhtml+xml"?ny:om,H="ALLOWED_TAGS"in j?tt({},j.ALLOWED_TAGS,Pe):G,U="ALLOWED_ATTR"in j?tt({},j.ALLOWED_ATTR,Pe):Y,je="ALLOWED_NAMESPACES"in j?tt({},j.ALLOWED_NAMESPACES,ny):Ae,q="ADD_URI_SAFE_ATTR"in j?tt(_a(X),j.ADD_URI_SAFE_ATTR,Pe):X,et="ADD_DATA_URI_TAGS"in j?tt(_a(z),j.ADD_DATA_URI_TAGS,Pe):z,Ce="FORBID_CONTENTS"in j?tt({},j.FORBID_CONTENTS,Pe):Ke,B="FORBID_TAGS"in j?tt({},j.FORBID_TAGS,Pe):{},Z="FORBID_ATTR"in j?tt({},j.FORBID_ATTR,Pe):{},ye="USE_PROFILES"in j?j.USE_PROFILES:!1,ue=j.ALLOW_ARIA_ATTR!==!1,de=j.ALLOW_DATA_ATTR!==!1,Me=j.ALLOW_UNKNOWN_PROTOCOLS||!1,nt=j.ALLOW_SELF_CLOSE_IN_ATTR!==!1,M=j.SAFE_FOR_TEMPLATES||!1,L=j.WHOLE_DOCUMENT||!1,Q=j.RETURN_DOM||!1,le=j.RETURN_DOM_FRAGMENT||!1,fe=j.RETURN_TRUSTED_TYPE||!1,re=j.FORCE_BODY||!1,ne=j.SANITIZE_DOM!==!1,oe=j.SANITIZE_NAMED_PROPS||!1,pe=j.KEEP_CONTENT!==!1,ae=j.IN_PLACE||!1,V=j.ALLOWED_URI_REGEXP||V,we=j.NAMESPACE||ce,J=j.CUSTOM_ELEMENT_HANDLING||{},j.CUSTOM_ELEMENT_HANDLING&&Dh(j.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(J.tagNameCheck=j.CUSTOM_ELEMENT_HANDLING.tagNameCheck),j.CUSTOM_ELEMENT_HANDLING&&Dh(j.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(J.attributeNameCheck=j.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),j.CUSTOM_ELEMENT_HANDLING&&typeof j.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(J.allowCustomizedBuiltInElements=j.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),M&&(de=!1),le&&(Q=!0),ye&&(H=tt({},mi(j_)),U=[],ye.html===!0&&(tt(H,B_),tt(U,H_)),ye.svg===!0&&(tt(H,iy),tt(U,ay),tt(U,ap)),ye.svgFilters===!0&&(tt(H,oy),tt(U,ay),tt(U,ap)),ye.mathMl===!0&&(tt(H,sy),tt(U,U_),tt(U,ap))),j.ADD_TAGS&&(H===G&&(H=_a(H)),tt(H,j.ADD_TAGS,Pe)),j.ADD_ATTR&&(U===Y&&(U=_a(U)),tt(U,j.ADD_ATTR,Pe)),j.ADD_URI_SAFE_ATTR&&tt(q,j.ADD_URI_SAFE_ATTR,Pe),j.FORBID_CONTENTS&&(Ce===Ke&&(Ce=_a(Ce)),tt(Ce,j.FORBID_CONTENTS,Pe)),pe&&(H["#text"]=!0),L&&tt(H,["html","head","body"]),H.table&&(tt(H,["tbody"]),delete B.tbody),dr&&dr(j),It=j)},Kx=tt({},["mi","mo","mn","ms","mtext"]),qx=tt({},["foreignobject","desc","title","annotation-xml"]),PL=tt({},["title","style","font","a","script"]),Nh=tt({},iy);tt(Nh,oy),tt(Nh,dK);var _v=tt({},sy);tt(_v,hK);var DL=function(j){var Ee=y(j);(!Ee||!Ee.tagName)&&(Ee={namespaceURI:we,tagName:"template"});var he=om(j.tagName),bt=om(Ee.tagName);return je[j.namespaceURI]?j.namespaceURI===ie?Ee.namespaceURI===ce?he==="svg":Ee.namespaceURI===W?he==="svg"&&(bt==="annotation-xml"||Kx[bt]):!!Nh[he]:j.namespaceURI===W?Ee.namespaceURI===ce?he==="math":Ee.namespaceURI===ie?he==="math"&&qx[bt]:!!_v[he]:j.namespaceURI===ce?Ee.namespaceURI===ie&&!qx[bt]||Ee.namespaceURI===W&&!Kx[bt]?!1:!_v[he]&&(PL[he]||!Nh[he]):!!(be==="application/xhtml+xml"&&je[j.namespaceURI]):!1},Bu=function(j){Kc(t.removed,{element:j});try{j.parentNode.removeChild(j)}catch{try{j.outerHTML=S}catch{j.remove()}}},Ov=function(j,Ee){try{Kc(t.removed,{attribute:Ee.getAttributeNode(j),from:Ee})}catch{Kc(t.removed,{attribute:null,from:Ee})}if(Ee.removeAttribute(j),j==="is"&&!U[j])if(Q||le)try{Bu(Ee)}catch{}else try{Ee.setAttribute(j,"")}catch{}},Yx=function(j){var Ee,he;if(re)j="<remove></remove>"+j;else{var bt=uK(j,/^[\r\n\t ]+/);he=bt&&bt[0]}be==="application/xhtml+xml"&&we===ce&&(j='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+j+"</body></html>");var rn=w?w.createHTML(j):j;if(we===ce)try{Ee=new d().parseFromString(rn,be)}catch{}if(!Ee||!Ee.documentElement){Ee=_.createDocument(we,"template",null);try{Ee.documentElement.innerHTML=Te?S:rn}catch{}}var Cr=Ee.body||Ee.documentElement;return j&&he&&Cr.insertBefore(r.createTextNode(he),Cr.childNodes[0]||null),we===ce?T.call(Ee,L?"html":"body")[0]:L?Ee.documentElement:Cr},Xx=function(j){return C.call(j.ownerDocument||j,j,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},NL=function(j){return j instanceof f&&(typeof j.nodeName!="string"||typeof j.textContent!="string"||typeof j.removeChild!="function"||!(j.attributes instanceof c)||typeof j.removeAttribute!="function"||typeof j.setAttribute!="function"||typeof j.namespaceURI!="string"||typeof j.insertBefore!="function"||typeof j.hasChildNodes!="function")},Fc=function(j){return Ms(s)==="object"?j instanceof s:j&&Ms(j)==="object"&&typeof j.nodeType=="number"&&typeof j.nodeName=="string"},po=function(j,Ee,he){A[j]&&aK(A[j],function(bt){bt.call(t,Ee,he,It)})},Jx=function(j){var Ee;if(po("beforeSanitizeElements",j,null),NL(j)||Zn(/[\u0080-\uFFFF]/,j.nodeName))return Bu(j),!0;var he=Pe(j.nodeName);if(po("uponSanitizeElement",j,{tagName:he,allowedTags:H}),j.hasChildNodes()&&!Fc(j.firstElementChild)&&(!Fc(j.content)||!Fc(j.content.firstElementChild))&&Zn(/<[/\w]/g,j.innerHTML)&&Zn(/<[/\w]/g,j.textContent)||he==="select"&&Zn(/<template/i,j.innerHTML))return Bu(j),!0;if(!H[he]||B[he]){if(!B[he]&&Zx(he)&&(J.tagNameCheck instanceof RegExp&&Zn(J.tagNameCheck,he)||J.tagNameCheck instanceof Function&&J.tagNameCheck(he)))return!1;if(pe&&!Ce[he]){var bt=y(j)||j.parentNode,rn=v(j)||j.childNodes;if(rn&&bt)for(var Cr=rn.length,hn=Cr-1;hn>=0;--hn)bt.insertBefore(m(rn[hn],!0),g(j))}return Bu(j),!0}return j instanceof a&&!DL(j)||(he==="noscript"||he==="noembed")&&Zn(/<\/no(script|embed)/i,j.innerHTML)?(Bu(j),!0):(M&&j.nodeType===3&&(Ee=j.textContent,Ee=ci(Ee,D," "),Ee=ci(Ee,R," "),Ee=ci(Ee,k," "),j.textContent!==Ee&&(Kc(t.removed,{element:j.cloneNode()}),j.textContent=Ee)),po("afterSanitizeElements",j,null),!1)},Qx=function(j,Ee,he){if(ne&&(Ee==="id"||Ee==="name")&&(he in r||he in Tn))return!1;if(!(de&&!Z[Ee]&&Zn(P,Ee))&&!(ue&&Zn(N,Ee))){if(!U[Ee]||Z[Ee]){if(!(Zx(j)&&(J.tagNameCheck instanceof RegExp&&Zn(J.tagNameCheck,j)||J.tagNameCheck instanceof Function&&J.tagNameCheck(j))&&(J.attributeNameCheck instanceof RegExp&&Zn(J.attributeNameCheck,Ee)||J.attributeNameCheck instanceof Function&&J.attributeNameCheck(Ee))||Ee==="is"&&J.allowCustomizedBuiltInElements&&(J.tagNameCheck instanceof RegExp&&Zn(J.tagNameCheck,he)||J.tagNameCheck instanceof Function&&J.tagNameCheck(he))))return!1}else if(!q[Ee]&&!Zn(V,ci(he,F,""))&&!((Ee==="src"||Ee==="xlink:href"||Ee==="href")&&j!=="script"&&lK(he,"data:")===0&&et[j])&&!(Me&&!Zn($,ci(he,F,"")))&&he)return!1}return!0},Zx=function(j){return j.indexOf("-")>0},eT=function(j){var Ee,he,bt,rn;po("beforeSanitizeAttributes",j,null);var Cr=j.attributes;if(Cr){var hn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U};for(rn=Cr.length;rn--;){Ee=Cr[rn];var Bc=Ee,mo=Bc.name,mr=Bc.namespaceURI;if(he=mo==="value"?Ee.value:cK(Ee.value),bt=Pe(mo),hn.attrName=bt,hn.attrValue=he,hn.keepAttr=!0,hn.forceKeepAttr=void 0,po("uponSanitizeAttribute",j,hn),he=hn.attrValue,!hn.forceKeepAttr&&(Ov(mo,j),!!hn.keepAttr)){if(!nt&&Zn(/\/>/i,he)){Ov(mo,j);continue}M&&(he=ci(he,D," "),he=ci(he,R," "),he=ci(he,k," "));var tT=Pe(j.nodeName);if(Qx(tT,bt,he)){if(oe&&(bt==="id"||bt==="name")&&(Ov(mo,j),he=ee+he),w&&Ms(h)==="object"&&typeof h.getAttributeType=="function"&&!mr)switch(h.getAttributeType(tT,bt)){case"TrustedHTML":he=w.createHTML(he);break;case"TrustedScriptURL":he=w.createScriptURL(he);break}try{mr?j.setAttributeNS(mr,mo,he):j.setAttribute(mo,he),F_(t.removed)}catch{}}}}po("afterSanitizeAttributes",j,null)}},ML=function j(Ee){var he,bt=Xx(Ee);for(po("beforeSanitizeShadowDOM",Ee,null);he=bt.nextNode();)po("uponSanitizeShadowNode",he,null),!Jx(he)&&(he.content instanceof i&&j(he.content),eT(he));po("afterSanitizeShadowDOM",Ee,null)};return t.sanitize=function(j){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he,bt,rn,Cr,hn;if(Te=!j,Te&&(j="<!-->"),typeof j!="string"&&!Fc(j)){if(typeof j.toString!="function")throw ry("toString is not a function");if(j=j.toString(),typeof j!="string")throw ry("dirty is not a string, aborting")}if(!t.isSupported){if(Ms(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof j=="string")return e.toStaticHTML(j);if(Fc(j))return e.toStaticHTML(j.outerHTML)}return j}if(K||fs(Ee),t.removed=[],typeof j=="string"&&(ae=!1),ae){if(j.nodeName){var Bc=Pe(j.nodeName);if(!H[Bc]||B[Bc])throw ry("root node is forbidden and cannot be sanitized in-place")}}else if(j instanceof s)he=Yx("<!---->"),bt=he.ownerDocument.importNode(j,!0),bt.nodeType===1&&bt.nodeName==="BODY"||bt.nodeName==="HTML"?he=bt:he.appendChild(bt);else{if(!Q&&!M&&!L&&j.indexOf("<")===-1)return w&&fe?w.createHTML(j):j;if(he=Yx(j),!he)return Q?null:fe?S:""}he&&re&&Bu(he.firstChild);for(var mo=Xx(ae?j:he);rn=mo.nextNode();)rn.nodeType===3&&rn===Cr||Jx(rn)||(rn.content instanceof i&&ML(rn.content),eT(rn),Cr=rn);if(Cr=null,ae)return j;if(Q){if(le)for(hn=O.call(he.ownerDocument);he.firstChild;)hn.appendChild(he.firstChild);else hn=he;return(U.shadowroot||U.shadowrootmod)&&(hn=x.call(n,hn,!0)),hn}var mr=L?he.outerHTML:he.innerHTML;return L&&H["!doctype"]&&he.ownerDocument&&he.ownerDocument.doctype&&he.ownerDocument.doctype.name&&Zn(SK,he.ownerDocument.doctype.name)&&(mr="<!DOCTYPE "+he.ownerDocument.doctype.name+`>
`+mr),M&&(mr=ci(mr,D," "),mr=ci(mr,R," "),mr=ci(mr,k," ")),w&&fe?w.createHTML(mr):mr},t.setConfig=function(j){fs(j),K=!0},t.clearConfig=function(){It=null,K=!1},t.isValidAttribute=function(j,Ee,he){It||fs({});var bt=Pe(j),rn=Pe(Ee);return Qx(bt,rn,he)},t.addHook=function(j,Ee){typeof Ee=="function"&&(A[j]=A[j]||[],Kc(A[j],Ee))},t.removeHook=function(j){if(A[j])return F_(A[j])},t.removeHooks=function(j){A[j]&&(A[j]=[])},t.removeAllHooks=function(){A={}},t}var _K=NP();const OK=xt({components:{SmIcons:Ic},props:{type:{type:String,default:"success"},timeout:{type:Number,default:3e3},showUndo:{type:Boolean,default:!1},productName:{type:String,default:"anews"},message:{type:String,default:""},description:{type:String,default:""},longDescription:{type:String,default:""},theme:{type:String,default:"dark"}},emits:["close","undo"],setup(e,t){const n="snackbar",{message:r,timeout:i}=is(e),o=_e(()=>_K.sanitize(r.value)),s=()=>{t.emit("close")},a=_e(()=>e.theme==="dark"),u=_e(()=>{switch(e.type){case"error":return"minus-circle-fill-orange1000";case"warning":return"exclamation-circle-fill-orange200";case"success":default:return"check-circle-fill-green600"}});return ni(()=>{setTimeout(()=>{s()},i.value)}),{componentName:n,sanitizedMessage:o,close:s,isDark:a,iconName:u}}}),IK={class:"content"},CK={class:"message"},AK=["innerHTML"],kK={key:1,class:"text c-title--m"},RK={key:2,class:"description text"},PK={class:"actions"},DK={key:0,class:"long-description text"};function NK(e,t,n,r,i,o){const s=Hr("sm-icons");return Se(),Ur(gE,{appear:"",name:"snackbar"},{default:Fn(()=>[ge("div",{class:_t(["snackbar-container",{dark:e.isDark}])},[ge("div",{class:_t(["snackbar-body",e.type])},[ge("div",IK,[ge("div",CK,[te(s,{class:"type-icon small"},{default:Fn(()=>[$n(un(e.iconName),1)]),_:1}),e.sanitizedMessage?(Se(),Ne("div",{key:0,class:"text c-title--m",innerHTML:e.sanitizedMessage},null,8,AK)):(Se(),Ne("div",kK,[Nt(e.$slots,"default",{},void 0,!0)])),e.description!==""?(Se(),Ne("div",RK,un(e.description),1)):Jn("",!0)]),ge("div",PK,[qa(ge("button",{class:_t(["undo c-text--m",e.productName]),onClick:t[0]||(t[0]=a=>e.$emit("undo"))}," 元に戻す ",2),[[Vs,e.showUndo]]),ge("button",{class:"close-button",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[te(s,{class:"times"},{default:Fn(()=>[$n(un(e.isDark?"times-white":"times"),1)]),_:1})])])]),e.longDescription!==""?(Se(),Ne("div",DK,un(e.longDescription),1)):Jn("",!0)],2)],2)]),_:3})}const MK=xn(OK,[["render",NK],["__scopeId","data-v-48700ad6"]]);var Yi=(e,t=[])=>({parts:(...n)=>{if(LK(t))return Yi(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>Yi(e,[...t,...n]),rename:n=>Yi(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${Vu(e)}"][data-part="${Vu(r)}"]`,`& [data-scope="${Vu(e)}"][data-part="${Vu(r)}"]`].join(", "),attrs:{"data-scope":Vu(e),"data-part":Vu(r)}}}),{})}),Vu=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),LK=e=>e.length===0,Le=e=>e?"":void 0,$K=e=>e?"true":void 0,FK=2147483647,BK=1,jK=9,HK=11,U0=e=>typeof e=="object"&&e!==null,oo=e=>U0(e)&&e.nodeType===BK&&typeof e.nodeName=="string",MP=e=>U0(e)&&e.nodeType===jK,UK=e=>U0(e)&&e===e.window,zK=e=>U0(e)&&e.nodeType!==void 0,VK=e=>zK(e)&&e.nodeType===HK&&"host"in e;function pu(e,t){return!e||!t||!oo(e)||!oo(t)?!1:e===t||e.contains(t)}function dh(e){return MP(e)?e:UK(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function Ru(e){var t;return VK(e)?Ru(e.host):MP(e)?e.defaultView??window:oo(e)?((t=e.ownerDocument)==null?void 0:t.defaultView)??window:window}var WK=()=>typeof document<"u";function GK(){const e=navigator.userAgentData;return(e==null?void 0:e.platform)??navigator.platform}var LP=e=>WK()&&e.test(GK()),$P=()=>LP(/^Mac/),KK=()=>LP(/iP(hone|ad|od)|iOS/);function qK(e){var t,n,r;return((t=e.composedPath)==null?void 0:t.call(e))??((r=(n=e.nativeEvent)==null?void 0:n.composedPath)==null?void 0:r.call(n))}function mu(e){const t=qK(e);return(t==null?void 0:t[0])??e.target}var YK=e=>pu(e.currentTarget,mu(e)),iS=e=>e.id;function XK(e,t,n=iS){return e.find(r=>n(r)===t)}function JK(e,t,n=iS){const r=XK(e,t,n);return r?e.indexOf(r):-1}var QK=e=>e.split("").map(t=>{const n=t.charCodeAt(0);return n>0&&n<128?t:n>=128&&n<=255?`/x${n.toString(16)}`.replace("/","\\"):""}).join("").trim(),ZK=e=>QK(e.dataset.valuetext??e.textContent??""),eq=(e,t)=>e.trim().toLowerCase().startsWith(t.toLowerCase()),tq=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]);function nq(e,t,n,r=iS){const i=n?JK(e,n,r):-1;let o=n?tq(e,i):e;return t.length===1&&(o=o.filter(s=>r(s)!==n)),o.find(s=>eq(ZK(s),t))}function rq(e,t){const{state:n,activeId:r,key:i,timeout:o=350,itemToId:s}=t,a=n.keysSoFar+i,u=a.length>1&&Array.from(a).every(h=>h===a[0])?a[0]:a;let l=e.slice();const c=nq(l,u,r,s);function f(){clearTimeout(n.timer),n.timer=-1}function d(h){n.keysSoFar=h,f(),h!==""&&(n.timer=+setTimeout(()=>{d(""),f()},o))}return d(a),c}var b1=Object.assign(rq,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:iq});function iq(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}var oS=e=>typeof e=="object"&&e!==null&&e.nodeType===1,FP=e=>oS(e)&&e.tagName==="IFRAME";function oq(e){return oS(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1}function sq(e){return parseInt(e.getAttribute("tabindex")||"0",10)<0}var sS="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",BP=(e,t=!1)=>{if(!e)return[];const n=Array.from(e.querySelectorAll(sS));(t==!0||t=="if-empty"&&n.length===0)&&oS(e)&&wd(e)&&n.unshift(e);const r=n.filter(wd);return r.forEach((i,o)=>{if(FP(i)&&i.contentDocument){const s=i.contentDocument.body;r.splice(o,1,...BP(s))}}),r};function wd(e){return!e||e.closest("[inert]")?!1:e.matches(sS)&&oq(e)}function z0(e,t){if(!e)return[];const n=Array.from(e.querySelectorAll(sS)),r=n.filter(z_);return t&&z_(e)&&r.unshift(e),r.forEach((i,o)=>{if(FP(i)&&i.contentDocument){const s=i.contentDocument.body,a=z0(s);r.splice(o,1,...a)}}),!r.length&&t?n:r}function z_(e){return e!=null&&e.tabIndex>0?!0:wd(e)&&!sq(e)}function jP(e,t){const n=z0(e,t),r=n[0]||null,i=n[n.length-1]||null;return[r,i]}function aq(e,t){const n=z0(e),r=(e==null?void 0:e.ownerDocument)||document,i=t??r.activeElement;if(!i)return null;const o=n.indexOf(i);return n[o+1]||null}function hg(e){const{root:t,getInitialEl:n,filter:r,enabled:i=!0}=e;if(!i)return;let o=null;if(o||(o=typeof n=="function"?n():n),o||(o=t==null?void 0:t.querySelector("[data-autofocus],[autofocus]")),!o){const s=z0(t);o=r?s.filter(r)[0]:s[0]}return o||t||void 0}function uq(e){const t=e.currentTarget;if(!t)return!1;const[n,r]=jP(t),i=t.ownerDocument||document;return!(i.activeElement===n&&e.shiftKey||i.activeElement===r&&!e.shiftKey||!n&&!r)}function lq(e){if(e==null||!oo(e))return!1;try{const t=Ru(e);return e instanceof t.HTMLInputElement&&e.selectionStart!=null||/(textarea|select)/.test(e.localName)||e.isContentEditable}catch{return!1}}var cq=/auto|scroll|overlay|hidden|clip/;function fq(e){const t=Ru(e),{overflow:n,overflowX:r,overflowY:i,display:o}=t.getComputedStyle(e);return cq.test(n+i+r)&&!["inline","contents"].includes(o)}function aS(e){const t=new Set;function n(r){const i=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(i))}return n(()=>n(e)),function(){t.forEach(r=>r())}}function fn(e){const t=globalThis.requestAnimationFrame(e);return()=>{globalThis.cancelAnimationFrame(t)}}function dq(e,t){if(!e)return;const{attributes:n,callback:r}=t,i=e.ownerDocument.defaultView||window,o=new i.MutationObserver(s=>{for(const a of s)a.type==="attributes"&&a.attributeName&&n.includes(a.attributeName)&&r(a)});return o.observe(e,{attributes:!0,attributeFilter:n}),()=>o.disconnect()}function hq(e,t){const{defer:n}=t,r=n?fn:o=>o(),i=[];return i.push(r(()=>{const o=typeof e=="function"?e():e;i.push(dq(o,t))})),()=>{i.forEach(o=>o==null?void 0:o())}}function pq(e,t={}){const{triggerElement:n,onFocus:r}=t,i=(e==null?void 0:e.ownerDocument)||document,o=i.body;function s(a){if(a.key!=="Tab")return;let u=null;const[l,c]=jP(e,!0),f=!l&&!c;a.shiftKey&&(i.activeElement===l||f)?u=n:!a.shiftKey&&i.activeElement===n?u=l:!a.shiftKey&&(i.activeElement===c||f)&&(u=aq(o,n)),u&&(a.preventDefault(),typeof r=="function"?r(u):u.focus())}return i==null||i.addEventListener("keydown",s,!0),()=>{i==null||i.removeEventListener("keydown",s,!0)}}function mq(e,t){const{defer:n,triggerElement:r,...i}=t,o=n?fn:a=>a(),s=[];return s.push(o(()=>{const a=typeof e=="function"?e():e,u=typeof r=="function"?r():r;s.push(pq(a,{triggerElement:u,...i}))})),()=>{s.forEach(a=>a==null?void 0:a())}}function HP(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}function Pu(e){const t={getRootNode:n=>{var r;return((r=n.getRootNode)==null?void 0:r.call(n))??document},getDoc:n=>dh(t.getRootNode(n)),getWin:n=>t.getDoc(n).defaultView??window,getActiveElement:n=>t.getRootNode(n).activeElement,isActiveElement:(n,r)=>r===t.getActiveElement(n),getById:(n,r)=>t.getRootNode(n).getElementById(r),setValue:(n,r)=>{if(n==null||r==null)return;const i=r.toString();n.value!==i&&(n.value=r.toString())}};return{...t,...e}}function gq(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function vq(e,t){const{rootEl:n,...r}=t||{};!e||!n||!fq(n)||!gq(n)||e.scrollIntoView(r)}var uy=new WeakMap;function yq(e,t,n){uy.has(e)||uy.set(e,new Map);const r=uy.get(e),i=r.get(t);if(!i)return r.set(t,n()),()=>{var a;(a=r.get(t))==null||a(),r.delete(t)};const o=n(),s=()=>{o(),i(),r.delete(t)};return r.set(t,s),()=>{r.get(t)===s&&(o(),r.set(t,i))}}function bq(e,t){return e?yq(e,"style",()=>{const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}):()=>{}}var V0={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},wq=1e3/60;function Eq(e,t){const n=e();if(oo(n)&&n.isConnected)return t(n),()=>{};{const r=setInterval(()=>{const i=e();oo(i)&&i.isConnected&&(t(i),clearInterval(r))},wq);return()=>clearInterval(r)}}function Sq(e,t){const n=[];return e==null||e.forEach(r=>{const i=Eq(r,t);n.push(i)}),()=>{n.forEach(r=>r())}}const xq=Symbol(),V_=Object.getPrototypeOf,w1=new WeakMap,Tq=e=>e&&(w1.has(e)?w1.get(e):V_(e)===Object.prototype||V_(e)===Array.prototype),_q=e=>Tq(e)&&e[xq]||null,W_=(e,t=!0)=>{w1.set(e,t)};function Oq(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function UP(e,t){const n=Oq();return n?(n[e]||(n[e]=t()),n[e]):t()}var ly=e=>typeof e=="object"&&e!==null,Ma=UP("__zag__proxyStateMap",()=>new WeakMap),df=UP("__zag__refSet",()=>new WeakSet),Iq=(e=Object.is,t=(l,c)=>new Proxy(l,c),n=l=>ly(l)&&!df.has(l)&&(Array.isArray(l)||!(Symbol.iterator in l))&&!(l instanceof WeakMap)&&!(l instanceof WeakSet)&&!(l instanceof Error)&&!(l instanceof Number)&&!(l instanceof Date)&&!(l instanceof String)&&!(l instanceof RegExp)&&!(l instanceof ArrayBuffer),r=l=>{switch(l.status){case"fulfilled":return l.value;case"rejected":throw l.reason;default:throw l}},i=new WeakMap,o=(l,c,f=r)=>{const d=i.get(l);if((d==null?void 0:d[0])===c)return d[1];const h=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l));return W_(h,!0),i.set(l,[c,h]),Reflect.ownKeys(l).forEach(p=>{const m=Reflect.get(l,p);df.has(m)?(W_(m,!1),h[p]=m):m instanceof Promise?Object.defineProperty(h,p,{get(){return f(m)}}):Ma.has(m)?h[p]=Ha(m,f):h[p]=m}),Object.freeze(h)},s=new WeakMap,a=[1,1],u=l=>{if(!ly(l))throw new Error("object required");const c=s.get(l);if(c)return c;let f=a[0];const d=new Set,h=(C,O=++a[0])=>{f!==O&&(f=O,d.forEach(T=>T(C,O)))};let p=a[1];const m=(C=++a[1])=>(p!==C&&!d.size&&(p=C,v.forEach(([O])=>{const T=O[1](C);T>f&&(f=T)})),f),g=C=>(O,T)=>{const x=[...O];x[1]=[C,...x[1]],h(x,T)},v=new Map,y=(C,O)=>{if(d.size){const T=O[3](g(C));v.set(C,[O,T])}else v.set(C,[O])},b=C=>{var O;const T=v.get(C);T&&(v.delete(C),(O=T[1])==null||O.call(T))},w=C=>(d.add(C),d.size===1&&v.forEach(([O,T],x)=>{const I=O[3](g(x));v.set(x,[O,I])}),()=>{d.delete(C),d.size===0&&v.forEach(([O,T],x)=>{T&&(T(),v.set(x,[O]))})}),S=Array.isArray(l)?[]:Object.create(Object.getPrototypeOf(l)),E=t(S,{deleteProperty(C,O){const T=Reflect.get(C,O);b(O);const x=Reflect.deleteProperty(C,O);return x&&h(["delete",[O],T]),x},set(C,O,T,x){var I;const A=Reflect.has(C,O),D=Reflect.get(C,O,x);if(A&&(e(D,T)||s.has(T)&&e(D,s.get(T))))return!0;b(O),ly(T)&&(T=_q(T)||T);let R=T;if(!((I=Object.getOwnPropertyDescriptor(C,O))!=null&&I.set))if(T instanceof Promise)T.then(k=>{Object.assign(T,{status:"fulfilled",value:k}),h(["resolve",[O],k])}).catch(k=>{Object.assign(T,{status:"rejected",reason:k}),h(["reject",[O],k])});else{!Ma.has(T)&&n(T)&&(R=uS(T));const k=!df.has(R)&&Ma.get(R);k&&y(O,k)}return Reflect.set(C,O,R,x),h(["set",[O],T,D]),!0}});s.set(l,E);const _=[S,m,o,w];return Ma.set(E,_),Reflect.ownKeys(l).forEach(C=>{const O=Object.getOwnPropertyDescriptor(l,C);O.get||O.set?Object.defineProperty(S,C,O):E[C]=l[C]}),E})=>[u,Ma,df,e,t,n,r,i,o,s,a],[Cq]=Iq();function uS(e={}){return Cq(e)}function pg(e,t,n){const r=Ma.get(e);let i;const o=[],s=r[3];let a=!1;const u=s(l=>{if(o.push(l),n){t(o.splice(0));return}i||(i=Promise.resolve().then(()=>{i=void 0,a&&t(o.splice(0))}))});return a=!0,()=>{a=!1,u()}}function Ha(e,t){const n=Ma.get(e),[r,i,o]=n;return o(r,i(),t)}function Ed(e){return df.add(e),e}function Aq(e,t){Object.keys(t).forEach(r=>{if(Object.getOwnPropertyDescriptor(e,r))throw new Error("object property already defined");const i=t[r],{get:o,set:s}=typeof i=="function"?{get:i}:i,a={};a.get=()=>o(Ha(n)),s&&(a.set=u=>s(n,u)),Object.defineProperty(e,r,a)});const n=uS(e);return n}function G_(e,t,n){typeof n.value=="object"&&(n.value=wl(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function wl(e){if(typeof e!="object")return e;var t=0,n,r,i,o=Object.prototype.toString.call(e);if(o==="[object Object]"?i=Object.create(e.__proto__||null):o==="[object Array]"?i=Array(e.length):o==="[object Set]"?(i=new Set,e.forEach(function(s){i.add(wl(s))})):o==="[object Map]"?(i=new Map,e.forEach(function(s,a){i.set(wl(a),wl(s))})):o==="[object Date]"?i=new Date(+e):o==="[object RegExp]"?i=new RegExp(e.source,e.flags):o==="[object DataView]"?i=new e.constructor(wl(e.buffer)):o==="[object ArrayBuffer]"?i=e.slice(0):o.slice(-6)==="Array]"&&(i=new e.constructor(e)),i){for(r=Object.getOwnPropertySymbols(e);t<r.length;t++)G_(i,r[t],Object.getOwnPropertyDescriptor(e,r[t]));for(t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++)Object.hasOwnProperty.call(i,n=r[t])&&i[n]===e[n]||G_(i,n,Object.getOwnPropertyDescriptor(e,n))}return i||e}var kq=Object.defineProperty,Rq=(e,t,n)=>t in e?kq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,De=(e,t,n)=>Rq(e,typeof t!="symbol"?t+"":t,n);function Pq(e){for(;e.length>0;)e.pop();return e}var K_=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,Ao=e=>e,Dq=()=>{},q_=(()=>{let e=0;return()=>(e++,e.toString(36))})(),mg=e=>Array.isArray(e),Nf=e=>!(e==null||typeof e!="object"||mg(e)),Nq=e=>typeof e=="number"&&!Number.isNaN(e),zi=e=>typeof e=="string",gg=e=>typeof e=="function",Mq=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);function vg(e){if(!Lq(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const i=e[r];i!==void 0&&(n[r]=vg(i))}return n}var Lq=e=>e&&typeof e=="object"&&e.constructor===Object;function cy(...e){e.length===1?e[0]:e[1],e.length!==2||e[0]}function sm(...e){const t=e.length===1?e[0]:e[1];e.length!==2||e[0]}function zP(e,...t){for(const n of t){const r=vg(n);for(const i in r)Nf(n[i])?(e[i]||(e[i]={}),zP(e[i],n[i])):e[i]=n[i]}return e}function Y_(e){return wl(e)}function fi(e){return zi(e)?{type:e}:e}function ys(e){return e?mg(e)?e.slice():[e]:[]}function VP(e){return Nf(e)&&e.predicate!=null}var $q=()=>!0;function lS(e,t,n,r){return i=>{var o;return zi(i)?!!((o=e[i])!=null&&o.call(e,t,n,r)):gg(i)?i(t,n,r):i.predicate(e)(t,n,r)}}function Fq(...e){return{predicate:t=>(n,r,i)=>e.map(lS(t,n,r,i)).some(Boolean)}}function Bq(...e){return{predicate:t=>(n,r,i)=>e.map(lS(t,n,r,i)).every(Boolean)}}function jq(e){return{predicate:t=>(n,r,i)=>!lS(t,n,r,i)(e)}}function Hq(...e){return(t,n,r)=>r.state.matches(...e)}var hh={or:Fq,and:Bq,not:jq,stateIn:Hq};function WP(e,t){return e=e??$q,(n,r,i)=>{if(zi(e)){const o=t[e];return gg(o)?o(n,r,i):o}return VP(e)?e.predicate(t)(n,r,i):e==null?void 0:e(n,r,i)}}function fy(e,t){return(n,r,i)=>VP(e)?e.predicate(t)(n,r,i):e}function Uq(e){var t,n;const r=e.computed??Ao({}),i=e.context??Ao({}),o=e.initial?(n=(t=e.states)==null?void 0:t[e.initial])==null?void 0:n.tags:[],s=uS({value:e.initial??"",previousValue:"",event:Ao({}),previousEvent:Ao({}),context:Aq(i,r),done:!1,tags:o??[],hasTag(a){return this.tags.includes(a)},matches(...a){return a.includes(this.value)},can(a){return Ao(this).nextEvents.includes(a)},get nextEvents(){var a,u;const l=((u=(a=e.states)==null?void 0:a[this.value])==null?void 0:u.on)??{},c=(e==null?void 0:e.on)??{};return Object.keys({...l,...c})},get changed(){return this.event.value==="machine.init"||!this.previousValue?!1:this.value!==this.previousValue}});return Ao(s)}function qc(e,t){return(n,r)=>{if(Nq(e))return e;if(gg(e))return e(n,r);if(zi(e)){const i=Number.parseFloat(e);if(!Number.isNaN(i))return i;if(t){const o=t==null?void 0:t[e];return sm(o==null,`[@zag-js/core > determine-delay] Cannot determine delay for \`${e}\`. It doesn't exist in \`options.delays\``),gg(o)?o(n,r):o}}}}function zq(e){return zi(e)?{target:e}:e}function Vq(e,t){return(n,r,i)=>ys(e).map(zq).find(o=>WP(o.guard,t)(n,r,i)??o.target??o.actions)}var GP=class{constructor(e,t){var n,r,i,o,s;De(this,"status","Not Started"),De(this,"state"),De(this,"initialState"),De(this,"initialContext"),De(this,"id"),De(this,"type","machine"),De(this,"activityEvents",new Map),De(this,"delayedEvents",new Map),De(this,"stateListeners",new Set),De(this,"doneListeners",new Set),De(this,"contextWatchers",new Set),De(this,"removeStateListener",Dq),De(this,"parent"),De(this,"children",new Map),De(this,"guardMap"),De(this,"actionMap"),De(this,"delayMap"),De(this,"activityMap"),De(this,"sync"),De(this,"options"),De(this,"config"),De(this,"_created",()=>{var a;const u=fi("machine.created");this.executeActions((a=this.config)==null?void 0:a.created,u)}),De(this,"start",a=>{if(this.state.value="",this.state.tags=[],this.status==="Running")return this;this.status="Running",this.removeStateListener=pg(this.state,()=>{this.stateListeners.forEach(h=>{h(this.stateSnapshot)})},this.sync),this.setupContextWatchers(),this.executeActivities(fi("machine.start"),ys(this.config.activities),"machine.start"),this.executeActions(this.config.entry,fi("machine.start"));const u=fi("machine.init"),l=Nf(a)?a.value:a,c=Nf(a)?a.context:void 0;c&&this.setContext(c);const f={target:l??this.config.initial},d=this.getNextStateInfo(f,u);return this.initialState=d,this.performStateChangeEffects(this.state.value,d,u),this}),De(this,"setupContextWatchers",()=>{const{watch:a}=this.config;if(!a)return;let u=Ha(this.state.context);const l=pg(this.state.context,()=>{var c;const f=Ha(this.state.context);for(const[d,h]of Object.entries(a))(((c=this.options.compareFns)==null?void 0:c[d])??Object.is)(u[d],f[d])||this.executeActions(h,this.state.event);u=f});this.contextWatchers.add(l)}),De(this,"stop",()=>{if(this.status!=="Stopped")return this.performExitEffects(this.state.value,fi("machine.stop")),this.executeActions(this.config.exit,fi("machine.stop")),this.setState(""),this.setEvent("machine.stop"),this.stopStateListeners(),this.stopChildren(),this.stopActivities(),this.stopDelayedEvents(),this.stopContextWatchers(),this.status="Stopped",this}),De(this,"stopStateListeners",()=>{this.removeStateListener(),this.stateListeners.clear()}),De(this,"stopContextWatchers",()=>{this.contextWatchers.forEach(a=>a()),this.contextWatchers.clear()}),De(this,"stopDelayedEvents",()=>{this.delayedEvents.forEach(a=>{a.forEach(u=>u())}),this.delayedEvents.clear()}),De(this,"stopActivities",a=>{var u,l;a?((u=this.activityEvents.get(a))==null||u.forEach(c=>c()),(l=this.activityEvents.get(a))==null||l.clear(),this.activityEvents.delete(a)):(this.activityEvents.forEach(c=>{c.forEach(f=>f()),c.clear()}),this.activityEvents.clear())}),De(this,"sendChild",(a,u)=>{const l=fi(a),c=K_(u,this.contextSnapshot),f=this.children.get(c);f||sm(`[@zag-js/core] Cannot send '${l.type}' event to unknown child`),f.send(l)}),De(this,"stopChild",a=>{this.children.has(a)||sm(`[@zag-js/core > stop-child] Cannot stop unknown child ${a}`),this.children.get(a).stop(),this.children.delete(a)}),De(this,"removeChild",a=>{this.children.delete(a)}),De(this,"stopChildren",()=>{this.children.forEach(a=>a.stop()),this.children.clear()}),De(this,"setParent",a=>{this.parent=a}),De(this,"spawn",(a,u)=>{const l=K_(a);return u&&(l.id=u),l.type="machine.actor",l.setParent(this),this.children.set(l.id,Ao(l)),l.onDone(()=>{this.removeChild(l.id)}).start(),Ao(Ed(l))}),De(this,"stopActivity",a=>{var u;if(!this.state.value)return;const l=this.activityEvents.get(this.state.value);(u=l==null?void 0:l.get(a))==null||u(),l==null||l.delete(a)}),De(this,"addActivityCleanup",(a,u,l)=>{var c;a&&(this.activityEvents.has(a)?(c=this.activityEvents.get(a))==null||c.set(u,l):this.activityEvents.set(a,new Map([[u,l]])))}),De(this,"setState",a=>{this.state.previousValue=this.state.value,this.state.value=a;const u=this.getStateNode(a);a==null?Pq(this.state.tags):this.state.tags=ys(u==null?void 0:u.tags)}),De(this,"setContext",a=>{a&&zP(this.state.context,vg(a))}),De(this,"setOptions",a=>{const u=vg(a);this.actionMap={...this.actionMap,...u.actions},this.delayMap={...this.delayMap,...u.delays},this.activityMap={...this.activityMap,...u.activities},this.guardMap={...this.guardMap,...u.guards}}),De(this,"getStateNode",a=>{var u;if(a)return(u=this.config.states)==null?void 0:u[a]}),De(this,"getNextStateInfo",(a,u)=>{const l=this.determineTransition(a,u),c=!(l!=null&&l.target),f=(l==null?void 0:l.target)??this.state.value,d=this.state.value!==f,h=this.getStateNode(f),p={reenter:!c&&!d&&!(l!=null&&l.internal),transition:l,stateNode:h,target:f,changed:d};return this.log("NextState:",`[${u.type}]`,this.state.value,"---->",p.target),p}),De(this,"getAfterActions",(a,u)=>{let l;return{entry:()=>{l=globalThis.setTimeout(()=>{const c=this.getNextStateInfo(a,this.state.event);this.performStateChangeEffects(this.state.value,c,this.state.event)},u)},exit:()=>{globalThis.clearTimeout(l)}}}),De(this,"getDelayedEventActions",a=>{const u=this.getStateNode(a),l=this.state.event;if(!u||!u.after)return;const c=[],f=[];if(mg(u.after)){const d=this.determineTransition(u.after,l);if(!d)return;if(!Mq(d,"delay"))throw new Error(`[@zag-js/core > after] Delay is required for after transition: ${JSON.stringify(d)}`);const h=qc(d.delay,this.delayMap)(this.contextSnapshot,l),p=this.getAfterActions(d,h);return c.push(p.entry),f.push(p.exit),{entries:c,exits:f}}if(Nf(u.after))for(const d in u.after){const h=u.after[d],p=qc(d,this.delayMap)(this.contextSnapshot,l),m=this.getAfterActions(h,p);c.push(m.entry),f.push(m.exit)}return{entries:c,exits:f}}),De(this,"executeActions",(a,u)=>{var l;const c=fy(a,this.guardMap)(this.contextSnapshot,u,this.guardMeta);for(const f of ys(c)){const d=zi(f)?(l=this.actionMap)==null?void 0:l[f]:f;cy(zi(f)&&!d,`[@zag-js/core > execute-actions] No implementation found for action: \`${f}\``),d==null||d(this.state.context,u,this.meta)}}),De(this,"executeActivities",(a,u,l)=>{var c;for(const f of u){const d=zi(f)?(c=this.activityMap)==null?void 0:c[f]:f;if(!d){cy(`[@zag-js/core > execute-activity] No implementation found for activity: \`${f}\``);continue}const h=d(this.state.context,a,this.meta);if(h){const p=zi(f)?f:f.name||q_();this.addActivityCleanup(l??this.state.value,p,h)}}}),De(this,"createEveryActivities",(a,u)=>{if(a)if(mg(a)){const l=ys(a).find(f=>{const d=f.delay,h=qc(d,this.delayMap)(this.contextSnapshot,this.state.event);return WP(f.guard,this.guardMap)(this.contextSnapshot,this.state.event,this.guardMeta)??h!=null});if(!l)return;const c=qc(l.delay,this.delayMap)(this.contextSnapshot,this.state.event);u(()=>{const f=globalThis.setInterval(()=>{this.executeActions(l.actions,this.state.event)},c);return()=>{globalThis.clearInterval(f)}})}else for(const l in a){const c=a==null?void 0:a[l],f=qc(l,this.delayMap)(this.contextSnapshot,this.state.event);u(()=>{const d=globalThis.setInterval(()=>{this.executeActions(c,this.state.event)},f);return()=>{globalThis.clearInterval(d)}})}}),De(this,"setEvent",a=>{this.state.previousEvent=this.state.event,this.state.event=Ed(fi(a))}),De(this,"performExitEffects",(a,u)=>{const l=this.state.value;if(l==="")return;const c=a?this.getStateNode(a):void 0;this.stopActivities(l);const f=fy(c==null?void 0:c.exit,this.guardMap)(this.contextSnapshot,u,this.guardMeta),d=ys(f),h=this.delayedEvents.get(l);h&&d.push(...h),this.executeActions(d,u)}),De(this,"performEntryEffects",(a,u)=>{const l=this.getStateNode(a),c=ys(l==null?void 0:l.activities);this.createEveryActivities(l==null?void 0:l.every,p=>{c.unshift(p)}),c.length>0&&this.executeActivities(u,c);const f=fy(l==null?void 0:l.entry,this.guardMap)(this.contextSnapshot,u,this.guardMeta),d=ys(f),h=this.getDelayedEventActions(a);l!=null&&l.after&&h&&(this.delayedEvents.set(a,h==null?void 0:h.exits),d.push(...h.entries)),this.executeActions(d,u),(l==null?void 0:l.type)==="final"&&(this.state.done=!0,this.doneListeners.forEach(p=>{p(this.stateSnapshot)}),this.stop())}),De(this,"performTransitionEffects",(a,u)=>{const l=this.determineTransition(a,u);this.executeActions(l==null?void 0:l.actions,u)}),De(this,"performStateChangeEffects",(a,u,l)=>{this.setEvent(l);const c=u.changed||u.reenter;c&&this.performExitEffects(a,l),this.performTransitionEffects(u.transition,l),this.setState(u.target),c&&this.performEntryEffects(u.target,l)}),De(this,"determineTransition",(a,u)=>{const l=Vq(a,this.guardMap);return l==null?void 0:l(this.contextSnapshot,u,this.guardMeta)}),De(this,"sendParent",a=>{var u;this.parent||sm("[@zag-js/core > send-parent] Cannot send event to an unknown parent");const l=fi(a);(u=this.parent)==null||u.send(l)}),De(this,"log",(...a)=>{}),De(this,"send",a=>{const u=fi(a);this.transition(this.state.value,u)}),De(this,"transition",(a,u)=>{var l,c;const f=zi(a)?this.getStateNode(a):a==null?void 0:a.stateNode,d=fi(u);if(!f&&!this.config.on){const m=this.status==="Stopped"?"[@zag-js/core > transition] Cannot transition a stopped machine":`[@zag-js/core > transition] State does not have a definition for \`state\`: ${a}, \`event\`: ${d.type}`;cy(m);return}const h=((l=f==null?void 0:f.on)==null?void 0:l[d.type])??((c=this.config.on)==null?void 0:c[d.type]),p=this.getNextStateInfo(h,d);return this.performStateChangeEffects(this.state.value,p,d),p.stateNode}),De(this,"subscribe",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),()=>{this.stateListeners.delete(a)})),De(this,"onDone",a=>(this.doneListeners.add(a),this)),De(this,"onTransition",a=>(this.stateListeners.add(a),this.status==="Running"&&a(this.stateSnapshot),this)),this.config=Y_(e),this.options=Y_(t??{}),this.id=this.config.id??`machine-${q_()}`,this.guardMap=((n=this.options)==null?void 0:n.guards)??{},this.actionMap=((r=this.options)==null?void 0:r.actions)??{},this.delayMap=((i=this.options)==null?void 0:i.delays)??{},this.activityMap=((o=this.options)==null?void 0:o.activities)??{},this.sync=((s=this.options)==null?void 0:s.sync)??!1,this.state=Uq(this.config),this.initialContext=Ha(this.state.context)}get stateSnapshot(){return Ao(Ha(this.state))}getState(){return this.stateSnapshot}get contextSnapshot(){return this.stateSnapshot.context}get self(){const e=this;return{id:this.id,send:this.send.bind(this),sendParent:this.sendParent.bind(this),sendChild:this.sendChild.bind(this),stop:this.stop.bind(this),stopChild:this.stopChild.bind(this),spawn:this.spawn.bind(this),stopActivity:this.stopActivity.bind(this),get state(){return e.stateSnapshot},get initialContext(){return e.initialContext},get initialState(){var t;return((t=e.initialState)==null?void 0:t.target)??""}}}get meta(){var e;return{state:this.stateSnapshot,guards:this.guardMap,send:this.send.bind(this),self:this.self,initialContext:this.initialContext,initialState:((e=this.initialState)==null?void 0:e.target)??"",getState:()=>this.stateSnapshot,getAction:t=>this.actionMap[t],getGuard:t=>this.guardMap[t]}}get guardMeta(){return{state:this.stateSnapshot}}get[Symbol.toStringTag](){return"Machine"}getHydrationState(){const e=this.getState();return{value:e.value,tags:e.tags}}},ga=(e,t)=>new GP(e,t),Wq=e=>e instanceof GP||(e==null?void 0:e.type)==="machine",or=(e,t,n,r)=>{const i=typeof e=="function"?e():e;return i==null||i.addEventListener(t,n,r),()=>{i==null||i.removeEventListener(t,n,r)}},Gq=e=>e.button===0,Kq=e=>e.button===2||$P()&&e.ctrlKey&&e.button===0;function KP(e,t,n){const r=(o=>{const s=requestAnimationFrame(o);return()=>cancelAnimationFrame(s)})(()=>{e.removeEventListener(t,i,!0),n()}),i=()=>{r(),n()};return e.addEventListener(t,i,{once:!0,capture:!0}),r}function X_(e,t,n){if(!e)return;const r=e.ownerDocument.defaultView||window,i=new r.CustomEvent(t,n);return e.dispatchEvent(i)}var qq={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},J_={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function Q_(e,t={}){const{dir:n="ltr",orientation:r="horizontal"}=t;let{key:i}=e;return i=qq[i]??i,n==="rtl"&&r==="horizontal"&&i in J_&&(i=J_[i]),i}function Yq(e,t="client"){const n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}function Xq(e,t="client"){return{x:e[`${t}X`],y:e[`${t}Y`]}}var Jq=e=>"touches"in e&&e.touches.length>0;function Qq(e,t="client"){return Jq(e)?Yq(e,t):Xq(e,t)}var am=(...e)=>t=>e.reduce((n,r)=>r(n),t),up=()=>{},Zq=e=>!(e.metaKey||!$P()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta");function qP(e,t){if(!e)return;const{onFocus:n,onBlur:r}=t,i=Ru(e);let o=!1;const s=l=>{let c=!1;try{c=e.matches(":focus-visible")}catch{c=!0}c&&(o=!0,n==null||n(l))},a=l=>{o&&(o=!1,r==null||r(l))},u=l=>{if(!e.matches(":focus")||!Zq(l))return;o=!0;const c=new i.FocusEvent("focus");n==null||n(c)};return am(or(e,"focusin",s),or(e,"focusout",a),or(e,"keydown",u,!0))}function YP(e){const{pointerNode:t,keyboardNode:n=t,onPress:r,onPressStart:i,onPressEnd:o,isValidKey:s=y=>y.key==="Enter"}=e;if(!t)return up;const a=Ru(t),u=dh(t);let l=up,c=up,f=up;const d=y=>({point:Qq(y),event:y});function h(y){i==null||i(d(y))}function p(y){o==null||o(d(y))}const m=or(t,"pointerdown",y=>{c();const b=or(a,"pointerup",S=>{const E=mu(S);pu(t,E)?r==null||r(d(S)):o==null||o(d(S))},{passive:!r}),w=or(a,"pointercancel",p,{passive:!o});c=am(b,w),u.activeElement===n&&y.pointerType==="mouse"&&y.preventDefault(),h(y)},{passive:!i}),g=or(n,"focus",v);l=am(m,g);function v(){const y=E=>{if(!s(E))return;const _=O=>{if(!s(O))return;const T=new a.PointerEvent("pointerup"),x=d(T);r==null||r(x),o==null||o(x)};c(),c=or(n,"keyup",_);const C=new a.PointerEvent("pointerdown");h(C)},b=()=>{const E=new a.PointerEvent("pointercancel");p(E)},w=or(n,"keydown",y),S=or(n,"blur",b);f=am(w,S)}return function(){l(),c(),f()}}var XP=e=>e.ownerDocument.defaultView||window;function eY(e,t){const{type:n="HTMLInputElement",property:r="value"}=t,i=XP(e)[n].prototype;return Object.getOwnPropertyDescriptor(i,r)??{}}function JP(e,t){var n;(n=eY(e,{type:"HTMLInputElement",property:"checked"}).set)==null||n.call(e,t),t?e.setAttribute("checked",""):e.removeAttribute("checked")}function cS(e,t){const{checked:n,bubbles:r=!0}=t;if(!e)return;const i=XP(e);e instanceof i.HTMLInputElement&&(JP(e,n),e.dispatchEvent(new i.Event("click",{bubbles:r})))}function tY(e){return nY(e)?e.form:e.closest("form")}function nY(e){return e.matches("textarea, input, select, button")}function rY(e,t){if(!e)return;const n=tY(e);return n==null||n.addEventListener("reset",t,{passive:!0}),()=>{n==null||n.removeEventListener("reset",t)}}function iY(e,t){const n=e==null?void 0:e.closest("fieldset");if(!n)return;t(n.disabled);const r=n.ownerDocument.defaultView||window,i=new r.MutationObserver(()=>t(n.disabled));return i.observe(n,{attributes:!0,attributeFilter:["disabled"]}),()=>i.disconnect()}function W0(e,t){if(!e)return;const{onFieldsetDisabledChange:n,onFormReset:r}=t,i=[rY(e,r),iY(e,n)];return()=>{i.forEach(o=>o==null?void 0:o())}}var oY=(e,t)=>e.indexOf(t)!==-1,sY=(e,...t)=>e.concat(t),aY=(e,t)=>e.filter(n=>n!==t),uY=(e,t)=>oY(e,t)?aY(e,t):sY(e,t),Z_=e=>(e==null?void 0:e.constructor.name)==="Array",lY=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Ho(e[n],t[n]))return!1;return!0},Ho=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof(e==null?void 0:e.isEqual)=="function"&&typeof(t==null?void 0:t.isEqual)=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(Z_(e)&&Z_(t))return lY(Array.from(e),Array.from(t));if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let i=0;i<r;i++)if(!Reflect.has(e,n[i]))return!1;for(let i=0;i<r;i++){const o=n[i];if(!Ho(e[o],t[o]))return!1}return!0},um=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,cY=()=>{},eO=(...e)=>(...t)=>{e.forEach(function(n){n==null||n(...t)})},fY=(()=>{let e=0;return()=>(e++,e.toString(36))})(),dY=e=>Array.isArray(e),dy=e=>!(e==null||typeof e!="object"||dY(e)),hY=e=>typeof e=="string",QP=e=>typeof e=="function",pY=e=>e==null,hy=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);function lo(e){if(!mY(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const i=e[r];i!==void 0&&(n[r]=lo(i))}return n}var mY=e=>e&&typeof e=="object"&&e.constructor===Object;function fS(...e){e.length===1?e[0]:e[1],e.length!==2||e[0]}function gY(e){return new Proxy({},{get(){return e}})}var co=()=>e=>Array.from(new Set(e)),vY=Yi("checkbox").parts("root","label","control","indicator"),lp=vY.build(),Ln=Pu({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`checkbox:${e.id}`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`checkbox:${e.id}:label`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.control)??`checkbox:${e.id}:control`},getHiddenInputId:e=>{var t;return((t=e.ids)==null?void 0:t.hiddenInput)??`checkbox:${e.id}:input`},getRootEl:e=>Ln.getById(e,Ln.getRootId(e)),getHiddenInputEl:e=>Ln.getById(e,Ln.getHiddenInputId(e))});function yY(e,t,n){const r=e.context.isDisabled,i=!r&&e.context.focused,o=e.context.isChecked,s=e.context.isIndeterminate,a=e.context.readOnly,u={"data-active":Le(e.context.active),"data-focus":Le(i),"data-readonly":Le(a),"data-hover":Le(e.context.hovered),"data-disabled":Le(r),"data-state":s?"indeterminate":e.context.checked?"checked":"unchecked","data-invalid":Le(e.context.invalid)};return{checked:o,disabled:r,indeterminate:s,focused:i,checkedState:e.context.checked,setChecked(l){t({type:"CHECKED.SET",checked:l,isTrusted:!1})},toggleChecked(){t({type:"CHECKED.TOGGLE",checked:o,isTrusted:!1})},getRootProps(){return n.label({...lp.root.attrs,...u,dir:e.context.dir,id:Ln.getRootId(e.context),htmlFor:Ln.getHiddenInputId(e.context),onPointerMove(){r||t({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){r||t({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(l){l.target===Ln.getHiddenInputEl(e.context)&&l.stopPropagation()}})},getLabelProps(){return n.element({...lp.label.attrs,...u,dir:e.context.dir,id:Ln.getLabelId(e.context)})},getControlProps(){return n.element({...lp.control.attrs,...u,dir:e.context.dir,id:Ln.getControlId(e.context),"aria-hidden":!0})},getIndicatorProps(){return n.element({...lp.indicator.attrs,...u,dir:e.context.dir,hidden:!s&&!e.context.checked})},getHiddenInputProps(){return n.input({id:Ln.getHiddenInputId(e.context),type:"checkbox",required:e.context.required,defaultChecked:o,disabled:r,"aria-labelledby":Ln.getLabelId(e.context),"aria-invalid":e.context.invalid,name:e.context.name,form:e.context.form,value:e.context.value,style:V0,onClick(l){if(a){l.preventDefault();return}const c=l.currentTarget.checked;t({type:"CHECKED.SET",checked:c,isTrusted:!0})}})}}}var{not:tO}=hh;function bY(e){const t=lo(e);return ga({id:"checkbox",initial:"ready",context:{checked:!1,value:"on",disabled:!1,...t,fieldsetDisabled:!1},watch:{disabled:"removeFocusIfNeeded",checked:"syncInputElement"},activities:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:tO("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:tO("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},computed:{isIndeterminate:n=>E1(n.checked),isChecked:n=>nO(n.checked),isDisabled:n=>!!n.disabled||n.fieldsetDisabled},states:{ready:{}}},{guards:{isTrusted:(n,r)=>!!r.isTrusted},activities:{trackPressEvent(n){if(!n.isDisabled)return YP({pointerNode:Ln.getRootEl(n),keyboardNode:Ln.getHiddenInputEl(n),isValidKey:r=>r.key===" ",onPress:()=>n.active=!1,onPressStart:()=>n.active=!0,onPressEnd:()=>n.active=!1})},trackFocusVisible(n){if(!n.isDisabled)return qP(Ln.getHiddenInputEl(n),{onFocus:()=>n.focused=!0,onBlur:()=>n.focused=!1})},trackFormControlState(n,r,{send:i,initialContext:o}){return W0(Ln.getHiddenInputEl(n),{onFieldsetDisabledChange(s){n.fieldsetDisabled=s},onFormReset(){i({type:"CHECKED.SET",checked:!!o.checked})}})}},actions:{setContext(n,r){Object.assign(n,r.context)},syncInputElement(n){const r=Ln.getHiddenInputEl(n);r&&(JP(r,n.isChecked),r.indeterminate=n.isIndeterminate)},removeFocusIfNeeded(n){n.disabled&&n.focused&&(n.focused=!1)},setChecked(n,r){rO.checked(n,r.checked)},toggleChecked(n){const r=E1(n.checked)?!0:!n.checked;rO.checked(n,r)},dispatchChangeEvent(n){const r=Ln.getHiddenInputEl(n);cS(r,{checked:nO(n.checked)})}}})}function E1(e){return e==="indeterminate"}function nO(e){return E1(e)?!1:!!e}var wY={change:e=>{var t;(t=e.onCheckedChange)==null||t.call(e,{checked:e.checked})}},rO={checked:(e,t)=>{Ho(e.checked,t)||(e.checked=t,wY.change(e))}};co()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);function EY(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}var iO={htmlFor:"for",className:"class",onDoubleClick:"onDblclick",onChange:"onInput",onFocus:"onFocusin",onBlur:"onFocusout",defaultValue:"value",defaultChecked:"checked"};function SY(e){return e in iO?iO[e]:e.startsWith("on")?`on${EY(e.substr(2))}`:e.toLowerCase()}var va=gY(e=>{const t={};for(const n in e){const r=e[n];n==="children"?typeof r=="string"&&(t.innerHTML=r):t[SY(n)]=e[n]}return t});function ZP(e,t){const{actions:n,context:r}=t??{},i=gc(e.state),o=pg(e.state,()=>{i.value=Ha(e.state)});return ha(()=>{o==null||o()}),_r(()=>{e.setOptions({actions:n})}),r&&on(r,s=>{e.setContext(ln(s))},{deep:!0}),i}function xY(e){return[ZP(e),e.send]}function TY(e,t){const{state:n,context:r}=t??{},i=typeof e=="function"?e():e;return r&&i.setContext(ln(r)),i._created(),ni(()=>{i.start(n),Xd(()=>{i.stop()})}),i}function Du(e,t){const n=TY(e,t);return[ZP(n,t),n.send,n]}const _Y=["role","aria-label"],OY=["xlink:href"],IY=xt({__name:"icon",props:{name:{},keepFill:{type:Boolean,default:!0},alt:{default:""},size:{default:"default"}},setup(e){eh(r=>({"83a3a49a":n.value}));const t=e,n=_e(()=>t.keepFill?"#4a4a4a":"inherit");return(r,i)=>(Se(),Ne("div",{class:_t(["icon-box",t.size])},[(Se(),Ne("svg",{viewBox:"0 0 24 24",role:r.alt?"img":void 0,"aria-label":r.alt},[ge("use",{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":`#${r.keepFill?"keep_fill_":""}dgr_icon_${r.name}`},null,8,OY)],8,_Y))],2))}}),tc=xn(IY,[["__scopeId","data-v-24b2b64e"]]),CY={class:"container"},AY=xt({__name:"checkbox",props:au({id:{default:()=>da()},name:{default:void 0},value:{default:void 0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},form:{default:void 0},checkboxAlign:{default:"center"}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){eh(l=>({"3d6566d6":u.value}));const t=e,n=bc(e,"modelValue"),r=_e(()=>({name:t.name,value:t.value,checked:n.value,disabled:t.disabled,required:t.required,readOnly:t.readOnly,invalid:t.invalid,onCheckedChange(l){l.checked!=="indeterminate"&&(n.value=l.checked)}})),[i,o]=Du(bY({...r.value,id:t.id}),{context:r}),s=_e(()=>yY(i.value,o,va)),a=_e(()=>s.value.checked&&!s.value.disabled?"check-square-fill":"square-fill"),u=_e(()=>{switch(t.checkboxAlign){case"top":return"flex-start";case"bottom":return"flex-end";default:return"center"}});return(l,c)=>(Se(),Ne("label",gn(Gn(s.value.getRootProps())),[ge("div",CY,[ge("div",gn(Gn(s.value.getControlProps())),[te(tc,{name:a.value,size:"small","keep-fill":!1},null,8,["name"])],16),ge("span",gn(Gn(s.value.getLabelProps())),[Nt(l.$slots,"default",{},void 0,!0)],16)]),ge("input",gn(Gn(s.value.getHiddenInputProps())),null,16)],16))}}),cfe=xn(AY,[["__scopeId","data-v-0cd03eba"]]);var Yc=new WeakMap,Gr=[];function kY(e,t={}){const{rootEl:n}=t,r=e.filter(Boolean);if(r.length===0)return;const i=r[0].ownerDocument||document,o=i.defaultView??window,s=new Set(r),a=new Set,u=n??i.body;let l=h=>{for(let v of h.querySelectorAll("[data-live-announcer], [data-zag-top-layer]"))s.add(v);let p=v=>{if(s.has(v)||a.has(v.parentElement)&&v.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let y of s)if(v.contains(y))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},m=i.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:p}),g=p(h);if(g===NodeFilter.FILTER_ACCEPT&&c(h),g!==NodeFilter.FILTER_REJECT){let v=m.nextNode();for(;v!=null;)c(v),v=m.nextNode()}},c=h=>{let p=Yc.get(h)??0;h.getAttribute("aria-hidden")==="true"&&p===0||(p===0&&h.setAttribute("aria-hidden","true"),a.add(h),Yc.set(h,p+1))};Gr.length&&Gr[Gr.length-1].disconnect(),l(u);const f=new o.MutationObserver(h=>{for(let p of h)if(!(p.type!=="childList"||p.addedNodes.length===0)&&![...s,...a].some(m=>m.contains(p.target))){for(let m of p.removedNodes)m instanceof o.Element&&(s.delete(m),a.delete(m));for(let m of p.addedNodes)(m instanceof o.HTMLElement||m instanceof o.SVGElement)&&(m.dataset.liveAnnouncer==="true"||m.dataset.zagTopLayer==="true")?s.add(m):m instanceof o.Element&&l(m)}});f.observe(u,{childList:!0,subtree:!0});let d={observe(){f.observe(u,{childList:!0,subtree:!0})},disconnect(){f.disconnect()}};return Gr.push(d),()=>{f.disconnect();for(let h of a){let p=Yc.get(h);p===1?(h.removeAttribute("aria-hidden"),Yc.delete(h)):Yc.set(h,p-1)}d===Gr[Gr.length-1]?(Gr.pop(),Gr.length&&Gr[Gr.length-1].observe()):Gr.splice(Gr.indexOf(d),1)}}function eD(e,t={}){const{defer:n}=t,r=n?fn:o=>o(),i=[];return i.push(r(()=>{const o=typeof e=="function"?e():e;i.push(kY(o,t))})),()=>{i.forEach(o=>o==null?void 0:o())}}function RY(e){const t={each(n){var r;for(let i=0;i<((r=e.frames)==null?void 0:r.length);i+=1){const o=e.frames[i];o&&n(o)}},queueBeforeEvent(n,r){const i=new Set;return t.each(o=>{try{i.add(KP(o.document,n,r))}catch{}}),()=>{try{i.forEach(o=>o())}catch{}}},addEventListener(n,r,i){return t.each(o=>{try{o.document.addEventListener(n,r,i)}catch{}}),()=>{try{t.removeEventListener(n,r,i)}catch{}}},removeEventListener(n,r,i){t.each(o=>{try{o.document.removeEventListener(n,r,i)}catch{}})}};return t}var oO="pointerdown.outside",sO="focus.outside";function PY(e){for(const t of e)if(oo(t)&&wd(t))return!0;return!1}var tD=e=>"clientY"in e;function DY(e,t){if(!tD(t)||!e)return!1;const n=e.getBoundingClientRect();return n.width===0||n.height===0?!1:n.top<=t.clientY&&t.clientY<=n.top+n.height&&n.left<=t.clientX&&t.clientX<=n.left+n.width}function NY(e){const t=mu(e);if(!t||!tD(e))return!1;const n=t.scrollHeight>t.clientHeight&&e.clientX>t.clientWidth,r=t.scrollWidth>t.clientWidth&&e.clientY>t.clientHeight;return n||r}function MY(e,t){const{exclude:n,onFocusOutside:r,onPointerDownOutside:i,onInteractOutside:o,defer:s}=t;if(!e)return;const a=dh(e),u=Ru(e),l=RY(u);function c(g){const v=mu(g);return!oo(v)||pu(e,v)||DY(e,g)||NY(g)?!1:!(n!=null&&n(v))}const f=new Set;function d(g){function v(){var y;const b=s?fn:S=>S(),w=((y=g.composedPath)==null?void 0:y.call(g))??[g.target];b(()=>{if(!(!e||!c(g))){if(i||o){const S=eO(i,o);e.addEventListener(oO,S,{once:!0})}X_(e,oO,{bubbles:!1,cancelable:!0,detail:{originalEvent:g,contextmenu:Kq(g),focusable:PY(w)}})}})}g.pointerType==="touch"?(f.forEach(y=>y()),f.add(KP(a,"pointerup",v)),f.add(l.queueBeforeEvent("pointerup",v))):v()}const h=new Set,p=setTimeout(()=>{h.add(l.addEventListener("pointerdown",d,!0)),h.add(or(a,"pointerdown",d,!0))},0);function m(g){(s?fn:v=>v())(()=>{if(!(!e||!c(g))){if(r||o){const v=eO(r,o);e.addEventListener(sO,v,{once:!0})}X_(e,sO,{bubbles:!1,cancelable:!0,detail:{originalEvent:g,contextmenu:!1,focusable:wd(mu(g))}})}})}return h.add(or(a,"focusin",m,!0)),h.add(l.addEventListener("focusin",m,!0)),()=>{clearTimeout(p),f.forEach(g=>g()),h.forEach(g=>g())}}function LY(e,t){const{defer:n}=t,r=n?fn:o=>o(),i=[];return i.push(r(()=>{const o=typeof e=="function"?e():e;i.push(MY(o,t))})),()=>{i.forEach(o=>o==null?void 0:o())}}function $Y(e,t){const n=r=>{r.key==="Escape"&&(r.isComposing||t==null||t(r))};return or(dh(e),"keydown",n,{capture:!0})}var Nr={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){var t;const n=this.indexOf(e),r=this.topMostPointerBlockingLayer()?this.indexOf((t=this.topMostPointerBlockingLayer())==null?void 0:t.node):-1;return n<r},isTopMost(e){const t=this.layers[this.count()-1];return(t==null?void 0:t.node)===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},isInNestedLayer(e,t){return this.getNestedLayers(e).some(n=>pu(n.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>pu(t,e))},add(e){const t=this.layers.push(e);e.node.style.setProperty("--layer-index",`${t}`)},addBranch(e){this.branches.push(e)},remove(e){const t=this.indexOf(e);t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(n=>n.dismiss()),this.layers.splice(t,1),e.style.removeProperty("--layer-index"))},removeBranch(e){const t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e){var t;(t=this.layers[this.indexOf(e)])==null||t.dismiss()},clear(){this.remove(this.layers[0].node)}},aO;function uO(){Nr.layers.forEach(({node:e})=>{e.style.pointerEvents=Nr.isBelowPointerBlockingLayer(e)?"none":"auto"})}function FY(e){e.style.pointerEvents=""}function BY(e,t){const n=dh(e),r=[];if(Nr.hasPointerBlockingLayer()&&!n.body.hasAttribute("data-inert")&&(aO=document.body.style.pointerEvents,queueMicrotask(()=>{n.body.style.pointerEvents="none",n.body.setAttribute("data-inert","")})),t){const i=Sq(t,o=>{r.push(bq(o,{pointerEvents:"auto"}))});r.push(i)}return()=>{Nr.hasPointerBlockingLayer()||(queueMicrotask(()=>{n.body.style.pointerEvents=aO,n.body.removeAttribute("data-inert"),n.body.style.length===0&&n.body.removeAttribute("style")}),r.forEach(i=>i()))}}function jY(e,t){if(!e){fS("[@zag-js/dismissable] node is `null` or `undefined`");return}const{onDismiss:n,pointerBlocking:r,exclude:i,debug:o}=t,s={dismiss:n,node:e,pointerBlocking:r};Nr.add(s),uO();function a(d){var h,p;const m=mu(d.detail.originalEvent);Nr.isBelowPointerBlockingLayer(e)||Nr.isInBranch(m)||((h=t.onPointerDownOutside)==null||h.call(t,d),(p=t.onInteractOutside)==null||p.call(t,d),!d.defaultPrevented&&(o&&console.log("onPointerDownOutside:",d.detail.originalEvent),n==null||n()))}function u(d){var h,p;const m=mu(d.detail.originalEvent);Nr.isInBranch(m)||((h=t.onFocusOutside)==null||h.call(t,d),(p=t.onInteractOutside)==null||p.call(t,d),!d.defaultPrevented&&(o&&console.log("onFocusOutside:",d.detail.originalEvent),n==null||n()))}function l(d){var h;Nr.isTopMost(e)&&((h=t.onEscapeKeyDown)==null||h.call(t,d),!d.defaultPrevented&&n&&(d.preventDefault(),n()))}function c(d){var h;if(!e)return!1;const p=typeof i=="function"?i():i,m=Array.isArray(p)?p:[p],g=(h=t.persistentElements)==null?void 0:h.map(v=>v()).filter(oo);return g&&m.push(...g),m.some(v=>pu(v,d))||Nr.isInNestedLayer(e,d)}const f=[r?BY(e,t.persistentElements):void 0,$Y(e,l),LY(e,{exclude:c,onFocusOutside:u,onPointerDownOutside:a,defer:t.defer})];return()=>{Nr.remove(e),uO(),FY(e),f.forEach(d=>d==null?void 0:d())}}function dS(e,t){const{defer:n}=t,r=n?fn:o=>o(),i=[];return i.push(r(()=>{const o=QP(e)?e():e;i.push(jY(o,t))})),()=>{i.forEach(o=>o==null?void 0:o())}}function HY(e,t={}){const{defer:n}=t,r=n?fn:o=>o(),i=[];return i.push(r(()=>{const o=QP(e)?e():e;if(!o){fS("[@zag-js/dismissable] branch node is `null` or `undefined`");return}Nr.addBranch(o),i.push(()=>{Nr.removeBranch(o)})})),()=>{i.forEach(o=>o==null?void 0:o())}}var py="data-zag-scroll-lock";function lO(e,t){if(!e)return;const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}function UY(e,t,n){if(!e)return;const r=e.style.getPropertyValue(t);return e.style.setProperty(t,n),()=>{r?e.style.setProperty(t,r):e.style.removeProperty(t)}}function zY(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function nD(e){const t=e??document,n=t.defaultView??window,{documentElement:r,body:i}=t;if(i.hasAttribute(py))return;i.setAttribute(py,"");const o=n.innerWidth-r.clientWidth,s=()=>UY(r,"--scrollbar-width",`${o}px`),a=zY(r),u=()=>lO(i,{overflow:"hidden",[a]:`${o}px`}),l=()=>{const{scrollX:f,scrollY:d,visualViewport:h}=n,p=(h==null?void 0:h.offsetLeft)??0,m=(h==null?void 0:h.offsetTop)??0,g=lO(i,{position:"fixed",overflow:"hidden",top:`${-(d-Math.floor(m))}px`,left:`${-(f-Math.floor(p))}px`,right:"0",[a]:`${o}px`});return()=>{g==null||g(),n.scrollTo({left:f,top:d,behavior:"instant"})}},c=[s(),KK()?l():u()];return()=>{c.forEach(f=>f==null?void 0:f()),i.removeAttribute(py)}}/*!
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var rD=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],yg=rD.join(","),iD=typeof Element>"u",gu=iD?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,bg=!iD&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},wg=function e(t,n){var r;n===void 0&&(n=!0);var i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=i===""||i==="true",s=o||n&&t&&e(t.parentNode);return s},VY=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},oD=function(e,t,n){if(wg(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(yg));return t&&gu.call(e,yg)&&r.unshift(e),r=r.filter(n),r},sD=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var s=o.shift();if(!wg(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),u=a.length?a:s.children,l=e(u,!0,r);r.flatten?i.push.apply(i,l):i.push({scopeParent:s,candidates:l})}else{var c=gu.call(s,yg);c&&r.filter(s)&&(n||!t.includes(s))&&i.push(s);var f=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),d=!wg(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(f&&d){var h=e(f===!0?s.children:f.children,!0,r);r.flatten?i.push.apply(i,h):i.push({scopeParent:s,candidates:h})}else o.unshift.apply(o,s.children)}}return i},aD=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},La=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||VY(e))&&!aD(e)?0:e.tabIndex},WY=function(e,t){var n=La(e);return n<0&&t&&!aD(e)?0:n},GY=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},uD=function(e){return e.tagName==="INPUT"},KY=function(e){return uD(e)&&e.type==="hidden"},qY=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},YY=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},XY=function(e){if(!e.name)return!0;var t=e.form||bg(e),n=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=YY(r,e.form);return!i||i===e},JY=function(e){return uD(e)&&e.type==="radio"},QY=function(e){return JY(e)&&!XY(e)},ZY=function(e){var t,n=e&&bg(e),r=(t=n)===null||t===void 0?void 0:t.host,i=!1;if(n&&n!==e){var o,s,a;for(i=!!((o=r)!==null&&o!==void 0&&(s=o.ownerDocument)!==null&&s!==void 0&&s.contains(r)||e!=null&&(a=e.ownerDocument)!==null&&a!==void 0&&a.contains(e));!i&&r;){var u,l,c;n=bg(r),r=(u=n)===null||u===void 0?void 0:u.host,i=!!((l=r)!==null&&l!==void 0&&(c=l.ownerDocument)!==null&&c!==void 0&&c.contains(r))}}return i},cO=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},eX=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var i=gu.call(e,"details>summary:first-of-type"),o=i?e.parentElement:e;if(gu.call(o,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof r=="function"){for(var s=e;e;){var a=e.parentElement,u=bg(e);if(a&&!a.shadowRoot&&r(a)===!0)return cO(e);e.assignedSlot?e=e.assignedSlot:!a&&u!==e.ownerDocument?e=u.host:e=a}e=s}if(ZY(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return cO(e);return!1},tX=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName==="LEGEND")return gu.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},Eg=function(e,t){return!(t.disabled||wg(t)||KY(t)||eX(t,e)||qY(t)||tX(t))},S1=function(e,t){return!(QY(t)||La(t)<0||!Eg(e,t))},nX=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},rX=function e(t){var n=[],r=[];return t.forEach(function(i,o){var s=!!i.scopeParent,a=s?i.scopeParent:i,u=WY(a,s),l=s?e(i.candidates):a;u===0?s?n.push.apply(n,l):n.push(a):r.push({documentOrder:o,tabIndex:u,item:i,isScope:s,content:l})}),r.sort(GY).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(n)},iX=function(e,t){t=t||{};var n;return t.getShadowRoot?n=sD([e],t.includeContainer,{filter:S1.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:nX}):n=oD(e,t.includeContainer,S1.bind(null,t)),rX(n)},oX=function(e,t){t=t||{};var n;return t.getShadowRoot?n=sD([e],t.includeContainer,{filter:Eg.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=oD(e,t.includeContainer,Eg.bind(null,t)),n},Wu=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return gu.call(e,yg)===!1?!1:S1(t,e)},sX=rD.concat("iframe").join(","),my=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return gu.call(e,sX)===!1?!1:Eg(t,e)};/*!
* focus-trap 7.5.4
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/function fO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function dO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fO(Object(n),!0).forEach(function(r){aX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fO(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function aX(e,t,n){return t=lX(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uX(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lX(e){var t=uX(e,"string");return typeof t=="symbol"?t:String(t)}var hO={activateTrap:function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},cX=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},fX=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},Mf=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},dX=function(e){return Mf(e)&&!e.shiftKey},hX=function(e){return Mf(e)&&e.shiftKey},pO=function(e){return setTimeout(e,0)},mO=function(e,t){var n=-1;return e.every(function(r,i){return t(r)?(n=i,!1):!0}),n},Xc=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return typeof e=="function"?e.apply(void 0,n):e},cp=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},pX=[],lD=function(e,t){var n=(t==null?void 0:t.document)||document,r=(t==null?void 0:t.trapStack)||pX,i=dO({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:dX,isKeyBackward:hX},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s,a=function(T,x,I){return T&&T[x]!==void 0?T[x]:i[I||x]},u=function(T,x){var I=typeof(x==null?void 0:x.composedPath)=="function"?x.composedPath():void 0;return o.containerGroups.findIndex(function(A){var D=A.container,R=A.tabbableNodes;return D.contains(T)||(I==null?void 0:I.includes(D))||R.find(function(k){return k===T})})},l=function(T){var x=i[T];if(typeof x=="function"){for(var I=arguments.length,A=new Array(I>1?I-1:0),D=1;D<I;D++)A[D-1]=arguments[D];x=x.apply(void 0,A)}if(x===!0&&(x=void 0),!x){if(x===void 0||x===!1)return x;throw new Error("`".concat(T,"` was specified but was not a node, or did not return a node"))}var R=x;if(typeof x=="string"&&(R=n.querySelector(x),!R))throw new Error("`".concat(T,"` as selector refers to no known node"));return R},c=function(){var T=l("initialFocus");if(T===!1)return!1;if(T===void 0||!my(T,i.tabbableOptions))if(u(n.activeElement)>=0)T=n.activeElement;else{var x=o.tabbableGroups[0],I=x&&x.firstTabbableNode;T=I||l("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},f=function(){if(o.containerGroups=o.containers.map(function(T){var x=iX(T,i.tabbableOptions),I=oX(T,i.tabbableOptions),A=x.length>0?x[0]:void 0,D=x.length>0?x[x.length-1]:void 0,R=I.find(function(N){return Wu(N)}),k=I.slice().reverse().find(function(N){return Wu(N)}),P=!!x.find(function(N){return La(N)>0});return{container:T,tabbableNodes:x,focusableNodes:I,posTabIndexesFound:P,firstTabbableNode:A,lastTabbableNode:D,firstDomTabbableNode:R,lastDomTabbableNode:k,nextTabbableNode:function(N){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=x.indexOf(N);return F<0?$?I.slice(I.indexOf(N)+1).find(function(V){return Wu(V)}):I.slice(0,I.indexOf(N)).reverse().find(function(V){return Wu(V)}):x[F+($?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(T){return T.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(T){return T.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},d=function T(x){var I=x.activeElement;if(I)return I.shadowRoot&&I.shadowRoot.activeElement!==null?T(I.shadowRoot):I},h=function T(x){if(x!==!1&&x!==d(document)){if(!x||!x.focus){T(c());return}x.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=x,cX(x)&&x.select()}},p=function(T){var x=l("setReturnFocus",T);return x||(x===!1?!1:T)},m=function(T){var x=T.target,I=T.event,A=T.isBackward,D=A===void 0?!1:A;x=x||cp(I),f();var R=null;if(o.tabbableGroups.length>0){var k=u(x,I),P=k>=0?o.containerGroups[k]:void 0;if(k<0)D?R=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:R=o.tabbableGroups[0].firstTabbableNode;else if(D){var N=mO(o.tabbableGroups,function(U){var Y=U.firstTabbableNode;return x===Y});if(N<0&&(P.container===x||my(x,i.tabbableOptions)&&!Wu(x,i.tabbableOptions)&&!P.nextTabbableNode(x,!1))&&(N=k),N>=0){var $=N===0?o.tabbableGroups.length-1:N-1,F=o.tabbableGroups[$];R=La(x)>=0?F.lastTabbableNode:F.lastDomTabbableNode}else Mf(I)||(R=P.nextTabbableNode(x,!1))}else{var V=mO(o.tabbableGroups,function(U){var Y=U.lastTabbableNode;return x===Y});if(V<0&&(P.container===x||my(x,i.tabbableOptions)&&!Wu(x,i.tabbableOptions)&&!P.nextTabbableNode(x))&&(V=k),V>=0){var H=V===o.tabbableGroups.length-1?0:V+1,G=o.tabbableGroups[H];R=La(x)>=0?G.firstTabbableNode:G.firstDomTabbableNode}else Mf(I)||(R=P.nextTabbableNode(x))}}else R=l("fallbackFocus");return R},g=function(T){var x=cp(T);if(!(u(x,T)>=0)){if(Xc(i.clickOutsideDeactivates,T)){s.deactivate({returnFocus:i.returnFocusOnDeactivate});return}Xc(i.allowOutsideClick,T)||T.preventDefault()}},v=function(T){var x=cp(T),I=u(x,T)>=0;if(I||x instanceof Document)I&&(o.mostRecentlyFocusedNode=x);else{T.stopImmediatePropagation();var A,D=!0;if(o.mostRecentlyFocusedNode)if(La(o.mostRecentlyFocusedNode)>0){var R=u(o.mostRecentlyFocusedNode),k=o.containerGroups[R].tabbableNodes;if(k.length>0){var P=k.findIndex(function(N){return N===o.mostRecentlyFocusedNode});P>=0&&(i.isKeyForward(o.recentNavEvent)?P+1<k.length&&(A=k[P+1],D=!1):P-1>=0&&(A=k[P-1],D=!1))}}else o.containerGroups.some(function(N){return N.tabbableNodes.some(function($){return La($)>0})})||(D=!1);else D=!1;D&&(A=m({target:o.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(o.recentNavEvent)})),h(A||o.mostRecentlyFocusedNode||c())}o.recentNavEvent=void 0},y=function(T){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=T;var I=m({event:T,isBackward:x});I&&(Mf(T)&&T.preventDefault(),h(I))},b=function(T){if(fX(T)&&Xc(i.escapeDeactivates,T)!==!1){T.preventDefault(),s.deactivate();return}(i.isKeyForward(T)||i.isKeyBackward(T))&&y(T,i.isKeyBackward(T))},w=function(T){var x=cp(T);u(x,T)>=0||Xc(i.clickOutsideDeactivates,T)||Xc(i.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},S=function(){if(o.active)return hO.activateTrap(r,s),o.delayInitialFocusTimer=i.delayInitialFocus?pO(function(){h(c())}):h(c()),n.addEventListener("focusin",v,!0),n.addEventListener("mousedown",g,{capture:!0,passive:!1}),n.addEventListener("touchstart",g,{capture:!0,passive:!1}),n.addEventListener("click",w,{capture:!0,passive:!1}),n.addEventListener("keydown",b,{capture:!0,passive:!1}),s},E=function(){if(o.active)return n.removeEventListener("focusin",v,!0),n.removeEventListener("mousedown",g,!0),n.removeEventListener("touchstart",g,!0),n.removeEventListener("click",w,!0),n.removeEventListener("keydown",b,!0),s},_=function(T){var x=T.some(function(I){var A=Array.from(I.removedNodes);return A.some(function(D){return D===o.mostRecentlyFocusedNode})});x&&h(c())},C=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(_):void 0,O=function(){C&&(C.disconnect(),o.active&&!o.paused&&o.containers.map(function(T){C.observe(T,{subtree:!0,childList:!0})}))};return s={get active(){return o.active},get paused(){return o.paused},activate:function(T){if(o.active)return this;var x=a(T,"onActivate"),I=a(T,"onPostActivate"),A=a(T,"checkCanFocusTrap");A||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=n.activeElement,x==null||x();var D=function(){A&&f(),S(),O(),I==null||I()};return A?(A(o.containers.concat()).then(D,D),this):(D(),this)},deactivate:function(T){if(!o.active)return this;var x=dO({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},T);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,E(),o.active=!1,o.paused=!1,O(),hO.deactivateTrap(r,s);var I=a(x,"onDeactivate"),A=a(x,"onPostDeactivate"),D=a(x,"checkCanReturnFocus"),R=a(x,"returnFocus","returnFocusOnDeactivate");I==null||I();var k=function(){pO(function(){R&&h(p(o.nodeFocusedBeforeActivation)),A==null||A()})};return R&&D?(D(p(o.nodeFocusedBeforeActivation)).then(k,k),this):(k(),this)},pause:function(T){if(o.paused||!o.active)return this;var x=a(T,"onPause"),I=a(T,"onPostPause");return o.paused=!0,x==null||x(),E(),O(),I==null||I(),this},unpause:function(T){if(!o.paused||!o.active)return this;var x=a(T,"onUnpause"),I=a(T,"onPostUnpause");return o.paused=!1,x==null||x(),f(),S(),O(),I==null||I(),this},updateContainerElements:function(T){var x=[].concat(T).filter(Boolean);return o.containers=x.map(function(I){return typeof I=="string"?n.querySelector(I):I}),o.active&&f(),O(),this}},s.updateContainerElements(e),s},mX=Yi("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),Oa=mX.build(),st=Pu({getPositionerId:e=>{var t;return((t=e.ids)==null?void 0:t.positioner)??`dialog:${e.id}:positioner`},getBackdropId:e=>{var t;return((t=e.ids)==null?void 0:t.backdrop)??`dialog:${e.id}:backdrop`},getContentId:e=>{var t;return((t=e.ids)==null?void 0:t.content)??`dialog:${e.id}:content`},getTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`dialog:${e.id}:trigger`},getTitleId:e=>{var t;return((t=e.ids)==null?void 0:t.title)??`dialog:${e.id}:title`},getDescriptionId:e=>{var t;return((t=e.ids)==null?void 0:t.description)??`dialog:${e.id}:description`},getCloseTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.closeTrigger)??`dialog:${e.id}:close`},getContentEl:e=>st.getById(e,st.getContentId(e)),getPositionerEl:e=>st.getById(e,st.getPositionerId(e)),getBackdropEl:e=>st.getById(e,st.getBackdropId(e)),getTriggerEl:e=>st.getById(e,st.getTriggerId(e)),getTitleEl:e=>st.getById(e,st.getTitleId(e)),getDescriptionEl:e=>st.getById(e,st.getDescriptionId(e)),getCloseTriggerEl:e=>st.getById(e,st.getCloseTriggerId(e))});function gX(e,t,n){const r=e.context["aria-label"],i=e.matches("open"),o=e.context.renderedElements;return{open:i,setOpen(s){s!==i&&t(s?"OPEN":"CLOSE")},getTriggerProps(){return n.button({...Oa.trigger.attrs,dir:e.context.dir,id:st.getTriggerId(e.context),"aria-haspopup":"dialog",type:"button","aria-expanded":i,"data-state":i?"open":"closed","aria-controls":st.getContentId(e.context),onClick(s){s.defaultPrevented||t("TOGGLE")}})},getBackdropProps(){return n.element({...Oa.backdrop.attrs,dir:e.context.dir,hidden:!i,id:st.getBackdropId(e.context),"data-state":i?"open":"closed"})},getPositionerProps(){return n.element({...Oa.positioner.attrs,dir:e.context.dir,id:st.getPositionerId(e.context),style:{pointerEvents:i?void 0:"none"}})},getContentProps(){return n.element({...Oa.content.attrs,dir:e.context.dir,role:e.context.role,hidden:!i,id:st.getContentId(e.context),tabIndex:-1,"data-state":i?"open":"closed","aria-modal":!0,"aria-label":r||void 0,"aria-labelledby":r||!o.title?void 0:st.getTitleId(e.context),"aria-describedby":o.description?st.getDescriptionId(e.context):void 0})},getTitleProps(){return n.element({...Oa.title.attrs,dir:e.context.dir,id:st.getTitleId(e.context)})},getDescriptionProps(){return n.element({...Oa.description.attrs,dir:e.context.dir,id:st.getDescriptionId(e.context)})},getCloseTriggerProps(){return n.button({...Oa.closeTrigger.attrs,dir:e.context.dir,id:st.getCloseTriggerId(e.context),type:"button",onClick(s){s.defaultPrevented||(s.stopPropagation(),t("CLOSE"))}})}}}function vX(e){const t=lo(e);return ga({id:"dialog",initial:t.open?"open":"closed",context:{role:"dialog",renderedElements:{title:!0,description:!0},modal:!0,trapFocus:!0,preventScroll:!0,closeOnInteractOutside:!0,closeOnEscape:!0,restoreFocus:!0,...t},created:["checkInitialFocusEl"],watch:{open:["toggleVisibility"]},states:{open:{entry:["checkRenderedElements","syncZIndex"],activities:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["setFinalFocus"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}}},{guards:{isOpenControlled:n=>!!n["open.controlled"]},activities:{trackDismissableElement(n,r,{send:i}){return dS(()=>st.getContentEl(n),{defer:!0,pointerBlocking:n.modal,exclude:[st.getTriggerEl(n)],onInteractOutside(o){var s;(s=n.onInteractOutside)==null||s.call(n,o),(!n.closeOnInteractOutside||n.role==="alertdialog")&&o.preventDefault()},persistentElements:n.persistentElements,onFocusOutside:n.onFocusOutside,onPointerDownOutside:n.onPointerDownOutside,onEscapeKeyDown(o){var s;(s=n.onEscapeKeyDown)==null||s.call(n,o),n.closeOnEscape?i({type:"CLOSE",src:"escape-key"}):o.preventDefault()},onDismiss(){i({type:"CLOSE",src:"interact-outside"})}})},preventScroll(n){if(n.preventScroll)return nD(st.getDoc(n))},trapFocus(n){if(!n.trapFocus||!n.modal)return;let r;const i=aS(()=>{const o=st.getContentEl(n);if(o){r=lD(o,{document:st.getDoc(n),escapeDeactivates:!1,preventScroll:!0,returnFocusOnDeactivate:!1,fallbackFocus:o,allowOutsideClick:!0,initialFocus:hg({root:o,getInitialEl:n.initialFocusEl})});try{r.activate()}catch{}}});return()=>{r==null||r.deactivate(),i()}},hideContentBelow(n){return n.modal?eD(()=>[st.getContentEl(n)],{defer:!0}):void 0}},actions:{checkInitialFocusEl(n){!n.initialFocusEl&&n.role==="alertdialog"&&(n.initialFocusEl=()=>st.getCloseTriggerEl(n))},checkRenderedElements(n){fn(()=>{n.renderedElements.title=!!st.getTitleEl(n),n.renderedElements.description=!!st.getDescriptionEl(n)})},syncZIndex(n){fn(()=>{const r=st.getContentEl(n);if(!r)return;const i=st.getWin(n).getComputedStyle(r);[st.getPositionerEl(n),st.getBackdropEl(n)].forEach(o=>{o==null||o.style.setProperty("--z-index",i.zIndex)})})},invokeOnClose(n){var r;(r=n.onOpenChange)==null||r.call(n,{open:!1})},invokeOnOpen(n){var r;(r=n.onOpenChange)==null||r.call(n,{open:!0})},toggleVisibility(n,r,{send:i}){i({type:n.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:r})},setFinalFocus(n){n.restoreFocus&&queueMicrotask(()=>{var r;const i=((r=n.finalFocusEl)==null?void 0:r.call(n))??st.getTriggerEl(n);i==null||i.focus({preventScroll:!0})})}}})}co()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","open.controlled","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);const yX={key:0},bX={class:"c-text--m"},wX={class:"footer"},EX={class:"cancel-button"},SX={class:"button submit-button"},xX=xt({__name:"dialog",props:au({trapFocus:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},restoreFocus:{type:Boolean,default:!0},closeOnInteractOutside:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},preventScroll:{type:Boolean,default:!0},persistentElements:{default:void 0},role:{default:"dialog"},id:{default:()=>da()},title:{default:void 0},cancelLabel:{default:"キャンセル"},submitLabel:{default:"OK"},closeInterceptorHandler:{type:Function,default:void 0},teleportTarget:{default:"body"}},{open:{type:Boolean,required:!1,default:!1},openModifiers:{}}),emits:au(["submit","cancel"],["update:open"]),setup(e,{emit:t}){const n=e,r=bc(e,"open"),i=t,o=_e(()=>({open:r.value,onOpenChange(E){r.value=E.open},persistentElements:n.persistentElements})),s=()=>{i("cancel"),S.value.setOpen(!1)},a=()=>{i("submit")},u=async E=>{n.closeInterceptorHandler&&(E.preventDefault(),E.stopPropagation(),E.stopImmediatePropagation(),await n.closeInterceptorHandler()&&S.value.setOpen(!1))},l=Je(null),{trapFocus:c,modal:f,restoreFocus:d,closeOnInteractOutside:h,closeOnEscape:p,preventScroll:m,role:g,id:v}=n,y=E=>{var _;if(((_=n.persistentElements)==null?void 0:_.some(C=>{var O;return((O=C==null?void 0:C())==null?void 0:O.contains(E.target))??!1}))??!1){E.preventDefault();return}u(E)},[b,w]=Du(vX({...o.value,trapFocus:c,modal:f,restoreFocus:d,closeOnInteractOutside:h,closeOnEscape:p,preventScroll:m,role:g,id:v,onInteractOutside:y}),{context:o}),S=_e(()=>gX(b.value,w,va));return(E,_)=>(Se(),Ur(yc,{to:E.teleportTarget},[S.value.open?(Se(),Ne("div",yX,[ge("div",gn(Gn(S.value.getBackdropProps())),null,16),ge("div",gn(Gn(S.value.getPositionerProps())),[ge("div",gn(Gn(S.value.getContentProps())),[n.title?(Se(),Ne("div",gn(Et({key:0},S.value.getTitleProps())),[ge("div",bX,un(n.title),1),ge("div",null,[ge("button",Et(S.value.getCloseTriggerProps(),{onClickCapture:_[0]||(_[0]=C=>u(C))}),[te(ln(tc),{name:"times",alt:"close button",size:"small"})],16)])],16)):Jn("",!0),ge("div",Et(S.value.getDescriptionProps(),{class:"c-text--m"}),[Nt(E.$slots,"description",{},void 0,!0)],16),ge("div",wX,[Nt(E.$slots,"footer",{},()=>[ge("div",EX,[Nt(E.$slots,"cancel",{},()=>[ge("button",{ref_key:"cancelButtonRef",ref:l,type:"button",class:"button cancel-button",onClick:s},un(n.cancelLabel),513)],!0)]),ge("div",SX,[Nt(E.$slots,"submit",{},()=>[ge("button",{type:"button",class:"primary-button",onClick:a},un(n.submitLabel),1)],!0)])],!0)])],16)],16)])):Jn("",!0)],8,["to"]))}}),ffe=xn(xX,[["__scopeId","data-v-389c1715"]]),TX="M-0.111261,-0.487464,0.311745,-0.390916,0.5,0,0.311745,0.390916,-0.111261,0.487464,-0.450484,0.216942,-0.450484,-0.216942z",_X=xt({__name:"loading",props:{size:{default:"medium"}},setup(e){const t=e;return(n,r)=>(Se(),Ne("div",{class:_t(["loader",t.size])},[ge("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"-0.6 -0.6 1.2 1.2"},[ge("g",{class:"heptagon",transform:"rotate(13)"},[ge("path",{class:"path","stroke-miterlimit":"10",d:TX,fill:"none",stroke:"#98d1bc","stroke-width":"0.2"})])])],2))}}),dfe=xn(_X,[["__scopeId","data-v-4df29218"]]),Wi=Math.min,Lr=Math.max,Sg=Math.round,fp=Math.floor,ta=e=>({x:e,y:e}),OX={left:"right",right:"left",bottom:"top",top:"bottom"},IX={start:"end",end:"start"};function x1(e,t,n){return Lr(e,Wi(t,n))}function na(e,t){return typeof e=="function"?e(t):e}function Qo(e){return e.split("-")[0]}function Cc(e){return e.split("-")[1]}function hS(e){return e==="x"?"y":"x"}function pS(e){return e==="y"?"height":"width"}function ra(e){return["top","bottom"].includes(Qo(e))?"y":"x"}function mS(e){return hS(ra(e))}function CX(e,t,n){n===void 0&&(n=!1);const r=Cc(e),i=mS(e),o=pS(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=xg(s)),[s,xg(s)]}function AX(e){const t=xg(e);return[T1(e),t,T1(t)]}function T1(e){return e.replace(/start|end/g,t=>IX[t])}function kX(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}function RX(e,t,n,r){const i=Cc(e);let o=kX(Qo(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(T1)))),o}function xg(e){return e.replace(/left|right|bottom|top/g,t=>OX[t])}function PX(e){return{top:0,right:0,bottom:0,left:0,...e}}function cD(e){return typeof e!="number"?PX(e):{top:e,right:e,bottom:e,left:e}}function Tg(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function gO(e,t,n){let{reference:r,floating:i}=e;const o=ra(t),s=mS(t),a=pS(s),u=Qo(t),l=o==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(u){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Cc(t)){case"start":h[s]-=d*(n&&l?-1:1);break;case"end":h[s]+=d*(n&&l?-1:1);break}return h}const DX=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=gO(l,r,u),d=r,h={},p=0;for(let m=0;m<a.length;m++){const{name:g,fn:v}=a[m],{x:y,y:b,data:w,reset:S}=await v({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:s,elements:{reference:e,floating:t}});c=y??c,f=b??f,h={...h,[g]:{...h[g],...w}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(l=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:c,y:f}=gO(l,d,u)),m=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}};async function gS(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=na(t,e),p=cD(h),m=a[d?f==="floating"?"reference":"floating":f],g=Tg(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(m)))==null||n?m:m.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:u})),v=f==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),b=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},w=Tg(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:u}):v);return{top:(g.top-w.top+p.top)/b.y,bottom:(w.bottom-g.bottom+p.bottom)/b.y,left:(g.left-w.left+p.left)/b.x,right:(w.right-g.right+p.right)/b.x}}const NX=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:u}=t,{element:l,padding:c=0}=na(e,t)||{};if(l==null)return{};const f=cD(c),d={x:n,y:r},h=mS(i),p=pS(h),m=await s.getDimensions(l),g=h==="y",v=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",w=o.reference[p]+o.reference[h]-d[h]-o.floating[p],S=d[h]-o.reference[h],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let _=E?E[b]:0;(!_||!await(s.isElement==null?void 0:s.isElement(E)))&&(_=a.floating[b]||o.floating[p]);const C=w/2-S/2,O=_/2-m[p]/2-1,T=Wi(f[v],O),x=Wi(f[y],O),I=T,A=_-m[p]-x,D=_/2-m[p]/2+C,R=x1(I,D,A),k=!u.arrow&&Cc(i)!=null&&D!==R&&o.reference[p]/2-(D<I?T:x)-m[p]/2<0,P=k?D<I?D-I:D-A:0;return{[h]:d[h]+P,data:{[h]:R,centerOffset:D-R-P,...k&&{alignmentOffset:P}},reset:k}}}),MX=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:u,elements:l}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=na(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const v=Qo(i),y=ra(a),b=Qo(a)===a,w=await(u.isRTL==null?void 0:u.isRTL(l.floating)),S=d||(b||!m?[xg(a)]:AX(a)),E=p!=="none";!d&&E&&S.push(...RX(a,m,p,w));const _=[a,...S],C=await gS(t,g),O=[];let T=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&O.push(C[v]),f){const D=CX(i,s,w);O.push(C[D[0]],C[D[1]])}if(T=[...T,{placement:i,overflows:O}],!O.every(D=>D<=0)){var x,I;const D=(((x=o.flip)==null?void 0:x.index)||0)+1,R=_[D];if(R)return{data:{index:D,overflows:T},reset:{placement:R}};let k=(I=T.filter(P=>P.overflows[0]<=0).sort((P,N)=>P.overflows[1]-N.overflows[1])[0])==null?void 0:I.placement;if(!k)switch(h){case"bestFit":{var A;const P=(A=T.filter(N=>{if(E){const $=ra(N.placement);return $===y||$==="y"}return!0}).map(N=>[N.placement,N.overflows.filter($=>$>0).reduce(($,F)=>$+F,0)]).sort((N,$)=>N[1]-$[1])[0])==null?void 0:A[0];P&&(k=P);break}case"initialPlacement":k=a;break}if(i!==k)return{reset:{placement:k}}}return{}}}};async function LX(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Qo(n),a=Cc(n),u=ra(n)==="y",l=["left","top"].includes(s)?-1:1,c=o&&u?-1:1,f=na(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),u?{x:h*c,y:d*l}:{x:d*l,y:h*c}}const $X=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,u=await LX(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:s}}}}},FX=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:g=>{let{x:v,y}=g;return{x:v,y}}},...u}=na(e,t),l={x:n,y:r},c=await gS(t,u),f=ra(Qo(i)),d=hS(f);let h=l[d],p=l[f];if(o){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",y=h+c[g],b=h-c[v];h=x1(y,h,b)}if(s){const g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=p+c[g],b=p-c[v];p=x1(y,p,b)}const m=a.fn({...t,[d]:h,[f]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},BX=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:u=!0,crossAxis:l=!0}=na(e,t),c={x:n,y:r},f=ra(i),d=hS(f);let h=c[d],p=c[f];const m=na(a,t),g=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const b=d==="y"?"height":"width",w=o.reference[d]-o.floating[b]+g.mainAxis,S=o.reference[d]+o.reference[b]-g.mainAxis;h<w?h=w:h>S&&(h=S)}if(l){var v,y;const b=d==="y"?"width":"height",w=["top","left"].includes(Qo(i)),S=o.reference[f]-o.floating[b]+(w&&((v=s.offset)==null?void 0:v[f])||0)+(w?0:g.crossAxis),E=o.reference[f]+o.reference[b]+(w?0:((y=s.offset)==null?void 0:y[f])||0)-(w?g.crossAxis:0);p<S?p=S:p>E&&(p=E)}return{[d]:h,[f]:p}}}},jX=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:o}=t,{apply:s=()=>{},...a}=na(e,t),u=await gS(t,a),l=Qo(n),c=Cc(n),f=ra(n)==="y",{width:d,height:h}=r.floating;let p,m;l==="top"||l==="bottom"?(p=l,m=c===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=l,p=c==="end"?"top":"bottom");const g=h-u.top-u.bottom,v=d-u.left-u.right,y=Wi(h-u[p],g),b=Wi(d-u[m],v),w=!t.middlewareData.shift;let S=y,E=b;if(f?E=c||w?Wi(b,v):v:S=c||w?Wi(y,g):g,w&&!c){const C=Lr(u.left,0),O=Lr(u.right,0),T=Lr(u.top,0),x=Lr(u.bottom,0);f?E=d-2*(C!==0||O!==0?C+O:Lr(u.left,u.right)):S=h-2*(T!==0||x!==0?T+x:Lr(u.top,u.bottom))}await s({...t,availableWidth:E,availableHeight:S});const _=await i.getDimensions(o.floating);return d!==_.width||h!==_.height?{reset:{rects:!0}}:{}}}};function Ac(e){return fD(e)?(e.nodeName||"").toLowerCase():"#document"}function jr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function as(e){var t;return(t=(fD(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fD(e){return e instanceof Node||e instanceof jr(e).Node}function Ai(e){return e instanceof Element||e instanceof jr(e).Element}function so(e){return e instanceof HTMLElement||e instanceof jr(e).HTMLElement}function vO(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jr(e).ShadowRoot}function ph(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ki(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function HX(e){return["table","td","th"].includes(Ac(e))}function G0(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function vS(e){const t=yS(),n=Ai(e)?ki(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function UX(e){let t=ia(e);for(;so(t)&&!nc(t);){if(vS(t))return t;if(G0(t))return null;t=ia(t)}return null}function yS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function nc(e){return["html","body","#document"].includes(Ac(e))}function ki(e){return jr(e).getComputedStyle(e)}function K0(e){return Ai(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ia(e){if(Ac(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vO(e)&&e.host||as(e);return vO(t)?t.host:t}function dD(e){const t=ia(e);return nc(t)?e.ownerDocument?e.ownerDocument.body:e.body:so(t)&&ph(t)?t:dD(t)}function Sd(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=dD(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=jr(i);return o?t.concat(s,s.visualViewport||[],ph(i)?i:[],s.frameElement&&n?Sd(s.frameElement):[]):t.concat(i,Sd(i,[],n))}function hD(e){const t=ki(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=so(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=Sg(n)!==o||Sg(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function bS(e){return Ai(e)?e:e.contextElement}function Dl(e){const t=bS(e);if(!so(t))return ta(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=hD(t);let s=(o?Sg(n.width):n.width)/r,a=(o?Sg(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const zX=ta(0);function pD(e){const t=jr(e);return!yS()||!t.visualViewport?zX:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function VX(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==jr(e)?!1:t}function vu(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=bS(e);let s=ta(1);t&&(r?Ai(r)&&(s=Dl(r)):s=Dl(e));const a=VX(o,n,r)?pD(o):ta(0);let u=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,c=i.width/s.x,f=i.height/s.y;if(o){const d=jr(o),h=r&&Ai(r)?jr(r):r;let p=d,m=p.frameElement;for(;m&&r&&h!==p;){const g=Dl(m),v=m.getBoundingClientRect(),y=ki(m),b=v.left+(m.clientLeft+parseFloat(y.paddingLeft))*g.x,w=v.top+(m.clientTop+parseFloat(y.paddingTop))*g.y;u*=g.x,l*=g.y,c*=g.x,f*=g.y,u+=b,l+=w,p=jr(m),m=p.frameElement}}return Tg({width:c,height:f,x:u,y:l})}function WX(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=as(r),a=t?G0(t.floating):!1;if(r===s||a&&o)return n;let u={scrollLeft:0,scrollTop:0},l=ta(1);const c=ta(0),f=so(r);if((f||!f&&!o)&&((Ac(r)!=="body"||ph(s))&&(u=K0(r)),so(r))){const d=vu(r);l=Dl(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+c.x,y:n.y*l.y-u.scrollTop*l.y+c.y}}function GX(e){return Array.from(e.getClientRects())}function mD(e){return vu(as(e)).left+K0(e).scrollLeft}function KX(e){const t=as(e),n=K0(e),r=e.ownerDocument.body,i=Lr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Lr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+mD(e);const a=-n.scrollTop;return ki(r).direction==="rtl"&&(s+=Lr(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function qX(e,t){const n=jr(e),r=as(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,u=0;if(i){o=i.width,s=i.height;const l=yS();(!l||l&&t==="fixed")&&(a=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:a,y:u}}function YX(e,t){const n=vu(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=so(e)?Dl(e):ta(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,u=i*o.x,l=r*o.y;return{width:s,height:a,x:u,y:l}}function yO(e,t,n){let r;if(t==="viewport")r=qX(e,n);else if(t==="document")r=KX(as(e));else if(Ai(t))r=YX(t,n);else{const i=pD(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return Tg(r)}function gD(e,t){const n=ia(e);return n===t||!Ai(n)||nc(n)?!1:ki(n).position==="fixed"||gD(n,t)}function XX(e,t){const n=t.get(e);if(n)return n;let r=Sd(e,[],!1).filter(a=>Ai(a)&&Ac(a)!=="body"),i=null;const o=ki(e).position==="fixed";let s=o?ia(e):e;for(;Ai(s)&&!nc(s);){const a=ki(s),u=vS(s);!u&&a.position==="fixed"&&(i=null),(o?!u&&!i:!u&&a.position==="static"&&i&&["absolute","fixed"].includes(i.position)||ph(s)&&!u&&gD(e,s))?r=r.filter(l=>l!==s):i=a,s=ia(s)}return t.set(e,r),r}function JX(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?G0(t)?[]:XX(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((u,l)=>{const c=yO(t,l,i);return u.top=Lr(c.top,u.top),u.right=Wi(c.right,u.right),u.bottom=Wi(c.bottom,u.bottom),u.left=Lr(c.left,u.left),u},yO(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function QX(e){const{width:t,height:n}=hD(e);return{width:t,height:n}}function ZX(e,t,n){const r=so(t),i=as(t),o=n==="fixed",s=vu(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const u=ta(0);if(r||!r&&!o)if((Ac(t)!=="body"||ph(i))&&(a=K0(t)),r){const f=vu(t,!0,o,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else i&&(u.x=mD(i));const l=s.left+a.scrollLeft-u.x,c=s.top+a.scrollTop-u.y;return{x:l,y:c,width:s.width,height:s.height}}function gy(e){return ki(e).position==="static"}function bO(e,t){return!so(e)||ki(e).position==="fixed"?null:t?t(e):e.offsetParent}function vD(e,t){const n=jr(e);if(G0(e))return n;if(!so(e)){let i=ia(e);for(;i&&!nc(i);){if(Ai(i)&&!gy(i))return i;i=ia(i)}return n}let r=bO(e,t);for(;r&&HX(r)&&gy(r);)r=bO(r,t);return r&&nc(r)&&gy(r)&&!vS(r)?n:r||UX(e)||n}const eJ=async function(e){const t=this.getOffsetParent||vD,n=this.getDimensions,r=await n(e.floating);return{reference:ZX(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function tJ(e){return ki(e).direction==="rtl"}const nJ={convertOffsetParentRelativeRectToViewportRelativeRect:WX,getDocumentElement:as,getClippingRect:JX,getOffsetParent:vD,getElementRects:eJ,getClientRects:GX,getDimensions:QX,getScale:Dl,isElement:Ai,isRTL:tJ};function rJ(e,t){let n=null,r;const i=as(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),o();const{left:l,top:c,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const h=fp(c),p=fp(i.clientWidth-(l+f)),m=fp(i.clientHeight-(c+d)),g=fp(l),v={rootMargin:-h+"px "+-p+"px "+-m+"px "+-g+"px",threshold:Lr(0,Wi(1,u))||1};let y=!0;function b(w){const S=w[0].intersectionRatio;if(S!==u){if(!y)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return s(!0),o}function iJ(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,l=bS(e),c=i||o?[...l?Sd(l):[],...Sd(t)]:[];c.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),o&&v.addEventListener("resize",n)});const f=l&&a?rJ(l,n):null;let d=-1,h=null;s&&(h=new ResizeObserver(v=>{let[y]=v;y&&y.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=h)==null||b.observe(t)})),n()}),l&&!u&&h.observe(l),h.observe(t));let p,m=u?vu(e):null;u&&g();function g(){const v=vu(e);m&&(v.x!==m.x||v.y!==m.y||v.width!==m.width||v.height!==m.height)&&n(),m=v,p=requestAnimationFrame(g)}return n(),()=>{var v;c.forEach(y=>{i&&y.removeEventListener("scroll",n),o&&y.removeEventListener("resize",n)}),f==null||f(),(v=h)==null||v.disconnect(),h=null,u&&cancelAnimationFrame(p)}}const oJ=$X,sJ=FX,aJ=MX,uJ=jX,lJ=NX,cJ=BX,fJ=(e,t,n)=>{const r=new Map,i={platform:nJ,...n},o={...i.platform,_c:r};return DX(e,t,{...i,platform:o})};function wO(e=0,t=0,n=0,r=0){if(typeof DOMRect=="function")return new DOMRect(e,t,n,r);const i={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...i,toJSON:()=>i}}function dJ(e){if(!e)return wO();const{x:t,y:n,width:r,height:i}=e;return wO(t,n,r,i)}function hJ(e,t){return{contextElement:oo(e)?e:void 0,getBoundingClientRect:()=>{const n=e,r=t==null?void 0:t(n);return r||!n?dJ(r):n.getBoundingClientRect()}}}var Jc=e=>({variable:e,reference:`var(${e})`}),Oo={arrowSize:Jc("--arrow-size"),arrowSizeHalf:Jc("--arrow-size-half"),arrowBg:Jc("--arrow-background"),transformOrigin:Jc("--transform-origin"),arrowOffset:Jc("--arrow-offset")},pJ=e=>({top:"bottom center","top-start":e?`${e.x}px bottom`:"left bottom","top-end":e?`${e.x}px bottom`:"right bottom",bottom:"top center","bottom-start":e?`${e.x}px top`:"top left","bottom-end":e?`${e.x}px top`:"top right",left:"right center","left-start":e?`right ${e.y}px`:"right top","left-end":e?`right ${e.y}px`:"right bottom",right:"left center","right-start":e?`left ${e.y}px`:"left top","right-end":e?`left ${e.y}px`:"left bottom"}),mJ={name:"transformOrigin",fn({placement:e,elements:t,middlewareData:n}){const{arrow:r}=n,i=pJ(r)[e],{floating:o}=t;return o.style.setProperty(Oo.transformOrigin.variable,i),{data:{transformOrigin:i}}}},gJ={name:"rects",fn({rects:e}){return{data:e}}},vJ=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:n}){if(!n.arrow)return{};const{x:r,y:i}=n.arrow,o=t.split("-")[0];return Object.assign(e.style,{left:r!=null?`${r}px`:"",top:i!=null?`${i}px`:"",[o]:`calc(100% + ${Oo.arrowOffset.reference})`}),{}}}};function yJ(e){const[t,n]=e.split("-");return{side:t,align:n,hasAlign:n!=null}}var bJ={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function EO(e,t){const n=e.devicePixelRatio||1;return Math.round(t*n)/n}function yD(e){return um(e.boundary)}function wJ(e,t){if(e)return lJ({element:e,padding:t.arrowPadding})}function EJ(e,t){if(!pY(t.offset??t.gutter))return oJ(({placement:n})=>{var r,i;const o=((e==null?void 0:e.clientHeight)||0)/2,s=((r=t.offset)==null?void 0:r.mainAxis)??t.gutter,a=typeof s=="number"?s+o:s??o,{hasAlign:u}=yJ(n),l=u?void 0:t.shift,c=((i=t.offset)==null?void 0:i.crossAxis)??l;return lo({crossAxis:c,mainAxis:a,alignmentAxis:t.shift})})}function SJ(e){if(e.flip)return aJ({boundary:yD(e),padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function xJ(e){if(!(!e.slide&&!e.overlap))return sJ({boundary:yD(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:cJ()})}function TJ(e){return uJ({padding:e.overflowPadding,apply({elements:t,rects:n,availableHeight:r,availableWidth:i}){const o=t.floating,s=Math.round(n.reference.width);i=Math.floor(i),r=Math.floor(r),o.style.setProperty("--reference-width",`${s}px`),o.style.setProperty("--available-width",`${i}px`),o.style.setProperty("--available-height",`${r}px`)}})}function _J(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function OJ(e,t,n={}){const r=hJ(e,n.getAnchorRect);if(!t||!r)return;const i=Object.assign({},bJ,n),o=t.querySelector("[data-part=arrow]"),s=[EJ(o,i),SJ(i),xJ(i),wJ(o,i),vJ(o),mJ,TJ(i),gJ],{placement:a,strategy:u,onComplete:l,onPositioned:c}=i,f=async()=>{if(!r||!t)return;const m=await fJ(r,t,{placement:a,middleware:s,strategy:u});l==null||l(m),c==null||c({placed:!0});const g=Ru(t),v=EO(g,m.x),y=EO(g,m.y);t.style.setProperty("--x",`${v}px`),t.style.setProperty("--y",`${y}px`);const b=t.firstElementChild;if(b){const w=g.getComputedStyle(b).zIndex;t.style.setProperty("--z-index",w)}},d=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:f}),c==null||c({placed:!0})):await f()},h=_J(i.listeners),p=i.listeners?iJ(r,t,d,h):cY;return d(),()=>{p==null||p(),c==null||c({placed:!1})}}function _g(e,t,n={}){const{defer:r,...i}=n,o=r?fn:a=>a(),s=[];return s.push(o(()=>{const a=typeof e=="function"?e():e,u=typeof t=="function"?t():t;s.push(OJ(a,u,i))})),()=>{s.forEach(a=>a==null?void 0:a())}}var IJ={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function bD(e={}){const{placement:t,sameWidth:n,fitViewport:r,strategy:i="absolute"}=e;return{arrow:{position:"absolute",width:Oo.arrowSize.reference,height:Oo.arrowSize.reference,[Oo.arrowSizeHalf.variable]:`calc(${Oo.arrowSize.reference} / 2)`,[Oo.arrowOffset.variable]:`calc(${Oo.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?IJ[t.split("-")[0]]:void 0,background:Oo.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:i,isolation:"isolate",minWidth:n?void 0:"max-content",width:n?"var(--reference-width)":void 0,maxWidth:r?"var(--available-width)":void 0,maxHeight:r?"var(--available-height)":void 0,top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}var CJ=Yi("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger"),Di=CJ.build(),qe=Pu({getAnchorId:e=>{var t;return((t=e.ids)==null?void 0:t.anchor)??`popover:${e.id}:anchor`},getTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`popover:${e.id}:trigger`},getContentId:e=>{var t;return((t=e.ids)==null?void 0:t.content)??`popover:${e.id}:content`},getPositionerId:e=>{var t;return((t=e.ids)==null?void 0:t.positioner)??`popover:${e.id}:popper`},getArrowId:e=>{var t;return((t=e.ids)==null?void 0:t.arrow)??`popover:${e.id}:arrow`},getTitleId:e=>{var t;return((t=e.ids)==null?void 0:t.title)??`popover:${e.id}:title`},getDescriptionId:e=>{var t;return((t=e.ids)==null?void 0:t.description)??`popover:${e.id}:desc`},getCloseTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.closeTrigger)??`popover:${e.id}:close`},getAnchorEl:e=>qe.getById(e,qe.getAnchorId(e)),getTriggerEl:e=>qe.getById(e,qe.getTriggerId(e)),getContentEl:e=>qe.getById(e,qe.getContentId(e)),getPositionerEl:e=>qe.getById(e,qe.getPositionerId(e)),getTitleEl:e=>qe.getById(e,qe.getTitleId(e)),getDescriptionEl:e=>qe.getById(e,qe.getDescriptionId(e)),getFocusableEls:e=>BP(qe.getContentEl(e)),getFirstFocusableEl:e=>qe.getFocusableEls(e)[0]});function AJ(e,t,n){const r=e.matches("open"),i=e.context.currentPlacement,o=e.context.currentPortalled,s=e.context.renderedElements,a=bD({...e.context.positioning,placement:i});return{portalled:o,open:r,setOpen(u){u!==r&&t(u?"OPEN":"CLOSE")},reposition(u={}){t({type:"POSITIONING.SET",options:u})},getArrowProps(){return n.element({id:qe.getArrowId(e.context),...Di.arrow.attrs,dir:e.context.dir,style:a.arrow})},getArrowTipProps(){return n.element({...Di.arrowTip.attrs,dir:e.context.dir,style:a.arrowTip})},getAnchorProps(){return n.element({...Di.anchor.attrs,dir:e.context.dir,id:qe.getAnchorId(e.context)})},getTriggerProps(){return n.button({...Di.trigger.attrs,dir:e.context.dir,type:"button","data-placement":i,id:qe.getTriggerId(e.context),"aria-haspopup":"dialog","aria-expanded":r,"data-state":r?"open":"closed","aria-controls":qe.getContentId(e.context),onClick(u){u.defaultPrevented||t("TOGGLE")},onBlur(u){t({type:"TRIGGER_BLUR",target:u.relatedTarget})}})},getIndicatorProps(){return n.element({...Di.indicator.attrs,dir:e.context.dir,"data-state":r?"open":"closed"})},getPositionerProps(){return n.element({id:qe.getPositionerId(e.context),...Di.positioner.attrs,dir:e.context.dir,style:a.floating})},getContentProps(){return n.element({...Di.content.attrs,dir:e.context.dir,id:qe.getContentId(e.context),tabIndex:-1,role:"dialog",hidden:!r,"data-state":r?"open":"closed","data-expanded":Le(r),"aria-labelledby":s.title?qe.getTitleId(e.context):void 0,"aria-describedby":s.description?qe.getDescriptionId(e.context):void 0,"data-placement":i})},getTitleProps(){return n.element({...Di.title.attrs,id:qe.getTitleId(e.context),dir:e.context.dir})},getDescriptionProps(){return n.element({...Di.description.attrs,id:qe.getDescriptionId(e.context),dir:e.context.dir})},getCloseTriggerProps(){return n.button({...Di.closeTrigger.attrs,dir:e.context.dir,id:qe.getCloseTriggerId(e.context),type:"button","aria-label":"close",onClick(u){u.defaultPrevented||t("CLOSE")}})}}}function kJ(e){const t=lo(e);return ga({id:"popover",initial:t.open?"open":"closed",context:{closeOnInteractOutside:!0,closeOnEscape:!0,autoFocus:!0,modal:!1,portalled:!0,positioning:{placement:"bottom",...t.positioning},currentPlacement:void 0,...t,renderedElements:{title:!0,description:!0}},computed:{currentPortalled:n=>!!n.modal||!!n.portalled},watch:{open:["toggleVisibility"]},entry:["checkRenderedElements"],states:{closed:{on:{"CONTROLLED.OPEN":{target:"open",actions:["setInitialFocus"]},TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","setInitialFocus"]}]}},open:{activities:["trapFocus","preventScroll","hideContentBelow","trackPositioning","trackDismissableElement","proxyTabFocus"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["setFinalFocus"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"POSITIONING.SET":{actions:"reposition"}}}}},{guards:{isOpenControlled:n=>!!n["open.controlled"]},activities:{trackPositioning(n){n.currentPlacement=n.positioning.placement;const r=qe.getAnchorEl(n)??qe.getTriggerEl(n);return _g(r,()=>qe.getPositionerEl(n),{...n.positioning,defer:!0,onComplete(i){n.currentPlacement=i.placement}})},trackDismissableElement(n,r,{send:i}){const o=()=>qe.getContentEl(n);let s=!0;return dS(o,{pointerBlocking:n.modal,exclude:qe.getTriggerEl(n),defer:!0,onEscapeKeyDown(a){var u;(u=n.onEscapeKeyDown)==null||u.call(n,a),!n.closeOnEscape&&a.preventDefault()},onInteractOutside(a){var u;(u=n.onInteractOutside)==null||u.call(n,a),!a.defaultPrevented&&(s=!(a.detail.focusable||a.detail.contextmenu),n.closeOnInteractOutside||a.preventDefault())},onPointerDownOutside:n.onPointerDownOutside,onFocusOutside:n.onFocusOutside,persistentElements:n.persistentElements,onDismiss(){i({type:"CLOSE",src:"interact-outside",restoreFocus:s})}})},proxyTabFocus(n){return n.modal||!n.portalled?void 0:mq(()=>qe.getContentEl(n),{triggerElement:qe.getTriggerEl(n),defer:!0,onFocus(r){r.focus({preventScroll:!0})}})},hideContentBelow(n){return n.modal?eD(()=>[qe.getContentEl(n),qe.getTriggerEl(n)],{defer:!0}):void 0},preventScroll(n){if(n.modal)return nD(qe.getDoc(n))},trapFocus(n){if(!n.modal)return;let r;return aS(()=>{const i=qe.getContentEl(n);if(i){r=lD(i,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,document:qe.getDoc(n),fallbackFocus:i,initialFocus:hg({root:qe.getContentEl(n),getInitialEl:n.initialFocusEl,enabled:n.autoFocus})});try{r.activate()}catch{}}}),()=>r==null?void 0:r.deactivate()}},actions:{reposition(n,r){const i=qe.getAnchorEl(n)??qe.getTriggerEl(n);_g(i,()=>qe.getPositionerEl(n),{...n.positioning,...r.options,defer:!0,listeners:!1,onComplete(o){n.currentPlacement=o.placement}})},checkRenderedElements(n){fn(()=>{Object.assign(n.renderedElements,{title:!!qe.getTitleEl(n),description:!!qe.getDescriptionEl(n)})})},setInitialFocus(n){n.modal||fn(()=>{const r=hg({root:qe.getContentEl(n),getInitialEl:n.initialFocusEl,enabled:n.autoFocus});r==null||r.focus({preventScroll:!0})})},setFinalFocus(n,r){r.restoreFocus&&fn(()=>{const i=qe.getTriggerEl(n);i==null||i.focus({preventScroll:!0})})},invokeOnOpen(n){var r;(r=n.onOpenChange)==null||r.call(n,{open:!0})},invokeOnClose(n){var r;(r=n.onOpenChange)==null||r.call(n,{open:!1})},toggleVisibility(n,r,{send:i}){i({type:n.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:r})}}})}co()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","open.controlled","open","persistentElements","portalled","positioning"]);const RJ=xt({__name:"popover",props:{id:{default:()=>da()},placement:{default:"bottom-start"},zIndex:{default:0},teleportTarget:{default:"body"},closeOnInteractOutside:{type:Boolean,default:!0},persistentElements:{default:void 0}},setup(e){eh(u=>({"422f23f4":u.zIndex}));const t=e,n=_e(()=>({positioning:{placement:t.placement,offset:{mainAxis:4}},persistentElements:t.persistentElements})),[r,i]=Du(kJ({id:t.id,portalled:!0,...n.value,closeOnInteractOutside:t.closeOnInteractOutside,onInteractOutside:u=>{var l;(((l=t.persistentElements)==null?void 0:l.some(c=>{var f;return((f=c==null?void 0:c())==null?void 0:f.contains(u.target))??!1}))??!1)&&u.preventDefault()}}),{context:n}),o=_e(()=>AJ(r.value,i,va)),s=_e(()=>o.value.open);function a(){o.value.setOpen(!1)}return(u,l)=>(Se(),Ne("div",null,[Nt(u.$slots,"default",{triggerProps:o.value.getTriggerProps()},()=>[ge("button",Et(o.value.getTriggerProps(),{class:"c-btn c-btn--auto c-btnOutline"})," 開く ",16)],!0),s.value?(Se(),Ur(yc,{key:0,to:u.teleportTarget},[ge("div",gn(Gn(o.value.getPositionerProps())),[ge("div",Et(o.value.getContentProps(),{class:"content"}),[Nt(u.$slots,"content",{close:a},void 0,!0)],16)],16)],8,["to"])):Jn("",!0)]))}}),hfe=xn(RJ,[["__scopeId","data-v-56076f66"]]);var _1,Pa=new Map,PJ=e=>e.getBoundingClientRect();function DJ(e,t){const{scope:n="rect",getRect:r=PJ,onChange:i}=t,o=NJ({scope:n,getRect:r}),s=Pa.get(e);return s?(s.callbacks.push(i),i(r(e))):(Pa.set(e,{rect:{},callbacks:[i]}),Pa.size===1&&(_1=requestAnimationFrame(o))),function(){const a=Pa.get(e);if(!a)return;const u=a.callbacks.indexOf(i);u>-1&&a.callbacks.splice(u,1),a.callbacks.length===0&&(Pa.delete(e),Pa.size===0&&cancelAnimationFrame(_1))}}function NJ(e){const{scope:t,getRect:n}=e,r=LJ(t);return function i(){const o=[];Pa.forEach((s,a)=>{const u=n(a);r(s.rect,u)||(s.rect=u,o.push(s))}),o.forEach(s=>{s.callbacks.forEach(a=>a(s.rect))}),_1=requestAnimationFrame(i)}}var wD=(e,t)=>e.width===t.width&&e.height===t.height,ED=(e,t)=>e.top===t.top&&e.left===t.left,MJ=(e,t)=>wD(e,t)&&ED(e,t);function LJ(e){return e==="size"?wD:e==="position"?ED:MJ}var $J=Yi("radio-group").parts("root","label","item","itemText","itemControl","indicator"),Gu=$J.build(),dt=Pu({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`radio-group:${e.id}`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`radio-group:${e.id}:label`},getItemId:(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.item)==null?void 0:r.call(n,t))??`radio-group:${e.id}:radio:${t}`},getItemHiddenInputId:(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemHiddenInput)==null?void 0:r.call(n,t))??`radio-group:${e.id}:radio:input:${t}`},getItemControlId:(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemControl)==null?void 0:r.call(n,t))??`radio-group:${e.id}:radio:control:${t}`},getItemLabelId:(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemLabel)==null?void 0:r.call(n,t))??`radio-group:${e.id}:radio:label:${t}`},getIndicatorId:e=>{var t;return((t=e.ids)==null?void 0:t.indicator)??`radio-group:${e.id}:indicator`},getRootEl:e=>dt.getById(e,dt.getRootId(e)),getItemHiddenInputEl:(e,t)=>dt.getById(e,dt.getItemHiddenInputId(e,t)),getIndicatorEl:e=>dt.getById(e,dt.getIndicatorId(e)),getFirstEnabledInputEl:e=>{var t;return(t=dt.getRootEl(e))==null?void 0:t.querySelector("input:not(:disabled)")},getFirstEnabledAndCheckedInputEl:e=>{var t;return(t=dt.getRootEl(e))==null?void 0:t.querySelector("input:not(:disabled):checked")},getInputEls:e=>{const t=`input[type=radio][data-ownedby='${CSS.escape(dt.getRootId(e))}']:not([disabled])`;return HP(dt.getRootEl(e),t)},getActiveRadioEl:e=>{if(e.value)return dt.getById(e,dt.getItemId(e,e.value))},getOffsetRect:e=>({left:(e==null?void 0:e.offsetLeft)??0,top:(e==null?void 0:e.offsetTop)??0,width:(e==null?void 0:e.offsetWidth)??0,height:(e==null?void 0:e.offsetHeight)??0}),getRectById:(e,t)=>{const n=dt.getById(e,dt.getItemId(e,t));if(n)return dt.resolveRect(dt.getOffsetRect(n))},resolveRect:e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`})});function FJ(e,t,n){const r=e.context.isDisabled,i=e.context.readOnly;function o(u){return{invalid:!!u.invalid,disabled:!!u.disabled||r,checked:e.context.value===u.value,focused:e.context.focusedValue===u.value,hovered:e.context.hoveredValue===u.value,active:e.context.activeValue===u.value}}function s(u){const l=o(u);return{"data-focus":Le(l.focused),"data-disabled":Le(l.disabled),"data-readonly":Le(i),"data-state":l.checked?"checked":"unchecked","data-hover":Le(l.hovered),"data-invalid":Le(l.invalid),"data-orientation":e.context.orientation,"data-ssr":Le(e.context.ssr)}}const a=()=>{const u=dt.getFirstEnabledAndCheckedInputEl(e.context);if(u){u.focus();return}const l=dt.getFirstEnabledInputEl(e.context);l==null||l.focus()};return{focus:a,value:e.context.value,setValue(u){t({type:"SET_VALUE",value:u,isTrusted:!1})},clearValue(){t({type:"SET_VALUE",value:null,isTrusted:!1})},getRootProps(){return n.element({...Gu.root.attrs,role:"radiogroup",id:dt.getRootId(e.context),"aria-labelledby":dt.getLabelId(e.context),"data-orientation":e.context.orientation,"data-disabled":Le(r),"aria-orientation":e.context.orientation,dir:e.context.dir,style:{position:"relative"}})},getLabelProps(){return n.element({...Gu.label.attrs,dir:e.context.dir,"data-orientation":e.context.orientation,"data-disabled":Le(r),id:dt.getLabelId(e.context),onClick:a})},getItemState:o,getItemProps(u){const l=o(u);return n.label({...Gu.item.attrs,dir:e.context.dir,id:dt.getItemId(e.context,u.value),htmlFor:dt.getItemHiddenInputId(e.context,u.value),...s(u),onPointerMove(){l.disabled||l.hovered||t({type:"SET_HOVERED",value:u.value,hovered:!0})},onPointerLeave(){l.disabled||t({type:"SET_HOVERED",value:null})},onPointerDown(c){l.disabled||(l.focused&&c.pointerType==="mouse"&&c.preventDefault(),t({type:"SET_ACTIVE",value:u.value,active:!0}))},onPointerUp(){l.disabled||t({type:"SET_ACTIVE",value:null})}})},getItemTextProps(u){return n.element({...Gu.itemText.attrs,dir:e.context.dir,id:dt.getItemLabelId(e.context,u.value),...s(u)})},getItemControlProps(u){const l=o(u);return n.element({...Gu.itemControl.attrs,dir:e.context.dir,id:dt.getItemControlId(e.context,u.value),"data-active":Le(l.active),"aria-hidden":!0,...s(u)})},getItemHiddenInputProps(u){const l=o(u);return n.input({"data-ownedby":dt.getRootId(e.context),id:dt.getItemHiddenInputId(e.context,u.value),type:"radio",name:e.context.name||e.context.id,form:e.context.form,value:u.value,onClick(c){if(i){c.preventDefault();return}c.currentTarget.checked&&t({type:"SET_VALUE",value:u.value,isTrusted:!0})},onBlur(){t({type:"SET_FOCUSED",value:null})},onFocus(){t({type:"SET_FOCUSED",value:u.value,focused:!0})},onKeyDown(c){c.defaultPrevented||c.key===" "&&t({type:"SET_ACTIVE",value:u.value,active:!0})},onKeyUp(c){c.defaultPrevented||c.key===" "&&t({type:"SET_ACTIVE",value:null})},disabled:l.disabled,defaultChecked:l.checked,style:V0})},getIndicatorProps(){var u,l,c,f;return n.element({id:dt.getIndicatorId(e.context),...Gu.indicator.attrs,dir:e.context.dir,hidden:e.context.value==null,"data-disabled":Le(r),"data-orientation":e.context.orientation,style:{"--transition-property":"left, top, width, height","--left":(u=e.context.indicatorRect)==null?void 0:u.left,"--top":(l=e.context.indicatorRect)==null?void 0:l.top,"--width":(c=e.context.indicatorRect)==null?void 0:c.width,"--height":(f=e.context.indicatorRect)==null?void 0:f.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:e.context.canIndicatorTransition?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[e.context.orientation==="horizontal"?"left":"top"]:e.context.orientation==="horizontal"?"var(--left)":"var(--top)"}})}}}var{not:BJ}=hh;function jJ(e){const t=lo(e);return ga({id:"radio",initial:"idle",context:{value:null,activeValue:null,focusedValue:null,hoveredValue:null,disabled:!1,orientation:"vertical",...t,indicatorRect:{},canIndicatorTransition:!1,fieldsetDisabled:!1,ssr:!0},computed:{isDisabled:n=>!!n.disabled||n.fieldsetDisabled},entry:["syncIndicatorRect","syncSsr"],exit:["cleanupObserver"],activities:["trackFormControlState"],watch:{value:["setIndicatorTransition","syncIndicatorRect","syncInputElements"]},on:{SET_VALUE:[{guard:BJ("isTrusted"),actions:["setValue","dispatchChangeEvent"]},{actions:["setValue"]}],SET_HOVERED:{actions:"setHovered"},SET_ACTIVE:{actions:"setActive"},SET_FOCUSED:{actions:"setFocused"}},states:{idle:{}}},{guards:{isTrusted:(n,r)=>!!r.isTrusted},activities:{trackFormControlState(n,r,{send:i,initialContext:o}){return W0(dt.getRootEl(n),{onFieldsetDisabledChange(s){n.fieldsetDisabled=s},onFormReset(){i({type:"SET_VALUE",value:o.value})}})}},actions:{setValue(n,r){UJ.value(n,r.value)},setHovered(n,r){n.hoveredValue=r.value},setActive(n,r){n.activeValue=r.value},setFocused(n,r){n.focusedValue=r.value},syncInputElements(n){dt.getInputEls(n).forEach(r=>{r.checked=r.value===n.value})},setIndicatorTransition(n){n.canIndicatorTransition=hY(n.value)},cleanupObserver(n){var r;(r=n.indicatorCleanup)==null||r.call(n)},syncSsr(n){n.ssr=!1},syncIndicatorRect(n){var r;if((r=n.indicatorCleanup)==null||r.call(n),!dt.getIndicatorEl(n))return;const i=n.value,o=dt.getActiveRadioEl(n);if(i==null||!o){n.indicatorRect={};return}n.indicatorCleanup=DJ(o,{getRect(s){return dt.getOffsetRect(s)},onChange(s){n.indicatorRect=dt.resolveRect(s),aS(()=>{n.canIndicatorTransition=!1})}})},dispatchChangeEvent(n){dt.getInputEls(n).forEach(r=>{const i=r.value===n.value;i!==r.checked&&cS(r,{checked:i})})}}})}var HJ={change:e=>{var t;e.value!=null&&((t=e.onValueChange)==null||t.call(e,{value:e.value}))}},UJ={value:(e,t)=>{Ho(e.value,t)||(e.value=t,HJ.change(e))}};co()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value"]);co()(["value","disabled","invalid"]);const zJ={class:"items"},VJ=xt({__name:"radio",props:au({id:{default:()=>da()},label:{default:void 0},items:{},name:{default:void 0},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},orientation:{default:"horizontal"},form:{default:void 0},verticalLayout:{type:Boolean,default:!1}},{modelValue:{default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=bc(e,"modelValue"),r=_e(()=>t.items.map(l=>{const{value:c,...f}=l;return{value:`${c}`,...f}})),i=_e(()=>({value:`${n.value}`,disabled:t.disabled,readOnly:t.readOnly,onValueChange(l){var c;const f=typeof((c=t.items.at(0))==null?void 0:c.value)=="number"?Number(l.value):l.value;n.value=f}})),[o,s]=Du(jJ({...i.value,id:t.id,name:t.name,orientation:t.orientation,form:t.form}),{context:i}),a=_e(()=>FJ(o.value,s,va)),u=l=>a.value.value===l?"target-circle":"circle-fill";return(l,c)=>(Se(),Ne("div",Et(a.value.getRootProps(),{class:{horizontalLayout:!t.verticalLayout,labelCenter:!t.verticalLayout&&t.orientation=="horizontal",verticalLayout:t.verticalLayout}}),[l.$slots.default?(Se(),Ne("div",gn(Et({key:0},a.value.getLabelProps())),[Nt(l.$slots,"default",{},void 0,!0)],16)):Jn("",!0),ge("div",zJ,[(Se(!0),Ne(jt,null,su(r.value,f=>(Se(),Ne("div",{key:f.value,class:"item"},[ge("label",Et({ref_for:!0},a.value.getItemProps({value:f.value})),[te(tc,Et({ref_for:!0},a.value.getItemControlProps({value:f.value}),{size:"small",name:u(f.value),"keep-fill":!1}),null,16,["name"]),ge("span",Et({ref_for:!0},a.value.getItemTextProps({value:f.value}),{class:"c-inputLabel"}),un(f.label),17),ge("input",Et({ref_for:!0},a.value.getItemHiddenInputProps({value:f.value})),null,16)],16),Nt(l.$slots,"trailing",{item:f},void 0,!0)]))),128))])],16))}}),pfe=xn(VJ,[["__scopeId","data-v-20a233f9"]]);var WJ=Object.defineProperty,GJ=(e,t,n)=>t in e?WJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,KJ=(e,t,n)=>GJ(e,t+"",n),lm={itemToValue(e){return typeof e=="string"?e:dy(e)&&hy(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:dy(e)&&hy(e,"label")?e.label:lm.itemToValue(e)},isItemDisabled(e){return dy(e)&&hy(e,"disabled")?!!e.disabled:!1}},SD=class{constructor(e){this.options=e,KJ(this,"items"),this.items=[...e.items]}isEqual(e){return Ho(this.items,e.items)}setItems(e){this.items=Array.from(e)}getValues(e=this.items){return Array.from(e).map(t=>this.getItemValue(t)).filter(Boolean)}find(e){if(e==null)return null;const t=this.items.findIndex(n=>this.getItemValue(n)===e);return t!=null?this.items[t]:null}findMany(e){return Array.from(e).map(t=>this.find(t)).filter(Boolean)}at(e){return this.items[e]??null}sortFn(e,t){const n=this.indexOf(e),r=this.indexOf(t);return(n??0)-(r??0)}sort(e){return[...e].sort(this.sortFn.bind(this))}getItemValue(e){var t,n;return e==null?null:((n=(t=this.options).itemToValue)==null?void 0:n.call(t,e))??lm.itemToValue(e)}getItemDisabled(e){var t,n;return e==null?!1:((n=(t=this.options).isItemDisabled)==null?void 0:n.call(t,e))??lm.isItemDisabled(e)}stringifyItem(e){var t,n;return e==null?null:((n=(t=this.options).itemToString)==null?void 0:n.call(t,e))??lm.itemToString(e)}stringify(e){return e==null?null:this.stringifyItem(this.find(e))}stringifyItems(e,t=", "){return Array.from(e).map(n=>this.stringifyItem(n)).filter(Boolean).join(t)}stringifyMany(e,t){return this.stringifyItems(this.findMany(e),t)}has(e){return this.indexOf(e)!==-1}hasItem(e){return e==null?!1:this.has(this.getItemValue(e))}get size(){return this.items.length}get firstValue(){let e=0;for(;this.getItemDisabled(this.at(e));)e++;return this.getItemValue(this.at(e))}get lastValue(){let e=this.size-1;for(;this.getItemDisabled(this.at(e));)e--;return this.getItemValue(this.at(e))}getNextValue(e){let t=this.indexOf(e);if(t===-1)return null;for(t++;t<=this.size&&this.getItemDisabled(this.at(t));)t++;return this.getItemValue(this.at(t))}getPreviousValue(e){let t=this.indexOf(e);if(t===-1)return null;for(t--;t>=0&&this.getItemDisabled(this.at(t));)t--;return this.getItemValue(this.at(t))}indexOf(e){return e==null?-1:this.items.findIndex(t=>this.getItemValue(t)===e)}getByText(e,t){let n=t!=null?YJ(this.items,this.indexOf(t)):this.items;return e.length===1&&(n=n.filter(r=>this.getItemValue(r)!==t)),n.find(r=>qJ(this.stringifyItem(r),e))}search(e,t){const{state:n,currentValue:r,timeout:i=350}=t,o=n.keysSoFar+e,s=o.length>1&&Array.from(o).every(f=>f===o[0])?o[0]:o,a=this.getByText(s,r),u=this.getItemValue(a);function l(){clearTimeout(n.timer),n.timer=-1}function c(f){n.keysSoFar=f,l(),f!==""&&(n.timer=+setTimeout(()=>{c(""),l()},i))}return c(o),u}*[Symbol.iterator](){yield*this.items}insertBefore(e,t){const n=this.indexOf(e);n!==-1&&this.items.splice(n,0,t)}insertAfter(e,t){const n=this.indexOf(e);n!==-1&&this.items.splice(n+1,0,t)}reorder(e,t){if(e===-1||t===-1||e===t)return;const[n]=this.items.splice(e,1);this.items.splice(t,0,n)}toJSON(){return{size:this.size,first:this.firstValue,last:this.lastValue}}},qJ=(e,t)=>!!(e!=null&&e.toLowerCase().startsWith(t.toLowerCase())),YJ=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]),XJ=Yi("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText"),er=XJ.build(),wS=e=>Ed(new SD(e));wS.empty=()=>Ed(new SD({items:[]}));var $e=Pu({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`select:${e.id}`},getContentId:e=>{var t;return((t=e.ids)==null?void 0:t.content)??`select:${e.id}:content`},getTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`select:${e.id}:trigger`},getClearTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.clearTrigger)??`select:${e.id}:clear-trigger`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`select:${e.id}:label`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.control)??`select:${e.id}:control`},getItemId:(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.item)==null?void 0:r.call(n,t))??`select:${e.id}:option:${t}`},getHiddenSelectId:e=>{var t;return((t=e.ids)==null?void 0:t.hiddenSelect)??`select:${e.id}:select`},getPositionerId:e=>{var t;return((t=e.ids)==null?void 0:t.positioner)??`select:${e.id}:positioner`},getItemGroupId:(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemGroup)==null?void 0:r.call(n,t))??`select:${e.id}:optgroup:${t}`},getItemGroupLabelId:(e,t)=>{var n,r;return((r=(n=e.ids)==null?void 0:n.itemGroupLabel)==null?void 0:r.call(n,t))??`select:${e.id}:optgroup-label:${t}`},getHiddenSelectEl:e=>$e.getById(e,$e.getHiddenSelectId(e)),getContentEl:e=>$e.getById(e,$e.getContentId(e)),getControlEl:e=>$e.getById(e,$e.getControlId(e)),getTriggerEl:e=>$e.getById(e,$e.getTriggerId(e)),getClearTriggerEl:e=>$e.getById(e,$e.getClearTriggerId(e)),getPositionerEl:e=>$e.getById(e,$e.getPositionerId(e)),getHighlightedOptionEl(e){return e.highlightedValue?$e.getById(e,$e.getItemId(e,e.highlightedValue)):null}});function JJ(e,t,n){const r=e.context.isDisabled,i=e.context.invalid,o=e.context.readOnly,s=e.context.isInteractive,a=e.context.composite,u=e.hasTag("open"),l=e.matches("focused"),c=e.context.highlightedValue,f=e.context.highlightedItem,d=e.context.selectedItems,h=e.context.isTypingAhead,p=e.context.collection,m=c?$e.getItemId(e.context,c):void 0;function g(y){const b=p.getItemDisabled(y.item),w=p.getItemValue(y.item);return{value:w,disabled:!!(r||b),highlighted:c===w,selected:e.context.value.includes(w)}}const v=bD({...e.context.positioning,placement:e.context.currentPlacement});return{open:u,focused:l,empty:e.context.value.length===0,highlightedItem:f,highlightedValue:c,selectedItems:d,hasSelectedItems:e.context.hasSelectedItems,value:e.context.value,valueAsString:e.context.valueAsString,collection:p,setCollection(y){t({type:"COLLECTION.SET",value:y})},reposition(y={}){t({type:"POSITIONING.SET",options:y})},focus(){var y;(y=$e.getTriggerEl(e.context))==null||y.focus({preventScroll:!0})},setOpen(y){y!==u&&t(y?"OPEN":"CLOSE")},selectValue(y){t({type:"ITEM.SELECT",value:y})},setValue(y){t({type:"VALUE.SET",value:y})},selectAll(){t({type:"VALUE.SET",value:p.getValues()})},highlightValue(y){t({type:"HIGHLIGHTED_VALUE.SET",value:y})},clearValue(y){t(y?{type:"ITEM.CLEAR",value:y}:{type:"VALUE.CLEAR"})},getItemState:g,getRootProps(){return n.element({...er.root.attrs,dir:e.context.dir,id:$e.getRootId(e.context),"data-invalid":Le(i),"data-readonly":Le(o)})},getLabelProps(){return n.label({dir:e.context.dir,id:$e.getLabelId(e.context),...er.label.attrs,"data-disabled":Le(r),"data-invalid":Le(i),"data-readonly":Le(o),htmlFor:$e.getHiddenSelectId(e.context),onClick(y){var b;y.defaultPrevented||r||(b=$e.getTriggerEl(e.context))==null||b.focus({preventScroll:!0})}})},getControlProps(){return n.element({...er.control.attrs,dir:e.context.dir,id:$e.getControlId(e.context),"data-state":u?"open":"closed","data-focus":Le(l),"data-disabled":Le(r),"data-invalid":Le(i)})},getValueTextProps(){return n.element({...er.valueText.attrs,dir:e.context.dir,"data-disabled":Le(r),"data-invalid":Le(i),"data-focus":Le(l)})},getTriggerProps(){return n.button({id:$e.getTriggerId(e.context),disabled:r,dir:e.context.dir,type:"button",role:"combobox","aria-controls":$e.getContentId(e.context),"aria-expanded":u,"aria-haspopup":"listbox","data-state":u?"open":"closed","aria-invalid":i,"aria-labelledby":$e.getLabelId(e.context),...er.trigger.attrs,"data-disabled":Le(r),"data-invalid":Le(i),"data-readonly":Le(o),"data-placement":e.context.currentPlacement,"data-placeholder-shown":Le(!e.context.hasSelectedItems),onPointerDown(y){Gq(y)&&s&&(y.currentTarget.dataset.pointerType=y.pointerType,!(r||y.pointerType==="touch")&&t({type:"TRIGGER.CLICK"}))},onClick(y){!s||y.button||y.currentTarget.dataset.pointerType==="touch"&&t({type:"TRIGGER.CLICK"})},onFocus(){t("TRIGGER.FOCUS")},onBlur(){t("TRIGGER.BLUR")},onKeyDown(y){if(y.defaultPrevented||!s)return;const b={ArrowUp(){t({type:"TRIGGER.ARROW_UP"})},ArrowDown(w){t({type:w.altKey?"OPEN":"TRIGGER.ARROW_DOWN"})},ArrowLeft(){t({type:"TRIGGER.ARROW_LEFT"})},ArrowRight(){t({type:"TRIGGER.ARROW_RIGHT"})},Home(){t({type:"TRIGGER.HOME"})},End(){t({type:"TRIGGER.END"})},Enter(){t({type:"TRIGGER.ENTER"})},Space(w){t(h?{type:"TRIGGER.TYPEAHEAD",key:w.key}:{type:"TRIGGER.ENTER"})}}[Q_(y,e.context)];if(b){b(y),y.preventDefault();return}b1.isValidEvent(y)&&(t({type:"TRIGGER.TYPEAHEAD",key:y.key}),y.preventDefault())}})},getIndicatorProps(){return n.element({...er.indicator.attrs,dir:e.context.dir,"aria-hidden":!0,"data-state":u?"open":"closed","data-disabled":Le(r),"data-invalid":Le(i),"data-readonly":Le(o)})},getItemProps(y){const b=g(y);return n.element({id:$e.getItemId(e.context,b.value),role:"option",...er.item.attrs,dir:e.context.dir,"data-value":b.value,"aria-selected":b.selected,"data-state":b.selected?"checked":"unchecked","data-highlighted":Le(b.highlighted),"data-disabled":Le(b.disabled),"aria-disabled":$K(b.disabled),onPointerMove(w){b.disabled||w.pointerType!=="mouse"||b.value!==e.context.highlightedValue&&t({type:"ITEM.POINTER_MOVE",value:b.value})},onPointerUp(){b.disabled||t({type:"ITEM.CLICK",src:"pointerup",value:b.value})},onPointerLeave(w){b.disabled||y.persistFocus||w.pointerType!=="mouse"||["CONTENT.ARROW_UP","CONTENT.ARROW_DOWN"].includes(e.event.type)||t({type:"ITEM.POINTER_LEAVE"})},onTouchEnd(w){w.preventDefault(),w.stopPropagation()}})},getItemTextProps(y){const b=g(y);return n.element({...er.itemText.attrs,"data-state":b.selected?"checked":"unchecked","data-disabled":Le(b.disabled),"data-highlighted":Le(b.highlighted)})},getItemIndicatorProps(y){const b=g(y);return n.element({"aria-hidden":!0,...er.itemIndicator.attrs,"data-state":b.selected?"checked":"unchecked",hidden:!b.selected})},getItemGroupLabelProps(y){const{htmlFor:b}=y;return n.element({...er.itemGroupLabel.attrs,id:$e.getItemGroupLabelId(e.context,b),role:"group",dir:e.context.dir})},getItemGroupProps(y){const{id:b}=y;return n.element({...er.itemGroup.attrs,"data-disabled":Le(r),id:$e.getItemGroupId(e.context,b),"aria-labelledby":$e.getItemGroupLabelId(e.context,b),dir:e.context.dir})},getClearTriggerProps(){return n.button({...er.clearTrigger.attrs,id:$e.getClearTriggerId(e.context),type:"button","aria-label":"Clear value","data-invalid":Le(i),disabled:r,hidden:!e.context.hasSelectedItems,dir:e.context.dir,onClick(y){y.defaultPrevented||t("CLEAR.CLICK")}})},getHiddenSelectProps(){return n.select({name:e.context.name,form:e.context.form,disabled:r,multiple:e.context.multiple,required:e.context.required,"aria-hidden":!0,id:$e.getHiddenSelectId(e.context),defaultValue:e.context.multiple?e.context.value:e.context.value[0],style:V0,tabIndex:-1,onFocus(){var y;(y=$e.getTriggerEl(e.context))==null||y.focus({preventScroll:!0})},"aria-labelledby":$e.getLabelId(e.context)})},getPositionerProps(){return n.element({...er.positioner.attrs,dir:e.context.dir,id:$e.getPositionerId(e.context),style:v.floating})},getContentProps(){return n.element({hidden:!u,dir:e.context.dir,id:$e.getContentId(e.context),role:a?"listbox":"dialog",...er.content.attrs,"data-state":u?"open":"closed","data-placement":e.context.currentPlacement,"data-activedescendant":m,"aria-activedescendant":a?m:void 0,"aria-multiselectable":e.context.multiple&&a?!0:void 0,"aria-labelledby":$e.getLabelId(e.context),tabIndex:0,onKeyDown(y){if(!s||!YK(y))return;if(y.key==="Tab"&&!uq(y)){y.preventDefault();return}const b={ArrowUp(){t({type:"CONTENT.ARROW_UP"})},ArrowDown(){t({type:"CONTENT.ARROW_DOWN"})},Home(){t({type:"CONTENT.HOME"})},End(){t({type:"CONTENT.END"})},Enter(){t({type:"ITEM.CLICK",src:"keydown.enter"})},Space(S){var E;h?t({type:"CONTENT.TYPEAHEAD",key:S.key}):(E=b.Enter)==null||E.call(b,S)}},w=b[Q_(y)];if(w){w(y),y.preventDefault();return}lq(y.target)||b1.isValidEvent(y)&&(t({type:"CONTENT.TYPEAHEAD",key:y.key}),y.preventDefault())}})},getListProps(){return n.element({...er.list.attrs,tabIndex:0,role:a?void 0:"listbox","aria-labelledby":$e.getTriggerId(e.context),"aria-activedescendant":a?void 0:m,"aria-multiselectable":!a&&e.context.multiple?!0:void 0})}}}var{and:Ku,not:Ia,or:QJ}=hh;function ZJ(e){const t=lo(e);return ga({id:"select",context:{value:[],highlightedValue:null,loopFocus:!1,closeOnSelect:!t.multiple,disabled:!1,readOnly:!1,composite:!0,...t,highlightedItem:null,selectedItems:[],valueAsString:"",collection:t.collection??wS.empty(),typeahead:b1.defaultOptions,fieldsetDisabled:!1,restoreFocus:!0,positioning:{placement:"bottom-start",gutter:8,...t.positioning}},computed:{hasSelectedItems:n=>n.value.length>0,isTypingAhead:n=>n.typeahead.keysSoFar!=="",isDisabled:n=>!!n.disabled||n.fieldsetDisabled,isInteractive:n=>!(n.isDisabled||n.readOnly)},initial:t.open?"open":"idle",created:["syncCollection"],entry:["syncSelectElement"],watch:{open:["toggleVisibility"],value:["syncSelectedItems","syncSelectElement"],highlightedValue:["syncHighlightedItem"],collection:["syncCollection"]},on:{"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedItem"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setSelectedItems"]},"VALUE.CLEAR":{actions:["clearSelectedItems"]},"CLEAR.CLICK":{actions:["clearSelectedItems","focusTriggerEl"]},"COLLECTION.SET":{actions:["setCollection"]}},activities:["trackFormControlState"],states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["highlightFirstSelectedItem"]},{target:"open"}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}},focused:{tags:["closed"],entry:["focusTriggerEl"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["highlightFirstSelectedItem"]},{guard:"isTriggerArrowUpEvent",target:"open",actions:["highlightComputedLastItem"]},{guard:QJ("isTriggerArrowDownEvent","isTriggerEnterEvent"),target:"open",actions:["highlightComputedFirstItem"]},{target:"open"}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"TRIGGER.BLUR":{target:"idle"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.ENTER":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_UP":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedLastItem"]}],"TRIGGER.ARROW_DOWN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_LEFT":[{guard:Ku(Ia("multiple"),"hasSelectedItems"),actions:["selectPreviousItem"]},{guard:Ia("multiple"),actions:["selectLastItem"]}],"TRIGGER.ARROW_RIGHT":[{guard:Ku(Ia("multiple"),"hasSelectedItems"),actions:["selectNextItem"]},{guard:Ia("multiple"),actions:["selectFirstItem"]}],"TRIGGER.HOME":{guard:Ia("multiple"),actions:["selectFirstItem"]},"TRIGGER.END":{guard:Ia("multiple"),actions:["selectLastItem"]},"TRIGGER.TYPEAHEAD":{guard:Ia("multiple"),actions:["selectMatchingItem"]}}},open:{tags:["open"],entry:["setInitialFocus"],exit:["scrollContentToTop"],activities:["trackDismissableElement","computePlacement","scrollToHighlightedItem"],on:{"CONTROLLED.CLOSE":[{guard:"shouldRestoreFocus",target:"focused",actions:["clearHighlightedItem"]},{target:"idle",actions:["clearHighlightedItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"ITEM.CLICK":[{guard:Ku("closeOnSelect","isOpenControlled"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","clearHighlightedItem"]},{actions:["selectHighlightedItem"]}],"CONTENT.INTERACT_OUTSIDE":[{guard:Ku("shouldRestoreFocus","isOpenControlled"),actions:["invokeOnClose"]},{guard:"shouldRestoreFocus",target:"focused",actions:["invokeOnClose","clearHighlightedItem"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose","clearHighlightedItem"]}],"CONTENT.HOME":{actions:["highlightFirstItem"]},"CONTENT.END":{actions:["highlightLastItem"]},"CONTENT.ARROW_DOWN":[{guard:Ku("hasHighlightedItem","loop","isLastItemHighlighted"),actions:["highlightFirstItem"]},{guard:"hasHighlightedItem",actions:["highlightNextItem"]},{actions:["highlightFirstItem"]}],"CONTENT.ARROW_UP":[{guard:Ku("hasHighlightedItem","loop","isFirstItemHighlighted"),actions:["highlightLastItem"]},{guard:"hasHighlightedItem",actions:["highlightPreviousItem"]},{actions:["highlightLastItem"]}],"CONTENT.TYPEAHEAD":{actions:["highlightMatchingItem"]},"ITEM.POINTER_MOVE":{actions:["highlightItem"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedItem"]},"POSITIONING.SET":{actions:["reposition"]}}}}},{guards:{loop:n=>!!n.loopFocus,multiple:n=>!!n.multiple,hasSelectedItems:n=>!!n.hasSelectedItems,hasHighlightedItem:n=>n.highlightedValue!=null,isFirstItemHighlighted:n=>n.highlightedValue===n.collection.firstValue,isLastItemHighlighted:n=>n.highlightedValue===n.collection.lastValue,closeOnSelect:(n,r)=>!!(r.closeOnSelect??n.closeOnSelect),shouldRestoreFocus:n=>!!n.restoreFocus,isOpenControlled:n=>!!n["open.controlled"],isTriggerClickEvent:(n,r)=>{var i;return((i=r.previousEvent)==null?void 0:i.type)==="TRIGGER.CLICK"},isTriggerEnterEvent:(n,r)=>{var i;return((i=r.previousEvent)==null?void 0:i.type)==="TRIGGER.ENTER"},isTriggerArrowUpEvent:(n,r)=>{var i;return((i=r.previousEvent)==null?void 0:i.type)==="TRIGGER.ARROW_UP"},isTriggerArrowDownEvent:(n,r)=>{var i;return((i=r.previousEvent)==null?void 0:i.type)==="TRIGGER.ARROW_DOWN"}},activities:{trackFormControlState(n,r,{initialContext:i}){return W0($e.getHiddenSelectEl(n),{onFieldsetDisabledChange(o){n.fieldsetDisabled=o},onFormReset(){Zt.selectedItems(n,i.value)}})},trackDismissableElement(n,r,{send:i}){return dS(()=>$e.getContentEl(n),{defer:!0,exclude:[$e.getTriggerEl(n),$e.getClearTriggerEl(n)],onFocusOutside:n.onFocusOutside,onPointerDownOutside:n.onPointerDownOutside,onInteractOutside(o){var s;(s=n.onInteractOutside)==null||s.call(n,o),n.restoreFocus=!o.detail.focusable},onDismiss(){i({type:"CONTENT.INTERACT_OUTSIDE"})}})},computePlacement(n){return n.currentPlacement=n.positioning.placement,_g(()=>$e.getTriggerEl(n),()=>$e.getPositionerEl(n),{defer:!0,...n.positioning,onComplete(r){n.currentPlacement=r.placement}})},scrollToHighlightedItem(n,r,{getState:i}){const o=s=>{if(n.highlightedValue==null||i().event.type.includes("POINTER"))return;const a=$e.getHighlightedOptionEl(n),u=$e.getContentEl(n);if(n.scrollToIndexFn){const l=n.collection.indexOf(n.highlightedValue);n.scrollToIndexFn({index:l,immediate:s});return}vq(a,{rootEl:u,block:"nearest"})};return fn(()=>o(!0)),hq(()=>$e.getContentEl(n),{defer:!0,attributes:["data-activedescendant"],callback(){o(!1)}})}},actions:{reposition(n,r){const i=()=>$e.getPositionerEl(n);_g($e.getTriggerEl(n),i,{...n.positioning,...r.options,defer:!0,listeners:!1,onComplete(o){n.currentPlacement=o.placement}})},toggleVisibility(n,r,{send:i}){i({type:n.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:r})},highlightPreviousItem(n){if(n.highlightedValue==null)return;const r=n.collection.getPreviousValue(n.highlightedValue);Zt.highlightedItem(n,r)},highlightNextItem(n){if(n.highlightedValue==null)return;const r=n.collection.getNextValue(n.highlightedValue);Zt.highlightedItem(n,r)},highlightFirstItem(n){const r=n.collection.firstValue;Zt.highlightedItem(n,r)},highlightLastItem(n){const r=n.collection.lastValue;Zt.highlightedItem(n,r)},setInitialFocus(n){fn(()=>{const r=hg({root:$e.getContentEl(n)});r==null||r.focus({preventScroll:!0})})},focusTriggerEl(n){fn(()=>{var r;(r=$e.getTriggerEl(n))==null||r.focus({preventScroll:!0})})},selectHighlightedItem(n,r){const i=r.value??n.highlightedValue;i!=null&&Zt.selectedItem(n,i)},highlightComputedFirstItem(n){const r=n.hasSelectedItems?n.collection.sort(n.value)[0]:n.collection.firstValue;Zt.highlightedItem(n,r)},highlightComputedLastItem(n){const r=n.hasSelectedItems?n.collection.sort(n.value)[0]:n.collection.lastValue;Zt.highlightedItem(n,r)},highlightFirstSelectedItem(n){if(!n.hasSelectedItems)return;const[r]=n.collection.sort(n.value);Zt.highlightedItem(n,r)},highlightItem(n,r){Zt.highlightedItem(n,r.value)},highlightMatchingItem(n,r){const i=n.collection.search(r.key,{state:n.typeahead,currentValue:n.highlightedValue});i!=null&&Zt.highlightedItem(n,i)},setHighlightedItem(n,r){Zt.highlightedItem(n,r.value)},clearHighlightedItem(n){Zt.highlightedItem(n,null,!0)},selectItem(n,r){Zt.selectedItem(n,r.value)},clearItem(n,r){const i=n.value.filter(o=>o!==r.value);Zt.selectedItems(n,i)},setSelectedItems(n,r){Zt.selectedItems(n,r.value)},clearSelectedItems(n){Zt.selectedItems(n,[])},selectPreviousItem(n){const r=n.collection.getPreviousValue(n.value[0]);Zt.selectedItem(n,r)},selectNextItem(n){const r=n.collection.getNextValue(n.value[0]);Zt.selectedItem(n,r)},selectFirstItem(n){const r=n.collection.firstValue;Zt.selectedItem(n,r)},selectLastItem(n){const r=n.collection.lastValue;Zt.selectedItem(n,r)},selectMatchingItem(n,r){const i=n.collection.search(r.key,{state:n.typeahead,currentValue:n.value[0]});i!=null&&Zt.selectedItem(n,i)},scrollContentToTop(n){var r;n.scrollToIndexFn?n.scrollToIndexFn({index:0,immediate:!0}):(r=$e.getContentEl(n))==null||r.scrollTo(0,0)},invokeOnOpen(n){var r;(r=n.onOpenChange)==null||r.call(n,{open:!0})},invokeOnClose(n){var r;(r=n.onOpenChange)==null||r.call(n,{open:!1})},syncSelectElement(n){const r=$e.getHiddenSelectEl(n);if(r){if(n.value.length===0&&!n.multiple){r.selectedIndex=-1;return}for(const i of r.options)i.selected=n.value.includes(i.value)}},setCollection(n,r){n.collection=r.value},syncCollection(n){const r=n.collection.findMany(n.value),i=n.collection.stringifyItems(r);n.highlightedItem=n.collection.find(n.highlightedValue),n.selectedItems=r,n.valueAsString=i},syncSelectedItems(n){Og.valueChange(n)},syncHighlightedItem(n){Og.highlightChange(n)}}})}function eQ(e){fn(()=>{const t=$e.getHiddenSelectEl(e);if(!t)return;const n=$e.getWin(e),r=new n.Event("change",{bubbles:!0,composed:!0});t.dispatchEvent(r)})}var Og={valueChange:e=>{const t=e.selectedItems;e.selectedItems=e.value.map(n=>t.find(i=>e.collection.getItemValue(i)===n)||e.collection.find(n)),e.valueAsString=e.collection.stringifyItems(e.selectedItems)},highlightChange:e=>{e.highlightedItem=e.collection.find(e.highlightedValue)}},dp={valueChange:e=>{var t;Og.valueChange(e),(t=e.onValueChange)==null||t.call(e,{value:Array.from(e.value),items:Array.from(e.selectedItems)}),eQ(e)},highlightChange:e=>{var t;Og.highlightChange(e),(t=e.onHighlightChange)==null||t.call(e,{highlightedValue:e.highlightedValue,highlightedItem:e.highlightedItem,highlightedIndex:e.collection.indexOf(e.highlightedValue)})}},Zt={selectedItem:(e,t,n=!1)=>{if(!Ho(e.value,t)&&!(t==null&&!n)){if(t==null&&n){e.value=[],dp.valueChange(e);return}e.value=e.multiple?uY(e.value,t):[t],dp.valueChange(e)}},selectedItems:(e,t)=>{Ho(e.value,t)||(e.value=t,dp.valueChange(e))},highlightedItem:(e,t,n=!1)=>{Ho(e.highlightedValue,t)||t==null&&!n||(e.highlightedValue=t??null,dp.highlightChange(e))}};co()(["closeOnSelect","collection","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open.controlled","open","composite","positioning","required","readOnly","scrollToIndexFn","value"]);co()(["item","persistFocus"]);co()(["id"]);co()(["htmlFor"]);const tQ={class:"dgr-selectbox-root"},nQ=["value"],rQ=xt({__name:"selectbox",props:au({id:{default:()=>da()},options:{},placeholder:{default:"選択してください"},optionsMaxHeight:{default:"30vh"},size:{default:"medium"},disabled:{type:Boolean,default:!1},name:{default:void 0},form:{default:void 0},invalid:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},loopFocus:{type:Boolean,default:!1}},{modelValue:{default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){eh(a=>({"7b2dcdaa":a.optionsMaxHeight}));const t=e,n=bc(e,"modelValue"),r=_e(()=>({value:n.value?[`${n.value}`]:[],disabled:t.disabled,invalid:t.invalid,collection:wS({items:t.options,itemToString:a=>a.label,itemToValue:a=>`${a.value}`,isItemDisabled:a=>a.disabled??!1}),positioning:{sameWidth:t.size==="medium",offset:{mainAxis:4}},onValueChange:a=>{var u;n.value=(u=a.items.at(0))==null?void 0:u.value}})),[i,o]=Du(ZJ({...r.value,id:t.id,name:t.name,form:t.form,closeOnSelect:t.closeOnSelect,loopFocus:t.loopFocus}),{context:r}),s=_e(()=>JJ(i.value,o,va));return on(()=>t.disabled,a=>{a&&s.value.setOpen(!1)}),(a,u)=>(Se(),Ne("div",tQ,[ge("select",gn(Gn(s.value.getHiddenSelectProps())),[(Se(!0),Ne(jt,null,su(a.options,l=>(Se(),Ne("option",{key:l.value,value:l.value},un(l.label),9,nQ))),128))],16),ge("div",Et(s.value.getControlProps(),{class:["selectbox",{small:a.size==="small"}]}),[a.$slots.default?(Se(),Ne("label",gn(Et({key:0},s.value.getLabelProps())),[Nt(a.$slots,"default",{},void 0,!0)],16)):Jn("",!0),ge("button",Et(s.value.getTriggerProps(),{class:["c-selectBox",{"c-selectBox--small":a.size==="small"}]}),[ge("span",{class:_t(["c-selectBox__placeholder",a.size==="small"?"c-text--s":"c-text--m"])},un(s.value.valueAsString||a.placeholder),3),te(tc,{name:"angle-down",size:a.size==="small"?"small":"default",class:"c-selectBox__arrow"},null,8,["size"])],16)],16),s.value.open&&a.options.length>0?(Se(),Ur(yc,{key:0,to:"body"},[ge("div",gn(Gn(s.value.getPositionerProps())),[ge("div",Et(s.value.getContentProps(),{class:"c-selectOptions"}),[(Se(!0),Ne(jt,null,su(a.options,l=>(Se(),Ne("span",Et({key:l.value,ref_for:!0},s.value.getItemProps({item:l}),{class:["c-selectOptions__label","c-text--m",l.disabled?"disabled":""]}),[Nt(a.$slots,"option",{option:l},()=>[$n(un(l.label),1)],!0),ge("span",Et({ref_for:!0},s.value.getItemIndicatorProps({item:l})),null,16)],16))),128))],16)],16)])):Jn("",!0)]))}}),mfe=xn(rQ,[["__scopeId","data-v-9e812dd4"]]);var iQ=Yi("toast").parts("group","root","title","description","actionTrigger","closeTrigger"),al=iQ.build(),Un=Pu({getRegionId:e=>`toast-group:${e}`,getRegionEl:(e,t)=>Un.getById(e,`toast-group:${t}`),getRootId:e=>`toast:${e.id}`,getRootEl:e=>Un.getById(e,Un.getRootId(e)),getTitleId:e=>`toast:${e.id}:title`,getDescriptionId:e=>`toast:${e.id}:description`,getCloseTriggerId:e=>`toast${e.id}:close`});function ES(e,t){return e.filter(n=>n.state.context.placement===t)}var SO={info:5e3,error:5e3,success:2e3,loading:1/0,DEFAULT:5e3};function xO(e,t){return e??SO[t]??SO.DEFAULT}function oQ(e,t){var n;const r=e.offsets,i=typeof r=="string"?{left:r,right:r,bottom:r,top:r}:r,o=e.dir==="rtl",s=t.replace("-start",o?"-right":"-left").replace("-end",o?"-left":"-right"),a=s.includes("right"),u=s.includes("left"),l={position:"fixed",pointerEvents:e.count>0?void 0:"none",display:"flex",flexDirection:"column","--gap":`${e.gap}px`,"--first-height":`${((n=e.heights[0])==null?void 0:n.height)||0}px`,zIndex:FK};let c="center";if(a&&(c="flex-end"),u&&(c="flex-start"),l.alignItems=c,s.includes("top")){const f=i.top;l.top=`max(env(safe-area-inset-top, 0px), ${f})`}if(s.includes("bottom")){const f=i.bottom;l.bottom=`max(env(safe-area-inset-bottom, 0px), ${f})`}if(!s.includes("left")){const f=i.right;l.insetInlineEnd=`calc(env(safe-area-inset-right, 0px) + ${f})`}if(!s.includes("right")){const f=i.left;l.insetInlineStart=`calc(env(safe-area-inset-left, 0px) + ${f})`}return l}function sQ(e,t){const[n]=e.placement.split("-"),r=!e.frontmost,i=!e.stacked,o={position:"absolute",pointerEvents:"auto","--opacity":"0","--remove-delay":`${e.removeDelay}ms`,"--duration":`${e.type==="loading"?Number.MAX_SAFE_INTEGER:e.duration}ms`,"--initial-height":`${e.height}px`,"--offset":`${e.offset}px`,"--index":e.index,"--z-index":e.zIndex,"--lift-amount":"calc(var(--lift) * var(--gap))","--y":"100%","--x":"0"},s=a=>Object.assign(o,a);return n==="top"?s({top:"0","--sign":"-1","--y":"-100%","--lift":"1"}):n==="bottom"&&s({bottom:"0","--sign":"1","--y":"100%","--lift":"-1"}),e.mounted&&(s({"--y":"0","--opacity":"1"}),e.stacked&&s({"--y":"calc(var(--lift) * var(--offset))","--height":"var(--initial-height)"})),t||s({"--opacity":"0",pointerEvents:"none"}),r&&i&&(s({"--base-scale":"var(--index) * 0.05 + 1","--y":"calc(var(--lift-amount) * var(--index))","--scale":"calc(-1 * var(--base-scale))","--height":"var(--first-height)"}),t||s({"--y":"calc(var(--sign) * 40%)"})),r&&e.stacked&&!t&&s({"--y":"calc(var(--lift) * var(--offset) + var(--lift) * -100%)"}),e.frontmost&&!t&&s({"--y":"calc(var(--lift) * -100%)"}),o}function aQ(e,t){const n={position:"absolute",inset:"0",scale:"1 2",pointerEvents:t?"none":"auto"},r=i=>Object.assign(n,i);return e.frontmost&&!t&&r({height:"calc(var(--initial-height) + 80%)"}),n}function uQ(e,t){return{position:"absolute",left:"0",height:"calc(var(--gap) + 2px)",bottom:"100%",width:"100%"}}function lQ(e,t,n){function r(){return Wq(e)?e.getState():e}function i(c){return ES(r().context.toasts,c)}function o(c){const f=r().context.toasts;return f.length?!!f.find(d=>d.id==c):!1}function s(c){const f=`toast:${fY()}`,d=c.id?c.id:f;return o(d)||t({type:"ADD_TOAST",toast:{...c,id:d}}),d}function a(c,f){return o(c)&&t({type:"UPDATE_TOAST",id:c,toast:f}),c}function u(c){const{id:f}=c;return f&&o(f)&&f!=null?a(f,c):s(c)}function l(c){c==null?t("DISMISS_ALL"):o(c)&&t({type:"DISMISS_TOAST",id:c})}return{getCount(){return r().context.count},getPlacements(){const c=r().context.toasts.map(f=>f.state.context.placement);return Array.from(new Set(c))},getToastsByPlacement:i,isVisible:o,create:s,update:a,upsert:u,dismiss:l,remove(c){c==null?t("REMOVE_ALL"):o(c)&&t({type:"REMOVE_TOAST",id:c})},dismissByPlacement(c){i(c).forEach(f=>l(f.id))},loading(c){return u({...c,type:"loading"})},success(c){return u({...c,type:"success"})},error(c){return u({...c,type:"error"})},promise(c,f,d={}){const h=u({...d,...f.loading,type:"loading"});return um(c).then(p=>{const m=um(f.success,p);u({...d,...m,id:h,type:"success"})}).catch(p=>{const m=um(f.error,p);u({...d,...m,id:h,type:"error"})}).finally(()=>{var p;(p=f.finally)==null||p.call(f)}),h},pause(c){c==null?t("PAUSE_ALL"):o(c)&&t({type:"PAUSE_TOAST",id:c})},resume(c){c==null?t("RESUME_ALL"):o(c)&&t({type:"RESUME_TOAST",id:c})},getGroupProps(c){const{placement:f,label:d="Notifications"}=c,h=r(),p=h.context.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,""),[m,g="center"]=f.split("-");return n.element({...al.group.attrs,dir:h.context.dir,tabIndex:-1,"aria-label":`${f} ${d} ${p}`,id:Un.getRegionId(f),"data-placement":f,"data-side":m,"data-align":g,"aria-live":"polite",role:"region",style:oQ(h.context,f),onMouseMove(){t({type:"REGION.POINTER_ENTER",placement:f})},onMouseLeave(){t({type:"REGION.POINTER_LEAVE",placement:f})},onFocus(v){t({type:"REGION.FOCUS",target:v.relatedTarget})},onBlur(v){h.context.isFocusWithin&&!pu(v.currentTarget,v.relatedTarget)&&t({type:"REGION.BLUR"})}})},subscribe(c){const f=r();return pg(f.context.toasts,()=>{const d=i(f.context.placement).map(h=>h.getState().context);c(d)})}}}var{not:cQ,and:fQ,or:dQ}=hh;function hQ(e){const{type:t="info",duration:n,id:r="1",placement:i="bottom",removeDelay:o=200,...s}=e,a=lo(s),u=xO(n,t);return ga({id:r,context:{id:r,type:t,remaining:u,duration:u,removeDelay:o,createdAt:Date.now(),placement:i,...a,height:0,offset:0,frontmost:!1,mounted:!1,index:-1,zIndex:0},initial:t==="loading"?"visible:persist":"visible",on:{UPDATE:[{guard:fQ("hasTypeChanged","isChangingToLoading"),target:"visible:persist",actions:["setContext"]},{guard:dQ("hasDurationChanged","hasTypeChanged"),target:"visible:updating",actions:["setContext"]},{actions:["setContext"]}],MEASURE:{actions:["measureHeight"]}},entry:["invokeOnVisible"],activities:["trackHeight"],states:{"visible:updating":{tags:["visible","updating"],after:{0:"visible"}},"visible:persist":{tags:["visible","paused"],on:{RESUME:{guard:cQ("isLoadingType"),target:"visible",actions:["setCreatedAt"]},DISMISS:"dismissing"}},visible:{tags:["visible"],after:{VISIBLE_DURATION:"dismissing"},on:{DISMISS:"dismissing",PAUSE:{target:"visible:persist",actions:"setRemainingDuration"}}},dismissing:{entry:"invokeOnDismiss",after:{REMOVE_DELAY:{target:"unmounted",actions:"notifyParentToRemove"}}},unmounted:{entry:"invokeOnUnmount",type:"final"}}},{activities:{trackHeight(l,c,{self:f}){let d;return fn(()=>{const h=Un.getRootEl(l);if(!h)return;l.mounted=!0;const p=HP(h,"[data-ghost]");fS(p.length!==2,"[toast] No ghost element found in toast. Render the `ghostBefore` and `ghostAfter` elements");const m=()=>{const y=h.style.height;h.style.height="auto";const b=h.getBoundingClientRect().height;h.style.height=y,l.height=b,f.sendParent({type:"UPDATE_HEIGHT",id:f.id,height:b,placement:l.placement})};m();const g=Un.getWin(l),v=new g.MutationObserver(m);v.observe(h,{childList:!0,subtree:!0,characterData:!0}),d=()=>v.disconnect()}),()=>d==null?void 0:d()}},guards:{isChangingToLoading:(l,c)=>{var f;return((f=c.toast)==null?void 0:f.type)==="loading"},isLoadingType:l=>l.type==="loading",hasTypeChanged:(l,c)=>{var f;return((f=c.toast)==null?void 0:f.type)!=null&&c.toast.type!==l.type},hasDurationChanged:(l,c)=>{var f;return((f=c.toast)==null?void 0:f.duration)!=null&&c.toast.duration!==l.duration}},delays:{VISIBLE_DURATION:l=>l.remaining,REMOVE_DELAY:l=>l.removeDelay},actions:{measureHeight(l,c,{self:f}){fn(()=>{const d=Un.getRootEl(l);if(!d)return;l.mounted=!0;const h=d.style.height;d.style.height="auto";const p=d.getBoundingClientRect().height;d.style.height=h,l.height=p,f.sendParent({type:"UPDATE_HEIGHT",id:f.id,height:p,placement:l.placement})})},setRemainingDuration(l){l.remaining-=Date.now()-l.createdAt},setCreatedAt(l){l.createdAt=Date.now()},notifyParentToRemove(l,c,{self:f}){f.sendParent({type:"REMOVE_TOAST",id:f.id})},invokeOnDismiss(l){var c;(c=l.onStatusChange)==null||c.call(l,{status:"dismissing"})},invokeOnUnmount(l){var c;(c=l.onStatusChange)==null||c.call(l,{status:"unmounted"})},invokeOnVisible(l){var c;(c=l.onStatusChange)==null||c.call(l,{status:"visible"})},setContext(l,c){var f,d;const h=(f=c.toast)==null?void 0:f.duration,p=((d=c.toast)==null?void 0:d.type)??l.type,m=xO(h,p);Object.assign(l,{...c.toast,duration:m,remaining:m})}}})}function pQ(e){const t=lo(e);return ga({id:"toaster",initial:t.overlap?"overlap":"stack",context:{dir:"ltr",max:Number.MAX_SAFE_INTEGER,gap:16,pauseOnPageIdle:!1,hotkey:["altKey","KeyT"],offsets:"1rem",placement:"bottom",removeDelay:200,...t,toasts:[],lastFocusedEl:null,isFocusWithin:!1,heights:[]},computed:{count:n=>n.toasts.length},activities:["trackDocumentVisibility","trackHotKeyPress"],watch:{toasts:["collapsedIfEmpty","setDismissableBranch"]},exit:["removeToasts","clearDismissableBranch","clearLastFocusedEl"],on:{PAUSE_TOAST:{actions:["pauseToast"]},PAUSE_ALL:{actions:["pauseToasts"]},RESUME_TOAST:{actions:["resumeToast"]},RESUME_ALL:{actions:["resumeToasts"]},ADD_TOAST:{guard:"isWithinRange",actions:["createToast","syncToastIndex"]},UPDATE_TOAST:{actions:["updateToast"]},DISMISS_TOAST:{actions:["dismissToast"]},DISMISS_ALL:{actions:["dismissToasts"]},REMOVE_TOAST:{actions:["removeToast","syncToastIndex","syncToastOffset"]},REMOVE_ALL:{actions:["removeToasts"]},UPDATE_HEIGHT:{actions:["syncHeights","syncToastOffset"]},"DOC.HOTKEY":{actions:["focusRegionEl"]},"REGION.BLUR":[{guard:"isOverlapping",target:"overlap",actions:["resumeToasts","restoreLastFocusedEl"]},{actions:["resumeToasts","restoreLastFocusedEl"]}]},states:{stack:{entry:["expandToasts"],on:{"REGION.POINTER_LEAVE":[{guard:"isOverlapping",target:"overlap",actions:["resumeToasts"]},{actions:["resumeToasts"]}],"REGION.OVERLAP":{target:"overlap"},"REGION.FOCUS":{actions:["setLastFocusedEl","pauseToasts"]},"REGION.POINTER_ENTER":{actions:["pauseToasts"]}}},overlap:{entry:["collapseToasts"],on:{"REGION.STACK":{target:"stack"},"REGION.POINTER_ENTER":{target:"stack",actions:["pauseToasts"]},"REGION.FOCUS":{target:"stack",actions:["setLastFocusedEl","pauseToasts"]}}}}},{guards:{isWithinRange:n=>n.toasts.length<n.max,isOverlapping:n=>!!n.overlap},activities:{trackHotKeyPress(n,r,{send:i}){return or(document,"keydown",o=>{n.hotkey.every(s=>o[s]||o.code===s)&&i({type:"DOC.HOTKEY"})},{capture:!0})},trackDocumentVisibility(n,r,{send:i}){if(!n.pauseOnPageIdle)return;const o=Un.getDoc(n);return or(o,"visibilitychange",()=>{i(o.visibilityState==="hidden"?"PAUSE_ALL":"RESUME_ALL")})}},actions:{setDismissableBranch(n){var r;const i=ES(n.toasts,n.placement).length>0;if(!i){(r=n._cleanup)==null||r.call(n);return}if(i&&n._cleanup)return;const o=()=>Un.getRegionEl(n,n.placement);n._cleanup=HY(o,{defer:!0})},clearDismissableBranch(n){var r;(r=n._cleanup)==null||r.call(n)},focusRegionEl(n){queueMicrotask(()=>{var r;(r=Un.getRegionEl(n,n.placement))==null||r.focus()})},expandToasts(n){hp(n,r=>{r.state.context.stacked=!0})},collapseToasts(n){hp(n,r=>{r.state.context.stacked=!1})},collapsedIfEmpty(n,r,{send:i}){!n.overlap||n.toasts.length>1||i("REGION.OVERLAP")},pauseToast(n,r,{self:i}){i.sendChild("PAUSE",r.id)},pauseToasts(n){n.toasts.forEach(r=>r.send("PAUSE"))},resumeToast(n,r,{self:i}){i.sendChild("RESUME",r.id)},resumeToasts(n){n.toasts.forEach(r=>r.send("RESUME"))},measureToasts(n){n.toasts.forEach(r=>r.send("MEASURE"))},createToast(n,r,{self:i,getState:o}){const s={placement:n.placement,duration:n.duration,removeDelay:n.removeDelay,...r.toast,dir:n.dir,getRootNode:n.getRootNode,stacked:o().matches("stack")},a=hQ(s),u=i.spawn(a);n.toasts=[u,...n.toasts]},updateToast(n,r,{self:i}){i.sendChild({type:"UPDATE",toast:r.toast},r.id)},dismissToast(n,r,{self:i}){i.sendChild("DISMISS",r.id)},dismissToasts(n){n.toasts.forEach(r=>r.send("DISMISS"))},removeToast(n,r,{self:i}){i.stopChild(r.id),n.toasts=n.toasts.filter(o=>o.id!==r.id),n.heights=n.heights.filter(o=>o.id!==r.id)},removeToasts(n,r,{self:i}){n.toasts.forEach(o=>i.stopChild(o.id)),n.toasts=[],n.heights=[]},syncHeights(n,r){const i=n.heights.find(o=>o.id===r.id);if(i)i.height=r.height,i.placement=r.placement;else{const o={id:r.id,height:r.height,placement:r.placement};n.heights=[o,...n.heights]}},syncToastIndex(n){hp(n,(r,i,o)=>{r.state.context.index=i,r.state.context.frontmost=i===0,r.state.context.zIndex=o.length-i})},syncToastOffset(n,r){const i=r.placement??n.placement;hp({...n,placement:i},o=>{const s=Math.max(n.heights.findIndex(u=>u.id===o.id),0),a=n.heights.reduce((u,l,c)=>c>=s?u:u+l.height,0);o.state.context.offset=s*n.gap+a})},setLastFocusedEl(n,r){n.isFocusWithin||!r.target||(n.isFocusWithin=!0,n.lastFocusedEl=Ed(r.target))},restoreLastFocusedEl(n){n.isFocusWithin=!1,n.lastFocusedEl&&(n.lastFocusedEl.focus({preventScroll:!0}),n.lastFocusedEl=null)},clearLastFocusedEl(n){n.lastFocusedEl&&(n.lastFocusedEl.focus({preventScroll:!0}),n.lastFocusedEl=null,n.isFocusWithin=!1)}}})}function hp(e,t){ES(e.toasts,e.placement).forEach(t)}function mQ(e,t,n){const r=e.hasTag("visible"),i=e.hasTag("paused"),o=e.context.placement,s=e.context.type,[a,u="center"]=o.split("-");return{type:s,title:e.context.title,description:e.context.description,placement:o,visible:r,paused:i,pause(){t("PAUSE")},resume(){t("RESUME")},dismiss(){t("DISMISS")},getRootProps(){return n.element({...al.root.attrs,dir:e.context.dir,id:Un.getRootId(e.context),"data-state":r?"open":"closed","data-type":s,"data-placement":o,"data-align":u,"data-side":a,"data-mounted":Le(e.context.mounted),"data-paused":Le(i),"data-first":Le(e.context.frontmost),"data-sibling":Le(!e.context.frontmost),"data-stack":Le(e.context.stacked),"data-overlap":Le(!e.context.stacked),role:"status","aria-atomic":"true","aria-describedby":e.context.description?Un.getDescriptionId(e.context):void 0,"aria-labelledby":e.context.title?Un.getTitleId(e.context):void 0,tabIndex:0,style:sQ(e.context,r),onKeyDown(l){l.defaultPrevented||l.key=="Escape"&&(t("DISMISS"),l.preventDefault())}})},getGhostBeforeProps(){return n.element({"data-ghost":"before",style:aQ(e.context,r)})},getGhostAfterProps(){return n.element({"data-ghost":"after",style:uQ(e.context)})},getTitleProps(){return n.element({...al.title.attrs,id:Un.getTitleId(e.context)})},getDescriptionProps(){return n.element({...al.description.attrs,id:Un.getDescriptionId(e.context)})},getActionTriggerProps(){return n.button({...al.actionTrigger.attrs,type:"button",onClick(l){l.defaultPrevented||t("DISMISS")}})},getCloseTriggerProps(){return n.button({id:Un.getCloseTriggerId(e.context),...al.closeTrigger.attrs,type:"button","aria-label":"Dismiss notification",onClick(l){l.defaultPrevented||t("DISMISS")}})}}}var TO={connect:lQ,machine:pQ};const gQ={class:"text"},vQ={class:"actions"},yQ=xt({__name:"snackbar",props:{actor:{}},setup(e){const t=e,[n,r]=xY(t.actor),i=_e(()=>mQ(n.value,r,va)),o=_e(()=>{switch(i.value.type){case"error":return"minus-circle-fill";case"info":return"exclamation-circle-fill";case"success":default:return"check-circle-fill"}}),s=_e(()=>{var u;return(u=t.actor.config.context)==null?void 0:u.meta}),a=_e(()=>{var u;return(u=s.value)==null?void 0:u.undoFunc});return(u,l)=>(Se(),Ne("div",Et({class:"snackbar"},i.value.getRootProps(),{class:i.value.type}),[ge("span",gn(Gn(i.value.getGhostBeforeProps())),null,16),te(tc,{class:"type-icon",name:o.value,size:"small","keep-fill":!1},null,8,["name"]),ge("div",gQ,[ge("div",Et({class:"c-title c-title--m"},i.value.getTitleProps()),[Nt(u.$slots,"default",{message:i.value.title,params:s.value},()=>[$n(un(i.value.title),1)],!0)],16),i.value.description?(Se(),Ne("div",Et({key:0},i.value.getDescriptionProps(),{class:"description c-text c-text--m"}),un(i.value.description),17)):Jn("",!0)]),ge("div",vQ,[a.value?(Se(),Ne("button",Et({key:0},i.value.getActionTriggerProps(),{class:"undo c-text--m",onClick:l[0]||(l[0]=c=>a.value())})," 元に戻す ",16)):Jn("",!0),ge("button",Et(i.value.getCloseTriggerProps(),{class:"close-button"}),[te(tc,{class:"times",name:"times","keep-fill":!1})],16)]),ge("span",gn(Gn(i.value.getGhostAfterProps())),null,16)],16))}}),bQ=xn(yQ,[["__scopeId","data-v-39fc6bf7"]]),SS=Symbol("donguri-ui-snackbar-api");function gfe(e={}){const[t,n,r]=Du(TO.machine({...e,id:e.id??da()})),i=_e(()=>TO.connect(t.value,n,va));Fo(SS,{api:i,max:r.initialContext.max,placement:r.initialContext.placement})}function vfe(){const e=cn(SS);if(!e)throw new Error("provideSnackbarAPI must be used within a project root");const{api:t,max:n,placement:r}=e;return{_api:t,create:i=>{const o=t.value.getToastsByPlacement(r);o.length>=n&&t.value.remove(o.at(-1).id),t.value.create({type:i.type,title:i.message,description:i.description,meta:{undoFunc:i.undoFunc,...i.params}})}}}const yfe=xt({__name:"snackbar-container",setup(e){const t=cn(SS);if(!t)throw new Error("provideSnackbarAPI must be used within a project root");const{api:n}=t;return(r,i)=>(Se(),Ur(yc,{to:"body"},[(Se(!0),Ne(jt,null,su(ln(n).getPlacements(),o=>{var s;return Se(),Ne("div",Et({key:o,ref_for:!0},(s=ln(n))==null?void 0:s.getGroupProps({placement:o})),[(Se(!0),Ne(jt,null,su(ln(n).getToastsByPlacement(o),a=>{var u;return Se(),Ne(jt,{key:a.id},[(u=a.config.context)!=null&&u.type&&r.$slots[a.config.context.type]?Nt(r.$slots,a.config.context.type,{key:0,actor:a}):Nt(r.$slots,"default",{key:1,actor:a},()=>[te(bQ,{actor:a},null,8,["actor"])])],64)}),128))],16)}),128))]))}});var wQ=Yi("switch").parts("root","label","control","thumb"),pp=wQ.build(),kn=Pu({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`switch:${e.id}`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`switch:${e.id}:label`},getThumbId:e=>{var t;return((t=e.ids)==null?void 0:t.thumb)??`switch:${e.id}:thumb`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.control)??`switch:${e.id}:control`},getHiddenInputId:e=>{var t;return((t=e.ids)==null?void 0:t.hiddenInput)??`switch:${e.id}:input`},getRootEl:e=>kn.getById(e,kn.getRootId(e)),getHiddenInputEl:e=>kn.getById(e,kn.getHiddenInputId(e))});function EQ(e,t,n){const r=e.context.isDisabled,i=!r&&e.context.focused,o=e.context.checked,s=e.context.readOnly,a={"data-active":Le(e.context.active),"data-focus":Le(i),"data-readonly":Le(s),"data-hover":Le(e.context.hovered),"data-disabled":Le(r),"data-state":e.context.checked?"checked":"unchecked","data-invalid":Le(e.context.invalid)};return{checked:o,disabled:r,focused:i,setChecked(u){t({type:"CHECKED.SET",checked:u,isTrusted:!1})},toggleChecked(){t({type:"CHECKED.TOGGLE",checked:o,isTrusted:!1})},getRootProps(){return n.label({...pp.root.attrs,...a,dir:e.context.dir,id:kn.getRootId(e.context),htmlFor:kn.getHiddenInputId(e.context),onPointerMove(){r||t({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){r||t({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(u){u.target===kn.getHiddenInputEl(e.context)&&u.stopPropagation()}})},getLabelProps(){return n.element({...pp.label.attrs,...a,dir:e.context.dir,id:kn.getLabelId(e.context)})},getThumbProps(){return n.element({...pp.thumb.attrs,...a,dir:e.context.dir,id:kn.getThumbId(e.context),"aria-hidden":!0})},getControlProps(){return n.element({...pp.control.attrs,...a,dir:e.context.dir,id:kn.getControlId(e.context),"aria-hidden":!0})},getHiddenInputProps(){return n.input({id:kn.getHiddenInputId(e.context),type:"checkbox",required:e.context.required,defaultChecked:o,disabled:r,"aria-labelledby":kn.getLabelId(e.context),"aria-invalid":e.context.invalid,name:e.context.name,form:e.context.form,value:e.context.value,style:V0,onClick(u){if(s){u.preventDefault();return}const l=u.currentTarget.checked;t({type:"CHECKED.SET",checked:l,isTrusted:!0})}})}}}var{not:_O}=hh;function SQ(e){const t=lo(e);return ga({id:"switch",initial:"ready",context:{checked:!1,label:"switch",value:"on",disabled:!1,...t,fieldsetDisabled:!1},computed:{isDisabled:n=>n.disabled||n.fieldsetDisabled},watch:{disabled:"removeFocusIfNeeded",checked:"syncInputElement"},activities:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:_O("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:_O("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},states:{ready:{}}},{guards:{isTrusted:(n,r)=>!!r.isTrusted},activities:{trackPressEvent(n){if(!n.isDisabled)return YP({pointerNode:kn.getRootEl(n),keyboardNode:kn.getHiddenInputEl(n),isValidKey:r=>r.key===" ",onPress:()=>n.active=!1,onPressStart:()=>n.active=!0,onPressEnd:()=>n.active=!1})},trackFocusVisible(n){if(!n.isDisabled)return qP(kn.getHiddenInputEl(n),{onFocus:()=>n.focused=!0,onBlur:()=>n.focused=!1})},trackFormControlState(n,r,{send:i,initialContext:o}){return W0(kn.getHiddenInputEl(n),{onFieldsetDisabledChange(s){n.fieldsetDisabled=s},onFormReset(){i({type:"CHECKED.SET",checked:!!o.checked,src:"form-reset"})}})}},actions:{setContext(n,r){Object.assign(n,r.context)},syncInputElement(n){const r=kn.getHiddenInputEl(n);r&&(r.checked=!!n.checked)},removeFocusIfNeeded(n){n.disabled&&n.focused&&(n.focused=!1)},setChecked(n,r){OO.checked(n,r.checked)},toggleChecked(n,r){OO.checked(n,!n.checked)},dispatchChangeEvent(n){const r=kn.getHiddenInputEl(n);cS(r,{checked:n.checked})}}})}var xQ={change:e=>{var t;(t=e.onCheckedChange)==null||t.call(e,{checked:e.checked})}},OO={checked:(e,t)=>{Ho(e.checked,t)||(e.checked=t,xQ.change(e))}};co()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);const TQ=xt({__name:"toggle-button",props:au({id:{default:()=>da()},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=bc(e,"modelValue"),r=_e(()=>({id:t.id,checked:n.value,disabled:t.disabled,readOnly:t.readOnly,onCheckedChange(a){n.value=a.checked}})),[i,o]=Du(SQ(r.value),{context:r}),s=_e(()=>EQ(i.value,o,va));return(a,u)=>(Se(),Ne("label",Et({class:"toggle-button"},s.value.getRootProps()),[ge("input",gn(Gn(s.value.getHiddenInputProps())),null,16),ge("span",Et({class:"toggle-box"},s.value.getControlProps()),[ge("span",Et({class:"toggle-circle"},s.value.getThumbProps()),null,16)],16),a.$slots.default?(Se(),Ne("span",gn(Et({key:0},s.value.getLabelProps())),[Nt(a.$slots,"default",{},void 0,!0)],16)):Jn("",!0)],16))}}),bfe=xn(TQ,[["__scopeId","data-v-dbd39708"]]),wfe={install(e){Object.entries({"sm-checkbox":RP,"sm-checkbox-label":yG,"sm-icons":Ic,"sm-loading":_G,"sm-radio":PP,"sm-radio-label":kG,"sm-selectbox":LG,"sm-toggle-button":HG,"sm-dialog":XG,"sm-snackbar":MK}).forEach(([t,n])=>{e.component(t,n)})}};function Efe(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}/*!
 * vuex v4.1.0
 * (c) 2022 Evan You
 * @license MIT
 */var xD="store";function Sfe(e){return e===void 0&&(e=null),cn(e!==null?e:xD)}function kc(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function _Q(e){return e!==null&&typeof e=="object"}function OQ(e){return e&&typeof e.then=="function"}function IQ(e,t){return function(){return e(t)}}function TD(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function _D(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;q0(e,n,[],e._modules.root,!0),xS(e,n,t)}function xS(e,t,n){var r=e._state,i=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,s={},a={},u=rA(!0);u.run(function(){kc(o,function(l,c){s[c]=IQ(l,e),a[c]=_e(function(){return s[c]()}),Object.defineProperty(e.getters,c,{get:function(){return a[c].value},enumerable:!0})})}),e._state=Tu({data:t}),e._scope=u,e.strict&&PQ(e),r&&n&&e._withCommit(function(){r.data=null}),i&&i.stop()}function q0(e,t,n,r,i){var o=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s],e._modulesNamespaceMap[s]=r),!o&&!i){var a=TS(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){a[u]=r.state})}var l=r.context=CQ(e,s,n);r.forEachMutation(function(c,f){var d=s+f;AQ(e,d,c,l)}),r.forEachAction(function(c,f){var d=c.root?f:s+f,h=c.handler||c;kQ(e,d,h,l)}),r.forEachGetter(function(c,f){var d=s+f;RQ(e,d,c,l)}),r.forEachChild(function(c,f){q0(e,t,n.concat(f),c,i)})}function CQ(e,t,n){var r=t==="",i={dispatch:r?e.dispatch:function(o,s,a){var u=Ig(o,s,a),l=u.payload,c=u.options,f=u.type;return(!c||!c.root)&&(f=t+f),e.dispatch(f,l)},commit:r?e.commit:function(o,s,a){var u=Ig(o,s,a),l=u.payload,c=u.options,f=u.type;(!c||!c.root)&&(f=t+f),e.commit(f,l,c)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return OD(e,t)}},state:{get:function(){return TS(e.state,n)}}}),i}function OD(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function AQ(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(s){n.call(e,r.state,s)})}function kQ(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(s){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},s);return OQ(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(u){throw e._devtoolHook.emit("vuex:error",u),u}):a})}function RQ(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function PQ(e){on(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function TS(e,t){return t.reduce(function(n,r){return n[r]},e)}function Ig(e,t,n){return _Q(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var DQ="vuex bindings",IO="vuex:mutations",vy="vuex:actions",qu="vuex",NQ=0;function MQ(e,t){aW({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[DQ]},function(n){n.addTimelineLayer({id:IO,label:"Vuex Mutations",color:CO}),n.addTimelineLayer({id:vy,label:"Vuex Actions",color:CO}),n.addInspector({id:qu,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===qu)if(r.filter){var i=[];kD(i,t._modules.root,r.filter,""),r.rootNodes=i}else r.rootNodes=[AD(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===qu){var i=r.nodeId;OD(t,i),r.state=FQ(jQ(t._modules,i),i==="root"?t.getters:t._makeLocalGettersCache,i)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===qu){var i=r.nodeId,o=r.path;i!=="root"&&(o=i.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._state.data,o,r.state.value)})}}),t.subscribe(function(r,i){var o={};r.payload&&(o.payload=r.payload),o.state=i,n.notifyComponentUpdate(),n.sendInspectorTree(qu),n.sendInspectorState(qu),n.addTimelineEvent({layerId:IO,event:{time:Date.now(),title:r.type,data:o}})}),t.subscribeAction({before:function(r,i){var o={};r.payload&&(o.payload=r.payload),r._id=NQ++,r._time=Date.now(),o.state=i,n.addTimelineEvent({layerId:vy,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,i){var o={},s=Date.now()-r._time;o.duration={_custom:{type:"duration",display:s+"ms",tooltip:"Action duration",value:s}},r.payload&&(o.payload=r.payload),o.state=i,n.addTimelineEvent({layerId:vy,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var CO=8702998,LQ=6710886,$Q=16777215,ID={label:"namespaced",textColor:$Q,backgroundColor:LQ};function CD(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function AD(e,t){return{id:t||"root",label:CD(t),tags:e.namespaced?[ID]:[],children:Object.keys(e._children).map(function(n){return AD(e._children[n],t+n+"/")})}}function kD(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[ID]:[]}),Object.keys(t._children).forEach(function(i){kD(e,t._children[i],n,r+i+"/")})}function FQ(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),i={state:Object.keys(e.state).map(function(s){return{key:s,editable:!0,value:e.state[s]}})};if(r.length){var o=BQ(t);i.getters=Object.keys(o).map(function(s){return{key:s.endsWith("/")?CD(s):s,editable:!1,value:O1(function(){return o[s]})}})}return i}function BQ(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var i=t,o=r.pop();r.forEach(function(s){i[s]||(i[s]={_custom:{value:{},display:s,tooltip:"Module",abstract:!0}}),i=i[s]._custom.value}),i[o]=O1(function(){return e[n]})}else t[n]=O1(function(){return e[n]})}),t}function jQ(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,i,o){var s=r[i];if(!s)throw new Error('Missing module "'+i+'" for path "'+t+'".');return o===n.length-1?s:s._children},t==="root"?e:e.root._children)}function O1(e){try{return e()}catch(t){return t}}var Ri=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},RD={namespaced:{configurable:!0}};RD.namespaced.get=function(){return!!this._rawModule.namespaced};Ri.prototype.addChild=function(t,n){this._children[t]=n};Ri.prototype.removeChild=function(t){delete this._children[t]};Ri.prototype.getChild=function(t){return this._children[t]};Ri.prototype.hasChild=function(t){return t in this._children};Ri.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Ri.prototype.forEachChild=function(t){kc(this._children,t)};Ri.prototype.forEachGetter=function(t){this._rawModule.getters&&kc(this._rawModule.getters,t)};Ri.prototype.forEachAction=function(t){this._rawModule.actions&&kc(this._rawModule.actions,t)};Ri.prototype.forEachMutation=function(t){this._rawModule.mutations&&kc(this._rawModule.mutations,t)};Object.defineProperties(Ri.prototype,RD);var Nu=function(t){this.register([],t,!1)};Nu.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Nu.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,i){return n=n.getChild(i),r+(n.namespaced?i+"/":"")},"")};Nu.prototype.update=function(t){PD([],this.root,t)};Nu.prototype.register=function(t,n,r){var i=this;r===void 0&&(r=!0);var o=new Ri(n,r);if(t.length===0)this.root=o;else{var s=this.get(t.slice(0,-1));s.addChild(t[t.length-1],o)}n.modules&&kc(n.modules,function(a,u){i.register(t.concat(u),a,r)})};Nu.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],i=n.getChild(r);i&&i.runtime&&n.removeChild(r)};Nu.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function PD(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;PD(e.concat(r),t.getChild(r),n.modules[r])}}function xfe(e){return new Ir(e)}var Ir=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var i=t.strict;i===void 0&&(i=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Nu(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var s=this,a=this,u=a.dispatch,l=a.commit;this.dispatch=function(d,h){return u.call(s,d,h)},this.commit=function(d,h,p){return l.call(s,d,h,p)},this.strict=i;var c=this._modules.root.state;q0(this,c,[],this._modules.root),xS(this,c),r.forEach(function(f){return f(n)})},_S={state:{configurable:!0}};Ir.prototype.install=function(t,n){t.provide(n||xD,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&MQ(t,this)};_S.state.get=function(){return this._state.data};_S.state.set=function(e){};Ir.prototype.commit=function(t,n,r){var i=this,o=Ig(t,n,r),s=o.type,a=o.payload,u={type:s,payload:a},l=this._mutations[s];l&&(this._withCommit(function(){l.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(c){return c(u,i.state)}))};Ir.prototype.dispatch=function(t,n){var r=this,i=Ig(t,n),o=i.type,s=i.payload,a={type:o,payload:s},u=this._actions[o];if(u){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(a,r.state)})}catch{}var l=u.length>1?Promise.all(u.map(function(c){return c(s)})):u[0](s);return new Promise(function(c,f){l.then(function(d){try{r._actionSubscribers.filter(function(h){return h.after}).forEach(function(h){return h.after(a,r.state)})}catch{}c(d)},function(d){try{r._actionSubscribers.filter(function(h){return h.error}).forEach(function(h){return h.error(a,r.state,d)})}catch{}f(d)})})}};Ir.prototype.subscribe=function(t,n){return TD(t,this._subscribers,n)};Ir.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return TD(r,this._actionSubscribers,n)};Ir.prototype.watch=function(t,n,r){var i=this;return on(function(){return t(i.state,i.getters)},n,Object.assign({},r))};Ir.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Ir.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),q0(this,this.state,t,this._modules.get(t),r.preserveState),xS(this,this.state)};Ir.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=TS(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),_D(this)};Ir.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Ir.prototype.hotUpdate=function(t){this._modules.update(t),_D(this,!0)};Ir.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Ir.prototype,_S);function DD(e,t){return function(){return e.apply(t,arguments)}}const{toString:HQ}=Object.prototype,{getPrototypeOf:OS}=Object,Y0=(e=>t=>{const n=HQ.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fo=e=>(e=e.toLowerCase(),t=>Y0(t)===e),X0=e=>t=>typeof t===e,{isArray:Rc}=Array,xd=X0("undefined");function UQ(e){return e!==null&&!xd(e)&&e.constructor!==null&&!xd(e.constructor)&&Zr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ND=fo("ArrayBuffer");function zQ(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ND(e.buffer),t}const VQ=X0("string"),Zr=X0("function"),MD=X0("number"),J0=e=>e!==null&&typeof e=="object",WQ=e=>e===!0||e===!1,cm=e=>{if(Y0(e)!=="object")return!1;const t=OS(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},GQ=fo("Date"),KQ=fo("File"),qQ=fo("Blob"),YQ=fo("FileList"),XQ=e=>J0(e)&&Zr(e.pipe),JQ=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Zr(e.append)&&((t=Y0(e))==="formdata"||t==="object"&&Zr(e.toString)&&e.toString()==="[object FormData]"))},QQ=fo("URLSearchParams"),ZQ=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function mh(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Rc(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let a;for(r=0;r<s;r++)a=o[r],t.call(null,e[a],a,e)}}function LD(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const $D=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,FD=e=>!xd(e)&&e!==$D;function I1(){const{caseless:e}=FD(this)&&this||{},t={},n=(r,i)=>{const o=e&&LD(t,i)||i;cm(t[o])&&cm(r)?t[o]=I1(t[o],r):cm(r)?t[o]=I1({},r):Rc(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&mh(arguments[r],n);return t}const eZ=(e,t,n,{allOwnKeys:r}={})=>(mh(t,(i,o)=>{n&&Zr(i)?e[o]=DD(i,n):e[o]=i},{allOwnKeys:r}),e),tZ=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),nZ=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},rZ=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&OS(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},iZ=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},oZ=e=>{if(!e)return null;if(Rc(e))return e;let t=e.length;if(!MD(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},sZ=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&OS(Uint8Array)),aZ=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},uZ=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},lZ=fo("HTMLFormElement"),cZ=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),AO=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fZ=fo("RegExp"),BD=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};mh(n,(i,o)=>{t(i,o,e)!==!1&&(r[o]=i)}),Object.defineProperties(e,r)},dZ=e=>{BD(e,(t,n)=>{if(Zr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Zr(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},hZ=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Rc(e)?r(e):r(String(e).split(t)),n},pZ=()=>{},mZ=(e,t)=>(e=+e,Number.isFinite(e)?e:t),yy="abcdefghijklmnopqrstuvwxyz",kO="0123456789",jD={DIGIT:kO,ALPHA:yy,ALPHA_DIGIT:yy+yy.toUpperCase()+kO},gZ=(e=16,t=jD.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function vZ(e){return!!(e&&Zr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yZ=e=>{const t=new Array(10),n=(r,i)=>{if(J0(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=Rc(r)?[]:{};return mh(r,(s,a)=>{const u=n(s,i+1);!xd(u)&&(o[a]=u)}),t[i]=void 0,o}}return r};return n(e,0)},bZ=fo("AsyncFunction"),wZ=e=>e&&(J0(e)||Zr(e))&&Zr(e.then)&&Zr(e.catch),se={isArray:Rc,isArrayBuffer:ND,isBuffer:UQ,isFormData:JQ,isArrayBufferView:zQ,isString:VQ,isNumber:MD,isBoolean:WQ,isObject:J0,isPlainObject:cm,isUndefined:xd,isDate:GQ,isFile:KQ,isBlob:qQ,isRegExp:fZ,isFunction:Zr,isStream:XQ,isURLSearchParams:QQ,isTypedArray:sZ,isFileList:YQ,forEach:mh,merge:I1,extend:eZ,trim:ZQ,stripBOM:tZ,inherits:nZ,toFlatObject:rZ,kindOf:Y0,kindOfTest:fo,endsWith:iZ,toArray:oZ,forEachEntry:aZ,matchAll:uZ,isHTMLForm:lZ,hasOwnProperty:AO,hasOwnProp:AO,reduceDescriptors:BD,freezeMethods:dZ,toObjectSet:hZ,toCamelCase:cZ,noop:pZ,toFiniteNumber:mZ,findKey:LD,global:$D,isContextDefined:FD,ALPHABET:jD,generateString:gZ,isSpecCompliantForm:vZ,toJSONObject:yZ,isAsyncFn:bZ,isThenable:wZ};function yt(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}se.inherits(yt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:se.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const HD=yt.prototype,UD={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{UD[e]={value:e}});Object.defineProperties(yt,UD);Object.defineProperty(HD,"isAxiosError",{value:!0});yt.from=(e,t,n,r,i,o)=>{const s=Object.create(HD);return se.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),yt.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const EZ=null;function C1(e){return se.isPlainObject(e)||se.isArray(e)}function zD(e){return se.endsWith(e,"[]")?e.slice(0,-2):e}function RO(e,t,n){return e?e.concat(t).map(function(i,o){return i=zD(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function SZ(e){return se.isArray(e)&&!e.some(C1)}const xZ=se.toFlatObject(se,{},null,function(t){return/^is[A-Z]/.test(t)});function Q0(e,t,n){if(!se.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=se.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,g){return!se.isUndefined(g[m])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&se.isSpecCompliantForm(t);if(!se.isFunction(i))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if(se.isDate(p))return p.toISOString();if(!u&&se.isBlob(p))throw new yt("Blob is not supported. Use a Buffer instead.");return se.isArrayBuffer(p)||se.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,m,g){let v=p;if(p&&!g&&typeof p=="object"){if(se.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(se.isArray(p)&&SZ(p)||(se.isFileList(p)||se.endsWith(m,"[]"))&&(v=se.toArray(p)))return m=zD(m),v.forEach(function(b,w){!(se.isUndefined(b)||b===null)&&t.append(s===!0?RO([m],w,o):s===null?m:m+"[]",l(b))}),!1}return C1(p)?!0:(t.append(RO(g,m,o),l(p)),!1)}const f=[],d=Object.assign(xZ,{defaultVisitor:c,convertValue:l,isVisitable:C1});function h(p,m){if(!se.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),se.forEach(p,function(v,y){(!(se.isUndefined(v)||v===null)&&i.call(t,v,se.isString(y)?y.trim():y,m,d))===!0&&h(v,m?m.concat(y):[y])}),f.pop()}}if(!se.isObject(e))throw new TypeError("data must be an object");return h(e),t}function PO(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function IS(e,t){this._pairs=[],e&&Q0(e,this,t)}const VD=IS.prototype;VD.append=function(t,n){this._pairs.push([t,n])};VD.toString=function(t){const n=t?function(r){return t.call(this,r,PO)}:PO;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function TZ(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function WD(e,t,n){if(!t)return e;const r=n&&n.encode||TZ,i=n&&n.serialize;let o;if(i?o=i(t,n):o=se.isURLSearchParams(t)?t.toString():new IS(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class DO{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){se.forEach(this.handlers,function(r){r!==null&&t(r)})}}const GD={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_Z=typeof URLSearchParams<"u"?URLSearchParams:IS,OZ=typeof FormData<"u"?FormData:null,IZ=typeof Blob<"u"?Blob:null,CZ=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),AZ=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gi={isBrowser:!0,classes:{URLSearchParams:_Z,FormData:OZ,Blob:IZ},isStandardBrowserEnv:CZ,isStandardBrowserWebWorkerEnv:AZ,protocols:["http","https","file","blob","url","data"]};function kZ(e,t){return Q0(e,new Gi.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return Gi.isNode&&se.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function RZ(e){return se.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function PZ(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function KD(e){function t(n,r,i,o){let s=n[o++];const a=Number.isFinite(+s),u=o>=n.length;return s=!s&&se.isArray(i)?i.length:s,u?(se.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!se.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&se.isArray(i[s])&&(i[s]=PZ(i[s])),!a)}if(se.isFormData(e)&&se.isFunction(e.entries)){const n={};return se.forEachEntry(e,(r,i)=>{t(RZ(r),i,n,0)}),n}return null}const DZ={"Content-Type":void 0};function NZ(e,t,n){if(se.isString(e))try{return(t||JSON.parse)(e),se.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Pc={transitional:GD,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=se.isObject(t);if(o&&se.isHTMLForm(t)&&(t=new FormData(t)),se.isFormData(t))return i&&i?JSON.stringify(KD(t)):t;if(se.isArrayBuffer(t)||se.isBuffer(t)||se.isStream(t)||se.isFile(t)||se.isBlob(t))return t;if(se.isArrayBufferView(t))return t.buffer;if(se.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return kZ(t,this.formSerializer).toString();if((a=se.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Q0(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),NZ(t)):t}],transformResponse:[function(t){const n=this.transitional||Pc.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&se.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?yt.from(a,yt.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Gi.classes.FormData,Blob:Gi.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};se.forEach(["delete","get","head"],function(t){Pc.headers[t]={}});se.forEach(["post","put","patch"],function(t){Pc.headers[t]=se.merge(DZ)});const MZ=se.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),LZ=e=>{const t={};let n,r,i;return e&&e.split(`
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&MZ[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},NO=Symbol("internals");function Qc(e){return e&&String(e).trim().toLowerCase()}function fm(e){return e===!1||e==null?e:se.isArray(e)?e.map(fm):String(e)}function $Z(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const FZ=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function by(e,t,n,r,i){if(se.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!se.isString(t)){if(se.isString(r))return t.indexOf(r)!==-1;if(se.isRegExp(r))return r.test(t)}}function BZ(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function jZ(e,t){const n=se.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}let ei=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,u,l){const c=Qc(u);if(!c)throw new Error("header name must be a non-empty string");const f=se.findKey(i,c);(!f||i[f]===void 0||l===!0||l===void 0&&i[f]!==!1)&&(i[f||u]=fm(a))}const s=(a,u)=>se.forEach(a,(l,c)=>o(l,c,u));return se.isPlainObject(t)||t instanceof this.constructor?s(t,n):se.isString(t)&&(t=t.trim())&&!FZ(t)?s(LZ(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Qc(t),t){const r=se.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return $Z(i);if(se.isFunction(n))return n.call(this,i,r);if(se.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qc(t),t){const r=se.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||by(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=Qc(s),s){const a=se.findKey(r,s);a&&(!n||by(r,r[a],a,n))&&(delete r[a],i=!0)}}return se.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||by(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return se.forEach(this,(i,o)=>{const s=se.findKey(r,o);if(s){n[s]=fm(i),delete n[o];return}const a=t?BZ(o):String(o).trim();a!==o&&delete n[o],n[a]=fm(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return se.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&se.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[NO]=this[NO]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Qc(s);r[a]||(jZ(i,s),r[a]=!0)}return se.isArray(t)?t.forEach(o):o(t),this}};ei.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);se.freezeMethods(ei.prototype);se.freezeMethods(ei);function wy(e,t){const n=this||Pc,r=t||n,i=ei.from(r.headers);let o=r.data;return se.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function qD(e){return!!(e&&e.__CANCEL__)}function gh(e,t,n){yt.call(this,e??"canceled",yt.ERR_CANCELED,t,n),this.name="CanceledError"}se.inherits(gh,yt,{__CANCEL__:!0});function HZ(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new yt("Request failed with status code "+n.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const UZ=Gi.isStandardBrowserEnv?function(){return{write:function(n,r,i,o,s,a){const u=[];u.push(n+"="+encodeURIComponent(r)),se.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),se.isString(o)&&u.push("path="+o),se.isString(s)&&u.push("domain="+s),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function zZ(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function VZ(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function YD(e,t){return e&&!zZ(t)?VZ(e,t):t}const WZ=Gi.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=se.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function GZ(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function KZ(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=r[o];s||(s=l),n[i]=u,r[i]=l;let f=o,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),l-s<t)return;const h=c&&l-c;return h?Math.round(d*1e3/h):void 0}}function MO(e,t){let n=0;const r=KZ(50,250);return i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,u=r(a),l=o<=s;n=o;const c={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&l?(s-o)/u:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const qZ=typeof XMLHttpRequest<"u",YZ=qZ&&function(e){return new Promise(function(n,r){let i=e.data;const o=ei.from(e.headers).normalize(),s=e.responseType;let a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}se.isFormData(i)&&(Gi.isStandardBrowserEnv||Gi.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(h+":"+p))}const c=YD(e.baseURL,e.url);l.open(e.method.toUpperCase(),WD(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function f(){if(!l)return;const h=ei.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:h,config:e,request:l};HZ(function(v){n(v),u()},function(v){r(v),u()},m),l=null}if("onloadend"in l?l.onloadend=f:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(f)},l.onabort=function(){l&&(r(new yt("Request aborted",yt.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new yt("Network Error",yt.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||GD;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new yt(p,m.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,e,l)),l=null},Gi.isStandardBrowserEnv){const h=(e.withCredentials||WZ(c))&&e.xsrfCookieName&&UZ.read(e.xsrfCookieName);h&&o.set(e.xsrfHeaderName,h)}i===void 0&&o.setContentType(null),"setRequestHeader"in l&&se.forEach(o.toJSON(),function(p,m){l.setRequestHeader(m,p)}),se.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&s!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",MO(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",MO(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=h=>{l&&(r(!h||h.type?new gh(null,e,l):h),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const d=GZ(c);if(d&&Gi.protocols.indexOf(d)===-1){r(new yt("Unsupported protocol "+d+":",yt.ERR_BAD_REQUEST,e));return}l.send(i||null)})},dm={http:EZ,xhr:YZ};se.forEach(dm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const XZ={getAdapter:e=>{e=se.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let i=0;i<t&&(n=e[i],!(r=se.isString(n)?dm[n.toLowerCase()]:n));i++);if(!r)throw r===!1?new yt(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(se.hasOwnProp(dm,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!se.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:dm};function Ey(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gh(null,e)}function LO(e){return Ey(e),e.headers=ei.from(e.headers),e.data=wy.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),XZ.getAdapter(e.adapter||Pc.adapter)(e).then(function(r){return Ey(e),r.data=wy.call(e,e.transformResponse,r),r.headers=ei.from(r.headers),r},function(r){return qD(r)||(Ey(e),r&&r.response&&(r.response.data=wy.call(e,e.transformResponse,r.response),r.response.headers=ei.from(r.response.headers))),Promise.reject(r)})}const $O=e=>e instanceof ei?e.toJSON():e;function rc(e,t){t=t||{};const n={};function r(l,c,f){return se.isPlainObject(l)&&se.isPlainObject(c)?se.merge.call({caseless:f},l,c):se.isPlainObject(c)?se.merge({},c):se.isArray(c)?c.slice():c}function i(l,c,f){if(se.isUndefined(c)){if(!se.isUndefined(l))return r(void 0,l,f)}else return r(l,c,f)}function o(l,c){if(!se.isUndefined(c))return r(void 0,c)}function s(l,c){if(se.isUndefined(c)){if(!se.isUndefined(l))return r(void 0,l)}else return r(void 0,c)}function a(l,c,f){if(f in t)return r(l,c);if(f in e)return r(void 0,l)}const u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(l,c)=>i($O(l),$O(c),!0)};return se.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=u[c]||i,d=f(e[c],t[c],c);se.isUndefined(d)&&f!==a||(n[c]=d)}),n}const XD="1.4.0",CS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{CS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const FO={};CS.transitional=function(t,n,r){function i(o,s){return"[Axios v"+XD+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new yt(i(s," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!FO[s]&&(FO[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function JZ(e,t,n){if(typeof e!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],u=a===void 0||s(a,o,e);if(u!==!0)throw new yt("option "+o+" must be "+u,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+o,yt.ERR_BAD_OPTION)}}const A1={assertOptions:JZ,validators:CS},ms=A1.validators;let eu=class{constructor(t){this.defaults=t,this.interceptors={request:new DO,response:new DO}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=rc(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&A1.assertOptions(r,{silentJSONParsing:ms.transitional(ms.boolean),forcedJSONParsing:ms.transitional(ms.boolean),clarifyTimeoutError:ms.transitional(ms.boolean)},!1),i!=null&&(se.isFunction(i)?n.paramsSerializer={serialize:i}:A1.assertOptions(i,{encode:ms.function,serialize:ms.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s;s=o&&se.merge(o.common,o[n.method]),s&&se.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=ei.concat(s,o);const a=[];let u=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(u=u&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const l=[];this.interceptors.response.forEach(function(m){l.push(m.fulfilled,m.rejected)});let c,f=0,d;if(!u){const p=[LO.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,l),d=p.length,c=Promise.resolve(n);f<d;)c=c.then(p[f++],p[f++]);return c}d=a.length;let h=n;for(f=0;f<d;){const p=a[f++],m=a[f++];try{h=p(h)}catch(g){m.call(this,g);break}}try{c=LO.call(this,h)}catch(p){return Promise.reject(p)}for(f=0,d=l.length;f<d;)c=c.then(l[f++],l[f++]);return c}getUri(t){t=rc(this.defaults,t);const n=YD(t.baseURL,t.url);return WD(n,t.params,t.paramsSerializer)}};se.forEach(["delete","get","head","options"],function(t){eu.prototype[t]=function(n,r){return this.request(rc(r||{},{method:t,url:n,data:(r||{}).data}))}});se.forEach(["post","put","patch"],function(t){function n(r){return function(o,s,a){return this.request(rc(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}eu.prototype[t]=n(),eu.prototype[t+"Form"]=n(!0)});let QZ=class JD{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new gh(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new JD(function(i){t=i}),cancel:t}}};function ZZ(e){return function(n){return e.apply(null,n)}}function eee(e){return se.isObject(e)&&e.isAxiosError===!0}const k1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(k1).forEach(([e,t])=>{k1[t]=e});function QD(e){const t=new eu(e),n=DD(eu.prototype.request,t);return se.extend(n,eu.prototype,t,{allOwnKeys:!0}),se.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return QD(rc(e,i))},n}const Sn=QD(Pc);Sn.Axios=eu;Sn.CanceledError=gh;Sn.CancelToken=QZ;Sn.isCancel=qD;Sn.VERSION=XD;Sn.toFormData=Q0;Sn.AxiosError=yt;Sn.Cancel=Sn.CanceledError;Sn.all=function(t){return Promise.all(t)};Sn.spread=ZZ;Sn.isAxiosError=eee;Sn.mergeConfig=rc;Sn.AxiosHeaders=ei;Sn.formToJSON=e=>KD(se.isHTMLForm(e)?new FormData(e):e);Sn.HttpStatusCode=k1;Sn.default=Sn;const{Axios:Ofe,AxiosError:Ife,CanceledError:Cfe,isCancel:Afe,CancelToken:kfe,VERSION:Rfe,all:Pfe,Cancel:Dfe,isAxiosError:Nfe,spread:Mfe,toFormData:Lfe,AxiosHeaders:$fe,HttpStatusCode:Ffe,formToJSON:Bfe,mergeConfig:jfe}=Sn;var tee=Error,nee=EvalError,ree=RangeError,iee=ReferenceError,oee=SyntaxError,see=TypeError,aee=URIError,uee=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,n);if(s.value!==i||s.enumerable!==!0)return!1}return!0},BO=typeof Symbol<"u"&&Symbol,lee=uee,cee=function(){return typeof BO!="function"||typeof Symbol!="function"||typeof BO("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:lee()},jO={foo:{}},fee=Object,dee=function(){return{__proto__:jO}.foo===jO.foo&&!({__proto__:null}instanceof fee)},hee="Function.prototype.bind called on incompatible ",pee=Object.prototype.toString,mee=Math.max,gee="[object Function]",HO=function(t,n){for(var r=[],i=0;i<t.length;i+=1)r[i]=t[i];for(var o=0;o<n.length;o+=1)r[o+t.length]=n[o];return r},vee=function(t,n){for(var r=[],i=n,o=0;i<t.length;i+=1,o+=1)r[o]=t[i];return r},yee=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},bee=function(t){var n=this;if(typeof n!="function"||pee.apply(n)!==gee)throw new TypeError(hee+n);for(var r=vee(arguments,1),i,o=function(){if(this instanceof i){var c=n.apply(this,HO(r,arguments));return Object(c)===c?c:this}return n.apply(t,HO(r,arguments))},s=mee(0,n.length-r.length),a=[],u=0;u<s;u++)a[u]="$"+u;if(i=Function("binder","return function ("+yee(a,",")+"){ return binder.apply(this,arguments); }")(o),n.prototype){var l=function(){};l.prototype=n.prototype,i.prototype=new l,l.prototype=null}return i},wee=bee,AS=Function.prototype.bind||wee,Eee=Function.prototype.call,See=Object.prototype.hasOwnProperty,xee=AS,Tee=xee.call(Eee,See),ut,_ee=tee,Oee=nee,Iee=ree,Cee=iee,ic=oee,Nl=see,Aee=aee,ZD=Function,Sy=function(e){try{return ZD('"use strict"; return ('+e+").constructor;")()}catch{}},tu=Object.getOwnPropertyDescriptor;if(tu)try{tu({},"")}catch{tu=null}var xy=function(){throw new Nl},kee=tu?function(){try{return arguments.callee,xy}catch{try{return tu(arguments,"callee").get}catch{return xy}}}():xy,Yu=cee(),Ree=dee(),An=Object.getPrototypeOf||(Ree?function(e){return e.__proto__}:null),ul={},Pee=typeof Uint8Array>"u"||!An?ut:An(Uint8Array),nu={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ut:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ut:ArrayBuffer,"%ArrayIteratorPrototype%":Yu&&An?An([][Symbol.iterator]()):ut,"%AsyncFromSyncIteratorPrototype%":ut,"%AsyncFunction%":ul,"%AsyncGenerator%":ul,"%AsyncGeneratorFunction%":ul,"%AsyncIteratorPrototype%":ul,"%Atomics%":typeof Atomics>"u"?ut:Atomics,"%BigInt%":typeof BigInt>"u"?ut:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ut:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ut:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ut:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":_ee,"%eval%":eval,"%EvalError%":Oee,"%Float32Array%":typeof Float32Array>"u"?ut:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ut:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ut:FinalizationRegistry,"%Function%":ZD,"%GeneratorFunction%":ul,"%Int8Array%":typeof Int8Array>"u"?ut:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ut:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ut:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Yu&&An?An(An([][Symbol.iterator]())):ut,"%JSON%":typeof JSON=="object"?JSON:ut,"%Map%":typeof Map>"u"?ut:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Yu||!An?ut:An(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ut:Promise,"%Proxy%":typeof Proxy>"u"?ut:Proxy,"%RangeError%":Iee,"%ReferenceError%":Cee,"%Reflect%":typeof Reflect>"u"?ut:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ut:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Yu||!An?ut:An(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ut:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Yu&&An?An(""[Symbol.iterator]()):ut,"%Symbol%":Yu?Symbol:ut,"%SyntaxError%":ic,"%ThrowTypeError%":kee,"%TypedArray%":Pee,"%TypeError%":Nl,"%Uint8Array%":typeof Uint8Array>"u"?ut:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ut:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ut:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ut:Uint32Array,"%URIError%":Aee,"%WeakMap%":typeof WeakMap>"u"?ut:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ut:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ut:WeakSet};if(An)try{null.error}catch(e){var Dee=An(An(e));nu["%Error.prototype%"]=Dee}var Nee=function e(t){var n;if(t==="%AsyncFunction%")n=Sy("async function () {}");else if(t==="%GeneratorFunction%")n=Sy("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Sy("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&An&&(n=An(i.prototype))}return nu[t]=n,n},UO={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vh=AS,Cg=Tee,Mee=vh.call(Function.call,Array.prototype.concat),Lee=vh.call(Function.apply,Array.prototype.splice),zO=vh.call(Function.call,String.prototype.replace),Ag=vh.call(Function.call,String.prototype.slice),$ee=vh.call(Function.call,RegExp.prototype.exec),Fee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Bee=/\\(\\)?/g,jee=function(t){var n=Ag(t,0,1),r=Ag(t,-1);if(n==="%"&&r!=="%")throw new ic("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new ic("invalid intrinsic syntax, expected opening `%`");var i=[];return zO(t,Fee,function(o,s,a,u){i[i.length]=a?zO(u,Bee,"$1"):s||o}),i},Hee=function(t,n){var r=t,i;if(Cg(UO,r)&&(i=UO[r],r="%"+i[0]+"%"),Cg(nu,r)){var o=nu[r];if(o===ul&&(o=Nee(r)),typeof o>"u"&&!n)throw new Nl("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:o}}throw new ic("intrinsic "+t+" does not exist!")},kS=function(t,n){if(typeof t!="string"||t.length===0)throw new Nl("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Nl('"allowMissing" argument must be a boolean');if($ee(/^%?[^%]*%?$/,t)===null)throw new ic("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=jee(t),i=r.length>0?r[0]:"",o=Hee("%"+i+"%",n),s=o.name,a=o.value,u=!1,l=o.alias;l&&(i=l[0],Lee(r,Mee([0,1],l)));for(var c=1,f=!0;c<r.length;c+=1){var d=r[c],h=Ag(d,0,1),p=Ag(d,-1);if((h==='"'||h==="'"||h==="`"||p==='"'||p==="'"||p==="`")&&h!==p)throw new ic("property names with quotes must have matching quotes");if((d==="constructor"||!f)&&(u=!0),i+="."+d,s="%"+i+"%",Cg(nu,s))a=nu[s];else if(a!=null){if(!(d in a)){if(!n)throw new Nl("base intrinsic for "+t+" exists, but the property is not available.");return}if(tu&&c+1>=r.length){var m=tu(a,d);f=!!m,f&&"get"in m&&!("originalValue"in m.get)?a=m.get:a=a[d]}else f=Cg(a,d),a=a[d];f&&!u&&(nu[s]=a)}}return a},e6={exports:{}};(function(e){var t=AS,n=kS,r=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),o=n("%Reflect.apply%",!0)||t.call(i,r),s=n("%Object.getOwnPropertyDescriptor%",!0),a=n("%Object.defineProperty%",!0),u=n("%Math.max%");if(a)try{a({},"a",{value:1})}catch{a=null}e.exports=function(f){var d=o(t,i,arguments);if(s&&a){var h=s(d,"length");h.configurable&&a(d,"length",{value:1+u(0,f.length-(arguments.length-1))})}return d};var l=function(){return o(t,r,arguments)};a?a(e.exports,"apply",{value:l}):e.exports.apply=l})(e6);var Uee=e6.exports,t6=kS,n6=Uee,zee=n6(t6("String.prototype.indexOf")),Vee=function(t,n){var r=t6(t,!!n);return typeof r=="function"&&zee(t,".prototype.")>-1?n6(r):r};const Wee={},Gee=Object.freeze(Object.defineProperty({__proto__:null,default:Wee},Symbol.toStringTag,{value:"Module"})),li=Hw(Gee);var RS=typeof Map=="function"&&Map.prototype,Ty=Object.getOwnPropertyDescriptor&&RS?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,kg=RS&&Ty&&typeof Ty.get=="function"?Ty.get:null,VO=RS&&Map.prototype.forEach,PS=typeof Set=="function"&&Set.prototype,_y=Object.getOwnPropertyDescriptor&&PS?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Rg=PS&&_y&&typeof _y.get=="function"?_y.get:null,WO=PS&&Set.prototype.forEach,Kee=typeof WeakMap=="function"&&WeakMap.prototype,Lf=Kee?WeakMap.prototype.has:null,qee=typeof WeakSet=="function"&&WeakSet.prototype,$f=qee?WeakSet.prototype.has:null,Yee=typeof WeakRef=="function"&&WeakRef.prototype,GO=Yee?WeakRef.prototype.deref:null,Xee=Boolean.prototype.valueOf,Jee=Object.prototype.toString,Qee=Function.prototype.toString,Zee=String.prototype.match,DS=String.prototype.slice,Fs=String.prototype.replace,ete=String.prototype.toUpperCase,KO=String.prototype.toLowerCase,r6=RegExp.prototype.test,qO=Array.prototype.concat,Hi=Array.prototype.join,tte=Array.prototype.slice,YO=Math.floor,R1=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Oy=Object.getOwnPropertySymbols,P1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,oc=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Qn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===oc||!0)?Symbol.toStringTag:null,i6=Object.prototype.propertyIsEnumerable,XO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function JO(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||r6.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-YO(-e):YO(e);if(r!==e){var i=String(r),o=DS.call(t,i.length+1);return Fs.call(i,n,"$&_")+"."+Fs.call(Fs.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Fs.call(t,n,"$&_")}var D1=li,QO=D1.custom,ZO=s6(QO)?QO:null,nte=function e(t,n,r,i){var o=n||{};if(Ps(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ps(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Ps(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ps(o,"indent")&&o.indent!==null&&o.indent!=="	"&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ps(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return u6(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return a?JO(t,u):u}if(typeof t=="bigint"){var l=String(t)+"n";return a?JO(t,l):l}var c=typeof o.depth>"u"?5:o.depth;if(typeof r>"u"&&(r=0),r>=c&&c>0&&typeof t=="object")return N1(t)?"[Array]":"[Object]";var f=wte(o,r);if(typeof i>"u")i=[];else if(a6(i,t)>=0)return"[Circular]";function d(A,D,R){if(D&&(i=tte.call(i),i.push(D)),R){var k={depth:o.depth};return Ps(o,"quoteStyle")&&(k.quoteStyle=o.quoteStyle),e(A,k,r+1,i)}return e(A,o,r+1,i)}if(typeof t=="function"&&!eI(t)){var h=fte(t),p=mp(t,d);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(p.length>0?" { "+Hi.call(p,", ")+" }":"")}if(s6(t)){var m=oc?Fs.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):P1.call(t);return typeof t=="object"&&!oc?Zc(m):m}if(vte(t)){for(var g="<"+KO.call(String(t.nodeName)),v=t.attributes||[],y=0;y<v.length;y++)g+=" "+v[y].name+"="+o6(rte(v[y].value),"double",o);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+KO.call(String(t.nodeName))+">",g}if(N1(t)){if(t.length===0)return"[]";var b=mp(t,d);return f&&!bte(b)?"["+M1(b,f)+"]":"[ "+Hi.call(b,", ")+" ]"}if(ote(t)){var w=mp(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!i6.call(t,"cause")?"{ ["+String(t)+"] "+Hi.call(qO.call("[cause]: "+d(t.cause),w),", ")+" }":w.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Hi.call(w,", ")+" }"}if(typeof t=="object"&&s){if(ZO&&typeof t[ZO]=="function"&&D1)return D1(t,{depth:c-r});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(dte(t)){var S=[];return VO&&VO.call(t,function(A,D){S.push(d(D,t,!0)+" => "+d(A,t))}),tI("Map",kg.call(t),S,f)}if(mte(t)){var E=[];return WO&&WO.call(t,function(A){E.push(d(A,t))}),tI("Set",Rg.call(t),E,f)}if(hte(t))return Iy("WeakMap");if(gte(t))return Iy("WeakSet");if(pte(t))return Iy("WeakRef");if(ate(t))return Zc(d(Number(t)));if(lte(t))return Zc(d(R1.call(t)));if(ute(t))return Zc(Xee.call(t));if(ste(t))return Zc(d(String(t)));if(!ite(t)&&!eI(t)){var _=mp(t,d),C=XO?XO(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",T=!C&&Qn&&Object(t)===t&&Qn in t?DS.call(ya(t),8,-1):O?"Object":"",x=C||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",I=x+(T||O?"["+Hi.call(qO.call([],T||[],O||[]),": ")+"] ":"");return _.length===0?I+"{}":f?I+"{"+M1(_,f)+"}":I+"{ "+Hi.call(_,", ")+" }"}return String(t)};function o6(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function rte(e){return Fs.call(String(e),/"/g,"&quot;")}function N1(e){return ya(e)==="[object Array]"&&(!Qn||!(typeof e=="object"&&Qn in e))}function ite(e){return ya(e)==="[object Date]"&&(!Qn||!(typeof e=="object"&&Qn in e))}function eI(e){return ya(e)==="[object RegExp]"&&(!Qn||!(typeof e=="object"&&Qn in e))}function ote(e){return ya(e)==="[object Error]"&&(!Qn||!(typeof e=="object"&&Qn in e))}function ste(e){return ya(e)==="[object String]"&&(!Qn||!(typeof e=="object"&&Qn in e))}function ate(e){return ya(e)==="[object Number]"&&(!Qn||!(typeof e=="object"&&Qn in e))}function ute(e){return ya(e)==="[object Boolean]"&&(!Qn||!(typeof e=="object"&&Qn in e))}function s6(e){if(oc)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!P1)return!1;try{return P1.call(e),!0}catch{}return!1}function lte(e){if(!e||typeof e!="object"||!R1)return!1;try{return R1.call(e),!0}catch{}return!1}var cte=Object.prototype.hasOwnProperty||function(e){return e in this};function Ps(e,t){return cte.call(e,t)}function ya(e){return Jee.call(e)}function fte(e){if(e.name)return e.name;var t=Zee.call(Qee.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function a6(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function dte(e){if(!kg||!e||typeof e!="object")return!1;try{kg.call(e);try{Rg.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function hte(e){if(!Lf||!e||typeof e!="object")return!1;try{Lf.call(e,Lf);try{$f.call(e,$f)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function pte(e){if(!GO||!e||typeof e!="object")return!1;try{return GO.call(e),!0}catch{}return!1}function mte(e){if(!Rg||!e||typeof e!="object")return!1;try{Rg.call(e);try{kg.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function gte(e){if(!$f||!e||typeof e!="object")return!1;try{$f.call(e,$f);try{Lf.call(e,Lf)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function vte(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function u6(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return u6(DS.call(e,0,t.maxStringLength),t)+r}var i=Fs.call(Fs.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,yte);return o6(i,"single",t)}function yte(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+ete.call(t.toString(16))}function Zc(e){return"Object("+e+")"}function Iy(e){return e+" { ? }"}function tI(e,t,n,r){var i=r?M1(n,r):Hi.call(n,", ");return e+" ("+t+") {"+i+"}"}function bte(e){for(var t=0;t<e.length;t++)if(a6(e[t],`
`)>=0)return!1;return!0}function wte(e,t){var n;if(e.indent==="	")n="	";else if(typeof e.indent=="number"&&e.indent>0)n=Hi.call(Array(e.indent+1)," ");else return null;return{base:n,prev:Hi.call(Array(t+1),n)}}function M1(e,t){if(e.length===0)return"";var n=`
`+t.prev+t.base;return n+Hi.call(e,","+n)+`
`+t.prev}function mp(e,t){var n=N1(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Ps(e,i)?t(e[i],e):""}var o=typeof Oy=="function"?Oy(e):[],s;if(oc){s={};for(var a=0;a<o.length;a++)s["$"+o[a]]=o[a]}for(var u in e)Ps(e,u)&&(n&&String(Number(u))===u&&u<e.length||oc&&s["$"+u]instanceof Symbol||(r6.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if(typeof Oy=="function")for(var l=0;l<o.length;l++)i6.call(e,o[l])&&r.push("["+t(o[l])+"]: "+t(e[o[l]],e));return r}var NS=kS,Dc=Vee,Ete=nte,Ste=NS("%TypeError%"),gp=NS("%WeakMap%",!0),vp=NS("%Map%",!0),xte=Dc("WeakMap.prototype.get",!0),Tte=Dc("WeakMap.prototype.set",!0),_te=Dc("WeakMap.prototype.has",!0),Ote=Dc("Map.prototype.get",!0),Ite=Dc("Map.prototype.set",!0),Cte=Dc("Map.prototype.has",!0),MS=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},Ate=function(e,t){var n=MS(e,t);return n&&n.value},kte=function(e,t,n){var r=MS(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},Rte=function(e,t){return!!MS(e,t)},Pte=function(){var t,n,r,i={assert:function(o){if(!i.has(o))throw new Ste("Side channel does not contain "+Ete(o))},get:function(o){if(gp&&o&&(typeof o=="object"||typeof o=="function")){if(t)return xte(t,o)}else if(vp){if(n)return Ote(n,o)}else if(r)return Ate(r,o)},has:function(o){if(gp&&o&&(typeof o=="object"||typeof o=="function")){if(t)return _te(t,o)}else if(vp){if(n)return Cte(n,o)}else if(r)return Rte(r,o);return!1},set:function(o,s){gp&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new gp),Tte(t,o,s)):vp?(n||(n=new vp),Ite(n,o,s)):(r||(r={key:{},next:null}),kte(r,o,s))}};return i},Dte=String.prototype.replace,Nte=/%20/g,Cy={RFC1738:"RFC1738",RFC3986:"RFC3986"},LS={default:Cy.RFC3986,formatters:{RFC1738:function(e){return Dte.call(e,Nte,"+")},RFC3986:function(e){return String(e)}},RFC1738:Cy.RFC1738,RFC3986:Cy.RFC3986},Mte=LS,Ay=Object.prototype.hasOwnProperty,$a=Array.isArray,Ni=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Lte=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if($a(r)){for(var i=[],o=0;o<r.length;++o)typeof r[o]<"u"&&i.push(r[o]);n.obj[n.prop]=i}}},l6=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},$te=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if($a(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!Ay.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return $a(t)&&!$a(n)&&(i=l6(t,r)),$a(t)&&$a(n)?(n.forEach(function(o,s){if(Ay.call(t,s)){var a=t[s];a&&typeof a=="object"&&o&&typeof o=="object"?t[s]=e(a,o,r):t.push(o)}else t[s]=o}),t):Object.keys(n).reduce(function(o,s){var a=n[s];return Ay.call(o,s)?o[s]=e(o[s],a,r):o[s]=a,o},i)},Fte=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},Bte=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},jte=function(t,n,r,i,o){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),r==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(c){return"%26%23"+parseInt(c.slice(2),16)+"%3B"});for(var a="",u=0;u<s.length;++u){var l=s.charCodeAt(u);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===Mte.RFC1738&&(l===40||l===41)){a+=s.charAt(u);continue}if(l<128){a=a+Ni[l];continue}if(l<2048){a=a+(Ni[192|l>>6]+Ni[128|l&63]);continue}if(l<55296||l>=57344){a=a+(Ni[224|l>>12]+Ni[128|l>>6&63]+Ni[128|l&63]);continue}u+=1,l=65536+((l&1023)<<10|s.charCodeAt(u)&1023),a+=Ni[240|l>>18]+Ni[128|l>>12&63]+Ni[128|l>>6&63]+Ni[128|l&63]}return a},Hte=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var o=n[i],s=o.obj[o.prop],a=Object.keys(s),u=0;u<a.length;++u){var l=a[u],c=s[l];typeof c=="object"&&c!==null&&r.indexOf(c)===-1&&(n.push({obj:s,prop:l}),r.push(c))}return Lte(n),t},Ute=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},zte=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},Vte=function(t,n){return[].concat(t,n)},Wte=function(t,n){if($a(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},c6={arrayToObject:l6,assign:Fte,combine:Vte,compact:Hte,decode:Bte,encode:jte,isBuffer:zte,isRegExp:Ute,maybeMap:Wte,merge:$te},f6=Pte,hm=c6,Ff=LS,Gte=Object.prototype.hasOwnProperty,nI={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},ko=Array.isArray,Kte=Array.prototype.push,d6=function(e,t){Kte.apply(e,ko(t)?t:[t])},qte=Date.prototype.toISOString,rI=Ff.default,jn={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:hm.encode,encodeValuesOnly:!1,format:rI,formatter:Ff.formatters[rI],indices:!1,serializeDate:function(t){return qte.call(t)},skipNulls:!1,strictNullHandling:!1},Yte=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},ky={},Xte=function e(t,n,r,i,o,s,a,u,l,c,f,d,h,p,m,g){for(var v=t,y=g,b=0,w=!1;(y=y.get(ky))!==void 0&&!w;){var S=y.get(t);if(b+=1,typeof S<"u"){if(S===b)throw new RangeError("Cyclic object value");w=!0}typeof y.get(ky)>"u"&&(b=0)}if(typeof u=="function"?v=u(n,v):v instanceof Date?v=f(v):r==="comma"&&ko(v)&&(v=hm.maybeMap(v,function(k){return k instanceof Date?f(k):k})),v===null){if(o)return a&&!p?a(n,jn.encoder,m,"key",d):n;v=""}if(Yte(v)||hm.isBuffer(v)){if(a){var E=p?n:a(n,jn.encoder,m,"key",d);return[h(E)+"="+h(a(v,jn.encoder,m,"value",d))]}return[h(n)+"="+h(String(v))]}var _=[];if(typeof v>"u")return _;var C;if(r==="comma"&&ko(v))p&&a&&(v=hm.maybeMap(v,a)),C=[{value:v.length>0?v.join(",")||null:void 0}];else if(ko(u))C=u;else{var O=Object.keys(v);C=l?O.sort(l):O}for(var T=i&&ko(v)&&v.length===1?n+"[]":n,x=0;x<C.length;++x){var I=C[x],A=typeof I=="object"&&typeof I.value<"u"?I.value:v[I];if(!(s&&A===null)){var D=ko(v)?typeof r=="function"?r(T,I):T:T+(c?"."+I:"["+I+"]");g.set(t,b);var R=f6();R.set(ky,g),d6(_,e(A,D,r,i,o,s,r==="comma"&&p&&ko(v)?null:a,u,l,c,f,d,h,p,m,R))}}return _},Jte=function(t){if(!t)return jn;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||jn.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Ff.default;if(typeof t.format<"u"){if(!Gte.call(Ff.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Ff.formatters[r],o=jn.filter;return(typeof t.filter=="function"||ko(t.filter))&&(o=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:jn.addQueryPrefix,allowDots:typeof t.allowDots>"u"?jn.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:jn.charsetSentinel,delimiter:typeof t.delimiter>"u"?jn.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:jn.encode,encoder:typeof t.encoder=="function"?t.encoder:jn.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:jn.encodeValuesOnly,filter:o,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:jn.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:jn.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:jn.strictNullHandling}},Qte=function(e,t){var n=e,r=Jte(t),i,o;typeof r.filter=="function"?(o=r.filter,n=o("",n)):ko(r.filter)&&(o=r.filter,i=o);var s=[];if(typeof n!="object"||n===null)return"";var a;t&&t.arrayFormat in nI?a=t.arrayFormat:t&&"indices"in t?a=t.indices?"indices":"repeat":a="indices";var u=nI[a];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=u==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var c=f6(),f=0;f<i.length;++f){var d=i[f];r.skipNulls&&n[d]===null||d6(s,Xte(n[d],d,u,l,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,c))}var h=s.join(r.delimiter),p=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?p+="utf8=%26%2310003%3B&":p+="utf8=%E2%9C%93&"),h.length>0?p+h:""},sc=c6,L1=Object.prototype.hasOwnProperty,Zte=Array.isArray,_n={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:sc.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},ene=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},h6=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},tne="utf8=%26%2310003%3B",nne="utf8=%E2%9C%93",rne=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=n.parameterLimit===1/0?void 0:n.parameterLimit,s=i.split(n.delimiter,o),a=-1,u,l=n.charset;if(n.charsetSentinel)for(u=0;u<s.length;++u)s[u].indexOf("utf8=")===0&&(s[u]===nne?l="utf-8":s[u]===tne&&(l="iso-8859-1"),a=u,u=s.length);for(u=0;u<s.length;++u)if(u!==a){var c=s[u],f=c.indexOf("]="),d=f===-1?c.indexOf("="):f+1,h,p;d===-1?(h=n.decoder(c,_n.decoder,l,"key"),p=n.strictNullHandling?null:""):(h=n.decoder(c.slice(0,d),_n.decoder,l,"key"),p=sc.maybeMap(h6(c.slice(d+1),n),function(m){return n.decoder(m,_n.decoder,l,"value")})),p&&n.interpretNumericEntities&&l==="iso-8859-1"&&(p=ene(p)),c.indexOf("[]=")>-1&&(p=Zte(p)?[p]:p),L1.call(r,h)?r[h]=sc.combine(r[h],p):r[h]=p}return r},ine=function(e,t,n,r){for(var i=r?t:h6(t,n),o=e.length-1;o>=0;--o){var s,a=e[o];if(a==="[]"&&n.parseArrays)s=[].concat(i);else{s=n.plainObjects?Object.create(null):{};var u=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,l=parseInt(u,10);!n.parseArrays&&u===""?s={0:i}:!isNaN(l)&&a!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(s=[],s[l]=i):u!=="__proto__"&&(s[u]=i)}i=s}return i},one=function(t,n,r,i){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,u=r.depth>0&&s.exec(o),l=u?o.slice(0,u.index):o,c=[];if(l){if(!r.plainObjects&&L1.call(Object.prototype,l)&&!r.allowPrototypes)return;c.push(l)}for(var f=0;r.depth>0&&(u=a.exec(o))!==null&&f<r.depth;){if(f+=1,!r.plainObjects&&L1.call(Object.prototype,u[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(u[1])}return u&&c.push("["+o.slice(u.index)+"]"),ine(c,n,r,i)}},sne=function(t){if(!t)return _n;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof t.charset>"u"?_n.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?_n.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:_n.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:_n.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:_n.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:_n.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:_n.comma,decoder:typeof t.decoder=="function"?t.decoder:_n.decoder,delimiter:typeof t.delimiter=="string"||sc.isRegExp(t.delimiter)?t.delimiter:_n.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:_n.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:_n.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:_n.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:_n.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:_n.strictNullHandling}},ane=function(e,t){var n=sne(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?rne(e,n):e,i=n.plainObjects?Object.create(null):{},o=Object.keys(r),s=0;s<o.length;++s){var a=o[s],u=one(a,r[a],n,typeof e=="string");i=sc.merge(i,u,n)}return n.allowSparse===!0?i:sc.compact(i)},une=Qte,lne=ane,cne=LS,fne={formats:cne,parse:lne,stringify:une};const Hfe=Su(fne),Vt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,dn=Object.keys,Kn=Array.isArray;function hr(e,t){return typeof t!="object"||dn(t).forEach(function(n){e[n]=t[n]}),e}typeof Promise>"u"||Vt.Promise||(Vt.Promise=Promise);const Td=Object.getPrototypeOf,dne={}.hasOwnProperty;function zr(e,t){return dne.call(e,t)}function ac(e,t){typeof t=="function"&&(t=t(Td(e))),(typeof Reflect>"u"?dn:Reflect.ownKeys)(t).forEach(n=>{Uo(e,n,t[n])})}const p6=Object.defineProperty;function Uo(e,t,n,r){p6(e,t,hr(n&&zr(n,"get")&&typeof n.get=="function"?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function Ml(e){return{from:function(t){return e.prototype=Object.create(t.prototype),Uo(e.prototype,"constructor",e),{extend:ac.bind(null,e.prototype)}}}}const hne=Object.getOwnPropertyDescriptor;function $S(e,t){let n;return hne(e,t)||(n=Td(e))&&$S(n,t)}const pne=[].slice;function Pg(e,t,n){return pne.call(e,t,n)}function m6(e,t){return t(e)}function hf(e){if(!e)throw new Error("Assertion Failed")}function g6(e){Vt.setImmediate?setImmediate(e):setTimeout(e,0)}function v6(e,t){return e.reduce((n,r,i)=>{var o=t(r,i);return o&&(n[o[0]]=o[1]),n},{})}function zo(e,t){if(typeof t=="string"&&zr(e,t))return e[t];if(!t)return e;if(typeof t!="string"){for(var n=[],r=0,i=t.length;r<i;++r){var o=zo(e,t[r]);n.push(o)}return n}var s=t.indexOf(".");if(s!==-1){var a=e[t.substr(0,s)];return a===void 0?void 0:zo(a,t.substr(s+1))}}function xi(e,t,n){if(e&&t!==void 0&&(!("isFrozen"in Object)||!Object.isFrozen(e)))if(typeof t!="string"&&"length"in t){hf(typeof n!="string"&&"length"in n);for(var r=0,i=t.length;r<i;++r)xi(e,t[r],n[r])}else{var o=t.indexOf(".");if(o!==-1){var s=t.substr(0,o),a=t.substr(o+1);if(a==="")n===void 0?Kn(e)&&!isNaN(parseInt(s))?e.splice(s,1):delete e[s]:e[s]=n;else{var u=e[s];u&&zr(e,s)||(u=e[s]={}),xi(u,a,n)}}else n===void 0?Kn(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}function y6(e){var t={};for(var n in e)zr(e,n)&&(t[n]=e[n]);return t}const mne=[].concat;function b6(e){return mne.apply([],e)}const w6="BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(b6([8,16,32,64].map(e=>["Int","Uint","Float"].map(t=>t+e+"Array")))).filter(e=>Vt[e]),gne=w6.map(e=>Vt[e]);v6(w6,e=>[e,!0]);let Ds=null;function yh(e){Ds=typeof WeakMap<"u"&&new WeakMap;const t=$1(e);return Ds=null,t}function $1(e){if(!e||typeof e!="object")return e;let t=Ds&&Ds.get(e);if(t)return t;if(Kn(e)){t=[],Ds&&Ds.set(e,t);for(var n=0,r=e.length;n<r;++n)t.push($1(e[n]))}else if(gne.indexOf(e.constructor)>=0)t=e;else{const o=Td(e);for(var i in t=o===Object.prototype?{}:Object.create(o),Ds&&Ds.set(e,t),e)zr(e,i)&&(t[i]=$1(e[i]))}return t}const{toString:vne}={};function F1(e){return vne.call(e).slice(8,-1)}const B1=typeof Symbol<"u"?Symbol.iterator:"@@iterator",yne=typeof B1=="symbol"?function(e){var t;return e!=null&&(t=e[B1])&&t.apply(e)}:function(){return null},ll={};function No(e){var t,n,r,i;if(arguments.length===1){if(Kn(e))return e.slice();if(this===ll&&typeof e=="string")return[e];if(i=yne(e)){for(n=[];!(r=i.next()).done;)n.push(r.value);return n}if(e==null)return[e];if(typeof(t=e.length)=="number"){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}const FS=typeof Symbol<"u"?e=>e[Symbol.toStringTag]==="AsyncFunction":()=>!1;var ho=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function E6(e,t){ho=e,S6=t}var S6=()=>!0;const bne=!new Error("").stack;function Mu(){if(bne)try{throw Mu.arguments,new Error}catch(e){return e}return new Error}function j1(e,t){var n=e.stack;return n?(t=t||0,n.indexOf(e.name)===0&&(t+=(e.name+e.message).split(`
`).length),n.split(`
`).slice(t).filter(S6).map(r=>`
`+r).join("")):""}var x6=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],BS=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(x6),wne={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function Ll(e,t){this._e=Mu(),this.name=e,this.message=t}function T6(e,t){return e+". Errors: "+Object.keys(t).map(n=>t[n].toString()).filter((n,r,i)=>i.indexOf(n)===r).join(`
`)}function Dg(e,t,n,r){this._e=Mu(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=T6(e,t)}function Bf(e,t){this._e=Mu(),this.name="BulkError",this.failures=Object.keys(t).map(n=>t[n]),this.failuresByPos=t,this.message=T6(e,t)}Ml(Ll).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+j1(this._e,2))}},toString:function(){return this.name+": "+this.message}}),Ml(Dg).from(Ll),Ml(Bf).from(Ll);var jS=BS.reduce((e,t)=>(e[t]=t+"Error",e),{});const Ene=Ll;var ze=BS.reduce((e,t)=>{var n=t+"Error";function r(i,o){this._e=Mu(),this.name=n,i?typeof i=="string"?(this.message=`${i}${o?`
 `+o:""}`,this.inner=o||null):typeof i=="object"&&(this.message=`${i.name} ${i.message}`,this.inner=i):(this.message=wne[t]||n,this.inner=null)}return Ml(r).from(Ene),e[t]=r,e},{});ze.Syntax=SyntaxError,ze.Type=TypeError,ze.Range=RangeError;var iI=x6.reduce((e,t)=>(e[t+"Error"]=ze[t],e),{}),pm=BS.reduce((e,t)=>(["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=ze[t]),e),{});function Dt(){}function _d(e){return e}function Sne(e,t){return e==null||e===_d?t:function(n){return t(e(n))}}function yu(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function xne(e,t){return e===Dt?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?yu(r,this.onsuccess):r),i&&(this.onerror=this.onerror?yu(i,this.onerror):i),o!==void 0?o:n}}function Tne(e,t){return e===Dt?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?yu(n,this.onsuccess):n),r&&(this.onerror=this.onerror?yu(r,this.onerror):r)}}function _ne(e,t){return e===Dt?t:function(n){var r=e.apply(this,arguments);hr(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var s=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?yu(i,this.onsuccess):i),o&&(this.onerror=this.onerror?yu(o,this.onerror):o),r===void 0?s===void 0?void 0:s:hr(r,s)}}function One(e,t){return e===Dt?t:function(){return t.apply(this,arguments)!==!1&&e.apply(this,arguments)}}function HS(e,t){return e===Dt?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,i=arguments.length,o=new Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}pm.ModifyError=Dg,pm.DexieError=Ll,pm.BulkError=Bf;var Od={};const _6=100,[H1,Ng,U1]=typeof Promise>"u"?[]:(()=>{let e=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[e,Td(e),e];const t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,Td(t),e]})(),O6=Ng&&Ng.then,mm=H1&&H1.constructor,US=!!U1;var z1=!1,Ine=U1?()=>{U1.then(yp)}:Vt.setImmediate?setImmediate.bind(null,yp):Vt.MutationObserver?()=>{var e=document.createElement("div");new MutationObserver(()=>{yp(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:()=>{setTimeout(yp,0)},jf=function(e,t){pf.push([e,t]),Mg&&(Ine(),Mg=!1)},V1=!0,Mg=!0,ru=[],gm=[],W1=null,G1=_d,$l={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:aI,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(e=>{try{aI(e[0],e[1])}catch{}})}},Fe=$l,pf=[],iu=0,vm=[];function xe(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Dt,this._lib=!1;var t=this._PSD=Fe;if(ho&&(this._stackHolder=Mu(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==Od)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(this._state===!1&&q1(this,this._value))}this._state=null,this._value=null,++t.ref,C6(this,e)}const K1={get:function(){var e=Fe,t=Lg;function n(r,i){var o=!e.global&&(e!==Fe||t!==Lg);const s=o&&!Zo();var a=new xe((u,l)=>{zS(this,new I6($g(r,e,o,s),$g(i,e,o,s),u,l,e))});return ho&&R6(a,this),a}return n.prototype=Od,n},set:function(e){Uo(this,"then",e&&e.prototype===Od?K1:{get:function(){return e},set:K1.set})}};function I6(e,t,n,r,i){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=i}function C6(e,t){try{t(n=>{if(e._state===null){if(n===e)throw new TypeError("A promise cannot be resolved with itself.");var r=e._lib&&bh();n&&typeof n.then=="function"?C6(e,(i,o)=>{n instanceof xe?n._then(i,o):n.then(i,o)}):(e._state=!0,e._value=n,A6(e)),r&&wh()}},q1.bind(null,e))}catch(n){q1(e,n)}}function q1(e,t){if(gm.push(t),e._state===null){var n=e._lib&&bh();t=G1(t),e._state=!1,e._value=t,ho&&t!==null&&typeof t=="object"&&!t._promise&&function(r,i,o){try{r.apply(null,o)}catch{}}(()=>{var r=$S(t,"stack");t._promise=e,Uo(t,"stack",{get:()=>z1?r&&(r.get?r.get.apply(t):r.value):e.stack})}),function(r){ru.some(i=>i._value===r._value)||ru.push(r)}(e),A6(e),n&&wh()}}function A6(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)zS(e,t[n]);var i=e._PSD;--i.ref||i.finalize(),iu===0&&(++iu,jf(()=>{--iu==0&&VS()},[]))}function zS(e,t){if(e._state!==null){var n=e._state?t.onFulfilled:t.onRejected;if(n===null)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++iu,jf(Cne,[n,e,t])}else e._listeners.push(t)}function Cne(e,t,n){try{W1=t;var r,i=t._value;t._state?r=e(i):(gm.length&&(gm=[]),r=e(i),gm.indexOf(i)===-1&&function(o){for(var s=ru.length;s;)if(ru[--s]._value===o._value)return void ru.splice(s,1)}(t)),n.resolve(r)}catch(o){n.reject(o)}finally{W1=null,--iu==0&&VS(),--n.psd.ref||n.psd.finalize()}}function k6(e,t,n){if(t.length===n)return t;var r="";if(e._state===!1){var i,o,s=e._value;s!=null?(i=s.name||"Error",o=s.message||s,r=j1(s,0)):(i=s,o=""),t.push(i+(o?": "+o:"")+r)}return ho&&((r=j1(e._stackHolder,2))&&t.indexOf(r)===-1&&t.push(r),e._prev&&k6(e._prev,t,n)),t}function R6(e,t){var n=t?t._numPrev+1:0;n<100&&(e._prev=t,e._numPrev=n)}function yp(){bh()&&wh()}function bh(){var e=V1;return V1=!1,Mg=!1,e}function wh(){var e,t,n;do for(;pf.length>0;)for(e=pf,pf=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}while(pf.length>0);V1=!0,Mg=!0}function VS(){var e=ru;ru=[],e.forEach(r=>{r._PSD.onunhandled.call(null,r._value,r)});for(var t=vm.slice(0),n=t.length;n;)t[--n]()}function bp(e){return new xe(Od,!1,e)}function Gt(e,t){var n=Fe;return function(){var r=bh(),i=Fe;try{return sa(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{sa(i,!1),r&&wh()}}}ac(xe.prototype,{then:K1,_then:function(e,t){zS(this,new I6(null,null,e,t,Fe))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],n=arguments[1];return typeof t=="function"?this.then(null,r=>r instanceof t?n(r):bp(r)):this.then(null,r=>r&&r.name===t?n(r):bp(r))},finally:function(e){return this.then(t=>(e(),t),t=>(e(),bp(t)))},stack:{get:function(){if(this._stack)return this._stack;try{z1=!0;var e=k6(this,[],20).join(`
From previous: `);return this._state!==null&&(this._stack=e),e}finally{z1=!1}}},timeout:function(e,t){return e<1/0?new xe((n,r)=>{var i=setTimeout(()=>r(new ze.Timeout(t)),e);this.then(n,r).finally(clearTimeout.bind(null,i))}):this}}),typeof Symbol<"u"&&Symbol.toStringTag&&Uo(xe.prototype,Symbol.toStringTag,"Dexie.Promise"),$l.env=P6(),ac(xe,{all:function(){var e=No.apply(null,arguments).map(wp);return new xe(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach((i,o)=>xe.resolve(i).then(s=>{e[o]=s,--r||t(e)},n))})},resolve:e=>{if(e instanceof xe)return e;if(e&&typeof e.then=="function")return new xe((n,r)=>{e.then(n,r)});var t=new xe(Od,!0,e);return R6(t,W1),t},reject:bp,race:function(){var e=No.apply(null,arguments).map(wp);return new xe((t,n)=>{e.map(r=>xe.resolve(r).then(t,n))})},PSD:{get:()=>Fe,set:e=>Fe=e},totalEchoes:{get:()=>Lg},newPSD:oa,usePSD:Mc,scheduler:{get:()=>jf,set:e=>{jf=e}},rejectionMapper:{get:()=>G1,set:e=>{G1=e}},follow:(e,t)=>new xe((n,r)=>oa((i,o)=>{var s=Fe;s.unhandleds=[],s.onunhandled=o,s.finalize=yu(function(){(function(a){function u(){a(),vm.splice(vm.indexOf(u),1)}vm.push(u),++iu,jf(()=>{--iu==0&&VS()},[])})(()=>{this.unhandleds.length===0?i():o(this.unhandleds[0])})},s.finalize),e()},t,n,r))}),mm&&(mm.allSettled&&Uo(xe,"allSettled",function(){const e=No.apply(null,arguments).map(wp);return new xe(t=>{e.length===0&&t([]);let n=e.length;const r=new Array(n);e.forEach((i,o)=>xe.resolve(i).then(s=>r[o]={status:"fulfilled",value:s},s=>r[o]={status:"rejected",reason:s}).then(()=>--n||t(r)))})}),mm.any&&typeof AggregateError<"u"&&Uo(xe,"any",function(){const e=No.apply(null,arguments).map(wp);return new xe((t,n)=>{e.length===0&&n(new AggregateError([]));let r=e.length;const i=new Array(r);e.forEach((o,s)=>xe.resolve(o).then(a=>t(a),a=>{i[s]=a,--r||n(new AggregateError(i))}))})}));const zn={awaits:0,echoes:0,id:0};var Ane=0,ym=[],Ry=0,Lg=0,kne=0;function oa(e,t,n,r){var i=Fe,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++kne;var s=$l.env;o.env=US?{Promise:xe,PromiseProp:{value:xe,configurable:!0,writable:!0},all:xe.all,race:xe.race,allSettled:xe.allSettled,any:xe.any,resolve:xe.resolve,reject:xe.reject,nthen:oI(s.nthen,o),gthen:oI(s.gthen,o)}:{},t&&hr(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var a=Mc(o,e,n,r);return o.ref===0&&o.finalize(),a}function Nc(){return zn.id||(zn.id=++Ane),++zn.awaits,zn.echoes+=_6,zn.id}function Zo(){return!!zn.awaits&&(--zn.awaits==0&&(zn.id=0),zn.echoes=zn.awaits*_6,!0)}function wp(e){return zn.echoes&&e&&e.constructor===mm?(Nc(),e.then(t=>(Zo(),t),t=>(Zo(),wn(t)))):e}function Rne(e){++Lg,zn.echoes&&--zn.echoes!=0||(zn.echoes=zn.id=0),ym.push(Fe),sa(e,!0)}function Pne(){var e=ym[ym.length-1];ym.pop(),sa(e,!1)}function sa(e,t){var n=Fe;if((t?!zn.echoes||Ry++&&e===Fe:!Ry||--Ry&&e===Fe)||D6(t?Rne.bind(null,e):Pne),e!==Fe&&(Fe=e,n===$l&&($l.env=P6()),US)){var r=$l.env.Promise,i=e.env;Ng.then=i.nthen,r.prototype.then=i.gthen,(n.global||e.global)&&(Object.defineProperty(Vt,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function P6(){var e=Vt.Promise;return US?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(Vt,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:Ng.then,gthen:e.prototype.then}:{}}function Mc(e,t,n,r,i){var o=Fe;try{return sa(e,!0),t(n,r,i)}finally{sa(o,!1)}}function D6(e){O6.call(H1,e)}function $g(e,t,n,r){return typeof e!="function"?e:function(){var i=Fe;n&&Nc(),sa(t,!0);try{return e.apply(this,arguments)}finally{sa(i,!1),r&&D6(Zo)}}}function oI(e,t){return function(n,r){return e.call(this,$g(n,t),$g(r,t))}}(""+O6).indexOf("[native code]")===-1&&(Nc=Zo=Dt);const sI="unhandledrejection";function aI(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,i={promise:t,reason:e};if(Vt.document&&document.createEvent?((r=document.createEvent("Event")).initEvent(sI,!0,!0),hr(r,i)):Vt.CustomEvent&&hr(r=new CustomEvent(sI,{detail:i}),i),r&&Vt.dispatchEvent&&(dispatchEvent(r),!Vt.PromiseRejectionEvent&&Vt.onunhandledrejection))try{Vt.onunhandledrejection(r)}catch{}ho&&r&&!r.defaultPrevented&&console.warn(`Unhandled rejection: ${e.stack||e}`)}catch{}}var wn=xe.reject;function Y1(e,t,n,r){if(e.idbdb&&(e._state.openComplete||Fe.letThrough||e._vip)){var i=e._createTransaction(t,n,e._dbSchema);try{i.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===jS.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e._close(),e.open().then(()=>Y1(e,t,n,r))):wn(o)}return i._promise(t,(o,s)=>oa(()=>(Fe.trans=i,r(o,s,i)))).then(o=>i._completion.then(()=>o))}if(e._state.openComplete)return wn(new ze.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._options.autoOpen)return wn(new ze.DatabaseClosed);e.open().catch(Dt)}return e._state.dbReadyPromise.then(()=>Y1(e,t,n,r))}const uI="3.2.5",Ua="￿",X1=-1/0,yo="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",N6="String expected.",Hf=[],Z0=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),Dne=Z0,Nne=Z0,M6=e=>!/(dexie\.js|dexie\.min\.js)/.test(e),ev="__dbnames",Py="readonly",Dy="readwrite";function bu(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}const L6={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Ep(e){return typeof e!="string"||/\./.test(e)?t=>t:t=>(t[e]===void 0&&e in t&&delete(t=yh(t))[e],t)}class Mne{_trans(t,n,r){const i=this._tx||Fe.trans,o=this.name;function s(u,l,c){if(!c.schema[o])throw new ze.NotFound("Table "+o+" not part of transaction");return n(c.idbtrans,c)}const a=bh();try{return i&&i.db===this.db?i===Fe.trans?i._promise(t,s,r):oa(()=>i._promise(t,s,r),{trans:i,transless:Fe.transless||Fe}):Y1(this.db,t,[this.name],s)}finally{a&&wh()}}get(t,n){return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",r=>this.core.get({trans:r,key:t}).then(i=>this.hook.reading.fire(i))).then(n)}where(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Kn(t))return new this.db.WhereClause(this,`[${t.join("+")}]`);const n=dn(t);if(n.length===1)return this.where(n[0]).equals(t[n[0]]);const r=this.schema.indexes.concat(this.schema.primKey).filter(l=>{if(l.compound&&n.every(c=>l.keyPath.indexOf(c)>=0)){for(let c=0;c<n.length;++c)if(n.indexOf(l.keyPath[c])===-1)return!1;return!0}return!1}).sort((l,c)=>l.keyPath.length-c.keyPath.length)[0];if(r&&this.db._maxKey!==Ua){const l=r.keyPath.slice(0,n.length);return this.where(l).equals(l.map(c=>t[c]))}!r&&ho&&console.warn(`The query ${JSON.stringify(t)} on ${this.name} would benefit of a compound index [${n.join("+")}]`);const{idxByName:i}=this.schema,o=this.db._deps.indexedDB;function s(l,c){try{return o.cmp(l,c)===0}catch{return!1}}const[a,u]=n.reduce(([l,c],f)=>{const d=i[f],h=t[f];return[l||d,l||!d?bu(c,d&&d.multi?p=>{const m=zo(p,f);return Kn(m)&&m.some(g=>s(h,g))}:p=>s(h,zo(p,f))):c]},[null,null]);return a?this.where(a.name).equals(t[a.keyPath]).filter(u):r?this.filter(u):this.where(n).equals("")}filter(t){return this.toCollection().and(t)}count(t){return this.toCollection().count(t)}offset(t){return this.toCollection().offset(t)}limit(t){return this.toCollection().limit(t)}each(t){return this.toCollection().each(t)}toArray(t){return this.toCollection().toArray(t)}toCollection(){return new this.db.Collection(new this.db.WhereClause(this))}orderBy(t){return new this.db.Collection(new this.db.WhereClause(this,Kn(t)?`[${t.join("+")}]`:t))}reverse(){return this.toCollection().reverse()}mapToClass(t){this.schema.mappedClass=t;const n=r=>{if(!r)return r;const i=Object.create(t.prototype);for(var o in r)if(zr(r,o))try{i[o]=r[o]}catch{}return i};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),t}defineClass(){return this.mapToClass(function(t){hr(this,t)})}add(t,n){const{auto:r,keyPath:i}=this.schema.primKey;let o=t;return i&&r&&(o=Ep(i)(t)),this._trans("readwrite",s=>this.core.mutate({trans:s,type:"add",keys:n!=null?[n]:null,values:[o]})).then(s=>s.numFailures?xe.reject(s.failures[0]):s.lastResult).then(s=>{if(i)try{xi(t,i,s)}catch{}return s})}update(t,n){if(typeof t!="object"||Kn(t))return this.where(":id").equals(t).modify(n);{const r=zo(t,this.schema.primKey.keyPath);if(r===void 0)return wn(new ze.InvalidArgument("Given object does not contain its primary key"));try{typeof n!="function"?dn(n).forEach(i=>{xi(t,i,n[i])}):n(t,{value:t,primKey:r})}catch{}return this.where(":id").equals(r).modify(n)}}put(t,n){const{auto:r,keyPath:i}=this.schema.primKey;let o=t;return i&&r&&(o=Ep(i)(t)),this._trans("readwrite",s=>this.core.mutate({trans:s,type:"put",values:[o],keys:n!=null?[n]:null})).then(s=>s.numFailures?xe.reject(s.failures[0]):s.lastResult).then(s=>{if(i)try{xi(t,i,s)}catch{}return s})}delete(t){return this._trans("readwrite",n=>this.core.mutate({trans:n,type:"delete",keys:[t]})).then(n=>n.numFailures?xe.reject(n.failures[0]):void 0)}clear(){return this._trans("readwrite",t=>this.core.mutate({trans:t,type:"deleteRange",range:L6})).then(t=>t.numFailures?xe.reject(t.failures[0]):void 0)}bulkGet(t){return this._trans("readonly",n=>this.core.getMany({keys:t,trans:n}).then(r=>r.map(i=>this.hook.reading.fire(i))))}bulkAdd(t,n,r){const i=Array.isArray(n)?n:void 0,o=(r=r||(i?void 0:n))?r.allKeys:void 0;return this._trans("readwrite",s=>{const{auto:a,keyPath:u}=this.schema.primKey;if(u&&i)throw new ze.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new ze.InvalidArgument("Arguments objects and keys must have the same length");const l=t.length;let c=u&&a?t.map(Ep(u)):t;return this.core.mutate({trans:s,type:"add",keys:i,values:c,wantResults:o}).then(({numFailures:f,results:d,lastResult:h,failures:p})=>{if(f===0)return o?d:h;throw new Bf(`${this.name}.bulkAdd(): ${f} of ${l} operations failed`,p)})})}bulkPut(t,n,r){const i=Array.isArray(n)?n:void 0,o=(r=r||(i?void 0:n))?r.allKeys:void 0;return this._trans("readwrite",s=>{const{auto:a,keyPath:u}=this.schema.primKey;if(u&&i)throw new ze.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(i&&i.length!==t.length)throw new ze.InvalidArgument("Arguments objects and keys must have the same length");const l=t.length;let c=u&&a?t.map(Ep(u)):t;return this.core.mutate({trans:s,type:"put",keys:i,values:c,wantResults:o}).then(({numFailures:f,results:d,lastResult:h,failures:p})=>{if(f===0)return o?d:h;throw new Bf(`${this.name}.bulkPut(): ${f} of ${l} operations failed`,p)})})}bulkDelete(t){const n=t.length;return this._trans("readwrite",r=>this.core.mutate({trans:r,type:"delete",keys:t})).then(({numFailures:r,lastResult:i,failures:o})=>{if(r===0)return i;throw new Bf(`${this.name}.bulkDelete(): ${r} of ${n} operations failed`,o)})}}function Uf(e){var t={},n=function(s,a){if(a){for(var u=arguments.length,l=new Array(u-1);--u;)l[u-1]=arguments[u];return t[s].subscribe.apply(null,l),e}if(typeof s=="string")return t[s]};n.addEventType=o;for(var r=1,i=arguments.length;r<i;++r)o(arguments[r]);return n;function o(s,a,u){if(typeof s!="object"){var l;a||(a=One),u||(u=Dt);var c={subscribers:[],fire:u,subscribe:function(f){c.subscribers.indexOf(f)===-1&&(c.subscribers.push(f),c.fire=a(c.fire,f))},unsubscribe:function(f){c.subscribers=c.subscribers.filter(function(d){return d!==f}),c.fire=c.subscribers.reduce(a,u)}};return t[s]=n[s]=c,c}dn(l=s).forEach(function(f){var d=l[f];if(Kn(d))o(f,l[f][0],l[f][1]);else{if(d!=="asap")throw new ze.InvalidArgument("Invalid event config");var h=o(f,_d,function(){for(var p=arguments.length,m=new Array(p);p--;)m[p]=arguments[p];h.subscribers.forEach(function(g){g6(function(){g.apply(null,m)})})})}})}}function ef(e,t){return Ml(t).from({prototype:e}),t}function Xu(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function Ny(e,t){e.filter=bu(e.filter,t)}function My(e,t,n){var r=e.replayFilter;e.replayFilter=r?()=>bu(r(),t()):t,e.justLimit=n&&!r}function bm(e,t){if(e.isPrimKey)return t.primaryKey;const n=t.getIndexByKeyPath(e.index);if(!n)throw new ze.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function lI(e,t,n){const r=bm(e,t.schema);return t.openCursor({trans:n,values:!e.keysOnly,reverse:e.dir==="prev",unique:!!e.unique,query:{index:r,range:e.range}})}function Sp(e,t,n,r){const i=e.replayFilter?bu(e.filter,e.replayFilter()):e.filter;if(e.or){const o={},s=(a,u,l)=>{if(!i||i(u,l,d=>u.stop(d),d=>u.fail(d))){var c=u.primaryKey,f=""+c;f==="[object ArrayBuffer]"&&(f=""+new Uint8Array(c)),zr(o,f)||(o[f]=!0,t(a,u,l))}};return Promise.all([e.or._iterate(s,n),cI(lI(e,r,n),e.algorithm,s,!e.keysOnly&&e.valueMapper)])}return cI(lI(e,r,n),bu(e.algorithm,i),t,!e.keysOnly&&e.valueMapper)}function cI(e,t,n,r){var i=Gt(r?(o,s,a)=>n(r(o),s,a):n);return e.then(o=>{if(o)return o.start(()=>{var s=()=>o.continue();t&&!t(o,a=>s=a,a=>{o.stop(a),s=Dt},a=>{o.fail(a),s=Dt})||i(o.value,o,a=>s=a),s()})})}function cr(e,t){try{const n=fI(e),r=fI(t);if(n!==r)return n==="Array"?1:r==="Array"?-1:n==="binary"?1:r==="binary"?-1:n==="string"?1:r==="string"?-1:n==="Date"?1:r!=="Date"?NaN:-1;switch(n){case"number":case"Date":case"string":return e>t?1:e<t?-1:0;case"binary":return function(i,o){const s=i.length,a=o.length,u=s<a?s:a;for(let l=0;l<u;++l)if(i[l]!==o[l])return i[l]<o[l]?-1:1;return s===a?0:s<a?-1:1}(dI(e),dI(t));case"Array":return function(i,o){const s=i.length,a=o.length,u=s<a?s:a;for(let l=0;l<u;++l){const c=cr(i[l],o[l]);if(c!==0)return c}return s===a?0:s<a?-1:1}(e,t)}}catch{}return NaN}function fI(e){const t=typeof e;if(t!=="object")return t;if(ArrayBuffer.isView(e))return"binary";const n=F1(e);return n==="ArrayBuffer"?"binary":n}function dI(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e)}class Lne{_read(t,n){var r=this._ctx;return r.error?r.table._trans(null,wn.bind(null,r.error)):r.table._trans("readonly",t).then(n)}_write(t){var n=this._ctx;return n.error?n.table._trans(null,wn.bind(null,n.error)):n.table._trans("readwrite",t,"locked")}_addAlgorithm(t){var n=this._ctx;n.algorithm=bu(n.algorithm,t)}_iterate(t,n){return Sp(this._ctx,t,n,this._ctx.table.core)}clone(t){var n=Object.create(this.constructor.prototype),r=Object.create(this._ctx);return t&&hr(r,t),n._ctx=r,n}raw(){return this._ctx.valueMapper=null,this}each(t){var n=this._ctx;return this._read(r=>Sp(n,t,r,n.table.core))}count(t){return this._read(n=>{const r=this._ctx,i=r.table.core;if(Xu(r,!0))return i.count({trans:n,query:{index:bm(r,i.schema),range:r.range}}).then(s=>Math.min(s,r.limit));var o=0;return Sp(r,()=>(++o,!1),n,i).then(()=>o)}).then(t)}sortBy(t,n){const r=t.split(".").reverse(),i=r[0],o=r.length-1;function s(l,c){return c?s(l[r[c]],c-1):l[i]}var a=this._ctx.dir==="next"?1:-1;function u(l,c){var f=s(l,o),d=s(c,o);return f<d?-a:f>d?a:0}return this.toArray(function(l){return l.sort(u)}).then(n)}toArray(t){return this._read(n=>{var r=this._ctx;if(r.dir==="next"&&Xu(r,!0)&&r.limit>0){const{valueMapper:i}=r,o=bm(r,r.table.core.schema);return r.table.core.query({trans:n,limit:r.limit,values:!0,query:{index:o,range:r.range}}).then(({result:s})=>i?s.map(i):s)}{const i=[];return Sp(r,o=>i.push(o),n,r.table.core).then(()=>i)}},t)}offset(t){var n=this._ctx;return t<=0||(n.offset+=t,Xu(n)?My(n,()=>{var r=t;return(i,o)=>r===0||(r===1?(--r,!1):(o(()=>{i.advance(r),r=0}),!1))}):My(n,()=>{var r=t;return()=>--r<0})),this}limit(t){return this._ctx.limit=Math.min(this._ctx.limit,t),My(this._ctx,()=>{var n=t;return function(r,i,o){return--n<=0&&i(o),n>=0}},!0),this}until(t,n){return Ny(this._ctx,function(r,i,o){return!t(r.value)||(i(o),n)}),this}first(t){return this.limit(1).toArray(function(n){return n[0]}).then(t)}last(t){return this.reverse().first(t)}filter(t){var n,r;return Ny(this._ctx,function(i){return t(i.value)}),n=this._ctx,r=t,n.isMatch=bu(n.isMatch,r),this}and(t){return this.filter(t)}or(t){return new this.db.WhereClause(this._ctx.table,t,this)}reverse(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this}desc(){return this.reverse()}eachKey(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.key,i)})}eachUniqueKey(t){return this._ctx.unique="unique",this.eachKey(t)}eachPrimaryKey(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.primaryKey,i)})}keys(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.key)}).then(function(){return r}).then(t)}primaryKeys(t){var n=this._ctx;if(n.dir==="next"&&Xu(n,!0)&&n.limit>0)return this._read(i=>{var o=bm(n,n.table.core.schema);return n.table.core.query({trans:i,values:!1,limit:n.limit,query:{index:o,range:n.range}})}).then(({result:i})=>i).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.primaryKey)}).then(function(){return r}).then(t)}uniqueKeys(t){return this._ctx.unique="unique",this.keys(t)}firstKey(t){return this.limit(1).keys(function(n){return n[0]}).then(t)}lastKey(t){return this.reverse().firstKey(t)}distinct(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var r={};return Ny(this._ctx,function(i){var o=i.primaryKey.toString(),s=zr(r,o);return r[o]=!0,!s}),this}modify(t){var n=this._ctx;return this._write(r=>{var i;if(typeof t=="function")i=t;else{var o=dn(t),s=o.length;i=function(m){for(var g=!1,v=0;v<s;++v){var y=o[v],b=t[y];zo(m,y)!==b&&(xi(m,y,b),g=!0)}return g}}const a=n.table.core,{outbound:u,extractKey:l}=a.schema.primaryKey,c=this.db._options.modifyChunkSize||200,f=[];let d=0;const h=[],p=(m,g)=>{const{failures:v,numFailures:y}=g;d+=m-y;for(let b of dn(v))f.push(v[b])};return this.clone().primaryKeys().then(m=>{const g=v=>{const y=Math.min(c,m.length-v);return a.getMany({trans:r,keys:m.slice(v,v+y),cache:"immutable"}).then(b=>{const w=[],S=[],E=u?[]:null,_=[];for(let O=0;O<y;++O){const T=b[O],x={value:yh(T),primKey:m[v+O]};i.call(x,x.value,x)!==!1&&(x.value==null?_.push(m[v+O]):u||cr(l(T),l(x.value))===0?(S.push(x.value),u&&E.push(m[v+O])):(_.push(m[v+O]),w.push(x.value)))}const C=Xu(n)&&n.limit===1/0&&(typeof t!="function"||t===Ly)&&{index:n.index,range:n.range};return Promise.resolve(w.length>0&&a.mutate({trans:r,type:"add",values:w}).then(O=>{for(let T in O.failures)_.splice(parseInt(T),1);p(w.length,O)})).then(()=>(S.length>0||C&&typeof t=="object")&&a.mutate({trans:r,type:"put",keys:E,values:S,criteria:C,changeSpec:typeof t!="function"&&t}).then(O=>p(S.length,O))).then(()=>(_.length>0||C&&t===Ly)&&a.mutate({trans:r,type:"delete",keys:_,criteria:C}).then(O=>p(_.length,O))).then(()=>m.length>v+y&&g(v+c))})};return g(0).then(()=>{if(f.length>0)throw new Dg("Error modifying one or more objects",f,d,h);return m.length})})})}delete(){var t=this._ctx,n=t.range;return Xu(t)&&(t.isPrimKey&&!Nne||n.type===3)?this._write(r=>{const{primaryKey:i}=t.table.core.schema,o=n;return t.table.core.count({trans:r,query:{index:i,range:o}}).then(s=>t.table.core.mutate({trans:r,type:"deleteRange",range:o}).then(({failures:a,lastResult:u,results:l,numFailures:c})=>{if(c)throw new Dg("Could not delete some values",Object.keys(a).map(f=>a[f]),s-c);return s-c}))}):this.modify(Ly)}}const Ly=(e,t)=>t.value=null;function $ne(e,t){return e<t?-1:e===t?0:1}function Fne(e,t){return e>t?-1:e===t?0:1}function Ar(e,t,n){var r=e instanceof F6?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function Ju(e){return new e.Collection(e,()=>$6("")).limit(0)}function Bne(e,t,n,r,i,o){for(var s=Math.min(e.length,r.length),a=-1,u=0;u<s;++u){var l=t[u];if(l!==r[u])return i(e[u],n[u])<0?e.substr(0,u)+n[u]+n.substr(u+1):i(e[u],r[u])<0?e.substr(0,u)+r[u]+n.substr(u+1):a>=0?e.substr(0,a)+t[a]+n.substr(a+1):null;i(e[u],l)<0&&(a=u)}return s<r.length&&o==="next"?e+n.substr(e.length):s<e.length&&o==="prev"?e.substr(0,n.length):a<0?null:e.substr(0,a)+r[a]+n.substr(a+1)}function xp(e,t,n,r){var i,o,s,a,u,l,c,f=n.length;if(!n.every(m=>typeof m=="string"))return Ar(e,N6);function d(m){i=function(v){return v==="next"?y=>y.toUpperCase():y=>y.toLowerCase()}(m),o=function(v){return v==="next"?y=>y.toLowerCase():y=>y.toUpperCase()}(m),s=m==="next"?$ne:Fne;var g=n.map(function(v){return{lower:o(v),upper:i(v)}}).sort(function(v,y){return s(v.lower,y.lower)});a=g.map(function(v){return v.upper}),u=g.map(function(v){return v.lower}),l=m,c=m==="next"?"":r}d("next");var h=new e.Collection(e,()=>bs(a[0],u[f-1]+r));h._ondirectionchange=function(m){d(m)};var p=0;return h._addAlgorithm(function(m,g,v){var y=m.key;if(typeof y!="string")return!1;var b=o(y);if(t(b,u,p))return!0;for(var w=null,S=p;S<f;++S){var E=Bne(y,b,a[S],u[S],s,l);E===null&&w===null?p=S+1:(w===null||s(w,E)>0)&&(w=E)}return g(w!==null?function(){m.continue(w+c)}:v),!1}),h}function bs(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function $6(e){return{type:1,lower:e,upper:e}}class F6{get Collection(){return this._ctx.table.db.Collection}between(t,n,r,i){r=r!==!1,i=i===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||i)&&(!r||!i)?Ju(this):new this.Collection(this,()=>bs(t,n,!r,!i))}catch{return Ar(this,yo)}}equals(t){return t==null?Ar(this,yo):new this.Collection(this,()=>$6(t))}above(t){return t==null?Ar(this,yo):new this.Collection(this,()=>bs(t,void 0,!0))}aboveOrEqual(t){return t==null?Ar(this,yo):new this.Collection(this,()=>bs(t,void 0,!1))}below(t){return t==null?Ar(this,yo):new this.Collection(this,()=>bs(void 0,t,!1,!0))}belowOrEqual(t){return t==null?Ar(this,yo):new this.Collection(this,()=>bs(void 0,t))}startsWith(t){return typeof t!="string"?Ar(this,N6):this.between(t,t+Ua,!0,!0)}startsWithIgnoreCase(t){return t===""?this.startsWith(t):xp(this,(n,r)=>n.indexOf(r[0])===0,[t],Ua)}equalsIgnoreCase(t){return xp(this,(n,r)=>n===r[0],[t],"")}anyOfIgnoreCase(){var t=No.apply(ll,arguments);return t.length===0?Ju(this):xp(this,(n,r)=>r.indexOf(n)!==-1,t,"")}startsWithAnyOfIgnoreCase(){var t=No.apply(ll,arguments);return t.length===0?Ju(this):xp(this,(n,r)=>r.some(i=>n.indexOf(i)===0),t,Ua)}anyOf(){const t=No.apply(ll,arguments);let n=this._cmp;try{t.sort(n)}catch{return Ar(this,yo)}if(t.length===0)return Ju(this);const r=new this.Collection(this,()=>bs(t[0],t[t.length-1]));r._ondirectionchange=o=>{n=o==="next"?this._ascending:this._descending,t.sort(n)};let i=0;return r._addAlgorithm((o,s,a)=>{const u=o.key;for(;n(u,t[i])>0;)if(++i,i===t.length)return s(a),!1;return n(u,t[i])===0||(s(()=>{o.continue(t[i])}),!1)}),r}notEqual(t){return this.inAnyRange([[X1,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})}noneOf(){const t=No.apply(ll,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return Ar(this,yo)}const n=t.reduce((r,i)=>r?r.concat([[r[r.length-1][1],i]]):[[X1,i]],null);return n.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})}inAnyRange(t,n){const r=this._cmp,i=this._ascending,o=this._descending,s=this._min,a=this._max;if(t.length===0)return Ju(this);if(!t.every(y=>y[0]!==void 0&&y[1]!==void 0&&i(y[0],y[1])<=0))return Ar(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ze.InvalidArgument);const u=!n||n.includeLowers!==!1,l=n&&n.includeUppers===!0;let c,f=i;function d(y,b){return f(y[0],b[0])}try{c=t.reduce(function(y,b){let w=0,S=y.length;for(;w<S;++w){const E=y[w];if(r(b[0],E[1])<0&&r(b[1],E[0])>0){E[0]=s(E[0],b[0]),E[1]=a(E[1],b[1]);break}}return w===S&&y.push(b),y},[]),c.sort(d)}catch{return Ar(this,yo)}let h=0;const p=l?y=>i(y,c[h][1])>0:y=>i(y,c[h][1])>=0,m=u?y=>o(y,c[h][0])>0:y=>o(y,c[h][0])>=0;let g=p;const v=new this.Collection(this,()=>bs(c[0][0],c[c.length-1][1],!u,!l));return v._ondirectionchange=y=>{y==="next"?(g=p,f=i):(g=m,f=o),c.sort(d)},v._addAlgorithm((y,b,w)=>{for(var S=y.key;g(S);)if(++h,h===c.length)return b(w),!1;return!!function(E){return!p(E)&&!m(E)}(S)||(this._cmp(S,c[h][1])===0||this._cmp(S,c[h][0])===0||b(()=>{f===i?y.continue(c[h][0]):y.continue(c[h][1])}),!1)}),v}startsWithAnyOf(){const t=No.apply(ll,arguments);return t.every(n=>typeof n=="string")?t.length===0?Ju(this):this.inAnyRange(t.map(n=>[n,n+Ua])):Ar(this,"startsWithAnyOf() only works with strings")}}function Bi(e){return Gt(function(t){return Id(t),e(t.target.error),!1})}function Id(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}const Cd="storagemutated",Ls="x-storagemutated-1",aa=Uf(null,Cd);class jne{_lock(){return hf(!Fe.global),++this._reculock,this._reculock!==1||Fe.global||(Fe.lockOwnerFor=this),this}_unlock(){if(hf(!Fe.global),--this._reculock==0)for(Fe.global||(Fe.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{Mc(t[1],t[0])}catch{}}return this}_locked(){return this._reculock&&Fe.lockOwnerFor!==this}create(t){if(!this.mode)return this;const n=this.db.idbdb,r=this.db._state.dbOpenError;if(hf(!this.idbtrans),!t&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new ze.DatabaseClosed(r);case"MissingAPIError":throw new ze.MissingAPI(r.message,r);default:throw new ze.OpenFailed(r)}if(!this.active)throw new ze.TransactionInactive;return hf(this._completion._state===null),(t=this.idbtrans=t||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):n.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=Gt(i=>{Id(i),this._reject(t.error)}),t.onabort=Gt(i=>{Id(i),this.active&&this._reject(new ze.Abort(t.error)),this.active=!1,this.on("abort").fire(i)}),t.oncomplete=Gt(()=>{this.active=!1,this._resolve(),"mutatedParts"in t&&aa.storagemutated.fire(t.mutatedParts)}),this}_promise(t,n,r){if(t==="readwrite"&&this.mode!=="readwrite")return wn(new ze.ReadOnly("Transaction is readonly"));if(!this.active)return wn(new ze.TransactionInactive);if(this._locked())return new xe((o,s)=>{this._blockedFuncs.push([()=>{this._promise(t,n,r).then(o,s)},Fe])});if(r)return oa(()=>{var o=new xe((s,a)=>{this._lock();const u=n(s,a,this);u&&u.then&&u.then(s,a)});return o.finally(()=>this._unlock()),o._lib=!0,o});var i=new xe((o,s)=>{var a=n(o,s,this);a&&a.then&&a.then(o,s)});return i._lib=!0,i}_root(){return this.parent?this.parent._root():this}waitFor(t){var n=this._root();const r=xe.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(()=>r);else{n._waitingFor=r,n._waitingQueue=[];var i=n.idbtrans.objectStore(n.storeNames[0]);(function s(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(i.get(-1/0).onsuccess=s)})()}var o=n._waitingFor;return new xe((s,a)=>{r.then(u=>n._waitingQueue.push(Gt(s.bind(null,u))),u=>n._waitingQueue.push(Gt(a.bind(null,u)))).finally(()=>{n._waitingFor===o&&(n._waitingFor=null)})})}abort(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ze.Abort))}table(t){const n=this._memoizedTables||(this._memoizedTables={});if(zr(n,t))return n[t];const r=this.schema[t];if(!r)throw new ze.NotFound("Table "+t+" not part of transaction");const i=new this.db.Table(t,r,this);return i.core=this.db.core.table(t),n[t]=i,i}}function J1(e,t,n,r,i,o,s){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!s?"&":"")+(r?"*":"")+(i?"++":"")+B6(t)}}function B6(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function j6(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:v6(n,r=>[r.name,r])}}let Ad=e=>{try{return e.only([[]]),Ad=()=>[[]],[[]]}catch{return Ad=()=>Ua,Ua}};function Q1(e){return e==null?()=>{}:typeof e=="string"?function(t){return t.split(".").length===1?r=>r[t]:r=>zo(r,t)}(e):t=>zo(t,e)}function hI(e){return[].slice.call(e)}let Hne=0;function zf(e){return e==null?":id":typeof e=="string"?e:`[${e.join("+")}]`}function Une(e,t,n){function r(u){if(u.type===3)return null;if(u.type===4)throw new Error("Cannot convert never type to IDBKeyRange");const{lower:l,upper:c,lowerOpen:f,upperOpen:d}=u;return l===void 0?c===void 0?null:t.upperBound(c,!!d):c===void 0?t.lowerBound(l,!!f):t.bound(l,c,!!f,!!d)}const{schema:i,hasGetAll:o}=function(u,l){const c=hI(u.objectStoreNames);return{schema:{name:u.name,tables:c.map(f=>l.objectStore(f)).map(f=>{const{keyPath:d,autoIncrement:h}=f,p=Kn(d),m=d==null,g={},v={name:f.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:m,compound:p,keyPath:d,autoIncrement:h,unique:!0,extractKey:Q1(d)},indexes:hI(f.indexNames).map(y=>f.index(y)).map(y=>{const{name:b,unique:w,multiEntry:S,keyPath:E}=y,_={name:b,compound:Kn(E),keyPath:E,unique:w,multiEntry:S,extractKey:Q1(E)};return g[zf(E)]=_,_}),getIndexByKeyPath:y=>g[zf(y)]};return g[":id"]=v.primaryKey,d!=null&&(g[zf(d)]=v.primaryKey),v})},hasGetAll:c.length>0&&"getAll"in l.objectStore(c[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,n),s=i.tables.map(u=>function(l){const c=l.name;return{name:c,schema:l,mutate:function({trans:f,type:d,keys:h,values:p,range:m}){return new Promise((g,v)=>{g=Gt(g);const y=f.objectStore(c),b=y.keyPath==null,w=d==="put"||d==="add";if(!w&&d!=="delete"&&d!=="deleteRange")throw new Error("Invalid operation type: "+d);const{length:S}=h||p||{length:1};if(h&&p&&h.length!==p.length)throw new Error("Given keys array must have same length as given values array.");if(S===0)return g({numFailures:0,failures:{},results:[],lastResult:void 0});let E;const _=[],C=[];let O=0;const T=I=>{++O,Id(I)};if(d==="deleteRange"){if(m.type===4)return g({numFailures:O,failures:C,results:[],lastResult:void 0});m.type===3?_.push(E=y.clear()):_.push(E=y.delete(r(m)))}else{const[I,A]=w?b?[p,h]:[p,null]:[h,null];if(w)for(let D=0;D<S;++D)_.push(E=A&&A[D]!==void 0?y[d](I[D],A[D]):y[d](I[D])),E.onerror=T;else for(let D=0;D<S;++D)_.push(E=y[d](I[D])),E.onerror=T}const x=I=>{const A=I.target.result;_.forEach((D,R)=>D.error!=null&&(C[R]=D.error)),g({numFailures:O,failures:C,results:d==="delete"?h:_.map(D=>D.result),lastResult:A})};E.onerror=I=>{T(I),x(I)},E.onsuccess=x})},getMany:({trans:f,keys:d})=>new Promise((h,p)=>{h=Gt(h);const m=f.objectStore(c),g=d.length,v=new Array(g);let y,b=0,w=0;const S=_=>{const C=_.target;v[C._pos]=C.result,++w===b&&h(v)},E=Bi(p);for(let _=0;_<g;++_)d[_]!=null&&(y=m.get(d[_]),y._pos=_,y.onsuccess=S,y.onerror=E,++b);b===0&&h(v)}),get:({trans:f,key:d})=>new Promise((h,p)=>{h=Gt(h);const m=f.objectStore(c).get(d);m.onsuccess=g=>h(g.target.result),m.onerror=Bi(p)}),query:function(f){return d=>new Promise((h,p)=>{h=Gt(h);const{trans:m,values:g,limit:v,query:y}=d,b=v===1/0?void 0:v,{index:w,range:S}=y,E=m.objectStore(c),_=w.isPrimaryKey?E:E.index(w.name),C=r(S);if(v===0)return h({result:[]});if(f){const O=g?_.getAll(C,b):_.getAllKeys(C,b);O.onsuccess=T=>h({result:T.target.result}),O.onerror=Bi(p)}else{let O=0;const T=g||!("openKeyCursor"in _)?_.openCursor(C):_.openKeyCursor(C),x=[];T.onsuccess=I=>{const A=T.result;return A?(x.push(g?A.value:A.primaryKey),++O===v?h({result:x}):void A.continue()):h({result:x})},T.onerror=Bi(p)}})}(o),openCursor:function({trans:f,values:d,query:h,reverse:p,unique:m}){return new Promise((g,v)=>{g=Gt(g);const{index:y,range:b}=h,w=f.objectStore(c),S=y.isPrimaryKey?w:w.index(y.name),E=p?m?"prevunique":"prev":m?"nextunique":"next",_=d||!("openKeyCursor"in S)?S.openCursor(r(b),E):S.openKeyCursor(r(b),E);_.onerror=Bi(v),_.onsuccess=Gt(C=>{const O=_.result;if(!O)return void g(null);O.___id=++Hne,O.done=!1;const T=O.continue.bind(O);let x=O.continuePrimaryKey;x&&(x=x.bind(O));const I=O.advance.bind(O),A=()=>{throw new Error("Cursor not stopped")};O.trans=f,O.stop=O.continue=O.continuePrimaryKey=O.advance=()=>{throw new Error("Cursor not started")},O.fail=Gt(v),O.next=function(){let D=1;return this.start(()=>D--?this.continue():this.stop()).then(()=>this)},O.start=D=>{const R=new Promise((P,N)=>{P=Gt(P),_.onerror=Bi(N),O.fail=N,O.stop=$=>{O.stop=O.continue=O.continuePrimaryKey=O.advance=A,P($)}}),k=()=>{if(_.result)try{D()}catch(P){O.fail(P)}else O.done=!0,O.start=()=>{throw new Error("Cursor behind last entry")},O.stop()};return _.onsuccess=Gt(P=>{_.onsuccess=k,k()}),O.continue=T,O.continuePrimaryKey=x,O.advance=I,k(),R},g(O)},v)})},count({query:f,trans:d}){const{index:h,range:p}=f;return new Promise((m,g)=>{const v=d.objectStore(c),y=h.isPrimaryKey?v:v.index(h.name),b=r(p),w=b?y.count(b):y.count();w.onsuccess=Gt(S=>m(S.target.result)),w.onerror=Bi(g)})}}}(u)),a={};return s.forEach(u=>a[u.name]=u),{stack:"dbcore",transaction:e.transaction.bind(e),table(u){if(!a[u])throw new Error(`Table '${u}' not found`);return a[u]},MIN_KEY:-1/0,MAX_KEY:Ad(t),schema:i}}function Z1({_novip:e},t){const n=t.db,r=function(i,o,{IDBKeyRange:s,indexedDB:a},u){return{dbcore:function(c,f){return f.reduce((d,{create:h})=>({...d,...h(d)}),c)}(Une(o,s,u),i.dbcore)}}(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach(i=>{const o=i.name;e.core.schema.tables.some(s=>s.name===o)&&(i.core=e.core.table(o),e[o]instanceof e.Table&&(e[o].core=i.core))})}function Fg({_novip:e},t,n,r){n.forEach(i=>{const o=r[i];t.forEach(s=>{const a=$S(s,i);(!a||"value"in a&&a.value===void 0)&&(s===e.Transaction.prototype||s instanceof e.Transaction?Uo(s,i,{get(){return this.table(i)},set(u){p6(this,i,{value:u,writable:!0,configurable:!0,enumerable:!0})}}):s[i]=new e.Table(i,o))})})}function ew({_novip:e},t){t.forEach(n=>{for(let r in n)n[r]instanceof e.Table&&delete n[r]})}function zne(e,t){return e._cfg.version-t._cfg.version}function Vne(e,t,n,r){const i=e._dbSchema,o=e._createTransaction("readwrite",e._storeNames,i);o.create(n),o._completion.catch(r);const s=o._reject.bind(o),a=Fe.transless||Fe;oa(()=>{Fe.trans=o,Fe.transless=a,t===0?(dn(i).forEach(u=>{$y(n,u,i[u].primKey,i[u].indexes)}),Z1(e,n),xe.follow(()=>e.on.populate.fire(o)).catch(s)):function({_novip:u},l,c,f){const d=[],h=u._versions;let p=u._dbSchema=nw(u,u.idbdb,f),m=!1;const g=h.filter(y=>y._cfg.version>=l);function v(){return d.length?xe.resolve(d.shift()(c.idbtrans)).then(v):xe.resolve()}return g.forEach(y=>{d.push(()=>{const b=p,w=y._cfg.dbschema;rw(u,b,f),rw(u,w,f),p=u._dbSchema=w;const S=H6(b,w);S.add.forEach(_=>{$y(f,_[0],_[1].primKey,_[1].indexes)}),S.change.forEach(_=>{if(_.recreate)throw new ze.Upgrade("Not yet support for changing primary key");{const C=f.objectStore(_.name);_.add.forEach(O=>tw(C,O)),_.change.forEach(O=>{C.deleteIndex(O.name),tw(C,O)}),_.del.forEach(O=>C.deleteIndex(O))}});const E=y._cfg.contentUpgrade;if(E&&y._cfg.version>l){Z1(u,f),c._memoizedTables={},m=!0;let _=y6(w);S.del.forEach(x=>{_[x]=b[x]}),ew(u,[u.Transaction.prototype]),Fg(u,[u.Transaction.prototype],dn(_),_),c.schema=_;const C=FS(E);let O;C&&Nc();const T=xe.follow(()=>{if(O=E(c),O&&C){var x=Zo.bind(null,null);O.then(x,x)}});return O&&typeof O.then=="function"?xe.resolve(O):T.then(()=>O)}}),d.push(b=>{(!m||!Dne)&&function(w,S){[].slice.call(S.db.objectStoreNames).forEach(E=>w[E]==null&&S.db.deleteObjectStore(E))}(y._cfg.dbschema,b),ew(u,[u.Transaction.prototype]),Fg(u,[u.Transaction.prototype],u._storeNames,u._dbSchema),c.schema=u._dbSchema})}),v().then(()=>{var y,b;b=f,dn(y=p).forEach(w=>{b.db.objectStoreNames.contains(w)||$y(b,w,y[w].primKey,y[w].indexes)})})}(e,t,o,n).catch(s)})}function H6(e,t){const n={del:[],add:[],change:[]};let r;for(r in e)t[r]||n.del.push(r);for(r in t){const i=e[r],o=t[r];if(i){const s={name:r,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||i.primKey.auto!==o.primKey.auto&&!Z0)s.recreate=!0,n.change.push(s);else{const a=i.idxByName,u=o.idxByName;let l;for(l in a)u[l]||s.del.push(l);for(l in u){const c=a[l],f=u[l];c?c.src!==f.src&&s.change.push(f):s.add.push(f)}(s.del.length>0||s.add.length>0||s.change.length>0)&&n.change.push(s)}}else n.add.push([r,o])}return n}function $y(e,t,n,r){const i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(o=>tw(i,o)),i}function tw(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function nw(e,t,n){const r={};return Pg(t.objectStoreNames,0).forEach(i=>{const o=n.objectStore(i);let s=o.keyPath;const a=J1(B6(s),s||"",!1,!1,!!o.autoIncrement,s&&typeof s!="string",!0),u=[];for(let c=0;c<o.indexNames.length;++c){const f=o.index(o.indexNames[c]);s=f.keyPath;var l=J1(f.name,s,!!f.unique,!!f.multiEntry,!1,s&&typeof s!="string",!1);u.push(l)}r[i]=j6(i,a,u)}),r}function rw({_novip:e},t,n){const r=n.db.objectStoreNames;for(let i=0;i<r.length;++i){const o=r[i],s=n.objectStore(o);e._hasGetAll="getAll"in s;for(let a=0;a<s.indexNames.length;++a){const u=s.indexNames[a],l=s.index(u).keyPath,c=typeof l=="string"?l:"["+Pg(l).join("+")+"]";if(t[o]){const f=t[o].idxByName[c];f&&(f.name=u,delete t[o].idxByName[c],t[o].idxByName[u]=f)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&Vt.WorkerGlobalScope&&Vt instanceof Vt.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}class Wne{_parseStoresSpec(t,n){dn(t).forEach(r=>{if(t[r]!==null){var i=t[r].split(",").map((s,a)=>{const u=(s=s.trim()).replace(/([&*]|\+\+)/g,""),l=/^\[/.test(u)?u.match(/^\[(.*)\]$/)[1].split("+"):u;return J1(u,l||null,/\&/.test(s),/\*/.test(s),/\+\+/.test(s),Kn(l),a===0)}),o=i.shift();if(o.multi)throw new ze.Schema("Primary key cannot be multi-valued");i.forEach(s=>{if(s.auto)throw new ze.Schema("Only primary key can be marked as autoIncrement (++)");if(!s.keyPath)throw new ze.Schema("Index must have a name and cannot be an empty string")}),n[r]=j6(r,o,i)}})}stores(t){const n=this.db;this._cfg.storesSource=this._cfg.storesSource?hr(this._cfg.storesSource,t):t;const r=n._versions,i={};let o={};return r.forEach(s=>{hr(i,s._cfg.storesSource),o=s._cfg.dbschema={},s._parseStoresSpec(i,o)}),n._dbSchema=o,ew(n,[n._allTables,n,n.Transaction.prototype]),Fg(n,[n._allTables,n,n.Transaction.prototype,this._cfg.tables],dn(o),o),n._storeNames=dn(o),this}upgrade(t){return this._cfg.contentUpgrade=HS(this._cfg.contentUpgrade||Dt,t),this}}function WS(e,t){let n=e._dbNamesDB;return n||(n=e._dbNamesDB=new Fl(ev,{addons:[],indexedDB:e,IDBKeyRange:t}),n.version(1).stores({dbnames:"name"})),n.table("dbnames")}function GS(e){return e&&typeof e.databases=="function"}function iw(e){return oa(function(){return Fe.letThrough=!0,e()})}function Gne(){var e;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(t){var n=function(){return indexedDB.databases().finally(t)};e=setInterval(n,100),n()}).finally(function(){return clearInterval(e)}):Promise.resolve()}function Kne(e){const t=e._state,{indexedDB:n}=e._deps;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then(()=>t.dbOpenError?wn(t.dbOpenError):e);ho&&(t.openCanceller._stackHolder=Mu()),t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;const r=t.openCanceller;function i(){if(t.openCanceller!==r)throw new ze.DatabaseClosed("db.open() was cancelled")}let o=t.dbReadyResolve,s=null,a=!1;const u=()=>new xe((l,c)=>{if(i(),!n)throw new ze.MissingAPI;const f=e.name,d=t.autoSchema?n.open(f):n.open(f,Math.round(10*e.verno));if(!d)throw new ze.MissingAPI;d.onerror=Bi(c),d.onblocked=Gt(e._fireOnBlocked),d.onupgradeneeded=Gt(h=>{if(s=d.transaction,t.autoSchema&&!e._options.allowEmptyDB){d.onerror=Id,s.abort(),d.result.close();const m=n.deleteDatabase(f);m.onsuccess=m.onerror=Gt(()=>{c(new ze.NoSuchDatabase(`Database ${f} doesnt exist`))})}else{s.onerror=Bi(c);var p=h.oldVersion>Math.pow(2,62)?0:h.oldVersion;a=p<1,e._novip.idbdb=d.result,Vne(e,p/10,s,c)}},c),d.onsuccess=Gt(()=>{s=null;const h=e._novip.idbdb=d.result,p=Pg(h.objectStoreNames);if(p.length>0)try{const g=h.transaction((m=p).length===1?m[0]:m,"readonly");t.autoSchema?function({_novip:v},y,b){v.verno=y.version/10;const w=v._dbSchema=nw(0,y,b);v._storeNames=Pg(y.objectStoreNames,0),Fg(v,[v._allTables],dn(w),w)}(e,h,g):(rw(e,e._dbSchema,g),function(v,y){const b=H6(nw(0,v.idbdb,y),v._dbSchema);return!(b.add.length||b.change.some(w=>w.add.length||w.change.length))}(e,g)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),Z1(e,g)}catch{}var m;Hf.push(e),h.onversionchange=Gt(g=>{t.vcFired=!0,e.on("versionchange").fire(g)}),h.onclose=Gt(g=>{e.on("close").fire(g)}),a&&function({indexedDB:g,IDBKeyRange:v},y){!GS(g)&&y!==ev&&WS(g,v).put({name:y}).catch(Dt)}(e._deps,f),l()},c)}).catch(l=>l&&l.name==="UnknownError"&&t.PR1398_maxLoop>0?(t.PR1398_maxLoop--,console.warn("Dexie: Workaround for Chrome UnknownError on open()"),u()):xe.reject(l));return xe.race([r,(typeof navigator>"u"?xe.resolve():Gne()).then(u)]).then(()=>(i(),t.onReadyBeingFired=[],xe.resolve(iw(()=>e.on.ready.fire(e.vip))).then(function l(){if(t.onReadyBeingFired.length>0){let c=t.onReadyBeingFired.reduce(HS,Dt);return t.onReadyBeingFired=[],xe.resolve(iw(()=>c(e.vip))).then(l)}}))).finally(()=>{t.onReadyBeingFired=null,t.isBeingOpened=!1}).then(()=>e).catch(l=>{t.dbOpenError=l;try{s&&s.abort()}catch{}return r===t.openCanceller&&e._close(),wn(l)}).finally(()=>{t.openComplete=!0,o()})}function ow(e){var t=o=>e.next(o),n=i(t),r=i(o=>e.throw(o));function i(o){return s=>{var a=o(s),u=a.value;return a.done?u:u&&typeof u.then=="function"?u.then(n,r):Kn(u)?Promise.all(u).then(n,r):n(u)}}return i(t)()}function qne(e,t,n){var r=arguments.length;if(r<2)throw new ze.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];return n=i.pop(),[e,b6(i),n]}function U6(e,t,n,r,i){return xe.resolve().then(()=>{const o=Fe.transless||Fe,s=e._createTransaction(t,n,e._dbSchema,r),a={trans:s,transless:o};if(r)s.idbtrans=r.idbtrans;else try{s.create(),e._state.PR1398_maxLoop=3}catch(f){return f.name===jS.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e._close(),e.open().then(()=>U6(e,t,n,null,i))):wn(f)}const u=FS(i);let l;u&&Nc();const c=xe.follow(()=>{if(l=i.call(s,s),l)if(u){var f=Zo.bind(null,null);l.then(f,f)}else typeof l.next=="function"&&typeof l.throw=="function"&&(l=ow(l))},a);return(l&&typeof l.then=="function"?xe.resolve(l).then(f=>s.active?f:wn(new ze.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))):c.then(()=>l)).then(f=>(r&&s._resolve(),s._completion.then(()=>f))).catch(f=>(s._reject(f),wn(f)))})}function Tp(e,t,n){const r=Kn(e)?e.slice():[e];for(let i=0;i<n;++i)r.push(t);return r}const Yne={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:function(e){return{...e,table(t){const n=e.table(t),{schema:r}=n,i={},o=[];function s(c,f,d){const h=zf(c),p=i[h]=i[h]||[],m=c==null?0:typeof c=="string"?1:c.length,g=f>0,v={...d,isVirtual:g,keyTail:f,keyLength:m,extractKey:Q1(c),unique:!g&&d.unique};return p.push(v),v.isPrimaryKey||o.push(v),m>1&&s(m===2?c[0]:c.slice(0,m-1),f+1,d),p.sort((y,b)=>y.keyTail-b.keyTail),v}const a=s(r.primaryKey.keyPath,0,r.primaryKey);i[":id"]=[a];for(const c of r.indexes)s(c.keyPath,0,c);function u(c){const f=c.query.index;return f.isVirtual?{...c,query:{index:f,range:(d=c.query.range,h=f.keyTail,{type:d.type===1?2:d.type,lower:Tp(d.lower,d.lowerOpen?e.MAX_KEY:e.MIN_KEY,h),lowerOpen:!0,upper:Tp(d.upper,d.upperOpen?e.MIN_KEY:e.MAX_KEY,h),upperOpen:!0})}}:c;var d,h}return{...n,schema:{...r,primaryKey:a,indexes:o,getIndexByKeyPath:function(c){const f=i[zf(c)];return f&&f[0]}},count:c=>n.count(u(c)),query:c=>n.query(u(c)),openCursor(c){const{keyTail:f,isVirtual:d,keyLength:h}=c.query.index;return d?n.openCursor(u(c)).then(p=>p&&function(m){return Object.create(m,{continue:{value:function(v){v!=null?m.continue(Tp(v,c.reverse?e.MAX_KEY:e.MIN_KEY,f)):c.unique?m.continue(m.key.slice(0,h).concat(c.reverse?e.MIN_KEY:e.MAX_KEY,f)):m.continue()}},continuePrimaryKey:{value(v,y){m.continuePrimaryKey(Tp(v,e.MAX_KEY,f),y)}},primaryKey:{get:()=>m.primaryKey},key:{get(){const v=m.key;return h===1?v[0]:v.slice(0,h)}},value:{get:()=>m.value}})}(p)):n.openCursor(c)}}}}}};function KS(e,t,n,r){return n=n||{},r=r||"",dn(e).forEach(i=>{if(zr(t,i)){var o=e[i],s=t[i];if(typeof o=="object"&&typeof s=="object"&&o&&s){const a=F1(o);a!==F1(s)?n[r+i]=t[i]:a==="Object"?KS(o,s,n,r+i+"."):o!==s&&(n[r+i]=t[i])}else o!==s&&(n[r+i]=t[i])}else n[r+i]=void 0}),dn(t).forEach(i=>{zr(e,i)||(n[r+i]=t[i])}),n}const Xne={stack:"dbcore",name:"HooksMiddleware",level:2,create:e=>({...e,table(t){const n=e.table(t),{primaryKey:r}=n.schema;return{...n,mutate(o){const s=Fe.trans,{deleting:a,creating:u,updating:l}=s.table(t).hook;switch(o.type){case"add":if(u.fire===Dt)break;return s._promise("readwrite",()=>c(o),!0);case"put":if(u.fire===Dt&&l.fire===Dt)break;return s._promise("readwrite",()=>c(o),!0);case"delete":if(a.fire===Dt)break;return s._promise("readwrite",()=>c(o),!0);case"deleteRange":if(a.fire===Dt)break;return s._promise("readwrite",()=>function(d){return f(d.trans,d.range,1e4)}(o),!0)}return n.mutate(o);function c(d){const h=Fe.trans,p=d.keys||function(m,g){return g.type==="delete"?g.keys:g.keys||g.values.map(m.extractKey)}(r,d);if(!p)throw new Error("Keys missing");return(d=d.type==="add"||d.type==="put"?{...d,keys:p}:{...d}).type!=="delete"&&(d.values=[...d.values]),d.keys&&(d.keys=[...d.keys]),function(m,g,v){return g.type==="add"?Promise.resolve([]):m.getMany({trans:g.trans,keys:v,cache:"immutable"})}(n,d,p).then(m=>{const g=p.map((v,y)=>{const b=m[y],w={onerror:null,onsuccess:null};if(d.type==="delete")a.fire.call(w,v,b,h);else if(d.type==="add"||b===void 0){const S=u.fire.call(w,v,d.values[y],h);v==null&&S!=null&&(v=S,d.keys[y]=v,r.outbound||xi(d.values[y],r.keyPath,v))}else{const S=KS(b,d.values[y]),E=l.fire.call(w,S,v,b,h);if(E){const _=d.values[y];Object.keys(E).forEach(C=>{zr(_,C)?_[C]=E[C]:xi(_,C,E[C])})}}return w});return n.mutate(d).then(({failures:v,results:y,numFailures:b,lastResult:w})=>{for(let S=0;S<p.length;++S){const E=y?y[S]:p[S],_=g[S];E==null?_.onerror&&_.onerror(v[S]):_.onsuccess&&_.onsuccess(d.type==="put"&&m[S]?d.values[S]:E)}return{failures:v,results:y,numFailures:b,lastResult:w}}).catch(v=>(g.forEach(y=>y.onerror&&y.onerror(v)),Promise.reject(v)))})}function f(d,h,p){return n.query({trans:d,values:!1,query:{index:r,range:h},limit:p}).then(({result:m})=>c({type:"delete",keys:m,trans:d}).then(g=>g.numFailures>0?Promise.reject(g.failures[0]):m.length<p?{failures:[],numFailures:0,lastResult:void 0}:f(d,{...h,lower:m[m.length-1],lowerOpen:!0},p)))}}}}})};function z6(e,t,n){try{if(!t||t.keys.length<e.length)return null;const r=[];for(let i=0,o=0;i<t.keys.length&&o<e.length;++i)cr(t.keys[i],e[o])===0&&(r.push(n?yh(t.values[i]):t.values[i]),++o);return r.length===e.length?r:null}catch{return null}}const Jne={stack:"dbcore",level:-1,create:e=>({table:t=>{const n=e.table(t);return{...n,getMany:r=>{if(!r.cache)return n.getMany(r);const i=z6(r.keys,r.trans._cache,r.cache==="clone");return i?xe.resolve(i):n.getMany(r).then(o=>(r.trans._cache={keys:r.keys,values:r.cache==="clone"?yh(o):o},o))},mutate:r=>(r.type!=="add"&&(r.trans._cache=null),n.mutate(r))}}})};function qS(e){return!("from"in e)}const Ro=function(e,t){if(!this){const n=new Ro;return e&&"d"in e&&hr(n,e),n}hr(this,arguments.length?{d:1,from:e,to:arguments.length>1?t:e}:{d:0})};function kd(e,t,n){const r=cr(t,n);if(isNaN(r))return;if(r>0)throw RangeError();if(qS(e))return hr(e,{from:t,to:n,d:1});const i=e.l,o=e.r;if(cr(n,e.from)<0)return i?kd(i,t,n):e.l={from:t,to:n,d:1,l:null,r:null},pI(e);if(cr(t,e.to)>0)return o?kd(o,t,n):e.r={from:t,to:n,d:1,l:null,r:null},pI(e);cr(t,e.from)<0&&(e.from=t,e.l=null,e.d=o?o.d+1:1),cr(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);const s=!e.r;i&&!e.l&&Bg(e,i),o&&s&&Bg(e,o)}function Bg(e,t){qS(t)||function n(r,{from:i,to:o,l:s,r:a}){kd(r,i,o),s&&n(r,s),a&&n(r,a)}(e,t)}function Qne(e,t){const n=sw(t);let r=n.next();if(r.done)return!1;let i=r.value;const o=sw(e);let s=o.next(i.from),a=s.value;for(;!r.done&&!s.done;){if(cr(a.from,i.to)<=0&&cr(a.to,i.from)>=0)return!0;cr(i.from,a.from)<0?i=(r=n.next(a.from)).value:a=(s=o.next(i.from)).value}return!1}function sw(e){let t=qS(e)?null:{s:0,n:e};return{next(n){const r=arguments.length>0;for(;t;)switch(t.s){case 0:if(t.s=1,r)for(;t.n.l&&cr(n,t.n.from)<0;)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!r||cr(n,t.n.to)<=0)return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function pI(e){var t,n;const r=(((t=e.r)===null||t===void 0?void 0:t.d)||0)-(((n=e.l)===null||n===void 0?void 0:n.d)||0),i=r>1?"r":r<-1?"l":"";if(i){const o=i==="r"?"l":"r",s={...e},a=e[i];e.from=a.from,e.to=a.to,e[i]=a[i],s[i]=a[o],e[o]=s,s.d=mI(s)}e.d=mI(e)}function mI({r:e,l:t}){return(e?t?Math.max(e.d,t.d):e.d:t?t.d:0)+1}ac(Ro.prototype,{add(e){return Bg(this,e),this},addKey(e){return kd(this,e,e),this},addKeys(e){return e.forEach(t=>kd(this,t,t)),this},[B1](){return sw(this)}});const Zne={stack:"dbcore",level:0,create:e=>{const t=e.schema.name,n=new Ro(e.MIN_KEY,e.MAX_KEY);return{...e,table:r=>{const i=e.table(r),{schema:o}=i,{primaryKey:s}=o,{extractKey:a,outbound:u}=s,l={...i,mutate:d=>{const h=d.trans,p=h.mutatedParts||(h.mutatedParts={}),m=E=>{const _=`idb://${t}/${r}/${E}`;return p[_]||(p[_]=new Ro)},g=m(""),v=m(":dels"),{type:y}=d;let[b,w]=d.type==="deleteRange"?[d.range]:d.type==="delete"?[d.keys]:d.values.length<50?[[],d.values]:[];const S=d.trans._cache;return i.mutate(d).then(E=>{if(Kn(b)){y!=="delete"&&(b=E.results),g.addKeys(b);const _=z6(b,S);_||y==="add"||v.addKeys(b),(_||w)&&function(C,O,T,x){function I(A){const D=C(A.name||"");function R(P){return P!=null?A.extractKey(P):null}const k=P=>A.multiEntry&&Kn(P)?P.forEach(N=>D.addKey(N)):D.addKey(P);(T||x).forEach((P,N)=>{const $=T&&R(T[N]),F=x&&R(x[N]);cr($,F)!==0&&($!=null&&k($),F!=null&&k(F))})}O.indexes.forEach(I)}(m,o,_,w)}else if(b){const _={from:b.lower,to:b.upper};v.add(_),g.add(_)}else g.add(n),v.add(n),o.indexes.forEach(_=>m(_.name).add(n));return E})}},c=({query:{index:d,range:h}})=>{var p,m;return[d,new Ro((p=h.lower)!==null&&p!==void 0?p:e.MIN_KEY,(m=h.upper)!==null&&m!==void 0?m:e.MAX_KEY)]},f={get:d=>[s,new Ro(d.key)],getMany:d=>[s,new Ro().addKeys(d.keys)],count:c,query:c,openCursor:c};return dn(f).forEach(d=>{l[d]=function(h){const{subscr:p}=Fe;if(p){const m=w=>{const S=`idb://${t}/${r}/${w}`;return p[S]||(p[S]=new Ro)},g=m(""),v=m(":dels"),[y,b]=f[d](h);if(m(y.name||"").add(b),!y.isPrimaryKey){if(d!=="count"){const w=d==="query"&&u&&h.values&&i.query({...h,values:!1});return i[d].apply(this,arguments).then(S=>{if(d==="query"){if(u&&h.values)return w.then(({result:_})=>(g.addKeys(_),S));const E=h.values?S.result.map(a):S.result;h.values?g.addKeys(E):v.addKeys(E)}else if(d==="openCursor"){const E=S,_=h.values;return E&&Object.create(E,{key:{get:()=>(v.addKey(E.primaryKey),E.key)},primaryKey:{get(){const C=E.primaryKey;return v.addKey(C),C}},value:{get:()=>(_&&g.addKey(E.primaryKey),E.value)}})}return S})}v.add(n)}}return i[d].apply(this,arguments)}}),l}}}};class Fl{constructor(t,n){this._middlewares={},this.verno=0;const r=Fl.dependencies;this._options=n={addons:Fl.addons,autoOpen:!0,indexedDB:r.indexedDB,IDBKeyRange:r.IDBKeyRange,...n},this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};const{addons:i}=n;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;const o={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Dt,dbReadyPromise:null,cancelOpen:Dt,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};var s;o.dbReadyPromise=new xe(a=>{o.dbReadyResolve=a}),o.openCanceller=new xe((a,u)=>{o.cancelOpen=u}),this._state=o,this.name=t,this.on=Uf(this,"populate","blocked","versionchange","close",{ready:[HS,Dt]}),this.on.ready.subscribe=m6(this.on.ready.subscribe,a=>(u,l)=>{Fl.vip(()=>{const c=this._state;if(c.openComplete)c.dbOpenError||xe.resolve().then(u),l&&a(u);else if(c.onReadyBeingFired)c.onReadyBeingFired.push(u),l&&a(u);else{a(u);const f=this;l||a(function d(){f.on.ready.unsubscribe(u),f.on.ready.unsubscribe(d)})}})}),this.Collection=(s=this,ef(Lne.prototype,function(a,u){this.db=s;let l=L6,c=null;if(u)try{l=u()}catch(p){c=p}const f=a._ctx,d=f.table,h=d.hook.reading.fire;this._ctx={table:d,index:f.index,isPrimKey:!f.index||d.schema.primKey.keyPath&&f.index===d.schema.primKey.name,range:l,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:c,or:f.or,valueMapper:h!==_d?h:null}})),this.Table=function(a){return ef(Mne.prototype,function(u,l,c){this.db=a,this._tx=c,this.name=u,this.schema=l,this.hook=a._allTables[u]?a._allTables[u].hook:Uf(null,{creating:[xne,Dt],reading:[Sne,_d],updating:[_ne,Dt],deleting:[Tne,Dt]})})}(this),this.Transaction=function(a){return ef(jne.prototype,function(u,l,c,f,d){this.db=a,this.mode=u,this.storeNames=l,this.schema=c,this.chromeTransactionDurability=f,this.idbtrans=null,this.on=Uf(this,"complete","error","abort"),this.parent=d||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new xe((h,p)=>{this._resolve=h,this._reject=p}),this._completion.then(()=>{this.active=!1,this.on.complete.fire()},h=>{var p=this.active;return this.active=!1,this.on.error.fire(h),this.parent?this.parent._reject(h):p&&this.idbtrans&&this.idbtrans.abort(),wn(h)})})}(this),this.Version=function(a){return ef(Wne.prototype,function(u){this.db=a,this._cfg={version:u,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}(this),this.WhereClause=function(a){return ef(F6.prototype,function(u,l,c){this.db=a,this._ctx={table:u,index:l===":id"?null:l,or:c};const f=a._deps.indexedDB;if(!f)throw new ze.MissingAPI;this._cmp=this._ascending=f.cmp.bind(f),this._descending=(d,h)=>f.cmp(h,d),this._max=(d,h)=>f.cmp(d,h)>0?d:h,this._min=(d,h)=>f.cmp(d,h)<0?d:h,this._IDBKeyRange=a._deps.IDBKeyRange})}(this),this.on("versionchange",a=>{a.newVersion>0?console.warn(`Another connection wants to upgrade database '${this.name}'. Closing db now to resume the upgrade.`):console.warn(`Another connection wants to delete database '${this.name}'. Closing db now to resume the delete request.`),this.close()}),this.on("blocked",a=>{!a.newVersion||a.newVersion<a.oldVersion?console.warn(`Dexie.delete('${this.name}') was blocked`):console.warn(`Upgrade '${this.name}' blocked by other connection holding version ${a.oldVersion/10}`)}),this._maxKey=Ad(n.IDBKeyRange),this._createTransaction=(a,u,l,c)=>new this.Transaction(a,u,l,this._options.chromeTransactionDurability,c),this._fireOnBlocked=a=>{this.on("blocked").fire(a),Hf.filter(u=>u.name===this.name&&u!==this&&!u._state.vcFired).map(u=>u.on("versionchange").fire(a))},this.use(Yne),this.use(Xne),this.use(Zne),this.use(Jne),this.vip=Object.create(this,{_vip:{value:!0}}),i.forEach(a=>a(this))}version(t){if(isNaN(t)||t<.1)throw new ze.Type("Given version is not a positive number");if(t=Math.round(10*t)/10,this.idbdb||this._state.isBeingOpened)throw new ze.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);const n=this._versions;var r=n.filter(i=>i._cfg.version===t)[0];return r||(r=new this.Version(t),n.push(r),n.sort(zne),r.stores({}),this._state.autoSchema=!1,r)}_whenReady(t){return this.idbdb&&(this._state.openComplete||Fe.letThrough||this._vip)?t():new xe((n,r)=>{if(this._state.openComplete)return r(new ze.DatabaseClosed(this._state.dbOpenError));if(!this._state.isBeingOpened){if(!this._options.autoOpen)return void r(new ze.DatabaseClosed);this.open().catch(Dt)}this._state.dbReadyPromise.then(n,r)}).then(t)}use({stack:t,create:n,level:r,name:i}){i&&this.unuse({stack:t,name:i});const o=this._middlewares[t]||(this._middlewares[t]=[]);return o.push({stack:t,create:n,level:r??10,name:i}),o.sort((s,a)=>s.level-a.level),this}unuse({stack:t,name:n,create:r}){return t&&this._middlewares[t]&&(this._middlewares[t]=this._middlewares[t].filter(i=>r?i.create!==r:!!n&&i.name!==n)),this}open(){return Kne(this)}_close(){const t=this._state,n=Hf.indexOf(this);if(n>=0&&Hf.splice(n,1),this.idbdb){try{this.idbdb.close()}catch{}this._novip.idbdb=null}t.dbReadyPromise=new xe(r=>{t.dbReadyResolve=r}),t.openCanceller=new xe((r,i)=>{t.cancelOpen=i})}close(){this._close();const t=this._state;this._options.autoOpen=!1,t.dbOpenError=new ze.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError)}delete(){const t=arguments.length>0,n=this._state;return new xe((r,i)=>{const o=()=>{this.close();var s=this._deps.indexedDB.deleteDatabase(this.name);s.onsuccess=Gt(()=>{(function({indexedDB:a,IDBKeyRange:u},l){!GS(a)&&l!==ev&&WS(a,u).delete(l).catch(Dt)})(this._deps,this.name),r()}),s.onerror=Bi(i),s.onblocked=this._fireOnBlocked};if(t)throw new ze.InvalidArgument("Arguments not allowed in db.delete()");n.isBeingOpened?n.dbReadyPromise.then(o):o()})}backendDB(){return this.idbdb}isOpen(){return this.idbdb!==null}hasBeenClosed(){const t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"}hasFailed(){return this._state.dbOpenError!==null}dynamicallyOpened(){return this._state.autoSchema}get tables(){return dn(this._allTables).map(t=>this._allTables[t])}transaction(){const t=qne.apply(this,arguments);return this._transaction.apply(this,t)}_transaction(t,n,r){let i=Fe.trans;i&&i.db===this&&t.indexOf("!")===-1||(i=null);const o=t.indexOf("?")!==-1;let s,a;t=t.replace("!","").replace("?","");try{if(a=n.map(l=>{var c=l instanceof this.Table?l.name:l;if(typeof c!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return c}),t=="r"||t===Py)s=Py;else{if(t!="rw"&&t!=Dy)throw new ze.InvalidArgument("Invalid transaction mode: "+t);s=Dy}if(i){if(i.mode===Py&&s===Dy){if(!o)throw new ze.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i=null}i&&a.forEach(l=>{if(i&&i.storeNames.indexOf(l)===-1){if(!o)throw new ze.SubTransaction("Table "+l+" not included in parent transaction.");i=null}}),o&&i&&!i.active&&(i=null)}}catch(l){return i?i._promise(null,(c,f)=>{f(l)}):wn(l)}const u=U6.bind(null,this,s,a,i,r);return i?i._promise(s,u,"lock"):Fe.trans?Mc(Fe.transless,()=>this._whenReady(u)):this._whenReady(u)}table(t){if(!zr(this._allTables,t))throw new ze.InvalidTable(`Table ${t} does not exist`);return this._allTables[t]}}const ere=typeof Symbol<"u"&&"observable"in Symbol?Symbol.observable:"@@observable";class tre{constructor(t){this._subscribe=t}subscribe(t,n,r){return this._subscribe(t&&typeof t!="function"?t:{next:t,error:n,complete:r})}[ere](){return this}}function V6(e,t){return dn(t).forEach(n=>{Bg(e[n]||(e[n]=new Ro),t[n])}),e}function nre(e){let t,n=!1;const r=new tre(i=>{const o=FS(e);let s=!1,a={},u={};const l={get closed(){return s},unsubscribe:()=>{s=!0,aa.storagemutated.unsubscribe(h)}};i.start&&i.start(l);let c=!1,f=!1;function d(){return dn(u).some(m=>a[m]&&Qne(a[m],u[m]))}const h=m=>{V6(a,m),d()&&p()},p=()=>{if(c||s)return;a={};const m={},g=function(v){o&&Nc();const y=()=>oa(e,{subscr:v,trans:null}),b=Fe.trans?Mc(Fe.transless,y):y();return o&&b.then(Zo,Zo),b}(m);f||(aa(Cd,h),f=!0),c=!0,Promise.resolve(g).then(v=>{n=!0,t=v,c=!1,s||(d()?p():(a={},u=m,i.next&&i.next(v)))},v=>{c=!1,n=!1,i.error&&i.error(v),l.unsubscribe()})};return p(),l});return r.hasValue=()=>n,r.getValue=()=>t,r}let aw;try{aw={indexedDB:Vt.indexedDB||Vt.mozIndexedDB||Vt.webkitIndexedDB||Vt.msIndexedDB,IDBKeyRange:Vt.IDBKeyRange||Vt.webkitIDBKeyRange}}catch{aw={indexedDB:null,IDBKeyRange:null}}const Ca=Fl;function wm(e){let t=Mo;try{Mo=!0,aa.storagemutated.fire(e)}finally{Mo=t}}ac(Ca,{...pm,delete:e=>new Ca(e,{addons:[]}).delete(),exists:e=>new Ca(e,{addons:[]}).open().then(t=>(t.close(),!0)).catch("NoSuchDatabaseError",()=>!1),getDatabaseNames(e){try{return function({indexedDB:t,IDBKeyRange:n}){return GS(t)?Promise.resolve(t.databases()).then(r=>r.map(i=>i.name).filter(i=>i!==ev)):WS(t,n).toCollection().primaryKeys()}(Ca.dependencies).then(e)}catch{return wn(new ze.MissingAPI)}},defineClass:()=>function(e){hr(this,e)},ignoreTransaction:e=>Fe.trans?Mc(Fe.transless,e):e(),vip:iw,async:function(e){return function(){try{var t=ow(e.apply(this,arguments));return t&&typeof t.then=="function"?t:xe.resolve(t)}catch(n){return wn(n)}}},spawn:function(e,t,n){try{var r=ow(e.apply(n,t||[]));return r&&typeof r.then=="function"?r:xe.resolve(r)}catch(i){return wn(i)}},currentTransaction:{get:()=>Fe.trans||null},waitFor:function(e,t){const n=xe.resolve(typeof e=="function"?Ca.ignoreTransaction(e):e).timeout(t||6e4);return Fe.trans?Fe.trans.waitFor(n):n},Promise:xe,debug:{get:()=>ho,set:e=>{E6(e,e==="dexie"?()=>!0:M6)}},derive:Ml,extend:hr,props:ac,override:m6,Events:Uf,on:aa,liveQuery:nre,extendObservabilitySet:V6,getByKeyPath:zo,setByKeyPath:xi,delByKeyPath:function(e,t){typeof t=="string"?xi(e,t,void 0):"length"in t&&[].map.call(t,function(n){xi(e,n,void 0)})},shallowClone:y6,deepClone:yh,getObjectDiff:KS,cmp:cr,asap:g6,minKey:X1,addons:[],connections:Hf,errnames:jS,dependencies:aw,semVer:uI,version:uI.split(".").map(e=>parseInt(e)).reduce((e,t,n)=>e+t/Math.pow(10,2*n))}),Ca.maxKey=Ad(Ca.dependencies.IDBKeyRange),typeof dispatchEvent<"u"&&typeof addEventListener<"u"&&(aa(Cd,e=>{if(!Mo){let t;Z0?(t=document.createEvent("CustomEvent"),t.initCustomEvent(Ls,!0,!0,e)):t=new CustomEvent(Ls,{detail:e}),Mo=!0,dispatchEvent(t),Mo=!1}}),addEventListener(Ls,({detail:e})=>{Mo||wm(e)}));let Mo=!1;if(typeof BroadcastChannel<"u"){const e=new BroadcastChannel(Ls);typeof e.unref=="function"&&e.unref(),aa(Cd,t=>{Mo||e.postMessage(t)}),e.onmessage=t=>{t.data&&wm(t.data)}}else if(typeof self<"u"&&typeof navigator<"u"){aa(Cd,t=>{try{Mo||(typeof localStorage<"u"&&localStorage.setItem(Ls,JSON.stringify({trig:Math.random(),changedParts:t})),typeof self.clients=="object"&&[...self.clients.matchAll({includeUncontrolled:!0})].forEach(n=>n.postMessage({type:Ls,changedParts:t})))}catch{}}),typeof addEventListener<"u"&&addEventListener("storage",t=>{if(t.key===Ls){const n=JSON.parse(t.newValue);n&&wm(n.changedParts)}});const e=self.document&&navigator.serviceWorker;e&&e.addEventListener("message",function({data:t}){t&&t.type===Ls&&wm(t.changedParts)})}xe.rejectionMapper=function(e,t){if(!e||e instanceof Ll||e instanceof TypeError||e instanceof SyntaxError||!e.name||!iI[e.name])return e;var n=new iI[e.name](t||e.message,e);return"stack"in e&&Uo(n,"stack",{get:function(){return this.inner.stack}}),n},E6(ho,M6);var Fy=/iPhone/i,gI=/iPod/i,vI=/iPad/i,yI=/\biOS-universal(?:.+)Mac\b/i,By=/\bAndroid(?:.+)Mobile\b/i,bI=/Android/i,Qu=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,_p=/Silk/i,bo=/Windows Phone/i,wI=/\bWindows(?:.+)ARM\b/i,EI=/BlackBerry/i,SI=/BB10/i,xI=/Opera Mini/i,TI=/\b(CriOS|Chrome)(?:.+)Mobile/i,_I=/Mobile(?:.+)Firefox\b/i,OI=function(e){return typeof e<"u"&&e.platform==="MacIntel"&&typeof e.maxTouchPoints=="number"&&e.maxTouchPoints>1&&typeof MSStream>"u"};function rre(e){return function(t){return t.test(e)}}function Ufe(e){var t={userAgent:"",platform:"",maxTouchPoints:0};typeof navigator<"u"&&(t={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0});var n=t.userAgent,r=n.split("[FBAN");typeof r[1]<"u"&&(n=r[0]),r=n.split("Twitter"),typeof r[1]<"u"&&(n=r[0]);var i=rre(n),o={apple:{phone:i(Fy)&&!i(bo),ipod:i(gI),tablet:!i(Fy)&&(i(vI)||OI(t))&&!i(bo),universal:i(yI),device:(i(Fy)||i(gI)||i(vI)||i(yI)||OI(t))&&!i(bo)},amazon:{phone:i(Qu),tablet:!i(Qu)&&i(_p),device:i(Qu)||i(_p)},android:{phone:!i(bo)&&i(Qu)||!i(bo)&&i(By),tablet:!i(bo)&&!i(Qu)&&!i(By)&&(i(_p)||i(bI)),device:!i(bo)&&(i(Qu)||i(_p)||i(By)||i(bI))||i(/\bokhttp\b/i)},windows:{phone:i(bo),tablet:i(wI),device:i(bo)||i(wI)},other:{blackberry:i(EI),blackberry10:i(SI),opera:i(xI),firefox:i(_I),chrome:i(TI),device:i(EI)||i(SI)||i(xI)||i(_I)||i(TI)},any:!1,phone:!1,tablet:!1};return o.any=o.apple.device||o.android.device||o.windows.device||o.other.device,o.phone=o.apple.phone||o.android.phone||o.windows.phone,o.tablet=o.apple.tablet||o.android.tablet||o.windows.tablet,o}var W6={},Rd={},YS={},Pd={},XS={};Object.defineProperty(XS,"__esModule",{value:!0});XS.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}));var JS={};Object.defineProperty(JS,"__esModule",{value:!0});JS.default=new Uint16Array("Ȁaglq	\x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}));var uw={};(function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(o){var s="";return o>65535&&(o-=65536,s+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),s+=String.fromCharCode(o),s};function r(o){var s;return o>=55296&&o<=57343||o>1114111?65533:(s=n.get(o))!==null&&s!==void 0?s:o}e.replaceCodePoint=r;function i(o){return(0,e.fromCodePoint)(r(o))}e.default=i})(uw);(function(e){var t=Oe&&Oe.__createBinding||(Object.create?function(x,I,A,D){D===void 0&&(D=A);var R=Object.getOwnPropertyDescriptor(I,A);(!R||("get"in R?!I.__esModule:R.writable||R.configurable))&&(R={enumerable:!0,get:function(){return I[A]}}),Object.defineProperty(x,D,R)}:function(x,I,A,D){D===void 0&&(D=A),x[D]=I[A]}),n=Oe&&Oe.__setModuleDefault||(Object.create?function(x,I){Object.defineProperty(x,"default",{enumerable:!0,value:I})}:function(x,I){x.default=I}),r=Oe&&Oe.__importStar||function(x){if(x&&x.__esModule)return x;var I={};if(x!=null)for(var A in x)A!=="default"&&Object.prototype.hasOwnProperty.call(x,A)&&t(I,x,A);return n(I,x),I},i=Oe&&Oe.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var o=i(XS);e.htmlDecodeTree=o.default;var s=i(JS);e.xmlDecodeTree=s.default;var a=r(uw);e.decodeCodePoint=a.default;var u=uw;Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var l;(function(x){x[x.NUM=35]="NUM",x[x.SEMI=59]="SEMI",x[x.EQUALS=61]="EQUALS",x[x.ZERO=48]="ZERO",x[x.NINE=57]="NINE",x[x.LOWER_A=97]="LOWER_A",x[x.LOWER_F=102]="LOWER_F",x[x.LOWER_X=120]="LOWER_X",x[x.LOWER_Z=122]="LOWER_Z",x[x.UPPER_A=65]="UPPER_A",x[x.UPPER_F=70]="UPPER_F",x[x.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var c=32,f;(function(x){x[x.VALUE_LENGTH=49152]="VALUE_LENGTH",x[x.BRANCH_LENGTH=16256]="BRANCH_LENGTH",x[x.JUMP_TABLE=127]="JUMP_TABLE"})(f=e.BinTrieFlags||(e.BinTrieFlags={}));function d(x){return x>=l.ZERO&&x<=l.NINE}function h(x){return x>=l.UPPER_A&&x<=l.UPPER_F||x>=l.LOWER_A&&x<=l.LOWER_F}function p(x){return x>=l.UPPER_A&&x<=l.UPPER_Z||x>=l.LOWER_A&&x<=l.LOWER_Z||d(x)}function m(x){return x===l.EQUALS||p(x)}var g;(function(x){x[x.EntityStart=0]="EntityStart",x[x.NumericStart=1]="NumericStart",x[x.NumericDecimal=2]="NumericDecimal",x[x.NumericHex=3]="NumericHex",x[x.NamedEntity=4]="NamedEntity"})(g||(g={}));var v;(function(x){x[x.Legacy=0]="Legacy",x[x.Strict=1]="Strict",x[x.Attribute=2]="Attribute"})(v=e.DecodingMode||(e.DecodingMode={}));var y=function(){function x(I,A,D){this.decodeTree=I,this.emitCodePoint=A,this.errors=D,this.state=g.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=v.Strict}return x.prototype.startEntity=function(I){this.decodeMode=I,this.state=g.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},x.prototype.write=function(I,A){switch(this.state){case g.EntityStart:return I.charCodeAt(A)===l.NUM?(this.state=g.NumericStart,this.consumed+=1,this.stateNumericStart(I,A+1)):(this.state=g.NamedEntity,this.stateNamedEntity(I,A));case g.NumericStart:return this.stateNumericStart(I,A);case g.NumericDecimal:return this.stateNumericDecimal(I,A);case g.NumericHex:return this.stateNumericHex(I,A);case g.NamedEntity:return this.stateNamedEntity(I,A)}},x.prototype.stateNumericStart=function(I,A){return A>=I.length?-1:(I.charCodeAt(A)|c)===l.LOWER_X?(this.state=g.NumericHex,this.consumed+=1,this.stateNumericHex(I,A+1)):(this.state=g.NumericDecimal,this.stateNumericDecimal(I,A))},x.prototype.addToNumericResult=function(I,A,D,R){if(A!==D){var k=D-A;this.result=this.result*Math.pow(R,k)+parseInt(I.substr(A,k),R),this.consumed+=k}},x.prototype.stateNumericHex=function(I,A){for(var D=A;A<I.length;){var R=I.charCodeAt(A);if(d(R)||h(R))A+=1;else return this.addToNumericResult(I,D,A,16),this.emitNumericEntity(R,3)}return this.addToNumericResult(I,D,A,16),-1},x.prototype.stateNumericDecimal=function(I,A){for(var D=A;A<I.length;){var R=I.charCodeAt(A);if(d(R))A+=1;else return this.addToNumericResult(I,D,A,10),this.emitNumericEntity(R,2)}return this.addToNumericResult(I,D,A,10),-1},x.prototype.emitNumericEntity=function(I,A){var D;if(this.consumed<=A)return(D=this.errors)===null||D===void 0||D.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(I===l.SEMI)this.consumed+=1;else if(this.decodeMode===v.Strict)return 0;return this.emitCodePoint((0,a.replaceCodePoint)(this.result),this.consumed),this.errors&&(I!==l.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},x.prototype.stateNamedEntity=function(I,A){for(var D=this.decodeTree,R=D[this.treeIndex],k=(R&f.VALUE_LENGTH)>>14;A<I.length;A++,this.excess++){var P=I.charCodeAt(A);if(this.treeIndex=w(D,R,this.treeIndex+Math.max(1,k),P),this.treeIndex<0)return this.result===0||this.decodeMode===v.Attribute&&(k===0||m(P))?0:this.emitNotTerminatedNamedEntity();if(R=D[this.treeIndex],k=(R&f.VALUE_LENGTH)>>14,k!==0){if(P===l.SEMI)return this.emitNamedEntityData(this.treeIndex,k,this.consumed+this.excess);this.decodeMode!==v.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},x.prototype.emitNotTerminatedNamedEntity=function(){var I,A=this,D=A.result,R=A.decodeTree,k=(R[D]&f.VALUE_LENGTH)>>14;return this.emitNamedEntityData(D,k,this.consumed),(I=this.errors)===null||I===void 0||I.missingSemicolonAfterCharacterReference(),this.consumed},x.prototype.emitNamedEntityData=function(I,A,D){var R=this.decodeTree;return this.emitCodePoint(A===1?R[I]&~f.VALUE_LENGTH:R[I+1],D),A===3&&this.emitCodePoint(R[I+2],D),D},x.prototype.end=function(){var I;switch(this.state){case g.NamedEntity:return this.result!==0&&(this.decodeMode!==v.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case g.NumericDecimal:return this.emitNumericEntity(0,2);case g.NumericHex:return this.emitNumericEntity(0,3);case g.NumericStart:return(I=this.errors)===null||I===void 0||I.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case g.EntityStart:return 0}},x}();e.EntityDecoder=y;function b(x){var I="",A=new y(x,function(D){return I+=(0,a.fromCodePoint)(D)});return function(R,k){for(var P=0,N=0;(N=R.indexOf("&",N))>=0;){I+=R.slice(P,N),A.startEntity(k);var $=A.write(R,N+1);if($<0){P=N+A.end();break}P=N+$,N=$===0?P+1:P}var F=I+R.slice(P);return I="",F}}function w(x,I,A,D){var R=(I&f.BRANCH_LENGTH)>>7,k=I&f.JUMP_TABLE;if(R===0)return k!==0&&D===k?A:-1;if(k){var P=D-k;return P<0||P>=R?-1:x[A+P]-1}for(var N=A,$=N+R-1;N<=$;){var F=N+$>>>1,V=x[F];if(V<D)N=F+1;else if(V>D)$=F-1;else return x[F+R]}return-1}e.determineBranch=w;var S=b(o.default),E=b(s.default);function _(x,I){return I===void 0&&(I=v.Legacy),S(x,I)}e.decodeHTML=_;function C(x){return S(x,v.Attribute)}e.decodeHTMLAttribute=C;function O(x){return S(x,v.Strict)}e.decodeHTMLStrict=O;function T(x){return E(x,v.Strict)}e.decodeXML=T})(Pd);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Pd,n;(function(d){d[d.Tab=9]="Tab",d[d.NewLine=10]="NewLine",d[d.FormFeed=12]="FormFeed",d[d.CarriageReturn=13]="CarriageReturn",d[d.Space=32]="Space",d[d.ExclamationMark=33]="ExclamationMark",d[d.Number=35]="Number",d[d.Amp=38]="Amp",d[d.SingleQuote=39]="SingleQuote",d[d.DoubleQuote=34]="DoubleQuote",d[d.Dash=45]="Dash",d[d.Slash=47]="Slash",d[d.Zero=48]="Zero",d[d.Nine=57]="Nine",d[d.Semi=59]="Semi",d[d.Lt=60]="Lt",d[d.Eq=61]="Eq",d[d.Gt=62]="Gt",d[d.Questionmark=63]="Questionmark",d[d.UpperA=65]="UpperA",d[d.LowerA=97]="LowerA",d[d.UpperF=70]="UpperF",d[d.LowerF=102]="LowerF",d[d.UpperZ=90]="UpperZ",d[d.LowerZ=122]="LowerZ",d[d.LowerX=120]="LowerX",d[d.OpeningSquareBracket=91]="OpeningSquareBracket"})(n||(n={}));var r;(function(d){d[d.Text=1]="Text",d[d.BeforeTagName=2]="BeforeTagName",d[d.InTagName=3]="InTagName",d[d.InSelfClosingTag=4]="InSelfClosingTag",d[d.BeforeClosingTagName=5]="BeforeClosingTagName",d[d.InClosingTagName=6]="InClosingTagName",d[d.AfterClosingTagName=7]="AfterClosingTagName",d[d.BeforeAttributeName=8]="BeforeAttributeName",d[d.InAttributeName=9]="InAttributeName",d[d.AfterAttributeName=10]="AfterAttributeName",d[d.BeforeAttributeValue=11]="BeforeAttributeValue",d[d.InAttributeValueDq=12]="InAttributeValueDq",d[d.InAttributeValueSq=13]="InAttributeValueSq",d[d.InAttributeValueNq=14]="InAttributeValueNq",d[d.BeforeDeclaration=15]="BeforeDeclaration",d[d.InDeclaration=16]="InDeclaration",d[d.InProcessingInstruction=17]="InProcessingInstruction",d[d.BeforeComment=18]="BeforeComment",d[d.CDATASequence=19]="CDATASequence",d[d.InSpecialComment=20]="InSpecialComment",d[d.InCommentLike=21]="InCommentLike",d[d.BeforeSpecialS=22]="BeforeSpecialS",d[d.SpecialStartSequence=23]="SpecialStartSequence",d[d.InSpecialTag=24]="InSpecialTag",d[d.BeforeEntity=25]="BeforeEntity",d[d.BeforeNumericEntity=26]="BeforeNumericEntity",d[d.InNamedEntity=27]="InNamedEntity",d[d.InNumericEntity=28]="InNumericEntity",d[d.InHexEntity=29]="InHexEntity"})(r||(r={}));function i(d){return d===n.Space||d===n.NewLine||d===n.Tab||d===n.FormFeed||d===n.CarriageReturn}function o(d){return d===n.Slash||d===n.Gt||i(d)}function s(d){return d>=n.Zero&&d<=n.Nine}function a(d){return d>=n.LowerA&&d<=n.LowerZ||d>=n.UpperA&&d<=n.UpperZ}function u(d){return d>=n.UpperA&&d<=n.UpperF||d>=n.LowerA&&d<=n.LowerF}var l;(function(d){d[d.NoValue=0]="NoValue",d[d.Unquoted=1]="Unquoted",d[d.Single=2]="Single",d[d.Double=3]="Double"})(l=e.QuoteType||(e.QuoteType={}));var c={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},f=function(){function d(h,p){var m=h.xmlMode,g=m===void 0?!1:m,v=h.decodeEntities,y=v===void 0?!0:v;this.cbs=p,this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=g,this.decodeEntities=y,this.entityTrie=g?t.xmlDecodeTree:t.htmlDecodeTree}return d.prototype.reset=function(){this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},d.prototype.write=function(h){this.offset+=this.buffer.length,this.buffer=h,this.parse()},d.prototype.end=function(){this.running&&this.finish()},d.prototype.pause=function(){this.running=!1},d.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},d.prototype.getIndex=function(){return this.index},d.prototype.getSectionStart=function(){return this.sectionStart},d.prototype.stateText=function(h){h===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&h===n.Amp&&(this.state=r.BeforeEntity)},d.prototype.stateSpecialStartSequence=function(h){var p=this.sequenceIndex===this.currentSequence.length,m=p?o(h):(h|32)===this.currentSequence[this.sequenceIndex];if(!m)this.isSpecial=!1;else if(!p){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(h)},d.prototype.stateInSpecialTag=function(h){if(this.sequenceIndex===this.currentSequence.length){if(h===n.Gt||i(h)){var p=this.index-this.currentSequence.length;if(this.sectionStart<p){var m=this.index;this.index=p,this.cbs.ontext(this.sectionStart,p),this.index=m}this.isSpecial=!1,this.sectionStart=p+2,this.stateInClosingTagName(h);return}this.sequenceIndex=0}(h|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===c.TitleEnd?this.decodeEntities&&h===n.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(h===n.Lt)},d.prototype.stateCDATASequence=function(h){h===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(h))},d.prototype.fastForwardTo=function(h){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===h)return!0;return this.index=this.buffer.length+this.offset-1,!1},d.prototype.stateInCommentLike=function(h){h===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):h!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},d.prototype.isTagStartChar=function(h){return this.xmlMode?!o(h):a(h)},d.prototype.startSpecial=function(h,p){this.isSpecial=!0,this.currentSequence=h,this.sequenceIndex=p,this.state=r.SpecialStartSequence},d.prototype.stateBeforeTagName=function(h){if(h===n.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(h===n.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(h)){var p=h|32;this.sectionStart=this.index,!this.xmlMode&&p===c.TitleEnd[2]?this.startSpecial(c.TitleEnd,3):this.state=!this.xmlMode&&p===c.ScriptEnd[2]?r.BeforeSpecialS:r.InTagName}else h===n.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(h))},d.prototype.stateInTagName=function(h){o(h)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h))},d.prototype.stateBeforeClosingTagName=function(h){i(h)||(h===n.Gt?this.state=r.Text:(this.state=this.isTagStartChar(h)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},d.prototype.stateInClosingTagName=function(h){(h===n.Gt||i(h))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(h))},d.prototype.stateAfterClosingTagName=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1)},d.prototype.stateBeforeAttributeName=function(h){h===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):h===n.Slash?this.state=r.InSelfClosingTag:i(h)||(this.state=r.InAttributeName,this.sectionStart=this.index)},d.prototype.stateInSelfClosingTag=function(h){h===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(h)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h))},d.prototype.stateInAttributeName=function(h){(h===n.Eq||o(h))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(h))},d.prototype.stateAfterAttributeName=function(h){h===n.Eq?this.state=r.BeforeAttributeValue:h===n.Slash||h===n.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h)):i(h)||(this.cbs.onattribend(l.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},d.prototype.stateBeforeAttributeValue=function(h){h===n.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):h===n.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):i(h)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(h))},d.prototype.handleInAttributeValue=function(h,p){h===p||!this.decodeEntities&&this.fastForwardTo(p)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(p===n.DoubleQuote?l.Double:l.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&h===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},d.prototype.stateInAttributeValueDoubleQuotes=function(h){this.handleInAttributeValue(h,n.DoubleQuote)},d.prototype.stateInAttributeValueSingleQuotes=function(h){this.handleInAttributeValue(h,n.SingleQuote)},d.prototype.stateInAttributeValueNoQuotes=function(h){i(h)||h===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(h)):this.decodeEntities&&h===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},d.prototype.stateBeforeDeclaration=function(h){h===n.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=h===n.Dash?r.BeforeComment:r.InDeclaration},d.prototype.stateInDeclaration=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},d.prototype.stateInProcessingInstruction=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},d.prototype.stateBeforeComment=function(h){h===n.Dash?(this.state=r.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},d.prototype.stateInSpecialComment=function(h){(h===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},d.prototype.stateBeforeSpecialS=function(h){var p=h|32;p===c.ScriptEnd[3]?this.startSpecial(c.ScriptEnd,4):p===c.StyleEnd[3]?this.startSpecial(c.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(h))},d.prototype.stateBeforeEntity=function(h){this.entityExcess=1,this.entityResult=0,h===n.Number?this.state=r.BeforeNumericEntity:h===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(h))},d.prototype.stateInNamedEntity=function(h){if(this.entityExcess+=1,this.trieIndex=(0,t.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,h),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var p=this.trieCurrent&t.BinTrieFlags.VALUE_LENGTH;if(p){var m=(p>>14)-1;if(!this.allowLegacyEntity()&&h!==n.Semi)this.trieIndex+=m;else{var g=this.index-this.entityExcess+1;g>this.sectionStart&&this.emitPartial(this.sectionStart,g),this.entityResult=this.trieIndex,this.trieIndex+=m,this.entityExcess=0,this.sectionStart=this.index+1,m===0&&this.emitNamedEntity()}}},d.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var h=(this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14;switch(h){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},d.prototype.stateBeforeNumericEntity=function(h){(h|32)===n.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(h))},d.prototype.emitNumericEntity=function(h){var p=this.index-this.entityExcess-1,m=p+2+ +(this.state===r.InHexEntity);m!==this.index&&(p>this.sectionStart&&this.emitPartial(this.sectionStart,p),this.sectionStart=this.index+Number(h),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},d.prototype.stateInNumericEntity=function(h){h===n.Semi?this.emitNumericEntity(!0):s(h)?(this.entityResult=this.entityResult*10+(h-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},d.prototype.stateInHexEntity=function(h){h===n.Semi?this.emitNumericEntity(!0):s(h)?(this.entityResult=this.entityResult*16+(h-n.Zero),this.entityExcess++):u(h)?(this.entityResult=this.entityResult*16+((h|32)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},d.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},d.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},d.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},d.prototype.parse=function(){for(;this.shouldContinue();){var h=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case r.Text:{this.stateText(h);break}case r.SpecialStartSequence:{this.stateSpecialStartSequence(h);break}case r.InSpecialTag:{this.stateInSpecialTag(h);break}case r.CDATASequence:{this.stateCDATASequence(h);break}case r.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(h);break}case r.InAttributeName:{this.stateInAttributeName(h);break}case r.InCommentLike:{this.stateInCommentLike(h);break}case r.InSpecialComment:{this.stateInSpecialComment(h);break}case r.BeforeAttributeName:{this.stateBeforeAttributeName(h);break}case r.InTagName:{this.stateInTagName(h);break}case r.InClosingTagName:{this.stateInClosingTagName(h);break}case r.BeforeTagName:{this.stateBeforeTagName(h);break}case r.AfterAttributeName:{this.stateAfterAttributeName(h);break}case r.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(h);break}case r.BeforeAttributeValue:{this.stateBeforeAttributeValue(h);break}case r.BeforeClosingTagName:{this.stateBeforeClosingTagName(h);break}case r.AfterClosingTagName:{this.stateAfterClosingTagName(h);break}case r.BeforeSpecialS:{this.stateBeforeSpecialS(h);break}case r.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(h);break}case r.InSelfClosingTag:{this.stateInSelfClosingTag(h);break}case r.InDeclaration:{this.stateInDeclaration(h);break}case r.BeforeDeclaration:{this.stateBeforeDeclaration(h);break}case r.BeforeComment:{this.stateBeforeComment(h);break}case r.InProcessingInstruction:{this.stateInProcessingInstruction(h);break}case r.InNamedEntity:{this.stateInNamedEntity(h);break}case r.BeforeEntity:{this.stateBeforeEntity(h);break}case r.InHexEntity:{this.stateInHexEntity(h);break}case r.InNumericEntity:{this.stateInNumericEntity(h);break}default:this.stateBeforeNumericEntity(h)}this.index++}this.cleanup()},d.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},d.prototype.handleTrailingData=function(){var h=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,h,0):this.cbs.oncomment(this.sectionStart,h,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,h)},d.prototype.emitPartial=function(h,p){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(h,p):this.cbs.ontext(h,p)},d.prototype.emitCodePoint=function(h){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(h):this.cbs.ontextentity(h)},d}();e.default=f})(YS);var ire=Oe&&Oe.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),ore=Oe&&Oe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),sre=Oe&&Oe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&ire(t,e,n);return ore(t,e),t};Object.defineProperty(Rd,"__esModule",{value:!0});Rd.Parser=void 0;var Op=sre(YS),II=Pd,Zu=new Set(["input","option","optgroup","select","button","datalist","textarea"]),Ct=new Set(["p"]),CI=new Set(["thead","tbody"]),AI=new Set(["dd","dt"]),kI=new Set(["rt","rp"]),are=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",Ct],["h1",Ct],["h2",Ct],["h3",Ct],["h4",Ct],["h5",Ct],["h6",Ct],["select",Zu],["input",Zu],["output",Zu],["button",Zu],["datalist",Zu],["textarea",Zu],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",AI],["dt",AI],["address",Ct],["article",Ct],["aside",Ct],["blockquote",Ct],["details",Ct],["div",Ct],["dl",Ct],["fieldset",Ct],["figcaption",Ct],["figure",Ct],["footer",Ct],["form",Ct],["header",Ct],["hr",Ct],["main",Ct],["nav",Ct],["ol",Ct],["pre",Ct],["section",Ct],["table",Ct],["ul",Ct],["rt",kI],["rp",kI],["tbody",CI],["tfoot",CI]]),ure=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),RI=new Set(["math","svg"]),PI=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),lre=/\s|\//,cre=function(){function e(t,n){n===void 0&&(n={});var r,i,o,s,a;this.options=n,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(r=n.lowerCaseTags)!==null&&r!==void 0?r:!n.xmlMode,this.lowerCaseAttributeNames=(i=n.lowerCaseAttributeNames)!==null&&i!==void 0?i:!n.xmlMode,this.tokenizer=new((o=n.Tokenizer)!==null&&o!==void 0?o:Op.default)(this.options,this),(a=(s=this.cbs).onparserinit)===null||a===void 0||a.call(s,this)}return e.prototype.ontext=function(t,n){var r,i,o=this.getSlice(t,n);this.endIndex=n-1,(i=(r=this.cbs).ontext)===null||i===void 0||i.call(r,o),this.startIndex=n},e.prototype.ontextentity=function(t){var n,r,i=this.tokenizer.getSectionStart();this.endIndex=i-1,(r=(n=this.cbs).ontext)===null||r===void 0||r.call(n,(0,II.fromCodePoint)(t)),this.startIndex=i},e.prototype.isVoidElement=function(t){return!this.options.xmlMode&&ure.has(t)},e.prototype.onopentagname=function(t,n){this.endIndex=n;var r=this.getSlice(t,n);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},e.prototype.emitOpenTag=function(t){var n,r,i,o;this.openTagStart=this.startIndex,this.tagname=t;var s=!this.options.xmlMode&&are.get(t);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();(r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,a,!0)}this.isVoidElement(t)||(this.stack.push(t),RI.has(t)?this.foreignContext.push(!0):PI.has(t)&&this.foreignContext.push(!1)),(o=(i=this.cbs).onopentagname)===null||o===void 0||o.call(i,t),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(t){var n,r;this.startIndex=this.openTagStart,this.attribs&&((r=(n=this.cbs).onopentag)===null||r===void 0||r.call(n,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1},e.prototype.onclosetag=function(t,n){var r,i,o,s,a,u;this.endIndex=n;var l=this.getSlice(t,n);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(RI.has(l)||PI.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((i=(r=this.cbs).onopentagname)===null||i===void 0||i.call(r,"br"),(s=(o=this.cbs).onopentag)===null||s===void 0||s.call(o,"br",{},!0),(u=(a=this.cbs).onclosetag)===null||u===void 0||u.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(c!==-1)if(this.cbs.onclosetag)for(var f=this.stack.length-c;f--;)this.cbs.onclosetag(this.stack.pop(),f!==0);else this.stack.length=c;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=n+1},e.prototype.onselfclosingtag=function(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)},e.prototype.closeCurrentTag=function(t){var n,r,i=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===i&&((r=(n=this.cbs).onclosetag)===null||r===void 0||r.call(n,i,!t),this.stack.pop())},e.prototype.onattribname=function(t,n){this.startIndex=t;var r=this.getSlice(t,n);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},e.prototype.onattribdata=function(t,n){this.attribvalue+=this.getSlice(t,n)},e.prototype.onattribentity=function(t){this.attribvalue+=(0,II.fromCodePoint)(t)},e.prototype.onattribend=function(t,n){var r,i;this.endIndex=n,(i=(r=this.cbs).onattribute)===null||i===void 0||i.call(r,this.attribname,this.attribvalue,t===Op.QuoteType.Double?'"':t===Op.QuoteType.Single?"'":t===Op.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(t){var n=t.search(lre),r=n<0?t:t.substr(0,n);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},e.prototype.ondeclaration=function(t,n){this.endIndex=n;var r=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(i),"!".concat(r))}this.startIndex=n+1},e.prototype.onprocessinginstruction=function(t,n){this.endIndex=n;var r=this.getSlice(t,n);if(this.cbs.onprocessinginstruction){var i=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(i),"?".concat(r))}this.startIndex=n+1},e.prototype.oncomment=function(t,n,r){var i,o,s,a;this.endIndex=n,(o=(i=this.cbs).oncomment)===null||o===void 0||o.call(i,this.getSlice(t,n-r)),(a=(s=this.cbs).oncommentend)===null||a===void 0||a.call(s),this.startIndex=n+1},e.prototype.oncdata=function(t,n,r){var i,o,s,a,u,l,c,f,d,h;this.endIndex=n;var p=this.getSlice(t,n-r);this.options.xmlMode||this.options.recognizeCDATA?((o=(i=this.cbs).oncdatastart)===null||o===void 0||o.call(i),(a=(s=this.cbs).ontext)===null||a===void 0||a.call(s,p),(l=(u=this.cbs).oncdataend)===null||l===void 0||l.call(u)):((f=(c=this.cbs).oncomment)===null||f===void 0||f.call(c,"[CDATA[".concat(p,"]]")),(h=(d=this.cbs).oncommentend)===null||h===void 0||h.call(d)),this.startIndex=n+1},e.prototype.onend=function(){var t,n;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}(n=(t=this.cbs).onend)===null||n===void 0||n.call(t)},e.prototype.reset=function(){var t,n,r,i;(n=(t=this.cbs).onreset)===null||n===void 0||n.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(i=(r=this.cbs).onparserinit)===null||i===void 0||i.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(t){this.reset(),this.end(t)},e.prototype.getSlice=function(t,n){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(t-this.bufferOffset,n-this.bufferOffset);n-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,n-this.bufferOffset);return r},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(t){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)},e.prototype.end=function(t){var n,r;if(this.ended){(r=(n=this.cbs).onerror)===null||r===void 0||r.call(n,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(t){this.write(t)},e.prototype.done=function(t){this.end(t)},e}();Rd.Parser=cre;var es={},Lc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function n(r){return r.type===t.Tag||r.type===t.Script||r.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Lc);var at={},ba=Oe&&Oe.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vf=Oe&&Oe.__assign||function(){return Vf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Vf.apply(this,arguments)};Object.defineProperty(at,"__esModule",{value:!0});at.cloneNode=at.hasChildren=at.isDocument=at.isDirective=at.isComment=at.isText=at.isCDATA=at.isTag=at.Element=at.Document=at.CDATA=at.NodeWithChildren=at.ProcessingInstruction=at.Comment=at.Text=at.DataNode=at.Node=void 0;var Or=Lc,QS=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),ZS(this,t)},e}();at.Node=QS;var tv=function(e){ba(t,e);function t(n){var r=e.call(this)||this;return r.data=n,r}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(n){this.data=n},enumerable:!1,configurable:!0}),t}(QS);at.DataNode=tv;var G6=function(e){ba(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=Or.ElementType.Text,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(tv);at.Text=G6;var K6=function(e){ba(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=Or.ElementType.Comment,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(tv);at.Comment=K6;var q6=function(e){ba(t,e);function t(n,r){var i=e.call(this,r)||this;return i.name=n,i.type=Or.ElementType.Directive,i}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(tv);at.ProcessingInstruction=q6;var nv=function(e){ba(t,e);function t(n){var r=e.call(this)||this;return r.children=n,r}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var n;return(n=this.children[0])!==null&&n!==void 0?n:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(n){this.children=n},enumerable:!1,configurable:!0}),t}(QS);at.NodeWithChildren=nv;var Y6=function(e){ba(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=Or.ElementType.CDATA,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(nv);at.CDATA=Y6;var X6=function(e){ba(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=Or.ElementType.Root,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(nv);at.Document=X6;var J6=function(e){ba(t,e);function t(n,r,i,o){i===void 0&&(i=[]),o===void 0&&(o=n==="script"?Or.ElementType.Script:n==="style"?Or.ElementType.Style:Or.ElementType.Tag);var s=e.call(this,i)||this;return s.name=n,s.attribs=r,s.type=o,s}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(n){this.name=n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var n=this;return Object.keys(this.attribs).map(function(r){var i,o;return{name:r,value:n.attribs[r],namespace:(i=n["x-attribsNamespace"])===null||i===void 0?void 0:i[r],prefix:(o=n["x-attribsPrefix"])===null||o===void 0?void 0:o[r]}})},enumerable:!1,configurable:!0}),t}(nv);at.Element=J6;function Q6(e){return(0,Or.isTag)(e)}at.isTag=Q6;function Z6(e){return e.type===Or.ElementType.CDATA}at.isCDATA=Z6;function eN(e){return e.type===Or.ElementType.Text}at.isText=eN;function tN(e){return e.type===Or.ElementType.Comment}at.isComment=tN;function nN(e){return e.type===Or.ElementType.Directive}at.isDirective=nN;function rN(e){return e.type===Or.ElementType.Root}at.isDocument=rN;function fre(e){return Object.prototype.hasOwnProperty.call(e,"children")}at.hasChildren=fre;function ZS(e,t){t===void 0&&(t=!1);var n;if(eN(e))n=new G6(e.data);else if(tN(e))n=new K6(e.data);else if(Q6(e)){var r=t?jy(e.children):[],i=new J6(e.name,Vf({},e.attribs),r);r.forEach(function(u){return u.parent=i}),e.namespace!=null&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=Vf({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=Vf({},e["x-attribsPrefix"])),n=i}else if(Z6(e)){var r=t?jy(e.children):[],o=new Y6(r);r.forEach(function(l){return l.parent=o}),n=o}else if(rN(e)){var r=t?jy(e.children):[],s=new X6(r);r.forEach(function(l){return l.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(nN(e)){var a=new q6(e.name,e.data);e["x-name"]!=null&&(a["x-name"]=e["x-name"],a["x-publicId"]=e["x-publicId"],a["x-systemId"]=e["x-systemId"]),n=a}else throw new Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}at.cloneNode=ZS;function jy(e){for(var t=e.map(function(r){return ZS(r,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}(function(e){var t=Oe&&Oe.__createBinding||(Object.create?function(a,u,l,c){c===void 0&&(c=l);var f=Object.getOwnPropertyDescriptor(u,l);(!f||("get"in f?!u.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return u[l]}}),Object.defineProperty(a,c,f)}:function(a,u,l,c){c===void 0&&(c=l),a[c]=u[l]}),n=Oe&&Oe.__exportStar||function(a,u){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(u,l)&&t(u,a,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=Lc,i=at;n(at,e);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function a(u,l,c){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(c=l,l=o),typeof u=="object"&&(l=u,u=void 0),this.callback=u??null,this.options=l??o,this.elementCB=c??null}return a.prototype.onparserinit=function(u){this.parser=u},a.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},a.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},a.prototype.onerror=function(u){this.handleCallback(u)},a.prototype.onclosetag=function(){this.lastNode=null;var u=this.tagStack.pop();this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(u)},a.prototype.onopentag=function(u,l){var c=this.options.xmlMode?r.ElementType.Tag:void 0,f=new i.Element(u,l,void 0,c);this.addNode(f),this.tagStack.push(f)},a.prototype.ontext=function(u){var l=this.lastNode;if(l&&l.type===r.ElementType.Text)l.data+=u,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var c=new i.Text(u);this.addNode(c),this.lastNode=c}},a.prototype.oncomment=function(u){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=u;return}var l=new i.Comment(u);this.addNode(l),this.lastNode=l},a.prototype.oncommentend=function(){this.lastNode=null},a.prototype.oncdatastart=function(){var u=new i.Text(""),l=new i.CDATA([u]);this.addNode(l),u.parent=l,this.lastNode=u},a.prototype.oncdataend=function(){this.lastNode=null},a.prototype.onprocessinginstruction=function(u,l){var c=new i.ProcessingInstruction(u,l);this.addNode(c)},a.prototype.handleCallback=function(u){if(typeof this.callback=="function")this.callback(u,this.dom);else if(u)throw u},a.prototype.addNode=function(u){var l=this.tagStack[this.tagStack.length-1],c=l.children[l.children.length-1];this.options.withStartIndices&&(u.startIndex=this.parser.startIndex),this.options.withEndIndices&&(u.endIndex=this.parser.endIndex),l.children.push(u),c&&(u.prev=c,c.next=u),u.parent=l,this.lastNode=null},a}();e.DomHandler=s,e.default=s})(es);var Em={},$r={},Eh={},iN={},wu={},ex={};Object.defineProperty(ex,"__esModule",{value:!0});function Ip(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}ex.default=new Map(Ip([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(Ip([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(Ip([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(Ip([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var jg={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(i,o){return i.codePointAt(o)}:function(i,o){return(i.charCodeAt(o)&64512)===55296?(i.charCodeAt(o)-55296)*1024+i.charCodeAt(o+1)-56320+65536:i.charCodeAt(o)};function n(i){for(var o="",s=0,a;(a=e.xmlReplacer.exec(i))!==null;){var u=a.index,l=i.charCodeAt(u),c=t.get(l);c!==void 0?(o+=i.substring(s,u)+c,s=u+1):(o+="".concat(i.substring(s,u),"&#x").concat((0,e.getCodePoint)(i,u).toString(16),";"),s=e.xmlReplacer.lastIndex+=+((l&64512)===55296))}return o+i.substr(s)}e.encodeXML=n,e.escape=n;function r(i,o){return function(a){for(var u,l=0,c="";u=i.exec(a);)l!==u.index&&(c+=a.substring(l,u.index)),c+=o.get(u[0].charCodeAt(0)),l=u.index+1;return c+a.substring(l)}}e.escapeUTF8=r(/[&<>'"]/g,t),e.escapeAttribute=r(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),e.escapeText=r(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))})(jg);var dre=Oe&&Oe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wu,"__esModule",{value:!0});wu.encodeNonAsciiHTML=wu.encodeHTML=void 0;var hre=dre(ex),oN=jg,pre=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function mre(e){return sN(pre,e)}wu.encodeHTML=mre;function gre(e){return sN(oN.xmlReplacer,e)}wu.encodeNonAsciiHTML=gre;function sN(e,t){for(var n="",r=0,i;(i=e.exec(t))!==null;){var o=i.index;n+=t.substring(r,o);var s=t.charCodeAt(o),a=hre.default.get(s);if(typeof a=="object"){if(o+1<t.length){var u=t.charCodeAt(o+1),l=typeof a.n=="number"?a.n===u?a.o:void 0:a.n.get(u);if(l!==void 0){n+=l,r=e.lastIndex+=1;continue}}a=a.v}if(a!==void 0)n+=a,r=o+1;else{var c=(0,oN.getCodePoint)(t,o);n+="&#x".concat(c.toString(16),";"),r=e.lastIndex+=+(c!==s)}}return n+t.substr(r)}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLAttribute=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.DecodingMode=e.EntityDecoder=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.EntityLevel=void 0;var t=Pd,n=wu,r=jg,i;(function(d){d[d.XML=0]="XML",d[d.HTML=1]="HTML"})(i=e.EntityLevel||(e.EntityLevel={}));var o;(function(d){d[d.UTF8=0]="UTF8",d[d.ASCII=1]="ASCII",d[d.Extensive=2]="Extensive",d[d.Attribute=3]="Attribute",d[d.Text=4]="Text"})(o=e.EncodingMode||(e.EncodingMode={}));function s(d,h){h===void 0&&(h=i.XML);var p=typeof h=="number"?h:h.level;if(p===i.HTML){var m=typeof h=="object"?h.mode:void 0;return(0,t.decodeHTML)(d,m)}return(0,t.decodeXML)(d)}e.decode=s;function a(d,h){var p;h===void 0&&(h=i.XML);var m=typeof h=="number"?{level:h}:h;return(p=m.mode)!==null&&p!==void 0||(m.mode=t.DecodingMode.Strict),s(d,m)}e.decodeStrict=a;function u(d,h){h===void 0&&(h=i.XML);var p=typeof h=="number"?{level:h}:h;return p.mode===o.UTF8?(0,r.escapeUTF8)(d):p.mode===o.Attribute?(0,r.escapeAttribute)(d):p.mode===o.Text?(0,r.escapeText)(d):p.level===i.HTML?p.mode===o.ASCII?(0,n.encodeNonAsciiHTML)(d):(0,n.encodeHTML)(d):(0,r.encodeXML)(d)}e.encode=u;var l=jg;Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var c=wu;Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var f=Pd;Object.defineProperty(e,"EntityDecoder",{enumerable:!0,get:function(){return f.EntityDecoder}}),Object.defineProperty(e,"DecodingMode",{enumerable:!0,get:function(){return f.DecodingMode}}),Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return f.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTMLAttribute",{enumerable:!0,get:function(){return f.decodeHTMLAttribute}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return f.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return f.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return f.decodeXML}})})(iN);var uc={};Object.defineProperty(uc,"__esModule",{value:!0});uc.attributeNames=uc.elementNames=void 0;uc.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]}));uc.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}));var El=Oe&&Oe.__assign||function(){return El=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},El.apply(this,arguments)},vre=Oe&&Oe.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),yre=Oe&&Oe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),bre=Oe&&Oe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&vre(t,e,n);return yre(t,e),t};Object.defineProperty(Eh,"__esModule",{value:!0});Eh.render=void 0;var wo=bre(Lc),Hg=iN,aN=uc,wre=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Ere(e){return e.replace(/"/g,"&quot;")}function Sre(e,t){var n;if(e){var r=((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)===!1?Ere:t.xmlMode||t.encodeEntities!=="utf8"?Hg.encodeXML:Hg.escapeAttribute;return Object.keys(e).map(function(i){var o,s,a=(o=e[i])!==null&&o!==void 0?o:"";return t.xmlMode==="foreign"&&(i=(s=aN.attributeNames.get(i))!==null&&s!==void 0?s:i),!t.emptyAttrs&&!t.xmlMode&&a===""?i:"".concat(i,'="').concat(r(a),'"')}).join(" ")}}var DI=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function rv(e,t){t===void 0&&(t={});for(var n=("length"in e)?e:[e],r="",i=0;i<n.length;i++)r+=xre(n[i],t);return r}Eh.render=rv;Eh.default=rv;function xre(e,t){switch(e.type){case wo.Root:return rv(e.children,t);case wo.Doctype:case wo.Directive:return Ire(e);case wo.Comment:return kre(e);case wo.CDATA:return Are(e);case wo.Script:case wo.Style:case wo.Tag:return Ore(e,t);case wo.Text:return Cre(e,t)}}var Tre=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),_re=new Set(["svg","math"]);function Ore(e,t){var n;t.xmlMode==="foreign"&&(e.name=(n=aN.elementNames.get(e.name))!==null&&n!==void 0?n:e.name,e.parent&&Tre.has(e.parent.name)&&(t=El(El({},t),{xmlMode:!1}))),!t.xmlMode&&_re.has(e.name)&&(t=El(El({},t),{xmlMode:"foreign"}));var r="<".concat(e.name),i=Sre(e.attribs,t);return i&&(r+=" ".concat(i)),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&DI.has(e.name))?(t.xmlMode||(r+=" "),r+="/>"):(r+=">",e.children.length>0&&(r+=rv(e.children,t)),(t.xmlMode||!DI.has(e.name))&&(r+="</".concat(e.name,">"))),r}function Ire(e){return"<".concat(e.data,">")}function Cre(e,t){var n,r=e.data||"";return((n=t.encodeEntities)!==null&&n!==void 0?n:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&wre.has(e.parent.name))&&(r=t.xmlMode||t.encodeEntities!=="utf8"?(0,Hg.encodeXML)(r):(0,Hg.escapeText)(r)),r}function Are(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}function kre(e){return"<!--".concat(e.data,"-->")}var Rre=Oe&&Oe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($r,"__esModule",{value:!0});$r.innerText=$r.textContent=$r.getText=$r.getInnerHTML=$r.getOuterHTML=void 0;var Xi=es,Pre=Rre(Eh),Dre=Lc;function uN(e,t){return(0,Pre.default)(e,t)}$r.getOuterHTML=uN;function Nre(e,t){return(0,Xi.hasChildren)(e)?e.children.map(function(n){return uN(n,t)}).join(""):""}$r.getInnerHTML=Nre;function Sm(e){return Array.isArray(e)?e.map(Sm).join(""):(0,Xi.isTag)(e)?e.name==="br"?`
`:Sm(e.children):(0,Xi.isCDATA)(e)?Sm(e.children):(0,Xi.isText)(e)?e.data:""}$r.getText=Sm;function lw(e){return Array.isArray(e)?e.map(lw).join(""):(0,Xi.hasChildren)(e)&&!(0,Xi.isComment)(e)?lw(e.children):(0,Xi.isText)(e)?e.data:""}$r.textContent=lw;function cw(e){return Array.isArray(e)?e.map(cw).join(""):(0,Xi.hasChildren)(e)&&(e.type===Dre.ElementType.Tag||(0,Xi.isCDATA)(e))?cw(e.children):(0,Xi.isText)(e)?e.data:""}$r.innerText=cw;var Rn={};Object.defineProperty(Rn,"__esModule",{value:!0});Rn.prevElementSibling=Rn.nextElementSibling=Rn.getName=Rn.hasAttrib=Rn.getAttributeValue=Rn.getSiblings=Rn.getParent=Rn.getChildren=void 0;var tx=es;function lN(e){return(0,tx.hasChildren)(e)?e.children:[]}Rn.getChildren=lN;function cN(e){return e.parent||null}Rn.getParent=cN;function Mre(e){var t,n,r=cN(e);if(r!=null)return lN(r);for(var i=[e],o=e.prev,s=e.next;o!=null;)i.unshift(o),t=o,o=t.prev;for(;s!=null;)i.push(s),n=s,s=n.next;return i}Rn.getSiblings=Mre;function Lre(e,t){var n;return(n=e.attribs)===null||n===void 0?void 0:n[t]}Rn.getAttributeValue=Lre;function $re(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}Rn.hasAttrib=$re;function Fre(e){return e.name}Rn.getName=Fre;function Bre(e){for(var t,n=e.next;n!==null&&!(0,tx.isTag)(n);)t=n,n=t.next;return n}Rn.nextElementSibling=Bre;function jre(e){for(var t,n=e.prev;n!==null&&!(0,tx.isTag)(n);)t=n,n=t.prev;return n}Rn.prevElementSibling=jre;var Sr={};Object.defineProperty(Sr,"__esModule",{value:!0});Sr.prepend=Sr.prependChild=Sr.append=Sr.appendChild=Sr.replaceElement=Sr.removeElement=void 0;function Sh(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Sr.removeElement=Sh;function Hre(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}}Sr.replaceElement=Hre;function Ure(e,t){if(Sh(t),t.next=null,t.parent=e,e.children.push(t)>1){var n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}Sr.appendChild=Ure;function zre(e,t){Sh(t);var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}Sr.append=zre;function Vre(e,t){if(Sh(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){var n=e.children[1];n.prev=t,t.next=n}else t.next=null}Sr.prependChild=Vre;function Wre(e,t){Sh(t);var n=e.parent;if(n){var r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}Sr.prepend=Wre;var ur={};Object.defineProperty(ur,"__esModule",{value:!0});ur.findAll=ur.existsOne=ur.findOne=ur.findOneChild=ur.find=ur.filter=void 0;var Dd=es;function Gre(e,t,n,r){return n===void 0&&(n=!0),r===void 0&&(r=1/0),Array.isArray(t)||(t=[t]),nx(e,t,n,r)}ur.filter=Gre;function nx(e,t,n,r){for(var i=[],o=0,s=t;o<s.length;o++){var a=s[o];if(e(a)&&(i.push(a),--r<=0))break;if(n&&(0,Dd.hasChildren)(a)&&a.children.length>0){var u=nx(e,a.children,n,r);if(i.push.apply(i,u),r-=u.length,r<=0)break}}return i}ur.find=nx;function Kre(e,t){return t.find(e)}ur.findOneChild=Kre;function fN(e,t,n){n===void 0&&(n=!0);for(var r=null,i=0;i<t.length&&!r;i++){var o=t[i];if((0,Dd.isTag)(o))e(o)?r=o:n&&o.children.length>0&&(r=fN(e,o.children,!0));else continue}return r}ur.findOne=fN;function dN(e,t){return t.some(function(n){return(0,Dd.isTag)(n)&&(e(n)||n.children.length>0&&dN(e,n.children))})}ur.existsOne=dN;function qre(e,t){for(var n,r=[],i=t.filter(Dd.isTag),o;o=i.shift();){var s=(n=o.children)===null||n===void 0?void 0:n.filter(Dd.isTag);s&&s.length>0&&i.unshift.apply(i,s),e(o)&&r.push(o)}return r}ur.findAll=qre;var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});Fr.getElementsByTagType=Fr.getElementsByTagName=Fr.getElementById=Fr.getElements=Fr.testElement=void 0;var Fa=es,iv=ur,Ug={tag_name:function(e){return typeof e=="function"?function(t){return(0,Fa.isTag)(t)&&e(t.name)}:e==="*"?Fa.isTag:function(t){return(0,Fa.isTag)(t)&&t.name===e}},tag_type:function(e){return typeof e=="function"?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e=="function"?function(t){return(0,Fa.isText)(t)&&e(t.data)}:function(t){return(0,Fa.isText)(t)&&t.data===e}}};function hN(e,t){return typeof t=="function"?function(n){return(0,Fa.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,Fa.isTag)(n)&&n.attribs[e]===t}}function Yre(e,t){return function(n){return e(n)||t(n)}}function pN(e){var t=Object.keys(e).map(function(n){var r=e[n];return Object.prototype.hasOwnProperty.call(Ug,n)?Ug[n](r):hN(n,r)});return t.length===0?null:t.reduce(Yre)}function Xre(e,t){var n=pN(e);return n?n(t):!0}Fr.testElement=Xre;function Jre(e,t,n,r){r===void 0&&(r=1/0);var i=pN(e);return i?(0,iv.filter)(i,t,n,r):[]}Fr.getElements=Jre;function Qre(e,t,n){return n===void 0&&(n=!0),Array.isArray(t)||(t=[t]),(0,iv.findOne)(hN("id",e),t,n)}Fr.getElementById=Qre;function Zre(e,t,n,r){return n===void 0&&(n=!0),r===void 0&&(r=1/0),(0,iv.filter)(Ug.tag_name(e),t,n,r)}Fr.getElementsByTagName=Zre;function eie(e,t,n,r){return n===void 0&&(n=!0),r===void 0&&(r=1/0),(0,iv.filter)(Ug.tag_type(e),t,n,r)}Fr.getElementsByTagType=eie;var mN={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueSort=e.compareDocumentPosition=e.DocumentPosition=e.removeSubsets=void 0;var t=es;function n(s){for(var a=s.length;--a>=0;){var u=s[a];if(a>0&&s.lastIndexOf(u,a-1)>=0){s.splice(a,1);continue}for(var l=u.parent;l;l=l.parent)if(s.includes(l)){s.splice(a,1);break}}return s}e.removeSubsets=n;var r;(function(s){s[s.DISCONNECTED=1]="DISCONNECTED",s[s.PRECEDING=2]="PRECEDING",s[s.FOLLOWING=4]="FOLLOWING",s[s.CONTAINS=8]="CONTAINS",s[s.CONTAINED_BY=16]="CONTAINED_BY"})(r=e.DocumentPosition||(e.DocumentPosition={}));function i(s,a){var u=[],l=[];if(s===a)return 0;for(var c=(0,t.hasChildren)(s)?s:s.parent;c;)u.unshift(c),c=c.parent;for(c=(0,t.hasChildren)(a)?a:a.parent;c;)l.unshift(c),c=c.parent;for(var f=Math.min(u.length,l.length),d=0;d<f&&u[d]===l[d];)d++;if(d===0)return r.DISCONNECTED;var h=u[d-1],p=h.children,m=u[d],g=l[d];return p.indexOf(m)>p.indexOf(g)?h===a?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:h===s?r.PRECEDING|r.CONTAINS:r.PRECEDING}e.compareDocumentPosition=i;function o(s){return s=s.filter(function(a,u,l){return!l.includes(a,u+1)}),s.sort(function(a,u){var l=i(a,u);return l&r.PRECEDING?-1:l&r.FOLLOWING?1:0}),s}e.uniqueSort=o})(mN);var ov={};Object.defineProperty(ov,"__esModule",{value:!0});ov.getFeed=void 0;var tie=$r,xh=Fr;function nie(e){var t=zg(aie,e);return t?t.name==="feed"?rie(t):iie(t):null}ov.getFeed=nie;function rie(e){var t,n=e.children,r={type:"atom",items:(0,xh.getElementsByTagName)("entry",n).map(function(s){var a,u=s.children,l={media:gN(u)};br(l,"id","id",u),br(l,"title","title",u);var c=(a=zg("link",u))===null||a===void 0?void 0:a.attribs.href;c&&(l.link=c);var f=za("summary",u)||za("content",u);f&&(l.description=f);var d=za("updated",u);return d&&(l.pubDate=new Date(d)),l})};br(r,"id","id",n),br(r,"title","title",n);var i=(t=zg("link",n))===null||t===void 0?void 0:t.attribs.href;i&&(r.link=i),br(r,"description","subtitle",n);var o=za("updated",n);return o&&(r.updated=new Date(o)),br(r,"author","email",n,!0),r}function iie(e){var t,n,r=(n=(t=zg("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&n!==void 0?n:[],i={type:e.name.substr(0,3),id:"",items:(0,xh.getElementsByTagName)("item",e.children).map(function(s){var a=s.children,u={media:gN(a)};br(u,"id","guid",a),br(u,"title","title",a),br(u,"link","link",a),br(u,"description","description",a);var l=za("pubDate",a);return l&&(u.pubDate=new Date(l)),u})};br(i,"title","title",r),br(i,"link","link",r),br(i,"description","description",r);var o=za("lastBuildDate",r);return o&&(i.updated=new Date(o)),br(i,"author","managingEditor",r,!0),i}var oie=["url","type","lang"],sie=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function gN(e){return(0,xh.getElementsByTagName)("media:content",e).map(function(t){for(var n=t.attribs,r={medium:n.medium,isDefault:!!n.isDefault},i=0,o=oie;i<o.length;i++){var s=o[i];n[s]&&(r[s]=n[s])}for(var a=0,u=sie;a<u.length;a++){var s=u[a];n[s]&&(r[s]=parseInt(n[s],10))}return n.expression&&(r.expression=n.expression),r})}function zg(e,t){return(0,xh.getElementsByTagName)(e,t,!0,1)[0]}function za(e,t,n){return n===void 0&&(n=!1),(0,tie.textContent)((0,xh.getElementsByTagName)(e,t,n,1)).trim()}function br(e,t,n,r,i){i===void 0&&(i=!1);var o=za(n,r,i);o&&(e[t]=o)}function aie(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}(function(e){var t=Oe&&Oe.__createBinding||(Object.create?function(i,o,s,a){a===void 0&&(a=s);var u=Object.getOwnPropertyDescriptor(o,s);(!u||("get"in u?!o.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return o[s]}}),Object.defineProperty(i,a,u)}:function(i,o,s,a){a===void 0&&(a=s),i[a]=o[s]}),n=Oe&&Oe.__exportStar||function(i,o){for(var s in i)s!=="default"&&!Object.prototype.hasOwnProperty.call(o,s)&&t(o,i,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,n($r,e),n(Rn,e),n(Sr,e),n(ur,e),n(Fr,e),n(mN,e),n(ov,e);var r=es;Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return r.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return r.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return r.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return r.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return r.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return r.hasChildren}})})(Em);(function(e){var t=Oe&&Oe.__createBinding||(Object.create?function(v,y,b,w){w===void 0&&(w=b);var S=Object.getOwnPropertyDescriptor(y,b);(!S||("get"in S?!y.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return y[b]}}),Object.defineProperty(v,w,S)}:function(v,y,b,w){w===void 0&&(w=b),v[w]=y[b]}),n=Oe&&Oe.__setModuleDefault||(Object.create?function(v,y){Object.defineProperty(v,"default",{enumerable:!0,value:y})}:function(v,y){v.default=y}),r=Oe&&Oe.__importStar||function(v){if(v&&v.__esModule)return v;var y={};if(v!=null)for(var b in v)b!=="default"&&Object.prototype.hasOwnProperty.call(v,b)&&t(y,v,b);return n(y,v),y},i=Oe&&Oe.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var o=Rd,s=Rd;Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return s.Parser}});var a=es,u=es;Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}});function l(v,y){var b=new a.DomHandler(void 0,y);return new o.Parser(b,y).end(v),b.root}e.parseDocument=l;function c(v,y){return l(v,y).children}e.parseDOM=c;function f(v,y,b){var w=new a.DomHandler(v,y,b);return new o.Parser(w,y)}e.createDomStream=f;var d=YS;Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return i(d).default}}),e.ElementType=r(Lc);var h=Em,p=Em;Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return p.getFeed}});var m={xmlMode:!0};function g(v,y){return y===void 0&&(y=m),(0,h.getFeed)(c(v,y))}e.parseFeed=g,e.DomUtils=r(Em)})(W6);var uie=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},rx={};Object.defineProperty(rx,"__esModule",{value:!0});/*!
 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */function NI(e){return Object.prototype.toString.call(e)==="[object Object]"}function lie(e){var t,n;return NI(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(NI(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}rx.isPlainObject=lie;var cie=function(t){return fie(t)&&!die(t)};function fie(e){return!!e&&typeof e=="object"}function die(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||mie(e)}var hie=typeof Symbol=="function"&&Symbol.for,pie=hie?Symbol.for("react.element"):60103;function mie(e){return e.$$typeof===pie}function gie(e){return Array.isArray(e)?[]:{}}function Nd(e,t){return t.clone!==!1&&t.isMergeableObject(e)?lc(gie(e),e,t):e}function vie(e,t,n){return e.concat(t).map(function(r){return Nd(r,n)})}function yie(e,t){if(!t.customMerge)return lc;var n=t.customMerge(e);return typeof n=="function"?n:lc}function bie(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function MI(e){return Object.keys(e).concat(bie(e))}function vN(e,t){try{return t in e}catch{return!1}}function wie(e,t){return vN(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Eie(e,t,n){var r={};return n.isMergeableObject(e)&&MI(e).forEach(function(i){r[i]=Nd(e[i],n)}),MI(t).forEach(function(i){wie(e,i)||(vN(e,i)&&n.isMergeableObject(t[i])?r[i]=yie(i,n)(e[i],t[i],n):r[i]=Nd(t[i],n))}),r}function lc(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||vie,n.isMergeableObject=n.isMergeableObject||cie,n.cloneUnlessOtherwiseSpecified=Nd;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):Eie(e,t,n):Nd(t,n)}lc.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return lc(r,i,n)},{})};var Sie=lc,xie=Sie,yN={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.parseSrcset=n()})(Oe,function(){return function(t){function n(w){return w===" "||w==="	"||w===`
`||w==="\f"||w==="\r"}function r(w){var S,E=w.exec(t.substring(g));if(E)return S=E[0],g+=S.length,S}for(var i=t.length,o=/^[ \t\n\r\u000c]+/,s=/^[, \t\n\r\u000c]+/,a=/^[^ \t\n\r\u000c]+/,u=/[,]+$/,l=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,f,d,h,p,m,g=0,v=[];;){if(r(s),g>=i)return v;f=r(a),d=[],f.slice(-1)===","?(f=f.replace(u,""),b()):y()}function y(){for(r(o),h="",p="in descriptor";;){if(m=t.charAt(g),p==="in descriptor")if(n(m))h&&(d.push(h),h="",p="after descriptor");else if(m===","){g+=1,h&&d.push(h),b();return}else if(m==="(")h=h+m,p="in parens";else if(m===""){h&&d.push(h),b();return}else h=h+m;else if(p==="in parens")if(m===")")h=h+m,p="in descriptor";else if(m===""){d.push(h),b();return}else h=h+m;else if(p==="after descriptor"&&!n(m))if(m===""){b();return}else p="in descriptor",g-=1;g+=1}}function b(){var w=!1,S,E,_,C,O={},T,x,I,A,D;for(C=0;C<d.length;C++)T=d[C],x=T[T.length-1],I=T.substring(0,T.length-1),A=parseInt(I,10),D=parseFloat(I),l.test(I)&&x==="w"?((S||E)&&(w=!0),A===0?w=!0:S=A):c.test(I)&&x==="x"?((S||E||_)&&(w=!0),D<0?w=!0:E=D):l.test(I)&&x==="h"?((_||E)&&(w=!0),A===0?w=!0:_=A):w=!0;w?console&&console.log&&console.log("Invalid srcset descriptor found in '"+t+"' at '"+T+"'."):(O.url=f,S&&(O.w=S),E&&(O.d=E),_&&(O.h=_),v.push(O))}}})})(yN);var Tie=yN.exports,ix={exports:{}},zt=String,bN=function(){return{isColorSupported:!1,reset:zt,bold:zt,dim:zt,italic:zt,underline:zt,inverse:zt,hidden:zt,strikethrough:zt,black:zt,red:zt,green:zt,yellow:zt,blue:zt,magenta:zt,cyan:zt,white:zt,gray:zt,bgBlack:zt,bgRed:zt,bgGreen:zt,bgYellow:zt,bgBlue:zt,bgMagenta:zt,bgCyan:zt,bgWhite:zt}};ix.exports=bN();ix.exports.createColors=bN;var _ie=ix.exports;let LI=_ie,$I=li,fw=class wN extends Error{constructor(t,n,r,i,o,s){super(t),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),i&&(this.source=i),s&&(this.plugin=s),typeof n<"u"&&typeof r<"u"&&(typeof n=="number"?(this.line=n,this.column=r):(this.line=n.line,this.column=n.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,wN)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let n=this.source;t==null&&(t=LI.isColorSupported),$I&&t&&(n=$I(n));let r=n.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,r.length),s=String(o).length,a,u;if(t){let{bold:l,gray:c,red:f}=LI.createColors(!0);a=d=>l(f(d)),u=d=>c(d)}else a=u=l=>l;return r.slice(i,o).map((l,c)=>{let f=i+1+c,d=" "+(" "+f).slice(-s)+" | ";if(f===this.line){let h=u(d.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(d)+l+`
 `+h+a("^")}return" "+u(d)+l}).join(`
`)}toString(){let t=this.showSourceCode();return t&&(t=`

`+t+`
`),this.name+": "+this.message+t}};var ox=fw;fw.default=fw;var Th={};Th.isClean=Symbol("isClean");Th.my=Symbol("my");const FI={after:`
`,beforeClose:`
`,beforeComment:`
`,beforeDecl:`
`,beforeOpen:" ",beforeRule:`
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function Oie(e){return e[0].toUpperCase()+e.slice(1)}let dw=class{constructor(t){this.builder=t}atrule(t,n){let r="@"+t.name,i=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:i&&(r+=" "),t.nodes)this.block(t,r+i);else{let o=(t.raws.between||"")+(n?";":"");this.builder(r+i+o,t)}}beforeAfter(t,n){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):n==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let i=t.parent,o=0;for(;i&&i.type!=="root";)o+=1,i=i.parent;if(r.includes(`
`)){let s=this.raw(t,null,"indent");if(s.length)for(let a=0;a<o;a++)r+=s}return r}block(t,n){let r=this.raw(t,"between","beforeOpen");this.builder(n+r+"{",t,"start");let i;t.nodes&&t.nodes.length?(this.body(t),i=this.raw(t,"after")):i=this.raw(t,"after","emptyBody"),i&&this.builder(i),this.builder("}",t,"end")}body(t){let n=t.nodes.length-1;for(;n>0&&t.nodes[n].type==="comment";)n-=1;let r=this.raw(t,"semicolon");for(let i=0;i<t.nodes.length;i++){let o=t.nodes[i],s=this.raw(o,"before");s&&this.builder(s),this.stringify(o,n!==i||r)}}comment(t){let n=this.raw(t,"left","commentLeft"),r=this.raw(t,"right","commentRight");this.builder("/*"+n+t.text+r+"*/",t)}decl(t,n){let r=this.raw(t,"between","colon"),i=t.prop+r+this.rawValue(t,"value");t.important&&(i+=t.raws.important||" !important"),n&&(i+=";"),this.builder(i,t)}document(t){this.body(t)}raw(t,n,r){let i;if(r||(r=n),n&&(i=t.raws[n],typeof i<"u"))return i;let o=t.parent;if(r==="before"&&(!o||o.type==="root"&&o.first===t||o&&o.type==="document"))return"";if(!o)return FI[r];let s=t.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[r]<"u")return s.rawCache[r];if(r==="before"||r==="after")return this.beforeAfter(t,r);{let a="raw"+Oie(r);this[a]?i=this[a](s,t):s.walk(u=>{if(i=u.raws[n],typeof i<"u")return!1})}return typeof i>"u"&&(i=FI[r]),s.rawCache[r]=i,i}rawBeforeClose(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return n=r.raws.after,n.includes(`
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeComment(t,n){let r;return t.walkComments(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(`
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(t,n){let r;return t.walkDecls(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(`
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(t){let n;return t.walk(r=>{if(r.type!=="decl"&&(n=r.raws.between,typeof n<"u"))return!1}),n}rawBeforeRule(t){let n;return t.walk(r=>{if(r.nodes&&(r.parent!==t||t.first!==r)&&typeof r.raws.before<"u")return n=r.raws.before,n.includes(`
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawColon(t){let n;return t.walkDecls(r=>{if(typeof r.raws.between<"u")return n=r.raws.between.replace(/[^\s:]/g,""),!1}),n}rawEmptyBody(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length===0&&(n=r.raws.after,typeof n<"u"))return!1}),n}rawIndent(t){if(t.raws.indent)return t.raws.indent;let n;return t.walk(r=>{let i=r.parent;if(i&&i!==t&&i.parent&&i.parent===t&&typeof r.raws.before<"u"){let o=r.raws.before.split(`
`);return n=o[o.length-1],n=n.replace(/\S/g,""),!1}}),n}rawSemicolon(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(n=r.raws.semicolon,typeof n<"u"))return!1}),n}rawValue(t,n){let r=t[n],i=t.raws[n];return i&&i.value===r?i.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,n){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,n)}};var EN=dw;dw.default=dw;let Iie=EN;function hw(e,t){new Iie(t).stringify(e)}var sv=hw;hw.default=hw;let{isClean:Cp,my:Cie}=Th,Aie=ox,kie=EN,Rie=sv;function pw(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let i=e[r],o=typeof i;r==="parent"&&o==="object"?t&&(n[r]=t):r==="source"?n[r]=i:Array.isArray(i)?n[r]=i.map(s=>pw(s,n)):(o==="object"&&i!==null&&(i=pw(i)),n[r]=i)}return n}let mw=class{constructor(t={}){this.raws={},this[Cp]=!1,this[Cie]=!0;for(let n in t)if(n==="nodes"){this.nodes=[];for(let r of t[n])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[n]=t[n]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let n=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let n in t)this[n]=t[n];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let n=pw(this);for(let r in t)n[r]=t[r];return n}cloneAfter(t={}){let n=this.clone(t);return this.parent.insertAfter(this,n),n}cloneBefore(t={}){let n=this.clone(t);return this.parent.insertBefore(this,n),n}error(t,n={}){if(this.source){let{end:r,start:i}=this.rangeBy(n);return this.source.input.error(t,{column:i.column,line:i.line},{column:r.column,line:r.line},n)}return new Aie(t)}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:n==="root"?()=>t.root().toProxy():t[n]},set(t,n,r){return t[n]===r||(t[n]=r,(n==="prop"||n==="value"||n==="name"||n==="params"||n==="important"||n==="text")&&t.markDirty()),!0}}}markDirty(){if(this[Cp]){this[Cp]=!1;let t=this;for(;t=t.parent;)t[Cp]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,n){let r=this.source.start;if(t.index)r=this.positionInside(t.index,n);else if(t.word){n=this.toString();let i=n.indexOf(t.word);i!==-1&&(r=this.positionInside(i,n))}return r}positionInside(t,n){let r=n||this.toString(),i=this.source.start.column,o=this.source.start.line;for(let s=0;s<t;s++)r[s]===`
`?(i=1,o+=1):i+=1;return{column:i,line:o}}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}rangeBy(t){let n={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:n.column+1,line:n.line};if(t.word){let i=this.toString(),o=i.indexOf(t.word);o!==-1&&(n=this.positionInside(o,i),r=this.positionInside(o+t.word.length,i))}else t.start?n={column:t.start.column,line:t.start.line}:t.index&&(n=this.positionInside(t.index)),t.end?r={column:t.end.column,line:t.end.line}:t.endIndex?r=this.positionInside(t.endIndex):t.index&&(r=this.positionInside(t.index+1));return(r.line<n.line||r.line===n.line&&r.column<=n.column)&&(r={column:n.column+1,line:n.line}),{end:r,start:n}}raw(t,n){return new kie().raw(this,t,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...t){if(this.parent){let n=this,r=!1;for(let i of t)i===this?r=!0:r?(this.parent.insertAfter(n,i),n=i):this.parent.insertBefore(n,i);r||this.remove()}return this}root(){let t=this;for(;t.parent&&t.parent.type!=="document";)t=t.parent;return t}toJSON(t,n){let r={},i=n==null;n=n||new Map;let o=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let a=this[s];if(Array.isArray(a))r[s]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,n):u);else if(typeof a=="object"&&a.toJSON)r[s]=a.toJSON(null,n);else if(s==="source"){let u=n.get(a.input);u==null&&(u=o,n.set(a.input,o),o++),r[s]={end:a.end,inputId:u,start:a.start}}else r[s]=a}return i&&(r.inputs=[...n.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=Rie){t.stringify&&(t=t.stringify);let n="";return t(this,r=>{n+=r}),n}warn(t,n,r){let i={node:this};for(let o in r)i[o]=r[o];return t.warn(n,i)}get proxyOf(){return this}};var av=mw;mw.default=mw;let Pie=av,gw=class extends Pie{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};var uv=gw;gw.default=gw;let Die="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Nie=(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r},Mie=(e=21)=>{let t="",n=e;for(;n--;)t+=Die[Math.random()*64|0];return t};var Lie={nanoid:Mie,customAlphabet:Nie};let{SourceMapConsumer:BI,SourceMapGenerator:jI}=li,{existsSync:$ie,readFileSync:Fie}=li,{dirname:Hy,join:Bie}=li;function jie(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}let vw=class{constructor(t,n){if(n.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=n.map?n.map.prev:void 0,i=this.loadMap(n.from,r);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=Hy(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new BI(this.text)),this.consumerCache}decodeInline(t){let n=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/;if(i.test(t)||o.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(n.test(t)||r.test(t))return jie(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let n=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!n)return;let r=t.lastIndexOf(n.pop()),i=t.indexOf("*/",r);r>-1&&i>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,i)))}loadFile(t){if(this.root=Hy(t),$ie(t))return this.mapFile=t,Fie(t,"utf-8").toString().trim()}loadMap(t,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){let r=n(t);if(r){let i=this.loadFile(r);if(!i)throw new Error("Unable to load previous source map: "+r.toString());return i}}else{if(n instanceof BI)return jI.fromSourceMap(n).toString();if(n instanceof jI)return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=Bie(Hy(t),r)),this.loadFile(r)}}}startWith(t,n){return t?t.substr(0,n.length)===n:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var SN=vw;vw.default=vw;let{SourceMapConsumer:Hie,SourceMapGenerator:Uie}=li,{fileURLToPath:HI,pathToFileURL:Ap}=li,{isAbsolute:yw,resolve:bw}=li,{nanoid:zie}=Lie,Uy=li,UI=ox,Vie=SN,zy=Symbol("fromOffsetCache"),Wie=!!(Hie&&Uie),zI=!!(bw&&yw),Vg=class{constructor(t,n={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(!zI||/^\w+:\/\//.test(n.from)||yw(n.from)?this.file=n.from:this.file=bw(n.from)),zI&&Wie){let r=new Vie(this.css,n);if(r.text){this.map=r;let i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+zie(6)+">"),this.map&&(this.map.file=this.from)}error(t,n,r,i={}){let o,s,a;if(n&&typeof n=="object"){let l=n,c=r;if(typeof l.offset=="number"){let f=this.fromOffset(l.offset);n=f.line,r=f.col}else n=l.line,r=l.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);s=f.line,a=f.col}else s=c.line,a=c.column}else if(!r){let l=this.fromOffset(n);n=l.line,r=l.col}let u=this.origin(n,r,s,a);return u?o=new UI(t,u.endLine===void 0?u.line:{column:u.column,line:u.line},u.endLine===void 0?u.column:{column:u.endColumn,line:u.endLine},u.source,u.file,i.plugin):o=new UI(t,s===void 0?n:{column:r,line:n},s===void 0?r:{column:a,line:s},this.css,this.file,i.plugin),o.input={column:r,endColumn:a,endLine:s,line:n,source:this.css},this.file&&(Ap&&(o.input.url=Ap(this.file).toString()),o.input.file=this.file),o}fromOffset(t){let n,r;if(this[zy])r=this[zy];else{let o=this.css.split(`
`);r=new Array(o.length);let s=0;for(let a=0,u=o.length;a<u;a++)r[a]=s,s+=o[a].length+1;this[zy]=r}n=r[r.length-1];let i=0;if(t>=n)i=r.length-1;else{let o=r.length-2,s;for(;i<o;)if(s=i+(o-i>>1),t<r[s])o=s-1;else if(t>=r[s+1])i=s+1;else{i=s;break}}return{col:t-r[i]+1,line:i+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:bw(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,n,r,i){if(!this.map)return!1;let o=this.map.consumer(),s=o.originalPositionFor({column:n,line:t});if(!s.source)return!1;let a;typeof r=="number"&&(a=o.originalPositionFor({column:i,line:r}));let u;yw(s.source)?u=Ap(s.source):u=new URL(s.source,this.map.consumer().sourceRoot||Ap(this.map.mapFile));let l={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:u.toString()};if(u.protocol==="file:")if(HI)l.file=HI(u);else throw new Error("file: protocol is not available in this PostCSS build");let c=o.sourceContentFor(s.source);return c&&(l.source=c),l}toJSON(){let t={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(t[n]=this[n]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};var lv=Vg;Vg.default=Vg;Uy&&Uy.registerInput&&Uy.registerInput(Vg);let{SourceMapConsumer:xN,SourceMapGenerator:xm}=li,{dirname:Tm,relative:TN,resolve:_N,sep:ON}=li,{pathToFileURL:VI}=li,Gie=lv,Kie=!!(xN&&xm),qie=!!(Tm&&_N&&TN&&ON),Yie=class{constructor(t,n,r,i){this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let n=`
`;this.css.includes(`\r
`)&&(n=`\r
`),this.css+=n+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let n=this.toUrl(this.path(t.file)),r=t.root||Tm(t.file),i;this.mapOpts.sourcesContent===!1?(i=new xN(t.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=t.consumer(),this.map.applySourceMap(i,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let n=this.root.nodes.length-1;n>=0;n--)t=this.root.nodes[n],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(n)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),qie&&Kie&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,n=>{t+=n}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=xm.fromSourceMap(t)}else this.map=new xm({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new xm({file:this.outputFile()});let t=1,n=1,r="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},o,s;this.stringify(this.root,(a,u,l)=>{if(this.css+=a,u&&l!=="end"&&(i.generated.line=t,i.generated.column=n-1,u.source&&u.source.start?(i.source=this.sourcePath(u),i.original.line=u.source.start.line,i.original.column=u.source.start.column-1,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,this.map.addMapping(i))),o=a.match(/\n/g),o?(t+=o.length,s=a.lastIndexOf(`
`),n=a.length-s):n+=a.length,u&&l!=="start"){let c=u.parent||{raws:{}};(!(u.type==="decl"||u.type==="atrule"&&!u.nodes)||u!==c.last||c.raws.semicolon)&&(u.source&&u.source.end?(i.source=this.sourcePath(u),i.original.line=u.source.end.line,i.original.column=u.source.end.column-1,i.generated.line=t,i.generated.column=n-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=t,i.generated.column=n-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(n=>n.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let n=this.memoizedPaths.get(t);if(n)return n;let r=this.opts.to?Tm(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=Tm(_N(r,this.mapOpts.annotation)));let i=TN(r,t);return this.memoizedPaths.set(t,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let n=t.source.input.map;this.previousMaps.includes(n)||this.previousMaps.push(n)}});else{let t=new Gie(this.css,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(n=>{if(n.source){let r=n.source.input.from;if(r&&!t[r]){t[r]=!0;let i=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){let n=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(n,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let n=this.memoizedFileURLs.get(t);if(n)return n;if(VI){let r=VI(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let n=this.memoizedURLs.get(t);if(n)return n;ON==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};var IN=Yie;let Xie=av,ww=class extends Xie{constructor(t){super(t),this.type="comment"}};var cv=ww;ww.default=ww;let{isClean:CN,my:AN}=Th,kN=uv,RN=cv,Jie=av,PN,sx,ax,DN;function NN(e){return e.map(t=>(t.nodes&&(t.nodes=NN(t.nodes)),delete t.source,t))}function MN(e){if(e[CN]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)MN(t)}let ts=class LN extends Jie{append(...t){for(let n of t){let r=this.normalize(n,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let n of this.nodes)n.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let n=this.getIterator(),r,i;for(;this.indexes[n]<this.proxyOf.nodes.length&&(r=this.indexes[n],i=t(this.proxyOf.nodes[r],r),i!==!1);)this.indexes[n]+=1;return delete this.indexes[n],i}every(t){return this.nodes.every(t)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t=this.lastEach;return this.indexes[t]=0,t}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:t[n]?n==="each"||typeof n=="string"&&n.startsWith("walk")?(...r)=>t[n](...r.map(i=>typeof i=="function"?(o,s)=>i(o.toProxy(),s):i)):n==="every"||n==="some"?r=>t[n]((i,...o)=>r(i.toProxy(),...o)):n==="root"?()=>t.root().toProxy():n==="nodes"?t.nodes.map(r=>r.toProxy()):n==="first"||n==="last"?t[n].toProxy():t[n]:t[n]},set(t,n,r){return t[n]===r||(t[n]=r,(n==="name"||n==="params"||n==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,n){let r=this.index(t),i=this.normalize(n,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let s of i)this.proxyOf.nodes.splice(r+1,0,s);let o;for(let s in this.indexes)o=this.indexes[s],r<o&&(this.indexes[s]=o+i.length);return this.markDirty(),this}insertBefore(t,n){let r=this.index(t),i=r===0?"prepend":!1,o=this.normalize(n,this.proxyOf.nodes[r],i).reverse();r=this.index(t);for(let a of o)this.proxyOf.nodes.splice(r,0,a);let s;for(let a in this.indexes)s=this.indexes[a],r<=s&&(this.indexes[a]=s+o.length);return this.markDirty(),this}normalize(t,n){if(typeof t=="string")t=NN(PN(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new kN(t)]}else if(t.selector)t=[new sx(t)];else if(t.name)t=[new ax(t)];else if(t.text)t=[new RN(t)];else throw new Error("Unknown node type in node creation");return t.map(i=>(i[AN]||LN.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[CN]&&MN(i),typeof i.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(i.raws.before=n.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...t){t=t.reverse();for(let n of t){let r=this.normalize(n,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let n;for(let r in this.indexes)n=this.indexes[r],n>=t&&(this.indexes[r]=n-1);return this.markDirty(),this}replaceValues(t,n,r){return r||(r=n,n={}),this.walkDecls(i=>{n.props&&!n.props.includes(i.prop)||n.fast&&!i.value.includes(n.fast)||(i.value=i.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((n,r)=>{let i;try{i=t(n,r)}catch(o){throw n.addToError(o)}return i!==!1&&n.walk&&(i=n.walk(t)),i})}walkAtRules(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&t.test(r.name))return n(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="atrule")return n(r,i)}))}walkComments(t){return this.walk((n,r)=>{if(n.type==="comment")return t(n,r)})}walkDecls(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&t.test(r.prop))return n(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="decl")return n(r,i)}))}walkRules(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&t.test(r.selector))return n(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="rule")return n(r,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ts.registerParse=e=>{PN=e};ts.registerRule=e=>{sx=e};ts.registerAtRule=e=>{ax=e};ts.registerRoot=e=>{DN=e};var Lu=ts;ts.default=ts;ts.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,ax.prototype):e.type==="rule"?Object.setPrototypeOf(e,sx.prototype):e.type==="decl"?Object.setPrototypeOf(e,kN.prototype):e.type==="comment"?Object.setPrototypeOf(e,RN.prototype):e.type==="root"&&Object.setPrototypeOf(e,DN.prototype),e[AN]=!0,e.nodes&&e.nodes.forEach(t=>{ts.rebuild(t)})};let Qie=Lu,$N,FN,Md=class extends Qie{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new $N(new FN,this,t).stringify()}};Md.registerLazyResult=e=>{$N=e};Md.registerProcessor=e=>{FN=e};var ux=Md;Md.default=Md;let Ew=class{constructor(t,n={}){if(this.type="warning",this.text=t,n.node&&n.node.source){let r=n.node.rangeBy(n);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in n)this[r]=n[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var BN=Ew;Ew.default=Ew;let Zie=BN,Sw=class{constructor(t,n,r){this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new Zie(t,n);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};var lx=Sw;Sw.default=Sw;const Vy=39,WI=34,kp=92,GI=47,Rp=10,tf=32,Pp=12,Dp=9,Np=13,eoe=91,toe=93,noe=40,roe=41,ioe=123,ooe=125,soe=59,aoe=42,uoe=58,loe=64,Mp=/[\t\n\f\r "#'()/;[\\\]{}]/g,Lp=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,coe=/.[\r\n"'(/\\]/,KI=/[\da-f]/i;var foe=function(t,n={}){let r=t.css.valueOf(),i=n.ignoreErrors,o,s,a,u,l,c,f,d,h,p,m=r.length,g=0,v=[],y=[];function b(){return g}function w(C){throw t.error("Unclosed "+C,g)}function S(){return y.length===0&&g>=m}function E(C){if(y.length)return y.pop();if(g>=m)return;let O=C?C.ignoreUnclosed:!1;switch(o=r.charCodeAt(g),o){case Rp:case tf:case Dp:case Np:case Pp:{s=g;do s+=1,o=r.charCodeAt(s);while(o===tf||o===Rp||o===Dp||o===Np||o===Pp);p=["space",r.slice(g,s)],g=s-1;break}case eoe:case toe:case ioe:case ooe:case uoe:case soe:case roe:{let T=String.fromCharCode(o);p=[T,T,g];break}case noe:{if(d=v.length?v.pop()[1]:"",h=r.charCodeAt(g+1),d==="url"&&h!==Vy&&h!==WI&&h!==tf&&h!==Rp&&h!==Dp&&h!==Pp&&h!==Np){s=g;do{if(c=!1,s=r.indexOf(")",s+1),s===-1)if(i||O){s=g;break}else w("bracket");for(f=s;r.charCodeAt(f-1)===kp;)f-=1,c=!c}while(c);p=["brackets",r.slice(g,s+1),g,s],g=s}else s=r.indexOf(")",g+1),u=r.slice(g,s+1),s===-1||coe.test(u)?p=["(","(",g]:(p=["brackets",u,g,s],g=s);break}case Vy:case WI:{a=o===Vy?"'":'"',s=g;do{if(c=!1,s=r.indexOf(a,s+1),s===-1)if(i||O){s=g+1;break}else w("string");for(f=s;r.charCodeAt(f-1)===kp;)f-=1,c=!c}while(c);p=["string",r.slice(g,s+1),g,s],g=s;break}case loe:{Mp.lastIndex=g+1,Mp.test(r),Mp.lastIndex===0?s=r.length-1:s=Mp.lastIndex-2,p=["at-word",r.slice(g,s+1),g,s],g=s;break}case kp:{for(s=g,l=!0;r.charCodeAt(s+1)===kp;)s+=1,l=!l;if(o=r.charCodeAt(s+1),l&&o!==GI&&o!==tf&&o!==Rp&&o!==Dp&&o!==Np&&o!==Pp&&(s+=1,KI.test(r.charAt(s)))){for(;KI.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===tf&&(s+=1)}p=["word",r.slice(g,s+1),g,s],g=s;break}default:{o===GI&&r.charCodeAt(g+1)===aoe?(s=r.indexOf("*/",g+2)+1,s===0&&(i||O?s=r.length:w("comment")),p=["comment",r.slice(g,s+1),g,s],g=s):(Lp.lastIndex=g+1,Lp.test(r),Lp.lastIndex===0?s=r.length-1:s=Lp.lastIndex-2,p=["word",r.slice(g,s+1),g,s],v.push(p),g=s);break}}return g++,p}function _(C){y.push(C)}return{back:_,endOfFile:S,nextToken:E,position:b}};let jN=Lu,Wg=class extends jN{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};var cx=Wg;Wg.default=Wg;jN.registerAtRule(Wg);let HN=Lu,UN,zN,cc=class extends HN{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,n,r){let i=super.normalize(t);if(n){if(r==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let o of i)o.raws.before=n.raws.before}return i}removeChild(t,n){let r=this.index(t);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new UN(new zN,this,t).stringify()}};cc.registerLazyResult=e=>{UN=e};cc.registerProcessor=e=>{zN=e};var _h=cc;cc.default=cc;HN.registerRoot(cc);let Ld={comma(e){return Ld.split(e,[","],!0)},space(e){let t=[" ",`
`,"	"];return Ld.split(e,t)},split(e,t,n){let r=[],i="",o=!1,s=0,a=!1,u="",l=!1;for(let c of e)l?l=!1:c==="\\"?l=!0:a?c===u&&(a=!1):c==='"'||c==="'"?(a=!0,u=c):c==="("?s+=1:c===")"?s>0&&(s-=1):s===0&&t.includes(c)&&(o=!0),o?(i!==""&&r.push(i.trim()),i="",o=!1):i+=c;return(n||i!=="")&&r.push(i.trim()),r}};var VN=Ld;Ld.default=Ld;let WN=Lu,doe=VN,Gg=class extends WN{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return doe.comma(this.selector)}set selectors(t){let n=this.selector?this.selector.match(/,\s*/):null,r=n?n[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};var fx=Gg;Gg.default=Gg;WN.registerRule(Gg);let hoe=uv,poe=foe,moe=cv,goe=cx,voe=_h,qI=fx;const YI={empty:!0,space:!0};function yoe(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}let boe=class{constructor(t){this.input=t,this.root=new voe,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let n=new goe;n.name=t[1].slice(1),n.name===""&&this.unnamedAtrule(n,t),this.init(n,t[2]);let r,i,o,s=!1,a=!1,u=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?l.push(r==="("?")":"]"):r==="{"&&l.length>0?l.push("}"):r===l[l.length-1]&&l.pop(),l.length===0)if(r===";"){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(o=u.length-1,i=u[o];i&&i[0]==="space";)i=u[--o];i&&(n.source.end=this.getPosition(i[3]||i[2]),n.source.end.offset++)}this.end(t);break}else u.push(t);else u.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(n.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(n,"params",u),s&&(t=u[u.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),a&&(n.nodes=[],this.current=n)}checkMissedSemicolon(t){let n=this.colon(t);if(n===!1)return;let r=0,i;for(let o=n-1;o>=0&&(i=t[o],!(i[0]!=="space"&&(r+=1,r===2)));o--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(t){let n=0,r,i,o;for(let[s,a]of t.entries()){if(r=a,i=r[0],i==="("&&(n+=1),i===")"&&(n-=1),n===0&&i===":")if(!o)this.doubleColon(r);else{if(o[0]==="word"&&o[1]==="progid")continue;return s}o=r}return!1}comment(t){let n=new moe;this.init(n,t[2]),n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let i=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=i[2],n.raws.left=i[1],n.raws.right=i[3]}}createTokenizer(){this.tokenizer=poe(this.input)}decl(t,n){let r=new hoe;this.init(r,t[0][2]);let i=t[t.length-1];for(i[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(i[3]||i[2]||yoe(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let l=t[0][0];if(l===":"||l==="space"||l==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let o;for(;t.length;)if(o=t.shift(),o[0]===":"){r.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),r.raws.between+=o[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let l=t.length-1;l>=0;l--){if(o=t[l],o[1].toLowerCase()==="!important"){r.important=!0;let c=this.stringFrom(t,l);c=this.spacesFromEnd(t)+c,c!==" !important"&&(r.raws.important=c);break}else if(o[1].toLowerCase()==="important"){let c=t.slice(0),f="";for(let d=l;d>0;d--){let h=c[d][0];if(f.trim().indexOf("!")===0&&h!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=c)}if(o[0]!=="space"&&o[0]!=="comment")break}t.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(r.raws.between+=s.map(l=>l[1]).join(""),s=[]),this.raw(r,"value",s.concat(t),n),r.value.includes(":")&&!n&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let n=new qI;this.init(n,t[2]),n.selector="",n.raws.between="",this.current=n}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let n=this.input.fromOffset(t);return{column:n.col,line:n.line,offset:t}}init(t,n){this.current.push(t),t.source={input:this.input,start:this.getPosition(n)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let n=!1,r=null,i=!1,o=null,s=[],a=t[1].startsWith("--"),u=[],l=t;for(;l;){if(r=l[0],u.push(l),r==="("||r==="[")o||(o=l),s.push(r==="("?")":"]");else if(a&&i&&r==="{")o||(o=l),s.push("}");else if(s.length===0)if(r===";")if(i){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),n=!0;break}else r===":"&&(i=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),s.length>0&&this.unclosedBracket(o),n&&i){if(!a)for(;u.length&&(l=u[u.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,n,r,i){let o,s,a=r.length,u="",l=!0,c,f;for(let d=0;d<a;d+=1)o=r[d],s=o[0],s==="space"&&d===a-1&&!i?l=!1:s==="comment"?(f=r[d-1]?r[d-1][0]:"empty",c=r[d+1]?r[d+1][0]:"empty",!YI[f]&&!YI[c]?u.slice(-1)===","?l=!1:u+=o[1]:l=!1):u+=o[1];if(!l){let d=r.reduce((h,p)=>h+p[1],"");t.raws[n]={raw:d,value:u}}t[n]=u}rule(t){t.pop();let n=new qI;this.init(n,t[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(n,"selector",t),this.current=n}spacesAndCommentsFromEnd(t){let n,r="";for(;t.length&&(n=t[t.length-1][0],!(n!=="space"&&n!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let n,r="";for(;t.length&&(n=t[0][0],!(n!=="space"&&n!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let n,r="";for(;t.length&&(n=t[t.length-1][0],n==="space");)r=t.pop()[1]+r;return r}stringFrom(t,n){let r="";for(let i=n;i<t.length;i++)r+=t[i][1];return t.splice(n,t.length-n),r}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})}};var woe=boe;let Eoe=Lu,Soe=woe,xoe=lv;function Kg(e,t){let n=new xoe(e,t),r=new Soe(n);try{r.parse()}catch(i){throw i}return r.root}var dx=Kg;Kg.default=Kg;Eoe.registerParse(Kg);let{isClean:Mi,my:Toe}=Th,_oe=IN,Ooe=sv,Ioe=Lu,Coe=ux,XI=lx,Aoe=dx,koe=_h;const Roe={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Poe={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Doe={Once:!0,postcssPlugin:!0,prepare:!0},fc=0;function nf(e){return typeof e=="object"&&typeof e.then=="function"}function GN(e){let t=!1,n=Roe[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,fc,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,fc,n+"Exit"]:[n,n+"Exit"]}function JI(e){let t;return e.type==="document"?t=["Document",fc,"DocumentExit"]:e.type==="root"?t=["Root",fc,"RootExit"]:t=GN(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function xw(e){return e[Mi]=!1,e.nodes&&e.nodes.forEach(t=>xw(t)),e}let Tw={},dc=class KN{constructor(t,n,r){this.stringified=!1,this.processed=!1;let i;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))i=xw(n);else if(n instanceof KN||n instanceof XI)i=xw(n.root),n.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{let o=Aoe;r.syntax&&(o=r.syntax.parse),r.parser&&(o=r.parser),o.parse&&(o=o.parse);try{i=o(n,r)}catch(s){this.processed=!0,this.error=s}i&&!i[Toe]&&Ioe.rebuild(i)}this.result=new XI(t,i,r),this.helpers={...Tw,postcss:Tw,result:this.result},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,n){let r=this.result.lastPlugin;try{n&&n.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(i){console&&console.error&&console.error(i)}return t}prepareVisitors(){this.listeners={};let t=(n,r,i)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([n,i])};for(let n of this.plugins)if(typeof n=="object")for(let r in n){if(!Poe[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Doe[r])if(typeof n[r]=="object")for(let i in n[r])i==="*"?t(n,r,n[r][i]):t(n,r+"-"+i.toLowerCase(),n[r][i]);else typeof n[r]=="function"&&t(n,r,n[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let n=this.plugins[t],r=this.runOnRoot(n);if(nf(r))try{await r}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[Mi];){t[Mi]=!0;let n=[JI(t)];for(;n.length>0;){let r=this.visitTick(n);if(nf(r))try{await r}catch(i){let o=n[n.length-1].node;throw this.handleError(i,o)}}}if(this.listeners.OnceExit)for(let[n,r]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(t.type==="document"){let i=t.nodes.map(o=>r(o,this.helpers));await Promise.all(i)}else await r(t,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return nf(n[0])?Promise.all(n):n}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(n){throw this.handleError(n)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,n=Ooe;t.syntax&&(n=t.syntax.stringify),t.stringifier&&(n=t.stringifier),n.stringify&&(n=n.stringify);let i=new _oe(n,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let n=this.runOnRoot(t);if(nf(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[Mi];)t[Mi]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let n of t.nodes)this.visitSync(this.listeners.OnceExit,n);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,n){return this.async().then(t,n)}toString(){return this.css}visitSync(t,n){for(let[r,i]of t){this.result.lastPlugin=r;let o;try{o=i(n,this.helpers)}catch(s){throw this.handleError(s,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(nf(o))throw this.getAsyncError()}}visitTick(t){let n=t[t.length-1],{node:r,visitors:i}=n;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(i.length>0&&n.visitorIndex<i.length){let[s,a]=i[n.visitorIndex];n.visitorIndex+=1,n.visitorIndex===i.length&&(n.visitors=[],n.visitorIndex=0),this.result.lastPlugin=s;try{return a(r.toProxy(),this.helpers)}catch(u){throw this.handleError(u,r)}}if(n.iterator!==0){let s=n.iterator,a;for(;a=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!a[Mi]){a[Mi]=!0,t.push(JI(a));return}n.iterator=0,delete r.indexes[s]}let o=n.events;for(;n.eventIndex<o.length;){let s=o[n.eventIndex];if(n.eventIndex+=1,s===fc){r.nodes&&r.nodes.length&&(r[Mi]=!0,n.iterator=r.getIterator());return}else if(this.listeners[s]){n.visitors=this.listeners[s];return}}t.pop()}walkSync(t){t[Mi]=!0;let n=GN(t);for(let r of n)if(r===fc)t.nodes&&t.each(i=>{i[Mi]||this.walkSync(i)});else{let i=this.listeners[r];if(i&&this.visitSync(i,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};dc.registerPostcss=e=>{Tw=e};var qN=dc;dc.default=dc;koe.registerLazyResult(dc);Coe.registerLazyResult(dc);let Noe=IN,Moe=sv,Loe=dx;const $oe=lx;let _w=class{constructor(t,n,r){n=n.toString(),this.stringified=!1,this._processor=t,this._css=n,this._opts=r,this._map=void 0;let i,o=Moe;this.result=new $oe(this._processor,i,this._opts),this.result.css=n;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new Noe(o,i,this._opts,n);if(a.isMap()){let[u,l]=a.generate();u&&(this.result.css=u),l&&(this.result.map=l)}}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,n){return this.async().then(t,n)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,n=Loe;try{t=n(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};var Foe=_w;_w.default=_w;let Boe=Foe,joe=qN,Hoe=ux,Uoe=_h,$d=class{constructor(t=[]){this.version="8.4.31",this.plugins=this.normalize(t)}normalize(t){let n=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))n=n.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)n.push(r);else if(typeof r=="function")n.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return n}process(t,n={}){return this.plugins.length===0&&typeof n.parser>"u"&&typeof n.stringifier>"u"&&typeof n.syntax>"u"?new Boe(this,t,n):new joe(this,t,n)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};var zoe=$d;$d.default=$d;Uoe.registerProcessor($d);Hoe.registerProcessor($d);let Voe=uv,Woe=SN,Goe=cv,Koe=cx,qoe=lv,Yoe=_h,Xoe=fx;function Fd(e,t){if(Array.isArray(e))return e.map(i=>Fd(i));let{inputs:n,...r}=e;if(n){t=[];for(let i of n){let o={...i,__proto__:qoe.prototype};o.map&&(o.map={...o.map,__proto__:Woe.prototype}),t.push(o)}}if(r.nodes&&(r.nodes=e.nodes.map(i=>Fd(i,t))),r.source){let{inputId:i,...o}=r.source;r.source=o,i!=null&&(r.source.input=t[i])}if(r.type==="root")return new Yoe(r);if(r.type==="decl")return new Voe(r);if(r.type==="rule")return new Xoe(r);if(r.type==="comment")return new Goe(r);if(r.type==="atrule")return new Koe(r);throw new Error("Unknown node type: "+e.type)}var Joe=Fd;Fd.default=Fd;var QI={};let Qoe=ox,YN=uv,Zoe=qN,ese=Lu,hx=zoe,tse=sv,nse=Joe,XN=ux,rse=BN,JN=cv,QN=cx,ise=lx,ose=lv,sse=dx,ase=VN,ZN=fx,eM=_h,use=av;function Ot(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new hx(e)}Ot.plugin=function(t,n){let r=!1;function i(...s){console&&console.warn&&!r&&(r=!0,console.warn(t+`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),QI.LANG&&QI.LANG.startsWith("cn")&&console.warn(t+`: 里面 postcss.plugin 被弃用. 迁移指南:
https://www.w3ctech.com/topic/2226`));let a=n(...s);return a.postcssPlugin=t,a.postcssVersion=new hx().version,a}let o;return Object.defineProperty(i,"postcss",{get(){return o||(o=i()),o}}),i.process=function(s,a,u){return Ot([i(u)]).process(s,a)},i};Ot.stringify=tse;Ot.parse=sse;Ot.fromJSON=nse;Ot.list=ase;Ot.comment=e=>new JN(e);Ot.atRule=e=>new QN(e);Ot.decl=e=>new YN(e);Ot.rule=e=>new ZN(e);Ot.root=e=>new eM(e);Ot.document=e=>new XN(e);Ot.CssSyntaxError=Qoe;Ot.Declaration=YN;Ot.Container=ese;Ot.Processor=hx;Ot.Document=XN;Ot.Comment=JN;Ot.Warning=rse;Ot.AtRule=QN;Ot.Result=ise;Ot.Input=ose;Ot.Rule=ZN;Ot.Root=eM;Ot.Node=use;Zoe.registerPostcss(Ot);var lse=Ot;Ot.default=Ot;const cse=W6,ZI=uie,{isPlainObject:fse}=rx,eC=xie,dse=Tie,{parse:hse}=lse,pse=["img","audio","video","picture","svg","object","map","iframe","embed"],mse=["script","style"];function mf(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function xo(e,t){return{}.hasOwnProperty.call(e,t)}function tC(e,t){const n=[];return mf(e,function(r){t(r)&&n.push(r)}),n}function gse(e){for(const t in e)if(xo(e,t))return!1;return!0}function vse(e){return e.map(function(t){if(!t.url)throw new Error("URL missing");return t.url+(t.w?` ${t.w}w`:"")+(t.h?` ${t.h}h`:"")+(t.d?` ${t.d}x`:"")}).join(", ")}var yse=Bd;const bse=/^[^\0\t\n\f\r /<=>]+$/;function Bd(e,t,n){if(e==null)return"";typeof e=="number"&&(e=e.toString());let r="",i="";function o(R,k){const P=this;this.tag=R,this.attribs=k||{},this.tagPosition=r.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(g.length){const N=g[g.length-1];N.text+=P.text}},this.updateParentNodeMediaChildren=function(){g.length&&pse.includes(this.tag)&&g[g.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},Bd.defaults,t),t.parser=Object.assign({},wse,t.parser);const s=function(R){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(R)>-1};mse.forEach(function(R){s(R)&&!t.allowVulnerableTags&&console.warn(`

⚠️ Your \`allowedTags\` option includes, \`${R}\`, which is inherently
vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
Or, to disable this warning, add the \`allowVulnerableTags\` option
and ensure you are accounting for this risk.

`)});const a=t.nonTextTags||["script","style","textarea","option"];let u,l;t.allowedAttributes&&(u={},l={},mf(t.allowedAttributes,function(R,k){u[k]=[];const P=[];R.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?P.push(ZI(N).replace(/\\\*/g,".*")):u[k].push(N)}),P.length&&(l[k]=new RegExp("^("+P.join("|")+")$"))}));const c={},f={},d={};mf(t.allowedClasses,function(R,k){u&&(xo(u,k)||(u[k]=[]),u[k].push("class")),c[k]=[],d[k]=[];const P=[];R.forEach(function(N){typeof N=="string"&&N.indexOf("*")>=0?P.push(ZI(N).replace(/\\\*/g,".*")):N instanceof RegExp?d[k].push(N):c[k].push(N)}),P.length&&(f[k]=new RegExp("^("+P.join("|")+")$"))});const h={};let p;mf(t.transformTags,function(R,k){let P;typeof R=="function"?P=R:typeof R=="string"&&(P=Bd.simpleTransform(R)),k==="*"?p=P:h[k]=P});let m,g,v,y,b,w,S=!1;_();const E=new cse.Parser({onopentag:function(R,k){if(t.enforceHtmlBoundary&&R==="html"&&_(),b){w++;return}const P=new o(R,k);g.push(P);let N=!1;const $=!!P.text;let F;if(xo(h,R)&&(F=h[R](R,k),P.attribs=k=F.attribs,F.text!==void 0&&(P.innerText=F.text),R!==F.tagName&&(P.name=R=F.tagName,y[m]=F.tagName)),p&&(F=p(R,k),P.attribs=k=F.attribs,R!==F.tagName&&(P.name=R=F.tagName,y[m]=F.tagName)),(!s(R)||t.disallowedTagsMode==="recursiveEscape"&&!gse(v)||t.nestingLimit!=null&&m>=t.nestingLimit)&&(N=!0,v[m]=!0,t.disallowedTagsMode==="discard"&&a.indexOf(R)!==-1&&(b=!0,w=1),v[m]=!0),m++,N){if(t.disallowedTagsMode==="discard")return;i=r,r=""}r+="<"+R,R==="script"&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(P.innerText=""),(!u||xo(u,R)||u["*"])&&mf(k,function(V,H){if(!bse.test(H)){delete P.attribs[H];return}let G=!1;if(!u||xo(u,R)&&u[R].indexOf(H)!==-1||u["*"]&&u["*"].indexOf(H)!==-1||xo(l,R)&&l[R].test(H)||l["*"]&&l["*"].test(H))G=!0;else if(u&&u[R]){for(const U of u[R])if(fse(U)&&U.name&&U.name===H){G=!0;let Y="";if(U.multiple===!0){const J=V.split(" ");for(const B of J)U.values.indexOf(B)!==-1&&(Y===""?Y=B:Y+=" "+B)}else U.values.indexOf(V)>=0&&(Y=V);V=Y}}if(G){if(t.allowedSchemesAppliedToAttributes.indexOf(H)!==-1&&O(R,V)){delete P.attribs[H];return}if(R==="script"&&H==="src"){let U=!0;try{const Y=T(V);if(t.allowedScriptHostnames||t.allowedScriptDomains){const J=(t.allowedScriptHostnames||[]).find(function(Z){return Z===Y.url.hostname}),B=(t.allowedScriptDomains||[]).find(function(Z){return Y.url.hostname===Z||Y.url.hostname.endsWith(`.${Z}`)});U=J||B}}catch{U=!1}if(!U){delete P.attribs[H];return}}if(R==="iframe"&&H==="src"){let U=!0;try{const Y=T(V);if(Y.isRelativeUrl)U=xo(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const J=(t.allowedIframeHostnames||[]).find(function(Z){return Z===Y.url.hostname}),B=(t.allowedIframeDomains||[]).find(function(Z){return Y.url.hostname===Z||Y.url.hostname.endsWith(`.${Z}`)});U=J||B}}catch{U=!1}if(!U){delete P.attribs[H];return}}if(H==="srcset")try{let U=dse(V);if(U.forEach(function(Y){O("srcset",Y.url)&&(Y.evil=!0)}),U=tC(U,function(Y){return!Y.evil}),U.length)V=vse(tC(U,function(Y){return!Y.evil})),P.attribs[H]=V;else{delete P.attribs[H];return}}catch{delete P.attribs[H];return}if(H==="class"){const U=c[R],Y=c["*"],J=f[R],B=d[R],Z=f["*"],ue=[J,Z].concat(B).filter(function(de){return de});if(U&&Y?V=D(V,eC(U,Y),ue):V=D(V,U||Y,ue),!V.length){delete P.attribs[H];return}}if(H==="style"){if(t.parseStyleAttributes)try{const U=hse(R+" {"+V+"}"),Y=x(U,t.allowedStyles);if(V=I(Y),V.length===0){delete P.attribs[H];return}}catch{console.warn('Failed to parse "'+R+" {"+V+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete P.attribs[H];return}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}r+=" "+H,V&&V.length&&(r+='="'+C(V,!0)+'"')}else delete P.attribs[H]}),t.selfClosing.indexOf(R)!==-1?r+=" />":(r+=">",P.innerText&&!$&&!t.textFilter&&(r+=C(P.innerText),S=!0)),N&&(r=i+C(r),i="")},ontext:function(R){if(b)return;const k=g[g.length-1];let P;if(k&&(P=k.tag,R=k.innerText!==void 0?k.innerText:R),t.disallowedTagsMode==="discard"&&(P==="script"||P==="style"))r+=R;else{const N=C(R,!1);t.textFilter&&!S?r+=t.textFilter(N,P):S||(r+=N)}if(g.length){const N=g[g.length-1];N.text+=R}},onclosetag:function(R,k){if(b)if(w--,!w)b=!1;else return;const P=g.pop();if(!P)return;if(P.tag!==R){g.push(P);return}b=t.enforceHtmlBoundary?R==="html":!1,m--;const N=v[m];if(N){if(delete v[m],t.disallowedTagsMode==="discard"){P.updateParentNodeText();return}i=r,r=""}if(y[m]&&(R=y[m],delete y[m]),t.exclusiveFilter&&t.exclusiveFilter(P)){r=r.substr(0,P.tagPosition);return}if(P.updateParentNodeMediaChildren(),P.updateParentNodeText(),t.selfClosing.indexOf(R)!==-1||k&&!s(R)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){N&&(r=i,i="");return}r+="</"+R+">",N&&(r=i+C(r),i=""),S=!1}},t.parser);return E.write(e),E.end(),r;function _(){r="",m=0,g=[],v={},y={},b=!1,w=0}function C(R,k){return typeof R!="string"&&(R=R+""),t.parser.decodeEntities&&(R=R.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),k&&(R=R.replace(/"/g,"&quot;"))),R=R.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),k&&(R=R.replace(/"/g,"&quot;")),R}function O(R,k){for(k=k.replace(/[\x00-\x20]+/g,"");;){const $=k.indexOf("<!--");if($===-1)break;const F=k.indexOf("-->",$+4);if(F===-1)break;k=k.substring(0,$)+k.substring(F+3)}const P=k.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!P)return k.match(/^[/\\]{2}/)?!t.allowProtocolRelative:!1;const N=P[1].toLowerCase();return xo(t.allowedSchemesByTag,R)?t.allowedSchemesByTag[R].indexOf(N)===-1:!t.allowedSchemes||t.allowedSchemes.indexOf(N)===-1}function T(R){if(R=R.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),R.startsWith("relative:"))throw new Error("relative: exploit attempt");let k="relative://relative-site";for(let $=0;$<100;$++)k+=`/${$}`;const P=new URL(R,k);return{isRelativeUrl:P&&P.hostname==="relative-site"&&P.protocol==="relative:",url:P}}function x(R,k){if(!k)return R;const P=R.nodes[0];let N;return k[P.selector]&&k["*"]?N=eC(k[P.selector],k["*"]):N=k[P.selector]||k["*"],N&&(R.nodes[0].nodes=P.nodes.reduce(A(N),[])),R}function I(R){return R.nodes[0].nodes.reduce(function(k,P){return k.push(`${P.prop}:${P.value}${P.important?" !important":""}`),k},[]).join(";")}function A(R){return function(k,P){return xo(R,P.prop)&&R[P.prop].some(function($){return $.test(P.value)})&&k.push(P),k}}function D(R,k,P){return k?(R=R.split(/\s+/),R.filter(function(N){return k.indexOf(N)!==-1||P.some(function($){return $.test(N)})}).join(" ")):R}}const wse={decodeEntities:!0};Bd.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0};Bd.simpleTransform=function(e,t,n){return n=n===void 0?!0:n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}};const ode=Su(yse);var px={},mx={};Object.defineProperty(mx,"__esModule",{value:!0});var Wy=new WeakMap,nC=0;function Ese(e){if(!e.length)return"";for(var t="arg",n=0;n<e.length;++n){var r=void 0;e[n]===null||typeof e[n]!="object"&&typeof e[n]!="function"?typeof e[n]=="string"?r='"'+e[n]+'"':r=String(e[n]):Wy.has(e[n])?r=Wy.get(e[n]):(r=nC,Wy.set(e[n],nC++)),t+="@"+r}return t}mx.default=Ese;var Sse=Oe&&Oe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(px,"__esModule",{value:!0});var xse=Sse(mx);function Tse(e){if(typeof e=="function")try{e=e()}catch{e=""}return Array.isArray(e)?e=(0,xse.default)(e):e=String(e||""),e}var _se=function(){function e(t){t===void 0&&(t=0),this.items=new Map,this.ttl=t}return e.prototype.serializeKey=function(t){return Tse(t)},e.prototype.get=function(t){var n=this.serializeKey(t);return this.items.get(n)},e.prototype.set=function(t,n,r){var i=this.serializeKey(t),o=r||this.ttl,s=Date.now(),a={data:n,createdAt:s,expiresAt:o?s+o:1/0};this.dispatchExpire(o,a,i),this.items.set(i,a)},e.prototype.dispatchExpire=function(t,n,r){var i=this;t&&setTimeout(function(){var o=Date.now(),s=o>=n.expiresAt;s&&i.delete(r)},t)},e.prototype.delete=function(t){this.items.delete(t)},e}(),sde=px.default=_se,fv={};const tM=Hw(uF);var gx={};Object.defineProperty(gx,"__esModule",{value:!0});function Ose(){return typeof navigator.onLine<"u"?navigator.onLine:!0}function Ise(){return typeof document<"u"&&typeof document.visibilityState<"u"?document.visibilityState!=="hidden":!0}var Cse=function(e){return fetch(e).then(function(t){return t.json()})};gx.default={isOnline:Ose,isDocumentVisible:Ise,fetcher:Cse};var Io=Oe&&Oe.__assign||function(){return Io=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Io.apply(this,arguments)},cl=Oe&&Oe.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{l(r.next(c))}catch(f){s(f)}}function u(c){try{l(r.throw(c))}catch(f){s(f)}}function l(c){c.done?o(c.value):i(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})},fl=Oe&&Oe.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(c){return u([l,c])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){n.label=l[1];break}if(l[0]===6&&n.label<o[1]){n.label=o[1],o=l;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(l);break}o[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(c){l=[6,c],i=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Ase=Oe&&Oe.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},kse=Oe&&Oe.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},nM=Oe&&Oe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(fv,"__esModule",{value:!0});fv.mutate=void 0;var gs=tM,Gy=nM(gx),vx=nM(px),rM=new vx.default,qg=new vx.default,Ky=new vx.default,iM={cache:rM,refreshInterval:0,ttl:0,serverTTL:1e3,dedupingInterval:2e3,revalidateOnFocus:!0,revalidateDebounce:0,shouldRetryOnError:!0,errorRetryInterval:5e3,errorRetryCount:5,fetcher:Gy.default.fetcher,isOnline:Gy.default.isOnline,isDocumentVisible:Gy.default.isDocumentVisible};function Rse(e,t,n){var r=qg.get(e);if(r)r.data.push(t);else{var i=5e3;qg.set(e,[t],n>0?n+i:n)}}function Pse(e,t,n){if(n.isDocumentVisible()&&!(n.errorRetryCount!==void 0&&t>n.errorRetryCount)){var r=Math.min(t||0,n.errorRetryCount),i=r*n.errorRetryInterval;setTimeout(function(){e(null,{errorRetryCount:r+1,shouldRetryOnError:!0})},i)}}var Ow=function(e,t,n,r){return n===void 0&&(n=rM),r===void 0&&(r=iM.ttl),cl(void 0,void 0,void 0,function(){var i,o,s,a,u,l,c;return fl(this,function(f){switch(f.label){case 0:if(!Nse(t))return[3,5];f.label=1;case 1:return f.trys.push([1,3,,4]),[4,t];case 2:return i=f.sent(),[3,4];case 3:return a=f.sent(),o=a,[3,4];case 4:return[3,6];case 5:i=t,f.label=6;case 6:return s=!1,u={data:i,error:o,isValidating:s},typeof i<"u"&&n.set(e,u,r),l=qg.get(e),l&&l.data.length&&(c=l.data.filter(function(d){return d.key===e}),c.forEach(function(d,h){typeof u.data<"u"&&(d.data=u.data),d.error=u.error,d.isValidating=u.isValidating;var p=h===c.length-1;p||delete c[h]}),c=c.filter(Boolean)),[2,u]}})})};fv.mutate=Ow;function Dse(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r,i,o=Io({},iM),s=!1,a=!1,u=(0,gs.getCurrentInstance)(),l=(u==null?void 0:u.proxy)||u;if(!l)return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."),null;var c=l.$isServer;t.length>=1&&(r=t[0]),t.length>=2&&(i=t[1]),t.length>2&&(o=Io(Io({},o),t[2]));var f=c?o.serverTTL:o.ttl,d=typeof r=="function"?r:(0,gs.ref)(r);typeof i>"u"&&(i=o.fetcher);var h=null;h||(h=(0,gs.reactive)({data:void 0,error:void 0,isValidating:!0,key:null}));var p=function(y,b){return cl(e,void 0,void 0,function(){var w,S,E,_,C,O,T,x=this;return fl(this,function(I){switch(I.label){case 0:return w=h.data===void 0,S=d.value,S?(E=o.cache.get(S),_=E&&E.data,h.isValidating=!0,_&&(h.data=_.data,h.error=_.error),C=y||i,!C||!o.isDocumentVisible()&&!w||(b==null?void 0:b.forceRevalidate)!==void 0&&!(b!=null&&b.forceRevalidate)?(h.isValidating=!1,[2]):E&&(O=!!(Date.now()-E.createdAt>=o.dedupingInterval||b!=null&&b.forceRevalidate),!O)?(h.isValidating=!1,[2]):(T=function(){return cl(x,void 0,void 0,function(){var A,D,R,k;return fl(this,function(P){switch(P.label){case 0:return A=Ky.get(S),A?[3,2]:(D=Array.isArray(S)?S:[S],R=C.apply(void 0,kse([],Ase(D),!1)),Ky.set(S,R,o.dedupingInterval),[4,Ow(S,R,o.cache,f)]);case 1:return P.sent(),[3,4];case 2:return[4,Ow(S,A.data,o.cache,f)];case 3:P.sent(),P.label=4;case 4:return h.isValidating=!1,Ky.delete(S),h.error!==void 0&&(k=o.shouldRetryOnError&&(b?b.shouldRetryOnError:!0),k&&Pse(p,b?b.errorRetryCount:1,o)),[2]}})})},_&&o.revalidateDebounce?[4,setTimeout(function(){return cl(x,void 0,void 0,function(){return fl(this,function(A){switch(A.label){case 0:return s?[3,2]:[4,T()];case 1:A.sent(),A.label=2;case 2:return[2]}})})},o.revalidateDebounce)]:[3,2])):[2];case 1:return I.sent(),[3,4];case 2:return[4,T()];case 3:I.sent(),I.label=4;case 4:return[2]}})})},m=function(){return cl(e,void 0,void 0,function(){return fl(this,function(y){return[2,p(null,{shouldRetryOnError:!1})]})})},g=null;(0,gs.onMounted)(function(){var y=function(){return cl(e,void 0,void 0,function(){return fl(this,function(b){switch(b.label){case 0:return!h.error&&o.isOnline()?[4,p()]:[3,2];case 1:return b.sent(),[3,3];case 2:g&&clearTimeout(g),b.label=3;case 3:return o.refreshInterval&&!s&&(g=setTimeout(y,o.refreshInterval)),[2]}})})};o.refreshInterval&&(g=setTimeout(y,o.refreshInterval)),o.revalidateOnFocus&&(document.addEventListener("visibilitychange",m,!1),window.addEventListener("focus",m,!1))}),(0,gs.onUnmounted)(function(){s=!0,g&&clearTimeout(g),o.revalidateOnFocus&&(document.removeEventListener("visibilitychange",m,!1),window.removeEventListener("focus",m,!1));var y=qg.get(d.value);y&&(y.data=y.data.filter(function(b){return b!==h}))});try{(0,gs.watch)(d,function(y){(0,gs.isReadonly)(d)||(d.value=y),h.key=y,h.isValidating=!!y,Rse(d.value,h,f),!c&&!a&&d.value&&p(),a=!1},{immediate:!0})}catch{}var v=Io(Io({},(0,gs.toRefs)(h)),{mutate:function(y,b){return p(y,Io(Io({},b),{forceRevalidate:!0}))}});return v}function Nse(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var ade=fv.default=Dse;function rf(e,t,n){let r=n.initialDeps??[],i;return()=>{var o,s,a,u;let l;n.key&&((o=n.debug)!=null&&o.call(n))&&(l=Date.now());const c=e();if(!(c.length!==r.length||c.some((h,p)=>r[p]!==h)))return i;r=c;let d;if(n.key&&((s=n.debug)!=null&&s.call(n))&&(d=Date.now()),i=t(...c),n.key&&((a=n.debug)!=null&&a.call(n))){const h=Math.round((Date.now()-l)*100)/100,p=Math.round((Date.now()-d)*100)/100,m=p/16,g=(v,y)=>{for(v=String(v);v.length<y;)v=" "+v;return v};console.info(`%c⏱ ${g(p,5)} /${g(h,5)} ms`,`
            font-size: .6rem;
            font-weight: bold;
            color: hsl(${Math.max(0,Math.min(120-120*m,120))}deg 100% 31%);`,n==null?void 0:n.key)}return(u=n==null?void 0:n.onChange)==null||u.call(n,i),i}}function qy(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const Mse=(e,t)=>Math.abs(e-t)<1,oM=(e,t)=>{let n;return function(...r){clearTimeout(n),n=setTimeout(()=>e.apply(this,r),t)}},Lse=e=>e,$se=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=t;i<=n;i++)r.push(i);return r},Fse=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=o=>{const{width:s,height:a}=o;t({width:Math.round(s),height:Math.round(a)})};if(r(n.getBoundingClientRect()),typeof ResizeObserver>"u")return()=>{};const i=new ResizeObserver(o=>{const s=o[0];if(s!=null&&s.borderBoxSize){const a=s.borderBoxSize[0];if(a){r({width:a.inlineSize,height:a.blockSize});return}}r(n.getBoundingClientRect())});return i.observe(n,{box:"border-box"}),()=>{i.unobserve(n)}},jd={passive:!0},Bse=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=()=>{t({width:n.innerWidth,height:n.innerHeight})};return r(),n.addEventListener("resize",r,jd),()=>{n.removeEventListener("resize",r)}},sM=typeof window>"u"?!0:"onscrollend"in window,jse=(e,t)=>{const n=e.scrollElement;if(!n)return;let r=0;const i=sM?()=>{}:oM(()=>{t(r,!1)},e.options.isScrollingResetDelay),o=u=>()=>{r=n[e.options.horizontal?"scrollLeft":"scrollTop"],i(),t(r,u)},s=o(!0),a=o(!1);return a(),n.addEventListener("scroll",s,jd),n.addEventListener("scrollend",a,jd),()=>{n.removeEventListener("scroll",s),n.removeEventListener("scrollend",a)}},Hse=(e,t)=>{const n=e.scrollElement;if(!n)return;let r=0;const i=sM?()=>{}:oM(()=>{t(r,!1)},e.options.isScrollingResetDelay),o=u=>()=>{r=n[e.options.horizontal?"scrollX":"scrollY"],i(),t(r,u)},s=o(!0),a=o(!1);return a(),n.addEventListener("scroll",s,jd),n.addEventListener("scrollend",a,jd),()=>{n.removeEventListener("scroll",s),n.removeEventListener("scrollend",a)}},Use=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},zse=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;const s=e+t;(o=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||o.call(i,{[r.options.horizontal?"left":"top"]:s,behavior:n})},Vse=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;const s=e+t;(o=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||o.call(i,{[r.options.horizontal?"left":"top"]:s,behavior:n})};class Wse{constructor(t){this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollDirection=null,this.scrollAdjustments=0,this.measureElementCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(typeof ResizeObserver<"u"?n=new ResizeObserver(i=>{i.forEach(o=>{this._measureElement(o.target,o)})}):null);return{disconnect:()=>{var i;return(i=r())==null?void 0:i.disconnect()},observe:i=>{var o;return(o=r())==null?void 0:o.observe(i,{box:"border-box"})},unobserve:i=>{var o;return(o=r())==null?void 0:o.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,i])=>{typeof i>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Lse,rangeExtractor:$se,onChange:()=>{},measureElement:Use,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,...n}},this.notify=(n,r)=>{var i,o;const{startIndex:s,endIndex:a}=this.range??{startIndex:void 0,endIndex:void 0},u=this.calculateRange();(n||s!==(u==null?void 0:u.startIndex)||a!==(u==null?void 0:u.endIndex))&&((o=(i=this.options).onChange)==null||o.call(i,this,r))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.scrollElement=null},this._didMount=()=>(this.measureElementCache.forEach(this.observer.observe),()=>{this.observer.disconnect(),this.cleanup()}),this._willUpdate=()=>{const n=this.options.getScrollElement();this.scrollElement!==n&&(this.cleanup(),this.scrollElement=n,this._scrollToOffset(this.scrollOffset,{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.notify(!1,!1)})),this.unsubs.push(this.options.observeElementOffset(this,(r,i)=>{this.scrollAdjustments=0,this.scrollDirection=i?this.scrollOffset<r?"forward":"backward":null,this.scrollOffset=r;const o=this.isScrolling;this.isScrolling=i,this.notify(o!==i,i)})))},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.getMeasurementOptions=rf(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey],(n,r,i,o)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:i,getItemKey:o}),{key:!1}),this.getFurthestMeasurement=(n,r)=>{const i=new Map,o=new Map;for(let s=r-1;s>=0;s--){const a=n[s];if(i.has(a.lane))continue;const u=o.get(a.lane);if(u==null||a.end>u.end?o.set(a.lane,a):a.end<u.end&&i.set(a.lane,!0),i.size===this.options.lanes)break}return o.size===this.options.lanes?Array.from(o.values()).sort((s,a)=>s.end===a.end?s.index-a.index:s.end-a.end)[0]:void 0},this.getMeasurements=rf(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:i,getItemKey:o},s)=>{const a=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const u=this.measurementsCache.slice(0,a);for(let l=a;l<n;l++){const c=o(l),f=this.options.lanes===1?u[l-1]:this.getFurthestMeasurement(u,l),d=f?f.end+this.options.gap:r+i,h=s.get(c),p=typeof h=="number"?h:this.options.estimateSize(l),m=d+p,g=f?f.lane:l%this.options.lanes;u[l]={index:l,start:d,size:p,end:m,key:c,lane:g}}return this.measurementsCache=u,u},{key:!1,debug:()=>this.options.debug}),this.calculateRange=rf(()=>[this.getMeasurements(),this.getSize(),this.scrollOffset],(n,r,i)=>this.range=n.length>0&&r>0?Gse({measurements:n,outerSize:r,scrollOffset:i}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=rf(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(n,r,i,o)=>r===null?[]:n({startIndex:r.startIndex,endIndex:r.endIndex,overscan:i,count:o}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,i=n.getAttribute(r);return i?parseInt(i,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const i=this.measurementsCache[this.indexFromElement(n)];if(!i||!n.isConnected){this.measureElementCache.forEach((a,u)=>{a===n&&(this.observer.unobserve(n),this.measureElementCache.delete(u))});return}const o=this.measureElementCache.get(i.key);o!==n&&(o&&this.observer.unobserve(o),this.observer.observe(n),this.measureElementCache.set(i.key,n));const s=this.options.measureElement(n,r,this);this.resizeItem(i,s)},this.resizeItem=(n,r)=>{const i=this.itemSizeCache.get(n.key)??n.size,o=r-i;o!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,o,this):n.start<this.scrollOffset+this.scrollAdjustments)&&this._scrollToOffset(this.scrollOffset,{adjustments:this.scrollAdjustments+=o,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,r)),this.notify(!0,!1))},this.measureElement=n=>{n&&this._measureElement(n,void 0)},this.getVirtualItems=rf(()=>[this.getIndexes(),this.getMeasurements()],(n,r)=>{const i=[];for(let o=0,s=n.length;o<s;o++){const a=n[o],u=r[a];i.push(u)}return i},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();return qy(r[aM(0,r.length-1,i=>qy(r[i]).start,n)])},this.getOffsetForAlignment=(n,r)=>{const i=this.getSize();r==="auto"&&(n<=this.scrollOffset?r="start":n>=this.scrollOffset+i?r="end":r="start"),r==="start"?n=n:r==="end"?n=n-i:r==="center"&&(n=n-i/2);const o=this.options.horizontal?"scrollWidth":"scrollHeight",a=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[o]:this.scrollElement[o]:0)-this.getSize();return Math.max(Math.min(a,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=qy(this.getMeasurements()[n]);if(r==="auto")if(i.end>=this.scrollOffset+this.getSize()-this.options.scrollPaddingEnd)r="end";else if(i.start<=this.scrollOffset+this.options.scrollPaddingStart)r="start";else return[this.scrollOffset,r];const o=r==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,r),r]},this.isDynamicMode=()=>this.measureElementCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&(clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:r="start",behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:i})},this.scrollToIndex=(n,{align:r="auto",behavior:i}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const[o,s]=this.getOffsetForIndex(n,r);this._scrollToOffset(o,{adjustments:void 0,behavior:i}),i!=="smooth"&&this.isDynamicMode()&&(this.scrollToIndexTimeoutId=setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.measureElementCache.has(this.options.getItemKey(n))){const[u]=this.getOffsetForIndex(n,s);Mse(u,this.scrollOffset)||this.scrollToIndex(n,{align:s,behavior:i})}else this.scrollToIndex(n,{align:s,behavior:i})}))},this.scrollBy=(n,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.scrollOffset+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let i;return r.length===0?i=this.options.paddingStart:i=this.options.lanes===1?((n=r[r.length-1])==null?void 0:n.end)??0:Math.max(...r.slice(-this.options.lanes).map(o=>o.end)),i-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(n,{adjustments:r,behavior:i})=>{this.options.scrollToFn(n,{behavior:i,adjustments:r},this)},this.measure=()=>{var n,r;this.itemSizeCache=new Map,(r=(n=this.options).onChange)==null||r.call(n,this,!1)},this.setOptions(t),this.scrollRect=this.options.initialRect,this.scrollOffset=typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(n=>{this.itemSizeCache.set(n.key,n.size)}),this.notify(!1,!1)}}const aM=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,o=n(i);if(o<r)e=i+1;else if(o>r)t=i-1;else return i}return e>0?e-1:0};function Gse({measurements:e,outerSize:t,scrollOffset:n}){const r=e.length-1,o=aM(0,r,a=>e[a].start,n);let s=o;for(;s<r&&e[s].end<n+t;)s++;return{startIndex:o,endIndex:s}}function uM(e){const t=new Wse(ln(e)),n=gc(t),r=t._didMount();return on(()=>ln(e).getScrollElement(),i=>{i&&t._willUpdate()},{immediate:!0}),on(()=>ln(e),i=>{t.setOptions({...i,onChange:(o,s)=>{var a;hb(n),(a=i.onChange)==null||a.call(i,o,s)}}),t._willUpdate(),hb(n)},{immediate:!0}),oA(r),n}function ude(e){return uM(_e(()=>({observeElementRect:Fse,observeElementOffset:jse,scrollToFn:Vse,...ln(e)})))}function lde(e){return uM(_e(()=>({getScrollElement:()=>typeof document<"u"?window:null,observeElementRect:Bse,observeElementOffset:Hse,scrollToFn:zse,initialOffset:()=>typeof document<"u"?window.scrollY:0,...ln(e)})))}var lM={exports:{}};/*!
 * clipboard.js v2.0.11
 * https://clipboardjs.com/
 *
 * Licensed MIT © Zeno Rocha
 */(function(e,t){(function(r,i){e.exports=i()})(Oe,function(){return function(){var n={686:function(o,s,a){a.d(s,{default:function(){return V}});var u=a(279),l=a.n(u),c=a(370),f=a.n(c),d=a(817),h=a.n(d);function p(H){try{return document.execCommand(H)}catch{return!1}}var m=function(G){var U=h()(G);return p("cut"),U},g=m;function v(H){var G=document.documentElement.getAttribute("dir")==="rtl",U=document.createElement("textarea");U.style.fontSize="12pt",U.style.border="0",U.style.padding="0",U.style.margin="0",U.style.position="absolute",U.style[G?"right":"left"]="-9999px";var Y=window.pageYOffset||document.documentElement.scrollTop;return U.style.top="".concat(Y,"px"),U.setAttribute("readonly",""),U.value=H,U}var y=function(G,U){var Y=v(G);U.container.appendChild(Y);var J=h()(Y);return p("copy"),Y.remove(),J},b=function(G){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},Y="";return typeof G=="string"?Y=y(G,U):G instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(G==null?void 0:G.type)?Y=y(G.value,U):(Y=h()(G),p("copy")),Y},w=b;function S(H){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(U){return typeof U}:S=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},S(H)}var E=function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=G.action,Y=U===void 0?"copy":U,J=G.container,B=G.target,Z=G.text;if(Y!=="copy"&&Y!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(B!==void 0)if(B&&S(B)==="object"&&B.nodeType===1){if(Y==="copy"&&B.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(Y==="cut"&&(B.hasAttribute("readonly")||B.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Z)return w(Z,{container:J});if(B)return Y==="cut"?g(B):w(B,{container:J})},_=E;function C(H){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(U){return typeof U}:C=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},C(H)}function O(H,G){if(!(H instanceof G))throw new TypeError("Cannot call a class as a function")}function T(H,G){for(var U=0;U<G.length;U++){var Y=G[U];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(H,Y.key,Y)}}function x(H,G,U){return G&&T(H.prototype,G),U&&T(H,U),H}function I(H,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function");H.prototype=Object.create(G&&G.prototype,{constructor:{value:H,writable:!0,configurable:!0}}),G&&A(H,G)}function A(H,G){return A=Object.setPrototypeOf||function(Y,J){return Y.__proto__=J,Y},A(H,G)}function D(H){var G=P();return function(){var Y=N(H),J;if(G){var B=N(this).constructor;J=Reflect.construct(Y,arguments,B)}else J=Y.apply(this,arguments);return R(this,J)}}function R(H,G){return G&&(C(G)==="object"||typeof G=="function")?G:k(H)}function k(H){if(H===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H}function P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function N(H){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},N(H)}function $(H,G){var U="data-clipboard-".concat(H);if(G.hasAttribute(U))return G.getAttribute(U)}var F=function(H){I(U,H);var G=D(U);function U(Y,J){var B;return O(this,U),B=G.call(this),B.resolveOptions(J),B.listenClick(Y),B}return x(U,[{key:"resolveOptions",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof J.action=="function"?J.action:this.defaultAction,this.target=typeof J.target=="function"?J.target:this.defaultTarget,this.text=typeof J.text=="function"?J.text:this.defaultText,this.container=C(J.container)==="object"?J.container:document.body}},{key:"listenClick",value:function(J){var B=this;this.listener=f()(J,"click",function(Z){return B.onClick(Z)})}},{key:"onClick",value:function(J){var B=J.delegateTarget||J.currentTarget,Z=this.action(B)||"copy",ue=_({action:Z,container:this.container,target:this.target(B),text:this.text(B)});this.emit(ue?"success":"error",{action:Z,text:ue,trigger:B,clearSelection:function(){B&&B.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(J){return $("action",J)}},{key:"defaultTarget",value:function(J){var B=$("target",J);if(B)return document.querySelector(B)}},{key:"defaultText",value:function(J){return $("text",J)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(J){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return w(J,B)}},{key:"cut",value:function(J){return g(J)}},{key:"isSupported",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],B=typeof J=="string"?[J]:J,Z=!!document.queryCommandSupported;return B.forEach(function(ue){Z=Z&&!!document.queryCommandSupported(ue)}),Z}}]),U}(l()),V=F},828:function(o){var s=9;if(typeof Element<"u"&&!Element.prototype.matches){var a=Element.prototype;a.matches=a.matchesSelector||a.mozMatchesSelector||a.msMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector}function u(l,c){for(;l&&l.nodeType!==s;){if(typeof l.matches=="function"&&l.matches(c))return l;l=l.parentNode}}o.exports=u},438:function(o,s,a){var u=a(828);function l(d,h,p,m,g){var v=f.apply(this,arguments);return d.addEventListener(p,v,g),{destroy:function(){d.removeEventListener(p,v,g)}}}function c(d,h,p,m,g){return typeof d.addEventListener=="function"?l.apply(null,arguments):typeof p=="function"?l.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(v){return l(v,h,p,m,g)}))}function f(d,h,p,m){return function(g){g.delegateTarget=u(g.target,h),g.delegateTarget&&m.call(d,g)}}o.exports=c},879:function(o,s){s.node=function(a){return a!==void 0&&a instanceof HTMLElement&&a.nodeType===1},s.nodeList=function(a){var u=Object.prototype.toString.call(a);return a!==void 0&&(u==="[object NodeList]"||u==="[object HTMLCollection]")&&"length"in a&&(a.length===0||s.node(a[0]))},s.string=function(a){return typeof a=="string"||a instanceof String},s.fn=function(a){var u=Object.prototype.toString.call(a);return u==="[object Function]"}},370:function(o,s,a){var u=a(879),l=a(438);function c(p,m,g){if(!p&&!m&&!g)throw new Error("Missing required arguments");if(!u.string(m))throw new TypeError("Second argument must be a String");if(!u.fn(g))throw new TypeError("Third argument must be a Function");if(u.node(p))return f(p,m,g);if(u.nodeList(p))return d(p,m,g);if(u.string(p))return h(p,m,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,m,g){return p.addEventListener(m,g),{destroy:function(){p.removeEventListener(m,g)}}}function d(p,m,g){return Array.prototype.forEach.call(p,function(v){v.addEventListener(m,g)}),{destroy:function(){Array.prototype.forEach.call(p,function(v){v.removeEventListener(m,g)})}}}function h(p,m,g){return l(document.body,p,m,g)}o.exports=c},817:function(o){function s(a){var u;if(a.nodeName==="SELECT")a.focus(),u=a.value;else if(a.nodeName==="INPUT"||a.nodeName==="TEXTAREA"){var l=a.hasAttribute("readonly");l||a.setAttribute("readonly",""),a.select(),a.setSelectionRange(0,a.value.length),l||a.removeAttribute("readonly"),u=a.value}else{a.hasAttribute("contenteditable")&&a.focus();var c=window.getSelection(),f=document.createRange();f.selectNodeContents(a),c.removeAllRanges(),c.addRange(f),u=c.toString()}return u}o.exports=s},279:function(o){function s(){}s.prototype={on:function(a,u,l){var c=this.e||(this.e={});return(c[a]||(c[a]=[])).push({fn:u,ctx:l}),this},once:function(a,u,l){var c=this;function f(){c.off(a,f),u.apply(l,arguments)}return f._=u,this.on(a,f,l)},emit:function(a){var u=[].slice.call(arguments,1),l=((this.e||(this.e={}))[a]||[]).slice(),c=0,f=l.length;for(c;c<f;c++)l[c].fn.apply(l[c].ctx,u);return this},off:function(a,u){var l=this.e||(this.e={}),c=l[a],f=[];if(c&&u)for(var d=0,h=c.length;d<h;d++)c[d].fn!==u&&c[d].fn._!==u&&f.push(c[d]);return f.length?l[a]=f:delete l[a],this}},o.exports=s,o.exports.TinyEmitter=s}},r={};function i(o){if(r[o])return r[o].exports;var s=r[o]={exports:{}};return n[o](s,s.exports,i),s.exports}return function(){i.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(s,{a:s}),s}}(),function(){i.d=function(o,s){for(var a in s)i.o(s,a)&&!i.o(o,a)&&Object.defineProperty(o,a,{enumerable:!0,get:s[a]})}}(),function(){i.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)}}(),i(686)}().default})})(lM);var Kse=lM.exports;const cde=Su(Kse);var cM={exports:{}};(function(e){(function(){var t=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],n=typeof window<"u",r=n&&window.mozInnerScreenX!=null;function i(o,s,a){if(!n)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var u=a&&a.debug||!1;if(u){var l=document.querySelector("#input-textarea-caret-position-mirror-div");l&&l.parentNode.removeChild(l)}var c=document.createElement("div");c.id="input-textarea-caret-position-mirror-div",document.body.appendChild(c);var f=c.style,d=window.getComputedStyle?window.getComputedStyle(o):o.currentStyle,h=o.nodeName==="INPUT";f.whiteSpace="pre-wrap",h||(f.wordWrap="break-word"),f.position="absolute",u||(f.visibility="hidden"),t.forEach(function(g){h&&g==="lineHeight"?f.lineHeight=d.height:f[g]=d[g]}),r?o.scrollHeight>parseInt(d.height)&&(f.overflowY="scroll"):f.overflow="hidden",c.textContent=o.value.substring(0,s),h&&(c.textContent=c.textContent.replace(/\s/g," "));var p=document.createElement("span");p.textContent=o.value.substring(s)||".",c.appendChild(p);var m={top:p.offsetTop+parseInt(d.borderTopWidth),left:p.offsetLeft+parseInt(d.borderLeftWidth),height:parseInt(d.lineHeight)};return u?p.style.backgroundColor="#aaa":document.body.removeChild(c),m}e.exports=i})()})(cM);var qse=cM.exports;const fde=Su(qse);function fM(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function dv(e){return fM(e)?new Date(e.getTime()):e==null?new Date(NaN):new Date(e)}function Yse(e){return fM(e)&&!isNaN(e.getTime())}function dM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!(t>=0&&t<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var n=dv(e),r=n.getDay(),i=(r+7-t)%7;return n.setDate(n.getDate()-i),n.setHours(0,0,0,0),n}function hM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.firstDayOfWeek,r=n===void 0?0:n,i=t.firstWeekContainsDate,o=i===void 0?1:i;if(!(o>=1&&o<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7");for(var s=dv(e),a=s.getFullYear(),u=new Date(0),l=a+1;l>=a-1&&(u.setFullYear(l,0,o),u.setHours(0,0,0,0),u=dM(u,r),!(s.getTime()>=u.getTime()));l--);return u}function yx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.firstDayOfWeek,r=n===void 0?0:n,i=t.firstWeekContainsDate,o=i===void 0?1:i,s=dv(e),a=dM(s,r),u=hM(s,{firstDayOfWeek:r,firstWeekContainsDate:o}),l=a.getTime()-u.getTime();return Math.round(l/(7*24*3600*1e3))+1}var bx={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1},Xse=/\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;function Rr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,n="".concat(Math.abs(e)),r=e<0?"-":"";n.length<t;)n="0".concat(n);return r+n}function rC(e){return Math.round(e.getTimezoneOffset()/15)*15}function iC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;return n+Rr(i,2)+t+Rr(o,2)}var oC=function(t,n,r){var i=t<12?"AM":"PM";return r?i.toLocaleLowerCase():i},Wf={Y:function(t){var n=t.getFullYear();return n<=9999?"".concat(n):"+".concat(n)},YY:function(t){return Rr(t.getFullYear(),4).substr(2)},YYYY:function(t){return Rr(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return Rr(t.getMonth()+1,2)},MMM:function(t,n){return n.monthsShort[t.getMonth()]},MMMM:function(t,n){return n.months[t.getMonth()]},D:function(t){return t.getDate()},DD:function(t){return Rr(t.getDate(),2)},H:function(t){return t.getHours()},HH:function(t){return Rr(t.getHours(),2)},h:function(t){var n=t.getHours();return n===0?12:n>12?n%12:n},hh:function(){var t=Wf.h.apply(Wf,arguments);return Rr(t,2)},m:function(t){return t.getMinutes()},mm:function(t){return Rr(t.getMinutes(),2)},s:function(t){return t.getSeconds()},ss:function(t){return Rr(t.getSeconds(),2)},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return Rr(Math.floor(t.getMilliseconds()/10),2)},SSS:function(t){return Rr(t.getMilliseconds(),3)},d:function(t){return t.getDay()},dd:function(t,n){return n.weekdaysMin[t.getDay()]},ddd:function(t,n){return n.weekdaysShort[t.getDay()]},dddd:function(t,n){return n.weekdays[t.getDay()]},A:function(t,n){var r=n.meridiem||oC;return r(t.getHours(),t.getMinutes(),!1)},a:function(t,n){var r=n.meridiem||oC;return r(t.getHours(),t.getMinutes(),!0)},Z:function(t){return iC(rC(t),":")},ZZ:function(t){return iC(rC(t))},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()},w:function(t,n){return yx(t,{firstDayOfWeek:n.firstDayOfWeek,firstWeekContainsDate:n.firstWeekContainsDate})},ww:function(t,n){return Rr(Wf.w(t,n),2)}};function wx(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",i=dv(e);if(!Yse(i))return"Invalid Date";var o=n.locale||bx;return r.replace(Xse,function(s,a){return a||(typeof Wf[s]=="function"?"".concat(Wf[s](i,o)):s)})}function sC(e){return Zse(e)||Qse(e)||Jse()}function Jse(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function Qse(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function Zse(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function aC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function eae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aC(n,!0).forEach(function(r){wa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aC(n).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function tae(e,t){return iae(e)||rae(e,t)||nae()}function nae(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function rae(e,t){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"){var n=[],r=!0,i=!1,o=void 0;try{for(var s=e[Symbol.iterator](),a;!(r=(a=s.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(u){i=!0,o=u}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw o}}return n}}function iae(e){if(Array.isArray(e))return e}function wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oae=/(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g,pM=/\d/,Ea=/\d\d/,sae=/\d{3}/,aae=/\d{4}/,$c=/\d\d?/,uae=/[+-]\d\d:?\d\d/,mM=/[+-]?\d+/,lae=/[+-]?\d+(\.\d{1,3})?/,Ex="year",hv="month",gM="day",vM="hour",yM="minute",bM="second",Sx="millisecond",wM={},Pt=function(t,n,r){var i=Array.isArray(t)?t:[t],o;typeof r=="string"?o=function(a){var u=parseInt(a,10);return wa({},r,u)}:o=r,i.forEach(function(s){wM[s]=[n,o]})},cae=function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},Oh=function(t){return function(n){var r=n[t];if(!Array.isArray(r))throw new Error("Locale[".concat(t,"] need an array"));return new RegExp(r.map(cae).join("|"))}},Ih=function(t,n){return function(r,i){var o=i[t];if(!Array.isArray(o))throw new Error("Locale[".concat(t,"] need an array"));var s=o.indexOf(r);if(s<0)throw new Error("Invalid Word");return wa({},n,s)}};Pt("Y",mM,Ex);Pt("YY",Ea,function(e){var t=new Date().getFullYear(),n=Math.floor(t/100),r=parseInt(e,10);return r=(r>68?n-1:n)*100+r,wa({},Ex,r)});Pt("YYYY",aae,Ex);Pt("M",$c,function(e){return wa({},hv,parseInt(e,10)-1)});Pt("MM",Ea,function(e){return wa({},hv,parseInt(e,10)-1)});Pt("MMM",Oh("monthsShort"),Ih("monthsShort",hv));Pt("MMMM",Oh("months"),Ih("months",hv));Pt("D",$c,gM);Pt("DD",Ea,gM);Pt(["H","h"],$c,vM);Pt(["HH","hh"],Ea,vM);Pt("m",$c,yM);Pt("mm",Ea,yM);Pt("s",$c,bM);Pt("ss",Ea,bM);Pt("S",pM,function(e){return wa({},Sx,parseInt(e,10)*100)});Pt("SS",Ea,function(e){return wa({},Sx,parseInt(e,10)*10)});Pt("SSS",sae,Sx);function fae(e){return e.meridiemParse||/[ap]\.?m?\.?/i}function dae(e){return"".concat(e).toLowerCase().charAt(0)==="p"}Pt(["A","a"],fae,function(e,t){var n=typeof t.isPM=="function"?t.isPM(e):dae(e);return{isPM:n}});function hae(e){var t=e.match(/([+-]|\d\d)/g)||["-","0","0"],n=tae(t,3),r=n[0],i=n[1],o=n[2],s=parseInt(i,10)*60+parseInt(o,10);return s===0?0:r==="+"?-s:+s}Pt(["Z","ZZ"],uae,function(e){return{offset:hae(e)}});Pt("x",mM,function(e){return{date:new Date(parseInt(e,10))}});Pt("X",lae,function(e){return{date:new Date(parseFloat(e)*1e3)}});Pt("d",pM,"weekday");Pt("dd",Oh("weekdaysMin"),Ih("weekdaysMin","weekday"));Pt("ddd",Oh("weekdaysShort"),Ih("weekdaysShort","weekday"));Pt("dddd",Oh("weekdays"),Ih("weekdays","weekday"));Pt("w",$c,"week");Pt("ww",Ea,"week");function pae(e,t){if(e!==void 0&&t!==void 0){if(t){if(e<12)return e+12}else if(e===12)return 0}return e}function mae(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Date,n=[0,0,1,0,0,0,0],r=[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()],i=!0,o=0;o<7;o++)e[o]===void 0?n[o]=i?r[o]:n[o]:(n[o]=e[o],i=!1);return n}function gae(e,t,n,r,i,o,s){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function vae(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];return i<100&&i>=0?(n[0]+=400,e=new Date(Date.UTC.apply(Date,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(i)):e=new Date(Date.UTC.apply(Date,n)),e}function yae(e,t,n){var r=t.match(oae);if(!r)throw new Error;for(var i=r.length,o={},s=0;s<i;s+=1){var a=r[s],u=wM[a];if(u){var c=typeof u[0]=="function"?u[0](n):u[0],f=u[1],d=(c.exec(e)||[])[0],h=f(d,n);o=eae({},o,{},h),e=e.replace(d,"")}else{var l=a.replace(/^\[|\]$/g,"");if(e.indexOf(l)===0)e=e.substr(l.length);else throw new Error("not match")}}return o}function bae(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};try{var r=n.locale,i=r===void 0?bx:r,o=n.backupDate,s=o===void 0?new Date:o,a=yae(e,t,i),u=a.year,l=a.month,c=a.day,f=a.hour,d=a.minute,h=a.second,p=a.millisecond,m=a.isPM,g=a.date,v=a.offset,y=a.weekday,b=a.week;if(g)return g;var w=[u,l,c,f,d,h,p];if(w[3]=pae(w[3],m),b!==void 0&&l===void 0&&c===void 0){var S=hM(u===void 0?s:new Date(u,3),{firstDayOfWeek:i.firstDayOfWeek,firstWeekContainsDate:i.firstWeekContainsDate});return new Date(S.getTime()+(b-1)*7*24*3600*1e3)}var E,_=mae(w,s);return v!==void 0?(_[6]+=v*60*1e3,E=vae.apply(void 0,sC(_))):E=gae.apply(void 0,sC(_)),y!==void 0&&E.getDay()!==y?new Date(NaN):E}catch{return new Date(NaN)}}var wae=Object.defineProperty,Eae=Object.defineProperties,Sae=Object.getOwnPropertyDescriptors,Yg=Object.getOwnPropertySymbols,EM=Object.prototype.hasOwnProperty,SM=Object.prototype.propertyIsEnumerable,uC=(e,t,n)=>t in e?wae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pn=(e,t)=>{for(var n in t||(t={}))EM.call(t,n)&&uC(e,n,t[n]);if(Yg)for(var n of Yg(t))SM.call(t,n)&&uC(e,n,t[n]);return e},oi=(e,t)=>Eae(e,Sae(t)),xae=(e,t)=>{var n={};for(var r in e)EM.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Yg)for(var r of Yg(e))t.indexOf(r)<0&&SM.call(e,r)&&(n[r]=e[r]);return n};const Tae={formatLocale:bx,yearFormat:"YYYY",monthFormat:"MMM",monthBeforeYear:!0};let gf="en";const dl={};dl[gf]=Tae;function xM(e,t,n=!1){if(typeof e!="string")return dl[gf];let r=gf;return dl[e]&&(r=e),t&&(dl[e]=t,r=e),n||(gf=r),dl[e]||dl[gf]}function Iw(e){return xM(e,void 0,!0)}function xx(e,t){if(!Array.isArray(e))return[];const n=[],r=e.length;let i=0;for(t=t||r;i<r;)n.push(e.slice(i,i+=t));return n}function lC(e){return Array.isArray(e)?e[e.length-1]:void 0}function Bs(e){return Object.prototype.toString.call(e)==="[object Object]"}function Vo(e,t){const n={};return Bs(e)&&(Array.isArray(t)||(t=[t]),t.forEach(r=>{Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])})),n}function TM(e,t){if(!Bs(e))return{};let n=e;return Bs(t)&&Object.keys(t).forEach(r=>{let i=t[r];const o=e[r];Bs(i)&&Bs(o)&&(i=TM(o,i)),n=oi(Pn({},n),{[r]:i})}),n}function Yy(e){const t=parseInt(String(e),10);return t<10?`0${t}`:`${t}`}function _ae(e){const t=/-(\w)/g;return e.replace(t,(n,r)=>r?r.toUpperCase():"")}const _M="datepicker_locale",OM="datepicker_prefixClass",IM="datepicker_getWeek";function Tx(){return cn(_M,gc(Iw()))}function Oae(e){const t=_e(()=>Bs(e.value)?TM(Iw(),e.value):Iw(e.value));return Fo(_M,t),t}function Iae(e){Fo(OM,e)}function pr(){return cn(OM,"mx")}function Cae(e){Fo(IM,e)}function Aae(){return cn(IM,yx)}function kae(e){const t=e.style.display,n=e.style.visibility;e.style.display="block",e.style.visibility="hidden";const r=window.getComputedStyle(e),i=e.offsetWidth+parseInt(r.marginLeft,10)+parseInt(r.marginRight,10),o=e.offsetHeight+parseInt(r.marginTop,10)+parseInt(r.marginBottom,10);return e.style.display=t,e.style.visibility=n,{width:i,height:o}}function Rae(e,t,n,r){let i=0,o=0,s=0,a=0;const u=e.getBoundingClientRect(),l=document.documentElement.clientWidth,c=document.documentElement.clientHeight;return r&&(s=window.pageXOffset+u.left,a=window.pageYOffset+u.top),l-u.left<t&&u.right<t?i=s-u.left+1:u.left+u.width/2<=l/2?i=s:i=s+u.width-t,u.top<=n&&c-u.bottom<=n?o=a+c-u.top-n:u.top+u.height/2<=c/2?o=a+u.height:o=a-n,{left:`${i}px`,top:`${o}px`}}function _x(e,t=document.body){if(!e||e===t)return null;const n=(o,s)=>getComputedStyle(o,null).getPropertyValue(s);return/(auto|scroll)/.test(n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x"))?e:_x(e.parentElement,t)}let $p;function Pae(){if(typeof window>"u")return 0;if($p!==void 0)return $p;const e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=document.createElement("div");return t.style.width="100%",e.appendChild(t),$p=e.offsetWidth-t.offsetWidth,e.parentNode.removeChild(e),$p}const cC="ontouchend"in document?"touchstart":"mousedown";function Dae(e){let t=!1;return function(...r){t||(t=!0,requestAnimationFrame(()=>{t=!1,e.apply(this,r)}))}}function us(e,t){return{setup:e,name:e.name,props:t}}function ls(e,t){return new Proxy(e,{get(r,i){const o=r[i];return o!==void 0?o:t[i]}})}const Sa=()=>e=>e,Nae=(e,t)=>{const n={};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const i=_ae(r);let o=e[r];t.indexOf(i)!==-1&&o===""&&(o=!0),n[i]=o}return n};function Mae(e,{slots:t}){const n=ls(e,{appendToBody:!0}),r=pr(),i=Je(null),o=Je({left:"",top:""}),s=()=>{if(!n.visible||!i.value)return;const u=n.getRelativeElement();if(!u)return;const{width:l,height:c}=kae(i.value);o.value=Rae(u,l,c,n.appendToBody)};_r(s,{flush:"post"}),_r(u=>{const l=n.getRelativeElement();if(!l)return;const c=_x(l)||window,f=Dae(s);c.addEventListener("scroll",f),window.addEventListener("resize",f),u(()=>{c.removeEventListener("scroll",f),window.removeEventListener("resize",f)})},{flush:"post"});const a=u=>{if(!n.visible)return;const l=u.target,c=i.value,f=n.getRelativeElement();c&&!c.contains(l)&&f&&!f.contains(l)&&n.onClickOutside(u)};return _r(u=>{document.addEventListener(cC,a),u(()=>{document.removeEventListener(cC,a)})}),()=>te(yc,{to:"body",disabled:!n.appendToBody},{default:()=>[te(gE,{name:`${r}-zoom-in-down`},{default:()=>{var u;return[n.visible&&te("div",{ref:i,class:`${r}-datepicker-main ${r}-datepicker-popup ${n.className}`,style:[Pn({position:"absolute"},o.value),n.style||{}]},[(u=t.default)==null?void 0:u.call(t)])]}})]})}const Lae=Sa()(["style","className","visible","appendToBody","onClickOutside","getRelativeElement"]);var $ae=us(Mae,Lae);const Fae={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},Bae=ge("path",{d:"M940.218 107.055H730.764v-60.51H665.6v60.51H363.055v-60.51H297.89v60.51H83.78c-18.617 0-32.581 13.963-32.581 32.581v805.237c0 18.618 13.964 32.582 32.582 32.582h861.09c18.619 0 32.583-13.964 32.583-32.582V139.636c-4.655-18.618-18.619-32.581-37.237-32.581zm-642.327 65.163v60.51h65.164v-60.51h307.2v60.51h65.163v-60.51h176.873v204.8H116.364v-204.8H297.89zM116.364 912.291V442.18H912.29v470.11H116.364z"},null,-1),jae=[Bae];function CM(e,t){return Se(),Ne("svg",Fae,jae)}const Hae={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},Uae=ge("path",{d:"M810.005 274.005 572.011 512l237.994 237.995-60.01 60.01L512 572.011 274.005 810.005l-60.01-60.01L451.989 512 213.995 274.005l60.01-60.01L512 451.989l237.995-237.994z"},null,-1),zae=[Uae];function Vae(e,t){return Se(),Ne("svg",Hae,zae)}const Wae={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em"},Gae=ge("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Kae=ge("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},null,-1),qae=ge("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},null,-1),Yae=[Gae,Kae,qae];function Xae(e,t){return Se(),Ne("svg",Wae,Yae)}function Va(e,t=0,n=1,r=0,i=0,o=0,s=0){const a=new Date(e,t,n,r,i,o,s);return e<100&&e>=0&&a.setFullYear(e),a}function ns(e){return e instanceof Date&&!isNaN(e.getTime())}function Wa(e){return Array.isArray(e)&&e.length===2&&e.every(ns)&&e[0]<=e[1]}function Jae(e){return Array.isArray(e)&&e.every(ns)}function pv(...e){if(e[0]!==void 0&&e[0]!==null){const n=new Date(e[0]);if(ns(n))return n}const t=e.slice(1);return t.length?pv(...t):new Date}function Qae(e){const t=new Date(e);return t.setMonth(0,1),t.setHours(0,0,0,0),t}function fC(e){const t=new Date(e);return t.setDate(1),t.setHours(0,0,0,0),t}function ua(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function Zae({firstDayOfWeek:e,year:t,month:n}){const r=[],i=Va(t,n,0),o=i.getDate(),s=o-(i.getDay()+7-e)%7;for(let c=s;c<=o;c++)r.push(Va(t,n,c-o));i.setMonth(n+1,0);const a=i.getDate();for(let c=1;c<=a;c++)r.push(Va(t,n,c));const u=o-s+1,l=6*7-u-a;for(let c=1;c<=l;c++)r.push(Va(t,n,a+c));return r}function Xg(e,t){const n=new Date(e),r=typeof t=="function"?t(n.getMonth()):Number(t),i=n.getFullYear(),o=Va(i,r+1,0).getDate(),s=n.getDate();return n.setMonth(r,Math.min(s,o)),n}function Sl(e,t){const n=new Date(e),r=typeof t=="function"?t(n.getFullYear()):t;return n.setFullYear(r),n}function eue(e,t){const n=new Date(t),r=new Date(e),i=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return i*12+o}function Jg(e,t){const n=new Date(e),r=new Date(t);return n.setHours(r.getHours(),r.getMinutes(),r.getSeconds()),n}function tue(e,{slots:t}){const n=ls(e,{editable:!0,disabled:!1,clearable:!0,range:!1,multiple:!1}),r=pr(),i=Je(null),o=_e(()=>n.separator||(n.range?" ~ ":",")),s=h=>n.range?Wa(h):n.multiple?Jae(h):ns(h),a=h=>Array.isArray(h)?h.some(p=>n.disabledDate(p)):n.disabledDate(h),u=_e(()=>i.value!==null?i.value:typeof n.renderInputText=="function"?n.renderInputText(n.value):s(n.value)?Array.isArray(n.value)?n.value.map(h=>n.formatDate(h)).join(o.value):n.formatDate(n.value):""),l=h=>{var p;h&&h.stopPropagation(),n.onChange(n.range?[null,null]:null),(p=n.onClear)==null||p.call(n)},c=()=>{var h;if(!n.editable||i.value===null)return;const p=i.value.trim();if(i.value=null,p===""){l();return}let m;if(n.range){let g=p.split(o.value);g.length!==2&&(g=p.split(o.value.trim())),m=g.map(v=>n.parseDate(v.trim()))}else n.multiple?m=p.split(o.value).map(g=>n.parseDate(g.trim())):m=n.parseDate(p);s(m)&&!a(m)?n.onChange(m):(h=n.onInputError)==null||h.call(n,p)},f=h=>{i.value=typeof h=="string"?h:h.target.value},d=h=>{const{keyCode:p}=h;p===9?n.onBlur():p===13&&c()};return()=>{var h,p,m;const g=!n.disabled&&n.clearable&&u.value,v=oi(Pn({name:"date",type:"text",autocomplete:"off",value:u.value,class:n.inputClass||`${r}-input`,readonly:!n.editable,disabled:n.disabled,placeholder:n.placeholder},n.inputAttr),{onFocus:n.onFocus,onKeydown:d,onInput:f,onChange:c});return te("div",{class:`${r}-input-wrapper`,onClick:n.onClick},[((h=t.input)==null?void 0:h.call(t,v))||te("input",v,null),g?te("i",{class:`${r}-icon-clear`,onClick:l},[((p=t["icon-clear"])==null?void 0:p.call(t))||te(Vae,null,null)]):null,te("i",{class:`${r}-icon-calendar`},[((m=t["icon-calendar"])==null?void 0:m.call(t))||te(CM,null,null)])])}}const Ox=Sa()(["placeholder","editable","disabled","clearable","inputClass","inputAttr","range","multiple","separator","renderInputText","onInputError","onClear"]),nue=Sa()(["value","formatDate","parseDate","disabledDate","onChange","onFocus","onBlur","onClick",...Ox]);var rue=us(tue,nue);function iue(e,{slots:t}){var n;const r=ls(e,{prefixClass:"mx",valueType:"date",format:"YYYY-MM-DD",type:"date",disabledDate:()=>!1,disabledTime:()=>!1,confirmText:"OK"});Iae(r.prefixClass),Cae(((n=r.formatter)==null?void 0:n.getWeek)||yx);const i=Oae(_A(e,"lang")),o=Je(),s=()=>o.value,a=Je(!1),u=_e(()=>!r.disabled&&(typeof r.open=="boolean"?r.open:a.value)),l=()=>{var E,_;r.disabled||u.value||(a.value=!0,(E=r["onUpdate:open"])==null||E.call(r,!0),(_=r.onOpen)==null||_.call(r))},c=()=>{var E,_;u.value&&(a.value=!1,(E=r["onUpdate:open"])==null||E.call(r,!1),(_=r.onClose)==null||_.call(r))},f=(E,_)=>(_=_||r.format,Bs(r.formatter)&&typeof r.formatter.stringify=="function"?r.formatter.stringify(E,_):wx(E,_,{locale:i.value.formatLocale})),d=(E,_)=>{if(_=_||r.format,Bs(r.formatter)&&typeof r.formatter.parse=="function")return r.formatter.parse(E,_);const C=new Date;return bae(E,_,{locale:i.value.formatLocale,backupDate:C})},h=E=>{switch(r.valueType){case"date":return E instanceof Date?new Date(E.getTime()):new Date(NaN);case"timestamp":return typeof E=="number"?new Date(E):new Date(NaN);case"format":return typeof E=="string"?d(E):new Date(NaN);default:return typeof E=="string"?d(E,r.valueType):new Date(NaN)}},p=E=>{if(!ns(E))return null;switch(r.valueType){case"date":return E;case"timestamp":return E.getTime();case"format":return f(E);default:return f(E,r.valueType)}},m=_e(()=>{const E=r.value;return r.range?(Array.isArray(E)?E.slice(0,2):[null,null]).map(h):r.multiple?(Array.isArray(E)?E:[]).map(h):h(E)}),g=(E,_,C=!0)=>{var O,T;const x=Array.isArray(E)?E.map(p):p(E);return(O=r["onUpdate:value"])==null||O.call(r,x),(T=r.onChange)==null||T.call(r,x,_),C&&c(),x},v=Je(new Date);_r(()=>{u.value&&(v.value=m.value)});const y=(E,_)=>{r.confirm?v.value=E:g(E,_,!r.multiple&&(_===r.type||_==="time"))},b=()=>{var E;const _=g(v.value);(E=r.onConfirm)==null||E.call(r,_)},w=E=>r.disabledDate(E)||r.disabledTime(E),S=E=>{var _;const{prefixClass:C}=r;return te("div",{class:`${C}-datepicker-sidebar`},[(_=t.sidebar)==null?void 0:_.call(t,E),(r.shortcuts||[]).map((O,T)=>te("button",{key:T,"data-index":T,type:"button",class:`${C}-btn ${C}-btn-text ${C}-btn-shortcut`,onClick:()=>{var x;const I=(x=O.onClick)==null?void 0:x.call(O);I&&g(I)}},[O.text]))])};return()=>{var E,_;const{prefixClass:C,disabled:O,confirm:T,range:x,popupClass:I,popupStyle:A,appendToBody:D}=r,R={value:v.value,"onUpdate:value":y,emit:g},k=t.header&&te("div",{class:`${C}-datepicker-header`},[t.header(R)]),P=(t.footer||T)&&te("div",{class:`${C}-datepicker-footer`},[(E=t.footer)==null?void 0:E.call(t,R),T&&te("button",{type:"button",class:`${C}-btn ${C}-datepicker-btn-confirm`,onClick:b},[r.confirmText])]),N=(_=t.content)==null?void 0:_.call(t,R),$=(t.sidebar||r.shortcuts)&&S(R);return te("div",{ref:o,class:{[`${C}-datepicker`]:!0,[`${C}-datepicker-range`]:x,disabled:O}},[te(rue,oi(Pn({},Vo(r,Ox)),{value:m.value,formatDate:f,parseDate:d,disabledDate:w,onChange:g,onClick:l,onFocus:l,onBlur:c}),Vo(t,["icon-calendar","icon-clear","input"])),te($ae,{className:I,style:A,visible:u.value,appendToBody:D,getRelativeElement:s,onClickOutside:c},{default:()=>[$,te("div",{class:`${C}-datepicker-content`},[k,N,P])]})])}}const oue=Sa()(["value","valueType","type","format","formatter","lang","prefixClass","appendToBody","open","popupClass","popupStyle","confirm","confirmText","shortcuts","disabledDate","disabledTime","onOpen","onClose","onConfirm","onChange","onUpdate:open","onUpdate:value"]),sue=[...oue,...Ox];var dC=us(iue,sue);function Fp(e){var t=e,{value:n}=t,r=xae(t,["value"]);const i=pr();return te("button",oi(Pn({},r),{type:"button",class:`${i}-btn ${i}-btn-text ${i}-btn-icon-${n}`}),[te("i",{class:`${i}-icon-${n}`},null)])}function Ix({type:e,calendar:t,onUpdateCalendar:n},{slots:r}){var i;const o=pr(),s=()=>{n(Xg(t,d=>d-1))},a=()=>{n(Xg(t,d=>d+1))},u=()=>{n(Sl(t,d=>d-1))},l=()=>{n(Sl(t,d=>d+1))},c=()=>{n(Sl(t,d=>d-10))},f=()=>{n(Sl(t,d=>d+10))};return te("div",{class:`${o}-calendar-header`},[te(Fp,{value:"double-left",onClick:e==="year"?c:u},null),e==="date"&&te(Fp,{value:"left",onClick:s},null),te(Fp,{value:"double-right",onClick:e==="year"?f:l},null),e==="date"&&te(Fp,{value:"right",onClick:a},null),te("span",{class:`${o}-calendar-header-label`},[(i=r.default)==null?void 0:i.call(r)])])}function aue({calendar:e,isWeekMode:t,showWeekNumber:n,titleFormat:r,getWeekActive:i,getCellClasses:o,onSelect:s,onUpdatePanel:a,onUpdateCalendar:u,onDateMouseEnter:l,onDateMouseLeave:c}){const f=pr(),d=Aae(),h=Tx().value,{yearFormat:p,monthBeforeYear:m,monthFormat:g="MMM",formatLocale:v}=h,y=v.firstDayOfWeek||0;let b=h.days||v.weekdaysMin;b=b.concat(b).slice(y,y+7);const w=e.getFullYear(),S=e.getMonth(),E=xx(Zae({firstDayOfWeek:y,year:w,month:S}),7),_=(R,k)=>wx(R,k,{locale:h.formatLocale}),C=R=>{a(R)},O=R=>{const k=R.getAttribute("data-index"),[P,N]=k.split(",").map(F=>parseInt(F,10)),$=E[P][N];return new Date($)},T=R=>{s(O(R.currentTarget))},x=R=>{l&&l(O(R.currentTarget))},I=R=>{c&&c(O(R.currentTarget))},A=te("button",{type:"button",class:`${f}-btn ${f}-btn-text ${f}-btn-current-year`,onClick:()=>C("year")},[_(e,p)]),D=te("button",{type:"button",class:`${f}-btn ${f}-btn-text ${f}-btn-current-month`,onClick:()=>C("month")},[_(e,g)]);return n=typeof n=="boolean"?n:t,te("div",{class:[`${f}-calendar ${f}-calendar-panel-date`,{[`${f}-calendar-week-mode`]:t}]},[te(Ix,{type:"date",calendar:e,onUpdateCalendar:u},{default:()=>[m?[D,A]:[A,D]]}),te("div",{class:`${f}-calendar-content`},[te("table",{class:`${f}-table ${f}-table-date`},[te("thead",null,[te("tr",null,[n&&te("th",{class:`${f}-week-number-header`},null),b.map(R=>te("th",{key:R},[R]))])]),te("tbody",null,[E.map((R,k)=>te("tr",{key:k,class:[`${f}-date-row`,{[`${f}-active-week`]:i(R)}]},[n&&te("td",{class:`${f}-week-number`,"data-index":`${k},0`,onClick:T},[te("div",null,[d(R[0])])]),R.map((P,N)=>te("td",{key:N,class:["cell",o(P)],title:_(P,r),"data-index":`${k},${N}`,onClick:T,onMouseenter:x,onMouseleave:I},[te("div",null,[P.getDate()])]))]))])])])])}function uue({calendar:e,getCellClasses:t,onSelect:n,onUpdateCalendar:r,onUpdatePanel:i}){const o=pr(),s=Tx().value,a=s.months||s.formatLocale.monthsShort,u=c=>Va(e.getFullYear(),c),l=c=>{const d=c.currentTarget.getAttribute("data-month");n(u(parseInt(d,10)))};return te("div",{class:`${o}-calendar ${o}-calendar-panel-month`},[te(Ix,{type:"month",calendar:e,onUpdateCalendar:r},{default:()=>[te("button",{type:"button",class:`${o}-btn ${o}-btn-text ${o}-btn-current-year`,onClick:()=>i("year")},[e.getFullYear()])]}),te("div",{class:`${o}-calendar-content`},[te("table",{class:`${o}-table ${o}-table-month`},[xx(a,3).map((c,f)=>te("tr",{key:f},[c.map((d,h)=>{const p=f*3+h;return te("td",{key:h,class:["cell",t(u(p))],"data-month":p,onClick:l},[te("div",null,[d])])})]))])])])}const lue=e=>{const t=Math.floor(e.getFullYear()/10)*10,n=[];for(let r=0;r<10;r++)n.push(t+r);return xx(n,2)};function cue({calendar:e,getCellClasses:t=()=>[],getYearPanel:n=lue,onSelect:r,onUpdateCalendar:i}){const o=pr(),s=f=>Va(f,0),a=f=>{const h=f.currentTarget.getAttribute("data-year");r(s(parseInt(h,10)))},u=n(new Date(e)),l=u[0][0],c=lC(lC(u));return te("div",{class:`${o}-calendar ${o}-calendar-panel-year`},[te(Ix,{type:"year",calendar:e,onUpdateCalendar:i},{default:()=>[te("span",null,[l]),te("span",{class:`${o}-calendar-decade-separator`},null),te("span",null,[c])]}),te("div",{class:`${o}-calendar-content`},[te("table",{class:`${o}-table ${o}-table-year`},[u.map((f,d)=>te("tr",{key:d},[f.map((h,p)=>te("td",{key:p,class:["cell",t(s(h))],"data-year":h,onClick:a},[te("div",null,[h])]))]))])])])}function fue(e){const t=ls(e,{defaultValue:ua(new Date),type:"date",disabledDate:()=>!1,getClasses:()=>[],titleFormat:"YYYY-MM-DD"}),n=_e(()=>(Array.isArray(t.value)?t.value:[t.value]).filter(ns).map(y=>t.type==="year"?Qae(y):t.type==="month"?fC(y):ua(y))),r=Je(new Date);_r(()=>{let v=t.calendar;if(!ns(v)){const{length:y}=n.value;v=pv(y>0?n.value[y-1]:t.defaultValue)}r.value=fC(v)});const i=v=>{var y;r.value=v,(y=t.onCalendarChange)==null||y.call(t,v)},o=Je("date");_r(()=>{const v=["date","month","year"],y=Math.max(v.indexOf(t.type),v.indexOf(t.defaultPanel));o.value=y!==-1?v[y]:"date"});const s=v=>{var y;const b=o.value;o.value=v,(y=t.onPanelChange)==null||y.call(t,v,b)},a=v=>t.disabledDate(new Date(v),n.value),u=(v,y)=>{var b,w,S;if(!a(v))if((b=t.onPick)==null||b.call(t,v),t.multiple===!0){const E=n.value.filter(_=>_.getTime()!==v.getTime());E.length===n.value.length&&E.push(v),(w=t["onUpdate:value"])==null||w.call(t,E,y)}else(S=t["onUpdate:value"])==null||S.call(t,v,y)},l=v=>{u(v,t.type==="week"?"week":"date")},c=v=>{if(t.type==="year")u(v,"year");else if(i(v),s("month"),t.partialUpdate&&n.value.length===1){const y=Sl(n.value[0],v.getFullYear());u(y,"year")}},f=v=>{if(t.type==="month")u(v,"month");else if(i(v),s("date"),t.partialUpdate&&n.value.length===1){const y=Xg(Sl(n.value[0],v.getFullYear()),v.getMonth());u(y,"month")}},d=(v,y=[])=>(a(v)?y.push("disabled"):n.value.some(b=>b.getTime()===v.getTime())&&y.push("active"),y.concat(t.getClasses(v,n.value,y.join(" ")))),h=v=>{const y=v.getMonth()!==r.value.getMonth(),b=[];return v.getTime()===new Date().setHours(0,0,0,0)&&b.push("today"),y&&b.push("not-current-month"),d(v,b)},p=v=>t.type!=="month"?r.value.getMonth()===v.getMonth()?"active":"":d(v),m=v=>t.type!=="year"?r.value.getFullYear()===v.getFullYear()?"active":"":d(v),g=v=>{if(t.type!=="week")return!1;const y=v[0].getTime(),b=v[6].getTime();return n.value.some(w=>{const S=w.getTime();return S>=y&&S<=b})};return()=>o.value==="year"?te(cue,{calendar:r.value,getCellClasses:m,getYearPanel:t.getYearPanel,onSelect:c,onUpdateCalendar:i},null):o.value==="month"?te(uue,{calendar:r.value,getCellClasses:p,onSelect:f,onUpdatePanel:s,onUpdateCalendar:i},null):te(aue,{isWeekMode:t.type==="week",showWeekNumber:t.showWeekNumber,titleFormat:t.titleFormat,calendar:r.value,getCellClasses:h,getWeekActive:g,onSelect:l,onUpdatePanel:s,onUpdateCalendar:i,onDateMouseEnter:t.onDateMouseEnter,onDateMouseLeave:t.onDateMouseLeave},null)}const mv=Sa()(["type","value","defaultValue","defaultPanel","disabledDate","getClasses","calendar","multiple","partialUpdate","showWeekNumber","titleFormat","getYearPanel","onDateMouseEnter","onDateMouseLeave","onCalendarChange","onPanelChange","onUpdate:value","onPick"]);var gv=us(fue,mv);const hC=(e,t)=>{const n=e.getTime();let[r,i]=t.map(o=>o.getTime());return r>i&&([r,i]=[i,r]),n>r&&n<i};function due(e){const t=ls(e,{defaultValue:new Date,type:"date"}),n=pr(),r=_e(()=>{let g=Array.isArray(t.defaultValue)?t.defaultValue:[t.defaultValue,t.defaultValue];return g=g.map(v=>ua(v)),Wa(g)?g:[new Date,new Date].map(v=>ua(v))}),i=Je([new Date(NaN),new Date(NaN)]);_r(()=>{Wa(t.value)&&(i.value=t.value)});const o=(g,v)=>{var y;const[b,w]=i.value;ns(b)&&!ns(w)?(b.getTime()>g.getTime()?i.value=[g,b]:i.value=[b,g],(y=t["onUpdate:value"])==null||y.call(t,i.value,v)):i.value=[g,new Date(NaN)]},s=Je([new Date,new Date]),a=_e(()=>Wa(t.calendar)?t.calendar:s.value),u=_e(()=>t.type==="year"?10*12:t.type==="month"?1*12:1),l=(g,v)=>{var y;const b=eue(g[0],g[1]),w=u.value-b;if(w>0){const S=v===1?0:1;g[S]=Xg(g[S],E=>E+(S===0?-w:w))}s.value=g,(y=t.onCalendarChange)==null||y.call(t,g,v)},c=g=>{l([g,a.value[1]],0)},f=g=>{l([a.value[0],g],1)};_r(()=>{const g=Wa(t.value)?t.value:r.value;l(g.slice(0,2))});const d=Je(null),h=g=>d.value=g,p=()=>d.value=null,m=(g,v,y)=>{const b=t.getClasses?t.getClasses(g,v,y):[],w=Array.isArray(b)?b:[b];return/disabled|active/.test(y)?w:(v.length===2&&hC(g,v)&&w.push("in-range"),v.length===1&&d.value&&hC(g,[v[0],d.value])?w.concat("hover-in-range"):w)};return()=>{const g=a.value.map((v,y)=>{const b=oi(Pn({},t),{calendar:v,value:i.value,defaultValue:r.value[y],getClasses:m,partialUpdate:!1,multiple:!1,"onUpdate:value":o,onCalendarChange:y===0?c:f,onDateMouseLeave:p,onDateMouseEnter:h});return te(gv,b,null)});return te("div",{class:`${n}-calendar-range`},[g])}}const Cx=mv;var Ax=us(due,Cx);const AM=xt({setup(e,{slots:t}){const n=pr(),r=Je(),i=Je(""),o=Je("");ni(()=>{if(!r.value)return;const p=r.value,m=p.clientHeight*100/p.scrollHeight;i.value=m<100?`${m}%`:""});const a=Pae(),u=p=>{const m=p.currentTarget,{scrollHeight:g,scrollTop:v}=m;o.value=`${v*100/g}%`};let l=!1,c=0;const f=p=>{p.stopImmediatePropagation();const m=p.currentTarget,{offsetTop:g}=m;l=!0,c=p.clientY-g},d=p=>{if(!l||!r.value)return;const{clientY:m}=p,{scrollHeight:g,clientHeight:v}=r.value,b=(m-c)*g/v;r.value.scrollTop=b},h=()=>{l=!1};return ni(()=>{document.addEventListener("mousemove",d),document.addEventListener("mouseup",h)}),ha(()=>{document.addEventListener("mousemove",d),document.addEventListener("mouseup",h)}),()=>{var p;return te("div",{class:`${n}-scrollbar`,style:{position:"relative",overflow:"hidden"}},[te("div",{ref:r,class:`${n}-scrollbar-wrap`,style:{marginRight:`-${a}px`},onScroll:u},[(p=t.default)==null?void 0:p.call(t)]),te("div",{class:`${n}-scrollbar-track`},[te("div",{class:`${n}-scrollbar-thumb`,style:{height:i.value,top:o.value},onMousedown:f},null)])])}}});function hue({options:e,getClasses:t,onSelect:n}){const r=pr(),i=o=>{const s=o.target,a=o.currentTarget;if(s.tagName.toUpperCase()!=="LI")return;const u=a.getAttribute("data-type"),l=parseInt(a.getAttribute("data-index"),10),c=parseInt(s.getAttribute("data-index"),10),f=e[l].list[c].value;n(f,u)};return te("div",{class:`${r}-time-columns`},[e.map((o,s)=>te(AM,{key:o.type,class:`${r}-time-column`},{default:()=>[te("ul",{class:`${r}-time-list`,"data-index":s,"data-type":o.type,onClick:i},[o.list.map((a,u)=>te("li",{key:a.text,"data-index":u,class:[`${r}-time-item`,t(a.value,o.type)]},[a.text]))])]}))])}function pue(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!no(e)}function mue(e){let t;const n=pr();return te(AM,null,pue(t=e.options.map(r=>te("div",{key:r.text,class:[`${n}-time-option`,e.getClasses(r.value,"time")],onClick:()=>e.onSelect(r.value,"time")},[r.text])))?t:{default:()=>[t]})}function Xy({length:e,step:t=1,options:n}){if(Array.isArray(n))return n.filter(i=>i>=0&&i<e);t<=0&&(t=1);const r=[];for(let i=0;i<e;i+=t)r.push(i);return r}function gue(e,t){let{showHour:n,showMinute:r,showSecond:i,use12h:o}=t;const s=t.format||"HH:mm:ss";n=typeof n=="boolean"?n:/[HhKk]/.test(s),r=typeof r=="boolean"?r:/m/.test(s),i=typeof i=="boolean"?i:/s/.test(s),o=typeof o=="boolean"?o:/a/i.test(s);const a=[],u=o&&e.getHours()>=12;return n&&a.push({type:"hour",list:Xy({length:o?12:24,step:t.hourStep,options:t.hourOptions}).map(l=>{const c=l===0&&o?"12":Yy(l),f=new Date(e);return f.setHours(u?l+12:l),{value:f,text:c}})}),r&&a.push({type:"minute",list:Xy({length:60,step:t.minuteStep,options:t.minuteOptions}).map(l=>{const c=new Date(e);return c.setMinutes(l),{value:c,text:Yy(l)}})}),i&&a.push({type:"second",list:Xy({length:60,step:t.secondStep,options:t.secondOptions}).map(l=>{const c=new Date(e);return c.setSeconds(l),{value:c,text:Yy(l)}})}),o&&a.push({type:"ampm",list:["AM","PM"].map((l,c)=>{const f=new Date(e);return f.setHours(f.getHours()%12+c*12),{text:l,value:f}})}),a}function Jy(e=""){const t=e.split(":");if(t.length>=2){const n=parseInt(t[0],10),r=parseInt(t[1],10);return{hours:n,minutes:r}}return null}function vue({date:e,option:t,format:n,formatDate:r}){const i=[];if(typeof t=="function")return t()||[];const o=Jy(t.start),s=Jy(t.end),a=Jy(t.step),u=t.format||n;if(o&&s&&a){const l=o.minutes+o.hours*60,c=s.minutes+s.hours*60,f=a.minutes+a.hours*60,d=Math.floor((c-l)/f);for(let h=0;h<=d;h++){const p=l+h*f,m=Math.floor(p/60),g=p%60,v=new Date(e);v.setHours(m,g,0),i.push({value:v,text:r(v,u)})}}return i}const kM=(e,t,n=0)=>{if(n<=0){requestAnimationFrame(()=>{e.scrollTop=t});return}const i=(t-e.scrollTop)/n*10;requestAnimationFrame(()=>{const o=e.scrollTop+i;if(o>=t){e.scrollTop=t;return}e.scrollTop=o,kM(e,t,n-10)})};function yue(e){const t=ls(e,{defaultValue:ua(new Date),format:"HH:mm:ss",timeTitleFormat:"YYYY-MM-DD",disabledTime:()=>!1,scrollDuration:100}),n=pr(),r=Tx(),i=(m,g)=>wx(m,g,{locale:r.value.formatLocale}),o=Je(new Date);_r(()=>{o.value=pv(t.value,t.defaultValue)});const s=m=>Array.isArray(m)?m.every(g=>t.disabledTime(new Date(g))):t.disabledTime(new Date(m)),a=m=>{const g=new Date(m);return s([g.getTime(),g.setMinutes(0,0,0),g.setMinutes(59,59,999)])},u=m=>{const g=new Date(m);return s([g.getTime(),g.setSeconds(0,0),g.setSeconds(59,999)])},l=m=>{const g=new Date(m),v=g.getHours()<12?0:12,y=v+11;return s([g.getTime(),g.setHours(v,0,0,0),g.setHours(y,59,59,999)])},c=(m,g)=>g==="hour"?a(m):g==="minute"?u(m):g==="ampm"?l(m):s(m),f=(m,g)=>{var v;if(!c(m,g)){const y=new Date(m);o.value=y,s(y)||(v=t["onUpdate:value"])==null||v.call(t,y,g)}},d=(m,g)=>c(m,g)?"disabled":m.getTime()===o.value.getTime()?"active":"",h=Je(),p=m=>{if(!h.value)return;const g=h.value.querySelectorAll(".active");for(let v=0;v<g.length;v++){const y=g[v],b=_x(y,h.value);if(b){const w=y.offsetTop;kM(b,w,m)}}};return ni(()=>p(0)),on(o,()=>p(t.scrollDuration),{flush:"post"}),()=>{let m;return t.timePickerOptions?m=te(mue,{onSelect:f,getClasses:d,options:vue({date:o.value,format:t.format,option:t.timePickerOptions,formatDate:i})},null):m=te(hue,{options:gue(o.value,t),onSelect:f,getClasses:d},null),te("div",{class:`${n}-time`,ref:h},[t.showTimeHeader&&te("div",{class:`${n}-time-header`},[te("button",{type:"button",class:`${n}-btn ${n}-btn-text ${n}-time-header-title`,onClick:t.onClickTitle},[i(o.value,t.timeTitleFormat)])]),te("div",{class:`${n}-time-content`},[m])])}}const vv=Sa()(["value","defaultValue","format","timeTitleFormat","showTimeHeader","disabledTime","timePickerOptions","hourOptions","minuteOptions","secondOptions","hourStep","minuteStep","secondStep","showHour","showMinute","showSecond","use12h","scrollDuration","onClickTitle","onUpdate:value"]);var Hd=us(yue,vv);function bue(e){const t=ls(e,{defaultValue:ua(new Date),disabledTime:()=>!1}),n=pr(),r=Je([new Date(NaN),new Date(NaN)]);_r(()=>{Wa(t.value)?r.value=t.value:r.value=[new Date(NaN),new Date(NaN)]});const i=(l,c)=>{var f;(f=t["onUpdate:value"])==null||f.call(t,r.value,l==="time"?"time-range":l,c)},o=(l,c)=>{r.value[0]=l,r.value[1].getTime()>=l.getTime()||(r.value[1]=l),i(c,0)},s=(l,c)=>{r.value[1]=l,r.value[0].getTime()<=l.getTime()||(r.value[0]=l),i(c,1)},a=l=>t.disabledTime(l,0),u=l=>l.getTime()<r.value[0].getTime()||t.disabledTime(l,1);return()=>{const l=Array.isArray(t.defaultValue)?t.defaultValue:[t.defaultValue,t.defaultValue];return te("div",{class:`${n}-time-range`},[te(Hd,oi(Pn({},t),{"onUpdate:value":o,value:r.value[0],defaultValue:l[0],disabledTime:a}),null),te(Hd,oi(Pn({},t),{"onUpdate:value":s,value:r.value[1],defaultValue:l[1],disabledTime:u}),null)])}}const kx=vv;var Rx=us(bue,kx);function RM(e){const t=Je(!1),n=()=>{var o;t.value=!1,(o=e.onShowTimePanelChange)==null||o.call(e,!1)},r=()=>{var o;t.value=!0,(o=e.onShowTimePanelChange)==null||o.call(e,!0)};return{timeVisible:_e(()=>typeof e.showTimePanel=="boolean"?e.showTimePanel:t.value),openTimePanel:r,closeTimePanel:n}}function wue(e){const t=ls(e,{disabledTime:()=>!1,defaultValue:ua(new Date)}),n=Je(t.value);_r(()=>{n.value=t.value});const{openTimePanel:r,closeTimePanel:i,timeVisible:o}=RM(t),s=(a,u)=>{var l;u==="date"&&r();let c=Jg(a,pv(t.value,t.defaultValue));if(t.disabledTime(new Date(c))&&(c=Jg(a,t.defaultValue),t.disabledTime(new Date(c)))){n.value=c;return}(l=t["onUpdate:value"])==null||l.call(t,c,u)};return()=>{const a=pr(),u=oi(Pn({},Vo(t,mv)),{multiple:!1,type:"date",value:n.value,"onUpdate:value":s}),l=oi(Pn({},Vo(t,vv)),{showTimeHeader:!0,value:n.value,"onUpdate:value":t["onUpdate:value"],onClickTitle:i});return te("div",{class:`${a}-date-time`},[te(gv,u,null),o.value&&te(Hd,l,null)])}}const PM=Sa()(["showTimePanel","onShowTimePanelChange"]),Eue=[...PM,...mv,...vv];var DM=us(wue,Eue);function Sue(e){const t=ls(e,{defaultValue:ua(new Date),disabledTime:()=>!1}),n=Je(t.value);_r(()=>{n.value=t.value});const{openTimePanel:r,closeTimePanel:i,timeVisible:o}=RM(t),s=(a,u)=>{var l;u==="date"&&r();const c=Array.isArray(t.defaultValue)?t.defaultValue:[t.defaultValue,t.defaultValue];let f=a.map((d,h)=>{const p=Wa(t.value)?t.value[h]:c[h];return Jg(d,p)});if(f[1].getTime()<f[0].getTime()&&(f=[f[0],f[0]]),f.some(t.disabledTime)&&(f=a.map((d,h)=>Jg(d,c[h])),f.some(t.disabledTime))){n.value=f;return}(l=t["onUpdate:value"])==null||l.call(t,f,u)};return()=>{const a=pr(),u=oi(Pn({},Vo(t,Cx)),{type:"date",value:n.value,"onUpdate:value":s}),l=oi(Pn({},Vo(t,kx)),{showTimeHeader:!0,value:n.value,"onUpdate:value":t["onUpdate:value"],onClickTitle:i});return te("div",{class:`${a}-date-time-range`},[te(Ax,u,null),o.value&&te(Rx,l,null)])}}const xue=[...PM,...kx,...Cx];var NM=us(Sue,xue);const Tue=Sa()(["range","open","appendToBody","clearable","confirm","disabled","editable","multiple","partialUpdate","showHour","showMinute","showSecond","showTimeHeader","showTimePanel","showWeekNumber","use12h"]),pC={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",year:"YYYY",month:"YYYY-MM",time:"HH:mm:ss",week:"w"};function MM(e,{slots:t}){const n=e.type||"date",r=e.format||pC[n]||pC.date,i=oi(Pn({},Nae(e,Tue)),{type:n,format:r});return te(dC,Vo(i,dC.props),Pn({content:o=>{if(i.range){const s=n==="time"?Rx:n==="datetime"?NM:Ax;return cu(s,Vo(Pn(Pn({},i),o),s.props))}else{const s=n==="time"?Hd:n==="datetime"?DM:gv;return cu(s,Vo(Pn(Pn({},i),o),s.props))}},"icon-calendar":()=>te(n==="time"?Xae:CM,null,null)},t))}const _ue={locale:xM,install:e=>{e.component("DatePicker",MM)}};var dde=Object.assign(MM,_ue,{Calendar:gv,CalendarRange:Ax,TimePanel:Hd,TimeRange:Rx,DateTime:DM,DateTimeRange:NM}),Cw={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],weekdays:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],weekdaysShort:["日","月","火","水","木","金","土"],weekdaysMin:["日","月","火","水","木","金","土"],firstDayOfWeek:0,firstWeekContainsDate:6},r=n;t.default=r,e.exports=t.default})(Cw,Cw.exports);var Oue=Cw.exports;const hde=Su(Oue);var Iue={exports:{}};(function(e){(function(t,n){var r=n(t,t.document,Date);t.lazySizes=r,e.exports&&(e.exports=r)})(typeof window<"u"?window:{},function(n,r,i){var o,s;if(function(){var N,$={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};s=n.lazySizesConfig||n.lazysizesConfig||{};for(N in $)N in s||(s[N]=$[N])}(),!r||!r.getElementsByClassName)return{init:function(){},cfg:s,noSupport:!0};var a=r.documentElement,u=n.HTMLPictureElement,l="addEventListener",c="getAttribute",f=n[l].bind(n),d=n.setTimeout,h=n.requestAnimationFrame||d,p=n.requestIdleCallback,m=/^picture$/i,g=["load","error","lazyincluded","_lazyloaded"],v={},y=Array.prototype.forEach,b=function(N,$){return v[$]||(v[$]=new RegExp("(\\s|^)"+$+"(\\s|$)")),v[$].test(N[c]("class")||"")&&v[$]},w=function(N,$){b(N,$)||N.setAttribute("class",(N[c]("class")||"").trim()+" "+$)},S=function(N,$){var F;(F=b(N,$))&&N.setAttribute("class",(N[c]("class")||"").replace(F," "))},E=function(N,$,F){var V=F?l:"removeEventListener";F&&E(N,$),g.forEach(function(H){N[V](H,$)})},_=function(N,$,F,V,H){var G=r.createEvent("Event");return F||(F={}),F.instance=o,G.initEvent($,!V,!H),G.detail=F,N.dispatchEvent(G),G},C=function(N,$){var F;!u&&(F=n.picturefill||s.pf)?($&&$.src&&!N[c]("srcset")&&N.setAttribute("srcset",$.src),F({reevaluate:!0,elements:[N]})):$&&$.src&&(N.src=$.src)},O=function(N,$){return(getComputedStyle(N,null)||{})[$]},T=function(N,$,F){for(F=F||N.offsetWidth;F<s.minSize&&$&&!N._lazysizesWidth;)F=$.offsetWidth,$=$.parentNode;return F},x=function(){var N,$,F=[],V=[],H=F,G=function(){var Y=H;for(H=F.length?V:F,N=!0,$=!1;Y.length;)Y.shift()();N=!1},U=function(Y,J){N&&!J?Y.apply(this,arguments):(H.push(Y),$||($=!0,(r.hidden?d:h)(G)))};return U._lsFlush=G,U}(),I=function(N,$){return $?function(){x(N)}:function(){var F=this,V=arguments;x(function(){N.apply(F,V)})}},A=function(N){var $,F=0,V=s.throttleDelay,H=s.ricTimeout,G=function(){$=!1,F=i.now(),N()},U=p&&H>49?function(){p(G,{timeout:H}),H!==s.ricTimeout&&(H=s.ricTimeout)}:I(function(){d(G)},!0);return function(Y){var J;(Y=Y===!0)&&(H=33),!$&&($=!0,J=V-(i.now()-F),J<0&&(J=0),Y||J<9?U():d(U,J))}},D=function(N){var $,F,V=99,H=function(){$=null,N()},G=function(){var U=i.now()-F;U<V?d(G,V-U):(p||H)(H)};return function(){F=i.now(),$||($=d(G,V))}},R=function(){var N,$,F,V,H,G,U,Y,J,B,Z,ue,de=/^img$/i,Me=/^iframe$/i,nt="onscroll"in n&&!/(gle|ing)bot/.test(navigator.userAgent),M=0,L=0,K=0,re=-1,Q=function(W){K--,(!W||K<0||!W.target)&&(K=0)},le=function(W){return ue==null&&(ue=O(r.body,"visibility")=="hidden"),ue||!(O(W.parentNode,"visibility")=="hidden"&&O(W,"visibility")=="hidden")},fe=function(W,ie){var ce,we=W,Te=le(W);for(Y-=ie,Z+=ie,J-=ie,B+=ie;Te&&(we=we.offsetParent)&&we!=r.body&&we!=a;)Te=(O(we,"opacity")||1)>0,Te&&O(we,"overflow")!="visible"&&(ce=we.getBoundingClientRect(),Te=B>ce.left&&J<ce.right&&Z>ce.top-1&&Y<ce.bottom+1);return Te},ne=function(){var W,ie,ce,we,Te,je,Ae,be,ke,Ve,Pe,It,Tn=o.elements;if((V=s.loadMode)&&K<8&&(W=Tn.length)){for(ie=0,re++;ie<W;ie++)if(!(!Tn[ie]||Tn[ie]._lazyRace)){if(!nt||o.prematureUnveil&&o.prematureUnveil(Tn[ie])){et(Tn[ie]);continue}if((!(be=Tn[ie][c]("data-expand"))||!(je=be*1))&&(je=L),Ve||(Ve=!s.expand||s.expand<1?a.clientHeight>500&&a.clientWidth>500?500:370:s.expand,o._defEx=Ve,Pe=Ve*s.expFactor,It=s.hFac,ue=null,L<Pe&&K<1&&re>2&&V>2&&!r.hidden?(L=Pe,re=0):V>1&&re>1&&K<6?L=Ve:L=M),ke!==je&&(G=innerWidth+je*It,U=innerHeight+je,Ae=je*-1,ke=je),ce=Tn[ie].getBoundingClientRect(),(Z=ce.bottom)>=Ae&&(Y=ce.top)<=U&&(B=ce.right)>=Ae*It&&(J=ce.left)<=G&&(Z||B||J||Y)&&(s.loadHidden||le(Tn[ie]))&&($&&K<3&&!be&&(V<3||re<4)||fe(Tn[ie],je))){if(et(Tn[ie]),Te=!0,K>9)break}else!Te&&$&&!we&&K<4&&re<4&&V>2&&(N[0]||s.preloadAfterLoad)&&(N[0]||!be&&(Z||B||J||Y||Tn[ie][c](s.sizesAttr)!="auto"))&&(we=N[0]||Tn[ie])}we&&!Te&&et(we)}},oe=A(ne),ee=function(W){var ie=W.target;if(ie._lazyCache){delete ie._lazyCache;return}Q(W),w(ie,s.loadedClass),S(ie,s.loadingClass),E(ie,ae),_(ie,"lazyloaded")},pe=I(ee),ae=function(W){pe({target:W.target})},ye=function(W,ie){var ce=W.getAttribute("data-load-mode")||s.iframeLoadMode;ce==0?W.contentWindow.location.replace(ie):ce==1&&(W.src=ie)},Ce=function(W){var ie,ce=W[c](s.srcsetAttr);(ie=s.customMedia[W[c]("data-media")||W[c]("media")])&&W.setAttribute("media",ie),ce&&W.setAttribute("srcset",ce)},Ke=I(function(W,ie,ce,we,Te){var je,Ae,be,ke,Ve,Pe;(Ve=_(W,"lazybeforeunveil",ie)).defaultPrevented||(we&&(ce?w(W,s.autosizesClass):W.setAttribute("sizes",we)),Ae=W[c](s.srcsetAttr),je=W[c](s.srcAttr),Te&&(be=W.parentNode,ke=be&&m.test(be.nodeName||"")),Pe=ie.firesLoad||"src"in W&&(Ae||je||ke),Ve={target:W},w(W,s.loadingClass),Pe&&(clearTimeout(F),F=d(Q,2500),E(W,ae,!0)),ke&&y.call(be.getElementsByTagName("source"),Ce),Ae?W.setAttribute("srcset",Ae):je&&!ke&&(Me.test(W.nodeName)?ye(W,je):W.src=je),Te&&(Ae||ke)&&C(W,{src:je})),W._lazyRace&&delete W._lazyRace,S(W,s.lazyClass),x(function(){var It=W.complete&&W.naturalWidth>1;(!Pe||It)&&(It&&w(W,s.fastLoadedClass),ee(Ve),W._lazyCache=!0,d(function(){"_lazyCache"in W&&delete W._lazyCache},9)),W.loading=="lazy"&&K--},!0)}),et=function(W){if(!W._lazyRace){var ie,ce=de.test(W.nodeName),we=ce&&(W[c](s.sizesAttr)||W[c]("sizes")),Te=we=="auto";(Te||!$)&&ce&&(W[c]("src")||W.srcset)&&!W.complete&&!b(W,s.errorClass)&&b(W,s.lazyClass)||(ie=_(W,"lazyunveilread").detail,Te&&k.updateElem(W,!0,W.offsetWidth),W._lazyRace=!0,K++,Ke(W,ie,Te,we,ce))}},z=D(function(){s.loadMode=3,oe()}),q=function(){s.loadMode==3&&(s.loadMode=2),z()},X=function(){if(!$){if(i.now()-H<999){d(X,999);return}$=!0,s.loadMode=3,oe(),f("scroll",q,!0)}};return{_:function(){H=i.now(),o.elements=r.getElementsByClassName(s.lazyClass),N=r.getElementsByClassName(s.lazyClass+" "+s.preloadClass),f("scroll",oe,!0),f("resize",oe,!0),f("pageshow",function(W){if(W.persisted){var ie=r.querySelectorAll("."+s.loadingClass);ie.length&&ie.forEach&&h(function(){ie.forEach(function(ce){ce.complete&&et(ce)})})}}),n.MutationObserver?new MutationObserver(oe).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[l]("DOMNodeInserted",oe,!0),a[l]("DOMAttrModified",oe,!0),setInterval(oe,999)),f("hashchange",oe,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(W){r[l](W,oe,!0)}),/d$|^c/.test(r.readyState)?X():(f("load",X),r[l]("DOMContentLoaded",oe),d(X,2e4)),o.elements.length?(ne(),x._lsFlush()):oe()},checkElems:oe,unveil:et,_aLSL:q}}(),k=function(){var N,$=I(function(G,U,Y,J){var B,Z,ue;if(G._lazysizesWidth=J,J+="px",G.setAttribute("sizes",J),m.test(U.nodeName||""))for(B=U.getElementsByTagName("source"),Z=0,ue=B.length;Z<ue;Z++)B[Z].setAttribute("sizes",J);Y.detail.dataAttr||C(G,Y.detail)}),F=function(G,U,Y){var J,B=G.parentNode;B&&(Y=T(G,B,Y),J=_(G,"lazybeforesizes",{width:Y,dataAttr:!!U}),J.defaultPrevented||(Y=J.detail.width,Y&&Y!==G._lazysizesWidth&&$(G,B,J,Y)))},V=function(){var G,U=N.length;if(U)for(G=0;G<U;G++)F(N[G])},H=D(V);return{_:function(){N=r.getElementsByClassName(s.autosizesClass),f("resize",H)},checkElems:H,updateElem:F}}(),P=function(){!P.i&&r.getElementsByClassName&&(P.i=!0,k._(),R._())};return d(function(){s.init&&P()}),o={cfg:s,autoSizer:k,loader:R,init:P,uP:C,aC:w,rC:S,hC:b,fire:_,gW:T,rAF:x},o})})(Iue);function Cue(e,t){const n="=".repeat((4-e.length%4)%4),r=(e+n).replace(/-/g,"+").replace(/_/g,"/"),i=t(r),o=new Uint8Array(i.length);for(let s=0;s<i.length;++s)o[s]=i.charCodeAt(s);return o}function pde(e){return Cue(e,atob)}var LM={exports:{}};/**!
 * Sortable 1.14.0
 * @author	RubaXa   <trash@rubaxa.org>
 * @author	owenm    <owen23355@gmail.com>
 * @license MIT
 */function mC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ao(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mC(Object(n),!0).forEach(function(r){Aue(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mC(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _m(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_m=function(t){return typeof t}:_m=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_m(e)}function Aue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function si(){return si=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},si.apply(this,arguments)}function kue(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Rue(e,t){if(e==null)return{};var n=kue(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Pue(e){return Due(e)||Nue(e)||Mue(e)||Lue()}function Due(e){if(Array.isArray(e))return Aw(e)}function Nue(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mue(e,t){if(e){if(typeof e=="string")return Aw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Aw(e,t)}}function Aw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lue(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var $ue="1.14.0";function Wo(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var cs=Wo(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ch=Wo(/Edge/i),gC=Wo(/firefox/i),Gf=Wo(/safari/i)&&!Wo(/chrome/i)&&!Wo(/android/i),$M=Wo(/iP(ad|od|hone)/i),Fue=Wo(/chrome/i)&&Wo(/android/i),FM={capture:!1,passive:!1};function lt(e,t,n){e.addEventListener(t,n,!cs&&FM)}function ot(e,t,n){e.removeEventListener(t,n,!cs&&FM)}function Qg(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function Bue(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function gi(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Qg(e,t):Qg(e,t))||r&&e===n)return e;if(e===n)break}while(e=Bue(e))}return null}var vC=/\s+/g;function Yt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(vC," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(vC," ")}}function Re(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function ou(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Re(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function BM(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function Ji(){var e=document.scrollingElement;return e||document.documentElement}function Kt(e,t,n,r,i){if(!(!e.getBoundingClientRect&&e!==window)){var o,s,a,u,l,c,f;if(e!==window&&e.parentNode&&e!==Ji()?(o=e.getBoundingClientRect(),s=o.top,a=o.left,u=o.bottom,l=o.right,c=o.height,f=o.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!cs))do if(i&&i.getBoundingClientRect&&(Re(i,"transform")!=="none"||n&&Re(i,"position")!=="static")){var d=i.getBoundingClientRect();s-=d.top+parseInt(Re(i,"border-top-width")),a-=d.left+parseInt(Re(i,"border-left-width")),u=s+o.height,l=a+o.width;break}while(i=i.parentNode);if(r&&e!==window){var h=ou(i||e),p=h&&h.a,m=h&&h.d;h&&(s/=m,a/=p,f/=p,c/=m,u=s+c,l=a+f)}return{top:s,left:a,bottom:u,right:l,width:f,height:c}}}function yC(e,t,n){for(var r=js(e,!0),i=Kt(e)[t];r;){var o=Kt(r)[n],s=void 0;if(s=i>=o,!s)return r;if(r===Ji())break;r=js(r,!1)}return!1}function hc(e,t,n,r){for(var i=0,o=0,s=e.children;o<s.length;){if(s[o].style.display!=="none"&&s[o]!==Ue.ghost&&(r||s[o]!==Ue.dragged)&&gi(s[o],n.draggable,e,!1)){if(i===t)return s[o];i++}o++}return null}function Px(e,t){for(var n=e.lastElementChild;n&&(n===Ue.ghost||Re(n,"display")==="none"||t&&!Qg(n,t));)n=n.previousElementSibling;return n||null}function nn(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ue.clone&&(!t||Qg(e,t))&&n++;return n}function bC(e){var t=0,n=0,r=Ji();if(e)do{var i=ou(e),o=i.a,s=i.d;t+=e.scrollLeft*o,n+=e.scrollTop*s}while(e!==r&&(e=e.parentNode));return[t,n]}function jue(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function js(e,t){if(!e||!e.getBoundingClientRect)return Ji();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Re(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Ji();if(r||t)return n;r=!0}}while(n=n.parentNode);return Ji()}function Hue(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Qy(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Kf;function jM(e,t){return function(){if(!Kf){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Kf=setTimeout(function(){Kf=void 0},t)}}}function Uue(){clearTimeout(Kf),Kf=void 0}function HM(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Dx(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function wC(e,t){Re(e,"position","absolute"),Re(e,"top",t.top),Re(e,"left",t.left),Re(e,"width",t.width),Re(e,"height",t.height)}function Zy(e){Re(e,"position",""),Re(e,"top",""),Re(e,"left",""),Re(e,"width",""),Re(e,"height","")}var Vn="Sortable"+new Date().getTime();function zue(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(i){if(!(Re(i,"display")==="none"||i===Ue.ghost)){e.push({target:i,rect:Kt(i)});var o=ao({},e[e.length-1].rect);if(i.thisAnimationDuration){var s=ou(i,!0);s&&(o.top-=s.f,o.left-=s.e)}i.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(jue(e,{target:r}),1)},animateAll:function(r){var i=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!1,s=0;e.forEach(function(a){var u=0,l=a.target,c=l.fromRect,f=Kt(l),d=l.prevFromRect,h=l.prevToRect,p=a.rect,m=ou(l,!0);m&&(f.top-=m.f,f.left-=m.e),l.toRect=f,l.thisAnimationDuration&&Qy(d,f)&&!Qy(c,f)&&(p.top-f.top)/(p.left-f.left)===(c.top-f.top)/(c.left-f.left)&&(u=Wue(p,d,h,i.options)),Qy(f,c)||(l.prevFromRect=c,l.prevToRect=f,u||(u=i.options.animation),i.animate(l,p,f,u)),u&&(o=!0,s=Math.max(s,u),clearTimeout(l.animationResetTimer),l.animationResetTimer=setTimeout(function(){l.animationTime=0,l.prevFromRect=null,l.fromRect=null,l.prevToRect=null,l.thisAnimationDuration=null},u),l.thisAnimationDuration=u)}),clearTimeout(t),o?t=setTimeout(function(){typeof r=="function"&&r()},s):typeof r=="function"&&r(),e=[]},animate:function(r,i,o,s){if(s){Re(r,"transition",""),Re(r,"transform","");var a=ou(this.el),u=a&&a.a,l=a&&a.d,c=(i.left-o.left)/(u||1),f=(i.top-o.top)/(l||1);r.animatingX=!!c,r.animatingY=!!f,Re(r,"transform","translate3d("+c+"px,"+f+"px,0)"),this.forRepaintDummy=Vue(r),Re(r,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:"")),Re(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Re(r,"transition",""),Re(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},s)}}}}function Vue(e){return e.offsetWidth}function Wue(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var el=[],eb={initializeByDefault:!0},Ah={mount:function(t){for(var n in eb)eb.hasOwnProperty(n)&&!(n in t)&&(t[n]=eb[n]);el.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),el.push(t)},pluginEvent:function(t,n,r){var i=this;this.eventCanceled=!1,r.cancel=function(){i.eventCanceled=!0};var o=t+"Global";el.forEach(function(s){n[s.pluginName]&&(n[s.pluginName][o]&&n[s.pluginName][o](ao({sortable:n},r)),n.options[s.pluginName]&&n[s.pluginName][t]&&n[s.pluginName][t](ao({sortable:n},r)))})},initializePlugins:function(t,n,r,i){el.forEach(function(a){var u=a.pluginName;if(!(!t.options[u]&&!a.initializeByDefault)){var l=new a(t,n,t.options);l.sortable=t,l.options=t.options,t[u]=l,si(r,l.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var s=this.modifyOption(t,o,t.options[o]);typeof s<"u"&&(t.options[o]=s)}},getEventProperties:function(t,n){var r={};return el.forEach(function(i){typeof i.eventProperties=="function"&&si(r,i.eventProperties.call(n[i.pluginName],t))}),r},modifyOption:function(t,n,r){var i;return el.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(i=o.optionListeners[n].call(t[o.pluginName],r))}),i}};function vf(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,s=e.toEl,a=e.fromEl,u=e.oldIndex,l=e.newIndex,c=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[Vn],!!t){var m,g=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!cs&&!Ch?m=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(m=document.createEvent("Event"),m.initEvent(r,!0,!0)),m.to=s||n,m.from=a||n,m.item=i||n,m.clone=o,m.oldIndex=u,m.newIndex=l,m.oldDraggableIndex=c,m.newDraggableIndex=f,m.originalEvent=d,m.pullMode=h?h.lastPutMode:void 0;var y=ao(ao({},p),Ah.getEventProperties(r,t));for(var b in y)m[b]=y[b];n&&n.dispatchEvent(m),g[v]&&g[v].call(t,m)}}var Gue=["evt"],gr=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,o=Rue(r,Gue);Ah.pluginEvent.bind(Ue)(t,n,ao({dragEl:ve,parentEl:en,ghostEl:Qe,rootEl:Wt,nextEl:Da,lastDownEl:Om,cloneEl:tn,cloneHidden:$s,dragStarted:yf,putSortable:Mn,activeSortable:Ue.active,originalEvent:i,oldIndex:xl,oldDraggableIndex:qf,newIndex:Pr,newDraggableIndex:Ns,hideGhostForTarget:WM,unhideGhostForTarget:GM,cloneNowHidden:function(){$s=!0},cloneNowShown:function(){$s=!1},dispatchSortableEvent:function(a){nr({sortable:n,name:a,originalEvent:i})}},o))};function nr(e){vf(ao({putSortable:Mn,cloneEl:tn,targetEl:ve,rootEl:Wt,oldIndex:xl,oldDraggableIndex:qf,newIndex:Pr,newDraggableIndex:Ns},e))}var ve,en,Qe,Wt,Da,Om,tn,$s,xl,Pr,qf,Ns,Bp,Mn,hl=!1,Zg=!1,e0=[],Aa,di,tb,nb,EC,SC,yf,tl,Yf,Xf=!1,jp=!1,Im,Bn,rb=[],kw=!1,t0=[],yv=typeof document<"u",Hp=$M,xC=Ch||cs?"cssFloat":"float",Kue=yv&&!Fue&&!$M&&"draggable"in document.createElement("div"),UM=function(){if(yv){if(cs)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),zM=function(t,n){var r=Re(t),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=hc(t,0,n),s=hc(t,1,n),a=o&&Re(o),u=s&&Re(s),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Kt(o).width,c=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+Kt(s).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&a.float!=="none"){var f=a.float==="left"?"left":"right";return s&&(u.clear==="both"||u.clear===f)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||l>=i&&r[xC]==="none"||s&&r[xC]==="none"&&l+c>i)?"vertical":"horizontal"},que=function(t,n,r){var i=r?t.left:t.top,o=r?t.right:t.bottom,s=r?t.width:t.height,a=r?n.left:n.top,u=r?n.right:n.bottom,l=r?n.width:n.height;return i===a||o===u||i+s/2===a+l/2},Yue=function(t,n){var r;return e0.some(function(i){var o=i[Vn].options.emptyInsertThreshold;if(!(!o||Px(i))){var s=Kt(i),a=t>=s.left-o&&t<=s.right+o,u=n>=s.top-o&&n<=s.bottom+o;if(a&&u)return r=i}}),r},VM=function(t){function n(o,s){return function(a,u,l,c){var f=a.options.group.name&&u.options.group.name&&a.options.group.name===u.options.group.name;if(o==null&&(s||f))return!0;if(o==null||o===!1)return!1;if(s&&o==="clone")return o;if(typeof o=="function")return n(o(a,u,l,c),s)(a,u,l,c);var d=(s?a:u).options.group.name;return o===!0||typeof o=="string"&&o===d||o.join&&o.indexOf(d)>-1}}var r={},i=t.group;(!i||_m(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,t.group=r},WM=function(){!UM&&Qe&&Re(Qe,"display","none")},GM=function(){!UM&&Qe&&Re(Qe,"display","")};yv&&document.addEventListener("click",function(e){if(Zg)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Zg=!1,!1},!0);var ka=function(t){if(ve){t=t.touches?t.touches[0]:t;var n=Yue(t.clientX,t.clientY);if(n){var r={};for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Vn]._onDragOver(r)}}},Xue=function(t){ve&&ve.parentNode[Vn]._isOutsideThisEl(t.target)};function Ue(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=si({},t),e[Vn]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return zM(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,a){s.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ue.supportPointer!==!1&&"PointerEvent"in window&&!Gf,emptyInsertThreshold:5};Ah.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);VM(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:Kue,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?lt(e,"pointerdown",this._onTapStart):(lt(e,"mousedown",this._onTapStart),lt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(lt(e,"dragover",this),lt(e,"dragenter",this)),e0.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),si(this,zue())}Ue.prototype={constructor:Ue,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(tl=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ve):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,i=this.options,o=i.preventOnFilter,s=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,u=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||u,c=i.filter;if(ile(r),!ve&&!(/mousedown|pointerdown/.test(s)&&t.button!==0||i.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&Gf&&u&&u.tagName.toUpperCase()==="SELECT")&&(u=gi(u,i.draggable,r,!1),!(u&&u.animated)&&Om!==u)){if(xl=nn(u),qf=nn(u,i.draggable),typeof c=="function"){if(c.call(this,t,u,this)){nr({sortable:n,rootEl:l,name:"filter",targetEl:u,toEl:r,fromEl:r}),gr("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=gi(l,f.trim(),r,!1),f)return nr({sortable:n,rootEl:f,name:"filter",targetEl:u,fromEl:r,toEl:r}),gr("filter",n,{evt:t}),!0}),c)){o&&t.cancelable&&t.preventDefault();return}i.handle&&!gi(l,i.handle,r,!1)||this._prepareDragStart(t,a,u)}}},_prepareDragStart:function(t,n,r){var i=this,o=i.el,s=i.options,a=o.ownerDocument,u;if(r&&!ve&&r.parentNode===o){var l=Kt(r);if(Wt=o,ve=r,en=ve.parentNode,Da=ve.nextSibling,Om=r,Bp=s.group,Ue.dragged=ve,Aa={target:ve,clientX:(n||t).clientX,clientY:(n||t).clientY},EC=Aa.clientX-l.left,SC=Aa.clientY-l.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ve.style["will-change"]="all",u=function(){if(gr("delayEnded",i,{evt:t}),Ue.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!gC&&i.nativeDraggable&&(ve.draggable=!0),i._triggerDragStart(t,n),nr({sortable:i,name:"choose",originalEvent:t}),Yt(ve,s.chosenClass,!0)},s.ignore.split(",").forEach(function(c){BM(ve,c.trim(),ib)}),lt(a,"dragover",ka),lt(a,"mousemove",ka),lt(a,"touchmove",ka),lt(a,"mouseup",i._onDrop),lt(a,"touchend",i._onDrop),lt(a,"touchcancel",i._onDrop),gC&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ve.draggable=!0),gr("delayStart",this,{evt:t}),s.delay&&(!s.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ch||cs))){if(Ue.eventCanceled){this._onDrop();return}lt(a,"mouseup",i._disableDelayedDrag),lt(a,"touchend",i._disableDelayedDrag),lt(a,"touchcancel",i._disableDelayedDrag),lt(a,"mousemove",i._delayedDragTouchMoveHandler),lt(a,"touchmove",i._delayedDragTouchMoveHandler),s.supportPointer&&lt(a,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(u,s.delay)}else u()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ve&&ib(ve),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ot(t,"mouseup",this._disableDelayedDrag),ot(t,"touchend",this._disableDelayedDrag),ot(t,"touchcancel",this._disableDelayedDrag),ot(t,"mousemove",this._delayedDragTouchMoveHandler),ot(t,"touchmove",this._delayedDragTouchMoveHandler),ot(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?lt(document,"pointermove",this._onTouchMove):n?lt(document,"touchmove",this._onTouchMove):lt(document,"mousemove",this._onTouchMove):(lt(ve,"dragend",this),lt(Wt,"dragstart",this._onDragStart));try{document.selection?Cm(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(hl=!1,Wt&&ve){gr("dragStarted",this,{evt:n}),this.nativeDraggable&&lt(document,"dragover",Xue);var r=this.options;!t&&Yt(ve,r.dragClass,!1),Yt(ve,r.ghostClass,!0),Ue.active=this,t&&this._appendGhost(),nr({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(di){this._lastX=di.clientX,this._lastY=di.clientY,WM();for(var t=document.elementFromPoint(di.clientX,di.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(di.clientX,di.clientY),t!==n);)n=t;if(ve.parentNode[Vn]._isOutsideThisEl(t),n)do{if(n[Vn]){var r=void 0;if(r=n[Vn]._onDragOver({clientX:di.clientX,clientY:di.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);GM()}},_onTouchMove:function(t){if(Aa){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,s=Qe&&ou(Qe,!0),a=Qe&&s&&s.a,u=Qe&&s&&s.d,l=Hp&&Bn&&bC(Bn),c=(o.clientX-Aa.clientX+i.x)/(a||1)+(l?l[0]-rb[0]:0)/(a||1),f=(o.clientY-Aa.clientY+i.y)/(u||1)+(l?l[1]-rb[1]:0)/(u||1);if(!Ue.active&&!hl){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(Qe){s?(s.e+=c-(tb||0),s.f+=f-(nb||0)):s={a:1,b:0,c:0,d:1,e:c,f};var d="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");Re(Qe,"webkitTransform",d),Re(Qe,"mozTransform",d),Re(Qe,"msTransform",d),Re(Qe,"transform",d),tb=c,nb=f,di=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Qe){var t=this.options.fallbackOnBody?document.body:Wt,n=Kt(ve,!0,Hp,!0,t),r=this.options;if(Hp){for(Bn=t;Re(Bn,"position")==="static"&&Re(Bn,"transform")==="none"&&Bn!==document;)Bn=Bn.parentNode;Bn!==document.body&&Bn!==document.documentElement?(Bn===document&&(Bn=Ji()),n.top+=Bn.scrollTop,n.left+=Bn.scrollLeft):Bn=Ji(),rb=bC(Bn)}Qe=ve.cloneNode(!0),Yt(Qe,r.ghostClass,!1),Yt(Qe,r.fallbackClass,!0),Yt(Qe,r.dragClass,!0),Re(Qe,"transition",""),Re(Qe,"transform",""),Re(Qe,"box-sizing","border-box"),Re(Qe,"margin",0),Re(Qe,"top",n.top),Re(Qe,"left",n.left),Re(Qe,"width",n.width),Re(Qe,"height",n.height),Re(Qe,"opacity","0.8"),Re(Qe,"position",Hp?"absolute":"fixed"),Re(Qe,"zIndex","100000"),Re(Qe,"pointerEvents","none"),Ue.ghost=Qe,t.appendChild(Qe),Re(Qe,"transform-origin",EC/parseInt(Qe.style.width)*100+"% "+SC/parseInt(Qe.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,i=t.dataTransfer,o=r.options;if(gr("dragStart",this,{evt:t}),Ue.eventCanceled){this._onDrop();return}gr("setupClone",this),Ue.eventCanceled||(tn=Dx(ve),tn.draggable=!1,tn.style["will-change"]="",this._hideClone(),Yt(tn,this.options.chosenClass,!1),Ue.clone=tn),r.cloneId=Cm(function(){gr("clone",r),!Ue.eventCanceled&&(r.options.removeCloneOnHide||Wt.insertBefore(tn,ve),r._hideClone(),nr({sortable:r,name:"clone"}))}),!n&&Yt(ve,o.dragClass,!0),n?(Zg=!0,r._loopId=setInterval(r._emulateDragOver,50)):(ot(document,"mouseup",r._onDrop),ot(document,"touchend",r._onDrop),ot(document,"touchcancel",r._onDrop),i&&(i.effectAllowed="move",o.setData&&o.setData.call(r,i,ve)),lt(document,"drop",r),Re(ve,"transform","translateZ(0)")),hl=!0,r._dragStartId=Cm(r._dragStarted.bind(r,n,t)),lt(document,"selectstart",r),yf=!0,Gf&&Re(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,i,o,s,a=this.options,u=a.group,l=Ue.active,c=Bp===u,f=a.sort,d=Mn||l,h,p=this,m=!1;if(kw)return;function g(N,$){gr(N,p,ao({evt:t,isOwner:c,axis:h?"vertical":"horizontal",revert:s,dragRect:i,targetRect:o,canSort:f,fromSortable:d,target:r,completed:y,onMove:function(V,H){return Up(Wt,n,ve,i,V,Kt(V),t,H)},changed:b},$))}function v(){g("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function y(N){return g("dragOverCompleted",{insertion:N}),N&&(c?l._hideClone():l._showClone(p),p!==d&&(Yt(ve,Mn?Mn.options.ghostClass:l.options.ghostClass,!1),Yt(ve,a.ghostClass,!0)),Mn!==p&&p!==Ue.active?Mn=p:p===Ue.active&&Mn&&(Mn=null),d===p&&(p._ignoreWhileAnimating=r),p.animateAll(function(){g("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(r===ve&&!ve.animated||r===n&&!r.animated)&&(tl=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(ve.parentNode[Vn]._isOutsideThisEl(t.target),!N&&ka(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function b(){Pr=nn(ve),Ns=nn(ve,a.draggable),nr({sortable:p,name:"change",toEl:n,newIndex:Pr,newDraggableIndex:Ns,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=gi(r,a.draggable,n,!0),g("dragOver"),Ue.eventCanceled)return m;if(ve.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||p._ignoreWhileAnimating===r)return y(!1);if(Zg=!1,l&&!a.disabled&&(c?f||(s=en!==Wt):Mn===this||(this.lastPutMode=Bp.checkPull(this,l,ve,t))&&u.checkPut(this,l,ve,t))){if(h=this._getDirection(t,r)==="vertical",i=Kt(ve),g("dragOverValid"),Ue.eventCanceled)return m;if(s)return en=Wt,v(),this._hideClone(),g("revert"),Ue.eventCanceled||(Da?Wt.insertBefore(ve,Da):Wt.appendChild(ve)),y(!0);var w=Px(n,a.draggable);if(!w||ele(t,h,this)&&!w.animated){if(w===ve)return y(!1);if(w&&n===t.target&&(r=w),r&&(o=Kt(r)),Up(Wt,n,ve,i,r,o,t,!!r)!==!1)return v(),n.appendChild(ve),en=n,b(),y(!0)}else if(w&&Zue(t,h,this)){var S=hc(n,0,a,!0);if(S===ve)return y(!1);if(r=S,o=Kt(r),Up(Wt,n,ve,i,r,o,t,!1)!==!1)return v(),n.insertBefore(ve,S),en=n,b(),y(!0)}else if(r.parentNode===n){o=Kt(r);var E=0,_,C=ve.parentNode!==n,O=!que(ve.animated&&ve.toRect||i,r.animated&&r.toRect||o,h),T=h?"top":"left",x=yC(r,"top","top")||yC(ve,"top","top"),I=x?x.scrollTop:void 0;tl!==r&&(_=o[T],Xf=!1,jp=!O&&a.invertSwap||C),E=tle(t,r,o,h,O?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,jp,tl===r);var A;if(E!==0){var D=nn(ve);do D-=E,A=en.children[D];while(A&&(Re(A,"display")==="none"||A===Qe))}if(E===0||A===r)return y(!1);tl=r,Yf=E;var R=r.nextElementSibling,k=!1;k=E===1;var P=Up(Wt,n,ve,i,r,o,t,k);if(P!==!1)return(P===1||P===-1)&&(k=P===1),kw=!0,setTimeout(Que,30),v(),k&&!R?n.appendChild(ve):r.parentNode.insertBefore(ve,k?R:r),x&&HM(x,0,I-x.scrollTop),en=ve.parentNode,_!==void 0&&!jp&&(Im=Math.abs(_-Kt(r)[T])),b(),y(!0)}if(n.contains(ve))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ot(document,"mousemove",this._onTouchMove),ot(document,"touchmove",this._onTouchMove),ot(document,"pointermove",this._onTouchMove),ot(document,"dragover",ka),ot(document,"mousemove",ka),ot(document,"touchmove",ka)},_offUpEvents:function(){var t=this.el.ownerDocument;ot(t,"mouseup",this._onDrop),ot(t,"touchend",this._onDrop),ot(t,"pointerup",this._onDrop),ot(t,"touchcancel",this._onDrop),ot(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(Pr=nn(ve),Ns=nn(ve,r.draggable),gr("drop",this,{evt:t}),en=ve&&ve.parentNode,Pr=nn(ve),Ns=nn(ve,r.draggable),Ue.eventCanceled){this._nulling();return}hl=!1,jp=!1,Xf=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Rw(this.cloneId),Rw(this._dragStartId),this.nativeDraggable&&(ot(document,"drop",this),ot(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Gf&&Re(document.body,"user-select",""),Re(ve,"transform",""),t&&(yf&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),Qe&&Qe.parentNode&&Qe.parentNode.removeChild(Qe),(Wt===en||Mn&&Mn.lastPutMode!=="clone")&&tn&&tn.parentNode&&tn.parentNode.removeChild(tn),ve&&(this.nativeDraggable&&ot(ve,"dragend",this),ib(ve),ve.style["will-change"]="",yf&&!hl&&Yt(ve,Mn?Mn.options.ghostClass:this.options.ghostClass,!1),Yt(ve,this.options.chosenClass,!1),nr({sortable:this,name:"unchoose",toEl:en,newIndex:null,newDraggableIndex:null,originalEvent:t}),Wt!==en?(Pr>=0&&(nr({rootEl:en,name:"add",toEl:en,fromEl:Wt,originalEvent:t}),nr({sortable:this,name:"remove",toEl:en,originalEvent:t}),nr({rootEl:en,name:"sort",toEl:en,fromEl:Wt,originalEvent:t}),nr({sortable:this,name:"sort",toEl:en,originalEvent:t})),Mn&&Mn.save()):Pr!==xl&&Pr>=0&&(nr({sortable:this,name:"update",toEl:en,originalEvent:t}),nr({sortable:this,name:"sort",toEl:en,originalEvent:t})),Ue.active&&((Pr==null||Pr===-1)&&(Pr=xl,Ns=qf),nr({sortable:this,name:"end",toEl:en,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){gr("nulling",this),Wt=ve=en=Qe=Da=tn=Om=$s=Aa=di=yf=Pr=Ns=xl=qf=tl=Yf=Mn=Bp=Ue.dragged=Ue.ghost=Ue.clone=Ue.active=null,t0.forEach(function(t){t.checked=!0}),t0.length=tb=nb=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ve&&(this._onDragOver(t),Jue(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,i=0,o=r.length,s=this.options;i<o;i++)n=r[i],gi(n,s.draggable,this.el,!1)&&t.push(n.getAttribute(s.dataIdAttr)||rle(n));return t},sort:function(t,n){var r={},i=this.el;this.toArray().forEach(function(o,s){var a=i.children[s];gi(a,this.options.draggable,i,!1)&&(r[o]=a)},this),n&&this.captureAnimationState(),t.forEach(function(o){r[o]&&(i.removeChild(r[o]),i.appendChild(r[o]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return gi(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var i=Ah.modifyOption(this,t,n);typeof i<"u"?r[t]=i:r[t]=n,t==="group"&&VM(r)},destroy:function(){gr("destroy",this);var t=this.el;t[Vn]=null,ot(t,"mousedown",this._onTapStart),ot(t,"touchstart",this._onTapStart),ot(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(ot(t,"dragover",this),ot(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),e0.splice(e0.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!$s){if(gr("hideClone",this),Ue.eventCanceled)return;Re(tn,"display","none"),this.options.removeCloneOnHide&&tn.parentNode&&tn.parentNode.removeChild(tn),$s=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if($s){if(gr("showClone",this),Ue.eventCanceled)return;ve.parentNode==Wt&&!this.options.group.revertClone?Wt.insertBefore(tn,ve):Da?Wt.insertBefore(tn,Da):Wt.appendChild(tn),this.options.group.revertClone&&this.animate(ve,tn),Re(tn,"display",""),$s=!1}}};function Jue(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Up(e,t,n,r,i,o,s,a){var u,l=e[Vn],c=l.options.onMove,f;return window.CustomEvent&&!cs&&!Ch?u=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(u=document.createEvent("Event"),u.initEvent("move",!0,!0)),u.to=t,u.from=e,u.dragged=n,u.draggedRect=r,u.related=i||t,u.relatedRect=o||Kt(t),u.willInsertAfter=a,u.originalEvent=s,e.dispatchEvent(u),c&&(f=c.call(l,u,s)),f}function ib(e){e.draggable=!1}function Que(){kw=!1}function Zue(e,t,n){var r=Kt(hc(n.el,0,n.options,!0)),i=10;return t?e.clientX<r.left-i||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-i||e.clientY<r.bottom&&e.clientX<r.left}function ele(e,t,n){var r=Kt(Px(n.el,n.options.draggable)),i=10;return t?e.clientX>r.right+i||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+i}function tle(e,t,n,r,i,o,s,a){var u=r?e.clientY:e.clientX,l=r?n.height:n.width,c=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!s){if(a&&Im<l*i){if(!Xf&&(Yf===1?u>c+l*o/2:u<f-l*o/2)&&(Xf=!0),Xf)d=!0;else if(Yf===1?u<c+Im:u>f-Im)return-Yf}else if(u>c+l*(1-i)/2&&u<f-l*(1-i)/2)return nle(t)}return d=d||s,d&&(u<c+l*o/2||u>f-l*o/2)?u>c+l/2?1:-1:0}function nle(e){return nn(ve)<nn(e)?1:-1}function rle(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function ile(e){t0.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&t0.push(r)}}function Cm(e){return setTimeout(e,0)}function Rw(e){return clearTimeout(e)}yv&&lt(document,"touchmove",function(e){(Ue.active||hl)&&e.cancelable&&e.preventDefault()});Ue.utils={on:lt,off:ot,css:Re,find:BM,is:function(t,n){return!!gi(t,n,t,!1)},extend:Hue,throttle:jM,closest:gi,toggleClass:Yt,clone:Dx,index:nn,nextTick:Cm,cancelNextTick:Rw,detectDirection:zM,getChild:hc};Ue.get=function(e){return e[Vn]};Ue.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Ue.utils=ao(ao({},Ue.utils),r.utils)),Ah.mount(r)})};Ue.create=function(e,t){return new Ue(e,t)};Ue.version=$ue;var sn=[],bf,Pw,Dw=!1,ob,sb,n0,wf;function ole(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?lt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?lt(document,"pointermove",this._handleFallbackAutoScroll):r.touches?lt(document,"touchmove",this._handleFallbackAutoScroll):lt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?ot(document,"dragover",this._handleAutoScroll):(ot(document,"pointermove",this._handleFallbackAutoScroll),ot(document,"touchmove",this._handleFallbackAutoScroll),ot(document,"mousemove",this._handleFallbackAutoScroll)),TC(),Am(),Uue()},nulling:function(){n0=Pw=bf=Dw=wf=ob=sb=null,sn.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var i=this,o=(n.touches?n.touches[0]:n).clientX,s=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(o,s);if(n0=n,r||this.options.forceAutoScrollFallback||Ch||cs||Gf){ab(n,this.options,a,r);var u=js(a,!0);Dw&&(!wf||o!==ob||s!==sb)&&(wf&&TC(),wf=setInterval(function(){var l=js(document.elementFromPoint(o,s),!0);l!==u&&(u=l,Am()),ab(n,i.options,l,r)},10),ob=o,sb=s)}else{if(!this.options.bubbleScroll||js(a,!0)===Ji()){Am();return}ab(n,this.options,js(a,!1),!1)}}},si(e,{pluginName:"scroll",initializeByDefault:!0})}function Am(){sn.forEach(function(e){clearInterval(e.pid)}),sn=[]}function TC(){clearInterval(wf)}var ab=jM(function(e,t,n,r){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,a=t.scrollSpeed,u=Ji(),l=!1,c;Pw!==n&&(Pw=n,Am(),bf=t.scroll,c=t.scrollFn,bf===!0&&(bf=js(n,!0)));var f=0,d=bf;do{var h=d,p=Kt(h),m=p.top,g=p.bottom,v=p.left,y=p.right,b=p.width,w=p.height,S=void 0,E=void 0,_=h.scrollWidth,C=h.scrollHeight,O=Re(h),T=h.scrollLeft,x=h.scrollTop;h===u?(S=b<_&&(O.overflowX==="auto"||O.overflowX==="scroll"||O.overflowX==="visible"),E=w<C&&(O.overflowY==="auto"||O.overflowY==="scroll"||O.overflowY==="visible")):(S=b<_&&(O.overflowX==="auto"||O.overflowX==="scroll"),E=w<C&&(O.overflowY==="auto"||O.overflowY==="scroll"));var I=S&&(Math.abs(y-i)<=s&&T+b<_)-(Math.abs(v-i)<=s&&!!T),A=E&&(Math.abs(g-o)<=s&&x+w<C)-(Math.abs(m-o)<=s&&!!x);if(!sn[f])for(var D=0;D<=f;D++)sn[D]||(sn[D]={});(sn[f].vx!=I||sn[f].vy!=A||sn[f].el!==h)&&(sn[f].el=h,sn[f].vx=I,sn[f].vy=A,clearInterval(sn[f].pid),(I!=0||A!=0)&&(l=!0,sn[f].pid=setInterval((function(){r&&this.layer===0&&Ue.active._onTouchMove(n0);var R=sn[this.layer].vy?sn[this.layer].vy*a:0,k=sn[this.layer].vx?sn[this.layer].vx*a:0;typeof c=="function"&&c.call(Ue.dragged.parentNode[Vn],k,R,e,n0,sn[this.layer].el)!=="continue"||HM(sn[this.layer].el,k,R)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==u&&(d=js(d,!1)));Dw=l}},30),KM=function(t){var n=t.originalEvent,r=t.putSortable,i=t.dragEl,o=t.activeSortable,s=t.dispatchSortableEvent,a=t.hideGhostForTarget,u=t.unhideGhostForTarget;if(n){var l=r||o;a();var c=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(c.clientX,c.clientY);u(),l&&!l.el.contains(f)&&(s("spill"),this.onSpill({dragEl:i,putSortable:r}))}};function Nx(){}Nx.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var i=hc(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:KM};si(Nx,{pluginName:"revertOnSpill"});function Mx(){}Mx.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,i=r||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:KM};si(Mx,{pluginName:"removeOnSpill"});var Kr;function sle(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Kr=r},dragOverValid:function(n){var r=n.completed,i=n.target,o=n.onMove,s=n.activeSortable,a=n.changed,u=n.cancel;if(s.options.swap){var l=this.sortable.el,c=this.options;if(i&&i!==l){var f=Kr;o(i)!==!1?(Yt(i,c.swapClass,!0),Kr=i):Kr=null,f&&f!==Kr&&Yt(f,c.swapClass,!1)}a(),r(!0),u()}},drop:function(n){var r=n.activeSortable,i=n.putSortable,o=n.dragEl,s=i||this.sortable,a=this.options;Kr&&Yt(Kr,a.swapClass,!1),Kr&&(a.swap||i&&i.options.swap)&&o!==Kr&&(s.captureAnimationState(),s!==r&&r.captureAnimationState(),ale(o,Kr),s.animateAll(),s!==r&&r.animateAll())},nulling:function(){Kr=null}},si(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Kr}}})}function ale(e,t){var n=e.parentNode,r=t.parentNode,i,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(i=nn(e),o=nn(t),n.isEqualNode(r)&&i<o&&o++,n.insertBefore(t,n.children[i]),r.insertBefore(e,r.children[o]))}var Ye=[],kr=[],of,hi,sf=!1,vr=!1,nl=!1,$t,af,zp;function ule(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?lt(document,"pointerup",this._deselectMultiDrag):(lt(document,"mouseup",this._deselectMultiDrag),lt(document,"touchend",this._deselectMultiDrag)),lt(document,"keydown",this._checkKeyDown),lt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(i,o){var s="";Ye.length&&hi===t?Ye.forEach(function(a,u){s+=(u?", ":"")+a.textContent}):s=o.textContent,i.setData("Text",s)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;$t=r},delayEnded:function(){this.isMultiDrag=~Ye.indexOf($t)},setupClone:function(n){var r=n.sortable,i=n.cancel;if(this.isMultiDrag){for(var o=0;o<Ye.length;o++)kr.push(Dx(Ye[o])),kr[o].sortableIndex=Ye[o].sortableIndex,kr[o].draggable=!1,kr[o].style["will-change"]="",Yt(kr[o],this.options.selectedClass,!1),Ye[o]===$t&&Yt(kr[o],this.options.chosenClass,!1);r._hideClone(),i()}},clone:function(n){var r=n.sortable,i=n.rootEl,o=n.dispatchSortableEvent,s=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Ye.length&&hi===r&&(_C(!0,i),o("clone"),s()))},showClone:function(n){var r=n.cloneNowShown,i=n.rootEl,o=n.cancel;this.isMultiDrag&&(_C(!1,i),kr.forEach(function(s){Re(s,"display","")}),r(),zp=!1,o())},hideClone:function(n){var r=this;n.sortable;var i=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(kr.forEach(function(s){Re(s,"display","none"),r.options.removeCloneOnHide&&s.parentNode&&s.parentNode.removeChild(s)}),i(),zp=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&hi&&hi.multiDrag._deselectMultiDrag(),Ye.forEach(function(r){r.sortableIndex=nn(r)}),Ye=Ye.sort(function(r,i){return r.sortableIndex-i.sortableIndex}),nl=!0},dragStarted:function(n){var r=this,i=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){Ye.forEach(function(s){s!==$t&&Re(s,"position","absolute")});var o=Kt($t,!1,!0,!0);Ye.forEach(function(s){s!==$t&&wC(s,o)}),vr=!0,sf=!0}i.animateAll(function(){vr=!1,sf=!1,r.options.animation&&Ye.forEach(function(s){Zy(s)}),r.options.sort&&Vp()})}},dragOver:function(n){var r=n.target,i=n.completed,o=n.cancel;vr&&~Ye.indexOf(r)&&(i(!1),o())},revert:function(n){var r=n.fromSortable,i=n.rootEl,o=n.sortable,s=n.dragRect;Ye.length>1&&(Ye.forEach(function(a){o.addAnimationState({target:a,rect:vr?Kt(a):s}),Zy(a),a.fromRect=s,r.removeAnimationState(a)}),vr=!1,lle(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var r=n.sortable,i=n.isOwner,o=n.insertion,s=n.activeSortable,a=n.parentEl,u=n.putSortable,l=this.options;if(o){if(i&&s._hideClone(),sf=!1,l.animation&&Ye.length>1&&(vr||!i&&!s.options.sort&&!u)){var c=Kt($t,!1,!0,!0);Ye.forEach(function(d){d!==$t&&(wC(d,c),a.appendChild(d))}),vr=!0}if(!i)if(vr||Vp(),Ye.length>1){var f=zp;s._showClone(r),s.options.animation&&!zp&&f&&kr.forEach(function(d){s.addAnimationState({target:d,rect:af}),d.fromRect=af,d.thisAnimationDuration=null})}else s._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,i=n.isOwner,o=n.activeSortable;if(Ye.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!i&&o.multiDrag.isMultiDrag){af=si({},r);var s=ou($t,!0);af.top-=s.f,af.left-=s.e}},dragOverAnimationComplete:function(){vr&&(vr=!1,Vp())},drop:function(n){var r=n.originalEvent,i=n.rootEl,o=n.parentEl,s=n.sortable,a=n.dispatchSortableEvent,u=n.oldIndex,l=n.putSortable,c=l||this.sortable;if(r){var f=this.options,d=o.children;if(!nl)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Yt($t,f.selectedClass,!~Ye.indexOf($t)),~Ye.indexOf($t))Ye.splice(Ye.indexOf($t),1),of=null,vf({sortable:s,rootEl:i,name:"deselect",targetEl:$t,originalEvt:r});else{if(Ye.push($t),vf({sortable:s,rootEl:i,name:"select",targetEl:$t,originalEvt:r}),r.shiftKey&&of&&s.el.contains(of)){var h=nn(of),p=nn($t);if(~h&&~p&&h!==p){var m,g;for(p>h?(g=h,m=p):(g=p,m=h+1);g<m;g++)~Ye.indexOf(d[g])||(Yt(d[g],f.selectedClass,!0),Ye.push(d[g]),vf({sortable:s,rootEl:i,name:"select",targetEl:d[g],originalEvt:r}))}}else of=$t;hi=c}if(nl&&this.isMultiDrag){if(vr=!1,(o[Vn].options.sort||o!==i)&&Ye.length>1){var v=Kt($t),y=nn($t,":not(."+this.options.selectedClass+")");if(!sf&&f.animation&&($t.thisAnimationDuration=null),c.captureAnimationState(),!sf&&(f.animation&&($t.fromRect=v,Ye.forEach(function(w){if(w.thisAnimationDuration=null,w!==$t){var S=vr?Kt(w):v;w.fromRect=S,c.addAnimationState({target:w,rect:S})}})),Vp(),Ye.forEach(function(w){d[y]?o.insertBefore(w,d[y]):o.appendChild(w),y++}),u===nn($t))){var b=!1;Ye.forEach(function(w){if(w.sortableIndex!==nn(w)){b=!0;return}}),b&&a("update")}Ye.forEach(function(w){Zy(w)}),c.animateAll()}hi=c}(i===o||l&&l.lastPutMode!=="clone")&&kr.forEach(function(w){w.parentNode&&w.parentNode.removeChild(w)})}},nullingGlobal:function(){this.isMultiDrag=nl=!1,kr.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ot(document,"pointerup",this._deselectMultiDrag),ot(document,"mouseup",this._deselectMultiDrag),ot(document,"touchend",this._deselectMultiDrag),ot(document,"keydown",this._checkKeyDown),ot(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof nl<"u"&&nl)&&hi===this.sortable&&!(n&&gi(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Ye.length;){var r=Ye[0];Yt(r,this.options.selectedClass,!1),Ye.shift(),vf({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},si(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Vn];!r||!r.options.multiDrag||~Ye.indexOf(n)||(hi&&hi!==r&&(hi.multiDrag._deselectMultiDrag(),hi=r),Yt(n,r.options.selectedClass,!0),Ye.push(n))},deselect:function(n){var r=n.parentNode[Vn],i=Ye.indexOf(n);!r||!r.options.multiDrag||!~i||(Yt(n,r.options.selectedClass,!1),Ye.splice(i,1))}},eventProperties:function(){var n=this,r=[],i=[];return Ye.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var s;vr&&o!==$t?s=-1:vr?s=nn(o,":not(."+n.options.selectedClass+")"):s=nn(o),i.push({multiDragElement:o,index:s})}),{items:Pue(Ye),clones:[].concat(kr),oldIndicies:r,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function lle(e,t){Ye.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function _C(e,t){kr.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function Vp(){Ye.forEach(function(e){e!==$t&&e.parentNode&&e.parentNode.removeChild(e)})}Ue.mount(new ole);Ue.mount(Mx,Nx);const cle=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:ule,Sortable:Ue,Swap:sle,default:Ue},Symbol.toStringTag,{value:"Module"})),fle=Hw(cle);(function(e,t){(function(r,i){e.exports=i(tM,fle)})(typeof self<"u"?self:Oe,function(n,r){return function(i){var o={};function s(a){if(o[a])return o[a].exports;var u=o[a]={i:a,l:!1,exports:{}};return i[a].call(u.exports,u,u.exports,s),u.l=!0,u.exports}return s.m=i,s.c=o,s.d=function(a,u,l){s.o(a,u)||Object.defineProperty(a,u,{enumerable:!0,get:l})},s.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},s.t=function(a,u){if(u&1&&(a=s(a)),u&8||u&4&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(s.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),u&2&&typeof a!="string")for(var c in a)s.d(l,c,(function(f){return a[f]}).bind(null,c));return l},s.n=function(a){var u=a&&a.__esModule?function(){return a.default}:function(){return a};return s.d(u,"a",u),u},s.o=function(a,u){return Object.prototype.hasOwnProperty.call(a,u)},s.p="",s(s.s="fb15")}({"00ee":function(i,o,s){var a=s("b622"),u=a("toStringTag"),l={};l[u]="z",i.exports=String(l)==="[object z]"},"0366":function(i,o,s){var a=s("1c0b");i.exports=function(u,l,c){if(a(u),l===void 0)return u;switch(c){case 0:return function(){return u.call(l)};case 1:return function(f){return u.call(l,f)};case 2:return function(f,d){return u.call(l,f,d)};case 3:return function(f,d,h){return u.call(l,f,d,h)}}return function(){return u.apply(l,arguments)}}},"057f":function(i,o,s){var a=s("fc6a"),u=s("241c").f,l={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(d){try{return u(d)}catch{return c.slice()}};i.exports.f=function(h){return c&&l.call(h)=="[object Window]"?f(h):u(a(h))}},"06cf":function(i,o,s){var a=s("83ab"),u=s("d1e7"),l=s("5c6c"),c=s("fc6a"),f=s("c04e"),d=s("5135"),h=s("0cfb"),p=Object.getOwnPropertyDescriptor;o.f=a?p:function(g,v){if(g=c(g),v=f(v,!0),h)try{return p(g,v)}catch{}if(d(g,v))return l(!u.f.call(g,v),g[v])}},"0cfb":function(i,o,s){var a=s("83ab"),u=s("d039"),l=s("cc12");i.exports=!a&&!u(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,o,s){var a=s("23e7"),u=s("d58f").left,l=s("a640"),c=s("ae40"),f=l("reduce"),d=c("reduce",{1:0});a({target:"Array",proto:!0,forced:!f||!d},{reduce:function(p){return u(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,o,s){var a=s("c6b6"),u=s("9263");i.exports=function(l,c){var f=l.exec;if(typeof f=="function"){var d=f.call(l,c);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(a(l)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return u.call(l,c)}},"159b":function(i,o,s){var a=s("da84"),u=s("fdbc"),l=s("17c2"),c=s("9112");for(var f in u){var d=a[f],h=d&&d.prototype;if(h&&h.forEach!==l)try{c(h,"forEach",l)}catch{h.forEach=l}}},"17c2":function(i,o,s){var a=s("b727").forEach,u=s("a640"),l=s("ae40"),c=u("forEach"),f=l("forEach");i.exports=!c||!f?function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,o,s){var a=s("d066");i.exports=a("document","documentElement")},"1c0b":function(i,o){i.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},"1c7e":function(i,o,s){var a=s("b622"),u=a("iterator"),l=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){l=!0}};f[u]=function(){return this},Array.from(f,function(){throw 2})}catch{}i.exports=function(d,h){if(!h&&!l)return!1;var p=!1;try{var m={};m[u]=function(){return{next:function(){return{done:p=!0}}}},d(m)}catch{}return p}},"1d80":function(i,o){i.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"1dde":function(i,o,s){var a=s("d039"),u=s("b622"),l=s("2d00"),c=u("species");i.exports=function(f){return l>=51||!a(function(){var d=[],h=d.constructor={};return h[c]=function(){return{foo:1}},d[f](Boolean).foo!==1})}},"23cb":function(i,o,s){var a=s("a691"),u=Math.max,l=Math.min;i.exports=function(c,f){var d=a(c);return d<0?u(d+f,0):l(d,f)}},"23e7":function(i,o,s){var a=s("da84"),u=s("06cf").f,l=s("9112"),c=s("6eeb"),f=s("ce4e"),d=s("e893"),h=s("94ca");i.exports=function(p,m){var g=p.target,v=p.global,y=p.stat,b,w,S,E,_,C;if(v?w=a:y?w=a[g]||f(g,{}):w=(a[g]||{}).prototype,w)for(S in m){if(_=m[S],p.noTargetGet?(C=u(w,S),E=C&&C.value):E=w[S],b=h(v?S:g+(y?".":"#")+S,p.forced),!b&&E!==void 0){if(typeof _==typeof E)continue;d(_,E)}(p.sham||E&&E.sham)&&l(_,"sham",!0),c(w,S,_,p)}}},"241c":function(i,o,s){var a=s("ca84"),u=s("7839"),l=u.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return a(f,l)}},"25f0":function(i,o,s){var a=s("6eeb"),u=s("825a"),l=s("d039"),c=s("ad6d"),f="toString",d=RegExp.prototype,h=d[f],p=l(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=f;(p||m)&&a(RegExp.prototype,f,function(){var v=u(this),y=String(v.source),b=v.flags,w=String(b===void 0&&v instanceof RegExp&&!("flags"in d)?c.call(v):b);return"/"+y+"/"+w},{unsafe:!0})},"2ca0":function(i,o,s){var a=s("23e7"),u=s("06cf").f,l=s("50c4"),c=s("5a34"),f=s("1d80"),d=s("ab13"),h=s("c430"),p="".startsWith,m=Math.min,g=d("startsWith"),v=!h&&!g&&!!function(){var y=u(String.prototype,"startsWith");return y&&!y.writable}();a({target:"String",proto:!0,forced:!v&&!g},{startsWith:function(b){var w=String(f(this));c(b);var S=l(m(arguments.length>1?arguments[1]:void 0,w.length)),E=String(b);return p?p.call(w,E,S):w.slice(S,S+E.length)===E}})},"2d00":function(i,o,s){var a=s("da84"),u=s("342f"),l=a.process,c=l&&l.versions,f=c&&c.v8,d,h;f?(d=f.split("."),h=d[0]+d[1]):u&&(d=u.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=u.match(/Chrome\/(\d+)/),d&&(h=d[1]))),i.exports=h&&+h},"342f":function(i,o,s){var a=s("d066");i.exports=a("navigator","userAgent")||""},"35a1":function(i,o,s){var a=s("f5df"),u=s("3f8c"),l=s("b622"),c=l("iterator");i.exports=function(f){if(f!=null)return f[c]||f["@@iterator"]||u[a(f)]}},"37e8":function(i,o,s){var a=s("83ab"),u=s("9bf2"),l=s("825a"),c=s("df75");i.exports=a?Object.defineProperties:function(d,h){l(d);for(var p=c(h),m=p.length,g=0,v;m>g;)u.f(d,v=p[g++],h[v]);return d}},"3bbe":function(i,o,s){var a=s("861d");i.exports=function(u){if(!a(u)&&u!==null)throw TypeError("Can't set "+String(u)+" as a prototype");return u}},"3ca3":function(i,o,s){var a=s("6547").charAt,u=s("69f3"),l=s("7dd0"),c="String Iterator",f=u.set,d=u.getterFor(c);l(String,"String",function(h){f(this,{type:c,string:String(h),index:0})},function(){var p=d(this),m=p.string,g=p.index,v;return g>=m.length?{value:void 0,done:!0}:(v=a(m,g),p.index+=v.length,{value:v,done:!1})})},"3f8c":function(i,o){i.exports={}},4160:function(i,o,s){var a=s("23e7"),u=s("17c2");a({target:"Array",proto:!0,forced:[].forEach!=u},{forEach:u})},"428f":function(i,o,s){var a=s("da84");i.exports=a},"44ad":function(i,o,s){var a=s("d039"),u=s("c6b6"),l="".split;i.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return u(c)=="String"?l.call(c,""):Object(c)}:Object},"44d2":function(i,o,s){var a=s("b622"),u=s("7c73"),l=s("9bf2"),c=a("unscopables"),f=Array.prototype;f[c]==null&&l.f(f,c,{configurable:!0,value:u(null)}),i.exports=function(d){f[c][d]=!0}},"44e7":function(i,o,s){var a=s("861d"),u=s("c6b6"),l=s("b622"),c=l("match");i.exports=function(f){var d;return a(f)&&((d=f[c])!==void 0?!!d:u(f)=="RegExp")}},4930:function(i,o,s){var a=s("d039");i.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(i,o,s){var a=s("fc6a"),u=s("50c4"),l=s("23cb"),c=function(f){return function(d,h,p){var m=a(d),g=u(m.length),v=l(p,g),y;if(f&&h!=h){for(;g>v;)if(y=m[v++],y!=y)return!0}else for(;g>v;v++)if((f||v in m)&&m[v]===h)return f||v||0;return!f&&-1}};i.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(i,o,s){var a=s("23e7"),u=s("b727").filter,l=s("1dde"),c=s("ae40"),f=l("filter"),d=c("filter");a({target:"Array",proto:!0,forced:!f||!d},{filter:function(p){return u(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,o,s){var a=s("0366"),u=s("7b0b"),l=s("9bdd"),c=s("e95a"),f=s("50c4"),d=s("8418"),h=s("35a1");i.exports=function(m){var g=u(m),v=typeof this=="function"?this:Array,y=arguments.length,b=y>1?arguments[1]:void 0,w=b!==void 0,S=h(g),E=0,_,C,O,T,x,I;if(w&&(b=a(b,y>2?arguments[2]:void 0,2)),S!=null&&!(v==Array&&c(S)))for(T=S.call(g),x=T.next,C=new v;!(O=x.call(T)).done;E++)I=w?l(T,b,[O.value,E],!0):O.value,d(C,E,I);else for(_=f(g.length),C=new v(_);_>E;E++)I=w?b(g[E],E):g[E],d(C,E,I);return C.length=E,C}},"4fad":function(i,o,s){var a=s("23e7"),u=s("6f53").entries;a({target:"Object",stat:!0},{entries:function(c){return u(c)}})},"50c4":function(i,o,s){var a=s("a691"),u=Math.min;i.exports=function(l){return l>0?u(a(l),9007199254740991):0}},5135:function(i,o){var s={}.hasOwnProperty;i.exports=function(a,u){return s.call(a,u)}},5319:function(i,o,s){var a=s("d784"),u=s("825a"),l=s("7b0b"),c=s("50c4"),f=s("a691"),d=s("1d80"),h=s("8aa5"),p=s("14c3"),m=Math.max,g=Math.min,v=Math.floor,y=/\$([$&'`]|\d\d?|<[^>]*>)/g,b=/\$([$&'`]|\d\d?)/g,w=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,E,_,C){var O=C.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,T=C.REPLACE_KEEPS_$0,x=O?"$":"$0";return[function(D,R){var k=d(this),P=D==null?void 0:D[S];return P!==void 0?P.call(D,k,R):E.call(String(k),D,R)},function(A,D){if(!O&&T||typeof D=="string"&&D.indexOf(x)===-1){var R=_(E,A,this,D);if(R.done)return R.value}var k=u(A),P=String(this),N=typeof D=="function";N||(D=String(D));var $=k.global;if($){var F=k.unicode;k.lastIndex=0}for(var V=[];;){var H=p(k,P);if(H===null||(V.push(H),!$))break;var G=String(H[0]);G===""&&(k.lastIndex=h(P,c(k.lastIndex),F))}for(var U="",Y=0,J=0;J<V.length;J++){H=V[J];for(var B=String(H[0]),Z=m(g(f(H.index),P.length),0),ue=[],de=1;de<H.length;de++)ue.push(w(H[de]));var Me=H.groups;if(N){var nt=[B].concat(ue,Z,P);Me!==void 0&&nt.push(Me);var M=String(D.apply(void 0,nt))}else M=I(B,P,Z,ue,Me,D);Z>=Y&&(U+=P.slice(Y,Z)+M,Y=Z+B.length)}return U+P.slice(Y)}];function I(A,D,R,k,P,N){var $=R+A.length,F=k.length,V=b;return P!==void 0&&(P=l(P),V=y),E.call(N,V,function(H,G){var U;switch(G.charAt(0)){case"$":return"$";case"&":return A;case"`":return D.slice(0,R);case"'":return D.slice($);case"<":U=P[G.slice(1,-1)];break;default:var Y=+G;if(Y===0)return H;if(Y>F){var J=v(Y/10);return J===0?H:J<=F?k[J-1]===void 0?G.charAt(1):k[J-1]+G.charAt(1):H}U=k[Y-1]}return U===void 0?"":U})}})},5692:function(i,o,s){var a=s("c430"),u=s("c6cd");(i.exports=function(l,c){return u[l]||(u[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,o,s){var a=s("d066"),u=s("241c"),l=s("7418"),c=s("825a");i.exports=a("Reflect","ownKeys")||function(d){var h=u.f(c(d)),p=l.f;return p?h.concat(p(d)):h}},"5a34":function(i,o,s){var a=s("44e7");i.exports=function(u){if(a(u))throw TypeError("The method doesn't accept regular expressions");return u}},"5c6c":function(i,o){i.exports=function(s,a){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:a}}},"5db7":function(i,o,s){var a=s("23e7"),u=s("a2bf"),l=s("7b0b"),c=s("50c4"),f=s("1c0b"),d=s("65f0");a({target:"Array",proto:!0},{flatMap:function(p){var m=l(this),g=c(m.length),v;return f(p),v=d(m,0),v.length=u(v,m,m,g,0,1,p,arguments.length>1?arguments[1]:void 0),v}})},6547:function(i,o,s){var a=s("a691"),u=s("1d80"),l=function(c){return function(f,d){var h=String(u(f)),p=a(d),m=h.length,g,v;return p<0||p>=m?c?"":void 0:(g=h.charCodeAt(p),g<55296||g>56319||p+1===m||(v=h.charCodeAt(p+1))<56320||v>57343?c?h.charAt(p):g:c?h.slice(p,p+2):(g-55296<<10)+(v-56320)+65536)}};i.exports={codeAt:l(!1),charAt:l(!0)}},"65f0":function(i,o,s){var a=s("861d"),u=s("e8b5"),l=s("b622"),c=l("species");i.exports=function(f,d){var h;return u(f)&&(h=f.constructor,typeof h=="function"&&(h===Array||u(h.prototype))?h=void 0:a(h)&&(h=h[c],h===null&&(h=void 0))),new(h===void 0?Array:h)(d===0?0:d)}},"69f3":function(i,o,s){var a=s("7f9a"),u=s("da84"),l=s("861d"),c=s("9112"),f=s("5135"),d=s("f772"),h=s("d012"),p=u.WeakMap,m,g,v,y=function(O){return v(O)?g(O):m(O,{})},b=function(O){return function(T){var x;if(!l(T)||(x=g(T)).type!==O)throw TypeError("Incompatible receiver, "+O+" required");return x}};if(a){var w=new p,S=w.get,E=w.has,_=w.set;m=function(O,T){return _.call(w,O,T),T},g=function(O){return S.call(w,O)||{}},v=function(O){return E.call(w,O)}}else{var C=d("state");h[C]=!0,m=function(O,T){return c(O,C,T),T},g=function(O){return f(O,C)?O[C]:{}},v=function(O){return f(O,C)}}i.exports={set:m,get:g,has:v,enforce:y,getterFor:b}},"6eeb":function(i,o,s){var a=s("da84"),u=s("9112"),l=s("5135"),c=s("ce4e"),f=s("8925"),d=s("69f3"),h=d.get,p=d.enforce,m=String(String).split("String");(i.exports=function(g,v,y,b){var w=b?!!b.unsafe:!1,S=b?!!b.enumerable:!1,E=b?!!b.noTargetGet:!1;if(typeof y=="function"&&(typeof v=="string"&&!l(y,"name")&&u(y,"name",v),p(y).source=m.join(typeof v=="string"?v:"")),g===a){S?g[v]=y:c(v,y);return}else w?!E&&g[v]&&(S=!0):delete g[v];S?g[v]=y:u(g,v,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||f(this)})},"6f53":function(i,o,s){var a=s("83ab"),u=s("df75"),l=s("fc6a"),c=s("d1e7").f,f=function(d){return function(h){for(var p=l(h),m=u(p),g=m.length,v=0,y=[],b;g>v;)b=m[v++],(!a||c.call(p,b))&&y.push(d?[b,p[b]]:p[b]);return y}};i.exports={entries:f(!0),values:f(!1)}},"73d9":function(i,o,s){var a=s("44d2");a("flatMap")},7418:function(i,o){o.f=Object.getOwnPropertySymbols},"746f":function(i,o,s){var a=s("428f"),u=s("5135"),l=s("e538"),c=s("9bf2").f;i.exports=function(f){var d=a.Symbol||(a.Symbol={});u(d,f)||c(d,f,{value:l.f(f)})}},7839:function(i,o){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,o,s){var a=s("1d80");i.exports=function(u){return Object(a(u))}},"7c73":function(i,o,s){var a=s("825a"),u=s("37e8"),l=s("7839"),c=s("d012"),f=s("1be4"),d=s("cc12"),h=s("f772"),p=">",m="<",g="prototype",v="script",y=h("IE_PROTO"),b=function(){},w=function(O){return m+v+p+O+m+"/"+v+p},S=function(O){O.write(w("")),O.close();var T=O.parentWindow.Object;return O=null,T},E=function(){var O=d("iframe"),T="java"+v+":",x;return O.style.display="none",f.appendChild(O),O.src=String(T),x=O.contentWindow.document,x.open(),x.write(w("document.F=Object")),x.close(),x.F},_,C=function(){try{_=document.domain&&new ActiveXObject("htmlfile")}catch{}C=_?S(_):E();for(var O=l.length;O--;)delete C[g][l[O]];return C()};c[y]=!0,i.exports=Object.create||function(T,x){var I;return T!==null?(b[g]=a(T),I=new b,b[g]=null,I[y]=T):I=C(),x===void 0?I:u(I,x)}},"7dd0":function(i,o,s){var a=s("23e7"),u=s("9ed3"),l=s("e163"),c=s("d2bb"),f=s("d44e"),d=s("9112"),h=s("6eeb"),p=s("b622"),m=s("c430"),g=s("3f8c"),v=s("ae93"),y=v.IteratorPrototype,b=v.BUGGY_SAFARI_ITERATORS,w=p("iterator"),S="keys",E="values",_="entries",C=function(){return this};i.exports=function(O,T,x,I,A,D,R){u(x,T,I);var k=function(J){if(J===A&&V)return V;if(!b&&J in $)return $[J];switch(J){case S:return function(){return new x(this,J)};case E:return function(){return new x(this,J)};case _:return function(){return new x(this,J)}}return function(){return new x(this)}},P=T+" Iterator",N=!1,$=O.prototype,F=$[w]||$["@@iterator"]||A&&$[A],V=!b&&F||k(A),H=T=="Array"&&$.entries||F,G,U,Y;if(H&&(G=l(H.call(new O)),y!==Object.prototype&&G.next&&(!m&&l(G)!==y&&(c?c(G,y):typeof G[w]!="function"&&d(G,w,C)),f(G,P,!0,!0),m&&(g[P]=C))),A==E&&F&&F.name!==E&&(N=!0,V=function(){return F.call(this)}),(!m||R)&&$[w]!==V&&d($,w,V),g[T]=V,A)if(U={values:k(E),keys:D?V:k(S),entries:k(_)},R)for(Y in U)(b||N||!(Y in $))&&h($,Y,U[Y]);else a({target:T,proto:!0,forced:b||N},U);return U}},"7f9a":function(i,o,s){var a=s("da84"),u=s("8925"),l=a.WeakMap;i.exports=typeof l=="function"&&/native code/.test(u(l))},"825a":function(i,o,s){var a=s("861d");i.exports=function(u){if(!a(u))throw TypeError(String(u)+" is not an object");return u}},"83ab":function(i,o,s){var a=s("d039");i.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(i,o,s){var a=s("c04e"),u=s("9bf2"),l=s("5c6c");i.exports=function(c,f,d){var h=a(f);h in c?u.f(c,h,l(0,d)):c[h]=d}},"861d":function(i,o){i.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},8875:function(i,o,s){var a,u,l;(function(c,f){u=[],a=f,l=typeof a=="function"?a.apply(o,u):a,l!==void 0&&(i.exports=l)})(typeof self<"u"?self:this,function(){function c(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(_){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=d.exec(_.stack)||h.exec(_.stack),m=p&&p[1]||!1,g=p&&p[2]||!1,v=document.location.href.replace(document.location.hash,""),y,b,w,S=document.getElementsByTagName("script");m===v&&(y=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),w=y.replace(b,"$1").trim());for(var E=0;E<S.length;E++)if(S[E].readyState==="interactive"||S[E].src===m||m===v&&S[E].innerHTML&&S[E].innerHTML.trim()===w)return S[E];return null}}return c})},8925:function(i,o,s){var a=s("c6cd"),u=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(l){return u.call(l)}),i.exports=a.inspectSource},"8aa5":function(i,o,s){var a=s("6547").charAt;i.exports=function(u,l,c){return l+(c?a(u,l).length:1)}},"8bbf":function(i,o){i.exports=n},"90e3":function(i,o){var s=0,a=Math.random();i.exports=function(u){return"Symbol("+String(u===void 0?"":u)+")_"+(++s+a).toString(36)}},9112:function(i,o,s){var a=s("83ab"),u=s("9bf2"),l=s("5c6c");i.exports=a?function(c,f,d){return u.f(c,f,l(1,d))}:function(c,f,d){return c[f]=d,c}},9263:function(i,o,s){var a=s("ad6d"),u=s("9f7f"),l=RegExp.prototype.exec,c=String.prototype.replace,f=l,d=function(){var g=/a/,v=/b*/g;return l.call(g,"a"),l.call(v,"a"),g.lastIndex!==0||v.lastIndex!==0}(),h=u.UNSUPPORTED_Y||u.BROKEN_CARET,p=/()??/.exec("")[1]!==void 0,m=d||p||h;m&&(f=function(v){var y=this,b,w,S,E,_=h&&y.sticky,C=a.call(y),O=y.source,T=0,x=v;return _&&(C=C.replace("y",""),C.indexOf("g")===-1&&(C+="g"),x=String(v).slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&v[y.lastIndex-1]!==`
`)&&(O="(?: "+O+")",x=" "+x,T++),w=new RegExp("^(?:"+O+")",C)),p&&(w=new RegExp("^"+O+"$(?!\\s)",C)),d&&(b=y.lastIndex),S=l.call(_?w:y,x),_?S?(S.input=S.input.slice(T),S[0]=S[0].slice(T),S.index=y.lastIndex,y.lastIndex+=S[0].length):y.lastIndex=0:d&&S&&(y.lastIndex=y.global?S.index+S[0].length:b),p&&S&&S.length>1&&c.call(S[0],w,function(){for(E=1;E<arguments.length-2;E++)arguments[E]===void 0&&(S[E]=void 0)}),S}),i.exports=f},"94ca":function(i,o,s){var a=s("d039"),u=/#|\.prototype\./,l=function(p,m){var g=f[c(p)];return g==h?!0:g==d?!1:typeof m=="function"?a(m):!!m},c=l.normalize=function(p){return String(p).replace(u,".").toLowerCase()},f=l.data={},d=l.NATIVE="N",h=l.POLYFILL="P";i.exports=l},"99af":function(i,o,s){var a=s("23e7"),u=s("d039"),l=s("e8b5"),c=s("861d"),f=s("7b0b"),d=s("50c4"),h=s("8418"),p=s("65f0"),m=s("1dde"),g=s("b622"),v=s("2d00"),y=g("isConcatSpreadable"),b=9007199254740991,w="Maximum allowed index exceeded",S=v>=51||!u(function(){var O=[];return O[y]=!1,O.concat()[0]!==O}),E=m("concat"),_=function(O){if(!c(O))return!1;var T=O[y];return T!==void 0?!!T:l(O)},C=!S||!E;a({target:"Array",proto:!0,forced:C},{concat:function(T){var x=f(this),I=p(x,0),A=0,D,R,k,P,N;for(D=-1,k=arguments.length;D<k;D++)if(N=D===-1?x:arguments[D],_(N)){if(P=d(N.length),A+P>b)throw TypeError(w);for(R=0;R<P;R++,A++)R in N&&h(I,A,N[R])}else{if(A>=b)throw TypeError(w);h(I,A++,N)}return I.length=A,I}})},"9bdd":function(i,o,s){var a=s("825a");i.exports=function(u,l,c,f){try{return f?l(a(c)[0],c[1]):l(c)}catch(h){var d=u.return;throw d!==void 0&&a(d.call(u)),h}}},"9bf2":function(i,o,s){var a=s("83ab"),u=s("0cfb"),l=s("825a"),c=s("c04e"),f=Object.defineProperty;o.f=a?f:function(h,p,m){if(l(h),p=c(p,!0),l(m),u)try{return f(h,p,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[p]=m.value),h}},"9ed3":function(i,o,s){var a=s("ae93").IteratorPrototype,u=s("7c73"),l=s("5c6c"),c=s("d44e"),f=s("3f8c"),d=function(){return this};i.exports=function(h,p,m){var g=p+" Iterator";return h.prototype=u(a,{next:l(1,m)}),c(h,g,!1,!0),f[g]=d,h}},"9f7f":function(i,o,s){var a=s("d039");function u(l,c){return RegExp(l,c)}o.UNSUPPORTED_Y=a(function(){var l=u("a","y");return l.lastIndex=2,l.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var l=u("^r","gy");return l.lastIndex=2,l.exec("str")!=null})},a2bf:function(i,o,s){var a=s("e8b5"),u=s("50c4"),l=s("0366"),c=function(f,d,h,p,m,g,v,y){for(var b=m,w=0,S=v?l(v,y,3):!1,E;w<p;){if(w in h){if(E=S?S(h[w],w,d):h[w],g>0&&a(E))b=c(f,d,E,u(E.length),b,g-1)-1;else{if(b>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[b]=E}b++}w++}return b};i.exports=c},a352:function(i,o){i.exports=r},a434:function(i,o,s){var a=s("23e7"),u=s("23cb"),l=s("a691"),c=s("50c4"),f=s("7b0b"),d=s("65f0"),h=s("8418"),p=s("1dde"),m=s("ae40"),g=p("splice"),v=m("splice",{ACCESSORS:!0,0:0,1:2}),y=Math.max,b=Math.min,w=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!g||!v},{splice:function(_,C){var O=f(this),T=c(O.length),x=u(_,T),I=arguments.length,A,D,R,k,P,N;if(I===0?A=D=0:I===1?(A=0,D=T-x):(A=I-2,D=b(y(l(C),0),T-x)),T+A-D>w)throw TypeError(S);for(R=d(O,D),k=0;k<D;k++)P=x+k,P in O&&h(R,k,O[P]);if(R.length=D,A<D){for(k=x;k<T-D;k++)P=k+D,N=k+A,P in O?O[N]=O[P]:delete O[N];for(k=T;k>T-D+A;k--)delete O[k-1]}else if(A>D)for(k=T-D;k>x;k--)P=k+D-1,N=k+A-1,P in O?O[N]=O[P]:delete O[N];for(k=0;k<A;k++)O[k+x]=arguments[k+2];return O.length=T-D+A,R}})},a4d3:function(i,o,s){var a=s("23e7"),u=s("da84"),l=s("d066"),c=s("c430"),f=s("83ab"),d=s("4930"),h=s("fdbf"),p=s("d039"),m=s("5135"),g=s("e8b5"),v=s("861d"),y=s("825a"),b=s("7b0b"),w=s("fc6a"),S=s("c04e"),E=s("5c6c"),_=s("7c73"),C=s("df75"),O=s("241c"),T=s("057f"),x=s("7418"),I=s("06cf"),A=s("9bf2"),D=s("d1e7"),R=s("9112"),k=s("6eeb"),P=s("5692"),N=s("f772"),$=s("d012"),F=s("90e3"),V=s("b622"),H=s("e538"),G=s("746f"),U=s("d44e"),Y=s("69f3"),J=s("b727").forEach,B=N("hidden"),Z="Symbol",ue="prototype",de=V("toPrimitive"),Me=Y.set,nt=Y.getterFor(Z),M=Object[ue],L=u.Symbol,K=l("JSON","stringify"),re=I.f,Q=A.f,le=T.f,fe=D.f,ne=P("symbols"),oe=P("op-symbols"),ee=P("string-to-symbol-registry"),pe=P("symbol-to-string-registry"),ae=P("wks"),ye=u.QObject,Ce=!ye||!ye[ue]||!ye[ue].findChild,Ke=f&&p(function(){return _(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a!=7})?function(Ae,be,ke){var Ve=re(M,be);Ve&&delete M[be],Q(Ae,be,ke),Ve&&Ae!==M&&Q(M,be,Ve)}:Q,et=function(Ae,be){var ke=ne[Ae]=_(L[ue]);return Me(ke,{type:Z,tag:Ae,description:be}),f||(ke.description=be),ke},z=h?function(Ae){return typeof Ae=="symbol"}:function(Ae){return Object(Ae)instanceof L},q=function(be,ke,Ve){be===M&&q(oe,ke,Ve),y(be);var Pe=S(ke,!0);return y(Ve),m(ne,Pe)?(Ve.enumerable?(m(be,B)&&be[B][Pe]&&(be[B][Pe]=!1),Ve=_(Ve,{enumerable:E(0,!1)})):(m(be,B)||Q(be,B,E(1,{})),be[B][Pe]=!0),Ke(be,Pe,Ve)):Q(be,Pe,Ve)},X=function(be,ke){y(be);var Ve=w(ke),Pe=C(Ve).concat(Te(Ve));return J(Pe,function(It){(!f||ie.call(Ve,It))&&q(be,It,Ve[It])}),be},W=function(be,ke){return ke===void 0?_(be):X(_(be),ke)},ie=function(be){var ke=S(be,!0),Ve=fe.call(this,ke);return this===M&&m(ne,ke)&&!m(oe,ke)?!1:Ve||!m(this,ke)||!m(ne,ke)||m(this,B)&&this[B][ke]?Ve:!0},ce=function(be,ke){var Ve=w(be),Pe=S(ke,!0);if(!(Ve===M&&m(ne,Pe)&&!m(oe,Pe))){var It=re(Ve,Pe);return It&&m(ne,Pe)&&!(m(Ve,B)&&Ve[B][Pe])&&(It.enumerable=!0),It}},we=function(be){var ke=le(w(be)),Ve=[];return J(ke,function(Pe){!m(ne,Pe)&&!m($,Pe)&&Ve.push(Pe)}),Ve},Te=function(be){var ke=be===M,Ve=le(ke?oe:w(be)),Pe=[];return J(Ve,function(It){m(ne,It)&&(!ke||m(M,It))&&Pe.push(ne[It])}),Pe};if(d||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor");var be=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ke=F(be),Ve=function(Pe){this===M&&Ve.call(oe,Pe),m(this,B)&&m(this[B],ke)&&(this[B][ke]=!1),Ke(this,ke,E(1,Pe))};return f&&Ce&&Ke(M,ke,{configurable:!0,set:Ve}),et(ke,be)},k(L[ue],"toString",function(){return nt(this).tag}),k(L,"withoutSetter",function(Ae){return et(F(Ae),Ae)}),D.f=ie,A.f=q,I.f=ce,O.f=T.f=we,x.f=Te,H.f=function(Ae){return et(V(Ae),Ae)},f&&(Q(L[ue],"description",{configurable:!0,get:function(){return nt(this).description}}),c||k(M,"propertyIsEnumerable",ie,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:L}),J(C(ae),function(Ae){G(Ae)}),a({target:Z,stat:!0,forced:!d},{for:function(Ae){var be=String(Ae);if(m(ee,be))return ee[be];var ke=L(be);return ee[be]=ke,pe[ke]=be,ke},keyFor:function(be){if(!z(be))throw TypeError(be+" is not a symbol");if(m(pe,be))return pe[be]},useSetter:function(){Ce=!0},useSimple:function(){Ce=!1}}),a({target:"Object",stat:!0,forced:!d,sham:!f},{create:W,defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:ce}),a({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:we,getOwnPropertySymbols:Te}),a({target:"Object",stat:!0,forced:p(function(){x.f(1)})},{getOwnPropertySymbols:function(be){return x.f(b(be))}}),K){var je=!d||p(function(){var Ae=L();return K([Ae])!="[null]"||K({a:Ae})!="{}"||K(Object(Ae))!="{}"});a({target:"JSON",stat:!0,forced:je},{stringify:function(be,ke,Ve){for(var Pe=[be],It=1,Tn;arguments.length>It;)Pe.push(arguments[It++]);if(Tn=ke,!(!v(ke)&&be===void 0||z(be)))return g(ke)||(ke=function(Dh,fs){if(typeof Tn=="function"&&(fs=Tn.call(this,Dh,fs)),!z(fs))return fs}),Pe[1]=ke,K.apply(null,Pe)}})}L[ue][de]||R(L[ue],de,L[ue].valueOf),U(L,Z),$[B]=!0},a630:function(i,o,s){var a=s("23e7"),u=s("4df4"),l=s("1c7e"),c=!l(function(f){Array.from(f)});a({target:"Array",stat:!0,forced:c},{from:u})},a640:function(i,o,s){var a=s("d039");i.exports=function(u,l){var c=[][u];return!!c&&a(function(){c.call(null,l||function(){throw 1},1)})}},a691:function(i,o){var s=Math.ceil,a=Math.floor;i.exports=function(u){return isNaN(u=+u)?0:(u>0?a:s)(u)}},ab13:function(i,o,s){var a=s("b622"),u=a("match");i.exports=function(l){var c=/./;try{"/./"[l](c)}catch{try{return c[u]=!1,"/./"[l](c)}catch{}}return!1}},ac1f:function(i,o,s){var a=s("23e7"),u=s("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==u},{exec:u})},ad6d:function(i,o,s){var a=s("825a");i.exports=function(){var u=a(this),l="";return u.global&&(l+="g"),u.ignoreCase&&(l+="i"),u.multiline&&(l+="m"),u.dotAll&&(l+="s"),u.unicode&&(l+="u"),u.sticky&&(l+="y"),l}},ae40:function(i,o,s){var a=s("83ab"),u=s("d039"),l=s("5135"),c=Object.defineProperty,f={},d=function(h){throw h};i.exports=function(h,p){if(l(f,h))return f[h];p||(p={});var m=[][h],g=l(p,"ACCESSORS")?p.ACCESSORS:!1,v=l(p,0)?p[0]:d,y=l(p,1)?p[1]:void 0;return f[h]=!!m&&!u(function(){if(g&&!a)return!0;var b={length:-1};g?c(b,1,{enumerable:!0,get:d}):b[1]=1,m.call(b,v,y)})}},ae93:function(i,o,s){var a=s("e163"),u=s("9112"),l=s("5135"),c=s("b622"),f=s("c430"),d=c("iterator"),h=!1,p=function(){return this},m,g,v;[].keys&&(v=[].keys(),"next"in v?(g=a(a(v)),g!==Object.prototype&&(m=g)):h=!0),m==null&&(m={}),!f&&!l(m,d)&&u(m,d,p),i.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:h}},b041:function(i,o,s){var a=s("00ee"),u=s("f5df");i.exports=a?{}.toString:function(){return"[object "+u(this)+"]"}},b0c0:function(i,o,s){var a=s("83ab"),u=s("9bf2").f,l=Function.prototype,c=l.toString,f=/^\s*function ([^ (]*)/,d="name";a&&!(d in l)&&u(l,d,{configurable:!0,get:function(){try{return c.call(this).match(f)[1]}catch{return""}}})},b622:function(i,o,s){var a=s("da84"),u=s("5692"),l=s("5135"),c=s("90e3"),f=s("4930"),d=s("fdbf"),h=u("wks"),p=a.Symbol,m=d?p:p&&p.withoutSetter||c;i.exports=function(g){return l(h,g)||(f&&l(p,g)?h[g]=p[g]:h[g]=m("Symbol."+g)),h[g]}},b64b:function(i,o,s){var a=s("23e7"),u=s("7b0b"),l=s("df75"),c=s("d039"),f=c(function(){l(1)});a({target:"Object",stat:!0,forced:f},{keys:function(h){return l(u(h))}})},b727:function(i,o,s){var a=s("0366"),u=s("44ad"),l=s("7b0b"),c=s("50c4"),f=s("65f0"),d=[].push,h=function(p){var m=p==1,g=p==2,v=p==3,y=p==4,b=p==6,w=p==5||b;return function(S,E,_,C){for(var O=l(S),T=u(O),x=a(E,_,3),I=c(T.length),A=0,D=C||f,R=m?D(S,I):g?D(S,0):void 0,k,P;I>A;A++)if((w||A in T)&&(k=T[A],P=x(k,A,O),p)){if(m)R[A]=P;else if(P)switch(p){case 3:return!0;case 5:return k;case 6:return A;case 2:d.call(R,k)}else if(y)return!1}return b?-1:v||y?y:R}};i.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(i,o,s){var a=s("861d");i.exports=function(u,l){if(!a(u))return u;var c,f;if(l&&typeof(c=u.toString)=="function"&&!a(f=c.call(u))||typeof(c=u.valueOf)=="function"&&!a(f=c.call(u))||!l&&typeof(c=u.toString)=="function"&&!a(f=c.call(u)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(i,o){i.exports=!1},c6b6:function(i,o){var s={}.toString;i.exports=function(a){return s.call(a).slice(8,-1)}},c6cd:function(i,o,s){var a=s("da84"),u=s("ce4e"),l="__core-js_shared__",c=a[l]||u(l,{});i.exports=c},c740:function(i,o,s){var a=s("23e7"),u=s("b727").findIndex,l=s("44d2"),c=s("ae40"),f="findIndex",d=!0,h=c(f);f in[]&&Array(1)[f](function(){d=!1}),a({target:"Array",proto:!0,forced:d||!h},{findIndex:function(m){return u(this,m,arguments.length>1?arguments[1]:void 0)}}),l(f)},c8ba:function(i,o){var s;s=function(){return this}();try{s=s||new Function("return this")()}catch{typeof window=="object"&&(s=window)}i.exports=s},c975:function(i,o,s){var a=s("23e7"),u=s("4d64").indexOf,l=s("a640"),c=s("ae40"),f=[].indexOf,d=!!f&&1/[1].indexOf(1,-0)<0,h=l("indexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:d||!h||!p},{indexOf:function(g){return d?f.apply(this,arguments)||0:u(this,g,arguments.length>1?arguments[1]:void 0)}})},ca84:function(i,o,s){var a=s("5135"),u=s("fc6a"),l=s("4d64").indexOf,c=s("d012");i.exports=function(f,d){var h=u(f),p=0,m=[],g;for(g in h)!a(c,g)&&a(h,g)&&m.push(g);for(;d.length>p;)a(h,g=d[p++])&&(~l(m,g)||m.push(g));return m}},caad:function(i,o,s){var a=s("23e7"),u=s("4d64").includes,l=s("44d2"),c=s("ae40"),f=c("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!f},{includes:function(h){return u(this,h,arguments.length>1?arguments[1]:void 0)}}),l("includes")},cc12:function(i,o,s){var a=s("da84"),u=s("861d"),l=a.document,c=u(l)&&u(l.createElement);i.exports=function(f){return c?l.createElement(f):{}}},ce4e:function(i,o,s){var a=s("da84"),u=s("9112");i.exports=function(l,c){try{u(a,l,c)}catch{a[l]=c}return c}},d012:function(i,o){i.exports={}},d039:function(i,o){i.exports=function(s){try{return!!s()}catch{return!0}}},d066:function(i,o,s){var a=s("428f"),u=s("da84"),l=function(c){return typeof c=="function"?c:void 0};i.exports=function(c,f){return arguments.length<2?l(a[c])||l(u[c]):a[c]&&a[c][f]||u[c]&&u[c][f]}},d1e7:function(i,o,s){var a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,l=u&&!a.call({1:2},1);o.f=l?function(f){var d=u(this,f);return!!d&&d.enumerable}:a},d28b:function(i,o,s){var a=s("746f");a("iterator")},d2bb:function(i,o,s){var a=s("825a"),u=s("3bbe");i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var l=!1,c={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(c,[]),l=c instanceof Array}catch{}return function(h,p){return a(h),u(p),l?f.call(h,p):h.__proto__=p,h}}():void 0)},d3b7:function(i,o,s){var a=s("00ee"),u=s("6eeb"),l=s("b041");a||u(Object.prototype,"toString",l,{unsafe:!0})},d44e:function(i,o,s){var a=s("9bf2").f,u=s("5135"),l=s("b622"),c=l("toStringTag");i.exports=function(f,d,h){f&&!u(f=h?f:f.prototype,c)&&a(f,c,{configurable:!0,value:d})}},d58f:function(i,o,s){var a=s("1c0b"),u=s("7b0b"),l=s("44ad"),c=s("50c4"),f=function(d){return function(h,p,m,g){a(p);var v=u(h),y=l(v),b=c(v.length),w=d?b-1:0,S=d?-1:1;if(m<2)for(;;){if(w in y){g=y[w],w+=S;break}if(w+=S,d?w<0:b<=w)throw TypeError("Reduce of empty array with no initial value")}for(;d?w>=0:b>w;w+=S)w in y&&(g=p(g,y[w],w,v));return g}};i.exports={left:f(!1),right:f(!0)}},d784:function(i,o,s){s("ac1f");var a=s("6eeb"),u=s("d039"),l=s("b622"),c=s("9263"),f=s("9112"),d=l("species"),h=!u(function(){var y=/./;return y.exec=function(){var b=[];return b.groups={a:"7"},b},"".replace(y,"$<a>")!=="7"}),p=function(){return"a".replace(/./,"$0")==="$0"}(),m=l("replace"),g=function(){return/./[m]?/./[m]("a","$0")==="":!1}(),v=!u(function(){var y=/(?:)/,b=y.exec;y.exec=function(){return b.apply(this,arguments)};var w="ab".split(y);return w.length!==2||w[0]!=="a"||w[1]!=="b"});i.exports=function(y,b,w,S){var E=l(y),_=!u(function(){var A={};return A[E]=function(){return 7},""[y](A)!=7}),C=_&&!u(function(){var A=!1,D=/a/;return y==="split"&&(D={},D.constructor={},D.constructor[d]=function(){return D},D.flags="",D[E]=/./[E]),D.exec=function(){return A=!0,null},D[E](""),!A});if(!_||!C||y==="replace"&&!(h&&p&&!g)||y==="split"&&!v){var O=/./[E],T=w(E,""[y],function(A,D,R,k,P){return D.exec===c?_&&!P?{done:!0,value:O.call(D,R,k)}:{done:!0,value:A.call(R,D,k)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g}),x=T[0],I=T[1];a(String.prototype,y,x),a(RegExp.prototype,E,b==2?function(A,D){return I.call(A,this,D)}:function(A){return I.call(A,this)})}S&&f(RegExp.prototype[E],"sham",!0)}},d81d:function(i,o,s){var a=s("23e7"),u=s("b727").map,l=s("1dde"),c=s("ae40"),f=l("map"),d=c("map");a({target:"Array",proto:!0,forced:!f||!d},{map:function(p){return u(this,p,arguments.length>1?arguments[1]:void 0)}})},da84:function(i,o,s){(function(a){var u=function(l){return l&&l.Math==Math&&l};i.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof a=="object"&&a)||Function("return this")()}).call(this,s("c8ba"))},dbb4:function(i,o,s){var a=s("23e7"),u=s("83ab"),l=s("56ef"),c=s("fc6a"),f=s("06cf"),d=s("8418");a({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(p){for(var m=c(p),g=f.f,v=l(m),y={},b=0,w,S;v.length>b;)S=g(m,w=v[b++]),S!==void 0&&d(y,w,S);return y}})},dbf1:function(i,o,s){(function(a){s.d(o,"a",function(){return l});function u(){return typeof window<"u"?window.console:a.console}var l=u()}).call(this,s("c8ba"))},ddb0:function(i,o,s){var a=s("da84"),u=s("fdbc"),l=s("e260"),c=s("9112"),f=s("b622"),d=f("iterator"),h=f("toStringTag"),p=l.values;for(var m in u){var g=a[m],v=g&&g.prototype;if(v){if(v[d]!==p)try{c(v,d,p)}catch{v[d]=p}if(v[h]||c(v,h,m),u[m]){for(var y in l)if(v[y]!==l[y])try{c(v,y,l[y])}catch{v[y]=l[y]}}}}},df75:function(i,o,s){var a=s("ca84"),u=s("7839");i.exports=Object.keys||function(c){return a(c,u)}},e01a:function(i,o,s){var a=s("23e7"),u=s("83ab"),l=s("da84"),c=s("5135"),f=s("861d"),d=s("9bf2").f,h=s("e893"),p=l.Symbol;if(u&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var m={},g=function(){var E=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof g?new p(E):E===void 0?p():p(E);return E===""&&(m[_]=!0),_};h(g,p);var v=g.prototype=p.prototype;v.constructor=g;var y=v.toString,b=String(p("test"))=="Symbol(test)",w=/^Symbol\((.*)\)[^)]+$/;d(v,"description",{configurable:!0,get:function(){var E=f(this)?this.valueOf():this,_=y.call(E);if(c(m,E))return"";var C=b?_.slice(7,-1):_.replace(w,"$1");return C===""?void 0:C}}),a({global:!0,forced:!0},{Symbol:g})}},e163:function(i,o,s){var a=s("5135"),u=s("7b0b"),l=s("f772"),c=s("e177"),f=l("IE_PROTO"),d=Object.prototype;i.exports=c?Object.getPrototypeOf:function(h){return h=u(h),a(h,f)?h[f]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?d:null}},e177:function(i,o,s){var a=s("d039");i.exports=!a(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})},e260:function(i,o,s){var a=s("fc6a"),u=s("44d2"),l=s("3f8c"),c=s("69f3"),f=s("7dd0"),d="Array Iterator",h=c.set,p=c.getterFor(d);i.exports=f(Array,"Array",function(m,g){h(this,{type:d,target:a(m),index:0,kind:g})},function(){var m=p(this),g=m.target,v=m.kind,y=m.index++;return!g||y>=g.length?(m.target=void 0,{value:void 0,done:!0}):v=="keys"?{value:y,done:!1}:v=="values"?{value:g[y],done:!1}:{value:[y,g[y]],done:!1}},"values"),l.Arguments=l.Array,u("keys"),u("values"),u("entries")},e439:function(i,o,s){var a=s("23e7"),u=s("d039"),l=s("fc6a"),c=s("06cf").f,f=s("83ab"),d=u(function(){c(1)}),h=!f||d;a({target:"Object",stat:!0,forced:h,sham:!f},{getOwnPropertyDescriptor:function(m,g){return c(l(m),g)}})},e538:function(i,o,s){var a=s("b622");o.f=a},e893:function(i,o,s){var a=s("5135"),u=s("56ef"),l=s("06cf"),c=s("9bf2");i.exports=function(f,d){for(var h=u(d),p=c.f,m=l.f,g=0;g<h.length;g++){var v=h[g];a(f,v)||p(f,v,m(d,v))}}},e8b5:function(i,o,s){var a=s("c6b6");i.exports=Array.isArray||function(l){return a(l)=="Array"}},e95a:function(i,o,s){var a=s("b622"),u=s("3f8c"),l=a("iterator"),c=Array.prototype;i.exports=function(f){return f!==void 0&&(u.Array===f||c[l]===f)}},f5df:function(i,o,s){var a=s("00ee"),u=s("c6b6"),l=s("b622"),c=l("toStringTag"),f=u(function(){return arguments}())=="Arguments",d=function(h,p){try{return h[p]}catch{}};i.exports=a?u:function(h){var p,m,g;return h===void 0?"Undefined":h===null?"Null":typeof(m=d(p=Object(h),c))=="string"?m:f?u(p):(g=u(p))=="Object"&&typeof p.callee=="function"?"Arguments":g}},f772:function(i,o,s){var a=s("5692"),u=s("90e3"),l=a("keys");i.exports=function(c){return l[c]||(l[c]=u(c))}},fb15:function(i,o,s){if(s.r(o),typeof window<"u"){var a=window.document.currentScript;{var u=s("8875");a=u(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:u})}var l=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);l&&(s.p=l[1])}s("99af"),s("4de4"),s("4160"),s("c975"),s("d81d"),s("a434"),s("159b"),s("a4d3"),s("e439"),s("dbb4"),s("b64b");function c(z,q,X){return q in z?Object.defineProperty(z,q,{value:X,enumerable:!0,configurable:!0,writable:!0}):z[q]=X,z}function f(z,q){var X=Object.keys(z);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(z);q&&(W=W.filter(function(ie){return Object.getOwnPropertyDescriptor(z,ie).enumerable})),X.push.apply(X,W)}return X}function d(z){for(var q=1;q<arguments.length;q++){var X=arguments[q]!=null?arguments[q]:{};q%2?f(Object(X),!0).forEach(function(W){c(z,W,X[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(X)):f(Object(X)).forEach(function(W){Object.defineProperty(z,W,Object.getOwnPropertyDescriptor(X,W))})}return z}function h(z){if(Array.isArray(z))return z}s("e01a"),s("d28b"),s("e260"),s("d3b7"),s("3ca3"),s("ddb0");function p(z,q){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(z)))){var X=[],W=!0,ie=!1,ce=void 0;try{for(var we=z[Symbol.iterator](),Te;!(W=(Te=we.next()).done)&&(X.push(Te.value),!(q&&X.length===q));W=!0);}catch(je){ie=!0,ce=je}finally{try{!W&&we.return!=null&&we.return()}finally{if(ie)throw ce}}return X}}s("a630"),s("fb6a"),s("b0c0"),s("25f0");function m(z,q){(q==null||q>z.length)&&(q=z.length);for(var X=0,W=new Array(q);X<q;X++)W[X]=z[X];return W}function g(z,q){if(z){if(typeof z=="string")return m(z,q);var X=Object.prototype.toString.call(z).slice(8,-1);if(X==="Object"&&z.constructor&&(X=z.constructor.name),X==="Map"||X==="Set")return Array.from(z);if(X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return m(z,q)}}function v(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y(z,q){return h(z)||p(z,q)||g(z,q)||v()}function b(z){if(Array.isArray(z))return m(z)}function w(z){if(typeof Symbol<"u"&&Symbol.iterator in Object(z))return Array.from(z)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E(z){return b(z)||w(z)||g(z)||S()}var _=s("a352"),C=s.n(_);function O(z){z.parentElement!==null&&z.parentElement.removeChild(z)}function T(z,q,X){var W=X===0?z.children[0]:z.children[X-1].nextSibling;z.insertBefore(q,W)}var x=s("dbf1");s("13d5"),s("4fad"),s("ac1f"),s("5319");function I(z){var q=Object.create(null);return function(W){var ie=q[W];return ie||(q[W]=z(W))}}var A=/-(\w)/g,D=I(function(z){return z.replace(A,function(q,X){return X.toUpperCase()})});s("5db7"),s("73d9");var R=["Start","Add","Remove","Update","End"],k=["Choose","Unchoose","Sort","Filter","Clone"],P=["Move"],N=[P,R,k].flatMap(function(z){return z}).map(function(z){return"on".concat(z)}),$={manage:P,manageAndEmit:R,emit:k};function F(z){return N.indexOf(z)!==-1}s("caad"),s("2ca0");var V=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function H(z){return V.includes(z)}function G(z){return["transition-group","TransitionGroup"].includes(z)}function U(z){return["id","class","role","style"].includes(z)||z.startsWith("data-")||z.startsWith("aria-")||z.startsWith("on")}function Y(z){return z.reduce(function(q,X){var W=y(X,2),ie=W[0],ce=W[1];return q[ie]=ce,q},{})}function J(z){var q=z.$attrs,X=z.componentData,W=X===void 0?{}:X,ie=Y(Object.entries(q).filter(function(ce){var we=y(ce,2),Te=we[0];return we[1],U(Te)}));return d(d({},ie),W)}function B(z){var q=z.$attrs,X=z.callBackBuilder,W=Y(Z(q));Object.entries(X).forEach(function(ce){var we=y(ce,2),Te=we[0],je=we[1];$[Te].forEach(function(Ae){W["on".concat(Ae)]=je(Ae)})});var ie="[data-draggable]".concat(W.draggable||"");return d(d({},W),{},{draggable:ie})}function Z(z){return Object.entries(z).filter(function(q){var X=y(q,2),W=X[0];return X[1],!U(W)}).map(function(q){var X=y(q,2),W=X[0],ie=X[1];return[D(W),ie]}).filter(function(q){var X=y(q,2),W=X[0];return X[1],!F(W)})}s("c740");function ue(z,q){if(!(z instanceof q))throw new TypeError("Cannot call a class as a function")}function de(z,q){for(var X=0;X<q.length;X++){var W=q[X];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(z,W.key,W)}}function Me(z,q,X){return q&&de(z.prototype,q),z}var nt=function(q){var X=q.el;return X},M=function(q,X){return q.__draggable_context=X},L=function(q){return q.__draggable_context},K=function(){function z(q){var X=q.nodes,W=X.header,ie=X.default,ce=X.footer,we=q.root,Te=q.realList;ue(this,z),this.defaultNodes=ie,this.children=[].concat(E(W),E(ie),E(ce)),this.externalComponent=we.externalComponent,this.rootTransition=we.transition,this.tag=we.tag,this.realList=Te}return Me(z,[{key:"render",value:function(X,W){var ie=this.tag,ce=this.children,we=this._isRootComponent,Te=we?{default:function(){return ce}}:ce;return X(ie,W,Te)}},{key:"updated",value:function(){var X=this.defaultNodes,W=this.realList;X.forEach(function(ie,ce){M(nt(ie),{element:W[ce],index:ce})})}},{key:"getUnderlyingVm",value:function(X){return L(X)}},{key:"getVmIndexFromDomIndex",value:function(X,W){var ie=this.defaultNodes,ce=ie.length,we=W.children,Te=we.item(X);if(Te===null)return ce;var je=L(Te);if(je)return je.index;if(ce===0)return 0;var Ae=nt(ie[0]),be=E(we).findIndex(function(ke){return ke===Ae});return X<be?0:ce}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),z}(),re=s("8bbf");function Q(z,q){var X=z[q];return X?X():[]}function le(z){var q=z.$slots,X=z.realList,W=z.getKey,ie=X||[],ce=["header","footer"].map(function(ke){return Q(q,ke)}),we=y(ce,2),Te=we[0],je=we[1],Ae=q.item;if(!Ae)throw new Error("draggable element must have an item slot");var be=ie.flatMap(function(ke,Ve){return Ae({element:ke,index:Ve}).map(function(Pe){return Pe.key=W(ke),Pe.props=d(d({},Pe.props||{}),{},{"data-draggable":!0}),Pe})});if(be.length!==ie.length)throw new Error("Item slot must have only one child");return{header:Te,footer:je,default:be}}function fe(z){var q=G(z),X=!H(z)&&!q;return{transition:q,externalComponent:X,tag:X?Object(re.resolveComponent)(z):q?re.TransitionGroup:z}}function ne(z){var q=z.$slots,X=z.tag,W=z.realList,ie=z.getKey,ce=le({$slots:q,realList:W,getKey:ie}),we=fe(X);return new K({nodes:ce,root:we,realList:W})}function oe(z,q){var X=this;Object(re.nextTick)(function(){return X.$emit(z.toLowerCase(),q)})}function ee(z){var q=this;return function(X,W){if(q.realList!==null)return q["onDrag".concat(z)](X,W)}}function pe(z){var q=this,X=ee.call(this,z);return function(W,ie){X.call(q,W,ie),oe.call(q,z,W)}}var ae=null,ye={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(q){return q}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Ce=["update:modelValue","change"].concat(E([].concat(E($.manageAndEmit),E($.emit)).map(function(z){return z.toLowerCase()}))),Ke=Object(re.defineComponent)({name:"draggable",inheritAttrs:!1,props:ye,emits:Ce,data:function(){return{error:!1}},render:function(){try{this.error=!1;var q=this.$slots,X=this.$attrs,W=this.tag,ie=this.componentData,ce=this.realList,we=this.getKey,Te=ne({$slots:q,tag:W,realList:ce,getKey:we});this.componentStructure=Te;var je=J({$attrs:X,componentData:ie});return Te.render(re.h,je)}catch(Ae){return this.error=!0,Object(re.h)("pre",{style:{color:"red"}},Ae.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&x.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var q=this;if(!this.error){var X=this.$attrs,W=this.$el,ie=this.componentStructure;ie.updated();var ce=B({$attrs:X,callBackBuilder:{manageAndEmit:function(je){return pe.call(q,je)},emit:function(je){return oe.bind(q,je)},manage:function(je){return ee.call(q,je)}}}),we=W.nodeType===1?W:W.parentElement;this._sortable=new C.a(we,ce),this.targetDomElement=we,we.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var q=this.list;return q||this.modelValue},getKey:function(){var q=this.itemKey;return typeof q=="function"?q:function(X){return X[q]}}},watch:{$attrs:{handler:function(q){var X=this._sortable;X&&Z(q).forEach(function(W){var ie=y(W,2),ce=ie[0],we=ie[1];X.option(ce,we)})},deep:!0}},methods:{getUnderlyingVm:function(q){return this.componentStructure.getUnderlyingVm(q)||null},getUnderlyingPotencialDraggableComponent:function(q){return q.__draggable_component__},emitChanges:function(q){var X=this;Object(re.nextTick)(function(){return X.$emit("change",q)})},alterList:function(q){if(this.list){q(this.list);return}var X=E(this.modelValue);q(X),this.$emit("update:modelValue",X)},spliceList:function(){var q=arguments,X=function(ie){return ie.splice.apply(ie,E(q))};this.alterList(X)},updatePosition:function(q,X){var W=function(ce){return ce.splice(X,0,ce.splice(q,1)[0])};this.alterList(W)},getRelatedContextFromMoveEvent:function(q){var X=q.to,W=q.related,ie=this.getUnderlyingPotencialDraggableComponent(X);if(!ie)return{component:ie};var ce=ie.realList,we={list:ce,component:ie};if(X!==W&&ce){var Te=ie.getUnderlyingVm(W)||{};return d(d({},Te),we)}return we},getVmIndexFromDomIndex:function(q){return this.componentStructure.getVmIndexFromDomIndex(q,this.targetDomElement)},onDragStart:function(q){this.context=this.getUnderlyingVm(q.item),q.item._underlying_vm_=this.clone(this.context.element),ae=q.item},onDragAdd:function(q){var X=q.item._underlying_vm_;if(X!==void 0){O(q.item);var W=this.getVmIndexFromDomIndex(q.newIndex);this.spliceList(W,0,X);var ie={element:X,newIndex:W};this.emitChanges({added:ie})}},onDragRemove:function(q){if(T(this.$el,q.item,q.oldIndex),q.pullMode==="clone"){O(q.clone);return}var X=this.context,W=X.index,ie=X.element;this.spliceList(W,1);var ce={element:ie,oldIndex:W};this.emitChanges({removed:ce})},onDragUpdate:function(q){O(q.item),T(q.from,q.item,q.oldIndex);var X=this.context.index,W=this.getVmIndexFromDomIndex(q.newIndex);this.updatePosition(X,W);var ie={element:this.context.element,oldIndex:X,newIndex:W};this.emitChanges({moved:ie})},computeFutureIndex:function(q,X){if(!q.element)return 0;var W=E(X.to.children).filter(function(Te){return Te.style.display!=="none"}),ie=W.indexOf(X.related),ce=q.component.getVmIndexFromDomIndex(ie),we=W.indexOf(ae)!==-1;return we||!X.willInsertAfter?ce:ce+1},onDragMove:function(q,X){var W=this.move,ie=this.realList;if(!W||!ie)return!0;var ce=this.getRelatedContextFromMoveEvent(q),we=this.computeFutureIndex(ce,q),Te=d(d({},this.context),{},{futureIndex:we}),je=d(d({},q),{},{relatedContext:ce,draggedContext:Te});return W(je,X)},onDragEnd:function(){ae=null}}}),et=Ke;o.default=et},fb6a:function(i,o,s){var a=s("23e7"),u=s("861d"),l=s("e8b5"),c=s("23cb"),f=s("50c4"),d=s("fc6a"),h=s("8418"),p=s("b622"),m=s("1dde"),g=s("ae40"),v=m("slice"),y=g("slice",{ACCESSORS:!0,0:0,1:2}),b=p("species"),w=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!v||!y},{slice:function(_,C){var O=d(this),T=f(O.length),x=c(_,T),I=c(C===void 0?T:C,T),A,D,R;if(l(O)&&(A=O.constructor,typeof A=="function"&&(A===Array||l(A.prototype))?A=void 0:u(A)&&(A=A[b],A===null&&(A=void 0)),A===Array||A===void 0))return w.call(O,x,I);for(D=new(A===void 0?Array:A)(S(I-x,0)),R=0;x<I;x++,R++)x in O&&h(D,R,O[x]);return D.length=R,D}})},fc6a:function(i,o,s){var a=s("44ad"),u=s("1d80");i.exports=function(l){return a(u(l))}},fdbc:function(i,o){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(i,o,s){var a=s("4930");i.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(LM);var dle=LM.exports;const mde=Su(dle);function Lx(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let $u=Lx();function qM(e){$u=e}const YM=/[&<>"']/,hle=new RegExp(YM.source,"g"),XM=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ple=new RegExp(XM.source,"g"),mle={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},OC=e=>mle[e];function Mr(e,t){if(t){if(YM.test(e))return e.replace(hle,OC)}else if(XM.test(e))return e.replace(ple,OC);return e}const gle=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function vle(e){return e.replace(gle,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const yle=/(^|[^\[])\^/g;function Rt(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(yle,"$1"),n=n.replace(i,s),r},getRegex:()=>new RegExp(n,t)};return r}function IC(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Jf={exec:()=>null};function CC(e,t){const n=e.replace(/\|/g,(o,s,a)=>{let u=!1,l=s;for(;--l>=0&&a[l]==="\\";)u=!u;return u?"|":" |"}),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function uf(e,t,n){const r=e.length;if(r===0)return"";let i=0;for(;i<r;){const o=e.charAt(r-i-1);if(o===t&&!n)i++;else if(o!==t&&n)i++;else break}return e.slice(0,r-i)}function ble(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function AC(e,t,n,r){const i=t.href,o=t.title?Mr(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:n,href:i,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:i,title:o,text:Mr(s)}}function wle(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(`
`).map(i=>{const o=i.match(/^\s+/);if(o===null)return i;const[s]=o;return s.length>=r.length?i.slice(r.length):i}).join(`
`)}class r0{constructor(t){St(this,"options");St(this,"rules");St(this,"lexer");this.options=t||$u}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:uf(r,`
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],i=wle(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const i=uf(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:uf(n[0],`
`)}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let r=uf(n[0],`
`).split(`
`),i="",o="";const s=[];for(;r.length>0;){let a=!1;const u=[];let l;for(l=0;l<r.length;l++)if(/^ {0,3}>/.test(r[l]))u.push(r[l]),a=!0;else if(!a)u.push(r[l]);else break;r=r.slice(l);const c=u.join(`
`),f=c.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
    $1`).replace(/^ {0,3}>[ \t]?/gm,"");i=i?`${i}
${c}`:c,o=o?`${o}
${f}`:f;const d=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(f,s,!0),this.lexer.state.top=d,r.length===0)break;const h=s[s.length-1];if((h==null?void 0:h.type)==="code")break;if((h==null?void 0:h.type)==="blockquote"){const p=h,m=p.raw+`
`+r.join(`
`),g=this.blockquote(m);s[s.length-1]=g,i=i.substring(0,i.length-p.raw.length)+g.raw,o=o.substring(0,o.length-p.text.length)+g.text;break}else if((h==null?void 0:h.type)==="list"){const p=h,m=p.raw+`
`+r.join(`
`),g=this.list(m);s[s.length-1]=g,i=i.substring(0,i.length-h.raw.length)+g.raw,o=o.substring(0,o.length-p.raw.length)+g.raw,r=m.substring(s[s.length-1].raw.length).split(`
`);continue}}return{type:"blockquote",raw:i,tokens:s,text:o}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const i=r.length>1,o={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");const s=new RegExp(`^( {0,3}${r})((?:[	 ][^\\n]*)?(?:\\n|$))`);let a=!1;for(;t;){let u=!1,l="",c="";if(!(n=s.exec(t))||this.rules.block.hr.test(t))break;l=n[0],t=t.substring(l.length);let f=n[2].split(`
`,1)[0].replace(/^\t+/,v=>" ".repeat(3*v.length)),d=t.split(`
`,1)[0],h=!f.trim(),p=0;if(this.options.pedantic?(p=2,c=f.trimStart()):h?p=n[1].length+1:(p=n[2].search(/[^ ]/),p=p>4?1:p,c=f.slice(p),p+=n[1].length),h&&/^ *$/.test(d)&&(l+=d+`
`,t=t.substring(d.length+1),u=!0),!u){const v=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),y=new RegExp(`^ {0,${Math.min(3,p-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),b=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:\`\`\`|~~~)`),w=new RegExp(`^ {0,${Math.min(3,p-1)}}#`);for(;t;){const S=t.split(`
`,1)[0];if(d=S,this.options.pedantic&&(d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),b.test(d)||w.test(d)||v.test(d)||y.test(t))break;if(d.search(/[^ ]/)>=p||!d.trim())c+=`
`+d.slice(p);else{if(h||f.search(/[^ ]/)>=4||b.test(f)||w.test(f)||y.test(f))break;c+=`
`+d}!h&&!d.trim()&&(h=!0),l+=S+`
`,t=t.substring(S.length+1),f=d.slice(p)}}o.loose||(a?o.loose=!0:/\n *\n *$/.test(l)&&(a=!0));let m=null,g;this.options.gfm&&(m=/^\[[ xX]\] /.exec(c),m&&(g=m[0]!=="[ ] ",c=c.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:l,task:!!m,checked:g,loose:!1,text:c,tokens:[]}),o.raw+=l}o.items[o.items.length-1].raw=o.items[o.items.length-1].raw.trimEnd(),o.items[o.items.length-1].text=o.items[o.items.length-1].text.trimEnd(),o.raw=o.raw.trimEnd();for(let u=0;u<o.items.length;u++)if(this.lexer.state.top=!1,o.items[u].tokens=this.lexer.blockTokens(o.items[u].text,[]),!o.loose){const l=o.items[u].tokens.filter(f=>f.type==="space"),c=l.length>0&&l.some(f=>/\n.*\n/.test(f.raw));o.loose=c}if(o.loose)for(let u=0;u<o.items.length;u++)o.items[u].loose=!0;return o}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),i=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:i,title:o}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=CC(n[1]),i=n[2].replace(/^\||\| *$/g,"").split("|"),o=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
`):[],s={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===i.length){for(const a of i)/^ *-+: *$/.test(a)?s.align.push("right"):/^ *:-+: *$/.test(a)?s.align.push("center"):/^ *:-+ *$/.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<r.length;a++)s.header.push({text:r[a],tokens:this.lexer.inline(r[a]),header:!0,align:s.align[a]});for(const a of o)s.rows.push(CC(a,s.header.length).map((u,l)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:s.align[l]})));return s}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:Mr(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const s=uf(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{const s=ble(n[2],"()");if(s>-1){const u=(n[0].indexOf("!")===0?5:4)+n[1].length+s;n[2]=n[2].substring(0,s),n[0]=n[0].substring(0,u).trim(),n[3]=""}}let i=n[2],o="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);s&&(i=s[1],o=s[3])}else o=n[3]?n[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(r)?i=i.slice(1):i=i.slice(1,-1)),AC(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const i=(r[2]||r[1]).replace(/\s+/g," "),o=n[i.toLowerCase()];if(!o){const s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return AC(r,o,r[0],this.lexer)}}emStrong(t,n,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const s=[...i[0]].length-1;let a,u,l=s,c=0;const f=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,n=n.slice(-1*t.length+s);(i=f.exec(n))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(u=[...a].length,i[3]||i[4]){l+=u;continue}else if((i[5]||i[6])&&s%3&&!((s+u)%3)){c+=u;continue}if(l-=u,l>0)continue;u=Math.min(u,u+l+c);const d=[...i[0]][0].length,h=t.slice(0,s+i.index+d+u);if(Math.min(s,u)%2){const m=h.slice(1,-1);return{type:"em",raw:h,text:m,tokens:this.lexer.inlineTokens(m)}}const p=h.slice(2,-2);return{type:"strong",raw:h,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const i=/[^ ]/.test(r),o=/^ /.test(r)&&/ $/.test(r);return i&&o&&(r=r.substring(1,r.length-1)),r=Mr(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,i;return n[2]==="@"?(r=Mr(n[1]),i="mailto:"+r):(r=Mr(n[1]),i=r),{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(t){var r;let n;if(n=this.rules.inline.url.exec(t)){let i,o;if(n[2]==="@")i=Mr(n[0]),o="mailto:"+i;else{let s;do s=n[0],n[0]=((r=this.rules.inline._backpedal.exec(n[0]))==null?void 0:r[0])??"";while(s!==n[0]);i=Mr(n[0]),n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=Mr(n[0]),{type:"text",raw:n[0],text:r}}}}const Ele=/^(?: *(?:\n|$))+/,Sle=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,xle=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,kh=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Tle=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,JM=/(?:[*+-]|\d{1,9}[.)])/,QM=Rt(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,JM).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),$x=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,_le=/^[^\n]+/,Fx=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ole=Rt(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Fx).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ile=Rt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,JM).getRegex(),bv="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Bx=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Cle=Rt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Bx).replace("tag",bv).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ZM=Rt($x).replace("hr",kh).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",bv).getRegex(),Ale=Rt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ZM).getRegex(),jx={blockquote:Ale,code:Sle,def:Ole,fences:xle,heading:Tle,hr:kh,html:Cle,lheading:QM,list:Ile,newline:Ele,paragraph:ZM,table:Jf,text:_le},kC=Rt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",kh).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",bv).getRegex(),kle={...jx,table:kC,paragraph:Rt($x).replace("hr",kh).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",kC).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",bv).getRegex()},Rle={...jx,html:Rt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Bx).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Jf,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Rt($x).replace("hr",kh).replace("heading",` *#{1,6} *[^
]`).replace("lheading",QM).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},eL=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ple=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,tL=/^( {2,}|\\)\n(?!\s*$)/,Dle=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Rh="\\p{P}\\p{S}",Nle=Rt(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,Rh).getRegex(),Mle=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Lle=Rt(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Rh).getRegex(),$le=Rt("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Rh).getRegex(),Fle=Rt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Rh).getRegex(),Ble=Rt(/\\([punct])/,"gu").replace(/punct/g,Rh).getRegex(),jle=Rt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Hle=Rt(Bx).replace("(?:-->|$)","-->").getRegex(),Ule=Rt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Hle).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),i0=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,zle=Rt(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",i0).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),nL=Rt(/^!?\[(label)\]\[(ref)\]/).replace("label",i0).replace("ref",Fx).getRegex(),rL=Rt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Fx).getRegex(),Vle=Rt("reflink|nolink(?!\\()","g").replace("reflink",nL).replace("nolink",rL).getRegex(),Hx={_backpedal:Jf,anyPunctuation:Ble,autolink:jle,blockSkip:Mle,br:tL,code:Ple,del:Jf,emStrongLDelim:Lle,emStrongRDelimAst:$le,emStrongRDelimUnd:Fle,escape:eL,link:zle,nolink:rL,punctuation:Nle,reflink:nL,reflinkSearch:Vle,tag:Ule,text:Dle,url:Jf},Wle={...Hx,link:Rt(/^!?\[(label)\]\((.*?)\)/).replace("label",i0).getRegex(),reflink:Rt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i0).getRegex()},Nw={...Hx,escape:Rt(eL).replace("])","~|])").getRegex(),url:Rt(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Gle={...Nw,br:Rt(tL).replace("{2,}","*").getRegex(),text:Rt(Nw.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Wp={normal:jx,gfm:kle,pedantic:Rle},lf={normal:Hx,gfm:Nw,breaks:Gle,pedantic:Wle};class Ki{constructor(t){St(this,"tokens");St(this,"options");St(this,"state");St(this,"tokenizer");St(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||$u,this.options.tokenizer=this.options.tokenizer||new r0,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:Wp.normal,inline:lf.normal};this.options.pedantic?(n.block=Wp.pedantic,n.inline=lf.pedantic):this.options.gfm&&(n.block=Wp.gfm,this.options.breaks?n.inline=lf.breaks:n.inline=lf.gfm),this.tokenizer.rules=n}static get rules(){return{block:Wp,inline:lf}}static lex(t,n){return new Ki(n).lex(t)}static lexInline(t,n){return new Ki(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){this.options.pedantic?t=t.replace(/\t/g,"    ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(a,u,l)=>u+"    ".repeat(l.length));let i,o,s;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(i=a.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),i.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=`
`+i.raw,o.text+=`
`+i.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=`
`+i.raw,o.text+=`
`+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(s=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const u=t.slice(1);let l;this.options.extensions.startBlock.forEach(c=>{l=c.call({lexer:this},u),typeof l=="number"&&l>=0&&(a=Math.min(a,l))}),a<1/0&&a>=0&&(s=t.substring(0,a+1))}if(this.state.top&&(i=this.tokenizer.paragraph(s))){o=n[n.length-1],r&&(o==null?void 0:o.type)==="paragraph"?(o.raw+=`
`+i.raw,o.text+=`
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i),r=s.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&o.type==="text"?(o.raw+=`
`+i.raw,o.text+=`
`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,i,o,s=t,a,u,l;if(this.tokens.links){const c=Object.keys(this.tokens.links);if(c.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(u||(l=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(c=>(r=c.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),i=n[n.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),i=n[n.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,s,l)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),n.push(r);continue}if(o=t,this.options.extensions&&this.options.extensions.startInline){let c=1/0;const f=t.slice(1);let d;this.options.extensions.startInline.forEach(h=>{d=h.call({lexer:this},f),typeof d=="number"&&d>=0&&(c=Math.min(c,d))}),c<1/0&&c>=0&&(o=t.substring(0,c+1))}if(r=this.tokenizer.inlineText(o)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(l=r.raw.slice(-1)),u=!0,i=n[n.length-1],i&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return n}}class o0{constructor(t){St(this,"options");St(this,"parser");this.options=t||$u}space(t){return""}code({text:t,lang:n,escaped:r}){var s;const i=(s=(n||"").match(/^\S*/))==null?void 0:s[0],o=t.replace(/\n$/,"")+`
`;return i?'<pre><code class="language-'+Mr(i)+'">'+(r?o:Mr(o,!0))+`</code></pre>
`:"<pre><code>"+(r?o:Mr(o,!0))+`</code></pre>
`}blockquote({tokens:t}){return`<blockquote>
${this.parser.parse(t)}</blockquote>
`}html({text:t}){return t}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}>
`}hr(t){return`<hr>
`}list(t){const n=t.ordered,r=t.start;let i="";for(let a=0;a<t.items.length;a++){const u=t.items[a];i+=this.listitem(u)}const o=n?"ol":"ul",s=n&&r!==1?' start="'+r+'"':"";return"<"+o+s+`>
`+i+"</"+o+`>
`}listitem(t){let n="";if(t.task){const r=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&t.tokens[0].type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" "}):n+=r+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`<li>${n}</li>
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
`}table(t){let n="",r="";for(let o=0;o<t.header.length;o++)r+=this.tablecell(t.header[o]);n+=this.tablerow({text:r});let i="";for(let o=0;o<t.rows.length;o++){const s=t.rows[o];r="";for(let a=0;a<s.length;a++)r+=this.tablecell(s[a]);i+=this.tablerow({text:r})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
<thead>
`+n+`</thead>
`+i+`</table>
`}tablerow({text:t}){return`<tr>
${t}</tr>
`}tablecell(t){const n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`</${r}>
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${t}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:n,tokens:r}){const i=this.parser.parseInline(r),o=IC(t);if(o===null)return i;t=o;let s='<a href="'+t+'"';return n&&(s+=' title="'+n+'"'),s+=">"+i+"</a>",s}image({href:t,title:n,text:r}){const i=IC(t);if(i===null)return r;t=i;let o=`<img src="${t}" alt="${r}"`;return n&&(o+=` title="${n}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):t.text}}class Ux{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class qi{constructor(t){St(this,"options");St(this,"renderer");St(this,"textRenderer");this.options=t||$u,this.options.renderer=this.options.renderer||new o0,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ux}static parse(t,n){return new qi(n).parse(t)}static parseInline(t,n){return new qi(n).parseInline(t)}parse(t,n=!0){let r="";for(let i=0;i<t.length;i++){const o=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const a=o,u=this.options.extensions.renderers[a.type].call({parser:this},a);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){r+=u||"";continue}}const s=o;switch(s.type){case"space":{r+=this.renderer.space(s);continue}case"hr":{r+=this.renderer.hr(s);continue}case"heading":{r+=this.renderer.heading(s);continue}case"code":{r+=this.renderer.code(s);continue}case"table":{r+=this.renderer.table(s);continue}case"blockquote":{r+=this.renderer.blockquote(s);continue}case"list":{r+=this.renderer.list(s);continue}case"html":{r+=this.renderer.html(s);continue}case"paragraph":{r+=this.renderer.paragraph(s);continue}case"text":{let a=s,u=this.renderer.text(a);for(;i+1<t.length&&t[i+1].type==="text";)a=t[++i],u+=`
`+this.renderer.text(a);n?r+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u}]}):r+=u;continue}default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}parseInline(t,n){n=n||this.renderer;let r="";for(let i=0;i<t.length;i++){const o=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const a=this.options.extensions.renderers[o.type].call({parser:this},o);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){r+=a||"";continue}}const s=o;switch(s.type){case"escape":{r+=n.text(s);break}case"html":{r+=n.html(s);break}case"link":{r+=n.link(s);break}case"image":{r+=n.image(s);break}case"strong":{r+=n.strong(s);break}case"em":{r+=n.em(s);break}case"codespan":{r+=n.codespan(s);break}case"br":{r+=n.br(s);break}case"del":{r+=n.del(s);break}case"text":{r+=n.text(s);break}default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}}class Qf{constructor(t){St(this,"options");this.options=t||$u}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}}St(Qf,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var rs,iL,Mw,oL;class Kle{constructor(...t){rT(this,rs);St(this,"defaults",Lx());St(this,"options",this.setOptions);St(this,"parse",jc(this,rs,Mw).call(this,Ki.lex,qi.parse));St(this,"parseInline",jc(this,rs,Mw).call(this,Ki.lexInline,qi.parseInline));St(this,"Parser",qi);St(this,"Renderer",o0);St(this,"TextRenderer",Ux);St(this,"Lexer",Ki);St(this,"Tokenizer",r0);St(this,"Hooks",Qf);this.use(...t)}walkTokens(t,n){var i,o;let r=[];for(const s of t)switch(r=r.concat(n.call(this,s)),s.type){case"table":{const a=s;for(const u of a.header)r=r.concat(this.walkTokens(u.tokens,n));for(const u of a.rows)for(const l of u)r=r.concat(this.walkTokens(l.tokens,n));break}case"list":{const a=s;r=r.concat(this.walkTokens(a.items,n));break}default:{const a=s;(o=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&o[a.type]?this.defaults.extensions.childTokens[a.type].forEach(u=>{const l=a[u].flat(1/0);r=r.concat(this.walkTokens(l,n))}):a.tokens&&(r=r.concat(this.walkTokens(a.tokens,n)))}}return r}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const i={...r};if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const s=n.renderers[o.name];s?n.renderers[o.name]=function(...a){let u=o.renderer.apply(this,a);return u===!1&&(u=s.apply(this,a)),u}:n.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const s=n[o.level];s?s.unshift(o.tokenizer):n[o.level]=[o.tokenizer],o.start&&(o.level==="block"?n.startBlock?n.startBlock.push(o.start):n.startBlock=[o.start]:o.level==="inline"&&(n.startInline?n.startInline.push(o.start):n.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(n.childTokens[o.name]=o.childTokens)}),i.extensions=n),r.renderer){const o=this.defaults.renderer||new o0(this.defaults);for(const s in r.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;const a=s;let u=r.renderer[a];const l=o[a];o[a]=(...c)=>{r.useNewRenderer||(u=jc(this,rs,iL).call(this,u,a,o));let f=u.apply(o,c);return f===!1&&(f=l.apply(o,c)),f||""}}i.renderer=o}if(r.tokenizer){const o=this.defaults.tokenizer||new r0(this.defaults);for(const s in r.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const a=s,u=r.tokenizer[a],l=o[a];o[a]=(...c)=>{let f=u.apply(o,c);return f===!1&&(f=l.apply(o,c)),f}}i.tokenizer=o}if(r.hooks){const o=this.defaults.hooks||new Qf;for(const s in r.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(s==="options")continue;const a=s,u=r.hooks[a],l=o[a];Qf.passThroughHooks.has(s)?o[a]=c=>{if(this.defaults.async)return Promise.resolve(u.call(o,c)).then(d=>l.call(o,d));const f=u.call(o,c);return l.call(o,f)}:o[a]=(...c)=>{let f=u.apply(o,c);return f===!1&&(f=l.apply(o,c)),f}}i.hooks=o}if(r.walkTokens){const o=this.defaults.walkTokens,s=r.walkTokens;i.walkTokens=function(a){let u=[];return u.push(s.call(this,a)),o&&(u=u.concat(o.call(this,a))),u}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Ki.lex(t,n??this.defaults)}parser(t,n){return qi.parse(t,n??this.defaults)}}rs=new WeakSet,iL=function(t,n,r){switch(n){case"heading":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,r.parser.parseInline(i.tokens),i.depth,vle(r.parser.parseInline(i.tokens,r.parser.textRenderer)))};case"code":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,i.text,i.lang,!!i.escaped)};case"table":return function(i){if(!i.type||i.type!==n)return t.apply(this,arguments);let o="",s="";for(let u=0;u<i.header.length;u++)s+=this.tablecell({text:i.header[u].text,tokens:i.header[u].tokens,header:!0,align:i.align[u]});o+=this.tablerow({text:s});let a="";for(let u=0;u<i.rows.length;u++){const l=i.rows[u];s="";for(let c=0;c<l.length;c++)s+=this.tablecell({text:l[c].text,tokens:l[c].tokens,header:!1,align:i.align[c]});a+=this.tablerow({text:s})}return t.call(this,o,a)};case"blockquote":return function(i){if(!i.type||i.type!==n)return t.apply(this,arguments);const o=this.parser.parse(i.tokens);return t.call(this,o)};case"list":return function(i){if(!i.type||i.type!==n)return t.apply(this,arguments);const o=i.ordered,s=i.start,a=i.loose;let u="";for(let l=0;l<i.items.length;l++){const c=i.items[l],f=c.checked,d=c.task;let h="";if(c.task){const p=this.checkbox({checked:!!f});a?c.tokens.length>0&&c.tokens[0].type==="paragraph"?(c.tokens[0].text=p+" "+c.tokens[0].text,c.tokens[0].tokens&&c.tokens[0].tokens.length>0&&c.tokens[0].tokens[0].type==="text"&&(c.tokens[0].tokens[0].text=p+" "+c.tokens[0].tokens[0].text)):c.tokens.unshift({type:"text",text:p+" "}):h+=p+" "}h+=this.parser.parse(c.tokens,a),u+=this.listitem({type:"list_item",raw:h,text:h,task:d,checked:!!f,loose:a,tokens:c.tokens})}return t.call(this,u,o,s)};case"html":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,i.text,i.block)};case"paragraph":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(i.tokens))};case"escape":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,i.text)};case"link":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,i.href,i.title,this.parser.parseInline(i.tokens))};case"image":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,i.href,i.title,i.text)};case"strong":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(i.tokens))};case"em":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(i.tokens))};case"codespan":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,i.text)};case"del":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(i.tokens))};case"text":return function(i){return!i.type||i.type!==n?t.apply(this,arguments):t.call(this,i.text)}}return t},Mw=function(t,n){return(r,i)=>{const o={...i},s={...this.defaults,...o};this.defaults.async===!0&&o.async===!1&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);const a=jc(this,rs,oL).call(this,!!s.silent,!!s.async);if(typeof r>"u"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(r):r).then(u=>t(u,s)).then(u=>s.hooks?s.hooks.processAllTokens(u):u).then(u=>s.walkTokens?Promise.all(this.walkTokens(u,s.walkTokens)).then(()=>u):u).then(u=>n(u,s)).then(u=>s.hooks?s.hooks.postprocess(u):u).catch(a);try{s.hooks&&(r=s.hooks.preprocess(r));let u=t(r,s);s.hooks&&(u=s.hooks.processAllTokens(u)),s.walkTokens&&this.walkTokens(u,s.walkTokens);let l=n(u,s);return s.hooks&&(l=s.hooks.postprocess(l)),l}catch(u){return a(u)}}},oL=function(t,n){return r=>{if(r.message+=`
Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+Mr(r.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(r);throw r}};const Eu=new Kle;function At(e,t){return Eu.parse(e,t)}At.options=At.setOptions=function(e){return Eu.setOptions(e),At.defaults=Eu.defaults,qM(At.defaults),At};At.getDefaults=Lx;At.defaults=$u;At.use=function(...e){return Eu.use(...e),At.defaults=Eu.defaults,qM(At.defaults),At};At.walkTokens=function(e,t){return Eu.walkTokens(e,t)};At.parseInline=Eu.parseInline;At.Parser=qi;At.parser=qi.parse;At.Renderer=o0;At.TextRenderer=Ux;At.Lexer=Ki;At.lexer=Ki.lex;At.Tokenizer=r0;At.Hooks=Qf;At.parse=At;At.options;At.setOptions;At.use;At.walkTokens;At.parseInline;qi.parse;Ki.lex;const qle=["top","right","bottom","left"],RC=["start","end"],PC=qle.reduce((e,t)=>e.concat(t,t+"-"+RC[0],t+"-"+RC[1]),[]),Ud=Math.min,Na=Math.max,Yle={left:"right",right:"left",bottom:"top",top:"bottom"},Xle={start:"end",end:"start"};function Lw(e,t,n){return Na(e,Ud(t,n))}function Fu(e,t){return typeof e=="function"?e(t):e}function uo(e){return e.split("-")[0]}function Ti(e){return e.split("-")[1]}function sL(e){return e==="x"?"y":"x"}function zx(e){return e==="y"?"height":"width"}function Ph(e){return["top","bottom"].includes(uo(e))?"y":"x"}function Vx(e){return sL(Ph(e))}function aL(e,t,n){n===void 0&&(n=!1);const r=Ti(e),i=Vx(e),o=zx(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=a0(s)),[s,a0(s)]}function Jle(e){const t=a0(e);return[s0(e),t,s0(t)]}function s0(e){return e.replace(/start|end/g,t=>Xle[t])}function Qle(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}function Zle(e,t,n,r){const i=Ti(e);let o=Qle(uo(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(s0)))),o}function a0(e){return e.replace(/left|right|bottom|top/g,t=>Yle[t])}function ece(e){return{top:0,right:0,bottom:0,left:0,...e}}function uL(e){return typeof e!="number"?ece(e):{top:e,right:e,bottom:e,left:e}}function Zf(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function DC(e,t,n){let{reference:r,floating:i}=e;const o=Ph(t),s=Vx(t),a=zx(s),u=uo(t),l=o==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(u){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Ti(t)){case"start":h[s]-=d*(n&&l?-1:1);break;case"end":h[s]+=d*(n&&l?-1:1);break}return h}const tce=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=DC(l,r,u),d=r,h={},p=0;for(let m=0;m<a.length;m++){const{name:g,fn:v}=a[m],{x:y,y:b,data:w,reset:S}=await v({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:s,elements:{reference:e,floating:t}});if(c=y??c,f=b??f,h={...h,[g]:{...h[g],...w}},S&&p<=50){p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(l=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:c,y:f}=DC(l,d,u)),m=-1;continue}}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}};async function wv(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Fu(t,e),p=uL(h),g=a[d?f==="floating"?"reference":"floating":f],v=Zf(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(g)))==null||n?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:u})),y=f==="floating"?{...s.floating,x:r,y:i}:s.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),w=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},S=Zf(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:b,strategy:u}):y);return{top:(v.top-S.top+p.top)/w.y,bottom:(S.bottom-v.bottom+p.bottom)/w.y,left:(v.left-S.left+p.left)/w.x,right:(S.right-v.right+p.right)/w.x}}const nce=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a}=t,{element:u,padding:l=0}=Fu(e,t)||{};if(u==null)return{};const c=uL(l),f={x:n,y:r},d=Vx(i),h=zx(d),p=await s.getDimensions(u),m=d==="y",g=m?"top":"left",v=m?"bottom":"right",y=m?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[d]-f[d]-o.floating[h],w=f[d]-o.reference[d],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let E=S?S[y]:0;(!E||!await(s.isElement==null?void 0:s.isElement(S)))&&(E=a.floating[y]||o.floating[h]);const _=b/2-w/2,C=E/2-p[h]/2-1,O=Ud(c[g],C),T=Ud(c[v],C),x=O,I=E-p[h]-T,A=E/2-p[h]/2+_,D=Lw(x,A,I),k=Ti(i)!=null&&A!=D&&o.reference[h]/2-(A<x?O:T)-p[h]/2<0?A<x?x-A:I-A:0;return{[d]:f[d]-k,data:{[d]:D,centerOffset:A-D+k}}}});function rce(e,t,n){return(e?[...n.filter(i=>Ti(i)===e),...n.filter(i=>Ti(i)!==e)]:n.filter(i=>uo(i)===i)).filter(i=>e?Ti(i)===e||(t?s0(i)!==i:!1):!0)}const ice=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,i;const{rects:o,middlewareData:s,placement:a,platform:u,elements:l}=t,{crossAxis:c=!1,alignment:f,allowedPlacements:d=PC,autoAlignment:h=!0,...p}=Fu(e,t),m=f!==void 0||d===PC?rce(f||null,h,d):d,g=await wv(t,p),v=((n=s.autoPlacement)==null?void 0:n.index)||0,y=m[v];if(y==null)return{};const b=aL(y,o,await(u.isRTL==null?void 0:u.isRTL(l.floating)));if(a!==y)return{reset:{placement:m[0]}};const w=[g[uo(y)],g[b[0]],g[b[1]]],S=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:y,overflows:w}],E=m[v+1];if(E)return{data:{index:v+1,overflows:S},reset:{placement:E}};const _=S.map(T=>{const x=Ti(T.placement);return[T.placement,x&&c?T.overflows.slice(0,2).reduce((I,A)=>I+A,0):T.overflows[0],T.overflows]}).sort((T,x)=>T[1]-x[1]),O=((i=_.filter(T=>T[2].slice(0,Ti(T[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||_[0][0];return O!==a?{data:{index:v+1,overflows:S},reset:{placement:O}}:{}}}},oce=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:s,platform:a,elements:u}=t,{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...m}=Fu(e,t),g=uo(r),v=uo(s)===s,y=await(a.isRTL==null?void 0:a.isRTL(u.floating)),b=f||(v||!p?[a0(s)]:Jle(s));!f&&h!=="none"&&b.push(...Zle(s,p,h,y));const w=[s,...b],S=await wv(t,m),E=[];let _=((n=i.flip)==null?void 0:n.overflows)||[];if(l&&E.push(S[g]),c){const x=aL(r,o,y);E.push(S[x[0]],S[x[1]])}if(_=[..._,{placement:r,overflows:E}],!E.every(x=>x<=0)){var C,O;const x=(((C=i.flip)==null?void 0:C.index)||0)+1,I=w[x];if(I)return{data:{index:x,overflows:_},reset:{placement:I}};let A=(O=_.filter(D=>D.overflows[0]<=0).sort((D,R)=>D.overflows[1]-R.overflows[1])[0])==null?void 0:O.placement;if(!A)switch(d){case"bestFit":{var T;const D=(T=_.map(R=>[R.placement,R.overflows.filter(k=>k>0).reduce((k,P)=>k+P,0)]).sort((R,k)=>R[1]-k[1])[0])==null?void 0:T[0];D&&(A=D);break}case"initialPlacement":A=s;break}if(r!==A)return{reset:{placement:A}}}return{}}}};async function sce(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=uo(n),a=Ti(n),u=Ph(n)==="y",l=["left","top"].includes(s)?-1:1,c=o&&u?-1:1,f=Fu(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),u?{x:h*c,y:d*l}:{x:d*l,y:h*c}}const ace=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await sce(t,e);return{x:n+i.x,y:r+i.y,data:i}}}},uce=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:g=>{let{x:v,y}=g;return{x:v,y}}},...u}=Fu(e,t),l={x:n,y:r},c=await wv(t,u),f=Ph(uo(i)),d=sL(f);let h=l[d],p=l[f];if(o){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",y=h+c[g],b=h-c[v];h=Lw(y,h,b)}if(s){const g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=p+c[g],b=p-c[v];p=Lw(y,p,b)}const m=a.fn({...t,[d]:h,[f]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},lce=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:o}=t,{apply:s=()=>{},...a}=Fu(e,t),u=await wv(t,a),l=uo(n),c=Ti(n),f=Ph(n)==="y",{width:d,height:h}=r.floating;let p,m;l==="top"||l==="bottom"?(p=l,m=c===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(m=l,p=c==="end"?"top":"bottom");const g=h-u[p],v=d-u[m],y=!t.middlewareData.shift;let b=g,w=v;if(f){const E=d-u.left-u.right;w=c||y?Ud(v,E):E}else{const E=h-u.top-u.bottom;b=c||y?Ud(g,E):E}if(y&&!c){const E=Na(u.left,0),_=Na(u.right,0),C=Na(u.top,0),O=Na(u.bottom,0);f?w=d-2*(E!==0||_!==0?E+_:Na(u.left,u.right)):b=h-2*(C!==0||O!==0?C+O:Na(u.top,u.bottom))}await s({...t,availableWidth:w,availableHeight:b});const S=await i.getDimensions(o.floating);return d!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}};function Xr(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qi(e){return Xr(e).getComputedStyle(e)}const NC=Math.min,ed=Math.max,u0=Math.round;function lL(e){const t=Qi(e);let n=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,o=e.offsetHeight,s=u0(n)!==i||u0(r)!==o;return s&&(n=i,r=o),{width:n,height:r,fallback:s}}function la(e){return fL(e)?(e.nodeName||"").toLowerCase():""}let Gp;function cL(){if(Gp)return Gp;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Gp=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Gp):navigator.userAgent}function Zi(e){return e instanceof Xr(e).HTMLElement}function qs(e){return e instanceof Xr(e).Element}function fL(e){return e instanceof Xr(e).Node}function MC(e){return typeof ShadowRoot>"u"?!1:e instanceof Xr(e).ShadowRoot||e instanceof ShadowRoot}function Ev(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Qi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function cce(e){return["table","td","th"].includes(la(e))}function $w(e){const t=/firefox/i.test(cL()),n=Qi(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const o=n.contain;return o!=null&&o.includes(i)})}function dL(){return!/^((?!chrome|android).)*safari/i.test(cL())}function Wx(e){return["html","body","#document"].includes(la(e))}function hL(e){return qs(e)?e:e.contextElement}const pL={x:1,y:1};function Bl(e){const t=hL(e);if(!Zi(t))return pL;const n=t.getBoundingClientRect(),{width:r,height:i,fallback:o}=lL(t);let s=(o?u0(n.width):n.width)/r,a=(o?u0(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function zd(e,t,n,r){var i,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=hL(e);let u=pL;t&&(r?qs(r)&&(u=Bl(r)):u=Bl(e));const l=a?Xr(a):window,c=!dL()&&n;let f=(s.left+(c&&((i=l.visualViewport)==null?void 0:i.offsetLeft)||0))/u.x,d=(s.top+(c&&((o=l.visualViewport)==null?void 0:o.offsetTop)||0))/u.y,h=s.width/u.x,p=s.height/u.y;if(a){const m=Xr(a),g=r&&qs(r)?Xr(r):r;let v=m.frameElement;for(;v&&r&&g!==m;){const y=Bl(v),b=v.getBoundingClientRect(),w=getComputedStyle(v);b.x+=(v.clientLeft+parseFloat(w.paddingLeft))*y.x,b.y+=(v.clientTop+parseFloat(w.paddingTop))*y.y,f*=y.x,d*=y.y,h*=y.x,p*=y.y,f+=b.x,d+=b.y,v=Xr(v).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function Ys(e){return((fL(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sv(e){return qs(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mL(e){return zd(Ys(e)).left+Sv(e).scrollLeft}function Vd(e){if(la(e)==="html")return e;const t=e.assignedSlot||e.parentNode||MC(e)&&e.host||Ys(e);return MC(t)?t.host:t}function gL(e){const t=Vd(e);return Wx(t)?t.ownerDocument.body:Zi(t)&&Ev(t)?t:gL(t)}function l0(e,t){var n;t===void 0&&(t=[]);const r=gL(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Xr(r);return i?t.concat(o,o.visualViewport||[],Ev(r)?r:[]):t.concat(r,l0(r))}function LC(e,t,n){return t==="viewport"?Zf(function(r,i){const o=Xr(r),s=Ys(r),a=o.visualViewport;let u=s.clientWidth,l=s.clientHeight,c=0,f=0;if(a){u=a.width,l=a.height;const d=dL();(d||!d&&i==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:u,height:l,x:c,y:f}}(e,n)):qs(t)?Zf(function(r,i){const o=zd(r,!0,i==="fixed"),s=o.top+r.clientTop,a=o.left+r.clientLeft,u=Zi(r)?Bl(r):{x:1,y:1};return{width:r.clientWidth*u.x,height:r.clientHeight*u.y,x:a*u.x,y:s*u.y}}(t,n)):Zf(function(r){const i=Ys(r),o=Sv(r),s=r.ownerDocument.body,a=ed(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),u=ed(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let l=-o.scrollLeft+mL(r);const c=-o.scrollTop;return Qi(s).direction==="rtl"&&(l+=ed(i.clientWidth,s.clientWidth)-a),{width:a,height:u,x:l,y:c}}(Ys(e)))}function $C(e){return Zi(e)&&Qi(e).position!=="fixed"?e.offsetParent:null}function FC(e){const t=Xr(e);let n=$C(e);for(;n&&cce(n)&&Qi(n).position==="static";)n=$C(n);return n&&(la(n)==="html"||la(n)==="body"&&Qi(n).position==="static"&&!$w(n))?t:n||function(r){let i=Vd(r);for(;Zi(i)&&!Wx(i);){if($w(i))return i;i=Vd(i)}return null}(e)||t}function fce(e,t,n){const r=Zi(t),i=Ys(t),o=zd(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((la(t)!=="body"||Ev(i))&&(s=Sv(t)),Zi(t)){const u=zd(t,!0);a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}else i&&(a.x=mL(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}const dce={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=n==="clippingAncestors"?function(l,c){const f=c.get(l);if(f)return f;let d=l0(l).filter(g=>qs(g)&&la(g)!=="body"),h=null;const p=Qi(l).position==="fixed";let m=p?Vd(l):l;for(;qs(m)&&!Wx(m);){const g=Qi(m),v=$w(m);(p?v||h:v||g.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=g:d=d.filter(y=>y!==m),m=Vd(m)}return c.set(l,d),d}(t,this._c):[].concat(n),s=[...o,r],a=s[0],u=s.reduce((l,c)=>{const f=LC(t,c,i);return l.top=ed(f.top,l.top),l.right=NC(f.right,l.right),l.bottom=NC(f.bottom,l.bottom),l.left=ed(f.left,l.left),l},LC(t,a,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=Zi(n),o=Ys(n);if(n===o)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const u={x:0,y:0};if((i||!i&&r!=="fixed")&&((la(n)!=="body"||Ev(o))&&(s=Sv(n)),Zi(n))){const l=zd(n);a=Bl(n),u.x=l.x+n.clientLeft,u.y=l.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+u.x,y:t.y*a.y-s.scrollTop*a.y+u.y}},isElement:qs,getDimensions:function(e){return Zi(e)?lL(e):e.getBoundingClientRect()},getOffsetParent:FC,getDocumentElement:Ys,getScale:Bl,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||FC,o=this.getDimensions;return{reference:fce(t,await i(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Qi(e).direction==="rtl"},hce=(e,t,n)=>{const r=new Map,i={platform:dce,...n},o={...i.platform,_c:r};return tce(e,t,{...i,platform:o})};function vL(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?vL(e[n],t[n]):e[n]=t[n])}const _i={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Wd(e,t){let n=_i.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=_i.themes[n.$extend]||{}:(n=null,r=_i[t]):n=null;while(n);return r}function pce(e){const t=[e];let n=_i.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=_i.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function BC(e){const t=[e];let n=_i.themes[e]||{};do n.$extend?(t.push(n.$extend),n=_i.themes[n.$extend]||{}):n=null;while(n);return t}let pc=!1;if(typeof window<"u"){pc=!1;try{const e=Object.defineProperty({},"passive",{get(){pc=!0}});window.addEventListener("test",null,e)}catch{}}let yL=!1;typeof window<"u"&&typeof navigator<"u"&&(yL=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const bL=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),jC={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},HC={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function UC(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ub(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const wi=[];let Ra=null;const zC={};function VC(e){let t=zC[e];return t||(t=zC[e]=[]),t}let Fw=function(){};typeof window<"u"&&(Fw=window.Element);function mt(e){return function(t){return Wd(t.theme,e)}}const lb="__floating-vue__popper",wL=()=>xt({name:"VPopper",provide(){return{[lb]:{parentPopper:this}}},inject:{[lb]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:mt("disabled")},positioningDisabled:{type:Boolean,default:mt("positioningDisabled")},placement:{type:String,default:mt("placement"),validator:e=>bL.includes(e)},delay:{type:[String,Number,Object],default:mt("delay")},distance:{type:[Number,String],default:mt("distance")},skidding:{type:[Number,String],default:mt("skidding")},triggers:{type:Array,default:mt("triggers")},showTriggers:{type:[Array,Function],default:mt("showTriggers")},hideTriggers:{type:[Array,Function],default:mt("hideTriggers")},popperTriggers:{type:Array,default:mt("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:mt("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:mt("popperHideTriggers")},container:{type:[String,Object,Fw,Boolean],default:mt("container")},boundary:{type:[String,Fw],default:mt("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:mt("strategy")},autoHide:{type:[Boolean,Function],default:mt("autoHide")},handleResize:{type:Boolean,default:mt("handleResize")},instantMove:{type:Boolean,default:mt("instantMove")},eagerMount:{type:Boolean,default:mt("eagerMount")},popperClass:{type:[String,Array,Object],default:mt("popperClass")},computeTransformOrigin:{type:Boolean,default:mt("computeTransformOrigin")},autoMinSize:{type:Boolean,default:mt("autoMinSize")},autoSize:{type:[Boolean,String],default:mt("autoSize")},autoMaxSize:{type:Boolean,default:mt("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:mt("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:mt("preventOverflow")},overflowPadding:{type:[Number,String],default:mt("overflowPadding")},arrowPadding:{type:[Number,String],default:mt("arrowPadding")},arrowOverflow:{type:Boolean,default:mt("arrowOverflow")},flip:{type:Boolean,default:mt("flip")},shift:{type:Boolean,default:mt("shift")},shiftCrossAxis:{type:Boolean,default:mt("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:mt("noAutoFocus")},disposeTimeout:{type:Number,default:mt("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[lb])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(ace({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(ice({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(uce({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(oce({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(nce({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:o})=>{let s;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>i.reference.width/2:s=Math.abs(a)>i.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:o,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let u,l;return o.startsWith("top")||o.startsWith("bottom")?u=i.reference.width:l=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=u!=null?`${u}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(lce({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const n=await hce(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ra&&this.instantMove&&Ra.instantMove&&Ra!==this.parentPopper){Ra.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ra=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ub(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...l0(this.$_referenceNode),...l0(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),i=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${i}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<wi.length;n++)t=wi[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}wi.push(this),document.body.classList.add("v-popper--some-open");for(const t of BC(this.theme))VC(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ub(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,UC(wi,this),wi.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of BC(this.theme)){const r=VC(n);UC(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ra===this&&(Ra=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ub(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,jC,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],jC,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,HC,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],HC,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,pc?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,i){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,i)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:i,handler:o}=n;!e||e===i?r.forEach(s=>s.removeEventListener(i,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(td>=e.left&&td<=e.right&&nd>=e.top&&nd<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=td-ws,r=nd-Es,i=t.left+t.width/2-ws+(t.top+t.height/2)-Es+t.width+t.height,o=ws+n*i,s=Es+r*i;return Kp(ws,Es,o,s,t.left,t.top,t.left,t.bottom)||Kp(ws,Es,o,s,t.left,t.top,t.right,t.top)||Kp(ws,Es,o,s,t.right,t.top,t.right,t.bottom)||Kp(ws,Es,o,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(yL){const e=pc?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>WC(t,!0),e),document.addEventListener("touchend",t=>GC(t,!0),e)}else window.addEventListener("mousedown",e=>WC(e,!1),!0),window.addEventListener("click",e=>GC(e,!1),!0);window.addEventListener("resize",gce)}function WC(e,t){if(_i.autoHideOnMousedown)EL(e,t);else for(let n=0;n<wi.length;n++){const r=wi[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function GC(e,t){_i.autoHideOnMousedown||EL(e,t)}function EL(e,t){const n={};for(let r=wi.length-1;r>=0;r--){const i=wi[r];try{const o=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&KC(i,o,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=i.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=i.parentPopper;for(;s&&KC(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function KC(e,t,n){return n.closeAllPopover||n.closePopover&&t||mce(e,n)&&!t}function mce(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function gce(){for(let e=0;e<wi.length;e++)wi[e].$_computePosition()}let ws=0,Es=0,td=0,nd=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{ws=td,Es=nd,td=e.clientX,nd=e.clientY},pc?{passive:!0}:void 0);function Kp(e,t,n,r,i,o,s,a){const u=((s-i)*(t-o)-(a-o)*(e-i))/((a-o)*(n-e)-(s-i)*(r-t)),l=((n-e)*(t-o)-(r-t)*(e-i))/((a-o)*(n-e)-(s-i)*(r-t));return u>=0&&u<=1&&l>=0&&l<=1}const vce={extends:wL()},xv=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function yce(e,t,n,r,i,o){return Se(),Ne("div",{ref:"reference",class:_t(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Nt(e.$slots,"default",gn(Gn(e.slotData)))],2)}const bce=xv(vce,[["render",yce]]);function wce(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let km;function Bw(){Bw.init||(Bw.init=!0,km=wce()!==-1)}var Tv={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Bw(),to(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",km&&this.$el.appendChild(e),e.data="about:blank",km||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!km&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Ece=MA();DA("data-v-b329ee4c");const Sce={class:"resize-observer",tabindex:"-1"};NA();const xce=Ece((e,t,n,r,i,o)=>(Se(),Ur("div",Sce)));Tv.render=xce;Tv.__scopeId="data-v-b329ee4c";Tv.__file="src/components/ResizeObserver.vue";const SL=(e="theme")=>({computed:{themeClass(){return pce(this[e])}}}),Tce=xt({name:"VPopperContent",components:{ResizeObserver:Tv},mixins:[SL()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),_ce=["id","aria-hidden","tabindex","data-popper-placement"],Oce={ref:"inner",class:"v-popper__inner"},Ice=ge("div",{class:"v-popper__arrow-outer"},null,-1),Cce=ge("div",{class:"v-popper__arrow-inner"},null,-1),Ace=[Ice,Cce];function kce(e,t,n,r,i,o){const s=Hr("ResizeObserver");return Se(),Ne("div",{id:e.popperId,ref:"popover",class:_t(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Lo(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Yk(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[ge("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),ge("div",{class:"v-popper__wrapper",style:Lo(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ge("div",Oce,[e.mounted?(Se(),Ne(jt,{key:0},[ge("div",null,[Nt(e.$slots,"default")]),e.handleResize?(Se(),Ur(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Jn("",!0)],64)):Jn("",!0)],512),ge("div",{ref:"arrow",class:"v-popper__arrow-container",style:Lo(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ace,4)],4)],46,_ce)}const xL=xv(Tce,[["render",kce]]),TL={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let jw=function(){};typeof window<"u"&&(jw=window.Element);const Rce=xt({name:"VPopperWrapper",components:{Popper:bce,PopperContent:xL},mixins:[TL,SL("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,jw,Boolean],default:void 0},boundary:{type:[String,jw],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Pce(e,t,n,r,i,o){const s=Hr("PopperContent"),a=Hr("Popper");return Se(),Ur(a,Et({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=u=>e.$emit("update:shown",u)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:Fn(({popperId:u,isShown:l,shouldMountContent:c,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:m,onResize:g,classes:v,result:y})=>[Nt(e.$slots,"default",{shown:l,show:h,hide:p}),te(s,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:l,mounted:c,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:v,result:y,onHide:p,onResize:g},{default:Fn(()=>[Nt(e.$slots,"popper",{shown:l,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Gx=xv(Rce,[["render",Pce]]),Dce={...Gx,name:"VDropdown",vPopperTheme:"dropdown"},Nce={...Gx,name:"VMenu",vPopperTheme:"menu"},Mce={...Gx,name:"VTooltip",vPopperTheme:"tooltip"},Lce=xt({name:"VTooltipDirective",components:{Popper:wL(),PopperContent:xL},mixins:[TL],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Wd(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Wd(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),$ce=["innerHTML"],Fce=["textContent"];function Bce(e,t,n,r,i,o){const s=Hr("PopperContent"),a=Hr("Popper");return Se(),Ur(a,Et({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:Fn(({popperId:u,isShown:l,shouldMountContent:c,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:m,classes:g,result:v})=>[te(s,{ref:"popperContent",class:_t({"v-popper--tooltip-loading":e.loading}),"popper-id":u,theme:e.theme,shown:l,mounted:c,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:g,result:v,onHide:h,onResize:m},{default:Fn(()=>[e.html?(Se(),Ne("div",{key:0,innerHTML:e.finalContent},null,8,$ce)):(Se(),Ne("div",{key:1,textContent:un(e.finalContent)},null,8,Fce))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const jce=xv(Lce,[["render",Bce]]),_L="v-popper--has-tooltip";function Hce(e,t){let n=e.placement;if(!n&&t)for(const r of bL)t[r]&&(n=r);return n||(n=Wd(e.theme||"tooltip","placement")),n}function OL(e,t,n){let r;const i=typeof t;return i==="string"?r={content:t}:t&&i==="object"?r=t:r={content:!1},r.placement=Hce(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let cb,Gd,Uce=0;function zce(){if(cb)return;Gd=Je([]),cb=Km({name:"VTooltipDirectiveApp",setup(){return{directives:Gd}},render(){return this.directives.map(t=>cu(jce,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),cb.mount(e)}function Vce(e,t,n){zce();const r=Je(OL(e,t,n)),i=Je(!1),o={id:Uce++,options:r,shown:i};return Gd.value.push(o),e.classList&&e.classList.add(_L),e.$_popper={options:r,item:o,show(){i.value=!0},hide(){i.value=!1}}}function IL(e){if(e.$_popper){const t=Gd.value.indexOf(e.$_popper.item);t!==-1&&Gd.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(_L)}function qC(e,{value:t,modifiers:n}){const r=OL(e,t,n);if(!r.content||Wd(r.theme||"tooltip","disabled"))IL(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=Vce(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}const Wce={beforeMount:qC,updated:qC,beforeUnmount(e){IL(e)}};function YC(e){e.addEventListener("mousedown",c0),e.addEventListener("click",c0),e.addEventListener("touchstart",CL,pc?{passive:!0}:!1)}function XC(e){e.removeEventListener("mousedown",c0),e.removeEventListener("click",c0),e.removeEventListener("touchstart",CL),e.removeEventListener("touchend",AL),e.removeEventListener("touchcancel",kL)}function c0(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function CL(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",AL),t.addEventListener("touchcancel",kL)}}function AL(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function kL(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Gce={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&YC(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?YC(e):XC(e))},beforeUnmount(e){XC(e)}};function Kce(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,vL(_i,t),e.directive("tooltip",Wce),e.directive("close-popper",Gce),e.component("VTooltip",Mce),e.component("VDropdown",Dce),e.component("VMenu",Nce))}const gde={version:"5.2.2",install:Kce,options:_i};var qce={exports:{}};(function(e){var t=function(n){var r=Object.prototype,i=r.hasOwnProperty,o=Object.defineProperty||function($,F,V){$[F]=V.value},s,a=typeof Symbol=="function"?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function f($,F,V){return Object.defineProperty($,F,{value:V,enumerable:!0,configurable:!0,writable:!0}),$[F]}try{f({},"")}catch{f=function(F,V,H){return F[V]=H}}function d($,F,V,H){var G=F&&F.prototype instanceof b?F:b,U=Object.create(G.prototype),Y=new k(H||[]);return o(U,"_invoke",{value:I($,V,Y)}),U}n.wrap=d;function h($,F,V){try{return{type:"normal",arg:$.call(F,V)}}catch(H){return{type:"throw",arg:H}}}var p="suspendedStart",m="suspendedYield",g="executing",v="completed",y={};function b(){}function w(){}function S(){}var E={};f(E,u,function(){return this});var _=Object.getPrototypeOf,C=_&&_(_(P([])));C&&C!==r&&i.call(C,u)&&(E=C);var O=S.prototype=b.prototype=Object.create(E);w.prototype=S,o(O,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:w,configurable:!0}),w.displayName=f(S,c,"GeneratorFunction");function T($){["next","throw","return"].forEach(function(F){f($,F,function(V){return this._invoke(F,V)})})}n.isGeneratorFunction=function($){var F=typeof $=="function"&&$.constructor;return F?F===w||(F.displayName||F.name)==="GeneratorFunction":!1},n.mark=function($){return Object.setPrototypeOf?Object.setPrototypeOf($,S):($.__proto__=S,f($,c,"GeneratorFunction")),$.prototype=Object.create(O),$},n.awrap=function($){return{__await:$}};function x($,F){function V(U,Y,J,B){var Z=h($[U],$,Y);if(Z.type==="throw")B(Z.arg);else{var ue=Z.arg,de=ue.value;return de&&typeof de=="object"&&i.call(de,"__await")?F.resolve(de.__await).then(function(Me){V("next",Me,J,B)},function(Me){V("throw",Me,J,B)}):F.resolve(de).then(function(Me){ue.value=Me,J(ue)},function(Me){return V("throw",Me,J,B)})}}var H;function G(U,Y){function J(){return new F(function(B,Z){V(U,Y,B,Z)})}return H=H?H.then(J,J):J()}o(this,"_invoke",{value:G})}T(x.prototype),f(x.prototype,l,function(){return this}),n.AsyncIterator=x,n.async=function($,F,V,H,G){G===void 0&&(G=Promise);var U=new x(d($,F,V,H),G);return n.isGeneratorFunction(F)?U:U.next().then(function(Y){return Y.done?Y.value:U.next()})};function I($,F,V){var H=p;return function(U,Y){if(H===g)throw new Error("Generator is already running");if(H===v){if(U==="throw")throw Y;return N()}for(V.method=U,V.arg=Y;;){var J=V.delegate;if(J){var B=A(J,V);if(B){if(B===y)continue;return B}}if(V.method==="next")V.sent=V._sent=V.arg;else if(V.method==="throw"){if(H===p)throw H=v,V.arg;V.dispatchException(V.arg)}else V.method==="return"&&V.abrupt("return",V.arg);H=g;var Z=h($,F,V);if(Z.type==="normal"){if(H=V.done?v:m,Z.arg===y)continue;return{value:Z.arg,done:V.done}}else Z.type==="throw"&&(H=v,V.method="throw",V.arg=Z.arg)}}}function A($,F){var V=F.method,H=$.iterator[V];if(H===s)return F.delegate=null,V==="throw"&&$.iterator.return&&(F.method="return",F.arg=s,A($,F),F.method==="throw")||V!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+V+"' method")),y;var G=h(H,$.iterator,F.arg);if(G.type==="throw")return F.method="throw",F.arg=G.arg,F.delegate=null,y;var U=G.arg;if(!U)return F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,y;if(U.done)F[$.resultName]=U.value,F.next=$.nextLoc,F.method!=="return"&&(F.method="next",F.arg=s);else return U;return F.delegate=null,y}T(O),f(O,c,"Generator"),f(O,u,function(){return this}),f(O,"toString",function(){return"[object Generator]"});function D($){var F={tryLoc:$[0]};1 in $&&(F.catchLoc=$[1]),2 in $&&(F.finallyLoc=$[2],F.afterLoc=$[3]),this.tryEntries.push(F)}function R($){var F=$.completion||{};F.type="normal",delete F.arg,$.completion=F}function k($){this.tryEntries=[{tryLoc:"root"}],$.forEach(D,this),this.reset(!0)}n.keys=function($){var F=Object($),V=[];for(var H in F)V.push(H);return V.reverse(),function G(){for(;V.length;){var U=V.pop();if(U in F)return G.value=U,G.done=!1,G}return G.done=!0,G}};function P($){if($!=null){var F=$[u];if(F)return F.call($);if(typeof $.next=="function")return $;if(!isNaN($.length)){var V=-1,H=function G(){for(;++V<$.length;)if(i.call($,V))return G.value=$[V],G.done=!1,G;return G.value=s,G.done=!0,G};return H.next=H}}throw new TypeError(typeof $+" is not iterable")}n.values=P;function N(){return{value:s,done:!0}}return k.prototype={constructor:k,reset:function($){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(R),!$)for(var F in this)F.charAt(0)==="t"&&i.call(this,F)&&!isNaN(+F.slice(1))&&(this[F]=s)},stop:function(){this.done=!0;var $=this.tryEntries[0],F=$.completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function($){if(this.done)throw $;var F=this;function V(B,Z){return U.type="throw",U.arg=$,F.next=B,Z&&(F.method="next",F.arg=s),!!Z}for(var H=this.tryEntries.length-1;H>=0;--H){var G=this.tryEntries[H],U=G.completion;if(G.tryLoc==="root")return V("end");if(G.tryLoc<=this.prev){var Y=i.call(G,"catchLoc"),J=i.call(G,"finallyLoc");if(Y&&J){if(this.prev<G.catchLoc)return V(G.catchLoc,!0);if(this.prev<G.finallyLoc)return V(G.finallyLoc)}else if(Y){if(this.prev<G.catchLoc)return V(G.catchLoc,!0)}else if(J){if(this.prev<G.finallyLoc)return V(G.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function($,F){for(var V=this.tryEntries.length-1;V>=0;--V){var H=this.tryEntries[V];if(H.tryLoc<=this.prev&&i.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var G=H;break}}G&&($==="break"||$==="continue")&&G.tryLoc<=F&&F<=G.finallyLoc&&(G=null);var U=G?G.completion:{};return U.type=$,U.arg=F,G?(this.method="next",this.next=G.finallyLoc,y):this.complete(U)},complete:function($,F){if($.type==="throw")throw $.arg;return $.type==="break"||$.type==="continue"?this.next=$.arg:$.type==="return"?(this.rval=this.arg=$.arg,this.method="return",this.next="end"):$.type==="normal"&&F&&(this.next=F),y},finish:function($){for(var F=this.tryEntries.length-1;F>=0;--F){var V=this.tryEntries[F];if(V.finallyLoc===$)return this.complete(V.completion,V.afterLoc),R(V),y}},catch:function($){for(var F=this.tryEntries.length-1;F>=0;--F){var V=this.tryEntries[F];if(V.tryLoc===$){var H=V.completion;if(H.type==="throw"){var G=H.arg;R(V)}return G}}throw new Error("illegal catch attempt")},delegateYield:function($,F,V){return this.delegate={iterator:P($),resultName:F,nextLoc:V},this.method==="next"&&(this.arg=s),y}},n}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(qce);var RL={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(self,()=>(()=>{var n={571:function(s,a){var u,l;u=function(c){var f=function(){function h(p,m){for(var g=0;g<m.length;g++){var v=m[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(p,v.key,v)}}return function(p,m,g){return m&&h(p.prototype,m),g&&h(p,g),p}}(),d=function(){function h(p){(function(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")})(this,h),this.target=p,this.isContentEditable=p&&p.contentEditable}return f(h,[{key:"getPos",value:function(){if(document.activeElement!==this.target)return-1;if(this.isContentEditable){this.target.focus();var p=document.getSelection().getRangeAt(0),m=p.cloneRange();return m.selectNodeContents(this.target),m.setEnd(p.endContainer,p.endOffset),m.toString().length}return this.target.selectionStart}},{key:"setPos",value:function(p){if(this.isContentEditable){if(p>=0){var m=window.getSelection(),g=this.createRange(this.target,{count:p});g&&(g.collapse(!1),m.removeAllRanges(),m.addRange(g))}}else this.target.setSelectionRange(p,p)}},{key:"createRange",value:function(p,m,g){if(g||((g=document.createRange()).selectNode(p),g.setStart(p,0)),m.count===0)g.setEnd(p,m.count);else if(p&&m.count>0)if(p.nodeType===Node.TEXT_NODE)p.textContent.length<m.count?m.count-=p.textContent.length:(g.setEnd(p,m.count),m.count=0);else for(var v=0;v<p.childNodes.length&&(g=this.createRange(p.childNodes[v],m,g),m.count!==0);v++);return g}}]),h}();c.exports=d},(l=u.apply(a,[s]))===void 0||(s.exports=l)},334:(s,a,u)=>{s.exports=u(571)}},r={};function i(s){var a=r[s];if(a!==void 0)return a.exports;var u=r[s]={exports:{}};return n[s].call(u.exports,u,u.exports,i),u.exports}i.n=s=>{var a=s&&s.__esModule?()=>s.default:()=>s;return i.d(a,{a}),a},i.d=(s,a)=>{for(var u in a)i.o(a,u)&&!i.o(s,u)&&Object.defineProperty(s,u,{enumerable:!0,get:a[u]})},i.o=(s,a)=>Object.prototype.hasOwnProperty.call(s,a);var o={};return(()=>{i.d(o,{default:()=>p});var s=i(334),a=i.n(s);function u(m,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(m,y.key,y)}}var l=function(){function m(y,b,w){(function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")})(this,m),this.holder=b,this.observer=null,this.debounceTimer=w,this.mutationDebouncer=this.debounce(function(){y()},this.debounceTimer)}var g,v;return g=m,v=[{key:"setMutationObserver",value:function(){var y=this,b=this.holder.querySelector(".codex-editor__redactor");this.observer=new MutationObserver(function(w){y.mutationHandler(w)}),this.observer.observe(b,{childList:!0,attributes:!0,subtree:!0,characterData:!0,characterDataOldValue:!0})}},{key:"mutationHandler",value:function(y){var b=this,w=!1;y.forEach(function(S){switch(S.type){case"childList":S.target===b.holder?b.onDestroy():w=!0;break;case"characterData":w=!0;break;case"attributes":S.target.classList.contains("ce-block")||S.target.classList.contains("tc-toolbox")||(w=!0)}}),w&&this.mutationDebouncer()}},{key:"debounce",value:function(y,b){var w,S=this;return function(){for(var E=arguments.length,_=new Array(E),C=0;C<E;C++)_[C]=arguments[C];var O=S;clearTimeout(w),w=setTimeout(function(){return y.apply(O,_)},b)}}},{key:"onDestroy",value:function(){var y=new CustomEvent("destroy");document.dispatchEvent(y),this.observer.disconnect()}}],v&&u(g.prototype,v),Object.defineProperty(g,"prototype",{writable:!1}),m}();function c(m,g){var v=Object.keys(m);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(m);g&&(y=y.filter(function(b){return Object.getOwnPropertyDescriptor(m,b).enumerable})),v.push.apply(v,y)}return v}function f(m){for(var g=1;g<arguments.length;g++){var v=arguments[g]!=null?arguments[g]:{};g%2?c(Object(v),!0).forEach(function(y){d(m,y,v[y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(v)):c(Object(v)).forEach(function(y){Object.defineProperty(m,y,Object.getOwnPropertyDescriptor(v,y))})}return m}function d(m,g,v){return g in m?Object.defineProperty(m,g,{value:v,enumerable:!0,configurable:!0,writable:!0}):m[g]=v,m}function h(m,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(m,y.key,y)}}var p=function(){function m(b){var w=this,S=b.editor,E=b.config,_=E===void 0?{}:E,C=b.onUpdate,O=b.maxLength;(function(G,U){if(!(G instanceof U))throw new TypeError("Cannot call a class as a function")})(this,m);var T={maxLength:30,onUpdate:function(){},config:{debounceTimer:200,shortcuts:{undo:["CMD+Z"],redo:["CMD+Y","CMD+SHIFT+Z"]}}},x=S.blocks,I=S.caret,A=S.configuration,D=A.holder,R=T.config.shortcuts,k=_.shortcuts,P=f(f({},R),k),N=Array.isArray(P.undo)?P.undo:[P.undo],$=Array.isArray(P.redo)?P.redo:[P.redo],F=T.config.debounceTimer,V=_.debounceTimer,H=V===void 0?F:V;this.holder=typeof D=="string"?document.getElementById(D):D,this.editor=S,this.blocks=x,this.caret=I,this.shouldSaveHistory=!0,this.readOnly=A.readOnly,this.maxLength=O||T.maxLength,this.onUpdate=C||T.onUpdate,this.config={debounceTimer:H,shortcuts:{undo:N,redo:$}},new l(function(){return w.registerChange()},this.holder,this.config.debounceTimer).setMutationObserver(),this.setEventListeners(),this.initialItem=null,this.clear()}var g,v,y;return g=m,y=[{key:"isReadOnlySupported",get:function(){return!0}}],(v=[{key:"truncate",value:function(b,w){for(;b.length>w;)b.shift()}},{key:"initialize",value:function(b){var w="blocks"in b?b.blocks:b,S={index:w.length-1,state:w};this.stack[0]=S,this.initialItem=S}},{key:"clear",value:function(){this.stack=this.initialItem?[this.initialItem]:[{index:0,state:[{type:"paragraph",data:{text:""}}]}],this.position=0,this.onUpdate()}},{key:"setReadOnly",value:function(){var b=this.holder.querySelector(".ce-toolbox");this.readOnly=!b}},{key:"registerChange",value:function(){var b=this;this.setReadOnly(),this.readOnly||(this.editor&&this.editor.save&&this.shouldSaveHistory&&this.editor.save().then(function(w){b.editorDidUpdate(w.blocks)&&b.save(w.blocks)}),this.shouldSaveHistory=!0)}},{key:"editorDidUpdate",value:function(b){var w=this.stack[this.position].state;return!!b.length&&(b.length!==w.length||JSON.stringify(w)!==JSON.stringify(b))}},{key:"save",value:function(b){this.position>=this.maxLength&&this.truncate(this.stack,this.maxLength),this.position=Math.min(this.position,this.stack.length-1),this.stack=this.stack.slice(0,this.position+1);var w=this.blocks.getCurrentBlockIndex(),S=this.blocks.getBlocksCount(),E=w;b[w]||(E-=S-b.length);var _=!b[E]||b[E].type!=="paragraph"&&b[E].type!=="header"?null:this.getCaretIndex(w);this.stack.push({index:E,state:b,caretIndex:_}),this.position+=1,this.onUpdate()}},{key:"getCaretIndex",value:function(b){var w=this.holder.getElementsByClassName("ce-block__content");return new(a())(w[b].firstChild).getPos()}},{key:"insertDeletedBlock",value:function(b,w,S){for(var E=0;E<b.length;E+=1)if(!w[E]||b[E].id!==w[E].id){this.blocks.insert(b[E].type,b[E].data,{},E,!0),this.caret.setToBlock(S,"end");break}}},{key:"blockWasDropped",value:function(b,w){return b.length===w.length&&b.some(function(S,E){return S.id!==w[E].id})}},{key:"blockWasSkipped",value:function(b,w,S,E){return b<w&&S.length!==E.length}},{key:"contentChangedInNoFocusBlock",value:function(b,w){return b!==w}},{key:"blockWasDeleted",value:function(b,w){return b.length>w.length}},{key:"undo",value:function(){var b=this;if(this.canUndo()&&this.position>=0){this.position-=1,this.shouldSaveHistory=!1;var w=this.stack[this.position].index,S=this.stack[this.position],E=S.state,_=S.caretIndex,C=this.stack[this.position],O=C.index,T=C.state;this.onUpdate();var x=this.blocks.getBlocksCount();if(E[w]||(w-=1,this.stack[this.position].index=w),this.blockWasDeleted(E,T))this.insertDeletedBlock(E,T,w);else if(this.blockWasSkipped(w,O,E,T))this.blocks.delete(),this.caret.setToBlock(w,"end");else if(x>E.length)this.blocks.render({blocks:E}).then(function(){b.editor.blocks.insert("paragraph",{text:""}),b.caret.setToLastBlock("end")});else if(this.blockWasDropped(E,T))this.blocks.render({blocks:E}).then(function(){return b.caret.setToBlock(w,"end")});else if(this.contentChangedInNoFocusBlock(w,O)){var I=this.blocks.getBlockByIndex(O).id;this.blocks.update(I,E[O].data),this.setCaretIndex(w,_)}var A=this.blocks.getBlockByIndex(w);A&&(this.blocks.update(A.id,E[w].data),this.setCaretIndex(w,_))}}},{key:"setCaretIndex",value:function(b,w){if(w&&w!==-1){var S=this.holder.getElementsByClassName("ce-block__content");new(a())(S[b].firstChild).setPos(w)}else this.caret.setToBlock(b,"end")}},{key:"insertBlock",value:function(b,w){this.blocks.insert(b[w].type,b[w].data,{},w,!0)}},{key:"insertSkippedBlocks",value:function(b,w){for(var S=b;S<w.length;S+=1)this.insertBlock(w,S)}},{key:"redo",value:function(){var b=this;if(this.canRedo()){this.position+=1,this.shouldSaveHistory=!1;var w=this.stack[this.position],S=w.index,E=w.state,_=w.caretIndex,C=this.stack[this.position-1],O=C.index,T=C.state;this.blockWasDeleted(T,E)?(this.blocks.delete(),this.caret.setToBlock(S,"end")):this.blockWasSkipped(O,S,E,T)?(this.insertSkippedBlocks(T.length,E),this.caret.setToBlock(S,"end")):this.blockWasDropped(E,T)&&this.position!==1&&this.blocks.render({blocks:E}).then(function(){return b.caret.setToBlock(S,"end")}),this.onUpdate();var x=this.blocks.getBlockByIndex(S);x&&(this.blocks.update(x.id,E[S].data),this.setCaretIndex(S,_))}}},{key:"canUndo",value:function(){return!this.readOnly&&this.position>0}},{key:"canRedo",value:function(){return!this.readOnly&&this.position<this.count()}},{key:"count",value:function(){return this.stack.length-1}},{key:"parseKeys",value:function(b){var w={CMD:/(Mac)/i.test(navigator.platform)?"metaKey":"ctrlKey",ALT:"altKey",SHIFT:"shiftKey"},S=b.slice(0,-1).map(function(_){return w[_]}),E=S.includes("shiftKey")&&b.length===2?b[b.length-1].toUpperCase():b[b.length-1].toLowerCase();return S.push(E),S}},{key:"setEventListeners",value:function(){var b=this,w=this.holder,S=this.config.shortcuts,E=S.undo,_=S.redo,C=E.map(function(P){return P.replace(/ /g,"").split("+")}),O=_.map(function(P){return P.replace(/ /g,"").split("+")}),T=C.map(function(P){return b.parseKeys(P)}),x=O.map(function(P){return b.parseKeys(P)}),I=function(P){return P.replace("Key","").toLowerCase()},A=function(P,N){return N.reduce(function($,F){return $||function(V,H){return H.length===3&&V[H[0]]&&V[H[1]]&&(V.key===H[2]||I(V.code)===H[2])}(P,F)},!1)},D=function(P,N,$){return!(!function(F,V){return V.reduce(function(H,G){return H||function(U,Y){return Y.length===2&&U[Y[0]]&&(U.key===Y[1]||I(U.code)===Y[1])}(F,G)},!1)}(P,N)||A(P,$))||!!A(P,N)},R=function(P){D(P,T,x)&&(P.preventDefault(),b.undo())},k=function(P){D(P,x,T)&&(P.preventDefault(),b.redo())};w.addEventListener("keydown",R),w.addEventListener("keydown",k),w.addEventListener("destroy",function(){w.removeEventListener("keydown",R),w.removeEventListener("keydown",k)})}}])&&h(g.prototype,v),y&&h(g,y),Object.defineProperty(g,"prototype",{writable:!1}),m}()})(),o.default})())})(RL);var Yce=RL.exports;const vde=Su(Yce);export{ade as $,vF as A,wF as B,bE as C,bF as D,Sfe as E,on as F,lfe as G,Ne as H,jt as I,tc as J,Sn as K,Fl as L,Ufe as M,xfe as N,Je as O,_e as P,Hfe as Q,_t as R,su as S,Nt as T,Jn as U,Lo as V,ode as W,bQ as X,eh as Y,c$ as Z,sde as _,ha as a,ffe as a$,_r as a0,ufe as a1,Nfe as a2,Mt as a3,qa as a4,Gm as a5,cfe as a6,is as a7,Tu as a8,qk as a9,vt as aA,pfe as aB,dde as aC,hde as aD,au as aE,bc as aF,pde as aG,mde as aH,h$ as aI,a$ as aJ,Y5 as aK,ofe as aL,At as aM,aE as aN,Gk as aO,d$ as aP,lde as aQ,afe as aR,ife as aS,Km as aT,nfe as aU,tfe as aV,rfe as aW,Qce as aX,Zce as aY,wfe as aZ,gde as a_,dfe as aa,yc as ab,to as ac,Yk as ad,Xd as ae,mfe as af,Et as ag,hfe as ah,gn as ai,Gn as aj,bfe as ak,ude as al,qy as am,f$ as an,r5 as ao,cde as ap,_A as aq,cn as ar,Ife as as,efe as at,fde as au,cu as av,Vs as aw,x0 as ax,gc as ay,Fo as az,xt as b,vde as b0,sfe as b1,o$ as b2,Se as c,vfe as d,Ur as e,te as f,ge as g,$n as h,ln as i,mF as j,o3 as k,a3 as l,Efe as m,Ou as n,ni as o,yfe as p,fu as q,Hr as r,u3 as s,un as t,gfe as u,xF as v,Fn as w,SF as x,EF as y,yF as z};
