music-assistant-frontend 2.17.11__py3-none-any.whl → 2.17.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of music-assistant-frontend might be problematic. Click here for more details.
- music_assistant_frontend/CNAME +1 -0
- music_assistant_frontend/assets/AddManualLink.vue_vue_type_script_setup_true_lang-DG4jP955.js +1 -0
- music_assistant_frontend/assets/AddPlayerGroup-Bwk7pmNx.js +1 -0
- music_assistant_frontend/assets/AddProviderDetails-9el-oexz.js +1 -0
- music_assistant_frontend/assets/AlbumDetails-BxtRl2YX.js +1 -0
- music_assistant_frontend/assets/ArtistDetails-C15MPi-J.js +1 -0
- music_assistant_frontend/assets/AudiobookDetails-BtzViAS0.js +1 -0
- music_assistant_frontend/assets/BrowseView-DwddahrD.js +1 -0
- music_assistant_frontend/assets/Button-Da2w4xZe.js +1 -0
- music_assistant_frontend/assets/Container-vEyxubcK.js +1 -0
- music_assistant_frontend/assets/CoreConfigs-D3Lk-7JE.js +1 -0
- music_assistant_frontend/assets/CreateTokenDialog.vue_vue_type_script_setup_true_lang-C6YdwidI.js +1 -0
- music_assistant_frontend/assets/Default-Br-juh2E.js +21 -0
- music_assistant_frontend/assets/Default-C8ExxF7E.css +1 -0
- music_assistant_frontend/assets/EditConfig-BnGkC7Dx.js +1 -0
- music_assistant_frontend/assets/EditCoreConfig-CnIejyq9.js +1 -0
- music_assistant_frontend/assets/EditPlayer-DWbeXaJ5.js +1 -0
- music_assistant_frontend/assets/EditPlayerDsp-BFHS-0i1.js +9 -0
- music_assistant_frontend/assets/EditProvider-DaVXHsTj.js +1 -0
- music_assistant_frontend/assets/FrontendConfig-eR1Z1zGd.js +1 -0
- music_assistant_frontend/assets/HomeView-Dn-M1jTz.js +1 -0
- music_assistant_frontend/assets/ItemsListing-DsCHQduO.js +1 -0
- music_assistant_frontend/assets/ItemsListing-qc86ZllS.css +1 -0
- music_assistant_frontend/assets/LibraryAlbums-CHYwiQaW.js +1 -0
- music_assistant_frontend/assets/LibraryArtists-BdcWa4H2.js +1 -0
- music_assistant_frontend/assets/LibraryAudiobooks-DC0SIBx-.js +1 -0
- music_assistant_frontend/assets/LibraryPlaylists-AKjmGQHJ.js +1 -0
- music_assistant_frontend/assets/LibraryPodcasts-D8nYpNLG.js +1 -0
- music_assistant_frontend/assets/LibraryRadios-1GRC-OzJ.js +1 -0
- music_assistant_frontend/assets/LibraryTracks-p8Y13gW3.js +1 -0
- music_assistant_frontend/assets/ListItem-CMI0ccXI.js +1 -0
- music_assistant_frontend/assets/MediaItemImages-CpqpuCtk.js +1 -0
- music_assistant_frontend/assets/MediaItemThumb-CMOvHHof.js +1 -0
- music_assistant_frontend/assets/NowPlayingBadge.vue_vue_type_style_index_0_lang-B8G50Aza.js +1 -0
- music_assistant_frontend/assets/PanelviewItemCompact-C6DCjPZU.js +1 -0
- music_assistant_frontend/assets/PlayerCard-RpvQiENI.js +1 -0
- music_assistant_frontend/assets/Players-DbwqOQm4.js +1 -0
- music_assistant_frontend/assets/PlaylistDetails-DhlSXFbi.js +1 -0
- music_assistant_frontend/assets/PodcastDetails-bqHu2VUs.js +1 -0
- music_assistant_frontend/assets/ProviderDetails.vue_vue_type_script_setup_true_lang-BvNkAPPj.js +8 -0
- music_assistant_frontend/assets/Providers-CgdTyZF0.js +1 -0
- music_assistant_frontend/assets/RadioDetails-BDJXF1Lf.js +1 -0
- music_assistant_frontend/assets/Search-BOjaQ4tl.js +1 -0
- music_assistant_frontend/assets/Settings-D8dH3JXV.js +1 -0
- music_assistant_frontend/assets/Toolbar-94EvSFT-.js +1 -0
- music_assistant_frontend/assets/TrackDetails-D-mFx3v3.js +1 -0
- music_assistant_frontend/assets/UserManagement-DqY36gSD.js +1 -0
- music_assistant_frontend/assets/UserProfile-2DGSt3Q4.js +1 -0
- music_assistant_frontend/assets/{UserProfile-N41UXZkv.css → UserProfile-2WJSaYoR.css} +1 -1
- music_assistant_frontend/assets/VAlert-DfNKgxBR.js +1 -0
- music_assistant_frontend/assets/VCheckboxBtn-B_ZAO1Qo.js +1 -0
- music_assistant_frontend/assets/{VDialog-BPGCUfED.js → VDialog-B7h8eW0m.js} +1 -1
- music_assistant_frontend/assets/VExpansionPanels-cqvywsgH.js +1 -0
- music_assistant_frontend/assets/VForm-D2eK17M_.js +1 -0
- music_assistant_frontend/assets/VInfiniteScroll-Bbntx9NP.css +1 -0
- music_assistant_frontend/assets/VInfiniteScroll-CBHSFC6_.js +1 -0
- music_assistant_frontend/assets/VSelect-cNIaLpz4.js +1 -0
- music_assistant_frontend/assets/VSlider-Dt4jt2Zl.js +1 -0
- music_assistant_frontend/assets/VSwitch-CvtgmnVD.js +1 -0
- music_assistant_frontend/assets/VToolbar-DyyzvXAh.js +1 -0
- music_assistant_frontend/assets/VVirtualScroll-Ck3MSSZi.js +1 -0
- music_assistant_frontend/assets/WidgetRow-CXYVjNw0.js +1 -0
- music_assistant_frontend/assets/{index-9wFVyQJF.js → index-BjdGY0D1.js} +31 -31
- music_assistant_frontend/assets/index-DFqSLpsO.css +1 -0
- music_assistant_frontend/assets/marquee_text_sync-WzwJ--pH.js +1 -0
- music_assistant_frontend/index.html +2 -2
- music_assistant_frontend/sw.js +2 -1
- {music_assistant_frontend-2.17.11.dist-info → music_assistant_frontend-2.17.15.dist-info}/METADATA +1 -1
- music_assistant_frontend-2.17.15.dist-info/RECORD +139 -0
- music_assistant_frontend/assets/AddManualLink.vue_vue_type_script_setup_true_lang-BilDCpf6.js +0 -1
- music_assistant_frontend/assets/AddPlayerGroup-BYV8Y1LE.js +0 -1
- music_assistant_frontend/assets/AddProviderDetails-kB7INZIB.js +0 -1
- music_assistant_frontend/assets/AlbumDetails-DU6l-aqD.js +0 -1
- music_assistant_frontend/assets/ArtistDetails-C5fwf1Ul.js +0 -1
- music_assistant_frontend/assets/AudiobookDetails-BdfpQjus.js +0 -1
- music_assistant_frontend/assets/BrowseView-BssNiRRa.js +0 -1
- music_assistant_frontend/assets/Button-C-VEz_LI.js +0 -1
- music_assistant_frontend/assets/Container-BJrCSObY.js +0 -1
- music_assistant_frontend/assets/CoreConfigs-rOpcKZFT.js +0 -1
- music_assistant_frontend/assets/Default-3G11SZal.css +0 -1
- music_assistant_frontend/assets/Default-CUXRm2rg.js +0 -21
- music_assistant_frontend/assets/EditConfig-DXjpmNn9.js +0 -1
- music_assistant_frontend/assets/EditCoreConfig-C-eN53T5.js +0 -1
- music_assistant_frontend/assets/EditPlayer-DIvL3z3D.js +0 -1
- music_assistant_frontend/assets/EditPlayerDsp-B1Xon7v2.js +0 -9
- music_assistant_frontend/assets/EditProvider-D9MCfQ0w.js +0 -1
- music_assistant_frontend/assets/FrontendConfig-GHYdXDxu.js +0 -1
- music_assistant_frontend/assets/HomeView-DJF0saSj.js +0 -1
- music_assistant_frontend/assets/ItemsListing-C49HRbSG.js +0 -1
- music_assistant_frontend/assets/ItemsListing-CBCWLHeg.css +0 -1
- music_assistant_frontend/assets/LibraryAlbums-D9tiVoO5.js +0 -1
- music_assistant_frontend/assets/LibraryArtists-6kAIUMT4.js +0 -1
- music_assistant_frontend/assets/LibraryAudiobooks-Bs8mF684.js +0 -1
- music_assistant_frontend/assets/LibraryPlaylists-DkpseMkD.js +0 -1
- music_assistant_frontend/assets/LibraryPodcasts-DwH40GTd.js +0 -1
- music_assistant_frontend/assets/LibraryRadios-fbUMI3_x.js +0 -1
- music_assistant_frontend/assets/LibraryTracks-CglybHEv.js +0 -1
- music_assistant_frontend/assets/ListItem-UwdbG-Br.js +0 -1
- music_assistant_frontend/assets/MediaItemImages-C4aHMmVs.js +0 -1
- music_assistant_frontend/assets/MediaItemThumb-CIzEvLC1.js +0 -1
- music_assistant_frontend/assets/NowPlayingBadge.vue_vue_type_style_index_0_lang-BsGozMKb.js +0 -1
- music_assistant_frontend/assets/PanelviewItemCompact-Bh2HNG1g.js +0 -1
- music_assistant_frontend/assets/PlayerCard-CNtRdfSH.js +0 -1
- music_assistant_frontend/assets/Players-C0QWtmPX.js +0 -1
- music_assistant_frontend/assets/PlaylistDetails-CnlMQiYr.js +0 -1
- music_assistant_frontend/assets/PodcastDetails-DoAzZcpm.js +0 -1
- music_assistant_frontend/assets/ProviderDetails.vue_vue_type_script_setup_true_lang-BrpUE5JN.js +0 -8
- music_assistant_frontend/assets/Providers-DbouHjV4.js +0 -1
- music_assistant_frontend/assets/RadioDetails-BNB_Zz7v.js +0 -1
- music_assistant_frontend/assets/Search-X_hTXwtA.js +0 -1
- music_assistant_frontend/assets/Settings-v85kXJFD.js +0 -1
- music_assistant_frontend/assets/Toolbar-DKtKPcsg.js +0 -1
- music_assistant_frontend/assets/TrackDetails-kIDB3KQY.js +0 -1
- music_assistant_frontend/assets/UserManagement-D2TMWca2.js +0 -1
- music_assistant_frontend/assets/UserProfile-DQbgJeA-.js +0 -1
- music_assistant_frontend/assets/VAlert-D47QZ7qK.js +0 -1
- music_assistant_frontend/assets/VCheckboxBtn-DtwUx7x8.js +0 -1
- music_assistant_frontend/assets/VContainer-Bmll2nQh.js +0 -1
- music_assistant_frontend/assets/VExpansionPanels-A0OVIs-m.js +0 -1
- music_assistant_frontend/assets/VForm-RrHOXWl_.js +0 -1
- music_assistant_frontend/assets/VInput-Bym6CXFb.js +0 -1
- music_assistant_frontend/assets/VInput-CcxkaOXT.css +0 -1
- music_assistant_frontend/assets/VRow-plcqQvnb.js +0 -1
- music_assistant_frontend/assets/VSelect-FK85NUXM.js +0 -1
- music_assistant_frontend/assets/VSlider-DxpYJWk3.js +0 -1
- music_assistant_frontend/assets/VSnackbar-B7zT2MUe.js +0 -1
- music_assistant_frontend/assets/VSnackbar-BIpAVEnw.css +0 -1
- music_assistant_frontend/assets/VSwitch-DhfvNVio.js +0 -1
- music_assistant_frontend/assets/VTextField-DJZc05eK.js +0 -1
- music_assistant_frontend/assets/VTextField-PT7-TPYc.css +0 -1
- music_assistant_frontend/assets/VToolbar-BKGXqxdt.js +0 -1
- music_assistant_frontend/assets/VVirtualScroll-H5Wikvf-.js +0 -1
- music_assistant_frontend/assets/WidgetRow-DaVwmU5p.js +0 -1
- music_assistant_frontend/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
- music_assistant_frontend/assets/index-BMleNiiT.css +0 -1
- music_assistant_frontend/assets/layout-BdbtgIRG.js +0 -1
- music_assistant_frontend/assets/marquee_text_sync-D3Qu1KPM.js +0 -1
- music_assistant_frontend/workbox-e3490c72.js +0 -1
- music_assistant_frontend-2.17.11.dist-info/RECORD +0 -146
- {music_assistant_frontend-2.17.11.dist-info → music_assistant_frontend-2.17.15.dist-info}/WHEEL +0 -0
- {music_assistant_frontend-2.17.11.dist-info → music_assistant_frontend-2.17.15.dist-info}/licenses/LICENSE +0 -0
- {music_assistant_frontend-2.17.11.dist-info → music_assistant_frontend-2.17.15.dist-info}/top_level.txt +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Default-
|
|
2
|
-
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function s(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(n){if(n.ep)return;n.ep=!0;const r=s(n);fetch(n.href,r)}})();const Z3="modulepreload",Q3=function(t,e){return new URL(t,e).href},gc={},Ft=function(e,s,a){let n=Promise.resolve();if(s&&s.length>0){let d=function(c){return Promise.all(c.map(b=>Promise.resolve(b).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const o=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),l=u?.nonce||u?.getAttribute("nonce");n=d(s.map(c=>{if(c=Q3(c,a),c in gc)return;gc[c]=!0;const b=c.endsWith(".css"),p=b?'[rel="stylesheet"]':"";if(a)for(let _=o.length-1;_>=0;_--){const h=o[_];if(h.href===c&&(!b||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const f=document.createElement("link");if(f.rel=b?"stylesheet":Z3,b||(f.as="script"),f.crossOrigin="",f.href=c,l&&f.setAttribute("nonce",l),document.head.appendChild(f),b)return new Promise((_,h)=>{f.addEventListener("load",_),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(o){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=o,window.dispatchEvent(u),!u.defaultPrevented)throw o}return n.then(o=>{for(const u of o||[])u.status==="rejected"&&r(u.reason);return e().catch(r)})};function Ju(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const Vt={},Ca=[],Ri=()=>{},h0=()=>!1,xo=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),td=t=>t.startsWith("onUpdate:"),Se=Object.assign,ed=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},J3=Object.prototype.hasOwnProperty,$t=(t,e)=>J3.call(t,e),kt=Array.isArray,Ma=t=>Io(t)==="[object Map]",y0=t=>Io(t)==="[object Set]",zt=t=>typeof t=="function",le=t=>typeof t=="string",hs=t=>typeof t=="symbol",se=t=>t!==null&&typeof t=="object",k0=t=>(se(t)||zt(t))&&zt(t.then)&&zt(t.catch),w0=Object.prototype.toString,Io=t=>w0.call(t),tv=t=>Io(t).slice(8,-1),S0=t=>Io(t)==="[object Object]",id=t=>le(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,An=Ju(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Do=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},ev=/-\w/g,Ye=Do(t=>t.replace(ev,e=>e.slice(1).toUpperCase())),iv=/\B([A-Z])/g,Ns=Do(t=>t.replace(iv,"-$1").toLowerCase()),Ja=Do(t=>t.charAt(0).toUpperCase()+t.slice(1)),il=Do(t=>t?`on${Ja(t)}`:""),oi=(t,e)=>!Object.is(t,e),sl=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},A0=(t,e,s,a=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:a,value:s})},sv=t=>{const e=parseFloat(t);return isNaN(e)?t:e},z0=t=>{const e=le(t)?Number(t):NaN;return isNaN(e)?t:e};let hc;const Lo=()=>hc||(hc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nt(t){if(kt(t)){const e={};for(let s=0;s<t.length;s++){const a=t[s],n=le(a)?ov(a):Nt(a);if(n)for(const r in n)e[r]=n[r]}return e}else if(le(t)||se(t))return t}const av=/;(?![^(]*\))/g,nv=/:([^]+)/,rv=/\/\*[^]*?\*\//g;function ov(t){const e={};return t.replace(rv,"").split(av).forEach(s=>{if(s){const a=s.split(nv);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e}function St(t){let e="";if(le(t))e=t;else if(kt(t))for(let s=0;s<t.length;s++){const a=St(t[s]);a&&(e+=a+" ")}else if(se(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}function $l(t){if(!t)return null;let{class:e,style:s}=t;return e&&!le(e)&&(t.class=St(e)),s&&(t.style=Nt(s)),t}const lv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uv=Ju(lv);function T0(t){return!!t||t===""}const P0=t=>!!(t&&t.__v_isRef===!0),jt=t=>le(t)?t:t==null?"":kt(t)||se(t)&&(t.toString===w0||!zt(t.toString))?P0(t)?jt(t.value):JSON.stringify(t,j0,2):String(t),j0=(t,e)=>P0(e)?j0(t,e.value):Ma(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[a,n],r)=>(s[al(a,r)+" =>"]=n,s),{})}:y0(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>al(s))}:hs(e)?al(e):se(e)&&!kt(e)&&!S0(e)?String(e):e,al=(t,e="")=>{var s;return hs(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};function dv(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}let Ve;class E0{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ve,!e&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Ve;try{return Ve=this,e()}finally{Ve=s}}}on(){++this._on===1&&(this.prevScope=Ve,Ve=this)}off(){this._on>0&&--this._on===0&&(Ve=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,a;for(s=0,a=this.effects.length;s<a;s++)this.effects[s].stop();for(this.effects.length=0,s=0,a=this.cleanups.length;s<a;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,a=this.scopes.length;s<a;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}}function Va(t){return new E0(t)}function C0(){return Ve}function ui(t,e=!1){Ve&&Ve.cleanups.push(t)}let ne;const nl=new WeakSet;class M0{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ve&&Ve.active&&Ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,nl.has(this)&&(nl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||I0(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,yc(this),D0(this);const e=ne,s=Oi;ne=this,Oi=!0;try{return this.fn()}finally{L0(this),ne=e,Oi=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)nd(e);this.deps=this.depsTail=void 0,yc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?nl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yl(this)&&this.run()}get dirty(){return Yl(this)}}let x0=0,zn,Tn;function I0(t,e=!1){if(t.flags|=8,e){t.next=Tn,Tn=t;return}t.next=zn,zn=t}function sd(){x0++}function ad(){if(--x0>0)return;if(Tn){let e=Tn;for(Tn=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;zn;){let e=zn;for(zn=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(a){t||(t=a)}e=s}}if(t)throw t}function D0(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function L0(t){let e,s=t.depsTail,a=s;for(;a;){const n=a.prevDep;a.version===-1?(a===s&&(s=n),nd(a),cv(a)):e=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=n}t.deps=e,t.depsTail=s}function Yl(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(R0(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function R0(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Rn)||(t.globalVersion=Rn,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Yl(t))))return;t.flags|=2;const e=t.dep,s=ne,a=Oi;ne=t,Oi=!0;try{D0(t);const n=t.fn(t._value);(e.version===0||oi(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(n){throw e.version++,n}finally{ne=s,Oi=a,L0(t),t.flags&=-3}}function nd(t,e=!1){const{dep:s,prevSub:a,nextSub:n}=t;if(a&&(a.nextSub=n,t.prevSub=void 0),n&&(n.prevSub=a,t.nextSub=void 0),s.subs===t&&(s.subs=a,!a&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)nd(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function cv(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Oi=!0;const O0=[];function vs(){O0.push(Oi),Oi=!1}function _s(){const t=O0.pop();Oi=t===void 0?!0:t}function yc(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ne;ne=void 0;try{e()}finally{ne=s}}}let Rn=0;class bv{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ro{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ne||!Oi||ne===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ne)s=this.activeLink=new bv(ne,this),ne.deps?(s.prevDep=ne.depsTail,ne.depsTail.nextDep=s,ne.depsTail=s):ne.deps=ne.depsTail=s,N0(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const a=s.nextDep;a.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=a),s.prevDep=ne.depsTail,s.nextDep=void 0,ne.depsTail.nextDep=s,ne.depsTail=s,ne.deps===s&&(ne.deps=a)}return s}trigger(e){this.version++,Rn++,this.notify(e)}notify(e){sd();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{ad()}}}function N0(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let a=e.deps;a;a=a.nextDep)N0(a)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Yr=new WeakMap,Js=Symbol(""),Xl=Symbol(""),On=Symbol("");function We(t,e,s){if(Oi&&ne){let a=Yr.get(t);a||Yr.set(t,a=new Map);let n=a.get(s);n||(a.set(s,n=new Ro),n.map=a,n.key=s),n.track()}}function cs(t,e,s,a,n,r){const o=Yr.get(t);if(!o){Rn++;return}const u=l=>{l&&l.trigger()};if(sd(),e==="clear")o.forEach(u);else{const l=kt(t),d=l&&id(s);if(l&&s==="length"){const c=Number(a);o.forEach((b,p)=>{(p==="length"||p===On||!hs(p)&&p>=c)&&u(b)})}else switch((s!==void 0||o.has(void 0))&&u(o.get(s)),d&&u(o.get(On)),e){case"add":l?d&&u(o.get("length")):(u(o.get(Js)),Ma(t)&&u(o.get(Xl)));break;case"delete":l||(u(o.get(Js)),Ma(t)&&u(o.get(Xl)));break;case"set":Ma(t)&&u(o.get(Js));break}}ad()}function pv(t,e){const s=Yr.get(t);return s&&s.get(e)}function ma(t){const e=wt(t);return e===t?e:(We(e,"iterate",On),Ti(t)?e:e.map(Oe))}function Oo(t){return We(t=wt(t),"iterate",On),t}const mv={__proto__:null,[Symbol.iterator](){return rl(this,Symbol.iterator,Oe)},concat(...t){return ma(this).concat(...t.map(e=>kt(e)?ma(e):e))},entries(){return rl(this,"entries",t=>(t[1]=Oe(t[1]),t))},every(t,e){return ss(this,"every",t,e,void 0,arguments)},filter(t,e){return ss(this,"filter",t,e,s=>s.map(Oe),arguments)},find(t,e){return ss(this,"find",t,e,Oe,arguments)},findIndex(t,e){return ss(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ss(this,"findLast",t,e,Oe,arguments)},findLastIndex(t,e){return ss(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ss(this,"forEach",t,e,void 0,arguments)},includes(...t){return ol(this,"includes",t)},indexOf(...t){return ol(this,"indexOf",t)},join(t){return ma(this).join(t)},lastIndexOf(...t){return ol(this,"lastIndexOf",t)},map(t,e){return ss(this,"map",t,e,void 0,arguments)},pop(){return un(this,"pop")},push(...t){return un(this,"push",t)},reduce(t,...e){return kc(this,"reduce",t,e)},reduceRight(t,...e){return kc(this,"reduceRight",t,e)},shift(){return un(this,"shift")},some(t,e){return ss(this,"some",t,e,void 0,arguments)},splice(...t){return un(this,"splice",t)},toReversed(){return ma(this).toReversed()},toSorted(t){return ma(this).toSorted(t)},toSpliced(...t){return ma(this).toSpliced(...t)},unshift(...t){return un(this,"unshift",t)},values(){return rl(this,"values",Oe)}};function rl(t,e,s){const a=Oo(t),n=a[e]();return a!==t&&!Ti(t)&&(n._next=n.next,n.next=()=>{const r=n._next();return r.done||(r.value=s(r.value)),r}),n}const fv=Array.prototype;function ss(t,e,s,a,n,r){const o=Oo(t),u=o!==t&&!Ti(t),l=o[e];if(l!==fv[e]){const b=l.apply(t,r);return u?Oe(b):b}let d=s;o!==t&&(u?d=function(b,p){return s.call(this,Oe(b),p,t)}:s.length>2&&(d=function(b,p){return s.call(this,b,p,t)}));const c=l.call(o,d,a);return u&&n?n(c):c}function kc(t,e,s,a){const n=Oo(t);let r=s;return n!==t&&(Ti(t)?s.length>3&&(r=function(o,u,l){return s.call(this,o,u,l,t)}):r=function(o,u,l){return s.call(this,o,Oe(u),l,t)}),n[e](r,...a)}function ol(t,e,s){const a=wt(t);We(a,"iterate",On);const n=a[e](...s);return(n===-1||n===!1)&&ld(s[0])?(s[0]=wt(s[0]),a[e](...s)):n}function un(t,e,s=[]){vs(),sd();const a=wt(t)[e].apply(t,s);return ad(),_s(),a}const vv=Ju("__proto__,__v_isRef,__isVue"),B0=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(hs));function _v(t){hs(t)||(t=String(t));const e=wt(this);return We(e,"has",t),e.hasOwnProperty(t)}class F0{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,a){if(s==="__v_skip")return e.__v_skip;const n=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!n;if(s==="__v_isReadonly")return n;if(s==="__v_isShallow")return r;if(s==="__v_raw")return a===(n?r?Pv:V0:r?q0:U0).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const o=kt(e);if(!n){let l;if(o&&(l=mv[s]))return l;if(s==="hasOwnProperty")return _v}const u=Reflect.get(e,s,fe(e)?e:a);if((hs(s)?B0.has(s):vv(s))||(n||We(e,"get",s),r))return u;if(fe(u)){const l=o&&id(s)?u:u.value;return n&&se(l)?Ha(l):l}return se(u)?n?Ha(u):we(u):u}}class G0 extends F0{constructor(e=!1){super(!1,e)}set(e,s,a,n){let r=e[s];if(!this._isShallow){const l=Ds(r);if(!Ti(a)&&!Ds(a)&&(r=wt(r),a=wt(a)),!kt(e)&&fe(r)&&!fe(a))return l||(r.value=a),!0}const o=kt(e)&&id(s)?Number(s)<e.length:$t(e,s),u=Reflect.set(e,s,a,fe(e)?e:n);return e===wt(n)&&(o?oi(a,r)&&cs(e,"set",s,a):cs(e,"add",s,a)),u}deleteProperty(e,s){const a=$t(e,s);e[s];const n=Reflect.deleteProperty(e,s);return n&&a&&cs(e,"delete",s,void 0),n}has(e,s){const a=Reflect.has(e,s);return(!hs(s)||!B0.has(s))&&We(e,"has",s),a}ownKeys(e){return We(e,"iterate",kt(e)?"length":Js),Reflect.ownKeys(e)}}class gv extends F0{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const hv=new G0,yv=new gv,kv=new G0(!0);const Zl=t=>t,yr=t=>Reflect.getPrototypeOf(t);function wv(t,e,s){return function(...a){const n=this.__v_raw,r=wt(n),o=Ma(r),u=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,d=n[t](...a),c=s?Zl:e?Xr:Oe;return!e&&We(r,"iterate",l?Xl:Js),{next(){const{value:b,done:p}=d.next();return p?{value:b,done:p}:{value:u?[c(b[0]),c(b[1])]:c(b),done:p}},[Symbol.iterator](){return this}}}}function kr(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Sv(t,e){const s={get(n){const r=this.__v_raw,o=wt(r),u=wt(n);t||(oi(n,u)&&We(o,"get",n),We(o,"get",u));const{has:l}=yr(o),d=e?Zl:t?Xr:Oe;if(l.call(o,n))return d(r.get(n));if(l.call(o,u))return d(r.get(u));r!==o&&r.get(n)},get size(){const n=this.__v_raw;return!t&&We(wt(n),"iterate",Js),n.size},has(n){const r=this.__v_raw,o=wt(r),u=wt(n);return t||(oi(n,u)&&We(o,"has",n),We(o,"has",u)),n===u?r.has(n):r.has(n)||r.has(u)},forEach(n,r){const o=this,u=o.__v_raw,l=wt(u),d=e?Zl:t?Xr:Oe;return!t&&We(l,"iterate",Js),u.forEach((c,b)=>n.call(r,d(c),d(b),o))}};return Se(s,t?{add:kr("add"),set:kr("set"),delete:kr("delete"),clear:kr("clear")}:{add(n){!e&&!Ti(n)&&!Ds(n)&&(n=wt(n));const r=wt(this);return yr(r).has.call(r,n)||(r.add(n),cs(r,"add",n,n)),this},set(n,r){!e&&!Ti(r)&&!Ds(r)&&(r=wt(r));const o=wt(this),{has:u,get:l}=yr(o);let d=u.call(o,n);d||(n=wt(n),d=u.call(o,n));const c=l.call(o,n);return o.set(n,r),d?oi(r,c)&&cs(o,"set",n,r):cs(o,"add",n,r),this},delete(n){const r=wt(this),{has:o,get:u}=yr(r);let l=o.call(r,n);l||(n=wt(n),l=o.call(r,n)),u&&u.call(r,n);const d=r.delete(n);return l&&cs(r,"delete",n,void 0),d},clear(){const n=wt(this),r=n.size!==0,o=n.clear();return r&&cs(n,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=wv(n,t,e)}),s}function rd(t,e){const s=Sv(t,e);return(a,n,r)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?a:Reflect.get($t(s,n)&&n in a?s:a,n,r)}const Av={get:rd(!1,!1)},zv={get:rd(!1,!0)},Tv={get:rd(!0,!1)};const U0=new WeakMap,q0=new WeakMap,V0=new WeakMap,Pv=new WeakMap;function jv(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ev(t){return t.__v_skip||!Object.isExtensible(t)?0:jv(tv(t))}function we(t){return Ds(t)?t:od(t,!1,hv,Av,U0)}function H0(t){return od(t,!1,kv,zv,q0)}function Ha(t){return od(t,!0,yv,Tv,V0)}function od(t,e,s,a,n){if(!se(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=Ev(t);if(r===0)return t;const o=n.get(t);if(o)return o;const u=new Proxy(t,r===2?a:s);return n.set(t,u),u}function xa(t){return Ds(t)?xa(t.__v_raw):!!(t&&t.__v_isReactive)}function Ds(t){return!!(t&&t.__v_isReadonly)}function Ti(t){return!!(t&&t.__v_isShallow)}function ld(t){return t?!!t.__v_raw:!1}function wt(t){const e=t&&t.__v_raw;return e?wt(e):t}function W0(t){return!$t(t,"__v_skip")&&Object.isExtensible(t)&&A0(t,"__v_skip",!0),t}const Oe=t=>se(t)?we(t):t,Xr=t=>se(t)?Ha(t):t;function fe(t){return t?t.__v_isRef===!0:!1}function st(t){return K0(t,!1)}function It(t){return K0(t,!0)}function K0(t,e){return fe(t)?t:new Cv(t,e)}class Cv{constructor(e,s){this.dep=new Ro,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:wt(e),this._value=s?e:Oe(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,a=this.__v_isShallow||Ti(e)||Ds(e);e=a?e:wt(e),oi(e,s)&&(this._rawValue=e,this._value=a?e:Oe(e),this.dep.trigger())}}function W(t){return fe(t)?t.value:t}function fi(t){return zt(t)?t():W(t)}const Mv={get:(t,e,s)=>e==="__v_raw"?t:W(Reflect.get(t,e,s)),set:(t,e,s,a)=>{const n=t[e];return fe(n)&&!fe(s)?(n.value=s,!0):Reflect.set(t,e,s,a)}};function $0(t){return xa(t)?t:new Proxy(t,Mv)}class xv{constructor(e){this.__v_isRef=!0,this._value=void 0;const s=this.dep=new Ro,{get:a,set:n}=e(s.track.bind(s),s.trigger.bind(s));this._get=a,this._set=n}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Iv(t){return new xv(t)}function ud(t){const e=kt(t)?new Array(t.length):{};for(const s in t)e[s]=Y0(t,s);return e}class Dv{constructor(e,s,a){this._object=e,this._key=s,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return pv(wt(this._object),this._key)}}class Lv{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function at(t,e,s){return fe(t)?t:zt(t)?new Lv(t):se(t)&&arguments.length>1?Y0(t,e,s):st(t)}function Y0(t,e,s){const a=t[e];return fe(a)?a:new Dv(t,e,s)}class Rv{constructor(e,s,a){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Ro(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return I0(this,!0),!0}get value(){const e=this.dep.track();return R0(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ov(t,e,s=!1){let a,n;return zt(t)?a=t:(a=t.get,n=t.set),new Rv(a,n,s)}const wr={},Zr=new WeakMap;let Xs;function Nv(t,e=!1,s=Xs){if(s){let a=Zr.get(s);a||Zr.set(s,a=[]),a.push(t)}}function Bv(t,e,s=Vt){const{immediate:a,deep:n,once:r,scheduler:o,augmentJob:u,call:l}=s,d=k=>n?k:Ti(k)||n===!1||n===0?bs(k,1):bs(k);let c,b,p,f,_=!1,h=!1;if(fe(t)?(b=()=>t.value,_=Ti(t)):xa(t)?(b=()=>d(t),_=!0):kt(t)?(h=!0,_=t.some(k=>xa(k)||Ti(k)),b=()=>t.map(k=>{if(fe(k))return k.value;if(xa(k))return d(k);if(zt(k))return l?l(k,2):k()})):zt(t)?e?b=l?()=>l(t,2):t:b=()=>{if(p){vs();try{p()}finally{_s()}}const k=Xs;Xs=c;try{return l?l(t,3,[f]):t(f)}finally{Xs=k}}:b=Ri,e&&n){const k=b,w=n===!0?1/0:n;b=()=>bs(k(),w)}const y=C0(),m=()=>{c.stop(),y&&y.active&&ed(y.effects,c)};if(r&&e){const k=e;e=(...w)=>{k(...w),m()}}let v=h?new Array(t.length).fill(wr):wr;const g=k=>{if(!(!(c.flags&1)||!c.dirty&&!k))if(e){const w=c.run();if(n||_||(h?w.some((A,z)=>oi(A,v[z])):oi(w,v))){p&&p();const A=Xs;Xs=c;try{const z=[w,v===wr?void 0:h&&v[0]===wr?[]:v,f];v=w,l?l(e,3,z):e(...z)}finally{Xs=A}}}else c.run()};return u&&u(g),c=new M0(b),c.scheduler=o?()=>o(g,!1):g,f=k=>Nv(k,!1,c),p=c.onStop=()=>{const k=Zr.get(c);if(k){if(l)l(k,4);else for(const w of k)w();Zr.delete(c)}},e?a?g(!0):v=c.run():o?o(g.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function bs(t,e=1/0,s){if(e<=0||!se(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,fe(t))bs(t.value,e,s);else if(kt(t))for(let a=0;a<t.length;a++)bs(t[a],e,s);else if(y0(t)||Ma(t))t.forEach(a=>{bs(a,e,s)});else if(S0(t)){for(const a in t)bs(t[a],e,s);for(const a of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,a)&&bs(t[a],e,s)}return t}function nr(t,e,s,a){try{return a?t(...a):t()}catch(n){rr(n,e,s)}}function Ni(t,e,s,a){if(zt(t)){const n=nr(t,e,s,a);return n&&k0(n)&&n.catch(r=>{rr(r,e,s)}),n}if(kt(t)){const n=[];for(let r=0;r<t.length;r++)n.push(Ni(t[r],e,s,a));return n}}function rr(t,e,s,a=!0){const n=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||Vt;if(e){let u=e.parent;const l=e.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;u;){const c=u.ec;if(c){for(let b=0;b<c.length;b++)if(c[b](t,l,d)===!1)return}u=u.parent}if(r){vs(),nr(r,null,10,[t,l,d]),_s();return}}Fv(t,s,n,a,o)}function Fv(t,e,s,a=!0,n=!1){if(n)throw t;console.error(t)}const si=[];let Wi=-1;const Ia=[];let js=null,ka=0;const X0=Promise.resolve();let Qr=null;function Ce(t){const e=Qr||X0;return t?e.then(this?t.bind(this):t):e}function Gv(t){let e=Wi+1,s=si.length;for(;e<s;){const a=e+s>>>1,n=si[a],r=Nn(n);r<t||r===t&&n.flags&2?e=a+1:s=a}return e}function dd(t){if(!(t.flags&1)){const e=Nn(t),s=si[si.length-1];!s||!(t.flags&2)&&e>=Nn(s)?si.push(t):si.splice(Gv(e),0,t),t.flags|=1,Z0()}}function Z0(){Qr||(Qr=X0.then(J0))}function Jr(t){kt(t)?Ia.push(...t):js&&t.id===-1?js.splice(ka+1,0,t):t.flags&1||(Ia.push(t),t.flags|=1),Z0()}function wc(t,e,s=Wi+1){for(;s<si.length;s++){const a=si[s];if(a&&a.flags&2){if(t&&a.id!==t.uid)continue;si.splice(s,1),s--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function Q0(t){if(Ia.length){const e=[...new Set(Ia)].sort((s,a)=>Nn(s)-Nn(a));if(Ia.length=0,js){js.push(...e);return}for(js=e,ka=0;ka<js.length;ka++){const s=js[ka];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}js=null,ka=0}}const Nn=t=>t.id==null?t.flags&2?-1:1/0:t.id;function J0(t){try{for(Wi=0;Wi<si.length;Wi++){const e=si[Wi];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),nr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Wi<si.length;Wi++){const e=si[Wi];e&&(e.flags&=-2)}Wi=-1,si.length=0,Q0(),Qr=null,(si.length||Ia.length)&&J0()}}let Be=null,tm=null;function to(t){const e=Be;return Be=t,tm=t&&t.type.__scopeId||null,e}function Et(t,e=Be,s){if(!e||t._n)return t;const a=(...n)=>{a._d&&so(-1);const r=to(e);let o;try{o=t(...n)}finally{to(r),a._d&&so(1)}return o};return a._n=!0,a._c=!0,a._d=!0,a}function is(t,e){if(Be===null)return t;const s=Vo(Be),a=t.dirs||(t.dirs=[]);for(let n=0;n<e.length;n++){let[r,o,u,l=Vt]=e[n];r&&(zt(r)&&(r={mounted:r,updated:r}),r.deep&&bs(o),a.push({dir:r,instance:s,value:o,oldValue:void 0,arg:u,modifiers:l}))}return t}function Hs(t,e,s,a){const n=t.dirs,r=e&&e.dirs;for(let o=0;o<n.length;o++){const u=n[o];r&&(u.oldValue=r[o].value);let l=u.dir[a];l&&(vs(),Ni(l,s,8,[t.el,u,t,e]),_s())}}const em=Symbol("_vte"),im=t=>t.__isTeleport,Pn=t=>t&&(t.disabled||t.disabled===""),Sc=t=>t&&(t.defer||t.defer===""),Ac=t=>typeof SVGElement<"u"&&t instanceof SVGElement,zc=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Ql=(t,e)=>{const s=t&&t.to;return le(s)?e?e(s):null:s},sm={name:"Teleport",__isTeleport:!0,process(t,e,s,a,n,r,o,u,l,d){const{mc:c,pc:b,pbc:p,o:{insert:f,querySelector:_,createText:h,createComment:y}}=d,m=Pn(e.props);let{shapeFlag:v,children:g,dynamicChildren:k}=e;if(t==null){const w=e.el=h(""),A=e.anchor=h("");f(w,s,a),f(A,s,a);const z=(I,E)=>{v&16&&c(g,I,E,n,r,o,u,l)},S=()=>{const I=e.target=Ql(e.props,_),E=am(I,e,h,f);I&&(o!=="svg"&&Ac(I)?o="svg":o!=="mathml"&&zc(I)&&(o="mathml"),n&&n.isCE&&(n.ce._teleportTargets||(n.ce._teleportTargets=new Set)).add(I),m||(z(I,E),Br(e,!1)))};m&&(z(s,A),Br(e,!0)),Sc(e.props)?(e.el.__isMounted=!1,ti(()=>{S(),delete e.el.__isMounted},r)):S()}else{if(Sc(e.props)&&t.el.__isMounted===!1){ti(()=>{sm.process(t,e,s,a,n,r,o,u,l,d)},r);return}e.el=t.el,e.targetStart=t.targetStart;const w=e.anchor=t.anchor,A=e.target=t.target,z=e.targetAnchor=t.targetAnchor,S=Pn(t.props),I=S?s:A,E=S?w:z;if(o==="svg"||Ac(A)?o="svg":(o==="mathml"||zc(A))&&(o="mathml"),k?(p(t.dynamicChildren,k,I,n,r,o,u),gd(t,e,!0)):l||b(t,e,I,E,n,r,o,u,!1),m)S?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Sr(e,s,w,d,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const D=e.target=Ql(e.props,_);D&&Sr(e,D,null,d,0)}else S&&Sr(e,A,z,d,1);Br(e,m)}},remove(t,e,s,{um:a,o:{remove:n}},r){const{shapeFlag:o,children:u,anchor:l,targetStart:d,targetAnchor:c,target:b,props:p}=t;if(b&&(n(d),n(c)),r&&n(l),o&16){const f=r||!Pn(p);for(let _=0;_<u.length;_++){const h=u[_];a(h,e,s,f,!!h.dynamicChildren)}}},move:Sr,hydrate:Uv};function Sr(t,e,s,{o:{insert:a},m:n},r=2){r===0&&a(t.targetAnchor,e,s);const{el:o,anchor:u,shapeFlag:l,children:d,props:c}=t,b=r===2;if(b&&a(o,e,s),(!b||Pn(c))&&l&16)for(let p=0;p<d.length;p++)n(d[p],e,s,2);b&&a(u,e,s)}function Uv(t,e,s,a,n,r,{o:{nextSibling:o,parentNode:u,querySelector:l,insert:d,createText:c}},b){function p(h,y,m,v){y.anchor=b(o(h),y,u(h),s,a,n,r),y.targetStart=m,y.targetAnchor=v}const f=e.target=Ql(e.props,l),_=Pn(e.props);if(f){const h=f._lpa||f.firstChild;if(e.shapeFlag&16)if(_)p(t,e,h,h&&o(h));else{e.anchor=o(t);let y=h;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")e.targetStart=y;else if(y.data==="teleport anchor"){e.targetAnchor=y,f._lpa=e.targetAnchor&&o(e.targetAnchor);break}}y=o(y)}e.targetAnchor||am(f,e,c,d),b(h&&o(h),e,f,s,a,n,r)}Br(e,_)}else _&&e.shapeFlag&16&&p(t,e,t,o(t));return e.anchor&&o(e.anchor)}const qv=sm;function Br(t,e){const s=t.ctx;if(s&&s.ut){let a,n;for(e?(a=t.el,n=t.anchor):(a=t.targetStart,n=t.targetAnchor);a&&a!==n;)a.nodeType===1&&a.setAttribute("data-v-owner",s.uid),a=a.nextSibling;s.ut()}}function am(t,e,s,a){const n=e.targetStart=s(""),r=e.targetAnchor=s("");return n[em]=r,t&&(a(n,t),a(r,t)),r}const ds=Symbol("_leaveCb"),Ar=Symbol("_enterCb");function nm(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xe(()=>{t.isMounted=!0}),Ge(()=>{t.isUnmounting=!0}),t}const hi=[Function,Array],rm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:hi,onEnter:hi,onAfterEnter:hi,onEnterCancelled:hi,onBeforeLeave:hi,onLeave:hi,onAfterLeave:hi,onLeaveCancelled:hi,onBeforeAppear:hi,onAppear:hi,onAfterAppear:hi,onAppearCancelled:hi},om=t=>{const e=t.subTree;return e.component?om(e.component):e},Vv={name:"BaseTransition",props:rm,setup(t,{slots:e}){const s=ks(),a=nm();return()=>{const n=e.default&&cd(e.default(),!0);if(!n||!n.length)return;const r=lm(n),o=wt(t),{mode:u}=o;if(a.isLeaving)return ll(r);const l=Tc(r);if(!l)return ll(r);let d=Bn(l,o,a,s,b=>d=b);l.type!==je&&sa(l,d);let c=s.subTree&&Tc(s.subTree);if(c&&c.type!==je&&!$i(c,l)&&om(s).type!==je){let b=Bn(c,o,a,s);if(sa(c,b),u==="out-in"&&l.type!==je)return a.isLeaving=!0,b.afterLeave=()=>{a.isLeaving=!1,s.job.flags&8||s.update(),delete b.afterLeave,c=void 0},ll(r);u==="in-out"&&l.type!==je?b.delayLeave=(p,f,_)=>{const h=um(a,c);h[String(c.key)]=c,p[ds]=()=>{f(),p[ds]=void 0,delete d.delayedLeave,c=void 0},d.delayedLeave=()=>{_(),delete d.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function lm(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==je){e=s;break}}return e}const Hv=Vv;function um(t,e){const{leavingVNodes:s}=t;let a=s.get(e.type);return a||(a=Object.create(null),s.set(e.type,a)),a}function Bn(t,e,s,a,n){const{appear:r,mode:o,persisted:u=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:c,onEnterCancelled:b,onBeforeLeave:p,onLeave:f,onAfterLeave:_,onLeaveCancelled:h,onBeforeAppear:y,onAppear:m,onAfterAppear:v,onAppearCancelled:g}=e,k=String(t.key),w=um(s,t),A=(I,E)=>{I&&Ni(I,a,9,E)},z=(I,E)=>{const D=E[1];A(I,E),kt(I)?I.every(M=>M.length<=1)&&D():I.length<=1&&D()},S={mode:o,persisted:u,beforeEnter(I){let E=l;if(!s.isMounted)if(r)E=y||l;else return;I[ds]&&I[ds](!0);const D=w[k];D&&$i(t,D)&&D.el[ds]&&D.el[ds](),A(E,[I])},enter(I){let E=d,D=c,M=b;if(!s.isMounted)if(r)E=m||d,D=v||c,M=g||b;else return;let N=!1;const V=I[Ar]=it=>{N||(N=!0,it?A(M,[I]):A(D,[I]),S.delayedLeave&&S.delayedLeave(),I[Ar]=void 0)};E?z(E,[I,V]):V()},leave(I,E){const D=String(t.key);if(I[Ar]&&I[Ar](!0),s.isUnmounting)return E();A(p,[I]);let M=!1;const N=I[ds]=V=>{M||(M=!0,E(),V?A(h,[I]):A(_,[I]),I[ds]=void 0,w[D]===t&&delete w[D])};w[D]=t,f?z(f,[I,N]):N()},clone(I){const E=Bn(I,e,s,a,n);return n&&n(E),E}};return S}function ll(t){if(No(t))return t=Ls(t),t.children=null,t}function Tc(t){if(!No(t))return im(t.type)&&t.children?lm(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&zt(s.default))return s.default()}}function sa(t,e){t.shapeFlag&6&&t.component?(t.transition=e,sa(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function cd(t,e=!1,s){let a=[],n=0;for(let r=0;r<t.length;r++){let o=t[r];const u=s==null?o.key:String(s)+String(o.key!=null?o.key:r);o.type===pt?(o.patchFlag&128&&n++,a=a.concat(cd(o.children,e,u))):(e||o.type!==je)&&a.push(u!=null?Ls(o,{key:u}):o)}if(n>1)for(let r=0;r<a.length;r++)a[r].patchFlag=-2;return a}function Me(t,e){return zt(t)?Se({name:t.name},e,{setup:t}):t}function bd(){const t=ks();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function dm(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const eo=new WeakMap;function jn(t,e,s,a,n=!1){if(kt(t)){t.forEach((_,h)=>jn(_,e&&(kt(e)?e[h]:e),s,a,n));return}if(Da(a)&&!n){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&jn(t,e,s,a.component.subTree);return}const r=a.shapeFlag&4?Vo(a.component):a.el,o=n?null:r,{i:u,r:l}=t,d=e&&e.r,c=u.refs===Vt?u.refs={}:u.refs,b=u.setupState,p=wt(b),f=b===Vt?h0:_=>$t(p,_);if(d!=null&&d!==l){if(Pc(e),le(d))c[d]=null,f(d)&&(b[d]=null);else if(fe(d)){d.value=null;const _=e;_.k&&(c[_.k]=null)}}if(zt(l))nr(l,u,12,[o,c]);else{const _=le(l),h=fe(l);if(_||h){const y=()=>{if(t.f){const m=_?f(l)?b[l]:c[l]:l.value;if(n)kt(m)&&ed(m,r);else if(kt(m))m.includes(r)||m.push(r);else if(_)c[l]=[r],f(l)&&(b[l]=c[l]);else{const v=[r];l.value=v,t.k&&(c[t.k]=v)}}else _?(c[l]=o,f(l)&&(b[l]=o)):h&&(l.value=o,t.k&&(c[t.k]=o))};if(o){const m=()=>{y(),eo.delete(t)};m.id=-1,eo.set(t,m),ti(m,s)}else Pc(t),y()}}}function Pc(t){const e=eo.get(t);e&&(e.flags|=8,eo.delete(t))}Lo().requestIdleCallback;Lo().cancelIdleCallback;const Da=t=>!!t.type.__asyncLoader,No=t=>t.type.__isKeepAlive;function Wv(t,e){bm(t,"a",e)}function cm(t,e){bm(t,"da",e)}function bm(t,e,s=Ke){const a=t.__wdc||(t.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(Bo(e,a,s),s){let n=s.parent;for(;n&&n.parent;)No(n.parent.vnode)&&Kv(a,e,s,n),n=n.parent}}function Kv(t,e,s,a){const n=Bo(e,t,a,!0);Go(()=>{ed(a[e],n)},s)}function Bo(t,e,s=Ke,a=!1){if(s){const n=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{vs();const u=lr(s),l=Ni(e,s,t,o);return u(),_s(),l});return a?n.unshift(r):n.push(r),r}}const ys=t=>(e,s=Ke)=>{(!Un||t==="sp")&&Bo(t,(...a)=>e(...a),s)},Fo=ys("bm"),Xe=ys("m"),pd=ys("bu"),or=ys("u"),Ge=ys("bum"),Go=ys("um"),$v=ys("sp"),Yv=ys("rtg"),Xv=ys("rtc");function Zv(t,e=Ke){Bo("ec",t,e)}const md="components",Qv="directives";function Jv(t,e){return fd(md,t,!0,e)||t}const pm=Symbol.for("v-ndc");function wa(t){return le(t)?fd(md,t,!1)||t:t||pm}function _C(t){return fd(Qv,t)}function fd(t,e,s=!0,a=!1){const n=Be||Ke;if(n){const r=n.type;if(t===md){const u=H_(r,!1);if(u&&(u===e||u===Ye(e)||u===Ja(Ye(e))))return r}const o=jc(n[t]||r[t],e)||jc(n.appContext[t],e);return!o&&a?r:o}}function jc(t,e){return t&&(t[e]||t[Ye(e)]||t[Ja(Ye(e))])}function ii(t,e,s,a){let n;const r=s,o=kt(t);if(o||le(t)){const u=o&&xa(t);let l=!1,d=!1;u&&(l=!Ti(t),d=Ds(t),t=Oo(t)),n=new Array(t.length);for(let c=0,b=t.length;c<b;c++)n[c]=e(l?d?Xr(Oe(t[c])):Oe(t[c]):t[c],c,void 0,r)}else if(typeof t=="number"){n=new Array(t);for(let u=0;u<t;u++)n[u]=e(u+1,u,void 0,r)}else if(se(t))if(t[Symbol.iterator])n=Array.from(t,(u,l)=>e(u,l,void 0,r));else{const u=Object.keys(t);n=new Array(u.length);for(let l=0,d=u.length;l<d;l++){const c=u[l];n[l]=e(t[c],c,l,r)}}else n=[];return n}function gC(t,e){for(let s=0;s<e.length;s++){const a=e[s];if(kt(a))for(let n=0;n<a.length;n++)t[a[n].name]=a[n].fn;else a&&(t[a.name]=a.key?(...n)=>{const r=a.fn(...n);return r&&(r.key=a.key),r}:a.fn)}return t}function pi(t,e,s={},a,n){if(Be.ce||Be.parent&&Da(Be.parent)&&Be.parent.ce){const d=Object.keys(s).length>0;return e!=="default"&&(s.name=e),H(),ee(pt,null,[B("slot",s,a&&a())],d?-2:64)}let r=t[e];r&&r._c&&(r._d=!1),H();const o=r&&mm(r(s)),u=s.key||o&&o.key,l=ee(pt,{key:(u&&!hs(u)?u:`_${e}`)+(!o&&a?"_fb":"")},o||(a?a():[]),o&&t._===1?64:-2);return!n&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function mm(t){return t.some(e=>Si(e)?!(e.type===je||e.type===pt&&!mm(e.children)):!0)?t:null}const Jl=t=>t?Lm(t)?Vo(t):Jl(t.parent):null,En=Se(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Jl(t.parent),$root:t=>Jl(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>vm(t),$forceUpdate:t=>t.f||(t.f=()=>{dd(t.update)}),$nextTick:t=>t.n||(t.n=Ce.bind(t.proxy)),$watch:t=>S_.bind(t)}),ul=(t,e)=>t!==Vt&&!t.__isScriptSetup&&$t(t,e),t_={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:a,data:n,props:r,accessCache:o,type:u,appContext:l}=t;let d;if(e[0]!=="$"){const f=o[e];if(f!==void 0)switch(f){case 1:return a[e];case 2:return n[e];case 4:return s[e];case 3:return r[e]}else{if(ul(a,e))return o[e]=1,a[e];if(n!==Vt&&$t(n,e))return o[e]=2,n[e];if((d=t.propsOptions[0])&&$t(d,e))return o[e]=3,r[e];if(s!==Vt&&$t(s,e))return o[e]=4,s[e];tu&&(o[e]=0)}}const c=En[e];let b,p;if(c)return e==="$attrs"&&We(t.attrs,"get",""),c(t);if((b=u.__cssModules)&&(b=b[e]))return b;if(s!==Vt&&$t(s,e))return o[e]=4,s[e];if(p=l.config.globalProperties,$t(p,e))return p[e]},set({_:t},e,s){const{data:a,setupState:n,ctx:r}=t;return ul(n,e)?(n[e]=s,!0):a!==Vt&&$t(a,e)?(a[e]=s,!0):$t(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:a,appContext:n,propsOptions:r,type:o}},u){let l,d;return!!(s[u]||t!==Vt&&u[0]!=="$"&&$t(t,u)||ul(e,u)||(l=r[0])&&$t(l,u)||$t(a,u)||$t(En,u)||$t(n.config.globalProperties,u)||(d=o.__cssModules)&&d[u])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:$t(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function e_(){return i_().attrs}function i_(t){const e=ks();return e.setupContext||(e.setupContext=Om(e))}function Fn(t){return kt(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}function hC(t,e){const s=Fn(t);for(const a in e){if(a.startsWith("__skip"))continue;let n=s[a];n?kt(n)||zt(n)?n=s[a]={type:n,default:e[a]}:n.default=e[a]:n===null&&(n=s[a]={default:e[a]}),n&&e[`__skip_${a}`]&&(n.skipFactory=!0)}return s}function yC(t,e){return!t||!e?t||e:kt(t)&&kt(e)?t.concat(e):Se({},Fn(t),Fn(e))}let tu=!0;function s_(t){const e=vm(t),s=t.proxy,a=t.ctx;tu=!1,e.beforeCreate&&Ec(e.beforeCreate,t,"bc");const{data:n,computed:r,methods:o,watch:u,provide:l,inject:d,created:c,beforeMount:b,mounted:p,beforeUpdate:f,updated:_,activated:h,deactivated:y,beforeDestroy:m,beforeUnmount:v,destroyed:g,unmounted:k,render:w,renderTracked:A,renderTriggered:z,errorCaptured:S,serverPrefetch:I,expose:E,inheritAttrs:D,components:M,directives:N,filters:V}=e;if(d&&a_(d,a,null),o)for(const ot in o){const tt=o[ot];zt(tt)&&(a[ot]=tt.bind(s))}if(n){const ot=n.call(s,s);se(ot)&&(t.data=we(ot))}if(tu=!0,r)for(const ot in r){const tt=r[ot],_t=zt(tt)?tt.bind(s,s):zt(tt.get)?tt.get.bind(s,s):Ri,vt=!zt(tt)&&zt(tt.set)?tt.set.bind(s):Ri,Tt=G({get:_t,set:vt});Object.defineProperty(a,ot,{enumerable:!0,configurable:!0,get:()=>Tt.value,set:lt=>Tt.value=lt})}if(u)for(const ot in u)fm(u[ot],a,s,ot);if(l){const ot=zt(l)?l.call(s):l;Reflect.ownKeys(ot).forEach(tt=>{Fe(tt,ot[tt])})}c&&Ec(c,t,"c");function ct(ot,tt){kt(tt)?tt.forEach(_t=>ot(_t.bind(s))):tt&&ot(tt.bind(s))}if(ct(Fo,b),ct(Xe,p),ct(pd,f),ct(or,_),ct(Wv,h),ct(cm,y),ct(Zv,S),ct(Xv,A),ct(Yv,z),ct(Ge,v),ct(Go,k),ct($v,I),kt(E))if(E.length){const ot=t.exposed||(t.exposed={});E.forEach(tt=>{Object.defineProperty(ot,tt,{get:()=>s[tt],set:_t=>s[tt]=_t,enumerable:!0})})}else t.exposed||(t.exposed={});w&&t.render===Ri&&(t.render=w),D!=null&&(t.inheritAttrs=D),M&&(t.components=M),N&&(t.directives=N),I&&dm(t)}function a_(t,e,s=Ri){kt(t)&&(t=eu(t));for(const a in t){const n=t[a];let r;se(n)?"default"in n?r=Qt(n.from||a,n.default,!0):r=Qt(n.from||a):r=Qt(n),fe(r)?Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[a]=r}}function Ec(t,e,s){Ni(kt(t)?t.map(a=>a.bind(e.proxy)):t.bind(e.proxy),e,s)}function fm(t,e,s,a){let n=a.includes(".")?Pm(s,a):()=>s[a];if(le(t)){const r=e[t];zt(r)&&At(n,r)}else if(zt(t))At(n,t.bind(s));else if(se(t))if(kt(t))t.forEach(r=>fm(r,e,s,a));else{const r=zt(t.handler)?t.handler.bind(s):e[t.handler];zt(r)&&At(n,r,t)}}function vm(t){const e=t.type,{mixins:s,extends:a}=e,{mixins:n,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,u=r.get(e);let l;return u?l=u:!n.length&&!s&&!a?l=e:(l={},n.length&&n.forEach(d=>io(l,d,o,!0)),io(l,e,o)),se(e)&&r.set(e,l),l}function io(t,e,s,a=!1){const{mixins:n,extends:r}=e;r&&io(t,r,s,!0),n&&n.forEach(o=>io(t,o,s,!0));for(const o in e)if(!(a&&o==="expose")){const u=n_[o]||s&&s[o];t[o]=u?u(t[o],e[o]):e[o]}return t}const n_={data:Cc,props:Mc,emits:Mc,methods:hn,computed:hn,beforeCreate:Qe,created:Qe,beforeMount:Qe,mounted:Qe,beforeUpdate:Qe,updated:Qe,beforeDestroy:Qe,beforeUnmount:Qe,destroyed:Qe,unmounted:Qe,activated:Qe,deactivated:Qe,errorCaptured:Qe,serverPrefetch:Qe,components:hn,directives:hn,watch:o_,provide:Cc,inject:r_};function Cc(t,e){return e?t?function(){return Se(zt(t)?t.call(this,this):t,zt(e)?e.call(this,this):e)}:e:t}function r_(t,e){return hn(eu(t),eu(e))}function eu(t){if(kt(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Qe(t,e){return t?[...new Set([].concat(t,e))]:e}function hn(t,e){return t?Se(Object.create(null),t,e):e}function Mc(t,e){return t?kt(t)&&kt(e)?[...new Set([...t,...e])]:Se(Object.create(null),Fn(t),Fn(e??{})):e}function o_(t,e){if(!t)return e;if(!e)return t;const s=Se(Object.create(null),t);for(const a in e)s[a]=Qe(t[a],e[a]);return s}function _m(){return{app:null,config:{isNativeTag:h0,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let l_=0;function u_(t,e){return function(a,n=null){zt(a)||(a=Se({},a)),n!=null&&!se(n)&&(n=null);const r=_m(),o=new WeakSet,u=[];let l=!1;const d=r.app={_uid:l_++,_component:a,_props:n,_container:null,_context:r,_instance:null,version:K_,get config(){return r.config},set config(c){},use(c,...b){return o.has(c)||(c&&zt(c.install)?(o.add(c),c.install(d,...b)):zt(c)&&(o.add(c),c(d,...b))),d},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),d},component(c,b){return b?(r.components[c]=b,d):r.components[c]},directive(c,b){return b?(r.directives[c]=b,d):r.directives[c]},mount(c,b,p){if(!l){const f=d._ceVNode||B(a,n);return f.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),t(f,c,p),l=!0,d._container=c,c.__vue_app__=d,Vo(f.component)}},onUnmount(c){u.push(c)},unmount(){l&&(Ni(u,d._instance,16),t(null,d._container),delete d._container.__vue_app__)},provide(c,b){return r.provides[c]=b,d},runWithContext(c){const b=La;La=d;try{return c()}finally{La=b}}};return d}}let La=null;function Fe(t,e){if(Ke){let s=Ke.provides;const a=Ke.parent&&Ke.parent.provides;a===s&&(s=Ke.provides=Object.create(a)),s[t]=e}}function Qt(t,e,s=!1){const a=ks();if(a||La){let n=La?La._context.provides:a?a.parent==null||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(n&&t in n)return n[t];if(arguments.length>1)return s&&zt(e)?e.call(a&&a.proxy):e}}const gm={},hm=()=>Object.create(gm),ym=t=>Object.getPrototypeOf(t)===gm;function d_(t,e,s,a=!1){const n={},r=hm();t.propsDefaults=Object.create(null),km(t,e,n,r);for(const o in t.propsOptions[0])o in n||(n[o]=void 0);s?t.props=a?n:H0(n):t.type.props?t.props=n:t.props=r,t.attrs=r}function c_(t,e,s,a){const{props:n,attrs:r,vnode:{patchFlag:o}}=t,u=wt(n),[l]=t.propsOptions;let d=!1;if((a||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let b=0;b<c.length;b++){let p=c[b];if(qo(t.emitsOptions,p))continue;const f=e[p];if(l)if($t(r,p))f!==r[p]&&(r[p]=f,d=!0);else{const _=Ye(p);n[_]=iu(l,u,_,f,t,!1)}else f!==r[p]&&(r[p]=f,d=!0)}}}else{km(t,e,n,r)&&(d=!0);let c;for(const b in u)(!e||!$t(e,b)&&((c=Ns(b))===b||!$t(e,c)))&&(l?s&&(s[b]!==void 0||s[c]!==void 0)&&(n[b]=iu(l,u,b,void 0,t,!0)):delete n[b]);if(r!==u)for(const b in r)(!e||!$t(e,b))&&(delete r[b],d=!0)}d&&cs(t.attrs,"set","")}function km(t,e,s,a){const[n,r]=t.propsOptions;let o=!1,u;if(e)for(let l in e){if(An(l))continue;const d=e[l];let c;n&&$t(n,c=Ye(l))?!r||!r.includes(c)?s[c]=d:(u||(u={}))[c]=d:qo(t.emitsOptions,l)||(!(l in a)||d!==a[l])&&(a[l]=d,o=!0)}if(r){const l=wt(s),d=u||Vt;for(let c=0;c<r.length;c++){const b=r[c];s[b]=iu(n,l,b,d[b],t,!$t(d,b))}}return o}function iu(t,e,s,a,n,r){const o=t[s];if(o!=null){const u=$t(o,"default");if(u&&a===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&zt(l)){const{propsDefaults:d}=n;if(s in d)a=d[s];else{const c=lr(n);a=d[s]=l.call(null,e),c()}}else a=l;n.ce&&n.ce._setProp(s,a)}o[0]&&(r&&!u?a=!1:o[1]&&(a===""||a===Ns(s))&&(a=!0))}return a}const b_=new WeakMap;function wm(t,e,s=!1){const a=s?b_:e.propsCache,n=a.get(t);if(n)return n;const r=t.props,o={},u=[];let l=!1;if(!zt(t)){const c=b=>{l=!0;const[p,f]=wm(b,e,!0);Se(o,p),f&&u.push(...f)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!r&&!l)return se(t)&&a.set(t,Ca),Ca;if(kt(r))for(let c=0;c<r.length;c++){const b=Ye(r[c]);xc(b)&&(o[b]=Vt)}else if(r)for(const c in r){const b=Ye(c);if(xc(b)){const p=r[c],f=o[b]=kt(p)||zt(p)?{type:p}:Se({},p),_=f.type;let h=!1,y=!0;if(kt(_))for(let m=0;m<_.length;++m){const v=_[m],g=zt(v)&&v.name;if(g==="Boolean"){h=!0;break}else g==="String"&&(y=!1)}else h=zt(_)&&_.name==="Boolean";f[0]=h,f[1]=y,(h||$t(f,"default"))&&u.push(b)}}const d=[o,u];return se(t)&&a.set(t,d),d}function xc(t){return t[0]!=="$"&&!An(t)}const vd=t=>t==="_"||t==="_ctx"||t==="$stable",_d=t=>kt(t)?t.map(xi):[xi(t)],p_=(t,e,s)=>{if(e._n)return e;const a=Et((...n)=>_d(e(...n)),s);return a._c=!1,a},Sm=(t,e,s)=>{const a=t._ctx;for(const n in t){if(vd(n))continue;const r=t[n];if(zt(r))e[n]=p_(n,r,a);else if(r!=null){const o=_d(r);e[n]=()=>o}}},Am=(t,e)=>{const s=_d(e);t.slots.default=()=>s},zm=(t,e,s)=>{for(const a in e)(s||!vd(a))&&(t[a]=e[a])},m_=(t,e,s)=>{const a=t.slots=hm();if(t.vnode.shapeFlag&32){const n=e._;n?(zm(a,e,s),s&&A0(a,"_",n,!0)):Sm(e,a)}else e&&Am(t,e)},f_=(t,e,s)=>{const{vnode:a,slots:n}=t;let r=!0,o=Vt;if(a.shapeFlag&32){const u=e._;u?s&&u===1?r=!1:zm(n,e,s):(r=!e.$stable,Sm(e,n)),o=e}else e&&(Am(t,e),o={default:1});if(r)for(const u in n)!vd(u)&&o[u]==null&&delete n[u]},ti=L_;function v_(t){return __(t)}function __(t,e){const s=Lo();s.__VUE__=!0;const{insert:a,remove:n,patchProp:r,createElement:o,createText:u,createComment:l,setText:d,setElementText:c,parentNode:b,nextSibling:p,setScopeId:f=Ri,insertStaticContent:_}=t,h=(C,x,O,K=null,X=null,$=null,T=void 0,j=null,L=!!x.dynamicChildren)=>{if(C===x)return;C&&!$i(C,x)&&(K=P(C),lt(C,X,$,!0),C=null),x.patchFlag===-2&&(L=!1,x.dynamicChildren=null);const{type:F,ref:ut,shapeFlag:Z}=x;switch(F){case tn:y(C,x,O,K);break;case je:m(C,x,O,K);break;case Fr:C==null&&v(x,O,K,T);break;case pt:M(C,x,O,K,X,$,T,j,L);break;default:Z&1?w(C,x,O,K,X,$,T,j,L):Z&6?N(C,x,O,K,X,$,T,j,L):(Z&64||Z&128)&&F.process(C,x,O,K,X,$,T,j,L,rt)}ut!=null&&X?jn(ut,C&&C.ref,$,x||C,!x):ut==null&&C&&C.ref!=null&&jn(C.ref,null,$,C,!0)},y=(C,x,O,K)=>{if(C==null)a(x.el=u(x.children),O,K);else{const X=x.el=C.el;x.children!==C.children&&d(X,x.children)}},m=(C,x,O,K)=>{C==null?a(x.el=l(x.children||""),O,K):x.el=C.el},v=(C,x,O,K)=>{[C.el,C.anchor]=_(C.children,x,O,K,C.el,C.anchor)},g=({el:C,anchor:x},O,K)=>{let X;for(;C&&C!==x;)X=p(C),a(C,O,K),C=X;a(x,O,K)},k=({el:C,anchor:x})=>{let O;for(;C&&C!==x;)O=p(C),n(C),C=O;n(x)},w=(C,x,O,K,X,$,T,j,L)=>{if(x.type==="svg"?T="svg":x.type==="math"&&(T="mathml"),C==null)A(x,O,K,X,$,T,j,L);else{const F=C.el&&C.el._isVueCE?C.el:null;try{F&&F._beginPatch(),I(C,x,X,$,T,j,L)}finally{F&&F._endPatch()}}},A=(C,x,O,K,X,$,T,j)=>{let L,F;const{props:ut,shapeFlag:Z,transition:R,dirs:U}=C;if(L=C.el=o(C.type,$,ut&&ut.is,ut),Z&8?c(L,C.children):Z&16&&S(C.children,L,null,K,X,dl(C,$),T,j),U&&Hs(C,null,K,"created"),z(L,C,C.scopeId,T,K),ut){for(const Pt in ut)Pt!=="value"&&!An(Pt)&&r(L,Pt,null,ut[Pt],$,K);"value"in ut&&r(L,"value",null,ut.value,$),(F=ut.onVnodeBeforeMount)&&Ui(F,K,C)}U&&Hs(C,null,K,"beforeMount");const ft=g_(X,R);ft&&R.beforeEnter(L),a(L,x,O),((F=ut&&ut.onVnodeMounted)||ft||U)&&ti(()=>{F&&Ui(F,K,C),ft&&R.enter(L),U&&Hs(C,null,K,"mounted")},X)},z=(C,x,O,K,X)=>{if(O&&f(C,O),K)for(let $=0;$<K.length;$++)f(C,K[$]);if(X){let $=X.subTree;if(x===$||Cm($.type)&&($.ssContent===x||$.ssFallback===x)){const T=X.vnode;z(C,T,T.scopeId,T.slotScopeIds,X.parent)}}},S=(C,x,O,K,X,$,T,j,L=0)=>{for(let F=L;F<C.length;F++){const ut=C[F]=j?Es(C[F]):xi(C[F]);h(null,ut,x,O,K,X,$,T,j)}},I=(C,x,O,K,X,$,T)=>{const j=x.el=C.el;let{patchFlag:L,dynamicChildren:F,dirs:ut}=x;L|=C.patchFlag&16;const Z=C.props||Vt,R=x.props||Vt;let U;if(O&&Ws(O,!1),(U=R.onVnodeBeforeUpdate)&&Ui(U,O,x,C),ut&&Hs(x,C,O,"beforeUpdate"),O&&Ws(O,!0),(Z.innerHTML&&R.innerHTML==null||Z.textContent&&R.textContent==null)&&c(j,""),F?E(C.dynamicChildren,F,j,O,K,dl(x,X),$):T||tt(C,x,j,null,O,K,dl(x,X),$,!1),L>0){if(L&16)D(j,Z,R,O,X);else if(L&2&&Z.class!==R.class&&r(j,"class",null,R.class,X),L&4&&r(j,"style",Z.style,R.style,X),L&8){const ft=x.dynamicProps;for(let Pt=0;Pt<ft.length;Pt++){const Lt=ft[Pt],Ae=Z[Lt],ve=R[Lt];(ve!==Ae||Lt==="value")&&r(j,Lt,Ae,ve,X,O)}}L&1&&C.children!==x.children&&c(j,x.children)}else!T&&F==null&&D(j,Z,R,O,X);((U=R.onVnodeUpdated)||ut)&&ti(()=>{U&&Ui(U,O,x,C),ut&&Hs(x,C,O,"updated")},K)},E=(C,x,O,K,X,$,T)=>{for(let j=0;j<x.length;j++){const L=C[j],F=x[j],ut=L.el&&(L.type===pt||!$i(L,F)||L.shapeFlag&198)?b(L.el):O;h(L,F,ut,null,K,X,$,T,!0)}},D=(C,x,O,K,X)=>{if(x!==O){if(x!==Vt)for(const $ in x)!An($)&&!($ in O)&&r(C,$,x[$],null,X,K);for(const $ in O){if(An($))continue;const T=O[$],j=x[$];T!==j&&$!=="value"&&r(C,$,j,T,X,K)}"value"in O&&r(C,"value",x.value,O.value,X)}},M=(C,x,O,K,X,$,T,j,L)=>{const F=x.el=C?C.el:u(""),ut=x.anchor=C?C.anchor:u("");let{patchFlag:Z,dynamicChildren:R,slotScopeIds:U}=x;U&&(j=j?j.concat(U):U),C==null?(a(F,O,K),a(ut,O,K),S(x.children||[],O,ut,X,$,T,j,L)):Z>0&&Z&64&&R&&C.dynamicChildren?(E(C.dynamicChildren,R,O,X,$,T,j),(x.key!=null||X&&x===X.subTree)&&gd(C,x,!0)):tt(C,x,O,ut,X,$,T,j,L)},N=(C,x,O,K,X,$,T,j,L)=>{x.slotScopeIds=j,C==null?x.shapeFlag&512?X.ctx.activate(x,O,K,T,L):V(x,O,K,X,$,T,L):it(C,x,L)},V=(C,x,O,K,X,$,T)=>{const j=C.component=G_(C,K,X);if(No(C)&&(j.ctx.renderer=rt),U_(j,!1,T),j.asyncDep){if(X&&X.registerDep(j,ct,T),!C.el){const L=j.subTree=B(je);m(null,L,x,O),C.placeholder=L.el}}else ct(j,C,x,O,X,$,T)},it=(C,x,O)=>{const K=x.component=C.component;if(E_(C,x,O))if(K.asyncDep&&!K.asyncResolved){ot(K,x,O);return}else K.next=x,K.update();else x.el=C.el,K.vnode=x},ct=(C,x,O,K,X,$,T)=>{const j=()=>{if(C.isMounted){let{next:Z,bu:R,u:U,parent:ft,vnode:Pt}=C;{const Ei=Tm(C);if(Ei){Z&&(Z.el=Pt.el,ot(C,Z,T)),Ei.asyncDep.then(()=>{C.isUnmounted||j()});return}}let Lt=Z,Ae;Ws(C,!1),Z?(Z.el=Pt.el,ot(C,Z,T)):Z=Pt,R&&sl(R),(Ae=Z.props&&Z.props.onVnodeBeforeUpdate)&&Ui(Ae,ft,Z,Pt),Ws(C,!0);const ve=Dc(C),gi=C.subTree;C.subTree=ve,h(gi,ve,b(gi.el),P(gi),C,X,$),Z.el=ve.el,Lt===null&&hd(C,ve.el),U&&ti(U,X),(Ae=Z.props&&Z.props.onVnodeUpdated)&&ti(()=>Ui(Ae,ft,Z,Pt),X)}else{let Z;const{el:R,props:U}=x,{bm:ft,m:Pt,parent:Lt,root:Ae,type:ve}=C,gi=Da(x);Ws(C,!1),ft&&sl(ft),!gi&&(Z=U&&U.onVnodeBeforeMount)&&Ui(Z,Lt,x),Ws(C,!0);{Ae.ce&&Ae.ce._def.shadowRoot!==!1&&Ae.ce._injectChildStyle(ve);const Ei=C.subTree=Dc(C);h(null,Ei,O,K,C,X,$),x.el=Ei.el}if(Pt&&ti(Pt,X),!gi&&(Z=U&&U.onVnodeMounted)){const Ei=x;ti(()=>Ui(Z,Lt,Ei),X)}(x.shapeFlag&256||Lt&&Da(Lt.vnode)&&Lt.vnode.shapeFlag&256)&&C.a&&ti(C.a,X),C.isMounted=!0,x=O=K=null}};C.scope.on();const L=C.effect=new M0(j);C.scope.off();const F=C.update=L.run.bind(L),ut=C.job=L.runIfDirty.bind(L);ut.i=C,ut.id=C.uid,L.scheduler=()=>dd(ut),Ws(C,!0),F()},ot=(C,x,O)=>{x.component=C;const K=C.vnode.props;C.vnode=x,C.next=null,c_(C,x.props,K,O),f_(C,x.children,O),vs(),wc(C),_s()},tt=(C,x,O,K,X,$,T,j,L=!1)=>{const F=C&&C.children,ut=C?C.shapeFlag:0,Z=x.children,{patchFlag:R,shapeFlag:U}=x;if(R>0){if(R&128){vt(F,Z,O,K,X,$,T,j,L);return}else if(R&256){_t(F,Z,O,K,X,$,T,j,L);return}}U&8?(ut&16&&ae(F,X,$),Z!==F&&c(O,Z)):ut&16?U&16?vt(F,Z,O,K,X,$,T,j,L):ae(F,X,$,!0):(ut&8&&c(O,""),U&16&&S(Z,O,K,X,$,T,j,L))},_t=(C,x,O,K,X,$,T,j,L)=>{C=C||Ca,x=x||Ca;const F=C.length,ut=x.length,Z=Math.min(F,ut);let R;for(R=0;R<Z;R++){const U=x[R]=L?Es(x[R]):xi(x[R]);h(C[R],U,O,null,X,$,T,j,L)}F>ut?ae(C,X,$,!0,!1,Z):S(x,O,K,X,$,T,j,L,Z)},vt=(C,x,O,K,X,$,T,j,L)=>{let F=0;const ut=x.length;let Z=C.length-1,R=ut-1;for(;F<=Z&&F<=R;){const U=C[F],ft=x[F]=L?Es(x[F]):xi(x[F]);if($i(U,ft))h(U,ft,O,null,X,$,T,j,L);else break;F++}for(;F<=Z&&F<=R;){const U=C[Z],ft=x[R]=L?Es(x[R]):xi(x[R]);if($i(U,ft))h(U,ft,O,null,X,$,T,j,L);else break;Z--,R--}if(F>Z){if(F<=R){const U=R+1,ft=U<ut?x[U].el:K;for(;F<=R;)h(null,x[F]=L?Es(x[F]):xi(x[F]),O,ft,X,$,T,j,L),F++}}else if(F>R)for(;F<=Z;)lt(C[F],X,$,!0),F++;else{const U=F,ft=F,Pt=new Map;for(F=ft;F<=R;F++){const di=x[F]=L?Es(x[F]):xi(x[F]);di.key!=null&&Pt.set(di.key,F)}let Lt,Ae=0;const ve=R-ft+1;let gi=!1,Ei=0;const ln=new Array(ve);for(F=0;F<ve;F++)ln[F]=0;for(F=U;F<=Z;F++){const di=C[F];if(Ae>=ve){lt(di,X,$,!0);continue}let Gi;if(di.key!=null)Gi=Pt.get(di.key);else for(Lt=ft;Lt<=R;Lt++)if(ln[Lt-ft]===0&&$i(di,x[Lt])){Gi=Lt;break}Gi===void 0?lt(di,X,$,!0):(ln[Gi-ft]=F+1,Gi>=Ei?Ei=Gi:gi=!0,h(di,x[Gi],O,null,X,$,T,j,L),Ae++)}const fc=gi?h_(ln):Ca;for(Lt=fc.length-1,F=ve-1;F>=0;F--){const di=ft+F,Gi=x[di],vc=x[di+1],_c=di+1<ut?vc.el||vc.placeholder:K;ln[F]===0?h(null,Gi,O,_c,X,$,T,j,L):gi&&(Lt<0||F!==fc[Lt]?Tt(Gi,O,_c,2):Lt--)}}},Tt=(C,x,O,K,X=null)=>{const{el:$,type:T,transition:j,children:L,shapeFlag:F}=C;if(F&6){Tt(C.component.subTree,x,O,K);return}if(F&128){C.suspense.move(x,O,K);return}if(F&64){T.move(C,x,O,rt);return}if(T===pt){a($,x,O);for(let Z=0;Z<L.length;Z++)Tt(L[Z],x,O,K);a(C.anchor,x,O);return}if(T===Fr){g(C,x,O);return}if(K!==2&&F&1&&j)if(K===0)j.beforeEnter($),a($,x,O),ti(()=>j.enter($),X);else{const{leave:Z,delayLeave:R,afterLeave:U}=j,ft=()=>{C.ctx.isUnmounted?n($):a($,x,O)},Pt=()=>{$._isLeaving&&$[ds](!0),Z($,()=>{ft(),U&&U()})};R?R($,ft,Pt):Pt()}else a($,x,O)},lt=(C,x,O,K=!1,X=!1)=>{const{type:$,props:T,ref:j,children:L,dynamicChildren:F,shapeFlag:ut,patchFlag:Z,dirs:R,cacheIndex:U}=C;if(Z===-2&&(X=!1),j!=null&&(vs(),jn(j,null,O,C,!0),_s()),U!=null&&(x.renderCache[U]=void 0),ut&256){x.ctx.deactivate(C);return}const ft=ut&1&&R,Pt=!Da(C);let Lt;if(Pt&&(Lt=T&&T.onVnodeBeforeUnmount)&&Ui(Lt,x,C),ut&6)ge(C.component,O,K);else{if(ut&128){C.suspense.unmount(O,K);return}ft&&Hs(C,null,x,"beforeUnmount"),ut&64?C.type.remove(C,x,O,rt,K):F&&!F.hasOnce&&($!==pt||Z>0&&Z&64)?ae(F,x,O,!1,!0):($===pt&&Z&384||!X&&ut&16)&&ae(L,x,O),K&&bt(C)}(Pt&&(Lt=T&&T.onVnodeUnmounted)||ft)&&ti(()=>{Lt&&Ui(Lt,x,C),ft&&Hs(C,null,x,"unmounted")},O)},bt=C=>{const{type:x,el:O,anchor:K,transition:X}=C;if(x===pt){xt(O,K);return}if(x===Fr){k(C);return}const $=()=>{n(O),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(C.shapeFlag&1&&X&&!X.persisted){const{leave:T,delayLeave:j}=X,L=()=>T(O,$);j?j(C.el,$,L):L()}else $()},xt=(C,x)=>{let O;for(;C!==x;)O=p(C),n(C),C=O;n(x)},ge=(C,x,O)=>{const{bum:K,scope:X,job:$,subTree:T,um:j,m:L,a:F}=C;Ic(L),Ic(F),K&&sl(K),X.stop(),$&&($.flags|=8,lt(T,C,x,O)),j&&ti(j,x),ti(()=>{C.isUnmounted=!0},x)},ae=(C,x,O,K=!1,X=!1,$=0)=>{for(let T=$;T<C.length;T++)lt(C[T],x,O,K,X)},P=C=>{if(C.shapeFlag&6)return P(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const x=p(C.anchor||C.el),O=x&&x[em];return O?p(O):x};let et=!1;const Q=(C,x,O)=>{C==null?x._vnode&<(x._vnode,null,null,!0):h(x._vnode||null,C,x,null,null,null,O),x._vnode=C,et||(et=!0,wc(),Q0(),et=!1)},rt={p:h,um:lt,m:Tt,r:bt,mt:V,mc:S,pc:tt,pbc:E,n:P,o:t};return{render:Q,hydrate:void 0,createApp:u_(Q)}}function dl({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function Ws({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function g_(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function gd(t,e,s=!1){const a=t.children,n=e.children;if(kt(a)&&kt(n))for(let r=0;r<a.length;r++){const o=a[r];let u=n[r];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=n[r]=Es(n[r]),u.el=o.el),!s&&u.patchFlag!==-2&&gd(o,u)),u.type===tn&&u.patchFlag!==-1&&(u.el=o.el),u.type===je&&!u.el&&(u.el=o.el)}}function h_(t){const e=t.slice(),s=[0];let a,n,r,o,u;const l=t.length;for(a=0;a<l;a++){const d=t[a];if(d!==0){if(n=s[s.length-1],t[n]<d){e[a]=n,s.push(a);continue}for(r=0,o=s.length-1;r<o;)u=r+o>>1,t[s[u]]<d?r=u+1:o=u;d<t[s[r]]&&(r>0&&(e[a]=s[r-1]),s[r]=a)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function Tm(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Tm(e)}function Ic(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const y_=Symbol.for("v-scx"),k_=()=>Qt(y_);function ye(t,e){return Uo(t,null,e)}function w_(t,e){return Uo(t,null,{flush:"sync"})}function At(t,e,s){return Uo(t,e,s)}function Uo(t,e,s=Vt){const{immediate:a,deep:n,flush:r,once:o}=s,u=Se({},s),l=e&&a||!e&&r!=="post";let d;if(Un){if(r==="sync"){const f=k_();d=f.__watcherHandles||(f.__watcherHandles=[])}else if(!l){const f=()=>{};return f.stop=Ri,f.resume=Ri,f.pause=Ri,f}}const c=Ke;u.call=(f,_,h)=>Ni(f,c,_,h);let b=!1;r==="post"?u.scheduler=f=>{ti(f,c&&c.suspense)}:r!=="sync"&&(b=!0,u.scheduler=(f,_)=>{_?f():dd(f)}),u.augmentJob=f=>{e&&(f.flags|=4),b&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const p=Bv(t,e,u);return Un&&(d?d.push(p):l&&p()),p}function S_(t,e,s){const a=this.proxy,n=le(t)?t.includes(".")?Pm(a,t):()=>a[t]:t.bind(a,a);let r;zt(e)?r=e:(r=e.handler,s=e);const o=lr(this),u=Uo(n,r.bind(a),s);return o(),u}function Pm(t,e){const s=e.split(".");return()=>{let a=t;for(let n=0;n<s.length&&a;n++)a=a[s[n]];return a}}function kC(t,e,s=Vt){const a=ks(),n=Ye(e),r=Ns(e),o=jm(t,n),u=Iv((l,d)=>{let c,b=Vt,p;return w_(()=>{const f=t[n];oi(c,f)&&(c=f,d())}),{get(){return l(),s.get?s.get(c):c},set(f){const _=s.set?s.set(f):f;if(!oi(_,c)&&!(b!==Vt&&oi(f,b)))return;const h=a.vnode.props;h&&(e in h||n in h||r in h)&&(`onUpdate:${e}`in h||`onUpdate:${n}`in h||`onUpdate:${r}`in h)||(c=f,d()),a.emit(`update:${e}`,_),oi(f,_)&&oi(f,b)&&!oi(_,p)&&d(),b=f,p=_}}});return u[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||Vt:u,done:!1}:{done:!0}}}},u}const jm=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ye(e)}Modifiers`]||t[`${Ns(e)}Modifiers`];function A_(t,e,...s){if(t.isUnmounted)return;const a=t.vnode.props||Vt;let n=s;const r=e.startsWith("update:"),o=r&&jm(a,e.slice(7));o&&(o.trim&&(n=s.map(c=>le(c)?c.trim():c)),o.number&&(n=s.map(sv)));let u,l=a[u=il(e)]||a[u=il(Ye(e))];!l&&r&&(l=a[u=il(Ns(e))]),l&&Ni(l,t,6,n);const d=a[u+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[u])return;t.emitted[u]=!0,Ni(d,t,6,n)}}const z_=new WeakMap;function Em(t,e,s=!1){const a=s?z_:e.emitsCache,n=a.get(t);if(n!==void 0)return n;const r=t.emits;let o={},u=!1;if(!zt(t)){const l=d=>{const c=Em(d,e,!0);c&&(u=!0,Se(o,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!u?(se(t)&&a.set(t,null),null):(kt(r)?r.forEach(l=>o[l]=null):Se(o,r),se(t)&&a.set(t,o),o)}function qo(t,e){return!t||!xo(e)?!1:(e=e.slice(2).replace(/Once$/,""),$t(t,e[0].toLowerCase()+e.slice(1))||$t(t,Ns(e))||$t(t,e))}function Dc(t){const{type:e,vnode:s,proxy:a,withProxy:n,propsOptions:[r],slots:o,attrs:u,emit:l,render:d,renderCache:c,props:b,data:p,setupState:f,ctx:_,inheritAttrs:h}=t,y=to(t);let m,v;try{if(s.shapeFlag&4){const k=n||a,w=k;m=xi(d.call(w,k,c,b,f,p,_)),v=u}else{const k=e;m=xi(k.length>1?k(b,{attrs:u,slots:o,emit:l}):k(b,null)),v=e.props?u:P_(u)}}catch(k){Cn.length=0,rr(k,t,1),m=B(je)}let g=m;if(v&&h!==!1){const k=Object.keys(v),{shapeFlag:w}=g;k.length&&w&7&&(r&&k.some(td)&&(v=j_(v,r)),g=Ls(g,v,!1,!0))}return s.dirs&&(g=Ls(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(s.dirs):s.dirs),s.transition&&sa(g,s.transition),m=g,to(y),m}function T_(t,e=!0){let s;for(let a=0;a<t.length;a++){const n=t[a];if(Si(n)){if(n.type!==je||n.children==="v-if"){if(s)return;s=n}}else return}return s}const P_=t=>{let e;for(const s in t)(s==="class"||s==="style"||xo(s))&&((e||(e={}))[s]=t[s]);return e},j_=(t,e)=>{const s={};for(const a in t)(!td(a)||!(a.slice(9)in e))&&(s[a]=t[a]);return s};function E_(t,e,s){const{props:a,children:n,component:r}=t,{props:o,children:u,patchFlag:l}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return a?Lc(a,o,d):!!o;if(l&8){const c=e.dynamicProps;for(let b=0;b<c.length;b++){const p=c[b];if(o[p]!==a[p]&&!qo(d,p))return!0}}}else return(n||u)&&(!u||!u.$stable)?!0:a===o?!1:a?o?Lc(a,o,d):!0:!!o;return!1}function Lc(t,e,s){const a=Object.keys(e);if(a.length!==Object.keys(t).length)return!0;for(let n=0;n<a.length;n++){const r=a[n];if(e[r]!==t[r]&&!qo(s,r))return!0}return!1}function hd({vnode:t,parent:e},s){for(;e;){const a=e.subTree;if(a.suspense&&a.suspense.activeBranch===t&&(a.el=t.el),a===t)(t=e.vnode).el=s,e=e.parent;else break}}const Cm=t=>t.__isSuspense;let su=0;const C_={name:"Suspense",__isSuspense:!0,process(t,e,s,a,n,r,o,u,l,d){if(t==null)M_(e,s,a,n,r,o,u,l,d);else{if(r&&r.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}x_(t,e,s,a,n,o,u,l,d)}},hydrate:I_,normalize:D_},wC=C_;function Gn(t,e){const s=t.props&&t.props[e];zt(s)&&s()}function M_(t,e,s,a,n,r,o,u,l){const{p:d,o:{createElement:c}}=l,b=c("div"),p=t.suspense=Mm(t,n,a,e,b,s,r,o,u,l);d(null,p.pendingBranch=t.ssContent,b,null,a,p,r,o),p.deps>0?(Gn(t,"onPending"),Gn(t,"onFallback"),d(null,t.ssFallback,e,s,a,null,r,o),Ra(p,t.ssFallback)):p.resolve(!1,!0)}function x_(t,e,s,a,n,r,o,u,{p:l,um:d,o:{createElement:c}}){const b=e.suspense=t.suspense;b.vnode=e,e.el=t.el;const p=e.ssContent,f=e.ssFallback,{activeBranch:_,pendingBranch:h,isInFallback:y,isHydrating:m}=b;if(h)b.pendingBranch=p,$i(h,p)?(l(h,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0?b.resolve():y&&(m||(l(_,f,s,a,n,null,r,o,u),Ra(b,f)))):(b.pendingId=su++,m?(b.isHydrating=!1,b.activeBranch=h):d(h,n,b),b.deps=0,b.effects.length=0,b.hiddenContainer=c("div"),y?(l(null,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0?b.resolve():(l(_,f,s,a,n,null,r,o,u),Ra(b,f))):_&&$i(_,p)?(l(_,p,s,a,n,b,r,o,u),b.resolve(!0)):(l(null,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0&&b.resolve()));else if(_&&$i(_,p))l(_,p,s,a,n,b,r,o,u),Ra(b,p);else if(Gn(e,"onPending"),b.pendingBranch=p,p.shapeFlag&512?b.pendingId=p.component.suspenseId:b.pendingId=su++,l(null,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0)b.resolve();else{const{timeout:v,pendingId:g}=b;v>0?setTimeout(()=>{b.pendingId===g&&b.fallback(f)},v):v===0&&b.fallback(f)}}function Mm(t,e,s,a,n,r,o,u,l,d,c=!1){const{p:b,m:p,um:f,n:_,o:{parentNode:h,remove:y}}=d;let m;const v=R_(t);v&&e&&e.pendingBranch&&(m=e.pendingId,e.deps++);const g=t.props?z0(t.props.timeout):void 0,k=r,w={vnode:t,parent:e,parentComponent:s,namespace:o,container:a,hiddenContainer:n,deps:0,pendingId:su++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(A=!1,z=!1){const{vnode:S,activeBranch:I,pendingBranch:E,pendingId:D,effects:M,parentComponent:N,container:V,isInFallback:it}=w;let ct=!1;w.isHydrating?w.isHydrating=!1:A||(ct=I&&E.transition&&E.transition.mode==="out-in",ct&&(I.transition.afterLeave=()=>{D===w.pendingId&&(p(E,V,r===k?_(I):r,0),Jr(M),it&&S.ssFallback&&(S.ssFallback.el=null))}),I&&(h(I.el)===V&&(r=_(I)),f(I,N,w,!0),!ct&&it&&S.ssFallback&&(S.ssFallback.el=null)),ct||p(E,V,r,0)),Ra(w,E),w.pendingBranch=null,w.isInFallback=!1;let ot=w.parent,tt=!1;for(;ot;){if(ot.pendingBranch){ot.effects.push(...M),tt=!0;break}ot=ot.parent}!tt&&!ct&&Jr(M),w.effects=[],v&&e&&e.pendingBranch&&m===e.pendingId&&(e.deps--,e.deps===0&&!z&&e.resolve()),Gn(S,"onResolve")},fallback(A){if(!w.pendingBranch)return;const{vnode:z,activeBranch:S,parentComponent:I,container:E,namespace:D}=w;Gn(z,"onFallback");const M=_(S),N=()=>{w.isInFallback&&(b(null,A,E,M,I,null,D,u,l),Ra(w,A))},V=A.transition&&A.transition.mode==="out-in";V&&(S.transition.afterLeave=N),w.isInFallback=!0,f(S,I,null,!0),V||N()},move(A,z,S){w.activeBranch&&p(w.activeBranch,A,z,S),w.container=A},next(){return w.activeBranch&&_(w.activeBranch)},registerDep(A,z,S){const I=!!w.pendingBranch;I&&w.deps++;const E=A.vnode.el;A.asyncDep.catch(D=>{rr(D,A,0)}).then(D=>{if(A.isUnmounted||w.isUnmounted||w.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:M}=A;nu(A,D),E&&(M.el=E);const N=!E&&A.subTree.el;z(A,M,h(E||A.subTree.el),E?null:_(A.subTree),w,o,S),N&&(M.placeholder=null,y(N)),hd(A,M.el),I&&--w.deps===0&&w.resolve()})},unmount(A,z){w.isUnmounted=!0,w.activeBranch&&f(w.activeBranch,s,A,z),w.pendingBranch&&f(w.pendingBranch,s,A,z)}};return w}function I_(t,e,s,a,n,r,o,u,l){const d=e.suspense=Mm(e,a,s,t.parentNode,document.createElement("div"),null,n,r,o,u,!0),c=l(t,d.pendingBranch=e.ssContent,s,d,r,o);return d.deps===0&&d.resolve(!1,!0),c}function D_(t){const{shapeFlag:e,children:s}=t,a=e&32;t.ssContent=Rc(a?s.default:s),t.ssFallback=a?Rc(s.fallback):B(je)}function Rc(t){let e;if(zt(t)){const s=Wa&&t._c;s&&(t._d=!1,H()),t=t(),s&&(t._d=!0,e=li,xm())}return kt(t)&&(t=T_(t)),t=xi(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(s=>s!==t)),t}function L_(t,e){e&&e.pendingBranch?kt(t)?e.effects.push(...t):e.effects.push(t):Jr(t)}function Ra(t,e){t.activeBranch=e;const{vnode:s,parentComponent:a}=t;let n=e.el;for(;!n&&e.component;)e=e.component.subTree,n=e.el;s.el=n,a&&a.subTree===s&&(a.vnode.el=n,hd(a,n))}function R_(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const pt=Symbol.for("v-fgt"),tn=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),Fr=Symbol.for("v-stc"),Cn=[];let li=null;function H(t=!1){Cn.push(li=t?null:[])}function xm(){Cn.pop(),li=Cn[Cn.length-1]||null}let Wa=1;function so(t,e=!1){Wa+=t,t<0&&li&&e&&(li.hasOnce=!0)}function Im(t){return t.dynamicChildren=Wa>0?li||Ca:null,xm(),Wa>0&&li&&li.push(t),t}function J(t,e,s,a,n,r){return Im(q(t,e,s,a,n,r,!0))}function ee(t,e,s,a,n){return Im(B(t,e,s,a,n,!0))}function Si(t){return t?t.__v_isVNode===!0:!1}function $i(t,e){return t.type===e.type&&t.key===e.key}const Dm=({key:t})=>t??null,Gr=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?le(t)||fe(t)||zt(t)?{i:Be,r:t,k:e,f:!!s}:t:null);function q(t,e=null,s=null,a=0,n=null,r=t===pt?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Dm(e),ref:e&&Gr(e),scopeId:tm,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:Be};return u?(yd(l,s),r&128&&t.normalize(l)):s&&(l.shapeFlag|=le(s)?8:16),Wa>0&&!o&&li&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&li.push(l),l}const B=O_;function O_(t,e=null,s=null,a=0,n=null,r=!1){if((!t||t===pm)&&(t=je),Si(t)){const u=Ls(t,e,!0);return s&&yd(u,s),Wa>0&&!r&&li&&(u.shapeFlag&6?li[li.indexOf(t)]=u:li.push(u)),u.patchFlag=-2,u}if(W_(t)&&(t=t.__vccOpts),e){e=N_(e);let{class:u,style:l}=e;u&&!le(u)&&(e.class=St(u)),se(l)&&(ld(l)&&!kt(l)&&(l=Se({},l)),e.style=Nt(l))}const o=le(t)?1:Cm(t)?128:im(t)?64:se(t)?4:zt(t)?2:0;return q(t,e,s,a,n,o,r,!0)}function N_(t){return t?ld(t)||ym(t)?Se({},t):t:null}function Ls(t,e,s=!1,a=!1){const{props:n,ref:r,patchFlag:o,children:u,transition:l}=t,d=e?Ct(n||{},e):n,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&Dm(d),ref:e&&e.ref?s&&r?kt(r)?r.concat(Gr(e)):[r,Gr(e)]:Gr(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:u,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==pt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ls(t.ssContent),ssFallback:t.ssFallback&&Ls(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&a&&sa(c,l.clone(c)),c}function Mt(t=" ",e=0){return B(tn,null,t,e)}function Dt(t="",e=!1){return e?(H(),ee(je,null,t)):B(je,null,t)}function xi(t){return t==null||typeof t=="boolean"?B(je):kt(t)?B(pt,null,t.slice()):Si(t)?Es(t):B(tn,null,String(t))}function Es(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ls(t)}function yd(t,e){let s=0;const{shapeFlag:a}=t;if(e==null)e=null;else if(kt(e))s=16;else if(typeof e=="object")if(a&65){const n=e.default;n&&(n._c&&(n._d=!1),yd(t,n()),n._c&&(n._d=!0));return}else{s=32;const n=e._;!n&&!ym(e)?e._ctx=Be:n===3&&Be&&(Be.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else zt(e)?(e={default:e,_ctx:Be},s=32):(e=String(e),a&64?(s=16,e=[Mt(e)]):s=8);t.children=e,t.shapeFlag|=s}function Ct(...t){const e={};for(let s=0;s<t.length;s++){const a=t[s];for(const n in a)if(n==="class")e.class!==a.class&&(e.class=St([e.class,a.class]));else if(n==="style")e.style=Nt([e.style,a.style]);else if(xo(n)){const r=e[n],o=a[n];o&&r!==o&&!(kt(r)&&r.includes(o))&&(e[n]=r?[].concat(r,o):o)}else n!==""&&(e[n]=a[n])}return e}function Ui(t,e,s,a=null){Ni(t,e,7,[s,a])}const B_=_m();let F_=0;function G_(t,e,s){const a=t.type,n=(e?e.appContext:t.appContext)||B_,r={uid:F_++,vnode:t,type:a,parent:e,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new E0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(n.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wm(a,n),emitsOptions:Em(a,n),emit:null,emitted:null,propsDefaults:Vt,inheritAttrs:a.inheritAttrs,ctx:Vt,data:Vt,props:Vt,attrs:Vt,slots:Vt,refs:Vt,setupState:Vt,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=A_.bind(null,r),t.ce&&t.ce(r),r}let Ke=null;const ks=()=>Ke||Be;let ao,au;{const t=Lo(),e=(s,a)=>{let n;return(n=t[s])||(n=t[s]=[]),n.push(a),r=>{n.length>1?n.forEach(o=>o(r)):n[0](r)}};ao=e("__VUE_INSTANCE_SETTERS__",s=>Ke=s),au=e("__VUE_SSR_SETTERS__",s=>Un=s)}const lr=t=>{const e=Ke;return ao(t),t.scope.on(),()=>{t.scope.off(),ao(e)}},Oc=()=>{Ke&&Ke.scope.off(),ao(null)};function Lm(t){return t.vnode.shapeFlag&4}let Un=!1;function U_(t,e=!1,s=!1){e&&au(e);const{props:a,children:n}=t.vnode,r=Lm(t);d_(t,a,r,e),m_(t,n,s||e);const o=r?q_(t,e):void 0;return e&&au(!1),o}function q_(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,t_);const{setup:a}=s;if(a){vs();const n=t.setupContext=a.length>1?Om(t):null,r=lr(t),o=nr(a,t,0,[t.props,n]),u=k0(o);if(_s(),r(),(u||t.sp)&&!Da(t)&&dm(t),u){if(o.then(Oc,Oc),e)return o.then(l=>{nu(t,l)}).catch(l=>{rr(l,t,0)});t.asyncDep=o}else nu(t,o)}else Rm(t)}function nu(t,e,s){zt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:se(e)&&(t.setupState=$0(e)),Rm(t)}function Rm(t,e,s){const a=t.type;t.render||(t.render=a.render||Ri);{const n=lr(t);vs();try{s_(t)}finally{_s(),n()}}}const V_={get(t,e){return We(t,"get",""),t[e]}};function Om(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,V_),slots:t.slots,emit:t.emit,expose:e}}function Vo(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy($0(W0(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in En)return En[s](t)},has(e,s){return s in e||s in En}})):t.proxy}function H_(t,e=!0){return zt(t)?t.displayName||t.name:t.name||e&&t.__name}function W_(t){return zt(t)&&"__vccOpts"in t}const G=(t,e)=>Ov(t,e,Un);function oe(t,e,s){try{so(-1);const a=arguments.length;return a===2?se(e)&&!kt(e)?Si(e)?B(t,null,[e]):B(t,e):B(t,null,e):(a>3?s=Array.prototype.slice.call(arguments,2):a===3&&Si(s)&&(s=[s]),B(t,e,s))}finally{so(1)}}const K_="3.5.24";let ru;const Nc=typeof window<"u"&&window.trustedTypes;if(Nc)try{ru=Nc.createPolicy("vue",{createHTML:t=>t})}catch{}const Nm=ru?t=>ru.createHTML(t):t=>t,$_="http://www.w3.org/2000/svg",Y_="http://www.w3.org/1998/Math/MathML",us=typeof document<"u"?document:null,Bc=us&&us.createElement("template"),X_={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,a)=>{const n=e==="svg"?us.createElementNS($_,t):e==="mathml"?us.createElementNS(Y_,t):s?us.createElement(t,{is:s}):us.createElement(t);return t==="select"&&a&&a.multiple!=null&&n.setAttribute("multiple",a.multiple),n},createText:t=>us.createTextNode(t),createComment:t=>us.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>us.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,a,n,r){const o=s?s.previousSibling:e.lastChild;if(n&&(n===r||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),s),!(n===r||!(n=n.nextSibling)););else{Bc.innerHTML=Nm(a==="svg"?`<svg>${t}</svg>`:a==="mathml"?`<math>${t}</math>`:t);const u=Bc.content;if(a==="svg"||a==="mathml"){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}e.insertBefore(u,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},As="transition",dn="animation",Ka=Symbol("_vtc"),Bm={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},Fm=Se({},rm,Bm),Z_=t=>(t.displayName="Transition",t.props=Fm,t),aa=Z_((t,{slots:e})=>oe(Hv,Gm(t),e)),Ks=(t,e=[])=>{kt(t)?t.forEach(s=>s(...e)):t&&t(...e)},Fc=t=>t?kt(t)?t.some(e=>e.length>1):t.length>1:!1;function Gm(t){const e={};for(const M in t)M in Bm||(e[M]=t[M]);if(t.css===!1)return e;const{name:s="v",type:a,duration:n,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:u=`${s}-enter-to`,appearFromClass:l=r,appearActiveClass:d=o,appearToClass:c=u,leaveFromClass:b=`${s}-leave-from`,leaveActiveClass:p=`${s}-leave-active`,leaveToClass:f=`${s}-leave-to`}=t,_=Q_(n),h=_&&_[0],y=_&&_[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:g,onLeave:k,onLeaveCancelled:w,onBeforeAppear:A=m,onAppear:z=v,onAppearCancelled:S=g}=e,I=(M,N,V,it)=>{M._enterCancelled=it,Ps(M,N?c:u),Ps(M,N?d:o),V&&V()},E=(M,N)=>{M._isLeaving=!1,Ps(M,b),Ps(M,f),Ps(M,p),N&&N()},D=M=>(N,V)=>{const it=M?z:v,ct=()=>I(N,M,V);Ks(it,[N,ct]),Gc(()=>{Ps(N,M?l:r),Hi(N,M?c:u),Fc(it)||Uc(N,a,h,ct)})};return Se(e,{onBeforeEnter(M){Ks(m,[M]),Hi(M,r),Hi(M,o)},onBeforeAppear(M){Ks(A,[M]),Hi(M,l),Hi(M,d)},onEnter:D(!1),onAppear:D(!0),onLeave(M,N){M._isLeaving=!0;const V=()=>E(M,N);Hi(M,b),M._enterCancelled?(Hi(M,p),ou(M)):(ou(M),Hi(M,p)),Gc(()=>{M._isLeaving&&(Ps(M,b),Hi(M,f),Fc(k)||Uc(M,a,y,V))}),Ks(k,[M,V])},onEnterCancelled(M){I(M,!1,void 0,!0),Ks(g,[M])},onAppearCancelled(M){I(M,!0,void 0,!0),Ks(S,[M])},onLeaveCancelled(M){E(M),Ks(w,[M])}})}function Q_(t){if(t==null)return null;if(se(t))return[cl(t.enter),cl(t.leave)];{const e=cl(t);return[e,e]}}function cl(t){return z0(t)}function Hi(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Ka]||(t[Ka]=new Set)).add(e)}function Ps(t,e){e.split(/\s+/).forEach(a=>a&&t.classList.remove(a));const s=t[Ka];s&&(s.delete(e),s.size||(t[Ka]=void 0))}function Gc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let J_=0;function Uc(t,e,s,a){const n=t._endId=++J_,r=()=>{n===t._endId&&a()};if(s!=null)return setTimeout(r,s);const{type:o,timeout:u,propCount:l}=Um(t,e);if(!o)return a();const d=o+"end";let c=0;const b=()=>{t.removeEventListener(d,p),r()},p=f=>{f.target===t&&++c>=l&&b()};setTimeout(()=>{c<l&&b()},u+1),t.addEventListener(d,p)}function Um(t,e){const s=window.getComputedStyle(t),a=_=>(s[_]||"").split(", "),n=a(`${As}Delay`),r=a(`${As}Duration`),o=qc(n,r),u=a(`${dn}Delay`),l=a(`${dn}Duration`),d=qc(u,l);let c=null,b=0,p=0;e===As?o>0&&(c=As,b=o,p=r.length):e===dn?d>0&&(c=dn,b=d,p=l.length):(b=Math.max(o,d),c=b>0?o>d?As:dn:null,p=c?c===As?r.length:l.length:0);const f=c===As&&/\b(?:transform|all)(?:,|$)/.test(a(`${As}Property`).toString());return{type:c,timeout:b,propCount:p,hasTransform:f}}function qc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,a)=>Vc(s)+Vc(t[a])))}function Vc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function ou(t){return(t?t.ownerDocument:document).body.offsetHeight}function tg(t,e,s){const a=t[Ka];a&&(e=(e?[e,...a]:[...a]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const no=Symbol("_vod"),qm=Symbol("_vsh"),ur={name:"show",beforeMount(t,{value:e},{transition:s}){t[no]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):cn(t,e)},mounted(t,{value:e},{transition:s}){s&&e&&s.enter(t)},updated(t,{value:e,oldValue:s},{transition:a}){!e!=!s&&(a?e?(a.beforeEnter(t),cn(t,!0),a.enter(t)):a.leave(t,()=>{cn(t,!1)}):cn(t,e))},beforeUnmount(t,{value:e}){cn(t,e)}};function cn(t,e){t.style.display=e?t[no]:"none",t[qm]=!e}const Vm=Symbol("");function SC(t){const e=ks();if(!e)return;const s=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>ro(r,n))},a=()=>{const n=t(e.proxy);e.ce?ro(e.ce,n):lu(e.subTree,n),s(n)};pd(()=>{Jr(a)}),Xe(()=>{At(a,Ri,{flush:"post"});const n=new MutationObserver(a);n.observe(e.subTree.el.parentNode,{childList:!0}),Go(()=>n.disconnect())})}function lu(t,e){if(t.shapeFlag&128){const s=t.suspense;t=s.activeBranch,s.pendingBranch&&!s.isHydrating&&s.effects.push(()=>{lu(s.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)ro(t.el,e);else if(t.type===pt)t.children.forEach(s=>lu(s,e));else if(t.type===Fr){let{el:s,anchor:a}=t;for(;s&&(ro(s,e),s!==a);)s=s.nextSibling}}function ro(t,e){if(t.nodeType===1){const s=t.style;let a="";for(const n in e){const r=dv(e[n]);s.setProperty(`--${n}`,r),a+=`--${n}: ${r};`}s[Vm]=a}}const eg=/(?:^|;)\s*display\s*:/;function ig(t,e,s){const a=t.style,n=le(s);let r=!1;if(s&&!n){if(e)if(le(e))for(const o of e.split(";")){const u=o.slice(0,o.indexOf(":")).trim();s[u]==null&&Ur(a,u,"")}else for(const o in e)s[o]==null&&Ur(a,o,"");for(const o in s)o==="display"&&(r=!0),Ur(a,o,s[o])}else if(n){if(e!==s){const o=a[Vm];o&&(s+=";"+o),a.cssText=s,r=eg.test(s)}}else e&&t.removeAttribute("style");no in t&&(t[no]=r?a.display:"",t[qm]&&(a.display="none"))}const Hc=/\s*!important$/;function Ur(t,e,s){if(kt(s))s.forEach(a=>Ur(t,e,a));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const a=sg(t,e);Hc.test(s)?t.setProperty(Ns(a),s.replace(Hc,""),"important"):t[a]=s}}const Wc=["Webkit","Moz","ms"],bl={};function sg(t,e){const s=bl[e];if(s)return s;let a=Ye(e);if(a!=="filter"&&a in t)return bl[e]=a;a=Ja(a);for(let n=0;n<Wc.length;n++){const r=Wc[n]+a;if(r in t)return bl[e]=r}return e}const Kc="http://www.w3.org/1999/xlink";function $c(t,e,s,a,n,r=uv(e)){a&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Kc,e.slice(6,e.length)):t.setAttributeNS(Kc,e,s):s==null||r&&!T0(s)?t.removeAttribute(e):t.setAttribute(e,r?"":hs(s)?String(s):s)}function Yc(t,e,s,a,n){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Nm(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const u=r==="OPTION"?t.getAttribute("value")||"":t.value,l=s==null?t.type==="checkbox"?"on":"":String(s);(u!==l||!("_value"in t))&&(t.value=l),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const u=typeof t[e];u==="boolean"?s=T0(s):s==null&&u==="string"?(s="",o=!0):u==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(n||e)}function ag(t,e,s,a){t.addEventListener(e,s,a)}function ng(t,e,s,a){t.removeEventListener(e,s,a)}const Xc=Symbol("_vei");function rg(t,e,s,a,n=null){const r=t[Xc]||(t[Xc]={}),o=r[e];if(a&&o)o.value=a;else{const[u,l]=og(e);if(a){const d=r[e]=dg(a,n);ag(t,u,d,l)}else o&&(ng(t,u,o,l),r[e]=void 0)}}const Zc=/(?:Once|Passive|Capture)$/;function og(t){let e;if(Zc.test(t)){e={};let a;for(;a=t.match(Zc);)t=t.slice(0,t.length-a[0].length),e[a[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Ns(t.slice(2)),e]}let pl=0;const lg=Promise.resolve(),ug=()=>pl||(lg.then(()=>pl=0),pl=Date.now());function dg(t,e){const s=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=s.attached)return;Ni(cg(a,s.value),e,5,[a])};return s.value=t,s.attached=ug(),s}function cg(t,e){if(kt(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(a=>n=>!n._stopped&&a&&a(n))}else return e}const Qc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,bg=(t,e,s,a,n,r)=>{const o=n==="svg";e==="class"?tg(t,a,o):e==="style"?ig(t,s,a):xo(e)?td(e)||rg(t,e,s,a,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pg(t,e,a,o))?(Yc(t,e,a),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&$c(t,e,a,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!le(a))?Yc(t,Ye(e),a,r,e):(e==="true-value"?t._trueValue=a:e==="false-value"&&(t._falseValue=a),$c(t,e,a,o))};function pg(t,e,s,a){if(a)return!!(e==="innerHTML"||e==="textContent"||e in t&&Qc(e)&&zt(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=t.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return Qc(e)&&le(s)?!1:e in t}const Hm=new WeakMap,Wm=new WeakMap,oo=Symbol("_moveCb"),Jc=Symbol("_enterCb"),mg=t=>(delete t.props.mode,t),fg=mg({name:"TransitionGroup",props:Se({},Fm,{tag:String,moveClass:String}),setup(t,{slots:e}){const s=ks(),a=nm();let n,r;return or(()=>{if(!n.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!hg(n[0].el,s.vnode.el,o)){n=[];return}n.forEach(vg),n.forEach(_g);const u=n.filter(gg);ou(s.vnode.el),u.forEach(l=>{const d=l.el,c=d.style;Hi(d,o),c.transform=c.webkitTransform=c.transitionDuration="";const b=d[oo]=p=>{p&&p.target!==d||(!p||p.propertyName.endsWith("transform"))&&(d.removeEventListener("transitionend",b),d[oo]=null,Ps(d,o))};d.addEventListener("transitionend",b)}),n=[]}),()=>{const o=wt(t),u=Gm(o);let l=o.tag||pt;if(n=[],r)for(let d=0;d<r.length;d++){const c=r[d];c.el&&c.el instanceof Element&&(n.push(c),sa(c,Bn(c,u,a,s)),Hm.set(c,{left:c.el.offsetLeft,top:c.el.offsetTop}))}r=e.default?cd(e.default()):[];for(let d=0;d<r.length;d++){const c=r[d];c.key!=null&&sa(c,Bn(c,u,a,s))}return B(l,null,r)}}}),kd=fg;function vg(t){const e=t.el;e[oo]&&e[oo](),e[Jc]&&e[Jc]()}function _g(t){Wm.set(t,{left:t.el.offsetLeft,top:t.el.offsetTop})}function gg(t){const e=Hm.get(t),s=Wm.get(t),a=e.left-s.left,n=e.top-s.top;if(a||n){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${a}px,${n}px)`,r.transitionDuration="0s",t}}function hg(t,e,s){const a=t.cloneNode(),n=t[Ka];n&&n.forEach(u=>{u.split(/\s+/).forEach(l=>l&&a.classList.remove(l))}),s.split(/\s+/).forEach(u=>u&&a.classList.add(u)),a.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(a);const{hasTransform:o}=Um(a);return r.removeChild(a),o}const yg=["ctrl","shift","alt","meta"],kg={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>yg.some(s=>t[`${s}Key`]&&!e.includes(s))},ml=(t,e)=>{const s=t._withMods||(t._withMods={}),a=e.join(".");return s[a]||(s[a]=((n,...r)=>{for(let o=0;o<e.length;o++){const u=kg[e[o]];if(u&&u(n,e))return}return t(n,...r)}))},wg=Se({patchProp:bg},X_);let tb;function Sg(){return tb||(tb=v_(wg))}const Ag=((...t)=>{const e=Sg().createApp(...t),{mount:s}=e;return e.mount=a=>{const n=Tg(a);if(!n)return;const r=e._component;!zt(r)&&!r.render&&!r.template&&(r.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const o=s(n,!1,zg(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},e});function zg(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Tg(t){return le(t)?document.querySelector(t):t}const AC="this_value_is_encrypted",zC="none";var Pg=(t=>(t.ALL="ALL",t.FL="FL",t.FR="FR",t))(Pg||{}),Km=(t=>(t.PARAMETRIC_EQ="parametric_eq",t.TONE_CONTROL="tone_control",t))(Km||{}),jg=(t=>(t.PEAK="peak",t.HIGH_SHELF="high_shelf",t.LOW_SHELF="low_shelf",t.HIGH_PASS="high_pass",t.LOW_PASS="low_pass",t.NOTCH="notch",t))(jg||{}),qr=(t=>(t.ENABLED="enabled",t.DISABLED="disabled",t.DISABLED_BY_UNSUPPORTED_GROUP="disabled_by_unsupported_group",t))(qr||{}),ht=(t=>(t.ARTIST="artist",t.ALBUM="album",t.TRACK="track",t.PLAYLIST="playlist",t.RADIO="radio",t.AUDIOBOOK="audiobook",t.PODCAST="podcast",t.PODCAST_EPISODE="podcast_episode",t.FOLDER="folder",t.UNKNOWN="unknown",t))(ht||{}),Zi=(t=>(t.THUMB="thumb",t.LANDSCAPE="landscape",t.FANART="fanart",t.LOGO="logo",t.CLEARART="clearart",t.BANNER="banner",t.CUTOUT="cutout",t.BACK="back",t.DISCART="discart",t.OTHER="other",t))(Zi||{}),Eg=(t=>(t.ALBUM="album",t.SINGLE="single",t.COMPILATION="compilation",t.EP="ep",t.LIVE="live",t.SOUNDTRACK="soundtrack",t.UNKNOWN="unknown",t))(Eg||{}),Xt=(t=>(t.OGG="ogg",t.WAV="wav",t.AIFF="aiff",t.MPEG="mpeg",t.M4A="m4a",t.MP4A="mp4a",t.MP4="mp4",t.M4B="m4b",t.DSF="dsf",t.FLAC="flac",t.MP3="mp3",t.WMA="wma",t.WMAV2="wmav2",t.WMAPRO="wmapro",t.WAVPACK="wavpack",t.TAK="tak",t.APE="ape",t.MUSEPACK="mpc",t.AAC="aac",t.ALAC="alac",t.OPUS="opus",t.VORBIS="vorbis",t.AC3="ac3",t.EAC3="eac3",t.DTS="dts",t.TRUEHD="truehd",t.DTSHD="dtshd",t.DTSX="dtsx",t.COOK="cook",t.RA_144="ralf",t.MP2="mp2",t.MP1="mp1",t.DRA="dra",t.ATRAC3="atrac3",t.PCM_S16LE="s16le",t.PCM_S24LE="s24le",t.PCM_S32LE="s32le",t.PCM_F32LE="f32le",t.PCM_F64LE="f64le",t.PCM_S16BE="s16be",t.PCM_S24BE="s24be",t.PCM_S32BE="s32be",t.PCM_BLURAY="pcm_bluray",t.PCM_DVD="pcm_dvd",t.ADPCM_IMA="adpcm_ima_qt",t.ADPCM_MS="adpcm_ms",t.ADPCM_SWF="adpcm_swf",t.DSD_LSBF="dsd_lsbf",t.DSD_MSBF="dsd_msbf",t.DSD_LSBF_PLANAR="dsd_lsbf_planar",t.DSD_MSBF_PLANAR="dsd_msbf_planar",t.AMR="amr_nb",t.AMR_WB="amr_wb",t.SPEEX="speex",t.PCM_ALAW="alaw",t.PCM_MULAW="mulaw",t.G722="g722",t.G726="g726",t.PCM="pcm",t.UNKNOWN="?",t))(Xt||{}),Ne=(t=>(t.PLAY="play",t.REPLACE="replace",t.NEXT="next",t.REPLACE_NEXT="replace_next",t.ADD="add",t))(Ne||{}),Sa=(t=>(t.OFF="off",t.ONE="one",t.ALL="all",t))(Sa||{}),Oa=(t=>(t.IDLE="idle",t.PAUSED="paused",t.PLAYING="playing",t))(Oa||{}),$m=(t=>(t.PLAYER="player",t.GROUP="group",t.STEREO_PAIR="stereo_pair",t))($m||{}),Cg=(t=>(t.POWER="power",t.VOLUME_SET="volume_set",t.VOLUME_MUTE="volume_mute",t.PAUSE="pause",t.SET_MEMBERS="set_members",t.MULTI_DEVICE_DSP="multi_device_dsp",t.SEEK="seek",t.NEXT_PREVIOUS="next_previous",t.PLAY_ANNOUNCEMENT="play_announcement",t.ENQUEUE="enqueue",t.SELECT_SOURCE="select_source",t))(Cg||{}),Ie=(t=>(t.PLAYER_ADDED="player_added",t.PLAYER_UPDATED="player_updated",t.PLAYER_REMOVED="player_removed",t.PLAYER_SETTINGS_UPDATED="player_settings_updated",t.QUEUE_ADDED="queue_added",t.QUEUE_UPDATED="queue_updated",t.QUEUE_ITEMS_UPDATED="queue_items_updated",t.QUEUE_TIME_UPDATED="queue_time_updated",t.QUEUE_SETTINGS_UPDATED="queue_settings_updated",t.SHUTDOWN="application_shutdown",t.MEDIA_ITEM_ADDED="media_item_added",t.MEDIA_ITEM_UPDATED="media_item_updated",t.MEDIA_ITEM_DELETED="media_item_deleted",t.MEDIA_ITEM_PLAYED="media_item_played",t.PROVIDERS_UPDATED="providers_updated",t.PLAYER_CONFIG_UPDATED="player_config_updated",t.PLAYER_DSP_CONFIG_UPDATED="player_dsp_config_updated",t.DSP_PRESETS_UPDATED="dsp_presets_updated",t.SYNC_TASKS_UPDATED="sync_tasks_updated",t.AUTH_SESSION="auth_session",t.BUILTIN_PLAYER="builtin_player",t.CONNECTED="connected",t.DISCONNECTED="disconnected",t.ALL="*",t))(Ie||{}),Ci=(t=>(t.PLAY="play",t.PAUSE="pause",t.RESUME="resume",t.STOP="stop",t.MUTE="mute",t.UNMUTE="unmute",t.SET_VOLUME="set_volume",t.PLAY_MEDIA="play_media",t.TIMEOUT="timeout",t.POWER_OFF="power_off",t.POWER_ON="power_on",t))(Ci||{}),Vr=(t=>(t.BROWSE="browse",t.SEARCH="search",t.RECOMMENDATIONS="recommendations",t.LIBRARY_ARTISTS="library_artists",t.LIBRARY_ALBUMS="library_albums",t.LIBRARY_TRACKS="library_tracks",t.LIBRARY_PLAYLISTS="library_playlists",t.LIBRARY_RADIOS="library_radios",t.ARTIST_ALBUMS="artist_albums",t.ARTIST_TOPTRACKS="artist_toptracks",t.LIBRARY_ARTISTS_EDIT="library_artists_edit",t.LIBRARY_ALBUMS_EDIT="library_albums_edit",t.LIBRARY_TRACKS_EDIT="library_tracks_edit",t.LIBRARY_PLAYLISTS_EDIT="library_playlists_edit",t.LIBRARY_RADIOS_EDIT="library_radios_edit",t.SIMILAR_TRACKS="similar_tracks",t.PLAYLIST_TRACKS_EDIT="playlist_tracks_edit",t.PLAYLIST_CREATE="playlist_create",t.SYNC_PLAYERS="sync_players",t.REMOVE_PLAYER="remove_player",t.REMOVE_GROUP_PLAYER="remove_group_player",t.CREATE_GROUP_PLAYER="create_group_player",t.ARTIST_METADATA="artist_metadata",t.ALBUM_METADATA="album_metadata",t.TRACK_METADATA="track_metadata",t))(Vr||{}),Mg=(t=>(t.MUSIC="music",t.PLAYER="player",t.METADATA="metadata",t.PLUGIN="plugin",t))(Mg||{}),xg=(t=>(t.BOOLEAN="boolean",t.STRING="string",t.SECURE_STRING="secure_string",t.INTEGER="integer",t.FLOAT="float",t.LABEL="label",t.DIVIDER="divider",t.ACTION="action",t.ICON="icon",t.ALERT="alert",t.DSP_SETTINGS="dsp_settings",t))(xg||{}),yn=(t=>(t.DISABLED="disabled",t.DYNAMIC="dynamic",t.MEASUREMENT_ONLY="measurement_only",t.FALLBACK_FIXED_GAIN="fallback_fixed_gain",t.FIXED_GAIN="fixed_gain",t.FALLBACK_DYNAMIC="fallback_dynamic",t))(yn||{}),Aa=(t=>(t.NEVER="never",t.WHEN_OFF="when_off",t.WHEN_GROUP_ACTIVE="when_group_active",t.WHEN_SYNCED="when_synced",t.WHEN_UNAVAILABLE="when_unavailable",t.ALWAYS="always",t))(Aa||{}),Ig=(t=>(t.ALPHA="alpha",t.BETA="beta",t.STABLE="stable",t.EXPERIMENTAL="experimental",t.UNMAINTAINED="unmaintained",t.DEPRECATED="deprecated",t))(Ig||{}),Dg=(t=>(t.ADMIN="admin",t.USER="user",t))(Dg||{});function Lg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fl={exports:{}},eb;function Rg(){return eb||(eb=1,(function(t){(function(e,s){e(function(){var a={};a.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},a.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var n=Object.prototype.hasOwnProperty,r;a.FALLBACK_PHONE="UnknownPhone",a.FALLBACK_TABLET="UnknownTablet",a.FALLBACK_MOBILE="UnknownMobile",r="isArray"in Array?Array.isArray:function(b){return Object.prototype.toString.call(b)==="[object Array]"};function o(b,p){return b!=null&&p!=null&&b.toLowerCase()===p.toLowerCase()}function u(b,p){var f,_,h=b.length;if(!h||!p)return!1;for(f=p.toLowerCase(),_=0;_<h;++_)if(f===b[_].toLowerCase())return!0;return!1}function l(b){for(var p in b)n.call(b,p)&&(b[p]=new RegExp(b[p],"i"))}function d(b){return(b||"").substr(0,500)}(function(){var p,f,_,h,y,m,v=a.mobileDetectRules;for(p in v.props)if(n.call(v.props,p)){for(f=v.props[p],r(f)||(f=[f]),y=f.length,h=0;h<y;++h)_=f[h],m=_.indexOf("[VER]"),m>=0&&(_=_.substring(0,m)+"([\\w._\\+]+)"+_.substring(m+5)),f[h]=new RegExp(_,"i");v.props[p]=f}l(v.oss),l(v.phones),l(v.tablets),l(v.uas),l(v.utils),v.oss0={WindowsPhoneOS:v.oss.WindowsPhoneOS,WindowsMobileOS:v.oss.WindowsMobileOS}})(),a.findMatch=function(b,p){for(var f in b)if(n.call(b,f)&&b[f].test(p))return f;return null},a.findMatches=function(b,p){var f=[];for(var _ in b)n.call(b,_)&&b[_].test(p)&&f.push(_);return f},a.getVersionStr=function(b,p){var f=a.mobileDetectRules.props,_,h,y,m;if(n.call(f,b)){for(_=f[b],y=_.length,h=0;h<y;++h)if(m=_[h].exec(p),m!==null)return m[1]}return null},a.getVersion=function(b,p){var f=a.getVersionStr(b,p);return f?a.prepareVersionNo(f):NaN},a.prepareVersionNo=function(b){var p;return p=b.split(/[a-z._ \/\-]/i),p.length===1&&(b=p[0]),p.length>1&&(b=p[0]+".",p.shift(),b+=p.join("")),Number(b)},a.isMobileFallback=function(b){return a.detectMobileBrowsers.fullPattern.test(b)||a.detectMobileBrowsers.shortPattern.test(b.substr(0,4))},a.isTabletFallback=function(b){return a.detectMobileBrowsers.tabletPattern.test(b)},a.prepareDetectionCache=function(b,p,f){if(b.mobile===s){var _,h,y;if(h=a.findMatch(a.mobileDetectRules.tablets,p),h){b.mobile=b.tablet=h,b.phone=null;return}if(_=a.findMatch(a.mobileDetectRules.phones,p),_){b.mobile=b.phone=_,b.tablet=null;return}a.isMobileFallback(p)?(y=c.isPhoneSized(f),y===s?(b.mobile=a.FALLBACK_MOBILE,b.tablet=b.phone=null):y?(b.mobile=b.phone=a.FALLBACK_PHONE,b.tablet=null):(b.mobile=b.tablet=a.FALLBACK_TABLET,b.phone=null)):a.isTabletFallback(p)?(b.mobile=b.tablet=a.FALLBACK_TABLET,b.phone=null):b.mobile=b.tablet=b.phone=null}},a.mobileGrade=function(b){var p=b.mobile()!==null;return b.os("iOS")&&b.version("iPad")>=4.3||b.os("iOS")&&b.version("iPhone")>=3.1||b.os("iOS")&&b.version("iPod")>=3.1||b.version("Android")>2.1&&b.is("Webkit")||b.version("Windows Phone OS")>=7||b.is("BlackBerry")&&b.version("BlackBerry")>=6||b.match("Playbook.*Tablet")||b.version("webOS")>=1.4&&b.match("Palm|Pre|Pixi")||b.match("hp.*TouchPad")||b.is("Firefox")&&b.version("Firefox")>=12||b.is("Chrome")&&b.is("AndroidOS")&&b.version("Android")>=4||b.is("Skyfire")&&b.version("Skyfire")>=4.1&&b.is("AndroidOS")&&b.version("Android")>=2.3||b.is("Opera")&&b.version("Opera Mobi")>11&&b.is("AndroidOS")||b.is("MeeGoOS")||b.is("Tizen")||b.is("Dolfin")&&b.version("Bada")>=2||(b.is("UC Browser")||b.is("Dolfin"))&&b.version("Android")>=2.3||b.match("Kindle Fire")||b.is("Kindle")&&b.version("Kindle")>=3||b.is("AndroidOS")&&b.is("NookTablet")||b.version("Chrome")>=11&&!p||b.version("Safari")>=5&&!p||b.version("Firefox")>=4&&!p||b.version("MSIE")>=7&&!p||b.version("Opera")>=10&&!p?"A":b.os("iOS")&&b.version("iPad")<4.3||b.os("iOS")&&b.version("iPhone")<3.1||b.os("iOS")&&b.version("iPod")<3.1||b.is("Blackberry")&&b.version("BlackBerry")>=5&&b.version("BlackBerry")<6||b.version("Opera Mini")>=5&&b.version("Opera Mini")<=6.5&&(b.version("Android")>=2.3||b.is("iOS"))||b.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||b.version("Opera Mobi")>=11&&b.is("SymbianOS")?"B":(b.version("BlackBerry")<5||b.match("MSIEMobile|Windows CE.*Mobile")||b.version("Windows Mobile")<=5.2,"C")},a.detectOS=function(b){return a.findMatch(a.mobileDetectRules.oss0,b)||a.findMatch(a.mobileDetectRules.oss,b)},a.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height};function c(b,p){this.ua=d(b),this._cache={},this.maxPhoneWidth=p||600}return c.prototype={constructor:c,mobile:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===s&&(this._cache.userAgent=a.findMatch(a.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===s&&(this._cache.userAgents=a.findMatches(a.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===s&&(this._cache.os=a.detectOS(this.ua)),this._cache.os},version:function(b){return a.getVersion(b,this.ua)},versionStr:function(b){return a.getVersionStr(b,this.ua)},is:function(b){return u(this.userAgents(),b)||o(b,this.os())||o(b,this.phone())||o(b,this.tablet())||u(a.findMatches(a.mobileDetectRules.utils,this.ua),b)},match:function(b){return b instanceof RegExp||(b=new RegExp(b,"i")),b.test(this.ua)},isPhoneSized:function(b){return c.isPhoneSized(b||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===s&&(this._cache.grade=a.mobileGrade(this)),this._cache.grade}},typeof window<"u"&&window.screen?c.isPhoneSized=function(b){return b<0?s:a.getDeviceSmallerSide()<=b}:c.isPhoneSized=function(){},c._impl=a,c.version="1.4.5 2021-03-13",c})})((function(e){if(t.exports)return function(s){t.exports=s()};if(typeof window<"u")return function(s){window.MobileDetect=s()};throw new Error("unknown environment")})())})(fl)),fl.exports}var Og=Rg();const Ym=Lg(Og),Na=new Ym(window.navigator.userAgent),He={bp0:375,bp1:500,bp2:540,bp3:575,bp4:715,bp5:800,bp6:960,bp7:1100,bp8:1500,bp9:1700,bp10:1900,bp11:415},he=we({width:window.innerWidth});window.addEventListener("resize",()=>{he.width=window.innerWidth});const Je=t=>{let e="bp1",s="gt",a=0;if(typeof t=="object"?(e=t.breakpoint,s=t.condition||"gt",a=t.offset||0):e=t,Object.values(["mobile","phone","tablet"]).includes(e))switch(typeof t=="object"&&(s=t.condition||"lt"),e){case"mobile":return Na.mobile()?!0:s==="lt"?he.width<He.bp3:he.width>=He.bp3;case"phone":return Na.phone()?!0:s==="lt"?he.width<He.bp3:he.width>=He.bp3;case"tablet":return Na.tablet()?!0:s==="lt"?he.width<He.bp3:he.width>=He.bp3}else return s==="lt"?he.width<He[e]+a:he.width>=He[e]+a;return!1},ib=()=>{he.width=window.innerWidth},Ng={beforeMount(t,e){let s="gt",a="bp1",n=0;typeof e.value=="object"?(s=e.value.condition,a=e.value.breakpoint,n=e.value.offset||0):a=e.value,Object.values(["mobile","phone","tablet"]).includes(a)&&(s=e.value.condition||"lt");const r=u=>{if(u==="mobile")return!!Na.mobile()?!0:s==="lt"?he.width<He.bp3:he.width>=He.bp3;if(u==="phone")return!!Na.phone()?!0:s==="lt"?he.width<He.bp3:he.width>=He.bp3;if(u==="tablet")return!!Na.tablet()?!0:s==="lt"?he.width<He.bp3:he.width>=He.bp3},o=()=>{Object.values(["mobile","phone","tablet"]).includes(a)?r(a)?t.style.display="":t.style.display="none":(s==="lt"?he.width<He[a]+n:he.width>=He[a]+n)?t.style.display="":t.style.display="none"};window.addEventListener("resize",ib),At(()=>he.width,o),o(),t._onDestroy=()=>{window.removeEventListener("resize",ib)}},unmounted(t){t._onDestroy()}},Bg={install(t){t.config.globalProperties.$screenSize=ud(he),t.directive("breakpoint",Ng)}};function wd(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ua=wd();function Xm(t){ua=t}var Mn={exec:()=>null};function qt(t,e=""){let s=typeof t=="string"?t:t.source,a={replace:(n,r)=>{let o=typeof r=="string"?r:r.source;return o=o.replace(ai.caret,"$1"),s=s.replace(n,o),a},getRegex:()=>new RegExp(s,e)};return a}var Fg=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),ai={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Gg=/^(?:[ \t]*(?:\n|$))+/,Ug=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,qg=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,dr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Vg=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Sd=/(?:[*+-]|\d{1,9}[.)])/,Zm=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Qm=qt(Zm).replace(/bull/g,Sd).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Hg=qt(Zm).replace(/bull/g,Sd).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ad=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Wg=/^[^\n]+/,zd=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Kg=qt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",zd).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),$g=qt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Sd).getRegex(),Ho="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Td=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Yg=qt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Td).replace("tag",Ho).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Jm=qt(Ad).replace("hr",dr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ho).getRegex(),Xg=qt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Jm).getRegex(),Pd={blockquote:Xg,code:Ug,def:Kg,fences:qg,heading:Vg,hr:dr,html:Yg,lheading:Qm,list:$g,newline:Gg,paragraph:Jm,table:Mn,text:Wg},sb=qt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",dr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ho).getRegex(),Zg={...Pd,lheading:Hg,table:sb,paragraph:qt(Ad).replace("hr",dr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",sb).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ho).getRegex()},Qg={...Pd,html:qt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Td).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Mn,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:qt(Ad).replace("hr",dr).replace("heading",` *#{1,6} *[^
|
|
3
|
-
]`).replace("lheading",
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Default-Br-juh2E.js","./constants-CXMxJR4j.js","./MediaItemThumb-CMOvHHof.js","./Toolbar-94EvSFT-.js","./VToolbar-DyyzvXAh.js","./VToolbar-COKHN9Hu.css","./Toolbar-DJx0b-Ea.css","./VDialog-B7h8eW0m.js","./VDialog-DwTSAOeg.css","./index-kQIztB-E.js","./Button-Da2w4xZe.js","./Button-D25yJYMO.css","./PlayerCard-RpvQiENI.js","./VSlider-Dt4jt2Zl.js","./VSlider-DlBvQp-0.css","./NowPlayingBadge.vue_vue_type_style_index_0_lang-B8G50Aza.js","./VCheckboxBtn-B_ZAO1Qo.js","./VCheckboxBtn-CIeJsqfW.css","./NowPlayingBadge-Cm6AcKY5.css","./PlayerCard-BtmAlIKh.css","./ListItem-CMI0ccXI.js","./ListItem-CZjh-Z2L.css","./marquee_text_sync-WzwJ--pH.js","./marquee_text_sync-CWCHA3k2.css","./VInfiniteScroll-CBHSFC6_.js","./VInfiniteScroll-Bbntx9NP.css","./VVirtualScroll-Ck3MSSZi.js","./VVirtualScroll-BNcY_ygg.css","./VExpansionPanels-cqvywsgH.js","./VExpansionPanels-B8KjM0Qi.css","./Default-C8ExxF7E.css","./HomeView-Dn-M1jTz.js","./Container-vEyxubcK.js","./Container-Df7sl-nn.css","./WidgetRow-CXYVjNw0.js","./PanelviewItemCompact-C6DCjPZU.js","./PanelviewItemCompact-BzbA-hBb.css","./VAlert-DfNKgxBR.js","./VAlert-BDbtqfCV.css","./WidgetRow-CzKBwQIP.css","./HomeView-BprizvGE.css","./Search-BOjaQ4tl.js","./ItemsListing-DsCHQduO.js","./ItemsListing-qc86ZllS.css","./BrowseView-DwddahrD.js","./BrowseView-DsuxryYQ.css","./LibraryArtists-BdcWa4H2.js","./ArtistDetails-C15MPi-J.js","./ProviderDetails.vue_vue_type_script_setup_true_lang-BvNkAPPj.js","./ProviderDetails-sWAPBlBe.css","./MediaItemImages-CpqpuCtk.js","./MediaItemImages-EU1ndGHN.css","./LibraryAlbums-CHYwiQaW.js","./AlbumDetails-BxtRl2YX.js","./LibraryTracks-p8Y13gW3.js","./AddManualLink.vue_vue_type_script_setup_true_lang-DG4jP955.js","./TrackDetails-D-mFx3v3.js","./LibraryPlaylists-AKjmGQHJ.js","./PlaylistDetails-DhlSXFbi.js","./LibraryPodcasts-D8nYpNLG.js","./PodcastDetails-bqHu2VUs.js","./LibraryAudiobooks-DC0SIBx-.js","./AudiobookDetails-BtzViAS0.js","./LibraryRadios-1GRC-OzJ.js","./RadioDetails-BDJXF1Lf.js","./Settings-D8dH3JXV.js","./Settings-DgZgWYgS.css","./UserProfile-2DGSt3Q4.js","./CreateTokenDialog.vue_vue_type_script_setup_true_lang-C6YdwidI.js","./VForm-D2eK17M_.js","./UserProfile-2WJSaYoR.css","./Providers-CgdTyZF0.js","./Providers-Dpp2O4F9.css","./Players-DbwqOQm4.js","./CoreConfigs-D3Lk-7JE.js","./CoreConfigs-BsI6FsWH.css","./FrontendConfig-eR1Z1zGd.js","./EditConfig-BnGkC7Dx.js","./VSwitch-CvtgmnVD.js","./VSwitch-Mm7Rd7At.css","./VSelect-cNIaLpz4.js","./VSelect-DMb2DNZp.css","./EditConfig-SyvCtrr0.css","./UserManagement-DqY36gSD.js","./UserManagement-BXsqKl-G.css","./AddProviderDetails-9el-oexz.js","./index.browser-OxPLOBIU.js","./EditProvider-DaVXHsTj.js","./EditPlayer-DWbeXaJ5.js","./EditPlayerDsp-BFHS-0i1.js","./EditPlayerDsp-aJcSg6U0.css","./EditCoreConfig-CnIejyq9.js","./AddPlayerGroup-Bwk7pmNx.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function s(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(n){if(n.ep)return;n.ep=!0;const r=s(n);fetch(n.href,r)}})();const U3="modulepreload",H3=function(t,e){return new URL(t,e).href},Fc={},Vt=function(e,s,a){let n=Promise.resolve();if(s&&s.length>0){let d=function(c){return Promise.all(c.map(b=>Promise.resolve(b).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const o=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),l=u?.nonce||u?.getAttribute("nonce");n=d(s.map(c=>{if(c=H3(c,a),c in Fc)return;Fc[c]=!0;const b=c.endsWith(".css"),p=b?'[rel="stylesheet"]':"";if(a)for(let g=o.length-1;g>=0;g--){const h=o[g];if(h.href===c&&(!b||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const m=document.createElement("link");if(m.rel=b?"stylesheet":U3,b||(m.as="script"),m.crossOrigin="",m.href=c,l&&m.setAttribute("nonce",l),document.head.appendChild(m),b)return new Promise((g,h)=>{m.addEventListener("load",g),m.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(o){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=o,window.dispatchEvent(u),!u.defaultPrevented)throw o}return n.then(o=>{for(const u of o||[])u.status==="rejected"&&r(u.reason);return e().catch(r)})};function gd(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const $t={},qa=[],Bi=()=>{},$0=()=>!1,$o=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),_d=t=>t.startsWith("onUpdate:"),ze=Object.assign,hd=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},W3=Object.prototype.hasOwnProperty,te=(t,e)=>W3.call(t,e),Pt=Array.isArray,Ua=t=>Yo(t)==="[object Map]",Y0=t=>Yo(t)==="[object Set]",xt=t=>typeof t=="function",ce=t=>typeof t=="string",Ts=t=>typeof t=="symbol",oe=t=>t!==null&&typeof t=="object",X0=t=>(oe(t)||xt(t))&&xt(t.then)&&xt(t.catch),Z0=Object.prototype.toString,Yo=t=>Z0.call(t),K3=t=>Yo(t).slice(8,-1),Q0=t=>Yo(t)==="[object Object]",yd=t=>ce(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Dn=gd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xo=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},$3=/-\w/g,Qe=Xo(t=>t.replace($3,e=>e.slice(1).toUpperCase())),Y3=/\B([A-Z])/g,Ps=Xo(t=>t.replace(Y3,"-$1").toLowerCase()),js=Xo(t=>t.charAt(0).toUpperCase()+t.slice(1)),yl=Xo(t=>t?`on${js(t)}`:""),ui=(t,e)=>!Object.is(t,e),kl=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},J0=(t,e,s,a=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:a,value:s})},X3=t=>{const e=parseFloat(t);return isNaN(e)?t:e},tm=t=>{const e=ce(t)?Number(t):NaN;return isNaN(e)?t:e};let Gc;const Zo=()=>Gc||(Gc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Lt(t){if(Pt(t)){const e={};for(let s=0;s<t.length;s++){const a=t[s],n=ce(a)?tg(a):Lt(a);if(n)for(const r in n)e[r]=n[r]}return e}else if(ce(t)||oe(t))return t}const Z3=/;(?![^(]*\))/g,Q3=/:([^]+)/,J3=/\/\*[^]*?\*\//g;function tg(t){const e={};return t.replace(J3,"").split(Z3).forEach(s=>{if(s){const a=s.split(Q3);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e}function wt(t){let e="";if(ce(t))e=t;else if(Pt(t))for(let s=0;s<t.length;s++){const a=wt(t[s]);a&&(e+=a+" ")}else if(oe(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}function pu(t){if(!t)return null;let{class:e,style:s}=t;return e&&!ce(e)&&(t.class=wt(e)),s&&(t.style=Lt(s)),t}const eg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ig=gd(eg);function em(t){return!!t||t===""}const im=t=>!!(t&&t.__v_isRef===!0),_t=t=>ce(t)?t:t==null?"":Pt(t)||oe(t)&&(t.toString===Z0||!xt(t.toString))?im(t)?_t(t.value):JSON.stringify(t,sm,2):String(t),sm=(t,e)=>im(e)?sm(t,e.value):Ua(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[a,n],r)=>(s[wl(a,r)+" =>"]=n,s),{})}:Y0(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>wl(s))}:Ts(e)?wl(e):oe(e)&&!Pt(e)&&!Q0(e)?String(e):e,wl=(t,e="")=>{var s;return Ts(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};function sg(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}let We;class am{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=We,!e&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=We;try{return We=this,e()}finally{We=s}}}on(){++this._on===1&&(this.prevScope=We,We=this)}off(){this._on>0&&--this._on===0&&(We=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,a;for(s=0,a=this.effects.length;s<a;s++)this.effects[s].stop();for(this.effects.length=0,s=0,a=this.cleanups.length;s<a;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,a=this.scopes.length;s<a;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}}function an(t){return new am(t)}function nm(){return We}function pi(t,e=!1){We&&We.cleanups.push(t)}let le;const Sl=new WeakSet;class rm{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,We&&We.active&&We.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Sl.has(this)&&(Sl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||lm(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Vc(this),um(this);const e=le,s=Fi;le=this,Fi=!0;try{return this.fn()}finally{dm(this),le=e,Fi=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Sd(e);this.deps=this.depsTail=void 0,Vc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Sl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){mu(this)&&this.run()}get dirty(){return mu(this)}}let om=0,Ln,Rn;function lm(t,e=!1){if(t.flags|=8,e){t.next=Rn,Rn=t;return}t.next=Ln,Ln=t}function kd(){om++}function wd(){if(--om>0)return;if(Rn){let e=Rn;for(Rn=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Ln;){let e=Ln;for(Ln=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(a){t||(t=a)}e=s}}if(t)throw t}function um(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function dm(t){let e,s=t.depsTail,a=s;for(;a;){const n=a.prevDep;a.version===-1?(a===s&&(s=n),Sd(a),ag(a)):e=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=n}t.deps=e,t.depsTail=s}function mu(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(cm(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function cm(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Wn)||(t.globalVersion=Wn,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!mu(t))))return;t.flags|=2;const e=t.dep,s=le,a=Fi;le=t,Fi=!0;try{um(t);const n=t.fn(t._value);(e.version===0||ui(n,t._value))&&(t.flags|=128,t._value=n,e.version++)}catch(n){throw e.version++,n}finally{le=s,Fi=a,dm(t),t.flags&=-3}}function Sd(t,e=!1){const{dep:s,prevSub:a,nextSub:n}=t;if(a&&(a.nextSub=n,t.prevSub=void 0),n&&(n.prevSub=a,t.nextSub=void 0),s.subs===t&&(s.subs=a,!a&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Sd(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function ag(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Fi=!0;const bm=[];function ws(){bm.push(Fi),Fi=!1}function Ss(){const t=bm.pop();Fi=t===void 0?!0:t}function Vc(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=le;le=void 0;try{e()}finally{le=s}}}let Wn=0;class ng{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Qo{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!le||!Fi||le===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==le)s=this.activeLink=new ng(le,this),le.deps?(s.prevDep=le.depsTail,le.depsTail.nextDep=s,le.depsTail=s):le.deps=le.depsTail=s,pm(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const a=s.nextDep;a.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=a),s.prevDep=le.depsTail,s.nextDep=void 0,le.depsTail.nextDep=s,le.depsTail=s,le.deps===s&&(le.deps=a)}return s}trigger(e){this.version++,Wn++,this.notify(e)}notify(e){kd();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{wd()}}}function pm(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let a=e.deps;a;a=a.nextDep)pm(a)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const co=new WeakMap,da=Symbol(""),fu=Symbol(""),Kn=Symbol("");function $e(t,e,s){if(Fi&&le){let a=co.get(t);a||co.set(t,a=new Map);let n=a.get(s);n||(a.set(s,n=new Qo),n.map=a,n.key=s),n.track()}}function gs(t,e,s,a,n,r){const o=co.get(t);if(!o){Wn++;return}const u=l=>{l&&l.trigger()};if(kd(),e==="clear")o.forEach(u);else{const l=Pt(t),d=l&&yd(s);if(l&&s==="length"){const c=Number(a);o.forEach((b,p)=>{(p==="length"||p===Kn||!Ts(p)&&p>=c)&&u(b)})}else switch((s!==void 0||o.has(void 0))&&u(o.get(s)),d&&u(o.get(Kn)),e){case"add":l?d&&u(o.get("length")):(u(o.get(da)),Ua(t)&&u(o.get(fu)));break;case"delete":l||(u(o.get(da)),Ua(t)&&u(o.get(fu)));break;case"set":Ua(t)&&u(o.get(da));break}}wd()}function rg(t,e){const s=co.get(t);return s&&s.get(e)}function ja(t){const e=Ct(t);return e===t?e:($e(e,"iterate",Kn),Ei(t)?e:e.map(Ge))}function Jo(t){return $e(t=Ct(t),"iterate",Kn),t}const og={__proto__:null,[Symbol.iterator](){return Al(this,Symbol.iterator,Ge)},concat(...t){return ja(this).concat(...t.map(e=>Pt(e)?ja(e):e))},entries(){return Al(this,"entries",t=>(t[1]=Ge(t[1]),t))},every(t,e){return ls(this,"every",t,e,void 0,arguments)},filter(t,e){return ls(this,"filter",t,e,s=>s.map(Ge),arguments)},find(t,e){return ls(this,"find",t,e,Ge,arguments)},findIndex(t,e){return ls(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ls(this,"findLast",t,e,Ge,arguments)},findLastIndex(t,e){return ls(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ls(this,"forEach",t,e,void 0,arguments)},includes(...t){return zl(this,"includes",t)},indexOf(...t){return zl(this,"indexOf",t)},join(t){return ja(this).join(t)},lastIndexOf(...t){return zl(this,"lastIndexOf",t)},map(t,e){return ls(this,"map",t,e,void 0,arguments)},pop(){return _n(this,"pop")},push(...t){return _n(this,"push",t)},reduce(t,...e){return qc(this,"reduce",t,e)},reduceRight(t,...e){return qc(this,"reduceRight",t,e)},shift(){return _n(this,"shift")},some(t,e){return ls(this,"some",t,e,void 0,arguments)},splice(...t){return _n(this,"splice",t)},toReversed(){return ja(this).toReversed()},toSorted(t){return ja(this).toSorted(t)},toSpliced(...t){return ja(this).toSpliced(...t)},unshift(...t){return _n(this,"unshift",t)},values(){return Al(this,"values",Ge)}};function Al(t,e,s){const a=Jo(t),n=a[e]();return a!==t&&!Ei(t)&&(n._next=n.next,n.next=()=>{const r=n._next();return r.done||(r.value=s(r.value)),r}),n}const lg=Array.prototype;function ls(t,e,s,a,n,r){const o=Jo(t),u=o!==t&&!Ei(t),l=o[e];if(l!==lg[e]){const b=l.apply(t,r);return u?Ge(b):b}let d=s;o!==t&&(u?d=function(b,p){return s.call(this,Ge(b),p,t)}:s.length>2&&(d=function(b,p){return s.call(this,b,p,t)}));const c=l.call(o,d,a);return u&&n?n(c):c}function qc(t,e,s,a){const n=Jo(t);let r=s;return n!==t&&(Ei(t)?s.length>3&&(r=function(o,u,l){return s.call(this,o,u,l,t)}):r=function(o,u,l){return s.call(this,o,Ge(u),l,t)}),n[e](r,...a)}function zl(t,e,s){const a=Ct(t);$e(a,"iterate",Kn);const n=a[e](...s);return(n===-1||n===!1)&&Td(s[0])?(s[0]=Ct(s[0]),a[e](...s)):n}function _n(t,e,s=[]){ws(),kd();const a=Ct(t)[e].apply(t,s);return wd(),Ss(),a}const ug=gd("__proto__,__v_isRef,__isVue"),mm=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ts));function dg(t){Ts(t)||(t=String(t));const e=Ct(this);return $e(e,"has",t),e.hasOwnProperty(t)}class fm{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,a){if(s==="__v_skip")return e.__v_skip;const n=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!n;if(s==="__v_isReadonly")return n;if(s==="__v_isShallow")return r;if(s==="__v_raw")return a===(n?r?yg:hm:r?_m:gm).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const o=Pt(e);if(!n){let l;if(o&&(l=og[s]))return l;if(s==="hasOwnProperty")return dg}const u=Reflect.get(e,s,ge(e)?e:a);if((Ts(s)?mm.has(s):ug(s))||(n||$e(e,"get",s),r))return u;if(ge(u)){const l=o&&yd(s)?u:u.value;return n&&oe(l)?nn(l):l}return oe(u)?n?nn(u):de(u):u}}class vm extends fm{constructor(e=!1){super(!1,e)}set(e,s,a,n){let r=e[s];if(!this._isShallow){const l=Ks(r);if(!Ei(a)&&!Ks(a)&&(r=Ct(r),a=Ct(a)),!Pt(e)&&ge(r)&&!ge(a))return l||(r.value=a),!0}const o=Pt(e)&&yd(s)?Number(s)<e.length:te(e,s),u=Reflect.set(e,s,a,ge(e)?e:n);return e===Ct(n)&&(o?ui(a,r)&&gs(e,"set",s,a):gs(e,"add",s,a)),u}deleteProperty(e,s){const a=te(e,s);e[s];const n=Reflect.deleteProperty(e,s);return n&&a&&gs(e,"delete",s,void 0),n}has(e,s){const a=Reflect.has(e,s);return(!Ts(s)||!mm.has(s))&&$e(e,"has",s),a}ownKeys(e){return $e(e,"iterate",Pt(e)?"length":da),Reflect.ownKeys(e)}}class cg extends fm{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const bg=new vm,pg=new cg,mg=new vm(!0);const vu=t=>t,Er=t=>Reflect.getPrototypeOf(t);function fg(t,e,s){return function(...a){const n=this.__v_raw,r=Ct(n),o=Ua(r),u=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,d=n[t](...a),c=s?vu:e?bo:Ge;return!e&&$e(r,"iterate",l?fu:da),{next(){const{value:b,done:p}=d.next();return p?{value:b,done:p}:{value:u?[c(b[0]),c(b[1])]:c(b),done:p}},[Symbol.iterator](){return this}}}}function Mr(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function vg(t,e){const s={get(n){const r=this.__v_raw,o=Ct(r),u=Ct(n);t||(ui(n,u)&&$e(o,"get",n),$e(o,"get",u));const{has:l}=Er(o),d=e?vu:t?bo:Ge;if(l.call(o,n))return d(r.get(n));if(l.call(o,u))return d(r.get(u));r!==o&&r.get(n)},get size(){const n=this.__v_raw;return!t&&$e(Ct(n),"iterate",da),n.size},has(n){const r=this.__v_raw,o=Ct(r),u=Ct(n);return t||(ui(n,u)&&$e(o,"has",n),$e(o,"has",u)),n===u?r.has(n):r.has(n)||r.has(u)},forEach(n,r){const o=this,u=o.__v_raw,l=Ct(u),d=e?vu:t?bo:Ge;return!t&&$e(l,"iterate",da),u.forEach((c,b)=>n.call(r,d(c),d(b),o))}};return ze(s,t?{add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear")}:{add(n){!e&&!Ei(n)&&!Ks(n)&&(n=Ct(n));const r=Ct(this);return Er(r).has.call(r,n)||(r.add(n),gs(r,"add",n,n)),this},set(n,r){!e&&!Ei(r)&&!Ks(r)&&(r=Ct(r));const o=Ct(this),{has:u,get:l}=Er(o);let d=u.call(o,n);d||(n=Ct(n),d=u.call(o,n));const c=l.call(o,n);return o.set(n,r),d?ui(r,c)&&gs(o,"set",n,r):gs(o,"add",n,r),this},delete(n){const r=Ct(this),{has:o,get:u}=Er(r);let l=o.call(r,n);l||(n=Ct(n),l=o.call(r,n)),u&&u.call(r,n);const d=r.delete(n);return l&&gs(r,"delete",n,void 0),d},clear(){const n=Ct(this),r=n.size!==0,o=n.clear();return r&&gs(n,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=fg(n,t,e)}),s}function Ad(t,e){const s=vg(t,e);return(a,n,r)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?a:Reflect.get(te(s,n)&&n in a?s:a,n,r)}const gg={get:Ad(!1,!1)},_g={get:Ad(!1,!0)},hg={get:Ad(!0,!1)};const gm=new WeakMap,_m=new WeakMap,hm=new WeakMap,yg=new WeakMap;function kg(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wg(t){return t.__v_skip||!Object.isExtensible(t)?0:kg(K3(t))}function de(t){return Ks(t)?t:zd(t,!1,bg,gg,gm)}function ym(t){return zd(t,!1,mg,_g,_m)}function nn(t){return zd(t,!0,pg,hg,hm)}function zd(t,e,s,a,n){if(!oe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=wg(t);if(r===0)return t;const o=n.get(t);if(o)return o;const u=new Proxy(t,r===2?a:s);return n.set(t,u),u}function Ha(t){return Ks(t)?Ha(t.__v_raw):!!(t&&t.__v_isReactive)}function Ks(t){return!!(t&&t.__v_isReadonly)}function Ei(t){return!!(t&&t.__v_isShallow)}function Td(t){return t?!!t.__v_raw:!1}function Ct(t){const e=t&&t.__v_raw;return e?Ct(e):t}function Pd(t){return!te(t,"__v_skip")&&Object.isExtensible(t)&&J0(t,"__v_skip",!0),t}const Ge=t=>oe(t)?de(t):t,bo=t=>oe(t)?nn(t):t;function ge(t){return t?t.__v_isRef===!0:!1}function Y(t){return km(t,!1)}function It(t){return km(t,!0)}function km(t,e){return ge(t)?t:new Sg(t,e)}class Sg{constructor(e,s){this.dep=new Qo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Ct(e),this._value=s?e:Ge(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,a=this.__v_isShallow||Ei(e)||Ks(e);e=a?e:Ct(e),ui(e,s)&&(this._rawValue=e,this._value=a?e:Ge(e),this.dep.trigger())}}function X(t){return ge(t)?t.value:t}function hi(t){return xt(t)?t():X(t)}const Ag={get:(t,e,s)=>e==="__v_raw"?t:X(Reflect.get(t,e,s)),set:(t,e,s,a)=>{const n=t[e];return ge(n)&&!ge(s)?(n.value=s,!0):Reflect.set(t,e,s,a)}};function wm(t){return Ha(t)?t:new Proxy(t,Ag)}class zg{constructor(e){this.__v_isRef=!0,this._value=void 0;const s=this.dep=new Qo,{get:a,set:n}=e(s.track.bind(s),s.trigger.bind(s));this._get=a,this._set=n}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Tg(t){return new zg(t)}function jd(t){const e=Pt(t)?new Array(t.length):{};for(const s in t)e[s]=Sm(t,s);return e}class Pg{constructor(e,s,a){this._object=e,this._key=s,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return rg(Ct(this._object),this._key)}}class jg{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function nt(t,e,s){return ge(t)?t:xt(t)?new jg(t):oe(t)&&arguments.length>1?Sm(t,e,s):Y(t)}function Sm(t,e,s){const a=t[e];return ge(a)?a:new Pg(t,e,s)}class Cg{constructor(e,s,a){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Qo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&le!==this)return lm(this,!0),!0}get value(){const e=this.dep.track();return cm(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Eg(t,e,s=!1){let a,n;return xt(t)?a=t:(a=t.get,n=t.set),new Cg(a,n,s)}const xr={},po=new WeakMap;let la;function Mg(t,e=!1,s=la){if(s){let a=po.get(s);a||po.set(s,a=[]),a.push(t)}}function xg(t,e,s=$t){const{immediate:a,deep:n,once:r,scheduler:o,augmentJob:u,call:l}=s,d=k=>n?k:Ei(k)||n===!1||n===0?_s(k,1):_s(k);let c,b,p,m,g=!1,h=!1;if(ge(t)?(b=()=>t.value,g=Ei(t)):Ha(t)?(b=()=>d(t),g=!0):Pt(t)?(h=!0,g=t.some(k=>Ha(k)||Ei(k)),b=()=>t.map(k=>{if(ge(k))return k.value;if(Ha(k))return d(k);if(xt(k))return l?l(k,2):k()})):xt(t)?e?b=l?()=>l(t,2):t:b=()=>{if(p){ws();try{p()}finally{Ss()}}const k=la;la=c;try{return l?l(t,3,[m]):t(m)}finally{la=k}}:b=Bi,e&&n){const k=b,S=n===!0?1/0:n;b=()=>_s(k(),S)}const y=nm(),f=()=>{c.stop(),y&&y.active&&hd(y.effects,c)};if(r&&e){const k=e;e=(...S)=>{k(...S),f()}}let v=h?new Array(t.length).fill(xr):xr;const _=k=>{if(!(!(c.flags&1)||!c.dirty&&!k))if(e){const S=c.run();if(n||g||(h?S.some((z,A)=>ui(z,v[A])):ui(S,v))){p&&p();const z=la;la=c;try{const A=[S,v===xr?void 0:h&&v[0]===xr?[]:v,m];v=S,l?l(e,3,A):e(...A)}finally{la=z}}}else c.run()};return u&&u(_),c=new rm(b),c.scheduler=o?()=>o(_,!1):_,m=k=>Mg(k,!1,c),p=c.onStop=()=>{const k=po.get(c);if(k){if(l)l(k,4);else for(const S of k)S();po.delete(c)}},e?a?_(!0):v=c.run():o?o(_.bind(null,!0),!0):c.run(),f.pause=c.pause.bind(c),f.resume=c.resume.bind(c),f.stop=f,f}function _s(t,e=1/0,s){if(e<=0||!oe(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,ge(t))_s(t.value,e,s);else if(Pt(t))for(let a=0;a<t.length;a++)_s(t[a],e,s);else if(Y0(t)||Ua(t))t.forEach(a=>{_s(a,e,s)});else if(Q0(t)){for(const a in t)_s(t[a],e,s);for(const a of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,a)&&_s(t[a],e,s)}return t}function vr(t,e,s,a){try{return a?t(...a):t()}catch(n){gr(n,e,s)}}function Gi(t,e,s,a){if(xt(t)){const n=vr(t,e,s,a);return n&&X0(n)&&n.catch(r=>{gr(r,e,s)}),n}if(Pt(t)){const n=[];for(let r=0;r<t.length;r++)n.push(Gi(t[r],e,s,a));return n}}function gr(t,e,s,a=!0){const n=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||$t;if(e){let u=e.parent;const l=e.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;u;){const c=u.ec;if(c){for(let b=0;b<c.length;b++)if(c[b](t,l,d)===!1)return}u=u.parent}if(r){ws(),vr(r,null,10,[t,l,d]),Ss();return}}Ig(t,s,n,a,o)}function Ig(t,e,s,a=!0,n=!1){if(n)throw t;console.error(t)}const ni=[];let Yi=-1;const Wa=[];let Bs=null,Da=0;const Am=Promise.resolve();let mo=null;function _e(t){const e=mo||Am;return t?e.then(this?t.bind(this):t):e}function Dg(t){let e=Yi+1,s=ni.length;for(;e<s;){const a=e+s>>>1,n=ni[a],r=$n(n);r<t||r===t&&n.flags&2?e=a+1:s=a}return e}function Cd(t){if(!(t.flags&1)){const e=$n(t),s=ni[ni.length-1];!s||!(t.flags&2)&&e>=$n(s)?ni.push(t):ni.splice(Dg(e),0,t),t.flags|=1,zm()}}function zm(){mo||(mo=Am.then(Pm))}function fo(t){Pt(t)?Wa.push(...t):Bs&&t.id===-1?Bs.splice(Da+1,0,t):t.flags&1||(Wa.push(t),t.flags|=1),zm()}function Uc(t,e,s=Yi+1){for(;s<ni.length;s++){const a=ni[s];if(a&&a.flags&2){if(t&&a.id!==t.uid)continue;ni.splice(s,1),s--,a.flags&4&&(a.flags&=-2),a(),a.flags&4||(a.flags&=-2)}}}function Tm(t){if(Wa.length){const e=[...new Set(Wa)].sort((s,a)=>$n(s)-$n(a));if(Wa.length=0,Bs){Bs.push(...e);return}for(Bs=e,Da=0;Da<Bs.length;Da++){const s=Bs[Da];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Bs=null,Da=0}}const $n=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Pm(t){try{for(Yi=0;Yi<ni.length;Yi++){const e=ni[Yi];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),vr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Yi<ni.length;Yi++){const e=ni[Yi];e&&(e.flags&=-2)}Yi=-1,ni.length=0,Tm(),mo=null,(ni.length||Wa.length)&&Pm()}}let qe=null,jm=null;function vo(t){const e=qe;return qe=t,jm=t&&t.type.__scopeId||null,e}function ht(t,e=qe,s){if(!e||t._n)return t;const a=(...n)=>{a._d&&ho(-1);const r=vo(e);let o;try{o=t(...n)}finally{vo(r),a._d&&ho(1)}return o};return a._n=!0,a._c=!0,a._d=!0,a}function yi(t,e){if(qe===null)return t;const s=al(qe),a=t.dirs||(t.dirs=[]);for(let n=0;n<e.length;n++){let[r,o,u,l=$t]=e[n];r&&(xt(r)&&(r={mounted:r,updated:r}),r.deep&&_s(o),a.push({dir:r,instance:s,value:o,oldValue:void 0,arg:u,modifiers:l}))}return t}function sa(t,e,s,a){const n=t.dirs,r=e&&e.dirs;for(let o=0;o<n.length;o++){const u=n[o];r&&(u.oldValue=r[o].value);let l=u.dir[a];l&&(ws(),Gi(l,s,8,[t.el,u,t,e]),Ss())}}const Cm=Symbol("_vte"),Em=t=>t.__isTeleport,On=t=>t&&(t.disabled||t.disabled===""),Hc=t=>t&&(t.defer||t.defer===""),Wc=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Kc=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,gu=(t,e)=>{const s=t&&t.to;return ce(s)?e?e(s):null:s},Mm={name:"Teleport",__isTeleport:!0,process(t,e,s,a,n,r,o,u,l,d){const{mc:c,pc:b,pbc:p,o:{insert:m,querySelector:g,createText:h,createComment:y}}=d,f=On(e.props);let{shapeFlag:v,children:_,dynamicChildren:k}=e;if(t==null){const S=e.el=h(""),z=e.anchor=h("");m(S,s,a),m(z,s,a);const A=(I,T)=>{v&16&&c(_,I,T,n,r,o,u,l)},w=()=>{const I=e.target=gu(e.props,g),T=xm(I,e,h,m);I&&(o!=="svg"&&Wc(I)?o="svg":o!=="mathml"&&Kc(I)&&(o="mathml"),n&&n.isCE&&(n.ce._teleportTargets||(n.ce._teleportTargets=new Set)).add(I),f||(A(I,T),to(e,!1)))};f&&(A(s,z),to(e,!0)),Hc(e.props)?(e.el.__isMounted=!1,ii(()=>{w(),delete e.el.__isMounted},r)):w()}else{if(Hc(e.props)&&t.el.__isMounted===!1){ii(()=>{Mm.process(t,e,s,a,n,r,o,u,l,d)},r);return}e.el=t.el,e.targetStart=t.targetStart;const S=e.anchor=t.anchor,z=e.target=t.target,A=e.targetAnchor=t.targetAnchor,w=On(t.props),I=w?s:z,T=w?S:A;if(o==="svg"||Wc(z)?o="svg":(o==="mathml"||Kc(z))&&(o="mathml"),k?(p(t.dynamicChildren,k,I,n,r,o,u),Od(t,e,!0)):l||b(t,e,I,T,n,r,o,u,!1),f)w?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Ir(e,s,S,d,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const D=e.target=gu(e.props,g);D&&Ir(e,D,null,d,0)}else w&&Ir(e,z,A,d,1);to(e,f)}},remove(t,e,s,{um:a,o:{remove:n}},r){const{shapeFlag:o,children:u,anchor:l,targetStart:d,targetAnchor:c,target:b,props:p}=t;if(b&&(n(d),n(c)),r&&n(l),o&16){const m=r||!On(p);for(let g=0;g<u.length;g++){const h=u[g];a(h,e,s,m,!!h.dynamicChildren)}}},move:Ir,hydrate:Lg};function Ir(t,e,s,{o:{insert:a},m:n},r=2){r===0&&a(t.targetAnchor,e,s);const{el:o,anchor:u,shapeFlag:l,children:d,props:c}=t,b=r===2;if(b&&a(o,e,s),(!b||On(c))&&l&16)for(let p=0;p<d.length;p++)n(d[p],e,s,2);b&&a(u,e,s)}function Lg(t,e,s,a,n,r,{o:{nextSibling:o,parentNode:u,querySelector:l,insert:d,createText:c}},b){function p(h,y,f,v){y.anchor=b(o(h),y,u(h),s,a,n,r),y.targetStart=f,y.targetAnchor=v}const m=e.target=gu(e.props,l),g=On(e.props);if(m){const h=m._lpa||m.firstChild;if(e.shapeFlag&16)if(g)p(t,e,h,h&&o(h));else{e.anchor=o(t);let y=h;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")e.targetStart=y;else if(y.data==="teleport anchor"){e.targetAnchor=y,m._lpa=e.targetAnchor&&o(e.targetAnchor);break}}y=o(y)}e.targetAnchor||xm(m,e,c,d),b(h&&o(h),e,m,s,a,n,r)}to(e,g)}else g&&e.shapeFlag&16&&p(t,e,t,o(t));return e.anchor&&o(e.anchor)}const Rg=Mm;function to(t,e){const s=t.ctx;if(s&&s.ut){let a,n;for(e?(a=t.el,n=t.anchor):(a=t.targetStart,n=t.targetAnchor);a&&a!==n;)a.nodeType===1&&a.setAttribute("data-v-owner",s.uid),a=a.nextSibling;s.ut()}}function xm(t,e,s,a){const n=e.targetStart=s(""),r=e.targetAnchor=s("");return n[Cm]=r,t&&(a(n,t),a(r,t)),r}const vs=Symbol("_leaveCb"),Dr=Symbol("_enterCb");function Im(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Le(()=>{t.isMounted=!0}),Re(()=>{t.isUnmounting=!0}),t}const Si=[Function,Array],Dm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Si,onEnter:Si,onAfterEnter:Si,onEnterCancelled:Si,onBeforeLeave:Si,onLeave:Si,onAfterLeave:Si,onLeaveCancelled:Si,onBeforeAppear:Si,onAppear:Si,onAfterAppear:Si,onAppearCancelled:Si},Lm=t=>{const e=t.subTree;return e.component?Lm(e.component):e},Og={name:"BaseTransition",props:Dm,setup(t,{slots:e}){const s=Es(),a=Im();return()=>{const n=e.default&&Ed(e.default(),!0);if(!n||!n.length)return;const r=Rm(n),o=Ct(t),{mode:u}=o;if(a.isLeaving)return Tl(r);const l=$c(r);if(!l)return Tl(r);let d=Yn(l,o,a,s,b=>d=b);l.type!==Ie&&fa(l,d);let c=s.subTree&&$c(s.subTree);if(c&&c.type!==Ie&&!Zi(c,l)&&Lm(s).type!==Ie){let b=Yn(c,o,a,s);if(fa(c,b),u==="out-in"&&l.type!==Ie)return a.isLeaving=!0,b.afterLeave=()=>{a.isLeaving=!1,s.job.flags&8||s.update(),delete b.afterLeave,c=void 0},Tl(r);u==="in-out"&&l.type!==Ie?b.delayLeave=(p,m,g)=>{const h=Om(a,c);h[String(c.key)]=c,p[vs]=()=>{m(),p[vs]=void 0,delete d.delayedLeave,c=void 0},d.delayedLeave=()=>{g(),delete d.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function Rm(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==Ie){e=s;break}}return e}const Ng=Og;function Om(t,e){const{leavingVNodes:s}=t;let a=s.get(e.type);return a||(a=Object.create(null),s.set(e.type,a)),a}function Yn(t,e,s,a,n){const{appear:r,mode:o,persisted:u=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:c,onEnterCancelled:b,onBeforeLeave:p,onLeave:m,onAfterLeave:g,onLeaveCancelled:h,onBeforeAppear:y,onAppear:f,onAfterAppear:v,onAppearCancelled:_}=e,k=String(t.key),S=Om(s,t),z=(I,T)=>{I&&Gi(I,a,9,T)},A=(I,T)=>{const D=T[1];z(I,T),Pt(I)?I.every(j=>j.length<=1)&&D():I.length<=1&&D()},w={mode:o,persisted:u,beforeEnter(I){let T=l;if(!s.isMounted)if(r)T=y||l;else return;I[vs]&&I[vs](!0);const D=S[k];D&&Zi(t,D)&&D.el[vs]&&D.el[vs](),z(T,[I])},enter(I){let T=d,D=c,j=b;if(!s.isMounted)if(r)T=f||d,D=v||c,j=_||b;else return;let B=!1;const H=I[Dr]=st=>{B||(B=!0,st?z(j,[I]):z(D,[I]),w.delayedLeave&&w.delayedLeave(),I[Dr]=void 0)};T?A(T,[I,H]):H()},leave(I,T){const D=String(t.key);if(I[Dr]&&I[Dr](!0),s.isUnmounting)return T();z(p,[I]);let j=!1;const B=I[vs]=H=>{j||(j=!0,T(),H?z(h,[I]):z(g,[I]),I[vs]=void 0,S[D]===t&&delete S[D])};S[D]=t,m?A(m,[I,B]):B()},clone(I){const T=Yn(I,e,s,a,n);return n&&n(T),T}};return w}function Tl(t){if(tl(t))return t=As(t),t.children=null,t}function $c(t){if(!tl(t))return Em(t.type)&&t.children?Rm(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&xt(s.default))return s.default()}}function fa(t,e){t.shapeFlag&6&&t.component?(t.transition=e,fa(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ed(t,e=!1,s){let a=[],n=0;for(let r=0;r<t.length;r++){let o=t[r];const u=s==null?o.key:String(s)+String(o.key!=null?o.key:r);o.type===vt?(o.patchFlag&128&&n++,a=a.concat(Ed(o.children,e,u))):(e||o.type!==Ie)&&a.push(u!=null?As(o,{key:u}):o)}if(n>1)for(let r=0;r<a.length;r++)a[r].patchFlag=-2;return a}function Te(t,e){return xt(t)?ze({name:t.name},e,{setup:t}):t}function Zs(){const t=Es();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function Nm(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const go=new WeakMap;function Nn(t,e,s,a,n=!1){if(Pt(t)){t.forEach((g,h)=>Nn(g,e&&(Pt(e)?e[h]:e),s,a,n));return}if(Ka(a)&&!n){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Nn(t,e,s,a.component.subTree);return}const r=a.shapeFlag&4?al(a.component):a.el,o=n?null:r,{i:u,r:l}=t,d=e&&e.r,c=u.refs===$t?u.refs={}:u.refs,b=u.setupState,p=Ct(b),m=b===$t?$0:g=>te(p,g);if(d!=null&&d!==l){if(Yc(e),ce(d))c[d]=null,m(d)&&(b[d]=null);else if(ge(d)){d.value=null;const g=e;g.k&&(c[g.k]=null)}}if(xt(l))vr(l,u,12,[o,c]);else{const g=ce(l),h=ge(l);if(g||h){const y=()=>{if(t.f){const f=g?m(l)?b[l]:c[l]:l.value;if(n)Pt(f)&&hd(f,r);else if(Pt(f))f.includes(r)||f.push(r);else if(g)c[l]=[r],m(l)&&(b[l]=c[l]);else{const v=[r];l.value=v,t.k&&(c[t.k]=v)}}else g?(c[l]=o,m(l)&&(b[l]=o)):h&&(l.value=o,t.k&&(c[t.k]=o))};if(o){const f=()=>{y(),go.delete(t)};f.id=-1,go.set(t,f),ii(f,s)}else Yc(t),y()}}}function Yc(t){const e=go.get(t);e&&(e.flags|=8,go.delete(t))}Zo().requestIdleCallback;Zo().cancelIdleCallback;const Ka=t=>!!t.type.__asyncLoader,tl=t=>t.type.__isKeepAlive;function Bm(t,e){Fm(t,"a",e)}function Md(t,e){Fm(t,"da",e)}function Fm(t,e,s=Ye){const a=t.__wdc||(t.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(el(e,a,s),s){let n=s.parent;for(;n&&n.parent;)tl(n.parent.vnode)&&Bg(a,e,s,n),n=n.parent}}function Bg(t,e,s,a){const n=el(e,t,a,!0);yr(()=>{hd(a[e],n)},s)}function el(t,e,s=Ye,a=!1){if(s){const n=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{ws();const u=kr(s),l=Gi(e,s,t,o);return u(),Ss(),l});return a?n.unshift(r):n.push(r),r}}const Cs=t=>(e,s=Ye)=>{(!Qn||t==="sp")&&el(t,(...a)=>e(...a),s)},_r=Cs("bm"),Le=Cs("m"),xd=Cs("bu"),hr=Cs("u"),Re=Cs("bum"),yr=Cs("um"),Fg=Cs("sp"),Gg=Cs("rtg"),Vg=Cs("rtc");function qg(t,e=Ye){el("ec",t,e)}const Id="components",Ug="directives";function Hg(t,e){return Dd(Id,t,!0,e)||t}const Gm=Symbol.for("v-ndc");function La(t){return ce(t)?Dd(Id,t,!1)||t:t||Gm}function Tx(t){return Dd(Ug,t)}function Dd(t,e,s=!0,a=!1){const n=qe||Ye;if(n){const r=n.type;if(t===Id){const u=O_(r,!1);if(u&&(u===e||u===Qe(e)||u===js(Qe(e))))return r}const o=Xc(n[t]||r[t],e)||Xc(n.appContext[t],e);return!o&&a?r:o}}function Xc(t,e){return t&&(t[e]||t[Qe(e)]||t[js(Qe(e))])}function ai(t,e,s,a){let n;const r=s,o=Pt(t);if(o||ce(t)){const u=o&&Ha(t);let l=!1,d=!1;u&&(l=!Ei(t),d=Ks(t),t=Jo(t)),n=new Array(t.length);for(let c=0,b=t.length;c<b;c++)n[c]=e(l?d?bo(Ge(t[c])):Ge(t[c]):t[c],c,void 0,r)}else if(typeof t=="number"){n=new Array(t);for(let u=0;u<t;u++)n[u]=e(u+1,u,void 0,r)}else if(oe(t))if(t[Symbol.iterator])n=Array.from(t,(u,l)=>e(u,l,void 0,r));else{const u=Object.keys(t);n=new Array(u.length);for(let l=0,d=u.length;l<d;l++){const c=u[l];n[l]=e(t[c],c,l,r)}}else n=[];return n}function Px(t,e){for(let s=0;s<e.length;s++){const a=e[s];if(Pt(a))for(let n=0;n<a.length;n++)t[a[n].name]=a[n].fn;else a&&(t[a.name]=a.key?(...n)=>{const r=a.fn(...n);return r&&(r.key=a.key),r}:a.fn)}return t}function gi(t,e,s={},a,n){if(qe.ce||qe.parent&&Ka(qe.parent)&&qe.parent.ce){const d=Object.keys(s).length>0;return e!=="default"&&(s.name=e),W(),ee(vt,null,[L("slot",s,a&&a())],d?-2:64)}let r=t[e];r&&r._c&&(r._d=!1),W();const o=r&&Vm(r(s)),u=s.key||o&&o.key,l=ee(vt,{key:(u&&!Ts(u)?u:`_${e}`)+(!o&&a?"_fb":"")},o||(a?a():[]),o&&t._===1?64:-2);return!n&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Vm(t){return t.some(e=>Pi(e)?!(e.type===Ie||e.type===vt&&!Vm(e.children)):!0)?t:null}const _u=t=>t?df(t)?al(t):_u(t.parent):null,Bn=ze(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>_u(t.parent),$root:t=>_u(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Um(t),$forceUpdate:t=>t.f||(t.f=()=>{Cd(t.update)}),$nextTick:t=>t.n||(t.n=_e.bind(t.proxy)),$watch:t=>f_.bind(t)}),Pl=(t,e)=>t!==$t&&!t.__isScriptSetup&&te(t,e),Wg={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:a,data:n,props:r,accessCache:o,type:u,appContext:l}=t;let d;if(e[0]!=="$"){const m=o[e];if(m!==void 0)switch(m){case 1:return a[e];case 2:return n[e];case 4:return s[e];case 3:return r[e]}else{if(Pl(a,e))return o[e]=1,a[e];if(n!==$t&&te(n,e))return o[e]=2,n[e];if((d=t.propsOptions[0])&&te(d,e))return o[e]=3,r[e];if(s!==$t&&te(s,e))return o[e]=4,s[e];hu&&(o[e]=0)}}const c=Bn[e];let b,p;if(c)return e==="$attrs"&&$e(t.attrs,"get",""),c(t);if((b=u.__cssModules)&&(b=b[e]))return b;if(s!==$t&&te(s,e))return o[e]=4,s[e];if(p=l.config.globalProperties,te(p,e))return p[e]},set({_:t},e,s){const{data:a,setupState:n,ctx:r}=t;return Pl(n,e)?(n[e]=s,!0):a!==$t&&te(a,e)?(a[e]=s,!0):te(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:a,appContext:n,propsOptions:r,type:o}},u){let l,d;return!!(s[u]||t!==$t&&u[0]!=="$"&&te(t,u)||Pl(e,u)||(l=r[0])&&te(l,u)||te(a,u)||te(Bn,u)||te(n.config.globalProperties,u)||(d=o.__cssModules)&&d[u])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:te(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Kg(){return $g().attrs}function $g(t){const e=Es();return e.setupContext||(e.setupContext=bf(e))}function Xn(t){return Pt(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}function jx(t,e){const s=Xn(t);for(const a in e){if(a.startsWith("__skip"))continue;let n=s[a];n?Pt(n)||xt(n)?n=s[a]={type:n,default:e[a]}:n.default=e[a]:n===null&&(n=s[a]={default:e[a]}),n&&e[`__skip_${a}`]&&(n.skipFactory=!0)}return s}function Cx(t,e){return!t||!e?t||e:Pt(t)&&Pt(e)?t.concat(e):ze({},Xn(t),Xn(e))}let hu=!0;function Yg(t){const e=Um(t),s=t.proxy,a=t.ctx;hu=!1,e.beforeCreate&&Zc(e.beforeCreate,t,"bc");const{data:n,computed:r,methods:o,watch:u,provide:l,inject:d,created:c,beforeMount:b,mounted:p,beforeUpdate:m,updated:g,activated:h,deactivated:y,beforeDestroy:f,beforeUnmount:v,destroyed:_,unmounted:k,render:S,renderTracked:z,renderTriggered:A,errorCaptured:w,serverPrefetch:I,expose:T,inheritAttrs:D,components:j,directives:B,filters:H}=e;if(d&&Xg(d,a,null),o)for(const rt in o){const tt=o[rt];xt(tt)&&(a[rt]=tt.bind(s))}if(n){const rt=n.call(s,s);oe(rt)&&(t.data=de(rt))}if(hu=!0,r)for(const rt in r){const tt=r[rt],ct=xt(tt)?tt.bind(s,s):xt(tt.get)?tt.get.bind(s,s):Bi,pt=!xt(tt)&&xt(tt.set)?tt.set.bind(s):Bi,St=O({get:ct,set:pt});Object.defineProperty(a,rt,{enumerable:!0,configurable:!0,get:()=>St.value,set:lt=>St.value=lt})}if(u)for(const rt in u)qm(u[rt],a,s,rt);if(l){const rt=xt(l)?l.call(s):l;Reflect.ownKeys(rt).forEach(tt=>{Ae(tt,rt[tt])})}c&&Zc(c,t,"c");function ut(rt,tt){Pt(tt)?tt.forEach(ct=>rt(ct.bind(s))):tt&&rt(tt.bind(s))}if(ut(_r,b),ut(Le,p),ut(xd,m),ut(hr,g),ut(Bm,h),ut(Md,y),ut(qg,w),ut(Vg,z),ut(Gg,A),ut(Re,v),ut(yr,k),ut(Fg,I),Pt(T))if(T.length){const rt=t.exposed||(t.exposed={});T.forEach(tt=>{Object.defineProperty(rt,tt,{get:()=>s[tt],set:ct=>s[tt]=ct,enumerable:!0})})}else t.exposed||(t.exposed={});S&&t.render===Bi&&(t.render=S),D!=null&&(t.inheritAttrs=D),j&&(t.components=j),B&&(t.directives=B),I&&Nm(t)}function Xg(t,e,s=Bi){Pt(t)&&(t=yu(t));for(const a in t){const n=t[a];let r;oe(n)?"default"in n?r=Wt(n.from||a,n.default,!0):r=Wt(n.from||a):r=Wt(n),ge(r)?Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[a]=r}}function Zc(t,e,s){Gi(Pt(t)?t.map(a=>a.bind(e.proxy)):t.bind(e.proxy),e,s)}function qm(t,e,s,a){let n=a.includes(".")?ef(s,a):()=>s[a];if(ce(t)){const r=e[t];xt(r)&&zt(n,r)}else if(xt(t))zt(n,t.bind(s));else if(oe(t))if(Pt(t))t.forEach(r=>qm(r,e,s,a));else{const r=xt(t.handler)?t.handler.bind(s):e[t.handler];xt(r)&&zt(n,r,t)}}function Um(t){const e=t.type,{mixins:s,extends:a}=e,{mixins:n,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,u=r.get(e);let l;return u?l=u:!n.length&&!s&&!a?l=e:(l={},n.length&&n.forEach(d=>_o(l,d,o,!0)),_o(l,e,o)),oe(e)&&r.set(e,l),l}function _o(t,e,s,a=!1){const{mixins:n,extends:r}=e;r&&_o(t,r,s,!0),n&&n.forEach(o=>_o(t,o,s,!0));for(const o in e)if(!(a&&o==="expose")){const u=Zg[o]||s&&s[o];t[o]=u?u(t[o],e[o]):e[o]}return t}const Zg={data:Qc,props:Jc,emits:Jc,methods:En,computed:En,beforeCreate:ti,created:ti,beforeMount:ti,mounted:ti,beforeUpdate:ti,updated:ti,beforeDestroy:ti,beforeUnmount:ti,destroyed:ti,unmounted:ti,activated:ti,deactivated:ti,errorCaptured:ti,serverPrefetch:ti,components:En,directives:En,watch:Jg,provide:Qc,inject:Qg};function Qc(t,e){return e?t?function(){return ze(xt(t)?t.call(this,this):t,xt(e)?e.call(this,this):e)}:e:t}function Qg(t,e){return En(yu(t),yu(e))}function yu(t){if(Pt(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function ti(t,e){return t?[...new Set([].concat(t,e))]:e}function En(t,e){return t?ze(Object.create(null),t,e):e}function Jc(t,e){return t?Pt(t)&&Pt(e)?[...new Set([...t,...e])]:ze(Object.create(null),Xn(t),Xn(e??{})):e}function Jg(t,e){if(!t)return e;if(!e)return t;const s=ze(Object.create(null),t);for(const a in e)s[a]=ti(t[a],e[a]);return s}function Hm(){return{app:null,config:{isNativeTag:$0,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let t_=0;function e_(t,e){return function(a,n=null){xt(a)||(a=ze({},a)),n!=null&&!oe(n)&&(n=null);const r=Hm(),o=new WeakSet,u=[];let l=!1;const d=r.app={_uid:t_++,_component:a,_props:n,_container:null,_context:r,_instance:null,version:B_,get config(){return r.config},set config(c){},use(c,...b){return o.has(c)||(c&&xt(c.install)?(o.add(c),c.install(d,...b)):xt(c)&&(o.add(c),c(d,...b))),d},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),d},component(c,b){return b?(r.components[c]=b,d):r.components[c]},directive(c,b){return b?(r.directives[c]=b,d):r.directives[c]},mount(c,b,p){if(!l){const m=d._ceVNode||L(a,n);return m.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),t(m,c,p),l=!0,d._container=c,c.__vue_app__=d,al(m.component)}},onUnmount(c){u.push(c)},unmount(){l&&(Gi(u,d._instance,16),t(null,d._container),delete d._container.__vue_app__)},provide(c,b){return r.provides[c]=b,d},runWithContext(c){const b=$a;$a=d;try{return c()}finally{$a=b}}};return d}}let $a=null;function Ae(t,e){if(Ye){let s=Ye.provides;const a=Ye.parent&&Ye.parent.provides;a===s&&(s=Ye.provides=Object.create(a)),s[t]=e}}function Wt(t,e,s=!1){const a=Es();if(a||$a){let n=$a?$a._context.provides:a?a.parent==null||a.ce?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(n&&t in n)return n[t];if(arguments.length>1)return s&&xt(e)?e.call(a&&a.proxy):e}}const Wm={},Km=()=>Object.create(Wm),$m=t=>Object.getPrototypeOf(t)===Wm;function i_(t,e,s,a=!1){const n={},r=Km();t.propsDefaults=Object.create(null),Ym(t,e,n,r);for(const o in t.propsOptions[0])o in n||(n[o]=void 0);s?t.props=a?n:ym(n):t.type.props?t.props=n:t.props=r,t.attrs=r}function s_(t,e,s,a){const{props:n,attrs:r,vnode:{patchFlag:o}}=t,u=Ct(n),[l]=t.propsOptions;let d=!1;if((a||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let b=0;b<c.length;b++){let p=c[b];if(sl(t.emitsOptions,p))continue;const m=e[p];if(l)if(te(r,p))m!==r[p]&&(r[p]=m,d=!0);else{const g=Qe(p);n[g]=ku(l,u,g,m,t,!1)}else m!==r[p]&&(r[p]=m,d=!0)}}}else{Ym(t,e,n,r)&&(d=!0);let c;for(const b in u)(!e||!te(e,b)&&((c=Ps(b))===b||!te(e,c)))&&(l?s&&(s[b]!==void 0||s[c]!==void 0)&&(n[b]=ku(l,u,b,void 0,t,!0)):delete n[b]);if(r!==u)for(const b in r)(!e||!te(e,b))&&(delete r[b],d=!0)}d&&gs(t.attrs,"set","")}function Ym(t,e,s,a){const[n,r]=t.propsOptions;let o=!1,u;if(e)for(let l in e){if(Dn(l))continue;const d=e[l];let c;n&&te(n,c=Qe(l))?!r||!r.includes(c)?s[c]=d:(u||(u={}))[c]=d:sl(t.emitsOptions,l)||(!(l in a)||d!==a[l])&&(a[l]=d,o=!0)}if(r){const l=Ct(s),d=u||$t;for(let c=0;c<r.length;c++){const b=r[c];s[b]=ku(n,l,b,d[b],t,!te(d,b))}}return o}function ku(t,e,s,a,n,r){const o=t[s];if(o!=null){const u=te(o,"default");if(u&&a===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&xt(l)){const{propsDefaults:d}=n;if(s in d)a=d[s];else{const c=kr(n);a=d[s]=l.call(null,e),c()}}else a=l;n.ce&&n.ce._setProp(s,a)}o[0]&&(r&&!u?a=!1:o[1]&&(a===""||a===Ps(s))&&(a=!0))}return a}const a_=new WeakMap;function Xm(t,e,s=!1){const a=s?a_:e.propsCache,n=a.get(t);if(n)return n;const r=t.props,o={},u=[];let l=!1;if(!xt(t)){const c=b=>{l=!0;const[p,m]=Xm(b,e,!0);ze(o,p),m&&u.push(...m)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!r&&!l)return oe(t)&&a.set(t,qa),qa;if(Pt(r))for(let c=0;c<r.length;c++){const b=Qe(r[c]);tb(b)&&(o[b]=$t)}else if(r)for(const c in r){const b=Qe(c);if(tb(b)){const p=r[c],m=o[b]=Pt(p)||xt(p)?{type:p}:ze({},p),g=m.type;let h=!1,y=!0;if(Pt(g))for(let f=0;f<g.length;++f){const v=g[f],_=xt(v)&&v.name;if(_==="Boolean"){h=!0;break}else _==="String"&&(y=!1)}else h=xt(g)&&g.name==="Boolean";m[0]=h,m[1]=y,(h||te(m,"default"))&&u.push(b)}}const d=[o,u];return oe(t)&&a.set(t,d),d}function tb(t){return t[0]!=="$"&&!Dn(t)}const Ld=t=>t==="_"||t==="_ctx"||t==="$stable",Rd=t=>Pt(t)?t.map(Li):[Li(t)],n_=(t,e,s)=>{if(e._n)return e;const a=ht((...n)=>Rd(e(...n)),s);return a._c=!1,a},Zm=(t,e,s)=>{const a=t._ctx;for(const n in t){if(Ld(n))continue;const r=t[n];if(xt(r))e[n]=n_(n,r,a);else if(r!=null){const o=Rd(r);e[n]=()=>o}}},Qm=(t,e)=>{const s=Rd(e);t.slots.default=()=>s},Jm=(t,e,s)=>{for(const a in e)(s||!Ld(a))&&(t[a]=e[a])},r_=(t,e,s)=>{const a=t.slots=Km();if(t.vnode.shapeFlag&32){const n=e._;n?(Jm(a,e,s),s&&J0(a,"_",n,!0)):Zm(e,a)}else e&&Qm(t,e)},o_=(t,e,s)=>{const{vnode:a,slots:n}=t;let r=!0,o=$t;if(a.shapeFlag&32){const u=e._;u?s&&u===1?r=!1:Jm(n,e,s):(r=!e.$stable,Zm(e,n)),o=e}else e&&(Qm(t,e),o={default:1});if(r)for(const u in n)!Ld(u)&&o[u]==null&&delete n[u]},ii=P_;function l_(t){return u_(t)}function u_(t,e){const s=Zo();s.__VUE__=!0;const{insert:a,remove:n,patchProp:r,createElement:o,createText:u,createComment:l,setText:d,setElementText:c,parentNode:b,nextSibling:p,setScopeId:m=Bi,insertStaticContent:g}=t,h=(E,x,G,Q=null,it=null,J=null,C=void 0,M=null,V=!!x.dynamicChildren)=>{if(E===x)return;E&&!Zi(E,x)&&(Q=P(E),lt(E,it,J,!0),E=null),x.patchFlag===-2&&(V=!1,x.dynamicChildren=null);const{type:U,ref:ft,shapeFlag:at}=x;switch(U){case pn:y(E,x,G,Q);break;case Ie:f(E,x,G,Q);break;case eo:E==null&&v(x,G,Q,C);break;case vt:j(E,x,G,Q,it,J,C,M,V);break;default:at&1?S(E,x,G,Q,it,J,C,M,V):at&6?B(E,x,G,Q,it,J,C,M,V):(at&64||at&128)&&U.process(E,x,G,Q,it,J,C,M,V,Z)}ft!=null&&it?Nn(ft,E&&E.ref,J,x||E,!x):ft==null&&E&&E.ref!=null&&Nn(E.ref,null,J,E,!0)},y=(E,x,G,Q)=>{if(E==null)a(x.el=u(x.children),G,Q);else{const it=x.el=E.el;x.children!==E.children&&d(it,x.children)}},f=(E,x,G,Q)=>{E==null?a(x.el=l(x.children||""),G,Q):x.el=E.el},v=(E,x,G,Q)=>{[E.el,E.anchor]=g(E.children,x,G,Q,E.el,E.anchor)},_=({el:E,anchor:x},G,Q)=>{let it;for(;E&&E!==x;)it=p(E),a(E,G,Q),E=it;a(x,G,Q)},k=({el:E,anchor:x})=>{let G;for(;E&&E!==x;)G=p(E),n(E),E=G;n(x)},S=(E,x,G,Q,it,J,C,M,V)=>{if(x.type==="svg"?C="svg":x.type==="math"&&(C="mathml"),E==null)z(x,G,Q,it,J,C,M,V);else{const U=E.el&&E.el._isVueCE?E.el:null;try{U&&U._beginPatch(),I(E,x,it,J,C,M,V)}finally{U&&U._endPatch()}}},z=(E,x,G,Q,it,J,C,M)=>{let V,U;const{props:ft,shapeFlag:at,transition:q,dirs:K}=E;if(V=E.el=o(E.type,J,ft&&ft.is,ft),at&8?c(V,E.children):at&16&&w(E.children,V,null,Q,it,jl(E,J),C,M),K&&sa(E,null,Q,"created"),A(V,E,E.scopeId,C,Q),ft){for(const Dt in ft)Dt!=="value"&&!Dn(Dt)&&r(V,Dt,null,ft[Dt],J,Q);"value"in ft&&r(V,"value",null,ft.value,J),(U=ft.onVnodeBeforeMount)&&Hi(U,Q,E)}K&&sa(E,null,Q,"beforeMount");const kt=d_(it,q);kt&&q.beforeEnter(V),a(V,x,G),((U=ft&&ft.onVnodeMounted)||kt||K)&&ii(()=>{U&&Hi(U,Q,E),kt&&q.enter(V),K&&sa(E,null,Q,"mounted")},it)},A=(E,x,G,Q,it)=>{if(G&&m(E,G),Q)for(let J=0;J<Q.length;J++)m(E,Q[J]);if(it){let J=it.subTree;if(x===J||nf(J.type)&&(J.ssContent===x||J.ssFallback===x)){const C=it.vnode;A(E,C,C.scopeId,C.slotScopeIds,it.parent)}}},w=(E,x,G,Q,it,J,C,M,V=0)=>{for(let U=V;U<E.length;U++){const ft=E[U]=M?Fs(E[U]):Li(E[U]);h(null,ft,x,G,Q,it,J,C,M)}},I=(E,x,G,Q,it,J,C)=>{const M=x.el=E.el;let{patchFlag:V,dynamicChildren:U,dirs:ft}=x;V|=E.patchFlag&16;const at=E.props||$t,q=x.props||$t;let K;if(G&&aa(G,!1),(K=q.onVnodeBeforeUpdate)&&Hi(K,G,x,E),ft&&sa(x,E,G,"beforeUpdate"),G&&aa(G,!0),(at.innerHTML&&q.innerHTML==null||at.textContent&&q.textContent==null)&&c(M,""),U?T(E.dynamicChildren,U,M,G,Q,jl(x,it),J):C||tt(E,x,M,null,G,Q,jl(x,it),J,!1),V>0){if(V&16)D(M,at,q,G,it);else if(V&2&&at.class!==q.class&&r(M,"class",null,q.class,it),V&4&&r(M,"style",at.style,q.style,it),V&8){const kt=x.dynamicProps;for(let Dt=0;Dt<kt.length;Dt++){const Nt=kt[Dt],je=at[Nt],he=q[Nt];(he!==je||Nt==="value")&&r(M,Nt,je,he,it,G)}}V&1&&E.children!==x.children&&c(M,x.children)}else!C&&U==null&&D(M,at,q,G,it);((K=q.onVnodeUpdated)||ft)&&ii(()=>{K&&Hi(K,G,x,E),ft&&sa(x,E,G,"updated")},Q)},T=(E,x,G,Q,it,J,C)=>{for(let M=0;M<x.length;M++){const V=E[M],U=x[M],ft=V.el&&(V.type===vt||!Zi(V,U)||V.shapeFlag&198)?b(V.el):G;h(V,U,ft,null,Q,it,J,C,!0)}},D=(E,x,G,Q,it)=>{if(x!==G){if(x!==$t)for(const J in x)!Dn(J)&&!(J in G)&&r(E,J,x[J],null,it,Q);for(const J in G){if(Dn(J))continue;const C=G[J],M=x[J];C!==M&&J!=="value"&&r(E,J,M,C,it,Q)}"value"in G&&r(E,"value",x.value,G.value,it)}},j=(E,x,G,Q,it,J,C,M,V)=>{const U=x.el=E?E.el:u(""),ft=x.anchor=E?E.anchor:u("");let{patchFlag:at,dynamicChildren:q,slotScopeIds:K}=x;K&&(M=M?M.concat(K):K),E==null?(a(U,G,Q),a(ft,G,Q),w(x.children||[],G,ft,it,J,C,M,V)):at>0&&at&64&&q&&E.dynamicChildren?(T(E.dynamicChildren,q,G,it,J,C,M),(x.key!=null||it&&x===it.subTree)&&Od(E,x,!0)):tt(E,x,G,ft,it,J,C,M,V)},B=(E,x,G,Q,it,J,C,M,V)=>{x.slotScopeIds=M,E==null?x.shapeFlag&512?it.ctx.activate(x,G,Q,C,V):H(x,G,Q,it,J,C,V):st(E,x,V)},H=(E,x,G,Q,it,J,C)=>{const M=E.component=I_(E,Q,it);if(tl(E)&&(M.ctx.renderer=Z),D_(M,!1,C),M.asyncDep){if(it&&it.registerDep(M,ut,C),!E.el){const V=M.subTree=L(Ie);f(null,V,x,G),E.placeholder=V.el}}else ut(M,E,x,G,it,J,C)},st=(E,x,G)=>{const Q=x.component=E.component;if(k_(E,x,G))if(Q.asyncDep&&!Q.asyncResolved){rt(Q,x,G);return}else Q.next=x,Q.update();else x.el=E.el,Q.vnode=x},ut=(E,x,G,Q,it,J,C)=>{const M=()=>{if(E.isMounted){let{next:at,bu:q,u:K,parent:kt,vnode:Dt}=E;{const xi=tf(E);if(xi){at&&(at.el=Dt.el,rt(E,at,C)),xi.asyncDep.then(()=>{E.isUnmounted||M()});return}}let Nt=at,je;aa(E,!1),at?(at.el=Dt.el,rt(E,at,C)):at=Dt,q&&kl(q),(je=at.props&&at.props.onVnodeBeforeUpdate)&&Hi(je,kt,at,Dt),aa(E,!0);const he=ib(E),wi=E.subTree;E.subTree=he,h(wi,he,b(wi.el),P(wi),E,it,J),at.el=he.el,Nt===null&&Nd(E,he.el),K&&ii(K,it),(je=at.props&&at.props.onVnodeUpdated)&&ii(()=>Hi(je,kt,at,Dt),it)}else{let at;const{el:q,props:K}=x,{bm:kt,m:Dt,parent:Nt,root:je,type:he}=E,wi=Ka(x);aa(E,!1),kt&&kl(kt),!wi&&(at=K&&K.onVnodeBeforeMount)&&Hi(at,Nt,x),aa(E,!0);{je.ce&&je.ce._def.shadowRoot!==!1&&je.ce._injectChildStyle(he);const xi=E.subTree=ib(E);h(null,xi,G,Q,E,it,J),x.el=xi.el}if(Dt&&ii(Dt,it),!wi&&(at=K&&K.onVnodeMounted)){const xi=x;ii(()=>Hi(at,Nt,xi),it)}(x.shapeFlag&256||Nt&&Ka(Nt.vnode)&&Nt.vnode.shapeFlag&256)&&E.a&&ii(E.a,it),E.isMounted=!0,x=G=Q=null}};E.scope.on();const V=E.effect=new rm(M);E.scope.off();const U=E.update=V.run.bind(V),ft=E.job=V.runIfDirty.bind(V);ft.i=E,ft.id=E.uid,V.scheduler=()=>Cd(ft),aa(E,!0),U()},rt=(E,x,G)=>{x.component=E;const Q=E.vnode.props;E.vnode=x,E.next=null,s_(E,x.props,Q,G),o_(E,x.children,G),ws(),Uc(E),Ss()},tt=(E,x,G,Q,it,J,C,M,V=!1)=>{const U=E&&E.children,ft=E?E.shapeFlag:0,at=x.children,{patchFlag:q,shapeFlag:K}=x;if(q>0){if(q&128){pt(U,at,G,Q,it,J,C,M,V);return}else if(q&256){ct(U,at,G,Q,it,J,C,M,V);return}}K&8?(ft&16&&Ft(U,it,J),at!==U&&c(G,at)):ft&16?K&16?pt(U,at,G,Q,it,J,C,M,V):Ft(U,it,J,!0):(ft&8&&c(G,""),K&16&&w(at,G,Q,it,J,C,M,V))},ct=(E,x,G,Q,it,J,C,M,V)=>{E=E||qa,x=x||qa;const U=E.length,ft=x.length,at=Math.min(U,ft);let q;for(q=0;q<at;q++){const K=x[q]=V?Fs(x[q]):Li(x[q]);h(E[q],K,G,null,it,J,C,M,V)}U>ft?Ft(E,it,J,!0,!1,at):w(x,G,Q,it,J,C,M,V,at)},pt=(E,x,G,Q,it,J,C,M,V)=>{let U=0;const ft=x.length;let at=E.length-1,q=ft-1;for(;U<=at&&U<=q;){const K=E[U],kt=x[U]=V?Fs(x[U]):Li(x[U]);if(Zi(K,kt))h(K,kt,G,null,it,J,C,M,V);else break;U++}for(;U<=at&&U<=q;){const K=E[at],kt=x[q]=V?Fs(x[q]):Li(x[q]);if(Zi(K,kt))h(K,kt,G,null,it,J,C,M,V);else break;at--,q--}if(U>at){if(U<=q){const K=q+1,kt=K<ft?x[K].el:Q;for(;U<=q;)h(null,x[U]=V?Fs(x[U]):Li(x[U]),G,kt,it,J,C,M,V),U++}}else if(U>q)for(;U<=at;)lt(E[U],it,J,!0),U++;else{const K=U,kt=U,Dt=new Map;for(U=kt;U<=q;U++){const mi=x[U]=V?Fs(x[U]):Li(x[U]);mi.key!=null&&Dt.set(mi.key,U)}let Nt,je=0;const he=q-kt+1;let wi=!1,xi=0;const gn=new Array(he);for(U=0;U<he;U++)gn[U]=0;for(U=K;U<=at;U++){const mi=E[U];if(je>=he){lt(mi,it,J,!0);continue}let Ui;if(mi.key!=null)Ui=Dt.get(mi.key);else for(Nt=kt;Nt<=q;Nt++)if(gn[Nt-kt]===0&&Zi(mi,x[Nt])){Ui=Nt;break}Ui===void 0?lt(mi,it,J,!0):(gn[Ui-kt]=U+1,Ui>=xi?xi=Ui:wi=!0,h(mi,x[Ui],G,null,it,J,C,M,V),je++)}const Oc=wi?c_(gn):qa;for(Nt=Oc.length-1,U=he-1;U>=0;U--){const mi=kt+U,Ui=x[mi],Nc=x[mi+1],Bc=mi+1<ft?Nc.el||Nc.placeholder:Q;gn[U]===0?h(null,Ui,G,Bc,it,J,C,M,V):wi&&(Nt<0||U!==Oc[Nt]?St(Ui,G,Bc,2):Nt--)}}},St=(E,x,G,Q,it=null)=>{const{el:J,type:C,transition:M,children:V,shapeFlag:U}=E;if(U&6){St(E.component.subTree,x,G,Q);return}if(U&128){E.suspense.move(x,G,Q);return}if(U&64){C.move(E,x,G,Z);return}if(C===vt){a(J,x,G);for(let at=0;at<V.length;at++)St(V[at],x,G,Q);a(E.anchor,x,G);return}if(C===eo){_(E,x,G);return}if(Q!==2&&U&1&&M)if(Q===0)M.beforeEnter(J),a(J,x,G),ii(()=>M.enter(J),it);else{const{leave:at,delayLeave:q,afterLeave:K}=M,kt=()=>{E.ctx.isUnmounted?n(J):a(J,x,G)},Dt=()=>{J._isLeaving&&J[vs](!0),at(J,()=>{kt(),K&&K()})};q?q(J,kt,Dt):Dt()}else a(J,x,G)},lt=(E,x,G,Q=!1,it=!1)=>{const{type:J,props:C,ref:M,children:V,dynamicChildren:U,shapeFlag:ft,patchFlag:at,dirs:q,cacheIndex:K}=E;if(at===-2&&(it=!1),M!=null&&(ws(),Nn(M,null,G,E,!0),Ss()),K!=null&&(x.renderCache[K]=void 0),ft&256){x.ctx.deactivate(E);return}const kt=ft&1&&q,Dt=!Ka(E);let Nt;if(Dt&&(Nt=C&&C.onVnodeBeforeUnmount)&&Hi(Nt,x,E),ft&6)Zt(E.component,G,Q);else{if(ft&128){E.suspense.unmount(G,Q);return}kt&&sa(E,null,x,"beforeUnmount"),ft&64?E.type.remove(E,x,G,Z,Q):U&&!U.hasOnce&&(J!==vt||at>0&&at&64)?Ft(U,x,G,!1,!0):(J===vt&&at&384||!it&&ft&16)&&Ft(V,x,G),Q&&dt(E)}(Dt&&(Nt=C&&C.onVnodeUnmounted)||kt)&&ii(()=>{Nt&&Hi(Nt,x,E),kt&&sa(E,null,x,"unmounted")},G)},dt=E=>{const{type:x,el:G,anchor:Q,transition:it}=E;if(x===vt){jt(G,Q);return}if(x===eo){k(E);return}const J=()=>{n(G),it&&!it.persisted&&it.afterLeave&&it.afterLeave()};if(E.shapeFlag&1&&it&&!it.persisted){const{leave:C,delayLeave:M}=it,V=()=>C(G,J);M?M(E.el,J,V):V()}else J()},jt=(E,x)=>{let G;for(;E!==x;)G=p(E),n(E),E=G;n(x)},Zt=(E,x,G)=>{const{bum:Q,scope:it,job:J,subTree:C,um:M,m:V,a:U}=E;eb(V),eb(U),Q&&kl(Q),it.stop(),J&&(J.flags|=8,lt(C,E,x,G)),M&&ii(M,x),ii(()=>{E.isUnmounted=!0},x)},Ft=(E,x,G,Q=!1,it=!1,J=0)=>{for(let C=J;C<E.length;C++)lt(E[C],x,G,Q,it)},P=E=>{if(E.shapeFlag&6)return P(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const x=p(E.anchor||E.el),G=x&&x[Cm];return G?p(G):x};let R=!1;const F=(E,x,G)=>{E==null?x._vnode&<(x._vnode,null,null,!0):h(x._vnode||null,E,x,null,null,null,G),x._vnode=E,R||(R=!0,Uc(),Tm(),R=!1)},Z={p:h,um:lt,m:St,r:dt,mt:H,mc:w,pc:tt,pbc:T,n:P,o:t};return{render:F,hydrate:void 0,createApp:e_(F)}}function jl({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function aa({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function d_(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Od(t,e,s=!1){const a=t.children,n=e.children;if(Pt(a)&&Pt(n))for(let r=0;r<a.length;r++){const o=a[r];let u=n[r];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=n[r]=Fs(n[r]),u.el=o.el),!s&&u.patchFlag!==-2&&Od(o,u)),u.type===pn&&u.patchFlag!==-1&&(u.el=o.el),u.type===Ie&&!u.el&&(u.el=o.el)}}function c_(t){const e=t.slice(),s=[0];let a,n,r,o,u;const l=t.length;for(a=0;a<l;a++){const d=t[a];if(d!==0){if(n=s[s.length-1],t[n]<d){e[a]=n,s.push(a);continue}for(r=0,o=s.length-1;r<o;)u=r+o>>1,t[s[u]]<d?r=u+1:o=u;d<t[s[r]]&&(r>0&&(e[a]=s[r-1]),s[r]=a)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function tf(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:tf(e)}function eb(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const b_=Symbol.for("v-scx"),p_=()=>Wt(b_);function we(t,e){return il(t,null,e)}function m_(t,e){return il(t,null,{flush:"sync"})}function zt(t,e,s){return il(t,e,s)}function il(t,e,s=$t){const{immediate:a,deep:n,flush:r,once:o}=s,u=ze({},s),l=e&&a||!e&&r!=="post";let d;if(Qn){if(r==="sync"){const m=p_();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Bi,m.resume=Bi,m.pause=Bi,m}}const c=Ye;u.call=(m,g,h)=>Gi(m,c,g,h);let b=!1;r==="post"?u.scheduler=m=>{ii(m,c&&c.suspense)}:r!=="sync"&&(b=!0,u.scheduler=(m,g)=>{g?m():Cd(m)}),u.augmentJob=m=>{e&&(m.flags|=4),b&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const p=xg(t,e,u);return Qn&&(d?d.push(p):l&&p()),p}function f_(t,e,s){const a=this.proxy,n=ce(t)?t.includes(".")?ef(a,t):()=>a[t]:t.bind(a,a);let r;xt(e)?r=e:(r=e.handler,s=e);const o=kr(this),u=il(n,r.bind(a),s);return o(),u}function ef(t,e){const s=e.split(".");return()=>{let a=t;for(let n=0;n<s.length&&a;n++)a=a[s[n]];return a}}function Ex(t,e,s=$t){const a=Es(),n=Qe(e),r=Ps(e),o=sf(t,n),u=Tg((l,d)=>{let c,b=$t,p;return m_(()=>{const m=t[n];ui(c,m)&&(c=m,d())}),{get(){return l(),s.get?s.get(c):c},set(m){const g=s.set?s.set(m):m;if(!ui(g,c)&&!(b!==$t&&ui(m,b)))return;const h=a.vnode.props;h&&(e in h||n in h||r in h)&&(`onUpdate:${e}`in h||`onUpdate:${n}`in h||`onUpdate:${r}`in h)||(c=m,d()),a.emit(`update:${e}`,g),ui(m,g)&&ui(m,b)&&!ui(g,p)&&d(),b=m,p=g}}});return u[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||$t:u,done:!1}:{done:!0}}}},u}const sf=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Qe(e)}Modifiers`]||t[`${Ps(e)}Modifiers`];function v_(t,e,...s){if(t.isUnmounted)return;const a=t.vnode.props||$t;let n=s;const r=e.startsWith("update:"),o=r&&sf(a,e.slice(7));o&&(o.trim&&(n=s.map(c=>ce(c)?c.trim():c)),o.number&&(n=s.map(X3)));let u,l=a[u=yl(e)]||a[u=yl(Qe(e))];!l&&r&&(l=a[u=yl(Ps(e))]),l&&Gi(l,t,6,n);const d=a[u+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[u])return;t.emitted[u]=!0,Gi(d,t,6,n)}}const g_=new WeakMap;function af(t,e,s=!1){const a=s?g_:e.emitsCache,n=a.get(t);if(n!==void 0)return n;const r=t.emits;let o={},u=!1;if(!xt(t)){const l=d=>{const c=af(d,e,!0);c&&(u=!0,ze(o,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!u?(oe(t)&&a.set(t,null),null):(Pt(r)?r.forEach(l=>o[l]=null):ze(o,r),oe(t)&&a.set(t,o),o)}function sl(t,e){return!t||!$o(e)?!1:(e=e.slice(2).replace(/Once$/,""),te(t,e[0].toLowerCase()+e.slice(1))||te(t,Ps(e))||te(t,e))}function ib(t){const{type:e,vnode:s,proxy:a,withProxy:n,propsOptions:[r],slots:o,attrs:u,emit:l,render:d,renderCache:c,props:b,data:p,setupState:m,ctx:g,inheritAttrs:h}=t,y=vo(t);let f,v;try{if(s.shapeFlag&4){const k=n||a,S=k;f=Li(d.call(S,k,c,b,m,p,g)),v=u}else{const k=e;f=Li(k.length>1?k(b,{attrs:u,slots:o,emit:l}):k(b,null)),v=e.props?u:h_(u)}}catch(k){Fn.length=0,gr(k,t,1),f=L(Ie)}let _=f;if(v&&h!==!1){const k=Object.keys(v),{shapeFlag:S}=_;k.length&&S&7&&(r&&k.some(_d)&&(v=y_(v,r)),_=As(_,v,!1,!0))}return s.dirs&&(_=As(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(s.dirs):s.dirs),s.transition&&fa(_,s.transition),f=_,vo(y),f}function __(t,e=!0){let s;for(let a=0;a<t.length;a++){const n=t[a];if(Pi(n)){if(n.type!==Ie||n.children==="v-if"){if(s)return;s=n}}else return}return s}const h_=t=>{let e;for(const s in t)(s==="class"||s==="style"||$o(s))&&((e||(e={}))[s]=t[s]);return e},y_=(t,e)=>{const s={};for(const a in t)(!_d(a)||!(a.slice(9)in e))&&(s[a]=t[a]);return s};function k_(t,e,s){const{props:a,children:n,component:r}=t,{props:o,children:u,patchFlag:l}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return a?sb(a,o,d):!!o;if(l&8){const c=e.dynamicProps;for(let b=0;b<c.length;b++){const p=c[b];if(o[p]!==a[p]&&!sl(d,p))return!0}}}else return(n||u)&&(!u||!u.$stable)?!0:a===o?!1:a?o?sb(a,o,d):!0:!!o;return!1}function sb(t,e,s){const a=Object.keys(e);if(a.length!==Object.keys(t).length)return!0;for(let n=0;n<a.length;n++){const r=a[n];if(e[r]!==t[r]&&!sl(s,r))return!0}return!1}function Nd({vnode:t,parent:e},s){for(;e;){const a=e.subTree;if(a.suspense&&a.suspense.activeBranch===t&&(a.el=t.el),a===t)(t=e.vnode).el=s,e=e.parent;else break}}const nf=t=>t.__isSuspense;let wu=0;const w_={name:"Suspense",__isSuspense:!0,process(t,e,s,a,n,r,o,u,l,d){if(t==null)S_(e,s,a,n,r,o,u,l,d);else{if(r&&r.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}A_(t,e,s,a,n,o,u,l,d)}},hydrate:z_,normalize:T_},Mx=w_;function Zn(t,e){const s=t.props&&t.props[e];xt(s)&&s()}function S_(t,e,s,a,n,r,o,u,l){const{p:d,o:{createElement:c}}=l,b=c("div"),p=t.suspense=rf(t,n,a,e,b,s,r,o,u,l);d(null,p.pendingBranch=t.ssContent,b,null,a,p,r,o),p.deps>0?(Zn(t,"onPending"),Zn(t,"onFallback"),d(null,t.ssFallback,e,s,a,null,r,o),Ya(p,t.ssFallback)):p.resolve(!1,!0)}function A_(t,e,s,a,n,r,o,u,{p:l,um:d,o:{createElement:c}}){const b=e.suspense=t.suspense;b.vnode=e,e.el=t.el;const p=e.ssContent,m=e.ssFallback,{activeBranch:g,pendingBranch:h,isInFallback:y,isHydrating:f}=b;if(h)b.pendingBranch=p,Zi(h,p)?(l(h,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0?b.resolve():y&&(f||(l(g,m,s,a,n,null,r,o,u),Ya(b,m)))):(b.pendingId=wu++,f?(b.isHydrating=!1,b.activeBranch=h):d(h,n,b),b.deps=0,b.effects.length=0,b.hiddenContainer=c("div"),y?(l(null,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0?b.resolve():(l(g,m,s,a,n,null,r,o,u),Ya(b,m))):g&&Zi(g,p)?(l(g,p,s,a,n,b,r,o,u),b.resolve(!0)):(l(null,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0&&b.resolve()));else if(g&&Zi(g,p))l(g,p,s,a,n,b,r,o,u),Ya(b,p);else if(Zn(e,"onPending"),b.pendingBranch=p,p.shapeFlag&512?b.pendingId=p.component.suspenseId:b.pendingId=wu++,l(null,p,b.hiddenContainer,null,n,b,r,o,u),b.deps<=0)b.resolve();else{const{timeout:v,pendingId:_}=b;v>0?setTimeout(()=>{b.pendingId===_&&b.fallback(m)},v):v===0&&b.fallback(m)}}function rf(t,e,s,a,n,r,o,u,l,d,c=!1){const{p:b,m:p,um:m,n:g,o:{parentNode:h,remove:y}}=d;let f;const v=j_(t);v&&e&&e.pendingBranch&&(f=e.pendingId,e.deps++);const _=t.props?tm(t.props.timeout):void 0,k=r,S={vnode:t,parent:e,parentComponent:s,namespace:o,container:a,hiddenContainer:n,deps:0,pendingId:wu++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(z=!1,A=!1){const{vnode:w,activeBranch:I,pendingBranch:T,pendingId:D,effects:j,parentComponent:B,container:H,isInFallback:st}=S;let ut=!1;S.isHydrating?S.isHydrating=!1:z||(ut=I&&T.transition&&T.transition.mode==="out-in",ut&&(I.transition.afterLeave=()=>{D===S.pendingId&&(p(T,H,r===k?g(I):r,0),fo(j),st&&w.ssFallback&&(w.ssFallback.el=null))}),I&&(h(I.el)===H&&(r=g(I)),m(I,B,S,!0),!ut&&st&&w.ssFallback&&(w.ssFallback.el=null)),ut||p(T,H,r,0)),Ya(S,T),S.pendingBranch=null,S.isInFallback=!1;let rt=S.parent,tt=!1;for(;rt;){if(rt.pendingBranch){rt.effects.push(...j),tt=!0;break}rt=rt.parent}!tt&&!ut&&fo(j),S.effects=[],v&&e&&e.pendingBranch&&f===e.pendingId&&(e.deps--,e.deps===0&&!A&&e.resolve()),Zn(w,"onResolve")},fallback(z){if(!S.pendingBranch)return;const{vnode:A,activeBranch:w,parentComponent:I,container:T,namespace:D}=S;Zn(A,"onFallback");const j=g(w),B=()=>{S.isInFallback&&(b(null,z,T,j,I,null,D,u,l),Ya(S,z))},H=z.transition&&z.transition.mode==="out-in";H&&(w.transition.afterLeave=B),S.isInFallback=!0,m(w,I,null,!0),H||B()},move(z,A,w){S.activeBranch&&p(S.activeBranch,z,A,w),S.container=z},next(){return S.activeBranch&&g(S.activeBranch)},registerDep(z,A,w){const I=!!S.pendingBranch;I&&S.deps++;const T=z.vnode.el;z.asyncDep.catch(D=>{gr(D,z,0)}).then(D=>{if(z.isUnmounted||S.isUnmounted||S.pendingId!==z.suspenseId)return;z.asyncResolved=!0;const{vnode:j}=z;Au(z,D),T&&(j.el=T);const B=!T&&z.subTree.el;A(z,j,h(T||z.subTree.el),T?null:g(z.subTree),S,o,w),B&&(j.placeholder=null,y(B)),Nd(z,j.el),I&&--S.deps===0&&S.resolve()})},unmount(z,A){S.isUnmounted=!0,S.activeBranch&&m(S.activeBranch,s,z,A),S.pendingBranch&&m(S.pendingBranch,s,z,A)}};return S}function z_(t,e,s,a,n,r,o,u,l){const d=e.suspense=rf(e,a,s,t.parentNode,document.createElement("div"),null,n,r,o,u,!0),c=l(t,d.pendingBranch=e.ssContent,s,d,r,o);return d.deps===0&&d.resolve(!1,!0),c}function T_(t){const{shapeFlag:e,children:s}=t,a=e&32;t.ssContent=ab(a?s.default:s),t.ssFallback=a?ab(s.fallback):L(Ie)}function ab(t){let e;if(xt(t)){const s=rn&&t._c;s&&(t._d=!1,W()),t=t(),s&&(t._d=!0,e=di,of())}return Pt(t)&&(t=__(t)),t=Li(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(s=>s!==t)),t}function P_(t,e){e&&e.pendingBranch?Pt(t)?e.effects.push(...t):e.effects.push(t):fo(t)}function Ya(t,e){t.activeBranch=e;const{vnode:s,parentComponent:a}=t;let n=e.el;for(;!n&&e.component;)e=e.component.subTree,n=e.el;s.el=n,a&&a.subTree===s&&(a.vnode.el=n,Nd(a,n))}function j_(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const vt=Symbol.for("v-fgt"),pn=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),eo=Symbol.for("v-stc"),Fn=[];let di=null;function W(t=!1){Fn.push(di=t?null:[])}function of(){Fn.pop(),di=Fn[Fn.length-1]||null}let rn=1;function ho(t,e=!1){rn+=t,t<0&&di&&e&&(di.hasOnce=!0)}function lf(t){return t.dynamicChildren=rn>0?di||qa:null,of(),rn>0&&di&&di.push(t),t}function et(t,e,s,a,n,r){return lf(N(t,e,s,a,n,r,!0))}function ee(t,e,s,a,n){return lf(L(t,e,s,a,n,!0))}function Pi(t){return t?t.__v_isVNode===!0:!1}function Zi(t,e){return t.type===e.type&&t.key===e.key}const uf=({key:t})=>t??null,io=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ce(t)||ge(t)||xt(t)?{i:qe,r:t,k:e,f:!!s}:t:null);function N(t,e=null,s=null,a=0,n=null,r=t===vt?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&uf(e),ref:e&&io(e),scopeId:jm,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:qe};return u?(Bd(l,s),r&128&&t.normalize(l)):s&&(l.shapeFlag|=ce(s)?8:16),rn>0&&!o&&di&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&di.push(l),l}const L=C_;function C_(t,e=null,s=null,a=0,n=null,r=!1){if((!t||t===Gm)&&(t=Ie),Pi(t)){const u=As(t,e,!0);return s&&Bd(u,s),rn>0&&!r&&di&&(u.shapeFlag&6?di[di.indexOf(t)]=u:di.push(u)),u.patchFlag=-2,u}if(N_(t)&&(t=t.__vccOpts),e){e=E_(e);let{class:u,style:l}=e;u&&!ce(u)&&(e.class=wt(u)),oe(l)&&(Td(l)&&!Pt(l)&&(l=ze({},l)),e.style=Lt(l))}const o=ce(t)?1:nf(t)?128:Em(t)?64:oe(t)?4:xt(t)?2:0;return N(t,e,s,a,n,o,r,!0)}function E_(t){return t?Td(t)||$m(t)?ze({},t):t:null}function As(t,e,s=!1,a=!1){const{props:n,ref:r,patchFlag:o,children:u,transition:l}=t,d=e?Et(n||{},e):n,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&uf(d),ref:e&&e.ref?s&&r?Pt(r)?r.concat(io(e)):[r,io(e)]:io(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:u,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==vt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&As(t.ssContent),ssFallback:t.ssFallback&&As(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&a&&fa(c,l.clone(c)),c}function Tt(t=" ",e=0){return L(pn,null,t,e)}function Mt(t="",e=!1){return e?(W(),ee(Ie,null,t)):L(Ie,null,t)}function Li(t){return t==null||typeof t=="boolean"?L(Ie):Pt(t)?L(vt,null,t.slice()):Pi(t)?Fs(t):L(pn,null,String(t))}function Fs(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:As(t)}function Bd(t,e){let s=0;const{shapeFlag:a}=t;if(e==null)e=null;else if(Pt(e))s=16;else if(typeof e=="object")if(a&65){const n=e.default;n&&(n._c&&(n._d=!1),Bd(t,n()),n._c&&(n._d=!0));return}else{s=32;const n=e._;!n&&!$m(e)?e._ctx=qe:n===3&&qe&&(qe.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else xt(e)?(e={default:e,_ctx:qe},s=32):(e=String(e),a&64?(s=16,e=[Tt(e)]):s=8);t.children=e,t.shapeFlag|=s}function Et(...t){const e={};for(let s=0;s<t.length;s++){const a=t[s];for(const n in a)if(n==="class")e.class!==a.class&&(e.class=wt([e.class,a.class]));else if(n==="style")e.style=Lt([e.style,a.style]);else if($o(n)){const r=e[n],o=a[n];o&&r!==o&&!(Pt(r)&&r.includes(o))&&(e[n]=r?[].concat(r,o):o)}else n!==""&&(e[n]=a[n])}return e}function Hi(t,e,s,a=null){Gi(t,e,7,[s,a])}const M_=Hm();let x_=0;function I_(t,e,s){const a=t.type,n=(e?e.appContext:t.appContext)||M_,r={uid:x_++,vnode:t,type:a,parent:e,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new am(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(n.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xm(a,n),emitsOptions:af(a,n),emit:null,emitted:null,propsDefaults:$t,inheritAttrs:a.inheritAttrs,ctx:$t,data:$t,props:$t,attrs:$t,slots:$t,refs:$t,setupState:$t,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=v_.bind(null,r),t.ce&&t.ce(r),r}let Ye=null;const Es=()=>Ye||qe;let yo,Su;{const t=Zo(),e=(s,a)=>{let n;return(n=t[s])||(n=t[s]=[]),n.push(a),r=>{n.length>1?n.forEach(o=>o(r)):n[0](r)}};yo=e("__VUE_INSTANCE_SETTERS__",s=>Ye=s),Su=e("__VUE_SSR_SETTERS__",s=>Qn=s)}const kr=t=>{const e=Ye;return yo(t),t.scope.on(),()=>{t.scope.off(),yo(e)}},nb=()=>{Ye&&Ye.scope.off(),yo(null)};function df(t){return t.vnode.shapeFlag&4}let Qn=!1;function D_(t,e=!1,s=!1){e&&Su(e);const{props:a,children:n}=t.vnode,r=df(t);i_(t,a,r,e),r_(t,n,s||e);const o=r?L_(t,e):void 0;return e&&Su(!1),o}function L_(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Wg);const{setup:a}=s;if(a){ws();const n=t.setupContext=a.length>1?bf(t):null,r=kr(t),o=vr(a,t,0,[t.props,n]),u=X0(o);if(Ss(),r(),(u||t.sp)&&!Ka(t)&&Nm(t),u){if(o.then(nb,nb),e)return o.then(l=>{Au(t,l)}).catch(l=>{gr(l,t,0)});t.asyncDep=o}else Au(t,o)}else cf(t)}function Au(t,e,s){xt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:oe(e)&&(t.setupState=wm(e)),cf(t)}function cf(t,e,s){const a=t.type;t.render||(t.render=a.render||Bi);{const n=kr(t);ws();try{Yg(t)}finally{Ss(),n()}}}const R_={get(t,e){return $e(t,"get",""),t[e]}};function bf(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,R_),slots:t.slots,emit:t.emit,expose:e}}function al(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(wm(Pd(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Bn)return Bn[s](t)},has(e,s){return s in e||s in Bn}})):t.proxy}function O_(t,e=!0){return xt(t)?t.displayName||t.name:t.name||e&&t.__name}function N_(t){return xt(t)&&"__vccOpts"in t}const O=(t,e)=>Eg(t,e,Qn);function ue(t,e,s){try{ho(-1);const a=arguments.length;return a===2?oe(e)&&!Pt(e)?Pi(e)?L(t,null,[e]):L(t,e):L(t,null,e):(a>3?s=Array.prototype.slice.call(arguments,2):a===3&&Pi(s)&&(s=[s]),L(t,e,s))}finally{ho(1)}}const B_="3.5.24";let zu;const rb=typeof window<"u"&&window.trustedTypes;if(rb)try{zu=rb.createPolicy("vue",{createHTML:t=>t})}catch{}const pf=zu?t=>zu.createHTML(t):t=>t,F_="http://www.w3.org/2000/svg",G_="http://www.w3.org/1998/Math/MathML",fs=typeof document<"u"?document:null,ob=fs&&fs.createElement("template"),V_={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,a)=>{const n=e==="svg"?fs.createElementNS(F_,t):e==="mathml"?fs.createElementNS(G_,t):s?fs.createElement(t,{is:s}):fs.createElement(t);return t==="select"&&a&&a.multiple!=null&&n.setAttribute("multiple",a.multiple),n},createText:t=>fs.createTextNode(t),createComment:t=>fs.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>fs.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,a,n,r){const o=s?s.previousSibling:e.lastChild;if(n&&(n===r||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),s),!(n===r||!(n=n.nextSibling)););else{ob.innerHTML=pf(a==="svg"?`<svg>${t}</svg>`:a==="mathml"?`<math>${t}</math>`:t);const u=ob.content;if(a==="svg"||a==="mathml"){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}e.insertBefore(u,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Ds="transition",hn="animation",on=Symbol("_vtc"),mf={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},ff=ze({},Dm,mf),q_=t=>(t.displayName="Transition",t.props=ff,t),va=q_((t,{slots:e})=>ue(Ng,vf(t),e)),na=(t,e=[])=>{Pt(t)?t.forEach(s=>s(...e)):t&&t(...e)},lb=t=>t?Pt(t)?t.some(e=>e.length>1):t.length>1:!1;function vf(t){const e={};for(const j in t)j in mf||(e[j]=t[j]);if(t.css===!1)return e;const{name:s="v",type:a,duration:n,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:u=`${s}-enter-to`,appearFromClass:l=r,appearActiveClass:d=o,appearToClass:c=u,leaveFromClass:b=`${s}-leave-from`,leaveActiveClass:p=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=t,g=U_(n),h=g&&g[0],y=g&&g[1],{onBeforeEnter:f,onEnter:v,onEnterCancelled:_,onLeave:k,onLeaveCancelled:S,onBeforeAppear:z=f,onAppear:A=v,onAppearCancelled:w=_}=e,I=(j,B,H,st)=>{j._enterCancelled=st,Os(j,B?c:u),Os(j,B?d:o),H&&H()},T=(j,B)=>{j._isLeaving=!1,Os(j,b),Os(j,m),Os(j,p),B&&B()},D=j=>(B,H)=>{const st=j?A:v,ut=()=>I(B,j,H);na(st,[B,ut]),ub(()=>{Os(B,j?l:r),$i(B,j?c:u),lb(st)||db(B,a,h,ut)})};return ze(e,{onBeforeEnter(j){na(f,[j]),$i(j,r),$i(j,o)},onBeforeAppear(j){na(z,[j]),$i(j,l),$i(j,d)},onEnter:D(!1),onAppear:D(!0),onLeave(j,B){j._isLeaving=!0;const H=()=>T(j,B);$i(j,b),j._enterCancelled?($i(j,p),Tu(j)):(Tu(j),$i(j,p)),ub(()=>{j._isLeaving&&(Os(j,b),$i(j,m),lb(k)||db(j,a,y,H))}),na(k,[j,H])},onEnterCancelled(j){I(j,!1,void 0,!0),na(_,[j])},onAppearCancelled(j){I(j,!0,void 0,!0),na(w,[j])},onLeaveCancelled(j){T(j),na(S,[j])}})}function U_(t){if(t==null)return null;if(oe(t))return[Cl(t.enter),Cl(t.leave)];{const e=Cl(t);return[e,e]}}function Cl(t){return tm(t)}function $i(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[on]||(t[on]=new Set)).add(e)}function Os(t,e){e.split(/\s+/).forEach(a=>a&&t.classList.remove(a));const s=t[on];s&&(s.delete(e),s.size||(t[on]=void 0))}function ub(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let H_=0;function db(t,e,s,a){const n=t._endId=++H_,r=()=>{n===t._endId&&a()};if(s!=null)return setTimeout(r,s);const{type:o,timeout:u,propCount:l}=gf(t,e);if(!o)return a();const d=o+"end";let c=0;const b=()=>{t.removeEventListener(d,p),r()},p=m=>{m.target===t&&++c>=l&&b()};setTimeout(()=>{c<l&&b()},u+1),t.addEventListener(d,p)}function gf(t,e){const s=window.getComputedStyle(t),a=g=>(s[g]||"").split(", "),n=a(`${Ds}Delay`),r=a(`${Ds}Duration`),o=cb(n,r),u=a(`${hn}Delay`),l=a(`${hn}Duration`),d=cb(u,l);let c=null,b=0,p=0;e===Ds?o>0&&(c=Ds,b=o,p=r.length):e===hn?d>0&&(c=hn,b=d,p=l.length):(b=Math.max(o,d),c=b>0?o>d?Ds:hn:null,p=c?c===Ds?r.length:l.length:0);const m=c===Ds&&/\b(?:transform|all)(?:,|$)/.test(a(`${Ds}Property`).toString());return{type:c,timeout:b,propCount:p,hasTransform:m}}function cb(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,a)=>bb(s)+bb(t[a])))}function bb(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Tu(t){return(t?t.ownerDocument:document).body.offsetHeight}function W_(t,e,s){const a=t[on];a&&(e=(e?[e,...a]:[...a]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const ko=Symbol("_vod"),_f=Symbol("_vsh"),wa={name:"show",beforeMount(t,{value:e},{transition:s}){t[ko]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):yn(t,e)},mounted(t,{value:e},{transition:s}){s&&e&&s.enter(t)},updated(t,{value:e,oldValue:s},{transition:a}){!e!=!s&&(a?e?(a.beforeEnter(t),yn(t,!0),a.enter(t)):a.leave(t,()=>{yn(t,!1)}):yn(t,e))},beforeUnmount(t,{value:e}){yn(t,e)}};function yn(t,e){t.style.display=e?t[ko]:"none",t[_f]=!e}const hf=Symbol("");function xx(t){const e=Es();if(!e)return;const s=e.ut=(n=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>wo(r,n))},a=()=>{const n=t(e.proxy);e.ce?wo(e.ce,n):Pu(e.subTree,n),s(n)};xd(()=>{fo(a)}),Le(()=>{zt(a,Bi,{flush:"post"});const n=new MutationObserver(a);n.observe(e.subTree.el.parentNode,{childList:!0}),yr(()=>n.disconnect())})}function Pu(t,e){if(t.shapeFlag&128){const s=t.suspense;t=s.activeBranch,s.pendingBranch&&!s.isHydrating&&s.effects.push(()=>{Pu(s.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)wo(t.el,e);else if(t.type===vt)t.children.forEach(s=>Pu(s,e));else if(t.type===eo){let{el:s,anchor:a}=t;for(;s&&(wo(s,e),s!==a);)s=s.nextSibling}}function wo(t,e){if(t.nodeType===1){const s=t.style;let a="";for(const n in e){const r=sg(e[n]);s.setProperty(`--${n}`,r),a+=`--${n}: ${r};`}s[hf]=a}}const K_=/(?:^|;)\s*display\s*:/;function $_(t,e,s){const a=t.style,n=ce(s);let r=!1;if(s&&!n){if(e)if(ce(e))for(const o of e.split(";")){const u=o.slice(0,o.indexOf(":")).trim();s[u]==null&&so(a,u,"")}else for(const o in e)s[o]==null&&so(a,o,"");for(const o in s)o==="display"&&(r=!0),so(a,o,s[o])}else if(n){if(e!==s){const o=a[hf];o&&(s+=";"+o),a.cssText=s,r=K_.test(s)}}else e&&t.removeAttribute("style");ko in t&&(t[ko]=r?a.display:"",t[_f]&&(a.display="none"))}const pb=/\s*!important$/;function so(t,e,s){if(Pt(s))s.forEach(a=>so(t,e,a));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const a=Y_(t,e);pb.test(s)?t.setProperty(Ps(a),s.replace(pb,""),"important"):t[a]=s}}const mb=["Webkit","Moz","ms"],El={};function Y_(t,e){const s=El[e];if(s)return s;let a=Qe(e);if(a!=="filter"&&a in t)return El[e]=a;a=js(a);for(let n=0;n<mb.length;n++){const r=mb[n]+a;if(r in t)return El[e]=r}return e}const fb="http://www.w3.org/1999/xlink";function vb(t,e,s,a,n,r=ig(e)){a&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(fb,e.slice(6,e.length)):t.setAttributeNS(fb,e,s):s==null||r&&!em(s)?t.removeAttribute(e):t.setAttribute(e,r?"":Ts(s)?String(s):s)}function gb(t,e,s,a,n){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?pf(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const u=r==="OPTION"?t.getAttribute("value")||"":t.value,l=s==null?t.type==="checkbox"?"on":"":String(s);(u!==l||!("_value"in t))&&(t.value=l),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const u=typeof t[e];u==="boolean"?s=em(s):s==null&&u==="string"?(s="",o=!0):u==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(n||e)}function X_(t,e,s,a){t.addEventListener(e,s,a)}function Z_(t,e,s,a){t.removeEventListener(e,s,a)}const _b=Symbol("_vei");function Q_(t,e,s,a,n=null){const r=t[_b]||(t[_b]={}),o=r[e];if(a&&o)o.value=a;else{const[u,l]=J_(e);if(a){const d=r[e]=ih(a,n);X_(t,u,d,l)}else o&&(Z_(t,u,o,l),r[e]=void 0)}}const hb=/(?:Once|Passive|Capture)$/;function J_(t){let e;if(hb.test(t)){e={};let a;for(;a=t.match(hb);)t=t.slice(0,t.length-a[0].length),e[a[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Ps(t.slice(2)),e]}let Ml=0;const th=Promise.resolve(),eh=()=>Ml||(th.then(()=>Ml=0),Ml=Date.now());function ih(t,e){const s=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=s.attached)return;Gi(sh(a,s.value),e,5,[a])};return s.value=t,s.attached=eh(),s}function sh(t,e){if(Pt(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(a=>n=>!n._stopped&&a&&a(n))}else return e}const yb=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ah=(t,e,s,a,n,r)=>{const o=n==="svg";e==="class"?W_(t,a,o):e==="style"?$_(t,s,a):$o(e)?_d(e)||Q_(t,e,s,a,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):nh(t,e,a,o))?(gb(t,e,a),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&vb(t,e,a,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ce(a))?gb(t,Qe(e),a,r,e):(e==="true-value"?t._trueValue=a:e==="false-value"&&(t._falseValue=a),vb(t,e,a,o))};function nh(t,e,s,a){if(a)return!!(e==="innerHTML"||e==="textContent"||e in t&&yb(e)&&xt(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=t.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return yb(e)&&ce(s)?!1:e in t}const yf=new WeakMap,kf=new WeakMap,So=Symbol("_moveCb"),kb=Symbol("_enterCb"),rh=t=>(delete t.props.mode,t),oh=rh({name:"TransitionGroup",props:ze({},ff,{tag:String,moveClass:String}),setup(t,{slots:e}){const s=Es(),a=Im();let n,r;return hr(()=>{if(!n.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!ch(n[0].el,s.vnode.el,o)){n=[];return}n.forEach(lh),n.forEach(uh);const u=n.filter(dh);Tu(s.vnode.el),u.forEach(l=>{const d=l.el,c=d.style;$i(d,o),c.transform=c.webkitTransform=c.transitionDuration="";const b=d[So]=p=>{p&&p.target!==d||(!p||p.propertyName.endsWith("transform"))&&(d.removeEventListener("transitionend",b),d[So]=null,Os(d,o))};d.addEventListener("transitionend",b)}),n=[]}),()=>{const o=Ct(t),u=vf(o);let l=o.tag||vt;if(n=[],r)for(let d=0;d<r.length;d++){const c=r[d];c.el&&c.el instanceof Element&&(n.push(c),fa(c,Yn(c,u,a,s)),yf.set(c,{left:c.el.offsetLeft,top:c.el.offsetTop}))}r=e.default?Ed(e.default()):[];for(let d=0;d<r.length;d++){const c=r[d];c.key!=null&&fa(c,Yn(c,u,a,s))}return L(l,null,r)}}}),Fd=oh;function lh(t){const e=t.el;e[So]&&e[So](),e[kb]&&e[kb]()}function uh(t){kf.set(t,{left:t.el.offsetLeft,top:t.el.offsetTop})}function dh(t){const e=yf.get(t),s=kf.get(t),a=e.left-s.left,n=e.top-s.top;if(a||n){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${a}px,${n}px)`,r.transitionDuration="0s",t}}function ch(t,e,s){const a=t.cloneNode(),n=t[on];n&&n.forEach(u=>{u.split(/\s+/).forEach(l=>l&&a.classList.remove(l))}),s.split(/\s+/).forEach(u=>u&&a.classList.add(u)),a.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(a);const{hasTransform:o}=gf(a);return r.removeChild(a),o}const bh=["ctrl","shift","alt","meta"],ph={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>bh.some(s=>t[`${s}Key`]&&!e.includes(s))},xl=(t,e)=>{const s=t._withMods||(t._withMods={}),a=e.join(".");return s[a]||(s[a]=((n,...r)=>{for(let o=0;o<e.length;o++){const u=ph[e[o]];if(u&&u(n,e))return}return t(n,...r)}))},mh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Il=(t,e)=>{const s=t._withKeys||(t._withKeys={}),a=e.join(".");return s[a]||(s[a]=(n=>{if(!("key"in n))return;const r=Ps(n.key);if(e.some(o=>o===r||mh[o]===r))return t(n)}))},fh=ze({patchProp:ah},V_);let wb;function vh(){return wb||(wb=l_(fh))}const gh=((...t)=>{const e=vh().createApp(...t),{mount:s}=e;return e.mount=a=>{const n=hh(a);if(!n)return;const r=e._component;!xt(r)&&!r.render&&!r.template&&(r.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const o=s(n,!1,_h(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},e});function _h(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function hh(t){return ce(t)?document.querySelector(t):t}const Ix="this_value_is_encrypted",Dx="none";var yh=(t=>(t.ALL="ALL",t.FL="FL",t.FR="FR",t))(yh||{}),wf=(t=>(t.PARAMETRIC_EQ="parametric_eq",t.TONE_CONTROL="tone_control",t))(wf||{}),kh=(t=>(t.PEAK="peak",t.HIGH_SHELF="high_shelf",t.LOW_SHELF="low_shelf",t.HIGH_PASS="high_pass",t.LOW_PASS="low_pass",t.NOTCH="notch",t))(kh||{}),ao=(t=>(t.ENABLED="enabled",t.DISABLED="disabled",t.DISABLED_BY_UNSUPPORTED_GROUP="disabled_by_unsupported_group",t))(ao||{}),At=(t=>(t.ARTIST="artist",t.ALBUM="album",t.TRACK="track",t.PLAYLIST="playlist",t.RADIO="radio",t.AUDIOBOOK="audiobook",t.PODCAST="podcast",t.PODCAST_EPISODE="podcast_episode",t.FOLDER="folder",t.UNKNOWN="unknown",t))(At||{}),ts=(t=>(t.THUMB="thumb",t.LANDSCAPE="landscape",t.FANART="fanart",t.LOGO="logo",t.CLEARART="clearart",t.BANNER="banner",t.CUTOUT="cutout",t.BACK="back",t.DISCART="discart",t.OTHER="other",t))(ts||{}),wh=(t=>(t.ALBUM="album",t.SINGLE="single",t.COMPILATION="compilation",t.EP="ep",t.LIVE="live",t.SOUNDTRACK="soundtrack",t.UNKNOWN="unknown",t))(wh||{}),se=(t=>(t.OGG="ogg",t.WAV="wav",t.AIFF="aiff",t.MPEG="mpeg",t.M4A="m4a",t.MP4A="mp4a",t.MP4="mp4",t.M4B="m4b",t.DSF="dsf",t.FLAC="flac",t.MP3="mp3",t.WMA="wma",t.WMAV2="wmav2",t.WMAPRO="wmapro",t.WAVPACK="wavpack",t.TAK="tak",t.APE="ape",t.MUSEPACK="mpc",t.AAC="aac",t.ALAC="alac",t.OPUS="opus",t.VORBIS="vorbis",t.AC3="ac3",t.EAC3="eac3",t.DTS="dts",t.TRUEHD="truehd",t.DTSHD="dtshd",t.DTSX="dtsx",t.COOK="cook",t.RA_144="ralf",t.MP2="mp2",t.MP1="mp1",t.DRA="dra",t.ATRAC3="atrac3",t.PCM_S16LE="s16le",t.PCM_S24LE="s24le",t.PCM_S32LE="s32le",t.PCM_F32LE="f32le",t.PCM_F64LE="f64le",t.PCM_S16BE="s16be",t.PCM_S24BE="s24be",t.PCM_S32BE="s32be",t.PCM_BLURAY="pcm_bluray",t.PCM_DVD="pcm_dvd",t.ADPCM_IMA="adpcm_ima_qt",t.ADPCM_MS="adpcm_ms",t.ADPCM_SWF="adpcm_swf",t.DSD_LSBF="dsd_lsbf",t.DSD_MSBF="dsd_msbf",t.DSD_LSBF_PLANAR="dsd_lsbf_planar",t.DSD_MSBF_PLANAR="dsd_msbf_planar",t.AMR="amr_nb",t.AMR_WB="amr_wb",t.SPEEX="speex",t.PCM_ALAW="alaw",t.PCM_MULAW="mulaw",t.G722="g722",t.G726="g726",t.PCM="pcm",t.UNKNOWN="?",t))(se||{}),Ve=(t=>(t.PLAY="play",t.REPLACE="replace",t.NEXT="next",t.REPLACE_NEXT="replace_next",t.ADD="add",t))(Ve||{}),Ra=(t=>(t.OFF="off",t.ONE="one",t.ALL="all",t))(Ra||{}),Xa=(t=>(t.IDLE="idle",t.PAUSED="paused",t.PLAYING="playing",t))(Xa||{}),Sf=(t=>(t.PLAYER="player",t.GROUP="group",t.STEREO_PAIR="stereo_pair",t))(Sf||{}),Sh=(t=>(t.POWER="power",t.VOLUME_SET="volume_set",t.VOLUME_MUTE="volume_mute",t.PAUSE="pause",t.SET_MEMBERS="set_members",t.MULTI_DEVICE_DSP="multi_device_dsp",t.SEEK="seek",t.NEXT_PREVIOUS="next_previous",t.PLAY_ANNOUNCEMENT="play_announcement",t.ENQUEUE="enqueue",t.SELECT_SOURCE="select_source",t))(Sh||{}),Me=(t=>(t.PLAYER_ADDED="player_added",t.PLAYER_UPDATED="player_updated",t.PLAYER_REMOVED="player_removed",t.PLAYER_SETTINGS_UPDATED="player_settings_updated",t.QUEUE_ADDED="queue_added",t.QUEUE_UPDATED="queue_updated",t.QUEUE_ITEMS_UPDATED="queue_items_updated",t.QUEUE_TIME_UPDATED="queue_time_updated",t.QUEUE_SETTINGS_UPDATED="queue_settings_updated",t.SHUTDOWN="application_shutdown",t.MEDIA_ITEM_ADDED="media_item_added",t.MEDIA_ITEM_UPDATED="media_item_updated",t.MEDIA_ITEM_DELETED="media_item_deleted",t.MEDIA_ITEM_PLAYED="media_item_played",t.PROVIDERS_UPDATED="providers_updated",t.PLAYER_CONFIG_UPDATED="player_config_updated",t.PLAYER_DSP_CONFIG_UPDATED="player_dsp_config_updated",t.DSP_PRESETS_UPDATED="dsp_presets_updated",t.SYNC_TASKS_UPDATED="sync_tasks_updated",t.AUTH_SESSION="auth_session",t.BUILTIN_PLAYER="builtin_player",t.CONNECTED="connected",t.DISCONNECTED="disconnected",t.ALL="*",t))(Me||{}),Ii=(t=>(t.PLAY="play",t.PAUSE="pause",t.RESUME="resume",t.STOP="stop",t.MUTE="mute",t.UNMUTE="unmute",t.SET_VOLUME="set_volume",t.PLAY_MEDIA="play_media",t.TIMEOUT="timeout",t.POWER_OFF="power_off",t.POWER_ON="power_on",t))(Ii||{}),no=(t=>(t.BROWSE="browse",t.SEARCH="search",t.RECOMMENDATIONS="recommendations",t.LIBRARY_ARTISTS="library_artists",t.LIBRARY_ALBUMS="library_albums",t.LIBRARY_TRACKS="library_tracks",t.LIBRARY_PLAYLISTS="library_playlists",t.LIBRARY_RADIOS="library_radios",t.ARTIST_ALBUMS="artist_albums",t.ARTIST_TOPTRACKS="artist_toptracks",t.LIBRARY_ARTISTS_EDIT="library_artists_edit",t.LIBRARY_ALBUMS_EDIT="library_albums_edit",t.LIBRARY_TRACKS_EDIT="library_tracks_edit",t.LIBRARY_PLAYLISTS_EDIT="library_playlists_edit",t.LIBRARY_RADIOS_EDIT="library_radios_edit",t.SIMILAR_TRACKS="similar_tracks",t.PLAYLIST_TRACKS_EDIT="playlist_tracks_edit",t.PLAYLIST_CREATE="playlist_create",t.SYNC_PLAYERS="sync_players",t.REMOVE_PLAYER="remove_player",t.REMOVE_GROUP_PLAYER="remove_group_player",t.CREATE_GROUP_PLAYER="create_group_player",t.ARTIST_METADATA="artist_metadata",t.ALBUM_METADATA="album_metadata",t.TRACK_METADATA="track_metadata",t))(no||{}),Ah=(t=>(t.MUSIC="music",t.PLAYER="player",t.METADATA="metadata",t.PLUGIN="plugin",t))(Ah||{}),zh=(t=>(t.BOOLEAN="boolean",t.STRING="string",t.SECURE_STRING="secure_string",t.INTEGER="integer",t.FLOAT="float",t.LABEL="label",t.DIVIDER="divider",t.ACTION="action",t.ICON="icon",t.ALERT="alert",t.DSP_SETTINGS="dsp_settings",t))(zh||{}),Mn=(t=>(t.DISABLED="disabled",t.DYNAMIC="dynamic",t.MEASUREMENT_ONLY="measurement_only",t.FALLBACK_FIXED_GAIN="fallback_fixed_gain",t.FIXED_GAIN="fixed_gain",t.FALLBACK_DYNAMIC="fallback_dynamic",t))(Mn||{}),Oa=(t=>(t.NEVER="never",t.WHEN_OFF="when_off",t.WHEN_GROUP_ACTIVE="when_group_active",t.WHEN_SYNCED="when_synced",t.WHEN_UNAVAILABLE="when_unavailable",t.ALWAYS="always",t))(Oa||{}),Th=(t=>(t.ALPHA="alpha",t.BETA="beta",t.STABLE="stable",t.EXPERIMENTAL="experimental",t.UNMAINTAINED="unmaintained",t.DEPRECATED="deprecated",t))(Th||{}),Ph=(t=>(t.ADMIN="admin",t.USER="user",t))(Ph||{});function jh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Dl={exports:{}},Sb;function Ch(){return Sb||(Sb=1,(function(t){(function(e,s){e(function(){var a={};a.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},a.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var n=Object.prototype.hasOwnProperty,r;a.FALLBACK_PHONE="UnknownPhone",a.FALLBACK_TABLET="UnknownTablet",a.FALLBACK_MOBILE="UnknownMobile",r="isArray"in Array?Array.isArray:function(b){return Object.prototype.toString.call(b)==="[object Array]"};function o(b,p){return b!=null&&p!=null&&b.toLowerCase()===p.toLowerCase()}function u(b,p){var m,g,h=b.length;if(!h||!p)return!1;for(m=p.toLowerCase(),g=0;g<h;++g)if(m===b[g].toLowerCase())return!0;return!1}function l(b){for(var p in b)n.call(b,p)&&(b[p]=new RegExp(b[p],"i"))}function d(b){return(b||"").substr(0,500)}(function(){var p,m,g,h,y,f,v=a.mobileDetectRules;for(p in v.props)if(n.call(v.props,p)){for(m=v.props[p],r(m)||(m=[m]),y=m.length,h=0;h<y;++h)g=m[h],f=g.indexOf("[VER]"),f>=0&&(g=g.substring(0,f)+"([\\w._\\+]+)"+g.substring(f+5)),m[h]=new RegExp(g,"i");v.props[p]=m}l(v.oss),l(v.phones),l(v.tablets),l(v.uas),l(v.utils),v.oss0={WindowsPhoneOS:v.oss.WindowsPhoneOS,WindowsMobileOS:v.oss.WindowsMobileOS}})(),a.findMatch=function(b,p){for(var m in b)if(n.call(b,m)&&b[m].test(p))return m;return null},a.findMatches=function(b,p){var m=[];for(var g in b)n.call(b,g)&&b[g].test(p)&&m.push(g);return m},a.getVersionStr=function(b,p){var m=a.mobileDetectRules.props,g,h,y,f;if(n.call(m,b)){for(g=m[b],y=g.length,h=0;h<y;++h)if(f=g[h].exec(p),f!==null)return f[1]}return null},a.getVersion=function(b,p){var m=a.getVersionStr(b,p);return m?a.prepareVersionNo(m):NaN},a.prepareVersionNo=function(b){var p;return p=b.split(/[a-z._ \/\-]/i),p.length===1&&(b=p[0]),p.length>1&&(b=p[0]+".",p.shift(),b+=p.join("")),Number(b)},a.isMobileFallback=function(b){return a.detectMobileBrowsers.fullPattern.test(b)||a.detectMobileBrowsers.shortPattern.test(b.substr(0,4))},a.isTabletFallback=function(b){return a.detectMobileBrowsers.tabletPattern.test(b)},a.prepareDetectionCache=function(b,p,m){if(b.mobile===s){var g,h,y;if(h=a.findMatch(a.mobileDetectRules.tablets,p),h){b.mobile=b.tablet=h,b.phone=null;return}if(g=a.findMatch(a.mobileDetectRules.phones,p),g){b.mobile=b.phone=g,b.tablet=null;return}a.isMobileFallback(p)?(y=c.isPhoneSized(m),y===s?(b.mobile=a.FALLBACK_MOBILE,b.tablet=b.phone=null):y?(b.mobile=b.phone=a.FALLBACK_PHONE,b.tablet=null):(b.mobile=b.tablet=a.FALLBACK_TABLET,b.phone=null)):a.isTabletFallback(p)?(b.mobile=b.tablet=a.FALLBACK_TABLET,b.phone=null):b.mobile=b.tablet=b.phone=null}},a.mobileGrade=function(b){var p=b.mobile()!==null;return b.os("iOS")&&b.version("iPad")>=4.3||b.os("iOS")&&b.version("iPhone")>=3.1||b.os("iOS")&&b.version("iPod")>=3.1||b.version("Android")>2.1&&b.is("Webkit")||b.version("Windows Phone OS")>=7||b.is("BlackBerry")&&b.version("BlackBerry")>=6||b.match("Playbook.*Tablet")||b.version("webOS")>=1.4&&b.match("Palm|Pre|Pixi")||b.match("hp.*TouchPad")||b.is("Firefox")&&b.version("Firefox")>=12||b.is("Chrome")&&b.is("AndroidOS")&&b.version("Android")>=4||b.is("Skyfire")&&b.version("Skyfire")>=4.1&&b.is("AndroidOS")&&b.version("Android")>=2.3||b.is("Opera")&&b.version("Opera Mobi")>11&&b.is("AndroidOS")||b.is("MeeGoOS")||b.is("Tizen")||b.is("Dolfin")&&b.version("Bada")>=2||(b.is("UC Browser")||b.is("Dolfin"))&&b.version("Android")>=2.3||b.match("Kindle Fire")||b.is("Kindle")&&b.version("Kindle")>=3||b.is("AndroidOS")&&b.is("NookTablet")||b.version("Chrome")>=11&&!p||b.version("Safari")>=5&&!p||b.version("Firefox")>=4&&!p||b.version("MSIE")>=7&&!p||b.version("Opera")>=10&&!p?"A":b.os("iOS")&&b.version("iPad")<4.3||b.os("iOS")&&b.version("iPhone")<3.1||b.os("iOS")&&b.version("iPod")<3.1||b.is("Blackberry")&&b.version("BlackBerry")>=5&&b.version("BlackBerry")<6||b.version("Opera Mini")>=5&&b.version("Opera Mini")<=6.5&&(b.version("Android")>=2.3||b.is("iOS"))||b.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||b.version("Opera Mobi")>=11&&b.is("SymbianOS")?"B":(b.version("BlackBerry")<5||b.match("MSIEMobile|Windows CE.*Mobile")||b.version("Windows Mobile")<=5.2,"C")},a.detectOS=function(b){return a.findMatch(a.mobileDetectRules.oss0,b)||a.findMatch(a.mobileDetectRules.oss,b)},a.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height};function c(b,p){this.ua=d(b),this._cache={},this.maxPhoneWidth=p||600}return c.prototype={constructor:c,mobile:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return a.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===s&&(this._cache.userAgent=a.findMatch(a.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===s&&(this._cache.userAgents=a.findMatches(a.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===s&&(this._cache.os=a.detectOS(this.ua)),this._cache.os},version:function(b){return a.getVersion(b,this.ua)},versionStr:function(b){return a.getVersionStr(b,this.ua)},is:function(b){return u(this.userAgents(),b)||o(b,this.os())||o(b,this.phone())||o(b,this.tablet())||u(a.findMatches(a.mobileDetectRules.utils,this.ua),b)},match:function(b){return b instanceof RegExp||(b=new RegExp(b,"i")),b.test(this.ua)},isPhoneSized:function(b){return c.isPhoneSized(b||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===s&&(this._cache.grade=a.mobileGrade(this)),this._cache.grade}},typeof window<"u"&&window.screen?c.isPhoneSized=function(b){return b<0?s:a.getDeviceSmallerSide()<=b}:c.isPhoneSized=function(){},c._impl=a,c.version="1.4.5 2021-03-13",c})})((function(e){if(t.exports)return function(s){t.exports=s()};if(typeof window<"u")return function(s){window.MobileDetect=s()};throw new Error("unknown environment")})())})(Dl)),Dl.exports}var Eh=Ch();const Af=jh(Eh),Za=new Af(window.navigator.userAgent),Ke={bp0:375,bp1:500,bp2:540,bp3:575,bp4:715,bp5:800,bp6:960,bp7:1100,bp8:1500,bp9:1700,bp10:1900,bp11:415},ke=de({width:window.innerWidth});window.addEventListener("resize",()=>{ke.width=window.innerWidth});const ei=t=>{let e="bp1",s="gt",a=0;if(typeof t=="object"?(e=t.breakpoint,s=t.condition||"gt",a=t.offset||0):e=t,Object.values(["mobile","phone","tablet"]).includes(e))switch(typeof t=="object"&&(s=t.condition||"lt"),e){case"mobile":return Za.mobile()?!0:s==="lt"?ke.width<Ke.bp3:ke.width>=Ke.bp3;case"phone":return Za.phone()?!0:s==="lt"?ke.width<Ke.bp3:ke.width>=Ke.bp3;case"tablet":return Za.tablet()?!0:s==="lt"?ke.width<Ke.bp3:ke.width>=Ke.bp3}else return s==="lt"?ke.width<Ke[e]+a:ke.width>=Ke[e]+a;return!1},Ab=()=>{ke.width=window.innerWidth},Mh={beforeMount(t,e){let s="gt",a="bp1",n=0;typeof e.value=="object"?(s=e.value.condition,a=e.value.breakpoint,n=e.value.offset||0):a=e.value,Object.values(["mobile","phone","tablet"]).includes(a)&&(s=e.value.condition||"lt");const r=u=>{if(u==="mobile")return!!Za.mobile()?!0:s==="lt"?ke.width<Ke.bp3:ke.width>=Ke.bp3;if(u==="phone")return!!Za.phone()?!0:s==="lt"?ke.width<Ke.bp3:ke.width>=Ke.bp3;if(u==="tablet")return!!Za.tablet()?!0:s==="lt"?ke.width<Ke.bp3:ke.width>=Ke.bp3},o=()=>{Object.values(["mobile","phone","tablet"]).includes(a)?r(a)?t.style.display="":t.style.display="none":(s==="lt"?ke.width<Ke[a]+n:ke.width>=Ke[a]+n)?t.style.display="":t.style.display="none"};window.addEventListener("resize",Ab),zt(()=>ke.width,o),o(),t._onDestroy=()=>{window.removeEventListener("resize",Ab)}},unmounted(t){t._onDestroy()}},xh={install(t){t.config.globalProperties.$screenSize=jd(ke),t.directive("breakpoint",Mh)}};function Gd(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Sa=Gd();function zf(t){Sa=t}var Gn={exec:()=>null};function Kt(t,e=""){let s=typeof t=="string"?t:t.source,a={replace:(n,r)=>{let o=typeof r=="string"?r:r.source;return o=o.replace(ri.caret,"$1"),s=s.replace(n,o),a},getRegex:()=>new RegExp(s,e)};return a}var Ih=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),ri={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Dh=/^(?:[ \t]*(?:\n|$))+/,Lh=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Rh=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,wr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Oh=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Vd=/(?:[*+-]|\d{1,9}[.)])/,Tf=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Pf=Kt(Tf).replace(/bull/g,Vd).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Nh=Kt(Tf).replace(/bull/g,Vd).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),qd=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Bh=/^[^\n]+/,Ud=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Fh=Kt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Ud).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Gh=Kt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Vd).getRegex(),nl="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Hd=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Vh=Kt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Hd).replace("tag",nl).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),jf=Kt(qd).replace("hr",wr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",nl).getRegex(),qh=Kt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",jf).getRegex(),Wd={blockquote:qh,code:Lh,def:Fh,fences:Rh,heading:Oh,hr:wr,html:Vh,lheading:Pf,list:Gh,newline:Dh,paragraph:jf,table:Gn,text:Bh},zb=Kt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",wr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",nl).getRegex(),Uh={...Wd,lheading:Nh,table:zb,paragraph:Kt(qd).replace("hr",wr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",zb).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",nl).getRegex()},Hh={...Wd,html:Kt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Hd).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Gn,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Kt(qd).replace("hr",wr).replace("heading",` *#{1,6} *[^
|
|
3
|
+
]`).replace("lheading",Pf).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Wh=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Kh=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Cf=/^( {2,}|\\)\n(?!\s*$)/,$h=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,rl=/[\p{P}\p{S}]/u,Kd=/[\s\p{P}\p{S}]/u,Ef=/[^\s\p{P}\p{S}]/u,Yh=Kt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Kd).getRegex(),Mf=/(?!~)[\p{P}\p{S}]/u,Xh=/(?!~)[\s\p{P}\p{S}]/u,Zh=/(?:[^\s\p{P}\p{S}]|~)/u,Qh=Kt(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Ih?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),xf=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Jh=Kt(xf,"u").replace(/punct/g,rl).getRegex(),ty=Kt(xf,"u").replace(/punct/g,Mf).getRegex(),If="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ey=Kt(If,"gu").replace(/notPunctSpace/g,Ef).replace(/punctSpace/g,Kd).replace(/punct/g,rl).getRegex(),iy=Kt(If,"gu").replace(/notPunctSpace/g,Zh).replace(/punctSpace/g,Xh).replace(/punct/g,Mf).getRegex(),sy=Kt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Ef).replace(/punctSpace/g,Kd).replace(/punct/g,rl).getRegex(),ay=Kt(/\\(punct)/,"gu").replace(/punct/g,rl).getRegex(),ny=Kt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ry=Kt(Hd).replace("(?:-->|$)","-->").getRegex(),oy=Kt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ry).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ao=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,ly=Kt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ao).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Df=Kt(/^!?\[(label)\]\[(ref)\]/).replace("label",Ao).replace("ref",Ud).getRegex(),Lf=Kt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ud).getRegex(),uy=Kt("reflink|nolink(?!\\()","g").replace("reflink",Df).replace("nolink",Lf).getRegex(),Tb=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,$d={_backpedal:Gn,anyPunctuation:ay,autolink:ny,blockSkip:Qh,br:Cf,code:Kh,del:Gn,emStrongLDelim:Jh,emStrongRDelimAst:ey,emStrongRDelimUnd:sy,escape:Wh,link:ly,nolink:Lf,punctuation:Yh,reflink:Df,reflinkSearch:uy,tag:oy,text:$h,url:Gn},dy={...$d,link:Kt(/^!?\[(label)\]\((.*?)\)/).replace("label",Ao).getRegex(),reflink:Kt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ao).getRegex()},ju={...$d,emStrongRDelimAst:iy,emStrongLDelim:ty,url:Kt(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Tb).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Kt(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Tb).getRegex()},cy={...ju,br:Kt(Cf).replace("{2,}","*").getRegex(),text:Kt(ju.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Lr={normal:Wd,gfm:Uh,pedantic:Hh},kn={normal:$d,gfm:ju,breaks:cy,pedantic:dy},by={"&":"&","<":"<",">":">",'"':""","'":"'"},Pb=t=>by[t];function bs(t,e){if(e){if(ri.escapeTest.test(t))return t.replace(ri.escapeReplace,Pb)}else if(ri.escapeTestNoEncode.test(t))return t.replace(ri.escapeReplaceNoEncode,Pb);return t}function jb(t){try{t=encodeURI(t).replace(ri.percentDecode,"%")}catch{return null}return t}function Cb(t,e){let s=t.replace(ri.findPipe,(r,o,u)=>{let l=!1,d=o;for(;--d>=0&&u[d]==="\\";)l=!l;return l?"|":" |"}),a=s.split(ri.splitPipe),n=0;if(a[0].trim()||a.shift(),a.length>0&&!a.at(-1)?.trim()&&a.pop(),e)if(a.length>e)a.splice(e);else for(;a.length<e;)a.push("");for(;n<a.length;n++)a[n]=a[n].trim().replace(ri.slashPipe,"|");return a}function wn(t,e,s){let a=t.length;if(a===0)return"";let n=0;for(;n<a&&t.charAt(a-n-1)===e;)n++;return t.slice(0,a-n)}function py(t,e){if(t.indexOf(e[1])===-1)return-1;let s=0;for(let a=0;a<t.length;a++)if(t[a]==="\\")a++;else if(t[a]===e[0])s++;else if(t[a]===e[1]&&(s--,s<0))return a;return s>0?-2:-1}function Eb(t,e,s,a,n){let r=e.href,o=e.title||null,u=t[1].replace(n.other.outputLinkReplace,"$1");a.state.inLink=!0;let l={type:t[0].charAt(0)==="!"?"image":"link",raw:s,href:r,title:o,text:u,tokens:a.inlineTokens(u)};return a.state.inLink=!1,l}function my(t,e,s){let a=t.match(s.other.indentCodeCompensation);if(a===null)return e;let n=a[1];return e.split(`
|
|
4
4
|
`).map(r=>{let o=r.match(s.other.beginningSpace);if(o===null)return r;let[u]=o;return u.length>=n.length?r.slice(n.length):r}).join(`
|
|
5
|
-
`)}var
|
|
6
|
-
`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let s=e[0],a=
|
|
7
|
-
`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let s=
|
|
5
|
+
`)}var zo=class{options;rules;lexer;constructor(t){this.options=t||Sa}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let s=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?s:wn(s,`
|
|
6
|
+
`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let s=e[0],a=my(s,e[3]||"",this.rules);return{type:"code",raw:s,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:a}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let s=e[2].trim();if(this.rules.other.endingHash.test(s)){let a=wn(s,"#");(this.options.pedantic||!a||this.rules.other.endingSpaceChar.test(a))&&(s=a.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:wn(e[0],`
|
|
7
|
+
`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let s=wn(e[0],`
|
|
8
8
|
`).split(`
|
|
9
9
|
`),a="",n="",r=[];for(;s.length>0;){let o=!1,u=[],l;for(l=0;l<s.length;l++)if(this.rules.other.blockquoteStart.test(s[l]))u.push(s[l]),o=!0;else if(!o)u.push(s[l]);else break;s=s.slice(l);let d=u.join(`
|
|
10
10
|
`),c=d.replace(this.rules.other.blockquoteSetextReplace,`
|
|
11
11
|
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");a=a?`${a}
|
|
12
12
|
${d}`:d,n=n?`${n}
|
|
13
|
-
${c}`:c;let b=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,r,!0),this.lexer.state.top=b,s.length===0)break;let p=r.at(-1);if(p?.type==="code")break;if(p?.type==="blockquote"){let
|
|
13
|
+
${c}`:c;let b=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(c,r,!0),this.lexer.state.top=b,s.length===0)break;let p=r.at(-1);if(p?.type==="code")break;if(p?.type==="blockquote"){let m=p,g=m.raw+`
|
|
14
14
|
`+s.join(`
|
|
15
|
-
`),h=this.blockquote(
|
|
15
|
+
`),h=this.blockquote(g);r[r.length-1]=h,a=a.substring(0,a.length-m.raw.length)+h.raw,n=n.substring(0,n.length-m.text.length)+h.text;break}else if(p?.type==="list"){let m=p,g=m.raw+`
|
|
16
16
|
`+s.join(`
|
|
17
|
-
`),h=this.list(
|
|
17
|
+
`),h=this.list(g);r[r.length-1]=h,a=a.substring(0,a.length-p.raw.length)+h.raw,n=n.substring(0,n.length-m.raw.length)+h.raw,s=g.substring(r.at(-1).raw.length).split(`
|
|
18
18
|
`);continue}}return{type:"blockquote",raw:a,tokens:r,text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let s=e[1].trim(),a=s.length>1,n={type:"list",raw:"",ordered:a,start:a?+s.slice(0,-1):"",loose:!1,items:[]};s=a?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=a?s:"[*+-]");let r=this.rules.other.listItemRegex(s),o=!1;for(;t;){let l=!1,d="",c="";if(!(e=r.exec(t))||this.rules.block.hr.test(t))break;d=e[0],t=t.substring(d.length);let b=e[2].split(`
|
|
19
19
|
`,1)[0].replace(this.rules.other.listReplaceTabs,y=>" ".repeat(3*y.length)),p=t.split(`
|
|
20
|
-
`,1)[0],
|
|
21
|
-
`,t=t.substring(p.length+1),l=!0),!l){let y=this.rules.other.nextBulletRegex(
|
|
22
|
-
`,1)[0],
|
|
23
|
-
`+
|
|
24
|
-
`+p}!
|
|
25
|
-
`,t=t.substring(
|
|
26
|
-
`):[],r={type:"table",raw:e[0],header:[],align:[],rows:[]};if(s.length===a.length){for(let o of a)this.rules.other.tableAlignRight.test(o)?r.align.push("right"):this.rules.other.tableAlignCenter.test(o)?r.align.push("center"):this.rules.other.tableAlignLeft.test(o)?r.align.push("left"):r.align.push(null);for(let o=0;o<s.length;o++)r.header.push({text:s[o],tokens:this.lexer.inline(s[o]),header:!0,align:r.align[o]});for(let o of n)r.rows.push(
|
|
27
|
-
`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:s,tokens:this.lexer.inline(s)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let s=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;let r=
|
|
28
|
-
`),this.blockTokens(e,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){let a=this.inlineQueue[s];this.inlineTokens(a.src,a.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,s=[],a=!1){for(this.options.pedantic&&(e=e.replace(
|
|
20
|
+
`,1)[0],m=!b.trim(),g=0;if(this.options.pedantic?(g=2,c=b.trimStart()):m?g=e[1].length+1:(g=e[2].search(this.rules.other.nonSpaceChar),g=g>4?1:g,c=b.slice(g),g+=e[1].length),m&&this.rules.other.blankLine.test(p)&&(d+=p+`
|
|
21
|
+
`,t=t.substring(p.length+1),l=!0),!l){let y=this.rules.other.nextBulletRegex(g),f=this.rules.other.hrRegex(g),v=this.rules.other.fencesBeginRegex(g),_=this.rules.other.headingBeginRegex(g),k=this.rules.other.htmlBeginRegex(g);for(;t;){let S=t.split(`
|
|
22
|
+
`,1)[0],z;if(p=S,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),z=p):z=p.replace(this.rules.other.tabCharGlobal," "),v.test(p)||_.test(p)||k.test(p)||y.test(p)||f.test(p))break;if(z.search(this.rules.other.nonSpaceChar)>=g||!p.trim())c+=`
|
|
23
|
+
`+z.slice(g);else{if(m||b.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||v.test(b)||_.test(b)||f.test(b))break;c+=`
|
|
24
|
+
`+p}!m&&!p.trim()&&(m=!0),d+=S+`
|
|
25
|
+
`,t=t.substring(S.length+1),b=z.slice(g)}}n.loose||(o?n.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(o=!0));let h=null;this.options.gfm&&(h=this.rules.other.listIsTask.exec(c),h&&(c=c.replace(this.rules.other.listReplaceTask,""))),n.items.push({type:"list_item",raw:d,task:!!h,loose:!1,text:c,tokens:[]}),n.raw+=d}let u=n.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;n.raw=n.raw.trimEnd();for(let l of n.items){if(this.lexer.state.top=!1,l.tokens=this.lexer.blockTokens(l.text,[]),l.task){let d=this.rules.other.listTaskCheckbox.exec(l.raw);if(d){let c={type:"checkbox",raw:d[0]+" ",checked:d[0]!=="[ ]"};l.checked=c.checked,n.loose?l.tokens[0]&&["paragraph","text"].includes(l.tokens[0].type)&&"tokens"in l.tokens[0]&&l.tokens[0].tokens?(l.tokens[0].raw=c.raw+l.tokens[0].raw,l.tokens[0].text=c.raw+l.tokens[0].text,l.tokens[0].tokens.unshift(c)):l.tokens.unshift({type:"paragraph",raw:c.raw,text:c.raw,tokens:[c]}):l.tokens.unshift(c)}}if(!n.loose){let d=l.tokens.filter(b=>b.type==="space"),c=d.length>0&&d.some(b=>this.rules.other.anyLine.test(b.raw));n.loose=c}}if(n.loose)for(let l of n.items){l.loose=!0;for(let d of l.tokens)d.type==="text"&&(d.type="paragraph")}return n}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:e[1]==="pre"||e[1]==="script"||e[1]==="style",text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let s=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),a=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:s,raw:e[0],href:a,title:n}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let s=Cb(e[1]),a=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),n=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
26
|
+
`):[],r={type:"table",raw:e[0],header:[],align:[],rows:[]};if(s.length===a.length){for(let o of a)this.rules.other.tableAlignRight.test(o)?r.align.push("right"):this.rules.other.tableAlignCenter.test(o)?r.align.push("center"):this.rules.other.tableAlignLeft.test(o)?r.align.push("left"):r.align.push(null);for(let o=0;o<s.length;o++)r.header.push({text:s[o],tokens:this.lexer.inline(s[o]),header:!0,align:r.align[o]});for(let o of n)r.rows.push(Cb(o,r.header.length).map((u,l)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:r.align[l]})));return r}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let s=e[1].charAt(e[1].length-1)===`
|
|
27
|
+
`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:s,tokens:this.lexer.inline(s)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let s=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;let r=wn(s.slice(0,-1),"\\");if((s.length-r.length)%2===0)return}else{let r=py(e[2],"()");if(r===-2)return;if(r>-1){let o=(e[0].indexOf("!")===0?5:4)+e[1].length+r;e[2]=e[2].substring(0,r),e[0]=e[0].substring(0,o).trim(),e[3]=""}}let a=e[2],n="";if(this.options.pedantic){let r=this.rules.other.pedanticHrefTitle.exec(a);r&&(a=r[1],n=r[3])}else n=e[3]?e[3].slice(1,-1):"";return a=a.trim(),this.rules.other.startAngleBracket.test(a)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(s)?a=a.slice(1):a=a.slice(1,-1)),Eb(e,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let s;if((s=this.rules.inline.reflink.exec(t))||(s=this.rules.inline.nolink.exec(t))){let a=(s[2]||s[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=e[a.toLowerCase()];if(!n){let r=s[0].charAt(0);return{type:"text",raw:r,text:r}}return Eb(s,n,s[0],this.lexer,this.rules)}}emStrong(t,e,s=""){let a=this.rules.inline.emStrongLDelim.exec(t);if(!(!a||a[3]&&s.match(this.rules.other.unicodeAlphaNumeric))&&(!(a[1]||a[2])||!s||this.rules.inline.punctuation.exec(s))){let n=[...a[0]].length-1,r,o,u=n,l=0,d=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,e=e.slice(-1*t.length+n);(a=d.exec(e))!=null;){if(r=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!r)continue;if(o=[...r].length,a[3]||a[4]){u+=o;continue}else if((a[5]||a[6])&&n%3&&!((n+o)%3)){l+=o;continue}if(u-=o,u>0)continue;o=Math.min(o,o+u+l);let c=[...a[0]][0].length,b=t.slice(0,n+a.index+c+o);if(Math.min(n,o)%2){let m=b.slice(1,-1);return{type:"em",raw:b,text:m,tokens:this.lexer.inlineTokens(m)}}let p=b.slice(2,-2);return{type:"strong",raw:b,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let s=e[2].replace(this.rules.other.newLineCharGlobal," "),a=this.rules.other.nonSpaceChar.test(s),n=this.rules.other.startingSpaceChar.test(s)&&this.rules.other.endingSpaceChar.test(s);return a&&n&&(s=s.substring(1,s.length-1)),{type:"codespan",raw:e[0],text:s}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let s,a;return e[2]==="@"?(s=e[1],a="mailto:"+s):(s=e[1],a=s),{type:"link",raw:e[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let s,a;if(e[2]==="@")s=e[0],a="mailto:"+s;else{let n;do n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(n!==e[0]);s=e[0],e[1]==="www."?a="http://"+e[0]:a=e[0]}return{type:"link",raw:e[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let s=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:s}}}},Ri=class Cu{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Sa,this.options.tokenizer=this.options.tokenizer||new zo,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let s={other:ri,block:Lr.normal,inline:kn.normal};this.options.pedantic?(s.block=Lr.pedantic,s.inline=kn.pedantic):this.options.gfm&&(s.block=Lr.gfm,this.options.breaks?s.inline=kn.breaks:s.inline=kn.gfm),this.tokenizer.rules=s}static get rules(){return{block:Lr,inline:kn}}static lex(e,s){return new Cu(s).lex(e)}static lexInline(e,s){return new Cu(s).inlineTokens(e)}lex(e){e=e.replace(ri.carriageReturn,`
|
|
28
|
+
`),this.blockTokens(e,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){let a=this.inlineQueue[s];this.inlineTokens(a.src,a.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,s=[],a=!1){for(this.options.pedantic&&(e=e.replace(ri.tabCharGlobal," ").replace(ri.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some(o=>(n=o.call({lexer:this},e,s))?(e=e.substring(n.raw.length),s.push(n),!0):!1))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let o=s.at(-1);n.raw.length===1&&o!==void 0?o.raw+=`
|
|
29
29
|
`:s.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let o=s.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
30
30
|
`)?"":`
|
|
31
31
|
`)+n.raw,o.text+=`
|
|
@@ -38,9 +38,9 @@ ${c}`:c;let b=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
|
|
|
38
38
|
`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):s.push(n),a=r.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let o=s.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
39
39
|
`)?"":`
|
|
40
40
|
`)+n.raw,o.text+=`
|
|
41
|
-
`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):s.push(n);continue}if(e){let o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,s}inline(e,s=[]){return this.inlineQueue.push({src:e,tokens:s}),s}inlineTokens(e,s=[]){let a=e,n=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(n=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null;)l.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(n=this.tokenizer.rules.inline.anyPunctuation.exec(a))!=null;)a=a.slice(0,n.index)+"++"+a.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let r;for(;(n=this.tokenizer.rules.inline.blockSkip.exec(a))!=null;)r=n[2]?n[2].length:0,a=a.slice(0,n.index+r)+"["+"a".repeat(n[0].length-r-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);a=this.options.hooks?.emStrongMask?.call({lexer:this},a)??a;let o=!1,u="";for(;e;){o||(u=""),o=!1;let l;if(this.options.extensions?.inline?.some(c=>(l=c.call({lexer:this},e,s))?(e=e.substring(l.raw.length),s.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let c=s.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(l=this.tokenizer.emStrong(e,a,u)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),s.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),s.push(l);continue}let d=e;if(this.options.extensions?.startInline){let c=1/0,b=e.slice(1),p;this.options.extensions.startInline.forEach(
|
|
42
|
-
`;return a?'<pre><code class="language-'+
|
|
43
|
-
`:"<pre><code>"+(s?n:
|
|
41
|
+
`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):s.push(n);continue}if(e){let o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,s}inline(e,s=[]){return this.inlineQueue.push({src:e,tokens:s}),s}inlineTokens(e,s=[]){let a=e,n=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(n=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null;)l.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(n=this.tokenizer.rules.inline.anyPunctuation.exec(a))!=null;)a=a.slice(0,n.index)+"++"+a.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let r;for(;(n=this.tokenizer.rules.inline.blockSkip.exec(a))!=null;)r=n[2]?n[2].length:0,a=a.slice(0,n.index+r)+"["+"a".repeat(n[0].length-r-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);a=this.options.hooks?.emStrongMask?.call({lexer:this},a)??a;let o=!1,u="";for(;e;){o||(u=""),o=!1;let l;if(this.options.extensions?.inline?.some(c=>(l=c.call({lexer:this},e,s))?(e=e.substring(l.raw.length),s.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let c=s.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(l=this.tokenizer.emStrong(e,a,u)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),s.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),s.push(l);continue}let d=e;if(this.options.extensions?.startInline){let c=1/0,b=e.slice(1),p;this.options.extensions.startInline.forEach(m=>{p=m.call({lexer:this},b),typeof p=="number"&&p>=0&&(c=Math.min(c,p))}),c<1/0&&c>=0&&(d=e.substring(0,c+1))}if(l=this.tokenizer.inlineText(d)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(u=l.raw.slice(-1)),o=!0;let c=s.at(-1);c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):s.push(l);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return s}},To=class{options;parser;constructor(t){this.options=t||Sa}space(t){return""}code({text:t,lang:e,escaped:s}){let a=(e||"").match(ri.notSpaceStart)?.[0],n=t.replace(ri.endingNewline,"")+`
|
|
42
|
+
`;return a?'<pre><code class="language-'+bs(a)+'">'+(s?n:bs(n,!0))+`</code></pre>
|
|
43
|
+
`:"<pre><code>"+(s?n:bs(n,!0))+`</code></pre>
|
|
44
44
|
`}blockquote({tokens:t}){return`<blockquote>
|
|
45
45
|
${this.parser.parse(t)}</blockquote>
|
|
46
46
|
`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>
|
|
@@ -56,10 +56,10 @@ ${this.parser.parse(t)}</blockquote>
|
|
|
56
56
|
`}tablerow({text:t}){return`<tr>
|
|
57
57
|
${t}</tr>
|
|
58
58
|
`}tablecell(t){let e=this.parser.parseInline(t.tokens),s=t.header?"th":"td";return(t.align?`<${s} align="${t.align}">`:`<${s}>`)+e+`</${s}>
|
|
59
|
-
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${
|
|
60
|
-
Please report this to https://github.com/markedjs/marked.`,t){let a="<p>An error occurred:</p><pre>"+os(s.message+"",!0)+"</pre>";return e?Promise.resolve(a):a}if(e)return Promise.reject(s);throw s}}},na=new wh;function Yt(t,e){return na.parse(t,e)}Yt.options=Yt.setOptions=function(t){return na.setOptions(t),Yt.defaults=na.defaults,Xm(Yt.defaults),Yt};Yt.getDefaults=wd;Yt.defaults=ua;Yt.use=function(...t){return na.use(...t),Yt.defaults=na.defaults,Xm(Yt.defaults),Yt};Yt.walkTokens=function(t,e){return na.walkTokens(t,e)};Yt.parseInline=na.parseInline;Yt.Parser=Di;Yt.parser=Di.parse;Yt.Renderer=co;Yt.TextRenderer=Cd;Yt.Lexer=Ii;Yt.lexer=Ii.lex;Yt.Tokenizer=uo;Yt.Hooks=kn;Yt.parse=Yt;Yt.options;Yt.setOptions;Yt.use;Yt.walkTokens;Yt.parseInline;Di.parse;Ii.lex;const xn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},lf=Object.create(null);for(const t in xn)Object.hasOwn(xn,t)&&(lf[xn[t]]=t);const Ee={to:{},get:{}};Ee.get=function(t){const e=t.slice(0,3).toLowerCase();let s,a;switch(e){case"hsl":{s=Ee.get.hsl(t),a="hsl";break}case"hwb":{s=Ee.get.hwb(t),a="hwb";break}default:{s=Ee.get.rgb(t),a="rgb";break}}return s?{model:a,value:s}:null};Ee.get.rgb=function(t){if(!t)return null;const e=/^#([a-f\d]{3,4})$/i,s=/^#([a-f\d]{6})([a-f\d]{2})?$/i,a=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,n=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,r=/^(\w+)$/;let o=[0,0,0,1],u,l,d;if(u=t.match(s)){for(d=u[2],u=u[1],l=0;l<3;l++){const c=l*2;o[l]=Number.parseInt(u.slice(c,c+2),16)}d&&(o[3]=Number.parseInt(d,16)/255)}else if(u=t.match(e)){for(u=u[1],d=u[3],l=0;l<3;l++)o[l]=Number.parseInt(u[l]+u[l],16);d&&(o[3]=Number.parseInt(d+d,16)/255)}else if(u=t.match(a)){for(l=0;l<3;l++)o[l]=Number.parseFloat(u[l+1]);u[4]&&(o[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else if(u=t.match(n)){for(l=0;l<3;l++)o[l]=Math.round(Number.parseFloat(u[l+1])*2.55);u[4]&&(o[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else return(u=t.toLowerCase().match(r))?u[1]==="transparent"?[0,0,0,0]:Object.hasOwn(xn,u[1])?(o=xn[u[1]].slice(),o[3]=1,o):null:null;for(l=0;l<3;l++)o[l]=xs(o[l],0,255);return o[3]=xs(o[3],0,1),o};Ee.get.hsl=function(t){if(!t)return null;const e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,s=t.match(e);if(s){const a=Number.parseFloat(s[4]),n=(Number.parseFloat(s[1])%360+360)%360,r=xs(Number.parseFloat(s[2]),0,100),o=xs(Number.parseFloat(s[3]),0,100),u=xs(Number.isNaN(a)?1:a,0,1);return[n,r,o,u]}return null};Ee.get.hwb=function(t){if(!t)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,s=t.match(e);if(s){const a=Number.parseFloat(s[4]),n=(Number.parseFloat(s[1])%360+360)%360,r=xs(Number.parseFloat(s[2]),0,100),o=xs(Number.parseFloat(s[3]),0,100),u=xs(Number.isNaN(a)?1:a,0,1);return[n,r,o,u]}return null};Ee.to.hex=function(...t){return"#"+Tr(t[0])+Tr(t[1])+Tr(t[2])+(t[3]<1?Tr(Math.round(t[3]*255)):"")};Ee.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};Ee.to.rgb.percent=function(...t){const e=Math.round(t[0]/255*100),s=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+s+"%, "+a+"%)":"rgba("+e+"%, "+s+"%, "+a+"%, "+t[3]+")"};Ee.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};Ee.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};Ee.to.keyword=function(...t){return lf[t.slice(0,3)]};function xs(t,e,s){return Math.min(Math.max(e,t),s)}function Tr(t){const e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}const qn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},uf={};for(const t of Object.keys(qn))uf[qn[t]]=t;const dt={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},fs=(6/29)**3;function Ba(t){const e=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,e),1)}function Fa(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(const t of Object.keys(dt)){if(!("channels"in dt[t]))throw new Error("missing channels property: "+t);if(!("labels"in dt[t]))throw new Error("missing channel labels property: "+t);if(dt[t].labels.length!==dt[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:s}=dt[t];delete dt[t].channels,delete dt[t].labels,Object.defineProperty(dt[t],"channels",{value:e}),Object.defineProperty(dt[t],"labels",{value:s})}dt.rgb.hsl=function(t){const e=t[0]/255,s=t[1]/255,a=t[2]/255,n=Math.min(e,s,a),r=Math.max(e,s,a),o=r-n;let u,l;switch(r){case n:{u=0;break}case e:{u=(s-a)/o;break}case s:{u=2+(a-e)/o;break}case a:{u=4+(e-s)/o;break}}u=Math.min(u*60,360),u<0&&(u+=360);const d=(n+r)/2;return r===n?l=0:d<=.5?l=o/(r+n):l=o/(2-r-n),[u,l*100,d*100]};dt.rgb.hsv=function(t){let e,s,a,n,r;const o=t[0]/255,u=t[1]/255,l=t[2]/255,d=Math.max(o,u,l),c=d-Math.min(o,u,l),b=function(p){return(d-p)/6/c+1/2};if(c===0)n=0,r=0;else{switch(r=c/d,e=b(o),s=b(u),a=b(l),d){case o:{n=a-s;break}case u:{n=1/3+e-a;break}case l:{n=2/3+s-e;break}}n<0?n+=1:n>1&&(n-=1)}return[n*360,r*100,d*100]};dt.rgb.hwb=function(t){const e=t[0],s=t[1];let a=t[2];const n=dt.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(s,a));return a=1-1/255*Math.max(e,Math.max(s,a)),[n,r*100,a*100]};dt.rgb.oklab=function(t){const e=Fa(t[0]/255),s=Fa(t[1]/255),a=Fa(t[2]/255),n=Math.cbrt(.4122214708*e+.5363325363*s+.0514459929*a),r=Math.cbrt(.2119034982*e+.6806995451*s+.1073969566*a),o=Math.cbrt(.0883024619*e+.2817188376*s+.6299787005*a),u=.2104542553*n+.793617785*r-.0040720468*o,l=1.9779984951*n-2.428592205*r+.4505937099*o,d=.0259040371*n+.7827717662*r-.808675766*o;return[u*100,l*100,d*100]};dt.rgb.cmyk=function(t){const e=t[0]/255,s=t[1]/255,a=t[2]/255,n=Math.min(1-e,1-s,1-a),r=(1-e-n)/(1-n)||0,o=(1-s-n)/(1-n)||0,u=(1-a-n)/(1-n)||0;return[r*100,o*100,u*100,n*100]};function Sh(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}dt.rgb.keyword=function(t){const e=uf[t];if(e)return e;let s=Number.POSITIVE_INFINITY,a;for(const n of Object.keys(qn)){const r=qn[n],o=Sh(t,r);o<s&&(s=o,a=n)}return a};dt.keyword.rgb=function(t){return[...qn[t]]};dt.rgb.xyz=function(t){const e=Fa(t[0]/255),s=Fa(t[1]/255),a=Fa(t[2]/255),n=e*.4124564+s*.3575761+a*.1804375,r=e*.2126729+s*.7151522+a*.072175,o=e*.0193339+s*.119192+a*.9503041;return[n*100,r*100,o*100]};dt.rgb.lab=function(t){const e=dt.rgb.xyz(t);let s=e[0],a=e[1],n=e[2];s/=95.047,a/=100,n/=108.883,s=s>fs?s**(1/3):7.787*s+16/116,a=a>fs?a**(1/3):7.787*a+16/116,n=n>fs?n**(1/3):7.787*n+16/116;const r=116*a-16,o=500*(s-a),u=200*(a-n);return[r,o,u]};dt.hsl.rgb=function(t){const e=t[0]/360,s=t[1]/100,a=t[2]/100;let n,r;if(s===0)return r=a*255,[r,r,r];const o=a<.5?a*(1+s):a+s-a*s,u=2*a-o,l=[0,0,0];for(let d=0;d<3;d++)n=e+1/3*-(d-1),n<0&&n++,n>1&&n--,6*n<1?r=u+(o-u)*6*n:2*n<1?r=o:3*n<2?r=u+(o-u)*(2/3-n)*6:r=u,l[d]=r*255;return l};dt.hsl.hsv=function(t){const e=t[0];let s=t[1]/100,a=t[2]/100,n=s;const r=Math.max(a,.01);a*=2,s*=a<=1?a:2-a,n*=r<=1?r:2-r;const o=(a+s)/2,u=a===0?2*n/(r+n):2*s/(a+s);return[e,u*100,o*100]};dt.hsv.rgb=function(t){const e=t[0]/60,s=t[1]/100;let a=t[2]/100;const n=Math.floor(e)%6,r=e-Math.floor(e),o=255*a*(1-s),u=255*a*(1-s*r),l=255*a*(1-s*(1-r));switch(a*=255,n){case 0:return[a,l,o];case 1:return[u,a,o];case 2:return[o,a,l];case 3:return[o,u,a];case 4:return[l,o,a];case 5:return[a,o,u]}};dt.hsv.hsl=function(t){const e=t[0],s=t[1]/100,a=t[2]/100,n=Math.max(a,.01);let r,o;o=(2-s)*a;const u=(2-s)*n;return r=s*n,r/=u<=1?u:2-u,r=r||0,o/=2,[e,r*100,o*100]};dt.hwb.rgb=function(t){const e=t[0]/360;let s=t[1]/100,a=t[2]/100;const n=s+a;let r;n>1&&(s/=n,a/=n);const o=Math.floor(6*e),u=1-a;r=6*e-o,(o&1)!==0&&(r=1-r);const l=s+r*(u-s);let d,c,b;switch(o){default:case 6:case 0:{d=u,c=l,b=s;break}case 1:{d=l,c=u,b=s;break}case 2:{d=s,c=u,b=l;break}case 3:{d=s,c=l,b=u;break}case 4:{d=l,c=s,b=u;break}case 5:{d=u,c=s,b=l;break}}return[d*255,c*255,b*255]};dt.cmyk.rgb=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=t[3]/100,r=1-Math.min(1,e*(1-n)+n),o=1-Math.min(1,s*(1-n)+n),u=1-Math.min(1,a*(1-n)+n);return[r*255,o*255,u*255]};dt.xyz.rgb=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100;let n,r,o;return n=e*3.2404542+s*-1.5371385+a*-.4985314,r=e*-.969266+s*1.8760108+a*.041556,o=e*.0556434+s*-.2040259+a*1.0572252,n=Ba(n),r=Ba(r),o=Ba(o),[n*255,r*255,o*255]};dt.xyz.lab=function(t){let e=t[0],s=t[1],a=t[2];e/=95.047,s/=100,a/=108.883,e=e>fs?e**(1/3):7.787*e+16/116,s=s>fs?s**(1/3):7.787*s+16/116,a=a>fs?a**(1/3):7.787*a+16/116;const n=116*s-16,r=500*(e-s),o=200*(s-a);return[n,r,o]};dt.xyz.oklab=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=Math.cbrt(.8189330101*e+.3618667424*s-.1288597137*a),r=Math.cbrt(.0329845436*e+.9293118715*s+.0361456387*a),o=Math.cbrt(.0482003018*e+.2643662691*s+.633851707*a),u=.2104542553*n+.793617785*r-.0040720468*o,l=1.9779984951*n-2.428592205*r+.4505937099*o,d=.0259040371*n+.7827717662*r-.808675766*o;return[u*100,l*100,d*100]};dt.oklab.oklch=function(t){return dt.lab.lch(t)};dt.oklab.xyz=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=(.999999998*e+.396337792*s+.215803758*a)**3,r=(1.000000008*e-.105561342*s-.063854175*a)**3,o=(1.000000055*e-.089484182*s-1.291485538*a)**3,u=1.227013851*n-.55779998*r+.281256149*o,l=-.040580178*n+1.11225687*r-.071676679*o,d=-.076381285*n-.421481978*r+1.58616322*o;return[u*100,l*100,d*100]};dt.oklab.rgb=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=(e+.3963377774*s+.2158037573*a)**3,r=(e-.1055613458*s-.0638541728*a)**3,o=(e-.0894841775*s-1.291485548*a)**3,u=Ba(4.0767416621*n-3.3077115913*r+.2309699292*o),l=Ba(-1.2684380046*n+2.6097574011*r-.3413193965*o),d=Ba(-.0041960863*n-.7034186147*r+1.707614701*o);return[u*255,l*255,d*255]};dt.oklch.oklab=function(t){return dt.lch.lab(t)};dt.lab.xyz=function(t){const e=t[0],s=t[1],a=t[2];let n,r,o;r=(e+16)/116,n=s/500+r,o=r-a/200;const u=r**3,l=n**3,d=o**3;return r=u>fs?u:(r-16/116)/7.787,n=l>fs?l:(n-16/116)/7.787,o=d>fs?d:(o-16/116)/7.787,n*=95.047,r*=100,o*=108.883,[n,r,o]};dt.lab.lch=function(t){const e=t[0],s=t[1],a=t[2];let n;n=Math.atan2(a,s)*360/2/Math.PI,n<0&&(n+=360);const o=Math.sqrt(s*s+a*a);return[e,o,n]};dt.lch.lab=function(t){const e=t[0],s=t[1],n=t[2]/360*2*Math.PI,r=s*Math.cos(n),o=s*Math.sin(n);return[e,r,o]};dt.rgb.ansi16=function(t,e=null){const[s,a,n]=t;let r=e===null?dt.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),r===0)return 30;let o=30+(Math.round(n/255)<<2|Math.round(a/255)<<1|Math.round(s/255));return r===2&&(o+=60),o};dt.hsv.ansi16=function(t){return dt.rgb.ansi16(dt.hsv.rgb(t),t[2])};dt.rgb.ansi256=function(t){const e=t[0],s=t[1],a=t[2];return e>>4===s>>4&&s>>4===a>>4?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(s/255*5)+Math.round(a/255*5)};dt.ansi16.rgb=function(t){t=t[0];let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const s=(Math.trunc(t>50)+1)*.5,a=(e&1)*s*255,n=(e>>1&1)*s*255,r=(e>>2&1)*s*255;return[a,n,r]};dt.ansi256.rgb=function(t){if(t=t[0],t>=232){const r=(t-232)*10+8;return[r,r,r]}t-=16;let e;const s=Math.floor(t/36)/5*255,a=Math.floor((e=t%36)/6)/5*255,n=e%6/5*255;return[s,a,n]};dt.rgb.hex=function(t){const s=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".slice(s.length)+s};dt.hex.rgb=function(t){const e=t.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!e)return[0,0,0];let s=e[0];e[0].length===3&&(s=[...s].map(u=>u+u).join(""));const a=Number.parseInt(s,16),n=a>>16&255,r=a>>8&255,o=a&255;return[n,r,o]};dt.rgb.hcg=function(t){const e=t[0]/255,s=t[1]/255,a=t[2]/255,n=Math.max(Math.max(e,s),a),r=Math.min(Math.min(e,s),a),o=n-r;let u;const l=o<1?r/(1-o):0;return o<=0?u=0:n===e?u=(s-a)/o%6:n===s?u=2+(a-e)/o:u=4+(e-s)/o,u/=6,u%=1,[u*360,o*100,l*100]};dt.hsl.hcg=function(t){const e=t[1]/100,s=t[2]/100,a=s<.5?2*e*s:2*e*(1-s);let n=0;return a<1&&(n=(s-.5*a)/(1-a)),[t[0],a*100,n*100]};dt.hsv.hcg=function(t){const e=t[1]/100,s=t[2]/100,a=e*s;let n=0;return a<1&&(n=(s-a)/(1-a)),[t[0],a*100,n*100]};dt.hcg.rgb=function(t){const e=t[0]/360,s=t[1]/100,a=t[2]/100;if(s===0)return[a*255,a*255,a*255];const n=[0,0,0],r=e%1*6,o=r%1,u=1-o;let l=0;switch(Math.floor(r)){case 0:{n[0]=1,n[1]=o,n[2]=0;break}case 1:{n[0]=u,n[1]=1,n[2]=0;break}case 2:{n[0]=0,n[1]=1,n[2]=o;break}case 3:{n[0]=0,n[1]=u,n[2]=1;break}case 4:{n[0]=o,n[1]=0,n[2]=1;break}default:n[0]=1,n[1]=0,n[2]=u}return l=(1-s)*a,[(s*n[0]+l)*255,(s*n[1]+l)*255,(s*n[2]+l)*255]};dt.hcg.hsv=function(t){const e=t[1]/100,s=t[2]/100,a=e+s*(1-e);let n=0;return a>0&&(n=e/a),[t[0],n*100,a*100]};dt.hcg.hsl=function(t){const e=t[1]/100,a=t[2]/100*(1-e)+.5*e;let n=0;return a>0&&a<.5?n=e/(2*a):a>=.5&&a<1&&(n=e/(2*(1-a))),[t[0],n*100,a*100]};dt.hcg.hwb=function(t){const e=t[1]/100,s=t[2]/100,a=e+s*(1-e);return[t[0],(a-e)*100,(1-a)*100]};dt.hwb.hcg=function(t){const e=t[1]/100,a=1-t[2]/100,n=a-e;let r=0;return n<1&&(r=(a-n)/(1-n)),[t[0],n*100,r*100]};dt.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};dt.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};dt.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};dt.gray.hsl=function(t){return[0,0,t[0]]};dt.gray.hsv=dt.gray.hsl;dt.gray.hwb=function(t){return[0,100,t[0]]};dt.gray.cmyk=function(t){return[0,0,0,t[0]]};dt.gray.lab=function(t){return[t[0],0,0]};dt.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255,a=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(a.length)+a};dt.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function Ah(){const t={},e=Object.keys(dt);for(let{length:s}=e,a=0;a<s;a++)t[e[a]]={distance:-1,parent:null};return t}function zh(t){const e=Ah(),s=[t];for(e[t].distance=0;s.length>0;){const a=s.pop(),n=Object.keys(dt[a]);for(let{length:r}=n,o=0;o<r;o++){const u=n[o],l=e[u];l.distance===-1&&(l.distance=e[a].distance+1,l.parent=a,s.unshift(u))}}return e}function Th(t,e){return function(s){return e(t(s))}}function Ph(t,e){const s=[e[t].parent,t];let a=dt[e[t].parent][t],n=e[t].parent;for(;e[n].parent;)s.unshift(e[n].parent),a=Th(dt[e[n].parent][n],a),n=e[n].parent;return a.conversion=s,a}function jh(t){const e=zh(t),s={},a=Object.keys(e);for(let{length:n}=a,r=0;r<n;r++){const o=a[r];e[o].parent!==null&&(s[o]=Ph(o,e))}return s}const Le={},Eh=Object.keys(dt);function Ch(t){const e=function(...s){const a=s[0];return a==null?a:(a.length>1&&(s=a),t(s))};return"conversion"in t&&(e.conversion=t.conversion),e}function Mh(t){const e=function(...s){const a=s[0];if(a==null)return a;a.length>1&&(s=a);const n=t(s);if(typeof n=="object")for(let{length:r}=n,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}for(const t of Eh){Le[t]={},Object.defineProperty(Le[t],"channels",{value:dt[t].channels}),Object.defineProperty(Le[t],"labels",{value:dt[t].labels});const e=jh(t),s=Object.keys(e);for(const a of s){const n=e[a];Le[t][a]=Mh(n),Le[t][a].raw=Ch(n)}}const df=["keyword","gray","hex"],bu={};for(const t of Object.keys(Le))bu[[...Le[t].labels].sort().join("")]=t;const pu={};function Pe(t,e){if(!(this instanceof Pe))return new Pe(t,e);if(e&&e in df&&(e=null),e&&!(e in Le))throw new Error("Unknown model: "+e);let s,a;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof Pe)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const n=Ee.get(t);if(n===null)throw new Error("Unable to parse color from string: "+t);this.model=n.model,a=Le[this.model].channels,this.color=n.value.slice(0,a),this.valpha=typeof n.value[a]=="number"?n.value[a]:1}else if(t.length>0){this.model=e||"rgb",a=Le[this.model].channels;const n=Array.prototype.slice.call(t,0,a);this.color=mu(n,a),this.valpha=typeof t[a]=="number"?t[a]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;const n=Object.keys(t);"alpha"in t&&(n.splice(n.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);const r=n.sort().join("");if(!(r in bu))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=bu[r];const{labels:o}=Le[this.model],u=[];for(s=0;s<o.length;s++)u.push(t[o[s]]);this.color=mu(u)}if(pu[this.model])for(a=Le[this.model].channels,s=0;s<a;s++){const n=pu[this.model][s];n&&(this.color[s]=n(this.color[s]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Pe.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in Ee.to?this:this.rgb();e=e.round(typeof t=="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return Ee.to[e.model](...s)},percentString(t){const e=this.rgb().round(typeof t=="number"?t:1),s=e.valpha===1?e.color:[...e.color,this.valpha];return Ee.to.rgb.percent(...s)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=Le[this.model],{labels:s}=Le[this.model];for(let a=0;a<e;a++)t[s[a]]=this.color[a];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new Pe([...this.color.map(Ih(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new Pe([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:pe("rgb",0,ze(255)),green:pe("rgb",1,ze(255)),blue:pe("rgb",2,ze(255)),hue:pe(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:pe("hsl",1,ze(100)),lightness:pe("hsl",2,ze(100)),saturationv:pe("hsv",1,ze(100)),value:pe("hsv",2,ze(100)),chroma:pe("hcg",1,ze(100)),gray:pe("hcg",2,ze(100)),white:pe("hwb",1,ze(100)),wblack:pe("hwb",2,ze(100)),cyan:pe("cmyk",0,ze(100)),magenta:pe("cmyk",1,ze(100)),yellow:pe("cmyk",2,ze(100)),black:pe("cmyk",3,ze(100)),x:pe("xyz",0,ze(95.047)),y:pe("xyz",1,ze(100)),z:pe("xyz",2,ze(108.833)),l:pe("lab",0,ze(100)),a:pe("lab",1),b:pe("lab",2),keyword(t){return t!==void 0?new Pe(t):Le[this.model].keyword(this.color)},hex(t){return t!==void 0?new Pe(t):Ee.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new Pe(t);const e=this.rgb().round().color;let s=Math.round(this.valpha*255).toString(16).toUpperCase();return s.length===1&&(s="0"+s),Ee.to.hex(...e)+s},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color,e=[];for(const[s,a]of t.entries()){const n=a/255;e[s]=n<=.04045?n/12.92:((n+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),s=t.luminosity();return e>s?(e+.05)/(s+.05):(s+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=t[0]*.3+t[1]*.59+t[2]*.11;return Pe.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let s=e.color[0];return s=(s+t)%360,s=s<0?360+s:s,e.color[0]=s,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const s=t.rgb(),a=this.rgb(),n=e===void 0?.5:e,r=2*n-1,o=s.alpha()-a.alpha(),u=((r*o===-1?r:(r+o)/(1+r*o))+1)/2,l=1-u;return Pe.rgb(u*s.red()+l*a.red(),u*s.green()+l*a.green(),u*s.blue()+l*a.blue(),s.alpha()*n+a.alpha()*(1-n))}};for(const t of Object.keys(Le)){if(df.includes(t))continue;const{channels:e}=Le[t];Pe.prototype[t]=function(...s){return this.model===t?new Pe(this):s.length>0?new Pe(s,t):new Pe([...Dh(Le[this.model][t].raw(this.color)),this.valpha],t)},Pe[t]=function(...s){let a=s[0];return typeof a=="number"&&(a=mu(s,e)),new Pe(a,t)}}function xh(t,e){return Number(t.toFixed(e))}function Ih(t){return function(e){return xh(e,t)}}function pe(t,e,s){t=Array.isArray(t)?t:[t];for(const a of t)(pu[a]||=[])[e]=s;return t=t[0],function(a){let n;return a!==void 0?(s&&(a=s(a)),n=this[t](),n.color[e]=a,n):(n=this[t]().color[e],s&&(n=s(n)),n)}}function ze(t){return function(e){return Math.max(0,Math.min(t,e))}}function Dh(t){return Array.isArray(t)?t:[t]}function mu(t,e){for(let s=0;s<e;s++)typeof t[s]!="number"&&(t[s]=0);return t}var Pr=function(t,e){return t<e?-1:t>e?1:0},ub=function(t){return t.reduce(function(e,s){return e+s},0)},Lh=(function(){function t(s){this.colors=s}var e=t.prototype;return e.palette=function(){return this.colors},e.map=function(s){return s},t})(),Rh=(function(){function t(r,o,u){return(r<<10)+(o<<5)+u}function e(r){var o=[],u=!1;function l(){o.sort(r),u=!0}return{push:function(d){o.push(d),u=!1},peek:function(d){return u||l(),d===void 0&&(d=o.length-1),o[d]},pop:function(){return u||l(),o.pop()},size:function(){return o.length},map:function(d){return o.map(d)},debug:function(){return u||l(),o}}}function s(r,o,u,l,d,c,b){var p=this;p.r1=r,p.r2=o,p.g1=u,p.g2=l,p.b1=d,p.b2=c,p.histo=b}function a(){this.vboxes=new e(function(r,o){return Pr(r.vbox.count()*r.vbox.volume(),o.vbox.count()*o.vbox.volume())})}function n(r,o){if(o.count()){var u=o.r2-o.r1+1,l=o.g2-o.g1+1,d=Math.max.apply(null,[u,l,o.b2-o.b1+1]);if(o.count()==1)return[o.copy()];var c,b,p,f,_=0,h=[],y=[];if(d==u)for(c=o.r1;c<=o.r2;c++){for(f=0,b=o.g1;b<=o.g2;b++)for(p=o.b1;p<=o.b2;p++)f+=r[t(c,b,p)]||0;h[c]=_+=f}else if(d==l)for(c=o.g1;c<=o.g2;c++){for(f=0,b=o.r1;b<=o.r2;b++)for(p=o.b1;p<=o.b2;p++)f+=r[t(b,c,p)]||0;h[c]=_+=f}else for(c=o.b1;c<=o.b2;c++){for(f=0,b=o.r1;b<=o.r2;b++)for(p=o.g1;p<=o.g2;p++)f+=r[t(b,p,c)]||0;h[c]=_+=f}return h.forEach(function(m,v){y[v]=_-m}),(function(m){var v,g,k,w,A,z=m+"1",S=m+"2",I=0;for(c=o[z];c<=o[S];c++)if(h[c]>_/2){for(k=o.copy(),w=o.copy(),A=(v=c-o[z])<=(g=o[S]-c)?Math.min(o[S]-1,~~(c+g/2)):Math.max(o[z],~~(c-1-v/2));!h[A];)A++;for(I=y[A];!I&&h[A-1];)I=y[--A];return k[S]=A,w[z]=k[S]+1,[k,w]}})(d==u?"r":d==l?"g":"b")}}return s.prototype={volume:function(r){var o=this;return o._volume&&!r||(o._volume=(o.r2-o.r1+1)*(o.g2-o.g1+1)*(o.b2-o.b1+1)),o._volume},count:function(r){var o=this,u=o.histo;if(!o._count_set||r){var l,d,c,b=0;for(l=o.r1;l<=o.r2;l++)for(d=o.g1;d<=o.g2;d++)for(c=o.b1;c<=o.b2;c++)b+=u[t(l,d,c)]||0;o._count=b,o._count_set=!0}return o._count},copy:function(){var r=this;return new s(r.r1,r.r2,r.g1,r.g2,r.b1,r.b2,r.histo)},avg:function(r){var o=this,u=o.histo;if(!o._avg||r){var l,d,c,b,p=0,f=0,_=0,h=0;if(o.r1===o.r2&&o.g1===o.g2&&o.b1===o.b2)o._avg=[o.r1<<3,o.g1<<3,o.b1<<3];else{for(d=o.r1;d<=o.r2;d++)for(c=o.g1;c<=o.g2;c++)for(b=o.b1;b<=o.b2;b++)p+=l=u[t(d,c,b)]||0,f+=l*(d+.5)*8,_+=l*(c+.5)*8,h+=l*(b+.5)*8;o._avg=p?[~~(f/p),~~(_/p),~~(h/p)]:[~~(8*(o.r1+o.r2+1)/2),~~(8*(o.g1+o.g2+1)/2),~~(8*(o.b1+o.b2+1)/2)]}}return o._avg},contains:function(r){var o=this,u=r[0]>>3;return gval=r[1]>>3,bval=r[2]>>3,u>=o.r1&&u<=o.r2&&gval>=o.g1&&gval<=o.g2&&bval>=o.b1&&bval<=o.b2}},a.prototype={push:function(r){this.vboxes.push({vbox:r,color:r.avg()})},palette:function(){return this.vboxes.map(function(r){return r.color})},size:function(){return this.vboxes.size()},map:function(r){for(var o=this.vboxes,u=0;u<o.size();u++)if(o.peek(u).vbox.contains(r))return o.peek(u).color;return this.nearest(r)},nearest:function(r){for(var o,u,l,d=this.vboxes,c=0;c<d.size();c++)((u=Math.sqrt(Math.pow(r[0]-d.peek(c).color[0],2)+Math.pow(r[1]-d.peek(c).color[1],2)+Math.pow(r[2]-d.peek(c).color[2],2)))<o||o===void 0)&&(o=u,l=d.peek(c).color);return l},forcebw:function(){var r=this.vboxes;r.sort(function(d,c){return Pr(ub(d.color),ub(c.color))});var o=r[0].color;o[0]<5&&o[1]<5&&o[2]<5&&(r[0].color=[0,0,0]);var u=r.length-1,l=r[u].color;l[0]>251&&l[1]>251&&l[2]>251&&(r[u].color=[255,255,255])}},{quantize:function(r,o){if(!Number.isInteger(o)||o<1||o>256)throw new Error("Invalid maximum color count. It must be an integer between 1 and 256.");if(!r.length||o<2||o>256||!r.length||o<2||o>256)return!1;for(var u=[],l=new Set,d=0;d<r.length;d++){var c=r[d],b=c.join(",");l.has(b)||(l.add(b),u.push(c))}if(u.length<=o)return new Lh(u);var p=(function(v){var g,k=new Array(32768);return v.forEach(function(w){g=t(w[0]>>3,w[1]>>3,w[2]>>3),k[g]=(k[g]||0)+1}),k})(r);p.forEach(function(){});var f=(function(v,g){var k,w,A,z=1e6,S=0,I=1e6,E=0,D=1e6,M=0;return v.forEach(function(N){(k=N[0]>>3)<z?z=k:k>S&&(S=k),(w=N[1]>>3)<I?I=w:w>E&&(E=w),(A=N[2]>>3)<D?D=A:A>M&&(M=A)}),new s(z,S,I,E,D,M,g)})(r,p),_=new e(function(v,g){return Pr(v.count(),g.count())});function h(v,g){for(var k,w=v.size(),A=0;A<1e3;){if(w>=g||A++>1e3)return;if((k=v.pop()).count()){var z=n(p,k),S=z[0],I=z[1];if(!S)return;v.push(S),I&&(v.push(I),w++)}else v.push(k),A++}}_.push(f),h(_,.75*o);for(var y=new e(function(v,g){return Pr(v.count()*v.volume(),g.count()*g.volume())});_.size();)y.push(_.pop());h(y,o);for(var m=new a;y.size();)m.push(y.pop());return m}}})().quantize,cf=function(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.width=this.canvas.width=t.naturalWidth,this.height=this.canvas.height=t.naturalHeight,this.context.drawImage(t,0,0,this.width,this.height)};cf.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)};var za=function(){};za.prototype.getColor=function(t,e){return e===void 0&&(e=10),this.getPalette(t,5,e)[0]},za.prototype.getPalette=function(t,e,s){var a=(function(u){var l=u.colorCount,d=u.quality;if(l!==void 0&&Number.isInteger(l)){if(l===1)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");l=Math.max(l,2),l=Math.min(l,20)}else l=10;return(d===void 0||!Number.isInteger(d)||d<1)&&(d=10),{colorCount:l,quality:d}})({colorCount:e,quality:s}),n=new cf(t),r=(function(u,l,d){for(var c,b,p,f,_,h=u,y=[],m=0;m<l;m+=d)b=h[0+(c=4*m)],p=h[c+1],f=h[c+2],((_=h[c+3])===void 0||_>=125)&&(b>250&&p>250&&f>250||y.push([b,p,f]));return y})(n.getImageData().data,n.width*n.height,a.quality),o=Rh(r,a.colorCount);return o?o.palette():null},za.prototype.getColorFromUrl=function(t,e,s){var a=this,n=document.createElement("img");n.addEventListener("load",function(){var r=a.getPalette(n,5,s);e(r[0],t)}),n.src=t},za.prototype.getImageData=function(t,e){var s=new XMLHttpRequest;s.open("GET",t,!0),s.responseType="arraybuffer",s.onload=function(){if(this.status==200){var a=new Uint8Array(this.response);i=a.length;for(var n=new Array(i),r=0;r<a.length;r++)n[r]=String.fromCharCode(a[r]);var o=n.join(""),u=window.btoa(o);e("data:image/png;base64,"+u)}},s.send()},za.prototype.getColorAsync=function(t,e,s){var a=this;this.getImageData(t,function(n){var r=document.createElement("img");r.addEventListener("load",function(){var o=a.getPalette(r,5,s);e(o[0],this)}),r.src=n})};function Oh(t){return{all:t=t||new Map,on:function(e,s){var a=t.get(e);a?a.push(s):t.set(e,[s])},off:function(e,s){var a=t.get(e);a&&(s?a.splice(a.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var a=t.get(e);a&&a.slice().map(function(n){n(s)}),(a=t.get("*"))&&a.slice().map(function(n){n(e,s)})}}}const Mi=Oh();const Ta=typeof document<"u";function bf(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Nh(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&bf(t.default)}const Wt=Object.assign;function vl(t,e){const s={};for(const a in e){const n=e[a];s[a]=Bi(n)?n.map(t):t(n)}return s}const In=()=>{},Bi=Array.isArray;function db(t,e){const s={};for(const a in t)s[a]=a in e?e[a]:t[a];return s}const pf=/#/g,Bh=/&/g,Fh=/\//g,Gh=/=/g,Uh=/\?/g,mf=/\+/g,qh=/%5B/g,Vh=/%5D/g,ff=/%5E/g,Hh=/%60/g,vf=/%7B/g,Wh=/%7C/g,_f=/%7D/g,Kh=/%20/g;function Md(t){return t==null?"":encodeURI(""+t).replace(Wh,"|").replace(qh,"[").replace(Vh,"]")}function $h(t){return Md(t).replace(vf,"{").replace(_f,"}").replace(ff,"^")}function fu(t){return Md(t).replace(mf,"%2B").replace(Kh,"+").replace(pf,"%23").replace(Bh,"%26").replace(Hh,"`").replace(vf,"{").replace(_f,"}").replace(ff,"^")}function Yh(t){return fu(t).replace(Gh,"%3D")}function Xh(t){return Md(t).replace(pf,"%23").replace(Uh,"%3F")}function Zh(t){return Xh(t).replace(Fh,"%2F")}function Vn(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const Qh=/\/$/,Jh=t=>t.replace(Qh,"");function _l(t,e,s="/"){let a,n={},r="",o="";const u=e.indexOf("#");let l=e.indexOf("?");return l=u>=0&&l>u?-1:l,l>=0&&(a=e.slice(0,l),r=e.slice(l,u>0?u:e.length),n=t(r.slice(1))),u>=0&&(a=a||e.slice(0,u),o=e.slice(u,e.length)),a=sy(a??e,s),{fullPath:a+r+o,path:a,query:n,hash:Vn(o)}}function ty(t,e){const s=e.query?t(e.query):"";return e.path+(s&&"?")+s+(e.hash||"")}function cb(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function ey(t,e,s){const a=e.matched.length-1,n=s.matched.length-1;return a>-1&&a===n&&$a(e.matched[a],s.matched[n])&&gf(e.params,s.params)&&t(e.query)===t(s.query)&&e.hash===s.hash}function $a(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function gf(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(!iy(t[s],e[s]))return!1;return!0}function iy(t,e){return Bi(t)?bb(t,e):Bi(e)?bb(e,t):t===e}function bb(t,e){return Bi(e)?t.length===e.length&&t.every((s,a)=>s===e[a]):t.length===1&&t[0]===e}function sy(t,e){if(t.startsWith("/"))return t;if(!t)return e;const s=e.split("/"),a=t.split("/"),n=a[a.length-1];(n===".."||n===".")&&a.push("");let r=s.length-1,o,u;for(o=0;o<a.length;o++)if(u=a[o],u!==".")if(u==="..")r>1&&r--;else break;return s.slice(0,r).join("/")+"/"+a.slice(o).join("/")}const zs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let vu=(function(t){return t.pop="pop",t.push="push",t})({}),gl=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function ay(t){if(!t)if(Ta){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Jh(t)}const ny=/^[^#]+#/;function ry(t,e){return t.replace(ny,"#")+e}function oy(t,e){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:e.behavior,left:a.left-s.left-(e.left||0),top:a.top-s.top-(e.top||0)}}const Ko=()=>({left:window.scrollX,top:window.scrollY});function ly(t){let e;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),n=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!n)return;e=oy(n,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function pb(t,e){return(history.state?history.state.position-e:-1)+t}const _u=new Map;function uy(t,e){_u.set(t,e)}function dy(t){const e=_u.get(t);return _u.delete(t),e}function cy(t){return typeof t=="string"||t&&typeof t=="object"}function hf(t){return typeof t=="string"||typeof t=="symbol"}let me=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const yf=Symbol("");me.MATCHER_NOT_FOUND+"",me.NAVIGATION_GUARD_REDIRECT+"",me.NAVIGATION_ABORTED+"",me.NAVIGATION_CANCELLED+"",me.NAVIGATION_DUPLICATED+"";function Ya(t,e){return Wt(new Error,{type:t,[yf]:!0},e)}function as(t,e){return t instanceof Error&&yf in t&&(e==null||!!(t.type&e))}const by=["params","query","hash"];function py(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const s of by)s in t&&(e[s]=t[s]);return JSON.stringify(e,null,2)}function my(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;a<s.length;++a){const n=s[a].replace(mf," "),r=n.indexOf("="),o=Vn(r<0?n:n.slice(0,r)),u=r<0?null:Vn(n.slice(r+1));if(o in e){let l=e[o];Bi(l)||(l=e[o]=[l]),l.push(u)}else e[o]=u}return e}function mb(t){let e="";for(let s in t){const a=t[s];if(s=Yh(s),a==null){a!==void 0&&(e+=(e.length?"&":"")+s);continue}(Bi(a)?a.map(n=>n&&fu(n)):[a&&fu(a)]).forEach(n=>{n!==void 0&&(e+=(e.length?"&":"")+s,n!=null&&(e+="="+n))})}return e}function fy(t){const e={};for(const s in t){const a=t[s];a!==void 0&&(e[s]=Bi(a)?a.map(n=>n==null?null:""+n):a==null?a:""+a)}return e}const vy=Symbol(""),fb=Symbol(""),$o=Symbol(""),xd=Symbol(""),gu=Symbol("");function mn(){let t=[];function e(a){return t.push(a),()=>{const n=t.indexOf(a);n>-1&&t.splice(n,1)}}function s(){t=[]}return{add:e,list:()=>t.slice(),reset:s}}function Cs(t,e,s,a,n,r=o=>o()){const o=a&&(a.enterCallbacks[n]=a.enterCallbacks[n]||[]);return()=>new Promise((u,l)=>{const d=p=>{p===!1?l(Ya(me.NAVIGATION_ABORTED,{from:s,to:e})):p instanceof Error?l(p):cy(p)?l(Ya(me.NAVIGATION_GUARD_REDIRECT,{from:e,to:p})):(o&&a.enterCallbacks[n]===o&&typeof p=="function"&&o.push(p),u())},c=r(()=>t.call(a&&a.instances[n],e,s,d));let b=Promise.resolve(c);t.length<3&&(b=b.then(d)),b.catch(p=>l(p))})}function hl(t,e,s,a,n=r=>r()){const r=[];for(const o of t)for(const u in o.components){let l=o.components[u];if(!(e!=="beforeRouteEnter"&&!o.instances[u]))if(bf(l)){const d=(l.__vccOpts||l)[e];d&&r.push(Cs(d,s,a,o,u,n))}else{let d=l();r.push(()=>d.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${u}" at "${o.path}"`);const b=Nh(c)?c.default:c;o.mods[u]=c,o.components[u]=b;const p=(b.__vccOpts||b)[e];return p&&Cs(p,s,a,o,u,n)()}))}}return r}function _y(t,e){const s=[],a=[],n=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const u=e.matched[o];u&&(t.matched.find(d=>$a(d,u))?a.push(u):s.push(u));const l=t.matched[o];l&&(e.matched.find(d=>$a(d,l))||n.push(l))}return[s,a,n]}let gy=()=>location.protocol+"//"+location.host;function kf(t,e){const{pathname:s,search:a,hash:n}=e,r=t.indexOf("#");if(r>-1){let o=n.includes(t.slice(r))?t.slice(r).length:1,u=n.slice(o);return u[0]!=="/"&&(u="/"+u),cb(u,"")}return cb(s,t)+a+n}function hy(t,e,s,a){let n=[],r=[],o=null;const u=({state:p})=>{const f=kf(t,location),_=s.value,h=e.value;let y=0;if(p){if(s.value=f,e.value=p,o&&o===_){o=null;return}y=h?p.position-h.position:0}else a(f);n.forEach(m=>{m(s.value,_,{delta:y,type:vu.pop,direction:y?y>0?gl.forward:gl.back:gl.unknown})})};function l(){o=s.value}function d(p){n.push(p);const f=()=>{const _=n.indexOf(p);_>-1&&n.splice(_,1)};return r.push(f),f}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Wt({},p.state,{scroll:Ko()}),"")}}function b(){for(const p of r)p();r=[],window.removeEventListener("popstate",u),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",u),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:d,destroy:b}}function vb(t,e,s,a=!1,n=!1){return{back:t,current:e,forward:s,replaced:a,position:window.history.length,scroll:n?Ko():null}}function yy(t){const{history:e,location:s}=window,a={value:kf(t,s)},n={value:e.state};n.value||r(a.value,{back:null,current:a.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,d,c){const b=t.indexOf("#"),p=b>-1?(s.host&&document.querySelector("base")?t:t.slice(b))+l:gy()+t+l;try{e[c?"replaceState":"pushState"](d,"",p),n.value=d}catch(f){console.error(f),s[c?"replace":"assign"](p)}}function o(l,d){r(l,Wt({},e.state,vb(n.value.back,l,n.value.forward,!0),d,{position:n.value.position}),!0),a.value=l}function u(l,d){const c=Wt({},n.value,e.state,{forward:l,scroll:Ko()});r(c.current,c,!0),r(l,Wt({},vb(a.value,l,null),{position:c.position+1},d),!1),a.value=l}return{location:a,state:n,push:u,replace:o}}function ky(t){t=ay(t);const e=yy(t),s=hy(t,e.state,e.location,e.replace);function a(r,o=!0){o||s.pauseListeners(),history.go(r)}const n=Wt({location:"",base:t,go:a,createHref:ry.bind(null,t)},e,s);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>e.state.value}),n}function wy(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),ky(t)}let Qs=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var Te=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(Te||{});const Sy={type:Qs.Static,value:""},Ay=/[a-zA-Z0-9_]/;function zy(t){if(!t)return[[]];if(t==="/")return[[Sy]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(f){throw new Error(`ERR (${s})/"${d}": ${f}`)}let s=Te.Static,a=s;const n=[];let r;function o(){r&&n.push(r),r=[]}let u=0,l,d="",c="";function b(){d&&(s===Te.Static?r.push({type:Qs.Static,value:d}):s===Te.Param||s===Te.ParamRegExp||s===Te.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Qs.Param,value:d,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),d="")}function p(){d+=l}for(;u<t.length;){if(l=t[u++],l==="\\"&&s!==Te.ParamRegExp){a=s,s=Te.EscapeNext;continue}switch(s){case Te.Static:l==="/"?(d&&b(),o()):l===":"?(b(),s=Te.Param):p();break;case Te.EscapeNext:p(),s=a;break;case Te.Param:l==="("?s=Te.ParamRegExp:Ay.test(l)?p():(b(),s=Te.Static,l!=="*"&&l!=="?"&&l!=="+"&&u--);break;case Te.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:s=Te.ParamRegExpEnd:c+=l;break;case Te.ParamRegExpEnd:b(),s=Te.Static,l!=="*"&&l!=="?"&&l!=="+"&&u--,c="";break;default:e("Unknown state");break}}return s===Te.ParamRegExp&&e(`Unfinished custom RegExp for param "${d}"`),b(),o(),n}const _b="[^/]+?",Ty={sensitive:!1,strict:!1,start:!0,end:!0};var ei=(function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t})(ei||{});const Py=/[.+*?^${}()[\]/\\]/g;function jy(t,e){const s=Wt({},Ty,e),a=[];let n=s.start?"^":"";const r=[];for(const d of t){const c=d.length?[]:[ei.Root];s.strict&&!d.length&&(n+="/");for(let b=0;b<d.length;b++){const p=d[b];let f=ei.Segment+(s.sensitive?ei.BonusCaseSensitive:0);if(p.type===Qs.Static)b||(n+="/"),n+=p.value.replace(Py,"\\$&"),f+=ei.Static;else if(p.type===Qs.Param){const{value:_,repeatable:h,optional:y,regexp:m}=p;r.push({name:_,repeatable:h,optional:y});const v=m||_b;if(v!==_b){f+=ei.BonusCustomRegExp;try{`${v}`}catch(k){throw new Error(`Invalid custom RegExp for param "${_}" (${v}): `+k.message)}}let g=h?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;b||(g=y&&d.length<2?`(?:/${g})`:"/"+g),y&&(g+="?"),n+=g,f+=ei.Dynamic,y&&(f+=ei.BonusOptional),h&&(f+=ei.BonusRepeatable),v===".*"&&(f+=ei.BonusWildcard)}c.push(f)}a.push(c)}if(s.strict&&s.end){const d=a.length-1;a[d][a[d].length-1]+=ei.BonusStrict}s.strict||(n+="/?"),s.end?n+="$":s.strict&&!n.endsWith("/")&&(n+="(?:/|$)");const o=new RegExp(n,s.sensitive?"":"i");function u(d){const c=d.match(o),b={};if(!c)return null;for(let p=1;p<c.length;p++){const f=c[p]||"",_=r[p-1];b[_.name]=f&&_.repeatable?f.split("/"):f}return b}function l(d){let c="",b=!1;for(const p of t){(!b||!c.endsWith("/"))&&(c+="/"),b=!1;for(const f of p)if(f.type===Qs.Static)c+=f.value;else if(f.type===Qs.Param){const{value:_,repeatable:h,optional:y}=f,m=_ in d?d[_]:"";if(Bi(m)&&!h)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const v=Bi(m)?m.join("/"):m;if(!v)if(y)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):b=!0);else throw new Error(`Missing required param "${_}"`);c+=v}}return c||"/"}return{re:o,score:a,keys:r,parse:u,stringify:l}}function Ey(t,e){let s=0;for(;s<t.length&&s<e.length;){const a=e[s]-t[s];if(a)return a;s++}return t.length<e.length?t.length===1&&t[0]===ei.Static+ei.Segment?-1:1:t.length>e.length?e.length===1&&e[0]===ei.Static+ei.Segment?1:-1:0}function wf(t,e){let s=0;const a=t.score,n=e.score;for(;s<a.length&&s<n.length;){const r=Ey(a[s],n[s]);if(r)return r;s++}if(Math.abs(n.length-a.length)===1){if(gb(a))return 1;if(gb(n))return-1}return n.length-a.length}function gb(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const Cy={strict:!1,end:!0,sensitive:!1};function My(t,e,s){const a=jy(zy(t.path),s),n=Wt(a,{record:t,parent:e,children:[],alias:[]});return e&&!n.record.aliasOf==!e.record.aliasOf&&e.children.push(n),n}function xy(t,e){const s=[],a=new Map;e=db(Cy,e);function n(b){return a.get(b)}function r(b,p,f){const _=!f,h=yb(b);h.aliasOf=f&&f.record;const y=db(e,b),m=[h];if("alias"in b){const k=typeof b.alias=="string"?[b.alias]:b.alias;for(const w of k)m.push(yb(Wt({},h,{components:f?f.record.components:h.components,path:w,aliasOf:f?f.record:h})))}let v,g;for(const k of m){const{path:w}=k;if(p&&w[0]!=="/"){const A=p.record.path,z=A[A.length-1]==="/"?"":"/";k.path=p.record.path+(w&&z+w)}if(v=My(k,p,y),f?f.alias.push(v):(g=g||v,g!==v&&g.alias.push(v),_&&b.name&&!kb(v)&&o(b.name)),Sf(v)&&l(v),h.children){const A=h.children;for(let z=0;z<A.length;z++)r(A[z],v,f&&f.children[z])}f=f||v}return g?()=>{o(g)}:In}function o(b){if(hf(b)){const p=a.get(b);p&&(a.delete(b),s.splice(s.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=s.indexOf(b);p>-1&&(s.splice(p,1),b.record.name&&a.delete(b.record.name),b.children.forEach(o),b.alias.forEach(o))}}function u(){return s}function l(b){const p=Ly(b,s);s.splice(p,0,b),b.record.name&&!kb(b)&&a.set(b.record.name,b)}function d(b,p){let f,_={},h,y;if("name"in b&&b.name){if(f=a.get(b.name),!f)throw Ya(me.MATCHER_NOT_FOUND,{location:b});y=f.record.name,_=Wt(hb(p.params,f.keys.filter(g=>!g.optional).concat(f.parent?f.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),b.params&&hb(b.params,f.keys.map(g=>g.name))),h=f.stringify(_)}else if(b.path!=null)h=b.path,f=s.find(g=>g.re.test(h)),f&&(_=f.parse(h),y=f.record.name);else{if(f=p.name?a.get(p.name):s.find(g=>g.re.test(p.path)),!f)throw Ya(me.MATCHER_NOT_FOUND,{location:b,currentLocation:p});y=f.record.name,_=Wt({},p.params,b.params),h=f.stringify(_)}const m=[];let v=f;for(;v;)m.unshift(v.record),v=v.parent;return{name:y,path:h,params:_,matched:m,meta:Dy(m)}}t.forEach(b=>r(b));function c(){s.length=0,a.clear()}return{addRoute:r,resolve:d,removeRoute:o,clearRoutes:c,getRoutes:u,getRecordMatcher:n}}function hb(t,e){const s={};for(const a of e)a in t&&(s[a]=t[a]);return s}function yb(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:Iy(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function Iy(t){const e={},s=t.props||!1;if("component"in t)e.default=s;else for(const a in t.components)e[a]=typeof s=="object"?s[a]:s;return e}function kb(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Dy(t){return t.reduce((e,s)=>Wt(e,s.meta),{})}function Ly(t,e){let s=0,a=e.length;for(;s!==a;){const r=s+a>>1;wf(t,e[r])<0?a=r:s=r+1}const n=Ry(t);return n&&(a=e.lastIndexOf(n,a-1)),a}function Ry(t){let e=t;for(;e=e.parent;)if(Sf(e)&&wf(t,e)===0)return e}function Sf({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function wb(t){const e=Qt($o),s=Qt(xd),a=G(()=>{const l=W(t.to);return e.resolve(l)}),n=G(()=>{const{matched:l}=a.value,{length:d}=l,c=l[d-1],b=s.matched;if(!c||!b.length)return-1;const p=b.findIndex($a.bind(null,c));if(p>-1)return p;const f=Sb(l[d-2]);return d>1&&Sb(c)===f&&b[b.length-1].path!==f?b.findIndex($a.bind(null,l[d-2])):p}),r=G(()=>n.value>-1&&Gy(s.params,a.value.params)),o=G(()=>n.value>-1&&n.value===s.matched.length-1&&gf(s.params,a.value.params));function u(l={}){if(Fy(l)){const d=e[W(t.replace)?"replace":"push"](W(t.to)).catch(In);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:a,href:G(()=>a.value.href),isActive:r,isExactActive:o,navigate:u}}function Oy(t){return t.length===1?t[0]:t}const Ny=Me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:wb,setup(t,{slots:e}){const s=we(wb(t)),{options:a}=Qt($o),n=G(()=>({[Ab(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[Ab(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=e.default&&Oy(e.default(s));return t.custom?r:oe("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:n.value},r)}}}),By=Ny;function Fy(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Gy(t,e){for(const s in e){const a=e[s],n=t[s];if(typeof a=="string"){if(a!==n)return!1}else if(!Bi(n)||n.length!==a.length||a.some((r,o)=>r!==n[o]))return!1}return!0}function Sb(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Ab=(t,e,s)=>t??e??s,Uy=Me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:s}){const a=Qt(gu),n=G(()=>t.route||a.value),r=Qt(fb,0),o=G(()=>{let d=W(r);const{matched:c}=n.value;let b;for(;(b=c[d])&&!b.components;)d++;return d}),u=G(()=>n.value.matched[o.value]);Fe(fb,G(()=>o.value+1)),Fe(vy,u),Fe(gu,n);const l=st();return At(()=>[l.value,u.value,t.name],([d,c,b],[p,f,_])=>{c&&(c.instances[b]=d,f&&f!==c&&d&&d===p&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),d&&c&&(!f||!$a(c,f)||!p)&&(c.enterCallbacks[b]||[]).forEach(h=>h(d))},{flush:"post"}),()=>{const d=n.value,c=t.name,b=u.value,p=b&&b.components[c];if(!p)return zb(s.default,{Component:p,route:d});const f=b.props[c],_=f?f===!0?d.params:typeof f=="function"?f(d):f:null,y=oe(p,Wt({},_,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(b.instances[c]=null)},ref:l}));return zb(s.default,{Component:y,route:d})||y}}});function zb(t,e){if(!t)return null;const s=t(e);return s.length===1?s[0]:s}const qy=Uy;function Vy(t){const e=xy(t.routes,t),s=t.parseQuery||my,a=t.stringifyQuery||mb,n=t.history,r=mn(),o=mn(),u=mn(),l=It(zs);let d=zs;Ta&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=vl.bind(null,P=>""+P),b=vl.bind(null,Zh),p=vl.bind(null,Vn);function f(P,et){let Q,rt;return hf(P)?(Q=e.getRecordMatcher(P),rt=et):rt=P,e.addRoute(rt,Q)}function _(P){const et=e.getRecordMatcher(P);et&&e.removeRoute(et)}function h(){return e.getRoutes().map(P=>P.record)}function y(P){return!!e.getRecordMatcher(P)}function m(P,et){if(et=Wt({},et||l.value),typeof P=="string"){const O=_l(s,P,et.path),K=e.resolve({path:O.path},et),X=n.createHref(O.fullPath);return Wt(O,K,{params:p(K.params),hash:Vn(O.hash),redirectedFrom:void 0,href:X})}let Q;if(P.path!=null)Q=Wt({},P,{path:_l(s,P.path,et.path).path});else{const O=Wt({},P.params);for(const K in O)O[K]==null&&delete O[K];Q=Wt({},P,{params:b(O)}),et.params=b(et.params)}const rt=e.resolve(Q,et),yt=P.hash||"";rt.params=c(p(rt.params));const C=ty(a,Wt({},P,{hash:$h(yt),path:rt.path})),x=n.createHref(C);return Wt({fullPath:C,hash:yt,query:a===mb?fy(P.query):P.query||{}},rt,{redirectedFrom:void 0,href:x})}function v(P){return typeof P=="string"?_l(s,P,l.value.path):Wt({},P)}function g(P,et){if(d!==P)return Ya(me.NAVIGATION_CANCELLED,{from:et,to:P})}function k(P){return z(P)}function w(P){return k(Wt(v(P),{replace:!0}))}function A(P,et){const Q=P.matched[P.matched.length-1];if(Q&&Q.redirect){const{redirect:rt}=Q;let yt=typeof rt=="function"?rt(P,et):rt;return typeof yt=="string"&&(yt=yt.includes("?")||yt.includes("#")?yt=v(yt):{path:yt},yt.params={}),Wt({query:P.query,hash:P.hash,params:yt.path!=null?{}:P.params},yt)}}function z(P,et){const Q=d=m(P),rt=l.value,yt=P.state,C=P.force,x=P.replace===!0,O=A(Q,rt);if(O)return z(Wt(v(O),{state:typeof O=="object"?Wt({},yt,O.state):yt,force:C,replace:x}),et||Q);const K=Q;K.redirectedFrom=et;let X;return!C&&ey(a,rt,Q)&&(X=Ya(me.NAVIGATION_DUPLICATED,{to:K,from:rt}),Tt(rt,rt,!0,!1)),(X?Promise.resolve(X):E(K,rt)).catch($=>as($)?as($,me.NAVIGATION_GUARD_REDIRECT)?$:vt($):tt($,K,rt)).then($=>{if($){if(as($,me.NAVIGATION_GUARD_REDIRECT))return z(Wt({replace:x},v($.to),{state:typeof $.to=="object"?Wt({},yt,$.to.state):yt,force:C}),et||K)}else $=M(K,rt,!0,x,yt);return D(K,rt,$),$})}function S(P,et){const Q=g(P,et);return Q?Promise.reject(Q):Promise.resolve()}function I(P){const et=xt.values().next().value;return et&&typeof et.runWithContext=="function"?et.runWithContext(P):P()}function E(P,et){let Q;const[rt,yt,C]=_y(P,et);Q=hl(rt.reverse(),"beforeRouteLeave",P,et);for(const O of rt)O.leaveGuards.forEach(K=>{Q.push(Cs(K,P,et))});const x=S.bind(null,P,et);return Q.push(x),ae(Q).then(()=>{Q=[];for(const O of r.list())Q.push(Cs(O,P,et));return Q.push(x),ae(Q)}).then(()=>{Q=hl(yt,"beforeRouteUpdate",P,et);for(const O of yt)O.updateGuards.forEach(K=>{Q.push(Cs(K,P,et))});return Q.push(x),ae(Q)}).then(()=>{Q=[];for(const O of C)if(O.beforeEnter)if(Bi(O.beforeEnter))for(const K of O.beforeEnter)Q.push(Cs(K,P,et));else Q.push(Cs(O.beforeEnter,P,et));return Q.push(x),ae(Q)}).then(()=>(P.matched.forEach(O=>O.enterCallbacks={}),Q=hl(C,"beforeRouteEnter",P,et,I),Q.push(x),ae(Q))).then(()=>{Q=[];for(const O of o.list())Q.push(Cs(O,P,et));return Q.push(x),ae(Q)}).catch(O=>as(O,me.NAVIGATION_CANCELLED)?O:Promise.reject(O))}function D(P,et,Q){u.list().forEach(rt=>I(()=>rt(P,et,Q)))}function M(P,et,Q,rt,yt){const C=g(P,et);if(C)return C;const x=et===zs,O=Ta?history.state:{};Q&&(rt||x?n.replace(P.fullPath,Wt({scroll:x&&O&&O.scroll},yt)):n.push(P.fullPath,yt)),l.value=P,Tt(P,et,Q,x),vt()}let N;function V(){N||(N=n.listen((P,et,Q)=>{if(!ge.listening)return;const rt=m(P),yt=A(rt,ge.currentRoute.value);if(yt){z(Wt(yt,{replace:!0,force:!0}),rt).catch(In);return}d=rt;const C=l.value;Ta&&uy(pb(C.fullPath,Q.delta),Ko()),E(rt,C).catch(x=>as(x,me.NAVIGATION_ABORTED|me.NAVIGATION_CANCELLED)?x:as(x,me.NAVIGATION_GUARD_REDIRECT)?(z(Wt(v(x.to),{force:!0}),rt).then(O=>{as(O,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&!Q.delta&&Q.type===vu.pop&&n.go(-1,!1)}).catch(In),Promise.reject()):(Q.delta&&n.go(-Q.delta,!1),tt(x,rt,C))).then(x=>{x=x||M(rt,C,!1),x&&(Q.delta&&!as(x,me.NAVIGATION_CANCELLED)?n.go(-Q.delta,!1):Q.type===vu.pop&&as(x,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&n.go(-1,!1)),D(rt,C,x)}).catch(In)}))}let it=mn(),ct=mn(),ot;function tt(P,et,Q){vt(P);const rt=ct.list();return rt.length?rt.forEach(yt=>yt(P,et,Q)):console.error(P),Promise.reject(P)}function _t(){return ot&&l.value!==zs?Promise.resolve():new Promise((P,et)=>{it.add([P,et])})}function vt(P){return ot||(ot=!P,V(),it.list().forEach(([et,Q])=>P?Q(P):et()),it.reset()),P}function Tt(P,et,Q,rt){const{scrollBehavior:yt}=t;if(!Ta||!yt)return Promise.resolve();const C=!Q&&dy(pb(P.fullPath,0))||(rt||!Q)&&history.state&&history.state.scroll||null;return Ce().then(()=>yt(P,et,C)).then(x=>x&&ly(x)).catch(x=>tt(x,P,et))}const lt=P=>n.go(P);let bt;const xt=new Set,ge={currentRoute:l,listening:!0,addRoute:f,removeRoute:_,clearRoutes:e.clearRoutes,hasRoute:y,getRoutes:h,resolve:m,options:t,push:k,replace:w,go:lt,back:()=>lt(-1),forward:()=>lt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:u.add,onError:ct.add,isReady:_t,install(P){P.component("RouterLink",By),P.component("RouterView",qy),P.config.globalProperties.$router=ge,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>W(l)}),Ta&&!bt&&l.value===zs&&(bt=!0,k(n.location).catch(rt=>{}));const et={};for(const rt in zs)Object.defineProperty(et,rt,{get:()=>l.value[rt],enumerable:!0});P.provide($o,ge),P.provide(xd,H0(et)),P.provide(gu,l);const Q=P.unmount;xt.add(P),P.unmount=function(){xt.delete(P),xt.size<1&&(d=zs,N&&N(),N=null,l.value=zs,bt=!1,ot=!1),Q()}}};function ae(P){return P.reduce((et,Q)=>et.then(()=>I(Q)),Promise.resolve())}return ge}function Hy(){return Qt($o)}function TC(t){return Qt(xd)}const jr="ma_access_token",fa="ma_current_user";class Af{token=null;currentUser=null;baseUrl="";constructor(){this.token=localStorage.getItem(jr);const e=localStorage.getItem(fa);if(e)try{this.currentUser=JSON.parse(e)}catch(s){console.error("Failed to parse stored user",s),localStorage.removeItem(fa)}}setBaseUrl(e){this.baseUrl=e}getToken(){return this.token}getCurrentUser(){return this.currentUser}isAuthenticated(){return this.token!==null&&this.currentUser!==null}isAdmin(){return this.currentUser?.role==="admin"}setToken(e){this.token=e,localStorage.setItem(jr,e)}setCurrentUser(e){this.currentUser=e,localStorage.setItem(fa,JSON.stringify(e))}storeAuth(e,s){this.token=e,this.currentUser=s,localStorage.setItem(jr,e),localStorage.setItem(fa,JSON.stringify(s))}clearAuth(){this.token=null,this.currentUser=null,localStorage.removeItem(jr),localStorage.removeItem(fa)}async getServerInfo(){const e=await fetch(`${this.baseUrl}/info`);if(!e.ok)throw new Error(`Failed to fetch server info: ${e.statusText}`);return await e.json()}async getAuthProviders(){const e=await fetch(`${this.baseUrl}/auth/providers`);if(!e.ok)throw new Error(`Failed to fetch auth providers: ${e.statusText}`);return(await e.json()).providers||[]}getDeviceName(){const e=navigator.userAgent;let s="Unknown Browser",a="";return e.includes("Firefox")?s="Firefox":e.includes("Edg")?s="Edge":e.includes("Chrome")?s="Chrome":e.includes("Safari")&&(s="Safari"),e.includes("Win")?a="Windows":e.includes("Mac")?a="macOS":e.includes("Linux")?a="Linux":e.includes("Android")?a="Android":(e.includes("iOS")||e.includes("iPhone")||e.includes("iPad"))&&(a="iOS"),`Music Assistant Web (${s}${a?" on "+a:""})`}async login(e,s,a="builtin"){const n={provider_id:a,credentials:{username:e,password:s},device_name:this.getDeviceName()},o=await(await fetch(`${this.baseUrl}/auth/login`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})).json();return o.success&&o.token&&o.user&&this.storeAuth(o.token,o.user),o}async setup(e,s,a){const n={username:e,password:s,display_name:a,device_name:this.getDeviceName()},o=await(await fetch(`${this.baseUrl}/setup`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})).json();return o.success&&o.token&&o.user&&this.storeAuth(o.token,o.user),o}async logout(){if(this.token)try{const{api:a}=await Ft(async()=>{const{api:n}=await Promise.resolve().then(()=>u1);return{api:n}},void 0,import.meta.url);a.logout().catch(()=>{})}catch{}this.clearAuth(),await new Promise(a=>setTimeout(a,100));const e=encodeURIComponent(window.location.origin+window.location.pathname),s=this.baseUrl.endsWith("/")?this.baseUrl.slice(0,-1):this.baseUrl;window.location.href=`${s}/login?return_url=${e}`}async validateToken(){if(!this.token)return!1;try{const e=await this.getCurrentUserFromServer();if(e)return this.currentUser=e,localStorage.setItem(fa,JSON.stringify(e)),!0}catch(e){console.error("Token validation failed:",e),this.clearAuth()}return!1}async getCurrentUserFromServer(){if(!this.token)return null;const e=await fetch(`${this.baseUrl}/auth/user`,{headers:{Authorization:`Bearer ${this.token}`}});if(e.status===401)return this.clearAuth(),null;if(!e.ok)throw new Error(`Failed to fetch user info: ${e.statusText}`);return await e.json()}async changePassword(e,s){if(!this.token)return!1;const a=await fetch(`${this.baseUrl}/auth/change-password`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.token}`},body:JSON.stringify({old_password:e,new_password:s})});return a.status===401?(this.clearAuth(),!1):(await a.json()).success||!1}async getUserTokens(){if(!this.token)return[];const e=await fetch(`${this.baseUrl}/auth/tokens`,{headers:{Authorization:`Bearer ${this.token}`}});if(e.status===401)return this.clearAuth(),[];if(!e.ok)throw new Error(`Failed to fetch tokens: ${e.statusText}`);return(await e.json()).tokens||[]}async createToken(e){if(!this.token)return null;const s=await fetch(`${this.baseUrl}/auth/tokens`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.token}`},body:JSON.stringify({name:e})});if(s.status===401)return this.clearAuth(),null;if(!s.ok)throw new Error(`Failed to create token: ${s.statusText}`);return(await s.json()).token||null}async revokeToken(e){if(!this.token)return!1;const s=await fetch(`${this.baseUrl}/auth/tokens/${e}`,{method:"DELETE",headers:{Authorization:`Bearer ${this.token}`}});return s.status===401?(this.clearAuth(),!1):(await s.json()).success||!1}async getAllUsers(){if(!this.token)return[];const e=await fetch(`${this.baseUrl}/auth/users`,{headers:{Authorization:`Bearer ${this.token}`}});if(e.status===401)return this.clearAuth(),[];if(e.status===403)throw new Error("Admin access required");if(!e.ok)throw new Error(`Failed to fetch users: ${e.statusText}`);return(await e.json()).users||[]}async createUser(e,s,a,n){if(!this.token)return null;const r=await fetch(`${this.baseUrl}/auth/users`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.token}`},body:JSON.stringify({username:e,password:s,role:a,display_name:n})});if(r.status===401)return this.clearAuth(),null;if(r.status===403)throw new Error("Admin access required");if(!r.ok)throw new Error(`Failed to create user: ${r.statusText}`);return(await r.json()).user||null}async updateUserRole(e,s){if(!this.token)return!1;const a=await fetch(`${this.baseUrl}/auth/users/${e}/role`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.token}`},body:JSON.stringify({role:s})});if(a.status===401)return this.clearAuth(),!1;if(a.status===403)throw new Error("Admin access required");return(await a.json()).success||!1}async enableUser(e){if(!this.token)return!1;const s=await fetch(`${this.baseUrl}/auth/users/${e}/enable`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`}});if(s.status===401)return this.clearAuth(),!1;if(s.status===403)throw new Error("Admin access required");return(await s.json()).success||!1}async disableUser(e){if(!this.token)return!1;const s=await fetch(`${this.baseUrl}/auth/users/${e}/disable`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`}});if(s.status===401)return this.clearAuth(),!1;if(s.status===403)throw new Error("Admin access required");return(await s.json()).success||!1}}const hu=new Af,zf=Object.freeze(Object.defineProperty({__proto__:null,AuthManager:Af,authManager:hu},Symbol.toStringTag,{value:"Module"})),Wy=[{path:"/",component:()=>Ft(()=>import("./Default-CUXRm2rg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]),import.meta.url),children:[{path:"",redirect:"/home"},{path:"/home",name:"home",component:()=>Ft(()=>import("./HomeView-DJF0saSj.js"),__vite__mapDeps([35,36,13,37,4,38,39,40,21,22,18,19,23,24,7,41,2,3,42,43,44,16,14,15,17,20,25,1,5,45]),import.meta.url)},{path:"/search",name:"search",component:()=>Ft(()=>import("./Search-X_hTXwtA.js"),__vite__mapDeps([46,36,13,37,4,38,47,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51,39,44]),import.meta.url),props:!0},{path:"/browse",name:"browse",component:()=>Ft(()=>import("./BrowseView-BssNiRRa.js"),__vite__mapDeps([52,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51,53]),import.meta.url),props:t=>({...t.query})},{path:"/artists",children:[{path:"",name:"artists",component:()=>Ft(()=>import("./LibraryArtists-6kAIUMT4.js"),__vite__mapDeps([54,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51]),import.meta.url),props:!0},{path:":provider/:itemId",name:"artist",component:()=>Ft(()=>import("./ArtistDetails-C5fwf1Ul.js"),__vite__mapDeps([55,56,1,2,3,4,5,28,29,7,8,9,10,36,13,37,38,26,14,15,27,57,47,21,22,18,19,23,24,40,41,48,49,11,12,50,30,31,42,43,51,58,59]),import.meta.url),props:!0}]},{path:"/albums",children:[{path:"",name:"albums",component:()=>Ft(()=>import("./LibraryAlbums-D9tiVoO5.js"),__vite__mapDeps([60,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51]),import.meta.url),props:!0},{path:":provider/:itemId",name:"album",component:()=>Ft(()=>import("./AlbumDetails-DU6l-aqD.js"),__vite__mapDeps([61,56,1,2,3,4,5,28,29,7,8,9,10,36,13,37,38,26,14,15,27,57,47,21,22,18,19,23,24,40,41,48,49,11,12,50,30,31,42,43,51,58,59]),import.meta.url),props:!0}]},{path:"/tracks",children:[{path:"",name:"tracks",component:()=>Ft(()=>import("./LibraryTracks-CglybHEv.js"),__vite__mapDeps([62,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51,63,8,9]),import.meta.url),props:!0},{path:":provider/:itemId",name:"track",component:()=>Ft(()=>import("./TrackDetails-kIDB3KQY.js"),__vite__mapDeps([64,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51,56,28,29,8,9,57]),import.meta.url),props:t=>({...t.params,...t.query})}]},{path:"/playlists",children:[{path:"",name:"playlists",component:()=>Ft(()=>import("./LibraryPlaylists-DkpseMkD.js"),__vite__mapDeps([65,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51]),import.meta.url),props:!0},{path:":provider/:itemId",name:"playlist",component:()=>Ft(()=>import("./PlaylistDetails-CnlMQiYr.js"),__vite__mapDeps([66,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51,56,28,29,8,9,57]),import.meta.url),props:!0}]},{path:"/podcasts",children:[{path:"",name:"podcasts",component:()=>Ft(()=>import("./LibraryPodcasts-DwH40GTd.js"),__vite__mapDeps([67,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51]),import.meta.url),props:!0},{path:":provider/:itemId",name:"podcast",component:()=>Ft(()=>import("./PodcastDetails-DoAzZcpm.js"),__vite__mapDeps([68,56,1,2,3,4,5,28,29,7,8,9,10,36,13,37,38,26,14,15,27,57,47,21,22,18,19,23,24,40,41,48,49,11,12,50,30,31,42,43,51]),import.meta.url),props:!0}]},{path:"/audiobooks",children:[{path:"",name:"audiobooks",component:()=>Ft(()=>import("./LibraryAudiobooks-Bs8mF684.js"),__vite__mapDeps([69,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51]),import.meta.url),props:!0},{path:":provider/:itemId",name:"audiobook",component:()=>Ft(()=>import("./AudiobookDetails-BdfpQjus.js"),__vite__mapDeps([70,56,1,2,3,4,5,28,29,7,8,9,10,36,13,37,38,26,14,15,27,57]),import.meta.url),props:!0}]},{path:"/radios",children:[{path:"",name:"radios",component:()=>Ft(()=>import("./LibraryRadios-fbUMI3_x.js"),__vite__mapDeps([71,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51,63,8,9]),import.meta.url),props:!0},{path:":provider/:itemId",name:"radio",component:()=>Ft(()=>import("./RadioDetails-BNB_Zz7v.js"),__vite__mapDeps([72,47,36,13,37,4,38,1,2,3,5,14,15,26,27,21,22,18,19,23,24,7,40,41,48,49,11,10,12,50,30,31,42,43,51,56,28,29,8,9,57]),import.meta.url),props:!0}]},{path:"/settings",name:"settings",component:()=>Ft(()=>import("./Settings-v85kXJFD.js"),__vite__mapDeps([73,36,13,37,4,38,1,2,3,5,74]),import.meta.url),props:!0,children:[{path:"profile",name:"profile",component:()=>Ft(()=>import("./UserProfile-DQbgJeA-.js"),__vite__mapDeps([75,36,13,37,4,38,26,14,15,27,8,9,48,18,19,49,42,43,76,77]),import.meta.url),props:!0},{path:"providers",name:"providersettings",component:()=>Ft(()=>import("./Providers-DbouHjV4.js"),__vite__mapDeps([78,36,13,37,4,38,48,18,19,49,22,23,8,9,42,43,50,79]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"players",name:"playersettings",component:()=>Ft(()=>import("./Players-C0QWtmPX.js"),__vite__mapDeps([80,14,13,4,15,36,37,38,26,27,6,2,3]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"core",name:"coresettings",component:()=>Ft(()=>import("./CoreConfigs-rOpcKZFT.js"),__vite__mapDeps([81,36,13,37,4,38,26,14,15,27,2,3,82]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"frontend",name:"frontendsettings",component:()=>Ft(()=>import("./FrontendConfig-GHYdXDxu.js"),__vite__mapDeps([83,84,76,18,19,32,33,42,43,85,22,23,86,17,20,48,49,87,30,31,88,8,9,4,89,6,2,3]),import.meta.url),props:!0},{path:"users",name:"usersettings",component:()=>Ft(()=>import("./UserManagement-D2TMWca2.js"),__vite__mapDeps([90,36,13,37,4,38,26,14,15,27,8,9,48,18,19,49,87,30,31,22,23,88,91]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"addprovider/:domain",name:"addproviderdetails",component:()=>Ft(()=>import("./AddProviderDetails-kB7INZIB.js"),__vite__mapDeps([92,93,84,76,18,19,32,33,42,43,85,22,23,86,17,20,48,49,87,30,31,88,8,9,4,89]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editprovider/:instanceId",name:"editprovider",component:()=>Ft(()=>import("./EditProvider-D9MCfQ0w.js"),__vite__mapDeps([94,84,76,18,19,32,33,42,43,85,22,23,86,17,20,48,49,87,30,31,88,8,9,4,89,93]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editplayer/:playerId",name:"editplayer",component:()=>Ft(()=>import("./EditPlayer-DIvL3z3D.js"),__vite__mapDeps([95,84,76,18,19,32,33,42,43,85,22,23,86,17,20,48,49,87,30,31,88,8,9,4,89,93]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editplayer/:playerId/dsp",name:"editplayerdsp",component:()=>Ft(()=>import("./EditPlayerDsp-B1Xon7v2.js"),__vite__mapDeps([96,4,17,18,19,20,48,49,37,87,30,31,22,23,88,50,85,86,2,3,8,9,42,43,97]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editcore/:domain",name:"editcore",component:()=>Ft(()=>import("./EditCoreConfig-C-eN53T5.js"),__vite__mapDeps([98,84,76,18,19,32,33,42,43,85,22,23,86,17,20,48,49,87,30,31,88,8,9,4,89,93]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"addgroup/:provider",name:"addgroup",component:()=>Ft(()=>import("./AddPlayerGroup-BYV8Y1LE.js"),__vite__mapDeps([99,76,18,19,48,49,87,30,31,22,23,88,85,86]),import.meta.url),props:!0,meta:{requiresAdmin:!0}}]}]}],Yi=Vy({history:wy(),routes:Wy});Yi.beforeEach(async(t,e,s)=>{if(!nt.isAuthenticated||!hu.getToken()){s();return}if(t.meta.requiresAdmin&&!hu.isAdmin()){console.warn("Admin access required for",t.path),s({name:"home"});return}s()});Yi.afterEach((t,e)=>{if(e?.path){if(console.debug("navigating from ",e.path," to ",t.path),nt.prevRoute=e.path,nt.isOnboarding&&t.path==="/settings/providers"){const s=new URLSearchParams(window.location.search);if(s.has("onboard")){s.delete("onboard");const a=window.location.pathname+(s.toString()?"?"+s.toString():"")+window.location.hash;window.history.replaceState({},"",a)}}nt.isOnboarding&&e.path==="/settings/providers"&&t.path!=="/settings/providers"&&(nt.isOnboarding=!1)}});const Ki=function(t){if(t.media_type==ht.FOLDER)return!0;if("provider_mappings"in t){for(const e of t.provider_mappings)if(e.available&&Y.providers[e.provider_instance]?.available)return!0}else if("available"in t)return t.available;return!1},PC=function(t){const e=t.active_source||"";if(e in Y.queues)return Y.queues[e].display_name;for(const s of t.source_list)if(e==s.id)return s.name;return e};function Ky(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const bo=typeof window<"u",Bs=(t,e=!1)=>e?Symbol.for(t):Symbol(t),$y=(t,e,s)=>Yy({l:t,k:e,s}),Yy=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ke=t=>typeof t=="number"&&isFinite(t),Xy=t=>Dd(t)==="[object Date]",po=t=>Dd(t)==="[object RegExp]",Yo=t=>Gt(t)&&Object.keys(t).length===0,Re=Object.assign,Zy=Object.create,Zt=(t=null)=>Zy(t);let Tb;const Id=()=>Tb||(Tb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Zt());function Pb(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function jb(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Qy(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(a,n,r)=>`${n}="${jb(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(a,n,r)=>`${n}='${jb(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(a=>{t=t.replace(a,"$1javascript:")}),t}const Jy=Object.prototype.hasOwnProperty;function Li(t,e){return Jy.call(t,e)}const _e=Array.isArray,de=t=>typeof t=="function",mt=t=>typeof t=="string",ce=t=>typeof t=="boolean",Ht=t=>t!==null&&typeof t=="object",tk=t=>Ht(t)&&de(t.then)&&de(t.catch),Tf=Object.prototype.toString,Dd=t=>Tf.call(t),Gt=t=>Dd(t)==="[object Object]",ek=t=>t==null?"":_e(t)||Gt(t)&&t.toString===Tf?JSON.stringify(t,null,2):String(t);function Ld(t,e=""){return t.reduce((s,a,n)=>n===0?s+a:s+e+a,"")}const Er=t=>!Ht(t)||_e(t);function Hr(t,e){if(Er(t)||Er(e))throw new Error("Invalid value");const s=[{src:t,des:e}];for(;s.length;){const{src:a,des:n}=s.pop();Object.keys(a).forEach(r=>{r!=="__proto__"&&(Ht(a[r])&&!Ht(n[r])&&(n[r]=Array.isArray(a[r])?[]:Zt()),Er(n[r])||Er(a[r])?n[r]=a[r]:s.push({src:a[r],des:n[r]}))})}}function ik(t,e,s){return{line:t,column:e,offset:s}}function yu(t,e,s){return{start:t,end:e}}const Kt={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},sk=17;function Xo(t,e,s={}){const{domain:a,messages:n,args:r}=s,o=t,u=new SyntaxError(String(o));return u.code=t,e&&(u.location=e),u.domain=a,u}function ak(t){throw t}const qi=" ",nk="\r",qe=`
|
|
61
|
-
`,rk="\u2028",ok="\u2029";function lk(t){const e=t;let s=0,a=1,n=1,r=0;const o=z=>e[z]===nk&&e[z+1]===qe,u=z=>e[z]===qe,l=z=>e[z]===ok,d=z=>e[z]===rk,c=z=>o(z)||u(z)||l(z)||d(z),b=()=>s,p=()=>a,f=()=>n,_=()=>r,h=z=>o(z)||l(z)||d(z)?qe:e[z],y=()=>h(s),m=()=>h(s+r);function v(){return r=0,c(s)&&(a++,n=0),o(s)&&s++,s++,n++,e[s]}function g(){return o(s+r)&&r++,r++,e[s+r]}function k(){s=0,a=1,n=1,r=0}function w(z=0){r=z}function A(){const z=s+r;for(;z!==s;)v();r=0}return{index:b,line:p,column:f,peekOffset:_,charAt:h,currentChar:y,currentPeek:m,next:v,peek:g,reset:k,resetPeek:w,skipToPeek:A}}const ns=void 0,uk=".",Eb="'",dk="tokenizer";function ck(t,e={}){const s=e.location!==!1,a=lk(t),n=()=>a.index(),r=()=>ik(a.line(),a.column(),a.index()),o=r(),u=n(),l={currentType:13,offset:u,startLoc:o,endLoc:o,lastType:13,lastOffset:u,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>l,{onError:c}=e;function b(T,j,L,...F){const ut=d();if(j.column+=L,j.offset+=L,c){const Z=s?yu(ut.startLoc,j):null,R=Xo(T,Z,{domain:dk,args:F});c(R)}}function p(T,j,L){T.endLoc=r(),T.currentType=j;const F={type:j};return s&&(F.loc=yu(T.startLoc,T.endLoc)),L!=null&&(F.value=L),F}const f=T=>p(T,13);function _(T,j){return T.currentChar()===j?(T.next(),j):(b(Kt.EXPECTED_TOKEN,r(),0,j),"")}function h(T){let j="";for(;T.currentPeek()===qi||T.currentPeek()===qe;)j+=T.currentPeek(),T.peek();return j}function y(T){const j=h(T);return T.skipToPeek(),j}function m(T){if(T===ns)return!1;const j=T.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function v(T){if(T===ns)return!1;const j=T.charCodeAt(0);return j>=48&&j<=57}function g(T,j){const{currentType:L}=j;if(L!==2)return!1;h(T);const F=m(T.currentPeek());return T.resetPeek(),F}function k(T,j){const{currentType:L}=j;if(L!==2)return!1;h(T);const F=T.currentPeek()==="-"?T.peek():T.currentPeek(),ut=v(F);return T.resetPeek(),ut}function w(T,j){const{currentType:L}=j;if(L!==2)return!1;h(T);const F=T.currentPeek()===Eb;return T.resetPeek(),F}function A(T,j){const{currentType:L}=j;if(L!==7)return!1;h(T);const F=T.currentPeek()===".";return T.resetPeek(),F}function z(T,j){const{currentType:L}=j;if(L!==8)return!1;h(T);const F=m(T.currentPeek());return T.resetPeek(),F}function S(T,j){const{currentType:L}=j;if(!(L===7||L===11))return!1;h(T);const F=T.currentPeek()===":";return T.resetPeek(),F}function I(T,j){const{currentType:L}=j;if(L!==9)return!1;const F=()=>{const Z=T.currentPeek();return Z==="{"?m(T.peek()):Z==="@"||Z==="|"||Z===":"||Z==="."||Z===qi||!Z?!1:Z===qe?(T.peek(),F()):D(T,!1)},ut=F();return T.resetPeek(),ut}function E(T){h(T);const j=T.currentPeek()==="|";return T.resetPeek(),j}function D(T,j=!0){const L=(ut=!1,Z="")=>{const R=T.currentPeek();return R==="{"||R==="@"||!R?ut:R==="|"?!(Z===qi||Z===qe):R===qi?(T.peek(),L(!0,qi)):R===qe?(T.peek(),L(!0,qe)):!0},F=L();return j&&T.resetPeek(),F}function M(T,j){const L=T.currentChar();return L===ns?ns:j(L)?(T.next(),L):null}function N(T){const j=T.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function V(T){return M(T,N)}function it(T){const j=T.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function ct(T){return M(T,it)}function ot(T){const j=T.charCodeAt(0);return j>=48&&j<=57}function tt(T){return M(T,ot)}function _t(T){const j=T.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function vt(T){return M(T,_t)}function Tt(T){let j="",L="";for(;j=tt(T);)L+=j;return L}function lt(T){let j="";for(;;){const L=T.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===qi||L===qe)if(D(T))j+=L,T.next();else{if(E(T))break;j+=L,T.next()}else j+=L,T.next()}return j}function bt(T){y(T);let j="",L="";for(;j=ct(T);)L+=j;const F=T.currentChar();if(F&&F!=="}"&&F!==ns&&F!==qi&&F!==qe&&F!==" "){const ut=rt(T);return b(Kt.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L+ut),L+ut}return T.currentChar()===ns&&b(Kt.UNTERMINATED_CLOSING_BRACE,r(),0),L}function xt(T){y(T);let j="";return T.currentChar()==="-"?(T.next(),j+=`-${Tt(T)}`):j+=Tt(T),T.currentChar()===ns&&b(Kt.UNTERMINATED_CLOSING_BRACE,r(),0),j}function ge(T){return T!==Eb&&T!==qe}function ae(T){y(T),_(T,"'");let j="",L="";for(;j=M(T,ge);)j==="\\"?L+=P(T):L+=j;const F=T.currentChar();return F===qe||F===ns?(b(Kt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),F===qe&&(T.next(),_(T,"'")),L):(_(T,"'"),L)}function P(T){const j=T.currentChar();switch(j){case"\\":case"'":return T.next(),`\\${j}`;case"u":return et(T,j,4);case"U":return et(T,j,6);default:return b(Kt.UNKNOWN_ESCAPE_SEQUENCE,r(),0,j),""}}function et(T,j,L){_(T,j);let F="";for(let ut=0;ut<L;ut++){const Z=vt(T);if(!Z){b(Kt.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${j}${F}${T.currentChar()}`);break}F+=Z}return`\\${j}${F}`}function Q(T){return T!=="{"&&T!=="}"&&T!==qi&&T!==qe}function rt(T){y(T);let j="",L="";for(;j=M(T,Q);)L+=j;return L}function yt(T){let j="",L="";for(;j=V(T);)L+=j;return L}function C(T){const j=L=>{const F=T.currentChar();return F==="{"||F==="@"||F==="|"||F==="("||F===")"||!F||F===qi?L:(L+=F,T.next(),j(L))};return j("")}function x(T){y(T);const j=_(T,"|");return y(T),j}function O(T,j){let L=null;switch(T.currentChar()){case"{":return j.braceNest>=1&&b(Kt.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),T.next(),L=p(j,2,"{"),y(T),j.braceNest++,L;case"}":return j.braceNest>0&&j.currentType===2&&b(Kt.EMPTY_PLACEHOLDER,r(),0),T.next(),L=p(j,3,"}"),j.braceNest--,j.braceNest>0&&y(T),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),L;case"@":return j.braceNest>0&&b(Kt.UNTERMINATED_CLOSING_BRACE,r(),0),L=K(T,j)||f(j),j.braceNest=0,L;default:{let ut=!0,Z=!0,R=!0;if(E(T))return j.braceNest>0&&b(Kt.UNTERMINATED_CLOSING_BRACE,r(),0),L=p(j,1,x(T)),j.braceNest=0,j.inLinked=!1,L;if(j.braceNest>0&&(j.currentType===4||j.currentType===5||j.currentType===6))return b(Kt.UNTERMINATED_CLOSING_BRACE,r(),0),j.braceNest=0,X(T,j);if(ut=g(T,j))return L=p(j,4,bt(T)),y(T),L;if(Z=k(T,j))return L=p(j,5,xt(T)),y(T),L;if(R=w(T,j))return L=p(j,6,ae(T)),y(T),L;if(!ut&&!Z&&!R)return L=p(j,12,rt(T)),b(Kt.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),y(T),L;break}}return L}function K(T,j){const{currentType:L}=j;let F=null;const ut=T.currentChar();switch((L===7||L===8||L===11||L===9)&&(ut===qe||ut===qi)&&b(Kt.INVALID_LINKED_FORMAT,r(),0),ut){case"@":return T.next(),F=p(j,7,"@"),j.inLinked=!0,F;case".":return y(T),T.next(),p(j,8,".");case":":return y(T),T.next(),p(j,9,":");default:return E(T)?(F=p(j,1,x(T)),j.braceNest=0,j.inLinked=!1,F):A(T,j)||S(T,j)?(y(T),K(T,j)):z(T,j)?(y(T),p(j,11,yt(T))):I(T,j)?(y(T),ut==="{"?O(T,j)||F:p(j,10,C(T))):(L===7&&b(Kt.INVALID_LINKED_FORMAT,r(),0),j.braceNest=0,j.inLinked=!1,X(T,j))}}function X(T,j){let L={type:13};if(j.braceNest>0)return O(T,j)||f(j);if(j.inLinked)return K(T,j)||f(j);switch(T.currentChar()){case"{":return O(T,j)||f(j);case"}":return b(Kt.UNBALANCED_CLOSING_BRACE,r(),0),T.next(),p(j,3,"}");case"@":return K(T,j)||f(j);default:{if(E(T))return L=p(j,1,x(T)),j.braceNest=0,j.inLinked=!1,L;if(D(T))return p(j,0,lt(T));break}}return L}function $(){const{currentType:T,offset:j,startLoc:L,endLoc:F}=l;return l.lastType=T,l.lastOffset=j,l.lastStartLoc=L,l.lastEndLoc=F,l.offset=n(),l.startLoc=r(),a.currentChar()===ns?p(l,13):X(a,l)}return{nextToken:$,currentOffset:n,currentPosition:r,context:d}}const bk="parser",pk=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function mk(t,e,s){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(e||s,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function fk(t={}){const e=t.location!==!1,{onError:s}=t;function a(m,v,g,k,...w){const A=m.currentPosition();if(A.offset+=k,A.column+=k,s){const z=e?yu(g,A):null,S=Xo(v,z,{domain:bk,args:w});s(S)}}function n(m,v,g){const k={type:m};return e&&(k.start=v,k.end=v,k.loc={start:g,end:g}),k}function r(m,v,g,k){e&&(m.end=v,m.loc&&(m.loc.end=g))}function o(m,v){const g=m.context(),k=n(3,g.offset,g.startLoc);return k.value=v,r(k,m.currentOffset(),m.currentPosition()),k}function u(m,v){const g=m.context(),{lastOffset:k,lastStartLoc:w}=g,A=n(5,k,w);return A.index=parseInt(v,10),m.nextToken(),r(A,m.currentOffset(),m.currentPosition()),A}function l(m,v){const g=m.context(),{lastOffset:k,lastStartLoc:w}=g,A=n(4,k,w);return A.key=v,m.nextToken(),r(A,m.currentOffset(),m.currentPosition()),A}function d(m,v){const g=m.context(),{lastOffset:k,lastStartLoc:w}=g,A=n(9,k,w);return A.value=v.replace(pk,mk),m.nextToken(),r(A,m.currentOffset(),m.currentPosition()),A}function c(m){const v=m.nextToken(),g=m.context(),{lastOffset:k,lastStartLoc:w}=g,A=n(8,k,w);return v.type!==11?(a(m,Kt.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),A.value="",r(A,k,w),{nextConsumeToken:v,node:A}):(v.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Vi(v)),A.value=v.value||"",r(A,m.currentOffset(),m.currentPosition()),{node:A})}function b(m,v){const g=m.context(),k=n(7,g.offset,g.startLoc);return k.value=v,r(k,m.currentOffset(),m.currentPosition()),k}function p(m){const v=m.context(),g=n(6,v.offset,v.startLoc);let k=m.nextToken();if(k.type===8){const w=c(m);g.modifier=w.node,k=w.nextConsumeToken||m.nextToken()}switch(k.type!==9&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(k)),k=m.nextToken(),k.type===2&&(k=m.nextToken()),k.type){case 10:k.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(k)),g.key=b(m,k.value||"");break;case 4:k.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(k)),g.key=l(m,k.value||"");break;case 5:k.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(k)),g.key=u(m,k.value||"");break;case 6:k.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(k)),g.key=d(m,k.value||"");break;default:{a(m,Kt.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const w=m.context(),A=n(7,w.offset,w.startLoc);return A.value="",r(A,w.offset,w.startLoc),g.key=A,r(g,w.offset,w.startLoc),{nextConsumeToken:k,node:g}}}return r(g,m.currentOffset(),m.currentPosition()),{node:g}}function f(m){const v=m.context(),g=v.currentType===1?m.currentOffset():v.offset,k=v.currentType===1?v.endLoc:v.startLoc,w=n(2,g,k);w.items=[];let A=null;do{const I=A||m.nextToken();switch(A=null,I.type){case 0:I.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(I)),w.items.push(o(m,I.value||""));break;case 5:I.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(I)),w.items.push(u(m,I.value||""));break;case 4:I.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(I)),w.items.push(l(m,I.value||""));break;case 6:I.value==null&&a(m,Kt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vi(I)),w.items.push(d(m,I.value||""));break;case 7:{const E=p(m);w.items.push(E.node),A=E.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const z=v.currentType===1?v.lastOffset:m.currentOffset(),S=v.currentType===1?v.lastEndLoc:m.currentPosition();return r(w,z,S),w}function _(m,v,g,k){const w=m.context();let A=k.items.length===0;const z=n(1,v,g);z.cases=[],z.cases.push(k);do{const S=f(m);A||(A=S.items.length===0),z.cases.push(S)}while(w.currentType!==13);return A&&a(m,Kt.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),r(z,m.currentOffset(),m.currentPosition()),z}function h(m){const v=m.context(),{offset:g,startLoc:k}=v,w=f(m);return v.currentType===13?w:_(m,g,k,w)}function y(m){const v=ck(m,Re({},t)),g=v.context(),k=n(0,g.offset,g.startLoc);return e&&k.loc&&(k.loc.source=m),k.body=h(v),t.onCacheKey&&(k.cacheKey=t.onCacheKey(m)),g.currentType!==13&&a(v,Kt.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,m[g.offset]||""),r(k,v.currentOffset(),v.currentPosition()),k}return{parse:y}}function Vi(t){if(t.type===13)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function vk(t,e={}){const s={ast:t,helpers:new Set};return{context:()=>s,helper:r=>(s.helpers.add(r),r)}}function Cb(t,e){for(let s=0;s<t.length;s++)Rd(t[s],e)}function Rd(t,e){switch(t.type){case 1:Cb(t.cases,e),e.helper("plural");break;case 2:Cb(t.items,e);break;case 6:{Rd(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function _k(t,e={}){const s=vk(t);s.helper("normalize"),t.body&&Rd(t.body,s);const a=s.context();t.helpers=Array.from(a.helpers)}function gk(t){const e=t.body;return e.type===2?Mb(e):e.cases.forEach(s=>Mb(s)),t}function Mb(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let s=0;s<t.items.length;s++){const a=t.items[s];if(!(a.type===3||a.type===9)||a.value==null)break;e.push(a.value)}if(e.length===t.items.length){t.static=Ld(e);for(let s=0;s<t.items.length;s++){const a=t.items[s];(a.type===3||a.type===9)&&delete a.value}}}}function Pa(t){switch(t.t=t.type,t.type){case 0:{const e=t;Pa(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,s=e.cases;for(let a=0;a<s.length;a++)Pa(s[a]);e.c=s,delete e.cases;break}case 2:{const e=t,s=e.items;for(let a=0;a<s.length;a++)Pa(s[a]);e.i=s,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;Pa(e.key),e.k=e.key,delete e.key,e.modifier&&(Pa(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}}delete t.type}function hk(t,e){const{filename:s,breakLineCode:a,needIndent:n}=e,r=e.location!==!1,o={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:n,indentLevel:0};r&&t.loc&&(o.source=t.loc.source);const u=()=>o;function l(h,y){o.code+=h}function d(h,y=!0){const m=y?a:"";l(n?m+" ".repeat(h):m)}function c(h=!0){const y=++o.indentLevel;h&&d(y)}function b(h=!0){const y=--o.indentLevel;h&&d(y)}function p(){d(o.indentLevel)}return{context:u,push:l,indent:c,deindent:b,newline:p,helper:h=>`_${h}`,needIndent:()=>o.needIndent}}function yk(t,e){const{helper:s}=t;t.push(`${s("linked")}(`),Xa(t,e.key),e.modifier?(t.push(", "),Xa(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function kk(t,e){const{helper:s,needIndent:a}=t;t.push(`${s("normalize")}([`),t.indent(a());const n=e.items.length;for(let r=0;r<n&&(Xa(t,e.items[r]),r!==n-1);r++)t.push(", ");t.deindent(a()),t.push("])")}function wk(t,e){const{helper:s,needIndent:a}=t;if(e.cases.length>1){t.push(`${s("plural")}([`),t.indent(a());const n=e.cases.length;for(let r=0;r<n&&(Xa(t,e.cases[r]),r!==n-1);r++)t.push(", ");t.deindent(a()),t.push("])")}}function Sk(t,e){e.body?Xa(t,e.body):t.push("null")}function Xa(t,e){const{helper:s}=t;switch(e.type){case 0:Sk(t,e);break;case 1:wk(t,e);break;case 2:kk(t,e);break;case 6:yk(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${s("interpolate")}(${s("list")}(${e.index}))`,e);break;case 4:t.push(`${s("interpolate")}(${s("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break}}const Ak=(t,e={})=>{const s=mt(e.mode)?e.mode:"normal",a=mt(e.filename)?e.filename:"message.intl";e.sourceMap;const n=e.breakLineCode!=null?e.breakLineCode:s==="arrow"?";":`
|
|
62
|
-
`,r=e.needIndent?e.needIndent:s!=="arrow",o=t.helpers||[],u=hk(t,{filename:a,breakLineCode:n,needIndent:r});u.push(s==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(r),o.length>0&&(u.push(`const { ${Ld(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),u.newline()),u.push("return "),Xa(u,t),u.deindent(r),u.push("}"),delete t.helpers;const{code:l,map:d}=u.context();return{ast:t,code:l,map:d?d.toJSON():void 0}};function zk(t,e={}){const s=Re({},e),a=!!s.jit,n=!!s.minify,r=s.optimize==null?!0:s.optimize,u=fk(s).parse(t);return a?(r&&gk(u),n&&Pa(u),{ast:u,code:""}):(_k(u,s),Ak(u,s))}function Tk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Id().__INTLIFY_PROD_DEVTOOLS__=!1)}function ts(t){return Ht(t)&&Od(t)===0&&(Li(t,"b")||Li(t,"body"))}const Pf=["b","body"];function Pk(t){return Fs(t,Pf)}const jf=["c","cases"];function jk(t){return Fs(t,jf,[])}const Ef=["s","static"];function Ek(t){return Fs(t,Ef)}const Cf=["i","items"];function Ck(t){return Fs(t,Cf,[])}const Mf=["t","type"];function Od(t){return Fs(t,Mf)}const xf=["v","value"];function Cr(t,e){const s=Fs(t,xf);if(s!=null)return s;throw Hn(e)}const If=["m","modifier"];function Mk(t){return Fs(t,If)}const Df=["k","key"];function xk(t){const e=Fs(t,Df);if(e)return e;throw Hn(6)}function Fs(t,e,s){for(let a=0;a<e.length;a++){const n=e[a];if(Li(t,n)&&t[n]!=null)return t[n]}return s}const Lf=[...Pf,...jf,...Ef,...Cf,...Df,...If,...xf,...Mf];function Hn(t){return new Error(`unhandled node type: ${t}`)}function yl(t){return s=>Ik(s,t)}function Ik(t,e){const s=Pk(e);if(s==null)throw Hn(0);if(Od(s)===1){const r=jk(s);return t.plural(r.reduce((o,u)=>[...o,xb(t,u)],[]))}else return xb(t,s)}function xb(t,e){const s=Ek(e);if(s!=null)return t.type==="text"?s:t.normalize([s]);{const a=Ck(e).reduce((n,r)=>[...n,ku(t,r)],[]);return t.normalize(a)}}function ku(t,e){const s=Od(e);switch(s){case 3:return Cr(e,s);case 9:return Cr(e,s);case 4:{const a=e;if(Li(a,"k")&&a.k)return t.interpolate(t.named(a.k));if(Li(a,"key")&&a.key)return t.interpolate(t.named(a.key));throw Hn(s)}case 5:{const a=e;if(Li(a,"i")&&ke(a.i))return t.interpolate(t.list(a.i));if(Li(a,"index")&&ke(a.index))return t.interpolate(t.list(a.index));throw Hn(s)}case 6:{const a=e,n=Mk(a),r=xk(a);return t.linked(ku(t,r),n?ku(t,n):void 0,t.type)}case 7:return Cr(e,s);case 8:return Cr(e,s);default:throw new Error(`unhandled node on format message part: ${s}`)}}const Dk=t=>t;let Mr=Zt();function Lk(t,e={}){let s=!1;const a=e.onError||ak;return e.onError=n=>{s=!0,a(n)},{...zk(t,e),detectError:s}}function Rk(t,e){if(mt(t)){ce(e.warnHtmlMessage)&&e.warnHtmlMessage;const a=(e.onCacheKey||Dk)(t),n=Mr[a];if(n)return n;const{ast:r,detectError:o}=Lk(t,{...e,location:!1,jit:!0}),u=yl(r);return o?u:Mr[a]=u}else{const s=t.cacheKey;if(s){const a=Mr[s];return a||(Mr[s]=yl(t))}else return yl(t)}}let Wn=null;function Ok(t){Wn=t}function Nk(t,e,s){Wn&&Wn.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:s})}const Bk=Fk("function:translate");function Fk(t){return e=>Wn&&Wn.emit(t,e)}const ps={INVALID_ARGUMENT:sk,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Gk=24;function ms(t){return Xo(t,null,void 0)}function Nd(t,e){return e.locale!=null?Ib(e.locale):Ib(t.locale)}let kl;function Ib(t){if(mt(t))return t;if(de(t)){if(t.resolvedOnce&&kl!=null)return kl;if(t.constructor.name==="Function"){const e=t();if(tk(e))throw ms(ps.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return kl=e}else throw ms(ps.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ms(ps.NOT_SUPPORT_LOCALE_TYPE)}function Uk(t,e,s){return[...new Set([s,..._e(e)?e:Ht(e)?Object.keys(e):mt(e)?[e]:[s]])]}function Rf(t,e,s){const a=mt(s)?s:mo,n=t;n.__localeChainCache||(n.__localeChainCache=new Map);let r=n.__localeChainCache.get(a);if(!r){r=[];let o=[s];for(;_e(o);)o=Db(r,o,e);const u=_e(e)||!Gt(e)?e:e.default?e.default:null;o=mt(u)?[u]:u,_e(o)&&Db(r,o,!1),n.__localeChainCache.set(a,r)}return r}function Db(t,e,s){let a=!0;for(let n=0;n<e.length&&ce(a);n++){const r=e[n];mt(r)&&(a=qk(t,e[n],s))}return a}function qk(t,e,s){let a;const n=e.split("-");do{const r=n.join("-");a=Vk(t,r,s),n.splice(-1,1)}while(n.length&&a===!0);return a}function Vk(t,e,s){let a=!1;if(!t.includes(e)&&(a=!0,e)){a=e[e.length-1]!=="!";const n=e.replace(/!/g,"");t.push(n),(_e(s)||Gt(s))&&s[n]&&(a=s[n])}return a}const Gs=[];Gs[0]={w:[0],i:[3,0],"[":[4],o:[7]};Gs[1]={w:[1],".":[2],"[":[4],o:[7]};Gs[2]={w:[2],i:[3,0],0:[3,0]};Gs[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Gs[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Gs[5]={"'":[4,0],o:8,l:[5,0]};Gs[6]={'"':[4,0],o:8,l:[6,0]};const Hk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Wk(t){return Hk.test(t)}function Kk(t){const e=t.charCodeAt(0),s=t.charCodeAt(t.length-1);return e===s&&(e===34||e===39)?t.slice(1,-1):t}function $k(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;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 Yk(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:Wk(e)?Kk(e):"*"+e}function Xk(t){const e=[];let s=-1,a=0,n=0,r,o,u,l,d,c,b;const p=[];p[0]=()=>{o===void 0?o=u:o+=u},p[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},p[2]=()=>{p[0](),n++},p[3]=()=>{if(n>0)n--,a=4,p[0]();else{if(n=0,o===void 0||(o=Yk(o),o===!1))return!1;p[1]()}};function f(){const _=t[s+1];if(a===5&&_==="'"||a===6&&_==='"')return s++,u="\\"+_,p[0](),!0}for(;a!==null;)if(s++,r=t[s],!(r==="\\"&&f())){if(l=$k(r),b=Gs[a],d=b[l]||b.l||8,d===8||(a=d[0],d[1]!==void 0&&(c=p[d[1]],c&&(u=r,c()===!1))))return;if(a===7)return e}}const Lb=new Map;function Zk(t,e){return Ht(t)?t[e]:null}function Qk(t,e){if(!Ht(t))return null;let s=Lb.get(e);if(s||(s=Xk(e),s&&Lb.set(e,s)),!s)return null;const a=s.length;let n=t,r=0;for(;r<a;){const o=s[r];if(Lf.includes(o)&&ts(n))return null;const u=n[o];if(u===void 0||de(n))return null;n=u,r++}return n}const Jk="11.2.1",Zo=-1,mo="en-US",Rb="",Ob=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function tw(){return{upper:(t,e)=>e==="text"&&mt(t)?t.toUpperCase():e==="vnode"&&Ht(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&mt(t)?t.toLowerCase():e==="vnode"&&Ht(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&mt(t)?Ob(t):e==="vnode"&&Ht(t)&&"__v_isVNode"in t?Ob(t.children):t}}let Of;function ew(t){Of=t}let Nf;function iw(t){Nf=t}let Bf;function sw(t){Bf=t}let Ff=null;const aw=t=>{Ff=t},nw=()=>Ff;let Gf=null;const Nb=t=>{Gf=t},rw=()=>Gf;let Bb=0;function ow(t={}){const e=de(t.onWarn)?t.onWarn:Ky,s=mt(t.version)?t.version:Jk,a=mt(t.locale)||de(t.locale)?t.locale:mo,n=de(a)?mo:a,r=_e(t.fallbackLocale)||Gt(t.fallbackLocale)||mt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:n,o=Gt(t.messages)?t.messages:wl(n),u=Gt(t.datetimeFormats)?t.datetimeFormats:wl(n),l=Gt(t.numberFormats)?t.numberFormats:wl(n),d=Re(Zt(),t.modifiers,tw()),c=t.pluralRules||Zt(),b=de(t.missing)?t.missing:null,p=ce(t.missingWarn)||po(t.missingWarn)?t.missingWarn:!0,f=ce(t.fallbackWarn)||po(t.fallbackWarn)?t.fallbackWarn:!0,_=!!t.fallbackFormat,h=!!t.unresolving,y=de(t.postTranslation)?t.postTranslation:null,m=Gt(t.processor)?t.processor:null,v=ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,g=!!t.escapeParameter,k=de(t.messageCompiler)?t.messageCompiler:Of,w=de(t.messageResolver)?t.messageResolver:Nf||Zk,A=de(t.localeFallbacker)?t.localeFallbacker:Bf||Uk,z=Ht(t.fallbackContext)?t.fallbackContext:void 0,S=t,I=Ht(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,E=Ht(S.__numberFormatters)?S.__numberFormatters:new Map,D=Ht(S.__meta)?S.__meta:{};Bb++;const M={version:s,cid:Bb,locale:a,fallbackLocale:r,messages:o,modifiers:d,pluralRules:c,missing:b,missingWarn:p,fallbackWarn:f,fallbackFormat:_,unresolving:h,postTranslation:y,processor:m,warnHtmlMessage:v,escapeParameter:g,messageCompiler:k,messageResolver:w,localeFallbacker:A,fallbackContext:z,onWarn:e,__meta:D};return M.datetimeFormats=u,M.numberFormats=l,M.__datetimeFormatters=I,M.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&Nk(M,s,D),M}const wl=t=>({[t]:Zt()});function Bd(t,e,s,a,n){const{missing:r,onWarn:o}=t;if(r!==null){const u=r(t,s,e,n);return mt(u)?u:e}else return e}function fn(t,e,s){const a=t;a.__localeChainCache=new Map,t.localeFallbacker(t,s,e)}function lw(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function uw(t,e){const s=e.indexOf(t);if(s===-1)return!1;for(let a=s+1;a<e.length;a++)if(lw(t,e[a]))return!0;return!1}function Fb(t,...e){const{datetimeFormats:s,unresolving:a,fallbackLocale:n,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:u}=t,[l,d,c,b]=wu(...e),p=ce(c.missingWarn)?c.missingWarn:t.missingWarn;ce(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const f=!!c.part,_=Nd(t,c),h=o(t,n,_);if(!mt(l)||l==="")return new Intl.DateTimeFormat(_,b).format(d);let y={},m,v=null;const g="datetime format";for(let A=0;A<h.length&&(m=h[A],y=s[m]||{},v=y[l],!Gt(v));A++)Bd(t,l,m,p,g);if(!Gt(v)||!mt(m))return a?Zo:l;let k=`${m}__${l}`;Yo(b)||(k=`${k}__${JSON.stringify(b)}`);let w=u.get(k);return w||(w=new Intl.DateTimeFormat(m,Re({},v,b)),u.set(k,w)),f?w.formatToParts(d):w.format(d)}const Uf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function wu(...t){const[e,s,a,n]=t,r=Zt();let o=Zt(),u;if(mt(e)){const l=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ms(ps.INVALID_ISO_DATE_ARGUMENT);const d=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();u=new Date(d);try{u.toISOString()}catch{throw ms(ps.INVALID_ISO_DATE_ARGUMENT)}}else if(Xy(e)){if(isNaN(e.getTime()))throw ms(ps.INVALID_DATE_ARGUMENT);u=e}else if(ke(e))u=e;else throw ms(ps.INVALID_ARGUMENT);return mt(s)?r.key=s:Gt(s)&&Object.keys(s).forEach(l=>{Uf.includes(l)?o[l]=s[l]:r[l]=s[l]}),mt(a)?r.locale=a:Gt(a)&&(o=a),Gt(n)&&(o=n),[r.key||"",u,r,o]}function Gb(t,e,s){const a=t;for(const n in s){const r=`${e}__${n}`;a.__datetimeFormatters.has(r)&&a.__datetimeFormatters.delete(r)}}function Ub(t,...e){const{numberFormats:s,unresolving:a,fallbackLocale:n,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:u}=t,[l,d,c,b]=Su(...e),p=ce(c.missingWarn)?c.missingWarn:t.missingWarn;ce(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const f=!!c.part,_=Nd(t,c),h=o(t,n,_);if(!mt(l)||l==="")return new Intl.NumberFormat(_,b).format(d);let y={},m,v=null;const g="number format";for(let A=0;A<h.length&&(m=h[A],y=s[m]||{},v=y[l],!Gt(v));A++)Bd(t,l,m,p,g);if(!Gt(v)||!mt(m))return a?Zo:l;let k=`${m}__${l}`;Yo(b)||(k=`${k}__${JSON.stringify(b)}`);let w=u.get(k);return w||(w=new Intl.NumberFormat(m,Re({},v,b)),u.set(k,w)),f?w.formatToParts(d):w.format(d)}const qf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Su(...t){const[e,s,a,n]=t,r=Zt();let o=Zt();if(!ke(e))throw ms(ps.INVALID_ARGUMENT);const u=e;return mt(s)?r.key=s:Gt(s)&&Object.keys(s).forEach(l=>{qf.includes(l)?o[l]=s[l]:r[l]=s[l]}),mt(a)?r.locale=a:Gt(a)&&(o=a),Gt(n)&&(o=n),[r.key||"",u,r,o]}function qb(t,e,s){const a=t;for(const n in s){const r=`${e}__${n}`;a.__numberFormatters.has(r)&&a.__numberFormatters.delete(r)}}const dw=t=>t,cw=t=>"",bw="text",pw=t=>t.length===0?"":Ld(t),mw=ek;function Vb(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function fw(t){const e=ke(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(ke(t.named.count)||ke(t.named.n))?ke(t.named.count)?t.named.count:ke(t.named.n)?t.named.n:e:e}function vw(t,e){e.count||(e.count=t),e.n||(e.n=t)}function _w(t={}){const e=t.locale,s=fw(t),a=Ht(t.pluralRules)&&mt(e)&&de(t.pluralRules[e])?t.pluralRules[e]:Vb,n=Ht(t.pluralRules)&&mt(e)&&de(t.pluralRules[e])?Vb:void 0,r=m=>m[a(s,m.length,n)],o=t.list||[],u=m=>o[m],l=t.named||Zt();ke(t.pluralIndex)&&vw(s,l);const d=m=>l[m];function c(m,v){const g=de(t.messages)?t.messages(m,!!v):Ht(t.messages)?t.messages[m]:!1;return g||(t.parent?t.parent.message(m):cw)}const b=m=>t.modifiers?t.modifiers[m]:dw,p=Gt(t.processor)&&de(t.processor.normalize)?t.processor.normalize:pw,f=Gt(t.processor)&&de(t.processor.interpolate)?t.processor.interpolate:mw,_=Gt(t.processor)&&mt(t.processor.type)?t.processor.type:bw,y={list:u,named:d,plural:r,linked:(m,...v)=>{const[g,k]=v;let w="text",A="";v.length===1?Ht(g)?(A=g.modifier||A,w=g.type||w):mt(g)&&(A=g||A):v.length===2&&(mt(g)&&(A=g||A),mt(k)&&(w=k||w));const z=c(m,!0)(y),S=w==="vnode"&&_e(z)&&A?z[0]:z;return A?b(A)(S,w):S},message:c,type:_,interpolate:f,normalize:p,values:Re(Zt(),o,l)};return y}const Hb=()=>"",wi=t=>de(t);function Wb(t,...e){const{fallbackFormat:s,postTranslation:a,unresolving:n,messageCompiler:r,fallbackLocale:o,messages:u}=t,[l,d]=Au(...e),c=ce(d.missingWarn)?d.missingWarn:t.missingWarn,b=ce(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,p=ce(d.escapeParameter)?d.escapeParameter:t.escapeParameter,f=!!d.resolvedMessage,_=mt(d.default)||ce(d.default)?ce(d.default)?r?l:()=>l:d.default:s?r?l:()=>l:null,h=s||_!=null&&(mt(_)||de(_)),y=Nd(t,d);p&&gw(d);let[m,v,g]=f?[l,y,u[y]||Zt()]:Vf(t,l,y,o,b,c),k=m,w=l;if(!f&&!(mt(k)||ts(k)||wi(k))&&h&&(k=_,w=k),!f&&(!(mt(k)||ts(k)||wi(k))||!mt(v)))return n?Zo:l;let A=!1;const z=()=>{A=!0},S=wi(k)?k:Hf(t,l,v,k,w,z);if(A)return k;const I=kw(t,v,g,d),E=_w(I),D=hw(t,S,E);let M=a?a(D,l):D;if(p&&mt(M)&&(M=Qy(M)),__INTLIFY_PROD_DEVTOOLS__){const N={timestamp:Date.now(),key:mt(l)?l:wi(k)?k.key:"",locale:v||(wi(k)?k.locale:""),format:mt(k)?k:wi(k)?k.source:"",message:M};N.meta=Re({},t.__meta,nw()||{}),Bk(N)}return M}function gw(t){_e(t.list)?t.list=t.list.map(e=>mt(e)?Pb(e):e):Ht(t.named)&&Object.keys(t.named).forEach(e=>{mt(t.named[e])&&(t.named[e]=Pb(t.named[e]))})}function Vf(t,e,s,a,n,r){const{messages:o,onWarn:u,messageResolver:l,localeFallbacker:d}=t,c=d(t,a,s);let b=Zt(),p,f=null;const _="translate";for(let h=0;h<c.length&&(p=c[h],b=o[p]||Zt(),(f=l(b,e))===null&&(f=b[e]),!(mt(f)||ts(f)||wi(f)));h++)if(!uw(p,c)){const y=Bd(t,e,p,r,_);y!==e&&(f=y)}return[f,p,b]}function Hf(t,e,s,a,n,r){const{messageCompiler:o,warnHtmlMessage:u}=t;if(wi(a)){const d=a;return d.locale=d.locale||s,d.key=d.key||e,d}if(o==null){const d=(()=>a);return d.locale=s,d.key=e,d}const l=o(a,yw(t,s,n,a,u,r));return l.locale=s,l.key=e,l.source=a,l}function hw(t,e,s){return e(s)}function Au(...t){const[e,s,a]=t,n=Zt();if(!mt(e)&&!ke(e)&&!wi(e)&&!ts(e))throw ms(ps.INVALID_ARGUMENT);const r=ke(e)?String(e):(wi(e),e);return ke(s)?n.plural=s:mt(s)?n.default=s:Gt(s)&&!Yo(s)?n.named=s:_e(s)&&(n.list=s),ke(a)?n.plural=a:mt(a)?n.default=a:Gt(a)&&Re(n,a),[r,n]}function yw(t,e,s,a,n,r){return{locale:e,key:s,warnHtmlMessage:n,onError:o=>{throw r&&r(o),o},onCacheKey:o=>$y(e,s,o)}}function kw(t,e,s,a){const{modifiers:n,pluralRules:r,messageResolver:o,fallbackLocale:u,fallbackWarn:l,missingWarn:d,fallbackContext:c}=t,p={locale:e,modifiers:n,pluralRules:r,messages:(f,_)=>{let h=o(s,f);if(h==null&&(c||_)){const[,,y]=Vf(c||t,f,e,u,l,d);h=o(y,f)}if(mt(h)||ts(h)){let y=!1;const v=Hf(t,f,e,h,f,()=>{y=!0});return y?Hb:v}else return wi(h)?h:Hb}};return t.processor&&(p.processor=t.processor),a.list&&(p.list=a.list),a.named&&(p.named=a.named),ke(a.plural)&&(p.pluralIndex=a.plural),p}Tk();const ww="11.2.1";function Sw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Id().__INTLIFY_PROD_DEVTOOLS__=!1)}const Pi={UNEXPECTED_RETURN_TYPE:Gk,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Fi(t,...e){return Xo(t,null,void 0)}const zu=Bs("__translateVNode"),Tu=Bs("__datetimeParts"),Pu=Bs("__numberParts"),Aw=Bs("__setPluralRules"),zw=Bs("__injectWithOption"),ju=Bs("__dispose");function Kn(t){if(!Ht(t)||ts(t))return t;for(const e in t)if(Li(t,e))if(!e.includes("."))Ht(t[e])&&Kn(t[e]);else{const s=e.split("."),a=s.length-1;let n=t,r=!1;for(let o=0;o<a;o++){if(s[o]==="__proto__")throw new Error(`unsafe key: ${s[o]}`);if(s[o]in n||(n[s[o]]=Zt()),!Ht(n[s[o]])){r=!0;break}n=n[s[o]]}if(r||(ts(n)?Lf.includes(s[a])||delete t[e]:(n[s[a]]=t[e],delete t[e])),!ts(n)){const o=n[s[a]];Ht(o)&&Kn(o)}}return t}function Wf(t,e){const{messages:s,__i18n:a,messageResolver:n,flatJson:r}=e,o=Gt(s)?s:_e(a)?Zt():{[t]:Zt()};if(_e(a)&&a.forEach(u=>{if("locale"in u&&"resource"in u){const{locale:l,resource:d}=u;l?(o[l]=o[l]||Zt(),Hr(d,o[l])):Hr(d,o)}else mt(u)&&Hr(JSON.parse(u),o)}),n==null&&r)for(const u in o)Li(o,u)&&Kn(o[u]);return o}function Kf(t){return t.type}function Tw(t,e,s){let a=Ht(e.messages)?e.messages:Zt();"__i18nGlobal"in s&&(a=Wf(t.locale.value,{messages:a,__i18n:s.__i18nGlobal}));const n=Object.keys(a);n.length&&n.forEach(r=>{t.mergeLocaleMessage(r,a[r])});{if(Ht(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Ht(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function Kb(t){return B(tn,null,t,0)}function Fd(){return ks()}const $b="__INTLIFY_META__",Yb=()=>[],Pw=()=>!1;let Xb=0;function Zb(t){return((e,s,a,n)=>t(s,a,Fd()||void 0,n))}const jw=()=>{const t=Fd();let e=null;return t&&(e=Kf(t)[$b])?{[$b]:e}:null};function $f(t={}){const{__root:e,__injectWithOption:s}=t,a=e===void 0,n=t.flatJson,r=bo?st:It;let o=ce(t.inheritLocale)?t.inheritLocale:!0;const u=r(e&&o?e.locale.value:mt(t.locale)?t.locale:mo),l=r(e&&o?e.fallbackLocale.value:mt(t.fallbackLocale)||_e(t.fallbackLocale)||Gt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:u.value),d=r(Wf(u.value,t)),c=r(Gt(t.datetimeFormats)?t.datetimeFormats:{[u.value]:{}}),b=r(Gt(t.numberFormats)?t.numberFormats:{[u.value]:{}});let p=e?e.missingWarn:ce(t.missingWarn)||po(t.missingWarn)?t.missingWarn:!0,f=e?e.fallbackWarn:ce(t.fallbackWarn)||po(t.fallbackWarn)?t.fallbackWarn:!0,_=e?e.fallbackRoot:ce(t.fallbackRoot)?t.fallbackRoot:!0,h=!!t.fallbackFormat,y=de(t.missing)?t.missing:null,m=de(t.missing)?Zb(t.missing):null,v=de(t.postTranslation)?t.postTranslation:null,g=e?e.warnHtmlMessage:ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,k=!!t.escapeParameter;const w=e?e.modifiers:Gt(t.modifiers)?t.modifiers:{};let A=t.pluralRules||e&&e.pluralRules,z;z=(()=>{a&&Nb(null);const R={version:ww,locale:u.value,fallbackLocale:l.value,messages:d.value,modifiers:w,pluralRules:A,missing:m===null?void 0:m,missingWarn:p,fallbackWarn:f,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:g,escapeParameter:k,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=c.value,R.numberFormats=b.value,R.__datetimeFormatters=Gt(z)?z.__datetimeFormatters:void 0,R.__numberFormatters=Gt(z)?z.__numberFormatters:void 0;const U=ow(R);return a&&Nb(U),U})(),fn(z,u.value,l.value);function I(){return[u.value,l.value,d.value,c.value,b.value]}const E=G({get:()=>u.value,set:R=>{z.locale=R,u.value=R}}),D=G({get:()=>l.value,set:R=>{z.fallbackLocale=R,l.value=R,fn(z,u.value,R)}}),M=G(()=>d.value),N=G(()=>c.value),V=G(()=>b.value);function it(){return de(v)?v:null}function ct(R){v=R,z.postTranslation=R}function ot(){return y}function tt(R){R!==null&&(m=Zb(R)),y=R,z.missing=m}const _t=(R,U,ft,Pt,Lt,Ae)=>{I();let ve;try{__INTLIFY_PROD_DEVTOOLS__,a||(z.fallbackContext=e?rw():void 0),ve=R(z)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(z.fallbackContext=void 0)}if(ft!=="translate exists"&&ke(ve)&&ve===Zo||ft==="translate exists"&&!ve){const[gi,Ei]=U();return e&&_?Pt(e):Lt(gi)}else{if(Ae(ve))return ve;throw Fi(Pi.UNEXPECTED_RETURN_TYPE)}};function vt(...R){return _t(U=>Reflect.apply(Wb,null,[U,...R]),()=>Au(...R),"translate",U=>Reflect.apply(U.t,U,[...R]),U=>U,U=>mt(U))}function Tt(...R){const[U,ft,Pt]=R;if(Pt&&!Ht(Pt))throw Fi(Pi.INVALID_ARGUMENT);return vt(U,ft,Re({resolvedMessage:!0},Pt||{}))}function lt(...R){return _t(U=>Reflect.apply(Fb,null,[U,...R]),()=>wu(...R),"datetime format",U=>Reflect.apply(U.d,U,[...R]),()=>Rb,U=>mt(U)||_e(U))}function bt(...R){return _t(U=>Reflect.apply(Ub,null,[U,...R]),()=>Su(...R),"number format",U=>Reflect.apply(U.n,U,[...R]),()=>Rb,U=>mt(U)||_e(U))}function xt(R){return R.map(U=>mt(U)||ke(U)||ce(U)?Kb(String(U)):U)}const ae={normalize:xt,interpolate:R=>R,type:"vnode"};function P(...R){return _t(U=>{let ft;const Pt=U;try{Pt.processor=ae,ft=Reflect.apply(Wb,null,[Pt,...R])}finally{Pt.processor=null}return ft},()=>Au(...R),"translate",U=>U[zu](...R),U=>[Kb(U)],U=>_e(U))}function et(...R){return _t(U=>Reflect.apply(Ub,null,[U,...R]),()=>Su(...R),"number format",U=>U[Pu](...R),Yb,U=>mt(U)||_e(U))}function Q(...R){return _t(U=>Reflect.apply(Fb,null,[U,...R]),()=>wu(...R),"datetime format",U=>U[Tu](...R),Yb,U=>mt(U)||_e(U))}function rt(R){A=R,z.pluralRules=A}function yt(R,U){return _t(()=>{if(!R)return!1;const ft=mt(U)?U:u.value,Pt=O(ft),Lt=z.messageResolver(Pt,R);return ts(Lt)||wi(Lt)||mt(Lt)},()=>[R],"translate exists",ft=>Reflect.apply(ft.te,ft,[R,U]),Pw,ft=>ce(ft))}function C(R){let U=null;const ft=Rf(z,l.value,u.value);for(let Pt=0;Pt<ft.length;Pt++){const Lt=d.value[ft[Pt]]||{},Ae=z.messageResolver(Lt,R);if(Ae!=null){U=Ae;break}}return U}function x(R){const U=C(R);return U??(e?e.tm(R)||{}:{})}function O(R){return d.value[R]||{}}function K(R,U){if(n){const ft={[R]:U};for(const Pt in ft)Li(ft,Pt)&&Kn(ft[Pt]);U=ft[R]}d.value[R]=U,z.messages=d.value}function X(R,U){d.value[R]=d.value[R]||{};const ft={[R]:U};if(n)for(const Pt in ft)Li(ft,Pt)&&Kn(ft[Pt]);U=ft[R],Hr(U,d.value[R]),z.messages=d.value}function $(R){return c.value[R]||{}}function T(R,U){c.value[R]=U,z.datetimeFormats=c.value,Gb(z,R,U)}function j(R,U){c.value[R]=Re(c.value[R]||{},U),z.datetimeFormats=c.value,Gb(z,R,U)}function L(R){return b.value[R]||{}}function F(R,U){b.value[R]=U,z.numberFormats=b.value,qb(z,R,U)}function ut(R,U){b.value[R]=Re(b.value[R]||{},U),z.numberFormats=b.value,qb(z,R,U)}Xb++,e&&bo&&(At(e.locale,R=>{o&&(u.value=R,z.locale=R,fn(z,u.value,l.value))}),At(e.fallbackLocale,R=>{o&&(l.value=R,z.fallbackLocale=R,fn(z,u.value,l.value))}));const Z={id:Xb,locale:E,fallbackLocale:D,get inheritLocale(){return o},set inheritLocale(R){o=R,R&&e&&(u.value=e.locale.value,l.value=e.fallbackLocale.value,fn(z,u.value,l.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:M,get modifiers(){return w},get pluralRules(){return A||{}},get isGlobal(){return a},get missingWarn(){return p},set missingWarn(R){p=R,z.missingWarn=p},get fallbackWarn(){return f},set fallbackWarn(R){f=R,z.fallbackWarn=f},get fallbackRoot(){return _},set fallbackRoot(R){_=R},get fallbackFormat(){return h},set fallbackFormat(R){h=R,z.fallbackFormat=h},get warnHtmlMessage(){return g},set warnHtmlMessage(R){g=R,z.warnHtmlMessage=R},get escapeParameter(){return k},set escapeParameter(R){k=R,z.escapeParameter=R},t:vt,getLocaleMessage:O,setLocaleMessage:K,mergeLocaleMessage:X,getPostTranslationHandler:it,setPostTranslationHandler:ct,getMissingHandler:ot,setMissingHandler:tt,[Aw]:rt};return Z.datetimeFormats=N,Z.numberFormats=V,Z.rt=Tt,Z.te=yt,Z.tm=x,Z.d=lt,Z.n=bt,Z.getDateTimeFormat=$,Z.setDateTimeFormat=T,Z.mergeDateTimeFormat=j,Z.getNumberFormat=L,Z.setNumberFormat=F,Z.mergeNumberFormat=ut,Z[zw]=s,Z[zu]=P,Z[Tu]=Q,Z[Pu]=et,Z}const Gd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function Ew({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((a,n)=>[...a,...n.type===pt?n.children:[n]],[]):e.reduce((s,a)=>{const n=t[a];return n&&(s[a]=n()),s},Zt())}function Yf(){return pt}const Cw=Me({name:"i18n-t",props:Re({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ke(t)||!isNaN(t)}},Gd),setup(t,e){const{slots:s,attrs:a}=e,n=t.i18n||Ud({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(s).filter(b=>b[0]!=="_"),o=Zt();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=mt(t.plural)?+t.plural:t.plural);const u=Ew(e,r),l=n[zu](t.keypath,u,o),d=Re(Zt(),a),c=mt(t.tag)||Ht(t.tag)?t.tag:Yf();return oe(c,d,l)}}}),Qb=Cw;function Mw(t){return _e(t)&&!mt(t[0])}function Xf(t,e,s,a){const{slots:n,attrs:r}=e;return()=>{const o={part:!0};let u=Zt();t.locale&&(o.locale=t.locale),mt(t.format)?o.key=t.format:Ht(t.format)&&(mt(t.format.key)&&(o.key=t.format.key),u=Object.keys(t.format).reduce((p,f)=>s.includes(f)?Re(Zt(),p,{[f]:t.format[f]}):p,Zt()));const l=a(t.value,o,u);let d=[o.key];_e(l)?d=l.map((p,f)=>{const _=n[p.type],h=_?_({[p.type]:p.value,index:f,parts:l}):[p.value];return Mw(h)&&(h[0].key=`${p.type}-${f}`),h}):mt(l)&&(d=[l]);const c=Re(Zt(),r),b=mt(t.tag)||Ht(t.tag)?t.tag:Yf();return oe(b,c,d)}}const xw=Me({name:"i18n-n",props:Re({value:{type:Number,required:!0},format:{type:[String,Object]}},Gd),setup(t,e){const s=t.i18n||Ud({useScope:t.scope,__useComponent:!0});return Xf(t,e,qf,(...a)=>s[Pu](...a))}}),Jb=xw;function Iw(t,e){const s=t;if(t.mode==="composition")return s.__getInstance(e)||t.global;{const a=s.__getInstance(e);return a!=null?a.__composer:t.global.__composer}}function Dw(t){const e=o=>{const{instance:u,value:l}=o;if(!u||!u.$)throw Fi(Pi.UNEXPECTED_ERROR);const d=Iw(t,u.$),c=tp(l);return[Reflect.apply(d.t,d,[...ep(c)]),d]};return{created:(o,u)=>{const[l,d]=e(u);bo&&t.global===d&&(o.__i18nWatcher=At(d.locale,()=>{u.instance&&u.instance.$forceUpdate()})),o.__composer=d,o.textContent=l},unmounted:o=>{bo&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:u})=>{if(o.__composer){const l=o.__composer,d=tp(u);o.textContent=Reflect.apply(l.t,l,[...ep(d)])}},getSSRProps:o=>{const[u]=e(o);return{textContent:u}}}}function tp(t){if(mt(t))return{path:t};if(Gt(t)){if(!("path"in t))throw Fi(Pi.REQUIRED_VALUE,"path");return t}else throw Fi(Pi.INVALID_VALUE)}function ep(t){const{path:e,locale:s,args:a,choice:n,plural:r}=t,o={},u=a||{};return mt(s)&&(o.locale=s),ke(n)&&(o.plural=n),ke(r)&&(o.plural=r),[e,u,o]}function Lw(t,e,...s){const a=Gt(s[0])?s[0]:{};(ce(a.globalInstall)?a.globalInstall:!0)&&([Qb.name,"I18nT"].forEach(r=>t.component(r,Qb)),[Jb.name,"I18nN"].forEach(r=>t.component(r,Jb)),[sp.name,"I18nD"].forEach(r=>t.component(r,sp))),t.directive("t",Dw(e))}const Rw=Bs("global-vue-i18n");function Ow(t={}){const e=ce(t.globalInjection)?t.globalInjection:!0,s=new Map,[a,n]=Nw(t),r=Bs("");function o(c){return s.get(c)||null}function u(c,b){s.set(c,b)}function l(c){s.delete(c)}const d={get mode(){return"composition"},async install(c,...b){if(c.__VUE_I18N_SYMBOL__=r,c.provide(c.__VUE_I18N_SYMBOL__,d),Gt(b[0])){const _=b[0];d.__composerExtend=_.__composerExtend,d.__vueI18nExtend=_.__vueI18nExtend}let p=null;e&&(p=Ww(c,d.global)),Lw(c,d,...b);const f=c.unmount;c.unmount=()=>{p&&p(),d.dispose(),f()}},get global(){return n},dispose(){a.stop()},__instances:s,__getInstance:o,__setInstance:u,__deleteInstance:l};return d}function Ud(t={}){const e=Fd();if(e==null)throw Fi(Pi.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Fi(Pi.NOT_INSTALLED);const s=Bw(e),a=Gw(s),n=Kf(e),r=Fw(t,n);if(r==="global")return Tw(a,t,n),a;if(r==="parent"){let l=Uw(s,e,t.__useComponent);return l==null&&(l=a),l}const o=s;let u=o.__getInstance(e);if(u==null){const l=Re({},t);"__i18n"in n&&(l.__i18n=n.__i18n),a&&(l.__root=a),u=$f(l),o.__composerExtend&&(u[ju]=o.__composerExtend(u)),Vw(o,e,u),o.__setInstance(e,u)}return u}function Nw(t,e){const s=Va(),a=s.run(()=>$f(t));if(a==null)throw Fi(Pi.UNEXPECTED_ERROR);return[s,a]}function Bw(t){const e=Qt(t.isCE?Rw:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Fi(t.isCE?Pi.NOT_INSTALLED_WITH_PROVIDE:Pi.UNEXPECTED_ERROR);return e}function Fw(t,e){return Yo(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Gw(t){return t.mode==="composition"?t.global:t.global.__composer}function Uw(t,e,s=!1){let a=null;const n=e.root;let r=qw(e,s);for(;r!=null;){const o=t;if(t.mode==="composition"&&(a=o.__getInstance(r)),a!=null||n===r)break;r=r.parent}return a}function qw(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function Vw(t,e,s){Xe(()=>{},e),Go(()=>{const a=s;t.__deleteInstance(e);const n=a[ju];n&&(n(),delete a[ju])},e)}const Hw=["locale","fallbackLocale","availableLocales"],ip=["t","rt","d","n","tm","te"];function Ww(t,e){const s=Object.create(null);return Hw.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r)throw Fi(Pi.UNEXPECTED_ERROR);const o=fe(r.value)?{get(){return r.value.value},set(u){r.value.value=u}}:{get(){return r.get&&r.get()}};Object.defineProperty(s,n,o)}),t.config.globalProperties.$i18n=s,ip.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw Fi(Pi.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${n}`,r)}),()=>{delete t.config.globalProperties.$i18n,ip.forEach(n=>{delete t.config.globalProperties[`$${n}`]})}}const Kw=Me({name:"i18n-d",props:Re({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Gd),setup(t,e){const s=t.i18n||Ud({useScope:t.scope,__useComponent:!0});return Xf(t,e,Uf,(...a)=>s[Tu](...a))}}),sp=Kw;Sw();ew(Rk);iw(Qk);sw(Rf);if(__INTLIFY_PROD_DEVTOOLS__){const t=Id();t.__INTLIFY__=!0,Ok(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Sl=t=>t&&typeof t=="object"&&!Array.isArray(t),Eu=(t,...e)=>{if(!e.length)return t;const s=e.shift();if(Sl(t)&&Sl(s))for(const a in s)Sl(s[a])?(t[a]||Object.assign(t,{[a]:{}}),Eu(t[a],s[a])):Object.assign(t,{[a]:s[a]});return Eu(t,...e)},$w=Eu({},{cs:{actions:{t:0,b:{t:2,i:[{t:3}],s:"Akce"}},add_library:{t:0,b:{t:2,i:[{t:3}],s:"Přidat do knihovny"}},add_playlist:{t:0,b:{t:2,i:[{t:3}],s:"Přidat do playlistu..."}},add_queue:{t:0,b:{t:2,i:[{t:3}],s:"Přidat do fronty"}},add_url_item:{t:0,b:{t:2,i:[{t:3}],s:"Přidat položku z adresy URL"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},album_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Skladby alba"}},album_type:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},compilation:{t:0,b:{t:2,i:[{t:3}],s:"Kompilace"}},ep:{t:0,b:{t:2,i:[{t:3}],s:"EP"}},single:{t:0,b:{t:2,i:[{t:3}],s:"Singl"}},unknown:{t:0,b:{t:2,i:[{t:3}],s:"Neznámý typ alba"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiokniha"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alba"}},appears_on:{t:0,b:{t:2,i:[{t:3}],s:"Objevuje se na"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Umělec"}},artist_albums:{t:0,b:{t:2,i:[{t:3}],s:"Alba"}},artist_toptracks:{t:0,b:{t:2,i:[{t:3}],s:"Nejlepší skladby"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Umělci"}},browse:{t:0,b:{t:2,i:[{t:3}],s:"Procházet"}},clear_selection:{t:0,b:{t:2,i:[{t:3}],s:"Zrušit výběr"}},close:{t:0,b:{t:2,i:[{t:3}],s:"Zavřít"}},create_playlist:{t:0,b:{t:2,i:[{t:3,v:"Vytvořit nový playlist na "},{t:5,i:0}]}},crossfade_disabled:{t:0,b:{t:2,i:[{t:3}],s:"Crossfade je zakázán"}},crossfade_enabled:{t:0,b:{t:2,i:[{t:3}],s:"Crossfade je povolen"}},dark_mode:{t:0,b:{t:2,i:[{t:3}],s:"Tmavý režim"}},delete_db:{t:0,b:{t:2,i:[{t:3}],s:"Smazat položku z databáze"}},details:{t:0,b:{t:2,i:[{t:3}],s:"Podrobnosti"}},enter_url:{t:0,b:{t:2,i:[{t:3}],s:"Zadejte adresu URL, kterou chcete ručně přidat do databáze."}},external_source_active:{t:0,b:{t:2,i:[{t:3,v:"Aktivní externí zdroj: "},{t:5,i:0}]}},goto_album:{t:0,b:{t:2,i:[{t:3,v:"Přejít na album "},{t:5,i:0}]}},goto_artist:{t:0,b:{t:2,i:[{t:3,v:"Přejít na umělce "},{t:5,i:0}]}},home:{t:0,b:{t:2,i:[{t:3}],s:"Domov"}},items_selected:{t:0,b:{t:2,i:[{t:3,v:"Počet vybraných položek: "},{t:5,i:0}]}},items_total:{t:0,b:{t:2,i:[{t:3,v:"Celkový počet položek: "},{t:5,i:0}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Knihovna"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"Data se načítají ze serveru."}},mass:{t:0,b:{t:2,i:[{t:3}],s:"Music Assistant"}},new_playlist_name:{t:0,b:{t:2,i:[{t:3}],s:"Zadejte název nového playlistu"}},no_content:{t:0,b:{t:2,i:[{t:3}],s:"Nebyly nalezeny žádné položky."}},no_content_filter:{t:0,b:{t:2,i:[{t:3}],s:"Pro aktuální podmínky filtru/vyhledávání nebyly nalezeny žádné položky."}},no_player:{t:0,b:{t:2,i:[{t:3}],s:"Není vybrán žádný přehrávač"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Vypnuto"}},on:{t:0,b:{t:2,i:[{t:3}],s:"Zapnuto"}},other_versions:{t:0,b:{t:2,i:[{t:3}],s:"Další verze"}},perform_action:{t:0,b:{t:2,i:[{t:3,v:"Provést akci u "},{t:5,i:0},{t:3,v:" položek"}]}},play:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát"}},play_album_from:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát album odtud"}},play_next:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát další"}},play_now:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát nyní"}},play_on:{t:0,b:{t:2,i:[{t:3,v:"Přehrát na: "},{t:5,i:0}]}},play_playlist_from:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát Playlist odtud"}},play_radio:{t:0,b:{t:2,i:[{t:3}],s:"Spustit rádio"}},player_type:{group:{t:0,b:{t:2,i:[{t:3}],s:"Skupina"}},player:{t:0,b:{t:2,i:[{t:3}],s:"Přehrávač"}},stereo_pair:{t:0,b:{t:2,i:[{t:3}],s:"Stereofonní pár"}},sync_group:{t:0,b:{t:2,i:[{t:3}],s:"Sladěná skupina"}}},players:{t:0,b:{t:2,i:[{t:3}],s:"Přehrávače"}},playlist:{t:0,b:{t:2,i:[{t:3}],s:"Playlist"}},playlist_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Skladby playlistu"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisty"}},provider_details:{t:0,b:{t:2,i:[{t:3}],s:"Podrobnosti o poskytovateli"}},queue:{t:0,b:{t:2,i:[{t:3}],s:"Fronta"}},queue_clear:{t:0,b:{t:2,i:[{t:3}],s:"Smazat všechny položky ve frontě"}},queue_delete:{t:0,b:{t:2,i:[{t:3}],s:"Smazat položku"}},queue_empty:{t:0,b:{t:2,i:[{t:3}],s:"Žádné položky ve frontě"}},queue_move_down:{t:0,b:{t:2,i:[{t:3}],s:"Posunout dolů"}},queue_move_up:{t:0,b:{t:2,i:[{t:3}],s:"Posunout nahoru"}},queue_next_items:{t:0,b:{t:2,i:[{t:3}],s:"Další položky"}},queue_options:{t:0,b:{t:2,i:[{t:3}],s:"Možnosti fronty"}},queue_previous_items:{t:0,b:{t:2,i:[{t:3}],s:"Přehrané položky"}},queue_radio_based_on:{t:0,b:{t:2,i:[{t:3,v:"Fronta se dynamicky plní skladbami na základě "},{t:5,i:0},{t:3,v:" :"}]}},queue_radio_enabled:{t:0,b:{t:2,i:[{t:3}],s:"Režim rádia je povolen"}},radios:{t:0,b:{t:2,i:[{t:3}],s:"Rádio"}},read_more:{t:0,b:{t:2,i:[{t:3}],s:"Přečíst víc"}},refresh_item:{t:0,b:{t:2,i:[{t:3}],s:"Obnovit položku"}},remove_library:{t:0,b:{t:2,i:[{t:3}],s:"Odebrat z knihovny"}},remove_playlist:{t:0,b:{t:2,i:[{t:3}],s:"Odebrat z playlistu"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Vyhledávání"}},settings:{add_new:{t:0,b:{t:2,i:[{t:3}],s:"Přidat nový"}},add_provider:{t:0,b:{t:2,i:[{t:3}],s:"Přidat nového poskytovatele"}},advanced_settings:{t:0,b:{t:2,i:[{t:3}],s:"Pokročilá nastavení"}},check_docs:{t:0,b:{t:2,i:[{t:3}],s:"Podívat se na dokumentaci"}},codeowners:{t:0,b:{t:2,i:[{t:3}],s:"Autoři"}},config_player:{t:0,b:{t:2,i:[{t:3,v:"Konfigurovat přehrávač: "},{t:5,i:0}]}},configure:{t:0,b:{t:2,i:[{t:3}],s:"Konfigurovat"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Smazat"}},disable:{t:0,b:{t:2,i:[{t:3}],s:"Zakázat"}},documentation:{t:0,b:{t:2,i:[{t:3}],s:"Dokumentace"}},enable:{t:0,b:{t:2,i:[{t:3}],s:"Povolit"}},enable_player:{t:0,b:{t:2,i:[{t:3}],s:"Povolit tento přehrávač"}},enable_provider:{t:0,b:{t:2,i:[{t:3}],s:"Povolit tuto položku poskytovatele"}},enabled:{t:0,b:{t:2,i:[{t:3}],s:"Povolit"}},invalid_input:{t:0,b:{t:2,i:[{t:3}],s:"Vstup je neplatný"}},metadataproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé metadat"}},musicproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé hudebních služeb"}},need_help_setup_provider:{t:0,b:{t:2,i:[{t:3}],s:"Potřebujete pomoci s nastavením tohoto poskytovatele ?"}},no_providers:{t:0,b:{t:2,i:[{t:3}],s:"Žádní nakonfigurovaní poskytovatelé hudby"}},no_providers_detail:{t:0,b:{t:2,i:[{t:3}],s:"Spusťte aplikaci Music Assistant přidáním poskytovatelů hudby níže."}},not_loaded:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatel není (zatím) načten"}},password:{t:0,b:{t:2,i:[{t:3}],s:"Heslo"}},player_address:{t:0,b:{t:2,i:[{t:3}],s:"Adresa"}},player_disabled:{t:0,b:{t:2,i:[{t:3}],s:"Tento přehrávač je zakázán"}},player_id:{t:0,b:{t:2,i:[{t:3}],s:"ID přehrávače"}},player_model:{t:0,b:{t:2,i:[{t:3}],s:"Model"}},player_name:{t:0,b:{t:2,i:[{t:3}],s:"Vlastní název přehrávače"}},player_not_available:{t:0,b:{t:2,i:[{t:3}],s:"Tento přehrávač není (zatím) dostupný"}},player_provider:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatel"}},player_settings:{t:0,b:{t:2,i:[{t:3}],s:"Nastavení přehrávače"}},player_type_label:{t:0,b:{t:2,i:[{t:3}],s:"Typ přehrávače"}},playerproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé přehrávačů"}},players:{t:0,b:{t:2,i:[{t:3}],s:"Přehrávače"}},pluginproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé pluginů"}},provider_disabled:{t:0,b:{t:2,i:[{t:3}],s:"Tato položka poskytovatele je zakázána"}},provider_name:{t:0,b:{t:2,i:[{t:3}],s:"Vlastní název pro tuto položku zprostředkovatele"}},providers:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé"}},reload:{t:0,b:{t:2,i:[{t:3}],s:"Znovu načíst"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Uložit"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Nastavení"}},setup_provider:{t:0,b:{t:2,i:[{t:3,v:"Nastavení poskytovatele: "},{t:5,i:0}]}},sync:{t:0,b:{t:2,i:[{t:3}],s:"Synchronizovat nyní"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"Tento poskytovatel se nyní synchronizuje"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Uživatelské jméno"}},core:{t:0,b:{t:2,i:[{t:3}],s:"Jádro"}},core_modules:{t:0,b:{t:2,i:[{t:3}],s:"Moduly jádra"}},server_info:{t:0,b:{t:2,i:[{t:3}],s:"Informace o serveru"}},server_id:{t:0,b:{t:2,i:[{t:3}],s:"ID serveru"}},server_version:{t:0,b:{t:2,i:[{t:3}],s:"Verze serveru"}},server_base_url:{t:0,b:{t:2,i:[{t:3}],s:"Základní URL"}},server_as_addon:{t:0,b:{t:2,i:[{t:3}],s:"Doplněk Home Assistant"}},artists_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Umělci v knihovně"}},albums_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Alba v knihovně"}},tracks_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Skladby v knihovně"}},playlists_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Playlisty v knihovně"}},radio_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Rádio v knihovně"}},server_logging:{t:0,b:{t:2,i:[{t:3}],s:"Logování serveru"}},download_log:{t:0,b:{t:2,i:[{t:3}],s:"Stáhnout soubor logu"}},edit_group_members:{t:0,b:{t:2,i:[{t:3}],s:"Upravit členy skupiny"}},add_new_provider_button:{t:0,b:{t:2,i:[{t:3,v:"Přidat "},{t:5,i:0},{t:3,v:" poskytovatele"}]}},add_group_player:{t:0,b:{t:2,i:[{t:3}],s:"Přidat skupinový přehrávač"}},group_members:{t:0,b:{t:2,i:[{t:3}],s:"Členové skupiny"}},log_level:{label:{t:0,b:{t:2,i:[{t:3}],s:"Úroveň logu"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Nastabení podrobnosti protokolu pro tohoto poskytovatele."}},options:{global:{t:0,b:{t:2,i:[{t:3}],s:"Globální"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Info"}},warning:{t:0,b:{t:2,i:[{t:3}],s:"Varování"}},error:{t:0,b:{t:2,i:[{t:3}],s:"Chyba"}},debug:{t:0,b:{t:2,i:[{t:3}],s:"Debug"}}}},flow_mode:{label:{t:0,b:{t:2,i:[{t:3}],s:"Povolení režimu toku fronty"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Povolte režim „flow“, kde jsou všechny stopy ve frontě odesílány jako nepřetržitý zvukový stream.
|
|
59
|
+
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${bs(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:s}){let a=this.parser.parseInline(s),n=jb(t);if(n===null)return a;t=n;let r='<a href="'+t+'"';return e&&(r+=' title="'+bs(e)+'"'),r+=">"+a+"</a>",r}image({href:t,title:e,text:s,tokens:a}){a&&(s=this.parser.parseInline(a,this.parser.textRenderer));let n=jb(t);if(n===null)return bs(s);t=n;let r=`<img src="${t}" alt="${s}"`;return e&&(r+=` title="${bs(e)}"`),r+=">",r}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:bs(t.text)}},Yd=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},Oi=class Eu{options;renderer;textRenderer;constructor(e){this.options=e||Sa,this.options.renderer=this.options.renderer||new To,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Yd}static parse(e,s){return new Eu(s).parse(e)}static parseInline(e,s){return new Eu(s).parseInline(e)}parse(e){let s="";for(let a=0;a<e.length;a++){let n=e[a];if(this.options.extensions?.renderers?.[n.type]){let o=n,u=this.options.extensions.renderers[o.type].call({parser:this},o);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){s+=u||"";continue}}let r=n;switch(r.type){case"space":{s+=this.renderer.space(r);break}case"hr":{s+=this.renderer.hr(r);break}case"heading":{s+=this.renderer.heading(r);break}case"code":{s+=this.renderer.code(r);break}case"table":{s+=this.renderer.table(r);break}case"blockquote":{s+=this.renderer.blockquote(r);break}case"list":{s+=this.renderer.list(r);break}case"checkbox":{s+=this.renderer.checkbox(r);break}case"html":{s+=this.renderer.html(r);break}case"def":{s+=this.renderer.def(r);break}case"paragraph":{s+=this.renderer.paragraph(r);break}case"text":{s+=this.renderer.text(r);break}default:{let o='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return s}parseInline(e,s=this.renderer){let a="";for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let u=this.options.extensions.renderers[r.type].call({parser:this},r);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){a+=u||"";continue}}let o=r;switch(o.type){case"escape":{a+=s.text(o);break}case"html":{a+=s.html(o);break}case"link":{a+=s.link(o);break}case"image":{a+=s.image(o);break}case"checkbox":{a+=s.checkbox(o);break}case"strong":{a+=s.strong(o);break}case"em":{a+=s.em(o);break}case"codespan":{a+=s.codespan(o);break}case"br":{a+=s.br(o);break}case"del":{a+=s.del(o);break}case"text":{a+=s.text(o);break}default:{let u='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return a}},xn=class{options;block;constructor(t){this.options=t||Sa}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?Ri.lex:Ri.lexInline}provideParser(){return this.block?Oi.parse:Oi.parseInline}},fy=class{defaults=Gd();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Oi;Renderer=To;TextRenderer=Yd;Lexer=Ri;Tokenizer=zo;Hooks=xn;constructor(...t){this.use(...t)}walkTokens(t,e){let s=[];for(let a of t)switch(s=s.concat(e.call(this,a)),a.type){case"table":{let n=a;for(let r of n.header)s=s.concat(this.walkTokens(r.tokens,e));for(let r of n.rows)for(let o of r)s=s.concat(this.walkTokens(o.tokens,e));break}case"list":{let n=a;s=s.concat(this.walkTokens(n.items,e));break}default:{let n=a;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(r=>{let o=n[r].flat(1/0);s=s.concat(this.walkTokens(o,e))}):n.tokens&&(s=s.concat(this.walkTokens(n.tokens,e)))}}return s}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(s=>{let a={...s};if(a.async=this.defaults.async||a.async||!1,s.extensions&&(s.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let r=e.renderers[n.name];r?e.renderers[n.name]=function(...o){let u=n.renderer.apply(this,o);return u===!1&&(u=r.apply(this,o)),u}:e.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let r=e[n.level];r?r.unshift(n.tokenizer):e[n.level]=[n.tokenizer],n.start&&(n.level==="block"?e.startBlock?e.startBlock.push(n.start):e.startBlock=[n.start]:n.level==="inline"&&(e.startInline?e.startInline.push(n.start):e.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(e.childTokens[n.name]=n.childTokens)}),a.extensions=e),s.renderer){let n=this.defaults.renderer||new To(this.defaults);for(let r in s.renderer){if(!(r in n))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let o=r,u=s.renderer[o],l=n[o];n[o]=(...d)=>{let c=u.apply(n,d);return c===!1&&(c=l.apply(n,d)),c||""}}a.renderer=n}if(s.tokenizer){let n=this.defaults.tokenizer||new zo(this.defaults);for(let r in s.tokenizer){if(!(r in n))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let o=r,u=s.tokenizer[o],l=n[o];n[o]=(...d)=>{let c=u.apply(n,d);return c===!1&&(c=l.apply(n,d)),c}}a.tokenizer=n}if(s.hooks){let n=this.defaults.hooks||new xn;for(let r in s.hooks){if(!(r in n))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let o=r,u=s.hooks[o],l=n[o];xn.passThroughHooks.has(r)?n[o]=d=>{if(this.defaults.async&&xn.passThroughHooksRespectAsync.has(r))return(async()=>{let b=await u.call(n,d);return l.call(n,b)})();let c=u.call(n,d);return l.call(n,c)}:n[o]=(...d)=>{if(this.defaults.async)return(async()=>{let b=await u.apply(n,d);return b===!1&&(b=await l.apply(n,d)),b})();let c=u.apply(n,d);return c===!1&&(c=l.apply(n,d)),c}}a.hooks=n}if(s.walkTokens){let n=this.defaults.walkTokens,r=s.walkTokens;a.walkTokens=function(o){let u=[];return u.push(r.call(this,o)),n&&(u=u.concat(n.call(this,o))),u}}this.defaults={...this.defaults,...a}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return Ri.lex(t,e??this.defaults)}parser(t,e){return Oi.parse(t,e??this.defaults)}parseMarkdown(t){return(e,s)=>{let a={...s},n={...this.defaults,...a},r=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&a.async===!1)return r(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=t),n.async)return(async()=>{let o=n.hooks?await n.hooks.preprocess(e):e,u=await(n.hooks?await n.hooks.provideLexer():t?Ri.lex:Ri.lexInline)(o,n),l=n.hooks?await n.hooks.processAllTokens(u):u;n.walkTokens&&await Promise.all(this.walkTokens(l,n.walkTokens));let d=await(n.hooks?await n.hooks.provideParser():t?Oi.parse:Oi.parseInline)(l,n);return n.hooks?await n.hooks.postprocess(d):d})().catch(r);try{n.hooks&&(e=n.hooks.preprocess(e));let o=(n.hooks?n.hooks.provideLexer():t?Ri.lex:Ri.lexInline)(e,n);n.hooks&&(o=n.hooks.processAllTokens(o)),n.walkTokens&&this.walkTokens(o,n.walkTokens);let u=(n.hooks?n.hooks.provideParser():t?Oi.parse:Oi.parseInline)(o,n);return n.hooks&&(u=n.hooks.postprocess(u)),u}catch(o){return r(o)}}}onError(t,e){return s=>{if(s.message+=`
|
|
60
|
+
Please report this to https://github.com/markedjs/marked.`,t){let a="<p>An error occurred:</p><pre>"+bs(s.message+"",!0)+"</pre>";return e?Promise.resolve(a):a}if(e)return Promise.reject(s);throw s}}},ga=new fy;function ie(t,e){return ga.parse(t,e)}ie.options=ie.setOptions=function(t){return ga.setOptions(t),ie.defaults=ga.defaults,zf(ie.defaults),ie};ie.getDefaults=Gd;ie.defaults=Sa;ie.use=function(...t){return ga.use(...t),ie.defaults=ga.defaults,zf(ie.defaults),ie};ie.walkTokens=function(t,e){return ga.walkTokens(t,e)};ie.parseInline=ga.parseInline;ie.Parser=Oi;ie.parser=Oi.parse;ie.Renderer=To;ie.TextRenderer=Yd;ie.Lexer=Ri;ie.lexer=Ri.lex;ie.Tokenizer=zo;ie.Hooks=xn;ie.parse=ie;ie.options;ie.setOptions;ie.use;ie.walkTokens;ie.parseInline;Oi.parse;Ri.lex;const Vn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Rf=Object.create(null);for(const t in Vn)Object.hasOwn(Vn,t)&&(Rf[Vn[t]]=t);const De={to:{},get:{}};De.get=function(t){const e=t.slice(0,3).toLowerCase();let s,a;switch(e){case"hsl":{s=De.get.hsl(t),a="hsl";break}case"hwb":{s=De.get.hwb(t),a="hwb";break}default:{s=De.get.rgb(t),a="rgb";break}}return s?{model:a,value:s}:null};De.get.rgb=function(t){if(!t)return null;const e=/^#([a-f\d]{3,4})$/i,s=/^#([a-f\d]{6})([a-f\d]{2})?$/i,a=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,n=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,r=/^(\w+)$/;let o=[0,0,0,1],u,l,d;if(u=t.match(s)){for(d=u[2],u=u[1],l=0;l<3;l++){const c=l*2;o[l]=Number.parseInt(u.slice(c,c+2),16)}d&&(o[3]=Number.parseInt(d,16)/255)}else if(u=t.match(e)){for(u=u[1],d=u[3],l=0;l<3;l++)o[l]=Number.parseInt(u[l]+u[l],16);d&&(o[3]=Number.parseInt(d+d,16)/255)}else if(u=t.match(a)){for(l=0;l<3;l++)o[l]=Number.parseFloat(u[l+1]);u[4]&&(o[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else if(u=t.match(n)){for(l=0;l<3;l++)o[l]=Math.round(Number.parseFloat(u[l+1])*2.55);u[4]&&(o[3]=u[5]?Number.parseFloat(u[4])*.01:Number.parseFloat(u[4]))}else return(u=t.toLowerCase().match(r))?u[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Vn,u[1])?(o=Vn[u[1]].slice(),o[3]=1,o):null:null;for(l=0;l<3;l++)o[l]=Hs(o[l],0,255);return o[3]=Hs(o[3],0,1),o};De.get.hsl=function(t){if(!t)return null;const e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,s=t.match(e);if(s){const a=Number.parseFloat(s[4]),n=(Number.parseFloat(s[1])%360+360)%360,r=Hs(Number.parseFloat(s[2]),0,100),o=Hs(Number.parseFloat(s[3]),0,100),u=Hs(Number.isNaN(a)?1:a,0,1);return[n,r,o,u]}return null};De.get.hwb=function(t){if(!t)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,s=t.match(e);if(s){const a=Number.parseFloat(s[4]),n=(Number.parseFloat(s[1])%360+360)%360,r=Hs(Number.parseFloat(s[2]),0,100),o=Hs(Number.parseFloat(s[3]),0,100),u=Hs(Number.isNaN(a)?1:a,0,1);return[n,r,o,u]}return null};De.to.hex=function(...t){return"#"+Rr(t[0])+Rr(t[1])+Rr(t[2])+(t[3]<1?Rr(Math.round(t[3]*255)):"")};De.to.rgb=function(...t){return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};De.to.rgb.percent=function(...t){const e=Math.round(t[0]/255*100),s=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+s+"%, "+a+"%)":"rgba("+e+"%, "+s+"%, "+a+"%, "+t[3]+")"};De.to.hsl=function(...t){return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};De.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};De.to.keyword=function(...t){return Rf[t.slice(0,3)]};function Hs(t,e,s){return Math.min(Math.max(e,t),s)}function Rr(t){const e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}const Jn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Of={};for(const t of Object.keys(Jn))Of[Jn[t]]=t;const gt={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},ks=(6/29)**3;function Qa(t){const e=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,e),1)}function Ja(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(const t of Object.keys(gt)){if(!("channels"in gt[t]))throw new Error("missing channels property: "+t);if(!("labels"in gt[t]))throw new Error("missing channel labels property: "+t);if(gt[t].labels.length!==gt[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:s}=gt[t];delete gt[t].channels,delete gt[t].labels,Object.defineProperty(gt[t],"channels",{value:e}),Object.defineProperty(gt[t],"labels",{value:s})}gt.rgb.hsl=function(t){const e=t[0]/255,s=t[1]/255,a=t[2]/255,n=Math.min(e,s,a),r=Math.max(e,s,a),o=r-n;let u,l;switch(r){case n:{u=0;break}case e:{u=(s-a)/o;break}case s:{u=2+(a-e)/o;break}case a:{u=4+(e-s)/o;break}}u=Math.min(u*60,360),u<0&&(u+=360);const d=(n+r)/2;return r===n?l=0:d<=.5?l=o/(r+n):l=o/(2-r-n),[u,l*100,d*100]};gt.rgb.hsv=function(t){let e,s,a,n,r;const o=t[0]/255,u=t[1]/255,l=t[2]/255,d=Math.max(o,u,l),c=d-Math.min(o,u,l),b=function(p){return(d-p)/6/c+1/2};if(c===0)n=0,r=0;else{switch(r=c/d,e=b(o),s=b(u),a=b(l),d){case o:{n=a-s;break}case u:{n=1/3+e-a;break}case l:{n=2/3+s-e;break}}n<0?n+=1:n>1&&(n-=1)}return[n*360,r*100,d*100]};gt.rgb.hwb=function(t){const e=t[0],s=t[1];let a=t[2];const n=gt.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(s,a));return a=1-1/255*Math.max(e,Math.max(s,a)),[n,r*100,a*100]};gt.rgb.oklab=function(t){const e=Ja(t[0]/255),s=Ja(t[1]/255),a=Ja(t[2]/255),n=Math.cbrt(.4122214708*e+.5363325363*s+.0514459929*a),r=Math.cbrt(.2119034982*e+.6806995451*s+.1073969566*a),o=Math.cbrt(.0883024619*e+.2817188376*s+.6299787005*a),u=.2104542553*n+.793617785*r-.0040720468*o,l=1.9779984951*n-2.428592205*r+.4505937099*o,d=.0259040371*n+.7827717662*r-.808675766*o;return[u*100,l*100,d*100]};gt.rgb.cmyk=function(t){const e=t[0]/255,s=t[1]/255,a=t[2]/255,n=Math.min(1-e,1-s,1-a),r=(1-e-n)/(1-n)||0,o=(1-s-n)/(1-n)||0,u=(1-a-n)/(1-n)||0;return[r*100,o*100,u*100,n*100]};function vy(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}gt.rgb.keyword=function(t){const e=Of[t];if(e)return e;let s=Number.POSITIVE_INFINITY,a;for(const n of Object.keys(Jn)){const r=Jn[n],o=vy(t,r);o<s&&(s=o,a=n)}return a};gt.keyword.rgb=function(t){return[...Jn[t]]};gt.rgb.xyz=function(t){const e=Ja(t[0]/255),s=Ja(t[1]/255),a=Ja(t[2]/255),n=e*.4124564+s*.3575761+a*.1804375,r=e*.2126729+s*.7151522+a*.072175,o=e*.0193339+s*.119192+a*.9503041;return[n*100,r*100,o*100]};gt.rgb.lab=function(t){const e=gt.rgb.xyz(t);let s=e[0],a=e[1],n=e[2];s/=95.047,a/=100,n/=108.883,s=s>ks?s**(1/3):7.787*s+16/116,a=a>ks?a**(1/3):7.787*a+16/116,n=n>ks?n**(1/3):7.787*n+16/116;const r=116*a-16,o=500*(s-a),u=200*(a-n);return[r,o,u]};gt.hsl.rgb=function(t){const e=t[0]/360,s=t[1]/100,a=t[2]/100;let n,r;if(s===0)return r=a*255,[r,r,r];const o=a<.5?a*(1+s):a+s-a*s,u=2*a-o,l=[0,0,0];for(let d=0;d<3;d++)n=e+1/3*-(d-1),n<0&&n++,n>1&&n--,6*n<1?r=u+(o-u)*6*n:2*n<1?r=o:3*n<2?r=u+(o-u)*(2/3-n)*6:r=u,l[d]=r*255;return l};gt.hsl.hsv=function(t){const e=t[0];let s=t[1]/100,a=t[2]/100,n=s;const r=Math.max(a,.01);a*=2,s*=a<=1?a:2-a,n*=r<=1?r:2-r;const o=(a+s)/2,u=a===0?2*n/(r+n):2*s/(a+s);return[e,u*100,o*100]};gt.hsv.rgb=function(t){const e=t[0]/60,s=t[1]/100;let a=t[2]/100;const n=Math.floor(e)%6,r=e-Math.floor(e),o=255*a*(1-s),u=255*a*(1-s*r),l=255*a*(1-s*(1-r));switch(a*=255,n){case 0:return[a,l,o];case 1:return[u,a,o];case 2:return[o,a,l];case 3:return[o,u,a];case 4:return[l,o,a];case 5:return[a,o,u]}};gt.hsv.hsl=function(t){const e=t[0],s=t[1]/100,a=t[2]/100,n=Math.max(a,.01);let r,o;o=(2-s)*a;const u=(2-s)*n;return r=s*n,r/=u<=1?u:2-u,r=r||0,o/=2,[e,r*100,o*100]};gt.hwb.rgb=function(t){const e=t[0]/360;let s=t[1]/100,a=t[2]/100;const n=s+a;let r;n>1&&(s/=n,a/=n);const o=Math.floor(6*e),u=1-a;r=6*e-o,(o&1)!==0&&(r=1-r);const l=s+r*(u-s);let d,c,b;switch(o){default:case 6:case 0:{d=u,c=l,b=s;break}case 1:{d=l,c=u,b=s;break}case 2:{d=s,c=u,b=l;break}case 3:{d=s,c=l,b=u;break}case 4:{d=l,c=s,b=u;break}case 5:{d=u,c=s,b=l;break}}return[d*255,c*255,b*255]};gt.cmyk.rgb=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=t[3]/100,r=1-Math.min(1,e*(1-n)+n),o=1-Math.min(1,s*(1-n)+n),u=1-Math.min(1,a*(1-n)+n);return[r*255,o*255,u*255]};gt.xyz.rgb=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100;let n,r,o;return n=e*3.2404542+s*-1.5371385+a*-.4985314,r=e*-.969266+s*1.8760108+a*.041556,o=e*.0556434+s*-.2040259+a*1.0572252,n=Qa(n),r=Qa(r),o=Qa(o),[n*255,r*255,o*255]};gt.xyz.lab=function(t){let e=t[0],s=t[1],a=t[2];e/=95.047,s/=100,a/=108.883,e=e>ks?e**(1/3):7.787*e+16/116,s=s>ks?s**(1/3):7.787*s+16/116,a=a>ks?a**(1/3):7.787*a+16/116;const n=116*s-16,r=500*(e-s),o=200*(s-a);return[n,r,o]};gt.xyz.oklab=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=Math.cbrt(.8189330101*e+.3618667424*s-.1288597137*a),r=Math.cbrt(.0329845436*e+.9293118715*s+.0361456387*a),o=Math.cbrt(.0482003018*e+.2643662691*s+.633851707*a),u=.2104542553*n+.793617785*r-.0040720468*o,l=1.9779984951*n-2.428592205*r+.4505937099*o,d=.0259040371*n+.7827717662*r-.808675766*o;return[u*100,l*100,d*100]};gt.oklab.oklch=function(t){return gt.lab.lch(t)};gt.oklab.xyz=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=(.999999998*e+.396337792*s+.215803758*a)**3,r=(1.000000008*e-.105561342*s-.063854175*a)**3,o=(1.000000055*e-.089484182*s-1.291485538*a)**3,u=1.227013851*n-.55779998*r+.281256149*o,l=-.040580178*n+1.11225687*r-.071676679*o,d=-.076381285*n-.421481978*r+1.58616322*o;return[u*100,l*100,d*100]};gt.oklab.rgb=function(t){const e=t[0]/100,s=t[1]/100,a=t[2]/100,n=(e+.3963377774*s+.2158037573*a)**3,r=(e-.1055613458*s-.0638541728*a)**3,o=(e-.0894841775*s-1.291485548*a)**3,u=Qa(4.0767416621*n-3.3077115913*r+.2309699292*o),l=Qa(-1.2684380046*n+2.6097574011*r-.3413193965*o),d=Qa(-.0041960863*n-.7034186147*r+1.707614701*o);return[u*255,l*255,d*255]};gt.oklch.oklab=function(t){return gt.lch.lab(t)};gt.lab.xyz=function(t){const e=t[0],s=t[1],a=t[2];let n,r,o;r=(e+16)/116,n=s/500+r,o=r-a/200;const u=r**3,l=n**3,d=o**3;return r=u>ks?u:(r-16/116)/7.787,n=l>ks?l:(n-16/116)/7.787,o=d>ks?d:(o-16/116)/7.787,n*=95.047,r*=100,o*=108.883,[n,r,o]};gt.lab.lch=function(t){const e=t[0],s=t[1],a=t[2];let n;n=Math.atan2(a,s)*360/2/Math.PI,n<0&&(n+=360);const o=Math.sqrt(s*s+a*a);return[e,o,n]};gt.lch.lab=function(t){const e=t[0],s=t[1],n=t[2]/360*2*Math.PI,r=s*Math.cos(n),o=s*Math.sin(n);return[e,r,o]};gt.rgb.ansi16=function(t,e=null){const[s,a,n]=t;let r=e===null?gt.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),r===0)return 30;let o=30+(Math.round(n/255)<<2|Math.round(a/255)<<1|Math.round(s/255));return r===2&&(o+=60),o};gt.hsv.ansi16=function(t){return gt.rgb.ansi16(gt.hsv.rgb(t),t[2])};gt.rgb.ansi256=function(t){const e=t[0],s=t[1],a=t[2];return e>>4===s>>4&&s>>4===a>>4?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(s/255*5)+Math.round(a/255*5)};gt.ansi16.rgb=function(t){t=t[0];let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const s=(Math.trunc(t>50)+1)*.5,a=(e&1)*s*255,n=(e>>1&1)*s*255,r=(e>>2&1)*s*255;return[a,n,r]};gt.ansi256.rgb=function(t){if(t=t[0],t>=232){const r=(t-232)*10+8;return[r,r,r]}t-=16;let e;const s=Math.floor(t/36)/5*255,a=Math.floor((e=t%36)/6)/5*255,n=e%6/5*255;return[s,a,n]};gt.rgb.hex=function(t){const s=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".slice(s.length)+s};gt.hex.rgb=function(t){const e=t.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!e)return[0,0,0];let s=e[0];e[0].length===3&&(s=[...s].map(u=>u+u).join(""));const a=Number.parseInt(s,16),n=a>>16&255,r=a>>8&255,o=a&255;return[n,r,o]};gt.rgb.hcg=function(t){const e=t[0]/255,s=t[1]/255,a=t[2]/255,n=Math.max(Math.max(e,s),a),r=Math.min(Math.min(e,s),a),o=n-r;let u;const l=o<1?r/(1-o):0;return o<=0?u=0:n===e?u=(s-a)/o%6:n===s?u=2+(a-e)/o:u=4+(e-s)/o,u/=6,u%=1,[u*360,o*100,l*100]};gt.hsl.hcg=function(t){const e=t[1]/100,s=t[2]/100,a=s<.5?2*e*s:2*e*(1-s);let n=0;return a<1&&(n=(s-.5*a)/(1-a)),[t[0],a*100,n*100]};gt.hsv.hcg=function(t){const e=t[1]/100,s=t[2]/100,a=e*s;let n=0;return a<1&&(n=(s-a)/(1-a)),[t[0],a*100,n*100]};gt.hcg.rgb=function(t){const e=t[0]/360,s=t[1]/100,a=t[2]/100;if(s===0)return[a*255,a*255,a*255];const n=[0,0,0],r=e%1*6,o=r%1,u=1-o;let l=0;switch(Math.floor(r)){case 0:{n[0]=1,n[1]=o,n[2]=0;break}case 1:{n[0]=u,n[1]=1,n[2]=0;break}case 2:{n[0]=0,n[1]=1,n[2]=o;break}case 3:{n[0]=0,n[1]=u,n[2]=1;break}case 4:{n[0]=o,n[1]=0,n[2]=1;break}default:n[0]=1,n[1]=0,n[2]=u}return l=(1-s)*a,[(s*n[0]+l)*255,(s*n[1]+l)*255,(s*n[2]+l)*255]};gt.hcg.hsv=function(t){const e=t[1]/100,s=t[2]/100,a=e+s*(1-e);let n=0;return a>0&&(n=e/a),[t[0],n*100,a*100]};gt.hcg.hsl=function(t){const e=t[1]/100,a=t[2]/100*(1-e)+.5*e;let n=0;return a>0&&a<.5?n=e/(2*a):a>=.5&&a<1&&(n=e/(2*(1-a))),[t[0],n*100,a*100]};gt.hcg.hwb=function(t){const e=t[1]/100,s=t[2]/100,a=e+s*(1-e);return[t[0],(a-e)*100,(1-a)*100]};gt.hwb.hcg=function(t){const e=t[1]/100,a=1-t[2]/100,n=a-e;let r=0;return n<1&&(r=(a-n)/(1-n)),[t[0],n*100,r*100]};gt.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};gt.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};gt.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};gt.gray.hsl=function(t){return[0,0,t[0]]};gt.gray.hsv=gt.gray.hsl;gt.gray.hwb=function(t){return[0,100,t[0]]};gt.gray.cmyk=function(t){return[0,0,0,t[0]]};gt.gray.lab=function(t){return[t[0],0,0]};gt.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255,a=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(a.length)+a};gt.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function gy(){const t={},e=Object.keys(gt);for(let{length:s}=e,a=0;a<s;a++)t[e[a]]={distance:-1,parent:null};return t}function _y(t){const e=gy(),s=[t];for(e[t].distance=0;s.length>0;){const a=s.pop(),n=Object.keys(gt[a]);for(let{length:r}=n,o=0;o<r;o++){const u=n[o],l=e[u];l.distance===-1&&(l.distance=e[a].distance+1,l.parent=a,s.unshift(u))}}return e}function hy(t,e){return function(s){return e(t(s))}}function yy(t,e){const s=[e[t].parent,t];let a=gt[e[t].parent][t],n=e[t].parent;for(;e[n].parent;)s.unshift(e[n].parent),a=hy(gt[e[n].parent][n],a),n=e[n].parent;return a.conversion=s,a}function ky(t){const e=_y(t),s={},a=Object.keys(e);for(let{length:n}=a,r=0;r<n;r++){const o=a[r];e[o].parent!==null&&(s[o]=yy(o,e))}return s}const Ne={},wy=Object.keys(gt);function Sy(t){const e=function(...s){const a=s[0];return a==null?a:(a.length>1&&(s=a),t(s))};return"conversion"in t&&(e.conversion=t.conversion),e}function Ay(t){const e=function(...s){const a=s[0];if(a==null)return a;a.length>1&&(s=a);const n=t(s);if(typeof n=="object")for(let{length:r}=n,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}for(const t of wy){Ne[t]={},Object.defineProperty(Ne[t],"channels",{value:gt[t].channels}),Object.defineProperty(Ne[t],"labels",{value:gt[t].labels});const e=ky(t),s=Object.keys(e);for(const a of s){const n=e[a];Ne[t][a]=Ay(n),Ne[t][a].raw=Sy(n)}}const Nf=["keyword","gray","hex"],Mu={};for(const t of Object.keys(Ne))Mu[[...Ne[t].labels].sort().join("")]=t;const xu={};function xe(t,e){if(!(this instanceof xe))return new xe(t,e);if(e&&e in Nf&&(e=null),e&&!(e in Ne))throw new Error("Unknown model: "+e);let s,a;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof xe)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const n=De.get(t);if(n===null)throw new Error("Unable to parse color from string: "+t);this.model=n.model,a=Ne[this.model].channels,this.color=n.value.slice(0,a),this.valpha=typeof n.value[a]=="number"?n.value[a]:1}else if(t.length>0){this.model=e||"rgb",a=Ne[this.model].channels;const n=Array.prototype.slice.call(t,0,a);this.color=Iu(n,a),this.valpha=typeof t[a]=="number"?t[a]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;const n=Object.keys(t);"alpha"in t&&(n.splice(n.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);const r=n.sort().join("");if(!(r in Mu))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Mu[r];const{labels:o}=Ne[this.model],u=[];for(s=0;s<o.length;s++)u.push(t[o[s]]);this.color=Iu(u)}if(xu[this.model])for(a=Ne[this.model].channels,s=0;s<a;s++){const n=xu[this.model][s];n&&(this.color[s]=n(this.color[s]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}xe.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in De.to?this:this.rgb();e=e.round(typeof t=="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return De.to[e.model](...s)},percentString(t){const e=this.rgb().round(typeof t=="number"?t:1),s=e.valpha===1?e.color:[...e.color,this.valpha];return De.to.rgb.percent(...s)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=Ne[this.model],{labels:s}=Ne[this.model];for(let a=0;a<e;a++)t[s[a]]=this.color[a];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new xe([...this.color.map(Ty(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new xe([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:fe("rgb",0,Ce(255)),green:fe("rgb",1,Ce(255)),blue:fe("rgb",2,Ce(255)),hue:fe(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:fe("hsl",1,Ce(100)),lightness:fe("hsl",2,Ce(100)),saturationv:fe("hsv",1,Ce(100)),value:fe("hsv",2,Ce(100)),chroma:fe("hcg",1,Ce(100)),gray:fe("hcg",2,Ce(100)),white:fe("hwb",1,Ce(100)),wblack:fe("hwb",2,Ce(100)),cyan:fe("cmyk",0,Ce(100)),magenta:fe("cmyk",1,Ce(100)),yellow:fe("cmyk",2,Ce(100)),black:fe("cmyk",3,Ce(100)),x:fe("xyz",0,Ce(95.047)),y:fe("xyz",1,Ce(100)),z:fe("xyz",2,Ce(108.833)),l:fe("lab",0,Ce(100)),a:fe("lab",1),b:fe("lab",2),keyword(t){return t!==void 0?new xe(t):Ne[this.model].keyword(this.color)},hex(t){return t!==void 0?new xe(t):De.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new xe(t);const e=this.rgb().round().color;let s=Math.round(this.valpha*255).toString(16).toUpperCase();return s.length===1&&(s="0"+s),De.to.hex(...e)+s},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color,e=[];for(const[s,a]of t.entries()){const n=a/255;e[s]=n<=.04045?n/12.92:((n+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),s=t.luminosity();return e>s?(e+.05)/(s+.05):(s+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=t[0]*.3+t[1]*.59+t[2]*.11;return xe.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let s=e.color[0];return s=(s+t)%360,s=s<0?360+s:s,e.color[0]=s,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const s=t.rgb(),a=this.rgb(),n=e===void 0?.5:e,r=2*n-1,o=s.alpha()-a.alpha(),u=((r*o===-1?r:(r+o)/(1+r*o))+1)/2,l=1-u;return xe.rgb(u*s.red()+l*a.red(),u*s.green()+l*a.green(),u*s.blue()+l*a.blue(),s.alpha()*n+a.alpha()*(1-n))}};for(const t of Object.keys(Ne)){if(Nf.includes(t))continue;const{channels:e}=Ne[t];xe.prototype[t]=function(...s){return this.model===t?new xe(this):s.length>0?new xe(s,t):new xe([...Py(Ne[this.model][t].raw(this.color)),this.valpha],t)},xe[t]=function(...s){let a=s[0];return typeof a=="number"&&(a=Iu(s,e)),new xe(a,t)}}function zy(t,e){return Number(t.toFixed(e))}function Ty(t){return function(e){return zy(e,t)}}function fe(t,e,s){t=Array.isArray(t)?t:[t];for(const a of t)(xu[a]||=[])[e]=s;return t=t[0],function(a){let n;return a!==void 0?(s&&(a=s(a)),n=this[t](),n.color[e]=a,n):(n=this[t]().color[e],s&&(n=s(n)),n)}}function Ce(t){return function(e){return Math.max(0,Math.min(t,e))}}function Py(t){return Array.isArray(t)?t:[t]}function Iu(t,e){for(let s=0;s<e;s++)typeof t[s]!="number"&&(t[s]=0);return t}var Or=function(t,e){return t<e?-1:t>e?1:0},Mb=function(t){return t.reduce(function(e,s){return e+s},0)},jy=(function(){function t(s){this.colors=s}var e=t.prototype;return e.palette=function(){return this.colors},e.map=function(s){return s},t})(),Cy=(function(){function t(r,o,u){return(r<<10)+(o<<5)+u}function e(r){var o=[],u=!1;function l(){o.sort(r),u=!0}return{push:function(d){o.push(d),u=!1},peek:function(d){return u||l(),d===void 0&&(d=o.length-1),o[d]},pop:function(){return u||l(),o.pop()},size:function(){return o.length},map:function(d){return o.map(d)},debug:function(){return u||l(),o}}}function s(r,o,u,l,d,c,b){var p=this;p.r1=r,p.r2=o,p.g1=u,p.g2=l,p.b1=d,p.b2=c,p.histo=b}function a(){this.vboxes=new e(function(r,o){return Or(r.vbox.count()*r.vbox.volume(),o.vbox.count()*o.vbox.volume())})}function n(r,o){if(o.count()){var u=o.r2-o.r1+1,l=o.g2-o.g1+1,d=Math.max.apply(null,[u,l,o.b2-o.b1+1]);if(o.count()==1)return[o.copy()];var c,b,p,m,g=0,h=[],y=[];if(d==u)for(c=o.r1;c<=o.r2;c++){for(m=0,b=o.g1;b<=o.g2;b++)for(p=o.b1;p<=o.b2;p++)m+=r[t(c,b,p)]||0;h[c]=g+=m}else if(d==l)for(c=o.g1;c<=o.g2;c++){for(m=0,b=o.r1;b<=o.r2;b++)for(p=o.b1;p<=o.b2;p++)m+=r[t(b,c,p)]||0;h[c]=g+=m}else for(c=o.b1;c<=o.b2;c++){for(m=0,b=o.r1;b<=o.r2;b++)for(p=o.g1;p<=o.g2;p++)m+=r[t(b,p,c)]||0;h[c]=g+=m}return h.forEach(function(f,v){y[v]=g-f}),(function(f){var v,_,k,S,z,A=f+"1",w=f+"2",I=0;for(c=o[A];c<=o[w];c++)if(h[c]>g/2){for(k=o.copy(),S=o.copy(),z=(v=c-o[A])<=(_=o[w]-c)?Math.min(o[w]-1,~~(c+_/2)):Math.max(o[A],~~(c-1-v/2));!h[z];)z++;for(I=y[z];!I&&h[z-1];)I=y[--z];return k[w]=z,S[A]=k[w]+1,[k,S]}})(d==u?"r":d==l?"g":"b")}}return s.prototype={volume:function(r){var o=this;return o._volume&&!r||(o._volume=(o.r2-o.r1+1)*(o.g2-o.g1+1)*(o.b2-o.b1+1)),o._volume},count:function(r){var o=this,u=o.histo;if(!o._count_set||r){var l,d,c,b=0;for(l=o.r1;l<=o.r2;l++)for(d=o.g1;d<=o.g2;d++)for(c=o.b1;c<=o.b2;c++)b+=u[t(l,d,c)]||0;o._count=b,o._count_set=!0}return o._count},copy:function(){var r=this;return new s(r.r1,r.r2,r.g1,r.g2,r.b1,r.b2,r.histo)},avg:function(r){var o=this,u=o.histo;if(!o._avg||r){var l,d,c,b,p=0,m=0,g=0,h=0;if(o.r1===o.r2&&o.g1===o.g2&&o.b1===o.b2)o._avg=[o.r1<<3,o.g1<<3,o.b1<<3];else{for(d=o.r1;d<=o.r2;d++)for(c=o.g1;c<=o.g2;c++)for(b=o.b1;b<=o.b2;b++)p+=l=u[t(d,c,b)]||0,m+=l*(d+.5)*8,g+=l*(c+.5)*8,h+=l*(b+.5)*8;o._avg=p?[~~(m/p),~~(g/p),~~(h/p)]:[~~(8*(o.r1+o.r2+1)/2),~~(8*(o.g1+o.g2+1)/2),~~(8*(o.b1+o.b2+1)/2)]}}return o._avg},contains:function(r){var o=this,u=r[0]>>3;return gval=r[1]>>3,bval=r[2]>>3,u>=o.r1&&u<=o.r2&&gval>=o.g1&&gval<=o.g2&&bval>=o.b1&&bval<=o.b2}},a.prototype={push:function(r){this.vboxes.push({vbox:r,color:r.avg()})},palette:function(){return this.vboxes.map(function(r){return r.color})},size:function(){return this.vboxes.size()},map:function(r){for(var o=this.vboxes,u=0;u<o.size();u++)if(o.peek(u).vbox.contains(r))return o.peek(u).color;return this.nearest(r)},nearest:function(r){for(var o,u,l,d=this.vboxes,c=0;c<d.size();c++)((u=Math.sqrt(Math.pow(r[0]-d.peek(c).color[0],2)+Math.pow(r[1]-d.peek(c).color[1],2)+Math.pow(r[2]-d.peek(c).color[2],2)))<o||o===void 0)&&(o=u,l=d.peek(c).color);return l},forcebw:function(){var r=this.vboxes;r.sort(function(d,c){return Or(Mb(d.color),Mb(c.color))});var o=r[0].color;o[0]<5&&o[1]<5&&o[2]<5&&(r[0].color=[0,0,0]);var u=r.length-1,l=r[u].color;l[0]>251&&l[1]>251&&l[2]>251&&(r[u].color=[255,255,255])}},{quantize:function(r,o){if(!Number.isInteger(o)||o<1||o>256)throw new Error("Invalid maximum color count. It must be an integer between 1 and 256.");if(!r.length||o<2||o>256||!r.length||o<2||o>256)return!1;for(var u=[],l=new Set,d=0;d<r.length;d++){var c=r[d],b=c.join(",");l.has(b)||(l.add(b),u.push(c))}if(u.length<=o)return new jy(u);var p=(function(v){var _,k=new Array(32768);return v.forEach(function(S){_=t(S[0]>>3,S[1]>>3,S[2]>>3),k[_]=(k[_]||0)+1}),k})(r);p.forEach(function(){});var m=(function(v,_){var k,S,z,A=1e6,w=0,I=1e6,T=0,D=1e6,j=0;return v.forEach(function(B){(k=B[0]>>3)<A?A=k:k>w&&(w=k),(S=B[1]>>3)<I?I=S:S>T&&(T=S),(z=B[2]>>3)<D?D=z:z>j&&(j=z)}),new s(A,w,I,T,D,j,_)})(r,p),g=new e(function(v,_){return Or(v.count(),_.count())});function h(v,_){for(var k,S=v.size(),z=0;z<1e3;){if(S>=_||z++>1e3)return;if((k=v.pop()).count()){var A=n(p,k),w=A[0],I=A[1];if(!w)return;v.push(w),I&&(v.push(I),S++)}else v.push(k),z++}}g.push(m),h(g,.75*o);for(var y=new e(function(v,_){return Or(v.count()*v.volume(),_.count()*_.volume())});g.size();)y.push(g.pop());h(y,o);for(var f=new a;y.size();)f.push(y.pop());return f}}})().quantize,Bf=function(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.width=this.canvas.width=t.naturalWidth,this.height=this.canvas.height=t.naturalHeight,this.context.drawImage(t,0,0,this.width,this.height)};Bf.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)};var Na=function(){};Na.prototype.getColor=function(t,e){return e===void 0&&(e=10),this.getPalette(t,5,e)[0]},Na.prototype.getPalette=function(t,e,s){var a=(function(u){var l=u.colorCount,d=u.quality;if(l!==void 0&&Number.isInteger(l)){if(l===1)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");l=Math.max(l,2),l=Math.min(l,20)}else l=10;return(d===void 0||!Number.isInteger(d)||d<1)&&(d=10),{colorCount:l,quality:d}})({colorCount:e,quality:s}),n=new Bf(t),r=(function(u,l,d){for(var c,b,p,m,g,h=u,y=[],f=0;f<l;f+=d)b=h[0+(c=4*f)],p=h[c+1],m=h[c+2],((g=h[c+3])===void 0||g>=125)&&(b>250&&p>250&&m>250||y.push([b,p,m]));return y})(n.getImageData().data,n.width*n.height,a.quality),o=Cy(r,a.colorCount);return o?o.palette():null},Na.prototype.getColorFromUrl=function(t,e,s){var a=this,n=document.createElement("img");n.addEventListener("load",function(){var r=a.getPalette(n,5,s);e(r[0],t)}),n.src=t},Na.prototype.getImageData=function(t,e){var s=new XMLHttpRequest;s.open("GET",t,!0),s.responseType="arraybuffer",s.onload=function(){if(this.status==200){var a=new Uint8Array(this.response);i=a.length;for(var n=new Array(i),r=0;r<a.length;r++)n[r]=String.fromCharCode(a[r]);var o=n.join(""),u=window.btoa(o);e("data:image/png;base64,"+u)}},s.send()},Na.prototype.getColorAsync=function(t,e,s){var a=this;this.getImageData(t,function(n){var r=document.createElement("img");r.addEventListener("load",function(){var o=a.getPalette(r,5,s);e(o[0],this)}),r.src=n})};function Ey(t){return{all:t=t||new Map,on:function(e,s){var a=t.get(e);a?a.push(s):t.set(e,[s])},off:function(e,s){var a=t.get(e);a&&(s?a.splice(a.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var a=t.get(e);a&&a.slice().map(function(n){n(s)}),(a=t.get("*"))&&a.slice().map(function(n){n(e,s)})}}}const Di=Ey();const Ba=typeof document<"u";function Ff(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function My(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&Ff(t.default)}const Qt=Object.assign;function Ll(t,e){const s={};for(const a in e){const n=e[a];s[a]=Vi(n)?n.map(t):t(n)}return s}const qn=()=>{},Vi=Array.isArray;function xb(t,e){const s={};for(const a in t)s[a]=a in e?e[a]:t[a];return s}const Gf=/#/g,xy=/&/g,Iy=/\//g,Dy=/=/g,Ly=/\?/g,Vf=/\+/g,Ry=/%5B/g,Oy=/%5D/g,qf=/%5E/g,Ny=/%60/g,Uf=/%7B/g,By=/%7C/g,Hf=/%7D/g,Fy=/%20/g;function Xd(t){return t==null?"":encodeURI(""+t).replace(By,"|").replace(Ry,"[").replace(Oy,"]")}function Gy(t){return Xd(t).replace(Uf,"{").replace(Hf,"}").replace(qf,"^")}function Du(t){return Xd(t).replace(Vf,"%2B").replace(Fy,"+").replace(Gf,"%23").replace(xy,"%26").replace(Ny,"`").replace(Uf,"{").replace(Hf,"}").replace(qf,"^")}function Vy(t){return Du(t).replace(Dy,"%3D")}function qy(t){return Xd(t).replace(Gf,"%23").replace(Ly,"%3F")}function Uy(t){return qy(t).replace(Iy,"%2F")}function tr(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const Hy=/\/$/,Wy=t=>t.replace(Hy,"");function Rl(t,e,s="/"){let a,n={},r="",o="";const u=e.indexOf("#");let l=e.indexOf("?");return l=u>=0&&l>u?-1:l,l>=0&&(a=e.slice(0,l),r=e.slice(l,u>0?u:e.length),n=t(r.slice(1))),u>=0&&(a=a||e.slice(0,u),o=e.slice(u,e.length)),a=Xy(a??e,s),{fullPath:a+r+o,path:a,query:n,hash:tr(o)}}function Ky(t,e){const s=e.query?t(e.query):"";return e.path+(s&&"?")+s+(e.hash||"")}function Ib(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function $y(t,e,s){const a=e.matched.length-1,n=s.matched.length-1;return a>-1&&a===n&&ln(e.matched[a],s.matched[n])&&Wf(e.params,s.params)&&t(e.query)===t(s.query)&&e.hash===s.hash}function ln(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Wf(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(!Yy(t[s],e[s]))return!1;return!0}function Yy(t,e){return Vi(t)?Db(t,e):Vi(e)?Db(e,t):t===e}function Db(t,e){return Vi(e)?t.length===e.length&&t.every((s,a)=>s===e[a]):t.length===1&&t[0]===e}function Xy(t,e){if(t.startsWith("/"))return t;if(!t)return e;const s=e.split("/"),a=t.split("/"),n=a[a.length-1];(n===".."||n===".")&&a.push("");let r=s.length-1,o,u;for(o=0;o<a.length;o++)if(u=a[o],u!==".")if(u==="..")r>1&&r--;else break;return s.slice(0,r).join("/")+"/"+a.slice(o).join("/")}const Ls={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Lu=(function(t){return t.pop="pop",t.push="push",t})({}),Ol=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function Zy(t){if(!t)if(Ba){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Wy(t)}const Qy=/^[^#]+#/;function Jy(t,e){return t.replace(Qy,"#")+e}function tk(t,e){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:e.behavior,left:a.left-s.left-(e.left||0),top:a.top-s.top-(e.top||0)}}const ol=()=>({left:window.scrollX,top:window.scrollY});function ek(t){let e;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),n=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!n)return;e=tk(n,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Lb(t,e){return(history.state?history.state.position-e:-1)+t}const Ru=new Map;function ik(t,e){Ru.set(t,e)}function sk(t){const e=Ru.get(t);return Ru.delete(t),e}function ak(t){return typeof t=="string"||t&&typeof t=="object"}function Kf(t){return typeof t=="string"||typeof t=="symbol"}let ve=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const $f=Symbol("");ve.MATCHER_NOT_FOUND+"",ve.NAVIGATION_GUARD_REDIRECT+"",ve.NAVIGATION_ABORTED+"",ve.NAVIGATION_CANCELLED+"",ve.NAVIGATION_DUPLICATED+"";function un(t,e){return Qt(new Error,{type:t,[$f]:!0},e)}function us(t,e){return t instanceof Error&&$f in t&&(e==null||!!(t.type&e))}const nk=["params","query","hash"];function rk(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const s of nk)s in t&&(e[s]=t[s]);return JSON.stringify(e,null,2)}function ok(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;a<s.length;++a){const n=s[a].replace(Vf," "),r=n.indexOf("="),o=tr(r<0?n:n.slice(0,r)),u=r<0?null:tr(n.slice(r+1));if(o in e){let l=e[o];Vi(l)||(l=e[o]=[l]),l.push(u)}else e[o]=u}return e}function Rb(t){let e="";for(let s in t){const a=t[s];if(s=Vy(s),a==null){a!==void 0&&(e+=(e.length?"&":"")+s);continue}(Vi(a)?a.map(n=>n&&Du(n)):[a&&Du(a)]).forEach(n=>{n!==void 0&&(e+=(e.length?"&":"")+s,n!=null&&(e+="="+n))})}return e}function lk(t){const e={};for(const s in t){const a=t[s];a!==void 0&&(e[s]=Vi(a)?a.map(n=>n==null?null:""+n):a==null?a:""+a)}return e}const uk=Symbol(""),Ob=Symbol(""),ll=Symbol(""),Zd=Symbol(""),Ou=Symbol("");function Sn(){let t=[];function e(a){return t.push(a),()=>{const n=t.indexOf(a);n>-1&&t.splice(n,1)}}function s(){t=[]}return{add:e,list:()=>t.slice(),reset:s}}function Gs(t,e,s,a,n,r=o=>o()){const o=a&&(a.enterCallbacks[n]=a.enterCallbacks[n]||[]);return()=>new Promise((u,l)=>{const d=p=>{p===!1?l(un(ve.NAVIGATION_ABORTED,{from:s,to:e})):p instanceof Error?l(p):ak(p)?l(un(ve.NAVIGATION_GUARD_REDIRECT,{from:e,to:p})):(o&&a.enterCallbacks[n]===o&&typeof p=="function"&&o.push(p),u())},c=r(()=>t.call(a&&a.instances[n],e,s,d));let b=Promise.resolve(c);t.length<3&&(b=b.then(d)),b.catch(p=>l(p))})}function Nl(t,e,s,a,n=r=>r()){const r=[];for(const o of t)for(const u in o.components){let l=o.components[u];if(!(e!=="beforeRouteEnter"&&!o.instances[u]))if(Ff(l)){const d=(l.__vccOpts||l)[e];d&&r.push(Gs(d,s,a,o,u,n))}else{let d=l();r.push(()=>d.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${u}" at "${o.path}"`);const b=My(c)?c.default:c;o.mods[u]=c,o.components[u]=b;const p=(b.__vccOpts||b)[e];return p&&Gs(p,s,a,o,u,n)()}))}}return r}function dk(t,e){const s=[],a=[],n=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const u=e.matched[o];u&&(t.matched.find(d=>ln(d,u))?a.push(u):s.push(u));const l=t.matched[o];l&&(e.matched.find(d=>ln(d,l))||n.push(l))}return[s,a,n]}let ck=()=>location.protocol+"//"+location.host;function Yf(t,e){const{pathname:s,search:a,hash:n}=e,r=t.indexOf("#");if(r>-1){let o=n.includes(t.slice(r))?t.slice(r).length:1,u=n.slice(o);return u[0]!=="/"&&(u="/"+u),Ib(u,"")}return Ib(s,t)+a+n}function bk(t,e,s,a){let n=[],r=[],o=null;const u=({state:p})=>{const m=Yf(t,location),g=s.value,h=e.value;let y=0;if(p){if(s.value=m,e.value=p,o&&o===g){o=null;return}y=h?p.position-h.position:0}else a(m);n.forEach(f=>{f(s.value,g,{delta:y,type:Lu.pop,direction:y?y>0?Ol.forward:Ol.back:Ol.unknown})})};function l(){o=s.value}function d(p){n.push(p);const m=()=>{const g=n.indexOf(p);g>-1&&n.splice(g,1)};return r.push(m),m}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Qt({},p.state,{scroll:ol()}),"")}}function b(){for(const p of r)p();r=[],window.removeEventListener("popstate",u),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",u),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:d,destroy:b}}function Nb(t,e,s,a=!1,n=!1){return{back:t,current:e,forward:s,replaced:a,position:window.history.length,scroll:n?ol():null}}function pk(t){const{history:e,location:s}=window,a={value:Yf(t,s)},n={value:e.state};n.value||r(a.value,{back:null,current:a.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,d,c){const b=t.indexOf("#"),p=b>-1?(s.host&&document.querySelector("base")?t:t.slice(b))+l:ck()+t+l;try{e[c?"replaceState":"pushState"](d,"",p),n.value=d}catch(m){console.error(m),s[c?"replace":"assign"](p)}}function o(l,d){r(l,Qt({},e.state,Nb(n.value.back,l,n.value.forward,!0),d,{position:n.value.position}),!0),a.value=l}function u(l,d){const c=Qt({},n.value,e.state,{forward:l,scroll:ol()});r(c.current,c,!0),r(l,Qt({},Nb(a.value,l,null),{position:c.position+1},d),!1),a.value=l}return{location:a,state:n,push:u,replace:o}}function mk(t){t=Zy(t);const e=pk(t),s=bk(t,e.state,e.location,e.replace);function a(r,o=!0){o||s.pauseListeners(),history.go(r)}const n=Qt({location:"",base:t,go:a,createHref:Jy.bind(null,t)},e,s);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>e.state.value}),n}function fk(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),mk(t)}let ua=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var Ee=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(Ee||{});const vk={type:ua.Static,value:""},gk=/[a-zA-Z0-9_]/;function _k(t){if(!t)return[[]];if(t==="/")return[[vk]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${s})/"${d}": ${m}`)}let s=Ee.Static,a=s;const n=[];let r;function o(){r&&n.push(r),r=[]}let u=0,l,d="",c="";function b(){d&&(s===Ee.Static?r.push({type:ua.Static,value:d}):s===Ee.Param||s===Ee.ParamRegExp||s===Ee.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:ua.Param,value:d,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),d="")}function p(){d+=l}for(;u<t.length;){if(l=t[u++],l==="\\"&&s!==Ee.ParamRegExp){a=s,s=Ee.EscapeNext;continue}switch(s){case Ee.Static:l==="/"?(d&&b(),o()):l===":"?(b(),s=Ee.Param):p();break;case Ee.EscapeNext:p(),s=a;break;case Ee.Param:l==="("?s=Ee.ParamRegExp:gk.test(l)?p():(b(),s=Ee.Static,l!=="*"&&l!=="?"&&l!=="+"&&u--);break;case Ee.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:s=Ee.ParamRegExpEnd:c+=l;break;case Ee.ParamRegExpEnd:b(),s=Ee.Static,l!=="*"&&l!=="?"&&l!=="+"&&u--,c="";break;default:e("Unknown state");break}}return s===Ee.ParamRegExp&&e(`Unfinished custom RegExp for param "${d}"`),b(),o(),n}const Bb="[^/]+?",hk={sensitive:!1,strict:!1,start:!0,end:!0};var si=(function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t})(si||{});const yk=/[.+*?^${}()[\]/\\]/g;function kk(t,e){const s=Qt({},hk,e),a=[];let n=s.start?"^":"";const r=[];for(const d of t){const c=d.length?[]:[si.Root];s.strict&&!d.length&&(n+="/");for(let b=0;b<d.length;b++){const p=d[b];let m=si.Segment+(s.sensitive?si.BonusCaseSensitive:0);if(p.type===ua.Static)b||(n+="/"),n+=p.value.replace(yk,"\\$&"),m+=si.Static;else if(p.type===ua.Param){const{value:g,repeatable:h,optional:y,regexp:f}=p;r.push({name:g,repeatable:h,optional:y});const v=f||Bb;if(v!==Bb){m+=si.BonusCustomRegExp;try{`${v}`}catch(k){throw new Error(`Invalid custom RegExp for param "${g}" (${v}): `+k.message)}}let _=h?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;b||(_=y&&d.length<2?`(?:/${_})`:"/"+_),y&&(_+="?"),n+=_,m+=si.Dynamic,y&&(m+=si.BonusOptional),h&&(m+=si.BonusRepeatable),v===".*"&&(m+=si.BonusWildcard)}c.push(m)}a.push(c)}if(s.strict&&s.end){const d=a.length-1;a[d][a[d].length-1]+=si.BonusStrict}s.strict||(n+="/?"),s.end?n+="$":s.strict&&!n.endsWith("/")&&(n+="(?:/|$)");const o=new RegExp(n,s.sensitive?"":"i");function u(d){const c=d.match(o),b={};if(!c)return null;for(let p=1;p<c.length;p++){const m=c[p]||"",g=r[p-1];b[g.name]=m&&g.repeatable?m.split("/"):m}return b}function l(d){let c="",b=!1;for(const p of t){(!b||!c.endsWith("/"))&&(c+="/"),b=!1;for(const m of p)if(m.type===ua.Static)c+=m.value;else if(m.type===ua.Param){const{value:g,repeatable:h,optional:y}=m,f=g in d?d[g]:"";if(Vi(f)&&!h)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const v=Vi(f)?f.join("/"):f;if(!v)if(y)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):b=!0);else throw new Error(`Missing required param "${g}"`);c+=v}}return c||"/"}return{re:o,score:a,keys:r,parse:u,stringify:l}}function wk(t,e){let s=0;for(;s<t.length&&s<e.length;){const a=e[s]-t[s];if(a)return a;s++}return t.length<e.length?t.length===1&&t[0]===si.Static+si.Segment?-1:1:t.length>e.length?e.length===1&&e[0]===si.Static+si.Segment?1:-1:0}function Xf(t,e){let s=0;const a=t.score,n=e.score;for(;s<a.length&&s<n.length;){const r=wk(a[s],n[s]);if(r)return r;s++}if(Math.abs(n.length-a.length)===1){if(Fb(a))return 1;if(Fb(n))return-1}return n.length-a.length}function Fb(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const Sk={strict:!1,end:!0,sensitive:!1};function Ak(t,e,s){const a=kk(_k(t.path),s),n=Qt(a,{record:t,parent:e,children:[],alias:[]});return e&&!n.record.aliasOf==!e.record.aliasOf&&e.children.push(n),n}function zk(t,e){const s=[],a=new Map;e=xb(Sk,e);function n(b){return a.get(b)}function r(b,p,m){const g=!m,h=Vb(b);h.aliasOf=m&&m.record;const y=xb(e,b),f=[h];if("alias"in b){const k=typeof b.alias=="string"?[b.alias]:b.alias;for(const S of k)f.push(Vb(Qt({},h,{components:m?m.record.components:h.components,path:S,aliasOf:m?m.record:h})))}let v,_;for(const k of f){const{path:S}=k;if(p&&S[0]!=="/"){const z=p.record.path,A=z[z.length-1]==="/"?"":"/";k.path=p.record.path+(S&&A+S)}if(v=Ak(k,p,y),m?m.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),g&&b.name&&!qb(v)&&o(b.name)),Zf(v)&&l(v),h.children){const z=h.children;for(let A=0;A<z.length;A++)r(z[A],v,m&&m.children[A])}m=m||v}return _?()=>{o(_)}:qn}function o(b){if(Kf(b)){const p=a.get(b);p&&(a.delete(b),s.splice(s.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=s.indexOf(b);p>-1&&(s.splice(p,1),b.record.name&&a.delete(b.record.name),b.children.forEach(o),b.alias.forEach(o))}}function u(){return s}function l(b){const p=jk(b,s);s.splice(p,0,b),b.record.name&&!qb(b)&&a.set(b.record.name,b)}function d(b,p){let m,g={},h,y;if("name"in b&&b.name){if(m=a.get(b.name),!m)throw un(ve.MATCHER_NOT_FOUND,{location:b});y=m.record.name,g=Qt(Gb(p.params,m.keys.filter(_=>!_.optional).concat(m.parent?m.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),b.params&&Gb(b.params,m.keys.map(_=>_.name))),h=m.stringify(g)}else if(b.path!=null)h=b.path,m=s.find(_=>_.re.test(h)),m&&(g=m.parse(h),y=m.record.name);else{if(m=p.name?a.get(p.name):s.find(_=>_.re.test(p.path)),!m)throw un(ve.MATCHER_NOT_FOUND,{location:b,currentLocation:p});y=m.record.name,g=Qt({},p.params,b.params),h=m.stringify(g)}const f=[];let v=m;for(;v;)f.unshift(v.record),v=v.parent;return{name:y,path:h,params:g,matched:f,meta:Pk(f)}}t.forEach(b=>r(b));function c(){s.length=0,a.clear()}return{addRoute:r,resolve:d,removeRoute:o,clearRoutes:c,getRoutes:u,getRecordMatcher:n}}function Gb(t,e){const s={};for(const a of e)a in t&&(s[a]=t[a]);return s}function Vb(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:Tk(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function Tk(t){const e={},s=t.props||!1;if("component"in t)e.default=s;else for(const a in t.components)e[a]=typeof s=="object"?s[a]:s;return e}function qb(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Pk(t){return t.reduce((e,s)=>Qt(e,s.meta),{})}function jk(t,e){let s=0,a=e.length;for(;s!==a;){const r=s+a>>1;Xf(t,e[r])<0?a=r:s=r+1}const n=Ck(t);return n&&(a=e.lastIndexOf(n,a-1)),a}function Ck(t){let e=t;for(;e=e.parent;)if(Zf(e)&&Xf(t,e)===0)return e}function Zf({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ub(t){const e=Wt(ll),s=Wt(Zd),a=O(()=>{const l=X(t.to);return e.resolve(l)}),n=O(()=>{const{matched:l}=a.value,{length:d}=l,c=l[d-1],b=s.matched;if(!c||!b.length)return-1;const p=b.findIndex(ln.bind(null,c));if(p>-1)return p;const m=Hb(l[d-2]);return d>1&&Hb(c)===m&&b[b.length-1].path!==m?b.findIndex(ln.bind(null,l[d-2])):p}),r=O(()=>n.value>-1&&Dk(s.params,a.value.params)),o=O(()=>n.value>-1&&n.value===s.matched.length-1&&Wf(s.params,a.value.params));function u(l={}){if(Ik(l)){const d=e[X(t.replace)?"replace":"push"](X(t.to)).catch(qn);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:a,href:O(()=>a.value.href),isActive:r,isExactActive:o,navigate:u}}function Ek(t){return t.length===1?t[0]:t}const Mk=Te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Ub,setup(t,{slots:e}){const s=de(Ub(t)),{options:a}=Wt(ll),n=O(()=>({[Wb(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[Wb(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=e.default&&Ek(e.default(s));return t.custom?r:ue("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:n.value},r)}}}),xk=Mk;function Ik(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Dk(t,e){for(const s in e){const a=e[s],n=t[s];if(typeof a=="string"){if(a!==n)return!1}else if(!Vi(n)||n.length!==a.length||a.some((r,o)=>r!==n[o]))return!1}return!0}function Hb(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Wb=(t,e,s)=>t??e??s,Lk=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:s}){const a=Wt(Ou),n=O(()=>t.route||a.value),r=Wt(Ob,0),o=O(()=>{let d=X(r);const{matched:c}=n.value;let b;for(;(b=c[d])&&!b.components;)d++;return d}),u=O(()=>n.value.matched[o.value]);Ae(Ob,O(()=>o.value+1)),Ae(uk,u),Ae(Ou,n);const l=Y();return zt(()=>[l.value,u.value,t.name],([d,c,b],[p,m,g])=>{c&&(c.instances[b]=d,m&&m!==c&&d&&d===p&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),d&&c&&(!m||!ln(c,m)||!p)&&(c.enterCallbacks[b]||[]).forEach(h=>h(d))},{flush:"post"}),()=>{const d=n.value,c=t.name,b=u.value,p=b&&b.components[c];if(!p)return Kb(s.default,{Component:p,route:d});const m=b.props[c],g=m?m===!0?d.params:typeof m=="function"?m(d):m:null,y=ue(p,Qt({},g,e,{onVnodeUnmounted:f=>{f.component.isUnmounted&&(b.instances[c]=null)},ref:l}));return Kb(s.default,{Component:y,route:d})||y}}});function Kb(t,e){if(!t)return null;const s=t(e);return s.length===1?s[0]:s}const Rk=Lk;function Ok(t){const e=zk(t.routes,t),s=t.parseQuery||ok,a=t.stringifyQuery||Rb,n=t.history,r=Sn(),o=Sn(),u=Sn(),l=It(Ls);let d=Ls;Ba&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ll.bind(null,P=>""+P),b=Ll.bind(null,Uy),p=Ll.bind(null,tr);function m(P,R){let F,Z;return Kf(P)?(F=e.getRecordMatcher(P),Z=R):Z=P,e.addRoute(Z,F)}function g(P){const R=e.getRecordMatcher(P);R&&e.removeRoute(R)}function h(){return e.getRoutes().map(P=>P.record)}function y(P){return!!e.getRecordMatcher(P)}function f(P,R){if(R=Qt({},R||l.value),typeof P=="string"){const G=Rl(s,P,R.path),Q=e.resolve({path:G.path},R),it=n.createHref(G.fullPath);return Qt(G,Q,{params:p(Q.params),hash:tr(G.hash),redirectedFrom:void 0,href:it})}let F;if(P.path!=null)F=Qt({},P,{path:Rl(s,P.path,R.path).path});else{const G=Qt({},P.params);for(const Q in G)G[Q]==null&&delete G[Q];F=Qt({},P,{params:b(G)}),R.params=b(R.params)}const Z=e.resolve(F,R),ot=P.hash||"";Z.params=c(p(Z.params));const E=Ky(a,Qt({},P,{hash:Gy(ot),path:Z.path})),x=n.createHref(E);return Qt({fullPath:E,hash:ot,query:a===Rb?lk(P.query):P.query||{}},Z,{redirectedFrom:void 0,href:x})}function v(P){return typeof P=="string"?Rl(s,P,l.value.path):Qt({},P)}function _(P,R){if(d!==P)return un(ve.NAVIGATION_CANCELLED,{from:R,to:P})}function k(P){return A(P)}function S(P){return k(Qt(v(P),{replace:!0}))}function z(P,R){const F=P.matched[P.matched.length-1];if(F&&F.redirect){const{redirect:Z}=F;let ot=typeof Z=="function"?Z(P,R):Z;return typeof ot=="string"&&(ot=ot.includes("?")||ot.includes("#")?ot=v(ot):{path:ot},ot.params={}),Qt({query:P.query,hash:P.hash,params:ot.path!=null?{}:P.params},ot)}}function A(P,R){const F=d=f(P),Z=l.value,ot=P.state,E=P.force,x=P.replace===!0,G=z(F,Z);if(G)return A(Qt(v(G),{state:typeof G=="object"?Qt({},ot,G.state):ot,force:E,replace:x}),R||F);const Q=F;Q.redirectedFrom=R;let it;return!E&&$y(a,Z,F)&&(it=un(ve.NAVIGATION_DUPLICATED,{to:Q,from:Z}),St(Z,Z,!0,!1)),(it?Promise.resolve(it):T(Q,Z)).catch(J=>us(J)?us(J,ve.NAVIGATION_GUARD_REDIRECT)?J:pt(J):tt(J,Q,Z)).then(J=>{if(J){if(us(J,ve.NAVIGATION_GUARD_REDIRECT))return A(Qt({replace:x},v(J.to),{state:typeof J.to=="object"?Qt({},ot,J.to.state):ot,force:E}),R||Q)}else J=j(Q,Z,!0,x,ot);return D(Q,Z,J),J})}function w(P,R){const F=_(P,R);return F?Promise.reject(F):Promise.resolve()}function I(P){const R=jt.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(P):P()}function T(P,R){let F;const[Z,ot,E]=dk(P,R);F=Nl(Z.reverse(),"beforeRouteLeave",P,R);for(const G of Z)G.leaveGuards.forEach(Q=>{F.push(Gs(Q,P,R))});const x=w.bind(null,P,R);return F.push(x),Ft(F).then(()=>{F=[];for(const G of r.list())F.push(Gs(G,P,R));return F.push(x),Ft(F)}).then(()=>{F=Nl(ot,"beforeRouteUpdate",P,R);for(const G of ot)G.updateGuards.forEach(Q=>{F.push(Gs(Q,P,R))});return F.push(x),Ft(F)}).then(()=>{F=[];for(const G of E)if(G.beforeEnter)if(Vi(G.beforeEnter))for(const Q of G.beforeEnter)F.push(Gs(Q,P,R));else F.push(Gs(G.beforeEnter,P,R));return F.push(x),Ft(F)}).then(()=>(P.matched.forEach(G=>G.enterCallbacks={}),F=Nl(E,"beforeRouteEnter",P,R,I),F.push(x),Ft(F))).then(()=>{F=[];for(const G of o.list())F.push(Gs(G,P,R));return F.push(x),Ft(F)}).catch(G=>us(G,ve.NAVIGATION_CANCELLED)?G:Promise.reject(G))}function D(P,R,F){u.list().forEach(Z=>I(()=>Z(P,R,F)))}function j(P,R,F,Z,ot){const E=_(P,R);if(E)return E;const x=R===Ls,G=Ba?history.state:{};F&&(Z||x?n.replace(P.fullPath,Qt({scroll:x&&G&&G.scroll},ot)):n.push(P.fullPath,ot)),l.value=P,St(P,R,F,x),pt()}let B;function H(){B||(B=n.listen((P,R,F)=>{if(!Zt.listening)return;const Z=f(P),ot=z(Z,Zt.currentRoute.value);if(ot){A(Qt(ot,{replace:!0,force:!0}),Z).catch(qn);return}d=Z;const E=l.value;Ba&&ik(Lb(E.fullPath,F.delta),ol()),T(Z,E).catch(x=>us(x,ve.NAVIGATION_ABORTED|ve.NAVIGATION_CANCELLED)?x:us(x,ve.NAVIGATION_GUARD_REDIRECT)?(A(Qt(v(x.to),{force:!0}),Z).then(G=>{us(G,ve.NAVIGATION_ABORTED|ve.NAVIGATION_DUPLICATED)&&!F.delta&&F.type===Lu.pop&&n.go(-1,!1)}).catch(qn),Promise.reject()):(F.delta&&n.go(-F.delta,!1),tt(x,Z,E))).then(x=>{x=x||j(Z,E,!1),x&&(F.delta&&!us(x,ve.NAVIGATION_CANCELLED)?n.go(-F.delta,!1):F.type===Lu.pop&&us(x,ve.NAVIGATION_ABORTED|ve.NAVIGATION_DUPLICATED)&&n.go(-1,!1)),D(Z,E,x)}).catch(qn)}))}let st=Sn(),ut=Sn(),rt;function tt(P,R,F){pt(P);const Z=ut.list();return Z.length?Z.forEach(ot=>ot(P,R,F)):console.error(P),Promise.reject(P)}function ct(){return rt&&l.value!==Ls?Promise.resolve():new Promise((P,R)=>{st.add([P,R])})}function pt(P){return rt||(rt=!P,H(),st.list().forEach(([R,F])=>P?F(P):R()),st.reset()),P}function St(P,R,F,Z){const{scrollBehavior:ot}=t;if(!Ba||!ot)return Promise.resolve();const E=!F&&sk(Lb(P.fullPath,0))||(Z||!F)&&history.state&&history.state.scroll||null;return _e().then(()=>ot(P,R,E)).then(x=>x&&ek(x)).catch(x=>tt(x,P,R))}const lt=P=>n.go(P);let dt;const jt=new Set,Zt={currentRoute:l,listening:!0,addRoute:m,removeRoute:g,clearRoutes:e.clearRoutes,hasRoute:y,getRoutes:h,resolve:f,options:t,push:k,replace:S,go:lt,back:()=>lt(-1),forward:()=>lt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:u.add,onError:ut.add,isReady:ct,install(P){P.component("RouterLink",xk),P.component("RouterView",Rk),P.config.globalProperties.$router=Zt,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>X(l)}),Ba&&!dt&&l.value===Ls&&(dt=!0,k(n.location).catch(Z=>{}));const R={};for(const Z in Ls)Object.defineProperty(R,Z,{get:()=>l.value[Z],enumerable:!0});P.provide(ll,Zt),P.provide(Zd,ym(R)),P.provide(Ou,l);const F=P.unmount;jt.add(P),P.unmount=function(){jt.delete(P),jt.size<1&&(d=Ls,B&&B(),B=null,l.value=Ls,dt=!1,rt=!1),F()}}};function Ft(P){return P.reduce((R,F)=>R.then(()=>I(F)),Promise.resolve())}return Zt}function Lx(){return Wt(ll)}function Rx(t){return Wt(Zd)}const Nr="ma_access_token",An="ma_current_user";class Qf{token=null;currentUser=null;baseUrl="";constructor(){this.token=localStorage.getItem(Nr);const e=localStorage.getItem(An);if(e)try{this.currentUser=JSON.parse(e)}catch(s){console.error("Failed to parse stored user",s),localStorage.removeItem(An)}}setBaseUrl(e){this.baseUrl=e}getToken(){return this.token}getCurrentUser(){return this.currentUser}isAuthenticated(){return this.token!==null&&this.currentUser!==null}isAdmin(){return this.currentUser?.role==="admin"}setToken(e){this.token=e,localStorage.setItem(Nr,e)}setCurrentUser(e){this.currentUser=e,localStorage.setItem(An,JSON.stringify(e))}storeAuth(e,s){this.token=e,this.currentUser=s,localStorage.setItem(Nr,e),localStorage.setItem(An,JSON.stringify(s))}clearAuth(){this.token=null,this.currentUser=null,localStorage.removeItem(Nr),localStorage.removeItem(An)}async logout(){if(this.token)try{const{api:e}=await Vt(async()=>{const{api:s}=await Promise.resolve().then(()=>qj);return{api:s}},void 0,import.meta.url);e.logout().catch(()=>{})}catch{}this.clearAuth(),await new Promise(e=>setTimeout(e,100)),window.location.reload()}}const Nu=new Qf,Bu=Object.freeze(Object.defineProperty({__proto__:null,AuthManager:Qf,authManager:Nu},Symbol.toStringTag,{value:"Module"})),Nk=[{path:"/",component:()=>Vt(()=>import("./Default-Br-juh2E.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]),import.meta.url),children:[{path:"",redirect:"/home"},{path:"/home",name:"home",component:()=>Vt(()=>import("./HomeView-Dn-M1jTz.js"),__vite__mapDeps([31,32,9,33,34,35,15,16,17,18,2,36,4,5,37,38,39,12,10,11,13,14,19,3,6,40]),import.meta.url)},{path:"/search",name:"search",component:()=>Vt(()=>import("./Search-BOjaQ4tl.js"),__vite__mapDeps([41,32,9,33,42,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43,34,39]),import.meta.url),props:!0},{path:"/browse",name:"browse",component:()=>Vt(()=>import("./BrowseView-DwddahrD.js"),__vite__mapDeps([44,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43,45]),import.meta.url),props:t=>({...t.query})},{path:"/artists",children:[{path:"",name:"artists",component:()=>Vt(()=>import("./LibraryArtists-BdcWa4H2.js"),__vite__mapDeps([46,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0},{path:":provider/:itemId",name:"artist",component:()=>Vt(()=>import("./ArtistDetails-C15MPi-J.js"),__vite__mapDeps([47,48,3,4,5,6,22,23,2,7,8,32,9,33,20,10,11,21,49,42,15,16,17,18,35,36,24,25,26,27,37,38,43,50,51]),import.meta.url),props:!0}]},{path:"/albums",children:[{path:"",name:"albums",component:()=>Vt(()=>import("./LibraryAlbums-CHYwiQaW.js"),__vite__mapDeps([52,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0},{path:":provider/:itemId",name:"album",component:()=>Vt(()=>import("./AlbumDetails-BxtRl2YX.js"),__vite__mapDeps([53,48,3,4,5,6,22,23,2,7,8,32,9,33,20,10,11,21,49,42,15,16,17,18,35,36,24,25,26,27,37,38,43,50,51]),import.meta.url),props:!0}]},{path:"/tracks",children:[{path:"",name:"tracks",component:()=>Vt(()=>import("./LibraryTracks-p8Y13gW3.js"),__vite__mapDeps([54,55,3,4,5,6,7,8,42,32,9,33,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0},{path:":provider/:itemId",name:"track",component:()=>Vt(()=>import("./TrackDetails-D-mFx3v3.js"),__vite__mapDeps([56,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43,48,22,23,7,8,49]),import.meta.url),props:t=>({...t.params,...t.query})}]},{path:"/playlists",children:[{path:"",name:"playlists",component:()=>Vt(()=>import("./LibraryPlaylists-AKjmGQHJ.js"),__vite__mapDeps([57,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0},{path:":provider/:itemId",name:"playlist",component:()=>Vt(()=>import("./PlaylistDetails-DhlSXFbi.js"),__vite__mapDeps([58,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43,48,22,23,7,8,49]),import.meta.url),props:!0}]},{path:"/podcasts",children:[{path:"",name:"podcasts",component:()=>Vt(()=>import("./LibraryPodcasts-D8nYpNLG.js"),__vite__mapDeps([59,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0},{path:":provider/:itemId",name:"podcast",component:()=>Vt(()=>import("./PodcastDetails-bqHu2VUs.js"),__vite__mapDeps([60,48,3,4,5,6,22,23,2,7,8,32,9,33,20,10,11,21,49,42,15,16,17,18,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0}]},{path:"/audiobooks",children:[{path:"",name:"audiobooks",component:()=>Vt(()=>import("./LibraryAudiobooks-DC0SIBx-.js"),__vite__mapDeps([61,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0},{path:":provider/:itemId",name:"audiobook",component:()=>Vt(()=>import("./AudiobookDetails-BtzViAS0.js"),__vite__mapDeps([62,48,3,4,5,6,22,23,2,7,8,32,9,33,20,10,11,21,49]),import.meta.url),props:!0}]},{path:"/radios",children:[{path:"",name:"radios",component:()=>Vt(()=>import("./LibraryRadios-1GRC-OzJ.js"),__vite__mapDeps([63,55,3,4,5,6,7,8,42,32,9,33,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43]),import.meta.url),props:!0},{path:":provider/:itemId",name:"radio",component:()=>Vt(()=>import("./RadioDetails-BDJXF1Lf.js"),__vite__mapDeps([64,42,32,9,33,3,4,5,6,10,11,20,21,15,16,17,18,2,35,36,24,25,26,27,37,38,43,48,22,23,7,8,49]),import.meta.url),props:!0}]},{path:"/settings",name:"settings",component:()=>Vt(()=>import("./Settings-D8dH3JXV.js"),__vite__mapDeps([65,32,9,33,3,4,5,6,66]),import.meta.url),props:!0,children:[{path:"profile",name:"profile",component:()=>Vt(()=>import("./UserProfile-2DGSt3Q4.js"),__vite__mapDeps([67,32,9,33,20,10,11,21,68,7,8,37,38,69,70]),import.meta.url),props:!0},{path:"providers",name:"providersettings",component:()=>Vt(()=>import("./Providers-CgdTyZF0.js"),__vite__mapDeps([71,32,9,33,16,17,7,8,37,38,72]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"players",name:"playersettings",component:()=>Vt(()=>import("./Players-DbwqOQm4.js"),__vite__mapDeps([73,10,9,11,32,33,20,21,1,4,5]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"core",name:"coresettings",component:()=>Vt(()=>import("./CoreConfigs-D3Lk-7JE.js"),__vite__mapDeps([74,32,9,33,20,10,11,21,4,5,75]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"frontend",name:"frontendsettings",component:()=>Vt(()=>import("./FrontendConfig-eR1Z1zGd.js"),__vite__mapDeps([76,77,69,28,29,7,8,37,38,78,16,17,79,13,14,80,26,27,81,82,1,4,5]),import.meta.url),props:!0},{path:"users",name:"usersettings",component:()=>Vt(()=>import("./UserManagement-DqY36gSD.js"),__vite__mapDeps([83,32,9,33,20,10,11,21,80,26,27,16,17,81,7,8,68,84]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"addprovider/:domain",name:"addproviderdetails",component:()=>Vt(()=>import("./AddProviderDetails-9el-oexz.js"),__vite__mapDeps([85,86,77,69,28,29,7,8,37,38,78,16,17,79,13,14,80,26,27,81,82]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editprovider/:instanceId",name:"editprovider",component:()=>Vt(()=>import("./EditProvider-DaVXHsTj.js"),__vite__mapDeps([87,77,69,28,29,7,8,37,38,78,16,17,79,13,14,80,26,27,81,82,86]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editplayer/:playerId",name:"editplayer",component:()=>Vt(()=>import("./EditPlayer-DWbeXaJ5.js"),__vite__mapDeps([88,77,69,28,29,7,8,37,38,78,16,17,79,13,14,80,26,27,81,82,86]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editplayer/:playerId/dsp",name:"editplayerdsp",component:()=>Vt(()=>import("./EditPlayerDsp-BFHS-0i1.js"),__vite__mapDeps([89,13,14,80,26,27,16,17,81,78,79,4,5,37,38,7,8,90]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"editcore/:domain",name:"editcore",component:()=>Vt(()=>import("./EditCoreConfig-CnIejyq9.js"),__vite__mapDeps([91,77,69,28,29,7,8,37,38,78,16,17,79,13,14,80,26,27,81,82,86]),import.meta.url),props:!0,meta:{requiresAdmin:!0}},{path:"addgroup/:provider",name:"addgroup",component:()=>Vt(()=>import("./AddPlayerGroup-Bwk7pmNx.js"),__vite__mapDeps([92,69,80,26,27,16,17,81,78,79]),import.meta.url),props:!0,meta:{requiresAdmin:!0}}]}]}],Qi=Ok({history:fk(),routes:Nk});Qi.beforeEach(async(t,e,s)=>{if(!bt.isAuthenticated||!Nu.getToken()){s();return}if(t.meta.requiresAdmin&&!Nu.isAdmin()){console.warn("Admin access required for",t.path),s({name:"home"});return}s()});Qi.afterEach((t,e)=>{if(e?.path){if(console.debug("navigating from ",e.path," to ",t.path),bt.prevRoute=e.path,bt.isOnboarding&&t.path==="/settings/providers"){const s=new URLSearchParams(window.location.search);if(s.has("onboard")){s.delete("onboard");const a=window.location.pathname+(s.toString()?"?"+s.toString():"")+window.location.hash;window.history.replaceState({},"",a)}}bt.isOnboarding&&e.path==="/settings/providers"&&t.path!=="/settings/providers"&&(bt.isOnboarding=!1)}});const Xi=function(t){if(t.media_type==At.FOLDER)return!0;if("provider_mappings"in t){for(const e of t.provider_mappings)if(e.available&&$.providers[e.provider_instance]?.available)return!0}else if("available"in t)return t.available;return!1},Ox=function(t){const e=t.active_source||"";if(e in $.queues)return $.queues[e].display_name;for(const s of t.source_list)if(e==s.id)return s.name;return e};function Bk(){const t=navigator.userAgent;let e="Browser",s="Unknown OS";return t.includes("Firefox/")?e="Firefox":t.includes("Edg/")?e="Edge":t.includes("Chrome/")?e="Chrome":t.includes("Safari/")&&!t.includes("Chrome/")&&(e="Safari"),t.includes("Windows")?s="Windows":t.includes("Mac OS X")?s="macOS":t.includes("Linux")?s="Linux":t.includes("Android")?s="Android":(t.includes("iOS")||t.includes("iPhone")||t.includes("iPad"))&&(s="iOS"),`Music Assistant Web (${e} on ${s})`}function Fk(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const Po=typeof window<"u",Qs=(t,e=!1)=>e?Symbol.for(t):Symbol(t),Gk=(t,e,s)=>Vk({l:t,k:e,s}),Vk=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=t=>typeof t=="number"&&isFinite(t),qk=t=>Jd(t)==="[object Date]",jo=t=>Jd(t)==="[object RegExp]",ul=t=>Ht(t)&&Object.keys(t).length===0,Be=Object.assign,Uk=Object.create,ae=(t=null)=>Uk(t);let $b;const Qd=()=>$b||($b=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ae());function Yb(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Xb(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Hk(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(a,n,r)=>`${n}="${Xb(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(a,n,r)=>`${n}='${Xb(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(a=>{t=t.replace(a,"$1javascript:")}),t}const Wk=Object.prototype.hasOwnProperty;function Ni(t,e){return Wk.call(t,e)}const ye=Array.isArray,be=t=>typeof t=="function",yt=t=>typeof t=="string",pe=t=>typeof t=="boolean",Xt=t=>t!==null&&typeof t=="object",Kk=t=>Xt(t)&&be(t.then)&&be(t.catch),Jf=Object.prototype.toString,Jd=t=>Jf.call(t),Ht=t=>Jd(t)==="[object Object]",$k=t=>t==null?"":ye(t)||Ht(t)&&t.toString===Jf?JSON.stringify(t,null,2):String(t);function tc(t,e=""){return t.reduce((s,a,n)=>n===0?s+a:s+e+a,"")}const Br=t=>!Xt(t)||ye(t);function ro(t,e){if(Br(t)||Br(e))throw new Error("Invalid value");const s=[{src:t,des:e}];for(;s.length;){const{src:a,des:n}=s.pop();Object.keys(a).forEach(r=>{r!=="__proto__"&&(Xt(a[r])&&!Xt(n[r])&&(n[r]=Array.isArray(a[r])?[]:ae()),Br(n[r])||Br(a[r])?n[r]=a[r]:s.push({src:a[r],des:n[r]}))})}}function Yk(t,e,s){return{line:t,column:e,offset:s}}function Fu(t,e,s){return{start:t,end:e}}const Jt={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},Xk=17;function dl(t,e,s={}){const{domain:a,messages:n,args:r}=s,o=t,u=new SyntaxError(String(o));return u.code=t,e&&(u.location=e),u.domain=a,u}function Zk(t){throw t}const Wi=" ",Qk="\r",He=`
|
|
61
|
+
`,Jk="\u2028",tw="\u2029";function ew(t){const e=t;let s=0,a=1,n=1,r=0;const o=A=>e[A]===Qk&&e[A+1]===He,u=A=>e[A]===He,l=A=>e[A]===tw,d=A=>e[A]===Jk,c=A=>o(A)||u(A)||l(A)||d(A),b=()=>s,p=()=>a,m=()=>n,g=()=>r,h=A=>o(A)||l(A)||d(A)?He:e[A],y=()=>h(s),f=()=>h(s+r);function v(){return r=0,c(s)&&(a++,n=0),o(s)&&s++,s++,n++,e[s]}function _(){return o(s+r)&&r++,r++,e[s+r]}function k(){s=0,a=1,n=1,r=0}function S(A=0){r=A}function z(){const A=s+r;for(;A!==s;)v();r=0}return{index:b,line:p,column:m,peekOffset:g,charAt:h,currentChar:y,currentPeek:f,next:v,peek:_,reset:k,resetPeek:S,skipToPeek:z}}const ds=void 0,iw=".",Zb="'",sw="tokenizer";function aw(t,e={}){const s=e.location!==!1,a=ew(t),n=()=>a.index(),r=()=>Yk(a.line(),a.column(),a.index()),o=r(),u=n(),l={currentType:13,offset:u,startLoc:o,endLoc:o,lastType:13,lastOffset:u,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>l,{onError:c}=e;function b(C,M,V,...U){const ft=d();if(M.column+=V,M.offset+=V,c){const at=s?Fu(ft.startLoc,M):null,q=dl(C,at,{domain:sw,args:U});c(q)}}function p(C,M,V){C.endLoc=r(),C.currentType=M;const U={type:M};return s&&(U.loc=Fu(C.startLoc,C.endLoc)),V!=null&&(U.value=V),U}const m=C=>p(C,13);function g(C,M){return C.currentChar()===M?(C.next(),M):(b(Jt.EXPECTED_TOKEN,r(),0,M),"")}function h(C){let M="";for(;C.currentPeek()===Wi||C.currentPeek()===He;)M+=C.currentPeek(),C.peek();return M}function y(C){const M=h(C);return C.skipToPeek(),M}function f(C){if(C===ds)return!1;const M=C.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M===95}function v(C){if(C===ds)return!1;const M=C.charCodeAt(0);return M>=48&&M<=57}function _(C,M){const{currentType:V}=M;if(V!==2)return!1;h(C);const U=f(C.currentPeek());return C.resetPeek(),U}function k(C,M){const{currentType:V}=M;if(V!==2)return!1;h(C);const U=C.currentPeek()==="-"?C.peek():C.currentPeek(),ft=v(U);return C.resetPeek(),ft}function S(C,M){const{currentType:V}=M;if(V!==2)return!1;h(C);const U=C.currentPeek()===Zb;return C.resetPeek(),U}function z(C,M){const{currentType:V}=M;if(V!==7)return!1;h(C);const U=C.currentPeek()===".";return C.resetPeek(),U}function A(C,M){const{currentType:V}=M;if(V!==8)return!1;h(C);const U=f(C.currentPeek());return C.resetPeek(),U}function w(C,M){const{currentType:V}=M;if(!(V===7||V===11))return!1;h(C);const U=C.currentPeek()===":";return C.resetPeek(),U}function I(C,M){const{currentType:V}=M;if(V!==9)return!1;const U=()=>{const at=C.currentPeek();return at==="{"?f(C.peek()):at==="@"||at==="|"||at===":"||at==="."||at===Wi||!at?!1:at===He?(C.peek(),U()):D(C,!1)},ft=U();return C.resetPeek(),ft}function T(C){h(C);const M=C.currentPeek()==="|";return C.resetPeek(),M}function D(C,M=!0){const V=(ft=!1,at="")=>{const q=C.currentPeek();return q==="{"||q==="@"||!q?ft:q==="|"?!(at===Wi||at===He):q===Wi?(C.peek(),V(!0,Wi)):q===He?(C.peek(),V(!0,He)):!0},U=V();return M&&C.resetPeek(),U}function j(C,M){const V=C.currentChar();return V===ds?ds:M(V)?(C.next(),V):null}function B(C){const M=C.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36}function H(C){return j(C,B)}function st(C){const M=C.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36||M===45}function ut(C){return j(C,st)}function rt(C){const M=C.charCodeAt(0);return M>=48&&M<=57}function tt(C){return j(C,rt)}function ct(C){const M=C.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102}function pt(C){return j(C,ct)}function St(C){let M="",V="";for(;M=tt(C);)V+=M;return V}function lt(C){let M="";for(;;){const V=C.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V===Wi||V===He)if(D(C))M+=V,C.next();else{if(T(C))break;M+=V,C.next()}else M+=V,C.next()}return M}function dt(C){y(C);let M="",V="";for(;M=ut(C);)V+=M;const U=C.currentChar();if(U&&U!=="}"&&U!==ds&&U!==Wi&&U!==He&&U!==" "){const ft=Z(C);return b(Jt.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,V+ft),V+ft}return C.currentChar()===ds&&b(Jt.UNTERMINATED_CLOSING_BRACE,r(),0),V}function jt(C){y(C);let M="";return C.currentChar()==="-"?(C.next(),M+=`-${St(C)}`):M+=St(C),C.currentChar()===ds&&b(Jt.UNTERMINATED_CLOSING_BRACE,r(),0),M}function Zt(C){return C!==Zb&&C!==He}function Ft(C){y(C),g(C,"'");let M="",V="";for(;M=j(C,Zt);)M==="\\"?V+=P(C):V+=M;const U=C.currentChar();return U===He||U===ds?(b(Jt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),U===He&&(C.next(),g(C,"'")),V):(g(C,"'"),V)}function P(C){const M=C.currentChar();switch(M){case"\\":case"'":return C.next(),`\\${M}`;case"u":return R(C,M,4);case"U":return R(C,M,6);default:return b(Jt.UNKNOWN_ESCAPE_SEQUENCE,r(),0,M),""}}function R(C,M,V){g(C,M);let U="";for(let ft=0;ft<V;ft++){const at=pt(C);if(!at){b(Jt.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${M}${U}${C.currentChar()}`);break}U+=at}return`\\${M}${U}`}function F(C){return C!=="{"&&C!=="}"&&C!==Wi&&C!==He}function Z(C){y(C);let M="",V="";for(;M=j(C,F);)V+=M;return V}function ot(C){let M="",V="";for(;M=H(C);)V+=M;return V}function E(C){const M=V=>{const U=C.currentChar();return U==="{"||U==="@"||U==="|"||U==="("||U===")"||!U||U===Wi?V:(V+=U,C.next(),M(V))};return M("")}function x(C){y(C);const M=g(C,"|");return y(C),M}function G(C,M){let V=null;switch(C.currentChar()){case"{":return M.braceNest>=1&&b(Jt.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),C.next(),V=p(M,2,"{"),y(C),M.braceNest++,V;case"}":return M.braceNest>0&&M.currentType===2&&b(Jt.EMPTY_PLACEHOLDER,r(),0),C.next(),V=p(M,3,"}"),M.braceNest--,M.braceNest>0&&y(C),M.inLinked&&M.braceNest===0&&(M.inLinked=!1),V;case"@":return M.braceNest>0&&b(Jt.UNTERMINATED_CLOSING_BRACE,r(),0),V=Q(C,M)||m(M),M.braceNest=0,V;default:{let ft=!0,at=!0,q=!0;if(T(C))return M.braceNest>0&&b(Jt.UNTERMINATED_CLOSING_BRACE,r(),0),V=p(M,1,x(C)),M.braceNest=0,M.inLinked=!1,V;if(M.braceNest>0&&(M.currentType===4||M.currentType===5||M.currentType===6))return b(Jt.UNTERMINATED_CLOSING_BRACE,r(),0),M.braceNest=0,it(C,M);if(ft=_(C,M))return V=p(M,4,dt(C)),y(C),V;if(at=k(C,M))return V=p(M,5,jt(C)),y(C),V;if(q=S(C,M))return V=p(M,6,Ft(C)),y(C),V;if(!ft&&!at&&!q)return V=p(M,12,Z(C)),b(Jt.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,V.value),y(C),V;break}}return V}function Q(C,M){const{currentType:V}=M;let U=null;const ft=C.currentChar();switch((V===7||V===8||V===11||V===9)&&(ft===He||ft===Wi)&&b(Jt.INVALID_LINKED_FORMAT,r(),0),ft){case"@":return C.next(),U=p(M,7,"@"),M.inLinked=!0,U;case".":return y(C),C.next(),p(M,8,".");case":":return y(C),C.next(),p(M,9,":");default:return T(C)?(U=p(M,1,x(C)),M.braceNest=0,M.inLinked=!1,U):z(C,M)||w(C,M)?(y(C),Q(C,M)):A(C,M)?(y(C),p(M,11,ot(C))):I(C,M)?(y(C),ft==="{"?G(C,M)||U:p(M,10,E(C))):(V===7&&b(Jt.INVALID_LINKED_FORMAT,r(),0),M.braceNest=0,M.inLinked=!1,it(C,M))}}function it(C,M){let V={type:13};if(M.braceNest>0)return G(C,M)||m(M);if(M.inLinked)return Q(C,M)||m(M);switch(C.currentChar()){case"{":return G(C,M)||m(M);case"}":return b(Jt.UNBALANCED_CLOSING_BRACE,r(),0),C.next(),p(M,3,"}");case"@":return Q(C,M)||m(M);default:{if(T(C))return V=p(M,1,x(C)),M.braceNest=0,M.inLinked=!1,V;if(D(C))return p(M,0,lt(C));break}}return V}function J(){const{currentType:C,offset:M,startLoc:V,endLoc:U}=l;return l.lastType=C,l.lastOffset=M,l.lastStartLoc=V,l.lastEndLoc=U,l.offset=n(),l.startLoc=r(),a.currentChar()===ds?p(l,13):it(a,l)}return{nextToken:J,currentOffset:n,currentPosition:r,context:d}}const nw="parser",rw=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ow(t,e,s){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(e||s,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function lw(t={}){const e=t.location!==!1,{onError:s}=t;function a(f,v,_,k,...S){const z=f.currentPosition();if(z.offset+=k,z.column+=k,s){const A=e?Fu(_,z):null,w=dl(v,A,{domain:nw,args:S});s(w)}}function n(f,v,_){const k={type:f};return e&&(k.start=v,k.end=v,k.loc={start:_,end:_}),k}function r(f,v,_,k){e&&(f.end=v,f.loc&&(f.loc.end=_))}function o(f,v){const _=f.context(),k=n(3,_.offset,_.startLoc);return k.value=v,r(k,f.currentOffset(),f.currentPosition()),k}function u(f,v){const _=f.context(),{lastOffset:k,lastStartLoc:S}=_,z=n(5,k,S);return z.index=parseInt(v,10),f.nextToken(),r(z,f.currentOffset(),f.currentPosition()),z}function l(f,v){const _=f.context(),{lastOffset:k,lastStartLoc:S}=_,z=n(4,k,S);return z.key=v,f.nextToken(),r(z,f.currentOffset(),f.currentPosition()),z}function d(f,v){const _=f.context(),{lastOffset:k,lastStartLoc:S}=_,z=n(9,k,S);return z.value=v.replace(rw,ow),f.nextToken(),r(z,f.currentOffset(),f.currentPosition()),z}function c(f){const v=f.nextToken(),_=f.context(),{lastOffset:k,lastStartLoc:S}=_,z=n(8,k,S);return v.type!==11?(a(f,Jt.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),z.value="",r(z,k,S),{nextConsumeToken:v,node:z}):(v.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ki(v)),z.value=v.value||"",r(z,f.currentOffset(),f.currentPosition()),{node:z})}function b(f,v){const _=f.context(),k=n(7,_.offset,_.startLoc);return k.value=v,r(k,f.currentOffset(),f.currentPosition()),k}function p(f){const v=f.context(),_=n(6,v.offset,v.startLoc);let k=f.nextToken();if(k.type===8){const S=c(f);_.modifier=S.node,k=S.nextConsumeToken||f.nextToken()}switch(k.type!==9&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(k)),k=f.nextToken(),k.type===2&&(k=f.nextToken()),k.type){case 10:k.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(k)),_.key=b(f,k.value||"");break;case 4:k.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(k)),_.key=l(f,k.value||"");break;case 5:k.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(k)),_.key=u(f,k.value||"");break;case 6:k.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(k)),_.key=d(f,k.value||"");break;default:{a(f,Jt.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const S=f.context(),z=n(7,S.offset,S.startLoc);return z.value="",r(z,S.offset,S.startLoc),_.key=z,r(_,S.offset,S.startLoc),{nextConsumeToken:k,node:_}}}return r(_,f.currentOffset(),f.currentPosition()),{node:_}}function m(f){const v=f.context(),_=v.currentType===1?f.currentOffset():v.offset,k=v.currentType===1?v.endLoc:v.startLoc,S=n(2,_,k);S.items=[];let z=null;do{const I=z||f.nextToken();switch(z=null,I.type){case 0:I.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(I)),S.items.push(o(f,I.value||""));break;case 5:I.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(I)),S.items.push(u(f,I.value||""));break;case 4:I.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(I)),S.items.push(l(f,I.value||""));break;case 6:I.value==null&&a(f,Jt.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ki(I)),S.items.push(d(f,I.value||""));break;case 7:{const T=p(f);S.items.push(T.node),z=T.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const A=v.currentType===1?v.lastOffset:f.currentOffset(),w=v.currentType===1?v.lastEndLoc:f.currentPosition();return r(S,A,w),S}function g(f,v,_,k){const S=f.context();let z=k.items.length===0;const A=n(1,v,_);A.cases=[],A.cases.push(k);do{const w=m(f);z||(z=w.items.length===0),A.cases.push(w)}while(S.currentType!==13);return z&&a(f,Jt.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),r(A,f.currentOffset(),f.currentPosition()),A}function h(f){const v=f.context(),{offset:_,startLoc:k}=v,S=m(f);return v.currentType===13?S:g(f,_,k,S)}function y(f){const v=aw(f,Be({},t)),_=v.context(),k=n(0,_.offset,_.startLoc);return e&&k.loc&&(k.loc.source=f),k.body=h(v),t.onCacheKey&&(k.cacheKey=t.onCacheKey(f)),_.currentType!==13&&a(v,Jt.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,f[_.offset]||""),r(k,v.currentOffset(),v.currentPosition()),k}return{parse:y}}function Ki(t){if(t.type===13)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function uw(t,e={}){const s={ast:t,helpers:new Set};return{context:()=>s,helper:r=>(s.helpers.add(r),r)}}function Qb(t,e){for(let s=0;s<t.length;s++)ec(t[s],e)}function ec(t,e){switch(t.type){case 1:Qb(t.cases,e),e.helper("plural");break;case 2:Qb(t.items,e);break;case 6:{ec(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function dw(t,e={}){const s=uw(t);s.helper("normalize"),t.body&&ec(t.body,s);const a=s.context();t.helpers=Array.from(a.helpers)}function cw(t){const e=t.body;return e.type===2?Jb(e):e.cases.forEach(s=>Jb(s)),t}function Jb(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let s=0;s<t.items.length;s++){const a=t.items[s];if(!(a.type===3||a.type===9)||a.value==null)break;e.push(a.value)}if(e.length===t.items.length){t.static=tc(e);for(let s=0;s<t.items.length;s++){const a=t.items[s];(a.type===3||a.type===9)&&delete a.value}}}}function Fa(t){switch(t.t=t.type,t.type){case 0:{const e=t;Fa(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,s=e.cases;for(let a=0;a<s.length;a++)Fa(s[a]);e.c=s,delete e.cases;break}case 2:{const e=t,s=e.items;for(let a=0;a<s.length;a++)Fa(s[a]);e.i=s,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;Fa(e.key),e.k=e.key,delete e.key,e.modifier&&(Fa(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}}delete t.type}function bw(t,e){const{filename:s,breakLineCode:a,needIndent:n}=e,r=e.location!==!1,o={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:n,indentLevel:0};r&&t.loc&&(o.source=t.loc.source);const u=()=>o;function l(h,y){o.code+=h}function d(h,y=!0){const f=y?a:"";l(n?f+" ".repeat(h):f)}function c(h=!0){const y=++o.indentLevel;h&&d(y)}function b(h=!0){const y=--o.indentLevel;h&&d(y)}function p(){d(o.indentLevel)}return{context:u,push:l,indent:c,deindent:b,newline:p,helper:h=>`_${h}`,needIndent:()=>o.needIndent}}function pw(t,e){const{helper:s}=t;t.push(`${s("linked")}(`),dn(t,e.key),e.modifier?(t.push(", "),dn(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function mw(t,e){const{helper:s,needIndent:a}=t;t.push(`${s("normalize")}([`),t.indent(a());const n=e.items.length;for(let r=0;r<n&&(dn(t,e.items[r]),r!==n-1);r++)t.push(", ");t.deindent(a()),t.push("])")}function fw(t,e){const{helper:s,needIndent:a}=t;if(e.cases.length>1){t.push(`${s("plural")}([`),t.indent(a());const n=e.cases.length;for(let r=0;r<n&&(dn(t,e.cases[r]),r!==n-1);r++)t.push(", ");t.deindent(a()),t.push("])")}}function vw(t,e){e.body?dn(t,e.body):t.push("null")}function dn(t,e){const{helper:s}=t;switch(e.type){case 0:vw(t,e);break;case 1:fw(t,e);break;case 2:mw(t,e);break;case 6:pw(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${s("interpolate")}(${s("list")}(${e.index}))`,e);break;case 4:t.push(`${s("interpolate")}(${s("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break}}const gw=(t,e={})=>{const s=yt(e.mode)?e.mode:"normal",a=yt(e.filename)?e.filename:"message.intl";e.sourceMap;const n=e.breakLineCode!=null?e.breakLineCode:s==="arrow"?";":`
|
|
62
|
+
`,r=e.needIndent?e.needIndent:s!=="arrow",o=t.helpers||[],u=bw(t,{filename:a,breakLineCode:n,needIndent:r});u.push(s==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(r),o.length>0&&(u.push(`const { ${tc(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),u.newline()),u.push("return "),dn(u,t),u.deindent(r),u.push("}"),delete t.helpers;const{code:l,map:d}=u.context();return{ast:t,code:l,map:d?d.toJSON():void 0}};function _w(t,e={}){const s=Be({},e),a=!!s.jit,n=!!s.minify,r=s.optimize==null?!0:s.optimize,u=lw(s).parse(t);return a?(r&&cw(u),n&&Fa(u),{ast:u,code:""}):(dw(u,s),gw(u,s))}function hw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qd().__INTLIFY_PROD_DEVTOOLS__=!1)}function ss(t){return Xt(t)&&ic(t)===0&&(Ni(t,"b")||Ni(t,"body"))}const t2=["b","body"];function yw(t){return Js(t,t2)}const e2=["c","cases"];function kw(t){return Js(t,e2,[])}const i2=["s","static"];function ww(t){return Js(t,i2)}const s2=["i","items"];function Sw(t){return Js(t,s2,[])}const a2=["t","type"];function ic(t){return Js(t,a2)}const n2=["v","value"];function Fr(t,e){const s=Js(t,n2);if(s!=null)return s;throw er(e)}const r2=["m","modifier"];function Aw(t){return Js(t,r2)}const o2=["k","key"];function zw(t){const e=Js(t,o2);if(e)return e;throw er(6)}function Js(t,e,s){for(let a=0;a<e.length;a++){const n=e[a];if(Ni(t,n)&&t[n]!=null)return t[n]}return s}const l2=[...t2,...e2,...i2,...s2,...o2,...r2,...n2,...a2];function er(t){return new Error(`unhandled node type: ${t}`)}function Bl(t){return s=>Tw(s,t)}function Tw(t,e){const s=yw(e);if(s==null)throw er(0);if(ic(s)===1){const r=kw(s);return t.plural(r.reduce((o,u)=>[...o,tp(t,u)],[]))}else return tp(t,s)}function tp(t,e){const s=ww(e);if(s!=null)return t.type==="text"?s:t.normalize([s]);{const a=Sw(e).reduce((n,r)=>[...n,Gu(t,r)],[]);return t.normalize(a)}}function Gu(t,e){const s=ic(e);switch(s){case 3:return Fr(e,s);case 9:return Fr(e,s);case 4:{const a=e;if(Ni(a,"k")&&a.k)return t.interpolate(t.named(a.k));if(Ni(a,"key")&&a.key)return t.interpolate(t.named(a.key));throw er(s)}case 5:{const a=e;if(Ni(a,"i")&&Se(a.i))return t.interpolate(t.list(a.i));if(Ni(a,"index")&&Se(a.index))return t.interpolate(t.list(a.index));throw er(s)}case 6:{const a=e,n=Aw(a),r=zw(a);return t.linked(Gu(t,r),n?Gu(t,n):void 0,t.type)}case 7:return Fr(e,s);case 8:return Fr(e,s);default:throw new Error(`unhandled node on format message part: ${s}`)}}const Pw=t=>t;let Gr=ae();function jw(t,e={}){let s=!1;const a=e.onError||Zk;return e.onError=n=>{s=!0,a(n)},{..._w(t,e),detectError:s}}function Cw(t,e){if(yt(t)){pe(e.warnHtmlMessage)&&e.warnHtmlMessage;const a=(e.onCacheKey||Pw)(t),n=Gr[a];if(n)return n;const{ast:r,detectError:o}=jw(t,{...e,location:!1,jit:!0}),u=Bl(r);return o?u:Gr[a]=u}else{const s=t.cacheKey;if(s){const a=Gr[s];return a||(Gr[s]=Bl(t))}else return Bl(t)}}let ir=null;function Ew(t){ir=t}function Mw(t,e,s){ir&&ir.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:s})}const xw=Iw("function:translate");function Iw(t){return e=>ir&&ir.emit(t,e)}const hs={INVALID_ARGUMENT:Xk,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Dw=24;function ys(t){return dl(t,null,void 0)}function sc(t,e){return e.locale!=null?ep(e.locale):ep(t.locale)}let Fl;function ep(t){if(yt(t))return t;if(be(t)){if(t.resolvedOnce&&Fl!=null)return Fl;if(t.constructor.name==="Function"){const e=t();if(Kk(e))throw ys(hs.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Fl=e}else throw ys(hs.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ys(hs.NOT_SUPPORT_LOCALE_TYPE)}function Lw(t,e,s){return[...new Set([s,...ye(e)?e:Xt(e)?Object.keys(e):yt(e)?[e]:[s]])]}function u2(t,e,s){const a=yt(s)?s:Co,n=t;n.__localeChainCache||(n.__localeChainCache=new Map);let r=n.__localeChainCache.get(a);if(!r){r=[];let o=[s];for(;ye(o);)o=ip(r,o,e);const u=ye(e)||!Ht(e)?e:e.default?e.default:null;o=yt(u)?[u]:u,ye(o)&&ip(r,o,!1),n.__localeChainCache.set(a,r)}return r}function ip(t,e,s){let a=!0;for(let n=0;n<e.length&&pe(a);n++){const r=e[n];yt(r)&&(a=Rw(t,e[n],s))}return a}function Rw(t,e,s){let a;const n=e.split("-");do{const r=n.join("-");a=Ow(t,r,s),n.splice(-1,1)}while(n.length&&a===!0);return a}function Ow(t,e,s){let a=!1;if(!t.includes(e)&&(a=!0,e)){a=e[e.length-1]!=="!";const n=e.replace(/!/g,"");t.push(n),(ye(s)||Ht(s))&&s[n]&&(a=s[n])}return a}const ta=[];ta[0]={w:[0],i:[3,0],"[":[4],o:[7]};ta[1]={w:[1],".":[2],"[":[4],o:[7]};ta[2]={w:[2],i:[3,0],0:[3,0]};ta[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ta[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ta[5]={"'":[4,0],o:8,l:[5,0]};ta[6]={'"':[4,0],o:8,l:[6,0]};const Nw=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Bw(t){return Nw.test(t)}function Fw(t){const e=t.charCodeAt(0),s=t.charCodeAt(t.length-1);return e===s&&(e===34||e===39)?t.slice(1,-1):t}function Gw(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;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 Vw(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:Bw(e)?Fw(e):"*"+e}function qw(t){const e=[];let s=-1,a=0,n=0,r,o,u,l,d,c,b;const p=[];p[0]=()=>{o===void 0?o=u:o+=u},p[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},p[2]=()=>{p[0](),n++},p[3]=()=>{if(n>0)n--,a=4,p[0]();else{if(n=0,o===void 0||(o=Vw(o),o===!1))return!1;p[1]()}};function m(){const g=t[s+1];if(a===5&&g==="'"||a===6&&g==='"')return s++,u="\\"+g,p[0](),!0}for(;a!==null;)if(s++,r=t[s],!(r==="\\"&&m())){if(l=Gw(r),b=ta[a],d=b[l]||b.l||8,d===8||(a=d[0],d[1]!==void 0&&(c=p[d[1]],c&&(u=r,c()===!1))))return;if(a===7)return e}}const sp=new Map;function Uw(t,e){return Xt(t)?t[e]:null}function Hw(t,e){if(!Xt(t))return null;let s=sp.get(e);if(s||(s=qw(e),s&&sp.set(e,s)),!s)return null;const a=s.length;let n=t,r=0;for(;r<a;){const o=s[r];if(l2.includes(o)&&ss(n))return null;const u=n[o];if(u===void 0||be(n))return null;n=u,r++}return n}const Ww="11.2.1",cl=-1,Co="en-US",ap="",np=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Kw(){return{upper:(t,e)=>e==="text"&&yt(t)?t.toUpperCase():e==="vnode"&&Xt(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&yt(t)?t.toLowerCase():e==="vnode"&&Xt(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&yt(t)?np(t):e==="vnode"&&Xt(t)&&"__v_isVNode"in t?np(t.children):t}}let d2;function $w(t){d2=t}let c2;function Yw(t){c2=t}let b2;function Xw(t){b2=t}let p2=null;const Zw=t=>{p2=t},Qw=()=>p2;let m2=null;const rp=t=>{m2=t},Jw=()=>m2;let op=0;function tS(t={}){const e=be(t.onWarn)?t.onWarn:Fk,s=yt(t.version)?t.version:Ww,a=yt(t.locale)||be(t.locale)?t.locale:Co,n=be(a)?Co:a,r=ye(t.fallbackLocale)||Ht(t.fallbackLocale)||yt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:n,o=Ht(t.messages)?t.messages:Gl(n),u=Ht(t.datetimeFormats)?t.datetimeFormats:Gl(n),l=Ht(t.numberFormats)?t.numberFormats:Gl(n),d=Be(ae(),t.modifiers,Kw()),c=t.pluralRules||ae(),b=be(t.missing)?t.missing:null,p=pe(t.missingWarn)||jo(t.missingWarn)?t.missingWarn:!0,m=pe(t.fallbackWarn)||jo(t.fallbackWarn)?t.fallbackWarn:!0,g=!!t.fallbackFormat,h=!!t.unresolving,y=be(t.postTranslation)?t.postTranslation:null,f=Ht(t.processor)?t.processor:null,v=pe(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,k=be(t.messageCompiler)?t.messageCompiler:d2,S=be(t.messageResolver)?t.messageResolver:c2||Uw,z=be(t.localeFallbacker)?t.localeFallbacker:b2||Lw,A=Xt(t.fallbackContext)?t.fallbackContext:void 0,w=t,I=Xt(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,T=Xt(w.__numberFormatters)?w.__numberFormatters:new Map,D=Xt(w.__meta)?w.__meta:{};op++;const j={version:s,cid:op,locale:a,fallbackLocale:r,messages:o,modifiers:d,pluralRules:c,missing:b,missingWarn:p,fallbackWarn:m,fallbackFormat:g,unresolving:h,postTranslation:y,processor:f,warnHtmlMessage:v,escapeParameter:_,messageCompiler:k,messageResolver:S,localeFallbacker:z,fallbackContext:A,onWarn:e,__meta:D};return j.datetimeFormats=u,j.numberFormats=l,j.__datetimeFormatters=I,j.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&Mw(j,s,D),j}const Gl=t=>({[t]:ae()});function ac(t,e,s,a,n){const{missing:r,onWarn:o}=t;if(r!==null){const u=r(t,s,e,n);return yt(u)?u:e}else return e}function zn(t,e,s){const a=t;a.__localeChainCache=new Map,t.localeFallbacker(t,s,e)}function eS(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function iS(t,e){const s=e.indexOf(t);if(s===-1)return!1;for(let a=s+1;a<e.length;a++)if(eS(t,e[a]))return!0;return!1}function lp(t,...e){const{datetimeFormats:s,unresolving:a,fallbackLocale:n,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:u}=t,[l,d,c,b]=Vu(...e),p=pe(c.missingWarn)?c.missingWarn:t.missingWarn;pe(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const m=!!c.part,g=sc(t,c),h=o(t,n,g);if(!yt(l)||l==="")return new Intl.DateTimeFormat(g,b).format(d);let y={},f,v=null;const _="datetime format";for(let z=0;z<h.length&&(f=h[z],y=s[f]||{},v=y[l],!Ht(v));z++)ac(t,l,f,p,_);if(!Ht(v)||!yt(f))return a?cl:l;let k=`${f}__${l}`;ul(b)||(k=`${k}__${JSON.stringify(b)}`);let S=u.get(k);return S||(S=new Intl.DateTimeFormat(f,Be({},v,b)),u.set(k,S)),m?S.formatToParts(d):S.format(d)}const f2=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vu(...t){const[e,s,a,n]=t,r=ae();let o=ae(),u;if(yt(e)){const l=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ys(hs.INVALID_ISO_DATE_ARGUMENT);const d=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();u=new Date(d);try{u.toISOString()}catch{throw ys(hs.INVALID_ISO_DATE_ARGUMENT)}}else if(qk(e)){if(isNaN(e.getTime()))throw ys(hs.INVALID_DATE_ARGUMENT);u=e}else if(Se(e))u=e;else throw ys(hs.INVALID_ARGUMENT);return yt(s)?r.key=s:Ht(s)&&Object.keys(s).forEach(l=>{f2.includes(l)?o[l]=s[l]:r[l]=s[l]}),yt(a)?r.locale=a:Ht(a)&&(o=a),Ht(n)&&(o=n),[r.key||"",u,r,o]}function up(t,e,s){const a=t;for(const n in s){const r=`${e}__${n}`;a.__datetimeFormatters.has(r)&&a.__datetimeFormatters.delete(r)}}function dp(t,...e){const{numberFormats:s,unresolving:a,fallbackLocale:n,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:u}=t,[l,d,c,b]=qu(...e),p=pe(c.missingWarn)?c.missingWarn:t.missingWarn;pe(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const m=!!c.part,g=sc(t,c),h=o(t,n,g);if(!yt(l)||l==="")return new Intl.NumberFormat(g,b).format(d);let y={},f,v=null;const _="number format";for(let z=0;z<h.length&&(f=h[z],y=s[f]||{},v=y[l],!Ht(v));z++)ac(t,l,f,p,_);if(!Ht(v)||!yt(f))return a?cl:l;let k=`${f}__${l}`;ul(b)||(k=`${k}__${JSON.stringify(b)}`);let S=u.get(k);return S||(S=new Intl.NumberFormat(f,Be({},v,b)),u.set(k,S)),m?S.formatToParts(d):S.format(d)}const v2=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function qu(...t){const[e,s,a,n]=t,r=ae();let o=ae();if(!Se(e))throw ys(hs.INVALID_ARGUMENT);const u=e;return yt(s)?r.key=s:Ht(s)&&Object.keys(s).forEach(l=>{v2.includes(l)?o[l]=s[l]:r[l]=s[l]}),yt(a)?r.locale=a:Ht(a)&&(o=a),Ht(n)&&(o=n),[r.key||"",u,r,o]}function cp(t,e,s){const a=t;for(const n in s){const r=`${e}__${n}`;a.__numberFormatters.has(r)&&a.__numberFormatters.delete(r)}}const sS=t=>t,aS=t=>"",nS="text",rS=t=>t.length===0?"":tc(t),oS=$k;function bp(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function lS(t){const e=Se(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Se(t.named.count)||Se(t.named.n))?Se(t.named.count)?t.named.count:Se(t.named.n)?t.named.n:e:e}function uS(t,e){e.count||(e.count=t),e.n||(e.n=t)}function dS(t={}){const e=t.locale,s=lS(t),a=Xt(t.pluralRules)&&yt(e)&&be(t.pluralRules[e])?t.pluralRules[e]:bp,n=Xt(t.pluralRules)&&yt(e)&&be(t.pluralRules[e])?bp:void 0,r=f=>f[a(s,f.length,n)],o=t.list||[],u=f=>o[f],l=t.named||ae();Se(t.pluralIndex)&&uS(s,l);const d=f=>l[f];function c(f,v){const _=be(t.messages)?t.messages(f,!!v):Xt(t.messages)?t.messages[f]:!1;return _||(t.parent?t.parent.message(f):aS)}const b=f=>t.modifiers?t.modifiers[f]:sS,p=Ht(t.processor)&&be(t.processor.normalize)?t.processor.normalize:rS,m=Ht(t.processor)&&be(t.processor.interpolate)?t.processor.interpolate:oS,g=Ht(t.processor)&&yt(t.processor.type)?t.processor.type:nS,y={list:u,named:d,plural:r,linked:(f,...v)=>{const[_,k]=v;let S="text",z="";v.length===1?Xt(_)?(z=_.modifier||z,S=_.type||S):yt(_)&&(z=_||z):v.length===2&&(yt(_)&&(z=_||z),yt(k)&&(S=k||S));const A=c(f,!0)(y),w=S==="vnode"&&ye(A)&&z?A[0]:A;return z?b(z)(w,S):w},message:c,type:g,interpolate:m,normalize:p,values:Be(ae(),o,l)};return y}const pp=()=>"",Ti=t=>be(t);function mp(t,...e){const{fallbackFormat:s,postTranslation:a,unresolving:n,messageCompiler:r,fallbackLocale:o,messages:u}=t,[l,d]=Uu(...e),c=pe(d.missingWarn)?d.missingWarn:t.missingWarn,b=pe(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,p=pe(d.escapeParameter)?d.escapeParameter:t.escapeParameter,m=!!d.resolvedMessage,g=yt(d.default)||pe(d.default)?pe(d.default)?r?l:()=>l:d.default:s?r?l:()=>l:null,h=s||g!=null&&(yt(g)||be(g)),y=sc(t,d);p&&cS(d);let[f,v,_]=m?[l,y,u[y]||ae()]:g2(t,l,y,o,b,c),k=f,S=l;if(!m&&!(yt(k)||ss(k)||Ti(k))&&h&&(k=g,S=k),!m&&(!(yt(k)||ss(k)||Ti(k))||!yt(v)))return n?cl:l;let z=!1;const A=()=>{z=!0},w=Ti(k)?k:_2(t,l,v,k,S,A);if(z)return k;const I=mS(t,v,_,d),T=dS(I),D=bS(t,w,T);let j=a?a(D,l):D;if(p&&yt(j)&&(j=Hk(j)),__INTLIFY_PROD_DEVTOOLS__){const B={timestamp:Date.now(),key:yt(l)?l:Ti(k)?k.key:"",locale:v||(Ti(k)?k.locale:""),format:yt(k)?k:Ti(k)?k.source:"",message:j};B.meta=Be({},t.__meta,Qw()||{}),xw(B)}return j}function cS(t){ye(t.list)?t.list=t.list.map(e=>yt(e)?Yb(e):e):Xt(t.named)&&Object.keys(t.named).forEach(e=>{yt(t.named[e])&&(t.named[e]=Yb(t.named[e]))})}function g2(t,e,s,a,n,r){const{messages:o,onWarn:u,messageResolver:l,localeFallbacker:d}=t,c=d(t,a,s);let b=ae(),p,m=null;const g="translate";for(let h=0;h<c.length&&(p=c[h],b=o[p]||ae(),(m=l(b,e))===null&&(m=b[e]),!(yt(m)||ss(m)||Ti(m)));h++)if(!iS(p,c)){const y=ac(t,e,p,r,g);y!==e&&(m=y)}return[m,p,b]}function _2(t,e,s,a,n,r){const{messageCompiler:o,warnHtmlMessage:u}=t;if(Ti(a)){const d=a;return d.locale=d.locale||s,d.key=d.key||e,d}if(o==null){const d=(()=>a);return d.locale=s,d.key=e,d}const l=o(a,pS(t,s,n,a,u,r));return l.locale=s,l.key=e,l.source=a,l}function bS(t,e,s){return e(s)}function Uu(...t){const[e,s,a]=t,n=ae();if(!yt(e)&&!Se(e)&&!Ti(e)&&!ss(e))throw ys(hs.INVALID_ARGUMENT);const r=Se(e)?String(e):(Ti(e),e);return Se(s)?n.plural=s:yt(s)?n.default=s:Ht(s)&&!ul(s)?n.named=s:ye(s)&&(n.list=s),Se(a)?n.plural=a:yt(a)?n.default=a:Ht(a)&&Be(n,a),[r,n]}function pS(t,e,s,a,n,r){return{locale:e,key:s,warnHtmlMessage:n,onError:o=>{throw r&&r(o),o},onCacheKey:o=>Gk(e,s,o)}}function mS(t,e,s,a){const{modifiers:n,pluralRules:r,messageResolver:o,fallbackLocale:u,fallbackWarn:l,missingWarn:d,fallbackContext:c}=t,p={locale:e,modifiers:n,pluralRules:r,messages:(m,g)=>{let h=o(s,m);if(h==null&&(c||g)){const[,,y]=g2(c||t,m,e,u,l,d);h=o(y,m)}if(yt(h)||ss(h)){let y=!1;const v=_2(t,m,e,h,m,()=>{y=!0});return y?pp:v}else return Ti(h)?h:pp}};return t.processor&&(p.processor=t.processor),a.list&&(p.list=a.list),a.named&&(p.named=a.named),Se(a.plural)&&(p.pluralIndex=a.plural),p}hw();const fS="11.2.1";function vS(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Mi={UNEXPECTED_RETURN_TYPE:Dw,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function qi(t,...e){return dl(t,null,void 0)}const Hu=Qs("__translateVNode"),Wu=Qs("__datetimeParts"),Ku=Qs("__numberParts"),gS=Qs("__setPluralRules"),_S=Qs("__injectWithOption"),$u=Qs("__dispose");function sr(t){if(!Xt(t)||ss(t))return t;for(const e in t)if(Ni(t,e))if(!e.includes("."))Xt(t[e])&&sr(t[e]);else{const s=e.split("."),a=s.length-1;let n=t,r=!1;for(let o=0;o<a;o++){if(s[o]==="__proto__")throw new Error(`unsafe key: ${s[o]}`);if(s[o]in n||(n[s[o]]=ae()),!Xt(n[s[o]])){r=!0;break}n=n[s[o]]}if(r||(ss(n)?l2.includes(s[a])||delete t[e]:(n[s[a]]=t[e],delete t[e])),!ss(n)){const o=n[s[a]];Xt(o)&&sr(o)}}return t}function h2(t,e){const{messages:s,__i18n:a,messageResolver:n,flatJson:r}=e,o=Ht(s)?s:ye(a)?ae():{[t]:ae()};if(ye(a)&&a.forEach(u=>{if("locale"in u&&"resource"in u){const{locale:l,resource:d}=u;l?(o[l]=o[l]||ae(),ro(d,o[l])):ro(d,o)}else yt(u)&&ro(JSON.parse(u),o)}),n==null&&r)for(const u in o)Ni(o,u)&&sr(o[u]);return o}function y2(t){return t.type}function hS(t,e,s){let a=Xt(e.messages)?e.messages:ae();"__i18nGlobal"in s&&(a=h2(t.locale.value,{messages:a,__i18n:s.__i18nGlobal}));const n=Object.keys(a);n.length&&n.forEach(r=>{t.mergeLocaleMessage(r,a[r])});{if(Xt(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Xt(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function fp(t){return L(pn,null,t,0)}function nc(){return Es()}const vp="__INTLIFY_META__",gp=()=>[],yS=()=>!1;let _p=0;function hp(t){return((e,s,a,n)=>t(s,a,nc()||void 0,n))}const kS=()=>{const t=nc();let e=null;return t&&(e=y2(t)[vp])?{[vp]:e}:null};function k2(t={}){const{__root:e,__injectWithOption:s}=t,a=e===void 0,n=t.flatJson,r=Po?Y:It;let o=pe(t.inheritLocale)?t.inheritLocale:!0;const u=r(e&&o?e.locale.value:yt(t.locale)?t.locale:Co),l=r(e&&o?e.fallbackLocale.value:yt(t.fallbackLocale)||ye(t.fallbackLocale)||Ht(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:u.value),d=r(h2(u.value,t)),c=r(Ht(t.datetimeFormats)?t.datetimeFormats:{[u.value]:{}}),b=r(Ht(t.numberFormats)?t.numberFormats:{[u.value]:{}});let p=e?e.missingWarn:pe(t.missingWarn)||jo(t.missingWarn)?t.missingWarn:!0,m=e?e.fallbackWarn:pe(t.fallbackWarn)||jo(t.fallbackWarn)?t.fallbackWarn:!0,g=e?e.fallbackRoot:pe(t.fallbackRoot)?t.fallbackRoot:!0,h=!!t.fallbackFormat,y=be(t.missing)?t.missing:null,f=be(t.missing)?hp(t.missing):null,v=be(t.postTranslation)?t.postTranslation:null,_=e?e.warnHtmlMessage:pe(t.warnHtmlMessage)?t.warnHtmlMessage:!0,k=!!t.escapeParameter;const S=e?e.modifiers:Ht(t.modifiers)?t.modifiers:{};let z=t.pluralRules||e&&e.pluralRules,A;A=(()=>{a&&rp(null);const q={version:fS,locale:u.value,fallbackLocale:l.value,messages:d.value,modifiers:S,pluralRules:z,missing:f===null?void 0:f,missingWarn:p,fallbackWarn:m,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:_,escapeParameter:k,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=c.value,q.numberFormats=b.value,q.__datetimeFormatters=Ht(A)?A.__datetimeFormatters:void 0,q.__numberFormatters=Ht(A)?A.__numberFormatters:void 0;const K=tS(q);return a&&rp(K),K})(),zn(A,u.value,l.value);function I(){return[u.value,l.value,d.value,c.value,b.value]}const T=O({get:()=>u.value,set:q=>{A.locale=q,u.value=q}}),D=O({get:()=>l.value,set:q=>{A.fallbackLocale=q,l.value=q,zn(A,u.value,q)}}),j=O(()=>d.value),B=O(()=>c.value),H=O(()=>b.value);function st(){return be(v)?v:null}function ut(q){v=q,A.postTranslation=q}function rt(){return y}function tt(q){q!==null&&(f=hp(q)),y=q,A.missing=f}const ct=(q,K,kt,Dt,Nt,je)=>{I();let he;try{__INTLIFY_PROD_DEVTOOLS__,a||(A.fallbackContext=e?Jw():void 0),he=q(A)}finally{__INTLIFY_PROD_DEVTOOLS__,a||(A.fallbackContext=void 0)}if(kt!=="translate exists"&&Se(he)&&he===cl||kt==="translate exists"&&!he){const[wi,xi]=K();return e&&g?Dt(e):Nt(wi)}else{if(je(he))return he;throw qi(Mi.UNEXPECTED_RETURN_TYPE)}};function pt(...q){return ct(K=>Reflect.apply(mp,null,[K,...q]),()=>Uu(...q),"translate",K=>Reflect.apply(K.t,K,[...q]),K=>K,K=>yt(K))}function St(...q){const[K,kt,Dt]=q;if(Dt&&!Xt(Dt))throw qi(Mi.INVALID_ARGUMENT);return pt(K,kt,Be({resolvedMessage:!0},Dt||{}))}function lt(...q){return ct(K=>Reflect.apply(lp,null,[K,...q]),()=>Vu(...q),"datetime format",K=>Reflect.apply(K.d,K,[...q]),()=>ap,K=>yt(K)||ye(K))}function dt(...q){return ct(K=>Reflect.apply(dp,null,[K,...q]),()=>qu(...q),"number format",K=>Reflect.apply(K.n,K,[...q]),()=>ap,K=>yt(K)||ye(K))}function jt(q){return q.map(K=>yt(K)||Se(K)||pe(K)?fp(String(K)):K)}const Ft={normalize:jt,interpolate:q=>q,type:"vnode"};function P(...q){return ct(K=>{let kt;const Dt=K;try{Dt.processor=Ft,kt=Reflect.apply(mp,null,[Dt,...q])}finally{Dt.processor=null}return kt},()=>Uu(...q),"translate",K=>K[Hu](...q),K=>[fp(K)],K=>ye(K))}function R(...q){return ct(K=>Reflect.apply(dp,null,[K,...q]),()=>qu(...q),"number format",K=>K[Ku](...q),gp,K=>yt(K)||ye(K))}function F(...q){return ct(K=>Reflect.apply(lp,null,[K,...q]),()=>Vu(...q),"datetime format",K=>K[Wu](...q),gp,K=>yt(K)||ye(K))}function Z(q){z=q,A.pluralRules=z}function ot(q,K){return ct(()=>{if(!q)return!1;const kt=yt(K)?K:u.value,Dt=G(kt),Nt=A.messageResolver(Dt,q);return ss(Nt)||Ti(Nt)||yt(Nt)},()=>[q],"translate exists",kt=>Reflect.apply(kt.te,kt,[q,K]),yS,kt=>pe(kt))}function E(q){let K=null;const kt=u2(A,l.value,u.value);for(let Dt=0;Dt<kt.length;Dt++){const Nt=d.value[kt[Dt]]||{},je=A.messageResolver(Nt,q);if(je!=null){K=je;break}}return K}function x(q){const K=E(q);return K??(e?e.tm(q)||{}:{})}function G(q){return d.value[q]||{}}function Q(q,K){if(n){const kt={[q]:K};for(const Dt in kt)Ni(kt,Dt)&&sr(kt[Dt]);K=kt[q]}d.value[q]=K,A.messages=d.value}function it(q,K){d.value[q]=d.value[q]||{};const kt={[q]:K};if(n)for(const Dt in kt)Ni(kt,Dt)&&sr(kt[Dt]);K=kt[q],ro(K,d.value[q]),A.messages=d.value}function J(q){return c.value[q]||{}}function C(q,K){c.value[q]=K,A.datetimeFormats=c.value,up(A,q,K)}function M(q,K){c.value[q]=Be(c.value[q]||{},K),A.datetimeFormats=c.value,up(A,q,K)}function V(q){return b.value[q]||{}}function U(q,K){b.value[q]=K,A.numberFormats=b.value,cp(A,q,K)}function ft(q,K){b.value[q]=Be(b.value[q]||{},K),A.numberFormats=b.value,cp(A,q,K)}_p++,e&&Po&&(zt(e.locale,q=>{o&&(u.value=q,A.locale=q,zn(A,u.value,l.value))}),zt(e.fallbackLocale,q=>{o&&(l.value=q,A.fallbackLocale=q,zn(A,u.value,l.value))}));const at={id:_p,locale:T,fallbackLocale:D,get inheritLocale(){return o},set inheritLocale(q){o=q,q&&e&&(u.value=e.locale.value,l.value=e.fallbackLocale.value,zn(A,u.value,l.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:j,get modifiers(){return S},get pluralRules(){return z||{}},get isGlobal(){return a},get missingWarn(){return p},set missingWarn(q){p=q,A.missingWarn=p},get fallbackWarn(){return m},set fallbackWarn(q){m=q,A.fallbackWarn=m},get fallbackRoot(){return g},set fallbackRoot(q){g=q},get fallbackFormat(){return h},set fallbackFormat(q){h=q,A.fallbackFormat=h},get warnHtmlMessage(){return _},set warnHtmlMessage(q){_=q,A.warnHtmlMessage=q},get escapeParameter(){return k},set escapeParameter(q){k=q,A.escapeParameter=q},t:pt,getLocaleMessage:G,setLocaleMessage:Q,mergeLocaleMessage:it,getPostTranslationHandler:st,setPostTranslationHandler:ut,getMissingHandler:rt,setMissingHandler:tt,[gS]:Z};return at.datetimeFormats=B,at.numberFormats=H,at.rt=St,at.te=ot,at.tm=x,at.d=lt,at.n=dt,at.getDateTimeFormat=J,at.setDateTimeFormat=C,at.mergeDateTimeFormat=M,at.getNumberFormat=V,at.setNumberFormat=U,at.mergeNumberFormat=ft,at[_S]=s,at[Hu]=P,at[Wu]=F,at[Ku]=R,at}const rc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function wS({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((a,n)=>[...a,...n.type===vt?n.children:[n]],[]):e.reduce((s,a)=>{const n=t[a];return n&&(s[a]=n()),s},ae())}function w2(){return vt}const SS=Te({name:"i18n-t",props:Be({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Se(t)||!isNaN(t)}},rc),setup(t,e){const{slots:s,attrs:a}=e,n=t.i18n||bl({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(s).filter(b=>b[0]!=="_"),o=ae();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=yt(t.plural)?+t.plural:t.plural);const u=wS(e,r),l=n[Hu](t.keypath,u,o),d=Be(ae(),a),c=yt(t.tag)||Xt(t.tag)?t.tag:w2();return ue(c,d,l)}}}),yp=SS;function AS(t){return ye(t)&&!yt(t[0])}function S2(t,e,s,a){const{slots:n,attrs:r}=e;return()=>{const o={part:!0};let u=ae();t.locale&&(o.locale=t.locale),yt(t.format)?o.key=t.format:Xt(t.format)&&(yt(t.format.key)&&(o.key=t.format.key),u=Object.keys(t.format).reduce((p,m)=>s.includes(m)?Be(ae(),p,{[m]:t.format[m]}):p,ae()));const l=a(t.value,o,u);let d=[o.key];ye(l)?d=l.map((p,m)=>{const g=n[p.type],h=g?g({[p.type]:p.value,index:m,parts:l}):[p.value];return AS(h)&&(h[0].key=`${p.type}-${m}`),h}):yt(l)&&(d=[l]);const c=Be(ae(),r),b=yt(t.tag)||Xt(t.tag)?t.tag:w2();return ue(b,c,d)}}const zS=Te({name:"i18n-n",props:Be({value:{type:Number,required:!0},format:{type:[String,Object]}},rc),setup(t,e){const s=t.i18n||bl({useScope:t.scope,__useComponent:!0});return S2(t,e,v2,(...a)=>s[Ku](...a))}}),kp=zS;function TS(t,e){const s=t;if(t.mode==="composition")return s.__getInstance(e)||t.global;{const a=s.__getInstance(e);return a!=null?a.__composer:t.global.__composer}}function PS(t){const e=o=>{const{instance:u,value:l}=o;if(!u||!u.$)throw qi(Mi.UNEXPECTED_ERROR);const d=TS(t,u.$),c=wp(l);return[Reflect.apply(d.t,d,[...Sp(c)]),d]};return{created:(o,u)=>{const[l,d]=e(u);Po&&t.global===d&&(o.__i18nWatcher=zt(d.locale,()=>{u.instance&&u.instance.$forceUpdate()})),o.__composer=d,o.textContent=l},unmounted:o=>{Po&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:u})=>{if(o.__composer){const l=o.__composer,d=wp(u);o.textContent=Reflect.apply(l.t,l,[...Sp(d)])}},getSSRProps:o=>{const[u]=e(o);return{textContent:u}}}}function wp(t){if(yt(t))return{path:t};if(Ht(t)){if(!("path"in t))throw qi(Mi.REQUIRED_VALUE,"path");return t}else throw qi(Mi.INVALID_VALUE)}function Sp(t){const{path:e,locale:s,args:a,choice:n,plural:r}=t,o={},u=a||{};return yt(s)&&(o.locale=s),Se(n)&&(o.plural=n),Se(r)&&(o.plural=r),[e,u,o]}function jS(t,e,...s){const a=Ht(s[0])?s[0]:{};(pe(a.globalInstall)?a.globalInstall:!0)&&([yp.name,"I18nT"].forEach(r=>t.component(r,yp)),[kp.name,"I18nN"].forEach(r=>t.component(r,kp)),[zp.name,"I18nD"].forEach(r=>t.component(r,zp))),t.directive("t",PS(e))}const CS=Qs("global-vue-i18n");function ES(t={}){const e=pe(t.globalInjection)?t.globalInjection:!0,s=new Map,[a,n]=MS(t),r=Qs("");function o(c){return s.get(c)||null}function u(c,b){s.set(c,b)}function l(c){s.delete(c)}const d={get mode(){return"composition"},async install(c,...b){if(c.__VUE_I18N_SYMBOL__=r,c.provide(c.__VUE_I18N_SYMBOL__,d),Ht(b[0])){const g=b[0];d.__composerExtend=g.__composerExtend,d.__vueI18nExtend=g.__vueI18nExtend}let p=null;e&&(p=BS(c,d.global)),jS(c,d,...b);const m=c.unmount;c.unmount=()=>{p&&p(),d.dispose(),m()}},get global(){return n},dispose(){a.stop()},__instances:s,__getInstance:o,__setInstance:u,__deleteInstance:l};return d}function bl(t={}){const e=nc();if(e==null)throw qi(Mi.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw qi(Mi.NOT_INSTALLED);const s=xS(e),a=DS(s),n=y2(e),r=IS(t,n);if(r==="global")return hS(a,t,n),a;if(r==="parent"){let l=LS(s,e,t.__useComponent);return l==null&&(l=a),l}const o=s;let u=o.__getInstance(e);if(u==null){const l=Be({},t);"__i18n"in n&&(l.__i18n=n.__i18n),a&&(l.__root=a),u=k2(l),o.__composerExtend&&(u[$u]=o.__composerExtend(u)),OS(o,e,u),o.__setInstance(e,u)}return u}function MS(t,e){const s=an(),a=s.run(()=>k2(t));if(a==null)throw qi(Mi.UNEXPECTED_ERROR);return[s,a]}function xS(t){const e=Wt(t.isCE?CS:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw qi(t.isCE?Mi.NOT_INSTALLED_WITH_PROVIDE:Mi.UNEXPECTED_ERROR);return e}function IS(t,e){return ul(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function DS(t){return t.mode==="composition"?t.global:t.global.__composer}function LS(t,e,s=!1){let a=null;const n=e.root;let r=RS(e,s);for(;r!=null;){const o=t;if(t.mode==="composition"&&(a=o.__getInstance(r)),a!=null||n===r)break;r=r.parent}return a}function RS(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function OS(t,e,s){Le(()=>{},e),yr(()=>{const a=s;t.__deleteInstance(e);const n=a[$u];n&&(n(),delete a[$u])},e)}const NS=["locale","fallbackLocale","availableLocales"],Ap=["t","rt","d","n","tm","te"];function BS(t,e){const s=Object.create(null);return NS.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r)throw qi(Mi.UNEXPECTED_ERROR);const o=ge(r.value)?{get(){return r.value.value},set(u){r.value.value=u}}:{get(){return r.get&&r.get()}};Object.defineProperty(s,n,o)}),t.config.globalProperties.$i18n=s,Ap.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw qi(Mi.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${n}`,r)}),()=>{delete t.config.globalProperties.$i18n,Ap.forEach(n=>{delete t.config.globalProperties[`$${n}`]})}}const FS=Te({name:"i18n-d",props:Be({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},rc),setup(t,e){const s=t.i18n||bl({useScope:t.scope,__useComponent:!0});return S2(t,e,f2,(...a)=>s[Wu](...a))}}),zp=FS;vS();$w(Cw);Yw(Hw);Xw(u2);if(__INTLIFY_PROD_DEVTOOLS__){const t=Qd();t.__INTLIFY__=!0,Ew(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Vl=t=>t&&typeof t=="object"&&!Array.isArray(t),Yu=(t,...e)=>{if(!e.length)return t;const s=e.shift();if(Vl(t)&&Vl(s))for(const a in s)Vl(s[a])?(t[a]||Object.assign(t,{[a]:{}}),Yu(t[a],s[a])):Object.assign(t,{[a]:s[a]});return Yu(t,...e)},GS=Yu({},{cs:{actions:{t:0,b:{t:2,i:[{t:3}],s:"Akce"}},add_library:{t:0,b:{t:2,i:[{t:3}],s:"Přidat do knihovny"}},add_playlist:{t:0,b:{t:2,i:[{t:3}],s:"Přidat do playlistu..."}},add_queue:{t:0,b:{t:2,i:[{t:3}],s:"Přidat do fronty"}},add_url_item:{t:0,b:{t:2,i:[{t:3}],s:"Přidat položku z adresy URL"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},album_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Skladby alba"}},album_type:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},compilation:{t:0,b:{t:2,i:[{t:3}],s:"Kompilace"}},ep:{t:0,b:{t:2,i:[{t:3}],s:"EP"}},single:{t:0,b:{t:2,i:[{t:3}],s:"Singl"}},unknown:{t:0,b:{t:2,i:[{t:3}],s:"Neznámý typ alba"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiokniha"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alba"}},appears_on:{t:0,b:{t:2,i:[{t:3}],s:"Objevuje se na"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Umělec"}},artist_albums:{t:0,b:{t:2,i:[{t:3}],s:"Alba"}},artist_toptracks:{t:0,b:{t:2,i:[{t:3}],s:"Nejlepší skladby"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Umělci"}},browse:{t:0,b:{t:2,i:[{t:3}],s:"Procházet"}},clear_selection:{t:0,b:{t:2,i:[{t:3}],s:"Zrušit výběr"}},close:{t:0,b:{t:2,i:[{t:3}],s:"Zavřít"}},create_playlist:{t:0,b:{t:2,i:[{t:3,v:"Vytvořit nový playlist na "},{t:5,i:0}]}},crossfade_disabled:{t:0,b:{t:2,i:[{t:3}],s:"Crossfade je zakázán"}},crossfade_enabled:{t:0,b:{t:2,i:[{t:3}],s:"Crossfade je povolen"}},dark_mode:{t:0,b:{t:2,i:[{t:3}],s:"Tmavý režim"}},delete_db:{t:0,b:{t:2,i:[{t:3}],s:"Smazat položku z databáze"}},details:{t:0,b:{t:2,i:[{t:3}],s:"Podrobnosti"}},enter_url:{t:0,b:{t:2,i:[{t:3}],s:"Zadejte adresu URL, kterou chcete ručně přidat do databáze."}},external_source_active:{t:0,b:{t:2,i:[{t:3,v:"Aktivní externí zdroj: "},{t:5,i:0}]}},goto_album:{t:0,b:{t:2,i:[{t:3,v:"Přejít na album "},{t:5,i:0}]}},goto_artist:{t:0,b:{t:2,i:[{t:3,v:"Přejít na umělce "},{t:5,i:0}]}},home:{t:0,b:{t:2,i:[{t:3}],s:"Domov"}},items_selected:{t:0,b:{t:2,i:[{t:3,v:"Počet vybraných položek: "},{t:5,i:0}]}},items_total:{t:0,b:{t:2,i:[{t:3,v:"Celkový počet položek: "},{t:5,i:0}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Knihovna"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"Data se načítají ze serveru."}},mass:{t:0,b:{t:2,i:[{t:3}],s:"Music Assistant"}},new_playlist_name:{t:0,b:{t:2,i:[{t:3}],s:"Zadejte název nového playlistu"}},no_content:{t:0,b:{t:2,i:[{t:3}],s:"Nebyly nalezeny žádné položky."}},no_content_filter:{t:0,b:{t:2,i:[{t:3}],s:"Pro aktuální podmínky filtru/vyhledávání nebyly nalezeny žádné položky."}},no_player:{t:0,b:{t:2,i:[{t:3}],s:"Není vybrán žádný přehrávač"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Vypnuto"}},on:{t:0,b:{t:2,i:[{t:3}],s:"Zapnuto"}},other_versions:{t:0,b:{t:2,i:[{t:3}],s:"Další verze"}},perform_action:{t:0,b:{t:2,i:[{t:3,v:"Provést akci u "},{t:5,i:0},{t:3,v:" položek"}]}},play:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát"}},play_album_from:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát album odtud"}},play_next:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát další"}},play_now:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát nyní"}},play_on:{t:0,b:{t:2,i:[{t:3,v:"Přehrát na: "},{t:5,i:0}]}},play_playlist_from:{t:0,b:{t:2,i:[{t:3}],s:"Přehrát Playlist odtud"}},play_radio:{t:0,b:{t:2,i:[{t:3}],s:"Spustit rádio"}},player_type:{group:{t:0,b:{t:2,i:[{t:3}],s:"Skupina"}},player:{t:0,b:{t:2,i:[{t:3}],s:"Přehrávač"}},stereo_pair:{t:0,b:{t:2,i:[{t:3}],s:"Stereofonní pár"}},sync_group:{t:0,b:{t:2,i:[{t:3}],s:"Sladěná skupina"}}},players:{t:0,b:{t:2,i:[{t:3}],s:"Přehrávače"}},playlist:{t:0,b:{t:2,i:[{t:3}],s:"Playlist"}},playlist_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Skladby playlistu"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisty"}},provider_details:{t:0,b:{t:2,i:[{t:3}],s:"Podrobnosti o poskytovateli"}},queue:{t:0,b:{t:2,i:[{t:3}],s:"Fronta"}},queue_clear:{t:0,b:{t:2,i:[{t:3}],s:"Smazat všechny položky ve frontě"}},queue_delete:{t:0,b:{t:2,i:[{t:3}],s:"Smazat položku"}},queue_empty:{t:0,b:{t:2,i:[{t:3}],s:"Žádné položky ve frontě"}},queue_move_down:{t:0,b:{t:2,i:[{t:3}],s:"Posunout dolů"}},queue_move_up:{t:0,b:{t:2,i:[{t:3}],s:"Posunout nahoru"}},queue_next_items:{t:0,b:{t:2,i:[{t:3}],s:"Další položky"}},queue_options:{t:0,b:{t:2,i:[{t:3}],s:"Možnosti fronty"}},queue_previous_items:{t:0,b:{t:2,i:[{t:3}],s:"Přehrané položky"}},queue_radio_based_on:{t:0,b:{t:2,i:[{t:3,v:"Fronta se dynamicky plní skladbami na základě "},{t:5,i:0},{t:3,v:" :"}]}},queue_radio_enabled:{t:0,b:{t:2,i:[{t:3}],s:"Režim rádia je povolen"}},radios:{t:0,b:{t:2,i:[{t:3}],s:"Rádio"}},read_more:{t:0,b:{t:2,i:[{t:3}],s:"Přečíst víc"}},refresh_item:{t:0,b:{t:2,i:[{t:3}],s:"Obnovit položku"}},remove_library:{t:0,b:{t:2,i:[{t:3}],s:"Odebrat z knihovny"}},remove_playlist:{t:0,b:{t:2,i:[{t:3}],s:"Odebrat z playlistu"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Vyhledávání"}},settings:{add_new:{t:0,b:{t:2,i:[{t:3}],s:"Přidat nový"}},add_provider:{t:0,b:{t:2,i:[{t:3}],s:"Přidat nového poskytovatele"}},advanced_settings:{t:0,b:{t:2,i:[{t:3}],s:"Pokročilá nastavení"}},check_docs:{t:0,b:{t:2,i:[{t:3}],s:"Podívat se na dokumentaci"}},codeowners:{t:0,b:{t:2,i:[{t:3}],s:"Autoři"}},config_player:{t:0,b:{t:2,i:[{t:3,v:"Konfigurovat přehrávač: "},{t:5,i:0}]}},configure:{t:0,b:{t:2,i:[{t:3}],s:"Konfigurovat"}},delete:{t:0,b:{t:2,i:[{t:3}],s:"Smazat"}},disable:{t:0,b:{t:2,i:[{t:3}],s:"Zakázat"}},documentation:{t:0,b:{t:2,i:[{t:3}],s:"Dokumentace"}},enable:{t:0,b:{t:2,i:[{t:3}],s:"Povolit"}},enable_player:{t:0,b:{t:2,i:[{t:3}],s:"Povolit tento přehrávač"}},enable_provider:{t:0,b:{t:2,i:[{t:3}],s:"Povolit tuto položku poskytovatele"}},enabled:{t:0,b:{t:2,i:[{t:3}],s:"Povolit"}},invalid_input:{t:0,b:{t:2,i:[{t:3}],s:"Vstup je neplatný"}},metadataproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé metadat"}},musicproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé hudebních služeb"}},need_help_setup_provider:{t:0,b:{t:2,i:[{t:3}],s:"Potřebujete pomoci s nastavením tohoto poskytovatele ?"}},no_providers:{t:0,b:{t:2,i:[{t:3}],s:"Žádní nakonfigurovaní poskytovatelé hudby"}},no_providers_detail:{t:0,b:{t:2,i:[{t:3}],s:"Spusťte aplikaci Music Assistant přidáním poskytovatelů hudby níže."}},not_loaded:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatel není (zatím) načten"}},password:{t:0,b:{t:2,i:[{t:3}],s:"Heslo"}},player_address:{t:0,b:{t:2,i:[{t:3}],s:"Adresa"}},player_disabled:{t:0,b:{t:2,i:[{t:3}],s:"Tento přehrávač je zakázán"}},player_id:{t:0,b:{t:2,i:[{t:3}],s:"ID přehrávače"}},player_model:{t:0,b:{t:2,i:[{t:3}],s:"Model"}},player_name:{t:0,b:{t:2,i:[{t:3}],s:"Vlastní název přehrávače"}},player_not_available:{t:0,b:{t:2,i:[{t:3}],s:"Tento přehrávač není (zatím) dostupný"}},player_provider:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatel"}},player_settings:{t:0,b:{t:2,i:[{t:3}],s:"Nastavení přehrávače"}},player_type_label:{t:0,b:{t:2,i:[{t:3}],s:"Typ přehrávače"}},playerproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé přehrávačů"}},players:{t:0,b:{t:2,i:[{t:3}],s:"Přehrávače"}},pluginproviders:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé pluginů"}},provider_disabled:{t:0,b:{t:2,i:[{t:3}],s:"Tato položka poskytovatele je zakázána"}},provider_name:{t:0,b:{t:2,i:[{t:3}],s:"Vlastní název pro tuto položku zprostředkovatele"}},providers:{t:0,b:{t:2,i:[{t:3}],s:"Poskytovatelé"}},reload:{t:0,b:{t:2,i:[{t:3}],s:"Znovu načíst"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Uložit"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Nastavení"}},setup_provider:{t:0,b:{t:2,i:[{t:3,v:"Nastavení poskytovatele: "},{t:5,i:0}]}},sync:{t:0,b:{t:2,i:[{t:3}],s:"Synchronizovat nyní"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"Tento poskytovatel se nyní synchronizuje"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Uživatelské jméno"}},core:{t:0,b:{t:2,i:[{t:3}],s:"Jádro"}},core_modules:{t:0,b:{t:2,i:[{t:3}],s:"Moduly jádra"}},server_info:{t:0,b:{t:2,i:[{t:3}],s:"Informace o serveru"}},server_id:{t:0,b:{t:2,i:[{t:3}],s:"ID serveru"}},server_version:{t:0,b:{t:2,i:[{t:3}],s:"Verze serveru"}},server_base_url:{t:0,b:{t:2,i:[{t:3}],s:"Základní URL"}},server_as_addon:{t:0,b:{t:2,i:[{t:3}],s:"Doplněk Home Assistant"}},artists_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Umělci v knihovně"}},albums_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Alba v knihovně"}},tracks_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Skladby v knihovně"}},playlists_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Playlisty v knihovně"}},radio_in_library:{t:0,b:{t:2,i:[{t:3}],s:"Rádio v knihovně"}},server_logging:{t:0,b:{t:2,i:[{t:3}],s:"Logování serveru"}},download_log:{t:0,b:{t:2,i:[{t:3}],s:"Stáhnout soubor logu"}},edit_group_members:{t:0,b:{t:2,i:[{t:3}],s:"Upravit členy skupiny"}},add_new_provider_button:{t:0,b:{t:2,i:[{t:3,v:"Přidat "},{t:5,i:0},{t:3,v:" poskytovatele"}]}},add_group_player:{t:0,b:{t:2,i:[{t:3}],s:"Přidat skupinový přehrávač"}},group_members:{t:0,b:{t:2,i:[{t:3}],s:"Členové skupiny"}},log_level:{label:{t:0,b:{t:2,i:[{t:3}],s:"Úroveň logu"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Nastabení podrobnosti protokolu pro tohoto poskytovatele."}},options:{global:{t:0,b:{t:2,i:[{t:3}],s:"Globální"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Info"}},warning:{t:0,b:{t:2,i:[{t:3}],s:"Varování"}},error:{t:0,b:{t:2,i:[{t:3}],s:"Chyba"}},debug:{t:0,b:{t:2,i:[{t:3}],s:"Debug"}}}},flow_mode:{label:{t:0,b:{t:2,i:[{t:3}],s:"Povolení režimu toku fronty"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Povolte režim „flow“, kde jsou všechny stopy ve frontě odesílány jako nepřetržitý zvukový stream.
|
|
63
63
|
Použijte pro přehrávače, které nativně nepodporují funkci gapless a/nebo crossfading, nebo pokud má přehrávač potíže s přechodem mezi skladbami.`}}},auto_play:{label:{t:0,b:{t:2,i:[{t:3}],s:"Automatické přehrávání (obnovení po zapnutí)"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Po zapnutí tohoto přehrávače automaticky spustit přehrávání (pokud jsou položky ve frontě)."}}},output_channels:{label:{t:0,b:{t:2,i:[{t:3}],s:"Režim výstupního kanálu"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Tento přehrávač můžete nakonfigurovat tak, aby přehrával pouze levý nebo pravý kanál, například pro vytvoření stereo páru se 2 přehrvači."}},options:{stereo:{t:0,b:{t:2,i:[{t:3}],s:"Stereo (oba kanály)"}},left:{t:0,b:{t:2,i:[{t:3}],s:"Pouze levý kanál"}},right:{t:0,b:{t:2,i:[{t:3}],s:"Pouze pravý kanál"}},mono:{t:0,b:{t:2,i:[{t:3}],s:"Mono (oba kanály)"}}}},volume_normalization:{label:{t:0,b:{t:2,i:[{t:3}],s:"Povolení normalizace hlasitosti (na základě EBU-R128)"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Povolit normalizaci hlasitosti na základě standardu EBU-R128 bez ovlivnění dynamického rozsahu"}}},volume_normalization_target:{label:{t:0,b:{t:2,i:[{t:3}],s:"Cílová úroveň pro normalizaci hlasitosti"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Upravit průměrnou (vnímanou) hlasitost na tuto cílovou úroveň, výchozí je -17 LUFS
|
|
64
64
|
|
|
65
65
|
**UPOZORNĚNÍ:** Nastavení příliš vysoké úrovně může způsobit oříznutí signálu!`}}},eq_bass:{label:{t:0,b:{t:2,i:[{t:3}],s:"Ekvalizér: basy"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Pomocí vestavěného základního ekvalizéru můžete upravit úroveň basů (nízkých tónů) zvuku."}}},eq_mid:{label:{t:0,b:{t:2,i:[{t:3}],s:"Ekvalizér: středy"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Pomocí vestavěného základního ekvalizéru můžete upravit úroveň středů zvuku."}}},eq_treble:{label:{t:0,b:{t:2,i:[{t:3}],s:"Ekvalizér: výšky"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Pomocí vestavěného základního ekvalizéru můžete upravit úroveň vysokých tónů zvuku."}}},crossfade:{label:{t:0,b:{t:2,i:[{t:3}],s:"Povolit prolínání"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Povolení prolínání mezi skladbami (fronty)."}}},crossfade_duration:{label:{t:0,b:{t:2,i:[{t:3}],s:"Doba prolínání"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Doba prolínání mezi skladbami v sekundách (pokud je povoleno)"}}},hide_player:{label:{t:0,b:{t:2,i:[{t:3}],s:"Skrýt tento přehrávač v uživatelském rozhraní"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Skrýt tento přehrávač v uživatelském rozhraní.
|
|
@@ -305,7 +305,7 @@ It allows you for example to redirect the volume control commands to a different
|
|
|
305
305
|
It allows you for example to redirect the muting control commands to a different appliance, or disable it completely.
|
|
306
306
|
|
|
307
307
|
We offer a 'fake' mute control option, which will simulate muting by setting the volume to 0 and restoring the volume when unmuting.`}}},output_limiter:{label:{t:0,b:{t:2,i:[{t:3}],s:"Enable limiting to prevent clipping"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Activates a limiter that prevents audio distortion by making loud peaks quieter."}}},dsp_enabled:{t:0,b:{t:2,i:[{t:3}],s:"DSP is enabled"}},dsp_disabled:{t:0,b:{t:2,i:[{t:3}],s:"DSP is disabled"}},dsp_note_multi_device_group:{label:{t:0,b:{t:2,i:[{t:3}],s:"You can configure the DSP for each player individually."}}},dsp_note_multi_device_group_unsupported:{label:{t:0,b:{t:2,i:[{t:3}],s:"This group type does not support DSP when playing to multiple devices."}}},enable_builtin_player:{label:{t:0,b:{t:2,i:[{t:3}],s:"Allow playback to this device/browser"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Enable the (experimental) built-in player for this device/browser, which allows you to stream all Music Assistant content directly to this device."}}},add_group_player_desc_universal:{t:0,b:{t:2,i:[{t:3}],s:`By creating a Universal Player Group, you can group players from different providers/ecosystems together.
|
|
308
|
-
This will distribute the same audio to all member players (but not in sync).`}},edit_provider:{t:0,b:{t:2,i:[{t:3,v:"Edit provider: "},{t:5,i:0}]}},metadata:{t:0,b:{t:2,i:[{t:3}],s:"Metadata"}},metadataprovider:{t:0,b:{t:2,i:[{t:3}],s:"Metadata provider"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},musicprovider:{t:0,b:{t:2,i:[{t:3}],s:"Music provider"}},player:{t:0,b:{t:2,i:[{t:3}],s:"Player"}},playerprovider:{t:0,b:{t:2,i:[{t:3}],s:"Player provider"}},plugin:{t:0,b:{t:2,i:[{t:3}],s:"Plugin"}},pluginprovider:{t:0,b:{t:2,i:[{t:3}],s:"Plugin provider"}},providers_total:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" total provider"},{t:5,i:1}]}},stage:{label:{t:0,b:{t:2,i:[{t:3}],s:"Stage"}},options:{stable:{t:0,b:{t:2,i:[{t:3}],s:"Stable"}},beta:{t:0,b:{t:2,i:[{t:3}],s:"Beta"}},alpha:{t:0,b:{t:2,i:[{t:3}],s:"Alpha"}},experimental:{t:0,b:{t:2,i:[{t:3}],s:"Experimental"}},unmaintained:{t:0,b:{t:2,i:[{t:3}],s:"Unmaintained"}},deprecated:{t:0,b:{t:2,i:[{t:3}],s:"Deprecated"}}}}},show_info:{t:0,b:{t:2,i:[{t:3}],s:"Show info"}},show_select_boxes:{t:0,b:{t:2,i:[{t:3}],s:"Show selection boxes"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Shuffle"}},sort:{duration:{t:0,b:{t:2,i:[{t:3}],s:"Duration"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Position"}},provider:{t:0,b:{t:2,i:[{t:3}],s:"Provider"}},sort_name:{t:0,b:{t:2,i:[{t:3}],s:"Sort name"}},track_number:{t:0,b:{t:2,i:[{t:3}],s:"Track number"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Release year"}},position_desc:{t:0,b:{t:2,i:[{t:3}],s:"Position (descending)"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artist"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Alphabetically"}},name_desc:{t:0,b:{t:2,i:[{t:3}],s:"Alphabetically (descending)"}},recent:{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}},year_desc:{t:0,b:{t:2,i:[{t:3}],s:"Release year (descending)"}},duration_desc:{t:0,b:{t:2,i:[{t:3}],s:"Duration (descending)"}},original:{t:0,b:{t:2,i:[{t:3}],s:"Original"}},sort_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"Sort name (descending)"}},timestamp_added:{t:0,b:{t:2,i:[{t:3}],s:"Date added"}},timestamp_added_desc:{t:0,b:{t:2,i:[{t:3}],s:"Date added (descending)"}},timestamp_modified:{t:0,b:{t:2,i:[{t:3}],s:"Date updated"}},timestamp_modified_desc:{t:0,b:{t:2,i:[{t:3}],s:"Date updated (descending)"}},last_played:{t:0,b:{t:2,i:[{t:3}],s:"Last played"}},last_played_desc:{t:0,b:{t:2,i:[{t:3}],s:"Last played (descending)"}},play_count:{t:0,b:{t:2,i:[{t:3}],s:"Play count"}},play_count_desc:{t:0,b:{t:2,i:[{t:3}],s:"Play count (descending)"}},artist_name:{t:0,b:{t:2,i:[{t:3}],s:"Album artist"}},artist_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"Album artist (descending)"}}},state:{idle:{t:0,b:{t:2,i:[{t:3}],s:"idle"}},off:{t:0,b:{t:2,i:[{t:3}],s:"off"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"paused"}},playing:{t:0,b:{t:2,i:[{t:3}],s:"playing"}}},sync_now:{t:0,b:{t:2,i:[{t:3}],s:"Synchronize now"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"One or more music providers are being synchronized."}},tooltip:{album_artist_filter:{t:0,b:{t:2,i:[{t:3}],s:"Toggle album-artist filter"}},explicit:{t:0,b:{t:2,i:[{t:3}],s:"Explicit"}},filter_library:{t:0,b:{t:2,i:[{t:3}],s:"Toggle in-library/favorite filter"}},library:{t:0,b:{t:2,i:[{t:3}],s:"Toggle in-library/favorite"}},linked:{t:0,b:{t:2,i:[{t:3}],s:"This provideritem is linked to the current itemdetails"}},refresh:{t:0,b:{t:2,i:[{t:3}],s:"Refresh the items listing"}},refresh_new_content:{t:0,b:{t:2,i:[{t:3}],s:"New content is available, click to refresh the listing"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Show/hide search input"}},select_items:{t:0,b:{t:2,i:[{t:3}],s:"Select multiple items"}},sort_options:{t:0,b:{t:2,i:[{t:3}],s:"Sort options"}},toggle_view_mode:{t:0,b:{t:2,i:[{t:3}],s:"Toggle view mode list/thumbs"}},filter_favorites:{t:0,b:{t:2,i:[{t:3}],s:"Only show favorites"}},favorite:{t:0,b:{t:2,i:[{t:3}],s:"Mark/unmark as a favorite"}},open_provider_link:{t:0,b:{t:2,i:[{t:3}],s:"Open this item on the provider's website"}},collapse_expand:{t:0,b:{t:2,i:[{t:3}],s:"Collapse/expand this listing"}},back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},show_menu:{t:0,b:{t:2,i:[{t:3}],s:"Show/hide menu"}},search_filter_active:{t:0,b:{t:2,i:[{t:3}],s:"Search is currently filtering results"}},play_sample:{t:0,b:{t:2,i:[{t:3}],s:"Play sample"}},album_type:{t:0,b:{t:2,i:[{t:3}],s:"Album type"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"The server is processing a request or syncing music."}},primary_image:{t:0,b:{t:2,i:[{t:3}],s:"This is the primary image for this image type"}},copy_uri:{t:0,b:{t:2,i:[{t:3}],s:"Copy URI to clipboard"}},select_all:{t:0,b:{t:2,i:[{t:3}],s:"Select all items"}}},topresult:{t:0,b:{t:2,i:[{t:3}],s:"Top result"}},track:{t:0,b:{t:2,i:[{t:3}],s:"Track"}},track_number:{t:0,b:{t:2,i:[{t:3,v:"Disc "},{t:5,i:0},{t:3,v:" Track "},{t:5,i:1}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},try_global_search:{t:0,b:{t:2,i:[{t:3}],s:"Try global search"}},type_to_search:{t:0,b:{t:2,i:[{t:3}],s:"Type here to search..."}},volume_normalization:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization"}},play_now_replace:{t:0,b:{t:2,i:[{t:3}],s:"Play Now (clear queue)"}},currently_playing:{t:0,b:{t:2,i:[{t:3}],s:"Currently playing"}},favorites_add:{t:0,b:{t:2,i:[{t:3}],s:"Add to favorites"}},favorites_remove:{t:0,b:{t:2,i:[{t:3}],s:"Remove from favorites"}},confirm_library_remove:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to delete this item from the library? Any items depending on this item will also be recursively removed. Note that this will only remove this item from the library. If this is a music file on disk, it may return on the next sync."}},check_item_on_provider:{t:0,b:{t:2,i:[{t:3,v:"Check "},{t:5,i:0},{t:3,v:" on "},{t:5,i:1}]}},check_item_in_library:{t:0,b:{t:2,i:[{t:3,v:"Check "},{t:5,i:0},{t:3,v:" in the library"}]}},media_details:{t:0,b:{t:2,i:[{t:3}],s:"Media details"}},mapped_providers:{t:0,b:{t:2,i:[{t:3}],s:"Provider details"}},item_in_library:{t:0,b:{t:2,i:[{t:3}],s:"This item is available in the library"}},back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}},radiobrowser_by_country:{t:0,b:{t:2,i:[{t:3}],s:"By country"}},radiobrowser_by_tag:{t:0,b:{t:2,i:[{t:3}],s:"By tag"}},load_more_items:{t:0,b:{t:2,i:[{t:3}],s:"Load more items..."}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},muted:{t:0,b:{t:2,i:[{t:3}],s:"muted"}},enter_name:{t:0,b:{t:2,i:[{t:3}],s:"Enter a new (custom) name"}},image_url:{t:0,b:{t:2,i:[{t:3}],s:"Input the URL to an image or icon (optional)"}},invalid_input:{t:0,b:{t:2,i:[{t:3}],s:"The input was invalid"}},new_playlist:{t:0,b:{t:2,i:[{t:3}],s:"New playlist"}},create_playlist_on:{t:0,b:{t:2,i:[{t:3,v:"Create new playlist on "},{t:5,i:0}]}},view:{list:{t:0,b:{t:2,i:[{t:3}],s:"List view"}},panel:{t:0,b:{t:2,i:[{t:3}],s:"Thumbs view"}},panel_compact:{t:0,b:{t:2,i:[{t:3}],s:"Compact thumbs view"}}},play_replace:{t:0,b:{t:2,i:[{t:3}],s:"Play Now (clear queue)"}},played:{t:0,b:{t:2,i:[{t:3}],s:"Played"}},background_task_added:{t:0,b:{t:2,i:[{t:3}],s:"The action is performed by the server in the background and may take some time to complete. Keep an eye on the server log for progress."}},images:{t:0,b:{t:2,i:[{t:3}],s:"Images"}},image_type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},image_source:{t:0,b:{t:2,i:[{t:3}],s:"Source"}},image_make_primary:{t:0,b:{t:2,i:[{t:3}],s:"Make primary"}},update_metadata:{t:0,b:{t:2,i:[{t:3}],s:"Update metadata"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},transfer_queue:{t:0,b:{t:2,i:[{t:3}],s:"Transfer queue"}},power_on_player:{t:0,b:{t:2,i:[{t:3}],s:"Power on"}},power_off_player:{t:0,b:{t:2,i:[{t:3}],s:"Power off"}},powered_off_players:{t:0,b:{t:2,i:[{t:3}],s:"Unpowered players"}},sync_player_with:{t:0,b:{t:2,i:[{t:3}],s:"Synchronize with another player"}},open_player_settings:{t:0,b:{t:2,i:[{t:3}],s:"Open settings"}},select_repeat_mode:{t:0,b:{t:2,i:[{t:3}],s:"Select repeat mode"}},repeat_mode:{all:{t:0,b:{t:2,i:[{t:3}],s:"Repeat entire queue"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Repeat off"}},one:{t:0,b:{t:2,i:[{t:3}],s:"Repeat single track"}}},shuffle_disable:{t:0,b:{t:2,i:[{t:3}],s:"Disable shuffle"}},shuffle_enable:{t:0,b:{t:2,i:[{t:3}],s:"Enable shuffle"}},dont_stop_the_music_enable:{t:0,b:{t:2,i:[{t:3}],s:"Enable 'Don't stop the music!'"}},dont_stop_the_music_disable:{t:0,b:{t:2,i:[{t:3}],s:"Disable 'Don't stop the music!'"}},open_dsp_settings:{t:0,b:{t:2,i:[{t:3}],s:"Open DSP settings"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiobook"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},chapter:{t:0,b:{t:2,i:[{t:3}],s:"Chapter"}},chapters:{t:0,b:{t:2,i:[{t:3}],s:"Chapters"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},item_fully_played:{t:0,b:{t:2,i:[{t:3}],s:"This item has been fully played"}},item_in_progress:{t:0,b:{t:2,i:[{t:3}],s:"This item has been partially played"}},duration_in_seconds:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" seconds"}]}},mark_played:{t:0,b:{t:2,i:[{t:3}],s:"Mark as played"}},mark_unplayed:{t:0,b:{t:2,i:[{t:3}],s:"Mark as unplayed"}},searchtype_all:{t:0,b:{t:2,i:[{t:3}],s:"All"}},global_search:{t:0,b:{t:2,i:[{t:3}],s:"Global search"}},podcast_episode:{t:0,b:{t:2,i:[{t:3}],s:"Episode"}},podcast_episodes:{t:0,b:{t:2,i:[{t:3}],s:"Episodes"}},play_from_here:{t:0,b:{t:2,i:[{t:3}],s:"Play from here"}},loudness_measurement:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS"}]}},loudness_measurement_album:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS (album)"}]}},loudness_dynamic:{t:0,b:{t:2,i:[{t:3}],s:"Dynamic volume normalization"}},loudness_fixed:{t:0,b:{t:2,i:[{t:3}],s:"Fixed gain correction"}},dsp_active:{t:0,b:{t:2,i:[{t:3}],s:"Active"}},currently_playing_players:{t:0,b:{t:2,i:[{t:3}],s:"Currently playing"}},all_players:{t:0,b:{t:2,i:[{t:3}],s:"All players"}},all_groups:{t:0,b:{t:2,i:[{t:3}],s:"All groups"}},no_player_playing:{t:0,b:{t:2,i:[{t:3}],s:"No players are currently playing"}},stop_playback:{t:0,b:{t:2,i:[{t:3}],s:"Stop playback"}},streamdetails:{input_header:{t:0,b:{t:2,i:[{t:3}],s:"Input"}},output_header:{t:0,b:{t:2,i:[{t:3}],s:"Output"}},output_format_info:{t:0,b:{t:2,i:[{t:3,v:"Audio is sent in the "},{t:5,i:0},{t:3,v:" format"}]}},eq_band_count:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" bands"}]}},eq_band_count_singular:{t:0,b:{t:2,i:[{t:3}],s:"1 band"}},input_gain:{t:0,b:{t:2,i:[{t:3,v:"Input Gain ("},{t:5,i:0},{t:3,v:" dB)"}]}},output_gain:{t:0,b:{t:2,i:[{t:3,v:"Output Gain ("},{t:5,i:0},{t:3,v:" dB)"}]}},output_limiter:{t:0,b:{t:2,i:[{t:3}],s:"Output Limiter"}},output_limiter_info:{t:0,b:{t:2,i:[{t:3}],s:"Automatically reduces very loud sounds to prevent distortion and protect your speakers"}},dsp_unsupported:{t:0,b:{t:2,i:[{t:3}],s:"DSP not supported"}},dsp_disabled_by_unsupported_group:{t:0,b:{t:2,i:[{t:3}],s:"This player provider does not support DSP with synchronized playback"}},file_info:{container:{t:0,b:{t:2,i:[{t:3,v:"Container: "},{t:5,i:0}]}},codec:{t:0,b:{t:2,i:[{t:3,v:"Codec: "},{t:5,i:0}]}},bit_rate:{t:0,b:{t:2,i:[{t:3,v:"Bit rate: "},{t:5,i:0},{t:3,v:" kbps"}]}},sample_rate:{t:0,b:{t:2,i:[{t:3,v:"Sample rate: "},{t:5,i:0},{t:3,v:" kHz"}]}},channels:{t:0,b:{t:2,i:[{t:3,v:"Channels: "},{t:5,i:0}]}},bit_depth:{t:0,b:{t:2,i:[{t:3,v:"Bit depth: "},{t:5,i:0}]}},processing_notice:{t:0,b:{t:2,i:[{t:3}],s:"Audio is processed internally as 32-bit float PCM"}}},volume_normalization:{target_level:{t:0,b:{t:2,i:[{t:3,v:"Target level: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_loudness:{t:0,b:{t:2,i:[{t:3,v:"Measured (integrated) loudness: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_album_loudness:{t:0,b:{t:2,i:[{t:3,v:"Album loudness: "},{t:5,i:0},{t:3,v:" LUFS"}]}},applied_gain_correction:{t:0,b:{t:2,i:[{t:3,v:"Applied gain correction: "},{t:5,i:0},{t:3,v:" dB"}]}},mode:{dynamic:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active in the dynamic mode."}},measurement_only:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active based on a stored measurement of the (integrated) loudness of the audio."}},measurement_album:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active based on a stored measurement of the (integrated) loudness of the album."}},fixed_gain:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active based on fixed gain correction."}}}},click_to_expand:{t:0,b:{t:2,i:[{t:3}],s:"Click to show all players"}},output_format_pcm_info:{t:0,b:{t:2,i:[{t:3}],s:"Audio is passed as PCM to the player provider. The player provider may then convert the audio to a different format before sending it to the player."}}},volume_normalization_gain_correction:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" dB"}]}},select_source:{t:0,b:{t:2,i:[{t:3}],s:"Select source"}},in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"Continue listening..."}},play_replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Play Next (clear queue)"}},all_enqueue_options:{t:0,b:{t:2,i:[{t:3}],s:"All enqueue options"}},music_assistant_source:{t:0,b:{t:2,i:[{t:3}],s:"Music Assistant Queue"}},music_assistant_library:{t:0,b:{t:2,i:[{t:3}],s:"Music Assistant Library"}},select_all_confirmation:{t:0,b:{t:2,i:[{t:3}],s:"Select all items? This operation may take a moment to load all data."}},this_device:{t:0,b:{t:2,i:[{t:3}],s:"This device"}},recommendations:{in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"Continue listening..."}},recommended_new_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Recommended new tracks"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}},suggested_new_albums_for_you:{t:0,b:{t:2,i:[{t:3}],s:"Suggested new albums for you"}},random_artists:{t:0,b:{t:2,i:[{t:3}],s:"Random artists"}},random_albums:{t:0,b:{t:2,i:[{t:3}],s:"Random albums"}},custom_mixes:{t:0,b:{t:2,i:[{t:3}],s:"Custom mixes"}},your_listening_history:{t:0,b:{t:2,i:[{t:3}],s:"Your listening history"}},popular_albums:{t:0,b:{t:2,i:[{t:3}],s:"Popular albums"}},staff_picks_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Staff picks: tracks"}},staff_picks_albums:{t:0,b:{t:2,i:[{t:3}],s:"Staff picks: albums"}},radio_stations_for_you:{t:0,b:{t:2,i:[{t:3}],s:"Radio stations for you"}},producers__songwriters:{t:0,b:{t:2,i:[{t:3}],s:"Producers & songwriters"}},new_releases_for_you:{t:0,b:{t:2,i:[{t:3}],s:"New releases for you"}},recent_favorite_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Recently favorited tracks"}},favorite_playlists:{t:0,b:{t:2,i:[{t:3}],s:"Favorite playlists"}},favorite_radio_stations:{t:0,b:{t:2,i:[{t:3}],s:"Favorite radio stations"}}},homescreen_edit_enable:{t:0,b:{t:2,i:[{t:3}],s:"Edit Home screen"}},homescreen_edit_disable:{t:0,b:{t:2,i:[{t:3}],s:"Leave Home screen edit mode"}},lyrics_will_appear_soon:{t:0,b:{t:2,i:[{t:3}],s:"Lyrics will appear when the song begins..."}},radiobrowser_by_votes:{t:0,b:{t:2,i:[{t:3}],s:"By votes"}},radiobrowser_by_clicks:{t:0,b:{t:2,i:[{t:3}],s:"By clicks"}},radiobrowser_by_language:{t:0,b:{t:2,i:[{t:3}],s:"By language"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Created"}},last_used:{t:0,b:{t:2,i:[{t:3}],s:"Last used"}},create:{t:0,b:{t:2,i:[{t:3}],s:"Create"}},are_you_sure:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure?"}},auth:{login_title:{t:0,b:{t:2,i:[{t:3}],s:"Sign in to your account"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}},username_readonly:{t:0,b:{t:2,i:[{t:3}],s:"Username cannot be changed"}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},confirm_password:{t:0,b:{t:2,i:[{t:3}],s:"Confirm password"}},display_name:{t:0,b:{t:2,i:[{t:3}],s:"Display name"}},display_name_readonly:{t:0,b:{t:2,i:[{t:3}],s:"Display name editing not yet available"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Sign in"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Sign out"}},field_required:{t:0,b:{t:2,i:[{t:3}],s:"This field is required"}},username_min_length:{t:0,b:{t:2,i:[{t:3}],s:"Username must be at least 3 characters"}},username_already_exists:{t:0,b:{t:2,i:[{t:3}],s:"Username already exists. Please choose a different username."}},invalid_username:{t:0,b:{t:2,i:[{t:3}],s:"Invalid username. Please choose a different username."}},password_min_length:{t:0,b:{t:2,i:[{t:3}],s:"Password must be at least 8 characters"}},passwords_must_match:{t:0,b:{t:2,i:[{t:3}],s:"Passwords must match"}},login_failed:{t:0,b:{t:2,i:[{t:3}],s:"Login failed. Please check your credentials."}},login_error:{t:0,b:{t:2,i:[{t:3}],s:"An error occurred during login"}},setup_subtitle:{t:0,b:{t:2,i:[{t:3}],s:"Let's get started"}},create_admin_account:{t:0,b:{t:2,i:[{t:3}],s:"Create your admin account"}},setup_description:{t:0,b:{t:2,i:[{t:3}],s:"Create your administrator account to manage Music Assistant. This account will have full access to all settings and features."}},create_account:{t:0,b:{t:2,i:[{t:3}],s:"Create account"}},setup_failed:{t:0,b:{t:2,i:[{t:3}],s:"Setup failed. Please try again."}},setup_error:{t:0,b:{t:2,i:[{t:3}],s:"An error occurred during setup"}},profile:{t:0,b:{t:2,i:[{t:3}],s:"Profile"}},account_settings:{t:0,b:{t:2,i:[{t:3}],s:"Account settings"}},manage_your_profile_info:{t:0,b:{t:2,i:[{t:3}],s:"Manage your profile information and settings"}},change_password:{t:0,b:{t:2,i:[{t:3}],s:"Change password"}},update_your_password:{t:0,b:{t:2,i:[{t:3}],s:"Update your account password"}},old_password:{t:0,b:{t:2,i:[{t:3}],s:"Current password"}},new_password:{t:0,b:{t:2,i:[{t:3}],s:"New password"}},password_changed:{t:0,b:{t:2,i:[{t:3}],s:"Password changed successfully"}},password_change_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to change password"}},tokens:{t:0,b:{t:2,i:[{t:3}],s:"Access tokens"}},active_sessions:{t:0,b:{t:2,i:[{t:3}],s:"Active sessions"}},manage_active_sessions:{t:0,b:{t:2,i:[{t:3}],s:"View and manage your active login sessions"}},active_sessions_description:{t:0,b:{t:2,i:[{t:3}],s:"These are sessions created when you sign in. They automatically renew when used and expire after 30 days of inactivity."}},no_active_sessions:{t:0,b:{t:2,i:[{t:3}],s:"No active sessions"}},long_lived_tokens:{t:0,b:{t:2,i:[{t:3}],s:"Long-lived access tokens"}},api_tokens_description:{t:0,b:{t:2,i:[{t:3}],s:"Create and manage API tokens for external integrations"}},long_lived_tokens_description:{t:0,b:{t:2,i:[{t:3}],s:"Long-lived tokens are used for external integrations and API access. They expire after 10 years and do not auto-renew."}},no_long_lived_tokens:{t:0,b:{t:2,i:[{t:3}],s:"No long-lived access tokens"}},no_tokens:{t:0,b:{t:2,i:[{t:3}],s:"No tokens yet"}},create_token_hint:{t:0,b:{t:2,i:[{t:3}],s:"Create a token to use Music Assistant with external applications"}},token_name:{t:0,b:{t:2,i:[{t:3}],s:"Token name"}},token_name_hint:{t:0,b:{t:2,i:[{t:3}],s:"e.g., 'Home Assistant', 'Mobile App'"}},create_token:{t:0,b:{t:2,i:[{t:3}],s:"Create new token"}},revoke_token:{t:0,b:{t:2,i:[{t:3}],s:"Revoke token"}},revoke_token_confirm:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to revoke this token? This action cannot be undone."}},revoke_session:{t:0,b:{t:2,i:[{t:3}],s:"Revoke session"}},revoke_session_confirm:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to revoke this session? This action cannot be undone."}},revoke:{t:0,b:{t:2,i:[{t:3}],s:"Revoke"}},token_revoked:{t:0,b:{t:2,i:[{t:3}],s:"Token revoked successfully"}},token_revoke_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to revoke token"}},session_revoked:{t:0,b:{t:2,i:[{t:3}],s:"Session revoked successfully"}},session_revoke_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to revoke session"}},manage_tokens:{t:0,b:{t:2,i:[{t:3}],s:"Manage access tokens"}},token_created:{t:0,b:{t:2,i:[{t:3}],s:"Token created successfully"}},token_create_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to create token. Please try again."}},copy_token:{t:0,b:{t:2,i:[{t:3}],s:"Copy token"}},token_warning:{t:0,b:{t:2,i:[{t:3}],s:"Make sure to copy your token now. You won't be able to see it again!"}},user_management:{t:0,b:{t:2,i:[{t:3}],s:"User management"}},users:{t:0,b:{t:2,i:[{t:3}],s:"Users"}},create_user:{t:0,b:{t:2,i:[{t:3}],s:"Create user"}},edit_user:{t:0,b:{t:2,i:[{t:3}],s:"Edit user"}},role:{t:0,b:{t:2,i:[{t:3}],s:"Role"}},admin_role:{t:0,b:{t:2,i:[{t:3}],s:"Administrator"}},user_role:{t:0,b:{t:2,i:[{t:3}],s:"User"}},enabled:{t:0,b:{t:2,i:[{t:3}],s:"Enabled"}},disabled:{t:0,b:{t:2,i:[{t:3}],s:"Disabled"}},enable_user:{t:0,b:{t:2,i:[{t:3}],s:"Enable user"}},disable_user:{t:0,b:{t:2,i:[{t:3}],s:"Disable user"}},user_created:{t:0,b:{t:2,i:[{t:3}],s:"User created successfully"}},user_create_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to create user"}},user_updated:{t:0,b:{t:2,i:[{t:3}],s:"User updated successfully"}},user_update_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to update user"}},user_deleted:{t:0,b:{t:2,i:[{t:3}],s:"User deleted successfully"}},user_delete_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to delete user"}},user_disabled:{t:0,b:{t:2,i:[{t:3}],s:"User disabled successfully"}},user_disable_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to disable user"}},user_enabled:{t:0,b:{t:2,i:[{t:3}],s:"User enabled successfully"}},user_enable_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to enable user"}},password_optional_hint:{t:0,b:{t:2,i:[{t:3}],s:"Leave blank to keep current password"}},confirm_disable_user:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to disable this user?"}},confirm_delete_user:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to delete this user? This action cannot be undone."}},delete_user:{t:0,b:{t:2,i:[{t:3}],s:"Delete user"}},admin_required:{t:0,b:{t:2,i:[{t:3}],s:"Administrator access required"}},change_role:{t:0,b:{t:2,i:[{t:3}],s:"Change role"}},avatar_url:{t:0,b:{t:2,i:[{t:3}],s:"Avatar URL"}},avatar_url_hint:{t:0,b:{t:2,i:[{t:3}],s:"Enter URL to avatar image"}},change_avatar:{t:0,b:{t:2,i:[{t:3}],s:"Change avatar"}},profile_updated:{t:0,b:{t:2,i:[{t:3}],s:"Profile updated successfully"}},ingress_password_note:{t:0,b:{t:2,i:[{t:3}],s:"When accessing Music Assistant outside of Home Assistant, you will need this password to sign in."}}}}},{en_AU:{settings:{sync:{t:0,b:{t:2,i:[{t:3}],s:"Synchronise now"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"This provider is now being synchronised"}},volume_normalization:{label:{t:0,b:{t:2,i:[{t:3}],s:"Enable volume normalisation (EBU-R128 based)"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Enable volume normalisation based on the EBU-R128 standard without affecting dynamic range"}}},volume_normalization_target:{label:{t:0,b:{t:2,i:[{t:3}],s:"Target level for volume normalisation"}}},eq_bass:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equaliser: bass"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equaliser to adjust the bass (low tones) level of the audio."}}},eq_mid:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equaliser: mid"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equaliser to adjust the mid level of audio."}}},eq_treble:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equaliser: treble"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equaliser to adjust the treble (high tones) level of audio."}}},volume_normalization_radio:{label:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalisation method to use for radio streams"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Set the preferred volume normalisation strategy for radio streams.
|
|
308
|
+
This will distribute the same audio to all member players (but not in sync).`}},edit_provider:{t:0,b:{t:2,i:[{t:3,v:"Edit provider: "},{t:5,i:0}]}},metadata:{t:0,b:{t:2,i:[{t:3}],s:"Metadata"}},metadataprovider:{t:0,b:{t:2,i:[{t:3}],s:"Metadata provider"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},musicprovider:{t:0,b:{t:2,i:[{t:3}],s:"Music provider"}},player:{t:0,b:{t:2,i:[{t:3}],s:"Player"}},playerprovider:{t:0,b:{t:2,i:[{t:3}],s:"Player provider"}},plugin:{t:0,b:{t:2,i:[{t:3}],s:"Plugin"}},pluginprovider:{t:0,b:{t:2,i:[{t:3}],s:"Plugin provider"}},providers_total:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" total provider"},{t:5,i:1}]}},stage:{label:{t:0,b:{t:2,i:[{t:3}],s:"Stage"}},options:{stable:{t:0,b:{t:2,i:[{t:3}],s:"Stable"}},beta:{t:0,b:{t:2,i:[{t:3}],s:"Beta"}},alpha:{t:0,b:{t:2,i:[{t:3}],s:"Alpha"}},experimental:{t:0,b:{t:2,i:[{t:3}],s:"Experimental"}},unmaintained:{t:0,b:{t:2,i:[{t:3}],s:"Unmaintained"}},deprecated:{t:0,b:{t:2,i:[{t:3}],s:"Deprecated"}}}}},show_info:{t:0,b:{t:2,i:[{t:3}],s:"Show info"}},show_select_boxes:{t:0,b:{t:2,i:[{t:3}],s:"Show selection boxes"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Shuffle"}},sort:{duration:{t:0,b:{t:2,i:[{t:3}],s:"Duration"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Position"}},provider:{t:0,b:{t:2,i:[{t:3}],s:"Provider"}},sort_name:{t:0,b:{t:2,i:[{t:3}],s:"Sort name"}},track_number:{t:0,b:{t:2,i:[{t:3}],s:"Track number"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Release year"}},position_desc:{t:0,b:{t:2,i:[{t:3}],s:"Position (descending)"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artist"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Alphabetically"}},name_desc:{t:0,b:{t:2,i:[{t:3}],s:"Alphabetically (descending)"}},recent:{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}},year_desc:{t:0,b:{t:2,i:[{t:3}],s:"Release year (descending)"}},duration_desc:{t:0,b:{t:2,i:[{t:3}],s:"Duration (descending)"}},original:{t:0,b:{t:2,i:[{t:3}],s:"Original"}},sort_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"Sort name (descending)"}},timestamp_added:{t:0,b:{t:2,i:[{t:3}],s:"Date added"}},timestamp_added_desc:{t:0,b:{t:2,i:[{t:3}],s:"Date added (descending)"}},timestamp_modified:{t:0,b:{t:2,i:[{t:3}],s:"Date updated"}},timestamp_modified_desc:{t:0,b:{t:2,i:[{t:3}],s:"Date updated (descending)"}},last_played:{t:0,b:{t:2,i:[{t:3}],s:"Last played"}},last_played_desc:{t:0,b:{t:2,i:[{t:3}],s:"Last played (descending)"}},play_count:{t:0,b:{t:2,i:[{t:3}],s:"Play count"}},play_count_desc:{t:0,b:{t:2,i:[{t:3}],s:"Play count (descending)"}},artist_name:{t:0,b:{t:2,i:[{t:3}],s:"Album artist"}},artist_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"Album artist (descending)"}}},state:{idle:{t:0,b:{t:2,i:[{t:3}],s:"idle"}},off:{t:0,b:{t:2,i:[{t:3}],s:"off"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"paused"}},playing:{t:0,b:{t:2,i:[{t:3}],s:"playing"}}},sync_now:{t:0,b:{t:2,i:[{t:3}],s:"Synchronize now"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"One or more music providers are being synchronized."}},tooltip:{album_artist_filter:{t:0,b:{t:2,i:[{t:3}],s:"Toggle album-artist filter"}},explicit:{t:0,b:{t:2,i:[{t:3}],s:"Explicit"}},filter_library:{t:0,b:{t:2,i:[{t:3}],s:"Toggle in-library/favorite filter"}},library:{t:0,b:{t:2,i:[{t:3}],s:"Toggle in-library/favorite"}},linked:{t:0,b:{t:2,i:[{t:3}],s:"This provideritem is linked to the current itemdetails"}},refresh:{t:0,b:{t:2,i:[{t:3}],s:"Refresh the items listing"}},refresh_new_content:{t:0,b:{t:2,i:[{t:3}],s:"New content is available, click to refresh the listing"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Show/hide search input"}},select_items:{t:0,b:{t:2,i:[{t:3}],s:"Select multiple items"}},sort_options:{t:0,b:{t:2,i:[{t:3}],s:"Sort options"}},toggle_view_mode:{t:0,b:{t:2,i:[{t:3}],s:"Toggle view mode list/thumbs"}},filter_favorites:{t:0,b:{t:2,i:[{t:3}],s:"Only show favorites"}},favorite:{t:0,b:{t:2,i:[{t:3}],s:"Mark/unmark as a favorite"}},open_provider_link:{t:0,b:{t:2,i:[{t:3}],s:"Open this item on the provider's website"}},collapse_expand:{t:0,b:{t:2,i:[{t:3}],s:"Collapse/expand this listing"}},back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},show_menu:{t:0,b:{t:2,i:[{t:3}],s:"Show/hide menu"}},search_filter_active:{t:0,b:{t:2,i:[{t:3}],s:"Search is currently filtering results"}},play_sample:{t:0,b:{t:2,i:[{t:3}],s:"Play sample"}},album_type:{t:0,b:{t:2,i:[{t:3}],s:"Album type"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"The server is processing a request or syncing music."}},primary_image:{t:0,b:{t:2,i:[{t:3}],s:"This is the primary image for this image type"}},copy_uri:{t:0,b:{t:2,i:[{t:3}],s:"Copy URI to clipboard"}},select_all:{t:0,b:{t:2,i:[{t:3}],s:"Select all items"}}},topresult:{t:0,b:{t:2,i:[{t:3}],s:"Top result"}},track:{t:0,b:{t:2,i:[{t:3}],s:"Track"}},track_number:{t:0,b:{t:2,i:[{t:3,v:"Disc "},{t:5,i:0},{t:3,v:" Track "},{t:5,i:1}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},try_global_search:{t:0,b:{t:2,i:[{t:3}],s:"Try global search"}},type_to_search:{t:0,b:{t:2,i:[{t:3}],s:"Type here to search..."}},volume_normalization:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization"}},play_now_replace:{t:0,b:{t:2,i:[{t:3}],s:"Play Now (clear queue)"}},currently_playing:{t:0,b:{t:2,i:[{t:3}],s:"Currently playing"}},favorites_add:{t:0,b:{t:2,i:[{t:3}],s:"Add to favorites"}},favorites_remove:{t:0,b:{t:2,i:[{t:3}],s:"Remove from favorites"}},confirm_library_remove:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to delete this item from the library? Any items depending on this item will also be recursively removed. Note that this will only remove this item from the library. If this is a music file on disk, it may return on the next sync."}},check_item_on_provider:{t:0,b:{t:2,i:[{t:3,v:"Check "},{t:5,i:0},{t:3,v:" on "},{t:5,i:1}]}},check_item_in_library:{t:0,b:{t:2,i:[{t:3,v:"Check "},{t:5,i:0},{t:3,v:" in the library"}]}},media_details:{t:0,b:{t:2,i:[{t:3}],s:"Media details"}},mapped_providers:{t:0,b:{t:2,i:[{t:3}],s:"Provider details"}},item_in_library:{t:0,b:{t:2,i:[{t:3}],s:"This item is available in the library"}},back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}},radiobrowser_by_country:{t:0,b:{t:2,i:[{t:3}],s:"By country"}},radiobrowser_by_tag:{t:0,b:{t:2,i:[{t:3}],s:"By tag"}},load_more_items:{t:0,b:{t:2,i:[{t:3}],s:"Load more items..."}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},muted:{t:0,b:{t:2,i:[{t:3}],s:"muted"}},enter_name:{t:0,b:{t:2,i:[{t:3}],s:"Enter a new (custom) name"}},image_url:{t:0,b:{t:2,i:[{t:3}],s:"Input the URL to an image or icon (optional)"}},invalid_input:{t:0,b:{t:2,i:[{t:3}],s:"The input was invalid"}},new_playlist:{t:0,b:{t:2,i:[{t:3}],s:"New playlist"}},create_playlist_on:{t:0,b:{t:2,i:[{t:3,v:"Create new playlist on "},{t:5,i:0}]}},view:{list:{t:0,b:{t:2,i:[{t:3}],s:"List view"}},panel:{t:0,b:{t:2,i:[{t:3}],s:"Thumbs view"}},panel_compact:{t:0,b:{t:2,i:[{t:3}],s:"Compact thumbs view"}}},play_replace:{t:0,b:{t:2,i:[{t:3}],s:"Play Now (clear queue)"}},played:{t:0,b:{t:2,i:[{t:3}],s:"Played"}},background_task_added:{t:0,b:{t:2,i:[{t:3}],s:"The action is performed by the server in the background and may take some time to complete. Keep an eye on the server log for progress."}},images:{t:0,b:{t:2,i:[{t:3}],s:"Images"}},image_type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},image_source:{t:0,b:{t:2,i:[{t:3}],s:"Source"}},image_make_primary:{t:0,b:{t:2,i:[{t:3}],s:"Make primary"}},update_metadata:{t:0,b:{t:2,i:[{t:3}],s:"Update metadata"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},transfer_queue:{t:0,b:{t:2,i:[{t:3}],s:"Transfer queue"}},power_on_player:{t:0,b:{t:2,i:[{t:3}],s:"Power on"}},power_off_player:{t:0,b:{t:2,i:[{t:3}],s:"Power off"}},powered_off_players:{t:0,b:{t:2,i:[{t:3}],s:"Unpowered players"}},sync_player_with:{t:0,b:{t:2,i:[{t:3}],s:"Synchronize with another player"}},open_player_settings:{t:0,b:{t:2,i:[{t:3}],s:"Open settings"}},select_repeat_mode:{t:0,b:{t:2,i:[{t:3}],s:"Select repeat mode"}},repeat_mode:{all:{t:0,b:{t:2,i:[{t:3}],s:"Repeat entire queue"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Repeat off"}},one:{t:0,b:{t:2,i:[{t:3}],s:"Repeat single track"}}},shuffle_disable:{t:0,b:{t:2,i:[{t:3}],s:"Disable shuffle"}},shuffle_enable:{t:0,b:{t:2,i:[{t:3}],s:"Enable shuffle"}},dont_stop_the_music_enable:{t:0,b:{t:2,i:[{t:3}],s:"Enable 'Don't stop the music!'"}},dont_stop_the_music_disable:{t:0,b:{t:2,i:[{t:3}],s:"Disable 'Don't stop the music!'"}},open_dsp_settings:{t:0,b:{t:2,i:[{t:3}],s:"Open DSP settings"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiobook"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},chapter:{t:0,b:{t:2,i:[{t:3}],s:"Chapter"}},chapters:{t:0,b:{t:2,i:[{t:3}],s:"Chapters"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},item_fully_played:{t:0,b:{t:2,i:[{t:3}],s:"This item has been fully played"}},item_in_progress:{t:0,b:{t:2,i:[{t:3}],s:"This item has been partially played"}},duration_in_seconds:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" seconds"}]}},mark_played:{t:0,b:{t:2,i:[{t:3}],s:"Mark as played"}},mark_unplayed:{t:0,b:{t:2,i:[{t:3}],s:"Mark as unplayed"}},searchtype_all:{t:0,b:{t:2,i:[{t:3}],s:"All"}},global_search:{t:0,b:{t:2,i:[{t:3}],s:"Global search"}},podcast_episode:{t:0,b:{t:2,i:[{t:3}],s:"Episode"}},podcast_episodes:{t:0,b:{t:2,i:[{t:3}],s:"Episodes"}},play_from_here:{t:0,b:{t:2,i:[{t:3}],s:"Play from here"}},loudness_measurement:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS"}]}},loudness_measurement_album:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS (album)"}]}},loudness_dynamic:{t:0,b:{t:2,i:[{t:3}],s:"Dynamic volume normalization"}},loudness_fixed:{t:0,b:{t:2,i:[{t:3}],s:"Fixed gain correction"}},dsp_active:{t:0,b:{t:2,i:[{t:3}],s:"Active"}},currently_playing_players:{t:0,b:{t:2,i:[{t:3}],s:"Currently playing"}},all_players:{t:0,b:{t:2,i:[{t:3}],s:"All players"}},all_groups:{t:0,b:{t:2,i:[{t:3}],s:"All groups"}},no_player_playing:{t:0,b:{t:2,i:[{t:3}],s:"No players are currently playing"}},stop_playback:{t:0,b:{t:2,i:[{t:3}],s:"Stop playback"}},streamdetails:{input_header:{t:0,b:{t:2,i:[{t:3}],s:"Input"}},output_header:{t:0,b:{t:2,i:[{t:3}],s:"Output"}},output_format_info:{t:0,b:{t:2,i:[{t:3,v:"Audio is sent in the "},{t:5,i:0},{t:3,v:" format"}]}},eq_band_count:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" bands"}]}},eq_band_count_singular:{t:0,b:{t:2,i:[{t:3}],s:"1 band"}},input_gain:{t:0,b:{t:2,i:[{t:3,v:"Input Gain ("},{t:5,i:0},{t:3,v:" dB)"}]}},output_gain:{t:0,b:{t:2,i:[{t:3,v:"Output Gain ("},{t:5,i:0},{t:3,v:" dB)"}]}},output_limiter:{t:0,b:{t:2,i:[{t:3}],s:"Output Limiter"}},output_limiter_info:{t:0,b:{t:2,i:[{t:3}],s:"Automatically reduces very loud sounds to prevent distortion and protect your speakers"}},dsp_unsupported:{t:0,b:{t:2,i:[{t:3}],s:"DSP not supported"}},dsp_disabled_by_unsupported_group:{t:0,b:{t:2,i:[{t:3}],s:"This player provider does not support DSP with synchronized playback"}},file_info:{container:{t:0,b:{t:2,i:[{t:3,v:"Container: "},{t:5,i:0}]}},codec:{t:0,b:{t:2,i:[{t:3,v:"Codec: "},{t:5,i:0}]}},bit_rate:{t:0,b:{t:2,i:[{t:3,v:"Bit rate: "},{t:5,i:0},{t:3,v:" kbps"}]}},sample_rate:{t:0,b:{t:2,i:[{t:3,v:"Sample rate: "},{t:5,i:0},{t:3,v:" kHz"}]}},channels:{t:0,b:{t:2,i:[{t:3,v:"Channels: "},{t:5,i:0}]}},bit_depth:{t:0,b:{t:2,i:[{t:3,v:"Bit depth: "},{t:5,i:0}]}},processing_notice:{t:0,b:{t:2,i:[{t:3}],s:"Audio is processed internally as 32-bit float PCM"}}},volume_normalization:{target_level:{t:0,b:{t:2,i:[{t:3,v:"Target level: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_loudness:{t:0,b:{t:2,i:[{t:3,v:"Measured (integrated) loudness: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_album_loudness:{t:0,b:{t:2,i:[{t:3,v:"Album loudness: "},{t:5,i:0},{t:3,v:" LUFS"}]}},applied_gain_correction:{t:0,b:{t:2,i:[{t:3,v:"Applied gain correction: "},{t:5,i:0},{t:3,v:" dB"}]}},mode:{dynamic:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active in the dynamic mode."}},measurement_only:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active based on a stored measurement of the (integrated) loudness of the audio."}},measurement_album:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active based on a stored measurement of the (integrated) loudness of the album."}},fixed_gain:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalization is active based on fixed gain correction."}}}},click_to_expand:{t:0,b:{t:2,i:[{t:3}],s:"Click to show all players"}},output_format_pcm_info:{t:0,b:{t:2,i:[{t:3}],s:"Audio is passed as PCM to the player provider. The player provider may then convert the audio to a different format before sending it to the player."}}},volume_normalization_gain_correction:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" dB"}]}},select_source:{t:0,b:{t:2,i:[{t:3}],s:"Select source"}},in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"Continue listening..."}},play_replace_next:{t:0,b:{t:2,i:[{t:3}],s:"Play Next (clear queue)"}},all_enqueue_options:{t:0,b:{t:2,i:[{t:3}],s:"All enqueue options"}},music_assistant_source:{t:0,b:{t:2,i:[{t:3}],s:"Music Assistant Queue"}},music_assistant_library:{t:0,b:{t:2,i:[{t:3}],s:"Music Assistant Library"}},select_all_confirmation:{t:0,b:{t:2,i:[{t:3}],s:"Select all items? This operation may take a moment to load all data."}},this_device:{t:0,b:{t:2,i:[{t:3}],s:"This device"}},recommendations:{in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"Continue listening..."}},recommended_new_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Recommended new tracks"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}},suggested_new_albums_for_you:{t:0,b:{t:2,i:[{t:3}],s:"Suggested new albums for you"}},random_artists:{t:0,b:{t:2,i:[{t:3}],s:"Random artists"}},random_albums:{t:0,b:{t:2,i:[{t:3}],s:"Random albums"}},custom_mixes:{t:0,b:{t:2,i:[{t:3}],s:"Custom mixes"}},your_listening_history:{t:0,b:{t:2,i:[{t:3}],s:"Your listening history"}},popular_albums:{t:0,b:{t:2,i:[{t:3}],s:"Popular albums"}},staff_picks_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Staff picks: tracks"}},staff_picks_albums:{t:0,b:{t:2,i:[{t:3}],s:"Staff picks: albums"}},radio_stations_for_you:{t:0,b:{t:2,i:[{t:3}],s:"Radio stations for you"}},producers__songwriters:{t:0,b:{t:2,i:[{t:3}],s:"Producers & songwriters"}},new_releases_for_you:{t:0,b:{t:2,i:[{t:3}],s:"New releases for you"}},recent_favorite_tracks:{t:0,b:{t:2,i:[{t:3}],s:"Recently favorited tracks"}},favorite_playlists:{t:0,b:{t:2,i:[{t:3}],s:"Favorite playlists"}},favorite_radio_stations:{t:0,b:{t:2,i:[{t:3}],s:"Favorite radio stations"}}},homescreen_edit_enable:{t:0,b:{t:2,i:[{t:3}],s:"Edit Home screen"}},homescreen_edit_disable:{t:0,b:{t:2,i:[{t:3}],s:"Leave Home screen edit mode"}},lyrics_will_appear_soon:{t:0,b:{t:2,i:[{t:3}],s:"Lyrics will appear when the song begins..."}},radiobrowser_by_votes:{t:0,b:{t:2,i:[{t:3}],s:"By votes"}},radiobrowser_by_clicks:{t:0,b:{t:2,i:[{t:3}],s:"By clicks"}},radiobrowser_by_language:{t:0,b:{t:2,i:[{t:3}],s:"By language"}},created:{t:0,b:{t:2,i:[{t:3}],s:"Created"}},last_used:{t:0,b:{t:2,i:[{t:3}],s:"Last used"}},create:{t:0,b:{t:2,i:[{t:3}],s:"Create"}},are_you_sure:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure?"}},auth:{login_title:{t:0,b:{t:2,i:[{t:3}],s:"Sign in to your account"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}},username_readonly:{t:0,b:{t:2,i:[{t:3}],s:"Username cannot be changed"}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},confirm_password:{t:0,b:{t:2,i:[{t:3}],s:"Confirm password"}},display_name:{t:0,b:{t:2,i:[{t:3}],s:"Display name"}},display_name_readonly:{t:0,b:{t:2,i:[{t:3}],s:"Display name editing not yet available"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Sign in"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Sign out"}},field_required:{t:0,b:{t:2,i:[{t:3}],s:"This field is required"}},username_min_length:{t:0,b:{t:2,i:[{t:3}],s:"Username must be at least 3 characters"}},username_already_exists:{t:0,b:{t:2,i:[{t:3}],s:"Username already exists. Please choose a different username."}},invalid_username:{t:0,b:{t:2,i:[{t:3}],s:"Invalid username. Please choose a different username."}},password_min_length:{t:0,b:{t:2,i:[{t:3}],s:"Password must be at least 8 characters"}},passwords_must_match:{t:0,b:{t:2,i:[{t:3}],s:"Passwords must match"}},login_failed:{t:0,b:{t:2,i:[{t:3}],s:"Login failed. Please check your credentials."}},login_error:{t:0,b:{t:2,i:[{t:3}],s:"An error occurred during login"}},setup_subtitle:{t:0,b:{t:2,i:[{t:3}],s:"Let's get started"}},create_admin_account:{t:0,b:{t:2,i:[{t:3}],s:"Create your admin account"}},setup_description:{t:0,b:{t:2,i:[{t:3}],s:"Create your administrator account to manage Music Assistant. This account will have full access to all settings and features."}},create_account:{t:0,b:{t:2,i:[{t:3}],s:"Create account"}},setup_failed:{t:0,b:{t:2,i:[{t:3}],s:"Setup failed. Please try again."}},setup_error:{t:0,b:{t:2,i:[{t:3}],s:"An error occurred during setup"}},profile:{t:0,b:{t:2,i:[{t:3}],s:"Profile"}},account_settings:{t:0,b:{t:2,i:[{t:3}],s:"Account settings"}},manage_your_profile_info:{t:0,b:{t:2,i:[{t:3}],s:"Manage your profile information and settings"}},change_password:{t:0,b:{t:2,i:[{t:3}],s:"Change password"}},update_your_password:{t:0,b:{t:2,i:[{t:3}],s:"Update your account password"}},old_password:{t:0,b:{t:2,i:[{t:3}],s:"Current password"}},new_password:{t:0,b:{t:2,i:[{t:3}],s:"New password"}},password_changed:{t:0,b:{t:2,i:[{t:3}],s:"Password changed successfully"}},password_change_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to change password"}},tokens:{t:0,b:{t:2,i:[{t:3}],s:"Access tokens"}},active_sessions:{t:0,b:{t:2,i:[{t:3}],s:"Active sessions"}},manage_active_sessions:{t:0,b:{t:2,i:[{t:3}],s:"View and manage your active login sessions"}},active_sessions_description:{t:0,b:{t:2,i:[{t:3}],s:"These are sessions created when you sign in. They automatically renew when used and expire after 30 days of inactivity."}},no_active_sessions:{t:0,b:{t:2,i:[{t:3}],s:"No active sessions"}},long_lived_tokens:{t:0,b:{t:2,i:[{t:3}],s:"Long-lived access tokens"}},api_tokens_description:{t:0,b:{t:2,i:[{t:3}],s:"Create and manage API tokens for external integrations"}},long_lived_tokens_description:{t:0,b:{t:2,i:[{t:3}],s:"Long-lived tokens are used for external integrations and API access. They expire after 10 years and do not auto-renew."}},no_long_lived_tokens:{t:0,b:{t:2,i:[{t:3}],s:"No long-lived access tokens"}},no_tokens:{t:0,b:{t:2,i:[{t:3}],s:"No tokens yet"}},create_token_hint:{t:0,b:{t:2,i:[{t:3}],s:"Create a token to use Music Assistant with external applications"}},token_name:{t:0,b:{t:2,i:[{t:3}],s:"Token name"}},token_name_hint:{t:0,b:{t:2,i:[{t:3}],s:"e.g., 'Home Assistant', 'Mobile App'"}},create_token:{t:0,b:{t:2,i:[{t:3}],s:"Create new token"}},revoke_token:{t:0,b:{t:2,i:[{t:3}],s:"Revoke token"}},revoke_token_confirm:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to revoke this token? This action cannot be undone."}},revoke_session:{t:0,b:{t:2,i:[{t:3}],s:"Revoke session"}},revoke_session_confirm:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to revoke this session? This action cannot be undone."}},revoke:{t:0,b:{t:2,i:[{t:3}],s:"Revoke"}},token_revoked:{t:0,b:{t:2,i:[{t:3}],s:"Token revoked successfully"}},token_revoke_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to revoke token"}},session_revoked:{t:0,b:{t:2,i:[{t:3}],s:"Session revoked successfully"}},session_revoke_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to revoke session"}},manage_tokens:{t:0,b:{t:2,i:[{t:3}],s:"Manage access tokens"}},token_created:{t:0,b:{t:2,i:[{t:3}],s:"Token created successfully"}},token_create_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to create token. Please try again."}},copy_new_token_hint:{t:0,b:{t:2,i:[{t:3}],s:"Copy your access token. It will not be shown again."}},token_copied:{t:0,b:{t:2,i:[{t:3}],s:"Token copied to clipboard"}},token_copy_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to copy token to clipboard"}},user_management:{t:0,b:{t:2,i:[{t:3}],s:"User management"}},users:{t:0,b:{t:2,i:[{t:3}],s:"Users"}},create_user:{t:0,b:{t:2,i:[{t:3}],s:"Create user"}},edit_user:{t:0,b:{t:2,i:[{t:3}],s:"Edit user"}},role:{t:0,b:{t:2,i:[{t:3}],s:"Role"}},admin_role:{t:0,b:{t:2,i:[{t:3}],s:"Administrator"}},user_role:{t:0,b:{t:2,i:[{t:3}],s:"User"}},enabled:{t:0,b:{t:2,i:[{t:3}],s:"Enabled"}},disabled:{t:0,b:{t:2,i:[{t:3}],s:"Disabled"}},enable_user:{t:0,b:{t:2,i:[{t:3}],s:"Enable user"}},disable_user:{t:0,b:{t:2,i:[{t:3}],s:"Disable user"}},user_created:{t:0,b:{t:2,i:[{t:3}],s:"User created successfully"}},user_create_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to create user"}},user_updated:{t:0,b:{t:2,i:[{t:3}],s:"User updated successfully"}},user_update_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to update user"}},user_deleted:{t:0,b:{t:2,i:[{t:3}],s:"User deleted successfully"}},user_delete_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to delete user"}},user_disabled:{t:0,b:{t:2,i:[{t:3}],s:"User disabled successfully"}},user_disable_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to disable user"}},user_enabled:{t:0,b:{t:2,i:[{t:3}],s:"User enabled successfully"}},user_enable_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to enable user"}},password_optional_hint:{t:0,b:{t:2,i:[{t:3}],s:"Leave blank to keep current password"}},confirm_disable_user:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to disable this user?"}},confirm_delete_user:{t:0,b:{t:2,i:[{t:3}],s:"Are you sure you want to delete this user? This action cannot be undone."}},delete_user:{t:0,b:{t:2,i:[{t:3}],s:"Delete user"}},admin_required:{t:0,b:{t:2,i:[{t:3}],s:"Administrator access required"}},change_role:{t:0,b:{t:2,i:[{t:3}],s:"Change role"}},avatar_url:{t:0,b:{t:2,i:[{t:3}],s:"Avatar URL"}},avatar_url_hint:{t:0,b:{t:2,i:[{t:3}],s:"Enter URL to avatar image"}},change_avatar:{t:0,b:{t:2,i:[{t:3}],s:"Change avatar"}},profile_updated:{t:0,b:{t:2,i:[{t:3}],s:"Profile updated successfully"}},ingress_password_note:{t:0,b:{t:2,i:[{t:3}],s:"When accessing Music Assistant outside of Home Assistant, you will need this password to sign in."}}},login:{subtitle:{t:0,b:{t:2,i:[{t:3}],s:"Connect to your music server"}},auto_connecting:{t:0,b:{t:2,i:[{t:3}],s:"Looking for your server..."}},sign_in_to_continue:{t:0,b:{t:2,i:[{t:3}],s:"Sign in to continue"}},complete_in_browser:{t:0,b:{t:2,i:[{t:3}],s:"Complete sign-in in your browser"}},establishing_connection:{t:0,b:{t:2,i:[{t:3}],s:"Establishing connection..."}},local_server:{t:0,b:{t:2,i:[{t:3}],s:"Local Server"}},remote_server:{t:0,b:{t:2,i:[{t:3}],s:"Remote"}},server_address:{t:0,b:{t:2,i:[{t:3}],s:"Server Address"}},server_address_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"http://192.168.1.100:8095"}},remote_id:{t:0,b:{t:2,i:[{t:3}],s:"Remote ID"}},remote_id_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"e.g., MA-X7K9-P2M4"}},remote_id_hint:{t:0,b:{t:2,i:[{t:3}],s:'Find this in your server settings under "Remote Access"'}},connect:{t:0,b:{t:2,i:[{t:3}],s:"Connect"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}},username_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Enter your username"}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},password_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Enter your password"}},sign_in:{t:0,b:{t:2,i:[{t:3}],s:"Sign In"}},or_continue_with:{t:0,b:{t:2,i:[{t:3}],s:"Or continue with"}},sign_in_with_ha:{t:0,b:{t:2,i:[{t:3}],s:"Sign in with Home Assistant"}},back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},different_server:{t:0,b:{t:2,i:[{t:3}],s:"Use different server"}},connecting:{t:0,b:{t:2,i:[{t:3}],s:"Connecting..."}},connecting_to_server:{t:0,b:{t:2,i:[{t:3}],s:"Connecting to server..."}},connecting_to_signaling:{t:0,b:{t:2,i:[{t:3}],s:"Connecting to signaling server..."}},checking_stored:{t:0,b:{t:2,i:[{t:3}],s:"Checking for saved connection..."}},connecting_to_saved:{t:0,b:{t:2,i:[{t:3}],s:"Connecting to saved server..."}},connecting_remote:{t:0,b:{t:2,i:[{t:3}],s:"Connecting to remote server..."}},authenticating:{t:0,b:{t:2,i:[{t:3}],s:"Authenticating..."}},checking_local:{t:0,b:{t:2,i:[{t:3}],s:"Checking local server..."}},finding_server:{t:0,b:{t:2,i:[{t:3}],s:"Finding your server..."}},establishing_secure:{t:0,b:{t:2,i:[{t:3}],s:"Establishing secure connection..."}},complete_sign_in:{t:0,b:{t:2,i:[{t:3}],s:"Complete Sign-in"}},oauth_waiting_message:{t:0,b:{t:2,i:[{t:3}],s:"A browser window has opened. Please sign in with Home Assistant, then return here."}},waiting_for_auth:{t:0,b:{t:2,i:[{t:3}],s:"Waiting for authentication..."}},connection_failed:{t:0,b:{t:2,i:[{t:3}],s:"Connection Failed"}},try_again:{t:0,b:{t:2,i:[{t:3}],s:"Try Again"}},error_unknown:{t:0,b:{t:2,i:[{t:3}],s:"Unknown error occurred"}},error_login_failed:{t:0,b:{t:2,i:[{t:3}],s:"Login failed. Please check your credentials."}},error_oauth_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to authenticate with Home Assistant."}}},remote:{connect_title:{t:0,b:{t:2,i:[{t:3}],s:"Connect to your server"}},subtitle:{t:0,b:{t:2,i:[{t:3}],s:"Connect to your home server from anywhere"}},subtitle_login:{t:0,b:{t:2,i:[{t:3}],s:"Sign in to access your music"}},remote_id:{t:0,b:{t:2,i:[{t:3}],s:"Remote ID"}},remote_id_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"e.g., MA-X7K9-P2M4"}},remote_id_hint:{t:0,b:{t:2,i:[{t:3}],s:'Find your Remote ID in your Music Assistant server settings under "Remote Access".'}},recent_connections:{t:0,b:{t:2,i:[{t:3}],s:"Recent Connections"}},connect:{t:0,b:{t:2,i:[{t:3}],s:"Connect"}},connect_locally:{t:0,b:{t:2,i:[{t:3}],s:"Connect to local server instead"}},login_title:{t:0,b:{t:2,i:[{t:3}],s:"Sign in to your server"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},remember_me:{t:0,b:{t:2,i:[{t:3}],s:"Remember me on this device"}},sign_in:{t:0,b:{t:2,i:[{t:3}],s:"Sign In"}},back:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},connecting:{t:0,b:{t:2,i:[{t:3}],s:"Connecting..."}},status_connecting_signaling:{t:0,b:{t:2,i:[{t:3}],s:"Connecting to signaling server..."}},status_finding_server:{t:0,b:{t:2,i:[{t:3}],s:"Finding your server..."}},status_establishing:{t:0,b:{t:2,i:[{t:3}],s:"Establishing secure connection..."}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},connection_failed:{t:0,b:{t:2,i:[{t:3}],s:"Connection Failed"}},retry:{t:0,b:{t:2,i:[{t:3}],s:"Try Again"}},error_unknown:{t:0,b:{t:2,i:[{t:3}],s:"Unknown error occurred"}},error_login_failed:{t:0,b:{t:2,i:[{t:3}],s:"Login failed. Please check your credentials."}},error_server_not_found:{t:0,b:{t:2,i:[{t:3}],s:"Server not found. Make sure your Music Assistant server is running and has Remote Access enabled."}},login_with_ha:{t:0,b:{t:2,i:[{t:3}],s:"Sign in with Home Assistant"}},or:{t:0,b:{t:2,i:[{t:3}],s:"or"}},subtitle_oauth:{t:0,b:{t:2,i:[{t:3}],s:"Complete sign-in in your browser"}},oauth_waiting_title:{t:0,b:{t:2,i:[{t:3}],s:"Complete Sign-in"}},oauth_waiting_message:{t:0,b:{t:2,i:[{t:3}],s:"A browser window has opened. Please sign in with Home Assistant, then return here."}},oauth_waiting_hint:{t:0,b:{t:2,i:[{t:3}],s:"Waiting for authentication..."}},error_oauth_failed:{t:0,b:{t:2,i:[{t:3}],s:"Failed to authenticate with Home Assistant."}}}}},{en_AU:{settings:{sync:{t:0,b:{t:2,i:[{t:3}],s:"Synchronise now"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"This provider is now being synchronised"}},volume_normalization:{label:{t:0,b:{t:2,i:[{t:3}],s:"Enable volume normalisation (EBU-R128 based)"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Enable volume normalisation based on the EBU-R128 standard without affecting dynamic range"}}},volume_normalization_target:{label:{t:0,b:{t:2,i:[{t:3}],s:"Target level for volume normalisation"}}},eq_bass:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equaliser: bass"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equaliser to adjust the bass (low tones) level of the audio."}}},eq_mid:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equaliser: mid"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equaliser to adjust the mid level of audio."}}},eq_treble:{label:{t:0,b:{t:2,i:[{t:3}],s:"Equaliser: treble"}},description:{t:0,b:{t:2,i:[{t:3}],s:"Use the built-in basic equaliser to adjust the treble (high tones) level of audio."}}},volume_normalization_radio:{label:{t:0,b:{t:2,i:[{t:3}],s:"Volume normalisation method to use for radio streams"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Set the preferred volume normalisation strategy for radio streams.
|
|
309
309
|
By default Music Assistant collects a measurement of the radio station's (average perceived) loudness according to the EBU-R128 specification and then adjusts the overall gain/volume of the stream according to that measurement so the dynamic range of the audio is not affected. When no measurement (yet) exists for a radio station, Music Assistant will fallback to a dynamic (but less accurate) loudness levelling filter.
|
|
310
310
|
|
|
311
311
|
TIP: Radio streams often have varying loudness levels, especially during announcements and commercials.
|
|
@@ -1028,13 +1028,13 @@ I så fall måste du manuellt ange sökvägen till inställningarna eller rensa
|
|
|
1028
1028
|
|
|
1029
1029
|
对于不支持分组的播放器/生态系统,或者如果要对来自不同生态系统的播放器进行分组,可以使用通用分组类型,它将向所有成员播放器分发相同的音频(但不同步)。
|
|
1030
1030
|
|
|
1031
|
-
请注意,有些提供者确实支持分组,但你需要使用本机应用程序来执行分组。例如,基于 Google Cast 的播放器只能在 Google Home 应用程序中创建 Google Cast 群组。`}},dynamic_members:{label:{t:0,b:{t:2,i:[{t:3}],s:"动态组成员"}},description:{t:0,b:{t:2,i:[{t:3}],s:"允许成员(临时)动态加入/离开群组,因此群组的行为或多或少与手动同步播放器的行为相同,主要区别在于群组播放器将持有队列。"}}},dsp:{configure_on:{t:0,b:{t:2,i:[{t:3,v:"配置 "},{t:4,k:"name"},{t:3,v:"的DSP"}]}},disabled_message:{t:0,b:{t:2,i:[{t:3}],s:"目前 DSP 已禁用。请使用上面的开关启用它"}},input:{t:0,b:{t:2,i:[{t:3}],s:"输入"}},output:{t:0,b:{t:2,i:[{t:3}],s:"输出"}},filter:{add:{t:0,b:{t:2,i:[{t:3}],s:"添加过滤器"}},type:{t:0,b:{t:2,i:[{t:3}],s:"过滤器类型"}},new:{t:0,b:{t:2,i:[{t:3,v:"新"},{t:4,k:"type"}]}}},move_up:{t:0,b:{t:2,i:[{t:3}],s:"向上移动"}},move_down:{t:0,b:{t:2,i:[{t:3}],s:"向下移动"}},delete_filter:{t:0,b:{t:2,i:[{t:3}],s:"删除过滤器"}},parametric_eq:{add_band:{t:0,b:{t:2,i:[{t:3}],s:"添加频段"}},delete_band:{t:0,b:{t:2,i:[{t:3}],s:"删除频段"}},filter_type:{t:0,b:{t:2,i:[{t:3}],s:"过滤器类型"}},band:{t:0,b:{t:2,i:[{t:4,k:"index"},{t:3,v:"频段"}]}},enable_band:{t:0,b:{t:2,i:[{t:3}],s:"启用频段"}},filter_types:{peak:{t:0,b:{t:2,i:[{t:3}],s:"峰值"}},low_shelf:{t:0,b:{t:2,i:[{t:3}],s:"低架"}},high_shelf:{t:0,b:{t:2,i:[{t:3}],s:"高架"}},low_pass:{t:0,b:{t:2,i:[{t:3}],s:"低通道"}},high_pass:{t:0,b:{t:2,i:[{t:3}],s:"高通道"}},notch:{t:0,b:{t:2,i:[{t:3}],s:"凹槽"}}},import_apo:{t:0,b:{t:2,i:[{t:3}],s:"导入 APO/REW 预设"}},export_apo:{t:0,b:{t:2,i:[{t:3}],s:"导出 APO 预设"}},preamp:{t:0,b:{t:2,i:[{t:3}],s:"前置放大器"}},add_band_channel:{t:0,b:{t:2,i:[{t:3,v:"添加频段(仅限"},{t:4,k:"channel"},{t:3,v:" )"}]}},band_channel:{t:0,b:{t:2,i:[{t:3,v:"频段"},{t:4,k:"index"},{t:3,v:" (仅限"},{t:4,k:"channel"},{t:3,v:" )"}]}},show_multichannel_controls:{t:0,b:{t:2,i:[{t:3}],s:"显示多通道控制"}},edited_channel:{t:0,b:{t:2,i:[{t:3}],s:"绘制该通道的 EQ 响应"}},channel:{t:0,b:{t:2,i:[{t:3}],s:"该频段将用于"}},per_channel_preamp:{t:0,b:{t:2,i:[{t:4,k:"channel"},{t:3,v:"的额外前置放大器增益"}]}}},tone_control:{bass_level:{t:0,b:{t:2,i:[{t:3}],s:"低音等级"}},mid_level:{t:0,b:{t:2,i:[{t:3}],s:"中音等级"}},treble_level:{t:0,b:{t:2,i:[{t:3}],s:"高音等级"}}},parameter:{frequency:{t:0,b:{t:2,i:[{t:3}],s:"频率"}},gain:{t:0,b:{t:2,i:[{t:3}],s:"收益"}},q_factor:{t:0,b:{t:2,i:[{t:3}],s:"Q 因子"}}},types:{parametric_eq:{t:0,b:{t:2,i:[{t:3}],s:"均衡器参数"}},tone_control:{t:0,b:{t:2,i:[{t:3}],s:"音调控制"}}},channels:{ALL:{t:0,b:{t:2,i:[{t:3}],s:"全部"}},FL:{t:0,b:{t:2,i:[{t:3}],s:"左"}},FR:{t:0,b:{t:2,i:[{t:3}],s:"右"}}},channels_compact:{FL:{t:0,b:{t:2,i:[{t:3}],s:"L"}},FR:{t:0,b:{t:2,i:[{t:3}],s:"R"}}}},power_control:{label:{t:0,b:{t:2,i:[{t:3}],s:"电源控制"}},description:{t:0,b:{t:2,i:[{t:3}],s:"定义/覆盖该播放器的电源控制行为。 例如,如果播放器不支持电源开关命令,但又想为不使用的播放器设置专用状态,则可以将电源开关命令重定向到其他设备,或使用假电源控制。"}}},volume_control:{label:{t:0,b:{t:2,i:[{t:3}],s:"音量控制"}},description:{t:0,b:{t:2,i:[{t:3}],s:"定义/覆盖该播放器的音量控制行为,例如将音量控制命令重定向到其他设备或完全禁用。"}}},mute_control:{label:{t:0,b:{t:2,i:[{t:3}],s:"静音控制"}},description:{t:0,b:{t:2,i:[{t:3}],s:'定义/覆盖该播放器的静音控制行为。 例如,它允许您将静音控制命令重定向到不同的设备,或完全禁用。 我们提供一个 "假 "静音控制选项,通过将音量设置为 0 并在取消静音时恢复音量来模拟静音。'}}},output_limiter:{label:{t:0,b:{t:2,i:[{t:3}],s:"启用限制以防止削波"}},description:{t:0,b:{t:2,i:[{t:3}],s:"激活限制器,通过使高峰值变得更安静来防止音频失真。"}}},dsp_enabled:{t:0,b:{t:2,i:[{t:3}],s:"DSP 已启用"}},dsp_disabled:{t:0,b:{t:2,i:[{t:3}],s:"DSP 已禁用"}},dsp_note_multi_device_group:{label:{t:0,b:{t:2,i:[{t:3}],s:"您可以为每个播放器单独配置 DSP。"}}},dsp_note_multi_device_group_unsupported:{label:{t:0,b:{t:2,i:[{t:3}],s:"在向多个设备播放时,该群组类型不支持 DSP。"}}},enable_builtin_player:{label:{t:0,b:{t:2,i:[{t:3}],s:"允许在此设备/浏览器上播放"}},description:{t:0,b:{t:2,i:[{t:3}],s:"启用此设备/浏览器的(实验性)内置播放器,这样您就可以将所有音乐助手内容直接传输到此设备。"}}}},show_info:{t:0,b:{t:2,i:[{t:3}],s:"显示信息"}},show_select_boxes:{t:0,b:{t:2,i:[{t:3}],s:"显示选择框"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放"}},sort:{duration:{t:0,b:{t:2,i:[{t:3}],s:"持续时间"}},position:{t:0,b:{t:2,i:[{t:3}],s:"位置"}},provider:{t:0,b:{t:2,i:[{t:3}],s:"提供者"}},sort_name:{t:0,b:{t:2,i:[{t:3}],s:"按字母顺序"}},track_number:{t:0,b:{t:2,i:[{t:3}],s:"歌曲编号"}},year:{t:0,b:{t:2,i:[{t:3}],s:"发行年份"}},position_desc:{t:0,b:{t:2,i:[{t:3}],s:"排名(降序)"}},album:{t:0,b:{t:2,i:[{t:3}],s:"唱片集"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"歌手"}},name:{t:0,b:{t:2,i:[{t:3}],s:"按字母顺序"}},name_desc:{t:0,b:{t:2,i:[{t:3}],s:"按字母顺序(降序)"}},recent:{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}},year_desc:{t:0,b:{t:2,i:[{t:3}],s:"发布年份(降序)"}},duration_desc:{t:0,b:{t:2,i:[{t:3}],s:"持续时间(降序)"}},original:{t:0,b:{t:2,i:[{t:3}],s:"原创"}},sort_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"名称排序(降序)"}},timestamp_added:{t:0,b:{t:2,i:[{t:3}],s:"添加日期"}},timestamp_added_desc:{t:0,b:{t:2,i:[{t:3}],s:"添加日期(降序)"}},timestamp_modified:{t:0,b:{t:2,i:[{t:3}],s:"更新日期"}},timestamp_modified_desc:{t:0,b:{t:2,i:[{t:3}],s:"更新日期(降序)"}},last_played:{t:0,b:{t:2,i:[{t:3}],s:"上次播放"}},last_played_desc:{t:0,b:{t:2,i:[{t:3}],s:"上次播放(倒序)"}},play_count:{t:0,b:{t:2,i:[{t:3}],s:"播放次数"}},play_count_desc:{t:0,b:{t:2,i:[{t:3}],s:"播放次数(倒序)"}},artist_name:{t:0,b:{t:2,i:[{t:3}],s:"唱片集歌手"}},artist_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"唱片集歌手(降序)"}}},state:{idle:{t:0,b:{t:2,i:[{t:3}],s:"闲置"}},off:{t:0,b:{t:2,i:[{t:3}],s:"关闭"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"暂停"}},playing:{t:0,b:{t:2,i:[{t:3}],s:"正在播放"}}},sync_now:{t:0,b:{t:2,i:[{t:3}],s:"立即同步"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"一个或多个音乐提供者正在同步。"}},tooltip:{album_artist_filter:{t:0,b:{t:2,i:[{t:3}],s:"切换 唱片集-歌手 过滤器"}},explicit:{t:0,b:{t:2,i:[{t:3}],s:"显式"}},filter_library:{t:0,b:{t:2,i:[{t:3}],s:"在媒体库/过滤收藏夹中切换"}},library:{t:0,b:{t:2,i:[{t:3}],s:"在媒体库/收藏夹中切换"}},linked:{t:0,b:{t:2,i:[{t:3}],s:"此提供者已链接到当前项目"}},refresh:{t:0,b:{t:2,i:[{t:3}],s:"刷新项目列表"}},refresh_new_content:{t:0,b:{t:2,i:[{t:3}],s:"有新内容可用,单击刷新列表"}},search:{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏搜索"}},select_items:{t:0,b:{t:2,i:[{t:3}],s:"选择多个项目"}},sort_options:{t:0,b:{t:2,i:[{t:3}],s:"排序选项"}},toggle_view_mode:{t:0,b:{t:2,i:[{t:3}],s:"切换视图模式列表/缩略图"}},filter_favorites:{t:0,b:{t:2,i:[{t:3}],s:"仅显示收藏夹"}},favorite:{t:0,b:{t:2,i:[{t:3}],s:"标记/取消标记为收藏"}},open_provider_link:{t:0,b:{t:2,i:[{t:3}],s:"在提供者的网站上打开此项目"}},collapse_expand:{t:0,b:{t:2,i:[{t:3}],s:"折叠/展开此列表"}},back:{t:0,b:{t:2,i:[{t:3}],s:"返回"}},show_menu:{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏菜单"}},search_filter_active:{t:0,b:{t:2,i:[{t:3}],s:"筛选搜索的结果"}},play_sample:{t:0,b:{t:2,i:[{t:3}],s:"播放示例"}},album_type:{t:0,b:{t:2,i:[{t:3}],s:"唱片集类型"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"服务器正在处理请求或同步音乐。"}},primary_image:{t:0,b:{t:2,i:[{t:3}],s:"这是此图像类型的主要图像"}},copy_uri:{t:0,b:{t:2,i:[{t:3}],s:"将 URI 复制到剪贴板"}},select_all:{t:0,b:{t:2,i:[{t:3}],s:"选择所有项目"}}},topresult:{t:0,b:{t:2,i:[{t:3}],s:"最佳结果"}},track:{t:0,b:{t:2,i:[{t:3}],s:"歌曲"}},track_number:{t:0,b:{t:2,i:[{t:3,v:"光盘"},{t:5,i:0},{t:3,v:" 歌曲"},{t:5,i:1}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"歌曲"}},try_global_search:{t:0,b:{t:2,i:[{t:3}],s:"尝试全局搜索"}},type_to_search:{t:0,b:{t:2,i:[{t:3}],s:"在这里输入以搜索..."}},volume_normalization:{t:0,b:{t:2,i:[{t:3}],s:"音量标准化"}},play_now_replace:{t:0,b:{t:2,i:[{t:3}],s:"立即播放(清除队列)"}},currently_playing:{t:0,b:{t:2,i:[{t:3}],s:"正在播放"}},favorites_add:{t:0,b:{t:2,i:[{t:3}],s:"添加到收藏夹"}},favorites_remove:{t:0,b:{t:2,i:[{t:3}],s:"从收藏夹中删除"}},confirm_library_remove:{t:0,b:{t:2,i:[{t:3}],s:"您确定要从库中删除此项目吗?依赖于此项目的任何项目也将递归删除。请注意,这只会从资料库中删除此项目。如果是磁盘上的音乐文件,可能会在下次同步时返回。"}},check_item_on_provider:{t:0,b:{t:2,i:[{t:3,v:"检查"},{t:5,i:1},{t:3,v:"中的"},{t:5,i:0}]}},check_item_in_library:{t:0,b:{t:2,i:[{t:3,v:"在媒体库中检查"},{t:5,i:0}]}},media_details:{t:0,b:{t:2,i:[{t:3}],s:"媒体详情"}},mapped_providers:{t:0,b:{t:2,i:[{t:3}],s:"提供者详细信息"}},item_in_library:{t:0,b:{t:2,i:[{t:3}],s:"此项目可在媒体库中找到"}},back:{t:0,b:{t:2,i:[{t:3}],s:"返回"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}},radiobrowser_by_country:{t:0,b:{t:2,i:[{t:3}],s:"按国家/地区"}},radiobrowser_by_tag:{t:0,b:{t:2,i:[{t:3}],s:"按标签"}},load_more_items:{t:0,b:{t:2,i:[{t:3}],s:"加载更多项目"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"收音机"}},muted:{t:0,b:{t:2,i:[{t:3}],s:"静音"}},enter_name:{t:0,b:{t:2,i:[{t:3}],s:"输入新的(自定义)名称"}},image_url:{t:0,b:{t:2,i:[{t:3}],s:"输入图像或图标的URL(可选)"}},invalid_input:{t:0,b:{t:2,i:[{t:3}],s:"输入无效"}},new_playlist:{t:0,b:{t:2,i:[{t:3}],s:"新播放列表"}},create_playlist_on:{t:0,b:{t:2,i:[{t:3,v:"在"},{t:5,i:0},{t:3,v:"创建新播放列表"}]}},view:{list:{t:0,b:{t:2,i:[{t:3}],s:"列表视图"}},panel:{t:0,b:{t:2,i:[{t:3}],s:"缩略图视图"}},panel_compact:{t:0,b:{t:2,i:[{t:3}],s:"缩略图视图"}}},play_replace:{t:0,b:{t:2,i:[{t:3}],s:"立即播放(清除播放列表)"}},played:{t:0,b:{t:2,i:[{t:3}],s:"已播放"}},background_task_added:{t:0,b:{t:2,i:[{t:3}],s:"该操作由服务器在后台执行,可能需要一些时间才能完成。请密切关注服务器日志以了解进度。"}},images:{t:0,b:{t:2,i:[{t:3}],s:"图片"}},image_type:{t:0,b:{t:2,i:[{t:3}],s:"类型"}},image_source:{t:0,b:{t:2,i:[{t:3}],s:"源"}},image_make_primary:{t:0,b:{t:2,i:[{t:3}],s:"设为主要"}},update_metadata:{t:0,b:{t:2,i:[{t:3}],s:"更新元数据"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"关闭"}},transfer_queue:{t:0,b:{t:2,i:[{t:3}],s:"转移队列"}},power_on_player:{t:0,b:{t:2,i:[{t:3}],s:"打开"}},power_off_player:{t:0,b:{t:2,i:[{t:3}],s:"关闭"}},powered_off_players:{t:0,b:{t:2,i:[{t:3}],s:"未使用的播放器"}},sync_player_with:{t:0,b:{t:2,i:[{t:3}],s:"与其他播放器同步"}},open_player_settings:{t:0,b:{t:2,i:[{t:3}],s:"打开设置"}},select_repeat_mode:{t:0,b:{t:2,i:[{t:3}],s:"选择循环模式"}},repeat_mode:{all:{t:0,b:{t:2,i:[{t:3}],s:"队列循环"}},off:{t:0,b:{t:2,i:[{t:3}],s:"关闭循环"}},one:{t:0,b:{t:2,i:[{t:3}],s:"单曲循环"}}},shuffle_disable:{t:0,b:{t:2,i:[{t:3}],s:"禁用随机播放"}},shuffle_enable:{t:0,b:{t:2,i:[{t:3}],s:"启用随机播放"}},dont_stop_the_music_enable:{t:0,b:{t:2,i:[{t:3}],s:"启用“不要停止音乐!”"}},dont_stop_the_music_disable:{t:0,b:{t:2,i:[{t:3}],s:"禁用“不要停止音乐!”"}},open_dsp_settings:{t:0,b:{t:2,i:[{t:3}],s:"打开 DSP 设置"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},chapter:{t:0,b:{t:2,i:[{t:3}],s:"章节"}},chapters:{t:0,b:{t:2,i:[{t:3}],s:"章节s"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},item_fully_played:{t:0,b:{t:2,i:[{t:3}],s:"该项目已完全播放"}},item_in_progress:{t:0,b:{t:2,i:[{t:3}],s:"该项目已部分播放"}},duration_in_seconds:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:"秒"}]}},mark_played:{t:0,b:{t:2,i:[{t:3}],s:"标记为已播放"}},mark_unplayed:{t:0,b:{t:2,i:[{t:3}],s:"标记为未播放"}},searchtype_all:{t:0,b:{t:2,i:[{t:3}],s:"全部"}},global_search:{t:0,b:{t:2,i:[{t:3}],s:"全局搜索"}},podcast_episode:{t:0,b:{t:2,i:[{t:3}],s:"插曲"}},podcast_episodes:{t:0,b:{t:2,i:[{t:3}],s:"剧集"}},play_from_here:{t:0,b:{t:2,i:[{t:3}],s:"从此处开始播放"}},loudness_measurement:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS"}]}},loudness_measurement_album:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS(唱片集)"}]}},loudness_dynamic:{t:0,b:{t:2,i:[{t:3}],s:"动态音量标准化"}},loudness_fixed:{t:0,b:{t:2,i:[{t:3}],s:"固定增益校正"}},dsp_active:{t:0,b:{t:2,i:[{t:3}],s:"激活"}},currently_playing_players:{t:0,b:{t:2,i:[{t:3}],s:"正在播放"}},all_players:{t:0,b:{t:2,i:[{t:3}],s:"所有播放器"}},all_groups:{t:0,b:{t:2,i:[{t:3}],s:"所有群组"}},no_player_playing:{t:0,b:{t:2,i:[{t:3}],s:"目前没有播放器正在播放"}},stop_playback:{t:0,b:{t:2,i:[{t:3}],s:"停止播放"}},streamdetails:{input_header:{t:0,b:{t:2,i:[{t:3}],s:"输入"}},output_header:{t:0,b:{t:2,i:[{t:3}],s:"输出"}},output_format_info:{t:0,b:{t:2,i:[{t:3,v:"音频以"},{t:5,i:0},{t:3,v:"格式发送"}]}},eq_band_count:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:"乐队"}]}},eq_band_count_singular:{t:0,b:{t:2,i:[{t:3}],s:"1个乐队"}},input_gain:{t:0,b:{t:2,i:[{t:3,v:"输入增益 ("},{t:5,i:0},{t:3,v:" dB)"}]}},output_gain:{t:0,b:{t:2,i:[{t:3,v:"输出增益 ( "},{t:5,i:0},{t:3,v:" dB)"}]}},output_limiter:{t:0,b:{t:2,i:[{t:3}],s:"输出限制器"}},output_limiter_info:{t:0,b:{t:2,i:[{t:3}],s:"自动降低非常响亮的声音,防止失真并保护扬声器"}},dsp_unsupported:{t:0,b:{t:2,i:[{t:3}],s:"不支持 DSP"}},dsp_disabled_by_unsupported_group:{t:0,b:{t:2,i:[{t:3}],s:"该播放器提供者不支持同步播放的 DSP"}},file_info:{container:{t:0,b:{t:2,i:[{t:3,v:"容器: "},{t:5,i:0}]}},codec:{t:0,b:{t:2,i:[{t:3,v:"编解码器: "},{t:5,i:0}]}},bit_rate:{t:0,b:{t:2,i:[{t:3,v:"比特率: "},{t:5,i:0},{t:3,v:" kbps"}]}},sample_rate:{t:0,b:{t:2,i:[{t:3,v:"采样率: "},{t:5,i:0},{t:3,v:" kHz"}]}},channels:{t:0,b:{t:2,i:[{t:3,v:"通道: "},{t:5,i:0}]}},bit_depth:{t:0,b:{t:2,i:[{t:3,v:"位深度: "},{t:5,i:0}]}},processing_notice:{t:0,b:{t:2,i:[{t:3}],s:"音频在内部以 32 位浮点处理PCM"}}},volume_normalization:{target_level:{t:0,b:{t:2,i:[{t:3,v:"目标级别: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_loudness:{t:0,b:{t:2,i:[{t:3,v:"测量(综合)响度: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_album_loudness:{t:0,b:{t:2,i:[{t:3,v:"唱片集响度: "},{t:5,i:0},{t:3,v:" LUFS"}]}},applied_gain_correction:{t:0,b:{t:2,i:[{t:3,v:"应用增益校正: "},{t:5,i:0},{t:3,v:" dB"}]}},mode:{dynamic:{t:0,b:{t:2,i:[{t:3}],s:"音量标准化在动态模式下处于活动状态。"}},measurement_only:{t:0,b:{t:2,i:[{t:3}],s:"音量正常化是根据音频(综合)响度的存储测量值激活的。"}},measurement_album:{t:0,b:{t:2,i:[{t:3}],s:"音量归一化功能是根据已存储的唱片集响度(综合)测量结果激活的。"}},fixed_gain:{t:0,b:{t:2,i:[{t:3}],s:"基于固定增益校正音量"}}}},click_to_expand:{t:0,b:{t:2,i:[{t:3}],s:"点击显示所有播放器"}},output_format_pcm_info:{t:0,b:{t:2,i:[{t:3}],s:"音频以 PCM 格式传递给播放器提供者。播放器提供者可能会将音频转换为其他格式,然后再发送给播放器。"}}},volume_normalization_gain_correction:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:"分贝"}]}},select_source:{t:0,b:{t:2,i:[{t:3}],s:"选择来源"}},in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"继续听..."}},play_replace_next:{t:0,b:{t:2,i:[{t:3}],s:"播放下一个(清除队列)"}},all_enqueue_options:{t:0,b:{t:2,i:[{t:3}],s:"所有队列选项"}},music_assistant_source:{t:0,b:{t:2,i:[{t:3}],s:"音乐助理队列"}},music_assistant_library:{t:0,b:{t:2,i:[{t:3}],s:"音乐助理媒体库"}},select_all_confirmation:{t:0,b:{t:2,i:[{t:3}],s:"选择所有项目?此操作可能需要一些时间来加载所有数据。"}},this_device:{t:0,b:{t:2,i:[{t:3}],s:"此设备"}},recommendations:{in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"继续听..."}},recommended_new_tracks:{t:0,b:{t:2,i:[{t:3}],s:"推荐的新歌曲"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}},suggested_new_albums_for_you:{t:0,b:{t:2,i:[{t:3}],s:"为您推荐的新唱片集"}},random_artists:{t:0,b:{t:2,i:[{t:3}],s:"随机的歌手"}},random_albums:{t:0,b:{t:2,i:[{t:3}],s:"随机唱片集"}},custom_mixes:{t:0,b:{t:2,i:[{t:3}],s:"定制混音"}},your_listening_history:{t:0,b:{t:2,i:[{t:3}],s:"您的收听历史"}},popular_albums:{t:0,b:{t:2,i:[{t:3}],s:"热门唱片集"}},staff_picks_tracks:{t:0,b:{t:2,i:[{t:3}],s:"精选的歌曲"}},staff_picks_albums:{t:0,b:{t:2,i:[{t:3}],s:"精选:唱片集"}},radio_stations_for_you:{t:0,b:{t:2,i:[{t:3}],s:"适合您的广播电台"}},producers__songwriters:{t:0,b:{t:2,i:[{t:3}],s:"制作人和词曲作者"}},new_releases_for_you:{t:0,b:{t:2,i:[{t:3}],s:"为您提供的新版本"}},recent_favorite_tracks:{t:0,b:{t:2,i:[{t:3}],s:"最近收藏的歌曲"}},favorite_playlists:{t:0,b:{t:2,i:[{t:3}],s:"收藏的播放列表"}},favorite_radio_stations:{t:0,b:{t:2,i:[{t:3}],s:"收藏的电台"}}},homescreen_edit_enable:{t:0,b:{t:2,i:[{t:3}],s:"编辑主屏幕"}},homescreen_edit_disable:{t:0,b:{t:2,i:[{t:3}],s:"退出主屏幕编辑模式"}},lyrics_will_appear_soon:{t:0,b:{t:2,i:[{t:3}],s:"歌词将在歌曲开始时出现..."}}}}),qd=Ow({globalInjection:!0,locale:navigator.language.split("-")[0],fallbackLocale:"en",missingWarn:!1,fallbackWarn:!1,messages:$w}),Rt=qd.global.t;function gt(t,e){return s=>Object.keys(t).reduce((a,n)=>{const o=typeof t[n]=="object"&&t[n]!=null&&!Array.isArray(t[n])?t[n]:{type:t[n]};return s&&n in s?a[n]={...o,default:s[n]}:a[n]=o,e&&!a[n].source&&(a[n].source=e),a},{})}const ue=gt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function Zf(t,e){e=Array.isArray(e)?e.slice(0,-1).map(s=>`'${s}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const ie=typeof window<"u",Vd=ie&&"IntersectionObserver"in window,Yw=ie&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),Qf=ie&&"matchMedia"in window&&typeof window.matchMedia=="function",$n=()=>Qf&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function ap(t,e,s){Xw(t,e),e.set(t,s)}function Xw(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function np(t,e,s){return t.set(Jf(t,e),s),s}function rs(t,e){return t.get(Jf(t,e))}function Jf(t,e,s){if(typeof t=="function"?t===e:t.has(e))return arguments.length<3?e:s;throw new TypeError("Private element is not present on this object")}function t2(t,e,s){const a=e.length-1;if(a<0)return t===void 0?s:t;for(let n=0;n<a;n++){if(t==null)return s;t=t[e[n]]}return t==null||t[e[a]]===void 0?s:t[e[a]]}function Cu(t,e,s){return t==null||!e||typeof e!="string"?s:t[e]!==void 0?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),t2(t,e.split("."),s))}function Xi(t,e,s){if(e===!0)return t===void 0?s:t;if(e==null||typeof e=="boolean")return s;if(t!==Object(t)){if(typeof e!="function")return s;const n=e(t,s);return typeof n>"u"?s:n}if(typeof e=="string")return Cu(t,e,s);if(Array.isArray(e))return t2(t,e,s);if(typeof e!="function")return s;const a=e(t,s);return typeof a>"u"?s:a}function e2(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(s,a)=>e+a)}function Bt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(t==null||t==="")return;const s=Number(t);return isNaN(s)?String(t):isFinite(s)?`${s}${e}`:void 0}function Mu(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function rp(t){let e;return t!==null&&typeof t=="object"&&((e=Object.getPrototypeOf(t))===Object.prototype||e===null)}function i2(t){if(t&&"$el"in t){const e=t.$el;return e?.nodeType===Node.TEXT_NODE?e.nextElementSibling:e}return t}const jC=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function EC(t){return Object.keys(t)}function Al(t,e){return e.every(s=>t.hasOwnProperty(s))}function Hd(t,e){const s={};for(const a of e)Object.prototype.hasOwnProperty.call(t,a)&&(s[a]=t[a]);return s}function op(t,e,s){const a=Object.create(null),n=Object.create(null);for(const r in t)e.some(o=>o instanceof RegExp?o.test(r):o===r)?a[r]=t[r]:n[r]=t[r];return[a,n]}function cr(t,e){const s={...t};return e.forEach(a=>delete s[a]),s}const s2=/^on[^a-z]/,a2=t=>s2.test(t),Zw=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],Qw=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function CC(t){return t.isComposing&&Qw.includes(t.key)}function MC(t){const[e,s]=op(t,[s2]),a=cr(e,Zw),[n,r]=op(s,["class","style","id",/^data-/]);return Object.assign(n,e),Object.assign(r,a),[n,r]}function Wd(t){return t==null?[]:Array.isArray(t)?t:[t]}function xC(t,e){let s=0;const a=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];clearTimeout(s),s=setTimeout(()=>t(...r),W(e))};return a.clear=()=>{clearTimeout(s)},a.immediate=t,a}function gs(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(s,t))}function IC(t){const e=t.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function lp(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return t+s.repeat(Math.max(0,e-t.length))}function up(t,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-t.length))+t}function Jw(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const s=[];let a=0;for(;a<t.length;)s.push(t.substr(a,e)),a+=e;return s}function $e(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const a={};for(const n in t)a[n]=t[n];for(const n in e){const r=t[n],o=e[n];if(rp(r)&&rp(o)){a[n]=$e(r,o,s);continue}if(s&&Array.isArray(r)&&Array.isArray(o)){a[n]=s(r,o);continue}a[n]=o}return a}function n2(t){return t.map(e=>e.type===pt?n2(e.children):e).flat()}function ta(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ta.cache.has(t))return ta.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ta.cache.set(t,e),e}ta.cache=new Map;function wn(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(s=>wn(t,s)).flat(1);if(e.suspense)return wn(t,e.ssContent);if(Array.isArray(e.children))return e.children.map(s=>wn(t,s)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(t))return[e.component];if(e.component.subTree)return wn(t,e.component.subTree).flat(1)}return[]}var va=new WeakMap,$s=new WeakMap;class tS{constructor(e){ap(this,va,[]),ap(this,$s,0),this.size=e}get isFull(){return rs(va,this).length===this.size}push(e){rs(va,this)[rs($s,this)]=e,np($s,this,(rs($s,this)+1)%this.size)}values(){return rs(va,this).slice(rs($s,this)).concat(rs(va,this).slice(0,rs($s,this)))}clear(){rs(va,this).length=0,np($s,this,0)}}function Kd(t){const e=we({});ye(()=>{const a=t();for(const n in a)e[n]=a[n]},{flush:"sync"});const s={};for(const a in e)s[a]=at(()=>e[a]);return s}function fo(t,e){return t.includes(e)}function r2(t){return t[2].toLowerCase()+t.slice(3)}const ea=()=>[Function,Array];function dp(t,e){return e="on"+Ja(e),!!(t[e]||t[`${e}Once`]||t[`${e}Capture`]||t[`${e}OnceCapture`]||t[`${e}CaptureOnce`])}function DC(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),a=1;a<e;a++)s[a-1]=arguments[a];if(Array.isArray(t))for(const n of t)n(...s);else typeof t=="function"&&t(...s)}function vo(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const s=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(n=>`${n}${e?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let a;try{a=[...t.querySelectorAll(s)]}catch{return[]}return a.filter(n=>!n.closest("[inert]")).filter(n=>!!n.offsetParent||n.getClientRects().length>0).filter(n=>!n.parentElement?.closest("details:not([open])")||n.tagName==="SUMMARY"&&n.parentElement?.tagName==="DETAILS")}function o2(t,e,s){let a,n=t.indexOf(document.activeElement);const r=e==="next"?1:-1;do n+=r,a=t[n];while((!a||a.offsetParent==null||!(s?.(a)??!0))&&n<t.length&&n>=0);return a}function Dn(t,e){const s=vo(t);if(e==null)(t===document.activeElement||!t.contains(document.activeElement))&&s[0]?.focus();else if(e==="first")s[0]?.focus();else if(e==="last")s.at(-1)?.focus();else if(typeof e=="number")s[e]?.focus();else{const a=o2(s,e);a?a.focus():Dn(t,e==="next"?"first":"last")}}function LC(){}function eS(t,e){if(!(ie&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!t&&t.matches(e)}catch{return null}}function iS(t){return t.some(e=>Si(e)?e.type===je?!1:e.type!==pt||iS(e.children):!0)?t:null}function sS(t,e){if(!ie||t===0)return e(),()=>{};const s=window.setTimeout(e,t);return()=>window.clearTimeout(s)}function aS(t,e){const s=t.clientX,a=t.clientY,n=e.getBoundingClientRect(),r=n.left,o=n.top,u=n.right,l=n.bottom;return s>=r&&s<=u&&a>=o&&a<=l}function xu(){const t=It(),e=s=>{t.value=s};return Object.defineProperty(e,"value",{enumerable:!0,get:()=>t.value,set:s=>t.value=s}),Object.defineProperty(e,"el",{enumerable:!0,get:()=>i2(t.value)}),e}function RC(t){const e=t.key.length===1,s=!t.ctrlKey&&!t.metaKey&&!t.altKey;return e&&s}function ra(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="bigint"}function OC(t){return"\\^$*+?.()|{}[]".includes(t)?`\\${t}`:t}function NC(t){const e={};for(const s in t)e[Ye(s)]=t[s];return e}function nS(t){const e=["checked","disabled"];return Object.fromEntries(Object.entries(t).filter(s=>{let[a,n]=s;return e.includes(a)?!!n:n!==void 0}))}function Ue(t,e){const s=ks();if(!s)throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);return s}function Us(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ue(t).type;return ta(e?.aliasName||e?.name)}function rS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue("injectSelf");const{provides:s}=e;if(s&&t in s)return s[t]}const Za=Symbol.for("vuetify:defaults");function oS(t){return st(t)}function $d(){const t=Qt(Za);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function br(t,e){const s=$d(),a=st(t),n=G(()=>{if(W(e?.disabled))return s.value;const o=W(e?.scoped),u=W(e?.reset),l=W(e?.root);if(a.value==null&&!(o||u||l))return s.value;let d=$e(a.value,{prev:s.value});if(o)return d;if(u||l){const c=Number(u||1/0);for(let b=0;b<=c&&!(!d||!("prev"in d));b++)d=d.prev;return d&&typeof l=="string"&&l in d&&(d=$e($e(d,{prev:d}),d[l])),d}return d.prev?$e(d.prev,d):d});return Fe(Za,n),n}function lS(t,e){return t.props&&(typeof t.props[e]<"u"||typeof t.props[ta(e)]<"u")}function uS(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$d();const a=Ue("useDefaults");if(e=e??a.type.name??a.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const n=G(()=>s.value?.[t._as??e]),r=new Proxy(t,{get(l,d){const c=Reflect.get(l,d);if(d==="class"||d==="style")return[n.value?.[d],c].filter(f=>f!=null);if(lS(a.vnode,d))return c;const b=n.value?.[d];if(b!==void 0)return b;const p=s.value?.global?.[d];return p!==void 0?p:c}}),o=It();ye(()=>{if(n.value){const l=Object.entries(n.value).filter(d=>{let[c]=d;return c.startsWith(c[0].toUpperCase())});o.value=l.length?Object.fromEntries(l):void 0}else o.value=void 0});function u(){const l=rS(Za,a);Fe(Za,G(()=>o.value?$e(l?.value??{},o.value):l?.value))}return{props:r,provideSubDefaults:u}}const l2=["top","bottom"],dS=["start","end","left","right"];function Iu(t,e){let[s,a]=t.split(" ");return a||(a=fo(l2,s)?"start":fo(dS,s)?"top":"center"),{side:cp(s,e),align:cp(a,e)}}function cp(t,e){return t==="start"?e?"right":"left":t==="end"?e?"left":"right":t}function zl(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function Tl(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function bp(t){return{side:t.align,align:t.side}}function pp(t){return fo(l2,t.side)?"y":"x"}class zi{constructor(e){const s=document.body.currentCSSZoom??1,n=e.top===void 0?1:1+(1-s)/s,{x:r,y:o,width:u,height:l}=e;this.x=r*n,this.y=o*n,this.width=u*n,this.height=l*n}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function mp(t,e){return{x:{before:Math.max(0,e.left-t.left),after:Math.max(0,t.right-e.right)},y:{before:Math.max(0,e.top-t.top),after:Math.max(0,t.bottom-e.bottom)}}}function u2(t){if(Array.isArray(t)){const e=document.body.currentCSSZoom??1,s=1+(1-e)/e;return new zi({x:t[0]*s,y:t[1]*s,width:0*s,height:0*s})}else return new zi(t.getBoundingClientRect())}function cS(t){if(t===document.documentElement)if(visualViewport){const e=document.body.currentCSSZoom??1;return new zi({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale/e,height:visualViewport.height*visualViewport.scale/e})}else return new zi({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new zi(t.getBoundingClientRect())}function d2(t){const e=new zi(t.getBoundingClientRect()),s=getComputedStyle(t),a=s.transform;if(a){let n,r,o,u,l;if(a.startsWith("matrix3d("))n=a.slice(9,-1).split(/, /),r=Number(n[0]),o=Number(n[5]),u=Number(n[12]),l=Number(n[13]);else if(a.startsWith("matrix("))n=a.slice(7,-1).split(/, /),r=Number(n[0]),o=Number(n[3]),u=Number(n[4]),l=Number(n[5]);else return new zi(e);const d=s.transformOrigin,c=e.x-u-(1-r)*parseFloat(d),b=e.y-l-(1-o)*parseFloat(d.slice(d.indexOf(" ")+1)),p=r?e.width/r:t.offsetWidth+1,f=o?e.height/o:t.offsetHeight+1;return new zi({x:c,y:b,width:p,height:f})}else return new zi(e)}function Zs(t,e,s){if(typeof t.animate>"u")return{finished:Promise.resolve()};let a;try{a=t.animate(e,s)}catch{return{finished:Promise.resolve()}}return typeof a.finished>"u"&&(a.finished=new Promise(n=>{a.onfinish=()=>{n(a)}})),a}const Wr=new WeakMap;function bS(t,e){Object.keys(e).forEach(s=>{if(a2(s)){const a=r2(s),n=Wr.get(t);if(e[s]==null)n?.forEach(r=>{const[o,u]=r;o===a&&(t.removeEventListener(a,u),n.delete(r))});else if(!n||![...n].some(r=>r[0]===a&&r[1]===e[s])){t.addEventListener(a,e[s]);const r=n||new Set;r.add([a,e[s]]),Wr.has(t)||Wr.set(t,r)}}else e[s]==null?t.removeAttribute(s):t.setAttribute(s,e[s])})}function pS(t,e){Object.keys(e).forEach(s=>{if(a2(s)){const a=r2(s),n=Wr.get(t);n?.forEach(r=>{const[o,u]=r;o===a&&(t.removeEventListener(a,u),n.delete(r))})}else t.removeAttribute(s)})}const _a=2.4,fp=.2126729,vp=.7151522,_p=.072175,mS=.55,fS=.58,vS=.57,_S=.62,xr=.03,gp=1.45,gS=5e-4,hS=1.25,yS=1.25,hp=.078,yp=12.82051282051282,Ir=.06,kp=.001;function wp(t,e){const s=(t.r/255)**_a,a=(t.g/255)**_a,n=(t.b/255)**_a,r=(e.r/255)**_a,o=(e.g/255)**_a,u=(e.b/255)**_a;let l=s*fp+a*vp+n*_p,d=r*fp+o*vp+u*_p;if(l<=xr&&(l+=(xr-l)**gp),d<=xr&&(d+=(xr-d)**gp),Math.abs(d-l)<gS)return 0;let c;if(d>l){const b=(d**mS-l**fS)*hS;c=b<kp?0:b<hp?b-b*yp*Ir:b-Ir}else{const b=(d**_S-l**vS)*yS;c=b>-kp?0:b>-hp?b-b*yp*Ir:b+Ir}return c*100}const _o=.20689655172413793,kS=t=>t>_o**3?Math.cbrt(t):t/(3*_o**2)+4/29,wS=t=>t>_o?t**3:3*_o**2*(t-4/29);function c2(t){const e=kS,s=e(t[1]);return[116*s-16,500*(e(t[0]/.95047)-s),200*(s-e(t[2]/1.08883))]}function b2(t){const e=wS,s=(t[0]+16)/116;return[e(s+t[1]/500)*.95047,e(s),e(s-t[2]/200)*1.08883]}const SS=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],AS=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,zS=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],TS=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function p2(t){const e=Array(3),s=AS,a=SS;for(let n=0;n<3;++n)e[n]=Math.round(gs(s(a[n][0]*t[0]+a[n][1]*t[1]+a[n][2]*t[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Yd(t){let{r:e,g:s,b:a}=t;const n=[0,0,0],r=TS,o=zS;e=r(e/255),s=r(s/255),a=r(a/255);for(let u=0;u<3;++u)n[u]=o[u][0]*e+o[u][1]*s+o[u][2]*a;return n}function Du(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function PS(t){return Du(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const Sp=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,jS={rgb:(t,e,s,a)=>({r:t,g:e,b:s,a}),rgba:(t,e,s,a)=>({r:t,g:e,b:s,a}),hsl:(t,e,s,a)=>Ap({h:t,s:e,l:s,a}),hsla:(t,e,s,a)=>Ap({h:t,s:e,l:s,a}),hsv:(t,e,s,a)=>Yn({h:t,s:e,v:s,a}),hsva:(t,e,s,a)=>Yn({h:t,s:e,v:s,a})};function Qi(t){if(typeof t=="number")return{r:(t&16711680)>>16,g:(t&65280)>>8,b:t&255};if(typeof t=="string"&&Sp.test(t)){const{groups:e}=t.match(Sp),{fn:s,values:a}=e,n=a.split(/,\s*|\s*\/\s*|\s+/).map((r,o)=>r.endsWith("%")||o>0&&o<3&&["hsl","hsla","hsv","hsva"].includes(s)?parseFloat(r)/100:parseFloat(r));return jS[s](...n)}else if(typeof t=="string"){let e=t.startsWith("#")?t.slice(1):t;return[3,4].includes(e.length)?e=e.split("").map(s=>s+s).join(""):[6,8].includes(e.length),CS(e)}else if(typeof t=="object"){if(Al(t,["r","g","b"]))return t;if(Al(t,["h","s","l"]))return Yn(m2(t));if(Al(t,["h","s","v"]))return Yn(t)}throw new TypeError(`Invalid color: ${t==null?t:String(t)||t.constructor.name}
|
|
1032
|
-
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Yn(t){const{h:e,s,v:a,a:n}=t,r=u=>{const l=(u+e/60)%6;return a-a*s*Math.max(Math.min(l,4-l,1),0)},o=[r(5),r(3),r(1)].map(u=>Math.round(u*255));return{r:o[0],g:o[1],b:o[2],a:n}}function Ap(t){return Yn(m2(t))}function m2(t){const{h:e,s,l:a,a:n}=t,r=a+s*Math.min(a,1-a),o=r===0?0:2-2*a/r;return{h:e,s:o,v:r,a:n}}function Dr(t){const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function ES(t){let{r:e,g:s,b:a,a:n}=t;return`#${[Dr(e),Dr(s),Dr(a),n!==void 0?Dr(Math.round(n*255)):""].join("")}`}function CS(t){t=MS(t);let[e,s,a,n]=Jw(t,2).map(r=>parseInt(r,16));return n=n===void 0?n:n/255,{r:e,g:s,b:a,a:n}}function MS(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),(t.length===3||t.length===4)&&(t=t.split("").map(e=>e+e).join("")),t.length!==6&&(t=lp(lp(t,6),8,"F")),t}function xS(t,e){const s=c2(Yd(t));return s[0]=s[0]+e*10,p2(b2(s))}function IS(t,e){const s=c2(Yd(t));return s[0]=s[0]-e*10,p2(b2(s))}function DS(t){const e=Qi(t);return Yd(e)[1]}function f2(t){const e=Math.abs(wp(Qi(0),Qi(t)));return Math.abs(wp(Qi(16777215),Qi(t)))>Math.min(e,50)?"#fff":"#000"}function en(t){if(t._setup=t._setup??t.setup,!t.name)return t;if(t._setup){t.props=gt(t.props??{},t.name)();const e=Object.keys(t.props).filter(s=>s!=="class"&&s!=="style");t.filterProps=function(a){return Hd(a,e)},t.props._as=String,t.setup=function(a,n){const r=$d();if(!r.value)return t._setup(a,n);const{props:o,provideSubDefaults:u}=uS(a,a._as??t.name,r),l=t._setup(o,n);return u(),l}}return t}function Ut(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?en:Me)(e)}function Xd(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",s=arguments.length>2?arguments[2]:void 0;return Ut()({name:s??Ja(Ye(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...ue()},setup(a,n){let{slots:r}=n;return()=>oe(a.tag,{class:[t,a.class],style:a.style},r.default?.())}})}function LS(t,e,s,a){if(!s||ra(t)||ra(e))return;const n=s.get(t);if(n)n.set(e,a);else{const r=new WeakMap;r.set(e,a),s.set(t,r)}}function RS(t,e,s){if(!s||ra(t)||ra(e))return null;const a=s.get(t)?.get(e);if(typeof a=="boolean")return a;const n=s.get(e)?.get(t);return typeof n=="boolean"?n:null}function Is(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakMap;if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime()||t!==Object(t)||e!==Object(e))return!1;const a=Object.keys(t);if(a.length!==Object.keys(e).length)return!1;const n=RS(t,e,s);return n||(LS(t,e,s,!0),a.every(r=>Is(t[r],e[r],s)))}function v2(t){if(typeof t.getRootNode!="function"){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const Lu="cubic-bezier(0.4, 0, 0.2, 1)",zp="cubic-bezier(0.0, 0, 0.2, 1)",Tp="cubic-bezier(0.4, 0, 1, 1)",OS={linear:t=>t,easeInQuad:t=>t**2,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t**2:-1+(4-2*t)*t,easeInCubic:t=>t**3,easeOutCubic:t=>--t**3+1,easeInOutCubic:t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,easeInQuart:t=>t**4,easeOutQuart:t=>1- --t**4,easeInOutQuart:t=>t<.5?8*t**4:1-8*--t**4,easeInQuint:t=>t**5,easeOutQuint:t=>1+--t**5,easeInOutQuint:t=>t<.5?16*t**5:1+16*--t**5,instant:t=>1};function NS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;t;){if(e?BS(t):Zd(t))return t;t=t.parentElement}return document.scrollingElement}function go(t,e){const s=[];if(e&&t&&!e.contains(t))return s;for(;t&&(Zd(t)&&s.push(t),t!==e);)t=t.parentElement;return s}function Zd(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t),s=e.overflowY==="scroll"||e.overflowY==="auto"&&t.scrollHeight>t.clientHeight,a=e.overflowX==="scroll"||e.overflowX==="auto"&&t.scrollWidth>t.clientWidth;return s||a}function BS(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function FS(t){for(;t;){if(window.getComputedStyle(t).position==="fixed")return!0;t=t.offsetParent}return!1}function re(t){const e=Ue("useRender");e.render=t}function GS(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{leading:!0,trailing:!0},a=0,n=0,r=!1,o=0;function u(){clearTimeout(a),r=!1,o=0}const l=function(){for(var d=arguments.length,c=new Array(d),b=0;b<d;b++)c[b]=arguments[b];clearTimeout(a);const p=Date.now();o||(o=p);const f=p-Math.max(o,n);function _(){n=Date.now(),a=setTimeout(u,e),t(...c)}r?f>=e?_():s.trailing&&(a=setTimeout(_,e-f)):(r=!0,s.leading&&_())};return l.clear=u,l.immediate=t,l}const xe=gt({tag:{type:[String,Object,Function],default:"div"}},"tag"),US=gt({...ue(),...xe()},"VCardActions"),_2=Ut()({name:"VCardActions",props:US(),setup(t,e){let{slots:s}=e;return br({VBtn:{slim:!0,variant:"text"}}),re(()=>B(t.tag,{class:St(["v-card-actions",t.class]),style:Nt(t.style)},s)),{}}}),qS=gt({opacity:[Number,String],...ue(),...xe()},"VCardSubtitle"),VS=Ut()({name:"VCardSubtitle",props:qS(),setup(t,e){let{slots:s}=e;return re(()=>B(t.tag,{class:St(["v-card-subtitle",t.class]),style:Nt([{"--v-card-subtitle-opacity":t.opacity},t.style])},s)),{}}}),HS=Xd("v-card-title"),WS=gt({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ni=Ut(!1)({name:"VDefaultsProvider",props:WS(),setup(t,e){let{slots:s}=e;const{defaults:a,disabled:n,reset:r,root:o,scoped:u}=ud(t);return br(a,{reset:r,root:o,scoped:u,disabled:n}),()=>s.default?.()}});function Qd(t){return Kd(()=>{const{class:e,style:s}=KS(t);return{colorClasses:e,colorStyles:s}})}function Qa(t){const{colorClasses:e,colorStyles:s}=Qd(()=>({text:fi(t)}));return{textColorClasses:e,textColorStyles:s}}function Ga(t){const{colorClasses:e,colorStyles:s}=Qd(()=>({background:fi(t)}));return{backgroundColorClasses:e,backgroundColorStyles:s}}function KS(t){const e=fi(t),s=[],a={};if(e.background)if(Du(e.background)){if(a.backgroundColor=e.background,!e.text&&PS(e.background)){const n=Qi(e.background);if(n.a==null||n.a===1){const r=f2(n);a.color=r,a.caretColor=r}}}else s.push(`bg-${e.background}`);return e.text&&(Du(e.text)?(a.color=e.text,a.caretColor=e.text):s.push(`text-${e.text}`)),{class:s,style:a}}const g2={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},h2={component:t=>oe(k2,{...t,class:"mdi"})},be=[String,Function,Object,Array],Ru=Symbol.for("vuetify:icons"),Qo=gt({icon:{type:be},tag:{type:[String,Object,Function],required:!0}},"icon"),Pp=Ut()({name:"VComponentIcon",props:Qo(),setup(t,e){let{slots:s}=e;return()=>{const a=t.icon;return B(t.tag,null,{default:()=>[t.icon?B(a,null,null):s.default?.()]})}}}),y2=en({name:"VSvgIcon",inheritAttrs:!1,props:Qo(),setup(t,e){let{attrs:s}=e;return()=>B(t.tag,Ct(s,{style:null}),{default:()=>[q("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(t.icon)?t.icon.map(a=>Array.isArray(a)?q("path",{d:a[0],"fill-opacity":a[1]},null):q("path",{d:a},null)):q("path",{d:t.icon},null)])]})}}),$S=en({name:"VLigatureIcon",props:Qo(),setup(t){return()=>B(t.tag,null,{default:()=>[t.icon]})}}),k2=en({name:"VClassIcon",props:Qo(),setup(t){return()=>B(t.tag,{class:St(t.icon)},null)}});function YS(){return{svg:{component:y2},class:{component:k2}}}function XS(t){const e=YS(),s=t?.defaultSet??"mdi";return s==="mdi"&&!e.mdi&&(e.mdi=h2),$e({defaultSet:s,sets:e,aliases:{...g2,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},t)}const ZS=t=>{const e=Qt(Ru);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:G(()=>{const a=fi(t);if(!a)return{component:Pp};let n=a;if(typeof n=="string"&&(n=n.trim(),n.startsWith("$")&&(n=e.aliases?.[n.slice(1)])),Array.isArray(n))return{component:y2,icon:n};if(typeof n!="string")return{component:Pp,icon:n};const r=Object.keys(e.sets).find(l=>typeof n=="string"&&n.startsWith(`${l}:`)),o=r?n.slice(r.length+1):n;return{component:e.sets[r??e.defaultSet].component,icon:o}})}},QS=["x-small","small","default","large","x-large"],pr=gt({size:{type:[String,Number],default:"default"}},"size");function mr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();return Kd(()=>{const s=t.size;let a,n;return fo(QS,s)?a=`${e}--size-${s}`:s&&(n={width:Bt(s),height:Bt(s)}),{sizeClasses:a,sizeStyles:n}})}const Xn=Symbol.for("vuetify:theme"),vi=gt({theme:String},"theme");function jp(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function JS(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jp();const e=jp();if(!t)return{...e,isDisabled:!0};const s={};for(const[a,n]of Object.entries(t.themes??{})){const r=n.dark||a==="dark"?e.themes?.dark:e.themes?.light;s[a]=$e(r,n)}return $e(e,{...t,themes:s})}function Ys(t,e,s,a){t.push(`${sA(e,a)} {
|
|
1031
|
+
请注意,有些提供者确实支持分组,但你需要使用本机应用程序来执行分组。例如,基于 Google Cast 的播放器只能在 Google Home 应用程序中创建 Google Cast 群组。`}},dynamic_members:{label:{t:0,b:{t:2,i:[{t:3}],s:"动态组成员"}},description:{t:0,b:{t:2,i:[{t:3}],s:"允许成员(临时)动态加入/离开群组,因此群组的行为或多或少与手动同步播放器的行为相同,主要区别在于群组播放器将持有队列。"}}},dsp:{configure_on:{t:0,b:{t:2,i:[{t:3,v:"配置 "},{t:4,k:"name"},{t:3,v:"的DSP"}]}},disabled_message:{t:0,b:{t:2,i:[{t:3}],s:"目前 DSP 已禁用。请使用上面的开关启用它"}},input:{t:0,b:{t:2,i:[{t:3}],s:"输入"}},output:{t:0,b:{t:2,i:[{t:3}],s:"输出"}},filter:{add:{t:0,b:{t:2,i:[{t:3}],s:"添加过滤器"}},type:{t:0,b:{t:2,i:[{t:3}],s:"过滤器类型"}},new:{t:0,b:{t:2,i:[{t:3,v:"新"},{t:4,k:"type"}]}}},move_up:{t:0,b:{t:2,i:[{t:3}],s:"向上移动"}},move_down:{t:0,b:{t:2,i:[{t:3}],s:"向下移动"}},delete_filter:{t:0,b:{t:2,i:[{t:3}],s:"删除过滤器"}},parametric_eq:{add_band:{t:0,b:{t:2,i:[{t:3}],s:"添加频段"}},delete_band:{t:0,b:{t:2,i:[{t:3}],s:"删除频段"}},filter_type:{t:0,b:{t:2,i:[{t:3}],s:"过滤器类型"}},band:{t:0,b:{t:2,i:[{t:4,k:"index"},{t:3,v:"频段"}]}},enable_band:{t:0,b:{t:2,i:[{t:3}],s:"启用频段"}},filter_types:{peak:{t:0,b:{t:2,i:[{t:3}],s:"峰值"}},low_shelf:{t:0,b:{t:2,i:[{t:3}],s:"低架"}},high_shelf:{t:0,b:{t:2,i:[{t:3}],s:"高架"}},low_pass:{t:0,b:{t:2,i:[{t:3}],s:"低通道"}},high_pass:{t:0,b:{t:2,i:[{t:3}],s:"高通道"}},notch:{t:0,b:{t:2,i:[{t:3}],s:"凹槽"}}},import_apo:{t:0,b:{t:2,i:[{t:3}],s:"导入 APO/REW 预设"}},export_apo:{t:0,b:{t:2,i:[{t:3}],s:"导出 APO 预设"}},preamp:{t:0,b:{t:2,i:[{t:3}],s:"前置放大器"}},add_band_channel:{t:0,b:{t:2,i:[{t:3,v:"添加频段(仅限"},{t:4,k:"channel"},{t:3,v:" )"}]}},band_channel:{t:0,b:{t:2,i:[{t:3,v:"频段"},{t:4,k:"index"},{t:3,v:" (仅限"},{t:4,k:"channel"},{t:3,v:" )"}]}},show_multichannel_controls:{t:0,b:{t:2,i:[{t:3}],s:"显示多通道控制"}},edited_channel:{t:0,b:{t:2,i:[{t:3}],s:"绘制该通道的 EQ 响应"}},channel:{t:0,b:{t:2,i:[{t:3}],s:"该频段将用于"}},per_channel_preamp:{t:0,b:{t:2,i:[{t:4,k:"channel"},{t:3,v:"的额外前置放大器增益"}]}}},tone_control:{bass_level:{t:0,b:{t:2,i:[{t:3}],s:"低音等级"}},mid_level:{t:0,b:{t:2,i:[{t:3}],s:"中音等级"}},treble_level:{t:0,b:{t:2,i:[{t:3}],s:"高音等级"}}},parameter:{frequency:{t:0,b:{t:2,i:[{t:3}],s:"频率"}},gain:{t:0,b:{t:2,i:[{t:3}],s:"收益"}},q_factor:{t:0,b:{t:2,i:[{t:3}],s:"Q 因子"}}},types:{parametric_eq:{t:0,b:{t:2,i:[{t:3}],s:"均衡器参数"}},tone_control:{t:0,b:{t:2,i:[{t:3}],s:"音调控制"}}},channels:{ALL:{t:0,b:{t:2,i:[{t:3}],s:"全部"}},FL:{t:0,b:{t:2,i:[{t:3}],s:"左"}},FR:{t:0,b:{t:2,i:[{t:3}],s:"右"}}},channels_compact:{FL:{t:0,b:{t:2,i:[{t:3}],s:"L"}},FR:{t:0,b:{t:2,i:[{t:3}],s:"R"}}}},power_control:{label:{t:0,b:{t:2,i:[{t:3}],s:"电源控制"}},description:{t:0,b:{t:2,i:[{t:3}],s:"定义/覆盖该播放器的电源控制行为。 例如,如果播放器不支持电源开关命令,但又想为不使用的播放器设置专用状态,则可以将电源开关命令重定向到其他设备,或使用假电源控制。"}}},volume_control:{label:{t:0,b:{t:2,i:[{t:3}],s:"音量控制"}},description:{t:0,b:{t:2,i:[{t:3}],s:"定义/覆盖该播放器的音量控制行为,例如将音量控制命令重定向到其他设备或完全禁用。"}}},mute_control:{label:{t:0,b:{t:2,i:[{t:3}],s:"静音控制"}},description:{t:0,b:{t:2,i:[{t:3}],s:'定义/覆盖该播放器的静音控制行为。 例如,它允许您将静音控制命令重定向到不同的设备,或完全禁用。 我们提供一个 "假 "静音控制选项,通过将音量设置为 0 并在取消静音时恢复音量来模拟静音。'}}},output_limiter:{label:{t:0,b:{t:2,i:[{t:3}],s:"启用限制以防止削波"}},description:{t:0,b:{t:2,i:[{t:3}],s:"激活限制器,通过使高峰值变得更安静来防止音频失真。"}}},dsp_enabled:{t:0,b:{t:2,i:[{t:3}],s:"DSP 已启用"}},dsp_disabled:{t:0,b:{t:2,i:[{t:3}],s:"DSP 已禁用"}},dsp_note_multi_device_group:{label:{t:0,b:{t:2,i:[{t:3}],s:"您可以为每个播放器单独配置 DSP。"}}},dsp_note_multi_device_group_unsupported:{label:{t:0,b:{t:2,i:[{t:3}],s:"在向多个设备播放时,该群组类型不支持 DSP。"}}},enable_builtin_player:{label:{t:0,b:{t:2,i:[{t:3}],s:"允许在此设备/浏览器上播放"}},description:{t:0,b:{t:2,i:[{t:3}],s:"启用此设备/浏览器的(实验性)内置播放器,这样您就可以将所有音乐助手内容直接传输到此设备。"}}}},show_info:{t:0,b:{t:2,i:[{t:3}],s:"显示信息"}},show_select_boxes:{t:0,b:{t:2,i:[{t:3}],s:"显示选择框"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放"}},sort:{duration:{t:0,b:{t:2,i:[{t:3}],s:"持续时间"}},position:{t:0,b:{t:2,i:[{t:3}],s:"位置"}},provider:{t:0,b:{t:2,i:[{t:3}],s:"提供者"}},sort_name:{t:0,b:{t:2,i:[{t:3}],s:"按字母顺序"}},track_number:{t:0,b:{t:2,i:[{t:3}],s:"歌曲编号"}},year:{t:0,b:{t:2,i:[{t:3}],s:"发行年份"}},position_desc:{t:0,b:{t:2,i:[{t:3}],s:"排名(降序)"}},album:{t:0,b:{t:2,i:[{t:3}],s:"唱片集"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"歌手"}},name:{t:0,b:{t:2,i:[{t:3}],s:"按字母顺序"}},name_desc:{t:0,b:{t:2,i:[{t:3}],s:"按字母顺序(降序)"}},recent:{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}},year_desc:{t:0,b:{t:2,i:[{t:3}],s:"发布年份(降序)"}},duration_desc:{t:0,b:{t:2,i:[{t:3}],s:"持续时间(降序)"}},original:{t:0,b:{t:2,i:[{t:3}],s:"原创"}},sort_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"名称排序(降序)"}},timestamp_added:{t:0,b:{t:2,i:[{t:3}],s:"添加日期"}},timestamp_added_desc:{t:0,b:{t:2,i:[{t:3}],s:"添加日期(降序)"}},timestamp_modified:{t:0,b:{t:2,i:[{t:3}],s:"更新日期"}},timestamp_modified_desc:{t:0,b:{t:2,i:[{t:3}],s:"更新日期(降序)"}},last_played:{t:0,b:{t:2,i:[{t:3}],s:"上次播放"}},last_played_desc:{t:0,b:{t:2,i:[{t:3}],s:"上次播放(倒序)"}},play_count:{t:0,b:{t:2,i:[{t:3}],s:"播放次数"}},play_count_desc:{t:0,b:{t:2,i:[{t:3}],s:"播放次数(倒序)"}},artist_name:{t:0,b:{t:2,i:[{t:3}],s:"唱片集歌手"}},artist_name_desc:{t:0,b:{t:2,i:[{t:3}],s:"唱片集歌手(降序)"}}},state:{idle:{t:0,b:{t:2,i:[{t:3}],s:"闲置"}},off:{t:0,b:{t:2,i:[{t:3}],s:"关闭"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"暂停"}},playing:{t:0,b:{t:2,i:[{t:3}],s:"正在播放"}}},sync_now:{t:0,b:{t:2,i:[{t:3}],s:"立即同步"}},sync_running:{t:0,b:{t:2,i:[{t:3}],s:"一个或多个音乐提供者正在同步。"}},tooltip:{album_artist_filter:{t:0,b:{t:2,i:[{t:3}],s:"切换 唱片集-歌手 过滤器"}},explicit:{t:0,b:{t:2,i:[{t:3}],s:"显式"}},filter_library:{t:0,b:{t:2,i:[{t:3}],s:"在媒体库/过滤收藏夹中切换"}},library:{t:0,b:{t:2,i:[{t:3}],s:"在媒体库/收藏夹中切换"}},linked:{t:0,b:{t:2,i:[{t:3}],s:"此提供者已链接到当前项目"}},refresh:{t:0,b:{t:2,i:[{t:3}],s:"刷新项目列表"}},refresh_new_content:{t:0,b:{t:2,i:[{t:3}],s:"有新内容可用,单击刷新列表"}},search:{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏搜索"}},select_items:{t:0,b:{t:2,i:[{t:3}],s:"选择多个项目"}},sort_options:{t:0,b:{t:2,i:[{t:3}],s:"排序选项"}},toggle_view_mode:{t:0,b:{t:2,i:[{t:3}],s:"切换视图模式列表/缩略图"}},filter_favorites:{t:0,b:{t:2,i:[{t:3}],s:"仅显示收藏夹"}},favorite:{t:0,b:{t:2,i:[{t:3}],s:"标记/取消标记为收藏"}},open_provider_link:{t:0,b:{t:2,i:[{t:3}],s:"在提供者的网站上打开此项目"}},collapse_expand:{t:0,b:{t:2,i:[{t:3}],s:"折叠/展开此列表"}},back:{t:0,b:{t:2,i:[{t:3}],s:"返回"}},show_menu:{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏菜单"}},search_filter_active:{t:0,b:{t:2,i:[{t:3}],s:"筛选搜索的结果"}},play_sample:{t:0,b:{t:2,i:[{t:3}],s:"播放示例"}},album_type:{t:0,b:{t:2,i:[{t:3}],s:"唱片集类型"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"服务器正在处理请求或同步音乐。"}},primary_image:{t:0,b:{t:2,i:[{t:3}],s:"这是此图像类型的主要图像"}},copy_uri:{t:0,b:{t:2,i:[{t:3}],s:"将 URI 复制到剪贴板"}},select_all:{t:0,b:{t:2,i:[{t:3}],s:"选择所有项目"}}},topresult:{t:0,b:{t:2,i:[{t:3}],s:"最佳结果"}},track:{t:0,b:{t:2,i:[{t:3}],s:"歌曲"}},track_number:{t:0,b:{t:2,i:[{t:3,v:"光盘"},{t:5,i:0},{t:3,v:" 歌曲"},{t:5,i:1}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"歌曲"}},try_global_search:{t:0,b:{t:2,i:[{t:3}],s:"尝试全局搜索"}},type_to_search:{t:0,b:{t:2,i:[{t:3}],s:"在这里输入以搜索..."}},volume_normalization:{t:0,b:{t:2,i:[{t:3}],s:"音量标准化"}},play_now_replace:{t:0,b:{t:2,i:[{t:3}],s:"立即播放(清除队列)"}},currently_playing:{t:0,b:{t:2,i:[{t:3}],s:"正在播放"}},favorites_add:{t:0,b:{t:2,i:[{t:3}],s:"添加到收藏夹"}},favorites_remove:{t:0,b:{t:2,i:[{t:3}],s:"从收藏夹中删除"}},confirm_library_remove:{t:0,b:{t:2,i:[{t:3}],s:"您确定要从库中删除此项目吗?依赖于此项目的任何项目也将递归删除。请注意,这只会从资料库中删除此项目。如果是磁盘上的音乐文件,可能会在下次同步时返回。"}},check_item_on_provider:{t:0,b:{t:2,i:[{t:3,v:"检查"},{t:5,i:1},{t:3,v:"中的"},{t:5,i:0}]}},check_item_in_library:{t:0,b:{t:2,i:[{t:3,v:"在媒体库中检查"},{t:5,i:0}]}},media_details:{t:0,b:{t:2,i:[{t:3}],s:"媒体详情"}},mapped_providers:{t:0,b:{t:2,i:[{t:3}],s:"提供者详细信息"}},item_in_library:{t:0,b:{t:2,i:[{t:3}],s:"此项目可在媒体库中找到"}},back:{t:0,b:{t:2,i:[{t:3}],s:"返回"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}},radiobrowser_by_country:{t:0,b:{t:2,i:[{t:3}],s:"按国家/地区"}},radiobrowser_by_tag:{t:0,b:{t:2,i:[{t:3}],s:"按标签"}},load_more_items:{t:0,b:{t:2,i:[{t:3}],s:"加载更多项目"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"收音机"}},muted:{t:0,b:{t:2,i:[{t:3}],s:"静音"}},enter_name:{t:0,b:{t:2,i:[{t:3}],s:"输入新的(自定义)名称"}},image_url:{t:0,b:{t:2,i:[{t:3}],s:"输入图像或图标的URL(可选)"}},invalid_input:{t:0,b:{t:2,i:[{t:3}],s:"输入无效"}},new_playlist:{t:0,b:{t:2,i:[{t:3}],s:"新播放列表"}},create_playlist_on:{t:0,b:{t:2,i:[{t:3,v:"在"},{t:5,i:0},{t:3,v:"创建新播放列表"}]}},view:{list:{t:0,b:{t:2,i:[{t:3}],s:"列表视图"}},panel:{t:0,b:{t:2,i:[{t:3}],s:"缩略图视图"}},panel_compact:{t:0,b:{t:2,i:[{t:3}],s:"缩略图视图"}}},play_replace:{t:0,b:{t:2,i:[{t:3}],s:"立即播放(清除播放列表)"}},played:{t:0,b:{t:2,i:[{t:3}],s:"已播放"}},background_task_added:{t:0,b:{t:2,i:[{t:3}],s:"该操作由服务器在后台执行,可能需要一些时间才能完成。请密切关注服务器日志以了解进度。"}},images:{t:0,b:{t:2,i:[{t:3}],s:"图片"}},image_type:{t:0,b:{t:2,i:[{t:3}],s:"类型"}},image_source:{t:0,b:{t:2,i:[{t:3}],s:"源"}},image_make_primary:{t:0,b:{t:2,i:[{t:3}],s:"设为主要"}},update_metadata:{t:0,b:{t:2,i:[{t:3}],s:"更新元数据"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"关闭"}},transfer_queue:{t:0,b:{t:2,i:[{t:3}],s:"转移队列"}},power_on_player:{t:0,b:{t:2,i:[{t:3}],s:"打开"}},power_off_player:{t:0,b:{t:2,i:[{t:3}],s:"关闭"}},powered_off_players:{t:0,b:{t:2,i:[{t:3}],s:"未使用的播放器"}},sync_player_with:{t:0,b:{t:2,i:[{t:3}],s:"与其他播放器同步"}},open_player_settings:{t:0,b:{t:2,i:[{t:3}],s:"打开设置"}},select_repeat_mode:{t:0,b:{t:2,i:[{t:3}],s:"选择循环模式"}},repeat_mode:{all:{t:0,b:{t:2,i:[{t:3}],s:"队列循环"}},off:{t:0,b:{t:2,i:[{t:3}],s:"关闭循环"}},one:{t:0,b:{t:2,i:[{t:3}],s:"单曲循环"}}},shuffle_disable:{t:0,b:{t:2,i:[{t:3}],s:"禁用随机播放"}},shuffle_enable:{t:0,b:{t:2,i:[{t:3}],s:"启用随机播放"}},dont_stop_the_music_enable:{t:0,b:{t:2,i:[{t:3}],s:"启用“不要停止音乐!”"}},dont_stop_the_music_disable:{t:0,b:{t:2,i:[{t:3}],s:"禁用“不要停止音乐!”"}},open_dsp_settings:{t:0,b:{t:2,i:[{t:3}],s:"打开 DSP 设置"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},chapter:{t:0,b:{t:2,i:[{t:3}],s:"章节"}},chapters:{t:0,b:{t:2,i:[{t:3}],s:"章节s"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},item_fully_played:{t:0,b:{t:2,i:[{t:3}],s:"该项目已完全播放"}},item_in_progress:{t:0,b:{t:2,i:[{t:3}],s:"该项目已部分播放"}},duration_in_seconds:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:"秒"}]}},mark_played:{t:0,b:{t:2,i:[{t:3}],s:"标记为已播放"}},mark_unplayed:{t:0,b:{t:2,i:[{t:3}],s:"标记为未播放"}},searchtype_all:{t:0,b:{t:2,i:[{t:3}],s:"全部"}},global_search:{t:0,b:{t:2,i:[{t:3}],s:"全局搜索"}},podcast_episode:{t:0,b:{t:2,i:[{t:3}],s:"插曲"}},podcast_episodes:{t:0,b:{t:2,i:[{t:3}],s:"剧集"}},play_from_here:{t:0,b:{t:2,i:[{t:3}],s:"从此处开始播放"}},loudness_measurement:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS"}]}},loudness_measurement_album:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:" LUFS(唱片集)"}]}},loudness_dynamic:{t:0,b:{t:2,i:[{t:3}],s:"动态音量标准化"}},loudness_fixed:{t:0,b:{t:2,i:[{t:3}],s:"固定增益校正"}},dsp_active:{t:0,b:{t:2,i:[{t:3}],s:"激活"}},currently_playing_players:{t:0,b:{t:2,i:[{t:3}],s:"正在播放"}},all_players:{t:0,b:{t:2,i:[{t:3}],s:"所有播放器"}},all_groups:{t:0,b:{t:2,i:[{t:3}],s:"所有群组"}},no_player_playing:{t:0,b:{t:2,i:[{t:3}],s:"目前没有播放器正在播放"}},stop_playback:{t:0,b:{t:2,i:[{t:3}],s:"停止播放"}},streamdetails:{input_header:{t:0,b:{t:2,i:[{t:3}],s:"输入"}},output_header:{t:0,b:{t:2,i:[{t:3}],s:"输出"}},output_format_info:{t:0,b:{t:2,i:[{t:3,v:"音频以"},{t:5,i:0},{t:3,v:"格式发送"}]}},eq_band_count:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:"乐队"}]}},eq_band_count_singular:{t:0,b:{t:2,i:[{t:3}],s:"1个乐队"}},input_gain:{t:0,b:{t:2,i:[{t:3,v:"输入增益 ("},{t:5,i:0},{t:3,v:" dB)"}]}},output_gain:{t:0,b:{t:2,i:[{t:3,v:"输出增益 ( "},{t:5,i:0},{t:3,v:" dB)"}]}},output_limiter:{t:0,b:{t:2,i:[{t:3}],s:"输出限制器"}},output_limiter_info:{t:0,b:{t:2,i:[{t:3}],s:"自动降低非常响亮的声音,防止失真并保护扬声器"}},dsp_unsupported:{t:0,b:{t:2,i:[{t:3}],s:"不支持 DSP"}},dsp_disabled_by_unsupported_group:{t:0,b:{t:2,i:[{t:3}],s:"该播放器提供者不支持同步播放的 DSP"}},file_info:{container:{t:0,b:{t:2,i:[{t:3,v:"容器: "},{t:5,i:0}]}},codec:{t:0,b:{t:2,i:[{t:3,v:"编解码器: "},{t:5,i:0}]}},bit_rate:{t:0,b:{t:2,i:[{t:3,v:"比特率: "},{t:5,i:0},{t:3,v:" kbps"}]}},sample_rate:{t:0,b:{t:2,i:[{t:3,v:"采样率: "},{t:5,i:0},{t:3,v:" kHz"}]}},channels:{t:0,b:{t:2,i:[{t:3,v:"通道: "},{t:5,i:0}]}},bit_depth:{t:0,b:{t:2,i:[{t:3,v:"位深度: "},{t:5,i:0}]}},processing_notice:{t:0,b:{t:2,i:[{t:3}],s:"音频在内部以 32 位浮点处理PCM"}}},volume_normalization:{target_level:{t:0,b:{t:2,i:[{t:3,v:"目标级别: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_loudness:{t:0,b:{t:2,i:[{t:3,v:"测量(综合)响度: "},{t:5,i:0},{t:3,v:" LUFS"}]}},integrated_album_loudness:{t:0,b:{t:2,i:[{t:3,v:"唱片集响度: "},{t:5,i:0},{t:3,v:" LUFS"}]}},applied_gain_correction:{t:0,b:{t:2,i:[{t:3,v:"应用增益校正: "},{t:5,i:0},{t:3,v:" dB"}]}},mode:{dynamic:{t:0,b:{t:2,i:[{t:3}],s:"音量标准化在动态模式下处于活动状态。"}},measurement_only:{t:0,b:{t:2,i:[{t:3}],s:"音量正常化是根据音频(综合)响度的存储测量值激活的。"}},measurement_album:{t:0,b:{t:2,i:[{t:3}],s:"音量归一化功能是根据已存储的唱片集响度(综合)测量结果激活的。"}},fixed_gain:{t:0,b:{t:2,i:[{t:3}],s:"基于固定增益校正音量"}}}},click_to_expand:{t:0,b:{t:2,i:[{t:3}],s:"点击显示所有播放器"}},output_format_pcm_info:{t:0,b:{t:2,i:[{t:3}],s:"音频以 PCM 格式传递给播放器提供者。播放器提供者可能会将音频转换为其他格式,然后再发送给播放器。"}}},volume_normalization_gain_correction:{t:0,b:{t:2,i:[{t:5,i:0},{t:3,v:"分贝"}]}},select_source:{t:0,b:{t:2,i:[{t:3}],s:"选择来源"}},in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"继续听..."}},play_replace_next:{t:0,b:{t:2,i:[{t:3}],s:"播放下一个(清除队列)"}},all_enqueue_options:{t:0,b:{t:2,i:[{t:3}],s:"所有队列选项"}},music_assistant_source:{t:0,b:{t:2,i:[{t:3}],s:"音乐助理队列"}},music_assistant_library:{t:0,b:{t:2,i:[{t:3}],s:"音乐助理媒体库"}},select_all_confirmation:{t:0,b:{t:2,i:[{t:3}],s:"选择所有项目?此操作可能需要一些时间来加载所有数据。"}},this_device:{t:0,b:{t:2,i:[{t:3}],s:"此设备"}},recommendations:{in_progress_items:{t:0,b:{t:2,i:[{t:3}],s:"继续听..."}},recommended_new_tracks:{t:0,b:{t:2,i:[{t:3}],s:"推荐的新歌曲"}},recently_played:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}},suggested_new_albums_for_you:{t:0,b:{t:2,i:[{t:3}],s:"为您推荐的新唱片集"}},random_artists:{t:0,b:{t:2,i:[{t:3}],s:"随机的歌手"}},random_albums:{t:0,b:{t:2,i:[{t:3}],s:"随机唱片集"}},custom_mixes:{t:0,b:{t:2,i:[{t:3}],s:"定制混音"}},your_listening_history:{t:0,b:{t:2,i:[{t:3}],s:"您的收听历史"}},popular_albums:{t:0,b:{t:2,i:[{t:3}],s:"热门唱片集"}},staff_picks_tracks:{t:0,b:{t:2,i:[{t:3}],s:"精选的歌曲"}},staff_picks_albums:{t:0,b:{t:2,i:[{t:3}],s:"精选:唱片集"}},radio_stations_for_you:{t:0,b:{t:2,i:[{t:3}],s:"适合您的广播电台"}},producers__songwriters:{t:0,b:{t:2,i:[{t:3}],s:"制作人和词曲作者"}},new_releases_for_you:{t:0,b:{t:2,i:[{t:3}],s:"为您提供的新版本"}},recent_favorite_tracks:{t:0,b:{t:2,i:[{t:3}],s:"最近收藏的歌曲"}},favorite_playlists:{t:0,b:{t:2,i:[{t:3}],s:"收藏的播放列表"}},favorite_radio_stations:{t:0,b:{t:2,i:[{t:3}],s:"收藏的电台"}}},homescreen_edit_enable:{t:0,b:{t:2,i:[{t:3}],s:"编辑主屏幕"}},homescreen_edit_disable:{t:0,b:{t:2,i:[{t:3}],s:"退出主屏幕编辑模式"}},lyrics_will_appear_soon:{t:0,b:{t:2,i:[{t:3}],s:"歌词将在歌曲开始时出现..."}}}}),oc=ES({globalInjection:!0,locale:navigator.language.split("-")[0],fallbackLocale:"en",missingWarn:!1,fallbackWarn:!1,messages:GS}),Bt=oc.global.t;function mt(t,e){return s=>Object.keys(t).reduce((a,n)=>{const o=typeof t[n]=="object"&&t[n]!=null&&!Array.isArray(t[n])?t[n]:{type:t[n]};return s&&n in s?a[n]={...o,default:s[n]}:a[n]=o,e&&!a[n].source&&(a[n].source=e),a},{})}const qt=mt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function A2(t,e){e=Array.isArray(e)?e.slice(0,-1).map(s=>`'${s}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const re=typeof window<"u",lc=re&&"IntersectionObserver"in window,VS=re&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),z2=re&&"matchMedia"in window&&typeof window.matchMedia=="function",cn=()=>z2&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function Tp(t,e,s){qS(t,e),e.set(t,s)}function qS(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Pp(t,e,s){return t.set(T2(t,e),s),s}function cs(t,e){return t.get(T2(t,e))}function T2(t,e,s){if(typeof t=="function"?t===e:t.has(e))return arguments.length<3?e:s;throw new TypeError("Private element is not present on this object")}function P2(t,e,s){const a=e.length-1;if(a<0)return t===void 0?s:t;for(let n=0;n<a;n++){if(t==null)return s;t=t[e[n]]}return t==null||t[e[a]]===void 0?s:t[e[a]]}function Xu(t,e,s){return t==null||!e||typeof e!="string"?s:t[e]!==void 0?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),P2(t,e.split("."),s))}function Ji(t,e,s){if(e===!0)return t===void 0?s:t;if(e==null||typeof e=="boolean")return s;if(t!==Object(t)){if(typeof e!="function")return s;const n=e(t,s);return typeof n>"u"?s:n}if(typeof e=="string")return Xu(t,e,s);if(Array.isArray(e))return P2(t,e,s);if(typeof e!="function")return s;const a=e(t,s);return typeof a>"u"?s:a}function j2(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(s,a)=>e+a)}function Ot(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(t==null||t==="")return;const s=Number(t);return isNaN(s)?String(t):isFinite(s)?`${s}${e}`:void 0}function Zu(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function jp(t){let e;return t!==null&&typeof t=="object"&&((e=Object.getPrototypeOf(t))===Object.prototype||e===null)}function C2(t){if(t&&"$el"in t){const e=t.$el;return e?.nodeType===Node.TEXT_NODE?e.nextElementSibling:e}return t}const Nx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function Bx(t){return Object.keys(t)}function ql(t,e){return e.every(s=>t.hasOwnProperty(s))}function pl(t,e){const s={};for(const a of e)Object.prototype.hasOwnProperty.call(t,a)&&(s[a]=t[a]);return s}function Cp(t,e,s){const a=Object.create(null),n=Object.create(null);for(const r in t)e.some(o=>o instanceof RegExp?o.test(r):o===r)?a[r]=t[r]:n[r]=t[r];return[a,n]}function Aa(t,e){const s={...t};return e.forEach(a=>delete s[a]),s}const E2=/^on[^a-z]/,M2=t=>E2.test(t),US=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],HS=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function Fx(t){return t.isComposing&&HS.includes(t.key)}function WS(t){const[e,s]=Cp(t,[E2]),a=Aa(e,US),[n,r]=Cp(s,["class","style","id",/^data-/]);return Object.assign(n,e),Object.assign(r,a),[n,r]}function ca(t){return t==null?[]:Array.isArray(t)?t:[t]}function Gx(t,e){let s=0;const a=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];clearTimeout(s),s=setTimeout(()=>t(...r),X(e))};return a.clear=()=>{clearTimeout(s)},a.immediate=t,a}function zs(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(s,t))}function Vx(t){const e=t.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function Ep(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return t+s.repeat(Math.max(0,e-t.length))}function Mp(t,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-t.length))+t}function KS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const s=[];let a=0;for(;a<t.length;)s.push(t.substr(a,e)),a+=e;return s}function Xe(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const a={};for(const n in t)a[n]=t[n];for(const n in e){const r=t[n],o=e[n];if(jp(r)&&jp(o)){a[n]=Xe(r,o,s);continue}if(s&&Array.isArray(r)&&Array.isArray(o)){a[n]=s(r,o);continue}a[n]=o}return a}function x2(t){return t.map(e=>e.type===vt?x2(e.children):e).flat()}function ba(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ba.cache.has(t))return ba.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ba.cache.set(t,e),e}ba.cache=new Map;function Ga(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(s=>Ga(t,s)).flat(1);if(e.suspense)return Ga(t,e.ssContent);if(Array.isArray(e.children))return e.children.map(s=>Ga(t,s)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(t))return[e.component];if(e.component.subTree)return Ga(t,e.component.subTree).flat(1)}return[]}var Ca=new WeakMap,ra=new WeakMap;class $S{constructor(e){Tp(this,Ca,[]),Tp(this,ra,0),this.size=e}get isFull(){return cs(Ca,this).length===this.size}push(e){cs(Ca,this)[cs(ra,this)]=e,Pp(ra,this,(cs(ra,this)+1)%this.size)}values(){return cs(Ca,this).slice(cs(ra,this)).concat(cs(Ca,this).slice(0,cs(ra,this)))}clear(){cs(Ca,this).length=0,Pp(ra,this,0)}}function uc(t){const e=de({});we(()=>{const a=t();for(const n in a)e[n]=a[n]},{flush:"sync"});const s={};for(const a in e)s[a]=nt(()=>e[a]);return s}function Eo(t,e){return t.includes(e)}function I2(t){return t[2].toLowerCase()+t.slice(3)}const ci=()=>[Function,Array];function xp(t,e){return e="on"+js(e),!!(t[e]||t[`${e}Once`]||t[`${e}Capture`]||t[`${e}OnceCapture`]||t[`${e}CaptureOnce`])}function D2(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),a=1;a<e;a++)s[a-1]=arguments[a];if(Array.isArray(t))for(const n of t)n(...s);else typeof t=="function"&&t(...s)}function Mo(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const s=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(n=>`${n}${e?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let a;try{a=[...t.querySelectorAll(s)]}catch{return[]}return a.filter(n=>!n.closest("[inert]")).filter(n=>!!n.offsetParent||n.getClientRects().length>0).filter(n=>!n.parentElement?.closest("details:not([open])")||n.tagName==="SUMMARY"&&n.parentElement?.tagName==="DETAILS")}function L2(t,e,s){let a,n=t.indexOf(document.activeElement);const r=e==="next"?1:-1;do n+=r,a=t[n];while((!a||a.offsetParent==null||!(s?.(a)??!0))&&n<t.length&&n>=0);return a}function Un(t,e){const s=Mo(t);if(e==null)(t===document.activeElement||!t.contains(document.activeElement))&&s[0]?.focus();else if(e==="first")s[0]?.focus();else if(e==="last")s.at(-1)?.focus();else if(typeof e=="number")s[e]?.focus();else{const a=L2(s,e);a?a.focus():Un(t,e==="next"?"first":"last")}}function qx(){}function YS(t,e){if(!(re&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!t&&t.matches(e)}catch{return null}}function XS(t){return t.some(e=>Pi(e)?e.type===Ie?!1:e.type!==vt||XS(e.children):!0)?t:null}function ZS(t,e){if(!re||t===0)return e(),()=>{};const s=window.setTimeout(e,t);return()=>window.clearTimeout(s)}function QS(t,e){const s=t.clientX,a=t.clientY,n=e.getBoundingClientRect(),r=n.left,o=n.top,u=n.right,l=n.bottom;return s>=r&&s<=u&&a>=o&&a<=l}function Qu(){const t=It(),e=s=>{t.value=s};return Object.defineProperty(e,"value",{enumerable:!0,get:()=>t.value,set:s=>t.value=s}),Object.defineProperty(e,"el",{enumerable:!0,get:()=>C2(t.value)}),e}function Ux(t){const e=t.key.length===1,s=!t.ctrlKey&&!t.metaKey&&!t.altKey;return e&&s}function _a(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="bigint"}function Hx(t){return"\\^$*+?.()|{}[]".includes(t)?`\\${t}`:t}function Wx(t){const e={};for(const s in t)e[Qe(s)]=t[s];return e}function JS(t){const e=["checked","disabled"];return Object.fromEntries(Object.entries(t).filter(s=>{let[a,n]=s;return e.includes(a)?!!n:n!==void 0}))}function Pe(t,e){const s=Es();if(!s)throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);return s}function as(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Pe(t).type;return ba(e?.aliasName||e?.name)}function tA(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pe("injectSelf");const{provides:s}=e;if(s&&t in s)return s[t]}const bn=Symbol.for("vuetify:defaults");function eA(t){return Y(t)}function dc(){const t=Wt(bn);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function Sr(t,e){const s=dc(),a=Y(t),n=O(()=>{if(X(e?.disabled))return s.value;const o=X(e?.scoped),u=X(e?.reset),l=X(e?.root);if(a.value==null&&!(o||u||l))return s.value;let d=Xe(a.value,{prev:s.value});if(o)return d;if(u||l){const c=Number(u||1/0);for(let b=0;b<=c&&!(!d||!("prev"in d));b++)d=d.prev;return d&&typeof l=="string"&&l in d&&(d=Xe(Xe(d,{prev:d}),d[l])),d}return d.prev?Xe(d.prev,d):d});return Ae(bn,n),n}function iA(t,e){return t.props&&(typeof t.props[e]<"u"||typeof t.props[ba(e)]<"u")}function sA(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:dc();const a=Pe("useDefaults");if(e=e??a.type.name??a.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const n=O(()=>s.value?.[t._as??e]),r=new Proxy(t,{get(l,d){const c=Reflect.get(l,d);if(d==="class"||d==="style")return[n.value?.[d],c].filter(m=>m!=null);if(iA(a.vnode,d))return c;const b=n.value?.[d];if(b!==void 0)return b;const p=s.value?.global?.[d];return p!==void 0?p:c}}),o=It();we(()=>{if(n.value){const l=Object.entries(n.value).filter(d=>{let[c]=d;return c.startsWith(c[0].toUpperCase())});o.value=l.length?Object.fromEntries(l):void 0}else o.value=void 0});function u(){const l=tA(bn,a);Ae(bn,O(()=>o.value?Xe(l?.value??{},o.value):l?.value))}return{props:r,provideSubDefaults:u}}const R2=["top","bottom"],aA=["start","end","left","right"];function Ju(t,e){let[s,a]=t.split(" ");return a||(a=Eo(R2,s)?"start":Eo(aA,s)?"top":"center"),{side:Ip(s,e),align:Ip(a,e)}}function Ip(t,e){return t==="start"?e?"right":"left":t==="end"?e?"left":"right":t}function Ul(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function Hl(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function Dp(t){return{side:t.align,align:t.side}}function Lp(t){return Eo(R2,t.side)?"y":"x"}class Ci{constructor(e){const s=document.body.currentCSSZoom??1,n=e.top===void 0?1:1+(1-s)/s,{x:r,y:o,width:u,height:l}=e;this.x=r*n,this.y=o*n,this.width=u*n,this.height=l*n}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Rp(t,e){return{x:{before:Math.max(0,e.left-t.left),after:Math.max(0,t.right-e.right)},y:{before:Math.max(0,e.top-t.top),after:Math.max(0,t.bottom-e.bottom)}}}function O2(t){if(Array.isArray(t)){const e=document.body.currentCSSZoom??1,s=1+(1-e)/e;return new Ci({x:t[0]*s,y:t[1]*s,width:0*s,height:0*s})}else return new Ci(t.getBoundingClientRect())}function nA(t){if(t===document.documentElement)if(visualViewport){const e=document.body.currentCSSZoom??1;return new Ci({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale/e,height:visualViewport.height*visualViewport.scale/e})}else return new Ci({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new Ci(t.getBoundingClientRect())}function cc(t){const e=new Ci(t.getBoundingClientRect()),s=getComputedStyle(t),a=s.transform;if(a){let n,r,o,u,l;if(a.startsWith("matrix3d("))n=a.slice(9,-1).split(/, /),r=Number(n[0]),o=Number(n[5]),u=Number(n[12]),l=Number(n[13]);else if(a.startsWith("matrix("))n=a.slice(7,-1).split(/, /),r=Number(n[0]),o=Number(n[3]),u=Number(n[4]),l=Number(n[5]);else return new Ci(e);const d=s.transformOrigin,c=e.x-u-(1-r)*parseFloat(d),b=e.y-l-(1-o)*parseFloat(d.slice(d.indexOf(" ")+1)),p=r?e.width/r:t.offsetWidth+1,m=o?e.height/o:t.offsetHeight+1;return new Ci({x:c,y:b,width:p,height:m})}else return new Ci(e)}function Vs(t,e,s){if(typeof t.animate>"u")return{finished:Promise.resolve()};let a;try{a=t.animate(e,s)}catch{return{finished:Promise.resolve()}}return typeof a.finished>"u"&&(a.finished=new Promise(n=>{a.onfinish=()=>{n(a)}})),a}const oo=new WeakMap;function rA(t,e){Object.keys(e).forEach(s=>{if(M2(s)){const a=I2(s),n=oo.get(t);if(e[s]==null)n?.forEach(r=>{const[o,u]=r;o===a&&(t.removeEventListener(a,u),n.delete(r))});else if(!n||![...n].some(r=>r[0]===a&&r[1]===e[s])){t.addEventListener(a,e[s]);const r=n||new Set;r.add([a,e[s]]),oo.has(t)||oo.set(t,r)}}else e[s]==null?t.removeAttribute(s):t.setAttribute(s,e[s])})}function oA(t,e){Object.keys(e).forEach(s=>{if(M2(s)){const a=I2(s),n=oo.get(t);n?.forEach(r=>{const[o,u]=r;o===a&&(t.removeEventListener(a,u),n.delete(r))})}else t.removeAttribute(s)})}const Ea=2.4,Op=.2126729,Np=.7151522,Bp=.072175,lA=.55,uA=.58,dA=.57,cA=.62,Vr=.03,Fp=1.45,bA=5e-4,pA=1.25,mA=1.25,Gp=.078,Vp=12.82051282051282,qr=.06,qp=.001;function Up(t,e){const s=(t.r/255)**Ea,a=(t.g/255)**Ea,n=(t.b/255)**Ea,r=(e.r/255)**Ea,o=(e.g/255)**Ea,u=(e.b/255)**Ea;let l=s*Op+a*Np+n*Bp,d=r*Op+o*Np+u*Bp;if(l<=Vr&&(l+=(Vr-l)**Fp),d<=Vr&&(d+=(Vr-d)**Fp),Math.abs(d-l)<bA)return 0;let c;if(d>l){const b=(d**lA-l**uA)*pA;c=b<qp?0:b<Gp?b-b*Vp*qr:b-qr}else{const b=(d**cA-l**dA)*mA;c=b>-qp?0:b>-Gp?b-b*Vp*qr:b+qr}return c*100}const xo=.20689655172413793,fA=t=>t>xo**3?Math.cbrt(t):t/(3*xo**2)+4/29,vA=t=>t>xo?t**3:3*xo**2*(t-4/29);function N2(t){const e=fA,s=e(t[1]);return[116*s-16,500*(e(t[0]/.95047)-s),200*(s-e(t[2]/1.08883))]}function B2(t){const e=vA,s=(t[0]+16)/116;return[e(s+t[1]/500)*.95047,e(s),e(s-t[2]/200)*1.08883]}const gA=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],_A=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,hA=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],yA=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function F2(t){const e=Array(3),s=_A,a=gA;for(let n=0;n<3;++n)e[n]=Math.round(zs(s(a[n][0]*t[0]+a[n][1]*t[1]+a[n][2]*t[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function bc(t){let{r:e,g:s,b:a}=t;const n=[0,0,0],r=yA,o=hA;e=r(e/255),s=r(s/255),a=r(a/255);for(let u=0;u<3;++u)n[u]=o[u][0]*e+o[u][1]*s+o[u][2]*a;return n}function td(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function kA(t){return td(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const Hp=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,wA={rgb:(t,e,s,a)=>({r:t,g:e,b:s,a}),rgba:(t,e,s,a)=>({r:t,g:e,b:s,a}),hsl:(t,e,s,a)=>Wp({h:t,s:e,l:s,a}),hsla:(t,e,s,a)=>Wp({h:t,s:e,l:s,a}),hsv:(t,e,s,a)=>ar({h:t,s:e,v:s,a}),hsva:(t,e,s,a)=>ar({h:t,s:e,v:s,a})};function es(t){if(typeof t=="number")return{r:(t&16711680)>>16,g:(t&65280)>>8,b:t&255};if(typeof t=="string"&&Hp.test(t)){const{groups:e}=t.match(Hp),{fn:s,values:a}=e,n=a.split(/,\s*|\s*\/\s*|\s+/).map((r,o)=>r.endsWith("%")||o>0&&o<3&&["hsl","hsla","hsv","hsva"].includes(s)?parseFloat(r)/100:parseFloat(r));return wA[s](...n)}else if(typeof t=="string"){let e=t.startsWith("#")?t.slice(1):t;return[3,4].includes(e.length)?e=e.split("").map(s=>s+s).join(""):[6,8].includes(e.length),AA(e)}else if(typeof t=="object"){if(ql(t,["r","g","b"]))return t;if(ql(t,["h","s","l"]))return ar(G2(t));if(ql(t,["h","s","v"]))return ar(t)}throw new TypeError(`Invalid color: ${t==null?t:String(t)||t.constructor.name}
|
|
1032
|
+
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ar(t){const{h:e,s,v:a,a:n}=t,r=u=>{const l=(u+e/60)%6;return a-a*s*Math.max(Math.min(l,4-l,1),0)},o=[r(5),r(3),r(1)].map(u=>Math.round(u*255));return{r:o[0],g:o[1],b:o[2],a:n}}function Wp(t){return ar(G2(t))}function G2(t){const{h:e,s,l:a,a:n}=t,r=a+s*Math.min(a,1-a),o=r===0?0:2-2*a/r;return{h:e,s:o,v:r,a:n}}function Ur(t){const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function SA(t){let{r:e,g:s,b:a,a:n}=t;return`#${[Ur(e),Ur(s),Ur(a),n!==void 0?Ur(Math.round(n*255)):""].join("")}`}function AA(t){t=zA(t);let[e,s,a,n]=KS(t,2).map(r=>parseInt(r,16));return n=n===void 0?n:n/255,{r:e,g:s,b:a,a:n}}function zA(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),(t.length===3||t.length===4)&&(t=t.split("").map(e=>e+e).join("")),t.length!==6&&(t=Ep(Ep(t,6),8,"F")),t}function TA(t,e){const s=N2(bc(t));return s[0]=s[0]+e*10,F2(B2(s))}function PA(t,e){const s=N2(bc(t));return s[0]=s[0]-e*10,F2(B2(s))}function jA(t){const e=es(t);return bc(e)[1]}function V2(t){const e=Math.abs(Up(es(0),es(t)));return Math.abs(Up(es(16777215),es(t)))>Math.min(e,50)?"#fff":"#000"}function mn(t){if(t._setup=t._setup??t.setup,!t.name)return t;if(t._setup){t.props=mt(t.props??{},t.name)();const e=Object.keys(t.props).filter(s=>s!=="class"&&s!=="style");t.filterProps=function(a){return pl(a,e)},t.props._as=String,t.setup=function(a,n){const r=dc();if(!r.value)return t._setup(a,n);const{props:o,provideSubDefaults:u}=sA(a,a._as??t.name,r),l=t._setup(o,n);return u(),l}}return t}function Rt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?mn:Te)(e)}function pc(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",s=arguments.length>2?arguments[2]:void 0;return Rt()({name:s??js(Qe(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...qt()},setup(a,n){let{slots:r}=n;return()=>ue(a.tag,{class:[t,a.class],style:a.style},r.default?.())}})}function CA(t,e,s,a){if(!s||_a(t)||_a(e))return;const n=s.get(t);if(n)n.set(e,a);else{const r=new WeakMap;r.set(e,a),s.set(t,r)}}function EA(t,e,s){if(!s||_a(t)||_a(e))return null;const a=s.get(t)?.get(e);if(typeof a=="boolean")return a;const n=s.get(e)?.get(t);return typeof n=="boolean"?n:null}function Ws(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakMap;if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime()||t!==Object(t)||e!==Object(e))return!1;const a=Object.keys(t);if(a.length!==Object.keys(e).length)return!1;const n=EA(t,e,s);return n||(CA(t,e,s,!0),a.every(r=>Ws(t[r],e[r],s)))}function q2(t){if(typeof t.getRootNode!="function"){for(;t.parentNode;)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const Io="cubic-bezier(0.4, 0, 0.2, 1)",Kp="cubic-bezier(0.0, 0, 0.2, 1)",$p="cubic-bezier(0.4, 0, 1, 1)",MA={linear:t=>t,easeInQuad:t=>t**2,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t**2:-1+(4-2*t)*t,easeInCubic:t=>t**3,easeOutCubic:t=>--t**3+1,easeInOutCubic:t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,easeInQuart:t=>t**4,easeOutQuart:t=>1- --t**4,easeInOutQuart:t=>t<.5?8*t**4:1-8*--t**4,easeInQuint:t=>t**5,easeOutQuint:t=>1+--t**5,easeInOutQuint:t=>t<.5?16*t**5:1+16*--t**5,instant:t=>1};function xA(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;t;){if(e?IA(t):mc(t))return t;t=t.parentElement}return document.scrollingElement}function Do(t,e){const s=[];if(e&&t&&!e.contains(t))return s;for(;t&&(mc(t)&&s.push(t),t!==e);)t=t.parentElement;return s}function mc(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t),s=e.overflowY==="scroll"||e.overflowY==="auto"&&t.scrollHeight>t.clientHeight,a=e.overflowX==="scroll"||e.overflowX==="auto"&&t.scrollWidth>t.clientWidth;return s||a}function IA(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function DA(t){for(;t;){if(window.getComputedStyle(t).position==="fixed")return!0;t=t.offsetParent}return!1}function Ut(t){const e=Pe("useRender");e.render=t}function LA(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{leading:!0,trailing:!0},a=0,n=0,r=!1,o=0;function u(){clearTimeout(a),r=!1,o=0}const l=function(){for(var d=arguments.length,c=new Array(d),b=0;b<d;b++)c[b]=arguments[b];clearTimeout(a);const p=Date.now();o||(o=p);const m=p-Math.max(o,n);function g(){n=Date.now(),a=setTimeout(u,e),t(...c)}r?m>=e?g():s.trailing&&(a=setTimeout(g,e-m)):(r=!0,s.leading&&g())};return l.clear=u,l.immediate=t,l}const me=mt({tag:{type:[String,Object,Function],default:"div"}},"tag"),RA=mt({...qt(),...me()},"VCardActions"),U2=Rt()({name:"VCardActions",props:RA(),setup(t,e){let{slots:s}=e;return Sr({VBtn:{slim:!0,variant:"text"}}),Ut(()=>L(t.tag,{class:wt(["v-card-actions",t.class]),style:Lt(t.style)},s)),{}}}),OA=mt({opacity:[Number,String],...qt(),...me()},"VCardSubtitle"),NA=Rt()({name:"VCardSubtitle",props:OA(),setup(t,e){let{slots:s}=e;return Ut(()=>L(t.tag,{class:wt(["v-card-subtitle",t.class]),style:Lt([{"--v-card-subtitle-opacity":t.opacity},t.style])},s)),{}}}),BA=pc("v-card-title"),FA=mt({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Ze=Rt(!1)({name:"VDefaultsProvider",props:FA(),setup(t,e){let{slots:s}=e;const{defaults:a,disabled:n,reset:r,root:o,scoped:u}=jd(t);return Sr(a,{reset:r,root:o,scoped:u,disabled:n}),()=>s.default?.()}});function fc(t){return uc(()=>{const{class:e,style:s}=GA(t);return{colorClasses:e,colorStyles:s}})}function $s(t){const{colorClasses:e,colorStyles:s}=fc(()=>({text:hi(t)}));return{textColorClasses:e,textColorStyles:s}}function pa(t){const{colorClasses:e,colorStyles:s}=fc(()=>({background:hi(t)}));return{backgroundColorClasses:e,backgroundColorStyles:s}}function GA(t){const e=hi(t),s=[],a={};if(e.background)if(td(e.background)){if(a.backgroundColor=e.background,!e.text&&kA(e.background)){const n=es(e.background);if(n.a==null||n.a===1){const r=V2(n);a.color=r,a.caretColor=r}}}else s.push(`bg-${e.background}`);return e.text&&(td(e.text)?(a.color=e.text,a.caretColor=e.text):s.push(`text-${e.text}`)),{class:s,style:a}}const H2={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},W2={component:t=>ue($2,{...t,class:"mdi"})},ne=[String,Function,Object,Array],ed=Symbol.for("vuetify:icons"),ml=mt({icon:{type:ne},tag:{type:[String,Object,Function],required:!0}},"icon"),Yp=Rt()({name:"VComponentIcon",props:ml(),setup(t,e){let{slots:s}=e;return()=>{const a=t.icon;return L(t.tag,null,{default:()=>[t.icon?L(a,null,null):s.default?.()]})}}}),K2=mn({name:"VSvgIcon",inheritAttrs:!1,props:ml(),setup(t,e){let{attrs:s}=e;return()=>L(t.tag,Et(s,{style:null}),{default:()=>[N("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(t.icon)?t.icon.map(a=>Array.isArray(a)?N("path",{d:a[0],"fill-opacity":a[1]},null):N("path",{d:a},null)):N("path",{d:t.icon},null)])]})}}),VA=mn({name:"VLigatureIcon",props:ml(),setup(t){return()=>L(t.tag,null,{default:()=>[t.icon]})}}),$2=mn({name:"VClassIcon",props:ml(),setup(t){return()=>L(t.tag,{class:wt(t.icon)},null)}});function qA(){return{svg:{component:K2},class:{component:$2}}}function UA(t){const e=qA(),s=t?.defaultSet??"mdi";return s==="mdi"&&!e.mdi&&(e.mdi=W2),Xe({defaultSet:s,sets:e,aliases:{...H2,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},t)}const HA=t=>{const e=Wt(ed);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:O(()=>{const a=hi(t);if(!a)return{component:Yp};let n=a;if(typeof n=="string"&&(n=n.trim(),n.startsWith("$")&&(n=e.aliases?.[n.slice(1)])),Array.isArray(n))return{component:K2,icon:n};if(typeof n!="string")return{component:Yp,icon:n};const r=Object.keys(e.sets).find(l=>typeof n=="string"&&n.startsWith(`${l}:`)),o=r?n.slice(r.length+1):n;return{component:e.sets[r??e.defaultSet].component,icon:o}})}},WA=["x-small","small","default","large","x-large"],Ar=mt({size:{type:[String,Number],default:"default"}},"size");function zr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();return uc(()=>{const s=t.size;let a,n;return Eo(WA,s)?a=`${e}--size-${s}`:s&&(n={width:Ot(s),height:Ot(s)}),{sizeClasses:a,sizeStyles:n}})}const nr=Symbol.for("vuetify:theme"),Ue=mt({theme:String},"theme");function Xp(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function KA(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xp();const e=Xp();if(!t)return{...e,isDisabled:!0};const s={};for(const[a,n]of Object.entries(t.themes??{})){const r=n.dark||a==="dark"?e.themes?.dark:e.themes?.light;s[a]=Xe(r,n)}return Xe(e,{...t,themes:s})}function oa(t,e,s,a){t.push(`${ZA(e,a)} {
|
|
1033
1033
|
`,...s.map(n=>` ${n};
|
|
1034
1034
|
`),`}
|
|
1035
|
-
`)}function Ep(t,e){const s=t.dark?2:1,a=t.dark?1:2,n=[];for(const[r,o]of Object.entries(t.colors)){const u=Qi(o);n.push(`--${e}theme-${r}: ${u.r},${u.g},${u.b}`),r.startsWith("on-")||n.push(`--${e}theme-${r}-overlay-multiplier: ${DS(o)>.18?s:a}`)}for(const[r,o]of Object.entries(t.variables)){const u=typeof o=="string"&&o.startsWith("#")?Qi(o):void 0,l=u?`${u.r}, ${u.g}, ${u.b}`:void 0;n.push(`--${e}${r}: ${l??o}`)}return n}function tA(t,e,s){const a={};if(s)for(const n of["lighten","darken"]){const r=n==="lighten"?xS:IS;for(const o of e2(s[n],1))a[`${t}-${n}-${o}`]=ES(r(Qi(e),o))}return a}function eA(t,e){if(!e)return{};let s={};for(const a of e.colors){const n=t[a];n&&(s={...s,...tA(a,n,e)})}return s}function iA(t){const e={};for(const s of Object.keys(t)){if(s.startsWith("on-")||t[`on-${s}`])continue;const a=`on-${s}`,n=Qi(t[s]);e[a]=f2(n)}return e}function sA(t,e){if(!e)return t;const s=`:where(${e})`;return t===":root"?s:`${s} ${t}`}function aA(t,e,s){const a=nA(t,e);a&&(a.innerHTML=s)}function nA(t,e){if(!ie)return null;let s=document.getElementById(t);return s||(s=document.createElement("style"),s.id=t,s.type="text/css",e&&s.setAttribute("nonce",e),document.head.appendChild(s)),s}function rA(t){const e=JS(t),s=It(e.defaultTheme),a=st(e.themes),n=It("light"),r=G({get(){return s.value==="system"?n.value:s.value},set(m){s.value=m}}),o=G(()=>{const m={};for(const[v,g]of Object.entries(a.value)){const k={...g.colors,...eA(g.colors,e.variations)};m[v]={...g,colors:{...k,...iA(k)}}}return m}),u=at(()=>o.value[r.value]),l=at(()=>s.value==="system"),d=G(()=>{const m=[],v=e.unimportant?"":" !important",g=e.scoped?e.prefix:"";u.value?.dark&&Ys(m,":root",["color-scheme: dark"],e.scope),Ys(m,":root",Ep(u.value,e.prefix),e.scope);for(const[k,w]of Object.entries(o.value))Ys(m,`.${e.prefix}theme--${k}`,[`color-scheme: ${w.dark?"dark":"normal"}`,...Ep(w,e.prefix)],e.scope);if(e.utilities){const k=[],w=[],A=new Set(Object.values(o.value).flatMap(z=>Object.keys(z.colors)));for(const z of A)z.startsWith("on-")?Ys(w,`.${z}`,[`color: rgb(var(--${e.prefix}theme-${z}))${v}`],e.scope):(Ys(k,`.${g}bg-${z}`,[`--${e.prefix}theme-overlay-multiplier: var(--${e.prefix}theme-${z}-overlay-multiplier)`,`background-color: rgb(var(--${e.prefix}theme-${z}))${v}`,`color: rgb(var(--${e.prefix}theme-on-${z}))${v}`],e.scope),Ys(w,`.${g}text-${z}`,[`color: rgb(var(--${e.prefix}theme-${z}))${v}`],e.scope),Ys(w,`.${g}border-${z}`,[`--${e.prefix}border-color: var(--${e.prefix}theme-${z})`],e.scope));m.push(...k,...w)}return m.map((k,w)=>w===0?k:` ${k}`).join("")}),c=at(()=>e.isDisabled?void 0:`${e.prefix}theme--${r.value}`),b=at(()=>Object.keys(o.value));if(Qf){let v=function(){n.value=m.matches?"dark":"light"};const m=window.matchMedia("(prefers-color-scheme: dark)");v(),m.addEventListener("change",v,{passive:!0}),C0()&&ui(()=>{m.removeEventListener("change",v)})}function p(m){if(e.isDisabled)return;const v=m._context.provides.usehead;if(v){let g=function(){return{style:[{textContent:d.value,id:e.stylesheetId,nonce:e.cspNonce||!1}]}};if(v.push){const k=v.push(g);ie&&At(d,()=>{k.patch(g)})}else ie?(v.addHeadObjs(at(g)),ye(()=>v.updateDOM())):v.addHeadObjs(g())}else{let g=function(){aA(e.stylesheetId,e.cspNonce,d.value)};ie?At(d,g,{immediate:!0}):g()}}function f(m){m!=="system"&&!b.value.includes(m)||(r.value=m)}function _(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b.value;const v=m.indexOf(r.value),g=v===-1?0:(v+1)%m.length;f(m[g])}function h(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];_(m)}const y=new Proxy(r,{get(m,v){return Reflect.get(m,v)},set(m,v,g){return v==="value"&&Zf(`theme.global.name.value = ${g}`,`theme.change('${g}')`),Reflect.set(m,v,g)}});return{install:p,change:f,cycle:_,toggle:h,isDisabled:e.isDisabled,isSystem:l,name:r,themes:a,current:u,computedThemes:o,prefix:e.prefix,themeClasses:c,styles:d,global:{name:y,current:u}}}function ji(t){Ue("provideTheme");const e=Qt(Xn,null);if(!e)throw new Error("Could not find Vuetify theme injection");const s=at(()=>t.theme??e.name.value),a=at(()=>e.themes.value[s.value]),n=at(()=>e.isDisabled?void 0:`${e.prefix}theme--${s.value}`),r={...e,name:s,current:a,themeClasses:n};return Fe(Xn,r),r}function Jd(){Ue("useTheme");const t=Qt(Xn,null);if(!t)throw new Error("Could not find Vuetify theme injection");return t}const oA=gt({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:be,opacity:[String,Number],...ue(),...pr(),...xe({tag:"i"}),...vi()},"VIcon"),te=Ut()({name:"VIcon",props:oA(),setup(t,e){let{attrs:s,slots:a}=e;const n=It(),{themeClasses:r}=Jd(),{iconData:o}=ZS(()=>n.value||t.icon),{sizeClasses:u}=mr(t),{textColorClasses:l,textColorStyles:d}=Qa(()=>t.color);return re(()=>{const c=a.default?.();c&&(n.value=n2(c).filter(p=>p.type===tn&&p.children&&typeof p.children=="string")[0]?.children);const b=!!(s.onClick||s.onClickOnce);return B(o.value.component,{tag:t.tag,icon:o.value.icon,class:St(["v-icon","notranslate",r.value,u.value,l.value,{"v-icon--clickable":b,"v-icon--disabled":t.disabled,"v-icon--start":t.start,"v-icon--end":t.end},t.class]),style:Nt([{"--v-icon-opacity":t.opacity},u.value?void 0:{fontSize:Bt(t.size),height:Bt(t.size),width:Bt(t.size)},d.value,t.style]),role:b?"button":void 0,"aria-hidden":!b,tabindex:b?t.disabled?-1:0:void 0},{default:()=>[c]})}),{}}}),sn=gt({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function an(t){return{dimensionStyles:G(()=>{const s={},a=Bt(t.height),n=Bt(t.maxHeight),r=Bt(t.maxWidth),o=Bt(t.minHeight),u=Bt(t.minWidth),l=Bt(t.width);return a!=null&&(s.height=a),n!=null&&(s.maxHeight=n),r!=null&&(s.maxWidth=r),o!=null&&(s.minHeight=o),u!=null&&(s.minWidth=u),l!=null&&(s.width=l),s})}}function lA(t){return{aspectStyles:G(()=>{const e=Number(t.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const w2=gt({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...ue(),...sn()},"VResponsive"),Cp=Ut()({name:"VResponsive",props:w2(),setup(t,e){let{slots:s}=e;const{aspectStyles:a}=lA(t),{dimensionStyles:n}=an(t);return re(()=>q("div",{class:St(["v-responsive",{"v-responsive--inline":t.inline},t.class]),style:Nt([n.value,t.style])},[q("div",{class:"v-responsive__sizer",style:Nt(a.value)},null),s.additional?.(),s.default&&q("div",{class:St(["v-responsive__content",t.contentClass])},[s.default()])])),{}}}),ws=gt({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function Ss(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();return{roundedClasses:G(()=>{const a=fe(t)?t.value:t.rounded,n=fe(t)?!1:t.tile,r=[];if(n||a===!1)r.push("rounded-0");else if(a===!0||a==="")r.push(`${e}--rounded`);else if(typeof a=="string"||a===0)for(const o of String(a).split(" "))r.push(`rounded-${o}`);return r})}}const S2=gt({transition:{type:null,default:"fade-transition",validator:t=>t!==!0}},"transition"),ja=(t,e)=>{let{slots:s}=e;const{transition:a,disabled:n,group:r,...o}=t,{component:u=r?kd:aa,...l}=Mu(a)?a:{};let d;return Mu(a)?d=Ct(l,nS({disabled:n,group:r}),o):d=Ct({name:n||!a?"":a},o),oe(u,d,s)};function uA(t,e){if(!Vd)return;const s=e.modifiers||{},a=e.value,{handler:n,options:r}=typeof a=="object"?a:{handler:a,options:{}},o=new IntersectionObserver(function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const d=t._observe?.[e.instance.$.uid];if(!d)return;const c=u.some(b=>b.isIntersecting);n&&(!s.quiet||d.init)&&(!s.once||c||d.init)&&n(c,u,l),c&&s.once?A2(t,e):d.init=!0},r);t._observe=Object(t._observe),t._observe[e.instance.$.uid]={init:!1,observer:o},o.observe(t)}function A2(t,e){const s=t._observe?.[e.instance.$.uid];s&&(s.observer.unobserve(t),delete t._observe[e.instance.$.uid])}const Mp={mounted:uA,unmounted:A2},dA=gt({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...w2(),...ue(),...ws(),...S2()},"VImg"),Zn=Ut()({name:"VImg",directives:{vIntersect:Mp},props:dA(),emits:{loadstart:t=>!0,load:t=>!0,error:t=>!0},setup(t,e){let{emit:s,slots:a}=e;const{backgroundColorClasses:n,backgroundColorStyles:r}=Ga(()=>t.color),{roundedClasses:o}=Ss(t),u=Ue("VImg"),l=It(""),d=st(),c=It(t.eager?"loading":"idle"),b=It(),p=It(),f=G(()=>t.src&&typeof t.src=="object"?{src:t.src.src,srcset:t.srcset||t.src.srcset,lazySrc:t.lazySrc||t.src.lazySrc,aspect:Number(t.aspectRatio||t.src.aspect||0)}:{src:t.src,srcset:t.srcset,lazySrc:t.lazySrc,aspect:Number(t.aspectRatio||0)}),_=G(()=>f.value.aspect||b.value/p.value||0);At(()=>t.src,()=>{h(c.value!=="idle")}),At(_,(M,N)=>{!M&&N&&d.value&&k(d.value)}),Fo(()=>h());function h(M){if(!(t.eager&&M)&&!(Vd&&!M&&!t.eager)){if(c.value="loading",f.value.lazySrc){const N=new Image;N.src=f.value.lazySrc,k(N,null)}f.value.src&&Ce(()=>{s("loadstart",d.value?.currentSrc||f.value.src),setTimeout(()=>{if(!u.isUnmounted)if(d.value?.complete){if(d.value.naturalWidth||m(),c.value==="error")return;_.value||k(d.value,null),c.value==="loading"&&y()}else _.value||k(d.value),v()})})}}function y(){u.isUnmounted||(v(),k(d.value),c.value="loaded",s("load",d.value?.currentSrc||f.value.src))}function m(){u.isUnmounted||(c.value="error",s("error",d.value?.currentSrc||f.value.src))}function v(){const M=d.value;M&&(l.value=M.currentSrc||M.src)}let g=-1;Ge(()=>{clearTimeout(g)});function k(M){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const V=()=>{if(clearTimeout(g),u.isUnmounted)return;const{naturalHeight:it,naturalWidth:ct}=M;it||ct?(b.value=ct,p.value=it):!M.complete&&c.value==="loading"&&N!=null?g=window.setTimeout(V,N):(M.currentSrc.endsWith(".svg")||M.currentSrc.startsWith("data:image/svg+xml"))&&(b.value=1,p.value=1)};V()}const w=at(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),A=()=>{if(!f.value.src||c.value==="idle")return null;const M=q("img",{class:St(["v-img__img",w.value]),style:{objectPosition:t.position},crossorigin:t.crossorigin,src:f.value.src,srcset:f.value.srcset,alt:t.alt,referrerpolicy:t.referrerpolicy,draggable:t.draggable,sizes:t.sizes,ref:d,onLoad:y,onError:m},null),N=a.sources?.();return B(ja,{transition:t.transition,appear:!0},{default:()=>[is(N?q("picture",{class:"v-img__picture"},[N,M]):M,[[ur,c.value==="loaded"]])]})},z=()=>B(ja,{transition:t.transition},{default:()=>[f.value.lazySrc&&c.value!=="loaded"&&q("img",{class:St(["v-img__img","v-img__img--preload",w.value]),style:{objectPosition:t.position},crossorigin:t.crossorigin,src:f.value.lazySrc,alt:t.alt,referrerpolicy:t.referrerpolicy,draggable:t.draggable},null)]}),S=()=>a.placeholder?B(ja,{transition:t.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!a.error)&&q("div",{class:"v-img__placeholder"},[a.placeholder()])]}):null,I=()=>a.error?B(ja,{transition:t.transition,appear:!0},{default:()=>[c.value==="error"&&q("div",{class:"v-img__error"},[a.error()])]}):null,E=()=>t.gradient?q("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null):null,D=It(!1);{const M=At(_,N=>{N&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{D.value=!0})}),M())})}return re(()=>{const M=Cp.filterProps(t);return is(B(Cp,Ct({class:["v-img",{"v-img--absolute":t.absolute,"v-img--booting":!D.value},n.value,o.value,t.class],style:[{width:Bt(t.width==="auto"?b.value:t.width)},r.value,t.style]},M,{aspectRatio:_.value,"aria-label":t.alt,role:t.alt?"img":void 0}),{additional:()=>q(pt,null,[B(A,null,null),B(z,null,null),B(E,null,null),B(S,null,null),B(I,null,null)]),default:a.default}),[[Mp,{handler:h,options:t.options},null,{once:!0}]])}),{currentSrc:l,image:d,state:c,naturalWidth:b,naturalHeight:p}}}),da=gt({border:[Boolean,Number,String]},"border");function ca(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();return{borderClasses:G(()=>{const a=t.border;return a===!0||a===""?`${e}--border`:typeof a=="string"||a===0?String(a).split(" ").map(n=>`border-${n}`):[]})}}const cA=[null,"default","comfortable","compact"],qs=gt({density:{type:String,default:"default",validator:t=>cA.includes(t)}},"density");function ba(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();return{densityClasses:at(()=>`${e}--density-${t.density}`)}}const bA=["elevated","flat","tonal","outlined","text","plain"];function fr(t,e){return q(pt,null,[t&&q("span",{key:"overlay",class:St(`${e}__overlay`)},null),q("span",{key:"underlay",class:St(`${e}__underlay`)},null)])}const Vs=gt({color:String,variant:{type:String,default:"elevated",validator:t=>bA.includes(t)}},"variant");function vr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();const s=at(()=>{const{variant:r}=fi(t);return`${e}--variant-${r}`}),{colorClasses:a,colorStyles:n}=Qd(()=>{const{variant:r,color:o}=fi(t);return{[["elevated","flat"].includes(r)?"background":"text"]:o}});return{colorClasses:a,colorStyles:n,variantClasses:s}}const pA=gt({start:Boolean,end:Boolean,icon:be,image:String,text:String,...da(),...ue(),...qs(),...ws(),...pr(),...xe(),...vi(),...Vs({variant:"flat"})},"VAvatar"),Rs=Ut()({name:"VAvatar",props:pA(),setup(t,e){let{slots:s}=e;const{themeClasses:a}=ji(t),{borderClasses:n}=ca(t),{colorClasses:r,colorStyles:o,variantClasses:u}=vr(t),{densityClasses:l}=ba(t),{roundedClasses:d}=Ss(t),{sizeClasses:c,sizeStyles:b}=mr(t);return re(()=>B(t.tag,{class:St(["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},a.value,n.value,r.value,l.value,d.value,c.value,u.value,t.class]),style:Nt([o.value,b.value,t.style])},{default:()=>[s.default?B(ni,{key:"content-defaults",defaults:{VImg:{cover:!0,src:t.image},VIcon:{icon:t.icon}}},{default:()=>[s.default()]}):t.image?B(Zn,{key:"image",src:t.image,alt:"",cover:!0},null):t.icon?B(te,{key:"icon",icon:t.icon},null):t.text,fr(!1,"v-avatar")]})),{}}}),mA=gt({appendAvatar:String,appendIcon:be,prependAvatar:String,prependIcon:be,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...ue(),...qs(),...xe()},"VCardItem"),fA=Ut()({name:"VCardItem",props:mA(),setup(t,e){let{slots:s}=e;return re(()=>{const a=!!(t.prependAvatar||t.prependIcon),n=!!(a||s.prepend),r=!!(t.appendAvatar||t.appendIcon),o=!!(r||s.append),u=!!(t.title!=null||s.title),l=!!(t.subtitle!=null||s.subtitle);return B(t.tag,{class:St(["v-card-item",t.class]),style:Nt(t.style)},{default:()=>[n&&q("div",{key:"prepend",class:"v-card-item__prepend"},[s.prepend?B(ni,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon}}},s.prepend):q(pt,null,[t.prependAvatar&&B(Rs,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&B(te,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)])]),q("div",{class:"v-card-item__content"},[u&&B(HS,{key:"title"},{default:()=>[s.title?.()??jt(t.title)]}),l&&B(VS,{key:"subtitle"},{default:()=>[s.subtitle?.()??jt(t.subtitle)]}),s.default?.()]),o&&q("div",{key:"append",class:"v-card-item__append"},[s.append?B(ni,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon}}},s.append):q(pt,null,[t.appendIcon&&B(te,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&B(Rs,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)])])]})}),{}}}),vA=gt({opacity:[Number,String],...ue(),...xe()},"VCardText"),z2=Ut()({name:"VCardText",props:vA(),setup(t,e){let{slots:s}=e;return re(()=>B(t.tag,{class:St(["v-card-text",t.class]),style:Nt([{"--v-card-text-opacity":t.opacity},t.style])},s)),{}}}),nn=gt({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function rn(t){return{elevationClasses:at(()=>{const s=fe(t)?t.value:t.elevation;return s==null?[]:[`elevation-${s}`]})}}function T2(t,e){const s=st(),a=It(!1);if(Vd){const n=new IntersectionObserver(r=>{a.value=!!r.find(o=>o.isIntersecting)},e);ui(()=>{n.disconnect()}),At(s,(r,o)=>{o&&(n.unobserve(o),a.value=!1),r&&n.observe(r)},{flush:"post"})}return{intersectionRef:s,isIntersecting:a}}function _r(t,e){let s;function a(){s=Va(),s.run(()=>e.length?e(()=>{s?.stop(),a()}):e())}At(t,n=>{n&&!s?a():n||(s?.stop(),s=void 0)},{immediate:!0}),ui(()=>{s?.stop()})}function es(t,e,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:b=>b,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:b=>b;const r=Ue("useProxiedModel"),o=st(t[e]!==void 0?t[e]:s),u=ta(e),d=G(u!==e?()=>(t[e],!!((r.vnode.props?.hasOwnProperty(e)||r.vnode.props?.hasOwnProperty(u))&&(r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)||r.vnode.props?.hasOwnProperty(`onUpdate:${u}`)))):()=>(t[e],!!(r.vnode.props?.hasOwnProperty(e)&&r.vnode.props?.hasOwnProperty(`onUpdate:${e}`))));_r(()=>!d.value,()=>{At(()=>t[e],b=>{o.value=b})});const c=G({get(){const b=t[e];return a(d.value?b:o.value)},set(b){const p=n(b),f=wt(d.value?t[e]:o.value);f===p||a(f)===b||(o.value=p,r?.emit(`update:${e}`,p))}});return Object.defineProperty(c,"externalValue",{get:()=>d.value?t[e]:o.value}),c}const _A={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},xp="$vuetify.",Ip=(t,e)=>t.replace(/\{(\d+)\}/g,(s,a)=>String(e[Number(a)])),P2=(t,e,s)=>function(a){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(!a.startsWith(xp))return Ip(a,r);const u=a.replace(xp,""),l=t.value&&s.value[t.value],d=e.value&&s.value[e.value];let c=Cu(l,u,null);return c||(`${a}${t.value}`,c=Cu(d,u,null)),c||(c=a),typeof c!="string"&&(c=a),Ip(c,r)};function tc(t,e){return(s,a)=>new Intl.NumberFormat([t.value,e.value],a).format(s)}function j2(t,e){return tc(t,e)(.1).includes(",")?",":"."}function Pl(t,e,s){const a=es(t,e,t[e]??s.value);return a.value=t[e]??s.value,At(s,n=>{t[e]==null&&(a.value=s.value)}),a}function E2(t){return e=>{const s=Pl(e,"locale",t.current),a=Pl(e,"fallback",t.fallback),n=Pl(e,"messages",t.messages);return{name:"vuetify",current:s,fallback:a,messages:n,decimalSeparator:at(()=>j2(s,a)),t:P2(s,a,n),n:tc(s,a),provide:E2({current:s,fallback:a,messages:n})}}}function gA(t){const e=It(t?.locale??"en"),s=It(t?.fallback??"en"),a=st({en:_A,...t?.messages});return{name:"vuetify",current:e,fallback:s,messages:a,decimalSeparator:at(()=>t?.decimalSeparator??j2(e,s)),t:P2(e,s,a),n:tc(e,s),provide:E2({current:e,fallback:s,messages:a})}}const ho=Symbol.for("vuetify:locale");function hA(t){return t.name!=null}function yA(t){const e=t?.adapter&&hA(t?.adapter)?t?.adapter:gA(t),s=SA(e,t);return{...e,...s}}function kA(){const t=Qt(ho);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function wA(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function SA(t,e){const s=st(e?.rtl??wA()),a=G(()=>s.value[t.current.value]??!1);return{isRtl:a,rtl:s,rtlClasses:at(()=>`v-locale--is-${a.value?"rtl":"ltr"}`)}}function on(){const t=Qt(ho);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}const Dp={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ec=gt({location:String},"location");function ic(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=arguments.length>2?arguments[2]:void 0;const{isRtl:a}=on();return{locationStyles:G(()=>{if(!t.location)return{};const{side:r,align:o}=Iu(t.location.split(" ").length>1?t.location:`${t.location} center`,a.value);function u(d){return s?s(d):0}const l={};return r!=="center"&&(e?l[Dp[r]]=`calc(100% - ${u(r)}px)`:l[r]=0),o!=="center"?e?l[Dp[o]]=`calc(100% - ${u(o)}px)`:l[o]=0:(r==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),l})}}function yo(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const s=xu(),a=st();if(ie){const n=new ResizeObserver(r=>{t?.(r,n),r.length&&(e==="content"?a.value=r[0].contentRect:a.value=r[0].target.getBoundingClientRect())});Ge(()=>{n.disconnect()}),At(()=>s.el,(r,o)=>{o&&(n.unobserve(o),a.value=void 0),r&&n.observe(r)},{flush:"post"})}return{resizeRef:s,contentRect:Ha(a)}}const AA=gt({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},"chunks");function zA(t,e){const s=at(()=>!!t.chunkCount||!!t.chunkWidth),a=G(()=>{const u=fi(e);if(!u)return 0;if(!t.chunkCount)return Number(t.chunkWidth);const l=Number(t.chunkCount);return(u-Number(t.chunkGap)*(l-1))/l}),n=at(()=>Number(t.chunkGap)),r=G(()=>{if(!s.value)return{};const u=Bt(n.value),l=Bt(a.value);return{maskRepeat:"repeat-x",maskImage:`linear-gradient(90deg, #000, #000 ${l}, transparent ${l}, transparent)`,maskSize:`calc(${l} + ${u}) 100%`}});function o(u){const l=fi(e);if(!l)return u;const d=100*n.value/l,c=100*(a.value+n.value)/l,b=Math.floor((u+d)/c);return gs(0,b*c-d/2,100)}return{hasChunks:s,chunksMaskStyles:r,snapValueToChunk:o}}const TA=gt({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...AA(),...ue(),...ec({location:"top"}),...ws(),...xe(),...vi()},"VProgressLinear"),sc=Ut()({name:"VProgressLinear",props:TA(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const a=st(),n=es(t,"modelValue"),{isRtl:r,rtlClasses:o}=on(),{themeClasses:u}=ji(t),{locationStyles:l}=ic(t),{textColorClasses:d,textColorStyles:c}=Qa(()=>t.color),{backgroundColorClasses:b,backgroundColorStyles:p}=Ga(()=>t.bgColor||t.color),{backgroundColorClasses:f,backgroundColorStyles:_}=Ga(()=>t.bufferColor||t.bgColor||t.color),{backgroundColorClasses:h,backgroundColorStyles:y}=Ga(()=>t.color),{roundedClasses:m}=Ss(t),{intersectionRef:v,isIntersecting:g}=T2(),k=G(()=>parseFloat(t.max)),w=G(()=>parseFloat(t.height)),A=G(()=>gs(parseFloat(t.bufferValue)/k.value*100,0,100)),z=G(()=>gs(parseFloat(n.value)/k.value*100,0,100)),S=G(()=>r.value!==t.reverse),I=G(()=>t.indeterminate?"fade-transition":"slide-x-transition"),E=It(0),{hasChunks:D,chunksMaskStyles:M,snapValueToChunk:N}=zA(t,E);_r(D,()=>{const{resizeRef:ot}=yo(tt=>E.value=tt[0].contentRect.width);ye(()=>ot.value=a.value)});const V=G(()=>D.value?N(A.value):A.value),it=G(()=>D.value?N(z.value):z.value);function ct(ot){if(!v.value)return;const{left:tt,right:_t,width:vt}=v.value.getBoundingClientRect(),Tt=S.value?vt-ot.clientX+(_t-vt):ot.clientX-tt;n.value=Math.round(Tt/vt*k.value)}return ye(()=>{v.value=a.value}),re(()=>B(t.tag,{ref:a,class:St(["v-progress-linear",{"v-progress-linear--absolute":t.absolute,"v-progress-linear--active":t.active&&g.value,"v-progress-linear--reverse":S.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped,"v-progress-linear--clickable":t.clickable},m.value,u.value,o.value,t.class]),style:Nt([{bottom:t.location==="bottom"?0:void 0,top:t.location==="top"?0:void 0,height:t.active?Bt(w.value):0,"--v-progress-linear-height":Bt(w.value),...t.absolute?l.value:{}},M.value,t.style]),role:"progressbar","aria-hidden":t.active?"false":"true","aria-valuemin":"0","aria-valuemax":t.max,"aria-valuenow":t.indeterminate?void 0:Math.min(parseFloat(n.value),k.value),onClick:t.clickable&&ct},{default:()=>[t.stream&&q("div",{key:"stream",class:St(["v-progress-linear__stream",d.value]),style:{...c.value,[S.value?"left":"right"]:Bt(-w.value),borderTop:`${Bt(w.value/2)} dotted`,opacity:parseFloat(t.bufferOpacity),top:`calc(50% - ${Bt(w.value/4)})`,width:Bt(100-A.value,"%"),"--v-progress-linear-stream-to":Bt(w.value*(S.value?1:-1))}},null),q("div",{class:St(["v-progress-linear__background",b.value]),style:Nt([p.value,{opacity:parseFloat(t.bgOpacity),width:t.stream?0:void 0}])},null),q("div",{class:St(["v-progress-linear__buffer",f.value]),style:Nt([_.value,{opacity:parseFloat(t.bufferOpacity),width:Bt(V.value,"%")}])},null),B(aa,{name:I.value},{default:()=>[t.indeterminate?q("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(ot=>q("div",{key:ot,class:St(["v-progress-linear__indeterminate",ot,h.value]),style:Nt(y.value)},null))]):q("div",{class:St(["v-progress-linear__determinate",h.value]),style:Nt([y.value,{width:Bt(it.value,"%")}])},null)]}),s.default&&q("div",{class:"v-progress-linear__content"},[s.default({value:z.value,buffer:A.value})])]})),{}}}),C2=gt({loading:[Boolean,String]},"loader");function M2(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();return{loaderClasses:at(()=>({[`${e}--loading`]:t.loading}))}}function PA(t,e){let{slots:s}=e;return q("div",{class:St(`${t.name}__loader`)},[s.default?.({color:t.color,isActive:t.active})||B(sc,{absolute:t.absolute,active:t.active,color:t.color,height:"2",indeterminate:!0},null)])}const jA=["static","relative","fixed","absolute","sticky"],x2=gt({position:{type:String,validator:t=>jA.includes(t)}},"position");function I2(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();return{positionClasses:at(()=>t.position?`${e}--${t.position}`:void 0)}}function EA(){const t=Ue("useRoute");return G(()=>t?.proxy?.$route)}function CA(){return Ue("useRouter")?.proxy?.$router}function Jo(t,e){const s=wa("RouterLink"),a=at(()=>!!(t.href||t.to)),n=G(()=>a?.value||dp(e,"click")||dp(t,"click"));if(typeof s=="string"||!("useLink"in s)){const b=at(()=>t.href);return{isLink:a,isRouterLink:at(()=>!1),isClickable:n,href:b,linkProps:we({href:b})}}const r=s.useLink({to:at(()=>t.to||""),replace:at(()=>t.replace)}),o=G(()=>t.to?r:void 0),u=EA(),l=G(()=>o.value?t.exact?u.value?o.value.isExactActive?.value&&Is(o.value.route.value.query,u.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),d=G(()=>t.to?o.value?.route.value.href:t.href),c=at(()=>!!t.to);return{isLink:a,isRouterLink:c,isClickable:n,isActive:l,route:o.value?.route,navigate:o.value?.navigate,href:d,linkProps:we({href:d,"aria-current":at(()=>l.value?"page":void 0),"aria-disabled":at(()=>t.disabled&&a.value?"true":void 0),tabindex:at(()=>t.disabled&&a.value?"-1":void 0)})}}const tl=gt({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let jl=!1;function MA(t,e){let s=!1,a,n;ie&&t?.beforeEach&&(Ce(()=>{window.addEventListener("popstate",r),a=t.beforeEach((o,u,l)=>{jl?s?e(l):l():setTimeout(()=>s?e(l):l()),jl=!0}),n=t?.afterEach(()=>{jl=!1})}),ui(()=>{window.removeEventListener("popstate",r),a?.(),n?.()}));function r(o){o.state?.replaced||(s=!0,setTimeout(()=>s=!1))}}const Ou=Symbol("rippleStop"),xA=80;function Lp(t,e){t.style.transform=e,t.style.webkitTransform=e}function Nu(t){return t.constructor.name==="TouchEvent"}function D2(t){return t.constructor.name==="KeyboardEvent"}const IA=function(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=0,n=0;if(!D2(t)){const b=e.getBoundingClientRect(),p=Nu(t)?t.touches[t.touches.length-1]:t;a=p.clientX-b.left,n=p.clientY-b.top}let r=0,o=.3;e._ripple?.circle?(o=.15,r=e.clientWidth/2,r=s.center?r:r+Math.sqrt((a-r)**2+(n-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const u=`${(e.clientWidth-r*2)/2}px`,l=`${(e.clientHeight-r*2)/2}px`,d=s.center?u:`${a-r}px`,c=s.center?l:`${n-r}px`;return{radius:r,scale:o,x:d,y:c,centerX:u,centerY:l}},ko={show(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e?._ripple?.enabled)return;const a=document.createElement("span"),n=document.createElement("span");a.appendChild(n),a.className="v-ripple__container",s.class&&(a.className+=` ${s.class}`);const{radius:r,scale:o,x:u,y:l,centerX:d,centerY:c}=IA(t,e,s),b=`${r*2}px`;n.className="v-ripple__animation",n.style.width=b,n.style.height=b,e.appendChild(a);const p=window.getComputedStyle(e);p&&p.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),Lp(n,`translate(${u}, ${l}) scale3d(${o},${o},${o})`),n.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),Lp(n,`translate(${d}, ${c}) scale3d(1,1,1)`)})})},hide(t){if(!t?._ripple?.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const s=Array.from(e).findLast(r=>!r.dataset.isHiding);if(s)s.dataset.isHiding="true";else return;const a=performance.now()-Number(s.dataset.activated),n=Math.max(250-a,0);setTimeout(()=>{s.classList.remove("v-ripple__animation--in"),s.classList.add("v-ripple__animation--out"),setTimeout(()=>{t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),s.parentNode?.parentNode===t&&t.removeChild(s.parentNode)},300)},n)}};function L2(t){return typeof t>"u"||!!t}function Qn(t){const e={},s=t.currentTarget;if(!(!s?._ripple||s._ripple.touched||t[Ou])){if(t[Ou]=!0,Nu(t))s._ripple.touched=!0,s._ripple.isTouch=!0;else if(s._ripple.isTouch)return;if(e.center=s._ripple.centered||D2(t),s._ripple.class&&(e.class=s._ripple.class),Nu(t)){if(s._ripple.showTimerCommit)return;s._ripple.showTimerCommit=()=>{ko.show(t,s,e)},s._ripple.showTimer=window.setTimeout(()=>{s?._ripple?.showTimerCommit&&(s._ripple.showTimerCommit(),s._ripple.showTimerCommit=null)},xA)}else ko.show(t,s,e)}}function Rp(t){t[Ou]=!0}function mi(t){const e=t.currentTarget;if(e?._ripple){if(window.clearTimeout(e._ripple.showTimer),t.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{mi(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),ko.hide(e)}}function R2(t){const e=t.currentTarget;e?._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Jn=!1;function Op(t,e){!Jn&&e.includes(t.key)&&(Jn=!0,Qn(t))}function O2(t){Jn=!1,mi(t)}function N2(t){Jn&&(Jn=!1,mi(t))}function B2(t,e,s){const{value:a,modifiers:n}=e,r=L2(a);r||ko.hide(t),t._ripple=t._ripple??{},t._ripple.enabled=r,t._ripple.centered=n.center,t._ripple.circle=n.circle;const o=Mu(a)?a:{};o.class&&(t._ripple.class=o.class);const u=o.keys??["Enter","Space"];if(t._ripple.keyDownHandler=l=>Op(l,u),r&&!s){if(n.stop){t.addEventListener("touchstart",Rp,{passive:!0}),t.addEventListener("mousedown",Rp);return}t.addEventListener("touchstart",Qn,{passive:!0}),t.addEventListener("touchend",mi,{passive:!0}),t.addEventListener("touchmove",R2,{passive:!0}),t.addEventListener("touchcancel",mi),t.addEventListener("mousedown",Qn),t.addEventListener("mouseup",mi),t.addEventListener("mouseleave",mi),t.addEventListener("keydown",l=>Op(l,u)),t.addEventListener("keyup",O2),t.addEventListener("blur",N2),t.addEventListener("dragstart",mi,{passive:!0})}else!r&&s&&F2(t)}function F2(t){t.removeEventListener("mousedown",Qn),t.removeEventListener("touchstart",Qn),t.removeEventListener("touchend",mi),t.removeEventListener("touchmove",R2),t.removeEventListener("touchcancel",mi),t.removeEventListener("mouseup",mi),t.removeEventListener("mouseleave",mi),t._ripple?.keyDownHandler&&t.removeEventListener("keydown",t._ripple.keyDownHandler),t.removeEventListener("keyup",O2),t.removeEventListener("dragstart",mi),t.removeEventListener("blur",N2)}function DA(t,e){B2(t,e,!1)}function LA(t){F2(t),delete t._ripple}function RA(t,e){if(e.value===e.oldValue)return;const s=L2(e.oldValue);B2(t,e,s)}const oa={mounted:DA,unmounted:LA,updated:RA},OA=gt({appendAvatar:String,appendIcon:be,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:be,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...da(),...ue(),...qs(),...sn(),...nn(),...C2(),...ec(),...x2(),...ws(),...tl(),...xe(),...vi(),...Vs({variant:"elevated"})},"VCard"),wo=Ut()({name:"VCard",directives:{vRipple:oa},props:OA(),setup(t,e){let{attrs:s,slots:a}=e;const{themeClasses:n}=ji(t),{borderClasses:r}=ca(t),{colorClasses:o,colorStyles:u,variantClasses:l}=vr(t),{densityClasses:d}=ba(t),{dimensionStyles:c}=an(t),{elevationClasses:b}=rn(t),{loaderClasses:p}=M2(t),{locationStyles:f}=ic(t),{positionClasses:_}=I2(t),{roundedClasses:h}=Ss(t),y=Jo(t,s),m=It(void 0);return At(()=>t.loading,(v,g)=>{m.value=!v&&typeof g=="string"?g:typeof v=="boolean"?void 0:v},{immediate:!0}),re(()=>{const v=t.link!==!1&&y.isLink.value,g=!t.disabled&&t.link!==!1&&(t.link||y.isClickable.value),k=v?"a":t.tag,w=!!(a.title||t.title!=null),A=!!(a.subtitle||t.subtitle!=null),z=w||A,S=!!(a.append||t.appendAvatar||t.appendIcon),I=!!(a.prepend||t.prependAvatar||t.prependIcon),E=!!(a.image||t.image),D=z||I||S,M=!!(a.text||t.text!=null);return is(B(k,Ct(y.linkProps,{class:["v-card",{"v-card--disabled":t.disabled,"v-card--flat":t.flat,"v-card--hover":t.hover&&!(t.disabled||t.flat),"v-card--link":g},n.value,r.value,o.value,d.value,b.value,p.value,_.value,h.value,l.value,t.class],style:[u.value,c.value,f.value,t.style],onClick:g&&y.navigate,tabindex:t.disabled?-1:void 0}),{default:()=>[E&&q("div",{key:"image",class:"v-card__image"},[a.image?B(ni,{key:"image-defaults",disabled:!t.image,defaults:{VImg:{cover:!0,src:t.image}}},a.image):B(Zn,{key:"image-img",cover:!0,src:t.image},null)]),B(PA,{name:"v-card",active:!!t.loading,color:m.value},{default:a.loader}),D&&B(fA,{key:"item",prependAvatar:t.prependAvatar,prependIcon:t.prependIcon,title:t.title,subtitle:t.subtitle,appendAvatar:t.appendAvatar,appendIcon:t.appendIcon},{default:a.item,prepend:a.prepend,title:a.title,subtitle:a.subtitle,append:a.append}),M&&B(z2,{key:"text"},{default:()=>[a.text?.()??t.text]}),a.default?.(),a.actions&&B(_2,null,{default:a.actions}),fr(g,"v-card")]}),[[oa,g&&t.ripple]])}),{}}}),NA=gt({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...ue(),...vi()},"VDivider"),G2=Ut()({name:"VDivider",props:NA(),setup(t,e){let{attrs:s,slots:a}=e;const{themeClasses:n}=ji(t),{textColorClasses:r,textColorStyles:o}=Qa(()=>t.color),u=G(()=>{const l={};return t.length&&(l[t.vertical?"height":"width"]=Bt(t.length)),t.thickness&&(l[t.vertical?"borderRightWidth":"borderTopWidth"]=Bt(t.thickness)),l});return re(()=>{const l=q("hr",{class:St([{"v-divider":!0,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},n.value,r.value,t.class]),style:Nt([u.value,o.value,{"--v-border-opacity":t.opacity},t.style]),"aria-orientation":!s.role||s.role==="separator"?t.vertical?"vertical":"horizontal":void 0,role:`${s.role||"separator"}`},null);return a.default?q("div",{class:St(["v-divider__wrapper",{"v-divider__wrapper--vertical":t.vertical,"v-divider__wrapper--inset":t.inset}])},[l,q("div",{class:"v-divider__content"},[a.default()]),l]):l}),{}}}),BA=gt({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function _i(t,e,s){return Ut()({name:t,props:BA({mode:s,origin:e}),setup(a,n){let{slots:r}=n;const o={onBeforeEnter(u){a.origin&&(u.style.transformOrigin=a.origin)},onLeave(u){if(a.leaveAbsolute){const{offsetTop:l,offsetLeft:d,offsetWidth:c,offsetHeight:b}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${l}px`,u.style.left=`${d}px`,u.style.width=`${c}px`,u.style.height=`${b}px`}a.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(a.leaveAbsolute&&u?._transitionInitialStyles){const{position:l,top:d,left:c,width:b,height:p}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=l||"",u.style.top=d||"",u.style.left=c||"",u.style.width=b||"",u.style.height=p||""}}};return()=>{const u=a.group?kd:aa;return oe(u,{name:a.disabled?"":t,css:!a.disabled,...a.group?void 0:{mode:a.mode},...a.disabled?{}:o},r.default)}}})}function U2(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ut()({name:t,props:{mode:{type:String,default:s},disabled:{type:Boolean,default:$n()},group:Boolean},setup(a,n){let{slots:r}=n;const o=a.group?kd:aa;return()=>oe(o,{name:a.disabled?"":t,css:!a.disabled,...a.disabled?{}:e},r.default)}})}function q2(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",a=Ye(`offset-${s}`);return{onBeforeEnter(o){o._parent=o.parentNode,o._initialStyle={transition:o.style.transition,overflow:o.style.overflow,[s]:o.style[s]}},onEnter(o){const u=o._initialStyle;if(!u)return;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const l=`${o[a]}px`;o.style[s]="0",o.offsetHeight,o.style.transition=u.transition,t&&o._parent&&o._parent.classList.add(t),requestAnimationFrame(()=>{o.style[s]=l})},onAfterEnter:r,onEnterCancelled:r,onLeave(o){o._initialStyle={transition:"",overflow:o.style.overflow,[s]:o.style[s]},o.style.overflow="hidden",o.style[s]=`${o[a]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[s]="0")},onAfterLeave:n,onLeaveCancelled:n};function n(o){t&&o._parent&&o._parent.classList.remove(t),r(o)}function r(o){if(!o._initialStyle)return;const u=o._initialStyle[s];o.style.overflow=o._initialStyle.overflow,u!=null&&(o.style[s]=u),delete o._initialStyle}}const FA=gt({target:[Object,Array]},"v-dialog-transition"),El=new WeakMap,GA=Ut()({name:"VDialogTransition",props:FA(),setup(t,e){let{slots:s}=e;const a={onBeforeEnter(n){n.style.pointerEvents="none",n.style.visibility="hidden"},async onEnter(n,r){await new Promise(p=>requestAnimationFrame(p)),await new Promise(p=>requestAnimationFrame(p)),n.style.visibility="";const o=Bp(t.target,n),{x:u,y:l,sx:d,sy:c,speed:b}=o;if(El.set(n,o),$n())Zs(n,[{opacity:0},{}],{duration:125*b,easing:zp}).finished.then(()=>r());else{const p=Zs(n,[{transform:`translate(${u}px, ${l}px) scale(${d}, ${c})`,opacity:0},{}],{duration:225*b,easing:zp});Np(n)?.forEach(f=>{Zs(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*b,easing:Lu})}),p.finished.then(()=>r())}},onAfterEnter(n){n.style.removeProperty("pointer-events")},onBeforeLeave(n){n.style.pointerEvents="none"},async onLeave(n,r){await new Promise(p=>requestAnimationFrame(p));let o;!El.has(n)||Array.isArray(t.target)||t.target.offsetParent||t.target.getClientRects().length?o=Bp(t.target,n):o=El.get(n);const{x:u,y:l,sx:d,sy:c,speed:b}=o;$n()?Zs(n,[{},{opacity:0}],{duration:85*b,easing:Tp}).finished.then(()=>r()):(Zs(n,[{},{transform:`translate(${u}px, ${l}px) scale(${d}, ${c})`,opacity:0}],{duration:125*b,easing:Tp}).finished.then(()=>r()),Np(n)?.forEach(f=>{Zs(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*b,easing:Lu})}))},onAfterLeave(n){n.style.removeProperty("pointer-events")}};return()=>t.target?B(aa,Ct({name:"dialog-transition"},a,{css:!1}),s):B(aa,{name:"dialog-transition"},s)}});function Np(t){const e=t.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children;return e&&[...e]}function Bp(t,e){const s=u2(t),a=d2(e),[n,r]=getComputedStyle(e).transformOrigin.split(" ").map(m=>parseFloat(m)),[o,u]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=s.left+s.width/2;o==="left"||u==="left"?l-=s.width/2:(o==="right"||u==="right")&&(l+=s.width/2);let d=s.top+s.height/2;o==="top"||u==="top"?d-=s.height/2:(o==="bottom"||u==="bottom")&&(d+=s.height/2);const c=s.width/a.width,b=s.height/a.height,p=Math.max(1,c,b),f=c/p||0,_=b/p||0,h=a.width*a.height/(window.innerWidth*window.innerHeight),y=h>.12?Math.min(1.5,(h-.12)*10+1):1;return{x:l-(n+a.left),y:d-(r+a.top),sx:f,sy:_,speed:y}}_i("fab-transition","center center","out-in");_i("dialog-bottom-transition");_i("dialog-top-transition");const Fp=_i("fade-transition"),BC=_i("scale-transition");_i("scroll-x-transition");_i("scroll-x-reverse-transition");_i("scroll-y-transition");_i("scroll-y-reverse-transition");_i("slide-x-transition");_i("slide-x-reverse-transition");const FC=_i("slide-y-transition");_i("slide-y-reverse-transition");const V2=U2("expand-transition",q2()),UA=U2("expand-x-transition",q2("",!0)),Bu=Symbol.for("vuetify:list");function H2(){let{filterable:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const e=Qt(Bu,{filterable:!1,hasPrepend:It(!1),updateHasPrepend:()=>null}),s={filterable:e.filterable||t,hasPrepend:It(!1),updateHasPrepend:a=>{a&&(s.hasPrepend.value=a)}};return Fe(Bu,s),e}function W2(){return Qt(Bu,null)}const ac=t=>{const e={activate:s=>{let{id:a,value:n,activated:r}=s;return a=wt(a),t&&!n&&r.size===1&&r.has(a)||(n?r.add(a):r.delete(a)),r},in:(s,a,n)=>{let r=new Set;if(s!=null)for(const o of Wd(s))r=e.activate({id:o,value:!0,activated:new Set(r),children:a,parents:n});return r},out:s=>Array.from(s)};return e},K2=t=>{const e=ac(t);return{activate:a=>{let{activated:n,id:r,...o}=a;r=wt(r);const u=n.has(r)?new Set([r]):new Set;return e.activate({...o,id:r,activated:u})},in:(a,n,r)=>{let o=new Set;if(a!=null){const u=Wd(a);u.length&&(o=e.in(u.slice(0,1),n,r))}return o},out:(a,n,r)=>e.out(a,n,r)}},qA=t=>{const e=ac(t);return{activate:a=>{let{id:n,activated:r,children:o,...u}=a;return n=wt(n),o.has(n)?r:e.activate({id:n,activated:r,children:o,...u})},in:e.in,out:e.out}},VA=t=>{const e=K2(t);return{activate:a=>{let{id:n,activated:r,children:o,...u}=a;return n=wt(n),o.has(n)?r:e.activate({id:n,activated:r,children:o,...u})},in:e.in,out:e.out}},HA={open:t=>{let{id:e,value:s,opened:a,parents:n}=t;if(s){const r=new Set;r.add(e);let o=n.get(e);for(;o!=null;)r.add(o),o=n.get(o);return r}else return a.delete(e),a},select:()=>null},$2={open:t=>{let{id:e,value:s,opened:a,parents:n}=t;if(s){let r=n.get(e);for(a.add(e);r!=null&&r!==e;)a.add(r),r=n.get(r);return a}else a.delete(e);return a},select:()=>null},WA={open:$2.open,select:t=>{let{id:e,value:s,opened:a,parents:n}=t;if(!s)return a;const r=[];let o=n.get(e);for(;o!=null;)r.push(o),o=n.get(o);return new Set(r)}},nc=t=>{const e={select:s=>{let{id:a,value:n,selected:r}=s;if(a=wt(a),t&&!n){const o=Array.from(r.entries()).reduce((u,l)=>{let[d,c]=l;return c==="on"&&u.push(d),u},[]);if(o.length===1&&o[0]===a)return r}return r.set(a,n?"on":"off"),r},in:(s,a,n,r)=>{const o=new Map;for(const u of s||[])e.select({id:u,value:!0,selected:o,children:a,parents:n,disabled:r});return o},out:s=>{const a=[];for(const[n,r]of s.entries())r==="on"&&a.push(n);return a}};return e},Y2=t=>{const e=nc(t);return{select:a=>{let{selected:n,id:r,...o}=a;r=wt(r);const u=n.has(r)?new Map([[r,n.get(r)]]):new Map;return e.select({...o,id:r,selected:u})},in:(a,n,r,o)=>a?.length?e.in(a.slice(0,1),n,r,o):new Map,out:(a,n,r)=>e.out(a,n,r)}},KA=t=>{const e=nc(t);return{select:a=>{let{id:n,selected:r,children:o,...u}=a;return n=wt(n),o.has(n)?r:e.select({id:n,selected:r,children:o,...u})},in:e.in,out:e.out}},$A=t=>{const e=Y2(t);return{select:a=>{let{id:n,selected:r,children:o,...u}=a;return n=wt(n),o.has(n)?r:e.select({id:n,selected:r,children:o,...u})},in:e.in,out:e.out}},X2=t=>{const e={select:s=>{let{id:a,value:n,selected:r,children:o,parents:u,disabled:l}=s;a=wt(a);const d=new Map(r),c=[a];for(;c.length;){const p=c.shift();l.has(p)||r.set(wt(p),n?"on":"off"),o.has(p)&&c.push(...o.get(p))}let b=wt(u.get(a));for(;b;){let p=!0,f=!0;for(const _ of o.get(b)){const h=wt(_);if(!l.has(h)&&(r.get(h)!=="on"&&(p=!1),r.has(h)&&r.get(h)!=="off"&&(f=!1),!p&&!f))break}r.set(b,p?"on":f?"off":"indeterminate"),b=wt(u.get(b))}return t&&!n&&Array.from(r.entries()).reduce((f,_)=>{let[h,y]=_;return y==="on"&&f.push(h),f},[]).length===0?d:r},in:(s,a,n,r)=>{let o=new Map;for(const u of s||[])o=e.select({id:u,value:!0,selected:o,children:a,parents:n,disabled:r});return o},out:(s,a)=>{const n=[];for(const[r,o]of s.entries())o==="on"&&!a.has(r)&&n.push(r);return n}};return e},YA=t=>{const e=X2(t);return{select:e.select,in:e.in,out:(a,n,r)=>{const o=[];for(const[u,l]of a.entries())if(l==="on"){if(r.has(u)){const d=r.get(u);if(a.get(d)==="on")continue}o.push(u)}return o}}},tr=Symbol.for("vuetify:nested"),Z2={id:It(),root:{register:()=>null,unregister:()=>null,children:st(new Map),parents:st(new Map),disabled:st(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:st(!1),selectable:st(!1),opened:st(new Set),activated:st(new Set),selected:st(new Map),selectedValues:st([]),getPath:()=>[]}},XA=gt({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),ZA=t=>{let e=!1;const s=It(new Map),a=It(new Map),n=It(new Set),r=es(t,"opened",t.opened,y=>new Set(Array.isArray(y)?y.map(m=>wt(m)):y),y=>[...y.values()]),o=G(()=>{if(typeof t.activeStrategy=="object")return t.activeStrategy;if(typeof t.activeStrategy=="function")return t.activeStrategy(t.mandatory);switch(t.activeStrategy){case"leaf":return qA(t.mandatory);case"single-leaf":return VA(t.mandatory);case"independent":return ac(t.mandatory);case"single-independent":default:return K2(t.mandatory)}}),u=G(()=>{if(typeof t.selectStrategy=="object")return t.selectStrategy;if(typeof t.selectStrategy=="function")return t.selectStrategy(t.mandatory);switch(t.selectStrategy){case"single-leaf":return $A(t.mandatory);case"leaf":return KA(t.mandatory);case"independent":return nc(t.mandatory);case"single-independent":return Y2(t.mandatory);case"trunk":return YA(t.mandatory);case"classic":default:return X2(t.mandatory)}}),l=G(()=>{if(typeof t.openStrategy=="object")return t.openStrategy;switch(t.openStrategy){case"list":return WA;case"single":return HA;case"multiple":default:return $2}}),d=es(t,"activated",t.activated,y=>o.value.in(y,s.value,a.value),y=>o.value.out(y,s.value,a.value)),c=es(t,"selected",t.selected,y=>u.value.in(y,s.value,a.value,n.value),y=>u.value.out(y,s.value,a.value));Ge(()=>{e=!0});function b(y){const m=[];let v=wt(y);for(;v!==void 0;)m.unshift(v),v=a.value.get(v);return m}const p=Ue("nested"),f=new Set,_=GS(()=>{Ce(()=>{s.value=new Map(s.value),a.value=new Map(a.value)})},100),h={id:It(),root:{opened:r,activatable:at(()=>t.activatable),selectable:at(()=>t.selectable),activated:d,selected:c,selectedValues:G(()=>{const y=[];for(const[m,v]of c.value.entries())v==="on"&&y.push(m);return y}),register:(y,m,v,g)=>{if(f.has(y)){b(y).map(String).join(" -> "),b(m).concat(y).map(String).join(" -> ");return}else f.add(y);m&&y!==m&&a.value.set(y,m),v&&n.value.add(y),g&&s.value.set(y,[]),m!=null&&s.value.set(m,[...s.value.get(m)||[],y]),_()},unregister:y=>{if(e)return;f.delete(y),s.value.delete(y),n.value.delete(y);const m=a.value.get(y);if(m){const v=s.value.get(m)??[];s.value.set(m,v.filter(g=>g!==y))}a.value.delete(y),_()},open:(y,m,v)=>{p.emit("click:open",{id:y,value:m,path:b(y),event:v});const g=l.value.open({id:y,value:m,opened:new Set(r.value),children:s.value,parents:a.value,event:v});g&&(r.value=g)},openOnSelect:(y,m,v)=>{const g=l.value.select({id:y,value:m,selected:new Map(c.value),opened:new Set(r.value),children:s.value,parents:a.value,event:v});g&&(r.value=g)},select:(y,m,v)=>{p.emit("click:select",{id:y,value:m,path:b(y),event:v});const g=u.value.select({id:y,value:m,selected:new Map(c.value),children:s.value,parents:a.value,disabled:n.value,event:v});g&&(c.value=g),h.root.openOnSelect(y,m,v)},activate:(y,m,v)=>{if(!t.activatable)return h.root.select(y,!0,v);p.emit("click:activate",{id:y,value:m,path:b(y),event:v});const g=o.value.activate({id:y,value:m,activated:new Set(d.value),children:s.value,parents:a.value,event:v});if(g.size!==d.value.size)d.value=g;else{for(const k of g)if(!d.value.has(k)){d.value=g;return}for(const k of d.value)if(!g.has(k)){d.value=g;return}}},children:s,parents:a,disabled:n,getPath:b}};return Fe(tr,h),h.root},Q2=(t,e,s)=>{const a=Qt(tr,Z2),n=Symbol("nested item"),r=G(()=>{const u=wt(fi(t));return u!==void 0?u:n}),o={...a,id:r,open:(u,l)=>a.root.open(r.value,u,l),openOnSelect:(u,l)=>a.root.openOnSelect(r.value,u,l),isOpen:G(()=>a.root.opened.value.has(r.value)),parent:G(()=>a.root.parents.value.get(r.value)),activate:(u,l)=>a.root.activate(r.value,u,l),isActivated:G(()=>a.root.activated.value.has(r.value)),select:(u,l)=>a.root.select(r.value,u,l),isSelected:G(()=>a.root.selected.value.get(r.value)==="on"),isIndeterminate:G(()=>a.root.selected.value.get(r.value)==="indeterminate"),isLeaf:G(()=>!a.root.children.value.get(r.value)),isGroupActivator:a.isGroupActivator};return Fo(()=>{a.isGroupActivator||Ce(()=>{a.root.register(r.value,a.id.value,fi(e),s)})}),Ge(()=>{a.isGroupActivator||a.root.unregister(r.value)}),At(r,(u,l)=>{a.isGroupActivator||(a.root.unregister(l),Ce(()=>{a.root.register(u,a.id.value,fi(e),s)}))}),s&&Fe(tr,o),o},QA=()=>{const t=Qt(tr,Z2);Fe(tr,{...t,isGroupActivator:!0})};function JA(){const t=It(!1);return Xe(()=>{window.requestAnimationFrame(()=>{t.value=!0})}),{ssrBootStyles:at(()=>t.value?void 0:{transition:"none !important"}),isBooted:Ha(t)}}const tz=en({name:"VListGroupActivator",setup(t,e){let{slots:s}=e;return QA(),()=>s.default?.()}}),ez=gt({activeColor:String,baseColor:String,color:String,collapseIcon:{type:be,default:"$collapse"},disabled:Boolean,expandIcon:{type:be,default:"$expand"},rawId:[String,Number],prependIcon:be,appendIcon:be,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ue(),...xe()},"VListGroup"),Gp=Ut()({name:"VListGroup",props:ez(),setup(t,e){let{slots:s}=e;const{isOpen:a,open:n,id:r}=Q2(()=>t.value,()=>t.disabled,!0),o=G(()=>`v-list-group--id-${String(t.rawId??r.value)}`),u=W2(),{isBooted:l}=JA();function d(f){["INPUT","TEXTAREA"].includes(f.target?.tagName)||n(!a.value,f)}const c=G(()=>({onClick:d,class:"v-list-group__header",id:o.value})),b=G(()=>a.value?t.collapseIcon:t.expandIcon),p=G(()=>({VListItem:{activeColor:t.activeColor,baseColor:t.baseColor,color:t.color,prependIcon:t.prependIcon||t.subgroup&&b.value,appendIcon:t.appendIcon||!t.subgroup&&b.value,title:t.title,value:t.value}}));return re(()=>B(t.tag,{class:St(["v-list-group",{"v-list-group--prepend":u?.hasPrepend.value,"v-list-group--fluid":t.fluid,"v-list-group--subgroup":t.subgroup,"v-list-group--open":a.value},t.class]),style:Nt(t.style)},{default:()=>[s.activator&&B(ni,{defaults:p.value},{default:()=>[B(tz,null,{default:()=>[s.activator({props:c.value,isOpen:a.value})]})]}),B(ja,{transition:{component:V2},disabled:!l.value},{default:()=>[is(q("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[s.default?.()]),[[ur,a.value]])]})]})),{isOpen:a}}}),iz=gt({opacity:[Number,String],...ue(),...xe()},"VListItemSubtitle"),sz=Ut()({name:"VListItemSubtitle",props:iz(),setup(t,e){let{slots:s}=e;return re(()=>B(t.tag,{class:St(["v-list-item-subtitle",t.class]),style:Nt([{"--v-list-item-subtitle-opacity":t.opacity},t.style])},s)),{}}}),az=Xd("v-list-item-title"),nz=gt({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:be,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:be,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,onClick:ea(),onClickOnce:ea(),...da(),...ue(),...qs(),...sn(),...nn(),...ws(),...tl(),...xe(),...vi(),...Vs({variant:"text"})},"VListItem"),Ea=Ut()({name:"VListItem",directives:{vRipple:oa},props:nz(),emits:{click:t=>!0},setup(t,e){let{attrs:s,slots:a,emit:n}=e;const r=Jo(t,s),o=G(()=>t.value===void 0?r.href.value:t.value),{activate:u,isActivated:l,select:d,isOpen:c,isSelected:b,isIndeterminate:p,isGroupActivator:f,root:_,parent:h,openOnSelect:y,id:m}=Q2(o,()=>t.disabled,!1),v=W2(),g=G(()=>t.active!==!1&&(t.active||r.isActive?.value||(_.activatable.value?l.value:b.value))),k=at(()=>t.link!==!1&&r.isLink.value),w=G(()=>!!v&&(_.selectable.value||_.activatable.value||t.value!=null)),A=G(()=>!t.disabled&&t.link!==!1&&(t.link||r.isClickable.value||w.value)),z=G(()=>v?k.value?"link":w.value?"option":"listitem":void 0),S=G(()=>{if(w.value)return _.activatable.value?l.value:_.selectable.value?b.value:g.value}),I=at(()=>t.rounded||t.nav),E=at(()=>t.color??t.activeColor),D=at(()=>({color:g.value?E.value??t.baseColor:t.baseColor,variant:t.variant}));At(()=>r.isActive?.value,P=>{P&&M()}),Fo(()=>{r.isActive?.value&&Ce(()=>M())});function M(){h.value!=null&&_.open(h.value,!0),y(!0)}const{themeClasses:N}=ji(t),{borderClasses:V}=ca(t),{colorClasses:it,colorStyles:ct,variantClasses:ot}=vr(D),{densityClasses:tt}=ba(t),{dimensionStyles:_t}=an(t),{elevationClasses:vt}=rn(t),{roundedClasses:Tt}=Ss(I),lt=at(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),bt=at(()=>t.ripple!==void 0&&t.ripple&&v?.filterable?{keys:["Enter"]}:t.ripple),xt=G(()=>({isActive:g.value,select:d,isOpen:c.value,isSelected:b.value,isIndeterminate:p.value}));function ge(P){n("click",P),!["INPUT","TEXTAREA"].includes(P.target?.tagName)&&A.value&&(r.navigate?.(P),!f&&(_.activatable.value?u(!l.value,P):(_.selectable.value||t.value!=null&&!k.value)&&d(!b.value,P)))}function ae(P){const et=P.target;["INPUT","TEXTAREA"].includes(et.tagName)||(P.key==="Enter"||P.key===" "&&!v?.filterable)&&(P.preventDefault(),P.stopPropagation(),P.target.dispatchEvent(new MouseEvent("click",P)))}return re(()=>{const P=k.value?"a":t.tag,et=a.title||t.title!=null,Q=a.subtitle||t.subtitle!=null,rt=!!(t.appendAvatar||t.appendIcon),yt=!!(rt||a.append),C=!!(t.prependAvatar||t.prependIcon),x=!!(C||a.prepend);return v?.updateHasPrepend(x),t.activeColor&&Zf("active-color",["color","base-color"]),is(B(P,Ct(r.linkProps,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":t.disabled,"v-list-item--link":A.value,"v-list-item--nav":t.nav,"v-list-item--prepend":!x&&v?.hasPrepend.value,"v-list-item--slim":t.slim,[`${t.activeClass}`]:t.activeClass&&g.value},N.value,V.value,it.value,tt.value,vt.value,lt.value,Tt.value,ot.value,t.class],style:[ct.value,_t.value,t.style],tabindex:A.value?v?-2:0:void 0,"aria-selected":S.value,role:z.value,onClick:ge,onKeydown:A.value&&!k.value&&ae}),{default:()=>[fr(A.value||g.value,"v-list-item"),x&&q("div",{key:"prepend",class:"v-list-item__prepend"},[a.prepend?B(ni,{key:"prepend-defaults",disabled:!C,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon},VListItemAction:{start:!0}}},{default:()=>[a.prepend?.(xt.value)]}):q(pt,null,[t.prependAvatar&&B(Rs,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&B(te,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)]),q("div",{class:"v-list-item__spacer"},null)]),q("div",{class:"v-list-item__content","data-no-activator":""},[et&&B(az,{key:"title"},{default:()=>[a.title?.({title:t.title})??jt(t.title)]}),Q&&B(sz,{key:"subtitle"},{default:()=>[a.subtitle?.({subtitle:t.subtitle})??jt(t.subtitle)]}),a.default?.(xt.value)]),yt&&q("div",{key:"append",class:"v-list-item__append"},[a.append?B(ni,{key:"append-defaults",disabled:!rt,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon},VListItemAction:{end:!0}}},{default:()=>[a.append?.(xt.value)]}):q(pt,null,[t.appendIcon&&B(te,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&B(Rs,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)]),q("div",{class:"v-list-item__spacer"},null)])]}),[[oa,A.value&&bt.value]])}),{activate:u,isActivated:l,isGroupActivator:f,isSelected:b,list:v,select:d,root:_,id:m,link:r}}}),rz=gt({color:String,inset:Boolean,sticky:Boolean,title:String,...ue(),...xe()},"VListSubheader"),oz=Ut()({name:"VListSubheader",props:rz(),setup(t,e){let{slots:s}=e;const{textColorClasses:a,textColorStyles:n}=Qa(()=>t.color);return re(()=>{const r=!!(s.default||t.title);return B(t.tag,{class:St(["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},a.value,t.class]),style:Nt([{textColorStyles:n},t.style])},{default:()=>[r&&q("div",{class:"v-list-subheader__text"},[s.default?.()??t.title])]})}),{}}}),lz=gt({items:Array,returnObject:Boolean},"VListChildren"),J2=Ut()({name:"VListChildren",props:lz(),setup(t,e){let{slots:s}=e;return H2(),()=>s.default?.()??t.items?.map(a=>{let{children:n,props:r,type:o,raw:u}=a;if(o==="divider")return s.divider?.({props:r})??B(G2,r,null);if(o==="subheader")return s.subheader?.({props:r})??B(oz,r,null);const l={subtitle:s.subtitle?c=>s.subtitle?.({...c,item:u}):void 0,prepend:s.prepend?c=>s.prepend?.({...c,item:u}):void 0,append:s.append?c=>s.append?.({...c,item:u}):void 0,title:s.title?c=>s.title?.({...c,item:u}):void 0},d=Gp.filterProps(r);return n?B(Gp,Ct(d,{value:t.returnObject?u:r?.value,rawId:r?.value}),{activator:c=>{let{props:b}=c;const p=Ct(r,b,{value:t.returnObject?u:r.value});return s.header?s.header({props:p}):B(Ea,p,l)},default:()=>B(J2,{items:n,returnObject:t.returnObject},s)}):s.item?s.item({props:r}):B(Ea,Ct(r,{value:t.returnObject?u:r.value}),l)})}}),uz=gt({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},itemType:{type:[Boolean,String,Array,Function],default:"type"},returnObject:Boolean,valueComparator:Function},"list-items"),dz=new Set(["item","divider","subheader"]);function Ua(t,e){const s=Xi(e,t.itemTitle,e),a=Xi(e,t.itemValue,s),n=Xi(e,t.itemChildren),r=t.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?cr(e,["children"]):e:void 0:Xi(e,t.itemProps);let o=Xi(e,t.itemType,"item");dz.has(o)||(o="item");const u={title:s,value:a,...r};return{type:o,title:String(u.title??""),value:u.value,props:u,children:o==="item"&&Array.isArray(n)?t3(t,n):void 0,raw:e}}Ua.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function t3(t,e){const s=Hd(t,Ua.neededProps),a=[];for(const n of e)a.push(Ua(s,n));return a}function GC(t){const e=G(()=>t3(t,t.items)),s=G(()=>e.value.some(u=>u.value===null)),a=It(new Map),n=It([]);ye(()=>{const u=e.value,l=new Map,d=[];for(let c=0;c<u.length;c++){const b=u[c];if(ra(b.value)||b.value===null){let p=l.get(b.value);p||(p=[],l.set(b.value,p)),p.push(b)}else d.push(b)}a.value=l,n.value=d});function r(u){const l=a.value,d=e.value,c=n.value,b=s.value,p=t.returnObject,f=!!t.valueComparator,_=t.valueComparator||Is,h=Hd(t,Ua.neededProps),y=[];t:for(const m of u){if(!b&&m===null)continue;if(p&&typeof m=="string"){y.push(Ua(h,m));continue}const v=l.get(m);if(f||!v){for(const g of f?d:c)if(_(m,g.value)){y.push(g);continue t}y.push(Ua(h,m));continue}y.push(...v)}return y}function o(u){return t.returnObject?u.map(l=>{let{raw:d}=l;return d}):u.map(l=>{let{value:d}=l;return d})}return{items:e,transformIn:r,transformOut:o}}const cz=new Set(["item","divider","subheader"]);function bz(t,e){const s=ra(e)?e:Xi(e,t.itemTitle),a=ra(e)?e:Xi(e,t.itemValue,void 0),n=Xi(e,t.itemChildren),r=t.itemProps===!0?cr(e,["children"]):Xi(e,t.itemProps);let o=Xi(e,t.itemType,"item");cz.has(o)||(o="item");const u={title:s,value:a,...r};return{type:o,title:u.title,value:u.value,props:u,children:o==="item"&&n?e3(t,n):void 0,raw:e}}function e3(t,e){const s=[];for(const a of e)s.push(bz(t,a));return s}function pz(t){return{items:G(()=>e3(t,t.items))}}const mz=gt({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:be,collapseIcon:be,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,"onClick:open":ea(),"onClick:select":ea(),"onUpdate:opened":ea(),...XA({selectStrategy:"single-leaf",openStrategy:"list"}),...da(),...ue(),...qs(),...sn(),...nn(),...uz(),...ws(),...xe(),...vi(),...Vs({variant:"text"})},"VList"),Fu=Ut()({name:"VList",props:mz(),emits:{"update:selected":t=>!0,"update:activated":t=>!0,"update:opened":t=>!0,"click:open":t=>!0,"click:activate":t=>!0,"click:select":t=>!0},setup(t,e){let{slots:s}=e;const{items:a}=pz(t),{themeClasses:n}=ji(t),{backgroundColorClasses:r,backgroundColorStyles:o}=Ga(()=>t.bgColor),{borderClasses:u}=ca(t),{densityClasses:l}=ba(t),{dimensionStyles:d}=an(t),{elevationClasses:c}=rn(t),{roundedClasses:b}=Ss(t),{children:p,open:f,parents:_,select:h,getPath:y}=ZA(t),m=at(()=>t.lines?`v-list--${t.lines}-line`:void 0),v=at(()=>t.activeColor),g=at(()=>t.baseColor),k=at(()=>t.color),w=at(()=>t.selectable||t.activatable);H2({filterable:t.filterable}),br({VListGroup:{activeColor:v,baseColor:g,color:k,expandIcon:at(()=>t.expandIcon),collapseIcon:at(()=>t.collapseIcon)},VListItem:{activeClass:at(()=>t.activeClass),activeColor:v,baseColor:g,color:k,density:at(()=>t.density),disabled:at(()=>t.disabled),lines:at(()=>t.lines),nav:at(()=>t.nav),slim:at(()=>t.slim),variant:at(()=>t.variant)}});const A=It(!1),z=st();function S(V){A.value=!0}function I(V){A.value=!1}function E(V){!A.value&&!(V.relatedTarget&&z.value?.contains(V.relatedTarget))&&N()}function D(V){const it=V.target;if(!(!z.value||it.tagName==="INPUT"&&["Home","End"].includes(V.key)||it.tagName==="TEXTAREA")){if(V.key==="ArrowDown")N("next");else if(V.key==="ArrowUp")N("prev");else if(V.key==="Home")N("first");else if(V.key==="End")N("last");else return;V.preventDefault()}}function M(V){A.value=!0}function N(V){if(z.value)return Dn(z.value,V)}return re(()=>B(t.tag,{ref:z,class:St(["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav,"v-list--slim":t.slim},n.value,r.value,u.value,l.value,c.value,m.value,b.value,t.class]),style:Nt([o.value,d.value,t.style]),tabindex:t.disabled?-1:0,role:w.value?"listbox":"list","aria-activedescendant":void 0,onFocusin:S,onFocusout:I,onFocus:E,onKeydown:D,onMousedown:M},{default:()=>[B(J2,{items:a.value,returnObject:t.returnObject},s)]})),{open:f,select:h,focus:N,children:p,parents:_,getPath:y}}});function Cl(t,e){return{x:t.x+e.x,y:t.y+e.y}}function fz(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Up(t,e){if(t.side==="top"||t.side==="bottom"){const{side:s,align:a}=t,n=a==="left"?0:a==="center"?e.width/2:a==="right"?e.width:a,r=s==="top"?0:s==="bottom"?e.height:s;return Cl({x:n,y:r},e)}else if(t.side==="left"||t.side==="right"){const{side:s,align:a}=t,n=s==="left"?0:s==="right"?e.width:s,r=a==="top"?0:a==="center"?e.height/2:a==="bottom"?e.height:a;return Cl({x:n,y:r},e)}return Cl({x:e.width/2,y:e.height/2},e)}const i3={static:gz,connected:yz},vz=gt({locationStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in i3},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array],stickToTarget:Boolean},"VOverlay-location-strategies");function _z(t,e){const s=st({}),a=st();ie&&_r(()=>!!(e.isActive.value&&t.locationStrategy),u=>{At(()=>t.locationStrategy,u),ui(()=>{window.removeEventListener("resize",n),visualViewport?.removeEventListener("resize",r),visualViewport?.removeEventListener("scroll",o),a.value=void 0}),window.addEventListener("resize",n,{passive:!0}),visualViewport?.addEventListener("resize",r,{passive:!0}),visualViewport?.addEventListener("scroll",o,{passive:!0}),typeof t.locationStrategy=="function"?a.value=t.locationStrategy(e,t,s)?.updateLocation:a.value=i3[t.locationStrategy](e,t,s)?.updateLocation});function n(u){a.value?.(u)}function r(u){a.value?.(u)}function o(u){a.value?.(u)}return{contentStyles:s,updateLocation:a}}function gz(){}function hz(t,e){const s=d2(t);return e?s.x+=parseFloat(t.style.right||0):s.x-=parseFloat(t.style.left||0),s.y-=parseFloat(t.style.top||0),s}function yz(t,e,s){(Array.isArray(t.target.value)||FS(t.target.value))&&Object.assign(s.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:n,preferredOrigin:r}=Kd(()=>{const m=Iu(e.location,t.isRtl.value),v=e.origin==="overlap"?m:e.origin==="auto"?zl(m):Iu(e.origin,t.isRtl.value);return m.side===v.side&&m.align===Tl(v).align?{preferredAnchor:bp(m),preferredOrigin:bp(v)}:{preferredAnchor:m,preferredOrigin:v}}),[o,u,l,d]=["minWidth","minHeight","maxWidth","maxHeight"].map(m=>G(()=>{const v=parseFloat(e[m]);return isNaN(v)?1/0:v})),c=G(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const m=e.offset.split(" ").map(parseFloat);return m.length<2&&m.push(0),m}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let b=!1,p=-1;const f=new tS(4),_=new ResizeObserver(()=>{if(!b)return;if(requestAnimationFrame(v=>{v!==p&&f.clear(),requestAnimationFrame(g=>{p=g})}),f.isFull){const v=f.values();if(Is(v.at(-1),v.at(-3))&&!Is(v.at(-1),v.at(-2)))return}const m=y();m&&f.push(m.flipped)});let h=new zi({x:0,y:0,width:0,height:0});At(t.target,(m,v)=>{v&&!Array.isArray(v)&&_.unobserve(v),Array.isArray(m)?Is(m,v)||y():m&&_.observe(m)},{immediate:!0}),At(t.contentEl,(m,v)=>{v&&_.unobserve(v),m&&_.observe(m)},{immediate:!0}),ui(()=>{_.disconnect()});function y(){if(b=!1,requestAnimationFrame(()=>b=!0),!t.target.value||!t.contentEl.value)return;(Array.isArray(t.target.value)||t.target.value.offsetParent||t.target.value.getClientRects().length)&&(h=u2(t.target.value));const m=hz(t.contentEl.value,t.isRtl.value),v=go(t.contentEl.value),g=e.stickToTarget?0:12;v.length||(v.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(m.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),m.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const k=v.reduce((N,V)=>{const it=cS(V);return N?new zi({x:Math.max(N.left,it.left),y:Math.max(N.top,it.top),width:Math.min(N.right,it.right)-Math.max(N.left,it.left),height:Math.min(N.bottom,it.bottom)-Math.max(N.top,it.top)}):it},void 0);e.stickToTarget?(k.x+=Math.min(0,h.x),k.y+=Math.min(0,h.y),k.width=Math.max(k.width,h.x+h.width),k.height=Math.max(k.height,h.y+h.height)):(k.x+=g,k.y+=g,k.width-=g*2,k.height-=g*2);let w={anchor:n.value,origin:r.value};function A(N){const V=new zi(m),it=Up(N.anchor,h),ct=Up(N.origin,V);let{x:ot,y:tt}=fz(it,ct);switch(N.anchor.side){case"top":tt-=c.value[0];break;case"bottom":tt+=c.value[0];break;case"left":ot-=c.value[0];break;case"right":ot+=c.value[0];break}switch(N.anchor.align){case"top":tt-=c.value[1];break;case"bottom":tt+=c.value[1];break;case"left":ot-=c.value[1];break;case"right":ot+=c.value[1];break}return V.x+=ot,V.y+=tt,V.width=Math.min(V.width,l.value),V.height=Math.min(V.height,d.value),{overflows:mp(V,k),x:ot,y:tt}}let z=0,S=0;const I={x:0,y:0},E={x:!1,y:!1};let D=-1;for(;!(D++>10);){const{x:N,y:V,overflows:it}=A(w);z+=N,S+=V,m.x+=N,m.y+=V;{const ct=pp(w.anchor),ot=it.x.before||it.x.after,tt=it.y.before||it.y.after;let _t=!1;if(["x","y"].forEach(vt=>{if(vt==="x"&&ot&&!E.x||vt==="y"&&tt&&!E.y){const Tt={anchor:{...w.anchor},origin:{...w.origin}},lt=vt==="x"?ct==="y"?Tl:zl:ct==="y"?zl:Tl;Tt.anchor=lt(Tt.anchor),Tt.origin=lt(Tt.origin);const{overflows:bt}=A(Tt);(bt[vt].before<=it[vt].before&&bt[vt].after<=it[vt].after||bt[vt].before+bt[vt].after<(it[vt].before+it[vt].after)/2)&&(w=Tt,_t=E[vt]=!0)}}),_t)continue}it.x.before&&(z+=it.x.before,m.x+=it.x.before),it.x.after&&(z-=it.x.after,m.x-=it.x.after),it.y.before&&(S+=it.y.before,m.y+=it.y.before),it.y.after&&(S-=it.y.after,m.y-=it.y.after);{const ct=mp(m,k);I.x=k.width-ct.x.before-ct.x.after,I.y=k.height-ct.y.before-ct.y.after,z+=ct.x.before,m.x+=ct.x.before,S+=ct.y.before,m.y+=ct.y.before}break}const M=pp(w.anchor);return Object.assign(s.value,{"--v-overlay-anchor-origin":`${w.anchor.side} ${w.anchor.align}`,transformOrigin:`${w.origin.side} ${w.origin.align}`,top:Bt(Ml(S)),left:t.isRtl.value?void 0:Bt(Ml(z)),right:t.isRtl.value?Bt(Ml(-z)):void 0,minWidth:Bt(M==="y"?Math.min(o.value,h.width):o.value),maxWidth:Bt(qp(gs(I.x,o.value===1/0?0:o.value,l.value))),maxHeight:Bt(qp(gs(I.y,u.value===1/0?0:u.value,d.value)))}),{available:I,contentBox:m,flipped:E}}return At(()=>[n.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>y()),Ce(()=>{const m=y();if(!m)return;const{available:v,contentBox:g}=m;g.height>v.y&&requestAnimationFrame(()=>{y(),requestAnimationFrame(()=>{y()})})}),{updateLocation:y}}function Ml(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function qp(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let Gu=!0;const So=[];function kz(t){!Gu||So.length?(So.push(t),Uu()):(Gu=!1,t(),Uu())}let Vp=-1;function Uu(){cancelAnimationFrame(Vp),Vp=requestAnimationFrame(()=>{const t=So.shift();t&&t(),So.length?Uu():Gu=!0})}const s3={none:null,close:Az,block:zz,reposition:Tz},wz=gt({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in s3}},"VOverlay-scroll-strategies");function Sz(t,e){if(!ie)return;let s;ye(async()=>{s?.stop(),e.isActive.value&&t.scrollStrategy&&(s=Va(),await new Promise(a=>setTimeout(a)),s.active&&s.run(()=>{typeof t.scrollStrategy=="function"?t.scrollStrategy(e,t,s):s3[t.scrollStrategy]?.(e,t,s)}))}),ui(()=>{s?.stop()})}function Az(t){function e(s){t.isActive.value=!1}a3(rc(t.target.value,t.contentEl.value),e)}function zz(t,e){const s=t.root.value?.offsetParent,a=rc(t.target.value,t.contentEl.value),n=[...new Set([...go(a,e.contained?s:void 0),...go(t.contentEl.value,e.contained?s:void 0)])].filter(u=>!u.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,o=(u=>Zd(u)&&u)(s||document.documentElement);o&&t.root.value.classList.add("v-overlay--scroll-blocked"),n.forEach((u,l)=>{u.style.setProperty("--v-body-scroll-x",Bt(-u.scrollLeft)),u.style.setProperty("--v-body-scroll-y",Bt(-u.scrollTop)),u!==document.documentElement&&u.style.setProperty("--v-scrollbar-offset",Bt(r)),u.classList.add("v-overlay-scroll-blocked")}),ui(()=>{n.forEach((u,l)=>{const d=parseFloat(u.style.getPropertyValue("--v-body-scroll-x")),c=parseFloat(u.style.getPropertyValue("--v-body-scroll-y")),b=u.style.scrollBehavior;u.style.scrollBehavior="auto",u.style.removeProperty("--v-body-scroll-x"),u.style.removeProperty("--v-body-scroll-y"),u.style.removeProperty("--v-scrollbar-offset"),u.classList.remove("v-overlay-scroll-blocked"),u.scrollLeft=-d,u.scrollTop=-c,u.style.scrollBehavior=b}),o&&t.root.value.classList.remove("v-overlay--scroll-blocked")})}function Tz(t,e,s){let a=!1,n=-1,r=-1;function o(u){kz(()=>{const l=performance.now();t.updateLocation.value?.(u),a=(performance.now()-l)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{s.run(()=>{a3(rc(t.target.value,t.contentEl.value),u=>{a?(cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>{o(u)})})):o(u)})})}),ui(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(n)})}function rc(t,e){return Array.isArray(t)?document.elementsFromPoint(...t).find(s=>!e?.contains(s)):t??e}function a3(t,e){const s=[document,...go(t)];s.forEach(a=>{a.addEventListener("scroll",e,{passive:!0})}),ui(()=>{s.forEach(a=>{a.removeEventListener("scroll",e)})})}const qu=Symbol.for("vuetify:v-menu"),Pz=gt({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function jz(t,e){let s=()=>{};function a(o,u){s?.();const l=o?t.openDelay:t.closeDelay,d=Math.max(u?.minDelay??0,Number(l??0));return new Promise(c=>{s=sS(d,()=>{e?.(o),c(o)})})}function n(){return a(!0)}function r(o){return a(!1,o)}return{clearDelay:s,runOpenDelay:n,runCloseDelay:r}}const Ez=gt({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Pz()},"VOverlay-activator");function Cz(t,e){let{isActive:s,isTop:a,contentEl:n}=e;const r=Ue("useActivator"),o=st();let u=!1,l=!1,d=!0;const c=G(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),b=G(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!c.value),{runOpenDelay:p,runCloseDelay:f}=jz(t,S=>{S===(t.openOnHover&&u||c.value&&l)&&!(t.openOnHover&&s.value&&!a.value)&&(s.value!==S&&(d=!0),s.value=S)}),_=st(),h={onClick:S=>{S.stopPropagation(),o.value=S.currentTarget||S.target,s.value||(_.value=[S.clientX,S.clientY]),s.value=!s.value},onMouseenter:S=>{u=!0,o.value=S.currentTarget||S.target,p()},onMouseleave:S=>{u=!1,f()},onFocus:S=>{eS(S.target,":focus-visible")!==!1&&(l=!0,S.stopPropagation(),o.value=S.currentTarget||S.target,p())},onBlur:S=>{l=!1,S.stopPropagation(),f({minDelay:1})}},y=G(()=>{const S={};return b.value&&(S.onClick=h.onClick),t.openOnHover&&(S.onMouseenter=h.onMouseenter,S.onMouseleave=h.onMouseleave),c.value&&(S.onFocus=h.onFocus,S.onBlur=h.onBlur),S}),m=G(()=>{const S={};if(t.openOnHover&&(S.onMouseenter=()=>{u=!0,p()},S.onMouseleave=()=>{u=!1,f()}),c.value&&(S.onFocusin=I=>{I.target.matches(":focus-visible")&&(l=!0,p())},S.onFocusout=()=>{l=!1,f({minDelay:1})}),t.closeOnContentClick){const I=Qt(qu,null);S.onClick=()=>{s.value=!1,I?.closeParents()}}return S}),v=G(()=>{const S={};return t.openOnHover&&(S.onMouseenter=()=>{d&&(u=!0,d=!1,p())},S.onMouseleave=()=>{u=!1,f()}),S});At(a,S=>{S&&(t.openOnHover&&!u&&(!c.value||!l)||c.value&&!l&&(!t.openOnHover||!u))&&!n.value?.contains(document.activeElement)&&(s.value=!1)}),At(s,S=>{S||setTimeout(()=>{_.value=void 0})},{flush:"post"});const g=xu();ye(()=>{g.value&&Ce(()=>{o.value=g.el})});const k=xu(),w=G(()=>t.target==="cursor"&&_.value?_.value:k.value?k.el:n3(t.target,r)||o.value),A=G(()=>Array.isArray(w.value)?void 0:w.value);let z;return At(()=>!!t.activator,S=>{S&&ie?(z=Va(),z.run(()=>{Mz(t,r,{activatorEl:o,activatorEvents:y})})):z&&z.stop()},{flush:"post",immediate:!0}),ui(()=>{z?.stop()}),{activatorEl:o,activatorRef:g,target:w,targetEl:A,targetRef:k,activatorEvents:y,contentEvents:m,scrimEvents:v}}function Mz(t,e,s){let{activatorEl:a,activatorEvents:n}=s;At(()=>t.activator,(l,d)=>{if(d&&l!==d){const c=u(d);c&&o(c)}l&&Ce(()=>r())},{immediate:!0}),At(()=>t.activatorProps,()=>{r()}),ui(()=>{o()});function r(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;l&&bS(l,Ct(n.value,d))}function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;l&&pS(l,Ct(n.value,d))}function u(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.activator;const d=n3(l,e);return a.value=d?.nodeType===Node.ELEMENT_NODE?d:void 0,a.value}}function n3(t,e){if(!t)return;let s;if(t==="parent"){let a=e?.proxy?.$el?.parentNode;for(;a?.hasAttribute("data-no-activator");)a=a.parentNode;s=a}else typeof t=="string"?s=document.querySelector(t):"$el"in t?s=t.$el:s=t;return s}const UC=["sm","md","lg","xl","xxl"],Vu=Symbol.for("vuetify:display"),Hp={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},xz=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hp;return $e(Hp,t)};function Wp(t){return ie&&!t?window.innerWidth:typeof t=="object"&&t.clientWidth||0}function Kp(t){return ie&&!t?window.innerHeight:typeof t=="object"&&t.clientHeight||0}function $p(t){const e=ie&&!t?window.navigator.userAgent:"ssr";function s(_){return!!e.match(_)}const a=s(/android/i),n=s(/iphone|ipad|ipod/i),r=s(/cordova/i),o=s(/electron/i),u=s(/chrome/i),l=s(/edge/i),d=s(/firefox/i),c=s(/opera/i),b=s(/win/i),p=s(/mac/i),f=s(/linux/i);return{android:a,ios:n,cordova:r,electron:o,chrome:u,edge:l,firefox:d,opera:c,win:b,mac:p,linux:f,touch:Yw,ssr:e==="ssr"}}function Iz(t,e){const{thresholds:s,mobileBreakpoint:a}=xz(t),n=It(Kp(e)),r=It($p(e)),o=we({}),u=It(Wp(e));function l(){n.value=Kp(),u.value=Wp()}function d(){l(),r.value=$p()}return ye(()=>{const c=u.value<s.sm,b=u.value<s.md&&!c,p=u.value<s.lg&&!(b||c),f=u.value<s.xl&&!(p||b||c),_=u.value<s.xxl&&!(f||p||b||c),h=u.value>=s.xxl,y=c?"xs":b?"sm":p?"md":f?"lg":_?"xl":"xxl",m=typeof a=="number"?a:s[a],v=u.value<m;o.xs=c,o.sm=b,o.md=p,o.lg=f,o.xl=_,o.xxl=h,o.smAndUp=!c,o.mdAndUp=!(c||b),o.lgAndUp=!(c||b||p),o.xlAndUp=!(c||b||p||f),o.smAndDown=!(p||f||_||h),o.mdAndDown=!(f||_||h),o.lgAndDown=!(_||h),o.xlAndDown=!h,o.name=y,o.height=n.value,o.width=u.value,o.mobile=v,o.mobileBreakpoint=a,o.platform=r.value,o.thresholds=s}),ie&&(window.addEventListener("resize",l,{passive:!0}),ui(()=>{window.removeEventListener("resize",l)},!0)),{...ud(o),update:d,ssr:!!e}}const Dz=gt({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function r3(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Us();const s=Qt(Vu);if(!s)throw new Error("Could not find Vuetify display injection");const a=G(()=>t.mobile?!0:typeof t.mobileBreakpoint=="number"?s.width.value<t.mobileBreakpoint:t.mobileBreakpoint?s.width.value<s.thresholds.value[t.mobileBreakpoint]:t.mobile===null?s.mobile.value:!1),n=at(()=>e?{[`${e}--mobile`]:a.value}:{});return{...s,displayClasses:n,mobile:a}}function Lz(){if(!ie)return It(!1);const{ssr:t}=r3();if(t){const e=It(!1);return Xe(()=>{e.value=!0}),e}else return It(!0)}const Rz=gt({eager:Boolean},"lazy");function Oz(t,e){const s=It(!1),a=at(()=>s.value||t.eager||e.value);At(e,()=>s.value=!0);function n(){t.eager||(s.value=!1)}return{isBooted:s,hasContent:a,onAfterLeave:n}}function oc(){const e=Ue("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Yp=Symbol.for("vuetify:stack"),vn=we([]);function Nz(t,e,s){const a=Ue("useStack"),n=!s,r=Qt(Yp,void 0),o=we({activeChildren:new Set});Fe(Yp,o);const u=It(Number(fi(e)));_r(t,()=>{const c=vn.at(-1)?.[1];u.value=c?c+10:Number(fi(e)),n&&vn.push([a.uid,u.value]),r?.activeChildren.add(a.uid),ui(()=>{if(n){const b=wt(vn).findIndex(p=>p[0]===a.uid);vn.splice(b,1)}r?.activeChildren.delete(a.uid)})});const l=It(!0);n&&ye(()=>{const c=vn.at(-1)?.[0]===a.uid;setTimeout(()=>l.value=c)});const d=at(()=>!o.activeChildren.size);return{globalTop:Ha(l),localTop:d,stackStyles:at(()=>({zIndex:u.value}))}}function Bz(t){return{teleportTarget:G(()=>{const s=t();if(s===!0||!ie)return;const a=s===!1?document.body:typeof s=="string"?document.querySelector(s):s;if(a==null)return;let n=[...a.children].find(r=>r.matches(".v-overlay-container"));return n||(n=document.createElement("div"),n.className="v-overlay-container",a.appendChild(n)),n})}}function Fz(){return!0}function o3(t,e,s){if(!t||l3(t,s)===!1)return!1;const a=v2(e);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===t.target)return!1;const n=(typeof s.value=="object"&&s.value.include||(()=>[]))();return n.push(e),!n.some(r=>r?.contains(t.target))}function l3(t,e){return(typeof e.value=="object"&&e.value.closeConditional||Fz)(t)}function Gz(t,e,s){const a=typeof s.value=="function"?s.value:s.value.handler;t.shadowTarget=t.target,e._clickOutside.lastMousedownWasOutside&&o3(t,e,s)&&setTimeout(()=>{l3(t,s)&&a&&a(t)},0)}function Xp(t,e){const s=v2(t);e(document),typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&e(s)}const Zp={mounted(t,e){const s=n=>Gz(n,t,e),a=n=>{t._clickOutside.lastMousedownWasOutside=o3(n,t,e)};Xp(t,n=>{n.addEventListener("click",s,!0),n.addEventListener("mousedown",a,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:s,onMousedown:a}},beforeUnmount(t,e){t._clickOutside&&(Xp(t,s=>{if(!s||!t._clickOutside?.[e.instance.$.uid])return;const{onClick:a,onMousedown:n}=t._clickOutside[e.instance.$.uid];s.removeEventListener("click",a,!0),s.removeEventListener("mousedown",n,!0)}),delete t._clickOutside[e.instance.$.uid])}};function Uz(t){const{modelValue:e,color:s,...a}=t;return B(aa,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&q("div",Ct({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},a),null)]})}const lc=gt({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Ez(),...ue(),...sn(),...Rz(),...vz(),...wz(),...vi(),...S2()},"VOverlay"),Ao=Ut()({name:"VOverlay",directives:{vClickOutside:Zp},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...lc()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,keydown:t=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(t,e){let{slots:s,attrs:a,emit:n}=e;const r=Ue("VOverlay"),o=st(),u=st(),l=st(),d=es(t,"modelValue"),c=G({get:()=>d.value,set:P=>{P&&t.disabled||(d.value=P)}}),{themeClasses:b}=ji(t),{rtlClasses:p,isRtl:f}=on(),{hasContent:_,onAfterLeave:h}=Oz(t,c),y=Ga(()=>typeof t.scrim=="string"?t.scrim:null),{globalTop:m,localTop:v,stackStyles:g}=Nz(c,()=>t.zIndex,t._disableGlobalStack),{activatorEl:k,activatorRef:w,target:A,targetEl:z,targetRef:S,activatorEvents:I,contentEvents:E,scrimEvents:D}=Cz(t,{isActive:c,isTop:v,contentEl:l}),{teleportTarget:M}=Bz(()=>{const P=t.attach||t.contained;if(P)return P;const et=k?.value?.getRootNode()||r.proxy?.$el?.getRootNode();return et instanceof ShadowRoot?et:!1}),{dimensionStyles:N}=an(t),V=Lz(),{scopeId:it}=oc();At(()=>t.disabled,P=>{P&&(c.value=!1)});const{contentStyles:ct,updateLocation:ot}=_z(t,{isRtl:f,contentEl:l,target:A,isActive:c});Sz(t,{root:o,contentEl:l,targetEl:z,target:A,isActive:c,updateLocation:ot});function tt(P){n("click:outside",P),t.persistent?xt():c.value=!1}function _t(P){return c.value&&m.value&&(!t.scrim||P.target===u.value||P instanceof MouseEvent&&P.shadowTarget===u.value)}ie&&At(c,P=>{P?window.addEventListener("keydown",vt):window.removeEventListener("keydown",vt)},{immediate:!0}),Ge(()=>{ie&&window.removeEventListener("keydown",vt)});function vt(P){P.key==="Escape"&&m.value&&(l.value?.contains(document.activeElement)||n("keydown",P),t.persistent?xt():(c.value=!1,l.value?.contains(document.activeElement)&&k.value?.focus()))}function Tt(P){P.key==="Escape"&&!m.value||n("keydown",P)}const lt=CA();_r(()=>t.closeOnBack,()=>{MA(lt,P=>{m.value&&c.value?(P(!1),t.persistent?xt():c.value=!1):P()})});const bt=st();At(()=>c.value&&(t.absolute||t.contained)&&M.value==null,P=>{if(P){const et=NS(o.value);et&&et!==document.scrollingElement&&(bt.value=et.scrollTop)}});function xt(){t.noClickAnimation||l.value&&Zs(l.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Lu})}function ge(){n("afterEnter")}function ae(){h(),n("afterLeave")}return re(()=>q(pt,null,[s.activator?.({isActive:c.value,targetRef:S,props:Ct({ref:w},I.value,t.activatorProps)}),V.value&&_.value&&B(qv,{disabled:!M.value,to:M.value},{default:()=>[q("div",Ct({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":c.value,"v-overlay--contained":t.contained},b.value,p.value,t.class],style:[g.value,{"--v-overlay-opacity":t.opacity,top:Bt(bt.value)},t.style],ref:o,onKeydown:Tt},it,a),[B(Uz,Ct({color:y,modelValue:c.value&&!!t.scrim,ref:u},D.value),null),B(ja,{appear:!0,persisted:!0,transition:t.transition,target:A.value,onAfterEnter:ge,onAfterLeave:ae},{default:()=>[is(q("div",Ct({ref:l,class:["v-overlay__content",t.contentClass],style:[N.value,ct.value]},E.value,t.contentProps),[s.default?.({isActive:c})]),[[ur,c.value],[Zp,{handler:tt,closeConditional:_t,include:()=>[k.value]}]])]})])]})])),{activatorEl:k,scrimEl:u,target:A,animateClick:xt,contentEl:l,rootEl:o,globalTop:m,localTop:v,updateLocation:ot}}}),xl=Symbol("Forwarded refs");function Il(t,e){let s=t;for(;s;){const a=Reflect.getOwnPropertyDescriptor(s,e);if(a)return a;s=Object.getPrototypeOf(s)}}function u3(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),a=1;a<e;a++)s[a-1]=arguments[a];return t[xl]=s,new Proxy(t,{get(n,r){if(Reflect.has(n,r))return Reflect.get(n,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const o of s)if(o.value&&Reflect.has(o.value,r)){const u=Reflect.get(o.value,r);return typeof u=="function"?u.bind(o.value):u}}},has(n,r){if(Reflect.has(n,r))return!0;if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const o of s)if(o.value&&Reflect.has(o.value,r))return!0;return!1},set(n,r,o){if(Reflect.has(n,r))return Reflect.set(n,r,o);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const u of s)if(u.value&&Reflect.has(u.value,r))return Reflect.set(u.value,r,o);return!1},getOwnPropertyDescriptor(n,r){const o=Reflect.getOwnPropertyDescriptor(n,r);if(o)return o;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const u of s){if(!u.value)continue;const l=Il(u.value,r)??("_"in u.value?Il(u.value._?.setupState,r):void 0);if(l)return l}for(const u of s){const l=u.value&&u.value[xl];if(!l)continue;const d=l.slice();for(;d.length;){const c=d.shift(),b=Il(c.value,r);if(b)return b;const p=c.value&&c.value[xl];p&&d.push(...p)}}}}})}const qz=gt({id:String,submenu:Boolean,disableInitialFocus:Boolean,...cr(lc({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:GA}}),["absolute"])},"VMenu"),Hu=Ut()({name:"VMenu",props:qz(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const a=es(t,"modelValue"),{scopeId:n}=oc(),{isRtl:r}=on(),o=bd(),u=at(()=>t.id||`v-menu-${o}`),l=st(),d=Qt(qu,null),c=It(new Set);Fe(qu,{register(){c.value.add(o)},unregister(){c.value.delete(o)},closeParents(g){setTimeout(()=>{!c.value.size&&!t.persistent&&(g==null||l.value?.contentEl&&!aS(g,l.value.contentEl))&&(a.value=!1,d?.closeParents())},40)}}),Ge(()=>{d?.unregister(),document.removeEventListener("focusin",_)}),cm(()=>a.value=!1);let b=!1,p=-1;async function f(){b=!0,p=window.setTimeout(()=>{b=!1},100)}async function _(g){const k=g.relatedTarget,w=g.target;await Ce(),a.value&&k!==w&&l.value?.rootEl&&l.value?.contentEl&&l.value?.localTop&&![document,l.value.rootEl].includes(w)&&!l.value.rootEl.contains(w)&&(b?!t.openOnHover&&!l.value.activatorEl?.contains(w)&&(a.value=!1):(vo(l.value.contentEl)[0]?.focus(),document.removeEventListener("pointerdown",f)))}At(a,g=>{g?(d?.register(),ie&&!t.disableInitialFocus&&(document.addEventListener("pointerdown",f),document.addEventListener("focusin",_,{once:!0}))):(d?.unregister(),ie&&(clearTimeout(p),document.removeEventListener("pointerdown",f),document.removeEventListener("focusin",_)))},{immediate:!0});function h(g){d?.closeParents(g)}function y(g){if(!t.disabled)if(g.key==="Tab"||g.key==="Enter"&&!t.closeOnContentClick){if(g.key==="Enter"&&(g.target instanceof HTMLTextAreaElement||g.target instanceof HTMLInputElement&&g.target.closest("form")))return;g.key==="Enter"&&g.preventDefault(),o2(vo(l.value?.contentEl,!1),g.shiftKey?"prev":"next",w=>w.tabIndex>=0)||(a.value=!1,l.value?.activatorEl?.focus())}else t.submenu&&g.key===(r.value?"ArrowRight":"ArrowLeft")&&(a.value=!1,l.value?.activatorEl?.focus())}function m(g){if(t.disabled)return;const k=l.value?.contentEl;k&&a.value?g.key==="ArrowDown"?(g.preventDefault(),g.stopImmediatePropagation(),Dn(k,"next")):g.key==="ArrowUp"?(g.preventDefault(),g.stopImmediatePropagation(),Dn(k,"prev")):t.submenu&&(g.key===(r.value?"ArrowRight":"ArrowLeft")?a.value=!1:g.key===(r.value?"ArrowLeft":"ArrowRight")&&(g.preventDefault(),Dn(k,"first"))):(t.submenu?g.key===(r.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(g.key))&&(a.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>m(g))))}const v=G(()=>Ct({"aria-haspopup":"menu","aria-expanded":String(a.value),"aria-controls":u.value,"aria-owns":u.value,onKeydown:m},t.activatorProps));return re(()=>{const g=Ao.filterProps(t);return B(Ao,Ct({ref:l,id:u.value,class:["v-menu",t.class],style:t.style},g,{modelValue:a.value,"onUpdate:modelValue":k=>a.value=k,absolute:!0,activatorProps:v.value,location:t.location??(t.submenu?"end":"bottom"),"onClick:outside":h,onKeydown:y},n),{activator:s.activator,default:function(){for(var k=arguments.length,w=new Array(k),A=0;A<k;A++)w[A]=arguments[A];return B(ni,{root:"VMenu"},{default:()=>[s.default?.(...w)]})}})}),u3({id:u,ΨopenChildren:c},l)}}),Vz={class:"icon-thumb",style:{"margin-left":"-8px",width:"50px",height:"50px","margin-right":"0px"}},Hz=async function(t,e,s=0,a=0,n=!1,r=!1){const o=Array.isArray(t)?t:[t];if(o.length==0||o[0].media_type==ht.FOLDER&&o[0].name=="..")return;const u=await Kz(o,e);n&&o[0].is_playable&&Ki(o[0])&&u.push(...await d3(o,e)),u.length!=0&&Mi.emit("contextmenu",{items:u,posX:s,posY:a,showPlayMenuHeader:r})},Qp={[Ne.NEXT]:"mdi-skip-next-circle-outline",[Ne.ADD]:"mdi-playlist-plus",[Ne.REPLACE]:"mdi-play-circle-outline",[Ne.REPLACE_NEXT]:"mdi-skip-next-circle-outline",[Ne.PLAY]:"mdi-play-circle-outline"},Jp={[Ne.NEXT]:"play_next",[Ne.ADD]:"add_queue",[Ne.REPLACE]:"play_replace",[Ne.REPLACE_NEXT]:"play_replace_next",[Ne.PLAY]:"play_now"},Wz=async function(t,e,s=0,a=0){const n=Array.isArray(t)?t:[t];n.length!=0&&Mi.emit("contextmenu",{items:await d3(n,e),posX:s,posY:a,showPlayMenuHeader:!0})},d3=async function(t,e){const s=[];if(t.length==0||!Ki(t[0]))return s;const a=t.filter(u=>u.is_playable);if(a.length==0)return s;const n=a[0],r=await Y.getCoreConfigValue("player_queues",`default_enqueue_option_${n.media_type}`);if(!nt.activePlayer)return s;s.push({label:Jp[r],action:()=>{Y.playMedia(a.map(u=>u.uri),r),nt.playMenuShown=!0},icon:Qp[r],labelArgs:[],disabled:!nt.activePlayer}),a.length==1&&e&&e.uri!=n.uri&&(e.media_type==ht.PLAYLIST&&s.push({label:"play_playlist_from",action:()=>{Y.playMedia(e.uri,void 0,!1,a[0].item_id),nt.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!nt.activePlayer}),e.media_type==ht.ALBUM&&s.push({label:"play_album_from",action:()=>{Y.playMedia(e.uri,void 0,!1,n.item_id),nt.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!nt.activePlayer}),e.media_type==ht.PODCAST&&s.push({label:"play_from_here",action:()=>{Y.playMedia(e.uri,void 0,!1,n.item_id),nt.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!nt.activePlayer})),$z(n)&&s.push({label:"play_radio",action:()=>{Y.playMedia(t.map(u=>u.uri),Ne.REPLACE,!0),nt.playMenuShown=!0},icon:"mdi-radio-tower",labelArgs:[],disabled:!nt.activePlayer});const o=[];for(const u of[Ne.PLAY,Ne.NEXT,Ne.ADD,Ne.REPLACE,Ne.REPLACE_NEXT])o.push({label:Jp[u],action:()=>{Y.playMedia(t.map(l=>l.uri),u),nt.playMenuShown=!0},icon:Qp[u],labelArgs:[],disabled:!nt.activePlayer,selected:u==r});if(s.push({label:"all_enqueue_options",subItems:o,icon:"mdi-playlist-play",labelArgs:[],disabled:!nt.activePlayer}),t.length>1&&t.every(u=>u.media_type===ht.PODCAST_EPISODE&&"fully_played"in u&&"resume_position_ms"in u)){const u=t,l=f=>(f.resume_position_ms||0)>0,d=f=>f.fully_played,c=f=>!f.fully_played&&!l(f),b=u.every(d),p=u.every(c);b?s.push({label:"mark_unplayed",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async f=>{await Y.markItemUnPlayed(f),f.fully_played=!1,f.resume_position_ms=0}))}}):p?s.push({label:"mark_played",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async f=>{await Y.markItemPlayed(f,!0),f.fully_played=!0}))}}):(s.push({label:"mark_played",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async f=>{await Y.markItemPlayed(f,!0),f.fully_played=!0}))}}),s.push({label:"mark_unplayed",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async f=>{await Y.markItemUnPlayed(f),f.fully_played=!1,f.resume_position_ms=0}))}}))}return s},Kz=async function(t,e){const s=[];if(t.length==0)return s;const a=t[0];if(t.length===1&&a!==e&&[ht.ALBUM,ht.ARTIST,ht.AUDIOBOOK,ht.PLAYLIST,ht.PODCAST,ht.TRACK].includes(t[0].media_type)&&Ki(t[0])&&s.push({label:"show_info",labelArgs:[],action:()=>{Yi.push({name:a.media_type,params:{itemId:a.item_id,provider:a.provider},query:{album:"album"in t[0]?t[0].album?.uri:""}})},icon:"mdi-information-outline"}),t.length===1&&t[0]!==e&&t[0].media_type==ht.FOLDER&&Ki(t[0])&&s.push({label:"browse",labelArgs:[],action:()=>{Yi.push({name:"browse",query:{path:t[0].path}})},icon:"mdi-folder"}),t.length===1&&Ki(t[0])&&"artists"in t[0]&&t[0].artists.length===1)for(const r of t[0].artists)s.push({label:"goto_artist",labelArgs:[r.name],action:()=>{Yi.push({name:"artist",params:{itemId:r.item_id,provider:r.provider}})},icon:"mdi-account-music"});t.length===1&&Ki(t[0])&&"album"in t[0]&&t[0].album&&s.push({label:"goto_album",labelArgs:[t[0].album.name],action:()=>{Yi.push({name:"album",params:{itemId:t[0].album.item_id,provider:t[0].album.provider}})},icon:"mdi-album"});let n=a;if((a.provider!="library"||!("provider_mappings"in a))&&[ht.ALBUM,ht.ARTIST,ht.AUDIOBOOK,ht.PLAYLIST,ht.PODCAST,ht.RADIO,ht.TRACK].includes(a.media_type)&&(n=await Y.getLibraryItem(a.media_type,a.item_id,a.provider)||a),n.provider!="library"&&[ht.ALBUM,ht.ARTIST,ht.AUDIOBOOK,ht.PLAYLIST,ht.PODCAST,ht.RADIO,ht.TRACK].includes(n.media_type)&&Ki(n)&&s.push({label:"add_library",labelArgs:[],action:()=>{for(const r of t)Y.addItemToLibrary(r);Mi.emit("clearSelection")},icon:"mdi-bookshelf"}),n.provider=="library"&&[ht.ALBUM,ht.ARTIST,ht.AUDIOBOOK,ht.PLAYLIST,ht.PODCAST,ht.RADIO,ht.TRACK].includes(n.media_type)&&s.push({label:"remove_library",labelArgs:[],action:()=>{if(confirm(Rt("confirm_library_remove"))){for(const r of t)Y.removeItemFromLibrary(r.media_type,r.item_id);n.item_id==e?.item_id&&Yi.go(-1),Mi.emit("clearSelection")}},icon:"mdi-bookshelf"}),t.length>0&&t.every(r=>"favorite"in r)){const r=t.filter(o=>[ht.ALBUM,ht.ARTIST,ht.AUDIOBOOK,ht.PLAYLIST,ht.PODCAST,ht.RADIO,ht.TRACK].includes(o.media_type)&&Ki(o));if(r.length>0){const o=r.every(l=>l.favorite),u=r.every(l=>!l.favorite);o?s.push({label:"favorites_remove",labelArgs:[],action:()=>{for(const l of r)Y.removeItemFromFavorites(l.media_type,l.item_id);Mi.emit("clearSelection")},icon:"mdi-heart"}):u?s.push({label:"favorites_add",labelArgs:[],action:()=>{for(const l of r)Y.addItemToFavorites(l);Mi.emit("clearSelection")},icon:"mdi-heart-outline"}):(s.push({label:"favorites_add",labelArgs:[],action:()=>{for(const l of r.filter(d=>!d.favorite))Y.addItemToFavorites(l);Mi.emit("clearSelection")},icon:"mdi-heart-outline"}),s.push({label:"favorites_remove",labelArgs:[],action:()=>{for(const l of r.filter(d=>d.favorite))Y.removeItemFromFavorites(l.media_type,l.item_id);Mi.emit("clearSelection")},icon:"mdi-heart"}))}}if(e&&e.media_type===ht.PLAYLIST){const r=e;t[0].media_type===ht.TRACK&&r.is_editable&&s.push({label:"remove_playlist",labelArgs:[],action:()=>{Y.removePlaylistTracks(r.item_id,t.map(o=>o.position))},icon:"mdi-minus-circle-outline"})}return(t[0].media_type===ht.TRACK||t[0].media_type===ht.ALBUM)&&s.push({label:"add_playlist",labelArgs:[],action:()=>{Mi.emit("playlistdialog",{items:t,parentItem:e})},icon:"mdi-plus-circle-outline"}),t.length===1&&"fully_played"in t[0]&&"resume_position_ms"in t[0]&&(t[0].fully_played||t[0].resume_position_ms?s.push({label:"mark_unplayed",icon:"mdi-clock-fast",action:async()=>{await Y.markItemUnPlayed(t[0]),t[0].fully_played=!1}}):s.push({label:"mark_played",icon:"mdi-clock-fast",action:async()=>{await Y.markItemPlayed(t[0],!0),t[0].fully_played=!0}})),t.length===1&&t[0]==e&&s.push({label:"update_metadata",labelArgs:[],action:async()=>{const r=await Y.updateMetadata(t[0],!0);r&&Object.assign(t[0],r)},icon:"mdi-image-album"}),t.length===1&&(t[0]==e||!Ki(t[0]))&&s.push({label:"refresh_item",labelArgs:[],action:async()=>{const r=await Y.refreshItem(t[0]);r&&Object.assign(t[0],r)},icon:"mdi-refresh"}),s},$z=function(t){if([ht.TRACK,ht.ARTIST,ht.ALBUM,ht.PLAYLIST].includes(t.media_type)){if("provider_mappings"in t){for(const e of t.provider_mappings)if(Y.providers[e.provider_instance]?.supported_features.includes(Vr.SIMILAR_TRACKS))return!0}else if(Y.providers[t.provider]?.supported_features.includes(Vr.SIMILAR_TRACKS))return!0;if(t.provider=="library"){for(const e of Object.values(Y.providers))if(e.supported_features.includes(Vr.SIMILAR_TRACKS))return!0}return!1}},qC=Me({__name:"ItemContextMenu",setup(t){const e=st(!1),s=st([]),a=st(0),n=st(0),r=st(!1),o=st(!1),u=st([]),l=st(0),d=st(0);Xe(()=>{Mi.on("contextmenu",async p=>{s.value=p.items,a.value=p.posX||0,n.value=p.posY||0,r.value=p.showPlayMenuHeader||!1,Ce(()=>{e.value=!0})}),Ge(()=>{Mi.off("contextmenu")})});const c=function(p,f){if(f.subItems){p.preventDefault(),u.value=f.subItems,l.value=p.clientX,d.value=p.clientY,o.value=!0;return}else f.action&&f.action();o.value&&(o.value=!1,f.close_on_click==!1)||f.close_on_click!=!1&&(e.value=!1,nt.dialogActive=!1)},b=function(p){p.preventDefault();const f=[],_=Object.values(Y.players).filter(h=>s1(h)).sort((h,y)=>h.name.toUpperCase()>y.name?.toUpperCase()?1:-1);for(const h of _)f.push({label:h.name,action:()=>{p.preventDefault(),nt.activePlayerId=h.player_id,nt.playMenuShown=!0},icon:h.icon,selected:nt.activePlayerId==h.player_id,close_on_click:!1});u.value=f,l.value=p.clientX,d.value=p.clientY,o.value=!0};return(p,f)=>(H(),J(pt,null,[B(Hu,{modelValue:e.value,"onUpdate:modelValue":[f[0]||(f[0]=_=>e.value=_),f[1]||(f[1]=_=>{W(nt).dialogActive=_})],target:[a.value,n.value],scrim:!W(nt).showPlayersMenu,style:{"z-index":"999999"},"z-index":"999999"},{default:Et(()=>[B(wo,{"min-width":"300"},{default:Et(()=>[B(Fu,{density:"compact",slim:"",tile:""},{default:Et(()=>[r.value?(H(),ee(Ea,{key:0,link:"","append-icon":"mdi-chevron-right",onClick:ml(b,["stop"])},{prepend:Et(()=>[q("div",Vz,[B(te,{size:"35",icon:W(nt).activePlayer?W(nt).activePlayer.icon:"mdi-speaker",style:{display:"table-cell",opacity:"0.8"}},null,8,["icon"])])]),title:Et(()=>[B(Ea,{title:W(Rt)("play_on"),density:"compact",subtitle:W(nt).activePlayer?.name||W(Rt)("no_player")},null,8,["title","subtitle"])]),_:1})):Dt("",!0),r.value?(H(),ee(G2,{key:1,style:{"margin-top":"5px","margin-bottom":"5px"}})):Dt("",!0),(H(!0),J(pt,null,ii(s.value.filter(_=>!_.hide),_=>(H(),J("div",{key:_.label,class:St(["menurow",{"menu-item-error":_.color==="error"}])},[B(Ea,{variant:"text",title:W(Rt)(_.label,_.labelArgs||[]),disabled:_.disabled==!0,"prepend-icon":_.icon,color:_.color,border:"bottom","append-icon":_.selected?"mdi-check":_.subItems?.length?"mdi-chevron-right":void 0,style:{"padding-left":"25px"},onClick:ml(h=>c(h,_),["stop"])},null,8,["title","disabled","prepend-icon","color","append-icon","onClick"])],2))),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target","scrim"]),B(Hu,{modelValue:o.value,"onUpdate:modelValue":f[2]||(f[2]=_=>o.value=_),target:[l.value,d.value],style:{"z-index":"999999"},"z-index":"999999"},{default:Et(()=>[B(wo,{"min-width":"260"},{default:Et(()=>[B(Fu,{density:"compact",slim:"",tile:""},{default:Et(()=>[(H(!0),J(pt,null,ii(u.value.filter(_=>!_.hide),_=>(H(),J("div",{key:_.label,class:St(["menurow",{"menu-item-error":_.color==="error"}])},[B(Ea,{variant:"text",title:W(Rt)(_.label,_.labelArgs||[]),disabled:_.disabled==!0,"prepend-icon":_.icon,color:_.color,"append-icon":_.selected?"mdi-check":void 0,onClick:ml(h=>c(h,_),["stop"])},null,8,["title","disabled","prepend-icon","color","append-icon","onClick"])],2))),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target"])],64))}});var ci=(t=>(t.DISABLED="disabled",t.CONTROLS_ONLY="controls_only",t.BUILTIN="builtin",t))(ci||{});let _n=[];const Os=new BroadcastChannel("web-player"),yi={IS_ACTIVE:"IS_WEBPLAYER_ACTIVE",IS_ACTIVE_RESPONSE:"WEBPLAYER_IS_ACTIVE",TAKING_CONTROL:"TAKING_CONTROL:",CONTROL_AVAILABLE:"CONTROL_AVAILABLE",CONTROL_TAKEN:"CONTROL_TAKEN"},Yz=75e3,c3=new Uint32Array(10);self.crypto.getRandomValues(c3);const Xz=c3.join("");Os.onmessage=t=>{if(typeof t.data=="string"&&t.data.startsWith(yi.TAKING_CONTROL)){Ot.tabMode==="builtin"&&Ot.setTabMode("controls_only",!0);const e=t.data.substring(yi.TAKING_CONTROL.length);ki!==void 0?ki=ki>e?ki:e:ki=e}switch(t.data){case yi.IS_ACTIVE:Ot.tabMode==="builtin"&&Ot.player_id&&(Ot.timedOutDueToThrottling()?Ot.setTabMode("controls_only",!0):Os.postMessage(yi.IS_ACTIVE_RESPONSE));break;case yi.IS_ACTIVE_RESPONSE:Ln.forEach(e=>{clearTimeout(e.timeout),e.resolve(!0)}),Ln=[];break;case yi.CONTROL_AVAILABLE:Ot.mode==="builtin"&&Ot.tabMode!=="builtin"&&Ot.setTabMode("builtin");break;case yi.CONTROL_TAKEN:Ot.tabMode==="builtin"&&Ot.setTabMode("controls_only",!0);break}};window.addEventListener("unload",function(){Os.onmessage=null,Ot.tabMode==="builtin"&&Ot.player_id&&Os.postMessage(yi.CONTROL_AVAILABLE)});let Ln=[];async function Zz(){return new Promise(t=>{const e=window.setTimeout(()=>{Ln=Ln.filter(s=>s.timeout!==e),t(!1)},500);Ln.push({resolve:t,timeout:e}),Os.postMessage(yi.IS_ACTIVE)})}let ki;async function Qz(){const t=(Ot.interacted?"1":"0")+(document.hidden?"0":"1")+Xz;return ki!==void 0?ki=ki>t?ki:t:ki=t,Os.postMessage(yi.TAKING_CONTROL+t),new Promise(e=>{setTimeout(()=>{const s=ki===t;ki=void 0,e(s)},2e3)})}const Ot=we({mode:"disabled",tabMode:"disabled",audioSource:"disabled",baseUrl:"",player_id:null,interacted:!1,lastUpdate:0,async setMode(t){this.mode=t,this.setTabMode(t)},async setTabMode(t,e=!1){for(const a of _n)a();_n=[];let s;if(this.tabMode==="builtin"&&this.player_id&&(Os.postMessage(yi.CONTROL_AVAILABLE),e||(s=this.player_id)),this.audioSource="disabled",this.player_id=null,t==="builtin"&&(await Zz()?t="controls_only":await Qz()||(t="controls_only")),t=="builtin"){this.audioSource="controls_only";const a=window.localStorage.getItem("builtin_webplayer_id");s=void 0;const n=await Y.registerBuiltinPlayer("This Device",a!==null?a:void 0);this.lastUpdate=Date.now();const r=n.player_id;a!==r&&window.localStorage.setItem("builtin_webplayer_id",r),this.player_id=r,Os.postMessage(yi.CONTROL_TAKEN)}else if(t=="controls_only"){const a=window.localStorage.getItem("builtin_webplayer_id");this.player_id=a,this.audioSource="controls_only"}else this.audioSource="disabled";s&&await Y.unregisterBuiltinPlayer(s),this.tabMode=t,this.player_id&&(_n.push(Y.subscribe(Ie.DISCONNECTED,()=>{this.setTabMode("controls_only",!0)})),this.mode==="builtin"&&_n.push(Y.subscribe(Ie.PLAYER_UPDATED,()=>{this.player_id&&Y.players[this.player_id]&&!Y.players[this.player_id].available&&(this.tabMode==="builtin"&&this.setTabMode("controls_only",!0),this.setTabMode("builtin"))},this.player_id)),_n.push(Y.subscribe(Ie.PLAYER_REMOVED,()=>{this.setTabMode("controls_only",!0)},this.player_id)))},setBaseUrl(t){if(t.endsWith("/")&&(t=t.slice(0,-1)),t===this.baseUrl)return;const e=this.tabMode;this.setTabMode("disabled"),this.baseUrl=t,this.setTabMode(e)},async setInteracted(){this.interacted||(this.interacted=!0)},timedOutDueToThrottling(){return Date.now()-Ot.lastUpdate>=Yz}}),VC=function(t){if(!t)return t;Y&&Y.serverInfo&&Y.serverInfo.value&&(Y.serverInfo.value.server_version=="0.0.0"||Y.serverInfo.value.server_version.includes("b"))&&(t=t.replace("://music-assistant.io","://beta.music-assistant.io")),window.open(t,"_blank")},Jz=t=>t==null||t==null||!t?!1:typeof t=="boolean"?t:!!JSON.parse(String(t).toLowerCase()),HC=function(t){t=Math.floor(t);const e=Math.floor(t/3600),s=Math.floor((t-e*3600)/60),a=t-e*3600-s*60;let n=e.toString(),r=s.toString(),o=a.toString();return e<10&&(n="0"+e),s<10&&(r="0"+s),a<10&&(o="0"+a),n==="00"?r+":"+o:n+":"+r+":"+o},t0=function(t,e){return t?t.length<=e?t:t.slice(0,e)+"...":""},WC=function(t,e){return t?e?t.slice(0,e).map(s=>s.name).join(" | "):t.map(s=>s.name).join(" | "):""},KC=function(t,e){let s="";return t?.name&&t?.translation_key?s=`${t.name}: ${e(t?.translation_key)}`:t?.name?s=t.name:t?.translation_key?s=e(t?.translation_key):s=t.path||"",s},$C=function(t,e=26){if(!t)return"";const s=t.group_members.filter(a=>Y.players[a]?.available&&a!=t.player_id);return t.type!=$m.GROUP&&s.length?`${t0(t.name,e-3)} +${s.length}`:t0(t.name,e)},YC=function(t){const e=[];for(const s of t?.provider_mappings||[])s.provider_domain.startsWith("filesystem")||s.provider_domain!="plex"&&(e.filter(a=>a.provider_domain==s.provider_domain).length||e.push(s));return e},XC=t=>new Promise(e=>setTimeout(e,t));function b3(t,e){const s=Pe(t),a=Pe(e);return s.contrast(a)}function uc(t){const[e,s,a]=t;return`#${e.toString(16).padStart(2,"0")}${s.toString(16).padStart(2,"0")}${a.toString(16).padStart(2,"0")}`}function t1(t){let e="",s=0;return t.forEach(a=>{const n=uc(a),r=b3("#000000",n);(r>s&&r>=7||r>s&&r>=s*.7)&&(s=r,e=n)}),e}function e1(t){let e="",s=0;const a=17.35;return t.forEach(n=>{const r=uc(n),o=b3("#fff",r);a>=o&&(o>s&&o>=7||o>s&&o>=s*.7)&&(s=o,e=r)}),e}function ZC(t){const s=new za().getPalette(t,5),a=s.map(n=>uc(n));return{0:a[0],1:a[1],2:a[2],3:a[3],4:a[4],lightColor:t1(s),darkColor:e1(s)}}function QC(t,e){if(t)return t;for(const s of e){const a=s,n=a[0],r=a[1],o=a[2];if(n)return r;if(o!==void 0)return o}}function JC(t,e,s){const a=t.scrollTop,n=e-a,r=new Date().getTime(),o=(l,d,c,b)=>(l/=b/2,l<1?c/2*l*l+d:(l--,-c/2*(l*(l-2)-1)+d)),u=()=>{const d=new Date().getTime()-r;t.scrollTop=o(d,a,n,s),d<s?requestAnimationFrame(u):t.scrollTop=e};u()}const tM=function(t){return Je({breakpoint:"bp1",condition:"lt"})?2:Je({breakpoint:"bp1",condition:"gt"})&&Je({breakpoint:"bp4",condition:"lt"})?3:Je({breakpoint:"bp4",condition:"gt"})&&Je({breakpoint:"bp6",condition:"lt"})?4:Je({breakpoint:"bp6",condition:"gt"})&&Je({breakpoint:"bp7",condition:"lt"})?5:Je({breakpoint:"bp7",condition:"gt"})&&Je({breakpoint:"bp8",condition:"lt"})?6:Je({breakpoint:"bp8",condition:"gt"})&&Je({breakpoint:"bp9",condition:"lt"})?7:Je({breakpoint:"bp9",condition:"gt"})&&Je({breakpoint:"bp10",condition:"lt"})?8:Je({breakpoint:"bp10",condition:"gt"})?9:0};function i1(){let t=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(t=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(t=!0),t}const eM=function(t){return t=t.replaceAll(/\\n/g,"<br />").replaceAll(`
|
|
1036
|
-
`,"<br />").replaceAll(" \\","<br />"),Yt(t)},s1=function(t,e=!1){return t.provider=="builtin_player"&&t.player_id==Ot.player_id?!0:!(!t.enabled||t.hide_player_in_ui.includes(Aa.ALWAYS)||t.hide_player_in_ui.includes(Aa.WHEN_SYNCED)&&t.synced_to&&!e||t.hide_player_in_ui.includes(Aa.WHEN_GROUP_ACTIVE)&&t.active_group&&!e||t.hide_player_in_ui.includes(Aa.WHEN_OFF)&&t.powered===!1||t.hide_player_in_ui.includes(Aa.WHEN_UNAVAILABLE)&&!t.available)},e0=function(t,e,s,a,n){if(!n&&nt.playMenuShown&&nt.activePlayer?.available&&[Oa.PLAYING,Oa.PAUSED].includes(nt.activePlayer?.playback_state)){nt.playActionInProgress=!0,Y.playMedia(t).then(()=>{nt.playActionInProgress=!1});return}Wz(t,a,e,s)},iM=function(t,e,s,a){if(!Ki(t)){a1(t,e,s);return}if(t.media_type==ht.FOLDER){Yi.push({name:"browse",query:{path:t.path}});return}if(t.media_type==ht.PODCAST_EPISODE){e0(t,e,s,a,!0);return}if([ht.TRACK,ht.RADIO].includes(t.media_type)&&a){e0(t,e,s,a,!0);return}Yi.push({name:t.media_type,params:{itemId:t.item_id,provider:t.provider}})},a1=function(t,e,s,a,n=!0){const r=Array.isArray(t)?t:[t];Hz(r,a,e,s,n)},Dl=new Ym(window.navigator.userAgent),n1=Dl.tablet()?"tablet":Dl.phone()||Dl.mobile()?"phone":"desktop";var p3=(t=>(t.ERROR="error",t.WARNING="warning",t.INFO="info",t.SUCCESS="success",t))(p3||{});const nt=we({activePlayerId:void 0,isInStandaloneMode:!1,showPlayersMenu:!1,showFullscreenPlayer:!1,frameless:!1,showQueueItems:!1,apiInitialized:!1,apiBaseUrl:"",dialogActive:!1,activePlayer:G(()=>{if(nt.activePlayerId&&nt.activePlayerId in Y.players)return Y.players[nt.activePlayerId]}),activePlayerQueue:G(()=>{if(nt.activePlayer?.active_source&&nt.activePlayer.active_source in Y.queues)return Y.queues[nt.activePlayer.active_source];if(nt.activePlayer&&!nt.activePlayer.active_source&&nt.activePlayer.player_id in Y.queues&&Y.queues[nt.activePlayer.player_id].active)return Y.queues[nt.activePlayer.player_id]}),curQueueItem:G(()=>{if(nt.activePlayerQueue&&nt.activePlayerQueue.active)return nt.activePlayerQueue.current_item}),globalSearchTerm:void 0,globalSearchType:void 0,prevState:void 0,activeAlert:void 0,prevRoute:void 0,libraryArtistsCount:void 0,libraryAlbumsCount:void 0,libraryTracksCount:void 0,libraryPlaylistsCount:void 0,libraryRadiosCount:void 0,connected:!1,isTouchscreen:i1(),playMenuShown:!1,playActionInProgress:!1,deviceType:n1,mobileLayout:G(()=>Je({breakpoint:"tablet"})||Jz(nt.forceMobileLayout)),currentUser:void 0,serverInfo:void 0,isAuthenticated:!1,isIngressSession:window.location.pathname.includes("/hassio_ingress/"),isOnboarding:!1});class r1{constructor(e,s,a){if(this.i=0,this._retries=0,e<0)throw new Error("Initial must be a positive number or zero");if(s<0)throw new Error("Increment must be a positive number or zero");if(a!==void 0&&a<0)throw new Error("Max must be undefined, a positive number or zero");if(a!==void 0&&a<e)throw new Error("Max must be undefined or greater than or equal to initial");this.initial=e,this.increment=s,this.max=a}get retries(){return this._retries}get current(){return this.max===void 0?this.initial+this.increment*this.i:Math.min(this.initial+this.increment*this.i,this.max)}next(){return this._retries++,this.i++,this.current}reset(){this._retries=0,this.i=0}}var Jt;(function(t){t.open="open",t.close="close",t.error="error",t.message="message",t.retry="retry",t.reconnect="reconnect"})(Jt||(Jt={}));class o1{constructor(e,s,a){var n,r,o,u,l,d,c,b,p,f,_,h,y,m,v;this._closedByUser=!1,this.handleOpenEvent=g=>this.handleEvent(Jt.open,g),this.handleErrorEvent=g=>this.handleEvent(Jt.error,g),this.handleCloseEvent=g=>this.handleEvent(Jt.close,g),this.handleMessageEvent=g=>this.handleEvent(Jt.message,g),this._url=e,this._protocols=s,this._options={buffer:a?.buffer,retry:{maxRetries:(n=a?.retry)===null||n===void 0?void 0:n.maxRetries,instantReconnect:(r=a?.retry)===null||r===void 0?void 0:r.instantReconnect,backoff:(o=a?.retry)===null||o===void 0?void 0:o.backoff},listeners:{open:[...(l=(u=a?.listeners)===null||u===void 0?void 0:u.open)!==null&&l!==void 0?l:[]],close:[...(c=(d=a?.listeners)===null||d===void 0?void 0:d.close)!==null&&c!==void 0?c:[]],error:[...(p=(b=a?.listeners)===null||b===void 0?void 0:b.error)!==null&&p!==void 0?p:[]],message:[...(_=(f=a?.listeners)===null||f===void 0?void 0:f.message)!==null&&_!==void 0?_:[]],retry:[...(y=(h=a?.listeners)===null||h===void 0?void 0:h.retry)!==null&&y!==void 0?y:[]],reconnect:[...(v=(m=a?.listeners)===null||m===void 0?void 0:m.reconnect)!==null&&v!==void 0?v:[]]}},this._underlyingWebsocket=this.tryConnect()}get url(){return this._url}get protocols(){return this._protocols}get buffer(){return this._options.buffer}get maxRetries(){return this._options.retry.maxRetries}get instantReconnect(){return this._options.retry.instantReconnect}get backoff(){return this._options.retry.backoff}get closedByUser(){return this._closedByUser}get lastConnection(){return this._lastConnection}get underlyingWebsocket(){return this._underlyingWebsocket}get readyState(){return this._underlyingWebsocket.readyState}get bufferedAmount(){return this._underlyingWebsocket.bufferedAmount}get extensions(){return this._underlyingWebsocket.extensions}get binaryType(){return this._underlyingWebsocket.binaryType}set binaryType(e){this._underlyingWebsocket.binaryType=e}send(e){this.closedByUser||(this._underlyingWebsocket.readyState===this._underlyingWebsocket.OPEN?this._underlyingWebsocket.send(e):this.buffer!==void 0&&this.buffer.add(e))}close(e,s){this.cancelScheduledConnectionRetry(),this._closedByUser=!0,this._underlyingWebsocket.close(e,s)}addEventListener(e,s,a){this._options.listeners[e].push({listener:s,options:a})}removeEventListener(e,s,a){const n=r=>r.listener!==s||r.options!==a;this._options.listeners[e]=this._options.listeners[e].filter(n)}tryConnect(){return this._underlyingWebsocket=new WebSocket(this.url,this.protocols),this._underlyingWebsocket.addEventListener(Jt.open,this.handleOpenEvent),this._underlyingWebsocket.addEventListener(Jt.close,this.handleCloseEvent),this._underlyingWebsocket.addEventListener(Jt.error,this.handleErrorEvent),this._underlyingWebsocket.addEventListener(Jt.message,this.handleMessageEvent),this._underlyingWebsocket}clearWebsocket(){this._underlyingWebsocket.removeEventListener(Jt.open,this.handleOpenEvent),this._underlyingWebsocket.removeEventListener(Jt.close,this.handleCloseEvent),this._underlyingWebsocket.removeEventListener(Jt.error,this.handleErrorEvent),this._underlyingWebsocket.removeEventListener(Jt.message,this.handleMessageEvent),this._underlyingWebsocket.close()}dispatchEvent(e,s){const a=this._options.listeners[e],n=[];a.forEach(({listener:r,options:o})=>{r(this,s),(o===void 0||o.once===void 0||!o.once)&&n.push({listener:r,options:o})}),this._options.listeners[e]=n}handleEvent(e,s){switch(e){case Jt.close:this.dispatchEvent(e,s),this.scheduleConnectionRetryIfNeeded();break;case Jt.open:if(this.backoff!==void 0&&this._lastConnection!==void 0){const a={retries:this.backoff.retries,lastConnection:new Date(this._lastConnection)},n=new CustomEvent(Jt.reconnect,{detail:a});this.dispatchEvent(Jt.reconnect,n),this.backoff.reset()}this._lastConnection=new Date,this.dispatchEvent(e,s),this.sendBufferedData();break;case Jt.retry:this.dispatchEvent(e,s),this.clearWebsocket(),this.tryConnect();break;default:this.dispatchEvent(e,s);break}}sendBufferedData(){if(this.buffer!==void 0)for(let e=this.buffer.read();e!==void 0;e=this.buffer.read())this.send(e)}scheduleConnectionRetryIfNeeded(){if(this.closedByUser||this.backoff===void 0)return;const e=a=>{const n=new CustomEvent(Jt.retry,{detail:a});this.handleEvent(Jt.retry,n)},s={backoff:this._options.retry.instantReconnect===!0?0:this.backoff.next(),retries:this._options.retry.instantReconnect===!0?0:this.backoff.retries,lastConnection:this._lastConnection};(this._options.retry.maxRetries===void 0||s.retries<=this._options.retry.maxRetries)&&(this.retryTimeout=globalThis.setTimeout(()=>e(s),s.backoff))}cancelScheduledConnectionRetry(){globalThis.clearTimeout(this.retryTimeout)}}class l1{constructor(e){this._url=e}get url(){return this._url}withProtocols(e){return this._protocols=e,this}get protocols(){return this._protocols}withMaxRetries(e){var s;return this._options=Object.assign(Object.assign({},this._options),{retry:Object.assign(Object.assign({},(s=this._options)===null||s===void 0?void 0:s.retry),{maxRetries:e})}),this}get maxRetries(){var e,s;return(s=(e=this._options)===null||e===void 0?void 0:e.retry)===null||s===void 0?void 0:s.maxRetries}withInstantReconnect(e){var s;return this._options=Object.assign(Object.assign({},this._options),{retry:Object.assign(Object.assign({},(s=this._options)===null||s===void 0?void 0:s.retry),{instantReconnect:e})}),this}get instantReconnect(){var e,s;return(s=(e=this._options)===null||e===void 0?void 0:e.retry)===null||s===void 0?void 0:s.instantReconnect}withBackoff(e){var s;return this._options=Object.assign(Object.assign({},this._options),{retry:Object.assign(Object.assign({},(s=this._options)===null||s===void 0?void 0:s.retry),{backoff:e})}),this}get backoff(){var e,s;return(s=(e=this._options)===null||e===void 0?void 0:e.retry)===null||s===void 0?void 0:s.backoff}withBuffer(e){return this._options=Object.assign(Object.assign({},this._options),{buffer:e}),this}get buffer(){var e;return(e=this._options)===null||e===void 0?void 0:e.buffer}onOpen(e,s){return this.addListener(Jt.open,e,s),this}onClose(e,s){return this.addListener(Jt.close,e,s),this}onError(e,s){return this.addListener(Jt.error,e,s),this}onMessage(e,s){return this.addListener(Jt.message,e,s),this}onRetry(e,s){return this.addListener(Jt.retry,e,s),this}onReconnect(e,s){return this.addListener(Jt.reconnect,e,s),this}build(){return new o1(this._url,this._protocols,this._options)}addListener(e,s,a){var n,r,o,u,l,d,c,b,p,f,_,h,y,m,v,g,k,w,A,z,S;return this._options=Object.assign(Object.assign({},this._options),{listeners:{open:(o=(r=(n=this._options)===null||n===void 0?void 0:n.listeners)===null||r===void 0?void 0:r.open)!==null&&o!==void 0?o:[],close:(d=(l=(u=this._options)===null||u===void 0?void 0:u.listeners)===null||l===void 0?void 0:l.close)!==null&&d!==void 0?d:[],error:(p=(b=(c=this._options)===null||c===void 0?void 0:c.listeners)===null||b===void 0?void 0:b.error)!==null&&p!==void 0?p:[],message:(h=(_=(f=this._options)===null||f===void 0?void 0:f.listeners)===null||_===void 0?void 0:_.message)!==null&&h!==void 0?h:[],retry:(v=(m=(y=this._options)===null||y===void 0?void 0:y.listeners)===null||m===void 0?void 0:m.retry)!==null&&v!==void 0?v:[],reconnect:(w=(k=(g=this._options)===null||g===void 0?void 0:g.listeners)===null||k===void 0?void 0:k.reconnect)!==null&&w!==void 0?w:[],[e]:[...(S=(z=(A=this._options)===null||A===void 0?void 0:A.listeners)===null||z===void 0?void 0:z[e])!==null&&S!==void 0?S:[],{listener:s,options:a}]}}),this}}function Ll(){const t=navigator.userAgent;let e="Browser",s="Unknown OS";return t.includes("Firefox/")?e="Firefox":t.includes("Edg/")?e="Edge":t.includes("Chrome/")?e="Chrome":t.includes("Safari/")&&!t.includes("Chrome/")&&(e="Safari"),t.includes("Windows")?s="Windows":t.includes("Mac OS X")?s="macOS":t.includes("Linux")?s="Linux":t.includes("Android")?s="Android":(t.includes("iOS")||t.includes("iPhone")||t.includes("iPad"))&&(s="iOS"),`Music Assistant Web (${e} on ${s})`}var m3=(t=>(t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED",t))(m3||{});class f3{ws;_throttleId;baseUrl;state=st(0);serverInfo=st();players=we({});queues=we({});providers=we({});providerManifests=we({});syncTasks=st([]);fetchesInProgress=st([]);hasStreamingProviders=G(()=>Object.values(this.providers).some(e=>e.is_streaming_provider));eventCallbacks;partialResult;commands;constructor(){this.eventCallbacks=[],this.commands=new Map,this.partialResult={}}async initialize(e,s,a){if(this.ws)throw new Error("already initialized");e.endsWith("/")&&(e=e.slice(0,-1)),this.baseUrl=e;const n=e.replace("http","ws")+"/ws";console.log(`Connecting to Music Assistant API ${n}`),this.state.value=1;let r=!1,o=null,u=null;this.ws=new l1(n).onOpen((l,d)=>{console.log("connection opened"),r=!1,o=null,u=null}).onClose((l,d)=>{console.log("connection closed"),this.state.value=0,this.signalEvent({event:Ie.DISCONNECTED,object_id:""})}).onError((l,d)=>{console.log("error on connection")}).onMessage((l,d)=>{const c=JSON.parse(d.data);if("server_version"in c&&!u&&!r){const b=c;if(console.info("ServerInfo received",b),!s){console.error("Authentication required but no token provided"),this.ws?.close();const f=encodeURIComponent(window.location.href),_=encodeURIComponent(Ll());b.onboard_done?window.location.href=`${this.baseUrl}/login?return_url=${f}&device_name=${_}`:window.location.href=`${this.baseUrl}/setup?return_url=${f}&device_name=${_}`;return}u=b,o=this._genCmdId();const p={command:"auth",message_id:o,args:{token:s}};console.debug("Sending auth command",o),l.send(JSON.stringify(p));return}if(o&&!r&&"message_id"in c&&c.message_id===o){if("error"in c||"error_code"in c){if(console.error("WebSocket authentication failed",c),this.ws?.close(),localStorage.removeItem("ma_access_token"),localStorage.removeItem("ma_current_user"),a){console.error("Token from login page failed validation - possible invalid credentials or server issue"),alert("Authentication failed. The login token is invalid. Please try logging in again.");const f=encodeURIComponent(Ll());window.location.href=`${this.baseUrl}/login?device_name=${f}`;return}const b=encodeURIComponent(window.location.href),p=encodeURIComponent(Ll());window.location.href=`${this.baseUrl}/login?return_url=${b}&device_name=${p}`;return}if(console.log("WebSocket authenticated successfully",c),r=!0,"result"in c&&c.result&&typeof c.result=="object"){const b=c.result;b.user&&(localStorage.setItem("ma_current_user",JSON.stringify(b.user)),console.log("User info stored:",b.user),Ft(async()=>{const{authManager:p}=await Promise.resolve().then(()=>zf);return{authManager:p}},void 0,import.meta.url).then(({authManager:p})=>{p.currentUser=b.user}))}u&&(console.info("Processing ServerInfo after successful authentication"),this.handleServerInfoMessage(u),u=null);return}"event"in c?this.handleEventMessage(c):"message_id"in c?this.handleResultMessage(c):console.error("received unknown message",c)}).onRetry((l,d)=>{console.log("retry"),this.state.value=1}).withBackoff(new r1(0,1e3,12e3)).build()}subscribe(e,s,a="*"){const n=[e,a,s];return this.eventCallbacks.push(n),()=>{const o=this.eventCallbacks.indexOf(n);o>-1&&this.eventCallbacks.splice(o,1)}}subscribe_multi(e,s,a="*"){const n=[];for(const o of e)n.push(this.subscribe(o,s,a));return()=>{for(const o of n)o()}}getLibraryTracks(e,s,a,n,r){return this.sendCommand("music/tracks/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getTrack(e,s,a){return this.sendCommand("music/tracks/get_track",{item_id:e,provider_instance_id_or_domain:s,album_uri:a})}getTrackVersions(e,s){return this.sendCommand("music/tracks/track_versions",{item_id:e,provider_instance_id_or_domain:s})}getTrackAlbums(e,s,a=!1){return this.sendCommand("music/tracks/track_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getTrackPreviewUrl(e,s){const a=encodeURIComponent(encodeURIComponent(s));return`${this.baseUrl}/preview?item_id=${a}&provider=${e}`}getLibraryArtistsCount(e=!1,s=!1){return this.sendCommand("music/artists/count",{favorite_only:e,album_artists_only:s})}getLibraryAlbumsCount(e=!1,s){return this.sendCommand("music/albums/count",{favorite_only:e,album_types:s})}getLibraryTracksCount(e=!1){return this.sendCommand("music/tracks/count",{favorite_only:e})}getLibraryPlaylistsCount(e=!1){return this.sendCommand("music/playlists/count",{favorite_only:e})}getLibraryRadiosCount(e=!1){return this.sendCommand("music/radios/count",{favorite_only:e})}getLibraryPodcastsCount(e=!1){return this.sendCommand("music/podcasts/count",{favorite_only:e})}getLibraryAudiobooksCount(e=!1){return this.sendCommand("music/audiobooks/count",{favorite_only:e})}getLibraryArtists(e,s,a,n,r,o){return this.sendCommand("music/artists/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r,album_artists_only:o})}getArtist(e,s){return this.sendCommand("music/artists/get_artist",{item_id:e,provider_instance_id_or_domain:s})}getArtistTracks(e,s,a=!1){return this.sendCommand("music/artists/artist_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getArtistAlbums(e,s,a=!1){return this.sendCommand("music/artists/artist_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getLibraryAlbums(e,s,a,n,r,o){return this.sendCommand("music/albums/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r,album_types:o})}getAlbum(e,s){return this.sendCommand("music/albums/get_album",{item_id:e,provider_instance_id_or_domain:s})}getAlbumTracks(e,s,a=!1){return this.sendCommand("music/albums/album_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getAlbumVersions(e,s){return this.sendCommand("music/albums/album_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryPlaylists(e,s,a,n,r){return this.sendCommand("music/playlists/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getPlaylist(e,s){return this.sendCommand("music/playlists/get_playlist",{item_id:e,provider_instance_id_or_domain:s})}getPlaylistTracks(e,s,a){return this.sendCommand("music/playlists/playlist_tracks",{item_id:e,provider_instance_id_or_domain:s,force_refresh:a})}addPlaylistTracks(e,s){return this.sendCommand("music/playlists/add_playlist_tracks",{db_playlist_id:e,uris:s})}removePlaylistTracks(e,s){return this.sendCommand("music/playlists/remove_playlist_tracks",{db_playlist_id:e,positions_to_remove:s})}createPlaylist(e,s){return this.sendCommand("music/playlists/create_playlist",{name:e,provider_instance_or_domain:s})}getLibraryRadios(e,s,a,n,r){return this.sendCommand("music/radios/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getRadio(e,s){return this.sendCommand("music/radios/get_radio",{item_id:e,provider_instance_id_or_domain:s})}getRadioVersions(e,s){return this.sendCommand("music/radios/radio_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryAudiobooks(e,s,a,n,r){return this.sendCommand("music/audiobooks/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getAudiobook(e,s){return this.sendCommand("music/audiobooks/get_audiobook",{item_id:e,provider_instance_id_or_domain:s})}getAudiobookVersions(e,s){return this.sendCommand("music/audiobooks/audiobook_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryPodcasts(e,s,a,n,r){return this.sendCommand("music/podcasts/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getPodcast(e,s){return this.sendCommand("music/podcasts/get_podcast",{item_id:e,provider_instance_id_or_domain:s})}gePodcastVersions(e,s){return this.sendCommand("music/podcasts/podcast_versions",{item_id:e,provider_instance_id_or_domain:s})}getPodcastEpisodes(e,s){return this.sendCommand("music/podcasts/podcast_episodes",{item_id:e,provider_instance_id_or_domain:s})}getItemByUri(e){return this.sendCommand("music/item_by_uri",{uri:e})}refreshItem(e){return this.sendCommand("music/refresh_item",{media_item:e})}updateMetadata(e,s=!1){return this.sendCommand("metadata/update_metadata",{item:e,force_refresh:s})}getItem(e,s,a){return this.sendCommand("music/item",{media_type:e,item_id:s,provider_instance_id_or_domain:a})}getLibraryItem(e,s,a){return this.sendCommand("music/get_library_item",{media_type:e,item_id:s,provider_instance_id_or_domain:a})}async addItemToLibrary(e,s=!1){return this.sendCommand("music/library/add_item",{item:e,overwrite_existing:s})}async removeItemFromLibrary(e,s){return this.sendCommand("music/library/remove_item",{media_type:e,library_item_id:s})}async addItemToFavorites(e){return typeof e!="string"&&"favorite"in e&&(e.favorite=!0),this.sendCommand("music/favorites/add_item",{item:e})}async removeItemFromFavorites(e,s){return this.sendCommand("music/favorites/remove_item",{media_type:e,library_item_id:s})}toggleFavorite(e){e.favorite?(this.removeItemFromFavorites(e.media_type,e.item_id),e.favorite=!1):(this.addItemToFavorites(e),e.favorite=!0)}browse(e){return this.sendCommand("music/browse",{path:e})}search(e,s,a){return this.sendCommand("music/search",{search_query:e,media_types:s,limit:a})}async getRecentlyPlayedItems(e=10,s){return this.sendCommand("music/recently_played_items",{limit:e,media_types:s})}async getInProgressItems(e=10){return this.sendCommand("music/in_progress_items",{limit:e})}async getRecommendations(){return this.sendCommand("music/recommendations")}markItemPlayed(e,s,a){return"fully_played"in e&&(e.fully_played=s),"resume_position_ms"in e&&delete e.resume_position_ms,this.sendCommand("music/mark_played",{media_item:e,fully_played:s,seconds_played:a})}markItemUnPlayed(e){return"fully_played"in e&&(e.fully_played=!1),"resume_position_ms"in e&&delete e.resume_position_ms,this.sendCommand("music/mark_unplayed",{media_item:e})}async getPlayerQueues(){return this.sendCommand("player_queues/all")}getPlayerQueueItems(e,s,a){return this.sendCommand("player_queues/items",{queue_id:e,limit:s,offset:a})}queueCommandClear(e){this.playerQueueCommand(e,"clear")}queueCommandPlayIndex(e,s){this.playerQueueCommand(e,"play_index",{index:s})}queueCommandMoveItem(e,s,a=1){this.playerQueueCommand(e,"move_item",{queue_item_id:s,pos_shift:a})}queueCommandMoveUp(e,s){this.queueCommandMoveItem(e,s,-1)}queueCommandMoveDown(e,s){this.queueCommandMoveItem(e,s,1)}queueCommandMoveNext(e,s){this.queueCommandMoveItem(e,s,0)}queueCommandDelete(e,s){this.playerQueueCommand(e,"delete_item",{item_id_or_index:s})}queueCommandSeek(e,s){this.playerQueueCommand(e,"seek",{position:s})}queueCommandSkip(e,s){this.playerQueueCommand(e,"skip",{seconds:s})}queueCommandSkipAhead(e){this.queueCommandSkip(e,10)}queueCommandSkipBack(e){this.queueCommandSkip(e,-10)}queueCommandShuffle(e,s){this.playerQueueCommand(e,"shuffle",{shuffle_enabled:s})}queueCommandShuffleToggle(e){this.queueCommandShuffle(e,!this.queues[e].shuffle_enabled)}queueCommandRepeat(e,s){this.playerQueueCommand(e,"repeat",{repeat_mode:s})}queueCommandRepeatToggle(e){this.queues[e],this.queues[e].repeat_mode==Sa.OFF?this.queueCommandRepeat(e,Sa.ONE):this.queues[e].repeat_mode==Sa.ONE?this.queueCommandRepeat(e,Sa.ALL):this.queueCommandRepeat(e,Sa.OFF)}queueCommandDontStopTheMusic(e,s){this.playerQueueCommand(e,"dont_stop_the_music",{dont_stop_the_music_enabled:s})}queueCommandDontStopTheMusicToggle(e){this.queueCommandDontStopTheMusic(e,!this.queues[e].dont_stop_the_music_enabled)}playerQueueCommand(e,s,a){this._sendCommand(`player_queues/${s}`,{queue_id:e,...a})}queueCommandTransfer(e,s,a){this._sendCommand("player_queues/transfer",{source_queue_id:e,target_queue_id:s,auto_play:a})}async getPlayers(){return this.sendCommand("players/all")}async getPlayer(e){return this.sendCommand("players/get",{player_id:e,raise_unavailable:!0})}playerCommandPlay(e){return this.playerCommand(e,"play")}playerCommandPause(e){return this.playerCommand(e,"pause")}playerCommandPlayPause(e){return this.playerCommand(e,"play_pause")}playerCommandStop(e){return this.playerCommand(e,"stop")}playerCommandNext(e){return this.playerCommand(e,"next")}playerCommandPrevious(e){return this.playerCommand(e,"previous")}playerCommandSeek(e,s){this.playerCommand(e,"seek",{position:s})}playerCommandPower(e,s){return this.playerCommand(e,"power",{powered:s})}playerCommandPowerToggle(e){return this.playerCommandPower(e,!this.players[e].powered)}async playerCommandVolumeSet(e,s){s=Math.max(s,0),s=Math.min(s,100),await this.playerCommand(e,"volume_set",{volume_level:s}),this.players[e].volume_level=s}playerCommandVolumeUp(e){return this.playerCommand(e,"volume_up")}playerCommandVolumeDown(e){return this.playerCommand(e,"volume_down")}playerCommandVolumeMute(e,s){return this.playerCommand(e,"volume_mute",{muted:s})}playerCommandMuteToggle(e){return this.playerCommandVolumeMute(e,!this.players[e].volume_muted)}playerCommandSetMembers(e,s,a){return this.playerCommand(e,"set_members",{target_player:e,player_ids_to_add:s,player_ids_to_remove:a})}playerCommandGroup(e,s){return this.playerCommand(e,"group",{target_player:s})}playerCommandUnGroup(e){return this.playerCommand(e,"ungroup")}playerCommand(e,s,a){return this.sendCommand(`players/cmd/${s}`,{player_id:e,...a})}removePlayer(e){return this.sendCommand("players/remove",{player_id:e})}playerCommandGroupVolume(e,s){this.playerCommand(e,"group_volume",{volume_level:s}),this.players[e].group_volume=s}playerCommandGroupVolumeUp(e){return this.playerCommand(e,"group_volume_up")}playerCommandGroupVolumeDown(e){return this.playerCommand(e,"group_volume_down")}async createPlayerGroup(e,s,a,n=!1){return this.sendCommand("players/create_group_player",{provider:e,name:s,members:a,dynamic:n})}playerCommandGroupSelectSource(e,s){return this.playerCommand(e,"select_source",{source:s})}async registerBuiltinPlayer(e,s){return this.sendCommand("builtin_player/register",{player_name:e,player_id:s})}async unregisterBuiltinPlayer(e){return this.sendCommand("builtin_player/unregister",{player_id:e})}async updateBuiltinPlayerState(e,s){return this.sendCommand("builtin_player/update_state",{player_id:e,state:s})}playMedia(e,s,a,n,r){return!r&&nt.activePlayer?.active_source&&nt.activePlayer?.active_source in this.queues?r=nt.activePlayer?.active_source:r||(r=nt.activePlayer?.player_id),this.sendCommand("player_queues/play_media",{queue_id:r,media:e,option:s,radio_mode:a,start_item:n})}async getProviderConfigs(e,s){return this.sendCommand("config/providers",{provider_type:e,provider_domain:s})}async getProviderConfig(e){return this.sendCommand("config/providers/get",{instance_id:e})}async getProviderConfigEntries(e,s,a,n){return this.sendCommand("config/providers/get_entries",{provider_domain:e,instance_id:s,action:a,values:n})}async saveProviderConfig(e,s,a){return this.sendCommand("config/providers/save",{provider_domain:e,values:s,instance_id:a})}removeProviderConfig(e){return this.sendCommand("config/providers/remove",{instance_id:e})}reloadProvider(e){return this.sendCommand("config/providers/reload",{instance_id:e})}async getPlayerConfigs(e){return this.sendCommand("config/players",{provider:e})}async getPlayerConfig(e){return this.sendCommand("config/players/get",{player_id:e})}async getPlayerConfigEntries(e,s,a){return this.sendCommand("config/players/get_entries",{player_id:e,action:s,values:a})}async getPlayerConfigValue(e,s){return this.sendCommand("config/players/get_value",{player_id:e,key:s})}async savePlayerConfig(e,s){return this.sendCommand("config/players/save",{player_id:e,values:s})}removePlayerConfig(e){return this.sendCommand("config/players/remove",{player_id:e})}async getDSPConfig(e){return this.sendCommand("config/players/dsp/get",{player_id:e})}async saveDSPConfig(e,s){return this.sendCommand("config/players/dsp/save",{player_id:e,config:s})}async getDSPPresets(){return this.sendCommand("config/dsp_presets/get")}async saveDSPPreset(e){return this.sendCommand("config/dsp_presets/save",{preset:e})}async removeDSPPreset(e){return this.sendCommand("config/dsp_presets/remove",{preset_id:e})}async getCoreConfigs(){return this.sendCommand("config/core")}async getCoreConfig(e){return this.sendCommand("config/core/get",{domain:e})}async getCoreConfigValue(e,s){return this.sendCommand("config/core/get_value",{domain:e,key:s})}async getCoreConfigEntries(e,s,a){return this.sendCommand("config/core/get_entries",{domain:e,action:s,values:a})}async saveCoreConfig(e,s){return this.sendCommand("config/core/save",{domain:e,values:s})}reloadCoreController(e){return this.sendCommand("config/core/reload",{domain:e})}startSync(e,s){return this.sendCommand("music/sync",{media_types:e,providers:s})}getProviderName(e){return e in this.providers&&(e=this.providers[e].instance_id),e in this.providers?this.providers[e].name:e in this.providerManifests?this.providerManifests[e].name:e}getProvider(e){if(e in this.providers)return this.providers[e];for(const s in this.providers){const a=this.providers[s];if(a.domain==e)return a}}getProviderManifest(e){if(e in this.providerManifests)return this.providerManifests[e];if(e in this.providers){const s=this.providers[e];return this.providerManifests[s.domain]}}handleEventMessage(e){if(e.event==Ie.QUEUE_ADDED){const s=e.data;this.queues[s.queue_id]=s}else if(e.event==Ie.QUEUE_UPDATED){const s=e.data;s.queue_id in this.queues?Object.assign(this.queues[s.queue_id],s):this.queues[s.queue_id]=s}else if(e.event==Ie.QUEUE_TIME_UPDATED){const s=e.object_id;s in this.queues&&(this.queues[s].elapsed_time=e.data)}else if(e.event==Ie.PLAYER_ADDED){const s=e.data;this.players[s.player_id]=s}else if(e.event==Ie.PLAYER_UPDATED){const s=e.data;s.player_id in this.players?Object.assign(this.players[s.player_id],s):this.players[s.player_id]=s}else if(e.event==Ie.PLAYER_REMOVED)delete this.players[e.object_id],delete this.queues[e.object_id];else if(e.event==Ie.SYNC_TASKS_UPDATED)this.syncTasks.value=e.data;else if(e.event==Ie.PROVIDERS_UPDATED){const s={};for(const a of e.data)s[a.instance_id]=a;this.providers=s}this.signalEvent(e)}handleResultMessage(e){const s=this.commands.get(e.message_id);if("error_code"in e&&(e=e,console.error("[resultMessage]",e),nt.activeAlert={type:p3.ERROR,message:e.details||e.error_code,persistent:!1}),!!s){if("partial"in e&&e.partial){e.message_id in this.partialResult||(this.partialResult[e.message_id]=[]),this.partialResult[e.message_id].push(...e.result);return}else e.message_id in this.partialResult&&("result"in e&&(e.result=this.partialResult[e.message_id].concat(e.result)),delete this.partialResult[e.message_id]);this.commands.delete(e.message_id),this.fetchesInProgress.value=this.fetchesInProgress.value.filter(a=>a!=e.message_id),"error_code"in e?s.reject(e.details||e.error_code):(e=e,s.resolve(e.result))}}handleServerInfoMessage(e){this.serverInfo.value=e,this.state.value=2,this._fetchState(),this.signalEvent({event:Ie.CONNECTED,object_id:"",data:e})}signalEvent(e){for(const s of this.eventCallbacks)(s[0]===Ie.ALL||s[0]===e.event)&&(s[1]=="*"||s[1]===e.object_id)&&s[2](e)}async changePassword(e,s){try{const a=await this.sendCommand("auth/user/update",{password:s,old_password:e});return typeof a=="boolean"?a:a==null||typeof a=="object"&&Object.keys(a).length===0?!0:typeof a=="object"&&"success"in a&&a.success===!1?!1:(typeof a=="object"&&("success"in a&&a.success===!0||"user"in a),!0)}catch(a){return console.error("Error changing password:",a),!1}}async getCurrentUserInfo(){try{return await this.sendCommand("auth/me")}catch(e){return console.error("Failed to get current user info:",e),null}}async getUserTokens(e){const s=e?{user_id:e}:void 0;return await this.sendCommand("auth/tokens",s)||[]}async createToken(e,s){const a={name:e};s&&(a.user_id=s);const n=await this.sendCommand("auth/token/create",a);if(typeof n=="string")return n;if(n.success===!1)throw new Error("Failed to create token");if(!n.token)throw new Error("Failed to create token");return n.token}async revokeToken(e){try{const s=await this.sendCommand("auth/token/revoke",{token_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:typeof s=="object"&&"success"in s&&s.success===!1?!1:(typeof s=="object"&&"success"in s&&s.success===!0,!0)}catch(s){return console.error("Error revoking token:",s),!1}}async logout(){return(await this.sendCommand("auth/logout")).success}async getAllUsers(){return await this.sendCommand("auth/users")}async createUser(e,s,a,n){try{const r=await this.sendCommand("auth/user/create",{username:e,password:s,role:a,display_name:n});if(r==null)throw new Error("Failed to create user");if(typeof r=="object"&&"user_id"in r)return r;if(typeof r=="object"&&"success"in r&&r.success===!1)throw new Error("Failed to create user");if(typeof r=="object"&&"user"in r&&r.user)return r.user;if(typeof r=="object"&&"user_id"in r)return r;throw new Error("Failed to create user")}catch(r){throw console.error("Error creating user:",r),r}}async updateUser(e,s){try{const a={user_id:e};s.username&&(a.username=s.username),s.displayName&&(a.display_name=s.displayName),s.avatarUrl&&(a.avatar_url=s.avatarUrl),s.role&&(a.role=s.role),s.password&&(a.password=s.password),s.oldPassword&&(a.old_password=s.oldPassword);const n=await this.sendCommand("auth/user/update",a);if(n==null)throw new Error("Failed to update user");if(typeof n=="object"&&"user_id"in n)return n;if(typeof n=="object"&&"success"in n&&n.success===!1)throw new Error("Failed to update user");if(typeof n=="object"&&"user"in n&&n.user)return n.user;if(typeof n=="object"&&"user_id"in n)return n;throw new Error("Failed to update user")}catch(a){throw console.error("Error updating user:",a),a}}async updateUserRole(e,s){try{return await this.updateUser(e,{role:s}),!0}catch{return!1}}async enableUser(e){try{const s=await this.sendCommand("auth/user/enable",{user_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:!(typeof s=="object"&&"success"in s&&s.success===!1)}catch(s){return console.error("Error enabling user:",s),!1}}async deleteUser(e){try{const s=await this.sendCommand("auth/user/delete",{user_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:!(typeof s=="object"&&"success"in s&&s.success===!1)}catch(s){return console.error("Error deleting user:",s),!1}}async disableUser(e){try{const s=await this.sendCommand("auth/user/disable",{user_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:!(typeof s=="object"&&"success"in s&&s.success===!1)}catch(s){return console.error("Error disabling user:",s),!1}}sendCommand(e,s){const a=this._genCmdId();return new Promise((n,r)=>{this.commands.set(a,{resolve:n,reject:r}),this.fetchesInProgress.value.push(a),this._sendCommand(e,s,a)})}_sendCommand(e,s,a){if(this.state.value!==2)throw new Error("Connection lost");a||(a=this._genCmdId());const n={command:e,message_id:a.toString(),args:s};this.ws.send(JSON.stringify(n))}async _fetchState(){for(const e of await this.getPlayers())e.available&&(this.players[e.player_id]=e);for(const e of await this.getPlayerQueues())this.queues[e.queue_id]=e;for(const e of await this.sendCommand("providers/manifests"))this.providerManifests[e.domain]=e;for(const e of await this.sendCommand("providers"))this.providers[e.instance_id]=e;this.syncTasks.value=await this.sendCommand("music/synctasks")}_genCmdId(){return crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>{const s=parseInt(e,10);return(s^crypto.getRandomValues(new Uint8Array(1))[0]&15>>s/4).toString(16)})}}const Y=new f3,u1=Object.freeze(Object.defineProperty({__proto__:null,ConnectionState:m3,MusicAssistantApi:f3,api:Y,default:Y},Symbol.toStringTag,{value:"Module"}));function gr(t){const e=t.slice(-2).toUpperCase();switch(!0){case t==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case t==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
|
|
1035
|
+
`)}function Zp(t,e){const s=t.dark?2:1,a=t.dark?1:2,n=[];for(const[r,o]of Object.entries(t.colors)){const u=es(o);n.push(`--${e}theme-${r}: ${u.r},${u.g},${u.b}`),r.startsWith("on-")||n.push(`--${e}theme-${r}-overlay-multiplier: ${jA(o)>.18?s:a}`)}for(const[r,o]of Object.entries(t.variables)){const u=typeof o=="string"&&o.startsWith("#")?es(o):void 0,l=u?`${u.r}, ${u.g}, ${u.b}`:void 0;n.push(`--${e}${r}: ${l??o}`)}return n}function $A(t,e,s){const a={};if(s)for(const n of["lighten","darken"]){const r=n==="lighten"?TA:PA;for(const o of j2(s[n],1))a[`${t}-${n}-${o}`]=SA(r(es(e),o))}return a}function YA(t,e){if(!e)return{};let s={};for(const a of e.colors){const n=t[a];n&&(s={...s,...$A(a,n,e)})}return s}function XA(t){const e={};for(const s of Object.keys(t)){if(s.startsWith("on-")||t[`on-${s}`])continue;const a=`on-${s}`,n=es(t[s]);e[a]=V2(n)}return e}function ZA(t,e){if(!e)return t;const s=`:where(${e})`;return t===":root"?s:`${s} ${t}`}function QA(t,e,s){const a=JA(t,e);a&&(a.innerHTML=s)}function JA(t,e){if(!re)return null;let s=document.getElementById(t);return s||(s=document.createElement("style"),s.id=t,s.type="text/css",e&&s.setAttribute("nonce",e),document.head.appendChild(s)),s}function t1(t){const e=KA(t),s=It(e.defaultTheme),a=Y(e.themes),n=It("light"),r=O({get(){return s.value==="system"?n.value:s.value},set(f){s.value=f}}),o=O(()=>{const f={};for(const[v,_]of Object.entries(a.value)){const k={..._.colors,...YA(_.colors,e.variations)};f[v]={..._,colors:{...k,...XA(k)}}}return f}),u=nt(()=>o.value[r.value]),l=nt(()=>s.value==="system"),d=O(()=>{const f=[],v=e.unimportant?"":" !important",_=e.scoped?e.prefix:"";u.value?.dark&&oa(f,":root",["color-scheme: dark"],e.scope),oa(f,":root",Zp(u.value,e.prefix),e.scope);for(const[k,S]of Object.entries(o.value))oa(f,`.${e.prefix}theme--${k}`,[`color-scheme: ${S.dark?"dark":"normal"}`,...Zp(S,e.prefix)],e.scope);if(e.utilities){const k=[],S=[],z=new Set(Object.values(o.value).flatMap(A=>Object.keys(A.colors)));for(const A of z)A.startsWith("on-")?oa(S,`.${A}`,[`color: rgb(var(--${e.prefix}theme-${A}))${v}`],e.scope):(oa(k,`.${_}bg-${A}`,[`--${e.prefix}theme-overlay-multiplier: var(--${e.prefix}theme-${A}-overlay-multiplier)`,`background-color: rgb(var(--${e.prefix}theme-${A}))${v}`,`color: rgb(var(--${e.prefix}theme-on-${A}))${v}`],e.scope),oa(S,`.${_}text-${A}`,[`color: rgb(var(--${e.prefix}theme-${A}))${v}`],e.scope),oa(S,`.${_}border-${A}`,[`--${e.prefix}border-color: var(--${e.prefix}theme-${A})`],e.scope));f.push(...k,...S)}return f.map((k,S)=>S===0?k:` ${k}`).join("")}),c=nt(()=>e.isDisabled?void 0:`${e.prefix}theme--${r.value}`),b=nt(()=>Object.keys(o.value));if(z2){let v=function(){n.value=f.matches?"dark":"light"};const f=window.matchMedia("(prefers-color-scheme: dark)");v(),f.addEventListener("change",v,{passive:!0}),nm()&&pi(()=>{f.removeEventListener("change",v)})}function p(f){if(e.isDisabled)return;const v=f._context.provides.usehead;if(v){let _=function(){return{style:[{textContent:d.value,id:e.stylesheetId,nonce:e.cspNonce||!1}]}};if(v.push){const k=v.push(_);re&&zt(d,()=>{k.patch(_)})}else re?(v.addHeadObjs(nt(_)),we(()=>v.updateDOM())):v.addHeadObjs(_())}else{let _=function(){QA(e.stylesheetId,e.cspNonce,d.value)};re?zt(d,_,{immediate:!0}):_()}}function m(f){f!=="system"&&!b.value.includes(f)||(r.value=f)}function g(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b.value;const v=f.indexOf(r.value),_=v===-1?0:(v+1)%f.length;m(f[_])}function h(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];g(f)}const y=new Proxy(r,{get(f,v){return Reflect.get(f,v)},set(f,v,_){return v==="value"&&A2(`theme.global.name.value = ${_}`,`theme.change('${_}')`),Reflect.set(f,v,_)}});return{install:p,change:m,cycle:g,toggle:h,isDisabled:e.isDisabled,isSystem:l,name:r,themes:a,current:u,computedThemes:o,prefix:e.prefix,themeClasses:c,styles:d,global:{name:y,current:u}}}function oi(t){Pe("provideTheme");const e=Wt(nr,null);if(!e)throw new Error("Could not find Vuetify theme injection");const s=nt(()=>t.theme??e.name.value),a=nt(()=>e.themes.value[s.value]),n=nt(()=>e.isDisabled?void 0:`${e.prefix}theme--${s.value}`),r={...e,name:s,current:a,themeClasses:n};return Ae(nr,r),r}function vc(){Pe("useTheme");const t=Wt(nr,null);if(!t)throw new Error("Could not find Vuetify theme injection");return t}const e1=mt({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:ne,opacity:[String,Number],...qt(),...Ar(),...me({tag:"i"}),...Ue()},"VIcon"),Yt=Rt()({name:"VIcon",props:e1(),setup(t,e){let{attrs:s,slots:a}=e;const n=It(),{themeClasses:r}=vc(),{iconData:o}=HA(()=>n.value||t.icon),{sizeClasses:u}=zr(t),{textColorClasses:l,textColorStyles:d}=$s(()=>t.color);return Ut(()=>{const c=a.default?.();c&&(n.value=x2(c).filter(p=>p.type===pn&&p.children&&typeof p.children=="string")[0]?.children);const b=!!(s.onClick||s.onClickOnce);return L(o.value.component,{tag:t.tag,icon:o.value.icon,class:wt(["v-icon","notranslate",r.value,u.value,l.value,{"v-icon--clickable":b,"v-icon--disabled":t.disabled,"v-icon--start":t.start,"v-icon--end":t.end},t.class]),style:Lt([{"--v-icon-opacity":t.opacity},u.value?void 0:{fontSize:Ot(t.size),height:Ot(t.size),width:Ot(t.size)},d.value,t.style]),role:b?"button":void 0,"aria-hidden":!b,tabindex:b?t.disabled?-1:0:void 0},{default:()=>[c]})}),{}}}),Ms=mt({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function xs(t){return{dimensionStyles:O(()=>{const s={},a=Ot(t.height),n=Ot(t.maxHeight),r=Ot(t.maxWidth),o=Ot(t.minHeight),u=Ot(t.minWidth),l=Ot(t.width);return a!=null&&(s.height=a),n!=null&&(s.maxHeight=n),r!=null&&(s.maxWidth=r),o!=null&&(s.minHeight=o),u!=null&&(s.minWidth=u),l!=null&&(s.width=l),s})}}function i1(t){return{aspectStyles:O(()=>{const e=Number(t.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const Y2=mt({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...qt(),...Ms()},"VResponsive"),Qp=Rt()({name:"VResponsive",props:Y2(),setup(t,e){let{slots:s}=e;const{aspectStyles:a}=i1(t),{dimensionStyles:n}=xs(t);return Ut(()=>N("div",{class:wt(["v-responsive",{"v-responsive--inline":t.inline},t.class]),style:Lt([n.value,t.style])},[N("div",{class:"v-responsive__sizer",style:Lt(a.value)},null),s.additional?.(),s.default&&N("div",{class:wt(["v-responsive__content",t.contentClass])},[s.default()])])),{}}}),ns=mt({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function rs(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();return{roundedClasses:O(()=>{const a=ge(t)?t.value:t.rounded,n=ge(t)?!1:t.tile,r=[];if(n||a===!1)r.push("rounded-0");else if(a===!0||a==="")r.push(`${e}--rounded`);else if(typeof a=="string"||a===0)for(const o of String(a).split(" "))r.push(`rounded-${o}`);return r})}}const fl=mt({transition:{type:null,default:"fade-transition",validator:t=>t!==!0}},"transition"),qs=(t,e)=>{let{slots:s}=e;const{transition:a,disabled:n,group:r,...o}=t,{component:u=r?Fd:va,...l}=Zu(a)?a:{};let d;return Zu(a)?d=Et(l,JS({disabled:n,group:r}),o):d=Et({name:n||!a?"":a},o),ue(u,d,s)};function s1(t,e){if(!lc)return;const s=e.modifiers||{},a=e.value,{handler:n,options:r}=typeof a=="object"?a:{handler:a,options:{}},o=new IntersectionObserver(function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const d=t._observe?.[e.instance.$.uid];if(!d)return;const c=u.some(b=>b.isIntersecting);n&&(!s.quiet||d.init)&&(!s.once||c||d.init)&&n(c,u,l),c&&s.once?X2(t,e):d.init=!0},r);t._observe=Object(t._observe),t._observe[e.instance.$.uid]={init:!1,observer:o},o.observe(t)}function X2(t,e){const s=t._observe?.[e.instance.$.uid];s&&(s.observer.unobserve(t),delete t._observe[e.instance.$.uid])}const Lo={mounted:s1,unmounted:X2},a1=mt({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Y2(),...qt(),...ns(),...fl()},"VImg"),rr=Rt()({name:"VImg",directives:{vIntersect:Lo},props:a1(),emits:{loadstart:t=>!0,load:t=>!0,error:t=>!0},setup(t,e){let{emit:s,slots:a}=e;const{backgroundColorClasses:n,backgroundColorStyles:r}=pa(()=>t.color),{roundedClasses:o}=rs(t),u=Pe("VImg"),l=It(""),d=Y(),c=It(t.eager?"loading":"idle"),b=It(),p=It(),m=O(()=>t.src&&typeof t.src=="object"?{src:t.src.src,srcset:t.srcset||t.src.srcset,lazySrc:t.lazySrc||t.src.lazySrc,aspect:Number(t.aspectRatio||t.src.aspect||0)}:{src:t.src,srcset:t.srcset,lazySrc:t.lazySrc,aspect:Number(t.aspectRatio||0)}),g=O(()=>m.value.aspect||b.value/p.value||0);zt(()=>t.src,()=>{h(c.value!=="idle")}),zt(g,(j,B)=>{!j&&B&&d.value&&k(d.value)}),_r(()=>h());function h(j){if(!(t.eager&&j)&&!(lc&&!j&&!t.eager)){if(c.value="loading",m.value.lazySrc){const B=new Image;B.src=m.value.lazySrc,k(B,null)}m.value.src&&_e(()=>{s("loadstart",d.value?.currentSrc||m.value.src),setTimeout(()=>{if(!u.isUnmounted)if(d.value?.complete){if(d.value.naturalWidth||f(),c.value==="error")return;g.value||k(d.value,null),c.value==="loading"&&y()}else g.value||k(d.value),v()})})}}function y(){u.isUnmounted||(v(),k(d.value),c.value="loaded",s("load",d.value?.currentSrc||m.value.src))}function f(){u.isUnmounted||(c.value="error",s("error",d.value?.currentSrc||m.value.src))}function v(){const j=d.value;j&&(l.value=j.currentSrc||j.src)}let _=-1;Re(()=>{clearTimeout(_)});function k(j){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const H=()=>{if(clearTimeout(_),u.isUnmounted)return;const{naturalHeight:st,naturalWidth:ut}=j;st||ut?(b.value=ut,p.value=st):!j.complete&&c.value==="loading"&&B!=null?_=window.setTimeout(H,B):(j.currentSrc.endsWith(".svg")||j.currentSrc.startsWith("data:image/svg+xml"))&&(b.value=1,p.value=1)};H()}const S=nt(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),z=()=>{if(!m.value.src||c.value==="idle")return null;const j=N("img",{class:wt(["v-img__img",S.value]),style:{objectPosition:t.position},crossorigin:t.crossorigin,src:m.value.src,srcset:m.value.srcset,alt:t.alt,referrerpolicy:t.referrerpolicy,draggable:t.draggable,sizes:t.sizes,ref:d,onLoad:y,onError:f},null),B=a.sources?.();return L(qs,{transition:t.transition,appear:!0},{default:()=>[yi(B?N("picture",{class:"v-img__picture"},[B,j]):j,[[wa,c.value==="loaded"]])]})},A=()=>L(qs,{transition:t.transition},{default:()=>[m.value.lazySrc&&c.value!=="loaded"&&N("img",{class:wt(["v-img__img","v-img__img--preload",S.value]),style:{objectPosition:t.position},crossorigin:t.crossorigin,src:m.value.lazySrc,alt:t.alt,referrerpolicy:t.referrerpolicy,draggable:t.draggable},null)]}),w=()=>a.placeholder?L(qs,{transition:t.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!a.error)&&N("div",{class:"v-img__placeholder"},[a.placeholder()])]}):null,I=()=>a.error?L(qs,{transition:t.transition,appear:!0},{default:()=>[c.value==="error"&&N("div",{class:"v-img__error"},[a.error()])]}):null,T=()=>t.gradient?N("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null):null,D=It(!1);{const j=zt(g,B=>{B&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{D.value=!0})}),j())})}return Ut(()=>{const j=Qp.filterProps(t);return yi(L(Qp,Et({class:["v-img",{"v-img--absolute":t.absolute,"v-img--booting":!D.value},n.value,o.value,t.class],style:[{width:Ot(t.width==="auto"?b.value:t.width)},r.value,t.style]},j,{aspectRatio:g.value,"aria-label":t.alt,role:t.alt?"img":void 0}),{additional:()=>N(vt,null,[L(z,null,null),L(A,null,null),L(T,null,null),L(w,null,null),L(I,null,null)]),default:a.default}),[[Lo,{handler:h,options:t.options},null,{once:!0}]])}),{currentSrc:l,image:d,state:c,naturalWidth:b,naturalHeight:p}}}),za=mt({border:[Boolean,Number,String]},"border");function Ta(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();return{borderClasses:O(()=>{const a=t.border;return a===!0||a===""?`${e}--border`:typeof a=="string"||a===0?String(a).split(" ").map(n=>`border-${n}`):[]})}}const n1=[null,"default","comfortable","compact"],Is=mt({density:{type:String,default:"default",validator:t=>n1.includes(t)}},"density");function ea(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();return{densityClasses:nt(()=>`${e}--density-${t.density}`)}}const r1=["elevated","flat","tonal","outlined","text","plain"];function Tr(t,e){return N(vt,null,[t&&N("span",{key:"overlay",class:wt(`${e}__overlay`)},null),N("span",{key:"underlay",class:wt(`${e}__underlay`)},null)])}const ia=mt({color:String,variant:{type:String,default:"elevated",validator:t=>r1.includes(t)}},"variant");function Pr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();const s=nt(()=>{const{variant:r}=hi(t);return`${e}--variant-${r}`}),{colorClasses:a,colorStyles:n}=fc(()=>{const{variant:r,color:o}=hi(t);return{[["elevated","flat"].includes(r)?"background":"text"]:o}});return{colorClasses:a,colorStyles:n,variantClasses:s}}const o1=mt({start:Boolean,end:Boolean,icon:ne,image:String,text:String,...za(),...qt(),...Is(),...ns(),...Ar(),...me(),...Ue(),...ia({variant:"flat"})},"VAvatar"),Ys=Rt()({name:"VAvatar",props:o1(),setup(t,e){let{slots:s}=e;const{themeClasses:a}=oi(t),{borderClasses:n}=Ta(t),{colorClasses:r,colorStyles:o,variantClasses:u}=Pr(t),{densityClasses:l}=ea(t),{roundedClasses:d}=rs(t),{sizeClasses:c,sizeStyles:b}=zr(t);return Ut(()=>L(t.tag,{class:wt(["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},a.value,n.value,r.value,l.value,d.value,c.value,u.value,t.class]),style:Lt([o.value,b.value,t.style])},{default:()=>[s.default?L(Ze,{key:"content-defaults",defaults:{VImg:{cover:!0,src:t.image},VIcon:{icon:t.icon}}},{default:()=>[s.default()]}):t.image?L(rr,{key:"image",src:t.image,alt:"",cover:!0},null):t.icon?L(Yt,{key:"icon",icon:t.icon},null):t.text,Tr(!1,"v-avatar")]})),{}}}),l1=mt({appendAvatar:String,appendIcon:ne,prependAvatar:String,prependIcon:ne,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...qt(),...Is(),...me()},"VCardItem"),u1=Rt()({name:"VCardItem",props:l1(),setup(t,e){let{slots:s}=e;return Ut(()=>{const a=!!(t.prependAvatar||t.prependIcon),n=!!(a||s.prepend),r=!!(t.appendAvatar||t.appendIcon),o=!!(r||s.append),u=!!(t.title!=null||s.title),l=!!(t.subtitle!=null||s.subtitle);return L(t.tag,{class:wt(["v-card-item",t.class]),style:Lt(t.style)},{default:()=>[n&&N("div",{key:"prepend",class:"v-card-item__prepend"},[s.prepend?L(Ze,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon}}},s.prepend):N(vt,null,[t.prependAvatar&&L(Ys,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&L(Yt,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)])]),N("div",{class:"v-card-item__content"},[u&&L(BA,{key:"title"},{default:()=>[s.title?.()??_t(t.title)]}),l&&L(NA,{key:"subtitle"},{default:()=>[s.subtitle?.()??_t(t.subtitle)]}),s.default?.()]),o&&N("div",{key:"append",class:"v-card-item__append"},[s.append?L(Ze,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon}}},s.append):N(vt,null,[t.appendIcon&&L(Yt,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&L(Ys,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)])])]})}),{}}}),d1=mt({opacity:[Number,String],...qt(),...me()},"VCardText"),Z2=Rt()({name:"VCardText",props:d1(),setup(t,e){let{slots:s}=e;return Ut(()=>L(t.tag,{class:wt(["v-card-text",t.class]),style:Lt([{"--v-card-text-opacity":t.opacity},t.style])},s)),{}}}),fn=mt({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function vn(t){return{elevationClasses:nt(()=>{const s=ge(t)?t.value:t.elevation;return s==null?[]:[`elevation-${s}`]})}}function Q2(t,e){const s=Y(),a=It(!1);if(lc){const n=new IntersectionObserver(r=>{a.value=!!r.find(o=>o.isIntersecting)},e);pi(()=>{n.disconnect()}),zt(s,(r,o)=>{o&&(n.unobserve(o),a.value=!1),r&&n.observe(r)},{flush:"post"})}return{intersectionRef:s,isIntersecting:a}}function ha(t,e){let s;function a(){s=an(),s.run(()=>e.length?e(()=>{s?.stop(),a()}):e())}zt(t,n=>{n&&!s?a():n||(s?.stop(),s=void 0)},{immediate:!0}),pi(()=>{s?.stop()})}function bi(t,e,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:b=>b,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:b=>b;const r=Pe("useProxiedModel"),o=Y(t[e]!==void 0?t[e]:s),u=ba(e),d=O(u!==e?()=>(t[e],!!((r.vnode.props?.hasOwnProperty(e)||r.vnode.props?.hasOwnProperty(u))&&(r.vnode.props?.hasOwnProperty(`onUpdate:${e}`)||r.vnode.props?.hasOwnProperty(`onUpdate:${u}`)))):()=>(t[e],!!(r.vnode.props?.hasOwnProperty(e)&&r.vnode.props?.hasOwnProperty(`onUpdate:${e}`))));ha(()=>!d.value,()=>{zt(()=>t[e],b=>{o.value=b})});const c=O({get(){const b=t[e];return a(d.value?b:o.value)},set(b){const p=n(b),m=Ct(d.value?t[e]:o.value);m===p||a(m)===b||(o.value=p,r?.emit(`update:${e}`,p))}});return Object.defineProperty(c,"externalValue",{get:()=>d.value?t[e]:o.value}),c}const c1={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},Jp="$vuetify.",t0=(t,e)=>t.replace(/\{(\d+)\}/g,(s,a)=>String(e[Number(a)])),J2=(t,e,s)=>function(a){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(!a.startsWith(Jp))return t0(a,r);const u=a.replace(Jp,""),l=t.value&&s.value[t.value],d=e.value&&s.value[e.value];let c=Xu(l,u,null);return c||(`${a}${t.value}`,c=Xu(d,u,null)),c||(c=a),typeof c!="string"&&(c=a),t0(c,r)};function gc(t,e){return(s,a)=>new Intl.NumberFormat([t.value,e.value],a).format(s)}function tv(t,e){return gc(t,e)(.1).includes(",")?",":"."}function Wl(t,e,s){const a=bi(t,e,t[e]??s.value);return a.value=t[e]??s.value,zt(s,n=>{t[e]==null&&(a.value=s.value)}),a}function ev(t){return e=>{const s=Wl(e,"locale",t.current),a=Wl(e,"fallback",t.fallback),n=Wl(e,"messages",t.messages);return{name:"vuetify",current:s,fallback:a,messages:n,decimalSeparator:nt(()=>tv(s,a)),t:J2(s,a,n),n:gc(s,a),provide:ev({current:s,fallback:a,messages:n})}}}function b1(t){const e=It(t?.locale??"en"),s=It(t?.fallback??"en"),a=Y({en:c1,...t?.messages});return{name:"vuetify",current:e,fallback:s,messages:a,decimalSeparator:nt(()=>t?.decimalSeparator??tv(e,s)),t:J2(e,s,a),n:gc(e,s),provide:ev({current:e,fallback:s,messages:a})}}const Ro=Symbol.for("vuetify:locale");function p1(t){return t.name!=null}function m1(t){const e=t?.adapter&&p1(t?.adapter)?t?.adapter:b1(t),s=v1(e,t);return{...e,...s}}function iv(){const t=Wt(Ro);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function f1(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function v1(t,e){const s=Y(e?.rtl??f1()),a=O(()=>s.value[t.current.value]??!1);return{isRtl:a,rtl:s,rtlClasses:nt(()=>`v-locale--is-${a.value?"rtl":"ltr"}`)}}function os(){const t=Wt(Ro);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}const e0={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},_c=mt({location:String},"location");function hc(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=arguments.length>2?arguments[2]:void 0;const{isRtl:a}=os();return{locationStyles:O(()=>{if(!t.location)return{};const{side:r,align:o}=Ju(t.location.split(" ").length>1?t.location:`${t.location} center`,a.value);function u(d){return s?s(d):0}const l={};return r!=="center"&&(e?l[e0[r]]=`calc(100% - ${u(r)}px)`:l[r]=0),o!=="center"?e?l[e0[o]]=`calc(100% - ${u(o)}px)`:l[o]=0:(r==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),l})}}function or(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const s=Qu(),a=Y();if(re){const n=new ResizeObserver(r=>{t?.(r,n),r.length&&(e==="content"?a.value=r[0].contentRect:a.value=r[0].target.getBoundingClientRect())});Re(()=>{n.disconnect()}),zt(()=>s.el,(r,o)=>{o&&(n.unobserve(o),a.value=void 0),r&&n.observe(r)},{flush:"post"})}return{resizeRef:s,contentRect:nn(a)}}const g1=mt({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},"chunks");function _1(t,e){const s=nt(()=>!!t.chunkCount||!!t.chunkWidth),a=O(()=>{const u=hi(e);if(!u)return 0;if(!t.chunkCount)return Number(t.chunkWidth);const l=Number(t.chunkCount);return(u-Number(t.chunkGap)*(l-1))/l}),n=nt(()=>Number(t.chunkGap)),r=O(()=>{if(!s.value)return{};const u=Ot(n.value),l=Ot(a.value);return{maskRepeat:"repeat-x",maskImage:`linear-gradient(90deg, #000, #000 ${l}, transparent ${l}, transparent)`,maskSize:`calc(${l} + ${u}) 100%`}});function o(u){const l=hi(e);if(!l)return u;const d=100*n.value/l,c=100*(a.value+n.value)/l,b=Math.floor((u+d)/c);return zs(0,b*c-d/2,100)}return{hasChunks:s,chunksMaskStyles:r,snapValueToChunk:o}}const h1=mt({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...g1(),...qt(),..._c({location:"top"}),...ns(),...me(),...Ue()},"VProgressLinear"),yc=Rt()({name:"VProgressLinear",props:h1(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const a=Y(),n=bi(t,"modelValue"),{isRtl:r,rtlClasses:o}=os(),{themeClasses:u}=oi(t),{locationStyles:l}=hc(t),{textColorClasses:d,textColorStyles:c}=$s(()=>t.color),{backgroundColorClasses:b,backgroundColorStyles:p}=pa(()=>t.bgColor||t.color),{backgroundColorClasses:m,backgroundColorStyles:g}=pa(()=>t.bufferColor||t.bgColor||t.color),{backgroundColorClasses:h,backgroundColorStyles:y}=pa(()=>t.color),{roundedClasses:f}=rs(t),{intersectionRef:v,isIntersecting:_}=Q2(),k=O(()=>parseFloat(t.max)),S=O(()=>parseFloat(t.height)),z=O(()=>zs(parseFloat(t.bufferValue)/k.value*100,0,100)),A=O(()=>zs(parseFloat(n.value)/k.value*100,0,100)),w=O(()=>r.value!==t.reverse),I=O(()=>t.indeterminate?"fade-transition":"slide-x-transition"),T=It(0),{hasChunks:D,chunksMaskStyles:j,snapValueToChunk:B}=_1(t,T);ha(D,()=>{const{resizeRef:rt}=or(tt=>T.value=tt[0].contentRect.width);we(()=>rt.value=a.value)});const H=O(()=>D.value?B(z.value):z.value),st=O(()=>D.value?B(A.value):A.value);function ut(rt){if(!v.value)return;const{left:tt,right:ct,width:pt}=v.value.getBoundingClientRect(),St=w.value?pt-rt.clientX+(ct-pt):rt.clientX-tt;n.value=Math.round(St/pt*k.value)}return we(()=>{v.value=a.value}),Ut(()=>L(t.tag,{ref:a,class:wt(["v-progress-linear",{"v-progress-linear--absolute":t.absolute,"v-progress-linear--active":t.active&&_.value,"v-progress-linear--reverse":w.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped,"v-progress-linear--clickable":t.clickable},f.value,u.value,o.value,t.class]),style:Lt([{bottom:t.location==="bottom"?0:void 0,top:t.location==="top"?0:void 0,height:t.active?Ot(S.value):0,"--v-progress-linear-height":Ot(S.value),...t.absolute?l.value:{}},j.value,t.style]),role:"progressbar","aria-hidden":t.active?"false":"true","aria-valuemin":"0","aria-valuemax":t.max,"aria-valuenow":t.indeterminate?void 0:Math.min(parseFloat(n.value),k.value),onClick:t.clickable&&ut},{default:()=>[t.stream&&N("div",{key:"stream",class:wt(["v-progress-linear__stream",d.value]),style:{...c.value,[w.value?"left":"right"]:Ot(-S.value),borderTop:`${Ot(S.value/2)} dotted`,opacity:parseFloat(t.bufferOpacity),top:`calc(50% - ${Ot(S.value/4)})`,width:Ot(100-z.value,"%"),"--v-progress-linear-stream-to":Ot(S.value*(w.value?1:-1))}},null),N("div",{class:wt(["v-progress-linear__background",b.value]),style:Lt([p.value,{opacity:parseFloat(t.bgOpacity),width:t.stream?0:void 0}])},null),N("div",{class:wt(["v-progress-linear__buffer",m.value]),style:Lt([g.value,{opacity:parseFloat(t.bufferOpacity),width:Ot(H.value,"%")}])},null),L(va,{name:I.value},{default:()=>[t.indeterminate?N("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(rt=>N("div",{key:rt,class:wt(["v-progress-linear__indeterminate",rt,h.value]),style:Lt(y.value)},null))]):N("div",{class:wt(["v-progress-linear__determinate",h.value]),style:Lt([y.value,{width:Ot(st.value,"%")}])},null)]}),s.default&&N("div",{class:"v-progress-linear__content"},[s.default({value:A.value,buffer:z.value})])]})),{}}}),kc=mt({loading:[Boolean,String]},"loader");function wc(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();return{loaderClasses:nt(()=>({[`${e}--loading`]:t.loading}))}}function sv(t,e){let{slots:s}=e;return N("div",{class:wt(`${t.name}__loader`)},[s.default?.({color:t.color,isActive:t.active})||L(yc,{absolute:t.absolute,active:t.active,color:t.color,height:"2",indeterminate:!0},null)])}const y1=["static","relative","fixed","absolute","sticky"],av=mt({position:{type:String,validator:t=>y1.includes(t)}},"position");function nv(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();return{positionClasses:nt(()=>t.position?`${e}--${t.position}`:void 0)}}function k1(){const t=Pe("useRoute");return O(()=>t?.proxy?.$route)}function w1(){return Pe("useRouter")?.proxy?.$router}function vl(t,e){const s=La("RouterLink"),a=nt(()=>!!(t.href||t.to)),n=O(()=>a?.value||xp(e,"click")||xp(t,"click"));if(typeof s=="string"||!("useLink"in s)){const b=nt(()=>t.href);return{isLink:a,isRouterLink:nt(()=>!1),isClickable:n,href:b,linkProps:de({href:b})}}const r=s.useLink({to:nt(()=>t.to||""),replace:nt(()=>t.replace)}),o=O(()=>t.to?r:void 0),u=k1(),l=O(()=>o.value?t.exact?u.value?o.value.isExactActive?.value&&Ws(o.value.route.value.query,u.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),d=O(()=>t.to?o.value?.route.value.href:t.href),c=nt(()=>!!t.to);return{isLink:a,isRouterLink:c,isClickable:n,isActive:l,route:o.value?.route,navigate:o.value?.navigate,href:d,linkProps:de({href:d,"aria-current":nt(()=>l.value?"page":void 0),"aria-disabled":nt(()=>t.disabled&&a.value?"true":void 0),tabindex:nt(()=>t.disabled&&a.value?"-1":void 0)})}}const gl=mt({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Kl=!1;function S1(t,e){let s=!1,a,n;re&&t?.beforeEach&&(_e(()=>{window.addEventListener("popstate",r),a=t.beforeEach((o,u,l)=>{Kl?s?e(l):l():setTimeout(()=>s?e(l):l()),Kl=!0}),n=t?.afterEach(()=>{Kl=!1})}),pi(()=>{window.removeEventListener("popstate",r),a?.(),n?.()}));function r(o){o.state?.replaced||(s=!0,setTimeout(()=>s=!1))}}const id=Symbol("rippleStop"),A1=80;function i0(t,e){t.style.transform=e,t.style.webkitTransform=e}function sd(t){return t.constructor.name==="TouchEvent"}function rv(t){return t.constructor.name==="KeyboardEvent"}const z1=function(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=0,n=0;if(!rv(t)){const b=e.getBoundingClientRect(),p=sd(t)?t.touches[t.touches.length-1]:t;a=p.clientX-b.left,n=p.clientY-b.top}let r=0,o=.3;e._ripple?.circle?(o=.15,r=e.clientWidth/2,r=s.center?r:r+Math.sqrt((a-r)**2+(n-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const u=`${(e.clientWidth-r*2)/2}px`,l=`${(e.clientHeight-r*2)/2}px`,d=s.center?u:`${a-r}px`,c=s.center?l:`${n-r}px`;return{radius:r,scale:o,x:d,y:c,centerX:u,centerY:l}},Oo={show(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!e?._ripple?.enabled)return;const a=document.createElement("span"),n=document.createElement("span");a.appendChild(n),a.className="v-ripple__container",s.class&&(a.className+=` ${s.class}`);const{radius:r,scale:o,x:u,y:l,centerX:d,centerY:c}=z1(t,e,s),b=`${r*2}px`;n.className="v-ripple__animation",n.style.width=b,n.style.height=b,e.appendChild(a);const p=window.getComputedStyle(e);p&&p.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),i0(n,`translate(${u}, ${l}) scale3d(${o},${o},${o})`),n.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),i0(n,`translate(${d}, ${c}) scale3d(1,1,1)`)})})},hide(t){if(!t?._ripple?.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const s=Array.from(e).findLast(r=>!r.dataset.isHiding);if(s)s.dataset.isHiding="true";else return;const a=performance.now()-Number(s.dataset.activated),n=Math.max(250-a,0);setTimeout(()=>{s.classList.remove("v-ripple__animation--in"),s.classList.add("v-ripple__animation--out"),setTimeout(()=>{t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),s.parentNode?.parentNode===t&&t.removeChild(s.parentNode)},300)},n)}};function ov(t){return typeof t>"u"||!!t}function lr(t){const e={},s=t.currentTarget;if(!(!s?._ripple||s._ripple.touched||t[id])){if(t[id]=!0,sd(t))s._ripple.touched=!0,s._ripple.isTouch=!0;else if(s._ripple.isTouch)return;if(e.center=s._ripple.centered||rv(t),s._ripple.class&&(e.class=s._ripple.class),sd(t)){if(s._ripple.showTimerCommit)return;s._ripple.showTimerCommit=()=>{Oo.show(t,s,e)},s._ripple.showTimer=window.setTimeout(()=>{s?._ripple?.showTimerCommit&&(s._ripple.showTimerCommit(),s._ripple.showTimerCommit=null)},A1)}else Oo.show(t,s,e)}}function s0(t){t[id]=!0}function _i(t){const e=t.currentTarget;if(e?._ripple){if(window.clearTimeout(e._ripple.showTimer),t.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{_i(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),Oo.hide(e)}}function lv(t){const e=t.currentTarget;e?._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let ur=!1;function a0(t,e){!ur&&e.includes(t.key)&&(ur=!0,lr(t))}function uv(t){ur=!1,_i(t)}function dv(t){ur&&(ur=!1,_i(t))}function cv(t,e,s){const{value:a,modifiers:n}=e,r=ov(a);r||Oo.hide(t),t._ripple=t._ripple??{},t._ripple.enabled=r,t._ripple.centered=n.center,t._ripple.circle=n.circle;const o=Zu(a)?a:{};o.class&&(t._ripple.class=o.class);const u=o.keys??["Enter","Space"];if(t._ripple.keyDownHandler=l=>a0(l,u),r&&!s){if(n.stop){t.addEventListener("touchstart",s0,{passive:!0}),t.addEventListener("mousedown",s0);return}t.addEventListener("touchstart",lr,{passive:!0}),t.addEventListener("touchend",_i,{passive:!0}),t.addEventListener("touchmove",lv,{passive:!0}),t.addEventListener("touchcancel",_i),t.addEventListener("mousedown",lr),t.addEventListener("mouseup",_i),t.addEventListener("mouseleave",_i),t.addEventListener("keydown",l=>a0(l,u)),t.addEventListener("keyup",uv),t.addEventListener("blur",dv),t.addEventListener("dragstart",_i,{passive:!0})}else!r&&s&&bv(t)}function bv(t){t.removeEventListener("mousedown",lr),t.removeEventListener("touchstart",lr),t.removeEventListener("touchend",_i),t.removeEventListener("touchmove",lv),t.removeEventListener("touchcancel",_i),t.removeEventListener("mouseup",_i),t.removeEventListener("mouseleave",_i),t._ripple?.keyDownHandler&&t.removeEventListener("keydown",t._ripple.keyDownHandler),t.removeEventListener("keyup",uv),t.removeEventListener("dragstart",_i),t.removeEventListener("blur",dv)}function T1(t,e){cv(t,e,!1)}function P1(t){bv(t),delete t._ripple}function j1(t,e){if(e.value===e.oldValue)return;const s=ov(e.oldValue);cv(t,e,s)}const ya={mounted:T1,unmounted:P1,updated:j1},C1=mt({appendAvatar:String,appendIcon:ne,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:ne,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...za(),...qt(),...Is(),...Ms(),...fn(),...kc(),..._c(),...av(),...ns(),...gl(),...me(),...Ue(),...ia({variant:"elevated"})},"VCard"),dr=Rt()({name:"VCard",directives:{vRipple:ya},props:C1(),setup(t,e){let{attrs:s,slots:a}=e;const{themeClasses:n}=oi(t),{borderClasses:r}=Ta(t),{colorClasses:o,colorStyles:u,variantClasses:l}=Pr(t),{densityClasses:d}=ea(t),{dimensionStyles:c}=xs(t),{elevationClasses:b}=vn(t),{loaderClasses:p}=wc(t),{locationStyles:m}=hc(t),{positionClasses:g}=nv(t),{roundedClasses:h}=rs(t),y=vl(t,s),f=It(void 0);return zt(()=>t.loading,(v,_)=>{f.value=!v&&typeof _=="string"?_:typeof v=="boolean"?void 0:v},{immediate:!0}),Ut(()=>{const v=t.link!==!1&&y.isLink.value,_=!t.disabled&&t.link!==!1&&(t.link||y.isClickable.value),k=v?"a":t.tag,S=!!(a.title||t.title!=null),z=!!(a.subtitle||t.subtitle!=null),A=S||z,w=!!(a.append||t.appendAvatar||t.appendIcon),I=!!(a.prepend||t.prependAvatar||t.prependIcon),T=!!(a.image||t.image),D=A||I||w,j=!!(a.text||t.text!=null);return yi(L(k,Et(y.linkProps,{class:["v-card",{"v-card--disabled":t.disabled,"v-card--flat":t.flat,"v-card--hover":t.hover&&!(t.disabled||t.flat),"v-card--link":_},n.value,r.value,o.value,d.value,b.value,p.value,g.value,h.value,l.value,t.class],style:[u.value,c.value,m.value,t.style],onClick:_&&y.navigate,tabindex:t.disabled?-1:void 0}),{default:()=>[T&&N("div",{key:"image",class:"v-card__image"},[a.image?L(Ze,{key:"image-defaults",disabled:!t.image,defaults:{VImg:{cover:!0,src:t.image}}},a.image):L(rr,{key:"image-img",cover:!0,src:t.image},null)]),L(sv,{name:"v-card",active:!!t.loading,color:f.value},{default:a.loader}),D&&L(u1,{key:"item",prependAvatar:t.prependAvatar,prependIcon:t.prependIcon,title:t.title,subtitle:t.subtitle,appendAvatar:t.appendAvatar,appendIcon:t.appendIcon},{default:a.item,prepend:a.prepend,title:a.title,subtitle:a.subtitle,append:a.append}),j&&L(Z2,{key:"text"},{default:()=>[a.text?.()??t.text]}),a.default?.(),a.actions&&L(U2,null,{default:a.actions}),Tr(_,"v-card")]}),[[ya,_&&t.ripple]])}),{}}}),E1=mt({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...qt(),...Ue()},"VDivider"),pv=Rt()({name:"VDivider",props:E1(),setup(t,e){let{attrs:s,slots:a}=e;const{themeClasses:n}=oi(t),{textColorClasses:r,textColorStyles:o}=$s(()=>t.color),u=O(()=>{const l={};return t.length&&(l[t.vertical?"height":"width"]=Ot(t.length)),t.thickness&&(l[t.vertical?"borderRightWidth":"borderTopWidth"]=Ot(t.thickness)),l});return Ut(()=>{const l=N("hr",{class:wt([{"v-divider":!0,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},n.value,r.value,t.class]),style:Lt([u.value,o.value,{"--v-border-opacity":t.opacity},t.style]),"aria-orientation":!s.role||s.role==="separator"?t.vertical?"vertical":"horizontal":void 0,role:`${s.role||"separator"}`},null);return a.default?N("div",{class:wt(["v-divider__wrapper",{"v-divider__wrapper--vertical":t.vertical,"v-divider__wrapper--inset":t.inset}])},[l,N("div",{class:"v-divider__content"},[a.default()]),l]):l}),{}}}),M1=mt({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ki(t,e,s){return Rt()({name:t,props:M1({mode:s,origin:e}),setup(a,n){let{slots:r}=n;const o={onBeforeEnter(u){a.origin&&(u.style.transformOrigin=a.origin)},onLeave(u){if(a.leaveAbsolute){const{offsetTop:l,offsetLeft:d,offsetWidth:c,offsetHeight:b}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${l}px`,u.style.left=`${d}px`,u.style.width=`${c}px`,u.style.height=`${b}px`}a.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(a.leaveAbsolute&&u?._transitionInitialStyles){const{position:l,top:d,left:c,width:b,height:p}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=l||"",u.style.top=d||"",u.style.left=c||"",u.style.width=b||"",u.style.height=p||""}}};return()=>{const u=a.group?Fd:va;return ue(u,{name:a.disabled?"":t,css:!a.disabled,...a.group?void 0:{mode:a.mode},...a.disabled?{}:o},r.default)}}})}function mv(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Rt()({name:t,props:{mode:{type:String,default:s},disabled:{type:Boolean,default:cn()},group:Boolean},setup(a,n){let{slots:r}=n;const o=a.group?Fd:va;return()=>ue(o,{name:a.disabled?"":t,css:!a.disabled,...a.disabled?{}:e},r.default)}})}function fv(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",a=Qe(`offset-${s}`);return{onBeforeEnter(o){o._parent=o.parentNode,o._initialStyle={transition:o.style.transition,overflow:o.style.overflow,[s]:o.style[s]}},onEnter(o){const u=o._initialStyle;if(!u)return;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const l=`${o[a]}px`;o.style[s]="0",o.offsetHeight,o.style.transition=u.transition,t&&o._parent&&o._parent.classList.add(t),requestAnimationFrame(()=>{o.style[s]=l})},onAfterEnter:r,onEnterCancelled:r,onLeave(o){o._initialStyle={transition:"",overflow:o.style.overflow,[s]:o.style[s]},o.style.overflow="hidden",o.style[s]=`${o[a]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[s]="0")},onAfterLeave:n,onLeaveCancelled:n};function n(o){t&&o._parent&&o._parent.classList.remove(t),r(o)}function r(o){if(!o._initialStyle)return;const u=o._initialStyle[s];o.style.overflow=o._initialStyle.overflow,u!=null&&(o.style[s]=u),delete o._initialStyle}}const x1=mt({target:[Object,Array]},"v-dialog-transition"),$l=new WeakMap,I1=Rt()({name:"VDialogTransition",props:x1(),setup(t,e){let{slots:s}=e;const a={onBeforeEnter(n){n.style.pointerEvents="none",n.style.visibility="hidden"},async onEnter(n,r){await new Promise(p=>requestAnimationFrame(p)),await new Promise(p=>requestAnimationFrame(p)),n.style.visibility="";const o=r0(t.target,n),{x:u,y:l,sx:d,sy:c,speed:b}=o;if($l.set(n,o),cn())Vs(n,[{opacity:0},{}],{duration:125*b,easing:Kp}).finished.then(()=>r());else{const p=Vs(n,[{transform:`translate(${u}px, ${l}px) scale(${d}, ${c})`,opacity:0},{}],{duration:225*b,easing:Kp});n0(n)?.forEach(m=>{Vs(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*b,easing:Io})}),p.finished.then(()=>r())}},onAfterEnter(n){n.style.removeProperty("pointer-events")},onBeforeLeave(n){n.style.pointerEvents="none"},async onLeave(n,r){await new Promise(p=>requestAnimationFrame(p));let o;!$l.has(n)||Array.isArray(t.target)||t.target.offsetParent||t.target.getClientRects().length?o=r0(t.target,n):o=$l.get(n);const{x:u,y:l,sx:d,sy:c,speed:b}=o;cn()?Vs(n,[{},{opacity:0}],{duration:85*b,easing:$p}).finished.then(()=>r()):(Vs(n,[{},{transform:`translate(${u}px, ${l}px) scale(${d}, ${c})`,opacity:0}],{duration:125*b,easing:$p}).finished.then(()=>r()),n0(n)?.forEach(m=>{Vs(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*b,easing:Io})}))},onAfterLeave(n){n.style.removeProperty("pointer-events")}};return()=>t.target?L(va,Et({name:"dialog-transition"},a,{css:!1}),s):L(va,{name:"dialog-transition"},s)}});function n0(t){const e=t.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children;return e&&[...e]}function r0(t,e){const s=O2(t),a=cc(e),[n,r]=getComputedStyle(e).transformOrigin.split(" ").map(f=>parseFloat(f)),[o,u]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=s.left+s.width/2;o==="left"||u==="left"?l-=s.width/2:(o==="right"||u==="right")&&(l+=s.width/2);let d=s.top+s.height/2;o==="top"||u==="top"?d-=s.height/2:(o==="bottom"||u==="bottom")&&(d+=s.height/2);const c=s.width/a.width,b=s.height/a.height,p=Math.max(1,c,b),m=c/p||0,g=b/p||0,h=a.width*a.height/(window.innerWidth*window.innerHeight),y=h>.12?Math.min(1.5,(h-.12)*10+1):1;return{x:l-(n+a.left),y:d-(r+a.top),sx:m,sy:g,speed:y}}ki("fab-transition","center center","out-in");ki("dialog-bottom-transition");ki("dialog-top-transition");const o0=ki("fade-transition"),Kx=ki("scale-transition");ki("scroll-x-transition");ki("scroll-x-reverse-transition");ki("scroll-y-transition");ki("scroll-y-reverse-transition");ki("slide-x-transition");ki("slide-x-reverse-transition");const vv=ki("slide-y-transition");ki("slide-y-reverse-transition");const gv=mv("expand-transition",fv()),_v=mv("expand-x-transition",fv("",!0)),ad=Symbol.for("vuetify:list");function hv(){let{filterable:t}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const e=Wt(ad,{filterable:!1,hasPrepend:It(!1),updateHasPrepend:()=>null}),s={filterable:e.filterable||t,hasPrepend:It(!1),updateHasPrepend:a=>{a&&(s.hasPrepend.value=a)}};return Ae(ad,s),e}function yv(){return Wt(ad,null)}const Sc=t=>{const e={activate:s=>{let{id:a,value:n,activated:r}=s;return a=Ct(a),t&&!n&&r.size===1&&r.has(a)||(n?r.add(a):r.delete(a)),r},in:(s,a,n)=>{let r=new Set;if(s!=null)for(const o of ca(s))r=e.activate({id:o,value:!0,activated:new Set(r),children:a,parents:n});return r},out:s=>Array.from(s)};return e},kv=t=>{const e=Sc(t);return{activate:a=>{let{activated:n,id:r,...o}=a;r=Ct(r);const u=n.has(r)?new Set([r]):new Set;return e.activate({...o,id:r,activated:u})},in:(a,n,r)=>{let o=new Set;if(a!=null){const u=ca(a);u.length&&(o=e.in(u.slice(0,1),n,r))}return o},out:(a,n,r)=>e.out(a,n,r)}},D1=t=>{const e=Sc(t);return{activate:a=>{let{id:n,activated:r,children:o,...u}=a;return n=Ct(n),o.has(n)?r:e.activate({id:n,activated:r,children:o,...u})},in:e.in,out:e.out}},L1=t=>{const e=kv(t);return{activate:a=>{let{id:n,activated:r,children:o,...u}=a;return n=Ct(n),o.has(n)?r:e.activate({id:n,activated:r,children:o,...u})},in:e.in,out:e.out}},R1={open:t=>{let{id:e,value:s,opened:a,parents:n}=t;if(s){const r=new Set;r.add(e);let o=n.get(e);for(;o!=null;)r.add(o),o=n.get(o);return r}else return a.delete(e),a},select:()=>null},wv={open:t=>{let{id:e,value:s,opened:a,parents:n}=t;if(s){let r=n.get(e);for(a.add(e);r!=null&&r!==e;)a.add(r),r=n.get(r);return a}else a.delete(e);return a},select:()=>null},O1={open:wv.open,select:t=>{let{id:e,value:s,opened:a,parents:n}=t;if(!s)return a;const r=[];let o=n.get(e);for(;o!=null;)r.push(o),o=n.get(o);return new Set(r)}},Ac=t=>{const e={select:s=>{let{id:a,value:n,selected:r}=s;if(a=Ct(a),t&&!n){const o=Array.from(r.entries()).reduce((u,l)=>{let[d,c]=l;return c==="on"&&u.push(d),u},[]);if(o.length===1&&o[0]===a)return r}return r.set(a,n?"on":"off"),r},in:(s,a,n,r)=>{const o=new Map;for(const u of s||[])e.select({id:u,value:!0,selected:o,children:a,parents:n,disabled:r});return o},out:s=>{const a=[];for(const[n,r]of s.entries())r==="on"&&a.push(n);return a}};return e},Sv=t=>{const e=Ac(t);return{select:a=>{let{selected:n,id:r,...o}=a;r=Ct(r);const u=n.has(r)?new Map([[r,n.get(r)]]):new Map;return e.select({...o,id:r,selected:u})},in:(a,n,r,o)=>a?.length?e.in(a.slice(0,1),n,r,o):new Map,out:(a,n,r)=>e.out(a,n,r)}},N1=t=>{const e=Ac(t);return{select:a=>{let{id:n,selected:r,children:o,...u}=a;return n=Ct(n),o.has(n)?r:e.select({id:n,selected:r,children:o,...u})},in:e.in,out:e.out}},B1=t=>{const e=Sv(t);return{select:a=>{let{id:n,selected:r,children:o,...u}=a;return n=Ct(n),o.has(n)?r:e.select({id:n,selected:r,children:o,...u})},in:e.in,out:e.out}},Av=t=>{const e={select:s=>{let{id:a,value:n,selected:r,children:o,parents:u,disabled:l}=s;a=Ct(a);const d=new Map(r),c=[a];for(;c.length;){const p=c.shift();l.has(p)||r.set(Ct(p),n?"on":"off"),o.has(p)&&c.push(...o.get(p))}let b=Ct(u.get(a));for(;b;){let p=!0,m=!0;for(const g of o.get(b)){const h=Ct(g);if(!l.has(h)&&(r.get(h)!=="on"&&(p=!1),r.has(h)&&r.get(h)!=="off"&&(m=!1),!p&&!m))break}r.set(b,p?"on":m?"off":"indeterminate"),b=Ct(u.get(b))}return t&&!n&&Array.from(r.entries()).reduce((m,g)=>{let[h,y]=g;return y==="on"&&m.push(h),m},[]).length===0?d:r},in:(s,a,n,r)=>{let o=new Map;for(const u of s||[])o=e.select({id:u,value:!0,selected:o,children:a,parents:n,disabled:r});return o},out:(s,a)=>{const n=[];for(const[r,o]of s.entries())o==="on"&&!a.has(r)&&n.push(r);return n}};return e},F1=t=>{const e=Av(t);return{select:e.select,in:e.in,out:(a,n,r)=>{const o=[];for(const[u,l]of a.entries())if(l==="on"){if(r.has(u)){const d=r.get(u);if(a.get(d)==="on")continue}o.push(u)}return o}}},cr=Symbol.for("vuetify:nested"),zv={id:It(),root:{register:()=>null,unregister:()=>null,children:Y(new Map),parents:Y(new Map),disabled:Y(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:Y(!1),selectable:Y(!1),opened:Y(new Set),activated:Y(new Set),selected:Y(new Map),selectedValues:Y([]),getPath:()=>[]}},G1=mt({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),V1=t=>{let e=!1;const s=It(new Map),a=It(new Map),n=It(new Set),r=bi(t,"opened",t.opened,y=>new Set(Array.isArray(y)?y.map(f=>Ct(f)):y),y=>[...y.values()]),o=O(()=>{if(typeof t.activeStrategy=="object")return t.activeStrategy;if(typeof t.activeStrategy=="function")return t.activeStrategy(t.mandatory);switch(t.activeStrategy){case"leaf":return D1(t.mandatory);case"single-leaf":return L1(t.mandatory);case"independent":return Sc(t.mandatory);case"single-independent":default:return kv(t.mandatory)}}),u=O(()=>{if(typeof t.selectStrategy=="object")return t.selectStrategy;if(typeof t.selectStrategy=="function")return t.selectStrategy(t.mandatory);switch(t.selectStrategy){case"single-leaf":return B1(t.mandatory);case"leaf":return N1(t.mandatory);case"independent":return Ac(t.mandatory);case"single-independent":return Sv(t.mandatory);case"trunk":return F1(t.mandatory);case"classic":default:return Av(t.mandatory)}}),l=O(()=>{if(typeof t.openStrategy=="object")return t.openStrategy;switch(t.openStrategy){case"list":return O1;case"single":return R1;case"multiple":default:return wv}}),d=bi(t,"activated",t.activated,y=>o.value.in(y,s.value,a.value),y=>o.value.out(y,s.value,a.value)),c=bi(t,"selected",t.selected,y=>u.value.in(y,s.value,a.value,n.value),y=>u.value.out(y,s.value,a.value));Re(()=>{e=!0});function b(y){const f=[];let v=Ct(y);for(;v!==void 0;)f.unshift(v),v=a.value.get(v);return f}const p=Pe("nested"),m=new Set,g=LA(()=>{_e(()=>{s.value=new Map(s.value),a.value=new Map(a.value)})},100),h={id:It(),root:{opened:r,activatable:nt(()=>t.activatable),selectable:nt(()=>t.selectable),activated:d,selected:c,selectedValues:O(()=>{const y=[];for(const[f,v]of c.value.entries())v==="on"&&y.push(f);return y}),register:(y,f,v,_)=>{if(m.has(y)){b(y).map(String).join(" -> "),b(f).concat(y).map(String).join(" -> ");return}else m.add(y);f&&y!==f&&a.value.set(y,f),v&&n.value.add(y),_&&s.value.set(y,[]),f!=null&&s.value.set(f,[...s.value.get(f)||[],y]),g()},unregister:y=>{if(e)return;m.delete(y),s.value.delete(y),n.value.delete(y);const f=a.value.get(y);if(f){const v=s.value.get(f)??[];s.value.set(f,v.filter(_=>_!==y))}a.value.delete(y),g()},open:(y,f,v)=>{p.emit("click:open",{id:y,value:f,path:b(y),event:v});const _=l.value.open({id:y,value:f,opened:new Set(r.value),children:s.value,parents:a.value,event:v});_&&(r.value=_)},openOnSelect:(y,f,v)=>{const _=l.value.select({id:y,value:f,selected:new Map(c.value),opened:new Set(r.value),children:s.value,parents:a.value,event:v});_&&(r.value=_)},select:(y,f,v)=>{p.emit("click:select",{id:y,value:f,path:b(y),event:v});const _=u.value.select({id:y,value:f,selected:new Map(c.value),children:s.value,parents:a.value,disabled:n.value,event:v});_&&(c.value=_),h.root.openOnSelect(y,f,v)},activate:(y,f,v)=>{if(!t.activatable)return h.root.select(y,!0,v);p.emit("click:activate",{id:y,value:f,path:b(y),event:v});const _=o.value.activate({id:y,value:f,activated:new Set(d.value),children:s.value,parents:a.value,event:v});if(_.size!==d.value.size)d.value=_;else{for(const k of _)if(!d.value.has(k)){d.value=_;return}for(const k of d.value)if(!_.has(k)){d.value=_;return}}},children:s,parents:a,disabled:n,getPath:b}};return Ae(cr,h),h.root},Tv=(t,e,s)=>{const a=Wt(cr,zv),n=Symbol("nested item"),r=O(()=>{const u=Ct(hi(t));return u!==void 0?u:n}),o={...a,id:r,open:(u,l)=>a.root.open(r.value,u,l),openOnSelect:(u,l)=>a.root.openOnSelect(r.value,u,l),isOpen:O(()=>a.root.opened.value.has(r.value)),parent:O(()=>a.root.parents.value.get(r.value)),activate:(u,l)=>a.root.activate(r.value,u,l),isActivated:O(()=>a.root.activated.value.has(r.value)),select:(u,l)=>a.root.select(r.value,u,l),isSelected:O(()=>a.root.selected.value.get(r.value)==="on"),isIndeterminate:O(()=>a.root.selected.value.get(r.value)==="indeterminate"),isLeaf:O(()=>!a.root.children.value.get(r.value)),isGroupActivator:a.isGroupActivator};return _r(()=>{a.isGroupActivator||_e(()=>{a.root.register(r.value,a.id.value,hi(e),s)})}),Re(()=>{a.isGroupActivator||a.root.unregister(r.value)}),zt(r,(u,l)=>{a.isGroupActivator||(a.root.unregister(l),_e(()=>{a.root.register(u,a.id.value,hi(e),s)}))}),s&&Ae(cr,o),o},q1=()=>{const t=Wt(cr,zv);Ae(cr,{...t,isGroupActivator:!0})};function Pv(){const t=It(!1);return Le(()=>{window.requestAnimationFrame(()=>{t.value=!0})}),{ssrBootStyles:nt(()=>t.value?void 0:{transition:"none !important"}),isBooted:nn(t)}}const U1=mn({name:"VListGroupActivator",setup(t,e){let{slots:s}=e;return q1(),()=>s.default?.()}}),H1=mt({activeColor:String,baseColor:String,color:String,collapseIcon:{type:ne,default:"$collapse"},disabled:Boolean,expandIcon:{type:ne,default:"$expand"},rawId:[String,Number],prependIcon:ne,appendIcon:ne,fluid:Boolean,subgroup:Boolean,title:String,value:null,...qt(),...me()},"VListGroup"),l0=Rt()({name:"VListGroup",props:H1(),setup(t,e){let{slots:s}=e;const{isOpen:a,open:n,id:r}=Tv(()=>t.value,()=>t.disabled,!0),o=O(()=>`v-list-group--id-${String(t.rawId??r.value)}`),u=yv(),{isBooted:l}=Pv();function d(m){["INPUT","TEXTAREA"].includes(m.target?.tagName)||n(!a.value,m)}const c=O(()=>({onClick:d,class:"v-list-group__header",id:o.value})),b=O(()=>a.value?t.collapseIcon:t.expandIcon),p=O(()=>({VListItem:{activeColor:t.activeColor,baseColor:t.baseColor,color:t.color,prependIcon:t.prependIcon||t.subgroup&&b.value,appendIcon:t.appendIcon||!t.subgroup&&b.value,title:t.title,value:t.value}}));return Ut(()=>L(t.tag,{class:wt(["v-list-group",{"v-list-group--prepend":u?.hasPrepend.value,"v-list-group--fluid":t.fluid,"v-list-group--subgroup":t.subgroup,"v-list-group--open":a.value},t.class]),style:Lt(t.style)},{default:()=>[s.activator&&L(Ze,{defaults:p.value},{default:()=>[L(U1,null,{default:()=>[s.activator({props:c.value,isOpen:a.value})]})]}),L(qs,{transition:{component:gv},disabled:!l.value},{default:()=>[yi(N("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[s.default?.()]),[[wa,a.value]])]})]})),{isOpen:a}}}),W1=mt({opacity:[Number,String],...qt(),...me()},"VListItemSubtitle"),K1=Rt()({name:"VListItemSubtitle",props:W1(),setup(t,e){let{slots:s}=e;return Ut(()=>L(t.tag,{class:wt(["v-list-item-subtitle",t.class]),style:Lt([{"--v-list-item-subtitle-opacity":t.opacity},t.style])},s)),{}}}),$1=pc("v-list-item-title"),Y1=mt({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:ne,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:ne,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,onClick:ci(),onClickOnce:ci(),...za(),...qt(),...Is(),...Ms(),...fn(),...ns(),...gl(),...me(),...Ue(),...ia({variant:"text"})},"VListItem"),Va=Rt()({name:"VListItem",directives:{vRipple:ya},props:Y1(),emits:{click:t=>!0},setup(t,e){let{attrs:s,slots:a,emit:n}=e;const r=vl(t,s),o=O(()=>t.value===void 0?r.href.value:t.value),{activate:u,isActivated:l,select:d,isOpen:c,isSelected:b,isIndeterminate:p,isGroupActivator:m,root:g,parent:h,openOnSelect:y,id:f}=Tv(o,()=>t.disabled,!1),v=yv(),_=O(()=>t.active!==!1&&(t.active||r.isActive?.value||(g.activatable.value?l.value:b.value))),k=nt(()=>t.link!==!1&&r.isLink.value),S=O(()=>!!v&&(g.selectable.value||g.activatable.value||t.value!=null)),z=O(()=>!t.disabled&&t.link!==!1&&(t.link||r.isClickable.value||S.value)),A=O(()=>v?k.value?"link":S.value?"option":"listitem":void 0),w=O(()=>{if(S.value)return g.activatable.value?l.value:g.selectable.value?b.value:_.value}),I=nt(()=>t.rounded||t.nav),T=nt(()=>t.color??t.activeColor),D=nt(()=>({color:_.value?T.value??t.baseColor:t.baseColor,variant:t.variant}));zt(()=>r.isActive?.value,P=>{P&&j()}),_r(()=>{r.isActive?.value&&_e(()=>j())});function j(){h.value!=null&&g.open(h.value,!0),y(!0)}const{themeClasses:B}=oi(t),{borderClasses:H}=Ta(t),{colorClasses:st,colorStyles:ut,variantClasses:rt}=Pr(D),{densityClasses:tt}=ea(t),{dimensionStyles:ct}=xs(t),{elevationClasses:pt}=vn(t),{roundedClasses:St}=rs(I),lt=nt(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),dt=nt(()=>t.ripple!==void 0&&t.ripple&&v?.filterable?{keys:["Enter"]}:t.ripple),jt=O(()=>({isActive:_.value,select:d,isOpen:c.value,isSelected:b.value,isIndeterminate:p.value}));function Zt(P){n("click",P),!["INPUT","TEXTAREA"].includes(P.target?.tagName)&&z.value&&(r.navigate?.(P),!m&&(g.activatable.value?u(!l.value,P):(g.selectable.value||t.value!=null&&!k.value)&&d(!b.value,P)))}function Ft(P){const R=P.target;["INPUT","TEXTAREA"].includes(R.tagName)||(P.key==="Enter"||P.key===" "&&!v?.filterable)&&(P.preventDefault(),P.stopPropagation(),P.target.dispatchEvent(new MouseEvent("click",P)))}return Ut(()=>{const P=k.value?"a":t.tag,R=a.title||t.title!=null,F=a.subtitle||t.subtitle!=null,Z=!!(t.appendAvatar||t.appendIcon),ot=!!(Z||a.append),E=!!(t.prependAvatar||t.prependIcon),x=!!(E||a.prepend);return v?.updateHasPrepend(x),t.activeColor&&A2("active-color",["color","base-color"]),yi(L(P,Et(r.linkProps,{class:["v-list-item",{"v-list-item--active":_.value,"v-list-item--disabled":t.disabled,"v-list-item--link":z.value,"v-list-item--nav":t.nav,"v-list-item--prepend":!x&&v?.hasPrepend.value,"v-list-item--slim":t.slim,[`${t.activeClass}`]:t.activeClass&&_.value},B.value,H.value,st.value,tt.value,pt.value,lt.value,St.value,rt.value,t.class],style:[ut.value,ct.value,t.style],tabindex:z.value?v?-2:0:void 0,"aria-selected":w.value,role:A.value,onClick:Zt,onKeydown:z.value&&!k.value&&Ft}),{default:()=>[Tr(z.value||_.value,"v-list-item"),x&&N("div",{key:"prepend",class:"v-list-item__prepend"},[a.prepend?L(Ze,{key:"prepend-defaults",disabled:!E,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon},VListItemAction:{start:!0}}},{default:()=>[a.prepend?.(jt.value)]}):N(vt,null,[t.prependAvatar&&L(Ys,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&L(Yt,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)]),N("div",{class:"v-list-item__spacer"},null)]),N("div",{class:"v-list-item__content","data-no-activator":""},[R&&L($1,{key:"title"},{default:()=>[a.title?.({title:t.title})??_t(t.title)]}),F&&L(K1,{key:"subtitle"},{default:()=>[a.subtitle?.({subtitle:t.subtitle})??_t(t.subtitle)]}),a.default?.(jt.value)]),ot&&N("div",{key:"append",class:"v-list-item__append"},[a.append?L(Ze,{key:"append-defaults",disabled:!Z,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon},VListItemAction:{end:!0}}},{default:()=>[a.append?.(jt.value)]}):N(vt,null,[t.appendIcon&&L(Yt,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&L(Ys,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)]),N("div",{class:"v-list-item__spacer"},null)])]}),[[ya,z.value&&dt.value]])}),{activate:u,isActivated:l,isGroupActivator:m,isSelected:b,list:v,select:d,root:g,id:f,link:r}}}),X1=mt({color:String,inset:Boolean,sticky:Boolean,title:String,...qt(),...me()},"VListSubheader"),Z1=Rt()({name:"VListSubheader",props:X1(),setup(t,e){let{slots:s}=e;const{textColorClasses:a,textColorStyles:n}=$s(()=>t.color);return Ut(()=>{const r=!!(s.default||t.title);return L(t.tag,{class:wt(["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},a.value,t.class]),style:Lt([{textColorStyles:n},t.style])},{default:()=>[r&&N("div",{class:"v-list-subheader__text"},[s.default?.()??t.title])]})}),{}}}),Q1=mt({items:Array,returnObject:Boolean},"VListChildren"),jv=Rt()({name:"VListChildren",props:Q1(),setup(t,e){let{slots:s}=e;return hv(),()=>s.default?.()??t.items?.map(a=>{let{children:n,props:r,type:o,raw:u}=a;if(o==="divider")return s.divider?.({props:r})??L(pv,r,null);if(o==="subheader")return s.subheader?.({props:r})??L(Z1,r,null);const l={subtitle:s.subtitle?c=>s.subtitle?.({...c,item:u}):void 0,prepend:s.prepend?c=>s.prepend?.({...c,item:u}):void 0,append:s.append?c=>s.append?.({...c,item:u}):void 0,title:s.title?c=>s.title?.({...c,item:u}):void 0},d=l0.filterProps(r);return n?L(l0,Et(d,{value:t.returnObject?u:r?.value,rawId:r?.value}),{activator:c=>{let{props:b}=c;const p=Et(r,b,{value:t.returnObject?u:r.value});return s.header?s.header({props:p}):L(Va,p,l)},default:()=>L(jv,{items:n,returnObject:t.returnObject},s)}):s.item?s.item({props:r}):L(Va,Et(r,{value:t.returnObject?u:r.value}),l)})}}),J1=mt({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},itemType:{type:[Boolean,String,Array,Function],default:"type"},returnObject:Boolean,valueComparator:Function},"list-items"),tz=new Set(["item","divider","subheader"]);function tn(t,e){const s=Ji(e,t.itemTitle,e),a=Ji(e,t.itemValue,s),n=Ji(e,t.itemChildren),r=t.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?Aa(e,["children"]):e:void 0:Ji(e,t.itemProps);let o=Ji(e,t.itemType,"item");tz.has(o)||(o="item");const u={title:s,value:a,...r};return{type:o,title:String(u.title??""),value:u.value,props:u,children:o==="item"&&Array.isArray(n)?Cv(t,n):void 0,raw:e}}tn.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function Cv(t,e){const s=pl(t,tn.neededProps),a=[];for(const n of e)a.push(tn(s,n));return a}function $x(t){const e=O(()=>Cv(t,t.items)),s=O(()=>e.value.some(u=>u.value===null)),a=It(new Map),n=It([]);we(()=>{const u=e.value,l=new Map,d=[];for(let c=0;c<u.length;c++){const b=u[c];if(_a(b.value)||b.value===null){let p=l.get(b.value);p||(p=[],l.set(b.value,p)),p.push(b)}else d.push(b)}a.value=l,n.value=d});function r(u){const l=a.value,d=e.value,c=n.value,b=s.value,p=t.returnObject,m=!!t.valueComparator,g=t.valueComparator||Ws,h=pl(t,tn.neededProps),y=[];t:for(const f of u){if(!b&&f===null)continue;if(p&&typeof f=="string"){y.push(tn(h,f));continue}const v=l.get(f);if(m||!v){for(const _ of m?d:c)if(g(f,_.value)){y.push(_);continue t}y.push(tn(h,f));continue}y.push(...v)}return y}function o(u){return t.returnObject?u.map(l=>{let{raw:d}=l;return d}):u.map(l=>{let{value:d}=l;return d})}return{items:e,transformIn:r,transformOut:o}}const ez=new Set(["item","divider","subheader"]);function iz(t,e){const s=_a(e)?e:Ji(e,t.itemTitle),a=_a(e)?e:Ji(e,t.itemValue,void 0),n=Ji(e,t.itemChildren),r=t.itemProps===!0?Aa(e,["children"]):Ji(e,t.itemProps);let o=Ji(e,t.itemType,"item");ez.has(o)||(o="item");const u={title:s,value:a,...r};return{type:o,title:u.title,value:u.value,props:u,children:o==="item"&&n?Ev(t,n):void 0,raw:e}}function Ev(t,e){const s=[];for(const a of e)s.push(iz(t,a));return s}function sz(t){return{items:O(()=>Ev(t,t.items))}}const az=mt({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:ne,collapseIcon:ne,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,"onClick:open":ci(),"onClick:select":ci(),"onUpdate:opened":ci(),...G1({selectStrategy:"single-leaf",openStrategy:"list"}),...za(),...qt(),...Is(),...Ms(),...fn(),...J1(),...ns(),...me(),...Ue(),...ia({variant:"text"})},"VList"),nd=Rt()({name:"VList",props:az(),emits:{"update:selected":t=>!0,"update:activated":t=>!0,"update:opened":t=>!0,"click:open":t=>!0,"click:activate":t=>!0,"click:select":t=>!0},setup(t,e){let{slots:s}=e;const{items:a}=sz(t),{themeClasses:n}=oi(t),{backgroundColorClasses:r,backgroundColorStyles:o}=pa(()=>t.bgColor),{borderClasses:u}=Ta(t),{densityClasses:l}=ea(t),{dimensionStyles:d}=xs(t),{elevationClasses:c}=vn(t),{roundedClasses:b}=rs(t),{children:p,open:m,parents:g,select:h,getPath:y}=V1(t),f=nt(()=>t.lines?`v-list--${t.lines}-line`:void 0),v=nt(()=>t.activeColor),_=nt(()=>t.baseColor),k=nt(()=>t.color),S=nt(()=>t.selectable||t.activatable);hv({filterable:t.filterable}),Sr({VListGroup:{activeColor:v,baseColor:_,color:k,expandIcon:nt(()=>t.expandIcon),collapseIcon:nt(()=>t.collapseIcon)},VListItem:{activeClass:nt(()=>t.activeClass),activeColor:v,baseColor:_,color:k,density:nt(()=>t.density),disabled:nt(()=>t.disabled),lines:nt(()=>t.lines),nav:nt(()=>t.nav),slim:nt(()=>t.slim),variant:nt(()=>t.variant)}});const z=It(!1),A=Y();function w(H){z.value=!0}function I(H){z.value=!1}function T(H){!z.value&&!(H.relatedTarget&&A.value?.contains(H.relatedTarget))&&B()}function D(H){const st=H.target;if(!(!A.value||st.tagName==="INPUT"&&["Home","End"].includes(H.key)||st.tagName==="TEXTAREA")){if(H.key==="ArrowDown")B("next");else if(H.key==="ArrowUp")B("prev");else if(H.key==="Home")B("first");else if(H.key==="End")B("last");else return;H.preventDefault()}}function j(H){z.value=!0}function B(H){if(A.value)return Un(A.value,H)}return Ut(()=>L(t.tag,{ref:A,class:wt(["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav,"v-list--slim":t.slim},n.value,r.value,u.value,l.value,c.value,f.value,b.value,t.class]),style:Lt([o.value,d.value,t.style]),tabindex:t.disabled?-1:0,role:S.value?"listbox":"list","aria-activedescendant":void 0,onFocusin:w,onFocusout:I,onFocus:T,onKeydown:D,onMousedown:j},{default:()=>[L(jv,{items:a.value,returnObject:t.returnObject},s)]})),{open:m,select:h,focus:B,children:p,parents:g,getPath:y}}});function Yl(t,e){return{x:t.x+e.x,y:t.y+e.y}}function nz(t,e){return{x:t.x-e.x,y:t.y-e.y}}function u0(t,e){if(t.side==="top"||t.side==="bottom"){const{side:s,align:a}=t,n=a==="left"?0:a==="center"?e.width/2:a==="right"?e.width:a,r=s==="top"?0:s==="bottom"?e.height:s;return Yl({x:n,y:r},e)}else if(t.side==="left"||t.side==="right"){const{side:s,align:a}=t,n=s==="left"?0:s==="right"?e.width:s,r=a==="top"?0:a==="center"?e.height/2:a==="bottom"?e.height:a;return Yl({x:n,y:r},e)}return Yl({x:e.width/2,y:e.height/2},e)}const Mv={static:lz,connected:dz},rz=mt({locationStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in Mv},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array],stickToTarget:Boolean},"VOverlay-location-strategies");function oz(t,e){const s=Y({}),a=Y();re&&ha(()=>!!(e.isActive.value&&t.locationStrategy),u=>{zt(()=>t.locationStrategy,u),pi(()=>{window.removeEventListener("resize",n),visualViewport?.removeEventListener("resize",r),visualViewport?.removeEventListener("scroll",o),a.value=void 0}),window.addEventListener("resize",n,{passive:!0}),visualViewport?.addEventListener("resize",r,{passive:!0}),visualViewport?.addEventListener("scroll",o,{passive:!0}),typeof t.locationStrategy=="function"?a.value=t.locationStrategy(e,t,s)?.updateLocation:a.value=Mv[t.locationStrategy](e,t,s)?.updateLocation});function n(u){a.value?.(u)}function r(u){a.value?.(u)}function o(u){a.value?.(u)}return{contentStyles:s,updateLocation:a}}function lz(){}function uz(t,e){const s=cc(t);return e?s.x+=parseFloat(t.style.right||0):s.x-=parseFloat(t.style.left||0),s.y-=parseFloat(t.style.top||0),s}function dz(t,e,s){(Array.isArray(t.target.value)||DA(t.target.value))&&Object.assign(s.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:n,preferredOrigin:r}=uc(()=>{const f=Ju(e.location,t.isRtl.value),v=e.origin==="overlap"?f:e.origin==="auto"?Ul(f):Ju(e.origin,t.isRtl.value);return f.side===v.side&&f.align===Hl(v).align?{preferredAnchor:Dp(f),preferredOrigin:Dp(v)}:{preferredAnchor:f,preferredOrigin:v}}),[o,u,l,d]=["minWidth","minHeight","maxWidth","maxHeight"].map(f=>O(()=>{const v=parseFloat(e[f]);return isNaN(v)?1/0:v})),c=O(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const f=e.offset.split(" ").map(parseFloat);return f.length<2&&f.push(0),f}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let b=!1,p=-1;const m=new $S(4),g=new ResizeObserver(()=>{if(!b)return;if(requestAnimationFrame(v=>{v!==p&&m.clear(),requestAnimationFrame(_=>{p=_})}),m.isFull){const v=m.values();if(Ws(v.at(-1),v.at(-3))&&!Ws(v.at(-1),v.at(-2)))return}const f=y();f&&m.push(f.flipped)});let h=new Ci({x:0,y:0,width:0,height:0});zt(t.target,(f,v)=>{v&&!Array.isArray(v)&&g.unobserve(v),Array.isArray(f)?Ws(f,v)||y():f&&g.observe(f)},{immediate:!0}),zt(t.contentEl,(f,v)=>{v&&g.unobserve(v),f&&g.observe(f)},{immediate:!0}),pi(()=>{g.disconnect()});function y(){if(b=!1,requestAnimationFrame(()=>b=!0),!t.target.value||!t.contentEl.value)return;(Array.isArray(t.target.value)||t.target.value.offsetParent||t.target.value.getClientRects().length)&&(h=O2(t.target.value));const f=uz(t.contentEl.value,t.isRtl.value),v=Do(t.contentEl.value),_=e.stickToTarget?0:12;v.length||(v.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(f.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),f.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const k=v.reduce((B,H)=>{const st=nA(H);return B?new Ci({x:Math.max(B.left,st.left),y:Math.max(B.top,st.top),width:Math.min(B.right,st.right)-Math.max(B.left,st.left),height:Math.min(B.bottom,st.bottom)-Math.max(B.top,st.top)}):st},void 0);e.stickToTarget?(k.x+=Math.min(0,h.x),k.y+=Math.min(0,h.y),k.width=Math.max(k.width,h.x+h.width),k.height=Math.max(k.height,h.y+h.height)):(k.x+=_,k.y+=_,k.width-=_*2,k.height-=_*2);let S={anchor:n.value,origin:r.value};function z(B){const H=new Ci(f),st=u0(B.anchor,h),ut=u0(B.origin,H);let{x:rt,y:tt}=nz(st,ut);switch(B.anchor.side){case"top":tt-=c.value[0];break;case"bottom":tt+=c.value[0];break;case"left":rt-=c.value[0];break;case"right":rt+=c.value[0];break}switch(B.anchor.align){case"top":tt-=c.value[1];break;case"bottom":tt+=c.value[1];break;case"left":rt-=c.value[1];break;case"right":rt+=c.value[1];break}return H.x+=rt,H.y+=tt,H.width=Math.min(H.width,l.value),H.height=Math.min(H.height,d.value),{overflows:Rp(H,k),x:rt,y:tt}}let A=0,w=0;const I={x:0,y:0},T={x:!1,y:!1};let D=-1;for(;!(D++>10);){const{x:B,y:H,overflows:st}=z(S);A+=B,w+=H,f.x+=B,f.y+=H;{const ut=Lp(S.anchor),rt=st.x.before||st.x.after,tt=st.y.before||st.y.after;let ct=!1;if(["x","y"].forEach(pt=>{if(pt==="x"&&rt&&!T.x||pt==="y"&&tt&&!T.y){const St={anchor:{...S.anchor},origin:{...S.origin}},lt=pt==="x"?ut==="y"?Hl:Ul:ut==="y"?Ul:Hl;St.anchor=lt(St.anchor),St.origin=lt(St.origin);const{overflows:dt}=z(St);(dt[pt].before<=st[pt].before&&dt[pt].after<=st[pt].after||dt[pt].before+dt[pt].after<(st[pt].before+st[pt].after)/2)&&(S=St,ct=T[pt]=!0)}}),ct)continue}st.x.before&&(A+=st.x.before,f.x+=st.x.before),st.x.after&&(A-=st.x.after,f.x-=st.x.after),st.y.before&&(w+=st.y.before,f.y+=st.y.before),st.y.after&&(w-=st.y.after,f.y-=st.y.after);{const ut=Rp(f,k);I.x=k.width-ut.x.before-ut.x.after,I.y=k.height-ut.y.before-ut.y.after,A+=ut.x.before,f.x+=ut.x.before,w+=ut.y.before,f.y+=ut.y.before}break}const j=Lp(S.anchor);return Object.assign(s.value,{"--v-overlay-anchor-origin":`${S.anchor.side} ${S.anchor.align}`,transformOrigin:`${S.origin.side} ${S.origin.align}`,top:Ot(Xl(w)),left:t.isRtl.value?void 0:Ot(Xl(A)),right:t.isRtl.value?Ot(Xl(-A)):void 0,minWidth:Ot(j==="y"?Math.min(o.value,h.width):o.value),maxWidth:Ot(d0(zs(I.x,o.value===1/0?0:o.value,l.value))),maxHeight:Ot(d0(zs(I.y,u.value===1/0?0:u.value,d.value)))}),{available:I,contentBox:f,flipped:T}}return zt(()=>[n.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>y()),_e(()=>{const f=y();if(!f)return;const{available:v,contentBox:_}=f;_.height>v.y&&requestAnimationFrame(()=>{y(),requestAnimationFrame(()=>{y()})})}),{updateLocation:y}}function Xl(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function d0(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let rd=!0;const No=[];function cz(t){!rd||No.length?(No.push(t),od()):(rd=!1,t(),od())}let c0=-1;function od(){cancelAnimationFrame(c0),c0=requestAnimationFrame(()=>{const t=No.shift();t&&t(),No.length?od():rd=!0})}const xv={none:null,close:mz,block:fz,reposition:vz},bz=mt({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in xv}},"VOverlay-scroll-strategies");function pz(t,e){if(!re)return;let s;we(async()=>{s?.stop(),e.isActive.value&&t.scrollStrategy&&(s=an(),await new Promise(a=>setTimeout(a)),s.active&&s.run(()=>{typeof t.scrollStrategy=="function"?t.scrollStrategy(e,t,s):xv[t.scrollStrategy]?.(e,t,s)}))}),pi(()=>{s?.stop()})}function mz(t){function e(s){t.isActive.value=!1}Iv(zc(t.target.value,t.contentEl.value),e)}function fz(t,e){const s=t.root.value?.offsetParent,a=zc(t.target.value,t.contentEl.value),n=[...new Set([...Do(a,e.contained?s:void 0),...Do(t.contentEl.value,e.contained?s:void 0)])].filter(u=>!u.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,o=(u=>mc(u)&&u)(s||document.documentElement);o&&t.root.value.classList.add("v-overlay--scroll-blocked"),n.forEach((u,l)=>{u.style.setProperty("--v-body-scroll-x",Ot(-u.scrollLeft)),u.style.setProperty("--v-body-scroll-y",Ot(-u.scrollTop)),u!==document.documentElement&&u.style.setProperty("--v-scrollbar-offset",Ot(r)),u.classList.add("v-overlay-scroll-blocked")}),pi(()=>{n.forEach((u,l)=>{const d=parseFloat(u.style.getPropertyValue("--v-body-scroll-x")),c=parseFloat(u.style.getPropertyValue("--v-body-scroll-y")),b=u.style.scrollBehavior;u.style.scrollBehavior="auto",u.style.removeProperty("--v-body-scroll-x"),u.style.removeProperty("--v-body-scroll-y"),u.style.removeProperty("--v-scrollbar-offset"),u.classList.remove("v-overlay-scroll-blocked"),u.scrollLeft=-d,u.scrollTop=-c,u.style.scrollBehavior=b}),o&&t.root.value.classList.remove("v-overlay--scroll-blocked")})}function vz(t,e,s){let a=!1,n=-1,r=-1;function o(u){cz(()=>{const l=performance.now();t.updateLocation.value?.(u),a=(performance.now()-l)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{s.run(()=>{Iv(zc(t.target.value,t.contentEl.value),u=>{a?(cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>{o(u)})})):o(u)})})}),pi(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(n)})}function zc(t,e){return Array.isArray(t)?document.elementsFromPoint(...t).find(s=>!e?.contains(s)):t??e}function Iv(t,e){const s=[document,...Do(t)];s.forEach(a=>{a.addEventListener("scroll",e,{passive:!0})}),pi(()=>{s.forEach(a=>{a.removeEventListener("scroll",e)})})}const ld=Symbol.for("vuetify:v-menu"),gz=mt({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function _z(t,e){let s=()=>{};function a(o,u){s?.();const l=o?t.openDelay:t.closeDelay,d=Math.max(u?.minDelay??0,Number(l??0));return new Promise(c=>{s=ZS(d,()=>{e?.(o),c(o)})})}function n(){return a(!0)}function r(o){return a(!1,o)}return{clearDelay:s,runOpenDelay:n,runCloseDelay:r}}const hz=mt({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...gz()},"VOverlay-activator");function yz(t,e){let{isActive:s,isTop:a,contentEl:n}=e;const r=Pe("useActivator"),o=Y();let u=!1,l=!1,d=!0;const c=O(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),b=O(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!c.value),{runOpenDelay:p,runCloseDelay:m}=_z(t,w=>{w===(t.openOnHover&&u||c.value&&l)&&!(t.openOnHover&&s.value&&!a.value)&&(s.value!==w&&(d=!0),s.value=w)}),g=Y(),h={onClick:w=>{w.stopPropagation(),o.value=w.currentTarget||w.target,s.value||(g.value=[w.clientX,w.clientY]),s.value=!s.value},onMouseenter:w=>{u=!0,o.value=w.currentTarget||w.target,p()},onMouseleave:w=>{u=!1,m()},onFocus:w=>{YS(w.target,":focus-visible")!==!1&&(l=!0,w.stopPropagation(),o.value=w.currentTarget||w.target,p())},onBlur:w=>{l=!1,w.stopPropagation(),m({minDelay:1})}},y=O(()=>{const w={};return b.value&&(w.onClick=h.onClick),t.openOnHover&&(w.onMouseenter=h.onMouseenter,w.onMouseleave=h.onMouseleave),c.value&&(w.onFocus=h.onFocus,w.onBlur=h.onBlur),w}),f=O(()=>{const w={};if(t.openOnHover&&(w.onMouseenter=()=>{u=!0,p()},w.onMouseleave=()=>{u=!1,m()}),c.value&&(w.onFocusin=I=>{I.target.matches(":focus-visible")&&(l=!0,p())},w.onFocusout=()=>{l=!1,m({minDelay:1})}),t.closeOnContentClick){const I=Wt(ld,null);w.onClick=()=>{s.value=!1,I?.closeParents()}}return w}),v=O(()=>{const w={};return t.openOnHover&&(w.onMouseenter=()=>{d&&(u=!0,d=!1,p())},w.onMouseleave=()=>{u=!1,m()}),w});zt(a,w=>{w&&(t.openOnHover&&!u&&(!c.value||!l)||c.value&&!l&&(!t.openOnHover||!u))&&!n.value?.contains(document.activeElement)&&(s.value=!1)}),zt(s,w=>{w||setTimeout(()=>{g.value=void 0})},{flush:"post"});const _=Qu();we(()=>{_.value&&_e(()=>{o.value=_.el})});const k=Qu(),S=O(()=>t.target==="cursor"&&g.value?g.value:k.value?k.el:Dv(t.target,r)||o.value),z=O(()=>Array.isArray(S.value)?void 0:S.value);let A;return zt(()=>!!t.activator,w=>{w&&re?(A=an(),A.run(()=>{kz(t,r,{activatorEl:o,activatorEvents:y})})):A&&A.stop()},{flush:"post",immediate:!0}),pi(()=>{A?.stop()}),{activatorEl:o,activatorRef:_,target:S,targetEl:z,targetRef:k,activatorEvents:y,contentEvents:f,scrimEvents:v}}function kz(t,e,s){let{activatorEl:a,activatorEvents:n}=s;zt(()=>t.activator,(l,d)=>{if(d&&l!==d){const c=u(d);c&&o(c)}l&&_e(()=>r())},{immediate:!0}),zt(()=>t.activatorProps,()=>{r()}),pi(()=>{o()});function r(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;l&&rA(l,Et(n.value,d))}function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;l&&oA(l,Et(n.value,d))}function u(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.activator;const d=Dv(l,e);return a.value=d?.nodeType===Node.ELEMENT_NODE?d:void 0,a.value}}function Dv(t,e){if(!t)return;let s;if(t==="parent"){let a=e?.proxy?.$el?.parentNode;for(;a?.hasAttribute("data-no-activator");)a=a.parentNode;s=a}else typeof t=="string"?s=document.querySelector(t):"$el"in t?s=t.$el:s=t;return s}const _l=["sm","md","lg","xl","xxl"],ud=Symbol.for("vuetify:display"),b0={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},wz=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b0;return Xe(b0,t)};function p0(t){return re&&!t?window.innerWidth:typeof t=="object"&&t.clientWidth||0}function m0(t){return re&&!t?window.innerHeight:typeof t=="object"&&t.clientHeight||0}function f0(t){const e=re&&!t?window.navigator.userAgent:"ssr";function s(g){return!!e.match(g)}const a=s(/android/i),n=s(/iphone|ipad|ipod/i),r=s(/cordova/i),o=s(/electron/i),u=s(/chrome/i),l=s(/edge/i),d=s(/firefox/i),c=s(/opera/i),b=s(/win/i),p=s(/mac/i),m=s(/linux/i);return{android:a,ios:n,cordova:r,electron:o,chrome:u,edge:l,firefox:d,opera:c,win:b,mac:p,linux:m,touch:VS,ssr:e==="ssr"}}function Sz(t,e){const{thresholds:s,mobileBreakpoint:a}=wz(t),n=It(m0(e)),r=It(f0(e)),o=de({}),u=It(p0(e));function l(){n.value=m0(),u.value=p0()}function d(){l(),r.value=f0()}return we(()=>{const c=u.value<s.sm,b=u.value<s.md&&!c,p=u.value<s.lg&&!(b||c),m=u.value<s.xl&&!(p||b||c),g=u.value<s.xxl&&!(m||p||b||c),h=u.value>=s.xxl,y=c?"xs":b?"sm":p?"md":m?"lg":g?"xl":"xxl",f=typeof a=="number"?a:s[a],v=u.value<f;o.xs=c,o.sm=b,o.md=p,o.lg=m,o.xl=g,o.xxl=h,o.smAndUp=!c,o.mdAndUp=!(c||b),o.lgAndUp=!(c||b||p),o.xlAndUp=!(c||b||p||m),o.smAndDown=!(p||m||g||h),o.mdAndDown=!(m||g||h),o.lgAndDown=!(g||h),o.xlAndDown=!h,o.name=y,o.height=n.value,o.width=u.value,o.mobile=v,o.mobileBreakpoint=a,o.platform=r.value,o.thresholds=s}),re&&(window.addEventListener("resize",l,{passive:!0}),pi(()=>{window.removeEventListener("resize",l)},!0)),{...jd(o),update:d,ssr:!!e}}const Az=mt({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function Lv(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();const s=Wt(ud);if(!s)throw new Error("Could not find Vuetify display injection");const a=O(()=>t.mobile?!0:typeof t.mobileBreakpoint=="number"?s.width.value<t.mobileBreakpoint:t.mobileBreakpoint?s.width.value<s.thresholds.value[t.mobileBreakpoint]:t.mobile===null?s.mobile.value:!1),n=nt(()=>e?{[`${e}--mobile`]:a.value}:{});return{...s,displayClasses:n,mobile:a}}function zz(){if(!re)return It(!1);const{ssr:t}=Lv();if(t){const e=It(!1);return Le(()=>{e.value=!0}),e}else return It(!0)}const Tz=mt({eager:Boolean},"lazy");function Pz(t,e){const s=It(!1),a=nt(()=>s.value||t.eager||e.value);zt(e,()=>s.value=!0);function n(){t.eager||(s.value=!1)}return{isBooted:s,hasContent:a,onAfterLeave:n}}function Tc(){const e=Pe("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const v0=Symbol.for("vuetify:stack"),Tn=de([]);function jz(t,e,s){const a=Pe("useStack"),n=!s,r=Wt(v0,void 0),o=de({activeChildren:new Set});Ae(v0,o);const u=It(Number(hi(e)));ha(t,()=>{const c=Tn.at(-1)?.[1];u.value=c?c+10:Number(hi(e)),n&&Tn.push([a.uid,u.value]),r?.activeChildren.add(a.uid),pi(()=>{if(n){const b=Ct(Tn).findIndex(p=>p[0]===a.uid);Tn.splice(b,1)}r?.activeChildren.delete(a.uid)})});const l=It(!0);n&&we(()=>{const c=Tn.at(-1)?.[0]===a.uid;setTimeout(()=>l.value=c)});const d=nt(()=>!o.activeChildren.size);return{globalTop:nn(l),localTop:d,stackStyles:nt(()=>({zIndex:u.value}))}}function Cz(t){return{teleportTarget:O(()=>{const s=t();if(s===!0||!re)return;const a=s===!1?document.body:typeof s=="string"?document.querySelector(s):s;if(a==null)return;let n=[...a.children].find(r=>r.matches(".v-overlay-container"));return n||(n=document.createElement("div"),n.className="v-overlay-container",a.appendChild(n)),n})}}function Ez(){return!0}function Rv(t,e,s){if(!t||Ov(t,s)===!1)return!1;const a=q2(e);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===t.target)return!1;const n=(typeof s.value=="object"&&s.value.include||(()=>[]))();return n.push(e),!n.some(r=>r?.contains(t.target))}function Ov(t,e){return(typeof e.value=="object"&&e.value.closeConditional||Ez)(t)}function Mz(t,e,s){const a=typeof s.value=="function"?s.value:s.value.handler;t.shadowTarget=t.target,e._clickOutside.lastMousedownWasOutside&&Rv(t,e,s)&&setTimeout(()=>{Ov(t,s)&&a&&a(t)},0)}function g0(t,e){const s=q2(t);e(document),typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&e(s)}const _0={mounted(t,e){const s=n=>Mz(n,t,e),a=n=>{t._clickOutside.lastMousedownWasOutside=Rv(n,t,e)};g0(t,n=>{n.addEventListener("click",s,!0),n.addEventListener("mousedown",a,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:s,onMousedown:a}},beforeUnmount(t,e){t._clickOutside&&(g0(t,s=>{if(!s||!t._clickOutside?.[e.instance.$.uid])return;const{onClick:a,onMousedown:n}=t._clickOutside[e.instance.$.uid];s.removeEventListener("click",a,!0),s.removeEventListener("mousedown",n,!0)}),delete t._clickOutside[e.instance.$.uid])}};function xz(t){const{modelValue:e,color:s,...a}=t;return L(va,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&N("div",Et({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},a),null)]})}const Pc=mt({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...hz(),...qt(),...Ms(),...Tz(),...rz(),...bz(),...Ue(),...fl()},"VOverlay"),Bo=Rt()({name:"VOverlay",directives:{vClickOutside:_0},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Pc()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,keydown:t=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(t,e){let{slots:s,attrs:a,emit:n}=e;const r=Pe("VOverlay"),o=Y(),u=Y(),l=Y(),d=bi(t,"modelValue"),c=O({get:()=>d.value,set:P=>{P&&t.disabled||(d.value=P)}}),{themeClasses:b}=oi(t),{rtlClasses:p,isRtl:m}=os(),{hasContent:g,onAfterLeave:h}=Pz(t,c),y=pa(()=>typeof t.scrim=="string"?t.scrim:null),{globalTop:f,localTop:v,stackStyles:_}=jz(c,()=>t.zIndex,t._disableGlobalStack),{activatorEl:k,activatorRef:S,target:z,targetEl:A,targetRef:w,activatorEvents:I,contentEvents:T,scrimEvents:D}=yz(t,{isActive:c,isTop:v,contentEl:l}),{teleportTarget:j}=Cz(()=>{const P=t.attach||t.contained;if(P)return P;const R=k?.value?.getRootNode()||r.proxy?.$el?.getRootNode();return R instanceof ShadowRoot?R:!1}),{dimensionStyles:B}=xs(t),H=zz(),{scopeId:st}=Tc();zt(()=>t.disabled,P=>{P&&(c.value=!1)});const{contentStyles:ut,updateLocation:rt}=oz(t,{isRtl:m,contentEl:l,target:z,isActive:c});pz(t,{root:o,contentEl:l,targetEl:A,target:z,isActive:c,updateLocation:rt});function tt(P){n("click:outside",P),t.persistent?jt():c.value=!1}function ct(P){return c.value&&f.value&&(!t.scrim||P.target===u.value||P instanceof MouseEvent&&P.shadowTarget===u.value)}re&&zt(c,P=>{P?window.addEventListener("keydown",pt):window.removeEventListener("keydown",pt)},{immediate:!0}),Re(()=>{re&&window.removeEventListener("keydown",pt)});function pt(P){P.key==="Escape"&&f.value&&(l.value?.contains(document.activeElement)||n("keydown",P),t.persistent?jt():(c.value=!1,l.value?.contains(document.activeElement)&&k.value?.focus()))}function St(P){P.key==="Escape"&&!f.value||n("keydown",P)}const lt=w1();ha(()=>t.closeOnBack,()=>{S1(lt,P=>{f.value&&c.value?(P(!1),t.persistent?jt():c.value=!1):P()})});const dt=Y();zt(()=>c.value&&(t.absolute||t.contained)&&j.value==null,P=>{if(P){const R=xA(o.value);R&&R!==document.scrollingElement&&(dt.value=R.scrollTop)}});function jt(){t.noClickAnimation||l.value&&Vs(l.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Io})}function Zt(){n("afterEnter")}function Ft(){h(),n("afterLeave")}return Ut(()=>N(vt,null,[s.activator?.({isActive:c.value,targetRef:w,props:Et({ref:S},I.value,t.activatorProps)}),H.value&&g.value&&L(Rg,{disabled:!j.value,to:j.value},{default:()=>[N("div",Et({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":c.value,"v-overlay--contained":t.contained},b.value,p.value,t.class],style:[_.value,{"--v-overlay-opacity":t.opacity,top:Ot(dt.value)},t.style],ref:o,onKeydown:St},st,a),[L(xz,Et({color:y,modelValue:c.value&&!!t.scrim,ref:u},D.value),null),L(qs,{appear:!0,persisted:!0,transition:t.transition,target:z.value,onAfterEnter:Zt,onAfterLeave:Ft},{default:()=>[yi(N("div",Et({ref:l,class:["v-overlay__content",t.contentClass],style:[B.value,ut.value]},T.value,t.contentProps),[s.default?.({isActive:c})]),[[wa,c.value],[_0,{handler:tt,closeConditional:ct,include:()=>[k.value]}]])]})])]})])),{activatorEl:k,scrimEl:u,target:z,animateClick:jt,contentEl:l,rootEl:o,globalTop:f,localTop:v,updateLocation:rt}}}),Zl=Symbol("Forwarded refs");function Ql(t,e){let s=t;for(;s;){const a=Reflect.getOwnPropertyDescriptor(s,e);if(a)return a;s=Object.getPrototypeOf(s)}}function jc(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),a=1;a<e;a++)s[a-1]=arguments[a];return t[Zl]=s,new Proxy(t,{get(n,r){if(Reflect.has(n,r))return Reflect.get(n,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const o of s)if(o.value&&Reflect.has(o.value,r)){const u=Reflect.get(o.value,r);return typeof u=="function"?u.bind(o.value):u}}},has(n,r){if(Reflect.has(n,r))return!0;if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const o of s)if(o.value&&Reflect.has(o.value,r))return!0;return!1},set(n,r,o){if(Reflect.has(n,r))return Reflect.set(n,r,o);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const u of s)if(u.value&&Reflect.has(u.value,r))return Reflect.set(u.value,r,o);return!1},getOwnPropertyDescriptor(n,r){const o=Reflect.getOwnPropertyDescriptor(n,r);if(o)return o;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const u of s){if(!u.value)continue;const l=Ql(u.value,r)??("_"in u.value?Ql(u.value._?.setupState,r):void 0);if(l)return l}for(const u of s){const l=u.value&&u.value[Zl];if(!l)continue;const d=l.slice();for(;d.length;){const c=d.shift(),b=Ql(c.value,r);if(b)return b;const p=c.value&&c.value[Zl];p&&d.push(...p)}}}}})}const Iz=mt({id:String,submenu:Boolean,disableInitialFocus:Boolean,...Aa(Pc({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:I1}}),["absolute"])},"VMenu"),dd=Rt()({name:"VMenu",props:Iz(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const a=bi(t,"modelValue"),{scopeId:n}=Tc(),{isRtl:r}=os(),o=Zs(),u=nt(()=>t.id||`v-menu-${o}`),l=Y(),d=Wt(ld,null),c=It(new Set);Ae(ld,{register(){c.value.add(o)},unregister(){c.value.delete(o)},closeParents(_){setTimeout(()=>{!c.value.size&&!t.persistent&&(_==null||l.value?.contentEl&&!QS(_,l.value.contentEl))&&(a.value=!1,d?.closeParents())},40)}}),Re(()=>{d?.unregister(),document.removeEventListener("focusin",g)}),Md(()=>a.value=!1);let b=!1,p=-1;async function m(){b=!0,p=window.setTimeout(()=>{b=!1},100)}async function g(_){const k=_.relatedTarget,S=_.target;await _e(),a.value&&k!==S&&l.value?.rootEl&&l.value?.contentEl&&l.value?.localTop&&![document,l.value.rootEl].includes(S)&&!l.value.rootEl.contains(S)&&(b?!t.openOnHover&&!l.value.activatorEl?.contains(S)&&(a.value=!1):(Mo(l.value.contentEl)[0]?.focus(),document.removeEventListener("pointerdown",m)))}zt(a,_=>{_?(d?.register(),re&&!t.disableInitialFocus&&(document.addEventListener("pointerdown",m),document.addEventListener("focusin",g,{once:!0}))):(d?.unregister(),re&&(clearTimeout(p),document.removeEventListener("pointerdown",m),document.removeEventListener("focusin",g)))},{immediate:!0});function h(_){d?.closeParents(_)}function y(_){if(!t.disabled)if(_.key==="Tab"||_.key==="Enter"&&!t.closeOnContentClick){if(_.key==="Enter"&&(_.target instanceof HTMLTextAreaElement||_.target instanceof HTMLInputElement&&_.target.closest("form")))return;_.key==="Enter"&&_.preventDefault(),L2(Mo(l.value?.contentEl,!1),_.shiftKey?"prev":"next",S=>S.tabIndex>=0)||(a.value=!1,l.value?.activatorEl?.focus())}else t.submenu&&_.key===(r.value?"ArrowRight":"ArrowLeft")&&(a.value=!1,l.value?.activatorEl?.focus())}function f(_){if(t.disabled)return;const k=l.value?.contentEl;k&&a.value?_.key==="ArrowDown"?(_.preventDefault(),_.stopImmediatePropagation(),Un(k,"next")):_.key==="ArrowUp"?(_.preventDefault(),_.stopImmediatePropagation(),Un(k,"prev")):t.submenu&&(_.key===(r.value?"ArrowRight":"ArrowLeft")?a.value=!1:_.key===(r.value?"ArrowLeft":"ArrowRight")&&(_.preventDefault(),Un(k,"first"))):(t.submenu?_.key===(r.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(_.key))&&(a.value=!0,_.preventDefault(),setTimeout(()=>setTimeout(()=>f(_))))}const v=O(()=>Et({"aria-haspopup":"menu","aria-expanded":String(a.value),"aria-controls":u.value,"aria-owns":u.value,onKeydown:f},t.activatorProps));return Ut(()=>{const _=Bo.filterProps(t);return L(Bo,Et({ref:l,id:u.value,class:["v-menu",t.class],style:t.style},_,{modelValue:a.value,"onUpdate:modelValue":k=>a.value=k,absolute:!0,activatorProps:v.value,location:t.location??(t.submenu?"end":"bottom"),"onClick:outside":h,onKeydown:y},n),{activator:s.activator,default:function(){for(var k=arguments.length,S=new Array(k),z=0;z<k;z++)S[z]=arguments[z];return L(Ze,{root:"VMenu"},{default:()=>[s.default?.(...S)]})}})}),jc({id:u,ΨopenChildren:c},l)}}),Dz={class:"icon-thumb",style:{"margin-left":"-8px",width:"50px",height:"50px","margin-right":"0px"}},Lz=async function(t,e,s=0,a=0,n=!1,r=!1){const o=Array.isArray(t)?t:[t];if(o.length==0||o[0].media_type==At.FOLDER&&o[0].name=="..")return;const u=await Oz(o,e);n&&o[0].is_playable&&Xi(o[0])&&u.push(...await Nv(o,e)),u.length!=0&&Di.emit("contextmenu",{items:u,posX:s,posY:a,showPlayMenuHeader:r})},h0={[Ve.NEXT]:"mdi-skip-next-circle-outline",[Ve.ADD]:"mdi-playlist-plus",[Ve.REPLACE]:"mdi-play-circle-outline",[Ve.REPLACE_NEXT]:"mdi-skip-next-circle-outline",[Ve.PLAY]:"mdi-play-circle-outline"},y0={[Ve.NEXT]:"play_next",[Ve.ADD]:"add_queue",[Ve.REPLACE]:"play_replace",[Ve.REPLACE_NEXT]:"play_replace_next",[Ve.PLAY]:"play_now"},Rz=async function(t,e,s=0,a=0){const n=Array.isArray(t)?t:[t];n.length!=0&&Di.emit("contextmenu",{items:await Nv(n,e),posX:s,posY:a,showPlayMenuHeader:!0})},Nv=async function(t,e){const s=[];if(t.length==0||!Xi(t[0]))return s;const a=t.filter(u=>u.is_playable);if(a.length==0)return s;const n=a[0],r=await $.getCoreConfigValue("player_queues",`default_enqueue_option_${n.media_type}`);if(!bt.activePlayer)return s;s.push({label:y0[r],action:()=>{$.playMedia(a.map(u=>u.uri),r),bt.playMenuShown=!0},icon:h0[r],labelArgs:[],disabled:!bt.activePlayer}),a.length==1&&e&&e.uri!=n.uri&&(e.media_type==At.PLAYLIST&&s.push({label:"play_playlist_from",action:()=>{$.playMedia(e.uri,void 0,!1,a[0].item_id),bt.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!bt.activePlayer}),e.media_type==At.ALBUM&&s.push({label:"play_album_from",action:()=>{$.playMedia(e.uri,void 0,!1,n.item_id),bt.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!bt.activePlayer}),e.media_type==At.PODCAST&&s.push({label:"play_from_here",action:()=>{$.playMedia(e.uri,void 0,!1,n.item_id),bt.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!bt.activePlayer})),Nz(n)&&s.push({label:"play_radio",action:()=>{$.playMedia(t.map(u=>u.uri),Ve.REPLACE,!0),bt.playMenuShown=!0},icon:"mdi-radio-tower",labelArgs:[],disabled:!bt.activePlayer});const o=[];for(const u of[Ve.PLAY,Ve.NEXT,Ve.ADD,Ve.REPLACE,Ve.REPLACE_NEXT])o.push({label:y0[u],action:()=>{$.playMedia(t.map(l=>l.uri),u),bt.playMenuShown=!0},icon:h0[u],labelArgs:[],disabled:!bt.activePlayer,selected:u==r});if(s.push({label:"all_enqueue_options",subItems:o,icon:"mdi-playlist-play",labelArgs:[],disabled:!bt.activePlayer}),t.length>1&&t.every(u=>u.media_type===At.PODCAST_EPISODE&&"fully_played"in u&&"resume_position_ms"in u)){const u=t,l=m=>(m.resume_position_ms||0)>0,d=m=>m.fully_played,c=m=>!m.fully_played&&!l(m),b=u.every(d),p=u.every(c);b?s.push({label:"mark_unplayed",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async m=>{await $.markItemUnPlayed(m),m.fully_played=!1,m.resume_position_ms=0}))}}):p?s.push({label:"mark_played",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async m=>{await $.markItemPlayed(m,!0),m.fully_played=!0}))}}):(s.push({label:"mark_played",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async m=>{await $.markItemPlayed(m,!0),m.fully_played=!0}))}}),s.push({label:"mark_unplayed",icon:"mdi-clock-fast",action:async()=>{await Promise.all(u.map(async m=>{await $.markItemUnPlayed(m),m.fully_played=!1,m.resume_position_ms=0}))}}))}return s},Oz=async function(t,e){const s=[];if(t.length==0)return s;const a=t[0];if(t.length===1&&a!==e&&[At.ALBUM,At.ARTIST,At.AUDIOBOOK,At.PLAYLIST,At.PODCAST,At.TRACK].includes(t[0].media_type)&&Xi(t[0])&&s.push({label:"show_info",labelArgs:[],action:()=>{Qi.push({name:a.media_type,params:{itemId:a.item_id,provider:a.provider},query:{album:"album"in t[0]?t[0].album?.uri:""}})},icon:"mdi-information-outline"}),t.length===1&&t[0]!==e&&t[0].media_type==At.FOLDER&&Xi(t[0])&&s.push({label:"browse",labelArgs:[],action:()=>{Qi.push({name:"browse",query:{path:t[0].path}})},icon:"mdi-folder"}),t.length===1&&Xi(t[0])&&"artists"in t[0]&&t[0].artists.length===1)for(const r of t[0].artists)s.push({label:"goto_artist",labelArgs:[r.name],action:()=>{Qi.push({name:"artist",params:{itemId:r.item_id,provider:r.provider}})},icon:"mdi-account-music"});t.length===1&&Xi(t[0])&&"album"in t[0]&&t[0].album&&s.push({label:"goto_album",labelArgs:[t[0].album.name],action:()=>{Qi.push({name:"album",params:{itemId:t[0].album.item_id,provider:t[0].album.provider}})},icon:"mdi-album"});let n=a;if((a.provider!="library"||!("provider_mappings"in a))&&[At.ALBUM,At.ARTIST,At.AUDIOBOOK,At.PLAYLIST,At.PODCAST,At.RADIO,At.TRACK].includes(a.media_type)&&(n=await $.getLibraryItem(a.media_type,a.item_id,a.provider)||a),n.provider!="library"&&[At.ALBUM,At.ARTIST,At.AUDIOBOOK,At.PLAYLIST,At.PODCAST,At.RADIO,At.TRACK].includes(n.media_type)&&Xi(n)&&s.push({label:"add_library",labelArgs:[],action:()=>{for(const r of t)$.addItemToLibrary(r);Di.emit("clearSelection")},icon:"mdi-bookshelf"}),n.provider=="library"&&[At.ALBUM,At.ARTIST,At.AUDIOBOOK,At.PLAYLIST,At.PODCAST,At.RADIO,At.TRACK].includes(n.media_type)&&s.push({label:"remove_library",labelArgs:[],action:()=>{if(confirm(Bt("confirm_library_remove"))){for(const r of t)$.removeItemFromLibrary(r.media_type,r.item_id);n.item_id==e?.item_id&&Qi.go(-1),Di.emit("clearSelection")}},icon:"mdi-bookshelf"}),t.length>0&&t.every(r=>"favorite"in r)){const r=t.filter(o=>[At.ALBUM,At.ARTIST,At.AUDIOBOOK,At.PLAYLIST,At.PODCAST,At.RADIO,At.TRACK].includes(o.media_type)&&Xi(o));if(r.length>0){const o=r.every(l=>l.favorite),u=r.every(l=>!l.favorite);o?s.push({label:"favorites_remove",labelArgs:[],action:()=>{for(const l of r)$.removeItemFromFavorites(l.media_type,l.item_id);Di.emit("clearSelection")},icon:"mdi-heart"}):u?s.push({label:"favorites_add",labelArgs:[],action:()=>{for(const l of r)$.addItemToFavorites(l);Di.emit("clearSelection")},icon:"mdi-heart-outline"}):(s.push({label:"favorites_add",labelArgs:[],action:()=>{for(const l of r.filter(d=>!d.favorite))$.addItemToFavorites(l);Di.emit("clearSelection")},icon:"mdi-heart-outline"}),s.push({label:"favorites_remove",labelArgs:[],action:()=>{for(const l of r.filter(d=>d.favorite))$.removeItemFromFavorites(l.media_type,l.item_id);Di.emit("clearSelection")},icon:"mdi-heart"}))}}if(e&&e.media_type===At.PLAYLIST){const r=e;t[0].media_type===At.TRACK&&r.is_editable&&s.push({label:"remove_playlist",labelArgs:[],action:()=>{$.removePlaylistTracks(r.item_id,t.map(o=>o.position))},icon:"mdi-minus-circle-outline"})}return(t[0].media_type===At.TRACK||t[0].media_type===At.ALBUM)&&s.push({label:"add_playlist",labelArgs:[],action:()=>{Di.emit("playlistdialog",{items:t,parentItem:e})},icon:"mdi-plus-circle-outline"}),t.length===1&&"fully_played"in t[0]&&"resume_position_ms"in t[0]&&(t[0].fully_played||t[0].resume_position_ms?s.push({label:"mark_unplayed",icon:"mdi-clock-fast",action:async()=>{await $.markItemUnPlayed(t[0]),t[0].fully_played=!1}}):s.push({label:"mark_played",icon:"mdi-clock-fast",action:async()=>{await $.markItemPlayed(t[0],!0),t[0].fully_played=!0}})),t.length===1&&t[0]==e&&s.push({label:"update_metadata",labelArgs:[],action:async()=>{const r=await $.updateMetadata(t[0],!0);r&&Object.assign(t[0],r)},icon:"mdi-image-album"}),t.length===1&&(t[0]==e||!Xi(t[0]))&&s.push({label:"refresh_item",labelArgs:[],action:async()=>{const r=await $.refreshItem(t[0]);r&&Object.assign(t[0],r)},icon:"mdi-refresh"}),s},Nz=function(t){if([At.TRACK,At.ARTIST,At.ALBUM,At.PLAYLIST].includes(t.media_type)){if("provider_mappings"in t){for(const e of t.provider_mappings)if($.providers[e.provider_instance]?.supported_features.includes(no.SIMILAR_TRACKS))return!0}else if($.providers[t.provider]?.supported_features.includes(no.SIMILAR_TRACKS))return!0;if(t.provider=="library"){for(const e of Object.values($.providers))if(e.supported_features.includes(no.SIMILAR_TRACKS))return!0}return!1}},Yx=Te({__name:"ItemContextMenu",setup(t){const e=Y(!1),s=Y([]),a=Y(0),n=Y(0),r=Y(!1),o=Y(!1),u=Y([]),l=Y(0),d=Y(0);Le(()=>{Di.on("contextmenu",async p=>{s.value=p.items,a.value=p.posX||0,n.value=p.posY||0,r.value=p.showPlayMenuHeader||!1,_e(()=>{e.value=!0})}),Re(()=>{Di.off("contextmenu")})});const c=function(p,m){if(m.subItems){p.preventDefault(),u.value=m.subItems,l.value=p.clientX,d.value=p.clientY,o.value=!0;return}else m.action&&m.action();o.value&&(o.value=!1,m.close_on_click==!1)||m.close_on_click!=!1&&(e.value=!1,bt.dialogActive=!1)},b=function(p){p.preventDefault();const m=[],g=Object.values($.players).filter(h=>$z(h)).sort((h,y)=>h.name.toUpperCase()>y.name?.toUpperCase()?1:-1);for(const h of g)m.push({label:h.name,action:()=>{p.preventDefault(),bt.activePlayerId=h.player_id,bt.playMenuShown=!0},icon:h.icon,selected:bt.activePlayerId==h.player_id,close_on_click:!1});u.value=m,l.value=p.clientX,d.value=p.clientY,o.value=!0};return(p,m)=>(W(),et(vt,null,[L(dd,{modelValue:e.value,"onUpdate:modelValue":[m[0]||(m[0]=g=>e.value=g),m[1]||(m[1]=g=>{X(bt).dialogActive=g})],target:[a.value,n.value],scrim:!X(bt).showPlayersMenu,style:{"z-index":"999999"},"z-index":"999999"},{default:ht(()=>[L(dr,{"min-width":"300"},{default:ht(()=>[L(nd,{density:"compact",slim:"",tile:""},{default:ht(()=>[r.value?(W(),ee(Va,{key:0,link:"","append-icon":"mdi-chevron-right",onClick:xl(b,["stop"])},{prepend:ht(()=>[N("div",Dz,[L(Yt,{size:"35",icon:X(bt).activePlayer?X(bt).activePlayer.icon:"mdi-speaker",style:{display:"table-cell",opacity:"0.8"}},null,8,["icon"])])]),title:ht(()=>[L(Va,{title:X(Bt)("play_on"),density:"compact",subtitle:X(bt).activePlayer?.name||X(Bt)("no_player")},null,8,["title","subtitle"])]),_:1})):Mt("",!0),r.value?(W(),ee(pv,{key:1,style:{"margin-top":"5px","margin-bottom":"5px"}})):Mt("",!0),(W(!0),et(vt,null,ai(s.value.filter(g=>!g.hide),g=>(W(),et("div",{key:g.label,class:wt(["menurow",{"menu-item-error":g.color==="error"}])},[L(Va,{variant:"text",title:X(Bt)(g.label,g.labelArgs||[]),disabled:g.disabled==!0,"prepend-icon":g.icon,color:g.color,border:"bottom","append-icon":g.selected?"mdi-check":g.subItems?.length?"mdi-chevron-right":void 0,style:{"padding-left":"25px"},onClick:xl(h=>c(h,g),["stop"])},null,8,["title","disabled","prepend-icon","color","append-icon","onClick"])],2))),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target","scrim"]),L(dd,{modelValue:o.value,"onUpdate:modelValue":m[2]||(m[2]=g=>o.value=g),target:[l.value,d.value],style:{"z-index":"999999"},"z-index":"999999"},{default:ht(()=>[L(dr,{"min-width":"260"},{default:ht(()=>[L(nd,{density:"compact",slim:"",tile:""},{default:ht(()=>[(W(!0),et(vt,null,ai(u.value.filter(g=>!g.hide),g=>(W(),et("div",{key:g.label,class:wt(["menurow",{"menu-item-error":g.color==="error"}])},[L(Va,{variant:"text",title:X(Bt)(g.label,g.labelArgs||[]),disabled:g.disabled==!0,"prepend-icon":g.icon,color:g.color,"append-icon":g.selected?"mdi-check":void 0,onClick:xl(h=>c(h,g),["stop"])},null,8,["title","disabled","prepend-icon","color","append-icon","onClick"])],2))),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target"])],64))}}),Bz=(t,e)=>{const s=t.__vccOpts||t;for(const[a,n]of e)s[a]=n;return s};var fi=(t=>(t.DISABLED="disabled",t.CONTROLS_ONLY="controls_only",t.BUILTIN="builtin",t))(fi||{});let Pn=[];const Xs=new BroadcastChannel("web-player"),Ai={IS_ACTIVE:"IS_WEBPLAYER_ACTIVE",IS_ACTIVE_RESPONSE:"WEBPLAYER_IS_ACTIVE",TAKING_CONTROL:"TAKING_CONTROL:",CONTROL_AVAILABLE:"CONTROL_AVAILABLE",CONTROL_TAKEN:"CONTROL_TAKEN"},Fz=75e3,Bv=new Uint32Array(10);self.crypto.getRandomValues(Bv);const Gz=Bv.join("");Xs.onmessage=t=>{if(typeof t.data=="string"&&t.data.startsWith(Ai.TAKING_CONTROL)){Gt.tabMode==="builtin"&&Gt.setTabMode("controls_only",!0);const e=t.data.substring(Ai.TAKING_CONTROL.length);zi!==void 0?zi=zi>e?zi:e:zi=e}switch(t.data){case Ai.IS_ACTIVE:Gt.tabMode==="builtin"&&Gt.player_id&&(Gt.timedOutDueToThrottling()?Gt.setTabMode("controls_only",!0):Xs.postMessage(Ai.IS_ACTIVE_RESPONSE));break;case Ai.IS_ACTIVE_RESPONSE:Hn.forEach(e=>{clearTimeout(e.timeout),e.resolve(!0)}),Hn=[];break;case Ai.CONTROL_AVAILABLE:Gt.mode==="builtin"&&Gt.tabMode!=="builtin"&&Gt.setTabMode("builtin");break;case Ai.CONTROL_TAKEN:Gt.tabMode==="builtin"&&Gt.setTabMode("controls_only",!0);break}};window.addEventListener("unload",function(){Xs.onmessage=null,Gt.tabMode==="builtin"&&Gt.player_id&&Xs.postMessage(Ai.CONTROL_AVAILABLE)});let Hn=[];async function Vz(){return new Promise(t=>{const e=window.setTimeout(()=>{Hn=Hn.filter(s=>s.timeout!==e),t(!1)},500);Hn.push({resolve:t,timeout:e}),Xs.postMessage(Ai.IS_ACTIVE)})}let zi;async function qz(){const t=(Gt.interacted?"1":"0")+(document.hidden?"0":"1")+Gz;return zi!==void 0?zi=zi>t?zi:t:zi=t,Xs.postMessage(Ai.TAKING_CONTROL+t),new Promise(e=>{setTimeout(()=>{const s=zi===t;zi=void 0,e(s)},2e3)})}const Gt=de({mode:"disabled",tabMode:"disabled",audioSource:"disabled",baseUrl:"",player_id:null,interacted:!1,lastUpdate:0,async setMode(t){this.mode=t,this.setTabMode(t)},async setTabMode(t,e=!1){for(const a of Pn)a();Pn=[];let s;if(this.tabMode==="builtin"&&this.player_id&&(Xs.postMessage(Ai.CONTROL_AVAILABLE),e||(s=this.player_id)),this.audioSource="disabled",this.player_id=null,t==="builtin"&&(await Vz()?t="controls_only":await qz()||(t="controls_only")),t=="builtin"){this.audioSource="controls_only";const a=window.localStorage.getItem("builtin_webplayer_id");s=void 0;const n=await $.registerBuiltinPlayer("This Device",a!==null?a:void 0);this.lastUpdate=Date.now();const r=n.player_id;a!==r&&window.localStorage.setItem("builtin_webplayer_id",r),this.player_id=r,Xs.postMessage(Ai.CONTROL_TAKEN)}else if(t=="controls_only"){const a=window.localStorage.getItem("builtin_webplayer_id");this.player_id=a,this.audioSource="controls_only"}else this.audioSource="disabled";s&&await $.unregisterBuiltinPlayer(s),this.tabMode=t,this.player_id&&(Pn.push($.subscribe(Me.DISCONNECTED,()=>{this.setTabMode("controls_only",!0)})),this.mode==="builtin"&&Pn.push($.subscribe(Me.PLAYER_UPDATED,()=>{this.player_id&&$.players[this.player_id]&&!$.players[this.player_id].available&&(this.tabMode==="builtin"&&this.setTabMode("controls_only",!0),this.setTabMode("builtin"))},this.player_id)),Pn.push($.subscribe(Me.PLAYER_REMOVED,()=>{this.setTabMode("controls_only",!0)},this.player_id)))},setBaseUrl(t){if(t.endsWith("/")&&(t=t.slice(0,-1)),t===this.baseUrl)return;const e=this.tabMode;this.setTabMode("disabled"),this.baseUrl=t,this.setTabMode(e)},async setInteracted(){this.interacted||(this.interacted=!0)},timedOutDueToThrottling(){return Date.now()-Gt.lastUpdate>=Fz}}),Xx=function(t){if(!t)return t;$&&$.serverInfo&&$.serverInfo.value&&($.serverInfo.value.server_version=="0.0.0"||$.serverInfo.value.server_version.includes("b"))&&(t=t.replace("://music-assistant.io","://beta.music-assistant.io")),window.open(t,"_blank")},Uz=t=>t==null||t==null||!t?!1:typeof t=="boolean"?t:!!JSON.parse(String(t).toLowerCase()),Zx=function(t){t=Math.floor(t);const e=Math.floor(t/3600),s=Math.floor((t-e*3600)/60),a=t-e*3600-s*60;let n=e.toString(),r=s.toString(),o=a.toString();return e<10&&(n="0"+e),s<10&&(r="0"+s),a<10&&(o="0"+a),n==="00"?r+":"+o:n+":"+r+":"+o},k0=function(t,e){return t?t.length<=e?t:t.slice(0,e)+"...":""},Qx=function(t,e){return t?e?t.slice(0,e).map(s=>s.name).join(" | "):t.map(s=>s.name).join(" | "):""},Jx=function(t,e){let s="";return t?.name&&t?.translation_key?s=`${t.name}: ${e(t?.translation_key)}`:t?.name?s=t.name:t?.translation_key?s=e(t?.translation_key):s=t.path||"",s},tI=function(t,e=26){if(!t)return"";const s=t.group_members.filter(a=>$.players[a]?.available&&a!=t.player_id);return t.type!=Sf.GROUP&&s.length?`${k0(t.name,e-3)} +${s.length}`:k0(t.name,e)},eI=function(t){const e=[];for(const s of t?.provider_mappings||[])s.provider_domain.startsWith("filesystem")||s.provider_domain!="plex"&&(e.filter(a=>a.provider_domain==s.provider_domain).length||e.push(s));return e},iI=t=>new Promise(e=>setTimeout(e,t));function Fv(t,e){const s=xe(t),a=xe(e);return s.contrast(a)}function Cc(t){const[e,s,a]=t;return`#${e.toString(16).padStart(2,"0")}${s.toString(16).padStart(2,"0")}${a.toString(16).padStart(2,"0")}`}function Hz(t){let e="",s=0;return t.forEach(a=>{const n=Cc(a),r=Fv("#000000",n);(r>s&&r>=7||r>s&&r>=s*.7)&&(s=r,e=n)}),e}function Wz(t){let e="",s=0;const a=17.35;return t.forEach(n=>{const r=Cc(n),o=Fv("#fff",r);a>=o&&(o>s&&o>=7||o>s&&o>=s*.7)&&(s=o,e=r)}),e}function sI(t){const s=new Na().getPalette(t,5),a=s.map(n=>Cc(n));return{0:a[0],1:a[1],2:a[2],3:a[3],4:a[4],lightColor:Hz(s),darkColor:Wz(s)}}function aI(t,e){if(t)return t;for(const s of e){const a=s,n=a[0],r=a[1],o=a[2];if(n)return r;if(o!==void 0)return o}}function nI(t,e,s){const a=t.scrollTop,n=e-a,r=new Date().getTime(),o=(l,d,c,b)=>(l/=b/2,l<1?c/2*l*l+d:(l--,-c/2*(l*(l-2)-1)+d)),u=()=>{const d=new Date().getTime()-r;t.scrollTop=o(d,a,n,s),d<s?requestAnimationFrame(u):t.scrollTop=e};u()}const rI=function(t){return ei({breakpoint:"bp1",condition:"lt"})?2:ei({breakpoint:"bp1",condition:"gt"})&&ei({breakpoint:"bp4",condition:"lt"})?3:ei({breakpoint:"bp4",condition:"gt"})&&ei({breakpoint:"bp6",condition:"lt"})?4:ei({breakpoint:"bp6",condition:"gt"})&&ei({breakpoint:"bp7",condition:"lt"})?5:ei({breakpoint:"bp7",condition:"gt"})&&ei({breakpoint:"bp8",condition:"lt"})?6:ei({breakpoint:"bp8",condition:"gt"})&&ei({breakpoint:"bp9",condition:"lt"})?7:ei({breakpoint:"bp9",condition:"gt"})&&ei({breakpoint:"bp10",condition:"lt"})?8:ei({breakpoint:"bp10",condition:"gt"})?9:0};function Kz(){let t=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(t=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(t=!0),t}const oI=function(t){return t=t.replaceAll(/\\n/g,"<br />").replaceAll(`
|
|
1036
|
+
`,"<br />").replaceAll(" \\","<br />"),ie(t)},$z=function(t,e=!1){return t.provider=="builtin_player"&&t.player_id==Gt.player_id?!0:!(!t.enabled||t.hide_player_in_ui.includes(Oa.ALWAYS)||t.hide_player_in_ui.includes(Oa.WHEN_SYNCED)&&t.synced_to&&!e||t.hide_player_in_ui.includes(Oa.WHEN_GROUP_ACTIVE)&&t.active_group&&!e||t.hide_player_in_ui.includes(Oa.WHEN_OFF)&&t.powered===!1||t.hide_player_in_ui.includes(Oa.WHEN_UNAVAILABLE)&&!t.available)},w0=function(t,e,s,a,n){if(!n&&bt.playMenuShown&&bt.activePlayer?.available&&[Xa.PLAYING,Xa.PAUSED].includes(bt.activePlayer?.playback_state)){bt.playActionInProgress=!0,$.playMedia(t).then(()=>{bt.playActionInProgress=!1});return}Rz(t,a,e,s)},lI=function(t,e,s,a){if(!Xi(t)){Yz(t,e,s);return}if(t.media_type==At.FOLDER){Qi.push({name:"browse",query:{path:t.path}});return}if(t.media_type==At.PODCAST_EPISODE){w0(t,e,s,a,!0);return}if([At.TRACK,At.RADIO].includes(t.media_type)&&a){w0(t,e,s,a,!0);return}Qi.push({name:t.media_type,params:{itemId:t.item_id,provider:t.provider}})},Yz=function(t,e,s,a,n=!0){const r=Array.isArray(t)?t:[t];Lz(r,a,e,s,n)},Jl=new Af(window.navigator.userAgent),Xz=Jl.tablet()?"tablet":Jl.phone()||Jl.mobile()?"phone":"desktop",bt=de({activePlayerId:void 0,isInStandaloneMode:!1,showPlayersMenu:!1,showFullscreenPlayer:!1,frameless:!1,showQueueItems:!1,apiInitialized:!1,apiBaseUrl:"",dialogActive:!1,activePlayer:O(()=>{if(bt.activePlayerId&&bt.activePlayerId in $.players)return $.players[bt.activePlayerId]}),activePlayerQueue:O(()=>{if(bt.activePlayer?.active_source&&bt.activePlayer.active_source in $.queues)return $.queues[bt.activePlayer.active_source];if(bt.activePlayer&&!bt.activePlayer.active_source&&bt.activePlayer.player_id in $.queues&&$.queues[bt.activePlayer.player_id].active)return $.queues[bt.activePlayer.player_id]}),curQueueItem:O(()=>{if(bt.activePlayerQueue&&bt.activePlayerQueue.active)return bt.activePlayerQueue.current_item}),globalSearchTerm:void 0,globalSearchType:void 0,prevState:void 0,prevRoute:void 0,libraryArtistsCount:void 0,libraryAlbumsCount:void 0,libraryTracksCount:void 0,libraryPlaylistsCount:void 0,libraryRadiosCount:void 0,connected:!1,isTouchscreen:Kz(),playMenuShown:!1,playActionInProgress:!1,deviceType:Xz,mobileLayout:O(()=>ei({breakpoint:"tablet"})||Uz(bt.forceMobileLayout)),currentUser:void 0,serverInfo:void 0,isAuthenticated:!1,isIngressSession:window.location.pathname.includes("/hassio_ingress/"),isOnboarding:!1});let cd=1;var Zz=class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{const s=this.subscribers.indexOf(e);this.subscribers.splice(s,1)});publish=e=>{this.subscribers.forEach(s=>s(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{const{message:s,...a}=e,n=typeof e.id=="number"||e.id&&e.id?.length>0?e.id:cd++,r=this.toasts.find(u=>u.id===n),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(u=>u.id===n?(this.publish({...u,...e,id:n,title:s}),{...u,...e,id:n,dismissible:o,title:s}):u):this.addToast({title:s,...a,dismissible:o,id:n}),n};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:e,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(a=>a({id:s.id,dismiss:!0}))}),e);message=(e,s)=>this.create({...s,message:e,type:"default"});error=(e,s)=>this.create({...s,type:"error",message:e});success=(e,s)=>this.create({...s,type:"success",message:e});info=(e,s)=>this.create({...s,type:"info",message:e});warning=(e,s)=>this.create({...s,type:"warning",message:e});loading=(e,s)=>this.create({...s,type:"loading",message:e});promise=(e,s)=>{if(!s)return;let a;s.loading!==void 0&&(a=this.create({...s,promise:e,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const n=Promise.resolve(e instanceof Function?e():e);let r=a!==void 0,o;const u=n.then(async d=>{if(o=["resolve",d],Pi(d))r=!1,this.create({id:a,type:"default",message:d});else if(Jz(d)&&!d.ok){r=!1;const b=typeof s.error=="function"?await s.error(`HTTP error! status: ${d.status}`):s.error,p=typeof s.description=="function"?await s.description(`HTTP error! status: ${d.status}`):s.description,g=typeof b=="object"&&!Pi(b)?b:{message:b||"",id:a||""};this.create({id:a,type:"error",description:p,...g})}else if(d instanceof Error){r=!1;const b=typeof s.error=="function"?await s.error(d):s.error,p=typeof s.description=="function"?await s.description(d):s.description,g=typeof b=="object"&&!Pi(b)?b:{message:b||"",id:a||""};this.create({id:a,type:"error",description:p,...g})}else if(s.success!==void 0){r=!1;const b=typeof s.success=="function"?await s.success(d):s.success,p=typeof s.description=="function"?await s.description(d):s.description,g=typeof b=="object"&&!Pi(b)?b:{message:b||"",id:a||""};this.create({id:a,type:"success",description:p,...g})}}).catch(async d=>{if(o=["reject",d],s.error!==void 0){r=!1;const c=typeof s.error=="function"?await s.error(d):s.error,b=typeof s.description=="function"?await s.description(d):s.description,m=typeof c=="object"&&!Pi(c)?c:{message:c||"",id:a||""};this.create({id:a,type:"error",description:b,...m})}}).finally(()=>{r&&(this.dismiss(a),a=void 0),s.finally?.()}),l=()=>new Promise((d,c)=>u.then(()=>o[0]==="reject"?c(o[1]):d(o[1])).catch(c));return typeof a!="string"&&typeof a!="number"?{unwrap:l}:Object.assign(a,{unwrap:l})};custom=(e,s)=>{const a=s?.id||cd++,n=this.toasts.find(o=>o.id===a),r=s?.dismissible===void 0?!0:s.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),n?this.toasts=this.toasts.map(o=>o.id===a?(this.publish({...o,component:e,dismissible:r,id:a,...s}),{...o,component:e,dismissible:r,id:a,...s}):o):this.addToast({component:e,dismissible:r,id:a,...s}),a};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};const li=new Zz;function Qz(t,e){const s=e?.id||cd++;return li.create({message:t,id:s,type:"default",...e}),s}const Jz=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",tT=Qz,eT=()=>li.toasts,iT=()=>li.getActiveToasts(),bd=Object.assign(tT,{success:li.success,info:li.info,warning:li.warning,error:li.error,custom:li.custom,message:li.message,promise:li.promise,dismiss:li.dismiss,loading:li.loading},{getHistory:eT,getToasts:iT});function Hr(t){return t.label!==void 0}const sT=3,Gv="24px",Vv="16px",S0=4e3,aT=356,nT=14,rT=45,qv=200;function oT(){const t=Y(!1);return we(()=>{const e=()=>{t.value=document.hidden};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),{isDocumentHidden:t}}function Rs(...t){return t.filter(Boolean).join(" ")}function lT(t){const[e,s]=t.split("-"),a=[];return e&&a.push(e),s&&a.push(s),a}function uT(t,e){const s={};return[t,e].forEach((a,n)=>{const r=n===1,o=r?"--mobile-offset":"--offset",u=r?Vv:Gv;function l(d){["top","right","bottom","left"].forEach(c=>{s[`${o}-${c}`]=typeof d=="number"?`${d}px`:d})}typeof a=="number"||typeof a=="string"?l(a):typeof a=="object"?["top","right","bottom","left"].forEach(d=>{a[d]===void 0?s[`${o}-${d}`]=u:s[`${o}-${d}`]=typeof a[d]=="number"?`${a[d]}px`:a[d]}):l(u)}),s}const dT=["data-rich-colors","data-styled","data-mounted","data-promise","data-swiped","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-swipe-direction","data-expanded","data-testid"],cT=["aria-label","data-disabled","data-close-button-position"];var bT=Te({__name:"Toast",props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:["update:heights","update:height","removeToast"],setup(t,{emit:e}){const s=t,a=e,n=Y(null),r=Y(null),o=Y(!1),u=Y(!1),l=Y(!1),d=Y(!1),c=Y(!1),b=Y(0),p=Y(0),m=Y(s.toast.duration||s.duration||S0),g=Y(null),h=Y(null),y=O(()=>s.index===0),f=O(()=>s.index+1<=s.visibleToasts),v=O(()=>s.toast.type),_=O(()=>s.toast.dismissible!==!1),k=O(()=>s.toast.class||""),S=O(()=>s.descriptionClass||""),z=O(()=>{const P=s.toast.position||s.position,F=s.heights.filter(Z=>Z.position===P).findIndex(Z=>Z.toastId===s.toast.id);return F>=0?F:0}),A=O(()=>{const P=s.toast.position||s.position;return s.heights.filter(F=>F.position===P).reduce((F,Z,ot)=>ot>=z.value?F:F+Z.height,0)}),w=O(()=>z.value*s.gap+A.value||0),I=O(()=>s.toast.closeButton??s.closeButton),T=O(()=>s.toast.duration||s.duration||S0),D=Y(0),j=Y(0),B=Y(null),H=O(()=>s.position.split("-")),st=O(()=>H.value[0]),ut=O(()=>H.value[1]),rt=O(()=>typeof s.toast.title!="string"),tt=O(()=>typeof s.toast.description!="string"),{isDocumentHidden:ct}=oT(),pt=O(()=>v.value&&v.value==="loading");Le(()=>{o.value=!0,m.value=T.value}),we(async()=>{if(!o.value||!h.value)return;await _e();const P=h.value,R=P.style.height;P.style.height="auto";const F=P.getBoundingClientRect().height;P.style.height=R,p.value=F,a("update:height",{toastId:s.toast.id,height:F,position:s.toast.position||s.position})});function St(){u.value=!0,b.value=w.value,setTimeout(()=>{a("removeToast",s.toast)},qv)}function lt(){if(pt.value||!_.value)return{};St(),s.toast.onDismiss?.(s.toast)}function dt(P){P.button!==2&&(pt.value||!_.value||(g.value=new Date,b.value=w.value,P.target.setPointerCapture(P.pointerId),P.target.tagName!=="BUTTON"&&(l.value=!0,B.value={x:P.clientX,y:P.clientY})))}function jt(){if(d.value||!_.value)return;B.value=null;const P=Number(h.value?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),R=Number(h.value?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),F=new Date().getTime()-(g.value?.getTime()||0),Z=n.value==="x"?P:R,ot=Math.abs(Z)/F;if(Math.abs(Z)>=rT||ot>.11){b.value=w.value,s.toast.onDismiss?.(s.toast),n.value==="x"?r.value=P>0?"right":"left":r.value=R>0?"down":"up",St(),d.value=!0;return}else h.value?.style.setProperty("--swipe-amount-x","0px"),h.value?.style.setProperty("--swipe-amount-y","0px");c.value=!1,l.value=!1,n.value=null}function Zt(P){if(!B.value||!_.value||(window?.getSelection()?.toString()?.length??!1))return;const F=P.clientY-B.value.y,Z=P.clientX-B.value.x,ot=s.swipeDirections??lT(s.position);!n.value&&(Math.abs(Z)>1||Math.abs(F)>1)&&(n.value=Math.abs(Z)>Math.abs(F)?"x":"y");let E={x:0,y:0};const x=G=>1/(1.5+Math.abs(G)/20);if(n.value==="y"){if(ot.includes("top")||ot.includes("bottom"))if(ot.includes("top")&&F<0||ot.includes("bottom")&&F>0)E.y=F;else{const G=F*x(F);E.y=Math.abs(G)<Math.abs(F)?G:F}}else if(n.value==="x"&&(ot.includes("left")||ot.includes("right")))if(ot.includes("left")&&Z<0||ot.includes("right")&&Z>0)E.x=Z;else{const G=Z*x(Z);E.x=Math.abs(G)<Math.abs(Z)?G:Z}(Math.abs(E.x)>0||Math.abs(E.y)>0)&&(c.value=!0),h.value?.style.setProperty("--swipe-amount-x",`${E.x}px`),h.value?.style.setProperty("--swipe-amount-y",`${E.y}px`)}Le(()=>{if(o.value=!0,!h.value)return;const P=h.value.getBoundingClientRect().height;p.value=P;const R=[{toastId:s.toast.id,height:P,position:s.toast.position},...s.heights];a("update:heights",R)}),Re(()=>{h.value&&a("removeToast",s.toast)}),we(P=>{if(s.toast.promise&&v.value==="loading"||s.toast.duration===1/0||s.toast.type==="loading")return;let R;const F=()=>{if(j.value<D.value){const ot=new Date().getTime()-D.value;m.value=m.value-ot}j.value=new Date().getTime()},Z=()=>{m.value!==1/0&&(D.value=new Date().getTime(),R=setTimeout(()=>{s.toast.onAutoClose?.(s.toast),St()},m.value))};s.expanded||s.interacting||ct.value?F():Z(),P(()=>{clearTimeout(R)})}),zt(()=>s.toast.delete,P=>{P!==void 0&&P&&(St(),s.toast.onDismiss?.(s.toast))},{deep:!0});function Ft(){l.value=!1,n.value=null,B.value=null}return(P,R)=>(W(),et("li",{tabindex:"0",ref_key:"toastRef",ref:h,class:wt(X(Rs)(s.class,k.value,P.classes?.toast,P.toast.classes?.toast,P.classes?.[v.value],P.toast?.classes?.[v.value])),"data-sonner-toast":"","data-rich-colors":P.toast.richColors??P.defaultRichColors,"data-styled":!(P.toast.component||P.toast?.unstyled||P.unstyled),"data-mounted":o.value,"data-promise":!!P.toast.promise,"data-swiped":c.value,"data-removed":u.value,"data-visible":f.value,"data-y-position":st.value,"data-x-position":ut.value,"data-index":P.index,"data-front":y.value,"data-swiping":l.value,"data-dismissible":_.value,"data-type":v.value,"data-invert":P.toast.invert||P.invert,"data-swipe-out":d.value,"data-swipe-direction":r.value,"data-expanded":!!(P.expanded||P.expandByDefault&&o.value),"data-testid":P.toast.testId,style:Lt({"--index":P.index,"--toasts-before":P.index,"--z-index":P.toasts.length-P.index,"--offset":`${u.value?b.value:w.value}px`,"--initial-height":P.expandByDefault?"auto":`${p.value}px`,...P.style,...s.toast.style}),onDragend:Ft,onPointerdown:dt,onPointerup:jt,onPointermove:Zt},[I.value&&!P.toast.component&&v.value!=="loading"?(W(),et("button",{key:0,"aria-label":P.closeButtonAriaLabel||"Close toast","data-disabled":pt.value,"data-close-button":"true","data-close-button-position":P.closeButtonPosition,class:wt(X(Rs)(P.classes?.closeButton,P.toast?.classes?.closeButton)),onClick:lt},[P.icons?.close?(W(),ee(La(P.icons?.close),{key:0})):gi(P.$slots,"close-icon",{key:1})],10,cT)):Mt("v-if",!0),P.toast.component?(W(),ee(La(P.toast.component),Et({key:1},P.toast.componentProps,{onCloseToast:lt,isPaused:P.$props.expanded||P.$props.interacting||X(ct)}),null,16,["isPaused"])):(W(),et(vt,{key:2},[v.value!=="default"||P.toast.icon||P.toast.promise?(W(),et("div",{key:0,"data-icon":"",class:wt(X(Rs)(P.classes?.icon,P.toast?.classes?.icon))},[P.toast.icon?(W(),ee(La(P.toast.icon),{key:0})):(W(),et(vt,{key:1},[v.value==="loading"?gi(P.$slots,"loading-icon",{key:0}):v.value==="success"?gi(P.$slots,"success-icon",{key:1}):v.value==="error"?gi(P.$slots,"error-icon",{key:2}):v.value==="warning"?gi(P.$slots,"warning-icon",{key:3}):v.value==="info"?gi(P.$slots,"info-icon",{key:4}):Mt("v-if",!0)],64))],2)):Mt("v-if",!0),N("div",{"data-content":"",class:wt(X(Rs)(P.classes?.content,P.toast?.classes?.content))},[N("div",{"data-title":"",class:wt(X(Rs)(P.classes?.title,P.toast.classes?.title))},[rt.value?(W(),ee(La(P.toast.title),pu(Et({key:0},P.toast.componentProps)),null,16)):(W(),et(vt,{key:1},[Tt(_t(P.toast.title),1)],64))],2),P.toast.description?(W(),et("div",{key:0,"data-description":"",class:wt(X(Rs)(P.descriptionClass,S.value,P.classes?.description,P.toast.classes?.description))},[tt.value?(W(),ee(La(P.toast.description),pu(Et({key:0},P.toast.componentProps)),null,16)):(W(),et(vt,{key:1},[Tt(_t(P.toast.description),1)],64))],2)):Mt("v-if",!0)],2),P.toast.cancel?(W(),et("button",{key:1,style:Lt(P.toast.cancelButtonStyle||P.cancelButtonStyle),class:wt(X(Rs)(P.classes?.cancelButton,P.toast.classes?.cancelButton)),"data-button":"","data-cancel":"",onClick:R[0]||(R[0]=F=>{X(Hr)(P.toast.cancel)&&_.value&&(P.toast.cancel.onClick?.(F),St())})},_t(X(Hr)(P.toast.cancel)?P.toast.cancel?.label:P.toast.cancel),7)):Mt("v-if",!0),P.toast.action?(W(),et("button",{key:2,style:Lt(P.toast.actionButtonStyle||P.actionButtonStyle),class:wt(X(Rs)(P.classes?.actionButton,P.toast.classes?.actionButton)),"data-button":"","data-action":"",onClick:R[1]||(R[1]=F=>{X(Hr)(P.toast.action)&&(P.toast.action.onClick?.(F),!F.defaultPrevented&&St())})},_t(X(Hr)(P.toast.action)?P.toast.action?.label:P.toast.action),7)):Mt("v-if",!0)],64))],46,dT))}}),pT=bT,jr=(t,e)=>{const s=t.__vccOpts||t;for(const[a,n]of e)s[a]=n;return s};const mT={},fT={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function vT(t,e){return W(),et("svg",fT,e[0]||(e[0]=[N("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),N("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}var gT=jr(mT,[["render",vT]]);const _T=["data-visible"],hT={class:"sonner-spinner"};var yT=Te({__name:"Loader",props:{visible:{type:Boolean}},setup(t){const e=Array(12).fill(0);return(s,a)=>(W(),et("div",{class:"sonner-loading-wrapper","data-visible":s.visible},[N("div",hT,[(W(!0),et(vt,null,ai(X(e),n=>(W(),et("div",{key:`spinner-bar-${n}`,class:"sonner-loading-bar"}))),128))])],8,_T))}}),kT=yT;const wT={},ST={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function AT(t,e){return W(),et("svg",ST,e[0]||(e[0]=[N("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}var zT=jr(wT,[["render",AT]]);const TT={},PT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function jT(t,e){return W(),et("svg",PT,e[0]||(e[0]=[N("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}var CT=jr(TT,[["render",jT]]);const ET={},MT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function xT(t,e){return W(),et("svg",MT,e[0]||(e[0]=[N("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}var IT=jr(ET,[["render",xT]]);const DT={},LT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function RT(t,e){return W(),et("svg",LT,e[0]||(e[0]=[N("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}var OT=jr(DT,[["render",RT]]);const NT=["aria-label"],BT=["data-sonner-theme","dir","data-theme","data-rich-colors","data-y-position","data-x-position"],FT=typeof window<"u"&&typeof document<"u";function GT(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}var VT=Te({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{id:{},invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},closeButtonPosition:{default:"top-left"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:nT},visibleToasts:{default:sT},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{},offset:{default:Gv},mobileOffset:{default:Vv},dir:{default:"auto"},swipeDirections:{},icons:{},containerAriaLabel:{default:"Notifications"}},setup(t){const e=t,s=Kg(),a=Y([]),n=O(()=>e.id?a.value.filter(T=>T.toasterId===e.id):a.value.filter(T=>!T.toasterId));function r(T,D){return n.value.filter(j=>!j.position&&D===0||j.position===T)}const o=O(()=>{const T=n.value.filter(D=>D.position).map(D=>D.position);return T.length>0?Array.from(new Set([e.position].concat(T))):[e.position]}),u=O(()=>{const T={};return o.value.forEach(D=>{T[D]=a.value.filter(j=>j.position===D)}),T}),l=Y([]),d=Y({}),c=Y(!1);we(()=>{o.value.forEach(T=>{T in d.value||(d.value[T]=!1)})});const b=Y(e.theme!=="system"?e.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),p=Y(null),m=Y(null),g=Y(!1),h=e.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function y(T){a.value.find(D=>D.id===T.id)?.delete||li.dismiss(T.id),a.value=a.value.filter(({id:D})=>D!==T.id),setTimeout(()=>{a.value.find(D=>D.id===T.id)||(l.value=l.value.filter(D=>D.toastId!==T.id))},qv+50)}function f(T){g.value&&!T.currentTarget?.contains?.(T.relatedTarget)&&(g.value=!1,m.value&&(m.value.focus({preventScroll:!0}),m.value=null))}function v(T){T.target instanceof HTMLElement&&T.target.dataset.dismissible==="false"||g.value||(g.value=!0,m.value=T.relatedTarget)}function _(T){T.target&&T.target instanceof HTMLElement&&T.target.dataset.dismissible==="false"||(c.value=!0)}we(T=>{const D=li.subscribe(j=>{if(j.dismiss){requestAnimationFrame(()=>{a.value=a.value.map(B=>B.id===j.id?{...B,delete:!0}:B)});return}_e(()=>{const B=a.value.findIndex(H=>H.id===j.id);B!==-1?a.value=[...a.value.slice(0,B),{...a.value[B],...j},...a.value.slice(B+1)]:a.value=[j,...a.value]})});T(D)}),we(T=>{if(typeof window>"u")return;if(e.theme!=="system"){b.value=e.theme;return}const D=window.matchMedia("(prefers-color-scheme: dark)"),j=H=>{b.value=H?"dark":"light"};j(D.matches);const B=H=>{j(H.matches)};try{D.addEventListener("change",B)}catch{D.addListener(B)}T(()=>{try{D.removeEventListener("change",B)}catch{D.removeListener(B)}})}),we(()=>{p.value&&m.value&&(m.value.focus({preventScroll:!0}),m.value=null,g.value=!1)}),we(()=>{a.value.length<=1&&Object.keys(d.value).forEach(T=>{d.value[T]=!1})}),we(T=>{function D(j){const B=e.hotkey.every(ut=>j[ut]||j.code===ut),H=Array.isArray(p.value)?p.value[0]:p.value;B&&(o.value.forEach(ut=>{d.value[ut]=!0}),H?.focus());const st=document.activeElement===p.value||H?.contains(document.activeElement);j.code==="Escape"&&st&&o.value.forEach(ut=>{d.value[ut]=!1})}FT&&(document.addEventListener("keydown",D),T(()=>{document.removeEventListener("keydown",D)}))});function k(T){const D=T.currentTarget,j=D.getAttribute("data-y-position")+"-"+D.getAttribute("data-x-position");d.value[j]=!0}function S(T){if(!c.value){const D=T.currentTarget,j=D.getAttribute("data-y-position")+"-"+D.getAttribute("data-x-position");d.value[j]=!1}}function z(){Object.keys(d.value).forEach(T=>{d.value[T]=!1})}function A(){c.value=!1}function w(T){l.value=T}function I(T){const D=l.value.findIndex(j=>j.toastId===T.toastId);if(D!==-1)l.value[D]=T;else{const j=l.value.findIndex(B=>B.position===T.position);j!==-1?l.value.splice(j,0,T):l.value.unshift(T)}}return(T,D)=>(W(),et(vt,null,[Mt(" Remove item from normal navigation flow, only available via hotkey "),N("section",{"aria-label":`${T.containerAriaLabel} ${X(h)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(W(!0),et(vt,null,ai(o.value,(j,B)=>(W(),et("ol",Et({key:j,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"","data-sonner-theme":b.value,class:e.class,dir:T.dir==="auto"?GT():T.dir,tabIndex:-1,"data-theme":T.theme,"data-rich-colors":T.richColors,"data-y-position":j.split("-")[0],"data-x-position":j.split("-")[1],style:{"--front-toast-height":`${l.value[0]?.height||0}px`,"--width":`${X(aT)}px`,"--gap":`${T.gap}px`,...T.style,...X(s).style,...X(uT)(T.offset,T.mobileOffset)}},{ref_for:!0},T.$attrs,{onBlur:f,onFocus:v,onMouseenter:k,onMousemove:k,onMouseleave:S,onDragend:z,onPointerdown:_,onPointerup:A}),[(W(!0),et(vt,null,ai(r(j,B),(H,st)=>(W(),ee(pT,{key:H.id,heights:l.value,icons:T.icons,index:st,toast:H,defaultRichColors:T.richColors,duration:T.toastOptions?.duration??T.duration,class:wt(T.toastOptions?.class??""),descriptionClass:T.toastOptions?.descriptionClass,invert:T.invert,visibleToasts:T.visibleToasts,closeButton:T.toastOptions?.closeButton??T.closeButton,interacting:c.value,position:j,closeButtonPosition:T.toastOptions?.closeButtonPosition??T.closeButtonPosition,style:Lt(T.toastOptions?.style),unstyled:T.toastOptions?.unstyled,classes:T.toastOptions?.classes,cancelButtonStyle:T.toastOptions?.cancelButtonStyle,actionButtonStyle:T.toastOptions?.actionButtonStyle,"close-button-aria-label":T.toastOptions?.closeButtonAriaLabel,toasts:u.value[j],expandByDefault:T.expand,gap:T.gap,expanded:d.value[j]||!1,swipeDirections:e.swipeDirections,"onUpdate:heights":w,"onUpdate:height":I,onRemoveToast:y},{"close-icon":ht(()=>[gi(T.$slots,"close-icon",{},()=>[L(gT)])]),"loading-icon":ht(()=>[gi(T.$slots,"loading-icon",{},()=>[L(kT,{visible:H.type==="loading"},null,8,["visible"])])]),"success-icon":ht(()=>[gi(T.$slots,"success-icon",{},()=>[L(zT)])]),"error-icon":ht(()=>[gi(T.$slots,"error-icon",{},()=>[L(OT)])]),"warning-icon":ht(()=>[gi(T.$slots,"warning-icon",{},()=>[L(IT)])]),"info-icon":ht(()=>[gi(T.$slots,"info-icon",{},()=>[L(CT)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","closeButtonPosition","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","close-button-aria-label","toasts","expandByDefault","gap","expanded","swipeDirections"]))),128))],16,BT))),128))],8,NT)],2112))}}),qT=VT;const Fo=Symbol.for("vuetify:layout"),Uv=Symbol.for("vuetify:layout-item"),A0=1e3,UT=mt({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),dI=mt({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function HT(){const t=Wt(Fo);if(!t)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:t.getLayoutItem,mainRect:t.mainRect,mainStyles:t.mainStyles}}function cI(t){const e=Wt(Fo);if(!e)throw new Error("[Vuetify] Could not find injected layout");const s=t.id??`layout-item-${Zs()}`,a=Pe("useLayoutItem");Ae(Uv,{id:s});const n=It(!1);Md(()=>n.value=!0),Bm(()=>n.value=!1);const{layoutItemStyles:r,layoutItemScrimStyles:o}=e.register(a,{...t,active:O(()=>n.value?!1:t.active.value),id:s});return Re(()=>e.unregister(s)),{layoutItemStyles:r,layoutRect:e.layoutRect,layoutItemScrimStyles:o}}const WT=(t,e,s,a)=>{let n={top:0,left:0,right:0,bottom:0};const r=[{id:"",layer:{...n}}];for(const o of t){const u=e.get(o),l=s.get(o),d=a.get(o);if(!u||!l||!d)continue;const c={...n,[u.value]:parseInt(n[u.value],10)+(d.value?parseInt(l.value,10):0)};r.push({id:o,layer:c}),n=c}return r};function KT(t){const e=Wt(Fo,null),s=O(()=>e?e.rootZIndex.value-100:A0),a=Y([]),n=de(new Map),r=de(new Map),o=de(new Map),u=de(new Map),l=de(new Map),{resizeRef:d,contentRect:c}=or(),b=O(()=>{const z=new Map,A=t.overlaps??[];for(const w of A.filter(I=>I.includes(":"))){const[I,T]=w.split(":");if(!a.value.includes(I)||!a.value.includes(T))continue;const D=n.get(I),j=n.get(T),B=r.get(I),H=r.get(T);!D||!j||!B||!H||(z.set(T,{position:D.value,amount:parseInt(B.value,10)}),z.set(I,{position:j.value,amount:-parseInt(H.value,10)}))}return z}),p=O(()=>{const z=[...new Set([...o.values()].map(w=>w.value))].sort((w,I)=>w-I),A=[];for(const w of z){const I=a.value.filter(T=>o.get(T)?.value===w);A.push(...I)}return WT(A,n,r,u)}),m=O(()=>!Array.from(l.values()).some(z=>z.value)),g=O(()=>p.value[p.value.length-1].layer),h=nt(()=>({"--v-layout-left":Ot(g.value.left),"--v-layout-right":Ot(g.value.right),"--v-layout-top":Ot(g.value.top),"--v-layout-bottom":Ot(g.value.bottom),...m.value?void 0:{transition:"none"}})),y=O(()=>p.value.slice(1).map((z,A)=>{let{id:w}=z;const{layer:I}=p.value[A],T=r.get(w),D=n.get(w);return{id:w,...I,size:Number(T.value),position:D.value}})),f=z=>y.value.find(A=>A.id===z),v=Pe("createLayout"),_=It(!1);Le(()=>{_.value=!0}),Ae(Fo,{register:(z,A)=>{let{id:w,order:I,position:T,layoutSize:D,elementSize:j,active:B,disableTransitions:H,absolute:st}=A;o.set(w,I),n.set(w,T),r.set(w,D),u.set(w,B),H&&l.set(w,H);const rt=Ga(Uv,v?.vnode).indexOf(z);rt>-1?a.value.splice(rt,0,w):a.value.push(w);const tt=O(()=>y.value.findIndex(lt=>lt.id===w)),ct=O(()=>s.value+p.value.length*2-tt.value*2),pt=O(()=>{const lt=T.value==="left"||T.value==="right",dt=T.value==="right",jt=T.value==="bottom",Zt=j.value??D.value,Ft=Zt===0?"%":"px",P={[T.value]:0,zIndex:ct.value,transform:`translate${lt?"X":"Y"}(${(B.value?0:-(Zt===0?100:Zt))*(dt||jt?-1:1)}${Ft})`,position:st.value||s.value!==A0?"absolute":"fixed",...m.value?void 0:{transition:"none"}};if(!_.value)return P;const R=y.value[tt.value],F=b.value.get(w);return F&&(R[F.position]+=F.amount),{...P,height:lt?`calc(100% - ${R.top}px - ${R.bottom}px)`:j.value?`${j.value}px`:void 0,left:dt?void 0:`${R.left}px`,right:dt?`${R.right}px`:void 0,top:T.value!=="bottom"?`${R.top}px`:void 0,bottom:T.value!=="top"?`${R.bottom}px`:void 0,width:lt?j.value?`${j.value}px`:void 0:`calc(100% - ${R.left}px - ${R.right}px)`}}),St=O(()=>({zIndex:ct.value-1}));return{layoutItemStyles:pt,layoutItemScrimStyles:St,zIndex:ct}},unregister:z=>{o.delete(z),n.delete(z),r.delete(z),u.delete(z),l.delete(z),a.value=a.value.filter(A=>A!==z)},mainRect:g,mainStyles:h,getLayoutItem:f,items:y,layoutRect:c,rootZIndex:s});const k=nt(()=>["v-layout",{"v-layout--full-height":t.fullHeight}]),S=nt(()=>({zIndex:e?s.value:void 0,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:k,layoutStyles:S,getLayoutItem:f,items:y,layoutRect:c,layoutRef:d}}const $T=mt({...qt(),...Aa(UT(),["fullHeight"]),...Ue()},"VApp"),YT=Rt()({name:"VApp",props:$T(),setup(t,e){let{slots:s}=e;const a=oi(t),{layoutClasses:n,getLayoutItem:r,items:o,layoutRef:u}=KT({...t,fullHeight:!0}),{rtlClasses:l}=os();return Ut(()=>N("div",{ref:u,class:wt(["v-application",a.themeClasses.value,n.value,l.value,t.class]),style:Lt([t.style])},[N("div",{class:"v-application__wrap"},[s.default?.()])])),{getLayoutItem:r,items:o,theme:a}}}),Hv=mt({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...za(),...qt(),...Is(),...fn(),...ns(),...me(),...Ue(),...ia()},"VBtnGroup"),z0=Rt()({name:"VBtnGroup",props:Hv(),setup(t,e){let{slots:s}=e;const{themeClasses:a}=oi(t),{densityClasses:n}=ea(t),{borderClasses:r}=Ta(t),{elevationClasses:o}=vn(t),{roundedClasses:u}=rs(t);Sr({VBtn:{height:nt(()=>t.direction==="horizontal"?"auto":null),baseColor:nt(()=>t.baseColor),color:nt(()=>t.color),density:nt(()=>t.density),flat:!0,variant:nt(()=>t.variant)}}),Ut(()=>L(t.tag,{class:wt(["v-btn-group",`v-btn-group--${t.direction}`,{"v-btn-group--divided":t.divided},a.value,r.value,n.value,o.value,u.value,t.class]),style:Lt(t.style)},s))}}),Ec=mt({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Wv=mt({value:null,disabled:Boolean,selectedClass:String},"group-item");function pd(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const a=Pe("useGroupItem");if(!a)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const n=Zs();Ae(Symbol.for(`${e.description}:id`),n);const r=Wt(e,null);if(!r){if(!s)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const o=nt(()=>t.value),u=O(()=>!!(r.disabled.value||t.disabled));function l(){r?.register({id:n,value:o,disabled:u},a)}function d(){r?.unregister(n)}l(),Re(()=>d());const c=O(()=>r.isSelected(n)),b=O(()=>r.items.value[0].id===n),p=O(()=>r.items.value[r.items.value.length-1].id===n),m=O(()=>c.value&&[r.selectedClass.value,t.selectedClass]);return zt(c,g=>{a.emit("group:selected",{value:g})},{flush:"sync"}),{id:n,isSelected:c,isFirst:b,isLast:p,toggle:()=>r.select(n,!c.value),select:g=>r.select(n,g),selectedClass:m,value:o,disabled:u,group:r,register:l,unregister:d}}function Mc(t,e){let s=!1;const a=de([]),n=bi(t,"modelValue",[],p=>p===void 0?[]:Kv(a,p===null?[null]:ca(p)),p=>{const m=ZT(a,p);return t.multiple?m:m[0]}),r=Pe("useGroup");function o(p,m){const g=p,h=Symbol.for(`${e.description}:id`),f=Ga(h,r?.vnode).indexOf(m);X(g.value)===void 0&&(g.value=f,g.useIndexAsValue=!0),f>-1?a.splice(f,0,g):a.push(g)}function u(p){if(s)return;l();const m=a.findIndex(g=>g.id===p);a.splice(m,1)}function l(){const p=a.find(m=>!m.disabled);p&&t.mandatory==="force"&&!n.value.length&&(n.value=[p.id])}Le(()=>{l()}),Re(()=>{s=!0}),hr(()=>{for(let p=0;p<a.length;p++)a[p].useIndexAsValue&&(a[p].value=p)});function d(p,m){const g=a.find(h=>h.id===p);if(!(m&&g?.disabled))if(t.multiple){const h=n.value.slice(),y=h.findIndex(v=>v===p),f=~y;if(m=m??!f,f&&t.mandatory&&h.length<=1||!f&&t.max!=null&&h.length+1>t.max)return;y<0&&m?h.push(p):y>=0&&!m&&h.splice(y,1),n.value=h}else{const h=n.value.includes(p);if(t.mandatory&&h||!h&&!m)return;n.value=m??!h?[p]:[]}}function c(p){if(t.multiple,n.value.length){const m=n.value[0],g=a.findIndex(f=>f.id===m);let h=(g+p)%a.length,y=a[h];for(;y.disabled&&h!==g;)h=(h+p)%a.length,y=a[h];if(y.disabled)return;n.value=[a[h].id]}else{const m=a.find(g=>!g.disabled);m&&(n.value=[m.id])}}const b={register:o,unregister:u,selected:n,select:d,disabled:nt(()=>t.disabled),prev:()=>c(a.length-1),next:()=>c(1),isSelected:p=>n.value.includes(p),selectedClass:nt(()=>t.selectedClass),items:nt(()=>a),getItemIndex:p=>XT(a,p)};return Ae(e,b),b}function XT(t,e){const s=Kv(t,[e]);return s.length?t.findIndex(a=>a.id===s[0]):-1}function Kv(t,e){const s=[];return e.forEach(a=>{const n=t.find(o=>Ws(a,o.value)),r=t[a];n?.value!==void 0?s.push(n.id):r?.useIndexAsValue&&s.push(r.id)}),s}function ZT(t,e){const s=[];return e.forEach(a=>{const n=t.findIndex(r=>r.id===a);if(~n){const r=t[n];s.push(r.value!==void 0?r.value:n)}}),s}const $v=Symbol.for("vuetify:v-btn-toggle"),QT=mt({...Hv(),...Ec()},"VBtnToggle");Rt()({name:"VBtnToggle",props:QT(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{isSelected:a,next:n,prev:r,select:o,selected:u}=Mc(t,$v);return Ut(()=>{const l=z0.filterProps(t);return L(z0,Et({class:["v-btn-toggle",t.class]},l,{style:t.style}),{default:()=>[s.default?.({isSelected:a,next:n,prev:r,select:o,selected:u})]})}),{next:n,prev:r,select:o}}});const JT=mt({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...qt(),...Ar(),...me({tag:"div"}),...Ue()},"VProgressCircular"),en=Rt()({name:"VProgressCircular",props:JT(),setup(t,e){let{slots:s}=e;const a=20,n=2*Math.PI*a,r=Y(),{themeClasses:o}=oi(t),{sizeClasses:u,sizeStyles:l}=zr(t),{textColorClasses:d,textColorStyles:c}=$s(()=>t.color),{textColorClasses:b,textColorStyles:p}=$s(()=>t.bgColor),{intersectionRef:m,isIntersecting:g}=Q2(),{resizeRef:h,contentRect:y}=or(),f=nt(()=>zs(parseFloat(t.modelValue),0,100)),v=nt(()=>Number(t.width)),_=nt(()=>l.value?Number(t.size):y.value?y.value.width:Math.max(v.value,32)),k=nt(()=>a/(1-v.value/_.value)*2),S=nt(()=>v.value/_.value*k.value),z=nt(()=>Ot((100-f.value)/100*n));return we(()=>{m.value=r.value,h.value=r.value}),Ut(()=>L(t.tag,{ref:r,class:wt(["v-progress-circular",{"v-progress-circular--indeterminate":!!t.indeterminate,"v-progress-circular--visible":g.value,"v-progress-circular--disable-shrink":t.indeterminate&&(t.indeterminate==="disable-shrink"||cn())},o.value,u.value,d.value,t.class]),style:Lt([l.value,c.value,t.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":t.indeterminate?void 0:f.value},{default:()=>[N("svg",{style:{transform:`rotate(calc(-90deg + ${Number(t.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${k.value} ${k.value}`},[N("circle",{class:wt(["v-progress-circular__underlay",b.value]),style:Lt(p.value),fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":S.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),N("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":S.value,"stroke-dasharray":n,"stroke-dashoffset":z.value},null)]),s.default&&N("div",{class:"v-progress-circular__content"},[s.default({value:f.value})])]})),{}}});function tP(t,e){zt(()=>t.isActive?.value,s=>{t.isLink.value&&s!=null&&e&&_e(()=>{e(s)})},{immediate:!0})}const eP=mt({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:$v},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:ne,appendIcon:ne,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...za(),...qt(),...Is(),...Ms(),...fn(),...Wv(),...kc(),..._c(),...av(),...ns(),...gl(),...Ar(),...me({tag:"button"}),...Ue(),...ia({variant:"elevated"})},"VBtn"),Ns=Rt()({name:"VBtn",props:eP(),emits:{"group:selected":t=>!0},setup(t,e){let{attrs:s,slots:a}=e;const{themeClasses:n}=oi(t),{borderClasses:r}=Ta(t),{densityClasses:o}=ea(t),{dimensionStyles:u}=xs(t),{elevationClasses:l}=vn(t),{loaderClasses:d}=wc(t),{locationStyles:c}=hc(t),{positionClasses:b}=nv(t),{roundedClasses:p}=rs(t),{sizeClasses:m,sizeStyles:g}=zr(t),h=pd(t,t.symbol,!1),y=vl(t,s),f=O(()=>t.active!==void 0?t.active:y.isRouterLink.value?y.isActive?.value:h?.isSelected.value),v=nt(()=>f.value?t.activeColor??t.color:t.color),_=O(()=>({color:h?.isSelected.value&&(!y.isLink.value||y.isActive?.value)||!h||y.isActive?.value?v.value??t.baseColor:t.baseColor,variant:t.variant})),{colorClasses:k,colorStyles:S,variantClasses:z}=Pr(_),A=O(()=>h?.disabled.value||t.disabled),w=nt(()=>t.variant==="elevated"&&!(t.disabled||t.flat||t.border)),I=O(()=>{if(!(t.value===void 0||typeof t.value=="symbol"))return Object(t.value)===t.value?JSON.stringify(t.value,null,0):t.value});function T(D){A.value||y.isLink.value&&(D.metaKey||D.ctrlKey||D.shiftKey||D.button!==0||s.target==="_blank")||(y.isRouterLink.value?y.navigate?.(D):h?.toggle())}return tP(y,h?.select),Ut(()=>{const D=y.isLink.value?"a":t.tag,j=!!(t.prependIcon||a.prepend),B=!!(t.appendIcon||a.append),H=!!(t.icon&&t.icon!==!0);return yi(L(D,Et(y.linkProps,{type:D==="a"?void 0:"button",class:["v-btn",h?.selectedClass.value,{"v-btn--active":f.value,"v-btn--block":t.block,"v-btn--disabled":A.value,"v-btn--elevated":w.value,"v-btn--flat":t.flat,"v-btn--icon":!!t.icon,"v-btn--loading":t.loading,"v-btn--readonly":t.readonly,"v-btn--slim":t.slim,"v-btn--stacked":t.stacked},t.spaced?["v-btn--spaced",`v-btn--spaced-${t.spaced}`]:[],n.value,r.value,k.value,o.value,l.value,d.value,b.value,p.value,m.value,z.value,t.class],style:[S.value,u.value,c.value,g.value,t.style],"aria-busy":t.loading?!0:void 0,disabled:A.value&&D!=="a"||void 0,tabindex:t.loading||t.readonly?-1:void 0,onClick:T,value:I.value}),{default:()=>[Tr(!0,"v-btn"),!t.icon&&j&&N("span",{key:"prepend",class:"v-btn__prepend"},[a.prepend?L(Ze,{key:"prepend-defaults",disabled:!t.prependIcon,defaults:{VIcon:{icon:t.prependIcon}}},a.prepend):L(Yt,{key:"prepend-icon",icon:t.prependIcon},null)]),N("span",{class:"v-btn__content","data-no-activator":""},[!a.default&&H?L(Yt,{key:"content-icon",icon:t.icon},null):L(Ze,{key:"content-defaults",disabled:!H,defaults:{VIcon:{icon:t.icon}}},{default:()=>[a.default?.()??_t(t.text)]})]),!t.icon&&B&&N("span",{key:"append",class:"v-btn__append"},[a.append?L(Ze,{key:"append-defaults",disabled:!t.appendIcon,defaults:{VIcon:{icon:t.appendIcon}}},a.append):L(Yt,{key:"append-icon",icon:t.appendIcon},null)]),!!t.loading&&N("span",{key:"loader",class:"v-btn__loader"},[a.loader?.()??L(en,{color:typeof t.loading=="boolean"?void 0:t.loading,indeterminate:!0,width:"2"},null)])]}),[[ya,!A.value&&t.ripple,"",{center:!!t.icon}]])}),{group:h}}}),iP=mt({text:String,onClick:ci(),...qt(),...Ue()},"VLabel"),sP=Rt()({name:"VLabel",props:iP(),setup(t,e){let{slots:s}=e;return Ut(()=>N("label",{class:wt(["v-label",{"v-label--clickable":!!t.onClick},t.class]),style:Lt(t.style),onClick:t.onClick},[t.text,s.default?.()])),{}}});function Yv(t){const{t:e}=iv();function s(a){let{name:n,color:r,...o}=a;const u={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[n],l=t[`onClick:${n}`];function d(b){b.key!=="Enter"&&b.key!==" "||(b.preventDefault(),b.stopPropagation(),D2(l,new PointerEvent("click",b)))}const c=l&&u?e(`$vuetify.input.${u}`,t.label??""):void 0;return L(Yt,Et({icon:t[`${n}Icon`],"aria-label":c,onClick:l,onKeydown:d,color:r},o),null)}return{InputIcon:s}}const aP=mt({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...qt(),...fl({transition:{component:vv,leaveAbsolute:!0,group:!0}})},"VMessages"),nP=Rt()({name:"VMessages",props:aP(),setup(t,e){let{slots:s}=e;const a=O(()=>ca(t.messages)),{textColorClasses:n,textColorStyles:r}=$s(()=>t.color);return Ut(()=>L(qs,{transition:t.transition,tag:"div",class:wt(["v-messages",n.value,t.class]),style:Lt([r.value,t.style])},{default:()=>[t.active&&a.value.map((o,u)=>N("div",{class:"v-messages__message",key:`${u}-${a.value}`},[s.message?s.message({message:o}):o]))]})),{}}}),Xv=mt({focused:Boolean,"onUpdate:focused":ci()},"focus");function Zv(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as();const s=bi(t,"focused"),a=nt(()=>({[`${e}--focused`]:s.value}));function n(){s.value=!0}function r(){s.value=!1}return{focusClasses:a,isFocused:s,focus:n,blur:r}}const Qv=Symbol.for("vuetify:form"),bI=mt({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function pI(t){const e=bi(t,"modelValue"),s=nt(()=>t.disabled),a=nt(()=>t.readonly),n=It(!1),r=Y([]),o=Y([]);async function u(){const c=[];let b=!0;o.value=[],n.value=!0;for(const p of r.value){const m=await p.validate();if(m.length>0&&(b=!1,c.push({id:p.id,errorMessages:m})),!b&&t.fastFail)break}return o.value=c,n.value=!1,{valid:b,errors:o.value}}function l(){r.value.forEach(c=>c.reset())}function d(){r.value.forEach(c=>c.resetValidation())}return zt(r,()=>{let c=0,b=0;const p=[];for(const m of r.value)m.isValid===!1?(b++,p.push({id:m.id,errorMessages:m.errorMessages})):m.isValid===!0&&c++;o.value=p,e.value=b>0?!1:c===r.value.length?!0:null},{deep:!0,flush:"post"}),Ae(Qv,{register:c=>{let{id:b,vm:p,validate:m,reset:g,resetValidation:h}=c;r.value.some(y=>y.id===b),r.value.push({id:b,validate:m,reset:g,resetValidation:h,vm:Pd(p),isValid:null,errorMessages:[]})},unregister:c=>{r.value=r.value.filter(b=>b.id!==c)},update:(c,b,p)=>{const m=r.value.find(g=>g.id===c);m&&(m.isValid=b,m.errorMessages=p)},isDisabled:s,isReadonly:a,isValidating:n,isValid:e,items:r,validateOn:nt(()=>t.validateOn)}),{errors:o,isDisabled:s,isReadonly:a,isValidating:n,isValid:e,items:r,validate:u,reset:l,resetValidation:d}}function rP(t){const e=Wt(Qv,null);return{...e,isReadonly:O(()=>!!(t?.readonly??e?.isReadonly.value)),isDisabled:O(()=>!!(t?.disabled??e?.isDisabled.value))}}const oP=Symbol.for("vuetify:rules");function lP(t){const e=Wt(oP,null);if(!t){if(!e)throw new Error("Could not find Vuetify rules injection");return e.aliases}return e?.resolve(t)??nt(t)}const uP=mt({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Xv()},"validation");function dP(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:as(),s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Zs();const a=bi(t,"modelValue"),n=O(()=>t.validationValue===void 0?a.value:t.validationValue),r=rP(t),o=lP(()=>t.rules),u=Y([]),l=It(!0),d=O(()=>!!(ca(a.value===""?null:a.value).length||ca(n.value===""?null:n.value).length)),c=O(()=>t.errorMessages?.length?ca(t.errorMessages).concat(u.value).slice(0,Math.max(0,Number(t.maxErrors))):u.value),b=O(()=>{let k=(t.validateOn??r.validateOn?.value)||"input";k==="lazy"&&(k="input lazy"),k==="eager"&&(k="input eager");const S=new Set(k?.split(" ")??[]);return{input:S.has("input"),blur:S.has("blur")||S.has("input")||S.has("invalid-input"),invalidInput:S.has("invalid-input"),lazy:S.has("lazy"),eager:S.has("eager")}}),p=O(()=>t.error||t.errorMessages?.length?!1:t.rules.length?l.value?u.value.length||b.value.lazy?null:!0:!u.value.length:!0),m=It(!1),g=O(()=>({[`${e}--error`]:p.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:r.isDisabled.value,[`${e}--readonly`]:r.isReadonly.value})),h=Pe("validation"),y=O(()=>t.name??X(s));_r(()=>{r.register?.({id:y.value,vm:h,validate:_,reset:f,resetValidation:v})}),Re(()=>{r.unregister?.(y.value)}),Le(async()=>{b.value.lazy||await _(!b.value.eager),r.update?.(y.value,p.value,c.value)}),ha(()=>b.value.input||b.value.invalidInput&&p.value===!1,()=>{zt(n,()=>{if(n.value!=null)_();else if(t.focused){const k=zt(()=>t.focused,S=>{S||_(),k()})}})}),ha(()=>b.value.blur,()=>{zt(()=>t.focused,k=>{k||_()})}),zt([p,c],()=>{r.update?.(y.value,p.value,c.value)});async function f(){a.value=null,await _e(),await v()}async function v(){l.value=!0,b.value.lazy?u.value=[]:await _(!b.value.eager)}async function _(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const S=[];m.value=!0;for(const z of o.value){if(S.length>=Number(t.maxErrors??1))break;const w=await(typeof z=="function"?z:()=>z)(n.value);if(w!==!0){if(w!==!1&&typeof w!="string"){console.warn(`${w} is not a valid value. Rule functions must return boolean true or a string.`);continue}S.push(w||"")}}return u.value=S,m.value=!1,l.value=k,u.value}return{errorMessages:c,isDirty:d,isDisabled:r.isDisabled,isReadonly:r.isReadonly,isPristine:l,isValid:p,isValidating:m,reset:f,resetValidation:v,validate:_,validationClasses:g}}const Jv=mt({id:String,appendIcon:ne,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],prependIcon:ne,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)},"onClick:prepend":ci(),"onClick:append":ci(),...qt(),...Is(),...pl(Ms(),["maxWidth","minWidth","width"]),...Ue(),...uP()},"VInput"),T0=Rt()({name:"VInput",props:{...Jv()},emits:{"update:modelValue":t=>!0},setup(t,e){let{attrs:s,slots:a,emit:n}=e;const{densityClasses:r}=ea(t),{dimensionStyles:o}=xs(t),{themeClasses:u}=oi(t),{rtlClasses:l}=os(),{InputIcon:d}=Yv(t),c=Zs(),b=O(()=>t.id||`input-${c}`),{errorMessages:p,isDirty:m,isDisabled:g,isReadonly:h,isPristine:y,isValid:f,isValidating:v,reset:_,resetValidation:k,validate:S,validationClasses:z}=dP(t,"v-input",b),A=O(()=>t.errorMessages?.length||!y.value&&p.value.length?p.value:t.hint&&(t.persistentHint||t.focused)?t.hint:t.messages),w=nt(()=>A.value.length>0),I=nt(()=>!t.hideDetails||t.hideDetails==="auto"&&(w.value||!!a.details)),T=O(()=>I.value?`${b.value}-messages`:void 0),D=O(()=>({id:b,messagesId:T,isDirty:m,isDisabled:g,isReadonly:h,isPristine:y,isValid:f,isValidating:v,hasDetails:I,reset:_,resetValidation:k,validate:S})),j=nt(()=>t.error||t.disabled?void 0:t.focused?t.color:t.baseColor),B=nt(()=>{if(t.iconColor)return t.iconColor===!0?j.value:t.iconColor});return Ut(()=>{const H=!!(a.prepend||t.prependIcon),st=!!(a.append||t.appendIcon);return N("div",{class:wt(["v-input",`v-input--${t.direction}`,{"v-input--center-affix":t.centerAffix,"v-input--focused":t.focused,"v-input--glow":t.glow,"v-input--hide-spin-buttons":t.hideSpinButtons},r.value,u.value,l.value,z.value,t.class]),style:Lt([o.value,t.style])},[H&&N("div",{key:"prepend",class:"v-input__prepend"},[a.prepend?.(D.value),t.prependIcon&&L(d,{key:"prepend-icon",name:"prepend",color:B.value},null)]),a.default&&N("div",{class:"v-input__control"},[a.default?.(D.value)]),st&&N("div",{key:"append",class:"v-input__append"},[t.appendIcon&&L(d,{key:"append-icon",name:"append",color:B.value},null),a.append?.(D.value)]),I.value&&N("div",{id:T.value,class:"v-input__details",role:"alert","aria-live":"polite"},[L(nP,{active:w.value,messages:A.value},{message:a.message}),a.details?.(D.value)])])}),{reset:_,resetValidation:k,validate:S,isValid:f,errorMessages:p}}}),t3=Symbol.for("vuetify:goto");function e3(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:MA}}function cP(t){return xc(t)??(document.scrollingElement||document.body)}function xc(t){return typeof t=="string"?document.querySelector(t):C2(t)}function tu(t,e,s){if(typeof t=="number")return e&&s?-t:t;let a=xc(t),n=0;for(;a;)n+=e?a.offsetLeft:a.offsetTop,a=a.offsetParent;return n}function bP(t,e){return{rtl:e.isRtl,options:Xe(e3(),t)}}async function P0(t,e,s,a){const n=s?"scrollLeft":"scrollTop",r=Xe(a?.options??e3(),e),o=a?.rtl.value,u=(typeof t=="number"?t:xc(t))??0,l=r.container==="parent"&&u instanceof HTMLElement?u.parentElement:cP(r.container),d=cn()?r.patterns.instant:typeof r.easing=="function"?r.easing:r.patterns[r.easing];if(!d)throw new TypeError(`Easing function "${r.easing}" not found.`);let c;if(typeof u=="number")c=tu(u,s,o);else if(c=tu(u,s,o)-tu(l,s,o),r.layout){const g=window.getComputedStyle(u).getPropertyValue("--v-layout-top");g&&(c-=parseInt(g,10))}c+=r.offset,c=mP(l,c,!!o,!!s);const b=l[n]??0;if(c===b)return Promise.resolve(c);const p=performance.now();return new Promise(m=>requestAnimationFrame(function g(h){const f=(h-p)/r.duration,v=Math.floor(b+(c-b)*d(zs(f,0,1)));if(l[n]=v,f>=1&&Math.abs(v-l[n])<10)return m(c);if(f>2)return m(l[n]);requestAnimationFrame(g)}))}function pP(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=Wt(t3),{isRtl:s}=os();if(!e)throw new Error("[Vuetify] Could not find injected goto instance");const a={...e,rtl:nt(()=>e.rtl.value||s.value)};async function n(r,o){return P0(r,Xe(t,o),!1,a)}return n.horizontal=async(r,o)=>P0(r,Xe(t,o),!0,a),n}function mP(t,e,s,a){const{scrollWidth:n,scrollHeight:r}=t,[o,u]=t===document.scrollingElement?[window.innerWidth,window.innerHeight]:[t.offsetWidth,t.offsetHeight];let l,d;return a?s?(l=-(n-o),d=0):(l=0,d=n-o):(l=0,d=r+-u),zs(e,l,d)}function fP(t){let{selectedElement:e,containerElement:s,isRtl:a,isHorizontal:n}=t;const r=br(n,s),o=i3(n,a,s),u=br(n,e),l=s3(n,e),d=u*.4;return o>l?l-d:o+r<l+u?l-r+u+d:o}function vP(t){let{selectedElement:e,containerElement:s,isHorizontal:a}=t;const n=br(a,s),r=s3(a,e),o=br(a,e);return r-n/2+o/2}function j0(t,e){return e?.[t?"scrollWidth":"scrollHeight"]||0}function gP(t,e){return e?.[t?"clientWidth":"clientHeight"]||0}function i3(t,e,s){if(!s)return 0;const{scrollLeft:a,offsetWidth:n,scrollWidth:r}=s;return t?e?r-n+a:a:s.scrollTop}function br(t,e){return e?.[t?"offsetWidth":"offsetHeight"]||0}function s3(t,e){return e?.[t?"offsetLeft":"offsetTop"]||0}const a3=Symbol.for("vuetify:v-slide-group"),n3=mt({centerActive:Boolean,scrollToActive:{type:Boolean,default:!0},contentClass:null,direction:{type:String,default:"horizontal"},symbol:{type:null,default:a3},nextIcon:{type:ne,default:"$next"},prevIcon:{type:ne,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>typeof t=="boolean"||["always","desktop","mobile"].includes(t)},...qt(),...Az({mobile:null}),...me(),...Ec({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),C0=Rt()({name:"VSlideGroup",props:n3(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{isRtl:a}=os(),{displayClasses:n,mobile:r}=Lv(t),o=Mc(t,t.symbol),u=It(!1),l=It(0),d=It(0),c=It(0),b=O(()=>t.direction==="horizontal"),{resizeRef:p,contentRect:m}=or(),{resizeRef:g,contentRect:h}=or(),y=pP(),f=O(()=>({container:p.el,duration:200,easing:"easeOutQuart"})),v=O(()=>o.selected.value.length?o.items.value.findIndex(lt=>lt.id===o.selected.value[0]):-1),_=O(()=>o.selected.value.length?o.items.value.findIndex(lt=>lt.id===o.selected.value[o.selected.value.length-1]):-1);if(re){let lt=-1;zt(()=>[o.selected.value,m.value,h.value,b.value],()=>{cancelAnimationFrame(lt),lt=requestAnimationFrame(()=>{if(m.value&&h.value){const dt=b.value?"width":"height";d.value=m.value[dt],c.value=h.value[dt],u.value=d.value+1<c.value}if(t.scrollToActive&&v.value>=0&&g.el){const dt=g.el.children[_.value];S(dt,t.centerActive)}})})}const k=It(!1);function S(lt,dt){let jt=0;dt?jt=vP({containerElement:p.el,isHorizontal:b.value,selectedElement:lt}):jt=fP({containerElement:p.el,isHorizontal:b.value,isRtl:a.value,selectedElement:lt}),z(jt)}function z(lt){if(!re||!p.el)return;const dt=br(b.value,p.el),jt=i3(b.value,a.value,p.el);if(!(j0(b.value,p.el)<=dt||Math.abs(lt-jt)<16)){if(b.value&&a.value&&p.el){const{scrollWidth:Ft,offsetWidth:P}=p.el;lt=Ft-P-lt}b.value?y.horizontal(lt,f.value):y(lt,f.value)}}function A(lt){const{scrollTop:dt,scrollLeft:jt}=lt.target;l.value=b.value?jt:dt}function w(lt){if(k.value=!0,!(!u.value||!g.el)){for(const dt of lt.composedPath())for(const jt of g.el.children)if(jt===dt){S(jt);return}}}function I(lt){k.value=!1}let T=!1;function D(lt){!T&&!k.value&&!(lt.relatedTarget&&g.el?.contains(lt.relatedTarget))&&st(),T=!1}function j(){T=!0}function B(lt){if(!g.el)return;function dt(jt){lt.preventDefault(),st(jt)}b.value?lt.key==="ArrowRight"?dt(a.value?"prev":"next"):lt.key==="ArrowLeft"&&dt(a.value?"next":"prev"):lt.key==="ArrowDown"?dt("next"):lt.key==="ArrowUp"&&dt("prev"),lt.key==="Home"?dt("first"):lt.key==="End"&&dt("last")}function H(lt,dt){if(!lt)return;let jt=lt;do jt=jt?.[dt==="next"?"nextElementSibling":"previousElementSibling"];while(jt?.hasAttribute("disabled"));return jt}function st(lt){if(!g.el)return;let dt;if(!lt)dt=Mo(g.el)[0];else if(lt==="next"){if(dt=H(g.el.querySelector(":focus"),lt),!dt)return st("first")}else if(lt==="prev"){if(dt=H(g.el.querySelector(":focus"),lt),!dt)return st("last")}else lt==="first"?(dt=g.el.firstElementChild,dt?.hasAttribute("disabled")&&(dt=H(dt,"next"))):lt==="last"&&(dt=g.el.lastElementChild,dt?.hasAttribute("disabled")&&(dt=H(dt,"prev")));dt&&dt.focus({preventScroll:!0})}function ut(lt){const dt=b.value&&a.value?-1:1,jt=(lt==="prev"?-dt:dt)*d.value;let Zt=l.value+jt;if(b.value&&a.value&&p.el){const{scrollWidth:Ft,offsetWidth:P}=p.el;Zt+=Ft-P}z(Zt)}const rt=O(()=>({next:o.next,prev:o.prev,select:o.select,isSelected:o.isSelected})),tt=O(()=>u.value||Math.abs(l.value)>0),ct=O(()=>{switch(t.showArrows){case"always":return!0;case"desktop":return!r.value;case!0:return tt.value;case"mobile":return r.value||tt.value;default:return!r.value&&tt.value}}),pt=O(()=>Math.abs(l.value)>1),St=O(()=>{if(!p.value||!tt.value)return!1;const lt=j0(b.value,p.el),dt=gP(b.value,p.el);return lt-dt-Math.abs(l.value)>1});return Ut(()=>L(t.tag,{class:wt(["v-slide-group",{"v-slide-group--vertical":!b.value,"v-slide-group--has-affixes":ct.value,"v-slide-group--is-overflowing":u.value},n.value,t.class]),style:Lt(t.style),tabindex:k.value||o.selected.value.length?-1:0,onFocus:D},{default:()=>[ct.value&&N("div",{key:"prev",class:wt(["v-slide-group__prev",{"v-slide-group__prev--disabled":!pt.value}]),onMousedown:j,onClick:()=>pt.value&&ut("prev")},[s.prev?.(rt.value)??L(o0,null,{default:()=>[L(Yt,{icon:a.value?t.nextIcon:t.prevIcon},null)]})]),N("div",{key:"container",ref:p,class:wt(["v-slide-group__container",t.contentClass]),onScroll:A},[N("div",{ref:g,class:"v-slide-group__content",onFocusin:w,onFocusout:I,onKeydown:B},[s.default?.(rt.value)])]),ct.value&&N("div",{key:"next",class:wt(["v-slide-group__next",{"v-slide-group__next--disabled":!St.value}]),onMousedown:j,onClick:()=>St.value&&ut("next")},[s.next?.(rt.value)??L(o0,null,{default:()=>[L(Yt,{icon:a.value?t.prevIcon:t.nextIcon},null)]})])]})),{selected:o.selected,scrollTo:ut,scrollOffset:l,focus:st,hasPrev:pt,hasNext:St}}}),r3=Symbol.for("vuetify:v-chip-group"),_P=mt({baseColor:String,column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ws},...n3({scrollToActive:!1}),...qt(),...Ec({selectedClass:"v-chip--selected"}),...me(),...Ue(),...ia({variant:"tonal"})},"VChipGroup"),mI=Rt()({name:"VChipGroup",props:_P(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{themeClasses:a}=oi(t),{isSelected:n,select:r,next:o,prev:u,selected:l}=Mc(t,r3);return Sr({VChip:{baseColor:nt(()=>t.baseColor),color:nt(()=>t.color),disabled:nt(()=>t.disabled),filter:nt(()=>t.filter),variant:nt(()=>t.variant)}}),Ut(()=>{const d=C0.filterProps(t);return L(C0,Et(d,{class:["v-chip-group",{"v-chip-group--column":t.column},a.value,t.class],style:t.style}),{default:()=>[s.default?.({isSelected:n,select:r,next:o,prev:u,selected:l.value})]})}),{}}}),hP=mt({activeClass:String,appendAvatar:String,appendIcon:ne,baseColor:String,closable:Boolean,closeIcon:{type:ne,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:ne,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:ne,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},modelValue:{type:Boolean,default:!0},onClick:ci(),onClickOnce:ci(),...za(),...qt(),...Is(),...fn(),...Wv(),...ns(),...gl(),...Ar(),...me({tag:"span"}),...Ue(),...ia({variant:"tonal"})},"VChip"),o3=Rt()({name:"VChip",directives:{vRipple:ya},props:hP(),emits:{"click:close":t=>!0,"update:modelValue":t=>!0,"group:selected":t=>!0,click:t=>!0},setup(t,e){let{attrs:s,emit:a,slots:n}=e;const{t:r}=iv(),{borderClasses:o}=Ta(t),{densityClasses:u}=ea(t),{elevationClasses:l}=vn(t),{roundedClasses:d}=rs(t),{sizeClasses:c}=zr(t),{themeClasses:b}=oi(t),p=bi(t,"modelValue"),m=pd(t,r3,!1),g=pd(t,a3,!1),h=vl(t,s),y=nt(()=>t.link!==!1&&h.isLink.value),f=O(()=>!t.disabled&&t.link!==!1&&(!!m||t.link||h.isClickable.value)),v=nt(()=>({"aria-label":r(t.closeLabel),disabled:t.disabled,onClick(w){w.preventDefault(),w.stopPropagation(),p.value=!1,a("click:close",w)}}));zt(p,w=>{w?(m?.register(),g?.register()):(m?.unregister(),g?.unregister())});const{colorClasses:_,colorStyles:k,variantClasses:S}=Pr(()=>({color:!m||m.isSelected.value?t.color??t.baseColor:t.baseColor,variant:t.variant}));function z(w){a("click",w),f.value&&(h.navigate?.(w),m?.toggle())}function A(w){(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),z(w))}return()=>{const w=h.isLink.value?"a":t.tag,I=!!(t.appendIcon||t.appendAvatar),T=!!(I||n.append),D=!!(n.close||t.closable),j=!!(n.filter||t.filter)&&m,B=!!(t.prependIcon||t.prependAvatar),H=!!(B||n.prepend);return p.value&&yi(L(w,Et(h.linkProps,{class:["v-chip",{"v-chip--disabled":t.disabled,"v-chip--label":t.label,"v-chip--link":f.value,"v-chip--filter":j,"v-chip--pill":t.pill,[`${t.activeClass}`]:t.activeClass&&h.isActive?.value},b.value,o.value,_.value,u.value,l.value,d.value,c.value,S.value,m?.selectedClass.value,t.class],style:[k.value,t.style],disabled:t.disabled||void 0,draggable:t.draggable,tabindex:f.value?0:void 0,onClick:z,onKeydown:f.value&&!y.value&&A}),{default:()=>[Tr(f.value,"v-chip"),j&&L(_v,{key:"filter"},{default:()=>[yi(N("div",{class:"v-chip__filter"},[n.filter?L(Ze,{key:"filter-defaults",disabled:!t.filterIcon,defaults:{VIcon:{icon:t.filterIcon}}},n.filter):L(Yt,{key:"filter-icon",icon:t.filterIcon},null)]),[[wa,m.isSelected.value]])]}),H&&N("div",{key:"prepend",class:"v-chip__prepend"},[n.prepend?L(Ze,{key:"prepend-defaults",disabled:!B,defaults:{VAvatar:{image:t.prependAvatar,start:!0},VIcon:{icon:t.prependIcon,start:!0}}},n.prepend):N(vt,null,[t.prependIcon&&L(Yt,{key:"prepend-icon",icon:t.prependIcon,start:!0},null),t.prependAvatar&&L(Ys,{key:"prepend-avatar",image:t.prependAvatar,start:!0},null)])]),N("div",{class:"v-chip__content","data-no-activator":""},[n.default?.({isSelected:m?.isSelected.value,selectedClass:m?.selectedClass.value,select:m?.select,toggle:m?.toggle,value:m?.value.value,disabled:t.disabled})??_t(t.text)]),T&&N("div",{key:"append",class:"v-chip__append"},[n.append?L(Ze,{key:"append-defaults",disabled:!I,defaults:{VAvatar:{end:!0,image:t.appendAvatar},VIcon:{end:!0,icon:t.appendIcon}}},n.append):N(vt,null,[t.appendIcon&&L(Yt,{key:"append-icon",end:!0,icon:t.appendIcon},null),t.appendAvatar&&L(Ys,{key:"append-avatar",end:!0,image:t.appendAvatar},null)])]),D&&N("button",Et({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},v.value),[n.close?L(Ze,{key:"close-defaults",defaults:{VIcon:{icon:t.closeIcon,size:"x-small"}}},n.close):L(Yt,{key:"close-icon",icon:t.closeIcon,size:"x-small"},null)])]}),[[ya,f.value&&t.ripple,null]])}}}),yP=mt({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...qt(),...fl({transition:{component:vv}})},"VCounter"),kP=Rt()({name:"VCounter",functional:!0,props:yP(),setup(t,e){let{slots:s}=e;const a=nt(()=>t.max?`${t.value} / ${t.max}`:String(t.value));return Ut(()=>L(qs,{transition:t.transition},{default:()=>[yi(N("div",{class:wt(["v-counter",{"text-error":t.max&&!t.disabled&&parseFloat(t.value)>parseFloat(t.max)},t.class]),style:Lt(t.style)},[s.default?s.default({counter:a.value,max:t.max,value:t.value}):a.value]),[[wa,t.active]])]})),{}}}),wP=mt({floating:Boolean,...qt()},"VFieldLabel"),Wr=Rt()({name:"VFieldLabel",props:wP(),setup(t,e){let{slots:s}=e;return Ut(()=>L(sP,{class:wt(["v-field-label",{"v-field-label--floating":t.floating},t.class]),style:Lt(t.style)},s)),{}}}),SP=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],l3=mt({appendInnerIcon:ne,bgColor:String,clearable:Boolean,clearIcon:{type:ne,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},glow:Boolean,error:Boolean,flat:Boolean,iconColor:[Boolean,String],label:String,persistentClear:Boolean,prependInnerIcon:ne,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:t=>SP.includes(t)},"onClick:clear":ci(),"onClick:appendInner":ci(),"onClick:prependInner":ci(),...qt(),...kc(),...ns(),...Ue()},"VField"),E0=Rt()({name:"VField",inheritAttrs:!1,props:{id:String,details:Boolean,...Xv(),...l3()},emits:{"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:s,emit:a,slots:n}=e;const{themeClasses:r}=oi(t),{loaderClasses:o}=wc(t),{focusClasses:u,isFocused:l,focus:d,blur:c}=Zv(t),{InputIcon:b}=Yv(t),{roundedClasses:p}=rs(t),{rtlClasses:m}=os(),g=nt(()=>t.dirty||t.active),h=nt(()=>!!(t.label||n.label)),y=nt(()=>!t.singleLine&&h.value),f=Zs(),v=O(()=>t.id||`input-${f}`),_=nt(()=>t.details?`${v.value}-messages`:void 0),k=Y(),S=Y(),z=Y(),A=O(()=>["plain","underlined"].includes(t.variant)),w=O(()=>t.error||t.disabled?void 0:g.value&&l.value?t.color:t.baseColor),I=O(()=>{if(!(!t.iconColor||t.glow&&!l.value))return t.iconColor===!0?w.value:t.iconColor}),{backgroundColorClasses:T,backgroundColorStyles:D}=pa(()=>t.bgColor),{textColorClasses:j,textColorStyles:B}=$s(w);zt(g,ut=>{if(y.value&&!cn()){const rt=k.value.$el,tt=S.value.$el;requestAnimationFrame(()=>{const ct=cc(rt),pt=tt.getBoundingClientRect(),St=pt.x-ct.x,lt=pt.y-ct.y-(ct.height/2-pt.height/2),dt=pt.width/.75,jt=Math.abs(dt-ct.width)>1?{maxWidth:Ot(dt)}:void 0,Zt=getComputedStyle(rt),Ft=getComputedStyle(tt),P=parseFloat(Zt.transitionDuration)*1e3||150,R=parseFloat(Ft.getPropertyValue("--v-field-label-scale")),F=Ft.getPropertyValue("color");rt.style.visibility="visible",tt.style.visibility="hidden",Vs(rt,{transform:`translate(${St}px, ${lt}px) scale(${R})`,color:F,...jt},{duration:P,easing:Io,direction:ut?"normal":"reverse"}).finished.then(()=>{rt.style.removeProperty("visibility"),tt.style.removeProperty("visibility")})})}},{flush:"post"});const H=O(()=>({isActive:g,isFocused:l,controlRef:z,blur:c,focus:d}));function st(ut){ut.target!==document.activeElement&&ut.preventDefault()}return Ut(()=>{const ut=t.variant==="outlined",rt=!!(n["prepend-inner"]||t.prependInnerIcon),tt=!!(t.clearable||n.clear)&&!t.disabled,ct=!!(n["append-inner"]||t.appendInnerIcon||tt),pt=()=>n.label?n.label({...H.value,label:t.label,props:{for:v.value}}):t.label;return N("div",Et({class:["v-field",{"v-field--active":g.value,"v-field--appended":ct,"v-field--center-affix":t.centerAffix??!A.value,"v-field--disabled":t.disabled,"v-field--dirty":t.dirty,"v-field--error":t.error,"v-field--glow":t.glow,"v-field--flat":t.flat,"v-field--has-background":!!t.bgColor,"v-field--persistent-clear":t.persistentClear,"v-field--prepended":rt,"v-field--reverse":t.reverse,"v-field--single-line":t.singleLine,"v-field--no-label":!pt(),[`v-field--variant-${t.variant}`]:!0},r.value,T.value,u.value,o.value,p.value,m.value,t.class],style:[D.value,t.style],onClick:st},s),[N("div",{class:"v-field__overlay"},null),L(sv,{name:"v-field",active:!!t.loading,color:t.error?"error":typeof t.loading=="string"?t.loading:t.color},{default:n.loader}),rt&&N("div",{key:"prepend",class:"v-field__prepend-inner"},[t.prependInnerIcon&&L(b,{key:"prepend-icon",name:"prependInner",color:I.value},null),n["prepend-inner"]?.(H.value)]),N("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(t.variant)&&y.value&&L(Wr,{key:"floating-label",ref:S,class:wt([j.value]),floating:!0,for:v.value,"aria-hidden":!g.value,style:Lt(B.value)},{default:()=>[pt()]}),h.value&&L(Wr,{key:"label",ref:k,for:v.value},{default:()=>[pt()]}),n.default?.({...H.value,props:{id:v.value,class:"v-field__input","aria-describedby":_.value},focus:d,blur:c})??N("div",{id:v.value,class:"v-field__input","aria-describedby":_.value},null)]),tt&&L(_v,{key:"clear"},{default:()=>[yi(N("div",{class:"v-field__clearable",onMousedown:St=>{St.preventDefault(),St.stopPropagation()}},[L(Ze,{defaults:{VIcon:{icon:t.clearIcon}}},{default:()=>[n.clear?n.clear({...H.value,props:{onFocus:d,onBlur:c,onClick:t["onClick:clear"],tabindex:-1}}):L(b,{name:"clear",onFocus:d,onBlur:c,tabindex:-1},null)]})]),[[wa,t.dirty]])]}),ct&&N("div",{key:"append",class:"v-field__append-inner"},[n["append-inner"]?.(H.value),t.appendInnerIcon&&L(b,{key:"append-icon",name:"appendInner",color:I.value},null)]),N("div",{class:wt(["v-field__outline",j.value]),style:Lt(B.value)},[ut&&N(vt,null,[N("div",{class:"v-field__outline__start"},null),y.value&&N("div",{class:"v-field__outline__notch"},[L(Wr,{ref:S,floating:!0,for:v.value,"aria-hidden":!g.value},{default:()=>[pt()]})]),N("div",{class:"v-field__outline__end"},null)]),A.value&&y.value&&L(Wr,{ref:S,floating:!0,for:v.value,"aria-hidden":!g.value},{default:()=>[pt()]})])])}),{controlRef:z,fieldIconColor:I}}}),AP=mt({autocomplete:String},"autocomplete");function zP(t){const e=Zs(),s=It(0),a=nt(()=>t.autocomplete==="suppress"),n=nt(()=>a.value?`${t.name}-${e}-${s.value}`:t.name),r=nt(()=>a.value?"off":t.autocomplete);return{isSuppressing:a,fieldAutocomplete:r,fieldName:n,update:()=>s.value=new Date().getTime()}}function TP(t){function e(s,a){!t.autofocus||!s||a[0].target?.focus?.()}return{onIntersect:e}}const PP=["color","file","time","date","datetime-local","week","month"],jP=mt({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...AP(),...Jv(),...l3()},"VTextField"),Kr=Rt()({name:"VTextField",directives:{vIntersect:Lo},inheritAttrs:!1,props:jP(),emits:{"click:control":t=>!0,"mousedown:control":t=>!0,"update:focused":t=>!0,"update:modelValue":t=>!0},setup(t,e){let{attrs:s,emit:a,slots:n}=e;const r=bi(t,"modelValue"),{isFocused:o,focus:u,blur:l}=Zv(t),{onIntersect:d}=TP(t),c=O(()=>typeof t.counterValue=="function"?t.counterValue(r.value):typeof t.counterValue=="number"?t.counterValue:(r.value??"").toString().length),b=O(()=>{if(s.maxlength)return s.maxlength;if(!(!t.counter||typeof t.counter!="number"&&typeof t.counter!="string"))return t.counter}),p=O(()=>["plain","underlined"].includes(t.variant)),m=Y(),g=Y(),h=Y(),y=zP(t),f=O(()=>PP.includes(t.type)||t.persistentPlaceholder||o.value||t.active);function v(){y.isSuppressing.value&&y.update(),o.value||u(),_e(()=>{h.value!==document.activeElement&&h.value?.focus()})}function _(A){a("mousedown:control",A),A.target!==h.value&&(v(),A.preventDefault())}function k(A){a("click:control",A)}function S(A,w){A.stopPropagation(),v(),_e(()=>{w(),D2(t["onClick:clear"],A)})}function z(A){const w=A.target;if(!(t.modelModifiers?.trim&&["text","search","password","tel","url"].includes(t.type))){r.value=w.value;return}const I=w.value,T=w.selectionStart,D=w.selectionEnd;r.value=I,_e(()=>{let j=0;I.trimStart().length===w.value.length&&(j=I.length-w.value.length),T!=null&&(w.selectionStart=T-j),D!=null&&(w.selectionEnd=D-j)})}return Ut(()=>{const A=!!(n.counter||t.counter!==!1&&t.counter!=null),w=!!(A||n.details),[I,T]=WS(s),{modelValue:D,...j}=T0.filterProps(t),B=E0.filterProps(t);return L(T0,Et({ref:m,modelValue:r.value,"onUpdate:modelValue":H=>r.value=H,class:["v-text-field",{"v-text-field--prefixed":t.prefix,"v-text-field--suffixed":t.suffix,"v-input--plain-underlined":p.value},t.class],style:t.style},I,j,{centerAffix:!p.value,focused:o.value}),{...n,default:H=>{let{id:st,isDisabled:ut,isDirty:rt,isReadonly:tt,isValid:ct,hasDetails:pt,reset:St}=H;return L(E0,Et({ref:g,onMousedown:_,onClick:k,"onClick:clear":lt=>S(lt,St),role:t.role},Aa(B,["onClick:clear"]),{id:st.value,active:f.value||rt.value,dirty:rt.value||t.dirty,disabled:ut.value,focused:o.value,details:pt.value,error:ct.value===!1}),{...n,default:lt=>{let{props:{class:dt,...jt},controlRef:Zt}=lt;const Ft=yi(N("input",Et({ref:P=>h.value=Zt.value=P,value:r.value,onInput:z,autofocus:t.autofocus,readonly:tt.value,disabled:ut.value,name:y.fieldName.value,autocomplete:y.fieldAutocomplete.value,placeholder:t.placeholder,size:1,role:t.role,type:t.type,onFocus:u,onBlur:l},jt,T),null),[[Lo,{handler:d},null,{once:!0}]]);return N(vt,null,[t.prefix&&N("span",{class:"v-text-field__prefix"},[N("span",{class:"v-text-field__prefix__text"},[t.prefix])]),n.default?N("div",{class:wt(dt),"data-no-activator":""},[n.default(),Ft]):As(Ft,{class:dt}),t.suffix&&N("span",{class:"v-text-field__suffix"},[N("span",{class:"v-text-field__suffix__text"},[t.suffix])])])}})},details:w?H=>N(vt,null,[n.details?.(H),A&&N(vt,null,[N("span",null,null),L(kP,{active:t.persistentCounter||o.value,value:c.value,max:b.value,disabled:t.disabled},n.counter)])]):void 0})}),jc({},m,g,h)}});function Cr(t){const e=t.slice(-2).toUpperCase();switch(!0){case t==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case t==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
|
|
1037
1037
|
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
|
|
1038
1038
|
VE VI WS YE ZA ZW`.includes(e):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
|
|
1039
1039
|
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(e):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
|
|
1040
|
-
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(e):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(e):return{firstDay:6,firstWeekSize:1};case e==="MV":return{firstDay:5,firstWeekSize:1};case e==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function d1(t,e,s){const a=[];let n=[];const r=v3(t),o=_3(t),u=s??gr(e)?.firstDay??0,l=(r.getDay()-u+7)%7,d=(o.getDay()-u+7)%7;for(let c=0;c<l;c++){const b=new Date(r);b.setDate(b.getDate()-(l-c)),n.push(b)}for(let c=1;c<=o.getDate();c++){const b=new Date(t.getFullYear(),t.getMonth(),c);n.push(b),n.length===7&&(a.push(n),n=[])}for(let c=1;c<7-d;c++){const b=new Date(o);b.setDate(b.getDate()+c),n.push(b)}return n.length>0&&a.push(n),a}function zo(t,e,s){let a=(s??gr(e)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(a)||(a=0);const n=new Date(t);for(;n.getDay()!==a;)n.setDate(n.getDate()-1);return n}function c1(t,e){const s=new Date(t),a=((gr(e)?.firstDay??0)+6)%7;for(;s.getDay()!==a;)s.setDate(s.getDate()+1);return s}function v3(t){return new Date(t.getFullYear(),t.getMonth(),1)}function _3(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function b1(t){const e=t.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const p1=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function g3(t){if(t==null)return new Date;if(t instanceof Date)return t;if(typeof t=="string"){let e;if(p1.test(t))return b1(t);if(e=Date.parse(t),!isNaN(e))return new Date(e)}return null}const i0=new Date(2e3,0,2);function m1(t,e,s){const a=e??gr(t)?.firstDay??0;return e2(7).map(n=>{const r=new Date(i0);return r.setDate(i0.getDate()+a+n),new Intl.DateTimeFormat(t,{weekday:s??"narrow"}).format(r)})}function f1(t,e,s,a){const n=g3(t)??new Date,r=a?.[e];if(typeof r=="function")return r(n,e,s);let o={};switch(e){case"fullDate":o={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":o={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const u=n.getDate(),l=new Intl.DateTimeFormat(s,{month:"long"}).format(n);return`${u} ${l}`;case"normalDateWithWeekday":o={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":o={month:"short",day:"numeric"};break;case"year":o={year:"numeric"};break;case"month":o={month:"long"};break;case"monthShort":o={month:"short"};break;case"monthAndYear":o={month:"long",year:"numeric"};break;case"monthAndDate":o={month:"long",day:"numeric"};break;case"weekday":o={weekday:"long"};break;case"weekdayShort":o={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(s).format(n.getDate());case"hours12h":o={hour:"numeric",hour12:!0};break;case"hours24h":o={hour:"numeric",hour12:!1};break;case"minutes":o={minute:"numeric"};break;case"seconds":o={second:"numeric"};break;case"fullTime":o={hour:"numeric",minute:"numeric"};break;case"fullTime12h":o={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":o={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":o={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(s,o).format(n).replace(/, /g," ");case"keyboardDateTime12h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(s,o).format(n).replace(/, /g," ");case"keyboardDateTime24h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(s,o).format(n).replace(/, /g," ");default:o=r??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(s,o).format(n)}function v1(t,e){const s=t.toJsDate(e),a=s.getFullYear(),n=up(String(s.getMonth()+1),2,"0"),r=up(String(s.getDate()),2,"0");return`${a}-${n}-${r}`}function _1(t){const[e,s,a]=t.split("-").map(Number);return new Date(e,s-1,a)}function g1(t,e){const s=new Date(t);return s.setMinutes(s.getMinutes()+e),s}function h1(t,e){const s=new Date(t);return s.setHours(s.getHours()+e),s}function ia(t,e){const s=new Date(t);return s.setDate(s.getDate()+e),s}function y1(t,e){const s=new Date(t);return s.setDate(s.getDate()+e*7),s}function k1(t,e){const s=new Date(t);return s.setDate(1),s.setMonth(s.getMonth()+e),s}function er(t){return t.getFullYear()}function w1(t){return t.getMonth()}function S1(t,e,s,a){const n=gr(e),r=s??n?.firstDay??0,o=n?.firstWeekSize??1;return a!==void 0?A1(t,e,r,a):z1(t,e,r,o)}function A1(t,e,s,a){const n=(7+a-s)%7,r=zo(t,e,s),o=ia(r,6);function u(p){return(7+new Date(p,0,1).getDay()-s)%7}let l=er(t);l<er(o)&&u(l+1)<=n&&l++;const d=new Date(l,0,1),c=u(l),b=c<=n?ia(d,-c):ia(d,7-c);return 1+Po(dc(t),ir(b),"weeks")}function z1(t,e,s,a){const n=ia(zo(t,e,s),6);function r(c){const b=new Date(c,0,1);return 7-Po(b,zo(b,e,s),"days")}let o=er(t);o<er(n)&&r(o+1)>=a&&o++;const u=new Date(o,0,1),l=r(o),d=l>=a?ia(u,l-7):ia(u,l);return 1+Po(dc(t),ir(d),"weeks")}function T1(t){return t.getDate()}function P1(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function j1(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function E1(t){return t.getHours()}function C1(t){return t.getMinutes()}function M1(t){return new Date(t.getFullYear(),0,1)}function x1(t){return new Date(t.getFullYear(),11,31)}function I1(t,e){return To(t,e[0])&&R1(t,e[1])}function D1(t){const e=new Date(t);return e instanceof Date&&!isNaN(e.getTime())}function To(t,e){return t.getTime()>e.getTime()}function L1(t,e){return To(ir(t),ir(e))}function R1(t,e){return t.getTime()<e.getTime()}function s0(t,e){return t.getTime()===e.getTime()}function O1(t,e){return t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function N1(t,e){return t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function B1(t,e){return t.getFullYear()===e.getFullYear()}function Po(t,e,s){const a=new Date(t),n=new Date(e);switch(s){case"years":return a.getFullYear()-n.getFullYear();case"quarters":return Math.floor((a.getMonth()-n.getMonth()+(a.getFullYear()-n.getFullYear())*12)/4);case"months":return a.getMonth()-n.getMonth()+(a.getFullYear()-n.getFullYear())*12;case"weeks":return Math.floor((a.getTime()-n.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((a.getTime()-n.getTime())/(1e3*60*60*24));case"hours":return Math.floor((a.getTime()-n.getTime())/(1e3*60*60));case"minutes":return Math.floor((a.getTime()-n.getTime())/(1e3*60));case"seconds":return Math.floor((a.getTime()-n.getTime())/1e3);default:return a.getTime()-n.getTime()}}function F1(t,e){const s=new Date(t);return s.setHours(e),s}function G1(t,e){const s=new Date(t);return s.setMinutes(e),s}function U1(t,e){const s=new Date(t);return s.setMonth(e),s}function q1(t,e){const s=new Date(t);return s.setDate(e),s}function V1(t,e){const s=new Date(t);return s.setFullYear(e),s}function ir(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)}function dc(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999)}class H1{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return g3(e)}toJsDate(e){return e}toISO(e){return v1(this,e)}parseISO(e){return _1(e)}addMinutes(e,s){return g1(e,s)}addHours(e,s){return h1(e,s)}addDays(e,s){return ia(e,s)}addWeeks(e,s){return y1(e,s)}addMonths(e,s){return k1(e,s)}getWeekArray(e,s){const a=s!==void 0?Number(s):void 0;return d1(e,this.locale,a)}startOfWeek(e,s){const a=s!==void 0?Number(s):void 0;return zo(e,this.locale,a)}endOfWeek(e){return c1(e,this.locale)}startOfMonth(e){return v3(e)}endOfMonth(e){return _3(e)}format(e,s){return f1(e,s,this.locale,this.formats)}isEqual(e,s){return s0(e,s)}isValid(e){return D1(e)}isWithinRange(e,s){return I1(e,s)}isAfter(e,s){return To(e,s)}isAfterDay(e,s){return L1(e,s)}isBefore(e,s){return!To(e,s)&&!s0(e,s)}isSameDay(e,s){return O1(e,s)}isSameMonth(e,s){return N1(e,s)}isSameYear(e,s){return B1(e,s)}setMinutes(e,s){return G1(e,s)}setHours(e,s){return F1(e,s)}setMonth(e,s){return U1(e,s)}setDate(e,s){return q1(e,s)}setYear(e,s){return V1(e,s)}getDiff(e,s,a){return Po(e,s,a)}getWeekdays(e,s){const a=e!==void 0?Number(e):void 0;return m1(this.locale,a,s)}getYear(e){return er(e)}getMonth(e){return w1(e)}getWeek(e,s,a){const n=s!==void 0?Number(s):void 0,r=a!==void 0?Number(a):void 0;return S1(e,this.locale,n,r)}getDate(e){return T1(e)}getNextMonth(e){return P1(e)}getPreviousMonth(e){return j1(e)}getHours(e){return E1(e)}getMinutes(e){return C1(e)}startOfDay(e){return ir(e)}endOfDay(e){return dc(e)}startOfYear(e){return M1(e)}endOfYear(e){return x1(e)}}const W1=Symbol.for("vuetify:date-options"),a0=Symbol.for("vuetify:date-adapter");function K1(t,e){const s=$e({adapter:H1,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},t);return{options:s,instance:$1(s,e)}}function $1(t,e){const s=we(typeof t.adapter=="function"?new t.adapter({locale:t.locale[e.current.value]??e.current.value,formats:t.formats}):t.adapter);return At(e.current,a=>{s.locale=t.locale[a]??a??s.locale}),s}const h3=Symbol.for("vuetify:goto");function y3(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:OS}}function Y1(t){return cc(t)??(document.scrollingElement||document.body)}function cc(t){return typeof t=="string"?document.querySelector(t):i2(t)}function Rl(t,e,s){if(typeof t=="number")return e&&s?-t:t;let a=cc(t),n=0;for(;a;)n+=e?a.offsetLeft:a.offsetTop,a=a.offsetParent;return n}function X1(t,e){return{rtl:e.isRtl,options:$e(y3(),t)}}async function n0(t,e,s,a){const n=s?"scrollLeft":"scrollTop",r=$e(a?.options??y3(),e),o=a?.rtl.value,u=(typeof t=="number"?t:cc(t))??0,l=r.container==="parent"&&u instanceof HTMLElement?u.parentElement:Y1(r.container),d=$n()?r.patterns.instant:typeof r.easing=="function"?r.easing:r.patterns[r.easing];if(!d)throw new TypeError(`Easing function "${r.easing}" not found.`);let c;if(typeof u=="number")c=Rl(u,s,o);else if(c=Rl(u,s,o)-Rl(l,s,o),r.layout){const _=window.getComputedStyle(u).getPropertyValue("--v-layout-top");_&&(c-=parseInt(_,10))}c+=r.offset,c=Q1(l,c,!!o,!!s);const b=l[n]??0;if(c===b)return Promise.resolve(c);const p=performance.now();return new Promise(f=>requestAnimationFrame(function _(h){const m=(h-p)/r.duration,v=Math.floor(b+(c-b)*d(gs(m,0,1)));if(l[n]=v,m>=1&&Math.abs(v-l[n])<10)return f(c);if(m>2)return f(l[n]);requestAnimationFrame(_)}))}function Z1(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=Qt(h3),{isRtl:s}=on();if(!e)throw new Error("[Vuetify] Could not find injected goto instance");const a={...e,rtl:at(()=>e.rtl.value||s.value)};async function n(r,o){return n0(r,$e(t,o),!1,a)}return n.horizontal=async(r,o)=>n0(r,$e(t,o),!0,a),n}function Q1(t,e,s,a){const{scrollWidth:n,scrollHeight:r}=t,[o,u]=t===document.scrollingElement?[window.innerWidth,window.innerHeight]:[t.offsetWidth,t.offsetHeight];let l,d;return a?s?(l=-(n-o),d=0):(l=0,d=n-o):(l=0,d=r+-u),gs(e,l,d)}function k3(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...s}=t,a=$e(e,s),{aliases:n={},components:r={},directives:o={}}=a,u=Va();return u.run(()=>{const l=oS(a.defaults),d=Iz(a.display,a.ssr),c=rA(a.theme),b=XS(a.icons),p=yA(a.locale),f=K1(a.date,p),_=X1(a.goTo,p);function h(m){for(const g in o)m.directive(g,o[g]);for(const g in r)m.component(g,r[g]);for(const g in n)m.component(g,en({...n[g],name:g,aliasName:n[g].name}));const v=Va();if(v.run(()=>{c.install(m)}),m.onUnmount(()=>v.stop()),m.provide(Za,l),m.provide(Vu,d),m.provide(Xn,c),m.provide(Ru,b),m.provide(ho,p),m.provide(W1,f.options),m.provide(a0,f.instance),m.provide(h3,_),ie&&a.ssr)if(m.$nuxt)m.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:g}=m;m.mount=function(){const k=g(...arguments);return Ce(()=>d.update()),m.mount=g,k}}m.mixin({computed:{$vuetify(){return we({defaults:ga.call(this,Za),display:ga.call(this,Vu),theme:ga.call(this,Xn),icons:ga.call(this,Ru),locale:ga.call(this,ho),date:ga.call(this,a0)})}}})}function y(){u.stop()}return{install:h,unmount:y,defaults:l,display:d,theme:c,icons:b,locale:p,date:f,goTo:_}})}const J1="3.10.11";k3.version=J1;function ga(t){const e=this.$,s=e.parent?.provides??e.vnode.appContext?.provides;if(s&&t in s)return s[t]}let Wu=1;var tT=class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{const s=this.subscribers.indexOf(e);this.subscribers.splice(s,1)});publish=e=>{this.subscribers.forEach(s=>s(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{const{message:s,...a}=e,n=typeof e.id=="number"||e.id&&e.id?.length>0?e.id:Wu++,r=this.toasts.find(u=>u.id===n),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(u=>u.id===n?(this.publish({...u,...e,id:n,title:s}),{...u,...e,id:n,dismissible:o,title:s}):u):this.addToast({title:s,...a,dismissible:o,id:n}),n};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:e,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(a=>a({id:s.id,dismiss:!0}))}),e);message=(e,s)=>this.create({...s,message:e,type:"default"});error=(e,s)=>this.create({...s,type:"error",message:e});success=(e,s)=>this.create({...s,type:"success",message:e});info=(e,s)=>this.create({...s,type:"info",message:e});warning=(e,s)=>this.create({...s,type:"warning",message:e});loading=(e,s)=>this.create({...s,type:"loading",message:e});promise=(e,s)=>{if(!s)return;let a;s.loading!==void 0&&(a=this.create({...s,promise:e,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const n=Promise.resolve(e instanceof Function?e():e);let r=a!==void 0,o;const u=n.then(async d=>{if(o=["resolve",d],Si(d))r=!1,this.create({id:a,type:"default",message:d});else if(iT(d)&&!d.ok){r=!1;const b=typeof s.error=="function"?await s.error(`HTTP error! status: ${d.status}`):s.error,p=typeof s.description=="function"?await s.description(`HTTP error! status: ${d.status}`):s.description,_=typeof b=="object"&&!Si(b)?b:{message:b||"",id:a||""};this.create({id:a,type:"error",description:p,..._})}else if(d instanceof Error){r=!1;const b=typeof s.error=="function"?await s.error(d):s.error,p=typeof s.description=="function"?await s.description(d):s.description,_=typeof b=="object"&&!Si(b)?b:{message:b||"",id:a||""};this.create({id:a,type:"error",description:p,..._})}else if(s.success!==void 0){r=!1;const b=typeof s.success=="function"?await s.success(d):s.success,p=typeof s.description=="function"?await s.description(d):s.description,_=typeof b=="object"&&!Si(b)?b:{message:b||"",id:a||""};this.create({id:a,type:"success",description:p,..._})}}).catch(async d=>{if(o=["reject",d],s.error!==void 0){r=!1;const c=typeof s.error=="function"?await s.error(d):s.error,b=typeof s.description=="function"?await s.description(d):s.description,f=typeof c=="object"&&!Si(c)?c:{message:c||"",id:a||""};this.create({id:a,type:"error",description:b,...f})}}).finally(()=>{r&&(this.dismiss(a),a=void 0),s.finally?.()}),l=()=>new Promise((d,c)=>u.then(()=>o[0]==="reject"?c(o[1]):d(o[1])).catch(c));return typeof a!="string"&&typeof a!="number"?{unwrap:l}:Object.assign(a,{unwrap:l})};custom=(e,s)=>{const a=s?.id||Wu++,n=this.toasts.find(o=>o.id===a),r=s?.dismissible===void 0?!0:s.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),n?this.toasts=this.toasts.map(o=>o.id===a?(this.publish({...o,component:e,dismissible:r,id:a,...s}),{...o,component:e,dismissible:r,id:a,...s}):o):this.addToast({component:e,dismissible:r,id:a,...s}),a};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};const ri=new tT;function eT(t,e){const s=e?.id||Wu++;return ri.create({message:t,id:s,type:"default",...e}),s}const iT=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",sT=eT,aT=()=>ri.toasts,nT=()=>ri.getActiveToasts(),Ku=Object.assign(sT,{success:ri.success,info:ri.info,warning:ri.warning,error:ri.error,custom:ri.custom,message:ri.message,promise:ri.promise,dismiss:ri.dismiss,loading:ri.loading},{getHistory:aT,getToasts:nT});function Lr(t){return t.label!==void 0}const rT=3,w3="24px",S3="16px",r0=4e3,oT=356,lT=14,uT=45,A3=200;function dT(){const t=st(!1);return ye(()=>{const e=()=>{t.value=document.hidden};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),{isDocumentHidden:t}}function Ts(...t){return t.filter(Boolean).join(" ")}function cT(t){const[e,s]=t.split("-"),a=[];return e&&a.push(e),s&&a.push(s),a}function bT(t,e){const s={};return[t,e].forEach((a,n)=>{const r=n===1,o=r?"--mobile-offset":"--offset",u=r?S3:w3;function l(d){["top","right","bottom","left"].forEach(c=>{s[`${o}-${c}`]=typeof d=="number"?`${d}px`:d})}typeof a=="number"||typeof a=="string"?l(a):typeof a=="object"?["top","right","bottom","left"].forEach(d=>{a[d]===void 0?s[`${o}-${d}`]=u:s[`${o}-${d}`]=typeof a[d]=="number"?`${a[d]}px`:a[d]}):l(u)}),s}const pT=["data-rich-colors","data-styled","data-mounted","data-promise","data-swiped","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-swipe-direction","data-expanded","data-testid"],mT=["aria-label","data-disabled","data-close-button-position"];var fT=Me({__name:"Toast",props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:["update:heights","update:height","removeToast"],setup(t,{emit:e}){const s=t,a=e,n=st(null),r=st(null),o=st(!1),u=st(!1),l=st(!1),d=st(!1),c=st(!1),b=st(0),p=st(0),f=st(s.toast.duration||s.duration||r0),_=st(null),h=st(null),y=G(()=>s.index===0),m=G(()=>s.index+1<=s.visibleToasts),v=G(()=>s.toast.type),g=G(()=>s.toast.dismissible!==!1),k=G(()=>s.toast.class||""),w=G(()=>s.descriptionClass||""),A=G(()=>{const P=s.toast.position||s.position,Q=s.heights.filter(rt=>rt.position===P).findIndex(rt=>rt.toastId===s.toast.id);return Q>=0?Q:0}),z=G(()=>{const P=s.toast.position||s.position;return s.heights.filter(Q=>Q.position===P).reduce((Q,rt,yt)=>yt>=A.value?Q:Q+rt.height,0)}),S=G(()=>A.value*s.gap+z.value||0),I=G(()=>s.toast.closeButton??s.closeButton),E=G(()=>s.toast.duration||s.duration||r0),D=st(0),M=st(0),N=st(null),V=G(()=>s.position.split("-")),it=G(()=>V.value[0]),ct=G(()=>V.value[1]),ot=G(()=>typeof s.toast.title!="string"),tt=G(()=>typeof s.toast.description!="string"),{isDocumentHidden:_t}=dT(),vt=G(()=>v.value&&v.value==="loading");Xe(()=>{o.value=!0,f.value=E.value}),ye(async()=>{if(!o.value||!h.value)return;await Ce();const P=h.value,et=P.style.height;P.style.height="auto";const Q=P.getBoundingClientRect().height;P.style.height=et,p.value=Q,a("update:height",{toastId:s.toast.id,height:Q,position:s.toast.position||s.position})});function Tt(){u.value=!0,b.value=S.value,setTimeout(()=>{a("removeToast",s.toast)},A3)}function lt(){if(vt.value||!g.value)return{};Tt(),s.toast.onDismiss?.(s.toast)}function bt(P){P.button!==2&&(vt.value||!g.value||(_.value=new Date,b.value=S.value,P.target.setPointerCapture(P.pointerId),P.target.tagName!=="BUTTON"&&(l.value=!0,N.value={x:P.clientX,y:P.clientY})))}function xt(){if(d.value||!g.value)return;N.value=null;const P=Number(h.value?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),et=Number(h.value?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),Q=new Date().getTime()-(_.value?.getTime()||0),rt=n.value==="x"?P:et,yt=Math.abs(rt)/Q;if(Math.abs(rt)>=uT||yt>.11){b.value=S.value,s.toast.onDismiss?.(s.toast),n.value==="x"?r.value=P>0?"right":"left":r.value=et>0?"down":"up",Tt(),d.value=!0;return}else h.value?.style.setProperty("--swipe-amount-x","0px"),h.value?.style.setProperty("--swipe-amount-y","0px");c.value=!1,l.value=!1,n.value=null}function ge(P){if(!N.value||!g.value||(window?.getSelection()?.toString()?.length??!1))return;const Q=P.clientY-N.value.y,rt=P.clientX-N.value.x,yt=s.swipeDirections??cT(s.position);!n.value&&(Math.abs(rt)>1||Math.abs(Q)>1)&&(n.value=Math.abs(rt)>Math.abs(Q)?"x":"y");let C={x:0,y:0};const x=O=>1/(1.5+Math.abs(O)/20);if(n.value==="y"){if(yt.includes("top")||yt.includes("bottom"))if(yt.includes("top")&&Q<0||yt.includes("bottom")&&Q>0)C.y=Q;else{const O=Q*x(Q);C.y=Math.abs(O)<Math.abs(Q)?O:Q}}else if(n.value==="x"&&(yt.includes("left")||yt.includes("right")))if(yt.includes("left")&&rt<0||yt.includes("right")&&rt>0)C.x=rt;else{const O=rt*x(rt);C.x=Math.abs(O)<Math.abs(rt)?O:rt}(Math.abs(C.x)>0||Math.abs(C.y)>0)&&(c.value=!0),h.value?.style.setProperty("--swipe-amount-x",`${C.x}px`),h.value?.style.setProperty("--swipe-amount-y",`${C.y}px`)}Xe(()=>{if(o.value=!0,!h.value)return;const P=h.value.getBoundingClientRect().height;p.value=P;const et=[{toastId:s.toast.id,height:P,position:s.toast.position},...s.heights];a("update:heights",et)}),Ge(()=>{h.value&&a("removeToast",s.toast)}),ye(P=>{if(s.toast.promise&&v.value==="loading"||s.toast.duration===1/0||s.toast.type==="loading")return;let et;const Q=()=>{if(M.value<D.value){const yt=new Date().getTime()-D.value;f.value=f.value-yt}M.value=new Date().getTime()},rt=()=>{f.value!==1/0&&(D.value=new Date().getTime(),et=setTimeout(()=>{s.toast.onAutoClose?.(s.toast),Tt()},f.value))};s.expanded||s.interacting||_t.value?Q():rt(),P(()=>{clearTimeout(et)})}),At(()=>s.toast.delete,P=>{P!==void 0&&P&&(Tt(),s.toast.onDismiss?.(s.toast))},{deep:!0});function ae(){l.value=!1,n.value=null,N.value=null}return(P,et)=>(H(),J("li",{tabindex:"0",ref_key:"toastRef",ref:h,class:St(W(Ts)(s.class,k.value,P.classes?.toast,P.toast.classes?.toast,P.classes?.[v.value],P.toast?.classes?.[v.value])),"data-sonner-toast":"","data-rich-colors":P.toast.richColors??P.defaultRichColors,"data-styled":!(P.toast.component||P.toast?.unstyled||P.unstyled),"data-mounted":o.value,"data-promise":!!P.toast.promise,"data-swiped":c.value,"data-removed":u.value,"data-visible":m.value,"data-y-position":it.value,"data-x-position":ct.value,"data-index":P.index,"data-front":y.value,"data-swiping":l.value,"data-dismissible":g.value,"data-type":v.value,"data-invert":P.toast.invert||P.invert,"data-swipe-out":d.value,"data-swipe-direction":r.value,"data-expanded":!!(P.expanded||P.expandByDefault&&o.value),"data-testid":P.toast.testId,style:Nt({"--index":P.index,"--toasts-before":P.index,"--z-index":P.toasts.length-P.index,"--offset":`${u.value?b.value:S.value}px`,"--initial-height":P.expandByDefault?"auto":`${p.value}px`,...P.style,...s.toast.style}),onDragend:ae,onPointerdown:bt,onPointerup:xt,onPointermove:ge},[I.value&&!P.toast.component&&v.value!=="loading"?(H(),J("button",{key:0,"aria-label":P.closeButtonAriaLabel||"Close toast","data-disabled":vt.value,"data-close-button":"true","data-close-button-position":P.closeButtonPosition,class:St(W(Ts)(P.classes?.closeButton,P.toast?.classes?.closeButton)),onClick:lt},[P.icons?.close?(H(),ee(wa(P.icons?.close),{key:0})):pi(P.$slots,"close-icon",{key:1})],10,mT)):Dt("v-if",!0),P.toast.component?(H(),ee(wa(P.toast.component),Ct({key:1},P.toast.componentProps,{onCloseToast:lt,isPaused:P.$props.expanded||P.$props.interacting||W(_t)}),null,16,["isPaused"])):(H(),J(pt,{key:2},[v.value!=="default"||P.toast.icon||P.toast.promise?(H(),J("div",{key:0,"data-icon":"",class:St(W(Ts)(P.classes?.icon,P.toast?.classes?.icon))},[P.toast.icon?(H(),ee(wa(P.toast.icon),{key:0})):(H(),J(pt,{key:1},[v.value==="loading"?pi(P.$slots,"loading-icon",{key:0}):v.value==="success"?pi(P.$slots,"success-icon",{key:1}):v.value==="error"?pi(P.$slots,"error-icon",{key:2}):v.value==="warning"?pi(P.$slots,"warning-icon",{key:3}):v.value==="info"?pi(P.$slots,"info-icon",{key:4}):Dt("v-if",!0)],64))],2)):Dt("v-if",!0),q("div",{"data-content":"",class:St(W(Ts)(P.classes?.content,P.toast?.classes?.content))},[q("div",{"data-title":"",class:St(W(Ts)(P.classes?.title,P.toast.classes?.title))},[ot.value?(H(),ee(wa(P.toast.title),$l(Ct({key:0},P.toast.componentProps)),null,16)):(H(),J(pt,{key:1},[Mt(jt(P.toast.title),1)],64))],2),P.toast.description?(H(),J("div",{key:0,"data-description":"",class:St(W(Ts)(P.descriptionClass,w.value,P.classes?.description,P.toast.classes?.description))},[tt.value?(H(),ee(wa(P.toast.description),$l(Ct({key:0},P.toast.componentProps)),null,16)):(H(),J(pt,{key:1},[Mt(jt(P.toast.description),1)],64))],2)):Dt("v-if",!0)],2),P.toast.cancel?(H(),J("button",{key:1,style:Nt(P.toast.cancelButtonStyle||P.cancelButtonStyle),class:St(W(Ts)(P.classes?.cancelButton,P.toast.classes?.cancelButton)),"data-button":"","data-cancel":"",onClick:et[0]||(et[0]=Q=>{W(Lr)(P.toast.cancel)&&g.value&&(P.toast.cancel.onClick?.(Q),Tt())})},jt(W(Lr)(P.toast.cancel)?P.toast.cancel?.label:P.toast.cancel),7)):Dt("v-if",!0),P.toast.action?(H(),J("button",{key:2,style:Nt(P.toast.actionButtonStyle||P.actionButtonStyle),class:St(W(Ts)(P.classes?.actionButton,P.toast.classes?.actionButton)),"data-button":"","data-action":"",onClick:et[1]||(et[1]=Q=>{W(Lr)(P.toast.action)&&(P.toast.action.onClick?.(Q),!Q.defaultPrevented&&Tt())})},jt(W(Lr)(P.toast.action)?P.toast.action?.label:P.toast.action),7)):Dt("v-if",!0)],64))],46,pT))}}),vT=fT,hr=(t,e)=>{const s=t.__vccOpts||t;for(const[a,n]of e)s[a]=n;return s};const _T={},gT={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function hT(t,e){return H(),J("svg",gT,e[0]||(e[0]=[q("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),q("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}var yT=hr(_T,[["render",hT]]);const kT=["data-visible"],wT={class:"sonner-spinner"};var ST=Me({__name:"Loader",props:{visible:{type:Boolean}},setup(t){const e=Array(12).fill(0);return(s,a)=>(H(),J("div",{class:"sonner-loading-wrapper","data-visible":s.visible},[q("div",wT,[(H(!0),J(pt,null,ii(W(e),n=>(H(),J("div",{key:`spinner-bar-${n}`,class:"sonner-loading-bar"}))),128))])],8,kT))}}),AT=ST;const zT={},TT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function PT(t,e){return H(),J("svg",TT,e[0]||(e[0]=[q("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}var jT=hr(zT,[["render",PT]]);const ET={},CT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function MT(t,e){return H(),J("svg",CT,e[0]||(e[0]=[q("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}var xT=hr(ET,[["render",MT]]);const IT={},DT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function LT(t,e){return H(),J("svg",DT,e[0]||(e[0]=[q("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}var RT=hr(IT,[["render",LT]]);const OT={},NT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function BT(t,e){return H(),J("svg",NT,e[0]||(e[0]=[q("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}var FT=hr(OT,[["render",BT]]);const GT=["aria-label"],UT=["data-sonner-theme","dir","data-theme","data-rich-colors","data-y-position","data-x-position"],qT=typeof window<"u"&&typeof document<"u";function VT(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}var HT=Me({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{id:{},invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},closeButtonPosition:{default:"top-left"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:lT},visibleToasts:{default:rT},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{},offset:{default:w3},mobileOffset:{default:S3},dir:{default:"auto"},swipeDirections:{},icons:{},containerAriaLabel:{default:"Notifications"}},setup(t){const e=t,s=e_(),a=st([]),n=G(()=>e.id?a.value.filter(E=>E.toasterId===e.id):a.value.filter(E=>!E.toasterId));function r(E,D){return n.value.filter(M=>!M.position&&D===0||M.position===E)}const o=G(()=>{const E=n.value.filter(D=>D.position).map(D=>D.position);return E.length>0?Array.from(new Set([e.position].concat(E))):[e.position]}),u=G(()=>{const E={};return o.value.forEach(D=>{E[D]=a.value.filter(M=>M.position===D)}),E}),l=st([]),d=st({}),c=st(!1);ye(()=>{o.value.forEach(E=>{E in d.value||(d.value[E]=!1)})});const b=st(e.theme!=="system"?e.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),p=st(null),f=st(null),_=st(!1),h=e.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function y(E){a.value.find(D=>D.id===E.id)?.delete||ri.dismiss(E.id),a.value=a.value.filter(({id:D})=>D!==E.id),setTimeout(()=>{a.value.find(D=>D.id===E.id)||(l.value=l.value.filter(D=>D.toastId!==E.id))},A3+50)}function m(E){_.value&&!E.currentTarget?.contains?.(E.relatedTarget)&&(_.value=!1,f.value&&(f.value.focus({preventScroll:!0}),f.value=null))}function v(E){E.target instanceof HTMLElement&&E.target.dataset.dismissible==="false"||_.value||(_.value=!0,f.value=E.relatedTarget)}function g(E){E.target&&E.target instanceof HTMLElement&&E.target.dataset.dismissible==="false"||(c.value=!0)}ye(E=>{const D=ri.subscribe(M=>{if(M.dismiss){requestAnimationFrame(()=>{a.value=a.value.map(N=>N.id===M.id?{...N,delete:!0}:N)});return}Ce(()=>{const N=a.value.findIndex(V=>V.id===M.id);N!==-1?a.value=[...a.value.slice(0,N),{...a.value[N],...M},...a.value.slice(N+1)]:a.value=[M,...a.value]})});E(D)}),ye(E=>{if(typeof window>"u")return;if(e.theme!=="system"){b.value=e.theme;return}const D=window.matchMedia("(prefers-color-scheme: dark)"),M=V=>{b.value=V?"dark":"light"};M(D.matches);const N=V=>{M(V.matches)};try{D.addEventListener("change",N)}catch{D.addListener(N)}E(()=>{try{D.removeEventListener("change",N)}catch{D.removeListener(N)}})}),ye(()=>{p.value&&f.value&&(f.value.focus({preventScroll:!0}),f.value=null,_.value=!1)}),ye(()=>{a.value.length<=1&&Object.keys(d.value).forEach(E=>{d.value[E]=!1})}),ye(E=>{function D(M){const N=e.hotkey.every(ct=>M[ct]||M.code===ct),V=Array.isArray(p.value)?p.value[0]:p.value;N&&(o.value.forEach(ct=>{d.value[ct]=!0}),V?.focus());const it=document.activeElement===p.value||V?.contains(document.activeElement);M.code==="Escape"&&it&&o.value.forEach(ct=>{d.value[ct]=!1})}qT&&(document.addEventListener("keydown",D),E(()=>{document.removeEventListener("keydown",D)}))});function k(E){const D=E.currentTarget,M=D.getAttribute("data-y-position")+"-"+D.getAttribute("data-x-position");d.value[M]=!0}function w(E){if(!c.value){const D=E.currentTarget,M=D.getAttribute("data-y-position")+"-"+D.getAttribute("data-x-position");d.value[M]=!1}}function A(){Object.keys(d.value).forEach(E=>{d.value[E]=!1})}function z(){c.value=!1}function S(E){l.value=E}function I(E){const D=l.value.findIndex(M=>M.toastId===E.toastId);if(D!==-1)l.value[D]=E;else{const M=l.value.findIndex(N=>N.position===E.position);M!==-1?l.value.splice(M,0,E):l.value.unshift(E)}}return(E,D)=>(H(),J(pt,null,[Dt(" Remove item from normal navigation flow, only available via hotkey "),q("section",{"aria-label":`${E.containerAriaLabel} ${W(h)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(H(!0),J(pt,null,ii(o.value,(M,N)=>(H(),J("ol",Ct({key:M,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"","data-sonner-theme":b.value,class:e.class,dir:E.dir==="auto"?VT():E.dir,tabIndex:-1,"data-theme":E.theme,"data-rich-colors":E.richColors,"data-y-position":M.split("-")[0],"data-x-position":M.split("-")[1],style:{"--front-toast-height":`${l.value[0]?.height||0}px`,"--width":`${W(oT)}px`,"--gap":`${E.gap}px`,...E.style,...W(s).style,...W(bT)(E.offset,E.mobileOffset)}},{ref_for:!0},E.$attrs,{onBlur:m,onFocus:v,onMouseenter:k,onMousemove:k,onMouseleave:w,onDragend:A,onPointerdown:g,onPointerup:z}),[(H(!0),J(pt,null,ii(r(M,N),(V,it)=>(H(),ee(vT,{key:V.id,heights:l.value,icons:E.icons,index:it,toast:V,defaultRichColors:E.richColors,duration:E.toastOptions?.duration??E.duration,class:St(E.toastOptions?.class??""),descriptionClass:E.toastOptions?.descriptionClass,invert:E.invert,visibleToasts:E.visibleToasts,closeButton:E.toastOptions?.closeButton??E.closeButton,interacting:c.value,position:M,closeButtonPosition:E.toastOptions?.closeButtonPosition??E.closeButtonPosition,style:Nt(E.toastOptions?.style),unstyled:E.toastOptions?.unstyled,classes:E.toastOptions?.classes,cancelButtonStyle:E.toastOptions?.cancelButtonStyle,actionButtonStyle:E.toastOptions?.actionButtonStyle,"close-button-aria-label":E.toastOptions?.closeButtonAriaLabel,toasts:u.value[M],expandByDefault:E.expand,gap:E.gap,expanded:d.value[M]||!1,swipeDirections:e.swipeDirections,"onUpdate:heights":S,"onUpdate:height":I,onRemoveToast:y},{"close-icon":Et(()=>[pi(E.$slots,"close-icon",{},()=>[B(yT)])]),"loading-icon":Et(()=>[pi(E.$slots,"loading-icon",{},()=>[B(AT,{visible:V.type==="loading"},null,8,["visible"])])]),"success-icon":Et(()=>[pi(E.$slots,"success-icon",{},()=>[B(jT)])]),"error-icon":Et(()=>[pi(E.$slots,"error-icon",{},()=>[B(FT)])]),"warning-icon":Et(()=>[pi(E.$slots,"warning-icon",{},()=>[B(RT)])]),"info-icon":Et(()=>[pi(E.$slots,"info-icon",{},()=>[B(xT)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","closeButtonPosition","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","close-button-aria-label","toasts","expandByDefault","gap","expanded","swipeDirections"]))),128))],16,UT))),128))],8,GT)],2112))}}),WT=HT;const z3=gt({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...da(),...ue(),...qs(),...nn(),...ws(),...xe(),...vi(),...Vs()},"VBtnGroup"),o0=Ut()({name:"VBtnGroup",props:z3(),setup(t,e){let{slots:s}=e;const{themeClasses:a}=ji(t),{densityClasses:n}=ba(t),{borderClasses:r}=ca(t),{elevationClasses:o}=rn(t),{roundedClasses:u}=Ss(t);br({VBtn:{height:at(()=>t.direction==="horizontal"?"auto":null),baseColor:at(()=>t.baseColor),color:at(()=>t.color),density:at(()=>t.density),flat:!0,variant:at(()=>t.variant)}}),re(()=>B(t.tag,{class:St(["v-btn-group",`v-btn-group--${t.direction}`,{"v-btn-group--divided":t.divided},a.value,r.value,n.value,o.value,u.value,t.class]),style:Nt(t.style)},s))}}),bc=gt({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T3=gt({value:null,disabled:Boolean,selectedClass:String},"group-item");function $u(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const a=Ue("useGroupItem");if(!a)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const n=bd();Fe(Symbol.for(`${e.description}:id`),n);const r=Qt(e,null);if(!r){if(!s)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const o=at(()=>t.value),u=G(()=>!!(r.disabled.value||t.disabled));function l(){r?.register({id:n,value:o,disabled:u},a)}function d(){r?.unregister(n)}l(),Ge(()=>d());const c=G(()=>r.isSelected(n)),b=G(()=>r.items.value[0].id===n),p=G(()=>r.items.value[r.items.value.length-1].id===n),f=G(()=>c.value&&[r.selectedClass.value,t.selectedClass]);return At(c,_=>{a.emit("group:selected",{value:_})},{flush:"sync"}),{id:n,isSelected:c,isFirst:b,isLast:p,toggle:()=>r.select(n,!c.value),select:_=>r.select(n,_),selectedClass:f,value:o,disabled:u,group:r,register:l,unregister:d}}function pc(t,e){let s=!1;const a=we([]),n=es(t,"modelValue",[],p=>p===void 0?[]:P3(a,p===null?[null]:Wd(p)),p=>{const f=$T(a,p);return t.multiple?f:f[0]}),r=Ue("useGroup");function o(p,f){const _=p,h=Symbol.for(`${e.description}:id`),m=wn(h,r?.vnode).indexOf(f);W(_.value)===void 0&&(_.value=m,_.useIndexAsValue=!0),m>-1?a.splice(m,0,_):a.push(_)}function u(p){if(s)return;l();const f=a.findIndex(_=>_.id===p);a.splice(f,1)}function l(){const p=a.find(f=>!f.disabled);p&&t.mandatory==="force"&&!n.value.length&&(n.value=[p.id])}Xe(()=>{l()}),Ge(()=>{s=!0}),or(()=>{for(let p=0;p<a.length;p++)a[p].useIndexAsValue&&(a[p].value=p)});function d(p,f){const _=a.find(h=>h.id===p);if(!(f&&_?.disabled))if(t.multiple){const h=n.value.slice(),y=h.findIndex(v=>v===p),m=~y;if(f=f??!m,m&&t.mandatory&&h.length<=1||!m&&t.max!=null&&h.length+1>t.max)return;y<0&&f?h.push(p):y>=0&&!f&&h.splice(y,1),n.value=h}else{const h=n.value.includes(p);if(t.mandatory&&h||!h&&!f)return;n.value=f??!h?[p]:[]}}function c(p){if(t.multiple,n.value.length){const f=n.value[0],_=a.findIndex(m=>m.id===f);let h=(_+p)%a.length,y=a[h];for(;y.disabled&&h!==_;)h=(h+p)%a.length,y=a[h];if(y.disabled)return;n.value=[a[h].id]}else{const f=a.find(_=>!_.disabled);f&&(n.value=[f.id])}}const b={register:o,unregister:u,selected:n,select:d,disabled:at(()=>t.disabled),prev:()=>c(a.length-1),next:()=>c(1),isSelected:p=>n.value.includes(p),selectedClass:at(()=>t.selectedClass),items:at(()=>a),getItemIndex:p=>KT(a,p)};return Fe(e,b),b}function KT(t,e){const s=P3(t,[e]);return s.length?t.findIndex(a=>a.id===s[0]):-1}function P3(t,e){const s=[];return e.forEach(a=>{const n=t.find(o=>Is(a,o.value)),r=t[a];n?.value!==void 0?s.push(n.id):r?.useIndexAsValue&&s.push(r.id)}),s}function $T(t,e){const s=[];return e.forEach(a=>{const n=t.findIndex(r=>r.id===a);if(~n){const r=t[n];s.push(r.value!==void 0?r.value:n)}}),s}const j3=Symbol.for("vuetify:v-btn-toggle"),YT=gt({...z3(),...bc()},"VBtnToggle");Ut()({name:"VBtnToggle",props:YT(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{isSelected:a,next:n,prev:r,select:o,selected:u}=pc(t,j3);return re(()=>{const l=o0.filterProps(t);return B(o0,Ct({class:["v-btn-toggle",t.class]},l,{style:t.style}),{default:()=>[s.default?.({isSelected:a,next:n,prev:r,select:o,selected:u})]})}),{next:n,prev:r,select:o}}});const XT=gt({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...ue(),...pr(),...xe({tag:"div"}),...vi()},"VProgressCircular"),Yu=Ut()({name:"VProgressCircular",props:XT(),setup(t,e){let{slots:s}=e;const a=20,n=2*Math.PI*a,r=st(),{themeClasses:o}=ji(t),{sizeClasses:u,sizeStyles:l}=mr(t),{textColorClasses:d,textColorStyles:c}=Qa(()=>t.color),{textColorClasses:b,textColorStyles:p}=Qa(()=>t.bgColor),{intersectionRef:f,isIntersecting:_}=T2(),{resizeRef:h,contentRect:y}=yo(),m=at(()=>gs(parseFloat(t.modelValue),0,100)),v=at(()=>Number(t.width)),g=at(()=>l.value?Number(t.size):y.value?y.value.width:Math.max(v.value,32)),k=at(()=>a/(1-v.value/g.value)*2),w=at(()=>v.value/g.value*k.value),A=at(()=>Bt((100-m.value)/100*n));return ye(()=>{f.value=r.value,h.value=r.value}),re(()=>B(t.tag,{ref:r,class:St(["v-progress-circular",{"v-progress-circular--indeterminate":!!t.indeterminate,"v-progress-circular--visible":_.value,"v-progress-circular--disable-shrink":t.indeterminate&&(t.indeterminate==="disable-shrink"||$n())},o.value,u.value,d.value,t.class]),style:Nt([l.value,c.value,t.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":t.indeterminate?void 0:m.value},{default:()=>[q("svg",{style:{transform:`rotate(calc(-90deg + ${Number(t.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${k.value} ${k.value}`},[q("circle",{class:St(["v-progress-circular__underlay",b.value]),style:Nt(p.value),fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":w.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),q("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:a,"stroke-width":w.value,"stroke-dasharray":n,"stroke-dashoffset":A.value},null)]),s.default&&q("div",{class:"v-progress-circular__content"},[s.default({value:m.value})])]})),{}}});function ZT(t,e){At(()=>t.isActive?.value,s=>{t.isLink.value&&s!=null&&e&&Ce(()=>{e(s)})},{immediate:!0})}const QT=gt({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:j3},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:be,appendIcon:be,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...da(),...ue(),...qs(),...sn(),...nn(),...T3(),...C2(),...ec(),...x2(),...ws(),...tl(),...pr(),...xe({tag:"button"}),...vi(),...Vs({variant:"elevated"})},"VBtn"),JT=Ut()({name:"VBtn",props:QT(),emits:{"group:selected":t=>!0},setup(t,e){let{attrs:s,slots:a}=e;const{themeClasses:n}=ji(t),{borderClasses:r}=ca(t),{densityClasses:o}=ba(t),{dimensionStyles:u}=an(t),{elevationClasses:l}=rn(t),{loaderClasses:d}=M2(t),{locationStyles:c}=ic(t),{positionClasses:b}=I2(t),{roundedClasses:p}=Ss(t),{sizeClasses:f,sizeStyles:_}=mr(t),h=$u(t,t.symbol,!1),y=Jo(t,s),m=G(()=>t.active!==void 0?t.active:y.isRouterLink.value?y.isActive?.value:h?.isSelected.value),v=at(()=>m.value?t.activeColor??t.color:t.color),g=G(()=>({color:h?.isSelected.value&&(!y.isLink.value||y.isActive?.value)||!h||y.isActive?.value?v.value??t.baseColor:t.baseColor,variant:t.variant})),{colorClasses:k,colorStyles:w,variantClasses:A}=vr(g),z=G(()=>h?.disabled.value||t.disabled),S=at(()=>t.variant==="elevated"&&!(t.disabled||t.flat||t.border)),I=G(()=>{if(!(t.value===void 0||typeof t.value=="symbol"))return Object(t.value)===t.value?JSON.stringify(t.value,null,0):t.value});function E(D){z.value||y.isLink.value&&(D.metaKey||D.ctrlKey||D.shiftKey||D.button!==0||s.target==="_blank")||(y.isRouterLink.value?y.navigate?.(D):h?.toggle())}return ZT(y,h?.select),re(()=>{const D=y.isLink.value?"a":t.tag,M=!!(t.prependIcon||a.prepend),N=!!(t.appendIcon||a.append),V=!!(t.icon&&t.icon!==!0);return is(B(D,Ct(y.linkProps,{type:D==="a"?void 0:"button",class:["v-btn",h?.selectedClass.value,{"v-btn--active":m.value,"v-btn--block":t.block,"v-btn--disabled":z.value,"v-btn--elevated":S.value,"v-btn--flat":t.flat,"v-btn--icon":!!t.icon,"v-btn--loading":t.loading,"v-btn--readonly":t.readonly,"v-btn--slim":t.slim,"v-btn--stacked":t.stacked},t.spaced?["v-btn--spaced",`v-btn--spaced-${t.spaced}`]:[],n.value,r.value,k.value,o.value,l.value,d.value,b.value,p.value,f.value,A.value,t.class],style:[w.value,u.value,c.value,_.value,t.style],"aria-busy":t.loading?!0:void 0,disabled:z.value&&D!=="a"||void 0,tabindex:t.loading||t.readonly?-1:void 0,onClick:E,value:I.value}),{default:()=>[fr(!0,"v-btn"),!t.icon&&M&&q("span",{key:"prepend",class:"v-btn__prepend"},[a.prepend?B(ni,{key:"prepend-defaults",disabled:!t.prependIcon,defaults:{VIcon:{icon:t.prependIcon}}},a.prepend):B(te,{key:"prepend-icon",icon:t.prependIcon},null)]),q("span",{class:"v-btn__content","data-no-activator":""},[!a.default&&V?B(te,{key:"content-icon",icon:t.icon},null):B(ni,{key:"content-defaults",disabled:!V,defaults:{VIcon:{icon:t.icon}}},{default:()=>[a.default?.()??jt(t.text)]})]),!t.icon&&N&&q("span",{key:"append",class:"v-btn__append"},[a.append?B(ni,{key:"append-defaults",disabled:!t.appendIcon,defaults:{VIcon:{icon:t.appendIcon}}},a.append):B(te,{key:"append-icon",icon:t.appendIcon},null)]),!!t.loading&&q("span",{key:"loader",class:"v-btn__loader"},[a.loader?.()??B(Yu,{color:typeof t.loading=="boolean"?void 0:t.loading,indeterminate:!0,width:"2"},null)])]}),[[oa,!z.value&&t.ripple,"",{center:!!t.icon}]])}),{group:h}}});function tP(t){let{selectedElement:e,containerElement:s,isRtl:a,isHorizontal:n}=t;const r=sr(n,s),o=E3(n,a,s),u=sr(n,e),l=C3(n,e),d=u*.4;return o>l?l-d:o+r<l+u?l-r+u+d:o}function eP(t){let{selectedElement:e,containerElement:s,isHorizontal:a}=t;const n=sr(a,s),r=C3(a,e),o=sr(a,e);return r-n/2+o/2}function l0(t,e){return e?.[t?"scrollWidth":"scrollHeight"]||0}function iP(t,e){return e?.[t?"clientWidth":"clientHeight"]||0}function E3(t,e,s){if(!s)return 0;const{scrollLeft:a,offsetWidth:n,scrollWidth:r}=s;return t?e?r-n+a:a:s.scrollTop}function sr(t,e){return e?.[t?"offsetWidth":"offsetHeight"]||0}function C3(t,e){return e?.[t?"offsetLeft":"offsetTop"]||0}const M3=Symbol.for("vuetify:v-slide-group"),x3=gt({centerActive:Boolean,scrollToActive:{type:Boolean,default:!0},contentClass:null,direction:{type:String,default:"horizontal"},symbol:{type:null,default:M3},nextIcon:{type:be,default:"$next"},prevIcon:{type:be,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>typeof t=="boolean"||["always","desktop","mobile"].includes(t)},...ue(),...Dz({mobile:null}),...xe(),...bc({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),u0=Ut()({name:"VSlideGroup",props:x3(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{isRtl:a}=on(),{displayClasses:n,mobile:r}=r3(t),o=pc(t,t.symbol),u=It(!1),l=It(0),d=It(0),c=It(0),b=G(()=>t.direction==="horizontal"),{resizeRef:p,contentRect:f}=yo(),{resizeRef:_,contentRect:h}=yo(),y=Z1(),m=G(()=>({container:p.el,duration:200,easing:"easeOutQuart"})),v=G(()=>o.selected.value.length?o.items.value.findIndex(lt=>lt.id===o.selected.value[0]):-1),g=G(()=>o.selected.value.length?o.items.value.findIndex(lt=>lt.id===o.selected.value[o.selected.value.length-1]):-1);if(ie){let lt=-1;At(()=>[o.selected.value,f.value,h.value,b.value],()=>{cancelAnimationFrame(lt),lt=requestAnimationFrame(()=>{if(f.value&&h.value){const bt=b.value?"width":"height";d.value=f.value[bt],c.value=h.value[bt],u.value=d.value+1<c.value}if(t.scrollToActive&&v.value>=0&&_.el){const bt=_.el.children[g.value];w(bt,t.centerActive)}})})}const k=It(!1);function w(lt,bt){let xt=0;bt?xt=eP({containerElement:p.el,isHorizontal:b.value,selectedElement:lt}):xt=tP({containerElement:p.el,isHorizontal:b.value,isRtl:a.value,selectedElement:lt}),A(xt)}function A(lt){if(!ie||!p.el)return;const bt=sr(b.value,p.el),xt=E3(b.value,a.value,p.el);if(!(l0(b.value,p.el)<=bt||Math.abs(lt-xt)<16)){if(b.value&&a.value&&p.el){const{scrollWidth:ae,offsetWidth:P}=p.el;lt=ae-P-lt}b.value?y.horizontal(lt,m.value):y(lt,m.value)}}function z(lt){const{scrollTop:bt,scrollLeft:xt}=lt.target;l.value=b.value?xt:bt}function S(lt){if(k.value=!0,!(!u.value||!_.el)){for(const bt of lt.composedPath())for(const xt of _.el.children)if(xt===bt){w(xt);return}}}function I(lt){k.value=!1}let E=!1;function D(lt){!E&&!k.value&&!(lt.relatedTarget&&_.el?.contains(lt.relatedTarget))&&it(),E=!1}function M(){E=!0}function N(lt){if(!_.el)return;function bt(xt){lt.preventDefault(),it(xt)}b.value?lt.key==="ArrowRight"?bt(a.value?"prev":"next"):lt.key==="ArrowLeft"&&bt(a.value?"next":"prev"):lt.key==="ArrowDown"?bt("next"):lt.key==="ArrowUp"&&bt("prev"),lt.key==="Home"?bt("first"):lt.key==="End"&&bt("last")}function V(lt,bt){if(!lt)return;let xt=lt;do xt=xt?.[bt==="next"?"nextElementSibling":"previousElementSibling"];while(xt?.hasAttribute("disabled"));return xt}function it(lt){if(!_.el)return;let bt;if(!lt)bt=vo(_.el)[0];else if(lt==="next"){if(bt=V(_.el.querySelector(":focus"),lt),!bt)return it("first")}else if(lt==="prev"){if(bt=V(_.el.querySelector(":focus"),lt),!bt)return it("last")}else lt==="first"?(bt=_.el.firstElementChild,bt?.hasAttribute("disabled")&&(bt=V(bt,"next"))):lt==="last"&&(bt=_.el.lastElementChild,bt?.hasAttribute("disabled")&&(bt=V(bt,"prev")));bt&&bt.focus({preventScroll:!0})}function ct(lt){const bt=b.value&&a.value?-1:1,xt=(lt==="prev"?-bt:bt)*d.value;let ge=l.value+xt;if(b.value&&a.value&&p.el){const{scrollWidth:ae,offsetWidth:P}=p.el;ge+=ae-P}A(ge)}const ot=G(()=>({next:o.next,prev:o.prev,select:o.select,isSelected:o.isSelected})),tt=G(()=>u.value||Math.abs(l.value)>0),_t=G(()=>{switch(t.showArrows){case"always":return!0;case"desktop":return!r.value;case!0:return tt.value;case"mobile":return r.value||tt.value;default:return!r.value&&tt.value}}),vt=G(()=>Math.abs(l.value)>1),Tt=G(()=>{if(!p.value||!tt.value)return!1;const lt=l0(b.value,p.el),bt=iP(b.value,p.el);return lt-bt-Math.abs(l.value)>1});return re(()=>B(t.tag,{class:St(["v-slide-group",{"v-slide-group--vertical":!b.value,"v-slide-group--has-affixes":_t.value,"v-slide-group--is-overflowing":u.value},n.value,t.class]),style:Nt(t.style),tabindex:k.value||o.selected.value.length?-1:0,onFocus:D},{default:()=>[_t.value&&q("div",{key:"prev",class:St(["v-slide-group__prev",{"v-slide-group__prev--disabled":!vt.value}]),onMousedown:M,onClick:()=>vt.value&&ct("prev")},[s.prev?.(ot.value)??B(Fp,null,{default:()=>[B(te,{icon:a.value?t.nextIcon:t.prevIcon},null)]})]),q("div",{key:"container",ref:p,class:St(["v-slide-group__container",t.contentClass]),onScroll:z},[q("div",{ref:_,class:"v-slide-group__content",onFocusin:S,onFocusout:I,onKeydown:N},[s.default?.(ot.value)])]),_t.value&&q("div",{key:"next",class:St(["v-slide-group__next",{"v-slide-group__next--disabled":!Tt.value}]),onMousedown:M,onClick:()=>Tt.value&&ct("next")},[s.next?.(ot.value)??B(Fp,null,{default:()=>[B(te,{icon:a.value?t.prevIcon:t.nextIcon},null)]})])]})),{selected:o.selected,scrollTo:ct,scrollOffset:l,focus:it,hasPrev:vt,hasNext:Tt}}}),I3=Symbol.for("vuetify:v-chip-group"),sP=gt({baseColor:String,column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Is},...x3({scrollToActive:!1}),...ue(),...bc({selectedClass:"v-chip--selected"}),...xe(),...vi(),...Vs({variant:"tonal"})},"VChipGroup"),aM=Ut()({name:"VChipGroup",props:sP(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{themeClasses:a}=ji(t),{isSelected:n,select:r,next:o,prev:u,selected:l}=pc(t,I3);return br({VChip:{baseColor:at(()=>t.baseColor),color:at(()=>t.color),disabled:at(()=>t.disabled),filter:at(()=>t.filter),variant:at(()=>t.variant)}}),re(()=>{const d=u0.filterProps(t);return B(u0,Ct(d,{class:["v-chip-group",{"v-chip-group--column":t.column},a.value,t.class],style:t.style}),{default:()=>[s.default?.({isSelected:n,select:r,next:o,prev:u,selected:l.value})]})}),{}}}),aP=gt({activeClass:String,appendAvatar:String,appendIcon:be,baseColor:String,closable:Boolean,closeIcon:{type:be,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:be,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:be,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},modelValue:{type:Boolean,default:!0},onClick:ea(),onClickOnce:ea(),...da(),...ue(),...qs(),...nn(),...T3(),...ws(),...tl(),...pr(),...xe({tag:"span"}),...vi(),...Vs({variant:"tonal"})},"VChip"),nP=Ut()({name:"VChip",directives:{vRipple:oa},props:aP(),emits:{"click:close":t=>!0,"update:modelValue":t=>!0,"group:selected":t=>!0,click:t=>!0},setup(t,e){let{attrs:s,emit:a,slots:n}=e;const{t:r}=kA(),{borderClasses:o}=ca(t),{densityClasses:u}=ba(t),{elevationClasses:l}=rn(t),{roundedClasses:d}=Ss(t),{sizeClasses:c}=mr(t),{themeClasses:b}=ji(t),p=es(t,"modelValue"),f=$u(t,I3,!1),_=$u(t,M3,!1),h=Jo(t,s),y=at(()=>t.link!==!1&&h.isLink.value),m=G(()=>!t.disabled&&t.link!==!1&&(!!f||t.link||h.isClickable.value)),v=at(()=>({"aria-label":r(t.closeLabel),disabled:t.disabled,onClick(S){S.preventDefault(),S.stopPropagation(),p.value=!1,a("click:close",S)}}));At(p,S=>{S?(f?.register(),_?.register()):(f?.unregister(),_?.unregister())});const{colorClasses:g,colorStyles:k,variantClasses:w}=vr(()=>({color:!f||f.isSelected.value?t.color??t.baseColor:t.baseColor,variant:t.variant}));function A(S){a("click",S),m.value&&(h.navigate?.(S),f?.toggle())}function z(S){(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),A(S))}return()=>{const S=h.isLink.value?"a":t.tag,I=!!(t.appendIcon||t.appendAvatar),E=!!(I||n.append),D=!!(n.close||t.closable),M=!!(n.filter||t.filter)&&f,N=!!(t.prependIcon||t.prependAvatar),V=!!(N||n.prepend);return p.value&&is(B(S,Ct(h.linkProps,{class:["v-chip",{"v-chip--disabled":t.disabled,"v-chip--label":t.label,"v-chip--link":m.value,"v-chip--filter":M,"v-chip--pill":t.pill,[`${t.activeClass}`]:t.activeClass&&h.isActive?.value},b.value,o.value,g.value,u.value,l.value,d.value,c.value,w.value,f?.selectedClass.value,t.class],style:[k.value,t.style],disabled:t.disabled||void 0,draggable:t.draggable,tabindex:m.value?0:void 0,onClick:A,onKeydown:m.value&&!y.value&&z}),{default:()=>[fr(m.value,"v-chip"),M&&B(UA,{key:"filter"},{default:()=>[is(q("div",{class:"v-chip__filter"},[n.filter?B(ni,{key:"filter-defaults",disabled:!t.filterIcon,defaults:{VIcon:{icon:t.filterIcon}}},n.filter):B(te,{key:"filter-icon",icon:t.filterIcon},null)]),[[ur,f.isSelected.value]])]}),V&&q("div",{key:"prepend",class:"v-chip__prepend"},[n.prepend?B(ni,{key:"prepend-defaults",disabled:!N,defaults:{VAvatar:{image:t.prependAvatar,start:!0},VIcon:{icon:t.prependIcon,start:!0}}},n.prepend):q(pt,null,[t.prependIcon&&B(te,{key:"prepend-icon",icon:t.prependIcon,start:!0},null),t.prependAvatar&&B(Rs,{key:"prepend-avatar",image:t.prependAvatar,start:!0},null)])]),q("div",{class:"v-chip__content","data-no-activator":""},[n.default?.({isSelected:f?.isSelected.value,selectedClass:f?.selectedClass.value,select:f?.select,toggle:f?.toggle,value:f?.value.value,disabled:t.disabled})??jt(t.text)]),E&&q("div",{key:"append",class:"v-chip__append"},[n.append?B(ni,{key:"append-defaults",disabled:!I,defaults:{VAvatar:{end:!0,image:t.appendAvatar},VIcon:{end:!0,icon:t.appendIcon}}},n.append):q(pt,null,[t.appendIcon&&B(te,{key:"append-icon",end:!0,icon:t.appendIcon},null),t.appendAvatar&&B(Rs,{key:"append-avatar",end:!0,image:t.appendAvatar},null)])]),D&&q("button",Ct({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},v.value),[n.close?B(ni,{key:"close-defaults",defaults:{VIcon:{icon:t.closeIcon,size:"x-small"}}},n.close):B(te,{key:"close-icon",icon:t.closeIcon,size:"x-small"},null)])]}),[[oa,m.value&&t.ripple,null]])}}}),rP=Xd("v-spacer","div","VSpacer"),oP=gt({id:String,interactive:Boolean,text:String,...cr(lc({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:null}),["absolute","persistent"])},"VTooltip"),ha=Ut()({name:"VTooltip",props:oP(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const a=es(t,"modelValue"),{scopeId:n}=oc(),r=bd(),o=at(()=>t.id||`v-tooltip-${r}`),u=st(),l=G(()=>t.location.split(" ").length>1?t.location:t.location+" center"),d=G(()=>t.origin==="auto"||t.origin==="overlap"||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center"),c=at(()=>t.transition!=null?t.transition:a.value?"scale-transition":"fade-transition"),b=G(()=>Ct({"aria-describedby":o.value},t.activatorProps));return re(()=>{const p=Ao.filterProps(t);return B(Ao,Ct({ref:u,class:["v-tooltip",{"v-tooltip--interactive":t.interactive},t.class],style:t.style,id:o.value},p,{modelValue:a.value,"onUpdate:modelValue":f=>a.value=f,transition:c.value,absolute:!0,location:l.value,origin:d.value,persistent:!0,role:"tooltip",activatorProps:b.value,_disableGlobalStack:!0},n),{activator:s.activator,default:function(){for(var f=arguments.length,_=new Array(f),h=0;h<f;h++)_[h]=arguments[h];return s.default?.(..._)??t.text}})}),u3({},u)}}),lP=Me({__name:"VSonner",props:{id:{},invert:{type:Boolean},position:{default:"bottom-center"},closeButtonPosition:{},hotkey:{default:()=>["altKey","KeyT"]},expand:{type:Boolean,default:!1},duration:{},gap:{},visibleToasts:{default:3},toastOptions:{},class:{},offset:{default:32},mobileOffset:{},dir:{},swipeDirections:{},icons:{},containerAriaLabel:{}},setup(t){return(e,s)=>(H(),J(pt,null,[B(W(WT),{position:t.position,hotkey:t.hotkey,expand:t.expand,"visible-toasts":t.visibleToasts,duration:t.duration,"toast-options":t.toastOptions,offset:t.offset},null,8,["position","hotkey","expand","visible-toasts","duration","toast-options","offset"]),pi(e.$slots,"default")],64))}}),uP=Me({__name:"ProgressBar",props:{duration:{default:5e3},progressBarProps:{},isPaused:{type:Boolean,default:!1},reverseProgressBar:{type:Boolean,default:!1}},setup(t){const e=t,s=e.reverseProgressBar?st(0):st(5e3);let a;At(()=>e.isPaused,r=>{!r&&!e.progressBarProps?.indeterminate&&n()});function n(){a=setTimeout(()=>{e.isPaused||(e.reverseProgressBar?s.value+=120:s.value-=120,s.value<=0&&!e.reverseProgressBar?(s.value=0,clearInterval(a)):s.value>=e.duration&&e.reverseProgressBar?(s.value=e.duration,clearInterval(a)):n())},100)}return Xe(()=>{e.progressBarProps?.indeterminate||(s.value=e.reverseProgressBar?0:e.duration,n())}),Ge(()=>{clearInterval(a)}),(r,o)=>(H(),ee(W(sc),Ct(e.progressBarProps,{"model-value":Math.floor(100*(W(s)/e.duration))}),null,16,["model-value"]))}}),dP={class:"d-flex align-center justify-center fill-height"},cP={key:1,class:"d-flex align-center mr-8"},bP={class:"d-flex align-center justify-center fill-height"},pP={key:3},mP={class:"pb-1"},fP=["innerHTML"],vP=Me({inheritAttrs:!1,__name:"Toast",props:{text:{},description:{},vertical:{type:Boolean,default:!1},cardProps:{},cardTextProps:{},cardActionsProps:{default:()=>({})},action:{},prependIcon:{},prependIconProps:{},avatar:{},multipleAvatars:{},avatarProps:{},progressBar:{type:Boolean,default:!1},reverseProgressBar:{type:Boolean},progressDuration:{default:5e3},progressBarProps:{},loading:{type:Boolean}},emits:["closeToast"],setup(t){const e=st(!1);return(s,a)=>(H(),ee(W(wo),Ct({class:"card-snackbar"},t.cardProps,{onMouseenter:a[1]||(a[1]=n=>e.value=!0),onMouseleave:a[2]||(a[2]=n=>e.value=!1)}),{default:Et(()=>[q("div",{class:St({"d-flex flex-no-wrap justify-space-between":!t.vertical})},[B(W(z2),Ct(t.cardTextProps,{class:{"d-flex align-center":t.prependIcon||t.avatar||t.multipleAvatars}}),{default:Et(()=>[t.avatar?(H(),ee(W(Rs),Ct({key:0,class:"mr-2"},t.avatarProps),{default:Et(()=>[B(W(Zn),{src:t.avatar,cover:""},{placeholder:Et(()=>[q("div",dP,[B(W(Yu),{color:"grey-lighten-2",indeterminate:""})])]),_:1},8,["src"])]),_:1},16)):t.multipleAvatars?(H(),J("div",cP,[(H(!0),J(pt,null,ii(t.multipleAvatars.length<=5?t.multipleAvatars:t.multipleAvatars.slice(0,5),(n,r)=>(H(),ee(W(Rs),Ct({ref_for:!0},t.avatarProps,{key:r,class:"mr-n6",style:{zIndex:5-r}}),{default:Et(()=>[B(W(Zn),{src:n,cover:""},{placeholder:Et(()=>[q("div",bP,[B(W(Yu),{color:"grey-lighten-2",indeterminate:""})])]),_:1},8,["src"])]),_:2},1040,["style"]))),128))])):Dt("",!0),t.prependIcon?(H(),ee(W(te),Ct({key:2,class:"mr-2",icon:t.prependIcon},t.prependIconProps),null,16,["icon"])):Dt("",!0),t.description?(H(),J("div",pP,[q("div",mP,jt(t.text),1),q("p",{class:"font-weight-light",innerHTML:t.description},null,8,fP)])):(H(),J(pt,{key:4},[Mt(jt(t.text),1)],64))]),_:1},16,["class"]),t.action?(H(),ee(W(_2),$l(Ct({key:0},t.cardActionsProps)),{default:Et(()=>[B(W(rP)),B(W(JT),Ct(t.action.buttonProps,{text:t.action.label,onClick:a[0]||(a[0]=()=>{s.$emit("closeToast"),t.action?.onClick?.()})}),null,16,["text"])]),_:1},16)):Dt("",!0)],2),B(W(V2),null,{default:Et(()=>[is(B(uP,{duration:t.progressDuration,"progress-bar-props":t.progressBarProps,"is-paused":e.value,"reverse-progress-bar":t.reverseProgressBar},null,8,["duration","progress-bar-props","is-paused","reverse-progress-bar"]),[[ur,t.progressBar]])]),_:1})]),_:1},16))}}),_P=(t,e)=>{const s=t.__vccOpts||t;for(const[a,n]of e)s[a]=n;return s},gP=_P(vP,[["__scopeId","data-v-c014bbd8"]]);function D3(t,e){const{description:s,action:a,...n}=e||{};return Ku.custom(W0(oe(gP,{...n,progressBar:e?.progressBar??!1,progressDuration:e?.duration??5e3,progressBarProps:{...e?.progressBarProps,indeterminate:e?.loading},description:s,action:a,text:t})),{...n,unstyled:!0})}function ya(t,e){return function(s,a){return D3(s,{prependIcon:e,cardProps:{color:t,...a?.cardProps},...a})}}const nM=Object.assign(D3,{success:ya("success","mdi-check-circle"),error:ya("error","mdi-cancel"),warning:ya("warning","mdi-alert"),info:ya("info","mdi-alert-circle"),primary:ya("primary","mdi-bell"),secondary:ya("secondary","mdi-bell"),dismiss(t){return Ku.dismiss(t)},toastOriginal:Ku}),hP="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAAAnElEQVRYw+2UwQ6AMAhDwfjh+OXzZrgslqxjW8K7GWdtRqlIUYyh/qG1Zt8LVYuKzTDUnCGNy41zrfhpGRrhZgn5/HmiWdzuhsrQH7QMicjDENmuGKEbQjaotiwLaGSZeUIzZB2jhnwfAdqyzFAze+gXxPSZxcgaB6JDa+rUDLG2DNFJ3TLkzDlN3bveGWc83ZFlctTIKOVWFCt5AYSDaENMYFhMAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA0LTE1VDEzOjExOjE0KzAwOjAwADepDgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNC0xNVQxMzoxMToxNCswMDowMHFqEbIAAAAASUVORK5CYII=",Rr="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23e8eaed'%20version='1.1'%20id='svg1'%20sodipodi:docname='dsp.svg'%20inkscape:version='1.4%20(e7c3feb100,%202024-10-09)'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs1'%20/%3e%3csodipodi:namedview%20id='namedview1'%20pagecolor='%23ffffff'%20bordercolor='%23000000'%20borderopacity='0.25'%20inkscape:showpageshadow='2'%20inkscape:pageopacity='0.0'%20inkscape:pagecheckerboard='0'%20inkscape:deskcolor='%23d1d1d1'%20inkscape:zoom='10.331969'%20inkscape:cx='-7.1622363'%20inkscape:cy='1.6453786'%20inkscape:window-width='2136'%20inkscape:window-height='1269'%20inkscape:window-x='0'%20inkscape:window-y='0'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg1'%20/%3e%3cpath%20d='M440-120v-240h80v80h320v80H520v80h-80Zm-320-80v-80h240v80H120Zm160-160v-80H120v-80h160v-80h80v240h-80Zm160-80v-80h400v80H440Zm160-160v-240h80v80h160v80H680v80h-80Zm-480-80v-80h400v80H120Z'%20id='path1'%20style='fill:%23000000'%20/%3e%3c/svg%3e",yP="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23e8eaed'%20version='1.1'%20id='svg1'%20sodipodi:docname='dsp-disabled.svg'%20inkscape:version='1.4%20(e7c3feb100,%202024-10-09)'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs1'%20/%3e%3csodipodi:namedview%20id='namedview1'%20pagecolor='%23ffffff'%20bordercolor='%23000000'%20borderopacity='0.25'%20inkscape:showpageshadow='2'%20inkscape:pageopacity='0.0'%20inkscape:pagecheckerboard='0'%20inkscape:deskcolor='%23d1d1d1'%20inkscape:zoom='10.331969'%20inkscape:cx='-7.1622363'%20inkscape:cy='1.6453786'%20inkscape:window-width='2136'%20inkscape:window-height='1269'%20inkscape:window-x='0'%20inkscape:window-y='0'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg1'%20/%3e%3cpath%20id='path1'%20style='fill:%23000000'%20d='M%20600%20-840%20L%20600%20-600%20L%20680%20-600%20L%20680%20-680%20L%20840%20-680%20L%20840%20-760%20L%20680%20-760%20L%20680%20-840%20L%20600%20-840%20z%20M%20120%20-760%20L%20120%20-680%20L%20336.5625%20-680%20L%20256.5625%20-760%20L%20120%20-760%20z%20M%20369.6875%20-760%20L%20449.6875%20-680%20L%20520%20-680%20L%20520%20-760%20L%20369.6875%20-760%20z%20M%20280%20-600%20L%20280%20-520%20L%20120%20-520%20L%20120%20-440%20L%20280%20-440%20L%20280%20-360%20L%20360%20-360%20L%20360%20-600%20L%20280%20-600%20z%20M%20440%20-520%20L%20440%20-440%20L%20576.5625%20-440%20L%20496.5625%20-520%20L%20440%20-520%20z%20M%20609.6875%20-520%20L%20689.6875%20-440%20L%20840%20-440%20L%20840%20-520%20L%20609.6875%20-520%20z%20M%20440%20-360%20L%20440%20-120%20L%20520%20-120%20L%20520%20-200%20L%20816.5625%20-200%20L%20736.5625%20-280%20L%20520%20-280%20L%20520%20-360%20L%20440%20-360%20z%20M%20120%20-280%20L%20120%20-200%20L%20360%20-200%20L%20360%20-280%20L%20120%20-280%20z%20'%20/%3e%3crect%20style='fill:%23000000;stroke-width:104.92;stroke-linecap:round;stroke-linejoin:round'%20id='rect1'%20width='1186.2163'%20height='80'%20x='-593.10815'%20y='638.82251'%20transform='rotate(-135)'%20/%3e%3c/svg%3e",kP=["title"],wP=["innerHTML"],SP=["title"],AP=["innerHTML"],zP=["title"],TP=["innerHTML"],Ol=Me({__name:"ProviderIcon",props:{domain:{},size:{},dark:{type:Boolean},monochrome:{type:Boolean}},setup(t){const e=t,s=G(()=>{if(e.domain in Y.providers)return Y.providers[e.domain].domain;if(e.domain in Y.providerManifests)return e.domain});return(a,n)=>(H(),J("div",{style:Nt(`width:${t.size}px;margin-left:10px;margin-right:10px;content-align:center`)},[t.domain&&t.domain=="library"?(H(),ee(te,{key:0,size:t.size,icon:"mdi-bookshelf",title:a.$t("item_in_library")},null,8,["size","title"])):e.monochrome&&s.value&&W(Y).providerManifests[s.value].icon_svg_monochrome?(H(),J("div",{key:1,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Nt(`width: ${t.size}px;height: ${t.size}px;${a.$vuetify.theme.current.dark?"":"filter: invert(1);"}`),title:W(Y).providerManifests[s.value].name},[q("div",{class:"svg-wrapper",innerHTML:W(Y).providerManifests[s.value].icon_svg_monochrome},null,8,wP)],12,kP)):a.$vuetify.theme.current.dark&&s.value&&W(Y).providerManifests[s.value].icon_svg_dark?(H(),J("div",{key:2,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Nt(`width: ${t.size}px;height: ${t.size}px;`),title:W(Y).providerManifests[s.value].name},[q("div",{class:"svg-wrapper",innerHTML:W(Y).providerManifests[s.value].icon_svg_dark},null,8,AP)],12,SP)):s.value&&W(Y).providerManifests[s.value].icon_svg?(H(),J("div",{key:3,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Nt(`width: ${t.size}px;height: ${t.size}px;`),title:W(Y).providerManifests[s.value].name},[q("div",{class:"svg-wrapper",innerHTML:W(Y).providerManifests[s.value].icon_svg},null,8,TP)],12,zP)):s.value&&W(Y).providerManifests[s.value].icon?(H(),ee(te,{key:4,size:t.size,icon:"mdi-"+W(Y).providerManifests[s.value].icon,title:W(Y).providerManifests[s.value].name,dark:a.$vuetify.theme.current.dark},null,8,["size","icon","title","dark"])):(H(),ee(te,{key:5,size:t.size,dark:a.$vuetify.theme.current.dark,icon:"mdi-playlist-play"},null,8,["size","dark"]))],4))}}),PP={key:0},jP={key:1},EP={key:2},CP={class:"d-flex ml-2 mr-2"},MP={key:0},xP={key:0,class:"line-branch-end-left"},IP={key:1,class:"line-branch-split-left"},DP={key:0,class:"line-straight"},LP={key:1,class:"line-straight"},RP={key:3,class:"line-straight"},OP={key:4,class:"line-straight"},NP={key:5,class:"line-straight"},BP={key:7,class:"line-straight"},FP={key:0,class:"line-branch-start-right"},GP={key:1,class:"line-straight-halve"},UP={key:0,class:"line-branch-rejoin-right"},qP={key:1,class:"line-with-dot"},VP={key:2,class:"line-straight"},HP={key:4,class:"line-with-dot"},WP={key:5,class:"line-with-dot"},KP={key:6,class:"line-with-dot"},$P={key:0,class:"line-end"},YP={key:1,class:"line-branch-output"},XP={key:8,class:"line-end"},ZP={class:"w-100"},QP={class:"d-flex"},JP={class:"streamdetails-item"},tj={class:"streamdetails-item"},ej=["src"],ij={key:0},sj={key:0,class:"streamdetails-item"},aj={key:0},nj={key:1},rj={key:2},oj={key:3},lj={key:4},uj={class:"d-flex"},dj={key:0,class:"streamdetails-item"},cj={key:1,class:"streamdetails-item"},bj={key:3,class:"streamdetails-item"},pj={key:4,class:"streamdetails-item"},mj={key:5,class:"streamdetails-item"},fj=["src"],vj=["onClick"],_j=["onClick"],Nl=new URL(""+new URL("fallback-DFk8zSGg.png",import.meta.url).href,import.meta.url).href,gj=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKEAAABtCAYAAADJewF5AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QwaCisvSBa6TQAACqJJREFUeNrtnXmQFdUVh787MGyirMqgBlDUEAKImkRRqUIxcbfcjcakFDFqlZrSBMtKlf5hSs2uRrOVVuKSGI27FFQlLiHG4AKKKxBBDYICIrtsAvPLH31eqn3Ou91vmHHmvT5fVRfy+p7T3dyft++5fe+54DiO4ziO4ziO4ziO4ziO4ziO4ziO4ziO4ziO4ziO4ziOU3RCkR9eUm9gFDACmGjHeqAn8IUcLlYBa4DtwDpgMfAqsBxYCswPIcx3mbkIy4W3L3AEcLyJby+gsZ0utxpYBLwGPGr/vSCEsN6lV0ARSpoIXAEcBvTtqNsA3gRmAh8C04H/hBBWuQjrW3wDgB8ClwLdOuEtvmWinAk8CSwJIWx1EdaPAI8Ffmr9vh1twTZbX68bsAJ42/4cBAwF9gQ2ADsBO1u5hiqvsxmYBfwdmAa8FkLY7iKs3YDjGuAHrRDCCuCfwPvWh1sCLAPeA9aavy0hhA2p6/UCegHbgK7Wx9wLGAPsBuwBDDShDjXhZrERmAf8BXg8hLDAe4+1I8A+kqapetZKulnS3u14bz0l7SnpQElnSPqlpOclbcy4t48kPSzpBEk9vJY7twD7SXqiFQJ8VNLoDrrnIGmUpPMkTTXBxXhV0hRJw7zGO6cIH61SfEslndvJnmE/SedKuk3SLEmrIq3j7ZLGes13jorrJumPVQrwdUljOvlzBUnDJV0kaXqF1/bLroDOUVmXVCnAZyUNqbFnDJJG2Kv4aUnb7Vne8Oi44yunBzDXotE8vAicGEL4sA3vYXdgpEW9g4Emi4pL45KrbfhmpUXcy2y4Z3kI4aNWXK8rcDBwOTAohDDBRdixIrwM+FXO4i8BJ4QQlrVF343k89+ZwH42/FINa02cq7DvzMACG5b5AFiUZ9Ba0uAQwlJ/H3acAHtKuruKIZhRO3i9LhY0zDB/7cVqSS9KulXSoZJ6em13XhEekOobZXHzDl5rjAUHHcELkn4i6RhJu3rNdy4RXiupOUclbtyRSFjS+ZJWtKGomiVta6XtMkn3Sposaa96qMdQ4yKcA+QZJ5sNHBxCaK7SfyNwPTCllbe4iWR+4UILShaTfAZcTPJZrp8FM03AEAtmmuz3gSRzGmN1tAZ4MIRwYS3XY9ca/59oY85yT7ZCgN2B3wCTWnFfzwD3ADOAxSGELdUMxZB8h+5tQvwScKAdY/n0d+e+JFPTnA5sCf+d8xV2Vit8/64Vr8onJR3Tjs87TNKpkv4gaa5dc6EroTZEeESVfsfl7GuWeFvSBZ/zszdK+oakSa6E2hDhkVX6vb8KAf7VBqudgvYJ20PYhwAn5ix+C3Bltf3NsuuNtP5e/0i/dxkwN4TwjouwGFxNstoui5nA91sR8OwETACOA8ZbVNwnh+lKSfMt6JlHMsl2GfB+COFjr7Y6eR1L6iHptRz+1lQ7hUrSzpIuTQUUbcFKSY95S9ix9Gpjf3uSTMXP4rYQwitVCPBI4OfAAW18v/2BfWpdhA01fv9/Aprb0F9TpG9WYhvwQBUC/DrwWDsIsMQWF2HH8jTJSrgs8q5Yy7N+4wWSqWN5BDgCuItk4NmpUxH2BrrkKDcgp7/uOcpMzznFqhG4lWR+oVPHIlxJsv43izNz+tspR4v6Qk5fk4CjXGJ1LsIQwlzrb2UxQVJTjnKbMs6vADIDElv3fKXLqxgtIcAjOYKTQcDhOXy9A8TG3NbakcV4ktnWThFEGEJ4FngoR9HTc5RZYEcses7TxzvbpVWslhDgqRxlJma9kkMIn2SIsDfJgqYs9nBpFU+E91t/LcZA4PwcvuZFznUhySXjuAg/04KtIVn+mNU3/F6OAGUa8XHFPDNmNru0itcSEkK4z4KUrAAla6r+S8DUyPmxNvs5xnMurYJiq+82ZHz035A1+cCWWW6tYP++Jd6M2X9R0sef00q8mk8D0lBPIgwhzCHJ5xejF3CdpNizPw88EXkdZw1+LyDJcegUtDUcYtm2sjgtw8/pGenZembYT/aWsNhCPC9H5b0Xm5ZvcwtnR+yvyriHpkhaNxdhQYT4SI4KvD3DxwRJn0RSdeybYf97F2GxRbi3pA8yKnCbJVeP+bkmYv9Qhu0+NvvZRVhgIZ6ZI1fNf2O5Cm1pZaUMsNslnZFxD1e5CF2Iv86ZNLMp4mOwpAWR3DCjI7YDJL3hIiy2CPtkBBglZkjaOeLnEEmLKti+JKlbxHa0BUIuwgILcZSk5Tkq9DHLQVPJz0GS1lWwvSlHkLPURVhsIR6WY7+QPBHzBRHbm2Kf9CRNlLTeRVhsIZ5lQytZ3Bv7omIJKytxt+3wVMn2bElbXITFFuJ4CyayeNAWK1Xy87OI7Z0ZLeK32vDbsouwRoU4LhJkpHk4I+C4MWJ7Y4YQT26jvNcuwhoW4khJ89qgRbwo8oq/R9LAiO2xbSBEF2GNC3GYpOdyCrFrxM8BET+vSzo0YvvVnK2yi7COhThA0gM5hdgz4qefpH9EEihdErHd33b7dBEWWIiNkq7PuZXDmIifwZJezkioObSCbX9Jt7gIXYyTc4zjrZf07Ur9REmDJP05Yr9c0jmVhoAknVRl+ri3av3fPbj0PiOCo4HYlgyNJJkabgwhvBrx8x3gpBZOdSdZCHVxCGFlBdu+wBXAl3Pc8rshhClec47jOP46dtqzexBIEnc2AOtDCJtdhMUVw/HA/iQL458JITxXhW1fklRxPUgyvd4RQliVYbM7cCxwMjDObOeRrGl+IITwL6+VYgmwt6R3UhHpHNvsO6/9WWUR7YUZ5YdLejMSEa+TdIrXTLFEeEILQhhXhf3UMtu/RYZoGmxe4//XsUg62o6rUzO8P5Z0uNdOcUT4UGqFXWm7sd/mtN039X24NAa5pdIG4LancekaU8u/0tjXlVKWiRdzpCRx6kCAw1Mimmzfgkv72Q3IYX+llV9kA9GlibU/qlD+mVRLNzIi1POtn+oUQIRTUhMRGiTdkHpVnp1h29VaK0m603571v7+hu3u9KkAxlb/lUTrO265ANUo6RUTxWWp1+Em++3xDPtDU4vnjysTtSQdVVZ+mKQPUyJs9FpwER5lglgiaZfU73fb72tjWRgk/bi0J7GkXSXtIunE1PT+O8vKD00tyFqYkbTJKYgI7zBBbLQZNLMlzSqb/3dRBdtdJL1rZTZJmm92K8rWLA9O2XS3vqasfJcKvi+XNNOO0V5T9SvAXVMpPLbYa3WbHekciLNbEouk01JlNtqcwpX2uv0odW5Smd119vtWSd9swe/u5qvk19MX17EIL7aK/kTSqZb4cqQdI1LDNlsljW/B/r6USA+0KV4Dbd7gcEmL7fwTLbySl9i5pZIOL/UNbafQaSkBX+s1Vb8C7GoDypI0o0KZU1Ji+EXZuSHWWm2XdE4F+1tSrdnYsnMHpV7L22zY5q6y2df3xhbqO7UvwjGpyv5uhTK7pTIqfJBOIZIaG2yW1L+C/ddMYJJ0QwvnR1ifryWmS+pTL//ePtreskD6k+xX0gzMCSFsqlBuFFCKmmeVNl6UtB/JlhXNwMu2P0q5bQPJ9rPdgdUhhHktlOkHfIVkd6geJDNpFgJPhRDWeU05juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juPUC/8DLSVc5VaBblAAAAAASUVORK5CYII=",import.meta.url).href,hj=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAAPMElEQVR4nO2de7RUVR3HP3Pv9V5eF71eUEBAEQVBufhM0FziE1NRSi1NqaXlI2v5LmtZUlZqrVo+yJKWWCaRWpLio3yh+UjRRJ4higgJIpgooMCFy0x/fPfunDnMzDkzZ98HuL9rzZqZM/vsfc7Z3/3bv9fek8nlcnh4pEFVe1+Ax7YPTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kiNGgd1TAJaECFXANeZ7x6fEmQcpMeGK1gADAO2pK3UY9uBC0kUxnrH9bnALkhKrgM+aedr2S7hmkTtjb7AUOAIoBcwCOiP7vN+4LIy66sCsi4vcHuEaxJVO64vKY4BvgwcB/QrUmY00Ah8YL5XAw3A3kAG6AEMBJrM773N72cBi1vlqrcTuCDRBqQDVQMfO6ivHPQFvgV8E+gWU3YQIpglURMwDehDcSs1C3RJf5nbN1yQqAdSrjOITG2lVPcH7kDSJwmqkMSaZb7XIRKWwkb8dBYLFyT6PiJOFbAS+DXFTfzz0cjPmrYfAV6uoM0dgYkkJ5DFsNDnHAH5PVLABYm+F/r8BiJRMVwM7B/6/g6VkWgccEIF541CkvO/FZzrUQSuPdZxOlHUBbCpgjZ2oXwry6I3sFeF53oUwbYY9hiNrKhKUIv0Ig+HcG3ix5HShf5xSpnlNyAnYwbdb4ODa/AIwQWJmpGinEHTUymi5ELvmZiyhVBNcin0MHArsApYbo5VIYvLwyFckKgvAYmylA6+jkWmdRZ16Ooy2+qNTPs4TAPOpu39Vp9KuCDROQQm/vvAFGQFjQQ2mzZmA38DDgZ6Epj4LwGvl9HWAOR1jsMU2pZA1ei+GoAR5j0b+f1NYC56Rq6vrQfQFT33XgXanmNeyxy3C7gh0U2hzwtRB54MXBk6fg8i0XWISBbnEU+izsCeiKh9ifftbERT7JBQuSrgPdyb9gOBrwEHAcOR17xrifIfIrfGdCQtnyE/C6IcZIDDkXQfjfxvOxcpm0P3/gLwKPAEsKTCdreCa8XajrCo3rGhyPEkJv6xwL0EDztOj9oBuBsRx5bNAKcCjydorxyMIN9PFocG82oCvo6u8+eU36F7AtcApyHHaxwySFKONa+3UR7YLTiQim1t4lcy6oYgadSFZHGsaiQRupjzOgOdKmw7DvukOLcb8A3gAeCAMs47B3gSSfEkBCqEAcBPkFQ6tMI6/g/XJComJdKY9uWGNtoShzuoYzgwGRgcU6478CMkQQY4aBeUMvObtJW4JpGtL5oSYklUGzkeN53WUXyeb29kkJRzgaHAj9FUXAzjgWvZ+hmmxRNpK3ChEw0hMNmtznMTcFfo+Efm+NlIBFvl+O2Yug8gP2jakTCYeOlRDj4PHImmqijORukurvE88Iu0lbggURP5ZFmC/Dn7EOQZLUbWUQ9Eoqw5/gGyWIqhkdKjsz1hk9ZcoQYRaTr5JnoT6ug6h22Bnv145HJIBRckujf0+XUkmcaRb+L/CWUe3kK+Incu8PsSdX/OwfVZuJ66e0W+v4s841uARWiwWKIl9bIfjaZImwueAa4q0JYL3IYImxquTXx781FT3n7fHDke/R5FZ+TfaEFTYC3xzsYcsBZlDNjQSguBm8EVjkc+nz8DzwL/RtNzhuC+apD0HQv8APlySqEb+SQ6GJnxSbESmIFcGcuQz+pA5PgdSaCb/h2FhJygrRP1yzWzL0ESzZ53BPBQzDlrkbNzbqRdlytRqlAnXI880cXQgqbx25GkmgzUlyjfkyDfqQq4kOTpudPQ9DQrcnwK6ufRwM3IUPkuQZpwargmkWsTP7rEZ12Cc7JIB1tTYZtJkAVeixzrjkZ+LSLtx+ZlHarTgHlIIhRDHYHu0xM5WpPgDpRr3lzk9xaURTofSfLZCetNBNcksg+gmCkfHVXlKs1JV5O4NoOLYQ9gDHAUsiLr0T3lEOGXo3DPNCQZn6c0iTYRkO4wkgWbX0OmfzEChbEEh+EOCxckOpLAOrMu9NsR8611tsIcvxCJa4s5DtpvD9QBX0Shh2JmfiMi2eHA1cioiEv6X0MgbRuIl+A5FDZZEVOuVeGCRLnIqxQ2I93EkiuLRu5hBNZTBphJ4FvqaOiCAslXxhUMoR4taEgSp7LP8LMJyi5BSnK7wgWJng19tib+RcC3Q8cnI7P/ThTxthiH4jePEES/c6ZMVOfoKBhPeQQKI25tXFjy7JGgvnfpAEvDXftOrGkbjc6XOp4jX8y35dq1cnEqlRMoCdYRSKskz+BV4t0krQ7XJCo2neVifs8W+dyR0Ih0oNZcKt5MMgXZoo4OsG6urUz8uN8zCcq0N5qAQxKUW4G8+E+iFJSjkLNxtwTnhvPOkwzwgxGp23U/KNeSyEa1O0WOd4r8blGLHlo4G3AH2m9jiEKw0vOkBGXnIk/25UjPux/5b05iaydgMVgSzU9Q1u6C0q5wIYlOJzDxbTD1D8j93mLasLtqXIoWH24xx2cgPeALBL6dLK3gy3CAuHX7m5EFNq/Ab7PRVDiV+ECqJVES0u2K9LR2dZW4kETV5hXOr2lG8bLN5t2O5l4oMNkA7ISslVrkO6o3rwbazllYDuIi9ssoHdB8isIEK4ZVJAsTXUo7J+65juKvQeQ4Dfhp6PijSKRPQJLI4iJkjUyK1DkSBRM7AmxHxiWgxa2jaybekgrnhT+PJHJcFmMjyk68gPio/KEok3ISDi1g1zrRpsi7hbW4opF0a+KHkaNjmfi2U1fFlOuDUjmKYSTxCXZrCZTkNSRfWDAQpdSchQZxFDuiae+PaDeV8xLWmwiurbM4E39bRpwUqUWe7CVsHeAcDPyS0suJQFOiTZvJAX9BOVdJpvd+yKk7H3iMwFVQh5T9oQT9/UOkjzrRpba3PRtbE4sSlGlCU/dU4EFkNBwLnIGmkThErdJ/oNSXpDlFVUjaxUm8PiiWdwrJMiNiG3UJO9KiI8ea+NEofg1b6xGZVriuNLDX91TC8n2QWf8E8CJampOEQFDYo389rRNgHUXlW/TkwdVm6HYtvk10mok2u7Kmv93I6m5klubQqHsLjYTJofrC9XQkzELZi+X4Zcp1nL5b4NhMZKTcgnv/2dVIgX86TSUuSHRD6LNViF9GS6otbKrqdGTG2+i91QEeJtCbqpGC2dHwERoEN8QVbAVMRBmJ43FLpK6m7kFpKnFBorCusBr5fC5BN2zxOErPnEi++/8ClMpwT6TOEcRbQ+2BW1EY4/hWqr/YNN6CpFELeq4uV36kXtfXVrqHHT1R072YKZ8mCOsyKLlDpK71aP3XPyuo60PypXMhlNpwIgvcCHyJ8nZSKYVXgDPTVtJaUfxCvp9Cx0vVUQhxG2i9h0zcJAHJJJtsvVegrkXAV9AUnJTsq9G6+xkx5eJWpOSQ1XccctxW6pBdhFbcnkzhxZJlYVsz8ZvR6FmHLJeX0APZjDp8ofktyW5oWdQJy5Fjz9Zt61tuPheaVt9CI/hEtDp1OIWTyBaj7WN+hZLsDkJ/orOSIJl/PlKo30e77ybBMhTuuBmpCWPRTiHFNjXdhEIuC1C+91M4NF5c/8vQJmTOX4+WpVi8iFJgV5If9rgQ6URLI3WOoPCotUnwLlIfapGSv47KdrENYzfUgTl0fx+ia1yIyG1hXRyt8Uc6jYjM9l8AuiNi5pCEe5X091kQLiTRbQRr6/9jPj9H/vqqmeb3x5EfxZr4K9ADDftg7D8CFYLLLL5NuBuNywn2hSyF1vwXpg9wtKK1XLiQRFEH4nokMcLLgbag6aIXAXGtP6gZLTcOYyUdIO3TIxlcKNarQ683CdaPh49PNWWfRiJ+IbIwjkZTwcLQayalk9T7oGh0JWauTVspB23lQQ+348oXZFN0WhUuHk5d6GWlUk3kuA172B3M7MuGPcLHusVc11XIMuqH9JpiU3KhjhiDNoqySHL/9ShCbvOJ0j4zS5bodY8CfoY84hMi5Qsh7jqGokhAseCts4HheoRZv090jsxGfqdIuUJlwtgZ+CrSvY4B/oXCK6ORFTQRdfoZSC+bQn5GYj2aOnsDf0XK+yiUs3MH8sN0RQsTp6NQQzcUha8FrjD1XmuO34ik63lIsX4ArXgNB0B7mut4BmVwDgK+Y9odj8g0wbwGoryl3iil4zZkMZ4beQ7nI0X5VhRGmmTu5XSkUN+FpP9+iIQXAfehvQxq0VY1r6Ct+1KjIwU6k2ADUsafRg97FzT93YAe3hgUVLwGec7HkJ87k0Vm9QWo0+ejlNbzUaT8RPQnemci8u2PSLUG7a5xBeqEy5Cv5lSk5w03ZY9AS5/3DLXZH9gdWU/j0EDYG0ndQ9CWO59BMSz7h8xZ9Ac4JyDSXkwwfe+EArwvmns8GbkOXkUW8fHmel4y93ogIs0ByCVwFHJYLkD7IUXz4cuGaxLZxXlRfaVL5HeLmgLXUGo624B0qaXIunoFLdluRPG2tWjk1RMsSQ5fi3UwdkfB1KmITG8jqdYJdewcpMv1NNezBeluPZAxYFfxzkCLB3uZa5uLDIJwNuIwcw0bCaYwu/FDMyLUYpQhaqf3KjRI3jDHu4TO7YcGz0MoKNzXnH8nIuHuSDe1i0obEZnsHtq7mvv9nXlPbaG7MPEfI3/7vBxiefj4c6bsfeSP0hXIp/IgwYhYT+kclxr0gD9GD7cK5d3sjTryBeRn6o9GdNgHZTtoHpqy9kWrMjoTbAO4ET14u5F7jalnNuqILsicX4c6cCMiST0imd1LycLmlK8icG8MRyuFF6Jp9S4kLV43bdnrHojIMY/APbAASd+bzf1ejqbJ35r6piPJuh8aSAvN+dYFM9NczwREvnLWuRWECxO/rTEMddwnaFTOQFNEE5JEc1FnDkMdPYsgnNAHSYGlBFPVHHPeQaiD7UMehki+1Jz3FpIwA9DmVm8i4vZBnu01iBg1pk47EDoR/MfbBtRxAxDplqNMyH0R2d5Bg8q2NxhJndnkb0u4BxqMKxGp9kKEttJmiDlvNZK4vU2b80w9Q0wb83CQy74tksijg2FbU6w9OiA8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzX+B1yXSRtpspd4AAAAAElFTkSuQmCC",import.meta.url).href,d0=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAALyUlEQVR4nO2debAcVRWHv5eQjRhIIIQEDFRIwCAYFmUTQxJ2TalIQGQRlE3WiBSFsQoiSwWECiIlm8oiSwBBFIMga8BYQFhFCQYhIYIBAoQALxsBkuMfvx6nX8/Sd+Z2z8x7735VXW96+m7T7zd3Oef0nTYzIxDwoUezGxDo/AQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3gQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3gQRBbwJIgp4s06zG1AnQ4HPAtsAnwdGRucDgH7AIOA94FPgHWA+MBf4O/Bv4M3GN7nr0tZJAvXbgB2BfYGvIfEMqrOsT4EngN8CtwPLM2hft6bVRTQE+DZwJPAlJKYkbwDzgGdQL/Nf1At9HF3vAQwGNkPi2w3YBegNvA1cClwJLMvrQ3R1WlVE2wDHA4cAGyeutaOh6a/An6PX7TWWPxTYG/geMAFYCBwHPFJ3i7sxrSaiMcCZwEFAn8S154DrgJmot8mKkcAU4Nio/JOBjzIsv8vTKiLqA5wN/AhYN3HtAeASYBaaz+TFROBa1CtNIAjJmVYQ0Z7ARWjOE+cR4DLgTw1syzDgNjSfOgBY0cC6Oy3NFFEb8HPgtMT7rwE/Bn7X8BaJNuAeYH1gHPn2fl2CZhkbNwDupFRAM4CdaZ6AAAw4EBgITG9iOzoNzeiJRgO3AtvH3luNep/LGt2YKmyB7El7Ay80uS0tTaNFtAXwKDA89t4i4HBgdiMb4siRwFFISE2fPLYqjRzORgD30lFAC4G9aE0BgYbXTYD9m92QVqZRItoYuAv4XOy9t4BJwMsNakM9rAEuB37Y7Ia0Mo0Yznqi5frY2Hvvo6X983lXngF9kVX8YOTAbVXakOF0u+jvpsghXWA1Wvm+gOZ6S7OquBFe/NPpKCBD7obOICCQ0fE0JPxWZAzwXTRvG41En8Yi4Bpkn/M2qubdE+2M5jtxF8Y04Kw8K+0m7Amcgiztvess417gCDy/IHmKqB/wNHKmFngBWaY/Lpsj4MJQ5AY6rMy114G7gSXAKOTAThttpqAeqW7yHM5+QEcBgXxjQUB+nE+pgNYCF0dHvFcZiHqqamzt26C8VmcDkfEwzi3AwznV1524llKf3s+An1A6LL3nUN4q3wblJaLvoG63wHLkpW8WvaKjXFBbOdaJ0ufZU7ehiIU+1PZ/mEPp8HN1mXS9gN0dyptbQ91lyeMm9URDWZzbgVczKHsAcCrVJ5JLgN8D41FIx44Uw0s+BhagCeWNFJ2rg5HRcw/UvRcC4QytZB5BPcCSCnXuhyImq7EC9cbjgX2Q22e9qA2rUIzUHGTgXJhS1hXImt4TOYvLLdcPREv9aixGgX1+mFnWxzgrZbeMyj6oTNnleNshzW1Ru640szcd0r9sZqPKtKmfmS10bNc7DmmWmNnxZepJHkPMrH+FayPM7HWHug5xqCf1yENENyYaOt/M+mRU9mMONyZPbrfSNh2TU10HlKnL5RhrZgtSyv7IzI6ts/ySI+s50QBk9IpzL7KW+jIO+HIG5fiwCx1tXj2ByTXkfxUtz19ySHtqDeUCbAWciyJBt6iSbh5asV1TY/kVyXpOtB2KDozzUEZlJ2OPKnEPmiyeREezfyXmonnBQci2Uo1P6BikNhFZjF14FLlOlqA5zLSU9CPRXG5lmWu9gAuADVFs1mZoLlfJWv0hEu4dwG+o/cGGqmQtor0S5+3AkxmUuwPwdYd0F1M0LRxBuohmReWuRN/eNBG9hpyyoNVV0oxRiX+icNsPo/MNHPK0UXnVNgE4w7FuQwbIo9GXIHOyHs52SpzPR0+g+jIZDR3VmAdMjV4fhhyQ1ViOequVyByxr0M7/hh7PRa34XUtcCJFAQHs6pBvMZUfrDzBIX+BNvSFmoGbX61msu6JtkycL8A/mGsEGmrSmEZx7vV9h/Qz0cOOAN9EBtJqrELzuwInOtQBMg08HjsfBXzRId+cKtduQr0LyNyxA1rSb1Qlz8HoYc1a51rpZDVDj45liVXAtAzK/GnKSsNMS/TCcnd7M/vEIc9eUfpeZvaiQ/pbYm3a1MzaHfK8b2bDrOPnOc8hn5nZV6y2+7SLma1KKXNV1PZM/+9ZD2fJZ8Z8wyf6oNDZNGZQdAVMJr2HfZbi0677o00hqrEW+EXs/DjcJu0zUfBdgb7ISJjGi9Q+l3yWdDdHXzp6EjIhaxEly1vsWd4kSofIJCspmv03R912GpciYbSheKc0ZgFPRa/XR0/LpmFoKItzTNTGNKZT+yR4U9S2anxEZat73eQdHlvvzh2g3uRMh3Qz0NwLNN5/JiX9POSGAbk5xjvUcXHs9TGkT9pBovtb7Lw/CrtI4zHg5uj1emhDi7RVI6jHTvvsT6BwkWzJeHxMcrZHWfunjO9mmvuMidIPNrkM0jg5VscdDumfNrOeUfq+ZvaKQx4zsynW8fOc6Jiv4CLa2szmRO+tMLNvWOV7NczMFjuUPbFKGXUfeYvoKo+yHnC4KXfH0p/hkH6RmQ2M0m9l6RNRM7PDY3Uc6pC+wIRYvtFm9q5DnnOi9EdY6RciXl78WMfM7nMo+zoza6tQRkuJaE2i4bPrLGd3h5tiJj8RJt/cqw7pL4zVcY5D+tdNvU8hz2zHdpmZ7RHl2cbMXnJIf75phTmjzLVPTT1T8j4NNrO7HMq+tUzelhXR0kTjPzB5m2st5zKHG/Mv07cQq33o62Vu/9hzY236grmZDgo8bmZXmJb5aRRMIftVSXOlmW1kZr3NbHPTsJzmaDXTkJ2VA7whInquzIeYVGMZQ8wtlGNyLM/9DulnxtJPdEi/1MyGxvJc55CnVhaZ2UmxOnqY2SVV0r9rEn/SHleON8zsVKvv/9hUEV1V5sM8WGMZFzncoLfMbECUfh+H9GYdY5oedkh/Xiy96/zJlTfM7CzTcFTuHkw0s6fqLPtJMzulStmZH1m7PWZR6tcZj56Hcgl/ABnnrk9J8xDFPRZ7oE08q7lXFqLlLSiicI+U8t9DT74WOAE3v9OdKBTjaORVXxd5/VegCMnngfuBB6lur7kH+Avy501EbpLhyMDZP0qzBvnWFgOvIDfJo8i00NB9A7J+ZGgw8kclvdQ3oo0RWoE/AN9KSXMOis0BbT76Ivps1ViDYpoLluaC8W818AEK//C52QOQKDeMzj9BYm+n2Xso5dC9VZo7HF5DGXkdkyqPAv/nAzPbMJZnqkMes47mhm515GGx/lWF9y8Hts2hPlc2oqPluRK/puiD6o0e+Xbhl3W0qUuQh4iepBimEGcgGkqG5FBnGoPQxlrVwkZBc6cLYud7olCUNJ4iuwjOTkdevrOplB//t0QPMKZ5zbNkGJrsJqMuy3ESmr9AbZGL1yOHbrckLxE9D9xQ4dq2KAzjgJzqjjMauI/SnWnLcXWUtsCuuDlnl6JVWbclTy/+FIre9SRDUKjpdDrunJYV66Fe5THcAulfprTXcQkRAW2g/q5707oeeW8tMwZtLVMtzmUpsvNchWKyfRiMYpBOR4/QuLAMzX2eib23E8X4obS8o+nmv1rUiJ3Svoo2NO+Vkq4dDSd3IcPgfxzLH4ZijA9GjzMnH1mqxlpkM5qZeH8q2sEkbZ5zE+6PMnVZGrV77FFo6ey6GdNyZLSch8T0FsXdKwZFxwjUC4wkPci+HKtRhOLNZa71p/S3RcrxIcVHiLotjdyCeB80bG3SqAqrsAw4FLkXAp40cgviB9Gj0M+kJcyZf6A5UBBQRjT6ZxnmIyFdgNsGTFmyElnNx9J8IXcpmvkDMcPRKupY0gPMfViO7DjTyWBDp0AprfBTVaPQzmqHkcH+gTHmIvfLDRSfdA3kQCuIqEA/ZFkeh0IqhqNVVz+HvO1oeFyANiyfjew84WemGkAriSjQSWnW750FuhBBRAFvgogC3gQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3gQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3vwPN7k7QTq1nHAAAAAASUVORK5CYII=",import.meta.url).href,yj=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAAMUElEQVR4nO2de5RVVR3HP4MSAwgIakqWiqIIkoHVivKxUksx6SE+kwg105VY+ShJzUdWmpWhaWpaLjNExSYN8YEPTNOFL0QFRRHTJYgi4AMUH8z47Y/fOeveObPP495z595zV/uz1ln3ztl7n9+eM985+7dfv9MiCY8nDz0aXQFP8+NF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnNxs2ugIVMgDYGxgDDAzOfQgsAe4BFgC1WiA1FNgX2AnoGVx3eWBnLtBeIzvDgH2AHYFewEfAMuBu4FFgfY3sdBstTbIorRX4KvCd4HNgJL0dWAzcANwILMphazBwIDARGAV8LJL+cmDnWuDJHHa2BA7GfqedMaGGKLAzA/gb8HQOO92PpKIfIyXdpeyslXSWpAEV2ukp6RhJyzLaeS+w07tCO70CO69ktPOOpFMltVZop25HwyuQchwo6c2MNzvKg5K2zWhnU0kzqrQzKyifxc4Wkm6u0k6bpIEZ7XgRBcehktqrudtlPCNpaIqdwZLm5rRzr6RNUuxsJWleTjt3KLtg/+9FtJekd1Nu6CpJV6fkkUwgg2Ls9JU0O8M1QmZJWhSTdqPim7b+ku6rwM7Nkp6PSWuTNb2N/hsVWkS9JD2Qfp81X9IQScsz5D0vxtaUDGVDFstENy0hz9kxds6qwM5Cmf/TlpBnSoydhhxFHCc6HNg1Q77HgReBSzLkPQH4YuTccOAUR97ngJWO81OAd0keFjkJ2CVybhhwoiPvImB15JyAnwLvp9g5BRt6KARFFNG4yM8COiLn3gGuCr7/EVgYfF+He/ymFTgscu4gYJAj753YH2gKpTGho4CbgvSke9YvyFvOOGx8K8pMYARwOjAHeAiYBNwepLck2BkEHJGQXl8a/SiMHIMlLY08utslnStpnKTDJR0saftIuWGS9pM50TtLusLRBDyizt3kWY48kvSBpC8n1PGGmHIhT0vauCz/bTH51kkak2BnZoqdeZL6JJSv29HwCkSOXSStd9yw/0raM+M1DpH0muMab6skvk0kPefIE/K0zBl2XX93WW/s9Ziya8vsDJb0YoKd+Yp3xvcK7KyKKbtK0jYxZet6FK056w1s4Dg/BHvk/xWbGnDRAkzFRpM3j7l23+B7X2DjhHqMACbHpP0H2BPYAWsS5zvqETZFaXZGAd+PSZsT2Nkea4oXJNhpKEUT0ft09X/KOQo4PyZtGuZAx1HuWwmbo0oiqR7hNVZi82nR8+Xf0+ykpQO8DrzqsFOIOauiTcCuAFYBWyTk2Sbm/IcZrw2wJsXOXcAFMWkTgaOxXtfHSX4ahHZcDjzALcT3Lo/EnOcdAzuFpWhPomVY1z2JO4PPjYH9saYH4BfAGwnlnqD03/w28HxMvhWYSOKeROOBPbAmM605WUn85OlS4JiEsocGdgotICieiMCeAnG8hXW1twHuB2YBj2FN3EuUBObinsjPc2Py3YR1yc8Nrn8d8C1KgvkgwYaLu2POt2FCPB+4NbDz9bL0Su00jkZ79o5jM9nosIvZsq68a6a9TdIZMeWeDa5bbmeo3D2stZI+dJy/Jig3PcZGefkdyuxsJ2m1I9+aGDtXBuVuSrHje2cJrAR+H5P2aeB6bC1OlAOA43E7qufQdRR6CXChI+9GdF7bEzIxON6LqVscLwB/cpzvF2PnaGydUaV2GkYRRQRwBfAHx/nBQP+YMi2Y/xD9nS4BpseUuRi4r4J6HYaNflfKVODhCvIfSvE6PbEUVUQAPwP+nPMa07G5qDjWAt/DVkVmYRDV/XHfxHpbL2XMPxD3eFkhKbKI1mPN06mkd99dXIg1De+n5HsBc2ifyHDNudj8XDUsCuw8kyHvwzSRY11kEYFNpv4Gm9WfQfqNFdYb2hs4mex+xWJssfy0hDyrMd8mzz1bCHwF+HtCnteAy3H7S4WkWdrdxzB/5LPAXtgyjs2xKZD12B/4eeABzMepZofESqzJuQUb5NuD0jTJPGxW/wW6LtyvlFcDO3cEdnYF+gRpj2Lifxkvom5BmJge60Yb7dgTrw2bs/oktoboqeATqnOso3Rg/tqMwM6WDjtxc4SFo5lEVE86gGeDo5z+wMga2mnHfKXoFqdBlEbiC0/RfaJ6kzaNcSK2qTGJHhmuk5Z+CrBVDezUBS+izoyn6wrIkCOxnmIaK0iewwMbBzooJu1YbJltGq9msFMXfHPWmRHY6PY44GbMYe8PfAP4Ltnu1wO412iXMxw4E9vdOhMTwwBs1H0i2f65H8QmkhuOF1Fnwpn7CcFRDTdmyBP2HicFR6Uoo5264Juz2vIvbIigu5lB8mqHuuJFVDveBs6rg53VdbKTGS+i2nESlU2yVsvp5ItGUnO8iDpTbZf5Akr74LJQ7eTqr8g/KV1zvIg6s6bC/ML+sD+psFylXfMO4IzgKB6NXhVXsKOnpGMlLYlfUChJ6pBtHty3SjsbSJqs5D1poZ1HlH3PXUOOZomUVm/6AmOxjQDDsbGiDmzrzgJsHfZc8ofC6wd8LbA1DNt80I4NWC7AensPUrvQft2CF1E6LZgP44oJ0B12PiLbXrTC4EXkyY13rD258SLy5KYoc2efA/bDfAHfvmanFduUWcmOlZpTFBHtis2ee6qjoSIqSnNW+KjxBabh3f+iiMjTxHgR1ZdXsG1J0YCfTU2ziOh32JLSydhuUhergOOAQ4C/1KFOi7HNla7t3nGcjK1cjIvC1pQ0i4g6sIVYlxIfqmUmcBm24s8VrbXW/BLbzLikgjJhIIrBta9O42gWEY2ltJnvmpg81wafW2O7TGuJ6Or8h1MTlSzrOA8LbhUX9URYDKal2CK3ppj+aBYRjcJ2voIt/IrGL1xKaS/9PnR9lRXYrtKzsddQ7Y+9IupyLCZ2lMexQA9XYZHOJgC7YUE/Q8K1Rz2DOk3GgmFNxMLfuARwG/YEiy6hFba1+ptYMPXhwOexDQMzHdcpFo1eRhAcx6UsiZAsNnWY/+JI2kVlaXMcZe9VKSBUi6QNy/Lvq65hfqcFaZ+StHXwvVX2wpmQCcH5zSX1c/xOpznq8cMg7fjI+Z+XldtR0mdUCoE81XGdcs502K7r0SxPIrAgDWEAzRsiaeHOh6HY6Hc5q4AfYGFdvoSFtnsSuBLbIDgbc3jLCQdhl2L+y2VY5P7tHfVagcUIuB74J/ZE6oGF67sj5rrlTeAyzNcDi2KyCAtr/ARwEZ1D8BWSooxYZ2FbrLm4CrvJz2D7xJ7CAi6AbTzsFyl3DbYduj/mCI8Kzo/A1u8cjK0POhmLxFbOEKw52SyhXiMxUYcBOg/AmqdLsb1rY1N+rw5KS0yWYkEjtgts/yilbCFopicRlHanvgv8I/h+NRZCZgPM34nyUPC5OyUBhYzGFqCtoWtQc7CA50kCAntCRiO8jg8+55G+BmlrSrthZwd13AeLQjInpWwhaDYR7UKpm3wb1lSFTupo3EEQwhhFGznS+lAaDqgmkFYcYbP7BtliJF0M/Br7/dqxPWW/xQRayThUQ2g2EW2CNWlgg31XY70usEFGV+ygMMaja5T4rbLzfR3pWXBtmX4t+OxHthAxvYHTsPhEc7EYj6ODtDPIFl2tYTSbiMDehwY2ch2G4mvFuu0udgs+76Nr83ArFn1tC8zprobpdHb012BOOMAXyBasaj3W7PXAmrMTKG1QXIet7S4szeRYh4zGnNmFlGawx2CvL3AxAeuJzcfeDfJjzGm9n1Jo4ImYb1IJ4bqnPtiY0v2Yb9SGLbIfQPZ3kp2D+U/jgU0xIU4N0jarom51pRlF1Bv4NrYTNGQS8U/V/thA3vHAv+kctqUXJqpzI2VCZzjJTwoHEydhzehFZWk7YL5M9G2PHZFPsMCk87GX5d0eyf+J4LpDEurRcJpRRGD/+cMoCWfvlPw7YWM2d2Fzb8uxZmMsXV+3CdaTuw530PWQE7ExnJHAzthTZAXmB43B/YqqI+j61GzFOgfzsLA0y4NrbItN37heu1UoirLb4zjcUec96ZxFg1eFNqNj7SkYRRFRUerRjDT83hXFJ1qHddnb8bs9KqEfpZDFDaMoPpGniWn4o9DT/HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJzf8A7VafuKusJ8IAAAAASUVORK5CYII=",import.meta.url).href;new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAAMUElEQVR4nO2de5RVVR3HP4MSAwgIakqWiqIIkoHVivKxUksx6SE+kwg105VY+ShJzUdWmpWhaWpaLjNExSYN8YEPTNOFL0QFRRHTJYgi4AMUH8z47Y/fOeveObPP495z595zV/uz1ln3ztl7n9+eM985+7dfv9MiCY8nDz0aXQFP8+NF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnNxs2ugIVMgDYGxgDDAzOfQgsAe4BFgC1WiA1FNgX2AnoGVx3eWBnLtBeIzvDgH2AHYFewEfAMuBu4FFgfY3sdBstTbIorRX4KvCd4HNgJL0dWAzcANwILMphazBwIDARGAV8LJL+cmDnWuDJHHa2BA7GfqedMaGGKLAzA/gb8HQOO92PpKIfIyXdpeyslXSWpAEV2ukp6RhJyzLaeS+w07tCO70CO69ktPOOpFMltVZop25HwyuQchwo6c2MNzvKg5K2zWhnU0kzqrQzKyifxc4Wkm6u0k6bpIEZ7XgRBcehktqrudtlPCNpaIqdwZLm5rRzr6RNUuxsJWleTjt3KLtg/+9FtJekd1Nu6CpJV6fkkUwgg2Ls9JU0O8M1QmZJWhSTdqPim7b+ku6rwM7Nkp6PSWuTNb2N/hsVWkS9JD2Qfp81X9IQScsz5D0vxtaUDGVDFstENy0hz9kxds6qwM5Cmf/TlpBnSoydhhxFHCc6HNg1Q77HgReBSzLkPQH4YuTccOAUR97ngJWO81OAd0keFjkJ2CVybhhwoiPvImB15JyAnwLvp9g5BRt6KARFFNG4yM8COiLn3gGuCr7/EVgYfF+He/ymFTgscu4gYJAj753YH2gKpTGho4CbgvSke9YvyFvOOGx8K8pMYARwOjAHeAiYBNwepLck2BkEHJGQXl8a/SiMHIMlLY08utslnStpnKTDJR0saftIuWGS9pM50TtLusLRBDyizt3kWY48kvSBpC8n1PGGmHIhT0vauCz/bTH51kkak2BnZoqdeZL6JJSv29HwCkSOXSStd9yw/0raM+M1DpH0muMab6skvk0kPefIE/K0zBl2XX93WW/s9Ziya8vsDJb0YoKd+Yp3xvcK7KyKKbtK0jYxZet6FK056w1s4Dg/BHvk/xWbGnDRAkzFRpM3j7l23+B7X2DjhHqMACbHpP0H2BPYAWsS5zvqETZFaXZGAd+PSZsT2Nkea4oXJNhpKEUT0ft09X/KOQo4PyZtGuZAx1HuWwmbo0oiqR7hNVZi82nR8+Xf0+ykpQO8DrzqsFOIOauiTcCuAFYBWyTk2Sbm/IcZrw2wJsXOXcAFMWkTgaOxXtfHSX4ahHZcDjzALcT3Lo/EnOcdAzuFpWhPomVY1z2JO4PPjYH9saYH4BfAGwnlnqD03/w28HxMvhWYSOKeROOBPbAmM605WUn85OlS4JiEsocGdgotICieiMCeAnG8hXW1twHuB2YBj2FN3EuUBObinsjPc2Py3YR1yc8Nrn8d8C1KgvkgwYaLu2POt2FCPB+4NbDz9bL0Su00jkZ79o5jM9nosIvZsq68a6a9TdIZMeWeDa5bbmeo3D2stZI+dJy/Jig3PcZGefkdyuxsJ2m1I9+aGDtXBuVuSrHje2cJrAR+H5P2aeB6bC1OlAOA43E7qufQdRR6CXChI+9GdF7bEzIxON6LqVscLwB/cpzvF2PnaGydUaV2GkYRRQRwBfAHx/nBQP+YMi2Y/xD9nS4BpseUuRi4r4J6HYaNflfKVODhCvIfSvE6PbEUVUQAPwP+nPMa07G5qDjWAt/DVkVmYRDV/XHfxHpbL2XMPxD3eFkhKbKI1mPN06mkd99dXIg1De+n5HsBc2ifyHDNudj8XDUsCuw8kyHvwzSRY11kEYFNpv4Gm9WfQfqNFdYb2hs4mex+xWJssfy0hDyrMd8mzz1bCHwF+HtCnteAy3H7S4WkWdrdxzB/5LPAXtgyjs2xKZD12B/4eeABzMepZofESqzJuQUb5NuD0jTJPGxW/wW6LtyvlFcDO3cEdnYF+gRpj2Lifxkvom5BmJge60Yb7dgTrw2bs/oktoboqeATqnOso3Rg/tqMwM6WDjtxc4SFo5lEVE86gGeDo5z+wMga2mnHfKXoFqdBlEbiC0/RfaJ6kzaNcSK2qTGJHhmuk5Z+CrBVDezUBS+izoyn6wrIkCOxnmIaK0iewwMbBzooJu1YbJltGq9msFMXfHPWmRHY6PY44GbMYe8PfAP4Ltnu1wO412iXMxw4E9vdOhMTwwBs1H0i2f65H8QmkhuOF1Fnwpn7CcFRDTdmyBP2HicFR6Uoo5264Juz2vIvbIigu5lB8mqHuuJFVDveBs6rg53VdbKTGS+i2nESlU2yVsvp5ItGUnO8iDpTbZf5Akr74LJQ7eTqr8g/KV1zvIg6s6bC/ML+sD+psFylXfMO4IzgKB6NXhVXsKOnpGMlLYlfUChJ6pBtHty3SjsbSJqs5D1poZ1HlH3PXUOOZomUVm/6AmOxjQDDsbGiDmzrzgJsHfZc8ofC6wd8LbA1DNt80I4NWC7AensPUrvQft2CF1E6LZgP44oJ0B12PiLbXrTC4EXkyY13rD258SLy5KYoc2efA/bDfAHfvmanFduUWcmOlZpTFBHtis2ee6qjoSIqSnNW+KjxBabh3f+iiMjTxHgR1ZdXsG1J0YCfTU2ziOh32JLSydhuUhergOOAQ4C/1KFOi7HNla7t3nGcjK1cjIvC1pQ0i4g6sIVYlxIfqmUmcBm24s8VrbXW/BLbzLikgjJhIIrBta9O42gWEY2ltJnvmpg81wafW2O7TGuJ6Or8h1MTlSzrOA8LbhUX9URYDKal2CK3ppj+aBYRjcJ2voIt/IrGL1xKaS/9PnR9lRXYrtKzsddQ7Y+9IupyLCZ2lMexQA9XYZHOJgC7YUE/Q8K1Rz2DOk3GgmFNxMLfuARwG/YEiy6hFba1+ptYMPXhwOexDQMzHdcpFo1eRhAcx6UsiZAsNnWY/+JI2kVlaXMcZe9VKSBUi6QNy/Lvq65hfqcFaZ+StHXwvVX2wpmQCcH5zSX1c/xOpznq8cMg7fjI+Z+XldtR0mdUCoE81XGdcs502K7r0SxPIrAgDWEAzRsiaeHOh6HY6Hc5q4AfYGFdvoSFtnsSuBLbIDgbc3jLCQdhl2L+y2VY5P7tHfVagcUIuB74J/ZE6oGF67sj5rrlTeAyzNcDi2KyCAtr/ARwEZ1D8BWSooxYZ2FbrLm4CrvJz2D7xJ7CAi6AbTzsFyl3DbYduj/mCI8Kzo/A1u8cjK0POhmLxFbOEKw52SyhXiMxUYcBOg/AmqdLsb1rY1N+rw5KS0yWYkEjtgts/yilbCFopicRlHanvgv8I/h+NRZCZgPM34nyUPC5OyUBhYzGFqCtoWtQc7CA50kCAntCRiO8jg8+55G+BmlrSrthZwd13AeLQjInpWwhaDYR7UKpm3wb1lSFTupo3EEQwhhFGznS+lAaDqgmkFYcYbP7BtliJF0M/Br7/dqxPWW/xQRayThUQ2g2EW2CNWlgg31XY70usEFGV+ygMMaja5T4rbLzfR3pWXBtmX4t+OxHthAxvYHTsPhEc7EYj6ODtDPIFl2tYTSbiMDehwY2ch2G4mvFuu0udgs+76Nr83ArFn1tC8zprobpdHb012BOOMAXyBasaj3W7PXAmrMTKG1QXIet7S4szeRYh4zGnNmFlGawx2CvL3AxAeuJzcfeDfJjzGm9n1Jo4ImYb1IJ4bqnPtiY0v2Yb9SGLbIfQPZ3kp2D+U/jgU0xIU4N0jarom51pRlF1Bv4NrYTNGQS8U/V/thA3vHAv+kctqUXJqpzI2VCZzjJTwoHEydhzehFZWk7YL5M9G2PHZFPsMCk87GX5d0eyf+J4LpDEurRcJpRRGD/+cMoCWfvlPw7YWM2d2Fzb8uxZmMsXV+3CdaTuw530PWQE7ExnJHAzthTZAXmB43B/YqqI+j61GzFOgfzsLA0y4NrbItN37heu1UoirLb4zjcUec96ZxFg1eFNqNj7SkYRRFRUerRjDT83hXFJ1qHddnb8bs9KqEfpZDFDaMoPpGniWn4o9DT/HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJzf8A7VafuKusJ8IAAAAASUVORK5CYII=",import.meta.url).href;const kj=new URL(""+new URL("m4a-BFCodQZL.png",import.meta.url).href,import.meta.url).href,rM=new URL(""+new URL("hires-DgAYKrO8.png",import.meta.url).href,import.meta.url).href,wj=new URL("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iNDgiCiAgIGhlaWdodD0iNDgiCiAgIHZpZXdCb3g9IjAgMCA0OCA0OCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMSIKICAgc29kaXBvZGk6ZG9jbmFtZT0icGNtLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40IChlN2MzZmViMTAwLCAyMDI0LTEwLTA5KSIKICAgaW5rc2NhcGU6ZXhwb3J0LWZpbGVuYW1lPSIuLi9wcm9qZWN0cy9tdXNpYy1hc3Npc3RhbnQvbXVzaWMtYXNzaXN0YW50LWZyb250ZW5kL3NyYy9hc3NldHMvUENNLnBuZyIKICAgaW5rc2NhcGU6ZXhwb3J0LXhkcGk9Ijk2IgogICBpbmtzY2FwZTpleHBvcnQteWRwaT0iOTYiCiAgIHhtbG5zOmlua3NjYXBlPSJodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy9uYW1lc3BhY2VzL2lua3NjYXBlIgogICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHNvZGlwb2RpOm5hbWVkdmlldwogICAgIGlkPSJuYW1lZHZpZXcxIgogICAgIHBhZ2Vjb2xvcj0iIzAwMDAwMCIKICAgICBib3JkZXJjb2xvcj0iIzAwMDAwMCIKICAgICBib3JkZXJvcGFjaXR5PSIwLjI1IgogICAgIGlua3NjYXBlOnNob3dwYWdlc2hhZG93PSIyIgogICAgIGlua3NjYXBlOnBhZ2VvcGFjaXR5PSIwLjAiCiAgICAgaW5rc2NhcGU6cGFnZWNoZWNrZXJib2FyZD0iMCIKICAgICBpbmtzY2FwZTpkZXNrY29sb3I9IiNkMWQxZDEiCiAgICAgaW5rc2NhcGU6ZG9jdW1lbnQtdW5pdHM9InB4IgogICAgIGlua3NjYXBlOnpvb209IjgiCiAgICAgaW5rc2NhcGU6Y3g9IjEzLjYyNSIKICAgICBpbmtzY2FwZTpjeT0iMTYuODc1IgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjEzNiIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMjY5IgogICAgIGlua3NjYXBlOndpbmRvdy14PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy15PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy1tYXhpbWl6ZWQ9IjEiCiAgICAgaW5rc2NhcGU6Y3VycmVudC1sYXllcj0ibGF5ZXIxIgogICAgIHNob3dncmlkPSJmYWxzZSIgLz4KICA8ZGVmcwogICAgIGlkPSJkZWZzMSIgLz4KICA8ZwogICAgIGlua3NjYXBlOmxhYmVsPSJMYXllciAxIgogICAgIGlua3NjYXBlOmdyb3VwbW9kZT0ibGF5ZXIiCiAgICAgaWQ9ImxheWVyMSI+CiAgICA8cGF0aAogICAgICAgc3R5bGU9ImZvbnQtc2l6ZToyMi42NDg2cHg7Zm9udC1mYW1pbHk6J05vdG8gU2Fucyc7LWlua3NjYXBlLWZvbnQtc3BlY2lmaWNhdGlvbjonTm90byBTYW5zJztmaWxsOiNmZmZmZmY7c3Ryb2tlLXdpZHRoOjEuNDg5MTI7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kIgogICAgICAgZD0ibSA2LjQ3NzQ5OTUsMTUuNjM4MzQ4IHEgMy4xNzA4MDM5LDAgNC42MjAzMTQ1LDEuMjQ1NjczIDEuNDQ5NTEsMS4yNDU2NzMgMS40NDk1MSwzLjUxMDUzMyAwLDEuMzM2MjY3IC0wLjYxMTUxMiwyLjUxMzk5NSAtMC41ODg4NjQsMS4xNTUwNzggLTIuMDE1NzI1NCwxLjg3OTgzMyAtMS40MDQyMTMyLDAuNzI0NzU2IC0zLjgyNzYxMzMsMC43MjQ3NTYgSCA0LjIzNTI4ODEgdiA2LjI5NjMxIEggMi4xOTY5MTQyIHYgLTE2LjE3MTEgeiBNIDYuMjk2MzEwNywxNy4zODIyOSBIIDQuMjM1Mjg4MSB2IDYuMzg2OTA1IGggMS42MzA2OTkyIHEgMi4zMTAxNTcyLDAgMy40NDI1ODcxLC0wLjc0NzQwMyAxLjEzMjQyOTYsLTAuNzQ3NDA0IDEuMTMyNDI5NiwtMi41MzY2NDQgMCwtMS41NjI3NTMgLTAuOTk2NTM4LC0yLjMzMjgwNSBRIDguNDQ3OTI3NiwxNy4zODIyOSA2LjI5NjMxMDcsMTcuMzgyMjkgWiBNIDIyLjgyOTc3OCwxNy4yMDExMDEgcSAtMi42MDQ1ODksMCAtNC4wOTkzOTYsMS43NDM5NDMgLTEuNDk0ODA4LDEuNzQzOTQyIC0xLjQ5NDgwOCw0Ljc3ODg1NCAwLDMuMDEyMjY0IDEuMzgxNTY1LDQuNzc4ODU1IDEuNDA0MjEzLDEuNzQzOTQyIDQuMTg5OTkxLDEuNzQzOTQyIDEuMDY0NDg0LDAgMi4wMTU3MjUsLTAuMTgxMTg5IDAuOTUxMjQxLC0wLjE4MTE4OSAxLjg1NzE4NSwtMC40NTI5NzIgdiAxLjc2NjU5MSBxIC0wLjkwNTk0NCwwLjMzOTcyOSAtMS44Nzk4MzQsMC40OTgyNjkgLTAuOTUxMjQxLDAuMTU4NTQgLTIuMjg3NTA4LDAuMTU4NTQgLTIuNDY4Njk4LDAgLTQuMTIyMDQ1LC0xLjAxOTE4NyAtMS42NTMzNDgsLTEuMDE5MTg3IC0yLjQ5MTM0NiwtMi44OTkwMiAtMC44MTUzNSwtMS44Nzk4MzQgLTAuODE1MzUsLTQuNDE2NDc3IDAsLTIuNDQ2MDQ5IDAuODgzMjk2LC00LjMwMzIzNCAwLjkwNTk0NCwtMS44Nzk4MzQgMi42NDk4ODYsLTIuOTIxNjcgMS43NDM5NDIsLTEuMDY0NDg0IDQuMjM1Mjg4LC0xLjA2NDQ4NCAyLjU1OTI5MiwwIDQuNDYxNzc0LDAuOTUxMjQxIGwgLTAuODE1MzUsMS43MjEyOTQgUSAyNS43NTE0NDgsMTcuNzQ0NjY4IDI0LjgyMjg1NSwxNy40NzI4ODUgMjMuOTE2OTExLDE3LjIwMTEwMSAyMi44Mjk3NzgsMTcuMjAxMTAxIFogTSAzNy4zNDc1MzEsMzEuODA5NDQ4IDMyLjAyNTExLDE3LjYzMTQyNSBoIC0wLjA5MDU5IHEgMC4wNjc5NCwwLjcwMjEwNiAwLjExMzI0MywxLjkwMjQ4MiAwLjA0NTMsMS4xNzc3MjcgMC4wNDUzLDIuNDY4Njk4IHYgOS44MDY4NDMgaCAtMS44Nzk4MzQgdiAtMTYuMTcxMSBoIDMuMDEyMjY0IGwgNC45ODI2OTIsMTMuMjQ5NDMxIGggMC4wOTA1OSBsIDUuMDczMjg2LC0xMy4yNDk0MzEgaCAyLjk4OTYxNiB2IDE2LjE3MTEgaCAtMi4wMTU3MjYgdiAtOS45NDI3MzUgcSAwLC0xLjE3NzcyNyAwLjA0NTMsLTIuMzMyODA2IDAuMDY3OTUsLTEuMTU1MDc4IDAuMTEzMjQzLC0xLjg3OTgzNCBoIC0wLjA5MDU5IGwgLTUuMzkwMzY3LDE0LjE1NTM3NSB6IgogICAgICAgaWQ9InRleHQyIgogICAgICAgdHJhbnNmb3JtPSJzY2FsZSgwLjk4ODQ5NTIsMS4wMTE2Mzg3KSIKICAgICAgIGFyaWEtbGFiZWw9IlBDTSIgLz4KICA8L2c+Cjwvc3ZnPgo=",import.meta.url).href,Sj=new URL(""+new URL("cover_dark-DW8aYTk2.png",import.meta.url).href,import.meta.url).href,Aj=new URL(""+new URL("cover_light-Dxw-EaOr.png",import.meta.url).href,import.meta.url).href,zj=new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20xml:space='preserve'%3e%3cdefs%3e%3c/defs%3e%3cg%20style='stroke:%20none;%20stroke-width:%200;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20none;%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='translate(1.4065934065934016%201.4065934065934016)%20scale(2.81%202.81)'%3e%3cpath%20d='M%2073.538%2035.162%20l%20-52.548%201.952%20c%20-1.739%200%20-2.753%200.651%20-3.232%202.323%20L%206.85%2076.754%20c%20-0.451%201.586%20-2.613%202.328%20-4.117%202.328%20h%200%20C%201.23%2079.082%200%2077.852%200%2076.349%20l%200%20-10.458%20V%2023.046%20v%20-2.047%20v%20-6.273%20c%200%20-2.103%201.705%20-3.808%203.808%20-3.808%20h%2027.056%20c%201.01%200%201.978%200.401%202.692%201.115%20l%207.85%207.85%20c%200.714%200.714%201.683%201.115%202.692%201.115%20H%2069.73%20c%202.103%200%203.808%201.705%203.808%203.808%20v%201.301%20C%2073.538%2026.106%2073.538%2035.162%2073.538%2035.162%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(224,173,49);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3cpath%20d='M%202.733%2079.082%20L%202.733%2079.082%20c%201.503%200%202.282%20-1.147%202.733%20-2.733%20l%2010.996%20-38.362%20c%200.479%20-1.672%202.008%20-2.824%203.748%20-2.824%20h%2067.379%20c%201.609%200%202.765%201.546%202.311%203.09%20L%2079.004%2075.279%20c%20-0.492%201.751%20-1.571%203.818%20-3.803%203.803%20C%2075.201%2079.082%202.733%2079.082%202.733%2079.082%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(255,200,67);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3c/g%3e%3c/svg%3e",import.meta.url).href,oM=Me({__name:"QualityDetailsBtn",setup(t){const e=G(()=>nt.activePlayerQueue?.current_item?.streamdetails),s=G(()=>{const y=e.value;if(!y)return null;if(y.volume_normalization_gain_correct!=null){const m=y.volume_normalization_gain_correct>0?"+":"";return Rt("volume_normalization_gain_correction",[m+y.volume_normalization_gain_correct])}return y.volume_normalization_mode==yn.MEASUREMENT_ONLY&&y.loudness!==null?y.prefer_album_loudness&&y.loudness_album!==null?Rt("loudness_measurement_album",[y.loudness_album?.toFixed(2)]):Rt("loudness_measurement",[y.loudness?.toFixed(2)]):y.volume_normalization_mode==yn.DYNAMIC?Rt("loudness_dynamic"):y.volume_normalization_mode==yn.FIXED_GAIN?Rt("loudness_fixed"):null}),a=G(()=>{if(!e.value||!e.value.dsp)return[];let y=[];for(const[m,v]of Object.entries(e.value.dsp)){let g=y.find(k=>JSON.stringify(k.dsp)===JSON.stringify(v));g?g.players.push(m):y.push({dsp:v,player_id:m,players:[m]})}return y}),n=st({}),r=function(y){return[Xt.PCM_S16LE,Xt.PCM_S24LE,Xt.PCM_S32LE,Xt.PCM_F32LE,Xt.PCM_F64LE].includes(y)},o=function(y){return y==Xt.AAC?gj:y==Xt.FLAC?hj:y==Xt.MP3||y==Xt.MPEG?d0:y==Xt.OGG?yj:y==Xt.M4A?kj:r(y)?wj:null},u=G(()=>{if(!e.value)return Nl;let y=o(e.value.audio_format.codec_type);return y===null&&(y=o(e.value.audio_format.content_type)),y===null&&(y=Nl),y});let l;(y=>{y[y.LOW=0]="LOW",y[y.GOOD=1]="GOOD",y[y.HIRES=3]="HIRES"})(l||(l={}));const d=function(y){return[Xt.DSF,Xt.FLAC,Xt.AIFF,Xt.WAV,Xt.ALAC,Xt.WAVPACK,Xt.TAK,Xt.APE,Xt.TRUEHD,Xt.DSD_LSBF,Xt.DSD_MSBF,Xt.DSD_LSBF_PLANAR,Xt.DSD_MSBF_PLANAR,Xt.RA_144].includes(y)},c=G(()=>{const y=e.value;if(!y)return 0;let m=y.audio_format.content_type;return y.audio_format.codec_type!==Xt.UNKNOWN&&(m=y.audio_format.codec_type),y.audio_format.bit_depth>16||y.audio_format.sample_rate>48e3?3:d(m)?1:0}),b=G(()=>{const y={};if(!e.value?.dsp)return y;for(const[m,v]of Object.entries(e.value.dsp)){let g=1;v.output_format&&(v.output_format.bit_depth>16||v.output_format.sample_rate>48e3)&&(g=3),v.output_format&&v.output_format.content_type==Xt.MP3&&(g=0),y[m]=g}return y}),p=function(y){switch(y){case 0:return"orange";case 1:return"lightgreen";case 3:return"cyan"}},f=G(()=>{const y={};if(!e.value?.dsp)return y;const m=c.value;for(const[v,g]of Object.entries(e.value.dsp))y[v]=Math.min(b.value[v],m);return y});G(()=>Math.min(...Object.values(f.value)));const _=G(()=>Math.max(...Object.values(f.value))),h=function(y){let m=Rt("settings.dsp.types."+y.type);if(y.type===Km.PARAMETRIC_EQ){const v=y.bands.filter(g=>g.enabled).length;v===1?m+=` (${Rt("streamdetails.eq_band_count_singular")})`:m+=` (${Rt("streamdetails.eq_band_count",[v])})`}return m};return(y,m)=>e.value?(H(),ee(Hu,{key:0,location:"top center","close-on-content-click":!1,scrim:"","max-height":y.$vuetify.display.height-150},{activator:Et(({props:v})=>[e.value?(H(),ee(nP,Ct({key:0,disabled:!W(nt).activePlayerQueue||!W(nt).activePlayerQueue?.active||W(nt).activePlayerQueue?.items==0,class:"mediadetails-content-type-btn",label:"",ripple:!1},v),{default:Et(()=>[q("div",{class:"quality-tier-dot",style:Nt({backgroundColor:p(_.value)})},null,4),_.value==0?(H(),J("div",PP,"LQ")):_.value==1?(H(),J("div",jP,"HQ")):_.value==3?(H(),J("div",EP,"HR")):Dt("",!0)]),_:1},16,["disabled"])):Dt("",!0)]),default:Et(()=>[B(wo,{class:"mx-auto",width:Math.min(y.$vuetify.display.width-25,380)},{default:Et(()=>[B(Fu,{style:{overflow:"hidden"}},{default:Et(()=>[q("div",CP,[a.value.length>=2?(H(),J("div",MP,[m[0]||(m[0]=q("div",{class:"line-space-halve"},null,-1)),m[1]||(m[1]=q("div",{class:"line-space"},null,-1)),m[2]||(m[2]=q("div",{class:"line-space"},null,-1)),m[3]||(m[3]=q("div",{class:"line-space"},null,-1)),m[4]||(m[4]=q("div",{class:"line-branch-start-left"},null,-1)),(H(!0),J(pt,null,ii(a.value,({dsp:v,player_id:g,players:k},w)=>(H(),J(pt,{key:w},[w==a.value.length-1?(H(),J("div",xP)):w>0?(H(),J("div",IP)):Dt("",!0),w!=a.value.length-1?(H(),J(pt,{key:2},[v.input_gain&&v.input_gain!=0?(H(),J("div",DP)):Dt("",!0),v.state==W(qr).DISABLED_BY_UNSUPPORTED_GROUP?(H(),J("div",LP)):(H(!0),J(pt,{key:2},ii(v.filters,(A,z)=>(H(),J("div",{key:z,class:"line-straight"}))),128)),v.output_gain&&v.output_gain!=0?(H(),J("div",RP)):Dt("",!0),v.output_limiter?(H(),J("div",OP)):Dt("",!0),e.value.dsp&&e.value.dsp[g].output_format?(H(),J("div",NP)):Dt("",!0),g in n.value&&n.value[g]?(H(!0),J(pt,{key:6},ii(k,(A,z)=>(H(),J("div",{key:z,class:"line-straight"}))),128)):(H(),J("div",BP))],64)):Dt("",!0)],64))),128))])):Dt("",!0),q("div",null,[m[5]||(m[5]=q("div",{class:"line-space-halve"},null,-1)),m[6]||(m[6]=q("div",{class:"line-start"},null,-1)),m[7]||(m[7]=q("div",{class:"line-straight"},null,-1)),m[8]||(m[8]=q("div",{class:"line-with-dot"},null,-1)),a.value.length>=2?(H(),J("div",FP)):(H(),J("div",GP)),(H(!0),J(pt,null,ii(a.value,({dsp:v,player_id:g,players:k},w)=>(H(),J(pt,{key:w},[w>0?(H(),J("div",UP)):Dt("",!0),v.input_gain&&v.input_gain!=0?(H(),J("div",qP)):Dt("",!0),v.state==W(qr).DISABLED_BY_UNSUPPORTED_GROUP?(H(),J("div",VP)):(H(!0),J(pt,{key:3},ii(v.filters,(A,z)=>(H(),J("div",{key:z,class:"line-with-dot"}))),128)),v.output_gain&&v.output_gain!=0?(H(),J("div",HP)):Dt("",!0),v.output_limiter?(H(),J("div",WP)):Dt("",!0),e.value.dsp&&e.value.dsp[g].output_format?(H(),J("div",KP)):Dt("",!0),g in n.value&&n.value[g]?(H(!0),J(pt,{key:7},ii(k,(A,z)=>(H(),J(pt,{key:z},[z===k.length-1?(H(),J("div",$P)):(H(),J("div",YP))],64))),128)):(H(),J("div",XP))],64))),128))]),q("div",ZP,[q("div",QP,[m[9]||(m[9]=q("div",{class:"streamdetails-separator",style:{width:"40px","margin-right":"10px"}},null,-1)),q("div",{class:"quality-tier-dot",style:Nt({backgroundColor:p(c.value)})},null,4),Mt(" "+jt(W(Rt)("streamdetails.input_header"))+" ",1),m[10]||(m[10]=q("div",{class:"streamdetails-separator flex-fill",style:{"margin-left":"10px"}},null,-1))]),q("div",JP,[B(Ol,{domain:e.value.provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),Mt(" "+jt(W(Y).providerManifests[e.value.provider]?.name||W(Y).providers[e.value.provider]?.name),1)]),q("div",tj,[q("img",{class:"streamdetails-icon invert-on-light-mode",src:u.value},null,8,ej),Mt(" "+jt(e.value.audio_format.sample_rate/1e3)+" kHz / "+jt(e.value.audio_format.bit_depth)+" bits ",1),B(ha,{location:"top","open-on-click":!0,"max-width":"300"},{activator:Et(({props:v})=>[B(te,Ct({class:"ml-2",size:"small"},v),{default:Et(()=>[...m[11]||(m[11]=[Mt("mdi-information",-1)])]),_:1},16)]),default:Et(()=>[Mt(" "+jt(W(Rt)("streamdetails.file_info.container",[e.value.audio_format.content_type]))+" ",1),m[13]||(m[13]=q("br",null,null,-1)),Mt(" "+jt(W(Rt)("streamdetails.file_info.codec",[e.value.audio_format.codec_type]))+" ",1),m[14]||(m[14]=q("br",null,null,-1)),Mt(" "+jt(W(Rt)("streamdetails.file_info.bit_depth",[e.value.audio_format.bit_depth]))+" ",1),m[15]||(m[15]=q("br",null,null,-1)),Mt(" "+jt(W(Rt)("streamdetails.file_info.sample_rate",[(e.value.audio_format.sample_rate/1e3).toFixed(1)]))+" ",1),m[16]||(m[16]=q("br",null,null,-1)),Mt(" "+jt(W(Rt)("streamdetails.file_info.channels",[e.value.audio_format.channels]))+" ",1),e.value.audio_format.bit_rate?(H(),J("span",ij,[m[12]||(m[12]=q("br",null,null,-1)),Mt(" "+jt(W(Rt)("streamdetails.file_info.bit_rate",[e.value.audio_format.bit_rate.toFixed(0)])),1)])):Dt("",!0),m[17]||(m[17]=q("br",null,null,-1)),m[18]||(m[18]=q("br",null,null,-1)),Mt(" "+jt(W(Rt)("streamdetails.file_info.processing_notice")),1)]),_:1})]),s.value?(H(),J("div",sj,[m[26]||(m[26]=q("img",{class:"streamdetails-icon invert-on-light-mode",src:hP},null,-1)),Mt(" "+jt(s.value)+" ",1),B(ha,{location:"top","open-on-click":!0,"max-width":"350"},{activator:Et(({props:v})=>[B(te,Ct({class:"ml-2",size:"small"},v),{default:Et(()=>[...m[19]||(m[19]=[Mt("mdi-information",-1)])]),_:1},16)]),default:Et(()=>[e.value.volume_normalization_mode==W(yn).MEASUREMENT_ONLY&&e.value.prefer_album_loudness&&e.value.loudness_album!=null?(H(),J("span",aj,jt(W(Rt)("streamdetails.volume_normalization.mode.measurement_album")),1)):(H(),J("span",nj,jt(W(Rt)(`streamdetails.volume_normalization.mode.${e.value.volume_normalization_mode}`)),1)),m[23]||(m[23]=q("br",null,null,-1)),m[24]||(m[24]=q("br",null,null,-1)),Mt(" "+jt(W(Rt)("streamdetails.volume_normalization.target_level",[e.value.target_loudness]))+" ",1),m[25]||(m[25]=q("br",null,null,-1)),e.value.loudness!=null?(H(),J("span",rj,[Mt(jt(W(Rt)("streamdetails.volume_normalization.integrated_loudness",[e.value.loudness]))+" ",1),m[20]||(m[20]=q("br",null,null,-1))])):Dt("",!0),e.value.loudness_album!=null?(H(),J("span",oj,[Mt(jt(W(Rt)("streamdetails.volume_normalization.integrated_album_loudness",[e.value.loudness_album]))+" ",1),m[21]||(m[21]=q("br",null,null,-1))])):Dt("",!0),e.value.volume_normalization_gain_correct!=null?(H(),J("span",lj,[Mt(jt(W(Rt)("streamdetails.volume_normalization.applied_gain_correction",[e.value.volume_normalization_gain_correct]))+" ",1),m[22]||(m[22]=q("br",null,null,-1))])):Dt("",!0)]),_:1})])):Dt("",!0),(H(!0),J(pt,null,ii(a.value,({dsp:v,player_id:g,players:k},w)=>(H(),J(pt,{key:w},[q("div",uj,[m[27]||(m[27]=q("div",{class:"streamdetails-separator",style:{width:"40px","margin-right":"10px"}},null,-1)),q("div",{class:"quality-tier-dot",style:Nt({backgroundColor:p(f.value[g])})},null,4),Mt(" "+jt(W(Rt)("streamdetails.output_header"))+" ",1),m[28]||(m[28]=q("div",{class:"streamdetails-separator flex-fill",style:{"margin-left":"10px"}},null,-1))]),v.input_gain&&v.input_gain!=0?(H(),J("div",dj,[m[29]||(m[29]=q("img",{class:"streamdetails-icon invert-on-dark-mode",src:Rr},null,-1)),Mt(" "+jt(W(Rt)("streamdetails.input_gain",[v.input_gain.toFixed(1)])),1)])):Dt("",!0),v.state==W(qr).DISABLED_BY_UNSUPPORTED_GROUP?(H(),J("div",cj,[m[31]||(m[31]=q("img",{class:"streamdetails-icon invert-on-dark-mode",src:yP},null,-1)),Mt(" "+jt(W(Rt)("streamdetails.dsp_unsupported"))+" ",1),B(ha,{location:"top","open-on-click":!0,"max-width":"300"},{activator:Et(({props:A})=>[B(te,Ct({class:"ml-2",size:"small"},{ref_for:!0},A),{default:Et(()=>[...m[30]||(m[30]=[Mt("mdi-information",-1)])]),_:1},16)]),default:Et(()=>[Mt(" "+jt(W(Rt)("streamdetails.dsp_disabled_by_unsupported_group")),1)]),_:1})])):(H(!0),J(pt,{key:2},ii(v.filters,(A,z)=>(H(),J("div",{key:z,class:"streamdetails-item"},[m[32]||(m[32]=q("img",{class:"streamdetails-icon invert-on-dark-mode",src:Rr},null,-1)),Mt(" "+jt(h(A)),1)]))),128)),v.output_gain&&v.output_gain!=0?(H(),J("div",bj,[m[33]||(m[33]=q("img",{class:"streamdetails-icon invert-on-dark-mode",src:Rr},null,-1)),Mt(" "+jt(W(Rt)("streamdetails.output_gain",[v.input_gain.toFixed(1)])),1)])):Dt("",!0),v.output_limiter?(H(),J("div",pj,[m[35]||(m[35]=q("img",{class:"streamdetails-icon invert-on-dark-mode",src:Rr},null,-1)),Mt(" "+jt(W(Rt)("streamdetails.output_limiter"))+" ",1),B(ha,{location:"top","open-on-click":!0,"max-width":"300"},{activator:Et(({props:A})=>[B(te,Ct({class:"ml-2",size:"small"},{ref_for:!0},A),{default:Et(()=>[...m[34]||(m[34]=[Mt("mdi-information",-1)])]),_:1},16)]),default:Et(()=>[Mt(" "+jt(W(Rt)("streamdetails.output_limiter_info")),1)]),_:1})])):Dt("",!0),e.value.dsp&&e.value.dsp[g].output_format?(H(),J("div",mj,[q("img",{class:"streamdetails-icon invert-on-light-mode",src:o(e.value.dsp[g].output_format.content_type)||W(Nl)},null,8,fj),Mt(" "+jt(e.value.dsp[g].output_format.sample_rate/1e3)+" kHz / "+jt(e.value.dsp[g].output_format.bit_depth)+" bits ",1),B(ha,{location:"top","open-on-click":!0,"max-width":"300"},{activator:Et(({props:A})=>[B(te,Ct({class:"ml-2",size:"small"},{ref_for:!0},A),{default:Et(()=>[...m[36]||(m[36]=[Mt("mdi-information",-1)])]),_:1},16)]),default:Et(()=>[r(e.value.dsp[g].output_format.content_type)?(H(),J(pt,{key:0},[Mt(jt(W(Rt)("streamdetails.output_format_pcm_info")),1)],64)):(H(),J(pt,{key:1},[Mt(jt(W(Rt)("streamdetails.output_format_info",[e.value.dsp[g].output_format.content_type.toUpperCase()])),1)],64))]),_:2},1024)])):Dt("",!0),g in n.value&&n.value[g]?(H(!0),J(pt,{key:6},ii(k,(A,z)=>(H(),J("div",{key:z,class:"streamdetails-item",onClick:S=>n.value[g]=!1},[W(Y).players[A]?(H(),J(pt,{key:0},[B(Ol,{domain:W(Y).players[A].provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),Mt(" "+jt(W(Y).players[A].name),1)],64)):(H(),J(pt,{key:1},[B(te,{class:"streamdetails-icon"},{default:Et(()=>[...m[37]||(m[37]=[Mt("mdi-alert-circle-outline",-1)])]),_:1}),m[38]||(m[38]=Mt(" Player not found ",-1))],64))],8,vj))),128)):(H(),J("div",{key:7,class:"streamdetails-item",onClick:A=>n.value[g]=!0},[W(Y).players[g]?(H(),J(pt,{key:0},[B(Ol,{domain:W(Y).players[g].provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),k.length==1?(H(),J(pt,{key:0},[Mt(jt(W(Y).players[g].name),1)],64)):(H(),J(pt,{key:1},[Mt(jt(W(Y).players[g].name)+" + "+jt(k.length-1)+" ",1),B(ha,{location:"top","max-width":"300"},{activator:Et(({props:A})=>[B(te,Ct({class:"ml-2",size:"small"},{ref_for:!0},A),{default:Et(()=>[...m[39]||(m[39]=[Mt("mdi-information",-1)])]),_:1},16)]),default:Et(()=>[Mt(" "+jt(W(Rt)("streamdetails.click_to_expand")),1)]),_:1})],64))],64)):(H(),J(pt,{key:1},[B(te,{class:"streamdetails-icon"},{default:Et(()=>[...m[40]||(m[40]=[Mt("mdi-alert-circle-outline",-1)])]),_:1}),m[41]||(m[41]=Mt(" Player not found ",-1))],64))],8,_j))],64))),128))])])]),_:1})]),_:1},8,["width"])]),_:1},8,["max-height"])):Dt("",!0)}}),Tj=function(t,e=!1,s=256){return e?`https://ui-avatars.com/api/?name=${t}&size=${s||256}&bold=true&background=1d1d1d&color=383838`:`https://ui-avatars.com/api/?name=${t}&size=${s||256}&bold=true&background=a0a0a0&color=cccccc`},Sn=function(t,e=Zi.THUMB){if(t){if("media_item"in t&&t.media_item){if("streamdetails"in t.media_item&&t.streamdetails?.stream_metadata?.image_url)return{type:Zi.THUMB,path:t.streamdetails.stream_metadata.image_url,provider:"builtin",remotely_accessible:!0};const s=Sn(t.media_item);if(s)return s}if("image"in t&&t.image&&t.image.type==e&&c0(t.image.provider))return t.image;if("album"in t&&t.album){const s=Sn(t.album,e);if(s)return s}if("metadata"in t&&t.metadata.images){for(const s of t.metadata.images)if(s.type==e&&c0(s.provider))return s}if("artists"in t&&t.artists)for(const s of t.artists){const a=Sn(s,e);if(a)return a}if(e==Zi.THUMB)return Sn(t,Zi.LANDSCAPE)}},Pj=function(t,e,s){if(s||(s=""),!t||!t.path)return"";if(t.path.startsWith("data:image"))return t.path;if(!t.remotely_accessible||e||t.path.split("//")[0]!=window.location.protocol){const a=encodeURIComponent(encodeURIComponent(t.path));let n=`${Y.baseUrl}/imageproxy?path=${a}&provider=${t.provider}&checksum=${s}`;return e?n+`&size=${e}`:n}return t.path},Kr=function(t,e=Zi.THUMB,s){if(!t)return;const a=Sn(t,e);if(!a||!a.path)return;const n="metadata"in t?t.metadata?.cache_checksum:"";return Pj(a,s,n)},c0=function(t){return t==="http"||t==="builtin"?!0:Y.getProvider(t)?.available===!0},lM=Me({__name:"MediaItemThumb",props:{item:{default:void 0},size:{default:"100%"},fallback:{default:void 0},rounded:{type:Boolean,default:!0},thumbnail:{type:Boolean,default:!0}},setup(t){const e=t,s=Jd();function a(){return typeof e.size=="number"?e.size:e.thumbnail?256:0}const n=a();function r(){return e.fallback?e.fallback:e.item&&"media_type"in e.item&&e.item.media_type==ht.FOLDER?zj:!e.item||!e.item.name?"":Tj(e.item.name,s.current.value.dark,n||256)}const o=r(),u=G(()=>e.item&&Kr(e.item,Zi.THUMB,n)||o);return(l,d)=>(H(),ee(Zn,{loading:"lazy",height:t.size||"100%",width:t.size||"100%","aspect-ratio":"1",src:u.value,class:St({rounded:t.rounded}),contain:"","lazy-src":W(s).current.value.dark?W(Sj):W(Aj)},null,8,["height","width","src","class","lazy-src"]))}});function jj(t){let e,s;if(t.media_item?.media_type===ht.TRACK){const n=t.media_item;e=n.artists.map(r=>r.name).join(", "),s=n.album?.name}const a=[{src:Kr(t,Zi.THUMB,128)||"",sizes:"128x128"},{src:Kr(t,Zi.THUMB,256)||"",sizes:"256x256"},{src:Kr(t,Zi.THUMB,512)||"",sizes:"512x512"}];return new MediaMetadata({title:t.media_item.name,artist:e,album:s,artwork:a})}function L3(t){let e;t===void 0?e=G(()=>{if(nt.activePlayerId&&nt.activePlayerId in Y.players)return Y.players[nt.activePlayerId]}):e=G(()=>{if(t in Y.players)return Y.players[t]});const s=G(()=>{if(e.value?.active_source&&e.value.active_source in Y.queues)return Y.queues[e.value.active_source];if(e.value&&!e.value.active_source&&e.value.player_id in Y.queues&&Y.queues[e.value.player_id].active)return Y.queues[e.value.player_id]}),a=G(()=>{if(s.value&&s.value.active)return s.value.current_item});let n;const r=At(()=>a.value,u=>{if(!u||!u.media_item||u.media_item.uri===n)return;const l=jj(u);n=u.media_item.uri,navigator.mediaSession.metadata=l},{immediate:!0}),o=At(()=>[s.value?.elapsed_time,s.value?.current_item?.duration],()=>{if(!s.value?.active||nt.activePlayerQueue?.current_item?.media_item?.media_type!==ht.TRACK){navigator.mediaSession.setPositionState();return}const u=s.value?.current_item?.duration||1,l=Math.min(u,s.value?.elapsed_time!=null?s.value?.elapsed_time:0);navigator.mediaSession.setPositionState({duration:u,playbackRate:1,position:l})},{immediate:!0});return()=>{r(),o()}}const Ej=Me({__name:"BuiltinPlayer",props:{playerId:{}},setup(t){const e=t,s=st();let a=st();const n=Y.subscribe(Ie.BUILTIN_PLAYER,async l=>{if(!s.value||!l.data)return;const d=l.data;d.type===Ci.PAUSE?(s.value.pause(),a.value=!1):d.type===Ci.MUTE?s.value.muted=!0:d.type===Ci.UNMUTE?s.value.muted=!1:d.type===Ci.PLAY?(await s.value.play(),a.value=!0):d.type===Ci.SET_VOLUME?s.value.volume=d.volume/100:d.type===Ci.PLAY_MEDIA?(s.value.src="",s.value.src=`${Ot.baseUrl}/${d.media_url}`,await s.value.play(),a.value=!0):d.type===Ci.STOP?(s.value.pause(),s.value.currentTime=0,s.value.src="",a.value=!1):d.type===Ci.POWER_ON?Ot.audioSource=ci.BUILTIN:d.type===Ci.POWER_OFF?Ot.audioSource=ci.CONTROLS_ONLY:d.type===Ci.TIMEOUT&&Ot.setTabMode(ci.CONTROLS_ONLY,!0)},e.playerId);Ge(n);let r;const o=async function(){const l=e.playerId;if(!s.value||!l)return;if(Ot.timedOutDueToThrottling()){Ot.setTabMode(ci.CONTROLS_ONLY,!0);return}let d;Ot.audioSource===ci.BUILTIN?a.value?d=await Y.updateBuiltinPlayerState(l,{powered:!0,playing:!s.value.paused,paused:s.value.paused&&!s.value.ended,muted:s.value.muted,volume:Math.round(s.value.volume*100),position:s.value.currentTime}):d=await Y.updateBuiltinPlayerState(l,{powered:!0,playing:!1,paused:!1,muted:s.value.muted,volume:Math.round(s.value.volume*100),position:0}):d=await Y.updateBuiltinPlayerState(e.playerId,{powered:!1,playing:!1,paused:!1,muted:!1,volume:0,position:0}),d?Ot.lastUpdate=Date.now():Ot.setTabMode(ci.CONTROLS_ONLY,!0)};At(()=>[a.value,Ot.audioSource],async()=>{if(!e.playerId)return;let d;Ot.audioSource!==ci.BUILTIN?d=6e4:a.value?d=5e3:d=3e4,r&&clearInterval(r),r=setInterval(async()=>{await o()},d),await o()},{immediate:!0});let u;return At(()=>Ot.audioSource,l=>{u&&u(),u=void 0,l===ci.BUILTIN&&(u=L3(e.playerId))}),Ge(()=>{r&&clearInterval(r),u&&u()}),Xe(()=>{navigator.mediaSession.setActionHandler("play",()=>{e.playerId&&Y.playerCommandPlay(e.playerId)}),navigator.mediaSession.setActionHandler("pause",()=>{e.playerId&&(s.value&&s.value.pause(),Y.playerCommandPause(e.playerId))}),navigator.mediaSession.setActionHandler("nexttrack",()=>{e.playerId&&Y.playerCommandNext(e.playerId)}),navigator.mediaSession.setActionHandler("previoustrack",()=>{e.playerId&&Y.playerCommandPrevious(e.playerId)}),s.value&&s.value.addEventListener("error",()=>{a.value=!1})}),(l,d)=>(H(),J("audio",{ref_key:"audioRef",ref:s,controls:"",class:"builtin-player"},null,512))}}),Cj=""+new URL("almost_silent-BMvfGi7_.mp3",import.meta.url).href,Mj=["src"],xj=Me({__name:"PlayerBrowserMediaControls",setup(t){const e=st();function s(d){const c=nt.activePlayer;if(c)return d(c?.player_id)}let a;function n(d){if(!d||!e.value)return;let c;switch(a&&clearInterval(a),a=void 0,d){case Oa.PLAYING:e.value.play(),c=d,a=setInterval(()=>{e.value&&(e.value.currentTime=2)},55e3);break;case Oa.PAUSED:e.value.pause(),e.value.currentTime=2,c=d;break;default:e.value.pause(),e.value.currentTime=2,c="none"}navigator.mediaSession.playbackState=c}At(()=>nt.activePlayer?.playback_state,d=>n(d)),At(()=>e.value,()=>{n(Oa.PLAYING),setTimeout(()=>{e.value&&(e.value.currentTime=0),n(nt.activePlayer?.playback_state)},100)},{once:!0}),n(nt.activePlayer?.playback_state);let r,o;const u=function(){clearTimeout(o),o=setTimeout(()=>{r=void 0,o=void 0},2e3)};L3();const l=function(d,c){let b=null;if(d.action==="seekto"&&d.seekTime)b=d.seekTime;else if(d.action==="seekforward"||d.action==="seekbackward"){const p=d.seekOffset||10,f=r??nt.activePlayerQueue?.elapsed_time;if(f==null)return;d.action==="seekbackward"?b=f-p:b=f+p}else return;b=Math.round(b),r=b,u(),d.fastSeek||Y.playerCommandSeek(c,b)};return Xe(()=>{navigator.mediaSession.setActionHandler("play",()=>{s(Y.playerCommandPlay.bind(Y))}),navigator.mediaSession.setActionHandler("pause",()=>{setTimeout(()=>{s(Y.playerCommandPause.bind(Y))},250)}),navigator.mediaSession.setActionHandler("nexttrack",()=>{s(Y.playerCommandNext.bind(Y))}),navigator.mediaSession.setActionHandler("previoustrack",()=>{s(Y.playerCommandPrevious.bind(Y))}),navigator.mediaSession.setActionHandler("seekto",d=>{s(c=>l(d,c))}),navigator.userAgent.match(/(iPhone|iPod|iPad|Mac)/i)||(navigator.mediaSession.setActionHandler("seekforward",d=>{s(c=>l(d,c))}),navigator.mediaSession.setActionHandler("seekbackward",d=>{s(c=>l(d,c))}))}),(d,c)=>(H(),J("audio",{ref_key:"audioRef",ref:e,controls:"",src:W(Cj),loop:"",class:"audio-control"},null,8,Mj))}}),Ij=Me({__name:"App",setup(t){const e=Jd(),s=Hy(),a=function(){const o=localStorage.getItem("frontend.settings.theme")||"auto";o=="dark"?e.global.name.value="dark":o=="light"?e.global.name.value="light":window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?e.global.name.value="dark":e.global.name.value="light"},n=function(){Ot.setInteracted(),window.removeEventListener("click",n)},r=function(){const o=navigator.userAgent;let u="Browser",l="Unknown OS";return o.includes("Firefox/")?u="Firefox":o.includes("Edg/")?u="Edge":o.includes("Chrome/")?u="Chrome":o.includes("Safari/")&&!o.includes("Chrome/")&&(u="Safari"),o.includes("Windows")?l="Windows":o.includes("Mac OS X")?l="macOS":o.includes("Linux")?l="Linux":o.includes("Android")?l="Android":(o.includes("iOS")||o.includes("iPhone")||o.includes("iPad"))&&(l="iOS"),`Music Assistant Web (${u} on ${l})`};return Xe(async()=>{nt.isInStandaloneMode=window.navigator.standalone||!1;const o=localStorage.getItem("frontend.settings.language")||"auto";o!=="auto"&&(qd.global.locale.value=o);const u=localStorage.getItem("frontend.settings.enable_builtin_player")!="false",l=localStorage.getItem("frontend.settings.force_mobile_layout")=="true";nt.forceMobileLayout=l,a(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",a);let d="";{const y=window.location;d=y.origin+y.pathname}const{authManager:c}=await Ft(async()=>{const{authManager:y}=await Promise.resolve().then(()=>zf);return{authManager:y}},void 0,import.meta.url);c.setBaseUrl(d);const b=new URLSearchParams(window.location.search),p=b.get("code"),f=b.get("onboard");let _=!1;if(f==="true"&&(nt.isOnboarding=!0),p){console.debug("Code received from login, storing and cleaning URL"),c.setToken(p),_=!0,b.delete("code");const y=window.location.pathname+(b.toString()?"?"+b.toString():"")+window.location.hash;window.history.replaceState({},"",y)}const h=c.getToken();nt.connected=!1,Y.subscribe(Ie.CONNECTED,async()=>{const y=Y.serverInfo.value;if(!y){console.error("No server info received from WebSocket");return}if(nt.serverInfo=y,!y.onboard_done){console.info("Onboarding not done, redirecting to server setup");const v=encodeURIComponent(window.location.href),g=encodeURIComponent(r()),k=d.endsWith("/")?d.slice(0,-1):d;window.location.href=`${k}/setup?return_url=${v}&device_name=${g}`;return}nt.isAuthenticated=!0;let m=c.getCurrentUser();if(!m){const v=localStorage.getItem("ma_current_user");if(v)try{m=JSON.parse(v),m&&c.setCurrentUser(m)}catch(g){console.error("Failed to parse stored user",g)}}m&&(nt.currentUser=m),nt.libraryArtistsCount=await Y.getLibraryArtistsCount(),nt.libraryAlbumsCount=await Y.getLibraryAlbumsCount(),nt.libraryPlaylistsCount=await Y.getLibraryPlaylistsCount(),nt.libraryRadiosCount=await Y.getLibraryRadiosCount(),nt.libraryTracksCount=await Y.getLibraryTracksCount(),nt.connected=!0,console.debug("Checking onboarding redirect, store.isOnboarding:",nt.isOnboarding),nt.isOnboarding&&(console.debug("Redirecting to providers page for onboarding"),await Ce(),s.replace("/settings/providers")),u&&Y.getProvider("builtin_player")?Ot.setMode(ci.BUILTIN):Ot.setMode(ci.CONTROLS_ONLY)}),Y.subscribe(Ie.DISCONNECTED,()=>{nt.connected=!1}),Y.initialize(d,h,_),Ot.setBaseUrl(d),window.addEventListener("click",n)}),(o,u)=>{const l=Jv("router-view");return H(),J(pt,null,[B(W(lP),{position:"bottom-right"}),W(nt).connected?(H(),ee(l,{key:0})):(H(),ee(sc,{key:1,indeterminate:"",color:"primary"})),W(Ot).audioSource===W(ci).CONTROLS_ONLY&&W(Ot).interacted==!0?(H(),ee(xj,{key:2})):Dt("",!0),W(Ot).tabMode===W(ci).BUILTIN&&W(Ot).player_id?(H(),ee(Ej,{key:3,"player-id":W(Ot).player_id},null,8,["player-id"])):Dt("",!0)],64)}}}),Dj={component:t=>oe($S,{...t,class:"material-icons"})},Lj={...g2},Rj=k3({icons:{defaultSet:"mdi",aliases:Lj,sets:{md:Dj,mdi:h2}},display:{mobileBreakpoint:"md",thresholds:{xs:0,sm:340,md:540,lg:800,xl:1280}},theme:{defaultTheme:"dark",themes:{light:{dark:!1,colors:{fg:"#000000",background:"#f5f5f5",overlay:"#e7e7e7ff",panel:"#ffffff",default:"#ffffff",primary:"#03a9f4"}},dark:{dark:!0,colors:{fg:"#ffffff",background:"#181818",overlay:"#181818",panel:"#232323",default:"#000000",primary:"#03a9f4"}}}}}),Oj={install:(t,e)=>{const s=e?.holdDuration||500,a=e?.swipeThreshold||50,n=e?.doubleTapThreshold||300,r=e?.holdThreshold||10,o="touchstart",u="touchend",l="touchmove";let d=!1;try{addEventListener("test",()=>{},{get passive(){d=!0}})}catch{}t.directive("hold",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown",f="ontouchstart"in window?"touchend":"mouseup",_="ontouchstart"in window?"touchmove":"mousemove";let h=null,y=null,m=null;const v=w=>{w.touches&&(y=w.touches[0].clientX,m=w.touches[0].clientY,h=window.setTimeout(()=>{b.value(w),h=null},s))},g=w=>{if(!y||!m||!h||!w.touches)return;const A=w.touches[0].clientX,z=w.touches[0].clientY;(Math.abs(A-y)>r||Math.abs(z-m)>r)&&(window.clearTimeout(h),h=null)},k=()=>{h&&(window.clearTimeout(h),h=null)};c.addEventListener(p,v,d?{passive:!0}:!1),c.addEventListener(f,k,d?{passive:!0}:!1),c.addEventListener(_,g,d?{passive:!0}:!1),c._hold={handleTouchStart:v,handleTouchEnd:k,handleTouchMove:g}},unmounted(c){c._hold&&(c.removeEventListener(o,c._hold.handleTouchStart),c.removeEventListener(u,c._hold.handleTouchEnd),c.removeEventListener(l,c._hold.handleTouchMove))}}),t.directive("tap",{mounted(c,b){let p=null;const f=()=>{p=Date.now()},_=()=>{p&&Date.now()-p<s&&b.value()};c.addEventListener(o,f,d?{passive:!0}:!1),c.addEventListener(u,_,d?{passive:!0}:!1),c._tap={handleTouchStart:f,handleTouchEnd:_}},unmounted(c){c._tap&&(c.removeEventListener(o,c._tap.handleTouchStart),c.removeEventListener(u,c._tap.handleTouchEnd))}}),t.directive("swipe",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown",f="ontouchstart"in window?"touchend":"mouseup";let _=null,h=null;const y=v=>{v.touches&&(_=v.touches[0].clientX,h=v.touches[0].clientY)},m=v=>{const g=v.changedTouches[0].clientX,k=v.changedTouches[0].clientY,w=g-(_||0),A=k-(h||0),z=Math.abs(w),S=Math.abs(A);let I=null;(z>a||S>a)&&(z>=S?I=w>0?"right":"left":I=A>0?"down":"up"),I&&(b.modifiers.right&&I==="right"||b.modifiers.left&&I==="left"||b.modifiers.up&&I==="up"||b.modifiers.down&&I==="down"||!b.modifiers.right&&!b.modifiers.left&&!b.modifiers.up&&!b.modifiers.down)&&b.value(I)};c.addEventListener(p,y,d?{passive:!0}:!1),c.addEventListener(f,m,d?{passive:!0}:!1),c._swipe={handleTouchStart:y,handleTouchEnd:m}},unmounted(c){c._swipe&&(c.removeEventListener(o,c._swipe.handleTouchStart),c.removeEventListener(u,c._swipe.handleTouchEnd))}}),t.directive("drag",{mounted(c,b){let p=null,f=null,_=0,h=0,y=!1;const m=k=>{k.touches&&(k.preventDefault(),p=k.touches[0].clientX,f=k.touches[0].clientY,_=c.offsetLeft,h=c.offsetTop,y=!0)},v=k=>{if(!y||!k.touches)return;const w=k.touches[0].clientX,A=k.touches[0].clientY,z=w-(p||0),S=A-(f||0);b.value({offsetX:_+z,offsetY:h+S})},g=()=>{y=!1};c.addEventListener(o,m,d?{passive:!0}:!1),c.addEventListener(l,v,d?{passive:!0}:!1),c.addEventListener(u,g,d?{passive:!0}:!1),c._drag={handleTouchStart:m,handleTouchMove:v,handleTouchEnd:g}},unmounted(c){c._drag&&(c.removeEventListener(o,c._drag.handleTouchStart),c.removeEventListener(l,c._drag.handleTouchMove),c.removeEventListener(u,c._drag.handleTouchEnd))}}),t.directive("press",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown",f=_=>{b.value(_)};c.addEventListener(p,f,d?{passive:!0}:!1),c._press={handleTouchStart:f}},unmounted(c){c._press&&c.removeEventListener(o,c._press.handleTouchStart)}}),t.directive("release",{mounted(c,b){const p="ontouchstart"in window?"touchend":"mouseup",f=_=>{b.value(_)};c.addEventListener(p,f,d?{passive:!0}:!1),c._release={handleTouchEnd:f}},unmounted(c){c._release&&c.removeEventListener(u,c._release.handleTouchEnd)}}),t.directive("doubletap",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown";let f=0;const _=h=>{const y=new Date().getTime(),m=y-f;m>0&&m<n&&b.value(h),f=y};c.addEventListener(p,_,d?{passive:!0}:!1),c._doubletap={handleTouchEnd:_}},unmounted(c){c._doubletap&&c.removeEventListener(o,c._doubletap.handleTouchEnd)}})}};function b0(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function mc(t={},e={}){const s=["__proto__","constructor","prototype"];Object.keys(e).filter(a=>s.indexOf(a)<0).forEach(a=>{typeof t[a]>"u"?t[a]=e[a]:b0(e[a])&&b0(t[a])&&Object.keys(e[a]).length>0&&mc(t[a],e[a])})}const R3={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function pa(){const t=typeof document<"u"?document:{};return mc(t,R3),t}const Nj={document:R3,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Ze(){const t=typeof window<"u"?window:{};return mc(t,Nj),t}function Bj(t=""){return t.trim().split(" ").filter(e=>!!e.trim())}function Fj(t){const e=t;Object.keys(e).forEach(s=>{try{e[s]=null}catch{}try{delete e[s]}catch{}})}function jo(t,e=0){return setTimeout(t,e)}function Ai(){return Date.now()}function Gj(t){const e=Ze();let s;return e.getComputedStyle&&(s=e.getComputedStyle(t,null)),!s&&t.currentStyle&&(s=t.currentStyle),s||(s=t.style),s}function Uj(t,e="x"){const s=Ze();let a,n,r;const o=Gj(t);return s.WebKitCSSMatrix?(n=o.transform||o.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(u=>u.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix(n==="none"?"":n)):(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=r.toString().split(",")),e==="x"&&(s.WebKitCSSMatrix?n=r.m41:a.length===16?n=parseFloat(a[12]):n=parseFloat(a[4])),e==="y"&&(s.WebKitCSSMatrix?n=r.m42:a.length===16?n=parseFloat(a[13]):n=parseFloat(a[5])),n||0}function Or(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function qj(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function bi(...t){const e=Object(t[0]),s=["__proto__","constructor","prototype"];for(let a=1;a<t.length;a+=1){const n=t[a];if(n!=null&&!qj(n)){const r=Object.keys(Object(n)).filter(o=>s.indexOf(o)<0);for(let o=0,u=r.length;o<u;o+=1){const l=r[o],d=Object.getOwnPropertyDescriptor(n,l);d!==void 0&&d.enumerable&&(Or(e[l])&&Or(n[l])?n[l].__swiper__?e[l]=n[l]:bi(e[l],n[l]):!Or(e[l])&&Or(n[l])?(e[l]={},n[l].__swiper__?e[l]=n[l]:bi(e[l],n[l])):e[l]=n[l])}}}return e}function Nr(t,e,s){t.style.setProperty(e,s)}function O3({swiper:t,targetPosition:e,side:s}){const a=Ze(),n=-t.translate;let r=null,o;const u=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const l=e>n?"next":"prev",d=(b,p)=>l==="next"&&b>=p||l==="prev"&&b<=p,c=()=>{o=new Date().getTime(),r===null&&(r=o);const b=Math.max(Math.min((o-r)/u,1),0),p=.5-Math.cos(b*Math.PI)/2;let f=n+p*(e-n);if(d(f,e)&&(f=e),t.wrapperEl.scrollTo({[s]:f}),d(f,e)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[s]:f})}),a.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=a.requestAnimationFrame(c)};c()}function Ji(t,e=""){const s=Ze(),a=[...t.children];return s.HTMLSlotElement&&t instanceof HTMLSlotElement&&a.push(...t.assignedElements()),e?a.filter(n=>n.matches(e)):a}function Vj(t,e){const s=[e];for(;s.length>0;){const a=s.shift();if(t===a)return!0;s.push(...a.children,...a.shadowRoot?a.shadowRoot.children:[],...a.assignedElements?a.assignedElements():[])}}function Hj(t,e){const s=Ze();let a=e.contains(t);return!a&&s.HTMLSlotElement&&e instanceof HTMLSlotElement&&(a=[...e.assignedElements()].includes(t),a||(a=Vj(t,e))),a}function Eo(t){try{console.warn(t);return}catch{}}function Co(t,e=[]){const s=document.createElement(t);return s.classList.add(...Array.isArray(e)?e:Bj(e)),s}function Wj(t,e){const s=[];for(;t.previousElementSibling;){const a=t.previousElementSibling;e?a.matches(e)&&s.push(a):s.push(a),t=a}return s}function Kj(t,e){const s=[];for(;t.nextElementSibling;){const a=t.nextElementSibling;e?a.matches(e)&&s.push(a):s.push(a),t=a}return s}function Ms(t,e){return Ze().getComputedStyle(t,null).getPropertyValue(e)}function Mo(t){let e=t,s;if(e){for(s=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(s+=1);return s}}function N3(t,e){const s=[];let a=t.parentElement;for(;a;)e?a.matches(e)&&s.push(a):s.push(a),a=a.parentElement;return s}function Bl(t,e){function s(a){a.target===t&&(e.call(t,a),t.removeEventListener("transitionend",s))}e&&t.addEventListener("transitionend",s)}function Xu(t,e,s){const a=Ze();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function De(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function ar(t,e=""){typeof trustedTypes<"u"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:s=>s}).createHTML(e):t.innerHTML=e}let Fl;function $j(){const t=Ze(),e=pa();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function B3(){return Fl||(Fl=$j()),Fl}let Gl;function Yj({userAgent:t}={}){const e=B3(),s=Ze(),a=s.navigator.platform,n=t||s.navigator.userAgent,r={ios:!1,android:!1},o=s.screen.width,u=s.screen.height,l=n.match(/(Android);?[\s\/]+([\d.]+)?/);let d=n.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const c=n.match(/(iPod)(.*OS\s([\d_]+))?/),b=!d&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=a==="Win32";let f=a==="MacIntel";const _=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&f&&e.touch&&_.indexOf(`${o}x${u}`)>=0&&(d=n.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),l&&!p&&(r.os="android",r.android=!0),(d||b||c)&&(r.os="ios",r.ios=!0),r}function F3(t={}){return Gl||(Gl=Yj(t)),Gl}let Ul;function Xj(){const t=Ze(),e=F3();let s=!1;function a(){const u=t.navigator.userAgent.toLowerCase();return u.indexOf("safari")>=0&&u.indexOf("chrome")<0&&u.indexOf("android")<0}if(a()){const u=String(t.navigator.userAgent);if(u.includes("Version/")){const[l,d]=u.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));s=l<16||l===16&&d<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=a(),o=r||n&&e.ios;return{isSafari:s||r,needPerspectiveFix:s,need3dFix:o,isWebView:n}}function G3(){return Ul||(Ul=Xj()),Ul}function Zj({swiper:t,on:e,emit:s}){const a=Ze();let n=null,r=null;const o=()=>{!t||t.destroyed||!t.initialized||(s("beforeResize"),s("resize"))},u=()=>{!t||t.destroyed||!t.initialized||(n=new ResizeObserver(c=>{r=a.requestAnimationFrame(()=>{const{width:b,height:p}=t;let f=b,_=p;c.forEach(({contentBoxSize:h,contentRect:y,target:m})=>{m&&m!==t.el||(f=y?y.width:(h[0]||h).inlineSize,_=y?y.height:(h[0]||h).blockSize)}),(f!==b||_!==p)&&o()})}),n.observe(t.el))},l=()=>{r&&a.cancelAnimationFrame(r),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null)},d=()=>{!t||t.destroyed||!t.initialized||s("orientationchange")};e("init",()=>{if(t.params.resizeObserver&&typeof a.ResizeObserver<"u"){u();return}a.addEventListener("resize",o),a.addEventListener("orientationchange",d)}),e("destroy",()=>{l(),a.removeEventListener("resize",o),a.removeEventListener("orientationchange",d)})}function Qj({swiper:t,extendParams:e,on:s,emit:a}){const n=[],r=Ze(),o=(d,c={})=>{const b=r.MutationObserver||r.WebkitMutationObserver,p=new b(f=>{if(t.__preventObserver__)return;if(f.length===1){a("observerUpdate",f[0]);return}const _=function(){a("observerUpdate",f[0])};r.requestAnimationFrame?r.requestAnimationFrame(_):r.setTimeout(_,0)});p.observe(d,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:t.isElement||(typeof c.childList>"u"?!0:c).childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),n.push(p)},u=()=>{if(t.params.observer){if(t.params.observeParents){const d=N3(t.hostEl);for(let c=0;c<d.length;c+=1)o(d[c])}o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}},l=()=>{n.forEach(d=>{d.disconnect()}),n.splice(0,n.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",u),s("destroy",l)}var Jj={on(t,e,s){const a=this;if(!a.eventsListeners||a.destroyed||typeof e!="function")return a;const n=s?"unshift":"push";return t.split(" ").forEach(r=>{a.eventsListeners[r]||(a.eventsListeners[r]=[]),a.eventsListeners[r][n](e)}),a},once(t,e,s){const a=this;if(!a.eventsListeners||a.destroyed||typeof e!="function")return a;function n(...r){a.off(t,n),n.__emitterProxy&&delete n.__emitterProxy,e.apply(a,r)}return n.__emitterProxy=e,a.on(t,n,s)},onAny(t,e){const s=this;if(!s.eventsListeners||s.destroyed||typeof t!="function")return s;const a=e?"unshift":"push";return s.eventsAnyListeners.indexOf(t)<0&&s.eventsAnyListeners[a](t),s},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const s=e.eventsAnyListeners.indexOf(t);return s>=0&&e.eventsAnyListeners.splice(s,1),e},off(t,e){const s=this;return!s.eventsListeners||s.destroyed||!s.eventsListeners||t.split(" ").forEach(a=>{typeof e>"u"?s.eventsListeners[a]=[]:s.eventsListeners[a]&&s.eventsListeners[a].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&s.eventsListeners[a].splice(r,1)})}),s},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let s,a,n;return typeof t[0]=="string"||Array.isArray(t[0])?(s=t[0],a=t.slice(1,t.length),n=e):(s=t[0].events,a=t[0].data,n=t[0].context||e),a.unshift(n),(Array.isArray(s)?s:s.split(" ")).forEach(o=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(n,[o,...a])}),e.eventsListeners&&e.eventsListeners[o]&&e.eventsListeners[o].forEach(u=>{u.apply(n,a)})}),e}};function tE(){const t=this;let e,s;const a=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=a.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?s=t.params.height:s=a.clientHeight,!(e===0&&t.isHorizontal()||s===0&&t.isVertical())&&(e=e-parseInt(Ms(a,"padding-left")||0,10)-parseInt(Ms(a,"padding-right")||0,10),s=s-parseInt(Ms(a,"padding-top")||0,10)-parseInt(Ms(a,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(s)&&(s=0),Object.assign(t,{width:e,height:s,size:t.isHorizontal()?e:s}))}function eE(){const t=this;function e(E,D){return parseFloat(E.getPropertyValue(t.getDirectionLabel(D))||0)}const s=t.params,{wrapperEl:a,slidesEl:n,rtlTranslate:r,wrongRTL:o}=t,u=t.virtual&&s.virtual.enabled,l=u?t.virtual.slides.length:t.slides.length,d=Ji(n,`.${t.params.slideClass}, swiper-slide`),c=u?t.virtual.slides.length:d.length;let b=[];const p=[],f=[];let _=s.slidesOffsetBefore;typeof _=="function"&&(_=s.slidesOffsetBefore.call(t));let h=s.slidesOffsetAfter;typeof h=="function"&&(h=s.slidesOffsetAfter.call(t));const y=t.snapGrid.length,m=t.slidesGrid.length,v=t.size-_-h;let g=s.spaceBetween,k=-_,w=0,A=0;if(typeof v>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*v:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g-_-h,d.forEach(E=>{r?E.style.marginLeft="":E.style.marginRight="",E.style.marginBottom="",E.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(Nr(a,"--swiper-centered-offset-before",""),Nr(a,"--swiper-centered-offset-after",""));const z=s.grid&&s.grid.rows>1&&t.grid;z?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let S;const I=s.slidesPerView==="auto"&&s.breakpoints&&Object.keys(s.breakpoints).filter(E=>typeof s.breakpoints[E].slidesPerView<"u").length>0;for(let E=0;E<c;E+=1){S=0;const D=d[E];if(!(D&&(z&&t.grid.updateSlide(E,D,d),Ms(D,"display")==="none"))){if(u&&s.slidesPerView==="auto")s.virtual.slidesPerViewAutoSlideSize&&(S=s.virtual.slidesPerViewAutoSlideSize),S&&D&&(s.roundLengths&&(S=Math.floor(S)),D.style[t.getDirectionLabel("width")]=`${S}px`);else if(s.slidesPerView==="auto"){I&&(D.style[t.getDirectionLabel("width")]="");const M=getComputedStyle(D),N=D.style.transform,V=D.style.webkitTransform;if(N&&(D.style.transform="none"),V&&(D.style.webkitTransform="none"),s.roundLengths)S=t.isHorizontal()?Xu(D,"width"):Xu(D,"height");else{const it=e(M,"width"),ct=e(M,"padding-left"),ot=e(M,"padding-right"),tt=e(M,"margin-left"),_t=e(M,"margin-right"),vt=M.getPropertyValue("box-sizing");if(vt&&vt==="border-box")S=it+tt+_t;else{const{clientWidth:Tt,offsetWidth:lt}=D;S=it+ct+ot+tt+_t+(lt-Tt)}}N&&(D.style.transform=N),V&&(D.style.webkitTransform=V),s.roundLengths&&(S=Math.floor(S))}else S=(v-(s.slidesPerView-1)*g)/s.slidesPerView,s.roundLengths&&(S=Math.floor(S)),D&&(D.style[t.getDirectionLabel("width")]=`${S}px`);D&&(D.swiperSlideSize=S),f.push(S),s.centeredSlides?(k=k+S/2+w/2+g,w===0&&E!==0&&(k=k-v/2-g),E===0&&(k=k-v/2-g),Math.abs(k)<1/1e3&&(k=0),s.roundLengths&&(k=Math.floor(k)),A%s.slidesPerGroup===0&&b.push(k),p.push(k)):(s.roundLengths&&(k=Math.floor(k)),(A-Math.min(t.params.slidesPerGroupSkip,A))%t.params.slidesPerGroup===0&&b.push(k),p.push(k),k=k+S+g),t.virtualSize+=S+g,w=S,A+=1}}if(t.virtualSize=Math.max(t.virtualSize,v)+h,r&&o&&(s.effect==="slide"||s.effect==="coverflow")&&(a.style.width=`${t.virtualSize+g}px`),s.setWrapperSize&&(a.style[t.getDirectionLabel("width")]=`${t.virtualSize+g}px`),z&&t.grid.updateWrapperSize(S,b),!s.centeredSlides){const E=[];for(let D=0;D<b.length;D+=1){let M=b[D];s.roundLengths&&(M=Math.floor(M)),b[D]<=t.virtualSize-v&&E.push(M)}b=E,Math.floor(t.virtualSize-v)-Math.floor(b[b.length-1])>1&&b.push(t.virtualSize-v)}if(u&&s.loop){const E=f[0]+g;if(s.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/s.slidesPerGroup),M=E*s.slidesPerGroup;for(let N=0;N<D;N+=1)b.push(b[b.length-1]+M)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)s.slidesPerGroup===1&&b.push(b[b.length-1]+E),p.push(p[p.length-1]+E),t.virtualSize+=E}if(b.length===0&&(b=[0]),g!==0){const E=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,M)=>!s.cssMode||s.loop?!0:M!==d.length-1).forEach(D=>{D.style[E]=`${g}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let E=0;f.forEach(M=>{E+=M+(g||0)}),E-=g;const D=E>v?E-v:0;b=b.map(M=>M<=0?-_:M>D?D+h:M)}if(s.centerInsufficientSlides){let E=0;f.forEach(M=>{E+=M+(g||0)}),E-=g;const D=(_||0)+(h||0);if(E+D<v){const M=(v-E-D)/2;b.forEach((N,V)=>{b[V]=N-M}),p.forEach((N,V)=>{p[V]=N+M})}}if(Object.assign(t,{slides:d,snapGrid:b,slidesGrid:p,slidesSizesGrid:f}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){Nr(a,"--swiper-centered-offset-before",`${-b[0]}px`),Nr(a,"--swiper-centered-offset-after",`${t.size/2-f[f.length-1]/2}px`);const E=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(M=>M+E),t.slidesGrid=t.slidesGrid.map(M=>M+D)}if(c!==l&&t.emit("slidesLengthChange"),b.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==m&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!s.cssMode&&(s.effect==="slide"||s.effect==="fade")){const E=`${s.containerModifierClass}backface-hidden`,D=t.el.classList.contains(E);c<=s.maxBackfaceHiddenSlides?D||t.el.classList.add(E):D&&t.el.classList.remove(E)}}function iE(t){const e=this,s=[],a=e.virtual&&e.params.virtual.enabled;let n=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=u=>a?e.slides[e.getSlideIndexByData(u)]:e.slides[u];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(u=>{s.push(u)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const u=e.activeIndex+r;if(u>e.slides.length&&!a)break;s.push(o(u))}else s.push(o(e.activeIndex));for(r=0;r<s.length;r+=1)if(typeof s[r]<"u"){const u=s[r].offsetHeight;n=u>n?u:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function sE(){const t=this,e=t.slides,s=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let a=0;a<e.length;a+=1)e[a].swiperSlideOffset=(t.isHorizontal()?e[a].offsetLeft:e[a].offsetTop)-s-t.cssOverflowAdjustment()}const p0=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function aE(t=this&&this.translate||0){const e=this,s=e.params,{slides:a,rtlTranslate:n,snapGrid:r}=e;if(a.length===0)return;typeof a[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-t;n&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let u=s.spaceBetween;typeof u=="string"&&u.indexOf("%")>=0?u=parseFloat(u.replace("%",""))/100*e.size:typeof u=="string"&&(u=parseFloat(u));for(let l=0;l<a.length;l+=1){const d=a[l];let c=d.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(c-=a[0].swiperSlideOffset);const b=(o+(s.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+u),p=(o-r[0]+(s.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+u),f=-(o-c),_=f+e.slidesSizesGrid[l],h=f>=0&&f<=e.size-e.slidesSizesGrid[l],y=f>=0&&f<e.size-1||_>1&&_<=e.size||f<=0&&_>=e.size;y&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(l)),p0(d,y,s.slideVisibleClass),p0(d,h,s.slideFullyVisibleClass),d.progress=n?-b:b,d.originalProgress=n?-p:p}}function nE(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const s=e.params,a=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:o,progressLoop:u}=e;const l=r,d=o;if(a===0)n=0,r=!0,o=!0;else{n=(t-e.minTranslate())/a;const c=Math.abs(t-e.minTranslate())<1,b=Math.abs(t-e.maxTranslate())<1;r=c||n<=0,o=b||n>=1,c&&(n=0),b&&(n=1)}if(s.loop){const c=e.getSlideIndexByData(0),b=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[c],f=e.slidesGrid[b],_=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(t);h>=p?u=(h-p)/_:u=(h+_-f)/_,u>1&&(u-=1)}Object.assign(e,{progress:n,progressLoop:u,isBeginning:r,isEnd:o}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&e.updateSlidesProgress(t),r&&!l&&e.emit("reachBeginning toEdge"),o&&!d&&e.emit("reachEnd toEdge"),(l&&!r||d&&!o)&&e.emit("fromEdge"),e.emit("progress",n)}const ql=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function rE(){const t=this,{slides:e,params:s,slidesEl:a,activeIndex:n}=t,r=t.virtual&&s.virtual.enabled,o=t.grid&&s.grid&&s.grid.rows>1,u=b=>Ji(a,`.${s.slideClass}${b}, swiper-slide${b}`)[0];let l,d,c;if(r)if(s.loop){let b=n-t.virtual.slidesBefore;b<0&&(b=t.virtual.slides.length+b),b>=t.virtual.slides.length&&(b-=t.virtual.slides.length),l=u(`[data-swiper-slide-index="${b}"]`)}else l=u(`[data-swiper-slide-index="${n}"]`);else o?(l=e.find(b=>b.column===n),c=e.find(b=>b.column===n+1),d=e.find(b=>b.column===n-1)):l=e[n];l&&(o||(c=Kj(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=e[0]),d=Wj(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(b=>{ql(b,b===l,s.slideActiveClass),ql(b,b===c,s.slideNextClass),ql(b,b===d,s.slidePrevClass)}),t.emitSlidesClasses()}const $r=(t,e)=>{if(!t||t.destroyed||!t.params)return;const s=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,a=e.closest(s());if(a){let n=a.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(a.shadowRoot?n=a.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{a.shadowRoot&&(n=a.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},Vl=(t,e)=>{if(!t.slides[e])return;const s=t.slides[e].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},Zu=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const s=t.slides.length;if(!s||!e||e<0)return;e=Math.min(e,s);const a=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=n,u=[o-e];u.push(...Array.from({length:e}).map((l,d)=>o+a+d)),t.slides.forEach((l,d)=>{u.includes(l.column)&&Vl(t,d)});return}const r=n+a-1;if(t.params.rewind||t.params.loop)for(let o=n-e;o<=r+e;o+=1){const u=(o%s+s)%s;(u<n||u>r)&&Vl(t,u)}else for(let o=Math.max(n-e,0);o<=Math.min(r+e,s-1);o+=1)o!==n&&(o>r||o<n)&&Vl(t,o)};function oE(t){const{slidesGrid:e,params:s}=t,a=t.rtlTranslate?t.translate:-t.translate;let n;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?a>=e[r]&&a<e[r+1]-(e[r+1]-e[r])/2?n=r:a>=e[r]&&a<e[r+1]&&(n=r+1):a>=e[r]&&(n=r);return s.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function lE(t){const e=this,s=e.rtlTranslate?e.translate:-e.translate,{snapGrid:a,params:n,activeIndex:r,realIndex:o,snapIndex:u}=e;let l=t,d;const c=f=>{let _=f-e.virtual.slidesBefore;return _<0&&(_=e.virtual.slides.length+_),_>=e.virtual.slides.length&&(_-=e.virtual.slides.length),_};if(typeof l>"u"&&(l=oE(e)),a.indexOf(s)>=0)d=a.indexOf(s);else{const f=Math.min(n.slidesPerGroupSkip,l);d=f+Math.floor((l-f)/n.slidesPerGroup)}if(d>=a.length&&(d=a.length-1),l===r&&!e.params.loop){d!==u&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(l===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}const b=e.grid&&n.grid&&n.grid.rows>1;let p;if(e.virtual&&n.virtual.enabled&&n.loop)p=c(l);else if(b){const f=e.slides.find(h=>h.column===l);let _=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(_)&&(_=Math.max(e.slides.indexOf(f),0)),p=Math.floor(_/n.grid.rows)}else if(e.slides[l]){const f=e.slides[l].getAttribute("data-swiper-slide-index");f?p=parseInt(f,10):p=l}else p=l;Object.assign(e,{previousSnapIndex:u,snapIndex:d,previousRealIndex:o,realIndex:p,previousIndex:r,activeIndex:l}),e.initialized&&Zu(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function uE(t,e){const s=this,a=s.params;let n=t.closest(`.${a.slideClass}, swiper-slide`);!n&&s.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(u=>{!n&&u.matches&&u.matches(`.${a.slideClass}, swiper-slide`)&&(n=u)});let r=!1,o;if(n){for(let u=0;u<s.slides.length;u+=1)if(s.slides[u]===n){r=!0,o=u;break}}if(n&&r)s.clickedSlide=n,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=o;else{s.clickedSlide=void 0,s.clickedIndex=void 0;return}a.slideToClickedSlide&&s.clickedIndex!==void 0&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}var dE={updateSize:tE,updateSlides:eE,updateAutoHeight:iE,updateSlidesOffset:sE,updateSlidesProgress:aE,updateProgress:nE,updateSlidesClasses:rE,updateActiveIndex:lE,updateClickedSlide:uE};function cE(t=this.isHorizontal()?"x":"y"){const e=this,{params:s,rtlTranslate:a,translate:n,wrapperEl:r}=e;if(s.virtualTranslate)return a?-n:n;if(s.cssMode)return n;let o=Uj(r,t);return o+=e.cssOverflowAdjustment(),a&&(o=-o),o||0}function bE(t,e){const s=this,{rtlTranslate:a,params:n,wrapperEl:r,progress:o}=s;let u=0,l=0;const d=0;s.isHorizontal()?u=a?-t:t:l=t,n.roundLengths&&(u=Math.floor(u),l=Math.floor(l)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?u:l,n.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-u:-l:n.virtualTranslate||(s.isHorizontal()?u-=s.cssOverflowAdjustment():l-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${u}px, ${l}px, ${d}px)`);let c;const b=s.maxTranslate()-s.minTranslate();b===0?c=0:c=(t-s.minTranslate())/b,c!==o&&s.updateProgress(t),s.emit("setTranslate",s.translate,e)}function pE(){return-this.snapGrid[0]}function mE(){return-this.snapGrid[this.snapGrid.length-1]}function fE(t=0,e=this.params.speed,s=!0,a=!0,n){const r=this,{params:o,wrapperEl:u}=r;if(r.animating&&o.preventInteractionOnTransition)return!1;const l=r.minTranslate(),d=r.maxTranslate();let c;if(a&&t>l?c=l:a&&t<d?c=d:c=t,r.updateProgress(c),o.cssMode){const b=r.isHorizontal();if(e===0)u[b?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return O3({swiper:r,targetPosition:-c,side:b?"left":"top"}),!0;u.scrollTo({[b?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(p){!r||r.destroyed||p.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var vE={getTranslate:cE,setTranslate:bE,minTranslate:pE,maxTranslate:mE,translateTo:fE};function _E(t,e){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${t}ms`,s.wrapperEl.style.transitionDelay=t===0?"0ms":""),s.emit("setTransition",t,e)}function U3({swiper:t,runCallbacks:e,direction:s,step:a}){const{activeIndex:n,previousIndex:r}=t;let o=s;o||(n>r?o="next":n<r?o="prev":o="reset"),t.emit(`transition${a}`),e&&o==="reset"?t.emit(`slideResetTransition${a}`):e&&n!==r&&(t.emit(`slideChangeTransition${a}`),o==="next"?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`))}function gE(t=!0,e){const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),U3({swiper:s,runCallbacks:t,direction:e,step:"Start"}))}function hE(t=!0,e){const s=this,{params:a}=s;s.animating=!1,!a.cssMode&&(s.setTransition(0),U3({swiper:s,runCallbacks:t,direction:e,step:"End"}))}var yE={setTransition:_E,transitionStart:gE,transitionEnd:hE};function kE(t=0,e,s=!0,a,n){typeof t=="string"&&(t=parseInt(t,10));const r=this;let o=t;o<0&&(o=0);const{params:u,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:b,rtlTranslate:p,wrapperEl:f,enabled:_}=r;if(!_&&!a&&!n||r.destroyed||r.animating&&u.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=r.params.speed);const h=Math.min(r.params.slidesPerGroupSkip,o);let y=h+Math.floor((o-h)/r.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const m=-l[y];if(u.normalizeSlideIndex)for(let z=0;z<d.length;z+=1){const S=-Math.floor(m*100),I=Math.floor(d[z]*100),E=Math.floor(d[z+1]*100);typeof d[z+1]<"u"?S>=I&&S<E-(E-I)/2?o=z:S>=I&&S<E&&(o=z+1):S>=I&&(o=z)}if(r.initialized&&o!==b&&(!r.allowSlideNext&&(p?m>r.translate&&m>r.minTranslate():m<r.translate&&m<r.minTranslate())||!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(b||0)!==o))return!1;o!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(m);let v;o>b?v="next":o<b?v="prev":v="reset";const g=r.virtual&&r.params.virtual.enabled;if(!(g&&n)&&(p&&-m===r.translate||!p&&m===r.translate))return r.updateActiveIndex(o),u.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),u.effect!=="slide"&&r.setTranslate(m),v!=="reset"&&(r.transitionStart(s,v),r.transitionEnd(s,v)),!1;if(u.cssMode){const z=r.isHorizontal(),S=p?m:-m;if(e===0)g&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),g&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[z?"scrollLeft":"scrollTop"]=S})):f[z?"scrollLeft":"scrollTop"]=S,g&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return O3({swiper:r,targetPosition:S,side:z?"left":"top"}),!0;f.scrollTo({[z?"left":"top"]:S,behavior:"smooth"})}return!0}const A=G3().isSafari;return g&&!n&&A&&r.isElement&&r.virtual.update(!1,!1,o),r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,a),r.transitionStart(s,v),e===0?r.transitionEnd(s,v):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(S){!r||r.destroyed||S.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,v))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function wE(t=0,e,s=!0,a){typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let o=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)o=o+n.virtual.slidesBefore;else{let u;if(r){const h=o*n.params.grid.rows;u=n.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===h).column}else u=n.getSlideIndexByData(o);const l=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:d,slidesOffsetBefore:c,slidesOffsetAfter:b}=n.params,p=d||!!c||!!b;let f=n.params.slidesPerView;f==="auto"?f=n.slidesPerViewDynamic():(f=Math.ceil(parseFloat(n.params.slidesPerView,10)),p&&f%2===0&&(f=f+1));let _=l-u<f;if(p&&(_=_||u<Math.ceil(f/2)),a&&p&&n.params.slidesPerView!=="auto"&&!r&&(_=!1),_){const h=p?u<n.activeIndex?"prev":"next":u-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?u+1:u-l+1,slideRealIndex:h==="next"?n.realIndex:void 0})}if(r){const h=o*n.params.grid.rows;o=n.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===h).column}else o=n.getSlideIndexByData(o)}return requestAnimationFrame(()=>{n.slideTo(o,e,s,a)}),n}function SE(t,e=!0,s){const a=this,{enabled:n,params:r,animating:o}=a;if(!n||a.destroyed)return a;typeof t>"u"&&(t=a.params.speed);let u=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(u=Math.max(a.slidesPerViewDynamic("current",!0),1));const l=a.activeIndex<r.slidesPerGroupSkip?1:u,d=a.virtual&&r.virtual.enabled;if(r.loop){if(o&&!d&&r.loopPreventsSliding)return!1;if(a.loopFix({direction:"next"}),a._clientLeft=a.wrapperEl.clientLeft,a.activeIndex===a.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{a.slideTo(a.activeIndex+l,t,e,s)}),!0}return r.rewind&&a.isEnd?a.slideTo(0,t,e,s):a.slideTo(a.activeIndex+l,t,e,s)}function AE(t,e=!0,s){const a=this,{params:n,snapGrid:r,slidesGrid:o,rtlTranslate:u,enabled:l,animating:d}=a;if(!l||a.destroyed)return a;typeof t>"u"&&(t=a.params.speed);const c=a.virtual&&n.virtual.enabled;if(n.loop){if(d&&!c&&n.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}const b=u?a.translate:-a.translate;function p(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const f=p(b),_=r.map(v=>p(v)),h=n.freeMode&&n.freeMode.enabled;let y=r[_.indexOf(f)-1];if(typeof y>"u"&&(n.cssMode||h)){let v;r.forEach((g,k)=>{f>=g&&(v=k)}),typeof v<"u"&&(y=h?r[v]:r[v>0?v-1:v])}let m=0;if(typeof y<"u"&&(m=o.indexOf(y),m<0&&(m=a.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),n.rewind&&a.isBeginning){const v=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(v,t,e,s)}else if(n.loop&&a.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{a.slideTo(m,t,e,s)}),!0;return a.slideTo(m,t,e,s)}function zE(t,e=!0,s){const a=this;if(!a.destroyed)return typeof t>"u"&&(t=a.params.speed),a.slideTo(a.activeIndex,t,e,s)}function TE(t,e=!0,s,a=.5){const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const o=Math.min(n.params.slidesPerGroupSkip,r),u=o+Math.floor((r-o)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[u]){const d=n.snapGrid[u],c=n.snapGrid[u+1];l-d>(c-d)*a&&(r+=n.params.slidesPerGroup)}else{const d=n.snapGrid[u-1],c=n.snapGrid[u];l-d<=(c-d)*a&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,s)}function PE(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:s}=t,a=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.getSlideIndexWhenGrid(t.clickedIndex),r;const o=t.isElement?"swiper-slide":`.${e.slideClass}`,u=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(r):n>(u?(t.slides.length-a)/2-(t.params.grid.rows-1):t.slides.length-a)?(t.loopFix(),n=t.getSlideIndex(Ji(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),jo(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var jE={slideTo:kE,slideToLoop:wE,slideNext:SE,slidePrev:AE,slideReset:zE,slideToClosest:TE,slideToClickedSlide:PE};function EE(t,e){const s=this,{params:a,slidesEl:n}=s;if(!a.loop||s.virtual&&s.params.virtual.enabled)return;const r=()=>{Ji(n,`.${a.slideClass}, swiper-slide`).forEach((_,h)=>{_.setAttribute("data-swiper-slide-index",h)})},o=()=>{const f=Ji(n,`.${a.slideBlankClass}`);f.forEach(_=>{_.remove()}),f.length>0&&(s.recalcSlides(),s.updateSlides())},u=s.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||u)&&o();const l=a.slidesPerGroup*(u?a.grid.rows:1),d=s.slides.length%l!==0,c=u&&s.slides.length%a.grid.rows!==0,b=f=>{for(let _=0;_<f;_+=1){const h=s.isElement?Co("swiper-slide",[a.slideBlankClass]):Co("div",[a.slideClass,a.slideBlankClass]);s.slidesEl.append(h)}};if(d){if(a.loopAddBlankSlides){const f=l-s.slides.length%l;b(f),s.recalcSlides(),s.updateSlides()}else Eo("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(c){if(a.loopAddBlankSlides){const f=a.grid.rows-s.slides.length%a.grid.rows;b(f),s.recalcSlides(),s.updateSlides()}else Eo("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();const p=a.centeredSlides||!!a.slidesOffsetBefore||!!a.slidesOffsetAfter;s.loopFix({slideRealIndex:t,direction:p?void 0:"next",initial:e})}function CE({slideRealIndex:t,slideTo:e=!0,direction:s,setTranslate:a,activeSlideIndex:n,initial:r,byController:o,byMousewheel:u}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:b,slidesEl:p,params:f}=l,{centeredSlides:_,slidesOffsetBefore:h,slidesOffsetAfter:y,initialSlide:m}=f,v=_||!!h||!!y;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&f.virtual.enabled){e&&(!v&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):v&&l.snapIndex<f.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=b,l.emit("loopFix");return}let g=f.slidesPerView;g==="auto"?g=l.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),v&&g%2===0&&(g=g+1));const k=f.slidesPerGroupAuto?g:f.slidesPerGroup;let w=v?Math.max(k,Math.ceil(g/2)):k;w%k!==0&&(w+=k-w%k),w+=f.loopAdditionalSlides,l.loopedSlides=w;const A=l.grid&&f.grid&&f.grid.rows>1;d.length<g+w||l.params.effect==="cards"&&d.length<g+w*2?Eo("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):A&&f.grid.fill==="row"&&Eo("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const z=[],S=[],I=A?Math.ceil(d.length/f.grid.rows):d.length,E=r&&I-m<g&&!v;let D=E?m:l.activeIndex;typeof n>"u"?n=l.getSlideIndex(d.find(tt=>tt.classList.contains(f.slideActiveClass))):D=n;const M=s==="next"||!s,N=s==="prev"||!s;let V=0,it=0;const ot=(A?d[n].column:n)+(v&&typeof a>"u"?-g/2+.5:0);if(ot<w){V=Math.max(w-ot,k);for(let tt=0;tt<w-ot;tt+=1){const _t=tt-Math.floor(tt/I)*I;if(A){const vt=I-_t-1;for(let Tt=d.length-1;Tt>=0;Tt-=1)d[Tt].column===vt&&z.push(Tt)}else z.push(I-_t-1)}}else if(ot+g>I-w){it=Math.max(ot-(I-w*2),k),E&&(it=Math.max(it,g-I+m+1));for(let tt=0;tt<it;tt+=1){const _t=tt-Math.floor(tt/I)*I;A?d.forEach((vt,Tt)=>{vt.column===_t&&S.push(Tt)}):S.push(_t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&d.length<g+w*2&&(S.includes(n)&&S.splice(S.indexOf(n),1),z.includes(n)&&z.splice(z.indexOf(n),1)),N&&z.forEach(tt=>{d[tt].swiperLoopMoveDOM=!0,p.prepend(d[tt]),d[tt].swiperLoopMoveDOM=!1}),M&&S.forEach(tt=>{d[tt].swiperLoopMoveDOM=!0,p.append(d[tt]),d[tt].swiperLoopMoveDOM=!1}),l.recalcSlides(),f.slidesPerView==="auto"?l.updateSlides():A&&(z.length>0&&N||S.length>0&&M)&&l.slides.forEach((tt,_t)=>{l.grid.updateSlide(_t,tt,l.slides)}),f.watchSlidesProgress&&l.updateSlidesOffset(),e){if(z.length>0&&N){if(typeof t>"u"){const tt=l.slidesGrid[D],vt=l.slidesGrid[D+V]-tt;u?l.setTranslate(l.translate-vt):(l.slideTo(D+Math.ceil(V),0,!1,!0),a&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-vt,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-vt))}else if(a){const tt=A?z.length/f.grid.rows:z.length;l.slideTo(l.activeIndex+tt,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(S.length>0&&M)if(typeof t>"u"){const tt=l.slidesGrid[D],vt=l.slidesGrid[D-it]-tt;u?l.setTranslate(l.translate-vt):(l.slideTo(D-it,0,!1,!0),a&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-vt,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-vt))}else{const tt=A?S.length/f.grid.rows:S.length;l.slideTo(l.activeIndex-tt,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=b,l.controller&&l.controller.control&&!o){const tt={slideRealIndex:t,direction:s,setTranslate:a,activeSlideIndex:n,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(_t=>{!_t.destroyed&&_t.params.loop&&_t.loopFix({...tt,slideTo:_t.params.slidesPerView===f.slidesPerView?e:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...tt,slideTo:l.controller.control.params.slidesPerView===f.slidesPerView?e:!1})}l.emit("loopFix")}function ME(){const t=this,{params:e,slidesEl:s}=t;if(!e.loop||!s||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const a=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;a[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),a.forEach(n=>{s.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var xE={loopCreate:EE,loopFix:CE,loopDestroy:ME};function IE(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const s=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function DE(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var LE={setGrabCursor:IE,unsetGrabCursor:DE};function RE(t,e=this){function s(a){if(!a||a===pa()||a===Ze())return null;a.assignedSlot&&(a=a.assignedSlot);const n=a.closest(t);return!n&&!a.getRootNode?null:n||s(a.getRootNode().host)}return s(e)}function m0(t,e,s){const a=Ze(),{params:n}=t,r=n.edgeSwipeDetection,o=n.edgeSwipeThreshold;return r&&(s<=o||s>=a.innerWidth-o)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function OE(t){const e=this,s=pa();let a=t;a.originalEvent&&(a=a.originalEvent);const n=e.touchEventsData;if(a.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==a.pointerId)return;n.pointerId=a.pointerId}else a.type==="touchstart"&&a.targetTouches.length===1&&(n.touchId=a.targetTouches[0].identifier);if(a.type==="touchstart"){m0(e,a,a.targetTouches[0].pageX);return}const{params:r,touches:o,enabled:u}=e;if(!u||!r.simulateTouch&&a.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let l=a.target;if(r.touchEventsTarget==="wrapper"&&!Hj(l,e.wrapperEl)||"which"in a&&a.which===3||"button"in a&&a.button>0||n.isTouched&&n.isMoved)return;const d=!!r.noSwipingClass&&r.noSwipingClass!=="",c=a.composedPath?a.composedPath():a.path;d&&a.target&&a.target.shadowRoot&&c&&(l=c[0]);const b=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(a.target&&a.target.shadowRoot);if(r.noSwiping&&(p?RE(b,l):l.closest(b))){e.allowClick=!0;return}if(r.swipeHandler&&!l.closest(r.swipeHandler))return;o.currentX=a.pageX,o.currentY=a.pageY;const f=o.currentX,_=o.currentY;if(!m0(e,a,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=f,o.startY=_,n.touchStartTime=Ai(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let h=!0;l.matches(n.focusableElements)&&(h=!1,l.nodeName==="SELECT"&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==l&&(a.pointerType==="mouse"||a.pointerType!=="mouse"&&!l.matches(n.focusableElements))&&s.activeElement.blur();const y=h&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||y)&&!l.isContentEditable&&a.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",a)}function NE(t){const e=pa(),s=this,a=s.touchEventsData,{params:n,touches:r,rtlTranslate:o,enabled:u}=s;if(!u||!n.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(a.touchId!==null||l.pointerId!==a.pointerId))return;let d;if(l.type==="touchmove"){if(d=[...l.changedTouches].find(w=>w.identifier===a.touchId),!d||d.identifier!==a.touchId)return}else d=l;if(!a.isTouched){a.startMoving&&a.isScrolling&&s.emit("touchMoveOpposite",l);return}const c=d.pageX,b=d.pageY;if(l.preventedByNestedSwiper){r.startX=c,r.startY=b;return}if(!s.allowTouchMove){l.target.matches(a.focusableElements)||(s.allowClick=!1),a.isTouched&&(Object.assign(r,{startX:c,startY:b,currentX:c,currentY:b}),a.touchStartTime=Ai());return}if(n.touchReleaseOnEdges&&!n.loop)if(s.isVertical()){if(b<r.startY&&s.translate<=s.maxTranslate()||b>r.startY&&s.translate>=s.minTranslate()){a.isTouched=!1,a.isMoved=!1;return}}else{if(o&&(c>r.startX&&-s.translate<=s.maxTranslate()||c<r.startX&&-s.translate>=s.minTranslate()))return;if(!o&&(c<r.startX&&s.translate<=s.maxTranslate()||c>r.startX&&s.translate>=s.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(a.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(a.focusableElements)){a.isMoved=!0,s.allowClick=!1;return}a.allowTouchCallbacks&&s.emit("touchMove",l),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=b;const p=r.currentX-r.startX,f=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(p**2+f**2)<s.params.threshold)return;if(typeof a.isScrolling>"u"){let w;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?a.isScrolling=!1:p*p+f*f>=25&&(w=Math.atan2(Math.abs(f),Math.abs(p))*180/Math.PI,a.isScrolling=s.isHorizontal()?w>n.touchAngle:90-w>n.touchAngle)}if(a.isScrolling&&s.emit("touchMoveOpposite",l),typeof a.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(a.startMoving=!0),a.isScrolling||l.type==="touchmove"&&a.preventTouchMoveFromPointerMove){a.isTouched=!1;return}if(!a.startMoving)return;s.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation();let _=s.isHorizontal()?p:f,h=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(_=Math.abs(_)*(o?1:-1),h=Math.abs(h)*(o?1:-1)),r.diff=_,_*=n.touchRatio,o&&(_=-_,h=-h);const y=s.touchesDirection;s.swipeDirection=_>0?"prev":"next",s.touchesDirection=h>0?"prev":"next";const m=s.params.loop&&!n.cssMode,v=s.touchesDirection==="next"&&s.allowSlideNext||s.touchesDirection==="prev"&&s.allowSlidePrev;if(!a.isMoved){if(m&&v&&s.loopFix({direction:s.swipeDirection}),a.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const w=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(w)}a.allowMomentumBounce=!1,n.grabCursor&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",l)}if(new Date().getTime(),n._loopSwapReset!==!1&&a.isMoved&&a.allowThresholdMove&&y!==s.touchesDirection&&m&&v&&Math.abs(_)>=1){Object.assign(r,{startX:c,startY:b,currentX:c,currentY:b,startTranslate:a.currentTranslate}),a.loopSwapReset=!0,a.startTranslate=a.currentTranslate;return}s.emit("sliderMove",l),a.isMoved=!0,a.currentTranslate=_+a.startTranslate;let g=!0,k=n.resistanceRatio;if(n.touchReleaseOnEdges&&(k=0),_>0?(m&&v&&a.allowThresholdMove&&a.currentTranslate>(n.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-(n.slidesPerView!=="auto"&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),a.currentTranslate>s.minTranslate()&&(g=!1,n.resistance&&(a.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+a.startTranslate+_)**k))):_<0&&(m&&v&&a.allowThresholdMove&&a.currentTranslate<(n.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+(n.slidesPerView!=="auto"&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-(n.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),a.currentTranslate<s.maxTranslate()&&(g=!1,n.resistance&&(a.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-a.startTranslate-_)**k))),g&&(l.preventedByNestedSwiper=!0),!s.allowSlideNext&&s.swipeDirection==="next"&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!s.allowSlidePrev&&s.swipeDirection==="prev"&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),!s.allowSlidePrev&&!s.allowSlideNext&&(a.currentTranslate=a.startTranslate),n.threshold>0)if(Math.abs(_)>n.threshold||a.allowThresholdMove){if(!a.allowThresholdMove){a.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,a.currentTranslate=a.startTranslate,r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{a.currentTranslate=a.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(a.currentTranslate),s.setTranslate(a.currentTranslate))}function BE(t){const e=this,s=e.touchEventsData;let a=t;a.originalEvent&&(a=a.originalEvent);let n;if(a.type==="touchend"||a.type==="touchcancel"){if(n=[...a.changedTouches].find(w=>w.identifier===s.touchId),!n||n.identifier!==s.touchId)return}else{if(s.touchId!==null||a.pointerId!==s.pointerId)return;n=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&!(["pointercancel","contextmenu"].includes(a.type)&&(e.browser.isSafari||e.browser.isWebView)))return;s.pointerId=null,s.touchId=null;const{params:o,touches:u,rtlTranslate:l,slidesGrid:d,enabled:c}=e;if(!c||!o.simulateTouch&&a.pointerType==="mouse")return;if(s.allowTouchCallbacks&&e.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched){s.isMoved&&o.grabCursor&&e.setGrabCursor(!1),s.isMoved=!1,s.startMoving=!1;return}o.grabCursor&&s.isMoved&&s.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const b=Ai(),p=b-s.touchStartTime;if(e.allowClick){const w=a.path||a.composedPath&&a.composedPath();e.updateClickedSlide(w&&w[0]||a.target,w),e.emit("tap click",a),p<300&&b-s.lastClickTime<300&&e.emit("doubleTap doubleClick",a)}if(s.lastClickTime=Ai(),jo(()=>{e.destroyed||(e.allowClick=!0)}),!s.isTouched||!s.isMoved||!e.swipeDirection||u.diff===0&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset){s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;return}s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;let f;if(o.followFinger?f=l?e.translate:-e.translate:f=-s.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const _=f>=-e.maxTranslate()&&!e.params.loop;let h=0,y=e.slidesSizesGrid[0];for(let w=0;w<d.length;w+=w<o.slidesPerGroupSkip?1:o.slidesPerGroup){const A=w<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;typeof d[w+A]<"u"?(_||f>=d[w]&&f<d[w+A])&&(h=w,y=d[w+A]-d[w]):(_||f>=d[w])&&(h=w,y=d[d.length-1]-d[d.length-2])}let m=null,v=null;o.rewind&&(e.isBeginning?v=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const g=(f-d[h])/y,k=h<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(p>o.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?m:h+k):e.slideTo(h)),e.swipeDirection==="prev"&&(g>1-o.longSwipesRatio?e.slideTo(h+k):v!==null&&g<0&&Math.abs(g)>o.longSwipesRatio?e.slideTo(v):e.slideTo(h))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(a.target===e.navigation.nextEl||a.target===e.navigation.prevEl)?a.target===e.navigation.nextEl?e.slideTo(h+k):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:h+k),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:h))}}function f0(){const t=this,{params:e,el:s}=t;if(s&&s.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:n,snapGrid:r}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const u=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!u?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=a,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function FE(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function GE(){const t=this,{wrapperEl:e,rtlTranslate:s,enabled:a}=t;if(!a)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(s?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function UE(t){const e=this;$r(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function qE(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const q3=(t,e)=>{const s=pa(),{params:a,el:n,wrapperEl:r,device:o}=t,u=!!a.nested,l=e==="on"?"addEventListener":"removeEventListener",d=e;!n||typeof n=="string"||(s[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:u}),n[l]("touchstart",t.onTouchStart,{passive:!1}),n[l]("pointerdown",t.onTouchStart,{passive:!1}),s[l]("touchmove",t.onTouchMove,{passive:!1,capture:u}),s[l]("pointermove",t.onTouchMove,{passive:!1,capture:u}),s[l]("touchend",t.onTouchEnd,{passive:!0}),s[l]("pointerup",t.onTouchEnd,{passive:!0}),s[l]("pointercancel",t.onTouchEnd,{passive:!0}),s[l]("touchcancel",t.onTouchEnd,{passive:!0}),s[l]("pointerout",t.onTouchEnd,{passive:!0}),s[l]("pointerleave",t.onTouchEnd,{passive:!0}),s[l]("contextmenu",t.onTouchEnd,{passive:!0}),(a.preventClicks||a.preventClicksPropagation)&&n[l]("click",t.onClick,!0),a.cssMode&&r[l]("scroll",t.onScroll),a.updateOnWindowResize?t[d](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",f0,!0):t[d]("observerUpdate",f0,!0),n[l]("load",t.onLoad,{capture:!0}))};function VE(){const t=this,{params:e}=t;t.onTouchStart=OE.bind(t),t.onTouchMove=NE.bind(t),t.onTouchEnd=BE.bind(t),t.onDocumentTouchStart=qE.bind(t),e.cssMode&&(t.onScroll=GE.bind(t)),t.onClick=FE.bind(t),t.onLoad=UE.bind(t),q3(t,"on")}function HE(){q3(this,"off")}var WE={attachEvents:VE,detachEvents:HE};const v0=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function KE(){const t=this,{realIndex:e,initialized:s,params:a,el:n}=t,r=a.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const o=pa(),u=a.breakpointsBase==="window"||!a.breakpointsBase?a.breakpointsBase:"container",l=["window","container"].includes(a.breakpointsBase)||!a.breakpointsBase?t.el:o.querySelector(a.breakpointsBase),d=t.getBreakpoint(r,u,l);if(!d||t.currentBreakpoint===d)return;const b=(d in r?r[d]:void 0)||t.originalParams,p=v0(t,a),f=v0(t,b),_=t.params.grabCursor,h=b.grabCursor,y=a.enabled;p&&!f?(n.classList.remove(`${a.containerModifierClass}grid`,`${a.containerModifierClass}grid-column`),t.emitContainerClasses()):!p&&f&&(n.classList.add(`${a.containerModifierClass}grid`),(b.grid.fill&&b.grid.fill==="column"||!b.grid.fill&&a.grid.fill==="column")&&n.classList.add(`${a.containerModifierClass}grid-column`),t.emitContainerClasses()),_&&!h?t.unsetGrabCursor():!_&&h&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(A=>{if(typeof b[A]>"u")return;const z=a[A]&&a[A].enabled,S=b[A]&&b[A].enabled;z&&!S&&t[A].disable(),!z&&S&&t[A].enable()});const m=b.direction&&b.direction!==a.direction,v=a.loop&&(b.slidesPerView!==a.slidesPerView||m),g=a.loop;m&&s&&t.changeDirection(),bi(t.params,b);const k=t.params.enabled,w=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!k?t.disable():!y&&k&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",b),s&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!g&&w?(t.loopCreate(e),t.updateSlides()):g&&!w&&t.loopDestroy()),t.emit("breakpoint",b)}function $E(t,e="window",s){if(!t||e==="container"&&!s)return;let a=!1;const n=Ze(),r=e==="window"?n.innerHeight:s.clientHeight,o=Object.keys(t).map(u=>{if(typeof u=="string"&&u.indexOf("@")===0){const l=parseFloat(u.substr(1));return{value:r*l,point:u}}return{value:u,point:u}});o.sort((u,l)=>parseInt(u.value,10)-parseInt(l.value,10));for(let u=0;u<o.length;u+=1){const{point:l,value:d}=o[u];e==="window"?n.matchMedia(`(min-width: ${d}px)`).matches&&(a=l):d<=s.clientWidth&&(a=l)}return a||"max"}var YE={setBreakpoint:KE,getBreakpoint:$E};function XE(t,e){const s=[];return t.forEach(a=>{typeof a=="object"?Object.keys(a).forEach(n=>{a[n]&&s.push(e+n)}):typeof a=="string"&&s.push(e+a)}),s}function ZE(){const t=this,{classNames:e,params:s,rtl:a,el:n,device:r}=t,o=XE(["initialized",s.direction,{"free-mode":t.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&s.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);e.push(...o),n.classList.add(...e),t.emitContainerClasses()}function QE(){const t=this,{el:e,classNames:s}=t;!e||typeof e=="string"||(e.classList.remove(...s),t.emitContainerClasses())}var JE={addClasses:ZE,removeClasses:QE};function tC(){const t=this,{isLocked:e,params:s}=t,{slidesOffsetBefore:a}=s;if(a){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+a*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;s.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),s.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var eC={checkOverflow:tC},Qu={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function iC(t,e){return function(a={}){const n=Object.keys(a)[0],r=a[n];if(typeof r!="object"||r===null){bi(e,a);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){bi(e,a);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),bi(e,a)}}const Hl={eventsEmitter:Jj,update:dE,translate:vE,transition:yE,slide:jE,loop:xE,grabCursor:LE,events:WE,breakpoints:YE,checkOverflow:eC,classes:JE},Wl={};let el=class ls{constructor(...e){let s,a;e.length===1&&e[0].constructor&&Object.prototype.toString.call(e[0]).slice(8,-1)==="Object"?a=e[0]:[s,a]=e,a||(a={}),a=bi({},a),s&&!a.el&&(a.el=s);const n=pa();if(a.el&&typeof a.el=="string"&&n.querySelectorAll(a.el).length>1){const l=[];return n.querySelectorAll(a.el).forEach(d=>{const c=bi({},a,{el:d});l.push(new ls(c))}),l}const r=this;r.__swiper__=!0,r.support=B3(),r.device=F3({userAgent:a.userAgent}),r.browser=G3(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],a.modules&&Array.isArray(a.modules)&&r.modules.push(...a.modules);const o={};r.modules.forEach(l=>{l({params:a,swiper:r,extendParams:iC(a,o),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const u=bi({},Qu,o);return r.params=bi({},u,Wl,a),r.originalParams=bi({},r.params),r.passedParams=bi({},a),r.params&&r.params.on&&Object.keys(r.params.on).forEach(l=>{r.on(l,r.params.on[l])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:s,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:s,params:a}=this,n=Ji(s,`.${a.slideClass}, swiper-slide`),r=Mo(n[0]);return Mo(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(s=>s.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:s,params:a}=e;e.slides=Ji(s,`.${a.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,s){const a=this;e=Math.min(Math.max(e,0),1);const n=a.minTranslate(),o=(a.maxTranslate()-n)*e+n;a.translateTo(o,typeof s>"u"?0:s),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=e.el.className.split(" ").filter(a=>a.indexOf("swiper")===0||a.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",s.join(" "))}getSlideClasses(e){const s=this;return s.destroyed?"":e.className.split(" ").filter(a=>a.indexOf("swiper-slide")===0||a.indexOf(s.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=[];e.slides.forEach(a=>{const n=e.getSlideClasses(a);s.push({slideEl:a,classNames:n}),e.emit("_slideClass",a,n)}),e.emit("_slideClasses",s)}slidesPerViewDynamic(e="current",s=!1){const a=this,{params:n,slides:r,slidesGrid:o,slidesSizesGrid:u,size:l,activeIndex:d}=a;let c=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let b=r[d]?Math.ceil(r[d].swiperSlideSize):0,p;for(let f=d+1;f<r.length;f+=1)r[f]&&!p&&(b+=Math.ceil(r[f].swiperSlideSize),c+=1,b>l&&(p=!0));for(let f=d-1;f>=0;f-=1)r[f]&&!p&&(b+=r[f].swiperSlideSize,c+=1,b>l&&(p=!0))}else if(e==="current")for(let b=d+1;b<r.length;b+=1)(s?o[b]+u[b]-o[d]<l:o[b]-o[d]<l)&&(c+=1);else for(let b=d-1;b>=0;b-=1)o[d]-o[b]<l&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:s,params:a}=e;a.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(o=>{o.complete&&$r(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){const o=e.rtlTranslate?e.translate*-1:e.translate,u=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(u),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(a.freeMode&&a.freeMode.enabled&&!a.cssMode)n(),a.autoHeight&&e.updateAutoHeight();else{if((a.slidesPerView==="auto"||a.slidesPerView>1)&&e.isEnd&&!a.centeredSlides){const o=e.virtual&&a.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(o.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}a.watchOverflow&&s!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,s=!0){const a=this,n=a.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(a.el.classList.remove(`${a.params.containerModifierClass}${n}`),a.el.classList.add(`${a.params.containerModifierClass}${e}`),a.emitContainerClasses(),a.params.direction=e,a.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),a.emit("changeDirection"),s&&a.update()),a}changeLanguageDirection(e){const s=this;s.rtl&&e==="rtl"||!s.rtl&&e==="ltr"||(s.rtl=e==="rtl",s.rtlTranslate=s.params.direction==="horizontal"&&s.rtl,s.rtl?(s.el.classList.add(`${s.params.containerModifierClass}rtl`),s.el.dir="rtl"):(s.el.classList.remove(`${s.params.containerModifierClass}rtl`),s.el.dir="ltr"),s.update())}mount(e){const s=this;if(s.mounted)return!0;let a=e||s.params.el;if(typeof a=="string"&&(a=document.querySelector(a)),!a)return!1;a.swiper=s,a.parentNode&&a.parentNode.host&&a.parentNode.host.nodeName===s.params.swiperElementNodeName.toUpperCase()&&(s.isElement=!0);const n=()=>`.${(s.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=a&&a.shadowRoot&&a.shadowRoot.querySelector?a.shadowRoot.querySelector(n()):Ji(a,n())[0];return!o&&s.params.createElements&&(o=Co("div",s.params.wrapperClass),a.append(o),Ji(a,`.${s.params.slideClass}`).forEach(u=>{o.append(u)})),Object.assign(s,{el:a,wrapperEl:o,slidesEl:s.isElement&&!a.parentNode.host.slideSlots?a.parentNode.host:o,hostEl:s.isElement?a.parentNode.host:a,mounted:!0,rtl:a.dir.toLowerCase()==="rtl"||Ms(a,"direction")==="rtl",rtlTranslate:s.params.direction==="horizontal"&&(a.dir.toLowerCase()==="rtl"||Ms(a,"direction")==="rtl"),wrongRTL:Ms(o,"display")==="-webkit-box"}),!0}init(e){const s=this;if(s.initialized||s.mount(e)===!1)return s;s.emit("beforeInit"),s.params.breakpoints&&s.setBreakpoint(),s.addClasses(),s.updateSize(),s.updateSlides(),s.params.watchOverflow&&s.checkOverflow(),s.params.grabCursor&&s.enabled&&s.setGrabCursor(),s.params.loop&&s.virtual&&s.params.virtual.enabled?s.slideTo(s.params.initialSlide+s.virtual.slidesBefore,0,s.params.runCallbacksOnInit,!1,!0):s.slideTo(s.params.initialSlide,0,s.params.runCallbacksOnInit,!1,!0),s.params.loop&&s.loopCreate(void 0,!0),s.attachEvents();const n=[...s.el.querySelectorAll('[loading="lazy"]')];return s.isElement&&n.push(...s.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?$r(s,r):r.addEventListener("load",o=>{$r(s,o.target)})}),Zu(s),s.initialized=!0,Zu(s),s.emit("init"),s.emit("afterInit"),s}destroy(e=!0,s=!0){const a=this,{params:n,el:r,wrapperEl:o,slides:u}=a;return typeof a.params>"u"||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),n.loop&&a.loopDestroy(),s&&(a.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),o&&o.removeAttribute("style"),u&&u.length&&u.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(l=>{a.off(l)}),e!==!1&&(a.el&&typeof a.el!="string"&&(a.el.swiper=null),Fj(a)),a.destroyed=!0),null}static extendDefaults(e){bi(Wl,e)}static get extendedDefaults(){return Wl}static get defaults(){return Qu}static installModule(e){ls.prototype.__modules__||(ls.prototype.__modules__=[]);const s=ls.prototype.__modules__;typeof e=="function"&&s.indexOf(e)<0&&s.push(e)}static use(e){return Array.isArray(e)?(e.forEach(s=>ls.installModule(s)),ls):(ls.installModule(e),ls)}};Object.keys(Hl).forEach(t=>{Object.keys(Hl[t]).forEach(e=>{el.prototype[e]=Hl[t][e]})});el.use([Zj,Qj]);const V3=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function la(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function qa(t,e){const s=["__proto__","constructor","prototype"];Object.keys(e).filter(a=>s.indexOf(a)<0).forEach(a=>{typeof t[a]>"u"?t[a]=e[a]:la(e[a])&&la(t[a])&&Object.keys(e[a]).length>0?e[a].__swiper__?t[a]=e[a]:qa(t[a],e[a]):t[a]=e[a]})}function H3(t={}){return t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function W3(t={}){return t.pagination&&typeof t.pagination.el>"u"}function K3(t={}){return t.scrollbar&&typeof t.scrollbar.el>"u"}function $3(t=""){const e=t.split(" ").map(a=>a.trim()).filter(a=>!!a),s=[];return e.forEach(a=>{s.indexOf(a)<0&&s.push(a)}),s.join(" ")}function sC(t=""){return t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function aC({swiper:t,slides:e,passedParams:s,changedParams:a,nextEl:n,prevEl:r,scrollbarEl:o,paginationEl:u}){const l=a.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:d,pagination:c,navigation:b,scrollbar:p,virtual:f,thumbs:_}=t;let h,y,m,v,g,k,w,A;a.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&!s.thumbs.swiper.destroyed&&d.thumbs&&(!d.thumbs.swiper||d.thumbs.swiper.destroyed)&&(h=!0),a.includes("controller")&&s.controller&&s.controller.control&&d.controller&&!d.controller.control&&(y=!0),a.includes("pagination")&&s.pagination&&(s.pagination.el||u)&&(d.pagination||d.pagination===!1)&&c&&!c.el&&(m=!0),a.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&p&&!p.el&&(v=!0),a.includes("navigation")&&s.navigation&&(s.navigation.prevEl||r)&&(s.navigation.nextEl||n)&&(d.navigation||d.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(g=!0);const z=S=>{t[S]&&(t[S].destroy(),S==="navigation"?(t.isElement&&(t[S].prevEl.remove(),t[S].nextEl.remove()),d[S].prevEl=void 0,d[S].nextEl=void 0,t[S].prevEl=void 0,t[S].nextEl=void 0):(t.isElement&&t[S].el.remove(),d[S].el=void 0,t[S].el=void 0))};a.includes("loop")&&t.isElement&&(d.loop&&!s.loop?k=!0:!d.loop&&s.loop?w=!0:A=!0),l.forEach(S=>{if(la(d[S])&&la(s[S]))Object.assign(d[S],s[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in s[S]&&!s[S].enabled&&z(S);else{const I=s[S];(I===!0||I===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?I===!1&&z(S):d[S]=s[S]}}),l.includes("controller")&&!y&&t.controller&&t.controller.control&&d.controller&&d.controller.control&&(t.controller.control=d.controller.control),a.includes("children")&&e&&f&&d.virtual.enabled?(f.slides=e,f.update(!0)):a.includes("virtual")&&f&&d.virtual.enabled&&(e&&(f.slides=e),f.update(!0)),a.includes("children")&&e&&d.loop&&(A=!0),h&&_.init()&&_.update(!0),y&&(t.controller.control=d.controller.control),m&&(t.isElement&&(!u||typeof u=="string")&&(u=document.createElement("div"),u.classList.add("swiper-pagination"),u.part.add("pagination"),t.el.appendChild(u)),u&&(d.pagination.el=u),c.init(),c.render(),c.update()),v&&(t.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),t.el.appendChild(o)),o&&(d.scrollbar.el=o),p.init(),p.updateSize(),p.setTranslate()),g&&(t.isElement&&((!n||typeof n=="string")&&(n=document.createElement("div"),n.classList.add("swiper-button-next"),ar(n,t.navigation.arrowSvg),n.part.add("button-next"),t.el.appendChild(n)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),ar(r,t.navigation.arrowSvg),r.part.add("button-prev"),t.el.appendChild(r))),n&&(d.navigation.nextEl=n),r&&(d.navigation.prevEl=r),b.init(),b.update()),a.includes("allowSlideNext")&&(t.allowSlideNext=s.allowSlideNext),a.includes("allowSlidePrev")&&(t.allowSlidePrev=s.allowSlidePrev),a.includes("direction")&&t.changeDirection(s.direction,!1),(k||A)&&t.loopDestroy(),(w||A)&&t.loopCreate(),t.update()}function _0(t={},e=!0){const s={on:{}},a={},n={};qa(s,Qu),s._emitClasses=!0,s.init=!1;const r={},o=V3.map(l=>l.replace(/_/,"")),u=Object.assign({},t);return Object.keys(u).forEach(l=>{typeof t[l]>"u"||(o.indexOf(l)>=0?la(t[l])?(s[l]={},n[l]={},qa(s[l],t[l]),qa(n[l],t[l])):(s[l]=t[l],n[l]=t[l]):l.search(/on[A-Z]/)===0&&typeof t[l]=="function"?e?a[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:s.on[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:r[l]=t[l])}),["navigation","pagination","scrollbar"].forEach(l=>{s[l]===!0&&(s[l]={}),s[l]===!1&&delete s[l]}),{params:s,passedParams:n,rest:r,events:a}}function nC({el:t,nextEl:e,prevEl:s,paginationEl:a,scrollbarEl:n,swiper:r},o){H3(o)&&e&&s&&(r.params.navigation.nextEl=e,r.originalParams.navigation.nextEl=e,r.params.navigation.prevEl=s,r.originalParams.navigation.prevEl=s),W3(o)&&a&&(r.params.pagination.el=a,r.originalParams.pagination.el=a),K3(o)&&n&&(r.params.scrollbar.el=n,r.originalParams.scrollbar.el=n),r.init(t)}function rC(t,e,s,a,n){const r=[];if(!e)return r;const o=l=>{r.indexOf(l)<0&&r.push(l)};if(s&&a){const l=a.map(n),d=s.map(n);l.join("")!==d.join("")&&o("children"),a.length!==s.length&&o("children")}return V3.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in t&&l in e)if(la(t[l])&&la(e[l])){const d=Object.keys(t[l]),c=Object.keys(e[l]);d.length!==c.length?o(l):(d.forEach(b=>{t[l][b]!==e[l][b]&&o(l)}),c.forEach(b=>{t[l][b]!==e[l][b]&&o(l)}))}else t[l]!==e[l]&&o(l)}),r}const oC=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.emit("_virtualUpdated"),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Kl(t={},e,s){const a=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},r=(o,u)=>{Array.isArray(o)&&o.forEach(l=>{const d=typeof l.type=="symbol";u==="default"&&(u="container-end"),d&&l.children?r(l.children,u):l.type&&(l.type.name==="SwiperSlide"||l.type.name==="AsyncComponentWrapper")||l.componentOptions&&l.componentOptions.tag==="SwiperSlide"?a.push(l):n[u]&&n[u].push(l)})};return Object.keys(t).forEach(o=>{if(typeof t[o]!="function")return;const u=t[o]();r(u,o)}),s.value=e.value,e.value=a,{slides:a,slots:n}}function lC(t,e,s){if(!s)return null;const a=c=>{let b=c;return c<0?b=e.length+c:b>=e.length&&(b=b-e.length),b},n=t.value.isHorizontal()?{[t.value.rtlTranslate?"right":"left"]:`${s.offset}px`}:{top:`${s.offset}px`},{from:r,to:o}=s,u=t.value.params.loop?-e.length:0,l=t.value.params.loop?e.length*2:e.length,d=[];for(let c=u;c<l;c+=1)c>=r&&c<=o&&d.length<e.length&&d.push(e[a(c)]);return d.map(c=>{if(c.props||(c.props={}),c.props.style||(c.props.style={}),c.props.swiperRef=t,c.props.style=n,c.type)return oe(c.type,{...c.props},c.children);if(c.componentOptions)return oe(c.componentOptions.Ctor,{...c.props},c.componentOptions.children)})}const uC={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},breakpointsBase:{type:String,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},loopAdditionalSlides:{type:Number,default:void 0},loopAddBlankSlides:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","_virtualUpdated","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(t,{slots:e,emit:s}){const{tag:a,wrapperTag:n}=t,r=st("swiper"),o=st(null),u=st(!1),l=st(!1),d=st(null),c=st(null),b=st(null),p={value:[]},f={value:[]},_=st(null),h=st(null),y=st(null),m=st(null),{params:v,passedParams:g}=_0(t,!1);Kl(e,p,f),b.value=g,f.value=p.value;const k=()=>{Kl(e,p,f),u.value=!0};v.onAny=(z,...S)=>{s(z,...S)},Object.assign(v.on,{_beforeBreakpoint:k,_containerClasses(z,S){r.value=S}});const w={...v};if(delete w.wrapperClass,c.value=new el(w),c.value.virtual&&c.value.params.virtual.enabled){c.value.virtual.slides=p.value;const z={cache:!1,slides:p.value,renderExternal:S=>{o.value=S},renderExternalUpdate:!1};qa(c.value.params.virtual,z),qa(c.value.originalParams.virtual,z)}or(()=>{!l.value&&c.value&&(c.value.emitSlidesClasses(),l.value=!0);const{passedParams:z}=_0(t,!1),S=rC(z,b.value,p.value,f.value,I=>I.props&&I.props.key);b.value=z,(S.length||u.value)&&c.value&&!c.value.destroyed&&aC({swiper:c.value,slides:p.value,passedParams:z,changedParams:S,nextEl:_.value,prevEl:h.value,scrollbarEl:m.value,paginationEl:y.value}),u.value=!1}),Fe("swiper",c),At(o,()=>{Ce(()=>{oC(c.value)})}),Xe(()=>{d.value&&(nC({el:d.value,nextEl:_.value,prevEl:h.value,paginationEl:y.value,scrollbarEl:m.value,swiper:c.value},v),s("swiper",c.value))}),Ge(()=>{c.value&&!c.value.destroyed&&c.value.destroy(!0,!1)});function A(z){return v.virtual?lC(c,z,o.value):(z.forEach((S,I)=>{S.props||(S.props={}),S.props.swiperRef=c,S.props.swiperSlideIndex=I}),z)}return()=>{const{slides:z,slots:S}=Kl(e,p,f);return oe(a,{ref:d,class:$3(r.value)},[S["container-start"],oe(n,{class:sC(v.wrapperClass)},[S["wrapper-start"],A(z),S["wrapper-end"]]),H3(t)&&[oe("div",{ref:h,class:"swiper-button-prev"}),oe("div",{ref:_,class:"swiper-button-next"})],K3(t)&&oe("div",{ref:m,class:"swiper-scrollbar"}),W3(t)&&oe("div",{ref:y,class:"swiper-pagination"}),S["container-end"]])}}},dC={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(t,{slots:e}){let s=!1;const{swiperRef:a}=t,n=st(null),r=st("swiper-slide"),o=st(!1);function u(c,b,p){b===n.value&&(r.value=p)}Xe(()=>{!a||!a.value||(a.value.on("_slideClass",u),s=!0)}),pd(()=>{s||!a||!a.value||(a.value.on("_slideClass",u),s=!0)}),or(()=>{!n.value||!a||!a.value||(typeof t.swiperSlideIndex<"u"&&(n.value.swiperSlideIndex=t.swiperSlideIndex),a.value.destroyed&&r.value!=="swiper-slide"&&(r.value="swiper-slide"))}),Ge(()=>{!a||!a.value||a.value.off("_slideClass",u)});const l=G(()=>({isActive:r.value.indexOf("swiper-slide-active")>=0,isVisible:r.value.indexOf("swiper-slide-visible")>=0,isPrev:r.value.indexOf("swiper-slide-prev")>=0,isNext:r.value.indexOf("swiper-slide-next")>=0}));Fe("swiperSlide",l);const d=()=>{o.value=!0};return()=>oe(t.tag,{class:$3(`${r.value}`),ref:n,"data-swiper-slide-index":typeof t.virtualIndex>"u"&&a&&a.value&&a.value.params.loop?t.swiperSlideIndex:t.virtualIndex,onLoadCapture:d},t.zoom?oe("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof t.zoom=="number"?t.zoom:void 0},[e.default&&e.default(l.value),t.lazy&&!o.value&&oe("div",{class:"swiper-lazy-preloader"})]):[e.default&&e.default(l.value),t.lazy&&!o.value&&oe("div",{class:"swiper-lazy-preloader"})])}};function cC({swiper:t,extendParams:e,on:s,emit:a}){const n=Ze();e({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let r,o=Ai(),u;const l=[];function d(v){let A=0,z=0,S=0,I=0;return"detail"in v&&(z=v.detail),"wheelDelta"in v&&(z=-v.wheelDelta/120),"wheelDeltaY"in v&&(z=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(A=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(A=z,z=0),S=A*10,I=z*10,"deltaY"in v&&(I=v.deltaY),"deltaX"in v&&(S=v.deltaX),v.shiftKey&&!S&&(S=I,I=0),(S||I)&&v.deltaMode&&(v.deltaMode===1?(S*=40,I*=40):(S*=800,I*=800)),S&&!A&&(A=S<1?-1:1),I&&!z&&(z=I<1?-1:1),{spinX:A,spinY:z,pixelX:S,pixelY:I}}function c(){t.enabled&&(t.mouseEntered=!0)}function b(){t.enabled&&(t.mouseEntered=!1)}function p(v){return t.params.mousewheel.thresholdDelta&&v.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&Ai()-o<t.params.mousewheel.thresholdTime?!1:v.delta>=6&&Ai()-o<60?!0:(v.direction<0?(!t.isEnd||t.params.loop)&&!t.animating&&(t.slideNext(),a("scroll",v.raw)):(!t.isBeginning||t.params.loop)&&!t.animating&&(t.slidePrev(),a("scroll",v.raw)),o=new n.Date().getTime(),!1)}function f(v){const g=t.params.mousewheel;if(v.direction<0){if(t.isEnd&&!t.params.loop&&g.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&g.releaseOnEdges)return!0;return!1}function _(v){let g=v,k=!0;if(!t.enabled||v.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const w=t.params.mousewheel;t.params.cssMode&&g.preventDefault();let A=t.el;t.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(t.params.mousewheel.eventsTarget));const z=A&&A.contains(g.target);if(!t.mouseEntered&&!z&&!w.releaseOnEdges)return!0;g.originalEvent&&(g=g.originalEvent);let S=0;const I=t.rtlTranslate?-1:1,E=d(g);if(w.forceToAxis)if(t.isHorizontal())if(Math.abs(E.pixelX)>Math.abs(E.pixelY))S=-E.pixelX*I;else return!0;else if(Math.abs(E.pixelY)>Math.abs(E.pixelX))S=-E.pixelY;else return!0;else S=Math.abs(E.pixelX)>Math.abs(E.pixelY)?-E.pixelX*I:-E.pixelY;if(S===0)return!0;w.invert&&(S=-S);let D=t.getTranslate()+S*w.sensitivity;if(D>=t.minTranslate()&&(D=t.minTranslate()),D<=t.maxTranslate()&&(D=t.maxTranslate()),k=t.params.loop?!0:!(D===t.minTranslate()||D===t.maxTranslate()),k&&t.params.nested&&g.stopPropagation(),!t.params.freeMode||!t.params.freeMode.enabled){const M={time:Ai(),delta:Math.abs(S),direction:Math.sign(S),raw:v};l.length>=2&&l.shift();const N=l.length?l[l.length-1]:void 0;if(l.push(M),N?(M.direction!==N.direction||M.delta>N.delta||M.time>N.time+150)&&p(M):p(M),f(M))return!0}else{const M={time:Ai(),delta:Math.abs(S),direction:Math.sign(S)},N=u&&M.time<u.time+500&&M.delta<=u.delta&&M.direction===u.direction;if(!N){u=void 0;let V=t.getTranslate()+S*w.sensitivity;const it=t.isBeginning,ct=t.isEnd;if(V>=t.minTranslate()&&(V=t.minTranslate()),V<=t.maxTranslate()&&(V=t.maxTranslate()),t.setTransition(0),t.setTranslate(V),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!it&&t.isBeginning||!ct&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:M.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(r),r=void 0,l.length>=15&&l.shift();const ot=l.length?l[l.length-1]:void 0,tt=l[0];if(l.push(M),ot&&(M.delta>ot.delta||M.direction!==ot.direction))l.splice(0);else if(l.length>=15&&M.time-tt.time<500&&tt.delta-M.delta>=1&&M.delta<=6){const _t=S>0?.8:.2;u=M,l.splice(0),r=jo(()=>{t.destroyed||!t.params||t.slideToClosest(t.params.speed,!0,void 0,_t)},0)}r||(r=jo(()=>{if(t.destroyed||!t.params)return;const _t=.5;u=M,l.splice(0),t.slideToClosest(t.params.speed,!0,void 0,_t)},500))}if(N||a("scroll",g),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),w.releaseOnEdges&&(V===t.minTranslate()||V===t.maxTranslate()))return!0}}return g.preventDefault?g.preventDefault():g.returnValue=!1,!1}function h(v){let g=t.el;t.params.mousewheel.eventsTarget!=="container"&&(g=document.querySelector(t.params.mousewheel.eventsTarget)),g[v]("mouseenter",c),g[v]("mouseleave",b),g[v]("wheel",_)}function y(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",_),!0):t.mousewheel.enabled?!1:(h("addEventListener"),t.mousewheel.enabled=!0,!0)}function m(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,_),!0):t.mousewheel.enabled?(h("removeEventListener"),t.mousewheel.enabled=!1,!0):!1}s("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&m(),t.params.mousewheel.enabled&&y()}),s("destroy",()=>{t.params.cssMode&&y(),t.mousewheel.enabled&&m()}),Object.assign(t.mousewheel,{enable:y,disable:m})}function Y3(t,e,s,a){return t.params.createElements&&Object.keys(a).forEach(n=>{if(!s[n]&&s.auto===!0){let r=Ji(t.el,`.${a[n]}`)[0];r||(r=Co("div",a[n]),r.className=a[n],t.el.append(r)),s[n]=r,e[n]=r}}),s}const g0='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function bC({swiper:t,extendParams:e,on:s,emit:a}){e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null,arrowSvg:g0};function n(f){let _;return f&&typeof f=="string"&&t.isElement&&(_=t.el.querySelector(f)||t.hostEl.querySelector(f),_)?_:(f&&(typeof f=="string"&&(_=[...document.querySelectorAll(f)]),t.params.uniqueNavElements&&typeof f=="string"&&_&&_.length>1&&t.el.querySelectorAll(f).length===1?_=t.el.querySelector(f):_&&_.length===1&&(_=_[0])),f&&!_?f:_)}function r(f,_){const h=t.params.navigation;f=De(f),f.forEach(y=>{y&&(y.classList[_?"add":"remove"](...h.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=_),t.params.watchOverflow&&t.enabled&&y.classList[t.isLocked?"add":"remove"](h.lockClass))})}function o(){const{nextEl:f,prevEl:_}=t.navigation;if(t.params.loop){r(_,!1),r(f,!1);return}r(_,t.isBeginning&&!t.params.rewind),r(f,t.isEnd&&!t.params.rewind)}function u(f){f.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function l(f){f.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function d(){const f=t.params.navigation;if(t.params.navigation=Y3(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(f.nextEl||f.prevEl))return;let _=n(f.nextEl),h=n(f.prevEl);Object.assign(t.navigation,{nextEl:_,prevEl:h}),_=De(_),h=De(h);const y=(m,v)=>{if(m){if(f.addIcons&&m.matches(".swiper-button-next,.swiper-button-prev")&&!m.querySelector("svg")){const g=document.createElement("div");ar(g,g0),m.appendChild(g.querySelector("svg")),g.remove()}m.addEventListener("click",v==="next"?l:u)}!t.enabled&&m&&m.classList.add(...f.lockClass.split(" "))};_.forEach(m=>y(m,"next")),h.forEach(m=>y(m,"prev"))}function c(){let{nextEl:f,prevEl:_}=t.navigation;f=De(f),_=De(_);const h=(y,m)=>{y.removeEventListener("click",m==="next"?l:u),y.classList.remove(...t.params.navigation.disabledClass.split(" "))};f.forEach(y=>h(y,"next")),_.forEach(y=>h(y,"prev"))}s("init",()=>{t.params.navigation.enabled===!1?p():(d(),o())}),s("toEdge fromEdge lock unlock",()=>{o()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{nextEl:f,prevEl:_}=t.navigation;if(f=De(f),_=De(_),t.enabled){o();return}[...f,..._].filter(h=>!!h).forEach(h=>h.classList.add(t.params.navigation.lockClass))}),s("click",(f,_)=>{let{nextEl:h,prevEl:y}=t.navigation;h=De(h),y=De(y);const m=_.target;let v=y.includes(m)||h.includes(m);if(t.isElement&&!v){const g=_.path||_.composedPath&&_.composedPath();g&&(v=g.find(k=>h.includes(k)||y.includes(k)))}if(t.params.navigation.hideOnClick&&!v){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===m||t.pagination.el.contains(m)))return;let g;h.length?g=h[0].classList.contains(t.params.navigation.hiddenClass):y.length&&(g=y[0].classList.contains(t.params.navigation.hiddenClass)),a(g===!0?"navigationShow":"navigationHide"),[...h,...y].filter(k=>!!k).forEach(k=>k.classList.toggle(t.params.navigation.hiddenClass))}});const b=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),o()},p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(t.navigation,{enable:b,disable:p,update:o,init:d,destroy:c})}function gn(t=""){return`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function pC({swiper:t,extendParams:e,on:s,emit:a}){const n="swiper-pagination";e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:m=>m,formatFractionTotal:m=>m,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),t.pagination={el:null,bullets:[]};let r,o=0;function u(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function l(m,v){const{bulletActiveClass:g}=t.params.pagination;m&&(m=m[`${v==="prev"?"previous":"next"}ElementSibling`],m&&(m.classList.add(`${g}-${v}`),m=m[`${v==="prev"?"previous":"next"}ElementSibling`],m&&m.classList.add(`${g}-${v}-${v}`)))}function d(m,v,g){if(m=m%g,v=v%g,v===m+1)return"next";if(v===m-1)return"previous"}function c(m){const v=m.target.closest(gn(t.params.pagination.bulletClass));if(!v)return;m.preventDefault();const g=Mo(v)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===g)return;const k=d(t.realIndex,g,t.slides.length);k==="next"?t.slideNext():k==="previous"?t.slidePrev():t.slideToLoop(g)}else t.slideTo(g)}function b(){const m=t.rtl,v=t.params.pagination;if(u())return;let g=t.pagination.el;g=De(g);let k,w;const A=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,z=t.params.loop?Math.ceil(A/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(w=t.previousRealIndex||0,k=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(k=t.snapIndex,w=t.previousSnapIndex):(w=t.previousIndex||0,k=t.activeIndex||0),v.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const S=t.pagination.bullets;let I,E,D;if(v.dynamicBullets&&(r=Xu(S[0],t.isHorizontal()?"width":"height"),g.forEach(M=>{M.style[t.isHorizontal()?"width":"height"]=`${r*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&w!==void 0&&(o+=k-(w||0),o>v.dynamicMainBullets-1?o=v.dynamicMainBullets-1:o<0&&(o=0)),I=Math.max(k-o,0),E=I+(Math.min(S.length,v.dynamicMainBullets)-1),D=(E+I)/2),S.forEach(M=>{const N=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(V=>`${v.bulletActiveClass}${V}`)].map(V=>typeof V=="string"&&V.includes(" ")?V.split(" "):V).flat();M.classList.remove(...N)}),g.length>1)S.forEach(M=>{const N=Mo(M);N===k?M.classList.add(...v.bulletActiveClass.split(" ")):t.isElement&&M.setAttribute("part","bullet"),v.dynamicBullets&&(N>=I&&N<=E&&M.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),N===I&&l(M,"prev"),N===E&&l(M,"next"))});else{const M=S[k];if(M&&M.classList.add(...v.bulletActiveClass.split(" ")),t.isElement&&S.forEach((N,V)=>{N.setAttribute("part",V===k?"bullet-active":"bullet")}),v.dynamicBullets){const N=S[I],V=S[E];for(let it=I;it<=E;it+=1)S[it]&&S[it].classList.add(...`${v.bulletActiveClass}-main`.split(" "));l(N,"prev"),l(V,"next")}}if(v.dynamicBullets){const M=Math.min(S.length,v.dynamicMainBullets+4),N=(r*M-r)/2-D*r,V=m?"right":"left";S.forEach(it=>{it.style[t.isHorizontal()?V:"top"]=`${N}px`})}}g.forEach((S,I)=>{if(v.type==="fraction"&&(S.querySelectorAll(gn(v.currentClass)).forEach(E=>{E.textContent=v.formatFractionCurrent(k+1)}),S.querySelectorAll(gn(v.totalClass)).forEach(E=>{E.textContent=v.formatFractionTotal(z)})),v.type==="progressbar"){let E;v.progressbarOpposite?E=t.isHorizontal()?"vertical":"horizontal":E=t.isHorizontal()?"horizontal":"vertical";const D=(k+1)/z;let M=1,N=1;E==="horizontal"?M=D:N=D,S.querySelectorAll(gn(v.progressbarFillClass)).forEach(V=>{V.style.transform=`translate3d(0,0,0) scaleX(${M}) scaleY(${N})`,V.style.transitionDuration=`${t.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(ar(S,v.renderCustom(t,k+1,z)),I===0&&a("paginationRender",S)):(I===0&&a("paginationRender",S),a("paginationUpdate",S)),t.params.watchOverflow&&t.enabled&&S.classList[t.isLocked?"add":"remove"](v.lockClass)})}function p(){const m=t.params.pagination;if(u())return;const v=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let g=t.pagination.el;g=De(g);let k="";if(m.type==="bullets"){let w=t.params.loop?Math.ceil(v/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&w>v&&(w=v);for(let A=0;A<w;A+=1)m.renderBullet?k+=m.renderBullet.call(t,A,m.bulletClass):k+=`<${m.bulletElement} ${t.isElement?'part="bullet"':""} class="${m.bulletClass}"></${m.bulletElement}>`}m.type==="fraction"&&(m.renderFraction?k=m.renderFraction.call(t,m.currentClass,m.totalClass):k=`<span class="${m.currentClass}"></span> / <span class="${m.totalClass}"></span>`),m.type==="progressbar"&&(m.renderProgressbar?k=m.renderProgressbar.call(t,m.progressbarFillClass):k=`<span class="${m.progressbarFillClass}"></span>`),t.pagination.bullets=[],g.forEach(w=>{m.type!=="custom"&&ar(w,k||""),m.type==="bullets"&&t.pagination.bullets.push(...w.querySelectorAll(gn(m.bulletClass)))}),m.type!=="custom"&&a("paginationRender",g[0])}function f(){t.params.pagination=Y3(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const m=t.params.pagination;if(!m.el)return;let v;typeof m.el=="string"&&t.isElement&&(v=t.el.querySelector(m.el)),!v&&typeof m.el=="string"&&(v=[...document.querySelectorAll(m.el)]),v||(v=m.el),!(!v||v.length===0)&&(t.params.uniqueNavElements&&typeof m.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...t.el.querySelectorAll(m.el)],v.length>1&&(v=v.find(g=>N3(g,".swiper")[0]===t.el))),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(t.pagination,{el:v}),v=De(v),v.forEach(g=>{m.type==="bullets"&&m.clickable&&g.classList.add(...(m.clickableClass||"").split(" ")),g.classList.add(m.modifierClass+m.type),g.classList.add(t.isHorizontal()?m.horizontalClass:m.verticalClass),m.type==="bullets"&&m.dynamicBullets&&(g.classList.add(`${m.modifierClass}${m.type}-dynamic`),o=0,m.dynamicMainBullets<1&&(m.dynamicMainBullets=1)),m.type==="progressbar"&&m.progressbarOpposite&&g.classList.add(m.progressbarOppositeClass),m.clickable&&g.addEventListener("click",c),t.enabled||g.classList.add(m.lockClass)}))}function _(){const m=t.params.pagination;if(u())return;let v=t.pagination.el;v&&(v=De(v),v.forEach(g=>{g.classList.remove(m.hiddenClass),g.classList.remove(m.modifierClass+m.type),g.classList.remove(t.isHorizontal()?m.horizontalClass:m.verticalClass),m.clickable&&(g.classList.remove(...(m.clickableClass||"").split(" ")),g.removeEventListener("click",c))})),t.pagination.bullets&&t.pagination.bullets.forEach(g=>g.classList.remove(...m.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const m=t.params.pagination;let{el:v}=t.pagination;v=De(v),v.forEach(g=>{g.classList.remove(m.horizontalClass,m.verticalClass),g.classList.add(t.isHorizontal()?m.horizontalClass:m.verticalClass)})}),s("init",()=>{t.params.pagination.enabled===!1?y():(f(),p(),b())}),s("activeIndexChange",()=>{typeof t.snapIndex>"u"&&b()}),s("snapIndexChange",()=>{b()}),s("snapGridLengthChange",()=>{p(),b()}),s("destroy",()=>{_()}),s("enable disable",()=>{let{el:m}=t.pagination;m&&(m=De(m),m.forEach(v=>v.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),s("lock unlock",()=>{b()}),s("click",(m,v)=>{const g=v.target,k=De(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&k&&k.length>0&&!g.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&g===t.navigation.nextEl||t.navigation.prevEl&&g===t.navigation.prevEl))return;const w=k[0].classList.contains(t.params.pagination.hiddenClass);a(w===!0?"paginationShow":"paginationHide"),k.forEach(A=>A.classList.toggle(t.params.pagination.hiddenClass))}});const h=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:m}=t.pagination;m&&(m=De(m),m.forEach(v=>v.classList.remove(t.params.pagination.paginationDisabledClass))),f(),p(),b()},y=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:m}=t.pagination;m&&(m=De(m),m.forEach(v=>v.classList.add(t.params.pagination.paginationDisabledClass))),_()};Object.assign(t.pagination,{enable:h,disable:y,render:p,update:b,init:f,destroy:_})}function mC({swiper:t,extendParams:e,emit:s,once:a}){e({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function n(){if(t.params.cssMode)return;const u=t.getTranslate();t.setTranslate(u),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function r(){if(t.params.cssMode)return;const{touchEventsData:u,touches:l}=t;u.velocities.length===0&&u.velocities.push({position:l[t.isHorizontal()?"startX":"startY"],time:u.touchStartTime}),u.velocities.push({position:l[t.isHorizontal()?"currentX":"currentY"],time:Ai()})}function o({currentPos:u}){if(t.params.cssMode)return;const{params:l,wrapperEl:d,rtlTranslate:c,snapGrid:b,touchEventsData:p}=t,_=Ai()-p.touchStartTime;if(u<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(u>-t.maxTranslate()){t.slides.length<b.length?t.slideTo(b.length-1):t.slideTo(t.slides.length-1);return}if(l.freeMode.momentum){if(p.velocities.length>1){const A=p.velocities.pop(),z=p.velocities.pop(),S=A.position-z.position,I=A.time-z.time;t.velocity=S/I,t.velocity/=2,Math.abs(t.velocity)<l.freeMode.minimumVelocity&&(t.velocity=0),(I>150||Ai()-A.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=l.freeMode.momentumVelocityRatio,p.velocities.length=0;let h=1e3*l.freeMode.momentumRatio;const y=t.velocity*h;let m=t.translate+y;c&&(m=-m);let v=!1,g;const k=Math.abs(t.velocity)*20*l.freeMode.momentumBounceRatio;let w;if(m<t.maxTranslate())l.freeMode.momentumBounce?(m+t.maxTranslate()<-k&&(m=t.maxTranslate()-k),g=t.maxTranslate(),v=!0,p.allowMomentumBounce=!0):m=t.maxTranslate(),l.loop&&l.centeredSlides&&(w=!0);else if(m>t.minTranslate())l.freeMode.momentumBounce?(m-t.minTranslate()>k&&(m=t.minTranslate()+k),g=t.minTranslate(),v=!0,p.allowMomentumBounce=!0):m=t.minTranslate(),l.loop&&l.centeredSlides&&(w=!0);else if(l.freeMode.sticky){let A;for(let z=0;z<b.length;z+=1)if(b[z]>-m){A=z;break}Math.abs(b[A]-m)<Math.abs(b[A-1]-m)||t.swipeDirection==="next"?m=b[A]:m=b[A-1],m=-m}if(w&&a("transitionEnd",()=>{t.loopFix()}),t.velocity!==0){if(c?h=Math.abs((-m-t.translate)/t.velocity):h=Math.abs((m-t.translate)/t.velocity),l.freeMode.sticky){const A=Math.abs((c?-m:m)-t.translate),z=t.slidesSizesGrid[t.activeIndex];A<z?h=l.speed:A<2*z?h=l.speed*1.5:h=l.speed*2.5}}else if(l.freeMode.sticky){t.slideToClosest();return}l.freeMode.momentumBounce&&v?(t.updateProgress(g),t.setTransition(h),t.setTranslate(m),t.transitionStart(!0,t.swipeDirection),t.animating=!0,Bl(d,()=>{!t||t.destroyed||!p.allowMomentumBounce||(s("momentumBounce"),t.setTransition(l.speed),setTimeout(()=>{t.setTranslate(g),Bl(d,()=>{!t||t.destroyed||t.transitionEnd()})},0))})):t.velocity?(s("_freeModeNoMomentumRelease"),t.updateProgress(m),t.setTransition(h),t.setTranslate(m),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,Bl(d,()=>{!t||t.destroyed||t.transitionEnd()}))):t.updateProgress(m),t.updateActiveIndex(),t.updateSlidesClasses()}else if(l.freeMode.sticky){t.slideToClosest();return}else l.freeMode&&s("_freeModeNoMomentumRelease");(!l.freeMode.momentum||_>=l.longSwipesMs)&&(s("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}Object.assign(t,{freeMode:{onTouchStart:n,onTouchMove:r,onTouchEnd:o}})}const fC={install(t){el.use([pC,bC,mC,cC]),t.component("Swiper",uC).component("SwiperSlide",dC)}};function vC(t){t.use(Rj).use(Yi).use(qd).use(Oj).use(Bg).use(fC)}const X3=Ag(Ij);vC(X3);X3.mount("#app");export{_r as $,xe as A,ws as B,nn as C,qs as D,da as E,EC as F,kA as G,st as H,It as I,At as J,JT as K,is as L,ie as M,NS as N,Ce as O,$n as P,Fe as Q,Qt as R,$u as S,Oz as T,ur as U,j3 as V,ja as W,Rz as X,T3 as Y,yo as Z,qC as _,ji as a,Hu as a$,ye as a0,an as a1,sn as a2,Xe as a3,Ge as a4,tS as a5,gs as a6,ui as a7,r3 as a8,CA as a9,Hy as aA,Et as aB,ii as aC,ee as aD,Ea as aE,gC as aF,te as aG,az as aH,jt as aI,Fu as aJ,Mi as aK,Y as aL,ht as aM,Vr as aN,wo as aO,Rt as aP,G2 as aQ,Ol as aR,p3 as aS,wa as aT,Jv as aU,hC as aV,pi as aW,QC as aX,Sa as aY,Cg as aZ,Oa as a_,oc as aa,cp as ab,Ha as ac,Ct as ad,jz as ae,aa as af,pt as ag,Dz as ah,Pz as ai,Zn as aj,ni as ak,Qa as al,u3 as am,QT as an,Zs as ao,Lu as ap,u0 as aq,x3 as ar,Hd as as,Mu as at,nt as au,Me as av,J as aw,H as ax,Dt as ay,W as az,re as b,iM as b$,Je as b0,Go as b1,HC as b2,Yu as b3,SC as b4,Rj as b5,Ie as b6,Pe as b7,ml as b8,Sj as b9,zC as bA,aM as bB,nP as bC,sc as bD,tM as bE,Ki as bF,Ud as bG,Pj as bH,sz as bI,_C as bJ,yC as bK,kC as bL,_2 as bM,rP as bN,YC as bO,eM as bP,ha as bQ,Jz as bR,z2 as bS,e0 as bT,Kz as bU,we as bV,rM as bW,Xt as bX,Eg as bY,KC as bZ,a1 as b_,Aj as ba,HS as bb,Mt as bc,VS as bd,PC as be,oM as bf,$C as bg,Yi as bh,XC as bi,Ne as bj,WC as bk,t0 as bl,$m as bm,ZC as bn,Kr as bo,Zi as bp,s1 as bq,Ot as br,Ao as bs,hu as bt,ci as bu,m3 as bv,Ft as bw,TC as bx,Rs as by,wC as bz,ue as c,FC as c$,JC as c0,en as c1,T2 as c2,I2 as c3,vr as c4,i2 as c5,Vs as c6,x2 as c7,ec as c8,lc as c9,Km as cA,oe as cB,UC as cC,Ja as cD,V2 as cE,Wd as cF,Xi as cG,GC as cH,Ua as cI,OC as cJ,Is as cK,CC as cL,RC as cM,LC as cN,oz as cO,iS as cP,AC as cQ,oa as cR,IC as cS,e2 as cT,jC as cU,BC as cV,Xd as cW,GA as cX,vo as cY,ea as cZ,DC as c_,fr as ca,bd as cb,MC as cc,Ue as cd,cm as ce,Wv as cf,wn as cg,lM as ch,Jo as ci,tl as cj,be as ck,ic as cl,op as cm,S2 as cn,nM as co,Mg as cp,Ig as cq,VC as cr,xg as cs,qd as ct,Dg as cu,mr as cv,pr as cw,jg as cx,Pg as cy,fA as cz,q as d,Us as d0,W0 as d1,Fo as d2,xC as d3,eS as d4,C2 as d5,M2 as d6,d2 as d7,PA as d8,UA as d9,Mp as da,Ls as db,Qf as dc,fi as dd,uz as de,NC as df,St as e,Jd as f,Ut as g,ca as h,Ga as i,ba as j,rn as k,Ss as l,vi as m,Nt as n,cr as o,gt as p,JA as q,G as r,es as s,at as t,on as u,pc as v,br as w,B as x,Bt as y,bc as z};
|
|
1040
|
+
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(e):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(e):return{firstDay:6,firstWeekSize:1};case e==="MV":return{firstDay:5,firstWeekSize:1};case e==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function CP(t,e,s){const a=[];let n=[];const r=u3(t),o=d3(t),u=s??Cr(e)?.firstDay??0,l=(r.getDay()-u+7)%7,d=(o.getDay()-u+7)%7;for(let c=0;c<l;c++){const b=new Date(r);b.setDate(b.getDate()-(l-c)),n.push(b)}for(let c=1;c<=o.getDate();c++){const b=new Date(t.getFullYear(),t.getMonth(),c);n.push(b),n.length===7&&(a.push(n),n=[])}for(let c=1;c<7-d;c++){const b=new Date(o);b.setDate(b.getDate()+c),n.push(b)}return n.length>0&&a.push(n),a}function Go(t,e,s){let a=(s??Cr(e)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(a)||(a=0);const n=new Date(t);for(;n.getDay()!==a;)n.setDate(n.getDate()-1);return n}function EP(t,e){const s=new Date(t),a=((Cr(e)?.firstDay??0)+6)%7;for(;s.getDay()!==a;)s.setDate(s.getDate()+1);return s}function u3(t){return new Date(t.getFullYear(),t.getMonth(),1)}function d3(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function MP(t){const e=t.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const xP=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function c3(t){if(t==null)return new Date;if(t instanceof Date)return t;if(typeof t=="string"){let e;if(xP.test(t))return MP(t);if(e=Date.parse(t),!isNaN(e))return new Date(e)}return null}const M0=new Date(2e3,0,2);function IP(t,e,s){const a=e??Cr(t)?.firstDay??0;return j2(7).map(n=>{const r=new Date(M0);return r.setDate(M0.getDate()+a+n),new Intl.DateTimeFormat(t,{weekday:s??"narrow"}).format(r)})}function DP(t,e,s,a){const n=c3(t)??new Date,r=a?.[e];if(typeof r=="function")return r(n,e,s);let o={};switch(e){case"fullDate":o={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":o={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const u=n.getDate(),l=new Intl.DateTimeFormat(s,{month:"long"}).format(n);return`${u} ${l}`;case"normalDateWithWeekday":o={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":o={month:"short",day:"numeric"};break;case"year":o={year:"numeric"};break;case"month":o={month:"long"};break;case"monthShort":o={month:"short"};break;case"monthAndYear":o={month:"long",year:"numeric"};break;case"monthAndDate":o={month:"long",day:"numeric"};break;case"weekday":o={weekday:"long"};break;case"weekdayShort":o={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(s).format(n.getDate());case"hours12h":o={hour:"numeric",hour12:!0};break;case"hours24h":o={hour:"numeric",hour12:!1};break;case"minutes":o={minute:"numeric"};break;case"seconds":o={second:"numeric"};break;case"fullTime":o={hour:"numeric",minute:"numeric"};break;case"fullTime12h":o={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":o={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":o={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(s,o).format(n).replace(/, /g," ");case"keyboardDateTime12h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(s,o).format(n).replace(/, /g," ");case"keyboardDateTime24h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(s,o).format(n).replace(/, /g," ");default:o=r??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(s,o).format(n)}function LP(t,e){const s=t.toJsDate(e),a=s.getFullYear(),n=Mp(String(s.getMonth()+1),2,"0"),r=Mp(String(s.getDate()),2,"0");return`${a}-${n}-${r}`}function RP(t){const[e,s,a]=t.split("-").map(Number);return new Date(e,s-1,a)}function OP(t,e){const s=new Date(t);return s.setMinutes(s.getMinutes()+e),s}function NP(t,e){const s=new Date(t);return s.setHours(s.getHours()+e),s}function ma(t,e){const s=new Date(t);return s.setDate(s.getDate()+e),s}function BP(t,e){const s=new Date(t);return s.setDate(s.getDate()+e*7),s}function FP(t,e){const s=new Date(t);return s.setDate(1),s.setMonth(s.getMonth()+e),s}function pr(t){return t.getFullYear()}function GP(t){return t.getMonth()}function VP(t,e,s,a){const n=Cr(e),r=s??n?.firstDay??0,o=n?.firstWeekSize??1;return a!==void 0?qP(t,e,r,a):UP(t,e,r,o)}function qP(t,e,s,a){const n=(7+a-s)%7,r=Go(t,e,s),o=ma(r,6);function u(p){return(7+new Date(p,0,1).getDay()-s)%7}let l=pr(t);l<pr(o)&&u(l+1)<=n&&l++;const d=new Date(l,0,1),c=u(l),b=c<=n?ma(d,-c):ma(d,7-c);return 1+qo(Ic(t),mr(b),"weeks")}function UP(t,e,s,a){const n=ma(Go(t,e,s),6);function r(c){const b=new Date(c,0,1);return 7-qo(b,Go(b,e,s),"days")}let o=pr(t);o<pr(n)&&r(o+1)>=a&&o++;const u=new Date(o,0,1),l=r(o),d=l>=a?ma(u,l-7):ma(u,l);return 1+qo(Ic(t),mr(d),"weeks")}function HP(t){return t.getDate()}function WP(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function KP(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function $P(t){return t.getHours()}function YP(t){return t.getMinutes()}function XP(t){return new Date(t.getFullYear(),0,1)}function ZP(t){return new Date(t.getFullYear(),11,31)}function QP(t,e){return Vo(t,e[0])&&ej(t,e[1])}function JP(t){const e=new Date(t);return e instanceof Date&&!isNaN(e.getTime())}function Vo(t,e){return t.getTime()>e.getTime()}function tj(t,e){return Vo(mr(t),mr(e))}function ej(t,e){return t.getTime()<e.getTime()}function x0(t,e){return t.getTime()===e.getTime()}function ij(t,e){return t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function sj(t,e){return t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function aj(t,e){return t.getFullYear()===e.getFullYear()}function qo(t,e,s){const a=new Date(t),n=new Date(e);switch(s){case"years":return a.getFullYear()-n.getFullYear();case"quarters":return Math.floor((a.getMonth()-n.getMonth()+(a.getFullYear()-n.getFullYear())*12)/4);case"months":return a.getMonth()-n.getMonth()+(a.getFullYear()-n.getFullYear())*12;case"weeks":return Math.floor((a.getTime()-n.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((a.getTime()-n.getTime())/(1e3*60*60*24));case"hours":return Math.floor((a.getTime()-n.getTime())/(1e3*60*60));case"minutes":return Math.floor((a.getTime()-n.getTime())/(1e3*60));case"seconds":return Math.floor((a.getTime()-n.getTime())/1e3);default:return a.getTime()-n.getTime()}}function nj(t,e){const s=new Date(t);return s.setHours(e),s}function rj(t,e){const s=new Date(t);return s.setMinutes(e),s}function oj(t,e){const s=new Date(t);return s.setMonth(e),s}function lj(t,e){const s=new Date(t);return s.setDate(e),s}function uj(t,e){const s=new Date(t);return s.setFullYear(e),s}function mr(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)}function Ic(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999)}class dj{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return c3(e)}toJsDate(e){return e}toISO(e){return LP(this,e)}parseISO(e){return RP(e)}addMinutes(e,s){return OP(e,s)}addHours(e,s){return NP(e,s)}addDays(e,s){return ma(e,s)}addWeeks(e,s){return BP(e,s)}addMonths(e,s){return FP(e,s)}getWeekArray(e,s){const a=s!==void 0?Number(s):void 0;return CP(e,this.locale,a)}startOfWeek(e,s){const a=s!==void 0?Number(s):void 0;return Go(e,this.locale,a)}endOfWeek(e){return EP(e,this.locale)}startOfMonth(e){return u3(e)}endOfMonth(e){return d3(e)}format(e,s){return DP(e,s,this.locale,this.formats)}isEqual(e,s){return x0(e,s)}isValid(e){return JP(e)}isWithinRange(e,s){return QP(e,s)}isAfter(e,s){return Vo(e,s)}isAfterDay(e,s){return tj(e,s)}isBefore(e,s){return!Vo(e,s)&&!x0(e,s)}isSameDay(e,s){return ij(e,s)}isSameMonth(e,s){return sj(e,s)}isSameYear(e,s){return aj(e,s)}setMinutes(e,s){return rj(e,s)}setHours(e,s){return nj(e,s)}setMonth(e,s){return oj(e,s)}setDate(e,s){return lj(e,s)}setYear(e,s){return uj(e,s)}getDiff(e,s,a){return qo(e,s,a)}getWeekdays(e,s){const a=e!==void 0?Number(e):void 0;return IP(this.locale,a,s)}getYear(e){return pr(e)}getMonth(e){return GP(e)}getWeek(e,s,a){const n=s!==void 0?Number(s):void 0,r=a!==void 0?Number(a):void 0;return VP(e,this.locale,n,r)}getDate(e){return HP(e)}getNextMonth(e){return WP(e)}getPreviousMonth(e){return KP(e)}getHours(e){return $P(e)}getMinutes(e){return YP(e)}startOfDay(e){return mr(e)}endOfDay(e){return Ic(e)}startOfYear(e){return XP(e)}endOfYear(e){return ZP(e)}}const cj=Symbol.for("vuetify:date-options"),I0=Symbol.for("vuetify:date-adapter");function bj(t,e){const s=Xe({adapter:dj,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},t);return{options:s,instance:pj(s,e)}}function pj(t,e){const s=de(typeof t.adapter=="function"?new t.adapter({locale:t.locale[e.current.value]??e.current.value,formats:t.formats}):t.adapter);return zt(e.current,a=>{s.locale=t.locale[a]??a??s.locale}),s}const mj=mt({fluid:{type:Boolean,default:!1},...qt(),...Ms(),...me()},"VContainer"),fj=Rt()({name:"VContainer",props:mj(),setup(t,e){let{slots:s}=e;const{rtlClasses:a}=os(),{dimensionStyles:n}=xs(t);return Ut(()=>L(t.tag,{class:wt(["v-container",{"v-container--fluid":t.fluid},a.value,t.class]),style:Lt([n.value,t.style])},s)),{}}}),b3=_l.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}),p3=_l.reduce((t,e)=>{const s="offset"+js(e);return t[s]={type:[String,Number],default:null},t},{}),m3=_l.reduce((t,e)=>{const s="order"+js(e);return t[s]={type:[String,Number],default:null},t},{}),D0={col:Object.keys(b3),offset:Object.keys(p3),order:Object.keys(m3)};function vj(t,e,s){let a=t;if(!(s==null||s===!1)){if(e){const n=e.replace(t,"");a+=`-${n}`}return t==="col"&&(a="v-"+a),t==="col"&&(s===""||s===!0)||(a+=`-${s}`),a.toLowerCase()}}const gj=["auto","start","end","center","baseline","stretch"],_j=mt({cols:{type:[Boolean,String,Number],default:!1},...b3,offset:{type:[String,Number],default:null},...p3,order:{type:[String,Number],default:null},...m3,alignSelf:{type:String,default:null,validator:t=>gj.includes(t)},...qt(),...me()},"VCol"),hj=Rt()({name:"VCol",props:_j(),setup(t,e){let{slots:s}=e;const a=O(()=>{const n=[];let r;for(r in D0)D0[r].forEach(u=>{const l=t[u],d=vj(r,u,l);d&&n.push(d)});const o=n.some(u=>u.startsWith("v-col-"));return n.push({"v-col":!o||!t.cols,[`v-col-${t.cols}`]:t.cols,[`offset-${t.offset}`]:t.offset,[`order-${t.order}`]:t.order,[`align-self-${t.alignSelf}`]:t.alignSelf}),n});return()=>ue(t.tag,{class:[a.value,t.class],style:t.style},s.default?.())}}),Dc=["start","end","center"],f3=["space-between","space-around","space-evenly"];function Lc(t,e){return _l.reduce((s,a)=>{const n=t+js(a);return s[n]=e(),s},{})}const yj=[...Dc,"baseline","stretch"],v3=t=>yj.includes(t),g3=Lc("align",()=>({type:String,default:null,validator:v3})),kj=[...Dc,...f3],_3=t=>kj.includes(t),h3=Lc("justify",()=>({type:String,default:null,validator:_3})),wj=[...Dc,...f3,"stretch"],y3=t=>wj.includes(t),k3=Lc("alignContent",()=>({type:String,default:null,validator:y3})),L0={align:Object.keys(g3),justify:Object.keys(h3),alignContent:Object.keys(k3)},Sj={align:"align",justify:"justify",alignContent:"align-content"};function Aj(t,e,s){let a=Sj[t];if(s!=null){if(e){const n=e.replace(t,"");a+=`-${n}`}return a+=`-${s}`,a.toLowerCase()}}const zj=mt({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:v3},...g3,justify:{type:String,default:null,validator:_3},...h3,alignContent:{type:String,default:null,validator:y3},...k3,...qt(),...me()},"VRow"),Tj=Rt()({name:"VRow",props:zj(),setup(t,e){let{slots:s}=e;const a=O(()=>{const n=[];let r;for(r in L0)L0[r].forEach(o=>{const u=t[o],l=Aj(r,o,u);l&&n.push(l)});return n.push({"v-row--no-gutters":t.noGutters,"v-row--dense":t.dense,[`align-${t.align}`]:t.align,[`justify-${t.justify}`]:t.justify,[`align-content-${t.alignContent}`]:t.alignContent}),n});return()=>ue(t.tag,{class:["v-row",a.value,t.class],style:t.style},s.default?.())}}),Pj=pc("v-spacer","div","VSpacer"),jj=mt({scrollable:Boolean,...qt(),...Ms(),...me({tag:"main"})},"VMain"),Cj=Rt()({name:"VMain",props:jj(),setup(t,e){let{slots:s}=e;const{dimensionStyles:a}=xs(t),{mainStyles:n}=HT(),{ssrBootStyles:r}=Pv();return Ut(()=>L(t.tag,{class:wt(["v-main",{"v-main--scrollable":t.scrollable},t.class]),style:Lt([n.value,r.value,a.value,t.style])},{default:()=>[t.scrollable?N("div",{class:"v-main__scroller"},[s.default?.()]):s.default?.()]})),{}}}),Ej=mt({id:String,interactive:Boolean,text:String,...Aa(Pc({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:null}),["absolute","persistent"])},"VTooltip"),Ma=Rt()({name:"VTooltip",props:Ej(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const a=bi(t,"modelValue"),{scopeId:n}=Tc(),r=Zs(),o=nt(()=>t.id||`v-tooltip-${r}`),u=Y(),l=O(()=>t.location.split(" ").length>1?t.location:t.location+" center"),d=O(()=>t.origin==="auto"||t.origin==="overlap"||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center"),c=nt(()=>t.transition!=null?t.transition:a.value?"scale-transition":"fade-transition"),b=O(()=>Et({"aria-describedby":o.value},t.activatorProps));return Ut(()=>{const p=Bo.filterProps(t);return L(Bo,Et({ref:u,class:["v-tooltip",{"v-tooltip--interactive":t.interactive},t.class],style:t.style,id:o.value},p,{modelValue:a.value,"onUpdate:modelValue":m=>a.value=m,transition:c.value,absolute:!0,location:l.value,origin:d.value,persistent:!0,role:"tooltip",activatorProps:b.value,_disableGlobalStack:!0},n),{activator:s.activator,default:function(){for(var m=arguments.length,g=new Array(m),h=0;h<m;h++)g[h]=arguments[h];return s.default?.(...g)??t.text}})}),jc({},u)}}),Mj=Te({__name:"VSonner",props:{id:{},invert:{type:Boolean},position:{default:"bottom-center"},closeButtonPosition:{},hotkey:{default:()=>["altKey","KeyT"]},expand:{type:Boolean,default:!1},duration:{},gap:{},visibleToasts:{default:3},toastOptions:{},class:{},offset:{default:32},mobileOffset:{},dir:{},swipeDirections:{},icons:{},containerAriaLabel:{}},setup(t){return(e,s)=>(W(),et(vt,null,[L(X(qT),{position:t.position,hotkey:t.hotkey,expand:t.expand,"visible-toasts":t.visibleToasts,duration:t.duration,"toast-options":t.toastOptions,offset:t.offset},null,8,["position","hotkey","expand","visible-toasts","duration","toast-options","offset"]),gi(e.$slots,"default")],64))}}),xj=Te({__name:"ProgressBar",props:{duration:{default:5e3},progressBarProps:{},isPaused:{type:Boolean,default:!1},reverseProgressBar:{type:Boolean,default:!1}},setup(t){const e=t,s=e.reverseProgressBar?Y(0):Y(5e3);let a;zt(()=>e.isPaused,r=>{!r&&!e.progressBarProps?.indeterminate&&n()});function n(){a=setTimeout(()=>{e.isPaused||(e.reverseProgressBar?s.value+=120:s.value-=120,s.value<=0&&!e.reverseProgressBar?(s.value=0,clearInterval(a)):s.value>=e.duration&&e.reverseProgressBar?(s.value=e.duration,clearInterval(a)):n())},100)}return Le(()=>{e.progressBarProps?.indeterminate||(s.value=e.reverseProgressBar?0:e.duration,n())}),Re(()=>{clearInterval(a)}),(r,o)=>(W(),ee(X(yc),Et(e.progressBarProps,{"model-value":Math.floor(100*(X(s)/e.duration))}),null,16,["model-value"]))}}),Ij={class:"d-flex align-center justify-center fill-height"},Dj={key:1,class:"d-flex align-center mr-8"},Lj={class:"d-flex align-center justify-center fill-height"},Rj={key:3},Oj={class:"pb-1"},Nj=["innerHTML"],Bj=Te({inheritAttrs:!1,__name:"Toast",props:{text:{},description:{},vertical:{type:Boolean,default:!1},cardProps:{},cardTextProps:{},cardActionsProps:{default:()=>({})},action:{},prependIcon:{},prependIconProps:{},avatar:{},multipleAvatars:{},avatarProps:{},progressBar:{type:Boolean,default:!1},reverseProgressBar:{type:Boolean},progressDuration:{default:5e3},progressBarProps:{},loading:{type:Boolean}},emits:["closeToast"],setup(t){const e=Y(!1);return(s,a)=>(W(),ee(X(dr),Et({class:"card-snackbar"},t.cardProps,{onMouseenter:a[1]||(a[1]=n=>e.value=!0),onMouseleave:a[2]||(a[2]=n=>e.value=!1)}),{default:ht(()=>[N("div",{class:wt({"d-flex flex-no-wrap justify-space-between":!t.vertical})},[L(X(Z2),Et(t.cardTextProps,{class:{"d-flex align-center":t.prependIcon||t.avatar||t.multipleAvatars}}),{default:ht(()=>[t.avatar?(W(),ee(X(Ys),Et({key:0,class:"mr-2"},t.avatarProps),{default:ht(()=>[L(X(rr),{src:t.avatar,cover:""},{placeholder:ht(()=>[N("div",Ij,[L(X(en),{color:"grey-lighten-2",indeterminate:""})])]),_:1},8,["src"])]),_:1},16)):t.multipleAvatars?(W(),et("div",Dj,[(W(!0),et(vt,null,ai(t.multipleAvatars.length<=5?t.multipleAvatars:t.multipleAvatars.slice(0,5),(n,r)=>(W(),ee(X(Ys),Et({ref_for:!0},t.avatarProps,{key:r,class:"mr-n6",style:{zIndex:5-r}}),{default:ht(()=>[L(X(rr),{src:n,cover:""},{placeholder:ht(()=>[N("div",Lj,[L(X(en),{color:"grey-lighten-2",indeterminate:""})])]),_:1},8,["src"])]),_:2},1040,["style"]))),128))])):Mt("",!0),t.prependIcon?(W(),ee(X(Yt),Et({key:2,class:"mr-2",icon:t.prependIcon},t.prependIconProps),null,16,["icon"])):Mt("",!0),t.description?(W(),et("div",Rj,[N("div",Oj,_t(t.text),1),N("p",{class:"font-weight-light",innerHTML:t.description},null,8,Nj)])):(W(),et(vt,{key:4},[Tt(_t(t.text),1)],64))]),_:1},16,["class"]),t.action?(W(),ee(X(U2),pu(Et({key:0},t.cardActionsProps)),{default:ht(()=>[L(X(Pj)),L(X(Ns),Et(t.action.buttonProps,{text:t.action.label,onClick:a[0]||(a[0]=()=>{s.$emit("closeToast"),t.action?.onClick?.()})}),null,16,["text"])]),_:1},16)):Mt("",!0)],2),L(X(gv),null,{default:ht(()=>[yi(L(xj,{duration:t.progressDuration,"progress-bar-props":t.progressBarProps,"is-paused":e.value,"reverse-progress-bar":t.reverseProgressBar},null,8,["duration","progress-bar-props","is-paused","reverse-progress-bar"]),[[wa,t.progressBar]])]),_:1})]),_:1},16))}}),Fj=(t,e)=>{const s=t.__vccOpts||t;for(const[a,n]of e)s[a]=n;return s},Gj=Fj(Bj,[["__scopeId","data-v-c014bbd8"]]);function w3(t,e){const{description:s,action:a,...n}=e||{};return bd.custom(Pd(ue(Gj,{...n,progressBar:e?.progressBar??!1,progressDuration:e?.duration??5e3,progressBarProps:{...e?.progressBarProps,indeterminate:e?.loading},description:s,action:a,text:t})),{...n,unstyled:!0})}function xa(t,e){return function(s,a){return w3(s,{prependIcon:e,cardProps:{color:t,...a?.cardProps},...a})}}const Vj=Object.assign(w3,{success:xa("success","mdi-check-circle"),error:xa("error","mdi-cancel"),warning:xa("warning","mdi-alert"),info:xa("info","mdi-alert-circle"),primary:xa("primary","mdi-bell"),secondary:xa("secondary","mdi-bell"),dismiss(t){return bd.dismiss(t)},toastOriginal:bd});var Fe=(t=>(t.DISCONNECTED="disconnected",t.CONNECTING="connecting",t.CONNECTED="connected",t.RECONNECTING="reconnecting",t.FAILED="failed",t))(Fe||{});class S3{_state="disconnected";eventHandlers=new Map;get state(){return this._state}get isConnected(){return this._state==="connected"}on(e,s){this.eventHandlers.has(e)||this.eventHandlers.set(e,new Set),this.eventHandlers.get(e).add(s)}off(e,s){const a=this.eventHandlers.get(e);a&&a.delete(s)}emit(e,...s){const a=this.eventHandlers.get(e);a&&a.forEach(n=>{try{n(...s)}catch(r){console.error(`Error in transport event handler for '${e}':`,r)}})}setState(e){this._state!==e&&(this._state=e,this.emit("stateChange",e))}}class A3 extends S3{ws=null;options;reconnectAttempts=0;reconnectTimer=null;intentionalClose=!1;constructor(e){super(),this.options={url:e.url,reconnect:e.reconnect??!0,reconnectDelay:e.reconnectDelay??1e3,maxReconnectDelay:e.maxReconnectDelay??3e4,reconnectDelayGrowth:e.reconnectDelayGrowth??1.5,maxReconnectAttempts:e.maxReconnectAttempts??1/0}}async connect(){if(!(this.ws&&this.ws.readyState===WebSocket.OPEN))return this.intentionalClose=!1,this.setState(Fe.CONNECTING),new Promise((e,s)=>{try{this.ws=new WebSocket(this.options.url),this.ws.onopen=()=>{this.reconnectAttempts=0,this.setState(Fe.CONNECTED),this.emit("open"),e()},this.ws.onclose=a=>{this.setState(Fe.DISCONNECTED),this.emit("close",a.reason),!this.intentionalClose&&this.options.reconnect&&this.scheduleReconnect()},this.ws.onerror=()=>{const a=new Error("WebSocket error");this.emit("error",a),this._state===Fe.CONNECTING&&(this.setState(Fe.FAILED),s(a))},this.ws.onmessage=a=>{this.emit("message",a.data)}}catch(a){this.setState(Fe.FAILED),s(a)}})}disconnect(){this.intentionalClose=!0,this.clearReconnectTimer(),this.ws&&(this.ws.close(),this.ws=null),this.setState(Fe.DISCONNECTED)}send(e){if(!this.ws||this.ws.readyState!==WebSocket.OPEN)throw new Error("WebSocket is not connected");this.ws.send(e)}scheduleReconnect(){if(this.reconnectAttempts>=this.options.maxReconnectAttempts){this.setState(Fe.FAILED);return}this.clearReconnectTimer(),this.setState(Fe.RECONNECTING);const e=Math.min(this.options.reconnectDelay*Math.pow(this.options.reconnectDelayGrowth,this.reconnectAttempts),this.options.maxReconnectDelay);this.reconnectTimer=setTimeout(()=>{this.reconnectAttempts++,this.connect().catch(()=>{})},e)}clearReconnectTimer(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}}var z3=(t=>(t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED",t))(z3||{});class T3{transport;_throttleId;baseUrl;isRemoteConnection=Y(!1);state=Y(0);serverInfo=Y();players=de({});queues=de({});providers=de({});providerManifests=de({});syncTasks=Y([]);fetchesInProgress=Y([]);hasStreamingProviders=O(()=>Object.values(this.providers).some(e=>e.is_streaming_provider));eventCallbacks;partialResult;commands;constructor(){this.eventCallbacks=[],this.commands=new Map,this.partialResult={}}async initialize(e,s){if(this.transport)throw new Error("already initialized");let a,n=!1;if(typeof e=="string"){let r=e;r.endsWith("/")&&(r=r.slice(0,-1));let o,u;r.startsWith("ws://")||r.startsWith("wss://")?(u=r,o=r.replace("wss://","https://").replace("ws://","http://"),o.endsWith("/ws")&&(o=o.slice(0,-3))):(o=r,u=r.replace("https://","wss://").replace("http://","ws://")),u.endsWith("/ws")||(u+="/ws"),a=new A3({url:u}),await a.connect(),s=o}else a=e,n=!0;this.transport=a,this.baseUrl=s||"",this.isRemoteConnection.value=n,this.state.value=1,a.on("message",r=>{try{const o=JSON.parse(r);this.handleMessage(o)}catch(o){console.error("[API] Failed to parse message:",o)}}),a.on("close",()=>{this.state.value=0,this.signalEvent({event:Me.DISCONNECTED,object_id:""})}),a.on("error",r=>{console.error("[API] Transport error:",r)}),await this.waitForServerInfo()}handleMessage(e){if("server_version"in e&&!this.serverInfo.value){this.handleServerInfoMessage(e);return}if("event"in e){this.handleEventMessage(e);return}if("message_id"in e){this.handleResultMessage(e);return}console.error("[API] received unknown message",e)}waitForServerInfo(e=3e4){return new Promise((s,a)=>{const n=setTimeout(()=>{a(new Error("Timeout waiting for ServerInfo"))},e);if(this.serverInfo.value){clearTimeout(n),s();return}const r=this.subscribe(Me.CONNECTED,()=>{clearTimeout(n),r(),s()})})}async loginWithCredentials(e,s,a){const n=await this.sendCommand("auth/login",{username:e,password:s,device_name:a||Bk()}),r=n.access_token||n.token;return r&&(localStorage.setItem("ma_access_token",r),n.user&&localStorage.setItem("ma_current_user",JSON.stringify(n.user)),await this.sendCommand("auth",{token:r}),this._fetchState()),{token:r||"",user:n.user}}async authenticateWithToken(e){const s=await this.sendCommand("auth",{token:e});return s.user&&(localStorage.setItem("ma_current_user",JSON.stringify(s.user)),Vt(async()=>{const{authManager:a}=await Promise.resolve().then(()=>Bu);return{authManager:a}},void 0,import.meta.url).then(({authManager:a})=>{a.currentUser=s.user}),this._fetchState()),s}disconnect(){this.transport&&(this.transport.disconnect(),this.transport=void 0),this.state.value=0,this.isRemoteConnection.value=!1,Object.keys(this.players).forEach(e=>delete this.players[e]),Object.keys(this.queues).forEach(e=>delete this.queues[e]),Object.keys(this.providers).forEach(e=>delete this.providers[e]),Object.keys(this.providerManifests).forEach(e=>delete this.providerManifests[e]),this.syncTasks.value=[],this.serverInfo.value=void 0}subscribe(e,s,a="*"){const n=[e,a,s];return this.eventCallbacks.push(n),()=>{const o=this.eventCallbacks.indexOf(n);o>-1&&this.eventCallbacks.splice(o,1)}}subscribe_multi(e,s,a="*"){const n=[];for(const o of e)n.push(this.subscribe(o,s,a));return()=>{for(const o of n)o()}}getLibraryTracks(e,s,a,n,r){return this.sendCommand("music/tracks/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getTrack(e,s,a){return this.sendCommand("music/tracks/get_track",{item_id:e,provider_instance_id_or_domain:s,album_uri:a})}getTrackVersions(e,s){return this.sendCommand("music/tracks/track_versions",{item_id:e,provider_instance_id_or_domain:s})}getTrackAlbums(e,s,a=!1){return this.sendCommand("music/tracks/track_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getTrackPreviewUrl(e,s){const a=encodeURIComponent(encodeURIComponent(s));return`${this.baseUrl}/preview?item_id=${a}&provider=${e}`}getLibraryArtistsCount(e=!1,s=!1){return this.sendCommand("music/artists/count",{favorite_only:e,album_artists_only:s})}getLibraryAlbumsCount(e=!1,s){return this.sendCommand("music/albums/count",{favorite_only:e,album_types:s})}getLibraryTracksCount(e=!1){return this.sendCommand("music/tracks/count",{favorite_only:e})}getLibraryPlaylistsCount(e=!1){return this.sendCommand("music/playlists/count",{favorite_only:e})}getLibraryRadiosCount(e=!1){return this.sendCommand("music/radios/count",{favorite_only:e})}getLibraryPodcastsCount(e=!1){return this.sendCommand("music/podcasts/count",{favorite_only:e})}getLibraryAudiobooksCount(e=!1){return this.sendCommand("music/audiobooks/count",{favorite_only:e})}getLibraryArtists(e,s,a,n,r,o){return this.sendCommand("music/artists/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r,album_artists_only:o})}getArtist(e,s){return this.sendCommand("music/artists/get_artist",{item_id:e,provider_instance_id_or_domain:s})}getArtistTracks(e,s,a=!1){return this.sendCommand("music/artists/artist_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getArtistAlbums(e,s,a=!1){return this.sendCommand("music/artists/artist_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getLibraryAlbums(e,s,a,n,r,o){return this.sendCommand("music/albums/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r,album_types:o})}getAlbum(e,s){return this.sendCommand("music/albums/get_album",{item_id:e,provider_instance_id_or_domain:s})}getAlbumTracks(e,s,a=!1){return this.sendCommand("music/albums/album_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:a})}getAlbumVersions(e,s){return this.sendCommand("music/albums/album_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryPlaylists(e,s,a,n,r){return this.sendCommand("music/playlists/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getPlaylist(e,s){return this.sendCommand("music/playlists/get_playlist",{item_id:e,provider_instance_id_or_domain:s})}getPlaylistTracks(e,s,a){return this.sendCommand("music/playlists/playlist_tracks",{item_id:e,provider_instance_id_or_domain:s,force_refresh:a})}addPlaylistTracks(e,s){return this.sendCommand("music/playlists/add_playlist_tracks",{db_playlist_id:e,uris:s})}removePlaylistTracks(e,s){return this.sendCommand("music/playlists/remove_playlist_tracks",{db_playlist_id:e,positions_to_remove:s})}createPlaylist(e,s){return this.sendCommand("music/playlists/create_playlist",{name:e,provider_instance_or_domain:s})}getLibraryRadios(e,s,a,n,r){return this.sendCommand("music/radios/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getRadio(e,s){return this.sendCommand("music/radios/get_radio",{item_id:e,provider_instance_id_or_domain:s})}getRadioVersions(e,s){return this.sendCommand("music/radios/radio_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryAudiobooks(e,s,a,n,r){return this.sendCommand("music/audiobooks/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getAudiobook(e,s){return this.sendCommand("music/audiobooks/get_audiobook",{item_id:e,provider_instance_id_or_domain:s})}getAudiobookVersions(e,s){return this.sendCommand("music/audiobooks/audiobook_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryPodcasts(e,s,a,n,r){return this.sendCommand("music/podcasts/library_items",{favorite:e,search:s,limit:a,offset:n,order_by:r})}getPodcast(e,s){return this.sendCommand("music/podcasts/get_podcast",{item_id:e,provider_instance_id_or_domain:s})}gePodcastVersions(e,s){return this.sendCommand("music/podcasts/podcast_versions",{item_id:e,provider_instance_id_or_domain:s})}getPodcastEpisodes(e,s){return this.sendCommand("music/podcasts/podcast_episodes",{item_id:e,provider_instance_id_or_domain:s})}getItemByUri(e){return this.sendCommand("music/item_by_uri",{uri:e})}refreshItem(e){return this.sendCommand("music/refresh_item",{media_item:e})}updateMetadata(e,s=!1){return this.sendCommand("metadata/update_metadata",{item:e,force_refresh:s})}getItem(e,s,a){return this.sendCommand("music/item",{media_type:e,item_id:s,provider_instance_id_or_domain:a})}getLibraryItem(e,s,a){return this.sendCommand("music/get_library_item",{media_type:e,item_id:s,provider_instance_id_or_domain:a})}async addItemToLibrary(e,s=!1){return this.sendCommand("music/library/add_item",{item:e,overwrite_existing:s})}async removeItemFromLibrary(e,s){return this.sendCommand("music/library/remove_item",{media_type:e,library_item_id:s})}async addItemToFavorites(e){return typeof e!="string"&&"favorite"in e&&(e.favorite=!0),this.sendCommand("music/favorites/add_item",{item:e})}async removeItemFromFavorites(e,s){return this.sendCommand("music/favorites/remove_item",{media_type:e,library_item_id:s})}toggleFavorite(e){e.favorite?(this.removeItemFromFavorites(e.media_type,e.item_id),e.favorite=!1):(this.addItemToFavorites(e),e.favorite=!0)}browse(e){return this.sendCommand("music/browse",{path:e})}search(e,s,a){return this.sendCommand("music/search",{search_query:e,media_types:s,limit:a})}async getRecentlyPlayedItems(e=10,s){return this.sendCommand("music/recently_played_items",{limit:e,media_types:s})}async getInProgressItems(e=10){return this.sendCommand("music/in_progress_items",{limit:e})}async getRecommendations(){return this.sendCommand("music/recommendations")}markItemPlayed(e,s,a){return"fully_played"in e&&(e.fully_played=s),"resume_position_ms"in e&&delete e.resume_position_ms,this.sendCommand("music/mark_played",{media_item:e,fully_played:s,seconds_played:a})}markItemUnPlayed(e){return"fully_played"in e&&(e.fully_played=!1),"resume_position_ms"in e&&delete e.resume_position_ms,this.sendCommand("music/mark_unplayed",{media_item:e})}async getPlayerQueues(){return this.sendCommand("player_queues/all")}getPlayerQueueItems(e,s,a){return this.sendCommand("player_queues/items",{queue_id:e,limit:s,offset:a})}queueCommandClear(e){this.playerQueueCommand(e,"clear")}queueCommandPlayIndex(e,s){this.playerQueueCommand(e,"play_index",{index:s})}queueCommandMoveItem(e,s,a=1){this.playerQueueCommand(e,"move_item",{queue_item_id:s,pos_shift:a})}queueCommandMoveUp(e,s){this.queueCommandMoveItem(e,s,-1)}queueCommandMoveDown(e,s){this.queueCommandMoveItem(e,s,1)}queueCommandMoveNext(e,s){this.queueCommandMoveItem(e,s,0)}queueCommandDelete(e,s){this.playerQueueCommand(e,"delete_item",{item_id_or_index:s})}queueCommandSeek(e,s){this.playerQueueCommand(e,"seek",{position:s})}queueCommandSkip(e,s){this.playerQueueCommand(e,"skip",{seconds:s})}queueCommandSkipAhead(e){this.queueCommandSkip(e,10)}queueCommandSkipBack(e){this.queueCommandSkip(e,-10)}queueCommandShuffle(e,s){this.playerQueueCommand(e,"shuffle",{shuffle_enabled:s})}queueCommandShuffleToggle(e){this.queueCommandShuffle(e,!this.queues[e].shuffle_enabled)}queueCommandRepeat(e,s){this.playerQueueCommand(e,"repeat",{repeat_mode:s})}queueCommandRepeatToggle(e){this.queues[e],this.queues[e].repeat_mode==Ra.OFF?this.queueCommandRepeat(e,Ra.ONE):this.queues[e].repeat_mode==Ra.ONE?this.queueCommandRepeat(e,Ra.ALL):this.queueCommandRepeat(e,Ra.OFF)}queueCommandDontStopTheMusic(e,s){this.playerQueueCommand(e,"dont_stop_the_music",{dont_stop_the_music_enabled:s})}queueCommandDontStopTheMusicToggle(e){this.queueCommandDontStopTheMusic(e,!this.queues[e].dont_stop_the_music_enabled)}playerQueueCommand(e,s,a){this._sendCommand(`player_queues/${s}`,{queue_id:e,...a})}queueCommandTransfer(e,s,a){this._sendCommand("player_queues/transfer",{source_queue_id:e,target_queue_id:s,auto_play:a})}async getPlayers(){return this.sendCommand("players/all")}async getPlayer(e){return this.sendCommand("players/get",{player_id:e,raise_unavailable:!0})}playerCommandPlay(e){return this.playerCommand(e,"play")}playerCommandPause(e){return this.playerCommand(e,"pause")}playerCommandPlayPause(e){return this.playerCommand(e,"play_pause")}playerCommandStop(e){return this.playerCommand(e,"stop")}playerCommandNext(e){return this.playerCommand(e,"next")}playerCommandPrevious(e){return this.playerCommand(e,"previous")}playerCommandSeek(e,s){this.playerCommand(e,"seek",{position:s})}playerCommandPower(e,s){return this.playerCommand(e,"power",{powered:s})}playerCommandPowerToggle(e){return this.playerCommandPower(e,!this.players[e].powered)}async playerCommandVolumeSet(e,s){s=Math.max(s,0),s=Math.min(s,100),await this.playerCommand(e,"volume_set",{volume_level:s}),this.players[e].volume_level=s}playerCommandVolumeUp(e){return this.playerCommand(e,"volume_up")}playerCommandVolumeDown(e){return this.playerCommand(e,"volume_down")}playerCommandVolumeMute(e,s){return this.playerCommand(e,"volume_mute",{muted:s})}playerCommandMuteToggle(e){return this.playerCommandVolumeMute(e,!this.players[e].volume_muted)}playerCommandSetMembers(e,s,a){return this.playerCommand(e,"set_members",{target_player:e,player_ids_to_add:s,player_ids_to_remove:a})}playerCommandGroup(e,s){return this.playerCommand(e,"group",{target_player:s})}playerCommandUnGroup(e){return this.playerCommand(e,"ungroup")}playerCommand(e,s,a){return this.sendCommand(`players/cmd/${s}`,{player_id:e,...a})}removePlayer(e){return this.sendCommand("players/remove",{player_id:e})}playerCommandGroupVolume(e,s){this.playerCommand(e,"group_volume",{volume_level:s}),this.players[e].group_volume=s}playerCommandGroupVolumeUp(e){return this.playerCommand(e,"group_volume_up")}playerCommandGroupVolumeDown(e){return this.playerCommand(e,"group_volume_down")}async createPlayerGroup(e,s,a,n=!1){return this.sendCommand("players/create_group_player",{provider:e,name:s,members:a,dynamic:n})}playerCommandGroupSelectSource(e,s){return this.playerCommand(e,"select_source",{source:s})}async registerBuiltinPlayer(e,s){return this.sendCommand("builtin_player/register",{player_name:e,player_id:s})}async unregisterBuiltinPlayer(e){return this.sendCommand("builtin_player/unregister",{player_id:e})}async updateBuiltinPlayerState(e,s){return this.sendCommand("builtin_player/update_state",{player_id:e,state:s})}playMedia(e,s,a,n,r){return!r&&bt.activePlayer?.active_source&&bt.activePlayer?.active_source in this.queues?r=bt.activePlayer?.active_source:r||(r=bt.activePlayer?.player_id),this.sendCommand("player_queues/play_media",{queue_id:r,media:e,option:s,radio_mode:a,start_item:n})}async getProviderConfigs(e,s){return this.sendCommand("config/providers",{provider_type:e,provider_domain:s})}async getProviderConfig(e){return this.sendCommand("config/providers/get",{instance_id:e})}async getProviderConfigEntries(e,s,a,n){return this.sendCommand("config/providers/get_entries",{provider_domain:e,instance_id:s,action:a,values:n})}async saveProviderConfig(e,s,a){return this.sendCommand("config/providers/save",{provider_domain:e,values:s,instance_id:a})}removeProviderConfig(e){return this.sendCommand("config/providers/remove",{instance_id:e})}reloadProvider(e){return this.sendCommand("config/providers/reload",{instance_id:e})}async getPlayerConfigs(e){return this.sendCommand("config/players",{provider:e})}async getPlayerConfig(e){return this.sendCommand("config/players/get",{player_id:e})}async getPlayerConfigEntries(e,s,a){return this.sendCommand("config/players/get_entries",{player_id:e,action:s,values:a})}async getPlayerConfigValue(e,s){return this.sendCommand("config/players/get_value",{player_id:e,key:s})}async savePlayerConfig(e,s){return this.sendCommand("config/players/save",{player_id:e,values:s})}removePlayerConfig(e){return this.sendCommand("config/players/remove",{player_id:e})}async getDSPConfig(e){return this.sendCommand("config/players/dsp/get",{player_id:e})}async saveDSPConfig(e,s){return this.sendCommand("config/players/dsp/save",{player_id:e,config:s})}async getDSPPresets(){return this.sendCommand("config/dsp_presets/get")}async saveDSPPreset(e){return this.sendCommand("config/dsp_presets/save",{preset:e})}async removeDSPPreset(e){return this.sendCommand("config/dsp_presets/remove",{preset_id:e})}async getCoreConfigs(){return this.sendCommand("config/core")}async getCoreConfig(e){return this.sendCommand("config/core/get",{domain:e})}async getCoreConfigValue(e,s){return this.sendCommand("config/core/get_value",{domain:e,key:s})}async getCoreConfigEntries(e,s,a){return this.sendCommand("config/core/get_entries",{domain:e,action:s,values:a})}async saveCoreConfig(e,s){return this.sendCommand("config/core/save",{domain:e,values:s})}reloadCoreController(e){return this.sendCommand("config/core/reload",{domain:e})}startSync(e,s){return this.sendCommand("music/sync",{media_types:e,providers:s})}getProviderName(e){return e in this.providers&&(e=this.providers[e].instance_id),e in this.providers?this.providers[e].name:e in this.providerManifests?this.providerManifests[e].name:e}getProvider(e){if(e in this.providers)return this.providers[e];for(const s in this.providers){const a=this.providers[s];if(a.domain==e)return a}}getProviderManifest(e){if(e in this.providerManifests)return this.providerManifests[e];if(e in this.providers){const s=this.providers[e];return this.providerManifests[s.domain]}}handleEventMessage(e){if(e.event==Me.QUEUE_ADDED){const s=e.data;this.queues[s.queue_id]=s}else if(e.event==Me.QUEUE_UPDATED){const s=e.data;s.queue_id in this.queues?Object.assign(this.queues[s.queue_id],s):this.queues[s.queue_id]=s}else if(e.event==Me.QUEUE_TIME_UPDATED){const s=e.object_id;s in this.queues&&(this.queues[s].elapsed_time=e.data)}else if(e.event==Me.PLAYER_ADDED){const s=e.data;this.players[s.player_id]=s}else if(e.event==Me.PLAYER_UPDATED){const s=e.data;s.player_id in this.players?Object.assign(this.players[s.player_id],s):this.players[s.player_id]=s}else if(e.event==Me.PLAYER_REMOVED)delete this.players[e.object_id],delete this.queues[e.object_id];else if(e.event==Me.SYNC_TASKS_UPDATED)this.syncTasks.value=e.data;else if(e.event==Me.PROVIDERS_UPDATED){const s={};for(const a of e.data)s[a.instance_id]=a;this.providers=s}this.signalEvent(e)}handleResultMessage(e){const s=this.commands.get(e.message_id);if("error_code"in e&&(e=e,console.error("[resultMessage]",e),Vj.error(e.details||e.error_code)),!!s){if("partial"in e&&e.partial){e.message_id in this.partialResult||(this.partialResult[e.message_id]=[]),this.partialResult[e.message_id].push(...e.result);return}else e.message_id in this.partialResult&&("result"in e&&(e.result=this.partialResult[e.message_id].concat(e.result)),delete this.partialResult[e.message_id]);this.commands.delete(e.message_id),this.fetchesInProgress.value=this.fetchesInProgress.value.filter(a=>a!=e.message_id),"error_code"in e?s.reject(e.details||e.error_code):(e=e,s.resolve(e.result))}}handleServerInfoMessage(e){this.serverInfo.value=e,this.state.value=2,this.signalEvent({event:Me.CONNECTED,object_id:"",data:e})}signalEvent(e){for(const s of this.eventCallbacks)(s[0]===Me.ALL||s[0]===e.event)&&(s[1]=="*"||s[1]===e.object_id)&&s[2](e)}async changePassword(e){try{const s=await this.sendCommand("auth/user/update",{password:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:typeof s=="object"&&"success"in s&&s.success===!1?!1:(typeof s=="object"&&("success"in s&&s.success===!0||"user"in s),!0)}catch(s){return console.error("Error changing password:",s),!1}}async getCurrentUserInfo(){try{return await this.sendCommand("auth/me")}catch(e){return console.error("Failed to get current user info:",e),null}}async getUserTokens(e){const s=e?{user_id:e}:void 0;return await this.sendCommand("auth/tokens",s)||[]}async createToken(e,s){const a={name:e};s&&(a.user_id=s);const n=await this.sendCommand("auth/token/create",a);if(typeof n=="string")return n;if(n.success===!1)throw new Error("Failed to create token");if(!n.token)throw new Error("Failed to create token");return n.token}async revokeToken(e){try{const s=await this.sendCommand("auth/token/revoke",{token_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:typeof s=="object"&&"success"in s&&s.success===!1?!1:(typeof s=="object"&&"success"in s&&s.success===!0,!0)}catch(s){return console.error("Error revoking token:",s),!1}}async getAuthProviders(){return await this.sendCommand("auth/providers")}async logout(){return(await this.sendCommand("auth/logout")).success}async getAllUsers(){return await this.sendCommand("auth/users")}async createUser(e,s,a,n){try{const r=await this.sendCommand("auth/user/create",{username:e,password:s,role:a,display_name:n});if(r==null)throw new Error("Failed to create user");if(typeof r=="object"&&"user_id"in r)return r;if(typeof r=="object"&&"success"in r&&r.success===!1)throw new Error("Failed to create user");if(typeof r=="object"&&"user"in r&&r.user)return r.user;if(typeof r=="object"&&"user_id"in r)return r;throw new Error("Failed to create user")}catch(r){throw console.error("Error creating user:",r),r}}async updateUser(e,s){try{const a={user_id:e};s.username&&(a.username=s.username),s.displayName&&(a.display_name=s.displayName),s.avatarUrl&&(a.avatar_url=s.avatarUrl),s.role&&(a.role=s.role),s.password&&(a.password=s.password);const n=await this.sendCommand("auth/user/update",a);if(n==null)throw new Error("Failed to update user");if(typeof n=="object"&&"user_id"in n)return n;if(typeof n=="object"&&"success"in n&&n.success===!1)throw new Error("Failed to update user");if(typeof n=="object"&&"user"in n&&n.user)return n.user;if(typeof n=="object"&&"user_id"in n)return n;throw new Error("Failed to update user")}catch(a){throw console.error("Error updating user:",a),a}}async updateUserRole(e,s){try{return await this.updateUser(e,{role:s}),!0}catch{return!1}}async enableUser(e){try{const s=await this.sendCommand("auth/user/enable",{user_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:!(typeof s=="object"&&"success"in s&&s.success===!1)}catch(s){return console.error("Error enabling user:",s),!1}}async deleteUser(e){try{const s=await this.sendCommand("auth/user/delete",{user_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:!(typeof s=="object"&&"success"in s&&s.success===!1)}catch(s){return console.error("Error deleting user:",s),!1}}async disableUser(e){try{const s=await this.sendCommand("auth/user/disable",{user_id:e});return typeof s=="boolean"?s:s==null||typeof s=="object"&&Object.keys(s).length===0?!0:!(typeof s=="object"&&"success"in s&&s.success===!1)}catch(s){return console.error("Error disabling user:",s),!1}}sendCommand(e,s){const a=this._genCmdId();return new Promise((n,r)=>{this.commands.set(a,{resolve:n,reject:r}),this.fetchesInProgress.value.push(a),this._sendCommand(e,s,a)})}_sendCommand(e,s,a){if(this.state.value!==2)throw new Error("Connection lost");a||(a=this._genCmdId());const n={command:e,message_id:a.toString(),args:s},r=JSON.stringify(n);if(!this.transport)throw new Error("No connection available");this.transport.send(r)}async _fetchState(){for(const e of await this.getPlayers())e.available&&(this.players[e.player_id]=e);for(const e of await this.getPlayerQueues())this.queues[e.queue_id]=e;for(const e of await this.sendCommand("providers/manifests"))this.providerManifests[e.domain]=e;for(const e of await this.sendCommand("providers"))this.providers[e.instance_id]=e;this.syncTasks.value=await this.sendCommand("music/synctasks")}_genCmdId(){return crypto.randomUUID?crypto.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>{const s=parseInt(e,10);return(s^crypto.getRandomValues(new Uint8Array(1))[0]&15>>s/4).toString(16)})}}const $=new T3,qj=Object.freeze(Object.defineProperty({__proto__:null,ConnectionState:z3,MusicAssistantApi:T3,api:$,default:$},Symbol.toStringTag,{value:"Module"}));function P3(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...s}=t,a=Xe(e,s),{aliases:n={},components:r={},directives:o={}}=a,u=an();return u.run(()=>{const l=eA(a.defaults),d=Sz(a.display,a.ssr),c=t1(a.theme),b=UA(a.icons),p=m1(a.locale),m=bj(a.date,p),g=bP(a.goTo,p);function h(f){for(const _ in o)f.directive(_,o[_]);for(const _ in r)f.component(_,r[_]);for(const _ in n)f.component(_,mn({...n[_],name:_,aliasName:n[_].name}));const v=an();if(v.run(()=>{c.install(f)}),f.onUnmount(()=>v.stop()),f.provide(bn,l),f.provide(ud,d),f.provide(nr,c),f.provide(ed,b),f.provide(Ro,p),f.provide(cj,m.options),f.provide(I0,m.instance),f.provide(t3,g),re&&a.ssr)if(f.$nuxt)f.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:_}=f;f.mount=function(){const k=_(...arguments);return _e(()=>d.update()),f.mount=_,k}}f.mixin({computed:{$vuetify(){return de({defaults:Ia.call(this,bn),display:Ia.call(this,ud),theme:Ia.call(this,nr),icons:Ia.call(this,ed),locale:Ia.call(this,Ro),date:Ia.call(this,I0)})}}})}function y(){u.stop()}return{install:h,unmount:y,defaults:l,display:d,theme:c,icons:b,locale:p,date:m,goTo:g}})}const Uj="3.10.11";P3.version=Uj;function Ia(t){const e=this.$,s=e.parent?.provides??e.vnode.appContext?.provides;if(s&&t in s)return s[t]}const Hj="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAAAnElEQVRYw+2UwQ6AMAhDwfjh+OXzZrgslqxjW8K7GWdtRqlIUYyh/qG1Zt8LVYuKzTDUnCGNy41zrfhpGRrhZgn5/HmiWdzuhsrQH7QMicjDENmuGKEbQjaotiwLaGSZeUIzZB2jhnwfAdqyzFAze+gXxPSZxcgaB6JDa+rUDLG2DNFJ3TLkzDlN3bveGWc83ZFlctTIKOVWFCt5AYSDaENMYFhMAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA0LTE1VDEzOjExOjE0KzAwOjAwADepDgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNC0xNVQxMzoxMToxNCswMDowMHFqEbIAAAAASUVORK5CYII=",$r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23e8eaed'%20version='1.1'%20id='svg1'%20sodipodi:docname='dsp.svg'%20inkscape:version='1.4%20(e7c3feb100,%202024-10-09)'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs1'%20/%3e%3csodipodi:namedview%20id='namedview1'%20pagecolor='%23ffffff'%20bordercolor='%23000000'%20borderopacity='0.25'%20inkscape:showpageshadow='2'%20inkscape:pageopacity='0.0'%20inkscape:pagecheckerboard='0'%20inkscape:deskcolor='%23d1d1d1'%20inkscape:zoom='10.331969'%20inkscape:cx='-7.1622363'%20inkscape:cy='1.6453786'%20inkscape:window-width='2136'%20inkscape:window-height='1269'%20inkscape:window-x='0'%20inkscape:window-y='0'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg1'%20/%3e%3cpath%20d='M440-120v-240h80v80h320v80H520v80h-80Zm-320-80v-80h240v80H120Zm160-160v-80H120v-80h160v-80h80v240h-80Zm160-80v-80h400v80H440Zm160-160v-240h80v80h160v80H680v80h-80Zm-480-80v-80h400v80H120Z'%20id='path1'%20style='fill:%23000000'%20/%3e%3c/svg%3e",Wj="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20height='24px'%20viewBox='0%20-960%20960%20960'%20width='24px'%20fill='%23e8eaed'%20version='1.1'%20id='svg1'%20sodipodi:docname='dsp-disabled.svg'%20inkscape:version='1.4%20(e7c3feb100,%202024-10-09)'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs1'%20/%3e%3csodipodi:namedview%20id='namedview1'%20pagecolor='%23ffffff'%20bordercolor='%23000000'%20borderopacity='0.25'%20inkscape:showpageshadow='2'%20inkscape:pageopacity='0.0'%20inkscape:pagecheckerboard='0'%20inkscape:deskcolor='%23d1d1d1'%20inkscape:zoom='10.331969'%20inkscape:cx='-7.1622363'%20inkscape:cy='1.6453786'%20inkscape:window-width='2136'%20inkscape:window-height='1269'%20inkscape:window-x='0'%20inkscape:window-y='0'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg1'%20/%3e%3cpath%20id='path1'%20style='fill:%23000000'%20d='M%20600%20-840%20L%20600%20-600%20L%20680%20-600%20L%20680%20-680%20L%20840%20-680%20L%20840%20-760%20L%20680%20-760%20L%20680%20-840%20L%20600%20-840%20z%20M%20120%20-760%20L%20120%20-680%20L%20336.5625%20-680%20L%20256.5625%20-760%20L%20120%20-760%20z%20M%20369.6875%20-760%20L%20449.6875%20-680%20L%20520%20-680%20L%20520%20-760%20L%20369.6875%20-760%20z%20M%20280%20-600%20L%20280%20-520%20L%20120%20-520%20L%20120%20-440%20L%20280%20-440%20L%20280%20-360%20L%20360%20-360%20L%20360%20-600%20L%20280%20-600%20z%20M%20440%20-520%20L%20440%20-440%20L%20576.5625%20-440%20L%20496.5625%20-520%20L%20440%20-520%20z%20M%20609.6875%20-520%20L%20689.6875%20-440%20L%20840%20-440%20L%20840%20-520%20L%20609.6875%20-520%20z%20M%20440%20-360%20L%20440%20-120%20L%20520%20-120%20L%20520%20-200%20L%20816.5625%20-200%20L%20736.5625%20-280%20L%20520%20-280%20L%20520%20-360%20L%20440%20-360%20z%20M%20120%20-280%20L%20120%20-200%20L%20360%20-200%20L%20360%20-280%20L%20120%20-280%20z%20'%20/%3e%3crect%20style='fill:%23000000;stroke-width:104.92;stroke-linecap:round;stroke-linejoin:round'%20id='rect1'%20width='1186.2163'%20height='80'%20x='-593.10815'%20y='638.82251'%20transform='rotate(-135)'%20/%3e%3c/svg%3e",Kj=["title"],$j=["innerHTML"],Yj=["title"],Xj=["innerHTML"],Zj=["title"],Qj=["innerHTML"],eu=Te({__name:"ProviderIcon",props:{domain:{},size:{},dark:{type:Boolean},monochrome:{type:Boolean}},setup(t){const e=t,s=O(()=>{if(e.domain in $.providers)return $.providers[e.domain].domain;if(e.domain in $.providerManifests)return e.domain});return(a,n)=>(W(),et("div",{style:Lt(`width:${t.size}px;margin-left:10px;margin-right:10px;content-align:center`)},[t.domain&&t.domain=="library"?(W(),ee(Yt,{key:0,size:t.size,icon:"mdi-bookshelf",title:a.$t("item_in_library")},null,8,["size","title"])):e.monochrome&&s.value&&X($).providerManifests[s.value].icon_svg_monochrome?(W(),et("div",{key:1,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Lt(`width: ${t.size}px;height: ${t.size}px;${a.$vuetify.theme.current.dark?"":"filter: invert(1);"}`),title:X($).providerManifests[s.value].name},[N("div",{class:"svg-wrapper",innerHTML:X($).providerManifests[s.value].icon_svg_monochrome},null,8,$j)],12,Kj)):a.$vuetify.theme.current.dark&&s.value&&X($).providerManifests[s.value].icon_svg_dark?(W(),et("div",{key:2,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Lt(`width: ${t.size}px;height: ${t.size}px;`),title:X($).providerManifests[s.value].name},[N("div",{class:"svg-wrapper",innerHTML:X($).providerManifests[s.value].icon_svg_dark},null,8,Xj)],12,Yj)):s.value&&X($).providerManifests[s.value].icon_svg?(W(),et("div",{key:3,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Lt(`width: ${t.size}px;height: ${t.size}px;`),title:X($).providerManifests[s.value].name},[N("div",{class:"svg-wrapper",innerHTML:X($).providerManifests[s.value].icon_svg},null,8,Qj)],12,Zj)):s.value&&X($).providerManifests[s.value].icon?(W(),ee(Yt,{key:4,size:t.size,icon:"mdi-"+X($).providerManifests[s.value].icon,title:X($).providerManifests[s.value].name,dark:a.$vuetify.theme.current.dark},null,8,["size","icon","title","dark"])):(W(),ee(Yt,{key:5,size:t.size,dark:a.$vuetify.theme.current.dark,icon:"mdi-playlist-play"},null,8,["size","dark"]))],4))}}),Jj={key:0},tC={key:1},eC={key:2},iC={class:"d-flex ml-2 mr-2"},sC={key:0},aC={key:0,class:"line-branch-end-left"},nC={key:1,class:"line-branch-split-left"},rC={key:0,class:"line-straight"},oC={key:1,class:"line-straight"},lC={key:3,class:"line-straight"},uC={key:4,class:"line-straight"},dC={key:5,class:"line-straight"},cC={key:7,class:"line-straight"},bC={key:0,class:"line-branch-start-right"},pC={key:1,class:"line-straight-halve"},mC={key:0,class:"line-branch-rejoin-right"},fC={key:1,class:"line-with-dot"},vC={key:2,class:"line-straight"},gC={key:4,class:"line-with-dot"},_C={key:5,class:"line-with-dot"},hC={key:6,class:"line-with-dot"},yC={key:0,class:"line-end"},kC={key:1,class:"line-branch-output"},wC={key:8,class:"line-end"},SC={class:"w-100"},AC={class:"d-flex"},zC={class:"streamdetails-item"},TC={class:"streamdetails-item"},PC=["src"],jC={key:0},CC={key:0,class:"streamdetails-item"},EC={key:0},MC={key:1},xC={key:2},IC={key:3},DC={key:4},LC={class:"d-flex"},RC={key:0,class:"streamdetails-item"},OC={key:1,class:"streamdetails-item"},NC={key:3,class:"streamdetails-item"},BC={key:4,class:"streamdetails-item"},FC={key:5,class:"streamdetails-item"},GC=["src"],VC=["onClick"],qC=["onClick"],iu=new URL(""+new URL("fallback-DFk8zSGg.png",import.meta.url).href,import.meta.url).href,UC=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKEAAABtCAYAAADJewF5AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QwaCisvSBa6TQAACqJJREFUeNrtnXmQFdUVh787MGyirMqgBlDUEAKImkRRqUIxcbfcjcakFDFqlZrSBMtKlf5hSs2uRrOVVuKSGI27FFQlLiHG4AKKKxBBDYICIrtsAvPLH31eqn3Ou91vmHHmvT5fVRfy+p7T3dyft++5fe+54DiO4ziO4ziO4ziO4ziO4ziO4ziO4ziO4ziO4ziO4ziOU3RCkR9eUm9gFDACmGjHeqAn8IUcLlYBa4DtwDpgMfAqsBxYCswPIcx3mbkIy4W3L3AEcLyJby+gsZ0utxpYBLwGPGr/vSCEsN6lV0ARSpoIXAEcBvTtqNsA3gRmAh8C04H/hBBWuQjrW3wDgB8ClwLdOuEtvmWinAk8CSwJIWx1EdaPAI8Ffmr9vh1twTZbX68bsAJ42/4cBAwF9gQ2ADsBO1u5hiqvsxmYBfwdmAa8FkLY7iKs3YDjGuAHrRDCCuCfwPvWh1sCLAPeA9aavy0hhA2p6/UCegHbgK7Wx9wLGAPsBuwBDDShDjXhZrERmAf8BXg8hLDAe4+1I8A+kqapetZKulnS3u14bz0l7SnpQElnSPqlpOclbcy4t48kPSzpBEk9vJY7twD7SXqiFQJ8VNLoDrrnIGmUpPMkTTXBxXhV0hRJw7zGO6cIH61SfEslndvJnmE/SedKuk3SLEmrIq3j7ZLGes13jorrJumPVQrwdUljOvlzBUnDJV0kaXqF1/bLroDOUVmXVCnAZyUNqbFnDJJG2Kv4aUnb7Vne8Oi44yunBzDXotE8vAicGEL4sA3vYXdgpEW9g4Emi4pL45KrbfhmpUXcy2y4Z3kI4aNWXK8rcDBwOTAohDDBRdixIrwM+FXO4i8BJ4QQlrVF343k89+ZwH42/FINa02cq7DvzMACG5b5AFiUZ9Ba0uAQwlJ/H3acAHtKuruKIZhRO3i9LhY0zDB/7cVqSS9KulXSoZJ6em13XhEekOobZXHzDl5rjAUHHcELkn4i6RhJu3rNdy4RXiupOUclbtyRSFjS+ZJWtKGomiVta6XtMkn3Sposaa96qMdQ4yKcA+QZJ5sNHBxCaK7SfyNwPTCllbe4iWR+4UILShaTfAZcTPJZrp8FM03AEAtmmuz3gSRzGmN1tAZ4MIRwYS3XY9ca/59oY85yT7ZCgN2B3wCTWnFfzwD3ADOAxSGELdUMxZB8h+5tQvwScKAdY/n0d+e+JFPTnA5sCf+d8xV2Vit8/64Vr8onJR3Tjs87TNKpkv4gaa5dc6EroTZEeESVfsfl7GuWeFvSBZ/zszdK+oakSa6E2hDhkVX6vb8KAf7VBqudgvYJ20PYhwAn5ix+C3Bltf3NsuuNtP5e/0i/dxkwN4TwjouwGFxNstoui5nA91sR8OwETACOA8ZbVNwnh+lKSfMt6JlHMsl2GfB+COFjr7Y6eR1L6iHptRz+1lQ7hUrSzpIuTQUUbcFKSY95S9ix9Gpjf3uSTMXP4rYQwitVCPBI4OfAAW18v/2BfWpdhA01fv9/Aprb0F9TpG9WYhvwQBUC/DrwWDsIsMQWF2HH8jTJSrgs8q5Yy7N+4wWSqWN5BDgCuItk4NmpUxH2BrrkKDcgp7/uOcpMzznFqhG4lWR+oVPHIlxJsv43izNz+tspR4v6Qk5fk4CjXGJ1LsIQwlzrb2UxQVJTjnKbMs6vADIDElv3fKXLqxgtIcAjOYKTQcDhOXy9A8TG3NbakcV4ktnWThFEGEJ4FngoR9HTc5RZYEcses7TxzvbpVWslhDgqRxlJma9kkMIn2SIsDfJgqYs9nBpFU+E91t/LcZA4PwcvuZFznUhySXjuAg/04KtIVn+mNU3/F6OAGUa8XHFPDNmNru0itcSEkK4z4KUrAAla6r+S8DUyPmxNvs5xnMurYJiq+82ZHz035A1+cCWWW6tYP++Jd6M2X9R0sef00q8mk8D0lBPIgwhzCHJ5xejF3CdpNizPw88EXkdZw1+LyDJcegUtDUcYtm2sjgtw8/pGenZembYT/aWsNhCPC9H5b0Xm5ZvcwtnR+yvyriHpkhaNxdhQYT4SI4KvD3DxwRJn0RSdeybYf97F2GxRbi3pA8yKnCbJVeP+bkmYv9Qhu0+NvvZRVhgIZ6ZI1fNf2O5Cm1pZaUMsNslnZFxD1e5CF2Iv86ZNLMp4mOwpAWR3DCjI7YDJL3hIiy2CPtkBBglZkjaOeLnEEmLKti+JKlbxHa0BUIuwgILcZSk5Tkq9DHLQVPJz0GS1lWwvSlHkLPURVhsIR6WY7+QPBHzBRHbm2Kf9CRNlLTeRVhsIZ5lQytZ3Bv7omIJKytxt+3wVMn2bElbXITFFuJ4CyayeNAWK1Xy87OI7Z0ZLeK32vDbsouwRoU4LhJkpHk4I+C4MWJ7Y4YQT26jvNcuwhoW4khJ89qgRbwo8oq/R9LAiO2xbSBEF2GNC3GYpOdyCrFrxM8BET+vSzo0YvvVnK2yi7COhThA0gM5hdgz4qefpH9EEihdErHd33b7dBEWWIiNkq7PuZXDmIifwZJezkioObSCbX9Jt7gIXYyTc4zjrZf07Ur9REmDJP05Yr9c0jmVhoAknVRl+ri3av3fPbj0PiOCo4HYlgyNJJkabgwhvBrx8x3gpBZOdSdZCHVxCGFlBdu+wBXAl3Pc8rshhClec47jOP46dtqzexBIEnc2AOtDCJtdhMUVw/HA/iQL458JITxXhW1fklRxPUgyvd4RQliVYbM7cCxwMjDObOeRrGl+IITwL6+VYgmwt6R3UhHpHNvsO6/9WWUR7YUZ5YdLejMSEa+TdIrXTLFEeEILQhhXhf3UMtu/RYZoGmxe4//XsUg62o6rUzO8P5Z0uNdOcUT4UGqFXWm7sd/mtN039X24NAa5pdIG4LancekaU8u/0tjXlVKWiRdzpCRx6kCAw1Mimmzfgkv72Q3IYX+llV9kA9GlibU/qlD+mVRLNzIi1POtn+oUQIRTUhMRGiTdkHpVnp1h29VaK0m603571v7+hu3u9KkAxlb/lUTrO265ANUo6RUTxWWp1+Em++3xDPtDU4vnjysTtSQdVVZ+mKQPUyJs9FpwER5lglgiaZfU73fb72tjWRgk/bi0J7GkXSXtIunE1PT+O8vKD00tyFqYkbTJKYgI7zBBbLQZNLMlzSqb/3dRBdtdJL1rZTZJmm92K8rWLA9O2XS3vqasfJcKvi+XNNOO0V5T9SvAXVMpPLbYa3WbHekciLNbEouk01JlNtqcwpX2uv0odW5Smd119vtWSd9swe/u5qvk19MX17EIL7aK/kTSqZb4cqQdI1LDNlsljW/B/r6USA+0KV4Dbd7gcEmL7fwTLbySl9i5pZIOL/UNbafQaSkBX+s1Vb8C7GoDypI0o0KZU1Ji+EXZuSHWWm2XdE4F+1tSrdnYsnMHpV7L22zY5q6y2df3xhbqO7UvwjGpyv5uhTK7pTIqfJBOIZIaG2yW1L+C/ddMYJJ0QwvnR1ifryWmS+pTL//ePtreskD6k+xX0gzMCSFsqlBuFFCKmmeVNl6UtB/JlhXNwMu2P0q5bQPJ9rPdgdUhhHktlOkHfIVkd6geJDNpFgJPhRDWeU05juM4juM4juM4juM4juM4juM4juM4juM4juM4juM4juPUC/8DLSVc5VaBblAAAAAASUVORK5CYII=",import.meta.url).href,HC=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAAPMElEQVR4nO2de7RUVR3HP3Pv9V5eF71eUEBAEQVBufhM0FziE1NRSi1NqaXlI2v5LmtZUlZqrVo+yJKWWCaRWpLio3yh+UjRRJ4higgJIpgooMCFy0x/fPfunDnMzDkzZ98HuL9rzZqZM/vsfc7Z3/3bv9fek8nlcnh4pEFVe1+Ax7YPTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kgNTyKP1PAk8kiNGgd1TAJaECFXANeZ7x6fEmQcpMeGK1gADAO2pK3UY9uBC0kUxnrH9bnALkhKrgM+aedr2S7hmkTtjb7AUOAIoBcwCOiP7vN+4LIy66sCsi4vcHuEaxJVO64vKY4BvgwcB/QrUmY00Ah8YL5XAw3A3kAG6AEMBJrM773N72cBi1vlqrcTuCDRBqQDVQMfO6ivHPQFvgV8E+gWU3YQIpglURMwDehDcSs1C3RJf5nbN1yQqAdSrjOITG2lVPcH7kDSJwmqkMSaZb7XIRKWwkb8dBYLFyT6PiJOFbAS+DXFTfzz0cjPmrYfAV6uoM0dgYkkJ5DFsNDnHAH5PVLABYm+F/r8BiJRMVwM7B/6/g6VkWgccEIF541CkvO/FZzrUQSuPdZxOlHUBbCpgjZ2oXwry6I3sFeF53oUwbYY9hiNrKhKUIv0Ig+HcG3ix5HShf5xSpnlNyAnYwbdb4ODa/AIwQWJmpGinEHTUymi5ELvmZiyhVBNcin0MHArsApYbo5VIYvLwyFckKgvAYmylA6+jkWmdRZ16Ooy2+qNTPs4TAPOpu39Vp9KuCDROQQm/vvAFGQFjQQ2mzZmA38DDgZ6Epj4LwGvl9HWAOR1jsMU2pZA1ei+GoAR5j0b+f1NYC56Rq6vrQfQFT33XgXanmNeyxy3C7gh0U2hzwtRB54MXBk6fg8i0XWISBbnEU+izsCeiKh9ifftbERT7JBQuSrgPdyb9gOBrwEHAcOR17xrifIfIrfGdCQtnyE/C6IcZIDDkXQfjfxvOxcpm0P3/gLwKPAEsKTCdreCa8XajrCo3rGhyPEkJv6xwL0EDztOj9oBuBsRx5bNAKcCjydorxyMIN9PFocG82oCvo6u8+eU36F7AtcApyHHaxwySFKONa+3UR7YLTiQim1t4lcy6oYgadSFZHGsaiQRupjzOgOdKmw7DvukOLcb8A3gAeCAMs47B3gSSfEkBCqEAcBPkFQ6tMI6/g/XJComJdKY9uWGNtoShzuoYzgwGRgcU6478CMkQQY4aBeUMvObtJW4JpGtL5oSYklUGzkeN53WUXyeb29kkJRzgaHAj9FUXAzjgWvZ+hmmxRNpK3ChEw0hMNmtznMTcFfo+Efm+NlIBFvl+O2Yug8gP2jakTCYeOlRDj4PHImmqijORukurvE88Iu0lbggURP5ZFmC/Dn7EOQZLUbWUQ9Eoqw5/gGyWIqhkdKjsz1hk9ZcoQYRaTr5JnoT6ug6h22Bnv145HJIBRckujf0+XUkmcaRb+L/CWUe3kK+Incu8PsSdX/OwfVZuJ66e0W+v4s841uARWiwWKIl9bIfjaZImwueAa4q0JYL3IYImxquTXx781FT3n7fHDke/R5FZ+TfaEFTYC3xzsYcsBZlDNjQSguBm8EVjkc+nz8DzwL/RtNzhuC+apD0HQv8APlySqEb+SQ6GJnxSbESmIFcGcuQz+pA5PgdSaCb/h2FhJygrRP1yzWzL0ESzZ53BPBQzDlrkbNzbqRdlytRqlAnXI880cXQgqbx25GkmgzUlyjfkyDfqQq4kOTpudPQ9DQrcnwK6ufRwM3IUPkuQZpwargmkWsTP7rEZ12Cc7JIB1tTYZtJkAVeixzrjkZ+LSLtx+ZlHarTgHlIIhRDHYHu0xM5WpPgDpRr3lzk9xaURTofSfLZCetNBNcksg+gmCkfHVXlKs1JV5O4NoOLYQ9gDHAUsiLr0T3lEOGXo3DPNCQZn6c0iTYRkO4wkgWbX0OmfzEChbEEh+EOCxckOpLAOrMu9NsR8611tsIcvxCJa4s5DtpvD9QBX0Shh2JmfiMi2eHA1cioiEv6X0MgbRuIl+A5FDZZEVOuVeGCRLnIqxQ2I93EkiuLRu5hBNZTBphJ4FvqaOiCAslXxhUMoR4taEgSp7LP8LMJyi5BSnK7wgWJng19tib+RcC3Q8cnI7P/ThTxthiH4jePEES/c6ZMVOfoKBhPeQQKI25tXFjy7JGgvnfpAEvDXftOrGkbjc6XOp4jX8y35dq1cnEqlRMoCdYRSKskz+BV4t0krQ7XJCo2neVifs8W+dyR0Ih0oNZcKt5MMgXZoo4OsG6urUz8uN8zCcq0N5qAQxKUW4G8+E+iFJSjkLNxtwTnhvPOkwzwgxGp23U/KNeSyEa1O0WOd4r8blGLHlo4G3AH2m9jiEKw0vOkBGXnIk/25UjPux/5b05iaydgMVgSzU9Q1u6C0q5wIYlOJzDxbTD1D8j93mLasLtqXIoWH24xx2cgPeALBL6dLK3gy3CAuHX7m5EFNq/Ab7PRVDiV+ECqJVES0u2K9LR2dZW4kETV5hXOr2lG8bLN5t2O5l4oMNkA7ISslVrkO6o3rwbazllYDuIi9ssoHdB8isIEK4ZVJAsTXUo7J+65juKvQeQ4Dfhp6PijSKRPQJLI4iJkjUyK1DkSBRM7AmxHxiWgxa2jaybekgrnhT+PJHJcFmMjyk68gPio/KEok3ISDi1g1zrRpsi7hbW4opF0a+KHkaNjmfi2U1fFlOuDUjmKYSTxCXZrCZTkNSRfWDAQpdSchQZxFDuiae+PaDeV8xLWmwiurbM4E39bRpwUqUWe7CVsHeAcDPyS0suJQFOiTZvJAX9BOVdJpvd+yKk7H3iMwFVQh5T9oQT9/UOkjzrRpba3PRtbE4sSlGlCU/dU4EFkNBwLnIGmkThErdJ/oNSXpDlFVUjaxUm8PiiWdwrJMiNiG3UJO9KiI8ea+NEofg1b6xGZVriuNLDX91TC8n2QWf8E8CJampOEQFDYo389rRNgHUXlW/TkwdVm6HYtvk10mok2u7Kmv93I6m5klubQqHsLjYTJofrC9XQkzELZi+X4Zcp1nL5b4NhMZKTcgnv/2dVIgX86TSUuSHRD6LNViF9GS6otbKrqdGTG2+i91QEeJtCbqpGC2dHwERoEN8QVbAVMRBmJ43FLpK6m7kFpKnFBorCusBr5fC5BN2zxOErPnEi++/8ClMpwT6TOEcRbQ+2BW1EY4/hWqr/YNN6CpFELeq4uV36kXtfXVrqHHT1R072YKZ8mCOsyKLlDpK71aP3XPyuo60PypXMhlNpwIgvcCHyJ8nZSKYVXgDPTVtJaUfxCvp9Cx0vVUQhxG2i9h0zcJAHJJJtsvVegrkXAV9AUnJTsq9G6+xkx5eJWpOSQ1XccctxW6pBdhFbcnkzhxZJlYVsz8ZvR6FmHLJeX0APZjDp8ofktyW5oWdQJy5Fjz9Zt61tuPheaVt9CI/hEtDp1OIWTyBaj7WN+hZLsDkJ/orOSIJl/PlKo30e77ybBMhTuuBmpCWPRTiHFNjXdhEIuC1C+91M4NF5c/8vQJmTOX4+WpVi8iFJgV5If9rgQ6URLI3WOoPCotUnwLlIfapGSv47KdrENYzfUgTl0fx+ia1yIyG1hXRyt8Uc6jYjM9l8AuiNi5pCEe5X091kQLiTRbQRr6/9jPj9H/vqqmeb3x5EfxZr4K9ADDftg7D8CFYLLLL5NuBuNywn2hSyF1vwXpg9wtKK1XLiQRFEH4nokMcLLgbag6aIXAXGtP6gZLTcOYyUdIO3TIxlcKNarQ683CdaPh49PNWWfRiJ+IbIwjkZTwcLQayalk9T7oGh0JWauTVspB23lQQ+348oXZFN0WhUuHk5d6GWlUk3kuA172B3M7MuGPcLHusVc11XIMuqH9JpiU3KhjhiDNoqySHL/9ShCbvOJ0j4zS5bodY8CfoY84hMi5Qsh7jqGokhAseCts4HheoRZv090jsxGfqdIuUJlwtgZ+CrSvY4B/oXCK6ORFTQRdfoZSC+bQn5GYj2aOnsDf0XK+yiUs3MH8sN0RQsTp6NQQzcUha8FrjD1XmuO34ik63lIsX4ArXgNB0B7mut4BmVwDgK+Y9odj8g0wbwGoryl3iil4zZkMZ4beQ7nI0X5VhRGmmTu5XSkUN+FpP9+iIQXAfehvQxq0VY1r6Ct+1KjIwU6k2ADUsafRg97FzT93YAe3hgUVLwGec7HkJ87k0Vm9QWo0+ejlNbzUaT8RPQnemci8u2PSLUG7a5xBeqEy5Cv5lSk5w03ZY9AS5/3DLXZH9gdWU/j0EDYG0ndQ9CWO59BMSz7h8xZ9Ac4JyDSXkwwfe+EArwvmns8GbkOXkUW8fHmel4y93ogIs0ByCVwFHJYLkD7IUXz4cuGaxLZxXlRfaVL5HeLmgLXUGo624B0qaXIunoFLdluRPG2tWjk1RMsSQ5fi3UwdkfB1KmITG8jqdYJdewcpMv1NNezBeluPZAxYFfxzkCLB3uZa5uLDIJwNuIwcw0bCaYwu/FDMyLUYpQhaqf3KjRI3jDHu4TO7YcGz0MoKNzXnH8nIuHuSDe1i0obEZnsHtq7mvv9nXlPbaG7MPEfI3/7vBxiefj4c6bsfeSP0hXIp/IgwYhYT+kclxr0gD9GD7cK5d3sjTryBeRn6o9GdNgHZTtoHpqy9kWrMjoTbAO4ET14u5F7jalnNuqILsicX4c6cCMiST0imd1LycLmlK8icG8MRyuFF6Jp9S4kLV43bdnrHojIMY/APbAASd+bzf1ejqbJ35r6piPJuh8aSAvN+dYFM9NczwREvnLWuRWECxO/rTEMddwnaFTOQFNEE5JEc1FnDkMdPYsgnNAHSYGlBFPVHHPeQaiD7UMehki+1Jz3FpIwA9DmVm8i4vZBnu01iBg1pk47EDoR/MfbBtRxAxDplqNMyH0R2d5Bg8q2NxhJndnkb0u4BxqMKxGp9kKEttJmiDlvNZK4vU2b80w9Q0wb83CQy74tksijg2FbU6w9OiA8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzU8iTxSw5PIIzX+B1yXSRtpspd4AAAAAElFTkSuQmCC",import.meta.url).href,R0=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAALyUlEQVR4nO2debAcVRWHv5eQjRhIIIQEDFRIwCAYFmUTQxJ2TalIQGQRlE3WiBSFsQoiSwWECiIlm8oiSwBBFIMga8BYQFhFCQYhIYIBAoQALxsBkuMfvx6nX8/Sd+Z2z8x7735VXW96+m7T7zd3Oef0nTYzIxDwoUezGxDo/AQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3gQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3gQRBbwJIgp4s06zG1AnQ4HPAtsAnwdGRucDgH7AIOA94FPgHWA+MBf4O/Bv4M3GN7nr0tZJAvXbgB2BfYGvIfEMqrOsT4EngN8CtwPLM2hft6bVRTQE+DZwJPAlJKYkbwDzgGdQL/Nf1At9HF3vAQwGNkPi2w3YBegNvA1cClwJLMvrQ3R1WlVE2wDHA4cAGyeutaOh6a/An6PX7TWWPxTYG/geMAFYCBwHPFJ3i7sxrSaiMcCZwEFAn8S154DrgJmot8mKkcAU4Nio/JOBjzIsv8vTKiLqA5wN/AhYN3HtAeASYBaaz+TFROBa1CtNIAjJmVYQ0Z7ARWjOE+cR4DLgTw1syzDgNjSfOgBY0cC6Oy3NFFEb8HPgtMT7rwE/Bn7X8BaJNuAeYH1gHPn2fl2CZhkbNwDupFRAM4CdaZ6AAAw4EBgITG9iOzoNzeiJRgO3AtvH3luNep/LGt2YKmyB7El7Ay80uS0tTaNFtAXwKDA89t4i4HBgdiMb4siRwFFISE2fPLYqjRzORgD30lFAC4G9aE0BgYbXTYD9m92QVqZRItoYuAv4XOy9t4BJwMsNakM9rAEuB37Y7Ia0Mo0Yznqi5frY2Hvvo6X983lXngF9kVX8YOTAbVXakOF0u+jvpsghXWA1Wvm+gOZ6S7OquBFe/NPpKCBD7obOICCQ0fE0JPxWZAzwXTRvG41En8Yi4Bpkn/M2qubdE+2M5jtxF8Y04Kw8K+0m7Amcgiztvess417gCDy/IHmKqB/wNHKmFngBWaY/Lpsj4MJQ5AY6rMy114G7gSXAKOTAThttpqAeqW7yHM5+QEcBgXxjQUB+nE+pgNYCF0dHvFcZiHqqamzt26C8VmcDkfEwzi3AwznV1524llKf3s+An1A6LL3nUN4q3wblJaLvoG63wHLkpW8WvaKjXFBbOdaJ0ufZU7ehiIU+1PZ/mEPp8HN1mXS9gN0dyptbQ91lyeMm9URDWZzbgVczKHsAcCrVJ5JLgN8D41FIx44Uw0s+BhagCeWNFJ2rg5HRcw/UvRcC4QytZB5BPcCSCnXuhyImq7EC9cbjgX2Q22e9qA2rUIzUHGTgXJhS1hXImt4TOYvLLdcPREv9aixGgX1+mFnWxzgrZbeMyj6oTNnleNshzW1Ru640szcd0r9sZqPKtKmfmS10bNc7DmmWmNnxZepJHkPMrH+FayPM7HWHug5xqCf1yENENyYaOt/M+mRU9mMONyZPbrfSNh2TU10HlKnL5RhrZgtSyv7IzI6ts/ySI+s50QBk9IpzL7KW+jIO+HIG5fiwCx1tXj2ByTXkfxUtz19ySHtqDeUCbAWciyJBt6iSbh5asV1TY/kVyXpOtB2KDozzUEZlJ2OPKnEPmiyeREezfyXmonnBQci2Uo1P6BikNhFZjF14FLlOlqA5zLSU9CPRXG5lmWu9gAuADVFs1mZoLlfJWv0hEu4dwG+o/cGGqmQtor0S5+3AkxmUuwPwdYd0F1M0LRxBuohmReWuRN/eNBG9hpyyoNVV0oxRiX+icNsPo/MNHPK0UXnVNgE4w7FuQwbIo9GXIHOyHs52SpzPR0+g+jIZDR3VmAdMjV4fhhyQ1ViOequVyByxr0M7/hh7PRa34XUtcCJFAQHs6pBvMZUfrDzBIX+BNvSFmoGbX61msu6JtkycL8A/mGsEGmrSmEZx7vV9h/Qz0cOOAN9EBtJqrELzuwInOtQBMg08HjsfBXzRId+cKtduQr0LyNyxA1rSb1Qlz8HoYc1a51rpZDVDj45liVXAtAzK/GnKSsNMS/TCcnd7M/vEIc9eUfpeZvaiQ/pbYm3a1MzaHfK8b2bDrOPnOc8hn5nZV6y2+7SLma1KKXNV1PZM/+9ZD2fJZ8Z8wyf6oNDZNGZQdAVMJr2HfZbi0677o00hqrEW+EXs/DjcJu0zUfBdgb7ISJjGi9Q+l3yWdDdHXzp6EjIhaxEly1vsWd4kSofIJCspmv03R912GpciYbSheKc0ZgFPRa/XR0/LpmFoKItzTNTGNKZT+yR4U9S2anxEZat73eQdHlvvzh2g3uRMh3Qz0NwLNN5/JiX9POSGAbk5xjvUcXHs9TGkT9pBovtb7Lw/CrtI4zHg5uj1emhDi7RVI6jHTvvsT6BwkWzJeHxMcrZHWfunjO9mmvuMidIPNrkM0jg5VscdDumfNrOeUfq+ZvaKQx4zsynW8fOc6Jiv4CLa2szmRO+tMLNvWOV7NczMFjuUPbFKGXUfeYvoKo+yHnC4KXfH0p/hkH6RmQ2M0m9l6RNRM7PDY3Uc6pC+wIRYvtFm9q5DnnOi9EdY6RciXl78WMfM7nMo+zoza6tQRkuJaE2i4bPrLGd3h5tiJj8RJt/cqw7pL4zVcY5D+tdNvU8hz2zHdpmZ7RHl2cbMXnJIf75phTmjzLVPTT1T8j4NNrO7HMq+tUzelhXR0kTjPzB5m2st5zKHG/Mv07cQq33o62Vu/9hzY236grmZDgo8bmZXmJb5aRRMIftVSXOlmW1kZr3NbHPTsJzmaDXTkJ2VA7whInquzIeYVGMZQ8wtlGNyLM/9DulnxtJPdEi/1MyGxvJc55CnVhaZ2UmxOnqY2SVV0r9rEn/SHleON8zsVKvv/9hUEV1V5sM8WGMZFzncoLfMbECUfh+H9GYdY5oedkh/Xiy96/zJlTfM7CzTcFTuHkw0s6fqLPtJMzulStmZH1m7PWZR6tcZj56Hcgl/ABnnrk9J8xDFPRZ7oE08q7lXFqLlLSiicI+U8t9DT74WOAE3v9OdKBTjaORVXxd5/VegCMnngfuBB6lur7kH+Avy501EbpLhyMDZP0qzBvnWFgOvIDfJo8i00NB9A7J+ZGgw8kclvdQ3oo0RWoE/AN9KSXMOis0BbT76Ivps1ViDYpoLluaC8W818AEK//C52QOQKDeMzj9BYm+n2Xso5dC9VZo7HF5DGXkdkyqPAv/nAzPbMJZnqkMes47mhm515GGx/lWF9y8Hts2hPlc2oqPluRK/puiD6o0e+Xbhl3W0qUuQh4iepBimEGcgGkqG5FBnGoPQxlrVwkZBc6cLYud7olCUNJ4iuwjOTkdevrOplB//t0QPMKZ5zbNkGJrsJqMuy3ESmr9AbZGL1yOHbrckLxE9D9xQ4dq2KAzjgJzqjjMauI/SnWnLcXWUtsCuuDlnl6JVWbclTy/+FIre9SRDUKjpdDrunJYV66Fe5THcAulfprTXcQkRAW2g/q5707oeeW8tMwZtLVMtzmUpsvNchWKyfRiMYpBOR4/QuLAMzX2eib23E8X4obS8o+nmv1rUiJ3Svoo2NO+Vkq4dDSd3IcPgfxzLH4ZijA9GjzMnH1mqxlpkM5qZeH8q2sEkbZ5zE+6PMnVZGrV77FFo6ey6GdNyZLSch8T0FsXdKwZFxwjUC4wkPci+HKtRhOLNZa71p/S3RcrxIcVHiLotjdyCeB80bG3SqAqrsAw4FLkXAp40cgviB9Gj0M+kJcyZf6A5UBBQRjT6ZxnmIyFdgNsGTFmyElnNx9J8IXcpmvkDMcPRKupY0gPMfViO7DjTyWBDp0AprfBTVaPQzmqHkcH+gTHmIvfLDRSfdA3kQCuIqEA/ZFkeh0IqhqNVVz+HvO1oeFyANiyfjew84WemGkAriSjQSWnW750FuhBBRAFvgogC3gQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3gQRBbwJIgp4E0QU8CaIKOBNEFHAmyCigDdBRAFvgogC3vwPN7k7QTq1nHAAAAAASUVORK5CYII=",import.meta.url).href,WC=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAAMUElEQVR4nO2de5RVVR3HP4MSAwgIakqWiqIIkoHVivKxUksx6SE+kwg105VY+ShJzUdWmpWhaWpaLjNExSYN8YEPTNOFL0QFRRHTJYgi4AMUH8z47Y/fOeveObPP495z595zV/uz1ln3ztl7n9+eM985+7dfv9MiCY8nDz0aXQFP8+NF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnNxs2ugIVMgDYGxgDDAzOfQgsAe4BFgC1WiA1FNgX2AnoGVx3eWBnLtBeIzvDgH2AHYFewEfAMuBu4FFgfY3sdBstTbIorRX4KvCd4HNgJL0dWAzcANwILMphazBwIDARGAV8LJL+cmDnWuDJHHa2BA7GfqedMaGGKLAzA/gb8HQOO92PpKIfIyXdpeyslXSWpAEV2ukp6RhJyzLaeS+w07tCO70CO69ktPOOpFMltVZop25HwyuQchwo6c2MNzvKg5K2zWhnU0kzqrQzKyifxc4Wkm6u0k6bpIEZ7XgRBcehktqrudtlPCNpaIqdwZLm5rRzr6RNUuxsJWleTjt3KLtg/+9FtJekd1Nu6CpJV6fkkUwgg2Ls9JU0O8M1QmZJWhSTdqPim7b+ku6rwM7Nkp6PSWuTNb2N/hsVWkS9JD2Qfp81X9IQScsz5D0vxtaUDGVDFstENy0hz9kxds6qwM5Cmf/TlpBnSoydhhxFHCc6HNg1Q77HgReBSzLkPQH4YuTccOAUR97ngJWO81OAd0keFjkJ2CVybhhwoiPvImB15JyAnwLvp9g5BRt6KARFFNG4yM8COiLn3gGuCr7/EVgYfF+He/ymFTgscu4gYJAj753YH2gKpTGho4CbgvSke9YvyFvOOGx8K8pMYARwOjAHeAiYBNwepLck2BkEHJGQXl8a/SiMHIMlLY08utslnStpnKTDJR0saftIuWGS9pM50TtLusLRBDyizt3kWY48kvSBpC8n1PGGmHIhT0vauCz/bTH51kkak2BnZoqdeZL6JJSv29HwCkSOXSStd9yw/0raM+M1DpH0muMab6skvk0kPefIE/K0zBl2XX93WW/s9Ziya8vsDJb0YoKd+Yp3xvcK7KyKKbtK0jYxZet6FK056w1s4Dg/BHvk/xWbGnDRAkzFRpM3j7l23+B7X2DjhHqMACbHpP0H2BPYAWsS5zvqETZFaXZGAd+PSZsT2Nkea4oXJNhpKEUT0ft09X/KOQo4PyZtGuZAx1HuWwmbo0oiqR7hNVZi82nR8+Xf0+ykpQO8DrzqsFOIOauiTcCuAFYBWyTk2Sbm/IcZrw2wJsXOXcAFMWkTgaOxXtfHSX4ahHZcDjzALcT3Lo/EnOcdAzuFpWhPomVY1z2JO4PPjYH9saYH4BfAGwnlnqD03/w28HxMvhWYSOKeROOBPbAmM605WUn85OlS4JiEsocGdgotICieiMCeAnG8hXW1twHuB2YBj2FN3EuUBObinsjPc2Py3YR1yc8Nrn8d8C1KgvkgwYaLu2POt2FCPB+4NbDz9bL0Su00jkZ79o5jM9nosIvZsq68a6a9TdIZMeWeDa5bbmeo3D2stZI+dJy/Jig3PcZGefkdyuxsJ2m1I9+aGDtXBuVuSrHje2cJrAR+H5P2aeB6bC1OlAOA43E7qufQdRR6CXChI+9GdF7bEzIxON6LqVscLwB/cpzvF2PnaGydUaV2GkYRRQRwBfAHx/nBQP+YMi2Y/xD9nS4BpseUuRi4r4J6HYaNflfKVODhCvIfSvE6PbEUVUQAPwP+nPMa07G5qDjWAt/DVkVmYRDV/XHfxHpbL2XMPxD3eFkhKbKI1mPN06mkd99dXIg1De+n5HsBc2ifyHDNudj8XDUsCuw8kyHvwzSRY11kEYFNpv4Gm9WfQfqNFdYb2hs4mex+xWJssfy0hDyrMd8mzz1bCHwF+HtCnteAy3H7S4WkWdrdxzB/5LPAXtgyjs2xKZD12B/4eeABzMepZofESqzJuQUb5NuD0jTJPGxW/wW6LtyvlFcDO3cEdnYF+gRpj2Lifxkvom5BmJge60Yb7dgTrw2bs/oktoboqeATqnOso3Rg/tqMwM6WDjtxc4SFo5lEVE86gGeDo5z+wMga2mnHfKXoFqdBlEbiC0/RfaJ6kzaNcSK2qTGJHhmuk5Z+CrBVDezUBS+izoyn6wrIkCOxnmIaK0iewwMbBzooJu1YbJltGq9msFMXfHPWmRHY6PY44GbMYe8PfAP4Ltnu1wO412iXMxw4E9vdOhMTwwBs1H0i2f65H8QmkhuOF1Fnwpn7CcFRDTdmyBP2HicFR6Uoo5264Juz2vIvbIigu5lB8mqHuuJFVDveBs6rg53VdbKTGS+i2nESlU2yVsvp5ItGUnO8iDpTbZf5Akr74LJQ7eTqr8g/KV1zvIg6s6bC/ML+sD+psFylXfMO4IzgKB6NXhVXsKOnpGMlLYlfUChJ6pBtHty3SjsbSJqs5D1poZ1HlH3PXUOOZomUVm/6AmOxjQDDsbGiDmzrzgJsHfZc8ofC6wd8LbA1DNt80I4NWC7AensPUrvQft2CF1E6LZgP44oJ0B12PiLbXrTC4EXkyY13rD258SLy5KYoc2efA/bDfAHfvmanFduUWcmOlZpTFBHtis2ee6qjoSIqSnNW+KjxBabh3f+iiMjTxHgR1ZdXsG1J0YCfTU2ziOh32JLSydhuUhergOOAQ4C/1KFOi7HNla7t3nGcjK1cjIvC1pQ0i4g6sIVYlxIfqmUmcBm24s8VrbXW/BLbzLikgjJhIIrBta9O42gWEY2ltJnvmpg81wafW2O7TGuJ6Or8h1MTlSzrOA8LbhUX9URYDKal2CK3ppj+aBYRjcJ2voIt/IrGL1xKaS/9PnR9lRXYrtKzsddQ7Y+9IupyLCZ2lMexQA9XYZHOJgC7YUE/Q8K1Rz2DOk3GgmFNxMLfuARwG/YEiy6hFba1+ptYMPXhwOexDQMzHdcpFo1eRhAcx6UsiZAsNnWY/+JI2kVlaXMcZe9VKSBUi6QNy/Lvq65hfqcFaZ+StHXwvVX2wpmQCcH5zSX1c/xOpznq8cMg7fjI+Z+XldtR0mdUCoE81XGdcs502K7r0SxPIrAgDWEAzRsiaeHOh6HY6Hc5q4AfYGFdvoSFtnsSuBLbIDgbc3jLCQdhl2L+y2VY5P7tHfVagcUIuB74J/ZE6oGF67sj5rrlTeAyzNcDi2KyCAtr/ARwEZ1D8BWSooxYZ2FbrLm4CrvJz2D7xJ7CAi6AbTzsFyl3DbYduj/mCI8Kzo/A1u8cjK0POhmLxFbOEKw52SyhXiMxUYcBOg/AmqdLsb1rY1N+rw5KS0yWYkEjtgts/yilbCFopicRlHanvgv8I/h+NRZCZgPM34nyUPC5OyUBhYzGFqCtoWtQc7CA50kCAntCRiO8jg8+55G+BmlrSrthZwd13AeLQjInpWwhaDYR7UKpm3wb1lSFTupo3EEQwhhFGznS+lAaDqgmkFYcYbP7BtliJF0M/Br7/dqxPWW/xQRayThUQ2g2EW2CNWlgg31XY70usEFGV+ygMMaja5T4rbLzfR3pWXBtmX4t+OxHthAxvYHTsPhEc7EYj6ODtDPIFl2tYTSbiMDehwY2ch2G4mvFuu0udgs+76Nr83ArFn1tC8zprobpdHb012BOOMAXyBasaj3W7PXAmrMTKG1QXIet7S4szeRYh4zGnNmFlGawx2CvL3AxAeuJzcfeDfJjzGm9n1Jo4ImYb1IJ4bqnPtiY0v2Yb9SGLbIfQPZ3kp2D+U/jgU0xIU4N0jarom51pRlF1Bv4NrYTNGQS8U/V/thA3vHAv+kctqUXJqpzI2VCZzjJTwoHEydhzehFZWk7YL5M9G2PHZFPsMCk87GX5d0eyf+J4LpDEurRcJpRRGD/+cMoCWfvlPw7YWM2d2Fzb8uxZmMsXV+3CdaTuw530PWQE7ExnJHAzthTZAXmB43B/YqqI+j61GzFOgfzsLA0y4NrbItN37heu1UoirLb4zjcUec96ZxFg1eFNqNj7SkYRRFRUerRjDT83hXFJ1qHddnb8bs9KqEfpZDFDaMoPpGniWn4o9DT/HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJzf8A7VafuKusJ8IAAAAASUVORK5CYII=",import.meta.url).href;new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAABfCAYAAADoOiXnAAAMUElEQVR4nO2de5RVVR3HP4MSAwgIakqWiqIIkoHVivKxUksx6SE+kwg105VY+ShJzUdWmpWhaWpaLjNExSYN8YEPTNOFL0QFRRHTJYgi4AMUH8z47Y/fOeveObPP495z595zV/uz1ln3ztl7n9+eM985+7dfv9MiCY8nDz0aXQFP8+NF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnNxs2ugIVMgDYGxgDDAzOfQgsAe4BFgC1WiA1FNgX2AnoGVx3eWBnLtBeIzvDgH2AHYFewEfAMuBu4FFgfY3sdBstTbIorRX4KvCd4HNgJL0dWAzcANwILMphazBwIDARGAV8LJL+cmDnWuDJHHa2BA7GfqedMaGGKLAzA/gb8HQOO92PpKIfIyXdpeyslXSWpAEV2ukp6RhJyzLaeS+w07tCO70CO69ktPOOpFMltVZop25HwyuQchwo6c2MNzvKg5K2zWhnU0kzqrQzKyifxc4Wkm6u0k6bpIEZ7XgRBcehktqrudtlPCNpaIqdwZLm5rRzr6RNUuxsJWleTjt3KLtg/+9FtJekd1Nu6CpJV6fkkUwgg2Ls9JU0O8M1QmZJWhSTdqPim7b+ku6rwM7Nkp6PSWuTNb2N/hsVWkS9JD2Qfp81X9IQScsz5D0vxtaUDGVDFstENy0hz9kxds6qwM5Cmf/TlpBnSoydhhxFHCc6HNg1Q77HgReBSzLkPQH4YuTccOAUR97ngJWO81OAd0keFjkJ2CVybhhwoiPvImB15JyAnwLvp9g5BRt6KARFFNG4yM8COiLn3gGuCr7/EVgYfF+He/ymFTgscu4gYJAj753YH2gKpTGho4CbgvSke9YvyFvOOGx8K8pMYARwOjAHeAiYBNwepLck2BkEHJGQXl8a/SiMHIMlLY08utslnStpnKTDJR0saftIuWGS9pM50TtLusLRBDyizt3kWY48kvSBpC8n1PGGmHIhT0vauCz/bTH51kkak2BnZoqdeZL6JJSv29HwCkSOXSStd9yw/0raM+M1DpH0muMab6skvk0kPefIE/K0zBl2XX93WW/s9Ziya8vsDJb0YoKd+Yp3xvcK7KyKKbtK0jYxZet6FK056w1s4Dg/BHvk/xWbGnDRAkzFRpM3j7l23+B7X2DjhHqMACbHpP0H2BPYAWsS5zvqETZFaXZGAd+PSZsT2Nkea4oXJNhpKEUT0ft09X/KOQo4PyZtGuZAx1HuWwmbo0oiqR7hNVZi82nR8+Xf0+ykpQO8DrzqsFOIOauiTcCuAFYBWyTk2Sbm/IcZrw2wJsXOXcAFMWkTgaOxXtfHSX4ahHZcDjzALcT3Lo/EnOcdAzuFpWhPomVY1z2JO4PPjYH9saYH4BfAGwnlnqD03/w28HxMvhWYSOKeROOBPbAmM605WUn85OlS4JiEsocGdgotICieiMCeAnG8hXW1twHuB2YBj2FN3EuUBObinsjPc2Py3YR1yc8Nrn8d8C1KgvkgwYaLu2POt2FCPB+4NbDz9bL0Su00jkZ79o5jM9nosIvZsq68a6a9TdIZMeWeDa5bbmeo3D2stZI+dJy/Jig3PcZGefkdyuxsJ2m1I9+aGDtXBuVuSrHje2cJrAR+H5P2aeB6bC1OlAOA43E7qufQdRR6CXChI+9GdF7bEzIxON6LqVscLwB/cpzvF2PnaGydUaV2GkYRRQRwBfAHx/nBQP+YMi2Y/xD9nS4BpseUuRi4r4J6HYaNflfKVODhCvIfSvE6PbEUVUQAPwP+nPMa07G5qDjWAt/DVkVmYRDV/XHfxHpbL2XMPxD3eFkhKbKI1mPN06mkd99dXIg1De+n5HsBc2ifyHDNudj8XDUsCuw8kyHvwzSRY11kEYFNpv4Gm9WfQfqNFdYb2hs4mex+xWJssfy0hDyrMd8mzz1bCHwF+HtCnteAy3H7S4WkWdrdxzB/5LPAXtgyjs2xKZD12B/4eeABzMepZofESqzJuQUb5NuD0jTJPGxW/wW6LtyvlFcDO3cEdnYF+gRpj2Lifxkvom5BmJge60Yb7dgTrw2bs/oktoboqeATqnOso3Rg/tqMwM6WDjtxc4SFo5lEVE86gGeDo5z+wMga2mnHfKXoFqdBlEbiC0/RfaJ6kzaNcSK2qTGJHhmuk5Z+CrBVDezUBS+izoyn6wrIkCOxnmIaK0iewwMbBzooJu1YbJltGq9msFMXfHPWmRHY6PY44GbMYe8PfAP4Ltnu1wO412iXMxw4E9vdOhMTwwBs1H0i2f65H8QmkhuOF1Fnwpn7CcFRDTdmyBP2HicFR6Uoo5264Juz2vIvbIigu5lB8mqHuuJFVDveBs6rg53VdbKTGS+i2nESlU2yVsvp5ItGUnO8iDpTbZf5Akr74LJQ7eTqr8g/KV1zvIg6s6bC/ML+sD+psFylXfMO4IzgKB6NXhVXsKOnpGMlLYlfUChJ6pBtHty3SjsbSJqs5D1poZ1HlH3PXUOOZomUVm/6AmOxjQDDsbGiDmzrzgJsHfZc8ofC6wd8LbA1DNt80I4NWC7AensPUrvQft2CF1E6LZgP44oJ0B12PiLbXrTC4EXkyY13rD258SLy5KYoc2efA/bDfAHfvmanFduUWcmOlZpTFBHtis2ee6qjoSIqSnNW+KjxBabh3f+iiMjTxHgR1ZdXsG1J0YCfTU2ziOh32JLSydhuUhergOOAQ4C/1KFOi7HNla7t3nGcjK1cjIvC1pQ0i4g6sIVYlxIfqmUmcBm24s8VrbXW/BLbzLikgjJhIIrBta9O42gWEY2ltJnvmpg81wafW2O7TGuJ6Or8h1MTlSzrOA8LbhUX9URYDKal2CK3ppj+aBYRjcJ2voIt/IrGL1xKaS/9PnR9lRXYrtKzsddQ7Y+9IupyLCZ2lMexQA9XYZHOJgC7YUE/Q8K1Rz2DOk3GgmFNxMLfuARwG/YEiy6hFba1+ptYMPXhwOexDQMzHdcpFo1eRhAcx6UsiZAsNnWY/+JI2kVlaXMcZe9VKSBUi6QNy/Lvq65hfqcFaZ+StHXwvVX2wpmQCcH5zSX1c/xOpznq8cMg7fjI+Z+XldtR0mdUCoE81XGdcs502K7r0SxPIrAgDWEAzRsiaeHOh6HY6Hc5q4AfYGFdvoSFtnsSuBLbIDgbc3jLCQdhl2L+y2VY5P7tHfVagcUIuB74J/ZE6oGF67sj5rrlTeAyzNcDi2KyCAtr/ARwEZ1D8BWSooxYZ2FbrLm4CrvJz2D7xJ7CAi6AbTzsFyl3DbYduj/mCI8Kzo/A1u8cjK0POhmLxFbOEKw52SyhXiMxUYcBOg/AmqdLsb1rY1N+rw5KS0yWYkEjtgts/yilbCFopicRlHanvgv8I/h+NRZCZgPM34nyUPC5OyUBhYzGFqCtoWtQc7CA50kCAntCRiO8jg8+55G+BmlrSrthZwd13AeLQjInpWwhaDYR7UKpm3wb1lSFTupo3EEQwhhFGznS+lAaDqgmkFYcYbP7BtliJF0M/Br7/dqxPWW/xQRayThUQ2g2EW2CNWlgg31XY70usEFGV+ygMMaja5T4rbLzfR3pWXBtmX4t+OxHthAxvYHTsPhEc7EYj6ODtDPIFl2tYTSbiMDehwY2ch2G4mvFuu0udgs+76Nr83ArFn1tC8zprobpdHb012BOOMAXyBasaj3W7PXAmrMTKG1QXIet7S4szeRYh4zGnNmFlGawx2CvL3AxAeuJzcfeDfJjzGm9n1Jo4ImYb1IJ4bqnPtiY0v2Yb9SGLbIfQPZ3kp2D+U/jgU0xIU4N0jarom51pRlF1Bv4NrYTNGQS8U/V/thA3vHAv+kctqUXJqpzI2VCZzjJTwoHEydhzehFZWk7YL5M9G2PHZFPsMCk87GX5d0eyf+J4LpDEurRcJpRRGD/+cMoCWfvlPw7YWM2d2Fzb8uxZmMsXV+3CdaTuw530PWQE7ExnJHAzthTZAXmB43B/YqqI+j61GzFOgfzsLA0y4NrbItN37heu1UoirLb4zjcUec96ZxFg1eFNqNj7SkYRRFRUerRjDT83hXFJ1qHddnb8bs9KqEfpZDFDaMoPpGniWn4o9DT/HgReXLjReTJjReRJzdeRJ7ceBF5cuNF5MmNF5EnN15Entx4EXly40XkyY0XkSc3XkSe3HgReXLjReTJzf8A7VafuKusJ8IAAAAASUVORK5CYII=",import.meta.url).href;const KC=new URL(""+new URL("m4a-BFCodQZL.png",import.meta.url).href,import.meta.url).href,fI=new URL(""+new URL("hires-DgAYKrO8.png",import.meta.url).href,import.meta.url).href,$C=new URL("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iNDgiCiAgIGhlaWdodD0iNDgiCiAgIHZpZXdCb3g9IjAgMCA0OCA0OCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMSIKICAgc29kaXBvZGk6ZG9jbmFtZT0icGNtLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40IChlN2MzZmViMTAwLCAyMDI0LTEwLTA5KSIKICAgaW5rc2NhcGU6ZXhwb3J0LWZpbGVuYW1lPSIuLi9wcm9qZWN0cy9tdXNpYy1hc3Npc3RhbnQvbXVzaWMtYXNzaXN0YW50LWZyb250ZW5kL3NyYy9hc3NldHMvUENNLnBuZyIKICAgaW5rc2NhcGU6ZXhwb3J0LXhkcGk9Ijk2IgogICBpbmtzY2FwZTpleHBvcnQteWRwaT0iOTYiCiAgIHhtbG5zOmlua3NjYXBlPSJodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy9uYW1lc3BhY2VzL2lua3NjYXBlIgogICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHNvZGlwb2RpOm5hbWVkdmlldwogICAgIGlkPSJuYW1lZHZpZXcxIgogICAgIHBhZ2Vjb2xvcj0iIzAwMDAwMCIKICAgICBib3JkZXJjb2xvcj0iIzAwMDAwMCIKICAgICBib3JkZXJvcGFjaXR5PSIwLjI1IgogICAgIGlua3NjYXBlOnNob3dwYWdlc2hhZG93PSIyIgogICAgIGlua3NjYXBlOnBhZ2VvcGFjaXR5PSIwLjAiCiAgICAgaW5rc2NhcGU6cGFnZWNoZWNrZXJib2FyZD0iMCIKICAgICBpbmtzY2FwZTpkZXNrY29sb3I9IiNkMWQxZDEiCiAgICAgaW5rc2NhcGU6ZG9jdW1lbnQtdW5pdHM9InB4IgogICAgIGlua3NjYXBlOnpvb209IjgiCiAgICAgaW5rc2NhcGU6Y3g9IjEzLjYyNSIKICAgICBpbmtzY2FwZTpjeT0iMTYuODc1IgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjEzNiIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMjY5IgogICAgIGlua3NjYXBlOndpbmRvdy14PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy15PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy1tYXhpbWl6ZWQ9IjEiCiAgICAgaW5rc2NhcGU6Y3VycmVudC1sYXllcj0ibGF5ZXIxIgogICAgIHNob3dncmlkPSJmYWxzZSIgLz4KICA8ZGVmcwogICAgIGlkPSJkZWZzMSIgLz4KICA8ZwogICAgIGlua3NjYXBlOmxhYmVsPSJMYXllciAxIgogICAgIGlua3NjYXBlOmdyb3VwbW9kZT0ibGF5ZXIiCiAgICAgaWQ9ImxheWVyMSI+CiAgICA8cGF0aAogICAgICAgc3R5bGU9ImZvbnQtc2l6ZToyMi42NDg2cHg7Zm9udC1mYW1pbHk6J05vdG8gU2Fucyc7LWlua3NjYXBlLWZvbnQtc3BlY2lmaWNhdGlvbjonTm90byBTYW5zJztmaWxsOiNmZmZmZmY7c3Ryb2tlLXdpZHRoOjEuNDg5MTI7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kIgogICAgICAgZD0ibSA2LjQ3NzQ5OTUsMTUuNjM4MzQ4IHEgMy4xNzA4MDM5LDAgNC42MjAzMTQ1LDEuMjQ1NjczIDEuNDQ5NTEsMS4yNDU2NzMgMS40NDk1MSwzLjUxMDUzMyAwLDEuMzM2MjY3IC0wLjYxMTUxMiwyLjUxMzk5NSAtMC41ODg4NjQsMS4xNTUwNzggLTIuMDE1NzI1NCwxLjg3OTgzMyAtMS40MDQyMTMyLDAuNzI0NzU2IC0zLjgyNzYxMzMsMC43MjQ3NTYgSCA0LjIzNTI4ODEgdiA2LjI5NjMxIEggMi4xOTY5MTQyIHYgLTE2LjE3MTEgeiBNIDYuMjk2MzEwNywxNy4zODIyOSBIIDQuMjM1Mjg4MSB2IDYuMzg2OTA1IGggMS42MzA2OTkyIHEgMi4zMTAxNTcyLDAgMy40NDI1ODcxLC0wLjc0NzQwMyAxLjEzMjQyOTYsLTAuNzQ3NDA0IDEuMTMyNDI5NiwtMi41MzY2NDQgMCwtMS41NjI3NTMgLTAuOTk2NTM4LC0yLjMzMjgwNSBRIDguNDQ3OTI3NiwxNy4zODIyOSA2LjI5NjMxMDcsMTcuMzgyMjkgWiBNIDIyLjgyOTc3OCwxNy4yMDExMDEgcSAtMi42MDQ1ODksMCAtNC4wOTkzOTYsMS43NDM5NDMgLTEuNDk0ODA4LDEuNzQzOTQyIC0xLjQ5NDgwOCw0Ljc3ODg1NCAwLDMuMDEyMjY0IDEuMzgxNTY1LDQuNzc4ODU1IDEuNDA0MjEzLDEuNzQzOTQyIDQuMTg5OTkxLDEuNzQzOTQyIDEuMDY0NDg0LDAgMi4wMTU3MjUsLTAuMTgxMTg5IDAuOTUxMjQxLC0wLjE4MTE4OSAxLjg1NzE4NSwtMC40NTI5NzIgdiAxLjc2NjU5MSBxIC0wLjkwNTk0NCwwLjMzOTcyOSAtMS44Nzk4MzQsMC40OTgyNjkgLTAuOTUxMjQxLDAuMTU4NTQgLTIuMjg3NTA4LDAuMTU4NTQgLTIuNDY4Njk4LDAgLTQuMTIyMDQ1LC0xLjAxOTE4NyAtMS42NTMzNDgsLTEuMDE5MTg3IC0yLjQ5MTM0NiwtMi44OTkwMiAtMC44MTUzNSwtMS44Nzk4MzQgLTAuODE1MzUsLTQuNDE2NDc3IDAsLTIuNDQ2MDQ5IDAuODgzMjk2LC00LjMwMzIzNCAwLjkwNTk0NCwtMS44Nzk4MzQgMi42NDk4ODYsLTIuOTIxNjcgMS43NDM5NDIsLTEuMDY0NDg0IDQuMjM1Mjg4LC0xLjA2NDQ4NCAyLjU1OTI5MiwwIDQuNDYxNzc0LDAuOTUxMjQxIGwgLTAuODE1MzUsMS43MjEyOTQgUSAyNS43NTE0NDgsMTcuNzQ0NjY4IDI0LjgyMjg1NSwxNy40NzI4ODUgMjMuOTE2OTExLDE3LjIwMTEwMSAyMi44Mjk3NzgsMTcuMjAxMTAxIFogTSAzNy4zNDc1MzEsMzEuODA5NDQ4IDMyLjAyNTExLDE3LjYzMTQyNSBoIC0wLjA5MDU5IHEgMC4wNjc5NCwwLjcwMjEwNiAwLjExMzI0MywxLjkwMjQ4MiAwLjA0NTMsMS4xNzc3MjcgMC4wNDUzLDIuNDY4Njk4IHYgOS44MDY4NDMgaCAtMS44Nzk4MzQgdiAtMTYuMTcxMSBoIDMuMDEyMjY0IGwgNC45ODI2OTIsMTMuMjQ5NDMxIGggMC4wOTA1OSBsIDUuMDczMjg2LC0xMy4yNDk0MzEgaCAyLjk4OTYxNiB2IDE2LjE3MTEgaCAtMi4wMTU3MjYgdiAtOS45NDI3MzUgcSAwLC0xLjE3NzcyNyAwLjA0NTMsLTIuMzMyODA2IDAuMDY3OTUsLTEuMTU1MDc4IDAuMTEzMjQzLC0xLjg3OTgzNCBoIC0wLjA5MDU5IGwgLTUuMzkwMzY3LDE0LjE1NTM3NSB6IgogICAgICAgaWQ9InRleHQyIgogICAgICAgdHJhbnNmb3JtPSJzY2FsZSgwLjk4ODQ5NTIsMS4wMTE2Mzg3KSIKICAgICAgIGFyaWEtbGFiZWw9IlBDTSIgLz4KICA8L2c+Cjwvc3ZnPgo=",import.meta.url).href,YC=new URL(""+new URL("cover_dark-DW8aYTk2.png",import.meta.url).href,import.meta.url).href,XC=new URL(""+new URL("cover_light-Dxw-EaOr.png",import.meta.url).href,import.meta.url).href,ZC=new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20xml:space='preserve'%3e%3cdefs%3e%3c/defs%3e%3cg%20style='stroke:%20none;%20stroke-width:%200;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20none;%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='translate(1.4065934065934016%201.4065934065934016)%20scale(2.81%202.81)'%3e%3cpath%20d='M%2073.538%2035.162%20l%20-52.548%201.952%20c%20-1.739%200%20-2.753%200.651%20-3.232%202.323%20L%206.85%2076.754%20c%20-0.451%201.586%20-2.613%202.328%20-4.117%202.328%20h%200%20C%201.23%2079.082%200%2077.852%200%2076.349%20l%200%20-10.458%20V%2023.046%20v%20-2.047%20v%20-6.273%20c%200%20-2.103%201.705%20-3.808%203.808%20-3.808%20h%2027.056%20c%201.01%200%201.978%200.401%202.692%201.115%20l%207.85%207.85%20c%200.714%200.714%201.683%201.115%202.692%201.115%20H%2069.73%20c%202.103%200%203.808%201.705%203.808%203.808%20v%201.301%20C%2073.538%2026.106%2073.538%2035.162%2073.538%2035.162%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(224,173,49);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3cpath%20d='M%202.733%2079.082%20L%202.733%2079.082%20c%201.503%200%202.282%20-1.147%202.733%20-2.733%20l%2010.996%20-38.362%20c%200.479%20-1.672%202.008%20-2.824%203.748%20-2.824%20h%2067.379%20c%201.609%200%202.765%201.546%202.311%203.09%20L%2079.004%2075.279%20c%20-0.492%201.751%20-1.571%203.818%20-3.803%203.803%20C%2075.201%2079.082%202.733%2079.082%202.733%2079.082%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(255,200,67);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3c/g%3e%3c/svg%3e",import.meta.url).href,vI=Te({__name:"QualityDetailsBtn",setup(t){const e=O(()=>bt.activePlayerQueue?.current_item?.streamdetails),s=O(()=>{const y=e.value;if(!y)return null;if(y.volume_normalization_gain_correct!=null){const f=y.volume_normalization_gain_correct>0?"+":"";return Bt("volume_normalization_gain_correction",[f+y.volume_normalization_gain_correct])}return y.volume_normalization_mode==Mn.MEASUREMENT_ONLY&&y.loudness!==null?y.prefer_album_loudness&&y.loudness_album!==null?Bt("loudness_measurement_album",[y.loudness_album?.toFixed(2)]):Bt("loudness_measurement",[y.loudness?.toFixed(2)]):y.volume_normalization_mode==Mn.DYNAMIC?Bt("loudness_dynamic"):y.volume_normalization_mode==Mn.FIXED_GAIN?Bt("loudness_fixed"):null}),a=O(()=>{if(!e.value||!e.value.dsp)return[];let y=[];for(const[f,v]of Object.entries(e.value.dsp)){let _=y.find(k=>JSON.stringify(k.dsp)===JSON.stringify(v));_?_.players.push(f):y.push({dsp:v,player_id:f,players:[f]})}return y}),n=Y({}),r=function(y){return[se.PCM_S16LE,se.PCM_S24LE,se.PCM_S32LE,se.PCM_F32LE,se.PCM_F64LE].includes(y)},o=function(y){return y==se.AAC?UC:y==se.FLAC?HC:y==se.MP3||y==se.MPEG?R0:y==se.OGG?WC:y==se.M4A?KC:r(y)?$C:null},u=O(()=>{if(!e.value)return iu;let y=o(e.value.audio_format.codec_type);return y===null&&(y=o(e.value.audio_format.content_type)),y===null&&(y=iu),y});let l;(y=>{y[y.LOW=0]="LOW",y[y.GOOD=1]="GOOD",y[y.HIRES=3]="HIRES"})(l||(l={}));const d=function(y){return[se.DSF,se.FLAC,se.AIFF,se.WAV,se.ALAC,se.WAVPACK,se.TAK,se.APE,se.TRUEHD,se.DSD_LSBF,se.DSD_MSBF,se.DSD_LSBF_PLANAR,se.DSD_MSBF_PLANAR,se.RA_144].includes(y)},c=O(()=>{const y=e.value;if(!y)return 0;let f=y.audio_format.content_type;return y.audio_format.codec_type!==se.UNKNOWN&&(f=y.audio_format.codec_type),y.audio_format.bit_depth>16||y.audio_format.sample_rate>48e3?3:d(f)?1:0}),b=O(()=>{const y={};if(!e.value?.dsp)return y;for(const[f,v]of Object.entries(e.value.dsp)){let _=1;v.output_format&&(v.output_format.bit_depth>16||v.output_format.sample_rate>48e3)&&(_=3),v.output_format&&v.output_format.content_type==se.MP3&&(_=0),y[f]=_}return y}),p=function(y){switch(y){case 0:return"orange";case 1:return"lightgreen";case 3:return"cyan"}},m=O(()=>{const y={};if(!e.value?.dsp)return y;const f=c.value;for(const[v,_]of Object.entries(e.value.dsp))y[v]=Math.min(b.value[v],f);return y});O(()=>Math.min(...Object.values(m.value)));const g=O(()=>Math.max(...Object.values(m.value))),h=function(y){let f=Bt("settings.dsp.types."+y.type);if(y.type===wf.PARAMETRIC_EQ){const v=y.bands.filter(_=>_.enabled).length;v===1?f+=` (${Bt("streamdetails.eq_band_count_singular")})`:f+=` (${Bt("streamdetails.eq_band_count",[v])})`}return f};return(y,f)=>e.value?(W(),ee(dd,{key:0,location:"top center","close-on-content-click":!1,scrim:"","max-height":y.$vuetify.display.height-150},{activator:ht(({props:v})=>[e.value?(W(),ee(o3,Et({key:0,disabled:!X(bt).activePlayerQueue||!X(bt).activePlayerQueue?.active||X(bt).activePlayerQueue?.items==0,class:"mediadetails-content-type-btn",label:"",ripple:!1},v),{default:ht(()=>[N("div",{class:"quality-tier-dot",style:Lt({backgroundColor:p(g.value)})},null,4),g.value==0?(W(),et("div",Jj,"LQ")):g.value==1?(W(),et("div",tC,"HQ")):g.value==3?(W(),et("div",eC,"HR")):Mt("",!0)]),_:1},16,["disabled"])):Mt("",!0)]),default:ht(()=>[L(dr,{class:"mx-auto",width:Math.min(y.$vuetify.display.width-25,380)},{default:ht(()=>[L(nd,{style:{overflow:"hidden"}},{default:ht(()=>[N("div",iC,[a.value.length>=2?(W(),et("div",sC,[f[0]||(f[0]=N("div",{class:"line-space-halve"},null,-1)),f[1]||(f[1]=N("div",{class:"line-space"},null,-1)),f[2]||(f[2]=N("div",{class:"line-space"},null,-1)),f[3]||(f[3]=N("div",{class:"line-space"},null,-1)),f[4]||(f[4]=N("div",{class:"line-branch-start-left"},null,-1)),(W(!0),et(vt,null,ai(a.value,({dsp:v,player_id:_,players:k},S)=>(W(),et(vt,{key:S},[S==a.value.length-1?(W(),et("div",aC)):S>0?(W(),et("div",nC)):Mt("",!0),S!=a.value.length-1?(W(),et(vt,{key:2},[v.input_gain&&v.input_gain!=0?(W(),et("div",rC)):Mt("",!0),v.state==X(ao).DISABLED_BY_UNSUPPORTED_GROUP?(W(),et("div",oC)):(W(!0),et(vt,{key:2},ai(v.filters,(z,A)=>(W(),et("div",{key:A,class:"line-straight"}))),128)),v.output_gain&&v.output_gain!=0?(W(),et("div",lC)):Mt("",!0),v.output_limiter?(W(),et("div",uC)):Mt("",!0),e.value.dsp&&e.value.dsp[_].output_format?(W(),et("div",dC)):Mt("",!0),_ in n.value&&n.value[_]?(W(!0),et(vt,{key:6},ai(k,(z,A)=>(W(),et("div",{key:A,class:"line-straight"}))),128)):(W(),et("div",cC))],64)):Mt("",!0)],64))),128))])):Mt("",!0),N("div",null,[f[5]||(f[5]=N("div",{class:"line-space-halve"},null,-1)),f[6]||(f[6]=N("div",{class:"line-start"},null,-1)),f[7]||(f[7]=N("div",{class:"line-straight"},null,-1)),f[8]||(f[8]=N("div",{class:"line-with-dot"},null,-1)),a.value.length>=2?(W(),et("div",bC)):(W(),et("div",pC)),(W(!0),et(vt,null,ai(a.value,({dsp:v,player_id:_,players:k},S)=>(W(),et(vt,{key:S},[S>0?(W(),et("div",mC)):Mt("",!0),v.input_gain&&v.input_gain!=0?(W(),et("div",fC)):Mt("",!0),v.state==X(ao).DISABLED_BY_UNSUPPORTED_GROUP?(W(),et("div",vC)):(W(!0),et(vt,{key:3},ai(v.filters,(z,A)=>(W(),et("div",{key:A,class:"line-with-dot"}))),128)),v.output_gain&&v.output_gain!=0?(W(),et("div",gC)):Mt("",!0),v.output_limiter?(W(),et("div",_C)):Mt("",!0),e.value.dsp&&e.value.dsp[_].output_format?(W(),et("div",hC)):Mt("",!0),_ in n.value&&n.value[_]?(W(!0),et(vt,{key:7},ai(k,(z,A)=>(W(),et(vt,{key:A},[A===k.length-1?(W(),et("div",yC)):(W(),et("div",kC))],64))),128)):(W(),et("div",wC))],64))),128))]),N("div",SC,[N("div",AC,[f[9]||(f[9]=N("div",{class:"streamdetails-separator",style:{width:"40px","margin-right":"10px"}},null,-1)),N("div",{class:"quality-tier-dot",style:Lt({backgroundColor:p(c.value)})},null,4),Tt(" "+_t(X(Bt)("streamdetails.input_header"))+" ",1),f[10]||(f[10]=N("div",{class:"streamdetails-separator flex-fill",style:{"margin-left":"10px"}},null,-1))]),N("div",zC,[L(eu,{domain:e.value.provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),Tt(" "+_t(X($).providerManifests[e.value.provider]?.name||X($).providers[e.value.provider]?.name),1)]),N("div",TC,[N("img",{class:"streamdetails-icon invert-on-light-mode",src:u.value},null,8,PC),Tt(" "+_t(e.value.audio_format.sample_rate/1e3)+" kHz / "+_t(e.value.audio_format.bit_depth)+" bits ",1),L(Ma,{location:"top","open-on-click":!0,"max-width":"300"},{activator:ht(({props:v})=>[L(Yt,Et({class:"ml-2",size:"small"},v),{default:ht(()=>[...f[11]||(f[11]=[Tt("mdi-information",-1)])]),_:1},16)]),default:ht(()=>[Tt(" "+_t(X(Bt)("streamdetails.file_info.container",[e.value.audio_format.content_type]))+" ",1),f[13]||(f[13]=N("br",null,null,-1)),Tt(" "+_t(X(Bt)("streamdetails.file_info.codec",[e.value.audio_format.codec_type]))+" ",1),f[14]||(f[14]=N("br",null,null,-1)),Tt(" "+_t(X(Bt)("streamdetails.file_info.bit_depth",[e.value.audio_format.bit_depth]))+" ",1),f[15]||(f[15]=N("br",null,null,-1)),Tt(" "+_t(X(Bt)("streamdetails.file_info.sample_rate",[(e.value.audio_format.sample_rate/1e3).toFixed(1)]))+" ",1),f[16]||(f[16]=N("br",null,null,-1)),Tt(" "+_t(X(Bt)("streamdetails.file_info.channels",[e.value.audio_format.channels]))+" ",1),e.value.audio_format.bit_rate?(W(),et("span",jC,[f[12]||(f[12]=N("br",null,null,-1)),Tt(" "+_t(X(Bt)("streamdetails.file_info.bit_rate",[e.value.audio_format.bit_rate.toFixed(0)])),1)])):Mt("",!0),f[17]||(f[17]=N("br",null,null,-1)),f[18]||(f[18]=N("br",null,null,-1)),Tt(" "+_t(X(Bt)("streamdetails.file_info.processing_notice")),1)]),_:1})]),s.value?(W(),et("div",CC,[f[26]||(f[26]=N("img",{class:"streamdetails-icon invert-on-light-mode",src:Hj},null,-1)),Tt(" "+_t(s.value)+" ",1),L(Ma,{location:"top","open-on-click":!0,"max-width":"350"},{activator:ht(({props:v})=>[L(Yt,Et({class:"ml-2",size:"small"},v),{default:ht(()=>[...f[19]||(f[19]=[Tt("mdi-information",-1)])]),_:1},16)]),default:ht(()=>[e.value.volume_normalization_mode==X(Mn).MEASUREMENT_ONLY&&e.value.prefer_album_loudness&&e.value.loudness_album!=null?(W(),et("span",EC,_t(X(Bt)("streamdetails.volume_normalization.mode.measurement_album")),1)):(W(),et("span",MC,_t(X(Bt)(`streamdetails.volume_normalization.mode.${e.value.volume_normalization_mode}`)),1)),f[23]||(f[23]=N("br",null,null,-1)),f[24]||(f[24]=N("br",null,null,-1)),Tt(" "+_t(X(Bt)("streamdetails.volume_normalization.target_level",[e.value.target_loudness]))+" ",1),f[25]||(f[25]=N("br",null,null,-1)),e.value.loudness!=null?(W(),et("span",xC,[Tt(_t(X(Bt)("streamdetails.volume_normalization.integrated_loudness",[e.value.loudness]))+" ",1),f[20]||(f[20]=N("br",null,null,-1))])):Mt("",!0),e.value.loudness_album!=null?(W(),et("span",IC,[Tt(_t(X(Bt)("streamdetails.volume_normalization.integrated_album_loudness",[e.value.loudness_album]))+" ",1),f[21]||(f[21]=N("br",null,null,-1))])):Mt("",!0),e.value.volume_normalization_gain_correct!=null?(W(),et("span",DC,[Tt(_t(X(Bt)("streamdetails.volume_normalization.applied_gain_correction",[e.value.volume_normalization_gain_correct]))+" ",1),f[22]||(f[22]=N("br",null,null,-1))])):Mt("",!0)]),_:1})])):Mt("",!0),(W(!0),et(vt,null,ai(a.value,({dsp:v,player_id:_,players:k},S)=>(W(),et(vt,{key:S},[N("div",LC,[f[27]||(f[27]=N("div",{class:"streamdetails-separator",style:{width:"40px","margin-right":"10px"}},null,-1)),N("div",{class:"quality-tier-dot",style:Lt({backgroundColor:p(m.value[_])})},null,4),Tt(" "+_t(X(Bt)("streamdetails.output_header"))+" ",1),f[28]||(f[28]=N("div",{class:"streamdetails-separator flex-fill",style:{"margin-left":"10px"}},null,-1))]),v.input_gain&&v.input_gain!=0?(W(),et("div",RC,[f[29]||(f[29]=N("img",{class:"streamdetails-icon invert-on-dark-mode",src:$r},null,-1)),Tt(" "+_t(X(Bt)("streamdetails.input_gain",[v.input_gain.toFixed(1)])),1)])):Mt("",!0),v.state==X(ao).DISABLED_BY_UNSUPPORTED_GROUP?(W(),et("div",OC,[f[31]||(f[31]=N("img",{class:"streamdetails-icon invert-on-dark-mode",src:Wj},null,-1)),Tt(" "+_t(X(Bt)("streamdetails.dsp_unsupported"))+" ",1),L(Ma,{location:"top","open-on-click":!0,"max-width":"300"},{activator:ht(({props:z})=>[L(Yt,Et({class:"ml-2",size:"small"},{ref_for:!0},z),{default:ht(()=>[...f[30]||(f[30]=[Tt("mdi-information",-1)])]),_:1},16)]),default:ht(()=>[Tt(" "+_t(X(Bt)("streamdetails.dsp_disabled_by_unsupported_group")),1)]),_:1})])):(W(!0),et(vt,{key:2},ai(v.filters,(z,A)=>(W(),et("div",{key:A,class:"streamdetails-item"},[f[32]||(f[32]=N("img",{class:"streamdetails-icon invert-on-dark-mode",src:$r},null,-1)),Tt(" "+_t(h(z)),1)]))),128)),v.output_gain&&v.output_gain!=0?(W(),et("div",NC,[f[33]||(f[33]=N("img",{class:"streamdetails-icon invert-on-dark-mode",src:$r},null,-1)),Tt(" "+_t(X(Bt)("streamdetails.output_gain",[v.input_gain.toFixed(1)])),1)])):Mt("",!0),v.output_limiter?(W(),et("div",BC,[f[35]||(f[35]=N("img",{class:"streamdetails-icon invert-on-dark-mode",src:$r},null,-1)),Tt(" "+_t(X(Bt)("streamdetails.output_limiter"))+" ",1),L(Ma,{location:"top","open-on-click":!0,"max-width":"300"},{activator:ht(({props:z})=>[L(Yt,Et({class:"ml-2",size:"small"},{ref_for:!0},z),{default:ht(()=>[...f[34]||(f[34]=[Tt("mdi-information",-1)])]),_:1},16)]),default:ht(()=>[Tt(" "+_t(X(Bt)("streamdetails.output_limiter_info")),1)]),_:1})])):Mt("",!0),e.value.dsp&&e.value.dsp[_].output_format?(W(),et("div",FC,[N("img",{class:"streamdetails-icon invert-on-light-mode",src:o(e.value.dsp[_].output_format.content_type)||X(iu)},null,8,GC),Tt(" "+_t(e.value.dsp[_].output_format.sample_rate/1e3)+" kHz / "+_t(e.value.dsp[_].output_format.bit_depth)+" bits ",1),L(Ma,{location:"top","open-on-click":!0,"max-width":"300"},{activator:ht(({props:z})=>[L(Yt,Et({class:"ml-2",size:"small"},{ref_for:!0},z),{default:ht(()=>[...f[36]||(f[36]=[Tt("mdi-information",-1)])]),_:1},16)]),default:ht(()=>[r(e.value.dsp[_].output_format.content_type)?(W(),et(vt,{key:0},[Tt(_t(X(Bt)("streamdetails.output_format_pcm_info")),1)],64)):(W(),et(vt,{key:1},[Tt(_t(X(Bt)("streamdetails.output_format_info",[e.value.dsp[_].output_format.content_type.toUpperCase()])),1)],64))]),_:2},1024)])):Mt("",!0),_ in n.value&&n.value[_]?(W(!0),et(vt,{key:6},ai(k,(z,A)=>(W(),et("div",{key:A,class:"streamdetails-item",onClick:w=>n.value[_]=!1},[X($).players[z]?(W(),et(vt,{key:0},[L(eu,{domain:X($).players[z].provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),Tt(" "+_t(X($).players[z].name),1)],64)):(W(),et(vt,{key:1},[L(Yt,{class:"streamdetails-icon"},{default:ht(()=>[...f[37]||(f[37]=[Tt("mdi-alert-circle-outline",-1)])]),_:1}),f[38]||(f[38]=Tt(" Player not found ",-1))],64))],8,VC))),128)):(W(),et("div",{key:7,class:"streamdetails-item",onClick:z=>n.value[_]=!0},[X($).players[_]?(W(),et(vt,{key:0},[L(eu,{domain:X($).players[_].provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),k.length==1?(W(),et(vt,{key:0},[Tt(_t(X($).players[_].name),1)],64)):(W(),et(vt,{key:1},[Tt(_t(X($).players[_].name)+" + "+_t(k.length-1)+" ",1),L(Ma,{location:"top","max-width":"300"},{activator:ht(({props:z})=>[L(Yt,Et({class:"ml-2",size:"small"},{ref_for:!0},z),{default:ht(()=>[...f[39]||(f[39]=[Tt("mdi-information",-1)])]),_:1},16)]),default:ht(()=>[Tt(" "+_t(X(Bt)("streamdetails.click_to_expand")),1)]),_:1})],64))],64)):(W(),et(vt,{key:1},[L(Yt,{class:"streamdetails-icon"},{default:ht(()=>[...f[40]||(f[40]=[Tt("mdi-alert-circle-outline",-1)])]),_:1}),f[41]||(f[41]=Tt(" Player not found ",-1))],64))],8,qC))],64))),128))])])]),_:1})]),_:1},8,["width"])]),_:1},8,["max-height"])):Mt("",!0)}}),QC=function(t,e=!1,s=256){return e?`https://ui-avatars.com/api/?name=${t}&size=${s||256}&bold=true&background=1d1d1d&color=383838`:`https://ui-avatars.com/api/?name=${t}&size=${s||256}&bold=true&background=a0a0a0&color=cccccc`},In=function(t,e=ts.THUMB){if(t){if("media_item"in t&&t.media_item){if("streamdetails"in t.media_item&&t.streamdetails?.stream_metadata?.image_url)return{type:ts.THUMB,path:t.streamdetails.stream_metadata.image_url,provider:"builtin",remotely_accessible:!0};const s=In(t.media_item);if(s)return s}if("image"in t&&t.image&&t.image.type==e&&O0(t.image.provider))return t.image;if("album"in t&&t.album){const s=In(t.album,e);if(s)return s}if("metadata"in t&&t.metadata.images){for(const s of t.metadata.images)if(s.type==e&&O0(s.provider))return s}if("artists"in t&&t.artists)for(const s of t.artists){const a=In(s,e);if(a)return a}if(e==ts.THUMB)return In(t,ts.LANDSCAPE)}},JC=function(t,e,s){if(s||(s=""),!t||!t.path)return"";if(t.path.startsWith("data:image"))return t.path;if(!t.remotely_accessible||e||t.path.split("//")[0]!=window.location.protocol){const a=encodeURIComponent(encodeURIComponent(t.path));let n=`${$.baseUrl}/imageproxy?path=${a}&provider=${t.provider}&checksum=${s}`;return e?n+`&size=${e}`:n}return t.path},lo=function(t,e=ts.THUMB,s){if(!t)return;const a=In(t,e);if(!a||!a.path)return;const n="metadata"in t?t.metadata?.cache_checksum:"";return JC(a,s,n)},O0=function(t){return t==="http"||t==="builtin"?!0:$.getProvider(t)?.available===!0},gI=Te({__name:"MediaItemThumb",props:{item:{default:void 0},size:{default:"100%"},fallback:{default:void 0},rounded:{type:Boolean,default:!0},thumbnail:{type:Boolean,default:!0}},setup(t){const e=t,s=vc();function a(){return typeof e.size=="number"?e.size:e.thumbnail?256:0}const n=a();function r(){return e.fallback?e.fallback:e.item&&"media_type"in e.item&&e.item.media_type==At.FOLDER?ZC:!e.item||!e.item.name?"":QC(e.item.name,s.current.value.dark,n||256)}const o=r(),u=O(()=>e.item&&lo(e.item,ts.THUMB,n)||o);return(l,d)=>(W(),ee(rr,{loading:"lazy",height:t.size||"100%",width:t.size||"100%","aspect-ratio":"1",src:u.value,class:wt({rounded:t.rounded}),contain:"","lazy-src":X(s).current.value.dark?X(YC):X(XC)},null,8,["height","width","src","class","lazy-src"]))}});function tE(t){let e,s;if(t.media_item?.media_type===At.TRACK){const n=t.media_item;e=n.artists.map(r=>r.name).join(", "),s=n.album?.name}const a=[{src:lo(t,ts.THUMB,128)||"",sizes:"128x128"},{src:lo(t,ts.THUMB,256)||"",sizes:"256x256"},{src:lo(t,ts.THUMB,512)||"",sizes:"512x512"}];return new MediaMetadata({title:t.media_item.name,artist:e,album:s,artwork:a})}function j3(t){let e;t===void 0?e=O(()=>{if(bt.activePlayerId&&bt.activePlayerId in $.players)return $.players[bt.activePlayerId]}):e=O(()=>{if(t in $.players)return $.players[t]});const s=O(()=>{if(e.value?.active_source&&e.value.active_source in $.queues)return $.queues[e.value.active_source];if(e.value&&!e.value.active_source&&e.value.player_id in $.queues&&$.queues[e.value.player_id].active)return $.queues[e.value.player_id]}),a=O(()=>{if(s.value&&s.value.active)return s.value.current_item});let n;const r=zt(()=>a.value,u=>{if(!u||!u.media_item||u.media_item.uri===n)return;const l=tE(u);n=u.media_item.uri,navigator.mediaSession.metadata=l},{immediate:!0}),o=zt(()=>[s.value?.elapsed_time,s.value?.current_item?.duration],()=>{if(!s.value?.active||bt.activePlayerQueue?.current_item?.media_item?.media_type!==At.TRACK){navigator.mediaSession.setPositionState();return}const u=s.value?.current_item?.duration||1,l=Math.min(u,s.value?.elapsed_time!=null?s.value?.elapsed_time:0);navigator.mediaSession.setPositionState({duration:u,playbackRate:1,position:l})},{immediate:!0});return()=>{r(),o()}}const eE=Te({__name:"BuiltinPlayer",props:{playerId:{}},setup(t){const e=t,s=Y();let a=Y();const n=$.subscribe(Me.BUILTIN_PLAYER,async l=>{if(!s.value||!l.data)return;const d=l.data;d.type===Ii.PAUSE?(s.value.pause(),a.value=!1):d.type===Ii.MUTE?s.value.muted=!0:d.type===Ii.UNMUTE?s.value.muted=!1:d.type===Ii.PLAY?(await s.value.play(),a.value=!0):d.type===Ii.SET_VOLUME?s.value.volume=d.volume/100:d.type===Ii.PLAY_MEDIA?(s.value.src="",s.value.src=`${Gt.baseUrl}/${d.media_url}`,await s.value.play(),a.value=!0):d.type===Ii.STOP?(s.value.pause(),s.value.currentTime=0,s.value.src="",a.value=!1):d.type===Ii.POWER_ON?Gt.audioSource=fi.BUILTIN:d.type===Ii.POWER_OFF?Gt.audioSource=fi.CONTROLS_ONLY:d.type===Ii.TIMEOUT&&Gt.setTabMode(fi.CONTROLS_ONLY,!0)},e.playerId);Re(n);let r;const o=async function(){const l=e.playerId;if(!s.value||!l)return;if(Gt.timedOutDueToThrottling()){Gt.setTabMode(fi.CONTROLS_ONLY,!0);return}let d;Gt.audioSource===fi.BUILTIN?a.value?d=await $.updateBuiltinPlayerState(l,{powered:!0,playing:!s.value.paused,paused:s.value.paused&&!s.value.ended,muted:s.value.muted,volume:Math.round(s.value.volume*100),position:s.value.currentTime}):d=await $.updateBuiltinPlayerState(l,{powered:!0,playing:!1,paused:!1,muted:s.value.muted,volume:Math.round(s.value.volume*100),position:0}):d=await $.updateBuiltinPlayerState(e.playerId,{powered:!1,playing:!1,paused:!1,muted:!1,volume:0,position:0}),d?Gt.lastUpdate=Date.now():Gt.setTabMode(fi.CONTROLS_ONLY,!0)};zt(()=>[a.value,Gt.audioSource],async()=>{if(!e.playerId)return;let d;Gt.audioSource!==fi.BUILTIN?d=6e4:a.value?d=5e3:d=3e4,r&&clearInterval(r),r=setInterval(async()=>{await o()},d),await o()},{immediate:!0});let u;return zt(()=>Gt.audioSource,l=>{u&&u(),u=void 0,l===fi.BUILTIN&&(u=j3(e.playerId))}),Re(()=>{r&&clearInterval(r),u&&u()}),Le(()=>{navigator.mediaSession.setActionHandler("play",()=>{e.playerId&&$.playerCommandPlay(e.playerId)}),navigator.mediaSession.setActionHandler("pause",()=>{e.playerId&&(s.value&&s.value.pause(),$.playerCommandPause(e.playerId))}),navigator.mediaSession.setActionHandler("nexttrack",()=>{e.playerId&&$.playerCommandNext(e.playerId)}),navigator.mediaSession.setActionHandler("previoustrack",()=>{e.playerId&&$.playerCommandPrevious(e.playerId)}),s.value&&s.value.addEventListener("error",()=>{a.value=!1})}),(l,d)=>(W(),et("audio",{ref_key:"audioRef",ref:s,controls:"",class:"builtin-player"},null,512))}}),iE=""+new URL("almost_silent-BMvfGi7_.mp3",import.meta.url).href,sE=["src"],aE=Te({__name:"PlayerBrowserMediaControls",setup(t){const e=Y();function s(d){const c=bt.activePlayer;if(c)return d(c?.player_id)}let a;function n(d){if(!d||!e.value)return;let c;switch(a&&clearInterval(a),a=void 0,d){case Xa.PLAYING:e.value.play(),c=d,a=setInterval(()=>{e.value&&(e.value.currentTime=2)},55e3);break;case Xa.PAUSED:e.value.pause(),e.value.currentTime=2,c=d;break;default:e.value.pause(),e.value.currentTime=2,c="none"}navigator.mediaSession.playbackState=c}zt(()=>bt.activePlayer?.playback_state,d=>n(d)),zt(()=>e.value,()=>{n(Xa.PLAYING),setTimeout(()=>{e.value&&(e.value.currentTime=0),n(bt.activePlayer?.playback_state)},100)},{once:!0}),n(bt.activePlayer?.playback_state);let r,o;const u=function(){clearTimeout(o),o=setTimeout(()=>{r=void 0,o=void 0},2e3)};j3();const l=function(d,c){let b=null;if(d.action==="seekto"&&d.seekTime)b=d.seekTime;else if(d.action==="seekforward"||d.action==="seekbackward"){const p=d.seekOffset||10,m=r??bt.activePlayerQueue?.elapsed_time;if(m==null)return;d.action==="seekbackward"?b=m-p:b=m+p}else return;b=Math.round(b),r=b,u(),d.fastSeek||$.playerCommandSeek(c,b)};return Le(()=>{navigator.mediaSession.setActionHandler("play",()=>{s($.playerCommandPlay.bind($))}),navigator.mediaSession.setActionHandler("pause",()=>{setTimeout(()=>{s($.playerCommandPause.bind($))},250)}),navigator.mediaSession.setActionHandler("nexttrack",()=>{s($.playerCommandNext.bind($))}),navigator.mediaSession.setActionHandler("previoustrack",()=>{s($.playerCommandPrevious.bind($))}),navigator.mediaSession.setActionHandler("seekto",d=>{s(c=>l(d,c))}),navigator.userAgent.match(/(iPhone|iPod|iPad|Mac)/i)||(navigator.mediaSession.setActionHandler("seekforward",d=>{s(c=>l(d,c))}),navigator.mediaSession.setActionHandler("seekbackward",d=>{s(c=>l(d,c))}))}),(d,c)=>(W(),et("audio",{ref_key:"audioRef",ref:e,controls:"",src:X(iE),loop:"",class:"audio-control"},null,8,sE))}}),nE=""+new URL("icon-U5wS6iOz.svg",import.meta.url).href,N0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3e%3cpath%20d='M512%20473.3c0%2017.6-14.4%2032-32%2032H32c-17.6%200-32-14.4-32-32v-192c0-17.6%2010.2-42.2%2022.6-54.6L233.4%2016c12.4-12.4%2032.8-12.4%2045.2%200l210.8%20210.8c12.4%2012.4%2022.6%2037%2022.6%2054.6z'%20fill='%23f2f4f9'/%3e%3cpath%20d='M489.4%20226.7%20278.6%2016c-12.4-12.4-32.8-12.4-45.2%200L22.6%20226.7C10.2%20239.1%200%20263.7%200%20281.3v192c0%2017.6%2014.4%2032%2032%2032h196.8l-86.7-86.7c-4.5%201.5-9.2%202.4-14.2%202.4-24.1%200-43.7-19.6-43.7-43.7s19.6-43.7%2043.7-43.7%2043.7%2019.6%2043.7%2043.7c0%205-.9%209.7-2.4%2014.2l67.5%2067.5V211.8c-14.5-7.1-24.5-22-24.5-39.2%200-24.1%2019.6-43.7%2043.7-43.7s43.7%2019.6%2043.7%2043.7c0%2017.2-10%2032.1-24.5%2039.2v173.4l67.1-67.1c-1.3-4.2-2-8.6-2-13.2%200-24.1%2019.6-43.7%2043.7-43.7s43.7%2019.6%2043.7%2043.7-19.6%2043.7-43.7%2043.7c-5.3%200-10.4-1-15.1-2.8l-93.7%2093.7v65.9H480c17.6%200%2032-14.4%2032-32v-192c0-17.6-10.2-42.2-22.6-54.7'%20fill='%2318bcf2'/%3e%3c/svg%3e";class rE{ws=null;config;_state="disconnected";eventHandlers=new Map;reconnectTimer=null;intentionalClose=!1;currentRemoteId=null;currentSessionId=null;constructor(e){this.config={serverUrl:e.serverUrl,reconnect:e.reconnect??!0,reconnectDelay:e.reconnectDelay??3e3}}get state(){return this._state}get sessionId(){return this.currentSessionId}async connect(){if(!(this.ws&&this.ws.readyState===WebSocket.OPEN))return this.intentionalClose=!1,this.setState("connecting"),new Promise((e,s)=>{try{this.ws=new WebSocket(this.config.serverUrl),this.ws.onopen=()=>{this.setState("connected"),e()},this.ws.onclose=()=>{this.setState("disconnected"),!this.intentionalClose&&this.config.reconnect&&this.scheduleReconnect()},this.ws.onerror=()=>{this.setState("error"),s(new Error("Signaling connection failed"))},this.ws.onmessage=a=>{try{const n=JSON.parse(a.data);this.handleMessage(n)}catch(n){console.error("[Signaling] Failed to parse message:",n)}}}catch(a){this.setState("error"),s(a)}})}disconnect(){this.intentionalClose=!0,this.clearReconnectTimer(),this.ws&&(this.ws.close(),this.ws=null),this.currentRemoteId=null,this.currentSessionId=null,this.setState("disconnected")}async requestConnection(e){return this._state!=="connected"&&await this.connect(),this.currentRemoteId=e,new Promise((s,a)=>{const n=setTimeout(()=>{a(new Error("Connection request timeout"))},3e4),r=u=>{clearTimeout(n),this.off("connected",r),this.off("error",o),s(u)},o=u=>{clearTimeout(n),this.off("connected",r),this.off("error",o),a(new Error(u))};this.on("connected",r),this.on("error",o),this.send({type:"connect-request",remoteId:e})})}sendOffer(e){this.send({type:"offer",remoteId:this.currentRemoteId,sessionId:this.currentSessionId,data:e})}sendAnswer(e){this.send({type:"answer",remoteId:this.currentRemoteId,sessionId:this.currentSessionId,data:e})}sendIceCandidate(e){this.send({type:"ice-candidate",remoteId:this.currentRemoteId,sessionId:this.currentSessionId,data:e})}on(e,s){this.eventHandlers.has(e)||this.eventHandlers.set(e,new Set),this.eventHandlers.get(e).add(s)}off(e,s){const a=this.eventHandlers.get(e);a&&a.delete(s)}emit(e,...s){const a=this.eventHandlers.get(e);a&&a.forEach(n=>{try{n(...s)}catch(r){console.error(`[Signaling] Error in event handler for '${e}':`,r)}})}handleMessage(e){switch(e.type){case"connected":this.currentSessionId=e.sessionId||null,this.emit("connected",e.remoteId||"");break;case"offer":this.emit("offer",e.data,e.sessionId||"");break;case"answer":this.emit("answer",e.data);break;case"ice-candidate":this.emit("ice-candidate",e.data);break;case"peer-disconnected":this.emit("peer-disconnected");break;case"error":this.emit("error",e.error||"Unknown error");break}}send(e){this.ws&&this.ws.readyState===WebSocket.OPEN?this.ws.send(JSON.stringify(e)):console.error("[Signaling] Cannot send message - not connected")}setState(e){this._state!==e&&(this._state=e,this.emit("stateChange",e))}scheduleReconnect(){this.clearReconnectTimer(),this.reconnectTimer=setTimeout(()=>{this.connect().catch(e=>{console.error("[Signaling] Reconnect failed:",e)})},this.config.reconnectDelay)}clearReconnectTimer(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}}const oE=[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun.cloudflare.com:3478"}];class lE extends S3{options;signaling;peerConnection=null;dataChannel=null;iceCandidateBuffer=[];remoteDescriptionSet=!1;httpProxyCallbacks=new Map;constructor(e){super(),this.options={signalingServerUrl:e.signalingServerUrl,remoteId:e.remoteId,iceServers:e.iceServers||oE,dataChannelLabel:e.dataChannelLabel||"ma-api"},this.signaling=new rE({serverUrl:e.signalingServerUrl}),this.setupSignalingHandlers()}async connect(){this.setState(Fe.CONNECTING);try{this.createPeerConnection(),await this.signaling.connect(),await this.signaling.requestConnection(this.options.remoteId),this.createDataChannel();const e=await this.peerConnection.createOffer();await this.peerConnection.setLocalDescription(e),this.signaling.sendOffer(e),await this.waitForConnection()}catch(e){throw console.error("[WebRTCTransport] Connection failed:",e),this.setState(Fe.FAILED),this.cleanup(),e}}disconnect(){this.cleanup(),this.setState(Fe.DISCONNECTED),this.emit("close","Disconnected by user")}send(e){if(!this.dataChannel||this.dataChannel.readyState!=="open")throw new Error("DataChannel is not open");this.dataChannel.send(e)}setupSignalingHandlers(){this.signaling.on("answer",e=>{this.handleAnswer(e)}),this.signaling.on("ice-candidate",e=>{this.handleIceCandidate(e)}),this.signaling.on("peer-disconnected",()=>{this.handlePeerDisconnected()}),this.signaling.on("error",e=>{console.error("[WebRTCTransport] Signaling error:",e),this.emit("error",new Error(e))})}createPeerConnection(){this.peerConnection=new RTCPeerConnection({iceServers:this.options.iceServers,iceCandidatePoolSize:4}),this.peerConnection.onicecandidate=e=>{e.candidate&&this.signaling.sendIceCandidate(e.candidate.toJSON())},this.peerConnection.oniceconnectionstatechange=()=>{const e=this.peerConnection?.iceConnectionState;(e==="failed"||e==="disconnected")&&this.handleConnectionFailure()},this.peerConnection.onconnectionstatechange=()=>{this.peerConnection?.connectionState==="failed"&&this.handleConnectionFailure()}}createDataChannel(){this.dataChannel=this.peerConnection.createDataChannel(this.options.dataChannelLabel,{ordered:!0}),this.setupDataChannelHandlers()}setupDataChannelHandlers(){this.dataChannel&&(this.dataChannel.onopen=()=>{this.setState(Fe.CONNECTED),this.emit("open")},this.dataChannel.onclose=()=>{this.setState(Fe.DISCONNECTED),this.emit("close","Data channel closed")},this.dataChannel.onerror=()=>{console.error("[WebRTCTransport] Data channel error"),this.emit("error",new Error("Data channel error"))},this.dataChannel.onmessage=e=>{try{const s=JSON.parse(e.data);if(s.type==="http-proxy-response"){this.handleHttpProxyResponse(s);return}}catch{}this.emit("message",e.data)})}async handleAnswer(e){if(this.peerConnection)try{await this.peerConnection.setRemoteDescription(new RTCSessionDescription(e)),this.remoteDescriptionSet=!0;for(const s of this.iceCandidateBuffer)await this.peerConnection.addIceCandidate(new RTCIceCandidate(s));this.iceCandidateBuffer=[]}catch(s){console.error("[WebRTCTransport] Error setting remote description:",s)}}async handleIceCandidate(e){if(this.peerConnection)if(this.remoteDescriptionSet)try{await this.peerConnection.addIceCandidate(new RTCIceCandidate(e))}catch(s){console.error("[WebRTCTransport] Error adding ICE candidate:",s)}else this.iceCandidateBuffer.push(e)}handlePeerDisconnected(){this.setState(Fe.DISCONNECTED),this.emit("close","Peer disconnected"),this.cleanup()}handleConnectionFailure(){this.setState(Fe.FAILED),this.emit("error",new Error("WebRTC connection failed")),this.cleanup()}waitForConnection(){return new Promise((e,s)=>{const a=setTimeout(()=>{s(new Error("Connection timeout"))},3e4);(()=>{this.dataChannel?.readyState==="open"&&(clearTimeout(a),e())})();const r=this.dataChannel;if(r){const o=r.onopen;r.onopen=u=>{clearTimeout(a),o&&o.call(r,u),e()}}})}async sendHttpProxyRequest(e,s,a={}){if(!this.dataChannel||this.dataChannel.readyState!=="open")throw new Error("DataChannel is not open");const n=`req_${Date.now()}_${Math.random().toString(36).substring(2,11)}`,r=new Promise((u,l)=>{this.httpProxyCallbacks.set(n,{resolve:u,reject:l}),setTimeout(()=>{this.httpProxyCallbacks.has(n)&&(this.httpProxyCallbacks.delete(n),l(new Error("HTTP proxy request timeout")))},3e4)}),o={type:"http-proxy-request",id:n,method:e,path:s,headers:a};return this.dataChannel.send(JSON.stringify(o)),r}handleHttpProxyResponse(e){const{id:s,status:a,headers:n,body:r}=e,o=this.httpProxyCallbacks.get(s);if(o){this.httpProxyCallbacks.delete(s);try{const u=this.hexToBytes(r);o.resolve({status:a,headers:n,body:u})}catch(u){o.reject(u instanceof Error?u:new Error("Failed to parse response"))}}}hexToBytes(e){const s=new Uint8Array(e.length/2);for(let a=0;a<e.length;a+=2)s[a/2]=parseInt(e.substring(a,a+2),16);return s}cleanup(){this.dataChannel&&(this.dataChannel.close(),this.dataChannel=null),this.peerConnection&&(this.peerConnection.close(),this.peerConnection=null),this.signaling.disconnect(),this.remoteDescriptionSet=!1,this.iceCandidateBuffer=[];for(const[e,s]of this.httpProxyCallbacks.entries())s.reject(new Error("Transport closed"));this.httpProxyCallbacks.clear()}}class uE{transport=null;serviceWorkerRegistration=null;async initialize(){if("serviceWorker"in navigator)try{this.serviceWorkerRegistration=await navigator.serviceWorker.register("/sw.js"),console.log("[HttpProxyBridge] Service worker registered"),await navigator.serviceWorker.ready,console.log("[HttpProxyBridge] Service worker ready"),navigator.serviceWorker.addEventListener("message",e=>{this.handleServiceWorkerMessage(e)})}catch(e){console.error("[HttpProxyBridge] Service worker registration failed:",e)}}setTransport(e){console.log("[HttpProxyBridge] setTransport called, transport:",e!==null?"WebRTC":"null"),this.transport=e,this.notifyRemoteMode(e!==null)}notifyRemoteMode(e){console.log("[HttpProxyBridge] Notifying service worker - isRemote:",e,"controller:",!!navigator.serviceWorker?.controller),navigator.serviceWorker?.controller?(navigator.serviceWorker.controller.postMessage({type:"set-remote-mode",data:{isRemote:e}}),console.log("[HttpProxyBridge] Remote mode message sent to service worker")):console.warn("[HttpProxyBridge] No service worker controller available yet")}handleServiceWorkerMessage(e){const{type:s,data:a}=e.data;s==="http-proxy-request"&&this.handleHttpProxyRequest(a)}async handleHttpProxyRequest(e){if(!this.transport){console.error("[HttpProxyBridge] No transport available for HTTP proxy request");return}try{const s=await this.transport.sendHttpProxyRequest(e.method,e.path,e.headers);navigator.serviceWorker?.controller&&navigator.serviceWorker.controller.postMessage({type:"http-proxy-response",data:{id:e.id,status:s.status,headers:s.headers,body:this.bytesToHex(s.body)}})}catch(s){console.error("[HttpProxyBridge] HTTP proxy request failed:",s),navigator.serviceWorker?.controller&&navigator.serviceWorker.controller.postMessage({type:"http-proxy-response",data:{id:e.id,status:500,headers:{"Content-Type":"text/plain"},body:this.bytesToHex(new TextEncoder().encode(s instanceof Error?s.message:"Unknown error"))}})}}bytesToHex(e){return Array.from(e).map(s=>s.toString(16).padStart(2,"0")).join("")}}const Yr=new uE,B0="ma_remote_connections",F0="ma_remote_mode",Xr="ma_current_remote_id",dE=typeof window<"u"&&(window.location.hostname==="localhost"||window.location.hostname==="127.0.0.1"),cE={signalingServerUrl:dE?"ws://localhost:8787/ws":"wss://ma-signaling-server.onrender.com/ws",iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun1.l.google.com:19302"},{urls:"stun:stun.cloudflare.com:3478"}]};class bE{state=Y("disconnected");mode=Y("local");currentRemoteId=Y(null);serverName=Y(null);error=Y(null);config=cE;transport=null;storedConnections=de([]);constructor(){this.loadStoredConnections(),this.loadRemoteMode(),Yr.initialize()}get isRemoteMode(){return this.mode.value==="remote"}get isConnected(){return this.state.value==="connected"||this.state.value==="authenticating"||this.state.value==="authenticated"}setConfig(e){this.config={...this.config,...e}}setMode(e){this.mode.value=e,localStorage.setItem(F0,e)}async connectLocal(e){this.setMode("local"),this.state.value="connecting",this.error.value=null;try{const s=e.replace("http","ws")+"/ws";return this.transport=new A3({url:s}),this.setupTransportHandlers(),await this.transport.connect(),this.state.value="connected",Yr.setTransport(null),this.transport}catch(s){throw this.state.value="failed",this.error.value=s instanceof Error?s.message:"Connection failed",s}}async connectRemote(e){this.setMode("remote"),this.currentRemoteId.value=e,this.state.value="connecting",this.error.value=null,localStorage.setItem(Xr,e);try{const s=new lE({signalingServerUrl:this.config.signalingServerUrl,remoteId:e,iceServers:this.config.iceServers});return this.transport=s,this.setupTransportHandlers(),await s.connect(),this.state.value="connected",Yr.setTransport(s),this.storeConnection(e),s}catch(s){throw this.state.value="failed",this.error.value=s instanceof Error?s.message:"Connection failed",localStorage.removeItem(Xr),s}}disconnect(){this.transport&&(this.transport.disconnect(),this.transport=null),this.state.value="disconnected",this.currentRemoteId.value=null,this.serverName.value=null,Yr.setTransport(null)}getTransport(){return this.transport}setAuthenticating(){this.state.value="authenticating"}setAuthenticated(e){this.state.value="authenticated",e&&(this.serverName.value=e,this.currentRemoteId.value&&this.updateStoredConnection(this.currentRemoteId.value,{serverName:e}))}getStoredRemoteId(){return localStorage.getItem(Xr)}clearStoredRemoteId(){localStorage.removeItem(Xr)}removeStoredConnection(e){const s=this.storedConnections.findIndex(a=>a.remoteId===e);s!==-1&&(this.storedConnections.splice(s,1),this.saveStoredConnections())}setupTransportHandlers(){this.transport&&(this.transport.on("close",()=>{this.state.value="disconnected"}),this.transport.on("error",e=>{this.error.value=e.message}))}storeConnection(e){const s=this.storedConnections.find(a=>a.remoteId===e);s?s.lastConnected=Date.now():this.storedConnections.push({remoteId:e,lastConnected:Date.now()}),this.saveStoredConnections()}updateStoredConnection(e,s){const a=this.storedConnections.find(n=>n.remoteId===e);a&&(Object.assign(a,s),this.saveStoredConnections())}loadStoredConnections(){try{const e=localStorage.getItem(B0);if(e){const s=JSON.parse(e);this.storedConnections.splice(0,this.storedConnections.length,...s)}}catch{}}saveStoredConnections(){try{localStorage.setItem(B0,JSON.stringify(this.storedConnections))}catch{}}loadRemoteMode(){localStorage.getItem(F0)==="remote"&&(this.mode.value="remote")}}const ps=new bE,pE={class:"text-center mb-6"},mE={class:"text-body-2 text-medium-emphasis mt-2"},fE={key:0,class:"text-center py-6"},vE={class:"text-body-2 text-medium-emphasis"},gE={key:0,class:"mb-4 text-center"},_E={class:"text-body-2 text-medium-emphasis mb-4"},hE={key:1,class:"mb-4"},yE={class:"text-body-2 font-weight-medium mb-2 d-block"},kE={class:"text-caption text-medium-emphasis mt-2"},wE={key:2,class:"mb-4"},SE={class:"text-body-2 font-weight-medium mb-2 d-block"},AE={class:"text-caption text-medium-emphasis mt-2"},zE={key:0,class:"text-center mb-4"},TE={class:"mb-4"},PE={class:"text-body-2 font-weight-medium mb-2 d-block"},jE={class:"mb-6"},CE={class:"text-body-2 font-weight-medium mb-2 d-block"},EE={class:"text-center py-6"},ME={class:"text-h6 mb-2"},xE={class:"text-body-2 text-medium-emphasis mb-6"},IE={class:"text-caption text-medium-emphasis"},DE={class:"text-center py-6"},LE={class:"text-h6 mb-2"},RE={class:"text-body-2 text-medium-emphasis"},OE={class:"text-center py-6"},NE={class:"text-h6 mb-2"},BE={class:"text-body-2 text-medium-emphasis"},Zr="mass_server_address",su="mass_remote_id",jn="ma_access_token",FE=Te({__name:"Login",emits:["connected","authenticated","local-connect"],setup(t,{emit:e}){const{t:s}=bl(),a=e,n=O(()=>window.location.hostname==="app.music-assistant.io"?!0:new URLSearchParams(window.location.search).get("remote")==="1"),r=Y(!1),o=O(()=>!n.value&&!r.value),u=async()=>{if(n.value)return!1;if(["8094","8095"].includes(window.location.port))return!0;try{const F=window.location.origin+window.location.pathname.replace(/\/$/,"");console.debug("[Login] Checking if hosted with API at:",F+"/info");const Z=await fetch(`${F}/info`,{method:"GET",signal:AbortSignal.timeout(2e3)});if(!Z.ok)return console.debug("[Login] /info endpoint returned status:",Z.status,"- not hosted with API"),!1;const ot=await Z.json(),E=ot&&(ot.server_id||ot.server_version||ot.min_supported_server_version);return console.debug("[Login] /info endpoint check:",E?"Music Assistant server detected":"not MA server"),E}catch(F){return console.debug("[Login] /info endpoint check failed:",F),!1}},l=Y("auto-connect"),d=Y(""),c=Y(""),b=Y(!1),p=Y(null),m=Y(""),g=Y(!1),h=Y(null),y=Y(""),f=Y(""),v=Y(!1),_=Y(!1),k=Y(null),S=Y([]),z=O(()=>S.value.some(R=>R.provider_id==="homeassistant")),A=Y(null),w=Y(null),I=O(()=>l.value==="auto-connect"?s("login.auto_connecting","Looking for your server..."):l.value==="login"?s("login.sign_in_to_continue","Sign in to continue"):l.value==="oauth-waiting"?s("login.complete_in_browser","Complete sign-in in your browser"):l.value==="connecting"?s("login.establishing_connection","Establishing connection..."):s("login.subtitle","Connect to your music server")),T=()=>{const R=window.location,F=R.protocol==="https:"?"wss:":"ws:";let Z=R.pathname.replace(/\/$/,"").split("#")[0];return Z.endsWith("/ws")?`${F}//${R.host}${Z}`:`${F}//${R.host}${Z}/ws`},D=R=>{try{const F=new URL(R),Z=F.protocol==="https:"?"wss:":"ws:";let ot=F.pathname.replace(/\/$/,"");return ot.endsWith("/ws")?`${Z}//${F.host}${ot}`:`${Z}//${F.host}${ot}/ws`}catch{const F=R.replace(/\/$/,"");if(F.startsWith("ws://")||F.startsWith("wss://"))return F.endsWith("/ws")?F:`${F}/ws`;const Z=F.startsWith("https://")?"wss:":"ws:",ot=F.replace(/^https?:\/\//,"");return ot.endsWith("/ws")?`${Z}//${ot}`:`${Z}//${ot}/ws`}},j=async(R,F=5e3)=>(console.log(`[Login] Trying to connect to: ${R}`),new Promise(Z=>{const ot=new WebSocket(R),E=setTimeout(()=>{ot.close(),Z(!1)},F);ot.onopen=()=>{clearTimeout(E),ot.close(),Z(!0)},ot.onerror=()=>{clearTimeout(E),Z(!1)},ot.onclose=()=>{clearTimeout(E)}})),B=async()=>{const R=localStorage.getItem(jn);if(!R)return console.log("[Login] No stored token found"),!1;try{console.log("[Login] Trying to authenticate with stored token"),m.value=s("login.authenticating","Authenticating...");const F=await $.authenticateWithToken(R);return console.log("[Login] Token authentication successful"),a("authenticated",{token:R,user:F.user}),!0}catch(F){return console.log("[Login] Stored token authentication failed:",F),localStorage.removeItem(jn),!1}},H=async()=>{if(l.value="auto-connect",m.value=s("login.checking_stored","Checking for saved connection..."),r.value=await u(),console.log("[Login] Hosted with API:",r.value),n.value){console.log("[Login] Remote-only mode, checking for stored remote ID");const ot=localStorage.getItem(su)||ps.getStoredRemoteId(),E=localStorage.getItem(jn);if(ot&&E){console.log("[Login] Found stored remote ID and token, trying auto-connect"),m.value=s("login.connecting_remote","Connecting to remote server..."),c.value=ot;try{const x=ot.trim().toUpperCase(),G=await ps.connectRemote(x);if(a("connected",G),await st()&&await B()){console.log("[Login] Remote auto-login successful!");return}console.log("[Login] Remote token auth failed, showing login form"),h.value=`Remote: ${x}`,g.value=!0,await ct(),l.value="login";return}catch(x){console.log("[Login] Remote auto-connect failed:",x)}}else ot&&(console.log("[Login] Found stored remote ID (no token):",ot),c.value=ot);console.log("[Login] Remote-only mode, showing selection screen"),l.value="select-mode";return}if(r.value){console.log("[Login] Hosted with API, trying local connection"),m.value=s("login.checking_local","Checking local server...");const ot=localStorage.getItem(jn),E=T();if(console.log("[Login] Trying local WebSocket:",E),await j(E,3e3)){console.log("[Login] Local server found!");const x=window.location.origin+window.location.pathname.replace(/\/$/,"");if(d.value=x,a("local-connect",x),localStorage.setItem(Zr,x),await st()&&ot&&await B()){console.log("[Login] Auto-login successful!");return}console.log("[Login] Showing login form for local server");try{const G=new URL(x);h.value=G.hostname}catch{h.value=x}await ct(),l.value="login";return}}const R=localStorage.getItem(Zr),F=localStorage.getItem(jn);if(R&&F){console.log("[Login] Found stored server address and token"),m.value=s("login.connecting_to_saved","Connecting to saved server...");const ot=D(R);if(await j(ot)){if(console.log("[Login] Stored server reachable, establishing connection"),d.value=R,a("local-connect",R),localStorage.setItem(Zr,R),await st()&&await B()){console.log("[Login] Auto-login successful!");return}console.log("[Login] Token auth failed, showing login form");try{const E=new URL(R);h.value=E.hostname}catch{h.value=R}await ct(),l.value="login";return}console.log("[Login] Stored server connection failed")}if(R){console.log("[Login] Found stored server address (no token)"),m.value=s("login.connecting_to_saved","Connecting to saved server...");const ot=D(R);if(await j(ot)){console.log("[Login] Stored server reachable"),d.value=R,await ut(R);return}}const Z=localStorage.getItem(su)||ps.getStoredRemoteId();if(Z&&F){console.log("[Login] Found stored remote ID and token, trying auto-connect"),m.value=s("login.connecting_remote","Connecting to remote server..."),c.value=Z;try{const ot=Z.trim().toUpperCase(),E=await ps.connectRemote(ot);if(a("connected",E),await st()&&await B()){console.log("[Login] Remote auto-login successful!");return}console.log("[Login] Remote token auth failed, showing login form"),h.value=`Remote: ${ot}`,g.value=!0,await ct(),l.value="login";return}catch(ot){console.log("[Login] Remote auto-connect failed:",ot)}}else Z&&(console.log("[Login] Found stored remote ID (no token):",Z),c.value=Z);console.log("[Login] Auto-connect failed, showing selection screen"),l.value="select-mode"},st=async(R=1e4)=>{const F=Date.now();for(;Date.now()-F<R;){if($.serverInfo.value)return!0;await new Promise(Z=>setTimeout(Z,100))}return!1},ut=async R=>{b.value=!0,p.value=null,g.value=!1,l.value="connecting",m.value=s("login.connecting_to_server","Connecting to server...");try{if(a("local-connect",R),localStorage.setItem(Zr,R),!await st())throw new Error("Connection timeout - server not responding");await ct();try{const Z=new URL(R);h.value=Z.hostname}catch{h.value=R}l.value="login"}catch(F){console.error("[Login] Local connection failed:",F),p.value=F instanceof Error?F.message:s("login.error_unknown","Unknown error occurred"),l.value="error"}finally{b.value=!1}},rt=async()=>{if(r.value){const R=window.location.origin+window.location.pathname.replace(/\/$/,"");await ut(R);return}d.value.trim()&&await ut(d.value.trim())},tt=async()=>{if(c.value.trim()){b.value=!0,p.value=null,g.value=!0,l.value="connecting",m.value=s("login.connecting_to_signaling","Connecting to signaling server...");try{const R=c.value.trim().toUpperCase();m.value=s("login.finding_server","Finding your server...");const F=await ps.connectRemote(R);m.value=s("login.establishing_secure","Establishing secure connection..."),localStorage.setItem(su,R),a("connected",F),await ct(),h.value=`Remote: ${R}`,l.value="login"}catch(R){console.error("[Login] Remote connection failed:",R),p.value=R instanceof Error?R.message:s("login.error_unknown","Unknown error occurred"),l.value="error"}finally{b.value=!1}}},ct=async()=>{try{const R=$.serverInfo.value;if(R&&R.auth_providers){S.value=R.auth_providers,console.log("[Login] Auth providers from serverInfo:",S.value);return}const F=await $.sendCommand("auth/providers");S.value=F||[],console.log("[Login] Auth providers:",S.value)}catch{console.log("[Login] Auth providers not available (may require auth first)"),S.value=[]}},pt=async()=>{if(!(!y.value.trim()||!f.value.trim())){_.value=!0,k.value=null;try{a("authenticated",{username:y.value.trim(),password:f.value})}catch(R){console.error("[Login] Login failed:",R),k.value=R instanceof Error?R.message:s("login.error_login_failed","Login failed. Please check your credentials."),_.value=!1}}},St=async()=>{_.value=!0,k.value=null;try{const R=await $.sendCommand("auth/authorization_url",{provider_id:"homeassistant",for_remote_client:!0});if(!R?.authorization_url||!R?.session_id)throw new Error("Invalid response from server");A.value=R.session_id,window.open(R.authorization_url,"_blank"),l.value="oauth-waiting",lt()}catch(R){console.error("[Login] Failed to start Home Assistant OAuth:",R),k.value=R instanceof Error?R.message:s("login.error_oauth_failed","Failed to start Home Assistant authentication."),_.value=!1}},lt=()=>{w.value=window.setInterval(async()=>{if(!A.value){dt();return}try{const R=await $.sendCommand("auth/oauth_status",{session_id:A.value});if(R.status==="completed"&&R.access_token){dt();const F=await $.authenticateWithToken(R.access_token);a("authenticated",{token:R.access_token,user:F.user})}else R.status==="error"&&(dt(),k.value=R.message||s("login.error_oauth_failed","Authentication failed."),l.value="login",_.value=!1)}catch(R){console.error("[Login] OAuth polling error:",R)}},2e3)},dt=()=>{w.value&&(clearInterval(w.value),w.value=null),A.value=null},jt=()=>{dt(),_.value=!1,l.value="login"},Zt=()=>{dt(),ps.disconnect(),$.disconnect(),l.value="select-mode",k.value=null,y.value="",f.value="",S.value=[],h.value=null,g.value=!1},Ft=()=>{dt(),ps.disconnect(),$.disconnect(),b.value=!1,l.value="select-mode"},P=()=>{p.value=null,ps.disconnect(),$.disconnect(),l.value="select-mode"};return Le(()=>{H()}),yr(()=>{dt()}),(R,F)=>(W(),ee(YT,null,{default:ht(()=>[L(Cj,{class:"login-background"},{default:ht(()=>[L(fj,{class:"fill-height",fluid:""},{default:ht(()=>[L(Tj,{align:"center",justify:"center"},{default:ht(()=>[L(hj,{cols:"12",sm:"10",md:"6",lg:"5",xl:"4"},{default:ht(()=>[L(dr,{class:"login-card pa-8",elevation:"12",rounded:"xl"},{default:ht(()=>[N("div",pE,[F[6]||(F[6]=N("img",{src:nE,alt:"Music Assistant",class:"login-logo mb-4"},null,-1)),F[7]||(F[7]=N("h1",{class:"text-h4 font-weight-bold"},"Music Assistant",-1)),N("p",mE,_t(I.value),1)]),l.value==="auto-connect"?(W(),et("div",fE,[L(en,{indeterminate:"",color:"primary",size:"64",class:"mb-4"}),N("p",vE,_t(m.value),1)])):Mt("",!0),l.value==="select-mode"?(W(),et(vt,{key:1},[n.value?(W(),et("div",gE,[L(Yt,{color:"primary",size:"48",class:"mb-2"},{default:ht(()=>[...F[8]||(F[8]=[Tt("mdi-cloud",-1)])]),_:1}),N("p",_E,_t(R.$t("login.remote_only_info","Connect to your Music Assistant server remotely")),1)])):Mt("",!0),o.value?(W(),et("div",hE,[N("label",yE,_t(R.$t("login.server_address","Server Address")),1),L(Kr,{modelValue:d.value,"onUpdate:modelValue":F[0]||(F[0]=Z=>d.value=Z),placeholder:R.$t("login.server_address_placeholder","http://192.168.1.100:8095"),variant:"outlined",density:"comfortable","hide-details":"auto","error-messages":p.value,disabled:b.value,"bg-color":"surface-light",onKeyup:Il(rt,["enter"])},null,8,["modelValue","placeholder","error-messages","disabled"]),N("p",kE,_t(R.$t("login.server_address_hint","Enter the full URL of your Music Assistant server")),1)])):Mt("",!0),n.value?(W(),et("div",wE,[N("label",SE,_t(R.$t("login.remote_id","Remote ID")),1),L(Kr,{modelValue:c.value,"onUpdate:modelValue":F[1]||(F[1]=Z=>c.value=Z),placeholder:R.$t("login.remote_id_placeholder","e.g., MA-X7K9-P2M4"),variant:"outlined",density:"comfortable","hide-details":"auto","error-messages":p.value,disabled:b.value,"bg-color":"surface-light",onKeyup:Il(tt,["enter"])},null,8,["modelValue","placeholder","error-messages","disabled"]),N("p",AE,_t(R.$t("login.remote_id_hint",'Find this in your server settings under "Remote Access"')),1)])):Mt("",!0),L(Ns,{color:"primary",size:"x-large",block:"",rounded:"lg",class:"mb-4 text-none",loading:b.value,disabled:n.value&&!c.value.trim()||o.value&&!d.value.trim(),onClick:F[2]||(F[2]=Z=>n.value?tt():rt())},{default:ht(()=>[Tt(_t(R.$t("login.connect","Connect")),1)]),_:1},8,["loading","disabled"])],64)):Mt("",!0),l.value==="login"?(W(),et(vt,{key:2},[h.value?(W(),et("div",zE,[L(o3,{color:"success",variant:"tonal",size:"small"},{default:ht(()=>[L(Yt,{start:"",size:"small"},{default:ht(()=>[...F[9]||(F[9]=[Tt("mdi-check-circle",-1)])]),_:1}),Tt(" "+_t(h.value),1)]),_:1})])):Mt("",!0),N("div",TE,[N("label",PE,_t(R.$t("login.username","Username")),1),L(Kr,{modelValue:y.value,"onUpdate:modelValue":F[3]||(F[3]=Z=>y.value=Z),placeholder:R.$t("login.username_placeholder","Enter your username"),variant:"outlined",density:"comfortable","hide-details":"auto",disabled:_.value,"bg-color":"surface-light",autofocus:""},null,8,["modelValue","placeholder","disabled"])]),N("div",jE,[N("label",CE,_t(R.$t("login.password","Password")),1),L(Kr,{modelValue:f.value,"onUpdate:modelValue":F[4]||(F[4]=Z=>f.value=Z),placeholder:R.$t("login.password_placeholder","Enter your password"),type:v.value?"text":"password",variant:"outlined",density:"comfortable","hide-details":"auto","append-inner-icon":v.value?"mdi-eye-off":"mdi-eye","error-messages":k.value,disabled:_.value,"bg-color":"surface-light","onClick:appendInner":F[5]||(F[5]=Z=>v.value=!v.value),onKeyup:Il(pt,["enter"])},null,8,["modelValue","placeholder","type","append-inner-icon","error-messages","disabled"])]),L(Ns,{color:"primary",size:"x-large",block:"",rounded:"lg",class:"mb-6 text-none",loading:_.value,disabled:!y.value.trim()||!f.value.trim(),onClick:pt},{default:ht(()=>[Tt(_t(R.$t("login.sign_in","Sign In")),1)]),_:1},8,["loading","disabled"]),z.value?(W(),ee(Ns,{key:1,variant:"outlined",size:"x-large",block:"",rounded:"lg",class:"text-none oauth-btn mt-4",loading:_.value,onClick:St},{default:ht(()=>[F[10]||(F[10]=N("img",{src:N0,alt:"Home Assistant",width:"24",height:"24",style:{"margin-right":"8px"}},null,-1)),Tt(" "+_t(R.$t("login.sign_in_with_ha","Sign in with Home Assistant")),1)]),_:1},8,["loading"])):Mt("",!0),L(Ns,{variant:"text",class:"mt-4",block:"",disabled:_.value,onClick:Zt},{default:ht(()=>[Tt(_t(R.$t("login.different_server","Use different server")),1)]),_:1},8,["disabled"])],64)):Mt("",!0),l.value==="oauth-waiting"?(W(),et(vt,{key:3},[N("div",EE,[F[11]||(F[11]=N("img",{src:N0,alt:"Home Assistant",width:"64",height:"64",class:"mb-4",style:{margin:"0 auto",display:"block"}},null,-1)),N("p",ME,_t(R.$t("login.complete_sign_in","Complete Sign-in")),1),N("p",xE,_t(R.$t("login.oauth_waiting_message","A browser window has opened. Please sign in with Home Assistant, then return here.")),1),L(en,{indeterminate:"",color:"primary",size:"40",class:"mb-4"}),N("p",IE,_t(R.$t("login.waiting_for_auth","Waiting for authentication...")),1)]),L(Ns,{variant:"text",block:"",onClick:jt},{default:ht(()=>[Tt(_t(R.$t("login.cancel","Cancel")),1)]),_:1})],64)):Mt("",!0),l.value==="connecting"?(W(),et(vt,{key:4},[N("div",DE,[L(en,{indeterminate:"",color:"primary",size:"64",class:"mb-4"}),N("p",LE,_t(R.$t("login.connecting","Connecting...")),1),N("p",RE,_t(m.value),1)]),L(Ns,{variant:"text",block:"",onClick:Ft},{default:ht(()=>[Tt(_t(R.$t("login.cancel","Cancel")),1)]),_:1})],64)):Mt("",!0),l.value==="error"?(W(),et(vt,{key:5},[N("div",OE,[L(Yt,{color:"error",size:"64",class:"mb-4"},{default:ht(()=>[...F[12]||(F[12]=[Tt("mdi-alert-circle",-1)])]),_:1}),N("p",NE,_t(R.$t("login.connection_failed","Connection Failed")),1),N("p",BE,_t(p.value),1)]),L(Ns,{color:"primary",block:"",rounded:"lg",onClick:P},{default:ht(()=>[Tt(_t(R.$t("login.try_again","Try Again")),1)]),_:1})],64)):Mt("",!0)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}))}}),GE=Bz(FE,[["__scopeId","data-v-8953ceeb"]]),VE=Te({__name:"App",setup(t){const e=vc(),s=Y(!1),a=Y(!1),n=O(()=>!a.value),r=function(){const p=localStorage.getItem("frontend.settings.theme")||"auto";p=="dark"?e.global.name.value="dark":p=="light"?e.global.name.value="light":window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?e.global.name.value="dark":e.global.name.value="light"},o=function(){Gt.setInteracted(),window.removeEventListener("click",o)},u=function(){const p=navigator.userAgent;let m="Browser",g="Unknown OS";return p.includes("Firefox/")?m="Firefox":p.includes("Edg/")?m="Edge":p.includes("Chrome/")?m="Chrome":p.includes("Safari/")&&!p.includes("Chrome/")&&(m="Safari"),p.includes("Windows")?g="Windows":p.includes("Mac OS X")?g="macOS":p.includes("Linux")?g="Linux":p.includes("Android")?g="Android":(p.includes("iOS")||p.includes("iPhone")||p.includes("iPad"))&&(g="iOS"),`Music Assistant Web (${m} on ${g})`},l=async p=>{s.value=!0;try{await $.initialize(p)}catch(m){console.error("[App] Failed to initialize API with transport:",m)}},d=async p=>{try{const{authManager:m}=await Vt(async()=>{const{authManager:h}=await Promise.resolve().then(()=>Bu);return{authManager:h}},void 0,import.meta.url);let g=p.user;if(p.token&&p.user)m.setToken(p.token),m.setCurrentUser(p.user);else if(p.username&&p.password){const h=await $.loginWithCredentials(p.username,p.password,u());m.setToken(h.token),g=h.user,g&&m.setCurrentUser(g)}else throw new Error("Invalid authentication credentials");g&&(bt.currentUser=g),a.value=!0,bt.isAuthenticated=!0,ps.setAuthenticated($.serverInfo.value?.server_id||void 0),await b()}catch(m){throw console.error("[App] Authentication failed:",m),m}},c=async p=>{const{authManager:m}=await Vt(async()=>{const{authManager:g}=await Promise.resolve().then(()=>Bu);return{authManager:g}},void 0,import.meta.url);m.setBaseUrl(p),await $.initialize(p),s.value=!0},b=async()=>{const p=localStorage.getItem("frontend.settings.enable_builtin_player")!="false",m=async()=>{const g=$.serverInfo.value;if(!g){console.error("No server info received");return}bt.serverInfo=g,bt.isAuthenticated=!0,bt.libraryArtistsCount=await $.getLibraryArtistsCount(),bt.libraryAlbumsCount=await $.getLibraryAlbumsCount(),bt.libraryPlaylistsCount=await $.getLibraryPlaylistsCount(),bt.libraryRadiosCount=await $.getLibraryRadiosCount(),bt.libraryTracksCount=await $.getLibraryTracksCount(),bt.connected=!0,p&&$.getProvider("builtin_player")?Gt.setMode(fi.BUILTIN):Gt.setMode(fi.CONTROLS_ONLY)};$.subscribe(Me.CONNECTED,m),$.subscribe(Me.DISCONNECTED,()=>{bt.connected=!1}),$.serverInfo.value&&await m()};return Le(async()=>{bt.isInStandaloneMode=window.navigator.standalone||!1;const p=localStorage.getItem("frontend.settings.language")||"auto";p!=="auto"&&(oc.global.locale.value=p);const m=localStorage.getItem("frontend.settings.force_mobile_layout")=="true";bt.forceMobileLayout=m,r(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",r),window.addEventListener("click",o)}),(p,m)=>{const g=Hg("router-view");return W(),et(vt,null,[L(X(Mj),{position:"bottom-right"}),n.value?(W(),ee(GE,{key:0,onConnected:l,onAuthenticated:d,onLocalConnect:c})):(W(),et(vt,{key:1},[X(bt).connected?(W(),ee(g,{key:0})):(W(),ee(yc,{key:1,indeterminate:"",color:"primary"}))],64)),X(Gt).audioSource===X(fi).CONTROLS_ONLY&&X(Gt).interacted==!0?(W(),ee(aE,{key:2})):Mt("",!0),X(Gt).tabMode===X(fi).BUILTIN&&X(Gt).player_id?(W(),ee(eE,{key:3,"player-id":X(Gt).player_id},null,8,["player-id"])):Mt("",!0)],64)}}}),qE={component:t=>ue(VA,{...t,class:"material-icons"})},UE={...H2},HE=P3({icons:{defaultSet:"mdi",aliases:UE,sets:{md:qE,mdi:W2}},display:{mobileBreakpoint:"md",thresholds:{xs:0,sm:340,md:540,lg:800,xl:1280}},theme:{defaultTheme:"dark",themes:{light:{dark:!1,colors:{fg:"#000000",background:"#f5f5f5",overlay:"#e7e7e7ff",panel:"#ffffff",default:"#ffffff",primary:"#03a9f4"}},dark:{dark:!0,colors:{fg:"#ffffff",background:"#181818",overlay:"#181818",panel:"#232323",default:"#000000",primary:"#03a9f4"}}}}}),WE={install:(t,e)=>{const s=e?.holdDuration||500,a=e?.swipeThreshold||50,n=e?.doubleTapThreshold||300,r=e?.holdThreshold||10,o="touchstart",u="touchend",l="touchmove";let d=!1;try{addEventListener("test",()=>{},{get passive(){d=!0}})}catch{}t.directive("hold",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown",m="ontouchstart"in window?"touchend":"mouseup",g="ontouchstart"in window?"touchmove":"mousemove";let h=null,y=null,f=null;const v=S=>{S.touches&&(y=S.touches[0].clientX,f=S.touches[0].clientY,h=window.setTimeout(()=>{b.value(S),h=null},s))},_=S=>{if(!y||!f||!h||!S.touches)return;const z=S.touches[0].clientX,A=S.touches[0].clientY;(Math.abs(z-y)>r||Math.abs(A-f)>r)&&(window.clearTimeout(h),h=null)},k=()=>{h&&(window.clearTimeout(h),h=null)};c.addEventListener(p,v,d?{passive:!0}:!1),c.addEventListener(m,k,d?{passive:!0}:!1),c.addEventListener(g,_,d?{passive:!0}:!1),c._hold={handleTouchStart:v,handleTouchEnd:k,handleTouchMove:_}},unmounted(c){c._hold&&(c.removeEventListener(o,c._hold.handleTouchStart),c.removeEventListener(u,c._hold.handleTouchEnd),c.removeEventListener(l,c._hold.handleTouchMove))}}),t.directive("tap",{mounted(c,b){let p=null;const m=()=>{p=Date.now()},g=()=>{p&&Date.now()-p<s&&b.value()};c.addEventListener(o,m,d?{passive:!0}:!1),c.addEventListener(u,g,d?{passive:!0}:!1),c._tap={handleTouchStart:m,handleTouchEnd:g}},unmounted(c){c._tap&&(c.removeEventListener(o,c._tap.handleTouchStart),c.removeEventListener(u,c._tap.handleTouchEnd))}}),t.directive("swipe",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown",m="ontouchstart"in window?"touchend":"mouseup";let g=null,h=null;const y=v=>{v.touches&&(g=v.touches[0].clientX,h=v.touches[0].clientY)},f=v=>{const _=v.changedTouches[0].clientX,k=v.changedTouches[0].clientY,S=_-(g||0),z=k-(h||0),A=Math.abs(S),w=Math.abs(z);let I=null;(A>a||w>a)&&(A>=w?I=S>0?"right":"left":I=z>0?"down":"up"),I&&(b.modifiers.right&&I==="right"||b.modifiers.left&&I==="left"||b.modifiers.up&&I==="up"||b.modifiers.down&&I==="down"||!b.modifiers.right&&!b.modifiers.left&&!b.modifiers.up&&!b.modifiers.down)&&b.value(I)};c.addEventListener(p,y,d?{passive:!0}:!1),c.addEventListener(m,f,d?{passive:!0}:!1),c._swipe={handleTouchStart:y,handleTouchEnd:f}},unmounted(c){c._swipe&&(c.removeEventListener(o,c._swipe.handleTouchStart),c.removeEventListener(u,c._swipe.handleTouchEnd))}}),t.directive("drag",{mounted(c,b){let p=null,m=null,g=0,h=0,y=!1;const f=k=>{k.touches&&(k.preventDefault(),p=k.touches[0].clientX,m=k.touches[0].clientY,g=c.offsetLeft,h=c.offsetTop,y=!0)},v=k=>{if(!y||!k.touches)return;const S=k.touches[0].clientX,z=k.touches[0].clientY,A=S-(p||0),w=z-(m||0);b.value({offsetX:g+A,offsetY:h+w})},_=()=>{y=!1};c.addEventListener(o,f,d?{passive:!0}:!1),c.addEventListener(l,v,d?{passive:!0}:!1),c.addEventListener(u,_,d?{passive:!0}:!1),c._drag={handleTouchStart:f,handleTouchMove:v,handleTouchEnd:_}},unmounted(c){c._drag&&(c.removeEventListener(o,c._drag.handleTouchStart),c.removeEventListener(l,c._drag.handleTouchMove),c.removeEventListener(u,c._drag.handleTouchEnd))}}),t.directive("press",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown",m=g=>{b.value(g)};c.addEventListener(p,m,d?{passive:!0}:!1),c._press={handleTouchStart:m}},unmounted(c){c._press&&c.removeEventListener(o,c._press.handleTouchStart)}}),t.directive("release",{mounted(c,b){const p="ontouchstart"in window?"touchend":"mouseup",m=g=>{b.value(g)};c.addEventListener(p,m,d?{passive:!0}:!1),c._release={handleTouchEnd:m}},unmounted(c){c._release&&c.removeEventListener(u,c._release.handleTouchEnd)}}),t.directive("doubletap",{mounted(c,b){const p="ontouchstart"in window?"touchstart":"mousedown";let m=0;const g=h=>{const y=new Date().getTime(),f=y-m;f>0&&f<n&&b.value(h),m=y};c.addEventListener(p,g,d?{passive:!0}:!1),c._doubletap={handleTouchEnd:g}},unmounted(c){c._doubletap&&c.removeEventListener(o,c._doubletap.handleTouchEnd)}})}};function G0(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Rc(t={},e={}){const s=["__proto__","constructor","prototype"];Object.keys(e).filter(a=>s.indexOf(a)<0).forEach(a=>{typeof t[a]>"u"?t[a]=e[a]:G0(e[a])&&G0(t[a])&&Object.keys(e[a]).length>0&&Rc(t[a],e[a])})}const C3={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Pa(){const t=typeof document<"u"?document:{};return Rc(t,C3),t}const KE={document:C3,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Je(){const t=typeof window<"u"?window:{};return Rc(t,KE),t}function $E(t=""){return t.trim().split(" ").filter(e=>!!e.trim())}function YE(t){const e=t;Object.keys(e).forEach(s=>{try{e[s]=null}catch{}try{delete e[s]}catch{}})}function Uo(t,e=0){return setTimeout(t,e)}function ji(){return Date.now()}function XE(t){const e=Je();let s;return e.getComputedStyle&&(s=e.getComputedStyle(t,null)),!s&&t.currentStyle&&(s=t.currentStyle),s||(s=t.style),s}function ZE(t,e="x"){const s=Je();let a,n,r;const o=XE(t);return s.WebKitCSSMatrix?(n=o.transform||o.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(u=>u.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix(n==="none"?"":n)):(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=r.toString().split(",")),e==="x"&&(s.WebKitCSSMatrix?n=r.m41:a.length===16?n=parseFloat(a[12]):n=parseFloat(a[4])),e==="y"&&(s.WebKitCSSMatrix?n=r.m42:a.length===16?n=parseFloat(a[13]):n=parseFloat(a[5])),n||0}function Qr(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function QE(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function vi(...t){const e=Object(t[0]),s=["__proto__","constructor","prototype"];for(let a=1;a<t.length;a+=1){const n=t[a];if(n!=null&&!QE(n)){const r=Object.keys(Object(n)).filter(o=>s.indexOf(o)<0);for(let o=0,u=r.length;o<u;o+=1){const l=r[o],d=Object.getOwnPropertyDescriptor(n,l);d!==void 0&&d.enumerable&&(Qr(e[l])&&Qr(n[l])?n[l].__swiper__?e[l]=n[l]:vi(e[l],n[l]):!Qr(e[l])&&Qr(n[l])?(e[l]={},n[l].__swiper__?e[l]=n[l]:vi(e[l],n[l])):e[l]=n[l])}}}return e}function Jr(t,e,s){t.style.setProperty(e,s)}function E3({swiper:t,targetPosition:e,side:s}){const a=Je(),n=-t.translate;let r=null,o;const u=t.params.speed;t.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(t.cssModeFrameID);const l=e>n?"next":"prev",d=(b,p)=>l==="next"&&b>=p||l==="prev"&&b<=p,c=()=>{o=new Date().getTime(),r===null&&(r=o);const b=Math.max(Math.min((o-r)/u,1),0),p=.5-Math.cos(b*Math.PI)/2;let m=n+p*(e-n);if(d(m,e)&&(m=e),t.wrapperEl.scrollTo({[s]:m}),d(m,e)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[s]:m})}),a.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=a.requestAnimationFrame(c)};c()}function is(t,e=""){const s=Je(),a=[...t.children];return s.HTMLSlotElement&&t instanceof HTMLSlotElement&&a.push(...t.assignedElements()),e?a.filter(n=>n.matches(e)):a}function JE(t,e){const s=[e];for(;s.length>0;){const a=s.shift();if(t===a)return!0;s.push(...a.children,...a.shadowRoot?a.shadowRoot.children:[],...a.assignedElements?a.assignedElements():[])}}function tM(t,e){const s=Je();let a=e.contains(t);return!a&&s.HTMLSlotElement&&e instanceof HTMLSlotElement&&(a=[...e.assignedElements()].includes(t),a||(a=JE(t,e))),a}function Ho(t){try{console.warn(t);return}catch{}}function Wo(t,e=[]){const s=document.createElement(t);return s.classList.add(...Array.isArray(e)?e:$E(e)),s}function eM(t,e){const s=[];for(;t.previousElementSibling;){const a=t.previousElementSibling;e?a.matches(e)&&s.push(a):s.push(a),t=a}return s}function iM(t,e){const s=[];for(;t.nextElementSibling;){const a=t.nextElementSibling;e?a.matches(e)&&s.push(a):s.push(a),t=a}return s}function Us(t,e){return Je().getComputedStyle(t,null).getPropertyValue(e)}function Ko(t){let e=t,s;if(e){for(s=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(s+=1);return s}}function M3(t,e){const s=[];let a=t.parentElement;for(;a;)e?a.matches(e)&&s.push(a):s.push(a),a=a.parentElement;return s}function au(t,e){function s(a){a.target===t&&(e.call(t,a),t.removeEventListener("transitionend",s))}e&&t.addEventListener("transitionend",s)}function md(t,e,s){const a=Je();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function Oe(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function fr(t,e=""){typeof trustedTypes<"u"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:s=>s}).createHTML(e):t.innerHTML=e}let nu;function sM(){const t=Je(),e=Pa();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function x3(){return nu||(nu=sM()),nu}let ru;function aM({userAgent:t}={}){const e=x3(),s=Je(),a=s.navigator.platform,n=t||s.navigator.userAgent,r={ios:!1,android:!1},o=s.screen.width,u=s.screen.height,l=n.match(/(Android);?[\s\/]+([\d.]+)?/);let d=n.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const c=n.match(/(iPod)(.*OS\s([\d_]+))?/),b=!d&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=a==="Win32";let m=a==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&m&&e.touch&&g.indexOf(`${o}x${u}`)>=0&&(d=n.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),l&&!p&&(r.os="android",r.android=!0),(d||b||c)&&(r.os="ios",r.ios=!0),r}function I3(t={}){return ru||(ru=aM(t)),ru}let ou;function nM(){const t=Je(),e=I3();let s=!1;function a(){const u=t.navigator.userAgent.toLowerCase();return u.indexOf("safari")>=0&&u.indexOf("chrome")<0&&u.indexOf("android")<0}if(a()){const u=String(t.navigator.userAgent);if(u.includes("Version/")){const[l,d]=u.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));s=l<16||l===16&&d<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=a(),o=r||n&&e.ios;return{isSafari:s||r,needPerspectiveFix:s,need3dFix:o,isWebView:n}}function D3(){return ou||(ou=nM()),ou}function rM({swiper:t,on:e,emit:s}){const a=Je();let n=null,r=null;const o=()=>{!t||t.destroyed||!t.initialized||(s("beforeResize"),s("resize"))},u=()=>{!t||t.destroyed||!t.initialized||(n=new ResizeObserver(c=>{r=a.requestAnimationFrame(()=>{const{width:b,height:p}=t;let m=b,g=p;c.forEach(({contentBoxSize:h,contentRect:y,target:f})=>{f&&f!==t.el||(m=y?y.width:(h[0]||h).inlineSize,g=y?y.height:(h[0]||h).blockSize)}),(m!==b||g!==p)&&o()})}),n.observe(t.el))},l=()=>{r&&a.cancelAnimationFrame(r),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null)},d=()=>{!t||t.destroyed||!t.initialized||s("orientationchange")};e("init",()=>{if(t.params.resizeObserver&&typeof a.ResizeObserver<"u"){u();return}a.addEventListener("resize",o),a.addEventListener("orientationchange",d)}),e("destroy",()=>{l(),a.removeEventListener("resize",o),a.removeEventListener("orientationchange",d)})}function oM({swiper:t,extendParams:e,on:s,emit:a}){const n=[],r=Je(),o=(d,c={})=>{const b=r.MutationObserver||r.WebkitMutationObserver,p=new b(m=>{if(t.__preventObserver__)return;if(m.length===1){a("observerUpdate",m[0]);return}const g=function(){a("observerUpdate",m[0])};r.requestAnimationFrame?r.requestAnimationFrame(g):r.setTimeout(g,0)});p.observe(d,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:t.isElement||(typeof c.childList>"u"?!0:c).childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),n.push(p)},u=()=>{if(t.params.observer){if(t.params.observeParents){const d=M3(t.hostEl);for(let c=0;c<d.length;c+=1)o(d[c])}o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}},l=()=>{n.forEach(d=>{d.disconnect()}),n.splice(0,n.length)};e({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",u),s("destroy",l)}var lM={on(t,e,s){const a=this;if(!a.eventsListeners||a.destroyed||typeof e!="function")return a;const n=s?"unshift":"push";return t.split(" ").forEach(r=>{a.eventsListeners[r]||(a.eventsListeners[r]=[]),a.eventsListeners[r][n](e)}),a},once(t,e,s){const a=this;if(!a.eventsListeners||a.destroyed||typeof e!="function")return a;function n(...r){a.off(t,n),n.__emitterProxy&&delete n.__emitterProxy,e.apply(a,r)}return n.__emitterProxy=e,a.on(t,n,s)},onAny(t,e){const s=this;if(!s.eventsListeners||s.destroyed||typeof t!="function")return s;const a=e?"unshift":"push";return s.eventsAnyListeners.indexOf(t)<0&&s.eventsAnyListeners[a](t),s},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const s=e.eventsAnyListeners.indexOf(t);return s>=0&&e.eventsAnyListeners.splice(s,1),e},off(t,e){const s=this;return!s.eventsListeners||s.destroyed||!s.eventsListeners||t.split(" ").forEach(a=>{typeof e>"u"?s.eventsListeners[a]=[]:s.eventsListeners[a]&&s.eventsListeners[a].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&s.eventsListeners[a].splice(r,1)})}),s},emit(...t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let s,a,n;return typeof t[0]=="string"||Array.isArray(t[0])?(s=t[0],a=t.slice(1,t.length),n=e):(s=t[0].events,a=t[0].data,n=t[0].context||e),a.unshift(n),(Array.isArray(s)?s:s.split(" ")).forEach(o=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(n,[o,...a])}),e.eventsListeners&&e.eventsListeners[o]&&e.eventsListeners[o].forEach(u=>{u.apply(n,a)})}),e}};function uM(){const t=this;let e,s;const a=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=a.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?s=t.params.height:s=a.clientHeight,!(e===0&&t.isHorizontal()||s===0&&t.isVertical())&&(e=e-parseInt(Us(a,"padding-left")||0,10)-parseInt(Us(a,"padding-right")||0,10),s=s-parseInt(Us(a,"padding-top")||0,10)-parseInt(Us(a,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(s)&&(s=0),Object.assign(t,{width:e,height:s,size:t.isHorizontal()?e:s}))}function dM(){const t=this;function e(T,D){return parseFloat(T.getPropertyValue(t.getDirectionLabel(D))||0)}const s=t.params,{wrapperEl:a,slidesEl:n,rtlTranslate:r,wrongRTL:o}=t,u=t.virtual&&s.virtual.enabled,l=u?t.virtual.slides.length:t.slides.length,d=is(n,`.${t.params.slideClass}, swiper-slide`),c=u?t.virtual.slides.length:d.length;let b=[];const p=[],m=[];let g=s.slidesOffsetBefore;typeof g=="function"&&(g=s.slidesOffsetBefore.call(t));let h=s.slidesOffsetAfter;typeof h=="function"&&(h=s.slidesOffsetAfter.call(t));const y=t.snapGrid.length,f=t.slidesGrid.length,v=t.size-g-h;let _=s.spaceBetween,k=-g,S=0,z=0;if(typeof v>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*v:typeof _=="string"&&(_=parseFloat(_)),t.virtualSize=-_-g-h,d.forEach(T=>{r?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(Jr(a,"--swiper-centered-offset-before",""),Jr(a,"--swiper-centered-offset-after",""));const A=s.grid&&s.grid.rows>1&&t.grid;A?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let w;const I=s.slidesPerView==="auto"&&s.breakpoints&&Object.keys(s.breakpoints).filter(T=>typeof s.breakpoints[T].slidesPerView<"u").length>0;for(let T=0;T<c;T+=1){w=0;const D=d[T];if(!(D&&(A&&t.grid.updateSlide(T,D,d),Us(D,"display")==="none"))){if(u&&s.slidesPerView==="auto")s.virtual.slidesPerViewAutoSlideSize&&(w=s.virtual.slidesPerViewAutoSlideSize),w&&D&&(s.roundLengths&&(w=Math.floor(w)),D.style[t.getDirectionLabel("width")]=`${w}px`);else if(s.slidesPerView==="auto"){I&&(D.style[t.getDirectionLabel("width")]="");const j=getComputedStyle(D),B=D.style.transform,H=D.style.webkitTransform;if(B&&(D.style.transform="none"),H&&(D.style.webkitTransform="none"),s.roundLengths)w=t.isHorizontal()?md(D,"width"):md(D,"height");else{const st=e(j,"width"),ut=e(j,"padding-left"),rt=e(j,"padding-right"),tt=e(j,"margin-left"),ct=e(j,"margin-right"),pt=j.getPropertyValue("box-sizing");if(pt&&pt==="border-box")w=st+tt+ct;else{const{clientWidth:St,offsetWidth:lt}=D;w=st+ut+rt+tt+ct+(lt-St)}}B&&(D.style.transform=B),H&&(D.style.webkitTransform=H),s.roundLengths&&(w=Math.floor(w))}else w=(v-(s.slidesPerView-1)*_)/s.slidesPerView,s.roundLengths&&(w=Math.floor(w)),D&&(D.style[t.getDirectionLabel("width")]=`${w}px`);D&&(D.swiperSlideSize=w),m.push(w),s.centeredSlides?(k=k+w/2+S/2+_,S===0&&T!==0&&(k=k-v/2-_),T===0&&(k=k-v/2-_),Math.abs(k)<1/1e3&&(k=0),s.roundLengths&&(k=Math.floor(k)),z%s.slidesPerGroup===0&&b.push(k),p.push(k)):(s.roundLengths&&(k=Math.floor(k)),(z-Math.min(t.params.slidesPerGroupSkip,z))%t.params.slidesPerGroup===0&&b.push(k),p.push(k),k=k+w+_),t.virtualSize+=w+_,S=w,z+=1}}if(t.virtualSize=Math.max(t.virtualSize,v)+h,r&&o&&(s.effect==="slide"||s.effect==="coverflow")&&(a.style.width=`${t.virtualSize+_}px`),s.setWrapperSize&&(a.style[t.getDirectionLabel("width")]=`${t.virtualSize+_}px`),A&&t.grid.updateWrapperSize(w,b),!s.centeredSlides){const T=[];for(let D=0;D<b.length;D+=1){let j=b[D];s.roundLengths&&(j=Math.floor(j)),b[D]<=t.virtualSize-v&&T.push(j)}b=T,Math.floor(t.virtualSize-v)-Math.floor(b[b.length-1])>1&&b.push(t.virtualSize-v)}if(u&&s.loop){const T=m[0]+_;if(s.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/s.slidesPerGroup),j=T*s.slidesPerGroup;for(let B=0;B<D;B+=1)b.push(b[b.length-1]+j)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)s.slidesPerGroup===1&&b.push(b[b.length-1]+T),p.push(p[p.length-1]+T),t.virtualSize+=T}if(b.length===0&&(b=[0]),_!==0){const T=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,j)=>!s.cssMode||s.loop?!0:j!==d.length-1).forEach(D=>{D.style[T]=`${_}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let T=0;m.forEach(j=>{T+=j+(_||0)}),T-=_;const D=T>v?T-v:0;b=b.map(j=>j<=0?-g:j>D?D+h:j)}if(s.centerInsufficientSlides){let T=0;m.forEach(j=>{T+=j+(_||0)}),T-=_;const D=(g||0)+(h||0);if(T+D<v){const j=(v-T-D)/2;b.forEach((B,H)=>{b[H]=B-j}),p.forEach((B,H)=>{p[H]=B+j})}}if(Object.assign(t,{slides:d,snapGrid:b,slidesGrid:p,slidesSizesGrid:m}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){Jr(a,"--swiper-centered-offset-before",`${-b[0]}px`),Jr(a,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);const T=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(j=>j+T),t.slidesGrid=t.slidesGrid.map(j=>j+D)}if(c!==l&&t.emit("slidesLengthChange"),b.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==f&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!s.cssMode&&(s.effect==="slide"||s.effect==="fade")){const T=`${s.containerModifierClass}backface-hidden`,D=t.el.classList.contains(T);c<=s.maxBackfaceHiddenSlides?D||t.el.classList.add(T):D&&t.el.classList.remove(T)}}function cM(t){const e=this,s=[],a=e.virtual&&e.params.virtual.enabled;let n=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=u=>a?e.slides[e.getSlideIndexByData(u)]:e.slides[u];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(u=>{s.push(u)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const u=e.activeIndex+r;if(u>e.slides.length&&!a)break;s.push(o(u))}else s.push(o(e.activeIndex));for(r=0;r<s.length;r+=1)if(typeof s[r]<"u"){const u=s[r].offsetHeight;n=u>n?u:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function bM(){const t=this,e=t.slides,s=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let a=0;a<e.length;a+=1)e[a].swiperSlideOffset=(t.isHorizontal()?e[a].offsetLeft:e[a].offsetTop)-s-t.cssOverflowAdjustment()}const V0=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function pM(t=this&&this.translate||0){const e=this,s=e.params,{slides:a,rtlTranslate:n,snapGrid:r}=e;if(a.length===0)return;typeof a[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-t;n&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let u=s.spaceBetween;typeof u=="string"&&u.indexOf("%")>=0?u=parseFloat(u.replace("%",""))/100*e.size:typeof u=="string"&&(u=parseFloat(u));for(let l=0;l<a.length;l+=1){const d=a[l];let c=d.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(c-=a[0].swiperSlideOffset);const b=(o+(s.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+u),p=(o-r[0]+(s.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+u),m=-(o-c),g=m+e.slidesSizesGrid[l],h=m>=0&&m<=e.size-e.slidesSizesGrid[l],y=m>=0&&m<e.size-1||g>1&&g<=e.size||m<=0&&g>=e.size;y&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(l)),V0(d,y,s.slideVisibleClass),V0(d,h,s.slideFullyVisibleClass),d.progress=n?-b:b,d.originalProgress=n?-p:p}}function mM(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const s=e.params,a=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:o,progressLoop:u}=e;const l=r,d=o;if(a===0)n=0,r=!0,o=!0;else{n=(t-e.minTranslate())/a;const c=Math.abs(t-e.minTranslate())<1,b=Math.abs(t-e.maxTranslate())<1;r=c||n<=0,o=b||n>=1,c&&(n=0),b&&(n=1)}if(s.loop){const c=e.getSlideIndexByData(0),b=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[c],m=e.slidesGrid[b],g=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(t);h>=p?u=(h-p)/g:u=(h+g-m)/g,u>1&&(u-=1)}Object.assign(e,{progress:n,progressLoop:u,isBeginning:r,isEnd:o}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&e.updateSlidesProgress(t),r&&!l&&e.emit("reachBeginning toEdge"),o&&!d&&e.emit("reachEnd toEdge"),(l&&!r||d&&!o)&&e.emit("fromEdge"),e.emit("progress",n)}const lu=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function fM(){const t=this,{slides:e,params:s,slidesEl:a,activeIndex:n}=t,r=t.virtual&&s.virtual.enabled,o=t.grid&&s.grid&&s.grid.rows>1,u=b=>is(a,`.${s.slideClass}${b}, swiper-slide${b}`)[0];let l,d,c;if(r)if(s.loop){let b=n-t.virtual.slidesBefore;b<0&&(b=t.virtual.slides.length+b),b>=t.virtual.slides.length&&(b-=t.virtual.slides.length),l=u(`[data-swiper-slide-index="${b}"]`)}else l=u(`[data-swiper-slide-index="${n}"]`);else o?(l=e.find(b=>b.column===n),c=e.find(b=>b.column===n+1),d=e.find(b=>b.column===n-1)):l=e[n];l&&(o||(c=iM(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=e[0]),d=eM(l,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(b=>{lu(b,b===l,s.slideActiveClass),lu(b,b===c,s.slideNextClass),lu(b,b===d,s.slidePrevClass)}),t.emitSlidesClasses()}const uo=(t,e)=>{if(!t||t.destroyed||!t.params)return;const s=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,a=e.closest(s());if(a){let n=a.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(a.shadowRoot?n=a.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{a.shadowRoot&&(n=a.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},uu=(t,e)=>{if(!t.slides[e])return;const s=t.slides[e].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},fd=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const s=t.slides.length;if(!s||!e||e<0)return;e=Math.min(e,s);const a=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=n,u=[o-e];u.push(...Array.from({length:e}).map((l,d)=>o+a+d)),t.slides.forEach((l,d)=>{u.includes(l.column)&&uu(t,d)});return}const r=n+a-1;if(t.params.rewind||t.params.loop)for(let o=n-e;o<=r+e;o+=1){const u=(o%s+s)%s;(u<n||u>r)&&uu(t,u)}else for(let o=Math.max(n-e,0);o<=Math.min(r+e,s-1);o+=1)o!==n&&(o>r||o<n)&&uu(t,o)};function vM(t){const{slidesGrid:e,params:s}=t,a=t.rtlTranslate?t.translate:-t.translate;let n;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?a>=e[r]&&a<e[r+1]-(e[r+1]-e[r])/2?n=r:a>=e[r]&&a<e[r+1]&&(n=r+1):a>=e[r]&&(n=r);return s.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function gM(t){const e=this,s=e.rtlTranslate?e.translate:-e.translate,{snapGrid:a,params:n,activeIndex:r,realIndex:o,snapIndex:u}=e;let l=t,d;const c=m=>{let g=m-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof l>"u"&&(l=vM(e)),a.indexOf(s)>=0)d=a.indexOf(s);else{const m=Math.min(n.slidesPerGroupSkip,l);d=m+Math.floor((l-m)/n.slidesPerGroup)}if(d>=a.length&&(d=a.length-1),l===r&&!e.params.loop){d!==u&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(l===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}const b=e.grid&&n.grid&&n.grid.rows>1;let p;if(e.virtual&&n.virtual.enabled&&n.loop)p=c(l);else if(b){const m=e.slides.find(h=>h.column===l);let g=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(m),0)),p=Math.floor(g/n.grid.rows)}else if(e.slides[l]){const m=e.slides[l].getAttribute("data-swiper-slide-index");m?p=parseInt(m,10):p=l}else p=l;Object.assign(e,{previousSnapIndex:u,snapIndex:d,previousRealIndex:o,realIndex:p,previousIndex:r,activeIndex:l}),e.initialized&&fd(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function _M(t,e){const s=this,a=s.params;let n=t.closest(`.${a.slideClass}, swiper-slide`);!n&&s.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(u=>{!n&&u.matches&&u.matches(`.${a.slideClass}, swiper-slide`)&&(n=u)});let r=!1,o;if(n){for(let u=0;u<s.slides.length;u+=1)if(s.slides[u]===n){r=!0,o=u;break}}if(n&&r)s.clickedSlide=n,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=o;else{s.clickedSlide=void 0,s.clickedIndex=void 0;return}a.slideToClickedSlide&&s.clickedIndex!==void 0&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}var hM={updateSize:uM,updateSlides:dM,updateAutoHeight:cM,updateSlidesOffset:bM,updateSlidesProgress:pM,updateProgress:mM,updateSlidesClasses:fM,updateActiveIndex:gM,updateClickedSlide:_M};function yM(t=this.isHorizontal()?"x":"y"){const e=this,{params:s,rtlTranslate:a,translate:n,wrapperEl:r}=e;if(s.virtualTranslate)return a?-n:n;if(s.cssMode)return n;let o=ZE(r,t);return o+=e.cssOverflowAdjustment(),a&&(o=-o),o||0}function kM(t,e){const s=this,{rtlTranslate:a,params:n,wrapperEl:r,progress:o}=s;let u=0,l=0;const d=0;s.isHorizontal()?u=a?-t:t:l=t,n.roundLengths&&(u=Math.floor(u),l=Math.floor(l)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?u:l,n.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-u:-l:n.virtualTranslate||(s.isHorizontal()?u-=s.cssOverflowAdjustment():l-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${u}px, ${l}px, ${d}px)`);let c;const b=s.maxTranslate()-s.minTranslate();b===0?c=0:c=(t-s.minTranslate())/b,c!==o&&s.updateProgress(t),s.emit("setTranslate",s.translate,e)}function wM(){return-this.snapGrid[0]}function SM(){return-this.snapGrid[this.snapGrid.length-1]}function AM(t=0,e=this.params.speed,s=!0,a=!0,n){const r=this,{params:o,wrapperEl:u}=r;if(r.animating&&o.preventInteractionOnTransition)return!1;const l=r.minTranslate(),d=r.maxTranslate();let c;if(a&&t>l?c=l:a&&t<d?c=d:c=t,r.updateProgress(c),o.cssMode){const b=r.isHorizontal();if(e===0)u[b?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return E3({swiper:r,targetPosition:-c,side:b?"left":"top"}),!0;u.scrollTo({[b?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",e,n),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(p){!r||r.destroyed||p.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var zM={getTranslate:yM,setTranslate:kM,minTranslate:wM,maxTranslate:SM,translateTo:AM};function TM(t,e){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${t}ms`,s.wrapperEl.style.transitionDelay=t===0?"0ms":""),s.emit("setTransition",t,e)}function L3({swiper:t,runCallbacks:e,direction:s,step:a}){const{activeIndex:n,previousIndex:r}=t;let o=s;o||(n>r?o="next":n<r?o="prev":o="reset"),t.emit(`transition${a}`),e&&o==="reset"?t.emit(`slideResetTransition${a}`):e&&n!==r&&(t.emit(`slideChangeTransition${a}`),o==="next"?t.emit(`slideNextTransition${a}`):t.emit(`slidePrevTransition${a}`))}function PM(t=!0,e){const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),L3({swiper:s,runCallbacks:t,direction:e,step:"Start"}))}function jM(t=!0,e){const s=this,{params:a}=s;s.animating=!1,!a.cssMode&&(s.setTransition(0),L3({swiper:s,runCallbacks:t,direction:e,step:"End"}))}var CM={setTransition:TM,transitionStart:PM,transitionEnd:jM};function EM(t=0,e,s=!0,a,n){typeof t=="string"&&(t=parseInt(t,10));const r=this;let o=t;o<0&&(o=0);const{params:u,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:b,rtlTranslate:p,wrapperEl:m,enabled:g}=r;if(!g&&!a&&!n||r.destroyed||r.animating&&u.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=r.params.speed);const h=Math.min(r.params.slidesPerGroupSkip,o);let y=h+Math.floor((o-h)/r.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const f=-l[y];if(u.normalizeSlideIndex)for(let A=0;A<d.length;A+=1){const w=-Math.floor(f*100),I=Math.floor(d[A]*100),T=Math.floor(d[A+1]*100);typeof d[A+1]<"u"?w>=I&&w<T-(T-I)/2?o=A:w>=I&&w<T&&(o=A+1):w>=I&&(o=A)}if(r.initialized&&o!==b&&(!r.allowSlideNext&&(p?f>r.translate&&f>r.minTranslate():f<r.translate&&f<r.minTranslate())||!r.allowSlidePrev&&f>r.translate&&f>r.maxTranslate()&&(b||0)!==o))return!1;o!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(f);let v;o>b?v="next":o<b?v="prev":v="reset";const _=r.virtual&&r.params.virtual.enabled;if(!(_&&n)&&(p&&-f===r.translate||!p&&f===r.translate))return r.updateActiveIndex(o),u.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),u.effect!=="slide"&&r.setTranslate(f),v!=="reset"&&(r.transitionStart(s,v),r.transitionEnd(s,v)),!1;if(u.cssMode){const A=r.isHorizontal(),w=p?f:-f;if(e===0)_&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),_&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[A?"scrollLeft":"scrollTop"]=w})):m[A?"scrollLeft":"scrollTop"]=w,_&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return E3({swiper:r,targetPosition:w,side:A?"left":"top"}),!0;m.scrollTo({[A?"left":"top"]:w,behavior:"smooth"})}return!0}const z=D3().isSafari;return _&&!n&&z&&r.isElement&&r.virtual.update(!1,!1,o),r.setTransition(e),r.setTranslate(f),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,a),r.transitionStart(s,v),e===0?r.transitionEnd(s,v):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(w){!r||r.destroyed||w.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,v))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function MM(t=0,e,s=!0,a){typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let o=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)o=o+n.virtual.slidesBefore;else{let u;if(r){const h=o*n.params.grid.rows;u=n.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===h).column}else u=n.getSlideIndexByData(o);const l=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:d,slidesOffsetBefore:c,slidesOffsetAfter:b}=n.params,p=d||!!c||!!b;let m=n.params.slidesPerView;m==="auto"?m=n.slidesPerViewDynamic():(m=Math.ceil(parseFloat(n.params.slidesPerView,10)),p&&m%2===0&&(m=m+1));let g=l-u<m;if(p&&(g=g||u<Math.ceil(m/2)),a&&p&&n.params.slidesPerView!=="auto"&&!r&&(g=!1),g){const h=p?u<n.activeIndex?"prev":"next":u-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?u+1:u-l+1,slideRealIndex:h==="next"?n.realIndex:void 0})}if(r){const h=o*n.params.grid.rows;o=n.slides.find(y=>y.getAttribute("data-swiper-slide-index")*1===h).column}else o=n.getSlideIndexByData(o)}return requestAnimationFrame(()=>{n.slideTo(o,e,s,a)}),n}function xM(t,e=!0,s){const a=this,{enabled:n,params:r,animating:o}=a;if(!n||a.destroyed)return a;typeof t>"u"&&(t=a.params.speed);let u=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(u=Math.max(a.slidesPerViewDynamic("current",!0),1));const l=a.activeIndex<r.slidesPerGroupSkip?1:u,d=a.virtual&&r.virtual.enabled;if(r.loop){if(o&&!d&&r.loopPreventsSliding)return!1;if(a.loopFix({direction:"next"}),a._clientLeft=a.wrapperEl.clientLeft,a.activeIndex===a.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{a.slideTo(a.activeIndex+l,t,e,s)}),!0}return r.rewind&&a.isEnd?a.slideTo(0,t,e,s):a.slideTo(a.activeIndex+l,t,e,s)}function IM(t,e=!0,s){const a=this,{params:n,snapGrid:r,slidesGrid:o,rtlTranslate:u,enabled:l,animating:d}=a;if(!l||a.destroyed)return a;typeof t>"u"&&(t=a.params.speed);const c=a.virtual&&n.virtual.enabled;if(n.loop){if(d&&!c&&n.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}const b=u?a.translate:-a.translate;function p(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const m=p(b),g=r.map(v=>p(v)),h=n.freeMode&&n.freeMode.enabled;let y=r[g.indexOf(m)-1];if(typeof y>"u"&&(n.cssMode||h)){let v;r.forEach((_,k)=>{m>=_&&(v=k)}),typeof v<"u"&&(y=h?r[v]:r[v>0?v-1:v])}let f=0;if(typeof y<"u"&&(f=o.indexOf(y),f<0&&(f=a.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(f=f-a.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),n.rewind&&a.isBeginning){const v=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(v,t,e,s)}else if(n.loop&&a.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{a.slideTo(f,t,e,s)}),!0;return a.slideTo(f,t,e,s)}function DM(t,e=!0,s){const a=this;if(!a.destroyed)return typeof t>"u"&&(t=a.params.speed),a.slideTo(a.activeIndex,t,e,s)}function LM(t,e=!0,s,a=.5){const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const o=Math.min(n.params.slidesPerGroupSkip,r),u=o+Math.floor((r-o)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[u]){const d=n.snapGrid[u],c=n.snapGrid[u+1];l-d>(c-d)*a&&(r+=n.params.slidesPerGroup)}else{const d=n.snapGrid[u-1],c=n.snapGrid[u];l-d<=(c-d)*a&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,s)}function RM(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:s}=t,a=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.getSlideIndexWhenGrid(t.clickedIndex),r;const o=t.isElement?"swiper-slide":`.${e.slideClass}`,u=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(r):n>(u?(t.slides.length-a)/2-(t.params.grid.rows-1):t.slides.length-a)?(t.loopFix(),n=t.getSlideIndex(is(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),Uo(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var OM={slideTo:EM,slideToLoop:MM,slideNext:xM,slidePrev:IM,slideReset:DM,slideToClosest:LM,slideToClickedSlide:RM};function NM(t,e){const s=this,{params:a,slidesEl:n}=s;if(!a.loop||s.virtual&&s.params.virtual.enabled)return;const r=()=>{is(n,`.${a.slideClass}, swiper-slide`).forEach((g,h)=>{g.setAttribute("data-swiper-slide-index",h)})},o=()=>{const m=is(n,`.${a.slideBlankClass}`);m.forEach(g=>{g.remove()}),m.length>0&&(s.recalcSlides(),s.updateSlides())},u=s.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||u)&&o();const l=a.slidesPerGroup*(u?a.grid.rows:1),d=s.slides.length%l!==0,c=u&&s.slides.length%a.grid.rows!==0,b=m=>{for(let g=0;g<m;g+=1){const h=s.isElement?Wo("swiper-slide",[a.slideBlankClass]):Wo("div",[a.slideClass,a.slideBlankClass]);s.slidesEl.append(h)}};if(d){if(a.loopAddBlankSlides){const m=l-s.slides.length%l;b(m),s.recalcSlides(),s.updateSlides()}else Ho("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(c){if(a.loopAddBlankSlides){const m=a.grid.rows-s.slides.length%a.grid.rows;b(m),s.recalcSlides(),s.updateSlides()}else Ho("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();const p=a.centeredSlides||!!a.slidesOffsetBefore||!!a.slidesOffsetAfter;s.loopFix({slideRealIndex:t,direction:p?void 0:"next",initial:e})}function BM({slideRealIndex:t,slideTo:e=!0,direction:s,setTranslate:a,activeSlideIndex:n,initial:r,byController:o,byMousewheel:u}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:b,slidesEl:p,params:m}=l,{centeredSlides:g,slidesOffsetBefore:h,slidesOffsetAfter:y,initialSlide:f}=m,v=g||!!h||!!y;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&m.virtual.enabled){e&&(!v&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):v&&l.snapIndex<m.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=b,l.emit("loopFix");return}let _=m.slidesPerView;_==="auto"?_=l.slidesPerViewDynamic():(_=Math.ceil(parseFloat(m.slidesPerView,10)),v&&_%2===0&&(_=_+1));const k=m.slidesPerGroupAuto?_:m.slidesPerGroup;let S=v?Math.max(k,Math.ceil(_/2)):k;S%k!==0&&(S+=k-S%k),S+=m.loopAdditionalSlides,l.loopedSlides=S;const z=l.grid&&m.grid&&m.grid.rows>1;d.length<_+S||l.params.effect==="cards"&&d.length<_+S*2?Ho("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):z&&m.grid.fill==="row"&&Ho("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const A=[],w=[],I=z?Math.ceil(d.length/m.grid.rows):d.length,T=r&&I-f<_&&!v;let D=T?f:l.activeIndex;typeof n>"u"?n=l.getSlideIndex(d.find(tt=>tt.classList.contains(m.slideActiveClass))):D=n;const j=s==="next"||!s,B=s==="prev"||!s;let H=0,st=0;const rt=(z?d[n].column:n)+(v&&typeof a>"u"?-_/2+.5:0);if(rt<S){H=Math.max(S-rt,k);for(let tt=0;tt<S-rt;tt+=1){const ct=tt-Math.floor(tt/I)*I;if(z){const pt=I-ct-1;for(let St=d.length-1;St>=0;St-=1)d[St].column===pt&&A.push(St)}else A.push(I-ct-1)}}else if(rt+_>I-S){st=Math.max(rt-(I-S*2),k),T&&(st=Math.max(st,_-I+f+1));for(let tt=0;tt<st;tt+=1){const ct=tt-Math.floor(tt/I)*I;z?d.forEach((pt,St)=>{pt.column===ct&&w.push(St)}):w.push(ct)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&d.length<_+S*2&&(w.includes(n)&&w.splice(w.indexOf(n),1),A.includes(n)&&A.splice(A.indexOf(n),1)),B&&A.forEach(tt=>{d[tt].swiperLoopMoveDOM=!0,p.prepend(d[tt]),d[tt].swiperLoopMoveDOM=!1}),j&&w.forEach(tt=>{d[tt].swiperLoopMoveDOM=!0,p.append(d[tt]),d[tt].swiperLoopMoveDOM=!1}),l.recalcSlides(),m.slidesPerView==="auto"?l.updateSlides():z&&(A.length>0&&B||w.length>0&&j)&&l.slides.forEach((tt,ct)=>{l.grid.updateSlide(ct,tt,l.slides)}),m.watchSlidesProgress&&l.updateSlidesOffset(),e){if(A.length>0&&B){if(typeof t>"u"){const tt=l.slidesGrid[D],pt=l.slidesGrid[D+H]-tt;u?l.setTranslate(l.translate-pt):(l.slideTo(D+Math.ceil(H),0,!1,!0),a&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-pt,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-pt))}else if(a){const tt=z?A.length/m.grid.rows:A.length;l.slideTo(l.activeIndex+tt,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&j)if(typeof t>"u"){const tt=l.slidesGrid[D],pt=l.slidesGrid[D-st]-tt;u?l.setTranslate(l.translate-pt):(l.slideTo(D-st,0,!1,!0),a&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-pt,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-pt))}else{const tt=z?w.length/m.grid.rows:w.length;l.slideTo(l.activeIndex-tt,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=b,l.controller&&l.controller.control&&!o){const tt={slideRealIndex:t,direction:s,setTranslate:a,activeSlideIndex:n,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(ct=>{!ct.destroyed&&ct.params.loop&&ct.loopFix({...tt,slideTo:ct.params.slidesPerView===m.slidesPerView?e:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...tt,slideTo:l.controller.control.params.slidesPerView===m.slidesPerView?e:!1})}l.emit("loopFix")}function FM(){const t=this,{params:e,slidesEl:s}=t;if(!e.loop||!s||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const a=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;a[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),a.forEach(n=>{s.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var GM={loopCreate:NM,loopFix:BM,loopDestroy:FM};function VM(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const s=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function qM(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var UM={setGrabCursor:VM,unsetGrabCursor:qM};function HM(t,e=this){function s(a){if(!a||a===Pa()||a===Je())return null;a.assignedSlot&&(a=a.assignedSlot);const n=a.closest(t);return!n&&!a.getRootNode?null:n||s(a.getRootNode().host)}return s(e)}function q0(t,e,s){const a=Je(),{params:n}=t,r=n.edgeSwipeDetection,o=n.edgeSwipeThreshold;return r&&(s<=o||s>=a.innerWidth-o)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function WM(t){const e=this,s=Pa();let a=t;a.originalEvent&&(a=a.originalEvent);const n=e.touchEventsData;if(a.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==a.pointerId)return;n.pointerId=a.pointerId}else a.type==="touchstart"&&a.targetTouches.length===1&&(n.touchId=a.targetTouches[0].identifier);if(a.type==="touchstart"){q0(e,a,a.targetTouches[0].pageX);return}const{params:r,touches:o,enabled:u}=e;if(!u||!r.simulateTouch&&a.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let l=a.target;if(r.touchEventsTarget==="wrapper"&&!tM(l,e.wrapperEl)||"which"in a&&a.which===3||"button"in a&&a.button>0||n.isTouched&&n.isMoved)return;const d=!!r.noSwipingClass&&r.noSwipingClass!=="",c=a.composedPath?a.composedPath():a.path;d&&a.target&&a.target.shadowRoot&&c&&(l=c[0]);const b=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(a.target&&a.target.shadowRoot);if(r.noSwiping&&(p?HM(b,l):l.closest(b))){e.allowClick=!0;return}if(r.swipeHandler&&!l.closest(r.swipeHandler))return;o.currentX=a.pageX,o.currentY=a.pageY;const m=o.currentX,g=o.currentY;if(!q0(e,a,m))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=g,n.touchStartTime=ji(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let h=!0;l.matches(n.focusableElements)&&(h=!1,l.nodeName==="SELECT"&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==l&&(a.pointerType==="mouse"||a.pointerType!=="mouse"&&!l.matches(n.focusableElements))&&s.activeElement.blur();const y=h&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||y)&&!l.isContentEditable&&a.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",a)}function KM(t){const e=Pa(),s=this,a=s.touchEventsData,{params:n,touches:r,rtlTranslate:o,enabled:u}=s;if(!u||!n.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(a.touchId!==null||l.pointerId!==a.pointerId))return;let d;if(l.type==="touchmove"){if(d=[...l.changedTouches].find(S=>S.identifier===a.touchId),!d||d.identifier!==a.touchId)return}else d=l;if(!a.isTouched){a.startMoving&&a.isScrolling&&s.emit("touchMoveOpposite",l);return}const c=d.pageX,b=d.pageY;if(l.preventedByNestedSwiper){r.startX=c,r.startY=b;return}if(!s.allowTouchMove){l.target.matches(a.focusableElements)||(s.allowClick=!1),a.isTouched&&(Object.assign(r,{startX:c,startY:b,currentX:c,currentY:b}),a.touchStartTime=ji());return}if(n.touchReleaseOnEdges&&!n.loop)if(s.isVertical()){if(b<r.startY&&s.translate<=s.maxTranslate()||b>r.startY&&s.translate>=s.minTranslate()){a.isTouched=!1,a.isMoved=!1;return}}else{if(o&&(c>r.startX&&-s.translate<=s.maxTranslate()||c<r.startX&&-s.translate>=s.minTranslate()))return;if(!o&&(c<r.startX&&s.translate<=s.maxTranslate()||c>r.startX&&s.translate>=s.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(a.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(a.focusableElements)){a.isMoved=!0,s.allowClick=!1;return}a.allowTouchCallbacks&&s.emit("touchMove",l),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=b;const p=r.currentX-r.startX,m=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(p**2+m**2)<s.params.threshold)return;if(typeof a.isScrolling>"u"){let S;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?a.isScrolling=!1:p*p+m*m>=25&&(S=Math.atan2(Math.abs(m),Math.abs(p))*180/Math.PI,a.isScrolling=s.isHorizontal()?S>n.touchAngle:90-S>n.touchAngle)}if(a.isScrolling&&s.emit("touchMoveOpposite",l),typeof a.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(a.startMoving=!0),a.isScrolling||l.type==="touchmove"&&a.preventTouchMoveFromPointerMove){a.isTouched=!1;return}if(!a.startMoving)return;s.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation();let g=s.isHorizontal()?p:m,h=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),h=Math.abs(h)*(o?1:-1)),r.diff=g,g*=n.touchRatio,o&&(g=-g,h=-h);const y=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=h>0?"prev":"next";const f=s.params.loop&&!n.cssMode,v=s.touchesDirection==="next"&&s.allowSlideNext||s.touchesDirection==="prev"&&s.allowSlidePrev;if(!a.isMoved){if(f&&v&&s.loopFix({direction:s.swipeDirection}),a.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(S)}a.allowMomentumBounce=!1,n.grabCursor&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",l)}if(new Date().getTime(),n._loopSwapReset!==!1&&a.isMoved&&a.allowThresholdMove&&y!==s.touchesDirection&&f&&v&&Math.abs(g)>=1){Object.assign(r,{startX:c,startY:b,currentX:c,currentY:b,startTranslate:a.currentTranslate}),a.loopSwapReset=!0,a.startTranslate=a.currentTranslate;return}s.emit("sliderMove",l),a.isMoved=!0,a.currentTranslate=g+a.startTranslate;let _=!0,k=n.resistanceRatio;if(n.touchReleaseOnEdges&&(k=0),g>0?(f&&v&&a.allowThresholdMove&&a.currentTranslate>(n.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-(n.slidesPerView!=="auto"&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),a.currentTranslate>s.minTranslate()&&(_=!1,n.resistance&&(a.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+a.startTranslate+g)**k))):g<0&&(f&&v&&a.allowThresholdMove&&a.currentTranslate<(n.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+(n.slidesPerView!=="auto"&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-(n.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),a.currentTranslate<s.maxTranslate()&&(_=!1,n.resistance&&(a.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-a.startTranslate-g)**k))),_&&(l.preventedByNestedSwiper=!0),!s.allowSlideNext&&s.swipeDirection==="next"&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!s.allowSlidePrev&&s.swipeDirection==="prev"&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),!s.allowSlidePrev&&!s.allowSlideNext&&(a.currentTranslate=a.startTranslate),n.threshold>0)if(Math.abs(g)>n.threshold||a.allowThresholdMove){if(!a.allowThresholdMove){a.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,a.currentTranslate=a.startTranslate,r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{a.currentTranslate=a.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(a.currentTranslate),s.setTranslate(a.currentTranslate))}function $M(t){const e=this,s=e.touchEventsData;let a=t;a.originalEvent&&(a=a.originalEvent);let n;if(a.type==="touchend"||a.type==="touchcancel"){if(n=[...a.changedTouches].find(S=>S.identifier===s.touchId),!n||n.identifier!==s.touchId)return}else{if(s.touchId!==null||a.pointerId!==s.pointerId)return;n=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&!(["pointercancel","contextmenu"].includes(a.type)&&(e.browser.isSafari||e.browser.isWebView)))return;s.pointerId=null,s.touchId=null;const{params:o,touches:u,rtlTranslate:l,slidesGrid:d,enabled:c}=e;if(!c||!o.simulateTouch&&a.pointerType==="mouse")return;if(s.allowTouchCallbacks&&e.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched){s.isMoved&&o.grabCursor&&e.setGrabCursor(!1),s.isMoved=!1,s.startMoving=!1;return}o.grabCursor&&s.isMoved&&s.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const b=ji(),p=b-s.touchStartTime;if(e.allowClick){const S=a.path||a.composedPath&&a.composedPath();e.updateClickedSlide(S&&S[0]||a.target,S),e.emit("tap click",a),p<300&&b-s.lastClickTime<300&&e.emit("doubleTap doubleClick",a)}if(s.lastClickTime=ji(),Uo(()=>{e.destroyed||(e.allowClick=!0)}),!s.isTouched||!s.isMoved||!e.swipeDirection||u.diff===0&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset){s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;return}s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;let m;if(o.followFinger?m=l?e.translate:-e.translate:m=-s.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const g=m>=-e.maxTranslate()&&!e.params.loop;let h=0,y=e.slidesSizesGrid[0];for(let S=0;S<d.length;S+=S<o.slidesPerGroupSkip?1:o.slidesPerGroup){const z=S<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;typeof d[S+z]<"u"?(g||m>=d[S]&&m<d[S+z])&&(h=S,y=d[S+z]-d[S]):(g||m>=d[S])&&(h=S,y=d[d.length-1]-d[d.length-2])}let f=null,v=null;o.rewind&&(e.isBeginning?v=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(f=0));const _=(m-d[h])/y,k=h<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(p>o.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(_>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?f:h+k):e.slideTo(h)),e.swipeDirection==="prev"&&(_>1-o.longSwipesRatio?e.slideTo(h+k):v!==null&&_<0&&Math.abs(_)>o.longSwipesRatio?e.slideTo(v):e.slideTo(h))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(a.target===e.navigation.nextEl||a.target===e.navigation.prevEl)?a.target===e.navigation.nextEl?e.slideTo(h+k):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(f!==null?f:h+k),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:h))}}function U0(){const t=this,{params:e,el:s}=t;if(s&&s.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:n,snapGrid:r}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const u=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!u?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=a,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function YM(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function XM(){const t=this,{wrapperEl:e,rtlTranslate:s,enabled:a}=t;if(!a)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(s?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function ZM(t){const e=this;uo(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function QM(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const R3=(t,e)=>{const s=Pa(),{params:a,el:n,wrapperEl:r,device:o}=t,u=!!a.nested,l=e==="on"?"addEventListener":"removeEventListener",d=e;!n||typeof n=="string"||(s[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:u}),n[l]("touchstart",t.onTouchStart,{passive:!1}),n[l]("pointerdown",t.onTouchStart,{passive:!1}),s[l]("touchmove",t.onTouchMove,{passive:!1,capture:u}),s[l]("pointermove",t.onTouchMove,{passive:!1,capture:u}),s[l]("touchend",t.onTouchEnd,{passive:!0}),s[l]("pointerup",t.onTouchEnd,{passive:!0}),s[l]("pointercancel",t.onTouchEnd,{passive:!0}),s[l]("touchcancel",t.onTouchEnd,{passive:!0}),s[l]("pointerout",t.onTouchEnd,{passive:!0}),s[l]("pointerleave",t.onTouchEnd,{passive:!0}),s[l]("contextmenu",t.onTouchEnd,{passive:!0}),(a.preventClicks||a.preventClicksPropagation)&&n[l]("click",t.onClick,!0),a.cssMode&&r[l]("scroll",t.onScroll),a.updateOnWindowResize?t[d](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",U0,!0):t[d]("observerUpdate",U0,!0),n[l]("load",t.onLoad,{capture:!0}))};function JM(){const t=this,{params:e}=t;t.onTouchStart=WM.bind(t),t.onTouchMove=KM.bind(t),t.onTouchEnd=$M.bind(t),t.onDocumentTouchStart=QM.bind(t),e.cssMode&&(t.onScroll=XM.bind(t)),t.onClick=YM.bind(t),t.onLoad=ZM.bind(t),R3(t,"on")}function tx(){R3(this,"off")}var ex={attachEvents:JM,detachEvents:tx};const H0=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ix(){const t=this,{realIndex:e,initialized:s,params:a,el:n}=t,r=a.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const o=Pa(),u=a.breakpointsBase==="window"||!a.breakpointsBase?a.breakpointsBase:"container",l=["window","container"].includes(a.breakpointsBase)||!a.breakpointsBase?t.el:o.querySelector(a.breakpointsBase),d=t.getBreakpoint(r,u,l);if(!d||t.currentBreakpoint===d)return;const b=(d in r?r[d]:void 0)||t.originalParams,p=H0(t,a),m=H0(t,b),g=t.params.grabCursor,h=b.grabCursor,y=a.enabled;p&&!m?(n.classList.remove(`${a.containerModifierClass}grid`,`${a.containerModifierClass}grid-column`),t.emitContainerClasses()):!p&&m&&(n.classList.add(`${a.containerModifierClass}grid`),(b.grid.fill&&b.grid.fill==="column"||!b.grid.fill&&a.grid.fill==="column")&&n.classList.add(`${a.containerModifierClass}grid-column`),t.emitContainerClasses()),g&&!h?t.unsetGrabCursor():!g&&h&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(z=>{if(typeof b[z]>"u")return;const A=a[z]&&a[z].enabled,w=b[z]&&b[z].enabled;A&&!w&&t[z].disable(),!A&&w&&t[z].enable()});const f=b.direction&&b.direction!==a.direction,v=a.loop&&(b.slidesPerView!==a.slidesPerView||f),_=a.loop;f&&s&&t.changeDirection(),vi(t.params,b);const k=t.params.enabled,S=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!k?t.disable():!y&&k&&t.enable(),t.currentBreakpoint=d,t.emit("_beforeBreakpoint",b),s&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!_&&S?(t.loopCreate(e),t.updateSlides()):_&&!S&&t.loopDestroy()),t.emit("breakpoint",b)}function sx(t,e="window",s){if(!t||e==="container"&&!s)return;let a=!1;const n=Je(),r=e==="window"?n.innerHeight:s.clientHeight,o=Object.keys(t).map(u=>{if(typeof u=="string"&&u.indexOf("@")===0){const l=parseFloat(u.substr(1));return{value:r*l,point:u}}return{value:u,point:u}});o.sort((u,l)=>parseInt(u.value,10)-parseInt(l.value,10));for(let u=0;u<o.length;u+=1){const{point:l,value:d}=o[u];e==="window"?n.matchMedia(`(min-width: ${d}px)`).matches&&(a=l):d<=s.clientWidth&&(a=l)}return a||"max"}var ax={setBreakpoint:ix,getBreakpoint:sx};function nx(t,e){const s=[];return t.forEach(a=>{typeof a=="object"?Object.keys(a).forEach(n=>{a[n]&&s.push(e+n)}):typeof a=="string"&&s.push(e+a)}),s}function rx(){const t=this,{classNames:e,params:s,rtl:a,el:n,device:r}=t,o=nx(["initialized",s.direction,{"free-mode":t.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&s.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);e.push(...o),n.classList.add(...e),t.emitContainerClasses()}function ox(){const t=this,{el:e,classNames:s}=t;!e||typeof e=="string"||(e.classList.remove(...s),t.emitContainerClasses())}var lx={addClasses:rx,removeClasses:ox};function ux(){const t=this,{isLocked:e,params:s}=t,{slidesOffsetBefore:a}=s;if(a){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+a*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;s.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),s.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var dx={checkOverflow:ux},vd={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function cx(t,e){return function(a={}){const n=Object.keys(a)[0],r=a[n];if(typeof r!="object"||r===null){vi(e,a);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){vi(e,a);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),vi(e,a)}}const du={eventsEmitter:lM,update:hM,translate:zM,transition:CM,slide:OM,loop:GM,grabCursor:UM,events:ex,breakpoints:ax,checkOverflow:dx,classes:lx},cu={};let hl=class ms{constructor(...e){let s,a;e.length===1&&e[0].constructor&&Object.prototype.toString.call(e[0]).slice(8,-1)==="Object"?a=e[0]:[s,a]=e,a||(a={}),a=vi({},a),s&&!a.el&&(a.el=s);const n=Pa();if(a.el&&typeof a.el=="string"&&n.querySelectorAll(a.el).length>1){const l=[];return n.querySelectorAll(a.el).forEach(d=>{const c=vi({},a,{el:d});l.push(new ms(c))}),l}const r=this;r.__swiper__=!0,r.support=x3(),r.device=I3({userAgent:a.userAgent}),r.browser=D3(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],a.modules&&Array.isArray(a.modules)&&r.modules.push(...a.modules);const o={};r.modules.forEach(l=>{l({params:a,swiper:r,extendParams:cx(a,o),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const u=vi({},vd,o);return r.params=vi({},u,cu,a),r.originalParams=vi({},r.params),r.passedParams=vi({},a),r.params&&r.params.on&&Object.keys(r.params.on).forEach(l=>{r.on(l,r.params.on[l])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:s,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:s,params:a}=this,n=is(s,`.${a.slideClass}, swiper-slide`),r=Ko(n[0]);return Ko(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(s=>s.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:s,params:a}=e;e.slides=is(s,`.${a.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,s){const a=this;e=Math.min(Math.max(e,0),1);const n=a.minTranslate(),o=(a.maxTranslate()-n)*e+n;a.translateTo(o,typeof s>"u"?0:s),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=e.el.className.split(" ").filter(a=>a.indexOf("swiper")===0||a.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",s.join(" "))}getSlideClasses(e){const s=this;return s.destroyed?"":e.className.split(" ").filter(a=>a.indexOf("swiper-slide")===0||a.indexOf(s.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=[];e.slides.forEach(a=>{const n=e.getSlideClasses(a);s.push({slideEl:a,classNames:n}),e.emit("_slideClass",a,n)}),e.emit("_slideClasses",s)}slidesPerViewDynamic(e="current",s=!1){const a=this,{params:n,slides:r,slidesGrid:o,slidesSizesGrid:u,size:l,activeIndex:d}=a;let c=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let b=r[d]?Math.ceil(r[d].swiperSlideSize):0,p;for(let m=d+1;m<r.length;m+=1)r[m]&&!p&&(b+=Math.ceil(r[m].swiperSlideSize),c+=1,b>l&&(p=!0));for(let m=d-1;m>=0;m-=1)r[m]&&!p&&(b+=r[m].swiperSlideSize,c+=1,b>l&&(p=!0))}else if(e==="current")for(let b=d+1;b<r.length;b+=1)(s?o[b]+u[b]-o[d]<l:o[b]-o[d]<l)&&(c+=1);else for(let b=d-1;b>=0;b-=1)o[d]-o[b]<l&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:s,params:a}=e;a.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(o=>{o.complete&&uo(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){const o=e.rtlTranslate?e.translate*-1:e.translate,u=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(u),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(a.freeMode&&a.freeMode.enabled&&!a.cssMode)n(),a.autoHeight&&e.updateAutoHeight();else{if((a.slidesPerView==="auto"||a.slidesPerView>1)&&e.isEnd&&!a.centeredSlides){const o=e.virtual&&a.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(o.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}a.watchOverflow&&s!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,s=!0){const a=this,n=a.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(a.el.classList.remove(`${a.params.containerModifierClass}${n}`),a.el.classList.add(`${a.params.containerModifierClass}${e}`),a.emitContainerClasses(),a.params.direction=e,a.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),a.emit("changeDirection"),s&&a.update()),a}changeLanguageDirection(e){const s=this;s.rtl&&e==="rtl"||!s.rtl&&e==="ltr"||(s.rtl=e==="rtl",s.rtlTranslate=s.params.direction==="horizontal"&&s.rtl,s.rtl?(s.el.classList.add(`${s.params.containerModifierClass}rtl`),s.el.dir="rtl"):(s.el.classList.remove(`${s.params.containerModifierClass}rtl`),s.el.dir="ltr"),s.update())}mount(e){const s=this;if(s.mounted)return!0;let a=e||s.params.el;if(typeof a=="string"&&(a=document.querySelector(a)),!a)return!1;a.swiper=s,a.parentNode&&a.parentNode.host&&a.parentNode.host.nodeName===s.params.swiperElementNodeName.toUpperCase()&&(s.isElement=!0);const n=()=>`.${(s.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=a&&a.shadowRoot&&a.shadowRoot.querySelector?a.shadowRoot.querySelector(n()):is(a,n())[0];return!o&&s.params.createElements&&(o=Wo("div",s.params.wrapperClass),a.append(o),is(a,`.${s.params.slideClass}`).forEach(u=>{o.append(u)})),Object.assign(s,{el:a,wrapperEl:o,slidesEl:s.isElement&&!a.parentNode.host.slideSlots?a.parentNode.host:o,hostEl:s.isElement?a.parentNode.host:a,mounted:!0,rtl:a.dir.toLowerCase()==="rtl"||Us(a,"direction")==="rtl",rtlTranslate:s.params.direction==="horizontal"&&(a.dir.toLowerCase()==="rtl"||Us(a,"direction")==="rtl"),wrongRTL:Us(o,"display")==="-webkit-box"}),!0}init(e){const s=this;if(s.initialized||s.mount(e)===!1)return s;s.emit("beforeInit"),s.params.breakpoints&&s.setBreakpoint(),s.addClasses(),s.updateSize(),s.updateSlides(),s.params.watchOverflow&&s.checkOverflow(),s.params.grabCursor&&s.enabled&&s.setGrabCursor(),s.params.loop&&s.virtual&&s.params.virtual.enabled?s.slideTo(s.params.initialSlide+s.virtual.slidesBefore,0,s.params.runCallbacksOnInit,!1,!0):s.slideTo(s.params.initialSlide,0,s.params.runCallbacksOnInit,!1,!0),s.params.loop&&s.loopCreate(void 0,!0),s.attachEvents();const n=[...s.el.querySelectorAll('[loading="lazy"]')];return s.isElement&&n.push(...s.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?uo(s,r):r.addEventListener("load",o=>{uo(s,o.target)})}),fd(s),s.initialized=!0,fd(s),s.emit("init"),s.emit("afterInit"),s}destroy(e=!0,s=!0){const a=this,{params:n,el:r,wrapperEl:o,slides:u}=a;return typeof a.params>"u"||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),n.loop&&a.loopDestroy(),s&&(a.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),o&&o.removeAttribute("style"),u&&u.length&&u.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(l=>{a.off(l)}),e!==!1&&(a.el&&typeof a.el!="string"&&(a.el.swiper=null),YE(a)),a.destroyed=!0),null}static extendDefaults(e){vi(cu,e)}static get extendedDefaults(){return cu}static get defaults(){return vd}static installModule(e){ms.prototype.__modules__||(ms.prototype.__modules__=[]);const s=ms.prototype.__modules__;typeof e=="function"&&s.indexOf(e)<0&&s.push(e)}static use(e){return Array.isArray(e)?(e.forEach(s=>ms.installModule(s)),ms):(ms.installModule(e),ms)}};Object.keys(du).forEach(t=>{Object.keys(du[t]).forEach(e=>{hl.prototype[e]=du[t][e]})});hl.use([rM,oM]);const O3=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function ka(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function sn(t,e){const s=["__proto__","constructor","prototype"];Object.keys(e).filter(a=>s.indexOf(a)<0).forEach(a=>{typeof t[a]>"u"?t[a]=e[a]:ka(e[a])&&ka(t[a])&&Object.keys(e[a]).length>0?e[a].__swiper__?t[a]=e[a]:sn(t[a],e[a]):t[a]=e[a]})}function N3(t={}){return t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function B3(t={}){return t.pagination&&typeof t.pagination.el>"u"}function F3(t={}){return t.scrollbar&&typeof t.scrollbar.el>"u"}function G3(t=""){const e=t.split(" ").map(a=>a.trim()).filter(a=>!!a),s=[];return e.forEach(a=>{s.indexOf(a)<0&&s.push(a)}),s.join(" ")}function bx(t=""){return t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function px({swiper:t,slides:e,passedParams:s,changedParams:a,nextEl:n,prevEl:r,scrollbarEl:o,paginationEl:u}){const l=a.filter(w=>w!=="children"&&w!=="direction"&&w!=="wrapperClass"),{params:d,pagination:c,navigation:b,scrollbar:p,virtual:m,thumbs:g}=t;let h,y,f,v,_,k,S,z;a.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&!s.thumbs.swiper.destroyed&&d.thumbs&&(!d.thumbs.swiper||d.thumbs.swiper.destroyed)&&(h=!0),a.includes("controller")&&s.controller&&s.controller.control&&d.controller&&!d.controller.control&&(y=!0),a.includes("pagination")&&s.pagination&&(s.pagination.el||u)&&(d.pagination||d.pagination===!1)&&c&&!c.el&&(f=!0),a.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&p&&!p.el&&(v=!0),a.includes("navigation")&&s.navigation&&(s.navigation.prevEl||r)&&(s.navigation.nextEl||n)&&(d.navigation||d.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(_=!0);const A=w=>{t[w]&&(t[w].destroy(),w==="navigation"?(t.isElement&&(t[w].prevEl.remove(),t[w].nextEl.remove()),d[w].prevEl=void 0,d[w].nextEl=void 0,t[w].prevEl=void 0,t[w].nextEl=void 0):(t.isElement&&t[w].el.remove(),d[w].el=void 0,t[w].el=void 0))};a.includes("loop")&&t.isElement&&(d.loop&&!s.loop?k=!0:!d.loop&&s.loop?S=!0:z=!0),l.forEach(w=>{if(ka(d[w])&&ka(s[w]))Object.assign(d[w],s[w]),(w==="navigation"||w==="pagination"||w==="scrollbar")&&"enabled"in s[w]&&!s[w].enabled&&A(w);else{const I=s[w];(I===!0||I===!1)&&(w==="navigation"||w==="pagination"||w==="scrollbar")?I===!1&&A(w):d[w]=s[w]}}),l.includes("controller")&&!y&&t.controller&&t.controller.control&&d.controller&&d.controller.control&&(t.controller.control=d.controller.control),a.includes("children")&&e&&m&&d.virtual.enabled?(m.slides=e,m.update(!0)):a.includes("virtual")&&m&&d.virtual.enabled&&(e&&(m.slides=e),m.update(!0)),a.includes("children")&&e&&d.loop&&(z=!0),h&&g.init()&&g.update(!0),y&&(t.controller.control=d.controller.control),f&&(t.isElement&&(!u||typeof u=="string")&&(u=document.createElement("div"),u.classList.add("swiper-pagination"),u.part.add("pagination"),t.el.appendChild(u)),u&&(d.pagination.el=u),c.init(),c.render(),c.update()),v&&(t.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),t.el.appendChild(o)),o&&(d.scrollbar.el=o),p.init(),p.updateSize(),p.setTranslate()),_&&(t.isElement&&((!n||typeof n=="string")&&(n=document.createElement("div"),n.classList.add("swiper-button-next"),fr(n,t.navigation.arrowSvg),n.part.add("button-next"),t.el.appendChild(n)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),fr(r,t.navigation.arrowSvg),r.part.add("button-prev"),t.el.appendChild(r))),n&&(d.navigation.nextEl=n),r&&(d.navigation.prevEl=r),b.init(),b.update()),a.includes("allowSlideNext")&&(t.allowSlideNext=s.allowSlideNext),a.includes("allowSlidePrev")&&(t.allowSlidePrev=s.allowSlidePrev),a.includes("direction")&&t.changeDirection(s.direction,!1),(k||z)&&t.loopDestroy(),(S||z)&&t.loopCreate(),t.update()}function W0(t={},e=!0){const s={on:{}},a={},n={};sn(s,vd),s._emitClasses=!0,s.init=!1;const r={},o=O3.map(l=>l.replace(/_/,"")),u=Object.assign({},t);return Object.keys(u).forEach(l=>{typeof t[l]>"u"||(o.indexOf(l)>=0?ka(t[l])?(s[l]={},n[l]={},sn(s[l],t[l]),sn(n[l],t[l])):(s[l]=t[l],n[l]=t[l]):l.search(/on[A-Z]/)===0&&typeof t[l]=="function"?e?a[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:s.on[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:r[l]=t[l])}),["navigation","pagination","scrollbar"].forEach(l=>{s[l]===!0&&(s[l]={}),s[l]===!1&&delete s[l]}),{params:s,passedParams:n,rest:r,events:a}}function mx({el:t,nextEl:e,prevEl:s,paginationEl:a,scrollbarEl:n,swiper:r},o){N3(o)&&e&&s&&(r.params.navigation.nextEl=e,r.originalParams.navigation.nextEl=e,r.params.navigation.prevEl=s,r.originalParams.navigation.prevEl=s),B3(o)&&a&&(r.params.pagination.el=a,r.originalParams.pagination.el=a),F3(o)&&n&&(r.params.scrollbar.el=n,r.originalParams.scrollbar.el=n),r.init(t)}function fx(t,e,s,a,n){const r=[];if(!e)return r;const o=l=>{r.indexOf(l)<0&&r.push(l)};if(s&&a){const l=a.map(n),d=s.map(n);l.join("")!==d.join("")&&o("children"),a.length!==s.length&&o("children")}return O3.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in t&&l in e)if(ka(t[l])&&ka(e[l])){const d=Object.keys(t[l]),c=Object.keys(e[l]);d.length!==c.length?o(l):(d.forEach(b=>{t[l][b]!==e[l][b]&&o(l)}),c.forEach(b=>{t[l][b]!==e[l][b]&&o(l)}))}else t[l]!==e[l]&&o(l)}),r}const vx=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.emit("_virtualUpdated"),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function bu(t={},e,s){const a=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},r=(o,u)=>{Array.isArray(o)&&o.forEach(l=>{const d=typeof l.type=="symbol";u==="default"&&(u="container-end"),d&&l.children?r(l.children,u):l.type&&(l.type.name==="SwiperSlide"||l.type.name==="AsyncComponentWrapper")||l.componentOptions&&l.componentOptions.tag==="SwiperSlide"?a.push(l):n[u]&&n[u].push(l)})};return Object.keys(t).forEach(o=>{if(typeof t[o]!="function")return;const u=t[o]();r(u,o)}),s.value=e.value,e.value=a,{slides:a,slots:n}}function gx(t,e,s){if(!s)return null;const a=c=>{let b=c;return c<0?b=e.length+c:b>=e.length&&(b=b-e.length),b},n=t.value.isHorizontal()?{[t.value.rtlTranslate?"right":"left"]:`${s.offset}px`}:{top:`${s.offset}px`},{from:r,to:o}=s,u=t.value.params.loop?-e.length:0,l=t.value.params.loop?e.length*2:e.length,d=[];for(let c=u;c<l;c+=1)c>=r&&c<=o&&d.length<e.length&&d.push(e[a(c)]);return d.map(c=>{if(c.props||(c.props={}),c.props.style||(c.props.style={}),c.props.swiperRef=t,c.props.style=n,c.type)return ue(c.type,{...c.props},c.children);if(c.componentOptions)return ue(c.componentOptions.Ctor,{...c.props},c.componentOptions.children)})}const _x={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},swiperElementNodeName:{type:String,default:"SWIPER-CONTAINER"},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},breakpointsBase:{type:String,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},loopAdditionalSlides:{type:Number,default:void 0},loopAddBlankSlides:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","_virtualUpdated","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(t,{slots:e,emit:s}){const{tag:a,wrapperTag:n}=t,r=Y("swiper"),o=Y(null),u=Y(!1),l=Y(!1),d=Y(null),c=Y(null),b=Y(null),p={value:[]},m={value:[]},g=Y(null),h=Y(null),y=Y(null),f=Y(null),{params:v,passedParams:_}=W0(t,!1);bu(e,p,m),b.value=_,m.value=p.value;const k=()=>{bu(e,p,m),u.value=!0};v.onAny=(A,...w)=>{s(A,...w)},Object.assign(v.on,{_beforeBreakpoint:k,_containerClasses(A,w){r.value=w}});const S={...v};if(delete S.wrapperClass,c.value=new hl(S),c.value.virtual&&c.value.params.virtual.enabled){c.value.virtual.slides=p.value;const A={cache:!1,slides:p.value,renderExternal:w=>{o.value=w},renderExternalUpdate:!1};sn(c.value.params.virtual,A),sn(c.value.originalParams.virtual,A)}hr(()=>{!l.value&&c.value&&(c.value.emitSlidesClasses(),l.value=!0);const{passedParams:A}=W0(t,!1),w=fx(A,b.value,p.value,m.value,I=>I.props&&I.props.key);b.value=A,(w.length||u.value)&&c.value&&!c.value.destroyed&&px({swiper:c.value,slides:p.value,passedParams:A,changedParams:w,nextEl:g.value,prevEl:h.value,scrollbarEl:f.value,paginationEl:y.value}),u.value=!1}),Ae("swiper",c),zt(o,()=>{_e(()=>{vx(c.value)})}),Le(()=>{d.value&&(mx({el:d.value,nextEl:g.value,prevEl:h.value,paginationEl:y.value,scrollbarEl:f.value,swiper:c.value},v),s("swiper",c.value))}),Re(()=>{c.value&&!c.value.destroyed&&c.value.destroy(!0,!1)});function z(A){return v.virtual?gx(c,A,o.value):(A.forEach((w,I)=>{w.props||(w.props={}),w.props.swiperRef=c,w.props.swiperSlideIndex=I}),A)}return()=>{const{slides:A,slots:w}=bu(e,p,m);return ue(a,{ref:d,class:G3(r.value)},[w["container-start"],ue(n,{class:bx(v.wrapperClass)},[w["wrapper-start"],z(A),w["wrapper-end"]]),N3(t)&&[ue("div",{ref:h,class:"swiper-button-prev"}),ue("div",{ref:g,class:"swiper-button-next"})],F3(t)&&ue("div",{ref:f,class:"swiper-scrollbar"}),B3(t)&&ue("div",{ref:y,class:"swiper-pagination"}),w["container-end"]])}}},hx={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(t,{slots:e}){let s=!1;const{swiperRef:a}=t,n=Y(null),r=Y("swiper-slide"),o=Y(!1);function u(c,b,p){b===n.value&&(r.value=p)}Le(()=>{!a||!a.value||(a.value.on("_slideClass",u),s=!0)}),xd(()=>{s||!a||!a.value||(a.value.on("_slideClass",u),s=!0)}),hr(()=>{!n.value||!a||!a.value||(typeof t.swiperSlideIndex<"u"&&(n.value.swiperSlideIndex=t.swiperSlideIndex),a.value.destroyed&&r.value!=="swiper-slide"&&(r.value="swiper-slide"))}),Re(()=>{!a||!a.value||a.value.off("_slideClass",u)});const l=O(()=>({isActive:r.value.indexOf("swiper-slide-active")>=0,isVisible:r.value.indexOf("swiper-slide-visible")>=0,isPrev:r.value.indexOf("swiper-slide-prev")>=0,isNext:r.value.indexOf("swiper-slide-next")>=0}));Ae("swiperSlide",l);const d=()=>{o.value=!0};return()=>ue(t.tag,{class:G3(`${r.value}`),ref:n,"data-swiper-slide-index":typeof t.virtualIndex>"u"&&a&&a.value&&a.value.params.loop?t.swiperSlideIndex:t.virtualIndex,onLoadCapture:d},t.zoom?ue("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof t.zoom=="number"?t.zoom:void 0},[e.default&&e.default(l.value),t.lazy&&!o.value&&ue("div",{class:"swiper-lazy-preloader"})]):[e.default&&e.default(l.value),t.lazy&&!o.value&&ue("div",{class:"swiper-lazy-preloader"})])}};function yx({swiper:t,extendParams:e,on:s,emit:a}){const n=Je();e({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let r,o=ji(),u;const l=[];function d(v){let z=0,A=0,w=0,I=0;return"detail"in v&&(A=v.detail),"wheelDelta"in v&&(A=-v.wheelDelta/120),"wheelDeltaY"in v&&(A=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(z=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(z=A,A=0),w=z*10,I=A*10,"deltaY"in v&&(I=v.deltaY),"deltaX"in v&&(w=v.deltaX),v.shiftKey&&!w&&(w=I,I=0),(w||I)&&v.deltaMode&&(v.deltaMode===1?(w*=40,I*=40):(w*=800,I*=800)),w&&!z&&(z=w<1?-1:1),I&&!A&&(A=I<1?-1:1),{spinX:z,spinY:A,pixelX:w,pixelY:I}}function c(){t.enabled&&(t.mouseEntered=!0)}function b(){t.enabled&&(t.mouseEntered=!1)}function p(v){return t.params.mousewheel.thresholdDelta&&v.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&ji()-o<t.params.mousewheel.thresholdTime?!1:v.delta>=6&&ji()-o<60?!0:(v.direction<0?(!t.isEnd||t.params.loop)&&!t.animating&&(t.slideNext(),a("scroll",v.raw)):(!t.isBeginning||t.params.loop)&&!t.animating&&(t.slidePrev(),a("scroll",v.raw)),o=new n.Date().getTime(),!1)}function m(v){const _=t.params.mousewheel;if(v.direction<0){if(t.isEnd&&!t.params.loop&&_.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&_.releaseOnEdges)return!0;return!1}function g(v){let _=v,k=!0;if(!t.enabled||v.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const S=t.params.mousewheel;t.params.cssMode&&_.preventDefault();let z=t.el;t.params.mousewheel.eventsTarget!=="container"&&(z=document.querySelector(t.params.mousewheel.eventsTarget));const A=z&&z.contains(_.target);if(!t.mouseEntered&&!A&&!S.releaseOnEdges)return!0;_.originalEvent&&(_=_.originalEvent);let w=0;const I=t.rtlTranslate?-1:1,T=d(_);if(S.forceToAxis)if(t.isHorizontal())if(Math.abs(T.pixelX)>Math.abs(T.pixelY))w=-T.pixelX*I;else return!0;else if(Math.abs(T.pixelY)>Math.abs(T.pixelX))w=-T.pixelY;else return!0;else w=Math.abs(T.pixelX)>Math.abs(T.pixelY)?-T.pixelX*I:-T.pixelY;if(w===0)return!0;S.invert&&(w=-w);let D=t.getTranslate()+w*S.sensitivity;if(D>=t.minTranslate()&&(D=t.minTranslate()),D<=t.maxTranslate()&&(D=t.maxTranslate()),k=t.params.loop?!0:!(D===t.minTranslate()||D===t.maxTranslate()),k&&t.params.nested&&_.stopPropagation(),!t.params.freeMode||!t.params.freeMode.enabled){const j={time:ji(),delta:Math.abs(w),direction:Math.sign(w),raw:v};l.length>=2&&l.shift();const B=l.length?l[l.length-1]:void 0;if(l.push(j),B?(j.direction!==B.direction||j.delta>B.delta||j.time>B.time+150)&&p(j):p(j),m(j))return!0}else{const j={time:ji(),delta:Math.abs(w),direction:Math.sign(w)},B=u&&j.time<u.time+500&&j.delta<=u.delta&&j.direction===u.direction;if(!B){u=void 0;let H=t.getTranslate()+w*S.sensitivity;const st=t.isBeginning,ut=t.isEnd;if(H>=t.minTranslate()&&(H=t.minTranslate()),H<=t.maxTranslate()&&(H=t.maxTranslate()),t.setTransition(0),t.setTranslate(H),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!st&&t.isBeginning||!ut&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:j.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(r),r=void 0,l.length>=15&&l.shift();const rt=l.length?l[l.length-1]:void 0,tt=l[0];if(l.push(j),rt&&(j.delta>rt.delta||j.direction!==rt.direction))l.splice(0);else if(l.length>=15&&j.time-tt.time<500&&tt.delta-j.delta>=1&&j.delta<=6){const ct=w>0?.8:.2;u=j,l.splice(0),r=Uo(()=>{t.destroyed||!t.params||t.slideToClosest(t.params.speed,!0,void 0,ct)},0)}r||(r=Uo(()=>{if(t.destroyed||!t.params)return;const ct=.5;u=j,l.splice(0),t.slideToClosest(t.params.speed,!0,void 0,ct)},500))}if(B||a("scroll",_),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),S.releaseOnEdges&&(H===t.minTranslate()||H===t.maxTranslate()))return!0}}return _.preventDefault?_.preventDefault():_.returnValue=!1,!1}function h(v){let _=t.el;t.params.mousewheel.eventsTarget!=="container"&&(_=document.querySelector(t.params.mousewheel.eventsTarget)),_[v]("mouseenter",c),_[v]("mouseleave",b),_[v]("wheel",g)}function y(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):t.mousewheel.enabled?!1:(h("addEventListener"),t.mousewheel.enabled=!0,!0)}function f(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):t.mousewheel.enabled?(h("removeEventListener"),t.mousewheel.enabled=!1,!0):!1}s("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&f(),t.params.mousewheel.enabled&&y()}),s("destroy",()=>{t.params.cssMode&&y(),t.mousewheel.enabled&&f()}),Object.assign(t.mousewheel,{enable:y,disable:f})}function V3(t,e,s,a){return t.params.createElements&&Object.keys(a).forEach(n=>{if(!s[n]&&s.auto===!0){let r=is(t.el,`.${a[n]}`)[0];r||(r=Wo("div",a[n]),r.className=a[n],t.el.append(r)),s[n]=r,e[n]=r}}),s}const K0='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function kx({swiper:t,extendParams:e,on:s,emit:a}){e({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null,arrowSvg:K0};function n(m){let g;return m&&typeof m=="string"&&t.isElement&&(g=t.el.querySelector(m)||t.hostEl.querySelector(m),g)?g:(m&&(typeof m=="string"&&(g=[...document.querySelectorAll(m)]),t.params.uniqueNavElements&&typeof m=="string"&&g&&g.length>1&&t.el.querySelectorAll(m).length===1?g=t.el.querySelector(m):g&&g.length===1&&(g=g[0])),m&&!g?m:g)}function r(m,g){const h=t.params.navigation;m=Oe(m),m.forEach(y=>{y&&(y.classList[g?"add":"remove"](...h.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=g),t.params.watchOverflow&&t.enabled&&y.classList[t.isLocked?"add":"remove"](h.lockClass))})}function o(){const{nextEl:m,prevEl:g}=t.navigation;if(t.params.loop){r(g,!1),r(m,!1);return}r(g,t.isBeginning&&!t.params.rewind),r(m,t.isEnd&&!t.params.rewind)}function u(m){m.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function l(m){m.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function d(){const m=t.params.navigation;if(t.params.navigation=V3(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(m.nextEl||m.prevEl))return;let g=n(m.nextEl),h=n(m.prevEl);Object.assign(t.navigation,{nextEl:g,prevEl:h}),g=Oe(g),h=Oe(h);const y=(f,v)=>{if(f){if(m.addIcons&&f.matches(".swiper-button-next,.swiper-button-prev")&&!f.querySelector("svg")){const _=document.createElement("div");fr(_,K0),f.appendChild(_.querySelector("svg")),_.remove()}f.addEventListener("click",v==="next"?l:u)}!t.enabled&&f&&f.classList.add(...m.lockClass.split(" "))};g.forEach(f=>y(f,"next")),h.forEach(f=>y(f,"prev"))}function c(){let{nextEl:m,prevEl:g}=t.navigation;m=Oe(m),g=Oe(g);const h=(y,f)=>{y.removeEventListener("click",f==="next"?l:u),y.classList.remove(...t.params.navigation.disabledClass.split(" "))};m.forEach(y=>h(y,"next")),g.forEach(y=>h(y,"prev"))}s("init",()=>{t.params.navigation.enabled===!1?p():(d(),o())}),s("toEdge fromEdge lock unlock",()=>{o()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{nextEl:m,prevEl:g}=t.navigation;if(m=Oe(m),g=Oe(g),t.enabled){o();return}[...m,...g].filter(h=>!!h).forEach(h=>h.classList.add(t.params.navigation.lockClass))}),s("click",(m,g)=>{let{nextEl:h,prevEl:y}=t.navigation;h=Oe(h),y=Oe(y);const f=g.target;let v=y.includes(f)||h.includes(f);if(t.isElement&&!v){const _=g.path||g.composedPath&&g.composedPath();_&&(v=_.find(k=>h.includes(k)||y.includes(k)))}if(t.params.navigation.hideOnClick&&!v){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===f||t.pagination.el.contains(f)))return;let _;h.length?_=h[0].classList.contains(t.params.navigation.hiddenClass):y.length&&(_=y[0].classList.contains(t.params.navigation.hiddenClass)),a(_===!0?"navigationShow":"navigationHide"),[...h,...y].filter(k=>!!k).forEach(k=>k.classList.toggle(t.params.navigation.hiddenClass))}});const b=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),o()},p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(t.navigation,{enable:b,disable:p,update:o,init:d,destroy:c})}function Cn(t=""){return`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function wx({swiper:t,extendParams:e,on:s,emit:a}){const n="swiper-pagination";e({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:f=>f,formatFractionTotal:f=>f,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),t.pagination={el:null,bullets:[]};let r,o=0;function u(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function l(f,v){const{bulletActiveClass:_}=t.params.pagination;f&&(f=f[`${v==="prev"?"previous":"next"}ElementSibling`],f&&(f.classList.add(`${_}-${v}`),f=f[`${v==="prev"?"previous":"next"}ElementSibling`],f&&f.classList.add(`${_}-${v}-${v}`)))}function d(f,v,_){if(f=f%_,v=v%_,v===f+1)return"next";if(v===f-1)return"previous"}function c(f){const v=f.target.closest(Cn(t.params.pagination.bulletClass));if(!v)return;f.preventDefault();const _=Ko(v)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===_)return;const k=d(t.realIndex,_,t.slides.length);k==="next"?t.slideNext():k==="previous"?t.slidePrev():t.slideToLoop(_)}else t.slideTo(_)}function b(){const f=t.rtl,v=t.params.pagination;if(u())return;let _=t.pagination.el;_=Oe(_);let k,S;const z=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,A=t.params.loop?Math.ceil(z/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(S=t.previousRealIndex||0,k=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(k=t.snapIndex,S=t.previousSnapIndex):(S=t.previousIndex||0,k=t.activeIndex||0),v.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const w=t.pagination.bullets;let I,T,D;if(v.dynamicBullets&&(r=md(w[0],t.isHorizontal()?"width":"height"),_.forEach(j=>{j.style[t.isHorizontal()?"width":"height"]=`${r*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&S!==void 0&&(o+=k-(S||0),o>v.dynamicMainBullets-1?o=v.dynamicMainBullets-1:o<0&&(o=0)),I=Math.max(k-o,0),T=I+(Math.min(w.length,v.dynamicMainBullets)-1),D=(T+I)/2),w.forEach(j=>{const B=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(H=>`${v.bulletActiveClass}${H}`)].map(H=>typeof H=="string"&&H.includes(" ")?H.split(" "):H).flat();j.classList.remove(...B)}),_.length>1)w.forEach(j=>{const B=Ko(j);B===k?j.classList.add(...v.bulletActiveClass.split(" ")):t.isElement&&j.setAttribute("part","bullet"),v.dynamicBullets&&(B>=I&&B<=T&&j.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),B===I&&l(j,"prev"),B===T&&l(j,"next"))});else{const j=w[k];if(j&&j.classList.add(...v.bulletActiveClass.split(" ")),t.isElement&&w.forEach((B,H)=>{B.setAttribute("part",H===k?"bullet-active":"bullet")}),v.dynamicBullets){const B=w[I],H=w[T];for(let st=I;st<=T;st+=1)w[st]&&w[st].classList.add(...`${v.bulletActiveClass}-main`.split(" "));l(B,"prev"),l(H,"next")}}if(v.dynamicBullets){const j=Math.min(w.length,v.dynamicMainBullets+4),B=(r*j-r)/2-D*r,H=f?"right":"left";w.forEach(st=>{st.style[t.isHorizontal()?H:"top"]=`${B}px`})}}_.forEach((w,I)=>{if(v.type==="fraction"&&(w.querySelectorAll(Cn(v.currentClass)).forEach(T=>{T.textContent=v.formatFractionCurrent(k+1)}),w.querySelectorAll(Cn(v.totalClass)).forEach(T=>{T.textContent=v.formatFractionTotal(A)})),v.type==="progressbar"){let T;v.progressbarOpposite?T=t.isHorizontal()?"vertical":"horizontal":T=t.isHorizontal()?"horizontal":"vertical";const D=(k+1)/A;let j=1,B=1;T==="horizontal"?j=D:B=D,w.querySelectorAll(Cn(v.progressbarFillClass)).forEach(H=>{H.style.transform=`translate3d(0,0,0) scaleX(${j}) scaleY(${B})`,H.style.transitionDuration=`${t.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(fr(w,v.renderCustom(t,k+1,A)),I===0&&a("paginationRender",w)):(I===0&&a("paginationRender",w),a("paginationUpdate",w)),t.params.watchOverflow&&t.enabled&&w.classList[t.isLocked?"add":"remove"](v.lockClass)})}function p(){const f=t.params.pagination;if(u())return;const v=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let _=t.pagination.el;_=Oe(_);let k="";if(f.type==="bullets"){let S=t.params.loop?Math.ceil(v/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&S>v&&(S=v);for(let z=0;z<S;z+=1)f.renderBullet?k+=f.renderBullet.call(t,z,f.bulletClass):k+=`<${f.bulletElement} ${t.isElement?'part="bullet"':""} class="${f.bulletClass}"></${f.bulletElement}>`}f.type==="fraction"&&(f.renderFraction?k=f.renderFraction.call(t,f.currentClass,f.totalClass):k=`<span class="${f.currentClass}"></span> / <span class="${f.totalClass}"></span>`),f.type==="progressbar"&&(f.renderProgressbar?k=f.renderProgressbar.call(t,f.progressbarFillClass):k=`<span class="${f.progressbarFillClass}"></span>`),t.pagination.bullets=[],_.forEach(S=>{f.type!=="custom"&&fr(S,k||""),f.type==="bullets"&&t.pagination.bullets.push(...S.querySelectorAll(Cn(f.bulletClass)))}),f.type!=="custom"&&a("paginationRender",_[0])}function m(){t.params.pagination=V3(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const f=t.params.pagination;if(!f.el)return;let v;typeof f.el=="string"&&t.isElement&&(v=t.el.querySelector(f.el)),!v&&typeof f.el=="string"&&(v=[...document.querySelectorAll(f.el)]),v||(v=f.el),!(!v||v.length===0)&&(t.params.uniqueNavElements&&typeof f.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...t.el.querySelectorAll(f.el)],v.length>1&&(v=v.find(_=>M3(_,".swiper")[0]===t.el))),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(t.pagination,{el:v}),v=Oe(v),v.forEach(_=>{f.type==="bullets"&&f.clickable&&_.classList.add(...(f.clickableClass||"").split(" ")),_.classList.add(f.modifierClass+f.type),_.classList.add(t.isHorizontal()?f.horizontalClass:f.verticalClass),f.type==="bullets"&&f.dynamicBullets&&(_.classList.add(`${f.modifierClass}${f.type}-dynamic`),o=0,f.dynamicMainBullets<1&&(f.dynamicMainBullets=1)),f.type==="progressbar"&&f.progressbarOpposite&&_.classList.add(f.progressbarOppositeClass),f.clickable&&_.addEventListener("click",c),t.enabled||_.classList.add(f.lockClass)}))}function g(){const f=t.params.pagination;if(u())return;let v=t.pagination.el;v&&(v=Oe(v),v.forEach(_=>{_.classList.remove(f.hiddenClass),_.classList.remove(f.modifierClass+f.type),_.classList.remove(t.isHorizontal()?f.horizontalClass:f.verticalClass),f.clickable&&(_.classList.remove(...(f.clickableClass||"").split(" ")),_.removeEventListener("click",c))})),t.pagination.bullets&&t.pagination.bullets.forEach(_=>_.classList.remove(...f.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const f=t.params.pagination;let{el:v}=t.pagination;v=Oe(v),v.forEach(_=>{_.classList.remove(f.horizontalClass,f.verticalClass),_.classList.add(t.isHorizontal()?f.horizontalClass:f.verticalClass)})}),s("init",()=>{t.params.pagination.enabled===!1?y():(m(),p(),b())}),s("activeIndexChange",()=>{typeof t.snapIndex>"u"&&b()}),s("snapIndexChange",()=>{b()}),s("snapGridLengthChange",()=>{p(),b()}),s("destroy",()=>{g()}),s("enable disable",()=>{let{el:f}=t.pagination;f&&(f=Oe(f),f.forEach(v=>v.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),s("lock unlock",()=>{b()}),s("click",(f,v)=>{const _=v.target,k=Oe(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&k&&k.length>0&&!_.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&_===t.navigation.nextEl||t.navigation.prevEl&&_===t.navigation.prevEl))return;const S=k[0].classList.contains(t.params.pagination.hiddenClass);a(S===!0?"paginationShow":"paginationHide"),k.forEach(z=>z.classList.toggle(t.params.pagination.hiddenClass))}});const h=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:f}=t.pagination;f&&(f=Oe(f),f.forEach(v=>v.classList.remove(t.params.pagination.paginationDisabledClass))),m(),p(),b()},y=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:f}=t.pagination;f&&(f=Oe(f),f.forEach(v=>v.classList.add(t.params.pagination.paginationDisabledClass))),g()};Object.assign(t.pagination,{enable:h,disable:y,render:p,update:b,init:m,destroy:g})}function Sx({swiper:t,extendParams:e,emit:s,once:a}){e({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function n(){if(t.params.cssMode)return;const u=t.getTranslate();t.setTranslate(u),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function r(){if(t.params.cssMode)return;const{touchEventsData:u,touches:l}=t;u.velocities.length===0&&u.velocities.push({position:l[t.isHorizontal()?"startX":"startY"],time:u.touchStartTime}),u.velocities.push({position:l[t.isHorizontal()?"currentX":"currentY"],time:ji()})}function o({currentPos:u}){if(t.params.cssMode)return;const{params:l,wrapperEl:d,rtlTranslate:c,snapGrid:b,touchEventsData:p}=t,g=ji()-p.touchStartTime;if(u<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(u>-t.maxTranslate()){t.slides.length<b.length?t.slideTo(b.length-1):t.slideTo(t.slides.length-1);return}if(l.freeMode.momentum){if(p.velocities.length>1){const z=p.velocities.pop(),A=p.velocities.pop(),w=z.position-A.position,I=z.time-A.time;t.velocity=w/I,t.velocity/=2,Math.abs(t.velocity)<l.freeMode.minimumVelocity&&(t.velocity=0),(I>150||ji()-z.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=l.freeMode.momentumVelocityRatio,p.velocities.length=0;let h=1e3*l.freeMode.momentumRatio;const y=t.velocity*h;let f=t.translate+y;c&&(f=-f);let v=!1,_;const k=Math.abs(t.velocity)*20*l.freeMode.momentumBounceRatio;let S;if(f<t.maxTranslate())l.freeMode.momentumBounce?(f+t.maxTranslate()<-k&&(f=t.maxTranslate()-k),_=t.maxTranslate(),v=!0,p.allowMomentumBounce=!0):f=t.maxTranslate(),l.loop&&l.centeredSlides&&(S=!0);else if(f>t.minTranslate())l.freeMode.momentumBounce?(f-t.minTranslate()>k&&(f=t.minTranslate()+k),_=t.minTranslate(),v=!0,p.allowMomentumBounce=!0):f=t.minTranslate(),l.loop&&l.centeredSlides&&(S=!0);else if(l.freeMode.sticky){let z;for(let A=0;A<b.length;A+=1)if(b[A]>-f){z=A;break}Math.abs(b[z]-f)<Math.abs(b[z-1]-f)||t.swipeDirection==="next"?f=b[z]:f=b[z-1],f=-f}if(S&&a("transitionEnd",()=>{t.loopFix()}),t.velocity!==0){if(c?h=Math.abs((-f-t.translate)/t.velocity):h=Math.abs((f-t.translate)/t.velocity),l.freeMode.sticky){const z=Math.abs((c?-f:f)-t.translate),A=t.slidesSizesGrid[t.activeIndex];z<A?h=l.speed:z<2*A?h=l.speed*1.5:h=l.speed*2.5}}else if(l.freeMode.sticky){t.slideToClosest();return}l.freeMode.momentumBounce&&v?(t.updateProgress(_),t.setTransition(h),t.setTranslate(f),t.transitionStart(!0,t.swipeDirection),t.animating=!0,au(d,()=>{!t||t.destroyed||!p.allowMomentumBounce||(s("momentumBounce"),t.setTransition(l.speed),setTimeout(()=>{t.setTranslate(_),au(d,()=>{!t||t.destroyed||t.transitionEnd()})},0))})):t.velocity?(s("_freeModeNoMomentumRelease"),t.updateProgress(f),t.setTransition(h),t.setTranslate(f),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,au(d,()=>{!t||t.destroyed||t.transitionEnd()}))):t.updateProgress(f),t.updateActiveIndex(),t.updateSlidesClasses()}else if(l.freeMode.sticky){t.slideToClosest();return}else l.freeMode&&s("_freeModeNoMomentumRelease");(!l.freeMode.momentum||g>=l.longSwipesMs)&&(s("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}Object.assign(t,{freeMode:{onTouchStart:n,onTouchMove:r,onTouchEnd:o}})}const Ax={install(t){hl.use([wx,kx,Sx,yx]),t.component("Swiper",_x).component("SwiperSlide",hx)}};function zx(t){t.use(HE).use(Qi).use(oc).use(WE).use(xh).use(Ax)}const q3=gh(VE);zx(q3);q3.mount("#app");export{Wv as $,fn as A,Is as B,qt as C,za as D,N as E,Bx as F,oi as G,os as H,iv as I,Y as J,It as K,zt as L,Ns as M,yi as N,re as O,cn as P,xA as Q,_e as R,Ae as S,Wt as T,pd as U,$v as V,Pz as W,wa as X,qs as Y,Tz as Z,Bz as _,Yx as a,Ra as a$,or as a0,ha as a1,we as a2,Le as a3,Re as a4,$S as a5,zs as a6,pi as a7,Lv as a8,w1 as a9,nE as aA,X as aB,Lx as aC,ht as aD,ai as aE,nd as aF,ee as aG,Va as aH,Px as aI,Yt as aJ,$1 as aK,_t as aL,Di as aM,$ as aN,At as aO,no as aP,dr as aQ,Bt as aR,pv as aS,eu as aT,Vj as aU,Cj as aV,La as aW,Hg as aX,jx as aY,gi as aZ,aI as a_,Tc as aa,Ip as ab,nn as ac,Et as ad,_z as ae,va as af,vt as ag,Az as ah,gz as ai,rr as aj,Ze as ak,$s as al,jc as am,Aa as an,eP as ao,Vs as ap,Io as aq,C0 as ar,n3 as as,pl as at,Zu as au,bt as av,Te as aw,et as ax,W as ay,Mt as az,Ta as b,Ma as b$,Sh as b0,Xa as b1,dd as b2,ei as b3,yr as b4,Zx as b5,en as b6,xx as b7,HE as b8,Me as b9,YT as bA,Rx as bB,Ys as bC,Mx as bD,Dx as bE,Kr as bF,mI as bG,yc as bH,o3 as bI,rI as bJ,Xi as bK,bl as bL,Tx as bM,Tj as bN,hj as bO,JC as bP,K1 as bQ,Cx as bR,Ex as bS,U2 as bT,Pj as bU,eI as bV,KT as bW,xs as bX,UT as bY,Ms as bZ,oI as b_,xe as ba,xl as bb,YC as bc,XC as bd,BA as be,Tt as bf,NA as bg,Ox as bh,vI as bi,tI as bj,Qi as bk,iI as bl,Ve as bm,Qx as bn,k0 as bo,Sf as bp,sI as bq,lo as br,ts as bs,$z as bt,Gt as bu,Bo as bv,Nu as bw,fi as bx,z3 as by,Vt as bz,pa as c,Ix as c$,Uz as c0,Z2 as c1,w0 as c2,Oz as c3,de as c4,fI as c5,nv as c6,Pr as c7,C2 as c8,ia as c9,Ah as cA,Th as cB,Xx as cC,zh as cD,oc as cE,Ph as cF,fj as cG,zr as cH,Ar as cI,kh as cJ,yh as cK,u1 as cL,wf as cM,gv as cN,ca as cO,Ji as cP,$x as cQ,rP as cR,tn as cS,Hx as cT,Ws as cU,jP as cV,Fx as cW,Ux as cX,qx as cY,Z1 as cZ,XS as c_,av as ca,_c as cb,Pc as cc,Fo as cd,HT as ce,Tr as cf,se as cg,wh as ch,Jx as ci,Yz as cj,lI as ck,nI as cl,mn as cm,Q2 as cn,Zv as co,Zs as cp,WS as cq,T0 as cr,Jv as cs,gI as ct,vl as cu,gl as cv,ne as cw,hc as cx,Cp as cy,fl as cz,ea as d,sP as d0,ya as d1,Vx as d2,j2 as d3,Nx as d4,Kx as d5,Xv as d6,pc as d7,I1 as d8,Mo as d9,Gx as da,Pe as db,YS as dc,pI as dd,bI as de,wc as df,z2 as dg,sv as dh,hi as di,J1 as dj,Wx as dk,vn as e,rs as f,Rt as g,Pv as h,O as i,bi as j,cI as k,Mc as l,Sr as m,Ut as n,L as o,mt as p,Lt as q,wt as r,Ot as s,nt as t,vc as u,Ue as v,Ec as w,me as x,dI as y,ns as z};
|