owntone-server/htdocs/assets/index.js

70 lines
800 KiB
JavaScript
Raw Normal View History

2024-03-18 16:39:07 -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 th="UPDATE_CONFIG",nh="UPDATE_SETTINGS",rh="UPDATE_LIBRARY_STATS",oh="UPDATE_LIBRARY_RSS_COUNT",sh="UPDATE_OUTPUTS",Qu="UPDATE_PLAYER_STATUS",ih="UPDATE_QUEUE",eu="UPDATE_LYRICS",ah="UPDATE_LASTFM",lh="UPDATE_SPOTIFY",ch="UPDATE_PAIRING",ed="SPOTIFY_NEW_RELEASES",td="SPOTIFY_FEATURED_PLAYLISTS",tu="SEARCH_SOURCE",uh="COMPOSER_TRACKS_SORT",dh="GENRE_TRACKS_SORT",Sl="HIDE_SINGLES",_i="HIDE_SPOTIFY",mh="ARTISTS_SORT",fh="ARTIST_ALBUMS_SORT",ph="ARTIST_TRACKS_SORT",hh="ALBUMS_SORT",_h="SHOW_ONLY_NEXT_ITEMS",Xo="SHOW_BURGER_MENU",Qo="SHOW_PLAYER_MENU",gi="SHOW_UPDATE_DIALOG",nd="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-18 16:39:07 -04:00
**/function El(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const lt={},Uo=[],an=()=>{},K1=()=>!1,yi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rd=e=>e.startsWith("onUpdate:"),zt=Object.assign,od=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Z1=Object.prototype.hasOwnProperty,tt=(e,t)=>Z1.call(e,t),be=Array.isArray,jo=e=>us(e)==="[object Map]",bo=e=>us(e)==="[object Set]",bm=e=>us(e)==="[object Date]",Y1=e=>us(e)==="[object RegExp]",Pe=e=>typeof e=="function",wt=e=>typeof e=="string",Ur=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",sd=e=>(ft(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),gh=Object.prototype.toString,us=e=>gh.call(e),J1=e=>us(e).slice(8,-1),yh=e=>us(e)==="[object Object]",id=e=>wt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qo=El(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$l=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},X1=/-(\w)/g,Xt=$l(e=>e.replace(X1,(t,n)=>n?n.toUpperCase():"")),Q1=/\B([A-Z])/g,_n=$l(e=>e.replace(Q1,"-$1").toLowerCase()),vi=$l(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vs=$l(e=>e?`on${vi(e)}`:""),jn=(e,t)=>!Object.is(e,t),Bo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Qa=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ti=e=>{const t=parseFloat(e);return isNaN(t)?e:t},el=e=>{const t=wt(e)?Number(e):NaN;return isNaN(t)?e:t};let zm;const vh=()=>zm||(zm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),ev="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",tv=El(ev);function Gr(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=wt(r)?sv(r):Gr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(wt(e)||ft(e))return e}const nv=/;(?![^(]*\))/g,rv=/:([^]+)/,ov=/\/\*[^]*?\*\//g;function sv(e){const t={};return e.replace(ov,"").split(nv).forEach(n=>{if(n){const r=n.split(rv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ee(e){let t="";if(wt(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(ft(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ps(e){if(!e)return null;let{class:t,style:n}=e;return t&&!wt(t)&&(e.class=Ee(t)),n&&(e.style=Gr(n)),e}const iv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",av=El(iv);function bh(e){return!!e||e===""}function lv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=jr(e[r],t[r]);return n}function jr(e,t){if(e===t)return!0;let n=bm(e),r=bm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ur(e),r=Ur(t),n||r)return e===t;if(n=be(e),r=be(t),n||r)return n&&r?lv(e,t):!1;if(n=ft(e),r=ft(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||!jr(e[i],t[i]))return!1}}return String(e)===String(t)}function Tl(e,t){return e.findIndex(n=>jr(n,t))}const g=e=>wt(e)?e:e==null?"":be(e)||ft(e)&&(e.toString===gh||!Pe(e.toString))?JSON.stringify(e,zh,2):String(e),zh=(e,t)=>t&&t.__v_isRef?zh(e,t.value):jo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[pc(r,s)+" =>"]=o,n),{})}:bo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>pc(n))}:Ur(t)?pc(t):ft(t)&&!be(t)&&!yh(t)?String(t):t,pc=(e,t="")=>{var n;return Ur(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-18 16:39:07 -04:00
**/let pn;class ad{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pn,!t&&pn&&(this.index=(pn.scopes||(pn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=pn;try{return pn=this,t()}finally{pn=n}}}on(){pn=this}off(){pn=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 ld(e){return new ad(e)}function wh(e,t=pn){t&&t.active&&t.effects.push(e)}function Ch(){return pn}function cv(e){pn&&pn.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,wh(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&&(uv(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),wo()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Hr,n=lo;try{return Hr=!0,lo=this,this._runnings++,wm(this),this.fn()}finally{Cm(this),this._runnings--,lo=n,Hr=t}}stop(){var t;this.active&&(wm(this),Cm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function uv(e){return e.value}function wm(e){e._trackId++,e._depsLength=0}function Cm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)kh(e.deps[t],e);e.deps.length=e._depsLength}}function kh(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function dv(e,t){e.effect instanceof es&&(e=e.effect.fn);const n=new es(e,an,()=>{n.dirty&&n.run()});t&&(zt(n,t),t.scope&&wh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function mv(e){e.effect.stop()}let Hr=!0,nu=0;const xh=[];function zo(){xh.push(Hr),Hr=!1}function wo(){const e=xh.pop();Hr=e===void 0?!0:e}function cd(){nu++}function ud(){for(nu--;!nu&&ru.length;)ru.shift()()}function Sh(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&kh(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ru=[];function Eh(e,t,n){cd();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&&ru.push(r.scheduler)))}ud()}const $h=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},tl=new WeakMap,co=Symbol(""),ou=Symbol("");function cn(e,t,n){if(Hr&&lo){let r=tl.get(e);r||tl.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=$h(()=>r.delete(n))),Sh(lo,o)}}function pr(e,t,n,r,o,s){const i=tl.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,m)=>{(m==="length"||!Ur(m)&&m>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":be(e)?id(n)&&a.push(i.get("length")):(a.push(i.get(co)),jo(e)&&a.push(i.get(ou)));break;case"delete":be(e)||(a.push(i.get(co)),jo(e)&&a.push(i.get(ou)));break;case"set":jo(e)&&a.push(i.get(co));break}cd();for(const l of a)l&&Eh(l,4);ud()}function fv(e,t){var n;return(n=tl.get(e))==null?void 0:n.get(t)}const pv=El("__proto__,__v_isRef,__isVue"),Th=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ur)),km=hv();function hv(){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-18 16:39:07 -04:00
**/function Bv(e,t){}const Wv={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"},Gv={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){Co(o,t,n)}}function yn(e,t,n,r){if(Pe(e)){const s=hr(e,t,n,r);return s&&sd(s)&&s.catch(i=>{Co(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(yn(e[s],t,n,r));return o}function Co(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 m=0;m<u.length;m++)if(u[m](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){hr(l,null,10,[e,i,a]);return}}Kv(e,n,o,r)}function Kv(e,t,n,r=!0){console.error(e)}let oi=!1,su=!1;const qt=[];let Xn=0;const Go=[];let Or=null,so=0;const Hh=Promise.resolve();let bd=null;function ms(e){const t=bd||Hh;return e?t.then(this?e.bind(this):e):t}function Zv(e){let t=Xn+1,n=qt.length;for(;t<n;){const r=t+n>>>1,o=qt[r],s=si(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Il(e){(!qt.length||!qt.includes(e,oi&&e.allowRecurse?Xn+1:Xn))&&(e.id==null?qt.push(e):qt.splice(Zv(e.id),0,e),Uh())}function Uh(){!oi&&!su&&(su=!0,bd=Hh.then(jh))}function Yv(e){const t=qt.indexOf(e);t>Xn&&qt.splice(t,1)}function nl(e){be(e)?Go.push(...e):(!Or||!Or.includes(e,e.allowRecurse?so+1:so))&&Go.push(e),Uh()}function Tm(e,t,n=oi?Xn+1:0){for(;n<qt.length;n++){const r=qt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;qt.splice(n,1),n--,r()}}}function rl(e){if(Go.length){const t=[...new Set(Go)].sort((n,r)=>si(n)-si(r));if(Go.length=0,Or){Or.push(...t);return}for(Or=t,so=0;so<Or.length;so++)Or[so]();Or=null,so=0}}const si=e=>e.id==null?1/0:e.id,Jv=(e,t)=>{const n=si(e)-si(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function jh(e){su=!1,oi=!0,qt.sort(Jv);try{for(Xn=0;Xn<qt.length;Xn++){const t=qt[Xn];t&&t.active!==!1&&hr(t,null,14)}}finally{Xn=0,qt.length=0,rl(),oi=!1,bd=null,(qt.length||Go.length)&&jh()}}let Ro,Vi=[];function qh(e,t){var n,r;Ro=e,Ro?(Ro.enabled=!0,Vi.forEach(({event:o,args:s})=>Ro.emit(o,...s)),Vi=[]):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=>{qh(s,t)}),setTimeout(()=>{Ro||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Vi=[])},3e3)):Vi=[]}function Xv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||lt;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const m=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:f}=r[m]||lt;f&&(o=n.map(p=>wt(p)?p.trim():p)),d&&(o=n.map(ti))}let a,l=r[a=Vs(t)]||r[a=Vs(Xt(t))];!l&&s&&(l=r[a=Vs(_n(t))]),l&&yn(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,yn(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-18 16:39:07 -04:00
**/const Cz="http://www.w3.org/2000/svg",kz="http://www.w3.org/1998/Math/MathML",Dr=typeof document<"u"?document:null,jm=Dr&&Dr.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"?Dr.createElementNS(Cz,e):t==="mathml"?Dr.createElementNS(kz,e):Dr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Dr.createTextNode(e),createComment:e=>Dr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dr.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{jm.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=jm.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})=>Qn(n_,V_(e),t);Dt.displayName="Transition";const F_={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},Sz=Dt.props=zt({},Ed,F_),Xr=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},qm=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function V_(e){const t={};for(const j in e)j in F_||(t[j]=e[j]);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:m=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Ez(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:w,onEnter:C,onEnterCancelled:v,onLeave:z,onLeaveCancelled:E,onBeforeAppear:x=w,onAppear:M=C,onAppearCancelled:R=v}=t,P=(j,q,Q)=>{Ar(j,q?m:a),Ar(j,q?u:i),Q&&Q()},L=(j,q)=>{j._isLeaving=!1,Ar(j,d),Ar(j,p),Ar(j,f),q&&q()},Z=j=>(q,Q)=>{const he=j?M:C,W=()=>P(q,j,Q);Xr(he,[q,W]),Bm(()=>{Ar(q,j?l:s),dr(q,j?m:a),qm(he)||Wm(q,r,_,W)})};return zt(t,{onBeforeEnter(j){Xr(w,[j]),dr(j,s),dr(j,i)},onBeforeAppear(j){Xr(x,[j]),dr(j,l),dr(j,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(j,q){j._isLeaving=!0;const Q=()=>L(j,q);dr(j,d),U_(),dr(j,f),Bm(()=>{j._isLeaving&&(Ar(j,d),dr(j,p),qm(z)||Wm(j,r,b,Q))}),Xr(z,[j,Q])},onEnterCancelled(j){P(j,!1),Xr(v,[j])},onAppearCancelled(j){P(j,!0),Xr(R,[j])},onLeaveCancelled(j){L(j),Xr(E,[j])}})}function Ez(e){if(e==null)return null;if(ft(e))return[zc(e.enter),zc(e.leave)];{const t=zc(e);return[t,t]}}function zc(e){return el(e)}function dr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ns]||(e[ns]=new Set)).add(t)}function Ar(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 Bm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $z=0;function Wm(e,t,n,r){const o=e._endId=++$z,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=H_(e,t);if(!i)return r();const u=i+"end";let m=0;const d=()=>{e.removeEventListener(u,f),s()},f=p=>{p.target===e&&++m>=l&&d()};setTimeout(()=>{m<l&&d()},a+1),e.addEventListener(u,f)}function H_(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${kr}Delay`),s=r(`${kr}Duration`),i=Gm(o,s),a=r(`${bs}Delay`),l=r(`${bs}Duration`),u=Gm(a,l);let m=null,d=0,f=0;t===kr?i>0&&(m=kr,d=i,f=s.length):t===bs?u>0&&(m=bs,d=u,f=l.length):(d=Math.max(i,u),m=d>0?i>u?kr:bs:null,f=m?m===kr?s.length:l.length:0);const p=m===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-18 16:39:07 -04:00
**/const l0=()=>{},c0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:n_,BaseTransitionPropsValidators:Ed,Comment:Gt,DeprecationTypes:wz,EffectScope:ad,ErrorCodes:Wv,ErrorTypeStrings:hz,Fragment:Ce,KeepAlive:yb,ReactiveEffect:es,Static:fo,Suspense:lb,Teleport:Kr,Text:qr,TrackOpTypes:jv,Transition:Dt,TransitionGroup:Yz,TriggerOpTypes:qv,VueElement:Ul,assertNumber:Bv,callWithAsyncErrorHandling:yn,callWithErrorHandling:hr,camelize:Xt,capitalize:vi,cloneVNode:or,compatUtils:zz,compile:l0,computed:Lt,createApp:ng,createBlock:ce,createCommentVNode:F,createElementBlock:A,createElementVNode:c,createHydrationRenderer:C_,createPropsRestProxy:Ib,createRenderer:w_,createSSRApp:i0,createSlots:Ci,createStaticVNode:rz,createTextVNode:gt,createVNode:y,customRef:Fh,defineAsyncComponent:_b,defineComponent:vr,defineCustomElement:B_,defineEmits:Cb,defineExpose:kb,defineModel:Eb,defineOptions:xb,defineProps:wb,defineSSRCustomElement:Wz,defineSlots:Sb,devtools:_z,effect:dv,effectScope:ld,getCurrentInstance:In,getCurrentScope:Ch,getTransitionRawChildren:Nl,guardReactiveProps:O_,h:Qn,handleError:Co,hasInjectionContext:Ub,hydrate:tg,initCustomFormatter:mz,initDirectivesForSSR:a0,inject:Un,isMemoSame:L_,isProxy:pd,isReactive:uo,isReadonly:_o,isRef:Ft,isRuntimeOnly:lz,isShallow:ni,isVNode:Br,markRaw:hd,mergeDefaults:Ob,mergeModels:Pb,mergeProps:Fo,nextTick:ms,normalizeClass:Ee,normalizeProps:Ps,normalizeStyle:Gr,onActivated:o_,onBeforeMount:a_,onBeforeUnmount:Fl,onBeforeUpdate:l_,onDeactivated:s_,onErrorCaptured:m_,onMounted:fs,onRenderTracked:d_,onRenderTriggered:u_,onScopeDispose:cv,onServerPrefetch:c_,onUnmounted:wi,onUpdated:Ml,openBlock:k,popScopeId:eb,provide:Us,proxyRefs:vd,pushScopeId:Qv,queuePostFlushCb:nl,reactive:ds,readonly:fd,ref:nr,registerRuntimeCompiler:az,render:zu,renderList:ct,renderSlot:st,resolveComponent:$,resolveDirective:Cd,resolveDynamicComponent:Gh,resolveFilter:bz,resolveTransitionHooks:ts,setBlockTracking:fu,setDevtoolsHook:gz,setTransitionHooks:go,shallowReactive:md,shallowReadonly:Pv,shallowRef:yd,ssrContextKey:Yh,ssrUtils:vz,stop:mv,toDisplayString:g,toHandlerKey:Vs,toHandlers:bb,toRaw:Ye,toRef:Uv,toRefs:Fv,toValue:Nv,transformVNodeArgs:tz,triggerRef:Rv,unref:gn,useAttrs:Ab,useCssModule:Kz,useCssVars:Oz,useModel:dz,useSSRContext:Jh,useSlots:Tb,useTransitionState:Sd,vModelCheckbox:An,vModelDynamic:Y_,vModelRadio:Pd,vModelSelect:Id,vModelText:un,vShow:ci,version:M_,warn:pz,watch:vn,watchEffect:Xh,watchPostEffect:Qh,watchSyncEffect:e_,withAsyncContext:Db,withCtx:S,withDefaults:$b,withDirectives:yt,withKeys:on,withMemo:fz,withModifiers:rt,withScopeId:tb},Symbol.toStringTag,{value:"Module"})),te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},u0={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)}}},d0=["href"];function m0(e,t,n,r,o,s){return k(),A("a",{class:Ee(["navbar-item",{"is-active":s.is_active}]),href:s.full_path(),onClick:t[0]||(t[0]=rt(i=>s.open_link(),["stop","prevent"]))},[st(e.$slots,"default")],10,d0)}const sg=te(u0,[["render",m0]]),f0={name:"NavbarTop",components:{NavbarItemLink:sg},data(){return{show_settings_menu:!1}},computed:{is_visible_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},is_visible_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},is_visible_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},is_visible_audiobooks(){return this.$store.getters.settings_option("webinterface","show_
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&qC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ff=Symbol("internals");function ws(e){return e&&String(e).trim().toLowerCase()}function ja(e){return e===!1||e==null?e:J.isArray(e)?e.map(ja):String(e)}function WC(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 GC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xc(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 KC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ZC(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 Kl{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const m=ws(l);if(!m)throw new Error("header name must be a non-empty string");const d=J.findKey(o,m);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=ja(a))}const i=(a,l)=>J.forEach(a,(u,m)=>s(u,m,l));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!GC(t)?i(BC(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=ws(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return WC(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=ws(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||xc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=ws(i),i){const a=J.findKey(r,i);a&&(!n||xc(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||xc(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]=ja(o),delete n[s];return}const a=t?KC(s):String(s).trim();a!==s&&delete n[s],n[a]=ja(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[ff]=this[ff]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=ws(i);r[a]||(ZC(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}Kl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Kl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(Kl);const _r=Kl;function Sc(e,t){const n=this||Md,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 wg(e){return!!(e&&e.__CANCEL__)}function Si(e,t,n){Je.call(this,e??"canceled",Je.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Si,Je,{__CANCEL__:!0});function YC(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 JC=er.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 XC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function QC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Cg(e,t){return e&&!XC(t)?QC(e,t):t}const ek=er.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 tk(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nk(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(),m=r[s];i||(i=u),n[o]=l,r[o]=u;let d=s,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const p=m&&u-m;return p?Math.round(f*1e3/p):void 0}}function pf(e,t){let n=0;const r=nk(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 m={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};m[t?"download":"upload"]=!0,e(m)}}const rk=typeof XMLHttpRequest<"u",ok=rk&&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 m;if(J.isFormData(o)){if(er.hasStandardBrowserEnv||er.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((m=s.getContentType())!==!1){const[_,...b]=m?m.split(";").map(w=>w.trim()).filter(Boolean):[];s.setContentType([_||"multipart/form-data",...b].join("; "))}}let d=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=Cg(e.baseURL,e.url);d.open(e.method.toUpperCase(),yg(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const _=_r.from("getAllResponseHeaders"in d&&d.getAllResponseH
`+s.map(hf).join(`
2024-03-18 17:00:04 -04:00
`):" "+hf(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 Ec(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Si(null,e)}function _f(e){return Ec(e),e.headers=_r.from(e.headers),e.data=Sc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),kg.getAdapter(e.adapter||Md.adapter)(e).then(function(r){return Ec(e),r.data=Sc.call(e,e.transformResponse,r),r.headers=_r.from(r.headers),r},function(r){return wg(r)||(Ec(e),r&&r.response&&(r.response.data=Sc.call(e,e.transformResponse,r.response),r.response.headers=_r.from(r.response.headers))),Promise.reject(r)})}const gf=e=>e instanceof _r?{...e}:e;function os(e,t){t=t||{};const n={};function r(u,m,d){return J.isPlainObject(u)&&J.isPlainObject(m)?J.merge.call({caseless:d},u,m):J.isPlainObject(m)?J.merge({},m):J.isArray(m)?m.slice():m}function o(u,m,d){if(J.isUndefined(m)){if(!J.isUndefined(u))return r(void 0,u,d)}else return r(u,m,d)}function s(u,m){if(!J.isUndefined(m))return r(void 0,m)}function i(u,m){if(J.isUndefined(m)){if(!J.isUndefined(u))return r(void 0,u)}else return r(void 0,m)}function a(u,m,d){if(d in t)return r(u,m);if(d 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,m)=>o(gf(u),gf(m),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(m){const d=l[m]||o,f=d(e[m],t[m],m);J.isUndefined(f)&&d!==a||(n[m]=f)}),n}const xg="1.6.8",Fd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const yf={};Fd.transitional=function(t,n,r){function o(s,i){return"[Axios v"+xg+"] 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&&!yf[i]&&(yf[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 ik(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 xu={assertOptions:ik,validators:Fd},xr=xu.validators;class ul{constructor(t){this.defaults=t,this.interceptors={request:new mf,response:new mf}}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+=`
2024-03-18 16:39:07 -04:00
`+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&&xu.assertOptions(r,{silentJSONParsing:xr.transitional(xr.boolean),forcedJSONParsing:xr.transitional(xr.boolean),clarifyTimeoutError:xr.transitional(xr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:xu.assertOptions(o,{encode:xr.function,serialize:xr.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 m,d=0,f;if(!l){const h=[_f.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,m=Promise.resolve(n);d<f;)m=m.then(h[d++],h[d++]);return m}f=a.length;let p=n;for(d=0;d<f;){const h=a[d++],_=a[d++];try{p=h(p)}catch(b){_.call(this,b);break}}try{m=_f.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,f=u.length;d<f;)m=m.then(u[d++],u[d++]);return m}getUri(t){t=os(this.defaults,t);const n=Cg(t.baseURL,t.url);return yg(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){ul.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}))}}ul.prototype[t]=n(),ul.prototype[t+"Form"]=n(!0)});const qa=ul;class Vd{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 Si(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 Vd(function(o){t=o}),cancel:t}}}const ak=Vd;function lk(e){return function(n){return e.apply(null,n)}}function ck(e){return J.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});const uk=Su;function Sg(e){const t=new qa(e),n=ig(qa.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-18 16:39:07 -04:00
*/const dl=typeof window<"u",Zr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),dk=(e,t,n)=>mk({l:e,k:t,s:n}),mk=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Mt=e=>typeof e=="number"&&isFinite(e),fk=e=>$g(e)==="[object Date]",ml=e=>$g(e)==="[object RegExp]",Zl=e=>Xe(e)&&Object.keys(e).length===0,Kt=Object.assign;let vf;const Hd=()=>vf||(vf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const pk=Object.prototype.hasOwnProperty;function fl(e,t){return pk.call(e,t)}const Nt=Array.isArray,$t=e=>typeof e=="function",ke=e=>typeof e=="string",Tt=e=>typeof e=="boolean",it=e=>e!==null&&typeof e=="object",hk=e=>it(e)&&$t(e.then)&&$t(e.catch),Eg=Object.prototype.toString,$g=e=>Eg.call(e),Xe=e=>{if(!it(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},_k=e=>e==null?"":Nt(e)||Xe(e)&&e.toString===Eg?JSON.stringify(e,null,2):String(e);function gk(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function Ud(e){let t=e;return()=>++t}function yk(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Gi=e=>!it(e)||Nt(e);function Ba(e,t){if(Gi(e)||Gi(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=>{Gi(r[s])||Gi(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-18 16:39:07 -04:00
*/const vk=/\{([0-9a-zA-Z]+)\}/g;function bk(e,...t){return t.length===1&&zk(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(vk,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const zk=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},wk={[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 Tg(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=bk((o||wk)[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-18 17:00:04 -04:00
*/function Ck(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hd().__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 kk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function xk(e){return kk.test(e)}function Sk(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 Ek(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 $k(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:xk(t)?Sk(t):"*"+t}function Tk(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,u,m,d;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=$k(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=Ek(s),d=Yr[r],u=d[l]||d.l||8,u===8||(r=u[0],u[1]!==void 0&&(m=f[u[1]],m&&(a=s,m()===!1))))return;if(r===7)return t}}const zf=new Map;function Ak(e,t){return it(e)?e[t]:null}function Ok(e,t){if(!it(e))return null;let n=zf.get(t);if(n||(n=Tk(t),n&&zf.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 Pk=e=>e,Ik=e=>"",Dk="text",Rk=e=>e.length===0?"":gk(e),Nk=_k;function wf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Lk(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 Mk(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Fk(e={}){const t=e.locale,n=Lk(e),r=it(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:wf,o=it(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?wf:void 0,s=w=>w[r(n,w.length,o)],i=e.list||[],a=w=>i[w],l=e.named||{};Mt(e.pluralIndex)&&Mk(n,l);const u=w=>l[w];function m(w){const C=$t(e.messages)?e.messages(w):it(e.messages)?e.messages[w]:!1;return C||(e.parent?e.parent.message(w):Ik)}const d=w=>e.modifiers?e.modifiers[w]:Pk,f=Xe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:Rk,p=Xe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:Nk,h=Xe(e.processor)&&ke(e.processor.type)?e.processor.type:Dk,b={list:a,named:u,plural:s,linked:(w,...C)=>{const[v,z]=C;let E="text",x="";C.length===1?it(v)?(x=v.modifier||x,E=v.type||E):ke(v)&&(x=v||x):C.length===2&&(ke(v)&&(x=v||x),ke(z)&&(E=z||E));const M=m(w)(b),R=E==="vnode"&&Nt(M)&&x?M[0]:M;return x?d(x)(R,E):R},message:m,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return b}let di=null;function Vk(e){di=e}function Hk(e,t,n){di&&di.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Uk=jk("function:translate");function jk(e){return t=>di&&di.emit(e,t)}const qk={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},Ag=Vt.__EXTEND_POINT__,Qr=Ud(Ag),tr={INVALID_ARGUMENT:Ag,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 Tg(e,null,void 0)}function jd(e,t){return t.locale!=null?Cf(t.locale):Cf(e.locale)}let $c;function Cf(e){if(ke(e))return e;if($t(e)){if(e.resolvedOnce&&$c!=null)return $c;if(e.constructor.name==="Function"){const t=e();if(hk(t))throw fr(tr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return $c=t}else throw fr(tr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw
* 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-18 17:00:04 -04:00
*/const hx="9.10.2";function _x(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Hg=qk.__EXTEND_POINT__,cr=Ud(Hg);cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr(),cr();const Ug=tr.__EXTEND_POINT__,en=Ud(Ug),On={UNEXPECTED_RETURN_TYPE:Ug,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 qn(e,...t){return Tg(e,null,void 0)}const Ou=Zr("__translateVNode"),Pu=Zr("__datetimeParts"),Iu=Zr("__numberParts"),gx=Zr("__setPluralRules"),yx=Zr("__injectWithOption"),Du=Zr("__dispose");function mi(e){if(!it(e))return e;for(const t in e)if(fl(e,t))if(!t.includes("."))it(e[t])&&mi(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]]={}),!it(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),it(o[n[r]])&&mi(o[n[r]])}return e}function jg(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Xe(n)?n:Nt(r)?{}:{[e]:{}};if(Nt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},Ba(u,i[l])):Ba(u,i)}else ke(a)&&Ba(JSON.parse(a),i)}),o==null&&s)for(const a in i)fl(i,a)&&mi(i[a]);return i}function qg(e){return e.type}function vx(e,t,n){let r=it(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=jg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(it(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(it(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Rf(e){return y(qr,null,e,0)}const Nf="__INTLIFY_META__",Lf=()=>[],bx=()=>!1;let Mf=0;function Ff(e){return(t,n,r,o)=>e(n,r,In()||void 0,o)}const zx=()=>{const e=In();let t=null;return e&&(t=qg(e)[Nf])?{[Nf]:t}:null};function Bg(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=dl?nr:yd,a=!!e.translateExistCompatible;let l=Tt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:ke(e.locale)?e.locale:pl),m=i(n&&l?n.fallbackLocale.value:ke(e.fallbackLocale)||Nt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),d=i(jg(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)||ml(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:Tt(e.fallbackWarn)||ml(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:Tt(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,C=$t(e.missing)?e.missing:null,v=$t(e.missing)?Ff(e.missing):null,z=$t(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:Tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const M=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let R=e.pluralRules||n&&n.pluralRules,P;P=(()=>{o&&Ef(null);const N={version:hx,locale:u.value,fallbackLocale:m.value,messages:d.value,modifiers:M,pluralRules:R,missing:v===null?void 0:v,missingWarn:h,fallbackWarn:_,fallbackFormat:w,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:E,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=f.value,N.numberFormats=p.value,N.__datetimeFormatters=Xe(P)?P.__datetimeFormatters:void 0,N.__numberFormatters=Xe(P)?P.__numberFormatters:void 0;const G=nx(N);return o&&Ef(G),G})(),Cs(P,u.value,m.value);function Z(){return[u.value,m.value,d.value,f.value,p.value]}const j=Lt({get:()=>u.value,set:N=>{u.value=N,P.locale=u.value}}),q=Lt({get:()=>m.value,set:N=>{m.value=N,P.fallbackLocale=m.value,Cs(P,u.value,N)}}),Q=Lt(()=>d.value),he=Lt(()=>f
2024-02-28 10:11:13 -05:00
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2024-03-18 16:39:07 -04:00
*/var Ux="store";function hs(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function jx(e){return e!==null&&typeof e=="object"}function qx(e){return e&&typeof e.then=="function"}function Bx(e,t){return function(){return e(t)}}function Kg(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 Zg(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;Xl(e,n,[],e._modules.root,!0),Gd(e,n,t)}function Gd(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=ld(!0);l.run(function(){hs(s,function(u,m){i[m]=Bx(u,e),a[m]=Lt(function(){return i[m]()}),Object.defineProperty(e.getters,m,{get:function(){return a[m].value},enumerable:!0})})}),e._state=ds({data:t}),e._scope=l,e.strict&&Yx(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function Xl(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=Kd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=Wx(e,i,n);r.forEachMutation(function(m,d){var f=i+d;Gx(e,f,m,u)}),r.forEachAction(function(m,d){var f=m.root?d:i+d,p=m.handler||m;Kx(e,f,p,u)}),r.forEachGetter(function(m,d){var f=i+d;Zx(e,f,m,u)}),r.forEachChild(function(m,d){Xl(e,t,n.concat(d),m,o)})}function Wx(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=hl(s,i,a),u=l.payload,m=l.options,d=l.type;return(!m||!m.root)&&(d=t+d),e.dispatch(d,u)},commit:r?e.commit:function(s,i,a){var l=hl(s,i,a),u=l.payload,m=l.options,d=l.type;(!m||!m.root)&&(d=t+d),e.commit(d,u,m)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Yg(e,t)}},state:{get:function(){return Kd(e.state,n)}}}),o}function Yg(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 Gx(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function Kx(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 qx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Zx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function Yx(e){vn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Kd(e,t){return t.reduce(function(n,r){return n[r]},e)}function hl(e,t,n){return jx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Jx="vuex bindings",Wf="vuex:mutations",Ac="vuex:actions",$o="vuex",Xx=0;function Qx(e,t){px({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:[Jx]},function(n){n.addTimelineLayer({id:Wf,label:"Vuex Mutations",color:Gf}),n.addTimelineLayer({id:Ac,label:"Vuex Actions",color:Gf}),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=[];ey(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[Qg(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===$o){var o=r.nodeId;Yg(t,o),r.state=nS(oS(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-18 16:39:07 -04:00
*/const Lo=typeof document<"u";function _A(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const at=Object.assign;function Hc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Wn(o)?o.map(e):e(o)}return n}const Ks=()=>{},Wn=Array.isArray,d1=/#/g,gA=/&/g,yA=/\//g,vA=/=/g,bA=/\?/g,m1=/\+/g,zA=/%5B/g,wA=/%5D/g,f1=/%5E/g,CA=/%60/g,p1=/%7B/g,kA=/%7C/g,h1=/%7D/g,xA=/%20/g;function sm(e){return encodeURI(""+e).replace(kA,"|").replace(zA,"[").replace(wA,"]")}function SA(e){return sm(e).replace(p1,"{").replace(h1,"}").replace(f1,"^")}function ju(e){return sm(e).replace(m1,"%2B").replace(xA,"+").replace(d1,"%23").replace(gA,"%26").replace(CA,"`").replace(p1,"{").replace(h1,"}").replace(f1,"^")}function EA(e){return ju(e).replace(vA,"%3D")}function $A(e){return sm(e).replace(d1,"%23").replace(bA,"%3F")}function TA(e){return e==null?"":$A(e).replace(yA,"%2F")}function pi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const AA=/\/$/,OA=e=>e.replace(AA,"");function Uc(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=RA(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:pi(i)}}function PA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Sp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IA(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])&&_1(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 _1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!DA(e[n],t[n]))return!1;return!0}function DA(e,t){return Wn(e)?Ep(e,t):Wn(t)?Ep(t,e):e===t}function Ep(e,t){return Wn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function RA(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 hi;(function(e){e.pop="pop",e.push="push"})(hi||(hi={}));var Zs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Zs||(Zs={}));function NA(e){if(!e)if(Lo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),OA(e)}const LA=/^[^#]+#/;function MA(e,t){return e.replace(LA,"#")+t}function FA(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 sc=()=>({left:window.scrollX,top:window.scrollY});function VA(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=FA(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 $p(e,t){return(history.state?history.state.position-t:-1)+e}const qu=new Map;function HA(e,t){qu.set(e,t)}function UA(e){const t=qu.get(e);return qu.delete(e),t}let jA=()=>location.protocol+"//"+location.host;function g1(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),Sp(l,"")}return Sp(n,e)+r+o}function qA(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=g1(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(w=>{w(n.value,h,{delta:b,type:hi.pop,direction:b?b>0?Zs.forward:Zs.back:Zs.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-18 16:39:07 -04:00
font-size="${e.size/3}" fill="${U8(t)>.5?"#000000":"#FFFFFF"}">
2024-02-29 15:19:40 -05:00
${e.caption}
</text>
2024-03-18 16:39:07 -04:00
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},q8={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.album.substring(0,2):this.artist?this.artist.substring(0,2):""}},methods:{dataURI(){return j8({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function B8(e,t,n,r,o,s){const i=Cd("lazy");return k(),A("figure",null,[yt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.artwork_url,lifecycle:o.lifecycle}]])])}const Dn=te(q8,[["render",B8]]);var C1={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,w){function C(x){b&&b(x),p&&p(null,x)}function v(){w&&w(h),p&&p(h,null)}var z=f.type||"GET";if(h.open(z,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var x=null;try{x=h.responseText?JSON.parse(h.responseText):""}catch(M){console.error(M)}h.status>=200&&h.status<300?C(x):v()}},z==="GET")h.send(null);else{var E=null;f.postData&&(f.contentType==="image/jpeg"?(E=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(E=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(E)}};return p?(_(),null):i(_,function(){h.abort()})},m=function(f,p,h,_){var b={},w=null;typeof p=="object"?(b=p,w=h):typeof p=="function"&&(w=p);var C=f.type||"GET";return C!=="GET"&&f.postData&&!_?f.postData=a(f.postData,b):f.params=a(f.params,b),u(f,w)},d=function(){};return d.prototype={constructor:t},d.prototype.getGeneric=function(f,p){var h={url:f};return m(h,p)},d.prototype.getMe=function(f,p){var h={url:n+"/me"};return m(h,f,p)},d.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return m(h,f,p)},d.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return m(_,p,h)},d.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return m(_,p,h)},d.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return m(h,f,p)},d.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return m(_,p,h)},d.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return m(_,p,h)},d.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return m(h,f,p)},d.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return m(h,f,p)},d.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return m(h,f,p)},d.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return m(h,p)},d.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return m(h,p)},d.prototype.followPlaylist=function(f,p,h)
`).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 m=u.length*a;return l+=m,{duration:m,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({top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop,left:0,behavior:"smooth"})}}},kF=["textContent"],xF={key:1};function SF(e,t,n,r,o,s){return k(),A("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))},[(k(!0),A(Ce,null,ct(s.lyrics,(i,a)=>(k(),A(Ce,{key:a},[a===s.verse_index?(k(),A("div",{key:0,class:Ee({"is-highlighted":s.is_playing})},[(k(!0),A(Ce,null,ct(i.words,l=>(k(),A("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:Gr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,kF)]))),128))],2)):(k(),A("div",xF,g(i.text),1))],64))),128))],544)}const EF=te(CF,[["render",SF],["__scopeId","data-v-32f71750"]]),$F={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 Kn;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"),V.player_play({item_id:this.item.id})},remove(){this.$emit("close"),V.queue_remove(this.item.id)}}},TF={key:0,class:"modal is-active"},AF={class:"modal-content"},OF={class:"card"},PF={class:"card-content"},IF=["textContent"],DF=["textContent"],RF={class:"content is-small"},NF={key:0},LF=["textContent"],MF=["textContent"],FF={key:1},VF=["textContent"],HF=["textContent"],UF={key:2},jF=["textContent"],qF=["textContent"],BF={key:3},WF=["textContent"],GF=["textContent"],KF={key:4},ZF=["textContent"],YF=["textContent"],JF={key:5},XF=["textContent"],QF=["textContent"],eV={key:6},tV=["textContent"],nV=["textContent"],rV=["textContent"],oV=["textContent"],sV=["textContent"],iV={class:"title is-6"},aV=["textContent"],lV={key:7},cV=["textContent"],uV={class:"title is-6"},dV=["textContent"],mV=["textContent"],f
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2024-03-18 16:39:07 -04:00
*/function Up(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 sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Up(Object(n),!0).forEach(function(r){DH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Up(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ka(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ka=function(t){return typeof t}:Ka=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ka(e)}function DH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(){return Pn=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},Pn.apply(this,arguments)}function RH(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 NH(e,t){if(e==null)return{};var n=RH(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 LH(e){return MH(e)||FH(e)||VH(e)||HH()}function MH(e){if(Array.isArray(e))return Ku(e)}function FH(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VH(e,t){if(e){if(typeof e=="string")return Ku(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 Ku(e,t)}}function Ku(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 HH(){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 UH="1.14.0";function gr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var zr=gr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Pi=gr(/Edge/i),jp=gr(/firefox/i),Ys=gr(/safari/i)&&!gr(/chrome/i)&&!gr(/android/i),O1=gr(/iP(ad|od|hone)/i),jH=gr(/chrome/i)&&gr(/android/i),P1={capture:!1,passive:!1};function Ge(e,t,n){e.addEventListener(t,n,!zr&&P1)}function Be(e,t,n){e.removeEventListener(t,n,!zr&&P1)}function zl(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 qH(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Fn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&zl(e,t):zl(e,t))||r&&e===n)return e;if(e===n)break}while(e=qH(e))}return null}var qp=/\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(qp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(qp," ")}}function we(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=we(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 I1(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 rr(){var e=document.scrollingElement;return e||document.documentElement}function bt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,m,d;if(e!==window&&e.parentNode&&e!==rr()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,u=s.right,m=s.height,d=s.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,m=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!zr))do if(o&&o.getBoundingClientRect&&(we(o,"transform")!=="none"||n&&we(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(we(o,"border-top-width")),a-=f.left+parseInt(we(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,d/=h,m/=_,l=i+m,u=a+d)}return{top:i,left:a,bottom:l,right:u,width:d,height:m}}}function Bp(e,t,n){for(var r=Vr(e,!0),o=bt(e)[t];r;){var s=bt(r)[n],i=void 0;if(n==="top"||n==="left"?i=o>=s:i=o<=s,!i)return r;if(r===rr())break;r=Vr(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)&&Fn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function _m(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||we(n,"display")==="none"||t&&!zl(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||zl(e,t))&&n++;return n}function Wp(e){var t=0,n=0,r=rr();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 BH(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 Vr(e,t){if(!e||!e.getBoundingClientRect)return rr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=we(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 rr();if(r||t)return n;r=!0}}while
`)&&(P="(?: "+P+")",Z=" "+Z,L++),z=new RegExp("^(?:"+P+")",R)),h&&(z=new RegExp("^"+P+"$(?!\\s)",R)),f&&(v=C.lastIndex),E=u.call(M?z:C,Z),M?E?(E.input=E.input.slice(L),E[0]=E[0].slice(L),E.index=C.lastIndex,C.lastIndex+=E[0].length):C.lastIndex=0:f&&E&&(C.lastIndex=C.global?E.index+E[0].length:v),h&&E&&E.length>1&&m.call(E[0],z,function(){for(x=1;x<arguments.length-2;x++)arguments[x]===void 0&&(E[x]=void 0)}),E}),o.exports=d},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=d[m(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},m=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},d=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"),m=i("861d"),d=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),w=i("2d00"),C=b("isConcatSpreadable"),v=9007199254740991,z="Maximum allowed index exceeded",E=w>=51||!l(function(){var P=[];return P[C]=!1,P.concat()[0]!==P}),x=_("concat"),M=function(P){if(!m(P))return!1;var L=P[C];return L!==void 0?!!L:u(P)},R=!E||!x;a({target:"Array",proto:!0,forced:R},{concat:function(L){var Z=d(this),j=h(Z,0),q=0,Q,he,W,re,se;for(Q=-1,W=arguments.length;Q<W;Q++)if(se=Q===-1?Z:arguments[Q],M(se)){if(re=f(se.length),q+re>v)throw TypeError(z);for(he=0;he<re;he++,q++)he in se&&p(j,q,se[he])}else{if(q>=v)throw TypeError(z);p(j,q++,se)}return j.length=q,j}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,u,m,d){try{return d?u(a(m)[0],m[1]):u(m)}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"),m=i("c04e"),d=Object.defineProperty;s.f=a?d:function(p,h,_){if(u(p),h=m(h,!0),u(_),l)try{return d(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"),m=i("d44e"),d=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),m(p,b,!1,!0),d[b]=f,p}},"9f7f":function(o,s,i){var a=i("d039");function l(u,m){return RegExp(u,m)}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"),m=function(d,f,p,h,_,b,w,C){for(var v=_,z=0,E=w?u(w,C,3):!1,x;z<h;){if(z in p){if(x=E?E(p[z],z,f):p[z],b>0&&a(x))v=m(d,f,x,l(x.length),v,b-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[v]=x}v++}z++}return v};o.exports=m},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),m=i("50c4"),d=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),w=_("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,v=Math.min,z=9007199254740991,E="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!w},{splice:function(M,R){var P=d(this),L=m(P.length),Z=l(M,L),j=arguments.length,q,Q,he,W,re,se;if(j===0?q=Q=0:j===1?(q=0,Q=L-Z):(q=j-2,Q=v(C(u(R),0),L-Z)),L+q-Q>z)throw TypeError(E);for(he=f(P,Q),W=0;W<Q;W++)re=Z+W,re in P&&p(he,W,P[re]);if(he.length=Q,q<Q){for(W=Z;W<L-Q;W++)re=W+Q,se=W+q,re in P?P[se]=P[re]:delete P[se];for(W=L;W>L-Q+q;W--)delete P[W-1]}else if(q>Q)for(W=L-Q;W>Z;W--)re=W+Q-1,se=W+q-1,re in P?P[se]=P[re]:delete P[se];for(W=0;W<q;W++)P[W+Z]=arguments[W+2];return P.length=L-Q+q,he}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),u=i("d066"),m=i("c430"),d=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),w=i("861d"),C=i("825a"),v=i("7b0b"),z=i("fc6a"),E=i("c04e"),x=i("5c6c"),M=i("7c73"),R=i("df75"),P=i("241c"),L=i("057f"),Z=i("7418"),j=i("06cf"),q=i("9bf2"),Q=i("d1e7"),he=i("9112"),W=i("6eeb"),re=i("5692"),se=i("f772"),qe=i("d012"),ut=i("90e3"),Ve=i("b622"),He=i("e538"),dt=i("746f"),pt=i("d44e"),ht=i("69f3"),Me=i("b727").forEach,B=se("hidden"),ue="Symbol",ie="prototype",ge=Ve("toPrimitive"),Ue=ht.set,Ke=ht.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)||w()}function v(I){if(Array.isArray(I))return _(I)}function z(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}function E(){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 x(I){return v(I)||z(I)||b(I)||E()}var M=i("a352"),R=i.n(M);function P(I){I.parentElement!==null&&I.parentElement.removeChild(I)}function L(I,D,U){var X=U===0?I.children[0]:I.children[U-1].nextSibling;I.insertBefore(D,X)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function j(I){var D=Object.create(null);return function(X){var ve=D[X];return ve||(D[X]=I(X))}}var q=/-(\w)/g,Q=j(function(I){return I.replace(q,function(D,U){return U.toUpperCase()})});i("5db7"),i("73d9");var he=["Start","Add","Remove","Update","End"],W=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],se=[re,he,W].flatMap(function(I){return I}).map(function(I){return"on".concat(I)}),qe={manage:re,manageAndEmit:he,emit:W};function ut(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 dt(I){return["transition-group","TransitionGroup"].includes(I)}function pt(I){return["id","class","role","style"].includes(I)||I.startsWith("data-")||I.startsWith("aria-")||I.startsWith("on")}function ht(I){return I.reduce(function(D,U){var X=C(U,2),ve=X[0],$e=X[1];return D[ve]=$e,D},{})}function Me(I){var D=I.$attrs,U=I.componentData,X=U===void 0?{}:U,ve=ht(Object.entries(D).filter(function($e){var Re=C($e,2),De=Re[0];return Re[1],pt(De)}));return f(f({},ve),X)}function B(I){var D=I.$attrs,U=I.callBackBuilder,X=ht(ue(D));Object.entries(U).forEach(function($e){var Re=C($e,2),De=Re[0],nt=Re[1];qe[De].forEach(function(Ae){X["on".concat(Ae)]=nt(Ae)})});var ve="[data-draggable]".concat(X.draggable||"");return f(f({},X),{},{draggable:ve})}function ue(I){return Object.entries(I).filter(function(D){var U=C(D,2),X=U[0];return U[1],!pt(X)}).map(function(D){var U=C(D,2),X=U[0],ve=U[1];return[Q(X),ve]}).filter(function(D){var U=C(D,2),X=U[0];return U[1],!ut(X)})}i("c740");function ie(I,D){if(!(I instanceof D))throw new TypeError("Cannot call a class as a function")}function ge(I,D){for(var U=0;U<D.length;U++){var X=D[U];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(I,X.key,X)}}function Ue(I,D,U){return D&&ge(I.prototype,D),U&&ge(I,U),I}var Ke=function(D){var U=D.el;return U},T=function(D,U){return D.__draggable_context=U},O=function(D){return D.__draggable_context},H=function(){function I(D){var U=D.nodes,X=U.header,ve=U.default,$e=U.footer,Re=D.root,De=D.realList;ie(this,I),this.defaultNodes=ve,this.children=[].concat(x(X),x(ve),x($e)),this.externalComponent=Re.externalComponent,this.rootTransition=Re.transition,this.tag=Re.tag,this.realList=De}return Ue(I,[{key:"render",value:function(U,X){var ve=this.tag,$e=this.children,Re=this._isRootComponent,De=Re?{default:function(){return $e}}:$e;return U(ve,X,De)}},{key:"updated",value:function(){var U=this.defaultNodes,X=this.realList;U.forEach(function(ve,$e){T(Ke(ve),{element:X[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(U){return O(U)}},{key:"getVmIndexFromDomIndex",value:function(U,X){var ve=this.defaultNodes,$e=ve.length,Re=X.children,De=Re.item(U);if(De===null)return $e;var nt=O(De);if(nt)return nt.index;if($e===0)return 0;var Ae=Ke(ve[0]),Se=x(Re).findIndex(function(Te){ret