owntone-server/htdocs/assets/index.js

40 lines
827 KiB
JavaScript
Raw Normal View History

2023-11-21 09:31:01 -05:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const Mh="UPDATE_CONFIG",Vh="UPDATE_SETTINGS",Tl="UPDATE_SETTINGS_OPTION",Hh="UPDATE_LIBRARY_STATS",Bh="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",Uh="UPDATE_LIBRARY_PODCASTS_COUNT",jh="UPDATE_LIBRARY_RSS_COUNT",qh="UPDATE_OUTPUTS",md="UPDATE_PLAYER_STATUS",Wh="UPDATE_QUEUE",Kh="UPDATE_LYRICS",Gh="UPDATE_LASTFM",Zh="UPDATE_SPOTIFY",Yh="UPDATE_PAIRING",fd="SPOTIFY_NEW_RELEASES",pd="SPOTIFY_FEATURED_PLAYLISTS",Vm="ADD_NOTIFICATION",ic="DELETE_NOTIFICATION",lc="SEARCH_SOURCE",hd="ADD_RECENT_SEARCH",Jh="COMPOSER_TRACKS_SORT",Xh="GENRE_TRACKS_SORT",Ol="HIDE_SINGLES",_d="HIDE_SPOTIFY",Qh="ARTISTS_SORT",e_="ARTIST_ALBUMS_SORT",t_="ARTIST_TRACKS_SORT",n_="ALBUMS_SORT",r_="SHOW_ONLY_NEXT_ITEMS",Js="SHOW_BURGER_MENU",Xs="SHOW_PLAYER_MENU",wa="SHOW_UPDATE_DIALOG",gd="UPDATE_DIALOG_SCAN_KIND";function Dl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const mt={},js=[],rr=()=>{},mb=()=>!1,fb=/^on[^a-z]/,ka=e=>fb.test(e),yd=e=>e.startsWith("onUpdate:"),zt=Object.assign,vd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pb=Object.prototype.hasOwnProperty,tt=(e,t)=>pb.call(e,t),be=Array.isArray,qs=e=>mo(e)==="[object Map]",zs=e=>mo(e)==="[object Set]",Hm=e=>mo(e)==="[object Date]",hb=e=>mo(e)==="[object RegExp]",De=e=>typeof e=="function",Ct=e=>typeof e=="string",Qs=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",bd=e=>(ft(e)||De(e))&&De(e.then)&&De(e.catch),s_=Object.prototype.toString,mo=e=>s_.call(e),_b=e=>mo(e).slice(8,-1),o_=e=>mo(e)==="[object Object]",zd=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jo=Dl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gb=/-(\w)/g,dn=Pl(e=>e.replace(gb,(t,n)=>n?n.toUpperCase():"")),yb=/\B([A-Z])/g,Sn=Pl(e=>e.replace(yb,"-$1").toLowerCase()),xa=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),qo=Pl(e=>e?`on${xa(e)}`:""),jr=(e,t)=>!Object.is(e,t),Ws=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},sl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ol=e=>{const t=parseFloat(e);return isNaN(t)?e:t},al=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let Bm;const uc=()=>Bm||(Bm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),vb="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",bb=Dl(vb);function lr(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ct(r)?kb(r):lr(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ct(e)||ft(e))return e}const zb=/;(?![^(]*\))/g,Cb=/:([^]+)/,wb=/\/\*[^]*?\*\//g;function kb(e){const t={};return e.replace(wb,"").split(zb).forEach(n=>{if(n){const r=n.split(Cb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ee(e){let t="";if(Ct(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 Fo(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=Ee(t)),n&&(e.style=lr(n)),e}const xb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Eb=Dl(xb);function
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||t[n]&&tx[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},If=Symbol("internals");function Eo(e){return e&&String(e).trim().toLowerCase()}function Zi(e){return e===!1||e==null?e:J.isArray(e)?e.map(Zi):String(e)}function rx(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 sx=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $u(e,t,n,r,s){if(J.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function ox(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ax(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,a){return this[r].call(this,t,s,o,a)},configurable:!0})})}class eu{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(i,l,c){const m=Eo(l);if(!m)throw new Error("header name must be a non-empty string");const d=J.findKey(s,m);(!d||s[d]===void 0||c===!0||c===void 0&&s[d]!==!1)&&(s[d||l]=Zi(i))}const a=(i,l)=>J.forEach(i,(c,m)=>o(c,m,l));return J.isPlainObject(t)||t instanceof this.constructor?a(t,n):J.isString(t)&&(t=t.trim())&&!sx(t)?a(nx(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Eo(t),t){const r=J.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return rx(s);if(J.isFunction(n))return n.call(this,s,r);if(J.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Eo(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$u(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(a){if(a=Eo(a),a){const i=J.findKey(r,a);i&&(!n||$u(r,r[i],i,n))&&(delete r[i],s=!0)}}return J.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||$u(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return J.forEach(this,(s,o)=>{const a=J.findKey(r,o);if(a){n[a]=Zi(s),delete n[o];return}const i=t?ox(o):String(o).trim();i!==o&&delete n[o],n[i]=Zi(s),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=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(s=>r.set(s)),r}static accessor(t){const r=(this[If]=this[If]={accessors:{}}).accessors,s=this.prototype;function o(a){const i=Eo(a);r[i]||(ax(s,a),r[i]=!0)}return J.isArray(t)?t.forEach(o):o(t),this}}eu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(eu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(eu);const yr=eu;function Au(e,t){const n=this||Qd,r=t||n,s=yr.from(r.headers);let o=r.data;return J.forEach(e,function(i){o=i.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function ry(e){return!!(e&&e.__CANCEL__)}function Da(e,t,n){Je.call(this,e??"canceled",Je.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Da,Je,{__CANCEL__:!0});function ix(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 lx=nr.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const a=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),J.isString(r)&&a.push("path="+r),J.isString(s)&&a.push("domain="+s),o===!0&&a.push("secure"),document.cookie=a.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 ux(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cx(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function sy(e,t){return e&&!ux(t)?cx(e,t):t}const dx=nr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(a){const i=J.isString(a)?s(a):a;return i.protocol===r.protocol&&i.host===r.host}}():function(){return function(){return!0}}();function mx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fx(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),m=r[o];a||(a=c),n[s]=l,r[s]=c;let d=o,f=0;for(;d!==s;)f+=n[d++],d=d%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-a<t)return;const p=m&&c-m;return p?Math.round(f*1e3/p):void 0}}function Ff(e,t){let n=0;const r=fx(50,250);return s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,i=o-n,l=r(i),c=o<=a;n=o;const m={loaded:o,total:a,progress:a?o/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:s};m[t?"download":"upload"]=!0,e(m)}}const px=typeof XMLHttpRequest<"u",hx=px&&function(e){return new Promise(function(n,r){let s=e.data;const o=yr.from(e.headers).normalize();let{responseType:a,withXSRFToken:i}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let m;if(J.isFormData(s)){if(nr.hasStandardBrowserEnv||nr.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((m=o.getContentType())!==!1){const[_,...b]=m?m.split(";").map(w=>w.trim()).filter(Boolean):[];o.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)):"";o.set("Authorization","Basic "+btoa(_+":"+b))}const f=sy(e.baseURL,e.url);d.open(e.method.toUpperCase(),Qg(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const _=yr.from("getAllResponseHeaders"in d&&d.getAllResponseHea
2023-11-21 05:08:34 -05:00
`+o.map(Rf).join(`
2023-11-21 09:31:01 -05:00
`):" "+Rf(o[0]):"as no adapter specified";throw new Je("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Tc};function Tu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Da(null,e)}function Lf(e){return Tu(e),e.headers=yr.from(e.headers),e.data=Au.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),oy.getAdapter(e.adapter||Qd.adapter)(e).then(function(r){return Tu(e),r.data=Au.call(e,e.transformResponse,r),r.headers=yr.from(r.headers),r},function(r){return ry(r)||(Tu(e),r&&r.response&&(r.response.data=Au.call(e,e.transformResponse,r.response),r.response.headers=yr.from(r.response.headers))),Promise.reject(r)})}const Nf=e=>e instanceof yr?e.toJSON():e;function oo(e,t){t=t||{};const n={};function r(c,m,d){return J.isPlainObject(c)&&J.isPlainObject(m)?J.merge.call({caseless:d},c,m):J.isPlainObject(m)?J.merge({},m):J.isArray(m)?m.slice():m}function s(c,m,d){if(J.isUndefined(m)){if(!J.isUndefined(c))return r(void 0,c,d)}else return r(c,m,d)}function o(c,m){if(!J.isUndefined(m))return r(void 0,m)}function a(c,m){if(J.isUndefined(m)){if(!J.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function i(c,m,d){if(d in t)return r(c,m);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:i,headers:(c,m)=>s(Nf(c),Nf(m),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(m){const d=l[m]||s,f=d(e[m],t[m],m);J.isUndefined(f)&&d!==i||(n[m]=f)}),n}const ay="1.6.2",em={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{em[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Mf={};em.transitional=function(t,n,r){function s(o,a){return"[Axios v"+ay+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,i)=>{if(t===!1)throw new Je(s(a," has been removed"+(n?" in "+n:"")),Je.ERR_DEPRECATED);return n&&!Mf[a]&&(Mf[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,i):!0}};function gx(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 s=r.length;for(;s-- >0;){const o=r[s],a=t[o];if(a){const i=e[o],l=i===void 0||a(i,o,e);if(l!==!0)throw new Je("option "+o+" must be "+l,Je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Je("Unknown option "+o,Je.ERR_BAD_OPTION)}}const Oc={assertOptions:gx,validators:em},Sr=Oc.validators;class pl{constructor(t){this.defaults=t,this.interceptors={request:new Pf,response:new Pf}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=oo(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Oc.assertOptions(r,{silentJSONParsing:Sr.transitional(Sr.boolean),forcedJSONParsing:Sr.transitional(Sr.boolean),clarifyTimeoutError:Sr.transitional(Sr.boolean)},!1),s!=null&&(J.isFunction(s)?n.paramsSerializer={serialize:s}:Oc.assertOptions(s,{encode:Sr.function,serialize:Sr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&J.merge(o.common,o[n.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=yr.concat(a,o);const i=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,i.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let m,d=0,f;if(!l){const h=[Lf.bind(this),void 0];for(h.unshift.apply(h,i),h.push.apply(h,c),f=h.length,m=Promise.resolve(n);d<f;)m=m.then(h[d++],h[d++]);return m}f=i.length;let p=n;for(d=0;d<f;
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
2023-11-21 09:31:01 -05:00
*/var Tx="store";function yo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Ox(e){return e!==null&&typeof e=="object"}function Dx(e){return e&&typeof e.then=="function"}function Px(e,t){return function(){return e(t)}}function uy(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 cy(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;tu(e,n,[],e._modules.root,!0),nm(e,n,t)}function nm(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,a={},i={},l=wd(!0);l.run(function(){yo(o,function(c,m){a[m]=Px(c,e),i[m]=Nt(function(){return a[m]()}),Object.defineProperty(e.getters,m,{get:function(){return i[m].value},enumerable:!0})})}),e._state=ho({data:t}),e._scope=l,e.strict&&Nx(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function tu(e,t,n,r,s){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!s){var i=rm(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){i[l]=r.state})}var c=r.context=Ix(e,a,n);r.forEachMutation(function(m,d){var f=a+d;Fx(e,f,m,c)}),r.forEachAction(function(m,d){var f=m.root?d:a+d,p=m.handler||m;Rx(e,f,p,c)}),r.forEachGetter(function(m,d){var f=a+d;Lx(e,f,m,c)}),r.forEachChild(function(m,d){tu(e,t,n.concat(d),m,s)})}function Ix(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,a,i){var l=hl(o,a,i),c=l.payload,m=l.options,d=l.type;return(!m||!m.root)&&(d=t+d),e.dispatch(d,c)},commit:r?e.commit:function(o,a,i){var l=hl(o,a,i),c=l.payload,m=l.options,d=l.type;(!m||!m.root)&&(d=t+d),e.commit(d,c,m)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return dy(e,t)}},state:{get:function(){return rm(e.state,n)}}}),s}function dy(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Fx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(a){n.call(e,r.state,a)})}function Rx(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(a){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},a);return Dx(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):i})}function Lx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Nx(e){en(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function rm(e,t){return t.reduce(function(n,r){return n[r]},e)}function hl(e,t,n){return Ox(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Mx="vuex bindings",Vf="vuex:mutations",Ou="vuex:actions",$s="vuex",Vx=0;function Hx(e,t){Ax({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:[Mx]},function(n){n.addTimelineLayer({id:Vf,label:"Vuex Mutations",color:Hf}),n.addTimelineLayer({id:Ou,label:"Vuex Actions",color:Hf}),n.addInspector({id:$s,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===$s)if(r.filter){var s=[];hy(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[py(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===$s){var s=r.nodeId;dy(t,s),r.state=jx(Wx(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===$s){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._st
2023-11-21 05:08:34 -05:00
`);const a=/(\[(\d+):(\d+)(?:\.\d+)?\] ?)?(.*)/;return o.forEach(i=>{let l=a.exec(i);if(l!==null&&l[4].length){let c=[l[4]];l[2]!=null&&l[3]!=null&&c.push(parseInt(l[2],10)*60+parseInt(l[3],10)),s.push(c)}}),s}e.lyrics.lyrics="lyrics"in t?n(t.lyrics):"",e.lyrics.found||(e.lyrics.found=e.lyrics.lyrics.length>0)},[Gh](e,t){e.lastfm=t},[Zh](e,t){e.spotify=t},[Yh](e,t){e.pairing=t},[fd](e,t){e.spotify_new_releases=t},[pd](e,t){e.spotify_featured_playlists=t},[Vm](e,t){if(t.topic){const n=e.notifications.list.findIndex(r=>r.topic===t.topic);if(n>=0){e.notifications.list.splice(n,1,t);return}}e.notifications.list.push(t)},[ic](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[lc](e,t){e.search_source=t},[hd](e,t){const n=e.recent_searches.findIndex(r=>r===t);n>=0&&e.recent_searches.splice(n,1),e.recent_searches.splice(0,0,t),e.recent_searches.length>5&&e.recent_searches.pop()},[Jh](e,t){e.composer_tracks_sort=t},[Xh](e,t){e.genre_tracks_sort=t},[Ol](e,t){e.hide_singles=t},[_d](e,t){e.hide_spotify=t},[Qh](e,t){e.artists_sort=t},[e_](e,t){e.artist_albums_sort=t},[t_](e,t){e.artist_tracks_sort=t},[n_](e,t){e.albums_sort=t},[r_](e,t){e.show_only_next_items=t},[Js](e,t){e.show_burger_menu=t},[Xs](e,t){e.show_player_menu=t},[wa](e,t){e.show_update_dialog=t},[gd](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,type:n.type,text:n.text,topic:n.topic,timeout:n.timeout};e(Vm,r),n.timeout>0&&setTimeout(()=>{e(ic,r)},n.timeout)}}});/*!
* shared v9.7.0
* (c) 2023 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2023-11-21 09:31:01 -05:00
*/const Fc=typeof window<"u",Xr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Gx=(e,t,n)=>Zx({l:e,k:t,s:n}),Zx=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Mt=e=>typeof e=="number"&&isFinite(e),Yx=e=>vy(e)==="[object Date]",_l=e=>vy(e)==="[object RegExp]",nu=e=>Xe(e)&&Object.keys(e).length===0,Zt=Object.assign;let Bf;const om=()=>Bf||(Bf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Uf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Jx=Object.prototype.hasOwnProperty;function ga(e,t){return Jx.call(e,t)}const Lt=Array.isArray,Rt=e=>typeof e=="function",ke=e=>typeof e=="string",$t=e=>typeof e=="boolean",ut=e=>e!==null&&typeof e=="object",yy=Object.prototype.toString,vy=e=>yy.call(e),Xe=e=>{if(!ut(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Xx=e=>e==null?"":Lt(e)||Xe(e)&&e.toString===yy?JSON.stringify(e,null,2):String(e);function Qx(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function am(e){let t=e;return()=>++t}function e2(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ei=e=>!ut(e)||Lt(e);function Jo(e,t){if(ei(e)||ei(t))throw new Error("Invalid value");for(const n in e)ga(e,n)&&(ei(e[n])||ei(t[n])?t[n]=e[n]:Jo(e[n],t[n]))}/*!
2023-11-21 05:08:34 -05:00
* message-compiler v9.7.0
* (c) 2023 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2023-11-21 09:31:01 -05:00
*/const t2=/\{([0-9a-zA-Z]+)\}/g;function n2(e,...t){return t.length===1&&r2(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(t2,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const r2=e=>e!==null&&typeof e=="object",Ht={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},s2={[Ht.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ht.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ht.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ht.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ht.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ht.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ht.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ht.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ht.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ht.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ht.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ht.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ht.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ht.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ht.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function by(e,t,n={}){const{domain:r,messages:s,args:o}=n,a=n2((s||s2)[e]||"",...o||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=r,i}/*!
2023-11-21 05:08:34 -05:00
* core-base v9.7.0
* (c) 2023 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2023-11-21 09:31:01 -05:00
*/function o2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(om().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qr=[];Qr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Qr[1]={w:[1],".":[2],"[":[4],o:[7]};Qr[2]={w:[2],i:[3,0],0:[3,0]};Qr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Qr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Qr[5]={"'":[4,0],o:8,l:[5,0]};Qr[6]={'"':[4,0],o:8,l:[6,0]};const a2=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function i2(e){return a2.test(e)}function l2(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 u2(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 c2(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:i2(t)?l2(t):"*"+t}function d2(e){const t=[];let n=-1,r=0,s=0,o,a,i,l,c,m,d;const f=[];f[0]=()=>{a===void 0?a=i:a+=i},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),s++},f[3]=()=>{if(s>0)s--,r=4,f[0]();else{if(s=0,a===void 0||(a=c2(a),a===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,i="\\"+h,f[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=u2(o),d=Qr[r],c=d[l]||d.l||8,c===8||(r=c[0],c[1]!==void 0&&(m=f[c[1]],m&&(i=o,m()===!1))))return;if(r===7)return t}}const jf=new Map;function m2(e,t){return ut(e)?e[t]:null}function f2(e,t){if(!ut(e))return null;let n=jf.get(t);if(n||(n=d2(t),n&&jf.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const a=s[n[o]];if(a===void 0||Rt(s))return null;s=a,o++}return s}const p2=e=>e,h2=e=>"",_2="text",g2=e=>e.length===0?"":Qx(e),y2=Xx;function qf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function v2(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 b2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function z2(e={}){const t=e.locale,n=v2(e),r=ut(e.pluralRules)&&ke(t)&&Rt(e.pluralRules[t])?e.pluralRules[t]:qf,s=ut(e.pluralRules)&&ke(t)&&Rt(e.pluralRules[t])?qf:void 0,o=w=>w[r(n,w.length,s)],a=e.list||[],i=w=>a[w],l=e.named||{};Mt(e.pluralIndex)&&b2(n,l);const c=w=>l[w];function m(w){const C=Rt(e.messages)?e.messages(w):ut(e.messages)?e.messages[w]:!1;return C||(e.parent?e.parent.message(w):h2)}const d=w=>e.modifiers?e.modifiers[w]:p2,f=Xe(e.processor)&&Rt(e.processor.normalize)?e.processor.normalize:g2,p=Xe(e.processor)&&Rt(e.processor.interpolate)?e.processor.interpolate:y2,h=Xe(e.processor)&&ke(e.processor.type)?e.processor.type:_2,b={list:i,named:c,plural:o,linked:(w,...C)=>{const[z,v]=C;let S="text",A="";C.length===1?ut(z)?(A=z.modifier||A,S=z.type||S):ke(z)&&(A=z||A):C.length===2&&(ke(z)&&(A=z||A),ke(v)&&(S=v||S));const D=m(w)(b),R=S==="vnode"&&Lt(D)&&A?D[0]:D;return A?d(A)(R,S):R},message:m,type:h,interpolate:p,normalize:f,values:Zt({},a,l)};return b}let ya=null;function C2(e){ya=e}function w2(e,t,n){ya&&ya.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const k2=x2("function:translate");function x2(e){return t=>ya&&ya.emit(e,t)}const E2={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};function im(e,t){return t.locale!=null?Wf(t.locale):Wf(e.locale)}let Du;function Wf(e){return ke(e)?e:Du!=null&&e.resolvedOnce?Du:Du=e()}function S2(e,t,n){return[...new Set([n,...Lt(t)?t:ut(t)?Object.keys(t):ke(t)?[t]:[n]])]}function zy(e,t,n){const r=ke(n)?n:gl,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;Lt(a);)a=Kf(o,a,t);const i=Lt(t)||!Xe(t)?t:t.default?t.default:null;a=ke(i)?[i]:i,Lt(a)&&Kf(o,a,!1),s.__localeChainCache.set(r,o)}return o}function Kf(e,t,n){let r=!0;for(let s=0;s<t.length&&$t(r);s++){const o=t[s];ke(o)&&(r=$2(e,t[s],n))}return r}function $2(e,t,n){l
2023-11-21 05:08:34 -05:00
* vue-i18n v9.7.0
* (c) 2023 kazuya kawaguchi
2022-05-20 07:44:22 -04:00
* Released under the MIT License.
2023-11-21 09:31:01 -05:00
*/const U2="9.7.0";function j2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(om().__INTLIFY_PROD_DEVTOOLS__=!1)}const Oy=E2.__EXTEND_POINT__,$r=am(Oy);$r(),$r(),$r(),$r(),$r(),$r(),$r(),$r();const Dy=cs.__EXTEND_POINT__,nn=am(Dy),Dn={UNEXPECTED_RETURN_TYPE:Dy,INVALID_ARGUMENT:nn(),MUST_BE_CALL_SETUP_TOP:nn(),NOT_INSTALLED:nn(),NOT_AVAILABLE_IN_LEGACY_MODE:nn(),REQUIRED_VALUE:nn(),INVALID_VALUE:nn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nn(),NOT_INSTALLED_WITH_PROVIDE:nn(),UNEXPECTED_ERROR:nn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nn(),BRIDGE_SUPPORT_VUE_2_ONLY:nn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nn(),__EXTEND_POINT__:nn()};function Wn(e,...t){return by(e,null,void 0)}const Mc=Xr("__translateVNode"),Vc=Xr("__datetimeParts"),Hc=Xr("__numberParts"),q2=Xr("__setPluralRules"),W2=Xr("__injectWithOption"),Bc=Xr("__dispose");function va(e){if(!ut(e))return e;for(const t in e)if(ga(e,t))if(!t.includes("."))ut(e[t])&&va(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let a=0;a<r;a++){if(n[a]in s||(s[n[a]]={}),!ut(s[n[a]])){o=!0;break}s=s[n[a]]}o||(s[n[r]]=e[t],delete e[t]),ut(s[n[r]])&&va(s[n[r]])}return e}function Py(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,a=Xe(n)?n:Lt(r)?{}:{[e]:{}};if(Lt(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},Jo(c,a[l])):Jo(c,a)}else ke(i)&&Jo(JSON.parse(i),a)}),s==null&&o)for(const i in a)ga(a,i)&&va(a[i]);return a}function Iy(e){return e.type}function K2(e,t,n){let r=ut(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Py(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ut(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ut(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function sp(e){return y(Kr,null,e,0)}const op="__INTLIFY_META__",ap=()=>[],G2=()=>!1;let ip=0;function lp(e){return(t,n,r,s)=>e(n,r,In()||void 0,s)}const Z2=()=>{const e=In();let t=null;return e&&(t=Iy(e)[op])?{[op]:t}:null};function Fy(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson;let a=$t(e.inheritLocale)?e.inheritLocale:!0;const i=Xt(n&&a?n.locale.value:ke(e.locale)?e.locale:gl),l=Xt(n&&a?n.fallbackLocale.value:ke(e.fallbackLocale)||Lt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),c=Xt(Py(i.value,e)),m=Xt(Xe(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),d=Xt(Xe(e.numberFormats)?e.numberFormats:{[i.value]:{}});let f=n?n.missingWarn:$t(e.missingWarn)||_l(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:$t(e.fallbackWarn)||_l(e.fallbackWarn)?e.fallbackWarn:!0,h=n?n.fallbackRoot:$t(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,b=Rt(e.missing)?e.missing:null,w=Rt(e.missing)?lp(e.missing):null,C=Rt(e.postTranslation)?e.postTranslation:null,z=n?n.warnHtmlMessage:$t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const S=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let A=e.pluralRules||n&&n.pluralRules,D;D=(()=>{s&&Yf(null);const L={version:U2,locale:i.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:A,missing:w===null?void 0:w,missingWarn:f,fallbackWarn:p,fallbackFormat:_,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:z,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=m.value,L.numberFormats=d.value,L.__datetimeFormatters=Xe(D)?D.__datetimeFormatters:void 0,L.__numberFormatters=Xe(D)?D.__numberFormatters:void 0;const q=N2(L);return s&&Yf(q),q})(),So(D,i.value,l.value);function P(){return[i.value,l.value,c.value,m.value,d.value]}const V=Nt({get:()=>i.value,set:L=>{i.value=L,D.locale=i.value}}),Z=Nt({get:()=>l.value,set:L=>{l.value=L,D.fallbackLocale=l.value,So(D,i.value,L)}}),W=Nt(()=>c.value),B=Nt(()=>m.value),Q=Nt(()=>d.value);function fe(){retu
2023-11-21 05:08:34 -05:00
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
2022-04-15 13:50:55 -04:00
* @license MIT
2023-11-21 09:45:38 -05:00
*/const Ls=typeof window<"u";function OT(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const it=Object.assign;function ju(e,t){const n={};for(const r in t){const s=t[r];n[r]=Gn(s)?s.map(e):e(s)}return n}const ea=()=>{},Gn=Array.isArray,DT=/\/$/,PT=e=>e.replace(DT,"");function qu(e,t,n="/"){let r,s={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,i>-1?i:t.length),s=e(o)),i>-1&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=LT(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:s,hash:a}}function IT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Kp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function FT(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&lo(t.matched[r],n.matched[s])&&qv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function lo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!RT(e[n],t[n]))return!1;return!0}function RT(e,t){return Gn(e)?Gp(e,t):Gn(t)?Gp(t,e):e===t}function Gp(e,t){return Gn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function LT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,i;for(a=0;a<r.length;a++)if(i=r[a],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var za;(function(e){e.pop="pop",e.push="push"})(za||(za={}));var ta;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ta||(ta={}));function NT(e){if(!e)if(Ls){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),PT(e)}const MT=/^[^#]+#/;function VT(e,t){return e.replace(MT,"#")+t}function HT(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 cu=()=>({left:window.pageXOffset,top:window.pageYOffset});function BT(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=HT(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Zp(e,t){return(history.state?history.state.position-t:-1)+e}const Yc=new Map;function UT(e,t){Yc.set(e,t)}function jT(e){const t=Yc.get(e);return Yc.delete(e),t}let qT=()=>location.protocol+"//"+location.host;function Wv(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),Kp(l,"")}return Kp(n,e)+r+s}function WT(e,t,n,r){let s=[],o=[],a=null;const i=({state:f})=>{const p=Wv(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,a&&a===h){a=null;return}b=_?f.position-_.position:0}else r(p);s.forEach(w=>{w(n.value,h,{delta:b,type:za.pop,direction:b?b>0?ta.forward:ta.back:ta.unknown})})};function l(){a=n.value}function c(f){s.push(f);const p=()=>{const h=s.indexOf(f);h>-1&&s.splice(h,1)};return o.push(p),p}function m(){const{history:f}=window;f.state&&f.replaceState(it({},f.state,{scroll:cu()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Yp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?cu():null}}function KT(e){const{history:t,location:n}=window,r={value:Wv(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replace
2022-04-15 13:50:55 -04:00
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
2023-11-21 09:31:01 -05:00
*/function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Eh(Object(n),!0).forEach(function(r){bj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qi(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Qi=function(t){return typeof t}:Qi=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qi(e)}function bj(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 zj(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function Cj(e,t){if(e==null)return{};var n=zj(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wj(e){return kj(e)||xj(e)||Ej(e)||Sj()}function kj(e){if(Array.isArray(e))return id(e)}function xj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ej(e,t){if(e){if(typeof e=="string")return id(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 id(e,t)}}function id(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 Sj(){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 $j="1.14.0";function vr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var wr=vr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ma=vr(/Edge/i),Sh=vr(/firefox/i),na=vr(/safari/i)&&!vr(/chrome/i)&&!vr(/android/i),Z1=vr(/iP(ad|od|hone)/i),Aj=vr(/chrome/i)&&vr(/android/i),Y1={capture:!1,passive:!1};function Ke(e,t,n){e.addEventListener(t,n,!wr&&Y1)}function qe(e,t,n){e.removeEventListener(t,n,!wr&&Y1)}function xl(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 Tj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Hn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&xl(e,t):xl(e,t))||r&&e===n)return e;if(e===n)break}while(e=Tj(e))}return null}var $h=/\s+/g;function wt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace($h," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace($h," ")}}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 gs(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 s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function J1(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function sr(){var e=document.scrollingElement;return e||document.documentElement}function vt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,a,i,l,c,m,d;if(e!==window&&e.parentNode&&e!==sr()?(o=e.getBoundingClientRect(),a=o.top,i=o.left,l=o.bottom,c=o.right,m=o.height,d=o.width):(a=0,i=0,l=window.innerHeight,c=window.innerWidth,m=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!wr))do if(s&&s.getBoundingClientRect&&(we(s,"transform")!=="none"||n&&we(s,"position")!=="static")){var f=s.getBoundingClientRect();a-=f.top+parseInt(we(s,"border-top-width")),i-=f.left+parseInt(we(s,"border-left-width")),l=a+o.height,c=i+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=gs(s||e),h=p&&p.a,_=p&&p.d;p&&(a/=_,i/=h,d/=h,m/=_,l=a+m,c=i+d)}return{top:a,left:i,bottom:l,right:c,width:d,height:m}}}function Ah(e,t,n){for(var r=Hr(e,!0),s=vt(e)[t];r;){var o=vt(r)[n],a=void 0;if(n==="top"||n==="left"?a=s>=o:a=s<=o,!a)return r;if(r===sr())break;r=Hr(r,!1)}return!1}function co(e,t,n,r){for(var s=0,o=0,a=e.children;o<a.length;){if(a[o].style.display!=="none"&&a[o]!==Oe.ghost&&(r||a[o]!==Oe.dragged)&&Hn(a[o],n.draggable,e,!1)){if(s===t)return a[o];s++}o++}return null}function Rm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||we(n,"display")==="none"||t&&!xl(n,t));)n=n.previousElementSibling;return n||null}function St(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||xl(e,t))&&n++;return n}function Th(e){var t=0,n=0,r=sr();if(e)do{var s=gs(e),o=s.a,a=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function Oj(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 sr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=we(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return sr();if(r||t)return n;r=!0}}while
`)&&(P="(?: "+P+")",Z=" "+Z,V++),v=new RegExp("^(?:"+P+")",R)),h&&(v=new RegExp("^"+P+"$(?!\\s)",R)),f&&(z=C.lastIndex),S=c.call(D?v:C,Z),D?S?(S.input=S.input.slice(V),S[0]=S[0].slice(V),S.index=C.lastIndex,C.lastIndex+=S[0].length):C.lastIndex=0:f&&S&&(C.lastIndex=C.global?S.index+S[0].length:z),h&&S&&S.length>1&&m.call(S[0],v,function(){for(A=1;A<arguments.length-2;A++)arguments[A]===void 0&&(S[A]=void 0)}),S}),s.exports=d},"94ca":function(s,o,a){var i=a("d039"),l=/#|\.prototype\./,c=function(h,_){var b=d[m(h)];return b==p?!0:b==f?!1:typeof _=="function"?i(_):!!_},m=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},d=c.data={},f=c.NATIVE="N",p=c.POLYFILL="P";s.exports=c},"99af":function(s,o,a){var i=a("23e7"),l=a("d039"),c=a("e8b5"),m=a("861d"),d=a("7b0b"),f=a("50c4"),p=a("8418"),h=a("65f0"),_=a("1dde"),b=a("b622"),w=a("2d00"),C=b("isConcatSpreadable"),z=9007199254740991,v="Maximum allowed index exceeded",S=w>=51||!l(function(){var P=[];return P[C]=!1,P.concat()[0]!==P}),A=_("concat"),D=function(P){if(!m(P))return!1;var V=P[C];return V!==void 0?!!V:c(P)},R=!S||!A;i({target:"Array",proto:!0,forced:R},{concat:function(V){var Z=d(this),W=h(Z,0),B=0,Q,fe,K,re,ae;for(Q=-1,K=arguments.length;Q<K;Q++)if(ae=Q===-1?Z:arguments[Q],D(ae)){if(re=f(ae.length),B+re>z)throw TypeError(v);for(fe=0;fe<re;fe++,B++)fe in ae&&p(W,B,ae[fe])}else{if(B>=z)throw TypeError(v);p(W,B++,ae)}return W.length=B,W}})},"9bdd":function(s,o,a){var i=a("825a");s.exports=function(l,c,m,d){try{return d?c(i(m)[0],m[1]):c(m)}catch(p){var f=l.return;throw f!==void 0&&i(f.call(l)),p}}},"9bf2":function(s,o,a){var i=a("83ab"),l=a("0cfb"),c=a("825a"),m=a("c04e"),d=Object.defineProperty;o.f=i?d:function(p,h,_){if(c(p),h=m(h,!0),c(_),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(s,o,a){var i=a("ae93").IteratorPrototype,l=a("7c73"),c=a("5c6c"),m=a("d44e"),d=a("3f8c"),f=function(){return this};s.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(i,{next:c(1,_)}),m(p,b,!1,!0),d[b]=f,p}},"9f7f":function(s,o,a){var i=a("d039");function l(c,m){return RegExp(c,m)}o.UNSUPPORTED_Y=i(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=i(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(s,o,a){var i=a("e8b5"),l=a("50c4"),c=a("0366"),m=function(d,f,p,h,_,b,w,C){for(var z=_,v=0,S=w?c(w,C,3):!1,A;v<h;){if(v in p){if(A=S?S(p[v],v,f):p[v],b>0&&i(A))z=m(d,f,A,l(A.length),z,b-1)-1;else{if(z>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[z]=A}z++}v++}return z};s.exports=m},a352:function(s,o){s.exports=r},a434:function(s,o,a){var i=a("23e7"),l=a("23cb"),c=a("a691"),m=a("50c4"),d=a("7b0b"),f=a("65f0"),p=a("8418"),h=a("1dde"),_=a("ae40"),b=h("splice"),w=_("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,z=Math.min,v=9007199254740991,S="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!b||!w},{splice:function(D,R){var P=d(this),V=m(P.length),Z=l(D,V),W=arguments.length,B,Q,fe,K,re,ae;if(W===0?B=Q=0:W===1?(B=0,Q=V-Z):(B=W-2,Q=z(C(c(R),0),V-Z)),V+B-Q>v)throw TypeError(S);for(fe=f(P,Q),K=0;K<Q;K++)re=Z+K,re in P&&p(fe,K,P[re]);if(fe.length=Q,B<Q){for(K=Z;K<V-Q;K++)re=K+Q,ae=K+B,re in P?P[ae]=P[re]:delete P[ae];for(K=V;K>V-Q+B;K--)delete P[K-1]}else if(B>Q)for(K=V-Q;K>Z;K--)re=K+Q-1,ae=K+B-1,re in P?P[ae]=P[re]:delete P[ae];for(K=0;K<B;K++)P[K+Z]=arguments[K+2];return P.length=V-Q+B,fe}})},a4d3:function(s,o,a){var i=a("23e7"),l=a("da84"),c=a("d066"),m=a("c430"),d=a("83ab"),f=a("4930"),p=a("fdbf"),h=a("d039"),_=a("5135"),b=a("e8b5"),w=a("861d"),C=a("825a"),z=a("7b0b"),v=a("fc6a"),S=a("c04e"),A=a("5c6c"),D=a("7c73"),R=a("df75"),P=a("241c"),V=a("057f"),Z=a("7418"),W=a("06cf"),B=a("9bf2"),Q=a("d1e7"),fe=a("9112"),K=a("6eeb"),re=a("5692"),ae=a("f772"),Fe=a("d012"),at=a("90e3"),Ge=a("b622"),je=a("e538"),ct=a("746f"),pt=a("d44e"),ht=a("69f3"),Ne=a("b727").forEach,j=ae("hidden"),ue="Symbol",se="prototype",ve=Ge("toPrimitive"),Be=ht.set,T=ht.getterFor(u
2023-11-21 05:08:34 -05:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(F,N){return p(F)||h(F,N)||b(F,N)||w()}function z(F){if(Array.isArray(F))return _(F)}function v(F){if(typeof Symbol<"u"&&Symbol.iterator in Object(F))return Array.from(F)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2023-11-21 09:31:01 -05:00
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A(F){return z(F)||v(F)||b(F)||S()}var D=a("a352"),R=a.n(D);function P(F){F.parentElement!==null&&F.parentElement.removeChild(F)}function V(F,N,U){var ne=U===0?F.children[0]:F.children[U-1].nextSibling;F.insertBefore(N,ne)}var Z=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function W(F){var N=Object.create(null);return function(ne){var ye=N[ne];return ye||(N[ne]=F(ne))}}var B=/-(\w)/g,Q=W(function(F){return F.replace(B,function(N,U){return U.toUpperCase()})});a("5db7"),a("73d9");var fe=["Start","Add","Remove","Update","End"],K=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],ae=[re,fe,K].flatMap(function(F){return F}).map(function(F){return"on".concat(F)}),Fe={manage:re,manageAndEmit:fe,emit:K};function at(F){return ae.indexOf(F)!==-1}a("caad"),a("2ca0");var Ge=["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 je(F){return Ge.includes(F)}function ct(F){return["transition-group","TransitionGroup"].includes(F)}function pt(F){return["id","class","role","style"].includes(F)||F.startsWith("data-")||F.startsWith("aria-")||F.startsWith("on")}function ht(F){return F.reduce(function(N,U){var ne=C(U,2),ye=ne[0],Ae=ne[1];return N[ye]=Ae,N},{})}function Ne(F){var N=F.$attrs,U=F.componentData,ne=U===void 0?{}:U,ye=ht(Object.entries(N).filter(function(Ae){var Se=C(Ae,2),Ve=Se[0];return Se[1],pt(Ve)}));return f(f({},ye),ne)}function j(F){var N=F.$attrs,U=F.callBackBuilder,ne=ht(ue(N));Object.entries(U).forEach(function(Ae){var Se=C(Ae,2),Ve=Se[0],gt=Se[1];Fe[Ve].forEach(function(Ie){ne["on".concat(Ie)]=gt(Ie)})});var ye="[data-draggable]".concat(ne.draggable||"");return f(f({},ne),{},{draggable:ye})}function ue(F){return Object.entries(F).filter(function(N){var U=C(N,2),ne=U[0];return U[1],!pt(ne)}).map(function(N){var U=C(N,2),ne=U[0],ye=U[1];return[Q(ne),ye]}).filter(function(N){var U=C(N,2),ne=U[0];return U[1],!at(ne)})}a("c740");function se(F,N){if(!(F instanceof N))throw new TypeError("Cannot call a class as a function")}function ve(F,N){for(var U=0;U<N.length;U++){var ne=N[U];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(F,ne.key,ne)}}function Be(F,N,U){return N&&ve(F.prototype,N),U&&ve(F,U),F}var T=function(N){var U=N.el;return U},O=function(N,U){return N.__draggable_context=U},I=function(N){return N.__draggable_context},G=function(){function F(N){var U=N.nodes,ne=U.header,ye=U.default,Ae=U.footer,Se=N.root,Ve=N.realList;se(this,F),this.defaultNodes=ye,this.children=[].concat(A(ne),A(ye),A(Ae)),this.externalComponent=Se.externalComponent,this.rootTransition=Se.transition,this.tag=Se.tag,this.realList=Ve}return Be(F,[{key:"render",value:function(U,ne){var ye=this.tag,Ae=this.children,Se=this._isRootComponent,Ve=Se?{default:function(){return Ae}}:Ae;return U(ye,ne,Ve)}},{key:"updated",value:function(){var U=this.defaultNodes,ne=this.realList;U.forEach(function(ye,Ae){O(T(ye),{element:ne[Ae],index:Ae})})}},{key:"getUnderlyingVm",value:function(U){return I(U)}},{key:"getVmIndexFromDomIndex",value:function(U,ne){var ye=this.defaultNodes,Ae=ye.length,Se=ne.children,Ve=Se.item(U);if(Ve===null)return Ae;var gt=I(Ve);if(gt)return gt.index;if(Ae===0)return 0;var Ie=T(ye[0]),x