822 lines
476 KiB
JavaScript
822 lines
476 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
|
||
* @vue/shared v3.4.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function ju(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ze={},Fs=[],rn=()=>{},vy=()=>!1,Ja=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bu=e=>e.startsWith("onUpdate:"),mt=Object.assign,Wu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},by=Object.prototype.hasOwnProperty,Pe=(e,t)=>by.call(e,t),de=Array.isArray,Vs=e=>fi(e)==="[object Map]",lo=e=>fi(e)==="[object Set]",dd=e=>fi(e)==="[object Date]",Ae=e=>typeof e=="function",pt=e=>typeof e=="string",Xn=e=>typeof e=="symbol",qe=e=>e!==null&&typeof e=="object",Bp=e=>(qe(e)||Ae(e))&&Ae(e.then)&&Ae(e.catch),Wp=Object.prototype.toString,fi=e=>Wp.call(e),yy=e=>fi(e).slice(8,-1),zp=e=>fi(e)==="[object Object]",zu=e=>pt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lo=ju(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Za=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ey=/-(\w)/g,yn=Za(e=>e.replace(Ey,(t,n)=>n?n.toUpperCase():"")),wy=/\B([A-Z])/g,Vr=Za(e=>e.replace(wy,"-$1").toLowerCase()),el=Za(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vl=Za(e=>e?`on${el(e)}`:""),Ln=(e,t)=>!Object.is(e,t),ia=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Yp=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sa=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let hd;const Kp=()=>hd||(hd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function sn(e){if(de(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=pt(r)?Cy(r):sn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(pt(e)||qe(e))return e}const Ay=/;(?![^(]*\))/g,Ty=/:([^]+)/,Sy=/\/\*[^]*?\*\//g;function Cy(e){const t={};return e.replace(Sy,"").split(Ay).forEach(n=>{if(n){const r=n.split(Ty);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function It(e){let t="";if(pt(e))t=e;else if(de(e))for(let n=0;n<e.length;n++){const r=It(e[n]);r&&(t+=r+" ")}else if(qe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Oy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xy=ju(Oy);function qp(e){return!!e||e===""}function Ny(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=di(e[r],t[r]);return n}function di(e,t){if(e===t)return!0;let n=dd(e),r=dd(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Xn(e),r=Xn(t),n||r)return e===t;if(n=de(e),r=de(t),n||r)return n&&r?Ny(e,t):!1;if(n=qe(e),r=qe(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!di(e[i],t[i]))return!1}}return String(e)===String(t)}function Yu(e,t){return e.findIndex(n=>di(n,t))}const j=e=>pt(e)?e:e==null?"":de(e)||qe(e)&&(e.toString===Wp||!Ae(e.toString))?JSON.stringify(e,Gp,2):String(e),Gp=(e,t)=>t&&t.__v_isRef?Gp(e,t.value):Vs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Ul(r,o)+" =>"]=s,n),{})}:lo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ul(n))}:Xn(t)?Ul(t):qe(t)&&!de(t)&&!zp(t)?String(t):t,Ul=(e,t="")=>{var n;return Xn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let zt;class Xp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=zt,!t&&zt&&(this.index=(zt.scopes||(zt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=zt;try{return zt=this,t()}finally{zt=n}}}on(){zt=this}off(){zt=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 s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Ku(e){return new Xp(e)}function ky(e,t=zt){t&&t.active&&t.effects.push(e)}function Qp(){return zt}function Iy(e){zt&&zt.cleanups.push(e)}let is;class qu{constructor(t,n,r,s){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=5,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,ky(this,s)}get dirty(){if(this._dirtyLevel===2)return!1;if(this._dirtyLevel===3||this._dirtyLevel===4){this._dirtyLevel=1,Ur();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed){if(n.computed.effect._dirtyLevel===2)return!0;if($y(n.computed),this._dirtyLevel>=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Hr()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Or,n=is;try{return Or=!0,is=this,this._runnings++,md(this),this.fn()}finally{pd(this),this._runnings--,is=n,Or=t}}stop(){this.active&&(md(this),pd(this),this.onStop&&this.onStop(),this.active=!1)}}function $y(e){return e.value}function md(e){e._trackId++,e._depsLength=0}function pd(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Jp(e.deps[t],e);e.deps.length=e._depsLength}}function Jp(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Or=!0,Pc=0;const Zp=[];function Ur(){Zp.push(Or),Or=!1}function Hr(){const e=Zp.pop();Or=e===void 0?!0:e}function Gu(){Pc++}function Xu(){for(Pc--;!Pc&&Rc.length;)Rc.shift()()}function eg(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Jp(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Rc=[];function tg(e,t,n){Gu();for(const r of e.keys()){if(!e.computed&&r.computed&&e.get(r)===r._trackId&&r._runnings>0){r._dirtyLevel=2;continue}let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r.computed&&r._dirtyLevel===2&&(r._shouldSchedule=!0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==3&&(r._shouldSchedule=!1,r.scheduler&&Rc.push(r.scheduler)))}Xu()}const ng=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ca=new WeakMap,as=Symbol(""),Dc=Symbol("");function Ut(e,t,n){if(Or&&is){let r=Ca.get(e);r||Ca.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=ng(()=>r.delete(n))),eg(is,s)}}function zn(e,t,n,r,s,o){const i=Ca.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&de(e)){const l=Number(r);i.forEach((u,c)=>{(c==="length"||!Xn(c)&&c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":de(e)?zu(n)&&a.push(i.get("length")):(a.push(i.get(as)),Vs(e)&&a.push(i.get(Dc)));break;case"delete":de(e)||(a.push(i.get(as)),Vs(e)&&a.push(i.get(Dc)));break;case"set":Vs(e)&&a.push(i.get(as));break}Gu();for(const l of a)l&&tg(l,5);Xu()}function Ly(e,t){const n=Ca.get(e);return n&&n.get(t)}const Py=ju("__proto__,__v_isRef,__isVue"),rg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xn)),gd=Ry();function Ry(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=De(this);for(let o=0,i=this.length;o<i;o++)Ut(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(De)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ur(),Gu();const r=De(this)[t].apply(this,n);return Xu(),Hr(),r}}),e}function Dy(e){Xn(e)||(e=String(e));const t=De(this);return Ut(t,"has",e),t.hasOwnProperty(e)}class sg{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Gy:lg:o?ag:ig).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=de(t);if(!s){if(i&&Pe(gd,n))return Reflect.get(gd,n,r);if(n==="hasOwnProperty")return Dy}const a=Reflect.get(t,n,r);return(Xn(n)?rg.has(n):Py(n))||(s||Ut(t,"get",n),o)?a:Ke(a)?i&&zu(n)?a:a.value:qe(a)?s?ug(a):rr(a):a}}class og extends sg{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=Ys(o);if(!Oa(r)&&!Ys(r)&&(o=De(o),r=De(r)),!de(t)&&Ke(o)&&!Ke(r))return l?!1:(o.value=r,!0)}const i=de(t)&&zu(n)?Number(n)<t.length:Pe(t,n),a=Reflect.set(t,n,r,s);return t===De(s)&&(i?Ln(r,o)&&zn(t,"set",n,r):zn(t,"add",n,r)),a}deleteProperty(t,n){const r=Pe(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&zn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Xn(n)||!rg.has(n))&&Ut(t,"has",n),r}ownKeys(t){return Ut(t,"iterate",de(t)?"length":as),Reflect.ownKeys(t)}}class My extends sg{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fy=new og,Vy=new My,Uy=new og(!0);const Qu=e=>e,tl=e=>Reflect.getPrototypeOf(e);function Ii(e,t,n=!1,r=!1){e=e.__v_raw;const s=De(e),o=De(t);n||(Ln(t,o)&&Ut(s,"get",t),Ut(s,"get",o));const{has:i}=tl(s),a=r?Qu:n?tf:Go;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function $i(e,t=!1){const n=this.__v_raw,r=De(n),s=De(e);return t||(Ln(e,s)&&Ut(r,"has",e),Ut(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Li(e,t=!1){return e=e.__v_raw,!t&&Ut(De(e),"iterate",as),Reflect.get(e,"size",e)}function _d(e){e=De(e);const t=De(this);return tl(t).has.call(t,e)||(t.add(e),zn(t,"add",e,e)),this}function vd(e,t){t=De(t);const n=De(this),{has:r,get:s}=tl(n);let o=r.call(n,e);o||(e=De(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Ln(t,i)&&zn(n,"set",e,t):zn(n,"add",e,t),this}function bd(e){const t=De(this),{has:n,get:r}=tl(t);let s=n.call(t,e);s||(e=De(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&zn(t,"delete",e,void 0),o}function yd(){const e=De(this),t=e.size!==0,n=e.clear();return t&&zn(e,"clear",void 0,void 0),n}function Pi(e,t){return function(r,s){const o=this,i=o.__v_raw,a=De(i),l=t?Qu:e?tf:Go;return!e&&Ut(a,"iterate",as),i.forEach((u,c)=>r.call(s,l(u),l(c),o))}}function Ri(e,t,n){return function(...r){const s=this.__v_raw,o=De(s),i=Vs(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?Qu:t?tf:Go;return!t&&Ut(o,"iterate",l?Dc:as),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function cr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Hy(){const e={get(o){return Ii(this,o)},get size(){return Li(this)},has:$i,add:_d,set:vd,delete:bd,clear:yd,forEach:Pi(!1,!1)},t={get(o){return Ii(this,o,!1,!0)},get size(){return Li(this)},has:$i,add:_d,set:vd,delete:bd,clear:yd,forEach:Pi(!1,!0)},n={get(o){return Ii(this,o,!0)},get size(){return Li(this,!0)},has(o){return $i.call(this,o,!0)},add:cr("add"),set:cr("set"),delete:cr("delete"),clear:cr("clear"),forEach:Pi(!0,!1)},r={get(o){return Ii(this,o,!0,!0)},get size(){return Li(this,!0)},has(o){return $i.call(this,o,!0)},add:cr("add"),set:cr("set"),delete:cr("delete"),clear:cr("clear"),forEach:Pi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ri(o,!1,!1),n[o]=Ri(o,!0,!1),t[o]=Ri(o,!1,!0),r[o]=Ri(o,!0,!0)}),[e,n,t,r]}const[jy,By,Wy,zy]=Hy();function Ju(e,t){const n=t?e?zy:Wy:e?By:jy;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Pe(n,s)&&s in r?n:r,s,o)}const Yy={get:Ju(!1,!1)},Ky={get:Ju(!1,!0)},qy={get:Ju(!0,!1)};const ig=new WeakMap,ag=new WeakMap,lg=new WeakMap,Gy=new WeakMap;function Xy(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qy(e){return e.__v_skip||!Object.isExtensible(e)?0:Xy(yy(e))}function rr(e){return Ys(e)?e:Zu(e,!1,Fy,Yy,ig)}function cg(e){return Zu(e,!1,Uy,Ky,ag)}function ug(e){return Zu(e,!0,Vy,qy,lg)}function Zu(e,t,n,r,s){if(!qe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Qy(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function xr(e){return Ys(e)?xr(e.__v_raw):!!(e&&e.__v_isReactive)}function Ys(e){return!!(e&&e.__v_isReadonly)}function Oa(e){return!!(e&&e.__v_isShallow)}function fg(e){return e?!!e.__v_raw:!1}function De(e){const t=e&&e.__v_raw;return t?De(t):e}function ef(e){return Object.isExtensible(e)&&Yp(e,"__v_skip",!0),e}const Go=e=>qe(e)?rr(e):e,tf=e=>qe(e)?ug(e):e;class dg{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new qu(()=>t(this._value),()=>Po(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=De(this);return(!t._cacheable||t.effect.dirty)&&Ln(t._value,t._value=t.effect.run())&&Po(t,5),nf(t),t.effect._dirtyLevel>=2&&Po(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Jy(e,t,n=!1){let r,s;const o=Ae(e);return o?(r=e,s=rn):(r=e.get,s=e.set),new dg(r,s,o||!s,n)}function nf(e){var t;Or&&is&&(e=De(e),eg(is,(t=e.dep)!=null?t:e.dep=ng(()=>e.dep=void 0,e instanceof dg?e:void 0)))}function Po(e,t=5,n,r){e=De(e);const s=e.dep;s&&tg(s,t)}function Ke(e){return!!(e&&e.__v_isRef===!0)}function te(e){return hg(e,!1)}function rf(e){return hg(e,!0)}function hg(e,t){return Ke(e)?e:new Zy(e,t)}class Zy{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:De(t),this._value=n?t:Go(t)}get value(){return nf(this),this._value}set value(t){const n=this.__v_isShallow||Oa(t)||Ys(t);t=n?t:De(t),Ln(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Go(t),Po(this,5))}}function C(e){return Ke(e)?e.value:e}const e1={get:(e,t,n)=>C(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ke(s)&&!Ke(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function mg(e){return xr(e)?e:new Proxy(e,e1)}class t1{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>nf(this),()=>Po(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function n1(e){return new t1(e)}function pg(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=s1(e,n);return t}class r1{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ly(De(this._object),this._key)}}function s1(e,t,n){const r=e[t];return Ke(r)?r:new r1(e,t,n)}/**
|
||
* @vue/runtime-core v3.4.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Nr(e,t,n,r){try{return r?e(...r):e()}catch(s){nl(s,t,n)}}function bn(e,t,n,r){if(Ae(e)){const s=Nr(e,t,n,r);return s&&Bp(s)&&s.catch(o=>{nl(o,t,n)}),s}if(de(e)){const s=[];for(let o=0;o<e.length;o++)s.push(bn(e[o],t,n,r));return s}}function nl(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const u=o.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){Ur(),Nr(l,null,10,[e,i,a]),Hr();return}}o1(e,n,s,r)}function o1(e,t,n,r=!0){console.error(e)}let Xo=!1,Mc=!1;const St=[];let On=0;const Us=[];let gr=null,es=0;const gg=Promise.resolve();let sf=null;function kr(e){const t=sf||gg;return e?t.then(this?e.bind(this):e):t}function i1(e){let t=On+1,n=St.length;for(;t<n;){const r=t+n>>>1,s=St[r],o=Qo(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function of(e){(!St.length||!St.includes(e,Xo&&e.allowRecurse?On+1:On))&&(e.id==null?St.push(e):St.splice(i1(e.id),0,e),_g())}function _g(){!Xo&&!Mc&&(Mc=!0,sf=gg.then(bg))}function a1(e){const t=St.indexOf(e);t>On&&St.splice(t,1)}function l1(e){de(e)?Us.push(...e):(!gr||!gr.includes(e,e.allowRecurse?es+1:es))&&Us.push(e),_g()}function Ed(e,t,n=Xo?On+1:0){for(;n<St.length;n++){const r=St[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;St.splice(n,1),n--,r()}}}function vg(e){if(Us.length){const t=[...new Set(Us)].sort((n,r)=>Qo(n)-Qo(r));if(Us.length=0,gr){gr.push(...t);return}for(gr=t,es=0;es<gr.length;es++){const n=gr[es];n.active!==!1&&n()}gr=null,es=0}}const Qo=e=>e.id==null?1/0:e.id,c1=(e,t)=>{const n=Qo(e)-Qo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bg(e){Mc=!1,Xo=!0,St.sort(c1);try{for(On=0;On<St.length;On++){const t=St[On];t&&t.active!==!1&&Nr(t,null,14)}}finally{On=0,St.length=0,vg(),Xo=!1,sf=null,(St.length||Us.length)&&bg()}}function u1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ze;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const c=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[c]||ze;d&&(s=n.map(h=>pt(h)?h.trim():h)),f&&(s=n.map(Sa))}let a,l=r[a=Vl(t)]||r[a=Vl(yn(t))];!l&&o&&(l=r[a=Vl(Vr(t))]),l&&bn(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,bn(u,e,6,s)}}function yg(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!Ae(e)){const l=u=>{const c=yg(u,t,!0);c&&(a=!0,mt(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(qe(e)&&r.set(e,null),null):(de(o)?o.forEach(l=>i[l]=null):mt(i,o),qe(e)&&r.set(e,i),i)}function rl(e,t){return!e||!Ja(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,Vr(t))||Pe(e,t))}let kt=null,sl=null;function xa(e){const t=kt;return kt=e,sl=e&&e.type.__scopeId||null,t}function ol(e){sl=e}function il(){sl=null}function mn(e,t=kt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&$d(-1);const o=xa(t);let i;try{i=e(...s)}finally{xa(o),r._d&&$d(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Hl(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:m,inheritAttrs:g}=e,v=xa(e);let y,S;try{if(n.shapeFlag&4){const A=s||r,x=A;y=Cn(u.call(x,A,c,f,h,d,m)),S=a}else{const A=t;y=Cn(A.length>1?A(f,{attrs:a,slots:i,emit:l}):A(f,null)),S=t.props?a:f1(a)}}catch(A){Do.length=0,nl(A,e,1),y=re(fs)}let E=y;if(S&&g!==!1){const A=Object.keys(S),{shapeFlag:x}=E;A.length&&x&7&&(o&&A.some(Bu)&&(S=d1(S,o)),E=Ks(E,S,!1,!0))}return n.dirs&&(E=Ks(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),y=E,xa(v),y}const f1=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ja(n))&&((t||(t={}))[n]=e[n]);return t},d1=(e,t)=>{const n={};for(const r in e)(!Bu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function h1(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?wd(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(i[d]!==r[d]&&!rl(u,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?wd(r,i,u):!0:!!i;return!1}function wd(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!rl(n,o))return!0}return!1}function m1({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 p1="components";function af(e,t){return _1(p1,e,!0,t)||e}const g1=Symbol.for("v-ndc");function _1(e,t,n=!0,r=!1){const s=kt||_t;if(s){const o=s.type;{const a=u0(o,!1);if(a&&(a===t||a===yn(t)||a===el(yn(t))))return o}const i=Ad(s[e]||o[e],t)||Ad(s.appContext[e],t);return!i&&r?o:i}}function Ad(e,t){return e&&(e[t]||e[yn(t)]||e[el(yn(t))])}const v1=e=>e.__isSuspense;function b1(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):l1(e)}function al(e,t,n=_t,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Ur();const a=mi(n),l=bn(t,n,e,i);return a(),Hr(),l});return r?s.unshift(o):s.push(o),o}}const sr=e=>(t,n=_t)=>{(!ll||e==="sp")&&al(e,(...r)=>t(...r),n)},lf=sr("bm"),or=sr("m"),y1=sr("bu"),E1=sr("u"),Eg=sr("bum"),co=sr("um"),w1=sr("sp"),A1=sr("rtg"),T1=sr("rtc");function S1(e,t=_t){al("ec",e,t)}function et(e,t){if(kt===null)return e;const n=cl(kt),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=ze]=t[s];o&&(Ae(o)&&(o={mounted:o,updated:o}),o.deep&&Er(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Kr(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Ur(),bn(l,n,8,[e.el,a,e,t]),Hr())}}function Kt(e,t,n,r){let s;const o=n;if(de(e)||pt(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o)}else if(qe(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const u=i[a];s[a]=t(e[u],u,a,o)}}else s=[];return s}/*! #__NO_SIDE_EFFECTS__ */function Re(e,t){return Ae(e)?mt({name:e.name},t,{setup:e}):e}const aa=e=>!!e.type.__asyncLoader,Fc=e=>e?Ug(e)?cl(e):Fc(e.parent):null,Ro=mt(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=>Fc(e.parent),$root:e=>Fc(e.root),$emit:e=>e.emit,$options:e=>cf(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,of(e.update)}),$nextTick:e=>e.n||(e.n=kr.bind(e.proxy)),$watch:e=>K1.bind(e)}),jl=(e,t)=>e!==ze&&!e.__isScriptSetup&&Pe(e,t),C1={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(jl(r,t))return i[t]=1,r[t];if(s!==ze&&Pe(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&Pe(u,t))return i[t]=3,o[t];if(n!==ze&&Pe(n,t))return i[t]=4,n[t];Vc&&(i[t]=0)}}const c=Ro[t];let f,d;if(c)return t==="$attrs"&&Ut(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ze&&Pe(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Pe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return jl(s,t)?(s[t]=n,!0):r!==ze&&Pe(r,t)?(r[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==ze&&Pe(e,i)||jl(t,i)||(a=o[0])&&Pe(a,i)||Pe(r,i)||Pe(Ro,i)||Pe(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Na(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Qn(e,t){return!e||!t?e||t:de(e)&&de(t)?e.concat(t):mt({},Na(e),Na(t))}let Vc=!0;function O1(e){const t=cf(e),n=e.proxy,r=e.ctx;Vc=!1,t.beforeCreate&&Td(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:g,deactivated:v,beforeDestroy:y,beforeUnmount:S,destroyed:E,unmounted:A,render:x,renderTracked:O,renderTriggered:k,errorCaptured:P,serverPrefetch:$,expose:V,inheritAttrs:Y,components:q,directives:le,filters:Ie}=t;if(u&&x1(u,r,null),i)for(const fe in i){const ve=i[fe];Ae(ve)&&(r[fe]=ve.bind(n))}if(s){const fe=s.call(n,n);qe(fe)&&(e.data=rr(fe))}if(Vc=!0,o)for(const fe in o){const ve=o[fe],je=Ae(ve)?ve.bind(n,n):Ae(ve.get)?ve.get.bind(n,n):rn,Ee=!Ae(ve)&&Ae(ve.set)?ve.set.bind(n):rn,$e=oe({get:je,set:Ee});Object.defineProperty(r,fe,{enumerable:!0,configurable:!0,get:()=>$e.value,set:xe=>$e.value=xe})}if(a)for(const fe in a)wg(a[fe],r,n,fe);if(l){const fe=Ae(l)?l.call(n):l;Reflect.ownKeys(fe).forEach(ve=>{on(ve,fe[ve])})}c&&Td(c,e,"c");function ie(fe,ve){de(ve)?ve.forEach(je=>fe(je.bind(n))):ve&&fe(ve.bind(n))}if(ie(lf,f),ie(or,d),ie(y1,h),ie(E1,m),ie(q1,g),ie(G1,v),ie(S1,P),ie(T1,O),ie(A1,k),ie(Eg,S),ie(co,A),ie(w1,$),de(V))if(V.length){const fe=e.exposed||(e.exposed={});V.forEach(ve=>{Object.defineProperty(fe,ve,{get:()=>n[ve],set:je=>n[ve]=je})})}else e.exposed||(e.exposed={});x&&e.render===rn&&(e.render=x),Y!=null&&(e.inheritAttrs=Y),q&&(e.components=q),le&&(e.directives=le)}function x1(e,t,n=rn){de(e)&&(e=Uc(e));for(const r in e){const s=e[r];let o;qe(s)?"default"in s?o=tt(s.from||r,s.default,!0):o=tt(s.from||r):o=tt(s),Ke(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Td(e,t,n){bn(de(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wg(e,t,n,r){const s=r.includes(".")?Pg(n,r):()=>n[r];if(pt(e)){const o=t[e];Ae(o)&&Et(s,o)}else if(Ae(e))Et(s,e.bind(n));else if(qe(e))if(de(e))e.forEach(o=>wg(o,t,n,r));else{const o=Ae(e.handler)?e.handler.bind(n):t[e.handler];Ae(o)&&Et(s,o,e)}}function cf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>ka(l,u,i,!0)),ka(l,t,i)),qe(t)&&o.set(t,l),l}function ka(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ka(e,o,n,!0),s&&s.forEach(i=>ka(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=N1[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const N1={data:Sd,props:Cd,emits:Cd,methods:Oo,computed:Oo,beforeCreate:Ct,created:Ct,beforeMount:Ct,mounted:Ct,beforeUpdate:Ct,updated:Ct,beforeDestroy:Ct,beforeUnmount:Ct,destroyed:Ct,unmounted:Ct,activated:Ct,deactivated:Ct,errorCaptured:Ct,serverPrefetch:Ct,components:Oo,directives:Oo,watch:I1,provide:Sd,inject:k1};function Sd(e,t){return t?e?function(){return mt(Ae(e)?e.call(this,this):e,Ae(t)?t.call(this,this):t)}:t:e}function k1(e,t){return Oo(Uc(e),Uc(t))}function Uc(e){if(de(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ct(e,t){return e?[...new Set([].concat(e,t))]:t}function Oo(e,t){return e?mt(Object.create(null),e,t):t}function Cd(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:mt(Object.create(null),Na(e),Na(t??{})):t}function I1(e,t){if(!e)return t;if(!t)return e;const n=mt(Object.create(null),e);for(const r in t)n[r]=Ct(e[r],t[r]);return n}function Ag(){return{app:null,config:{isNativeTag:vy,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let $1=0;function L1(e,t){return function(r,s=null){Ae(r)||(r=mt({},r)),s!=null&&!qe(s)&&(s=null);const o=Ag(),i=new WeakSet;let a=!1;const l=o.app={_uid:$1++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:d0,get config(){return o.config},set config(u){},use(u,...c){return i.has(u)||(u&&Ae(u.install)?(i.add(u),u.install(l,...c)):Ae(u)&&(i.add(u),u(l,...c))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,c){return c?(o.components[u]=c,l):o.components[u]},directive(u,c){return c?(o.directives[u]=c,l):o.directives[u]},mount(u,c,f){if(!a){const d=re(r,s);return d.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),c&&t?t(d,u):e(d,u,f),a=!0,l._container=u,u.__vue_app__=l,cl(d.component)}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return o.provides[u]=c,l},runWithContext(u){const c=Hs;Hs=l;try{return u()}finally{Hs=c}}};return l}}let Hs=null;function on(e,t){if(_t){let n=_t.provides;const r=_t.parent&&_t.parent.provides;r===n&&(n=_t.provides=Object.create(r)),n[e]=t}}function tt(e,t,n=!1){const r=_t||kt;if(r||Hs){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Hs._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Ae(t)?t.call(r&&r.proxy):t}}function P1(){return!!(_t||kt||Hs)}const Tg={},Sg=()=>Object.create(Tg),Cg=e=>Object.getPrototypeOf(e)===Tg;function R1(e,t,n,r=!1){const s={},o=Sg();e.propsDefaults=Object.create(null),Og(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:cg(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function D1(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=De(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(rl(e.emitsOptions,d))continue;const h=t[d];if(l)if(Pe(o,d))h!==o[d]&&(o[d]=h,u=!0);else{const m=yn(d);s[m]=Hc(l,a,m,h,e,!1)}else h!==o[d]&&(o[d]=h,u=!0)}}}else{Og(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!Pe(t,f)&&((c=Vr(f))===f||!Pe(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Hc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!Pe(t,f))&&(delete o[f],u=!0)}u&&zn(e.attrs,"set","")}function Og(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Lo(l))continue;const u=t[l];let c;s&&Pe(s,c=yn(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:rl(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=De(n),u=a||ze;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Hc(s,l,f,u[f],e,!Pe(u,f))}}return i}function Hc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Pe(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Ae(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=mi(s);r=u[n]=l.call(null,t),c()}}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Vr(n))&&(r=!0))}return r}function xg(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!Ae(e)){const c=f=>{l=!0;const[d,h]=xg(f,t,!0);mt(i,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&&!l)return qe(e)&&r.set(e,Fs),Fs;if(de(o))for(let c=0;c<o.length;c++){const f=yn(o[c]);Od(f)&&(i[f]=ze)}else if(o)for(const c in o){const f=yn(c);if(Od(f)){const d=o[c],h=i[f]=de(d)||Ae(d)?{type:d}:mt({},d);if(h){const m=kd(Boolean,h.type),g=kd(String,h.type);h[0]=m>-1,h[1]=g<0||m<g,(m>-1||Pe(h,"default"))&&a.push(f)}}}const u=[i,a];return qe(e)&&r.set(e,u),u}function Od(e){return e[0]!=="$"&&!Lo(e)}function xd(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Nd(e,t){return xd(e)===xd(t)}function kd(e,t){return de(t)?t.findIndex(n=>Nd(n,e)):Ae(t)&&Nd(t,e)?0:-1}const Ng=e=>e[0]==="_"||e==="$stable",uf=e=>de(e)?e.map(Cn):[Cn(e)],M1=(e,t,n)=>{if(t._n)return t;const r=mn((...s)=>uf(t(...s)),n);return r._c=!1,r},kg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ng(s))continue;const o=e[s];if(Ae(o))t[s]=M1(s,o,r);else if(o!=null){const i=uf(o);t[s]=()=>i}}},Ig=(e,t)=>{const n=uf(t);e.slots.default=()=>n},F1=(e,t)=>{const n=e.slots=Sg();if(e.vnode.shapeFlag&32){const r=t._;r?(mt(n,t),Yp(n,"_",r,!0)):kg(t,n)}else t&&Ig(e,t)},V1=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ze;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(mt(s,t),!n&&a===1&&delete s._):(o=!t.$stable,kg(t,s)),i=t}else t&&(Ig(e,t),i={default:1});if(o)for(const a in s)!Ng(a)&&i[a]==null&&delete s[a]};function jc(e,t,n,r,s=!1){if(de(e)){e.forEach((d,h)=>jc(d,t&&(de(t)?t[h]:t),n,r,s));return}if(aa(r)&&!s)return;const o=r.shapeFlag&4?cl(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ze?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(pt(u)?(c[u]=null,Pe(f,u)&&(f[u]=null)):Ke(u)&&(u.value=null)),Ae(l))Nr(l,a,12,[i,c]);else{const d=pt(l),h=Ke(l);if(d||h){const m=()=>{if(e.f){const g=d?Pe(f,l)?f[l]:c[l]:l.value;s?de(g)&&Wu(g,o):de(g)?g.includes(o)||g.push(o):d?(c[l]=[o],Pe(f,l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else d?(c[l]=i,Pe(f,l)&&(f[l]=i)):h&&(l.value=i,e.k&&(c[e.k]=i))};i?(m.id=-1,Mt(m,n)):m()}}}const Mt=b1;function U1(e){return H1(e)}function H1(e,t){const n=Kp();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=rn,insertStaticContent:m}=e,g=(T,b,I,H=null,M=null,K=null,ee=void 0,_=null,w=!!b.dynamicChildren)=>{if(T===b)return;T&&!Eo(T,b)&&(H=U(T),xe(T,M,K,!0),T=null),b.patchFlag===-2&&(w=!1,b.dynamicChildren=null);const{type:N,ref:F,shapeFlag:Z}=b;switch(N){case hi:v(T,b,I,H);break;case fs:y(T,b,I,H);break;case la:T==null&&S(b,I,H,ee);break;case ke:q(T,b,I,H,M,K,ee,_,w);break;default:Z&1?x(T,b,I,H,M,K,ee,_,w):Z&6?le(T,b,I,H,M,K,ee,_,w):(Z&64||Z&128)&&N.process(T,b,I,H,M,K,ee,_,w,ae)}F!=null&&M&&jc(F,T&&T.ref,K,b||T,!b)},v=(T,b,I,H)=>{if(T==null)r(b.el=a(b.children),I,H);else{const M=b.el=T.el;b.children!==T.children&&u(M,b.children)}},y=(T,b,I,H)=>{T==null?r(b.el=l(b.children||""),I,H):b.el=T.el},S=(T,b,I,H)=>{[T.el,T.anchor]=m(T.children,b,I,H,T.el,T.anchor)},E=({el:T,anchor:b},I,H)=>{let M;for(;T&&T!==b;)M=d(T),r(T,I,H),T=M;r(b,I,H)},A=({el:T,anchor:b})=>{let I;for(;T&&T!==b;)I=d(T),s(T),T=I;s(b)},x=(T,b,I,H,M,K,ee,_,w)=>{b.type==="svg"?ee="svg":b.type==="math"&&(ee="mathml"),T==null?O(b,I,H,M,K,ee,_,w):$(T,b,M,K,ee,_,w)},O=(T,b,I,H,M,K,ee,_)=>{let w,N;const{props:F,shapeFlag:Z,transition:W,dirs:L}=T;if(w=T.el=i(T.type,K,F&&F.is,F),Z&8?c(w,T.children):Z&16&&P(T.children,w,null,H,M,Bl(T,K),ee,_),L&&Kr(T,null,H,"created"),k(w,T,T.scopeId,ee,H),F){for(const ue in F)ue!=="value"&&!Lo(ue)&&o(w,ue,null,F[ue],K,T.children,H,M,Be);"value"in F&&o(w,"value",null,F.value,K),(N=F.onVnodeBeforeMount)&&Sn(N,H,T)}L&&Kr(T,null,H,"beforeMount");const R=j1(M,W);R&&W.beforeEnter(w),r(w,b,I),((N=F&&F.onVnodeMounted)||R||L)&&Mt(()=>{N&&Sn(N,H,T),R&&W.enter(w),L&&Kr(T,null,H,"mounted")},M)},k=(T,b,I,H,M)=>{if(I&&h(T,I),H)for(let K=0;K<H.length;K++)h(T,H[K]);if(M){let K=M.subTree;if(b===K){const ee=M.vnode;k(T,ee,ee.scopeId,ee.slotScopeIds,M.parent)}}},P=(T,b,I,H,M,K,ee,_,w=0)=>{for(let N=w;N<T.length;N++){const F=T[N]=_?_r(T[N]):Cn(T[N]);g(null,F,b,I,H,M,K,ee,_)}},$=(T,b,I,H,M,K,ee)=>{const _=b.el=T.el;let{patchFlag:w,dynamicChildren:N,dirs:F}=b;w|=T.patchFlag&16;const Z=T.props||ze,W=b.props||ze;let L;if(I&&qr(I,!1),(L=W.onVnodeBeforeUpdate)&&Sn(L,I,b,T),F&&Kr(b,T,I,"beforeUpdate"),I&&qr(I,!0),N?V(T.dynamicChildren,N,_,I,H,Bl(b,M),K):ee||ve(T,b,_,null,I,H,Bl(b,M),K,!1),w>0){if(w&16)Y(_,b,Z,W,I,H,M);else if(w&2&&Z.class!==W.class&&o(_,"class",null,W.class,M),w&4&&o(_,"style",Z.style,W.style,M),w&8){const R=b.dynamicProps;for(let ue=0;ue<R.length;ue++){const me=R[ue],We=Z[me],At=W[me];(At!==We||me==="value")&&o(_,me,We,At,M,T.children,I,H,Be)}}w&1&&T.children!==b.children&&c(_,b.children)}else!ee&&N==null&&Y(_,b,Z,W,I,H,M);((L=W.onVnodeUpdated)||F)&&Mt(()=>{L&&Sn(L,I,b,T),F&&Kr(b,T,I,"updated")},H)},V=(T,b,I,H,M,K,ee)=>{for(let _=0;_<b.length;_++){const w=T[_],N=b[_],F=w.el&&(w.type===ke||!Eo(w,N)||w.shapeFlag&70)?f(w.el):I;g(w,N,F,null,H,M,K,ee,!0)}},Y=(T,b,I,H,M,K,ee)=>{if(I!==H){if(I!==ze)for(const _ in I)!Lo(_)&&!(_ in H)&&o(T,_,I[_],null,ee,b.children,M,K,Be);for(const _ in H){if(Lo(_))continue;const w=H[_],N=I[_];w!==N&&_!=="value"&&o(T,_,N,w,ee,b.children,M,K,Be)}"value"in H&&o(T,"value",I.value,H.value,ee)}},q=(T,b,I,H,M,K,ee,_,w)=>{const N=b.el=T?T.el:a(""),F=b.anchor=T?T.anchor:a("");let{patchFlag:Z,dynamicChildren:W,slotScopeIds:L}=b;L&&(_=_?_.concat(L):L),T==null?(r(N,I,H),r(F,I,H),P(b.children||[],I,F,M,K,ee,_,w)):Z>0&&Z&64&&W&&T.dynamicChildren?(V(T.dynamicChildren,W,I,M,K,ee,_),(b.key!=null||M&&b===M.subTree)&&$g(T,b,!0)):ve(T,b,I,F,M,K,ee,_,w)},le=(T,b,I,H,M,K,ee,_,w)=>{b.slotScopeIds=_,T==null?b.shapeFlag&512?M.ctx.activate(b,I,H,ee,w):Ie(b,I,H,M,K,ee,w):Ce(T,b,w)},Ie=(T,b,I,H,M,K,ee)=>{const _=T.component=o0(T,H,M);if(Rg(T)&&(_.ctx.renderer=ae),i0(_),_.asyncDep){if(M&&M.registerDep(_,ie,ee),!T.el){const w=_.subTree=re(fs);y(null,w,b,I)}}else ie(_,T,b,I,M,K,ee)},Ce=(T,b,I)=>{const H=b.component=T.component;if(h1(T,b,I))if(H.asyncDep&&!H.asyncResolved){fe(H,b,I);return}else H.next=b,a1(H.update),H.effect.dirty=!0,H.update();else b.el=T.el,H.vnode=b},ie=(T,b,I,H,M,K,ee)=>{const _=()=>{if(T.isMounted){let{next:F,bu:Z,u:W,parent:L,vnode:R}=T;{const Ht=Lg(T);if(Ht){F&&(F.el=R.el,fe(T,F,ee)),Ht.asyncDep.then(()=>{T.isUnmounted||_()});return}}let ue=F,me;qr(T,!1),F?(F.el=R.el,fe(T,F,ee)):F=R,Z&&ia(Z),(me=F.props&&F.props.onVnodeBeforeUpdate)&&Sn(me,L,F,R),qr(T,!0);const We=Hl(T),At=T.subTree;T.subTree=We,g(At,We,f(At.el),U(At),T,M,K),F.el=We.el,ue===null&&m1(T,We.el),W&&Mt(W,M),(me=F.props&&F.props.onVnodeUpdated)&&Mt(()=>Sn(me,L,F,R),M)}else{let F;const{el:Z,props:W}=b,{bm:L,m:R,parent:ue}=T,me=aa(b);if(qr(T,!1),L&&ia(L),!me&&(F=W&&W.onVnodeBeforeMount)&&Sn(F,ue,b),qr(T,!0),Z&&Me){const We=()=>{T.subTree=Hl(T),Me(Z,T.subTree,T,M,null)};me?b.type.__asyncLoader().then(()=>!T.isUnmounted&&We()):We()}else{const We=T.subTree=Hl(T);g(null,We,I,H,T,M,K),b.el=We.el}if(R&&Mt(R,M),!me&&(F=W&&W.onVnodeMounted)){const We=b;Mt(()=>Sn(F,ue,We),M)}(b.shapeFlag&256||ue&&aa(ue.vnode)&&ue.vnode.shapeFlag&256)&&T.a&&Mt(T.a,M),T.isMounted=!0,b=I=H=null}},w=T.effect=new qu(_,rn,()=>of(N),T.scope),N=T.update=()=>{w.dirty&&w.run()};N.id=T.uid,qr(T,!0),N()},fe=(T,b,I)=>{b.component=T;const H=T.vnode.props;T.vnode=b,T.next=null,D1(T,b.props,H,I),V1(T,b.children,I),Ur(),Ed(T),Hr()},ve=(T,b,I,H,M,K,ee,_,w=!1)=>{const N=T&&T.children,F=T?T.shapeFlag:0,Z=b.children,{patchFlag:W,shapeFlag:L}=b;if(W>0){if(W&128){Ee(N,Z,I,H,M,K,ee,_,w);return}else if(W&256){je(N,Z,I,H,M,K,ee,_,w);return}}L&8?(F&16&&Be(N,M,K),Z!==N&&c(I,Z)):F&16?L&16?Ee(N,Z,I,H,M,K,ee,_,w):Be(N,M,K,!0):(F&8&&c(I,""),L&16&&P(Z,I,H,M,K,ee,_,w))},je=(T,b,I,H,M,K,ee,_,w)=>{T=T||Fs,b=b||Fs;const N=T.length,F=b.length,Z=Math.min(N,F);let W;for(W=0;W<Z;W++){const L=b[W]=w?_r(b[W]):Cn(b[W]);g(T[W],L,I,null,M,K,ee,_,w)}N>F?Be(T,M,K,!0,!1,Z):P(b,I,H,M,K,ee,_,w,Z)},Ee=(T,b,I,H,M,K,ee,_,w)=>{let N=0;const F=b.length;let Z=T.length-1,W=F-1;for(;N<=Z&&N<=W;){const L=T[N],R=b[N]=w?_r(b[N]):Cn(b[N]);if(Eo(L,R))g(L,R,I,null,M,K,ee,_,w);else break;N++}for(;N<=Z&&N<=W;){const L=T[Z],R=b[W]=w?_r(b[W]):Cn(b[W]);if(Eo(L,R))g(L,R,I,null,M,K,ee,_,w);else break;Z--,W--}if(N>Z){if(N<=W){const L=W+1,R=L<F?b[L].el:H;for(;N<=W;)g(null,b[N]=w?_r(b[N]):Cn(b[N]),I,R,M,K,ee,_,w),N++}}else if(N>W)for(;N<=Z;)xe(T[N],M,K,!0),N++;else{const L=N,R=N,ue=new Map;for(N=R;N<=W;N++){const jt=b[N]=w?_r(b[N]):Cn(b[N]);jt.key!=null&&ue.set(jt.key,N)}let me,We=0;const At=W-R+1;let Ht=!1,ki=0;const ys=new Array(At);for(N=0;N<At;N++)ys[N]=0;for(N=L;N<=Z;N++){const jt=T[N];if(We>=At){xe(jt,M,K,!0);continue}let Tn;if(jt.key!=null)Tn=ue.get(jt.key);else for(me=R;me<=W;me++)if(ys[me-R]===0&&Eo(jt,b[me])){Tn=me;break}Tn===void 0?xe(jt,M,K,!0):(ys[Tn-R]=N+1,Tn>=ki?ki=Tn:Ht=!0,g(jt,b[Tn],I,null,M,K,ee,_,w),We++)}const ud=Ht?B1(ys):Fs;for(me=ud.length-1,N=At-1;N>=0;N--){const jt=R+N,Tn=b[jt],fd=jt+1<F?b[jt+1].el:H;ys[N]===0?g(null,Tn,I,fd,M,K,ee,_,w):Ht&&(me<0||N!==ud[me]?$e(Tn,I,fd,2):me--)}}},$e=(T,b,I,H,M=null)=>{const{el:K,type:ee,transition:_,children:w,shapeFlag:N}=T;if(N&6){$e(T.component.subTree,b,I,H);return}if(N&128){T.suspense.move(b,I,H);return}if(N&64){ee.move(T,b,I,ae);return}if(ee===ke){r(K,b,I);for(let Z=0;Z<w.length;Z++)$e(w[Z],b,I,H);r(T.anchor,b,I);return}if(ee===la){E(T,b,I);return}if(H!==2&&N&1&&_)if(H===0)_.beforeEnter(K),r(K,b,I),Mt(()=>_.enter(K),M);else{const{leave:Z,delayLeave:W,afterLeave:L}=_,R=()=>r(K,b,I),ue=()=>{Z(K,()=>{R(),L&&L()})};W?W(K,R,ue):ue()}else r(K,b,I)},xe=(T,b,I,H=!1,M=!1)=>{const{type:K,props:ee,ref:_,children:w,dynamicChildren:N,shapeFlag:F,patchFlag:Z,dirs:W,memoIndex:L}=T;if(_!=null&&jc(_,null,I,T,!0),L!=null&&(b.renderCache[L]=void 0),F&256){b.ctx.deactivate(T);return}const R=F&1&&W,ue=!aa(T);let me;if(ue&&(me=ee&&ee.onVnodeBeforeUnmount)&&Sn(me,b,T),F&6)ut(T.component,I,H);else{if(F&128){T.suspense.unmount(I,H);return}R&&Kr(T,null,b,"beforeUnmount"),F&64?T.type.remove(T,b,I,M,ae,H):N&&(K!==ke||Z>0&&Z&64)?Be(N,b,I,!1,!0):(K===ke&&Z&384||!M&&F&16)&&Be(w,b,I),H&&bt(T)}(ue&&(me=ee&&ee.onVnodeUnmounted)||R)&&Mt(()=>{me&&Sn(me,b,T),R&&Kr(T,null,b,"unmounted")},I)},bt=T=>{const{type:b,el:I,anchor:H,transition:M}=T;if(b===ke){at(I,H);return}if(b===la){A(T);return}const K=()=>{s(I),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(T.shapeFlag&1&&M&&!M.persisted){const{leave:ee,delayLeave:_}=M,w=()=>ee(I,K);_?_(T.el,K,w):w()}else K()},at=(T,b)=>{let I;for(;T!==b;)I=d(T),s(T),T=I;s(b)},ut=(T,b,I)=>{const{bum:H,scope:M,update:K,subTree:ee,um:_,m:w,a:N}=T;Id(w),Id(N),H&&ia(H),M.stop(),K&&(K.active=!1,xe(ee,T,b,I)),_&&Mt(_,b),Mt(()=>{T.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Be=(T,b,I,H=!1,M=!1,K=0)=>{for(let ee=K;ee<T.length;ee++)xe(T[ee],b,I,H,M)},U=T=>T.shapeFlag&6?U(T.component.subTree):T.shapeFlag&128?T.suspense.next():d(T.anchor||T.el);let J=!1;const X=(T,b,I)=>{T==null?b._vnode&&xe(b._vnode,null,null,!0):g(b._vnode||null,T,b,null,null,null,I),J||(J=!0,Ed(),vg(),J=!1),b._vnode=T},ae={p:g,um:xe,m:$e,r:bt,mt:Ie,mc:P,pc:ve,pbc:V,n:U,o:e};let Te,Me;return{render:X,hydrate:Te,createApp:L1(X,Te)}}function Bl({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 qr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function j1(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $g(e,t,n=!1){const r=e.children,s=t.children;if(de(r)&&de(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=_r(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&$g(i,a)),a.type===hi&&(a.el=i.el)}}function B1(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Lg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Lg(t)}function Id(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const W1=Symbol.for("v-scx"),z1=()=>tt(W1);function Y1(e,t){return ff(e,null,{flush:"sync"})}const Di={};function Et(e,t,n){return ff(e,t,n)}function ff(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:a}=ze){if(t&&o){const O=t;t=(...k)=>{O(...k),x()}}const l=_t,u=O=>r===!0?O:Er(O,r===!1?1:void 0);let c,f=!1,d=!1;if(Ke(e)?(c=()=>e.value,f=Oa(e)):xr(e)?(c=()=>u(e),f=!0):de(e)?(d=!0,f=e.some(O=>xr(O)||Oa(O)),c=()=>e.map(O=>{if(Ke(O))return O.value;if(xr(O))return u(O);if(Ae(O))return Nr(O,l,2)})):Ae(e)?t?c=()=>Nr(e,l,2):c=()=>(h&&h(),bn(e,l,3,[m])):c=rn,t&&r){const O=c;c=()=>Er(O())}let h,m=O=>{h=E.onStop=()=>{Nr(O,l,4),h=E.onStop=void 0}},g;if(ll)if(m=rn,t?n&&bn(t,l,3,[c(),d?[]:void 0,m]):c(),s==="sync"){const O=z1();g=O.__watcherHandles||(O.__watcherHandles=[])}else return rn;let v=d?new Array(e.length).fill(Di):Di;const y=()=>{if(!(!E.active||!E.dirty))if(t){const O=E.run();(r||f||(d?O.some((k,P)=>Ln(k,v[P])):Ln(O,v)))&&(h&&h(),bn(t,l,3,[O,v===Di?void 0:d&&v[0]===Di?[]:v,m]),v=O)}else E.run()};y.allowRecurse=!!t;let S;s==="sync"?S=y:s==="post"?S=()=>Mt(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),S=()=>of(y));const E=new qu(c,rn,S),A=Qp(),x=()=>{E.stop(),A&&Wu(A.effects,E)};return t?n?y():v=E.run():s==="post"?Mt(E.run.bind(E),l&&l.suspense):E.run(),g&&g.push(x),x}function K1(e,t,n){const r=this.proxy,s=pt(e)?e.includes(".")?Pg(r,e):()=>r[e]:e.bind(r,r);let o;Ae(t)?o=t:(o=t.handler,n=t);const i=mi(this),a=ff(s,o.bind(r),n);return i(),a}function Pg(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Er(e,t=1/0,n){if(t<=0||!qe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ke(e))Er(e.value,t,n);else if(de(e))for(let r=0;r<e.length;r++)Er(e[r],t,n);else if(lo(e)||Vs(e))e.forEach(r=>{Er(r,t,n)});else if(zp(e)){for(const r in e)Er(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Er(e[r],t,n)}return e}const Rg=e=>e.type.__isKeepAlive;function q1(e,t){Dg(e,"a",t)}function G1(e,t){Dg(e,"da",t)}function Dg(e,t,n=_t){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(al(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Rg(s.parent.vnode)&&X1(r,t,n,s),s=s.parent}}function X1(e,t,n,r){const s=al(t,e,r,!0);co(()=>{Wu(r[t],s)},n)}function Mg(e,t){e.shapeFlag&6&&e.component?Mg(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}const Q1=e=>e.__isTeleport,ke=Symbol.for("v-fgt"),hi=Symbol.for("v-txt"),fs=Symbol.for("v-cmt"),la=Symbol.for("v-stc"),Do=[];let gn=null;function B(e=!1){Do.push(gn=e?null:[])}function J1(){Do.pop(),gn=Do[Do.length-1]||null}let Jo=1;function $d(e){Jo+=e}function Fg(e){return e.dynamicChildren=Jo>0?gn||Fs:null,J1(),Jo>0&&gn&&gn.push(e),e}function G(e,t,n,r,s,o){return Fg(p(e,t,n,r,s,o,!0))}function it(e,t,n,r,s){return Fg(re(e,t,n,r,s,!0))}function Bc(e){return e?e.__v_isVNode===!0:!1}function Eo(e,t){return e.type===t.type&&e.key===t.key}const Vg=({key:e})=>e??null,ca=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pt(e)||Ke(e)||Ae(e)?{i:kt,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,r=0,s=null,o=e===ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vg(t),ref:t&&ca(t),scopeId:sl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:kt};return a?(df(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=pt(n)?8:16),Jo>0&&!i&&gn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&gn.push(l),l}const re=Z1;function Z1(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===g1)&&(e=fs),Bc(e)){const a=Ks(e,t,!0);return n&&df(a,n),Jo>0&&!o&&gn&&(a.shapeFlag&6?gn[gn.indexOf(e)]=a:gn.push(a)),a.patchFlag=-2,a}if(f0(e)&&(e=e.__vccOpts),t){t=e0(t);let{class:a,style:l}=t;a&&!pt(a)&&(t.class=It(a)),qe(l)&&(fg(l)&&!de(l)&&(l=mt({},l)),t.style=sn(l))}const i=pt(e)?1:v1(e)?128:Q1(e)?64:qe(e)?4:Ae(e)?2:0;return p(e,t,n,r,s,i,o,!0)}function e0(e){return e?fg(e)||Cg(e)?mt({},e):e:null}function Ks(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?n0(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Vg(u),ref:t&&t.ref?n&&o?de(o)?o.concat(ca(t)):[o,ca(t)]:ca(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ks(e.ssContent),ssFallback:e.ssFallback&&Ks(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Mg(c,l.clone(c)),c}function Ne(e=" ",t=0){return re(hi,null,e,t)}function t0(e,t){const n=re(la,null,e);return n.staticCount=t,n}function st(e="",t=!1){return t?(B(),it(fs,null,e)):re(fs,null,e)}function Cn(e){return e==null||typeof e=="boolean"?re(fs):de(e)?re(ke,null,e.slice()):typeof e=="object"?_r(e):re(hi,null,String(e))}function _r(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ks(e)}function df(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),df(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Cg(t)?t._ctx=kt:s===3&&kt&&(kt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ae(t)?(t={default:t,_ctx:kt},n=32):(t=String(t),r&64?(n=16,t=[Ne(t)]):n=8);e.children=t,e.shapeFlag|=n}function n0(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=It([t.class,r.class]));else if(s==="style")t.style=sn([t.style,r.style]);else if(Ja(s)){const o=t[s],i=r[s];i&&o!==i&&!(de(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Sn(e,t,n,r=null){bn(e,t,7,[n,r])}const r0=Ag();let s0=0;function o0(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||r0,o={uid:s0++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Xp(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xg(r,s),emitsOptions:yg(r,s),emit:null,emitted:null,propsDefaults:ze,inheritAttrs:r.inheritAttrs,ctx:ze,data:ze,props:ze,attrs:ze,slots:ze,refs:ze,setupState:ze,setupContext:null,attrsProxy:null,slotsProxy: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=u1.bind(null,o),e.ce&&e.ce(o),o}let _t=null;const Pn=()=>_t||kt;let Ia,Wc;{const e=Kp(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Ia=t("__VUE_INSTANCE_SETTERS__",n=>_t=n),Wc=t("__VUE_SSR_SETTERS__",n=>ll=n)}const mi=e=>{const t=_t;return Ia(e),e.scope.on(),()=>{e.scope.off(),Ia(t)}},Ld=()=>{_t&&_t.scope.off(),Ia(null)};function Ug(e){return e.vnode.shapeFlag&4}let ll=!1;function i0(e,t=!1){t&&Wc(t);const{props:n,children:r}=e.vnode,s=Ug(e);R1(e,n,s,t),F1(e,r);const o=s?a0(e,t):void 0;return t&&Wc(!1),o}function a0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,C1);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?c0(e):null,o=mi(e);Ur();const i=Nr(r,e,0,[e.props,s]);if(Hr(),o(),Bp(i)){if(i.then(Ld,Ld),t)return i.then(a=>{Pd(e,a,t)}).catch(a=>{nl(a,e,0)});e.asyncDep=i}else Pd(e,i,t)}else Hg(e,t)}function Pd(e,t,n){Ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:qe(t)&&(e.setupState=mg(t)),Hg(e,n)}let Rd;function Hg(e,t,n){const r=e.type;if(!e.render){if(!t&&Rd&&!r.render){const s=r.template||cf(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=mt(mt({isCustomElement:o,delimiters:a},i),l);r.render=Rd(s,u)}}e.render=r.render||rn}{const s=mi(e);Ur();try{O1(e)}finally{Hr(),s()}}}const l0={get(e,t){return Ut(e,"get",""),e[t]}};function c0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,l0),slots:e.slots,emit:e.emit,expose:t}}function cl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mg(ef(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ro)return Ro[n](e)},has(t,n){return n in t||n in Ro}})):e.proxy}function u0(e,t=!0){return Ae(e)?e.displayName||e.name:e.name||t&&e.__name}function f0(e){return Ae(e)&&"__vccOpts"in e}const oe=(e,t)=>Jy(e,t,ll);function pi(e,t,n=ze){const r=Pn(),s=yn(t),o=Vr(t),i=n1((l,u)=>{let c;return Y1(()=>{const f=e[t];Ln(c,f)&&(c=f,u())}),{get(){return l(),n.get?n.get(c):c},set(f){const d=r.vnode.props;!(d&&(t in d||s in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${s}`in d||`onUpdate:${o}`in d))&&Ln(f,c)&&(c=f,u()),r.emit(`update:${t}`,n.set?n.set(f):f)}}}),a="modelModifiers";return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function uo(e,t,n){const r=arguments.length;return r===2?qe(t)&&!de(t)?Bc(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Bc(n)&&(n=[n]),re(e,t,n))}const d0="3.4.29";/**
|
||
* @vue/runtime-dom v3.4.29
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const h0="http://www.w3.org/2000/svg",m0="http://www.w3.org/1998/Math/MathML",Hn=typeof document<"u"?document:null,Dd=Hn&&Hn.createElement("template"),p0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Hn.createElementNS(h0,e):t==="mathml"?Hn.createElementNS(m0,e):n?Hn.createElement(e,{is:n}):Hn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Hn.createTextNode(e),createComment:e=>Hn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Dd.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Dd.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},g0=Symbol("_vtc");function _0(e,t,n){const r=e[g0];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Md=Symbol("_vod"),v0=Symbol("_vsh"),b0=Symbol(""),y0=/(^|;)\s*display\s*:/;function E0(e,t,n){const r=e.style,s=pt(n);let o=!1;if(n&&!s){if(t)if(pt(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&ua(r,a,"")}else for(const i in t)n[i]==null&&ua(r,i,"");for(const i in n)i==="display"&&(o=!0),ua(r,i,n[i])}else if(s){if(t!==n){const i=r[b0];i&&(n+=";"+i),r.cssText=n,o=y0.test(n)}}else t&&e.removeAttribute("style");Md in e&&(e[Md]=o?r.display:"",e[v0]&&(r.display="none"))}const Fd=/\s*!important$/;function ua(e,t,n){if(de(n))n.forEach(r=>ua(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=w0(e,t);Fd.test(n)?e.setProperty(Vr(r),n.replace(Fd,""),"important"):e[r]=n}}const Vd=["Webkit","Moz","ms"],Wl={};function w0(e,t){const n=Wl[t];if(n)return n;let r=yn(t);if(r!=="filter"&&r in e)return Wl[t]=r;r=el(r);for(let s=0;s<Vd.length;s++){const o=Vd[s]+r;if(o in e)return Wl[t]=o}return t}const Ud="http://www.w3.org/1999/xlink";function Hd(e,t,n,r,s,o=xy(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ud,t.slice(6,t.length)):e.setAttributeNS(Ud,t,n):n==null||o&&!qp(n)?e.removeAttribute(t):e.setAttribute(t,o?"":String(n))}function A0(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const u=a==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?"":String(n);(u!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=qp(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function wr(e,t,n,r){e.addEventListener(t,n,r)}function T0(e,t,n,r){e.removeEventListener(t,n,r)}const jd=Symbol("_vei");function S0(e,t,n,r,s=null){const o=e[jd]||(e[jd]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=C0(t);if(r){const u=o[t]=N0(r,s);wr(e,a,u,l)}else i&&(T0(e,a,i,l),o[t]=void 0)}}const Bd=/(?:Once|Passive|Capture)$/;function C0(e){let t;if(Bd.test(e)){t={};let r;for(;r=e.match(Bd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vr(e.slice(2)),t]}let zl=0;const O0=Promise.resolve(),x0=()=>zl||(O0.then(()=>zl=0),zl=Date.now());function N0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bn(k0(r,n.value),t,5,[r])};return n.value=e,n.attached=x0(),n}function k0(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Wd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,I0=(e,t,n,r,s,o,i,a,l)=>{const u=s==="svg";t==="class"?_0(e,r,u):t==="style"?E0(e,n,r):Ja(t)?Bu(t)||S0(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$0(e,t,r,u))?(A0(e,t,r,o,i,a,l),(t==="value"||t==="checked"||t==="selected")&&Hd(e,t,r,u,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Hd(e,t,r,u))};function $0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Wd(t)&&Ae(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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Wd(t)&&pt(n)?!1:t in e}const qs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>ia(t,n):t};function L0(e){e.target.composing=!0}function zd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Yn=Symbol("_assign"),dt={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Yn]=qs(s);const o=r||s.props&&s.props.type==="number";wr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Sa(a)),e[Yn](a)}),n&&wr(e,"change",()=>{e.value=e.value.trim()}),t||(wr(e,"compositionstart",L0),wr(e,"compositionend",zd),wr(e,"change",zd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Yn]=qs(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Sa(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},P0={deep:!0,created(e,t,n){e[Yn]=qs(n),wr(e,"change",()=>{const r=e._modelValue,s=Zo(e),o=e.checked,i=e[Yn];if(de(r)){const a=Yu(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const u=[...r];u.splice(a,1),i(u)}}else if(lo(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(jg(e,o))})},mounted:Yd,beforeUpdate(e,t,n){e[Yn]=qs(n),Yd(e,t,n)}};function Yd(e,{value:t,oldValue:n},r){e._modelValue=t,de(t)?e.checked=Yu(t,r.props.value)>-1:lo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=di(t,jg(e,!0)))}const zc={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=lo(t);wr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Sa(Zo(i)):Zo(i));e[Yn](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,kr(()=>{e._assigning=!1})}),e[Yn]=qs(r)},mounted(e,{value:t,modifiers:{number:n}}){Kd(e,t)},beforeUpdate(e,t,n){e[Yn]=qs(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Kd(e,t)}};function Kd(e,t,n){const r=e.multiple,s=de(t);if(!(r&&!s&&!lo(t))){for(let o=0,i=e.options.length;o<i;o++){const a=e.options[o],l=Zo(a);if(r)if(s){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(c=>String(c)===String(l)):a.selected=Yu(t,l)>-1}else a.selected=t.has(l);else if(di(Zo(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Zo(e){return"_value"in e?e._value:e.value}function jg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const R0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ls=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Vr(s.key);if(t.some(i=>i===o||R0[i]===o))return e(s)})},D0=mt({patchProp:I0},p0);let qd;function M0(){return qd||(qd=U1(D0))}const F0=(...e)=>{const t=M0().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=U0(r);if(!s)return;const o=t._component;!Ae(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,V0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function V0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function U0(e){return pt(e)?document.querySelector(e):e}var H0=!1;/*!
|
||
* pinia v2.1.7
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let Bg;const ul=e=>Bg=e,Wg=Symbol();function Yc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Mo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Mo||(Mo={}));function j0(){const e=Ku(!0),t=e.run(()=>te({}));let n=[],r=[];const s=ef({install(o){ul(s),s._a=o,o.provide(Wg,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!H0?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const zg=()=>{};function Gd(e,t,n,r=zg){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Qp()&&Iy(s),s}function Es(e,...t){e.slice().forEach(n=>{n(...t)})}const B0=e=>e();function Kc(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Yc(s)&&Yc(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!xr(r)?e[n]=Kc(s,r):e[n]=r}return e}const W0=Symbol();function z0(e){return!Yc(e)||!e.hasOwnProperty(W0)}const{assign:pr}=Object;function Y0(e){return!!(Ke(e)&&e.effect)}function K0(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=s?s():{});const c=pg(n.state.value[e]);return pr(c,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=ef(oe(()=>{ul(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return l=Yg(e,u,t,n,r,!0),l}function Yg(e,t,n={},r,s,o){let i;const a=pr({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],h;const m=r.state.value[e];!o&&!m&&(r.state.value[e]={}),te({});let g;function v(P){let $;u=c=!1,typeof P=="function"?(P(r.state.value[e]),$={type:Mo.patchFunction,storeId:e,events:h}):(Kc(r.state.value[e],P),$={type:Mo.patchObject,payload:P,storeId:e,events:h});const V=g=Symbol();kr().then(()=>{g===V&&(u=!0)}),c=!0,Es(f,$,r.state.value[e])}const y=o?function(){const{state:$}=n,V=$?$():{};this.$patch(Y=>{pr(Y,V)})}:zg;function S(){i.stop(),f=[],d=[],r._s.delete(e)}function E(P,$){return function(){ul(r);const V=Array.from(arguments),Y=[],q=[];function le(ie){Y.push(ie)}function Ie(ie){q.push(ie)}Es(d,{args:V,name:P,store:x,after:le,onError:Ie});let Ce;try{Ce=$.apply(this&&this.$id===e?this:x,V)}catch(ie){throw Es(q,ie),ie}return Ce instanceof Promise?Ce.then(ie=>(Es(Y,ie),ie)).catch(ie=>(Es(q,ie),Promise.reject(ie))):(Es(Y,Ce),Ce)}}const A={_p:r,$id:e,$onAction:Gd.bind(null,d),$patch:v,$reset:y,$subscribe(P,$={}){const V=Gd(f,P,$.detached,()=>Y()),Y=i.run(()=>Et(()=>r.state.value[e],q=>{($.flush==="sync"?c:u)&&P({storeId:e,type:Mo.direct,events:h},q)},pr({},l,$)));return V},$dispose:S},x=rr(A);r._s.set(e,x);const k=(r._a&&r._a.runWithContext||B0)(()=>r._e.run(()=>(i=Ku()).run(t)));for(const P in k){const $=k[P];if(Ke($)&&!Y0($)||xr($))o||(m&&z0($)&&(Ke($)?$.value=m[P]:Kc($,m[P])),r.state.value[e][P]=$);else if(typeof $=="function"){const V=E(P,$);k[P]=V,a.actions[P]=$}}return pr(x,k),pr(De(x),k),Object.defineProperty(x,"$state",{get:()=>r.state.value[e],set:P=>{v($=>{pr($,P)})}}),r._p.forEach(P=>{pr(x,i.run(()=>P({store:x,app:r._a,pinia:r,options:a})))}),m&&o&&n.hydrate&&n.hydrate(x.$state,m),u=!0,c=!0,x}function Kg(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(a,l){const u=P1();return a=a||(u?tt(Wg,null):null),a&&ul(a),a=Bg,a._s.has(r)||(o?Yg(r,t,s,a):K0(r,s,a)),a._s.get(r)}return i.$id=r,i}/*!
|
||
* shared v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const $a=typeof window<"u",jr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),q0=(e,t,n)=>G0({l:e,k:t,s:n}),G0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ft=e=>typeof e=="number"&&isFinite(e),X0=e=>Gg(e)==="[object Date]",Ir=e=>Gg(e)==="[object RegExp]",fl=e=>be(e)&&Object.keys(e).length===0,wt=Object.assign;let Xd;const jn=()=>Xd||(Xd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qd(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Q0=Object.prototype.hasOwnProperty;function La(e,t){return Q0.call(e,t)}const Xe=Array.isArray,Ye=e=>typeof e=="function",ne=e=>typeof e=="string",Oe=e=>typeof e=="boolean",Ue=e=>e!==null&&typeof e=="object",J0=e=>Ue(e)&&Ye(e.then)&&Ye(e.catch),qg=Object.prototype.toString,Gg=e=>qg.call(e),be=e=>{if(!Ue(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Z0=e=>e==null?"":Xe(e)||be(e)&&e.toString===qg?JSON.stringify(e,null,2):String(e);function eE(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function dl(e){let t=e;return()=>++t}function tE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Mi=e=>!Ue(e)||Xe(e);function fa(e,t){if(Mi(e)||Mi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{Mi(r[o])||Mi(s[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]})})}}/*!
|
||
* message-compiler v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function nE(e,t,n){return{line:e,column:t,offset:n}}function Pa(e,t,n){return{start:e,end:t}}const rE=/\{([0-9a-zA-Z]+)\}/g;function Xg(e,...t){return t.length===1&&sE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(rE,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Qg=Object.assign,Jd=e=>typeof e=="string",sE=e=>e!==null&&typeof e=="object";function Jg(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const hf={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},oE={[hf.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function iE(e,t,...n){const r=Xg(oE[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const pe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},aE={[pe.EXPECTED_TOKEN]:"Expected token: '{0}'",[pe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[pe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[pe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[pe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[pe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[pe.EMPTY_PLACEHOLDER]:"Empty placeholder",[pe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[pe.INVALID_LINKED_FORMAT]:"Invalid linked format",[pe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[pe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[pe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[pe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[pe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[pe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function fo(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=Xg((s||aE)[e]||"",...o||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function lE(e){throw e}const Fn=" ",cE="\r",xt=`
|
||
`,uE="\u2028",fE="\u2029";function dE(e){const t=e;let n=0,r=1,s=1,o=0;const i=k=>t[k]===cE&&t[k+1]===xt,a=k=>t[k]===xt,l=k=>t[k]===fE,u=k=>t[k]===uE,c=k=>i(k)||a(k)||l(k)||u(k),f=()=>n,d=()=>r,h=()=>s,m=()=>o,g=k=>i(k)||l(k)||u(k)?xt:t[k],v=()=>g(n),y=()=>g(n+o);function S(){return o=0,c(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function E(){return i(n+o)&&o++,o++,t[n+o]}function A(){n=0,r=1,s=1,o=0}function x(k=0){o=k}function O(){const k=n+o;for(;k!==n;)S();o=0}return{index:f,line:d,column:h,peekOffset:m,charAt:g,currentChar:v,currentPeek:y,next:S,peek:E,reset:A,resetPeek:x,skipToPeek:O}}const ur=void 0,hE=".",Zd="'",mE="tokenizer";function pE(e,t={}){const n=t.location!==!1,r=dE(e),s=()=>r.index(),o=()=>nE(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(_,w,N,...F){const Z=u();if(w.column+=N,w.offset+=N,c){const W=n?Pa(Z.startLoc,w):null,L=fo(_,W,{domain:mE,args:F});c(L)}}function d(_,w,N){_.endLoc=o(),_.currentType=w;const F={type:w};return n&&(F.loc=Pa(_.startLoc,_.endLoc)),N!=null&&(F.value=N),F}const h=_=>d(_,14);function m(_,w){return _.currentChar()===w?(_.next(),w):(f(pe.EXPECTED_TOKEN,o(),0,w),"")}function g(_){let w="";for(;_.currentPeek()===Fn||_.currentPeek()===xt;)w+=_.currentPeek(),_.peek();return w}function v(_){const w=g(_);return _.skipToPeek(),w}function y(_){if(_===ur)return!1;const w=_.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w===95}function S(_){if(_===ur)return!1;const w=_.charCodeAt(0);return w>=48&&w<=57}function E(_,w){const{currentType:N}=w;if(N!==2)return!1;g(_);const F=y(_.currentPeek());return _.resetPeek(),F}function A(_,w){const{currentType:N}=w;if(N!==2)return!1;g(_);const F=_.currentPeek()==="-"?_.peek():_.currentPeek(),Z=S(F);return _.resetPeek(),Z}function x(_,w){const{currentType:N}=w;if(N!==2)return!1;g(_);const F=_.currentPeek()===Zd;return _.resetPeek(),F}function O(_,w){const{currentType:N}=w;if(N!==8)return!1;g(_);const F=_.currentPeek()===".";return _.resetPeek(),F}function k(_,w){const{currentType:N}=w;if(N!==9)return!1;g(_);const F=y(_.currentPeek());return _.resetPeek(),F}function P(_,w){const{currentType:N}=w;if(!(N===8||N===12))return!1;g(_);const F=_.currentPeek()===":";return _.resetPeek(),F}function $(_,w){const{currentType:N}=w;if(N!==10)return!1;const F=()=>{const W=_.currentPeek();return W==="{"?y(_.peek()):W==="@"||W==="%"||W==="|"||W===":"||W==="."||W===Fn||!W?!1:W===xt?(_.peek(),F()):q(_,!1)},Z=F();return _.resetPeek(),Z}function V(_){g(_);const w=_.currentPeek()==="|";return _.resetPeek(),w}function Y(_){const w=g(_),N=_.currentPeek()==="%"&&_.peek()==="{";return _.resetPeek(),{isModulo:N,hasSpace:w.length>0}}function q(_,w=!0){const N=(Z=!1,W="",L=!1)=>{const R=_.currentPeek();return R==="{"?W==="%"?!1:Z:R==="@"||!R?W==="%"?!0:Z:R==="%"?(_.peek(),N(Z,"%",!0)):R==="|"?W==="%"||L?!0:!(W===Fn||W===xt):R===Fn?(_.peek(),N(!0,Fn,L)):R===xt?(_.peek(),N(!0,xt,L)):!0},F=N();return w&&_.resetPeek(),F}function le(_,w){const N=_.currentChar();return N===ur?ur:w(N)?(_.next(),N):null}function Ie(_){const w=_.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36}function Ce(_){return le(_,Ie)}function ie(_){const w=_.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36||w===45}function fe(_){return le(_,ie)}function ve(_){const w=_.charCodeAt(0);return w>=48&&w<=57}function je(_){return le(_,ve)}function Ee(_){const w=_.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function $e(_){return le(_,Ee)}function xe(_){let w="",N="";for(;w=je(_);)N+=w;return N}function bt(_){v(_);const w=_.currentChar();return w!=="%"&&f(pe.EXPECTED_TOKEN,o(),0,w),_.next(),"%"}function at(_){let w="";for(;;){const N=_.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if(q(_))w+=N,_.next();else break;else if(N===Fn||N===xt)if(q(_))w+=N,_.next();else{if(V(_))break;w+=N,_.next()}else w+=N,_.next()}return w}function ut(_){v(_);let w="",N="";for(;w=fe(_);)N+=w;return _.currentChar()===ur&&f(pe.UNTERMINATED_CLOSING_BRACE,o(),0),N}function Be(_){v(_);let w="";return _.currentChar()==="-"?(_.next(),w+=`-${xe(_)}`):w+=xe(_),_.currentChar()===ur&&f(pe.UNTERMINATED_CLOSING_BRACE,o(),0),w}function U(_){return _!==Zd&&_!==xt}function J(_){v(_),m(_,"'");let w="",N="";for(;w=le(_,U);)w==="\\"?N+=X(_):N+=w;const F=_.currentChar();return F===xt||F===ur?(f(pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),F===xt&&(_.next(),m(_,"'")),N):(m(_,"'"),N)}function X(_){const w=_.currentChar();switch(w){case"\\":case"'":return _.next(),`\\${w}`;case"u":return ae(_,w,4);case"U":return ae(_,w,6);default:return f(pe.UNKNOWN_ESCAPE_SEQUENCE,o(),0,w),""}}function ae(_,w,N){m(_,w);let F="";for(let Z=0;Z<N;Z++){const W=$e(_);if(!W){f(pe.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${w}${F}${_.currentChar()}`);break}F+=W}return`\\${w}${F}`}function Te(_){return _!=="{"&&_!=="}"&&_!==Fn&&_!==xt}function Me(_){v(_);let w="",N="";for(;w=le(_,Te);)N+=w;return N}function T(_){let w="",N="";for(;w=Ce(_);)N+=w;return N}function b(_){const w=N=>{const F=_.currentChar();return F==="{"||F==="%"||F==="@"||F==="|"||F==="("||F===")"||!F||F===Fn?N:(N+=F,_.next(),w(N))};return w("")}function I(_){v(_);const w=m(_,"|");return v(_),w}function H(_,w){let N=null;switch(_.currentChar()){case"{":return w.braceNest>=1&&f(pe.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),_.next(),N=d(w,2,"{"),v(_),w.braceNest++,N;case"}":return w.braceNest>0&&w.currentType===2&&f(pe.EMPTY_PLACEHOLDER,o(),0),_.next(),N=d(w,3,"}"),w.braceNest--,w.braceNest>0&&v(_),w.inLinked&&w.braceNest===0&&(w.inLinked=!1),N;case"@":return w.braceNest>0&&f(pe.UNTERMINATED_CLOSING_BRACE,o(),0),N=M(_,w)||h(w),w.braceNest=0,N;default:{let Z=!0,W=!0,L=!0;if(V(_))return w.braceNest>0&&f(pe.UNTERMINATED_CLOSING_BRACE,o(),0),N=d(w,1,I(_)),w.braceNest=0,w.inLinked=!1,N;if(w.braceNest>0&&(w.currentType===5||w.currentType===6||w.currentType===7))return f(pe.UNTERMINATED_CLOSING_BRACE,o(),0),w.braceNest=0,K(_,w);if(Z=E(_,w))return N=d(w,5,ut(_)),v(_),N;if(W=A(_,w))return N=d(w,6,Be(_)),v(_),N;if(L=x(_,w))return N=d(w,7,J(_)),v(_),N;if(!Z&&!W&&!L)return N=d(w,13,Me(_)),f(pe.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,N.value),v(_),N;break}}return N}function M(_,w){const{currentType:N}=w;let F=null;const Z=_.currentChar();switch((N===8||N===9||N===12||N===10)&&(Z===xt||Z===Fn)&&f(pe.INVALID_LINKED_FORMAT,o(),0),Z){case"@":return _.next(),F=d(w,8,"@"),w.inLinked=!0,F;case".":return v(_),_.next(),d(w,9,".");case":":return v(_),_.next(),d(w,10,":");default:return V(_)?(F=d(w,1,I(_)),w.braceNest=0,w.inLinked=!1,F):O(_,w)||P(_,w)?(v(_),M(_,w)):k(_,w)?(v(_),d(w,12,T(_))):$(_,w)?(v(_),Z==="{"?H(_,w)||F:d(w,11,b(_))):(N===8&&f(pe.INVALID_LINKED_FORMAT,o(),0),w.braceNest=0,w.inLinked=!1,K(_,w))}}function K(_,w){let N={type:14};if(w.braceNest>0)return H(_,w)||h(w);if(w.inLinked)return M(_,w)||h(w);switch(_.currentChar()){case"{":return H(_,w)||h(w);case"}":return f(pe.UNBALANCED_CLOSING_BRACE,o(),0),_.next(),d(w,3,"}");case"@":return M(_,w)||h(w);default:{if(V(_))return N=d(w,1,I(_)),w.braceNest=0,w.inLinked=!1,N;const{isModulo:Z,hasSpace:W}=Y(_);if(Z)return W?d(w,0,at(_)):d(w,4,bt(_));if(q(_))return d(w,0,at(_));break}}return N}function ee(){const{currentType:_,offset:w,startLoc:N,endLoc:F}=l;return l.lastType=_,l.lastOffset=w,l.lastStartLoc=N,l.lastEndLoc=F,l.offset=s(),l.startLoc=o(),r.currentChar()===ur?d(l,14):K(r,l)}return{nextToken:ee,currentOffset:s,currentPosition:o,context:u}}const gE="parser",_E=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function vE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"<22>"}}}function bE(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(E,A,x,O,...k){const P=E.currentPosition();if(P.offset+=O,P.column+=O,n){const $=t?Pa(x,P):null,V=fo(A,$,{domain:gE,args:k});n(V)}}function o(E,A,x,O,...k){const P=E.currentPosition();if(P.offset+=O,P.column+=O,r){const $=t?Pa(x,P):null;r(iE(A,$,k))}}function i(E,A,x){const O={type:E};return t&&(O.start=A,O.end=A,O.loc={start:x,end:x}),O}function a(E,A,x,O){t&&(E.end=A,E.loc&&(E.loc.end=x))}function l(E,A){const x=E.context(),O=i(3,x.offset,x.startLoc);return O.value=A,a(O,E.currentOffset(),E.currentPosition()),O}function u(E,A){const x=E.context(),{lastOffset:O,lastStartLoc:k}=x,P=i(5,O,k);return P.index=parseInt(A,10),E.nextToken(),a(P,E.currentOffset(),E.currentPosition()),P}function c(E,A,x){const O=E.context(),{lastOffset:k,lastStartLoc:P}=O,$=i(4,k,P);return $.key=A,x===!0&&($.modulo=!0),E.nextToken(),a($,E.currentOffset(),E.currentPosition()),$}function f(E,A){const x=E.context(),{lastOffset:O,lastStartLoc:k}=x,P=i(9,O,k);return P.value=A.replace(_E,vE),E.nextToken(),a(P,E.currentOffset(),E.currentPosition()),P}function d(E){const A=E.nextToken(),x=E.context(),{lastOffset:O,lastStartLoc:k}=x,P=i(8,O,k);return A.type!==12?(s(E,pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),P.value="",a(P,O,k),{nextConsumeToken:A,node:P}):(A.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,fn(A)),P.value=A.value||"",a(P,E.currentOffset(),E.currentPosition()),{node:P})}function h(E,A){const x=E.context(),O=i(7,x.offset,x.startLoc);return O.value=A,a(O,E.currentOffset(),E.currentPosition()),O}function m(E){const A=E.context(),x=i(6,A.offset,A.startLoc);let O=E.nextToken();if(O.type===9){const k=d(E);x.modifier=k.node,O=k.nextConsumeToken||E.nextToken()}switch(O.type!==10&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(O)),O=E.nextToken(),O.type===2&&(O=E.nextToken()),O.type){case 11:O.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(O)),x.key=h(E,O.value||"");break;case 5:O.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(O)),x.key=c(E,O.value||"");break;case 6:O.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(O)),x.key=u(E,O.value||"");break;case 7:O.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(O)),x.key=f(E,O.value||"");break;default:{s(E,pe.UNEXPECTED_EMPTY_LINKED_KEY,A.lastStartLoc,0);const k=E.context(),P=i(7,k.offset,k.startLoc);return P.value="",a(P,k.offset,k.startLoc),x.key=P,a(x,k.offset,k.startLoc),{nextConsumeToken:O,node:x}}}return a(x,E.currentOffset(),E.currentPosition()),{node:x}}function g(E){const A=E.context(),x=A.currentType===1?E.currentOffset():A.offset,O=A.currentType===1?A.endLoc:A.startLoc,k=i(2,x,O);k.items=[];let P=null,$=null;do{const q=P||E.nextToken();switch(P=null,q.type){case 0:q.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(q)),k.items.push(l(E,q.value||""));break;case 6:q.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(q)),k.items.push(u(E,q.value||""));break;case 4:$=!0;break;case 5:q.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(q)),k.items.push(c(E,q.value||"",!!$)),$&&(o(E,hf.USE_MODULO_SYNTAX,A.lastStartLoc,0,fn(q)),$=null);break;case 7:q.value==null&&s(E,pe.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,fn(q)),k.items.push(f(E,q.value||""));break;case 8:{const le=m(E);k.items.push(le.node),P=le.nextConsumeToken||null;break}}}while(A.currentType!==14&&A.currentType!==1);const V=A.currentType===1?A.lastOffset:E.currentOffset(),Y=A.currentType===1?A.lastEndLoc:E.currentPosition();return a(k,V,Y),k}function v(E,A,x,O){const k=E.context();let P=O.items.length===0;const $=i(1,A,x);$.cases=[],$.cases.push(O);do{const V=g(E);P||(P=V.items.length===0),$.cases.push(V)}while(k.currentType!==14);return P&&s(E,pe.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),a($,E.currentOffset(),E.currentPosition()),$}function y(E){const A=E.context(),{offset:x,startLoc:O}=A,k=g(E);return A.currentType===14?k:v(E,x,O,k)}function S(E){const A=pE(E,Qg({},e)),x=A.context(),O=i(0,x.offset,x.startLoc);return t&&O.loc&&(O.loc.source=E),O.body=y(A),e.onCacheKey&&(O.cacheKey=e.onCacheKey(E)),x.currentType!==14&&s(A,pe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,E[x.offset]||""),a(O,A.currentOffset(),A.currentPosition()),O}return{parse:S}}function fn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function yE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function eh(e,t){for(let n=0;n<e.length;n++)mf(e[n],t)}function mf(e,t){switch(e.type){case 1:eh(e.cases,t),t.helper("plural");break;case 2:eh(e.items,t);break;case 6:{mf(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function EE(e,t={}){const n=yE(e);n.helper("normalize"),e.body&&mf(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function wE(e){const t=e.body;return t.type===2?th(t):t.cases.forEach(n=>th(n)),e}function th(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Jg(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const AE="minifier";function Cs(e){switch(e.t=e.type,e.type){case 0:{const t=e;Cs(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Cs(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Cs(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Cs(t.key),t.k=t.key,delete t.key,t.modifier&&(Cs(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw fo(pe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:AE,args:[e.type]})}delete e.type}const TE="parser";function SE(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:o}=t,i=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function u(v,y){a.code+=v}function c(v,y=!0){const S=y?s:"";u(o?S+" ".repeat(v):S)}function f(v=!0){const y=++a.indentLevel;v&&c(y)}function d(v=!0){const y=--a.indentLevel;v&&c(y)}function h(){c(a.indentLevel)}return{context:l,push:u,indent:f,deindent:d,newline:h,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function CE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Gs(e,t.key),t.modifier?(e.push(", "),Gs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function OE(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(Gs(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function xE(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(Gs(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function NE(e,t){t.body?Gs(e,t.body):e.push("null")}function Gs(e,t){const{helper:n}=e;switch(t.type){case 0:NE(e,t);break;case 1:xE(e,t);break;case 2:OE(e,t);break;case 6:CE(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw fo(pe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:TE,args:[t.type]})}}const kE=(e,t={})=>{const n=Jd(t.mode)?t.mode:"normal",r=Jd(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
||
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=SE(e,{mode:n,filename:r,sourceMap:s,breakLineCode:o,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${Jg(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),Gs(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:u,map:c}=l.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function IE(e,t={}){const n=Qg({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=bE(n).parse(e);return r?(o&&wE(a),s&&Cs(a),{ast:a,code:""}):(EE(a,n),kE(a,n))}/*!
|
||
* core-base v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function $E(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(jn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(jn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Br=[];Br[0]={w:[0],i:[3,0],"[":[4],o:[7]};Br[1]={w:[1],".":[2],"[":[4],o:[7]};Br[2]={w:[2],i:[3,0],0:[3,0]};Br[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Br[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Br[5]={"'":[4,0],o:8,l:[5,0]};Br[6]={'"':[4,0],o:8,l:[6,0]};const LE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function PE(e){return LE.test(e)}function RE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function DE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ME(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:PE(t)?RE(t):"*"+t}function FE(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,u,c,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=ME(i),i===!1))return!1;d[1]()}};function h(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,a="\\"+m,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&h())){if(l=DE(o),f=Br[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=o,c()===!1))))return;if(r===7)return t}}const nh=new Map;function VE(e,t){return Ue(e)?e[t]:null}function UE(e,t){if(!Ue(e))return null;let n=nh.get(t);if(n||(n=FE(t),n&&nh.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0||Ye(s))return null;s=i,o++}return s}const HE=e=>e,jE=e=>"",BE="text",WE=e=>e.length===0?"":eE(e),zE=Z0;function rh(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function YE(e){const t=ft(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ft(e.named.count)||ft(e.named.n))?ft(e.named.count)?e.named.count:ft(e.named.n)?e.named.n:t:t}function KE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function qE(e={}){const t=e.locale,n=YE(e),r=Ue(e.pluralRules)&&ne(t)&&Ye(e.pluralRules[t])?e.pluralRules[t]:rh,s=Ue(e.pluralRules)&&ne(t)&&Ye(e.pluralRules[t])?rh:void 0,o=y=>y[r(n,y.length,s)],i=e.list||[],a=y=>i[y],l=e.named||{};ft(e.pluralIndex)&&KE(n,l);const u=y=>l[y];function c(y){const S=Ye(e.messages)?e.messages(y):Ue(e.messages)?e.messages[y]:!1;return S||(e.parent?e.parent.message(y):jE)}const f=y=>e.modifiers?e.modifiers[y]:HE,d=be(e.processor)&&Ye(e.processor.normalize)?e.processor.normalize:WE,h=be(e.processor)&&Ye(e.processor.interpolate)?e.processor.interpolate:zE,m=be(e.processor)&&ne(e.processor.type)?e.processor.type:BE,v={list:a,named:u,plural:o,linked:(y,...S)=>{const[E,A]=S;let x="text",O="";S.length===1?Ue(E)?(O=E.modifier||O,x=E.type||x):ne(E)&&(O=E||O):S.length===2&&(ne(E)&&(O=E||O),ne(A)&&(x=A||x));const k=c(y)(v),P=x==="vnode"&&Xe(k)&&O?k[0]:k;return O?f(O)(P,x):P},message:c,type:m,interpolate:h,normalize:d,values:wt({},i,l)};return v}let ei=null;function GE(e){ei=e}function XE(e,t,n){ei&&ei.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const QE=JE("function:translate");function JE(e){return t=>ei&&ei.emit(e,t)}const Zg=hf.__EXTEND_POINT__,Gr=dl(Zg),ZE={NOT_FOUND_KEY:Zg,FALLBACK_TO_TRANSLATE:Gr(),CANNOT_FORMAT_NUMBER:Gr(),FALLBACK_TO_NUMBER_FORMAT:Gr(),CANNOT_FORMAT_DATE:Gr(),FALLBACK_TO_DATE_FORMAT:Gr(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Gr(),__EXTEND_POINT__:Gr()},e_=pe.__EXTEND_POINT__,Xr=dl(e_),_n={INVALID_ARGUMENT:e_,INVALID_DATE_ARGUMENT:Xr(),INVALID_ISO_DATE_ARGUMENT:Xr(),NOT_SUPPORT_NON_STRING_MESSAGE:Xr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Xr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Xr(),NOT_SUPPORT_LOCALE_TYPE:Xr(),__EXTEND_POINT__:Xr()};function xn(e){return fo(e,null,void 0)}function pf(e,t){return t.locale!=null?sh(t.locale):sh(e.locale)}let Yl;function sh(e){if(ne(e))return e;if(Ye(e)){if(e.resolvedOnce&&Yl!=null)return Yl;if(e.constructor.name==="Function"){const t=e();if(J0(t))throw xn(_n.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Yl=t}else throw xn(_n.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw xn(_n.NOT_SUPPORT_LOCALE_TYPE)}function ew(e,t,n){return[...new Set([n,...Xe(t)?t:Ue(t)?Object.keys(t):ne(t)?[t]:[n]])]}function t_(e,t,n){const r=ne(n)?n:Xs,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Xe(i);)i=oh(o,i,t);const a=Xe(t)||!be(t)?t:t.default?t.default:null;i=ne(a)?[a]:a,Xe(i)&&oh(o,i,!1),s.__localeChainCache.set(r,o)}return o}function oh(e,t,n){let r=!0;for(let s=0;s<t.length&&Oe(r);s++){const o=t[s];ne(o)&&(r=tw(e,t[s],n))}return r}function tw(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=nw(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function nw(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Xe(n)||be(n))&&n[s]&&(r=n[s])}return r}const rw="9.13.1",hl=-1,Xs="en-US",ih="",ah=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function sw(){return{upper:(e,t)=>t==="text"&&ne(e)?e.toUpperCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ne(e)?e.toLowerCase():t==="vnode"&&Ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ne(e)?ah(e):t==="vnode"&&Ue(e)&&"__v_isVNode"in e?ah(e.children):e}}let n_;function lh(e){n_=e}let r_;function ow(e){r_=e}let s_;function iw(e){s_=e}let o_=null;const aw=e=>{o_=e},lw=()=>o_;let i_=null;const ch=e=>{i_=e},cw=()=>i_;let uh=0;function uw(e={}){const t=Ye(e.onWarn)?e.onWarn:tE,n=ne(e.version)?e.version:rw,r=ne(e.locale)||Ye(e.locale)?e.locale:Xs,s=Ye(r)?Xs:r,o=Xe(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=be(e.messages)?e.messages:{[s]:{}},a=be(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},l=be(e.numberFormats)?e.numberFormats:{[s]:{}},u=wt({},e.modifiers||{},sw()),c=e.pluralRules||{},f=Ye(e.missing)?e.missing:null,d=Oe(e.missingWarn)||Ir(e.missingWarn)?e.missingWarn:!0,h=Oe(e.fallbackWarn)||Ir(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,g=!!e.unresolving,v=Ye(e.postTranslation)?e.postTranslation:null,y=be(e.processor)?e.processor:null,S=Oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,A=Ye(e.messageCompiler)?e.messageCompiler:n_,x=Ye(e.messageResolver)?e.messageResolver:r_||VE,O=Ye(e.localeFallbacker)?e.localeFallbacker:s_||ew,k=Ue(e.fallbackContext)?e.fallbackContext:void 0,P=e,$=Ue(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,V=Ue(P.__numberFormatters)?P.__numberFormatters:new Map,Y=Ue(P.__meta)?P.__meta:{};uh++;const q={version:n,cid:uh,locale:r,fallbackLocale:o,messages:i,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:m,unresolving:g,postTranslation:v,processor:y,warnHtmlMessage:S,escapeParameter:E,messageCompiler:A,messageResolver:x,localeFallbacker:O,fallbackContext:k,onWarn:t,__meta:Y};return q.datetimeFormats=a,q.numberFormats=l,q.__datetimeFormatters=$,q.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&XE(q,n,Y),q}function gf(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return ne(a)?a:t}else return t}function wo(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function fw(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function dw(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(fw(e,t[r]))return!0;return!1}function Kl(e){return n=>hw(n,e)}function hw(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,s=r.c||r.cases;return e.plural(s.reduce((o,i)=>[...o,fh(e,i)],[]))}else return fh(e,n)}function fh(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((s,o)=>[...s,qc(e,o)],[]);return e.normalize(r)}}function qc(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,s=r.m||r.modifier;return e.linked(qc(e,r.k||r.key),s?qc(e,s):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const a_=e=>e;let $s=Object.create(null);const Qs=e=>Ue(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function l_(e,t={}){let n=!1;const r=t.onError||lE;return t.onError=s=>{n=!0,r(s)},{...IE(e,t),detectError:n}}const mw=(e,t)=>{if(!ne(e))throw xn(_n.NOT_SUPPORT_NON_STRING_MESSAGE);{Oe(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||a_)(e),s=$s[r];if(s)return s;const{code:o,detectError:i}=l_(e,t),a=new Function(`return ${o}`)();return i?a:$s[r]=a}};function pw(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&ne(e)){Oe(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||a_)(e),s=$s[r];if(s)return s;const{ast:o,detectError:i}=l_(e,{...t,location:!1,jit:!0}),a=Kl(o);return i?a:$s[r]=a}else{const n=e.cacheKey;if(n){const r=$s[n];return r||($s[n]=Kl(e))}else return Kl(e)}}const dh=()=>"",nn=e=>Ye(e);function hh(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,u]=Gc(...t),c=Oe(u.missingWarn)?u.missingWarn:e.missingWarn,f=Oe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=Oe(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,m=ne(u.default)||Oe(u.default)?Oe(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:"",g=n||m!=="",v=pf(e,u);d&&gw(u);let[y,S,E]=h?[l,v,a[v]||{}]:c_(e,l,v,i,f,c),A=y,x=l;if(!h&&!(ne(A)||Qs(A)||nn(A))&&g&&(A=m,x=A),!h&&(!(ne(A)||Qs(A)||nn(A))||!ne(S)))return s?hl:l;let O=!1;const k=()=>{O=!0},P=nn(A)?A:u_(e,l,S,A,x,k);if(O)return A;const $=bw(e,S,E,u),V=qE($),Y=_w(e,P,V),q=r?r(Y,l):Y;if(__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:ne(l)?l:nn(A)?A.key:"",locale:S||(nn(A)?A.locale:""),format:ne(A)?A:nn(A)?A.source:"",message:q};le.meta=wt({},e.__meta,lw()||{}),QE(le)}return q}function gw(e){Xe(e.list)?e.list=e.list.map(t=>ne(t)?Qd(t):t):Ue(e.named)&&Object.keys(e.named).forEach(t=>{ne(e.named[t])&&(e.named[t]=Qd(e.named[t]))})}function c_(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f={},d,h=null;const m="translate";for(let g=0;g<c.length&&(d=c[g],f=i[d]||{},(h=l(f,t))===null&&(h=f[t]),!(ne(h)||Qs(h)||nn(h)));g++)if(!dw(d,c)){const v=gf(e,t,d,o,m);v!==t&&(h=v)}return[h,d,f]}function u_(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(nn(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=()=>r;return u.locale=n,u.key=t,u}const l=i(r,vw(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function _w(e,t,n){return t(n)}function Gc(...e){const[t,n,r]=e,s={};if(!ne(t)&&!ft(t)&&!nn(t)&&!Qs(t))throw xn(_n.INVALID_ARGUMENT);const o=ft(t)?String(t):(nn(t),t);return ft(n)?s.plural=n:ne(n)?s.default=n:be(n)&&!fl(n)?s.named=n:Xe(n)&&(s.list=n),ft(r)?s.plural=r:ne(r)?s.default=r:be(r)&&wt(s,r),[o,s]}function vw(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>q0(t,n,i)}}function bw(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:s,pluralRules:o,messages:h=>{let m=i(n,h);if(m==null&&c){const[,,g]=c_(c,h,t,a,l,u);m=i(g,h)}if(ne(m)||Qs(m)){let g=!1;const y=u_(e,h,t,m,h,()=>{g=!0});return g?dh:y}else return nn(m)?m:dh}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),ft(r.plural)&&(d.pluralIndex=r.plural),d}function mh(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,c,f]=Xc(...t),d=Oe(c.missingWarn)?c.missingWarn:e.missingWarn;Oe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,m=pf(e,c),g=i(e,s,m);if(!ne(l)||l==="")return new Intl.DateTimeFormat(m,f).format(u);let v={},y,S=null;const E="datetime format";for(let O=0;O<g.length&&(y=g[O],v=n[y]||{},S=v[l],!be(S));O++)gf(e,l,y,d,E);if(!be(S)||!ne(y))return r?hl:l;let A=`${y}__${l}`;fl(f)||(A=`${A}__${JSON.stringify(f)}`);let x=a.get(A);return x||(x=new Intl.DateTimeFormat(y,wt({},S,f)),a.set(A,x)),h?x.formatToParts(u):x.format(u)}const f_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Xc(...e){const[t,n,r,s]=e,o={};let i={},a;if(ne(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw xn(_n.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw xn(_n.INVALID_ISO_DATE_ARGUMENT)}}else if(X0(t)){if(isNaN(t.getTime()))throw xn(_n.INVALID_DATE_ARGUMENT);a=t}else if(ft(t))a=t;else throw xn(_n.INVALID_ARGUMENT);return ne(n)?o.key=n:be(n)&&Object.keys(n).forEach(l=>{f_.includes(l)?i[l]=n[l]:o[l]=n[l]}),ne(r)?o.locale=r:be(r)&&(i=r),be(s)&&(i=s),[o.key||"",a,o,i]}function ph(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function gh(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,c,f]=Qc(...t),d=Oe(c.missingWarn)?c.missingWarn:e.missingWarn;Oe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,m=pf(e,c),g=i(e,s,m);if(!ne(l)||l==="")return new Intl.NumberFormat(m,f).format(u);let v={},y,S=null;const E="number format";for(let O=0;O<g.length&&(y=g[O],v=n[y]||{},S=v[l],!be(S));O++)gf(e,l,y,d,E);if(!be(S)||!ne(y))return r?hl:l;let A=`${y}__${l}`;fl(f)||(A=`${A}__${JSON.stringify(f)}`);let x=a.get(A);return x||(x=new Intl.NumberFormat(y,wt({},S,f)),a.set(A,x)),h?x.formatToParts(u):x.format(u)}const d_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Qc(...e){const[t,n,r,s]=e,o={};let i={};if(!ft(t))throw xn(_n.INVALID_ARGUMENT);const a=t;return ne(n)?o.key=n:be(n)&&Object.keys(n).forEach(l=>{d_.includes(l)?i[l]=n[l]:o[l]=n[l]}),ne(r)?o.locale=r:be(r)&&(i=r),be(s)&&(i=s),[o.key||"",a,o,i]}function _h(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}$E();/*!
|
||
* vue-i18n v9.13.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const yw="9.13.1";function Ew(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(jn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(jn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(jn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(jn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jn().__INTLIFY_PROD_DEVTOOLS__=!1)}const h_=ZE.__EXTEND_POINT__,Vn=dl(h_);Vn(),Vn(),Vn(),Vn(),Vn(),Vn(),Vn(),Vn(),Vn();const m_=_n.__EXTEND_POINT__,Pt=dl(m_),ht={UNEXPECTED_RETURN_TYPE:m_,INVALID_ARGUMENT:Pt(),MUST_BE_CALL_SETUP_TOP:Pt(),NOT_INSTALLED:Pt(),NOT_AVAILABLE_IN_LEGACY_MODE:Pt(),REQUIRED_VALUE:Pt(),INVALID_VALUE:Pt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Pt(),NOT_INSTALLED_WITH_PROVIDE:Pt(),UNEXPECTED_ERROR:Pt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Pt(),BRIDGE_SUPPORT_VUE_2_ONLY:Pt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Pt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Pt(),__EXTEND_POINT__:Pt()};function vt(e,...t){return fo(e,null,void 0)}const Jc=jr("__translateVNode"),Zc=jr("__datetimeParts"),eu=jr("__numberParts"),p_=jr("__setPluralRules"),g_=jr("__injectWithOption"),tu=jr("__dispose");function ti(e){if(!Ue(e))return e;for(const t in e)if(La(e,t))if(!t.includes("."))Ue(e[t])&&ti(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]in s||(s[n[i]]={}),!Ue(s[n[i]])){o=!0;break}s=s[n[i]]}o||(s[n[r]]=e[t],delete e[t]),Ue(s[n[r]])&&ti(s[n[r]])}return e}function ml(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=be(n)?n:Xe(r)?{}:{[e]:{}};if(Xe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},fa(u,i[l])):fa(u,i)}else ne(a)&&fa(JSON.parse(a),i)}),s==null&&o)for(const a in i)La(i,a)&&ti(i[a]);return i}function __(e){return e.type}function v_(e,t,n){let r=Ue(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=ml(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Ue(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(Ue(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function vh(e){return re(hi,null,e,0)}const bh="__INTLIFY_META__",yh=()=>[],ww=()=>!1;let Eh=0;function wh(e){return(t,n,r,s)=>e(n,r,Pn()||void 0,s)}const Aw=()=>{const e=Pn();let t=null;return e&&(t=__(e)[bh])?{[bh]:t}:null};function _f(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=$a?te:rf,a=!!e.translateExistCompatible;let l=Oe(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:ne(e.locale)?e.locale:Xs),c=i(n&&l?n.fallbackLocale.value:ne(e.fallbackLocale)||Xe(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),f=i(ml(u.value,e)),d=i(be(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),h=i(be(e.numberFormats)?e.numberFormats:{[u.value]:{}});let m=n?n.missingWarn:Oe(e.missingWarn)||Ir(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Oe(e.fallbackWarn)||Ir(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Oe(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,S=Ye(e.missing)?e.missing:null,E=Ye(e.missing)?wh(e.missing):null,A=Ye(e.postTranslation)?e.postTranslation:null,x=n?n.warnHtmlMessage:Oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter;const k=n?n.modifiers:be(e.modifiers)?e.modifiers:{};let P=e.pluralRules||n&&n.pluralRules,$;$=(()=>{s&&ch(null);const L={version:yw,locale:u.value,fallbackLocale:c.value,messages:f.value,modifiers:k,pluralRules:P,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:y,unresolving:!0,postTranslation:A===null?void 0:A,warnHtmlMessage:x,escapeParameter:O,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=d.value,L.numberFormats=h.value,L.__datetimeFormatters=be($)?$.__datetimeFormatters:void 0,L.__numberFormatters=be($)?$.__numberFormatters:void 0;const R=uw(L);return s&&ch(R),R})(),wo($,u.value,c.value);function Y(){return[u.value,c.value,f.value,d.value,h.value]}const q=oe({get:()=>u.value,set:L=>{u.value=L,$.locale=u.value}}),le=oe({get:()=>c.value,set:L=>{c.value=L,$.fallbackLocale=c.value,wo($,u.value,L)}}),Ie=oe(()=>f.value),Ce=oe(()=>d.value),ie=oe(()=>h.value);function fe(){return Ye(A)?A:null}function ve(L){A=L,$.postTranslation=L}function je(){return S}function Ee(L){L!==null&&(E=wh(L)),S=L,$.missing=E}const $e=(L,R,ue,me,We,At)=>{Y();let Ht;try{__INTLIFY_PROD_DEVTOOLS__,s||($.fallbackContext=n?cw():void 0),Ht=L($)}finally{__INTLIFY_PROD_DEVTOOLS__,s||($.fallbackContext=void 0)}if(ue!=="translate exists"&&ft(Ht)&&Ht===hl||ue==="translate exists"&&!Ht){const[ki,ys]=R();return n&&v?me(n):We(ki)}else{if(At(Ht))return Ht;throw vt(ht.UNEXPECTED_RETURN_TYPE)}};function xe(...L){return $e(R=>Reflect.apply(hh,null,[R,...L]),()=>Gc(...L),"translate",R=>Reflect.apply(R.t,R,[...L]),R=>R,R=>ne(R))}function bt(...L){const[R,ue,me]=L;if(me&&!Ue(me))throw vt(ht.INVALID_ARGUMENT);return xe(R,ue,wt({resolvedMessage:!0},me||{}))}function at(...L){return $e(R=>Reflect.apply(mh,null,[R,...L]),()=>Xc(...L),"datetime format",R=>Reflect.apply(R.d,R,[...L]),()=>ih,R=>ne(R))}function ut(...L){return $e(R=>Reflect.apply(gh,null,[R,...L]),()=>Qc(...L),"number format",R=>Reflect.apply(R.n,R,[...L]),()=>ih,R=>ne(R))}function Be(L){return L.map(R=>ne(R)||ft(R)||Oe(R)?vh(String(R)):R)}const J={normalize:Be,interpolate:L=>L,type:"vnode"};function X(...L){return $e(R=>{let ue;const me=R;try{me.processor=J,ue=Reflect.apply(hh,null,[me,...L])}finally{me.processor=null}return ue},()=>Gc(...L),"translate",R=>R[Jc](...L),R=>[vh(R)],R=>Xe(R))}function ae(...L){return $e(R=>Reflect.apply(gh,null,[R,...L]),()=>Qc(...L),"number format",R=>R[eu](...L),yh,R=>ne(R)||Xe(R))}function Te(...L){return $e(R=>Reflect.apply(mh,null,[R,...L]),()=>Xc(...L),"datetime format",R=>R[Zc](...L),yh,R=>ne(R)||Xe(R))}function Me(L){P=L,$.pluralRules=P}function T(L,R){return $e(()=>{if(!L)return!1;const ue=ne(R)?R:u.value,me=H(ue),We=$.messageResolver(me,L);return a?We!=null:Qs(We)||nn(We)||ne(We)},()=>[L],"translate exists",ue=>Reflect.apply(ue.te,ue,[L,R]),ww,ue=>Oe(ue))}function b(L){let R=null;const ue=t_($,c.value,u.value);for(let me=0;me<ue.length;me++){const We=f.value[ue[me]]||{},At=$.messageResolver(We,L);if(At!=null){R=At;break}}return R}function I(L){const R=b(L);return R??(n?n.tm(L)||{}:{})}function H(L){return f.value[L]||{}}function M(L,R){if(o){const ue={[L]:R};for(const me in ue)La(ue,me)&&ti(ue[me]);R=ue[L]}f.value[L]=R,$.messages=f.value}function K(L,R){f.value[L]=f.value[L]||{};const ue={[L]:R};if(o)for(const me in ue)La(ue,me)&&ti(ue[me]);R=ue[L],fa(R,f.value[L]),$.messages=f.value}function ee(L){return d.value[L]||{}}function _(L,R){d.value[L]=R,$.datetimeFormats=d.value,ph($,L,R)}function w(L,R){d.value[L]=wt(d.value[L]||{},R),$.datetimeFormats=d.value,ph($,L,R)}function N(L){return h.value[L]||{}}function F(L,R){h.value[L]=R,$.numberFormats=h.value,_h($,L,R)}function Z(L,R){h.value[L]=wt(h.value[L]||{},R),$.numberFormats=h.value,_h($,L,R)}Eh++,n&&$a&&(Et(n.locale,L=>{l&&(u.value=L,$.locale=L,wo($,u.value,c.value))}),Et(n.fallbackLocale,L=>{l&&(c.value=L,$.fallbackLocale=L,wo($,u.value,c.value))}));const W={id:Eh,locale:q,fallbackLocale:le,get inheritLocale(){return l},set inheritLocale(L){l=L,L&&n&&(u.value=n.locale.value,c.value=n.fallbackLocale.value,wo($,u.value,c.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Ie,get modifiers(){return k},get pluralRules(){return P||{}},get isGlobal(){return s},get missingWarn(){return m},set missingWarn(L){m=L,$.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(L){g=L,$.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(L){v=L},get fallbackFormat(){return y},set fallbackFormat(L){y=L,$.fallbackFormat=y},get warnHtmlMessage(){return x},set warnHtmlMessage(L){x=L,$.warnHtmlMessage=L},get escapeParameter(){return O},set escapeParameter(L){O=L,$.escapeParameter=L},t:xe,getLocaleMessage:H,setLocaleMessage:M,mergeLocaleMessage:K,getPostTranslationHandler:fe,setPostTranslationHandler:ve,getMissingHandler:je,setMissingHandler:Ee,[p_]:Me};return W.datetimeFormats=Ce,W.numberFormats=ie,W.rt=bt,W.te=T,W.tm=I,W.d=at,W.n=ut,W.getDateTimeFormat=ee,W.setDateTimeFormat=_,W.mergeDateTimeFormat=w,W.getNumberFormat=N,W.setNumberFormat=F,W.mergeNumberFormat=Z,W[g_]=r,W[Jc]=X,W[Zc]=Te,W[eu]=ae,W}function Tw(e){const t=ne(e.locale)?e.locale:Xs,n=ne(e.fallbackLocale)||Xe(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Ye(e.missing)?e.missing:void 0,s=Oe(e.silentTranslationWarn)||Ir(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=Oe(e.silentFallbackWarn)||Ir(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=Oe(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=be(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=Ye(e.postTranslation)?e.postTranslation:void 0,f=ne(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,h=Oe(e.sync)?e.sync:!0;let m=e.messages;if(be(e.sharedMessages)){const O=e.sharedMessages;m=Object.keys(O).reduce((P,$)=>{const V=P[$]||(P[$]={});return wt(V,O[$]),P},m||{})}const{__i18n:g,__root:v,__injectWithOption:y}=e,S=e.datetimeFormats,E=e.numberFormats,A=e.flatJson,x=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:m,flatJson:A,datetimeFormats:S,numberFormats:E,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:h,translateExistCompatible:x,__i18n:g,__root:v,__injectWithOption:y}}function nu(e={},t){{const n=_f(Tw(e)),{__extender:r}=e,s={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return Oe(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=Oe(o)?!o:o},get silentFallbackWarn(){return Oe(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=Oe(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){const[i,a,l]=o,u={};let c=null,f=null;if(!ne(i))throw vt(ht.INVALID_ARGUMENT);const d=i;return ne(a)?u.locale=a:Xe(a)?c=a:be(a)&&(f=a),Xe(l)?c=l:be(l)&&(f=l),Reflect.apply(n.t,n,[d,c||f||{},u])},rt(...o){return Reflect.apply(n.rt,n,[...o])},tc(...o){const[i,a,l]=o,u={plural:1};let c=null,f=null;if(!ne(i))throw vt(ht.INVALID_ARGUMENT);const d=i;return ne(a)?u.locale=a:ft(a)?u.plural=a:Xe(a)?c=a:be(a)&&(f=a),ne(l)?u.locale=l:Xe(l)?c=l:be(l)&&(f=l),Reflect.apply(n.t,n,[d,c||f||{},u])},te(o,i){return n.te(o,i)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,i){n.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){n.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,i){n.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){n.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,i){n.setNumberFormat(o,i)},mergeNumberFormat(o,i){n.mergeNumberFormat(o,i)},getChoiceIndex(o,i){return-1}};return s.__extender=r,s}}const vf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Sw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===ke?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function b_(e){return ke}const Cw=Re({name:"i18n-t",props:wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ft(e)||!isNaN(e)}},vf),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||ot({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ne(e.plural)?+e.plural:e.plural);const a=Sw(t,o),l=s[Jc](e.keypath,a,i),u=wt({},r),c=ne(e.tag)||Ue(e.tag)?e.tag:b_();return uo(c,u,l)}}}),Ah=Cw;function Ow(e){return Xe(e)&&!ne(e[0])}function y_(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),ne(e.format)?i.key=e.format:Ue(e.format)&&(ne(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,h)=>n.includes(h)?wt({},d,{[h]:e.format[h]}):d,{}));const l=r(e.value,i,a);let u=[i.key];Xe(l)?u=l.map((d,h)=>{const m=s[d.type],g=m?m({[d.type]:d.value,index:h,parts:l}):[d.value];return Ow(g)&&(g[0].key=`${d.type}-${h}`),g}):ne(l)&&(u=[l]);const c=wt({},o),f=ne(e.tag)||Ue(e.tag)?e.tag:b_();return uo(f,c,u)}}const xw=Re({name:"i18n-n",props:wt({value:{type:Number,required:!0},format:{type:[String,Object]}},vf),setup(e,t){const n=e.i18n||ot({useScope:e.scope,__useComponent:!0});return y_(e,t,d_,(...r)=>n[eu](...r))}}),Th=xw,Nw=Re({name:"i18n-d",props:wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vf),setup(e,t){const n=e.i18n||ot({useScope:e.scope,__useComponent:!0});return y_(e,t,f_,(...r)=>n[Zc](...r))}}),Sh=Nw;function kw(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Iw(e){const t=i=>{const{instance:a,modifiers:l,value:u}=i;if(!a||!a.$)throw vt(ht.UNEXPECTED_ERROR);const c=kw(e,a.$),f=Ch(u);return[Reflect.apply(c.t,c,[...Oh(f)]),c]};return{created:(i,a)=>{const[l,u]=t(a);$a&&e.global===u&&(i.__i18nWatcher=Et(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{$a&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,u=Ch(a);i.textContent=Reflect.apply(l.t,l,[...Oh(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Ch(e){if(ne(e))return{path:e};if(be(e)){if(!("path"in e))throw vt(ht.REQUIRED_VALUE,"path");return e}else throw vt(ht.INVALID_VALUE)}function Oh(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return ne(n)&&(i.locale=n),ft(s)&&(i.plural=s),ft(o)&&(i.plural=o),[t,a,i]}function $w(e,t,...n){const r=be(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Oe(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":Ah.name,"I18nT"].forEach(i=>e.component(i,Ah)),[Th.name,"I18nN"].forEach(i=>e.component(i,Th)),[Sh.name,"I18nD"].forEach(i=>e.component(i,Sh))),e.directive("t",Iw(t))}function Lw(e,t,n){return{beforeCreate(){const r=Pn();if(!r)throw vt(ht.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const o=s.i18n;if(s.__i18n&&(o.__i18n=s.__i18n),o.__root=t,this===this.$root)this.$i18n=xh(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=nu(o);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=xh(e,s);else{this.$i18n=nu({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&v_(t,s,s),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,i)=>this.$i18n.te(o,i),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Pn();if(!r)throw vt(ht.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function xh(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[p_](t.pluralizationRules||e.pluralizationRules);const n=ml(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const Pw=jr("global-vue-i18n");function Rw(e={},t){const n=__VUE_I18N_LEGACY_API__&&Oe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=Oe(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[i,a]=Dw(e,n),l=jr("");function u(d){return o.get(d)||null}function c(d,h){o.set(d,h)}function f(d){o.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(h,...m){if(h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,d),be(m[0])){const y=m[0];d.__composerExtend=y.__composerExtend,d.__vueI18nExtend=y.__vueI18nExtend}let g=null;!n&&r&&(g=zw(h,d.global)),__VUE_I18N_FULL_INSTALL__&&$w(h,d,...m),__VUE_I18N_LEGACY_API__&&n&&h.mixin(Lw(a,a.__composer,d));const v=h.unmount;h.unmount=()=>{g&&g(),d.dispose(),v()}},get global(){return a},dispose(){i.stop()},__instances:o,__getInstance:u,__setInstance:c,__deleteInstance:f};return d}}function ot(e={}){const t=Pn();if(t==null)throw vt(ht.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw vt(ht.NOT_INSTALLED);const n=Mw(t),r=Vw(n),s=__(t),o=Fw(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw vt(ht.NOT_AVAILABLE_IN_LEGACY_MODE);return Bw(t,o,r,e)}if(o==="global")return v_(r,e,s),r;if(o==="parent"){let l=Uw(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=wt({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=_f(l),i.__composerExtend&&(a[tu]=i.__composerExtend(a)),jw(i,t,a),i.__setInstance(t,a)}return a}function Dw(e,t,n){const r=Ku();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>nu(e)):r.run(()=>_f(e));if(s==null)throw vt(ht.UNEXPECTED_ERROR);return[r,s]}}function Mw(e){{const t=tt(e.isCE?Pw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw vt(e.isCE?ht.NOT_INSTALLED_WITH_PROVIDE:ht.UNEXPECTED_ERROR);return t}}function Fw(e,t){return fl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Vw(e){return e.mode==="composition"?e.global:e.global.__composer}function Uw(e,t,n=!1){let r=null;const s=t.root;let o=Hw(t,n);for(;o!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(o);a!=null&&(r=a.__composer,n&&r&&!r[g_]&&(r=null))}if(r!=null||s===o)break;o=o.parent}return r}function Hw(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function jw(e,t,n){or(()=>{},t),co(()=>{const r=n;e.__deleteInstance(t);const s=r[tu];s&&(s(),delete r[tu])},t)}function Bw(e,t,n,r={}){const s=t==="local",o=rf(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw vt(ht.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Oe(r.inheritLocale)?r.inheritLocale:!ne(r.locale),a=te(!s||i?n.locale.value:ne(r.locale)?r.locale:Xs),l=te(!s||i?n.fallbackLocale.value:ne(r.fallbackLocale)||Xe(r.fallbackLocale)||be(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),u=te(ml(a.value,r)),c=te(be(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=te(be(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=s?n.missingWarn:Oe(r.missingWarn)||Ir(r.missingWarn)?r.missingWarn:!0,h=s?n.fallbackWarn:Oe(r.fallbackWarn)||Ir(r.fallbackWarn)?r.fallbackWarn:!0,m=s?n.fallbackRoot:Oe(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,v=Ye(r.missing)?r.missing:null,y=Ye(r.postTranslation)?r.postTranslation:null,S=s?n.warnHtmlMessage:Oe(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,A=s?n.modifiers:be(r.modifiers)?r.modifiers:{},x=r.pluralRules||s&&n.pluralRules;function O(){return[a.value,l.value,u.value,c.value,f.value]}const k=oe({get:()=>o.value?o.value.locale.value:a.value,set:b=>{o.value&&(o.value.locale.value=b),a.value=b}}),P=oe({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:b=>{o.value&&(o.value.fallbackLocale.value=b),l.value=b}}),$=oe(()=>o.value?o.value.messages.value:u.value),V=oe(()=>c.value),Y=oe(()=>f.value);function q(){return o.value?o.value.getPostTranslationHandler():y}function le(b){o.value&&o.value.setPostTranslationHandler(b)}function Ie(){return o.value?o.value.getMissingHandler():v}function Ce(b){o.value&&o.value.setMissingHandler(b)}function ie(b){return O(),b()}function fe(...b){return o.value?ie(()=>Reflect.apply(o.value.t,null,[...b])):ie(()=>"")}function ve(...b){return o.value?Reflect.apply(o.value.rt,null,[...b]):""}function je(...b){return o.value?ie(()=>Reflect.apply(o.value.d,null,[...b])):ie(()=>"")}function Ee(...b){return o.value?ie(()=>Reflect.apply(o.value.n,null,[...b])):ie(()=>"")}function $e(b){return o.value?o.value.tm(b):{}}function xe(b,I){return o.value?o.value.te(b,I):!1}function bt(b){return o.value?o.value.getLocaleMessage(b):{}}function at(b,I){o.value&&(o.value.setLocaleMessage(b,I),u.value[b]=I)}function ut(b,I){o.value&&o.value.mergeLocaleMessage(b,I)}function Be(b){return o.value?o.value.getDateTimeFormat(b):{}}function U(b,I){o.value&&(o.value.setDateTimeFormat(b,I),c.value[b]=I)}function J(b,I){o.value&&o.value.mergeDateTimeFormat(b,I)}function X(b){return o.value?o.value.getNumberFormat(b):{}}function ae(b,I){o.value&&(o.value.setNumberFormat(b,I),f.value[b]=I)}function Te(b,I){o.value&&o.value.mergeNumberFormat(b,I)}const Me={get id(){return o.value?o.value.id:-1},locale:k,fallbackLocale:P,messages:$,datetimeFormats:V,numberFormats:Y,get inheritLocale(){return o.value?o.value.inheritLocale:i},set inheritLocale(b){o.value&&(o.value.inheritLocale=b)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(u.value)},get modifiers(){return o.value?o.value.modifiers:A},get pluralRules(){return o.value?o.value.pluralRules:x},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:d},set missingWarn(b){o.value&&(o.value.missingWarn=b)},get fallbackWarn(){return o.value?o.value.fallbackWarn:h},set fallbackWarn(b){o.value&&(o.value.missingWarn=b)},get fallbackRoot(){return o.value?o.value.fallbackRoot:m},set fallbackRoot(b){o.value&&(o.value.fallbackRoot=b)},get fallbackFormat(){return o.value?o.value.fallbackFormat:g},set fallbackFormat(b){o.value&&(o.value.fallbackFormat=b)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:S},set warnHtmlMessage(b){o.value&&(o.value.warnHtmlMessage=b)},get escapeParameter(){return o.value?o.value.escapeParameter:E},set escapeParameter(b){o.value&&(o.value.escapeParameter=b)},t:fe,getPostTranslationHandler:q,setPostTranslationHandler:le,getMissingHandler:Ie,setMissingHandler:Ce,rt:ve,d:je,n:Ee,tm:$e,te:xe,getLocaleMessage:bt,setLocaleMessage:at,mergeLocaleMessage:ut,getDateTimeFormat:Be,setDateTimeFormat:U,mergeDateTimeFormat:J,getNumberFormat:X,setNumberFormat:ae,mergeNumberFormat:Te};function T(b){b.locale.value=a.value,b.fallbackLocale.value=l.value,Object.keys(u.value).forEach(I=>{b.mergeLocaleMessage(I,u.value[I])}),Object.keys(c.value).forEach(I=>{b.mergeDateTimeFormat(I,c.value[I])}),Object.keys(f.value).forEach(I=>{b.mergeNumberFormat(I,f.value[I])}),b.escapeParameter=E,b.fallbackFormat=g,b.fallbackRoot=m,b.fallbackWarn=h,b.missingWarn=d,b.warnHtmlMessage=S}return lf(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw vt(ht.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const b=o.value=e.proxy.$i18n.__composer;t==="global"?(a.value=b.locale.value,l.value=b.fallbackLocale.value,u.value=b.messages.value,c.value=b.datetimeFormats.value,f.value=b.numberFormats.value):s&&T(b)}),Me}const Ww=["locale","fallbackLocale","availableLocales"],Nh=["t","rt","d","n","tm","te"];function zw(e,t){const n=Object.create(null);return Ww.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw vt(ht.UNEXPECTED_ERROR);const i=Ke(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Nh.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw vt(ht.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,Nh.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}Ew();__INTLIFY_JIT_COMPILATION__?lh(pw):lh(mw);ow(UE);iw(t_);if(__INTLIFY_PROD_DEVTOOLS__){const e=jn();e.__INTLIFY__=!0,GE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}/*!
|
||
* vue-router v4.3.3
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Os=typeof document<"u";function Yw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const He=Object.assign;function ql(e,t){const n={};for(const r in t){const s=t[r];n[r]=En(s)?s.map(e):e(s)}return n}const Fo=()=>{},En=Array.isArray,E_=/#/g,Kw=/&/g,qw=/\//g,Gw=/=/g,Xw=/\?/g,w_=/\+/g,Qw=/%5B/g,Jw=/%5D/g,A_=/%5E/g,Zw=/%60/g,T_=/%7B/g,eA=/%7C/g,S_=/%7D/g,tA=/%20/g;function bf(e){return encodeURI(""+e).replace(eA,"|").replace(Qw,"[").replace(Jw,"]")}function nA(e){return bf(e).replace(T_,"{").replace(S_,"}").replace(A_,"^")}function ru(e){return bf(e).replace(w_,"%2B").replace(tA,"+").replace(E_,"%23").replace(Kw,"%26").replace(Zw,"`").replace(T_,"{").replace(S_,"}").replace(A_,"^")}function rA(e){return ru(e).replace(Gw,"%3D")}function sA(e){return bf(e).replace(E_,"%23").replace(Xw,"%3F")}function oA(e){return e==null?"":sA(e).replace(qw,"%2F")}function ni(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const iA=/\/$/,aA=e=>e.replace(iA,"");function Gl(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=fA(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:ni(i)}}function lA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function kh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cA(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Js(t.matched[r],n.matched[s])&&C_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Js(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function C_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!uA(e[n],t[n]))return!1;return!0}function uA(e,t){return En(e)?Ih(e,t):En(t)?Ih(t,e):e===t}function Ih(e,t){return En(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function fA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}var ri;(function(e){e.pop="pop",e.push="push"})(ri||(ri={}));var Vo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Vo||(Vo={}));function dA(e){if(!e)if(Os){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),aA(e)}const hA=/^[^#]+#/;function mA(e,t){return e.replace(hA,"#")+t}function pA(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 pl=()=>({left:window.scrollX,top:window.scrollY});function gA(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=pA(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function $h(e,t){return(history.state?history.state.position-t:-1)+e}const su=new Map;function _A(e,t){su.set(e,t)}function vA(e){const t=su.get(e);return su.delete(e),t}let bA=()=>location.protocol+"//"+location.host;function O_(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),kh(l,"")}return kh(n,e)+r+s}function yA(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=O_(e,location),m=n.value,g=t.value;let v=0;if(d){if(n.value=h,t.value=d,i&&i===m){i=null;return}v=g?d.position-g.position:0}else r(h);s.forEach(y=>{y(n.value,m,{delta:v,type:ri.pop,direction:v?v>0?Vo.forward:Vo.back:Vo.unknown})})};function l(){i=n.value}function u(d){s.push(d);const h=()=>{const m=s.indexOf(d);m>-1&&s.splice(m,1)};return o.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(He({},d.state,{scroll:pl()}),"")}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:l,listen:u,destroy:f}}function Lh(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?pl():null}}function EA(e){const{history:t,location:n}=window,r={value:O_(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:bA()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function i(l,u){const c=He({},t.state,Lh(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,c,!0),r.value=l}function a(l,u){const c=He({},s.value,t.state,{forward:l,scroll:pl()});o(c.current,c,!0);const f=He({},Lh(r.value,l,null),{position:c.position+1},u);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function wA(e){e=dA(e);const t=EA(e),n=yA(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=He({location:"",base:e,go:r,createHref:mA.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function AA(e){return typeof e=="string"||e&&typeof e=="object"}function x_(e){return typeof e=="string"||typeof e=="symbol"}const fr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},N_=Symbol("");var Ph;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ph||(Ph={}));function Zs(e,t){return He(new Error,{type:e,[N_]:!0},t)}function Un(e,t){return e instanceof Error&&N_ in e&&(t==null||!!(e.type&t))}const Rh="[^/]+?",TA={sensitive:!1,strict:!1,start:!0,end:!0},SA=/[.+*?^${}()[\]/\\]/g;function CA(e,t){const n=He({},TA,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(SA,"\\$&"),h+=40;else if(d.type===1){const{value:m,repeatable:g,optional:v,regexp:y}=d;o.push({name:m,repeatable:g,optional:v});const S=y||Rh;if(S!==Rh){h+=10;try{new RegExp(`(${S})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${m}" (${S}): `+A.message)}}let E=g?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(E=v&&u.length<2?`(?:/${E})`:"/"+E),v&&(E+="?"),s+=E,h+=20,v&&(h+=-8),g&&(h+=-20),S===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const c=u.match(i),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",m=o[d-1];f[m.name]=h&&m.repeatable?h.split("/"):h}return f}function l(u){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:m,repeatable:g,optional:v}=h,y=m in u?u[m]:"";if(En(y)&&!g)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const S=En(y)?y.join("/"):y;if(!S)if(v)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);c+=S}}return c||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function OA(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 k_(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=OA(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Dh(r))return 1;if(Dh(s))return-1}return s.length-r.length}function Dh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const xA={type:0,value:""},NA=/[a-zA-Z0-9_]/;function kA(e){if(!e)return[[]];if(e==="/")return[[xA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:NA.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function IA(e,t,n){const r=CA(kA(e.path),n),s=He(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function $A(e,t){const n=[],r=new Map;t=Vh({strict:!1,end:!0,sensitive:!1},t);function s(c){return r.get(c)}function o(c,f,d){const h=!d,m=LA(c);m.aliasOf=d&&d.record;const g=Vh(t,c),v=[m];if("alias"in c){const E=typeof c.alias=="string"?[c.alias]:c.alias;for(const A of E)v.push(He({},m,{components:d?d.record.components:m.components,path:A,aliasOf:d?d.record:m}))}let y,S;for(const E of v){const{path:A}=E;if(f&&A[0]!=="/"){const x=f.record.path,O=x[x.length-1]==="/"?"":"/";E.path=f.record.path+(A&&O+A)}if(y=IA(E,f,g),d?d.alias.push(y):(S=S||y,S!==y&&S.alias.push(y),h&&c.name&&!Fh(y)&&i(c.name)),I_(y)&&l(y),m.children){const x=m.children;for(let O=0;O<x.length;O++)o(x[O],y,d&&d.children[O])}d=d||y}return S?()=>{i(S)}:Fo}function i(c){if(x_(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(i),c.alias.forEach(i))}}function a(){return n}function l(c){const f=DA(c,n);n.splice(f,0,c),c.record.name&&!Fh(c)&&r.set(c.record.name,c)}function u(c,f){let d,h={},m,g;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw Zs(1,{location:c});g=d.record.name,h=He(Mh(f.params,d.keys.filter(S=>!S.optional).concat(d.parent?d.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),c.params&&Mh(c.params,d.keys.map(S=>S.name))),m=d.stringify(h)}else if(c.path!=null)m=c.path,d=n.find(S=>S.re.test(m)),d&&(h=d.parse(m),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(S=>S.re.test(f.path)),!d)throw Zs(1,{location:c,currentLocation:f});g=d.record.name,h=He({},f.params,c.params),m=d.stringify(h)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:g,path:m,params:h,matched:v,meta:RA(v)}}return e.forEach(c=>o(c)),{addRoute:o,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Mh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function LA(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:PA(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 PA(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Fh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function RA(e){return e.reduce((t,n)=>He(t,n.meta),{})}function Vh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function DA(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;k_(e,t[o])<0?r=o:n=o+1}const s=MA(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function MA(e){let t=e;for(;t=t.parent;)if(I_(t)&&k_(e,t)===0)return t}function I_({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function FA(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(w_," "),i=o.indexOf("="),a=ni(i<0?o:o.slice(0,i)),l=i<0?null:ni(o.slice(i+1));if(a in t){let u=t[a];En(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Uh(e){let t="";for(let n in e){const r=e[n];if(n=rA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(En(r)?r.map(o=>o&&ru(o)):[r&&ru(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function VA(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=En(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const UA=Symbol(""),Hh=Symbol(""),gl=Symbol(""),yf=Symbol(""),ou=Symbol("");function Ao(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function vr(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Zs(4,{from:n,to:t})):d instanceof Error?l(d):AA(d)?l(Zs(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Xl(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(HA(l)){const c=(l.__vccOpts||l)[t];c&&o.push(vr(c,n,r,i,a,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=Yw(c)?c.default:c;i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&vr(h,n,r,i,a,s)()}))}}return o}function HA(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function jh(e){const t=tt(gl),n=tt(yf),r=oe(()=>{const l=C(e.to);return t.resolve(l)}),s=oe(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Js.bind(null,c));if(d>-1)return d;const h=Bh(l[u-2]);return u>1&&Bh(c)===h&&f[f.length-1].path!==h?f.findIndex(Js.bind(null,l[u-2])):d}),o=oe(()=>s.value>-1&&WA(n.params,r.value.params)),i=oe(()=>s.value>-1&&s.value===n.matched.length-1&&C_(n.params,r.value.params));function a(l={}){return BA(l)?t[C(e.replace)?"replace":"push"](C(e.to)).catch(Fo):Promise.resolve()}return{route:r,href:oe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const jA=Re({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:jh,setup(e,{slots:t}){const n=rr(jh(e)),{options:r}=tt(gl),s=oe(()=>({[Wh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Wh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:uo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Ar=jA;function BA(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 WA(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!En(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Bh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wh=(e,t,n)=>e??t??n,zA=Re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=tt(ou),s=oe(()=>e.route||r.value),o=tt(Hh,0),i=oe(()=>{let u=C(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=oe(()=>s.value.matched[i.value]);on(Hh,oe(()=>i.value+1)),on(UA,a),on(ou,s);const l=te();return Et(()=>[l.value,a.value,e.name],([u,c,f],[d,h,m])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!Js(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return zh(n.default,{Component:d,route:u});const h=f.props[c],m=h?h===!0?u.params:typeof h=="function"?h(u):h:null,v=uo(d,He({},m,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return zh(n.default,{Component:v,route:u})||v}}});function zh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const $_=zA;function YA(e){const t=$A(e.routes,e),n=e.parseQuery||FA,r=e.stringifyQuery||Uh,s=e.history,o=Ao(),i=Ao(),a=Ao(),l=rf(fr);let u=fr;Os&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ql.bind(null,U=>""+U),f=ql.bind(null,oA),d=ql.bind(null,ni);function h(U,J){let X,ae;return x_(U)?(X=t.getRecordMatcher(U),ae=J):ae=U,t.addRoute(ae,X)}function m(U){const J=t.getRecordMatcher(U);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(U=>U.record)}function v(U){return!!t.getRecordMatcher(U)}function y(U,J){if(J=He({},J||l.value),typeof U=="string"){const b=Gl(n,U,J.path),I=t.resolve({path:b.path},J),H=s.createHref(b.fullPath);return He(b,I,{params:d(I.params),hash:ni(b.hash),redirectedFrom:void 0,href:H})}let X;if(U.path!=null)X=He({},U,{path:Gl(n,U.path,J.path).path});else{const b=He({},U.params);for(const I in b)b[I]==null&&delete b[I];X=He({},U,{params:f(b)}),J.params=f(J.params)}const ae=t.resolve(X,J),Te=U.hash||"";ae.params=c(d(ae.params));const Me=lA(r,He({},U,{hash:nA(Te),path:ae.path})),T=s.createHref(Me);return He({fullPath:Me,hash:Te,query:r===Uh?VA(U.query):U.query||{}},ae,{redirectedFrom:void 0,href:T})}function S(U){return typeof U=="string"?Gl(n,U,l.value.path):He({},U)}function E(U,J){if(u!==U)return Zs(8,{from:J,to:U})}function A(U){return k(U)}function x(U){return A(He(S(U),{replace:!0}))}function O(U){const J=U.matched[U.matched.length-1];if(J&&J.redirect){const{redirect:X}=J;let ae=typeof X=="function"?X(U):X;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=S(ae):{path:ae},ae.params={}),He({query:U.query,hash:U.hash,params:ae.path!=null?{}:U.params},ae)}}function k(U,J){const X=u=y(U),ae=l.value,Te=U.state,Me=U.force,T=U.replace===!0,b=O(X);if(b)return k(He(S(b),{state:typeof b=="object"?He({},Te,b.state):Te,force:Me,replace:T}),J||X);const I=X;I.redirectedFrom=J;let H;return!Me&&cA(r,ae,X)&&(H=Zs(16,{to:I,from:ae}),$e(ae,ae,!0,!1)),(H?Promise.resolve(H):V(I,ae)).catch(M=>Un(M)?Un(M,2)?M:Ee(M):ve(M,I,ae)).then(M=>{if(M){if(Un(M,2))return k(He({replace:T},S(M.to),{state:typeof M.to=="object"?He({},Te,M.to.state):Te,force:Me}),J||I)}else M=q(I,ae,!0,T,Te);return Y(I,ae,M),M})}function P(U,J){const X=E(U,J);return X?Promise.reject(X):Promise.resolve()}function $(U){const J=at.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(U):U()}function V(U,J){let X;const[ae,Te,Me]=KA(U,J);X=Xl(ae.reverse(),"beforeRouteLeave",U,J);for(const b of ae)b.leaveGuards.forEach(I=>{X.push(vr(I,U,J))});const T=P.bind(null,U,J);return X.push(T),Be(X).then(()=>{X=[];for(const b of o.list())X.push(vr(b,U,J));return X.push(T),Be(X)}).then(()=>{X=Xl(Te,"beforeRouteUpdate",U,J);for(const b of Te)b.updateGuards.forEach(I=>{X.push(vr(I,U,J))});return X.push(T),Be(X)}).then(()=>{X=[];for(const b of Me)if(b.beforeEnter)if(En(b.beforeEnter))for(const I of b.beforeEnter)X.push(vr(I,U,J));else X.push(vr(b.beforeEnter,U,J));return X.push(T),Be(X)}).then(()=>(U.matched.forEach(b=>b.enterCallbacks={}),X=Xl(Me,"beforeRouteEnter",U,J,$),X.push(T),Be(X))).then(()=>{X=[];for(const b of i.list())X.push(vr(b,U,J));return X.push(T),Be(X)}).catch(b=>Un(b,8)?b:Promise.reject(b))}function Y(U,J,X){a.list().forEach(ae=>$(()=>ae(U,J,X)))}function q(U,J,X,ae,Te){const Me=E(U,J);if(Me)return Me;const T=J===fr,b=Os?history.state:{};X&&(ae||T?s.replace(U.fullPath,He({scroll:T&&b&&b.scroll},Te)):s.push(U.fullPath,Te)),l.value=U,$e(U,J,X,T),Ee()}let le;function Ie(){le||(le=s.listen((U,J,X)=>{if(!ut.listening)return;const ae=y(U),Te=O(ae);if(Te){k(He(Te,{replace:!0}),ae).catch(Fo);return}u=ae;const Me=l.value;Os&&_A($h(Me.fullPath,X.delta),pl()),V(ae,Me).catch(T=>Un(T,12)?T:Un(T,2)?(k(T.to,ae).then(b=>{Un(b,20)&&!X.delta&&X.type===ri.pop&&s.go(-1,!1)}).catch(Fo),Promise.reject()):(X.delta&&s.go(-X.delta,!1),ve(T,ae,Me))).then(T=>{T=T||q(ae,Me,!1),T&&(X.delta&&!Un(T,8)?s.go(-X.delta,!1):X.type===ri.pop&&Un(T,20)&&s.go(-1,!1)),Y(ae,Me,T)}).catch(Fo)}))}let Ce=Ao(),ie=Ao(),fe;function ve(U,J,X){Ee(U);const ae=ie.list();return ae.length?ae.forEach(Te=>Te(U,J,X)):console.error(U),Promise.reject(U)}function je(){return fe&&l.value!==fr?Promise.resolve():new Promise((U,J)=>{Ce.add([U,J])})}function Ee(U){return fe||(fe=!U,Ie(),Ce.list().forEach(([J,X])=>U?X(U):J()),Ce.reset()),U}function $e(U,J,X,ae){const{scrollBehavior:Te}=e;if(!Os||!Te)return Promise.resolve();const Me=!X&&vA($h(U.fullPath,0))||(ae||!X)&&history.state&&history.state.scroll||null;return kr().then(()=>Te(U,J,Me)).then(T=>T&&gA(T)).catch(T=>ve(T,U,J))}const xe=U=>s.go(U);let bt;const at=new Set,ut={currentRoute:l,listening:!0,addRoute:h,removeRoute:m,hasRoute:v,getRoutes:g,resolve:y,options:e,push:A,replace:x,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:ie.add,isReady:je,install(U){const J=this;U.component("RouterLink",Ar),U.component("RouterView",$_),U.config.globalProperties.$router=J,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),Os&&!bt&&l.value===fr&&(bt=!0,A(s.location).catch(Te=>{}));const X={};for(const Te in fr)Object.defineProperty(X,Te,{get:()=>l.value[Te],enumerable:!0});U.provide(gl,J),U.provide(yf,cg(X)),U.provide(ou,l);const ae=U.unmount;at.add(U),U.unmount=function(){at.delete(U),at.size<1&&(u=fr,le&&le(),le=null,l.value=fr,bt=!1,fe=!1),ae()}}};function Be(U){return U.reduce((J,X)=>J.then(()=>$(X)),Promise.resolve())}return ut}function KA(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Js(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Js(u,l))||s.push(l))}return[n,r,s]}function gi(){return tt(gl)}function Ef(){return tt(yf)}const wf=Symbol(),Af=Symbol(),_l=Symbol(),vl=Symbol(),qA=p("defs",{id:"defs2"},null,-1),GA={"inkscape:label":"Layer 1","inkscape:groupmode":"layer",id:"layer1",transform:"translate(-51.241626,-83.781469)"},js=Re({__name:"IconJeobeardy",props:{height:{},width:{},bearColor:{default:"#e86a92ff"},questionmarkColor:{default:"#ffffff"}},setup(e){const t=e;return(n,r)=>(B(),G("svg",{style:sn([{height:t.height},{width:t.width}]),width:"103.44236mm",height:"80.726883mm",viewBox:"0 0 103.44236 80.726882",version:"1.1",id:"svg5","xml:space":"preserve","inkscape:version":"1.3.2 (091e20ef0f, 2023-11-25, custom)","sodipodi:docname":"jeobeardy_logo_min.svg","xmlns:inkscape":"http://www.inkscape.org/namespaces/inkscape","xmlns:sodipodi":"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"},[qA,p("g",GA,[p("path",{style:sn(`opacity:1;fill:${t.bearColor};fill-opacity:1;stroke:${t.bearColor};stroke-width:5;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers`),d:"m 89.597943,161.46239 c 4.957603,-11.31418 10.365454,-13.95841 18.872727,-16.46612 l -0.969,2.23271 10.17543,-3.72589 -1.44748,2.89495 c 7.77057,-2.08212 9.96019,-3.12838 17.29351,-0.22855 8.26326,-4.46932 15.33088,-3.99272 18.58862,-16.15077 0.39797,-1.48523 0.47248,-3.46705 -16.76023,-13.25582 0.6718,-1.59948 -0.64483,-6.30424 -1.44747,-7.69446 -11.87841,-11.878406 -22.82609,-9.786559 -25.14034,-11.122693 -5.10133,-2.945257 -5.77849,-9.894901 -10.741782,-10.89415 -6.64933,-1.781683 -10.639666,-0.422382 -8.015124,7.302597 -4.755054,-0.07748 -19.311199,0.225543 -19.311199,0.225543 l 4.218975,2.479364 -10.418322,0.541411 4.479459,2.526958 c -6.00567,0.93796 -10.085508,3.02646 -13.849528,6.19633 l 3.879167,3.25675 c 11.896264,-8.5256 27.407274,-7.5637 31.986403,1.85066 8.053096,14.19441 -5.364775,20.05902 -11.44594,30.07143 1.070396,5.80331 1.412146,7.38337 3.627235,11.42304 1.414891,2.45066 5.193343,11.34733 6.424889,8.53671 z",id:"path919","sodipodi:nodetypes":"sccccccccccccccccccccs"},null,4),p("path",{style:sn(`opacity:1;fill:none;stroke:${t.questionmarkColor};stroke-width:8;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1`),d:"m 57.671788,111.83817 c 4.776043,-5.45079 12.940609,-7.24498 19.118918,-7.24498 13.656487,0 13.875779,8.51413 14.475615,10.75275 0,14.09963 -13.925936,15.13618 -10.506511,27.69217 0.653123,2.43749 0.932727,3.34729 2.242618,6.17334",id:"path2566","sodipodi:nodetypes":"ccccc"},null,4),p("ellipse",{style:sn(`opacity:1;fill:${t.questionmarkColor};fill-opacity:1;stroke:${t.questionmarkColor};stroke-width:2.80661;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1`),id:"path2620",cy:"182.73756",cx:"-0.050881278",rx:"3.2998796",ry:"3.4343019",transform:"rotate(-29.11515)"},null,4)])],4))}}),Ql="theme",Yh={bsName:"dark",name:"theme.dark.name",icon:["fas","moon"]},XA={bsName:"light",name:"theme.light.name",icon:["fas","sun"]},QA={bsName:"high-contrast",name:"theme.high-contrast.name",icon:["fas","circle-half-stroke"]};function JA(){const e=te([Yh,XA,QA]);or(()=>{let n=localStorage.getItem(Ql);n==null&&(localStorage.setItem(Ql,"dark"),n="dark");const r=e.value.findIndex(o=>o.bsName===n);r!==-1&&(t.value=e.value[r]);const s=document.getElementsByTagName("html");s[0].dataset.bsTheme=t.value.bsName});const t=te(Yh);return Et(t,n=>{document.getElementsByTagName("html")[0].dataset.bsTheme=n.bsName,localStorage.setItem(Ql,n.bsName)}),{availableThemes:e,currentTheme:t}}const ZA={class:"theme-changer"},eT={class:"dropdown"},tT={class:"btn btn-sm btn-outline-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},nT={class:"dropdown-menu"},rT=["onClick"],sT=Re({__name:"ThemeChanger",setup(e){const{availableThemes:t,currentTheme:n}=JA(),{t:r}=ot();return(s,o)=>{const i=af("FontAwesomeIcon");return B(),G("div",ZA,[p("div",eT,[p("button",tT,[re(i,{icon:C(n).icon},null,8,["icon"])]),p("ul",nT,[(B(!0),G(ke,null,Kt(C(t),a=>(B(),G("li",{key:`theme-${a.bsName}`},[p("a",{class:It(["dropdown-item pointer",[{active:a.bsName===C(n).bsName}]]),onClick:l=>n.value=a},[re(i,{icon:a.icon},null,8,["icon"]),Ne(" "+j(C(r)(a.name)),1)],10,rT)]))),128))])])])}}});function Kh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Kh(Object(n),!0).forEach(function(r){gt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ra(e){"@babel/helpers - typeof";return Ra=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},Ra(e)}function oT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aT(e,t,n){return t&&iT(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tf(e,t){return cT(e)||fT(e,t)||L_(e,t)||hT()}function _i(e){return lT(e)||uT(e)||L_(e)||dT()}function lT(e){if(Array.isArray(e))return iu(e)}function cT(e){if(Array.isArray(e))return e}function uT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fT(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],s=!0,o=!1,i,a;try{for(n=n.call(e);!(s=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));s=!0);}catch(l){o=!0,a=l}finally{try{!s&&n.return!=null&&n.return()}finally{if(o)throw a}}return r}}function L_(e,t){if(e){if(typeof e=="string")return iu(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 iu(e,t)}}function iu(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 dT(){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 hT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var qh=function(){},Sf={},P_={},R_=null,D_={mark:qh,measure:qh};try{typeof window<"u"&&(Sf=window),typeof document<"u"&&(P_=document),typeof MutationObserver<"u"&&(R_=MutationObserver),typeof performance<"u"&&(D_=performance)}catch{}var mT=Sf.navigator||{},Gh=mT.userAgent,Xh=Gh===void 0?"":Gh,$r=Sf,Qe=P_,Qh=R_,Fi=D_;$r.document;var ir=!!Qe.documentElement&&!!Qe.head&&typeof Qe.addEventListener=="function"&&typeof Qe.createElement=="function",M_=~Xh.indexOf("MSIE")||~Xh.indexOf("Trident/"),Vi,Ui,Hi,ji,Bi,Jn="___FONT_AWESOME___",au=16,F_="fa",V_="svg-inline--fa",ds="data-fa-i2svg",lu="data-fa-pseudo-element",pT="data-fa-pseudo-element-pending",Cf="data-prefix",Of="data-icon",Jh="fontawesome-i2svg",gT="async",_T=["HTML","HEAD","STYLE","SCRIPT"],U_=function(){try{return!0}catch{return!1}}(),Ge="classic",rt="sharp",xf=[Ge,rt];function vi(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[Ge]}})}var si=vi((Vi={},gt(Vi,Ge,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),gt(Vi,rt,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Vi)),oi=vi((Ui={},gt(Ui,Ge,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),gt(Ui,rt,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Ui)),ii=vi((Hi={},gt(Hi,Ge,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),gt(Hi,rt,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Hi)),vT=vi((ji={},gt(ji,Ge,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),gt(ji,rt,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),ji)),bT=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,H_="fa-layers-text",yT=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,ET=vi((Bi={},gt(Bi,Ge,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),gt(Bi,rt,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Bi)),j_=[1,2,3,4,5,6,7,8,9,10],wT=j_.concat([11,12,13,14,15,16,17,18,19,20]),AT=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ts={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ai=new Set;Object.keys(oi[Ge]).map(ai.add.bind(ai));Object.keys(oi[rt]).map(ai.add.bind(ai));var TT=[].concat(xf,_i(ai),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",ts.GROUP,ts.SWAP_OPACITY,ts.PRIMARY,ts.SECONDARY]).concat(j_.map(function(e){return"".concat(e,"x")})).concat(wT.map(function(e){return"w-".concat(e)})),Uo=$r.FontAwesomeConfig||{};function ST(e){var t=Qe.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function CT(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Qe&&typeof Qe.querySelector=="function"){var OT=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];OT.forEach(function(e){var t=Tf(e,2),n=t[0],r=t[1],s=CT(ST(n));s!=null&&(Uo[r]=s)})}var B_={styleDefault:"solid",familyDefault:"classic",cssPrefix:F_,replacementClass:V_,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Uo.familyPrefix&&(Uo.cssPrefix=Uo.familyPrefix);var eo=se(se({},B_),Uo);eo.autoReplaceSvg||(eo.observeMutations=!1);var ce={};Object.keys(B_).forEach(function(e){Object.defineProperty(ce,e,{enumerable:!0,set:function(n){eo[e]=n,Ho.forEach(function(r){return r(ce)})},get:function(){return eo[e]}})});Object.defineProperty(ce,"familyPrefix",{enumerable:!0,set:function(t){eo.cssPrefix=t,Ho.forEach(function(n){return n(ce)})},get:function(){return eo.cssPrefix}});$r.FontAwesomeConfig=ce;var Ho=[];function xT(e){return Ho.push(e),function(){Ho.splice(Ho.indexOf(e),1)}}var dr=au,Nn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function NT(e){if(!(!e||!ir)){var t=Qe.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Qe.head.childNodes,r=null,s=n.length-1;s>-1;s--){var o=n[s],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=o)}return Qe.head.insertBefore(t,r),e}}var kT="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function li(){for(var e=12,t="";e-- >0;)t+=kT[Math.random()*62|0];return t}function ho(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Nf(e){return e.classList?ho(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function W_(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function IT(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(W_(e[n]),'" ')},"").trim()}function bl(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function kf(e){return e.size!==Nn.size||e.x!==Nn.x||e.y!==Nn.y||e.rotate!==Nn.rotate||e.flipX||e.flipY}function $T(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,s={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(i," ").concat(a)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:s,inner:l,path:u}}function LT(e){var t=e.transform,n=e.width,r=n===void 0?au:n,s=e.height,o=s===void 0?au:s,i=e.startCentered,a=i===void 0?!1:i,l="";return a&&M_?l+="translate(".concat(t.x/dr-r/2,"em, ").concat(t.y/dr-o/2,"em) "):a?l+="translate(calc(-50% + ".concat(t.x/dr,"em), calc(-50% + ").concat(t.y/dr,"em)) "):l+="translate(".concat(t.x/dr,"em, ").concat(t.y/dr,"em) "),l+="scale(".concat(t.size/dr*(t.flipX?-1:1),", ").concat(t.size/dr*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var PT=`:root, :host {
|
||
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
||
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
||
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
||
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
|
||
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
||
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
||
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
||
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
||
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
||
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
||
}
|
||
|
||
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
||
overflow: visible;
|
||
box-sizing: content-box;
|
||
}
|
||
|
||
.svg-inline--fa {
|
||
display: var(--fa-display, inline-block);
|
||
height: 1em;
|
||
overflow: visible;
|
||
vertical-align: -0.125em;
|
||
}
|
||
.svg-inline--fa.fa-2xs {
|
||
vertical-align: 0.1em;
|
||
}
|
||
.svg-inline--fa.fa-xs {
|
||
vertical-align: 0em;
|
||
}
|
||
.svg-inline--fa.fa-sm {
|
||
vertical-align: -0.0714285705em;
|
||
}
|
||
.svg-inline--fa.fa-lg {
|
||
vertical-align: -0.2em;
|
||
}
|
||
.svg-inline--fa.fa-xl {
|
||
vertical-align: -0.25em;
|
||
}
|
||
.svg-inline--fa.fa-2xl {
|
||
vertical-align: -0.3125em;
|
||
}
|
||
.svg-inline--fa.fa-pull-left {
|
||
margin-right: var(--fa-pull-margin, 0.3em);
|
||
width: auto;
|
||
}
|
||
.svg-inline--fa.fa-pull-right {
|
||
margin-left: var(--fa-pull-margin, 0.3em);
|
||
width: auto;
|
||
}
|
||
.svg-inline--fa.fa-li {
|
||
width: var(--fa-li-width, 2em);
|
||
top: 0.25em;
|
||
}
|
||
.svg-inline--fa.fa-fw {
|
||
width: var(--fa-fw-width, 1.25em);
|
||
}
|
||
|
||
.fa-layers svg.svg-inline--fa {
|
||
bottom: 0;
|
||
left: 0;
|
||
margin: auto;
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0;
|
||
}
|
||
|
||
.fa-layers-counter, .fa-layers-text {
|
||
display: inline-block;
|
||
position: absolute;
|
||
text-align: center;
|
||
}
|
||
|
||
.fa-layers {
|
||
display: inline-block;
|
||
height: 1em;
|
||
position: relative;
|
||
text-align: center;
|
||
vertical-align: -0.125em;
|
||
width: 1em;
|
||
}
|
||
.fa-layers svg.svg-inline--fa {
|
||
-webkit-transform-origin: center center;
|
||
transform-origin: center center;
|
||
}
|
||
|
||
.fa-layers-text {
|
||
left: 50%;
|
||
top: 50%;
|
||
-webkit-transform: translate(-50%, -50%);
|
||
transform: translate(-50%, -50%);
|
||
-webkit-transform-origin: center center;
|
||
transform-origin: center center;
|
||
}
|
||
|
||
.fa-layers-counter {
|
||
background-color: var(--fa-counter-background-color, #ff253a);
|
||
border-radius: var(--fa-counter-border-radius, 1em);
|
||
box-sizing: border-box;
|
||
color: var(--fa-inverse, #fff);
|
||
line-height: var(--fa-counter-line-height, 1);
|
||
max-width: var(--fa-counter-max-width, 5em);
|
||
min-width: var(--fa-counter-min-width, 1.5em);
|
||
overflow: hidden;
|
||
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
||
right: var(--fa-right, 0);
|
||
text-overflow: ellipsis;
|
||
top: var(--fa-top, 0);
|
||
-webkit-transform: scale(var(--fa-counter-scale, 0.25));
|
||
transform: scale(var(--fa-counter-scale, 0.25));
|
||
-webkit-transform-origin: top right;
|
||
transform-origin: top right;
|
||
}
|
||
|
||
.fa-layers-bottom-right {
|
||
bottom: var(--fa-bottom, 0);
|
||
right: var(--fa-right, 0);
|
||
top: auto;
|
||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
-webkit-transform-origin: bottom right;
|
||
transform-origin: bottom right;
|
||
}
|
||
|
||
.fa-layers-bottom-left {
|
||
bottom: var(--fa-bottom, 0);
|
||
left: var(--fa-left, 0);
|
||
right: auto;
|
||
top: auto;
|
||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
-webkit-transform-origin: bottom left;
|
||
transform-origin: bottom left;
|
||
}
|
||
|
||
.fa-layers-top-right {
|
||
top: var(--fa-top, 0);
|
||
right: var(--fa-right, 0);
|
||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
-webkit-transform-origin: top right;
|
||
transform-origin: top right;
|
||
}
|
||
|
||
.fa-layers-top-left {
|
||
left: var(--fa-left, 0);
|
||
right: auto;
|
||
top: var(--fa-top, 0);
|
||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||
transform: scale(var(--fa-layers-scale, 0.25));
|
||
-webkit-transform-origin: top left;
|
||
transform-origin: top left;
|
||
}
|
||
|
||
.fa-1x {
|
||
font-size: 1em;
|
||
}
|
||
|
||
.fa-2x {
|
||
font-size: 2em;
|
||
}
|
||
|
||
.fa-3x {
|
||
font-size: 3em;
|
||
}
|
||
|
||
.fa-4x {
|
||
font-size: 4em;
|
||
}
|
||
|
||
.fa-5x {
|
||
font-size: 5em;
|
||
}
|
||
|
||
.fa-6x {
|
||
font-size: 6em;
|
||
}
|
||
|
||
.fa-7x {
|
||
font-size: 7em;
|
||
}
|
||
|
||
.fa-8x {
|
||
font-size: 8em;
|
||
}
|
||
|
||
.fa-9x {
|
||
font-size: 9em;
|
||
}
|
||
|
||
.fa-10x {
|
||
font-size: 10em;
|
||
}
|
||
|
||
.fa-2xs {
|
||
font-size: 0.625em;
|
||
line-height: 0.1em;
|
||
vertical-align: 0.225em;
|
||
}
|
||
|
||
.fa-xs {
|
||
font-size: 0.75em;
|
||
line-height: 0.0833333337em;
|
||
vertical-align: 0.125em;
|
||
}
|
||
|
||
.fa-sm {
|
||
font-size: 0.875em;
|
||
line-height: 0.0714285718em;
|
||
vertical-align: 0.0535714295em;
|
||
}
|
||
|
||
.fa-lg {
|
||
font-size: 1.25em;
|
||
line-height: 0.05em;
|
||
vertical-align: -0.075em;
|
||
}
|
||
|
||
.fa-xl {
|
||
font-size: 1.5em;
|
||
line-height: 0.0416666682em;
|
||
vertical-align: -0.125em;
|
||
}
|
||
|
||
.fa-2xl {
|
||
font-size: 2em;
|
||
line-height: 0.03125em;
|
||
vertical-align: -0.1875em;
|
||
}
|
||
|
||
.fa-fw {
|
||
text-align: center;
|
||
width: 1.25em;
|
||
}
|
||
|
||
.fa-ul {
|
||
list-style-type: none;
|
||
margin-left: var(--fa-li-margin, 2.5em);
|
||
padding-left: 0;
|
||
}
|
||
.fa-ul > li {
|
||
position: relative;
|
||
}
|
||
|
||
.fa-li {
|
||
left: calc(var(--fa-li-width, 2em) * -1);
|
||
position: absolute;
|
||
text-align: center;
|
||
width: var(--fa-li-width, 2em);
|
||
line-height: inherit;
|
||
}
|
||
|
||
.fa-border {
|
||
border-color: var(--fa-border-color, #eee);
|
||
border-radius: var(--fa-border-radius, 0.1em);
|
||
border-style: var(--fa-border-style, solid);
|
||
border-width: var(--fa-border-width, 0.08em);
|
||
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
||
}
|
||
|
||
.fa-pull-left {
|
||
float: left;
|
||
margin-right: var(--fa-pull-margin, 0.3em);
|
||
}
|
||
|
||
.fa-pull-right {
|
||
float: right;
|
||
margin-left: var(--fa-pull-margin, 0.3em);
|
||
}
|
||
|
||
.fa-beat {
|
||
-webkit-animation-name: fa-beat;
|
||
animation-name: fa-beat;
|
||
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-bounce {
|
||
-webkit-animation-name: fa-bounce;
|
||
animation-name: fa-bounce;
|
||
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
||
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
||
}
|
||
|
||
.fa-fade {
|
||
-webkit-animation-name: fa-fade;
|
||
animation-name: fa-fade;
|
||
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
||
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
||
}
|
||
|
||
.fa-beat-fade {
|
||
-webkit-animation-name: fa-beat-fade;
|
||
animation-name: fa-beat-fade;
|
||
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
||
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
||
}
|
||
|
||
.fa-flip {
|
||
-webkit-animation-name: fa-flip;
|
||
animation-name: fa-flip;
|
||
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||
}
|
||
|
||
.fa-shake {
|
||
-webkit-animation-name: fa-shake;
|
||
animation-name: fa-shake;
|
||
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
||
animation-timing-function: var(--fa-animation-timing, linear);
|
||
}
|
||
|
||
.fa-spin {
|
||
-webkit-animation-name: fa-spin;
|
||
animation-name: fa-spin;
|
||
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
||
animation-delay: var(--fa-animation-delay, 0s);
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 2s);
|
||
animation-duration: var(--fa-animation-duration, 2s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
||
animation-timing-function: var(--fa-animation-timing, linear);
|
||
}
|
||
|
||
.fa-spin-reverse {
|
||
--fa-animation-direction: reverse;
|
||
}
|
||
|
||
.fa-pulse,
|
||
.fa-spin-pulse {
|
||
-webkit-animation-name: fa-spin;
|
||
animation-name: fa-spin;
|
||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||
animation-direction: var(--fa-animation-direction, normal);
|
||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||
animation-duration: var(--fa-animation-duration, 1s);
|
||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||
-webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
|
||
animation-timing-function: var(--fa-animation-timing, steps(8));
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.fa-beat,
|
||
.fa-bounce,
|
||
.fa-fade,
|
||
.fa-beat-fade,
|
||
.fa-flip,
|
||
.fa-pulse,
|
||
.fa-shake,
|
||
.fa-spin,
|
||
.fa-spin-pulse {
|
||
-webkit-animation-delay: -1ms;
|
||
animation-delay: -1ms;
|
||
-webkit-animation-duration: 1ms;
|
||
animation-duration: 1ms;
|
||
-webkit-animation-iteration-count: 1;
|
||
animation-iteration-count: 1;
|
||
-webkit-transition-delay: 0s;
|
||
transition-delay: 0s;
|
||
-webkit-transition-duration: 0s;
|
||
transition-duration: 0s;
|
||
}
|
||
}
|
||
@-webkit-keyframes fa-beat {
|
||
0%, 90% {
|
||
-webkit-transform: scale(1);
|
||
transform: scale(1);
|
||
}
|
||
45% {
|
||
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
||
transform: scale(var(--fa-beat-scale, 1.25));
|
||
}
|
||
}
|
||
@keyframes fa-beat {
|
||
0%, 90% {
|
||
-webkit-transform: scale(1);
|
||
transform: scale(1);
|
||
}
|
||
45% {
|
||
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
||
transform: scale(var(--fa-beat-scale, 1.25));
|
||
}
|
||
}
|
||
@-webkit-keyframes fa-bounce {
|
||
0% {
|
||
-webkit-transform: scale(1, 1) translateY(0);
|
||
transform: scale(1, 1) translateY(0);
|
||
}
|
||
10% {
|
||
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
||
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
||
}
|
||
30% {
|
||
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
||
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
||
}
|
||
50% {
|
||
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
||
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
||
}
|
||
57% {
|
||
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
||
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
||
}
|
||
64% {
|
||
-webkit-transform: scale(1, 1) translateY(0);
|
||
transform: scale(1, 1) translateY(0);
|
||
}
|
||
100% {
|
||
-webkit-transform: scale(1, 1) translateY(0);
|
||
transform: scale(1, 1) translateY(0);
|
||
}
|
||
}
|
||
@keyframes fa-bounce {
|
||
0% {
|
||
-webkit-transform: scale(1, 1) translateY(0);
|
||
transform: scale(1, 1) translateY(0);
|
||
}
|
||
10% {
|
||
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
||
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
||
}
|
||
30% {
|
||
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
||
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
||
}
|
||
50% {
|
||
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
||
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
||
}
|
||
57% {
|
||
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
||
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
||
}
|
||
64% {
|
||
-webkit-transform: scale(1, 1) translateY(0);
|
||
transform: scale(1, 1) translateY(0);
|
||
}
|
||
100% {
|
||
-webkit-transform: scale(1, 1) translateY(0);
|
||
transform: scale(1, 1) translateY(0);
|
||
}
|
||
}
|
||
@-webkit-keyframes fa-fade {
|
||
50% {
|
||
opacity: var(--fa-fade-opacity, 0.4);
|
||
}
|
||
}
|
||
@keyframes fa-fade {
|
||
50% {
|
||
opacity: var(--fa-fade-opacity, 0.4);
|
||
}
|
||
}
|
||
@-webkit-keyframes fa-beat-fade {
|
||
0%, 100% {
|
||
opacity: var(--fa-beat-fade-opacity, 0.4);
|
||
-webkit-transform: scale(1);
|
||
transform: scale(1);
|
||
}
|
||
50% {
|
||
opacity: 1;
|
||
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
||
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
||
}
|
||
}
|
||
@keyframes fa-beat-fade {
|
||
0%, 100% {
|
||
opacity: var(--fa-beat-fade-opacity, 0.4);
|
||
-webkit-transform: scale(1);
|
||
transform: scale(1);
|
||
}
|
||
50% {
|
||
opacity: 1;
|
||
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
||
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
||
}
|
||
}
|
||
@-webkit-keyframes fa-flip {
|
||
50% {
|
||
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
||
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
||
}
|
||
}
|
||
@keyframes fa-flip {
|
||
50% {
|
||
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
||
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
||
}
|
||
}
|
||
@-webkit-keyframes fa-shake {
|
||
0% {
|
||
-webkit-transform: rotate(-15deg);
|
||
transform: rotate(-15deg);
|
||
}
|
||
4% {
|
||
-webkit-transform: rotate(15deg);
|
||
transform: rotate(15deg);
|
||
}
|
||
8%, 24% {
|
||
-webkit-transform: rotate(-18deg);
|
||
transform: rotate(-18deg);
|
||
}
|
||
12%, 28% {
|
||
-webkit-transform: rotate(18deg);
|
||
transform: rotate(18deg);
|
||
}
|
||
16% {
|
||
-webkit-transform: rotate(-22deg);
|
||
transform: rotate(-22deg);
|
||
}
|
||
20% {
|
||
-webkit-transform: rotate(22deg);
|
||
transform: rotate(22deg);
|
||
}
|
||
32% {
|
||
-webkit-transform: rotate(-12deg);
|
||
transform: rotate(-12deg);
|
||
}
|
||
36% {
|
||
-webkit-transform: rotate(12deg);
|
||
transform: rotate(12deg);
|
||
}
|
||
40%, 100% {
|
||
-webkit-transform: rotate(0deg);
|
||
transform: rotate(0deg);
|
||
}
|
||
}
|
||
@keyframes fa-shake {
|
||
0% {
|
||
-webkit-transform: rotate(-15deg);
|
||
transform: rotate(-15deg);
|
||
}
|
||
4% {
|
||
-webkit-transform: rotate(15deg);
|
||
transform: rotate(15deg);
|
||
}
|
||
8%, 24% {
|
||
-webkit-transform: rotate(-18deg);
|
||
transform: rotate(-18deg);
|
||
}
|
||
12%, 28% {
|
||
-webkit-transform: rotate(18deg);
|
||
transform: rotate(18deg);
|
||
}
|
||
16% {
|
||
-webkit-transform: rotate(-22deg);
|
||
transform: rotate(-22deg);
|
||
}
|
||
20% {
|
||
-webkit-transform: rotate(22deg);
|
||
transform: rotate(22deg);
|
||
}
|
||
32% {
|
||
-webkit-transform: rotate(-12deg);
|
||
transform: rotate(-12deg);
|
||
}
|
||
36% {
|
||
-webkit-transform: rotate(12deg);
|
||
transform: rotate(12deg);
|
||
}
|
||
40%, 100% {
|
||
-webkit-transform: rotate(0deg);
|
||
transform: rotate(0deg);
|
||
}
|
||
}
|
||
@-webkit-keyframes fa-spin {
|
||
0% {
|
||
-webkit-transform: rotate(0deg);
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
-webkit-transform: rotate(360deg);
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
@keyframes fa-spin {
|
||
0% {
|
||
-webkit-transform: rotate(0deg);
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
-webkit-transform: rotate(360deg);
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
.fa-rotate-90 {
|
||
-webkit-transform: rotate(90deg);
|
||
transform: rotate(90deg);
|
||
}
|
||
|
||
.fa-rotate-180 {
|
||
-webkit-transform: rotate(180deg);
|
||
transform: rotate(180deg);
|
||
}
|
||
|
||
.fa-rotate-270 {
|
||
-webkit-transform: rotate(270deg);
|
||
transform: rotate(270deg);
|
||
}
|
||
|
||
.fa-flip-horizontal {
|
||
-webkit-transform: scale(-1, 1);
|
||
transform: scale(-1, 1);
|
||
}
|
||
|
||
.fa-flip-vertical {
|
||
-webkit-transform: scale(1, -1);
|
||
transform: scale(1, -1);
|
||
}
|
||
|
||
.fa-flip-both,
|
||
.fa-flip-horizontal.fa-flip-vertical {
|
||
-webkit-transform: scale(-1, -1);
|
||
transform: scale(-1, -1);
|
||
}
|
||
|
||
.fa-rotate-by {
|
||
-webkit-transform: rotate(var(--fa-rotate-angle, 0));
|
||
transform: rotate(var(--fa-rotate-angle, 0));
|
||
}
|
||
|
||
.fa-stack {
|
||
display: inline-block;
|
||
vertical-align: middle;
|
||
height: 2em;
|
||
position: relative;
|
||
width: 2.5em;
|
||
}
|
||
|
||
.fa-stack-1x,
|
||
.fa-stack-2x {
|
||
bottom: 0;
|
||
left: 0;
|
||
margin: auto;
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0;
|
||
z-index: var(--fa-stack-z-index, auto);
|
||
}
|
||
|
||
.svg-inline--fa.fa-stack-1x {
|
||
height: 1em;
|
||
width: 1.25em;
|
||
}
|
||
.svg-inline--fa.fa-stack-2x {
|
||
height: 2em;
|
||
width: 2.5em;
|
||
}
|
||
|
||
.fa-inverse {
|
||
color: var(--fa-inverse, #fff);
|
||
}
|
||
|
||
.sr-only,
|
||
.fa-sr-only {
|
||
position: absolute;
|
||
width: 1px;
|
||
height: 1px;
|
||
padding: 0;
|
||
margin: -1px;
|
||
overflow: hidden;
|
||
clip: rect(0, 0, 0, 0);
|
||
white-space: nowrap;
|
||
border-width: 0;
|
||
}
|
||
|
||
.sr-only-focusable:not(:focus),
|
||
.fa-sr-only-focusable:not(:focus) {
|
||
position: absolute;
|
||
width: 1px;
|
||
height: 1px;
|
||
padding: 0;
|
||
margin: -1px;
|
||
overflow: hidden;
|
||
clip: rect(0, 0, 0, 0);
|
||
white-space: nowrap;
|
||
border-width: 0;
|
||
}
|
||
|
||
.svg-inline--fa .fa-primary {
|
||
fill: var(--fa-primary-color, currentColor);
|
||
opacity: var(--fa-primary-opacity, 1);
|
||
}
|
||
|
||
.svg-inline--fa .fa-secondary {
|
||
fill: var(--fa-secondary-color, currentColor);
|
||
opacity: var(--fa-secondary-opacity, 0.4);
|
||
}
|
||
|
||
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
||
opacity: var(--fa-secondary-opacity, 0.4);
|
||
}
|
||
|
||
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
||
opacity: var(--fa-primary-opacity, 1);
|
||
}
|
||
|
||
.svg-inline--fa mask .fa-primary,
|
||
.svg-inline--fa mask .fa-secondary {
|
||
fill: black;
|
||
}
|
||
|
||
.fad.fa-inverse,
|
||
.fa-duotone.fa-inverse {
|
||
color: var(--fa-inverse, #fff);
|
||
}`;function z_(){var e=F_,t=V_,n=ce.cssPrefix,r=ce.replacementClass,s=PT;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");s=s.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(a,".".concat(r))}return s}var Zh=!1;function Jl(){ce.autoAddCss&&!Zh&&(NT(z_()),Zh=!0)}var RT={mixout:function(){return{dom:{css:z_,insertCss:Jl}}},hooks:function(){return{beforeDOMElementCreation:function(){Jl()},beforeI2svg:function(){Jl()}}}},Zn=$r||{};Zn[Jn]||(Zn[Jn]={});Zn[Jn].styles||(Zn[Jn].styles={});Zn[Jn].hooks||(Zn[Jn].hooks={});Zn[Jn].shims||(Zn[Jn].shims=[]);var vn=Zn[Jn],Y_=[],DT=function e(){Qe.removeEventListener("DOMContentLoaded",e),Da=1,Y_.map(function(t){return t()})},Da=!1;ir&&(Da=(Qe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Qe.readyState),Da||Qe.addEventListener("DOMContentLoaded",DT));function MT(e){ir&&(Da?setTimeout(e,0):Y_.push(e))}function bi(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,s=e.children,o=s===void 0?[]:s;return typeof e=="string"?W_(e):"<".concat(t," ").concat(IT(r),">").concat(o.map(bi).join(""),"</").concat(t,">")}function em(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Zl=function(t,n,r,s){var o=Object.keys(t),i=o.length,a=n,l,u,c;for(r===void 0?(l=1,c=t[o[0]]):(l=0,c=r);l<i;l++)u=o[l],c=a(c,t[u],u,t);return c};function FT(e){for(var t=[],n=0,r=e.length;n<r;){var s=e.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){var o=e.charCodeAt(n++);(o&64512)==56320?t.push(((s&1023)<<10)+(o&1023)+65536):(t.push(s),n--)}else t.push(s)}return t}function cu(e){var t=FT(e);return t.length===1?t[0].toString(16):null}function VT(e,t){var n=e.length,r=e.charCodeAt(t),s;return r>=55296&&r<=56319&&n>t+1&&(s=e.charCodeAt(t+1),s>=56320&&s<=57343)?(r-55296)*1024+s-56320+65536:r}function tm(e){return Object.keys(e).reduce(function(t,n){var r=e[n],s=!!r.icon;return s?t[r.iconName]=r.icon:t[n]=r,t},{})}function uu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,s=r===void 0?!1:r,o=tm(t);typeof vn.hooks.addPack=="function"&&!s?vn.hooks.addPack(e,tm(t)):vn.styles[e]=se(se({},vn.styles[e]||{}),o),e==="fas"&&uu("fa",t)}var Wi,zi,Yi,Ls=vn.styles,UT=vn.shims,HT=(Wi={},gt(Wi,Ge,Object.values(ii[Ge])),gt(Wi,rt,Object.values(ii[rt])),Wi),If=null,K_={},q_={},G_={},X_={},Q_={},jT=(zi={},gt(zi,Ge,Object.keys(si[Ge])),gt(zi,rt,Object.keys(si[rt])),zi);function BT(e){return~TT.indexOf(e)}function WT(e,t){var n=t.split("-"),r=n[0],s=n.slice(1).join("-");return r===e&&s!==""&&!BT(s)?s:null}var J_=function(){var t=function(o){return Zl(Ls,function(i,a,l){return i[l]=Zl(a,o,{}),i},{})};K_=t(function(s,o,i){if(o[3]&&(s[o[3]]=i),o[2]){var a=o[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){s[l.toString(16)]=i})}return s}),q_=t(function(s,o,i){if(s[i]=i,o[2]){var a=o[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){s[l]=i})}return s}),Q_=t(function(s,o,i){var a=o[2];return s[i]=i,a.forEach(function(l){s[l]=i}),s});var n="far"in Ls||ce.autoFetchSvg,r=Zl(UT,function(s,o){var i=o[0],a=o[1],l=o[2];return a==="far"&&!n&&(a="fas"),typeof i=="string"&&(s.names[i]={prefix:a,iconName:l}),typeof i=="number"&&(s.unicodes[i.toString(16)]={prefix:a,iconName:l}),s},{names:{},unicodes:{}});G_=r.names,X_=r.unicodes,If=yl(ce.styleDefault,{family:ce.familyDefault})};xT(function(e){If=yl(e.styleDefault,{family:ce.familyDefault})});J_();function $f(e,t){return(K_[e]||{})[t]}function zT(e,t){return(q_[e]||{})[t]}function ns(e,t){return(Q_[e]||{})[t]}function Z_(e){return G_[e]||{prefix:null,iconName:null}}function YT(e){var t=X_[e],n=$f("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Lr(){return If}var Lf=function(){return{prefix:null,iconName:null,rest:[]}};function yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?Ge:n,s=si[r][e],o=oi[r][e]||oi[r][s],i=e in vn.styles?e:null;return o||i||null}var nm=(Yi={},gt(Yi,Ge,Object.keys(ii[Ge])),gt(Yi,rt,Object.keys(ii[rt])),Yi);function El(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,s=r===void 0?!1:r,o=(t={},gt(t,Ge,"".concat(ce.cssPrefix,"-").concat(Ge)),gt(t,rt,"".concat(ce.cssPrefix,"-").concat(rt)),t),i=null,a=Ge;(e.includes(o[Ge])||e.some(function(u){return nm[Ge].includes(u)}))&&(a=Ge),(e.includes(o[rt])||e.some(function(u){return nm[rt].includes(u)}))&&(a=rt);var l=e.reduce(function(u,c){var f=WT(ce.cssPrefix,c);if(Ls[c]?(c=HT[a].includes(c)?vT[a][c]:c,i=c,u.prefix=c):jT[a].indexOf(c)>-1?(i=c,u.prefix=yl(c,{family:a})):f?u.iconName=f:c!==ce.replacementClass&&c!==o[Ge]&&c!==o[rt]&&u.rest.push(c),!s&&u.prefix&&u.iconName){var d=i==="fa"?Z_(u.iconName):{},h=ns(u.prefix,u.iconName);d.prefix&&(i=null),u.iconName=d.iconName||h||u.iconName,u.prefix=d.prefix||u.prefix,u.prefix==="far"&&!Ls.far&&Ls.fas&&!ce.autoFetchSvg&&(u.prefix="fas")}return u},Lf());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&a===rt&&(Ls.fass||ce.autoFetchSvg)&&(l.prefix="fass",l.iconName=ns(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||i==="fa")&&(l.prefix=Lr()||"fas"),l}var KT=function(){function e(){oT(this,e),this.definitions={}}return aT(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];var i=s.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(a){n.definitions[a]=se(se({},n.definitions[a]||{}),i[a]),uu(a,i[a]);var l=ii[Ge][a];l&&uu(l,i[a]),J_()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var s=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(s).map(function(o){var i=s[o],a=i.prefix,l=i.iconName,u=i.icon,c=u[2];n[a]||(n[a]={}),c.length>0&&c.forEach(function(f){typeof f=="string"&&(n[a][f]=u)}),n[a][l]=u}),n}}]),e}(),rm=[],Ps={},Bs={},qT=Object.keys(Bs);function GT(e,t){var n=t.mixoutsTo;return rm=e,Ps={},Object.keys(Bs).forEach(function(r){qT.indexOf(r)===-1&&delete Bs[r]}),rm.forEach(function(r){var s=r.mixout?r.mixout():{};if(Object.keys(s).forEach(function(i){typeof s[i]=="function"&&(n[i]=s[i]),Ra(s[i])==="object"&&Object.keys(s[i]).forEach(function(a){n[i]||(n[i]={}),n[i][a]=s[i][a]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(i){Ps[i]||(Ps[i]=[]),Ps[i].push(o[i])})}r.provides&&r.provides(Bs)}),n}function fu(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s<n;s++)r[s-2]=arguments[s];var o=Ps[e]||[];return o.forEach(function(i){t=i.apply(null,[t].concat(r))}),t}function hs(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var s=Ps[e]||[];s.forEach(function(o){o.apply(null,n)})}function er(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Bs[e]?Bs[e].apply(null,t):void 0}function du(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Lr();if(t)return t=ns(n,t)||t,em(ev.definitions,n,t)||em(vn.styles,n,t)}var ev=new KT,XT=function(){ce.autoReplaceSvg=!1,ce.observeMutations=!1,hs("noAuto")},QT={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ir?(hs("beforeI2svg",t),er("pseudoElements2svg",t),er("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;ce.autoReplaceSvg===!1&&(ce.autoReplaceSvg=!0),ce.observeMutations=!0,MT(function(){ZT({autoReplaceSvgRoot:n}),hs("watch",t)})}},JT={icon:function(t){if(t===null)return null;if(Ra(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:ns(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=yl(t[0]);return{prefix:r,iconName:ns(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(ce.cssPrefix,"-"))>-1||t.match(bT))){var s=El(t.split(" "),{skipLookups:!0});return{prefix:s.prefix||Lr(),iconName:ns(s.prefix,s.iconName)||s.iconName}}if(typeof t=="string"){var o=Lr();return{prefix:o,iconName:ns(o,t)||t}}}},Zt={noAuto:XT,config:ce,dom:QT,parse:JT,library:ev,findIconDefinition:du,toHtml:bi},ZT=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Qe:n;(Object.keys(vn.styles).length>0||ce.autoFetchSvg)&&ir&&ce.autoReplaceSvg&&Zt.dom.i2svg({node:r})};function wl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return bi(r)})}}),Object.defineProperty(e,"node",{get:function(){if(ir){var r=Qe.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function eS(e){var t=e.children,n=e.main,r=e.mask,s=e.attributes,o=e.styles,i=e.transform;if(kf(i)&&n.found&&!r.found){var a=n.width,l=n.height,u={x:a/l/2,y:.5};s.style=bl(se(se({},o),{},{"transform-origin":"".concat(u.x+i.x/16,"em ").concat(u.y+i.y/16,"em")}))}return[{tag:"svg",attributes:s,children:t}]}function tS(e){var t=e.prefix,n=e.iconName,r=e.children,s=e.attributes,o=e.symbol,i=o===!0?"".concat(t,"-").concat(ce.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:se(se({},s),{},{id:i}),children:r}]}]}function Pf(e){var t=e.icons,n=t.main,r=t.mask,s=e.prefix,o=e.iconName,i=e.transform,a=e.symbol,l=e.title,u=e.maskId,c=e.titleId,f=e.extra,d=e.watchable,h=d===void 0?!1:d,m=r.found?r:n,g=m.width,v=m.height,y=s==="fak",S=[ce.replacementClass,o?"".concat(ce.cssPrefix,"-").concat(o):""].filter(function($){return f.classes.indexOf($)===-1}).filter(function($){return $!==""||!!$}).concat(f.classes).join(" "),E={children:[],attributes:se(se({},f.attributes),{},{"data-prefix":s,"data-icon":o,class:S,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},A=y&&!~f.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};h&&(E.attributes[ds]=""),l&&(E.children.push({tag:"title",attributes:{id:E.attributes["aria-labelledby"]||"title-".concat(c||li())},children:[l]}),delete E.attributes.title);var x=se(se({},E),{},{prefix:s,iconName:o,main:n,mask:r,maskId:u,transform:i,symbol:a,styles:se(se({},A),f.styles)}),O=r.found&&n.found?er("generateAbstractMask",x)||{children:[],attributes:{}}:er("generateAbstractIcon",x)||{children:[],attributes:{}},k=O.children,P=O.attributes;return x.children=k,x.attributes=P,a?tS(x):eS(x)}function sm(e){var t=e.content,n=e.width,r=e.height,s=e.transform,o=e.title,i=e.extra,a=e.watchable,l=a===void 0?!1:a,u=se(se(se({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")});l&&(u[ds]="");var c=se({},i.styles);kf(s)&&(c.transform=LT({transform:s,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var f=bl(c);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function nS(e){var t=e.content,n=e.title,r=e.extra,s=se(se(se({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=bl(r.styles);o.length>0&&(s.style=o);var i=[];return i.push({tag:"span",attributes:s,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}var ec=vn.styles;function hu(e){var t=e[0],n=e[1],r=e.slice(4),s=Tf(r,1),o=s[0],i=null;return Array.isArray(o)?i={tag:"g",attributes:{class:"".concat(ce.cssPrefix,"-").concat(ts.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ce.cssPrefix,"-").concat(ts.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(ce.cssPrefix,"-").concat(ts.PRIMARY),fill:"currentColor",d:o[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:n,icon:i}}var rS={found:!1,width:512,height:512};function sS(e,t){!U_&&!ce.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function mu(e,t){var n=t;return t==="fa"&&ce.styleDefault!==null&&(t=Lr()),new Promise(function(r,s){if(er("missingIconAbstract"),n==="fa"){var o=Z_(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&ec[t]&&ec[t][e]){var i=ec[t][e];return r(hu(i))}sS(e,t),r(se(se({},rS),{},{icon:ce.showMissingIcons&&e?er("missingIconAbstract")||{}:{}}))})}var om=function(){},pu=ce.measurePerformance&&Fi&&Fi.mark&&Fi.measure?Fi:{mark:om,measure:om},xo='FA "6.5.2"',oS=function(t){return pu.mark("".concat(xo," ").concat(t," begins")),function(){return tv(t)}},tv=function(t){pu.mark("".concat(xo," ").concat(t," ends")),pu.measure("".concat(xo," ").concat(t),"".concat(xo," ").concat(t," begins"),"".concat(xo," ").concat(t," ends"))},Rf={begin:oS,end:tv},da=function(){};function im(e){var t=e.getAttribute?e.getAttribute(ds):null;return typeof t=="string"}function iS(e){var t=e.getAttribute?e.getAttribute(Cf):null,n=e.getAttribute?e.getAttribute(Of):null;return t&&n}function aS(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ce.replacementClass)}function lS(){if(ce.autoReplaceSvg===!0)return ha.replace;var e=ha[ce.autoReplaceSvg];return e||ha.replace}function cS(e){return Qe.createElementNS("http://www.w3.org/2000/svg",e)}function uS(e){return Qe.createElement(e)}function nv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?cS:uS:n;if(typeof e=="string")return Qe.createTextNode(e);var s=r(e.tag);Object.keys(e.attributes||[]).forEach(function(i){s.setAttribute(i,e.attributes[i])});var o=e.children||[];return o.forEach(function(i){s.appendChild(nv(i,{ceFn:r}))}),s}function fS(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var ha={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(s){n.parentNode.insertBefore(nv(s),n)}),n.getAttribute(ds)===null&&ce.keepOriginalSource){var r=Qe.createComment(fS(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Nf(n).indexOf(ce.replacementClass))return ha.replace(t);var s=new RegExp("".concat(ce.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(a,l){return l===ce.replacementClass||l.match(s)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var i=r.map(function(a){return bi(a)}).join(`
|
||
`);n.setAttribute(ds,""),n.innerHTML=i}};function am(e){e()}function rv(e,t){var n=typeof t=="function"?t:da;if(e.length===0)n();else{var r=am;ce.mutateApproach===gT&&(r=$r.requestAnimationFrame||am),r(function(){var s=lS(),o=Rf.begin("mutate");e.map(s),o(),n()})}}var Df=!1;function sv(){Df=!0}function gu(){Df=!1}var Ma=null;function lm(e){if(Qh&&ce.observeMutations){var t=e.treeCallback,n=t===void 0?da:t,r=e.nodeCallback,s=r===void 0?da:r,o=e.pseudoElementsCallback,i=o===void 0?da:o,a=e.observeMutationsRoot,l=a===void 0?Qe:a;Ma=new Qh(function(u){if(!Df){var c=Lr();ho(u).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!im(f.addedNodes[0])&&(ce.searchPseudoElements&&i(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&ce.searchPseudoElements&&i(f.target.parentNode),f.type==="attributes"&&im(f.target)&&~AT.indexOf(f.attributeName))if(f.attributeName==="class"&&iS(f.target)){var d=El(Nf(f.target)),h=d.prefix,m=d.iconName;f.target.setAttribute(Cf,h||c),m&&f.target.setAttribute(Of,m)}else aS(f.target)&&s(f.target)})}}),ir&&Ma.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function dS(){Ma&&Ma.disconnect()}function hS(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,s){var o=s.split(":"),i=o[0],a=o.slice(1);return i&&a.length>0&&(r[i]=a.join(":").trim()),r},{})),n}function mS(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",s=El(Nf(e));return s.prefix||(s.prefix=Lr()),t&&n&&(s.prefix=t,s.iconName=n),s.iconName&&s.prefix||(s.prefix&&r.length>0&&(s.iconName=zT(s.prefix,e.innerText)||$f(s.prefix,cu(e.innerText))),!s.iconName&&ce.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function pS(e){var t=ho(e.attributes).reduce(function(s,o){return s.name!=="class"&&s.name!=="style"&&(s[o.name]=o.value),s},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ce.autoA11y&&(n?t["aria-labelledby"]="".concat(ce.replacementClass,"-title-").concat(r||li()):(t["aria-hidden"]="true",t.focusable="false")),t}function gS(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Nn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function cm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=mS(e),r=n.iconName,s=n.prefix,o=n.rest,i=pS(e),a=fu("parseNodeAttributes",{},e),l=t.styleParser?hS(e):[];return se({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:s,transform:Nn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:i}},a)}var _S=vn.styles;function ov(e){var t=ce.autoReplaceSvg==="nest"?cm(e,{styleParser:!1}):cm(e);return~t.extra.classes.indexOf(H_)?er("generateLayersText",e,t):er("generateSvgReplacementMutation",e,t)}var Pr=new Set;xf.map(function(e){Pr.add("fa-".concat(e))});Object.keys(si[Ge]).map(Pr.add.bind(Pr));Object.keys(si[rt]).map(Pr.add.bind(Pr));Pr=_i(Pr);function um(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ir)return Promise.resolve();var n=Qe.documentElement.classList,r=function(f){return n.add("".concat(Jh,"-").concat(f))},s=function(f){return n.remove("".concat(Jh,"-").concat(f))},o=ce.autoFetchSvg?Pr:xf.map(function(c){return"fa-".concat(c)}).concat(Object.keys(_S));o.includes("fa")||o.push("fa");var i=[".".concat(H_,":not([").concat(ds,"])")].concat(o.map(function(c){return".".concat(c,":not([").concat(ds,"])")})).join(", ");if(i.length===0)return Promise.resolve();var a=[];try{a=ho(e.querySelectorAll(i))}catch{}if(a.length>0)r("pending"),s("complete");else return Promise.resolve();var l=Rf.begin("onTree"),u=a.reduce(function(c,f){try{var d=ov(f);d&&c.push(d)}catch(h){U_||h.name==="MissingIcon"&&console.error(h)}return c},[]);return new Promise(function(c,f){Promise.all(u).then(function(d){rv(d,function(){r("active"),r("complete"),s("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(d){l(),f(d)})})}function vS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ov(e).then(function(n){n&&rv([n],t)})}function bS(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:du(t||{}),s=n.mask;return s&&(s=(s||{}).icon?s:du(s||{})),e(r,se(se({},n),{},{mask:s}))}}var yS=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,s=r===void 0?Nn:r,o=n.symbol,i=o===void 0?!1:o,a=n.mask,l=a===void 0?null:a,u=n.maskId,c=u===void 0?null:u,f=n.title,d=f===void 0?null:f,h=n.titleId,m=h===void 0?null:h,g=n.classes,v=g===void 0?[]:g,y=n.attributes,S=y===void 0?{}:y,E=n.styles,A=E===void 0?{}:E;if(t){var x=t.prefix,O=t.iconName,k=t.icon;return wl(se({type:"icon"},t),function(){return hs("beforeDOMElementCreation",{iconDefinition:t,params:n}),ce.autoA11y&&(d?S["aria-labelledby"]="".concat(ce.replacementClass,"-title-").concat(m||li()):(S["aria-hidden"]="true",S.focusable="false")),Pf({icons:{main:hu(k),mask:l?hu(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:O,transform:se(se({},Nn),s),symbol:i,title:d,maskId:c,titleId:m,extra:{attributes:S,styles:A,classes:v}})})}},ES={mixout:function(){return{icon:bS(yS)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=um,n.nodeCallback=vS,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,s=r===void 0?Qe:r,o=n.callback,i=o===void 0?function(){}:o;return um(s,i)},t.generateSvgReplacementMutation=function(n,r){var s=r.iconName,o=r.title,i=r.titleId,a=r.prefix,l=r.transform,u=r.symbol,c=r.mask,f=r.maskId,d=r.extra;return new Promise(function(h,m){Promise.all([mu(s,a),c.iconName?mu(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(g){var v=Tf(g,2),y=v[0],S=v[1];h([n,Pf({icons:{main:y,mask:S},prefix:a,iconName:s,transform:l,symbol:u,maskId:f,title:o,titleId:i,extra:d,watchable:!0})])}).catch(m)})},t.generateAbstractIcon=function(n){var r=n.children,s=n.attributes,o=n.main,i=n.transform,a=n.styles,l=bl(a);l.length>0&&(s.style=l);var u;return kf(i)&&(u=er("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),r.push(u||o.icon),{children:r,attributes:s}}}},wS={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.classes,o=s===void 0?[]:s;return wl({type:"layer"},function(){hs("beforeDOMElementCreation",{assembler:n,params:r});var i=[];return n(function(a){Array.isArray(a)?a.map(function(l){i=i.concat(l.abstract)}):i=i.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(ce.cssPrefix,"-layers")].concat(_i(o)).join(" ")},children:i}]})}}}},AS={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.title,o=s===void 0?null:s,i=r.classes,a=i===void 0?[]:i,l=r.attributes,u=l===void 0?{}:l,c=r.styles,f=c===void 0?{}:c;return wl({type:"counter",content:n},function(){return hs("beforeDOMElementCreation",{content:n,params:r}),nS({content:n.toString(),title:o,extra:{attributes:u,styles:f,classes:["".concat(ce.cssPrefix,"-layers-counter")].concat(_i(a))}})})}}}},TS={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.transform,o=s===void 0?Nn:s,i=r.title,a=i===void 0?null:i,l=r.classes,u=l===void 0?[]:l,c=r.attributes,f=c===void 0?{}:c,d=r.styles,h=d===void 0?{}:d;return wl({type:"text",content:n},function(){return hs("beforeDOMElementCreation",{content:n,params:r}),sm({content:n,transform:se(se({},Nn),o),title:a,extra:{attributes:f,styles:h,classes:["".concat(ce.cssPrefix,"-layers-text")].concat(_i(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var s=r.title,o=r.transform,i=r.extra,a=null,l=null;if(M_){var u=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();a=c.width/u,l=c.height/u}return ce.autoA11y&&!s&&(i.attributes["aria-hidden"]="true"),Promise.resolve([n,sm({content:n.innerHTML,width:a,height:l,transform:o,title:s,extra:i,watchable:!0})])}}},SS=new RegExp('"',"ug"),fm=[1105920,1112319];function CS(e){var t=e.replace(SS,""),n=VT(t,0),r=n>=fm[0]&&n<=fm[1],s=t.length===2?t[0]===t[1]:!1;return{value:cu(s?t[0]:t),isSecondary:r||s}}function dm(e,t){var n="".concat(pT).concat(t.replace(":","-"));return new Promise(function(r,s){if(e.getAttribute(n)!==null)return r();var o=ho(e.children),i=o.filter(function(k){return k.getAttribute(lu)===t})[0],a=$r.getComputedStyle(e,t),l=a.getPropertyValue("font-family").match(yT),u=a.getPropertyValue("font-weight"),c=a.getPropertyValue("content");if(i&&!l)return e.removeChild(i),r();if(l&&c!=="none"&&c!==""){var f=a.getPropertyValue("content"),d=~["Sharp"].indexOf(l[2])?rt:Ge,h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?oi[d][l[2].toLowerCase()]:ET[d][u],m=CS(f),g=m.value,v=m.isSecondary,y=l[0].startsWith("FontAwesome"),S=$f(h,g),E=S;if(y){var A=YT(g);A.iconName&&A.prefix&&(S=A.iconName,h=A.prefix)}if(S&&!v&&(!i||i.getAttribute(Cf)!==h||i.getAttribute(Of)!==E)){e.setAttribute(n,E),i&&e.removeChild(i);var x=gS(),O=x.extra;O.attributes[lu]=t,mu(S,h).then(function(k){var P=Pf(se(se({},x),{},{icons:{main:k,mask:Lf()},prefix:h,iconName:E,extra:O,watchable:!0})),$=Qe.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore($,e.firstChild):e.appendChild($),$.outerHTML=P.map(function(V){return bi(V)}).join(`
|
||
`),e.removeAttribute(n),r()}).catch(s)}else r()}else r()})}function OS(e){return Promise.all([dm(e,"::before"),dm(e,"::after")])}function xS(e){return e.parentNode!==document.head&&!~_T.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(lu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function hm(e){if(ir)return new Promise(function(t,n){var r=ho(e.querySelectorAll("*")).filter(xS).map(OS),s=Rf.begin("searchPseudoElements");sv(),Promise.all(r).then(function(){s(),gu(),t()}).catch(function(){s(),gu(),n()})})}var NS={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=hm,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,s=r===void 0?Qe:r;ce.searchPseudoElements&&hm(s)}}},mm=!1,kS={mixout:function(){return{dom:{unwatch:function(){sv(),mm=!0}}}},hooks:function(){return{bootstrap:function(){lm(fu("mutationObserverCallbacks",{}))},noAuto:function(){dS()},watch:function(n){var r=n.observeMutationsRoot;mm?gu():lm(fu("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},pm=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,s){var o=s.toLowerCase().split("-"),i=o[0],a=o.slice(1).join("-");if(i&&a==="h")return r.flipX=!0,r;if(i&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(i){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},IS={mixout:function(){return{parse:{transform:function(n){return pm(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-transform");return s&&(n.transform=pm(s)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,s=n.transform,o=n.containerWidth,i=n.iconWidth,a={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(s.x*32,", ").concat(s.y*32,") "),u="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),c="rotate(".concat(s.rotate," 0 0)"),f={transform:"".concat(l," ").concat(u," ").concat(c)},d={transform:"translate(".concat(i/2*-1," -256)")},h={outer:a,inner:f,path:d};return{tag:"g",attributes:se({},h.outer),children:[{tag:"g",attributes:se({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:se(se({},r.icon.attributes),h.path)}]}]}}}},tc={x:0,y:0,width:"100%",height:"100%"};function gm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function $S(e){return e.tag==="g"?e.children:[e]}var LS={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-mask"),o=s?El(s.split(" ").map(function(i){return i.trim()})):Lf();return o.prefix||(o.prefix=Lr()),n.mask=o,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,s=n.attributes,o=n.main,i=n.mask,a=n.maskId,l=n.transform,u=o.width,c=o.icon,f=i.width,d=i.icon,h=$T({transform:l,containerWidth:f,iconWidth:u}),m={tag:"rect",attributes:se(se({},tc),{},{fill:"white"})},g=c.children?{children:c.children.map(gm)}:{},v={tag:"g",attributes:se({},h.inner),children:[gm(se({tag:c.tag,attributes:se(se({},c.attributes),h.path)},g))]},y={tag:"g",attributes:se({},h.outer),children:[v]},S="mask-".concat(a||li()),E="clip-".concat(a||li()),A={tag:"mask",attributes:se(se({},tc),{},{id:S,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,y]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:E},children:$S(d)},A]};return r.push(x,{tag:"rect",attributes:se({fill:"currentColor","clip-path":"url(#".concat(E,")"),mask:"url(#".concat(S,")")},tc)}),{children:r,attributes:s}}}},PS={provides:function(t){var n=!1;$r.matchMedia&&(n=$r.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],s={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:se(se({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=se(se({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:se(se({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:se(se({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:se(se({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:se(se({},s),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:se(se({},i),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:se(se({},s),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:se(se({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},RS={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-symbol"),o=s===null?!1:s===""?!0:s;return n.symbol=o,n}}}},DS=[RT,ES,wS,AS,TS,NS,kS,IS,LS,PS,RS];GT(DS,{mixoutsTo:Zt});Zt.noAuto;Zt.config;var MS=Zt.library;Zt.dom;var _u=Zt.parse;Zt.findIconDefinition;Zt.toHtml;var FS=Zt.icon;Zt.layer;Zt.text;Zt.counter;function _m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Bn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_m(Object(n),!0).forEach(function(r){Dt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_m(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function VS(e,t){if(typeof e!="object"||!e)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 US(e){var t=VS(e,"string");return typeof t=="symbol"?t:t+""}function Fa(e){"@babel/helpers - typeof";return Fa=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},Fa(e)}function Dt(e,t,n){return t=US(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HS(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function jS(e,t){if(e==null)return{};var n=HS(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var BS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},iv={exports:{}};(function(e){(function(t){var n=function(y,S,E){if(!u(S)||f(S)||d(S)||h(S)||l(S))return S;var A,x=0,O=0;if(c(S))for(A=[],O=S.length;x<O;x++)A.push(n(y,S[x],E));else{A={};for(var k in S)Object.prototype.hasOwnProperty.call(S,k)&&(A[y(k,E)]=n(y,S[k],E))}return A},r=function(y,S){S=S||{};var E=S.separator||"_",A=S.split||/(?=[A-Z])/;return y.split(A).join(E)},s=function(y){return m(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(S,E){return E?E.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},o=function(y){var S=s(y);return S.substr(0,1).toUpperCase()+S.substr(1)},i=function(y,S){return r(y,S).toLowerCase()},a=Object.prototype.toString,l=function(y){return typeof y=="function"},u=function(y){return y===Object(y)},c=function(y){return a.call(y)=="[object Array]"},f=function(y){return a.call(y)=="[object Date]"},d=function(y){return a.call(y)=="[object RegExp]"},h=function(y){return a.call(y)=="[object Boolean]"},m=function(y){return y=y-0,y===y},g=function(y,S){var E=S&&"process"in S?S.process:S;return typeof E!="function"?y:function(A,x){return E(A,y,x)}},v={camelize:s,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(y,S){return n(g(s,S),y)},decamelizeKeys:function(y,S){return n(g(i,S),y,S)},pascalizeKeys:function(y,S){return n(g(o,S),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=v:t.humps=v})(BS)})(iv);var WS=iv.exports,zS=["class","style"];function YS(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),s=WS.camelize(n.slice(0,r)),o=n.slice(r+1).trim();return t[s]=o,t},{})}function KS(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function av(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return av(l)}),s=Object.keys(e.attributes||{}).reduce(function(l,u){var c=e.attributes[u];switch(u){case"class":l.class=KS(c);break;case"style":l.style=YS(c);break;default:l.attrs[u]=c}return l},{attrs:{},class:{},style:{}});n.class;var o=n.style,i=o===void 0?{}:o,a=jS(n,zS);return uo(e.tag,Bn(Bn(Bn({},t),{},{class:s.class,style:Bn(Bn({},s.style),i)},s.attrs),a),r)}var lv=!1;try{lv=!0}catch{}function qS(){if(!lv&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function nc(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Dt({},e,t):{}}function GS(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),"fa-flash",e.flash),Dt(Dt(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function vm(e){if(e&&Fa(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(_u.icon)return _u.icon(e);if(e===null)return null;if(Fa(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var Se=Re({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,s=oe(function(){return vm(t.icon)}),o=oe(function(){return nc("classes",GS(t))}),i=oe(function(){return nc("transform",typeof t.transform=="string"?_u.transform(t.transform):t.transform)}),a=oe(function(){return nc("mask",vm(t.mask))}),l=oe(function(){return FS(s.value,Bn(Bn(Bn(Bn({},o.value),i.value),a.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});Et(l,function(c){if(!c)return qS("Could not find one or more icon(s)",s.value,a.value)},{immediate:!0});var u=oe(function(){return l.value?av(l.value.abstract[0],{},r):null});return function(){return u.value}}});const XS={class:"dropdown"},QS={class:"btn btn-sm btn-outline-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},JS={class:"dropdown-menu"},ZS=["onClick"],bm="locale",eC=Re({__name:"LocaleChanger",setup(e){const t=ot(),{t:n}=t;return or(()=>{const r=localStorage.getItem(bm);r!==null&&(t.locale.value=r)}),Et(()=>t.locale.value,r=>{localStorage.setItem(bm,r)}),(r,s)=>(B(),G("div",XS,[p("button",QS,[re(C(Se),{icon:["fas","globe"]})]),p("ul",JS,[(B(!0),G(ke,null,Kt(r.$i18n.availableLocales,o=>(B(),G("li",{key:`locale-${o}`},[p("a",{onClick:i=>r.$i18n.locale=o,class:It(["dropdown-item pointer",[{active:r.$i18n.locale===o}]])},j(C(n)(`i18n.${o}.name`)),11,ZS)]))),128))])]))}});var tC={VITE_API_BASE_URL:"/api",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_API_BASE_URL:nC,...rC}=tC,pn={API_BASE_URL:nC,__vite__:rC};console.debug(pn);function cv(e,t){return function(){return e.apply(t,arguments)}}const{toString:sC}=Object.prototype,{getPrototypeOf:Mf}=Object,Al=(e=>t=>{const n=sC.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),wn=e=>(e=e.toLowerCase(),t=>Al(t)===e),Tl=e=>t=>typeof t===e,{isArray:mo}=Array,ci=Tl("undefined");function oC(e){return e!==null&&!ci(e)&&e.constructor!==null&&!ci(e.constructor)&&qt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const uv=wn("ArrayBuffer");function iC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&uv(e.buffer),t}const aC=Tl("string"),qt=Tl("function"),fv=Tl("number"),Sl=e=>e!==null&&typeof e=="object",lC=e=>e===!0||e===!1,ma=e=>{if(Al(e)!=="object")return!1;const t=Mf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cC=wn("Date"),uC=wn("File"),fC=wn("Blob"),dC=wn("FileList"),hC=e=>Sl(e)&&qt(e.pipe),mC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||qt(e.append)&&((t=Al(e))==="formdata"||t==="object"&&qt(e.toString)&&e.toString()==="[object FormData]"))},pC=wn("URLSearchParams"),[gC,_C,vC,bC]=["ReadableStream","Request","Response","Headers"].map(wn),yC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),mo(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function dv(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,hv=e=>!ci(e)&&e!==rs;function vu(){const{caseless:e}=hv(this)&&this||{},t={},n=(r,s)=>{const o=e&&dv(t,s)||s;ma(t[o])&&ma(r)?t[o]=vu(t[o],r):ma(r)?t[o]=vu({},r):mo(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&yi(arguments[r],n);return t}const EC=(e,t,n,{allOwnKeys:r}={})=>(yi(t,(s,o)=>{n&&qt(s)?e[o]=cv(s,n):e[o]=s},{allOwnKeys:r}),e),wC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),AC=(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)},TC=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Mf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},SC=(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},CC=e=>{if(!e)return null;if(mo(e))return e;let t=e.length;if(!fv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},OC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Mf(Uint8Array)),xC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},NC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kC=wn("HTMLFormElement"),IC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ym=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),$C=wn("RegExp"),mv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};yi(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},LC=e=>{mv(e,(t,n)=>{if(qt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(qt(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+"'")})}})},PC=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return mo(e)?r(e):r(String(e).split(t)),n},RC=()=>{},DC=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,rc="abcdefghijklmnopqrstuvwxyz",Em="0123456789",pv={DIGIT:Em,ALPHA:rc,ALPHA_DIGIT:rc+rc.toUpperCase()+Em},MC=(e=16,t=pv.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function FC(e){return!!(e&&qt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const VC=e=>{const t=new Array(10),n=(r,s)=>{if(Sl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=mo(r)?[]:{};return yi(r,(i,a)=>{const l=n(i,s+1);!ci(l)&&(o[a]=l)}),t[s]=void 0,o}}return r};return n(e,0)},UC=wn("AsyncFunction"),HC=e=>e&&(Sl(e)||qt(e))&&qt(e.then)&&qt(e.catch),gv=((e,t)=>e?setImmediate:t?((n,r)=>(rs.addEventListener("message",({source:s,data:o})=>{s===rs&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),rs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",qt(rs.postMessage)),jC=typeof queueMicrotask<"u"?queueMicrotask.bind(rs):typeof process<"u"&&process.nextTick||gv,D={isArray:mo,isArrayBuffer:uv,isBuffer:oC,isFormData:mC,isArrayBufferView:iC,isString:aC,isNumber:fv,isBoolean:lC,isObject:Sl,isPlainObject:ma,isReadableStream:gC,isRequest:_C,isResponse:vC,isHeaders:bC,isUndefined:ci,isDate:cC,isFile:uC,isBlob:fC,isRegExp:$C,isFunction:qt,isStream:hC,isURLSearchParams:pC,isTypedArray:OC,isFileList:dC,forEach:yi,merge:vu,extend:EC,trim:yC,stripBOM:wC,inherits:AC,toFlatObject:TC,kindOf:Al,kindOfTest:wn,endsWith:SC,toArray:CC,forEachEntry:xC,matchAll:NC,isHTMLForm:kC,hasOwnProperty:ym,hasOwnProp:ym,reduceDescriptors:mv,freezeMethods:LC,toObjectSet:PC,toCamelCase:IC,noop:RC,toFiniteNumber:DC,findKey:dv,global:rs,isContextDefined:hv,ALPHABET:pv,generateString:MC,isSpecCompliantForm:FC,toJSONObject:VC,isAsyncFn:UC,isThenable:HC,setImmediate:gv,asap:jC};function we(e,t,n,r,s){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),s&&(this.response=s,this.status=s.status?s.status:null)}D.inherits(we,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:D.toJSONObject(this.config),code:this.code,status:this.status}}});const _v=we.prototype,vv={};["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=>{vv[e]={value:e}});Object.defineProperties(we,vv);Object.defineProperty(_v,"isAxiosError",{value:!0});we.from=(e,t,n,r,s,o)=>{const i=Object.create(_v);return D.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),we.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const BC=null;function bu(e){return D.isPlainObject(e)||D.isArray(e)}function bv(e){return D.endsWith(e,"[]")?e.slice(0,-2):e}function wm(e,t,n){return e?e.concat(t).map(function(s,o){return s=bv(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function WC(e){return D.isArray(e)&&!e.some(bu)}const zC=D.toFlatObject(D,{},null,function(t){return/^is[A-Z]/.test(t)});function Cl(e,t,n){if(!D.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=D.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!D.isUndefined(v[g])});const r=n.metaTokens,s=n.visitor||c,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&D.isSpecCompliantForm(t);if(!D.isFunction(s))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(D.isDate(m))return m.toISOString();if(!l&&D.isBlob(m))throw new we("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(m)||D.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,g,v){let y=m;if(m&&!v&&typeof m=="object"){if(D.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(D.isArray(m)&&WC(m)||(D.isFileList(m)||D.endsWith(g,"[]"))&&(y=D.toArray(m)))return g=bv(g),y.forEach(function(E,A){!(D.isUndefined(E)||E===null)&&t.append(i===!0?wm([g],A,o):i===null?g:g+"[]",u(E))}),!1}return bu(m)?!0:(t.append(wm(v,g,o),u(m)),!1)}const f=[],d=Object.assign(zC,{defaultVisitor:c,convertValue:u,isVisitable:bu});function h(m,g){if(!D.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(m),D.forEach(m,function(y,S){(!(D.isUndefined(y)||y===null)&&s.call(t,y,D.isString(S)?S.trim():S,g,d))===!0&&h(y,g?g.concat(S):[S])}),f.pop()}}if(!D.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Am(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ff(e,t){this._pairs=[],e&&Cl(e,this,t)}const yv=Ff.prototype;yv.append=function(t,n){this._pairs.push([t,n])};yv.toString=function(t){const n=t?function(r){return t.call(this,r,Am)}:Am;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function YC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ev(e,t,n){if(!t)return e;const r=n&&n.encode||YC,s=n&&n.serialize;let o;if(s?o=s(t,n):o=D.isURLSearchParams(t)?t.toString():new Ff(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Tm{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){D.forEach(this.handlers,function(r){r!==null&&t(r)})}}const wv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},KC=typeof URLSearchParams<"u"?URLSearchParams:Ff,qC=typeof FormData<"u"?FormData:null,GC=typeof Blob<"u"?Blob:null,XC={isBrowser:!0,classes:{URLSearchParams:KC,FormData:qC,Blob:GC},protocols:["http","https","file","blob","url","data"]},Vf=typeof window<"u"&&typeof document<"u",yu=typeof navigator=="object"&&navigator||void 0,QC=Vf&&(!yu||["ReactNative","NativeScript","NS"].indexOf(yu.product)<0),JC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ZC=Vf&&window.location.href||"http://localhost",e2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vf,hasStandardBrowserEnv:QC,hasStandardBrowserWebWorkerEnv:JC,navigator:yu,origin:ZC},Symbol.toStringTag,{value:"Module"})),Gt={...e2,...XC};function t2(e,t){return Cl(e,new Gt.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return Gt.isNode&&D.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function n2(e){return D.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function r2(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Av(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=o>=n.length;return i=!i&&D.isArray(s)?s.length:i,l?(D.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!D.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&D.isArray(s[i])&&(s[i]=r2(s[i])),!a)}if(D.isFormData(e)&&D.isFunction(e.entries)){const n={};return D.forEachEntry(e,(r,s)=>{t(n2(r),s,n,0)}),n}return null}function s2(e,t,n){if(D.isString(e))try{return(t||JSON.parse)(e),D.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ei={transitional:wv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=D.isObject(t);if(o&&D.isHTMLForm(t)&&(t=new FormData(t)),D.isFormData(t))return s?JSON.stringify(Av(t)):t;if(D.isArrayBuffer(t)||D.isBuffer(t)||D.isStream(t)||D.isFile(t)||D.isBlob(t)||D.isReadableStream(t))return t;if(D.isArrayBufferView(t))return t.buffer;if(D.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 t2(t,this.formSerializer).toString();if((a=D.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Cl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),s2(t)):t}],transformResponse:[function(t){const n=this.transitional||Ei.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(D.isResponse(t)||D.isReadableStream(t))return t;if(t&&D.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?we.from(a,we.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:Gt.classes.FormData,Blob:Gt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch"],e=>{Ei.headers[e]={}});const o2=D.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"]),i2=e=>{const t={};let n,r,s;return e&&e.split(`
|
||
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&o2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Sm=Symbol("internals");function To(e){return e&&String(e).trim().toLowerCase()}function pa(e){return e===!1||e==null?e:D.isArray(e)?e.map(pa):String(e)}function a2(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 l2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function sc(e,t,n,r,s){if(D.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!D.isString(t)){if(D.isString(r))return t.indexOf(r)!==-1;if(D.isRegExp(r))return r.test(t)}}function c2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function u2(e,t){const n=D.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let Vt=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,u){const c=To(l);if(!c)throw new Error("header name must be a non-empty string");const f=D.findKey(s,c);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||l]=pa(a))}const i=(a,l)=>D.forEach(a,(u,c)=>o(u,c,l));if(D.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(D.isString(t)&&(t=t.trim())&&!l2(t))i(i2(t),n);else if(D.isHeaders(t))for(const[a,l]of t.entries())o(l,a,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=To(t),t){const r=D.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return a2(s);if(D.isFunction(n))return n.call(this,s,r);if(D.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=To(t),t){const r=D.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||sc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=To(i),i){const a=D.findKey(r,i);a&&(!n||sc(r,r[a],a,n))&&(delete r[a],s=!0)}}return D.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||sc(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return D.forEach(this,(s,o)=>{const i=D.findKey(r,o);if(i){n[i]=pa(s),delete n[o];return}const a=t?c2(o):String(o).trim();a!==o&&delete n[o],n[a]=pa(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return D.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&D.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(s=>r.set(s)),r}static accessor(t){const r=(this[Sm]=this[Sm]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=To(i);r[a]||(u2(s,i),r[a]=!0)}return D.isArray(t)?t.forEach(o):o(t),this}};Vt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);D.reduceDescriptors(Vt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});D.freezeMethods(Vt);function oc(e,t){const n=this||Ei,r=t||n,s=Vt.from(r.headers);let o=r.data;return D.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Tv(e){return!!(e&&e.__CANCEL__)}function po(e,t,n){we.call(this,e??"canceled",we.ERR_CANCELED,t,n),this.name="CanceledError"}D.inherits(po,we,{__CANCEL__:!0});function Sv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new we("Request failed with status code "+n.status,[we.ERR_BAD_REQUEST,we.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function f2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function d2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];i||(i=u),n[s]=l,r[s]=u;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const h=c&&u-c;return h?Math.round(d*1e3/h):void 0}}function h2(e,t){let n=0,r=1e3/t,s,o;const i=(u,c=Date.now())=>{n=c,s=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const Va=(e,t,n=3)=>{let r=0;const s=d2(50,250);return h2(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-r,u=s(l),c=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-i)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Cm=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Om=e=>(...t)=>D.asap(()=>e(...t)),m2=Gt.hasStandardBrowserEnv?function(){const t=Gt.navigator&&/(msie|trident)/i.test(Gt.navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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=s(window.location.href),function(i){const a=D.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),p2=Gt.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];D.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),D.isString(r)&&i.push("path="+r),D.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function g2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Cv(e,t){return e&&!g2(t)?_2(e,t):t}const xm=e=>e instanceof Vt?{...e}:e;function ms(e,t){t=t||{};const n={};function r(u,c,f){return D.isPlainObject(u)&&D.isPlainObject(c)?D.merge.call({caseless:f},u,c):D.isPlainObject(c)?D.merge({},c):D.isArray(c)?c.slice():c}function s(u,c,f){if(D.isUndefined(c)){if(!D.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function o(u,c){if(!D.isUndefined(c))return r(void 0,c)}function i(u,c){if(D.isUndefined(c)){if(!D.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c)=>s(xm(u),xm(c),!0)};return D.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||s,d=f(e[c],t[c],c);D.isUndefined(d)&&f!==a||(n[c]=d)}),n}const Ov=e=>{const t=ms({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=Vt.from(i),t.url=Ev(Cv(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(D.isFormData(n)){if(Gt.hasStandardBrowserEnv||Gt.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Gt.hasStandardBrowserEnv&&(r&&D.isFunction(r)&&(r=r(t)),r||r!==!1&&m2(t.url))){const u=s&&o&&p2.read(o);u&&i.set(s,u)}return t},v2=typeof XMLHttpRequest<"u",b2=v2&&function(e){return new Promise(function(n,r){const s=Ov(e);let o=s.data;const i=Vt.from(s.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=s,c,f,d,h,m;function g(){h&&h(),m&&m(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(s.method.toUpperCase(),s.url,!0),v.timeout=s.timeout;function y(){if(!v)return;const E=Vt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),x={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};Sv(function(k){n(k),g()},function(k){r(k),g()},x),v=null}"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(y)},v.onabort=function(){v&&(r(new we("Request aborted",we.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new we("Network Error",we.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let A=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const x=s.transitional||wv;s.timeoutErrorMessage&&(A=s.timeoutErrorMessage),r(new we(A,x.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&D.forEach(i.toJSON(),function(A,x){v.setRequestHeader(x,A)}),D.isUndefined(s.withCredentials)||(v.withCredentials=!!s.withCredentials),a&&a!=="json"&&(v.responseType=s.responseType),u&&([d,m]=Va(u,!0),v.addEventListener("progress",d)),l&&v.upload&&([f,h]=Va(l),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",h)),(s.cancelToken||s.signal)&&(c=E=>{v&&(r(!E||E.type?new po(null,e,v):E),v.abort(),v=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const S=f2(s.url);if(S&&Gt.protocols.indexOf(S)===-1){r(new we("Unsupported protocol "+S+":",we.ERR_BAD_REQUEST,e));return}v.send(o||null)})},y2=(e,t)=>{let n=new AbortController,r;const s=function(l){if(!r){r=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof we?u:new po(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{s(new we(`timeout ${t} of ms exceeded`,we.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",s):l.unsubscribe(s))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",s));const{signal:a}=n;return a.unsubscribe=i,[a,()=>{o&&clearTimeout(o),o=null}]},E2=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},w2=async function*(e,t,n){for await(const r of e)yield*E2(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Nm=(e,t,n,r,s)=>{const o=w2(e,t,s);let i=0,a,l=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:f}=await o.next();if(c){l(),u.close();return}let d=f.byteLength;if(n){let h=i+=d;n(h)}u.enqueue(new Uint8Array(f))}catch(c){throw l(c),c}},cancel(u){return l(u),o.return()}},{highWaterMark:2})},Ol=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",xv=Ol&&typeof ReadableStream=="function",Eu=Ol&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Nv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},A2=xv&&Nv(()=>{let e=!1;const t=new Request(Gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),km=64*1024,wu=xv&&Nv(()=>D.isReadableStream(new Response("").body)),Ua={stream:wu&&(e=>e.body)};Ol&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ua[t]&&(Ua[t]=D.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new we(`Response type '${t}' is not supported`,we.ERR_NOT_SUPPORT,r)})})})(new Response);const T2=async e=>{if(e==null)return 0;if(D.isBlob(e))return e.size;if(D.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(D.isArrayBufferView(e)||D.isArrayBuffer(e))return e.byteLength;if(D.isURLSearchParams(e)&&(e=e+""),D.isString(e))return(await Eu(e)).byteLength},S2=async(e,t)=>{const n=D.toFiniteNumber(e.getContentLength());return n??T2(t)},C2=Ol&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=Ov(e);u=u?(u+"").toLowerCase():"text";let[h,m]=s||o||i?y2([s,o],i):[],g,v;const y=()=>{!g&&setTimeout(()=>{h&&h.unsubscribe()}),g=!0};let S;try{if(l&&A2&&n!=="get"&&n!=="head"&&(S=await S2(c,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),P;if(D.isFormData(r)&&(P=k.headers.get("content-type"))&&c.setContentType(P),k.body){const[$,V]=Cm(S,Va(Om(l)));r=Nm(k.body,km,$,V,Eu)}}D.isString(f)||(f=f?"include":"omit");const E="credentials"in Request.prototype;v=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:E?f:void 0});let A=await fetch(v);const x=wu&&(u==="stream"||u==="response");if(wu&&(a||x)){const k={};["status","statusText","headers"].forEach(Y=>{k[Y]=A[Y]});const P=D.toFiniteNumber(A.headers.get("content-length")),[$,V]=a&&Cm(P,Va(Om(a),!0))||[];A=new Response(Nm(A.body,km,$,()=>{V&&V(),x&&y()},Eu),k)}u=u||"text";let O=await Ua[D.findKey(Ua,u)||"text"](A,e);return!x&&y(),m&&m(),await new Promise((k,P)=>{Sv(k,P,{data:O,headers:Vt.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:v})})}catch(E){throw y(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new we("Network Error",we.ERR_NETWORK,e,v),{cause:E.cause||E}):we.from(E,E&&E.code,e,v)}}),Au={http:BC,xhr:b2,fetch:C2};D.forEach(Au,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Im=e=>`- ${e}`,O2=e=>D.isFunction(e)||e===null||e===!1,kv={getAdapter:e=>{e=D.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!O2(n)&&(r=Au[(i=String(n)).toLowerCase()],r===void 0))throw new we(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
|
||
`+o.map(Im).join(`
|
||
`):" "+Im(o[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Au};function ic(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new po(null,e)}function $m(e){return ic(e),e.headers=Vt.from(e.headers),e.data=oc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),kv.getAdapter(e.adapter||Ei.adapter)(e).then(function(r){return ic(e),r.data=oc.call(e,e.transformResponse,r),r.headers=Vt.from(r.headers),r},function(r){return Tv(r)||(ic(e),r&&r.response&&(r.response.data=oc.call(e,e.transformResponse,r.response),r.response.headers=Vt.from(r.response.headers))),Promise.reject(r)})}const Iv="1.7.5",Uf={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Uf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Lm={};Uf.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Iv+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new we(s(i," has been removed"+(n?" in "+n:"")),we.ERR_DEPRECATED);return n&&!Lm[i]&&(Lm[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function x2(e,t,n){if(typeof e!="object")throw new we("options must be an object",we.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new we("option "+o+" must be "+l,we.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new we("Unknown option "+o,we.ERR_BAD_OPTION)}}const Tu={assertOptions:x2,validators:Uf},hr=Tu.validators;let cs=class{constructor(t){this.defaults=t,this.interceptors={request:new Tm,response:new Tm}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ms(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Tu.assertOptions(r,{silentJSONParsing:hr.transitional(hr.boolean),forcedJSONParsing:hr.transitional(hr.boolean),clarifyTimeoutError:hr.transitional(hr.boolean)},!1),s!=null&&(D.isFunction(s)?n.paramsSerializer={serialize:s}:Tu.assertOptions(s,{encode:hr.function,serialize:hr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&D.merge(o.common,o[n.method]);o&&D.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=Vt.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let c,f=0,d;if(!l){const m=[$m.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,u),d=m.length,c=Promise.resolve(n);f<d;)c=c.then(m[f++],m[f++]);return c}d=a.length;let h=n;for(f=0;f<d;){const m=a[f++],g=a[f++];try{h=m(h)}catch(v){g.call(this,v);break}}try{c=$m.call(this,h)}catch(m){return Promise.reject(m)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=ms(this.defaults,t);const n=Cv(t.baseURL,t.url);return Ev(n,t.params,t.paramsSerializer)}};D.forEach(["delete","get","head","options"],function(t){cs.prototype[t]=function(n,r){return this.request(ms(r||{},{method:t,url:n,data:(r||{}).data}))}});D.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(ms(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}cs.prototype[t]=n(),cs.prototype[t+"Form"]=n(!0)});let N2=class $v{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(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new po(o,i,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 $v(function(s){t=s}),cancel:t}}};function k2(e){return function(n){return e.apply(null,n)}}function I2(e){return D.isObject(e)&&e.isAxiosError===!0}const Su={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(Su).forEach(([e,t])=>{Su[t]=e});function Lv(e){const t=new cs(e),n=cv(cs.prototype.request,t);return D.extend(n,cs.prototype,t,{allOwnKeys:!0}),D.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Lv(ms(e,s))},n}const Ve=Lv(Ei);Ve.Axios=cs;Ve.CanceledError=po;Ve.CancelToken=N2;Ve.isCancel=Tv;Ve.VERSION=Iv;Ve.toFormData=Cl;Ve.AxiosError=we;Ve.Cancel=Ve.CanceledError;Ve.all=function(t){return Promise.all(t)};Ve.spread=k2;Ve.isAxiosError=I2;Ve.mergeConfig=ms;Ve.AxiosHeaders=Vt;Ve.formToJSON=e=>Av(D.isHTMLForm(e)?new FormData(e):e);Ve.getAdapter=kv.getAdapter;Ve.HttpStatusCode=Su;Ve.default=Ve;const{Axios:ZM,AxiosError:$2,CanceledError:e6,isCancel:t6,CancelToken:n6,VERSION:r6,all:s6,Cancel:o6,isAxiosError:i6,spread:a6,toFormData:l6,AxiosHeaders:c6,HttpStatusCode:u6,formToJSON:f6,getAdapter:d6,mergeConfig:h6}=Ve;class L2{signupUser(t){return new Promise((n,r)=>{Ve.post(`${pn.API_BASE_URL}/auth/signup`,t,{withCredentials:!0}).then(s=>{n(s.data)}).catch(s=>{r(s)})})}loginUser(t){return new Promise((n,r)=>{Ve.post(`${pn.API_BASE_URL}/auth/login`,t,{withCredentials:!0}).then(s=>{n(s.data)}).catch(s=>{r(s)})})}logoutUser(){return new Promise((t,n)=>{Ve.post(`${pn.API_BASE_URL}/auth/logout`,null,{withCredentials:!0}).then(r=>{t(r.data)}).catch(r=>{n(r)})})}checkUser(){return new Promise((t,n)=>{Ve.get(`${pn.API_BASE_URL}/auth/status`,{withCredentials:!0}).then(r=>{t(r.data)}).catch(r=>{n(r)})})}}const xl=new L2,go=Kg("user",()=>{const e=oe(()=>t.value!==null),t=te(null),n=oe(()=>{var l;return`${(l=t.value)==null?void 0:l.username}`}),r=oe(()=>{var l;return((l=t.value)==null?void 0:l.profilePictureFilename)??"/src/assets/images/PFP_BearHead.svg"});function s(l){t.value=l}function o(){t.value=null}function i(){return new Promise((l,u)=>{xl.checkUser().then(c=>{s(c),l(c)}).catch(c=>{console.debug(c),u(c)})})}const a=i();return{user:t,loggedIn:e,userCheckPromise:a,getUserOutput:n,pfpSource:r,loginUser:s,logoutUser:o}}),Pv=e=>(ol("data-v-6ff68e56"),e=e(),il(),e),P2={class:"container px-5"},R2={class:"position-absolute start-0 top-50 translate-middle-y d-flex ms-3 gap-3 z-2"},D2={class:"navbar-brand rounded rounded-circle d-block d-lg-none",href:"#"},M2=Pv(()=>p("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation"},[p("span",{class:"navbar-toggler-icon"})],-1)),F2={class:"collapse navbar-collapse",id:"navbarSupportedContent"},V2={class:"navbar-nav mb-2 mb-lg-0 d-flex align-items-center justify-content-center w-100"},U2={class:"nav-item"},H2={class:"nav-item px-5 mx-5 rounded-5 py-2"},j2={class:"nav-item"},B2={class:"position-absolute end-0 top-50 translate-middle-y d-flex me-3 align-items-center"},W2={class:"dropdown-toggle pointer bg-dark py-1 px-2 btn","data-bs-toggle":"dropdown","aria-expanded":"false"},z2=["src"],Y2={class:"dropdown-menu dropdown-menu-end"},K2={class:"dropdown-header fs-5 pt-0 text-primary fw-semibold"},q2=Pv(()=>p("li",null,[p("hr",{class:"dropdown-divider"})],-1)),G2={key:2},X2=Re({__name:"NavBar",setup(e,{expose:t}){const n={HOME:"home",ABOUT:"about"},{t:r}=ot(),s=gi(),o=Ef(),i=go(),a=te();t({navElement:a}),or(()=>{console.log(typeof a.value)});const l=f=>{switch(f){case n.HOME:return o.name==="home";case n.ABOUT:return o.name==="about";default:return o.name==="home"}};function u(){xl.logoutUser().then(()=>{i.logoutUser(),o.meta.requiresAuth&&s.push({name:"home"})}).catch(f=>{console.error(f)})}const c=te(!0);return i.userCheckPromise.finally(()=>{c.value=!1}),(f,d)=>(B(),G("nav",{ref_key:"navbar",ref:a,id:"navbar-main",class:"navbar navbar-expand-lg bg-dark-accented"},[p("div",P2,[p("div",R2,[re(sT),re(eC)]),p("a",D2,[re(js,{height:"3.5rem",width:"3.5rem"})]),M2,p("div",F2,[p("ul",V2,[p("li",U2,[re(C(Ar),{to:"/",class:"nav-link text-light fs-3","aria-current":l(n.HOME)?"page":!1},{default:mn(()=>[Ne(j(C(r)("nav.home")),1)]),_:1},8,["aria-current"])]),p("li",H2,[re(C(Ar),{to:"/",class:"nav-link py-0"},{default:mn(()=>[re(js,{height:"3rem",width:"4rem"})]),_:1})]),p("li",j2,[re(C(Ar),{to:"/about",class:"nav-link text-light fs-3","aria-current":l(n.HOME)?"page":!1},{default:mn(()=>[Ne(j(C(r)("nav.about")),1)]),_:1},8,["aria-current"])])])]),p("div",B2,[c.value?(B(),it(C(Se),{key:0,icon:["fas","spinner"],spin:""})):C(i).loggedIn?(B(),G(ke,{key:1},[p("button",W2,[p("img",{class:"pfp-sizing rounded-circle border border-1 border-primary",src:C(i).pfpSource,alt:"The Profile Pic of the user"},null,8,z2)]),p("ul",Y2,[p("li",null,[p("p",K2,j(C(i).getUserOutput),1)]),p("li",null,[re(C(Ar),{class:It(["dropdown-item",[{active:C(o).name==="profile"}]]),to:"/profile"},{default:mn(()=>[Ne("Profile ")]),_:1},8,["class"])]),q2,p("li",null,[p("span",{class:"dropdown-item pointer text-danger",onClick:u},"Logout")])])],64)):(B(),G("div",G2,[re(C(Ar),{to:"/login",class:"btn btn-sm btn-outline-primary"},{default:mn(()=>[Ne(" Login ")]),_:1})]))])])],512))}}),Mn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Q2=Mn(X2,[["__scopeId","data-v-6ff68e56"]]);var $t="top",Xt="bottom",Qt="right",Lt="left",Nl="auto",_o=[$t,Xt,Qt,Lt],ps="start",to="end",Rv="clippingParents",Hf="viewport",xs="popper",Dv="reference",Cu=_o.reduce(function(e,t){return e.concat([t+"-"+ps,t+"-"+to])},[]),jf=[].concat(_o,[Nl]).reduce(function(e,t){return e.concat([t,t+"-"+ps,t+"-"+to])},[]),Mv="beforeRead",Fv="read",Vv="afterRead",Uv="beforeMain",Hv="main",jv="afterMain",Bv="beforeWrite",Wv="write",zv="afterWrite",Yv=[Mv,Fv,Vv,Uv,Hv,jv,Bv,Wv,zv];function Rn(e){return e?(e.nodeName||"").toLowerCase():null}function Jt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gs(e){var t=Jt(e).Element;return e instanceof t||e instanceof Element}function an(e){var t=Jt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bf(e){if(typeof ShadowRoot>"u")return!1;var t=Jt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function J2(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!an(o)||!Rn(o)||(Object.assign(o.style,r),Object.keys(s).forEach(function(i){var a=s[i];a===!1?o.removeAttribute(i):o.setAttribute(i,a===!0?"":a)}))})}function Z2(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],o=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=i.reduce(function(l,u){return l[u]="",l},{});!an(s)||!Rn(s)||(Object.assign(s.style,a),Object.keys(o).forEach(function(l){s.removeAttribute(l)}))})}}const Wf={name:"applyStyles",enabled:!0,phase:"write",fn:J2,effect:Z2,requires:["computeStyles"]};function kn(e){return e.split("-")[0]}var us=Math.max,Ha=Math.min,no=Math.round;function Ou(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Kv(){return!/^((?!chrome|android).)*safari/i.test(Ou())}function ro(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,o=1;t&&an(e)&&(s=e.offsetWidth>0&&no(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&no(r.height)/e.offsetHeight||1);var i=gs(e)?Jt(e):window,a=i.visualViewport,l=!Kv()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/s,c=(r.top+(l&&a?a.offsetTop:0))/o,f=r.width/s,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function zf(e){var t=ro(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function qv(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bf(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function tr(e){return Jt(e).getComputedStyle(e)}function eO(e){return["table","td","th"].indexOf(Rn(e))>=0}function Wr(e){return((gs(e)?e.ownerDocument:e.document)||window.document).documentElement}function kl(e){return Rn(e)==="html"?e:e.assignedSlot||e.parentNode||(Bf(e)?e.host:null)||Wr(e)}function Pm(e){return!an(e)||tr(e).position==="fixed"?null:e.offsetParent}function tO(e){var t=/firefox/i.test(Ou()),n=/Trident/i.test(Ou());if(n&&an(e)){var r=tr(e);if(r.position==="fixed")return null}var s=kl(e);for(Bf(s)&&(s=s.host);an(s)&&["html","body"].indexOf(Rn(s))<0;){var o=tr(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function wi(e){for(var t=Jt(e),n=Pm(e);n&&eO(n)&&tr(n).position==="static";)n=Pm(n);return n&&(Rn(n)==="html"||Rn(n)==="body"&&tr(n).position==="static")?t:n||tO(e)||t}function Yf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function jo(e,t,n){return us(e,Ha(t,n))}function nO(e,t,n){var r=jo(e,t,n);return r>n?n:r}function Gv(){return{top:0,right:0,bottom:0,left:0}}function Xv(e){return Object.assign({},Gv(),e)}function Qv(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var rO=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Xv(typeof t!="number"?t:Qv(t,_o))};function sO(e){var t,n=e.state,r=e.name,s=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=kn(n.placement),l=Yf(a),u=[Lt,Qt].indexOf(a)>=0,c=u?"height":"width";if(!(!o||!i)){var f=rO(s.padding,n),d=zf(o),h=l==="y"?$t:Lt,m=l==="y"?Xt:Qt,g=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],v=i[l]-n.rects.reference[l],y=wi(o),S=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,E=g/2-v/2,A=f[h],x=S-d[c]-f[m],O=S/2-d[c]/2+E,k=jo(A,O,x),P=l;n.modifiersData[r]=(t={},t[P]=k,t.centerOffset=k-O,t)}}function oO(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||qv(t.elements.popper,s)&&(t.elements.arrow=s))}const Jv={name:"arrow",enabled:!0,phase:"main",fn:sO,effect:oO,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function so(e){return e.split("-")[1]}var iO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function aO(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:no(n*s)/s||0,y:no(r*s)/s||0}}function Rm(e){var t,n=e.popper,r=e.popperRect,s=e.placement,o=e.variation,i=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=i.x,h=d===void 0?0:d,m=i.y,g=m===void 0?0:m,v=typeof c=="function"?c({x:h,y:g}):{x:h,y:g};h=v.x,g=v.y;var y=i.hasOwnProperty("x"),S=i.hasOwnProperty("y"),E=Lt,A=$t,x=window;if(u){var O=wi(n),k="clientHeight",P="clientWidth";if(O===Jt(n)&&(O=Wr(n),tr(O).position!=="static"&&a==="absolute"&&(k="scrollHeight",P="scrollWidth")),O=O,s===$t||(s===Lt||s===Qt)&&o===to){A=Xt;var $=f&&O===x&&x.visualViewport?x.visualViewport.height:O[k];g-=$-r.height,g*=l?1:-1}if(s===Lt||(s===$t||s===Xt)&&o===to){E=Qt;var V=f&&O===x&&x.visualViewport?x.visualViewport.width:O[P];h-=V-r.width,h*=l?1:-1}}var Y=Object.assign({position:a},u&&iO),q=c===!0?aO({x:h,y:g},Jt(n)):{x:h,y:g};if(h=q.x,g=q.y,l){var le;return Object.assign({},Y,(le={},le[A]=S?"0":"",le[E]=y?"0":"",le.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",le))}return Object.assign({},Y,(t={},t[A]=S?g+"px":"",t[E]=y?h+"px":"",t.transform="",t))}function lO(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,o=n.adaptive,i=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:kn(t.placement),variation:so(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Rm(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Rm(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Kf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lO,data:{}};var Ki={passive:!0};function cO(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,o=s===void 0?!0:s,i=r.resize,a=i===void 0?!0:i,l=Jt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,Ki)}),a&&l.addEventListener("resize",n.update,Ki),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Ki)}),a&&l.removeEventListener("resize",n.update,Ki)}}const qf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:cO,data:{}};var uO={left:"right",right:"left",bottom:"top",top:"bottom"};function ga(e){return e.replace(/left|right|bottom|top/g,function(t){return uO[t]})}var fO={start:"end",end:"start"};function Dm(e){return e.replace(/start|end/g,function(t){return fO[t]})}function Gf(e){var t=Jt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Xf(e){return ro(Wr(e)).left+Gf(e).scrollLeft}function dO(e,t){var n=Jt(e),r=Wr(e),s=n.visualViewport,o=r.clientWidth,i=r.clientHeight,a=0,l=0;if(s){o=s.width,i=s.height;var u=Kv();(u||!u&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:i,x:a+Xf(e),y:l}}function hO(e){var t,n=Wr(e),r=Gf(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=us(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),i=us(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Xf(e),l=-r.scrollTop;return tr(s||n).direction==="rtl"&&(a+=us(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:i,x:a,y:l}}function Qf(e){var t=tr(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Zv(e){return["html","body","#document"].indexOf(Rn(e))>=0?e.ownerDocument.body:an(e)&&Qf(e)?e:Zv(kl(e))}function Bo(e,t){var n;t===void 0&&(t=[]);var r=Zv(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Jt(r),i=s?[o].concat(o.visualViewport||[],Qf(r)?r:[]):r,a=t.concat(i);return s?a:a.concat(Bo(kl(i)))}function xu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function mO(e,t){var n=ro(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Mm(e,t,n){return t===Hf?xu(dO(e,n)):gs(t)?mO(t,n):xu(hO(Wr(e)))}function pO(e){var t=Bo(kl(e)),n=["absolute","fixed"].indexOf(tr(e).position)>=0,r=n&&an(e)?wi(e):e;return gs(r)?t.filter(function(s){return gs(s)&&qv(s,r)&&Rn(s)!=="body"}):[]}function gO(e,t,n,r){var s=t==="clippingParents"?pO(e):[].concat(t),o=[].concat(s,[n]),i=o[0],a=o.reduce(function(l,u){var c=Mm(e,u,r);return l.top=us(c.top,l.top),l.right=Ha(c.right,l.right),l.bottom=Ha(c.bottom,l.bottom),l.left=us(c.left,l.left),l},Mm(e,i,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function eb(e){var t=e.reference,n=e.element,r=e.placement,s=r?kn(r):null,o=r?so(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case $t:l={x:i,y:t.y-n.height};break;case Xt:l={x:i,y:t.y+t.height};break;case Qt:l={x:t.x+t.width,y:a};break;case Lt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=s?Yf(s):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case ps:l[u]=l[u]-(t[c]/2-n[c]/2);break;case to:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function oo(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,o=n.strategy,i=o===void 0?e.strategy:o,a=n.boundary,l=a===void 0?Rv:a,u=n.rootBoundary,c=u===void 0?Hf:u,f=n.elementContext,d=f===void 0?xs:f,h=n.altBoundary,m=h===void 0?!1:h,g=n.padding,v=g===void 0?0:g,y=Xv(typeof v!="number"?v:Qv(v,_o)),S=d===xs?Dv:xs,E=e.rects.popper,A=e.elements[m?S:d],x=gO(gs(A)?A:A.contextElement||Wr(e.elements.popper),l,c,i),O=ro(e.elements.reference),k=eb({reference:O,element:E,strategy:"absolute",placement:s}),P=xu(Object.assign({},E,k)),$=d===xs?P:O,V={top:x.top-$.top+y.top,bottom:$.bottom-x.bottom+y.bottom,left:x.left-$.left+y.left,right:$.right-x.right+y.right},Y=e.modifiersData.offset;if(d===xs&&Y){var q=Y[s];Object.keys(V).forEach(function(le){var Ie=[Qt,Xt].indexOf(le)>=0?1:-1,Ce=[$t,Xt].indexOf(le)>=0?"y":"x";V[le]+=q[Ce]*Ie})}return V}function _O(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,o=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?jf:l,c=so(r),f=c?a?Cu:Cu.filter(function(m){return so(m)===c}):_o,d=f.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=f);var h=d.reduce(function(m,g){return m[g]=oo(e,{placement:g,boundary:s,rootBoundary:o,padding:i})[kn(g)],m},{});return Object.keys(h).sort(function(m,g){return h[m]-h[g]})}function vO(e){if(kn(e)===Nl)return[];var t=ga(e);return[Dm(e),t,Dm(t)]}function bO(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=h===void 0?!0:h,g=n.allowedAutoPlacements,v=t.options.placement,y=kn(v),S=y===v,E=l||(S||!m?[ga(v)]:vO(v)),A=[v].concat(E).reduce(function(at,ut){return at.concat(kn(ut)===Nl?_O(t,{placement:ut,boundary:c,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:g}):ut)},[]),x=t.rects.reference,O=t.rects.popper,k=new Map,P=!0,$=A[0],V=0;V<A.length;V++){var Y=A[V],q=kn(Y),le=so(Y)===ps,Ie=[$t,Xt].indexOf(q)>=0,Ce=Ie?"width":"height",ie=oo(t,{placement:Y,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),fe=Ie?le?Qt:Lt:le?Xt:$t;x[Ce]>O[Ce]&&(fe=ga(fe));var ve=ga(fe),je=[];if(o&&je.push(ie[q]<=0),a&&je.push(ie[fe]<=0,ie[ve]<=0),je.every(function(at){return at})){$=Y,P=!1;break}k.set(Y,je)}if(P)for(var Ee=m?3:1,$e=function(ut){var Be=A.find(function(U){var J=k.get(U);if(J)return J.slice(0,ut).every(function(X){return X})});if(Be)return $=Be,"break"},xe=Ee;xe>0;xe--){var bt=$e(xe);if(bt==="break")break}t.placement!==$&&(t.modifiersData[r]._skip=!0,t.placement=$,t.reset=!0)}}const tb={name:"flip",enabled:!0,phase:"main",fn:bO,requiresIfExists:["offset"],data:{_skip:!1}};function Fm(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Vm(e){return[$t,Qt,Xt,Lt].some(function(t){return e[t]>=0})}function yO(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,i=oo(t,{elementContext:"reference"}),a=oo(t,{altBoundary:!0}),l=Fm(i,r),u=Fm(a,s,o),c=Vm(l),f=Vm(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const nb={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yO};function EO(e,t,n){var r=kn(e),s=[Lt,$t].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=o[0],a=o[1];return i=i||0,a=(a||0)*s,[Lt,Qt].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function wO(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,i=jf.reduce(function(c,f){return c[f]=EO(f,t.rects,o),c},{}),a=i[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}const rb={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:wO};function AO(e){var t=e.state,n=e.name;t.modifiersData[n]=eb({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Jf={name:"popperOffsets",enabled:!0,phase:"read",fn:AO,data:{}};function TO(e){return e==="x"?"y":"x"}function SO(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,o=s===void 0?!0:s,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,m=n.tetherOffset,g=m===void 0?0:m,v=oo(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),y=kn(t.placement),S=so(t.placement),E=!S,A=Yf(y),x=TO(A),O=t.modifiersData.popperOffsets,k=t.rects.reference,P=t.rects.popper,$=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,V=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),Y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(O){if(o){var le,Ie=A==="y"?$t:Lt,Ce=A==="y"?Xt:Qt,ie=A==="y"?"height":"width",fe=O[A],ve=fe+v[Ie],je=fe-v[Ce],Ee=h?-P[ie]/2:0,$e=S===ps?k[ie]:P[ie],xe=S===ps?-P[ie]:-k[ie],bt=t.elements.arrow,at=h&&bt?zf(bt):{width:0,height:0},ut=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Gv(),Be=ut[Ie],U=ut[Ce],J=jo(0,k[ie],at[ie]),X=E?k[ie]/2-Ee-J-Be-V.mainAxis:$e-J-Be-V.mainAxis,ae=E?-k[ie]/2+Ee+J+U+V.mainAxis:xe+J+U+V.mainAxis,Te=t.elements.arrow&&wi(t.elements.arrow),Me=Te?A==="y"?Te.clientTop||0:Te.clientLeft||0:0,T=(le=Y==null?void 0:Y[A])!=null?le:0,b=fe+X-T-Me,I=fe+ae-T,H=jo(h?Ha(ve,b):ve,fe,h?us(je,I):je);O[A]=H,q[A]=H-fe}if(a){var M,K=A==="x"?$t:Lt,ee=A==="x"?Xt:Qt,_=O[x],w=x==="y"?"height":"width",N=_+v[K],F=_-v[ee],Z=[$t,Lt].indexOf(y)!==-1,W=(M=Y==null?void 0:Y[x])!=null?M:0,L=Z?N:_-k[w]-P[w]-W+V.altAxis,R=Z?_+k[w]+P[w]-W-V.altAxis:F,ue=h&&Z?nO(L,_,R):jo(h?L:N,_,h?R:F);O[x]=ue,q[x]=ue-_}t.modifiersData[r]=q}}const sb={name:"preventOverflow",enabled:!0,phase:"main",fn:SO,requiresIfExists:["offset"]};function CO(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function OO(e){return e===Jt(e)||!an(e)?Gf(e):CO(e)}function xO(e){var t=e.getBoundingClientRect(),n=no(t.width)/e.offsetWidth||1,r=no(t.height)/e.offsetHeight||1;return n!==1||r!==1}function NO(e,t,n){n===void 0&&(n=!1);var r=an(t),s=an(t)&&xO(t),o=Wr(t),i=ro(e,s,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Rn(t)!=="body"||Qf(o))&&(a=OO(t)),an(t)?(l=ro(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Xf(o))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function kO(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),r}function IO(e){var t=kO(e);return Yv.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function $O(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function LO(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Um={placement:"bottom",modifiers:[],strategy:"absolute"};function Hm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Il(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?Um:s;return function(a,l,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Um,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:c,setOptions:function(y){var S=typeof y=="function"?y(c.options):y;g(),c.options=Object.assign({},o,c.options,S),c.scrollParents={reference:gs(a)?Bo(a):a.contextElement?Bo(a.contextElement):[],popper:Bo(l)};var E=IO(LO([].concat(r,c.options.modifiers)));return c.orderedModifiers=E.filter(function(A){return A.enabled}),m(),h.update()},forceUpdate:function(){if(!d){var y=c.elements,S=y.reference,E=y.popper;if(Hm(S,E)){c.rects={reference:NO(S,wi(E),c.options.strategy==="fixed"),popper:zf(E)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(V){return c.modifiersData[V.name]=Object.assign({},V.data)});for(var A=0;A<c.orderedModifiers.length;A++){if(c.reset===!0){c.reset=!1,A=-1;continue}var x=c.orderedModifiers[A],O=x.fn,k=x.options,P=k===void 0?{}:k,$=x.name;typeof O=="function"&&(c=O({state:c,options:P,name:$,instance:h})||c)}}}},update:$O(function(){return new Promise(function(v){h.forceUpdate(),v(c)})}),destroy:function(){g(),d=!0}};if(!Hm(a,l))return h;h.setOptions(u).then(function(v){!d&&u.onFirstUpdate&&u.onFirstUpdate(v)});function m(){c.orderedModifiers.forEach(function(v){var y=v.name,S=v.options,E=S===void 0?{}:S,A=v.effect;if(typeof A=="function"){var x=A({state:c,name:y,instance:h,options:E}),O=function(){};f.push(x||O)}})}function g(){f.forEach(function(v){return v()}),f=[]}return h}}var PO=Il(),RO=[qf,Jf,Kf,Wf],DO=Il({defaultModifiers:RO}),MO=[qf,Jf,Kf,Wf,rb,tb,sb,Jv,nb],Zf=Il({defaultModifiers:MO});const ob=Object.freeze(Object.defineProperty({__proto__:null,afterMain:jv,afterRead:Vv,afterWrite:zv,applyStyles:Wf,arrow:Jv,auto:Nl,basePlacements:_o,beforeMain:Uv,beforeRead:Mv,beforeWrite:Bv,bottom:Xt,clippingParents:Rv,computeStyles:Kf,createPopper:Zf,createPopperBase:PO,createPopperLite:DO,detectOverflow:oo,end:to,eventListeners:qf,flip:tb,hide:nb,left:Lt,main:Hv,modifierPhases:Yv,offset:rb,placements:jf,popper:xs,popperGenerator:Il,popperOffsets:Jf,preventOverflow:sb,read:Fv,reference:Dv,right:Qt,start:ps,top:$t,variationPlacements:Cu,viewport:Hf,write:Wv},Symbol.toStringTag,{value:"Module"}));/*!
|
||
* Bootstrap v5.3.3 (https://getbootstrap.com/)
|
||
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||
*/const mr=new Map,ac={set(e,t,n){mr.has(e)||mr.set(e,new Map);const r=mr.get(e);if(!r.has(t)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(t,n)},get(e,t){return mr.has(e)&&mr.get(e).get(t)||null},remove(e,t){if(!mr.has(e))return;const n=mr.get(e);n.delete(t),n.size===0&&mr.delete(e)}},FO=1e6,VO=1e3,Nu="transitionend",ib=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),UO=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),HO=e=>{do e+=Math.floor(Math.random()*FO);while(document.getElementById(e));return e},jO=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),s=Number.parseFloat(n);return!r&&!s?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*VO)},ab=e=>{e.dispatchEvent(new Event(Nu))},Kn=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Rr=e=>Kn(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(ib(e)):null,vo=e=>{if(!Kn(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const r=e.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return t},Dr=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",lb=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?lb(e.parentNode):null},ja=()=>{},Ai=e=>{e.offsetHeight},cb=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,lc=[],BO=e=>{document.readyState==="loading"?(lc.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of lc)t()}),lc.push(e)):e()},ln=()=>document.documentElement.dir==="rtl",un=e=>{BO(()=>{const t=cb();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},Ft=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,ub=(e,t,n=!0)=>{if(!n){Ft(e);return}const s=jO(t)+5;let o=!1;const i=({target:a})=>{a===t&&(o=!0,t.removeEventListener(Nu,i),Ft(e))};t.addEventListener(Nu,i),setTimeout(()=>{o||ab(t)},s)},ed=(e,t,n,r)=>{const s=e.length;let o=e.indexOf(t);return o===-1?!n&&r?e[s-1]:e[0]:(o+=n?1:-1,r&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},WO=/[^.]*(?=\..*)\.|.*/,zO=/\..*/,YO=/::\d+$/,cc={};let jm=1;const fb={mouseenter:"mouseover",mouseleave:"mouseout"},KO=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function db(e,t){return t&&`${t}::${jm++}`||e.uidEvent||jm++}function hb(e){const t=db(e);return e.uidEvent=t,cc[t]=cc[t]||{},cc[t]}function qO(e,t){return function n(r){return td(r,{delegateTarget:e}),n.oneOff&&z.off(e,r.type,t),t.apply(e,[r])}}function GO(e,t,n){return function r(s){const o=e.querySelectorAll(t);for(let{target:i}=s;i&&i!==this;i=i.parentNode)for(const a of o)if(a===i)return td(s,{delegateTarget:i}),r.oneOff&&z.off(e,s.type,t,n),n.apply(i,[s])}}function mb(e,t,n=null){return Object.values(e).find(r=>r.callable===t&&r.delegationSelector===n)}function pb(e,t,n){const r=typeof t=="string",s=r?n:t||n;let o=gb(e);return KO.has(o)||(o=e),[r,s,o]}function Bm(e,t,n,r,s){if(typeof t!="string"||!e)return;let[o,i,a]=pb(t,n,r);t in fb&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const l=hb(e),u=l[a]||(l[a]={}),c=mb(u,i,o?n:null);if(c){c.oneOff=c.oneOff&&s;return}const f=db(i,t.replace(WO,"")),d=o?GO(e,n,i):qO(e,i);d.delegationSelector=o?n:null,d.callable=i,d.oneOff=s,d.uidEvent=f,u[f]=d,e.addEventListener(a,d,o)}function ku(e,t,n,r,s){const o=mb(t[n],r,s);o&&(e.removeEventListener(n,o,!!s),delete t[n][o.uidEvent])}function XO(e,t,n,r){const s=t[n]||{};for(const[o,i]of Object.entries(s))o.includes(r)&&ku(e,t,n,i.callable,i.delegationSelector)}function gb(e){return e=e.replace(zO,""),fb[e]||e}const z={on(e,t,n,r){Bm(e,t,n,r,!1)},one(e,t,n,r){Bm(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!="string"||!e)return;const[s,o,i]=pb(t,n,r),a=i!==t,l=hb(e),u=l[i]||{},c=t.startsWith(".");if(typeof o<"u"){if(!Object.keys(u).length)return;ku(e,l,i,o,s?n:null);return}if(c)for(const f of Object.keys(l))XO(e,l,f,t.slice(1));for(const[f,d]of Object.entries(u)){const h=f.replace(YO,"");(!a||t.includes(h))&&ku(e,l,i,d.callable,d.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const r=cb(),s=gb(t),o=t!==s;let i=null,a=!0,l=!0,u=!1;o&&r&&(i=r.Event(t,n),r(e).trigger(i),a=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const c=td(new Event(t,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&i&&i.preventDefault(),c}};function td(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function Wm(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function uc(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const qn={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${uc(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${uc(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let s=r.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=Wm(e.dataset[r])}return t},getDataAttribute(e,t){return Wm(e.getAttribute(`data-bs-${uc(t)}`))}};class Ti{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const r=Kn(n)?qn.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Kn(n)?qn.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[r,s]of Object.entries(n)){const o=t[r],i=Kn(o)?"element":UO(o);if(!new RegExp(s).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${s}".`)}}}const QO="5.3.3";class An extends Ti{constructor(t,n){super(),t=Rr(t),t&&(this._element=t,this._config=this._getConfig(n),ac.set(this._element,this.constructor.DATA_KEY,this))}dispose(){ac.remove(this._element,this.constructor.DATA_KEY),z.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,r=!0){ub(t,n,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return ac.get(Rr(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return QO}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const fc=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>ib(n)).join(","):null},he={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!Dr(n)&&vo(n))},getSelectorFromElement(e){const t=fc(e);return t&&he.findOne(t)?t:null},getElementFromSelector(e){const t=fc(e);return t?he.findOne(t):null},getMultipleElementsFromSelector(e){const t=fc(e);return t?he.find(t):[]}},$l=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;z.on(document,n,`[data-bs-dismiss="${r}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),Dr(this))return;const o=he.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(o)[t]()})},JO="alert",ZO="bs.alert",_b=`.${ZO}`,ex=`close${_b}`,tx=`closed${_b}`,nx="fade",rx="show";class Ll extends An{static get NAME(){return JO}close(){if(z.trigger(this._element,ex).defaultPrevented)return;this._element.classList.remove(rx);const n=this._element.classList.contains(nx);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),z.trigger(this._element,tx),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=Ll.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}$l(Ll,"close");un(Ll);const sx="button",ox="bs.button",ix=`.${ox}`,ax=".data-api",lx="active",zm='[data-bs-toggle="button"]',cx=`click${ix}${ax}`;class Pl extends An{static get NAME(){return sx}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(lx))}static jQueryInterface(t){return this.each(function(){const n=Pl.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}z.on(document,cx,zm,e=>{e.preventDefault();const t=e.target.closest(zm);Pl.getOrCreateInstance(t).toggle()});un(Pl);const ux="swipe",bo=".bs.swipe",fx=`touchstart${bo}`,dx=`touchmove${bo}`,hx=`touchend${bo}`,mx=`pointerdown${bo}`,px=`pointerup${bo}`,gx="touch",_x="pen",vx="pointer-event",bx=40,yx={endCallback:null,leftCallback:null,rightCallback:null},Ex={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ba extends Ti{constructor(t,n){super(),this._element=t,!(!t||!Ba.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return yx}static get DefaultType(){return Ex}static get NAME(){return ux}dispose(){z.off(this._element,bo)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),Ft(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=bx)return;const n=t/this._deltaX;this._deltaX=0,n&&Ft(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(z.on(this._element,mx,t=>this._start(t)),z.on(this._element,px,t=>this._end(t)),this._element.classList.add(vx)):(z.on(this._element,fx,t=>this._start(t)),z.on(this._element,dx,t=>this._move(t)),z.on(this._element,hx,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===_x||t.pointerType===gx)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const wx="carousel",Ax="bs.carousel",zr=`.${Ax}`,vb=".data-api",Tx="ArrowLeft",Sx="ArrowRight",Cx=500,So="next",ws="prev",Ns="left",_a="right",Ox=`slide${zr}`,dc=`slid${zr}`,xx=`keydown${zr}`,Nx=`mouseenter${zr}`,kx=`mouseleave${zr}`,Ix=`dragstart${zr}`,$x=`load${zr}${vb}`,Lx=`click${zr}${vb}`,bb="carousel",qi="active",Px="slide",Rx="carousel-item-end",Dx="carousel-item-start",Mx="carousel-item-next",Fx="carousel-item-prev",yb=".active",Eb=".carousel-item",Vx=yb+Eb,Ux=".carousel-item img",Hx=".carousel-indicators",jx="[data-bs-slide], [data-bs-slide-to]",Bx='[data-bs-ride="carousel"]',Wx={[Tx]:_a,[Sx]:Ns},zx={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Yx={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Si extends An{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=he.findOne(Hx,this._element),this._addEventListeners(),this._config.ride===bb&&this.cycle()}static get Default(){return zx}static get DefaultType(){return Yx}static get NAME(){return wx}next(){this._slide(So)}nextWhenVisible(){!document.hidden&&vo(this._element)&&this.next()}prev(){this._slide(ws)}pause(){this._isSliding&&ab(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){z.one(this._element,dc,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){z.one(this._element,dc,()=>this.to(t));return}const r=this._getItemIndex(this._getActive());if(r===t)return;const s=t>r?So:ws;this._slide(s,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&z.on(this._element,xx,t=>this._keydown(t)),this._config.pause==="hover"&&(z.on(this._element,Nx,()=>this.pause()),z.on(this._element,kx,()=>this._maybeEnableCycle())),this._config.touch&&Ba.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of he.find(Ux,this._element))z.on(r,Ix,s=>s.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Ns)),rightCallback:()=>this._slide(this._directionToOrder(_a)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Cx+this._config.interval))}};this._swipeHelper=new Ba(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=Wx[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=he.findOne(yb,this._indicatorsElement);n.classList.remove(qi),n.removeAttribute("aria-current");const r=he.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(qi),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const r=this._getActive(),s=t===So,o=n||ed(this._getItems(),r,s,this._config.wrap);if(o===r)return;const i=this._getItemIndex(o),a=h=>z.trigger(this._element,h,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:i});if(a(Ox).defaultPrevented||!r||!o)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=o;const c=s?Dx:Rx,f=s?Mx:Fx;o.classList.add(f),Ai(o),r.classList.add(c),o.classList.add(c);const d=()=>{o.classList.remove(c,f),o.classList.add(qi),r.classList.remove(qi,f,c),this._isSliding=!1,a(dc)};this._queueCallback(d,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(Px)}_getActive(){return he.findOne(Vx,this._element)}_getItems(){return he.find(Eb,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return ln()?t===Ns?ws:So:t===Ns?So:ws}_orderToDirection(t){return ln()?t===ws?Ns:_a:t===ws?_a:Ns}static jQueryInterface(t){return this.each(function(){const n=Si.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}z.on(document,Lx,jx,function(e){const t=he.getElementFromSelector(this);if(!t||!t.classList.contains(bb))return;e.preventDefault();const n=Si.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(qn.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});z.on(window,$x,()=>{const e=he.find(Bx);for(const t of e)Si.getOrCreateInstance(t)});un(Si);const Kx="collapse",qx="bs.collapse",Ci=`.${qx}`,Gx=".data-api",Xx=`show${Ci}`,Qx=`shown${Ci}`,Jx=`hide${Ci}`,Zx=`hidden${Ci}`,eN=`click${Ci}${Gx}`,hc="show",Rs="collapse",Gi="collapsing",tN="collapsed",nN=`:scope .${Rs} .${Rs}`,rN="collapse-horizontal",sN="width",oN="height",iN=".collapse.show, .collapse.collapsing",Iu='[data-bs-toggle="collapse"]',aN={parent:null,toggle:!0},lN={parent:"(null|element)",toggle:"boolean"};class ui extends An{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const r=he.find(Iu);for(const s of r){const o=he.getSelectorFromElement(s),i=he.find(o).filter(a=>a===this._element);o!==null&&i.length&&this._triggerArray.push(s)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return aN}static get DefaultType(){return lN}static get NAME(){return Kx}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(iN).filter(a=>a!==this._element).map(a=>ui.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||z.trigger(this._element,Xx).defaultPrevented)return;for(const a of t)a.hide();const r=this._getDimension();this._element.classList.remove(Rs),this._element.classList.add(Gi),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(Gi),this._element.classList.add(Rs,hc),this._element.style[r]="",z.trigger(this._element,Qx)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(s,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||z.trigger(this._element,Jx).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Ai(this._element),this._element.classList.add(Gi),this._element.classList.remove(Rs,hc);for(const s of this._triggerArray){const o=he.getElementFromSelector(s);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Gi),this._element.classList.add(Rs),z.trigger(this._element,Zx)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(t=this._element){return t.classList.contains(hc)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Rr(t.parent),t}_getDimension(){return this._element.classList.contains(rN)?sN:oN}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Iu);for(const n of t){const r=he.getElementFromSelector(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(t){const n=he.find(nN,this._config.parent);return he.find(t,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const r of t)r.classList.toggle(tN,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const r=ui.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}z.on(document,eN,Iu,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of he.getMultipleElementsFromSelector(this))ui.getOrCreateInstance(t,{toggle:!1}).toggle()});un(ui);const Ym="dropdown",cN="bs.dropdown",_s=`.${cN}`,nd=".data-api",uN="Escape",Km="Tab",fN="ArrowUp",qm="ArrowDown",dN=2,hN=`hide${_s}`,mN=`hidden${_s}`,pN=`show${_s}`,gN=`shown${_s}`,wb=`click${_s}${nd}`,Ab=`keydown${_s}${nd}`,_N=`keyup${_s}${nd}`,ks="show",vN="dropup",bN="dropend",yN="dropstart",EN="dropup-center",wN="dropdown-center",ss='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',AN=`${ss}.${ks}`,va=".dropdown-menu",TN=".navbar",SN=".navbar-nav",CN=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ON=ln()?"top-end":"top-start",xN=ln()?"top-start":"top-end",NN=ln()?"bottom-end":"bottom-start",kN=ln()?"bottom-start":"bottom-end",IN=ln()?"left-start":"right-start",$N=ln()?"right-start":"left-start",LN="top",PN="bottom",RN={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},DN={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class In extends An{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=he.next(this._element,va)[0]||he.prev(this._element,va)[0]||he.findOne(va,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return RN}static get DefaultType(){return DN}static get NAME(){return Ym}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Dr(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!z.trigger(this._element,pN,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(SN))for(const r of[].concat(...document.body.children))z.on(r,"mouseover",ja);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ks),this._element.classList.add(ks),z.trigger(this._element,gN,t)}}hide(){if(Dr(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!z.trigger(this._element,hN,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))z.off(r,"mouseover",ja);this._popper&&this._popper.destroy(),this._menu.classList.remove(ks),this._element.classList.remove(ks),this._element.setAttribute("aria-expanded","false"),qn.removeDataAttribute(this._menu,"popper"),z.trigger(this._element,mN,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!Kn(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Ym.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof ob>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:Kn(this._config.reference)?t=Rr(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Zf(t,this._menu,n)}_isShown(){return this._menu.classList.contains(ks)}_getPlacement(){const t=this._parent;if(t.classList.contains(bN))return IN;if(t.classList.contains(yN))return $N;if(t.classList.contains(EN))return LN;if(t.classList.contains(wN))return PN;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(vN)?n?xN:ON:n?kN:NN}_detectNavbar(){return this._element.closest(TN)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(qn.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...Ft(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:n}){const r=he.find(CN,this._menu).filter(s=>vo(s));r.length&&ed(r,n,t===qm,!r.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=In.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===dN||t.type==="keyup"&&t.key!==Km)return;const n=he.find(AN);for(const r of n){const s=In.getInstance(r);if(!s||s._config.autoClose===!1)continue;const o=t.composedPath(),i=o.includes(s._menu);if(o.includes(s._element)||s._config.autoClose==="inside"&&!i||s._config.autoClose==="outside"&&i||s._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Km||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:s._element};t.type==="click"&&(a.clickEvent=t),s._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),r=t.key===uN,s=[fN,qm].includes(t.key);if(!s&&!r||n&&!r)return;t.preventDefault();const o=this.matches(ss)?this:he.prev(this,ss)[0]||he.next(this,ss)[0]||he.findOne(ss,t.delegateTarget.parentNode),i=In.getOrCreateInstance(o);if(s){t.stopPropagation(),i.show(),i._selectMenuItem(t);return}i._isShown()&&(t.stopPropagation(),i.hide(),o.focus())}}z.on(document,Ab,ss,In.dataApiKeydownHandler);z.on(document,Ab,va,In.dataApiKeydownHandler);z.on(document,wb,In.clearMenus);z.on(document,_N,In.clearMenus);z.on(document,wb,ss,function(e){e.preventDefault(),In.getOrCreateInstance(this).toggle()});un(In);const Tb="backdrop",MN="fade",Gm="show",Xm=`mousedown.bs.${Tb}`,FN={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},VN={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Sb extends Ti{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return FN}static get DefaultType(){return VN}static get NAME(){return Tb}show(t){if(!this._config.isVisible){Ft(t);return}this._append();const n=this._getElement();this._config.isAnimated&&Ai(n),n.classList.add(Gm),this._emulateAnimation(()=>{Ft(t)})}hide(t){if(!this._config.isVisible){Ft(t);return}this._getElement().classList.remove(Gm),this._emulateAnimation(()=>{this.dispose(),Ft(t)})}dispose(){this._isAppended&&(z.off(this._element,Xm),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(MN),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Rr(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),z.on(t,Xm,()=>{Ft(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){ub(t,this._getElement(),this._config.isAnimated)}}const UN="focustrap",HN="bs.focustrap",Wa=`.${HN}`,jN=`focusin${Wa}`,BN=`keydown.tab${Wa}`,WN="Tab",zN="forward",Qm="backward",YN={autofocus:!0,trapElement:null},KN={autofocus:"boolean",trapElement:"element"};class Cb extends Ti{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return YN}static get DefaultType(){return KN}static get NAME(){return UN}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),z.off(document,Wa),z.on(document,jN,t=>this._handleFocusin(t)),z.on(document,BN,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,z.off(document,Wa))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const r=he.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===Qm?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key===WN&&(this._lastTabNavDirection=t.shiftKey?Qm:zN)}}const Jm=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Zm=".sticky-top",Xi="padding-right",ep="margin-right";class $u{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Xi,n=>n+t),this._setElementAttributes(Jm,Xi,n=>n+t),this._setElementAttributes(Zm,ep,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Xi),this._resetElementAttributes(Jm,Xi),this._resetElementAttributes(Zm,ep)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,r){const s=this.getWidth(),o=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+s)return;this._saveInitialAttribute(i,n);const a=window.getComputedStyle(i).getPropertyValue(n);i.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,o)}_saveInitialAttribute(t,n){const r=t.style.getPropertyValue(n);r&&qn.setDataAttribute(t,n,r)}_resetElementAttributes(t,n){const r=s=>{const o=qn.getDataAttribute(s,n);if(o===null){s.style.removeProperty(n);return}qn.removeDataAttribute(s,n),s.style.setProperty(n,o)};this._applyManipulationCallback(t,r)}_applyManipulationCallback(t,n){if(Kn(t)){n(t);return}for(const r of he.find(t,this._element))n(r)}}const qN="modal",GN="bs.modal",cn=`.${GN}`,XN=".data-api",QN="Escape",JN=`hide${cn}`,ZN=`hidePrevented${cn}`,Ob=`hidden${cn}`,xb=`show${cn}`,ek=`shown${cn}`,tk=`resize${cn}`,nk=`click.dismiss${cn}`,rk=`mousedown.dismiss${cn}`,sk=`keydown.dismiss${cn}`,ok=`click${cn}${XN}`,tp="modal-open",ik="fade",np="show",mc="modal-static",ak=".modal.show",lk=".modal-dialog",ck=".modal-body",uk='[data-bs-toggle="modal"]',fk={backdrop:!0,focus:!0,keyboard:!0},dk={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Mr extends An{constructor(t,n){super(t,n),this._dialog=he.findOne(lk,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new $u,this._addEventListeners()}static get Default(){return fk}static get DefaultType(){return dk}static get NAME(){return qN}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||z.trigger(this._element,xb,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(tp),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||z.trigger(this._element,JN).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(np),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){z.off(window,cn),z.off(this._dialog,cn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Sb({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Cb({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=he.findOne(ck,this._dialog);n&&(n.scrollTop=0),Ai(this._element),this._element.classList.add(np);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,z.trigger(this._element,ek,{relatedTarget:t})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){z.on(this._element,sk,t=>{if(t.key===QN){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),z.on(window,tk,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),z.on(this._element,rk,t=>{z.one(this._element,nk,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(tp),this._resetAdjustments(),this._scrollBar.reset(),z.trigger(this._element,Ob)})}_isAnimated(){return this._element.classList.contains(ik)}_triggerBackdropTransition(){if(z.trigger(this._element,ZN).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(mc)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(mc),this._queueCallback(()=>{this._element.classList.remove(mc),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!t){const s=ln()?"paddingLeft":"paddingRight";this._element.style[s]=`${n}px`}if(!r&&t){const s=ln()?"paddingRight":"paddingLeft";this._element.style[s]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const r=Mr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](n)}})}}z.on(document,ok,uk,function(e){const t=he.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),z.one(t,xb,s=>{s.defaultPrevented||z.one(t,Ob,()=>{vo(this)&&this.focus()})});const n=he.findOne(ak);n&&Mr.getInstance(n).hide(),Mr.getOrCreateInstance(t).toggle(this)});$l(Mr);un(Mr);const hk="offcanvas",mk="bs.offcanvas",ar=`.${mk}`,Nb=".data-api",pk=`load${ar}${Nb}`,gk="Escape",rp="show",sp="showing",op="hiding",_k="offcanvas-backdrop",kb=".offcanvas.show",vk=`show${ar}`,bk=`shown${ar}`,yk=`hide${ar}`,ip=`hidePrevented${ar}`,Ib=`hidden${ar}`,Ek=`resize${ar}`,wk=`click${ar}${Nb}`,Ak=`keydown.dismiss${ar}`,Tk='[data-bs-toggle="offcanvas"]',Sk={backdrop:!0,keyboard:!0,scroll:!1},Ck={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Fr extends An{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Sk}static get DefaultType(){return Ck}static get NAME(){return hk}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||z.trigger(this._element,vk,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new $u().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(sp);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(rp),this._element.classList.remove(sp),z.trigger(this._element,bk,{relatedTarget:t})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||z.trigger(this._element,yk).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(op),this._backdrop.hide();const n=()=>{this._element.classList.remove(rp,op),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new $u().reset(),z.trigger(this._element,Ib)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){z.trigger(this._element,ip);return}this.hide()},n=!!this._config.backdrop;return new Sb({className:_k,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Cb({trapElement:this._element})}_addEventListeners(){z.on(this._element,Ak,t=>{if(t.key===gk){if(this._config.keyboard){this.hide();return}z.trigger(this._element,ip)}})}static jQueryInterface(t){return this.each(function(){const n=Fr.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}z.on(document,wk,Tk,function(e){const t=he.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Dr(this))return;z.one(t,Ib,()=>{vo(this)&&this.focus()});const n=he.findOne(kb);n&&n!==t&&Fr.getInstance(n).hide(),Fr.getOrCreateInstance(t).toggle(this)});z.on(window,pk,()=>{for(const e of he.find(kb))Fr.getOrCreateInstance(e).show()});z.on(window,Ek,()=>{for(const e of he.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Fr.getOrCreateInstance(e).hide()});$l(Fr);un(Fr);const Ok=/^aria-[\w-]*$/i,$b={"*":["class","dir","id","lang","role",Ok],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},xk=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Nk=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,kk=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?xk.has(n)?!!Nk.test(e.nodeValue):!0:t.filter(r=>r instanceof RegExp).some(r=>r.test(n))};function Ik(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const s=new window.DOMParser().parseFromString(e,"text/html"),o=[].concat(...s.body.querySelectorAll("*"));for(const i of o){const a=i.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){i.remove();continue}const l=[].concat(...i.attributes),u=[].concat(t["*"]||[],t[a]||[]);for(const c of l)kk(c,u)||i.removeAttribute(c.nodeName)}return s.body.innerHTML}const $k="TemplateFactory",Lk={allowList:$b,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Pk={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Rk={entry:"(string|element|function|null)",selector:"(string|element)"};class Dk extends Ti{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Lk}static get DefaultType(){return Pk}static get NAME(){return $k}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[s,o]of Object.entries(this._config.content))this._setContent(t,o,s);const n=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,r]of Object.entries(t))super._typeCheckConfig({selector:n,entry:r},Rk)}_setContent(t,n,r){const s=he.findOne(r,t);if(s){if(n=this._resolvePossibleFunction(n),!n){s.remove();return}if(Kn(n)){this._putElementInTemplate(Rr(n),s);return}if(this._config.html){s.innerHTML=this._maybeSanitize(n);return}s.textContent=n}}_maybeSanitize(t){return this._config.sanitize?Ik(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return Ft(t,[this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const Mk="tooltip",Fk=new Set(["sanitize","allowList","sanitizeFn"]),pc="fade",Vk="modal",Qi="show",Uk=".tooltip-inner",ap=`.${Vk}`,lp="hide.bs.modal",Co="hover",gc="focus",Hk="click",jk="manual",Bk="hide",Wk="hidden",zk="show",Yk="shown",Kk="inserted",qk="click",Gk="focusin",Xk="focusout",Qk="mouseenter",Jk="mouseleave",Zk={AUTO:"auto",TOP:"top",RIGHT:ln()?"left":"right",BOTTOM:"bottom",LEFT:ln()?"right":"left"},eI={allowList:$b,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},tI={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class yo extends An{constructor(t,n){if(typeof ob>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return eI}static get DefaultType(){return tI}static get NAME(){return Mk}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),z.off(this._element.closest(ap),lp,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=z.trigger(this._element,this.constructor.eventName(zk)),r=(lb(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!r)return;this._disposePopper();const s=this._getTipElement();this._element.setAttribute("aria-describedby",s.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(s),z.trigger(this._element,this.constructor.eventName(Kk))),this._popper=this._createPopper(s),s.classList.add(Qi),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))z.on(a,"mouseover",ja);const i=()=>{z.trigger(this._element,this.constructor.eventName(Yk)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||z.trigger(this._element,this.constructor.eventName(Bk)).defaultPrevented)return;if(this._getTipElement().classList.remove(Qi),"ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))z.off(s,"mouseover",ja);this._activeTrigger[Hk]=!1,this._activeTrigger[gc]=!1,this._activeTrigger[Co]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),z.trigger(this._element,this.constructor.eventName(Wk)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(pc,Qi),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=HO(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(pc),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Dk({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Uk]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(pc)}_isShown(){return this.tip&&this.tip.classList.contains(Qi)}_createPopper(t){const n=Ft(this._config.placement,[this,t,this._element]),r=Zk[n.toUpperCase()];return Zf(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return Ft(t,[this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...Ft(this._config.popperConfig,[n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")z.on(this._element,this.constructor.eventName(qk),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==jk){const r=n===Co?this.constructor.eventName(Qk):this.constructor.eventName(Gk),s=n===Co?this.constructor.eventName(Jk):this.constructor.eventName(Xk);z.on(this._element,r,this._config.selector,o=>{const i=this._initializeOnDelegatedTarget(o);i._activeTrigger[o.type==="focusin"?gc:Co]=!0,i._enter()}),z.on(this._element,s,this._config.selector,o=>{const i=this._initializeOnDelegatedTarget(o);i._activeTrigger[o.type==="focusout"?gc:Co]=i._element.contains(o.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},z.on(this._element.closest(ap),lp,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=qn.getDataAttributes(this._element);for(const r of Object.keys(n))Fk.has(r)&&delete n[r];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Rr(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,r]of Object.entries(this._config))this.constructor.Default[n]!==r&&(t[n]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=yo.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}un(yo);const nI="popover",rI=".popover-header",sI=".popover-body",oI={...yo.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},iI={...yo.DefaultType,content:"(null|string|element|function)"};class rd extends yo{static get Default(){return oI}static get DefaultType(){return iI}static get NAME(){return nI}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[rI]:this._getTitle(),[sI]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=rd.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}un(rd);const aI="scrollspy",lI="bs.scrollspy",sd=`.${lI}`,cI=".data-api",uI=`activate${sd}`,cp=`click${sd}`,fI=`load${sd}${cI}`,dI="dropdown-item",As="active",hI='[data-bs-spy="scroll"]',_c="[href]",mI=".nav, .list-group",up=".nav-link",pI=".nav-item",gI=".list-group-item",_I=`${up}, ${pI} > ${up}, ${gI}`,vI=".dropdown",bI=".dropdown-toggle",yI={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},EI={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Rl extends An{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return yI}static get DefaultType(){return EI}static get NAME(){return aI}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Rr(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(z.off(this._config.target,cp),z.on(this._config.target,cp,_c,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const r=this._rootElement||window,s=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:s,behavior:"smooth"});return}r.scrollTop=s}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(n(i))},s=(this._rootElement||document.documentElement).scrollTop,o=s>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=s;for(const i of t){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(i));continue}const a=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(r(i),!s)return;continue}!o&&!a&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=he.find(_c,this._config.target);for(const n of t){if(!n.hash||Dr(n))continue;const r=he.findOne(decodeURI(n.hash),this._element);vo(r)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(As),this._activateParents(t),z.trigger(this._element,uI,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(dI)){he.findOne(bI,t.closest(vI)).classList.add(As);return}for(const n of he.parents(t,mI))for(const r of he.prev(n,_I))r.classList.add(As)}_clearActiveClass(t){t.classList.remove(As);const n=he.find(`${_c}.${As}`,t);for(const r of n)r.classList.remove(As)}static jQueryInterface(t){return this.each(function(){const n=Rl.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}z.on(window,fI,()=>{for(const e of he.find(hI))Rl.getOrCreateInstance(e)});un(Rl);const wI="tab",AI="bs.tab",vs=`.${AI}`,TI=`hide${vs}`,SI=`hidden${vs}`,CI=`show${vs}`,OI=`shown${vs}`,xI=`click${vs}`,NI=`keydown${vs}`,kI=`load${vs}`,II="ArrowLeft",fp="ArrowRight",$I="ArrowUp",dp="ArrowDown",vc="Home",hp="End",os="active",mp="fade",bc="show",LI="dropdown",Lb=".dropdown-toggle",PI=".dropdown-menu",yc=`:not(${Lb})`,RI='.list-group, .nav, [role="tablist"]',DI=".nav-item, .list-group-item",MI=`.nav-link${yc}, .list-group-item${yc}, [role="tab"]${yc}`,Pb='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ec=`${MI}, ${Pb}`,FI=`.${os}[data-bs-toggle="tab"], .${os}[data-bs-toggle="pill"], .${os}[data-bs-toggle="list"]`;class io extends An{constructor(t){super(t),this._parent=this._element.closest(RI),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),z.on(this._element,NI,n=>this._keydown(n)))}static get NAME(){return wI}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),r=n?z.trigger(n,TI,{relatedTarget:t}):null;z.trigger(t,CI,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(os),this._activate(he.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(bc);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),z.trigger(t,OI,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(mp))}_deactivate(t,n){if(!t)return;t.classList.remove(os),t.blur(),this._deactivate(he.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(bc);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),z.trigger(t,SI,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(mp))}_keydown(t){if(![II,fp,$I,dp,vc,hp].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(s=>!Dr(s));let r;if([vc,hp].includes(t.key))r=n[t.key===vc?0:n.length-1];else{const s=[fp,dp].includes(t.key);r=ed(n,t.target,s,!0)}r&&(r.focus({preventScroll:!0}),io.getOrCreateInstance(r).show())}_getChildren(){return he.find(Ec,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",n),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=he.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const r=this._getOuterElement(t);if(!r.classList.contains(LI))return;const s=(o,i)=>{const a=he.findOne(o,r);a&&a.classList.toggle(i,n)};s(Lb,os),s(PI,bc),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,r){t.hasAttribute(n)||t.setAttribute(n,r)}_elemIsActive(t){return t.classList.contains(os)}_getInnerElement(t){return t.matches(Ec)?t:he.findOne(Ec,t)}_getOuterElement(t){return t.closest(DI)||t}static jQueryInterface(t){return this.each(function(){const n=io.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}z.on(document,xI,Pb,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Dr(this)&&io.getOrCreateInstance(this).show()});z.on(window,kI,()=>{for(const e of he.find(FI))io.getOrCreateInstance(e)});un(io);const VI="toast",UI="bs.toast",Yr=`.${UI}`,HI=`mouseover${Yr}`,jI=`mouseout${Yr}`,BI=`focusin${Yr}`,WI=`focusout${Yr}`,zI=`hide${Yr}`,YI=`hidden${Yr}`,KI=`show${Yr}`,qI=`shown${Yr}`,GI="fade",pp="hide",Ji="show",Zi="showing",XI={animation:"boolean",autohide:"boolean",delay:"number"},QI={animation:!0,autohide:!0,delay:5e3};class Dl extends An{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return QI}static get DefaultType(){return XI}static get NAME(){return VI}show(){if(z.trigger(this._element,KI).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(GI);const n=()=>{this._element.classList.remove(Zi),z.trigger(this._element,qI),this._maybeScheduleHide()};this._element.classList.remove(pp),Ai(this._element),this._element.classList.add(Ji,Zi),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||z.trigger(this._element,zI).defaultPrevented)return;const n=()=>{this._element.classList.add(pp),this._element.classList.remove(Zi,Ji),z.trigger(this._element,YI)};this._element.classList.add(Zi),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ji),super.dispose()}isShown(){return this._element.classList.contains(Ji)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){z.on(this._element,HI,t=>this._onInteraction(t,!0)),z.on(this._element,jI,t=>this._onInteraction(t,!1)),z.on(this._element,BI,t=>this._onInteraction(t,!0)),z.on(this._element,WI,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Dl.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}$l(Dl);un(Dl);const JI=["id"],ZI={class:"modal-dialog modal-dialog-centered"},e$={class:"modal-content"},t$={class:"modal-header"},n$={class:"modal-title"},r$=p("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),s$={class:"modal-body preserve-breaks"},o$={class:"modal-footer"},i$={type:"button",class:"btn btn-primary","data-bs-dismiss":"modal"},a$=Re({__name:"GenericInfoModal",setup(e,{expose:t}){const{t:n}=ot(),r=te(null);let s;or(()=>{s=Mr.getOrCreateInstance(r.value)}),co(()=>{s==null||s.dispose()});function o(){s?s.show():console.error("Modal was not properly created before showing")}function i(){s?s.hide():console.error("Modal was not properly created before hiding")}const a=te(""),l=te(""),u=te("");return t({show:o,hide:i,modalText:a,modalTitle:l,modalId:u}),(c,f)=>(B(),G("div",{class:"modal",tabindex:"-1",ref_key:"modalRef",ref:r,id:u.value},[p("div",ZI,[p("div",e$,[p("div",t$,[p("h5",n$,j(l.value),1),r$]),p("div",s$,[p("p",null,j(a.value),1)]),p("div",o$,[p("button",i$,j(C(n)("common.buttons.close")),1)])])])],8,JI))}}),l$={class:"vh-100 overflow-y-scroll overflow-x-hidden"},c$=Re({__name:"App",setup(e){const t=go(),n=te(!0);t.userCheckPromise.finally(()=>{n.value=!1});const r=te(null);function s(i,a){r.value?(r.value.modalTitle=i,r.value.modalText=a,r.value.show()):console.error("Modal not yet available")}on(wf,s);const o=te(void 0);return on(Af,o),(i,a)=>(B(),G("div",l$,[re(Q2,{ref_key:"navbar",ref:o,userLoading:n.value},null,8,["userLoading"]),re(C($_)),re(a$,{ref_key:"infoModal",ref:r},null,512)]))}}),Rb="/assets/OldInGameBlurredRotated-Bc8vmN0_.jpeg";class u${getTest(t,n){return new Promise((r,s)=>{Ve.get(`${pn.API_BASE_URL}/user/test/${t}`,{params:{param1:n},withCredentials:!0}).then(o=>{r(o)}).catch(o=>{s(o)})})}getBoardsForUser(){return new Promise((t,n)=>{Ve.get(`${pn.API_BASE_URL}/user/boards`,{withCredentials:!0}).then(r=>{t(r.data)}).catch(r=>{n(r)})})}getBoard(t){return new Promise((n,r)=>{Ve.get(`${pn.API_BASE_URL}/user/boards/${t}`,{withCredentials:!0}).then(s=>{n(s.data)}).catch(s=>{r(s)})})}saveNewBoard(t){return new Promise((n,r)=>{Ve.post(`${pn.API_BASE_URL}/user/boards`,t,{withCredentials:!0}).then(s=>{n(s.data)}).catch(s=>{r(s)})})}updateBoard(t){if(t.id===void 0)throw new Error("New board cant be updated");return new Promise((n,r)=>{Ve.put(`${pn.API_BASE_URL}/user/boards/${t.id}`,t,{withCredentials:!0}).then(s=>{n(s.data)}).catch(s=>{r(s)})})}}const Ws=new u$,Oi=e=>(ol("data-v-9fe00568"),e=e(),il(),e),f$={class:"row"},d$={class:"col"},h$={class:"w-100 d-flex justify-content-center my-5"},m$={class:"container-fluid px-0 d-flex justify-content-center align-items-center flex-column"},p$={class:"row w-100 border-top"},g$={class:"col-md-6 col-12 px-0 bg-body-secondary"},_$={class:"d-flex justify-content-center align-items-center h-100 w-100 flex-column"},v$={class:"m-1"},b$={class:"row"},y$=Oi(()=>p("div",{class:"col-auto"},[p("input",{type:"text",class:"form-control",placeholder:"Code"})],-1)),E$={class:"col-auto"},w$={class:"btn btn-primary"},A$=Oi(()=>p("div",{class:"col-md-6 col-12 px-0 mx-0"},[p("img",{class:"w-100",src:Rb,alt:"Blurred, slightly tilted view of how a board looks like"})],-1)),T$={class:"row w-100 border-bottom"},S$=Oi(()=>p("div",{class:"col-md-6 col-12 px-0 mx-0"},[p("img",{class:"w-100",src:Rb,alt:"Blurred, slightly tilted view of how the a board looks like"})],-1)),C$={class:"col-md-6 col-12 px-0 mx-0 bg-body-secondary"},O$={class:"h-100 w-100 d-flex justify-content-center align-items-center flex-column"},x$={class:"m-1"},N$={class:"row"},k$=Oi(()=>p("div",{class:"col-auto"},[p("input",{type:"text",class:"form-control",placeholder:"Code"})],-1)),I$={class:"col-auto"},$$={class:"btn btn-primary"},L$={class:"row w-100"},P$={class:"col mt-5 mb-5"},R$={class:"container mb-5 text-center"},D$=Oi(()=>p("h4",null," How does it work? ",-1)),M$={class:"row mt-5"},F$={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},V$={class:"border rounded-circle w-fit-content"},U$={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},H$={class:"border rounded-circle w-fit-content"},j$={class:"col-4 d-flex justify-content-center align-items-center flex-column gap-3"},B$={class:"border rounded-circle w-fit-content"},W$=Re({__name:"HomePage",setup(e){const{t}=ot(),n=te({});return or(()=>{Ws.getTest("ping","42").then(r=>{n.value=r.data})}),(r,s)=>(B(),G(ke,null,[p("div",f$,[p("div",d$,[p("div",h$,[p("h1",null,j(C(t)("home.welcome"))+" "+j(n.value),1)])])]),p("div",m$,[p("div",p$,[p("div",g$,[p("div",_$,[p("h3",v$,j(C(t)("join.text")),1),p("p",null,j(C(t)("join.alreadyHostedGome")),1),p("p",null,j(C(t)("join.textCode")),1),p("div",b$,[y$,p("div",E$,[p("button",w$,j(C(t)("join.button")),1)])])])]),A$]),p("div",T$,[S$,p("div",C$,[p("div",O$,[p("h3",x$,j(C(t)("host.text")),1),p("p",null,j(C(t)("host.alreadyHostedGome")),1),p("p",null,j(C(t)("host.textCode")),1),p("div",N$,[k$,p("div",I$,[p("button",$$,j(C(t)("host.button")),1)])])])])]),p("div",L$,[p("div",P$,[p("div",R$,[D$,p("div",M$,[p("div",F$,[p("div",V$,[re(js,{height:"2rem",width:"2rem"})]),Ne(" Create a Board ")]),p("div",U$,[p("div",H$,[re(js,{height:"2rem",width:"2rem"})]),Ne(" Invite your friends ")]),p("div",j$,[p("div",B$,[re(js,{height:"2rem",width:"2rem"})]),Ne(" Have fun playing ")])])])])])])],64))}}),z$=Mn(W$,[["__scopeId","data-v-9fe00568"]]),Y$=Re({__name:"AboutPage",setup(e){const{t}=ot();return(n,r)=>(B(),G("div",null,j(C(t)("about.whatis")),1))}});function gp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?gp(Object(n),!0).forEach(function(r){K$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function K$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _p(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,r)=>(t.includes(r)||(n[r]=C(e[r])),n),{})}function za(e){return typeof e=="function"}function q$(e){return xr(e)||Ys(e)}function Db(e,t,n){let r=e;const s=t.split(".");for(let o=0;o<s.length;o++){if(!r[s[o]])return n;r=r[s[o]]}return r}function wc(e,t,n){return oe(()=>e.some(r=>Db(t,r,{[n]:!1})[n]))}function vp(e,t,n){return oe(()=>e.reduce((r,s)=>{const o=Db(t,s,{[n]:!1})[n]||[];return r.concat(o)},[]))}function Mb(e,t,n,r){return e.call(r,C(t),C(n),r)}function Fb(e){return e.$valid!==void 0?!e.$valid:!e}function G$(e,t,n,r,s,o,i){let{$lazy:a,$rewardEarly:l}=s,u=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],c=arguments.length>8?arguments[8]:void 0,f=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0;const h=te(!!r.value),m=te(0);n.value=!1;const g=Et([t,r].concat(u,d),()=>{if(a&&!r.value||l&&!f.value&&!n.value)return;let v;try{v=Mb(e,t,c,i)}catch(y){v=Promise.reject(y)}m.value++,n.value=!!m.value,h.value=!1,Promise.resolve(v).then(y=>{m.value--,n.value=!!m.value,o.value=y,h.value=Fb(y)}).catch(y=>{m.value--,n.value=!!m.value,o.value=y,h.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:h,$unwatch:g}}function X$(e,t,n,r,s,o,i,a){let{$lazy:l,$rewardEarly:u}=r;const c=()=>({}),f=oe(()=>{if(l&&!n.value||u&&!a.value)return!1;let d=!0;try{const h=Mb(e,t,i,o);s.value=h,d=Fb(h)}catch(h){s.value=h}return d});return{$unwatch:c,$invalid:f}}function Q$(e,t,n,r,s,o,i,a,l,u,c){const f=te(!1),d=e.$params||{},h=te(null);let m,g;e.$async?{$invalid:m,$unwatch:g}=G$(e.$validator,t,f,n,r,h,s,e.$watchTargets,l,u,c):{$invalid:m,$unwatch:g}=X$(e.$validator,t,n,r,h,s,l,u);const v=e.$message;return{$message:za(v)?oe(()=>v(_p({$pending:f,$invalid:m,$params:_p(d),$model:t,$response:h,$validator:o,$propertyPath:a,$property:i}))):v||"",$params:d,$pending:f,$invalid:m,$response:h,$unwatch:g}}function J$(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=C(e),n=Object.keys(t),r={},s={},o={};let i=null;return n.forEach(a=>{const l=t[a];switch(!0){case za(l.$validator):r[a]=l;break;case za(l):r[a]={$validator:l};break;case a==="$validationGroups":i=l;break;case a.startsWith("$"):o[a]=l;break;default:s[a]=l}}),{rules:r,nestedValidators:s,config:o,validationGroups:i}}const Z$="__root";function eL(e,t,n,r,s,o,i,a,l){const u=Object.keys(e),c=r.get(s,e),f=te(!1),d=te(!1),h=te(0);if(c){if(!c.$partial)return c;c.$unwatch(),f.value=c.$dirty.value}const m={$dirty:f,$path:s,$touch:()=>{f.value||(f.value=!0)},$reset:()=>{f.value&&(f.value=!1)},$commit:()=>{}};return u.length?(u.forEach(g=>{m[g]=Q$(e[g],t,m.$dirty,o,i,g,n,s,l,d,h)}),m.$externalResults=oe(()=>a.value?[].concat(a.value).map((g,v)=>({$propertyPath:s,$property:n,$validator:"$externalResults",$uid:`${s}-externalResult-${v}`,$message:g,$params:{},$response:null,$pending:!1})):[]),m.$invalid=oe(()=>{const g=u.some(v=>C(m[v].$invalid));return d.value=g,!!m.$externalResults.value.length||g}),m.$pending=oe(()=>u.some(g=>C(m[g].$pending))),m.$error=oe(()=>m.$dirty.value?m.$pending.value||m.$invalid.value:!1),m.$silentErrors=oe(()=>u.filter(g=>C(m[g].$invalid)).map(g=>{const v=m[g];return rr({$propertyPath:s,$property:n,$validator:g,$uid:`${s}-${g}`,$message:v.$message,$params:v.$params,$response:v.$response,$pending:v.$pending})}).concat(m.$externalResults.value)),m.$errors=oe(()=>m.$dirty.value?m.$silentErrors.value:[]),m.$unwatch=()=>u.forEach(g=>{m[g].$unwatch()}),m.$commit=()=>{d.value=!0,h.value=Date.now()},r.set(s,e,m),m):(c&&r.set(s,e,m),m)}function tL(e,t,n,r,s,o,i){const a=Object.keys(e);return a.length?a.reduce((l,u)=>(l[u]=Lu({validations:e[u],state:t,key:u,parentKey:n,resultsCache:r,globalConfig:s,instance:o,externalResults:i}),l),{}):{}}function nL(e,t,n){const r=oe(()=>[t,n].filter(m=>m).reduce((m,g)=>m.concat(Object.values(C(g))),[])),s=oe({get(){return e.$dirty.value||(r.value.length?r.value.every(m=>m.$dirty):!1)},set(m){e.$dirty.value=m}}),o=oe(()=>{const m=C(e.$silentErrors)||[],g=r.value.filter(v=>(C(v).$silentErrors||[]).length).reduce((v,y)=>v.concat(...y.$silentErrors),[]);return m.concat(g)}),i=oe(()=>{const m=C(e.$errors)||[],g=r.value.filter(v=>(C(v).$errors||[]).length).reduce((v,y)=>v.concat(...y.$errors),[]);return m.concat(g)}),a=oe(()=>r.value.some(m=>m.$invalid)||C(e.$invalid)||!1),l=oe(()=>r.value.some(m=>C(m.$pending))||C(e.$pending)||!1),u=oe(()=>r.value.some(m=>m.$dirty)||r.value.some(m=>m.$anyDirty)||s.value),c=oe(()=>s.value?l.value||a.value:!1),f=()=>{e.$touch(),r.value.forEach(m=>{m.$touch()})},d=()=>{e.$commit(),r.value.forEach(m=>{m.$commit()})},h=()=>{e.$reset(),r.value.forEach(m=>{m.$reset()})};return r.value.length&&r.value.every(m=>m.$dirty)&&f(),{$dirty:s,$errors:i,$invalid:a,$anyDirty:u,$error:c,$pending:l,$touch:f,$reset:h,$silentErrors:o,$commit:d}}function Lu(e){let{validations:t,state:n,key:r,parentKey:s,childResults:o,resultsCache:i,globalConfig:a={},instance:l,externalResults:u}=e;const c=s?`${s}.${r}`:r,{rules:f,nestedValidators:d,config:h,validationGroups:m}=J$(t),g=br(br({},a),h),v=r?oe(()=>{const Ee=C(n);return Ee?C(Ee[r]):void 0}):n,y=br({},C(u)||{}),S=oe(()=>{const Ee=C(u);return r?Ee?C(Ee[r]):void 0:Ee}),E=eL(f,v,r,i,c,g,l,S,n),A=tL(d,v,c,i,g,l,S),x={};m&&Object.entries(m).forEach(Ee=>{let[$e,xe]=Ee;x[$e]={$invalid:wc(xe,A,"$invalid"),$error:wc(xe,A,"$error"),$pending:wc(xe,A,"$pending"),$errors:vp(xe,A,"$errors"),$silentErrors:vp(xe,A,"$silentErrors")}});const{$dirty:O,$errors:k,$invalid:P,$anyDirty:$,$error:V,$pending:Y,$touch:q,$reset:le,$silentErrors:Ie,$commit:Ce}=nL(E,A,o),ie=r?oe({get:()=>C(v),set:Ee=>{O.value=!0;const $e=C(n),xe=C(u);xe&&(xe[r]=y[r]),Ke($e[r])?$e[r].value=Ee:$e[r]=Ee}}):null;r&&g.$autoDirty&&Et(v,()=>{O.value||q();const Ee=C(u);Ee&&(Ee[r]=y[r])},{flush:"sync"});async function fe(){return q(),g.$rewardEarly&&(Ce(),await kr()),await kr(),new Promise(Ee=>{if(!Y.value)return Ee(!P.value);const $e=Et(Y,()=>{Ee(!P.value),$e()})})}function ve(Ee){return(o.value||{})[Ee]}function je(){Ke(u)?u.value=y:Object.keys(y).length===0?Object.keys(u).forEach(Ee=>{delete u[Ee]}):Object.assign(u,y)}return rr(br(br(br({},E),{},{$model:ie,$dirty:O,$error:V,$errors:k,$invalid:P,$anyDirty:$,$pending:Y,$touch:q,$reset:le,$path:c||Z$,$silentErrors:Ie,$validate:fe,$commit:Ce},o&&{$getResultsForChild:ve,$clearExternalResults:je,$validationGroups:x}),A))}class rL{constructor(){this.storage=new Map}set(t,n,r){this.storage.set(t,{rules:n,result:r})}checkRulesValidity(t,n,r){const s=Object.keys(r),o=Object.keys(n);return o.length!==s.length||!o.every(a=>s.includes(a))?!1:o.every(a=>n[a].$params?Object.keys(n[a].$params).every(l=>C(r[a].$params[l])===C(n[a].$params[l])):!0)}get(t,n){const r=this.storage.get(t);if(!r)return;const{rules:s,result:o}=r,i=this.checkRulesValidity(t,n,s),a=o.$unwatch?o.$unwatch:()=>({});return i?o:{$dirty:o.$dirty,$partial:!0,$unwatch:a}}}const ba={COLLECT_ALL:!0,COLLECT_NONE:!1},bp=Symbol("vuelidate#injectChildResults"),yp=Symbol("vuelidate#removeChildResults");function sL(e){let{$scope:t,instance:n}=e;const r={},s=te([]),o=oe(()=>s.value.reduce((c,f)=>(c[f]=C(r[f]),c),{}));function i(c,f){let{$registerAs:d,$scope:h,$stopPropagation:m}=f;m||t===ba.COLLECT_NONE||h===ba.COLLECT_NONE||t!==ba.COLLECT_ALL&&t!==h||(r[d]=c,s.value.push(d))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],i);function a(c){s.value=s.value.filter(f=>f!==c),delete r[c]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],a);const l=tt(bp,[]);on(bp,n.__vuelidateInjectInstances);const u=tt(yp,[]);return on(yp,n.__vuelidateRemoveInstances),{childResults:o,sendValidationResultsToParent:l,removeValidationResultsFromParent:u}}function Vb(e){return new Proxy(e,{get(t,n){return typeof t[n]=="object"?Vb(t[n]):oe(()=>t[n])}})}let Ep=0;function Ub(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(r=e,e=void 0,t=void 0);let{$registerAs:s,$scope:o=ba.COLLECT_ALL,$stopPropagation:i,$externalResults:a,currentVueInstance:l}=r;const u=l||((n=Pn())===null||n===void 0?void 0:n.proxy),c=u?u.$options:{};s||(Ep+=1,s=`_vuelidate_${Ep}`);const f=te({}),d=new rL,{childResults:h,sendValidationResultsToParent:m,removeValidationResultsFromParent:g}=u?sL({$scope:o,instance:u}):{childResults:te({})};if(!e&&c.validations){const v=c.validations;t=te({}),lf(()=>{t.value=u,Et(()=>za(v)?v.call(t.value,new Vb(t.value)):v,y=>{f.value=Lu({validations:y,state:t,childResults:h,resultsCache:d,globalConfig:r,instance:u,externalResults:a||u.vuelidateExternalResults})},{immediate:!0})}),r=c.validationsConfig||r}else{const v=Ke(e)||q$(e)?e:rr(e||{});Et(v,y=>{f.value=Lu({validations:y,state:t,childResults:h,resultsCache:d,globalConfig:r,instance:u??{},externalResults:a})},{immediate:!0})}return u&&(m.forEach(v=>v(f,{$registerAs:s,$scope:o,$stopPropagation:i})),Eg(()=>g.forEach(v=>v(s)))),oe(()=>br(br({},C(f.value)),h.value))}function wp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Hb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wp(Object(n),!0).forEach(function(r){oL(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pu(e){return typeof e=="function"}function iL(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function aL(e){return Pu(e.$validator)?Hb({},e):{$validator:e}}function Ap(e,t){if(!Pu(e)&&typeof C(e)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);if(!iL(t)&&!Pu(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=aL(t);return n.$message=e,n}const od=e=>{if(e=C(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let t in e)return!0;return!1}return!!String(e).length},lL=e=>(e=C(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function bs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r=>(r=C(r),!od(r)||t.every(s=>(s.lastIndex=0,s.test(r))))}bs(/^[a-zA-Z]*$/);bs(/^[a-zA-Z0-9]*$/);bs(/^\d*(\.\d+)?$/);const cL=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;bs(cL);function uL(e){return t=>!od(t)||lL(t)>=C(e)}function fL(e){return{$validator:uL(e),$message:t=>{let{$params:n}=t;return`This field should be at least ${n.min} characters long`},$params:{min:e,type:"minLength"}}}function dL(e){return typeof e=="string"&&(e=e.trim()),od(e)}var jb={$validator:dL,$message:"Value is required",$params:{type:"required"}};function hL(e){return t=>C(t)===C(e)}function mL(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"other";return{$validator:hL(e),$message:n=>`The value must be equal to the ${t} value`,$params:{equalTo:e,otherName:t,type:"sameAs"}}}const pL=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;bs(pL);bs(/(^[0-9]*$)|(^-[0-9]+$)/);bs(/^[-]?\d*(\.\d+)?$/);function Bb(e){let{t,messagePath:n=s=>{let{$validator:o}=s;return`validations.${o}`},messageParams:r=s=>s}=e;return function(o){let{withArguments:i=!1,messagePath:a=n,messageParams:l=r}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function u(c){return t(a(c),l(Hb({model:c.$model,property:c.$property,pending:c.$pending,invalid:c.$invalid,response:c.$response,validator:c.$validator,propertyPath:c.$propertyPath},c.$params)))}return i&&typeof o=="function"?function(){return Ap(u,o(...arguments))}:Ap(u,o)}}const gL={class:"container d-flex flex-column justify-content-center align-items-center"},_L={class:"row mt-5"},vL={class:"col"},bL={class:"card"},yL={class:"card-header bg-primary p-4"},EL={class:"mb-0"},wL={class:"card-body bg-body-secondary"},AL={class:"d-flex flex-column gap-3 mt-3"},TL={class:"mb-3"},SL={for:"input-username"},CL={key:0,class:"text-danger ps-3"},OL={class:"mb-3"},xL={for:"input-username"},NL={key:0,class:"text-danger ps-3"},kL={class:"mb-3 d-flex justify-content-between"},IL={key:0,class:"alert alert-danger",role:"alert"},$L=Re({__name:"LoginPage",setup(e){const{t}=ot(),n=gi(),r=Ef(),s=go(),o=tt(wf),i=te(""),a=te(""),l=te(""),u=te(!1);function c(){if(g.value.$touch(),g.value.$error){f(t("forms.validate-fields"));return}else l.value="";const v={username:i.value,password:a.value};u.value=!0,xl.loginUser(v).then(y=>{s.loginUser(y),r.query.r?n.push({name:r.query.r.toString()}):n.push({name:"profile"})}).catch(y=>{var S;if(console.error(y),y instanceof $2&&((S=y.response)==null?void 0:S.data)===4011)f(t("login.error.credentials"));else{const E=t("login.error.process");o!==void 0?o(t("common.error.generic"),E):alert(E)}}).finally(()=>{u.value=!1})}function f(v,y=3e3){l.value=v,setTimeout(()=>{l.value=""},y)}const h=Bb({t})(jb),m=oe(()=>({username:{inputRequired:h},password:{inputRequired:h}})),g=Ub(m,{username:i,password:a});return(v,y)=>(B(),G("div",gL,[p("div",_L,[p("div",vL,[p("div",bL,[p("div",yL,[p("h2",EL,j(C(t)("login.loginHeader")),1)]),p("div",wL,[p("div",AL,[p("div",TL,[p("label",SL,[Ne(j(C(t)("login.username"))+" ",1),C(g).username.$error?(B(),G("span",CL,j(C(g).username.$errors[0].$message),1)):st("",!0)]),et(p("input",{"onUpdate:modelValue":y[0]||(y[0]=S=>i.value=S),type:"text",id:"input-username",class:It(["form-control",[{"border-danger":C(g).username.$error}]]),onBlur:y[1]||(y[1]=(...S)=>C(g).username.$touch&&C(g).username.$touch(...S)),onKeyup:ls(c,["enter"])},null,34),[[dt,i.value]])]),p("div",OL,[p("label",xL,[Ne(j(C(t)("login.password"))+" ",1),C(g).password.$error?(B(),G("span",NL,j(C(g).password.$errors[0].$message),1)):st("",!0)]),et(p("input",{"onUpdate:modelValue":y[2]||(y[2]=S=>a.value=S),type:"password",id:"input-username",class:It(["form-control",[{"border-danger":C(g).password.$error}]]),onBlur:y[3]||(y[3]=(...S)=>C(g).password.$touch&&C(g).password.$touch(...S)),onKeyup:ls(c,["enter"])},null,34),[[dt,a.value]])]),p("div",kL,[re(C(Ar),{to:"/signup",class:"btn btn-outline-primary"},{default:mn(()=>[Ne(j(C(t)("login.signupLinkButton")),1)]),_:1}),p("button",{class:"btn btn-primary",onClick:c},j(C(t)("login.loginButton")),1)]),l.value?(B(),G("div",IL,j(l.value),1)):st("",!0)])])])])])]))}}),LL={class:"container d-flex flex-column justify-content-center align-items-center"},PL={class:"row mt-5"},RL={class:"col"},DL={class:"card"},ML={class:"card-header bg-primary p-4"},FL={class:"mb-0"},VL={class:"card-body bg-body-secondary"},UL={class:"d-flex flex-column gap-3 mt-3"},HL={class:"mb-3"},jL={for:"input-username"},BL={key:0,class:"text-danger ps-3"},WL={class:"mb-3"},zL={for:"input-username"},YL={key:0,class:"text-danger ps-3"},KL={class:"mb-3"},qL={for:"input-username-repeat"},GL={key:0,class:"text-danger ps-3"},XL={class:"mb-3 d-flex justify-content-between"},QL=["disabled"],JL={key:0,class:"alert alert-danger",role:"alert"},ZL=Re({__name:"SignupPage",setup(e){const{t}=ot(),n=gi(),r=go(),s=tt(wf),o=te(""),i=te(""),a=te(""),l=te(""),u=te(!1);function c(){if(m.value.$touch(),m.value.$error){l.value=t("forms.validate-fields"),setTimeout(()=>{l.value=""},3e3);return}else l.value="";const g={username:o.value,password:i.value};u.value=!0,xl.signupUser(g).then(v=>{r.loginUser(v),n.push({name:"profile"})}).catch(v=>{console.error(v);const y=t("login.error.process");s!==void 0?s(t("common.error.generic"),y):alert(y)}).finally(()=>{u.value=!1})}const f=Bb({t}),d=f(jb),h=oe(()=>({username:{inputRequired:d},password:{inputRequired:d,minLength:f(fL(10))},passwordRepeat:{inputRequired:d,sameAs:f(mL(i.value,t("login.password")))}})),m=Ub(h,{username:o,password:i,passwordRepeat:a});return(g,v)=>{const y=af("FontAwesomeIcon");return B(),G("div",LL,[p("div",PL,[p("div",RL,[p("div",DL,[p("div",ML,[p("h2",FL,j(C(t)("signup.signupHeader")),1)]),p("div",VL,[p("div",UL,[p("div",HL,[p("label",jL,[Ne(j(C(t)("login.username"))+" ",1),C(m).username.$error?(B(),G("span",BL,j(C(m).username.$errors[0].$message),1)):st("",!0)]),et(p("input",{type:"text",id:"input-username",class:It(["form-control",[{"border-danger":C(m).username.$error}]]),"onUpdate:modelValue":v[0]||(v[0]=S=>o.value=S),onBlur:v[1]||(v[1]=(...S)=>C(m).username.$touch&&C(m).username.$touch(...S)),onKeyup:ls(c,["enter"])},null,34),[[dt,o.value]])]),p("div",WL,[p("label",zL,[Ne(j(C(t)("login.password"))+" ",1),C(m).password.$error?(B(),G("span",YL,j(C(m).password.$errors[0].$message),1)):st("",!0)]),et(p("input",{type:"password",id:"input-username",class:It(["form-control",[{"border-danger":C(m).password.$error}]]),"onUpdate:modelValue":v[2]||(v[2]=S=>i.value=S),onBlur:v[3]||(v[3]=(...S)=>C(m).password.$touch&&C(m).password.$touch(...S)),onKeyup:ls(c,["enter"])},null,34),[[dt,i.value]])]),p("div",KL,[p("label",qL,[Ne(j(C(t)("signup.password-repeat"))+" ",1),C(m).passwordRepeat.$error?(B(),G("span",GL,j(C(m).passwordRepeat.$errors[0].$message),1)):st("",!0)]),et(p("input",{type:"password",id:"input-username-repeat",class:It(["form-control",[{"border-danger":C(m).passwordRepeat.$error}]]),"onUpdate:modelValue":v[4]||(v[4]=S=>a.value=S),onBlur:v[5]||(v[5]=(...S)=>C(m).passwordRepeat.$touch&&C(m).passwordRepeat.$touch(...S)),onKeyup:ls(c,["enter"])},null,34),[[dt,a.value]])]),p("div",XL,[re(C(Ar),{to:"/login",class:"btn btn-outline-primary"},{default:mn(()=>[Ne(j(C(t)("signup.loginLinkButton")),1)]),_:1}),p("button",{class:"btn btn-primary",onClick:c,disabled:u.value},[u.value?(B(),it(y,{key:0,icon:["fas","spinner"],spin:""})):st("",!0),Ne(" "+j(C(t)("signup.signupButton")),1)],8,QL)]),l.value?(B(),G("div",JL,j(l.value),1)):st("",!0)])])])])])])}}});class eP{getTypes(){return new Promise((t,n)=>{Ve.get(`${pn.API_BASE_URL}/board/structure`,{withCredentials:!0}).then(r=>{t(r.data)}).catch(r=>{n(r)})})}}const Wb=new eP;class Ru{constructor(t,n=[],r=!1,s=void 0,o=void 0){this.boardName=t,this.categories=n,this.pointsAreTitle=r,this.owner=s,this.id=o}}class Du{constructor(t,n,r=[],s=void 0){this.name=t,this.description=n,this.boardEntries=r,this.id=s}}class zb{constructor(t,n,r,s=100,o=void 0){this.name=t,this.answer=n,this.questions=r,this.points=s,this.id=o}}class Yb{constructor(t,n,r=void 0,s=void 0,o=void 0){this.text=t,this.answerType=n,this.location=r,this.image=s,this.id=o}}class Kb{constructor(t,n,r,s){this.title=t,this.description=n,this.active=r,this.id=s}}const tP={class:"mx-3 h-100 d-flex flex-column"},nP={class:"row"},rP={class:"col text-center p-3"},sP={class:"row h-100"},oP={class:"d-flex flex-column h-100"},iP=["onClick","title"],aP={class:"card-body d-flex align-items-center justify-content-center"},lP=["onClick"],cP={class:"card-body d-flex align-items-center justify-content-center"},uP=Re({__name:"BoardView",props:{board:{}},emits:["categorySelected","boardEntrySelected"],setup(e,{emit:t}){ot();const n=e,r=t;function s(i){r("categorySelected",i)}function o(i,a){r("boardEntrySelected",i,a)}return(i,a)=>(B(),G("div",tP,[p("div",nP,[p("div",rP,[p("h2",null,j(i.board.boardName),1)])]),p("div",sP,[(B(!0),G(ke,null,Kt(n.board.categories,(l,u)=>(B(),G("div",{key:l.name,class:"col pb-2"},[p("div",oP,[p("button",{class:"flex-fill board-card-max-height card bg-primary w-100 my-1",onClick:c=>s(u),title:i.board.categories[u].description},[p("div",aP,j(l.name),1)],8,iP),(B(!0),G(ke,null,Kt(l.boardEntries,(c,f)=>(B(),G("button",{key:c.name,class:"flex-fill board-card-max-height card bg-body-secondary w-100 my-1",onClick:d=>o(u,f)},[p("div",cP,[i.board.pointsAreTitle?(B(),G(ke,{key:0},[Ne(j(c.points),1)],64)):(B(),G(ke,{key:1},[Ne(j(c.name),1)],64))])],8,lP))),128))])]))),128))])]))}}),qb=Mn(uP,[["__scopeId","data-v-b4bbf48f"]]),fP="/assets/SoundWave-DTakXsgI.png",dP=e=>(ol("data-v-738ecf74"),e=e(),il(),e),hP={class:"h-100 d-flex flex-column"},mP={class:"row h-100"},pP={class:"col h-100 mx-3 overflow-y-auto"},gP={class:"ratio ratio-16x9"},_P={class:"w-100 h-100 d-flex justify-content-center align-items-center"},vP={key:0,class:"fs-1"},bP={key:2,class:"d-flex flex-column justify-content-center align-items-center h-100 w-100"},yP={class:"h-75 w-100 d-flex justify-content-center align-items-center"},EP=["src"],wP={key:3,class:"d-flex flex-column justify-content-center align-items-center h-100 w-100"},AP={class:"h-75 w-100 d-flex justify-content-center align-items-center"},TP={key:0,src:fP,alt:"User uploaded - No caption available",class:"h-100 w-100 object-contain"},SP={class:"position-absolute top-0 start-0"},CP={class:"fs-2"},OP={class:"position-absolute top-0 end-0"},xP={class:"fs-2"},NP={class:"position-absolute top-0 start-50 translate-middle-x"},kP={class:"mt-2"},IP={key:1,class:"position-absolute bottom-0 start-50 translate-middle-x mb-2"},$P={class:"bg-primary p-2 rounded bg-opacity-50 fs-4 text-center"},LP=dP(()=>p("br",null,null,-1)),PP={key:0,class:"position-absolute bottom-0 start-0 mb-3 ms-3"},RP=["disabled","onClick"],DP=1,MP=2,FP=3,VP=Re({__name:"BoardEntryView",props:{boardEntry:{},selectedQuestionIndex:{},isAnswerShown:{type:Boolean},isQuestionShown:{type:Boolean},categoryName:{}},emits:["questionSelected","showQuestion","hideQuestion","showAnswer","hideAnswer","showBoard"],setup(e,{emit:t}){const n=e,r=t,s=oe(()=>n.boardEntry.questions[n.selectedQuestionIndex??0]);function o(m){r("questionSelected",m)}function i(){r("showQuestion")}function a(){r("hideQuestion")}function l(){r("showAnswer")}function u(){r("hideAnswer")}function c(){r("showBoard")}const f=te(null);function d(){f.value||(f.value=new Audio(s.value.audio)),f.value.play()}function h(){f.value&&f.value.pause()}return(m,g)=>(B(),G("div",hP,[p("div",mP,[p("div",pP,[p("div",gP,[p("div",_P,[m.isQuestionShown?(B(),G(ke,{key:0},[m.boardEntry.questions.length===0?(B(),G("span",vP," No Question to show ")):s.value.questionType.id===DP?(B(),G("span",{key:1,class:"text-center preserve-breaks",style:sn(`font-size: ${s.value.fontScaling}em`)},j(s.value.text),5)):s.value.questionType.id===MP?(B(),G("div",bP,[p("span",{class:"text-center preserve-breaks",style:sn(`font-size: ${s.value.fontScaling}em`)},j(s.value.text),5),p("div",yP,[s.value.image?(B(),G("img",{key:0,src:s.value.image,alt:"User uploaded - No caption available",class:"h-100 w-100 object-contain"},null,8,EP)):st("",!0)])])):s.value.questionType.id===FP?(B(),G("div",wP,[p("span",{class:"text-center preserve-breaks",style:sn(`font-size: ${s.value.fontScaling}em`)},j(s.value.text),5),p("div",AP,[s.value.audio?(B(),G("img",TP)):st("",!0),p("button",{class:"btn btn-primary",onClick:d}," Play Audio "),p("button",{class:"btn btn-primary",onClick:h}," Stop Audio ")])])):st("",!0)],64)):st("",!0),p("div",SP,[p("span",CP,j(),1)]),p("div",OP,[p("span",xP,j(m.boardEntry.points),1)]),p("div",{class:"position-absolute bottom-0 end-0"},[p("div",null,[p("button",{class:"btn btn-outline-primary",onClick:c}," Back to Board ")])]),p("div",NP,[p("div",kP,[n.isQuestionShown?(B(),G("button",{key:0,class:"btn btn-outline-primary me-3",onClick:a}," Hide Question ")):(B(),G("button",{key:1,class:"btn btn-outline-primary me-3",onClick:i}," Show Question ")),n.isAnswerShown?(B(),G("button",{key:2,class:"btn btn-outline-primary",onClick:u}," Hide Answer ")):(B(),G("button",{key:3,class:"btn btn-outline-primary",onClick:l}," Show Answer "))])]),m.isAnswerShown?(B(),G("div",IP,[p("div",$P,[Ne(" Answer:"),LP,Ne(j(m.boardEntry.answer.text),1)])])):st("",!0)])])])]),n.boardEntry.questions.length>1?(B(),G("div",PP,[(B(!0),G(ke,null,Kt(n.boardEntry.questions,(v,y)=>(B(),G("button",{key:v.id,class:It(["btn me-2",[{"btn-primary":n.selectedQuestionIndex===y},{"btn-outline-primary":n.selectedQuestionIndex!==y}]]),disabled:n.selectedQuestionIndex===y,onClick:S=>o(y)},j(y+1),11,RP))),128))])):st("",!0)]))}}),Gb=Mn(VP,[["__scopeId","data-v-738ecf74"]]);class Ac{constructor(t,n,r=null,s=0,o=!1,i=!1,a=!1,l=""){this.id=t,this.name=n,this.picture=r,this.points=s,this.isChoosing=o,this.isAnswering=i,this.allowedToAnswer=a,this.answerText=l}}const No={LF:`
|
||
`,NULL:"\0"};class Tr{constructor(t){const{command:n,headers:r,body:s,binaryBody:o,escapeHeaderValues:i,skipContentLengthHeader:a}=t;this.command=n,this.headers=Object.assign({},r||{}),o?(this._binaryBody=o,this.isBinaryBody=!0):(this._body=s||"",this.isBinaryBody=!1),this.escapeHeaderValues=i||!1,this.skipContentLengthHeader=a||!1}get body(){return!this._body&&this.isBinaryBody&&(this._body=new TextDecoder().decode(this._binaryBody)),this._body||""}get binaryBody(){return!this._binaryBody&&!this.isBinaryBody&&(this._binaryBody=new TextEncoder().encode(this._body)),this._binaryBody}static fromRawFrame(t,n){const r={},s=o=>o.replace(/^\s+|\s+$/g,"");for(const o of t.headers.reverse()){o.indexOf(":");const i=s(o[0]);let a=s(o[1]);n&&t.command!=="CONNECT"&&t.command!=="CONNECTED"&&(a=Tr.hdrValueUnEscape(a)),r[i]=a}return new Tr({command:t.command,headers:r,binaryBody:t.binaryBody,escapeHeaderValues:n})}toString(){return this.serializeCmdAndHeaders()}serialize(){const t=this.serializeCmdAndHeaders();return this.isBinaryBody?Tr.toUnit8Array(t,this._binaryBody).buffer:t+this._body+No.NULL}serializeCmdAndHeaders(){const t=[this.command];this.skipContentLengthHeader&&delete this.headers["content-length"];for(const n of Object.keys(this.headers||{})){const r=this.headers[n];this.escapeHeaderValues&&this.command!=="CONNECT"&&this.command!=="CONNECTED"?t.push(`${n}:${Tr.hdrValueEscape(`${r}`)}`):t.push(`${n}:${r}`)}return(this.isBinaryBody||!this.isBodyEmpty()&&!this.skipContentLengthHeader)&&t.push(`content-length:${this.bodyLength()}`),t.join(No.LF)+No.LF+No.LF}isBodyEmpty(){return this.bodyLength()===0}bodyLength(){const t=this.binaryBody;return t?t.length:0}static sizeOfUTF8(t){return t?new TextEncoder().encode(t).length:0}static toUnit8Array(t,n){const r=new TextEncoder().encode(t),s=new Uint8Array([0]),o=new Uint8Array(r.length+n.length+s.length);return o.set(r),o.set(n,r.length),o.set(s,r.length+n.length),o}static marshall(t){return new Tr(t).serialize()}static hdrValueEscape(t){return t.replace(/\\/g,"\\\\").replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/:/g,"\\c")}static hdrValueUnEscape(t){return t.replace(/\\r/g,"\r").replace(/\\n/g,`
|
||
`).replace(/\\c/g,":").replace(/\\\\/g,"\\")}}const Tp=0,ea=10,ta=13,UP=58;class HP{constructor(t,n){this.onFrame=t,this.onIncomingPing=n,this._encoder=new TextEncoder,this._decoder=new TextDecoder,this._token=[],this._initState()}parseChunk(t,n=!1){let r;if(typeof t=="string"?r=this._encoder.encode(t):r=new Uint8Array(t),n&&r[r.length-1]!==0){const s=new Uint8Array(r.length+1);s.set(r,0),s[r.length]=0,r=s}for(let s=0;s<r.length;s++){const o=r[s];this._onByte(o)}}_collectFrame(t){if(t!==Tp&&t!==ta){if(t===ea){this.onIncomingPing();return}this._onByte=this._collectCommand,this._reinjectByte(t)}}_collectCommand(t){if(t!==ta){if(t===ea){this._results.command=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaders;return}this._consumeByte(t)}}_collectHeaders(t){if(t!==ta){if(t===ea){this._setupCollectBody();return}this._onByte=this._collectHeaderKey,this._reinjectByte(t)}}_reinjectByte(t){this._onByte(t)}_collectHeaderKey(t){if(t===UP){this._headerKey=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaderValue;return}this._consumeByte(t)}_collectHeaderValue(t){if(t!==ta){if(t===ea){this._results.headers.push([this._headerKey,this._consumeTokenAsUTF8()]),this._headerKey=void 0,this._onByte=this._collectHeaders;return}this._consumeByte(t)}}_setupCollectBody(){const t=this._results.headers.filter(n=>n[0]==="content-length")[0];t?(this._bodyBytesRemaining=parseInt(t[1],10),this._onByte=this._collectBodyFixedSize):this._onByte=this._collectBodyNullTerminated}_collectBodyNullTerminated(t){if(t===Tp){this._retrievedBody();return}this._consumeByte(t)}_collectBodyFixedSize(t){if(this._bodyBytesRemaining--===0){this._retrievedBody();return}this._consumeByte(t)}_retrievedBody(){this._results.binaryBody=this._consumeTokenAsRaw();try{this.onFrame(this._results)}catch(t){console.log("Ignoring an exception thrown by a frame handler. Original exception: ",t)}this._initState()}_consumeByte(t){this._token.push(t)}_consumeTokenAsUTF8(){return this._decoder.decode(this._consumeTokenAsRaw())}_consumeTokenAsRaw(){const t=new Uint8Array(this._token);return this._token=[],t}_initState(){this._results={command:void 0,headers:[],binaryBody:void 0},this._token=[],this._headerKey=void 0,this._onByte=this._collectFrame}}var Wn;(function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED"})(Wn=Wn||(Wn={}));var en;(function(e){e[e.ACTIVE=0]="ACTIVE",e[e.DEACTIVATING=1]="DEACTIVATING",e[e.INACTIVE=2]="INACTIVE"})(en=en||(en={}));class Nt{constructor(t){this.versions=t}supportedVersions(){return this.versions.join(",")}protocolVersions(){return this.versions.map(t=>`v${t.replace(".","")}.stomp`)}}Nt.V1_0="1.0";Nt.V1_1="1.1";Nt.V1_2="1.2";Nt.default=new Nt([Nt.V1_2,Nt.V1_1,Nt.V1_0]);function jP(e,t){e.terminate=function(){const n=()=>{};this.onerror=n,this.onmessage=n,this.onopen=n;const r=new Date,s=Math.random().toString().substring(2,8),o=this.onclose;this.onclose=i=>{const a=new Date().getTime()-r.getTime();t(`Discarded socket (#${s}) closed after ${a}ms, with code/reason: ${i.code}/${i.reason}`)},this.close(),o==null||o.call(e,{code:4001,reason:`Quick discarding socket (#${s}) without waiting for the shutdown sequence.`,wasClean:!1})}}class BP{constructor(t,n,r){this._client=t,this._webSocket=n,this._connected=!1,this._serverFrameHandlers={CONNECTED:s=>{this.debug(`connected to server ${s.headers.server}`),this._connected=!0,this._connectedVersion=s.headers.version,this._connectedVersion===Nt.V1_2&&(this._escapeHeaderValues=!0),this._setupHeartbeat(s.headers),this.onConnect(s)},MESSAGE:s=>{const o=s.headers.subscription,i=this._subscriptions[o]||this.onUnhandledMessage,a=s,l=this,u=this._connectedVersion===Nt.V1_2?a.headers.ack:a.headers["message-id"];a.ack=(c={})=>l.ack(u,o,c),a.nack=(c={})=>l.nack(u,o,c),i(a)},RECEIPT:s=>{const o=this._receiptWatchers[s.headers["receipt-id"]];o?(o(s),delete this._receiptWatchers[s.headers["receipt-id"]]):this.onUnhandledReceipt(s)},ERROR:s=>{this.onStompError(s)}},this._counter=0,this._subscriptions={},this._receiptWatchers={},this._partialData="",this._escapeHeaderValues=!1,this._lastServerActivityTS=Date.now(),this.debug=r.debug,this.stompVersions=r.stompVersions,this.connectHeaders=r.connectHeaders,this.disconnectHeaders=r.disconnectHeaders,this.heartbeatIncoming=r.heartbeatIncoming,this.heartbeatOutgoing=r.heartbeatOutgoing,this.splitLargeFrames=r.splitLargeFrames,this.maxWebSocketChunkSize=r.maxWebSocketChunkSize,this.forceBinaryWSFrames=r.forceBinaryWSFrames,this.logRawCommunication=r.logRawCommunication,this.appendMissingNULLonIncoming=r.appendMissingNULLonIncoming,this.discardWebsocketOnCommFailure=r.discardWebsocketOnCommFailure,this.onConnect=r.onConnect,this.onDisconnect=r.onDisconnect,this.onStompError=r.onStompError,this.onWebSocketClose=r.onWebSocketClose,this.onWebSocketError=r.onWebSocketError,this.onUnhandledMessage=r.onUnhandledMessage,this.onUnhandledReceipt=r.onUnhandledReceipt,this.onUnhandledFrame=r.onUnhandledFrame}get connectedVersion(){return this._connectedVersion}get connected(){return this._connected}start(){const t=new HP(n=>{const r=Tr.fromRawFrame(n,this._escapeHeaderValues);this.logRawCommunication||this.debug(`<<< ${r}`),(this._serverFrameHandlers[r.command]||this.onUnhandledFrame)(r)},()=>{this.debug("<<< PONG")});this._webSocket.onmessage=n=>{if(this.debug("Received data"),this._lastServerActivityTS=Date.now(),this.logRawCommunication){const r=n.data instanceof ArrayBuffer?new TextDecoder().decode(n.data):n.data;this.debug(`<<< ${r}`)}t.parseChunk(n.data,this.appendMissingNULLonIncoming)},this._webSocket.onclose=n=>{this.debug(`Connection closed to ${this._webSocket.url}`),this._cleanUp(),this.onWebSocketClose(n)},this._webSocket.onerror=n=>{this.onWebSocketError(n)},this._webSocket.onopen=()=>{const n=Object.assign({},this.connectHeaders);this.debug("Web Socket Opened..."),n["accept-version"]=this.stompVersions.supportedVersions(),n["heart-beat"]=[this.heartbeatOutgoing,this.heartbeatIncoming].join(","),this._transmit({command:"CONNECT",headers:n})}}_setupHeartbeat(t){if(t.version!==Nt.V1_1&&t.version!==Nt.V1_2||!t["heart-beat"])return;const[n,r]=t["heart-beat"].split(",").map(s=>parseInt(s,10));if(this.heartbeatOutgoing!==0&&r!==0){const s=Math.max(this.heartbeatOutgoing,r);this.debug(`send PING every ${s}ms`),this._pinger=setInterval(()=>{this._webSocket.readyState===Wn.OPEN&&(this._webSocket.send(No.LF),this.debug(">>> PING"))},s)}if(this.heartbeatIncoming!==0&&n!==0){const s=Math.max(this.heartbeatIncoming,n);this.debug(`check PONG every ${s}ms`),this._ponger=setInterval(()=>{const o=Date.now()-this._lastServerActivityTS;o>s*2&&(this.debug(`did not receive server activity for the last ${o}ms`),this._closeOrDiscardWebsocket())},s)}}_closeOrDiscardWebsocket(){this.discardWebsocketOnCommFailure?(this.debug("Discarding websocket, the underlying socket may linger for a while"),this.discardWebsocket()):(this.debug("Issuing close on the websocket"),this._closeWebsocket())}forceDisconnect(){this._webSocket&&(this._webSocket.readyState===Wn.CONNECTING||this._webSocket.readyState===Wn.OPEN)&&this._closeOrDiscardWebsocket()}_closeWebsocket(){this._webSocket.onmessage=()=>{},this._webSocket.close()}discardWebsocket(){typeof this._webSocket.terminate!="function"&&jP(this._webSocket,t=>this.debug(t)),this._webSocket.terminate()}_transmit(t){const{command:n,headers:r,body:s,binaryBody:o,skipContentLengthHeader:i}=t,a=new Tr({command:n,headers:r,body:s,binaryBody:o,escapeHeaderValues:this._escapeHeaderValues,skipContentLengthHeader:i});let l=a.serialize();if(this.logRawCommunication?this.debug(`>>> ${l}`):this.debug(`>>> ${a}`),this.forceBinaryWSFrames&&typeof l=="string"&&(l=new TextEncoder().encode(l)),typeof l!="string"||!this.splitLargeFrames)this._webSocket.send(l);else{let u=l;for(;u.length>0;){const c=u.substring(0,this.maxWebSocketChunkSize);u=u.substring(this.maxWebSocketChunkSize),this._webSocket.send(c),this.debug(`chunk sent = ${c.length}, remaining = ${u.length}`)}}}dispose(){if(this.connected)try{const t=Object.assign({},this.disconnectHeaders);t.receipt||(t.receipt=`close-${this._counter++}`),this.watchForReceipt(t.receipt,n=>{this._closeWebsocket(),this._cleanUp(),this.onDisconnect(n)}),this._transmit({command:"DISCONNECT",headers:t})}catch(t){this.debug(`Ignoring error during disconnect ${t}`)}else(this._webSocket.readyState===Wn.CONNECTING||this._webSocket.readyState===Wn.OPEN)&&this._closeWebsocket()}_cleanUp(){this._connected=!1,this._pinger&&(clearInterval(this._pinger),this._pinger=void 0),this._ponger&&(clearInterval(this._ponger),this._ponger=void 0)}publish(t){const{destination:n,headers:r,body:s,binaryBody:o,skipContentLengthHeader:i}=t,a=Object.assign({destination:n},r);this._transmit({command:"SEND",headers:a,body:s,binaryBody:o,skipContentLengthHeader:i})}watchForReceipt(t,n){this._receiptWatchers[t]=n}subscribe(t,n,r={}){r=Object.assign({},r),r.id||(r.id=`sub-${this._counter++}`),r.destination=t,this._subscriptions[r.id]=n,this._transmit({command:"SUBSCRIBE",headers:r});const s=this;return{id:r.id,unsubscribe(o){return s.unsubscribe(r.id,o)}}}unsubscribe(t,n={}){n=Object.assign({},n),delete this._subscriptions[t],n.id=t,this._transmit({command:"UNSUBSCRIBE",headers:n})}begin(t){const n=t||`tx-${this._counter++}`;this._transmit({command:"BEGIN",headers:{transaction:n}});const r=this;return{id:n,commit(){r.commit(n)},abort(){r.abort(n)}}}commit(t){this._transmit({command:"COMMIT",headers:{transaction:t}})}abort(t){this._transmit({command:"ABORT",headers:{transaction:t}})}ack(t,n,r={}){r=Object.assign({},r),this._connectedVersion===Nt.V1_2?r.id=t:r["message-id"]=t,r.subscription=n,this._transmit({command:"ACK",headers:r})}nack(t,n,r={}){return r=Object.assign({},r),this._connectedVersion===Nt.V1_2?r.id=t:r["message-id"]=t,r.subscription=n,this._transmit({command:"NACK",headers:r})}}class WP{constructor(t={}){this.stompVersions=Nt.default,this.connectionTimeout=0,this.reconnectDelay=5e3,this.heartbeatIncoming=1e4,this.heartbeatOutgoing=1e4,this.splitLargeFrames=!1,this.maxWebSocketChunkSize=8*1024,this.forceBinaryWSFrames=!1,this.appendMissingNULLonIncoming=!1,this.discardWebsocketOnCommFailure=!1,this.state=en.INACTIVE;const n=()=>{};this.debug=n,this.beforeConnect=n,this.onConnect=n,this.onDisconnect=n,this.onUnhandledMessage=n,this.onUnhandledReceipt=n,this.onUnhandledFrame=n,this.onStompError=n,this.onWebSocketClose=n,this.onWebSocketError=n,this.logRawCommunication=!1,this.onChangeState=n,this.connectHeaders={},this._disconnectHeaders={},this.configure(t)}get webSocket(){var t;return(t=this._stompHandler)==null?void 0:t._webSocket}get disconnectHeaders(){return this._disconnectHeaders}set disconnectHeaders(t){this._disconnectHeaders=t,this._stompHandler&&(this._stompHandler.disconnectHeaders=this._disconnectHeaders)}get connected(){return!!this._stompHandler&&this._stompHandler.connected}get connectedVersion(){return this._stompHandler?this._stompHandler.connectedVersion:void 0}get active(){return this.state===en.ACTIVE}_changeState(t){this.state=t,this.onChangeState(t)}configure(t){Object.assign(this,t)}activate(){const t=()=>{if(this.active){this.debug("Already ACTIVE, ignoring request to activate");return}this._changeState(en.ACTIVE),this._connect()};this.state===en.DEACTIVATING?(this.debug("Waiting for deactivation to finish before activating"),this.deactivate().then(()=>{t()})):t()}async _connect(){if(await this.beforeConnect(),this._stompHandler){this.debug("There is already a stompHandler, skipping the call to connect");return}if(!this.active){this.debug("Client has been marked inactive, will not attempt to connect");return}this.connectionTimeout>0&&(this._connectionWatcher&&clearTimeout(this._connectionWatcher),this._connectionWatcher=setTimeout(()=>{this.connected||(this.debug(`Connection not established in ${this.connectionTimeout}ms, closing socket`),this.forceDisconnect())},this.connectionTimeout)),this.debug("Opening Web Socket...");const t=this._createWebSocket();this._stompHandler=new BP(this,t,{debug:this.debug,stompVersions:this.stompVersions,connectHeaders:this.connectHeaders,disconnectHeaders:this._disconnectHeaders,heartbeatIncoming:this.heartbeatIncoming,heartbeatOutgoing:this.heartbeatOutgoing,splitLargeFrames:this.splitLargeFrames,maxWebSocketChunkSize:this.maxWebSocketChunkSize,forceBinaryWSFrames:this.forceBinaryWSFrames,logRawCommunication:this.logRawCommunication,appendMissingNULLonIncoming:this.appendMissingNULLonIncoming,discardWebsocketOnCommFailure:this.discardWebsocketOnCommFailure,onConnect:n=>{if(this._connectionWatcher&&(clearTimeout(this._connectionWatcher),this._connectionWatcher=void 0),!this.active){this.debug("STOMP got connected while deactivate was issued, will disconnect now"),this._disposeStompHandler();return}this.onConnect(n)},onDisconnect:n=>{this.onDisconnect(n)},onStompError:n=>{this.onStompError(n)},onWebSocketClose:n=>{this._stompHandler=void 0,this.state===en.DEACTIVATING&&this._changeState(en.INACTIVE),this.onWebSocketClose(n),this.active&&this._schedule_reconnect()},onWebSocketError:n=>{this.onWebSocketError(n)},onUnhandledMessage:n=>{this.onUnhandledMessage(n)},onUnhandledReceipt:n=>{this.onUnhandledReceipt(n)},onUnhandledFrame:n=>{this.onUnhandledFrame(n)}}),this._stompHandler.start()}_createWebSocket(){let t;if(this.webSocketFactory)t=this.webSocketFactory();else if(this.brokerURL)t=new WebSocket(this.brokerURL,this.stompVersions.protocolVersions());else throw new Error("Either brokerURL or webSocketFactory must be provided");return t.binaryType="arraybuffer",t}_schedule_reconnect(){this.reconnectDelay>0&&(this.debug(`STOMP: scheduling reconnection in ${this.reconnectDelay}ms`),this._reconnector=setTimeout(()=>{this._connect()},this.reconnectDelay))}async deactivate(t={}){var o;const n=t.force||!1,r=this.active;let s;if(this.state===en.INACTIVE)return this.debug("Already INACTIVE, nothing more to do"),Promise.resolve();if(this._changeState(en.DEACTIVATING),this._reconnector&&(clearTimeout(this._reconnector),this._reconnector=void 0),this._stompHandler&&this.webSocket.readyState!==Wn.CLOSED){const i=this._stompHandler.onWebSocketClose;s=new Promise((a,l)=>{this._stompHandler.onWebSocketClose=u=>{i(u),a()}})}else return this._changeState(en.INACTIVE),Promise.resolve();return n?(o=this._stompHandler)==null||o.discardWebsocket():r&&this._disposeStompHandler(),s}forceDisconnect(){this._stompHandler&&this._stompHandler.forceDisconnect()}_disposeStompHandler(){this._stompHandler&&this._stompHandler.dispose()}publish(t){this._checkConnection(),this._stompHandler.publish(t)}_checkConnection(){if(!this.connected)throw new TypeError("There is no underlying STOMP connection")}watchForReceipt(t,n){this._checkConnection(),this._stompHandler.watchForReceipt(t,n)}subscribe(t,n,r={}){return this._checkConnection(),this._stompHandler.subscribe(t,n,r)}unsubscribe(t,n={}){this._checkConnection(),this._stompHandler.unsubscribe(t,n)}begin(t){return this._checkConnection(),this._stompHandler.begin(t)}commit(t){this._checkConnection(),this._stompHandler.commit(t)}abort(t){this._checkConnection(),this._stompHandler.abort(t)}ack(t,n,r={}){this._checkConnection(),this._stompHandler.ack(t,n,r)}nack(t,n,r={}){this._checkConnection(),this._stompHandler.nack(t,n,r)}}const Xb=Kg("game",()=>{const e=te(null),t=te([new Ac(1,"Baer"),new Ac(2,"Racc'n Roll"),new Ac(3,"Giraffe")]),n=te(!0),r=te(null),s=te(),o=te(!1);function i(){return new Promise((h,m)=>{Ws.getBoardsForUser().then(g=>{h(g)}).catch(g=>{console.debug(g),m(g)})})}function a(h){e.value=h}const l=te(!1),u=new WP({brokerURL:"ws://localhost:8008/gs-guide-websocket"});u.onConnect=h=>{l.value=!0,u.subscribe("/topic/greetings",m=>{alert(m)})},u.onWebSocketError=h=>{console.error("Error with websocket",h)},u.onStompError=h=>{console.error("Broker reported error: "+h.headers.message),console.error("Additional details: "+h.body)};function c(){u.activate()}function f(){u.deactivate(),l.value=!1}function d(){u.publish({destination:"/app/hello",body:"pingo"})}return{board:e,players:t,isHost:n,self:r,playerChoosing:s,acceptAnswers:o,connected:l,loadBoardForLoggedInUser:i,setBoard:a,connect:c,disconnect:f,ping:d}}),zP=p("div",{class:"row"},[p("div",{class:"col"},[p("h3",{class:"border-bottom border-primary border-2"},"Players")])],-1),YP={class:"row mb-3"},KP={class:"col"},qP={for:"points-manuel-adjustment-value"},GP=p("input",{class:"form-control form-control-sm",type:"number",id:"points-manuel-adjustment-value"},null,-1),XP={class:"card-header bg-primary p-2"},QP={class:"row"},JP={class:"col d-flex justify-content-between"},ZP={class:"text-break me-3"},e3={class:"card-body p-2"},t3=p("div",{class:"row"},[p("div",{class:"col-3"},"Answer"),p("div",{class:"col-9"},[p("input",{class:"form-control form-control-sm",type:"text",id:"points-player-nr",value:"",readonly:""})])],-1),n3={key:0,class:"row mt-2"},r3={class:"col"},s3={class:"row g-2"},o3={class:"col-6"},i3={class:"col-6"},a3={class:"col-6"},l3={class:"btn btn-sm btn-outline-primary w-100 me-2"},c3={class:"col-6"},u3={class:"btn btn-sm btn-outline-primary w-100"},f3={class:"col-12"},d3={class:"btn btn-sm btn-outline-primary w-100"},h3=Re({__name:"PlayersPanel",setup(e){const{t}=ot(),n=Xb();function r(){}return(s,o)=>(B(),G(ke,null,[zP,p("div",YP,[p("div",KP,[p("label",qP,j(C(t)("game.pointsAdjustment")),1),GP])]),(B(!0),G(ke,null,Kt(C(n).players,i=>(B(),G("div",{key:i.id,class:"card bg-body-secondary mb-2"},[p("div",XP,[p("div",QP,[p("div",JP,[p("span",ZP,[i.isAnswering?(B(),it(C(Se),{key:0,icon:["fas","angles-right"],class:"text-dark","beat-fade":""})):st("",!0),i.isChoosing?(B(),it(C(Se),{key:1,icon:["fas","hand-pointer"],class:"text-dark"})):st("",!0),Ne(" "+j(i.name),1)]),p("span",null,j(i.points),1)])])]),p("div",e3,[t3,C(n).isHost?(B(),G("div",n3,[p("div",r3,[p("div",s3,[p("div",o3,[p("button",{class:"btn btn-sm btn-outline-primary w-100",onClick:o[0]||(o[0]=a=>void 0)},[re(C(Se),{icon:["fas","plus"]}),Ne(" "+j(C(t)("game.host.button.pointsAdd")),1)])]),p("div",i3,[p("button",{class:"btn btn-sm btn-outline-primary w-100",onClick:o[1]||(o[1]=a=>void 0)},[re(C(Se),{icon:["fas","minus"]}),Ne(" "+j(C(t)("game.host.button.pointsSubtract")),1)])]),p("div",a3,[p("button",l3,[re(C(Se),{icon:["fas","eye"]}),Ne(" "+j(C(t)("game.host.button.reveal")),1)])]),p("div",c3,[p("button",u3,[re(C(Se),{icon:["fas","hand-pointer"]}),Ne(" "+j(C(t)("game.host.button.letChoose")),1)])]),p("div",f3,[p("button",d3,[re(C(Se),{icon:["fas","lock-open"]}),Ne(" "+j(C(t)("game.host.button.unlock")),1)])]),st("",!0)])])])):st("",!0)])]))),128))],64))}}),m3={class:"row g-2 w-100"},p3={class:"col d-flex justify-content-around"},g3={class:"btn btn-primary"},_3=Re({__name:"HostInteractionsBoard",setup(e){const{t}=ot();return(n,r)=>(B(),G("div",m3,[p("div",p3,[p("button",g3,j(C(t)("game.host.button.letNextChoose")),1)])]))}}),v3={class:"row g-2 w-100"},b3={class:"col-12"},y3={class:"row g-2"},E3={class:"col-5"},w3={class:"col-7 d-flex align-items-center"},A3={class:"mb-0 mx-1"},T3={class:"mb-0 ms-1"},S3={class:"col-12"},C3={class:"btn btn-primary w-100"},O3=Re({__name:"HostInteractionsEntry",emits:["lockQuestion"],setup(e,{emit:t}){const n=t,{t:r}=ot(),s=te(0);function o(){n("lockQuestion",s.value)}return(i,a)=>(B(),G("div",v3,[p("div",b3,[p("div",y3,[p("div",E3,[p("button",{class:"btn btn-primary w-100",onClick:o},[re(C(Se),{icon:["fas","lock"]}),Ne(" "+j(C(r)("game.host.button.lockIn")),1)])]),p("div",w3,[p("p",A3,j(C(r)("game.host.text.in")),1),et(p("input",{class:"form-control",type:"number",id:"time-before-lock","onUpdate:modelValue":a[0]||(a[0]=l=>s.value=l)},null,512),[[dt,s.value]]),p("p",T3,j(C(r)("game.host.text.seconds")),1)])])]),p("div",S3,[p("button",C3,[re(C(Se),{icon:["fas","eye"]}),Ne(" "+j(C(r)("game.host.button.revealAll")),1)])])]))}}),x3={class:"row h-100"},N3={class:"col-9 h-100 pe-0"},k3={class:"col-3 ps-0 h-100 overflow-auto border-start border-2 border-primary"},I3={class:"d-flex flex-column h-100"},$3={class:"flex-grow-1 overflow-y-auto p-2 overflow-x-hidden"},L3={class:"border-top border-2 border-primary p-2"},P3={key:0,class:"d-flex align-items-center"},R3={key:1,class:"d-flex align-items-center"},D3=Re({__name:"GamePage",setup(e){const t=Xb(),n=tt(Af),r=oe(()=>{var V,Y;return(Y=(V=n==null?void 0:n.value)==null?void 0:V.navElement)==null?void 0:Y.clientHeight}),s=oe(()=>({height:`calc(100vh - ${r.value}px)`}));te(new Ru("New Board"));const o=te(new Ru("New Board",[new Du("Test1",""),new Du("Test2","")])),i=new Yb("",new Kb("Simple Answer","Simple Answer with text",!0,1)),a=new zb("Test Entry 1",i,[]);o.value.categories[0].boardEntries.push(a);const l=te(null),u=te(null),c=te(null);function f(V,Y,q){l.value=V,u.value=Y,c.value=q}function d(V,Y){l.value=V,u.value=Y,c.value=null}function h(){l.value=null,u.value=null,c.value=null}const m=oe(()=>l.value===null&&u.value===null&&c.value===null),g=te(!0),v=te(!0);function y(){g.value=!0}function S(){g.value=!1}function E(){v.value=!0}function A(){v.value=!1}let x=te([]),O=te([]);on(_l,O),on(vl,x),Wb.getTypes().then(V=>{x.value=V.answerTypes,O.value=V.questionTypes});function k(){t.connect()}function P(){t.ping()}function $(){t.disconnect()}return(V,Y)=>{const q=af("PlayerActionPanel");return B(),G("div",{style:sn(s.value)},[p("div",null,[p("button",{class:"btn btn-primary",onClick:k},"Connect"),p("button",{class:"btn btn-primary",onClick:P},"Ping"),p("button",{class:"btn btn-primary",onClick:$},"Disconnect"),Ne(" "+j(C(t).connected),1)]),p("div",x3,[p("div",N3,[l.value!==null&&u.value!==null?(B(),it(Gb,{key:0,boardEntry:o.value.categories[l.value].boardEntries[u.value],categoryName:o.value.categories[l.value].name,selectedQuestionIndex:c.value??0,onQuestionSelected:Y[0]||(Y[0]=le=>f(l.value,u.value,le)),isQuestionShown:g.value,isAnswerShown:v.value,onShowQuestion:y,onHideQuestion:S,onShowAnswer:E,onHideAnswer:A,onShowBoard:h},null,8,["boardEntry","categoryName","selectedQuestionIndex","isQuestionShown","isAnswerShown"])):(B(),it(qb,{key:1,board:o.value,onBoardEntrySelected:d},null,8,["board"]))]),p("div",k3,[p("div",I3,[p("div",$3,[re(h3)]),p("div",L3,[C(t).isHost?(B(),G("div",P3,[m.value?(B(),it(_3,{key:0})):(B(),it(O3,{key:1}))])):(B(),G("div",R3,[re(q)]))])])])])],4)}}}),M3={class:"row"},F3={key:0,class:"col-12 d-flex justify-content-center py-3"},V3={class:"card"},U3={class:"card-header"},H3={class:"card-body"},j3={class:"row"},B3={class:"col"},W3={class:"d-flex justify-content-around align-items-center"},z3=["onClick"],Y3={class:"btn btn-sm btn-primary"},K3={key:0,class:"col-4 mb-3"},q3=Re({__name:"BoardSelector",props:{withNewOption:{type:Boolean}},setup(e){const t=e,n=gi(),r=te([]);function s(a){n.push({name:"create",params:{boardId:a.id}})}function o(){t.withNewOption&&n.push({name:"create"})}const i=te(!0);return Ws.getBoardsForUser().then(a=>{r.value=a}).catch(a=>{console.error(a)}).finally(()=>{i.value=!1}),(a,l)=>(B(),G("div",M3,[i.value?(B(),G("div",F3,[re(js,{class:"spinny-spin spinny-size"})])):(B(),G(ke,{key:1},[(B(!0),G(ke,null,Kt(r.value,u=>(B(),G("div",{key:u.id,class:"col-4 mb-3"},[p("div",V3,[p("div",U3,j(u.boardName),1),p("div",H3,[p("div",j3,[p("div",B3,[p("div",W3,[p("button",{class:"btn btn-sm btn-primary",onClick:c=>s(u)},[re(C(Se),{icon:["fas","edit"]}),Ne(" Edit ")],8,z3),p("button",Y3,[re(C(Se),{icon:["fas","play"]}),Ne(" Play ")])])])])])])]))),128)),t.withNewOption?(B(),G("div",K3,[p("button",{class:"btn btn-outline-primary w-100 h-100 d-flex flex-column justify-content-center p-3",onClick:o},[Ne(" Create new Board "),re(C(Se),{icon:["fas","plus"],size:"2x"})])])):st("",!0)],64))]))}}),G3=Mn(q3,[["__scopeId","data-v-f408fdec"]]),X3=["id"],Q3={class:"modal-dialog modal-dialog-centered"},J3={class:"modal-content"},Z3={class:"modal-header"},eR={class:"modal-title"},tR=p("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),nR=p("div",{class:"modal-body"},[p("p",null,"TODO")],-1),rR={class:"modal-footer"},sR={type:"button",class:"btn btn-outline-primary","data-bs-dismiss":"modal"},oR={type:"button",class:"btn btn-primary","data-bs-dismiss":"modal"},iR=Re({__name:"EditProfileModal",props:{modalId:{type:String,required:!0}},setup(e,{expose:t}){const{t:n}=ot(),r=e,s=te(null);let o;or(()=>{o=Mr.getOrCreateInstance(s.value)}),co(()=>{o==null||o.dispose()});function i(){o?o.show():console.error("Modal was not properly created before showing")}function a(){o?o.hide():console.error("Modal was not properly created before hiding")}return t({show:i,hide:a}),(l,u)=>(B(),G("div",{class:"modal fade",tabindex:"-1",ref_key:"modalRef",ref:s,id:r.modalId},[p("div",Q3,[p("div",J3,[p("div",Z3,[p("h5",eR,j(C(n)("profile.edit.title")),1),tR]),nR,p("div",rR,[p("button",sR,j(C(n)("common.buttons.close")),1),p("button",oR,j(C(n)("common.buttons.saveAndExit")),1)])])])],8,X3))}}),aR={class:"d-flex flex-column justify-content-center align-items-center mt-5"},lR={class:"row mb-3"},cR={class:"col d-flex justify-content-center align-items-center flex-column"},uR={class:"ratio ratio-1x1 border rounded-5",style:{width:"15rem"}},fR=["src"],dR={class:"fs-3"},hR={class:"d-flex gap-3"},mR=["data-bs-target"],pR={class:"row bg-body-secondary w-100 py-4"},gR={class:"col text-center"},_R={class:"container"},vR={class:"row w-100 py-4 mb-5"},bR={class:"col text-center"},yR={class:"btn btn-outline-primary"},Sp="edit-profile-modal-on-profile-page",ER=Re({__name:"ProfilePage",setup(e){const{t}=ot(),n=go();return(r,s)=>(B(),G(ke,null,[p("div",aR,[p("div",lR,[p("div",cR,[p("h1",null,j(C(t)("profile.yourProfile")),1),p("div",uR,[p("img",{src:C(n).pfpSource,alt:"Your Profile Pic"},null,8,fR)]),p("p",dR,j(C(n).getUserOutput),1),p("div",hR,[p("button",{class:"btn btn-outline-primary","data-bs-target":`#${Sp}`,"data-bs-toggle":"modal"}," Edit Profile ",8,mR)])])]),p("div",pR,[p("div",gR,[p("h2",null,j(C(t)("profile.yourBoards")),1),p("div",_R,[re(G3,{withNewOption:!0})])])]),p("div",vR,[p("div",bR,[p("h2",null,j(C(t)("settings.heading")),1),p("button",yR,j(C(t)("profile.gotoSettings")),1)])])]),re(iR,{modalId:Sp})],64))}});var wR=Object.defineProperty,Ya=Object.getOwnPropertySymbols,Qb=Object.prototype.hasOwnProperty,Jb=Object.prototype.propertyIsEnumerable,Cp=(e,t,n)=>t in e?wR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ds=(e,t)=>{for(var n in t||(t={}))Qb.call(t,n)&&Cp(e,n,t[n]);if(Ya)for(var n of Ya(t))Jb.call(t,n)&&Cp(e,n,t[n]);return e},Zb=(e,t)=>{var n={};for(var r in e)Qb.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ya)for(var r of Ya(e))t.indexOf(r)<0&&Jb.call(e,r)&&(n[r]=e[r]);return n};const ey="[vue-draggable-plus]: ";function AR(e){console.warn(ey+e)}function TR(e){console.error(ey+e)}function Op(e,t,n){return n>=0&&n<e.length&&e.splice(n,0,e.splice(t,1)[0]),e}function SR(e){return e.replace(/-(\w)/g,(t,n)=>n?n.toUpperCase():"")}function CR(e){return Object.keys(e).reduce((t,n)=>(typeof e[n]<"u"&&(t[SR(n)]=e[n]),t),{})}function xp(e,t){return Array.isArray(e)&&e.splice(t,1),e}function Np(e,t,n){return Array.isArray(e)&&e.splice(t,0,n),e}function OR(e){return typeof e>"u"}function xR(e){return typeof e=="string"}function kp(e,t,n){const r=e.children[n];e.insertBefore(t,r)}function Tc(e){e.parentNode&&e.parentNode.removeChild(e)}function NR(e,t=document){var n;let r=null;return typeof(t==null?void 0:t.querySelector)=="function"?r=(n=t==null?void 0:t.querySelector)==null?void 0:n.call(t,e):r=document.querySelector(e),r||AR(`Element not found: ${e}`),r}function kR(e,t,n=null){return function(...r){return e.apply(n,r),t.apply(n,r)}}function IR(e,t){const n=Ds({},e);return Object.keys(t).forEach(r=>{n[r]?n[r]=kR(e[r],t[r]):n[r]=t[r]}),n}function $R(e){return e instanceof HTMLElement}function Ip(e,t){Object.keys(e).forEach(n=>{t(n,e[n])})}function LR(e){return e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)}const PR=Object.assign;/**!
|
||
* Sortable 1.15.2
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function $p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Dn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$p(Object(n),!0).forEach(function(r){RR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$p(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ya(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ya=function(t){return typeof t}:ya=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ya(e)}function RR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(){return nr=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},nr.apply(this,arguments)}function DR(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function MR(e,t){if(e==null)return{};var n=DR(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var FR="1.15.2";function Gn(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var lr=Gn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),xi=Gn(/Edge/i),Lp=Gn(/firefox/i),Wo=Gn(/safari/i)&&!Gn(/chrome/i)&&!Gn(/android/i),ty=Gn(/iP(ad|od|hone)/i),ny=Gn(/chrome/i)&&Gn(/android/i),ry={capture:!1,passive:!1};function Fe(e,t,n){e.addEventListener(t,n,!lr&&ry)}function Le(e,t,n){e.removeEventListener(t,n,!lr&&ry)}function Ka(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 VR(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function hn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Ka(e,t):Ka(e,t))||r&&e===n)return e;if(e===n)break}while(e=VR(e))}return null}var Pp=/\s+/g;function Bt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Pp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Pp," ")}}function ge(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 zs(e,t){var n="";if(typeof e=="string")n=e;else do{var r=ge(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function sy(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function $n(){var e=document.scrollingElement;return e||document.documentElement}function ct(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,u,c,f;if(e!==window&&e.parentNode&&e!==$n()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,u=o.right,c=o.height,f=o.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!lr))do if(s&&s.getBoundingClientRect&&(ge(s,"transform")!=="none"||n&&ge(s,"position")!=="static")){var d=s.getBoundingClientRect();i-=d.top+parseInt(ge(s,"border-top-width")),a-=d.left+parseInt(ge(s,"border-left-width")),l=i+o.height,u=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var h=zs(s||e),m=h&&h.a,g=h&&h.d;h&&(i/=g,a/=m,f/=m,c/=g,l=i+c,u=a+f)}return{top:i,left:a,bottom:l,right:u,width:f,height:c}}}function Rp(e,t,n){for(var r=Cr(e,!0),s=ct(e)[t];r;){var o=ct(r)[n],i=void 0;if(i=s>=o,!i)return r;if(r===$n())break;r=Cr(r,!1)}return!1}function ao(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==_e.ghost&&(r||i[o]!==_e.dragged)&&hn(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function id(e,t){for(var n=e.lastElementChild;n&&(n===_e.ghost||ge(n,"display")==="none"||t&&!Ka(n,t));)n=n.previousElementSibling;return n||null}function tn(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==_e.clone&&(!t||Ka(e,t))&&n++;return n}function Dp(e){var t=0,n=0,r=$n();if(e)do{var s=zs(e),o=s.a,i=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function UR(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 Cr(e,t){if(!e||!e.getBoundingClientRect)return $n();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=ge(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return $n();if(r||t)return n;r=!0}}while(n=n.parentNode);return $n()}function HR(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Sc(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 zo;function oy(e,t){return function(){if(!zo){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),zo=setTimeout(function(){zo=void 0},t)}}}function jR(){clearTimeout(zo),zo=void 0}function iy(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function ay(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 ly(e,t,n){var r={};return Array.from(e.children).forEach(function(s){var o,i,a,l;if(!(!hn(s,t.draggable,e,!1)||s.animated||s===n)){var u=ct(s);r.left=Math.min((o=r.left)!==null&&o!==void 0?o:1/0,u.left),r.top=Math.min((i=r.top)!==null&&i!==void 0?i:1/0,u.top),r.right=Math.max((a=r.right)!==null&&a!==void 0?a:-1/0,u.right),r.bottom=Math.max((l=r.bottom)!==null&&l!==void 0?l:-1/0,u.bottom)}}),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var Yt="Sortable"+new Date().getTime();function BR(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(r){if(!(ge(r,"display")==="none"||r===_e.ghost)){e.push({target:r,rect:ct(r)});var s=Dn({},e[e.length-1].rect);if(r.thisAnimationDuration){var o=zs(r,!0);o&&(s.top-=o.f,s.left-=o.e)}r.fromRect=s}})}},addAnimationState:function(n){e.push(n)},removeAnimationState:function(n){e.splice(UR(e,{target:n}),1)},animateAll:function(n){var r=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var s=!1,o=0;e.forEach(function(i){var a=0,l=i.target,u=l.fromRect,c=ct(l),f=l.prevFromRect,d=l.prevToRect,h=i.rect,m=zs(l,!0);m&&(c.top-=m.f,c.left-=m.e),l.toRect=c,l.thisAnimationDuration&&Sc(f,c)&&!Sc(u,c)&&(h.top-c.top)/(h.left-c.left)===(u.top-c.top)/(u.left-c.left)&&(a=zR(h,f,d,r.options)),Sc(c,u)||(l.prevFromRect=u,l.prevToRect=c,a||(a=r.options.animation),r.animate(l,h,c,a)),a&&(s=!0,o=Math.max(o,a),clearTimeout(l.animationResetTimer),l.animationResetTimer=setTimeout(function(){l.animationTime=0,l.prevFromRect=null,l.fromRect=null,l.prevToRect=null,l.thisAnimationDuration=null},a),l.thisAnimationDuration=a)}),clearTimeout(t),s?t=setTimeout(function(){typeof n=="function"&&n()},o):typeof n=="function"&&n(),e=[]},animate:function(n,r,s,o){if(o){ge(n,"transition",""),ge(n,"transform","");var i=zs(this.el),a=i&&i.a,l=i&&i.d,u=(r.left-s.left)/(a||1),c=(r.top-s.top)/(l||1);n.animatingX=!!u,n.animatingY=!!c,ge(n,"transform","translate3d("+u+"px,"+c+"px,0)"),this.forRepaintDummy=WR(n),ge(n,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),ge(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){ge(n,"transition",""),ge(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},o)}}}}function WR(e){return e.offsetWidth}function zR(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 Ts=[],Cc={initializeByDefault:!0},Ni={mount:function(e){for(var t in Cc)Cc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Cc[t]);Ts.forEach(function(n){if(n.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ts.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var s=e+"Global";Ts.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][s]&&t[o.pluginName][s](Dn({sortable:t},n)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](Dn({sortable:t},n)))})},initializePlugins:function(e,t,n,r){Ts.forEach(function(i){var a=i.pluginName;if(!(!e.options[a]&&!i.initializeByDefault)){var l=new i(e,t,e.options);l.sortable=e,l.options=e.options,e[a]=l,nr(n,l.defaults)}});for(var s in e.options)if(e.options.hasOwnProperty(s)){var o=this.modifyOption(e,s,e.options[s]);typeof o<"u"&&(e.options[s]=o)}},getEventProperties:function(e,t){var n={};return Ts.forEach(function(r){typeof r.eventProperties=="function"&&nr(n,r.eventProperties.call(t[r.pluginName],e))}),n},modifyOption:function(e,t,n){var r;return Ts.forEach(function(s){e[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[t]=="function"&&(r=s.optionListeners[t].call(e[s.pluginName],n))}),r}};function YR(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,u=e.newIndex,c=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,m=e.extraEventProperties;if(t=t||n&&n[Yt],!!t){var g,v=t.options,y="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!lr&&!xi?g=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(g=document.createEvent("Event"),g.initEvent(r,!0,!0)),g.to=i||n,g.from=a||n,g.item=s||n,g.clone=o,g.oldIndex=l,g.newIndex=u,g.oldDraggableIndex=c,g.newDraggableIndex=f,g.originalEvent=d,g.pullMode=h?h.lastPutMode:void 0;var S=Dn(Dn({},m),Ni.getEventProperties(r,t));for(var E in S)g[E]=S[E];n&&n.dispatchEvent(g),v[y]&&v[y].call(t,g)}}var KR=["evt"],Rt=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.evt,s=MR(n,KR);Ni.pluginEvent.bind(_e)(e,t,Dn({dragEl:Q,parentEl:nt,ghostEl:ye,rootEl:Je,nextEl:Zr,lastDownEl:Ea,cloneEl:Ze,cloneHidden:Sr,dragStarted:ko,putSortable:yt,activeSortable:_e.active,originalEvent:r,oldIndex:Ms,oldDraggableIndex:Yo,newIndex:Wt,newDraggableIndex:yr,hideGhostForTarget:dy,unhideGhostForTarget:hy,cloneNowHidden:function(){Sr=!0},cloneNowShown:function(){Sr=!1},dispatchSortableEvent:function(o){Ot({sortable:t,name:o,originalEvent:r})}},s))};function Ot(e){YR(Dn({putSortable:yt,cloneEl:Ze,targetEl:Q,rootEl:Je,oldIndex:Ms,oldDraggableIndex:Yo,newIndex:Wt,newDraggableIndex:yr},e))}var Q,nt,ye,Je,Zr,Ea,Ze,Sr,Ms,Wt,Yo,yr,na,yt,Is=!1,qa=!1,Ga=[],Qr,dn,Oc,xc,Mp,Fp,ko,Ss,Ko,qo=!1,ra=!1,wa,Tt,Nc=[],Mu=!1,Xa=[],Ml=typeof document<"u",sa=ty,Vp=xi||lr?"cssFloat":"float",qR=Ml&&!ny&&!ty&&"draggable"in document.createElement("div"),cy=function(){if(Ml){if(lr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),uy=function(e,t){var n=ge(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),s=ao(e,0,t),o=ao(e,1,t),i=s&&ge(s),a=o&&ge(o),l=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+ct(s).width,u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ct(o).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&i.float&&i.float!=="none"){var c=i.float==="left"?"left":"right";return o&&(a.clear==="both"||a.clear===c)?"vertical":"horizontal"}return s&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||l>=r&&n[Vp]==="none"||o&&n[Vp]==="none"&&l+u>r)?"vertical":"horizontal"},GR=function(e,t,n){var r=n?e.left:e.top,s=n?e.right:e.bottom,o=n?e.width:e.height,i=n?t.left:t.top,a=n?t.right:t.bottom,l=n?t.width:t.height;return r===i||s===a||r+o/2===i+l/2},XR=function(e,t){var n;return Ga.some(function(r){var s=r[Yt].options.emptyInsertThreshold;if(!(!s||id(r))){var o=ct(r),i=e>=o.left-s&&e<=o.right+s,a=t>=o.top-s&&t<=o.bottom+s;if(i&&a)return n=r}}),n},fy=function(e){function t(s,o){return function(i,a,l,u){var c=i.options.group.name&&a.options.group.name&&i.options.group.name===a.options.group.name;if(s==null&&(o||c))return!0;if(s==null||s===!1)return!1;if(o&&s==="clone")return s;if(typeof s=="function")return t(s(i,a,l,u),o)(i,a,l,u);var f=(o?i:a).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var n={},r=e.group;(!r||ya(r)!="object")&&(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},dy=function(){!cy&&ye&&ge(ye,"display","none")},hy=function(){!cy&&ye&&ge(ye,"display","")};Ml&&!ny&&document.addEventListener("click",function(e){if(qa)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),qa=!1,!1},!0);var Jr=function(e){if(Q){e=e.touches?e.touches[0]:e;var t=XR(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Yt]._onDragOver(n)}}},QR=function(e){Q&&Q.parentNode[Yt]._isOutsideThisEl(e.target)};function _e(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=nr({},t),e[Yt]=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 uy(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(o,i){o.setData("Text",i.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:_e.supportPointer!==!1&&"PointerEvent"in window&&!Wo,emptyInsertThreshold:5};Ni.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);fy(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:qR,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Fe(e,"pointerdown",this._onTapStart):(Fe(e,"mousedown",this._onTapStart),Fe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Fe(e,"dragover",this),Fe(e,"dragenter",this)),Ga.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),nr(this,BR())}_e.prototype={constructor:_e,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Ss=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,Q):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,s=r.preventOnFilter,o=e.type,i=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,a=(i||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,u=r.filter;if(o4(n),!Q&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||r.disabled)&&!l.isContentEditable&&!(!this.nativeDraggable&&Wo&&a&&a.tagName.toUpperCase()==="SELECT")&&(a=hn(a,r.draggable,n,!1),!(a&&a.animated)&&Ea!==a)){if(Ms=tn(a),Yo=tn(a,r.draggable),typeof u=="function"){if(u.call(this,e,a,this)){Ot({sortable:t,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),Rt("filter",t,{evt:e}),s&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(c){if(c=hn(l,c.trim(),n,!1),c)return Ot({sortable:t,rootEl:c,name:"filter",targetEl:a,fromEl:n,toEl:n}),Rt("filter",t,{evt:e}),!0}),u)){s&&e.cancelable&&e.preventDefault();return}r.handle&&!hn(l,r.handle,n,!1)||this._prepareDragStart(e,i,a)}}},_prepareDragStart:function(e,t,n){var r=this,s=r.el,o=r.options,i=s.ownerDocument,a;if(n&&!Q&&n.parentNode===s){var l=ct(n);if(Je=s,Q=n,nt=Q.parentNode,Zr=Q.nextSibling,Ea=n,na=o.group,_e.dragged=Q,Qr={target:Q,clientX:(t||e).clientX,clientY:(t||e).clientY},Mp=Qr.clientX-l.left,Fp=Qr.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Q.style["will-change"]="all",a=function(){if(Rt("delayEnded",r,{evt:e}),_e.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!Lp&&r.nativeDraggable&&(Q.draggable=!0),r._triggerDragStart(e,t),Ot({sortable:r,name:"choose",originalEvent:e}),Bt(Q,o.chosenClass,!0)},o.ignore.split(",").forEach(function(u){sy(Q,u.trim(),kc)}),Fe(i,"dragover",Jr),Fe(i,"mousemove",Jr),Fe(i,"touchmove",Jr),Fe(i,"mouseup",r._onDrop),Fe(i,"touchend",r._onDrop),Fe(i,"touchcancel",r._onDrop),Lp&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Q.draggable=!0),Rt("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(xi||lr))){if(_e.eventCanceled){this._onDrop();return}Fe(i,"mouseup",r._disableDelayedDrag),Fe(i,"touchend",r._disableDelayedDrag),Fe(i,"touchcancel",r._disableDelayedDrag),Fe(i,"mousemove",r._delayedDragTouchMoveHandler),Fe(i,"touchmove",r._delayedDragTouchMoveHandler),o.supportPointer&&Fe(i,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(a,o.delay)}else a()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Q&&kc(Q),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Le(e,"mouseup",this._disableDelayedDrag),Le(e,"touchend",this._disableDelayedDrag),Le(e,"touchcancel",this._disableDelayedDrag),Le(e,"mousemove",this._delayedDragTouchMoveHandler),Le(e,"touchmove",this._delayedDragTouchMoveHandler),Le(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?Fe(document,"pointermove",this._onTouchMove):t?Fe(document,"touchmove",this._onTouchMove):Fe(document,"mousemove",this._onTouchMove):(Fe(Q,"dragend",this),Fe(Je,"dragstart",this._onDragStart));try{document.selection?Aa(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Is=!1,Je&&Q){Rt("dragStarted",this,{evt:t}),this.nativeDraggable&&Fe(document,"dragover",QR);var n=this.options;!e&&Bt(Q,n.dragClass,!1),Bt(Q,n.ghostClass,!0),_e.active=this,e&&this._appendGhost(),Ot({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(dn){this._lastX=dn.clientX,this._lastY=dn.clientY,dy();for(var e=document.elementFromPoint(dn.clientX,dn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(dn.clientX,dn.clientY),e!==t);)t=e;if(Q.parentNode[Yt]._isOutsideThisEl(e),t)do{if(t[Yt]){var n=void 0;if(n=t[Yt]._onDragOver({clientX:dn.clientX,clientY:dn.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);hy()}},_onTouchMove:function(e){if(Qr){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,s=e.touches?e.touches[0]:e,o=ye&&zs(ye,!0),i=ye&&o&&o.a,a=ye&&o&&o.d,l=sa&&Tt&&Dp(Tt),u=(s.clientX-Qr.clientX+r.x)/(i||1)+(l?l[0]-Nc[0]:0)/(i||1),c=(s.clientY-Qr.clientY+r.y)/(a||1)+(l?l[1]-Nc[1]:0)/(a||1);if(!_e.active&&!Is){if(n&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(ye){o?(o.e+=u-(Oc||0),o.f+=c-(xc||0)):o={a:1,b:0,c:0,d:1,e:u,f:c};var f="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");ge(ye,"webkitTransform",f),ge(ye,"mozTransform",f),ge(ye,"msTransform",f),ge(ye,"transform",f),Oc=u,xc=c,dn=s}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!ye){var e=this.options.fallbackOnBody?document.body:Je,t=ct(Q,!0,sa,!0,e),n=this.options;if(sa){for(Tt=e;ge(Tt,"position")==="static"&&ge(Tt,"transform")==="none"&&Tt!==document;)Tt=Tt.parentNode;Tt!==document.body&&Tt!==document.documentElement?(Tt===document&&(Tt=$n()),t.top+=Tt.scrollTop,t.left+=Tt.scrollLeft):Tt=$n(),Nc=Dp(Tt)}ye=Q.cloneNode(!0),Bt(ye,n.ghostClass,!1),Bt(ye,n.fallbackClass,!0),Bt(ye,n.dragClass,!0),ge(ye,"transition",""),ge(ye,"transform",""),ge(ye,"box-sizing","border-box"),ge(ye,"margin",0),ge(ye,"top",t.top),ge(ye,"left",t.left),ge(ye,"width",t.width),ge(ye,"height",t.height),ge(ye,"opacity","0.8"),ge(ye,"position",sa?"absolute":"fixed"),ge(ye,"zIndex","100000"),ge(ye,"pointerEvents","none"),_e.ghost=ye,e.appendChild(ye),ge(ye,"transform-origin",Mp/parseInt(ye.style.width)*100+"% "+Fp/parseInt(ye.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,s=n.options;if(Rt("dragStart",this,{evt:e}),_e.eventCanceled){this._onDrop();return}Rt("setupClone",this),_e.eventCanceled||(Ze=ay(Q),Ze.removeAttribute("id"),Ze.draggable=!1,Ze.style["will-change"]="",this._hideClone(),Bt(Ze,this.options.chosenClass,!1),_e.clone=Ze),n.cloneId=Aa(function(){Rt("clone",n),!_e.eventCanceled&&(n.options.removeCloneOnHide||Je.insertBefore(Ze,Q),n._hideClone(),Ot({sortable:n,name:"clone"}))}),!t&&Bt(Q,s.dragClass,!0),t?(qa=!0,n._loopId=setInterval(n._emulateDragOver,50)):(Le(document,"mouseup",n._onDrop),Le(document,"touchend",n._onDrop),Le(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",s.setData&&s.setData.call(n,r,Q)),Fe(document,"drop",n),ge(Q,"transform","translateZ(0)")),Is=!0,n._dragStartId=Aa(n._dragStarted.bind(n,t,e)),Fe(document,"selectstart",n),ko=!0,Wo&&ge(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,n=e.target,r,s,o,i=this.options,a=i.group,l=_e.active,u=na===a,c=i.sort,f=yt||l,d,h=this,m=!1;if(Mu)return;function g(fe,ve){Rt(fe,h,Dn({evt:e,isOwner:u,axis:d?"vertical":"horizontal",revert:o,dragRect:r,targetRect:s,canSort:c,fromSortable:f,target:n,completed:y,onMove:function(je,Ee){return oa(Je,t,Q,r,je,ct(je),e,Ee)},changed:S},ve))}function v(){g("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function y(fe){return g("dragOverCompleted",{insertion:fe}),fe&&(u?l._hideClone():l._showClone(h),h!==f&&(Bt(Q,yt?yt.options.ghostClass:l.options.ghostClass,!1),Bt(Q,i.ghostClass,!0)),yt!==h&&h!==_e.active?yt=h:h===_e.active&&yt&&(yt=null),f===h&&(h._ignoreWhileAnimating=n),h.animateAll(function(){g("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(n===Q&&!Q.animated||n===t&&!n.animated)&&(Ss=null),!i.dragoverBubble&&!e.rootEl&&n!==document&&(Q.parentNode[Yt]._isOutsideThisEl(e.target),!fe&&Jr(e)),!i.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function S(){Wt=tn(Q),yr=tn(Q,i.draggable),Ot({sortable:h,name:"change",toEl:t,newIndex:Wt,newDraggableIndex:yr,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=hn(n,i.draggable,t,!0),g("dragOver"),_e.eventCanceled)return m;if(Q.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||h._ignoreWhileAnimating===n)return y(!1);if(qa=!1,l&&!i.disabled&&(u?c||(o=nt!==Je):yt===this||(this.lastPutMode=na.checkPull(this,l,Q,e))&&a.checkPut(this,l,Q,e))){if(d=this._getDirection(e,n)==="vertical",r=ct(Q),g("dragOverValid"),_e.eventCanceled)return m;if(o)return nt=Je,v(),this._hideClone(),g("revert"),_e.eventCanceled||(Zr?Je.insertBefore(Q,Zr):Je.appendChild(Q)),y(!0);var E=id(t,i.draggable);if(!E||t4(e,d,this)&&!E.animated){if(E===Q)return y(!1);if(E&&t===e.target&&(n=E),n&&(s=ct(n)),oa(Je,t,Q,r,n,s,e,!!n)!==!1)return v(),E&&E.nextSibling?t.insertBefore(Q,E.nextSibling):t.appendChild(Q),nt=t,S(),y(!0)}else if(E&&e4(e,d,this)){var A=ao(t,0,i,!0);if(A===Q)return y(!1);if(n=A,s=ct(n),oa(Je,t,Q,r,n,s,e,!1)!==!1)return v(),t.insertBefore(Q,A),nt=t,S(),y(!0)}else if(n.parentNode===t){s=ct(n);var x=0,O,k=Q.parentNode!==t,P=!GR(Q.animated&&Q.toRect||r,n.animated&&n.toRect||s,d),$=d?"top":"left",V=Rp(n,"top","top")||Rp(Q,"top","top"),Y=V?V.scrollTop:void 0;Ss!==n&&(O=s[$],qo=!1,ra=!P&&i.invertSwap||k),x=n4(e,n,s,d,P?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,ra,Ss===n);var q;if(x!==0){var le=tn(Q);do le-=x,q=nt.children[le];while(q&&(ge(q,"display")==="none"||q===ye))}if(x===0||q===n)return y(!1);Ss=n,Ko=x;var Ie=n.nextElementSibling,Ce=!1;Ce=x===1;var ie=oa(Je,t,Q,r,n,s,e,Ce);if(ie!==!1)return(ie===1||ie===-1)&&(Ce=ie===1),Mu=!0,setTimeout(ZR,30),v(),Ce&&!Ie?t.appendChild(Q):n.parentNode.insertBefore(Q,Ce?Ie:n),V&&iy(V,0,Y-V.scrollTop),nt=Q.parentNode,O!==void 0&&!ra&&(wa=Math.abs(O-ct(n)[$])),S(),y(!0)}if(t.contains(Q))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Le(document,"mousemove",this._onTouchMove),Le(document,"touchmove",this._onTouchMove),Le(document,"pointermove",this._onTouchMove),Le(document,"dragover",Jr),Le(document,"mousemove",Jr),Le(document,"touchmove",Jr)},_offUpEvents:function(){var e=this.el.ownerDocument;Le(e,"mouseup",this._onDrop),Le(e,"touchend",this._onDrop),Le(e,"pointerup",this._onDrop),Le(e,"touchcancel",this._onDrop),Le(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;if(Wt=tn(Q),yr=tn(Q,n.draggable),Rt("drop",this,{evt:e}),nt=Q&&Q.parentNode,Wt=tn(Q),yr=tn(Q,n.draggable),_e.eventCanceled){this._nulling();return}Is=!1,ra=!1,qo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Fu(this.cloneId),Fu(this._dragStartId),this.nativeDraggable&&(Le(document,"drop",this),Le(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Wo&&ge(document.body,"user-select",""),ge(Q,"transform",""),e&&(ko&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),ye&&ye.parentNode&&ye.parentNode.removeChild(ye),(Je===nt||yt&&yt.lastPutMode!=="clone")&&Ze&&Ze.parentNode&&Ze.parentNode.removeChild(Ze),Q&&(this.nativeDraggable&&Le(Q,"dragend",this),kc(Q),Q.style["will-change"]="",ko&&!Is&&Bt(Q,yt?yt.options.ghostClass:this.options.ghostClass,!1),Bt(Q,this.options.chosenClass,!1),Ot({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Je!==nt?(Wt>=0&&(Ot({rootEl:nt,name:"add",toEl:nt,fromEl:Je,originalEvent:e}),Ot({sortable:this,name:"remove",toEl:nt,originalEvent:e}),Ot({rootEl:nt,name:"sort",toEl:nt,fromEl:Je,originalEvent:e}),Ot({sortable:this,name:"sort",toEl:nt,originalEvent:e})),yt&&yt.save()):Wt!==Ms&&Wt>=0&&(Ot({sortable:this,name:"update",toEl:nt,originalEvent:e}),Ot({sortable:this,name:"sort",toEl:nt,originalEvent:e})),_e.active&&((Wt==null||Wt===-1)&&(Wt=Ms,yr=Yo),Ot({sortable:this,name:"end",toEl:nt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){Rt("nulling",this),Je=Q=nt=ye=Zr=Ze=Ea=Sr=Qr=dn=ko=Wt=yr=Ms=Yo=Ss=Ko=yt=na=_e.dragged=_e.ghost=_e.clone=_e.active=null,Xa.forEach(function(e){e.checked=!0}),Xa.length=Oc=xc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Q&&(this._onDragOver(e),JR(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,r=0,s=n.length,o=this.options;r<s;r++)t=n[r],hn(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||s4(t));return e},sort:function(e,t){var n={},r=this.el;this.toArray().forEach(function(s,o){var i=r.children[o];hn(i,this.options.draggable,r,!1)&&(n[s]=i)},this),t&&this.captureAnimationState(),e.forEach(function(s){n[s]&&(r.removeChild(n[s]),r.appendChild(n[s]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return hn(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(t===void 0)return n[e];var r=Ni.modifyOption(this,e,t);typeof r<"u"?n[e]=r:n[e]=t,e==="group"&&fy(n)},destroy:function(){Rt("destroy",this);var e=this.el;e[Yt]=null,Le(e,"mousedown",this._onTapStart),Le(e,"touchstart",this._onTapStart),Le(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Le(e,"dragover",this),Le(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ga.splice(Ga.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Sr){if(Rt("hideClone",this),_e.eventCanceled)return;ge(Ze,"display","none"),this.options.removeCloneOnHide&&Ze.parentNode&&Ze.parentNode.removeChild(Ze),Sr=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Sr){if(Rt("showClone",this),_e.eventCanceled)return;Q.parentNode==Je&&!this.options.group.revertClone?Je.insertBefore(Ze,Q):Zr?Je.insertBefore(Ze,Zr):Je.appendChild(Ze),this.options.group.revertClone&&this.animate(Q,Ze),ge(Ze,"display",""),Sr=!1}}};function JR(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function oa(e,t,n,r,s,o,i,a){var l,u=e[Yt],c=u.options.onMove,f;return window.CustomEvent&&!lr&&!xi?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=s||t,l.relatedRect=o||ct(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),c&&(f=c.call(u,l,i)),f}function kc(e){e.draggable=!1}function ZR(){Mu=!1}function e4(e,t,n){var r=ct(ao(n.el,0,n.options,!0)),s=ly(n.el,n.options,ye),o=10;return t?e.clientX<s.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<s.top-o||e.clientY<r.bottom&&e.clientX<r.left}function t4(e,t,n){var r=ct(id(n.el,n.options.draggable)),s=ly(n.el,n.options,ye),o=10;return t?e.clientX>s.right+o||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>s.bottom+o||e.clientX>r.right&&e.clientY>r.top}function n4(e,t,n,r,s,o,i,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!i){if(a&&wa<u*s){if(!qo&&(Ko===1?l>c+u*o/2:l<f-u*o/2)&&(qo=!0),qo)d=!0;else if(Ko===1?l<c+wa:l>f-wa)return-Ko}else if(l>c+u*(1-s)/2&&l<f-u*(1-s)/2)return r4(t)}return d=d||i,d&&(l<c+u*o/2||l>f-u*o/2)?l>c+u/2?1:-1:0}function r4(e){return tn(Q)<tn(e)?1:-1}function s4(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 o4(e){Xa.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Xa.push(r)}}function Aa(e){return setTimeout(e,0)}function Fu(e){return clearTimeout(e)}Ml&&Fe(document,"touchmove",function(e){(_e.active||Is)&&e.cancelable&&e.preventDefault()});_e.utils={on:Fe,off:Le,css:ge,find:sy,is:function(e,t){return!!hn(e,t,e,!1)},extend:HR,throttle:oy,closest:hn,toggleClass:Bt,clone:ay,index:tn,nextTick:Aa,cancelNextTick:Fu,detectDirection:uy,getChild:ao};_e.get=function(e){return e[Yt]};_e.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&&(_e.utils=Dn(Dn({},_e.utils),r.utils)),Ni.mount(r)})};_e.create=function(e,t){return new _e(e,t)};_e.version=FR;var lt=[],Io,Vu,Uu=!1,Ic,$c,Qa,$o;function i4(){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(t){var n=t.originalEvent;this.sortable.nativeDraggable?Fe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Fe(document,"pointermove",this._handleFallbackAutoScroll):n.touches?Fe(document,"touchmove",this._handleFallbackAutoScroll):Fe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?Le(document,"dragover",this._handleAutoScroll):(Le(document,"pointermove",this._handleFallbackAutoScroll),Le(document,"touchmove",this._handleFallbackAutoScroll),Le(document,"mousemove",this._handleFallbackAutoScroll)),Up(),Ta(),jR()},nulling:function(){Qa=Vu=Io=Uu=$o=Ic=$c=null,lt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var r=this,s=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,i=document.elementFromPoint(s,o);if(Qa=t,n||this.options.forceAutoScrollFallback||xi||lr||Wo){Lc(t,this.options,i,n);var a=Cr(i,!0);Uu&&(!$o||s!==Ic||o!==$c)&&($o&&Up(),$o=setInterval(function(){var l=Cr(document.elementFromPoint(s,o),!0);l!==a&&(a=l,Ta()),Lc(t,r.options,l,n)},10),Ic=s,$c=o)}else{if(!this.options.bubbleScroll||Cr(i,!0)===$n()){Ta();return}Lc(t,this.options,Cr(i,!1),!1)}}},nr(e,{pluginName:"scroll",initializeByDefault:!0})}function Ta(){lt.forEach(function(e){clearInterval(e.pid)}),lt=[]}function Up(){clearInterval($o)}var Lc=oy(function(e,t,n,r){if(t.scroll){var s=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=$n(),u=!1,c;Vu!==n&&(Vu=n,Ta(),Io=t.scroll,c=t.scrollFn,Io===!0&&(Io=Cr(n,!0)));var f=0,d=Io;do{var h=d,m=ct(h),g=m.top,v=m.bottom,y=m.left,S=m.right,E=m.width,A=m.height,x=void 0,O=void 0,k=h.scrollWidth,P=h.scrollHeight,$=ge(h),V=h.scrollLeft,Y=h.scrollTop;h===l?(x=E<k&&($.overflowX==="auto"||$.overflowX==="scroll"||$.overflowX==="visible"),O=A<P&&($.overflowY==="auto"||$.overflowY==="scroll"||$.overflowY==="visible")):(x=E<k&&($.overflowX==="auto"||$.overflowX==="scroll"),O=A<P&&($.overflowY==="auto"||$.overflowY==="scroll"));var q=x&&(Math.abs(S-s)<=i&&V+E<k)-(Math.abs(y-s)<=i&&!!V),le=O&&(Math.abs(v-o)<=i&&Y+A<P)-(Math.abs(g-o)<=i&&!!Y);if(!lt[f])for(var Ie=0;Ie<=f;Ie++)lt[Ie]||(lt[Ie]={});(lt[f].vx!=q||lt[f].vy!=le||lt[f].el!==h)&&(lt[f].el=h,lt[f].vx=q,lt[f].vy=le,clearInterval(lt[f].pid),(q!=0||le!=0)&&(u=!0,lt[f].pid=setInterval((function(){r&&this.layer===0&&_e.active._onTouchMove(Qa);var Ce=lt[this.layer].vy?lt[this.layer].vy*a:0,ie=lt[this.layer].vx?lt[this.layer].vx*a:0;typeof c=="function"&&c.call(_e.dragged.parentNode[Yt],ie,Ce,e,Qa,lt[this.layer].el)!=="continue"||iy(lt[this.layer].el,ie,Ce)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==l&&(d=Cr(d,!1)));Uu=u}},30),my=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,s=e.activeSortable,o=e.dispatchSortableEvent,i=e.hideGhostForTarget,a=e.unhideGhostForTarget;if(t){var l=n||s;i();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);a(),l&&!l.el.contains(c)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function ad(){}ad.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=ao(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:my};nr(ad,{pluginName:"revertOnSpill"});function ld(){}ld.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable,r=n||this.sortable;r.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),r.animateAll()},drop:my};nr(ld,{pluginName:"removeOnSpill"});_e.mount(new i4);_e.mount(ld,ad);function a4(e){return e==null?e:JSON.parse(JSON.stringify(e))}function l4(e){Pn()&&co(e)}function c4(e){Pn()?or(e):kr(e)}let py=null,gy=null;function Hp(e=null,t=null){py=e,gy=t}function u4(){return{data:py,clonedData:gy}}const jp=Symbol("cloneElement");function f4(...e){var t,n;const r=(t=Pn())==null?void 0:t.proxy,s=e[0];let[,o,i]=e;Array.isArray(C(o))||(i=o,o=null);let a=null;const{immediate:l=!0,clone:u=a4,customUpdate:c}=(n=C(i))!=null?n:{};function f(k){var P;const $=C((P=C(o))==null?void 0:P[k.oldIndex]),V=u($);Hp($,V),k.item[jp]=V}function d(k){const P=k.item[jp];if(!OR(P)){if(Tc(k.item),Ke(o)){const $=[...C(o)];o.value=Np($,k.newDraggableIndex,P);return}Np(C(o),k.newDraggableIndex,P)}}function h(k){const{from:P,item:$,oldIndex:V,oldDraggableIndex:Y,pullMode:q,clone:le}=k;if(kp(P,$,V),q==="clone"){Tc(le);return}if(Ke(o)){const Ie=[...C(o)];o.value=xp(Ie,Y);return}xp(C(o),Y)}function m(k){if(c){c(k);return}const{from:P,item:$,oldIndex:V,newIndex:Y}=k;if(Tc($),kp(P,$,V),Ke(o)){const q=[...C(o)];o.value=Op(q,V,Y);return}Op(C(o),V,Y)}function g(){kr(()=>{Hp()})}const v={onUpdate:m,onStart:f,onAdd:d,onRemove:h,onEnd:g};function y(k){const P=C(s);return k||(k=xR(P)?NR(P,r==null?void 0:r.$el):P),k&&!$R(k)&&(k=k.$el),k||TR("Root element not found"),k}function S(){var k;const P=(k=C(i))!=null?k:{},$=Zb(P,["immediate","clone"]);return Ip($,(V,Y)=>{LR(V)&&($[V]=(q,...le)=>{const Ie=u4();return PR(q,Ie),Y(q,...le)})}),IR(o===null?{}:v,$)}const E=k=>{k=y(k),a&&A.destroy(),a=new _e(k,S())};Et(()=>i,()=>{a&&Ip(S(),(k,P)=>{a==null||a.option(k,P)})},{deep:!0});const A={option:(k,P)=>a==null?void 0:a.option(k,P),destroy:()=>{a==null||a.destroy(),a=null},save:()=>a==null?void 0:a.save(),toArray:()=>a==null?void 0:a.toArray(),closest:(...k)=>a==null?void 0:a.closest(...k)},x=()=>A==null?void 0:A.option("disabled",!0),O=()=>A==null?void 0:A.option("disabled",!1);return c4(()=>{l&&E()}),l4(A.destroy),Ds({start:E,pause:x,resume:O},A)}const Hu=["update","start","add","remove","choose","unchoose","end","sort","filter","clone","move","change"],d4=["clone","animation","ghostClass","group","sort","disabled","store","handle","draggable","swapThreshold","invertSwap","invertedSwapThreshold","removeCloneOnHide","direction","chosenClass","dragClass","ignore","filter","preventOnFilter","easing","setData","dropBubble","dragoverBubble","dataIdAttr","delay","delayOnTouchOnly","touchStartThreshold","forceFallback","fallbackClass","fallbackOnBody","fallbackTolerance","fallbackOffset","supportPointer","emptyInsertThreshold","scroll","forceAutoScrollFallback","scrollSensitivity","scrollSpeed","bubbleScroll","modelValue","tag","target","customUpdate",...Hu.map(e=>`on${e.replace(/^\S/,t=>t.toUpperCase())}`)],cd=Re({name:"VueDraggable",model:{prop:"modelValue",event:"update:modelValue"},props:d4,emits:["update:modelValue",...Hu],setup(e,{slots:t,emit:n,expose:r,attrs:s}){const o=Hu.reduce((c,f)=>{const d=`on${f.replace(/^\S/,h=>h.toUpperCase())}`;return c[d]=(...h)=>n(f,...h),c},{}),i=oe(()=>{const c=pg(e),f=Zb(c,["modelValue"]),d=Object.entries(f).reduce((h,[m,g])=>{const v=C(g);return v!==void 0&&(h[m]=v),h},{});return Ds(Ds({},o),CR(Ds(Ds({},s),d)))}),a=oe({get:()=>e.modelValue,set:c=>n("update:modelValue",c)}),l=te(),u=rr(f4(e.target||l,a,i));return r(u),()=>{var c;return uo(e.tag||"div",{ref:l},(c=t==null?void 0:t.default)==null?void 0:c.call(t,u))}}}),h4=e=>(ol("data-v-c5bb5ee8"),e=e(),il(),e),m4={class:"d-flex flex-column h-100"},p4={class:"flex-grow-1 p-2"},g4={class:"row"},_4={class:"col"},v4={class:"d-flex border-bottom border-3 border-primary align-items-center"},b4=["title"],y4={class:"flex-grow-1 ms-2"},E4=h4(()=>p("h4",{class:"border-bottom border-2 border-primary"},"General Infos",-1)),w4={for:"category-name"},A4=["placeholder"],T4={for:"category-description"},S4=["placeholder"],C4={class:"row mt-3"},O4={class:"col"},x4={class:"border-bottom border-2 border-primary"},N4={key:0},k4={class:"d-flex justify-content-between w-100"},I4={class:"flex-grow-1 d-flex align-items-center g-3 justify-content-start"},$4={class:"drag-handle h-100 d-flex justify-content-center align-items-center cursor-move border-end border-1 bg-primary bg-opacity-10"},L4=["id","onUpdate:modelValue"],P4={class:"d-flex"},R4=["onClick"],D4={class:"d-flex flex-column justify-content-center align-items-center h-100",role:"group","aria-label":"Vertical button group"},M4=["onClick","disabled"],F4=["onClick","disabled"],V4=["onClick"],U4={class:"mt-2",for:"new-category-name"},H4={class:"input-group mb-3"},j4=["placeholder"],B4=Re({__name:"EditCategoryPanel",props:Qn({categoryIndex:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:Qn(["editBoardEntry","editBoard"],["update:modelValue"]),setup(e,{emit:t}){const{t:n}=ot(),r=pi(e,"modelValue"),s=e,o=tt(vl),i=t,a=te("");function l(){if(r.value.categories[s.categoryIndex].boardEntries.length>=10)return;const m=new Yb("",(o==null?void 0:o.value[0])??new Kb("","",!1,0)),g=new zb(a.value,m,[]);r.value.categories[s.categoryIndex].boardEntries.push(g)}function u(m){r.value.categories[s.categoryIndex].boardEntries.splice(m,1)}function c(m){if(m===0||r.value.categories[s.categoryIndex].boardEntries.length<=1)return;const g=r.value.categories[s.categoryIndex].boardEntries[m];r.value.categories[s.categoryIndex].boardEntries[m]=r.value.categories[s.categoryIndex].boardEntries[m-1],r.value.categories[s.categoryIndex].boardEntries[m-1]=g}function f(m){if(m===r.value.categories[s.categoryIndex].boardEntries.length-1||r.value.categories[s.categoryIndex].boardEntries.length<=1)return;const g=r.value.categories[s.categoryIndex].boardEntries[m];r.value.categories[s.categoryIndex].boardEntries[m]=r.value.categories[s.categoryIndex].boardEntries[m+1],r.value.categories[s.categoryIndex].boardEntries[m+1]=g}function d(m){i("editBoardEntry",s.categoryIndex,m)}function h(){i("editBoard")}return(m,g)=>(B(),G("div",m4,[p("div",p4,[p("div",g4,[p("div",_4,[p("div",v4,[p("button",{class:"btn btn-sm btn-outline-primary mb-1",title:C(n)("board.category.back"),onClick:h},[re(C(Se),{icon:["fas","angle-left"]})],8,b4),p("h2",y4,j(C(n)("board.category.infos")),1)]),E4,p("label",w4,j(C(n)("board.category.name")),1),et(p("input",{type:"text",id:"category-name",class:"form-control mb-2","onUpdate:modelValue":g[0]||(g[0]=v=>r.value.categories[s.categoryIndex].name=v),placeholder:C(n)("board.category.name")},null,8,A4),[[dt,r.value.categories[s.categoryIndex].name]]),p("label",T4,j(C(n)("board.category.description")),1),et(p("textarea",{id:"category-description",class:"form-control","onUpdate:modelValue":g[1]||(g[1]=v=>r.value.categories[s.categoryIndex].description=v),placeholder:C(n)("board.category.description")},`
|
||
`,8,S4),[[dt,r.value.categories[s.categoryIndex].description]])])]),p("div",C4,[p("div",O4,[p("h4",x4,j(C(n)("board.boardentry.label",2)),1),r.value.categories[s.categoryIndex].boardEntries.length===0?(B(),G("p",N4,j(C(n)("board.boardentry.label",0)),1)):(B(),it(C(cd),{key:1,modelValue:r.value.categories[s.categoryIndex].boardEntries,"onUpdate:modelValue":g[2]||(g[2]=v=>r.value.categories[s.categoryIndex].boardEntries=v),"item-key":"id",animation:150,"ghost-class":"draggable-ghost",tag:"ul",class:"list-group",handle:".drag-handle"},{default:mn(()=>[(B(!0),G(ke,null,Kt(r.value.categories[s.categoryIndex].boardEntries,(v,y)=>(B(),G("li",{key:v.id,class:"list-group-item bg-body-secondary p-0"},[p("div",k4,[p("div",I4,[p("div",$4,[re(C(Se),{icon:["fas","grip-lines"],class:"px-2"})]),et(p("input",{type:"text",id:`category-name-${y}`,"onUpdate:modelValue":S=>v.name=S,class:"form-control rounded-0 h-100"},null,8,L4),[[dt,v.name]])]),p("div",P4,[p("button",{class:"btn btn-primary rounded-0",onClick:S=>d(y)},[re(C(Se),{icon:["fas","edit"],size:"sm"})],8,R4),p("div",D4,[p("button",{class:"btn btn-primary rounded-0 py-0 lh-sm",onClick:S=>c(y),disabled:y===0},[re(C(Se),{icon:["fas","angle-up"],size:"xs"})],8,M4),p("button",{class:"btn btn-primary rounded-0 py-0 lh-sm",onClick:S=>f(y),disabled:y===r.value.categories[s.categoryIndex].boardEntries.length-1},[re(C(Se),{icon:["fas","angle-down"],size:"xs"})],8,F4)]),p("button",{class:It(["btn btn-danger rounded-start-0 rounded-0",[{"rounded-bottom-end":y===r.value.categories[s.categoryIndex].boardEntries.length-1},{"rounded-top-end":y===0}]]),onClick:S=>u(y)},[re(C(Se),{icon:["fas","trash"],size:"sm"})],10,V4)])])]))),128))]),_:1},8,["modelValue"])),p("label",U4,j(C(n)("board.boardentry.add")),1),p("div",H4,[et(p("input",{type:"text",id:"new-category-name",class:"form-control","onUpdate:modelValue":g[3]||(g[3]=v=>a.value=v),placeholder:C(n)("board.boardentry.name"),onKeyup:ls(l,["enter"])},null,40,j4),[[dt,a.value]]),p("button",{class:"btn btn-primary",onClick:l},[re(C(Se),{icon:["fas","plus"]})])])])])])]))}}),W4=Mn(B4,[["__scopeId","data-v-c5bb5ee8"]]),z4={class:"d-flex flex-column h-100"},Y4={class:"flex-grow-1 p-2"},K4={class:"row"},q4={class:"col"},G4={class:"border-bottom border-3 border-primary"},X4={for:"board-name"},Q4=["placeholder"],J4={class:"form-check mt-2"},Z4={for:"points-for-title",class:"form-check-label"},eD={class:"row mt-3"},tD={class:"col"},nD={class:"d-flex justify-content-between w-100"},rD={class:"flex-grow-1 d-flex align-items-center g-3 justify-content-start"},sD={class:"drag-handle h-100 d-flex justify-content-center align-items-center cursor-move border-end border-1 bg-primary bg-opacity-10"},oD=["id","onUpdate:modelValue"],iD={class:"d-flex"},aD=["onClick"],lD={class:"d-flex flex-column justify-content-center align-items-center h-100",role:"group","aria-label":"Vertical button group"},cD=["onClick","disabled"],uD=["onClick","disabled"],fD=["onClick"],dD={class:"mt-2",for:"new-category-name"},hD={class:"input-group mb-3"},mD=["placeholder"],pD=Re({__name:"EditBoardPanel",props:{modelValue:{required:!0},modelModifiers:{}},emits:Qn(["editCategory"],["update:modelValue"]),setup(e,{emit:t}){const{t:n}=ot(),r=t,s=pi(e,"modelValue"),o=te("");function i(){if(s.value.categories.length>=12)return;const f=new Du(o.value,"");s.value.categories.push(f)}function a(f){s.value.categories.splice(f,1)}function l(f){if(f===0||s.value.categories.length<=1)return;const d=s.value.categories[f];s.value.categories[f]=s.value.categories[f-1],s.value.categories[f-1]=d}function u(f){if(f===s.value.categories.length-1||s.value.categories.length<=1)return;const d=s.value.categories[f];s.value.categories[f]=s.value.categories[f+1],s.value.categories[f+1]=d}function c(f){r("editCategory",f)}return(f,d)=>(B(),G("div",z4,[p("div",Y4,[p("div",K4,[p("div",q4,[p("h2",G4,j(C(n)("board.infos")),1),p("label",X4,j(C(n)("board.name")),1),et(p("input",{type:"text",id:"board-name",class:"form-control","onUpdate:modelValue":d[0]||(d[0]=h=>s.value.boardName=h),placeholder:C(n)("board.name")},null,8,Q4),[[dt,s.value.boardName]]),p("div",J4,[et(p("input",{class:"form-check-input",type:"checkbox",id:"points-for-title","onUpdate:modelValue":d[1]||(d[1]=h=>s.value.pointsAreTitle=h)},null,512),[[P0,s.value.pointsAreTitle]]),p("label",Z4,j(C(n)("board.options.pointsForTitle")),1)])])]),p("div",eD,[p("div",tD,[p("h4",null,j(C(n)("board.category.label",2)),1),s.value.categories.length===0?(B(),G(ke,{key:0},[Ne(j(C(n)("board.category.label",0)),1)],64)):(B(),it(C(cd),{key:1,modelValue:s.value.categories,"onUpdate:modelValue":d[2]||(d[2]=h=>s.value.categories=h),"item-key":"id",animation:150,"ghost-class":"draggable-ghost",tag:"ul",class:"list-group",handle:".drag-handle"},{default:mn(()=>[(B(!0),G(ke,null,Kt(s.value.categories,(h,m)=>(B(),G("li",{key:h.id,class:"list-group-item bg-body-secondary p-0"},[p("div",nD,[p("div",rD,[p("div",sD,[re(C(Se),{icon:["fas","grip-lines"],class:"px-2"})]),et(p("input",{type:"text",id:`category-name-${m}`,"onUpdate:modelValue":g=>h.name=g,class:"form-control rounded-0 h-100"},null,8,oD),[[dt,h.name]])]),p("div",iD,[p("button",{class:"btn btn-primary rounded-0",onClick:g=>c(m)},[re(C(Se),{icon:["fas","edit"],size:"sm"})],8,aD),p("div",lD,[p("button",{class:"btn btn-primary rounded-0 py-0 lh-sm",onClick:g=>l(m),disabled:m===0},[re(C(Se),{icon:["fas","angle-up"],size:"xs"})],8,cD),p("button",{class:"btn btn-primary rounded-0 py-0 lh-sm",onClick:g=>u(m),disabled:m===s.value.categories.length-1},[re(C(Se),{icon:["fas","angle-down"],size:"xs"})],8,uD)]),p("button",{class:It(["btn btn-danger rounded-start-0 rounded-0",[{"rounded-bottom-end":m===s.value.categories.length-1},{"rounded-top-end":m===0}]]),onClick:g=>a(m)},[re(C(Se),{icon:["fas","trash"],size:"sm"})],10,fD)])])]))),128))]),_:1},8,["modelValue"])),p("label",dD,j(C(n)("board.category.add")),1),p("div",hD,[et(p("input",{type:"text",id:"new-category-name",class:"form-control","onUpdate:modelValue":d[3]||(d[3]=h=>o.value=h),placeholder:C(n)("board.category.name"),onKeyup:ls(i,["enter"])},null,40,mD),[[dt,o.value]]),p("button",{class:"btn btn-primary",onClick:i},[re(C(Se),{icon:["fas","plus"]})])])])])])]))}}),gD=Mn(pD,[["__scopeId","data-v-537d158e"]]);class _D{constructor(t,n,r=3,s=void 0,o=void 0,i=void 0){this.text=t,this.questionType=n,this.fontScaling=r,this.image=s,this.audio=o,this.id=i}}const vD={class:"d-flex flex-column h-100"},bD={class:"flex-grow-1 px-2"},yD={class:"row"},ED={class:"col"},wD={class:"d-flex align-items-center mb-2 overflow-x-auto pb-2"},AD=["title"],TD={class:"flex-grow-1 ms-2","aria-label":"breadcrumb"},SD={class:"breadcrumb mb-0 flex-nowrap"},CD={class:"breadcrumb-item text-truncate"},OD={class:"breadcrumb-item text-truncate"},xD={class:"breadcrumb-item active text-truncate","aria-current":"page"},ND={class:"row"},kD={class:"col"},ID={class:"d-flex border-bottom border-3 border-primary align-items-center mb-2"},$D={class:"flex-grow-1 ms-2"},LD={for:"category-name"},PD=["placeholder"],RD={for:"board-entry-points"},DD=["placeholder"],MD={class:"row mt-3"},FD={class:"col"},VD={key:0},UD={class:"d-flex justify-content-between w-100"},HD={class:"flex-grow-1 d-flex align-items-center text-truncate"},jD={class:"drag-handle h-100 d-flex justify-content-center align-items-center cursor-move border-end border-1 bg-primary bg-opacity-10"},BD={class:"text-truncate"},WD={class:"ms-2"},zD={class:"fw-light"},YD={class:"d-flex"},KD=["onClick"],qD={class:"d-flex flex-column justify-content-center align-items-center h-100",role:"group","aria-label":"Vertical button group"},GD=["onClick","disabled"],XD=["onClick","disabled"],QD=["onClick"],JD={class:"mt-2",for:"type-for-new-question"},ZD={class:"row mb-2"},e5={class:"col"},t5=["value","title"],n5={class:"col-auto"},r5={class:"row"},s5={class:"col"},o5={class:"mt-2",for:"type-for-answer"},i5=["value","title"],a5={class:"mt-2",for:"answer-text"},l5=["placeholder"],c5=Re({__name:"EditBoardEntryPanel",props:Qn({categoryIndex:{},boardEntryIndex:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:Qn(["editBoard","editCategory","editQuestion"],["update:modelValue"]),setup(e,{emit:t}){const{t:n}=ot(),r=pi(e,"modelValue"),s=e,o=tt(_l),i=tt(vl),a=t,l=oe(()=>r.value.categories[s.categoryIndex].boardEntries[s.boardEntryIndex]),u=te(""),c=te(((o==null?void 0:o.value)??[null])[0]);function f(){if(l.value.questions.length>=10||c.value===null)return;const S=new _D(u.value,c.value);l.value.questions.push(S)}function d(S){l.value.questions.splice(S,1)}function h(S){if(S===0||l.value.questions.length<=1)return;const E=l.value.questions[S];l.value.questions[S]=l.value.questions[S-1],l.value.questions[S-1]=E}function m(S){if(S===l.value.questions.length-1||l.value.questions.length<=1)return;const E=l.value.questions[S];l.value.questions[S]=l.value.questions[S+1],l.value.questions[S+1]=E}function g(){a("editBoard")}function v(S){a("editCategory",S)}function y(S,E,A){a("editQuestion",S,E,A)}return(S,E)=>(B(),G("div",vD,[p("div",bD,[p("div",yD,[p("div",ED,[p("div",wD,[p("button",{class:"btn btn-sm btn-outline-primary",title:C(n)("common.back"),onClick:E[0]||(E[0]=A=>v(s.categoryIndex))},[re(C(Se),{icon:["fas","angle-left"]})],8,AD),p("nav",TD,[p("ol",SD,[p("li",CD,[p("a",{href:"#",onClick:g},j(r.value.boardName),1)]),p("li",OD,[p("a",{href:"#",onClick:E[1]||(E[1]=A=>v(s.categoryIndex))},j(r.value.categories[s.categoryIndex].name),1)]),p("li",xD,j(l.value.name),1)])])])])]),p("div",ND,[p("div",kD,[p("div",ID,[p("h2",$D,j(C(n)("board.boardentry.infos")),1)]),p("label",LD,j(C(n)("board.boardentry.name")),1),et(p("input",{type:"text",id:"category-name",class:"form-control mb-2","onUpdate:modelValue":E[2]||(E[2]=A=>l.value.name=A),placeholder:C(n)("board.boardentry.name")},null,8,PD),[[dt,l.value.name]]),p("label",RD,j(C(n)("board.boardentry.points")),1),et(p("input",{type:"number",id:"board-entry-points",class:"form-control","onUpdate:modelValue":E[3]||(E[3]=A=>l.value.points=A),placeholder:C(n)("board.boardentry.points")},null,8,DD),[[dt,l.value.points]])])]),p("div",MD,[p("div",FD,[p("h4",null,j(C(n)("board.question.label",2)),1),l.value.questions.length===0?(B(),G("p",VD,j(C(n)("board.question.label",0)),1)):(B(),it(C(cd),{key:1,modelValue:r.value.categories[s.categoryIndex].boardEntries,"onUpdate:modelValue":E[4]||(E[4]=A=>r.value.categories[s.categoryIndex].boardEntries=A),"item-key":"id",animation:150,"ghost-class":"draggable-ghost",tag:"ul",class:"list-group",handle:".drag-handle"},{default:mn(()=>[(B(!0),G(ke,null,Kt(l.value.questions,(A,x)=>(B(),G("li",{key:A.id,class:"list-group-item bg-body-secondary p-0"},[p("div",UD,[p("div",HD,[p("div",jD,[re(C(Se),{icon:["fas","grip-lines"],class:"px-2"})]),p("div",BD,[p("span",WD,[Ne(j(C(n)(`board.question.types.title.${A.questionType.title}`))+" ",1),p("span",zD," ("+j(A.text.length===0?"No Text yet":A.text)+") ",1)])])]),p("div",YD,[p("button",{class:"btn btn-primary rounded-0",onClick:O=>y(s.categoryIndex,s.boardEntryIndex,x)},[re(C(Se),{icon:["fas","edit"],size:"sm"})],8,KD),p("div",qD,[p("button",{class:"btn btn-primary rounded-0 py-0 lh-sm",onClick:O=>h(x),disabled:x===0},[re(C(Se),{icon:["fas","angle-up"],size:"xs"})],8,GD),p("button",{class:"btn btn-primary rounded-0 py-0 lh-sm",onClick:O=>m(x),disabled:x===l.value.questions.length-1},[re(C(Se),{icon:["fas","angle-down"],size:"xs"})],8,XD)]),p("button",{class:It(["btn btn-danger rounded-start-0 rounded-0",[{"rounded-bottom-end":x===l.value.questions.length-1},{"rounded-top-end":x===0}]]),onClick:O=>d(x)},[re(C(Se),{icon:["fas","trash"],size:"sm"})],10,QD)])])]))),128))]),_:1},8,["modelValue"])),p("label",JD,j(C(n)("board.question.add")),1),p("div",ZD,[p("div",e5,[et(p("select",{id:"type-for-new-question","onUpdate:modelValue":E[5]||(E[5]=A=>c.value=A),class:"form-select"},[(B(!0),G(ke,null,Kt(C(o),A=>(B(),G("option",{key:A.id,value:A,title:C(n)(`board.question.types.description.${A.description}`)},j(C(n)(`board.question.types.title.${A.title}`)),9,t5))),128))],512),[[zc,c.value]])]),p("div",n5,[p("button",{class:"btn btn-primary",onClick:f},[re(C(Se),{icon:["fas","plus"]})])])]),p("div",r5,[p("div",s5,[p("h4",null,j(C(n)("board.answer.label",2)),1),p("label",o5,j(C(n)("board.answer.types.label")),1),et(p("select",{id:"type-for-answer","onUpdate:modelValue":E[6]||(E[6]=A=>l.value.answer.answerType=A),class:"form-select"},[(B(!0),G(ke,null,Kt(C(i),A=>(B(),G("option",{key:A.id,value:A,title:C(n)(`board.answer.types.description.${A.description}`)},j(C(n)(`board.answer.types.title.${A.title}`)),9,i5))),128))],512),[[zc,l.value.answer.answerType]]),p("label",a5,j(C(n)("board.answer.text")),1),et(p("textarea",{id:"answer-text","onUpdate:modelValue":E[7]||(E[7]=A=>l.value.answer.text=A),class:"form-control mb-2",placeholder:C(n)("board.answer.text")},null,8,l5),[[dt,l.value.answer.text]])])])])])])]))}}),u5=Mn(c5,[["__scopeId","data-v-8e3146bf"]]),f5={class:"d-flex flex-column h-100"},d5={class:"flex-grow-1 px-2"},h5={class:"row"},m5={class:"col"},p5={class:"d-flex align-items-center mb-2 overflow-x-auto pb-2"},g5=["title"],_5={class:"flex-grow-1 ms-2","aria-label":"breadcrumb"},v5={class:"breadcrumb mb-0 flex-nowrap"},b5={class:"breadcrumb-item text-truncate"},y5={class:"breadcrumb-item text-truncate"},E5={class:"breadcrumb-item text-truncate"},w5={class:"breadcrumb-item active text-truncate",style:{"max-width":"6em"},"aria-current":"page"},A5={class:"row"},T5={class:"col"},S5={class:"d-flex border-bottom border-3 border-primary align-items-center mb-2"},C5={class:"flex-grow-1 ms-2"},O5={for:"question-text"},x5=["placeholder"],N5={for:"question-font-size-input"},k5={for:"board-entry-points"},I5=["value","title"],$5={for:"question-image-input"},L5={for:"question-audio-input"},P5=2,R5=3,D5=Re({__name:"EditQuestionPanel",props:Qn({categoryIndex:{},boardEntryIndex:{},questionIndex:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:Qn(["editBoard","editCategory","editBoardEntry"],["update:modelValue"]),setup(e,{emit:t}){const{t:n}=ot(),r=pi(e,"modelValue"),s=e,o=tt(_l),i=t,a=oe(()=>r.value.categories[s.categoryIndex].boardEntries[s.boardEntryIndex].questions[s.questionIndex]);function l(){i("editBoard")}function u(h){i("editCategory",h)}function c(h,m){i("editBoardEntry",h,m)}function f(h){let g=h.currentTarget.files;g===null||g.length===0||(a.value.image=URL.createObjectURL(g[0]))}function d(h){let g=h.currentTarget.files;g===null||g.length===0||(a.value.audio=URL.createObjectURL(g[0]))}return(h,m)=>(B(),G("div",f5,[p("div",d5,[p("div",h5,[p("div",m5,[p("div",p5,[p("button",{class:"btn btn-sm btn-outline-primary",title:C(n)("common.back"),onClick:m[0]||(m[0]=g=>c(s.categoryIndex,s.boardEntryIndex))},[re(C(Se),{icon:["fas","angle-left"]})],8,g5),p("nav",_5,[p("ol",v5,[p("li",b5,[p("a",{href:"#",onClick:l},j(r.value.boardName),1)]),p("li",y5,[p("a",{href:"#",onClick:m[1]||(m[1]=g=>u(s.categoryIndex))},j(r.value.categories[s.categoryIndex].name),1)]),p("li",E5,[p("a",{href:"#",onClick:m[2]||(m[2]=g=>c(s.categoryIndex,s.boardEntryIndex))},j(r.value.categories[s.categoryIndex].boardEntries[s.boardEntryIndex].name),1)]),p("li",w5,j(a.value.text.length!==0?a.value.text:a.value.questionType.title),1)])])])])]),p("div",A5,[p("div",T5,[p("div",S5,[p("h2",C5,j(C(n)("board.question.infos")),1)]),p("label",O5,j(C(n)("board.question.text")),1),et(p("textarea",{id:"question-text","onUpdate:modelValue":m[3]||(m[3]=g=>a.value.text=g),class:"form-control mb-2",placeholder:C(n)("board.question.text")},null,8,x5),[[dt,a.value.text]]),p("label",N5,j(C(n)("board.question.fontsize")),1),et(p("input",{type:"number",id:"question-font-size-input","onUpdate:modelValue":m[4]||(m[4]=g=>a.value.fontScaling=g),class:"form-control mb-2"},null,512),[[dt,a.value.fontScaling]]),p("label",k5,j(C(n)("board.question.type")),1),et(p("select",{id:"question-type","onUpdate:modelValue":m[5]||(m[5]=g=>a.value.questionType=g),class:"form-select mb-2","aria-label":"Question Type"},[(B(!0),G(ke,null,Kt(C(o),g=>(B(),G("option",{key:g.id,value:g,title:C(n)(`board.question.types.description.${g.description}`)},j(C(n)(`board.question.types.title.${g.title}`)),9,I5))),128))],512),[[zc,a.value.questionType]]),a.value.questionType.id===P5?(B(),G(ke,{key:0},[p("label",$5,j(C(n)("board.question.upload.image")),1),p("input",{id:"question-image-input",type:"file",class:"form-control mb-2",onChange:f,accept:"image/png, image/jpeg"},null,32)],64)):st("",!0),a.value.questionType.id===R5?(B(),G(ke,{key:1},[p("label",L5,j(C(n)("board.question.upload.audio")),1),p("input",{id:"question-audio-input",type:"file",class:"form-control mb-2",onChange:d,accept:"audio/mpeg"},null,32)],64)):st("",!0)])])])]))}}),M5=Mn(D5,[["__scopeId","data-v-f103494e"]]),F5=Re({__name:"CreatePanel",props:Qn({categoryIndex:{},boardEntryIndex:{},questionIndex:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:Qn(["editBoard","editCategory","editBoardEntry","editQuestion"],["update:modelValue"]),setup(e,{emit:t}){const n=e,r=t,s=pi(e,"modelValue");function o(){r("editBoard")}function i(u){r("editCategory",u)}function a(u,c){r("editBoardEntry",u,c)}function l(u,c,f){r("editQuestion",u,c,f)}return(u,c)=>(B(),G("div",null,[n.categoryIndex===null&&n.boardEntryIndex===null&&n.questionIndex===null?(B(),it(gD,{key:0,modelValue:s.value,"onUpdate:modelValue":c[0]||(c[0]=f=>s.value=f),onEditCategory:i},null,8,["modelValue"])):n.categoryIndex!==null&&n.boardEntryIndex===null&&n.questionIndex===null?(B(),it(W4,{key:1,modelValue:s.value,"onUpdate:modelValue":c[1]||(c[1]=f=>s.value=f),categoryIndex:n.categoryIndex,onEditBoard:o,onEditBoardEntry:a},null,8,["modelValue","categoryIndex"])):n.categoryIndex!==null&&n.boardEntryIndex!==null&&n.questionIndex===null?(B(),it(u5,{key:2,modelValue:s.value,"onUpdate:modelValue":c[2]||(c[2]=f=>s.value=f),categoryIndex:n.categoryIndex,boardEntryIndex:n.boardEntryIndex,onEditQuestion:l,onEditCategory:i,onEditBoard:o},null,8,["modelValue","categoryIndex","boardEntryIndex"])):n.categoryIndex!==null&&n.boardEntryIndex!==null&&n.questionIndex!==null?(B(),it(M5,{key:3,modelValue:s.value,"onUpdate:modelValue":c[3]||(c[3]=f=>s.value=f),categoryIndex:n.categoryIndex,boardEntryIndex:n.boardEntryIndex,questionIndex:n.questionIndex,onEditBoardEntry:a,onEditCategory:i,onEditBoard:o},null,8,["modelValue","categoryIndex","boardEntryIndex","questionIndex"])):st("",!0)]))}}),V5=Mn(F5,[["__scopeId","data-v-376407ed"]]),U5={class:"row h-100"},H5={class:"col-9 h-100 pe-0"},j5={class:"col-3 ps-0 h-100 overflow-auto border-start border-2 border-primary"},B5={class:"d-flex flex-column h-100"},W5={class:"flex-grow-1 overflow-y-auto p-2"},z5={class:"border-top border-2 border-primary p-2"},Y5={class:"d-flex align-items-center"},K5={class:"flex-grow-1 me-1"},q5={class:"flex-grow-1 ms-1"},G5=Re({__name:"CreatePage",setup(e){const t=tt(Af),n=oe(()=>{var V,Y;return(Y=(V=t==null?void 0:t.value)==null?void 0:V.navElement)==null?void 0:Y.clientHeight}),r=oe(()=>({height:`calc(100vh - ${n.value}px)`})),s=te(new Ru("New Board")),o=te(null),i=te(null),a=te(null);function l(V,Y,q){o.value=V,i.value=Y,a.value=q}function u(V,Y){o.value=V,i.value=Y,a.value=null}function c(V){o.value=V,i.value=null,a.value=null}function f(){o.value=null,i.value=null,a.value=null}const d=te(!0),h=te(!0);function m(){d.value=!0}function g(){d.value=!1}function v(){h.value=!0}function y(){h.value=!1}const S=te(!1);function E(){S.value=!0;let V;s.value.id?V=Ws.updateBoard(s.value):V=Ws.saveNewBoard(s.value),V.then(Y=>{s.value=Y,P.params.boardId||$.replace({name:"create",params:{boardId:Y.id}})}).catch(Y=>{console.error(Y)}).finally(()=>{S.value=!1})}function A(){}let x=te([]),O=te([]);on(_l,O),on(vl,x),Wb.getTypes().then(V=>{x.value=V.answerTypes,O.value=V.questionTypes});const k=te(!0),P=Ef(),$=gi();return P.params.boardId?Ws.getBoard(P.params.boardId).then(V=>{s.value=V}).catch(V=>{console.error(V)}).finally(()=>{k.value=!1}):k.value=!1,(V,Y)=>(B(),G("div",{style:sn(r.value)},[p("div",U5,[p("div",H5,[k.value?(B(),it(C(Se),{key:0,icon:["fas","spinner"],size:"xl",spin:""})):(B(),G(ke,{key:1},[o.value!==null&&i.value!==null?(B(),it(Gb,{key:0,boardEntry:s.value.categories[o.value].boardEntries[i.value],categoryName:s.value.categories[o.value].name,selectedQuestionIndex:a.value??0,onQuestionSelected:Y[0]||(Y[0]=q=>l(o.value,i.value,q)),isQuestionShown:d.value,isAnswerShown:h.value,onShowQuestion:m,onHideQuestion:g,onShowAnswer:v,onHideAnswer:y,onShowBoard:f},null,8,["boardEntry","categoryName","selectedQuestionIndex","isQuestionShown","isAnswerShown"])):(B(),it(qb,{key:1,board:s.value,onCategorySelected:c,onBoardEntrySelected:u},null,8,["board"]))],64))]),p("div",j5,[p("div",B5,[p("div",W5,[re(V5,{modelValue:s.value,"onUpdate:modelValue":Y[1]||(Y[1]=q=>s.value=q),categoryIndex:o.value,boardEntryIndex:i.value,questionIndex:a.value,onEditBoard:f,onEditCategory:c,onEditBoardEntry:u,onEditQuestion:l},null,8,["modelValue","categoryIndex","boardEntryIndex","questionIndex"])]),p("div",z5,[p("div",Y5,[p("div",K5,[p("button",{class:"btn btn-primary w-100",onClick:E},[S.value?(B(),it(C(Se),{key:0,icon:["fas","spinner"],spin:""})):(B(),it(C(Se),{key:1,icon:["fas","save"]})),Ne(" Save ")])]),p("div",q5,[p("button",{class:"btn btn-danger w-100",onClick:A},[re(C(Se),{icon:["fas","xmark"]}),Ne(" Exit ")])])])])])])])],4))}}),X5={class:"d-flex flex-column w-100 justify-content-start align-items-center"},Q5={class:"row w-100 my-2 mb-lg-0"},J5=p("div",{class:"col-12 col-lg-9 text-start"},[p("h4",null," Boards ")],-1),Z5={class:"col-12 col-lg-3"},eM=t0('<div class="row w-100 px-3 mb-3"><div class="col-12 col-lg-3 card bg-body-secondary p-2"> Board 1 </div></div><div class="row"><div class="col"><h3> Players </h3></div></div><div class="row w-100 px-3"><div class="col-12 col-lg-3 card bg-body-secondary p-2"> Player 1 </div></div>',3),tM=Re({__name:"LobbyPage",setup(e){ot();const t=te("");return(n,r)=>(B(),G("div",X5,[p("div",Q5,[J5,p("div",Z5,[et(p("input",{class:"form-control",type:"search",id:"search-for-board","onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s),placeholder:"Search for a board"},null,512),[[dt,t.value]])])]),eM]))}}),_y=YA({history:wA("/"),routes:[{path:"/",name:"home",component:z$,meta:{requiresAuth:!1}},{path:"/about",name:"about",component:Y$,meta:{requiresAuth:!1}},{path:"/login",name:"login",component:$L,meta:{requiresAuth:!1}},{path:"/signup",name:"signup",component:ZL,meta:{requiresAuth:!1}},{path:"/profile",name:"profile",component:ER,meta:{requiresAuth:!0}},{path:"/game/:gameId",name:"game",component:D3,meta:{requiresAuth:!1}},{path:"/lobby/:gameId",name:"lobby",component:tM,meta:{requiresAuth:!1}},{path:"/board/:boardId?",name:"create",component:G5,meta:{requiresAuth:!0}}]});_y.beforeEach((e,t,n)=>{const r=go();r.userCheckPromise.finally(()=>{var s;e.meta.requiresAuth===!0&&!r.loggedIn?(t.name==="login"&&(console.error("recursive forward detected"),n({name:"home"})),n({name:"login",query:{r:(s=e.name)==null?void 0:s.toString()}})):n()})});var nM={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},rM={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},sM=rM,oM={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},iM={prefix:"fas",iconName:"angles-right",icon:[512,512,[187,"angle-double-right"],"f101","M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]},aM={prefix:"fas",iconName:"language",icon:[640,512,[],"f1ab","M0 128C0 92.7 28.7 64 64 64H256h48 16H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H320 304 256 64c-35.3 0-64-28.7-64-64V128zm320 0V384H576V128H320zM178.3 175.9c-3.2-7.2-10.4-11.9-18.3-11.9s-15.1 4.7-18.3 11.9l-64 144c-4.5 10.1 .1 21.9 10.2 26.4s21.9-.1 26.4-10.2l8.9-20.1h73.6l8.9 20.1c4.5 10.1 16.3 14.6 26.4 10.2s14.6-16.3 10.2-26.4l-64-144zM160 233.2L179 276H141l19-42.8zM448 164c11 0 20 9 20 20v4h44 16c11 0 20 9 20 20s-9 20-20 20h-2l-1.6 4.5c-8.9 24.4-22.4 46.6-39.6 65.4c.9 .6 1.8 1.1 2.7 1.6l18.9 11.3c9.5 5.7 12.5 18 6.9 27.4s-18 12.5-27.4 6.9l-18.9-11.3c-4.5-2.7-8.8-5.5-13.1-8.5c-10.6 7.5-21.9 14-34 19.4l-3.6 1.6c-10.1 4.5-21.9-.1-26.4-10.2s.1-21.9 10.2-26.4l3.6-1.6c6.4-2.9 12.6-6.1 18.5-9.8l-12.2-12.2c-7.8-7.8-7.8-20.5 0-28.3s20.5-7.8 28.3 0l14.6 14.6 .5 .5c12.4-13.1 22.5-28.3 29.8-45H448 376c-11 0-20-9-20-20s9-20 20-20h52v-4c0-11 9-20 20-20z"]},lM={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32V144C576 64.5 511.5 0 432 0S288 64.5 288 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V144z"]},cM={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},uM={prefix:"fas",iconName:"floppy-disk",icon:[448,512,[128190,128426,"save"],"f0c7","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"]},fM=uM,dM={prefix:"fas",iconName:"hand-pointer",icon:[448,512,[],"f25a","M128 40c0-22.1 17.9-40 40-40s40 17.9 40 40V188.2c8.5-7.6 19.7-12.2 32-12.2c20.6 0 38.2 13 45 31.2c8.8-9.3 21.2-15.2 35-15.2c25.3 0 46 19.5 47.9 44.3c8.5-7.7 19.8-12.3 32.1-12.3c26.5 0 48 21.5 48 48v48 16 48c0 70.7-57.3 128-128 128l-16 0H240l-.1 0h-5.2c-5 0-9.9-.3-14.7-1c-55.3-5.6-106.2-34-140-79L8 336c-13.3-17.7-9.7-42.7 8-56s42.7-9.7 56 8l56 74.7V40zM240 304c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304zm48-16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304z"]},hM={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},mM={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},pM={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},gM={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},_M={prefix:"fas",iconName:"grip-lines",icon:[448,512,[],"f7a4","M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},vM={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},bM={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},yM={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},EM={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},wM={prefix:"fas",iconName:"angle-up",icon:[448,512,[8963],"f106","M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},AM={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},TM={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]},SM={prefix:"fas",iconName:"angle-left",icon:[320,512,[8249],"f104","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]};const CM={welcome:"Welcome to Jeobeardy!"},OM={whatis:"What is Jeobeardy?"},xM={loginHeader:"Login to your Jeobeardy Account",loginButton:"Login",signupLinkButton:"Sign up",username:"Username",password:"Password",error:{process:"An error occured during the login process",credentials:"Username or password incorrect"}},NM={signupHeader:"Create a new Jeobeardy Account",signupButton:"Sign Up",loginLinkButton:"Back to Login","password-repeat":"Repeat Password","password-not-conform":"The password does not meet the required criteria","password-criteria-length":"The password needs to be at least 10 characters long",error:{process:"An error occured during the signup process"}},kM={"validate-fields":"Make sure that all fields are valid"},IM={inputRequired:"This field is required",minLength:"Minimum of {min} characters required",sameAs:"Must match {otherName}"},$M={yourProfile:"Your Profile",yourBoards:"Your Boards",gotoSettings:"Go to Settings",edit:{title:"Edit your Profile"}},LM={heading:"Settings"},PM={buttons:{close:"Close",save:"Save",saveAndExit:"Save and Exit"},back:"Back",error:{generic:"Error"}},RM={button:"Join",text:"Join a Game",alreadyHostedGome:"Someone else is already hosting a game?",textCode:"Enter the code you get from your host and join the lobby."},DM={button:"Host",text:"Host a Game",alreadyHostedGome:"Wanna create a board and host a game yourself?",textCode:"Wanna create a board and host a game yourself?"},MM={label:"Board",name:"Board Name",infos:"Board Infos",options:{pointsForTitle:"Show points amount instead of entry name"},category:{infos:"Category Infos",label:"No Category | Category | Categories | {count} Categories",name:"Category Name",description:"Category Description",add:"Add Category",back:"Back to Board"},boardentry:{infos:"Entry Infos",points:"Point | Points | {count} Points",label:"No Entries | Entry | Entries | {count} Entries",add:"Add Entry",name:"Entry Name"},question:{label:"No Question Layers | Question Layer | Question Layers | {count} Question Layers",infos:"Question Layer Infos",add:"Add Question Layer",text:"Question Text",type:"Question Type",fontsize:"Font Size",types:{title:{simple_question:"Simple Question",image_question:"Image Question",audio_question:"Audio Question",location_question:"Location Question"},description:{simple_question_description:"A simple question with just text",image_question_description:"A question with text and an image",audio_question_description:"A question with text and audio",location_question_description:"A question with an image for players to guess the location on the image"}},upload:{image:"Upload an image",audio:"Upload an audio file"}},answer:{label:"No Answer | Answer | Answers | {count} Answers",text:"Answer Text",types:{label:"Answer Type",title:{simple_answer:"Simple Answer",image_answer:"Image Answer",location_answer:"Location Answer"},description:{simple_answer_description:"A simple answer with just text",image_answer_description:"An answer with text and an image",location_answer_description:"An answer for a location question with the correct location shown on an image"}}}},FM={host:{text:{seconds:"seconds",in:"in",pointsAdjustmentValue:"Value for manual adjustments"},button:{lockIn:"Lock",letChoose:"Let Choose",letNextChoose:"Let next player choose",revealAll:"Reveal All Answers",reveal:"Reveal Answer",unlock:"Unlock Again",correct:"Correct",wrong:"Wrong",pointsAdd:"Add Points",pointsSubtract:"Subtract Points"}}},VM={dark:{name:"Dark"},light:{name:"Light"},highContrast:{name:"High Contrast"}},UM={en:{name:"English",shortName:"en"},de:{name:"German",shortName:"de"}},HM={home:"Home",about:"About"},jM={home:CM,about:OM,login:xM,signup:NM,forms:kM,validations:IM,profile:$M,settings:LM,common:PM,join:RM,host:DM,board:MM,game:FM,theme:VM,i18n:UM,nav:HM},BM={welcome:"Willkommen bei Jeobeardy!"},WM={whatis:"Was ist Jeobeardy?"},zM={loginHeader:"Logge dich mit deinem Jeobeardy Konto ein",username:"Benutzername",password:"Passwort"},YM={dark:{name:"Dunkel"},light:{name:"Hell"},"high-contrast":{name:"Hoher Kontrast"}},KM={en:{name:"Englisch",shortName:"en"},de:{name:"Deutsch",shortName:"de"}},qM={home:"Home",about:"Über"},GM={home:BM,about:WM,login:zM,theme:YM,i18n:KM,nav:qM},XM=Rw({legacy:!1,locale:"en",fallbackLocale:"en",messages:{en:jM,de:GM}});MS.add(pM,TM,bM,sM,vM,AM,aM,oM,yM,mM,hM,_M,wM,gM,SM,iM,dM,cM,nM,lM,fM,EM);const Fl=F0(c$);Fl.use(j0());Fl.use(_y);Fl.use(XM);Fl.mount("#app");
|