owntone-server/htdocs/assets/index.js

70 lines
778 KiB
JavaScript
Raw Normal View History

2024-03-26 10:24:02 -04:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const eh="UPDATE_CONFIG",th="UPDATE_SETTINGS",nh="UPDATE_LIBRARY_STATS",rh="UPDATE_LIBRARY_RSS_COUNT",oh="UPDATE_OUTPUTS",td="UPDATE_PLAYER_STATUS",sh="UPDATE_QUEUE",tu="UPDATE_LYRICS",ih="UPDATE_LASTFM",ah="UPDATE_SPOTIFY",lh="UPDATE_PAIRING",nd="SPOTIFY_NEW_RELEASES",rd="SPOTIFY_FEATURED_PLAYLISTS",nu="SEARCH_SOURCE",ch="COMPOSER_TRACKS_SORT",uh="GENRE_TRACKS_SORT",$l="HIDE_SINGLES",_i="HIDE_SPOTIFY",dh="ARTISTS_SORT",mh="ARTIST_ALBUMS_SORT",fh="ARTIST_TRACKS_SORT",ph="ALBUMS_SORT",hh="SHOW_ONLY_NEXT_ITEMS",Xo="SHOW_BURGER_MENU",Qo="SHOW_PLAYER_MENU",gi="SHOW_UPDATE_DIALOG",od="UPDATE_DIALOG_SCAN_KIND";/**
2024-02-28 10:11:13 -05:00
* @vue/shared v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-03-26 10:24:02 -04:00
**/function Tl(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const it={},Uo=[],an=()=>{},q1=()=>!1,yi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sd=e=>e.startsWith("onUpdate:"),vt=Object.assign,id=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},G1=Object.prototype.hasOwnProperty,tt=(e,t)=>G1.call(e,t),be=Array.isArray,jo=e=>us(e)==="[object Map]",bo=e=>us(e)==="[object Set]",gm=e=>us(e)==="[object Date]",K1=e=>us(e)==="[object RegExp]",Pe=e=>typeof e=="function",bt=e=>typeof e=="string",jr=e=>typeof e=="symbol",ut=e=>e!==null&&typeof e=="object",ad=e=>(ut(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),_h=Object.prototype.toString,us=e=>_h.call(e),Z1=e=>us(e).slice(8,-1),gh=e=>us(e)==="[object Object]",ld=e=>bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=Tl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Al=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Y1=/-(\w)/g,Xt=Al(e=>e.replace(Y1,(t,n)=>n?n.toUpperCase():"")),J1=/\B([A-Z])/g,gn=Al(e=>e.replace(J1,"-$1").toLowerCase()),vi=Al(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fs=Al(e=>e?`on${vi(e)}`:""),Bn=(e,t)=>!Object.is(e,t),Wo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ja=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ei=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xa=e=>{const t=bt(e)?Number(e):NaN;return isNaN(t)?e:t};let ym;const yh=()=>ym||(ym=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),X1="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",Q1=Tl(X1);function Kr(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=bt(r)?rv(r):Kr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(bt(e)||ut(e))return e}const ev=/;(?![^(]*\))/g,tv=/:([^]+)/,nv=/\/\*[^]*?\*\//g;function rv(e){const t={};return e.replace(nv,"").split(ev).forEach(n=>{if(n){const r=n.split(tv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ee(e){let t="";if(bt(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const r=Ee(e[n]);r&&(t+=r+" ")}else if(ut(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Os(e){if(!e)return null;let{class:t,style:n}=e;return t&&!bt(t)&&(e.class=Ee(t)),n&&(e.style=Kr(n)),e}const ov="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sv=Tl(ov);function vh(e){return!!e||e===""}function iv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Br(e[r],t[r]);return n}function Br(e,t){if(e===t)return!0;let n=gm(e),r=gm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=jr(e),r=jr(t),n||r)return e===t;if(n=be(e),r=be(t),n||r)return n&&r?iv(e,t):!1;if(n=ut(e),r=ut(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Br(e[i],t[i]))return!1}}return String(e)===String(t)}function Ol(e,t){return e.findIndex(n=>Br(n,t))}const g=e=>bt(e)?e:e==null?"":be(e)||ut(e)&&(e.toString===_h||!Pe(e.toString))?JSON.stringify(e,bh,2):String(e),bh=(e,t)=>t&&t.__v_isRef?bh(e,t.value):jo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[hc(r,s)+" =>"]=o,n),{})}:bo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hc(n))}:jr(t)?hc(t):ut(t)&&!be(t)&&!gh(t)?String(t):t,hc=(e,t="")=>{var n;return jr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
2024-02-28 10:11:13 -05:00
* @vue/reactivity v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-03-26 10:24:02 -04:00
**/let hn;class cd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=hn,!t&&hn&&(this.index=(hn.scopes||(hn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=hn;try{return hn=this,t()}finally{hn=n}}}on(){hn=this}off(){hn=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function ud(e){return new cd(e)}function zh(e,t=hn){t&&t.active&&t.effects.push(e)}function Ch(){return hn}function av(e){hn&&hn.cleanups.push(e)}let lo;class es{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,zh(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,zo();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(lv(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Co()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ur,n=lo;try{return Ur=!0,lo=this,this._runnings++,vm(this),this.fn()}finally{bm(this),this._runnings--,lo=n,Ur=t}}stop(){var t;this.active&&(vm(this),bm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function lv(e){return e.value}function vm(e){e._trackId++,e._depsLength=0}function bm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)wh(e.deps[t],e);e.deps.length=e._depsLength}}function wh(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function cv(e,t){e.effect instanceof es&&(e=e.effect.fn);const n=new es(e,an,()=>{n.dirty&&n.run()});t&&(vt(n,t),t.scope&&zh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function uv(e){e.effect.stop()}let Ur=!0,ru=0;const xh=[];function zo(){xh.push(Ur),Ur=!1}function Co(){const e=xh.pop();Ur=e===void 0?!0:e}function dd(){ru++}function md(){for(ru--;!ru&&ou.length;)ou.shift()()}function kh(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&wh(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ou=[];function Sh(e,t,n){dd();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&ou.push(r.scheduler)))}md()}const Eh=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Qa=new WeakMap,co=Symbol(""),su=Symbol("");function cn(e,t,n){if(Ur&&lo){let r=Qa.get(e);r||Qa.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Eh(()=>r.delete(n))),kh(lo,o)}}function pr(e,t,n,r,o,s){const i=Qa.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&be(e)){const l=Number(r);i.forEach((u,d)=>{(d==="length"||!jr(d)&&d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":be(e)?ld(n)&&a.push(i.get("length")):(a.push(i.get(co)),jo(e)&&a.push(i.get(su)));break;case"delete":be(e)||(a.push(i.get(co)),jo(e)&&a.push(i.get(su)));break;case"set":jo(e)&&a.push(i.get(co));break}dd();for(const l of a)l&&Sh(l,4);md()}function dv(e,t){var n;return(n=Qa.get(e))==null?void 0:n.get(t)}const mv=Tl("__proto__,__v_isRef,__isVue"),$h=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jr)),zm=fv();function fv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ye(this);for(let s=0,i=this.length;s<i;s++)cn(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t]
2024-02-28 10:11:13 -05:00
* @vue/runtime-core v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-03-26 10:24:02 -04:00
**/function jv(e,t){}const Bv={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},Wv={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function hr(e,t,n,r){try{return r?e(...r):e()}catch(o){wo(o,t,n)}}function bn(e,t,n,r){if(Pe(e)){const s=hr(e,t,n,r);return s&&ad(s)&&s.catch(i=>{wo(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(bn(e[s],t,n,r));return o}function wo(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){hr(l,null,10,[e,i,a]);return}}qv(e,n,o,r)}function qv(e,t,n,r=!0){console.error(e)}let ri=!1,iu=!1;const Bt=[];let Qn=0;const Go=[];let Pr=null,so=0;const Vh=Promise.resolve();let Cd=null;function ms(e){const t=Cd||Vh;return e?t.then(this?e.bind(this):e):t}function Gv(e){let t=Qn+1,n=Bt.length;for(;t<n;){const r=t+n>>>1,o=Bt[r],s=oi(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Rl(e){(!Bt.length||!Bt.includes(e,ri&&e.allowRecurse?Qn+1:Qn))&&(e.id==null?Bt.push(e):Bt.splice(Gv(e.id),0,e),Hh())}function Hh(){!ri&&!iu&&(iu=!0,Cd=Vh.then(Uh))}function Kv(e){const t=Bt.indexOf(e);t>Qn&&Bt.splice(t,1)}function el(e){be(e)?Go.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?so+1:so))&&Go.push(e),Hh()}function Sm(e,t,n=ri?Qn+1:0){for(;n<Bt.length;n++){const r=Bt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Bt.splice(n,1),n--,r()}}}function tl(e){if(Go.length){const t=[...new Set(Go)].sort((n,r)=>oi(n)-oi(r));if(Go.length=0,Pr){Pr.push(...t);return}for(Pr=t,so=0;so<Pr.length;so++)Pr[so]();Pr=null,so=0}}const oi=e=>e.id==null?1/0:e.id,Zv=(e,t)=>{const n=oi(e)-oi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Uh(e){iu=!1,ri=!0,Bt.sort(Zv);try{for(Qn=0;Qn<Bt.length;Qn++){const t=Bt[Qn];t&&t.active!==!1&&hr(t,null,14)}}finally{Qn=0,Bt.length=0,tl(),ri=!1,Cd=null,(Bt.length||Go.length)&&Uh()}}let Ro,Mi=[];function jh(e,t){var n,r;Ro=e,Ro?(Ro.enabled=!0,Mi.forEach(({event:o,args:s})=>Ro.emit(o,...s)),Mi=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{jh(s,t)}),setTimeout(()=>{Ro||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Mi=[])},3e3)):Mi=[]}function Yv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||it;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:m,trim:f}=r[d]||it;f&&(o=n.map(p=>bt(p)?p.trim():p)),m&&(o=n.map(ei))}let a,l=r[a=Fs(t)]||r[a=Fs(Xt(t))];!l&&s&&(l=r[a=Fs(gn(t))]),l&&bn(l,e,6,o);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,o)}}function Bh(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!
2024-02-28 10:11:13 -05:00
* @vue/runtime-dom v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-03-26 10:24:02 -04:00
**/const Cz="http://www.w3.org/2000/svg",wz="http://www.w3.org/1998/Math/MathML",Rr=typeof document<"u"?document:null,Vm=Rr&&Rr.createElement("template"),xz={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 o=t==="svg"?Rr.createElementNS(Cz,e):t==="mathml"?Rr.createElementNS(wz,e):Rr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Rr.createTextNode(e),createComment:e=>Rr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Rr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Vm.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Vm.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]}},kr="transition",bs="animation",ns=Symbol("_vtc"),Dt=(e,{slots:t})=>er(e_,M_(e),t);Dt.displayName="Transition";const N_={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},kz=Dt.props=vt({},Td,N_),Xr=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Hm=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function M_(e){const t={};for(const U in e)U in N_||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:d=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Sz(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:z,onEnter:C,onEnterCancelled:v,onLeave:w,onLeaveCancelled:S,onBeforeAppear:k=z,onAppear:M=C,onAppearCancelled:R=v}=t,O=(U,j,Q)=>{Or(U,j?d:a),Or(U,j?u:i),Q&&Q()},N=(U,j)=>{U._isLeaving=!1,Or(U,m),Or(U,p),Or(U,f),j&&j()},K=U=>(j,Q)=>{const pe=U?M:C,W=()=>O(j,U,Q);Xr(pe,[j,W]),Um(()=>{Or(j,U?l:s),dr(j,U?d:a),Hm(pe)||jm(j,r,_,W)})};return vt(t,{onBeforeEnter(U){Xr(z,[U]),dr(U,s),dr(U,i)},onBeforeAppear(U){Xr(k,[U]),dr(U,l),dr(U,u)},onEnter:K(!1),onAppear:K(!0),onLeave(U,j){U._isLeaving=!0;const Q=()=>N(U,j);dr(U,m),V_(),dr(U,f),Um(()=>{U._isLeaving&&(Or(U,m),dr(U,p),Hm(w)||jm(U,r,b,Q))}),Xr(w,[U,Q])},onEnterCancelled(U){O(U,!1),Xr(v,[U])},onAppearCancelled(U){O(U,!0),Xr(R,[U])},onLeaveCancelled(U){N(U),Xr(S,[U])}})}function Sz(e){if(e==null)return null;if(ut(e))return[Cc(e.enter),Cc(e.leave)];{const t=Cc(e);return[t,t]}}function Cc(e){return Xa(e)}function dr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ns]||(e[ns]=new Set)).add(t)}function Or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ns];n&&(n.delete(t),n.size||(e[ns]=void 0))}function Um(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ez=0;function jm(e,t,n,r){const o=e._endId=++Ez,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=F_(e,t);if(!i)return r();const u=i+"end";let d=0;const m=()=>{e.removeEventListener(u,f),s()},f=p=>{p.target===e&&++d>=l&&m()};setTimeout(()=>{d<l&&m()},a+1),e.addEventListener(u,f)}function F_(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${kr}Delay`),s=r(`${kr}Duration`),i=Bm(o,s),a=r(`${bs}Delay`),l=r(`${bs}Duration`),u=Bm(a,l);let d=null,m=0,f=0;t===kr?i>0&&(d=kr,m=i,f=s.length):t===bs?u>0&&(d=bs,m=u,f=l.length):(m=Math.max(i,u),d=m>0?i>u?kr:bs:null,f=d?d===kr?s.length:l.length:0);const p=d===kr&&/\b(transform|all)(,|$)/.test(r(`${kr}Property`).toString());return{
2024-02-28 10:11:13 -05:00
* vue v3.4.21
2024-01-23 05:01:07 -05:00
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
2024-03-26 10:24:02 -04:00
**/const a0=()=>{},l0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:e_,BaseTransitionPropsValidators:Td,Comment:Gt,DeprecationTypes:zz,EffectScope:cd,ErrorCodes:Bv,ErrorTypeStrings:pz,Fragment:ve,KeepAlive:_b,ReactiveEffect:es,Static:fo,Suspense:ib,Teleport:Dn,Text:Wr,TrackOpTypes:Hv,Transition:Dt,TransitionGroup:Zz,TriggerOpTypes:Uv,VueElement:Wl,assertNumber:jv,callWithAsyncErrorHandling:bn,callWithErrorHandling:hr,camelize:Xt,capitalize:vi,cloneVNode:sr,compatUtils:bz,compile:a0,computed:Nt,createApp:eg,createBlock:we,createCommentVNode:Z,createElementBlock:T,createElementVNode:c,createHydrationRenderer:z_,createPropsRestProxy:Pb,createRenderer:b_,createSSRApp:s0,createSlots:yb,createStaticVNode:nz,createTextVNode:wt,createVNode:y,customRef:Mh,defineAsyncComponent:pb,defineComponent:vr,defineCustomElement:j_,defineEmits:Cb,defineExpose:wb,defineModel:Sb,defineOptions:xb,defineProps:zb,defineSSRCustomElement:Wz,defineSlots:kb,devtools:hz,effect:cv,effectScope:ud,getCurrentInstance:Rn,getCurrentScope:Ch,getTransitionRawChildren:Fl,guardReactiveProps:T_,h:er,handleError:wo,hasInjectionContext:Hb,hydrate:Q_,initCustomFormatter:dz,initDirectivesForSSR:i0,inject:jn,isMemoSame:R_,isProxy:_d,isReactive:uo,isReadonly:_o,isRef:Ft,isRuntimeOnly:az,isShallow:ti,isVNode:qr,markRaw:gd,mergeDefaults:Ab,mergeModels:Ob,mergeProps:Fo,nextTick:ms,normalizeClass:Ee,normalizeProps:Os,normalizeStyle:Kr,onActivated:n_,onBeforeMount:s_,onBeforeUnmount:Ul,onBeforeUpdate:i_,onDeactivated:r_,onErrorCaptured:u_,onMounted:fs,onRenderTracked:c_,onRenderTriggered:l_,onScopeDispose:av,onServerPrefetch:a_,onUnmounted:Ci,onUpdated:Hl,openBlock:x,popScopeId:Xv,provide:Hs,proxyRefs:zd,pushScopeId:Jv,queuePostFlushCb:el,reactive:ds,readonly:hd,ref:rr,registerRuntimeCompiler:iz,render:Cu,renderList:zt,renderSlot:yt,resolveComponent:$,resolveDirective:kd,resolveDynamicComponent:Ml,resolveFilter:vz,resolveTransitionHooks:ts,setBlockTracking:pu,setDevtoolsHook:_z,setTransitionHooks:go,shallowReactive:pd,shallowReadonly:Av,shallowRef:bd,ssrContextKey:Kh,ssrUtils:yz,stop:uv,toDisplayString:g,toHandlerKey:Fs,toHandlers:vb,toRaw:Ye,toRef:Vv,toRefs:Nv,toValue:Dv,transformVNodeArgs:ez,triggerRef:Iv,unref:yn,useAttrs:Tb,useCssModule:Gz,useCssVars:Az,useModel:uz,useSSRContext:Zh,useSlots:$b,useTransitionState:$d,vModelCheckbox:On,vModelDynamic:K_,vModelRadio:Dd,vModelSelect:Rd,vModelText:un,vShow:li,version:L_,warn:fz,watch:zn,watchEffect:Yh,watchPostEffect:Jh,watchSyncEffect:Xh,withAsyncContext:Ib,withCtx:P,withDefaults:Eb,withDirectives:pt,withKeys:on,withMemo:mz,withModifiers:ht,withScopeId:Qv},Symbol.toStringTag,{value:"Module"})),ne=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},c0={name:"NavbarItemLink",props:{exact:Boolean,to:{required:!0,type:Object}},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qo,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(Xo,!1),this.show_player_menu&&this.$store.commit(Qo,!1),this.$router.push(this.to)}}},u0=["href"];function d0(e,t,n,r,o,s){return x(),T("a",{class:Ee(["navbar-item",{"is-active":s.is_active}]),href:s.full_path(),onClick:t[0]||(t[0]=ht(i=>s.open_link(),["stop","prevent"]))},[yt(e.$slots,"default")],10,u0)}const rg=ne(c0,[["render",d0]]),m0={name:"NavbarTop",components:{NavbarItemLink:rg},data(){return{show_settings_menu:!1}},computed:{search_name:{get(){return`search-${this.$store.state.search_source}`}},show_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobooks").value},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xo,e)}},show_files(){return this.$store.getters.settings_option("webinterface","show_menu_item_files").value},show_music(){return this.$store.getters.
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&jw[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},uf=Symbol("internals");function Cs(e){return e&&String(e).trim().toLowerCase()}function Ha(e){return e===!1||e==null?e:J.isArray(e)?e.map(Ha):String(e)}function Ww(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 qw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sc(e,t,n,r,o){if(J.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function Gw(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Kw(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class Jl{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const d=Cs(l);if(!d)throw new Error("header name must be a non-empty string");const m=J.findKey(o,d);(!m||o[m]===void 0||u===!0||u===void 0&&o[m]!==!1)&&(o[m||l]=Ha(a))}const i=(a,l)=>J.forEach(a,(u,d)=>s(u,d,l));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!qw(t)?i(Bw(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=Cs(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Ww(o);if(J.isFunction(n))return n.call(this,o,r);if(J.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Cs(t),t){const r=J.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 o=!1;function s(i){if(i=Cs(i),i){const a=J.findKey(r,i);a&&(!n||Sc(r,r[a],a,n))&&(delete r[a],o=!0)}}return J.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Sc(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return J.forEach(this,(o,s)=>{const i=J.findKey(r,s);if(i){n[i]=Ha(o),delete n[s];return}const a=t?Gw(s):String(s).trim();a!==s&&delete n[s],n[a]=Ha(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&J.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(o=>r.set(o)),r}static accessor(t){const r=(this[uf]=this[uf]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Cs(i);r[a]||(Kw(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}Jl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Jl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(Jl);const _r=Jl;function Ec(e,t){const n=this||Vd,r=t||n,o=_r.from(r.headers);let s=r.data;return J.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function bg(e){return!!(e&&e.__CANCEL__)}function ki(e,t,n){Je.call(this,e??"canceled",Je.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(ki,Je,{__CANCEL__:!0});function Zw(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Yw=tr.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(o)&&i.push("domain="+o),s===!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 Jw(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Xw(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zg(e,t){return e&&!Jw(t)?Xw(e,t):t}const Qw=tr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;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=o(window.location.href),function(i){const a=J.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function ex(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tx(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[s];i||(i=u),n[o]=l,r[o]=u;let m=s,f=0;for(;m!==o;)f+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function df(e,t){let n=0;const r=tx(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const d={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const nx=typeof XMLHttpRequest<"u",rx=nx&&function(e){return new Promise(function(n,r){let o=e.data;const s=_r.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(J.isFormData(o)){if(tr.hasStandardBrowserEnv||tr.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((d=s.getContentType())!==!1){const[_,...b]=d?d.split(";").map(z=>z.trim()).filter(Boolean):[];s.setContentType([_||"multipart/form-data",...b].join("; "))}}let m=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(_+":"+b))}const f=zg(e.baseURL,e.url);m.open(e.method.toUpperCase(),_g(f,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function p(){if(!m)return;const _=_r.from("getAllResponseHeaders"in m&&m.getAllResponseH
`+s.map(mf).join(`
`):" "+mf(s[0]):"as no adapter specified";throw new Je("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ku};function $c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ki(null,e)}function ff(e){return $c(e),e.headers=_r.from(e.headers),e.data=Ec.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Cg.getAdapter(e.adapter||Vd.adapter)(e).then(function(r){return $c(e),r.data=Ec.call(e,e.transformResponse,r),r.headers=_r.from(r.headers),r},function(r){return bg(r)||($c(e),r&&r.response&&(r.response.data=Ec.call(e,e.transformResponse,r.response),r.response.headers=_r.from(r.response.headers))),Promise.reject(r)})}const pf=e=>e instanceof _r?{...e}:e;function os(e,t){t=t||{};const n={};function r(u,d,m){return J.isPlainObject(u)&&J.isPlainObject(d)?J.merge.call({caseless:m},u,d):J.isPlainObject(d)?J.merge({},d):J.isArray(d)?d.slice():d}function o(u,d,m){if(J.isUndefined(d)){if(!J.isUndefined(u))return r(void 0,u,m)}else return r(u,d,m)}function s(u,d){if(!J.isUndefined(d))return r(void 0,d)}function i(u,d){if(J.isUndefined(d)){if(!J.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function a(u,d,m){if(m in t)return r(u,d);if(m in e)return r(void 0,u)}const l={url:s,method:s,data:s,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,d)=>o(pf(u),pf(d),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(d){const m=l[d]||o,f=m(e[d],t[d],d);J.isUndefined(f)&&m!==a||(n[d]=f)}),n}const wg="1.6.8",Hd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const hf={};Hd.transitional=function(t,n,r){function o(s,i){return"[Axios v"+wg+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Je(o(i," has been removed"+(n?" in "+n:"")),Je.ERR_DEPRECATED);return n&&!hf[i]&&(hf[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function sx(e,t,n){if(typeof e!="object")throw new Je("options must be an object",Je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Je("option "+s+" must be "+l,Je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Je("Unknown option "+s,Je.ERR_BAD_OPTION)}}const Su={assertOptions:sx,validators:Hd},Sr=Su.validators;class ll{constructor(t){this.defaults=t,this.interceptors={request:new cf,response:new cf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=os(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Su.assertOptions(r,{silentJSONParsing:Sr.transitional(Sr.boolean),forcedJSONParsing:Sr.transitional(Sr.boolean),clarifyTimeoutError:Sr.transitional(Sr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Su.assertOptions(o,{encode:Sr.function,serialize:Sr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&J.merge(s.common,s[n.method]);s&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=_r.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let d,m=0,f;if(!l){const h=[ff.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,d=Promise.resolve(n);m<f;)d=d.then(h[m++],h[m++]);return d}f=a.length;let p=n;for(m=0;m<f;){const h=a[m++],_=a[m++];try{p=h(p)}catch(b){_.call(this,b);break}}try{d=ff.call(this,p)}catch(h){return Promise.reject(h)}for(m=0,f=u.length;m<f;)d=d.then(u[m++],u[m++]);return d}getUri(t){t=os(this.defaults,t);const n=zg(t.baseURL,t.url);return _g(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){ll.prototype[t]=function(n,r){return this.request(os(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(os(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}ll.prototype[t]=n(),ll.prototype[t+"Form"]=n(!0)});const Ua=ll;class Ud{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new ki(s,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 Ud(function(o){t=o}),cancel:t}}}const ix=Ud;function ax(e){return function(n){return e.apply(null,n)}}function lx(e){return J.isObject(e)&&e.isAxiosError===!0}const Eu={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(Eu).forEach(([e,t])=>{Eu[t]=e});const cx=Eu;function xg(e){const t=new Ua(e),n=og(Ua.prototype.requ
2024-03-18 17:00:04 -04:00
* shared v9.10.2
2024-01-23 05:01:07 -05:00
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-03-26 10:24:02 -04:00
*/const cl=typeof window<"u",Zr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ux=(e,t,n)=>dx({l:e,k:t,s:n}),dx=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Mt=e=>typeof e=="number"&&isFinite(e),mx=e=>Sg(e)==="[object Date]",ul=e=>Sg(e)==="[object RegExp]",Xl=e=>Xe(e)&&Object.keys(e).length===0,Kt=Object.assign;let _f;const jd=()=>_f||(_f=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const fx=Object.prototype.hasOwnProperty;function dl(e,t){return fx.call(e,t)}const Lt=Array.isArray,$t=e=>typeof e=="function",xe=e=>typeof e=="string",Tt=e=>typeof e=="boolean",ot=e=>e!==null&&typeof e=="object",px=e=>ot(e)&&$t(e.then)&&$t(e.catch),kg=Object.prototype.toString,Sg=e=>kg.call(e),Xe=e=>{if(!ot(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},hx=e=>e==null?"":Lt(e)||Xe(e)&&e.toString===kg?JSON.stringify(e,null,2):String(e);function _x(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function Bd(e){let t=e;return()=>++t}function gx(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Wi=e=>!ot(e)||Lt(e);function ja(e,t){if(Wi(e)||Wi(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{Wi(r[s])||Wi(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
2024-03-18 17:00:04 -04:00
* message-compiler v9.10.2
2024-01-23 05:01:07 -05:00
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-03-26 10:24:02 -04:00
*/const yx=/\{([0-9a-zA-Z]+)\}/g;function vx(e,...t){return t.length===1&&bx(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(yx,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const bx=e=>e!==null&&typeof e=="object",Vt={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},zx={[Vt.EXPECTED_TOKEN]:"Expected token: '{0}'",[Vt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Vt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Vt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Vt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Vt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Vt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Vt.EMPTY_PLACEHOLDER]:"Empty placeholder",[Vt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Vt.INVALID_LINKED_FORMAT]:"Invalid linked format",[Vt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Vt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Vt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Vt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Vt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Vt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Eg(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=vx((o||zx)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
2024-03-18 17:00:04 -04:00
* core-base v9.10.2
2024-01-23 05:01:07 -05:00
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-03-26 10:24:02 -04:00
*/function Cx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Yr=[];Yr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Yr[1]={w:[1],".":[2],"[":[4],o:[7]};Yr[2]={w:[2],i:[3,0],0:[3,0]};Yr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Yr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Yr[5]={"'":[4,0],o:8,l:[5,0]};Yr[6]={'"':[4,0],o:8,l:[6,0]};const wx=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function xx(e){return wx.test(e)}function kx(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 Sx(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 Ex(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:xx(t)?kx(t):"*"+t}function $x(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,u,d,m;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,i===void 0||(i=Ex(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=Sx(s),m=Yr[r],u=m[l]||m.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=f[u[1]],d&&(a=s,d()===!1))))return;if(r===7)return t}}const yf=new Map;function Tx(e,t){return ot(e)?e[t]:null}function Ax(e,t){if(!ot(e))return null;let n=yf.get(t);if(n||(n=$x(t),n&&yf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0||$t(o))return null;o=i,s++}return o}const Ox=e=>e,Px=e=>"",Ix="text",Dx=e=>e.length===0?"":_x(e),Rx=hx;function vf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Lx(e){const t=Mt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Mt(e.named.count)||Mt(e.named.n))?Mt(e.named.count)?e.named.count:Mt(e.named.n)?e.named.n:t:t}function Nx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Mx(e={}){const t=e.locale,n=Lx(e),r=ot(e.pluralRules)&&xe(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:vf,o=ot(e.pluralRules)&&xe(t)&&$t(e.pluralRules[t])?vf:void 0,s=z=>z[r(n,z.length,o)],i=e.list||[],a=z=>i[z],l=e.named||{};Mt(e.pluralIndex)&&Nx(n,l);const u=z=>l[z];function d(z){const C=$t(e.messages)?e.messages(z):ot(e.messages)?e.messages[z]:!1;return C||(e.parent?e.parent.message(z):Px)}const m=z=>e.modifiers?e.modifiers[z]:Ox,f=Xe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:Dx,p=Xe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:Rx,h=Xe(e.processor)&&xe(e.processor.type)?e.processor.type:Ix,b={list:a,named:u,plural:s,linked:(z,...C)=>{const[v,w]=C;let S="text",k="";C.length===1?ot(v)?(k=v.modifier||k,S=v.type||S):xe(v)&&(k=v||k):C.length===2&&(xe(v)&&(k=v||k),xe(w)&&(S=w||S));const M=d(z)(b),R=S==="vnode"&&Lt(M)&&k?M[0]:M;return k?m(k)(R,S):R},message:d,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return b}let ui=null;function Fx(e){ui=e}function Vx(e,t,n){ui&&ui.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Hx=Ux("function:translate");function Ux(e){return t=>ui&&ui.emit(e,t)}const jx={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},$g=Vt.__EXTEND_POINT__,Qr=Bd($g),nr={INVALID_ARGUMENT:$g,INVALID_DATE_ARGUMENT:Qr(),INVALID_ISO_DATE_ARGUMENT:Qr(),NOT_SUPPORT_NON_STRING_MESSAGE:Qr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Qr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Qr(),NOT_SUPPORT_LOCALE_TYPE:Qr(),__EXTEND_POINT__:Qr()};function fr(e){return Eg(e,null,void 0)}function Wd(e,t){return t.locale!=null?bf(t.locale):bf(e.locale)}let Tc;function bf(e){if(xe(e))return e;if($t(e)){if(e.resolvedOnce&&Tc!=null)return Tc;if(e.constructor.name==="Function"){const t=e();if(px(t))throw fr(nr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Tc=t}else throw fr(nr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw
2024-03-18 17:00:04 -04:00
* vue-i18n v9.10.2
2024-01-23 05:01:07 -05:00
* (c) 2024 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2024-03-26 10:24:02 -04:00
*/const pk="9.10.2";function hk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fg=jx.__EXTEND_POINT__,cr=Bd(Fg);cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr();const Vg=nr.__EXTEND_POINT__,en=Bd(Vg),Pn={UNEXPECTED_RETURN_TYPE:Vg,INVALID_ARGUMENT:en(),MUST_BE_CALL_SETUP_TOP:en(),NOT_INSTALLED:en(),NOT_AVAILABLE_IN_LEGACY_MODE:en(),REQUIRED_VALUE:en(),INVALID_VALUE:en(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:en(),NOT_INSTALLED_WITH_PROVIDE:en(),UNEXPECTED_ERROR:en(),NOT_COMPATIBLE_LEGACY_VUE_I18N:en(),BRIDGE_SUPPORT_VUE_2_ONLY:en(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:en(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:en(),__EXTEND_POINT__:en()};function Wn(e,...t){return Eg(e,null,void 0)}const Pu=Zr("__translateVNode"),Iu=Zr("__datetimeParts"),Du=Zr("__numberParts"),_k=Zr("__setPluralRules"),gk=Zr("__injectWithOption"),Ru=Zr("__dispose");function di(e){if(!ot(e))return e;for(const t in e)if(dl(e,t))if(!t.includes("."))ot(e[t])&&di(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]={}),!ot(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),ot(o[n[r]])&&di(o[n[r]])}return e}function Hg(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Xe(n)?n:Lt(r)?{}:{[e]:{}};if(Lt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},ja(u,i[l])):ja(u,i)}else xe(a)&&ja(JSON.parse(a),i)}),o==null&&s)for(const a in i)dl(i,a)&&di(i[a]);return i}function Ug(e){return e.type}function yk(e,t,n){let r=ot(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Hg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ot(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ot(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Pf(e){return y(Wr,null,e,0)}const If="__INTLIFY_META__",Df=()=>[],vk=()=>!1;let Rf=0;function Lf(e){return(t,n,r,o)=>e(n,r,Rn()||void 0,o)}const bk=()=>{const e=Rn();let t=null;return e&&(t=Ug(e)[If])?{[If]:t}:null};function jg(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=cl?rr:bd,a=!!e.translateExistCompatible;let l=Tt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:xe(e.locale)?e.locale:ml),d=i(n&&l?n.fallbackLocale.value:xe(e.fallbackLocale)||Lt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(Hg(u.value,e)),f=i(Xe(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Xe(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:Tt(e.missingWarn)||ul(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:Tt(e.fallbackWarn)||ul(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:Tt(e.fallbackRoot)?e.fallbackRoot:!0,z=!!e.fallbackFormat,C=$t(e.missing)?e.missing:null,v=$t(e.missing)?Lf(e.missing):null,w=$t(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:Tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const M=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let R=e.pluralRules||n&&n.pluralRules,O;O=(()=>{o&&xf(null);const L={version:pk,locale:u.value,fallbackLocale:d.value,messages:m.value,modifiers:M,pluralRules:R,missing:v===null?void 0:v,missingWarn:h,fallbackWarn:_,fallbackFormat:z,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:S,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=f.value,L.numberFormats=p.value,L.__datetimeFormatters=Xe(O)?O.__datetimeFormatters:void 0,L.__numberFormatters=Xe(O)?O.__numberFormatters:void 0;const q=tk(L);return o&&xf(q),q})(),ws(O,u.value,d.value);function K(){return[u.value,d.value,m.value,f.value,p.value]}const U=Nt({get:()=>u.value,set:L=>{u.value=L,O.locale=u.value}}),j=Nt({get:()=>d.value,set:L=>{d.value=L,O.fallbackLocale=d.value,ws(O,u.value,L)}}),Q=Nt(()=>m.value),pe=Nt(()=>f
2024-02-28 10:11:13 -05:00
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2024-03-26 10:24:02 -04:00
*/var Hk="store";function hs(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Uk(e){return e!==null&&typeof e=="object"}function jk(e){return e&&typeof e.then=="function"}function Bk(e,t){return function(){return e(t)}}function qg(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Gg(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;tc(e,n,[],e._modules.root,!0),Zd(e,n,t)}function Zd(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=ud(!0);l.run(function(){hs(s,function(u,d){i[d]=Bk(u,e),a[d]=Nt(function(){return i[d]()}),Object.defineProperty(e.getters,d,{get:function(){return a[d].value},enumerable:!0})})}),e._state=ds({data:t}),e._scope=l,e.strict&&Zk(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function tc(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!s&&!o){var a=Yd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=Wk(e,i,n);r.forEachMutation(function(d,m){var f=i+m;qk(e,f,d,u)}),r.forEachAction(function(d,m){var f=d.root?m:i+m,p=d.handler||d;Gk(e,f,p,u)}),r.forEachGetter(function(d,m){var f=i+m;Kk(e,f,d,u)}),r.forEachChild(function(d,m){tc(e,t,n.concat(m),d,o)})}function Wk(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=fl(s,i,a),u=l.payload,d=l.options,m=l.type;return(!d||!d.root)&&(m=t+m),e.dispatch(m,u)},commit:r?e.commit:function(s,i,a){var l=fl(s,i,a),u=l.payload,d=l.options,m=l.type;(!d||!d.root)&&(m=t+m),e.commit(m,u,d)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Kg(e,t)}},state:{get:function(){return Yd(e.state,n)}}}),o}function Kg(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function qk(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function Gk(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return jk(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Kk(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function Zk(e){zn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Yd(e,t){return t.reduce(function(n,r){return n[r]},e)}function fl(e,t,n){return Uk(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Yk="vuex bindings",jf="vuex:mutations",Oc="vuex:actions",$o="vuex",Jk=0;function Xk(e,t){fk({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Yk]},function(n){n.addTimelineLayer({id:jf,label:"Vuex Mutations",color:Bf}),n.addTimelineLayer({id:Oc,label:"Vuex Actions",color:Bf}),n.addInspector({id:$o,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===$o)if(r.filter){var o=[];Xg(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[Jg(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===$o){var o=r.nodeId;Kg(t,o),r.state=tS(rS(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===$o){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._st
2024-02-22 13:32:55 -05:00
* vue-router v4.3.0
* (c) 2024 Eduardo San Martin Morote
2022-04-15 13:50:55 -04:00
* @license MIT
2024-03-26 10:24:02 -04:00
*/const No=typeof document<"u";function hA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const st=Object.assign;function Uc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Gn(o)?o.map(e):e(o)}return n}const Gs=()=>{},Gn=Array.isArray,c1=/#/g,_A=/&/g,gA=/\//g,yA=/=/g,vA=/\?/g,u1=/\+/g,bA=/%5B/g,zA=/%5D/g,d1=/%5E/g,CA=/%60/g,m1=/%7B/g,wA=/%7C/g,f1=/%7D/g,xA=/%20/g;function am(e){return encodeURI(""+e).replace(wA,"|").replace(bA,"[").replace(zA,"]")}function kA(e){return am(e).replace(m1,"{").replace(f1,"}").replace(d1,"^")}function Bu(e){return am(e).replace(u1,"%2B").replace(xA,"+").replace(c1,"%23").replace(_A,"%26").replace(CA,"`").replace(m1,"{").replace(f1,"}").replace(d1,"^")}function SA(e){return Bu(e).replace(yA,"%3D")}function EA(e){return am(e).replace(c1,"%23").replace(vA,"%3F")}function $A(e){return e==null?"":EA(e).replace(gA,"%2F")}function fi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const TA=/\/$/,AA=e=>e.replace(TA,"");function jc(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=DA(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:fi(i)}}function OA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function PA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&as(t.matched[r],n.matched[o])&&p1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function as(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function p1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!IA(e[n],t[n]))return!1;return!0}function IA(e,t){return Gn(e)?xp(e,t):Gn(t)?xp(t,e):e===t}function xp(e,t){return Gn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function DA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var pi;(function(e){e.pop="pop",e.push="push"})(pi||(pi={}));var Ks;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ks||(Ks={}));function RA(e){if(!e)if(No){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 LA=/^[^#]+#/;function NA(e,t){return e.replace(LA,"#")+t}function MA(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 lc=()=>({left:window.scrollX,top:window.scrollY});function FA(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=MA(o,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 kp(e,t){return(history.state?history.state.position-t:-1)+e}const Wu=new Map;function VA(e,t){Wu.set(e,t)}function HA(e){const t=Wu.get(e);return Wu.delete(e),t}let UA=()=>location.protocol+"//"+location.host;function h1(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),wp(l,"")}return wp(n,e)+r+o}function jA(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=h1(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);o.forEach(z=>{z(n.value,h,{delta:b,type:pi.pop,direction:b?b>0?Ks.forward:Ks.back:Ks.unknown})})};function l(){i=n.value}function u(f){o.push(f);const p=()=>{const h=o.indexOf(f);h>-1&&o.splice(h,1)};retur
2024-02-29 15:19:40 -05:00
width="${e.size}" height="${e.size}"
viewBox="0 0 ${e.size} ${e.size}">
<rect width="100%" height="100%" fill="#${t}"/>
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
font-weight="${e.font.weight}" font-family="${e.font.family}"
2024-03-26 10:24:02 -04:00
font-size="${e.size/3}" fill="${O8(t)>.5?"#000000":"#FFFFFF"}">
2024-02-29 15:19:40 -05:00
${e.caption}
</text>
2024-03-26 10:24:02 -04:00
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},I8={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},artwork_url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{alt_text(){return`${this.artist} - ${this.album}`},caption(){return(this.album||this.artist||"").substring(0,2)}},methods:{dataURI(){return P8({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function D8(e,t,n,r,o,s){const i=kd("lazy");return x(),T("figure",null,[pt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.artwork_url,lifecycle:o.lifecycle}]])])}const zr=ne(I8,[["render",D8]]),{t:Qi,locale:R8}=ec.global,b1="NO_INDEX",L8=(e,t)=>e-t,N8=(e,t)=>e.localeCompare(t,R8.value),M8=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1);function F8(e){return e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>N8(o[t],s[t])*r;case Number:return(o,s)=>L8(o[t],s[t])*r;case Date:return(o,s)=>M8(o[t],s[t])*r}})}const V8=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":""},H8=e=>Math.floor(e/10),U8=[{difference:NaN,text:()=>Qi("grouped-list.undefined")},{difference:864e5,text:()=>Qi("grouped-list.today")},{difference:6048e5,text:()=>Qi("grouped-list.last-week")},{difference:2592e6,text:()=>Qi("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],j8=e=>{var r;const t=new Date(e),n=new Date-t;return(r=U8.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)};function B8({field:e,type:t=void 0}={}){switch(t){case String:return n=>V8(n[e]);case Number:return n=>n[e];case Date:return n=>j8(n[e]);case"Digits":return n=>H8(n[e]);default:return n=>b1}}class ge{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={},s){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indices=[],this.group(s)}group({criteria:t=[],filters:n=[],index:r}={}){const o=B8(r),s=this.items.filter(l=>n.every(u=>u(l)));this.count=s.length;const i=F8(t),a=s.sort((l,u)=>i.reduce((d,m)=>d||m(l,u),0));this.itemsGrouped=a.reduce((l,u)=>{const d=o(u);return l.set(d,[...l.get(d)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys())}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==b1&&(yield{index:t,isItem:!1,item:{},itemId:t});for(const r of n)yield{index:t,isItem:!0,item:r,itemId:r.id}}}[Symbol.iterator](){return this.generate()}}var z1={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(o!==null){var _=o.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new s(h,p):null},a=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,_=function(b,z){function C(k){b&&b(k),p&&p(null,k)}function v(){z&&z(h),p&&p(h,null)}var w=f.type||"GET";if(h.open(w,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var k=null;try{k=h.responseText?JSON.parse(h.responseText):""}catch(M){console.error(M)}h.status>=200&&h.status<300?C(k):v()}},w==="GET")h.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(f,p,h,_){var b={},z=null;typeof p=="object"?(b=p,z=h):typeof p=="function"&&(z=p);var C=f.type||"GET";retu
`).forEach((r,o)=>{const s=n.exec(r);if(s&&s[4]){const i={text:s[4],time:s[2]*60+s[3]*1};t.push(i)}}),t.forEach((r,o,s)=>{const a=(o<s.length-1?s[o+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(u=>{const d=u.length*a;return l+=d,{duration:d,delay:l,text:u}})})}return t},player(){return this.$store.state.player}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!=this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},start_scrolling(e){(e.screenX||e.screenX!=0||e.screenY||e.screenY!=0)&&(this.autoScrolling=!1,this.scrollingTimer&&clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})}}},C7=["textContent"],w7={key:1};function x7(e,t,n,r,o,s){return x(),T("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>o.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>o.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>s.start_scrolling&&s.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>s.start_scrolling&&s.start_scrolling(...i))},[(x(!0),T(ve,null,zt(s.lyrics,(i,a)=>(x(),T(ve,{key:a},[a===s.verse_index?(x(),T("div",{key:0,class:Ee({"is-highlighted":s.is_playing})},[(x(!0),T(ve,null,zt(i.words,l=>(x(),T("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:Kr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,C7)]))),128))],2)):(x(),T("div",w7,g(i.text),1))],64))),128))],544)}const k7=ne(z7,[["render",x7],["__scopeId","data-v-e855b1d2"]]),S7={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Zn;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),F.player_play({item_id:this.item.id})},remove(){this.$emit("close"),F.queue_remove(this.item.id)}}},E7={key:0,class:"modal is-active"},$7={class:"modal-content"},T7={class:"card"},A7={class:"card-content"},O7=["textContent"],P7=["textContent"],I7={class:"content is-small"},D7={key:0},R7=["textContent"],L7=["textContent"],N7={key:1},M7=["textContent"],F7=["textContent"],V7={key:2},H7=["textContent"],U7=["textContent"],j7={key:3},B7=["textContent"],W7=["textContent"],q7={key:4},G7=["textContent"],K7=["textContent"],Z7={key:5},Y7=["textContent"],J7=["textContent"],X7={key:6},Q7=["textContent"],eV=["textContent"],tV=["textContent"],nV=["textContent"],rV=["textContent"],oV={class:"title is-6"},sV=["textContent"],iV={key:7},aV=["textContent"],lV={class:"title is-6"},cV=["textContent"],uV=["textContent"],d
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2024-03-26 10:24:02 -04:00
*/function Fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fp(Object(n),!0).forEach(function(r){OH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qa=function(t){return typeof t}:qa=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qa(e)}function OH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(){return In=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},In.apply(this,arguments)}function PH(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function IH(e,t){if(e==null)return{};var n=PH(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DH(e){return RH(e)||LH(e)||NH(e)||MH()}function RH(e){if(Array.isArray(e))return Yu(e)}function LH(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function NH(e,t){if(e){if(typeof e=="string")return Yu(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 Yu(e,t)}}function Yu(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 MH(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var FH="1.14.0";function gr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Cr=gr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ai=gr(/Edge/i),Vp=gr(/firefox/i),Zs=gr(/safari/i)&&!gr(/chrome/i)&&!gr(/android/i),A1=gr(/iP(ad|od|hone)/i),VH=gr(/chrome/i)&&gr(/android/i),O1={capture:!1,passive:!1};function Ge(e,t,n){e.addEventListener(t,n,!Cr&&O1)}function We(e,t,n){e.removeEventListener(t,n,!Cr&&O1)}function wl(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 HH(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Vn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&wl(e,t):wl(e,t))||r&&e===n)return e;if(e===n)break}while(e=HH(e))}return null}var Hp=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Hp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Hp," ")}}function Ce(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 ho(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Ce(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function P1(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function or(){var e=document.scrollingElement;return e||document.documentElement}function gt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,d,m;if(e!==window&&e.parentNode&&e!==or()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,u=s.right,d=s.height,m=s.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,d=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!Cr))do if(o&&o.getBoundingClientRect&&(Ce(o,"transform")!=="none"||n&&Ce(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(Ce(o,"border-top-width")),a-=f.left+parseInt(Ce(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=ho(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,m/=h,d/=_,l=i+d,u=a+m)}return{top:i,left:a,bottom:l,right:u,width:m,height:d}}}function Up(e,t,n){for(var r=Hr(e,!0),o=gt(e)[t];r;){var s=gt(r)[n],i=void 0;if(n==="top"||n==="left"?i=o>=s:i=o<=s,!i)return r;if(r===or())break;r=Hr(r,!1)}return!1}function cs(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Oe.ghost&&(r||i[s]!==Oe.dragged)&&Vn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function fm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||Ce(n,"display")==="none"||t&&!wl(n,t));)n=n.previousElementSibling;return n||null}function Et(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||wl(e,t))&&n++;return n}function jp(e){var t=0,n=0,r=or();if(e)do{var o=ho(e),s=o.a,i=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function UH(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 Hr(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Ce(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return or();if(r||t)return n;r=!0}}while
`)&&(O="(?: "+O+")",K=" "+K,N++),w=new RegExp("^(?:"+O+")",R)),h&&(w=new RegExp("^"+O+"$(?!\\s)",R)),f&&(v=C.lastIndex),S=u.call(M?w:C,K),M?S?(S.input=S.input.slice(N),S[0]=S[0].slice(N),S.index=C.lastIndex,C.lastIndex+=S[0].length):C.lastIndex=0:f&&S&&(C.lastIndex=C.global?S.index+S[0].length:v),h&&S&&S.length>1&&d.call(S[0],w,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(S[k]=void 0)}),S}),o.exports=m},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=m[d(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},d=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=u.data={},f=u.NATIVE="N",p=u.POLYFILL="P";o.exports=u},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("e8b5"),d=i("861d"),m=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),z=i("2d00"),C=b("isConcatSpreadable"),v=9007199254740991,w="Maximum allowed index exceeded",S=z>=51||!l(function(){var O=[];return O[C]=!1,O.concat()[0]!==O}),k=_("concat"),M=function(O){if(!d(O))return!1;var N=O[C];return N!==void 0?!!N:u(O)},R=!S||!k;a({target:"Array",proto:!0,forced:R},{concat:function(N){var K=m(this),U=h(K,0),j=0,Q,pe,W,re,se;for(Q=-1,W=arguments.length;Q<W;Q++)if(se=Q===-1?K:arguments[Q],M(se)){if(re=f(se.length),j+re>v)throw TypeError(w);for(pe=0;pe<re;pe++,j++)pe in se&&p(U,j,se[pe])}else{if(j>=v)throw TypeError(w);p(U,j++,se)}return U.length=j,U}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,u,d,m){try{return m?u(a(d)[0],d[1]):u(d)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),d=i("c04e"),m=Object.defineProperty;s.f=a?m:function(p,h,_){if(u(p),h=d(h,!0),u(_),l)try{return m(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),d=i("d44e"),m=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),d(p,b,!1,!0),m[b]=f,p}},"9f7f":function(o,s,i){var a=i("d039");function l(u,d){return RegExp(u,d)}s.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(o,s,i){var a=i("e8b5"),l=i("50c4"),u=i("0366"),d=function(m,f,p,h,_,b,z,C){for(var v=_,w=0,S=z?u(z,C,3):!1,k;w<h;){if(w in p){if(k=S?S(p[w],w,f):p[w],b>0&&a(k))v=d(m,f,k,l(k.length),v,b-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[v]=k}v++}w++}return v};o.exports=d},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),d=i("50c4"),m=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),z=_("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,v=Math.min,w=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!z},{splice:function(M,R){var O=m(this),N=d(O.length),K=l(M,N),U=arguments.length,j,Q,pe,W,re,se;if(U===0?j=Q=0:U===1?(j=0,Q=N-K):(j=U-2,Q=v(C(u(R),0),N-K)),N+j-Q>w)throw TypeError(S);for(pe=f(O,Q),W=0;W<Q;W++)re=K+W,re in O&&p(pe,W,O[re]);if(pe.length=Q,j<Q){for(W=K;W<N-Q;W++)re=W+Q,se=W+j,re in O?O[se]=O[re]:delete O[se];for(W=N;W>N-Q+j;W--)delete O[W-1]}else if(j>Q)for(W=N-Q;W>K;W--)re=W+Q-1,se=W+j-1,re in O?O[se]=O[re]:delete O[se];for(W=0;W<j;W++)O[W+K]=arguments[W+2];return O.length=N-Q+j,pe}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),u=i("d066"),d=i("c430"),m=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),z=i("861d"),C=i("825a"),v=i("7b0b"),w=i("fc6a"),S=i("c04e"),k=i("5c6c"),M=i("7c73"),R=i("df75"),O=i("241c"),N=i("057f"),K=i("7418"),U=i("06cf"),j=i("9bf2"),Q=i("d1e7"),pe=i("9112"),W=i("6eeb"),re=i("5692"),se=i("f772"),Be=i("d012"),at=i("90e3"),Ve=i("b622"),He=i("e538"),lt=i("746f"),dt=i("d44e"),mt=i("69f3"),Me=i("b727").forEach,B=se("hidden"),ce="Symbol",ie="prototype",_e=Ve("toPrimitive"),Ue=mt.set,Ke=mt.getterFor(
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(I,D){return p(I)||h(I,D)||b(I,D)||z()}function v(I){if(Array.isArray(I))return _(I)}function w(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(I){return v(I)||w(I)||b(I)||S()}var M=i("a352"),R=i.n(M);function O(I){I.parentElement!==null&&I.parentElement.removeChild(I)}function N(I,D,H){var X=H===0?I.children[0]:I.children[H-1].nextSibling;I.insertBefore(D,X)}var K=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(I){var D=Object.create(null);return function(X){var ye=D[X];return ye||(D[X]=I(X))}}var j=/-(\w)/g,Q=U(function(I){return I.replace(j,function(D,H){return H.toUpperCase()})});i("5db7"),i("73d9");var pe=["Start","Add","Remove","Update","End"],W=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],se=[re,pe,W].flatMap(function(I){return I}).map(function(I){return"on".concat(I)}),Be={manage:re,manageAndEmit:pe,emit:W};function at(I){return se.indexOf(I)!==-1}i("caad"),i("2ca0");var Ve=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function He(I){return Ve.includes(I)}function lt(I){return["transition-group","TransitionGroup"].includes(I)}function dt(I){return["id","class","role","style"].includes(I)||I.startsWith("data-")||I.startsWith("aria-")||I.startsWith("on")}function mt(I){return I.reduce(function(D,H){var X=C(H,2),ye=X[0],$e=X[1];return D[ye]=$e,D},{})}function Me(I){var D=I.$attrs,H=I.componentData,X=H===void 0?{}:H,ye=mt(Object.entries(D).filter(function($e){var Re=C($e,2),De=Re[0];return Re[1],dt(De)}));return f(f({},ye),X)}function B(I){var D=I.$attrs,H=I.callBackBuilder,X=mt(ce(D));Object.entries(H).forEach(function($e){var Re=C($e,2),De=Re[0],nt=Re[1];Be[De].forEach(function(Ae){X["on".concat(Ae)]=nt(Ae)})});var ye="[data-draggable]".concat(X.draggable||"");return f(f({},X),{},{draggable:ye})}function ce(I){return Object.entries(I).filter(function(D){var H=C(D,2),X=H[0];return H[1],!dt(X)}).map(function(D){var H=C(D,2),X=H[0],ye=H[1];return[Q(X),ye]}).filter(function(D){var H=C(D,2),X=H[0];return H[1],!at(X)})}i("c740");function ie(I,D){if(!(I instanceof D))throw new TypeError("Cannot call a class as a function")}function _e(I,D){for(var H=0;H<D.length;H++){var X=D[H];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(I,X.key,X)}}function Ue(I,D,H){return D&&_e(I.prototype,D),H&&_e(I,H),I}var Ke=function(D){var H=D.el;return H},E=function(D,H){return D.__draggable_context=H},A=function(D){return D.__draggable_context},V=function(){function I(D){var H=D.nodes,X=H.header,ye=H.default,$e=H.footer,Re=D.root,De=D.realList;ie(this,I),this.defaultNodes=ye,this.children=[].concat(k(X),k(ye),k($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(I,[{key:"render",value:function(H,X){var ye=this.tag,$e=this.children,Re=this._isRootComponent,De=Re?{default:function(){return $e}}:$e;return H(ye,X,De)}},{key:"updated",value:function(){var H=this.defaultNodes,X=this.realList;H.forEach(function(ye,$e){E(Ke(ye),{element:X[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(H){return A(H)}},{key:"getVmIndexFromDomIndex",value:function(H,X){var ye=this.defaultNodes,$e=ye.length,Re=X.children,De=Re.item(H);if(De===null)return $e;var nt=A(De);if(nt)return nt.index;if($e===0)return 0;var Ae=Ke(ye[0]),Se=k(Re).findIndex(function(Te){ret