owntone-server/htdocs/assets/index.js

70 lines
799 KiB
JavaScript
Raw Normal View History

2024-02-29 15:19:40 -05: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 ih="UPDATE_CONFIG",ah="UPDATE_SETTINGS",lh="UPDATE_LIBRARY_STATS",ch="UPDATE_LIBRARY_RSS_COUNT",uh="UPDATE_OUTPUTS",td="UPDATE_PLAYER_STATUS",dh="UPDATE_QUEUE",nu="UPDATE_LYRICS",mh="UPDATE_LASTFM",fh="UPDATE_SPOTIFY",ph="UPDATE_PAIRING",nd="SPOTIFY_NEW_RELEASES",rd="SPOTIFY_FEATURED_PLAYLISTS",ru="SEARCH_SOURCE",hh="COMPOSER_TRACKS_SORT",_h="GENRE_TRACKS_SORT",El="HIDE_SINGLES",gi="HIDE_SPOTIFY",gh="ARTISTS_SORT",yh="ARTIST_ALBUMS_SORT",vh="ARTIST_TRACKS_SORT",bh="ALBUMS_SORT",zh="SHOW_ONLY_NEXT_ITEMS",Qo="SHOW_BURGER_MENU",es="SHOW_PLAYER_MENU",yi="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-05 06:17:40 -05:00
**/function $l(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const lt={},jo=[],an=()=>{},Q1=()=>!1,vi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sd=e=>e.startsWith("onUpdate:"),zt=Object.assign,id=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ev=Object.prototype.hasOwnProperty,tt=(e,t)=>ev.call(e,t),be=Array.isArray,qo=e=>ds(e)==="[object Map]",zo=e=>ds(e)==="[object Set]",xm=e=>ds(e)==="[object Date]",tv=e=>ds(e)==="[object RegExp]",Pe=e=>typeof e=="function",wt=e=>typeof e=="string",jr=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",ad=e=>(ft(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),wh=Object.prototype.toString,ds=e=>wh.call(e),nv=e=>ds(e).slice(8,-1),Ch=e=>ds(e)==="[object Object]",ld=e=>wt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=$l(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},rv=/-(\w)/g,Xt=Tl(e=>e.replace(rv,(t,n)=>n?n.toUpperCase():"")),ov=/\B([A-Z])/g,_n=Tl(e=>e.replace(ov,"-$1").toLowerCase()),bi=Tl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hs=Tl(e=>e?`on${bi(e)}`:""),qn=(e,t)=>!Object.is(e,t),Wo=(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})},ni=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 Sm;const kh=()=>Sm||(Sm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),sv="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",iv=$l(sv);function Kr(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=wt(r)?uv(r):Kr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(wt(e)||ft(e))return e}const av=/;(?![^(]*\))/g,lv=/:([^]+)/,cv=/\/\*[^]*?\*\//g;function uv(e){const t={};return e.replace(cv,"").split(av).forEach(n=>{if(n){const r=n.split(lv);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 Is(e){if(!e)return null;let{class:t,style:n}=e;return t&&!wt(t)&&(e.class=Ee(t)),n&&(e.style=Kr(n)),e}const dv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mv=$l(dv);function xh(e){return!!e||e===""}function fv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=qr(e[r],t[r]);return n}function qr(e,t){if(e===t)return!0;let n=xm(e),r=xm(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?fv(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||!qr(e[i],t[i]))return!1}}return String(e)===String(t)}function Al(e,t){return e.findIndex(n=>qr(n,t))}const g=e=>wt(e)?e:e==null?"":be(e)||ft(e)&&(e.toString===wh||!Pe(e.toString))?JSON.stringify(e,Sh,2):String(e),Sh=(e,t)=>t&&t.__v_isRef?Sh(e,t.value):qo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[hc(r,s)+" =>"]=o,n),{})}:zo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hc(n))}:jr(t)?hc(t):ft(t)&&!be(t)&&!Ch(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-05 06:17:40 -05:00
**/let pn;class cd{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 ud(e){return new cd(e)}function Eh(e,t=pn){t&&t.active&&t.effects.push(e)}function $h(){return pn}function pv(e){pn&&pn.cleanups.push(e)}let co;class ts{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,Eh(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,wo();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(hv(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=co;try{return Ur=!0,co=this,this._runnings++,Em(this),this.fn()}finally{$m(this),this._runnings--,co=n,Ur=t}}stop(){var t;this.active&&(Em(this),$m(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function hv(e){return e.value}function Em(e){e._trackId++,e._depsLength=0}function $m(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Th(e.deps[t],e);e.deps.length=e._depsLength}}function Th(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function _v(e,t){e.effect instanceof ts&&(e=e.effect.fn);const n=new ts(e,an,()=>{n.dirty&&n.run()});t&&(zt(n,t),t.scope&&Eh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function gv(e){e.effect.stop()}let Ur=!0,ou=0;const Ah=[];function wo(){Ah.push(Ur),Ur=!1}function Co(){const e=Ah.pop();Ur=e===void 0?!0:e}function dd(){ou++}function md(){for(ou--;!ou&&su.length;)su.shift()()}function Oh(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Th(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const su=[];function Ph(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&&su.push(r.scheduler)))}md()}const Ih=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},tl=new WeakMap,uo=Symbol(""),iu=Symbol("");function cn(e,t,n){if(Ur&&co){let r=tl.get(e);r||tl.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Ih(()=>r.delete(n))),Oh(co,o)}}function hr(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"||!jr(m)&&m>=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(uo)),qo(e)&&a.push(i.get(iu)));break;case"delete":be(e)||(a.push(i.get(uo)),qo(e)&&a.push(i.get(iu)));break;case"set":qo(e)&&a.push(i.get(uo));break}dd();for(const l of a)l&&Ph(l,4);md()}function yv(e,t){var n;return(n=tl.get(e))==null?void 0:n.get(t)}const vv=$l("__proto__,__v_isRef,__isVue"),Rh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jr)),Tm=bv();function bv(){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-05 08:22:19 -05:00
**/function Yv(e,t){}const Jv={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"},Xv={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 _r(e,t,n,r){try{return r?e(...r):e()}catch(o){ko(o,t,n)}}function yn(e,t,n,r){if(Pe(e)){const s=_r(e,t,n,r);return s&&ad(s)&&s.catch(i=>{ko(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 ko(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){_r(l,null,10,[e,i,a]);return}}Qv(e,n,o,r)}function Qv(e,t,n,r=!0){console.error(e)}let si=!1,au=!1;const qt=[];let Qn=0;const Ko=[];let Pr=null,io=0;const Wh=Promise.resolve();let wd=null;function fs(e){const t=wd||Wh;return e?t.then(this?e.bind(this):e):t}function eb(e){let t=Qn+1,n=qt.length;for(;t<n;){const r=t+n>>>1,o=qt[r],s=ii(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Rl(e){(!qt.length||!qt.includes(e,si&&e.allowRecurse?Qn+1:Qn))&&(e.id==null?qt.push(e):qt.splice(eb(e.id),0,e),Gh())}function Gh(){!si&&!au&&(au=!0,wd=Wh.then(Kh))}function tb(e){const t=qt.indexOf(e);t>Qn&&qt.splice(t,1)}function nl(e){be(e)?Ko.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?io+1:io))&&Ko.push(e),Gh()}function Rm(e,t,n=si?Qn+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(Ko.length){const t=[...new Set(Ko)].sort((n,r)=>ii(n)-ii(r));if(Ko.length=0,Pr){Pr.push(...t);return}for(Pr=t,io=0;io<Pr.length;io++)Pr[io]();Pr=null,io=0}}const ii=e=>e.id==null?1/0:e.id,nb=(e,t)=>{const n=ii(e)-ii(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Kh(e){au=!1,si=!0,qt.sort(nb);try{for(Qn=0;Qn<qt.length;Qn++){const t=qt[Qn];t&&t.active!==!1&&_r(t,null,14)}}finally{Qn=0,qt.length=0,rl(),si=!1,wd=null,(qt.length||Ko.length)&&Kh()}}let Lo,Hi=[];function Zh(e,t){var n,r;Lo=e,Lo?(Lo.enabled=!0,Hi.forEach(({event:o,args:s})=>Lo.emit(o,...s)),Hi=[]):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=>{Zh(s,t)}),setTimeout(()=>{Lo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Hi=[])},3e3)):Hi=[]}function rb(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(ni))}let a,l=r[a=Hs(t)]||r[a=Hs(Xt(t))];!l&&s&&(l=r[a=Hs(_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 Yh(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-05 08:22:19 -05:00
**/const $z="http://www.w3.org/2000/svg",Tz="http://www.w3.org/1998/Math/MathML",Dr=typeof document<"u"?document:null,Km=Dr&&Dr.createElement("template"),Az={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($z,e):t==="mathml"?Dr.createElementNS(Tz,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{Km.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Km.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]}},xr="transition",zs="animation",rs=Symbol("_vtc"),Rt=(e,{slots:t})=>er(a_,B_(e),t);Rt.displayName="Transition";const q_={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},Oz=Rt.props=zt({},Td,q_),Qr=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zm=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function B_(e){const t={};for(const j in e)j in q_||(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=Pz(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:D=v}=t,P=(j,q,Q)=>{Or(j,q?m:a),Or(j,q?u:i),Q&&Q()},N=(j,q)=>{j._isLeaving=!1,Or(j,d),Or(j,p),Or(j,f),q&&q()},Z=j=>(q,Q)=>{const he=j?M:C,W=()=>P(q,j,Q);Qr(he,[q,W]),Ym(()=>{Or(q,j?l:s),mr(q,j?m:a),Zm(he)||Jm(q,r,_,W)})};return zt(t,{onBeforeEnter(j){Qr(w,[j]),mr(j,s),mr(j,i)},onBeforeAppear(j){Qr(x,[j]),mr(j,l),mr(j,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(j,q){j._isLeaving=!0;const Q=()=>N(j,q);mr(j,d),G_(),mr(j,f),Ym(()=>{j._isLeaving&&(Or(j,d),mr(j,p),Zm(z)||Jm(j,r,b,Q))}),Qr(z,[j,Q])},onEnterCancelled(j){P(j,!1),Qr(v,[j])},onAppearCancelled(j){P(j,!0),Qr(D,[j])},onLeaveCancelled(j){N(j),Qr(E,[j])}})}function Pz(e){if(e==null)return null;if(ft(e))return[wc(e.enter),wc(e.leave)];{const t=wc(e);return[t,t]}}function wc(e){return el(e)}function mr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[rs]||(e[rs]=new Set)).add(t)}function Or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[rs];n&&(n.delete(t),n.size||(e[rs]=void 0))}function Ym(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Iz=0;function Jm(e,t,n,r){const o=e._endId=++Iz,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=W_(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 W_(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${xr}Delay`),s=r(`${xr}Duration`),i=Xm(o,s),a=r(`${zs}Delay`),l=r(`${zs}Duration`),u=Xm(a,l);let m=null,d=0,f=0;t===xr?i>0&&(m=xr,d=i,f=s.length):t===zs?u>0&&(m=zs,d=u,f=l.length):(d=Math.max(i,u),m=d>0?i>u?xr:zs:null,f=m?m===xr?s.length:l.length:0);const p=m===xr&&/\b(transform|all)(,|$)/.test(r(`${xr}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-05 08:22:19 -05:00
**/const f0=()=>{},p0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:a_,BaseTransitionPropsValidators:Td,Comment:Gt,DeprecationTypes:Ez,EffectScope:cd,ErrorCodes:Jv,ErrorTypeStrings:bz,Fragment:Ce,KeepAlive:Cb,ReactiveEffect:ts,Static:po,Suspense:fb,Teleport:Zr,Text:Br,TrackOpTypes:Kv,Transition:Rt,TransitionGroup:t0,TriggerOpTypes:Zv,VueElement:jl,assertNumber:Yv,callWithAsyncErrorHandling:yn,callWithErrorHandling:_r,camelize:Xt,capitalize:bi,cloneVNode:sr,compatUtils:Sz,compile:f0,computed:Nt,createApp:ag,createBlock:ce,createCommentVNode:F,createElementBlock:A,createElementVNode:c,createHydrationRenderer:$_,createPropsRestProxy:Mb,createRenderer:E_,createSSRApp:d0,createSlots:ki,createStaticVNode:lz,createTextVNode:gt,createVNode:y,customRef:qh,defineAsyncComponent:zb,defineComponent:br,defineCustomElement:Y_,defineEmits:$b,defineExpose:Tb,defineModel:Pb,defineOptions:Ab,defineProps:Eb,defineSSRCustomElement:Jz,defineSlots:Ob,devtools:zz,effect:_v,effectScope:ud,getCurrentInstance:In,getCurrentScope:$h,getTransitionRawChildren:Nl,guardReactiveProps:L_,h:er,handleError:ko,hasInjectionContext:Gb,hydrate:ig,initCustomFormatter:gz,initDirectivesForSSR:m0,inject:jn,isMemoSame:U_,isProxy:_d,isReactive:mo,isReadonly:go,isRef:Ft,isRuntimeOnly:fz,isShallow:ri,isVNode:Wr,markRaw:gd,mergeDefaults:Lb,mergeModels:Nb,mergeProps:Vo,nextTick:fs,normalizeClass:Ee,normalizeProps:Is,normalizeStyle:Kr,onActivated:c_,onBeforeMount:m_,onBeforeUnmount:Vl,onBeforeUpdate:f_,onDeactivated:u_,onErrorCaptured:g_,onMounted:ps,onRenderTracked:__,onRenderTriggered:h_,onScopeDispose:pv,onServerPrefetch:p_,onUnmounted:Ci,onUpdated:Fl,openBlock:k,popScopeId:sb,provide:js,proxyRefs:zd,pushScopeId:ob,queuePostFlushCb:nl,reactive:ms,readonly:hd,ref:rr,registerRuntimeCompiler:mz,render:Cu,renderList:ct,renderSlot:st,resolveComponent:$,resolveDirective:xd,resolveDynamicComponent:Xh,resolveFilter:xz,resolveTransitionHooks:ns,setBlockTracking:hu,setDevtoolsHook:wz,setTransitionHooks:yo,shallowReactive:pd,shallowReadonly:Nv,shallowRef:bd,ssrContextKey:t_,ssrUtils:kz,stop:gv,toDisplayString:g,toHandlerKey:Hs,toHandlers:xb,toRaw:Ye,toRef:Gv,toRefs:qv,toValue:Hv,transformVNodeArgs:iz,triggerRef:Vv,unref:gn,useAttrs:Db,useCssModule:Qz,useCssVars:Lz,useModel:_z,useSSRContext:n_,useSlots:Rb,useTransitionState:$d,vModelCheckbox:An,vModelDynamic:tg,vModelRadio:Rd,vModelSelect:Dd,vModelText:un,vShow:ui,version:j_,warn:vz,watch:vn,watchEffect:r_,watchPostEffect:o_,watchSyncEffect:s_,withAsyncContext:Fb,withCtx:S,withDefaults:Ib,withDirectives:yt,withKeys:on,withMemo:yz,withModifiers:rt,withScopeId:ib},Symbol.toStringTag,{value:"Module"})),te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},h0={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(Qo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(es,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(Qo,!1),this.show_player_menu&&this.$store.commit(es,!1),this.$router.push(this.to)}}},_0=["href"];function g0(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,_0)}const ug=te(h0,[["render",g0]]),y0={name:"NavbarTop",components:{NavbarItemLink:ug},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_
2024-02-29 15:19:40 -05:00
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&ZC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},yf=Symbol("internals");function Cs(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 JC(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 XC=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 QC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ek(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 Zl{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const m=Cs(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())&&!XC(t)?i(YC(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 JC(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]=ja(o),delete n[s];return}const a=t?QC(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(`
2024-03-05 06:17:40 -05:00
`)}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[yf]=this[yf]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Cs(i);r[a]||(ek(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}Zl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Zl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(Zl);const gr=Zl;function Ec(e,t){const n=this||Vd,r=t||n,o=gr.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 Eg(e){return!!(e&&e.__CANCEL__)}function Ei(e,t,n){Je.call(this,e??"canceled",Je.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ei,Je,{__CANCEL__:!0});function tk(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 nk=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 rk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ok(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $g(e,t){return e&&!rk(t)?ok(e,t):t}const sk=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 ik(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ak(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 vf(e,t){let n=0;const r=ak(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 lk=typeof XMLHttpRequest<"u",ck=lk&&function(e){return new Promise(function(n,r){let o=e.data;const s=gr.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(tr.hasStandardBrowserEnv||tr.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=$g(e.baseURL,e.url);d.open(e.method.toUpperCase(),Cg(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const _=gr.from("getAllResponseHeaders"in d&&d.getAllResponseH
2024-02-29 15:19:40 -05:00
`+s.map(bf).join(`
2024-03-05 06:17:40 -05:00
`):" "+bf(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:Su};function $c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ei(null,e)}function zf(e){return $c(e),e.headers=gr.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),Tg.getAdapter(e.adapter||Vd.adapter)(e).then(function(r){return $c(e),r.data=Ec.call(e,e.transformResponse,r),r.headers=gr.from(r.headers),r},function(r){return Eg(r)||($c(e),r&&r.response&&(r.response.data=Ec.call(e,e.transformResponse,r.response),r.response.headers=gr.from(r.response.headers))),Promise.reject(r)})}const wf=e=>e instanceof gr?e.toJSON():e;function ss(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(wf(u),wf(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 Ag="1.6.7",Hd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Cf={};Hd.transitional=function(t,n,r){function o(s,i){return"[Axios v"+Ag+"] 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&&!Cf[i]&&(Cf[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 dk(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 Eu={assertOptions:dk,validators:Hd},Sr=Eu.validators;class ul{constructor(t){this.defaults=t,this.interceptors={request:new gf,response:new gf}}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=ss(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Eu.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}:Eu.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=gr.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=[zf.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=zf.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=ss(this.defaults,t);const n=$g(t.baseURL,t.url);return Cg(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){ul.prototype[t]=function(n,r){return this.request(ss(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(ss(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 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 Ei(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 mk=Ud;function fk(e){return function(n){return e.apply(null,n)}}function pk(e){return J.isObject(e)&&e.isAxiosError===!0}const $u={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($u).forEach(([e,t])=>{$u[t]=e});const hk=$u;function Og(e){const t=new qa(e),n=dg(qa.prototype.requ
* shared v9.10.1
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-05 06:17:40 -05:00
*/const dl=typeof window<"u",Yr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),_k=(e,t,n)=>gk({l:e,k:t,s:n}),gk=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Mt=e=>typeof e=="number"&&isFinite(e),yk=e=>Ig(e)==="[object Date]",ml=e=>Ig(e)==="[object RegExp]",Yl=e=>Xe(e)&&Object.keys(e).length===0,Kt=Object.assign;let kf;const jd=()=>kf||(kf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const vk=Object.prototype.hasOwnProperty;function fl(e,t){return vk.call(e,t)}const Lt=Array.isArray,$t=e=>typeof e=="function",ke=e=>typeof e=="string",Tt=e=>typeof e=="boolean",it=e=>e!==null&&typeof e=="object",bk=e=>it(e)&&$t(e.then)&&$t(e.catch),Pg=Object.prototype.toString,Ig=e=>Pg.call(e),Xe=e=>{if(!it(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},zk=e=>e==null?"":Lt(e)||Xe(e)&&e.toString===Pg?JSON.stringify(e,null,2):String(e);function wk(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function qd(e){let t=e;return()=>++t}function Ck(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ki=e=>!it(e)||Lt(e);function Ba(e,t){if(Ki(e)||Ki(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=>{Ki(r[s])||Ki(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
* message-compiler v9.10.1
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-02-29 15:19:40 -05:00
*/const kk=/\{([0-9a-zA-Z]+)\}/g;function xk(e,...t){return t.length===1&&Sk(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(kk,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Sk=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},Ek={[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 Rg(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=xk((o||Ek)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
2024-03-05 06:17:40 -05:00
* core-base v9.10.1
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-05 06:17:40 -05:00
*/function $k(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Jr=[];Jr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Jr[1]={w:[1],".":[2],"[":[4],o:[7]};Jr[2]={w:[2],i:[3,0],0:[3,0]};Jr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Jr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Jr[5]={"'":[4,0],o:8,l:[5,0]};Jr[6]={'"':[4,0],o:8,l:[6,0]};const Tk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ak(e){return Tk.test(e)}function Ok(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 Pk(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 Ik(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ak(t)?Ok(t):"*"+t}function Rk(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=Ik(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=Pk(s),d=Jr[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 Sf=new Map;function Dk(e,t){return it(e)?e[t]:null}function Lk(e,t){if(!it(e))return null;let n=Sf.get(t);if(n||(n=Rk(t),n&&Sf.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 Nk=e=>e,Mk=e=>"",Fk="text",Vk=e=>e.length===0?"":wk(e),Hk=zk;function Ef(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Uk(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 jk(e,t){t.count||(t.count=e),t.n||(t.n=e)}function qk(e={}){const t=e.locale,n=Uk(e),r=it(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:Ef,o=it(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?Ef:void 0,s=w=>w[r(n,w.length,o)],i=e.list||[],a=w=>i[w],l=e.named||{};Mt(e.pluralIndex)&&jk(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):Mk)}const d=w=>e.modifiers?e.modifiers[w]:Nk,f=Xe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:Vk,p=Xe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:Hk,h=Xe(e.processor)&&ke(e.processor.type)?e.processor.type:Fk,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),D=E==="vnode"&&Lt(M)&&x?M[0]:M;return x?d(x)(D,E):D},message:m,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return b}let mi=null;function Bk(e){mi=e}function Wk(e,t,n){mi&&mi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Gk=Kk("function:translate");function Kk(e){return t=>mi&&mi.emit(e,t)}const Zk={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},Dg=Vt.__EXTEND_POINT__,eo=qd(Dg),nr={INVALID_ARGUMENT:Dg,INVALID_DATE_ARGUMENT:eo(),INVALID_ISO_DATE_ARGUMENT:eo(),NOT_SUPPORT_NON_STRING_MESSAGE:eo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:eo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:eo(),NOT_SUPPORT_LOCALE_TYPE:eo(),__EXTEND_POINT__:eo()};function pr(e){return Rg(e,null,void 0)}function Bd(e,t){return t.locale!=null?$f(t.locale):$f(e.locale)}let Tc;function $f(e){if(ke(e))return e;if($t(e)){if(e.resolvedOnce&&Tc!=null)return Tc;if(e.constructor.name==="Function"){const t=e();if(bk(t))throw pr(nr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Tc=t}else throw pr(nr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw
* vue-i18n v9.10.1
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-05 08:22:19 -05:00
*/const bx="9.10.1";function zx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Wg=Zk.__EXTEND_POINT__,ur=qd(Wg);ur(),ur(),ur(),ur(),ur(),ur(),ur(),ur(),ur();const Gg=nr.__EXTEND_POINT__,en=qd(Gg),On={UNEXPECTED_RETURN_TYPE:Gg,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 Bn(e,...t){return Rg(e,null,void 0)}const Iu=Yr("__translateVNode"),Ru=Yr("__datetimeParts"),Du=Yr("__numberParts"),wx=Yr("__setPluralRules"),Cx=Yr("__injectWithOption"),Lu=Yr("__dispose");function fi(e){if(!it(e))return e;for(const t in e)if(fl(e,t))if(!t.includes("."))it(e[t])&&fi(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]])&&fi(o[n[r]])}return e}function Kg(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]||{},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)&&fi(i[a]);return i}function Zg(e){return e.type}function kx(e,t,n){let r=it(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Kg(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 Vf(e){return y(Br,null,e,0)}const Hf="__INTLIFY_META__",Uf=()=>[],xx=()=>!1;let jf=0;function qf(e){return(t,n,r,o)=>e(n,r,In()||void 0,o)}const Sx=()=>{const e=In();let t=null;return e&&(t=Zg(e)[Hf])?{[Hf]:t}:null};function Yg(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=dl?rr:bd,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)||Lt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),d=i(Kg(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)?qf(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 D=e.pluralRules||n&&n.pluralRules,P;P=(()=>{o&&Pf(null);const L={version:bx,locale:u.value,fallbackLocale:m.value,messages:d.value,modifiers:M,pluralRules:D,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"}};L.datetimeFormats=f.value,L.numberFormats=p.value,L.__datetimeFormatters=Xe(P)?P.__datetimeFormatters:void 0,L.__numberFormatters=Xe(P)?P.__numberFormatters:void 0;const G=ax(L);return o&&Pf(G),G})(),ks(P,u.value,m.value);function Z(){return[u.value,m.value,d.value,f.value,p.value]}const j=Nt({get:()=>u.value,set:L=>{u.value=L,P.locale=u.value}}),q=Nt({get:()=>m.value,set:L=>{m.value=L,P.fallbackLocale=m.value,ks(P,u.value,L)}}),Q=Nt(()=>d.value),he=Nt(()=>f
2024-02-28 10:11:13 -05:00
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2024-03-05 08:22:19 -05:00
*/var Gx="store";function _s(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Kx(e){return e!==null&&typeof e=="object"}function Zx(e){return e&&typeof e.then=="function"}function Yx(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 ey(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;Ql(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(){_s(s,function(u,m){i[m]=Yx(u,e),a[m]=Nt(function(){return i[m]()}),Object.defineProperty(e.getters,m,{get:function(){return a[m].value},enumerable:!0})})}),e._state=ms({data:t}),e._scope=l,e.strict&&tS(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function Ql(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=Jx(e,i,n);r.forEachMutation(function(m,d){var f=i+d;Xx(e,f,m,u)}),r.forEachAction(function(m,d){var f=m.root?d:i+d,p=m.handler||m;Qx(e,f,p,u)}),r.forEachGetter(function(m,d){var f=i+d;eS(e,f,m,u)}),r.forEachChild(function(m,d){Ql(e,t,n.concat(d),m,o)})}function Jx(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 ty(e,t)}},state:{get:function(){return Yd(e.state,n)}}}),o}function ty(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 Xx(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function Qx(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 Zx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function eS(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function tS(e){vn(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 hl(e,t,n){return Kx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var nS="vuex bindings",Jf="vuex:mutations",Oc="vuex:actions",To="vuex",rS=0;function oS(e,t){vx({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:[nS]},function(n){n.addTimelineLayer({id:Jf,label:"Vuex Mutations",color:Xf}),n.addTimelineLayer({id:Oc,label:"Vuex Actions",color:Xf}),n.addInspector({id:To,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===To)if(r.filter){var o=[];sy(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[oy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===To){var o=r.nodeId;ty(t,o),r.state=aS(cS(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===To){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-13 12:33:11 -04:00
*/const Mo=typeof document<"u";function zA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const at=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 Zs=()=>{},Gn=Array.isArray,_1=/#/g,wA=/&/g,CA=/\//g,kA=/=/g,xA=/\?/g,g1=/\+/g,SA=/%5B/g,EA=/%5D/g,y1=/%5E/g,$A=/%60/g,v1=/%7B/g,TA=/%7C/g,b1=/%7D/g,AA=/%20/g;function am(e){return encodeURI(""+e).replace(TA,"|").replace(SA,"[").replace(EA,"]")}function OA(e){return am(e).replace(v1,"{").replace(b1,"}").replace(y1,"^")}function Bu(e){return am(e).replace(g1,"%2B").replace(AA,"+").replace(_1,"%23").replace(wA,"%26").replace($A,"`").replace(v1,"{").replace(b1,"}").replace(y1,"^")}function PA(e){return Bu(e).replace(kA,"%3D")}function IA(e){return am(e).replace(_1,"%23").replace(xA,"%3F")}function RA(e){return e==null?"":IA(e).replace(CA,"%2F")}function hi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const DA=/\/$/,LA=e=>e.replace(DA,"");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=VA(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:hi(i)}}function NA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Op(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function MA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ls(t.matched[r],n.matched[o])&&z1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ls(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function z1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!FA(e[n],t[n]))return!1;return!0}function FA(e,t){return Gn(e)?Pp(e,t):Gn(t)?Pp(t,e):e===t}function Pp(e,t){return Gn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function VA(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 _i;(function(e){e.pop="pop",e.push="push"})(_i||(_i={}));var Ys;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ys||(Ys={}));function HA(e){if(!e)if(Mo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),LA(e)}const UA=/^[^#]+#/;function jA(e,t){return e.replace(UA,"#")+t}function qA(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 ic=()=>({left:window.scrollX,top:window.scrollY});function BA(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=qA(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 Ip(e,t){return(history.state?history.state.position-t:-1)+e}const Wu=new Map;function WA(e,t){Wu.set(e,t)}function GA(e){const t=Wu.get(e);return Wu.delete(e),t}let KA=()=>location.protocol+"//"+location.host;function w1(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),Op(l,"")}return Op(n,e)+r+o}function ZA(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=w1(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:_i.pop,direction:b?b>0?Ys.forward:Ys.back:Ys.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-02 03:54:16 -05:00
font-size="${e.size/3}" fill="${F8(t)>.5?"#000000":"#FFFFFF"}">
2024-02-29 15:19:40 -05:00
${e.caption}
</text>
2024-03-13 13:17:41 -04:00
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},H8={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 V8({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function U8(e,t,n,r,o,s){const i=xd("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(H8,[["render",U8]]);var $1={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"})}}},zF=["textContent"],wF={key:1};function CF(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:Kr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,zF)]))),128))],2)):(k(),A("div",wF,g(i.text),1))],64))),128))],544)}const kF=te(bF,[["render",CF],["__scopeId","data-v-32f71750"]]),xF={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"),V.player_play({item_id:this.item.id})},remove(){this.$emit("close"),V.queue_remove(this.item.id)}}},SF={key:0,class:"modal is-active"},EF={class:"modal-content"},$F={class:"card"},TF={class:"card-content"},AF=["textContent"],OF=["textContent"],PF={class:"content is-small"},IF={key:0},RF=["textContent"],DF=["textContent"],LF={key:1},NF=["textContent"],MF=["textContent"],FF={key:2},VF=["textContent"],HF=["textContent"],UF={key:3},jF=["textContent"],qF=["textContent"],BF={key:4},WF=["textContent"],GF=["textContent"],KF={key:5},ZF=["textContent"],YF=["textContent"],JF={key:6},XF=["textContent"],QF=["textContent"],eV=["textContent"],tV=["textContent"],nV=["textContent"],rV={class:"title is-6"},oV=["textContent"],sV={key:7},iV=["textContent"],aV={class:"title is-6"},lV=["textContent"],cV=["textContent"],u
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2024-03-02 03:54:16 -05:00
*/function Gp(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?Gp(Object(n),!0).forEach(function(r){OH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function 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 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 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 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 RH(e){return DH(e)||LH(e)||NH(e)||MH()}function DH(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.
2024-03-05 08:22:19 -05:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var FH="1.14.0";function yr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var wr=yr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ii=yr(/Edge/i),Kp=yr(/firefox/i),Js=yr(/safari/i)&&!yr(/chrome/i)&&!yr(/android/i),L1=yr(/iP(ad|od|hone)/i),VH=yr(/chrome/i)&&yr(/android/i),N1={capture:!1,passive:!1};function Ge(e,t,n){e.addEventListener(t,n,!wr&&N1)}function Be(e,t,n){e.removeEventListener(t,n,!wr&&N1)}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 Zp=/\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(Zp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Zp," ")}}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 _o(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 M1(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 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!==or()?(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,!wr))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=_o(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 Yp(e,t,n){for(var r=Hr(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===or())break;r=Hr(r,!1)}return!1}function us(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 zm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||we(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=_o(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=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 or();if(r||t)return n;r=!0}}while
`)&&(P="(?: "+P+")",Z=" "+Z,N++),z=new RegExp("^(?:"+P+")",D)),h&&(z=new RegExp("^"+P+"$(?!\\s)",D)),f&&(v=C.lastIndex),E=u.call(M?z:C,Z),M?E?(E.input=E.input.slice(N),E[0]=E[0].slice(N),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 N=P[C];return N!==void 0?!!N:u(P)},D=!E||!x;a({target:"Array",proto:!0,forced:D},{concat:function(N){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,D){var P=d(this),N=m(P.length),Z=l(M,N),j=arguments.length,q,Q,he,W,re,se;if(j===0?q=Q=0:j===1?(q=0,Q=N-Z):(q=j-2,Q=v(C(u(D),0),N-Z)),N+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<N-Q;W++)re=W+Q,se=W+q,re in P?P[se]=P[re]:delete P[se];for(W=N;W>N-Q+q;W--)delete P[W-1]}else if(q>Q)for(W=N-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=N-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"),D=i("df75"),P=i("241c"),N=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(
2024-03-05 06:17:40 -05:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(I,R){return p(I)||h(I,R)||b(I,R)||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.
2024-03-13 13:17:41 -04:00
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"),D=i.n(M);function P(I){I.parentElement!==null&&I.parentElement.removeChild(I)}function N(I,R,U){var X=U===0?I.children[0]:I.children[U-1].nextSibling;I.insertBefore(R,X)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function j(I){var R=Object.create(null);return function(X){var ve=R[X];return ve||(R[X]=I(X))}}var q=/-(\w)/g,Q=j(function(I){return I.replace(q,function(R,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(R,U){var X=C(U,2),ve=X[0],$e=X[1];return R[ve]=$e,R},{})}function Me(I){var R=I.$attrs,U=I.componentData,X=U===void 0?{}:U,ve=ht(Object.entries(R).filter(function($e){var De=C($e,2),Re=De[0];return De[1],pt(Re)}));return f(f({},ve),X)}function B(I){var R=I.$attrs,U=I.callBackBuilder,X=ht(ue(R));Object.entries(U).forEach(function($e){var De=C($e,2),Re=De[0],nt=De[1];qe[Re].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(R){var U=C(R,2),X=U[0];return U[1],!pt(X)}).map(function(R){var U=C(R,2),X=U[0],ve=U[1];return[Q(X),ve]}).filter(function(R){var U=C(R,2),X=U[0];return U[1],!ut(X)})}i("c740");function ie(I,R){if(!(I instanceof R))throw new TypeError("Cannot call a class as a function")}function ge(I,R){for(var U=0;U<R.length;U++){var X=R[U];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(I,X.key,X)}}function Ue(I,R,U){return R&&ge(I.prototype,R),U&&ge(I,U),I}var Ke=function(R){var U=R.el;return U},T=function(R,U){return R.__draggable_context=U},O=function(R){return R.__draggable_context},H=function(){function I(R){var U=R.nodes,X=U.header,ve=U.default,$e=U.footer,De=R.root,Re=R.realList;ie(this,I),this.defaultNodes=ve,this.children=[].concat(x(X),x(ve),x($e)),this.externalComponent=De.externalComponent,this.rootTransition=De.transition,this.tag=De.tag,this.realList=Re}return Ue(I,[{key:"render",value:function(U,X){var ve=this.tag,$e=this.children,De=this._isRootComponent,Re=De?{default:function(){return $e}}:$e;return U(ve,X,Re)}},{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,De=X.children,Re=De.item(U);if(Re===null)return $e;var nt=O(Re);if(nt)return nt.index;if($e===0)return 0;var Ae=Ke(ve[0]),Se=x(De).findIndex(function(Te){ret