music-assistant-frontend 2.11.10__py3-none-any.whl → 2.12.0__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/assets/{AddManualLink.vue_vue_type_script_setup_true_lang-Bw8iETZ1.js → AddManualLink.vue_vue_type_script_setup_true_lang-BhWnXVWa.js} +1 -1
- music_assistant_frontend/assets/AddPlayerGroup-w5xinh13.js +1 -0
- music_assistant_frontend/assets/AddProvider-C6vZMaA_.js +1 -0
- music_assistant_frontend/assets/AlbumDetails-JJcoeHe3.js +1 -0
- music_assistant_frontend/assets/ArtistDetails-C8R0L0eB.js +1 -0
- music_assistant_frontend/assets/AudiobookDetails-BBPC_rat.js +1 -0
- music_assistant_frontend/assets/BrowseView-CHuC2Wut.js +1 -0
- music_assistant_frontend/assets/{Container-DiMv9Yc_.js → Container-DqrvAJ3b.js} +1 -1
- music_assistant_frontend/assets/CoreConfigs-B4qbkIFp.js +1 -0
- music_assistant_frontend/assets/Default-hhwEg_ku.js +7 -0
- music_assistant_frontend/assets/Default-vaDTGfca.css +1 -0
- music_assistant_frontend/assets/EditConfig-D9dCLazN.js +1 -0
- music_assistant_frontend/assets/EditCoreConfig-B4I9p0Rc.js +1 -0
- music_assistant_frontend/assets/EditPlayer-DiQPXzm5.js +1 -0
- music_assistant_frontend/assets/EditPlayerDsp-eIn3Nya7.js +4 -0
- music_assistant_frontend/assets/EditProvider-D9AuzoS_.js +1 -0
- music_assistant_frontend/assets/FrontendConfig-C7yMwT0t.js +1 -0
- music_assistant_frontend/assets/HomeView-C41dEPtw.js +1 -0
- music_assistant_frontend/assets/{HomeWidgetRow-Qmnfoi3_.js → HomeWidgetRow-wbLDSUOw.js} +1 -1
- music_assistant_frontend/assets/{ItemsListing-Bff5c52i.css → ItemsListing-BLddADX2.css} +1 -1
- music_assistant_frontend/assets/ItemsListing-CgPPwfN_.js +1 -0
- music_assistant_frontend/assets/LibraryAlbums-B5GJ0Ma1.js +1 -0
- music_assistant_frontend/assets/LibraryArtists-CyKI5uos.js +1 -0
- music_assistant_frontend/assets/LibraryAudiobooks-DPbc0sIR.js +1 -0
- music_assistant_frontend/assets/LibraryPlaylists-Bloq-21Q.js +1 -0
- music_assistant_frontend/assets/LibraryPodcasts-4aUZwHC-.js +1 -0
- music_assistant_frontend/assets/LibraryRadios-OqRteuTK.js +1 -0
- music_assistant_frontend/assets/LibraryTracks-eI-KuVMu.js +1 -0
- music_assistant_frontend/assets/ListItem-DGh5edsx.js +1 -0
- music_assistant_frontend/assets/MediaItemImages-xtBCxvcj.js +1 -0
- music_assistant_frontend/assets/MediaItemThumb-qvSgbsEl.js +1 -0
- music_assistant_frontend/assets/PanelviewItemCompact-DDbQeVBC.js +1 -0
- music_assistant_frontend/assets/Players-Cw-hfn51.js +1 -0
- music_assistant_frontend/assets/PlaylistDetails-B03u8UL4.js +1 -0
- music_assistant_frontend/assets/PodcastDetails-BMjb7gc-.js +1 -0
- music_assistant_frontend/assets/ProviderDetails.vue_vue_type_script_setup_true_lang-DcDBqod4.js +8 -0
- music_assistant_frontend/assets/Providers-DIcUkWeW.js +1 -0
- music_assistant_frontend/assets/RadioDetails-BSK26mvV.js +1 -0
- music_assistant_frontend/assets/{Search-lmIxKOrG.js → Search-dt8Yee9Y.js} +1 -1
- music_assistant_frontend/assets/{Settings-CmL8LWDA.js → Settings-DplXTl42.js} +1 -1
- music_assistant_frontend/assets/{Toolbar-Cn7SFj3T.js → Toolbar-BSZVzl7b.js} +1 -1
- music_assistant_frontend/assets/TrackDetails-ClQ9ACy_.js +1 -0
- music_assistant_frontend/assets/{VAlert-D5d2U31U.js → VAlert-BswcvAid.js} +1 -1
- music_assistant_frontend/assets/VBtn-BhCi07GX.js +1 -0
- music_assistant_frontend/assets/{VCheckbox-CmhfyOud.js → VCheckbox-TXYh27Ri.js} +1 -1
- music_assistant_frontend/assets/VCheckboxBtn-DM8-TRcj.js +1 -0
- music_assistant_frontend/assets/{VContainer-DY0l0ioq.js → VContainer-C08Wp4Af.js} +1 -1
- music_assistant_frontend/assets/{VDialog-Con52AZO.js → VDialog-CT6YlS57.js} +1 -1
- music_assistant_frontend/assets/VExpansionPanels-BxyBICGz.js +1 -0
- music_assistant_frontend/assets/{VForm-CdGIKhb2.js → VForm--9eIVPV4.js} +1 -1
- music_assistant_frontend/assets/{VInfiniteScroll-8QYkpqfJ.js → VInfiniteScroll-BlYvE-Ae.js} +1 -1
- music_assistant_frontend/assets/{VRow-DBi-KQgn.js → VRow-BCb-VNQG.js} +1 -1
- music_assistant_frontend/assets/VSlider-0a2LYPLc.js +1 -0
- music_assistant_frontend/assets/VSpacer-ccBzHnAJ.js +1 -0
- music_assistant_frontend/assets/VSwitch-CciYRUpE.js +1 -0
- music_assistant_frontend/assets/{VTextField-CHzipJoO.js → VTextField-D84TJHgc.js} +1 -1
- music_assistant_frontend/assets/{VToolbar-QIxAeXaq.js → VToolbar-BxVyfNJg.js} +1 -1
- music_assistant_frontend/assets/VVirtualScroll-DHrwgeZC.js +1 -0
- music_assistant_frontend/assets/almost_silent-BMvfGi7_.mp3 +0 -0
- music_assistant_frontend/assets/index-BaqN3n3Z.css +5 -0
- music_assistant_frontend/assets/{index-fwvaH--B.js → index-Dh4eMWSh.js} +50 -50
- music_assistant_frontend/assets/layout-DE_Widnx.js +1 -0
- music_assistant_frontend/assets/{marquee_text_sync-CWeV1A9A.js → marquee_text_sync-DwAs52s5.js} +1 -1
- music_assistant_frontend/index.html +2 -2
- music_assistant_frontend/sw.js +1 -1
- {music_assistant_frontend-2.11.10.dist-info → music_assistant_frontend-2.12.0.dist-info}/METADATA +1 -1
- music_assistant_frontend-2.12.0.dist-info/RECORD +135 -0
- music_assistant_frontend/assets/5_mins_of_silence-BbAu3Hoa.mp3 +0 -0
- music_assistant_frontend/assets/AddPlayerGroup-XegHVV9y.js +0 -1
- music_assistant_frontend/assets/AddProvider-Dtc3Ur5_.js +0 -1
- music_assistant_frontend/assets/AlbumDetails-CQ_fli0i.js +0 -1
- music_assistant_frontend/assets/ArtistDetails-B9SOtN4O.js +0 -1
- music_assistant_frontend/assets/AudiobookDetails-CLGxKtzj.js +0 -1
- music_assistant_frontend/assets/BrowseView-Do9MTwYP.js +0 -1
- music_assistant_frontend/assets/CoreConfigs-C4Y8bDMN.js +0 -1
- music_assistant_frontend/assets/Default-CEGf5eLy.css +0 -1
- music_assistant_frontend/assets/Default-bLlwsXLK.js +0 -7
- music_assistant_frontend/assets/EditConfig-DEt-4PvK.js +0 -1
- music_assistant_frontend/assets/EditCoreConfig-B5Zub2pL.js +0 -1
- music_assistant_frontend/assets/EditPlayer-xj_3SKWg.js +0 -1
- music_assistant_frontend/assets/EditPlayerDsp-BngkmLG1.js +0 -4
- music_assistant_frontend/assets/EditProvider-_jUVq6ot.js +0 -1
- music_assistant_frontend/assets/FrontendConfig-C2FNkEAd.js +0 -1
- music_assistant_frontend/assets/HomeView-BcW-g3v1.js +0 -1
- music_assistant_frontend/assets/ItemsListing-CQpOLGRS.js +0 -1
- music_assistant_frontend/assets/LibraryAlbums-muyEMAlr.js +0 -1
- music_assistant_frontend/assets/LibraryArtists-DfTrZL0k.js +0 -1
- music_assistant_frontend/assets/LibraryAudiobooks-CshAOHqY.js +0 -1
- music_assistant_frontend/assets/LibraryPlaylists-D90y8nAA.js +0 -1
- music_assistant_frontend/assets/LibraryPodcasts-ODlej9hl.js +0 -1
- music_assistant_frontend/assets/LibraryRadios-DrSYuFzK.js +0 -1
- music_assistant_frontend/assets/LibraryTracks-BCQBs6UW.js +0 -1
- music_assistant_frontend/assets/ListItem-C2iudpSn.js +0 -1
- music_assistant_frontend/assets/MediaItemImages-DpAe5-ug.js +0 -1
- music_assistant_frontend/assets/MediaItemThumb-D0_yxWj6.css +0 -1
- music_assistant_frontend/assets/MediaItemThumb-_Z3Un5t2.js +0 -1
- music_assistant_frontend/assets/PanelviewItemCompact-BFmaxOBL.js +0 -1
- music_assistant_frontend/assets/Players-WTry5vGz.js +0 -1
- music_assistant_frontend/assets/PlaylistDetails-Qmubuvq6.js +0 -1
- music_assistant_frontend/assets/PodcastDetails-DJbSXCVa.js +0 -1
- music_assistant_frontend/assets/ProviderDetails.vue_vue_type_script_setup_true_lang-Mc1R3S1f.js +0 -8
- music_assistant_frontend/assets/ProviderIcon-CbwA83VX.css +0 -1
- music_assistant_frontend/assets/ProviderIcon.vue_vue_type_style_index_0_lang-BiMgz_MX.js +0 -1
- music_assistant_frontend/assets/Providers-CkTJwZVA.js +0 -1
- music_assistant_frontend/assets/RadioDetails-BpvtKQ7v.js +0 -1
- music_assistant_frontend/assets/TrackDetails-E57VFfrv.js +0 -1
- music_assistant_frontend/assets/VBtn-qGPp9gJJ.js +0 -1
- music_assistant_frontend/assets/VCheckboxBtn-CaqydlJP.js +0 -1
- music_assistant_frontend/assets/VChip-BCIwyvQe.js +0 -1
- music_assistant_frontend/assets/VChip-D0iltsFo.css +0 -1
- music_assistant_frontend/assets/VExpansionPanels-CccIpep3.js +0 -1
- music_assistant_frontend/assets/VSlider-Bf1MOTai.js +0 -1
- music_assistant_frontend/assets/VSpacer-D3XPjzky.js +0 -1
- music_assistant_frontend/assets/VSwitch-Dxyqkiob.js +0 -1
- music_assistant_frontend/assets/VVirtualScroll-CxdHS98G.js +0 -1
- music_assistant_frontend/assets/index-7q4D2L23.css +0 -5
- music_assistant_frontend/assets/layout-DnNTAqwd.js +0 -1
- music_assistant_frontend-2.11.10.dist-info/RECORD +0 -140
- {music_assistant_frontend-2.11.10.dist-info → music_assistant_frontend-2.12.0.dist-info}/LICENSE +0 -0
- {music_assistant_frontend-2.11.10.dist-info → music_assistant_frontend-2.12.0.dist-info}/WHEEL +0 -0
- {music_assistant_frontend-2.11.10.dist-info → music_assistant_frontend-2.12.0.dist-info}/top_level.txt +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Default-
|
|
2
|
-
var
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Default-hhwEg_ku.js","./ListItem-DGh5edsx.js","./_plugin-vue_export-helper-DlAUqK2U.js","./VBtn-BhCi07GX.js","./VBtn-Br4CDULP.css","./ListItem-DDgLqqsc.css","./constants-BXWEQHoz.js","./layout-DE_Widnx.js","./MediaItemThumb-qvSgbsEl.js","./Toolbar-BSZVzl7b.js","./VToolbar-BxVyfNJg.js","./VToolbar-DfKWpQVA.css","./Toolbar-BKVgbOaa.css","./VDialog-CT6YlS57.js","./VDialog-DwTSAOeg.css","./VInfiniteScroll-BlYvE-Ae.js","./VInfiniteScroll-D0kk3vnw.css","./VSlider-0a2LYPLc.js","./VCheckboxBtn-DM8-TRcj.js","./VCheckboxBtn-C9rj_pss.css","./VSlider-CAqSVbOA.css","./marquee_text_sync-DwAs52s5.js","./marquee_text_sync-CWCHA3k2.css","./VVirtualScroll-DHrwgeZC.js","./VVirtualScroll-BNcY_ygg.css","./VCheckbox-TXYh27Ri.js","./VCheckbox-CvH8ekHL.css","./VExpansionPanels-BxyBICGz.js","./VExpansionPanels-RsCANmDP.css","./Default-vaDTGfca.css","./HomeView-C41dEPtw.js","./Container-DqrvAJ3b.js","./VContainer-C08Wp4Af.js","./VGrid-Cb7FdSrp.css","./Container-CHYbHwxO.css","./HomeWidgetRow-wbLDSUOw.js","./PanelviewItemCompact-DDbQeVBC.js","./PanelviewItemCompact-B-57qWAv.css","./VAlert-BswcvAid.js","./VAlert-iGJ3gOzk.css","./HomeWidgetRow-BDjk4ixF.css","./HomeView-1__iCVLb.css","./Search-dt8Yee9Y.js","./ItemsListing-CgPPwfN_.js","./VSpacer-ccBzHnAJ.js","./VTextField-D84TJHgc.js","./VTextField-BIH_AWWP.css","./VRow-BCb-VNQG.js","./ItemsListing-BLddADX2.css","./BrowseView-CHuC2Wut.js","./LibraryArtists-CyKI5uos.js","./ArtistDetails-C8R0L0eB.js","./ProviderDetails.vue_vue_type_script_setup_true_lang-DcDBqod4.js","./ProviderDetails-DIoxLJlY.css","./MediaItemImages-xtBCxvcj.js","./MediaItemImages-BGTTukXI.css","./LibraryAlbums-B5GJ0Ma1.js","./AlbumDetails-JJcoeHe3.js","./LibraryTracks-eI-KuVMu.js","./AddManualLink.vue_vue_type_script_setup_true_lang-BhWnXVWa.js","./TrackDetails-ClQ9ACy_.js","./LibraryPlaylists-Bloq-21Q.js","./PlaylistDetails-B03u8UL4.js","./LibraryPodcasts-4aUZwHC-.js","./PodcastDetails-BMjb7gc-.js","./LibraryAudiobooks-DPbc0sIR.js","./AudiobookDetails-BBPC_rat.js","./LibraryRadios-OqRteuTK.js","./RadioDetails-BSK26mvV.js","./Settings-DplXTl42.js","./Providers-DIcUkWeW.js","./Providers-fY2RGD7t.css","./Players-Cw-hfn51.js","./CoreConfigs-B4qbkIFp.js","./CoreConfigs-BnxSZ_W5.css","./FrontendConfig-C7yMwT0t.js","./EditConfig-D9dCLazN.js","./VForm--9eIVPV4.js","./VSwitch-CciYRUpE.js","./VSwitch-DX1zkotx.css","./EditConfig-BSHT087Z.css","./AddProvider-C6vZMaA_.js","./index.browser-OxPLOBIU.js","./EditProvider-D9AuzoS_.js","./EditPlayer-DiQPXzm5.js","./EditPlayerDsp-eIn3Nya7.js","./EditPlayerDsp-DxwVnsox.css","./EditCoreConfig-B4I9p0Rc.js","./AddPlayerGroup-w5xinh13.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var L2=Object.defineProperty;var D2=(t,e,s)=>e in t?L2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var wt=(t,e,s)=>D2(t,typeof e!="symbol"?e+"":e,s);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const r of a)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(a){const r={};return a.integrity&&(r.integrity=a.integrity),a.referrerPolicy&&(r.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?r.credentials="include":a.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(a){if(a.ep)return;a.ep=!0;const r=s(a);fetch(a.href,r)}})();/**
|
|
3
3
|
* @vue/shared v3.5.13
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
5
|
* @license MIT
|
|
6
|
-
**//*! #__NO_SIDE_EFFECTS__ */function
|
|
6
|
+
**//*! #__NO_SIDE_EFFECTS__ */function yu(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const Rt={},an=[],gi=()=>{},R2=()=>!1,Zr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ku=t=>t.startsWith("onUpdate:"),be=Object.assign,wu=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},O2=Object.prototype.hasOwnProperty,Nt=(t,e)=>O2.call(t,e),ft=Array.isArray,rn=t=>Qr(t)==="[object Map]",jp=t=>Qr(t)==="[object Set]",yt=t=>typeof t=="function",se=t=>typeof t=="string",es=t=>typeof t=="symbol",Qt=t=>t!==null&&typeof t=="object",Su=t=>(Qt(t)||yt(t))&&yt(t.then)&&yt(t.catch),Cp=Object.prototype.toString,Qr=t=>Cp.call(t),N2=t=>Qr(t).slice(8,-1),Mp=t=>Qr(t)==="[object Object]",zu=t=>se(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Xn=yu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Jr=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},B2=/-(\w)/g,qe=Jr(t=>t.replace(B2,(e,s)=>s?s.toUpperCase():"")),G2=/\B([A-Z])/g,vs=Jr(t=>t.replace(G2,"-$1").toLowerCase()),An=Jr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Mo=Jr(t=>t?`on${An(t)}`:""),Ve=(t,e)=>!Object.is(t,e),xo=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},xp=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},q2=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Ip=t=>{const e=se(t)?Number(t):NaN;return isNaN(e)?t:e};let xd;const to=()=>xd||(xd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ii(t){if(ft(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],a=se(n)?U2(n):Ii(n);if(a)for(const r in a)e[r]=a[r]}return e}else if(se(t)||Qt(t))return t}const F2=/;(?![^(]*\))/g,H2=/:([^]+)/,V2=/\/\*[^]*?\*\//g;function U2(t){const e={};return t.replace(V2,"").split(F2).forEach(s=>{if(s){const n=s.split(H2);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function eo(t){let e="";if(se(t))e=t;else if(ft(t))for(let s=0;s<t.length;s++){const n=eo(t[s]);n&&(e+=n+" ")}else if(Qt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const W2="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",K2=yu(W2);function Lp(t){return!!t||t===""}const Dp=t=>!!(t&&t.__v_isRef===!0),Ct=t=>se(t)?t:t==null?"":ft(t)||Qt(t)&&(t.toString===Cp||!yt(t.toString))?Dp(t)?Ct(t.value):JSON.stringify(t,Rp,2):String(t),Rp=(t,e)=>Dp(e)?Rp(t,e.value):rn(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,a],r)=>(s[Io(n,r)+" =>"]=a,s),{})}:jp(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Io(s))}:es(e)?Io(e):Qt(e)&&!ft(e)&&!Mp(e)?String(e):e,Io=(t,e="")=>{var s;return es(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
|
|
7
7
|
* @vue/reactivity v3.5.13
|
|
8
8
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
9
|
* @license MIT
|
|
10
|
-
**/let ze;class op{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ze,!e&&ze&&(this.index=(ze.scopes||(ze.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=ze;try{return ze=this,e()}finally{ze=s}}}on(){ze=this}off(){ze=this.parent}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0}}}function Pr(t){return new op(t)}function g2(){return ze}function ri(t,e=!1){ze&&ze.cleanups.push(t)}let It;const oo=new WeakSet;class lp{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,ze&&ze.active&&ze.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,oo.has(this)&&(oo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||up(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,iu(this),cp(this);const e=It,s=ii;It=this,ii=!0;try{return this.fn()}finally{bp(this),It=e,ii=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Zl(e);this.deps=this.depsTail=void 0,iu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?oo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Wo(this)&&this.run()}get dirty(){return Wo(this)}}let dp=0,jn,Cn;function up(t,e=!1){if(t.flags|=8,e){t.next=Cn,Cn=t;return}t.next=jn,jn=t}function Xl(){dp++}function Yl(){if(--dp>0)return;if(Cn){let e=Cn;for(Cn=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;jn;){let e=jn;for(jn=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function cp(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function bp(t){let e,s=t.depsTail,n=s;for(;n;){const a=n.prevDep;n.version===-1?(n===s&&(s=a),Zl(n),_2(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}t.deps=e,t.depsTail=s}function Wo(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(pp(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function pp(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Fn))return;t.globalVersion=Fn;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!Wo(t)){t.flags&=-3;return}const s=It,n=ii;It=t,ii=!0;try{cp(t);const a=t.fn(t._value);(e.version===0||De(a,t._value))&&(t._value=a,e.version++)}catch(a){throw e.version++,a}finally{It=s,ii=n,bp(t),t.flags&=-3}}function Zl(t,e=!1){const{dep:s,prevSub:n,nextSub:a}=t;if(n&&(n.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Zl(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function _2(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let ii=!0;const mp=[];function es(){mp.push(ii),ii=!1}function is(){const t=mp.pop();ii=t===void 0?!0:t}function iu(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=It;It=void 0;try{e()}finally{It=s}}}let Fn=0;class h2{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 Er{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}track(e){if(!It||!ii||It===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==It)s=this.activeLink=new h2(It,this),It.deps?(s.prevDep=It.depsTail,It.depsTail.nextDep=s,It.depsTail=s):It.deps=It.depsTail=s,fp(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=It.depsTail,s.nextDep=void 0,It.depsTail.nextDep=s,It.depsTail=s,It.deps===s&&(It.deps=n)}return s}trigger(e){this.version++,Fn++,this.notify(e)}notify(e){Xl();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Yl()}}}function fp(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)fp(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const $a=new WeakMap,_s=Symbol(""),$o=Symbol(""),Vn=Symbol("");function fe(t,e,s){if(ii&&It){let n=$a.get(t);n||$a.set(t,n=new Map);let a=n.get(s);a||(n.set(s,a=new Er),a.map=n,a.key=s),a.track()}}function xi(t,e,s,n,a,r){const o=$a.get(t);if(!o){Fn++;return}const l=d=>{d&&d.trigger()};if(Xl(),e==="clear")o.forEach(l);else{const d=lt(t),c=d&&Wl(s);if(d&&s==="length"){const u=Number(n);o.forEach((b,p)=>{(p==="length"||p===Vn||!Ni(p)&&p>=u)&&l(b)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),c&&l(o.get(Vn)),e){case"add":d?c&&l(o.get("length")):(l(o.get(_s)),Vs(t)&&l(o.get($o)));break;case"delete":d||(l(o.get(_s)),Vs(t)&&l(o.get($o)));break;case"set":Vs(t)&&l(o.get(_s));break}}Yl()}function y2(t,e){const s=$a.get(t);return s&&s.get(e)}function xs(t){const e=ot(t);return e===t?e:(fe(e,"iterate",Vn),Ye(t)?e:e.map(ve))}function jr(t){return fe(t=ot(t),"iterate",Vn),t}const k2={__proto__:null,[Symbol.iterator](){return lo(this,Symbol.iterator,ve)},concat(...t){return xs(this).concat(...t.map(e=>lt(e)?xs(e):e))},entries(){return lo(this,"entries",t=>(t[1]=ve(t[1]),t))},every(t,e){return zi(this,"every",t,e,void 0,arguments)},filter(t,e){return zi(this,"filter",t,e,s=>s.map(ve),arguments)},find(t,e){return zi(this,"find",t,e,ve,arguments)},findIndex(t,e){return zi(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return zi(this,"findLast",t,e,ve,arguments)},findLastIndex(t,e){return zi(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return zi(this,"forEach",t,e,void 0,arguments)},includes(...t){return uo(this,"includes",t)},indexOf(...t){return uo(this,"indexOf",t)},join(t){return xs(this).join(t)},lastIndexOf(...t){return uo(this,"lastIndexOf",t)},map(t,e){return zi(this,"map",t,e,void 0,arguments)},pop(){return vn(this,"pop")},push(...t){return vn(this,"push",t)},reduce(t,...e){return su(this,"reduce",t,e)},reduceRight(t,...e){return su(this,"reduceRight",t,e)},shift(){return vn(this,"shift")},some(t,e){return zi(this,"some",t,e,void 0,arguments)},splice(...t){return vn(this,"splice",t)},toReversed(){return xs(this).toReversed()},toSorted(t){return xs(this).toSorted(t)},toSpliced(...t){return xs(this).toSpliced(...t)},unshift(...t){return vn(this,"unshift",t)},values(){return lo(this,"values",ve)}};function lo(t,e,s){const n=jr(t),a=n[e]();return n!==t&&!Ye(t)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.value&&(r.value=s(r.value)),r}),a}const w2=Array.prototype;function zi(t,e,s,n,a,r){const o=jr(t),l=o!==t&&!Ye(t),d=o[e];if(d!==w2[e]){const b=d.apply(t,r);return l?ve(b):b}let c=s;o!==t&&(l?c=function(b,p){return s.call(this,ve(b),p,t)}:s.length>2&&(c=function(b,p){return s.call(this,b,p,t)}));const u=d.call(o,c,n);return l&&a?a(u):u}function su(t,e,s,n){const a=jr(t);let r=s;return a!==t&&(Ye(t)?s.length>3&&(r=function(o,l,d){return s.call(this,o,l,d,t)}):r=function(o,l,d){return s.call(this,o,ve(l),d,t)}),a[e](r,...n)}function uo(t,e,s){const n=ot(t);fe(n,"iterate",Vn);const a=n[e](...s);return(a===-1||a===!1)&&td(s[0])?(s[0]=ot(s[0]),n[e](...s)):a}function vn(t,e,s=[]){es(),Xl();const n=ot(t)[e].apply(t,s);return Yl(),is(),n}const S2=Fl("__proto__,__v_isRef,__isVue"),vp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ni));function z2(t){Ni(t)||(t=String(t));const e=ot(this);return fe(e,"has",t),e.hasOwnProperty(t)}class gp{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const a=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!a;if(s==="__v_isReadonly")return a;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(a?r?D2:kp:r?yp:hp).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=lt(e);if(!a){let d;if(o&&(d=k2[s]))return d;if(s==="hasOwnProperty")return z2}const l=Reflect.get(e,s,Nt(e)?e:n);return(Ni(s)?vp.has(s):S2(s))||(a||fe(e,"get",s),r)?l:Nt(l)?o&&Wl(s)?l:l.value:Rt(l)?a?Cr(l):ae(l):l}}class _p extends gp{constructor(e=!1){super(!1,e)}set(e,s,n,a){let r=e[s];if(!this._isShallow){const d=ws(r);if(!Ye(n)&&!ws(n)&&(r=ot(r),n=ot(n)),!lt(e)&&Nt(r)&&!Nt(n))return d?!1:(r.value=n,!0)}const o=lt(e)&&Wl(s)?Number(s)<e.length:zt(e,s),l=Reflect.set(e,s,n,Nt(e)?e:a);return e===ot(a)&&(o?De(n,r)&&xi(e,"set",s,n):xi(e,"add",s,n)),l}deleteProperty(e,s){const n=zt(e,s);e[s];const a=Reflect.deleteProperty(e,s);return a&&n&&xi(e,"delete",s,void 0),a}has(e,s){const n=Reflect.has(e,s);return(!Ni(s)||!vp.has(s))&&fe(e,"has",s),n}ownKeys(e){return fe(e,"iterate",lt(e)?"length":_s),Reflect.ownKeys(e)}}class T2 extends gp{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const A2=new _p,P2=new T2,E2=new _p(!0);const Ko=t=>t,ga=t=>Reflect.getPrototypeOf(t);function j2(t,e,s){return function(...n){const a=this.__v_raw,r=ot(a),o=Vs(r),l=t==="entries"||t===Symbol.iterator&&o,d=t==="keys"&&o,c=a[t](...n),u=s?Ko:e?Xo:ve;return!e&&fe(r,"iterate",d?$o:_s),{next(){const{value:b,done:p}=c.next();return p?{value:b,done:p}:{value:l?[u(b[0]),u(b[1])]:u(b),done:p}},[Symbol.iterator](){return this}}}}function _a(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function C2(t,e){const s={get(a){const r=this.__v_raw,o=ot(r),l=ot(a);t||(De(a,l)&&fe(o,"get",a),fe(o,"get",l));const{has:d}=ga(o),c=e?Ko:t?Xo:ve;if(d.call(o,a))return c(r.get(a));if(d.call(o,l))return c(r.get(l));r!==o&&r.get(a)},get size(){const a=this.__v_raw;return!t&&fe(ot(a),"iterate",_s),Reflect.get(a,"size",a)},has(a){const r=this.__v_raw,o=ot(r),l=ot(a);return t||(De(a,l)&&fe(o,"has",a),fe(o,"has",l)),a===l?r.has(a):r.has(a)||r.has(l)},forEach(a,r){const o=this,l=o.__v_raw,d=ot(l),c=e?Ko:t?Xo:ve;return!t&&fe(d,"iterate",_s),l.forEach((u,b)=>a.call(r,c(u),c(b),o))}};return Yt(s,t?{add:_a("add"),set:_a("set"),delete:_a("delete"),clear:_a("clear")}:{add(a){!e&&!Ye(a)&&!ws(a)&&(a=ot(a));const r=ot(this);return ga(r).has.call(r,a)||(r.add(a),xi(r,"add",a,a)),this},set(a,r){!e&&!Ye(r)&&!ws(r)&&(r=ot(r));const o=ot(this),{has:l,get:d}=ga(o);let c=l.call(o,a);c||(a=ot(a),c=l.call(o,a));const u=d.call(o,a);return o.set(a,r),c?De(r,u)&&xi(o,"set",a,r):xi(o,"add",a,r),this},delete(a){const r=ot(this),{has:o,get:l}=ga(r);let d=o.call(r,a);d||(a=ot(a),d=o.call(r,a)),l&&l.call(r,a);const c=r.delete(a);return d&&xi(r,"delete",a,void 0),c},clear(){const a=ot(this),r=a.size!==0,o=a.clear();return r&&xi(a,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(a=>{s[a]=j2(a,t,e)}),s}function Ql(t,e){const s=C2(t,e);return(n,a,r)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?n:Reflect.get(zt(s,a)&&a in n?s:n,a,r)}const x2={get:Ql(!1,!1)},M2={get:Ql(!1,!0)},L2={get:Ql(!0,!1)};const hp=new WeakMap,yp=new WeakMap,kp=new WeakMap,D2=new WeakMap;function I2(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function R2(t){return t.__v_skip||!Object.isExtensible(t)?0:I2(r2(t))}function ae(t){return ws(t)?t:Jl(t,!1,A2,x2,hp)}function wp(t){return Jl(t,!1,E2,M2,yp)}function Cr(t){return Jl(t,!0,P2,L2,kp)}function Jl(t,e,s,n,a){if(!Rt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=a.get(t);if(r)return r;const o=R2(t);if(o===0)return t;const l=new Proxy(t,o===2?n:s);return a.set(t,l),l}function Hs(t){return ws(t)?Hs(t.__v_raw):!!(t&&t.__v_isReactive)}function ws(t){return!!(t&&t.__v_isReadonly)}function Ye(t){return!!(t&&t.__v_isShallow)}function td(t){return t?!!t.__v_raw:!1}function ot(t){const e=t&&t.__v_raw;return e?ot(e):t}function O2(t){return!zt(t,"__v_skip")&&Object.isExtensible(t)&&ip(t,"__v_skip",!0),t}const ve=t=>Rt(t)?ae(t):t,Xo=t=>Rt(t)?Cr(t):t;function Nt(t){return t?t.__v_isRef===!0:!1}function st(t){return Sp(t,!1)}function At(t){return Sp(t,!0)}function Sp(t,e){return Nt(t)?t:new N2(t,e)}class N2{constructor(e,s){this.dep=new Er,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:ot(e),this._value=s?e:ve(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Ye(e)||ws(e);e=n?e:ot(e),De(e,s)&&(this._rawValue=e,this._value=n?e:ve(e),this.dep.trigger())}}function qt(t){return Nt(t)?t.value:t}const B2={get:(t,e,s)=>e==="__v_raw"?t:qt(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const a=t[e];return Nt(a)&&!Nt(s)?(a.value=s,!0):Reflect.set(t,e,s,n)}};function zp(t){return Hs(t)?t:new Proxy(t,B2)}class q2{constructor(e){this.__v_isRef=!0,this._value=void 0;const s=this.dep=new Er,{get:n,set:a}=e(s.track.bind(s),s.trigger.bind(s));this._get=n,this._set=a}get value(){return this._value=this._get()}set value(e){this._set(e)}}function G2(t){return new q2(t)}function xr(t){const e=lt(t)?new Array(t.length):{};for(const s in t)e[s]=Tp(t,s);return e}class F2{constructor(e,s,n){this._object=e,this._key=s,this._defaultValue=n,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 y2(ot(this._object),this._key)}}class V2{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 Vt(t,e,s){return Nt(t)?t:ct(t)?new V2(t):Rt(t)&&arguments.length>1?Tp(t,e,s):st(t)}function Tp(t,e,s){const n=t[e];return Nt(n)?n:new F2(t,e,s)}class H2{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Er(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&It!==this)return up(this,!0),!0}get value(){const e=this.dep.track();return pp(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function U2(t,e,s=!1){let n,a;return ct(t)?n=t:(n=t.get,a=t.set),new H2(n,a,s)}const ha={},Ka=new WeakMap;let fs;function W2(t,e=!1,s=fs){if(s){let n=Ka.get(s);n||Ka.set(s,n=[]),n.push(t)}}function $2(t,e,s=wt){const{immediate:n,deep:a,once:r,scheduler:o,augmentJob:l,call:d}=s,c=y=>a?y:Ye(y)||a===!1||a===0?Mi(y,1):Mi(y);let u,b,p,m,f=!1,v=!1;if(Nt(t)?(b=()=>t.value,f=Ye(t)):Hs(t)?(b=()=>c(t),f=!0):lt(t)?(v=!0,f=t.some(y=>Hs(y)||Ye(y)),b=()=>t.map(y=>{if(Nt(y))return y.value;if(Hs(y))return c(y);if(ct(y))return d?d(y,2):y()})):ct(t)?e?b=d?()=>d(t,2):t:b=()=>{if(p){es();try{p()}finally{is()}}const y=fs;fs=u;try{return d?d(t,3,[m]):t(m)}finally{fs=y}}:b=ei,e&&a){const y=b,w=a===!0?1/0:a;b=()=>Mi(y(),w)}const k=g2(),h=()=>{u.stop(),k&&k.active&&Hl(k.effects,u)};if(r&&e){const y=e;e=(...w)=>{y(...w),h()}}let g=v?new Array(t.length).fill(ha):ha;const _=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(e){const w=u.run();if(a||f||(v?w.some((P,E)=>De(P,g[E])):De(w,g))){p&&p();const P=fs;fs=u;try{const E=[w,g===ha?void 0:v&&g[0]===ha?[]:g,m];d?d(e,3,E):e(...E),g=w}finally{fs=P}}}else u.run()};return l&&l(_),u=new lp(b),u.scheduler=o?()=>o(_,!1):_,m=y=>W2(y,!1,u),p=u.onStop=()=>{const y=Ka.get(u);if(y){if(d)d(y,4);else for(const w of y)w();Ka.delete(u)}},e?n?_(!0):g=u.run():o?o(_.bind(null,!0),!0):u.run(),h.pause=u.pause.bind(u),h.resume=u.resume.bind(u),h.stop=h,h}function Mi(t,e=1/0,s){if(e<=0||!Rt(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,Nt(t))Mi(t.value,e,s);else if(lt(t))for(let n=0;n<t.length;n++)Mi(t[n],e,s);else if(Jb(t)||Vs(t))t.forEach(n=>{Mi(n,e,s)});else if(ep(t)){for(const n in t)Mi(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Mi(t[n],e,s)}return t}/**
|
|
10
|
+
**/let Oe;class Op{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Oe,!e&&Oe&&(this.index=(Oe.scopes||(Oe.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=Oe;try{return Oe=this,e()}finally{Oe=s}}}on(){Oe=this}off(){Oe=this.parent}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0}}}function io(t){return new Op(t)}function X2(){return Oe}function wi(t,e=!1){Oe&&Oe.cleanups.push(t)}let Zt;const Lo=new WeakSet;class Np{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,Oe&&Oe.active&&Oe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Lo.has(this)&&(Lo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gp(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Id(this),qp(this);const e=Zt,s=hi;Zt=this,hi=!0;try{return this.fn()}finally{Fp(this),Zt=e,hi=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Pu(e);this.deps=this.depsTail=void 0,Id(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Lo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){yl(this)&&this.run()}get dirty(){return yl(this)}}let Bp=0,Yn,$n;function Gp(t,e=!1){if(t.flags|=8,e){t.next=$n,$n=t;return}t.next=Yn,Yn=t}function Au(){Bp++}function Tu(){if(--Bp>0)return;if($n){let e=$n;for($n=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Yn;){let e=Yn;for(Yn=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function qp(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Fp(t){let e,s=t.depsTail,n=s;for(;n;){const a=n.prevDep;n.version===-1?(n===s&&(s=a),Pu(n),Y2(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=a}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&&(Hp(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Hp(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===oa))return;t.globalVersion=oa;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!yl(t)){t.flags&=-3;return}const s=Zt,n=hi;Zt=t,hi=!0;try{qp(t);const a=t.fn(t._value);(e.version===0||Ve(a,t._value))&&(t._value=a,e.version++)}catch(a){throw e.version++,a}finally{Zt=s,hi=n,Fp(t),t.flags&=-3}}function Pu(t,e=!1){const{dep:s,prevSub:n,nextSub:a}=t;if(n&&(n.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Pu(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Y2(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let hi=!0;const Vp=[];function gs(){Vp.push(hi),hi=!1}function hs(){const t=Vp.pop();hi=t===void 0?!0:t}function Id(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=Zt;Zt=void 0;try{e()}finally{Zt=s}}}let oa=0;class $2{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 so{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}track(e){if(!Zt||!hi||Zt===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Zt)s=this.activeLink=new $2(Zt,this),Zt.deps?(s.prevDep=Zt.depsTail,Zt.depsTail.nextDep=s,Zt.depsTail=s):Zt.deps=Zt.depsTail=s,Up(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=Zt.depsTail,s.nextDep=void 0,Zt.depsTail.nextDep=s,Zt.depsTail=s,Zt.deps===s&&(Zt.deps=n)}return s}trigger(e){this.version++,oa++,this.notify(e)}notify(e){Au();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Tu()}}}function Up(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Up(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const yr=new WeakMap,Ms=Symbol(""),kl=Symbol(""),la=Symbol("");function je(t,e,s){if(hi&&Zt){let n=yr.get(t);n||yr.set(t,n=new Map);let a=n.get(s);a||(n.set(s,a=new so),a.map=n,a.key=s),a.track()}}function Ki(t,e,s,n,a,r){const o=yr.get(t);if(!o){oa++;return}const l=u=>{u&&u.trigger()};if(Au(),e==="clear")o.forEach(l);else{const u=ft(t),c=u&&zu(s);if(u&&s==="length"){const d=Number(n);o.forEach((b,p)=>{(p==="length"||p===la||!es(p)&&p>=d)&&l(b)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),c&&l(o.get(la)),e){case"add":u?c&&l(o.get("length")):(l(o.get(Ms)),rn(t)&&l(o.get(kl)));break;case"delete":u||(l(o.get(Ms)),rn(t)&&l(o.get(kl)));break;case"set":rn(t)&&l(o.get(Ms));break}}Tu()}function Z2(t,e){const s=yr.get(t);return s&&s.get(e)}function Ws(t){const e=pt(t);return e===t?e:(je(e,"iterate",la),li(t)?e:e.map(Ce))}function no(t){return je(t=pt(t),"iterate",la),t}const Q2={__proto__:null,[Symbol.iterator](){return Do(this,Symbol.iterator,Ce)},concat(...t){return Ws(this).concat(...t.map(e=>ft(e)?Ws(e):e))},entries(){return Do(this,"entries",t=>(t[1]=Ce(t[1]),t))},every(t,e){return qi(this,"every",t,e,void 0,arguments)},filter(t,e){return qi(this,"filter",t,e,s=>s.map(Ce),arguments)},find(t,e){return qi(this,"find",t,e,Ce,arguments)},findIndex(t,e){return qi(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return qi(this,"findLast",t,e,Ce,arguments)},findLastIndex(t,e){return qi(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return qi(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ro(this,"includes",t)},indexOf(...t){return Ro(this,"indexOf",t)},join(t){return Ws(this).join(t)},lastIndexOf(...t){return Ro(this,"lastIndexOf",t)},map(t,e){return qi(this,"map",t,e,void 0,arguments)},pop(){return Ln(this,"pop")},push(...t){return Ln(this,"push",t)},reduce(t,...e){return Ld(this,"reduce",t,e)},reduceRight(t,...e){return Ld(this,"reduceRight",t,e)},shift(){return Ln(this,"shift")},some(t,e){return qi(this,"some",t,e,void 0,arguments)},splice(...t){return Ln(this,"splice",t)},toReversed(){return Ws(this).toReversed()},toSorted(t){return Ws(this).toSorted(t)},toSpliced(...t){return Ws(this).toSpliced(...t)},unshift(...t){return Ln(this,"unshift",t)},values(){return Do(this,"values",Ce)}};function Do(t,e,s){const n=no(t),a=n[e]();return n!==t&&!li(t)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.value&&(r.value=s(r.value)),r}),a}const J2=Array.prototype;function qi(t,e,s,n,a,r){const o=no(t),l=o!==t&&!li(t),u=o[e];if(u!==J2[e]){const b=u.apply(t,r);return l?Ce(b):b}let c=s;o!==t&&(l?c=function(b,p){return s.call(this,Ce(b),p,t)}:s.length>2&&(c=function(b,p){return s.call(this,b,p,t)}));const d=u.call(o,c,n);return l&&a?a(d):d}function Ld(t,e,s,n){const a=no(t);let r=s;return a!==t&&(li(t)?s.length>3&&(r=function(o,l,u){return s.call(this,o,l,u,t)}):r=function(o,l,u){return s.call(this,o,Ce(l),u,t)}),a[e](r,...n)}function Ro(t,e,s){const n=pt(t);je(n,"iterate",la);const a=n[e](...s);return(a===-1||a===!1)&&Cu(s[0])?(s[0]=pt(s[0]),n[e](...s)):a}function Ln(t,e,s=[]){gs(),Au();const n=pt(t)[e].apply(t,s);return Tu(),hs(),n}const tv=yu("__proto__,__v_isRef,__isVue"),Wp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(es));function ev(t){es(t)||(t=String(t));const e=pt(this);return je(e,"has",t),e.hasOwnProperty(t)}class Kp{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const a=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!a;if(s==="__v_isReadonly")return a;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(a?r?cv:Zp:r?$p:Yp).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=ft(e);if(!a){let u;if(o&&(u=Q2[s]))return u;if(s==="hasOwnProperty")return ev}const l=Reflect.get(e,s,Jt(e)?e:n);return(es(s)?Wp.has(s):tv(s))||(a||je(e,"get",s),r)?l:Jt(l)?o&&zu(s)?l:l.value:Qt(l)?a?Ea(l):ce(l):l}}class Xp extends Kp{constructor(e=!1){super(!1,e)}set(e,s,n,a){let r=e[s];if(!this._isShallow){const u=Ds(r);if(!li(n)&&!Ds(n)&&(r=pt(r),n=pt(n)),!ft(e)&&Jt(r)&&!Jt(n))return u?!1:(r.value=n,!0)}const o=ft(e)&&zu(s)?Number(s)<e.length:Nt(e,s),l=Reflect.set(e,s,n,Jt(e)?e:a);return e===pt(a)&&(o?Ve(n,r)&&Ki(e,"set",s,n):Ki(e,"add",s,n)),l}deleteProperty(e,s){const n=Nt(e,s);e[s];const a=Reflect.deleteProperty(e,s);return a&&n&&Ki(e,"delete",s,void 0),a}has(e,s){const n=Reflect.has(e,s);return(!es(s)||!Wp.has(s))&&je(e,"has",s),n}ownKeys(e){return je(e,"iterate",ft(e)?"length":Ms),Reflect.ownKeys(e)}}class iv extends Kp{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const sv=new Xp,nv=new iv,av=new Xp(!0);const wl=t=>t,qa=t=>Reflect.getPrototypeOf(t);function rv(t,e,s){return function(...n){const a=this.__v_raw,r=pt(a),o=rn(r),l=t==="entries"||t===Symbol.iterator&&o,u=t==="keys"&&o,c=a[t](...n),d=s?wl:e?Sl:Ce;return!e&&je(r,"iterate",u?kl:Ms),{next(){const{value:b,done:p}=c.next();return p?{value:b,done:p}:{value:l?[d(b[0]),d(b[1])]:d(b),done:p}},[Symbol.iterator](){return this}}}}function Fa(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function ov(t,e){const s={get(a){const r=this.__v_raw,o=pt(r),l=pt(a);t||(Ve(a,l)&&je(o,"get",a),je(o,"get",l));const{has:u}=qa(o),c=e?wl:t?Sl:Ce;if(u.call(o,a))return c(r.get(a));if(u.call(o,l))return c(r.get(l));r!==o&&r.get(a)},get size(){const a=this.__v_raw;return!t&&je(pt(a),"iterate",Ms),Reflect.get(a,"size",a)},has(a){const r=this.__v_raw,o=pt(r),l=pt(a);return t||(Ve(a,l)&&je(o,"has",a),je(o,"has",l)),a===l?r.has(a):r.has(a)||r.has(l)},forEach(a,r){const o=this,l=o.__v_raw,u=pt(l),c=e?wl:t?Sl:Ce;return!t&&je(u,"iterate",Ms),l.forEach((d,b)=>a.call(r,c(d),c(b),o))}};return be(s,t?{add:Fa("add"),set:Fa("set"),delete:Fa("delete"),clear:Fa("clear")}:{add(a){!e&&!li(a)&&!Ds(a)&&(a=pt(a));const r=pt(this);return qa(r).has.call(r,a)||(r.add(a),Ki(r,"add",a,a)),this},set(a,r){!e&&!li(r)&&!Ds(r)&&(r=pt(r));const o=pt(this),{has:l,get:u}=qa(o);let c=l.call(o,a);c||(a=pt(a),c=l.call(o,a));const d=u.call(o,a);return o.set(a,r),c?Ve(r,d)&&Ki(o,"set",a,r):Ki(o,"add",a,r),this},delete(a){const r=pt(this),{has:o,get:l}=qa(r);let u=o.call(r,a);u||(a=pt(a),u=o.call(r,a)),l&&l.call(r,a);const c=r.delete(a);return u&&Ki(r,"delete",a,void 0),c},clear(){const a=pt(this),r=a.size!==0,o=a.clear();return r&&Ki(a,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(a=>{s[a]=rv(a,t,e)}),s}function Eu(t,e){const s=ov(t,e);return(n,a,r)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?n:Reflect.get(Nt(s,a)&&a in n?s:n,a,r)}const lv={get:Eu(!1,!1)},uv={get:Eu(!1,!0)},dv={get:Eu(!0,!1)};const Yp=new WeakMap,$p=new WeakMap,Zp=new WeakMap,cv=new WeakMap;function bv(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pv(t){return t.__v_skip||!Object.isExtensible(t)?0:bv(N2(t))}function ce(t){return Ds(t)?t:ju(t,!1,sv,lv,Yp)}function Qp(t){return ju(t,!1,av,uv,$p)}function Ea(t){return ju(t,!0,nv,dv,Zp)}function ju(t,e,s,n,a){if(!Qt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=a.get(t);if(r)return r;const o=pv(t);if(o===0)return t;const l=new Proxy(t,o===2?n:s);return a.set(t,l),l}function on(t){return Ds(t)?on(t.__v_raw):!!(t&&t.__v_isReactive)}function Ds(t){return!!(t&&t.__v_isReadonly)}function li(t){return!!(t&&t.__v_isShallow)}function Cu(t){return t?!!t.__v_raw:!1}function pt(t){const e=t&&t.__v_raw;return e?pt(e):t}function mv(t){return!Nt(t,"__v_skip")&&Object.isExtensible(t)&&xp(t,"__v_skip",!0),t}const Ce=t=>Qt(t)?ce(t):t,Sl=t=>Qt(t)?Ea(t):t;function Jt(t){return t?t.__v_isRef===!0:!1}function lt(t){return Jp(t,!1)}function Mt(t){return Jp(t,!0)}function Jp(t,e){return Jt(t)?t:new fv(t,e)}class fv{constructor(e,s){this.dep=new so,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:pt(e),this._value=s?e:Ce(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||li(e)||Ds(e);e=n?e:pt(e),Ve(e,s)&&(this._rawValue=e,this._value=n?e:Ce(e),this.dep.trigger())}}function Z(t){return Jt(t)?t.value:t}const vv={get:(t,e,s)=>e==="__v_raw"?t:Z(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const a=t[e];return Jt(a)&&!Jt(s)?(a.value=s,!0):Reflect.set(t,e,s,n)}};function t0(t){return on(t)?t:new Proxy(t,vv)}class gv{constructor(e){this.__v_isRef=!0,this._value=void 0;const s=this.dep=new so,{get:n,set:a}=e(s.track.bind(s),s.trigger.bind(s));this._get=n,this._set=a}get value(){return this._value=this._get()}set value(e){this._set(e)}}function hv(t){return new gv(t)}function ao(t){const e=ft(t)?new Array(t.length):{};for(const s in t)e[s]=e0(t,s);return e}class _v{constructor(e,s,n){this._object=e,this._key=s,this._defaultValue=n,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 Z2(pt(this._object),this._key)}}class yv{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 Ht(t,e,s){return Jt(t)?t:yt(t)?new yv(t):Qt(t)&&arguments.length>1?e0(t,e,s):lt(t)}function e0(t,e,s){const n=t[e];return Jt(n)?n:new _v(t,e,s)}class kv{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new so(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=oa-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Zt!==this)return Gp(this,!0),!0}get value(){const e=this.dep.track();return Hp(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function wv(t,e,s=!1){let n,a;return yt(t)?n=t:(n=t.get,a=t.set),new kv(n,a,s)}const Ha={},kr=new WeakMap;let js;function Sv(t,e=!1,s=js){if(s){let n=kr.get(s);n||kr.set(s,n=[]),n.push(t)}}function zv(t,e,s=Rt){const{immediate:n,deep:a,once:r,scheduler:o,augmentJob:l,call:u}=s,c=k=>a?k:li(k)||a===!1||a===0?Xi(k,1):Xi(k);let d,b,p,m,f=!1,v=!1;if(Jt(t)?(b=()=>t.value,f=li(t)):on(t)?(b=()=>c(t),f=!0):ft(t)?(v=!0,f=t.some(k=>on(k)||li(k)),b=()=>t.map(k=>{if(Jt(k))return k.value;if(on(k))return c(k);if(yt(k))return u?u(k,2):k()})):yt(t)?e?b=u?()=>u(t,2):t:b=()=>{if(p){gs();try{p()}finally{hs()}}const k=js;js=d;try{return u?u(t,3,[m]):t(m)}finally{js=k}}:b=gi,e&&a){const k=b,w=a===!0?1/0:a;b=()=>Xi(k(),w)}const _=X2(),g=()=>{d.stop(),_&&_.active&&wu(_.effects,d)};if(r&&e){const k=e;e=(...w)=>{k(...w),g()}}let h=v?new Array(t.length).fill(Ha):Ha;const y=k=>{if(!(!(d.flags&1)||!d.dirty&&!k))if(e){const w=d.run();if(a||f||(v?w.some((P,A)=>Ve(P,h[A])):Ve(w,h))){p&&p();const P=js;js=d;try{const A=[w,h===Ha?void 0:v&&h[0]===Ha?[]:h,m];u?u(e,3,A):e(...A),h=w}finally{js=P}}}else d.run()};return l&&l(y),d=new Np(b),d.scheduler=o?()=>o(y,!1):y,m=k=>Sv(k,!1,d),p=d.onStop=()=>{const k=kr.get(d);if(k){if(u)u(k,4);else for(const w of k)w();kr.delete(d)}},e?n?y(!0):h=d.run():o?o(y.bind(null,!0),!0):d.run(),g.pause=d.pause.bind(d),g.resume=d.resume.bind(d),g.stop=g,g}function Xi(t,e=1/0,s){if(e<=0||!Qt(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,Jt(t))Xi(t.value,e,s);else if(ft(t))for(let n=0;n<t.length;n++)Xi(t[n],e,s);else if(jp(t)||rn(t))t.forEach(n=>{Xi(n,e,s)});else if(Mp(t)){for(const n in t)Xi(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Xi(t[n],e,s)}return t}/**
|
|
11
11
|
* @vue/runtime-core v3.5.13
|
|
12
12
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
13
|
* @license MIT
|
|
14
|
-
**/function ua(t,e,s,n){try{return n?t(...n):t()}catch(a){ca(a,e,s)}}function si(t,e,s,n){if(ct(t)){const a=ua(t,e,s,n);return a&&Ul(a)&&a.catch(r=>{ca(r,e,s)}),a}if(lt(t)){const a=[];for(let r=0;r<t.length;r++)a.push(si(t[r],e,s,n));return a}}function ca(t,e,s,n=!0){const a=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||wt;if(e){let l=e.parent;const d=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const u=l.ec;if(u){for(let b=0;b<u.length;b++)if(u[b](t,d,c)===!1)return}l=l.parent}if(r){es(),ua(r,null,10,[t,d,c]),is();return}}K2(t,s,a,n,o)}function K2(t,e,s,n=!0,a=!1){if(a)throw t;console.error(t)}const Te=[];let vi=-1;const Us=[];let Wi=null,Is=0;const Ap=Promise.resolve();let Xa=null;function oi(t){const e=Xa||Ap;return t?e.then(this?t.bind(this):t):e}function X2(t){let e=vi+1,s=Te.length;for(;e<s;){const n=e+s>>>1,a=Te[n],r=Hn(a);r<t||r===t&&a.flags&2?e=n+1:s=n}return e}function ed(t){if(!(t.flags&1)){const e=Hn(t),s=Te[Te.length-1];!s||!(t.flags&2)&&e>=Hn(s)?Te.push(t):Te.splice(X2(e),0,t),t.flags|=1,Pp()}}function Pp(){Xa||(Xa=Ap.then(jp))}function Ya(t){lt(t)?Us.push(...t):Wi&&t.id===-1?Wi.splice(Is+1,0,t):t.flags&1||(Us.push(t),t.flags|=1),Pp()}function nu(t,e,s=vi+1){for(;s<Te.length;s++){const n=Te[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Te.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Ep(t){if(Us.length){const e=[...new Set(Us)].sort((s,n)=>Hn(s)-Hn(n));if(Us.length=0,Wi){Wi.push(...e);return}for(Wi=e,Is=0;Is<Wi.length;Is++){const s=Wi[Is];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Wi=null,Is=0}}const Hn=t=>t.id==null?t.flags&2?-1:1/0:t.id;function jp(t){try{for(vi=0;vi<Te.length;vi++){const e=Te[vi];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ua(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;vi<Te.length;vi++){const e=Te[vi];e&&(e.flags&=-2)}vi=-1,Te.length=0,Ep(),Xa=null,(Te.length||Us.length)&&jp()}}let re=null,Cp=null;function Za(t){const e=re;return re=t,Cp=t&&t.type.__scopeId||null,e}function Pi(t,e=re,s){if(!e||t._n)return t;const n=(...a)=>{n._d&&hu(-1);const r=Za(e);let o;try{o=t(...a)}finally{Za(r),n._d&&hu(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Qs(t,e){if(re===null)return t;const s=qr(re),n=t.dirs||(t.dirs=[]);for(let a=0;a<e.length;a++){let[r,o,l,d=wt]=e[a];r&&(ct(r)&&(r={mounted:r,updated:r}),r.deep&&Mi(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:d}))}return t}function us(t,e,s,n){const a=t.dirs,r=e&&e.dirs;for(let o=0;o<a.length;o++){const l=a[o];r&&(l.oldValue=r[o].value);let d=l.dir[n];d&&(es(),si(d,s,8,[t.el,l,t,e]),is())}}const xp=Symbol("_vte"),Mp=t=>t.__isTeleport,xn=t=>t&&(t.disabled||t.disabled===""),au=t=>t&&(t.defer||t.defer===""),ru=t=>typeof SVGElement<"u"&&t instanceof SVGElement,ou=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Yo=(t,e)=>{const s=t&&t.to;return Ut(s)?e?e(s):null:s},Lp={name:"Teleport",__isTeleport:!0,process(t,e,s,n,a,r,o,l,d,c){const{mc:u,pc:b,pbc:p,o:{insert:m,querySelector:f,createText:v,createComment:k}}=c,h=xn(e.props);let{shapeFlag:g,children:_,dynamicChildren:y}=e;if(t==null){const w=e.el=v(""),P=e.anchor=v("");m(w,s,n),m(P,s,n);const E=(z,L)=>{g&16&&(a&&a.isCE&&(a.ce._teleportTarget=z),u(_,z,L,a,r,o,l,d))},j=()=>{const z=e.target=Yo(e.props,f),L=Dp(z,e,v,m);z&&(o!=="svg"&&ru(z)?o="svg":o!=="mathml"&&ou(z)&&(o="mathml"),h||(E(z,L),Oa(e,!1)))};h&&(E(s,P),Oa(e,!0)),au(e.props)?Se(()=>{j(),e.el.__isMounted=!0},r):j()}else{if(au(e.props)&&!t.el.__isMounted){Se(()=>{Lp.process(t,e,s,n,a,r,o,l,d,c),delete t.el.__isMounted},r);return}e.el=t.el,e.targetStart=t.targetStart;const w=e.anchor=t.anchor,P=e.target=t.target,E=e.targetAnchor=t.targetAnchor,j=xn(t.props),z=j?s:P,L=j?w:E;if(o==="svg"||ru(P)?o="svg":(o==="mathml"||ou(P))&&(o="mathml"),y?(p(t.dynamicChildren,y,z,a,r,o,l),od(t,e,!0)):d||b(t,e,z,L,a,r,o,l,!1),h)j?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):ya(e,s,w,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const O=e.target=Yo(e.props,f);O&&ya(e,O,null,c,0)}else j&&ya(e,P,E,c,1);Oa(e,h)}},remove(t,e,s,{um:n,o:{remove:a}},r){const{shapeFlag:o,children:l,anchor:d,targetStart:c,targetAnchor:u,target:b,props:p}=t;if(b&&(a(c),a(u)),r&&a(d),o&16){const m=r||!xn(p);for(let f=0;f<l.length;f++){const v=l[f];n(v,e,s,m,!!v.dynamicChildren)}}},move:ya,hydrate:Y2};function ya(t,e,s,{o:{insert:n},m:a},r=2){r===0&&n(t.targetAnchor,e,s);const{el:o,anchor:l,shapeFlag:d,children:c,props:u}=t,b=r===2;if(b&&n(o,e,s),(!b||xn(u))&&d&16)for(let p=0;p<c.length;p++)a(c[p],e,s,2);b&&n(l,e,s)}function Y2(t,e,s,n,a,r,{o:{nextSibling:o,parentNode:l,querySelector:d,insert:c,createText:u}},b){const p=e.target=Yo(e.props,d);if(p){const m=xn(e.props),f=p._lpa||p.firstChild;if(e.shapeFlag&16)if(m)e.anchor=b(o(t),e,l(t),s,n,a,r),e.targetStart=f,e.targetAnchor=f&&o(f);else{e.anchor=o(t);let v=f;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")e.targetStart=v;else if(v.data==="teleport anchor"){e.targetAnchor=v,p._lpa=e.targetAnchor&&o(e.targetAnchor);break}}v=o(v)}e.targetAnchor||Dp(p,e,u,c),b(f&&o(f),e,p,s,n,a,r)}Oa(e,m)}return e.anchor&&o(e.anchor)}const Z2=Lp;function Oa(t,e){const s=t.ctx;if(s&&s.ut){let n,a;for(e?(n=t.el,a=t.anchor):(n=t.targetStart,a=t.targetAnchor);n&&n!==a;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function Dp(t,e,s,n){const a=e.targetStart=s(""),r=e.targetAnchor=s("");return a[xp]=r,t&&(n(a,t),n(r,t)),r}const $i=Symbol("_leaveCb"),ka=Symbol("_enterCb");function Ip(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return li(()=>{t.isMounted=!0}),di(()=>{t.isUnmounting=!0}),t}const Ue=[Function,Array],Rp={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},Op=t=>{const e=t.subTree;return e.component?Op(e.component):e},Q2={name:"BaseTransition",props:Rp,setup(t,{slots:e}){const s=Gi(),n=Ip();return()=>{const a=e.default&&id(e.default(),!0);if(!a||!a.length)return;const r=Np(a),o=ot(t),{mode:l}=o;if(n.isLeaving)return co(r);const d=lu(r);if(!d)return co(r);let c=Un(d,o,n,s,b=>c=b);d.type!==se&&Ss(d,c);let u=s.subTree&&lu(s.subTree);if(u&&u.type!==se&&!_i(d,u)&&Op(s).type!==se){let b=Un(u,o,n,s);if(Ss(u,b),l==="out-in"&&d.type!==se)return n.isLeaving=!0,b.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete b.afterLeave,u=void 0},co(r);l==="in-out"&&d.type!==se?b.delayLeave=(p,m,f)=>{const v=Bp(n,u);v[String(u.key)]=u,p[$i]=()=>{m(),p[$i]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{f(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Np(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==se){e=s;break}}return e}const J2=Q2;function Bp(t,e){const{leavingVNodes:s}=t;let n=s.get(e.type);return n||(n=Object.create(null),s.set(e.type,n)),n}function Un(t,e,s,n,a){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:d,onEnter:c,onAfterEnter:u,onEnterCancelled:b,onBeforeLeave:p,onLeave:m,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:k,onAppear:h,onAfterAppear:g,onAppearCancelled:_}=e,y=String(t.key),w=Bp(s,t),P=(z,L)=>{z&&si(z,n,9,L)},E=(z,L)=>{const O=L[1];P(z,L),lt(z)?z.every(x=>x.length<=1)&&O():z.length<=1&&O()},j={mode:o,persisted:l,beforeEnter(z){let L=d;if(!s.isMounted)if(r)L=k||d;else return;z[$i]&&z[$i](!0);const O=w[y];O&&_i(t,O)&&O.el[$i]&&O.el[$i](),P(L,[z])},enter(z){let L=c,O=u,x=b;if(!s.isMounted)if(r)L=h||c,O=g||u,x=_||b;else return;let M=!1;const V=z[ka]=X=>{M||(M=!0,X?P(x,[z]):P(O,[z]),j.delayedLeave&&j.delayedLeave(),z[ka]=void 0)};L?E(L,[z,V]):V()},leave(z,L){const O=String(t.key);if(z[ka]&&z[ka](!0),s.isUnmounting)return L();P(p,[z]);let x=!1;const M=z[$i]=V=>{x||(x=!0,L(),V?P(v,[z]):P(f,[z]),z[$i]=void 0,w[O]===t&&delete w[O])};w[O]=t,m?E(m,[z,M]):M()},clone(z){const L=Un(z,e,s,n,a);return a&&a(L),L}};return j}function co(t){if(Mr(t))return t=Qi(t),t.children=null,t}function lu(t){if(!Mr(t))return Mp(t.type)&&t.children?Np(t.children):t;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&ct(s.default))return s.default()}}function Ss(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Ss(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 id(t,e=!1,s){let n=[],a=0;for(let r=0;r<t.length;r++){let o=t[r];const l=s==null?o.key:String(s)+String(o.key!=null?o.key:r);o.type===Tt?(o.patchFlag&128&&a++,n=n.concat(id(o.children,e,l))):(e||o.type!==se)&&n.push(l!=null?Qi(o,{key:l}):o)}if(a>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function Bi(t,e){return ct(t)?Yt({name:t.name},e,{setup:t}):t}function qp(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Qa(t,e,s,n,a=!1){if(lt(t)){t.forEach((f,v)=>Qa(f,e&&(lt(e)?e[v]:e),s,n,a));return}if(Ws(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Qa(t,e,s,n.component.subTree);return}const r=n.shapeFlag&4?qr(n.component):n.el,o=a?null:r,{i:l,r:d}=t,c=e&&e.r,u=l.refs===wt?l.refs={}:l.refs,b=l.setupState,p=ot(b),m=b===wt?()=>!1:f=>zt(p,f);if(c!=null&&c!==d&&(Ut(c)?(u[c]=null,m(c)&&(b[c]=null)):Nt(c)&&(c.value=null)),ct(d))ua(d,l,12,[o,u]);else{const f=Ut(d),v=Nt(d);if(f||v){const k=()=>{if(t.f){const h=f?m(d)?b[d]:u[d]:d.value;a?lt(h)&&Hl(h,r):lt(h)?h.includes(r)||h.push(r):f?(u[d]=[r],m(d)&&(b[d]=u[d])):(d.value=[r],t.k&&(u[t.k]=d.value))}else f?(u[d]=o,m(d)&&(b[d]=o)):v&&(d.value=o,t.k&&(u[t.k]=o))};o?(k.id=-1,Se(k,s)):k()}}}Ar().requestIdleCallback;Ar().cancelIdleCallback;const Ws=t=>!!t.type.__asyncLoader,Mr=t=>t.type.__isKeepAlive;function t3(t,e){Fp(t,"a",e)}function Gp(t,e){Fp(t,"da",e)}function Fp(t,e,s=be){const n=t.__wdc||(t.__wdc=()=>{let a=s;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Lr(e,n,s),s){let a=s.parent;for(;a&&a.parent;)Mr(a.parent.vnode)&&e3(n,e,s,a),a=a.parent}}function e3(t,e,s,n){const a=Lr(e,t,n,!0);Rr(()=>{Hl(n[e],a)},s)}function Lr(t,e,s=be,n=!1){if(s){const a=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{es();const l=Ts(s),d=si(e,s,t,o);return l(),is(),d});return n?a.unshift(r):a.push(r),r}}const qi=t=>(e,s=be)=>{(!Kn||t==="sp")&&Lr(t,(...n)=>e(...n),s)},Dr=qi("bm"),li=qi("m"),sd=qi("bu"),Ir=qi("u"),di=qi("bum"),Rr=qi("um"),i3=qi("sp"),s3=qi("rtg"),n3=qi("rtc");function a3(t,e=be){Lr("ec",t,e)}const nd="components",r3="directives";function o3(t,e){return ad(nd,t,!0,e)||t}const Vp=Symbol.for("v-ndc");function l3(t){return Ut(t)?ad(nd,t,!1)||t:t||Vp}function Or(t){return ad(r3,t)}function ad(t,e,s=!0,n=!1){const a=re||be;if(a){const r=a.type;if(t===nd){const l=J3(r,!1);if(l&&(l===e||l===Ce(e)||l===dn(Ce(e))))return r}const o=du(a[t]||r[t],e)||du(a.appContext[t],e);return!o&&n?r:o}}function du(t,e){return t&&(t[e]||t[Ce(e)]||t[dn(Ce(e))])}function uu(t,e,s,n){let a;const r=s,o=lt(t);if(o||Ut(t)){const l=o&&Hs(t);let d=!1;l&&(d=!Ye(t),t=jr(t)),a=new Array(t.length);for(let c=0,u=t.length;c<u;c++)a[c]=e(d?ve(t[c]):t[c],c,void 0,r)}else if(typeof t=="number"){a=new Array(t);for(let l=0;l<t;l++)a[l]=e(l+1,l,void 0,r)}else if(Rt(t))if(t[Symbol.iterator])a=Array.from(t,(l,d)=>e(l,d,void 0,r));else{const l=Object.keys(t);a=new Array(l.length);for(let d=0,c=l.length;d<c;d++){const u=l[d];a[d]=e(t[u],u,d,r)}}else a=[];return a}function CA(t,e){for(let s=0;s<e.length;s++){const n=e[s];if(lt(n))for(let a=0;a<n.length;a++)t[n[a].name]=n[a].fn;else n&&(t[n.name]=n.key?(...a)=>{const r=n.fn(...a);return r&&(r.key=n.key),r}:n.fn)}return t}function xA(t,e,s={},n,a){if(re.ce||re.parent&&Ws(re.parent)&&re.parent.ce)return e!=="default"&&(s.name=e),qe(),$n(Tt,null,[N("slot",s,n)],64);let r=t[e];r&&r._c&&(r._d=!1),qe();const o=r&&Hp(r(s)),l=s.key||o&&o.key,d=$n(Tt,{key:(l&&!Ni(l)?l:`_${e}`)+""},o||[],o&&t._===1?64:-2);return!a&&d.scopeId&&(d.slotScopeIds=[d.scopeId+"-s"]),r&&r._c&&(r._d=!0),d}function Hp(t){return t.some(e=>zs(e)?!(e.type===se||e.type===Tt&&!Hp(e.children)):!0)?t:null}const Zo=t=>t?b0(t)?qr(t):Zo(t.parent):null,Mn=Yt(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=>Zo(t.parent),$root:t=>Zo(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Wp(t),$forceUpdate:t=>t.f||(t.f=()=>{ed(t.update)}),$nextTick:t=>t.n||(t.n=oi.bind(t.proxy)),$watch:t=>C3.bind(t)}),bo=(t,e)=>t!==wt&&!t.__isScriptSetup&&zt(t,e),d3={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:a,props:r,accessCache:o,type:l,appContext:d}=t;let c;if(e[0]!=="$"){const m=o[e];if(m!==void 0)switch(m){case 1:return n[e];case 2:return a[e];case 4:return s[e];case 3:return r[e]}else{if(bo(n,e))return o[e]=1,n[e];if(a!==wt&&zt(a,e))return o[e]=2,a[e];if((c=t.propsOptions[0])&&zt(c,e))return o[e]=3,r[e];if(s!==wt&&zt(s,e))return o[e]=4,s[e];Qo&&(o[e]=0)}}const u=Mn[e];let b,p;if(u)return e==="$attrs"&&fe(t.attrs,"get",""),u(t);if((b=l.__cssModules)&&(b=b[e]))return b;if(s!==wt&&zt(s,e))return o[e]=4,s[e];if(p=d.config.globalProperties,zt(p,e))return p[e]},set({_:t},e,s){const{data:n,setupState:a,ctx:r}=t;return bo(a,e)?(a[e]=s,!0):n!==wt&&zt(n,e)?(n[e]=s,!0):zt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:a,propsOptions:r}},o){let l;return!!s[o]||t!==wt&&zt(t,o)||bo(e,o)||(l=r[0])&&zt(l,o)||zt(n,o)||zt(Mn,o)||zt(a.config.globalProperties,o)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:zt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Ja(t){return lt(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}function MA(t,e){return!t||!e?t||e:lt(t)&<(e)?t.concat(e):Yt({},Ja(t),Ja(e))}function LA(t){const e=Gi();let s=t();return sl(),Ul(s)&&(s=s.catch(n=>{throw Ts(e),n})),[s,()=>Ts(e)]}let Qo=!0;function u3(t){const e=Wp(t),s=t.proxy,n=t.ctx;Qo=!1,e.beforeCreate&&cu(e.beforeCreate,t,"bc");const{data:a,computed:r,methods:o,watch:l,provide:d,inject:c,created:u,beforeMount:b,mounted:p,beforeUpdate:m,updated:f,activated:v,deactivated:k,beforeDestroy:h,beforeUnmount:g,destroyed:_,unmounted:y,render:w,renderTracked:P,renderTriggered:E,errorCaptured:j,serverPrefetch:z,expose:L,inheritAttrs:O,components:x,directives:M,filters:V}=e;if(c&&c3(c,n,null),o)for(const dt in o){const at=o[dt];ct(at)&&(n[dt]=at.bind(s))}if(a){const dt=a.call(s,s);Rt(dt)&&(t.data=ae(dt))}if(Qo=!0,r)for(const dt in r){const at=r[dt],_t=ct(at)?at.bind(s,s):ct(at.get)?at.get.bind(s,s):ei,Et=!ct(at)&&ct(at.set)?at.set.bind(s):ei,Mt=F({get:_t,set:Et});Object.defineProperty(n,dt,{enumerable:!0,configurable:!0,get:()=>Mt.value,set:Ot=>Mt.value=Ot})}if(l)for(const dt in l)Up(l[dt],n,s,dt);if(d){const dt=ct(d)?d.call(s):d;Reflect.ownKeys(dt).forEach(at=>{je(at,dt[at])})}u&&cu(u,t,"c");function J(dt,at){lt(at)?at.forEach(_t=>dt(_t.bind(s))):at&&dt(at.bind(s))}if(J(Dr,b),J(li,p),J(sd,m),J(Ir,f),J(t3,v),J(Gp,k),J(a3,j),J(n3,P),J(s3,E),J(di,g),J(Rr,y),J(i3,z),lt(L))if(L.length){const dt=t.exposed||(t.exposed={});L.forEach(at=>{Object.defineProperty(dt,at,{get:()=>s[at],set:_t=>s[at]=_t})})}else t.exposed||(t.exposed={});w&&t.render===ei&&(t.render=w),O!=null&&(t.inheritAttrs=O),x&&(t.components=x),M&&(t.directives=M),z&&qp(t)}function c3(t,e,s=ei){lt(t)&&(t=Jo(t));for(const n in t){const a=t[n];let r;Rt(a)?"default"in a?r=Dt(a.from||n,a.default,!0):r=Dt(a.from||n):r=Dt(a),Nt(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[n]=r}}function cu(t,e,s){si(lt(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Up(t,e,s,n){let a=n.includes(".")?n0(s,n):()=>s[n];if(Ut(t)){const r=e[t];ct(r)&&ht(a,r)}else if(ct(t))ht(a,t.bind(s));else if(Rt(t))if(lt(t))t.forEach(r=>Up(r,e,s,n));else{const r=ct(t.handler)?t.handler.bind(s):e[t.handler];ct(r)&&ht(a,r,t)}}function Wp(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:a,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,l=r.get(e);let d;return l?d=l:!a.length&&!s&&!n?d=e:(d={},a.length&&a.forEach(c=>tr(d,c,o,!0)),tr(d,e,o)),Rt(e)&&r.set(e,d),d}function tr(t,e,s,n=!1){const{mixins:a,extends:r}=e;r&&tr(t,r,s,!0),a&&a.forEach(o=>tr(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=b3[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const b3={data:bu,props:pu,emits:pu,methods:Tn,computed:Tn,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:Tn,directives:Tn,watch:m3,provide:bu,inject:p3};function bu(t,e){return e?t?function(){return Yt(ct(t)?t.call(this,this):t,ct(e)?e.call(this,this):e)}:e:t}function p3(t,e){return Tn(Jo(t),Jo(e))}function Jo(t){if(lt(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function ye(t,e){return t?[...new Set([].concat(t,e))]:e}function Tn(t,e){return t?Yt(Object.create(null),t,e):e}function pu(t,e){return t?lt(t)&<(e)?[...new Set([...t,...e])]:Yt(Object.create(null),Ja(t),Ja(e??{})):e}function m3(t,e){if(!t)return e;if(!e)return t;const s=Yt(Object.create(null),t);for(const n in e)s[n]=ye(t[n],e[n]);return s}function $p(){return{app:null,config:{isNativeTag:n2,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 f3=0;function v3(t,e){return function(n,a=null){ct(n)||(n=Yt({},n)),a!=null&&!Rt(a)&&(a=null);const r=$p(),o=new WeakSet,l=[];let d=!1;const c=r.app={_uid:f3++,_component:n,_props:a,_container:null,_context:r,_instance:null,version:ev,get config(){return r.config},set config(u){},use(u,...b){return o.has(u)||(u&&ct(u.install)?(o.add(u),u.install(c,...b)):ct(u)&&(o.add(u),u(c,...b))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,b){return b?(r.components[u]=b,c):r.components[u]},directive(u,b){return b?(r.directives[u]=b,c):r.directives[u]},mount(u,b,p){if(!d){const m=c._ceVNode||N(n,a);return m.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),t(m,u,p),d=!0,c._container=u,u.__vue_app__=c,qr(m.component)}},onUnmount(u){l.push(u)},unmount(){d&&(si(l,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(u,b){return r.provides[u]=b,c},runWithContext(u){const b=$s;$s=c;try{return u()}finally{$s=b}}};return c}}let $s=null;function je(t,e){if(be){let s=be.provides;const n=be.parent&&be.parent.provides;n===s&&(s=be.provides=Object.create(n)),s[t]=e}}function Dt(t,e,s=!1){const n=be||re;if(n||$s){const a=$s?$s._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(a&&t in a)return a[t];if(arguments.length>1)return s&&ct(e)?e.call(n&&n.proxy):e}}const Kp={},Xp=()=>Object.create(Kp),Yp=t=>Object.getPrototypeOf(t)===Kp;function g3(t,e,s,n=!1){const a={},r=Xp();t.propsDefaults=Object.create(null),Zp(t,e,a,r);for(const o in t.propsOptions[0])o in a||(a[o]=void 0);s?t.props=n?a:wp(a):t.type.props?t.props=a:t.props=r,t.attrs=r}function _3(t,e,s,n){const{props:a,attrs:r,vnode:{patchFlag:o}}=t,l=ot(a),[d]=t.propsOptions;let c=!1;if((n||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let b=0;b<u.length;b++){let p=u[b];if(Br(t.emitsOptions,p))continue;const m=e[p];if(d)if(zt(r,p))m!==r[p]&&(r[p]=m,c=!0);else{const f=Ce(p);a[f]=tl(d,l,f,m,t,!1)}else m!==r[p]&&(r[p]=m,c=!0)}}}else{Zp(t,e,a,r)&&(c=!0);let u;for(const b in l)(!e||!zt(e,b)&&((u=ts(b))===b||!zt(e,u)))&&(d?s&&(s[b]!==void 0||s[u]!==void 0)&&(a[b]=tl(d,l,b,void 0,t,!0)):delete a[b]);if(r!==l)for(const b in r)(!e||!zt(e,b))&&(delete r[b],c=!0)}c&&xi(t.attrs,"set","")}function Zp(t,e,s,n){const[a,r]=t.propsOptions;let o=!1,l;if(e)for(let d in e){if(En(d))continue;const c=e[d];let u;a&&zt(a,u=Ce(d))?!r||!r.includes(u)?s[u]=c:(l||(l={}))[u]=c:Br(t.emitsOptions,d)||(!(d in n)||c!==n[d])&&(n[d]=c,o=!0)}if(r){const d=ot(s),c=l||wt;for(let u=0;u<r.length;u++){const b=r[u];s[b]=tl(a,d,b,c[b],t,!zt(c,b))}}return o}function tl(t,e,s,n,a,r){const o=t[s];if(o!=null){const l=zt(o,"default");if(l&&n===void 0){const d=o.default;if(o.type!==Function&&!o.skipFactory&&ct(d)){const{propsDefaults:c}=a;if(s in c)n=c[s];else{const u=Ts(a);n=c[s]=d.call(null,e),u()}}else n=d;a.ce&&a.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===ts(s))&&(n=!0))}return n}const h3=new WeakMap;function Qp(t,e,s=!1){const n=s?h3:e.propsCache,a=n.get(t);if(a)return a;const r=t.props,o={},l=[];let d=!1;if(!ct(t)){const u=b=>{d=!0;const[p,m]=Qp(b,e,!0);Yt(o,p),m&&l.push(...m)};!s&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!d)return Rt(t)&&n.set(t,Fs),Fs;if(lt(r))for(let u=0;u<r.length;u++){const b=Ce(r[u]);mu(b)&&(o[b]=wt)}else if(r)for(const u in r){const b=Ce(u);if(mu(b)){const p=r[u],m=o[b]=lt(p)||ct(p)?{type:p}:Yt({},p),f=m.type;let v=!1,k=!0;if(lt(f))for(let h=0;h<f.length;++h){const g=f[h],_=ct(g)&&g.name;if(_==="Boolean"){v=!0;break}else _==="String"&&(k=!1)}else v=ct(f)&&f.name==="Boolean";m[0]=v,m[1]=k,(v||zt(m,"default"))&&l.push(b)}}const c=[o,l];return Rt(t)&&n.set(t,c),c}function mu(t){return t[0]!=="$"&&!En(t)}const Jp=t=>t[0]==="_"||t==="$stable",rd=t=>lt(t)?t.map(Je):[Je(t)],y3=(t,e,s)=>{if(e._n)return e;const n=Pi((...a)=>rd(e(...a)),s);return n._c=!1,n},t0=(t,e,s)=>{const n=t._ctx;for(const a in t){if(Jp(a))continue;const r=t[a];if(ct(r))e[a]=y3(a,r,n);else if(r!=null){const o=rd(r);e[a]=()=>o}}},e0=(t,e)=>{const s=rd(e);t.slots.default=()=>s},i0=(t,e,s)=>{for(const n in e)(s||n!=="_")&&(t[n]=e[n])},k3=(t,e,s)=>{const n=t.slots=Xp();if(t.vnode.shapeFlag&32){const a=e._;a?(i0(n,e,s),s&&ip(n,"_",a,!0)):t0(e,n)}else e&&e0(t,e)},w3=(t,e,s)=>{const{vnode:n,slots:a}=t;let r=!0,o=wt;if(n.shapeFlag&32){const l=e._;l?s&&l===1?r=!1:i0(a,e,s):(r=!e.$stable,t0(e,a)),o=e}else e&&(e0(t,e),o={default:1});if(r)for(const l in a)!Jp(l)&&o[l]==null&&delete a[l]},Se=G3;function S3(t){return z3(t)}function z3(t,e){const s=Ar();s.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:o,createText:l,createComment:d,setText:c,setElementText:u,parentNode:b,nextSibling:p,setScopeId:m=ei,insertStaticContent:f}=t,v=(A,C,R,H=null,W=null,U=null,S=void 0,T=null,I=!!C.dynamicChildren)=>{if(A===C)return;A&&!_i(A,C)&&(H=G(A),Ot(A,W,U,!0),A=null),C.patchFlag===-2&&(I=!1,C.dynamicChildren=null);const{type:B,ref:Z,shapeFlag:$}=C;switch(B){case un:k(A,C,R,H);break;case se:h(A,C,R,H);break;case Na:A==null&&g(C,R,H,S);break;case Tt:x(A,C,R,H,W,U,S,T,I);break;default:$&1?w(A,C,R,H,W,U,S,T,I):$&6?M(A,C,R,H,W,U,S,T,I):($&64||$&128)&&B.process(A,C,R,H,W,U,S,T,I,Q)}Z!=null&&W&&Qa(Z,A&&A.ref,U,C||A,!C)},k=(A,C,R,H)=>{if(A==null)n(C.el=l(C.children),R,H);else{const W=C.el=A.el;C.children!==A.children&&c(W,C.children)}},h=(A,C,R,H)=>{A==null?n(C.el=d(C.children||""),R,H):C.el=A.el},g=(A,C,R,H)=>{[A.el,A.anchor]=f(A.children,C,R,H,A.el,A.anchor)},_=({el:A,anchor:C},R,H)=>{let W;for(;A&&A!==C;)W=p(A),n(A,R,H),A=W;n(C,R,H)},y=({el:A,anchor:C})=>{let R;for(;A&&A!==C;)R=p(A),a(A),A=R;a(C)},w=(A,C,R,H,W,U,S,T,I)=>{C.type==="svg"?S="svg":C.type==="math"&&(S="mathml"),A==null?P(C,R,H,W,U,S,T,I):z(A,C,W,U,S,T,I)},P=(A,C,R,H,W,U,S,T)=>{let I,B;const{props:Z,shapeFlag:$,transition:D,dirs:q}=A;if(I=A.el=o(A.type,U,Z&&Z.is,Z),$&8?u(I,A.children):$&16&&j(A.children,I,null,H,W,po(A,U),S,T),q&&us(A,null,H,"created"),E(I,A,A.scopeId,S,H),Z){for(const ut in Z)ut!=="value"&&!En(ut)&&r(I,ut,null,Z[ut],U,H);"value"in Z&&r(I,"value",null,Z.value,U),(B=Z.onVnodeBeforeMount)&&bi(B,H,A)}q&&us(A,null,H,"beforeMount");const et=T3(W,D);et&&D.beforeEnter(I),n(I,C,R),((B=Z&&Z.onVnodeMounted)||et||q)&&Se(()=>{B&&bi(B,H,A),et&&D.enter(I),q&&us(A,null,H,"mounted")},W)},E=(A,C,R,H,W)=>{if(R&&m(A,R),H)for(let U=0;U<H.length;U++)m(A,H[U]);if(W){let U=W.subTree;if(C===U||o0(U.type)&&(U.ssContent===C||U.ssFallback===C)){const S=W.vnode;E(A,S,S.scopeId,S.slotScopeIds,W.parent)}}},j=(A,C,R,H,W,U,S,T,I=0)=>{for(let B=I;B<A.length;B++){const Z=A[B]=T?Ki(A[B]):Je(A[B]);v(null,Z,C,R,H,W,U,S,T)}},z=(A,C,R,H,W,U,S)=>{const T=C.el=A.el;let{patchFlag:I,dynamicChildren:B,dirs:Z}=C;I|=A.patchFlag&16;const $=A.props||wt,D=C.props||wt;let q;if(R&&cs(R,!1),(q=D.onVnodeBeforeUpdate)&&bi(q,R,C,A),Z&&us(C,A,R,"beforeUpdate"),R&&cs(R,!0),($.innerHTML&&D.innerHTML==null||$.textContent&&D.textContent==null)&&u(T,""),B?L(A.dynamicChildren,B,T,R,H,po(C,W),U):S||at(A,C,T,null,R,H,po(C,W),U,!1),I>0){if(I&16)O(T,$,D,R,W);else if(I&2&&$.class!==D.class&&r(T,"class",null,D.class,W),I&4&&r(T,"style",$.style,D.style,W),I&8){const et=C.dynamicProps;for(let ut=0;ut<et.length;ut++){const gt=et[ut],ee=$[gt],$t=D[gt];($t!==ee||gt==="value")&&r(T,gt,ee,$t,W,R)}}I&1&&A.children!==C.children&&u(T,C.children)}else!S&&B==null&&O(T,$,D,R,W);((q=D.onVnodeUpdated)||Z)&&Se(()=>{q&&bi(q,R,C,A),Z&&us(C,A,R,"updated")},H)},L=(A,C,R,H,W,U,S)=>{for(let T=0;T<C.length;T++){const I=A[T],B=C[T],Z=I.el&&(I.type===Tt||!_i(I,B)||I.shapeFlag&70)?b(I.el):R;v(I,B,Z,null,H,W,U,S,!0)}},O=(A,C,R,H,W)=>{if(C!==R){if(C!==wt)for(const U in C)!En(U)&&!(U in R)&&r(A,U,C[U],null,W,H);for(const U in R){if(En(U))continue;const S=R[U],T=C[U];S!==T&&U!=="value"&&r(A,U,T,S,W,H)}"value"in R&&r(A,"value",C.value,R.value,W)}},x=(A,C,R,H,W,U,S,T,I)=>{const B=C.el=A?A.el:l(""),Z=C.anchor=A?A.anchor:l("");let{patchFlag:$,dynamicChildren:D,slotScopeIds:q}=C;q&&(T=T?T.concat(q):q),A==null?(n(B,R,H),n(Z,R,H),j(C.children||[],R,Z,W,U,S,T,I)):$>0&&$&64&&D&&A.dynamicChildren?(L(A.dynamicChildren,D,R,W,U,S,T),(C.key!=null||W&&C===W.subTree)&&od(A,C,!0)):at(A,C,R,Z,W,U,S,T,I)},M=(A,C,R,H,W,U,S,T,I)=>{C.slotScopeIds=T,A==null?C.shapeFlag&512?W.ctx.activate(C,R,H,S,I):V(C,R,H,W,U,S,I):X(A,C,I)},V=(A,C,R,H,W,U,S)=>{const T=A.component=K3(A,H,W);if(Mr(A)&&(T.ctx.renderer=Q),X3(T,!1,S),T.asyncDep){if(W&&W.registerDep(T,J,S),!A.el){const I=T.subTree=N(se);h(null,I,C,R)}}else J(T,A,C,R,W,U,S)},X=(A,C,R)=>{const H=C.component=A.component;if(I3(A,C,R))if(H.asyncDep&&!H.asyncResolved){dt(H,C,R);return}else H.next=C,H.update();else C.el=A.el,H.vnode=C},J=(A,C,R,H,W,U,S)=>{const T=()=>{if(A.isMounted){let{next:$,bu:D,u:q,parent:et,vnode:ut}=A;{const Qe=s0(A);if(Qe){$&&($.el=ut.el,dt(A,$,S)),Qe.asyncDep.then(()=>{A.isUnmounted||T()});return}}let gt=$,ee;cs(A,!1),$?($.el=ut.el,dt(A,$,S)):$=ut,D&&ao(D),(ee=$.props&&$.props.onVnodeBeforeUpdate)&&bi(ee,et,$,ut),cs(A,!0);const $t=vu(A),He=A.subTree;A.subTree=$t,v(He,$t,b(He.el),G(He),A,W,U),$.el=$t.el,gt===null&&ld(A,$t.el),q&&Se(q,W),(ee=$.props&&$.props.onVnodeUpdated)&&Se(()=>bi(ee,et,$,ut),W)}else{let $;const{el:D,props:q}=C,{bm:et,m:ut,parent:gt,root:ee,type:$t}=A,He=Ws(C);cs(A,!1),et&&ao(et),!He&&($=q&&q.onVnodeBeforeMount)&&bi($,gt,C),cs(A,!0);{ee.ce&&ee.ce._injectChildStyle($t);const Qe=A.subTree=vu(A);v(null,Qe,R,H,A,W,U),C.el=Qe.el}if(ut&&Se(ut,W),!He&&($=q&&q.onVnodeMounted)){const Qe=C;Se(()=>bi($,gt,Qe),W)}(C.shapeFlag&256||gt&&Ws(gt.vnode)&>.vnode.shapeFlag&256)&&A.a&&Se(A.a,W),A.isMounted=!0,C=R=H=null}};A.scope.on();const I=A.effect=new lp(T);A.scope.off();const B=A.update=I.run.bind(I),Z=A.job=I.runIfDirty.bind(I);Z.i=A,Z.id=A.uid,I.scheduler=()=>ed(Z),cs(A,!0),B()},dt=(A,C,R)=>{C.component=A;const H=A.vnode.props;A.vnode=C,A.next=null,_3(A,C.props,H,R),w3(A,C.children,R),es(),nu(A),is()},at=(A,C,R,H,W,U,S,T,I=!1)=>{const B=A&&A.children,Z=A?A.shapeFlag:0,$=C.children,{patchFlag:D,shapeFlag:q}=C;if(D>0){if(D&128){Et(B,$,R,H,W,U,S,T,I);return}else if(D&256){_t(B,$,R,H,W,U,S,T,I);return}}q&8?(Z&16&&pt(B,W,U),$!==B&&u(R,$)):Z&16?q&16?Et(B,$,R,H,W,U,S,T,I):pt(B,W,U,!0):(Z&8&&u(R,""),q&16&&j($,R,H,W,U,S,T,I))},_t=(A,C,R,H,W,U,S,T,I)=>{A=A||Fs,C=C||Fs;const B=A.length,Z=C.length,$=Math.min(B,Z);let D;for(D=0;D<$;D++){const q=C[D]=I?Ki(C[D]):Je(C[D]);v(A[D],q,R,null,W,U,S,T,I)}B>Z?pt(A,W,U,!0,!1,$):j(C,R,H,W,U,S,T,I,$)},Et=(A,C,R,H,W,U,S,T,I)=>{let B=0;const Z=C.length;let $=A.length-1,D=Z-1;for(;B<=$&&B<=D;){const q=A[B],et=C[B]=I?Ki(C[B]):Je(C[B]);if(_i(q,et))v(q,et,R,null,W,U,S,T,I);else break;B++}for(;B<=$&&B<=D;){const q=A[$],et=C[D]=I?Ki(C[D]):Je(C[D]);if(_i(q,et))v(q,et,R,null,W,U,S,T,I);else break;$--,D--}if(B>$){if(B<=D){const q=D+1,et=q<Z?C[q].el:H;for(;B<=D;)v(null,C[B]=I?Ki(C[B]):Je(C[B]),R,et,W,U,S,T,I),B++}}else if(B>D)for(;B<=$;)Ot(A[B],W,U,!0),B++;else{const q=B,et=B,ut=new Map;for(B=et;B<=D;B++){const Be=C[B]=I?Ki(C[B]):Je(C[B]);Be.key!=null&&ut.set(Be.key,B)}let gt,ee=0;const $t=D-et+1;let He=!1,Qe=0;const fn=new Array($t);for(B=0;B<$t;B++)fn[B]=0;for(B=q;B<=$;B++){const Be=A[B];if(ee>=$t){Ot(Be,W,U,!0);continue}let ci;if(Be.key!=null)ci=ut.get(Be.key);else for(gt=et;gt<=D;gt++)if(fn[gt-et]===0&&_i(Be,C[gt])){ci=gt;break}ci===void 0?Ot(Be,W,U,!0):(fn[ci-et]=B+1,ci>=Qe?Qe=ci:He=!0,v(Be,C[ci],R,null,W,U,S,T,I),ee++)}const Jd=He?A3(fn):Fs;for(gt=Jd.length-1,B=$t-1;B>=0;B--){const Be=et+B,ci=C[Be],tu=Be+1<Z?C[Be+1].el:H;fn[B]===0?v(null,ci,R,tu,W,U,S,T,I):He&&(gt<0||B!==Jd[gt]?Mt(ci,R,tu,2):gt--)}}},Mt=(A,C,R,H,W=null)=>{const{el:U,type:S,transition:T,children:I,shapeFlag:B}=A;if(B&6){Mt(A.component.subTree,C,R,H);return}if(B&128){A.suspense.move(C,R,H);return}if(B&64){S.move(A,C,R,Q);return}if(S===Tt){n(U,C,R);for(let $=0;$<I.length;$++)Mt(I[$],C,R,H);n(A.anchor,C,R);return}if(S===Na){_(A,C,R);return}if(H!==2&&B&1&&T)if(H===0)T.beforeEnter(U),n(U,C,R),Se(()=>T.enter(U),W);else{const{leave:$,delayLeave:D,afterLeave:q}=T,et=()=>n(U,C,R),ut=()=>{$(U,()=>{et(),q&&q()})};D?D(U,et,ut):ut()}else n(U,C,R)},Ot=(A,C,R,H=!1,W=!1)=>{const{type:U,props:S,ref:T,children:I,dynamicChildren:B,shapeFlag:Z,patchFlag:$,dirs:D,cacheIndex:q}=A;if($===-2&&(W=!1),T!=null&&Qa(T,null,R,A,!0),q!=null&&(C.renderCache[q]=void 0),Z&256){C.ctx.deactivate(A);return}const et=Z&1&&D,ut=!Ws(A);let gt;if(ut&&(gt=S&&S.onVnodeBeforeUnmount)&&bi(gt,C,A),Z&6)Me(A.component,R,H);else{if(Z&128){A.suspense.unmount(R,H);return}et&&us(A,null,C,"beforeUnmount"),Z&64?A.type.remove(A,C,R,Q,H):B&&!B.hasOnce&&(U!==Tt||$>0&&$&64)?pt(B,C,R,!1,!0):(U===Tt&&$&384||!W&&Z&16)&&pt(I,C,R),H&&ue(A)}(ut&&(gt=S&&S.onVnodeUnmounted)||et)&&Se(()=>{gt&&bi(gt,C,A),et&&us(A,null,C,"unmounted")},R)},ue=A=>{const{type:C,el:R,anchor:H,transition:W}=A;if(C===Tt){vt(R,H);return}if(C===Na){y(A);return}const U=()=>{a(R),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(A.shapeFlag&1&&W&&!W.persisted){const{leave:S,delayLeave:T}=W,I=()=>S(R,U);T?T(A.el,U,I):I()}else U()},vt=(A,C)=>{let R;for(;A!==C;)R=p(A),a(A),A=R;a(C)},Me=(A,C,R)=>{const{bum:H,scope:W,job:U,subTree:S,um:T,m:I,a:B}=A;fu(I),fu(B),H&&ao(H),W.stop(),U&&(U.flags|=8,Ot(S,A,C,R)),T&&Se(T,C),Se(()=>{A.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},pt=(A,C,R,H=!1,W=!1,U=0)=>{for(let S=U;S<A.length;S++)Ot(A[S],C,R,H,W)},G=A=>{if(A.shapeFlag&6)return G(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const C=p(A.anchor||A.el),R=C&&C[xp];return R?p(R):C};let Y=!1;const K=(A,C,R)=>{A==null?C._vnode&&Ot(C._vnode,null,null,!0):v(C._vnode||null,A,C,null,null,null,R),C._vnode=A,Y||(Y=!0,nu(),Ep(),Y=!1)},Q={p:v,um:Ot,m:Mt,r:ue,mt:V,mc:j,pc:at,pbc:L,n:G,o:t};return{render:K,hydrate:void 0,createApp:v3(K)}}function po({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 cs({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function T3(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function od(t,e,s=!1){const n=t.children,a=e.children;if(lt(n)&<(a))for(let r=0;r<n.length;r++){const o=n[r];let l=a[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=a[r]=Ki(a[r]),l.el=o.el),!s&&l.patchFlag!==-2&&od(o,l)),l.type===un&&(l.el=o.el)}}function A3(t){const e=t.slice(),s=[0];let n,a,r,o,l;const d=t.length;for(n=0;n<d;n++){const c=t[n];if(c!==0){if(a=s[s.length-1],t[a]<c){e[n]=a,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,t[s[l]]<c?r=l+1:o=l;c<t[s[r]]&&(r>0&&(e[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function s0(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:s0(e)}function fu(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const P3=Symbol.for("v-scx"),E3=()=>Dt(P3);function ss(t,e){return Nr(t,null,e)}function j3(t,e){return Nr(t,null,{flush:"sync"})}function ht(t,e,s){return Nr(t,e,s)}function Nr(t,e,s=wt){const{immediate:n,deep:a,flush:r,once:o}=s,l=Yt({},s),d=e&&n||!e&&r!=="post";let c;if(Kn){if(r==="sync"){const m=E3();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!d){const m=()=>{};return m.stop=ei,m.resume=ei,m.pause=ei,m}}const u=be;l.call=(m,f,v)=>si(m,u,f,v);let b=!1;r==="post"?l.scheduler=m=>{Se(m,u&&u.suspense)}:r!=="sync"&&(b=!0,l.scheduler=(m,f)=>{f?m():ed(m)}),l.augmentJob=m=>{e&&(m.flags|=4),b&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=$2(t,e,l);return Kn&&(c?c.push(p):d&&p()),p}function C3(t,e,s){const n=this.proxy,a=Ut(t)?t.includes(".")?n0(n,t):()=>n[t]:t.bind(n,n);let r;ct(e)?r=e:(r=e.handler,s=e);const o=Ts(this),l=Nr(a,r.bind(n),s);return o(),l}function n0(t,e){const s=e.split(".");return()=>{let n=t;for(let a=0;a<s.length&&n;a++)n=n[s[a]];return n}}function DA(t,e,s=wt){const n=Gi(),a=Ce(e),r=ts(e),o=a0(t,a),l=G2((d,c)=>{let u,b=wt,p;return j3(()=>{const m=t[a];De(u,m)&&(u=m,c())}),{get(){return d(),s.get?s.get(u):u},set(m){const f=s.set?s.set(m):m;if(!De(f,u)&&!(b!==wt&&De(m,b)))return;const v=n.vnode.props;v&&(e in v||a in v||r in v)&&(`onUpdate:${e}`in v||`onUpdate:${a}`in v||`onUpdate:${r}`in v)||(u=m,c()),n.emit(`update:${e}`,f),De(m,f)&&De(m,b)&&!De(f,p)&&c(),b=m,p=f}}});return l[Symbol.iterator]=()=>{let d=0;return{next(){return d<2?{value:d++?o||wt:l,done:!1}:{done:!0}}}},l}const a0=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ce(e)}Modifiers`]||t[`${ts(e)}Modifiers`];function x3(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||wt;let a=s;const r=e.startsWith("update:"),o=r&&a0(n,e.slice(7));o&&(o.trim&&(a=s.map(u=>Ut(u)?u.trim():u)),o.number&&(a=s.map(d2)));let l,d=n[l=no(e)]||n[l=no(Ce(e))];!d&&r&&(d=n[l=no(ts(e))]),d&&si(d,t,6,a);const c=n[l+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,si(c,t,6,a)}}function r0(t,e,s=!1){const n=e.emitsCache,a=n.get(t);if(a!==void 0)return a;const r=t.emits;let o={},l=!1;if(!ct(t)){const d=c=>{const u=r0(c,e,!0);u&&(l=!0,Yt(o,u))};!s&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}return!r&&!l?(Rt(t)&&n.set(t,null),null):(lt(r)?r.forEach(d=>o[d]=null):Yt(o,r),Rt(t)&&n.set(t,o),o)}function Br(t,e){return!t||!Sr(e)?!1:(e=e.slice(2).replace(/Once$/,""),zt(t,e[0].toLowerCase()+e.slice(1))||zt(t,ts(e))||zt(t,e))}function vu(t){const{type:e,vnode:s,proxy:n,withProxy:a,propsOptions:[r],slots:o,attrs:l,emit:d,render:c,renderCache:u,props:b,data:p,setupState:m,ctx:f,inheritAttrs:v}=t,k=Za(t);let h,g;try{if(s.shapeFlag&4){const y=a||n,w=y;h=Je(c.call(w,y,u,b,m,p,f)),g=l}else{const y=e;h=Je(y.length>1?y(b,{attrs:l,slots:o,emit:d}):y(b,null)),g=e.props?l:L3(l)}}catch(y){Ln.length=0,ca(y,t,1),h=N(se)}let _=h;if(g&&v!==!1){const y=Object.keys(g),{shapeFlag:w}=_;y.length&&w&7&&(r&&y.some(Vl)&&(g=D3(g,r)),_=Qi(_,g,!1,!0))}return s.dirs&&(_=Qi(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(s.dirs):s.dirs),s.transition&&Ss(_,s.transition),h=_,Za(k),h}function M3(t,e=!0){let s;for(let n=0;n<t.length;n++){const a=t[n];if(zs(a)){if(a.type!==se||a.children==="v-if"){if(s)return;s=a}}else return}return s}const L3=t=>{let e;for(const s in t)(s==="class"||s==="style"||Sr(s))&&((e||(e={}))[s]=t[s]);return e},D3=(t,e)=>{const s={};for(const n in t)(!Vl(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function I3(t,e,s){const{props:n,children:a,component:r}=t,{props:o,children:l,patchFlag:d}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&d>=0){if(d&1024)return!0;if(d&16)return n?gu(n,o,c):!!o;if(d&8){const u=e.dynamicProps;for(let b=0;b<u.length;b++){const p=u[b];if(o[p]!==n[p]&&!Br(c,p))return!0}}}else return(a||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?gu(n,o,c):!0:!!o;return!1}function gu(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let a=0;a<n.length;a++){const r=n[a];if(e[r]!==t[r]&&!Br(s,r))return!0}return!1}function ld({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const o0=t=>t.__isSuspense;let el=0;const R3={name:"Suspense",__isSuspense:!0,process(t,e,s,n,a,r,o,l,d,c){if(t==null)O3(e,s,n,a,r,o,l,d,c);else{if(r&&r.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}N3(t,e,s,n,a,o,l,d,c)}},hydrate:B3,normalize:q3},IA=R3;function Wn(t,e){const s=t.props&&t.props[e];ct(s)&&s()}function O3(t,e,s,n,a,r,o,l,d){const{p:c,o:{createElement:u}}=d,b=u("div"),p=t.suspense=l0(t,a,n,e,b,s,r,o,l,d);c(null,p.pendingBranch=t.ssContent,b,null,n,p,r,o),p.deps>0?(Wn(t,"onPending"),Wn(t,"onFallback"),c(null,t.ssFallback,e,s,n,null,r,o),Ks(p,t.ssFallback)):p.resolve(!1,!0)}function N3(t,e,s,n,a,r,o,l,{p:d,um:c,o:{createElement:u}}){const b=e.suspense=t.suspense;b.vnode=e,e.el=t.el;const p=e.ssContent,m=e.ssFallback,{activeBranch:f,pendingBranch:v,isInFallback:k,isHydrating:h}=b;if(v)b.pendingBranch=p,_i(p,v)?(d(v,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0?b.resolve():k&&(h||(d(f,m,s,n,a,null,r,o,l),Ks(b,m)))):(b.pendingId=el++,h?(b.isHydrating=!1,b.activeBranch=v):c(v,a,b),b.deps=0,b.effects.length=0,b.hiddenContainer=u("div"),k?(d(null,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0?b.resolve():(d(f,m,s,n,a,null,r,o,l),Ks(b,m))):f&&_i(p,f)?(d(f,p,s,n,a,b,r,o,l),b.resolve(!0)):(d(null,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0&&b.resolve()));else if(f&&_i(p,f))d(f,p,s,n,a,b,r,o,l),Ks(b,p);else if(Wn(e,"onPending"),b.pendingBranch=p,p.shapeFlag&512?b.pendingId=p.component.suspenseId:b.pendingId=el++,d(null,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0)b.resolve();else{const{timeout:g,pendingId:_}=b;g>0?setTimeout(()=>{b.pendingId===_&&b.fallback(m)},g):g===0&&b.fallback(m)}}function l0(t,e,s,n,a,r,o,l,d,c,u=!1){const{p:b,m:p,um:m,n:f,o:{parentNode:v,remove:k}}=c;let h;const g=F3(t);g&&e&&e.pendingBranch&&(h=e.pendingId,e.deps++);const _=t.props?sp(t.props.timeout):void 0,y=r,w={vnode:t,parent:e,parentComponent:s,namespace:o,container:n,hiddenContainer:a,deps:0,pendingId:el++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(P=!1,E=!1){const{vnode:j,activeBranch:z,pendingBranch:L,pendingId:O,effects:x,parentComponent:M,container:V}=w;let X=!1;w.isHydrating?w.isHydrating=!1:P||(X=z&&L.transition&&L.transition.mode==="out-in",X&&(z.transition.afterLeave=()=>{O===w.pendingId&&(p(L,V,r===y?f(z):r,0),Ya(x))}),z&&(v(z.el)===V&&(r=f(z)),m(z,M,w,!0)),X||p(L,V,r,0)),Ks(w,L),w.pendingBranch=null,w.isInFallback=!1;let J=w.parent,dt=!1;for(;J;){if(J.pendingBranch){J.effects.push(...x),dt=!0;break}J=J.parent}!dt&&!X&&Ya(x),w.effects=[],g&&e&&e.pendingBranch&&h===e.pendingId&&(e.deps--,e.deps===0&&!E&&e.resolve()),Wn(j,"onResolve")},fallback(P){if(!w.pendingBranch)return;const{vnode:E,activeBranch:j,parentComponent:z,container:L,namespace:O}=w;Wn(E,"onFallback");const x=f(j),M=()=>{w.isInFallback&&(b(null,P,L,x,z,null,O,l,d),Ks(w,P))},V=P.transition&&P.transition.mode==="out-in";V&&(j.transition.afterLeave=M),w.isInFallback=!0,m(j,z,null,!0),V||M()},move(P,E,j){w.activeBranch&&p(w.activeBranch,P,E,j),w.container=P},next(){return w.activeBranch&&f(w.activeBranch)},registerDep(P,E,j){const z=!!w.pendingBranch;z&&w.deps++;const L=P.vnode.el;P.asyncDep.catch(O=>{ca(O,P,0)}).then(O=>{if(P.isUnmounted||w.isUnmounted||w.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:x}=P;nl(P,O),L&&(x.el=L);const M=!L&&P.subTree.el;E(P,x,v(L||P.subTree.el),L?null:f(P.subTree),w,o,j),M&&k(M),ld(P,x.el),z&&--w.deps===0&&w.resolve()})},unmount(P,E){w.isUnmounted=!0,w.activeBranch&&m(w.activeBranch,s,P,E),w.pendingBranch&&m(w.pendingBranch,s,P,E)}};return w}function B3(t,e,s,n,a,r,o,l,d){const c=e.suspense=l0(e,n,s,t.parentNode,document.createElement("div"),null,a,r,o,l,!0),u=d(t,c.pendingBranch=e.ssContent,s,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function q3(t){const{shapeFlag:e,children:s}=t,n=e&32;t.ssContent=_u(n?s.default:s),t.ssFallback=n?_u(s.fallback):N(se)}function _u(t){let e;if(ct(t)){const s=Js&&t._c;s&&(t._d=!1,qe()),t=t(),s&&(t._d=!0,e=Re,d0())}return lt(t)&&(t=M3(t)),t=Je(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(s=>s!==t)),t}function G3(t,e){e&&e.pendingBranch?lt(t)?e.effects.push(...t):e.effects.push(t):Ya(t)}function Ks(t,e){t.activeBranch=e;const{vnode:s,parentComponent:n}=t;let a=e.el;for(;!a&&e.component;)e=e.component.subTree,a=e.el;s.el=a,n&&n.subTree===s&&(n.vnode.el=a,ld(n,a))}function F3(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const Tt=Symbol.for("v-fgt"),un=Symbol.for("v-txt"),se=Symbol.for("v-cmt"),Na=Symbol.for("v-stc"),Ln=[];let Re=null;function qe(t=!1){Ln.push(Re=t?null:[])}function d0(){Ln.pop(),Re=Ln[Ln.length-1]||null}let Js=1;function hu(t,e=!1){Js+=t,t<0&&Re&&e&&(Re.hasOnce=!0)}function u0(t){return t.dynamicChildren=Js>0?Re||Fs:null,d0(),Js>0&&Re&&Re.push(t),t}function vs(t,e,s,n,a,r){return u0(dd(t,e,s,n,a,r,!0))}function $n(t,e,s,n,a){return u0(N(t,e,s,n,a,!0))}function zs(t){return t?t.__v_isVNode===!0:!1}function _i(t,e){return t.type===e.type&&t.key===e.key}const c0=({key:t})=>t??null,Ba=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?Ut(t)||Nt(t)||ct(t)?{i:re,r:t,k:e,f:!!s}:t:null);function dd(t,e=null,s=null,n=0,a=null,r=t===Tt?0:1,o=!1,l=!1){const d={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&c0(e),ref:e&&Ba(e),scopeId:Cp,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:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:re};return l?(ud(d,s),r&128&&t.normalize(d)):s&&(d.shapeFlag|=Ut(s)?8:16),Js>0&&!o&&Re&&(d.patchFlag>0||r&6)&&d.patchFlag!==32&&Re.push(d),d}const N=V3;function V3(t,e=null,s=null,n=0,a=null,r=!1){if((!t||t===Vp)&&(t=se),zs(t)){const l=Qi(t,e,!0);return s&&ud(l,s),Js>0&&!r&&Re&&(l.shapeFlag&6?Re[Re.indexOf(t)]=l:Re.push(l)),l.patchFlag=-2,l}if(tv(t)&&(t=t.__vccOpts),e){e=H3(e);let{class:l,style:d}=e;l&&!Ut(l)&&(e.class=Kl(l)),Rt(d)&&(td(d)&&!lt(d)&&(d=Yt({},d)),e.style=$l(d))}const o=Ut(t)?1:o0(t)?128:Mp(t)?64:Rt(t)?4:ct(t)?2:0;return dd(t,e,s,n,a,o,r,!0)}function H3(t){return t?td(t)||Yp(t)?Yt({},t):t:null}function Qi(t,e,s=!1,n=!1){const{props:a,ref:r,patchFlag:o,children:l,transition:d}=t,c=e?oe(a||{},e):a,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&c0(c),ref:e&&e.ref?s&&r?lt(r)?r.concat(Ba(e)):[r,Ba(e)]:Ba(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Tt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:d,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Qi(t.ssContent),ssFallback:t.ssFallback&&Qi(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return d&&n&&Ss(u,d.clone(u)),u}function U3(t=" ",e=0){return N(un,null,t,e)}function yu(t="",e=!1){return e?(qe(),$n(se,null,t)):N(se,null,t)}function Je(t){return t==null||typeof t=="boolean"?N(se):lt(t)?N(Tt,null,t.slice()):zs(t)?Ki(t):N(un,null,String(t))}function Ki(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Qi(t)}function ud(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(lt(e))s=16;else if(typeof e=="object")if(n&65){const a=e.default;a&&(a._c&&(a._d=!1),ud(t,a()),a._c&&(a._d=!0));return}else{s=32;const a=e._;!a&&!Yp(e)?e._ctx=re:a===3&&re&&(re.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ct(e)?(e={default:e,_ctx:re},s=32):(e=String(e),n&64?(s=16,e=[U3(e)]):s=8);t.children=e,t.shapeFlag|=s}function oe(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const a in n)if(a==="class")e.class!==n.class&&(e.class=Kl([e.class,n.class]));else if(a==="style")e.style=$l([e.style,n.style]);else if(Sr(a)){const r=e[a],o=n[a];o&&r!==o&&!(lt(r)&&r.includes(o))&&(e[a]=r?[].concat(r,o):o)}else a!==""&&(e[a]=n[a])}return e}function bi(t,e,s,n=null){si(t,e,7,[s,n])}const W3=$p();let $3=0;function K3(t,e,s){const n=t.type,a=(e?e.appContext:t.appContext)||W3,r={uid:$3++,vnode:t,type:n,parent:e,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new op(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(a.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qp(n,a),emitsOptions:r0(n,a),emit:null,emitted:null,propsDefaults:wt,inheritAttrs:n.inheritAttrs,ctx:wt,data:wt,props:wt,attrs:wt,slots:wt,refs:wt,setupState:wt,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=x3.bind(null,r),t.ce&&t.ce(r),r}let be=null;const Gi=()=>be||re;let er,il;{const t=Ar(),e=(s,n)=>{let a;return(a=t[s])||(a=t[s]=[]),a.push(n),r=>{a.length>1?a.forEach(o=>o(r)):a[0](r)}};er=e("__VUE_INSTANCE_SETTERS__",s=>be=s),il=e("__VUE_SSR_SETTERS__",s=>Kn=s)}const Ts=t=>{const e=be;return er(t),t.scope.on(),()=>{t.scope.off(),er(e)}},sl=()=>{be&&be.scope.off(),er(null)};function b0(t){return t.vnode.shapeFlag&4}let Kn=!1;function X3(t,e=!1,s=!1){e&&il(e);const{props:n,children:a}=t.vnode,r=b0(t);g3(t,n,r,e),k3(t,a,s);const o=r?Y3(t,e):void 0;return e&&il(!1),o}function Y3(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,d3);const{setup:n}=s;if(n){es();const a=t.setupContext=n.length>1?Q3(t):null,r=Ts(t),o=ua(n,t,0,[t.props,a]),l=Ul(o);if(is(),r(),(l||t.sp)&&!Ws(t)&&qp(t),l){if(o.then(sl,sl),e)return o.then(d=>{nl(t,d)}).catch(d=>{ca(d,t,0)});t.asyncDep=o}else nl(t,o)}else p0(t)}function nl(t,e,s){ct(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Rt(e)&&(t.setupState=zp(e)),p0(t)}function p0(t,e,s){const n=t.type;t.render||(t.render=n.render||ei);{const a=Ts(t);es();try{u3(t)}finally{is(),a()}}}const Z3={get(t,e){return fe(t,"get",""),t[e]}};function Q3(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Z3),slots:t.slots,emit:t.emit,expose:e}}function qr(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(zp(O2(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Mn)return Mn[s](t)},has(e,s){return s in e||s in Mn}})):t.proxy}function J3(t,e=!0){return ct(t)?t.displayName||t.name:t.name||e&&t.__name}function tv(t){return ct(t)&&"__vccOpts"in t}const F=(t,e)=>U2(t,e,Kn);function Ht(t,e,s){const n=arguments.length;return n===2?Rt(e)&&!lt(e)?zs(e)?N(t,null,[e]):N(t,e):N(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&zs(s)&&(s=[s]),N(t,e,s))}const ev="3.5.13";/**
|
|
14
|
+
**/function ja(t,e,s,n){try{return n?t(...n):t()}catch(a){Ca(a,e,s)}}function _i(t,e,s,n){if(yt(t)){const a=ja(t,e,s,n);return a&&Su(a)&&a.catch(r=>{Ca(r,e,s)}),a}if(ft(t)){const a=[];for(let r=0;r<t.length;r++)a.push(_i(t[r],e,s,n));return a}}function Ca(t,e,s,n=!0){const a=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||Rt;if(e){let l=e.parent;const u=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const d=l.ec;if(d){for(let b=0;b<d.length;b++)if(d[b](t,u,c)===!1)return}l=l.parent}if(r){gs(),ja(r,null,10,[t,u,c]),hs();return}}Av(t,s,a,n,o)}function Av(t,e,s,n=!0,a=!1){if(a)throw t;console.error(t)}const Ne=[];let ji=-1;const ln=[];let ls=null,Zs=0;const i0=Promise.resolve();let wr=null;function Si(t){const e=wr||i0;return t?e.then(this?t.bind(this):t):e}function Tv(t){let e=ji+1,s=Ne.length;for(;e<s;){const n=e+s>>>1,a=Ne[n],r=ua(a);r<t||r===t&&a.flags&2?e=n+1:s=n}return e}function Mu(t){if(!(t.flags&1)){const e=ua(t),s=Ne[Ne.length-1];!s||!(t.flags&2)&&e>=ua(s)?Ne.push(t):Ne.splice(Tv(e),0,t),t.flags|=1,s0()}}function s0(){wr||(wr=i0.then(a0))}function Sr(t){ft(t)?ln.push(...t):ls&&t.id===-1?ls.splice(Zs+1,0,t):t.flags&1||(ln.push(t),t.flags|=1),s0()}function Dd(t,e,s=ji+1){for(;s<Ne.length;s++){const n=Ne[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ne.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function n0(t){if(ln.length){const e=[...new Set(ln)].sort((s,n)=>ua(s)-ua(n));if(ln.length=0,ls){ls.push(...e);return}for(ls=e,Zs=0;Zs<ls.length;Zs++){const s=ls[Zs];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ls=null,Zs=0}}const ua=t=>t.id==null?t.flags&2?-1:1/0:t.id;function a0(t){try{for(ji=0;ji<Ne.length;ji++){const e=Ne[ji];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ja(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;ji<Ne.length;ji++){const e=Ne[ji];e&&(e.flags&=-2)}ji=-1,Ne.length=0,n0(),wr=null,(Ne.length||ln.length)&&a0()}}let we=null,r0=null;function zr(t){const e=we;return we=t,r0=t&&t.type.__scopeId||null,e}function It(t,e=we,s){if(!e||t._n)return t;const n=(...a)=>{n._d&&Yd(-1);const r=zr(e);let o;try{o=t(...a)}finally{zr(r),n._d&&Yd(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function ms(t,e){if(we===null)return t;const s=po(we),n=t.dirs||(t.dirs=[]);for(let a=0;a<e.length;a++){let[r,o,l,u=Rt]=e[a];r&&(yt(r)&&(r={mounted:r,updated:r}),r.deep&&Xi(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:u}))}return t}function zs(t,e,s,n){const a=t.dirs,r=e&&e.dirs;for(let o=0;o<a.length;o++){const l=a[o];r&&(l.oldValue=r[o].value);let u=l.dir[n];u&&(gs(),_i(u,s,8,[t.el,l,t,e]),hs())}}const o0=Symbol("_vte"),l0=t=>t.__isTeleport,Zn=t=>t&&(t.disabled||t.disabled===""),Rd=t=>t&&(t.defer||t.defer===""),Od=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Nd=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,zl=(t,e)=>{const s=t&&t.to;return se(s)?e?e(s):null:s},u0={name:"Teleport",__isTeleport:!0,process(t,e,s,n,a,r,o,l,u,c){const{mc:d,pc:b,pbc:p,o:{insert:m,querySelector:f,createText:v,createComment:_}}=c,g=Zn(e.props);let{shapeFlag:h,children:y,dynamicChildren:k}=e;if(t==null){const w=e.el=v(""),P=e.anchor=v("");m(w,s,n),m(P,s,n);const A=(S,L)=>{h&16&&(a&&a.isCE&&(a.ce._teleportTarget=S),d(y,S,L,a,r,o,l,u))},E=()=>{const S=e.target=zl(e.props,f),L=d0(S,e,v,m);S&&(o!=="svg"&&Od(S)?o="svg":o!=="mathml"&&Nd(S)&&(o="mathml"),g||(A(S,L),lr(e,!1)))};g&&(A(s,P),lr(e,!0)),Rd(e.props)?Re(()=>{E(),e.el.__isMounted=!0},r):E()}else{if(Rd(e.props)&&!t.el.__isMounted){Re(()=>{u0.process(t,e,s,n,a,r,o,l,u,c),delete t.el.__isMounted},r);return}e.el=t.el,e.targetStart=t.targetStart;const w=e.anchor=t.anchor,P=e.target=t.target,A=e.targetAnchor=t.targetAnchor,E=Zn(t.props),S=E?s:P,L=E?w:A;if(o==="svg"||Od(P)?o="svg":(o==="mathml"||Nd(P))&&(o="mathml"),k?(p(t.dynamicChildren,k,S,a,r,o,l),Ou(t,e,!0)):u||b(t,e,S,L,a,r,o,l,!1),g)E?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Va(e,s,w,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const N=e.target=zl(e.props,f);N&&Va(e,N,null,c,0)}else E&&Va(e,P,A,c,1);lr(e,g)}},remove(t,e,s,{um:n,o:{remove:a}},r){const{shapeFlag:o,children:l,anchor:u,targetStart:c,targetAnchor:d,target:b,props:p}=t;if(b&&(a(c),a(d)),r&&a(u),o&16){const m=r||!Zn(p);for(let f=0;f<l.length;f++){const v=l[f];n(v,e,s,m,!!v.dynamicChildren)}}},move:Va,hydrate:Pv};function Va(t,e,s,{o:{insert:n},m:a},r=2){r===0&&n(t.targetAnchor,e,s);const{el:o,anchor:l,shapeFlag:u,children:c,props:d}=t,b=r===2;if(b&&n(o,e,s),(!b||Zn(d))&&u&16)for(let p=0;p<c.length;p++)a(c[p],e,s,2);b&&n(l,e,s)}function Pv(t,e,s,n,a,r,{o:{nextSibling:o,parentNode:l,querySelector:u,insert:c,createText:d}},b){const p=e.target=zl(e.props,u);if(p){const m=Zn(e.props),f=p._lpa||p.firstChild;if(e.shapeFlag&16)if(m)e.anchor=b(o(t),e,l(t),s,n,a,r),e.targetStart=f,e.targetAnchor=f&&o(f);else{e.anchor=o(t);let v=f;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")e.targetStart=v;else if(v.data==="teleport anchor"){e.targetAnchor=v,p._lpa=e.targetAnchor&&o(e.targetAnchor);break}}v=o(v)}e.targetAnchor||d0(p,e,d,c),b(f&&o(f),e,p,s,n,a,r)}lr(e,m)}return e.anchor&&o(e.anchor)}const Ev=u0;function lr(t,e){const s=t.ctx;if(s&&s.ut){let n,a;for(e?(n=t.el,a=t.anchor):(n=t.targetStart,a=t.targetAnchor);n&&n!==a;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function d0(t,e,s,n){const a=e.targetStart=s(""),r=e.targetAnchor=s("");return a[o0]=r,t&&(n(a,t),n(r,t)),r}const us=Symbol("_leaveCb"),Ua=Symbol("_enterCb");function c0(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bi(()=>{t.isMounted=!0}),Ye(()=>{t.isUnmounting=!0}),t}const ii=[Function,Array],b0={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ii,onEnter:ii,onAfterEnter:ii,onEnterCancelled:ii,onBeforeLeave:ii,onLeave:ii,onAfterLeave:ii,onLeaveCancelled:ii,onBeforeAppear:ii,onAppear:ii,onAfterAppear:ii,onAppearCancelled:ii},p0=t=>{const e=t.subTree;return e.component?p0(e.component):e},jv={name:"BaseTransition",props:b0,setup(t,{slots:e}){const s=ss(),n=c0();return()=>{const a=e.default&&xu(e.default(),!0);if(!a||!a.length)return;const r=m0(a),o=pt(t),{mode:l}=o;if(n.isLeaving)return Oo(r);const u=Bd(r);if(!u)return Oo(r);let c=da(u,o,n,s,b=>c=b);u.type!==ye&&Rs(u,c);let d=s.subTree&&Bd(s.subTree);if(d&&d.type!==ye&&!Mi(u,d)&&p0(s).type!==ye){let b=da(d,o,n,s);if(Rs(d,b),l==="out-in"&&u.type!==ye)return n.isLeaving=!0,b.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete b.afterLeave,d=void 0},Oo(r);l==="in-out"&&u.type!==ye?b.delayLeave=(p,m,f)=>{const v=f0(n,d);v[String(d.key)]=d,p[us]=()=>{m(),p[us]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{f(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return r}}};function m0(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==ye){e=s;break}}return e}const Cv=jv;function f0(t,e){const{leavingVNodes:s}=t;let n=s.get(e.type);return n||(n=Object.create(null),s.set(e.type,n)),n}function da(t,e,s,n,a){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:b,onBeforeLeave:p,onLeave:m,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:_,onAppear:g,onAfterAppear:h,onAppearCancelled:y}=e,k=String(t.key),w=f0(s,t),P=(S,L)=>{S&&_i(S,n,9,L)},A=(S,L)=>{const N=L[1];P(S,L),ft(S)?S.every(M=>M.length<=1)&&N():S.length<=1&&N()},E={mode:o,persisted:l,beforeEnter(S){let L=u;if(!s.isMounted)if(r)L=_||u;else return;S[us]&&S[us](!0);const N=w[k];N&&Mi(t,N)&&N.el[us]&&N.el[us](),P(L,[S])},enter(S){let L=c,N=d,M=b;if(!s.isMounted)if(r)L=g||c,N=h||d,M=y||b;else return;let x=!1;const H=S[Ua]=X=>{x||(x=!0,X?P(M,[S]):P(N,[S]),E.delayedLeave&&E.delayedLeave(),S[Ua]=void 0)};L?A(L,[S,H]):H()},leave(S,L){const N=String(t.key);if(S[Ua]&&S[Ua](!0),s.isUnmounting)return L();P(p,[S]);let M=!1;const x=S[us]=H=>{M||(M=!0,L(),H?P(v,[S]):P(f,[S]),S[us]=void 0,w[N]===t&&delete w[N])};w[N]=t,m?A(m,[S,x]):x()},clone(S){const L=da(S,e,s,n,a);return a&&a(L),L}};return E}function Oo(t){if(ro(t))return t=fs(t),t.children=null,t}function Bd(t){if(!ro(t))return l0(t.type)&&t.children?m0(t.children):t;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&yt(s.default))return s.default()}}function Rs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Rs(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 xu(t,e=!1,s){let n=[],a=0;for(let r=0;r<t.length;r++){let o=t[r];const l=s==null?o.key:String(s)+String(o.key!=null?o.key:r);o.type===bt?(o.patchFlag&128&&a++,n=n.concat(xu(o.children,e,l))):(e||o.type!==ye)&&n.push(l!=null?fs(o,{key:l}):o)}if(a>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function ci(t,e){return yt(t)?be({name:t.name},e,{setup:t}):t}function v0(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Ar(t,e,s,n,a=!1){if(ft(t)){t.forEach((f,v)=>Ar(f,e&&(ft(e)?e[v]:e),s,n,a));return}if(un(n)&&!a){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ar(t,e,s,n.component.subTree);return}const r=n.shapeFlag&4?po(n.component):n.el,o=a?null:r,{i:l,r:u}=t,c=e&&e.r,d=l.refs===Rt?l.refs={}:l.refs,b=l.setupState,p=pt(b),m=b===Rt?()=>!1:f=>Nt(p,f);if(c!=null&&c!==u&&(se(c)?(d[c]=null,m(c)&&(b[c]=null)):Jt(c)&&(c.value=null)),yt(u))ja(u,l,12,[o,d]);else{const f=se(u),v=Jt(u);if(f||v){const _=()=>{if(t.f){const g=f?m(u)?b[u]:d[u]:u.value;a?ft(g)&&wu(g,r):ft(g)?g.includes(r)||g.push(r):f?(d[u]=[r],m(u)&&(b[u]=d[u])):(u.value=[r],t.k&&(d[t.k]=u.value))}else f?(d[u]=o,m(u)&&(b[u]=o)):v&&(u.value=o,t.k&&(d[t.k]=o))};o?(_.id=-1,Re(_,s)):_()}}}to().requestIdleCallback;to().cancelIdleCallback;const un=t=>!!t.type.__asyncLoader,ro=t=>t.type.__isKeepAlive;function Mv(t,e){h0(t,"a",e)}function g0(t,e){h0(t,"da",e)}function h0(t,e,s=Ae){const n=t.__wdc||(t.__wdc=()=>{let a=s;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(oo(e,n,s),s){let a=s.parent;for(;a&&a.parent;)ro(a.parent.vnode)&&xv(n,e,s,a),a=a.parent}}function xv(t,e,s,n){const a=oo(e,t,n,!0);uo(()=>{wu(n[e],a)},s)}function oo(t,e,s=Ae,n=!1){if(s){const a=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{gs();const l=Ns(s),u=_i(e,s,t,o);return l(),hs(),u});return n?a.unshift(r):a.push(r),r}}const is=t=>(e,s=Ae)=>{(!ba||t==="sp")&&oo(t,(...n)=>e(...n),s)},lo=is("bm"),bi=is("m"),Iu=is("bu"),Ma=is("u"),Ye=is("bum"),uo=is("um"),Iv=is("sp"),Lv=is("rtg"),Dv=is("rtc");function Rv(t,e=Ae){oo("ec",t,e)}const Lu="components",Ov="directives";function Nv(t,e){return Du(Lu,t,!0,e)||t}const _0=Symbol.for("v-ndc");function Bv(t){return se(t)?Du(Lu,t,!1)||t:t||_0}function xa(t){return Du(Ov,t)}function Du(t,e,s=!0,n=!1){const a=we||Ae;if(a){const r=a.type;if(t===Lu){const l=j3(r,!1);if(l&&(l===e||l===qe(e)||l===An(qe(e))))return r}const o=Gd(a[t]||r[t],e)||Gd(a.appContext[t],e);return!o&&n?r:o}}function Gd(t,e){return t&&(t[e]||t[qe(e)]||t[An(qe(e))])}function mi(t,e,s,n){let a;const r=s,o=ft(t);if(o||se(t)){const l=o&&on(t);let u=!1;l&&(u=!li(t),t=no(t)),a=new Array(t.length);for(let c=0,d=t.length;c<d;c++)a[c]=e(u?Ce(t[c]):t[c],c,void 0,r)}else if(typeof t=="number"){a=new Array(t);for(let l=0;l<t;l++)a[l]=e(l+1,l,void 0,r)}else if(Qt(t))if(t[Symbol.iterator])a=Array.from(t,(l,u)=>e(l,u,void 0,r));else{const l=Object.keys(t);a=new Array(l.length);for(let u=0,c=l.length;u<c;u++){const d=l[u];a[u]=e(t[d],d,u,r)}}else a=[];return a}function SE(t,e){for(let s=0;s<e.length;s++){const n=e[s];if(ft(n))for(let a=0;a<n.length;a++)t[n[a].name]=n[a].fn;else n&&(t[n.name]=n.key?(...a)=>{const r=n.fn(...a);return r&&(r.key=n.key),r}:n.fn)}return t}function zE(t,e,s={},n,a){if(we.ce||we.parent&&un(we.parent)&&we.parent.ce)return e!=="default"&&(s.name=e),$(),ui(bt,null,[I("slot",s,n)],64);let r=t[e];r&&r._c&&(r._d=!1),$();const o=r&&y0(r(s)),l=s.key||o&&o.key,u=ui(bt,{key:(l&&!es(l)?l:`_${e}`)+""},o||[],o&&t._===1?64:-2);return!a&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),r&&r._c&&(r._d=!0),u}function y0(t){return t.some(e=>Os(e)?!(e.type===ye||e.type===bt&&!y0(e.children)):!0)?t:null}const Al=t=>t?F0(t)?po(t):Al(t.parent):null,Qn=be(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=>Al(t.parent),$root:t=>Al(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>w0(t),$forceUpdate:t=>t.f||(t.f=()=>{Mu(t.update)}),$nextTick:t=>t.n||(t.n=Si.bind(t.proxy)),$watch:t=>o3.bind(t)}),No=(t,e)=>t!==Rt&&!t.__isScriptSetup&&Nt(t,e),Gv={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:a,props:r,accessCache:o,type:l,appContext:u}=t;let c;if(e[0]!=="$"){const m=o[e];if(m!==void 0)switch(m){case 1:return n[e];case 2:return a[e];case 4:return s[e];case 3:return r[e]}else{if(No(n,e))return o[e]=1,n[e];if(a!==Rt&&Nt(a,e))return o[e]=2,a[e];if((c=t.propsOptions[0])&&Nt(c,e))return o[e]=3,r[e];if(s!==Rt&&Nt(s,e))return o[e]=4,s[e];Tl&&(o[e]=0)}}const d=Qn[e];let b,p;if(d)return e==="$attrs"&&je(t.attrs,"get",""),d(t);if((b=l.__cssModules)&&(b=b[e]))return b;if(s!==Rt&&Nt(s,e))return o[e]=4,s[e];if(p=u.config.globalProperties,Nt(p,e))return p[e]},set({_:t},e,s){const{data:n,setupState:a,ctx:r}=t;return No(a,e)?(a[e]=s,!0):n!==Rt&&Nt(n,e)?(n[e]=s,!0):Nt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:a,propsOptions:r}},o){let l;return!!s[o]||t!==Rt&&Nt(t,o)||No(e,o)||(l=r[0])&&Nt(l,o)||Nt(n,o)||Nt(Qn,o)||Nt(a.config.globalProperties,o)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:Nt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Tr(t){return ft(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}function AE(t,e){return!t||!e?t||e:ft(t)&&ft(e)?t.concat(e):be({},Tr(t),Tr(e))}function TE(t){const e=ss();let s=t();return Ml(),Su(s)&&(s=s.catch(n=>{throw Ns(e),n})),[s,()=>Ns(e)]}let Tl=!0;function qv(t){const e=w0(t),s=t.proxy,n=t.ctx;Tl=!1,e.beforeCreate&&qd(e.beforeCreate,t,"bc");const{data:a,computed:r,methods:o,watch:l,provide:u,inject:c,created:d,beforeMount:b,mounted:p,beforeUpdate:m,updated:f,activated:v,deactivated:_,beforeDestroy:g,beforeUnmount:h,destroyed:y,unmounted:k,render:w,renderTracked:P,renderTriggered:A,errorCaptured:E,serverPrefetch:S,expose:L,inheritAttrs:N,components:M,directives:x,filters:H}=e;if(c&&Fv(c,n,null),o)for(const mt in o){const dt=o[mt];yt(dt)&&(n[mt]=dt.bind(s))}if(a){const mt=a.call(s,s);Qt(mt)&&(t.data=ce(mt))}if(Tl=!0,r)for(const mt in r){const dt=r[mt],Pt=yt(dt)?dt.bind(s,s):yt(dt.get)?dt.get.bind(s,s):gi,Lt=!yt(dt)&&yt(dt.set)?dt.set.bind(s):gi,tt=B({get:Pt,set:Lt});Object.defineProperty(n,mt,{enumerable:!0,configurable:!0,get:()=>tt.value,set:et=>tt.value=et})}if(l)for(const mt in l)k0(l[mt],n,s,mt);if(u){const mt=yt(u)?u.call(s):u;Reflect.ownKeys(mt).forEach(dt=>{Pe(dt,mt[dt])})}d&&qd(d,t,"c");function it(mt,dt){ft(dt)?dt.forEach(Pt=>mt(Pt.bind(s))):dt&&mt(dt.bind(s))}if(it(lo,b),it(bi,p),it(Iu,m),it(Ma,f),it(Mv,v),it(g0,_),it(Rv,E),it(Dv,P),it(Lv,A),it(Ye,h),it(uo,k),it(Iv,S),ft(L))if(L.length){const mt=t.exposed||(t.exposed={});L.forEach(dt=>{Object.defineProperty(mt,dt,{get:()=>s[dt],set:Pt=>s[dt]=Pt})})}else t.exposed||(t.exposed={});w&&t.render===gi&&(t.render=w),N!=null&&(t.inheritAttrs=N),M&&(t.components=M),x&&(t.directives=x),S&&v0(t)}function Fv(t,e,s=gi){ft(t)&&(t=Pl(t));for(const n in t){const a=t[n];let r;Qt(a)?"default"in a?r=Kt(a.from||n,a.default,!0):r=Kt(a.from||n):r=Kt(a),Jt(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[n]=r}}function qd(t,e,s){_i(ft(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function k0(t,e,s,n){let a=n.includes(".")?L0(s,n):()=>s[n];if(se(t)){const r=e[t];yt(r)&&Tt(a,r)}else if(yt(t))Tt(a,t.bind(s));else if(Qt(t))if(ft(t))t.forEach(r=>k0(r,e,s,n));else{const r=yt(t.handler)?t.handler.bind(s):e[t.handler];yt(r)&&Tt(a,r,t)}}function w0(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:a,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,l=r.get(e);let u;return l?u=l:!a.length&&!s&&!n?u=e:(u={},a.length&&a.forEach(c=>Pr(u,c,o,!0)),Pr(u,e,o)),Qt(e)&&r.set(e,u),u}function Pr(t,e,s,n=!1){const{mixins:a,extends:r}=e;r&&Pr(t,r,s,!0),a&&a.forEach(o=>Pr(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=Hv[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const Hv={data:Fd,props:Hd,emits:Hd,methods:Hn,computed:Hn,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:Hn,directives:Hn,watch:Uv,provide:Fd,inject:Vv};function Fd(t,e){return e?t?function(){return be(yt(t)?t.call(this,this):t,yt(e)?e.call(this,this):e)}:e:t}function Vv(t,e){return Hn(Pl(t),Pl(e))}function Pl(t){if(ft(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Ie(t,e){return t?[...new Set([].concat(t,e))]:e}function Hn(t,e){return t?be(Object.create(null),t,e):e}function Hd(t,e){return t?ft(t)&&ft(e)?[...new Set([...t,...e])]:be(Object.create(null),Tr(t),Tr(e??{})):e}function Uv(t,e){if(!t)return e;if(!e)return t;const s=be(Object.create(null),t);for(const n in e)s[n]=Ie(t[n],e[n]);return s}function S0(){return{app:null,config:{isNativeTag:R2,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 Wv=0;function Kv(t,e){return function(n,a=null){yt(n)||(n=be({},n)),a!=null&&!Qt(a)&&(a=null);const r=S0(),o=new WeakSet,l=[];let u=!1;const c=r.app={_uid:Wv++,_component:n,_props:a,_container:null,_context:r,_instance:null,version:M3,get config(){return r.config},set config(d){},use(d,...b){return o.has(d)||(d&&yt(d.install)?(o.add(d),d.install(c,...b)):yt(d)&&(o.add(d),d(c,...b))),c},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),c},component(d,b){return b?(r.components[d]=b,c):r.components[d]},directive(d,b){return b?(r.directives[d]=b,c):r.directives[d]},mount(d,b,p){if(!u){const m=c._ceVNode||I(n,a);return m.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),t(m,d,p),u=!0,c._container=d,d.__vue_app__=c,po(m.component)}},onUnmount(d){l.push(d)},unmount(){u&&(_i(l,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(d,b){return r.provides[d]=b,c},runWithContext(d){const b=dn;dn=c;try{return d()}finally{dn=b}}};return c}}let dn=null;function Pe(t,e){if(Ae){let s=Ae.provides;const n=Ae.parent&&Ae.parent.provides;n===s&&(s=Ae.provides=Object.create(n)),s[t]=e}}function Kt(t,e,s=!1){const n=Ae||we;if(n||dn){const a=dn?dn._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(a&&t in a)return a[t];if(arguments.length>1)return s&&yt(e)?e.call(n&&n.proxy):e}}const z0={},A0=()=>Object.create(z0),T0=t=>Object.getPrototypeOf(t)===z0;function Xv(t,e,s,n=!1){const a={},r=A0();t.propsDefaults=Object.create(null),P0(t,e,a,r);for(const o in t.propsOptions[0])o in a||(a[o]=void 0);s?t.props=n?a:Qp(a):t.type.props?t.props=a:t.props=r,t.attrs=r}function Yv(t,e,s,n){const{props:a,attrs:r,vnode:{patchFlag:o}}=t,l=pt(a),[u]=t.propsOptions;let c=!1;if((n||o>0)&&!(o&16)){if(o&8){const d=t.vnode.dynamicProps;for(let b=0;b<d.length;b++){let p=d[b];if(bo(t.emitsOptions,p))continue;const m=e[p];if(u)if(Nt(r,p))m!==r[p]&&(r[p]=m,c=!0);else{const f=qe(p);a[f]=El(u,l,f,m,t,!1)}else m!==r[p]&&(r[p]=m,c=!0)}}}else{P0(t,e,a,r)&&(c=!0);let d;for(const b in l)(!e||!Nt(e,b)&&((d=vs(b))===b||!Nt(e,d)))&&(u?s&&(s[b]!==void 0||s[d]!==void 0)&&(a[b]=El(u,l,b,void 0,t,!0)):delete a[b]);if(r!==l)for(const b in r)(!e||!Nt(e,b))&&(delete r[b],c=!0)}c&&Ki(t.attrs,"set","")}function P0(t,e,s,n){const[a,r]=t.propsOptions;let o=!1,l;if(e)for(let u in e){if(Xn(u))continue;const c=e[u];let d;a&&Nt(a,d=qe(u))?!r||!r.includes(d)?s[d]=c:(l||(l={}))[d]=c:bo(t.emitsOptions,u)||(!(u in n)||c!==n[u])&&(n[u]=c,o=!0)}if(r){const u=pt(s),c=l||Rt;for(let d=0;d<r.length;d++){const b=r[d];s[b]=El(a,u,b,c[b],t,!Nt(c,b))}}return o}function El(t,e,s,n,a,r){const o=t[s];if(o!=null){const l=Nt(o,"default");if(l&&n===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&yt(u)){const{propsDefaults:c}=a;if(s in c)n=c[s];else{const d=Ns(a);n=c[s]=u.call(null,e),d()}}else n=u;a.ce&&a.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===vs(s))&&(n=!0))}return n}const $v=new WeakMap;function E0(t,e,s=!1){const n=s?$v:e.propsCache,a=n.get(t);if(a)return a;const r=t.props,o={},l=[];let u=!1;if(!yt(t)){const d=b=>{u=!0;const[p,m]=E0(b,e,!0);be(o,p),m&&l.push(...m)};!s&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!r&&!u)return Qt(t)&&n.set(t,an),an;if(ft(r))for(let d=0;d<r.length;d++){const b=qe(r[d]);Vd(b)&&(o[b]=Rt)}else if(r)for(const d in r){const b=qe(d);if(Vd(b)){const p=r[d],m=o[b]=ft(p)||yt(p)?{type:p}:be({},p),f=m.type;let v=!1,_=!0;if(ft(f))for(let g=0;g<f.length;++g){const h=f[g],y=yt(h)&&h.name;if(y==="Boolean"){v=!0;break}else y==="String"&&(_=!1)}else v=yt(f)&&f.name==="Boolean";m[0]=v,m[1]=_,(v||Nt(m,"default"))&&l.push(b)}}const c=[o,l];return Qt(t)&&n.set(t,c),c}function Vd(t){return t[0]!=="$"&&!Xn(t)}const j0=t=>t[0]==="_"||t==="$stable",Ru=t=>ft(t)?t.map(fi):[fi(t)],Zv=(t,e,s)=>{if(e._n)return e;const n=It((...a)=>Ru(e(...a)),s);return n._c=!1,n},C0=(t,e,s)=>{const n=t._ctx;for(const a in t){if(j0(a))continue;const r=t[a];if(yt(r))e[a]=Zv(a,r,n);else if(r!=null){const o=Ru(r);e[a]=()=>o}}},M0=(t,e)=>{const s=Ru(e);t.slots.default=()=>s},x0=(t,e,s)=>{for(const n in e)(s||n!=="_")&&(t[n]=e[n])},Qv=(t,e,s)=>{const n=t.slots=A0();if(t.vnode.shapeFlag&32){const a=e._;a?(x0(n,e,s),s&&xp(n,"_",a,!0)):C0(e,n)}else e&&M0(t,e)},Jv=(t,e,s)=>{const{vnode:n,slots:a}=t;let r=!0,o=Rt;if(n.shapeFlag&32){const l=e._;l?s&&l===1?r=!1:x0(a,e,s):(r=!e.$stable,C0(e,a)),o=e}else e&&(M0(t,e),o={default:1});if(r)for(const l in a)!j0(l)&&o[l]==null&&delete a[l]},Re=h3;function t3(t){return e3(t)}function e3(t,e){const s=to();s.__VUE__=!0;const{insert:n,remove:a,patchProp:r,createElement:o,createText:l,createComment:u,setText:c,setElementText:d,parentNode:b,nextSibling:p,setScopeId:m=gi,insertStaticContent:f}=t,v=(j,C,O,V=null,W=null,U=null,z=void 0,T=null,R=!!C.dynamicChildren)=>{if(j===C)return;j&&!Mi(j,C)&&(V=F(j),et(j,W,U,!0),j=null),C.patchFlag===-2&&(R=!1,C.dynamicChildren=null);const{type:G,ref:nt,shapeFlag:K}=C;switch(G){case Tn:_(j,C,O,V);break;case ye:g(j,C,O,V);break;case ur:j==null&&h(C,O,V,z);break;case bt:M(j,C,O,V,W,U,z,T,R);break;default:K&1?w(j,C,O,V,W,U,z,T,R):K&6?x(j,C,O,V,W,U,z,T,R):(K&64||K&128)&&G.process(j,C,O,V,W,U,z,T,R,rt)}nt!=null&&W&&Ar(nt,j&&j.ref,U,C||j,!C)},_=(j,C,O,V)=>{if(j==null)n(C.el=l(C.children),O,V);else{const W=C.el=j.el;C.children!==j.children&&c(W,C.children)}},g=(j,C,O,V)=>{j==null?n(C.el=u(C.children||""),O,V):C.el=j.el},h=(j,C,O,V)=>{[j.el,j.anchor]=f(j.children,C,O,V,j.el,j.anchor)},y=({el:j,anchor:C},O,V)=>{let W;for(;j&&j!==C;)W=p(j),n(j,O,V),j=W;n(C,O,V)},k=({el:j,anchor:C})=>{let O;for(;j&&j!==C;)O=p(j),a(j),j=O;a(C)},w=(j,C,O,V,W,U,z,T,R)=>{C.type==="svg"?z="svg":C.type==="math"&&(z="mathml"),j==null?P(C,O,V,W,U,z,T,R):S(j,C,W,U,z,T,R)},P=(j,C,O,V,W,U,z,T)=>{let R,G;const{props:nt,shapeFlag:K,transition:D,dirs:q}=j;if(R=j.el=o(j.type,U,nt&&nt.is,nt),K&8?d(R,j.children):K&16&&E(j.children,R,null,V,W,Bo(j,U),z,T),q&&zs(j,null,V,"created"),A(R,j,j.scopeId,z,V),nt){for(const _t in nt)_t!=="value"&&!Xn(_t)&&r(R,_t,null,nt[_t],U,V);"value"in nt&&r(R,"value",null,nt.value,U),(G=nt.onVnodeBeforeMount)&&Ai(G,V,j)}q&&zs(j,null,V,"beforeMount");const ct=i3(W,D);ct&&D.beforeEnter(R),n(R,C,O),((G=nt&&nt.onVnodeMounted)||ct||q)&&Re(()=>{G&&Ai(G,V,j),ct&&D.enter(R),q&&zs(j,null,V,"mounted")},W)},A=(j,C,O,V,W)=>{if(O&&m(j,O),V)for(let U=0;U<V.length;U++)m(j,V[U]);if(W){let U=W.subTree;if(C===U||O0(U.type)&&(U.ssContent===C||U.ssFallback===C)){const z=W.vnode;A(j,z,z.scopeId,z.slotScopeIds,W.parent)}}},E=(j,C,O,V,W,U,z,T,R=0)=>{for(let G=R;G<j.length;G++){const nt=j[G]=T?ds(j[G]):fi(j[G]);v(null,nt,C,O,V,W,U,z,T)}},S=(j,C,O,V,W,U,z)=>{const T=C.el=j.el;let{patchFlag:R,dynamicChildren:G,dirs:nt}=C;R|=j.patchFlag&16;const K=j.props||Rt,D=C.props||Rt;let q;if(O&&As(O,!1),(q=D.onVnodeBeforeUpdate)&&Ai(q,O,C,j),nt&&zs(C,j,O,"beforeUpdate"),O&&As(O,!0),(K.innerHTML&&D.innerHTML==null||K.textContent&&D.textContent==null)&&d(T,""),G?L(j.dynamicChildren,G,T,O,V,Bo(C,W),U):z||dt(j,C,T,null,O,V,Bo(C,W),U,!1),R>0){if(R&16)N(T,K,D,O,W);else if(R&2&&K.class!==D.class&&r(T,"class",null,D.class,W),R&4&&r(T,"style",K.style,D.style,W),R&8){const ct=C.dynamicProps;for(let _t=0;_t<ct.length;_t++){const Et=ct[_t],he=K[Et],ae=D[Et];(ae!==he||Et==="value")&&r(T,Et,he,ae,W,O)}}R&1&&j.children!==C.children&&d(T,C.children)}else!z&&G==null&&N(T,K,D,O,W);((q=D.onVnodeUpdated)||nt)&&Re(()=>{q&&Ai(q,O,C,j),nt&&zs(C,j,O,"updated")},V)},L=(j,C,O,V,W,U,z)=>{for(let T=0;T<C.length;T++){const R=j[T],G=C[T],nt=R.el&&(R.type===bt||!Mi(R,G)||R.shapeFlag&70)?b(R.el):O;v(R,G,nt,null,V,W,U,z,!0)}},N=(j,C,O,V,W)=>{if(C!==O){if(C!==Rt)for(const U in C)!Xn(U)&&!(U in O)&&r(j,U,C[U],null,W,V);for(const U in O){if(Xn(U))continue;const z=O[U],T=C[U];z!==T&&U!=="value"&&r(j,U,T,z,W,V)}"value"in O&&r(j,"value",C.value,O.value,W)}},M=(j,C,O,V,W,U,z,T,R)=>{const G=C.el=j?j.el:l(""),nt=C.anchor=j?j.anchor:l("");let{patchFlag:K,dynamicChildren:D,slotScopeIds:q}=C;q&&(T=T?T.concat(q):q),j==null?(n(G,O,V),n(nt,O,V),E(C.children||[],O,nt,W,U,z,T,R)):K>0&&K&64&&D&&j.dynamicChildren?(L(j.dynamicChildren,D,O,W,U,z,T),(C.key!=null||W&&C===W.subTree)&&Ou(j,C,!0)):dt(j,C,O,nt,W,U,z,T,R)},x=(j,C,O,V,W,U,z,T,R)=>{C.slotScopeIds=T,j==null?C.shapeFlag&512?W.ctx.activate(C,O,V,z,R):H(C,O,V,W,U,z,R):X(j,C,R)},H=(j,C,O,V,W,U,z)=>{const T=j.component=z3(j,V,W);if(ro(j)&&(T.ctx.renderer=rt),A3(T,!1,z),T.asyncDep){if(W&&W.registerDep(T,it,z),!j.el){const R=T.subTree=I(ye);g(null,R,C,O)}}else it(T,j,C,O,W,U,z)},X=(j,C,O)=>{const V=C.component=j.component;if(b3(j,C,O))if(V.asyncDep&&!V.asyncResolved){mt(V,C,O);return}else V.next=C,V.update();else C.el=j.el,V.vnode=C},it=(j,C,O,V,W,U,z)=>{const T=()=>{if(j.isMounted){let{next:K,bu:D,u:q,parent:ct,vnode:_t}=j;{const pi=I0(j);if(pi){K&&(K.el=_t.el,mt(j,K,z)),pi.asyncDep.then(()=>{j.isUnmounted||T()});return}}let Et=K,he;As(j,!1),K?(K.el=_t.el,mt(j,K,z)):K=_t,D&&xo(D),(he=K.props&&K.props.onVnodeBeforeUpdate)&&Ai(he,ct,K,_t),As(j,!0);const ae=Wd(j),ei=j.subTree;j.subTree=ae,v(ei,ae,b(ei.el),F(ei),j,W,U),K.el=ae.el,Et===null&&Nu(j,ae.el),q&&Re(q,W),(he=K.props&&K.props.onVnodeUpdated)&&Re(()=>Ai(he,ct,K,_t),W)}else{let K;const{el:D,props:q}=C,{bm:ct,m:_t,parent:Et,root:he,type:ae}=j,ei=un(C);As(j,!1),ct&&xo(ct),!ei&&(K=q&&q.onVnodeBeforeMount)&&Ai(K,Et,C),As(j,!0);{he.ce&&he.ce._injectChildStyle(ae);const pi=j.subTree=Wd(j);v(null,pi,O,V,j,W,U),C.el=pi.el}if(_t&&Re(_t,W),!ei&&(K=q&&q.onVnodeMounted)){const pi=C;Re(()=>Ai(K,Et,pi),W)}(C.shapeFlag&256||Et&&un(Et.vnode)&&Et.vnode.shapeFlag&256)&&j.a&&Re(j.a,W),j.isMounted=!0,C=O=V=null}};j.scope.on();const R=j.effect=new Np(T);j.scope.off();const G=j.update=R.run.bind(R),nt=j.job=R.runIfDirty.bind(R);nt.i=j,nt.id=j.uid,R.scheduler=()=>Mu(nt),As(j,!0),G()},mt=(j,C,O)=>{C.component=j;const V=j.vnode.props;j.vnode=C,j.next=null,Yv(j,C.props,V,O),Jv(j,C.children,O),gs(),Dd(j),hs()},dt=(j,C,O,V,W,U,z,T,R=!1)=>{const G=j&&j.children,nt=j?j.shapeFlag:0,K=C.children,{patchFlag:D,shapeFlag:q}=C;if(D>0){if(D&128){Lt(G,K,O,V,W,U,z,T,R);return}else if(D&256){Pt(G,K,O,V,W,U,z,T,R);return}}q&8?(nt&16&&ht(G,W,U),K!==G&&d(O,K)):nt&16?q&16?Lt(G,K,O,V,W,U,z,T,R):ht(G,W,U,!0):(nt&8&&d(O,""),q&16&&E(K,O,V,W,U,z,T,R))},Pt=(j,C,O,V,W,U,z,T,R)=>{j=j||an,C=C||an;const G=j.length,nt=C.length,K=Math.min(G,nt);let D;for(D=0;D<K;D++){const q=C[D]=R?ds(C[D]):fi(C[D]);v(j[D],q,O,null,W,U,z,T,R)}G>nt?ht(j,W,U,!0,!1,K):E(C,O,V,W,U,z,T,R,K)},Lt=(j,C,O,V,W,U,z,T,R)=>{let G=0;const nt=C.length;let K=j.length-1,D=nt-1;for(;G<=K&&G<=D;){const q=j[G],ct=C[G]=R?ds(C[G]):fi(C[G]);if(Mi(q,ct))v(q,ct,O,null,W,U,z,T,R);else break;G++}for(;G<=K&&G<=D;){const q=j[K],ct=C[D]=R?ds(C[D]):fi(C[D]);if(Mi(q,ct))v(q,ct,O,null,W,U,z,T,R);else break;K--,D--}if(G>K){if(G<=D){const q=D+1,ct=q<nt?C[q].el:V;for(;G<=D;)v(null,C[G]=R?ds(C[G]):fi(C[G]),O,ct,W,U,z,T,R),G++}}else if(G>D)for(;G<=K;)et(j[G],W,U,!0),G++;else{const q=G,ct=G,_t=new Map;for(G=ct;G<=D;G++){const Ze=C[G]=R?ds(C[G]):fi(C[G]);Ze.key!=null&&_t.set(Ze.key,G)}let Et,he=0;const ae=D-ct+1;let ei=!1,pi=0;const In=new Array(ae);for(G=0;G<ae;G++)In[G]=0;for(G=q;G<=K;G++){const Ze=j[G];if(he>=ae){et(Ze,W,U,!0);continue}let zi;if(Ze.key!=null)zi=_t.get(Ze.key);else for(Et=ct;Et<=D;Et++)if(In[Et-ct]===0&&Mi(Ze,C[Et])){zi=Et;break}zi===void 0?et(Ze,W,U,!0):(In[zi-ct]=G+1,zi>=pi?pi=zi:ei=!0,v(Ze,C[zi],O,null,W,U,z,T,R),he++)}const Cd=ei?s3(In):an;for(Et=Cd.length-1,G=ae-1;G>=0;G--){const Ze=ct+G,zi=C[Ze],Md=Ze+1<nt?C[Ze+1].el:V;In[G]===0?v(null,zi,O,Md,W,U,z,T,R):ei&&(Et<0||G!==Cd[Et]?tt(zi,O,Md,2):Et--)}}},tt=(j,C,O,V,W=null)=>{const{el:U,type:z,transition:T,children:R,shapeFlag:G}=j;if(G&6){tt(j.component.subTree,C,O,V);return}if(G&128){j.suspense.move(C,O,V);return}if(G&64){z.move(j,C,O,rt);return}if(z===bt){n(U,C,O);for(let K=0;K<R.length;K++)tt(R[K],C,O,V);n(j.anchor,C,O);return}if(z===ur){y(j,C,O);return}if(V!==2&&G&1&&T)if(V===0)T.beforeEnter(U),n(U,C,O),Re(()=>T.enter(U),W);else{const{leave:K,delayLeave:D,afterLeave:q}=T,ct=()=>n(U,C,O),_t=()=>{K(U,()=>{ct(),q&&q()})};D?D(U,ct,_t):_t()}else n(U,C,O)},et=(j,C,O,V=!1,W=!1)=>{const{type:U,props:z,ref:T,children:R,dynamicChildren:G,shapeFlag:nt,patchFlag:K,dirs:D,cacheIndex:q}=j;if(K===-2&&(W=!1),T!=null&&Ar(T,null,O,j,!0),q!=null&&(C.renderCache[q]=void 0),nt&256){C.ctx.deactivate(j);return}const ct=nt&1&&D,_t=!un(j);let Et;if(_t&&(Et=z&&z.onVnodeBeforeUnmount)&&Ai(Et,C,j),nt&6)ge(j.component,O,V);else{if(nt&128){j.suspense.unmount(O,V);return}ct&&zs(j,null,C,"beforeUnmount"),nt&64?j.type.remove(j,C,O,rt,V):G&&!G.hasOnce&&(U!==bt||K>0&&K&64)?ht(G,C,O,!1,!0):(U===bt&&K&384||!W&&nt&16)&&ht(R,C,O),V&&kt(j)}(_t&&(Et=z&&z.onVnodeUnmounted)||ct)&&Re(()=>{Et&&Ai(Et,C,j),ct&&zs(j,null,C,"unmounted")},O)},kt=j=>{const{type:C,el:O,anchor:V,transition:W}=j;if(C===bt){zt(O,V);return}if(C===ur){k(j);return}const U=()=>{a(O),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(j.shapeFlag&1&&W&&!W.persisted){const{leave:z,delayLeave:T}=W,R=()=>z(O,U);T?T(j.el,U,R):R()}else U()},zt=(j,C)=>{let O;for(;j!==C;)O=p(j),a(j),j=O;a(C)},ge=(j,C,O)=>{const{bum:V,scope:W,job:U,subTree:z,um:T,m:R,a:G}=j;Ud(R),Ud(G),V&&xo(V),W.stop(),U&&(U.flags|=8,et(z,j,C,O)),T&&Re(T,C),Re(()=>{j.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&j.asyncDep&&!j.asyncResolved&&j.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},ht=(j,C,O,V=!1,W=!1,U=0)=>{for(let z=U;z<j.length;z++)et(j[z],C,O,V,W)},F=j=>{if(j.shapeFlag&6)return F(j.component.subTree);if(j.shapeFlag&128)return j.suspense.next();const C=p(j.anchor||j.el),O=C&&C[o0];return O?p(O):C};let J=!1;const Q=(j,C,O)=>{j==null?C._vnode&&et(C._vnode,null,null,!0):v(C._vnode||null,j,C,null,null,null,O),C._vnode=j,J||(J=!0,Dd(),n0(),J=!1)},rt={p:v,um:et,m:tt,r:kt,mt:H,mc:E,pc:dt,pbc:L,n:F,o:t};return{render:Q,hydrate:void 0,createApp:Kv(Q)}}function Bo({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 As({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function i3(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ou(t,e,s=!1){const n=t.children,a=e.children;if(ft(n)&&ft(a))for(let r=0;r<n.length;r++){const o=n[r];let l=a[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=a[r]=ds(a[r]),l.el=o.el),!s&&l.patchFlag!==-2&&Ou(o,l)),l.type===Tn&&(l.el=o.el)}}function s3(t){const e=t.slice(),s=[0];let n,a,r,o,l;const u=t.length;for(n=0;n<u;n++){const c=t[n];if(c!==0){if(a=s[s.length-1],t[a]<c){e[n]=a,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,t[s[l]]<c?r=l+1:o=l;c<t[s[r]]&&(r>0&&(e[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function I0(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:I0(e)}function Ud(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const n3=Symbol.for("v-scx"),a3=()=>Kt(n3);function _s(t,e){return co(t,null,e)}function r3(t,e){return co(t,null,{flush:"sync"})}function Tt(t,e,s){return co(t,e,s)}function co(t,e,s=Rt){const{immediate:n,deep:a,flush:r,once:o}=s,l=be({},s),u=e&&n||!e&&r!=="post";let c;if(ba){if(r==="sync"){const m=a3();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!u){const m=()=>{};return m.stop=gi,m.resume=gi,m.pause=gi,m}}const d=Ae;l.call=(m,f,v)=>_i(m,d,f,v);let b=!1;r==="post"?l.scheduler=m=>{Re(m,d&&d.suspense)}:r!=="sync"&&(b=!0,l.scheduler=(m,f)=>{f?m():Mu(m)}),l.augmentJob=m=>{e&&(m.flags|=4),b&&(m.flags|=2,d&&(m.id=d.uid,m.i=d))};const p=zv(t,e,l);return ba&&(c?c.push(p):u&&p()),p}function o3(t,e,s){const n=this.proxy,a=se(t)?t.includes(".")?L0(n,t):()=>n[t]:t.bind(n,n);let r;yt(e)?r=e:(r=e.handler,s=e);const o=Ns(this),l=co(a,r.bind(n),s);return o(),l}function L0(t,e){const s=e.split(".");return()=>{let n=t;for(let a=0;a<s.length&&n;a++)n=n[s[a]];return n}}function PE(t,e,s=Rt){const n=ss(),a=qe(e),r=vs(e),o=D0(t,a),l=hv((u,c)=>{let d,b=Rt,p;return r3(()=>{const m=t[a];Ve(d,m)&&(d=m,c())}),{get(){return u(),s.get?s.get(d):d},set(m){const f=s.set?s.set(m):m;if(!Ve(f,d)&&!(b!==Rt&&Ve(m,b)))return;const v=n.vnode.props;v&&(e in v||a in v||r in v)&&(`onUpdate:${e}`in v||`onUpdate:${a}`in v||`onUpdate:${r}`in v)||(d=m,c()),n.emit(`update:${e}`,f),Ve(m,f)&&Ve(m,b)&&!Ve(f,p)&&c(),b=m,p=f}}});return l[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?o||Rt:l,done:!1}:{done:!0}}}},l}const D0=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${qe(e)}Modifiers`]||t[`${vs(e)}Modifiers`];function l3(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||Rt;let a=s;const r=e.startsWith("update:"),o=r&&D0(n,e.slice(7));o&&(o.trim&&(a=s.map(d=>se(d)?d.trim():d)),o.number&&(a=s.map(q2)));let l,u=n[l=Mo(e)]||n[l=Mo(qe(e))];!u&&r&&(u=n[l=Mo(vs(e))]),u&&_i(u,t,6,a);const c=n[l+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,_i(c,t,6,a)}}function R0(t,e,s=!1){const n=e.emitsCache,a=n.get(t);if(a!==void 0)return a;const r=t.emits;let o={},l=!1;if(!yt(t)){const u=c=>{const d=R0(c,e,!0);d&&(l=!0,be(o,d))};!s&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!r&&!l?(Qt(t)&&n.set(t,null),null):(ft(r)?r.forEach(u=>o[u]=null):be(o,r),Qt(t)&&n.set(t,o),o)}function bo(t,e){return!t||!Zr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Nt(t,e[0].toLowerCase()+e.slice(1))||Nt(t,vs(e))||Nt(t,e))}function Wd(t){const{type:e,vnode:s,proxy:n,withProxy:a,propsOptions:[r],slots:o,attrs:l,emit:u,render:c,renderCache:d,props:b,data:p,setupState:m,ctx:f,inheritAttrs:v}=t,_=zr(t);let g,h;try{if(s.shapeFlag&4){const k=a||n,w=k;g=fi(c.call(w,k,d,b,m,p,f)),h=l}else{const k=e;g=fi(k.length>1?k(b,{attrs:l,slots:o,emit:u}):k(b,null)),h=e.props?l:d3(l)}}catch(k){Jn.length=0,Ca(k,t,1),g=I(ye)}let y=g;if(h&&v!==!1){const k=Object.keys(h),{shapeFlag:w}=y;k.length&&w&7&&(r&&k.some(ku)&&(h=c3(h,r)),y=fs(y,h,!1,!0))}return s.dirs&&(y=fs(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(s.dirs):s.dirs),s.transition&&Rs(y,s.transition),g=y,zr(_),g}function u3(t,e=!0){let s;for(let n=0;n<t.length;n++){const a=t[n];if(Os(a)){if(a.type!==ye||a.children==="v-if"){if(s)return;s=a}}else return}return s}const d3=t=>{let e;for(const s in t)(s==="class"||s==="style"||Zr(s))&&((e||(e={}))[s]=t[s]);return e},c3=(t,e)=>{const s={};for(const n in t)(!ku(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function b3(t,e,s){const{props:n,children:a,component:r}=t,{props:o,children:l,patchFlag:u}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?Kd(n,o,c):!!o;if(u&8){const d=e.dynamicProps;for(let b=0;b<d.length;b++){const p=d[b];if(o[p]!==n[p]&&!bo(c,p))return!0}}}else return(a||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Kd(n,o,c):!0:!!o;return!1}function Kd(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let a=0;a<n.length;a++){const r=n[a];if(e[r]!==t[r]&&!bo(s,r))return!0}return!1}function Nu({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const O0=t=>t.__isSuspense;let jl=0;const p3={name:"Suspense",__isSuspense:!0,process(t,e,s,n,a,r,o,l,u,c){if(t==null)m3(e,s,n,a,r,o,l,u,c);else{if(r&&r.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}f3(t,e,s,n,a,o,l,u,c)}},hydrate:v3,normalize:g3},EE=p3;function ca(t,e){const s=t.props&&t.props[e];yt(s)&&s()}function m3(t,e,s,n,a,r,o,l,u){const{p:c,o:{createElement:d}}=u,b=d("div"),p=t.suspense=N0(t,a,n,e,b,s,r,o,l,u);c(null,p.pendingBranch=t.ssContent,b,null,n,p,r,o),p.deps>0?(ca(t,"onPending"),ca(t,"onFallback"),c(null,t.ssFallback,e,s,n,null,r,o),cn(p,t.ssFallback)):p.resolve(!1,!0)}function f3(t,e,s,n,a,r,o,l,{p:u,um:c,o:{createElement:d}}){const b=e.suspense=t.suspense;b.vnode=e,e.el=t.el;const p=e.ssContent,m=e.ssFallback,{activeBranch:f,pendingBranch:v,isInFallback:_,isHydrating:g}=b;if(v)b.pendingBranch=p,Mi(p,v)?(u(v,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0?b.resolve():_&&(g||(u(f,m,s,n,a,null,r,o,l),cn(b,m)))):(b.pendingId=jl++,g?(b.isHydrating=!1,b.activeBranch=v):c(v,a,b),b.deps=0,b.effects.length=0,b.hiddenContainer=d("div"),_?(u(null,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0?b.resolve():(u(f,m,s,n,a,null,r,o,l),cn(b,m))):f&&Mi(p,f)?(u(f,p,s,n,a,b,r,o,l),b.resolve(!0)):(u(null,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0&&b.resolve()));else if(f&&Mi(p,f))u(f,p,s,n,a,b,r,o,l),cn(b,p);else if(ca(e,"onPending"),b.pendingBranch=p,p.shapeFlag&512?b.pendingId=p.component.suspenseId:b.pendingId=jl++,u(null,p,b.hiddenContainer,null,a,b,r,o,l),b.deps<=0)b.resolve();else{const{timeout:h,pendingId:y}=b;h>0?setTimeout(()=>{b.pendingId===y&&b.fallback(m)},h):h===0&&b.fallback(m)}}function N0(t,e,s,n,a,r,o,l,u,c,d=!1){const{p:b,m:p,um:m,n:f,o:{parentNode:v,remove:_}}=c;let g;const h=_3(t);h&&e&&e.pendingBranch&&(g=e.pendingId,e.deps++);const y=t.props?Ip(t.props.timeout):void 0,k=r,w={vnode:t,parent:e,parentComponent:s,namespace:o,container:n,hiddenContainer:a,deps:0,pendingId:jl++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(P=!1,A=!1){const{vnode:E,activeBranch:S,pendingBranch:L,pendingId:N,effects:M,parentComponent:x,container:H}=w;let X=!1;w.isHydrating?w.isHydrating=!1:P||(X=S&&L.transition&&L.transition.mode==="out-in",X&&(S.transition.afterLeave=()=>{N===w.pendingId&&(p(L,H,r===k?f(S):r,0),Sr(M))}),S&&(v(S.el)===H&&(r=f(S)),m(S,x,w,!0)),X||p(L,H,r,0)),cn(w,L),w.pendingBranch=null,w.isInFallback=!1;let it=w.parent,mt=!1;for(;it;){if(it.pendingBranch){it.effects.push(...M),mt=!0;break}it=it.parent}!mt&&!X&&Sr(M),w.effects=[],h&&e&&e.pendingBranch&&g===e.pendingId&&(e.deps--,e.deps===0&&!A&&e.resolve()),ca(E,"onResolve")},fallback(P){if(!w.pendingBranch)return;const{vnode:A,activeBranch:E,parentComponent:S,container:L,namespace:N}=w;ca(A,"onFallback");const M=f(E),x=()=>{w.isInFallback&&(b(null,P,L,M,S,null,N,l,u),cn(w,P))},H=P.transition&&P.transition.mode==="out-in";H&&(E.transition.afterLeave=x),w.isInFallback=!0,m(E,S,null,!0),H||x()},move(P,A,E){w.activeBranch&&p(w.activeBranch,P,A,E),w.container=P},next(){return w.activeBranch&&f(w.activeBranch)},registerDep(P,A,E){const S=!!w.pendingBranch;S&&w.deps++;const L=P.vnode.el;P.asyncDep.catch(N=>{Ca(N,P,0)}).then(N=>{if(P.isUnmounted||w.isUnmounted||w.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:M}=P;xl(P,N),L&&(M.el=L);const x=!L&&P.subTree.el;A(P,M,v(L||P.subTree.el),L?null:f(P.subTree),w,o,E),x&&_(x),Nu(P,M.el),S&&--w.deps===0&&w.resolve()})},unmount(P,A){w.isUnmounted=!0,w.activeBranch&&m(w.activeBranch,s,P,A),w.pendingBranch&&m(w.pendingBranch,s,P,A)}};return w}function v3(t,e,s,n,a,r,o,l,u){const c=e.suspense=N0(e,n,s,t.parentNode,document.createElement("div"),null,a,r,o,l,!0),d=u(t,c.pendingBranch=e.ssContent,s,c,r,o);return c.deps===0&&c.resolve(!1,!0),d}function g3(t){const{shapeFlag:e,children:s}=t,n=e&32;t.ssContent=Xd(n?s.default:s),t.ssFallback=n?Xd(s.fallback):I(ye)}function Xd(t){let e;if(yt(t)){const s=vn&&t._c;s&&(t._d=!1,$()),t=t(),s&&(t._d=!0,e=We,B0())}return ft(t)&&(t=u3(t)),t=fi(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(s=>s!==t)),t}function h3(t,e){e&&e.pendingBranch?ft(t)?e.effects.push(...t):e.effects.push(t):Sr(t)}function cn(t,e){t.activeBranch=e;const{vnode:s,parentComponent:n}=t;let a=e.el;for(;!a&&e.component;)e=e.component.subTree,a=e.el;s.el=a,n&&n.subTree===s&&(n.vnode.el=a,Nu(n,a))}function _3(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const bt=Symbol.for("v-fgt"),Tn=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),ur=Symbol.for("v-stc"),Jn=[];let We=null;function $(t=!1){Jn.push(We=t?null:[])}function B0(){Jn.pop(),We=Jn[Jn.length-1]||null}let vn=1;function Yd(t,e=!1){vn+=t,t<0&&We&&e&&(We.hasOnce=!0)}function G0(t){return t.dynamicChildren=vn>0?We||an:null,B0(),vn>0&&We&&We.push(t),t}function st(t,e,s,n,a,r){return G0(gt(t,e,s,n,a,r,!0))}function ui(t,e,s,n,a){return G0(I(t,e,s,n,a,!0))}function Os(t){return t?t.__v_isVNode===!0:!1}function Mi(t,e){return t.type===e.type&&t.key===e.key}const q0=({key:t})=>t??null,dr=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?se(t)||Jt(t)||yt(t)?{i:we,r:t,k:e,f:!!s}:t:null);function gt(t,e=null,s=null,n=0,a=null,r=t===bt?0:1,o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&q0(e),ref:e&&dr(e),scopeId:r0,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:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:we};return l?(Bu(u,s),r&128&&t.normalize(u)):s&&(u.shapeFlag|=se(s)?8:16),vn>0&&!o&&We&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&We.push(u),u}const I=y3;function y3(t,e=null,s=null,n=0,a=null,r=!1){if((!t||t===_0)&&(t=ye),Os(t)){const l=fs(t,e,!0);return s&&Bu(l,s),vn>0&&!r&&We&&(l.shapeFlag&6?We[We.indexOf(t)]=l:We.push(l)),l.patchFlag=-2,l}if(C3(t)&&(t=t.__vccOpts),e){e=k3(e);let{class:l,style:u}=e;l&&!se(l)&&(e.class=eo(l)),Qt(u)&&(Cu(u)&&!ft(u)&&(u=be({},u)),e.style=Ii(u))}const o=se(t)?1:O0(t)?128:l0(t)?64:Qt(t)?4:yt(t)?2:0;return gt(t,e,s,n,a,o,r,!0)}function k3(t){return t?Cu(t)||T0(t)?be({},t):t:null}function fs(t,e,s=!1,n=!1){const{props:a,ref:r,patchFlag:o,children:l,transition:u}=t,c=e?Bt(a||{},e):a,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&q0(c),ref:e&&e.ref?s&&r?ft(r)?r.concat(dr(e)):[r,dr(e)]:dr(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==bt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&fs(t.ssContent),ssFallback:t.ssFallback&&fs(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&n&&Rs(d,u.clone(d)),d}function At(t=" ",e=0){return I(Tn,null,t,e)}function Xt(t="",e=!1){return e?($(),ui(ye,null,t)):I(ye,null,t)}function fi(t){return t==null||typeof t=="boolean"?I(ye):ft(t)?I(bt,null,t.slice()):Os(t)?ds(t):I(Tn,null,String(t))}function ds(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:fs(t)}function Bu(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(ft(e))s=16;else if(typeof e=="object")if(n&65){const a=e.default;a&&(a._c&&(a._d=!1),Bu(t,a()),a._c&&(a._d=!0));return}else{s=32;const a=e._;!a&&!T0(e)?e._ctx=we:a===3&&we&&(we.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else yt(e)?(e={default:e,_ctx:we},s=32):(e=String(e),n&64?(s=16,e=[At(e)]):s=8);t.children=e,t.shapeFlag|=s}function Bt(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const a in n)if(a==="class")e.class!==n.class&&(e.class=eo([e.class,n.class]));else if(a==="style")e.style=Ii([e.style,n.style]);else if(Zr(a)){const r=e[a],o=n[a];o&&r!==o&&!(ft(r)&&r.includes(o))&&(e[a]=r?[].concat(r,o):o)}else a!==""&&(e[a]=n[a])}return e}function Ai(t,e,s,n=null){_i(t,e,7,[s,n])}const w3=S0();let S3=0;function z3(t,e,s){const n=t.type,a=(e?e.appContext:t.appContext)||w3,r={uid:S3++,vnode:t,type:n,parent:e,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Op(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(a.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:E0(n,a),emitsOptions:R0(n,a),emit:null,emitted:null,propsDefaults:Rt,inheritAttrs:n.inheritAttrs,ctx:Rt,data:Rt,props:Rt,attrs:Rt,slots:Rt,refs:Rt,setupState:Rt,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=l3.bind(null,r),t.ce&&t.ce(r),r}let Ae=null;const ss=()=>Ae||we;let Er,Cl;{const t=to(),e=(s,n)=>{let a;return(a=t[s])||(a=t[s]=[]),a.push(n),r=>{a.length>1?a.forEach(o=>o(r)):a[0](r)}};Er=e("__VUE_INSTANCE_SETTERS__",s=>Ae=s),Cl=e("__VUE_SSR_SETTERS__",s=>ba=s)}const Ns=t=>{const e=Ae;return Er(t),t.scope.on(),()=>{t.scope.off(),Er(e)}},Ml=()=>{Ae&&Ae.scope.off(),Er(null)};function F0(t){return t.vnode.shapeFlag&4}let ba=!1;function A3(t,e=!1,s=!1){e&&Cl(e);const{props:n,children:a}=t.vnode,r=F0(t);Xv(t,n,r,e),Qv(t,a,s);const o=r?T3(t,e):void 0;return e&&Cl(!1),o}function T3(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Gv);const{setup:n}=s;if(n){gs();const a=t.setupContext=n.length>1?E3(t):null,r=Ns(t),o=ja(n,t,0,[t.props,a]),l=Su(o);if(hs(),r(),(l||t.sp)&&!un(t)&&v0(t),l){if(o.then(Ml,Ml),e)return o.then(u=>{xl(t,u)}).catch(u=>{Ca(u,t,0)});t.asyncDep=o}else xl(t,o)}else H0(t)}function xl(t,e,s){yt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Qt(e)&&(t.setupState=t0(e)),H0(t)}function H0(t,e,s){const n=t.type;t.render||(t.render=n.render||gi);{const a=Ns(t);gs();try{qv(t)}finally{hs(),a()}}}const P3={get(t,e){return je(t,"get",""),t[e]}};function E3(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,P3),slots:t.slots,emit:t.emit,expose:e}}function po(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(t0(mv(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Qn)return Qn[s](t)},has(e,s){return s in e||s in Qn}})):t.proxy}function j3(t,e=!0){return yt(t)?t.displayName||t.name:t.name||e&&t.__name}function C3(t){return yt(t)&&"__vccOpts"in t}const B=(t,e)=>wv(t,e,ba);function ie(t,e,s){const n=arguments.length;return n===2?Qt(e)&&!ft(e)?Os(e)?I(t,null,[e]):I(t,e):I(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Os(s)&&(s=[s]),I(t,e,s))}const M3="3.5.13";/**
|
|
15
15
|
* @vue/runtime-dom v3.5.13
|
|
16
16
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
17
|
* @license MIT
|
|
18
|
-
**/let al;const ku=typeof window<"u"&&window.trustedTypes;if(ku)try{al=ku.createPolicy("vue",{createHTML:t=>t})}catch{}const m0=al?t=>al.createHTML(t):t=>t,iv="http://www.w3.org/2000/svg",sv="http://www.w3.org/1998/Math/MathML",ji=typeof document<"u"?document:null,wu=ji&&ji.createElement("template"),nv={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const a=e==="svg"?ji.createElementNS(iv,t):e==="mathml"?ji.createElementNS(sv,t):s?ji.createElement(t,{is:s}):ji.createElement(t);return t==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:t=>ji.createTextNode(t),createComment:t=>ji.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ji.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,a,r){const o=s?s.previousSibling:e.lastChild;if(a&&(a===r||a.nextSibling))for(;e.insertBefore(a.cloneNode(!0),s),!(a===r||!(a=a.nextSibling)););else{wu.innerHTML=m0(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=wu.content;if(n==="svg"||n==="mathml"){const d=l.firstChild;for(;d.firstChild;)l.appendChild(d.firstChild);l.removeChild(d)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Fi="transition",gn="animation",tn=Symbol("_vtc"),f0={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},v0=Yt({},Rp,f0),av=t=>(t.displayName="Transition",t.props=v0,t),As=av((t,{slots:e})=>Ht(J2,g0(t),e)),bs=(t,e=[])=>{lt(t)?t.forEach(s=>s(...e)):t&&t(...e)},Su=t=>t?lt(t)?t.some(e=>e.length>1):t.length>1:!1;function g0(t){const e={};for(const x in t)x in f0||(e[x]=t[x]);if(t.css===!1)return e;const{name:s="v",type:n,duration:a,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:l=`${s}-enter-to`,appearFromClass:d=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:b=`${s}-leave-from`,leaveActiveClass:p=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=t,f=rv(a),v=f&&f[0],k=f&&f[1],{onBeforeEnter:h,onEnter:g,onEnterCancelled:_,onLeave:y,onLeaveCancelled:w,onBeforeAppear:P=h,onAppear:E=g,onAppearCancelled:j=_}=e,z=(x,M,V,X)=>{x._enterCancelled=X,Ui(x,M?u:l),Ui(x,M?c:o),V&&V()},L=(x,M)=>{x._isLeaving=!1,Ui(x,b),Ui(x,m),Ui(x,p),M&&M()},O=x=>(M,V)=>{const X=x?E:g,J=()=>z(M,x,V);bs(X,[M,J]),zu(()=>{Ui(M,x?d:r),mi(M,x?u:l),Su(X)||Tu(M,n,v,J)})};return Yt(e,{onBeforeEnter(x){bs(h,[x]),mi(x,r),mi(x,o)},onBeforeAppear(x){bs(P,[x]),mi(x,d),mi(x,c)},onEnter:O(!1),onAppear:O(!0),onLeave(x,M){x._isLeaving=!0;const V=()=>L(x,M);mi(x,b),x._enterCancelled?(mi(x,p),rl()):(rl(),mi(x,p)),zu(()=>{x._isLeaving&&(Ui(x,b),mi(x,m),Su(y)||Tu(x,n,k,V))}),bs(y,[x,V])},onEnterCancelled(x){z(x,!1,void 0,!0),bs(_,[x])},onAppearCancelled(x){z(x,!0,void 0,!0),bs(j,[x])},onLeaveCancelled(x){L(x),bs(w,[x])}})}function rv(t){if(t==null)return null;if(Rt(t))return[mo(t.enter),mo(t.leave)];{const e=mo(t);return[e,e]}}function mo(t){return sp(t)}function mi(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[tn]||(t[tn]=new Set)).add(e)}function Ui(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[tn];s&&(s.delete(e),s.size||(t[tn]=void 0))}function zu(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let ov=0;function Tu(t,e,s,n){const a=t._endId=++ov,r=()=>{a===t._endId&&n()};if(s!=null)return setTimeout(r,s);const{type:o,timeout:l,propCount:d}=_0(t,e);if(!o)return n();const c=o+"end";let u=0;const b=()=>{t.removeEventListener(c,p),r()},p=m=>{m.target===t&&++u>=d&&b()};setTimeout(()=>{u<d&&b()},l+1),t.addEventListener(c,p)}function _0(t,e){const s=window.getComputedStyle(t),n=f=>(s[f]||"").split(", "),a=n(`${Fi}Delay`),r=n(`${Fi}Duration`),o=Au(a,r),l=n(`${gn}Delay`),d=n(`${gn}Duration`),c=Au(l,d);let u=null,b=0,p=0;e===Fi?o>0&&(u=Fi,b=o,p=r.length):e===gn?c>0&&(u=gn,b=c,p=d.length):(b=Math.max(o,c),u=b>0?o>c?Fi:gn:null,p=u?u===Fi?r.length:d.length:0);const m=u===Fi&&/\b(transform|all)(,|$)/.test(n(`${Fi}Property`).toString());return{type:u,timeout:b,propCount:p,hasTransform:m}}function Au(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Pu(s)+Pu(t[n])))}function Pu(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function rl(){return document.body.offsetHeight}function lv(t,e,s){const n=t[tn];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const ir=Symbol("_vod"),h0=Symbol("_vsh"),cd={beforeMount(t,{value:e},{transition:s}){t[ir]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):_n(t,e)},mounted(t,{value:e},{transition:s}){s&&e&&s.enter(t)},updated(t,{value:e,oldValue:s},{transition:n}){!e!=!s&&(n?e?(n.beforeEnter(t),_n(t,!0),n.enter(t)):n.leave(t,()=>{_n(t,!1)}):_n(t,e))},beforeUnmount(t,{value:e}){_n(t,e)}};function _n(t,e){t.style.display=e?t[ir]:"none",t[h0]=!e}const y0=Symbol("");function RA(t){const e=Gi();if(!e)return;const s=e.ut=(a=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>sr(r,a))},n=()=>{const a=t(e.proxy);e.ce?sr(e.ce,a):ol(e.subTree,a),s(a)};sd(()=>{Ya(n)}),li(()=>{ht(n,ei,{flush:"post"});const a=new MutationObserver(n);a.observe(e.subTree.el.parentNode,{childList:!0}),Rr(()=>a.disconnect())})}function ol(t,e){if(t.shapeFlag&128){const s=t.suspense;t=s.activeBranch,s.pendingBranch&&!s.isHydrating&&s.effects.push(()=>{ol(s.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)sr(t.el,e);else if(t.type===Tt)t.children.forEach(s=>ol(s,e));else if(t.type===Na){let{el:s,anchor:n}=t;for(;s&&(sr(s,e),s!==n);)s=s.nextSibling}}function sr(t,e){if(t.nodeType===1){const s=t.style;let n="";for(const a in e)s.setProperty(`--${a}`,e[a]),n+=`--${a}: ${e[a]};`;s[y0]=n}}const dv=/(^|;)\s*display\s*:/;function uv(t,e,s){const n=t.style,a=Ut(s);let r=!1;if(s&&!a){if(e)if(Ut(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&qa(n,l,"")}else for(const o in e)s[o]==null&&qa(n,o,"");for(const o in s)o==="display"&&(r=!0),qa(n,o,s[o])}else if(a){if(e!==s){const o=n[y0];o&&(s+=";"+o),n.cssText=s,r=dv.test(s)}}else e&&t.removeAttribute("style");ir in t&&(t[ir]=r?n.display:"",t[h0]&&(n.display="none"))}const Eu=/\s*!important$/;function qa(t,e,s){if(lt(s))s.forEach(n=>qa(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=cv(t,e);Eu.test(s)?t.setProperty(ts(n),s.replace(Eu,""),"important"):t[n]=s}}const ju=["Webkit","Moz","ms"],fo={};function cv(t,e){const s=fo[e];if(s)return s;let n=Ce(e);if(n!=="filter"&&n in t)return fo[e]=n;n=dn(n);for(let a=0;a<ju.length;a++){const r=ju[a]+n;if(r in t)return fo[e]=r}return e}const Cu="http://www.w3.org/1999/xlink";function xu(t,e,s,n,a,r=f2(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Cu,e.slice(6,e.length)):t.setAttributeNS(Cu,e,s):s==null||r&&!np(s)?t.removeAttribute(e):t.setAttribute(e,r?"":Ni(s)?String(s):s)}function Mu(t,e,s,n,a){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?m0(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?t.getAttribute("value")||"":t.value,d=s==null?t.type==="checkbox"?"on":"":String(s);(l!==d||!("_value"in t))&&(t.value=d),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=np(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(a||e)}function bv(t,e,s,n){t.addEventListener(e,s,n)}function pv(t,e,s,n){t.removeEventListener(e,s,n)}const Lu=Symbol("_vei");function mv(t,e,s,n,a=null){const r=t[Lu]||(t[Lu]={}),o=r[e];if(n&&o)o.value=n;else{const[l,d]=fv(e);if(n){const c=r[e]=_v(n,a);bv(t,l,c,d)}else o&&(pv(t,l,o,d),r[e]=void 0)}}const Du=/(?:Once|Passive|Capture)$/;function fv(t){let e;if(Du.test(t)){e={};let n;for(;n=t.match(Du);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ts(t.slice(2)),e]}let vo=0;const vv=Promise.resolve(),gv=()=>vo||(vv.then(()=>vo=0),vo=Date.now());function _v(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;si(hv(n,s.value),e,5,[n])};return s.value=t,s.attached=gv(),s}function hv(t,e){if(lt(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>a=>!a._stopped&&n&&n(a))}else return e}const Iu=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,yv=(t,e,s,n,a,r)=>{const o=a==="svg";e==="class"?lv(t,n,o):e==="style"?uv(t,s,n):Sr(e)?Vl(e)||mv(t,e,s,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):kv(t,e,n,o))?(Mu(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&xu(t,e,n,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Ut(n))?Mu(t,Ce(e),n,r,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),xu(t,e,n,o))};function kv(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Iu(e)&&ct(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Iu(e)&&Ut(s)?!1:e in t}const k0=new WeakMap,w0=new WeakMap,nr=Symbol("_moveCb"),Ru=Symbol("_enterCb"),wv=t=>(delete t.props.mode,t),Sv=wv({name:"TransitionGroup",props:Yt({},v0,{tag:String,moveClass:String}),setup(t,{slots:e}){const s=Gi(),n=Ip();let a,r;return Ir(()=>{if(!a.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!Pv(a[0].el,s.vnode.el,o))return;a.forEach(zv),a.forEach(Tv);const l=a.filter(Av);rl(),l.forEach(d=>{const c=d.el,u=c.style;mi(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const b=c[nr]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",b),c[nr]=null,Ui(c,o))};c.addEventListener("transitionend",b)})}),()=>{const o=ot(t),l=g0(o);let d=o.tag||Tt;if(a=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(a.push(u),Ss(u,Un(u,l,n,s)),k0.set(u,u.el.getBoundingClientRect()))}r=e.default?id(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Ss(u,Un(u,l,n,s))}return N(d,null,r)}}}),bd=Sv;function zv(t){const e=t.el;e[nr]&&e[nr](),e[Ru]&&e[Ru]()}function Tv(t){w0.set(t,t.el.getBoundingClientRect())}function Av(t){const e=k0.get(t),s=w0.get(t),n=e.left-s.left,a=e.top-s.top;if(n||a){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${n}px,${a}px)`,r.transitionDuration="0s",t}}function Pv(t,e,s){const n=t.cloneNode(),a=t[tn];a&&a.forEach(l=>{l.split(/\s+/).forEach(d=>d&&n.classList.remove(d))}),s.split(/\s+/).forEach(l=>l&&n.classList.add(l)),n.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(n);const{hasTransform:o}=_0(n);return r.removeChild(n),o}const Ev=["ctrl","shift","alt","meta"],jv={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)=>Ev.some(s=>t[`${s}Key`]&&!e.includes(s))},go=(t,e)=>{const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=(a,...r)=>{for(let o=0;o<e.length;o++){const l=jv[e[o]];if(l&&l(a,e))return}return t(a,...r)})},Cv=Yt({patchProp:yv},nv);let Ou;function xv(){return Ou||(Ou=S3(Cv))}const Mv=(...t)=>{const e=xv().createApp(...t),{mount:s}=e;return e.mount=n=>{const a=Dv(n);if(!a)return;const r=e._component;!ct(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const o=s(a,!1,Lv(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},e};function Lv(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Dv(t){return Ut(t)?document.querySelector(t):t}const OA="this_value_is_encrypted",NA="none";var Iv=(t=>(t.PARAMETRIC_EQ="parametric_eq",t.TONE_CONTROL="tone_control",t))(Iv||{}),Rv=(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))(Rv||{}),Ov=(t=>(t.ENABLED="enabled",t.DISABLED="disabled",t.DISABLED_BY_UNSUPPORTED_GROUP="disabled_by_unsupported_group",t))(Ov||{}),nt=(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))(nt||{}),Nv=(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))(Nv||{}),Bv=(t=>(t.ALBUM="album",t.SINGLE="single",t.COMPILATION="compilation",t.EP="ep",t.UNKNOWN="unknown",t))(Bv||{}),qv=(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))(qv||{}),ce=(t=>(t.PLAY="play",t.REPLACE="replace",t.NEXT="next",t.REPLACE_NEXT="replace_next",t.ADD="add",t))(ce||{}),Rs=(t=>(t.OFF="off",t.ONE="one",t.ALL="all",t))(Rs||{}),Xn=(t=>(t.IDLE="idle",t.PAUSED="paused",t.PLAYING="playing",t))(Xn||{}),pd=(t=>(t.PLAYER="player",t.GROUP="group",t.STEREO_PAIR="stereo_pair",t))(pd||{}),Gv=(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))(Gv||{}),ke=(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.SYNC_TASKS_UPDATED="sync_tasks_updated",t.AUTH_SESSION="auth_session",t.CONNECTED="connected",t.DISCONNECTED="disconnected",t.ALL="*",t))(ke||{}),Ga=(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.ARTIST_METADATA="artist_metadata",t.ALBUM_METADATA="album_metadata",t.TRACK_METADATA="track_metadata",t))(Ga||{}),Fv=(t=>(t.MUSIC="music",t.PLAYER="player",t.METADATA="metadata",t.PLUGIN="plugin",t))(Fv||{}),Vv=(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))(Vv||{}),Hv=(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))(Hv||{});function Uv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _o={exports:{}},Nu;function Wv(){return Nu||(Nu=1,function(t){/*!mobile-detect v1.4.5 2021-03-13*//*!@license Copyright 2013, Heinrich Goebl, License: MIT, see https://github.com/hgoebl/mobile-detect.js*/(function(e,s){e(function(){var n={};n.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"}},n.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 a=Object.prototype.hasOwnProperty,r;n.FALLBACK_PHONE="UnknownPhone",n.FALLBACK_TABLET="UnknownTablet",n.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 l(b,p){var m,f,v=b.length;if(!v||!p)return!1;for(m=p.toLowerCase(),f=0;f<v;++f)if(m===b[f].toLowerCase())return!0;return!1}function d(b){for(var p in b)a.call(b,p)&&(b[p]=new RegExp(b[p],"i"))}function c(b){return(b||"").substr(0,500)}(function(){var p,m,f,v,k,h,g=n.mobileDetectRules;for(p in g.props)if(a.call(g.props,p)){for(m=g.props[p],r(m)||(m=[m]),k=m.length,v=0;v<k;++v)f=m[v],h=f.indexOf("[VER]"),h>=0&&(f=f.substring(0,h)+"([\\w._\\+]+)"+f.substring(h+5)),m[v]=new RegExp(f,"i");g.props[p]=m}d(g.oss),d(g.phones),d(g.tablets),d(g.uas),d(g.utils),g.oss0={WindowsPhoneOS:g.oss.WindowsPhoneOS,WindowsMobileOS:g.oss.WindowsMobileOS}})(),n.findMatch=function(b,p){for(var m in b)if(a.call(b,m)&&b[m].test(p))return m;return null},n.findMatches=function(b,p){var m=[];for(var f in b)a.call(b,f)&&b[f].test(p)&&m.push(f);return m},n.getVersionStr=function(b,p){var m=n.mobileDetectRules.props,f,v,k,h;if(a.call(m,b)){for(f=m[b],k=f.length,v=0;v<k;++v)if(h=f[v].exec(p),h!==null)return h[1]}return null},n.getVersion=function(b,p){var m=n.getVersionStr(b,p);return m?n.prepareVersionNo(m):NaN},n.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)},n.isMobileFallback=function(b){return n.detectMobileBrowsers.fullPattern.test(b)||n.detectMobileBrowsers.shortPattern.test(b.substr(0,4))},n.isTabletFallback=function(b){return n.detectMobileBrowsers.tabletPattern.test(b)},n.prepareDetectionCache=function(b,p,m){if(b.mobile===s){var f,v,k;if(v=n.findMatch(n.mobileDetectRules.tablets,p),v){b.mobile=b.tablet=v,b.phone=null;return}if(f=n.findMatch(n.mobileDetectRules.phones,p),f){b.mobile=b.phone=f,b.tablet=null;return}n.isMobileFallback(p)?(k=u.isPhoneSized(m),k===s?(b.mobile=n.FALLBACK_MOBILE,b.tablet=b.phone=null):k?(b.mobile=b.phone=n.FALLBACK_PHONE,b.tablet=null):(b.mobile=b.tablet=n.FALLBACK_TABLET,b.phone=null)):n.isTabletFallback(p)?(b.mobile=b.tablet=n.FALLBACK_TABLET,b.phone=null):b.mobile=b.tablet=b.phone=null}},n.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")},n.detectOS=function(b){return n.findMatch(n.mobileDetectRules.oss0,b)||n.findMatch(n.mobileDetectRules.oss,b)},n.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height};function u(b,p){this.ua=c(b),this._cache={},this.maxPhoneWidth=p||600}return u.prototype={constructor:u,mobile:function(){return n.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return n.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return n.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===s&&(this._cache.userAgent=n.findMatch(n.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===s&&(this._cache.userAgents=n.findMatches(n.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===s&&(this._cache.os=n.detectOS(this.ua)),this._cache.os},version:function(b){return n.getVersion(b,this.ua)},versionStr:function(b){return n.getVersionStr(b,this.ua)},is:function(b){return l(this.userAgents(),b)||o(b,this.os())||o(b,this.phone())||o(b,this.tablet())||l(n.findMatches(n.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 u.isPhoneSized(b||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===s&&(this._cache.grade=n.mobileGrade(this)),this._cache.grade}},typeof window<"u"&&window.screen?u.isPhoneSized=function(b){return b<0?s:n.getDeviceSmallerSide()<=b}:u.isPhoneSized=function(){},u._impl=n,u.version="1.4.5 2021-03-13",u})})(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")}())}(_o)),_o.exports}var $v=Wv();const Kv=Uv($v),Xs=new Kv(window.navigator.userAgent),me={bp0:375,bp1:500,bp2:540,bp3:575,bp4:715,bp5:800,bp6:960,bp7:1100,bp8:1500,bp9:1700,bp10:1900,bp11:415},Xt=ae({width:window.innerWidth});window.addEventListener("resize",()=>{Xt.width=window.innerWidth});const Le=t=>{let e="bp1",s="gt",n=0;if(typeof t=="object"?(e=t.breakpoint,s=t.condition||"gt",n=t.offset||0):e=t,Object.values(["mobile","phone","tablet"]).includes(e))switch(typeof t=="object"&&(s=t.condition||"lt"),e){case"mobile":return Xs.mobile()?!0:s==="lt"?Xt.width<me.bp3:Xt.width>=me.bp3;case"phone":return Xs.phone()?!0:s==="lt"?Xt.width<me.bp3:Xt.width>=me.bp3;case"tablet":return Xs.tablet()?!0:s==="lt"?Xt.width<me.bp3:Xt.width>=me.bp3}else return s==="lt"?Xt.width<me[e]+n:Xt.width>=me[e]+n;return!1},Bu=()=>{Xt.width=window.innerWidth},Xv={beforeMount(t,e){let s="gt",n="bp1",a=0;typeof e.value=="object"?(s=e.value.condition,n=e.value.breakpoint,a=e.value.offset||0):n=e.value,Object.values(["mobile","phone","tablet"]).includes(n)&&(s=e.value.condition||"lt");const r=l=>{if(l==="mobile")return!!Xs.mobile()?!0:s==="lt"?Xt.width<me.bp3:Xt.width>=me.bp3;if(l==="phone")return!!Xs.phone()?!0:s==="lt"?Xt.width<me.bp3:Xt.width>=me.bp3;if(l==="tablet")return!!Xs.tablet()?!0:s==="lt"?Xt.width<me.bp3:Xt.width>=me.bp3},o=()=>{Object.values(["mobile","phone","tablet"]).includes(n)?r(n)?t.style.display="":t.style.display="none":(s==="lt"?Xt.width<me[n]+a:Xt.width>=me[n]+a)?t.style.display="":t.style.display="none"};window.addEventListener("resize",Bu),ht(()=>Xt.width,o),o(),t._onDestroy=()=>{window.removeEventListener("resize",Bu)}},unmounted(t){t._onDestroy()}},Yv={install(t){t.config.globalProperties.$screenSize=xr(Xt),t.directive("breakpoint",Xv)}};function md(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let js=md();function S0(t){js=t}const Dn={exec:()=>null};function Pt(t,e=""){let s=typeof t=="string"?t:t.source;const n={replace:(a,r)=>{let o=typeof r=="string"?r:r.source;return o=o.replace(Pe.caret,"$1"),s=s.replace(a,o),n},getRegex:()=>new RegExp(s,e)};return n}const Pe={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]\] +/,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")},Zv=/^(?:[ \t]*(?:\n|$))+/,Qv=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Jv=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,ba=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,tg=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,fd=/(?:[*+-]|\d{1,9}[.)])/,z0=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,T0=Pt(z0).replace(/bull/g,fd).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(),eg=Pt(z0).replace(/bull/g,fd).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(),vd=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ig=/^[^\n]+/,gd=/(?!\s*\])(?:\\.|[^\[\]\\])+/,sg=Pt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",gd).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ng=Pt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,fd).getRegex(),Gr="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",_d=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ag=Pt("^ {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",_d).replace("tag",Gr).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),A0=Pt(vd).replace("hr",ba).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",Gr).getRegex(),rg=Pt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",A0).getRegex(),hd={blockquote:rg,code:Qv,def:sg,fences:Jv,heading:tg,hr:ba,html:ag,lheading:T0,list:ng,newline:Zv,paragraph:A0,table:Dn,text:ig},qu=Pt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ba).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",Gr).getRegex(),og={...hd,lheading:eg,table:qu,paragraph:Pt(vd).replace("hr",ba).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",qu).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",Gr).getRegex()},lg={...hd,html:Pt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_d).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:Dn,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Pt(vd).replace("hr",ba).replace("heading",` *#{1,6} *[^
|
|
19
|
-
]`).replace("lheading",
|
|
18
|
+
**/let Il;const $d=typeof window<"u"&&window.trustedTypes;if($d)try{Il=$d.createPolicy("vue",{createHTML:t=>t})}catch{}const V0=Il?t=>Il.createHTML(t):t=>t,x3="http://www.w3.org/2000/svg",I3="http://www.w3.org/1998/Math/MathML",Ui=typeof document<"u"?document:null,Zd=Ui&&Ui.createElement("template"),L3={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const a=e==="svg"?Ui.createElementNS(x3,t):e==="mathml"?Ui.createElementNS(I3,t):s?Ui.createElement(t,{is:s}):Ui.createElement(t);return t==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:t=>Ui.createTextNode(t),createComment:t=>Ui.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ui.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,a,r){const o=s?s.previousSibling:e.lastChild;if(a&&(a===r||a.nextSibling))for(;e.insertBefore(a.cloneNode(!0),s),!(a===r||!(a=a.nextSibling)););else{Zd.innerHTML=V0(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=Zd.content;if(n==="svg"||n==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},ns="transition",Dn="animation",gn=Symbol("_vtc"),U0={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},W0=be({},b0,U0),D3=t=>(t.displayName="Transition",t.props=W0,t),Bs=D3((t,{slots:e})=>ie(Cv,K0(t),e)),Ts=(t,e=[])=>{ft(t)?t.forEach(s=>s(...e)):t&&t(...e)},Qd=t=>t?ft(t)?t.some(e=>e.length>1):t.length>1:!1;function K0(t){const e={};for(const M in t)M in U0||(e[M]=t[M]);if(t.css===!1)return e;const{name:s="v",type:n,duration:a,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:l=`${s}-enter-to`,appearFromClass:u=r,appearActiveClass:c=o,appearToClass:d=l,leaveFromClass:b=`${s}-leave-from`,leaveActiveClass:p=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=t,f=R3(a),v=f&&f[0],_=f&&f[1],{onBeforeEnter:g,onEnter:h,onEnterCancelled:y,onLeave:k,onLeaveCancelled:w,onBeforeAppear:P=g,onAppear:A=h,onAppearCancelled:E=y}=e,S=(M,x,H,X)=>{M._enterCancelled=X,os(M,x?d:l),os(M,x?c:o),H&&H()},L=(M,x)=>{M._isLeaving=!1,os(M,b),os(M,m),os(M,p),x&&x()},N=M=>(x,H)=>{const X=M?A:h,it=()=>S(x,M,H);Ts(X,[x,it]),Jd(()=>{os(x,M?u:r),Pi(x,M?d:l),Qd(X)||tc(x,n,v,it)})};return be(e,{onBeforeEnter(M){Ts(g,[M]),Pi(M,r),Pi(M,o)},onBeforeAppear(M){Ts(P,[M]),Pi(M,u),Pi(M,c)},onEnter:N(!1),onAppear:N(!0),onLeave(M,x){M._isLeaving=!0;const H=()=>L(M,x);Pi(M,b),M._enterCancelled?(Pi(M,p),Ll()):(Ll(),Pi(M,p)),Jd(()=>{M._isLeaving&&(os(M,b),Pi(M,m),Qd(k)||tc(M,n,_,H))}),Ts(k,[M,H])},onEnterCancelled(M){S(M,!1,void 0,!0),Ts(y,[M])},onAppearCancelled(M){S(M,!0,void 0,!0),Ts(E,[M])},onLeaveCancelled(M){L(M),Ts(w,[M])}})}function R3(t){if(t==null)return null;if(Qt(t))return[Go(t.enter),Go(t.leave)];{const e=Go(t);return[e,e]}}function Go(t){return Ip(t)}function Pi(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[gn]||(t[gn]=new Set)).add(e)}function os(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[gn];s&&(s.delete(e),s.size||(t[gn]=void 0))}function Jd(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let O3=0;function tc(t,e,s,n){const a=t._endId=++O3,r=()=>{a===t._endId&&n()};if(s!=null)return setTimeout(r,s);const{type:o,timeout:l,propCount:u}=X0(t,e);if(!o)return n();const c=o+"end";let d=0;const b=()=>{t.removeEventListener(c,p),r()},p=m=>{m.target===t&&++d>=u&&b()};setTimeout(()=>{d<u&&b()},l+1),t.addEventListener(c,p)}function X0(t,e){const s=window.getComputedStyle(t),n=f=>(s[f]||"").split(", "),a=n(`${ns}Delay`),r=n(`${ns}Duration`),o=ec(a,r),l=n(`${Dn}Delay`),u=n(`${Dn}Duration`),c=ec(l,u);let d=null,b=0,p=0;e===ns?o>0&&(d=ns,b=o,p=r.length):e===Dn?c>0&&(d=Dn,b=c,p=u.length):(b=Math.max(o,c),d=b>0?o>c?ns:Dn:null,p=d?d===ns?r.length:u.length:0);const m=d===ns&&/\b(transform|all)(,|$)/.test(n(`${ns}Property`).toString());return{type:d,timeout:b,propCount:p,hasTransform:m}}function ec(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>ic(s)+ic(t[n])))}function ic(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ll(){return document.body.offsetHeight}function N3(t,e,s){const n=t[gn];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const jr=Symbol("_vod"),Y0=Symbol("_vsh"),mo={beforeMount(t,{value:e},{transition:s}){t[jr]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):Rn(t,e)},mounted(t,{value:e},{transition:s}){s&&e&&s.enter(t)},updated(t,{value:e,oldValue:s},{transition:n}){!e!=!s&&(n?e?(n.beforeEnter(t),Rn(t,!0),n.enter(t)):n.leave(t,()=>{Rn(t,!1)}):Rn(t,e))},beforeUnmount(t,{value:e}){Rn(t,e)}};function Rn(t,e){t.style.display=e?t[jr]:"none",t[Y0]=!e}const $0=Symbol("");function jE(t){const e=ss();if(!e)return;const s=e.ut=(a=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>Cr(r,a))},n=()=>{const a=t(e.proxy);e.ce?Cr(e.ce,a):Dl(e.subTree,a),s(a)};Iu(()=>{Sr(n)}),bi(()=>{Tt(n,gi,{flush:"post"});const a=new MutationObserver(n);a.observe(e.subTree.el.parentNode,{childList:!0}),uo(()=>a.disconnect())})}function Dl(t,e){if(t.shapeFlag&128){const s=t.suspense;t=s.activeBranch,s.pendingBranch&&!s.isHydrating&&s.effects.push(()=>{Dl(s.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Cr(t.el,e);else if(t.type===bt)t.children.forEach(s=>Dl(s,e));else if(t.type===ur){let{el:s,anchor:n}=t;for(;s&&(Cr(s,e),s!==n);)s=s.nextSibling}}function Cr(t,e){if(t.nodeType===1){const s=t.style;let n="";for(const a in e)s.setProperty(`--${a}`,e[a]),n+=`--${a}: ${e[a]};`;s[$0]=n}}const B3=/(^|;)\s*display\s*:/;function G3(t,e,s){const n=t.style,a=se(s);let r=!1;if(s&&!a){if(e)if(se(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&cr(n,l,"")}else for(const o in e)s[o]==null&&cr(n,o,"");for(const o in s)o==="display"&&(r=!0),cr(n,o,s[o])}else if(a){if(e!==s){const o=n[$0];o&&(s+=";"+o),n.cssText=s,r=B3.test(s)}}else e&&t.removeAttribute("style");jr in t&&(t[jr]=r?n.display:"",t[Y0]&&(n.display="none"))}const sc=/\s*!important$/;function cr(t,e,s){if(ft(s))s.forEach(n=>cr(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=q3(t,e);sc.test(s)?t.setProperty(vs(n),s.replace(sc,""),"important"):t[n]=s}}const nc=["Webkit","Moz","ms"],qo={};function q3(t,e){const s=qo[e];if(s)return s;let n=qe(e);if(n!=="filter"&&n in t)return qo[e]=n;n=An(n);for(let a=0;a<nc.length;a++){const r=nc[a]+n;if(r in t)return qo[e]=r}return e}const ac="http://www.w3.org/1999/xlink";function rc(t,e,s,n,a,r=K2(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(ac,e.slice(6,e.length)):t.setAttributeNS(ac,e,s):s==null||r&&!Lp(s)?t.removeAttribute(e):t.setAttribute(e,r?"":es(s)?String(s):s)}function oc(t,e,s,n,a){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?V0(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?t.getAttribute("value")||"":t.value,u=s==null?t.type==="checkbox"?"on":"":String(s);(l!==u||!("_value"in t))&&(t.value=u),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=Lp(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(a||e)}function F3(t,e,s,n){t.addEventListener(e,s,n)}function H3(t,e,s,n){t.removeEventListener(e,s,n)}const lc=Symbol("_vei");function V3(t,e,s,n,a=null){const r=t[lc]||(t[lc]={}),o=r[e];if(n&&o)o.value=n;else{const[l,u]=U3(e);if(n){const c=r[e]=X3(n,a);F3(t,l,c,u)}else o&&(H3(t,l,o,u),r[e]=void 0)}}const uc=/(?:Once|Passive|Capture)$/;function U3(t){let e;if(uc.test(t)){e={};let n;for(;n=t.match(uc);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):vs(t.slice(2)),e]}let Fo=0;const W3=Promise.resolve(),K3=()=>Fo||(W3.then(()=>Fo=0),Fo=Date.now());function X3(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;_i(Y3(n,s.value),e,5,[n])};return s.value=t,s.attached=K3(),s}function Y3(t,e){if(ft(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>a=>!a._stopped&&n&&n(a))}else return e}const dc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,$3=(t,e,s,n,a,r)=>{const o=a==="svg";e==="class"?N3(t,n,o):e==="style"?G3(t,s,n):Zr(e)?ku(e)||V3(t,e,s,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Z3(t,e,n,o))?(oc(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&rc(t,e,n,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!se(n))?oc(t,qe(e),n,r,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),rc(t,e,n,o))};function Z3(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&dc(e)&&yt(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return dc(e)&&se(s)?!1:e in t}const Z0=new WeakMap,Q0=new WeakMap,Mr=Symbol("_moveCb"),cc=Symbol("_enterCb"),Q3=t=>(delete t.props.mode,t),J3=Q3({name:"TransitionGroup",props:be({},W0,{tag:String,moveClass:String}),setup(t,{slots:e}){const s=ss(),n=c0();let a,r;return Ma(()=>{if(!a.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!sg(a[0].el,s.vnode.el,o))return;a.forEach(tg),a.forEach(eg);const l=a.filter(ig);Ll(),l.forEach(u=>{const c=u.el,d=c.style;Pi(c,o),d.transform=d.webkitTransform=d.transitionDuration="";const b=c[Mr]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",b),c[Mr]=null,os(c,o))};c.addEventListener("transitionend",b)})}),()=>{const o=pt(t),l=K0(o);let u=o.tag||bt;if(a=[],r)for(let c=0;c<r.length;c++){const d=r[c];d.el&&d.el instanceof Element&&(a.push(d),Rs(d,da(d,l,n,s)),Z0.set(d,d.el.getBoundingClientRect()))}r=e.default?xu(e.default()):[];for(let c=0;c<r.length;c++){const d=r[c];d.key!=null&&Rs(d,da(d,l,n,s))}return I(u,null,r)}}}),Gu=J3;function tg(t){const e=t.el;e[Mr]&&e[Mr](),e[cc]&&e[cc]()}function eg(t){Q0.set(t,t.el.getBoundingClientRect())}function ig(t){const e=Z0.get(t),s=Q0.get(t),n=e.left-s.left,a=e.top-s.top;if(n||a){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${n}px,${a}px)`,r.transitionDuration="0s",t}}function sg(t,e,s){const n=t.cloneNode(),a=t[gn];a&&a.forEach(l=>{l.split(/\s+/).forEach(u=>u&&n.classList.remove(u))}),s.split(/\s+/).forEach(l=>l&&n.classList.add(l)),n.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(n);const{hasTransform:o}=X0(n);return r.removeChild(n),o}const ng=["ctrl","shift","alt","meta"],ag={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)=>ng.some(s=>t[`${s}Key`]&&!e.includes(s))},Ho=(t,e)=>{const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=(a,...r)=>{for(let o=0;o<e.length;o++){const l=ag[e[o]];if(l&&l(a,e))return}return t(a,...r)})},rg=be({patchProp:$3},L3);let bc;function og(){return bc||(bc=t3(rg))}const lg=(...t)=>{const e=og().createApp(...t),{mount:s}=e;return e.mount=n=>{const a=dg(n);if(!a)return;const r=e._component;!yt(r)&&!r.render&&!r.template&&(r.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const o=s(a,!1,ug(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},e};function ug(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function dg(t){return se(t)?document.querySelector(t):t}const CE="this_value_is_encrypted",ME="none";var J0=(t=>(t.PARAMETRIC_EQ="parametric_eq",t.TONE_CONTROL="tone_control",t))(J0||{}),cg=(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))(cg||{}),br=(t=>(t.ENABLED="enabled",t.DISABLED="disabled",t.DISABLED_BY_UNSUPPORTED_GROUP="disabled_by_unsupported_group",t))(br||{}),ut=(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))(ut||{}),Ji=(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))(Ji||{}),bg=(t=>(t.ALBUM="album",t.SINGLE="single",t.COMPILATION="compilation",t.EP="ep",t.UNKNOWN="unknown",t))(bg||{}),Wt=(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))(Wt||{}),ze=(t=>(t.PLAY="play",t.REPLACE="replace",t.NEXT="next",t.REPLACE_NEXT="replace_next",t.ADD="add",t))(ze||{}),Qs=(t=>(t.OFF="off",t.ONE="one",t.ALL="all",t))(Qs||{}),bn=(t=>(t.IDLE="idle",t.PAUSED="paused",t.PLAYING="playing",t))(bn||{}),qu=(t=>(t.PLAYER="player",t.GROUP="group",t.STEREO_PAIR="stereo_pair",t))(qu||{}),pg=(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))(pg||{}),Le=(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.SYNC_TASKS_UPDATED="sync_tasks_updated",t.AUTH_SESSION="auth_session",t.CONNECTED="connected",t.DISCONNECTED="disconnected",t.ALL="*",t))(Le||{}),pr=(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.ARTIST_METADATA="artist_metadata",t.ALBUM_METADATA="album_metadata",t.TRACK_METADATA="track_metadata",t))(pr||{}),mg=(t=>(t.MUSIC="music",t.PLAYER="player",t.METADATA="metadata",t.PLUGIN="plugin",t))(mg||{}),fg=(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))(fg||{}),Vn=(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))(Vn||{});function vg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Vo={exports:{}},pc;function gg(){return pc||(pc=1,function(t){/*!mobile-detect v1.4.5 2021-03-13*//*!@license Copyright 2013, Heinrich Goebl, License: MIT, see https://github.com/hgoebl/mobile-detect.js*/(function(e,s){e(function(){var n={};n.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"}},n.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 a=Object.prototype.hasOwnProperty,r;n.FALLBACK_PHONE="UnknownPhone",n.FALLBACK_TABLET="UnknownTablet",n.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 l(b,p){var m,f,v=b.length;if(!v||!p)return!1;for(m=p.toLowerCase(),f=0;f<v;++f)if(m===b[f].toLowerCase())return!0;return!1}function u(b){for(var p in b)a.call(b,p)&&(b[p]=new RegExp(b[p],"i"))}function c(b){return(b||"").substr(0,500)}(function(){var p,m,f,v,_,g,h=n.mobileDetectRules;for(p in h.props)if(a.call(h.props,p)){for(m=h.props[p],r(m)||(m=[m]),_=m.length,v=0;v<_;++v)f=m[v],g=f.indexOf("[VER]"),g>=0&&(f=f.substring(0,g)+"([\\w._\\+]+)"+f.substring(g+5)),m[v]=new RegExp(f,"i");h.props[p]=m}u(h.oss),u(h.phones),u(h.tablets),u(h.uas),u(h.utils),h.oss0={WindowsPhoneOS:h.oss.WindowsPhoneOS,WindowsMobileOS:h.oss.WindowsMobileOS}})(),n.findMatch=function(b,p){for(var m in b)if(a.call(b,m)&&b[m].test(p))return m;return null},n.findMatches=function(b,p){var m=[];for(var f in b)a.call(b,f)&&b[f].test(p)&&m.push(f);return m},n.getVersionStr=function(b,p){var m=n.mobileDetectRules.props,f,v,_,g;if(a.call(m,b)){for(f=m[b],_=f.length,v=0;v<_;++v)if(g=f[v].exec(p),g!==null)return g[1]}return null},n.getVersion=function(b,p){var m=n.getVersionStr(b,p);return m?n.prepareVersionNo(m):NaN},n.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)},n.isMobileFallback=function(b){return n.detectMobileBrowsers.fullPattern.test(b)||n.detectMobileBrowsers.shortPattern.test(b.substr(0,4))},n.isTabletFallback=function(b){return n.detectMobileBrowsers.tabletPattern.test(b)},n.prepareDetectionCache=function(b,p,m){if(b.mobile===s){var f,v,_;if(v=n.findMatch(n.mobileDetectRules.tablets,p),v){b.mobile=b.tablet=v,b.phone=null;return}if(f=n.findMatch(n.mobileDetectRules.phones,p),f){b.mobile=b.phone=f,b.tablet=null;return}n.isMobileFallback(p)?(_=d.isPhoneSized(m),_===s?(b.mobile=n.FALLBACK_MOBILE,b.tablet=b.phone=null):_?(b.mobile=b.phone=n.FALLBACK_PHONE,b.tablet=null):(b.mobile=b.tablet=n.FALLBACK_TABLET,b.phone=null)):n.isTabletFallback(p)?(b.mobile=b.tablet=n.FALLBACK_TABLET,b.phone=null):b.mobile=b.tablet=b.phone=null}},n.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")},n.detectOS=function(b){return n.findMatch(n.mobileDetectRules.oss0,b)||n.findMatch(n.mobileDetectRules.oss,b)},n.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height};function d(b,p){this.ua=c(b),this._cache={},this.maxPhoneWidth=p||600}return d.prototype={constructor:d,mobile:function(){return n.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return n.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return n.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===s&&(this._cache.userAgent=n.findMatch(n.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===s&&(this._cache.userAgents=n.findMatches(n.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===s&&(this._cache.os=n.detectOS(this.ua)),this._cache.os},version:function(b){return n.getVersion(b,this.ua)},versionStr:function(b){return n.getVersionStr(b,this.ua)},is:function(b){return l(this.userAgents(),b)||o(b,this.os())||o(b,this.phone())||o(b,this.tablet())||l(n.findMatches(n.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 d.isPhoneSized(b||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===s&&(this._cache.grade=n.mobileGrade(this)),this._cache.grade}},typeof window<"u"&&window.screen?d.isPhoneSized=function(b){return b<0?s:n.getDeviceSmallerSide()<=b}:d.isPhoneSized=function(){},d._impl=n,d.version="1.4.5 2021-03-13",d})})(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")}())}(Vo)),Vo.exports}var hg=gg();const _g=vg(hg),pn=new _g(window.navigator.userAgent),Ee={bp0:375,bp1:500,bp2:540,bp3:575,bp4:715,bp5:800,bp6:960,bp7:1100,bp8:1500,bp9:1700,bp10:1900,bp11:415},de=ce({width:window.innerWidth});window.addEventListener("resize",()=>{de.width=window.innerWidth});const He=t=>{let e="bp1",s="gt",n=0;if(typeof t=="object"?(e=t.breakpoint,s=t.condition||"gt",n=t.offset||0):e=t,Object.values(["mobile","phone","tablet"]).includes(e))switch(typeof t=="object"&&(s=t.condition||"lt"),e){case"mobile":return pn.mobile()?!0:s==="lt"?de.width<Ee.bp3:de.width>=Ee.bp3;case"phone":return pn.phone()?!0:s==="lt"?de.width<Ee.bp3:de.width>=Ee.bp3;case"tablet":return pn.tablet()?!0:s==="lt"?de.width<Ee.bp3:de.width>=Ee.bp3}else return s==="lt"?de.width<Ee[e]+n:de.width>=Ee[e]+n;return!1},mc=()=>{de.width=window.innerWidth},yg={beforeMount(t,e){let s="gt",n="bp1",a=0;typeof e.value=="object"?(s=e.value.condition,n=e.value.breakpoint,a=e.value.offset||0):n=e.value,Object.values(["mobile","phone","tablet"]).includes(n)&&(s=e.value.condition||"lt");const r=l=>{if(l==="mobile")return!!pn.mobile()?!0:s==="lt"?de.width<Ee.bp3:de.width>=Ee.bp3;if(l==="phone")return!!pn.phone()?!0:s==="lt"?de.width<Ee.bp3:de.width>=Ee.bp3;if(l==="tablet")return!!pn.tablet()?!0:s==="lt"?de.width<Ee.bp3:de.width>=Ee.bp3},o=()=>{Object.values(["mobile","phone","tablet"]).includes(n)?r(n)?t.style.display="":t.style.display="none":(s==="lt"?de.width<Ee[n]+a:de.width>=Ee[n]+a)?t.style.display="":t.style.display="none"};window.addEventListener("resize",mc),Tt(()=>de.width,o),o(),t._onDestroy=()=>{window.removeEventListener("resize",mc)}},unmounted(t){t._onDestroy()}},kg={install(t){t.config.globalProperties.$screenSize=ao(de),t.directive("breakpoint",yg)}};function Fu(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Fs=Fu();function tm(t){Fs=t}const ta={exec:()=>null};function Gt(t,e=""){let s=typeof t=="string"?t:t.source;const n={replace:(a,r)=>{let o=typeof r=="string"?r:r.source;return o=o.replace(Ge.caret,"$1"),s=s.replace(a,o),n},getRegex:()=>new RegExp(s,e)};return n}const Ge={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]\] +/,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")},wg=/^(?:[ \t]*(?:\n|$))+/,Sg=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,zg=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ia=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ag=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Hu=/(?:[*+-]|\d{1,9}[.)])/,em=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,im=Gt(em).replace(/bull/g,Hu).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(),Tg=Gt(em).replace(/bull/g,Hu).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(),Vu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Pg=/^[^\n]+/,Uu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Eg=Gt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Uu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),jg=Gt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Hu).getRegex(),fo="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",Wu=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Cg=Gt("^ {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",Wu).replace("tag",fo).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),sm=Gt(Vu).replace("hr",Ia).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",fo).getRegex(),Mg=Gt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",sm).getRegex(),Ku={blockquote:Mg,code:Sg,def:Eg,fences:zg,heading:Ag,hr:Ia,html:Cg,lheading:im,list:jg,newline:wg,paragraph:sm,table:ta,text:Pg},fc=Gt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ia).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",fo).getRegex(),xg={...Ku,lheading:Tg,table:fc,paragraph:Gt(Vu).replace("hr",Ia).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",fc).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",fo).getRegex()},Ig={...Ku,html:Gt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Wu).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:ta,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Gt(Vu).replace("hr",Ia).replace("heading",` *#{1,6} *[^
|
|
19
|
+
]`).replace("lheading",im).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Lg=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Dg=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,nm=/^( {2,}|\\)\n(?!\s*$)/,Rg=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,vo=/[\p{P}\p{S}]/u,Xu=/[\s\p{P}\p{S}]/u,am=/[^\s\p{P}\p{S}]/u,Og=Gt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Xu).getRegex(),rm=/(?!~)[\p{P}\p{S}]/u,Ng=/(?!~)[\s\p{P}\p{S}]/u,Bg=/(?:[^\s\p{P}\p{S}]|~)/u,Gg=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,om=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qg=Gt(om,"u").replace(/punct/g,vo).getRegex(),Fg=Gt(om,"u").replace(/punct/g,rm).getRegex(),lm="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Hg=Gt(lm,"gu").replace(/notPunctSpace/g,am).replace(/punctSpace/g,Xu).replace(/punct/g,vo).getRegex(),Vg=Gt(lm,"gu").replace(/notPunctSpace/g,Bg).replace(/punctSpace/g,Ng).replace(/punct/g,rm).getRegex(),Ug=Gt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,am).replace(/punctSpace/g,Xu).replace(/punct/g,vo).getRegex(),Wg=Gt(/\\(punct)/,"gu").replace(/punct/g,vo).getRegex(),Kg=Gt(/^<(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(),Xg=Gt(Wu).replace("(?:-->|$)","-->").getRegex(),Yg=Gt("^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",Xg).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),xr=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,$g=Gt(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",xr).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),um=Gt(/^!?\[(label)\]\[(ref)\]/).replace("label",xr).replace("ref",Uu).getRegex(),dm=Gt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Uu).getRegex(),Zg=Gt("reflink|nolink(?!\\()","g").replace("reflink",um).replace("nolink",dm).getRegex(),Yu={_backpedal:ta,anyPunctuation:Wg,autolink:Kg,blockSkip:Gg,br:nm,code:Dg,del:ta,emStrongLDelim:qg,emStrongRDelimAst:Hg,emStrongRDelimUnd:Ug,escape:Lg,link:$g,nolink:dm,punctuation:Og,reflink:um,reflinkSearch:Zg,tag:Yg,text:Rg,url:ta},Qg={...Yu,link:Gt(/^!?\[(label)\]\((.*?)\)/).replace("label",xr).getRegex(),reflink:Gt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",xr).getRegex()},Rl={...Yu,emStrongRDelimAst:Vg,emStrongLDelim:Fg,url:Gt(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").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~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Jg={...Rl,br:Gt(nm).replace("{2,}","*").getRegex(),text:Gt(Rl.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Wa={normal:Ku,gfm:xg,pedantic:Ig},On={normal:Yu,gfm:Rl,breaks:Jg,pedantic:Qg},th={"&":"&","<":"<",">":">",'"':""","'":"'"},vc=t=>th[t];function Ei(t,e){if(e){if(Ge.escapeTest.test(t))return t.replace(Ge.escapeReplace,vc)}else if(Ge.escapeTestNoEncode.test(t))return t.replace(Ge.escapeReplaceNoEncode,vc);return t}function gc(t){try{t=encodeURI(t).replace(Ge.percentDecode,"%")}catch{return null}return t}function hc(t,e){var r;const s=t.replace(Ge.findPipe,(o,l,u)=>{let c=!1,d=l;for(;--d>=0&&u[d]==="\\";)c=!c;return c?"|":" |"}),n=s.split(Ge.splitPipe);let a=0;if(n[0].trim()||n.shift(),n.length>0&&!((r=n.at(-1))!=null&&r.trim())&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Ge.slashPipe,"|");return n}function Nn(t,e,s){const n=t.length;if(n===0)return"";let a=0;for(;a<n&&t.charAt(n-a-1)===e;)a++;return t.slice(0,n-a)}function eh(t,e){if(t.indexOf(e[1])===-1)return-1;let s=0;for(let n=0;n<t.length;n++)if(t[n]==="\\")n++;else if(t[n]===e[0])s++;else if(t[n]===e[1]&&(s--,s<0))return n;return-1}function _c(t,e,s,n,a){const r=e.href,o=e.title||null,l=t[1].replace(a.other.outputLinkReplace,"$1");if(t[0].charAt(0)!=="!"){n.state.inLink=!0;const u={type:"link",raw:s,href:r,title:o,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,u}return{type:"image",raw:s,href:r,title:o,text:l}}function ih(t,e,s){const n=t.match(s.other.indentCodeCompensation);if(n===null)return e;const a=n[1];return e.split(`
|
|
20
20
|
`).map(r=>{const o=r.match(s.other.beginningSpace);if(o===null)return r;const[l]=o;return l.length>=a.length?r.slice(a.length):r}).join(`
|
|
21
|
-
`)}class
|
|
22
|
-
`)}}}fences(e){const s=this.rules.block.fences.exec(e);if(s){const n=s[0],a=
|
|
23
|
-
`)}}blockquote(e){const s=this.rules.block.blockquote.exec(e);if(s){let n=
|
|
21
|
+
`)}class Ir{constructor(e){wt(this,"options");wt(this,"rules");wt(this,"lexer");this.options=e||Fs}space(e){const s=this.rules.block.newline.exec(e);if(s&&s[0].length>0)return{type:"space",raw:s[0]}}code(e){const s=this.rules.block.code.exec(e);if(s){const n=s[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:s[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Nn(n,`
|
|
22
|
+
`)}}}fences(e){const s=this.rules.block.fences.exec(e);if(s){const n=s[0],a=ih(n,s[3]||"",this.rules);return{type:"code",raw:n,lang:s[2]?s[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):s[2],text:a}}}heading(e){const s=this.rules.block.heading.exec(e);if(s){let n=s[2].trim();if(this.rules.other.endingHash.test(n)){const a=Nn(n,"#");(this.options.pedantic||!a||this.rules.other.endingSpaceChar.test(a))&&(n=a.trim())}return{type:"heading",raw:s[0],depth:s[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const s=this.rules.block.hr.exec(e);if(s)return{type:"hr",raw:Nn(s[0],`
|
|
23
|
+
`)}}blockquote(e){const s=this.rules.block.blockquote.exec(e);if(s){let n=Nn(s[0],`
|
|
24
24
|
`).split(`
|
|
25
|
-
`),a="",r="";const o=[];for(;n.length>0;){let l=!1;const
|
|
26
|
-
`),b=
|
|
25
|
+
`),a="",r="";const o=[];for(;n.length>0;){let l=!1;const u=[];let c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))u.push(n[c]),l=!0;else if(!l)u.push(n[c]);else break;n=n.slice(c);const d=u.join(`
|
|
26
|
+
`),b=d.replace(this.rules.other.blockquoteSetextReplace,`
|
|
27
27
|
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");a=a?`${a}
|
|
28
|
-
${
|
|
28
|
+
${d}`:d,r=r?`${r}
|
|
29
29
|
${b}`:b;const p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(b,o,!0),this.lexer.state.top=p,n.length===0)break;const m=o.at(-1);if((m==null?void 0:m.type)==="code")break;if((m==null?void 0:m.type)==="blockquote"){const f=m,v=f.raw+`
|
|
30
30
|
`+n.join(`
|
|
31
|
-
`),
|
|
31
|
+
`),_=this.blockquote(v);o[o.length-1]=_,a=a.substring(0,a.length-f.raw.length)+_.raw,r=r.substring(0,r.length-f.text.length)+_.text;break}else if((m==null?void 0:m.type)==="list"){const f=m,v=f.raw+`
|
|
32
32
|
`+n.join(`
|
|
33
|
-
`),
|
|
34
|
-
`);continue}}return{type:"blockquote",raw:a,tokens:o,text:r}}}list(e){let s=this.rules.block.list.exec(e);if(s){let n=s[1].trim();const a=n.length>1,r={type:"list",raw:"",ordered:a,start:a?+n.slice(0,-1):"",loose:!1,items:[]};n=a?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=a?n:"[*+-]");const o=this.rules.other.listItemRegex(n);let l=!1;for(;e;){let c=!1,
|
|
35
|
-
`,1)[0].replace(this.rules.other.listReplaceTabs,
|
|
36
|
-
`,1)[0],f=!p.trim(),v=0;if(this.options.pedantic?(v=2,b=p.trimStart()):f?v=s[1].length+1:(v=s[2].search(this.rules.other.nonSpaceChar),v=v>4?1:v,b=p.slice(v),v+=s[1].length),f&&this.rules.other.blankLine.test(m)&&(
|
|
37
|
-
`,e=e.substring(m.length+1),c=!0),!c){const
|
|
38
|
-
`,1)[0];let
|
|
39
|
-
`+
|
|
40
|
-
`+m}!f&&!m.trim()&&(f=!0),
|
|
41
|
-
`,e=e.substring(
|
|
42
|
-
`):[],o={type:"table",raw:s[0],header:[],align:[],rows:[]};if(n.length===a.length){for(const
|
|
43
|
-
`?s[1].slice(0,-1):s[1];return{type:"paragraph",raw:s[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const s=this.rules.block.text.exec(e);if(s)return{type:"text",raw:s[0],text:s[0],tokens:this.lexer.inline(s[0])}}escape(e){const s=this.rules.inline.escape.exec(e);if(s)return{type:"escape",raw:s[0],text:s[1]}}tag(e){const s=this.rules.inline.tag.exec(e);if(s)return!this.lexer.state.inLink&&this.rules.other.startATag.test(s[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(s[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(s[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(s[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:s[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:s[0]}}link(e){const s=this.rules.inline.link.exec(e);if(s){const n=s[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const o=
|
|
44
|
-
`),this.blockTokens(e,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){const n=this.inlineQueue[s];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,s=[],n=!1){var a,r,o;for(this.options.pedantic&&(e=e.replace(
|
|
33
|
+
`),_=this.list(v);o[o.length-1]=_,a=a.substring(0,a.length-m.raw.length)+_.raw,r=r.substring(0,r.length-f.raw.length)+_.raw,n=v.substring(o.at(-1).raw.length).split(`
|
|
34
|
+
`);continue}}return{type:"blockquote",raw:a,tokens:o,text:r}}}list(e){let s=this.rules.block.list.exec(e);if(s){let n=s[1].trim();const a=n.length>1,r={type:"list",raw:"",ordered:a,start:a?+n.slice(0,-1):"",loose:!1,items:[]};n=a?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=a?n:"[*+-]");const o=this.rules.other.listItemRegex(n);let l=!1;for(;e;){let c=!1,d="",b="";if(!(s=o.exec(e))||this.rules.block.hr.test(e))break;d=s[0],e=e.substring(d.length);let p=s[2].split(`
|
|
35
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,h=>" ".repeat(3*h.length)),m=e.split(`
|
|
36
|
+
`,1)[0],f=!p.trim(),v=0;if(this.options.pedantic?(v=2,b=p.trimStart()):f?v=s[1].length+1:(v=s[2].search(this.rules.other.nonSpaceChar),v=v>4?1:v,b=p.slice(v),v+=s[1].length),f&&this.rules.other.blankLine.test(m)&&(d+=m+`
|
|
37
|
+
`,e=e.substring(m.length+1),c=!0),!c){const h=this.rules.other.nextBulletRegex(v),y=this.rules.other.hrRegex(v),k=this.rules.other.fencesBeginRegex(v),w=this.rules.other.headingBeginRegex(v),P=this.rules.other.htmlBeginRegex(v);for(;e;){const A=e.split(`
|
|
38
|
+
`,1)[0];let E;if(m=A,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),E=m):E=m.replace(this.rules.other.tabCharGlobal," "),k.test(m)||w.test(m)||P.test(m)||h.test(m)||y.test(m))break;if(E.search(this.rules.other.nonSpaceChar)>=v||!m.trim())b+=`
|
|
39
|
+
`+E.slice(v);else{if(f||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||k.test(p)||w.test(p)||y.test(p))break;b+=`
|
|
40
|
+
`+m}!f&&!m.trim()&&(f=!0),d+=A+`
|
|
41
|
+
`,e=e.substring(A.length+1),p=E.slice(v)}}r.loose||(l?r.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(l=!0));let _=null,g;this.options.gfm&&(_=this.rules.other.listIsTask.exec(b),_&&(g=_[0]!=="[ ] ",b=b.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:d,task:!!_,checked:g,loose:!1,text:b,tokens:[]}),r.raw+=d}const u=r.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;r.raw=r.raw.trimEnd();for(let c=0;c<r.items.length;c++)if(this.lexer.state.top=!1,r.items[c].tokens=this.lexer.blockTokens(r.items[c].text,[]),!r.loose){const d=r.items[c].tokens.filter(p=>p.type==="space"),b=d.length>0&&d.some(p=>this.rules.other.anyLine.test(p.raw));r.loose=b}if(r.loose)for(let c=0;c<r.items.length;c++)r.items[c].loose=!0;return r}}html(e){const s=this.rules.block.html.exec(e);if(s)return{type:"html",block:!0,raw:s[0],pre:s[1]==="pre"||s[1]==="script"||s[1]==="style",text:s[0]}}def(e){const s=this.rules.block.def.exec(e);if(s){const n=s[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),a=s[2]?s[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=s[3]?s[3].substring(1,s[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):s[3];return{type:"def",tag:n,raw:s[0],href:a,title:r}}}table(e){var l;const s=this.rules.block.table.exec(e);if(!s||!this.rules.other.tableDelimiter.test(s[2]))return;const n=hc(s[1]),a=s[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=(l=s[3])!=null&&l.trim()?s[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
42
|
+
`):[],o={type:"table",raw:s[0],header:[],align:[],rows:[]};if(n.length===a.length){for(const u of a)this.rules.other.tableAlignRight.test(u)?o.align.push("right"):this.rules.other.tableAlignCenter.test(u)?o.align.push("center"):this.rules.other.tableAlignLeft.test(u)?o.align.push("left"):o.align.push(null);for(let u=0;u<n.length;u++)o.header.push({text:n[u],tokens:this.lexer.inline(n[u]),header:!0,align:o.align[u]});for(const u of r)o.rows.push(hc(u,o.header.length).map((c,d)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:o.align[d]})));return o}}lheading(e){const s=this.rules.block.lheading.exec(e);if(s)return{type:"heading",raw:s[0],depth:s[2].charAt(0)==="="?1:2,text:s[1],tokens:this.lexer.inline(s[1])}}paragraph(e){const s=this.rules.block.paragraph.exec(e);if(s){const n=s[1].charAt(s[1].length-1)===`
|
|
43
|
+
`?s[1].slice(0,-1):s[1];return{type:"paragraph",raw:s[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const s=this.rules.block.text.exec(e);if(s)return{type:"text",raw:s[0],text:s[0],tokens:this.lexer.inline(s[0])}}escape(e){const s=this.rules.inline.escape.exec(e);if(s)return{type:"escape",raw:s[0],text:s[1]}}tag(e){const s=this.rules.inline.tag.exec(e);if(s)return!this.lexer.state.inLink&&this.rules.other.startATag.test(s[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(s[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(s[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(s[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:s[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:s[0]}}link(e){const s=this.rules.inline.link.exec(e);if(s){const n=s[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const o=Nn(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=eh(s[2],"()");if(o>-1){const u=(s[0].indexOf("!")===0?5:4)+s[1].length+o;s[2]=s[2].substring(0,o),s[0]=s[0].substring(0,u).trim(),s[3]=""}}let a=s[2],r="";if(this.options.pedantic){const o=this.rules.other.pedanticHrefTitle.exec(a);o&&(a=o[1],r=o[3])}else r=s[3]?s[3].slice(1,-1):"";return a=a.trim(),this.rules.other.startAngleBracket.test(a)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?a=a.slice(1):a=a.slice(1,-1)),_c(s,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},s[0],this.lexer,this.rules)}}reflink(e,s){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const a=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),r=s[a.toLowerCase()];if(!r){const o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return _c(n,r,n[0],this.lexer,this.rules)}}emStrong(e,s,n=""){let a=this.rules.inline.emStrongLDelim.exec(e);if(!a||a[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(a[1]||a[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const o=[...a[0]].length-1;let l,u,c=o,d=0;const b=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(b.lastIndex=0,s=s.slice(-1*e.length+o);(a=b.exec(s))!=null;){if(l=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!l)continue;if(u=[...l].length,a[3]||a[4]){c+=u;continue}else if((a[5]||a[6])&&o%3&&!((o+u)%3)){d+=u;continue}if(c-=u,c>0)continue;u=Math.min(u,u+c+d);const p=[...a[0]][0].length,m=e.slice(0,o+a.index+p+u);if(Math.min(o,u)%2){const v=m.slice(1,-1);return{type:"em",raw:m,text:v,tokens:this.lexer.inlineTokens(v)}}const f=m.slice(2,-2);return{type:"strong",raw:m,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(e){const s=this.rules.inline.code.exec(e);if(s){let n=s[2].replace(this.rules.other.newLineCharGlobal," ");const a=this.rules.other.nonSpaceChar.test(n),r=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return a&&r&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:s[0],text:n}}}br(e){const s=this.rules.inline.br.exec(e);if(s)return{type:"br",raw:s[0]}}del(e){const s=this.rules.inline.del.exec(e);if(s)return{type:"del",raw:s[0],text:s[2],tokens:this.lexer.inlineTokens(s[2])}}autolink(e){const s=this.rules.inline.autolink.exec(e);if(s){let n,a;return s[2]==="@"?(n=s[1],a="mailto:"+n):(n=s[1],a=n),{type:"link",raw:s[0],text:n,href:a,tokens:[{type:"text",raw:n,text:n}]}}}url(e){var n;let s;if(s=this.rules.inline.url.exec(e)){let a,r;if(s[2]==="@")a=s[0],r="mailto:"+a;else{let o;do o=s[0],s[0]=((n=this.rules.inline._backpedal.exec(s[0]))==null?void 0:n[0])??"";while(o!==s[0]);a=s[0],s[1]==="www."?r="http://"+s[0]:r=s[0]}return{type:"link",raw:s[0],text:a,href:r,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(e){const s=this.rules.inline.text.exec(e);if(s){const n=this.lexer.state.inRawBlock;return{type:"text",raw:s[0],text:s[0],escaped:n}}}}class ai{constructor(e){wt(this,"tokens");wt(this,"options");wt(this,"state");wt(this,"tokenizer");wt(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Fs,this.options.tokenizer=this.options.tokenizer||new Ir,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const s={other:Ge,block:Wa.normal,inline:On.normal};this.options.pedantic?(s.block=Wa.pedantic,s.inline=On.pedantic):this.options.gfm&&(s.block=Wa.gfm,this.options.breaks?s.inline=On.breaks:s.inline=On.gfm),this.tokenizer.rules=s}static get rules(){return{block:Wa,inline:On}}static lex(e,s){return new ai(s).lex(e)}static lexInline(e,s){return new ai(s).inlineTokens(e)}lex(e){e=e.replace(Ge.carriageReturn,`
|
|
44
|
+
`),this.blockTokens(e,this.tokens);for(let s=0;s<this.inlineQueue.length;s++){const n=this.inlineQueue[s];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,s=[],n=!1){var a,r,o;for(this.options.pedantic&&(e=e.replace(Ge.tabCharGlobal," ").replace(Ge.spaceLine,""));e;){let l;if((r=(a=this.options.extensions)==null?void 0:a.block)!=null&&r.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.space(e)){e=e.substring(l.raw.length);const c=s.at(-1);l.raw.length===1&&c!==void 0?c.raw+=`
|
|
45
45
|
`:s.push(l);continue}if(l=this.tokenizer.code(e)){e=e.substring(l.raw.length);const c=s.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
46
46
|
`+l.raw,c.text+=`
|
|
47
47
|
`+l.text,this.inlineQueue.at(-1).src=c.text):s.push(l);continue}if(l=this.tokenizer.fences(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.heading(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.hr(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.blockquote(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.list(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.html(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.def(e)){e=e.substring(l.raw.length);const c=s.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
48
48
|
`+l.raw,c.text+=`
|
|
49
|
-
`+l.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title});continue}if(l=this.tokenizer.table(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.lheading(e)){e=e.substring(l.raw.length),s.push(l);continue}let
|
|
49
|
+
`+l.raw,this.inlineQueue.at(-1).src=c.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title});continue}if(l=this.tokenizer.table(e)){e=e.substring(l.raw.length),s.push(l);continue}if(l=this.tokenizer.lheading(e)){e=e.substring(l.raw.length),s.push(l);continue}let u=e;if((o=this.options.extensions)!=null&&o.startBlock){let c=1/0;const d=e.slice(1);let b;this.options.extensions.startBlock.forEach(p=>{b=p.call({lexer:this},d),typeof b=="number"&&b>=0&&(c=Math.min(c,b))}),c<1/0&&c>=0&&(u=e.substring(0,c+1))}if(this.state.top&&(l=this.tokenizer.paragraph(u))){const c=s.at(-1);n&&(c==null?void 0:c.type)==="paragraph"?(c.raw+=`
|
|
50
50
|
`+l.raw,c.text+=`
|
|
51
|
-
`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):s.push(l),n=
|
|
51
|
+
`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):s.push(l),n=u.length!==e.length,e=e.substring(l.raw.length);continue}if(l=this.tokenizer.text(e)){e=e.substring(l.raw.length);const c=s.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
52
52
|
`+l.raw,c.text+=`
|
|
53
|
-
`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):s.push(l);continue}if(e){const c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,s}inline(e,s=[]){return this.inlineQueue.push({src:e,tokens:s}),s}inlineTokens(e,s=[]){var l,
|
|
54
|
-
`;return a?'<pre><code class="language-'+
|
|
55
|
-
`:"<pre><code>"+(n?r:
|
|
53
|
+
`+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):s.push(l);continue}if(e){const c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,s}inline(e,s=[]){return this.inlineQueue.push({src:e,tokens:s}),s}inlineTokens(e,s=[]){var l,u,c;let n=e,a=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)d.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let r=!1,o="";for(;e;){r||(o=""),r=!1;let d;if((u=(l=this.options.extensions)==null?void 0:l.inline)!=null&&u.some(p=>(d=p.call({lexer:this},e,s))?(e=e.substring(d.raw.length),s.push(d),!0):!1))continue;if(d=this.tokenizer.escape(e)){e=e.substring(d.raw.length),s.push(d);continue}if(d=this.tokenizer.tag(e)){e=e.substring(d.raw.length),s.push(d);continue}if(d=this.tokenizer.link(e)){e=e.substring(d.raw.length),s.push(d);continue}if(d=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(d.raw.length);const p=s.at(-1);d.type==="text"&&(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.text+=d.text):s.push(d);continue}if(d=this.tokenizer.emStrong(e,n,o)){e=e.substring(d.raw.length),s.push(d);continue}if(d=this.tokenizer.codespan(e)){e=e.substring(d.raw.length),s.push(d);continue}if(d=this.tokenizer.br(e)){e=e.substring(d.raw.length),s.push(d);continue}if(d=this.tokenizer.del(e)){e=e.substring(d.raw.length),s.push(d);continue}if(d=this.tokenizer.autolink(e)){e=e.substring(d.raw.length),s.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(e))){e=e.substring(d.raw.length),s.push(d);continue}let b=e;if((c=this.options.extensions)!=null&&c.startInline){let p=1/0;const m=e.slice(1);let f;this.options.extensions.startInline.forEach(v=>{f=v.call({lexer:this},m),typeof f=="number"&&f>=0&&(p=Math.min(p,f))}),p<1/0&&p>=0&&(b=e.substring(0,p+1))}if(d=this.tokenizer.inlineText(b)){e=e.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(o=d.raw.slice(-1)),r=!0;const p=s.at(-1);(p==null?void 0:p.type)==="text"?(p.raw+=d.raw,p.text+=d.text):s.push(d);continue}if(e){const p="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return s}}class Lr{constructor(e){wt(this,"options");wt(this,"parser");this.options=e||Fs}space(e){return""}code({text:e,lang:s,escaped:n}){var o;const a=(o=(s||"").match(Ge.notSpaceStart))==null?void 0:o[0],r=e.replace(Ge.endingNewline,"")+`
|
|
54
|
+
`;return a?'<pre><code class="language-'+Ei(a)+'">'+(n?r:Ei(r,!0))+`</code></pre>
|
|
55
|
+
`:"<pre><code>"+(n?r:Ei(r,!0))+`</code></pre>
|
|
56
56
|
`}blockquote({tokens:e}){return`<blockquote>
|
|
57
57
|
${this.parser.parse(e)}</blockquote>
|
|
58
58
|
`}html({text:e}){return e}heading({tokens:e,depth:s}){return`<h${s}>${this.parser.parseInline(e)}</h${s}>
|
|
59
59
|
`}hr(e){return`<hr>
|
|
60
|
-
`}list(e){const s=e.ordered,n=e.start;let a="";for(let l=0;l<e.items.length;l++){const
|
|
60
|
+
`}list(e){const s=e.ordered,n=e.start;let a="";for(let l=0;l<e.items.length;l++){const u=e.items[l];a+=this.listitem(u)}const r=s?"ol":"ul",o=s&&n!==1?' start="'+n+'"':"";return"<"+r+o+`>
|
|
61
61
|
`+a+"</"+r+`>
|
|
62
|
-
`}listitem(e){var n;let s="";if(e.task){const a=this.checkbox({checked:!!e.checked});e.loose?((n=e.tokens[0])==null?void 0:n.type)==="paragraph"?(e.tokens[0].text=a+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=a+" "+
|
|
62
|
+
`}listitem(e){var n;let s="";if(e.task){const a=this.checkbox({checked:!!e.checked});e.loose?((n=e.tokens[0])==null?void 0:n.type)==="paragraph"?(e.tokens[0].text=a+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=a+" "+Ei(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:a+" ",text:a+" ",escaped:!0}):s+=a+" "}return s+=this.parser.parse(e.tokens,!!e.loose),`<li>${s}</li>
|
|
63
63
|
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
64
64
|
`}table(e){let s="",n="";for(let r=0;r<e.header.length;r++)n+=this.tablecell(e.header[r]);s+=this.tablerow({text:n});let a="";for(let r=0;r<e.rows.length;r++){const o=e.rows[r];n="";for(let l=0;l<o.length;l++)n+=this.tablecell(o[l]);a+=this.tablerow({text:n})}return a&&(a=`<tbody>${a}</tbody>`),`<table>
|
|
65
65
|
<thead>
|
|
@@ -68,39 +68,39 @@ ${this.parser.parse(e)}</blockquote>
|
|
|
68
68
|
`}tablerow({text:e}){return`<tr>
|
|
69
69
|
${e}</tr>
|
|
70
70
|
`}tablecell(e){const s=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+s+`</${n}>
|
|
71
|
-
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${
|
|
72
|
-
`+this.renderer.text(c);s?n+=this.renderer.paragraph({type:"paragraph",raw:
|
|
73
|
-
Please report this to https://github.com/markedjs/marked.`,e){const a="<p>An error occurred:</p><pre>"+fi(n.message+"",!0)+"</pre>";return s?Promise.resolve(a):a}if(s)return Promise.reject(n);throw n}}}const Ps=new Mg;function xt(t,e){return Ps.parse(t,e)}xt.options=xt.setOptions=function(t){return Ps.setOptions(t),xt.defaults=Ps.defaults,S0(xt.defaults),xt};xt.getDefaults=md;xt.defaults=js;xt.use=function(...t){return Ps.use(...t),xt.defaults=Ps.defaults,S0(xt.defaults),xt};xt.walkTokens=function(t,e){return Ps.walkTokens(t,e)};xt.parseInline=Ps.parseInline;xt.Parser=Xe;xt.parser=Xe.parse;xt.Renderer=or;xt.TextRenderer=wd;xt.Lexer=Ke;xt.lexer=Ke.lex;xt.Tokenizer=rr;xt.Hooks=In;xt.parse=xt;xt.options;xt.setOptions;xt.use;xt.walkTokens;xt.parseInline;Xe.parse;Ke.lex;const Rn={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]},D0=Object.create(null);for(const t in Rn)Object.hasOwn(Rn,t)&&(D0[Rn[t]]=t);const te={to:{},get:{}};te.get=function(t){const e=t.slice(0,3).toLowerCase();let s,n;switch(e){case"hsl":{s=te.get.hsl(t),n="hsl";break}case"hwb":{s=te.get.hwb(t),n="hwb";break}default:{s=te.get.rgb(t),n="rgb";break}}return s?{model:n,value:s}:null};te.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,n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,a=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^(\w+)$/;let o=[0,0,0,1],l,d,c;if(l=t.match(s)){for(c=l[2],l=l[1],d=0;d<3;d++){const u=d*2;o[d]=Number.parseInt(l.slice(u,u+2),16)}c&&(o[3]=Number.parseInt(c,16)/255)}else if(l=t.match(e)){for(l=l[1],c=l[3],d=0;d<3;d++)o[d]=Number.parseInt(l[d]+l[d],16);c&&(o[3]=Number.parseInt(c+c,16)/255)}else if(l=t.match(n)){for(d=0;d<3;d++)o[d]=Number.parseInt(l[d+1],10);l[4]&&(o[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else if(l=t.match(a)){for(d=0;d<3;d++)o[d]=Math.round(Number.parseFloat(l[d+1])*2.55);l[4]&&(o[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else return(l=t.match(r))?l[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Rn,l[1])?(o=Rn[l[1]],o[3]=1,o):null:null;for(d=0;d<3;d++)o[d]=Zi(o[d],0,255);return o[3]=Zi(o[3],0,1),o};te.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*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,s=t.match(e);if(s){const n=Number.parseFloat(s[4]),a=(Number.parseFloat(s[1])%360+360)%360,r=Zi(Number.parseFloat(s[2]),0,100),o=Zi(Number.parseFloat(s[3]),0,100),l=Zi(Number.isNaN(n)?1:n,0,1);return[a,r,o,l]}return null};te.get.hwb=function(t){if(!t)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,s=t.match(e);if(s){const n=Number.parseFloat(s[4]),a=(Number.parseFloat(s[1])%360+360)%360,r=Zi(Number.parseFloat(s[2]),0,100),o=Zi(Number.parseFloat(s[3]),0,100),l=Zi(Number.isNaN(n)?1:n,0,1);return[a,r,o,l]}return null};te.to.hex=function(...t){return"#"+Sa(t[0])+Sa(t[1])+Sa(t[2])+(t[3]<1?Sa(Math.round(t[3]*255)):"")};te.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]+")"};te.to.rgb.percent=function(...t){const e=Math.round(t[0]/255*100),s=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+s+"%, "+n+"%)":"rgba("+e+"%, "+s+"%, "+n+"%, "+t[3]+")"};te.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]+")"};te.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};te.to.keyword=function(...t){return D0[t.slice(0,3)]};function Zi(t,e,s){return Math.min(Math.max(e,t),s)}function Sa(t){const e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}const Yn={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]},I0={};for(const t of Object.keys(Yn))I0[Yn[t]]=t;const tt={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"},lch:{channels:3,labels:"lch"},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"]}},Oi=(6/29)**3;for(const t of Object.keys(tt)){if(!("channels"in tt[t]))throw new Error("missing channels property: "+t);if(!("labels"in tt[t]))throw new Error("missing channel labels property: "+t);if(tt[t].labels.length!==tt[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:s}=tt[t];delete tt[t].channels,delete tt[t].labels,Object.defineProperty(tt[t],"channels",{value:e}),Object.defineProperty(tt[t],"labels",{value:s})}tt.rgb.hsl=function(t){const e=t[0]/255,s=t[1]/255,n=t[2]/255,a=Math.min(e,s,n),r=Math.max(e,s,n),o=r-a;let l,d;switch(r){case a:{l=0;break}case e:{l=(s-n)/o;break}case s:{l=2+(n-e)/o;break}case n:{l=4+(e-s)/o;break}}l=Math.min(l*60,360),l<0&&(l+=360);const c=(a+r)/2;return r===a?d=0:c<=.5?d=o/(r+a):d=o/(2-r-a),[l,d*100,c*100]};tt.rgb.hsv=function(t){let e,s,n,a,r;const o=t[0]/255,l=t[1]/255,d=t[2]/255,c=Math.max(o,l,d),u=c-Math.min(o,l,d),b=function(p){return(c-p)/6/u+1/2};if(u===0)a=0,r=0;else{switch(r=u/c,e=b(o),s=b(l),n=b(d),c){case o:{a=n-s;break}case l:{a=1/3+e-n;break}case d:{a=2/3+s-e;break}}a<0?a+=1:a>1&&(a-=1)}return[a*360,r*100,c*100]};tt.rgb.hwb=function(t){const e=t[0],s=t[1];let n=t[2];const a=tt.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(s,n));return n=1-1/255*Math.max(e,Math.max(s,n)),[a,r*100,n*100]};tt.rgb.cmyk=function(t){const e=t[0]/255,s=t[1]/255,n=t[2]/255,a=Math.min(1-e,1-s,1-n),r=(1-e-a)/(1-a)||0,o=(1-s-a)/(1-a)||0,l=(1-n-a)/(1-a)||0;return[r*100,o*100,l*100,a*100]};function Lg(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}tt.rgb.keyword=function(t){const e=I0[t];if(e)return e;let s=Number.POSITIVE_INFINITY,n;for(const a of Object.keys(Yn)){const r=Yn[a],o=Lg(t,r);o<s&&(s=o,n=a)}return n};tt.keyword.rgb=function(t){return Yn[t]};tt.rgb.xyz=function(t){let e=t[0]/255,s=t[1]/255,n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const a=e*.4124564+s*.3575761+n*.1804375,r=e*.2126729+s*.7151522+n*.072175,o=e*.0193339+s*.119192+n*.9503041;return[a*100,r*100,o*100]};tt.rgb.lab=function(t){const e=tt.rgb.xyz(t);let s=e[0],n=e[1],a=e[2];s/=95.047,n/=100,a/=108.883,s=s>Oi?s**(1/3):7.787*s+16/116,n=n>Oi?n**(1/3):7.787*n+16/116,a=a>Oi?a**(1/3):7.787*a+16/116;const r=116*n-16,o=500*(s-n),l=200*(n-a);return[r,o,l]};tt.hsl.rgb=function(t){const e=t[0]/360,s=t[1]/100,n=t[2]/100;let a,r;if(s===0)return r=n*255,[r,r,r];const o=n<.5?n*(1+s):n+s-n*s,l=2*n-o,d=[0,0,0];for(let c=0;c<3;c++)a=e+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?r=l+(o-l)*6*a:2*a<1?r=o:3*a<2?r=l+(o-l)*(2/3-a)*6:r=l,d[c]=r*255;return d};tt.hsl.hsv=function(t){const e=t[0];let s=t[1]/100,n=t[2]/100,a=s;const r=Math.max(n,.01);n*=2,s*=n<=1?n:2-n,a*=r<=1?r:2-r;const o=(n+s)/2,l=n===0?2*a/(r+a):2*s/(n+s);return[e,l*100,o*100]};tt.hsv.rgb=function(t){const e=t[0]/60,s=t[1]/100;let n=t[2]/100;const a=Math.floor(e)%6,r=e-Math.floor(e),o=255*n*(1-s),l=255*n*(1-s*r),d=255*n*(1-s*(1-r));switch(n*=255,a){case 0:return[n,d,o];case 1:return[l,n,o];case 2:return[o,n,d];case 3:return[o,l,n];case 4:return[d,o,n];case 5:return[n,o,l]}};tt.hsv.hsl=function(t){const e=t[0],s=t[1]/100,n=t[2]/100,a=Math.max(n,.01);let r,o;o=(2-s)*n;const l=(2-s)*a;return r=s*a,r/=l<=1?l:2-l,r=r||0,o/=2,[e,r*100,o*100]};tt.hwb.rgb=function(t){const e=t[0]/360;let s=t[1]/100,n=t[2]/100;const a=s+n;let r;a>1&&(s/=a,n/=a);const o=Math.floor(6*e),l=1-n;r=6*e-o,o&1&&(r=1-r);const d=s+r*(l-s);let c,u,b;switch(o){default:case 6:case 0:{c=l,u=d,b=s;break}case 1:{c=d,u=l,b=s;break}case 2:{c=s,u=l,b=d;break}case 3:{c=s,u=d,b=l;break}case 4:{c=d,u=s,b=l;break}case 5:{c=l,u=s,b=d;break}}return[c*255,u*255,b*255]};tt.cmyk.rgb=function(t){const e=t[0]/100,s=t[1]/100,n=t[2]/100,a=t[3]/100,r=1-Math.min(1,e*(1-a)+a),o=1-Math.min(1,s*(1-a)+a),l=1-Math.min(1,n*(1-a)+a);return[r*255,o*255,l*255]};tt.xyz.rgb=function(t){const e=t[0]/100,s=t[1]/100,n=t[2]/100;let a,r,o;return a=e*3.2404542+s*-1.5371385+n*-.4985314,r=e*-.969266+s*1.8760108+n*.041556,o=e*.0556434+s*-.2040259+n*1.0572252,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=Math.min(Math.max(0,a),1),r=Math.min(Math.max(0,r),1),o=Math.min(Math.max(0,o),1),[a*255,r*255,o*255]};tt.xyz.lab=function(t){let e=t[0],s=t[1],n=t[2];e/=95.047,s/=100,n/=108.883,e=e>Oi?e**(1/3):7.787*e+16/116,s=s>Oi?s**(1/3):7.787*s+16/116,n=n>Oi?n**(1/3):7.787*n+16/116;const a=116*s-16,r=500*(e-s),o=200*(s-n);return[a,r,o]};tt.lab.xyz=function(t){const e=t[0],s=t[1],n=t[2];let a,r,o;r=(e+16)/116,a=s/500+r,o=r-n/200;const l=r**3,d=a**3,c=o**3;return r=l>Oi?l:(r-16/116)/7.787,a=d>Oi?d:(a-16/116)/7.787,o=c>Oi?c:(o-16/116)/7.787,a*=95.047,r*=100,o*=108.883,[a,r,o]};tt.lab.lch=function(t){const e=t[0],s=t[1],n=t[2];let a;a=Math.atan2(n,s)*360/2/Math.PI,a<0&&(a+=360);const o=Math.sqrt(s*s+n*n);return[e,o,a]};tt.lch.lab=function(t){const e=t[0],s=t[1],a=t[2]/360*2*Math.PI,r=s*Math.cos(a),o=s*Math.sin(a);return[e,r,o]};tt.rgb.ansi16=function(t,e=null){const[s,n,a]=t;let r=e===null?tt.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),r===0)return 30;let o=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(s/255));return r===2&&(o+=60),o};tt.hsv.ansi16=function(t){return tt.rgb.ansi16(tt.hsv.rgb(t),t[2])};tt.rgb.ansi256=function(t){const e=t[0],s=t[1],n=t[2];return e>>4===s>>4&&s>>4===n>>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(n/255*5)};tt.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,n=(e&1)*s*255,a=(e>>1&1)*s*255,r=(e>>2&1)*s*255;return[n,a,r]};tt.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,n=Math.floor((e=t%36)/6)/5*255,a=e%6/5*255;return[s,n,a]};tt.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};tt.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(l=>l+l).join(""));const n=Number.parseInt(s,16),a=n>>16&255,r=n>>8&255,o=n&255;return[a,r,o]};tt.rgb.hcg=function(t){const e=t[0]/255,s=t[1]/255,n=t[2]/255,a=Math.max(Math.max(e,s),n),r=Math.min(Math.min(e,s),n),o=a-r;let l;const d=o<1?r/(1-o):0;return o<=0?l=0:a===e?l=(s-n)/o%6:a===s?l=2+(n-e)/o:l=4+(e-s)/o,l/=6,l%=1,[l*360,o*100,d*100]};tt.hsl.hcg=function(t){const e=t[1]/100,s=t[2]/100,n=s<.5?2*e*s:2*e*(1-s);let a=0;return n<1&&(a=(s-.5*n)/(1-n)),[t[0],n*100,a*100]};tt.hsv.hcg=function(t){const e=t[1]/100,s=t[2]/100,n=e*s;let a=0;return n<1&&(a=(s-n)/(1-n)),[t[0],n*100,a*100]};tt.hcg.rgb=function(t){const e=t[0]/360,s=t[1]/100,n=t[2]/100;if(s===0)return[n*255,n*255,n*255];const a=[0,0,0],r=e%1*6,o=r%1,l=1-o;let d=0;switch(Math.floor(r)){case 0:{a[0]=1,a[1]=o,a[2]=0;break}case 1:{a[0]=l,a[1]=1,a[2]=0;break}case 2:{a[0]=0,a[1]=1,a[2]=o;break}case 3:{a[0]=0,a[1]=l,a[2]=1;break}case 4:{a[0]=o,a[1]=0,a[2]=1;break}default:a[0]=1,a[1]=0,a[2]=l}return d=(1-s)*n,[(s*a[0]+d)*255,(s*a[1]+d)*255,(s*a[2]+d)*255]};tt.hcg.hsv=function(t){const e=t[1]/100,s=t[2]/100,n=e+s*(1-e);let a=0;return n>0&&(a=e/n),[t[0],a*100,n*100]};tt.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let a=0;return n>0&&n<.5?a=e/(2*n):n>=.5&&n<1&&(a=e/(2*(1-n))),[t[0],a*100,n*100]};tt.hcg.hwb=function(t){const e=t[1]/100,s=t[2]/100,n=e+s*(1-e);return[t[0],(n-e)*100,(1-n)*100]};tt.hwb.hcg=function(t){const e=t[1]/100,n=1-t[2]/100,a=n-e;let r=0;return a<1&&(r=(n-a)/(1-a)),[t[0],a*100,r*100]};tt.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};tt.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};tt.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};tt.gray.hsl=function(t){return[0,0,t[0]]};tt.gray.hsv=tt.gray.hsl;tt.gray.hwb=function(t){return[0,100,t[0]]};tt.gray.cmyk=function(t){return[0,0,0,t[0]]};tt.gray.lab=function(t){return[t[0],0,0]};tt.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(n.length)+n};tt.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function Dg(){const t={},e=Object.keys(tt);for(let{length:s}=e,n=0;n<s;n++)t[e[n]]={distance:-1,parent:null};return t}function Ig(t){const e=Dg(),s=[t];for(e[t].distance=0;s.length>0;){const n=s.pop(),a=Object.keys(tt[n]);for(let{length:r}=a,o=0;o<r;o++){const l=a[o],d=e[l];d.distance===-1&&(d.distance=e[n].distance+1,d.parent=n,s.unshift(l))}}return e}function Rg(t,e){return function(s){return e(t(s))}}function Og(t,e){const s=[e[t].parent,t];let n=tt[e[t].parent][t],a=e[t].parent;for(;e[a].parent;)s.unshift(e[a].parent),n=Rg(tt[e[a].parent][a],n),a=e[a].parent;return n.conversion=s,n}function Ng(t){const e=Ig(t),s={},n=Object.keys(e);for(let{length:a}=n,r=0;r<a;r++){const o=n[r];e[o].parent!==null&&(s[o]=Og(o,e))}return s}const ne={},Bg=Object.keys(tt);function qg(t){const e=function(...s){const n=s[0];return n==null?n:(n.length>1&&(s=n),t(s))};return"conversion"in t&&(e.conversion=t.conversion),e}function Gg(t){const e=function(...s){const n=s[0];if(n==null)return n;n.length>1&&(s=n);const a=t(s);if(typeof a=="object")for(let{length:r}=a,o=0;o<r;o++)a[o]=Math.round(a[o]);return a};return"conversion"in t&&(e.conversion=t.conversion),e}for(const t of Bg){ne[t]={},Object.defineProperty(ne[t],"channels",{value:tt[t].channels}),Object.defineProperty(ne[t],"labels",{value:tt[t].labels});const e=Ng(t),s=Object.keys(e);for(const n of s){const a=e[n];ne[t][n]=Gg(a),ne[t][n].raw=qg(a)}}const R0=["keyword","gray","hex"],dl={};for(const t of Object.keys(ne))dl[[...ne[t].labels].sort().join("")]=t;const On={};function Qt(t,e){if(!(this instanceof Qt))return new Qt(t,e);if(e&&e in R0&&(e=null),e&&!(e in ne))throw new Error("Unknown model: "+e);let s,n;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof Qt)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const a=te.get(t);if(a===null)throw new Error("Unable to parse color from string: "+t);this.model=a.model,n=ne[this.model].channels,this.color=a.value.slice(0,n),this.valpha=typeof a.value[n]=="number"?a.value[n]:1}else if(t.length>0){this.model=e||"rgb",n=ne[this.model].channels;const a=Array.prototype.slice.call(t,0,n);this.color=ul(a,n),this.valpha=typeof t[n]=="number"?t[n]: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 a=Object.keys(t);"alpha"in t&&(a.splice(a.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);const r=a.sort().join("");if(!(r in dl))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=dl[r];const{labels:o}=ne[this.model],l=[];for(s=0;s<o.length;s++)l.push(t[o[s]]);this.color=ul(l)}if(On[this.model])for(n=ne[this.model].channels,s=0;s<n;s++){const a=On[this.model][s];a&&(this.color[s]=a(this.color[s]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Qt.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in te.to?this:this.rgb();e=e.round(typeof t=="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return te.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 te.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 n=0;n<e;n++)t[s[n]]=this.color[n];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 Qt([...this.color.map(Vg(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new Qt([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:Wt("rgb",0,Zt(255)),green:Wt("rgb",1,Zt(255)),blue:Wt("rgb",2,Zt(255)),hue:Wt(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:Wt("hsl",1,Zt(100)),lightness:Wt("hsl",2,Zt(100)),saturationv:Wt("hsv",1,Zt(100)),value:Wt("hsv",2,Zt(100)),chroma:Wt("hcg",1,Zt(100)),gray:Wt("hcg",2,Zt(100)),white:Wt("hwb",1,Zt(100)),wblack:Wt("hwb",2,Zt(100)),cyan:Wt("cmyk",0,Zt(100)),magenta:Wt("cmyk",1,Zt(100)),yellow:Wt("cmyk",2,Zt(100)),black:Wt("cmyk",3,Zt(100)),x:Wt("xyz",0,Zt(95.047)),y:Wt("xyz",1,Zt(100)),z:Wt("xyz",2,Zt(108.833)),l:Wt("lab",0,Zt(100)),a:Wt("lab",1),b:Wt("lab",2),keyword(t){return t!==void 0?new Qt(t):ne[this.model].keyword(this.color)},hex(t){return t!==void 0?new Qt(t):te.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new Qt(t);const e=this.rgb().round().color;let s=Math.round(this.valpha*255).toString(16).toUpperCase();return s.length===1&&(s="0"+s),te.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,n]of t.entries()){const a=n/255;e[s]=a<=.04045?a/12.92:((a+.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 Qt.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(),n=this.rgb(),a=e===void 0?.5:e,r=2*a-1,o=s.alpha()-n.alpha(),l=((r*o===-1?r:(r+o)/(1+r*o))+1)/2,d=1-l;return Qt.rgb(l*s.red()+d*n.red(),l*s.green()+d*n.green(),l*s.blue()+d*n.blue(),s.alpha()*a+n.alpha()*(1-a))}};for(const t of Object.keys(ne)){if(R0.includes(t))continue;const{channels:e}=ne[t];Qt.prototype[t]=function(...s){return this.model===t?new Qt(this):s.length>0?new Qt(s,t):new Qt([...Hg(ne[this.model][t].raw(this.color)),this.valpha],t)},Qt[t]=function(...s){let n=s[0];return typeof n=="number"&&(n=ul(s,e)),new Qt(n,t)}}function Fg(t,e){return Number(t.toFixed(e))}function Vg(t){return function(e){return Fg(e,t)}}function Wt(t,e,s){t=Array.isArray(t)?t:[t];for(const n of t)(On[n]||(On[n]=[]))[e]=s;return t=t[0],function(n){let a;return n!==void 0?(s&&(n=s(n)),a=this[t](),a.color[e]=n,a):(a=this[t]().color[e],s&&(a=s(a)),a)}}function Zt(t){return function(e){return Math.max(0,Math.min(t,e))}}function Hg(t){return Array.isArray(t)?t:[t]}function ul(t,e){for(let s=0;s<e;s++)typeof t[s]!="number"&&(t[s]=0);return t}var za=function(t,e){return t<e?-1:t>e?1:0},Uu=function(t){return t.reduce(function(e,s){return e+s},0)},Ug=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}(),Wg=function(){function t(r,o,l){return(r<<10)+(o<<5)+l}function e(r){var o=[],l=!1;function d(){o.sort(r),l=!0}return{push:function(c){o.push(c),l=!1},peek:function(c){return l||d(),c===void 0&&(c=o.length-1),o[c]},pop:function(){return l||d(),o.pop()},size:function(){return o.length},map:function(c){return o.map(c)},debug:function(){return l||d(),o}}}function s(r,o,l,d,c,u,b){var p=this;p.r1=r,p.r2=o,p.g1=l,p.g2=d,p.b1=c,p.b2=u,p.histo=b}function n(){this.vboxes=new e(function(r,o){return za(r.vbox.count()*r.vbox.volume(),o.vbox.count()*o.vbox.volume())})}function a(r,o){if(o.count()){var l=o.r2-o.r1+1,d=o.g2-o.g1+1,c=Math.max.apply(null,[l,d,o.b2-o.b1+1]);if(o.count()==1)return[o.copy()];var u,b,p,m,f=0,v=[],k=[];if(c==l)for(u=o.r1;u<=o.r2;u++){for(m=0,b=o.g1;b<=o.g2;b++)for(p=o.b1;p<=o.b2;p++)m+=r[t(u,b,p)]||0;v[u]=f+=m}else if(c==d)for(u=o.g1;u<=o.g2;u++){for(m=0,b=o.r1;b<=o.r2;b++)for(p=o.b1;p<=o.b2;p++)m+=r[t(b,u,p)]||0;v[u]=f+=m}else for(u=o.b1;u<=o.b2;u++){for(m=0,b=o.r1;b<=o.r2;b++)for(p=o.g1;p<=o.g2;p++)m+=r[t(b,p,u)]||0;v[u]=f+=m}return v.forEach(function(h,g){k[g]=f-h}),function(h){var g,_,y,w,P,E=h+"1",j=h+"2",z=0;for(u=o[E];u<=o[j];u++)if(v[u]>f/2){for(y=o.copy(),w=o.copy(),P=(g=u-o[E])<=(_=o[j]-u)?Math.min(o[j]-1,~~(u+_/2)):Math.max(o[E],~~(u-1-g/2));!v[P];)P++;for(z=k[P];!z&&v[P-1];)z=k[--P];return y[j]=P,w[E]=y[j]+1,[y,w]}}(c==l?"r":c==d?"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,l=o.histo;if(!o._count_set||r){var d,c,u,b=0;for(d=o.r1;d<=o.r2;d++)for(c=o.g1;c<=o.g2;c++)for(u=o.b1;u<=o.b2;u++)b+=l[t(d,c,u)]||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,l=o.histo;if(!o._avg||r){var d,c,u,b,p=0,m=0,f=0,v=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(c=o.r1;c<=o.r2;c++)for(u=o.g1;u<=o.g2;u++)for(b=o.b1;b<=o.b2;b++)p+=d=l[t(c,u,b)]||0,m+=d*(c+.5)*8,f+=d*(u+.5)*8,v+=d*(b+.5)*8;o._avg=p?[~~(m/p),~~(f/p),~~(v/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,l=r[0]>>3;return gval=r[1]>>3,bval=r[2]>>3,l>=o.r1&&l<=o.r2&&gval>=o.g1&&gval<=o.g2&&bval>=o.b1&&bval<=o.b2}},n.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,l=0;l<o.size();l++)if(o.peek(l).vbox.contains(r))return o.peek(l).color;return this.nearest(r)},nearest:function(r){for(var o,l,d,c=this.vboxes,u=0;u<c.size();u++)((l=Math.sqrt(Math.pow(r[0]-c.peek(u).color[0],2)+Math.pow(r[1]-c.peek(u).color[1],2)+Math.pow(r[2]-c.peek(u).color[2],2)))<o||o===void 0)&&(o=l,d=c.peek(u).color);return d},forcebw:function(){var r=this.vboxes;r.sort(function(c,u){return za(Uu(c.color),Uu(u.color))});var o=r[0].color;o[0]<5&&o[1]<5&&o[2]<5&&(r[0].color=[0,0,0]);var l=r.length-1,d=r[l].color;d[0]>251&&d[1]>251&&d[2]>251&&(r[l].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 l=[],d=new Set,c=0;c<r.length;c++){var u=r[c],b=u.join(",");d.has(b)||(d.add(b),l.push(u))}if(l.length<=o)return new Ug(l);var p=function(g){var _,y=new Array(32768);return g.forEach(function(w){_=t(w[0]>>3,w[1]>>3,w[2]>>3),y[_]=(y[_]||0)+1}),y}(r);p.forEach(function(){});var m=function(g,_){var y,w,P,E=1e6,j=0,z=1e6,L=0,O=1e6,x=0;return g.forEach(function(M){(y=M[0]>>3)<E?E=y:y>j&&(j=y),(w=M[1]>>3)<z?z=w:w>L&&(L=w),(P=M[2]>>3)<O?O=P:P>x&&(x=P)}),new s(E,j,z,L,O,x,_)}(r,p),f=new e(function(g,_){return za(g.count(),_.count())});function v(g,_){for(var y,w=g.size(),P=0;P<1e3;){if(w>=_||P++>1e3)return;if((y=g.pop()).count()){var E=a(p,y),j=E[0],z=E[1];if(!j)return;g.push(j),z&&(g.push(z),w++)}else g.push(y),P++}}f.push(m),v(f,.75*o);for(var k=new e(function(g,_){return za(g.count()*g.volume(),_.count()*_.volume())});f.size();)k.push(f.pop());v(k,o);for(var h=new n;k.size();)h.push(k.pop());return h}}}().quantize,O0=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)};O0.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)};var Os=function(){};Os.prototype.getColor=function(t,e){return e===void 0&&(e=10),this.getPalette(t,5,e)[0]},Os.prototype.getPalette=function(t,e,s){var n=function(l){var d=l.colorCount,c=l.quality;if(d!==void 0&&Number.isInteger(d)){if(d===1)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");d=Math.max(d,2),d=Math.min(d,20)}else d=10;return(c===void 0||!Number.isInteger(c)||c<1)&&(c=10),{colorCount:d,quality:c}}({colorCount:e,quality:s}),a=new O0(t),r=function(l,d,c){for(var u,b,p,m,f,v=l,k=[],h=0;h<d;h+=c)b=v[0+(u=4*h)],p=v[u+1],m=v[u+2],((f=v[u+3])===void 0||f>=125)&&(b>250&&p>250&&m>250||k.push([b,p,m]));return k}(a.getImageData().data,a.width*a.height,n.quality),o=Wg(r,n.colorCount);return o?o.palette():null},Os.prototype.getColorFromUrl=function(t,e,s){var n=this,a=document.createElement("img");a.addEventListener("load",function(){var r=n.getPalette(a,5,s);e(r[0],t)}),a.src=t},Os.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 n=new Uint8Array(this.response);i=n.length;for(var a=new Array(i),r=0;r<n.length;r++)a[r]=String.fromCharCode(n[r]);var o=a.join(""),l=window.btoa(o);e("data:image/png;base64,"+l)}},s.send()},Os.prototype.getColorAsync=function(t,e,s){var n=this;this.getImageData(t,function(a){var r=document.createElement("img");r.addEventListener("load",function(){var o=n.getPalette(r,5,s);e(o[0],this)}),r.src=a})};function $g(t){return{all:t=t||new Map,on:function(e,s){var n=t.get(e);n?n.push(s):t.set(e,[s])},off:function(e,s){var n=t.get(e);n&&(s?n.splice(n.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var n=t.get(e);n&&n.slice().map(function(a){a(s)}),(n=t.get("*"))&&n.slice().map(function(a){a(e,s)})}}}const Zn=$g(),Kg="modulepreload",Xg=function(t,e){return new URL(t,e).href},Wu={},jt=function(e,s,n){let a=Promise.resolve();if(s&&s.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),d=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));a=Promise.allSettled(s.map(c=>{if(c=Xg(c,n),c in Wu)return;Wu[c]=!0;const u=c.endsWith(".css"),b=u?'[rel="stylesheet"]':"";if(!!n)for(let f=o.length-1;f>=0;f--){const v=o[f];if(v.href===c&&(!u||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${b}`))return;const m=document.createElement("link");if(m.rel=u?"stylesheet":Kg,u||(m.as="script"),m.crossOrigin="",m.href=c,d&&m.setAttribute("nonce",d),document.head.appendChild(m),u)return new Promise((f,v)=>{m.addEventListener("load",f),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return a.then(o=>{for(const l of o||[])l.status==="rejected"&&r(l.reason);return e().catch(r)})};/*!
|
|
71
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Ei(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:s,tokens:n}){const a=this.parser.parseInline(n),r=gc(e);if(r===null)return a;e=r;let o='<a href="'+e+'"';return s&&(o+=' title="'+Ei(s)+'"'),o+=">"+a+"</a>",o}image({href:e,title:s,text:n}){const a=gc(e);if(a===null)return Ei(n);e=a;let r=`<img src="${e}" alt="${n}"`;return s&&(r+=` title="${Ei(s)}"`),r+=">",r}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Ei(e.text)}}class $u{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class ri{constructor(e){wt(this,"options");wt(this,"renderer");wt(this,"textRenderer");this.options=e||Fs,this.options.renderer=this.options.renderer||new Lr,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new $u}static parse(e,s){return new ri(s).parse(e)}static parseInline(e,s){return new ri(s).parseInline(e)}parse(e,s=!0){var a,r;let n="";for(let o=0;o<e.length;o++){const l=e[o];if((r=(a=this.options.extensions)==null?void 0:a.renderers)!=null&&r[l.type]){const c=l,d=this.options.extensions.renderers[c.type].call({parser:this},c);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type)){n+=d||"";continue}}const u=l;switch(u.type){case"space":{n+=this.renderer.space(u);continue}case"hr":{n+=this.renderer.hr(u);continue}case"heading":{n+=this.renderer.heading(u);continue}case"code":{n+=this.renderer.code(u);continue}case"table":{n+=this.renderer.table(u);continue}case"blockquote":{n+=this.renderer.blockquote(u);continue}case"list":{n+=this.renderer.list(u);continue}case"html":{n+=this.renderer.html(u);continue}case"paragraph":{n+=this.renderer.paragraph(u);continue}case"text":{let c=u,d=this.renderer.text(c);for(;o+1<e.length&&e[o+1].type==="text";)c=e[++o],d+=`
|
|
72
|
+
`+this.renderer.text(c);s?n+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):n+=d;continue}default:{const c='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(e,s=this.renderer){var a,r;let n="";for(let o=0;o<e.length;o++){const l=e[o];if((r=(a=this.options.extensions)==null?void 0:a.renderers)!=null&&r[l.type]){const c=this.options.extensions.renderers[l.type].call({parser:this},l);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type)){n+=c||"";continue}}const u=l;switch(u.type){case"escape":{n+=s.text(u);break}case"html":{n+=s.html(u);break}case"link":{n+=s.link(u);break}case"image":{n+=s.image(u);break}case"strong":{n+=s.strong(u);break}case"em":{n+=s.em(u);break}case"codespan":{n+=s.codespan(u);break}case"br":{n+=s.br(u);break}case"del":{n+=s.del(u);break}case"text":{n+=s.text(u);break}default:{const c='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}}class ea{constructor(e){wt(this,"options");wt(this,"block");this.options=e||Fs}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?ai.lex:ai.lexInline}provideParser(){return this.block?ri.parse:ri.parseInline}}wt(ea,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class sh{constructor(...e){wt(this,"defaults",Fu());wt(this,"options",this.setOptions);wt(this,"parse",this.parseMarkdown(!0));wt(this,"parseInline",this.parseMarkdown(!1));wt(this,"Parser",ri);wt(this,"Renderer",Lr);wt(this,"TextRenderer",$u);wt(this,"Lexer",ai);wt(this,"Tokenizer",Ir);wt(this,"Hooks",ea);this.use(...e)}walkTokens(e,s){var a,r;let n=[];for(const o of e)switch(n=n.concat(s.call(this,o)),o.type){case"table":{const l=o;for(const u of l.header)n=n.concat(this.walkTokens(u.tokens,s));for(const u of l.rows)for(const c of u)n=n.concat(this.walkTokens(c.tokens,s));break}case"list":{const l=o;n=n.concat(this.walkTokens(l.items,s));break}default:{const l=o;(r=(a=this.defaults.extensions)==null?void 0:a.childTokens)!=null&&r[l.type]?this.defaults.extensions.childTokens[l.type].forEach(u=>{const c=l[u].flat(1/0);n=n.concat(this.walkTokens(c,s))}):l.tokens&&(n=n.concat(this.walkTokens(l.tokens,s)))}}return n}use(...e){const s=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{const a={...n};if(a.async=this.defaults.async||a.async||!1,n.extensions&&(n.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){const o=s.renderers[r.name];o?s.renderers[r.name]=function(...l){let u=r.renderer.apply(this,l);return u===!1&&(u=o.apply(this,l)),u}:s.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=s[r.level];o?o.unshift(r.tokenizer):s[r.level]=[r.tokenizer],r.start&&(r.level==="block"?s.startBlock?s.startBlock.push(r.start):s.startBlock=[r.start]:r.level==="inline"&&(s.startInline?s.startInline.push(r.start):s.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(s.childTokens[r.name]=r.childTokens)}),a.extensions=s),n.renderer){const r=this.defaults.renderer||new Lr(this.defaults);for(const o in n.renderer){if(!(o in r))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const l=o,u=n.renderer[l],c=r[l];r[l]=(...d)=>{let b=u.apply(r,d);return b===!1&&(b=c.apply(r,d)),b||""}}a.renderer=r}if(n.tokenizer){const r=this.defaults.tokenizer||new Ir(this.defaults);for(const o in n.tokenizer){if(!(o in r))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const l=o,u=n.tokenizer[l],c=r[l];r[l]=(...d)=>{let b=u.apply(r,d);return b===!1&&(b=c.apply(r,d)),b}}a.tokenizer=r}if(n.hooks){const r=this.defaults.hooks||new ea;for(const o in n.hooks){if(!(o in r))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const l=o,u=n.hooks[l],c=r[l];ea.passThroughHooks.has(o)?r[l]=d=>{if(this.defaults.async)return Promise.resolve(u.call(r,d)).then(p=>c.call(r,p));const b=u.call(r,d);return c.call(r,b)}:r[l]=(...d)=>{let b=u.apply(r,d);return b===!1&&(b=c.apply(r,d)),b}}a.hooks=r}if(n.walkTokens){const r=this.defaults.walkTokens,o=n.walkTokens;a.walkTokens=function(l){let u=[];return u.push(o.call(this,l)),r&&(u=u.concat(r.call(this,l))),u}}this.defaults={...this.defaults,...a}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,s){return ai.lex(e,s??this.defaults)}parser(e,s){return ri.parse(e,s??this.defaults)}parseMarkdown(e){return(n,a)=>{const r={...a},o={...this.defaults,...r},l=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&r.async===!1)return l(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 n>"u"||n===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=e);const u=o.hooks?o.hooks.provideLexer():e?ai.lex:ai.lexInline,c=o.hooks?o.hooks.provideParser():e?ri.parse:ri.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(d=>u(d,o)).then(d=>o.hooks?o.hooks.processAllTokens(d):d).then(d=>o.walkTokens?Promise.all(this.walkTokens(d,o.walkTokens)).then(()=>d):d).then(d=>c(d,o)).then(d=>o.hooks?o.hooks.postprocess(d):d).catch(l);try{o.hooks&&(n=o.hooks.preprocess(n));let d=u(n,o);o.hooks&&(d=o.hooks.processAllTokens(d)),o.walkTokens&&this.walkTokens(d,o.walkTokens);let b=c(d,o);return o.hooks&&(b=o.hooks.postprocess(b)),b}catch(d){return l(d)}}}onError(e,s){return n=>{if(n.message+=`
|
|
73
|
+
Please report this to https://github.com/markedjs/marked.`,e){const a="<p>An error occurred:</p><pre>"+Ei(n.message+"",!0)+"</pre>";return s?Promise.resolve(a):a}if(s)return Promise.reject(n);throw n}}}const Gs=new sh;function Vt(t,e){return Gs.parse(t,e)}Vt.options=Vt.setOptions=function(t){return Gs.setOptions(t),Vt.defaults=Gs.defaults,tm(Vt.defaults),Vt};Vt.getDefaults=Fu;Vt.defaults=Fs;Vt.use=function(...t){return Gs.use(...t),Vt.defaults=Gs.defaults,tm(Vt.defaults),Vt};Vt.walkTokens=function(t,e){return Gs.walkTokens(t,e)};Vt.parseInline=Gs.parseInline;Vt.Parser=ri;Vt.parser=ri.parse;Vt.Renderer=Lr;Vt.TextRenderer=$u;Vt.Lexer=ai;Vt.lexer=ai.lex;Vt.Tokenizer=Ir;Vt.Hooks=ea;Vt.parse=Vt;Vt.options;Vt.setOptions;Vt.use;Vt.walkTokens;Vt.parseInline;ri.parse;ai.lex;const ia={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]},cm=Object.create(null);for(const t in ia)Object.hasOwn(ia,t)&&(cm[ia[t]]=t);const ve={to:{},get:{}};ve.get=function(t){const e=t.slice(0,3).toLowerCase();let s,n;switch(e){case"hsl":{s=ve.get.hsl(t),n="hsl";break}case"hwb":{s=ve.get.hwb(t),n="hwb";break}default:{s=ve.get.rgb(t),n="rgb";break}}return s?{model:n,value:s}:null};ve.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,n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,a=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,r=/^(\w+)$/;let o=[0,0,0,1],l,u,c;if(l=t.match(s)){for(c=l[2],l=l[1],u=0;u<3;u++){const d=u*2;o[u]=Number.parseInt(l.slice(d,d+2),16)}c&&(o[3]=Number.parseInt(c,16)/255)}else if(l=t.match(e)){for(l=l[1],c=l[3],u=0;u<3;u++)o[u]=Number.parseInt(l[u]+l[u],16);c&&(o[3]=Number.parseInt(c+c,16)/255)}else if(l=t.match(n)){for(u=0;u<3;u++)o[u]=Number.parseInt(l[u+1],10);l[4]&&(o[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else if(l=t.match(a)){for(u=0;u<3;u++)o[u]=Math.round(Number.parseFloat(l[u+1])*2.55);l[4]&&(o[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else return(l=t.match(r))?l[1]==="transparent"?[0,0,0,0]:Object.hasOwn(ia,l[1])?(o=ia[l[1]],o[3]=1,o):null:null;for(u=0;u<3;u++)o[u]=ps(o[u],0,255);return o[3]=ps(o[3],0,1),o};ve.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*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,s=t.match(e);if(s){const n=Number.parseFloat(s[4]),a=(Number.parseFloat(s[1])%360+360)%360,r=ps(Number.parseFloat(s[2]),0,100),o=ps(Number.parseFloat(s[3]),0,100),l=ps(Number.isNaN(n)?1:n,0,1);return[a,r,o,l]}return null};ve.get.hwb=function(t){if(!t)return null;const e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,s=t.match(e);if(s){const n=Number.parseFloat(s[4]),a=(Number.parseFloat(s[1])%360+360)%360,r=ps(Number.parseFloat(s[2]),0,100),o=ps(Number.parseFloat(s[3]),0,100),l=ps(Number.isNaN(n)?1:n,0,1);return[a,r,o,l]}return null};ve.to.hex=function(...t){return"#"+Ka(t[0])+Ka(t[1])+Ka(t[2])+(t[3]<1?Ka(Math.round(t[3]*255)):"")};ve.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]+")"};ve.to.rgb.percent=function(...t){const e=Math.round(t[0]/255*100),s=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+s+"%, "+n+"%)":"rgba("+e+"%, "+s+"%, "+n+"%, "+t[3]+")"};ve.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]+")"};ve.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};ve.to.keyword=function(...t){return cm[t.slice(0,3)]};function ps(t,e,s){return Math.min(Math.max(e,t),s)}function Ka(t){const e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}const pa={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]},bm={};for(const t of Object.keys(pa))bm[pa[t]]=t;const ot={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"},lch:{channels:3,labels:"lch"},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"]}},ts=(6/29)**3;for(const t of Object.keys(ot)){if(!("channels"in ot[t]))throw new Error("missing channels property: "+t);if(!("labels"in ot[t]))throw new Error("missing channel labels property: "+t);if(ot[t].labels.length!==ot[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:s}=ot[t];delete ot[t].channels,delete ot[t].labels,Object.defineProperty(ot[t],"channels",{value:e}),Object.defineProperty(ot[t],"labels",{value:s})}ot.rgb.hsl=function(t){const e=t[0]/255,s=t[1]/255,n=t[2]/255,a=Math.min(e,s,n),r=Math.max(e,s,n),o=r-a;let l,u;switch(r){case a:{l=0;break}case e:{l=(s-n)/o;break}case s:{l=2+(n-e)/o;break}case n:{l=4+(e-s)/o;break}}l=Math.min(l*60,360),l<0&&(l+=360);const c=(a+r)/2;return r===a?u=0:c<=.5?u=o/(r+a):u=o/(2-r-a),[l,u*100,c*100]};ot.rgb.hsv=function(t){let e,s,n,a,r;const o=t[0]/255,l=t[1]/255,u=t[2]/255,c=Math.max(o,l,u),d=c-Math.min(o,l,u),b=function(p){return(c-p)/6/d+1/2};if(d===0)a=0,r=0;else{switch(r=d/c,e=b(o),s=b(l),n=b(u),c){case o:{a=n-s;break}case l:{a=1/3+e-n;break}case u:{a=2/3+s-e;break}}a<0?a+=1:a>1&&(a-=1)}return[a*360,r*100,c*100]};ot.rgb.hwb=function(t){const e=t[0],s=t[1];let n=t[2];const a=ot.rgb.hsl(t)[0],r=1/255*Math.min(e,Math.min(s,n));return n=1-1/255*Math.max(e,Math.max(s,n)),[a,r*100,n*100]};ot.rgb.cmyk=function(t){const e=t[0]/255,s=t[1]/255,n=t[2]/255,a=Math.min(1-e,1-s,1-n),r=(1-e-a)/(1-a)||0,o=(1-s-a)/(1-a)||0,l=(1-n-a)/(1-a)||0;return[r*100,o*100,l*100,a*100]};function nh(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}ot.rgb.keyword=function(t){const e=bm[t];if(e)return e;let s=Number.POSITIVE_INFINITY,n;for(const a of Object.keys(pa)){const r=pa[a],o=nh(t,r);o<s&&(s=o,n=a)}return n};ot.keyword.rgb=function(t){return pa[t]};ot.rgb.xyz=function(t){let e=t[0]/255,s=t[1]/255,n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const a=e*.4124564+s*.3575761+n*.1804375,r=e*.2126729+s*.7151522+n*.072175,o=e*.0193339+s*.119192+n*.9503041;return[a*100,r*100,o*100]};ot.rgb.lab=function(t){const e=ot.rgb.xyz(t);let s=e[0],n=e[1],a=e[2];s/=95.047,n/=100,a/=108.883,s=s>ts?s**(1/3):7.787*s+16/116,n=n>ts?n**(1/3):7.787*n+16/116,a=a>ts?a**(1/3):7.787*a+16/116;const r=116*n-16,o=500*(s-n),l=200*(n-a);return[r,o,l]};ot.hsl.rgb=function(t){const e=t[0]/360,s=t[1]/100,n=t[2]/100;let a,r;if(s===0)return r=n*255,[r,r,r];const o=n<.5?n*(1+s):n+s-n*s,l=2*n-o,u=[0,0,0];for(let c=0;c<3;c++)a=e+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?r=l+(o-l)*6*a:2*a<1?r=o:3*a<2?r=l+(o-l)*(2/3-a)*6:r=l,u[c]=r*255;return u};ot.hsl.hsv=function(t){const e=t[0];let s=t[1]/100,n=t[2]/100,a=s;const r=Math.max(n,.01);n*=2,s*=n<=1?n:2-n,a*=r<=1?r:2-r;const o=(n+s)/2,l=n===0?2*a/(r+a):2*s/(n+s);return[e,l*100,o*100]};ot.hsv.rgb=function(t){const e=t[0]/60,s=t[1]/100;let n=t[2]/100;const a=Math.floor(e)%6,r=e-Math.floor(e),o=255*n*(1-s),l=255*n*(1-s*r),u=255*n*(1-s*(1-r));switch(n*=255,a){case 0:return[n,u,o];case 1:return[l,n,o];case 2:return[o,n,u];case 3:return[o,l,n];case 4:return[u,o,n];case 5:return[n,o,l]}};ot.hsv.hsl=function(t){const e=t[0],s=t[1]/100,n=t[2]/100,a=Math.max(n,.01);let r,o;o=(2-s)*n;const l=(2-s)*a;return r=s*a,r/=l<=1?l:2-l,r=r||0,o/=2,[e,r*100,o*100]};ot.hwb.rgb=function(t){const e=t[0]/360;let s=t[1]/100,n=t[2]/100;const a=s+n;let r;a>1&&(s/=a,n/=a);const o=Math.floor(6*e),l=1-n;r=6*e-o,(o&1)!==0&&(r=1-r);const u=s+r*(l-s);let c,d,b;switch(o){default:case 6:case 0:{c=l,d=u,b=s;break}case 1:{c=u,d=l,b=s;break}case 2:{c=s,d=l,b=u;break}case 3:{c=s,d=u,b=l;break}case 4:{c=u,d=s,b=l;break}case 5:{c=l,d=s,b=u;break}}return[c*255,d*255,b*255]};ot.cmyk.rgb=function(t){const e=t[0]/100,s=t[1]/100,n=t[2]/100,a=t[3]/100,r=1-Math.min(1,e*(1-a)+a),o=1-Math.min(1,s*(1-a)+a),l=1-Math.min(1,n*(1-a)+a);return[r*255,o*255,l*255]};ot.xyz.rgb=function(t){const e=t[0]/100,s=t[1]/100,n=t[2]/100;let a,r,o;return a=e*3.2404542+s*-1.5371385+n*-.4985314,r=e*-.969266+s*1.8760108+n*.041556,o=e*.0556434+s*-.2040259+n*1.0572252,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=Math.min(Math.max(0,a),1),r=Math.min(Math.max(0,r),1),o=Math.min(Math.max(0,o),1),[a*255,r*255,o*255]};ot.xyz.lab=function(t){let e=t[0],s=t[1],n=t[2];e/=95.047,s/=100,n/=108.883,e=e>ts?e**(1/3):7.787*e+16/116,s=s>ts?s**(1/3):7.787*s+16/116,n=n>ts?n**(1/3):7.787*n+16/116;const a=116*s-16,r=500*(e-s),o=200*(s-n);return[a,r,o]};ot.lab.xyz=function(t){const e=t[0],s=t[1],n=t[2];let a,r,o;r=(e+16)/116,a=s/500+r,o=r-n/200;const l=r**3,u=a**3,c=o**3;return r=l>ts?l:(r-16/116)/7.787,a=u>ts?u:(a-16/116)/7.787,o=c>ts?c:(o-16/116)/7.787,a*=95.047,r*=100,o*=108.883,[a,r,o]};ot.lab.lch=function(t){const e=t[0],s=t[1],n=t[2];let a;a=Math.atan2(n,s)*360/2/Math.PI,a<0&&(a+=360);const o=Math.sqrt(s*s+n*n);return[e,o,a]};ot.lch.lab=function(t){const e=t[0],s=t[1],a=t[2]/360*2*Math.PI,r=s*Math.cos(a),o=s*Math.sin(a);return[e,r,o]};ot.rgb.ansi16=function(t,e=null){const[s,n,a]=t;let r=e===null?ot.rgb.hsv(t)[2]:e;if(r=Math.round(r/50),r===0)return 30;let o=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(s/255));return r===2&&(o+=60),o};ot.hsv.ansi16=function(t){return ot.rgb.ansi16(ot.hsv.rgb(t),t[2])};ot.rgb.ansi256=function(t){const e=t[0],s=t[1],n=t[2];return e>>4===s>>4&&s>>4===n>>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(n/255*5)};ot.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,n=(e&1)*s*255,a=(e>>1&1)*s*255,r=(e>>2&1)*s*255;return[n,a,r]};ot.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,n=Math.floor((e=t%36)/6)/5*255,a=e%6/5*255;return[s,n,a]};ot.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};ot.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(l=>l+l).join(""));const n=Number.parseInt(s,16),a=n>>16&255,r=n>>8&255,o=n&255;return[a,r,o]};ot.rgb.hcg=function(t){const e=t[0]/255,s=t[1]/255,n=t[2]/255,a=Math.max(Math.max(e,s),n),r=Math.min(Math.min(e,s),n),o=a-r;let l;const u=o<1?r/(1-o):0;return o<=0?l=0:a===e?l=(s-n)/o%6:a===s?l=2+(n-e)/o:l=4+(e-s)/o,l/=6,l%=1,[l*360,o*100,u*100]};ot.hsl.hcg=function(t){const e=t[1]/100,s=t[2]/100,n=s<.5?2*e*s:2*e*(1-s);let a=0;return n<1&&(a=(s-.5*n)/(1-n)),[t[0],n*100,a*100]};ot.hsv.hcg=function(t){const e=t[1]/100,s=t[2]/100,n=e*s;let a=0;return n<1&&(a=(s-n)/(1-n)),[t[0],n*100,a*100]};ot.hcg.rgb=function(t){const e=t[0]/360,s=t[1]/100,n=t[2]/100;if(s===0)return[n*255,n*255,n*255];const a=[0,0,0],r=e%1*6,o=r%1,l=1-o;let u=0;switch(Math.floor(r)){case 0:{a[0]=1,a[1]=o,a[2]=0;break}case 1:{a[0]=l,a[1]=1,a[2]=0;break}case 2:{a[0]=0,a[1]=1,a[2]=o;break}case 3:{a[0]=0,a[1]=l,a[2]=1;break}case 4:{a[0]=o,a[1]=0,a[2]=1;break}default:a[0]=1,a[1]=0,a[2]=l}return u=(1-s)*n,[(s*a[0]+u)*255,(s*a[1]+u)*255,(s*a[2]+u)*255]};ot.hcg.hsv=function(t){const e=t[1]/100,s=t[2]/100,n=e+s*(1-e);let a=0;return n>0&&(a=e/n),[t[0],a*100,n*100]};ot.hcg.hsl=function(t){const e=t[1]/100,n=t[2]/100*(1-e)+.5*e;let a=0;return n>0&&n<.5?a=e/(2*n):n>=.5&&n<1&&(a=e/(2*(1-n))),[t[0],a*100,n*100]};ot.hcg.hwb=function(t){const e=t[1]/100,s=t[2]/100,n=e+s*(1-e);return[t[0],(n-e)*100,(1-n)*100]};ot.hwb.hcg=function(t){const e=t[1]/100,n=1-t[2]/100,a=n-e;let r=0;return a<1&&(r=(n-a)/(1-a)),[t[0],a*100,r*100]};ot.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};ot.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};ot.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};ot.gray.hsl=function(t){return[0,0,t[0]]};ot.gray.hsv=ot.gray.hsl;ot.gray.hwb=function(t){return[0,100,t[0]]};ot.gray.cmyk=function(t){return[0,0,0,t[0]]};ot.gray.lab=function(t){return[t[0],0,0]};ot.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(n.length)+n};ot.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function ah(){const t={},e=Object.keys(ot);for(let{length:s}=e,n=0;n<s;n++)t[e[n]]={distance:-1,parent:null};return t}function rh(t){const e=ah(),s=[t];for(e[t].distance=0;s.length>0;){const n=s.pop(),a=Object.keys(ot[n]);for(let{length:r}=a,o=0;o<r;o++){const l=a[o],u=e[l];u.distance===-1&&(u.distance=e[n].distance+1,u.parent=n,s.unshift(l))}}return e}function oh(t,e){return function(s){return e(t(s))}}function lh(t,e){const s=[e[t].parent,t];let n=ot[e[t].parent][t],a=e[t].parent;for(;e[a].parent;)s.unshift(e[a].parent),n=oh(ot[e[a].parent][a],n),a=e[a].parent;return n.conversion=s,n}function uh(t){const e=rh(t),s={},n=Object.keys(e);for(let{length:a}=n,r=0;r<a;r++){const o=n[r];e[o].parent!==null&&(s[o]=lh(o,e))}return s}const ke={},dh=Object.keys(ot);function ch(t){const e=function(...s){const n=s[0];return n==null?n:(n.length>1&&(s=n),t(s))};return"conversion"in t&&(e.conversion=t.conversion),e}function bh(t){const e=function(...s){const n=s[0];if(n==null)return n;n.length>1&&(s=n);const a=t(s);if(typeof a=="object")for(let{length:r}=a,o=0;o<r;o++)a[o]=Math.round(a[o]);return a};return"conversion"in t&&(e.conversion=t.conversion),e}for(const t of dh){ke[t]={},Object.defineProperty(ke[t],"channels",{value:ot[t].channels}),Object.defineProperty(ke[t],"labels",{value:ot[t].labels});const e=uh(t),s=Object.keys(e);for(const n of s){const a=e[n];ke[t][n]=bh(a),ke[t][n].raw=ch(a)}}const pm=["keyword","gray","hex"],Ol={};for(const t of Object.keys(ke))Ol[[...ke[t].labels].sort().join("")]=t;const sa={};function me(t,e){if(!(this instanceof me))return new me(t,e);if(e&&e in pm&&(e=null),e&&!(e in ke))throw new Error("Unknown model: "+e);let s,n;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof me)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const a=ve.get(t);if(a===null)throw new Error("Unable to parse color from string: "+t);this.model=a.model,n=ke[this.model].channels,this.color=a.value.slice(0,n),this.valpha=typeof a.value[n]=="number"?a.value[n]:1}else if(t.length>0){this.model=e||"rgb",n=ke[this.model].channels;const a=Array.prototype.slice.call(t,0,n);this.color=Nl(a,n),this.valpha=typeof t[n]=="number"?t[n]: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 a=Object.keys(t);"alpha"in t&&(a.splice(a.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);const r=a.sort().join("");if(!(r in Ol))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Ol[r];const{labels:o}=ke[this.model],l=[];for(s=0;s<o.length;s++)l.push(t[o[s]]);this.color=Nl(l)}if(sa[this.model])for(n=ke[this.model].channels,s=0;s<n;s++){const a=sa[this.model][s];a&&(this.color[s]=a(this.color[s]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}me.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in ve.to?this:this.rgb();e=e.round(typeof t=="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return ve.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 ve.to.rgb.percent(...s)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=ke[this.model],{labels:s}=ke[this.model];for(let n=0;n<e;n++)t[s[n]]=this.color[n];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 me([...this.color.map(mh(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new me([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:ne("rgb",0,pe(255)),green:ne("rgb",1,pe(255)),blue:ne("rgb",2,pe(255)),hue:ne(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:ne("hsl",1,pe(100)),lightness:ne("hsl",2,pe(100)),saturationv:ne("hsv",1,pe(100)),value:ne("hsv",2,pe(100)),chroma:ne("hcg",1,pe(100)),gray:ne("hcg",2,pe(100)),white:ne("hwb",1,pe(100)),wblack:ne("hwb",2,pe(100)),cyan:ne("cmyk",0,pe(100)),magenta:ne("cmyk",1,pe(100)),yellow:ne("cmyk",2,pe(100)),black:ne("cmyk",3,pe(100)),x:ne("xyz",0,pe(95.047)),y:ne("xyz",1,pe(100)),z:ne("xyz",2,pe(108.833)),l:ne("lab",0,pe(100)),a:ne("lab",1),b:ne("lab",2),keyword(t){return t!==void 0?new me(t):ke[this.model].keyword(this.color)},hex(t){return t!==void 0?new me(t):ve.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new me(t);const e=this.rgb().round().color;let s=Math.round(this.valpha*255).toString(16).toUpperCase();return s.length===1&&(s="0"+s),ve.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,n]of t.entries()){const a=n/255;e[s]=a<=.04045?a/12.92:((a+.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 me.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(),n=this.rgb(),a=e===void 0?.5:e,r=2*a-1,o=s.alpha()-n.alpha(),l=((r*o===-1?r:(r+o)/(1+r*o))+1)/2,u=1-l;return me.rgb(l*s.red()+u*n.red(),l*s.green()+u*n.green(),l*s.blue()+u*n.blue(),s.alpha()*a+n.alpha()*(1-a))}};for(const t of Object.keys(ke)){if(pm.includes(t))continue;const{channels:e}=ke[t];me.prototype[t]=function(...s){return this.model===t?new me(this):s.length>0?new me(s,t):new me([...fh(ke[this.model][t].raw(this.color)),this.valpha],t)},me[t]=function(...s){let n=s[0];return typeof n=="number"&&(n=Nl(s,e)),new me(n,t)}}function ph(t,e){return Number(t.toFixed(e))}function mh(t){return function(e){return ph(e,t)}}function ne(t,e,s){t=Array.isArray(t)?t:[t];for(const n of t)(sa[n]||(sa[n]=[]))[e]=s;return t=t[0],function(n){let a;return n!==void 0?(s&&(n=s(n)),a=this[t](),a.color[e]=n,a):(a=this[t]().color[e],s&&(a=s(a)),a)}}function pe(t){return function(e){return Math.max(0,Math.min(t,e))}}function fh(t){return Array.isArray(t)?t:[t]}function Nl(t,e){for(let s=0;s<e;s++)typeof t[s]!="number"&&(t[s]=0);return t}var Xa=function(t,e){return t<e?-1:t>e?1:0},yc=function(t){return t.reduce(function(e,s){return e+s},0)},vh=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}(),gh=function(){function t(r,o,l){return(r<<10)+(o<<5)+l}function e(r){var o=[],l=!1;function u(){o.sort(r),l=!0}return{push:function(c){o.push(c),l=!1},peek:function(c){return l||u(),c===void 0&&(c=o.length-1),o[c]},pop:function(){return l||u(),o.pop()},size:function(){return o.length},map:function(c){return o.map(c)},debug:function(){return l||u(),o}}}function s(r,o,l,u,c,d,b){var p=this;p.r1=r,p.r2=o,p.g1=l,p.g2=u,p.b1=c,p.b2=d,p.histo=b}function n(){this.vboxes=new e(function(r,o){return Xa(r.vbox.count()*r.vbox.volume(),o.vbox.count()*o.vbox.volume())})}function a(r,o){if(o.count()){var l=o.r2-o.r1+1,u=o.g2-o.g1+1,c=Math.max.apply(null,[l,u,o.b2-o.b1+1]);if(o.count()==1)return[o.copy()];var d,b,p,m,f=0,v=[],_=[];if(c==l)for(d=o.r1;d<=o.r2;d++){for(m=0,b=o.g1;b<=o.g2;b++)for(p=o.b1;p<=o.b2;p++)m+=r[t(d,b,p)]||0;v[d]=f+=m}else if(c==u)for(d=o.g1;d<=o.g2;d++){for(m=0,b=o.r1;b<=o.r2;b++)for(p=o.b1;p<=o.b2;p++)m+=r[t(b,d,p)]||0;v[d]=f+=m}else for(d=o.b1;d<=o.b2;d++){for(m=0,b=o.r1;b<=o.r2;b++)for(p=o.g1;p<=o.g2;p++)m+=r[t(b,p,d)]||0;v[d]=f+=m}return v.forEach(function(g,h){_[h]=f-g}),function(g){var h,y,k,w,P,A=g+"1",E=g+"2",S=0;for(d=o[A];d<=o[E];d++)if(v[d]>f/2){for(k=o.copy(),w=o.copy(),P=(h=d-o[A])<=(y=o[E]-d)?Math.min(o[E]-1,~~(d+y/2)):Math.max(o[A],~~(d-1-h/2));!v[P];)P++;for(S=_[P];!S&&v[P-1];)S=_[--P];return k[E]=P,w[A]=k[E]+1,[k,w]}}(c==l?"r":c==u?"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,l=o.histo;if(!o._count_set||r){var u,c,d,b=0;for(u=o.r1;u<=o.r2;u++)for(c=o.g1;c<=o.g2;c++)for(d=o.b1;d<=o.b2;d++)b+=l[t(u,c,d)]||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,l=o.histo;if(!o._avg||r){var u,c,d,b,p=0,m=0,f=0,v=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(c=o.r1;c<=o.r2;c++)for(d=o.g1;d<=o.g2;d++)for(b=o.b1;b<=o.b2;b++)p+=u=l[t(c,d,b)]||0,m+=u*(c+.5)*8,f+=u*(d+.5)*8,v+=u*(b+.5)*8;o._avg=p?[~~(m/p),~~(f/p),~~(v/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,l=r[0]>>3;return gval=r[1]>>3,bval=r[2]>>3,l>=o.r1&&l<=o.r2&&gval>=o.g1&&gval<=o.g2&&bval>=o.b1&&bval<=o.b2}},n.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,l=0;l<o.size();l++)if(o.peek(l).vbox.contains(r))return o.peek(l).color;return this.nearest(r)},nearest:function(r){for(var o,l,u,c=this.vboxes,d=0;d<c.size();d++)((l=Math.sqrt(Math.pow(r[0]-c.peek(d).color[0],2)+Math.pow(r[1]-c.peek(d).color[1],2)+Math.pow(r[2]-c.peek(d).color[2],2)))<o||o===void 0)&&(o=l,u=c.peek(d).color);return u},forcebw:function(){var r=this.vboxes;r.sort(function(c,d){return Xa(yc(c.color),yc(d.color))});var o=r[0].color;o[0]<5&&o[1]<5&&o[2]<5&&(r[0].color=[0,0,0]);var l=r.length-1,u=r[l].color;u[0]>251&&u[1]>251&&u[2]>251&&(r[l].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 l=[],u=new Set,c=0;c<r.length;c++){var d=r[c],b=d.join(",");u.has(b)||(u.add(b),l.push(d))}if(l.length<=o)return new vh(l);var p=function(h){var y,k=new Array(32768);return h.forEach(function(w){y=t(w[0]>>3,w[1]>>3,w[2]>>3),k[y]=(k[y]||0)+1}),k}(r);p.forEach(function(){});var m=function(h,y){var k,w,P,A=1e6,E=0,S=1e6,L=0,N=1e6,M=0;return h.forEach(function(x){(k=x[0]>>3)<A?A=k:k>E&&(E=k),(w=x[1]>>3)<S?S=w:w>L&&(L=w),(P=x[2]>>3)<N?N=P:P>M&&(M=P)}),new s(A,E,S,L,N,M,y)}(r,p),f=new e(function(h,y){return Xa(h.count(),y.count())});function v(h,y){for(var k,w=h.size(),P=0;P<1e3;){if(w>=y||P++>1e3)return;if((k=h.pop()).count()){var A=a(p,k),E=A[0],S=A[1];if(!E)return;h.push(E),S&&(h.push(S),w++)}else h.push(k),P++}}f.push(m),v(f,.75*o);for(var _=new e(function(h,y){return Xa(h.count()*h.volume(),y.count()*y.volume())});f.size();)_.push(f.pop());v(_,o);for(var g=new n;_.size();)g.push(_.pop());return g}}}().quantize,mm=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)};mm.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)};var Js=function(){};Js.prototype.getColor=function(t,e){return e===void 0&&(e=10),this.getPalette(t,5,e)[0]},Js.prototype.getPalette=function(t,e,s){var n=function(l){var u=l.colorCount,c=l.quality;if(u!==void 0&&Number.isInteger(u)){if(u===1)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");u=Math.max(u,2),u=Math.min(u,20)}else u=10;return(c===void 0||!Number.isInteger(c)||c<1)&&(c=10),{colorCount:u,quality:c}}({colorCount:e,quality:s}),a=new mm(t),r=function(l,u,c){for(var d,b,p,m,f,v=l,_=[],g=0;g<u;g+=c)b=v[0+(d=4*g)],p=v[d+1],m=v[d+2],((f=v[d+3])===void 0||f>=125)&&(b>250&&p>250&&m>250||_.push([b,p,m]));return _}(a.getImageData().data,a.width*a.height,n.quality),o=gh(r,n.colorCount);return o?o.palette():null},Js.prototype.getColorFromUrl=function(t,e,s){var n=this,a=document.createElement("img");a.addEventListener("load",function(){var r=n.getPalette(a,5,s);e(r[0],t)}),a.src=t},Js.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 n=new Uint8Array(this.response);i=n.length;for(var a=new Array(i),r=0;r<n.length;r++)a[r]=String.fromCharCode(n[r]);var o=a.join(""),l=window.btoa(o);e("data:image/png;base64,"+l)}},s.send()},Js.prototype.getColorAsync=function(t,e,s){var n=this;this.getImageData(t,function(a){var r=document.createElement("img");r.addEventListener("load",function(){var o=n.getPalette(r,5,s);e(o[0],this)}),r.src=a})};function hh(t){return{all:t=t||new Map,on:function(e,s){var n=t.get(e);n?n.push(s):t.set(e,[s])},off:function(e,s){var n=t.get(e);n&&(s?n.splice(n.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var n=t.get(e);n&&n.slice().map(function(a){a(s)}),(n=t.get("*"))&&n.slice().map(function(a){a(e,s)})}}}const ma=hh(),_h="modulepreload",yh=function(t,e){return new URL(t,e).href},kc={},qt=function(e,s,n){let a=Promise.resolve();if(s&&s.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));a=Promise.allSettled(s.map(c=>{if(c=yh(c,n),c in kc)return;kc[c]=!0;const d=c.endsWith(".css"),b=d?'[rel="stylesheet"]':"";if(!!n)for(let f=o.length-1;f>=0;f--){const v=o[f];if(v.href===c&&(!d||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${b}`))return;const m=document.createElement("link");if(m.rel=d?"stylesheet":_h,d||(m.as="script"),m.crossOrigin="",m.href=c,u&&m.setAttribute("nonce",u),document.head.appendChild(m),d)return new Promise((f,v)=>{m.addEventListener("load",f),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return a.then(o=>{for(const l of o||[])l.status==="rejected"&&r(l.reason);return e().catch(r)})};/*!
|
|
74
74
|
* vue-router v4.5.0
|
|
75
75
|
* (c) 2024 Eduardo San Martin Morote
|
|
76
76
|
* @license MIT
|
|
77
|
-
*/const Ns=typeof document<"u";function N0(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Yg(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&N0(t.default)}const St=Object.assign;function ho(t,e){const s={};for(const n in e){const a=e[n];s[n]=ni(a)?a.map(t):t(a)}return s}const Nn=()=>{},ni=Array.isArray,B0=/#/g,Zg=/&/g,Qg=/\//g,Jg=/=/g,t_=/\?/g,q0=/\+/g,e_=/%5B/g,i_=/%5D/g,G0=/%5E/g,s_=/%60/g,F0=/%7B/g,n_=/%7C/g,V0=/%7D/g,a_=/%20/g;function Sd(t){return encodeURI(""+t).replace(n_,"|").replace(e_,"[").replace(i_,"]")}function r_(t){return Sd(t).replace(F0,"{").replace(V0,"}").replace(G0,"^")}function cl(t){return Sd(t).replace(q0,"%2B").replace(a_,"+").replace(B0,"%23").replace(Zg,"%26").replace(s_,"`").replace(F0,"{").replace(V0,"}").replace(G0,"^")}function o_(t){return cl(t).replace(Jg,"%3D")}function l_(t){return Sd(t).replace(B0,"%23").replace(t_,"%3F")}function d_(t){return t==null?"":l_(t).replace(Qg,"%2F")}function Qn(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const u_=/\/$/,c_=t=>t.replace(u_,"");function yo(t,e,s="/"){let n,a={},r="",o="";const l=e.indexOf("#");let d=e.indexOf("?");return l<d&&l>=0&&(d=-1),d>-1&&(n=e.slice(0,d),r=e.slice(d+1,l>-1?l:e.length),a=t(r)),l>-1&&(n=n||e.slice(0,l),o=e.slice(l,e.length)),n=f_(n??e,s),{fullPath:n+(r&&"?")+r+o,path:n,query:a,hash:Qn(o)}}function b_(t,e){const s=e.query?t(e.query):"";return e.path+(s&&"?")+s+(e.hash||"")}function $u(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function p_(t,e,s){const n=e.matched.length-1,a=s.matched.length-1;return n>-1&&n===a&&en(e.matched[n],s.matched[a])&&H0(e.params,s.params)&&t(e.query)===t(s.query)&&e.hash===s.hash}function en(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function H0(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(!m_(t[s],e[s]))return!1;return!0}function m_(t,e){return ni(t)?Ku(t,e):ni(e)?Ku(e,t):t===e}function Ku(t,e){return ni(e)?t.length===e.length&&t.every((s,n)=>s===e[n]):t.length===1&&t[0]===e}function f_(t,e){if(t.startsWith("/"))return t;if(!t)return e;const s=e.split("/"),n=t.split("/"),a=n[n.length-1];(a===".."||a===".")&&n.push("");let r=s.length-1,o,l;for(o=0;o<n.length;o++)if(l=n[o],l!==".")if(l==="..")r>1&&r--;else break;return s.slice(0,r).join("/")+"/"+n.slice(o).join("/")}const Vi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Jn;(function(t){t.pop="pop",t.push="push"})(Jn||(Jn={}));var Bn;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Bn||(Bn={}));function v_(t){if(!t)if(Ns){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),c_(t)}const g_=/^[^#]+#/;function __(t,e){return t.replace(g_,"#")+e}function h_(t,e){const s=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-s.left-(e.left||0),top:n.top-s.top-(e.top||0)}}const Vr=()=>({left:window.scrollX,top:window.scrollY});function y_(t){let e;if("el"in t){const s=t.el,n=typeof s=="string"&&s.startsWith("#"),a=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!a)return;e=h_(a,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 Xu(t,e){return(history.state?history.state.position-e:-1)+t}const bl=new Map;function k_(t,e){bl.set(t,e)}function w_(t){const e=bl.get(t);return bl.delete(t),e}let S_=()=>location.protocol+"//"+location.host;function U0(t,e){const{pathname:s,search:n,hash:a}=e,r=t.indexOf("#");if(r>-1){let l=a.includes(t.slice(r))?t.slice(r).length:1,d=a.slice(l);return d[0]!=="/"&&(d="/"+d),$u(d,"")}return $u(s,t)+n+a}function z_(t,e,s,n){let a=[],r=[],o=null;const l=({state:p})=>{const m=U0(t,location),f=s.value,v=e.value;let k=0;if(p){if(s.value=m,e.value=p,o&&o===f){o=null;return}k=v?p.position-v.position:0}else n(m);a.forEach(h=>{h(s.value,f,{delta:k,type:Jn.pop,direction:k?k>0?Bn.forward:Bn.back:Bn.unknown})})};function d(){o=s.value}function c(p){a.push(p);const m=()=>{const f=a.indexOf(p);f>-1&&a.splice(f,1)};return r.push(m),m}function u(){const{history:p}=window;p.state&&p.replaceState(St({},p.state,{scroll:Vr()}),"")}function b(){for(const p of r)p();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:d,listen:c,destroy:b}}function Yu(t,e,s,n=!1,a=!1){return{back:t,current:e,forward:s,replaced:n,position:window.history.length,scroll:a?Vr():null}}function T_(t){const{history:e,location:s}=window,n={value:U0(t,s)},a={value:e.state};a.value||r(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(d,c,u){const b=t.indexOf("#"),p=b>-1?(s.host&&document.querySelector("base")?t:t.slice(b))+d:S_()+t+d;try{e[u?"replaceState":"pushState"](c,"",p),a.value=c}catch(m){console.error(m),s[u?"replace":"assign"](p)}}function o(d,c){const u=St({},e.state,Yu(a.value.back,d,a.value.forward,!0),c,{position:a.value.position});r(d,u,!0),n.value=d}function l(d,c){const u=St({},a.value,e.state,{forward:d,scroll:Vr()});r(u.current,u,!0);const b=St({},Yu(n.value,d,null),{position:u.position+1},c);r(d,b,!1),n.value=d}return{location:n,state:a,push:l,replace:o}}function A_(t){t=v_(t);const e=T_(t),s=z_(t,e.state,e.location,e.replace);function n(r,o=!0){o||s.pauseListeners(),history.go(r)}const a=St({location:"",base:t,go:n,createHref:__.bind(null,t)},e,s);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>e.state.value}),a}function P_(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),A_(t)}function E_(t){return typeof t=="string"||t&&typeof t=="object"}function W0(t){return typeof t=="string"||typeof t=="symbol"}const $0=Symbol("");var Zu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Zu||(Zu={}));function sn(t,e){return St(new Error,{type:t,[$0]:!0},e)}function Ti(t,e){return t instanceof Error&&$0 in t&&(e==null||!!(t.type&e))}const Qu="[^/]+?",j_={sensitive:!1,strict:!1,start:!0,end:!0},C_=/[.+*?^${}()[\]/\\]/g;function x_(t,e){const s=St({},j_,e),n=[];let a=s.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];s.strict&&!c.length&&(a+="/");for(let b=0;b<c.length;b++){const p=c[b];let m=40+(s.sensitive?.25:0);if(p.type===0)b||(a+="/"),a+=p.value.replace(C_,"\\$&"),m+=40;else if(p.type===1){const{value:f,repeatable:v,optional:k,regexp:h}=p;r.push({name:f,repeatable:v,optional:k});const g=h||Qu;if(g!==Qu){m+=10;try{new RegExp(`(${g})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${f}" (${g}): `+y.message)}}let _=v?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;b||(_=k&&c.length<2?`(?:/${_})`:"/"+_),k&&(_+="?"),a+=_,m+=20,k&&(m+=-8),v&&(m+=-20),g===".*"&&(m+=-50)}u.push(m)}n.push(u)}if(s.strict&&s.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}s.strict||(a+="/?"),s.end?a+="$":s.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const o=new RegExp(a,s.sensitive?"":"i");function l(c){const u=c.match(o),b={};if(!u)return null;for(let p=1;p<u.length;p++){const m=u[p]||"",f=r[p-1];b[f.name]=m&&f.repeatable?m.split("/"):m}return b}function d(c){let u="",b=!1;for(const p of t){(!b||!u.endsWith("/"))&&(u+="/"),b=!1;for(const m of p)if(m.type===0)u+=m.value;else if(m.type===1){const{value:f,repeatable:v,optional:k}=m,h=f in c?c[f]:"";if(ni(h)&&!v)throw new Error(`Provided param "${f}" is an array but it is not repeatable (* or + modifiers)`);const g=ni(h)?h.join("/"):h;if(!g)if(k)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):b=!0);else throw new Error(`Missing required param "${f}"`);u+=g}}return u||"/"}return{re:o,score:n,keys:r,parse:l,stringify:d}}function M_(t,e){let s=0;for(;s<t.length&&s<e.length;){const n=e[s]-t[s];if(n)return n;s++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function K0(t,e){let s=0;const n=t.score,a=e.score;for(;s<n.length&&s<a.length;){const r=M_(n[s],a[s]);if(r)return r;s++}if(Math.abs(a.length-n.length)===1){if(Ju(n))return 1;if(Ju(a))return-1}return a.length-n.length}function Ju(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const L_={type:0,value:""},D_=/[a-zA-Z0-9_]/;function I_(t){if(!t)return[[]];if(t==="/")return[[L_]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${s})/"${c}": ${m}`)}let s=0,n=s;const a=[];let r;function o(){r&&a.push(r),r=[]}let l=0,d,c="",u="";function b(){c&&(s===0?r.push({type:0,value:c}):s===1||s===2||s===3?(r.length>1&&(d==="*"||d==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):e("Invalid state to consume buffer"),c="")}function p(){c+=d}for(;l<t.length;){if(d=t[l++],d==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:d==="/"?(c&&b(),o()):d===":"?(b(),s=1):p();break;case 4:p(),s=n;break;case 1:d==="("?s=2:D_.test(d)?p():(b(),s=0,d!=="*"&&d!=="?"&&d!=="+"&&l--);break;case 2:d===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+d:s=3:u+=d;break;case 3:b(),s=0,d!=="*"&&d!=="?"&&d!=="+"&&l--,u="";break;default:e("Unknown state");break}}return s===2&&e(`Unfinished custom RegExp for param "${c}"`),b(),o(),a}function R_(t,e,s){const n=x_(I_(t.path),s),a=St(n,{record:t,parent:e,children:[],alias:[]});return e&&!a.record.aliasOf==!e.record.aliasOf&&e.children.push(a),a}function O_(t,e){const s=[],n=new Map;e=sc({strict:!1,end:!0,sensitive:!1},e);function a(b){return n.get(b)}function r(b,p,m){const f=!m,v=ec(b);v.aliasOf=m&&m.record;const k=sc(e,b),h=[v];if("alias"in b){const y=typeof b.alias=="string"?[b.alias]:b.alias;for(const w of y)h.push(ec(St({},v,{components:m?m.record.components:v.components,path:w,aliasOf:m?m.record:v})))}let g,_;for(const y of h){const{path:w}=y;if(p&&w[0]!=="/"){const P=p.record.path,E=P[P.length-1]==="/"?"":"/";y.path=p.record.path+(w&&E+w)}if(g=R_(y,p,k),m?m.alias.push(g):(_=_||g,_!==g&&_.alias.push(g),f&&b.name&&!ic(g)&&o(b.name)),X0(g)&&d(g),v.children){const P=v.children;for(let E=0;E<P.length;E++)r(P[E],g,m&&m.children[E])}m=m||g}return _?()=>{o(_)}:Nn}function o(b){if(W0(b)){const p=n.get(b);p&&(n.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&&n.delete(b.record.name),b.children.forEach(o),b.alias.forEach(o))}}function l(){return s}function d(b){const p=q_(b,s);s.splice(p,0,b),b.record.name&&!ic(b)&&n.set(b.record.name,b)}function c(b,p){let m,f={},v,k;if("name"in b&&b.name){if(m=n.get(b.name),!m)throw sn(1,{location:b});k=m.record.name,f=St(tc(p.params,m.keys.filter(_=>!_.optional).concat(m.parent?m.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),b.params&&tc(b.params,m.keys.map(_=>_.name))),v=m.stringify(f)}else if(b.path!=null)v=b.path,m=s.find(_=>_.re.test(v)),m&&(f=m.parse(v),k=m.record.name);else{if(m=p.name?n.get(p.name):s.find(_=>_.re.test(p.path)),!m)throw sn(1,{location:b,currentLocation:p});k=m.record.name,f=St({},p.params,b.params),v=m.stringify(f)}const h=[];let g=m;for(;g;)h.unshift(g.record),g=g.parent;return{name:k,path:v,params:f,matched:h,meta:B_(h)}}t.forEach(b=>r(b));function u(){s.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:l,getRecordMatcher:a}}function tc(t,e){const s={};for(const n of e)n in t&&(s[n]=t[n]);return s}function ec(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:N_(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 N_(t){const e={},s=t.props||!1;if("component"in t)e.default=s;else for(const n in t.components)e[n]=typeof s=="object"?s[n]:s;return e}function ic(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function B_(t){return t.reduce((e,s)=>St(e,s.meta),{})}function sc(t,e){const s={};for(const n in t)s[n]=n in e?e[n]:t[n];return s}function q_(t,e){let s=0,n=e.length;for(;s!==n;){const r=s+n>>1;K0(t,e[r])<0?n=r:s=r+1}const a=G_(t);return a&&(n=e.lastIndexOf(a,n-1)),n}function G_(t){let e=t;for(;e=e.parent;)if(X0(e)&&K0(t,e)===0)return e}function X0({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function F_(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;a<n.length;++a){const r=n[a].replace(q0," "),o=r.indexOf("="),l=Qn(o<0?r:r.slice(0,o)),d=o<0?null:Qn(r.slice(o+1));if(l in e){let c=e[l];ni(c)||(c=e[l]=[c]),c.push(d)}else e[l]=d}return e}function nc(t){let e="";for(let s in t){const n=t[s];if(s=o_(s),n==null){n!==void 0&&(e+=(e.length?"&":"")+s);continue}(ni(n)?n.map(r=>r&&cl(r)):[n&&cl(n)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+s,r!=null&&(e+="="+r))})}return e}function V_(t){const e={};for(const s in t){const n=t[s];n!==void 0&&(e[s]=ni(n)?n.map(a=>a==null?null:""+a):n==null?n:""+n)}return e}const H_=Symbol(""),ac=Symbol(""),Hr=Symbol(""),zd=Symbol(""),pl=Symbol("");function kn(){let t=[];function e(n){return t.push(n),()=>{const a=t.indexOf(n);a>-1&&t.splice(a,1)}}function s(){t=[]}return{add:e,list:()=>t.slice(),reset:s}}function Xi(t,e,s,n,a,r=o=>o()){const o=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((l,d)=>{const c=p=>{p===!1?d(sn(4,{from:s,to:e})):p instanceof Error?d(p):E_(p)?d(sn(2,{from:e,to:p})):(o&&n.enterCallbacks[a]===o&&typeof p=="function"&&o.push(p),l())},u=r(()=>t.call(n&&n.instances[a],e,s,c));let b=Promise.resolve(u);t.length<3&&(b=b.then(c)),b.catch(p=>d(p))})}function ko(t,e,s,n,a=r=>r()){const r=[];for(const o of t)for(const l in o.components){let d=o.components[l];if(!(e!=="beforeRouteEnter"&&!o.instances[l]))if(N0(d)){const u=(d.__vccOpts||d)[e];u&&r.push(Xi(u,s,n,o,l,a))}else{let c=d();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const b=Yg(u)?u.default:u;o.mods[l]=u,o.components[l]=b;const m=(b.__vccOpts||b)[e];return m&&Xi(m,s,n,o,l,a)()}))}}return r}function rc(t){const e=Dt(Hr),s=Dt(zd),n=F(()=>{const d=qt(t.to);return e.resolve(d)}),a=F(()=>{const{matched:d}=n.value,{length:c}=d,u=d[c-1],b=s.matched;if(!u||!b.length)return-1;const p=b.findIndex(en.bind(null,u));if(p>-1)return p;const m=oc(d[c-2]);return c>1&&oc(u)===m&&b[b.length-1].path!==m?b.findIndex(en.bind(null,d[c-2])):p}),r=F(()=>a.value>-1&&X_(s.params,n.value.params)),o=F(()=>a.value>-1&&a.value===s.matched.length-1&&H0(s.params,n.value.params));function l(d={}){if(K_(d)){const c=e[qt(t.replace)?"replace":"push"](qt(t.to)).catch(Nn);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:n,href:F(()=>n.value.href),isActive:r,isExactActive:o,navigate:l}}function U_(t){return t.length===1?t[0]:t}const W_=Bi({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"}},useLink:rc,setup(t,{slots:e}){const s=ae(rc(t)),{options:n}=Dt(Hr),a=F(()=>({[lc(t.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[lc(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=e.default&&U_(e.default(s));return t.custom?r:Ht("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:a.value},r)}}}),$_=W_;function K_(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 X_(t,e){for(const s in e){const n=e[s],a=t[s];if(typeof n=="string"){if(n!==a)return!1}else if(!ni(a)||a.length!==n.length||n.some((r,o)=>r!==a[o]))return!1}return!0}function oc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const lc=(t,e,s)=>t??e??s,Y_=Bi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:s}){const n=Dt(pl),a=F(()=>t.route||n.value),r=Dt(ac,0),o=F(()=>{let c=qt(r);const{matched:u}=a.value;let b;for(;(b=u[c])&&!b.components;)c++;return c}),l=F(()=>a.value.matched[o.value]);je(ac,F(()=>o.value+1)),je(H_,l),je(pl,a);const d=st();return ht(()=>[d.value,l.value,t.name],([c,u,b],[p,m,f])=>{u&&(u.instances[b]=c,m&&m!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!en(u,m)||!p)&&(u.enterCallbacks[b]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=a.value,u=t.name,b=l.value,p=b&&b.components[u];if(!p)return dc(s.default,{Component:p,route:c});const m=b.props[u],f=m?m===!0?c.params:typeof m=="function"?m(c):m:null,k=Ht(p,St({},f,e,{onVnodeUnmounted:h=>{h.component.isUnmounted&&(b.instances[u]=null)},ref:d}));return dc(s.default,{Component:k,route:c})||k}}});function dc(t,e){if(!t)return null;const s=t(e);return s.length===1?s[0]:s}const Z_=Y_;function Q_(t){const e=O_(t.routes,t),s=t.parseQuery||F_,n=t.stringifyQuery||nc,a=t.history,r=kn(),o=kn(),l=kn(),d=At(Vi);let c=Vi;Ns&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ho.bind(null,G=>""+G),b=ho.bind(null,d_),p=ho.bind(null,Qn);function m(G,Y){let K,Q;return W0(G)?(K=e.getRecordMatcher(G),Q=Y):Q=G,e.addRoute(Q,K)}function f(G){const Y=e.getRecordMatcher(G);Y&&e.removeRoute(Y)}function v(){return e.getRoutes().map(G=>G.record)}function k(G){return!!e.getRecordMatcher(G)}function h(G,Y){if(Y=St({},Y||d.value),typeof G=="string"){const R=yo(s,G,Y.path),H=e.resolve({path:R.path},Y),W=a.createHref(R.fullPath);return St(R,H,{params:p(H.params),hash:Qn(R.hash),redirectedFrom:void 0,href:W})}let K;if(G.path!=null)K=St({},G,{path:yo(s,G.path,Y.path).path});else{const R=St({},G.params);for(const H in R)R[H]==null&&delete R[H];K=St({},G,{params:b(R)}),Y.params=b(Y.params)}const Q=e.resolve(K,Y),yt=G.hash||"";Q.params=u(p(Q.params));const A=b_(n,St({},G,{hash:r_(yt),path:Q.path})),C=a.createHref(A);return St({fullPath:A,hash:yt,query:n===nc?V_(G.query):G.query||{}},Q,{redirectedFrom:void 0,href:C})}function g(G){return typeof G=="string"?yo(s,G,d.value.path):St({},G)}function _(G,Y){if(c!==G)return sn(8,{from:Y,to:G})}function y(G){return E(G)}function w(G){return y(St(g(G),{replace:!0}))}function P(G){const Y=G.matched[G.matched.length-1];if(Y&&Y.redirect){const{redirect:K}=Y;let Q=typeof K=="function"?K(G):K;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=g(Q):{path:Q},Q.params={}),St({query:G.query,hash:G.hash,params:Q.path!=null?{}:G.params},Q)}}function E(G,Y){const K=c=h(G),Q=d.value,yt=G.state,A=G.force,C=G.replace===!0,R=P(K);if(R)return E(St(g(R),{state:typeof R=="object"?St({},yt,R.state):yt,force:A,replace:C}),Y||K);const H=K;H.redirectedFrom=Y;let W;return!A&&p_(n,Q,K)&&(W=sn(16,{to:H,from:Q}),Mt(Q,Q,!0,!1)),(W?Promise.resolve(W):L(H,Q)).catch(U=>Ti(U)?Ti(U,2)?U:Et(U):at(U,H,Q)).then(U=>{if(U){if(Ti(U,2))return E(St({replace:C},g(U.to),{state:typeof U.to=="object"?St({},yt,U.to.state):yt,force:A}),Y||H)}else U=x(H,Q,!0,C,yt);return O(H,Q,U),U})}function j(G,Y){const K=_(G,Y);return K?Promise.reject(K):Promise.resolve()}function z(G){const Y=vt.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(G):G()}function L(G,Y){let K;const[Q,yt,A]=J_(G,Y);K=ko(Q.reverse(),"beforeRouteLeave",G,Y);for(const R of Q)R.leaveGuards.forEach(H=>{K.push(Xi(H,G,Y))});const C=j.bind(null,G,Y);return K.push(C),pt(K).then(()=>{K=[];for(const R of r.list())K.push(Xi(R,G,Y));return K.push(C),pt(K)}).then(()=>{K=ko(yt,"beforeRouteUpdate",G,Y);for(const R of yt)R.updateGuards.forEach(H=>{K.push(Xi(H,G,Y))});return K.push(C),pt(K)}).then(()=>{K=[];for(const R of A)if(R.beforeEnter)if(ni(R.beforeEnter))for(const H of R.beforeEnter)K.push(Xi(H,G,Y));else K.push(Xi(R.beforeEnter,G,Y));return K.push(C),pt(K)}).then(()=>(G.matched.forEach(R=>R.enterCallbacks={}),K=ko(A,"beforeRouteEnter",G,Y,z),K.push(C),pt(K))).then(()=>{K=[];for(const R of o.list())K.push(Xi(R,G,Y));return K.push(C),pt(K)}).catch(R=>Ti(R,8)?R:Promise.reject(R))}function O(G,Y,K){l.list().forEach(Q=>z(()=>Q(G,Y,K)))}function x(G,Y,K,Q,yt){const A=_(G,Y);if(A)return A;const C=Y===Vi,R=Ns?history.state:{};K&&(Q||C?a.replace(G.fullPath,St({scroll:C&&R&&R.scroll},yt)):a.push(G.fullPath,yt)),d.value=G,Mt(G,Y,K,C),Et()}let M;function V(){M||(M=a.listen((G,Y,K)=>{if(!Me.listening)return;const Q=h(G),yt=P(Q);if(yt){E(St(yt,{replace:!0,force:!0}),Q).catch(Nn);return}c=Q;const A=d.value;Ns&&k_(Xu(A.fullPath,K.delta),Vr()),L(Q,A).catch(C=>Ti(C,12)?C:Ti(C,2)?(E(St(g(C.to),{force:!0}),Q).then(R=>{Ti(R,20)&&!K.delta&&K.type===Jn.pop&&a.go(-1,!1)}).catch(Nn),Promise.reject()):(K.delta&&a.go(-K.delta,!1),at(C,Q,A))).then(C=>{C=C||x(Q,A,!1),C&&(K.delta&&!Ti(C,8)?a.go(-K.delta,!1):K.type===Jn.pop&&Ti(C,20)&&a.go(-1,!1)),O(Q,A,C)}).catch(Nn)}))}let X=kn(),J=kn(),dt;function at(G,Y,K){Et(G);const Q=J.list();return Q.length?Q.forEach(yt=>yt(G,Y,K)):console.error(G),Promise.reject(G)}function _t(){return dt&&d.value!==Vi?Promise.resolve():new Promise((G,Y)=>{X.add([G,Y])})}function Et(G){return dt||(dt=!G,V(),X.list().forEach(([Y,K])=>G?K(G):Y()),X.reset()),G}function Mt(G,Y,K,Q){const{scrollBehavior:yt}=t;if(!Ns||!yt)return Promise.resolve();const A=!K&&w_(Xu(G.fullPath,0))||(Q||!K)&&history.state&&history.state.scroll||null;return oi().then(()=>yt(G,Y,A)).then(C=>C&&y_(C)).catch(C=>at(C,G,Y))}const Ot=G=>a.go(G);let ue;const vt=new Set,Me={currentRoute:d,listening:!0,addRoute:m,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:k,getRoutes:v,resolve:h,options:t,push:y,replace:w,go:Ot,back:()=>Ot(-1),forward:()=>Ot(1),beforeEach:r.add,beforeResolve:o.add,afterEach:l.add,onError:J.add,isReady:_t,install(G){const Y=this;G.component("RouterLink",$_),G.component("RouterView",Z_),G.config.globalProperties.$router=Y,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>qt(d)}),Ns&&!ue&&d.value===Vi&&(ue=!0,y(a.location).catch(yt=>{}));const K={};for(const yt in Vi)Object.defineProperty(K,yt,{get:()=>d.value[yt],enumerable:!0});G.provide(Hr,Y),G.provide(zd,wp(K)),G.provide(pl,d);const Q=G.unmount;vt.add(G),G.unmount=function(){vt.delete(G),vt.size<1&&(c=Vi,M&&M(),M=null,d.value=Vi,ue=!1,dt=!1),Q()}}};function pt(G){return G.reduce((Y,K)=>Y.then(()=>z(K)),Promise.resolve())}return Me}function J_(t,e){const s=[],n=[],a=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const l=e.matched[o];l&&(t.matched.find(c=>en(c,l))?n.push(l):s.push(l));const d=t.matched[o];d&&(e.matched.find(c=>en(c,d))||a.push(d))}return[s,n,a]}function BA(){return Dt(Hr)}function qA(t){return Dt(zd)}const th=[{path:"/",component:()=>jt(()=>import("./Default-bLlwsXLK.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:()=>jt(()=>import("./HomeView-BcW-g3v1.js"),__vite__mapDeps([35,36,2,37,38,39,40,41,8,9,10,11,3,4,12,13,30,23,24,31,42,15,16,14,17,43,44,45,46]),import.meta.url)},{path:"/search",name:"search",component:()=>jt(()=>import("./Search-lmIxKOrG.js"),__vite__mapDeps([47,40,41,8,9,10,11,3,4,12,2,13,30,23,24,31,42,15,16,14,17,43,44,45,48,1,5,49,38,36,37,39,50,51,20,7,21,52,28,29,53]),import.meta.url),props:!0},{path:"/browse",name:"browse",component:()=>jt(()=>import("./BrowseView-Do9MTwYP.js"),__vite__mapDeps([54,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53]),import.meta.url),props:t=>({...t.query})},{path:"/artists",children:[{path:"",name:"artists",component:()=>jt(()=>import("./LibraryArtists-DfTrZL0k.js"),__vite__mapDeps([55,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"artist",component:()=>jt(()=>import("./ArtistDetails-B9SOtN4O.js"),__vite__mapDeps([56,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53,57,26,27,18,19,58,59,60]),import.meta.url),props:!0}]},{path:"/albums",children:[{path:"",name:"albums",component:()=>jt(()=>import("./LibraryAlbums-muyEMAlr.js"),__vite__mapDeps([61,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"album",component:()=>jt(()=>import("./AlbumDetails-CQ_fli0i.js"),__vite__mapDeps([62,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53,57,26,27,18,19,58,59,60]),import.meta.url),props:!0}]},{path:"/tracks",children:[{path:"",name:"tracks",component:()=>jt(()=>import("./LibraryTracks-BCQBs6UW.js"),__vite__mapDeps([63,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53,64,18,19]),import.meta.url),props:!0},{path:":provider/:itemId",name:"track",component:()=>jt(()=>import("./TrackDetails-E57VFfrv.js"),__vite__mapDeps([65,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53,57,26,27,18,19,58]),import.meta.url),props:t=>({...t.params,...t.query})}]},{path:"/playlists",children:[{path:"",name:"playlists",component:()=>jt(()=>import("./LibraryPlaylists-D90y8nAA.js"),__vite__mapDeps([66,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"playlist",component:()=>jt(()=>import("./PlaylistDetails-Qmubuvq6.js"),__vite__mapDeps([67,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53,57,26,27,18,19,58]),import.meta.url),props:!0}]},{path:"/podcasts",children:[{path:"",name:"podcasts",component:()=>jt(()=>import("./LibraryPodcasts-ODlej9hl.js"),__vite__mapDeps([68,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"podcast",component:()=>jt(()=>import("./PodcastDetails-DJbSXCVa.js"),__vite__mapDeps([69,57,9,10,8,11,3,4,12,2,13,14,15,16,17,26,27,18,19,7,1,5,36,37,38,39,58,48,30,23,24,31,41,42,49,50,51,20,21,52,28,29,43,44,53]),import.meta.url),props:!0}]},{path:"/audiobooks",children:[{path:"",name:"audiobooks",component:()=>jt(()=>import("./LibraryAudiobooks-CshAOHqY.js"),__vite__mapDeps([70,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53]),import.meta.url),props:!0},{path:":provider/:itemId",name:"audiobook",component:()=>jt(()=>import("./AudiobookDetails-CLGxKtzj.js"),__vite__mapDeps([71,57,9,10,8,11,3,4,12,2,13,14,15,16,17,26,27,18,19,7,1,5,36,37,38,39,58]),import.meta.url),props:!0}]},{path:"/radios",children:[{path:"",name:"radios",component:()=>jt(()=>import("./LibraryRadios-DrSYuFzK.js"),__vite__mapDeps([72,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53,64,18,19]),import.meta.url),props:!0},{path:":provider/:itemId",name:"radio",component:()=>jt(()=>import("./RadioDetails-BpvtKQ7v.js"),__vite__mapDeps([73,48,8,9,10,11,3,4,12,2,13,1,5,30,23,24,31,41,42,49,38,36,37,39,14,15,16,17,50,51,20,7,21,52,28,29,43,44,53,57,26,27,18,19,58]),import.meta.url),props:!0}]},{path:"/settings",name:"settings",component:()=>jt(()=>import("./Settings-CmL8LWDA.js"),__vite__mapDeps([74,14,15,16,3,4,2,17]),import.meta.url),props:!0,children:[{path:"providers",name:"providersettings",component:()=>jt(()=>import("./Providers-CkTJwZVA.js"),__vite__mapDeps([75,9,10,1,2,3,4,5,36,37,38,39,15,16,43,44,76]),import.meta.url),props:!0},{path:"players",name:"playersettings",component:()=>jt(()=>import("./Players-WTry5vGz.js"),__vite__mapDeps([77,9,10,1,2,3,4,5,36,37,38,39,15,16]),import.meta.url),props:!0},{path:"core",name:"coresettings",component:()=>jt(()=>import("./CoreConfigs-C4Y8bDMN.js"),__vite__mapDeps([78,9,10,1,2,3,4,5,36,37,38,39,15,16,79]),import.meta.url),props:!0},{path:"frontend",name:"frontendsettings",component:()=>jt(()=>import("./FrontendConfig-C2FNkEAd.js"),__vite__mapDeps([80,81,82,23,24,32,3,4,33,43,44,83,50,51,28,29,11,12,84,22,25,18,19,49,38,2,85,6,15,16]),import.meta.url),props:!0},{path:"addprovider/:domain",name:"addprovider",component:()=>jt(()=>import("./AddProvider-Dtc3Ur5_.js"),__vite__mapDeps([86,87,81,82,23,24,32,3,4,33,43,44,83,50,51,28,29,11,12,84,22,25,18,19,49,38,2,85]),import.meta.url),props:!0},{path:"editprovider/:instanceId",name:"editprovider",component:()=>jt(()=>import("./EditProvider-_jUVq6ot.js"),__vite__mapDeps([88,81,82,23,24,32,3,4,33,43,44,83,50,51,28,29,11,12,84,22,25,18,19,49,38,2,85,87]),import.meta.url),props:!0},{path:"editplayer/:playerId",name:"editplayer",component:()=>jt(()=>import("./EditPlayer-xj_3SKWg.js"),__vite__mapDeps([89,81,82,23,24,32,3,4,33,43,44,83,50,51,28,29,11,12,84,22,25,18,19,49,38,2,85]),import.meta.url),props:!0},{path:"editplayer/:playerId/dsp",name:"editplayerdsp",component:()=>jt(()=>import("./EditPlayerDsp-BngkmLG1.js"),__vite__mapDeps([90,3,4,2,22,23,24,25,50,51,37,38,11,12,52,83,28,29,84,49,15,16,18,19,43,44,30,31,91]),import.meta.url),props:!0},{path:"editcore/:domain",name:"editcore",component:()=>jt(()=>import("./EditCoreConfig-B5Zub2pL.js"),__vite__mapDeps([92,81,82,23,24,32,3,4,33,43,44,83,50,51,28,29,11,12,84,22,25,18,19,49,38,2,85,87]),import.meta.url),props:!0},{path:"addgroup",name:"addgroup",component:()=>jt(()=>import("./AddPlayerGroup-XegHVV9y.js"),__vite__mapDeps([93,82,23,24,83,50,51,28,3,4,29,11,12,84]),import.meta.url),props:!0},{path:"",redirect:"/settings/providers"}]}]}],hi=Q_({history:P_(),routes:th});hi.afterEach((t,e)=>{e!=null&&e.path&&(console.debug("navigating from ",e.path," to ",t.path),it.prevRoute=e.path)});/*!
|
|
77
|
+
*/const tn=typeof document<"u";function fm(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function kh(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&fm(t.default)}const Ot=Object.assign;function Uo(t,e){const s={};for(const n in e){const a=e[n];s[n]=yi(a)?a.map(t):t(a)}return s}const na=()=>{},yi=Array.isArray,vm=/#/g,wh=/&/g,Sh=/\//g,zh=/=/g,Ah=/\?/g,gm=/\+/g,Th=/%5B/g,Ph=/%5D/g,hm=/%5E/g,Eh=/%60/g,_m=/%7B/g,jh=/%7C/g,ym=/%7D/g,Ch=/%20/g;function Zu(t){return encodeURI(""+t).replace(jh,"|").replace(Th,"[").replace(Ph,"]")}function Mh(t){return Zu(t).replace(_m,"{").replace(ym,"}").replace(hm,"^")}function Bl(t){return Zu(t).replace(gm,"%2B").replace(Ch,"+").replace(vm,"%23").replace(wh,"%26").replace(Eh,"`").replace(_m,"{").replace(ym,"}").replace(hm,"^")}function xh(t){return Bl(t).replace(zh,"%3D")}function Ih(t){return Zu(t).replace(vm,"%23").replace(Ah,"%3F")}function Lh(t){return t==null?"":Ih(t).replace(Sh,"%2F")}function fa(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const Dh=/\/$/,Rh=t=>t.replace(Dh,"");function Wo(t,e,s="/"){let n,a={},r="",o="";const l=e.indexOf("#");let u=e.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(n=e.slice(0,u),r=e.slice(u+1,l>-1?l:e.length),a=t(r)),l>-1&&(n=n||e.slice(0,l),o=e.slice(l,e.length)),n=Gh(n??e,s),{fullPath:n+(r&&"?")+r+o,path:n,query:a,hash:fa(o)}}function Oh(t,e){const s=e.query?t(e.query):"";return e.path+(s&&"?")+s+(e.hash||"")}function wc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Nh(t,e,s){const n=e.matched.length-1,a=s.matched.length-1;return n>-1&&n===a&&hn(e.matched[n],s.matched[a])&&km(e.params,s.params)&&t(e.query)===t(s.query)&&e.hash===s.hash}function hn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function km(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(!Bh(t[s],e[s]))return!1;return!0}function Bh(t,e){return yi(t)?Sc(t,e):yi(e)?Sc(e,t):t===e}function Sc(t,e){return yi(e)?t.length===e.length&&t.every((s,n)=>s===e[n]):t.length===1&&t[0]===e}function Gh(t,e){if(t.startsWith("/"))return t;if(!t)return e;const s=e.split("/"),n=t.split("/"),a=n[n.length-1];(a===".."||a===".")&&n.push("");let r=s.length-1,o,l;for(o=0;o<n.length;o++)if(l=n[o],l!==".")if(l==="..")r>1&&r--;else break;return s.slice(0,r).join("/")+"/"+n.slice(o).join("/")}const as={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var va;(function(t){t.pop="pop",t.push="push"})(va||(va={}));var aa;(function(t){t.back="back",t.forward="forward",t.unknown=""})(aa||(aa={}));function qh(t){if(!t)if(tn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Rh(t)}const Fh=/^[^#]+#/;function Hh(t,e){return t.replace(Fh,"#")+e}function Vh(t,e){const s=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-s.left-(e.left||0),top:n.top-s.top-(e.top||0)}}const go=()=>({left:window.scrollX,top:window.scrollY});function Uh(t){let e;if("el"in t){const s=t.el,n=typeof s=="string"&&s.startsWith("#"),a=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!a)return;e=Vh(a,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 zc(t,e){return(history.state?history.state.position-e:-1)+t}const Gl=new Map;function Wh(t,e){Gl.set(t,e)}function Kh(t){const e=Gl.get(t);return Gl.delete(t),e}let Xh=()=>location.protocol+"//"+location.host;function wm(t,e){const{pathname:s,search:n,hash:a}=e,r=t.indexOf("#");if(r>-1){let l=a.includes(t.slice(r))?t.slice(r).length:1,u=a.slice(l);return u[0]!=="/"&&(u="/"+u),wc(u,"")}return wc(s,t)+n+a}function Yh(t,e,s,n){let a=[],r=[],o=null;const l=({state:p})=>{const m=wm(t,location),f=s.value,v=e.value;let _=0;if(p){if(s.value=m,e.value=p,o&&o===f){o=null;return}_=v?p.position-v.position:0}else n(m);a.forEach(g=>{g(s.value,f,{delta:_,type:va.pop,direction:_?_>0?aa.forward:aa.back:aa.unknown})})};function u(){o=s.value}function c(p){a.push(p);const m=()=>{const f=a.indexOf(p);f>-1&&a.splice(f,1)};return r.push(m),m}function d(){const{history:p}=window;p.state&&p.replaceState(Ot({},p.state,{scroll:go()}),"")}function b(){for(const p of r)p();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:u,listen:c,destroy:b}}function Ac(t,e,s,n=!1,a=!1){return{back:t,current:e,forward:s,replaced:n,position:window.history.length,scroll:a?go():null}}function $h(t){const{history:e,location:s}=window,n={value:wm(t,s)},a={value:e.state};a.value||r(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(u,c,d){const b=t.indexOf("#"),p=b>-1?(s.host&&document.querySelector("base")?t:t.slice(b))+u:Xh()+t+u;try{e[d?"replaceState":"pushState"](c,"",p),a.value=c}catch(m){console.error(m),s[d?"replace":"assign"](p)}}function o(u,c){const d=Ot({},e.state,Ac(a.value.back,u,a.value.forward,!0),c,{position:a.value.position});r(u,d,!0),n.value=u}function l(u,c){const d=Ot({},a.value,e.state,{forward:u,scroll:go()});r(d.current,d,!0);const b=Ot({},Ac(n.value,u,null),{position:d.position+1},c);r(u,b,!1),n.value=u}return{location:n,state:a,push:l,replace:o}}function Zh(t){t=qh(t);const e=$h(t),s=Yh(t,e.state,e.location,e.replace);function n(r,o=!0){o||s.pauseListeners(),history.go(r)}const a=Ot({location:"",base:t,go:n,createHref:Hh.bind(null,t)},e,s);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>e.state.value}),a}function Qh(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),Zh(t)}function Jh(t){return typeof t=="string"||t&&typeof t=="object"}function Sm(t){return typeof t=="string"||typeof t=="symbol"}const zm=Symbol("");var Tc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Tc||(Tc={}));function _n(t,e){return Ot(new Error,{type:t,[zm]:!0},e)}function Fi(t,e){return t instanceof Error&&zm in t&&(e==null||!!(t.type&e))}const Pc="[^/]+?",t_={sensitive:!1,strict:!1,start:!0,end:!0},e_=/[.+*?^${}()[\]/\\]/g;function i_(t,e){const s=Ot({},t_,e),n=[];let a=s.start?"^":"";const r=[];for(const c of t){const d=c.length?[]:[90];s.strict&&!c.length&&(a+="/");for(let b=0;b<c.length;b++){const p=c[b];let m=40+(s.sensitive?.25:0);if(p.type===0)b||(a+="/"),a+=p.value.replace(e_,"\\$&"),m+=40;else if(p.type===1){const{value:f,repeatable:v,optional:_,regexp:g}=p;r.push({name:f,repeatable:v,optional:_});const h=g||Pc;if(h!==Pc){m+=10;try{new RegExp(`(${h})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${f}" (${h}): `+k.message)}}let y=v?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;b||(y=_&&c.length<2?`(?:/${y})`:"/"+y),_&&(y+="?"),a+=y,m+=20,_&&(m+=-8),v&&(m+=-20),h===".*"&&(m+=-50)}d.push(m)}n.push(d)}if(s.strict&&s.end){const c=n.length-1;n[c][n[c].length-1]+=.7000000000000001}s.strict||(a+="/?"),s.end?a+="$":s.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const o=new RegExp(a,s.sensitive?"":"i");function l(c){const d=c.match(o),b={};if(!d)return null;for(let p=1;p<d.length;p++){const m=d[p]||"",f=r[p-1];b[f.name]=m&&f.repeatable?m.split("/"):m}return b}function u(c){let d="",b=!1;for(const p of t){(!b||!d.endsWith("/"))&&(d+="/"),b=!1;for(const m of p)if(m.type===0)d+=m.value;else if(m.type===1){const{value:f,repeatable:v,optional:_}=m,g=f in c?c[f]:"";if(yi(g)&&!v)throw new Error(`Provided param "${f}" is an array but it is not repeatable (* or + modifiers)`);const h=yi(g)?g.join("/"):g;if(!h)if(_)p.length<2&&(d.endsWith("/")?d=d.slice(0,-1):b=!0);else throw new Error(`Missing required param "${f}"`);d+=h}}return d||"/"}return{re:o,score:n,keys:r,parse:l,stringify:u}}function s_(t,e){let s=0;for(;s<t.length&&s<e.length;){const n=e[s]-t[s];if(n)return n;s++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function Am(t,e){let s=0;const n=t.score,a=e.score;for(;s<n.length&&s<a.length;){const r=s_(n[s],a[s]);if(r)return r;s++}if(Math.abs(a.length-n.length)===1){if(Ec(n))return 1;if(Ec(a))return-1}return a.length-n.length}function Ec(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const n_={type:0,value:""},a_=/[a-zA-Z0-9_]/;function r_(t){if(!t)return[[]];if(t==="/")return[[n_]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${s})/"${c}": ${m}`)}let s=0,n=s;const a=[];let r;function o(){r&&a.push(r),r=[]}let l=0,u,c="",d="";function b(){c&&(s===0?r.push({type:0,value:c}):s===1||s===2||s===3?(r.length>1&&(u==="*"||u==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):e("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;l<t.length;){if(u=t[l++],u==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:u==="/"?(c&&b(),o()):u===":"?(b(),s=1):p();break;case 4:p(),s=n;break;case 1:u==="("?s=2:a_.test(u)?p():(b(),s=0,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case 2:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:s=3:d+=u;break;case 3:b(),s=0,u!=="*"&&u!=="?"&&u!=="+"&&l--,d="";break;default:e("Unknown state");break}}return s===2&&e(`Unfinished custom RegExp for param "${c}"`),b(),o(),a}function o_(t,e,s){const n=i_(r_(t.path),s),a=Ot(n,{record:t,parent:e,children:[],alias:[]});return e&&!a.record.aliasOf==!e.record.aliasOf&&e.children.push(a),a}function l_(t,e){const s=[],n=new Map;e=xc({strict:!1,end:!0,sensitive:!1},e);function a(b){return n.get(b)}function r(b,p,m){const f=!m,v=Cc(b);v.aliasOf=m&&m.record;const _=xc(e,b),g=[v];if("alias"in b){const k=typeof b.alias=="string"?[b.alias]:b.alias;for(const w of k)g.push(Cc(Ot({},v,{components:m?m.record.components:v.components,path:w,aliasOf:m?m.record:v})))}let h,y;for(const k of g){const{path:w}=k;if(p&&w[0]!=="/"){const P=p.record.path,A=P[P.length-1]==="/"?"":"/";k.path=p.record.path+(w&&A+w)}if(h=o_(k,p,_),m?m.alias.push(h):(y=y||h,y!==h&&y.alias.push(h),f&&b.name&&!Mc(h)&&o(b.name)),Tm(h)&&u(h),v.children){const P=v.children;for(let A=0;A<P.length;A++)r(P[A],h,m&&m.children[A])}m=m||h}return y?()=>{o(y)}:na}function o(b){if(Sm(b)){const p=n.get(b);p&&(n.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&&n.delete(b.record.name),b.children.forEach(o),b.alias.forEach(o))}}function l(){return s}function u(b){const p=c_(b,s);s.splice(p,0,b),b.record.name&&!Mc(b)&&n.set(b.record.name,b)}function c(b,p){let m,f={},v,_;if("name"in b&&b.name){if(m=n.get(b.name),!m)throw _n(1,{location:b});_=m.record.name,f=Ot(jc(p.params,m.keys.filter(y=>!y.optional).concat(m.parent?m.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),b.params&&jc(b.params,m.keys.map(y=>y.name))),v=m.stringify(f)}else if(b.path!=null)v=b.path,m=s.find(y=>y.re.test(v)),m&&(f=m.parse(v),_=m.record.name);else{if(m=p.name?n.get(p.name):s.find(y=>y.re.test(p.path)),!m)throw _n(1,{location:b,currentLocation:p});_=m.record.name,f=Ot({},p.params,b.params),v=m.stringify(f)}const g=[];let h=m;for(;h;)g.unshift(h.record),h=h.parent;return{name:_,path:v,params:f,matched:g,meta:d_(g)}}t.forEach(b=>r(b));function d(){s.length=0,n.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:d,getRoutes:l,getRecordMatcher:a}}function jc(t,e){const s={};for(const n of e)n in t&&(s[n]=t[n]);return s}function Cc(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:u_(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 u_(t){const e={},s=t.props||!1;if("component"in t)e.default=s;else for(const n in t.components)e[n]=typeof s=="object"?s[n]:s;return e}function Mc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function d_(t){return t.reduce((e,s)=>Ot(e,s.meta),{})}function xc(t,e){const s={};for(const n in t)s[n]=n in e?e[n]:t[n];return s}function c_(t,e){let s=0,n=e.length;for(;s!==n;){const r=s+n>>1;Am(t,e[r])<0?n=r:s=r+1}const a=b_(t);return a&&(n=e.lastIndexOf(a,n-1)),n}function b_(t){let e=t;for(;e=e.parent;)if(Tm(e)&&Am(t,e)===0)return e}function Tm({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function p_(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let a=0;a<n.length;++a){const r=n[a].replace(gm," "),o=r.indexOf("="),l=fa(o<0?r:r.slice(0,o)),u=o<0?null:fa(r.slice(o+1));if(l in e){let c=e[l];yi(c)||(c=e[l]=[c]),c.push(u)}else e[l]=u}return e}function Ic(t){let e="";for(let s in t){const n=t[s];if(s=xh(s),n==null){n!==void 0&&(e+=(e.length?"&":"")+s);continue}(yi(n)?n.map(r=>r&&Bl(r)):[n&&Bl(n)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+s,r!=null&&(e+="="+r))})}return e}function m_(t){const e={};for(const s in t){const n=t[s];n!==void 0&&(e[s]=yi(n)?n.map(a=>a==null?null:""+a):n==null?n:""+n)}return e}const f_=Symbol(""),Lc=Symbol(""),ho=Symbol(""),Qu=Symbol(""),ql=Symbol("");function Bn(){let t=[];function e(n){return t.push(n),()=>{const a=t.indexOf(n);a>-1&&t.splice(a,1)}}function s(){t=[]}return{add:e,list:()=>t.slice(),reset:s}}function cs(t,e,s,n,a,r=o=>o()){const o=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((l,u)=>{const c=p=>{p===!1?u(_n(4,{from:s,to:e})):p instanceof Error?u(p):Jh(p)?u(_n(2,{from:e,to:p})):(o&&n.enterCallbacks[a]===o&&typeof p=="function"&&o.push(p),l())},d=r(()=>t.call(n&&n.instances[a],e,s,c));let b=Promise.resolve(d);t.length<3&&(b=b.then(c)),b.catch(p=>u(p))})}function Ko(t,e,s,n,a=r=>r()){const r=[];for(const o of t)for(const l in o.components){let u=o.components[l];if(!(e!=="beforeRouteEnter"&&!o.instances[l]))if(fm(u)){const d=(u.__vccOpts||u)[e];d&&r.push(cs(d,s,n,o,l,a))}else{let c=u();r.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const b=kh(d)?d.default:d;o.mods[l]=d,o.components[l]=b;const m=(b.__vccOpts||b)[e];return m&&cs(m,s,n,o,l,a)()}))}}return r}function Dc(t){const e=Kt(ho),s=Kt(Qu),n=B(()=>{const u=Z(t.to);return e.resolve(u)}),a=B(()=>{const{matched:u}=n.value,{length:c}=u,d=u[c-1],b=s.matched;if(!d||!b.length)return-1;const p=b.findIndex(hn.bind(null,d));if(p>-1)return p;const m=Rc(u[c-2]);return c>1&&Rc(d)===m&&b[b.length-1].path!==m?b.findIndex(hn.bind(null,u[c-2])):p}),r=B(()=>a.value>-1&&y_(s.params,n.value.params)),o=B(()=>a.value>-1&&a.value===s.matched.length-1&&km(s.params,n.value.params));function l(u={}){if(__(u)){const c=e[Z(t.replace)?"replace":"push"](Z(t.to)).catch(na);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:n,href:B(()=>n.value.href),isActive:r,isExactActive:o,navigate:l}}function v_(t){return t.length===1?t[0]:t}const g_=ci({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"}},useLink:Dc,setup(t,{slots:e}){const s=ce(Dc(t)),{options:n}=Kt(ho),a=B(()=>({[Oc(t.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[Oc(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=e.default&&v_(e.default(s));return t.custom?r:ie("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:a.value},r)}}}),h_=g_;function __(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 y_(t,e){for(const s in e){const n=e[s],a=t[s];if(typeof n=="string"){if(n!==a)return!1}else if(!yi(a)||a.length!==n.length||n.some((r,o)=>r!==a[o]))return!1}return!0}function Rc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Oc=(t,e,s)=>t??e??s,k_=ci({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:s}){const n=Kt(ql),a=B(()=>t.route||n.value),r=Kt(Lc,0),o=B(()=>{let c=Z(r);const{matched:d}=a.value;let b;for(;(b=d[c])&&!b.components;)c++;return c}),l=B(()=>a.value.matched[o.value]);Pe(Lc,B(()=>o.value+1)),Pe(f_,l),Pe(ql,a);const u=lt();return Tt(()=>[u.value,l.value,t.name],([c,d,b],[p,m,f])=>{d&&(d.instances[b]=c,m&&m!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!hn(d,m)||!p)&&(d.enterCallbacks[b]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=a.value,d=t.name,b=l.value,p=b&&b.components[d];if(!p)return Nc(s.default,{Component:p,route:c});const m=b.props[d],f=m?m===!0?c.params:typeof m=="function"?m(c):m:null,_=ie(p,Ot({},f,e,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(b.instances[d]=null)},ref:u}));return Nc(s.default,{Component:_,route:c})||_}}});function Nc(t,e){if(!t)return null;const s=t(e);return s.length===1?s[0]:s}const w_=k_;function S_(t){const e=l_(t.routes,t),s=t.parseQuery||p_,n=t.stringifyQuery||Ic,a=t.history,r=Bn(),o=Bn(),l=Bn(),u=Mt(as);let c=as;tn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Uo.bind(null,F=>""+F),b=Uo.bind(null,Lh),p=Uo.bind(null,fa);function m(F,J){let Q,rt;return Sm(F)?(Q=e.getRecordMatcher(F),rt=J):rt=F,e.addRoute(rt,Q)}function f(F){const J=e.getRecordMatcher(F);J&&e.removeRoute(J)}function v(){return e.getRoutes().map(F=>F.record)}function _(F){return!!e.getRecordMatcher(F)}function g(F,J){if(J=Ot({},J||u.value),typeof F=="string"){const O=Wo(s,F,J.path),V=e.resolve({path:O.path},J),W=a.createHref(O.fullPath);return Ot(O,V,{params:p(V.params),hash:fa(O.hash),redirectedFrom:void 0,href:W})}let Q;if(F.path!=null)Q=Ot({},F,{path:Wo(s,F.path,J.path).path});else{const O=Ot({},F.params);for(const V in O)O[V]==null&&delete O[V];Q=Ot({},F,{params:b(O)}),J.params=b(J.params)}const rt=e.resolve(Q,J),xt=F.hash||"";rt.params=d(p(rt.params));const j=Oh(n,Ot({},F,{hash:Mh(xt),path:rt.path})),C=a.createHref(j);return Ot({fullPath:j,hash:xt,query:n===Ic?m_(F.query):F.query||{}},rt,{redirectedFrom:void 0,href:C})}function h(F){return typeof F=="string"?Wo(s,F,u.value.path):Ot({},F)}function y(F,J){if(c!==F)return _n(8,{from:J,to:F})}function k(F){return A(F)}function w(F){return k(Ot(h(F),{replace:!0}))}function P(F){const J=F.matched[F.matched.length-1];if(J&&J.redirect){const{redirect:Q}=J;let rt=typeof Q=="function"?Q(F):Q;return typeof rt=="string"&&(rt=rt.includes("?")||rt.includes("#")?rt=h(rt):{path:rt},rt.params={}),Ot({query:F.query,hash:F.hash,params:rt.path!=null?{}:F.params},rt)}}function A(F,J){const Q=c=g(F),rt=u.value,xt=F.state,j=F.force,C=F.replace===!0,O=P(Q);if(O)return A(Ot(h(O),{state:typeof O=="object"?Ot({},xt,O.state):xt,force:j,replace:C}),J||Q);const V=Q;V.redirectedFrom=J;let W;return!j&&Nh(n,rt,Q)&&(W=_n(16,{to:V,from:rt}),tt(rt,rt,!0,!1)),(W?Promise.resolve(W):L(V,rt)).catch(U=>Fi(U)?Fi(U,2)?U:Lt(U):dt(U,V,rt)).then(U=>{if(U){if(Fi(U,2))return A(Ot({replace:C},h(U.to),{state:typeof U.to=="object"?Ot({},xt,U.to.state):xt,force:j}),J||V)}else U=M(V,rt,!0,C,xt);return N(V,rt,U),U})}function E(F,J){const Q=y(F,J);return Q?Promise.reject(Q):Promise.resolve()}function S(F){const J=zt.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(F):F()}function L(F,J){let Q;const[rt,xt,j]=z_(F,J);Q=Ko(rt.reverse(),"beforeRouteLeave",F,J);for(const O of rt)O.leaveGuards.forEach(V=>{Q.push(cs(V,F,J))});const C=E.bind(null,F,J);return Q.push(C),ht(Q).then(()=>{Q=[];for(const O of r.list())Q.push(cs(O,F,J));return Q.push(C),ht(Q)}).then(()=>{Q=Ko(xt,"beforeRouteUpdate",F,J);for(const O of xt)O.updateGuards.forEach(V=>{Q.push(cs(V,F,J))});return Q.push(C),ht(Q)}).then(()=>{Q=[];for(const O of j)if(O.beforeEnter)if(yi(O.beforeEnter))for(const V of O.beforeEnter)Q.push(cs(V,F,J));else Q.push(cs(O.beforeEnter,F,J));return Q.push(C),ht(Q)}).then(()=>(F.matched.forEach(O=>O.enterCallbacks={}),Q=Ko(j,"beforeRouteEnter",F,J,S),Q.push(C),ht(Q))).then(()=>{Q=[];for(const O of o.list())Q.push(cs(O,F,J));return Q.push(C),ht(Q)}).catch(O=>Fi(O,8)?O:Promise.reject(O))}function N(F,J,Q){l.list().forEach(rt=>S(()=>rt(F,J,Q)))}function M(F,J,Q,rt,xt){const j=y(F,J);if(j)return j;const C=J===as,O=tn?history.state:{};Q&&(rt||C?a.replace(F.fullPath,Ot({scroll:C&&O&&O.scroll},xt)):a.push(F.fullPath,xt)),u.value=F,tt(F,J,Q,C),Lt()}let x;function H(){x||(x=a.listen((F,J,Q)=>{if(!ge.listening)return;const rt=g(F),xt=P(rt);if(xt){A(Ot(xt,{replace:!0,force:!0}),rt).catch(na);return}c=rt;const j=u.value;tn&&Wh(zc(j.fullPath,Q.delta),go()),L(rt,j).catch(C=>Fi(C,12)?C:Fi(C,2)?(A(Ot(h(C.to),{force:!0}),rt).then(O=>{Fi(O,20)&&!Q.delta&&Q.type===va.pop&&a.go(-1,!1)}).catch(na),Promise.reject()):(Q.delta&&a.go(-Q.delta,!1),dt(C,rt,j))).then(C=>{C=C||M(rt,j,!1),C&&(Q.delta&&!Fi(C,8)?a.go(-Q.delta,!1):Q.type===va.pop&&Fi(C,20)&&a.go(-1,!1)),N(rt,j,C)}).catch(na)}))}let X=Bn(),it=Bn(),mt;function dt(F,J,Q){Lt(F);const rt=it.list();return rt.length?rt.forEach(xt=>xt(F,J,Q)):console.error(F),Promise.reject(F)}function Pt(){return mt&&u.value!==as?Promise.resolve():new Promise((F,J)=>{X.add([F,J])})}function Lt(F){return mt||(mt=!F,H(),X.list().forEach(([J,Q])=>F?Q(F):J()),X.reset()),F}function tt(F,J,Q,rt){const{scrollBehavior:xt}=t;if(!tn||!xt)return Promise.resolve();const j=!Q&&Kh(zc(F.fullPath,0))||(rt||!Q)&&history.state&&history.state.scroll||null;return Si().then(()=>xt(F,J,j)).then(C=>C&&Uh(C)).catch(C=>dt(C,F,J))}const et=F=>a.go(F);let kt;const zt=new Set,ge={currentRoute:u,listening:!0,addRoute:m,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:_,getRoutes:v,resolve:g,options:t,push:k,replace:w,go:et,back:()=>et(-1),forward:()=>et(1),beforeEach:r.add,beforeResolve:o.add,afterEach:l.add,onError:it.add,isReady:Pt,install(F){const J=this;F.component("RouterLink",h_),F.component("RouterView",w_),F.config.globalProperties.$router=J,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Z(u)}),tn&&!kt&&u.value===as&&(kt=!0,k(a.location).catch(xt=>{}));const Q={};for(const xt in as)Object.defineProperty(Q,xt,{get:()=>u.value[xt],enumerable:!0});F.provide(ho,J),F.provide(Qu,Qp(Q)),F.provide(ql,u);const rt=F.unmount;zt.add(F),F.unmount=function(){zt.delete(F),zt.size<1&&(c=as,x&&x(),x=null,u.value=as,kt=!1,mt=!1),rt()}}};function ht(F){return F.reduce((J,Q)=>J.then(()=>S(Q)),Promise.resolve())}return ge}function z_(t,e){const s=[],n=[],a=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const l=e.matched[o];l&&(t.matched.find(c=>hn(c,l))?n.push(l):s.push(l));const u=t.matched[o];u&&(e.matched.find(c=>hn(c,u))||a.push(u))}return[s,n,a]}function xE(){return Kt(ho)}function IE(t){return Kt(Qu)}const A_=[{path:"/",component:()=>qt(()=>import("./Default-hhwEg_ku.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]),import.meta.url),children:[{path:"",redirect:"/home"},{path:"/home",name:"home",component:()=>qt(()=>import("./HomeView-C41dEPtw.js"),__vite__mapDeps([30,31,2,32,33,34,35,36,8,25,18,19,26,3,4,37,10,11,9,12,38,39,40,41]),import.meta.url)},{path:"/search",name:"search",component:()=>qt(()=>import("./Search-dt8Yee9Y.js"),__vite__mapDeps([42,35,36,8,2,25,18,19,26,3,4,37,10,11,9,12,38,39,40,43,1,5,44,33,31,32,34,45,46,15,7,16,47,23,24,48]),import.meta.url),props:!0},{path:"/browse",name:"browse",component:()=>qt(()=>import("./BrowseView-CHuC2Wut.js"),__vite__mapDeps([49,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48]),import.meta.url),props:t=>({...t.query})},{path:"/artists",children:[{path:"",name:"artists",component:()=>qt(()=>import("./LibraryArtists-CyKI5uos.js"),__vite__mapDeps([50,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48]),import.meta.url),props:!0},{path:":provider/:itemId",name:"artist",component:()=>qt(()=>import("./ArtistDetails-C8R0L0eB.js"),__vite__mapDeps([51,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48,52,21,22,13,14,53,54,55]),import.meta.url),props:!0}]},{path:"/albums",children:[{path:"",name:"albums",component:()=>qt(()=>import("./LibraryAlbums-B5GJ0Ma1.js"),__vite__mapDeps([56,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48]),import.meta.url),props:!0},{path:":provider/:itemId",name:"album",component:()=>qt(()=>import("./AlbumDetails-JJcoeHe3.js"),__vite__mapDeps([57,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48,52,21,22,13,14,53,54,55]),import.meta.url),props:!0}]},{path:"/tracks",children:[{path:"",name:"tracks",component:()=>qt(()=>import("./LibraryTracks-eI-KuVMu.js"),__vite__mapDeps([58,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48,59,13,14]),import.meta.url),props:!0},{path:":provider/:itemId",name:"track",component:()=>qt(()=>import("./TrackDetails-ClQ9ACy_.js"),__vite__mapDeps([60,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48,52,21,22,13,14,53]),import.meta.url),props:t=>({...t.params,...t.query})}]},{path:"/playlists",children:[{path:"",name:"playlists",component:()=>qt(()=>import("./LibraryPlaylists-Bloq-21Q.js"),__vite__mapDeps([61,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48]),import.meta.url),props:!0},{path:":provider/:itemId",name:"playlist",component:()=>qt(()=>import("./PlaylistDetails-B03u8UL4.js"),__vite__mapDeps([62,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48,52,21,22,13,14,53]),import.meta.url),props:!0}]},{path:"/podcasts",children:[{path:"",name:"podcasts",component:()=>qt(()=>import("./LibraryPodcasts-4aUZwHC-.js"),__vite__mapDeps([63,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48]),import.meta.url),props:!0},{path:":provider/:itemId",name:"podcast",component:()=>qt(()=>import("./PodcastDetails-BMjb7gc-.js"),__vite__mapDeps([64,52,8,2,9,10,11,3,4,12,21,22,13,14,7,1,5,31,32,33,34,53,43,25,18,19,26,36,37,44,45,46,15,16,47,23,24,38,39,48]),import.meta.url),props:!0}]},{path:"/audiobooks",children:[{path:"",name:"audiobooks",component:()=>qt(()=>import("./LibraryAudiobooks-DPbc0sIR.js"),__vite__mapDeps([65,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48]),import.meta.url),props:!0},{path:":provider/:itemId",name:"audiobook",component:()=>qt(()=>import("./AudiobookDetails-BBPC_rat.js"),__vite__mapDeps([66,52,8,2,9,10,11,3,4,12,21,22,13,14,7,1,5,31,32,33,34,53]),import.meta.url),props:!0}]},{path:"/radios",children:[{path:"",name:"radios",component:()=>qt(()=>import("./LibraryRadios-OqRteuTK.js"),__vite__mapDeps([67,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48,59,13,14]),import.meta.url),props:!0},{path:":provider/:itemId",name:"radio",component:()=>qt(()=>import("./RadioDetails-BSK26mvV.js"),__vite__mapDeps([68,43,8,2,1,3,4,5,25,18,19,26,36,37,44,33,31,32,34,9,10,11,12,45,46,15,7,16,47,23,24,38,39,48,52,21,22,13,14,53]),import.meta.url),props:!0}]},{path:"/settings",name:"settings",component:()=>qt(()=>import("./Settings-DplXTl42.js"),__vite__mapDeps([69,9,10,11,3,4,2,12]),import.meta.url),props:!0,children:[{path:"providers",name:"providersettings",component:()=>qt(()=>import("./Providers-DIcUkWeW.js"),__vite__mapDeps([70,1,2,3,4,5,31,32,33,34,10,11,38,39,71]),import.meta.url),props:!0},{path:"players",name:"playersettings",component:()=>qt(()=>import("./Players-Cw-hfn51.js"),__vite__mapDeps([72,1,2,3,4,5,31,32,33,34,10,11]),import.meta.url),props:!0},{path:"core",name:"coresettings",component:()=>qt(()=>import("./CoreConfigs-B4qbkIFp.js"),__vite__mapDeps([73,1,2,3,4,5,31,32,33,34,10,11,74]),import.meta.url),props:!0},{path:"frontend",name:"frontendsettings",component:()=>qt(()=>import("./FrontendConfig-C7yMwT0t.js"),__vite__mapDeps([75,76,77,18,19,27,28,38,3,4,39,78,45,46,23,24,79,17,20,13,14,44,33,2,80,6,10,11]),import.meta.url),props:!0},{path:"addprovider/:domain",name:"addprovider",component:()=>qt(()=>import("./AddProvider-C6vZMaA_.js"),__vite__mapDeps([81,82,76,77,18,19,27,28,38,3,4,39,78,45,46,23,24,79,17,20,13,14,44,33,2,80]),import.meta.url),props:!0},{path:"editprovider/:instanceId",name:"editprovider",component:()=>qt(()=>import("./EditProvider-D9AuzoS_.js"),__vite__mapDeps([83,76,77,18,19,27,28,38,3,4,39,78,45,46,23,24,79,17,20,13,14,44,33,2,80,82]),import.meta.url),props:!0},{path:"editplayer/:playerId",name:"editplayer",component:()=>qt(()=>import("./EditPlayer-DiQPXzm5.js"),__vite__mapDeps([84,76,77,18,19,27,28,38,3,4,39,78,45,46,23,24,79,17,20,13,14,44,33,2,80]),import.meta.url),props:!0},{path:"editplayer/:playerId/dsp",name:"editplayerdsp",component:()=>qt(()=>import("./EditPlayerDsp-eIn3Nya7.js"),__vite__mapDeps([85,3,4,2,17,18,19,20,45,46,32,33,47,78,23,24,79,44,10,11,13,14,38,39,25,26,86]),import.meta.url),props:!0},{path:"editcore/:domain",name:"editcore",component:()=>qt(()=>import("./EditCoreConfig-B4I9p0Rc.js"),__vite__mapDeps([87,76,77,18,19,27,28,38,3,4,39,78,45,46,23,24,79,17,20,13,14,44,33,2,80,82]),import.meta.url),props:!0},{path:"addgroup",name:"addgroup",component:()=>qt(()=>import("./AddPlayerGroup-w5xinh13.js"),__vite__mapDeps([88,77,18,19,78,45,46,23,24,3,4,79]),import.meta.url),props:!0},{path:"",redirect:"/settings/providers"}]}]}],xi=S_({history:Qh(),routes:A_});xi.afterEach((t,e)=>{e!=null&&e.path&&(console.debug("navigating from ",e.path," to ",t.path),at.prevRoute=e.path)});/*!
|
|
78
78
|
* shared v11.1.1
|
|
79
79
|
* (c) 2025 kazuya kawaguchi
|
|
80
80
|
* Released under the MIT License.
|
|
81
|
-
*/const
|
|
81
|
+
*/const T_=(t,e,s)=>P_({l:t,k:e,s}),P_=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Be=t=>typeof t=="number"&&isFinite(t),E_=t=>td(t)==="[object Date]",Bc=t=>td(t)==="[object RegExp]",Ju=t=>te(t)&&Object.keys(t).length===0,Pn=Object.assign,j_=Object.create,Fe=(t=null)=>j_(t);let Gc;const C_=()=>Gc||(Gc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Fe());function qc(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const M_=Object.prototype.hasOwnProperty;function Cs(t,e){return M_.call(t,e)}const Ri=Array.isArray,fe=t=>typeof t=="function",St=t=>typeof t=="string",Ue=t=>typeof t=="boolean",Te=t=>t!==null&&typeof t=="object",x_=t=>Te(t)&&fe(t.then)&&fe(t.catch),Pm=Object.prototype.toString,td=t=>Pm.call(t),te=t=>td(t)==="[object Object]",I_=t=>t==null?"":Ri(t)||te(t)&&t.toString===Pm?JSON.stringify(t,null,2):String(t);function L_(t,e=""){return t.reduce((s,n,a)=>a===0?s+n:s+e+n,"")}function D_(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}/*!
|
|
82
82
|
* shared v11.1.1
|
|
83
83
|
* (c) 2025 kazuya kawaguchi
|
|
84
84
|
* Released under the MIT License.
|
|
85
|
-
*/const
|
|
85
|
+
*/const Em=Object.assign,Fc=t=>typeof t=="string";function jm(t,e=""){return t.reduce((s,n,a)=>a===0?s+n:s+e+n,"")}/*!
|
|
86
86
|
* message-compiler v11.1.1
|
|
87
87
|
* (c) 2025 kazuya kawaguchi
|
|
88
88
|
* Released under the MIT License.
|
|
89
|
-
*/function
|
|
90
|
-
`,fh="\u2028",vh="\u2029";function gh(t){const e=t;let s=0,n=1,a=1,r=0;const o=E=>e[E]===mh&&e[E+1]===we,l=E=>e[E]===we,d=E=>e[E]===vh,c=E=>e[E]===fh,u=E=>o(E)||l(E)||d(E)||c(E),b=()=>s,p=()=>n,m=()=>a,f=()=>r,v=E=>o(E)||d(E)||c(E)?we:e[E],k=()=>v(s),h=()=>v(s+r);function g(){return r=0,u(s)&&(n++,a=0),o(s)&&s++,s++,a++,e[s]}function _(){return o(s+r)&&r++,r++,e[s+r]}function y(){s=0,n=1,a=1,r=0}function w(E=0){r=E}function P(){const E=s+r;for(;E!==s;)g();r=0}return{index:b,line:p,column:m,peekOffset:f,charAt:v,currentChar:k,currentPeek:h,next:g,peek:_,reset:y,resetPeek:w,skipToPeek:P}}const Hi=void 0,_h=".",mc="'",hh="tokenizer";function yh(t,e={}){const s=e.location!==!1,n=gh(t),a=()=>n.index(),r=()=>ch(n.line(),n.column(),n.index()),o=r(),l=a(),d={currentType:13,offset:l,startLoc:o,endLoc:o,lastType:13,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>d,{onError:u}=e;function b(S,T,I,...B){const Z=c();if(T.column+=I,T.offset+=I,u){const $=s?ml(Z.startLoc,T):null,D=Ur(S,$,{domain:hh,args:B});u(D)}}function p(S,T,I){S.endLoc=r(),S.currentType=T;const B={type:T};return s&&(B.loc=ml(S.startLoc,S.endLoc)),I!=null&&(B.value=I),B}const m=S=>p(S,13);function f(S,T){return S.currentChar()===T?(S.next(),T):(b(Ct.EXPECTED_TOKEN,r(),0,T),"")}function v(S){let T="";for(;S.currentPeek()===Ai||S.currentPeek()===we;)T+=S.currentPeek(),S.peek();return T}function k(S){const T=v(S);return S.skipToPeek(),T}function h(S){if(S===Hi)return!1;const T=S.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T===95}function g(S){if(S===Hi)return!1;const T=S.charCodeAt(0);return T>=48&&T<=57}function _(S,T){const{currentType:I}=T;if(I!==2)return!1;v(S);const B=h(S.currentPeek());return S.resetPeek(),B}function y(S,T){const{currentType:I}=T;if(I!==2)return!1;v(S);const B=S.currentPeek()==="-"?S.peek():S.currentPeek(),Z=g(B);return S.resetPeek(),Z}function w(S,T){const{currentType:I}=T;if(I!==2)return!1;v(S);const B=S.currentPeek()===mc;return S.resetPeek(),B}function P(S,T){const{currentType:I}=T;if(I!==7)return!1;v(S);const B=S.currentPeek()===".";return S.resetPeek(),B}function E(S,T){const{currentType:I}=T;if(I!==8)return!1;v(S);const B=h(S.currentPeek());return S.resetPeek(),B}function j(S,T){const{currentType:I}=T;if(!(I===7||I===11))return!1;v(S);const B=S.currentPeek()===":";return S.resetPeek(),B}function z(S,T){const{currentType:I}=T;if(I!==9)return!1;const B=()=>{const $=S.currentPeek();return $==="{"?h(S.peek()):$==="@"||$==="|"||$===":"||$==="."||$===Ai||!$?!1:$===we?(S.peek(),B()):O(S,!1)},Z=B();return S.resetPeek(),Z}function L(S){v(S);const T=S.currentPeek()==="|";return S.resetPeek(),T}function O(S,T=!0){const I=(Z=!1,$="")=>{const D=S.currentPeek();return D==="{"||D==="@"||!D?Z:D==="|"?!($===Ai||$===we):D===Ai?(S.peek(),I(!0,Ai)):D===we?(S.peek(),I(!0,we)):!0},B=I();return T&&S.resetPeek(),B}function x(S,T){const I=S.currentChar();return I===Hi?Hi:T(I)?(S.next(),I):null}function M(S){const T=S.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36}function V(S){return x(S,M)}function X(S){const T=S.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36||T===45}function J(S){return x(S,X)}function dt(S){const T=S.charCodeAt(0);return T>=48&&T<=57}function at(S){return x(S,dt)}function _t(S){const T=S.charCodeAt(0);return T>=48&&T<=57||T>=65&&T<=70||T>=97&&T<=102}function Et(S){return x(S,_t)}function Mt(S){let T="",I="";for(;T=at(S);)I+=T;return I}function Ot(S){let T="";for(;;){const I=S.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===Ai||I===we)if(O(S))T+=I,S.next();else{if(L(S))break;T+=I,S.next()}else T+=I,S.next()}return T}function ue(S){k(S);let T="",I="";for(;T=J(S);)I+=T;return S.currentChar()===Hi&&b(Ct.UNTERMINATED_CLOSING_BRACE,r(),0),I}function vt(S){k(S);let T="";return S.currentChar()==="-"?(S.next(),T+=`-${Mt(S)}`):T+=Mt(S),S.currentChar()===Hi&&b(Ct.UNTERMINATED_CLOSING_BRACE,r(),0),T}function Me(S){return S!==mc&&S!==we}function pt(S){k(S),f(S,"'");let T="",I="";for(;T=x(S,Me);)T==="\\"?I+=G(S):I+=T;const B=S.currentChar();return B===we||B===Hi?(b(Ct.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),B===we&&(S.next(),f(S,"'")),I):(f(S,"'"),I)}function G(S){const T=S.currentChar();switch(T){case"\\":case"'":return S.next(),`\\${T}`;case"u":return Y(S,T,4);case"U":return Y(S,T,6);default:return b(Ct.UNKNOWN_ESCAPE_SEQUENCE,r(),0,T),""}}function Y(S,T,I){f(S,T);let B="";for(let Z=0;Z<I;Z++){const $=Et(S);if(!$){b(Ct.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${T}${B}${S.currentChar()}`);break}B+=$}return`\\${T}${B}`}function K(S){return S!=="{"&&S!=="}"&&S!==Ai&&S!==we}function Q(S){k(S);let T="",I="";for(;T=x(S,K);)I+=T;return I}function yt(S){let T="",I="";for(;T=V(S);)I+=T;return I}function A(S){const T=I=>{const B=S.currentChar();return B==="{"||B==="@"||B==="|"||B==="("||B===")"||!B||B===Ai?I:(I+=B,S.next(),T(I))};return T("")}function C(S){k(S);const T=f(S,"|");return k(S),T}function R(S,T){let I=null;switch(S.currentChar()){case"{":return T.braceNest>=1&&b(Ct.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),S.next(),I=p(T,2,"{"),k(S),T.braceNest++,I;case"}":return T.braceNest>0&&T.currentType===2&&b(Ct.EMPTY_PLACEHOLDER,r(),0),S.next(),I=p(T,3,"}"),T.braceNest--,T.braceNest>0&&k(S),T.inLinked&&T.braceNest===0&&(T.inLinked=!1),I;case"@":return T.braceNest>0&&b(Ct.UNTERMINATED_CLOSING_BRACE,r(),0),I=H(S,T)||m(T),T.braceNest=0,I;default:{let Z=!0,$=!0,D=!0;if(L(S))return T.braceNest>0&&b(Ct.UNTERMINATED_CLOSING_BRACE,r(),0),I=p(T,1,C(S)),T.braceNest=0,T.inLinked=!1,I;if(T.braceNest>0&&(T.currentType===4||T.currentType===5||T.currentType===6))return b(Ct.UNTERMINATED_CLOSING_BRACE,r(),0),T.braceNest=0,W(S,T);if(Z=_(S,T))return I=p(T,4,ue(S)),k(S),I;if($=y(S,T))return I=p(T,5,vt(S)),k(S),I;if(D=w(S,T))return I=p(T,6,pt(S)),k(S),I;if(!Z&&!$&&!D)return I=p(T,12,Q(S)),b(Ct.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,I.value),k(S),I;break}}return I}function H(S,T){const{currentType:I}=T;let B=null;const Z=S.currentChar();switch((I===7||I===8||I===11||I===9)&&(Z===we||Z===Ai)&&b(Ct.INVALID_LINKED_FORMAT,r(),0),Z){case"@":return S.next(),B=p(T,7,"@"),T.inLinked=!0,B;case".":return k(S),S.next(),p(T,8,".");case":":return k(S),S.next(),p(T,9,":");default:return L(S)?(B=p(T,1,C(S)),T.braceNest=0,T.inLinked=!1,B):P(S,T)||j(S,T)?(k(S),H(S,T)):E(S,T)?(k(S),p(T,11,yt(S))):z(S,T)?(k(S),Z==="{"?R(S,T)||B:p(T,10,A(S))):(I===7&&b(Ct.INVALID_LINKED_FORMAT,r(),0),T.braceNest=0,T.inLinked=!1,W(S,T))}}function W(S,T){let I={type:13};if(T.braceNest>0)return R(S,T)||m(T);if(T.inLinked)return H(S,T)||m(T);switch(S.currentChar()){case"{":return R(S,T)||m(T);case"}":return b(Ct.UNBALANCED_CLOSING_BRACE,r(),0),S.next(),p(T,3,"}");case"@":return H(S,T)||m(T);default:{if(L(S))return I=p(T,1,C(S)),T.braceNest=0,T.inLinked=!1,I;if(O(S))return p(T,0,Ot(S));break}}return I}function U(){const{currentType:S,offset:T,startLoc:I,endLoc:B}=d;return d.lastType=S,d.lastOffset=T,d.lastStartLoc=I,d.lastEndLoc=B,d.offset=a(),d.startLoc=r(),n.currentChar()===Hi?p(d,13):W(n,d)}return{nextToken:U,currentOffset:a,currentPosition:r,context:c}}const kh="parser",wh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Sh(t,e,s){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(e||s,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function zh(t={}){const e=t.location!==!1,{onError:s}=t;function n(h,g,_,y,...w){const P=h.currentPosition();if(P.offset+=y,P.column+=y,s){const E=e?ml(_,P):null,j=Ur(g,E,{domain:kh,args:w});s(j)}}function a(h,g,_){const y={type:h};return e&&(y.start=g,y.end=g,y.loc={start:_,end:_}),y}function r(h,g,_,y){e&&(h.end=g,h.loc&&(h.loc.end=_))}function o(h,g){const _=h.context(),y=a(3,_.offset,_.startLoc);return y.value=g,r(y,h.currentOffset(),h.currentPosition()),y}function l(h,g){const _=h.context(),{lastOffset:y,lastStartLoc:w}=_,P=a(5,y,w);return P.index=parseInt(g,10),h.nextToken(),r(P,h.currentOffset(),h.currentPosition()),P}function d(h,g){const _=h.context(),{lastOffset:y,lastStartLoc:w}=_,P=a(4,y,w);return P.key=g,h.nextToken(),r(P,h.currentOffset(),h.currentPosition()),P}function c(h,g){const _=h.context(),{lastOffset:y,lastStartLoc:w}=_,P=a(9,y,w);return P.value=g.replace(wh,Sh),h.nextToken(),r(P,h.currentOffset(),h.currentPosition()),P}function u(h){const g=h.nextToken(),_=h.context(),{lastOffset:y,lastStartLoc:w}=_,P=a(8,y,w);return g.type!==11?(n(h,Ct.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),P.value="",r(P,y,w),{nextConsumeToken:g,node:P}):(g.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,pi(g)),P.value=g.value||"",r(P,h.currentOffset(),h.currentPosition()),{node:P})}function b(h,g){const _=h.context(),y=a(7,_.offset,_.startLoc);return y.value=g,r(y,h.currentOffset(),h.currentPosition()),y}function p(h){const g=h.context(),_=a(6,g.offset,g.startLoc);let y=h.nextToken();if(y.type===8){const w=u(h);_.modifier=w.node,y=w.nextConsumeToken||h.nextToken()}switch(y.type!==9&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(y)),y=h.nextToken(),y.type===2&&(y=h.nextToken()),y.type){case 10:y.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(y)),_.key=b(h,y.value||"");break;case 4:y.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(y)),_.key=d(h,y.value||"");break;case 5:y.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(y)),_.key=l(h,y.value||"");break;case 6:y.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(y)),_.key=c(h,y.value||"");break;default:{n(h,Ct.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const w=h.context(),P=a(7,w.offset,w.startLoc);return P.value="",r(P,w.offset,w.startLoc),_.key=P,r(_,w.offset,w.startLoc),{nextConsumeToken:y,node:_}}}return r(_,h.currentOffset(),h.currentPosition()),{node:_}}function m(h){const g=h.context(),_=g.currentType===1?h.currentOffset():g.offset,y=g.currentType===1?g.endLoc:g.startLoc,w=a(2,_,y);w.items=[];let P=null;do{const z=P||h.nextToken();switch(P=null,z.type){case 0:z.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(z)),w.items.push(o(h,z.value||""));break;case 5:z.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(z)),w.items.push(l(h,z.value||""));break;case 4:z.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(z)),w.items.push(d(h,z.value||""));break;case 6:z.value==null&&n(h,Ct.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,pi(z)),w.items.push(c(h,z.value||""));break;case 7:{const L=p(h);w.items.push(L.node),P=L.nextConsumeToken||null;break}}}while(g.currentType!==13&&g.currentType!==1);const E=g.currentType===1?g.lastOffset:h.currentOffset(),j=g.currentType===1?g.lastEndLoc:h.currentPosition();return r(w,E,j),w}function f(h,g,_,y){const w=h.context();let P=y.items.length===0;const E=a(1,g,_);E.cases=[],E.cases.push(y);do{const j=m(h);P||(P=j.items.length===0),E.cases.push(j)}while(w.currentType!==13);return P&&n(h,Ct.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),r(E,h.currentOffset(),h.currentPosition()),E}function v(h){const g=h.context(),{offset:_,startLoc:y}=g,w=m(h);return g.currentType===13?w:f(h,_,y,w)}function k(h){const g=yh(h,Z0({},t)),_=g.context(),y=a(0,_.offset,_.startLoc);return e&&y.loc&&(y.loc.source=h),y.body=v(g),t.onCacheKey&&(y.cacheKey=t.onCacheKey(h)),_.currentType!==13&&n(g,Ct.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,h[_.offset]||""),r(y,g.currentOffset(),g.currentPosition()),y}return{parse:k}}function pi(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 Th(t,e={}){const s={ast:t,helpers:new Set};return{context:()=>s,helper:r=>(s.helpers.add(r),r)}}function fc(t,e){for(let s=0;s<t.length;s++)Pd(t[s],e)}function Pd(t,e){switch(t.type){case 1:fc(t.cases,e),e.helper("plural");break;case 2:fc(t.items,e);break;case 6:{Pd(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 Ah(t,e={}){const s=Th(t);s.helper("normalize"),t.body&&Pd(t.body,s);const n=s.context();t.helpers=Array.from(n.helpers)}function Ph(t){const e=t.body;return e.type===2?vc(e):e.cases.forEach(s=>vc(s)),t}function vc(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 n=t.items[s];if(!(n.type===3||n.type===9)||n.value==null)break;e.push(n.value)}if(e.length===t.items.length){t.static=Q0(e);for(let s=0;s<t.items.length;s++){const n=t.items[s];(n.type===3||n.type===9)&&delete n.value}}}}function Bs(t){switch(t.t=t.type,t.type){case 0:{const e=t;Bs(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,s=e.cases;for(let n=0;n<s.length;n++)Bs(s[n]);e.c=s,delete e.cases;break}case 2:{const e=t,s=e.items;for(let n=0;n<s.length;n++)Bs(s[n]);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;Bs(e.key),e.k=e.key,delete e.key,e.modifier&&(Bs(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 Eh(t,e){const{filename:s,breakLineCode:n,needIndent:a}=e,r=e.location!==!1,o={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:a,indentLevel:0};r&&t.loc&&(o.source=t.loc.source);const l=()=>o;function d(v,k){o.code+=v}function c(v,k=!0){const h=k?n:"";d(a?h+" ".repeat(v):h)}function u(v=!0){const k=++o.indentLevel;v&&c(k)}function b(v=!0){const k=--o.indentLevel;v&&c(k)}function p(){c(o.indentLevel)}return{context:l,push:d,indent:u,deindent:b,newline:p,helper:v=>`_${v}`,needIndent:()=>o.needIndent}}function jh(t,e){const{helper:s}=t;t.push(`${s("linked")}(`),nn(t,e.key),e.modifier?(t.push(", "),nn(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function Ch(t,e){const{helper:s,needIndent:n}=t;t.push(`${s("normalize")}([`),t.indent(n());const a=e.items.length;for(let r=0;r<a&&(nn(t,e.items[r]),r!==a-1);r++)t.push(", ");t.deindent(n()),t.push("])")}function xh(t,e){const{helper:s,needIndent:n}=t;if(e.cases.length>1){t.push(`${s("plural")}([`),t.indent(n());const a=e.cases.length;for(let r=0;r<a&&(nn(t,e.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(n()),t.push("])")}}function Mh(t,e){e.body?nn(t,e.body):t.push("null")}function nn(t,e){const{helper:s}=t;switch(e.type){case 0:Mh(t,e);break;case 1:xh(t,e);break;case 2:Ch(t,e);break;case 6:jh(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 Lh=(t,e={})=>{const s=pc(e.mode)?e.mode:"normal",n=pc(e.filename)?e.filename:"message.intl";e.sourceMap;const a=e.breakLineCode!=null?e.breakLineCode:s==="arrow"?";":`
|
|
91
|
-
`,r=e.needIndent?e.needIndent:s!=="arrow",o=t.helpers||[],l=
|
|
89
|
+
*/function R_(t,e,s){return{line:t,column:e,offset:s}}function Fl(t,e,s){return{start:t,end:e}}const Ft={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},O_=17;function _o(t,e,s={}){const{domain:n,messages:a,args:r}=s,o=t,l=new SyntaxError(String(o));return l.code=t,e&&(l.location=e),l.domain=n,l}function N_(t){throw t}const Hi=" ",B_="\r",De=`
|
|
90
|
+
`,G_="\u2028",q_="\u2029";function F_(t){const e=t;let s=0,n=1,a=1,r=0;const o=A=>e[A]===B_&&e[A+1]===De,l=A=>e[A]===De,u=A=>e[A]===q_,c=A=>e[A]===G_,d=A=>o(A)||l(A)||u(A)||c(A),b=()=>s,p=()=>n,m=()=>a,f=()=>r,v=A=>o(A)||u(A)||c(A)?De:e[A],_=()=>v(s),g=()=>v(s+r);function h(){return r=0,d(s)&&(n++,a=0),o(s)&&s++,s++,a++,e[s]}function y(){return o(s+r)&&r++,r++,e[s+r]}function k(){s=0,n=1,a=1,r=0}function w(A=0){r=A}function P(){const A=s+r;for(;A!==s;)h();r=0}return{index:b,line:p,column:m,peekOffset:f,charAt:v,currentChar:_,currentPeek:g,next:h,peek:y,reset:k,resetPeek:w,skipToPeek:P}}const rs=void 0,H_=".",Hc="'",V_="tokenizer";function U_(t,e={}){const s=e.location!==!1,n=F_(t),a=()=>n.index(),r=()=>R_(n.line(),n.column(),n.index()),o=r(),l=a(),u={currentType:13,offset:l,startLoc:o,endLoc:o,lastType:13,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:d}=e;function b(z,T,R,...G){const nt=c();if(T.column+=R,T.offset+=R,d){const K=s?Fl(nt.startLoc,T):null,D=_o(z,K,{domain:V_,args:G});d(D)}}function p(z,T,R){z.endLoc=r(),z.currentType=T;const G={type:T};return s&&(G.loc=Fl(z.startLoc,z.endLoc)),R!=null&&(G.value=R),G}const m=z=>p(z,13);function f(z,T){return z.currentChar()===T?(z.next(),T):(b(Ft.EXPECTED_TOKEN,r(),0,T),"")}function v(z){let T="";for(;z.currentPeek()===Hi||z.currentPeek()===De;)T+=z.currentPeek(),z.peek();return T}function _(z){const T=v(z);return z.skipToPeek(),T}function g(z){if(z===rs)return!1;const T=z.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T===95}function h(z){if(z===rs)return!1;const T=z.charCodeAt(0);return T>=48&&T<=57}function y(z,T){const{currentType:R}=T;if(R!==2)return!1;v(z);const G=g(z.currentPeek());return z.resetPeek(),G}function k(z,T){const{currentType:R}=T;if(R!==2)return!1;v(z);const G=z.currentPeek()==="-"?z.peek():z.currentPeek(),nt=h(G);return z.resetPeek(),nt}function w(z,T){const{currentType:R}=T;if(R!==2)return!1;v(z);const G=z.currentPeek()===Hc;return z.resetPeek(),G}function P(z,T){const{currentType:R}=T;if(R!==7)return!1;v(z);const G=z.currentPeek()===".";return z.resetPeek(),G}function A(z,T){const{currentType:R}=T;if(R!==8)return!1;v(z);const G=g(z.currentPeek());return z.resetPeek(),G}function E(z,T){const{currentType:R}=T;if(!(R===7||R===11))return!1;v(z);const G=z.currentPeek()===":";return z.resetPeek(),G}function S(z,T){const{currentType:R}=T;if(R!==9)return!1;const G=()=>{const K=z.currentPeek();return K==="{"?g(z.peek()):K==="@"||K==="|"||K===":"||K==="."||K===Hi||!K?!1:K===De?(z.peek(),G()):N(z,!1)},nt=G();return z.resetPeek(),nt}function L(z){v(z);const T=z.currentPeek()==="|";return z.resetPeek(),T}function N(z,T=!0){const R=(nt=!1,K="")=>{const D=z.currentPeek();return D==="{"||D==="@"||!D?nt:D==="|"?!(K===Hi||K===De):D===Hi?(z.peek(),R(!0,Hi)):D===De?(z.peek(),R(!0,De)):!0},G=R();return T&&z.resetPeek(),G}function M(z,T){const R=z.currentChar();return R===rs?rs:T(R)?(z.next(),R):null}function x(z){const T=z.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36}function H(z){return M(z,x)}function X(z){const T=z.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36||T===45}function it(z){return M(z,X)}function mt(z){const T=z.charCodeAt(0);return T>=48&&T<=57}function dt(z){return M(z,mt)}function Pt(z){const T=z.charCodeAt(0);return T>=48&&T<=57||T>=65&&T<=70||T>=97&&T<=102}function Lt(z){return M(z,Pt)}function tt(z){let T="",R="";for(;T=dt(z);)R+=T;return R}function et(z){let T="";for(;;){const R=z.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R===Hi||R===De)if(N(z))T+=R,z.next();else{if(L(z))break;T+=R,z.next()}else T+=R,z.next()}return T}function kt(z){_(z);let T="",R="";for(;T=it(z);)R+=T;return z.currentChar()===rs&&b(Ft.UNTERMINATED_CLOSING_BRACE,r(),0),R}function zt(z){_(z);let T="";return z.currentChar()==="-"?(z.next(),T+=`-${tt(z)}`):T+=tt(z),z.currentChar()===rs&&b(Ft.UNTERMINATED_CLOSING_BRACE,r(),0),T}function ge(z){return z!==Hc&&z!==De}function ht(z){_(z),f(z,"'");let T="",R="";for(;T=M(z,ge);)T==="\\"?R+=F(z):R+=T;const G=z.currentChar();return G===De||G===rs?(b(Ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),G===De&&(z.next(),f(z,"'")),R):(f(z,"'"),R)}function F(z){const T=z.currentChar();switch(T){case"\\":case"'":return z.next(),`\\${T}`;case"u":return J(z,T,4);case"U":return J(z,T,6);default:return b(Ft.UNKNOWN_ESCAPE_SEQUENCE,r(),0,T),""}}function J(z,T,R){f(z,T);let G="";for(let nt=0;nt<R;nt++){const K=Lt(z);if(!K){b(Ft.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${T}${G}${z.currentChar()}`);break}G+=K}return`\\${T}${G}`}function Q(z){return z!=="{"&&z!=="}"&&z!==Hi&&z!==De}function rt(z){_(z);let T="",R="";for(;T=M(z,Q);)R+=T;return R}function xt(z){let T="",R="";for(;T=H(z);)R+=T;return R}function j(z){const T=R=>{const G=z.currentChar();return G==="{"||G==="@"||G==="|"||G==="("||G===")"||!G||G===Hi?R:(R+=G,z.next(),T(R))};return T("")}function C(z){_(z);const T=f(z,"|");return _(z),T}function O(z,T){let R=null;switch(z.currentChar()){case"{":return T.braceNest>=1&&b(Ft.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),z.next(),R=p(T,2,"{"),_(z),T.braceNest++,R;case"}":return T.braceNest>0&&T.currentType===2&&b(Ft.EMPTY_PLACEHOLDER,r(),0),z.next(),R=p(T,3,"}"),T.braceNest--,T.braceNest>0&&_(z),T.inLinked&&T.braceNest===0&&(T.inLinked=!1),R;case"@":return T.braceNest>0&&b(Ft.UNTERMINATED_CLOSING_BRACE,r(),0),R=V(z,T)||m(T),T.braceNest=0,R;default:{let nt=!0,K=!0,D=!0;if(L(z))return T.braceNest>0&&b(Ft.UNTERMINATED_CLOSING_BRACE,r(),0),R=p(T,1,C(z)),T.braceNest=0,T.inLinked=!1,R;if(T.braceNest>0&&(T.currentType===4||T.currentType===5||T.currentType===6))return b(Ft.UNTERMINATED_CLOSING_BRACE,r(),0),T.braceNest=0,W(z,T);if(nt=y(z,T))return R=p(T,4,kt(z)),_(z),R;if(K=k(z,T))return R=p(T,5,zt(z)),_(z),R;if(D=w(z,T))return R=p(T,6,ht(z)),_(z),R;if(!nt&&!K&&!D)return R=p(T,12,rt(z)),b(Ft.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,R.value),_(z),R;break}}return R}function V(z,T){const{currentType:R}=T;let G=null;const nt=z.currentChar();switch((R===7||R===8||R===11||R===9)&&(nt===De||nt===Hi)&&b(Ft.INVALID_LINKED_FORMAT,r(),0),nt){case"@":return z.next(),G=p(T,7,"@"),T.inLinked=!0,G;case".":return _(z),z.next(),p(T,8,".");case":":return _(z),z.next(),p(T,9,":");default:return L(z)?(G=p(T,1,C(z)),T.braceNest=0,T.inLinked=!1,G):P(z,T)||E(z,T)?(_(z),V(z,T)):A(z,T)?(_(z),p(T,11,xt(z))):S(z,T)?(_(z),nt==="{"?O(z,T)||G:p(T,10,j(z))):(R===7&&b(Ft.INVALID_LINKED_FORMAT,r(),0),T.braceNest=0,T.inLinked=!1,W(z,T))}}function W(z,T){let R={type:13};if(T.braceNest>0)return O(z,T)||m(T);if(T.inLinked)return V(z,T)||m(T);switch(z.currentChar()){case"{":return O(z,T)||m(T);case"}":return b(Ft.UNBALANCED_CLOSING_BRACE,r(),0),z.next(),p(T,3,"}");case"@":return V(z,T)||m(T);default:{if(L(z))return R=p(T,1,C(z)),T.braceNest=0,T.inLinked=!1,R;if(N(z))return p(T,0,et(z));break}}return R}function U(){const{currentType:z,offset:T,startLoc:R,endLoc:G}=u;return u.lastType=z,u.lastOffset=T,u.lastStartLoc=R,u.lastEndLoc=G,u.offset=a(),u.startLoc=r(),n.currentChar()===rs?p(u,13):W(n,u)}return{nextToken:U,currentOffset:a,currentPosition:r,context:c}}const W_="parser",K_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function X_(t,e,s){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(e||s,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function Y_(t={}){const e=t.location!==!1,{onError:s}=t;function n(g,h,y,k,...w){const P=g.currentPosition();if(P.offset+=k,P.column+=k,s){const A=e?Fl(y,P):null,E=_o(h,A,{domain:W_,args:w});s(E)}}function a(g,h,y){const k={type:g};return e&&(k.start=h,k.end=h,k.loc={start:y,end:y}),k}function r(g,h,y,k){e&&(g.end=h,g.loc&&(g.loc.end=y))}function o(g,h){const y=g.context(),k=a(3,y.offset,y.startLoc);return k.value=h,r(k,g.currentOffset(),g.currentPosition()),k}function l(g,h){const y=g.context(),{lastOffset:k,lastStartLoc:w}=y,P=a(5,k,w);return P.index=parseInt(h,10),g.nextToken(),r(P,g.currentOffset(),g.currentPosition()),P}function u(g,h){const y=g.context(),{lastOffset:k,lastStartLoc:w}=y,P=a(4,k,w);return P.key=h,g.nextToken(),r(P,g.currentOffset(),g.currentPosition()),P}function c(g,h){const y=g.context(),{lastOffset:k,lastStartLoc:w}=y,P=a(9,k,w);return P.value=h.replace(K_,X_),g.nextToken(),r(P,g.currentOffset(),g.currentPosition()),P}function d(g){const h=g.nextToken(),y=g.context(),{lastOffset:k,lastStartLoc:w}=y,P=a(8,k,w);return h.type!==11?(n(g,Ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),P.value="",r(P,k,w),{nextConsumeToken:h,node:P}):(h.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ti(h)),P.value=h.value||"",r(P,g.currentOffset(),g.currentPosition()),{node:P})}function b(g,h){const y=g.context(),k=a(7,y.offset,y.startLoc);return k.value=h,r(k,g.currentOffset(),g.currentPosition()),k}function p(g){const h=g.context(),y=a(6,h.offset,h.startLoc);let k=g.nextToken();if(k.type===8){const w=d(g);y.modifier=w.node,k=w.nextConsumeToken||g.nextToken()}switch(k.type!==9&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(k)),k=g.nextToken(),k.type===2&&(k=g.nextToken()),k.type){case 10:k.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(k)),y.key=b(g,k.value||"");break;case 4:k.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(k)),y.key=u(g,k.value||"");break;case 5:k.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(k)),y.key=l(g,k.value||"");break;case 6:k.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(k)),y.key=c(g,k.value||"");break;default:{n(g,Ft.UNEXPECTED_EMPTY_LINKED_KEY,h.lastStartLoc,0);const w=g.context(),P=a(7,w.offset,w.startLoc);return P.value="",r(P,w.offset,w.startLoc),y.key=P,r(y,w.offset,w.startLoc),{nextConsumeToken:k,node:y}}}return r(y,g.currentOffset(),g.currentPosition()),{node:y}}function m(g){const h=g.context(),y=h.currentType===1?g.currentOffset():h.offset,k=h.currentType===1?h.endLoc:h.startLoc,w=a(2,y,k);w.items=[];let P=null;do{const S=P||g.nextToken();switch(P=null,S.type){case 0:S.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(S)),w.items.push(o(g,S.value||""));break;case 5:S.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(S)),w.items.push(l(g,S.value||""));break;case 4:S.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(S)),w.items.push(u(g,S.value||""));break;case 6:S.value==null&&n(g,Ft.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Ti(S)),w.items.push(c(g,S.value||""));break;case 7:{const L=p(g);w.items.push(L.node),P=L.nextConsumeToken||null;break}}}while(h.currentType!==13&&h.currentType!==1);const A=h.currentType===1?h.lastOffset:g.currentOffset(),E=h.currentType===1?h.lastEndLoc:g.currentPosition();return r(w,A,E),w}function f(g,h,y,k){const w=g.context();let P=k.items.length===0;const A=a(1,h,y);A.cases=[],A.cases.push(k);do{const E=m(g);P||(P=E.items.length===0),A.cases.push(E)}while(w.currentType!==13);return P&&n(g,Ft.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),r(A,g.currentOffset(),g.currentPosition()),A}function v(g){const h=g.context(),{offset:y,startLoc:k}=h,w=m(g);return h.currentType===13?w:f(g,y,k,w)}function _(g){const h=U_(g,Em({},t)),y=h.context(),k=a(0,y.offset,y.startLoc);return e&&k.loc&&(k.loc.source=g),k.body=v(h),t.onCacheKey&&(k.cacheKey=t.onCacheKey(g)),y.currentType!==13&&n(h,Ft.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,g[y.offset]||""),r(k,h.currentOffset(),h.currentPosition()),k}return{parse:_}}function Ti(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 $_(t,e={}){const s={ast:t,helpers:new Set};return{context:()=>s,helper:r=>(s.helpers.add(r),r)}}function Vc(t,e){for(let s=0;s<t.length;s++)ed(t[s],e)}function ed(t,e){switch(t.type){case 1:Vc(t.cases,e),e.helper("plural");break;case 2:Vc(t.items,e);break;case 6:{ed(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 Z_(t,e={}){const s=$_(t);s.helper("normalize"),t.body&&ed(t.body,s);const n=s.context();t.helpers=Array.from(n.helpers)}function Q_(t){const e=t.body;return e.type===2?Uc(e):e.cases.forEach(s=>Uc(s)),t}function Uc(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 n=t.items[s];if(!(n.type===3||n.type===9)||n.value==null)break;e.push(n.value)}if(e.length===t.items.length){t.static=jm(e);for(let s=0;s<t.items.length;s++){const n=t.items[s];(n.type===3||n.type===9)&&delete n.value}}}}function en(t){switch(t.t=t.type,t.type){case 0:{const e=t;en(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,s=e.cases;for(let n=0;n<s.length;n++)en(s[n]);e.c=s,delete e.cases;break}case 2:{const e=t,s=e.items;for(let n=0;n<s.length;n++)en(s[n]);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;en(e.key),e.k=e.key,delete e.key,e.modifier&&(en(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 J_(t,e){const{filename:s,breakLineCode:n,needIndent:a}=e,r=e.location!==!1,o={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:a,indentLevel:0};r&&t.loc&&(o.source=t.loc.source);const l=()=>o;function u(v,_){o.code+=v}function c(v,_=!0){const g=_?n:"";u(a?g+" ".repeat(v):g)}function d(v=!0){const _=++o.indentLevel;v&&c(_)}function b(v=!0){const _=--o.indentLevel;v&&c(_)}function p(){c(o.indentLevel)}return{context:l,push:u,indent:d,deindent:b,newline:p,helper:v=>`_${v}`,needIndent:()=>o.needIndent}}function ty(t,e){const{helper:s}=t;t.push(`${s("linked")}(`),yn(t,e.key),e.modifier?(t.push(", "),yn(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function ey(t,e){const{helper:s,needIndent:n}=t;t.push(`${s("normalize")}([`),t.indent(n());const a=e.items.length;for(let r=0;r<a&&(yn(t,e.items[r]),r!==a-1);r++)t.push(", ");t.deindent(n()),t.push("])")}function iy(t,e){const{helper:s,needIndent:n}=t;if(e.cases.length>1){t.push(`${s("plural")}([`),t.indent(n());const a=e.cases.length;for(let r=0;r<a&&(yn(t,e.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(n()),t.push("])")}}function sy(t,e){e.body?yn(t,e.body):t.push("null")}function yn(t,e){const{helper:s}=t;switch(e.type){case 0:sy(t,e);break;case 1:iy(t,e);break;case 2:ey(t,e);break;case 6:ty(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 ny=(t,e={})=>{const s=Fc(e.mode)?e.mode:"normal",n=Fc(e.filename)?e.filename:"message.intl";e.sourceMap;const a=e.breakLineCode!=null?e.breakLineCode:s==="arrow"?";":`
|
|
91
|
+
`,r=e.needIndent?e.needIndent:s!=="arrow",o=t.helpers||[],l=J_(t,{filename:n,breakLineCode:a,needIndent:r});l.push(s==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(r),o.length>0&&(l.push(`const { ${jm(o.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),yn(l,t),l.deindent(r),l.push("}"),delete t.helpers;const{code:u,map:c}=l.context();return{ast:t,code:u,map:c?c.toJSON():void 0}};function ay(t,e={}){const s=Em({},e),n=!!s.jit,a=!!s.minify,r=s.optimize==null?!0:s.optimize,l=Y_(s).parse(t);return n?(r&&Q_(l),a&&en(l),{ast:l,code:""}):(Z_(l,s),ny(l,s))}/*!
|
|
92
92
|
* core-base v11.1.1
|
|
93
93
|
* (c) 2025 kazuya kawaguchi
|
|
94
94
|
* Released under the MIT License.
|
|
95
|
-
*/function Ih(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ah().__INTLIFY_PROD_DEVTOOLS__=!1)}function wo(t){return s=>Rh(s,t)}function Rh(t,e){const s=Nh(e);if(s==null)throw ta(0);if(Ed(s)===1){const r=qh(s);return t.plural(r.reduce((o,l)=>[...o,gc(t,l)],[]))}else return gc(t,s)}const Oh=["b","body"];function Nh(t){return ns(t,Oh)}const Bh=["c","cases"];function qh(t){return ns(t,Bh,[])}function gc(t,e){const s=Fh(e);if(s!=null)return t.type==="text"?s:t.normalize([s]);{const n=Hh(e).reduce((a,r)=>[...a,fl(t,r)],[]);return t.normalize(n)}}const Gh=["s","static"];function Fh(t){return ns(t,Gh)}const Vh=["i","items"];function Hh(t){return ns(t,Vh,[])}function fl(t,e){const s=Ed(e);switch(s){case 3:return Ta(e,s);case 9:return Ta(e,s);case 4:{const n=e;if(gs(n,"k")&&n.k)return t.interpolate(t.named(n.k));if(gs(n,"key")&&n.key)return t.interpolate(t.named(n.key));throw ta(s)}case 5:{const n=e;if(gs(n,"i")&&Ae(n.i))return t.interpolate(t.list(n.i));if(gs(n,"index")&&Ae(n.index))return t.interpolate(t.list(n.index));throw ta(s)}case 6:{const n=e,a=Kh(n),r=Yh(n);return t.linked(fl(t,r),a?fl(t,a):void 0,t.type)}case 7:return Ta(e,s);case 8:return Ta(e,s);default:throw new Error(`unhandled node on format message part: ${s}`)}}const Uh=["t","type"];function Ed(t){return ns(t,Uh)}const Wh=["v","value"];function Ta(t,e){const s=ns(t,Wh);if(s)return s;throw ta(e)}const $h=["m","modifier"];function Kh(t){return ns(t,$h)}const Xh=["k","key"];function Yh(t){const e=ns(t,Xh);if(e)return e;throw ta(6)}function ns(t,e,s){for(let n=0;n<e.length;n++){const a=e[n];if(gs(t,a)&&t[a]!=null)return t[a]}return s}function ta(t){return new Error(`unhandled node type: ${t}`)}const Zh=t=>t;let Aa=xe();function an(t){return pe(t)&&Ed(t)===0&&(gs(t,"b")||gs(t,"body"))}function Qh(t,e={}){let s=!1;const n=e.onError||ph;return e.onError=a=>{s=!0,n(a)},{...Dh(t,e),detectError:s}}function Jh(t,e){if(ft(t)){Ie(e.warnHtmlMessage)&&e.warnHtmlMessage;const n=(e.onCacheKey||Zh)(t),a=Aa[n];if(a)return a;const{ast:r,detectError:o}=Qh(t,{...e,location:!1,jit:!0}),l=wo(r);return o?l:Aa[n]=l}else{const s=t.cacheKey;if(s){const n=Aa[s];return n||(Aa[s]=wo(t))}else return wo(t)}}let ea=null;function ty(t){ea=t}function ey(t,e,s){ea&&ea.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:s})}const iy=sy("function:translate");function sy(t){return e=>ea&&ea.emit(t,e)}const Di={INVALID_ARGUMENT:bh,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},ny=24;function Ii(t){return Ur(t,null,void 0)}function jd(t,e){return e.locale!=null?_c(e.locale):_c(t.locale)}let So;function _c(t){if(ft(t))return t;if(Jt(t)){if(t.resolvedOnce&&So!=null)return So;if(t.constructor.name==="Function"){const e=t();if(oh(e))throw Ii(Di.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return So=e}else throw Ii(Di.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ii(Di.NOT_SUPPORT_LOCALE_TYPE)}function ay(t,e,s){return[...new Set([s,...wi(e)?e:pe(e)?Object.keys(e):ft(e)?[e]:[s]])]}function J0(t,e,s){const n=ft(s)?s:lr,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let o=[s];for(;wi(o);)o=hc(r,o,e);const l=wi(e)||!Gt(e)?e:e.default?e.default:null;o=ft(l)?[l]:l,wi(o)&&hc(r,o,!1),a.__localeChainCache.set(n,r)}return r}function hc(t,e,s){let n=!0;for(let a=0;a<e.length&&Ie(n);a++){const r=e[a];ft(r)&&(n=ry(t,e[a],s))}return n}function ry(t,e,s){let n;const a=e.split("-");do{const r=a.join("-");n=oy(t,r,s),a.splice(-1,1)}while(a.length&&n===!0);return n}function oy(t,e,s){let n=!1;if(!t.includes(e)&&(n=!0,e)){n=e[e.length-1]!=="!";const a=e.replace(/!/g,"");t.push(a),(wi(s)||Gt(s))&&s[a]&&(n=s[a])}return n}const as=[];as[0]={w:[0],i:[3,0],"[":[4],o:[7]};as[1]={w:[1],".":[2],"[":[4],o:[7]};as[2]={w:[2],i:[3,0],0:[3,0]};as[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};as[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};as[5]={"'":[4,0],o:8,l:[5,0]};as[6]={'"':[4,0],o:8,l:[6,0]};const ly=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dy(t){return ly.test(t)}function uy(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 cy(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 by(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:dy(e)?uy(e):"*"+e}function py(t){const e=[];let s=-1,n=0,a=0,r,o,l,d,c,u,b;const p=[];p[0]=()=>{o===void 0?o=l:o+=l},p[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},p[2]=()=>{p[0](),a++},p[3]=()=>{if(a>0)a--,n=4,p[0]();else{if(a=0,o===void 0||(o=by(o),o===!1))return!1;p[1]()}};function m(){const f=t[s+1];if(n===5&&f==="'"||n===6&&f==='"')return s++,l="\\"+f,p[0](),!0}for(;n!==null;)if(s++,r=t[s],!(r==="\\"&&m())){if(d=cy(r),b=as[n],c=b[d]||b.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=p[c[1]],u&&(l=r,u()===!1))))return;if(n===7)return e}}const yc=new Map;function my(t,e){return pe(t)?t[e]:null}function fy(t,e){if(!pe(t))return null;let s=yc.get(e);if(s||(s=py(e),s&&yc.set(e,s)),!s)return null;const n=s.length;let a=t,r=0;for(;r<n;){const o=a[s[r]];if(o===void 0||Jt(a))return null;a=o,r++}return a}const vy="11.1.1",Wr=-1,lr="en-US",kc="",wc=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function gy(){return{upper:(t,e)=>e==="text"&&ft(t)?t.toUpperCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&ft(t)?t.toLowerCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&ft(t)?wc(t):e==="vnode"&&pe(t)&&"__v_isVNode"in t?wc(t.children):t}}let tm;function _y(t){tm=t}let em;function hy(t){em=t}let im;function yy(t){im=t}let sm=null;const ky=t=>{sm=t},wy=()=>sm;let nm=null;const Sc=t=>{nm=t},Sy=()=>nm;let zc=0;function zy(t={}){const e=Jt(t.onWarn)?t.onWarn:uh,s=ft(t.version)?t.version:vy,n=ft(t.locale)||Jt(t.locale)?t.locale:lr,a=Jt(n)?lr:n,r=wi(t.fallbackLocale)||Gt(t.fallbackLocale)||ft(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,o=Gt(t.messages)?t.messages:zo(a),l=Gt(t.datetimeFormats)?t.datetimeFormats:zo(a),d=Gt(t.numberFormats)?t.numberFormats:zo(a),c=cn(xe(),t.modifiers,gy()),u=t.pluralRules||xe(),b=Jt(t.missing)?t.missing:null,p=Ie(t.missingWarn)||uc(t.missingWarn)?t.missingWarn:!0,m=Ie(t.fallbackWarn)||uc(t.fallbackWarn)?t.fallbackWarn:!0,f=!!t.fallbackFormat,v=!!t.unresolving,k=Jt(t.postTranslation)?t.postTranslation:null,h=Gt(t.processor)?t.processor:null,g=Ie(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,y=Jt(t.messageCompiler)?t.messageCompiler:tm,w=Jt(t.messageResolver)?t.messageResolver:em||my,P=Jt(t.localeFallbacker)?t.localeFallbacker:im||ay,E=pe(t.fallbackContext)?t.fallbackContext:void 0,j=t,z=pe(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,L=pe(j.__numberFormatters)?j.__numberFormatters:new Map,O=pe(j.__meta)?j.__meta:{};zc++;const x={version:s,cid:zc,locale:n,fallbackLocale:r,messages:o,modifiers:c,pluralRules:u,missing:b,missingWarn:p,fallbackWarn:m,fallbackFormat:f,unresolving:v,postTranslation:k,processor:h,warnHtmlMessage:g,escapeParameter:_,messageCompiler:y,messageResolver:w,localeFallbacker:P,fallbackContext:E,onWarn:e,__meta:O};return x.datetimeFormats=l,x.numberFormats=d,x.__datetimeFormatters=z,x.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&ey(x,s,O),x}const zo=t=>({[t]:xe()});function Cd(t,e,s,n,a){const{missing:r,onWarn:o}=t;if(r!==null){const l=r(t,s,e,a);return ft(l)?l:e}else return e}function wn(t,e,s){const n=t;n.__localeChainCache=new Map,t.localeFallbacker(t,s,e)}function Ty(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function Ay(t,e){const s=e.indexOf(t);if(s===-1)return!1;for(let n=s+1;n<e.length;n++)if(Ty(t,e[n]))return!0;return!1}function Tc(t,...e){const{datetimeFormats:s,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:l}=t,[d,c,u,b]=vl(...e),p=Ie(u.missingWarn)?u.missingWarn:t.missingWarn;Ie(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const m=!!u.part,f=jd(t,u),v=o(t,a,f);if(!ft(d)||d==="")return new Intl.DateTimeFormat(f,b).format(c);let k={},h,g=null;const _="datetime format";for(let P=0;P<v.length&&(h=v[P],k=s[h]||{},g=k[d],!Gt(g));P++)Cd(t,d,h,p,_);if(!Gt(g)||!ft(h))return n?Wr:d;let y=`${h}__${d}`;Td(b)||(y=`${y}__${JSON.stringify(b)}`);let w=l.get(y);return w||(w=new Intl.DateTimeFormat(h,cn({},g,b)),l.set(y,w)),m?w.formatToParts(c):w.format(c)}const am=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function vl(...t){const[e,s,n,a]=t,r=xe();let o=xe(),l;if(ft(e)){const d=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Ii(Di.INVALID_ISO_DATE_ARGUMENT);const c=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();l=new Date(c);try{l.toISOString()}catch{throw Ii(Di.INVALID_ISO_DATE_ARGUMENT)}}else if(sh(e)){if(isNaN(e.getTime()))throw Ii(Di.INVALID_DATE_ARGUMENT);l=e}else if(Ae(e))l=e;else throw Ii(Di.INVALID_ARGUMENT);return ft(s)?r.key=s:Gt(s)&&Object.keys(s).forEach(d=>{am.includes(d)?o[d]=s[d]:r[d]=s[d]}),ft(n)?r.locale=n:Gt(n)&&(o=n),Gt(a)&&(o=a),[r.key||"",l,r,o]}function Ac(t,e,s){const n=t;for(const a in s){const r=`${e}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function Pc(t,...e){const{numberFormats:s,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:l}=t,[d,c,u,b]=gl(...e),p=Ie(u.missingWarn)?u.missingWarn:t.missingWarn;Ie(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const m=!!u.part,f=jd(t,u),v=o(t,a,f);if(!ft(d)||d==="")return new Intl.NumberFormat(f,b).format(c);let k={},h,g=null;const _="number format";for(let P=0;P<v.length&&(h=v[P],k=s[h]||{},g=k[d],!Gt(g));P++)Cd(t,d,h,p,_);if(!Gt(g)||!ft(h))return n?Wr:d;let y=`${h}__${d}`;Td(b)||(y=`${y}__${JSON.stringify(b)}`);let w=l.get(y);return w||(w=new Intl.NumberFormat(h,cn({},g,b)),l.set(y,w)),m?w.formatToParts(c):w.format(c)}const rm=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function gl(...t){const[e,s,n,a]=t,r=xe();let o=xe();if(!Ae(e))throw Ii(Di.INVALID_ARGUMENT);const l=e;return ft(s)?r.key=s:Gt(s)&&Object.keys(s).forEach(d=>{rm.includes(d)?o[d]=s[d]:r[d]=s[d]}),ft(n)?r.locale=n:Gt(n)&&(o=n),Gt(a)&&(o=a),[r.key||"",l,r,o]}function Ec(t,e,s){const n=t;for(const a in s){const r=`${e}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}const Py=t=>t,Ey=t=>"",jy="text",Cy=t=>t.length===0?"":dh(t),xy=lh;function jc(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function My(t){const e=Ae(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Ae(t.named.count)||Ae(t.named.n))?Ae(t.named.count)?t.named.count:Ae(t.named.n)?t.named.n:e:e}function Ly(t,e){e.count||(e.count=t),e.n||(e.n=t)}function Dy(t={}){const e=t.locale,s=My(t),n=pe(t.pluralRules)&&ft(e)&&Jt(t.pluralRules[e])?t.pluralRules[e]:jc,a=pe(t.pluralRules)&&ft(e)&&Jt(t.pluralRules[e])?jc:void 0,r=h=>h[n(s,h.length,a)],o=t.list||[],l=h=>o[h],d=t.named||xe();Ae(t.pluralIndex)&&Ly(s,d);const c=h=>d[h];function u(h,g){const _=Jt(t.messages)?t.messages(h,!!g):pe(t.messages)?t.messages[h]:!1;return _||(t.parent?t.parent.message(h):Ey)}const b=h=>t.modifiers?t.modifiers[h]:Py,p=Gt(t.processor)&&Jt(t.processor.normalize)?t.processor.normalize:Cy,m=Gt(t.processor)&&Jt(t.processor.interpolate)?t.processor.interpolate:xy,f=Gt(t.processor)&&ft(t.processor.type)?t.processor.type:jy,k={list:l,named:c,plural:r,linked:(h,...g)=>{const[_,y]=g;let w="text",P="";g.length===1?pe(_)?(P=_.modifier||P,w=_.type||w):ft(_)&&(P=_||P):g.length===2&&(ft(_)&&(P=_||P),ft(y)&&(w=y||w));const E=u(h,!0)(k),j=w==="vnode"&&wi(E)&&P?E[0]:E;return P?b(P)(j,w):j},message:u,type:f,interpolate:m,normalize:p,values:cn(xe(),o,d)};return k}const Cc=()=>"",We=t=>Jt(t);function xc(t,...e){const{fallbackFormat:s,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:o,messages:l}=t,[d,c]=_l(...e),u=Ie(c.missingWarn)?c.missingWarn:t.missingWarn,b=Ie(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,p=Ie(c.escapeParameter)?c.escapeParameter:t.escapeParameter,m=!!c.resolvedMessage,f=ft(c.default)||Ie(c.default)?Ie(c.default)?r?d:()=>d:c.default:s?r?d:()=>d:null,v=s||f!=null&&(ft(f)||Jt(f)),k=jd(t,c);p&&Iy(c);let[h,g,_]=m?[d,k,l[k]||xe()]:om(t,d,k,o,b,u),y=h,w=d;if(!m&&!(ft(y)||an(y)||We(y))&&v&&(y=f,w=y),!m&&(!(ft(y)||an(y)||We(y))||!ft(g)))return a?Wr:d;let P=!1;const E=()=>{P=!0},j=We(y)?y:lm(t,d,g,y,w,E);if(P)return y;const z=Ny(t,g,_,c),L=Dy(z),O=Ry(t,j,L),x=n?n(O,d):O;if(__INTLIFY_PROD_DEVTOOLS__){const M={timestamp:Date.now(),key:ft(d)?d:We(y)?y.key:"",locale:g||(We(y)?y.locale:""),format:ft(y)?y:We(y)?y.source:"",message:x};M.meta=cn({},t.__meta,wy()||{}),iy(M)}return x}function Iy(t){wi(t.list)?t.list=t.list.map(e=>ft(e)?bc(e):e):pe(t.named)&&Object.keys(t.named).forEach(e=>{ft(t.named[e])&&(t.named[e]=bc(t.named[e]))})}function om(t,e,s,n,a,r){const{messages:o,onWarn:l,messageResolver:d,localeFallbacker:c}=t,u=c(t,n,s);let b=xe(),p,m=null;const f="translate";for(let v=0;v<u.length&&(p=u[v],b=o[p]||xe(),(m=d(b,e))===null&&(m=b[e]),!(ft(m)||an(m)||We(m)));v++)if(!Ay(p,u)){const k=Cd(t,e,p,r,f);k!==e&&(m=k)}return[m,p,b]}function lm(t,e,s,n,a,r){const{messageCompiler:o,warnHtmlMessage:l}=t;if(We(n)){const c=n;return c.locale=c.locale||s,c.key=c.key||e,c}if(o==null){const c=()=>n;return c.locale=s,c.key=e,c}const d=o(n,Oy(t,s,a,n,l,r));return d.locale=s,d.key=e,d.source=n,d}function Ry(t,e,s){return e(s)}function _l(...t){const[e,s,n]=t,a=xe();if(!ft(e)&&!Ae(e)&&!We(e)&&!an(e))throw Ii(Di.INVALID_ARGUMENT);const r=Ae(e)?String(e):(We(e),e);return Ae(s)?a.plural=s:ft(s)?a.default=s:Gt(s)&&!Td(s)?a.named=s:wi(s)&&(a.list=s),Ae(n)?a.plural=n:ft(n)?a.default=n:Gt(n)&&cn(a,n),[r,a]}function Oy(t,e,s,n,a,r){return{locale:e,key:s,warnHtmlMessage:a,onError:o=>{throw r&&r(o),o},onCacheKey:o=>eh(e,s,o)}}function Ny(t,e,s,n){const{modifiers:a,pluralRules:r,messageResolver:o,fallbackLocale:l,fallbackWarn:d,missingWarn:c,fallbackContext:u}=t,p={locale:e,modifiers:a,pluralRules:r,messages:(m,f)=>{let v=o(s,m);if(v==null&&(u||f)){const[,,k]=om(u||t,m,e,l,d,c);v=o(k,m)}if(ft(v)||an(v)){let k=!1;const g=lm(t,m,e,v,m,()=>{k=!0});return k?Cc:g}else return We(v)?v:Cc}};return t.processor&&(p.processor=t.processor),n.list&&(p.list=n.list),n.named&&(p.named=n.named),Ae(n.plural)&&(p.pluralIndex=n.plural),p}Ih();/*!
|
|
95
|
+
*/function ry(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(C_().__INTLIFY_PROD_DEVTOOLS__=!1)}function Xo(t){return s=>oy(s,t)}function oy(t,e){const s=uy(e);if(s==null)throw ga(0);if(id(s)===1){const r=cy(s);return t.plural(r.reduce((o,l)=>[...o,Wc(t,l)],[]))}else return Wc(t,s)}const ly=["b","body"];function uy(t){return ys(t,ly)}const dy=["c","cases"];function cy(t){return ys(t,dy,[])}function Wc(t,e){const s=py(e);if(s!=null)return t.type==="text"?s:t.normalize([s]);{const n=fy(e).reduce((a,r)=>[...a,Hl(t,r)],[]);return t.normalize(n)}}const by=["s","static"];function py(t){return ys(t,by)}const my=["i","items"];function fy(t){return ys(t,my,[])}function Hl(t,e){const s=id(e);switch(s){case 3:return Ya(e,s);case 9:return Ya(e,s);case 4:{const n=e;if(Cs(n,"k")&&n.k)return t.interpolate(t.named(n.k));if(Cs(n,"key")&&n.key)return t.interpolate(t.named(n.key));throw ga(s)}case 5:{const n=e;if(Cs(n,"i")&&Be(n.i))return t.interpolate(t.list(n.i));if(Cs(n,"index")&&Be(n.index))return t.interpolate(t.list(n.index));throw ga(s)}case 6:{const n=e,a=_y(n),r=ky(n);return t.linked(Hl(t,r),a?Hl(t,a):void 0,t.type)}case 7:return Ya(e,s);case 8:return Ya(e,s);default:throw new Error(`unhandled node on format message part: ${s}`)}}const vy=["t","type"];function id(t){return ys(t,vy)}const gy=["v","value"];function Ya(t,e){const s=ys(t,gy);if(s)return s;throw ga(e)}const hy=["m","modifier"];function _y(t){return ys(t,hy)}const yy=["k","key"];function ky(t){const e=ys(t,yy);if(e)return e;throw ga(6)}function ys(t,e,s){for(let n=0;n<e.length;n++){const a=e[n];if(Cs(t,a)&&t[a]!=null)return t[a]}return s}function ga(t){return new Error(`unhandled node type: ${t}`)}const wy=t=>t;let $a=Fe();function kn(t){return Te(t)&&id(t)===0&&(Cs(t,"b")||Cs(t,"body"))}function Sy(t,e={}){let s=!1;const n=e.onError||N_;return e.onError=a=>{s=!0,n(a)},{...ay(t,e),detectError:s}}function zy(t,e){if(St(t)){Ue(e.warnHtmlMessage)&&e.warnHtmlMessage;const n=(e.onCacheKey||wy)(t),a=$a[n];if(a)return a;const{ast:r,detectError:o}=Sy(t,{...e,location:!1,jit:!0}),l=Xo(r);return o?l:$a[n]=l}else{const s=t.cacheKey;if(s){const n=$a[s];return n||($a[s]=Xo(t))}else return Xo(t)}}let ha=null;function Ay(t){ha=t}function Ty(t,e,s){ha&&ha.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:s})}const Py=Ey("function:translate");function Ey(t){return e=>ha&&ha.emit(t,e)}const $i={INVALID_ARGUMENT:O_,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},jy=24;function Zi(t){return _o(t,null,void 0)}function sd(t,e){return e.locale!=null?Kc(e.locale):Kc(t.locale)}let Yo;function Kc(t){if(St(t))return t;if(fe(t)){if(t.resolvedOnce&&Yo!=null)return Yo;if(t.constructor.name==="Function"){const e=t();if(x_(e))throw Zi($i.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Yo=e}else throw Zi($i.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Zi($i.NOT_SUPPORT_LOCALE_TYPE)}function Cy(t,e,s){return[...new Set([s,...Ri(e)?e:Te(e)?Object.keys(e):St(e)?[e]:[s]])]}function Cm(t,e,s){const n=St(s)?s:Dr,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(n);if(!r){r=[];let o=[s];for(;Ri(o);)o=Xc(r,o,e);const l=Ri(e)||!te(e)?e:e.default?e.default:null;o=St(l)?[l]:l,Ri(o)&&Xc(r,o,!1),a.__localeChainCache.set(n,r)}return r}function Xc(t,e,s){let n=!0;for(let a=0;a<e.length&&Ue(n);a++){const r=e[a];St(r)&&(n=My(t,e[a],s))}return n}function My(t,e,s){let n;const a=e.split("-");do{const r=a.join("-");n=xy(t,r,s),a.splice(-1,1)}while(a.length&&n===!0);return n}function xy(t,e,s){let n=!1;if(!t.includes(e)&&(n=!0,e)){n=e[e.length-1]!=="!";const a=e.replace(/!/g,"");t.push(a),(Ri(s)||te(s))&&s[a]&&(n=s[a])}return n}const ks=[];ks[0]={w:[0],i:[3,0],"[":[4],o:[7]};ks[1]={w:[1],".":[2],"[":[4],o:[7]};ks[2]={w:[2],i:[3,0],0:[3,0]};ks[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ks[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ks[5]={"'":[4,0],o:8,l:[5,0]};ks[6]={'"':[4,0],o:8,l:[6,0]};const Iy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ly(t){return Iy.test(t)}function Dy(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 Ry(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 Oy(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:Ly(e)?Dy(e):"*"+e}function Ny(t){const e=[];let s=-1,n=0,a=0,r,o,l,u,c,d,b;const p=[];p[0]=()=>{o===void 0?o=l:o+=l},p[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},p[2]=()=>{p[0](),a++},p[3]=()=>{if(a>0)a--,n=4,p[0]();else{if(a=0,o===void 0||(o=Oy(o),o===!1))return!1;p[1]()}};function m(){const f=t[s+1];if(n===5&&f==="'"||n===6&&f==='"')return s++,l="\\"+f,p[0](),!0}for(;n!==null;)if(s++,r=t[s],!(r==="\\"&&m())){if(u=Ry(r),b=ks[n],c=b[u]||b.l||8,c===8||(n=c[0],c[1]!==void 0&&(d=p[c[1]],d&&(l=r,d()===!1))))return;if(n===7)return e}}const Yc=new Map;function By(t,e){return Te(t)?t[e]:null}function Gy(t,e){if(!Te(t))return null;let s=Yc.get(e);if(s||(s=Ny(e),s&&Yc.set(e,s)),!s)return null;const n=s.length;let a=t,r=0;for(;r<n;){const o=a[s[r]];if(o===void 0||fe(a))return null;a=o,r++}return a}const qy="11.1.1",yo=-1,Dr="en-US",$c="",Zc=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Fy(){return{upper:(t,e)=>e==="text"&&St(t)?t.toUpperCase():e==="vnode"&&Te(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&St(t)?t.toLowerCase():e==="vnode"&&Te(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&St(t)?Zc(t):e==="vnode"&&Te(t)&&"__v_isVNode"in t?Zc(t.children):t}}let Mm;function Hy(t){Mm=t}let xm;function Vy(t){xm=t}let Im;function Uy(t){Im=t}let Lm=null;const Wy=t=>{Lm=t},Ky=()=>Lm;let Dm=null;const Qc=t=>{Dm=t},Xy=()=>Dm;let Jc=0;function Yy(t={}){const e=fe(t.onWarn)?t.onWarn:D_,s=St(t.version)?t.version:qy,n=St(t.locale)||fe(t.locale)?t.locale:Dr,a=fe(n)?Dr:n,r=Ri(t.fallbackLocale)||te(t.fallbackLocale)||St(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,o=te(t.messages)?t.messages:$o(a),l=te(t.datetimeFormats)?t.datetimeFormats:$o(a),u=te(t.numberFormats)?t.numberFormats:$o(a),c=Pn(Fe(),t.modifiers,Fy()),d=t.pluralRules||Fe(),b=fe(t.missing)?t.missing:null,p=Ue(t.missingWarn)||Bc(t.missingWarn)?t.missingWarn:!0,m=Ue(t.fallbackWarn)||Bc(t.fallbackWarn)?t.fallbackWarn:!0,f=!!t.fallbackFormat,v=!!t.unresolving,_=fe(t.postTranslation)?t.postTranslation:null,g=te(t.processor)?t.processor:null,h=Ue(t.warnHtmlMessage)?t.warnHtmlMessage:!0,y=!!t.escapeParameter,k=fe(t.messageCompiler)?t.messageCompiler:Mm,w=fe(t.messageResolver)?t.messageResolver:xm||By,P=fe(t.localeFallbacker)?t.localeFallbacker:Im||Cy,A=Te(t.fallbackContext)?t.fallbackContext:void 0,E=t,S=Te(E.__datetimeFormatters)?E.__datetimeFormatters:new Map,L=Te(E.__numberFormatters)?E.__numberFormatters:new Map,N=Te(E.__meta)?E.__meta:{};Jc++;const M={version:s,cid:Jc,locale:n,fallbackLocale:r,messages:o,modifiers:c,pluralRules:d,missing:b,missingWarn:p,fallbackWarn:m,fallbackFormat:f,unresolving:v,postTranslation:_,processor:g,warnHtmlMessage:h,escapeParameter:y,messageCompiler:k,messageResolver:w,localeFallbacker:P,fallbackContext:A,onWarn:e,__meta:N};return M.datetimeFormats=l,M.numberFormats=u,M.__datetimeFormatters=S,M.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&Ty(M,s,N),M}const $o=t=>({[t]:Fe()});function nd(t,e,s,n,a){const{missing:r,onWarn:o}=t;if(r!==null){const l=r(t,s,e,a);return St(l)?l:e}else return e}function Gn(t,e,s){const n=t;n.__localeChainCache=new Map,t.localeFallbacker(t,s,e)}function $y(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function Zy(t,e){const s=e.indexOf(t);if(s===-1)return!1;for(let n=s+1;n<e.length;n++)if($y(t,e[n]))return!0;return!1}function tb(t,...e){const{datetimeFormats:s,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:l}=t,[u,c,d,b]=Vl(...e),p=Ue(d.missingWarn)?d.missingWarn:t.missingWarn;Ue(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn;const m=!!d.part,f=sd(t,d),v=o(t,a,f);if(!St(u)||u==="")return new Intl.DateTimeFormat(f,b).format(c);let _={},g,h=null;const y="datetime format";for(let P=0;P<v.length&&(g=v[P],_=s[g]||{},h=_[u],!te(h));P++)nd(t,u,g,p,y);if(!te(h)||!St(g))return n?yo:u;let k=`${g}__${u}`;Ju(b)||(k=`${k}__${JSON.stringify(b)}`);let w=l.get(k);return w||(w=new Intl.DateTimeFormat(g,Pn({},h,b)),l.set(k,w)),m?w.formatToParts(c):w.format(c)}const Rm=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vl(...t){const[e,s,n,a]=t,r=Fe();let o=Fe(),l;if(St(e)){const u=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Zi($i.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();l=new Date(c);try{l.toISOString()}catch{throw Zi($i.INVALID_ISO_DATE_ARGUMENT)}}else if(E_(e)){if(isNaN(e.getTime()))throw Zi($i.INVALID_DATE_ARGUMENT);l=e}else if(Be(e))l=e;else throw Zi($i.INVALID_ARGUMENT);return St(s)?r.key=s:te(s)&&Object.keys(s).forEach(u=>{Rm.includes(u)?o[u]=s[u]:r[u]=s[u]}),St(n)?r.locale=n:te(n)&&(o=n),te(a)&&(o=a),[r.key||"",l,r,o]}function eb(t,e,s){const n=t;for(const a in s){const r=`${e}__${a}`;n.__datetimeFormatters.has(r)&&n.__datetimeFormatters.delete(r)}}function ib(t,...e){const{numberFormats:s,unresolving:n,fallbackLocale:a,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:l}=t,[u,c,d,b]=Ul(...e),p=Ue(d.missingWarn)?d.missingWarn:t.missingWarn;Ue(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn;const m=!!d.part,f=sd(t,d),v=o(t,a,f);if(!St(u)||u==="")return new Intl.NumberFormat(f,b).format(c);let _={},g,h=null;const y="number format";for(let P=0;P<v.length&&(g=v[P],_=s[g]||{},h=_[u],!te(h));P++)nd(t,u,g,p,y);if(!te(h)||!St(g))return n?yo:u;let k=`${g}__${u}`;Ju(b)||(k=`${k}__${JSON.stringify(b)}`);let w=l.get(k);return w||(w=new Intl.NumberFormat(g,Pn({},h,b)),l.set(k,w)),m?w.formatToParts(c):w.format(c)}const Om=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ul(...t){const[e,s,n,a]=t,r=Fe();let o=Fe();if(!Be(e))throw Zi($i.INVALID_ARGUMENT);const l=e;return St(s)?r.key=s:te(s)&&Object.keys(s).forEach(u=>{Om.includes(u)?o[u]=s[u]:r[u]=s[u]}),St(n)?r.locale=n:te(n)&&(o=n),te(a)&&(o=a),[r.key||"",l,r,o]}function sb(t,e,s){const n=t;for(const a in s){const r=`${e}__${a}`;n.__numberFormatters.has(r)&&n.__numberFormatters.delete(r)}}const Qy=t=>t,Jy=t=>"",tk="text",ek=t=>t.length===0?"":L_(t),ik=I_;function nb(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function sk(t){const e=Be(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Be(t.named.count)||Be(t.named.n))?Be(t.named.count)?t.named.count:Be(t.named.n)?t.named.n:e:e}function nk(t,e){e.count||(e.count=t),e.n||(e.n=t)}function ak(t={}){const e=t.locale,s=sk(t),n=Te(t.pluralRules)&&St(e)&&fe(t.pluralRules[e])?t.pluralRules[e]:nb,a=Te(t.pluralRules)&&St(e)&&fe(t.pluralRules[e])?nb:void 0,r=g=>g[n(s,g.length,a)],o=t.list||[],l=g=>o[g],u=t.named||Fe();Be(t.pluralIndex)&&nk(s,u);const c=g=>u[g];function d(g,h){const y=fe(t.messages)?t.messages(g,!!h):Te(t.messages)?t.messages[g]:!1;return y||(t.parent?t.parent.message(g):Jy)}const b=g=>t.modifiers?t.modifiers[g]:Qy,p=te(t.processor)&&fe(t.processor.normalize)?t.processor.normalize:ek,m=te(t.processor)&&fe(t.processor.interpolate)?t.processor.interpolate:ik,f=te(t.processor)&&St(t.processor.type)?t.processor.type:tk,_={list:l,named:c,plural:r,linked:(g,...h)=>{const[y,k]=h;let w="text",P="";h.length===1?Te(y)?(P=y.modifier||P,w=y.type||w):St(y)&&(P=y||P):h.length===2&&(St(y)&&(P=y||P),St(k)&&(w=k||w));const A=d(g,!0)(_),E=w==="vnode"&&Ri(A)&&P?A[0]:A;return P?b(P)(E,w):E},message:d,type:f,interpolate:m,normalize:p,values:Pn(Fe(),o,u)};return _}const ab=()=>"",si=t=>fe(t);function rb(t,...e){const{fallbackFormat:s,postTranslation:n,unresolving:a,messageCompiler:r,fallbackLocale:o,messages:l}=t,[u,c]=Wl(...e),d=Ue(c.missingWarn)?c.missingWarn:t.missingWarn,b=Ue(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,p=Ue(c.escapeParameter)?c.escapeParameter:t.escapeParameter,m=!!c.resolvedMessage,f=St(c.default)||Ue(c.default)?Ue(c.default)?r?u:()=>u:c.default:s?r?u:()=>u:null,v=s||f!=null&&(St(f)||fe(f)),_=sd(t,c);p&&rk(c);let[g,h,y]=m?[u,_,l[_]||Fe()]:Nm(t,u,_,o,b,d),k=g,w=u;if(!m&&!(St(k)||kn(k)||si(k))&&v&&(k=f,w=k),!m&&(!(St(k)||kn(k)||si(k))||!St(h)))return a?yo:u;let P=!1;const A=()=>{P=!0},E=si(k)?k:Bm(t,u,h,k,w,A);if(P)return k;const S=uk(t,h,y,c),L=ak(S),N=ok(t,E,L),M=n?n(N,u):N;if(__INTLIFY_PROD_DEVTOOLS__){const x={timestamp:Date.now(),key:St(u)?u:si(k)?k.key:"",locale:h||(si(k)?k.locale:""),format:St(k)?k:si(k)?k.source:"",message:M};x.meta=Pn({},t.__meta,Ky()||{}),Py(x)}return M}function rk(t){Ri(t.list)?t.list=t.list.map(e=>St(e)?qc(e):e):Te(t.named)&&Object.keys(t.named).forEach(e=>{St(t.named[e])&&(t.named[e]=qc(t.named[e]))})}function Nm(t,e,s,n,a,r){const{messages:o,onWarn:l,messageResolver:u,localeFallbacker:c}=t,d=c(t,n,s);let b=Fe(),p,m=null;const f="translate";for(let v=0;v<d.length&&(p=d[v],b=o[p]||Fe(),(m=u(b,e))===null&&(m=b[e]),!(St(m)||kn(m)||si(m)));v++)if(!Zy(p,d)){const _=nd(t,e,p,r,f);_!==e&&(m=_)}return[m,p,b]}function Bm(t,e,s,n,a,r){const{messageCompiler:o,warnHtmlMessage:l}=t;if(si(n)){const c=n;return c.locale=c.locale||s,c.key=c.key||e,c}if(o==null){const c=()=>n;return c.locale=s,c.key=e,c}const u=o(n,lk(t,s,a,n,l,r));return u.locale=s,u.key=e,u.source=n,u}function ok(t,e,s){return e(s)}function Wl(...t){const[e,s,n]=t,a=Fe();if(!St(e)&&!Be(e)&&!si(e)&&!kn(e))throw Zi($i.INVALID_ARGUMENT);const r=Be(e)?String(e):(si(e),e);return Be(s)?a.plural=s:St(s)?a.default=s:te(s)&&!Ju(s)?a.named=s:Ri(s)&&(a.list=s),Be(n)?a.plural=n:St(n)?a.default=n:te(n)&&Pn(a,n),[r,a]}function lk(t,e,s,n,a,r){return{locale:e,key:s,warnHtmlMessage:a,onError:o=>{throw r&&r(o),o},onCacheKey:o=>T_(e,s,o)}}function uk(t,e,s,n){const{modifiers:a,pluralRules:r,messageResolver:o,fallbackLocale:l,fallbackWarn:u,missingWarn:c,fallbackContext:d}=t,p={locale:e,modifiers:a,pluralRules:r,messages:(m,f)=>{let v=o(s,m);if(v==null&&(d||f)){const[,,_]=Nm(d||t,m,e,l,u,c);v=o(_,m)}if(St(v)||kn(v)){let _=!1;const h=Bm(t,m,e,v,m,()=>{_=!0});return _?ab:h}else return si(v)?v:ab}};return t.processor&&(p.processor=t.processor),n.list&&(p.list=n.list),n.named&&(p.named=n.named),Be(n.plural)&&(p.pluralIndex=n.plural),p}ry();/*!
|
|
96
96
|
* shared v11.1.1
|
|
97
97
|
* (c) 2025 kazuya kawaguchi
|
|
98
98
|
* Released under the MIT License.
|
|
99
|
-
*/const
|
|
99
|
+
*/const Rr=typeof window<"u",ws=(t,e=!1)=>e?Symbol.for(t):Symbol(t),_a=t=>typeof t=="number"&&isFinite(t),ob=t=>qm(t)==="[object RegExp]",dk=t=>vi(t)&&Object.keys(t).length===0,Oi=Object.assign,ck=Object.create,Ke=(t=null)=>ck(t);let lb;const Gm=()=>lb||(lb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ke()),bk=Object.prototype.hasOwnProperty;function Or(t,e){return bk.call(t,e)}const Qi=Array.isArray,Za=t=>typeof t=="function",ue=t=>typeof t=="string",Wi=t=>typeof t=="boolean",Xe=t=>t!==null&&typeof t=="object",pk=Object.prototype.toString,qm=t=>pk.call(t),vi=t=>qm(t)==="[object Object]",Qa=t=>!Xe(t)||Qi(t);function mr(t,e){if(Qa(t)||Qa(e))throw new Error("Invalid value");const s=[{src:t,des:e}];for(;s.length;){const{src:n,des:a}=s.pop();Object.keys(n).forEach(r=>{r!=="__proto__"&&(Xe(n[r])&&!Xe(a[r])&&(a[r]=Array.isArray(n[r])?[]:Ke()),Qa(a[r])||Qa(n[r])?a[r]=n[r]:s.push({src:n[r],des:a[r]}))})}}/*!
|
|
100
100
|
* vue-i18n v11.1.1
|
|
101
101
|
* (c) 2025 kazuya kawaguchi
|
|
102
102
|
* Released under the MIT License.
|
|
103
|
-
*/const Vy="11.1.1";function Hy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dm().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ze={UNEXPECTED_RETURN_TYPE:ny,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 ai(t,...e){return Ur(t,null,void 0)}const hl=rs("__translateVNode"),yl=rs("__datetimeParts"),kl=rs("__numberParts"),Uy=rs("__setPluralRules"),Wy=rs("__injectWithOption"),wl=rs("__dispose");function sa(t){if(!Ne(t))return t;for(const e in t)if(ur(t,e))if(!e.includes("."))Ne(t[e])&&sa(t[e]);else{const s=e.split("."),n=s.length-1;let a=t,r=!1;for(let o=0;o<n;o++){if(s[o]in a||(a[s[o]]=Oe()),!Ne(a[s[o]])){r=!0;break}a=a[s[o]]}r||(a[s[n]]=t[e],delete t[e]),Ne(a[s[n]])&&sa(a[s[n]])}return t}function cm(t,e){const{messages:s,__i18n:n,messageResolver:a,flatJson:r}=e,o=ti(s)?s:Ri(n)?Oe():{[t]:Oe()};if(Ri(n)&&n.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:d,resource:c}=l;d?(o[d]=o[d]||Oe(),Fa(c,o[d])):Fa(c,o)}else Kt(l)&&Fa(JSON.parse(l),o)}),a==null&&r)for(const l in o)ur(o,l)&&sa(o[l]);return o}function bm(t){return t.type}function $y(t,e,s){let n=Ne(e.messages)?e.messages:Oe();"__i18nGlobal"in s&&(n=cm(t.locale.value,{messages:n,__i18n:s.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,n[r])});{if(Ne(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Ne(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function Dc(t){return N(un,null,t,0)}const Ic="__INTLIFY_META__",Rc=()=>[],Ky=()=>!1;let Oc=0;function Nc(t){return(e,s,n,a)=>t(s,n,Gi()||void 0,a)}const Xy=()=>{const t=Gi();let e=null;return t&&(e=bm(t)[Ic])?{[Ic]:e}:null};function pm(t={}){const{__root:e,__injectWithOption:s}=t,n=e===void 0,a=t.flatJson,r=dr?st:At;let o=Ci(t.inheritLocale)?t.inheritLocale:!0;const l=r(e&&o?e.locale.value:Kt(t.locale)?t.locale:lr),d=r(e&&o?e.fallbackLocale.value:Kt(t.fallbackLocale)||Ri(t.fallbackLocale)||ti(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:l.value),c=r(cm(l.value,t)),u=r(ti(t.datetimeFormats)?t.datetimeFormats:{[l.value]:{}}),b=r(ti(t.numberFormats)?t.numberFormats:{[l.value]:{}});let p=e?e.missingWarn:Ci(t.missingWarn)||Mc(t.missingWarn)?t.missingWarn:!0,m=e?e.fallbackWarn:Ci(t.fallbackWarn)||Mc(t.fallbackWarn)?t.fallbackWarn:!0,f=e?e.fallbackRoot:Ci(t.fallbackRoot)?t.fallbackRoot:!0,v=!!t.fallbackFormat,k=Pa(t.missing)?t.missing:null,h=Pa(t.missing)?Nc(t.missing):null,g=Pa(t.postTranslation)?t.postTranslation:null,_=e?e.warnHtmlMessage:Ci(t.warnHtmlMessage)?t.warnHtmlMessage:!0,y=!!t.escapeParameter;const w=e?e.modifiers:ti(t.modifiers)?t.modifiers:{};let P=t.pluralRules||e&&e.pluralRules,E;E=(()=>{n&&Sc(null);const D={version:Vy,locale:l.value,fallbackLocale:d.value,messages:c.value,modifiers:w,pluralRules:P,missing:h===null?void 0:h,missingWarn:p,fallbackWarn:m,fallbackFormat:v,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:_,escapeParameter:y,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=u.value,D.numberFormats=b.value,D.__datetimeFormatters=ti(E)?E.__datetimeFormatters:void 0,D.__numberFormatters=ti(E)?E.__numberFormatters:void 0;const q=zy(D);return n&&Sc(q),q})(),wn(E,l.value,d.value);function z(){return[l.value,d.value,c.value,u.value,b.value]}const L=F({get:()=>l.value,set:D=>{E.locale=D,l.value=D}}),O=F({get:()=>d.value,set:D=>{E.fallbackLocale=D,d.value=D,wn(E,l.value,D)}}),x=F(()=>c.value),M=F(()=>u.value),V=F(()=>b.value);function X(){return Pa(g)?g:null}function J(D){g=D,E.postTranslation=D}function dt(){return k}function at(D){D!==null&&(h=Nc(D)),k=D,E.missing=h}const _t=(D,q,et,ut,gt,ee)=>{z();let $t;try{__INTLIFY_PROD_DEVTOOLS__,n||(E.fallbackContext=e?Sy():void 0),$t=D(E)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(E.fallbackContext=void 0)}if(et!=="translate exists"&&ia($t)&&$t===Wr||et==="translate exists"&&!$t){const[He,Qe]=q();return e&&f?ut(e):gt(He)}else{if(ee($t))return $t;throw ai(Ze.UNEXPECTED_RETURN_TYPE)}};function Et(...D){return _t(q=>Reflect.apply(xc,null,[q,...D]),()=>_l(...D),"translate",q=>Reflect.apply(q.t,q,[...D]),q=>q,q=>Kt(q))}function Mt(...D){const[q,et,ut]=D;if(ut&&!Ne(ut))throw ai(Ze.INVALID_ARGUMENT);return Et(q,et,Si({resolvedMessage:!0},ut||{}))}function Ot(...D){return _t(q=>Reflect.apply(Tc,null,[q,...D]),()=>vl(...D),"datetime format",q=>Reflect.apply(q.d,q,[...D]),()=>kc,q=>Kt(q))}function ue(...D){return _t(q=>Reflect.apply(Pc,null,[q,...D]),()=>gl(...D),"number format",q=>Reflect.apply(q.n,q,[...D]),()=>kc,q=>Kt(q))}function vt(D){return D.map(q=>Kt(q)||ia(q)||Ci(q)?Dc(String(q)):q)}const pt={normalize:vt,interpolate:D=>D,type:"vnode"};function G(...D){return _t(q=>{let et;const ut=q;try{ut.processor=pt,et=Reflect.apply(xc,null,[ut,...D])}finally{ut.processor=null}return et},()=>_l(...D),"translate",q=>q[hl](...D),q=>[Dc(q)],q=>Ri(q))}function Y(...D){return _t(q=>Reflect.apply(Pc,null,[q,...D]),()=>gl(...D),"number format",q=>q[kl](...D),Rc,q=>Kt(q)||Ri(q))}function K(...D){return _t(q=>Reflect.apply(Tc,null,[q,...D]),()=>vl(...D),"datetime format",q=>q[yl](...D),Rc,q=>Kt(q)||Ri(q))}function Q(D){P=D,E.pluralRules=P}function yt(D,q){return _t(()=>{if(!D)return!1;const et=Kt(q)?q:l.value,ut=R(et),gt=E.messageResolver(ut,D);return an(gt)||We(gt)||Kt(gt)},()=>[D],"translate exists",et=>Reflect.apply(et.te,et,[D,q]),Ky,et=>Ci(et))}function A(D){let q=null;const et=J0(E,d.value,l.value);for(let ut=0;ut<et.length;ut++){const gt=c.value[et[ut]]||{},ee=E.messageResolver(gt,D);if(ee!=null){q=ee;break}}return q}function C(D){const q=A(D);return q??(e?e.tm(D)||{}:{})}function R(D){return c.value[D]||{}}function H(D,q){if(a){const et={[D]:q};for(const ut in et)ur(et,ut)&&sa(et[ut]);q=et[D]}c.value[D]=q,E.messages=c.value}function W(D,q){c.value[D]=c.value[D]||{};const et={[D]:q};if(a)for(const ut in et)ur(et,ut)&&sa(et[ut]);q=et[D],Fa(q,c.value[D]),E.messages=c.value}function U(D){return u.value[D]||{}}function S(D,q){u.value[D]=q,E.datetimeFormats=u.value,Ac(E,D,q)}function T(D,q){u.value[D]=Si(u.value[D]||{},q),E.datetimeFormats=u.value,Ac(E,D,q)}function I(D){return b.value[D]||{}}function B(D,q){b.value[D]=q,E.numberFormats=b.value,Ec(E,D,q)}function Z(D,q){b.value[D]=Si(b.value[D]||{},q),E.numberFormats=b.value,Ec(E,D,q)}Oc++,e&&dr&&(ht(e.locale,D=>{o&&(l.value=D,E.locale=D,wn(E,l.value,d.value))}),ht(e.fallbackLocale,D=>{o&&(d.value=D,E.fallbackLocale=D,wn(E,l.value,d.value))}));const $={id:Oc,locale:L,fallbackLocale:O,get inheritLocale(){return o},set inheritLocale(D){o=D,D&&e&&(l.value=e.locale.value,d.value=e.fallbackLocale.value,wn(E,l.value,d.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:x,get modifiers(){return w},get pluralRules(){return P||{}},get isGlobal(){return n},get missingWarn(){return p},set missingWarn(D){p=D,E.missingWarn=p},get fallbackWarn(){return m},set fallbackWarn(D){m=D,E.fallbackWarn=m},get fallbackRoot(){return f},set fallbackRoot(D){f=D},get fallbackFormat(){return v},set fallbackFormat(D){v=D,E.fallbackFormat=v},get warnHtmlMessage(){return _},set warnHtmlMessage(D){_=D,E.warnHtmlMessage=D},get escapeParameter(){return y},set escapeParameter(D){y=D,E.escapeParameter=D},t:Et,getLocaleMessage:R,setLocaleMessage:H,mergeLocaleMessage:W,getPostTranslationHandler:X,setPostTranslationHandler:J,getMissingHandler:dt,setMissingHandler:at,[Uy]:Q};return $.datetimeFormats=M,$.numberFormats=V,$.rt=Mt,$.te=yt,$.tm=C,$.d=Ot,$.n=ue,$.getDateTimeFormat=U,$.setDateTimeFormat=S,$.mergeDateTimeFormat=T,$.getNumberFormat=I,$.setNumberFormat=B,$.mergeNumberFormat=Z,$[Wy]=s,$[hl]=G,$[yl]=K,$[kl]=Y,$}const xd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function Yy({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((n,a)=>[...n,...a.type===Tt?a.children:[a]],[]):e.reduce((s,n)=>{const a=t[n];return a&&(s[n]=a()),s},Oe())}function mm(){return Tt}const Zy=Bi({name:"i18n-t",props:Si({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ia(t)||!isNaN(t)}},xd),setup(t,e){const{slots:s,attrs:n}=e,a=t.i18n||Md({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(s).filter(b=>b!=="_"),o=Oe();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=Kt(t.plural)?+t.plural:t.plural);const l=Yy(e,r),d=a[hl](t.keypath,l,o),c=Si(Oe(),n),u=Kt(t.tag)||Ne(t.tag)?t.tag:mm();return Ht(u,c,d)}}}),Bc=Zy;function Qy(t){return Ri(t)&&!Kt(t[0])}function fm(t,e,s,n){const{slots:a,attrs:r}=e;return()=>{const o={part:!0};let l=Oe();t.locale&&(o.locale=t.locale),Kt(t.format)?o.key=t.format:Ne(t.format)&&(Kt(t.format.key)&&(o.key=t.format.key),l=Object.keys(t.format).reduce((p,m)=>s.includes(m)?Si(Oe(),p,{[m]:t.format[m]}):p,Oe()));const d=n(t.value,o,l);let c=[o.key];Ri(d)?c=d.map((p,m)=>{const f=a[p.type],v=f?f({[p.type]:p.value,index:m,parts:d}):[p.value];return Qy(v)&&(v[0].key=`${p.type}-${m}`),v}):Kt(d)&&(c=[d]);const u=Si(Oe(),r),b=Kt(t.tag)||Ne(t.tag)?t.tag:mm();return Ht(b,u,c)}}const Jy=Bi({name:"i18n-n",props:Si({value:{type:Number,required:!0},format:{type:[String,Object]}},xd),setup(t,e){const s=t.i18n||Md({useScope:t.scope,__useComponent:!0});return fm(t,e,rm,(...n)=>s[kl](...n))}}),qc=Jy;function tk(t,e){const s=t;if(t.mode==="composition")return s.__getInstance(e)||t.global;{const n=s.__getInstance(e);return n!=null?n.__composer:t.global.__composer}}function ek(t){const e=o=>{const{instance:l,value:d}=o;if(!l||!l.$)throw ai(Ze.UNEXPECTED_ERROR);const c=tk(t,l.$),u=Gc(d);return[Reflect.apply(c.t,c,[...Fc(u)]),c]};return{created:(o,l)=>{const[d,c]=e(l);dr&&t.global===c&&(o.__i18nWatcher=ht(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=c,o.textContent=d},unmounted:o=>{dr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const d=o.__composer,c=Gc(l);o.textContent=Reflect.apply(d.t,d,[...Fc(c)])}},getSSRProps:o=>{const[l]=e(o);return{textContent:l}}}}function Gc(t){if(Kt(t))return{path:t};if(ti(t)){if(!("path"in t))throw ai(Ze.REQUIRED_VALUE,"path");return t}else throw ai(Ze.INVALID_VALUE)}function Fc(t){const{path:e,locale:s,args:n,choice:a,plural:r}=t,o={},l=n||{};return Kt(s)&&(o.locale=s),ia(a)&&(o.plural=a),ia(r)&&(o.plural=r),[e,l,o]}function ik(t,e,...s){const n=ti(s[0])?s[0]:{};(Ci(n.globalInstall)?n.globalInstall:!0)&&([Bc.name,"I18nT"].forEach(r=>t.component(r,Bc)),[qc.name,"I18nN"].forEach(r=>t.component(r,qc)),[Hc.name,"I18nD"].forEach(r=>t.component(r,Hc))),t.directive("t",ek(e))}const sk=rs("global-vue-i18n");function nk(t={}){const e=Ci(t.globalInjection)?t.globalInjection:!0,s=new Map,[n,a]=ak(t),r=rs("");function o(u){return s.get(u)||null}function l(u,b){s.set(u,b)}function d(u){s.delete(u)}const c={get mode(){return"composition"},async install(u,...b){if(u.__VUE_I18N_SYMBOL__=r,u.provide(u.__VUE_I18N_SYMBOL__,c),ti(b[0])){const f=b[0];c.__composerExtend=f.__composerExtend,c.__vueI18nExtend=f.__vueI18nExtend}let p=null;e&&(p=pk(u,c.global)),ik(u,c,...b);const m=u.unmount;u.unmount=()=>{p&&p(),c.dispose(),m()}},get global(){return a},dispose(){n.stop()},__instances:s,__getInstance:o,__setInstance:l,__deleteInstance:d};return c}function Md(t={}){const e=Gi();if(e==null)throw ai(Ze.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw ai(Ze.NOT_INSTALLED);const s=rk(e),n=lk(s),a=bm(e),r=ok(t,a);if(r==="global")return $y(n,t,a),n;if(r==="parent"){let d=dk(s,e,t.__useComponent);return d==null&&(d=n),d}const o=s;let l=o.__getInstance(e);if(l==null){const d=Si({},t);"__i18n"in a&&(d.__i18n=a.__i18n),n&&(d.__root=n),l=pm(d),o.__composerExtend&&(l[wl]=o.__composerExtend(l)),ck(o,e,l),o.__setInstance(e,l)}return l}function ak(t,e){const s=Pr(),n=s.run(()=>pm(t));if(n==null)throw ai(Ze.UNEXPECTED_ERROR);return[s,n]}function rk(t){const e=Dt(t.isCE?sk:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw ai(t.isCE?Ze.NOT_INSTALLED_WITH_PROVIDE:Ze.UNEXPECTED_ERROR);return e}function ok(t,e){return By(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function lk(t){return t.mode==="composition"?t.global:t.global.__composer}function dk(t,e,s=!1){let n=null;const a=e.root;let r=uk(e,s);for(;r!=null;){const o=t;if(t.mode==="composition"&&(n=o.__getInstance(r)),n!=null||a===r)break;r=r.parent}return n}function uk(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function ck(t,e,s){li(()=>{},e),Rr(()=>{const n=s;t.__deleteInstance(e);const a=n[wl];a&&(a(),delete n[wl])},e)}const bk=["locale","fallbackLocale","availableLocales"],Vc=["t","rt","d","n","tm","te"];function pk(t,e){const s=Object.create(null);return bk.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r)throw ai(Ze.UNEXPECTED_ERROR);const o=Nt(r.value)?{get(){return r.value.value},set(l){r.value.value=l}}:{get(){return r.get&&r.get()}};Object.defineProperty(s,a,o)}),t.config.globalProperties.$i18n=s,Vc.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r||!r.value)throw ai(Ze.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${a}`,r)}),()=>{delete t.config.globalProperties.$i18n,Vc.forEach(a=>{delete t.config.globalProperties[`$${a}`]})}}const mk=Bi({name:"i18n-d",props:Si({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xd),setup(t,e){const s=t.i18n||Md({useScope:t.scope,__useComponent:!0});return fm(t,e,am,(...n)=>s[yl](...n))}}),Hc=mk;Hy();_y(Jh);hy(fy);yy(J0);if(__INTLIFY_PROD_DEVTOOLS__){const t=dm();t.__INTLIFY__=!0,ty(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const To=t=>t&&typeof t=="object"&&!Array.isArray(t),Sl=(t,...e)=>{if(!e.length)return t;const s=e.shift();if(To(t)&&To(s))for(const n in s)To(s[n])?(t[n]||Object.assign(t,{[n]:{}}),Sl(t[n],s[n])):Object.assign(t,{[n]:s[n]});return Sl(t,...e)},fk=Sl({},{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:"Home Assistant addon"}},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.
|
|
103
|
+
*/const mk="11.1.1";function fk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Gm().__INTLIFY_PROD_DEVTOOLS__=!1)}const di={UNEXPECTED_RETURN_TYPE:jy,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 ki(t,...e){return _o(t,null,void 0)}const Kl=ws("__translateVNode"),Xl=ws("__datetimeParts"),Yl=ws("__numberParts"),vk=ws("__setPluralRules"),gk=ws("__injectWithOption"),$l=ws("__dispose");function ya(t){if(!Xe(t))return t;for(const e in t)if(Or(t,e))if(!e.includes("."))Xe(t[e])&&ya(t[e]);else{const s=e.split("."),n=s.length-1;let a=t,r=!1;for(let o=0;o<n;o++){if(s[o]in a||(a[s[o]]=Ke()),!Xe(a[s[o]])){r=!0;break}a=a[s[o]]}r||(a[s[n]]=t[e],delete t[e]),Xe(a[s[n]])&&ya(a[s[n]])}return t}function Fm(t,e){const{messages:s,__i18n:n,messageResolver:a,flatJson:r}=e,o=vi(s)?s:Qi(n)?Ke():{[t]:Ke()};if(Qi(n)&&n.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:u,resource:c}=l;u?(o[u]=o[u]||Ke(),mr(c,o[u])):mr(c,o)}else ue(l)&&mr(JSON.parse(l),o)}),a==null&&r)for(const l in o)Or(o,l)&&ya(o[l]);return o}function Hm(t){return t.type}function hk(t,e,s){let n=Xe(e.messages)?e.messages:Ke();"__i18nGlobal"in s&&(n=Fm(t.locale.value,{messages:n,__i18n:s.__i18nGlobal}));const a=Object.keys(n);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,n[r])});{if(Xe(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Xe(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function ub(t){return I(Tn,null,t,0)}const db="__INTLIFY_META__",cb=()=>[],_k=()=>!1;let bb=0;function pb(t){return(e,s,n,a)=>t(s,n,ss()||void 0,a)}const yk=()=>{const t=ss();let e=null;return t&&(e=Hm(t)[db])?{[db]:e}:null};function Vm(t={}){const{__root:e,__injectWithOption:s}=t,n=e===void 0,a=t.flatJson,r=Rr?lt:Mt;let o=Wi(t.inheritLocale)?t.inheritLocale:!0;const l=r(e&&o?e.locale.value:ue(t.locale)?t.locale:Dr),u=r(e&&o?e.fallbackLocale.value:ue(t.fallbackLocale)||Qi(t.fallbackLocale)||vi(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:l.value),c=r(Fm(l.value,t)),d=r(vi(t.datetimeFormats)?t.datetimeFormats:{[l.value]:{}}),b=r(vi(t.numberFormats)?t.numberFormats:{[l.value]:{}});let p=e?e.missingWarn:Wi(t.missingWarn)||ob(t.missingWarn)?t.missingWarn:!0,m=e?e.fallbackWarn:Wi(t.fallbackWarn)||ob(t.fallbackWarn)?t.fallbackWarn:!0,f=e?e.fallbackRoot:Wi(t.fallbackRoot)?t.fallbackRoot:!0,v=!!t.fallbackFormat,_=Za(t.missing)?t.missing:null,g=Za(t.missing)?pb(t.missing):null,h=Za(t.postTranslation)?t.postTranslation:null,y=e?e.warnHtmlMessage:Wi(t.warnHtmlMessage)?t.warnHtmlMessage:!0,k=!!t.escapeParameter;const w=e?e.modifiers:vi(t.modifiers)?t.modifiers:{};let P=t.pluralRules||e&&e.pluralRules,A;A=(()=>{n&&Qc(null);const D={version:mk,locale:l.value,fallbackLocale:u.value,messages:c.value,modifiers:w,pluralRules:P,missing:g===null?void 0:g,missingWarn:p,fallbackWarn:m,fallbackFormat:v,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:y,escapeParameter:k,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=d.value,D.numberFormats=b.value,D.__datetimeFormatters=vi(A)?A.__datetimeFormatters:void 0,D.__numberFormatters=vi(A)?A.__numberFormatters:void 0;const q=Yy(D);return n&&Qc(q),q})(),Gn(A,l.value,u.value);function S(){return[l.value,u.value,c.value,d.value,b.value]}const L=B({get:()=>l.value,set:D=>{A.locale=D,l.value=D}}),N=B({get:()=>u.value,set:D=>{A.fallbackLocale=D,u.value=D,Gn(A,l.value,D)}}),M=B(()=>c.value),x=B(()=>d.value),H=B(()=>b.value);function X(){return Za(h)?h:null}function it(D){h=D,A.postTranslation=D}function mt(){return _}function dt(D){D!==null&&(g=pb(D)),_=D,A.missing=g}const Pt=(D,q,ct,_t,Et,he)=>{S();let ae;try{__INTLIFY_PROD_DEVTOOLS__,n||(A.fallbackContext=e?Xy():void 0),ae=D(A)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(A.fallbackContext=void 0)}if(ct!=="translate exists"&&_a(ae)&&ae===yo||ct==="translate exists"&&!ae){const[ei,pi]=q();return e&&f?_t(e):Et(ei)}else{if(he(ae))return ae;throw ki(di.UNEXPECTED_RETURN_TYPE)}};function Lt(...D){return Pt(q=>Reflect.apply(rb,null,[q,...D]),()=>Wl(...D),"translate",q=>Reflect.apply(q.t,q,[...D]),q=>q,q=>ue(q))}function tt(...D){const[q,ct,_t]=D;if(_t&&!Xe(_t))throw ki(di.INVALID_ARGUMENT);return Lt(q,ct,Oi({resolvedMessage:!0},_t||{}))}function et(...D){return Pt(q=>Reflect.apply(tb,null,[q,...D]),()=>Vl(...D),"datetime format",q=>Reflect.apply(q.d,q,[...D]),()=>$c,q=>ue(q))}function kt(...D){return Pt(q=>Reflect.apply(ib,null,[q,...D]),()=>Ul(...D),"number format",q=>Reflect.apply(q.n,q,[...D]),()=>$c,q=>ue(q))}function zt(D){return D.map(q=>ue(q)||_a(q)||Wi(q)?ub(String(q)):q)}const ht={normalize:zt,interpolate:D=>D,type:"vnode"};function F(...D){return Pt(q=>{let ct;const _t=q;try{_t.processor=ht,ct=Reflect.apply(rb,null,[_t,...D])}finally{_t.processor=null}return ct},()=>Wl(...D),"translate",q=>q[Kl](...D),q=>[ub(q)],q=>Qi(q))}function J(...D){return Pt(q=>Reflect.apply(ib,null,[q,...D]),()=>Ul(...D),"number format",q=>q[Yl](...D),cb,q=>ue(q)||Qi(q))}function Q(...D){return Pt(q=>Reflect.apply(tb,null,[q,...D]),()=>Vl(...D),"datetime format",q=>q[Xl](...D),cb,q=>ue(q)||Qi(q))}function rt(D){P=D,A.pluralRules=P}function xt(D,q){return Pt(()=>{if(!D)return!1;const ct=ue(q)?q:l.value,_t=O(ct),Et=A.messageResolver(_t,D);return kn(Et)||si(Et)||ue(Et)},()=>[D],"translate exists",ct=>Reflect.apply(ct.te,ct,[D,q]),_k,ct=>Wi(ct))}function j(D){let q=null;const ct=Cm(A,u.value,l.value);for(let _t=0;_t<ct.length;_t++){const Et=c.value[ct[_t]]||{},he=A.messageResolver(Et,D);if(he!=null){q=he;break}}return q}function C(D){const q=j(D);return q??(e?e.tm(D)||{}:{})}function O(D){return c.value[D]||{}}function V(D,q){if(a){const ct={[D]:q};for(const _t in ct)Or(ct,_t)&&ya(ct[_t]);q=ct[D]}c.value[D]=q,A.messages=c.value}function W(D,q){c.value[D]=c.value[D]||{};const ct={[D]:q};if(a)for(const _t in ct)Or(ct,_t)&&ya(ct[_t]);q=ct[D],mr(q,c.value[D]),A.messages=c.value}function U(D){return d.value[D]||{}}function z(D,q){d.value[D]=q,A.datetimeFormats=d.value,eb(A,D,q)}function T(D,q){d.value[D]=Oi(d.value[D]||{},q),A.datetimeFormats=d.value,eb(A,D,q)}function R(D){return b.value[D]||{}}function G(D,q){b.value[D]=q,A.numberFormats=b.value,sb(A,D,q)}function nt(D,q){b.value[D]=Oi(b.value[D]||{},q),A.numberFormats=b.value,sb(A,D,q)}bb++,e&&Rr&&(Tt(e.locale,D=>{o&&(l.value=D,A.locale=D,Gn(A,l.value,u.value))}),Tt(e.fallbackLocale,D=>{o&&(u.value=D,A.fallbackLocale=D,Gn(A,l.value,u.value))}));const K={id:bb,locale:L,fallbackLocale:N,get inheritLocale(){return o},set inheritLocale(D){o=D,D&&e&&(l.value=e.locale.value,u.value=e.fallbackLocale.value,Gn(A,l.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:M,get modifiers(){return w},get pluralRules(){return P||{}},get isGlobal(){return n},get missingWarn(){return p},set missingWarn(D){p=D,A.missingWarn=p},get fallbackWarn(){return m},set fallbackWarn(D){m=D,A.fallbackWarn=m},get fallbackRoot(){return f},set fallbackRoot(D){f=D},get fallbackFormat(){return v},set fallbackFormat(D){v=D,A.fallbackFormat=v},get warnHtmlMessage(){return y},set warnHtmlMessage(D){y=D,A.warnHtmlMessage=D},get escapeParameter(){return k},set escapeParameter(D){k=D,A.escapeParameter=D},t:Lt,getLocaleMessage:O,setLocaleMessage:V,mergeLocaleMessage:W,getPostTranslationHandler:X,setPostTranslationHandler:it,getMissingHandler:mt,setMissingHandler:dt,[vk]:rt};return K.datetimeFormats=x,K.numberFormats=H,K.rt=tt,K.te=xt,K.tm=C,K.d=et,K.n=kt,K.getDateTimeFormat=U,K.setDateTimeFormat=z,K.mergeDateTimeFormat=T,K.getNumberFormat=R,K.setNumberFormat=G,K.mergeNumberFormat=nt,K[gk]=s,K[Kl]=F,K[Xl]=Q,K[Yl]=J,K}const ad={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function kk({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((n,a)=>[...n,...a.type===bt?a.children:[a]],[]):e.reduce((s,n)=>{const a=t[n];return a&&(s[n]=a()),s},Ke())}function Um(){return bt}const wk=ci({name:"i18n-t",props:Oi({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>_a(t)||!isNaN(t)}},ad),setup(t,e){const{slots:s,attrs:n}=e,a=t.i18n||rd({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(s).filter(b=>b!=="_"),o=Ke();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=ue(t.plural)?+t.plural:t.plural);const l=kk(e,r),u=a[Kl](t.keypath,l,o),c=Oi(Ke(),n),d=ue(t.tag)||Xe(t.tag)?t.tag:Um();return ie(d,c,u)}}}),mb=wk;function Sk(t){return Qi(t)&&!ue(t[0])}function Wm(t,e,s,n){const{slots:a,attrs:r}=e;return()=>{const o={part:!0};let l=Ke();t.locale&&(o.locale=t.locale),ue(t.format)?o.key=t.format:Xe(t.format)&&(ue(t.format.key)&&(o.key=t.format.key),l=Object.keys(t.format).reduce((p,m)=>s.includes(m)?Oi(Ke(),p,{[m]:t.format[m]}):p,Ke()));const u=n(t.value,o,l);let c=[o.key];Qi(u)?c=u.map((p,m)=>{const f=a[p.type],v=f?f({[p.type]:p.value,index:m,parts:u}):[p.value];return Sk(v)&&(v[0].key=`${p.type}-${m}`),v}):ue(u)&&(c=[u]);const d=Oi(Ke(),r),b=ue(t.tag)||Xe(t.tag)?t.tag:Um();return ie(b,d,c)}}const zk=ci({name:"i18n-n",props:Oi({value:{type:Number,required:!0},format:{type:[String,Object]}},ad),setup(t,e){const s=t.i18n||rd({useScope:t.scope,__useComponent:!0});return Wm(t,e,Om,(...n)=>s[Yl](...n))}}),fb=zk;function Ak(t,e){const s=t;if(t.mode==="composition")return s.__getInstance(e)||t.global;{const n=s.__getInstance(e);return n!=null?n.__composer:t.global.__composer}}function Tk(t){const e=o=>{const{instance:l,value:u}=o;if(!l||!l.$)throw ki(di.UNEXPECTED_ERROR);const c=Ak(t,l.$),d=vb(u);return[Reflect.apply(c.t,c,[...gb(d)]),c]};return{created:(o,l)=>{const[u,c]=e(l);Rr&&t.global===c&&(o.__i18nWatcher=Tt(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=c,o.textContent=u},unmounted:o=>{Rr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const u=o.__composer,c=vb(l);o.textContent=Reflect.apply(u.t,u,[...gb(c)])}},getSSRProps:o=>{const[l]=e(o);return{textContent:l}}}}function vb(t){if(ue(t))return{path:t};if(vi(t)){if(!("path"in t))throw ki(di.REQUIRED_VALUE,"path");return t}else throw ki(di.INVALID_VALUE)}function gb(t){const{path:e,locale:s,args:n,choice:a,plural:r}=t,o={},l=n||{};return ue(s)&&(o.locale=s),_a(a)&&(o.plural=a),_a(r)&&(o.plural=r),[e,l,o]}function Pk(t,e,...s){const n=vi(s[0])?s[0]:{};(Wi(n.globalInstall)?n.globalInstall:!0)&&([mb.name,"I18nT"].forEach(r=>t.component(r,mb)),[fb.name,"I18nN"].forEach(r=>t.component(r,fb)),[_b.name,"I18nD"].forEach(r=>t.component(r,_b))),t.directive("t",Tk(e))}const Ek=ws("global-vue-i18n");function jk(t={}){const e=Wi(t.globalInjection)?t.globalInjection:!0,s=new Map,[n,a]=Ck(t),r=ws("");function o(d){return s.get(d)||null}function l(d,b){s.set(d,b)}function u(d){s.delete(d)}const c={get mode(){return"composition"},async install(d,...b){if(d.__VUE_I18N_SYMBOL__=r,d.provide(d.__VUE_I18N_SYMBOL__,c),vi(b[0])){const f=b[0];c.__composerExtend=f.__composerExtend,c.__vueI18nExtend=f.__vueI18nExtend}let p=null;e&&(p=Nk(d,c.global)),Pk(d,c,...b);const m=d.unmount;d.unmount=()=>{p&&p(),c.dispose(),m()}},get global(){return a},dispose(){n.stop()},__instances:s,__getInstance:o,__setInstance:l,__deleteInstance:u};return c}function rd(t={}){const e=ss();if(e==null)throw ki(di.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw ki(di.NOT_INSTALLED);const s=Mk(e),n=Ik(s),a=Hm(e),r=xk(t,a);if(r==="global")return hk(n,t,a),n;if(r==="parent"){let u=Lk(s,e,t.__useComponent);return u==null&&(u=n),u}const o=s;let l=o.__getInstance(e);if(l==null){const u=Oi({},t);"__i18n"in a&&(u.__i18n=a.__i18n),n&&(u.__root=n),l=Vm(u),o.__composerExtend&&(l[$l]=o.__composerExtend(l)),Rk(o,e,l),o.__setInstance(e,l)}return l}function Ck(t,e){const s=io(),n=s.run(()=>Vm(t));if(n==null)throw ki(di.UNEXPECTED_ERROR);return[s,n]}function Mk(t){const e=Kt(t.isCE?Ek:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw ki(t.isCE?di.NOT_INSTALLED_WITH_PROVIDE:di.UNEXPECTED_ERROR);return e}function xk(t,e){return dk(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Ik(t){return t.mode==="composition"?t.global:t.global.__composer}function Lk(t,e,s=!1){let n=null;const a=e.root;let r=Dk(e,s);for(;r!=null;){const o=t;if(t.mode==="composition"&&(n=o.__getInstance(r)),n!=null||a===r)break;r=r.parent}return n}function Dk(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function Rk(t,e,s){bi(()=>{},e),uo(()=>{const n=s;t.__deleteInstance(e);const a=n[$l];a&&(a(),delete n[$l])},e)}const Ok=["locale","fallbackLocale","availableLocales"],hb=["t","rt","d","n","tm","te"];function Nk(t,e){const s=Object.create(null);return Ok.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r)throw ki(di.UNEXPECTED_ERROR);const o=Jt(r.value)?{get(){return r.value.value},set(l){r.value.value=l}}:{get(){return r.get&&r.get()}};Object.defineProperty(s,a,o)}),t.config.globalProperties.$i18n=s,hb.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r||!r.value)throw ki(di.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${a}`,r)}),()=>{delete t.config.globalProperties.$i18n,hb.forEach(a=>{delete t.config.globalProperties[`$${a}`]})}}const Bk=ci({name:"i18n-d",props:Oi({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ad),setup(t,e){const s=t.i18n||rd({useScope:t.scope,__useComponent:!0});return Wm(t,e,Rm,(...n)=>s[Xl](...n))}}),_b=Bk;fk();Hy(zy);Vy(Gy);Uy(Cm);if(__INTLIFY_PROD_DEVTOOLS__){const t=Gm();t.__INTLIFY__=!0,Ay(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Zo=t=>t&&typeof t=="object"&&!Array.isArray(t),Zl=(t,...e)=>{if(!e.length)return t;const s=e.shift();if(Zo(t)&&Zo(s))for(const n in s)Zo(s[n])?(t[n]||Object.assign(t,{[n]:{}}),Zl(t[n],s[n])):Object.assign(t,{[n]:s[n]});return Zl(t,...e)},Gk=Zl({},{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:"Home Assistant addon"}},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.
|
|
104
104
|
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
|
|
105
105
|
|
|
106
106
|
**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í.
|
|
@@ -313,7 +313,7 @@ It allows you for example to redirect the power on/off commands to a different a
|
|
|
313
313
|
It allows you for example to redirect the volume control commands to a different appliance, or disable it completely.`}}},mute_control:{label:{t:0,b:{t:2,i:[{t:3}],s:"Mute control"}},description:{t:0,b:{t:2,i:[{t:3}],s:`Define/override the mute control behavior for this player.
|
|
314
314
|
It allows you for example to redirect the muting control commands to a different appliance, or disable it completely.
|
|
315
315
|
|
|
316
|
-
We offer a 'fake' mute control option, which will simulate muting by setting the volume to 0 and restoring the volume when unmuting.`}}}},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"}}},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_popularity:{t:0,b:{t:2,i:[{t:3}],s:"By popularity"}},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"}}}},{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"}},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."}}},add_group_player_desc:{t:0,b:{t:2,i:[{t:3}],s:`For player providers/ecosystems that provide native grouping/syncing, a syncgroup will be automatically created, meaning that if you play to this Player Group, the member players will be automatically synchronised.
|
|
316
|
+
We offer a 'fake' mute control option, which will simulate muting by setting the volume to 0 and restoring the volume when unmuting.`}}}},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"}},select_all:{t:0,b:{t:2,i:[{t:3}],s:"Select all 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"}}},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_popularity:{t:0,b:{t:2,i:[{t:3}],s:"By popularity"}},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"}}}},{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"}},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."}}},add_group_player_desc:{t:0,b:{t:2,i:[{t:3}],s:`For player providers/ecosystems that provide native grouping/syncing, a syncgroup will be automatically created, meaning that if you play to this Player Group, the member players will be automatically synchronised.
|
|
317
317
|
|
|
318
318
|
For players/ecosystems that do not support grouping, or in case you want to group players from different ecosystems, you can use the Universal group type, which will distribute the same audio to all member players (but not in sync).
|
|
319
319
|
|
|
@@ -957,9 +957,9 @@ I så fall måste du manuellt ange sökvägen till inställningar eller rensa we
|
|
|
957
957
|
|
|
958
958
|
对于不支持分组的播放器/生态系统,或者如果要对来自不同生态系统的播放器进行分组,可以使用通用分组类型,它将向所有成员播放器分发相同的音频(但不同步)。
|
|
959
959
|
|
|
960
|
-
请注意,有些提供商确实支持分组,但你需要使用本机应用程序来执行分组。例如,基于 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:"允许成员(临时)加入/离开组,因此,该组或多或少的行为类似于手动将播放器同步在一起,主要区别在于,群发播放器将保持队列."}}}},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,v:"立即同步"},{t:5,i:0}]}},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:"这是此图像类型的主要图像"}}},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_popularity:{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:"禁用“不要停止音乐!”"}},select_source:{t:0,b:{t:2,i:[{t:3}],s:"Selecteer bron"}},streamdetails:{click_to_expand:{t:0,b:{t:2,i:[{t:3}],s:"Klik om alle spelers te tonen"}}}}}),Ld=nk({globalInjection:!0,locale:navigator.language.split("-")[0],fallbackLocale:"en",missingWarn:!1,fallbackWarn:!1,messages:fk}),An=Ld.global.t,gi=function(t){var e;if(t.media_type==nt.FOLDER)return!0;if("provider_mappings"in t){for(const s of t.provider_mappings)if(s.available&&((e=rt.providers[s.provider_instance])!=null&&e.available))return!0}else if("available"in t)return t.available;return!1},GA=function(t){const e=t.active_source||"";if(e in rt.queues)return rt.queues[e].display_name;for(const s of t.source_list)if(e==s.id)return s.name;return e};function bt(t,e){return s=>Object.keys(t).reduce((n,a)=>{const o=typeof t[a]=="object"&&t[a]!=null&&!Array.isArray(t[a])?t[a]:{type:t[a]};return s&&a in s?n[a]={...o,default:s[a]}:n[a]=o,e&&!n[a].source&&(n[a].source=e),n},{})}const le=bt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component"),Ft=typeof window<"u",Dd=Ft&&"IntersectionObserver"in window,vk=Ft&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function Uc(t,e,s){gk(t,e),e.set(t,s)}function gk(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _k(t,e,s){return t.set(vm(t,e),s),s}function ps(t,e){return t.get(vm(t,e))}function vm(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 gm(t,e,s){const n=e.length-1;if(n<0)return t===void 0?s:t;for(let a=0;a<n;a++){if(t==null)return s;t=t[e[a]]}return t==null||t[e[n]]===void 0?s:t[e[n]]}function Id(t,e){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 s=Object.keys(t);return s.length!==Object.keys(e).length?!1:s.every(n=>Id(t[n],e[n]))}function zl(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(/^\./,""),gm(t,e.split("."),s))}function Li(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 a=e(t,s);return typeof a>"u"?s:a}if(typeof e=="string")return zl(t,e,s);if(Array.isArray(e))return gm(t,e,s);if(typeof e!="function")return s;const n=e(t,s);return typeof n>"u"?s:n}function _m(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(s,n)=>e+n)}function kt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(t==null||t===""))return isNaN(+t)?String(t):isFinite(+t)?`${Number(t)}${e}`:void 0}function hk(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function Wc(t){let e;return t!==null&&typeof t=="object"&&((e=Object.getPrototypeOf(t))===Object.prototype||e===null)}function hm(t){if(t&&"$el"in t){const e=t.$el;return(e==null?void 0:e.nodeType)===Node.TEXT_NODE?e.nextElementSibling:e}return t}const $c=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),FA=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 VA(t){return Object.keys(t)}function Ao(t,e){return e.every(s=>t.hasOwnProperty(s))}function Rd(t,e){const s={},n=new Set(Object.keys(t));for(const a of e)n.has(a)&&(s[a]=t[a]);return s}function Kc(t,e,s){const n=Object.create(null),a=Object.create(null);for(const r in t)e.some(o=>o instanceof RegExp?o.test(r):o===r)?n[r]=t[r]:a[r]=t[r];return[n,a]}function $r(t,e){const s={...t};return e.forEach(n=>delete s[n]),s}function HA(t,e){const s={};return e.forEach(n=>s[n]=t[n]),s}const ym=/^on[^a-z]/,km=t=>ym.test(t),yk=["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"],kk=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function UA(t){return t.isComposing&&kk.includes(t.key)}function WA(t){const[e,s]=Kc(t,[ym]),n=$r(e,yk),[a,r]=Kc(s,["class","style","id",/^data-/]);return Object.assign(a,e),Object.assign(r,n),[a,r]}function wm(t){return t==null?[]:Array.isArray(t)?t:[t]}function $A(t,e){let s=0;const n=function(){for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];clearTimeout(s),s=setTimeout(()=>t(...r),qt(e))};return n.clear=()=>{clearTimeout(s)},n.immediate=t,n}function rn(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 KA(t){const e=t.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function Xc(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 Yc(t,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-t.length))+t}function wk(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const s=[];let n=0;for(;n<t.length;)s.push(t.substr(n,e)),n+=e;return s}function ge(){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 n={};for(const a in t)n[a]=t[a];for(const a in e){const r=t[a],o=e[a];if(Wc(r)&&Wc(o)){n[a]=ge(r,o,s);continue}if(s&&Array.isArray(r)&&Array.isArray(o)){n[a]=s(r,o);continue}n[a]=o}return n}function Sm(t){return t.map(e=>e.type===Tt?Sm(e.children):e).flat()}function hs(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(hs.cache.has(t))return hs.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return hs.cache.set(t,e),e}hs.cache=new Map;function ja(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(s=>ja(t,s)).flat(1);if(e.suspense)return ja(t,e.ssContent);if(Array.isArray(e.children))return e.children.map(s=>ja(t,s)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(t))return[e.component];if(e.component.subTree)return ja(t,e.component.subTree).flat(1)}return[]}var Ca=new WeakMap,Ms=new WeakMap;class XA{constructor(e){Uc(this,Ca,[]),Uc(this,Ms,0),this.size=e}push(e){ps(Ca,this)[ps(Ms,this)]=e,_k(Ms,this,(ps(Ms,this)+1)%this.size)}values(){return ps(Ca,this).slice(ps(Ms,this)).concat(ps(Ca,this).slice(0,ps(Ms,this)))}}function Od(t){const e=ae({}),s=F(t);return ss(()=>{for(const n in s.value)e[n]=s.value[n]},{flush:"sync"}),xr(e)}function cr(t,e){return t.includes(e)}function zm(t){return t[2].toLowerCase()+t.slice(3)}const qn=()=>[Function,Array];function Zc(t,e){return e="on"+dn(e),!!(t[e]||t[`${e}Once`]||t[`${e}Capture`]||t[`${e}OnceCapture`]||t[`${e}CaptureOnce`])}function YA(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),n=1;n<e;n++)s[n-1]=arguments[n];if(Array.isArray(t))for(const a of t)a(...s);else typeof t=="function"&&t(...s)}function Tl(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const s=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(n=>`${n}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...t.querySelectorAll(s)]}function Tm(t,e,s){let n,a=t.indexOf(document.activeElement);const r=e==="next"?1:-1;do a+=r,n=t[a];while((!n||n.offsetParent==null||!((s==null?void 0:s(n))??!0))&&a<t.length&&a>=0);return n}function Gn(t,e){var n,a,r,o;const s=Tl(t);if(!e)(t===document.activeElement||!t.contains(document.activeElement))&&((n=s[0])==null||n.focus());else if(e==="first")(a=s[0])==null||a.focus();else if(e==="last")(r=s.at(-1))==null||r.focus();else if(typeof e=="number")(o=s[e])==null||o.focus();else{const l=Tm(s,e);l?l.focus():Gn(t,e==="next"?"first":"last")}}function ZA(){}function Sk(t,e){if(!(Ft&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!t&&t.matches(e)}catch{return null}}function zk(t){return t.some(e=>zs(e)?e.type===se?!1:e.type!==Tt||zk(e.children):!0)?t:null}function Tk(t,e){if(!Ft||t===0)return e(),()=>{};const s=window.setTimeout(e,t);return()=>window.clearTimeout(s)}function Ak(t,e){const s=t.clientX,n=t.clientY,a=e.getBoundingClientRect(),r=a.left,o=a.top,l=a.right,d=a.bottom;return s>=r&&s<=l&&n>=o&&n<=d}function Qc(){const t=At(),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:()=>hm(t.value)}),e}function QA(t){const e=t.key.length===1,s=!t.ctrlKey&&!t.metaKey&&!t.altKey;return e&&s}function Am(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="bigint"}function _e(t,e){const s=Gi();if(!s)throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);return s}function os(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=_e(t).type;return hs((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let Pm=0,Va=new WeakMap;function Kr(){const t=_e("getUid");if(Va.has(t))return Va.get(t);{const e=Pm++;return Va.set(t,e),e}}Kr.reset=()=>{Pm=0,Va=new WeakMap};function Pk(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_e("injectSelf");const{provides:s}=e;if(s&&t in s)return s[t]}const on=Symbol.for("vuetify:defaults");function Ek(t){return st(t)}function Nd(){const t=Dt(on);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function Bd(t,e){const s=Nd(),n=st(t),a=F(()=>{if(qt(e==null?void 0:e.disabled))return s.value;const o=qt(e==null?void 0:e.scoped),l=qt(e==null?void 0:e.reset),d=qt(e==null?void 0:e.root);if(n.value==null&&!(o||l||d))return s.value;let c=ge(n.value,{prev:s.value});if(o)return c;if(l||d){const u=Number(l||1/0);for(let b=0;b<=u&&!(!c||!("prev"in c));b++)c=c.prev;return c&&typeof d=="string"&&d in c&&(c=ge(ge(c,{prev:c}),c[d])),c}return c.prev?ge(c.prev,c):c});return je(on,a),a}function jk(t,e){var s,n;return typeof((s=t.props)==null?void 0:s[e])<"u"||typeof((n=t.props)==null?void 0:n[hs(e)])<"u"}function Ck(){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]:Nd();const n=_e("useDefaults");if(e=e??n.type.name??n.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const a=F(()=>{var d;return(d=s.value)==null?void 0:d[t._as??e]}),r=new Proxy(t,{get(d,c){var b,p,m,f,v,k,h;const u=Reflect.get(d,c);return c==="class"||c==="style"?[(b=a.value)==null?void 0:b[c],u].filter(g=>g!=null):typeof c=="string"&&!jk(n.vnode,c)?((p=a.value)==null?void 0:p[c])!==void 0?(m=a.value)==null?void 0:m[c]:((v=(f=s.value)==null?void 0:f.global)==null?void 0:v[c])!==void 0?(h=(k=s.value)==null?void 0:k.global)==null?void 0:h[c]:u:u}}),o=At();ss(()=>{if(a.value){const d=Object.entries(a.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});o.value=d.length?Object.fromEntries(d):void 0}else o.value=void 0});function l(){const d=Pk(on,n);je(on,F(()=>o.value?ge((d==null?void 0:d.value)??{},o.value):d==null?void 0:d.value))}return{props:r,provideSubDefaults:l}}const Em=["top","bottom"],xk=["start","end","left","right"];function Al(t,e){let[s,n]=t.split(" ");return n||(n=cr(Em,s)?"start":cr(xk,s)?"top":"center"),{side:Jc(s,e),align:Jc(n,e)}}function Jc(t,e){return t==="start"?e?"right":"left":t==="end"?e?"left":"right":t}function Po(t){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.side],align:t.align}}function Eo(t){return{side:t.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[t.align]}}function tb(t){return{side:t.align,align:t.side}}function eb(t){return cr(Em,t.side)?"y":"x"}class ys{constructor(e){let{x:s,y:n,width:a,height:r}=e;this.x=s,this.y=n,this.width=a,this.height=r}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 ib(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 jm(t){return Array.isArray(t)?new ys({x:t[0],y:t[1],width:0,height:0}):t.getBoundingClientRect()}function Cm(t){const e=t.getBoundingClientRect(),s=getComputedStyle(t),n=s.transform;if(n){let a,r,o,l,d;if(n.startsWith("matrix3d("))a=n.slice(9,-1).split(/, /),r=+a[0],o=+a[5],l=+a[12],d=+a[13];else if(n.startsWith("matrix("))a=n.slice(7,-1).split(/, /),r=+a[0],o=+a[3],l=+a[4],d=+a[5];else return new ys(e);const c=s.transformOrigin,u=e.x-l-(1-r)*parseFloat(c),b=e.y-d-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),p=r?e.width/r:t.offsetWidth+1,m=o?e.height/o:t.offsetHeight+1;return new ys({x:u,y:b,width:p,height:m})}else return new ys(e)}function Pn(t,e,s){if(typeof t.animate>"u")return{finished:Promise.resolve()};let n;try{n=t.animate(e,s)}catch{return{finished:Promise.resolve()}}return typeof n.finished>"u"&&(n.finished=new Promise(a=>{n.onfinish=()=>{a(n)}})),n}const Ha=new WeakMap;function Mk(t,e){Object.keys(e).forEach(s=>{if(km(s)){const n=zm(s),a=Ha.get(t);if(e[s]==null)a==null||a.forEach(r=>{const[o,l]=r;o===n&&(t.removeEventListener(n,l),a.delete(r))});else if(!a||![...a].some(r=>r[0]===n&&r[1]===e[s])){t.addEventListener(n,e[s]);const r=a||new Set;r.add([n,e[s]]),Ha.has(t)||Ha.set(t,r)}}else e[s]==null?t.removeAttribute(s):t.setAttribute(s,e[s])})}function Lk(t,e){Object.keys(e).forEach(s=>{if(km(s)){const n=zm(s),a=Ha.get(t);a==null||a.forEach(r=>{const[o,l]=r;o===n&&(t.removeEventListener(n,l),a.delete(r))})}else t.removeAttribute(s)})}const Ls=2.4,sb=.2126729,nb=.7151522,ab=.072175,Dk=.55,Ik=.58,Rk=.57,Ok=.62,xa=.03,rb=1.45,Nk=5e-4,Bk=1.25,qk=1.25,Gk=.078,ob=12.82051282051282,Ma=.06,Fk=.001;function lb(t,e){const s=(t.r/255)**Ls,n=(t.g/255)**Ls,a=(t.b/255)**Ls,r=(e.r/255)**Ls,o=(e.g/255)**Ls,l=(e.b/255)**Ls;let d=s*sb+n*nb+a*ab,c=r*sb+o*nb+l*ab;if(d<=xa&&(d+=(xa-d)**rb),c<=xa&&(c+=(xa-c)**rb),Math.abs(c-d)<Nk)return 0;let u;if(c>d){const b=(c**Dk-d**Ik)*Bk;u=b<Fk?0:b<Gk?b-b*ob*Ma:b-Ma}else{const b=(c**Ok-d**Rk)*qk;u=b>-.001?0:b>-.078?b-b*ob*Ma:b+Ma}return u*100}function Vk(t,e){e=Array.isArray(e)?e.slice(0,-1).map(s=>`'${s}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const br=.20689655172413793,Hk=t=>t>br**3?Math.cbrt(t):t/(3*br**2)+4/29,Uk=t=>t>br?t**3:3*br**2*(t-4/29);function xm(t){const e=Hk,s=e(t[1]);return[116*s-16,500*(e(t[0]/.95047)-s),200*(s-e(t[2]/1.08883))]}function Mm(t){const e=Uk,s=(t[0]+16)/116;return[e(s+t[1]/500)*.95047,e(s),e(s-t[2]/200)*1.08883]}const Wk=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],$k=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,Kk=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Xk=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function Lm(t){const e=Array(3),s=$k,n=Wk;for(let a=0;a<3;++a)e[a]=Math.round(rn(s(n[a][0]*t[0]+n[a][1]*t[1]+n[a][2]*t[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function qd(t){let{r:e,g:s,b:n}=t;const a=[0,0,0],r=Xk,o=Kk;e=r(e/255),s=r(s/255),n=r(n/255);for(let l=0;l<3;++l)a[l]=o[l][0]*e+o[l][1]*s+o[l][2]*n;return a}function Pl(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function Yk(t){return Pl(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const db=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,Zk={rgb:(t,e,s,n)=>({r:t,g:e,b:s,a:n}),rgba:(t,e,s,n)=>({r:t,g:e,b:s,a:n}),hsl:(t,e,s,n)=>ub({h:t,s:e,l:s,a:n}),hsla:(t,e,s,n)=>ub({h:t,s:e,l:s,a:n}),hsv:(t,e,s,n)=>na({h:t,s:e,v:s,a:n}),hsva:(t,e,s,n)=>na({h:t,s:e,v:s,a:n})};function yi(t){if(typeof t=="number")return{r:(t&16711680)>>16,g:(t&65280)>>8,b:t&255};if(typeof t=="string"&&db.test(t)){const{groups:e}=t.match(db),{fn:s,values:n}=e,a=n.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(s)?parseFloat(r)/100:parseFloat(r));return Zk[s](...a)}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),Jk(e)}else if(typeof t=="object"){if(Ao(t,["r","g","b"]))return t;if(Ao(t,["h","s","l"]))return na(Dm(t));if(Ao(t,["h","s","v"]))return na(t)}throw new TypeError(`Invalid color: ${t==null?t:String(t)||t.constructor.name}
|
|
961
|
-
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function na(t){const{h:e,s,v:n,a}=t,r=l=>{const d=(l+e/60)%6;return n-n*s*Math.max(Math.min(d,4-d,1),0)},o=[r(5),r(3),r(1)].map(l=>Math.round(l*255));return{r:o[0],g:o[1],b:o[2],a}}function ub(t){return na(Dm(t))}function Dm(t){const{h:e,s,l:n,a}=t,r=n+s*Math.min(n,1-n),o=r===0?0:2-2*n/r;return{h:e,s:o,v:r,a}}function La(t){const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function Qk(t){let{r:e,g:s,b:n,a}=t;return`#${[La(e),La(s),La(n),a!==void 0?La(Math.round(a*255)):""].join("")}`}function Jk(t){t=tw(t);let[e,s,n,a]=wk(t,2).map(r=>parseInt(r,16));return a=a===void 0?a:a/255,{r:e,g:s,b:n,a}}function tw(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=Xc(Xc(t,6),8,"F")),t}function ew(t,e){const s=xm(qd(t));return s[0]=s[0]+e*10,Lm(Mm(s))}function iw(t,e){const s=xm(qd(t));return s[0]=s[0]-e*10,Lm(Mm(s))}function sw(t){const e=yi(t);return qd(e)[1]}function Im(t){const e=Math.abs(lb(yi(0),yi(t)));return Math.abs(lb(yi(16777215),yi(t)))>Math.min(e,50)?"#fff":"#000"}function bn(t){if(t._setup=t._setup??t.setup,!t.name)return t;if(t._setup){t.props=bt(t.props??{},t.name)();const e=Object.keys(t.props).filter(s=>s!=="class"&&s!=="style");t.filterProps=function(n){return Rd(n,e)},t.props._as=String,t.setup=function(n,a){const r=Nd();if(!r.value)return t._setup(n,a);const{props:o,provideSubDefaults:l}=Ck(n,n._as??t.name,r),d=t._setup(o,a);return l(),d}}return t}function Bt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?bn:Bi)(e)}function Rm(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",s=arguments.length>2?arguments[2]:void 0;return Bt()({name:s??dn(Ce(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...le()},setup(n,a){let{slots:r}=a;return()=>{var o;return Ht(n.tag,{class:[t,n.class],style:n.style},(o=r.default)==null?void 0:o.call(r))}}})}function Om(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 El="cubic-bezier(0.4, 0, 0.2, 1)",nw="cubic-bezier(0.0, 0, 0.2, 1)",aw="cubic-bezier(0.4, 0, 1, 1)";function rw(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;t;){if(e?ow(t):Gd(t))return t;t=t.parentElement}return document.scrollingElement}function pr(t,e){const s=[];if(e&&t&&!e.contains(t))return s;for(;t&&(Gd(t)&&s.push(t),t!==e);)t=t.parentElement;return s}function Gd(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return e.overflowY==="scroll"||e.overflowY==="auto"&&t.scrollHeight>t.clientHeight}function ow(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function lw(t){for(;t;){if(window.getComputedStyle(t).position==="fixed")return!0;t=t.offsetParent}return!1}function de(t){const e=_e("useRender");e.render=t}const dw=Bt()({name:"VCardActions",props:le(),setup(t,e){let{slots:s}=e;return Bd({VBtn:{slim:!0,variant:"text"}}),de(()=>{var n;return N("div",{class:["v-card-actions",t.class],style:t.style},[(n=s.default)==null?void 0:n.call(s)])}),{}}}),ui=bt({tag:{type:String,default:"div"}},"tag"),uw=bt({opacity:[Number,String],...le(),...ui()},"VCardSubtitle"),cw=Bt()({name:"VCardSubtitle",props:uw(),setup(t,e){let{slots:s}=e;return de(()=>N(t.tag,{class:["v-card-subtitle",t.class],style:[{"--v-card-subtitle-opacity":t.opacity},t.style]},s)),{}}}),bw=Rm("v-card-title"),pw=bt({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Ji=Bt(!1)({name:"VDefaultsProvider",props:pw(),setup(t,e){let{slots:s}=e;const{defaults:n,disabled:a,reset:r,root:o,scoped:l}=xr(t);return Bd(n,{reset:r,root:o,scoped:l,disabled:a}),()=>{var d;return(d=s.default)==null?void 0:d.call(s)}}});function Fd(t){return Od(()=>{const e=[],s={};if(t.value.background)if(Pl(t.value.background)){if(s.backgroundColor=t.value.background,!t.value.text&&Yk(t.value.background)){const n=yi(t.value.background);if(n.a==null||n.a===1){const a=Im(n);s.color=a,s.caretColor=a}}}else e.push(`bg-${t.value.background}`);return t.value.text&&(Pl(t.value.text)?(s.color=t.value.text,s.caretColor=t.value.text):e.push(`text-${t.value.text}`)),{colorClasses:e,colorStyles:s}})}function Xr(t,e){const s=F(()=>({text:Nt(t)?t.value:e?t[e]:null})),{colorClasses:n,colorStyles:a}=Fd(s);return{textColorClasses:n,textColorStyles:a}}function Ys(t,e){const s=F(()=>({background:Nt(t)?t.value:e?t[e]:null})),{colorClasses:n,colorStyles:a}=Fd(s);return{backgroundColorClasses:n,backgroundColorStyles:a}}const Nm={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",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload"},Bm={component:t=>Ht(Gm,{...t,class:"mdi"})},Ee=[String,Function,Object,Array],jl=Symbol.for("vuetify:icons"),Yr=bt({icon:{type:Ee},tag:{type:String,required:!0}},"icon"),cb=Bt()({name:"VComponentIcon",props:Yr(),setup(t,e){let{slots:s}=e;return()=>{const n=t.icon;return N(t.tag,null,{default:()=>{var a;return[t.icon?N(n,null,null):(a=s.default)==null?void 0:a.call(s)]}})}}}),qm=bn({name:"VSvgIcon",inheritAttrs:!1,props:Yr(),setup(t,e){let{attrs:s}=e;return()=>N(t.tag,oe(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(n=>Array.isArray(n)?N("path",{d:n[0],"fill-opacity":n[1]},null):N("path",{d:n},null)):N("path",{d:t.icon},null)])]})}}),mw=bn({name:"VLigatureIcon",props:Yr(),setup(t){return()=>N(t.tag,null,{default:()=>[t.icon]})}}),Gm=bn({name:"VClassIcon",props:Yr(),setup(t){return()=>N(t.tag,{class:t.icon},null)}});function fw(){return{svg:{component:qm},class:{component:Gm}}}function vw(t){const e=fw(),s=(t==null?void 0:t.defaultSet)??"mdi";return s==="mdi"&&!e.mdi&&(e.mdi=Bm),ge({defaultSet:s,sets:e,aliases:{...Nm,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 gw=t=>{const e=Dt(jl);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:F(()=>{var d;const n=qt(t);if(!n)return{component:cb};let a=n;if(typeof a=="string"&&(a=a.trim(),a.startsWith("$")&&(a=(d=e.aliases)==null?void 0:d[a.slice(1)])),Array.isArray(a))return{component:qm,icon:a};if(typeof a!="string")return{component:cb,icon:a};const r=Object.keys(e.sets).find(c=>typeof a=="string"&&a.startsWith(`${c}:`)),o=r?a.slice(r.length+1):a;return{component:e.sets[r??e.defaultSet].component,icon:o}})}},_w=["x-small","small","default","large","x-large"],Fm=bt({size:{type:[String,Number],default:"default"}},"size");function Vm(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();return Od(()=>{let s,n;return cr(_w,t.size)?s=`${e}--size-${t.size}`:t.size&&(n={width:kt(t.size),height:kt(t.size)}),{sizeClasses:s,sizeStyles:n}})}const aa=Symbol.for("vuetify:theme"),ls=bt({theme:String},"theme");function bb(){return{defaultTheme:"light",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":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",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":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function hw(){var n,a;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bb();const e=bb();if(!t)return{...e,isDisabled:!0};const s={};for(const[r,o]of Object.entries(t.themes??{})){const l=o.dark||r==="dark"?(n=e.themes)==null?void 0:n.dark:(a=e.themes)==null?void 0:a.light;s[r]=ge(l,o)}return ge(e,{...t,themes:s})}function yw(t){const e=hw(t),s=st(e.defaultTheme),n=st(e.themes),a=F(()=>{const u={};for(const[b,p]of Object.entries(n.value)){const m=u[b]={...p,colors:{...p.colors}};if(e.variations)for(const f of e.variations.colors){const v=m.colors[f];if(v)for(const k of["lighten","darken"]){const h=k==="lighten"?ew:iw;for(const g of _m(e.variations[k],1))m.colors[`${f}-${k}-${g}`]=Qk(h(yi(v),g))}}for(const f of Object.keys(m.colors)){if(/^on-[a-z]/.test(f)||m.colors[`on-${f}`])continue;const v=`on-${f}`,k=yi(m.colors[f]);m.colors[v]=Im(k)}}return u}),r=F(()=>a.value[s.value]),o=F(()=>{var f;const u=[];(f=r.value)!=null&&f.dark&&ms(u,":root",["color-scheme: dark"]),ms(u,":root",pb(r.value));for(const[v,k]of Object.entries(a.value))ms(u,`.v-theme--${v}`,[`color-scheme: ${k.dark?"dark":"normal"}`,...pb(k)]);const b=[],p=[],m=new Set(Object.values(a.value).flatMap(v=>Object.keys(v.colors)));for(const v of m)/^on-[a-z]/.test(v)?ms(p,`.${v}`,[`color: rgb(var(--v-theme-${v})) !important`]):(ms(b,`.bg-${v}`,[`--v-theme-overlay-multiplier: var(--v-theme-${v}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${v})) !important`,`color: rgb(var(--v-theme-on-${v})) !important`]),ms(p,`.text-${v}`,[`color: rgb(var(--v-theme-${v})) !important`]),ms(p,`.border-${v}`,[`--v-border-color: var(--v-theme-${v})`]));return u.push(...b,...p),u.map((v,k)=>k===0?v:` ${v}`).join("")});function l(){return{style:[{children:o.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(u){if(e.isDisabled)return;const b=u._context.provides.usehead;if(b)if(b.push){const p=b.push(l);Ft&&ht(o,()=>{p.patch(l)})}else Ft?(b.addHeadObjs(F(l)),ss(()=>b.updateDOM())):b.addHeadObjs(l());else{let m=function(){if(typeof document<"u"&&!p){const f=document.createElement("style");f.type="text/css",f.id="vuetify-theme-stylesheet",e.cspNonce&&f.setAttribute("nonce",e.cspNonce),p=f,document.head.appendChild(p)}p&&(p.innerHTML=o.value)},p=Ft?document.getElementById("vuetify-theme-stylesheet"):null;Ft?ht(o,m,{immediate:!0}):m()}}const c=F(()=>e.isDisabled?void 0:`v-theme--${s.value}`);return{install:d,isDisabled:e.isDisabled,name:s,themes:n,current:r,computedThemes:a,themeClasses:c,styles:o,global:{name:s,current:r}}}function ds(t){_e("provideTheme");const e=Dt(aa,null);if(!e)throw new Error("Could not find Vuetify theme injection");const s=F(()=>t.theme??e.name.value),n=F(()=>e.themes.value[s.value]),a=F(()=>e.isDisabled?void 0:`v-theme--${s.value}`),r={...e,name:s,current:n,themeClasses:a};return je(aa,r),r}function kw(){_e("useTheme");const t=Dt(aa,null);if(!t)throw new Error("Could not find Vuetify theme injection");return t}function ms(t,e,s){t.push(`${e} {
|
|
960
|
+
请注意,有些提供商确实支持分组,但你需要使用本机应用程序来执行分组。例如,基于 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:"允许成员(临时)加入/离开组,因此,该组或多或少的行为类似于手动将播放器同步在一起,主要区别在于,群发播放器将保持队列."}}}},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,v:"立即同步"},{t:5,i:0}]}},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:"这是此图像类型的主要图像"}}},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_popularity:{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:"禁用“不要停止音乐!”"}},select_source:{t:0,b:{t:2,i:[{t:3}],s:"Selecteer bron"}},streamdetails:{click_to_expand:{t:0,b:{t:2,i:[{t:3}],s:"Klik om alle spelers te tonen"}}}}}),od=jk({globalInjection:!0,locale:navigator.language.split("-")[0],fallbackLocale:"en",missingWarn:!1,fallbackWarn:!1,messages:Gk}),jt=od.global.t,Ci=function(t){var e;if(t.media_type==ut.FOLDER)return!0;if("provider_mappings"in t){for(const s of t.provider_mappings)if(s.available&&((e=Y.providers[s.provider_instance])!=null&&e.available))return!0}else if("available"in t)return t.available;return!1},LE=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 vt(t,e){return s=>Object.keys(t).reduce((n,a)=>{const o=typeof t[a]=="object"&&t[a]!=null&&!Array.isArray(t[a])?t[a]:{type:t[a]};return s&&a in s?n[a]={...o,default:s[a]}:n[a]=o,e&&!n[a].source&&(n[a].source=e),n},{})}const oe=vt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component"),$t=typeof window<"u",ld=$t&&"IntersectionObserver"in window,qk=$t&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function yb(t,e,s){Fk(t,e),e.set(t,s)}function Fk(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hk(t,e,s){return t.set(Km(t,e),s),s}function Ps(t,e){return t.get(Km(t,e))}function Km(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 Xm(t,e,s){const n=e.length-1;if(n<0)return t===void 0?s:t;for(let a=0;a<n;a++){if(t==null)return s;t=t[e[a]]}return t==null||t[e[n]]===void 0?s:t[e[n]]}function La(t,e){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 s=Object.keys(t);return s.length!==Object.keys(e).length?!1:s.every(n=>La(t[n],e[n]))}function Ql(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(/^\./,""),Xm(t,e.split("."),s))}function Yi(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 a=e(t,s);return typeof a>"u"?s:a}if(typeof e=="string")return Ql(t,e,s);if(Array.isArray(e))return Xm(t,e,s);if(typeof e!="function")return s;const n=e(t,s);return typeof n>"u"?s:n}function Ym(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:t},(s,n)=>e+n)}function Dt(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(t==null||t===""))return isNaN(+t)?String(t):isFinite(+t)?`${Number(t)}${e}`:void 0}function Vk(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function kb(t){let e;return t!==null&&typeof t=="object"&&((e=Object.getPrototypeOf(t))===Object.prototype||e===null)}function $m(t){if(t&&"$el"in t){const e=t.$el;return(e==null?void 0:e.nodeType)===Node.TEXT_NODE?e.nextElementSibling:e}return t}const wb=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),DE=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 RE(t){return Object.keys(t)}function Qo(t,e){return e.every(s=>t.hasOwnProperty(s))}function ud(t,e){const s={};for(const n of e)Object.hasOwn(t,n)&&(s[n]=t[n]);return s}function Sb(t,e,s){const n=Object.create(null),a=Object.create(null);for(const r in t)e.some(o=>o instanceof RegExp?o.test(r):o===r)?n[r]=t[r]:a[r]=t[r];return[n,a]}function Da(t,e){const s={...t};return e.forEach(n=>delete s[n]),s}const Zm=/^on[^a-z]/,Qm=t=>Zm.test(t),Uk=["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"],Wk=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function OE(t){return t.isComposing&&Wk.includes(t.key)}function NE(t){const[e,s]=Sb(t,[Zm]),n=Da(e,Uk),[a,r]=Sb(s,["class","style","id",/^data-/]);return Object.assign(a,e),Object.assign(r,n),[a,r]}function dd(t){return t==null?[]:Array.isArray(t)?t:[t]}function BE(t,e){let s=0;const n=function(){for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];clearTimeout(s),s=setTimeout(()=>t(...r),Z(e))};return n.clear=()=>{clearTimeout(s)},n.immediate=t,n}function wn(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 GE(t){const e=t.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function zb(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 Ab(t,e){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,e-t.length))+t}function Kk(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const s=[];let n=0;for(;n<t.length;)s.push(t.substr(n,e)),n+=e;return s}function Me(){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 n={};for(const a in t)n[a]=t[a];for(const a in e){const r=t[a],o=e[a];if(kb(r)&&kb(o)){n[a]=Me(r,o,s);continue}if(s&&Array.isArray(r)&&Array.isArray(o)){n[a]=s(r,o);continue}n[a]=o}return n}function Jm(t){return t.map(e=>e.type===bt?Jm(e.children):e).flat()}function xs(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(xs.cache.has(t))return xs.cache.get(t);const e=t.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return xs.cache.set(t,e),e}xs.cache=new Map;function Un(t,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(s=>Un(t,s)).flat(1);if(e.suspense)return Un(t,e.ssContent);if(Array.isArray(e.children))return e.children.map(s=>Un(t,s)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(t))return[e.component];if(e.component.subTree)return Un(t,e.component.subTree).flat(1)}return[]}var Ja=new WeakMap,Ks=new WeakMap;class qE{constructor(e){yb(this,Ja,[]),yb(this,Ks,0),this.size=e}push(e){Ps(Ja,this)[Ps(Ks,this)]=e,Hk(Ks,this,(Ps(Ks,this)+1)%this.size)}values(){return Ps(Ja,this).slice(Ps(Ks,this)).concat(Ps(Ja,this).slice(0,Ps(Ks,this)))}}function cd(t){const e=ce({}),s=B(t);return _s(()=>{for(const n in s.value)e[n]=s.value[n]},{flush:"sync"}),ao(e)}function Nr(t,e){return t.includes(e)}function tf(t){return t[2].toLowerCase()+t.slice(3)}const Is=()=>[Function,Array];function Tb(t,e){return e="on"+An(e),!!(t[e]||t[`${e}Once`]||t[`${e}Capture`]||t[`${e}OnceCapture`]||t[`${e}CaptureOnce`])}function FE(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),n=1;n<e;n++)s[n-1]=arguments[n];if(Array.isArray(t))for(const a of t)a(...s);else typeof t=="function"&&t(...s)}function Br(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const s=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(n=>`${n}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...t.querySelectorAll(s)]}function ef(t,e,s){let n,a=t.indexOf(document.activeElement);const r=e==="next"?1:-1;do a+=r,n=t[a];while((!n||n.offsetParent==null||!((s==null?void 0:s(n))??!0))&&a<t.length&&a>=0);return n}function ra(t,e){var n,a,r,o;const s=Br(t);if(!e)(t===document.activeElement||!t.contains(document.activeElement))&&((n=s[0])==null||n.focus());else if(e==="first")(a=s[0])==null||a.focus();else if(e==="last")(r=s.at(-1))==null||r.focus();else if(typeof e=="number")(o=s[e])==null||o.focus();else{const l=ef(s,e);l?l.focus():ra(t,e==="next"?"first":"last")}}function HE(){}function Xk(t,e){if(!($t&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!t&&t.matches(e)}catch{return null}}function Yk(t){return t.some(e=>Os(e)?e.type===ye?!1:e.type!==bt||Yk(e.children):!0)?t:null}function $k(t,e){if(!$t||t===0)return e(),()=>{};const s=window.setTimeout(e,t);return()=>window.clearTimeout(s)}function Zk(t,e){const s=t.clientX,n=t.clientY,a=e.getBoundingClientRect(),r=a.left,o=a.top,l=a.right,u=a.bottom;return s>=r&&s<=l&&n>=o&&n<=u}function Jl(){const t=Mt(),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:()=>$m(t.value)}),e}function VE(t){const e=t.key.length===1,s=!t.ctrlKey&&!t.metaKey&&!t.altKey;return e&&s}function sf(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="bigint"}function Se(t,e){const s=ss();if(!s)throw new Error(`[Vuetify] ${t} must be called from inside a setup function`);return s}function Ss(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Se(t).type;return xs((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let nf=0,fr=new WeakMap;function En(){const t=Se("getUid");if(fr.has(t))return fr.get(t);{const e=nf++;return fr.set(t,e),e}}En.reset=()=>{nf=0,fr=new WeakMap};function Qk(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se("injectSelf");const{provides:s}=e;if(s&&t in s)return s[t]}const Sn=Symbol.for("vuetify:defaults");function Jk(t){return lt(t)}function bd(){const t=Kt(Sn);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function ko(t,e){const s=bd(),n=lt(t),a=B(()=>{if(Z(e==null?void 0:e.disabled))return s.value;const o=Z(e==null?void 0:e.scoped),l=Z(e==null?void 0:e.reset),u=Z(e==null?void 0:e.root);if(n.value==null&&!(o||l||u))return s.value;let c=Me(n.value,{prev:s.value});if(o)return c;if(l||u){const d=Number(l||1/0);for(let b=0;b<=d&&!(!c||!("prev"in c));b++)c=c.prev;return c&&typeof u=="string"&&u in c&&(c=Me(Me(c,{prev:c}),c[u])),c}return c.prev?Me(c.prev,c):c});return Pe(Sn,a),a}function tw(t,e){var s,n;return typeof((s=t.props)==null?void 0:s[e])<"u"||typeof((n=t.props)==null?void 0:n[xs(e)])<"u"}function ew(){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]:bd();const n=Se("useDefaults");if(e=e??n.type.name??n.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const a=B(()=>{var u;return(u=s.value)==null?void 0:u[t._as??e]}),r=new Proxy(t,{get(u,c){var b,p,m,f,v,_,g;const d=Reflect.get(u,c);return c==="class"||c==="style"?[(b=a.value)==null?void 0:b[c],d].filter(h=>h!=null):typeof c=="string"&&!tw(n.vnode,c)?((p=a.value)==null?void 0:p[c])!==void 0?(m=a.value)==null?void 0:m[c]:((v=(f=s.value)==null?void 0:f.global)==null?void 0:v[c])!==void 0?(g=(_=s.value)==null?void 0:_.global)==null?void 0:g[c]:d:d}}),o=Mt();_s(()=>{if(a.value){const u=Object.entries(a.value).filter(c=>{let[d]=c;return d.startsWith(d[0].toUpperCase())});o.value=u.length?Object.fromEntries(u):void 0}else o.value=void 0});function l(){const u=Qk(Sn,n);Pe(Sn,B(()=>o.value?Me((u==null?void 0:u.value)??{},o.value):u==null?void 0:u.value))}return{props:r,provideSubDefaults:l}}const af=["top","bottom"],iw=["start","end","left","right"];function tu(t,e){let[s,n]=t.split(" ");return n||(n=Nr(af,s)?"start":Nr(iw,s)?"top":"center"),{side:Pb(s,e),align:Pb(n,e)}}function Pb(t,e){return t==="start"?e?"right":"left":t==="end"?e?"left":"right":t}function Jo(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 Eb(t){return{side:t.align,align:t.side}}function jb(t){return Nr(af,t.side)?"y":"x"}class Ls{constructor(e){let{x:s,y:n,width:a,height:r}=e;this.x=s,this.y=n,this.width=a,this.height=r}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 Cb(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 rf(t){return Array.isArray(t)?new Ls({x:t[0],y:t[1],width:0,height:0}):t.getBoundingClientRect()}function of(t){const e=t.getBoundingClientRect(),s=getComputedStyle(t),n=s.transform;if(n){let a,r,o,l,u;if(n.startsWith("matrix3d("))a=n.slice(9,-1).split(/, /),r=+a[0],o=+a[5],l=+a[12],u=+a[13];else if(n.startsWith("matrix("))a=n.slice(7,-1).split(/, /),r=+a[0],o=+a[3],l=+a[4],u=+a[5];else return new Ls(e);const c=s.transformOrigin,d=e.x-l-(1-r)*parseFloat(c),b=e.y-u-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),p=r?e.width/r:t.offsetWidth+1,m=o?e.height/o:t.offsetHeight+1;return new Ls({x:d,y:b,width:p,height:m})}else return new Ls(e)}function Wn(t,e,s){if(typeof t.animate>"u")return{finished:Promise.resolve()};let n;try{n=t.animate(e,s)}catch{return{finished:Promise.resolve()}}return typeof n.finished>"u"&&(n.finished=new Promise(a=>{n.onfinish=()=>{a(n)}})),n}const vr=new WeakMap;function sw(t,e){Object.keys(e).forEach(s=>{if(Qm(s)){const n=tf(s),a=vr.get(t);if(e[s]==null)a==null||a.forEach(r=>{const[o,l]=r;o===n&&(t.removeEventListener(n,l),a.delete(r))});else if(!a||![...a].some(r=>r[0]===n&&r[1]===e[s])){t.addEventListener(n,e[s]);const r=a||new Set;r.add([n,e[s]]),vr.has(t)||vr.set(t,r)}}else e[s]==null?t.removeAttribute(s):t.setAttribute(s,e[s])})}function nw(t,e){Object.keys(e).forEach(s=>{if(Qm(s)){const n=tf(s),a=vr.get(t);a==null||a.forEach(r=>{const[o,l]=r;o===n&&(t.removeEventListener(n,l),a.delete(r))})}else t.removeAttribute(s)})}const Xs=2.4,Mb=.2126729,xb=.7151522,Ib=.072175,aw=.55,rw=.58,ow=.57,lw=.62,tr=.03,Lb=1.45,uw=5e-4,dw=1.25,cw=1.25,bw=.078,Db=12.82051282051282,er=.06,pw=.001;function Rb(t,e){const s=(t.r/255)**Xs,n=(t.g/255)**Xs,a=(t.b/255)**Xs,r=(e.r/255)**Xs,o=(e.g/255)**Xs,l=(e.b/255)**Xs;let u=s*Mb+n*xb+a*Ib,c=r*Mb+o*xb+l*Ib;if(u<=tr&&(u+=(tr-u)**Lb),c<=tr&&(c+=(tr-c)**Lb),Math.abs(c-u)<uw)return 0;let d;if(c>u){const b=(c**aw-u**rw)*dw;d=b<pw?0:b<bw?b-b*Db*er:b-er}else{const b=(c**lw-u**ow)*cw;d=b>-.001?0:b>-.078?b-b*Db*er:b+er}return d*100}function mw(t,e){e=Array.isArray(e)?e.slice(0,-1).map(s=>`'${s}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const Gr=.20689655172413793,fw=t=>t>Gr**3?Math.cbrt(t):t/(3*Gr**2)+4/29,vw=t=>t>Gr?t**3:3*Gr**2*(t-4/29);function lf(t){const e=fw,s=e(t[1]);return[116*s-16,500*(e(t[0]/.95047)-s),200*(s-e(t[2]/1.08883))]}function uf(t){const e=vw,s=(t[0]+16)/116;return[e(s+t[1]/500)*.95047,e(s),e(s-t[2]/200)*1.08883]}const gw=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],hw=t=>t<=.0031308?t*12.92:1.055*t**(1/2.4)-.055,_w=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],yw=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function df(t){const e=Array(3),s=hw,n=gw;for(let a=0;a<3;++a)e[a]=Math.round(wn(s(n[a][0]*t[0]+n[a][1]*t[1]+n[a][2]*t[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function pd(t){let{r:e,g:s,b:n}=t;const a=[0,0,0],r=yw,o=_w;e=r(e/255),s=r(s/255),n=r(n/255);for(let l=0;l<3;++l)a[l]=o[l][0]*e+o[l][1]*s+o[l][2]*n;return a}function eu(t){return!!t&&/^(#|var\(--|(rgb|hsl)a?\()/.test(t)}function kw(t){return eu(t)&&!/^((rgb|hsl)a?\()?var\(--/.test(t)}const Ob=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,ww={rgb:(t,e,s,n)=>({r:t,g:e,b:s,a:n}),rgba:(t,e,s,n)=>({r:t,g:e,b:s,a:n}),hsl:(t,e,s,n)=>Nb({h:t,s:e,l:s,a:n}),hsla:(t,e,s,n)=>Nb({h:t,s:e,l:s,a:n}),hsv:(t,e,s,n)=>ka({h:t,s:e,v:s,a:n}),hsva:(t,e,s,n)=>ka({h:t,s:e,v:s,a:n})};function Li(t){if(typeof t=="number")return{r:(t&16711680)>>16,g:(t&65280)>>8,b:t&255};if(typeof t=="string"&&Ob.test(t)){const{groups:e}=t.match(Ob),{fn:s,values:n}=e,a=n.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(s)?parseFloat(r)/100:parseFloat(r));return ww[s](...a)}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),zw(e)}else if(typeof t=="object"){if(Qo(t,["r","g","b"]))return t;if(Qo(t,["h","s","l"]))return ka(cf(t));if(Qo(t,["h","s","v"]))return ka(t)}throw new TypeError(`Invalid color: ${t==null?t:String(t)||t.constructor.name}
|
|
961
|
+
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ka(t){const{h:e,s,v:n,a}=t,r=l=>{const u=(l+e/60)%6;return n-n*s*Math.max(Math.min(u,4-u,1),0)},o=[r(5),r(3),r(1)].map(l=>Math.round(l*255));return{r:o[0],g:o[1],b:o[2],a}}function Nb(t){return ka(cf(t))}function cf(t){const{h:e,s,l:n,a}=t,r=n+s*Math.min(n,1-n),o=r===0?0:2-2*n/r;return{h:e,s:o,v:r,a}}function ir(t){const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function Sw(t){let{r:e,g:s,b:n,a}=t;return`#${[ir(e),ir(s),ir(n),a!==void 0?ir(Math.round(a*255)):""].join("")}`}function zw(t){t=Aw(t);let[e,s,n,a]=Kk(t,2).map(r=>parseInt(r,16));return a=a===void 0?a:a/255,{r:e,g:s,b:n,a}}function Aw(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=zb(zb(t,6),8,"F")),t}function Tw(t,e){const s=lf(pd(t));return s[0]=s[0]+e*10,df(uf(s))}function Pw(t,e){const s=lf(pd(t));return s[0]=s[0]-e*10,df(uf(s))}function Ew(t){const e=Li(t);return pd(e)[1]}function bf(t){const e=Math.abs(Rb(Li(0),Li(t)));return Math.abs(Rb(Li(16777215),Li(t)))>Math.min(e,50)?"#fff":"#000"}function jn(t){if(t._setup=t._setup??t.setup,!t.name)return t;if(t._setup){t.props=vt(t.props??{},t.name)();const e=Object.keys(t.props).filter(s=>s!=="class"&&s!=="style");t.filterProps=function(n){return ud(n,e)},t.props._as=String,t.setup=function(n,a){const r=bd();if(!r.value)return t._setup(n,a);const{props:o,provideSubDefaults:l}=ew(n,n._as??t.name,r),u=t._setup(o,a);return l(),u}}return t}function Ut(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(t?jn:ci)(e)}function pf(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??An(qe(t.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...oe()},setup(n,a){let{slots:r}=a;return()=>{var o;return ie(n.tag,{class:[t,n.class],style:n.style},(o=r.default)==null?void 0:o.call(r))}}})}function mf(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 iu="cubic-bezier(0.4, 0, 0.2, 1)",jw="cubic-bezier(0.0, 0, 0.2, 1)",Cw="cubic-bezier(0.4, 0, 1, 1)";function Mw(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;t;){if(e?xw(t):md(t))return t;t=t.parentElement}return document.scrollingElement}function qr(t,e){const s=[];if(e&&t&&!e.contains(t))return s;for(;t&&(md(t)&&s.push(t),t!==e);)t=t.parentElement;return s}function md(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return e.overflowY==="scroll"||e.overflowY==="auto"&&t.scrollHeight>t.clientHeight}function xw(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["scroll","auto"].includes(e.overflowY)}function Iw(t){for(;t;){if(window.getComputedStyle(t).position==="fixed")return!0;t=t.offsetParent}return!1}function le(t){const e=Se("useRender");e.render=t}const Lw=Ut()({name:"VCardActions",props:oe(),setup(t,e){let{slots:s}=e;return ko({VBtn:{slim:!0,variant:"text"}}),le(()=>{var n;return I("div",{class:["v-card-actions",t.class],style:t.style},[(n=s.default)==null?void 0:n.call(s)])}),{}}}),$e=vt({tag:{type:String,default:"div"}},"tag"),Dw=vt({opacity:[Number,String],...oe(),...$e()},"VCardSubtitle"),Rw=Ut()({name:"VCardSubtitle",props:Dw(),setup(t,e){let{slots:s}=e;return le(()=>I(t.tag,{class:["v-card-subtitle",t.class],style:[{"--v-card-subtitle-opacity":t.opacity},t.style]},s)),{}}}),Ow=pf("v-card-title"),Nw=vt({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),oi=Ut(!1)({name:"VDefaultsProvider",props:Nw(),setup(t,e){let{slots:s}=e;const{defaults:n,disabled:a,reset:r,root:o,scoped:l}=ao(t);return ko(n,{reset:r,root:o,scoped:l,disabled:a}),()=>{var u;return(u=s.default)==null?void 0:u.call(s)}}});function fd(t){return cd(()=>{const e=[],s={};if(t.value.background)if(eu(t.value.background)){if(s.backgroundColor=t.value.background,!t.value.text&&kw(t.value.background)){const n=Li(t.value.background);if(n.a==null||n.a===1){const a=bf(n);s.color=a,s.caretColor=a}}}else e.push(`bg-${t.value.background}`);return t.value.text&&(eu(t.value.text)?(s.color=t.value.text,s.caretColor=t.value.text):e.push(`text-${t.value.text}`)),{colorClasses:e,colorStyles:s}})}function wo(t,e){const s=B(()=>({text:Jt(t)?t.value:e?t[e]:null})),{colorClasses:n,colorStyles:a}=fd(s);return{textColorClasses:n,textColorStyles:a}}function mn(t,e){const s=B(()=>({background:Jt(t)?t.value:e?t[e]:null})),{colorClasses:n,colorStyles:a}=fd(s);return{backgroundColorClasses:n,backgroundColorStyles:a}}const ff={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",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload"},vf={component:t=>ie(hf,{...t,class:"mdi"})},re=[String,Function,Object,Array],su=Symbol.for("vuetify:icons"),So=vt({icon:{type:re},tag:{type:String,required:!0}},"icon"),Bb=Ut()({name:"VComponentIcon",props:So(),setup(t,e){let{slots:s}=e;return()=>{const n=t.icon;return I(t.tag,null,{default:()=>{var a;return[t.icon?I(n,null,null):(a=s.default)==null?void 0:a.call(s)]}})}}}),gf=jn({name:"VSvgIcon",inheritAttrs:!1,props:So(),setup(t,e){let{attrs:s}=e;return()=>I(t.tag,Bt(s,{style:null}),{default:()=>[I("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(n=>Array.isArray(n)?I("path",{d:n[0],"fill-opacity":n[1]},null):I("path",{d:n},null)):I("path",{d:t.icon},null)])]})}}),Bw=jn({name:"VLigatureIcon",props:So(),setup(t){return()=>I(t.tag,null,{default:()=>[t.icon]})}}),hf=jn({name:"VClassIcon",props:So(),setup(t){return()=>I(t.tag,{class:t.icon},null)}});function Gw(){return{svg:{component:gf},class:{component:hf}}}function qw(t){const e=Gw(),s=(t==null?void 0:t.defaultSet)??"mdi";return s==="mdi"&&!e.mdi&&(e.mdi=vf),Me({defaultSet:s,sets:e,aliases:{...ff,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 Fw=t=>{const e=Kt(su);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:B(()=>{var u;const n=Z(t);if(!n)return{component:Bb};let a=n;if(typeof a=="string"&&(a=a.trim(),a.startsWith("$")&&(a=(u=e.aliases)==null?void 0:u[a.slice(1)])),Array.isArray(a))return{component:gf,icon:a};if(typeof a!="string")return{component:Bb,icon:a};const r=Object.keys(e.sets).find(c=>typeof a=="string"&&a.startsWith(`${c}:`)),o=r?a.slice(r.length+1):a;return{component:e.sets[r??e.defaultSet].component,icon:o}})}},Hw=["x-small","small","default","large","x-large"],vd=vt({size:{type:[String,Number],default:"default"}},"size");function gd(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();return cd(()=>{let s,n;return Nr(Hw,t.size)?s=`${e}--size-${t.size}`:t.size&&(n={width:Dt(t.size),height:Dt(t.size)}),{sizeClasses:s,sizeStyles:n}})}const wa=Symbol.for("vuetify:theme"),Bi=vt({theme:String},"theme");function Gb(){return{defaultTheme:"light",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":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",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":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function Vw(){var n,a;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gb();const e=Gb();if(!t)return{...e,isDisabled:!0};const s={};for(const[r,o]of Object.entries(t.themes??{})){const l=o.dark||r==="dark"?(n=e.themes)==null?void 0:n.dark:(a=e.themes)==null?void 0:a.light;s[r]=Me(l,o)}return Me(e,{...t,themes:s})}function Uw(t){const e=Vw(t),s=lt(e.defaultTheme),n=lt(e.themes),a=B(()=>{const d={};for(const[b,p]of Object.entries(n.value)){const m=d[b]={...p,colors:{...p.colors}};if(e.variations)for(const f of e.variations.colors){const v=m.colors[f];if(v)for(const _ of["lighten","darken"]){const g=_==="lighten"?Tw:Pw;for(const h of Ym(e.variations[_],1))m.colors[`${f}-${_}-${h}`]=Sw(g(Li(v),h))}}for(const f of Object.keys(m.colors)){if(/^on-[a-z]/.test(f)||m.colors[`on-${f}`])continue;const v=`on-${f}`,_=Li(m.colors[f]);m.colors[v]=bf(_)}}return d}),r=B(()=>a.value[s.value]),o=B(()=>{var f;const d=[];(f=r.value)!=null&&f.dark&&Es(d,":root",["color-scheme: dark"]),Es(d,":root",qb(r.value));for(const[v,_]of Object.entries(a.value))Es(d,`.v-theme--${v}`,[`color-scheme: ${_.dark?"dark":"normal"}`,...qb(_)]);const b=[],p=[],m=new Set(Object.values(a.value).flatMap(v=>Object.keys(v.colors)));for(const v of m)/^on-[a-z]/.test(v)?Es(p,`.${v}`,[`color: rgb(var(--v-theme-${v})) !important`]):(Es(b,`.bg-${v}`,[`--v-theme-overlay-multiplier: var(--v-theme-${v}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${v})) !important`,`color: rgb(var(--v-theme-on-${v})) !important`]),Es(p,`.text-${v}`,[`color: rgb(var(--v-theme-${v})) !important`]),Es(p,`.border-${v}`,[`--v-border-color: var(--v-theme-${v})`]));return d.push(...b,...p),d.map((v,_)=>_===0?v:` ${v}`).join("")});function l(){return{style:[{children:o.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function u(d){if(e.isDisabled)return;const b=d._context.provides.usehead;if(b)if(b.push){const p=b.push(l);$t&&Tt(o,()=>{p.patch(l)})}else $t?(b.addHeadObjs(B(l)),_s(()=>b.updateDOM())):b.addHeadObjs(l());else{let m=function(){if(typeof document<"u"&&!p){const f=document.createElement("style");f.type="text/css",f.id="vuetify-theme-stylesheet",e.cspNonce&&f.setAttribute("nonce",e.cspNonce),p=f,document.head.appendChild(p)}p&&(p.innerHTML=o.value)},p=$t?document.getElementById("vuetify-theme-stylesheet"):null;$t?Tt(o,m,{immediate:!0}):m()}}const c=B(()=>e.isDisabled?void 0:`v-theme--${s.value}`);return{install:u,isDisabled:e.isDisabled,name:s,themes:n,current:r,computedThemes:a,themeClasses:c,styles:o,global:{name:s,current:r}}}function Gi(t){Se("provideTheme");const e=Kt(wa,null);if(!e)throw new Error("Could not find Vuetify theme injection");const s=B(()=>t.theme??e.name.value),n=B(()=>e.themes.value[s.value]),a=B(()=>e.isDisabled?void 0:`v-theme--${s.value}`),r={...e,name:s,current:n,themeClasses:a};return Pe(wa,r),r}function _f(){Se("useTheme");const t=Kt(wa,null);if(!t)throw new Error("Could not find Vuetify theme injection");return t}function Es(t,e,s){t.push(`${e} {
|
|
962
962
|
`,...s.map(n=>` ${n};
|
|
963
963
|
`),`}
|
|
964
|
-
`)}function pb(t){const e=t.dark?2:1,s=t.dark?1:2,n=[];for(const[a,r]of Object.entries(t.colors)){const o=yi(r);n.push(`--v-theme-${a}: ${o.r},${o.g},${o.b}`),a.startsWith("on-")||n.push(`--v-theme-${a}-overlay-multiplier: ${sw(r)>.18?e:s}`)}for(const[a,r]of Object.entries(t.variables)){const o=typeof r=="string"&&r.startsWith("#")?yi(r):void 0,l=o?`${o.r}, ${o.g}, ${o.b}`:void 0;n.push(`--v-${a}: ${l??r}`)}return n}const ww=bt({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:Ee,...le(),...Fm(),...ui({tag:"i"}),...ls()},"VIcon"),ln=Bt()({name:"VIcon",props:ww(),setup(t,e){let{attrs:s,slots:n}=e;const a=st(),{themeClasses:r}=ds(t),{iconData:o}=gw(F(()=>a.value||t.icon)),{sizeClasses:l}=Vm(t),{textColorClasses:d,textColorStyles:c}=Xr(Vt(t,"color"));return de(()=>{var p,m;const u=(p=n.default)==null?void 0:p.call(n);u&&(a.value=(m=Sm(u).filter(f=>f.type===un&&f.children&&typeof f.children=="string")[0])==null?void 0:m.children);const b=!!(s.onClick||s.onClickOnce);return N(o.value.component,{tag:t.tag,icon:o.value.icon,class:["v-icon","notranslate",r.value,l.value,d.value,{"v-icon--clickable":b,"v-icon--disabled":t.disabled,"v-icon--start":t.start,"v-icon--end":t.end},t.class],style:[l.value?void 0:{fontSize:kt(t.size),height:kt(t.size),width:kt(t.size)},c.value,t.style],role:b?"button":void 0,"aria-hidden":!b,tabindex:b?t.disabled?-1:0:void 0},{default:()=>[u]})}),{}}}),pa=bt({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function ma(t){return{dimensionStyles:F(()=>{const s={},n=kt(t.height),a=kt(t.maxHeight),r=kt(t.maxWidth),o=kt(t.minHeight),l=kt(t.minWidth),d=kt(t.width);return n!=null&&(s.height=n),a!=null&&(s.maxHeight=a),r!=null&&(s.maxWidth=r),o!=null&&(s.minHeight=o),l!=null&&(s.minWidth=l),d!=null&&(s.width=d),s})}}function Sw(t){return{aspectStyles:F(()=>{const e=Number(t.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const Hm=bt({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...le(),...pa()},"VResponsive"),mb=Bt()({name:"VResponsive",props:Hm(),setup(t,e){let{slots:s}=e;const{aspectStyles:n}=Sw(t),{dimensionStyles:a}=ma(t);return de(()=>{var r;return N("div",{class:["v-responsive",{"v-responsive--inline":t.inline},t.class],style:[a.value,t.style]},[N("div",{class:"v-responsive__sizer",style:n.value},null),(r=s.additional)==null?void 0:r.call(s),s.default&&N("div",{class:["v-responsive__content",t.contentClass]},[s.default()])])}),{}}}),pn=bt({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function mn(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();return{roundedClasses:F(()=>{const n=Nt(t)?t.value:t.rounded,a=Nt(t)?t.value:t.tile,r=[];if(n===!0||n==="")r.push(`${e}--rounded`);else if(typeof n=="string"||n===0)for(const o of String(n).split(" "))r.push(`rounded-${o}`);else(a||n===!1)&&r.push("rounded-0");return r})}}const Um=bt({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>t!==!0}},"transition"),qs=(t,e)=>{let{slots:s}=e;const{transition:n,disabled:a,group:r,...o}=t,{component:l=r?bd:As,...d}=typeof n=="object"?n:{};return Ht(l,oe(typeof n=="string"?{name:a?"":n}:d,typeof n=="string"?{}:Object.fromEntries(Object.entries({disabled:a,group:r}).filter(c=>{let[u,b]=c;return b!==void 0})),o),s)};function zw(t,e){if(!Dd)return;const s=e.modifiers||{},n=e.value,{handler:a,options:r}=typeof n=="object"?n:{handler:n,options:{}},o=new IntersectionObserver(function(){var b;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const c=(b=t._observe)==null?void 0:b[e.instance.$.uid];if(!c)return;const u=l.some(p=>p.isIntersecting);a&&(!s.quiet||c.init)&&(!s.once||u||c.init)&&a(u,l,d),u&&s.once?Wm(t,e):c.init=!0},r);t._observe=Object(t._observe),t._observe[e.instance.$.uid]={init:!1,observer:o},o.observe(t)}function Wm(t,e){var n;const s=(n=t._observe)==null?void 0:n[e.instance.$.uid];s&&(s.observer.unobserve(t),delete t._observe[e.instance.$.uid])}const Tw={mounted:zw,unmounted:Wm},Aw=bt({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,...Hm(),...le(),...pn(),...Um()},"VImg"),$m=Bt()({name:"VImg",directives:{intersect:Tw},props:Aw(),emits:{loadstart:t=>!0,load:t=>!0,error:t=>!0},setup(t,e){let{emit:s,slots:n}=e;const{backgroundColorClasses:a,backgroundColorStyles:r}=Ys(Vt(t,"color")),{roundedClasses:o}=mn(t),l=_e("VImg"),d=At(""),c=st(),u=At(t.eager?"loading":"idle"),b=At(),p=At(),m=F(()=>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)}),f=F(()=>m.value.aspect||b.value/p.value||0);ht(()=>t.src,()=>{v(u.value!=="idle")}),ht(f,(x,M)=>{!x&&M&&c.value&&y(c.value)}),Dr(()=>v());function v(x){if(!(t.eager&&x)&&!(Dd&&!x&&!t.eager)){if(u.value="loading",m.value.lazySrc){const M=new Image;M.src=m.value.lazySrc,y(M,null)}m.value.src&&oi(()=>{var M;s("loadstart",((M=c.value)==null?void 0:M.currentSrc)||m.value.src),setTimeout(()=>{var V;if(!l.isUnmounted)if((V=c.value)!=null&&V.complete){if(c.value.naturalWidth||h(),u.value==="error")return;f.value||y(c.value,null),u.value==="loading"&&k()}else f.value||y(c.value),g()})})}}function k(){var x;l.isUnmounted||(g(),y(c.value),u.value="loaded",s("load",((x=c.value)==null?void 0:x.currentSrc)||m.value.src))}function h(){var x;l.isUnmounted||(u.value="error",s("error",((x=c.value)==null?void 0:x.currentSrc)||m.value.src))}function g(){const x=c.value;x&&(d.value=x.currentSrc||x.src)}let _=-1;di(()=>{clearTimeout(_)});function y(x){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const V=()=>{if(clearTimeout(_),l.isUnmounted)return;const{naturalHeight:X,naturalWidth:J}=x;X||J?(b.value=J,p.value=X):!x.complete&&u.value==="loading"&&M!=null?_=window.setTimeout(V,M):(x.currentSrc.endsWith(".svg")||x.currentSrc.startsWith("data:image/svg+xml"))&&(b.value=1,p.value=1)};V()}const w=F(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),P=()=>{var V;if(!m.value.src||u.value==="idle")return null;const x=N("img",{class:["v-img__img",w.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:c,onLoad:k,onError:h},null),M=(V=n.sources)==null?void 0:V.call(n);return N(qs,{transition:t.transition,appear:!0},{default:()=>[Qs(M?N("picture",{class:"v-img__picture"},[M,x]):x,[[cd,u.value==="loaded"]])]})},E=()=>N(qs,{transition:t.transition},{default:()=>[m.value.lazySrc&&u.value!=="loaded"&&N("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:t.position},crossorigin:t.crossorigin,src:m.value.lazySrc,alt:t.alt,referrerpolicy:t.referrerpolicy,draggable:t.draggable},null)]}),j=()=>n.placeholder?N(qs,{transition:t.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!n.error)&&N("div",{class:"v-img__placeholder"},[n.placeholder()])]}):null,z=()=>n.error?N(qs,{transition:t.transition,appear:!0},{default:()=>[u.value==="error"&&N("div",{class:"v-img__error"},[n.error()])]}):null,L=()=>t.gradient?N("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null):null,O=At(!1);{const x=ht(f,M=>{M&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{O.value=!0})}),x())})}return de(()=>{const x=mb.filterProps(t);return Qs(N(mb,oe({class:["v-img",{"v-img--absolute":t.absolute,"v-img--booting":!O.value},a.value,o.value,t.class],style:[{width:kt(t.width==="auto"?b.value:t.width)},r.value,t.style]},x,{aspectRatio:f.value,"aria-label":t.alt,role:t.alt?"img":void 0}),{additional:()=>N(Tt,null,[N(P,null,null),N(E,null,null),N(L,null,null),N(j,null,null),N(z,null,null)]),default:n.default}),[[Or("intersect"),{handler:v,options:t.options},null,{once:!0}]])}),{currentSrc:d,image:c,state:u,naturalWidth:b,naturalHeight:p}}}),Zr=bt({border:[Boolean,Number,String]},"border");function Qr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();return{borderClasses:F(()=>{const n=Nt(t)?t.value:t.border,a=[];if(n===!0||n==="")a.push(`${e}--border`);else if(typeof n=="string"||n===0)for(const r of String(n).split(" "))a.push(`border-${r}`);return a})}}const Pw=[null,"default","comfortable","compact"],fa=bt({density:{type:String,default:"default",validator:t=>Pw.includes(t)}},"density");function Jr(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();return{densityClasses:F(()=>`${e}--density-${t.density}`)}}const Ew=["elevated","flat","tonal","outlined","text","plain"];function Vd(t,e){return N(Tt,null,[t&&N("span",{key:"overlay",class:`${e}__overlay`},null),N("span",{key:"underlay",class:`${e}__underlay`},null)])}const to=bt({color:String,variant:{type:String,default:"elevated",validator:t=>Ew.includes(t)}},"variant");function Hd(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();const s=F(()=>{const{variant:r}=qt(t);return`${e}--variant-${r}`}),{colorClasses:n,colorStyles:a}=Fd(F(()=>{const{variant:r,color:o}=qt(t);return{[["elevated","flat"].includes(r)?"background":"text"]:o}}));return{colorClasses:n,colorStyles:a,variantClasses:s}}const jw=bt({start:Boolean,end:Boolean,icon:Ee,image:String,text:String,...Zr(),...le(),...fa(),...pn(),...Fm(),...ui(),...ls(),...to({variant:"flat"})},"VAvatar"),mr=Bt()({name:"VAvatar",props:jw(),setup(t,e){let{slots:s}=e;const{themeClasses:n}=ds(t),{borderClasses:a}=Qr(t),{colorClasses:r,colorStyles:o,variantClasses:l}=Hd(t),{densityClasses:d}=Jr(t),{roundedClasses:c}=mn(t),{sizeClasses:u,sizeStyles:b}=Vm(t);return de(()=>N(t.tag,{class:["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},n.value,a.value,r.value,d.value,c.value,u.value,l.value,t.class],style:[o.value,b.value,t.style]},{default:()=>[s.default?N(Ji,{key:"content-defaults",defaults:{VImg:{cover:!0,src:t.image},VIcon:{icon:t.icon}}},{default:()=>[s.default()]}):t.image?N($m,{key:"image",src:t.image,alt:"",cover:!0},null):t.icon?N(ln,{key:"icon",icon:t.icon},null):t.text,Vd(!1,"v-avatar")]})),{}}}),Cw=bt({appendAvatar:String,appendIcon:Ee,prependAvatar:String,prependIcon:Ee,subtitle:[String,Number],title:[String,Number],...le(),...fa()},"VCardItem"),xw=Bt()({name:"VCardItem",props:Cw(),setup(t,e){let{slots:s}=e;return de(()=>{var c;const n=!!(t.prependAvatar||t.prependIcon),a=!!(n||s.prepend),r=!!(t.appendAvatar||t.appendIcon),o=!!(r||s.append),l=!!(t.title!=null||s.title),d=!!(t.subtitle!=null||s.subtitle);return N("div",{class:["v-card-item",t.class],style:t.style},[a&&N("div",{key:"prepend",class:"v-card-item__prepend"},[s.prepend?N(Ji,{key:"prepend-defaults",disabled:!n,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon}}},s.prepend):N(Tt,null,[t.prependAvatar&&N(mr,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&N(ln,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)])]),N("div",{class:"v-card-item__content"},[l&&N(bw,{key:"title"},{default:()=>{var u;return[((u=s.title)==null?void 0:u.call(s))??t.title]}}),d&&N(cw,{key:"subtitle"},{default:()=>{var u;return[((u=s.subtitle)==null?void 0:u.call(s))??t.subtitle]}}),(c=s.default)==null?void 0:c.call(s)]),o&&N("div",{key:"append",class:"v-card-item__append"},[s.append?N(Ji,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon}}},s.append):N(Tt,null,[t.appendIcon&&N(ln,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&N(mr,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)])])])}),{}}}),Mw=bt({opacity:[Number,String],...le(),...ui()},"VCardText"),Lw=Bt()({name:"VCardText",props:Mw(),setup(t,e){let{slots:s}=e;return de(()=>N(t.tag,{class:["v-card-text",t.class],style:[{"--v-card-text-opacity":t.opacity},t.style]},s)),{}}}),Ud=bt({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Wd(t){return{elevationClasses:F(()=>{const s=Nt(t)?t.value:t.elevation,n=[];return s==null||n.push(`elevation-${s}`),n})}}function Dw(t,e){const s=st(),n=At(!1);if(Dd){const a=new IntersectionObserver(r=>{n.value=!!r.find(o=>o.isIntersecting)},e);di(()=>{a.disconnect()}),ht(s,(r,o)=>{o&&(a.unobserve(o),n.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:s,isIntersecting:n}}function eo(t,e){let s;function n(){s=Pr(),s.run(()=>e.length?e(()=>{s==null||s.stop(),n()}):e())}ht(t,a=>{a&&!s?n():a||(s==null||s.stop(),s=void 0)},{immediate:!0}),ri(()=>{s==null||s.stop()})}function ks(t,e,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:b=>b,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:b=>b;const r=_e("useProxiedModel"),o=st(t[e]!==void 0?t[e]:s),l=hs(e),c=F(l!==e?()=>{var b,p,m,f;return t[e],!!(((b=r.vnode.props)!=null&&b.hasOwnProperty(e)||(p=r.vnode.props)!=null&&p.hasOwnProperty(l))&&((m=r.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${e}`)||(f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${l}`)))}:()=>{var b,p;return t[e],!!((b=r.vnode.props)!=null&&b.hasOwnProperty(e)&&((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${e}`)))});eo(()=>!c.value,()=>{ht(()=>t[e],b=>{o.value=b})});const u=F({get(){const b=t[e];return n(c.value?b:o.value)},set(b){const p=a(b),m=ot(c.value?t[e]:o.value);m===p||n(m)===b||(o.value=p,r==null||r.emit(`update:${e}`,p))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?t[e]:o.value}),u}const Iw={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"}},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"}},fb="$vuetify.",vb=(t,e)=>t.replace(/\{(\d+)\}/g,(s,n)=>String(e[+n])),Km=(t,e,s)=>function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];if(!n.startsWith(fb))return vb(n,r);const l=n.replace(fb,""),d=t.value&&s.value[t.value],c=e.value&&s.value[e.value];let u=zl(d,l,null);return u||(`${n}${t.value}`,u=zl(c,l,null)),u||(u=n),typeof u!="string"&&(u=n),vb(u,r)};function Xm(t,e){return(s,n)=>new Intl.NumberFormat([t.value,e.value],n).format(s)}function jo(t,e,s){const n=ks(t,e,t[e]??s.value);return n.value=t[e]??s.value,ht(s,a=>{t[e]==null&&(n.value=s.value)}),n}function Ym(t){return e=>{const s=jo(e,"locale",t.current),n=jo(e,"fallback",t.fallback),a=jo(e,"messages",t.messages);return{name:"vuetify",current:s,fallback:n,messages:a,t:Km(s,n,a),n:Xm(s,n),provide:Ym({current:s,fallback:n,messages:a})}}}function Rw(t){const e=At((t==null?void 0:t.locale)??"en"),s=At((t==null?void 0:t.fallback)??"en"),n=st({en:Iw,...t==null?void 0:t.messages});return{name:"vuetify",current:e,fallback:s,messages:n,t:Km(e,s,n),n:Xm(e,s),provide:Ym({current:e,fallback:s,messages:n})}}const fr=Symbol.for("vuetify:locale");function Ow(t){return t.name!=null}function Nw(t){const e=t!=null&&t.adapter&&Ow(t==null?void 0:t.adapter)?t==null?void 0:t.adapter:Rw(t),s=qw(e,t);return{...e,...s}}function JA(){const t=Dt(fr);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function Bw(){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 qw(t,e){const s=st((e==null?void 0:e.rtl)??Bw()),n=F(()=>s.value[t.current.value]??!1);return{isRtl:n,rtl:s,rtlClasses:F(()=>`v-locale--is-${n.value?"rtl":"ltr"}`)}}function va(){const t=Dt(fr);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}const gb={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Zm=bt({location:String},"location");function Qm(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=arguments.length>2?arguments[2]:void 0;const{isRtl:n}=va();return{locationStyles:F(()=>{if(!t.location)return{};const{side:r,align:o}=Al(t.location.split(" ").length>1?t.location:`${t.location} center`,n.value);function l(c){return s?s(c):0}const d={};return r!=="center"&&(e?d[gb[r]]=`calc(100% - ${l(r)}px)`:d[r]=0),o!=="center"?e?d[gb[o]]=`calc(100% - ${l(o)}px)`:d[o]=0:(r==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),d})}}const Gw=bt({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,...le(),...Zm({location:"top"}),...pn(),...ui(),...ls()},"VProgressLinear"),Fw=Bt()({name:"VProgressLinear",props:Gw(),emits:{"update:modelValue":t=>!0},setup(t,e){var O;let{slots:s}=e;const n=ks(t,"modelValue"),{isRtl:a,rtlClasses:r}=va(),{themeClasses:o}=ds(t),{locationStyles:l}=Qm(t),{textColorClasses:d,textColorStyles:c}=Xr(t,"color"),{backgroundColorClasses:u,backgroundColorStyles:b}=Ys(F(()=>t.bgColor||t.color)),{backgroundColorClasses:p,backgroundColorStyles:m}=Ys(F(()=>t.bufferColor||t.bgColor||t.color)),{backgroundColorClasses:f,backgroundColorStyles:v}=Ys(t,"color"),{roundedClasses:k}=mn(t),{intersectionRef:h,isIntersecting:g}=Dw(),_=F(()=>parseFloat(t.max)),y=F(()=>parseFloat(t.height)),w=F(()=>rn(parseFloat(t.bufferValue)/_.value*100,0,100)),P=F(()=>rn(parseFloat(n.value)/_.value*100,0,100)),E=F(()=>a.value!==t.reverse),j=F(()=>t.indeterminate?"fade-transition":"slide-x-transition"),z=Ft&&((O=window.matchMedia)==null?void 0:O.call(window,"(forced-colors: active)").matches);function L(x){if(!h.value)return;const{left:M,right:V,width:X}=h.value.getBoundingClientRect(),J=E.value?X-x.clientX+(V-X):x.clientX-M;n.value=Math.round(J/X*_.value)}return de(()=>N(t.tag,{ref:h,class:["v-progress-linear",{"v-progress-linear--absolute":t.absolute,"v-progress-linear--active":t.active&&g.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped},k.value,o.value,r.value,t.class],style:[{bottom:t.location==="bottom"?0:void 0,top:t.location==="top"?0:void 0,height:t.active?kt(y.value):0,"--v-progress-linear-height":kt(y.value),...t.absolute?l.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),_.value),onClick:t.clickable&&L},{default:()=>[t.stream&&N("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...c.value,[E.value?"left":"right"]:kt(-y.value),borderTop:`${kt(y.value/2)} dotted`,opacity:parseFloat(t.bufferOpacity),top:`calc(50% - ${kt(y.value/4)})`,width:kt(100-w.value,"%"),"--v-progress-linear-stream-to":kt(y.value*(E.value?1:-1))}},null),N("div",{class:["v-progress-linear__background",z?void 0:u.value],style:[b.value,{opacity:parseFloat(t.bgOpacity),width:t.stream?0:void 0}]},null),N("div",{class:["v-progress-linear__buffer",z?void 0:p.value],style:[m.value,{opacity:parseFloat(t.bufferOpacity),width:kt(w.value,"%")}]},null),N(As,{name:j.value},{default:()=>[t.indeterminate?N("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>N("div",{key:x,class:["v-progress-linear__indeterminate",x,z?void 0:f.value],style:v.value},null))]):N("div",{class:["v-progress-linear__determinate",z?void 0:f.value],style:[v.value,{width:kt(P.value,"%")}]},null)]}),s.default&&N("div",{class:"v-progress-linear__content"},[s.default({value:P.value,buffer:w.value})])]})),{}}}),Vw=bt({loading:[Boolean,String]},"loader");function Hw(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();return{loaderClasses:F(()=>({[`${e}--loading`]:t.loading}))}}function Uw(t,e){var n;let{slots:s}=e;return N("div",{class:`${t.name}__loader`},[((n=s.default)==null?void 0:n.call(s,{color:t.color,isActive:t.active}))||N(Fw,{absolute:t.absolute,active:t.active,color:t.color,height:"2",indeterminate:!0},null)])}const Ww=["static","relative","fixed","absolute","sticky"],$w=bt({position:{type:String,validator:t=>Ww.includes(t)}},"position");function Kw(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();return{positionClasses:F(()=>t.position?`${e}--${t.position}`:void 0)}}function Xw(){const t=_e("useRoute");return F(()=>{var e;return(e=t==null?void 0:t.proxy)==null?void 0:e.$route})}function Yw(){var t,e;return(e=(t=_e("useRouter"))==null?void 0:t.proxy)==null?void 0:e.$router}function Jm(t,e){var b,p;const s=l3("RouterLink"),n=F(()=>!!(t.href||t.to)),a=F(()=>(n==null?void 0:n.value)||Zc(e,"click")||Zc(t,"click"));if(typeof s=="string"||!("useLink"in s)){const m=Vt(t,"href");return{isLink:n,isClickable:a,href:m,linkProps:ae({href:m})}}const r=F(()=>({...t,to:Vt(()=>t.to||"")})),o=s.useLink(r.value),l=F(()=>t.to?o:void 0),d=Xw(),c=F(()=>{var m,f,v;return l.value?t.exact?d.value?((v=l.value.isExactActive)==null?void 0:v.value)&&Id(l.value.route.value.query,d.value.query):((f=l.value.isExactActive)==null?void 0:f.value)??!1:((m=l.value.isActive)==null?void 0:m.value)??!1:!1}),u=F(()=>{var m;return t.to?(m=l.value)==null?void 0:m.route.value.href:t.href});return{isLink:n,isClickable:a,isActive:c,route:(b=l.value)==null?void 0:b.route,navigate:(p=l.value)==null?void 0:p.navigate,href:u,linkProps:ae({href:u,"aria-current":F(()=>c.value?"page":void 0)})}}const tf=bt({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Co=!1;function Zw(t,e){let s=!1,n,a;Ft&&(t!=null&&t.beforeEach)&&(oi(()=>{window.addEventListener("popstate",r),n=t.beforeEach((o,l,d)=>{Co?s?e(d):d():setTimeout(()=>s?e(d):d()),Co=!0}),a=t==null?void 0:t.afterEach(()=>{Co=!1})}),ri(()=>{window.removeEventListener("popstate",r),n==null||n(),a==null||a()}));function r(o){var l;(l=o.state)!=null&&l.replaced||(s=!0,setTimeout(()=>s=!1))}}const Cl=Symbol("rippleStop"),Qw=80;function _b(t,e){t.style.transform=e,t.style.webkitTransform=e}function xl(t){return t.constructor.name==="TouchEvent"}function ef(t){return t.constructor.name==="KeyboardEvent"}const Jw=function(t,e){var b;let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=0,a=0;if(!ef(t)){const p=e.getBoundingClientRect(),m=xl(t)?t.touches[t.touches.length-1]:t;n=m.clientX-p.left,a=m.clientY-p.top}let r=0,o=.3;(b=e._ripple)!=null&&b.circle?(o=.15,r=e.clientWidth/2,r=s.center?r:r+Math.sqrt((n-r)**2+(a-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const l=`${(e.clientWidth-r*2)/2}px`,d=`${(e.clientHeight-r*2)/2}px`,c=s.center?l:`${n-r}px`,u=s.center?d:`${a-r}px`;return{radius:r,scale:o,x:c,y:u,centerX:l,centerY:d}},vr={show(t,e){var m;let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=e==null?void 0:e._ripple)!=null&&m.enabled))return;const n=document.createElement("span"),a=document.createElement("span");n.appendChild(a),n.className="v-ripple__container",s.class&&(n.className+=` ${s.class}`);const{radius:r,scale:o,x:l,y:d,centerX:c,centerY:u}=Jw(t,e,s),b=`${r*2}px`;a.className="v-ripple__animation",a.style.width=b,a.style.height=b,e.appendChild(n);const p=window.getComputedStyle(e);p&&p.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),_b(a,`translate(${l}, ${d}) scale3d(${o},${o},${o})`),a.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),_b(a,`translate(${c}, ${u}) scale3d(1,1,1)`)})})},hide(t){var r;if(!((r=t==null?void 0:t._ripple)!=null&&r.enabled))return;const e=t.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const s=e[e.length-1];if(s.dataset.isHiding)return;s.dataset.isHiding="true";const n=performance.now()-Number(s.dataset.activated),a=Math.max(250-n,0);setTimeout(()=>{s.classList.remove("v-ripple__animation--in"),s.classList.add("v-ripple__animation--out"),setTimeout(()=>{var l;t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),((l=s.parentNode)==null?void 0:l.parentNode)===t&&t.removeChild(s.parentNode)},300)},a)}};function sf(t){return typeof t>"u"||!!t}function ra(t){const e={},s=t.currentTarget;if(!(!(s!=null&&s._ripple)||s._ripple.touched||t[Cl])){if(t[Cl]=!0,xl(t))s._ripple.touched=!0,s._ripple.isTouch=!0;else if(s._ripple.isTouch)return;if(e.center=s._ripple.centered||ef(t),s._ripple.class&&(e.class=s._ripple.class),xl(t)){if(s._ripple.showTimerCommit)return;s._ripple.showTimerCommit=()=>{vr.show(t,s,e)},s._ripple.showTimer=window.setTimeout(()=>{var n;(n=s==null?void 0:s._ripple)!=null&&n.showTimerCommit&&(s._ripple.showTimerCommit(),s._ripple.showTimerCommit=null)},Qw)}else vr.show(t,s,e)}}function hb(t){t[Cl]=!0}function Fe(t){const e=t.currentTarget;if(e!=null&&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(()=>{Fe(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),vr.hide(e)}}function nf(t){const e=t.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let oa=!1;function af(t){!oa&&(t.keyCode===$c.enter||t.keyCode===$c.space)&&(oa=!0,ra(t))}function rf(t){oa=!1,Fe(t)}function of(t){oa&&(oa=!1,Fe(t))}function lf(t,e,s){const{value:n,modifiers:a}=e,r=sf(n);if(r||vr.hide(t),t._ripple=t._ripple??{},t._ripple.enabled=r,t._ripple.centered=a.center,t._ripple.circle=a.circle,hk(n)&&n.class&&(t._ripple.class=n.class),r&&!s){if(a.stop){t.addEventListener("touchstart",hb,{passive:!0}),t.addEventListener("mousedown",hb);return}t.addEventListener("touchstart",ra,{passive:!0}),t.addEventListener("touchend",Fe,{passive:!0}),t.addEventListener("touchmove",nf,{passive:!0}),t.addEventListener("touchcancel",Fe),t.addEventListener("mousedown",ra),t.addEventListener("mouseup",Fe),t.addEventListener("mouseleave",Fe),t.addEventListener("keydown",af),t.addEventListener("keyup",rf),t.addEventListener("blur",of),t.addEventListener("dragstart",Fe,{passive:!0})}else!r&&s&&df(t)}function df(t){t.removeEventListener("mousedown",ra),t.removeEventListener("touchstart",ra),t.removeEventListener("touchend",Fe),t.removeEventListener("touchmove",nf),t.removeEventListener("touchcancel",Fe),t.removeEventListener("mouseup",Fe),t.removeEventListener("mouseleave",Fe),t.removeEventListener("keydown",af),t.removeEventListener("keyup",rf),t.removeEventListener("dragstart",Fe),t.removeEventListener("blur",of)}function tS(t,e){lf(t,e,!1)}function eS(t){delete t._ripple,df(t)}function iS(t,e){if(e.value===e.oldValue)return;const s=sf(e.oldValue);lf(t,e,s)}const uf={mounted:tS,unmounted:eS,updated:iS},sS=bt({appendAvatar:String,appendIcon:Ee,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Ee,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...Zr(),...le(),...fa(),...pa(),...Ud(),...Vw(),...Zm(),...$w(),...pn(),...tf(),...ui(),...ls(),...to({variant:"elevated"})},"VCard"),yb=Bt()({name:"VCard",directives:{Ripple:uf},props:sS(),setup(t,e){let{attrs:s,slots:n}=e;const{themeClasses:a}=ds(t),{borderClasses:r}=Qr(t),{colorClasses:o,colorStyles:l,variantClasses:d}=Hd(t),{densityClasses:c}=Jr(t),{dimensionStyles:u}=ma(t),{elevationClasses:b}=Wd(t),{loaderClasses:p}=Hw(t),{locationStyles:m}=Qm(t),{positionClasses:f}=Kw(t),{roundedClasses:v}=mn(t),k=Jm(t,s),h=F(()=>t.link!==!1&&k.isLink.value),g=F(()=>!t.disabled&&t.link!==!1&&(t.link||k.isClickable.value));return de(()=>{const _=h.value?"a":t.tag,y=!!(n.title||t.title!=null),w=!!(n.subtitle||t.subtitle!=null),P=y||w,E=!!(n.append||t.appendAvatar||t.appendIcon),j=!!(n.prepend||t.prependAvatar||t.prependIcon),z=!!(n.image||t.image),L=P||j||E,O=!!(n.text||t.text!=null);return Qs(N(_,oe({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.value},a.value,r.value,o.value,c.value,b.value,p.value,f.value,v.value,d.value,t.class],style:[l.value,u.value,m.value,t.style],onClick:g.value&&k.navigate,tabindex:t.disabled?-1:void 0},k.linkProps),{default:()=>{var x;return[z&&N("div",{key:"image",class:"v-card__image"},[n.image?N(Ji,{key:"image-defaults",disabled:!t.image,defaults:{VImg:{cover:!0,src:t.image}}},n.image):N($m,{key:"image-img",cover:!0,src:t.image},null)]),N(Uw,{name:"v-card",active:!!t.loading,color:typeof t.loading=="boolean"?void 0:t.loading},{default:n.loader}),L&&N(xw,{key:"item",prependAvatar:t.prependAvatar,prependIcon:t.prependIcon,title:t.title,subtitle:t.subtitle,appendAvatar:t.appendAvatar,appendIcon:t.appendIcon},{default:n.item,prepend:n.prepend,title:n.title,subtitle:n.subtitle,append:n.append}),O&&N(Lw,{key:"text"},{default:()=>{var M;return[((M=n.text)==null?void 0:M.call(n))??t.text]}}),(x=n.default)==null?void 0:x.call(n),n.actions&&N(dw,null,{default:n.actions}),Vd(g.value,"v-card")]}}),[[Or("ripple"),g.value&&t.ripple]])}),{}}}),nS=bt({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...le(),...ls()},"VDivider"),cf=Bt()({name:"VDivider",props:nS(),setup(t,e){let{attrs:s,slots:n}=e;const{themeClasses:a}=ds(t),{textColorClasses:r,textColorStyles:o}=Xr(Vt(t,"color")),l=F(()=>{const d={};return t.length&&(d[t.vertical?"height":"width"]=kt(t.length)),t.thickness&&(d[t.vertical?"borderRightWidth":"borderTopWidth"]=kt(t.thickness)),d});return de(()=>{const d=N("hr",{class:[{"v-divider":!0,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},a.value,r.value,t.class],style:[l.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 n.default?N("div",{class:["v-divider__wrapper",{"v-divider__wrapper--vertical":t.vertical,"v-divider__wrapper--inset":t.inset}]},[d,N("div",{class:"v-divider__content"},[n.default()]),d]):d}),{}}}),aS=bt({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Ve(t,e,s){return Bt()({name:t,props:aS({mode:s,origin:e}),setup(n,a){let{slots:r}=a;const o={onBeforeEnter(l){n.origin&&(l.style.transformOrigin=n.origin)},onLeave(l){if(n.leaveAbsolute){const{offsetTop:d,offsetLeft:c,offsetWidth:u,offsetHeight:b}=l;l._transitionInitialStyles={position:l.style.position,top:l.style.top,left:l.style.left,width:l.style.width,height:l.style.height},l.style.position="absolute",l.style.top=`${d}px`,l.style.left=`${c}px`,l.style.width=`${u}px`,l.style.height=`${b}px`}n.hideOnLeave&&l.style.setProperty("display","none","important")},onAfterLeave(l){if(n.leaveAbsolute&&(l!=null&&l._transitionInitialStyles)){const{position:d,top:c,left:u,width:b,height:p}=l._transitionInitialStyles;delete l._transitionInitialStyles,l.style.position=d||"",l.style.top=c||"",l.style.left=u||"",l.style.width=b||"",l.style.height=p||""}}};return()=>{const l=n.group?bd:As;return Ht(l,{name:n.disabled?"":t,css:!n.disabled,...n.group?void 0:{mode:n.mode},...n.disabled?{}:o},r.default)}}})}function bf(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Bt()({name:t,props:{mode:{type:String,default:s},disabled:Boolean,group:Boolean},setup(n,a){let{slots:r}=a;const o=n.group?bd:As;return()=>Ht(o,{name:n.disabled?"":t,css:!n.disabled,...n.disabled?{}:e},r.default)}})}function pf(){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",n=Ce(`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 l=o._initialStyle;if(!l)return;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const d=`${o[n]}px`;o.style[s]="0",o.offsetHeight,o.style.transition=l.transition,t&&o._parent&&o._parent.classList.add(t),requestAnimationFrame(()=>{o.style[s]=d})},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[n]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[s]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(o){t&&o._parent&&o._parent.classList.remove(t),r(o)}function r(o){if(!o._initialStyle)return;const l=o._initialStyle[s];o.style.overflow=o._initialStyle.overflow,l!=null&&(o.style[s]=l),delete o._initialStyle}}const rS=bt({target:[Object,Array]},"v-dialog-transition"),oS=Bt()({name:"VDialogTransition",props:rS(),setup(t,e){let{slots:s}=e;const n={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),a.style.visibility="";const{x:o,y:l,sx:d,sy:c,speed:u}=wb(t.target,a),b=Pn(a,[{transform:`translate(${o}px, ${l}px) scale(${d}, ${c})`,opacity:0},{}],{duration:225*u,easing:nw});(p=kb(a))==null||p.forEach(m=>{Pn(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*u,easing:El})}),b.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var p;await new Promise(m=>requestAnimationFrame(m));const{x:o,y:l,sx:d,sy:c,speed:u}=wb(t.target,a);Pn(a,[{},{transform:`translate(${o}px, ${l}px) scale(${d}, ${c})`,opacity:0}],{duration:125*u,easing:aw}).finished.then(()=>r()),(p=kb(a))==null||p.forEach(m=>{Pn(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*u,easing:El})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>t.target?N(As,oe({name:"dialog-transition"},n,{css:!1}),s):N(As,{name:"dialog-transition"},s)}});function kb(t){var s;const e=(s=t.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:s.children;return e&&[...e]}function wb(t,e){const s=jm(t),n=Cm(e),[a,r]=getComputedStyle(e).transformOrigin.split(" ").map(h=>parseFloat(h)),[o,l]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=s.left+s.width/2;o==="left"||l==="left"?d-=s.width/2:(o==="right"||l==="right")&&(d+=s.width/2);let c=s.top+s.height/2;o==="top"||l==="top"?c-=s.height/2:(o==="bottom"||l==="bottom")&&(c+=s.height/2);const u=s.width/n.width,b=s.height/n.height,p=Math.max(1,u,b),m=u/p||0,f=b/p||0,v=n.width*n.height/(window.innerWidth*window.innerHeight),k=v>.12?Math.min(1.5,(v-.12)*10+1):1;return{x:d-(a+n.left),y:c-(r+n.top),sx:m,sy:f,speed:k}}Ve("fab-transition","center center","out-in");Ve("dialog-bottom-transition");Ve("dialog-top-transition");const tP=Ve("fade-transition"),eP=Ve("scale-transition");Ve("scroll-x-transition");Ve("scroll-x-reverse-transition");Ve("scroll-y-transition");Ve("scroll-y-reverse-transition");Ve("slide-x-transition");Ve("slide-x-reverse-transition");const iP=Ve("slide-y-transition");Ve("slide-y-reverse-transition");const lS=bf("expand-transition",pf()),sP=bf("expand-x-transition",pf("",!0)),Ml=Symbol.for("vuetify:list");function mf(){const t=Dt(Ml,{hasPrepend:At(!1),updateHasPrepend:()=>null}),e={hasPrepend:At(!1),updateHasPrepend:s=>{s&&(e.hasPrepend.value=s)}};return je(Ml,e),t}function ff(){return Dt(Ml,null)}const $d=t=>{const e={activate:s=>{let{id:n,value:a,activated:r}=s;return n=ot(n),t&&!a&&r.size===1&&r.has(n)||(a?r.add(n):r.delete(n)),r},in:(s,n,a)=>{let r=new Set;if(s!=null)for(const o of wm(s))r=e.activate({id:o,value:!0,activated:new Set(r),children:n,parents:a});return r},out:s=>Array.from(s)};return e},vf=t=>{const e=$d(t);return{activate:n=>{let{activated:a,id:r,...o}=n;r=ot(r);const l=a.has(r)?new Set([r]):new Set;return e.activate({...o,id:r,activated:l})},in:(n,a,r)=>{let o=new Set;if(n!=null){const l=wm(n);l.length&&(o=e.in(l.slice(0,1),a,r))}return o},out:(n,a,r)=>e.out(n,a,r)}},dS=t=>{const e=$d(t);return{activate:n=>{let{id:a,activated:r,children:o,...l}=n;return a=ot(a),o.has(a)?r:e.activate({id:a,activated:r,children:o,...l})},in:e.in,out:e.out}},uS=t=>{const e=vf(t);return{activate:n=>{let{id:a,activated:r,children:o,...l}=n;return a=ot(a),o.has(a)?r:e.activate({id:a,activated:r,children:o,...l})},in:e.in,out:e.out}},cS={open:t=>{let{id:e,value:s,opened:n,parents:a}=t;if(s){const r=new Set;r.add(e);let o=a.get(e);for(;o!=null;)r.add(o),o=a.get(o);return r}else return n.delete(e),n},select:()=>null},gf={open:t=>{let{id:e,value:s,opened:n,parents:a}=t;if(s){let r=a.get(e);for(n.add(e);r!=null&&r!==e;)n.add(r),r=a.get(r);return n}else n.delete(e);return n},select:()=>null},bS={open:gf.open,select:t=>{let{id:e,value:s,opened:n,parents:a}=t;if(!s)return n;const r=[];let o=a.get(e);for(;o!=null;)r.push(o),o=a.get(o);return new Set(r)}},Kd=t=>{const e={select:s=>{let{id:n,value:a,selected:r}=s;if(n=ot(n),t&&!a){const o=Array.from(r.entries()).reduce((l,d)=>{let[c,u]=d;return u==="on"&&l.push(c),l},[]);if(o.length===1&&o[0]===n)return r}return r.set(n,a?"on":"off"),r},in:(s,n,a)=>{const r=new Map;for(const o of s||[])e.select({id:o,value:!0,selected:r,children:n,parents:a});return r},out:s=>{const n=[];for(const[a,r]of s.entries())r==="on"&&n.push(a);return n}};return e},_f=t=>{const e=Kd(t);return{select:n=>{let{selected:a,id:r,...o}=n;r=ot(r);const l=a.has(r)?new Map([[r,a.get(r)]]):new Map;return e.select({...o,id:r,selected:l})},in:(n,a,r)=>n!=null&&n.length?e.in(n.slice(0,1),a,r):new Map,out:(n,a,r)=>e.out(n,a,r)}},pS=t=>{const e=Kd(t);return{select:n=>{let{id:a,selected:r,children:o,...l}=n;return a=ot(a),o.has(a)?r:e.select({id:a,selected:r,children:o,...l})},in:e.in,out:e.out}},mS=t=>{const e=_f(t);return{select:n=>{let{id:a,selected:r,children:o,...l}=n;return a=ot(a),o.has(a)?r:e.select({id:a,selected:r,children:o,...l})},in:e.in,out:e.out}},fS=t=>{const e={select:s=>{let{id:n,value:a,selected:r,children:o,parents:l}=s;n=ot(n);const d=new Map(r),c=[n];for(;c.length;){const b=c.shift();r.set(ot(b),a?"on":"off"),o.has(b)&&c.push(...o.get(b))}let u=ot(l.get(n));for(;u;){const b=o.get(u),p=b.every(f=>r.get(ot(f))==="on"),m=b.every(f=>!r.has(ot(f))||r.get(ot(f))==="off");r.set(u,p?"on":m?"off":"indeterminate"),u=ot(l.get(u))}return t&&!a&&Array.from(r.entries()).reduce((p,m)=>{let[f,v]=m;return v==="on"&&p.push(f),p},[]).length===0?d:r},in:(s,n,a)=>{let r=new Map;for(const o of s||[])r=e.select({id:o,value:!0,selected:r,children:n,parents:a});return r},out:(s,n)=>{const a=[];for(const[r,o]of s.entries())o==="on"&&!n.has(r)&&a.push(r);return a}};return e},la=Symbol.for("vuetify:nested"),hf={id:At(),root:{register:()=>null,unregister:()=>null,parents:st(new Map),children:st(new Map),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:()=>[]}},vS=bt({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),gS=t=>{let e=!1;const s=st(new Map),n=st(new Map),a=ks(t,"opened",t.opened,f=>new Set(f),f=>[...f.values()]),r=F(()=>{if(typeof t.activeStrategy=="object")return t.activeStrategy;if(typeof t.activeStrategy=="function")return t.activeStrategy(t.mandatory);switch(t.activeStrategy){case"leaf":return dS(t.mandatory);case"single-leaf":return uS(t.mandatory);case"independent":return $d(t.mandatory);case"single-independent":default:return vf(t.mandatory)}}),o=F(()=>{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 mS(t.mandatory);case"leaf":return pS(t.mandatory);case"independent":return Kd(t.mandatory);case"single-independent":return _f(t.mandatory);case"classic":default:return fS(t.mandatory)}}),l=F(()=>{if(typeof t.openStrategy=="object")return t.openStrategy;switch(t.openStrategy){case"list":return bS;case"single":return cS;case"multiple":default:return gf}}),d=ks(t,"activated",t.activated,f=>r.value.in(f,s.value,n.value),f=>r.value.out(f,s.value,n.value)),c=ks(t,"selected",t.selected,f=>o.value.in(f,s.value,n.value),f=>o.value.out(f,s.value,n.value));di(()=>{e=!0});function u(f){const v=[];let k=f;for(;k!=null;)v.unshift(k),k=n.value.get(k);return v}const b=_e("nested"),p=new Set,m={id:At(),root:{opened:a,activatable:Vt(t,"activatable"),selectable:Vt(t,"selectable"),activated:d,selected:c,selectedValues:F(()=>{const f=[];for(const[v,k]of c.value.entries())k==="on"&&f.push(v);return f}),register:(f,v,k)=>{if(p.has(f)){u(f).map(String).join(" -> "),u(v).concat(f).map(String).join(" -> ");return}else p.add(f);v&&f!==v&&n.value.set(f,v),k&&s.value.set(f,[]),v!=null&&s.value.set(v,[...s.value.get(v)||[],f])},unregister:f=>{if(e)return;p.delete(f),s.value.delete(f);const v=n.value.get(f);if(v){const k=s.value.get(v)??[];s.value.set(v,k.filter(h=>h!==f))}n.value.delete(f)},open:(f,v,k)=>{b.emit("click:open",{id:f,value:v,path:u(f),event:k});const h=l.value.open({id:f,value:v,opened:new Set(a.value),children:s.value,parents:n.value,event:k});h&&(a.value=h)},openOnSelect:(f,v,k)=>{const h=l.value.select({id:f,value:v,selected:new Map(c.value),opened:new Set(a.value),children:s.value,parents:n.value,event:k});h&&(a.value=h)},select:(f,v,k)=>{b.emit("click:select",{id:f,value:v,path:u(f),event:k});const h=o.value.select({id:f,value:v,selected:new Map(c.value),children:s.value,parents:n.value,event:k});h&&(c.value=h),m.root.openOnSelect(f,v,k)},activate:(f,v,k)=>{if(!t.activatable)return m.root.select(f,!0,k);b.emit("click:activate",{id:f,value:v,path:u(f),event:k});const h=r.value.activate({id:f,value:v,activated:new Set(d.value),children:s.value,parents:n.value,event:k});h&&(d.value=h)},children:s,parents:n,getPath:u}};return je(la,m),m.root},yf=(t,e)=>{const s=Dt(la,hf),n=Symbol(Kr()),a=F(()=>t.value!==void 0?t.value:n),r={...s,id:a,open:(o,l)=>s.root.open(a.value,o,l),openOnSelect:(o,l)=>s.root.openOnSelect(a.value,o,l),isOpen:F(()=>s.root.opened.value.has(a.value)),parent:F(()=>s.root.parents.value.get(a.value)),activate:(o,l)=>s.root.activate(a.value,o,l),isActivated:F(()=>s.root.activated.value.has(ot(a.value))),select:(o,l)=>s.root.select(a.value,o,l),isSelected:F(()=>s.root.selected.value.get(ot(a.value))==="on"),isIndeterminate:F(()=>s.root.selected.value.get(ot(a.value))==="indeterminate"),isLeaf:F(()=>!s.root.children.value.get(a.value)),isGroupActivator:s.isGroupActivator};return Dr(()=>{!s.isGroupActivator&&s.root.register(a.value,s.id.value,e)}),di(()=>{!s.isGroupActivator&&s.root.unregister(a.value)}),e&&je(la,r),r},_S=()=>{const t=Dt(la,hf);je(la,{...t,isGroupActivator:!0})};function hS(){const t=At(!1);return li(()=>{window.requestAnimationFrame(()=>{t.value=!0})}),{ssrBootStyles:F(()=>t.value?void 0:{transition:"none !important"}),isBooted:Cr(t)}}const yS=bn({name:"VListGroupActivator",setup(t,e){let{slots:s}=e;return _S(),()=>{var n;return(n=s.default)==null?void 0:n.call(s)}}}),kS=bt({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Ee,default:"$collapse"},expandIcon:{type:Ee,default:"$expand"},prependIcon:Ee,appendIcon:Ee,fluid:Boolean,subgroup:Boolean,title:String,value:null,...le(),...ui()},"VListGroup"),Sb=Bt()({name:"VListGroup",props:kS(),setup(t,e){let{slots:s}=e;const{isOpen:n,open:a,id:r}=yf(Vt(t,"value"),!0),o=F(()=>`v-list-group--id-${String(r.value)}`),l=ff(),{isBooted:d}=hS();function c(m){m.stopPropagation(),a(!n.value,m)}const u=F(()=>({onClick:c,class:"v-list-group__header",id:o.value})),b=F(()=>n.value?t.collapseIcon:t.expandIcon),p=F(()=>({VListItem:{active:n.value,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 de(()=>N(t.tag,{class:["v-list-group",{"v-list-group--prepend":l==null?void 0:l.hasPrepend.value,"v-list-group--fluid":t.fluid,"v-list-group--subgroup":t.subgroup,"v-list-group--open":n.value},t.class],style:t.style},{default:()=>[s.activator&&N(Ji,{defaults:p.value},{default:()=>[N(yS,null,{default:()=>[s.activator({props:u.value,isOpen:n.value})]})]}),N(qs,{transition:{component:lS},disabled:!d.value},{default:()=>{var m;return[Qs(N("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(m=s.default)==null?void 0:m.call(s)]),[[cd,n.value]])]}})]})),{isOpen:n}}}),wS=bt({opacity:[Number,String],...le(),...ui()},"VListItemSubtitle"),SS=Bt()({name:"VListItemSubtitle",props:wS(),setup(t,e){let{slots:s}=e;return de(()=>N(t.tag,{class:["v-list-item-subtitle",t.class],style:[{"--v-list-item-subtitle-opacity":t.opacity},t.style]},s)),{}}}),zS=Rm("v-list-item-title"),TS=bt({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Ee,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Ee,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:qn(),onClickOnce:qn(),...Zr(),...le(),...fa(),...pa(),...Ud(),...pn(),...tf(),...ui(),...ls(),...to({variant:"text"})},"VListItem"),Gs=Bt()({name:"VListItem",directives:{Ripple:uf},props:TS(),emits:{click:t=>!0},setup(t,e){let{attrs:s,slots:n,emit:a}=e;const r=Jm(t,s),o=F(()=>t.value===void 0?r.href.value:t.value),{activate:l,isActivated:d,select:c,isOpen:u,isSelected:b,isIndeterminate:p,isGroupActivator:m,root:f,parent:v,openOnSelect:k,id:h}=yf(o,!1),g=ff(),_=F(()=>{var vt;return t.active!==!1&&(t.active||((vt=r.isActive)==null?void 0:vt.value)||(f.activatable.value?d.value:b.value))}),y=F(()=>t.link!==!1&&r.isLink.value),w=F(()=>!!g&&(f.selectable.value||f.activatable.value||t.value!=null)),P=F(()=>!t.disabled&&t.link!==!1&&(t.link||r.isClickable.value||w.value)),E=F(()=>t.rounded||t.nav),j=F(()=>t.color??t.activeColor),z=F(()=>({color:_.value?j.value??t.baseColor:t.baseColor,variant:t.variant}));ht(()=>{var vt;return(vt=r.isActive)==null?void 0:vt.value},vt=>{vt&&L()}),Dr(()=>{var vt;(vt=r.isActive)!=null&&vt.value&&L()});function L(){v.value!=null&&f.open(v.value,!0),k(!0)}const{themeClasses:O}=ds(t),{borderClasses:x}=Qr(t),{colorClasses:M,colorStyles:V,variantClasses:X}=Hd(z),{densityClasses:J}=Jr(t),{dimensionStyles:dt}=ma(t),{elevationClasses:at}=Wd(t),{roundedClasses:_t}=mn(E),Et=F(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),Mt=F(()=>({isActive:_.value,select:c,isOpen:u.value,isSelected:b.value,isIndeterminate:p.value}));function Ot(vt){var Me;a("click",vt),P.value&&((Me=r.navigate)==null||Me.call(r,vt),!m&&(f.activatable.value?l(!d.value,vt):(f.selectable.value||t.value!=null)&&c(!b.value,vt)))}function ue(vt){(vt.key==="Enter"||vt.key===" ")&&(vt.preventDefault(),vt.target.dispatchEvent(new MouseEvent("click",vt)))}return de(()=>{const vt=y.value?"a":t.tag,Me=n.title||t.title!=null,pt=n.subtitle||t.subtitle!=null,G=!!(t.appendAvatar||t.appendIcon),Y=!!(G||n.append),K=!!(t.prependAvatar||t.prependIcon),Q=!!(K||n.prepend);return g==null||g.updateHasPrepend(Q),t.activeColor&&Vk("active-color",["color","base-color"]),Qs(N(vt,oe({class:["v-list-item",{"v-list-item--active":_.value,"v-list-item--disabled":t.disabled,"v-list-item--link":P.value,"v-list-item--nav":t.nav,"v-list-item--prepend":!Q&&(g==null?void 0:g.hasPrepend.value),"v-list-item--slim":t.slim,[`${t.activeClass}`]:t.activeClass&&_.value},O.value,x.value,M.value,J.value,at.value,Et.value,_t.value,X.value,t.class],style:[V.value,dt.value,t.style],tabindex:P.value?g?-2:0:void 0,"aria-selected":w.value?f.activatable.value?d.value:f.selectable.value?b.value:_.value:void 0,onClick:Ot,onKeydown:P.value&&!y.value&&ue},r.linkProps),{default:()=>{var yt;return[Vd(P.value||_.value,"v-list-item"),Q&&N("div",{key:"prepend",class:"v-list-item__prepend"},[n.prepend?N(Ji,{key:"prepend-defaults",disabled:!K,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var A;return[(A=n.prepend)==null?void 0:A.call(n,Mt.value)]}}):N(Tt,null,[t.prependAvatar&&N(mr,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&N(ln,{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":""},[Me&&N(zS,{key:"title"},{default:()=>{var A;return[((A=n.title)==null?void 0:A.call(n,{title:t.title}))??t.title]}}),pt&&N(SS,{key:"subtitle"},{default:()=>{var A;return[((A=n.subtitle)==null?void 0:A.call(n,{subtitle:t.subtitle}))??t.subtitle]}}),(yt=n.default)==null?void 0:yt.call(n,Mt.value)]),Y&&N("div",{key:"append",class:"v-list-item__append"},[n.append?N(Ji,{key:"append-defaults",disabled:!G,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var A;return[(A=n.append)==null?void 0:A.call(n,Mt.value)]}}):N(Tt,null,[t.appendIcon&&N(ln,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&N(mr,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)]),N("div",{class:"v-list-item__spacer"},null)])]}}),[[Or("ripple"),P.value&&t.ripple]])}),{activate:l,isActivated:d,isGroupActivator:m,isSelected:b,list:g,select:c,root:f,id:h}}}),AS=bt({color:String,inset:Boolean,sticky:Boolean,title:String,...le(),...ui()},"VListSubheader"),PS=Bt()({name:"VListSubheader",props:AS(),setup(t,e){let{slots:s}=e;const{textColorClasses:n,textColorStyles:a}=Xr(Vt(t,"color"));return de(()=>{const r=!!(s.default||t.title);return N(t.tag,{class:["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},n.value,t.class],style:[{textColorStyles:a},t.style]},{default:()=>{var o;return[r&&N("div",{class:"v-list-subheader__text"},[((o=s.default)==null?void 0:o.call(s))??t.title])]}})}),{}}}),ES=bt({items:Array,returnObject:Boolean},"VListChildren"),kf=Bt()({name:"VListChildren",props:ES(),setup(t,e){let{slots:s}=e;return mf(),()=>{var n,a;return((n=s.default)==null?void 0:n.call(s))??((a=t.items)==null?void 0:a.map(r=>{var p,m;let{children:o,props:l,type:d,raw:c}=r;if(d==="divider")return((p=s.divider)==null?void 0:p.call(s,{props:l}))??N(cf,l,null);if(d==="subheader")return((m=s.subheader)==null?void 0:m.call(s,{props:l}))??N(PS,l,null);const u={subtitle:s.subtitle?f=>{var v;return(v=s.subtitle)==null?void 0:v.call(s,{...f,item:c})}:void 0,prepend:s.prepend?f=>{var v;return(v=s.prepend)==null?void 0:v.call(s,{...f,item:c})}:void 0,append:s.append?f=>{var v;return(v=s.append)==null?void 0:v.call(s,{...f,item:c})}:void 0,title:s.title?f=>{var v;return(v=s.title)==null?void 0:v.call(s,{...f,item:c})}:void 0},b=Sb.filterProps(l);return o?N(Sb,oe({value:l==null?void 0:l.value},b),{activator:f=>{let{props:v}=f;const k={...l,...v,value:t.returnObject?c:l.value};return s.header?s.header({props:k}):N(Gs,k,u)},default:()=>N(kf,{items:o,returnObject:t.returnObject},s)}):s.item?s.item({props:l}):N(Gs,oe(l,{value:t.returnObject?c:l.value}),u)}))}}}),jS=bt({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"},returnObject:Boolean,valueComparator:Function},"list-items");function Ll(t,e){const s=Li(e,t.itemTitle,e),n=Li(e,t.itemValue,s),a=Li(e,t.itemChildren),r=t.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$r(e,["children"]):e:void 0:Li(e,t.itemProps),o={title:s,value:n,...r};return{title:String(o.title??""),value:o.value,props:o,children:Array.isArray(a)?wf(t,a):void 0,raw:e}}function wf(t,e){const s=Rd(t,["itemTitle","itemValue","itemChildren","itemProps","returnObject","valueComparator"]),n=[];for(const a of e)n.push(Ll(s,a));return n}function nP(t){const e=F(()=>wf(t,t.items)),s=F(()=>e.value.some(l=>l.value===null)),n=At(new Map),a=At([]);ss(()=>{const l=e.value,d=new Map,c=[];for(let u=0;u<l.length;u++){const b=l[u];if(Am(b.value)||b.value===null){let p=d.get(b.value);p||(p=[],d.set(b.value,p)),p.push(b)}else c.push(b)}n.value=d,a.value=c});function r(l){const d=ot(l),c=n.value,u=e.value,b=a.value,p=s.value,m=t.returnObject,f=!!t.valueComparator,v=t.valueComparator||Id,k=Rd(t,["itemTitle","itemValue","itemChildren","itemProps","returnObject","valueComparator"]),h=[];t:for(const g of d){if(!p&&g===null)continue;if(m&&typeof g=="string"){h.push(Ll(k,g));continue}const _=c.get(g);if(f||!_){for(const y of f?u:b)if(v(g,y.value)){h.push(y);continue t}h.push(Ll(k,g));continue}h.push(..._)}return h}function o(l){return t.returnObject?l.map(d=>{let{raw:c}=d;return c}):l.map(d=>{let{value:c}=d;return c})}return{items:e,transformIn:r,transformOut:o}}function CS(t,e){const s=Li(e,t.itemType,"item"),n=Am(e)?e:Li(e,t.itemTitle),a=Li(e,t.itemValue,void 0),r=Li(e,t.itemChildren),o=t.itemProps===!0?$r(e,["children"]):Li(e,t.itemProps),l={title:n,value:a,...o};return{type:s,title:l.title,value:l.value,props:l,children:s==="item"&&r?Sf(t,r):void 0,raw:e}}function Sf(t,e){const s=[];for(const n of e)s.push(CS(t,n));return s}function xS(t){return{items:F(()=>Sf(t,t.items))}}const MS=bt({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,expandIcon:Ee,collapseIcon:Ee,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,"onClick:open":qn(),"onClick:select":qn(),"onUpdate:opened":qn(),...vS({selectStrategy:"single-leaf",openStrategy:"list"}),...Zr(),...le(),...fa(),...pa(),...Ud(),itemType:{type:String,default:"type"},...jS(),...pn(),...ui(),...ls(),...to({variant:"text"})},"VList"),zb=Bt()({name:"VList",props:MS(),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:n}=xS(t),{themeClasses:a}=ds(t),{backgroundColorClasses:r,backgroundColorStyles:o}=Ys(Vt(t,"bgColor")),{borderClasses:l}=Qr(t),{densityClasses:d}=Jr(t),{dimensionStyles:c}=ma(t),{elevationClasses:u}=Wd(t),{roundedClasses:b}=mn(t),{children:p,open:m,parents:f,select:v,getPath:k}=gS(t),h=F(()=>t.lines?`v-list--${t.lines}-line`:void 0),g=Vt(t,"activeColor"),_=Vt(t,"baseColor"),y=Vt(t,"color");mf(),Bd({VListGroup:{activeColor:g,baseColor:_,color:y,expandIcon:Vt(t,"expandIcon"),collapseIcon:Vt(t,"collapseIcon")},VListItem:{activeClass:Vt(t,"activeClass"),activeColor:g,baseColor:_,color:y,density:Vt(t,"density"),disabled:Vt(t,"disabled"),lines:Vt(t,"lines"),nav:Vt(t,"nav"),slim:Vt(t,"slim"),variant:Vt(t,"variant")}});const w=At(!1),P=st();function E(M){w.value=!0}function j(M){w.value=!1}function z(M){var V;!w.value&&!(M.relatedTarget&&((V=P.value)!=null&&V.contains(M.relatedTarget)))&&x()}function L(M){const V=M.target;if(!(!P.value||["INPUT","TEXTAREA"].includes(V.tagName))){if(M.key==="ArrowDown")x("next");else if(M.key==="ArrowUp")x("prev");else if(M.key==="Home")x("first");else if(M.key==="End")x("last");else return;M.preventDefault()}}function O(M){w.value=!0}function x(M){if(P.value)return Gn(P.value,M)}return de(()=>N(t.tag,{ref:P,class:["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav,"v-list--slim":t.slim},a.value,r.value,l.value,d.value,u.value,h.value,b.value,t.class],style:[o.value,c.value,t.style],tabindex:t.disabled||w.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:E,onFocusout:j,onFocus:z,onKeydown:L,onMousedown:O},{default:()=>[N(kf,{items:n.value,returnObject:t.returnObject},s)]})),{open:m,select:v,focus:x,children:p,parents:f,getPath:k}}});function xo(t,e){return{x:t.x+e.x,y:t.y+e.y}}function LS(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Tb(t,e){if(t.side==="top"||t.side==="bottom"){const{side:s,align:n}=t,a=n==="left"?0:n==="center"?e.width/2:n==="right"?e.width:n,r=s==="top"?0:s==="bottom"?e.height:s;return xo({x:a,y:r},e)}else if(t.side==="left"||t.side==="right"){const{side:s,align:n}=t,a=s==="left"?0:s==="right"?e.width:s,r=n==="top"?0:n==="center"?e.height/2:n==="bottom"?e.height:n;return xo({x:a,y:r},e)}return xo({x:e.width/2,y:e.height/2},e)}const zf={static:RS,connected:NS},DS=bt({locationStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in zf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function IS(t,e){const s=st({}),n=st();Ft&&eo(()=>!!(e.isActive.value&&t.locationStrategy),r=>{var o,l;ht(()=>t.locationStrategy,r),ri(()=>{window.removeEventListener("resize",a),n.value=void 0}),window.addEventListener("resize",a,{passive:!0}),typeof t.locationStrategy=="function"?n.value=(o=t.locationStrategy(e,t,s))==null?void 0:o.updateLocation:n.value=(l=zf[t.locationStrategy](e,t,s))==null?void 0:l.updateLocation});function a(r){var o;(o=n.value)==null||o.call(n,r)}return{contentStyles:s,updateLocation:n}}function RS(){}function OS(t,e){const s=Cm(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 NS(t,e,s){(Array.isArray(t.target.value)||lw(t.target.value))&&Object.assign(s.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:r}=Od(()=>{const f=Al(e.location,t.isRtl.value),v=e.origin==="overlap"?f:e.origin==="auto"?Po(f):Al(e.origin,t.isRtl.value);return f.side===v.side&&f.align===Eo(v).align?{preferredAnchor:tb(f),preferredOrigin:tb(v)}:{preferredAnchor:f,preferredOrigin:v}}),[o,l,d,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(f=>F(()=>{const v=parseFloat(e[f]);return isNaN(v)?1/0:v})),u=F(()=>{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;const p=new ResizeObserver(()=>{b&&m()});ht([t.target,t.contentEl],(f,v)=>{let[k,h]=f,[g,_]=v;g&&!Array.isArray(g)&&p.unobserve(g),k&&!Array.isArray(k)&&p.observe(k),_&&p.unobserve(_),h&&p.observe(h)},{immediate:!0}),ri(()=>{p.disconnect()});function m(){if(b=!1,requestAnimationFrame(()=>b=!0),!t.target.value||!t.contentEl.value)return;const f=jm(t.target.value),v=OS(t.contentEl.value,t.isRtl.value),k=pr(t.contentEl.value),h=12;k.length||(k.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(v.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),v.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const g=k.reduce((O,x)=>{const M=x.getBoundingClientRect(),V=new ys({x:x===document.documentElement?0:M.x,y:x===document.documentElement?0:M.y,width:x.clientWidth,height:x.clientHeight});return O?new ys({x:Math.max(O.left,V.left),y:Math.max(O.top,V.top),width:Math.min(O.right,V.right)-Math.max(O.left,V.left),height:Math.min(O.bottom,V.bottom)-Math.max(O.top,V.top)}):V},void 0);g.x+=h,g.y+=h,g.width-=h*2,g.height-=h*2;let _={anchor:a.value,origin:r.value};function y(O){const x=new ys(v),M=Tb(O.anchor,f),V=Tb(O.origin,x);let{x:X,y:J}=LS(M,V);switch(O.anchor.side){case"top":J-=u.value[0];break;case"bottom":J+=u.value[0];break;case"left":X-=u.value[0];break;case"right":X+=u.value[0];break}switch(O.anchor.align){case"top":J-=u.value[1];break;case"bottom":J+=u.value[1];break;case"left":X-=u.value[1];break;case"right":X+=u.value[1];break}return x.x+=X,x.y+=J,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,c.value),{overflows:ib(x,g),x:X,y:J}}let w=0,P=0;const E={x:0,y:0},j={x:!1,y:!1};let z=-1;for(;!(z++>10);){const{x:O,y:x,overflows:M}=y(_);w+=O,P+=x,v.x+=O,v.y+=x;{const V=eb(_.anchor),X=M.x.before||M.x.after,J=M.y.before||M.y.after;let dt=!1;if(["x","y"].forEach(at=>{if(at==="x"&&X&&!j.x||at==="y"&&J&&!j.y){const _t={anchor:{..._.anchor},origin:{..._.origin}},Et=at==="x"?V==="y"?Eo:Po:V==="y"?Po:Eo;_t.anchor=Et(_t.anchor),_t.origin=Et(_t.origin);const{overflows:Mt}=y(_t);(Mt[at].before<=M[at].before&&Mt[at].after<=M[at].after||Mt[at].before+Mt[at].after<(M[at].before+M[at].after)/2)&&(_=_t,dt=j[at]=!0)}}),dt)continue}M.x.before&&(w+=M.x.before,v.x+=M.x.before),M.x.after&&(w-=M.x.after,v.x-=M.x.after),M.y.before&&(P+=M.y.before,v.y+=M.y.before),M.y.after&&(P-=M.y.after,v.y-=M.y.after);{const V=ib(v,g);E.x=g.width-V.x.before-V.x.after,E.y=g.height-V.y.before-V.y.after,w+=V.x.before,v.x+=V.x.before,P+=V.y.before,v.y+=V.y.before}break}const L=eb(_.anchor);return Object.assign(s.value,{"--v-overlay-anchor-origin":`${_.anchor.side} ${_.anchor.align}`,transformOrigin:`${_.origin.side} ${_.origin.align}`,top:kt(Mo(P)),left:t.isRtl.value?void 0:kt(Mo(w)),right:t.isRtl.value?kt(Mo(-w)):void 0,minWidth:kt(L==="y"?Math.min(o.value,f.width):o.value),maxWidth:kt(Ab(rn(E.x,o.value===1/0?0:o.value,d.value))),maxHeight:kt(Ab(rn(E.y,l.value===1/0?0:l.value,c.value)))}),{available:E,contentBox:v}}return ht(()=>[a.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>m()),oi(()=>{const f=m();if(!f)return;const{available:v,contentBox:k}=f;k.height>v.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function Mo(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function Ab(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let Dl=!0;const gr=[];function BS(t){!Dl||gr.length?(gr.push(t),Il()):(Dl=!1,t(),Il())}let Pb=-1;function Il(){cancelAnimationFrame(Pb),Pb=requestAnimationFrame(()=>{const t=gr.shift();t&&t(),gr.length?Il():Dl=!0})}const Ua={none:null,close:FS,block:VS,reposition:HS},qS=bt({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in Ua}},"VOverlay-scroll-strategies");function GS(t,e){if(!Ft)return;let s;ss(async()=>{s==null||s.stop(),e.isActive.value&&t.scrollStrategy&&(s=Pr(),await new Promise(n=>setTimeout(n)),s.active&&s.run(()=>{var n;typeof t.scrollStrategy=="function"?t.scrollStrategy(e,t,s):(n=Ua[t.scrollStrategy])==null||n.call(Ua,e,t,s)}))}),ri(()=>{s==null||s.stop()})}function FS(t){function e(s){t.isActive.value=!1}Tf(t.targetEl.value??t.contentEl.value,e)}function VS(t,e){var o;const s=(o=t.root.value)==null?void 0:o.offsetParent,n=[...new Set([...pr(t.targetEl.value,e.contained?s:void 0),...pr(t.contentEl.value,e.contained?s:void 0)])].filter(l=>!l.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(l=>Gd(l)&&l)(s||document.documentElement);r&&t.root.value.classList.add("v-overlay--scroll-blocked"),n.forEach((l,d)=>{l.style.setProperty("--v-body-scroll-x",kt(-l.scrollLeft)),l.style.setProperty("--v-body-scroll-y",kt(-l.scrollTop)),l!==document.documentElement&&l.style.setProperty("--v-scrollbar-offset",kt(a)),l.classList.add("v-overlay-scroll-blocked")}),ri(()=>{n.forEach((l,d)=>{const c=parseFloat(l.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(l.style.getPropertyValue("--v-body-scroll-y")),b=l.style.scrollBehavior;l.style.scrollBehavior="auto",l.style.removeProperty("--v-body-scroll-x"),l.style.removeProperty("--v-body-scroll-y"),l.style.removeProperty("--v-scrollbar-offset"),l.classList.remove("v-overlay-scroll-blocked"),l.scrollLeft=-c,l.scrollTop=-u,l.style.scrollBehavior=b}),r&&t.root.value.classList.remove("v-overlay--scroll-blocked")})}function HS(t,e,s){let n=!1,a=-1,r=-1;function o(l){BS(()=>{var u,b;const d=performance.now();(b=(u=t.updateLocation).value)==null||b.call(u,l),n=(performance.now()-d)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?l=>l():requestIdleCallback)(()=>{s.run(()=>{Tf(t.targetEl.value??t.contentEl.value,l=>{n?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{o(l)})})):o(l)})})}),ri(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}function Tf(t,e){const s=[document,...pr(t)];s.forEach(n=>{n.addEventListener("scroll",e,{passive:!0})}),ri(()=>{s.forEach(n=>{n.removeEventListener("scroll",e)})})}const Rl=Symbol.for("vuetify:v-menu"),US=bt({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function WS(t,e){let s=()=>{};function n(o){s==null||s();const l=Number(o?t.openDelay:t.closeDelay);return new Promise(d=>{s=Tk(l,()=>{e==null||e(o),d(o)})})}function a(){return n(!0)}function r(){return n(!1)}return{clearDelay:s,runOpenDelay:a,runCloseDelay:r}}const $S=bt({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,...US()},"VOverlay-activator");function KS(t,e){let{isActive:s,isTop:n,contentEl:a}=e;const r=_e("useActivator"),o=st();let l=!1,d=!1,c=!0;const u=F(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),b=F(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!u.value),{runOpenDelay:p,runCloseDelay:m}=WS(t,j=>{j===(t.openOnHover&&l||u.value&&d)&&!(t.openOnHover&&s.value&&!n.value)&&(s.value!==j&&(c=!0),s.value=j)}),f=st(),v={onClick:j=>{j.stopPropagation(),o.value=j.currentTarget||j.target,s.value||(f.value=[j.clientX,j.clientY]),s.value=!s.value},onMouseenter:j=>{var z;(z=j.sourceCapabilities)!=null&&z.firesTouchEvents||(l=!0,o.value=j.currentTarget||j.target,p())},onMouseleave:j=>{l=!1,m()},onFocus:j=>{Sk(j.target,":focus-visible")!==!1&&(d=!0,j.stopPropagation(),o.value=j.currentTarget||j.target,p())},onBlur:j=>{d=!1,j.stopPropagation(),m()}},k=F(()=>{const j={};return b.value&&(j.onClick=v.onClick),t.openOnHover&&(j.onMouseenter=v.onMouseenter,j.onMouseleave=v.onMouseleave),u.value&&(j.onFocus=v.onFocus,j.onBlur=v.onBlur),j}),h=F(()=>{const j={};if(t.openOnHover&&(j.onMouseenter=()=>{l=!0,p()},j.onMouseleave=()=>{l=!1,m()}),u.value&&(j.onFocusin=()=>{d=!0,p()},j.onFocusout=()=>{d=!1,m()}),t.closeOnContentClick){const z=Dt(Rl,null);j.onClick=()=>{s.value=!1,z==null||z.closeParents()}}return j}),g=F(()=>{const j={};return t.openOnHover&&(j.onMouseenter=()=>{c&&(l=!0,c=!1,p())},j.onMouseleave=()=>{l=!1,m()}),j});ht(n,j=>{var z;j&&(t.openOnHover&&!l&&(!u.value||!d)||u.value&&!d&&(!t.openOnHover||!l))&&!((z=a.value)!=null&&z.contains(document.activeElement))&&(s.value=!1)}),ht(s,j=>{j||setTimeout(()=>{f.value=void 0})},{flush:"post"});const _=Qc();ss(()=>{_.value&&oi(()=>{o.value=_.el})});const y=Qc(),w=F(()=>t.target==="cursor"&&f.value?f.value:y.value?y.el:Af(t.target,r)||o.value),P=F(()=>Array.isArray(w.value)?void 0:w.value);let E;return ht(()=>!!t.activator,j=>{j&&Ft?(E=Pr(),E.run(()=>{XS(t,r,{activatorEl:o,activatorEvents:k})})):E&&E.stop()},{flush:"post",immediate:!0}),ri(()=>{E==null||E.stop()}),{activatorEl:o,activatorRef:_,target:w,targetEl:P,targetRef:y,activatorEvents:k,contentEvents:h,scrimEvents:g}}function XS(t,e,s){let{activatorEl:n,activatorEvents:a}=s;ht(()=>t.activator,(d,c)=>{if(c&&d!==c){const u=l(c);u&&o(u)}d&&oi(()=>r())},{immediate:!0}),ht(()=>t.activatorProps,()=>{r()}),ri(()=>{o()});function r(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;d&&Mk(d,oe(a.value,c))}function o(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;d&&Lk(d,oe(a.value,c))}function l(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.activator;const c=Af(d,e);return n.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,n.value}}function Af(t,e){var n,a;if(!t)return;let s;if(t==="parent"){let r=(a=(n=e==null?void 0:e.proxy)==null?void 0:n.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;s=r}else typeof t=="string"?s=document.querySelector(t):"$el"in t?s=t.$el:s=t;return s}const aP=["sm","md","lg","xl","xxl"],Ol=Symbol.for("vuetify:display"),Eb={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},YS=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Eb;return ge(Eb,t)};function jb(t){return Ft&&!t?window.innerWidth:typeof t=="object"&&t.clientWidth||0}function Cb(t){return Ft&&!t?window.innerHeight:typeof t=="object"&&t.clientHeight||0}function xb(t){const e=Ft&&!t?window.navigator.userAgent:"ssr";function s(f){return!!e.match(f)}const n=s(/android/i),a=s(/iphone|ipad|ipod/i),r=s(/cordova/i),o=s(/electron/i),l=s(/chrome/i),d=s(/edge/i),c=s(/firefox/i),u=s(/opera/i),b=s(/win/i),p=s(/mac/i),m=s(/linux/i);return{android:n,ios:a,cordova:r,electron:o,chrome:l,edge:d,firefox:c,opera:u,win:b,mac:p,linux:m,touch:vk,ssr:e==="ssr"}}function ZS(t,e){const{thresholds:s,mobileBreakpoint:n}=YS(t),a=At(Cb(e)),r=At(xb(e)),o=ae({}),l=At(jb(e));function d(){a.value=Cb(),l.value=jb()}function c(){d(),r.value=xb()}return ss(()=>{const u=l.value<s.sm,b=l.value<s.md&&!u,p=l.value<s.lg&&!(b||u),m=l.value<s.xl&&!(p||b||u),f=l.value<s.xxl&&!(m||p||b||u),v=l.value>=s.xxl,k=u?"xs":b?"sm":p?"md":m?"lg":f?"xl":"xxl",h=typeof n=="number"?n:s[n],g=l.value<h;o.xs=u,o.sm=b,o.md=p,o.lg=m,o.xl=f,o.xxl=v,o.smAndUp=!u,o.mdAndUp=!(u||b),o.lgAndUp=!(u||b||p),o.xlAndUp=!(u||b||p||m),o.smAndDown=!(p||m||f||v),o.mdAndDown=!(m||f||v),o.lgAndDown=!(f||v),o.xlAndDown=!v,o.name=k,o.height=a.value,o.width=l.value,o.mobile=g,o.mobileBreakpoint=n,o.platform=r.value,o.thresholds=s}),Ft&&window.addEventListener("resize",d,{passive:!0}),{...xr(o),update:c,ssr:!!e}}const rP=bt({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function QS(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:os();const s=Dt(Ol);if(!s)throw new Error("Could not find Vuetify display injection");const n=F(()=>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),a=F(()=>e?{[`${e}--mobile`]:n.value}:{});return{...s,displayClasses:a,mobile:n}}function JS(){if(!Ft)return At(!1);const{ssr:t}=QS();if(t){const e=At(!1);return li(()=>{e.value=!0}),e}else return At(!0)}const tz=bt({eager:Boolean},"lazy");function ez(t,e){const s=At(!1),n=F(()=>s.value||t.eager||e.value);ht(e,()=>s.value=!0);function a(){t.eager||(s.value=!1)}return{isBooted:s,hasContent:n,onAfterLeave:a}}function Pf(){const e=_e("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const Mb=Symbol.for("vuetify:stack"),Sn=ae([]);function iz(t,e,s){const n=_e("useStack"),a=!s,r=Dt(Mb,void 0),o=ae({activeChildren:new Set});je(Mb,o);const l=At(+e.value);eo(t,()=>{var b;const u=(b=Sn.at(-1))==null?void 0:b[1];l.value=u?u+10:+e.value,a&&Sn.push([n.uid,l.value]),r==null||r.activeChildren.add(n.uid),ri(()=>{if(a){const p=ot(Sn).findIndex(m=>m[0]===n.uid);Sn.splice(p,1)}r==null||r.activeChildren.delete(n.uid)})});const d=At(!0);a&&ss(()=>{var b;const u=((b=Sn.at(-1))==null?void 0:b[0])===n.uid;setTimeout(()=>d.value=u)});const c=F(()=>!o.activeChildren.size);return{globalTop:Cr(d),localTop:c,stackStyles:F(()=>({zIndex:l.value}))}}function sz(t){return{teleportTarget:F(()=>{const s=t();if(s===!0||!Ft)return;const n=s===!1?document.body:typeof s=="string"?document.querySelector(s):s;if(n==null)return;let a=[...n.children].find(r=>r.matches(".v-overlay-container"));return a||(a=document.createElement("div"),a.className="v-overlay-container",n.appendChild(a)),a})}}function nz(){return!0}function Ef(t,e,s){if(!t||jf(t,s)===!1)return!1;const n=Om(e);if(typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&n.host===t.target)return!1;const a=(typeof s.value=="object"&&s.value.include||(()=>[]))();return a.push(e),!a.some(r=>r==null?void 0:r.contains(t.target))}function jf(t,e){return(typeof e.value=="object"&&e.value.closeConditional||nz)(t)}function az(t,e,s){const n=typeof s.value=="function"?s.value:s.value.handler;t.shadowTarget=t.target,e._clickOutside.lastMousedownWasOutside&&Ef(t,e,s)&&setTimeout(()=>{jf(t,s)&&n&&n(t)},0)}function Lb(t,e){const s=Om(t);e(document),typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&e(s)}const rz={mounted(t,e){const s=a=>az(a,t,e),n=a=>{t._clickOutside.lastMousedownWasOutside=Ef(a,t,e)};Lb(t,a=>{a.addEventListener("click",s,!0),a.addEventListener("mousedown",n,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:s,onMousedown:n}},beforeUnmount(t,e){t._clickOutside&&(Lb(t,s=>{var r;if(!s||!((r=t._clickOutside)!=null&&r[e.instance.$.uid]))return;const{onClick:n,onMousedown:a}=t._clickOutside[e.instance.$.uid];s.removeEventListener("click",n,!0),s.removeEventListener("mousedown",a,!0)}),delete t._clickOutside[e.instance.$.uid])}};function oz(t){const{modelValue:e,color:s,...n}=t;return N(As,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&N("div",oe({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},n),null)]})}const Cf=bt({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},...$S(),...le(),...pa(),...tz(),...DS(),...qS(),...ls(),...Um()},"VOverlay"),Db=Bt()({name:"VOverlay",directives:{ClickOutside:rz},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Cf()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(t,e){let{slots:s,attrs:n,emit:a}=e;const r=_e("VOverlay"),o=st(),l=st(),d=st(),c=ks(t,"modelValue"),u=F({get:()=>c.value,set:pt=>{pt&&t.disabled||(c.value=pt)}}),{themeClasses:b}=ds(t),{rtlClasses:p,isRtl:m}=va(),{hasContent:f,onAfterLeave:v}=ez(t,u),k=Ys(F(()=>typeof t.scrim=="string"?t.scrim:null)),{globalTop:h,localTop:g,stackStyles:_}=iz(u,Vt(t,"zIndex"),t._disableGlobalStack),{activatorEl:y,activatorRef:w,target:P,targetEl:E,targetRef:j,activatorEvents:z,contentEvents:L,scrimEvents:O}=KS(t,{isActive:u,isTop:g,contentEl:d}),{teleportTarget:x}=sz(()=>{var Y,K,Q;const pt=t.attach||t.contained;if(pt)return pt;const G=((Y=y==null?void 0:y.value)==null?void 0:Y.getRootNode())||((Q=(K=r.proxy)==null?void 0:K.$el)==null?void 0:Q.getRootNode());return G instanceof ShadowRoot?G:!1}),{dimensionStyles:M}=ma(t),V=JS(),{scopeId:X}=Pf();ht(()=>t.disabled,pt=>{pt&&(u.value=!1)});const{contentStyles:J,updateLocation:dt}=IS(t,{isRtl:m,contentEl:d,target:P,isActive:u});GS(t,{root:o,contentEl:d,targetEl:E,isActive:u,updateLocation:dt});function at(pt){a("click:outside",pt),t.persistent?ue():u.value=!1}function _t(pt){return u.value&&h.value&&(!t.scrim||pt.target===l.value||pt instanceof MouseEvent&&pt.shadowTarget===l.value)}Ft&&ht(u,pt=>{pt?window.addEventListener("keydown",Et):window.removeEventListener("keydown",Et)},{immediate:!0}),di(()=>{Ft&&window.removeEventListener("keydown",Et)});function Et(pt){var G,Y;pt.key==="Escape"&&h.value&&(t.persistent?ue():(u.value=!1,(G=d.value)!=null&&G.contains(document.activeElement)&&((Y=y.value)==null||Y.focus())))}const Mt=Yw();eo(()=>t.closeOnBack,()=>{Zw(Mt,pt=>{h.value&&u.value?(pt(!1),t.persistent?ue():u.value=!1):pt()})});const Ot=st();ht(()=>u.value&&(t.absolute||t.contained)&&x.value==null,pt=>{if(pt){const G=rw(o.value);G&&G!==document.scrollingElement&&(Ot.value=G.scrollTop)}});function ue(){t.noClickAnimation||d.value&&Pn(d.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:El})}function vt(){a("afterEnter")}function Me(){v(),a("afterLeave")}return de(()=>{var pt;return N(Tt,null,[(pt=s.activator)==null?void 0:pt.call(s,{isActive:u.value,targetRef:j,props:oe({ref:w},z.value,t.activatorProps)}),V.value&&f.value&&N(Z2,{disabled:!x.value,to:x.value},{default:()=>[N("div",oe({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":u.value,"v-overlay--contained":t.contained},b.value,p.value,t.class],style:[_.value,{"--v-overlay-opacity":t.opacity,top:kt(Ot.value)},t.style],ref:o},X,n),[N(oz,oe({color:k,modelValue:u.value&&!!t.scrim,ref:l},O.value),null),N(qs,{appear:!0,persisted:!0,transition:t.transition,target:P.value,onAfterEnter:vt,onAfterLeave:Me},{default:()=>{var G;return[Qs(N("div",oe({ref:d,class:["v-overlay__content",t.contentClass],style:[M.value,J.value]},L.value,t.contentProps),[(G=s.default)==null?void 0:G.call(s,{isActive:u})]),[[cd,u.value],[Or("click-outside"),{handler:at,closeConditional:_t,include:()=>[y.value]}]])]}})])]})])}),{activatorEl:y,scrimEl:l,target:P,animateClick:ue,contentEl:d,globalTop:h,localTop:g,updateLocation:dt}}}),Lo=Symbol("Forwarded refs");function Do(t,e){let s=t;for(;s;){const n=Reflect.getOwnPropertyDescriptor(s,e);if(n)return n;s=Object.getPrototypeOf(s)}}function lz(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),n=1;n<e;n++)s[n-1]=arguments[n];return t[Lo]=s,new Proxy(t,{get(a,r){if(Reflect.has(a,r))return Reflect.get(a,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const o of s)if(o.value&&Reflect.has(o.value,r)){const l=Reflect.get(o.value,r);return typeof l=="function"?l.bind(o.value):l}}},has(a,r){if(Reflect.has(a,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(a,r,o){if(Reflect.has(a,r))return Reflect.set(a,r,o);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const l of s)if(l.value&&Reflect.has(l.value,r))return Reflect.set(l.value,r,o);return!1},getOwnPropertyDescriptor(a,r){var l;const o=Reflect.getOwnPropertyDescriptor(a,r);if(o)return o;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const d of s){if(!d.value)continue;const c=Do(d.value,r)??("_"in d.value?Do((l=d.value._)==null?void 0:l.setupState,r):void 0);if(c)return c}for(const d of s){const c=d.value&&d.value[Lo];if(!c)continue;const u=c.slice();for(;u.length;){const b=u.shift(),p=Do(b.value,r);if(p)return p;const m=b.value&&b.value[Lo];m&&u.push(...m)}}}}})}const dz=bt({id:String,submenu:Boolean,...$r(Cf({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:oS}}),["absolute"])},"VMenu"),Ib=Bt()({name:"VMenu",props:dz(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const n=ks(t,"modelValue"),{scopeId:a}=Pf(),{isRtl:r}=va(),o=Kr(),l=F(()=>t.id||`v-menu-${o}`),d=st(),c=Dt(Rl,null),u=At(new Set);je(Rl,{register(){u.value.add(o)},unregister(){u.value.delete(o)},closeParents(k){setTimeout(()=>{var h;!u.value.size&&!t.persistent&&(k==null||(h=d.value)!=null&&h.contentEl&&!Ak(k,d.value.contentEl))&&(n.value=!1,c==null||c.closeParents())},40)}}),di(()=>{c==null||c.unregister(),document.removeEventListener("focusin",b)}),Gp(()=>n.value=!1);async function b(k){var _,y,w;const h=k.relatedTarget,g=k.target;await oi(),n.value&&h!==g&&((_=d.value)!=null&&_.contentEl)&&((y=d.value)!=null&&y.globalTop)&&![document,d.value.contentEl].includes(g)&&!d.value.contentEl.contains(g)&&((w=Tl(d.value.contentEl)[0])==null||w.focus())}ht(n,k=>{k?(c==null||c.register(),Ft&&document.addEventListener("focusin",b,{once:!0})):(c==null||c.unregister(),Ft&&document.removeEventListener("focusin",b))},{immediate:!0});function p(k){c==null||c.closeParents(k)}function m(k){var h,g,_,y,w;if(!t.disabled)if(k.key==="Tab"||k.key==="Enter"&&!t.closeOnContentClick){if(k.key==="Enter"&&(k.target instanceof HTMLTextAreaElement||k.target instanceof HTMLInputElement&&k.target.closest("form")))return;k.key==="Enter"&&k.preventDefault(),Tm(Tl((h=d.value)==null?void 0:h.contentEl,!1),k.shiftKey?"prev":"next",E=>E.tabIndex>=0)||(n.value=!1,(_=(g=d.value)==null?void 0:g.activatorEl)==null||_.focus())}else t.submenu&&k.key===(r.value?"ArrowRight":"ArrowLeft")&&(n.value=!1,(w=(y=d.value)==null?void 0:y.activatorEl)==null||w.focus())}function f(k){var g;if(t.disabled)return;const h=(g=d.value)==null?void 0:g.contentEl;h&&n.value?k.key==="ArrowDown"?(k.preventDefault(),k.stopImmediatePropagation(),Gn(h,"next")):k.key==="ArrowUp"?(k.preventDefault(),k.stopImmediatePropagation(),Gn(h,"prev")):t.submenu&&(k.key===(r.value?"ArrowRight":"ArrowLeft")?n.value=!1:k.key===(r.value?"ArrowLeft":"ArrowRight")&&(k.preventDefault(),Gn(h,"first"))):(t.submenu?k.key===(r.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(k.key))&&(n.value=!0,k.preventDefault(),setTimeout(()=>setTimeout(()=>f(k))))}const v=F(()=>oe({"aria-haspopup":"menu","aria-expanded":String(n.value),"aria-controls":l.value,onKeydown:f},t.activatorProps));return de(()=>{const k=Db.filterProps(t);return N(Db,oe({ref:d,id:l.value,class:["v-menu",t.class],style:t.style},k,{modelValue:n.value,"onUpdate:modelValue":h=>n.value=h,absolute:!0,activatorProps:v.value,location:t.location??(t.submenu?"end":"bottom"),"onClick:outside":p,onKeydown:m},a),{activator:s.activator,default:function(){for(var h=arguments.length,g=new Array(h),_=0;_<h;_++)g[_]=arguments[_];return N(Ji,{root:"VMenu"},{default:()=>{var y;return[(y=s.default)==null?void 0:y.call(s,...g)]}})}})}),lz({id:l,ΨopenChildren:u},d)}}),uz={class:"icon-thumb",style:{"margin-left":"-8px",width:"50px",height:"50px","margin-right":"0px"}},cz=async function(t,e,s=0,n=0,a=!1,r=!1){const o=Array.isArray(t)?t:[t];if(o.length==0||o[0].media_type==nt.FOLDER&&o[0].name=="..")return;const l=await pz(o,e);a&&o[0].is_playable&&gi(o[0])&&l.push(...await xf(o,e)),l.length!=0&&Zn.emit("contextmenu",{items:l,posX:s,posY:n,showPlayMenuHeader:r})},Rb={[ce.NEXT]:"mdi-skip-next-circle-outline",[ce.ADD]:"mdi-playlist-plus",[ce.REPLACE]:"mdi-play-circle-outline",[ce.REPLACE_NEXT]:"mdi-skip-next-circle-outline",[ce.PLAY]:"mdi-play-circle-outline"},Ob={[ce.NEXT]:"play_next",[ce.ADD]:"add_queue",[ce.REPLACE]:"play_replace",[ce.REPLACE_NEXT]:"play_replace_next",[ce.PLAY]:"play_now"},bz=async function(t,e,s=0,n=0){const a=Array.isArray(t)?t:[t];a.length!=0&&Zn.emit("contextmenu",{items:await xf(a,e),posX:s,posY:n,showPlayMenuHeader:!0})},xf=async function(t,e){const s=[];if(t.length==0||!gi(t[0]))return s;const n=t.filter(l=>l.is_playable);if(n.length==0)return s;const a=n[0],r=await rt.getCoreConfigValue("player_queues",`default_enqueue_option_${a.media_type}`);if(!it.activePlayer)return s;s.push({label:Ob[r],action:()=>{rt.playMedia(n.map(l=>l.uri),r),it.playMenuShown=!0},icon:Rb[r],labelArgs:[],disabled:!it.activePlayer}),n.length==1&&e&&e.uri!=a.uri&&(e.media_type==nt.PLAYLIST&&s.push({label:"play_playlist_from",action:()=>{rt.playMedia(e.uri,void 0,!1,n[0].item_id),it.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!it.activePlayer}),e.media_type==nt.ALBUM&&s.push({label:"play_album_from",action:()=>{rt.playMedia(e.uri,void 0,!1,a.item_id),it.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!it.activePlayer}),e.media_type==nt.PODCAST&&s.push({label:"play_from_here",action:()=>{rt.playMedia(e.uri,void 0,!1,a.item_id),it.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!it.activePlayer})),mz(a)&&s.push({label:"play_radio",action:()=>{rt.playMedia(t.map(l=>l.uri),ce.REPLACE,!0),it.playMenuShown=!0},icon:"mdi-radio-tower",labelArgs:[],disabled:!it.activePlayer});const o=[];for(const l of[ce.PLAY,ce.NEXT,ce.ADD,ce.REPLACE,ce.REPLACE_NEXT])o.push({label:Ob[l],action:()=>{rt.playMedia(t.map(d=>d.uri),l),it.playMenuShown=!0},icon:Rb[l],labelArgs:[],disabled:!it.activePlayer,selected:l==r});return s.push({label:"all_enqueue_options",subItems:o,icon:"mdi-playlist-play",labelArgs:[],disabled:!it.activePlayer}),s},pz=async function(t,e){const s=[];if(t.length==0)return s;const n=t[0];if(t.length===1&&n!==e&&[nt.ALBUM,nt.ARTIST,nt.AUDIOBOOK,nt.PLAYLIST,nt.PODCAST,nt.TRACK].includes(t[0].media_type)&&gi(t[0])&&s.push({label:"show_info",labelArgs:[],action:()=>{var r;hi.push({name:n.media_type,params:{itemId:n.item_id,provider:n.provider},query:{album:"album"in t[0]?(r=t[0].album)==null?void 0:r.uri:""}})},icon:"mdi-information-outline"}),t.length===1&&t[0]!==e&&t[0].media_type==nt.FOLDER&&gi(t[0])&&s.push({label:"browse",labelArgs:[],action:()=>{hi.push({name:"browse",query:{path:t[0].path}})},icon:"mdi-folder"}),t.length===1&&gi(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:()=>{hi.push({name:"artist",params:{itemId:r.item_id,provider:r.provider}})},icon:"mdi-account-music"});t.length===1&&gi(t[0])&&"album"in t[0]&&t[0].album&&s.push({label:"goto_album",labelArgs:[t[0].album.name],action:()=>{hi.push({name:"album",params:{itemId:t[0].album.item_id,provider:t[0].album.provider}})},icon:"mdi-album"});let a=n;if((n.provider!="library"||!("provider_mappings"in n))&&[nt.ALBUM,nt.ARTIST,nt.AUDIOBOOK,nt.PLAYLIST,nt.PODCAST,nt.RADIO,nt.TRACK].includes(n.media_type)&&(a=await rt.getLibraryItem(n.media_type,n.item_id,n.provider)||n),a.provider!="library"&&[nt.ALBUM,nt.ARTIST,nt.AUDIOBOOK,nt.PLAYLIST,nt.PODCAST,nt.RADIO,nt.TRACK].includes(a.media_type)&&gi(a)&&s.push({label:"add_library",labelArgs:[],action:()=>{for(const r of t)rt.addItemToLibrary(r)},icon:"mdi-bookshelf"}),a.provider=="library"&&[nt.ALBUM,nt.ARTIST,nt.AUDIOBOOK,nt.PLAYLIST,nt.PODCAST,nt.RADIO,nt.TRACK].includes(a.media_type)&&s.push({label:"remove_library",labelArgs:[],action:()=>{if(confirm(An("confirm_library_remove"))){for(const r of t)rt.removeItemFromLibrary(r.media_type,r.item_id);a.item_id==(e==null?void 0:e.item_id)&&hi.go(-1)}},icon:"mdi-bookshelf"}),"favorite"in a&&!a.favorite&&[nt.ALBUM,nt.ARTIST,nt.AUDIOBOOK,nt.PLAYLIST,nt.PODCAST,nt.RADIO,nt.TRACK].includes(a.media_type)&&gi(a)&&s.push({label:"favorites_add",labelArgs:[],action:()=>{for(const r of t)rt.addItemToFavorites(r)},icon:"mdi-heart-outline"}),t.length===1&&"favorite"in a&&a.favorite&&a.provider=="library"&&[nt.ALBUM,nt.ARTIST,nt.AUDIOBOOK,nt.PLAYLIST,nt.PODCAST,nt.RADIO,nt.TRACK].includes(a.media_type)&&s.push({label:"favorites_remove",labelArgs:[],action:()=>{rt.removeItemFromFavorites(a.media_type,a.item_id),a.favorite=!1},icon:"mdi-heart"}),e&&e.media_type===nt.PLAYLIST){const r=e;t[0].media_type===nt.TRACK&&r.is_editable&&s.push({label:"remove_playlist",labelArgs:[],action:()=>{rt.removePlaylistTracks(r.item_id,t.map(o=>o.position))},icon:"mdi-minus-circle-outline"})}return(t[0].media_type===nt.TRACK||t[0].media_type===nt.ALBUM)&&s.push({label:"add_playlist",labelArgs:[],action:()=>{Zn.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 rt.markItemUnPlayed(t[0]),t[0].fully_played=!1}}):s.push({label:"mark_played",icon:"mdi-clock-fast",action:async()=>{await rt.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 rt.updateMetadata(t[0],!0);r&&Object.assign(t[0],r)},icon:"mdi-image-album"}),t.length===1&&(t[0]==e||!gi(t[0]))&&s.push({label:"refresh_item",labelArgs:[],action:async()=>{const r=await rt.refreshItem(t[0]);r&&Object.assign(t[0],r)},icon:"mdi-refresh"}),s},mz=function(t){var e,s;if([nt.TRACK,nt.ARTIST,nt.ALBUM,nt.PLAYLIST].includes(t.media_type)){if("provider_mappings"in t){for(const n of t.provider_mappings)if((e=rt.providers[n.provider_instance])!=null&&e.supported_features.includes(Ga.SIMILAR_TRACKS))return!0}else if((s=rt.providers[t.provider])!=null&&s.supported_features.includes(Ga.SIMILAR_TRACKS))return!0;if(t.provider=="library"){for(const n of Object.values(rt.providers))if(n.supported_features.includes(Ga.SIMILAR_TRACKS))return!0}return!1}},oP=Bi({__name:"ItemContextMenu",setup(t){const e=st(!1),s=st([]),n=st(0),a=st(0),r=st(!1),o=st(!1),l=st([]),d=st(0),c=st(0);li(()=>{Zn.on("contextmenu",async p=>{s.value=p.items,n.value=p.posX||0,a.value=p.posY||0,r.value=p.showPlayMenuHeader||!1,oi(()=>{e.value=!0})}),di(()=>{Zn.off("contextmenu")})});const u=function(p,m){if(m.subItems){p.preventDefault(),l.value=m.subItems,d.value=p.clientX,c.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,it.dialogActive=!1)},b=function(p){p.preventDefault();const m=[],f=Object.values(rt.players).filter(v=>_z(v,!1,!1,!1)).sort((v,k)=>{var h;return v.display_name.toUpperCase()>((h=k.display_name)==null?void 0:h.toUpperCase())?1:-1});for(const v of f)m.push({label:v.display_name,action:()=>{p.preventDefault(),it.activePlayerId=v.player_id,it.playMenuShown=!0},icon:v.icon,selected:it.activePlayerId==v.player_id,close_on_click:!1});l.value=m,d.value=p.clientX,c.value=p.clientY,o.value=!0};return(p,m)=>(qe(),vs(Tt,null,[N(Ib,{modelValue:e.value,"onUpdate:modelValue":[m[0]||(m[0]=f=>e.value=f),m[1]||(m[1]=f=>{qt(it).dialogActive=f})],target:[n.value,a.value],scrim:!qt(it).showPlayersMenu,style:{"z-index":"999999"},"z-index":"999999"},{default:Pi(()=>[N(yb,{"min-width":"300"},{default:Pi(()=>[N(zb,{density:"compact",slim:"",tile:""},{default:Pi(()=>[r.value?(qe(),$n(Gs,{key:0,link:"","append-icon":"mdi-chevron-right",onClick:go(b,["stop"])},{prepend:Pi(()=>[dd("div",uz,[N(ln,{size:"35",icon:qt(it).activePlayer?qt(it).activePlayer.icon:"mdi-speaker",style:{display:"table-cell",opacity:"0.8"}},null,8,["icon"])])]),title:Pi(()=>{var f;return[N(Gs,{title:qt(An)("play_on"),density:"compact",subtitle:((f=qt(it).activePlayer)==null?void 0:f.display_name)||qt(An)("no_player")},null,8,["title","subtitle"])]}),_:1})):yu("",!0),r.value?(qe(),$n(cf,{key:1,style:{"margin-top":"5px","margin-bottom":"5px"}})):yu("",!0),(qe(!0),vs(Tt,null,uu(s.value.filter(f=>!f.hide),f=>{var v;return qe(),vs("div",{key:f.label,class:"menurow"},[N(Gs,{variant:"text",title:qt(An)(f.label,f.labelArgs||[]),disabled:f.disabled==!0,"prepend-icon":f.icon,border:"bottom","append-icon":f.selected?"mdi-check":(v=f.subItems)!=null&&v.length?"mdi-chevron-right":void 0,style:{"padding-left":"25px"},onClick:go(k=>u(k,f),["stop"])},null,8,["title","disabled","prepend-icon","append-icon","onClick"])])}),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target","scrim"]),N(Ib,{modelValue:o.value,"onUpdate:modelValue":m[2]||(m[2]=f=>o.value=f),target:[d.value,c.value],style:{"z-index":"999999"},"z-index":"999999"},{default:Pi(()=>[N(yb,{"min-width":"260"},{default:Pi(()=>[N(zb,{density:"compact",slim:"",tile:""},{default:Pi(()=>[(qe(!0),vs(Tt,null,uu(l.value.filter(f=>!f.hide),f=>(qe(),vs("div",{key:f.label,class:"menurow"},[N(Gs,{variant:"text",title:qt(An)(f.label,f.labelArgs||[]),disabled:f.disabled==!0,"prepend-icon":f.icon,"append-icon":f.selected?"mdi-check":void 0,onClick:go(v=>u(v,f),["stop"])},null,8,["title","disabled","prepend-icon","append-icon","onClick"])]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target"])],64))}}),lP=function(t){if(!t)return t;rt&&rt.serverInfo&&rt.serverInfo.value&&(rt.serverInfo.value.server_version=="0.0.0"||rt.serverInfo.value.server_version.includes("b"))&&(t=t.replace("://music-assistant.io","://beta.music-assistant.io")),window.open(t,"_blank")},dP=t=>t==null||t==null||!t?!1:typeof t=="boolean"?t:!!JSON.parse(String(t).toLowerCase()),uP=function(t){t=Math.floor(t);const e=Math.floor(t/3600),s=Math.floor((t-e*3600)/60),n=t-e*3600-s*60;let a=e.toString(),r=s.toString(),o=n.toString();return e<10&&(a="0"+e),s<10&&(r="0"+s),n<10&&(o="0"+n),a==="00"?r+":"+o:a+":"+r+":"+o},Nb=function(t,e){return t?t.length<=e?t:t.slice(0,e)+"...":""},cP=function(t,e){return t?e?t.slice(0,e).map(s=>s.name).join(" | "):t.map(s=>s.name).join(" | "):""},bP=function(t,e){let s="";return t!=null&&t.name&&(t!=null&&t.label)?s=`${t.name}: ${e(t==null?void 0:t.label)}`:t!=null&&t.name?s=t.name:t!=null&&t.label?s=e(t==null?void 0:t.label):s=t.path||"",s},pP=function(t,e=26){if(!t)return"";const s=t.group_childs.filter(n=>{var a;return((a=rt.players[n])==null?void 0:a.available)&&n!=t.player_id});return t.type!=pd.GROUP&&s.length?`${Nb(t.display_name,e-3)} +${s.length}`:Nb(t.display_name,e)},mP=function(t){const e=[];for(const s of(t==null?void 0:t.provider_mappings)||[])s.provider_domain.startsWith("filesystem")||s.provider_domain!="plex"&&(e.filter(n=>n.provider_domain==s.provider_domain).length||e.push(s));return e},fP=t=>new Promise(e=>setTimeout(e,t));function Mf(t,e){const s=Qt(t),n=Qt(e);return s.contrast(n)}function Xd(t){const[e,s,n]=t;return`#${e.toString(16).padStart(2,"0")}${s.toString(16).padStart(2,"0")}${n.toString(16).padStart(2,"0")}`}function fz(t){let e="",s=0;return t.forEach(n=>{const a=Xd(n),r=Mf("#000000",a);(r>s&&r>=7||r>s&&r>=s*.7)&&(s=r,e=a)}),e}function vz(t){let e="",s=0;const n=17.35;return t.forEach(a=>{const r=Xd(a),o=Mf("#fff",r);n>=o&&(o>s&&o>=7||o>s&&o>=s*.7)&&(s=o,e=r)}),e}function vP(t,e=100,s=50){const n=t.replace(/^#/,""),a=parseInt(n.substring(0,2),16),r=parseInt(n.substring(2,4),16),o=parseInt(n.substring(4,6),16);if((a+r+o)/7>e){const d=Math.max(0,a-s),c=Math.max(0,r-s),u=Math.max(0,o-s);return`#${d.toString(16).padStart(2,"0")}${c.toString(16).padStart(2,"0")}${u.toString(16).padStart(2,"0")}`}return t}function gP(t){const s=new Os().getPalette(t,5),n=s.map(a=>Xd(a));return{0:n[0],1:n[1],2:n[2],3:n[3],4:n[4],lightColor:fz(s),darkColor:vz(s)}}function _P(t,e){if(t)return t;for(const s of e){const n=s,a=n[0],r=n[1],o=n[2];if(a)return r;if(o!==void 0)return o}}function hP(t,e,s){const n=t.scrollTop,a=e-n,r=new Date().getTime(),o=(d,c,u,b)=>(d/=b/2,d<1?u/2*d*d+c:(d--,-u/2*(d*(d-2)-1)+c)),l=()=>{const c=new Date().getTime()-r;t.scrollTop=o(c,n,a,s),c<s?requestAnimationFrame(l):t.scrollTop=e};l()}const yP=function(t){return Le({breakpoint:"bp1",condition:"lt"})?2:Le({breakpoint:"bp1",condition:"gt"})&&Le({breakpoint:"bp4",condition:"lt"})?3:Le({breakpoint:"bp4",condition:"gt"})&&Le({breakpoint:"bp6",condition:"lt"})?4:Le({breakpoint:"bp6",condition:"gt"})&&Le({breakpoint:"bp7",condition:"lt"})?5:Le({breakpoint:"bp7",condition:"gt"})&&Le({breakpoint:"bp8",condition:"lt"})?6:Le({breakpoint:"bp8",condition:"gt"})&&Le({breakpoint:"bp9",condition:"lt"})?7:Le({breakpoint:"bp9",condition:"gt"})&&Le({breakpoint:"bp10",condition:"lt"})?8:Le({breakpoint:"bp10",condition:"gt"})?9:0};function gz(){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 kP=function(t){return t=t.replaceAll(/\\n/g,"<br />").replaceAll(`
|
|
965
|
-
`,"<br />").replaceAll(" \\","<br />"),xt(t)},_z=function(t,e=!0,s=!1,n=!1){return!(!t.enabled||!n&&t.hidden||!e&&!t.available||t.synced_to&&!s||!s&&t.type==pd.PLAYER&&t.active_group)},Bb=function(t,e,s,n,a){var r,o;if(!a&&it.playMenuShown&&((r=it.activePlayer)!=null&&r.available)&&[Xn.PLAYING,Xn.PAUSED].includes((o=it.activePlayer)==null?void 0:o.state)){it.playActionInProgress=!0,rt.playMedia(t).then(()=>{it.playActionInProgress=!1});return}bz(t,n,e,s)},wP=function(t,e,s,n){if(!gi(t)){hz(t,e,s);return}if(t.media_type==nt.FOLDER){hi.push({name:"browse",query:{path:t.path}});return}if(t.media_type==nt.PODCAST_EPISODE){Bb(t,e,s,n,!0);return}if([nt.TRACK,nt.RADIO].includes(t.media_type)&&n){Bb(t,e,s,n,!0);return}hi.push({name:t.media_type,params:{itemId:t.item_id,provider:t.provider}})},hz=function(t,e,s,n,a=!0){const r=Array.isArray(t)?t:[t];cz(r,n,e,s,a)};var Lf=(t=>(t.ERROR="error",t.WARNING="warning",t.INFO="info",t.SUCCESS="success",t))(Lf||{});const it=ae({activePlayerId:void 0,isInStandaloneMode:!1,showPlayersMenu:!1,navigationMenuStyle:"horizontal",showFullscreenPlayer:!1,frameless:!1,showQueueItems:!1,apiInitialized:!1,apiBaseUrl:"",dialogActive:!1,activePlayer:F(()=>{if(it.activePlayerId&&it.activePlayerId in rt.players)return rt.players[it.activePlayerId]}),activePlayerQueue:F(()=>{var t;if((t=it.activePlayer)!=null&&t.active_source&&it.activePlayer.active_source in rt.queues)return rt.queues[it.activePlayer.active_source];if(it.activePlayer&&!it.activePlayer.active_source&&it.activePlayer.player_id in rt.queues&&rt.queues[it.activePlayer.player_id].active)return rt.queues[it.activePlayer.player_id]}),curQueueItem:F(()=>{if(it.activePlayerQueue&&it.activePlayerQueue.active)return it.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:gz(),playMenuShown:!1,playActionInProgress:!1});class yz{constructor(e,s,n){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(n!==void 0&&n<0)throw new Error("Max must be undefined, a positive number or zero");if(n!==void 0&&n<e)throw new Error("Max must be undefined or greater than or equal to initial");this.initial=e,this.increment=s,this.max=n}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 Lt;(function(t){t.open="open",t.close="close",t.error="error",t.message="message",t.retry="retry",t.reconnect="reconnect"})(Lt||(Lt={}));class kz{constructor(e,s,n){var a,r,o,l,d,c,u,b,p,m,f,v,k,h,g;this._closedByUser=!1,this.handleOpenEvent=_=>this.handleEvent(Lt.open,_),this.handleErrorEvent=_=>this.handleEvent(Lt.error,_),this.handleCloseEvent=_=>this.handleEvent(Lt.close,_),this.handleMessageEvent=_=>this.handleEvent(Lt.message,_),this._url=e,this._protocols=s,this._options={buffer:n==null?void 0:n.buffer,retry:{maxRetries:(a=n==null?void 0:n.retry)===null||a===void 0?void 0:a.maxRetries,instantReconnect:(r=n==null?void 0:n.retry)===null||r===void 0?void 0:r.instantReconnect,backoff:(o=n==null?void 0:n.retry)===null||o===void 0?void 0:o.backoff},listeners:{open:[...(d=(l=n==null?void 0:n.listeners)===null||l===void 0?void 0:l.open)!==null&&d!==void 0?d:[]],close:[...(u=(c=n==null?void 0:n.listeners)===null||c===void 0?void 0:c.close)!==null&&u!==void 0?u:[]],error:[...(p=(b=n==null?void 0:n.listeners)===null||b===void 0?void 0:b.error)!==null&&p!==void 0?p:[]],message:[...(f=(m=n==null?void 0:n.listeners)===null||m===void 0?void 0:m.message)!==null&&f!==void 0?f:[]],retry:[...(k=(v=n==null?void 0:n.listeners)===null||v===void 0?void 0:v.retry)!==null&&k!==void 0?k:[]],reconnect:[...(g=(h=n==null?void 0:n.listeners)===null||h===void 0?void 0:h.reconnect)!==null&&g!==void 0?g:[]]}},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,n){this._options.listeners[e].push({listener:s,options:n})}removeEventListener(e,s,n){const a=r=>r.listener!==s||r.options!==n;this._options.listeners[e]=this._options.listeners[e].filter(a)}tryConnect(){return this._underlyingWebsocket=new WebSocket(this.url,this.protocols),this._underlyingWebsocket.addEventListener(Lt.open,this.handleOpenEvent),this._underlyingWebsocket.addEventListener(Lt.close,this.handleCloseEvent),this._underlyingWebsocket.addEventListener(Lt.error,this.handleErrorEvent),this._underlyingWebsocket.addEventListener(Lt.message,this.handleMessageEvent),this._underlyingWebsocket}clearWebsocket(){this._underlyingWebsocket.removeEventListener(Lt.open,this.handleOpenEvent),this._underlyingWebsocket.removeEventListener(Lt.close,this.handleCloseEvent),this._underlyingWebsocket.removeEventListener(Lt.error,this.handleErrorEvent),this._underlyingWebsocket.removeEventListener(Lt.message,this.handleMessageEvent),this._underlyingWebsocket.close()}dispatchEvent(e,s){const n=this._options.listeners[e],a=[];n.forEach(({listener:r,options:o})=>{r(this,s),(o===void 0||o.once===void 0||!o.once)&&a.push({listener:r,options:o})}),this._options.listeners[e]=a}handleEvent(e,s){switch(e){case Lt.close:this.dispatchEvent(e,s),this.scheduleConnectionRetryIfNeeded();break;case Lt.open:if(this.backoff!==void 0&&this._lastConnection!==void 0){const n={retries:this.backoff.retries,lastConnection:new Date(this._lastConnection)},a=new CustomEvent(Lt.reconnect,{detail:n});this.dispatchEvent(Lt.reconnect,a),this.backoff.reset()}this._lastConnection=new Date,this.dispatchEvent(e,s),this.sendBufferedData();break;case Lt.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=n=>{const a=new CustomEvent(Lt.retry,{detail:n});this.handleEvent(Lt.retry,a)},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 wz{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(Lt.open,e,s),this}onClose(e,s){return this.addListener(Lt.close,e,s),this}onError(e,s){return this.addListener(Lt.error,e,s),this}onMessage(e,s){return this.addListener(Lt.message,e,s),this}onRetry(e,s){return this.addListener(Lt.retry,e,s),this}onReconnect(e,s){return this.addListener(Lt.reconnect,e,s),this}build(){return new kz(this._url,this._protocols,this._options)}addListener(e,s,n){var a,r,o,l,d,c,u,b,p,m,f,v,k,h,g,_,y,w,P,E,j;return this._options=Object.assign(Object.assign({},this._options),{listeners:{open:(o=(r=(a=this._options)===null||a===void 0?void 0:a.listeners)===null||r===void 0?void 0:r.open)!==null&&o!==void 0?o:[],close:(c=(d=(l=this._options)===null||l===void 0?void 0:l.listeners)===null||d===void 0?void 0:d.close)!==null&&c!==void 0?c:[],error:(p=(b=(u=this._options)===null||u===void 0?void 0:u.listeners)===null||b===void 0?void 0:b.error)!==null&&p!==void 0?p:[],message:(v=(f=(m=this._options)===null||m===void 0?void 0:m.listeners)===null||f===void 0?void 0:f.message)!==null&&v!==void 0?v:[],retry:(g=(h=(k=this._options)===null||k===void 0?void 0:k.listeners)===null||h===void 0?void 0:h.retry)!==null&&g!==void 0?g:[],reconnect:(w=(y=(_=this._options)===null||_===void 0?void 0:_.listeners)===null||y===void 0?void 0:y.reconnect)!==null&&w!==void 0?w:[],[e]:[...(j=(E=(P=this._options)===null||P===void 0?void 0:P.listeners)===null||E===void 0?void 0:E[e])!==null&&j!==void 0?j:[],{listener:s,options:n}]}}),this}}const Sz=1,_r=2,Io=3,Yd=4,zz=5,Tz=6;function Az(t){return{type:"auth",access_token:t}}function Pz(){return{type:"supported_features",id:1,features:{coalesce_messages:1}}}function Ez(t){const e={type:"subscribe_events"};return t&&(e.event_type=t),e}function qb(t){return{type:"unsubscribe_events",subscription:t}}function jz(){return{type:"ping"}}function Cz(t,e){return{type:"result",success:!1,error:{code:t,message:e}}}function xz(t){const e={},s=t.split("&");for(let n=0;n<s.length;n++){const a=s[n].split("="),r=decodeURIComponent(a[0]),o=a.length>1?decodeURIComponent(a[1]):void 0;e[r]=o}return e}const Mz=(t,e,s,n)=>{const[a,r,o]=t.split(".",3);return Number(a)>e||Number(a)===e&&Number(r)>=s||n!==void 0},Lz="auth_invalid",Dz="auth_ok";function Iz(t){if(!t.auth)throw Yd;const e=t.auth;let s=e.expired?e.refreshAccessToken().then(()=>{s=void 0},()=>{s=void 0}):void 0;const n=e.wsUrl;function a(r,o,l){const d=new WebSocket(n);let c=!1;const u=()=>{if(d.removeEventListener("close",u),c){l(_r);return}if(r===0){l(Sz);return}const m=r===-1?-1:r-1;setTimeout(()=>a(m,o,l),1e3)},b=async m=>{try{e.expired&&await(s||e.refreshAccessToken()),d.send(JSON.stringify(Az(e.accessToken)))}catch(f){c=f===_r,d.close()}},p=async m=>{const f=JSON.parse(m.data);switch(f.type){case Lz:c=!0,d.close();break;case Dz:d.removeEventListener("open",b),d.removeEventListener("message",p),d.removeEventListener("close",u),d.removeEventListener("error",u),d.haVersion=f.ha_version,Mz(d.haVersion,2022,9)&&d.send(JSON.stringify(Pz())),o(d);break}};d.addEventListener("open",b),d.addEventListener("message",p),d.addEventListener("close",u),d.addEventListener("error",u)}return new Promise((r,o)=>a(t.setupRetry,r,o))}class Rz{constructor(e,s){this._handleMessage=n=>{let a=JSON.parse(n.data);Array.isArray(a)||(a=[a]),a.forEach(r=>{const o=this.commands.get(r.id);switch(r.type){case"event":o?o.callback(r.event):(console.warn(`Received event for unknown subscription ${r.id}. Unsubscribing.`),this.sendMessagePromise(qb(r.id)).catch(l=>{}));break;case"result":o&&(r.success?(o.resolve(r.result),"subscribe"in o||this.commands.delete(r.id)):(o.reject(r.error),this.commands.delete(r.id)));break;case"pong":o?(o.resolve(),this.commands.delete(r.id)):console.warn(`Received unknown pong response ${r.id}`);break}})},this._handleClose=async()=>{const n=this.commands;if(this.commandId=1,this.oldSubscriptions=this.commands,this.commands=new Map,this.socket=void 0,n.forEach(o=>{"subscribe"in o||o.reject(Cz(Io,"Connection lost"))}),this.closeRequested)return;this.fireEvent("disconnected");const a=Object.assign(Object.assign({},this.options),{setupRetry:0}),r=o=>{setTimeout(async()=>{if(!this.closeRequested)try{const l=await a.createSocket(a);this._setSocket(l)}catch(l){if(this._queuedMessages){const d=this._queuedMessages;this._queuedMessages=void 0;for(const c of d)c.reject&&c.reject(Io)}l===_r?this.fireEvent("reconnect-error",l):r(o+1)}},Math.min(o,5)*1e3)};this.suspendReconnectPromise&&(await this.suspendReconnectPromise,this.suspendReconnectPromise=void 0,this._queuedMessages=[]),r(0)},this.options=s,this.commandId=2,this.commands=new Map,this.eventListeners=new Map,this.closeRequested=!1,this._setSocket(e)}get connected(){return this.socket!==void 0&&this.socket.readyState==this.socket.OPEN}_setSocket(e){this.socket=e,this.haVersion=e.haVersion,e.addEventListener("message",this._handleMessage),e.addEventListener("close",this._handleClose);const s=this.oldSubscriptions;s&&(this.oldSubscriptions=void 0,s.forEach(a=>{"subscribe"in a&&a.subscribe&&a.subscribe().then(r=>{a.unsubscribe=r,a.resolve()})}));const n=this._queuedMessages;if(n){this._queuedMessages=void 0;for(const a of n)a.resolve()}this.fireEvent("ready")}addEventListener(e,s){let n=this.eventListeners.get(e);n||(n=[],this.eventListeners.set(e,n)),n.push(s)}removeEventListener(e,s){const n=this.eventListeners.get(e);if(!n)return;const a=n.indexOf(s);a!==-1&&n.splice(a,1)}fireEvent(e,s){(this.eventListeners.get(e)||[]).forEach(n=>n(this,s))}suspendReconnectUntil(e){this.suspendReconnectPromise=e}suspend(){if(!this.suspendReconnectPromise)throw new Error("Suspend promise not set");this.socket&&this.socket.close()}reconnect(e=!1){if(this.socket){if(!e){this.socket.close();return}this.socket.removeEventListener("message",this._handleMessage),this.socket.removeEventListener("close",this._handleClose),this.socket.close(),this._handleClose()}}close(){this.closeRequested=!0,this.socket&&this.socket.close()}async subscribeEvents(e,s){return this.subscribeMessage(e,Ez(s))}ping(){return this.sendMessagePromise(jz())}sendMessage(e,s){if(!this.connected)throw Io;if(this._queuedMessages){if(s)throw new Error("Cannot queue with commandId");this._queuedMessages.push({resolve:()=>this.sendMessage(e)});return}s||(s=this._genCmdId()),e.id=s,this.socket.send(JSON.stringify(e))}sendMessagePromise(e){return new Promise((s,n)=>{if(this._queuedMessages){this._queuedMessages.push({reject:n,resolve:async()=>{try{s(await this.sendMessagePromise(e))}catch(r){n(r)}}});return}const a=this._genCmdId();this.commands.set(a,{resolve:s,reject:n}),this.sendMessage(e,a)})}async subscribeMessage(e,s,n){this._queuedMessages&&await new Promise((r,o)=>{this._queuedMessages.push({resolve:r,reject:o})});let a;return await new Promise((r,o)=>{const l=this._genCmdId();a={resolve:r,reject:o,callback:e,subscribe:(n==null?void 0:n.resubscribe)!==!1?()=>this.subscribeMessage(e,s):void 0,unsubscribe:async()=>{this.connected&&await this.sendMessagePromise(qb(l)),this.commands.delete(l)}},this.commands.set(l,a);try{this.sendMessage(s,l)}catch{}}),()=>a.unsubscribe()}_genCmdId(){return++this.commandId}}const Oz=()=>`${location.protocol}//${location.host}/`,Nz=t=>t*1e3+Date.now();function Bz(){const{protocol:t,host:e,pathname:s,search:n}=location;return`${t}//${e}${s}${n}`}function qz(t,e,s,n){let a=`${t}/auth/authorize?response_type=code&redirect_uri=${encodeURIComponent(s)}`;return e!==null&&(a+=`&client_id=${encodeURIComponent(e)}`),n&&(a+=`&state=${encodeURIComponent(n)}`),a}function Gz(t,e,s,n){s+=(s.includes("?")?"&":"?")+"auth_callback=1",document.location.href=qz(t,e,s,n)}async function Df(t,e,s){const n=typeof location<"u"&&location;if(n&&n.protocol==="https:"){const l=document.createElement("a");if(l.href=t,l.protocol==="http:"&&l.hostname!=="localhost")throw zz}const a=new FormData;e!==null&&a.append("client_id",e),Object.keys(s).forEach(l=>{a.append(l,s[l])});const r=await fetch(`${t}/auth/token`,{method:"POST",credentials:"same-origin",body:a});if(!r.ok)throw r.status===400||r.status===403?_r:new Error("Unable to fetch tokens");const o=await r.json();return o.hassUrl=t,o.clientId=e,o.expires=Nz(o.expires_in),o}function Gb(t,e,s){return Df(t,e,{code:s,grant_type:"authorization_code"})}function Fz(t){return btoa(JSON.stringify(t))}function Vz(t){return JSON.parse(atob(t))}class Hz{constructor(e,s){this.data=e,this._saveTokens=s}get wsUrl(){return`ws${this.data.hassUrl.substr(4)}/api/websocket`}get accessToken(){return this.data.access_token}get expired(){return Date.now()>this.data.expires}async refreshAccessToken(){if(!this.data.refresh_token)throw new Error("No refresh_token");const e=await Df(this.data.hassUrl,this.data.clientId,{grant_type:"refresh_token",refresh_token:this.data.refresh_token});e.refresh_token=this.data.refresh_token,this.data=e,this._saveTokens&&this._saveTokens(e)}async revoke(){if(!this.data.refresh_token)throw new Error("No refresh_token to revoke");const e=new FormData;e.append("token",this.data.refresh_token),await fetch(`${this.data.hassUrl}/auth/revoke`,{method:"POST",credentials:"same-origin",body:e}),this._saveTokens&&this._saveTokens(null)}}async function Fb(t={}){let e,s=t.hassUrl;s&&s[s.length-1]==="/"&&(s=s.substr(0,s.length-1));const n=t.clientId!==void 0?t.clientId:Oz(),a=t.limitHassInstance===!0;if(t.authCode&&s&&(e=await Gb(s,n,t.authCode),t.saveTokens&&t.saveTokens(e)),!e){const r=xz(location.search.substr(1));if("auth_callback"in r){const o=Vz(r.state);if(a&&(o.hassUrl!==s||o.clientId!==n))throw Tz;e=await Gb(o.hassUrl,o.clientId,r.code),t.saveTokens&&t.saveTokens(e)}}if(!e&&t.loadTokens&&(e=await t.loadTokens()),e)return new Hz(e,t.saveTokens);if(s===void 0)throw Yd;return Gz(s,n,t.redirectUrl||Bz(),Fz({hassUrl:s,clientId:n})),new Promise(()=>{})}async function Uz(t){const e=Object.assign({setupRetry:0,createSocket:Iz},t),s=await e.createSocket(e);return new Rz(s,e)}var Wz=(t=>(t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED",t))(Wz||{});class $z{constructor(){mt(this,"ws");mt(this,"commandId");mt(this,"_throttleId");mt(this,"baseUrl");mt(this,"state",st(0));mt(this,"serverInfo",st());mt(this,"players",ae({}));mt(this,"queues",ae({}));mt(this,"providers",ae({}));mt(this,"providerManifests",ae({}));mt(this,"syncTasks",st([]));mt(this,"fetchesInProgress",st([]));mt(this,"hasStreamingProviders",F(()=>Object.values(this.providers).some(e=>e.is_streaming_provider)));mt(this,"eventCallbacks");mt(this,"partialResult");mt(this,"commands");this.commandId=0,this.eventCallbacks=[],this.commands=new Map,this.partialResult={}}async initialize(e){if(this.ws)throw new Error("already initialized");e.endsWith("/")&&(e=e.slice(0,-1)),this.baseUrl=e;const s=e.replace("http","ws")+"/ws";console.log(`Connecting to Music Assistant API ${s}`),this.state.value=1,this.ws=new wz(s).onOpen((n,a)=>{console.log("connection opened")}).onClose((n,a)=>{console.log("connection closed"),this.state.value=0,this.signalEvent({event:ke.DISCONNECTED,object_id:""})}).onError((n,a)=>{console.log("error on connection")}).onMessage((n,a)=>{const r=JSON.parse(a.data);"event"in r?this.handleEventMessage(r):"server_version"in r?this.handleServerInfoMessage(r):"message_id"in r?this.handleResultMessage(r):console.error("received unknown message",r)}).onRetry((n,a)=>{console.log("retry"),this.state.value=1}).withBackoff(new yz(0,1e3,12e3)).build()}subscribe(e,s,n="*"){const a=[e,n,s];return this.eventCallbacks.push(a),()=>{const o=this.eventCallbacks.indexOf(a);o>-1&&this.eventCallbacks.splice(o,1)}}subscribe_multi(e,s,n="*"){const a=[];for(const o of e)a.push(this.subscribe(o,s,n));return()=>{for(const o of a)o()}}getLibraryTracks(e,s,n,a,r){return this.sendCommand("music/tracks/library_items",{favorite:e,search:s,limit:n,offset:a,order_by:r})}getTrack(e,s,n){return this.sendCommand("music/tracks/get_track",{item_id:e,provider_instance_id_or_domain:s,album_uri:n})}getTrackVersions(e,s){return this.sendCommand("music/tracks/track_versions",{item_id:e,provider_instance_id_or_domain:s})}getTrackAlbums(e,s,n=!1){return this.sendCommand("music/tracks/track_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getTrackPreviewUrl(e,s){const n=encodeURIComponent(encodeURIComponent(s));return`${this.baseUrl}/preview?item_id=${n}&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,n,a,r,o){return this.sendCommand("music/artists/library_items",{favorite:e,search:s,limit:n,offset:a,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,n=!1){return this.sendCommand("music/artists/artist_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getArtistAlbums(e,s,n=!1){return this.sendCommand("music/artists/artist_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getLibraryAlbums(e,s,n,a,r,o){return this.sendCommand("music/albums/library_items",{favorite:e,search:s,limit:n,offset:a,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,n=!1){return this.sendCommand("music/albums/album_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getAlbumVersions(e,s){return this.sendCommand("music/albums/album_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryPlaylists(e,s,n,a,r){return this.sendCommand("music/playlists/library_items",{favorite:e,search:s,limit:n,offset:a,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,n){return this.sendCommand("music/playlists/playlist_tracks",{item_id:e,provider_instance_id_or_domain:s,force_refresh:n})}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,n,a,r){return this.sendCommand("music/radios/library_items",{favorite:e,search:s,limit:n,offset:a,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,n,a,r){return this.sendCommand("music/audiobooks/library_items",{favorite:e,search:s,limit:n,offset:a,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,n,a,r){return this.sendCommand("music/podcasts/library_items",{favorite:e,search:s,limit:n,offset:a,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,n){return this.sendCommand("music/item",{media_type:e,item_id:s,provider_instance_id_or_domain:n})}getLibraryItem(e,s,n){return this.sendCommand("music/get_library_item",{media_type:e,item_id:s,provider_instance_id_or_domain:n})}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,n){return this.sendCommand("music/search",{search_query:e,media_types:s,limit:n})}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})}markItemPlayed(e,s,n){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:n})}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,n){return this.sendCommand("player_queues/items",{queue_id:e,limit:s,offset:n})}queueCommandClear(e){this.playerQueueCommand(e,"clear")}queueCommandPlayIndex(e,s){this.playerQueueCommand(e,"play_index",{index:s})}queueCommandMoveItem(e,s,n=1){this.playerQueueCommand(e,"move_item",{queue_item_id:s,pos_shift:n})}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==Rs.OFF?this.queueCommandRepeat(e,Rs.ONE):this.queues[e].repeat_mode==Rs.ONE?this.queueCommandRepeat(e,Rs.ALL):this.queueCommandRepeat(e,Rs.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,n){this._sendCommand(`player_queues/${s}`,{queue_id:e,...n})}queueCommandTransfer(e,s,n){this._sendCommand("player_queues/transfer",{source_queue_id:e,target_queue_id:s,auto_play:n})}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)}playerCommandGroup(e,s){return this.playerCommand(e,"group",{target_player:s})}playerCommandUnGroup(e){return this.playerCommand(e,"ungroup")}playerCommandGroupMany(e,s){return this.sendCommand("players/cmd/group_many",{target_player:e,child_player_ids:s})}playerCommandUnGroupMany(e){return this.sendCommand("players/cmd/ungroup_many",{player_ids:e})}playerCommand(e,s,n){return this.sendCommand(`players/cmd/${s}`,{player_id:e,...n})}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,n,a=!1){return this.sendCommand("player_group/create",{group_type:e,name:s,members:n,dynamic:a})}playerCommandGroupSelectSource(e,s){return this.playerCommand(e,"select_source",{source:s})}playMedia(e,s,n,a,r){var o,l,d,c;return!r&&((o=it.activePlayer)!=null&&o.active_source)&&((l=it.activePlayer)==null?void 0:l.active_source)in this.queues?r=(d=it.activePlayer)==null?void 0:d.active_source:r||(r=(c=it.activePlayer)==null?void 0:c.player_id),this.sendCommand("player_queues/play_media",{queue_id:r,media:e,option:s,radio_mode:n,start_item:a})}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,n,a){return this.sendCommand("config/providers/get_entries",{provider_domain:e,instance_id:s,action:n,values:a})}async saveProviderConfig(e,s,n){return this.sendCommand("config/providers/save",{provider_domain:e,values:s,instance_id:n})}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 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 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,n){return this.sendCommand("config/core/get_entries",{domain:e,action:s,values:n})}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 n=this.providers[s];if(n.domain==e)return n}}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]}}async connectHass(){let e;const s={async loadTokens(){try{return JSON.parse(localStorage.hassTokens)}catch{return}},saveTokens:a=>{localStorage.hassTokens=JSON.stringify(a)},hassUrl:""};try{e=await Fb(s)}catch(a){if(a===Yd){if(s.hassUrl=prompt("Please enter the URL to Home Assistant","http://homeassistant.local:8123")||"",!s.hassUrl)return;e=await Fb(s)}else{alert(`Unknown error: ${a}`);return}}const n=await Uz({auth:e});return n.addEventListener("ready",()=>window.history.back()),n}handleEventMessage(e){if(e.event==ke.QUEUE_ADDED){const s=e.data;this.queues[s.queue_id]=s}else if(e.event==ke.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==ke.QUEUE_TIME_UPDATED){const s=e.object_id;s in this.queues&&(this.queues[s].elapsed_time=e.data)}else if(e.event==ke.PLAYER_ADDED){const s=e.data;this.players[s.player_id]=s}else if(e.event==ke.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==ke.PLAYER_REMOVED)delete this.players[e.object_id],delete this.queues[e.object_id];else if(e.event==ke.SYNC_TASKS_UPDATED)this.syncTasks.value=e.data;else if(e.event==ke.PROVIDERS_UPDATED){const s={};for(const n of e.data)s[n.instance_id]=n;this.providers=s}e.event,ke.QUEUE_TIME_UPDATED,this.signalEvent(e)}handleResultMessage(e){const s=this.commands.get(e.message_id);if("error_code"in e&&(e=e,console.error("[resultMessage]",e),it.activeAlert={type:Lf.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(n=>n!=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:ke.CONNECTED,object_id:"",data:e})}signalEvent(e){for(const s of this.eventCallbacks)(s[0]===ke.ALL||s[0]===e.event)&&(s[1]=="*"||s[1]===e.object_id)&&s[2](e)}sendCommand(e,s){const n=this._genCmdId();return new Promise((a,r)=>{this.commands.set(n,{resolve:a,reject:r}),this.fetchesInProgress.value.push(n),this._sendCommand(e,s,n)})}_sendCommand(e,s,n){if(this.state.value!==2)throw new Error("Connection lost");n||(n=this._genCmdId());const a={command:e,message_id:n,args:s};this.ws.send(JSON.stringify(a))}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++this.commandId}}const rt=new $z,io={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function Kz(t,e,s){const n=[];let a=[];const r=If(t),o=Rf(t),l=s??io[e.slice(-2).toUpperCase()]??0,d=(r.getDay()-l+7)%7,c=(o.getDay()-l+7)%7;for(let u=0;u<d;u++){const b=new Date(r);b.setDate(b.getDate()-(d-u)),a.push(b)}for(let u=1;u<=o.getDate();u++){const b=new Date(t.getFullYear(),t.getMonth(),u);a.push(b),a.length===7&&(n.push(a),a=[])}for(let u=1;u<7-c;u++){const b=new Date(o);b.setDate(b.getDate()+u),a.push(b)}return a.length>0&&n.push(a),n}function Xz(t,e,s){const n=s??io[e.slice(-2).toUpperCase()]??0,a=new Date(t);for(;a.getDay()!==n;)a.setDate(a.getDate()-1);return a}function Yz(t,e){const s=new Date(t),n=((io[e.slice(-2).toUpperCase()]??0)+6)%7;for(;s.getDay()!==n;)s.setDate(s.getDate()+1);return s}function If(t){return new Date(t.getFullYear(),t.getMonth(),1)}function Rf(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function Zz(t){const e=t.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const Qz=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Of(t){if(t==null)return new Date;if(t instanceof Date)return t;if(typeof t=="string"){let e;if(Qz.test(t))return Zz(t);if(e=Date.parse(t),!isNaN(e))return new Date(e)}return null}const Vb=new Date(2e3,0,2);function Jz(t,e){const s=e??io[t.slice(-2).toUpperCase()]??0;return _m(7).map(n=>{const a=new Date(Vb);return a.setDate(Vb.getDate()+s+n),new Intl.DateTimeFormat(t,{weekday:"narrow"}).format(a)})}function t1(t,e,s,n){const a=Of(t)??new Date,r=n==null?void 0:n[e];if(typeof r=="function")return r(a,e,s);let o={};switch(e){case"fullDate":o={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":o={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const l=a.getDate(),d=new Intl.DateTimeFormat(s,{month:"long"}).format(a);return`${l} ${d}`;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(a.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",second:"numeric",hour12:!0};break;case"fullTime12h":o={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":o={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":o={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":o={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":o={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":o={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:o=r??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(s,o).format(a)}function e1(t,e){const s=t.toJsDate(e),n=s.getFullYear(),a=Yc(String(s.getMonth()+1),2,"0"),r=Yc(String(s.getDate()),2,"0");return`${n}-${a}-${r}`}function i1(t){const[e,s,n]=t.split("-").map(Number);return new Date(e,s-1,n)}function s1(t,e){const s=new Date(t);return s.setMinutes(s.getMinutes()+e),s}function n1(t,e){const s=new Date(t);return s.setHours(s.getHours()+e),s}function a1(t,e){const s=new Date(t);return s.setDate(s.getDate()+e),s}function r1(t,e){const s=new Date(t);return s.setDate(s.getDate()+e*7),s}function o1(t,e){const s=new Date(t);return s.setDate(1),s.setMonth(s.getMonth()+e),s}function l1(t){return t.getFullYear()}function d1(t){return t.getMonth()}function u1(t){return t.getDate()}function c1(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function b1(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function p1(t){return t.getHours()}function m1(t){return t.getMinutes()}function f1(t){return new Date(t.getFullYear(),0,1)}function v1(t){return new Date(t.getFullYear(),11,31)}function g1(t,e){return hr(t,e[0])&&y1(t,e[1])}function _1(t){const e=new Date(t);return e instanceof Date&&!isNaN(e.getTime())}function hr(t,e){return t.getTime()>e.getTime()}function h1(t,e){return hr(Nl(t),Nl(e))}function y1(t,e){return t.getTime()<e.getTime()}function Hb(t,e){return t.getTime()===e.getTime()}function k1(t,e){return t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function w1(t,e){return t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function S1(t,e){return t.getFullYear()===e.getFullYear()}function z1(t,e,s){const n=new Date(t),a=new Date(e);switch(s){case"years":return n.getFullYear()-a.getFullYear();case"quarters":return Math.floor((n.getMonth()-a.getMonth()+(n.getFullYear()-a.getFullYear())*12)/4);case"months":return n.getMonth()-a.getMonth()+(n.getFullYear()-a.getFullYear())*12;case"weeks":return Math.floor((n.getTime()-a.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((n.getTime()-a.getTime())/(1e3*60*60*24));case"hours":return Math.floor((n.getTime()-a.getTime())/(1e3*60*60));case"minutes":return Math.floor((n.getTime()-a.getTime())/(1e3*60));case"seconds":return Math.floor((n.getTime()-a.getTime())/1e3);default:return n.getTime()-a.getTime()}}function T1(t,e){const s=new Date(t);return s.setHours(e),s}function A1(t,e){const s=new Date(t);return s.setMinutes(e),s}function P1(t,e){const s=new Date(t);return s.setMonth(e),s}function E1(t,e){const s=new Date(t);return s.setDate(e),s}function j1(t,e){const s=new Date(t);return s.setFullYear(e),s}function Nl(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)}function C1(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999)}class x1{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return Of(e)}toJsDate(e){return e}toISO(e){return e1(this,e)}parseISO(e){return i1(e)}addMinutes(e,s){return s1(e,s)}addHours(e,s){return n1(e,s)}addDays(e,s){return a1(e,s)}addWeeks(e,s){return r1(e,s)}addMonths(e,s){return o1(e,s)}getWeekArray(e,s){return Kz(e,this.locale,s?Number(s):void 0)}startOfWeek(e,s){return Xz(e,this.locale,s?Number(s):void 0)}endOfWeek(e){return Yz(e,this.locale)}startOfMonth(e){return If(e)}endOfMonth(e){return Rf(e)}format(e,s){return t1(e,s,this.locale,this.formats)}isEqual(e,s){return Hb(e,s)}isValid(e){return _1(e)}isWithinRange(e,s){return g1(e,s)}isAfter(e,s){return hr(e,s)}isAfterDay(e,s){return h1(e,s)}isBefore(e,s){return!hr(e,s)&&!Hb(e,s)}isSameDay(e,s){return k1(e,s)}isSameMonth(e,s){return w1(e,s)}isSameYear(e,s){return S1(e,s)}setMinutes(e,s){return A1(e,s)}setHours(e,s){return T1(e,s)}setMonth(e,s){return P1(e,s)}setDate(e,s){return E1(e,s)}setYear(e,s){return j1(e,s)}getDiff(e,s,n){return z1(e,s,n)}getWeekdays(e){return Jz(this.locale,e?Number(e):void 0)}getYear(e){return l1(e)}getMonth(e){return d1(e)}getDate(e){return u1(e)}getNextMonth(e){return c1(e)}getPreviousMonth(e){return b1(e)}getHours(e){return p1(e)}getMinutes(e){return m1(e)}startOfDay(e){return Nl(e)}endOfDay(e){return C1(e)}startOfYear(e){return f1(e)}endOfYear(e){return v1(e)}}const M1=Symbol.for("vuetify:date-options"),Ub=Symbol.for("vuetify:date-adapter");function L1(t,e){const s=ge({adapter:x1,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:D1(s,e)}}function D1(t,e){const s=ae(typeof t.adapter=="function"?new t.adapter({locale:t.locale[e.current.value]??e.current.value,formats:t.formats}):t.adapter);return ht(e.current,n=>{s.locale=t.locale[n]??n??s.locale}),s}const Nf=Symbol.for("vuetify:goto");function Bf(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{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}}}function I1(t){return Zd(t)??(document.scrollingElement||document.body)}function Zd(t){return typeof t=="string"?document.querySelector(t):hm(t)}function Ro(t,e,s){if(typeof t=="number")return e&&s?-t:t;let n=Zd(t),a=0;for(;n;)a+=e?n.offsetLeft:n.offsetTop,n=n.offsetParent;return a}function R1(t,e){return{rtl:e.isRtl,options:ge(Bf(),t)}}async function Wb(t,e,s,n){const a=s?"scrollLeft":"scrollTop",r=ge((n==null?void 0:n.options)??Bf(),e),o=n==null?void 0:n.rtl.value,l=(typeof t=="number"?t:Zd(t))??0,d=r.container==="parent"&&l instanceof HTMLElement?l.parentElement:I1(r.container),c=typeof r.easing=="function"?r.easing:r.patterns[r.easing];if(!c)throw new TypeError(`Easing function "${r.easing}" not found.`);let u;if(typeof l=="number")u=Ro(l,s,o);else if(u=Ro(l,s,o)-Ro(d,s,o),r.layout){const f=window.getComputedStyle(l).getPropertyValue("--v-layout-top");f&&(u-=parseInt(f,10))}u+=r.offset,u=O1(d,u,!!o,!!s);const b=d[a]??0;if(u===b)return Promise.resolve(u);const p=performance.now();return new Promise(m=>requestAnimationFrame(function f(v){const h=(v-p)/r.duration,g=Math.floor(b+(u-b)*c(rn(h,0,1)));if(d[a]=g,h>=1&&Math.abs(g-d[a])<10)return m(u);if(h>2)return m(d[a]);requestAnimationFrame(f)}))}function SP(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=Dt(Nf),{isRtl:s}=va();if(!e)throw new Error("[Vuetify] Could not find injected goto instance");const n={...e,rtl:F(()=>e.rtl.value||s.value)};async function a(r,o){return Wb(r,ge(t,o),!1,n)}return a.horizontal=async(r,o)=>Wb(r,ge(t,o),!0,n),a}function O1(t,e,s,n){const{scrollWidth:a,scrollHeight:r}=t,[o,l]=t===document.scrollingElement?[window.innerWidth,window.innerHeight]:[t.offsetWidth,t.offsetHeight];let d,c;return n?s?(d=-(a-o),c=0):(d=0,c=a-o):(d=0,c=r+-l),Math.max(Math.min(e,c),d)}function qf(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...s}=t,n=ge(e,s),{aliases:a={},components:r={},directives:o={}}=n,l=Ek(n.defaults),d=ZS(n.display,n.ssr),c=yw(n.theme),u=vw(n.icons),b=Nw(n.locale),p=L1(n.date,b),m=R1(n.goTo,b);return{install:v=>{for(const k in o)v.directive(k,o[k]);for(const k in r)v.component(k,r[k]);for(const k in a)v.component(k,bn({...a[k],name:k,aliasName:a[k].name}));if(c.install(v),v.provide(on,l),v.provide(Ol,d),v.provide(aa,c),v.provide(jl,u),v.provide(fr,b),v.provide(M1,p.options),v.provide(Ub,p.instance),v.provide(Nf,m),Ft&&n.ssr)if(v.$nuxt)v.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:k}=v;v.mount=function(){const h=k(...arguments);return oi(()=>d.update()),v.mount=k,h}}Kr.reset(),v.mixin({computed:{$vuetify(){return ae({defaults:Ds.call(this,on),display:Ds.call(this,Ol),theme:Ds.call(this,aa),icons:Ds.call(this,jl),locale:Ds.call(this,fr),date:Ds.call(this,Ub)})}}})},defaults:l,display:d,theme:c,icons:u,locale:b,date:p,goTo:m}}const N1="3.7.12";qf.version=N1;function Ds(t){var n,a;const e=this.$,s=((n=e.parent)==null?void 0:n.provides)??((a=e.vnode.appContext)==null?void 0:a.provides);if(s&&t in s)return s[t]}const B1=""+new URL("5_mins_of_silence-BbAu3Hoa.mp3",import.meta.url).href;function q1(t){var n,a,r;let e,s;if(((n=t.media_item)==null?void 0:n.media_type)===nt.TRACK){const o=t.media_item;e=o.artists.map(l=>l.name).join(", "),s=(a=o.album)==null?void 0:a.name}return new MediaMetadata({title:t.media_item.name,artist:e,album:s,artwork:[{src:((r=t.image)==null?void 0:r.path)??""}]})}function G1(){let t;ht(()=>it.curQueueItem,e=>{if(!e||!e.media_item||e.media_item.uri===t)return;const s=q1(e);t=e.media_item.uri,navigator.mediaSession.metadata=s})}const F1=["src"],V1=Bi({__name:"PlayerBrowserMediaControls",setup(t){const e=st(),s=st(!1);function n(r){const o=it.activePlayer;if(o)return r(o==null?void 0:o.player_id)}function a(r){if(!r||!e.value||!s.value)return;let o;switch(r){case Xn.PLAYING:e.value.play(),o=r;break;case Xn.PAUSED:e.value.pause(),o=r;break;default:e.value.pause(),o="none"}navigator.mediaSession.playbackState=o}return ht(()=>{var r;return(r=it.activePlayer)==null?void 0:r.state},r=>a(r)),G1(),li(()=>{window.addEventListener("click",()=>{var r;s.value=!0,a((r=it.activePlayer)==null?void 0:r.state)}),navigator.mediaSession.setActionHandler("play",()=>{n(rt.playerCommandPlay.bind(rt))}),navigator.mediaSession.setActionHandler("pause",()=>{setTimeout(()=>{n(rt.playerCommandPause.bind(rt))},250)}),navigator.mediaSession.setActionHandler("nexttrack",()=>{n(rt.playerCommandNext.bind(rt))}),navigator.mediaSession.setActionHandler("previoustrack",()=>{n(rt.playerCommandPrevious.bind(rt))})}),(r,o)=>(qe(),vs("audio",{ref_key:"audioRef",ref:e,controls:"",src:qt(B1),loop:"",class:"audio-control"},null,8,F1))}}),H1=Bi({__name:"App",setup(t){const e=kw(),s=function(){const n=localStorage.getItem("frontend.settings.theme")||"auto";n=="dark"?e.global.name.value="dark":n=="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"};return li(()=>{it.isInStandaloneMode=window.navigator.standalone||!1,it.navigationMenuStyle=localStorage.getItem("frontend.settings.menu_style")||"horizontal";const n=localStorage.getItem("frontend.settings.language")||"auto";n!=="auto"&&(Ld.global.locale.value=n),s(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",s);let a="";{const r=window.location;a=r.origin+r.pathname}it.connected=!1,rt.subscribe(ke.CONNECTED,async()=>{var r;((r=rt.serverInfo.value)==null?void 0:r.onboard_done)===!1&&(console.info("Onboarding not done, redirecting to settings"),hi.push("/settings")),it.libraryArtistsCount=await rt.getLibraryArtistsCount(),it.libraryAlbumsCount=await rt.getLibraryAlbumsCount(),it.libraryPlaylistsCount=await rt.getLibraryPlaylistsCount(),it.libraryRadiosCount=await rt.getLibraryRadiosCount(),it.libraryTracksCount=await rt.getLibraryTracksCount(),it.connected=!0}),rt.subscribe(ke.DISCONNECTED,()=>{it.connected=!1}),rt.initialize(a)}),(n,a)=>{const r=o3("router-view");return qe(),vs(Tt,null,[N(r),N(V1)],64)}}}),U1={base:"#2196f3",lighten2:"#64b5f6",darken2:"#1976d2",darken4:"#0d47a1"},Da={blue:U1},W1={component:t=>Ht(mw,{...t,class:"material-icons"})},$1={...Nm},K1=qf({icons:{defaultSet:"mdi",aliases:$1,sets:{md:W1,mdi:Bm}},display:{mobileBreakpoint:"md",thresholds:{xs:0,sm:340,md:540,lg:800,xl:1280}},theme:{defaultTheme:"light",themes:{light:{dark:!1,colors:{primary:Da.blue.base,accent:Da.blue.darken2}},dark:{dark:!0,colors:{primary:Da.blue.darken4,accent:Da.blue.lighten2}}}}}),X1={install:(t,e)=>{const s=(e==null?void 0:e.holdDuration)||500,n=(e==null?void 0:e.swipeThreshold)||50,a=(e==null?void 0:e.doubleTapThreshold)||300,r=(e==null?void 0:e.holdThreshold)||10,o="touchstart",l="touchend",d="touchmove";let c=!1;try{addEventListener("test",()=>{},{get passive(){c=!0}})}catch{}t.directive("hold",{mounted(u,b){const p="ontouchstart"in window?"touchstart":"mousedown",m="ontouchstart"in window?"touchend":"mouseup",f="ontouchstart"in window?"touchmove":"mousemove";let v=null,k=null,h=null;const g=w=>{w.touches&&(k=w.touches[0].clientX,h=w.touches[0].clientY,v=window.setTimeout(()=>{b.value(w),v=null},s))},_=w=>{if(!k||!h||!v||!w.touches)return;const P=w.touches[0].clientX,E=w.touches[0].clientY;(Math.abs(P-k)>r||Math.abs(E-h)>r)&&(window.clearTimeout(v),v=null)},y=()=>{v&&(window.clearTimeout(v),v=null)};u.addEventListener(p,g,c?{passive:!0}:!1),u.addEventListener(m,y,c?{passive:!0}:!1),u.addEventListener(f,_,c?{passive:!0}:!1),u._hold={handleTouchStart:g,handleTouchEnd:y,handleTouchMove:_}},unmounted(u){u._hold&&(u.removeEventListener(o,u._hold.handleTouchStart),u.removeEventListener(l,u._hold.handleTouchEnd),u.removeEventListener(d,u._hold.handleTouchMove))}}),t.directive("tap",{mounted(u,b){let p=null;const m=()=>{p=Date.now()},f=()=>{p&&Date.now()-p<s&&b.value()};u.addEventListener(o,m,c?{passive:!0}:!1),u.addEventListener(l,f,c?{passive:!0}:!1),u._tap={handleTouchStart:m,handleTouchEnd:f}},unmounted(u){u._tap&&(u.removeEventListener(o,u._tap.handleTouchStart),u.removeEventListener(l,u._tap.handleTouchEnd))}}),t.directive("swipe",{mounted(u,b){const p="ontouchstart"in window?"touchstart":"mousedown",m="ontouchstart"in window?"touchend":"mouseup";let f=null,v=null;const k=g=>{g.touches&&(f=g.touches[0].clientX,v=g.touches[0].clientY)},h=g=>{const _=g.changedTouches[0].clientX,y=g.changedTouches[0].clientY,w=_-(f||0),P=y-(v||0),E=Math.abs(w),j=Math.abs(P);let z=null;(E>n||j>n)&&(E>=j?z=w>0?"right":"left":z=P>0?"down":"up"),z&&(b.modifiers.right&&z==="right"||b.modifiers.left&&z==="left"||b.modifiers.up&&z==="up"||b.modifiers.down&&z==="down"||!b.modifiers.right&&!b.modifiers.left&&!b.modifiers.up&&!b.modifiers.down)&&b.value(z)};u.addEventListener(p,k,c?{passive:!0}:!1),u.addEventListener(m,h,c?{passive:!0}:!1),u._swipe={handleTouchStart:k,handleTouchEnd:h}},unmounted(u){u._swipe&&(u.removeEventListener(o,u._swipe.handleTouchStart),u.removeEventListener(l,u._swipe.handleTouchEnd))}}),t.directive("drag",{mounted(u,b){let p=null,m=null,f=0,v=0,k=!1;const h=y=>{y.touches&&(y.preventDefault(),p=y.touches[0].clientX,m=y.touches[0].clientY,f=u.offsetLeft,v=u.offsetTop,k=!0)},g=y=>{if(!k||!y.touches)return;const w=y.touches[0].clientX,P=y.touches[0].clientY,E=w-(p||0),j=P-(m||0);b.value({offsetX:f+E,offsetY:v+j})},_=()=>{k=!1};u.addEventListener(o,h,c?{passive:!0}:!1),u.addEventListener(d,g,c?{passive:!0}:!1),u.addEventListener(l,_,c?{passive:!0}:!1),u._drag={handleTouchStart:h,handleTouchMove:g,handleTouchEnd:_}},unmounted(u){u._drag&&(u.removeEventListener(o,u._drag.handleTouchStart),u.removeEventListener(d,u._drag.handleTouchMove),u.removeEventListener(l,u._drag.handleTouchEnd))}}),t.directive("press",{mounted(u,b){const p="ontouchstart"in window?"touchstart":"mousedown",m=f=>{b.value(f)};u.addEventListener(p,m,c?{passive:!0}:!1),u._press={handleTouchStart:m}},unmounted(u){u._press&&u.removeEventListener(o,u._press.handleTouchStart)}}),t.directive("release",{mounted(u,b){const p="ontouchstart"in window?"touchend":"mouseup",m=f=>{b.value(f)};u.addEventListener(p,m,c?{passive:!0}:!1),u._release={handleTouchEnd:m}},unmounted(u){u._release&&u.removeEventListener(l,u._release.handleTouchEnd)}}),t.directive("doubletap",{mounted(u,b){const p="ontouchstart"in window?"touchstart":"mousedown";let m=0;const f=v=>{const k=new Date().getTime(),h=k-m;h>0&&h<a&&b.value(v),m=k};u.addEventListener(p,f,c?{passive:!0}:!1),u._doubletap={handleTouchEnd:f}},unmounted(u){u._doubletap&&u.removeEventListener(o,u._doubletap.handleTouchEnd)}})}};function $b(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Qd(t,e){t===void 0&&(t={}),e===void 0&&(e={});const s=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>s.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:$b(e[n])&&$b(t[n])&&Object.keys(e[n]).length>0&&Qd(t[n],e[n])})}const Gf={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 Cs(){const t=typeof document<"u"?document:{};return Qd(t,Gf),t}const Y1={document:Gf,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 he(){const t=typeof window<"u"?window:{};return Qd(t,Y1),t}function Z1(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Q1(t){const e=t;Object.keys(e).forEach(s=>{try{e[s]=null}catch{}try{delete e[s]}catch{}})}function da(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function $e(){return Date.now()}function J1(t){const e=he();let s;return e.getComputedStyle&&(s=e.getComputedStyle(t,null)),!s&&t.currentStyle&&(s=t.currentStyle),s||(s=t.style),s}function tT(t,e){e===void 0&&(e="x");const s=he();let n,a,r;const o=J1(t);return s.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(l=>l.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix(a==="none"?"":a)):(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),e==="x"&&(s.WebKitCSSMatrix?a=r.m41:n.length===16?a=parseFloat(n[12]):a=parseFloat(n[4])),e==="y"&&(s.WebKitCSSMatrix?a=r.m42:n.length===16?a=parseFloat(n[13]):a=parseFloat(n[5])),a||0}function Ia(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function eT(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ge(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let s=1;s<arguments.length;s+=1){const n=s<0||arguments.length<=s?void 0:arguments[s];if(n!=null&&!eT(n)){const a=Object.keys(Object(n)).filter(r=>e.indexOf(r)<0);for(let r=0,o=a.length;r<o;r+=1){const l=a[r],d=Object.getOwnPropertyDescriptor(n,l);d!==void 0&&d.enumerable&&(Ia(t[l])&&Ia(n[l])?n[l].__swiper__?t[l]=n[l]:Ge(t[l],n[l]):!Ia(t[l])&&Ia(n[l])?(t[l]={},n[l].__swiper__?t[l]=n[l]:Ge(t[l],n[l])):t[l]=n[l])}}}return t}function Ra(t,e,s){t.style.setProperty(e,s)}function Ff(t){let{swiper:e,targetPosition:s,side:n}=t;const a=he(),r=-e.translate;let o=null,l;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const c=s>r?"next":"prev",u=(p,m)=>c==="next"&&p>=m||c==="prev"&&p<=m,b=()=>{l=new Date().getTime(),o===null&&(o=l);const p=Math.max(Math.min((l-o)/d,1),0),m=.5-Math.cos(p*Math.PI)/2;let f=r+m*(s-r);if(u(f,s)&&(f=s),e.wrapperEl.scrollTo({[n]:f}),u(f,s)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:f})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(b)};b()}function ki(t,e){e===void 0&&(e="");const s=he(),n=[...t.children];return s.HTMLSlotElement&&t instanceof HTMLSlotElement&&n.push(...t.assignedElements()),e?n.filter(a=>a.matches(e)):n}function iT(t,e){const s=[e];for(;s.length>0;){const n=s.shift();if(t===n)return!0;s.push(...n.children,...n.shadowRoot?n.shadowRoot.children:[],...n.assignedElements?n.assignedElements():[])}}function sT(t,e){const s=he();let n=e.contains(t);return!n&&s.HTMLSlotElement&&e instanceof HTMLSlotElement&&(n=[...e.assignedElements()].includes(t),n||(n=iT(t,e))),n}function yr(t){try{console.warn(t);return}catch{}}function kr(t,e){e===void 0&&(e=[]);const s=document.createElement(t);return s.classList.add(...Array.isArray(e)?e:Z1(e)),s}function nT(t,e){const s=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&s.push(n):s.push(n),t=n}return s}function aT(t,e){const s=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&s.push(n):s.push(n),t=n}return s}function Yi(t,e){return he().getComputedStyle(t,null).getPropertyValue(e)}function wr(t){let e=t,s;if(e){for(s=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(s+=1);return s}}function Vf(t,e){const s=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&s.push(n):s.push(n),n=n.parentElement;return s}function Oo(t,e){function s(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",s))}e&&t.addEventListener("transitionend",s)}function Bl(t,e,s){const n=he();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function ie(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}let No;function rT(){const t=he(),e=Cs();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Hf(){return No||(No=rT()),No}let Bo;function oT(t){let{userAgent:e}=t===void 0?{}:t;const s=Hf(),n=he(),a=n.navigator.platform,r=e||n.navigator.userAgent,o={ios:!1,android:!1},l=n.screen.width,d=n.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let u=r.match(/(iPad).*OS\s([\d_]+)/);const b=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=a==="Win32";let f=a==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&f&&s.touch&&v.indexOf(`${l}x${d}`)>=0&&(u=r.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),f=!1),c&&!m&&(o.os="android",o.android=!0),(u||p||b)&&(o.os="ios",o.ios=!0),o}function Uf(t){return t===void 0&&(t={}),Bo||(Bo=oT(t)),Bo}let qo;function lT(){const t=he(),e=Uf();let s=!1;function n(){const l=t.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(n()){const l=String(t.navigator.userAgent);if(l.includes("Version/")){const[d,c]=l.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));s=d<16||d===16&&c<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=n(),o=r||a&&e.ios;return{isSafari:s||r,needPerspectiveFix:s,need3dFix:o,isWebView:a}}function Wf(){return qo||(qo=lT()),qo}function dT(t){let{swiper:e,on:s,emit:n}=t;const a=he();let r=null,o=null;const l=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(b=>{o=a.requestAnimationFrame(()=>{const{width:p,height:m}=e;let f=p,v=m;b.forEach(k=>{let{contentBoxSize:h,contentRect:g,target:_}=k;_&&_!==e.el||(f=g?g.width:(h[0]||h).inlineSize,v=g?g.height:(h[0]||h).blockSize)}),(f!==p||v!==m)&&l()})}),r.observe(e.el))},c=()=>{o&&a.cancelAnimationFrame(o),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},u=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};s("init",()=>{if(e.params.resizeObserver&&typeof a.ResizeObserver<"u"){d();return}a.addEventListener("resize",l),a.addEventListener("orientationchange",u)}),s("destroy",()=>{c(),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",u)})}function uT(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;const r=[],o=he(),l=function(u,b){b===void 0&&(b={});const p=o.MutationObserver||o.WebkitMutationObserver,m=new p(f=>{if(e.__preventObserver__)return;if(f.length===1){a("observerUpdate",f[0]);return}const v=function(){a("observerUpdate",f[0])};o.requestAnimationFrame?o.requestAnimationFrame(v):o.setTimeout(v,0)});m.observe(u,{attributes:typeof b.attributes>"u"?!0:b.attributes,childList:e.isElement||(typeof b.childList>"u"?!0:b).childList,characterData:typeof b.characterData>"u"?!0:b.characterData}),r.push(m)},d=()=>{if(e.params.observer){if(e.params.observeParents){const u=Vf(e.hostEl);for(let b=0;b<u.length;b+=1)l(u[b])}l(e.hostEl,{childList:e.params.observeSlideChildren}),l(e.wrapperEl,{attributes:!1})}},c=()=>{r.forEach(u=>{u.disconnect()}),r.splice(0,r.length)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",c)}var cT={on(t,e,s){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const a=s?"unshift":"push";return t.split(" ").forEach(r=>{n.eventsListeners[r]||(n.eventsListeners[r]=[]),n.eventsListeners[r][a](e)}),n},once(t,e,s){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function a(){n.off(t,a),a.__emitterProxy&&delete a.__emitterProxy;for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];e.apply(n,o)}return a.__emitterProxy=e,n.on(t,a,s)},onAny(t,e){const s=this;if(!s.eventsListeners||s.destroyed||typeof t!="function")return s;const n=e?"unshift":"push";return s.eventsAnyListeners.indexOf(t)<0&&s.eventsAnyListeners[n](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(n=>{typeof e>"u"?s.eventsListeners[n]=[]:s.eventsListeners[n]&&s.eventsListeners[n].forEach((a,r)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&s.eventsListeners[n].splice(r,1)})}),s},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,s,n;for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return typeof r[0]=="string"||Array.isArray(r[0])?(e=r[0],s=r.slice(1,r.length),n=t):(e=r[0].events,s=r[0].data,n=r[0].context||t),s.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[d,...s])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(c=>{c.apply(n,s)})}),t}};function bT(){const t=this;let e,s;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?s=t.params.height:s=n.clientHeight,!(e===0&&t.isHorizontal()||s===0&&t.isVertical())&&(e=e-parseInt(Yi(n,"padding-left")||0,10)-parseInt(Yi(n,"padding-right")||0,10),s=s-parseInt(Yi(n,"padding-top")||0,10)-parseInt(Yi(n,"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 pT(){const t=this;function e(L,O){return parseFloat(L.getPropertyValue(t.getDirectionLabel(O))||0)}const s=t.params,{wrapperEl:n,slidesEl:a,size:r,rtlTranslate:o,wrongRTL:l}=t,d=t.virtual&&s.virtual.enabled,c=d?t.virtual.slides.length:t.slides.length,u=ki(a,`.${t.params.slideClass}, swiper-slide`),b=d?t.virtual.slides.length:u.length;let p=[];const m=[],f=[];let v=s.slidesOffsetBefore;typeof v=="function"&&(v=s.slidesOffsetBefore.call(t));let k=s.slidesOffsetAfter;typeof k=="function"&&(k=s.slidesOffsetAfter.call(t));const h=t.snapGrid.length,g=t.slidesGrid.length;let _=s.spaceBetween,y=-v,w=0,P=0;if(typeof r>"u")return;typeof _=="string"&&_.indexOf("%")>=0?_=parseFloat(_.replace("%",""))/100*r:typeof _=="string"&&(_=parseFloat(_)),t.virtualSize=-_,u.forEach(L=>{o?L.style.marginLeft="":L.style.marginRight="",L.style.marginBottom="",L.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(Ra(n,"--swiper-centered-offset-before",""),Ra(n,"--swiper-centered-offset-after",""));const E=s.grid&&s.grid.rows>1&&t.grid;E?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();let j;const z=s.slidesPerView==="auto"&&s.breakpoints&&Object.keys(s.breakpoints).filter(L=>typeof s.breakpoints[L].slidesPerView<"u").length>0;for(let L=0;L<b;L+=1){j=0;let O;if(u[L]&&(O=u[L]),E&&t.grid.updateSlide(L,O,u),!(u[L]&&Yi(O,"display")==="none")){if(s.slidesPerView==="auto"){z&&(u[L].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(O),M=O.style.transform,V=O.style.webkitTransform;if(M&&(O.style.transform="none"),V&&(O.style.webkitTransform="none"),s.roundLengths)j=t.isHorizontal()?Bl(O,"width"):Bl(O,"height");else{const X=e(x,"width"),J=e(x,"padding-left"),dt=e(x,"padding-right"),at=e(x,"margin-left"),_t=e(x,"margin-right"),Et=x.getPropertyValue("box-sizing");if(Et&&Et==="border-box")j=X+at+_t;else{const{clientWidth:Mt,offsetWidth:Ot}=O;j=X+J+dt+at+_t+(Ot-Mt)}}M&&(O.style.transform=M),V&&(O.style.webkitTransform=V),s.roundLengths&&(j=Math.floor(j))}else j=(r-(s.slidesPerView-1)*_)/s.slidesPerView,s.roundLengths&&(j=Math.floor(j)),u[L]&&(u[L].style[t.getDirectionLabel("width")]=`${j}px`);u[L]&&(u[L].swiperSlideSize=j),f.push(j),s.centeredSlides?(y=y+j/2+w/2+_,w===0&&L!==0&&(y=y-r/2-_),L===0&&(y=y-r/2-_),Math.abs(y)<1/1e3&&(y=0),s.roundLengths&&(y=Math.floor(y)),P%s.slidesPerGroup===0&&p.push(y),m.push(y)):(s.roundLengths&&(y=Math.floor(y)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&p.push(y),m.push(y),y=y+j+_),t.virtualSize+=j+_,w=j,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,r)+k,o&&l&&(s.effect==="slide"||s.effect==="coverflow")&&(n.style.width=`${t.virtualSize+_}px`),s.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+_}px`),E&&t.grid.updateWrapperSize(j,p),!s.centeredSlides){const L=[];for(let O=0;O<p.length;O+=1){let x=p[O];s.roundLengths&&(x=Math.floor(x)),p[O]<=t.virtualSize-r&&L.push(x)}p=L,Math.floor(t.virtualSize-r)-Math.floor(p[p.length-1])>1&&p.push(t.virtualSize-r)}if(d&&s.loop){const L=f[0]+_;if(s.slidesPerGroup>1){const O=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/s.slidesPerGroup),x=L*s.slidesPerGroup;for(let M=0;M<O;M+=1)p.push(p[p.length-1]+x)}for(let O=0;O<t.virtual.slidesBefore+t.virtual.slidesAfter;O+=1)s.slidesPerGroup===1&&p.push(p[p.length-1]+L),m.push(m[m.length-1]+L),t.virtualSize+=L}if(p.length===0&&(p=[0]),_!==0){const L=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");u.filter((O,x)=>!s.cssMode||s.loop?!0:x!==u.length-1).forEach(O=>{O.style[L]=`${_}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let L=0;f.forEach(x=>{L+=x+(_||0)}),L-=_;const O=L>r?L-r:0;p=p.map(x=>x<=0?-v:x>O?O+k:x)}if(s.centerInsufficientSlides){let L=0;f.forEach(x=>{L+=x+(_||0)}),L-=_;const O=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(L+O<r){const x=(r-L-O)/2;p.forEach((M,V)=>{p[V]=M-x}),m.forEach((M,V)=>{m[V]=M+x})}}if(Object.assign(t,{slides:u,snapGrid:p,slidesGrid:m,slidesSizesGrid:f}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){Ra(n,"--swiper-centered-offset-before",`${-p[0]}px`),Ra(n,"--swiper-centered-offset-after",`${t.size/2-f[f.length-1]/2}px`);const L=-t.snapGrid[0],O=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+L),t.slidesGrid=t.slidesGrid.map(x=>x+O)}if(b!==c&&t.emit("slidesLengthChange"),p.length!==h&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==g&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!s.cssMode&&(s.effect==="slide"||s.effect==="fade")){const L=`${s.containerModifierClass}backface-hidden`,O=t.el.classList.contains(L);b<=s.maxBackfaceHiddenSlides?O||t.el.classList.add(L):O&&t.el.classList.remove(L)}}function mT(t){const e=this,s=[],n=e.virtual&&e.params.virtual.enabled;let a=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=l=>n?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{s.push(l)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const l=e.activeIndex+r;if(l>e.slides.length&&!n)break;s.push(o(l))}else s.push(o(e.activeIndex));for(r=0;r<s.length;r+=1)if(typeof s[r]<"u"){const l=s[r].offsetHeight;a=l>a?l:a}(a||a===0)&&(e.wrapperEl.style.height=`${a}px`)}function fT(){const t=this,e=t.slides,s=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-s-t.cssOverflowAdjustment()}const Kb=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function vT(t){t===void 0&&(t=this&&this.translate||0);const e=this,s=e.params,{slides:n,rtlTranslate:a,snapGrid:r}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-t;a&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=s.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let d=0;d<n.length;d+=1){const c=n[d];let u=c.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(u-=n[0].swiperSlideOffset);const b=(o+(s.centeredSlides?e.minTranslate():0)-u)/(c.swiperSlideSize+l),p=(o-r[0]+(s.centeredSlides?e.minTranslate():0)-u)/(c.swiperSlideSize+l),m=-(o-u),f=m+e.slidesSizesGrid[d],v=m>=0&&m<=e.size-e.slidesSizesGrid[d],k=m>=0&&m<e.size-1||f>1&&f<=e.size||m<=0&&f>=e.size;k&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(d)),Kb(c,k,s.slideVisibleClass),Kb(c,v,s.slideFullyVisibleClass),c.progress=a?-b:b,c.originalProgress=a?-p:p}}function gT(t){const e=this;if(typeof t>"u"){const u=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*u||0}const s=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:a,isBeginning:r,isEnd:o,progressLoop:l}=e;const d=r,c=o;if(n===0)a=0,r=!0,o=!0;else{a=(t-e.minTranslate())/n;const u=Math.abs(t-e.minTranslate())<1,b=Math.abs(t-e.maxTranslate())<1;r=u||a<=0,o=b||a>=1,u&&(a=0),b&&(a=1)}if(s.loop){const u=e.getSlideIndexByData(0),b=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[u],m=e.slidesGrid[b],f=e.slidesGrid[e.slidesGrid.length-1],v=Math.abs(t);v>=p?l=(v-p)/f:l=(v+f-m)/f,l>1&&(l-=1)}Object.assign(e,{progress:a,progressLoop:l,isBeginning:r,isEnd:o}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&e.updateSlidesProgress(t),r&&!d&&e.emit("reachBeginning toEdge"),o&&!c&&e.emit("reachEnd toEdge"),(d&&!r||c&&!o)&&e.emit("fromEdge"),e.emit("progress",a)}const Go=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function _T(){const t=this,{slides:e,params:s,slidesEl:n,activeIndex:a}=t,r=t.virtual&&s.virtual.enabled,o=t.grid&&s.grid&&s.grid.rows>1,l=b=>ki(n,`.${s.slideClass}${b}, swiper-slide${b}`)[0];let d,c,u;if(r)if(s.loop){let b=a-t.virtual.slidesBefore;b<0&&(b=t.virtual.slides.length+b),b>=t.virtual.slides.length&&(b-=t.virtual.slides.length),d=l(`[data-swiper-slide-index="${b}"]`)}else d=l(`[data-swiper-slide-index="${a}"]`);else o?(d=e.find(b=>b.column===a),u=e.find(b=>b.column===a+1),c=e.find(b=>b.column===a-1)):d=e[a];d&&(o||(u=aT(d,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!u&&(u=e[0]),c=nT(d,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(b=>{Go(b,b===d,s.slideActiveClass),Go(b,b===u,s.slideNextClass),Go(b,b===c,s.slidePrevClass)}),t.emitSlidesClasses()}const Wa=(t,e)=>{if(!t||t.destroyed||!t.params)return;const s=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(s());if(n){let a=n.querySelector(`.${t.params.lazyPreloaderClass}`);!a&&t.isElement&&(n.shadowRoot?a=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(a=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),a&&a.remove())})),a&&a.remove()}},Fo=(t,e)=>{if(!t.slides[e])return;const s=t.slides[e].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},ql=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 n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),a=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=a,l=[o-e];l.push(...Array.from({length:e}).map((d,c)=>o+n+c)),t.slides.forEach((d,c)=>{l.includes(d.column)&&Fo(t,c)});return}const r=a+n-1;if(t.params.rewind||t.params.loop)for(let o=a-e;o<=r+e;o+=1){const l=(o%s+s)%s;(l<a||l>r)&&Fo(t,l)}else for(let o=Math.max(a-e,0);o<=Math.min(r+e,s-1);o+=1)o!==a&&(o>r||o<a)&&Fo(t,o)};function hT(t){const{slidesGrid:e,params:s}=t,n=t.rtlTranslate?t.translate:-t.translate;let a;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?n>=e[r]&&n<e[r+1]-(e[r+1]-e[r])/2?a=r:n>=e[r]&&n<e[r+1]&&(a=r+1):n>=e[r]&&(a=r);return s.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function yT(t){const e=this,s=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:a,activeIndex:r,realIndex:o,snapIndex:l}=e;let d=t,c;const u=m=>{let f=m-e.virtual.slidesBefore;return f<0&&(f=e.virtual.slides.length+f),f>=e.virtual.slides.length&&(f-=e.virtual.slides.length),f};if(typeof d>"u"&&(d=hT(e)),n.indexOf(s)>=0)c=n.indexOf(s);else{const m=Math.min(a.slidesPerGroupSkip,d);c=m+Math.floor((d-m)/a.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),d===r&&!e.params.loop){c!==l&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(d===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(d);return}const b=e.grid&&a.grid&&a.grid.rows>1;let p;if(e.virtual&&a.virtual.enabled&&a.loop)p=u(d);else if(b){const m=e.slides.find(v=>v.column===d);let f=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(f)&&(f=Math.max(e.slides.indexOf(m),0)),p=Math.floor(f/a.grid.rows)}else if(e.slides[d]){const m=e.slides[d].getAttribute("data-swiper-slide-index");m?p=parseInt(m,10):p=d}else p=d;Object.assign(e,{previousSnapIndex:l,snapIndex:c,previousRealIndex:o,realIndex:p,previousIndex:r,activeIndex:d}),e.initialized&&ql(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function kT(t,e){const s=this,n=s.params;let a=t.closest(`.${n.slideClass}, swiper-slide`);!a&&s.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(l=>{!a&&l.matches&&l.matches(`.${n.slideClass}, swiper-slide`)&&(a=l)});let r=!1,o;if(a){for(let l=0;l<s.slides.length;l+=1)if(s.slides[l]===a){r=!0,o=l;break}}if(a&&r)s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=o;else{s.clickedSlide=void 0,s.clickedIndex=void 0;return}n.slideToClickedSlide&&s.clickedIndex!==void 0&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}var wT={updateSize:bT,updateSlides:pT,updateAutoHeight:mT,updateSlidesOffset:fT,updateSlidesProgress:vT,updateProgress:gT,updateSlidesClasses:_T,updateActiveIndex:yT,updateClickedSlide:kT};function ST(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:s,rtlTranslate:n,translate:a,wrapperEl:r}=e;if(s.virtualTranslate)return n?-a:a;if(s.cssMode)return a;let o=tT(r,t);return o+=e.cssOverflowAdjustment(),n&&(o=-o),o||0}function zT(t,e){const s=this,{rtlTranslate:n,params:a,wrapperEl:r,progress:o}=s;let l=0,d=0;const c=0;s.isHorizontal()?l=n?-t:t:d=t,a.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:d,a.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-d:a.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${d}px, ${c}px)`);let u;const b=s.maxTranslate()-s.minTranslate();b===0?u=0:u=(t-s.minTranslate())/b,u!==o&&s.updateProgress(t),s.emit("setTranslate",s.translate,e)}function TT(){return-this.snapGrid[0]}function AT(){return-this.snapGrid[this.snapGrid.length-1]}function PT(t,e,s,n,a){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),s===void 0&&(s=!0),n===void 0&&(n=!0);const r=this,{params:o,wrapperEl:l}=r;if(r.animating&&o.preventInteractionOnTransition)return!1;const d=r.minTranslate(),c=r.maxTranslate();let u;if(n&&t>d?u=d:n&&t<c?u=c:u=t,r.updateProgress(u),o.cssMode){const b=r.isHorizontal();if(e===0)l[b?"scrollLeft":"scrollTop"]=-u;else{if(!r.support.smoothScroll)return Ff({swiper:r,targetPosition:-u,side:b?"left":"top"}),!0;l.scrollTo({[b?"left":"top"]:-u,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(u),s&&(r.emit("beforeTransitionStart",e,a),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(u),s&&(r.emit("beforeTransitionStart",e,a),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 ET={getTranslate:ST,setTranslate:zT,minTranslate:TT,maxTranslate:AT,translateTo:PT};function jT(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 $f(t){let{swiper:e,runCallbacks:s,direction:n,step:a}=t;const{activeIndex:r,previousIndex:o}=e;let l=n;if(l||(r>o?l="next":r<o?l="prev":l="reset"),e.emit(`transition${a}`),s&&r!==o){if(l==="reset"){e.emit(`slideResetTransition${a}`);return}e.emit(`slideChangeTransition${a}`),l==="next"?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`)}}function CT(t,e){t===void 0&&(t=!0);const s=this,{params:n}=s;n.cssMode||(n.autoHeight&&s.updateAutoHeight(),$f({swiper:s,runCallbacks:t,direction:e,step:"Start"}))}function xT(t,e){t===void 0&&(t=!0);const s=this,{params:n}=s;s.animating=!1,!n.cssMode&&(s.setTransition(0),$f({swiper:s,runCallbacks:t,direction:e,step:"End"}))}var MT={setTransition:jT,transitionStart:CT,transitionEnd:xT};function LT(t,e,s,n,a){t===void 0&&(t=0),s===void 0&&(s=!0),typeof t=="string"&&(t=parseInt(t,10));const r=this;let o=t;o<0&&(o=0);const{params:l,snapGrid:d,slidesGrid:c,previousIndex:u,activeIndex:b,rtlTranslate:p,wrapperEl:m,enabled:f}=r;if(!f&&!n&&!a||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=r.params.speed);const v=Math.min(r.params.slidesPerGroupSkip,o);let k=v+Math.floor((o-v)/r.params.slidesPerGroup);k>=d.length&&(k=d.length-1);const h=-d[k];if(l.normalizeSlideIndex)for(let E=0;E<c.length;E+=1){const j=-Math.floor(h*100),z=Math.floor(c[E]*100),L=Math.floor(c[E+1]*100);typeof c[E+1]<"u"?j>=z&&j<L-(L-z)/2?o=E:j>=z&&j<L&&(o=E+1):j>=z&&(o=E)}if(r.initialized&&o!==b&&(!r.allowSlideNext&&(p?h>r.translate&&h>r.minTranslate():h<r.translate&&h<r.minTranslate())||!r.allowSlidePrev&&h>r.translate&&h>r.maxTranslate()&&(b||0)!==o))return!1;o!==(u||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(h);let g;o>b?g="next":o<b?g="prev":g="reset";const _=r.virtual&&r.params.virtual.enabled;if(!(_&&a)&&(p&&-h===r.translate||!p&&h===r.translate))return r.updateActiveIndex(o),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),l.effect!=="slide"&&r.setTranslate(h),g!=="reset"&&(r.transitionStart(s,g),r.transitionEnd(s,g)),!1;if(l.cssMode){const E=r.isHorizontal(),j=p?h:-h;if(e===0)_&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),_&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[E?"scrollLeft":"scrollTop"]=j})):m[E?"scrollLeft":"scrollTop"]=j,_&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return Ff({swiper:r,targetPosition:j,side:E?"left":"top"}),!0;m.scrollTo({[E?"left":"top"]:j,behavior:"smooth"})}return!0}const P=Wf().isSafari;return _&&!a&&P&&r.isElement&&r.virtual.update(!1,!1,o),r.setTransition(e),r.setTranslate(h),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,n),r.transitionStart(s,g),e===0?r.transitionEnd(s,g):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(j){!r||r.destroyed||j.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,g))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function DT(t,e,s,n){t===void 0&&(t=0),s===void 0&&(s=!0),typeof t=="string"&&(t=parseInt(t,10));const a=this;if(a.destroyed)return;typeof e>"u"&&(e=a.params.speed);const r=a.grid&&a.params.grid&&a.params.grid.rows>1;let o=t;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)o=o+a.virtual.slidesBefore;else{let l;if(r){const p=o*a.params.grid.rows;l=a.slides.find(m=>m.getAttribute("data-swiper-slide-index")*1===p).column}else l=a.getSlideIndexByData(o);const d=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:c}=a.params;let u=a.params.slidesPerView;u==="auto"?u=a.slidesPerViewDynamic():(u=Math.ceil(parseFloat(a.params.slidesPerView,10)),c&&u%2===0&&(u=u+1));let b=d-l<u;if(c&&(b=b||l<Math.ceil(u/2)),n&&c&&a.params.slidesPerView!=="auto"&&!r&&(b=!1),b){const p=c?l<a.activeIndex?"prev":"next":l-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:p,slideTo:!0,activeSlideIndex:p==="next"?l+1:l-d+1,slideRealIndex:p==="next"?a.realIndex:void 0})}if(r){const p=o*a.params.grid.rows;o=a.slides.find(m=>m.getAttribute("data-swiper-slide-index")*1===p).column}else o=a.getSlideIndexByData(o)}return requestAnimationFrame(()=>{a.slideTo(o,e,s,n)}),a}function IT(t,e,s){e===void 0&&(e=!0);const n=this,{enabled:a,params:r,animating:o}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let l=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(l=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<r.slidesPerGroupSkip?1:l,c=n.virtual&&r.virtual.enabled;if(r.loop){if(o&&!c&&r.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,s)}),!0}return r.rewind&&n.isEnd?n.slideTo(0,t,e,s):n.slideTo(n.activeIndex+d,t,e,s)}function RT(t,e,s){e===void 0&&(e=!0);const n=this,{params:a,snapGrid:r,slidesGrid:o,rtlTranslate:l,enabled:d,animating:c}=n;if(!d||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const u=n.virtual&&a.virtual.enabled;if(a.loop){if(c&&!u&&a.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const b=l?n.translate:-n.translate;function p(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const m=p(b),f=r.map(g=>p(g)),v=a.freeMode&&a.freeMode.enabled;let k=r[f.indexOf(m)-1];if(typeof k>"u"&&(a.cssMode||v)){let g;r.forEach((_,y)=>{m>=_&&(g=y)}),typeof g<"u"&&(k=v?r[g]:r[g>0?g-1:g])}let h=0;if(typeof k<"u"&&(h=o.indexOf(k),h<0&&(h=n.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(h=h-n.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),a.rewind&&n.isBeginning){const g=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(g,t,e,s)}else if(a.loop&&n.activeIndex===0&&a.cssMode)return requestAnimationFrame(()=>{n.slideTo(h,t,e,s)}),!0;return n.slideTo(h,t,e,s)}function OT(t,e,s){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,s)}function NT(t,e,s,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const a=this;if(a.destroyed)return;typeof t>"u"&&(t=a.params.speed);let r=a.activeIndex;const o=Math.min(a.params.slidesPerGroupSkip,r),l=o+Math.floor((r-o)/a.params.slidesPerGroup),d=a.rtlTranslate?a.translate:-a.translate;if(d>=a.snapGrid[l]){const c=a.snapGrid[l],u=a.snapGrid[l+1];d-c>(u-c)*n&&(r+=a.params.slidesPerGroup)}else{const c=a.snapGrid[l-1],u=a.snapGrid[l];d-c<=(u-c)*n&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,t,e,s)}function BT(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:s}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let a=t.clickedIndex,r;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?a<t.loopedSlides-n/2||a>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),a=t.getSlideIndex(ki(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),da(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-n?(t.loopFix(),a=t.getSlideIndex(ki(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),da(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}var qT={slideTo:LT,slideToLoop:DT,slideNext:IT,slidePrev:RT,slideReset:OT,slideToClosest:NT,slideToClickedSlide:BT};function GT(t){const e=this,{params:s,slidesEl:n}=e;if(!s.loop||e.virtual&&e.params.virtual.enabled)return;const a=()=>{ki(n,`.${s.slideClass}, swiper-slide`).forEach((b,p)=>{b.setAttribute("data-swiper-slide-index",p)})},r=e.grid&&s.grid&&s.grid.rows>1,o=s.slidesPerGroup*(r?s.grid.rows:1),l=e.slides.length%o!==0,d=r&&e.slides.length%s.grid.rows!==0,c=u=>{for(let b=0;b<u;b+=1){const p=e.isElement?kr("swiper-slide",[s.slideBlankClass]):kr("div",[s.slideClass,s.slideBlankClass]);e.slidesEl.append(p)}};if(l){if(s.loopAddBlankSlides){const u=o-e.slides.length%o;c(u),e.recalcSlides(),e.updateSlides()}else yr("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)");a()}else if(d){if(s.loopAddBlankSlides){const u=s.grid.rows-e.slides.length%s.grid.rows;c(u),e.recalcSlides(),e.updateSlides()}else yr("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)");a()}else a();e.loopFix({slideRealIndex:t,direction:s.centeredSlides?void 0:"next"})}function FT(t){let{slideRealIndex:e,slideTo:s=!0,direction:n,setTranslate:a,activeSlideIndex:r,byController:o,byMousewheel:l}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:b,slidesEl:p,params:m}=d,{centeredSlides:f}=m;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&m.virtual.enabled){s&&(!m.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):m.centeredSlides&&d.snapIndex<m.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=u,d.allowSlideNext=b,d.emit("loopFix");return}let v=m.slidesPerView;v==="auto"?v=d.slidesPerViewDynamic():(v=Math.ceil(parseFloat(m.slidesPerView,10)),f&&v%2===0&&(v=v+1));const k=m.slidesPerGroupAuto?v:m.slidesPerGroup;let h=k;h%k!==0&&(h+=k-h%k),h+=m.loopAdditionalSlides,d.loopedSlides=h;const g=d.grid&&m.grid&&m.grid.rows>1;c.length<v+h?yr("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):g&&m.grid.fill==="row"&&yr("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const _=[],y=[];let w=d.activeIndex;typeof r>"u"?r=d.getSlideIndex(c.find(M=>M.classList.contains(m.slideActiveClass))):w=r;const P=n==="next"||!n,E=n==="prev"||!n;let j=0,z=0;const L=g?Math.ceil(c.length/m.grid.rows):c.length,x=(g?c[r].column:r)+(f&&typeof a>"u"?-v/2+.5:0);if(x<h){j=Math.max(h-x,k);for(let M=0;M<h-x;M+=1){const V=M-Math.floor(M/L)*L;if(g){const X=L-V-1;for(let J=c.length-1;J>=0;J-=1)c[J].column===X&&_.push(J)}else _.push(L-V-1)}}else if(x+v>L-h){z=Math.max(x-(L-h*2),k);for(let M=0;M<z;M+=1){const V=M-Math.floor(M/L)*L;g?c.forEach((X,J)=>{X.column===V&&y.push(J)}):y.push(V)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),E&&_.forEach(M=>{c[M].swiperLoopMoveDOM=!0,p.prepend(c[M]),c[M].swiperLoopMoveDOM=!1}),P&&y.forEach(M=>{c[M].swiperLoopMoveDOM=!0,p.append(c[M]),c[M].swiperLoopMoveDOM=!1}),d.recalcSlides(),m.slidesPerView==="auto"?d.updateSlides():g&&(_.length>0&&E||y.length>0&&P)&&d.slides.forEach((M,V)=>{d.grid.updateSlide(V,M,d.slides)}),m.watchSlidesProgress&&d.updateSlidesOffset(),s){if(_.length>0&&E){if(typeof e>"u"){const M=d.slidesGrid[w],X=d.slidesGrid[w+j]-M;l?d.setTranslate(d.translate-X):(d.slideTo(w+Math.ceil(j),0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-X,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-X))}else if(a){const M=g?_.length/m.grid.rows:_.length;d.slideTo(d.activeIndex+M,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(y.length>0&&P)if(typeof e>"u"){const M=d.slidesGrid[w],X=d.slidesGrid[w-z]-M;l?d.setTranslate(d.translate-X):(d.slideTo(w-z,0,!1,!0),a&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-X,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-X))}else{const M=g?y.length/m.grid.rows:y.length;d.slideTo(d.activeIndex-M,0,!1,!0)}}if(d.allowSlidePrev=u,d.allowSlideNext=b,d.controller&&d.controller.control&&!o){const M={slideRealIndex:e,direction:n,setTranslate:a,activeSlideIndex:r,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(V=>{!V.destroyed&&V.params.loop&&V.loopFix({...M,slideTo:V.params.slidesPerView===m.slidesPerView?s:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...M,slideTo:d.controller.control.params.slidesPerView===m.slidesPerView?s:!1})}d.emit("loopFix")}function VT(){const t=this,{params:e,slidesEl:s}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(a=>{const r=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;n[r]=a}),t.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),n.forEach(a=>{s.append(a)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var HT={loopCreate:GT,loopFix:FT,loopDestroy:VT};function UT(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 WT(){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 $T={setGrabCursor:UT,unsetGrabCursor:WT};function KT(t,e){e===void 0&&(e=this);function s(n){if(!n||n===Cs()||n===he())return null;n.assignedSlot&&(n=n.assignedSlot);const a=n.closest(t);return!a&&!n.getRootNode?null:a||s(n.getRootNode().host)}return s(e)}function Xb(t,e,s){const n=he(),{params:a}=t,r=a.edgeSwipeDetection,o=a.edgeSwipeThreshold;return r&&(s<=o||s>=n.innerWidth-o)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function XT(t){const e=this,s=Cs();let n=t;n.originalEvent&&(n=n.originalEvent);const a=e.touchEventsData;if(n.type==="pointerdown"){if(a.pointerId!==null&&a.pointerId!==n.pointerId)return;a.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(a.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Xb(e,n,n.targetTouches[0].pageX);return}const{params:r,touches:o,enabled:l}=e;if(!l||!r.simulateTouch&&n.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let d=n.target;if(r.touchEventsTarget==="wrapper"&&!sT(d,e.wrapperEl)||"which"in n&&n.which===3||"button"in n&&n.button>0||a.isTouched&&a.isMoved)return;const c=!!r.noSwipingClass&&r.noSwipingClass!=="",u=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&u&&(d=u[0]);const b=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(n.target&&n.target.shadowRoot);if(r.noSwiping&&(p?KT(b,d):d.closest(b))){e.allowClick=!0;return}if(r.swipeHandler&&!d.closest(r.swipeHandler))return;o.currentX=n.pageX,o.currentY=n.pageY;const m=o.currentX,f=o.currentY;if(!Xb(e,n,m))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=f,a.touchStartTime=$e(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1);let v=!0;d.matches(a.focusableElements)&&(v=!1,d.nodeName==="SELECT"&&(a.isTouched=!1)),s.activeElement&&s.activeElement.matches(a.focusableElements)&&s.activeElement!==d&&(n.pointerType==="mouse"||n.pointerType!=="mouse"&&!d.matches(a.focusableElements))&&s.activeElement.blur();const k=v&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||k)&&!d.isContentEditable&&n.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function YT(t){const e=Cs(),s=this,n=s.touchEventsData,{params:a,touches:r,rtlTranslate:o,enabled:l}=s;if(!l||!a.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let c;if(d.type==="touchmove"){if(c=[...d.changedTouches].find(w=>w.identifier===n.touchId),!c||c.identifier!==n.touchId)return}else c=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",d);return}const u=c.pageX,b=c.pageY;if(d.preventedByNestedSwiper){r.startX=u,r.startY=b;return}if(!s.allowTouchMove){d.target.matches(n.focusableElements)||(s.allowClick=!1),n.isTouched&&(Object.assign(r,{startX:u,startY:b,currentX:u,currentY:b}),n.touchStartTime=$e());return}if(a.touchReleaseOnEdges&&!a.loop){if(s.isVertical()){if(b<r.startY&&s.translate<=s.maxTranslate()||b>r.startY&&s.translate>=s.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(u<r.startX&&s.translate<=s.maxTranslate()||u>r.startX&&s.translate>=s.minTranslate())return}if(e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==d.target&&d.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,s.allowClick=!1;return}n.allowTouchCallbacks&&s.emit("touchMove",d),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=u,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 n.isScrolling>"u"){let w;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:p*p+m*m>=25&&(w=Math.atan2(Math.abs(m),Math.abs(p))*180/Math.PI,n.isScrolling=s.isHorizontal()?w>a.touchAngle:90-w>a.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",d),typeof n.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(n.startMoving=!0),n.isScrolling||d.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;s.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let f=s.isHorizontal()?p:m,v=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(f=Math.abs(f)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),r.diff=f,f*=a.touchRatio,o&&(f=-f,v=-v);const k=s.touchesDirection;s.swipeDirection=f>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const h=s.params.loop&&!a.cssMode,g=s.touchesDirection==="next"&&s.allowSlideNext||s.touchesDirection==="prev"&&s.allowSlidePrev;if(!n.isMoved){if(h&&g&&s.loopFix({direction:s.swipeDirection}),n.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)}n.allowMomentumBounce=!1,a.grabCursor&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",d)}if(new Date().getTime(),a._loopSwapReset!==!1&&n.isMoved&&n.allowThresholdMove&&k!==s.touchesDirection&&h&&g&&Math.abs(f)>=1){Object.assign(r,{startX:u,startY:b,currentX:u,currentY:b,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}s.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=f+n.startTranslate;let _=!0,y=a.resistanceRatio;if(a.touchReleaseOnEdges&&(y=0),f>0?(h&&g&&n.allowThresholdMove&&n.currentTranslate>(a.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-(a.slidesPerView!=="auto"&&s.slides.length-a.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>s.minTranslate()&&(_=!1,a.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+f)**y))):f<0&&(h&&g&&n.allowThresholdMove&&n.currentTranslate<(a.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+(a.slidesPerView!=="auto"&&s.slides.length-a.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-(a.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),n.currentTranslate<s.maxTranslate()&&(_=!1,a.resistance&&(n.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-n.startTranslate-f)**y))),_&&(d.preventedByNestedSwiper=!0),!s.allowSlideNext&&s.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!s.allowSlidePrev&&s.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!s.allowSlidePrev&&!s.allowSlideNext&&(n.currentTranslate=n.startTranslate),a.threshold>0)if(Math.abs(f)>a.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{n.currentTranslate=n.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&s.freeMode||a.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}function ZT(t){const e=this,s=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let a;if(n.type==="touchend"||n.type==="touchcancel"){if(a=[...n.changedTouches].find(w=>w.identifier===s.touchId),!a||a.identifier!==s.touchId)return}else{if(s.touchId!==null||n.pointerId!==s.pointerId)return;a=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;s.pointerId=null,s.touchId=null;const{params:o,touches:l,rtlTranslate:d,slidesGrid:c,enabled:u}=e;if(!u||!o.simulateTouch&&n.pointerType==="mouse")return;if(s.allowTouchCallbacks&&e.emit("touchEnd",n),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=$e(),p=b-s.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),p<300&&b-s.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(s.lastClickTime=$e(),da(()=>{e.destroyed||(e.allowClick=!0)}),!s.isTouched||!s.isMoved||!e.swipeDirection||l.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=d?e.translate:-e.translate:m=-s.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const f=m>=-e.maxTranslate()&&!e.params.loop;let v=0,k=e.slidesSizesGrid[0];for(let w=0;w<c.length;w+=w<o.slidesPerGroupSkip?1:o.slidesPerGroup){const P=w<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;typeof c[w+P]<"u"?(f||m>=c[w]&&m<c[w+P])&&(v=w,k=c[w+P]-c[w]):(f||m>=c[w])&&(v=w,k=c[c.length-1]-c[c.length-2])}let h=null,g=null;o.rewind&&(e.isBeginning?g=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(h=0));const _=(m-c[v])/k,y=v<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?h:v+y):e.slideTo(v)),e.swipeDirection==="prev"&&(_>1-o.longSwipesRatio?e.slideTo(v+y):g!==null&&_<0&&Math.abs(_)>o.longSwipesRatio?e.slideTo(g):e.slideTo(v))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(v+y):e.slideTo(v):(e.swipeDirection==="next"&&e.slideTo(h!==null?h:v+y),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:v))}}function Yb(){const t=this,{params:e,el:s}=t;if(s&&s.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:a,snapGrid:r}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const l=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!l?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=a,t.allowSlideNext=n,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function QT(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function JT(){const t=this,{wrapperEl:e,rtlTranslate:s,enabled:n}=t;if(!n)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 a;const r=t.maxTranslate()-t.minTranslate();r===0?a=0:a=(t.translate-t.minTranslate())/r,a!==t.progress&&t.updateProgress(s?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function tA(t){const e=this;Wa(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function eA(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const Kf=(t,e)=>{const s=Cs(),{params:n,el:a,wrapperEl:r,device:o}=t,l=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",c=e;!a||typeof a=="string"||(s[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:l}),a[d]("touchstart",t.onTouchStart,{passive:!1}),a[d]("pointerdown",t.onTouchStart,{passive:!1}),s[d]("touchmove",t.onTouchMove,{passive:!1,capture:l}),s[d]("pointermove",t.onTouchMove,{passive:!1,capture:l}),s[d]("touchend",t.onTouchEnd,{passive:!0}),s[d]("pointerup",t.onTouchEnd,{passive:!0}),s[d]("pointercancel",t.onTouchEnd,{passive:!0}),s[d]("touchcancel",t.onTouchEnd,{passive:!0}),s[d]("pointerout",t.onTouchEnd,{passive:!0}),s[d]("pointerleave",t.onTouchEnd,{passive:!0}),s[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&a[d]("click",t.onClick,!0),n.cssMode&&r[d]("scroll",t.onScroll),n.updateOnWindowResize?t[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Yb,!0):t[c]("observerUpdate",Yb,!0),a[d]("load",t.onLoad,{capture:!0}))};function iA(){const t=this,{params:e}=t;t.onTouchStart=XT.bind(t),t.onTouchMove=YT.bind(t),t.onTouchEnd=ZT.bind(t),t.onDocumentTouchStart=eA.bind(t),e.cssMode&&(t.onScroll=JT.bind(t)),t.onClick=QT.bind(t),t.onLoad=tA.bind(t),Kf(t,"on")}function sA(){Kf(this,"off")}var nA={attachEvents:iA,detachEvents:sA};const Zb=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function aA(){const t=this,{realIndex:e,initialized:s,params:n,el:a}=t,r=n.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const o=Cs(),l=n.breakpointsBase==="window"||!n.breakpointsBase?n.breakpointsBase:"container",d=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?t.el:o.querySelector(n.breakpointsBase),c=t.getBreakpoint(r,l,d);if(!c||t.currentBreakpoint===c)return;const b=(c in r?r[c]:void 0)||t.originalParams,p=Zb(t,n),m=Zb(t,b),f=t.params.grabCursor,v=b.grabCursor,k=n.enabled;p&&!m?(a.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!p&&m&&(a.classList.add(`${n.containerModifierClass}grid`),(b.grid.fill&&b.grid.fill==="column"||!b.grid.fill&&n.grid.fill==="column")&&a.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),f&&!v?t.unsetGrabCursor():!f&&v&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(P=>{if(typeof b[P]>"u")return;const E=n[P]&&n[P].enabled,j=b[P]&&b[P].enabled;E&&!j&&t[P].disable(),!E&&j&&t[P].enable()});const h=b.direction&&b.direction!==n.direction,g=n.loop&&(b.slidesPerView!==n.slidesPerView||h),_=n.loop;h&&s&&t.changeDirection(),Ge(t.params,b);const y=t.params.enabled,w=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),k&&!y?t.disable():!k&&y&&t.enable(),t.currentBreakpoint=c,t.emit("_beforeBreakpoint",b),s&&(g?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!_&&w?(t.loopCreate(e),t.updateSlides()):_&&!w&&t.loopDestroy()),t.emit("breakpoint",b)}function rA(t,e,s){if(e===void 0&&(e="window"),!t||e==="container"&&!s)return;let n=!1;const a=he(),r=e==="window"?a.innerHeight:s.clientHeight,o=Object.keys(t).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const d=parseFloat(l.substr(1));return{value:r*d,point:l}}return{value:l,point:l}});o.sort((l,d)=>parseInt(l.value,10)-parseInt(d.value,10));for(let l=0;l<o.length;l+=1){const{point:d,value:c}=o[l];e==="window"?a.matchMedia(`(min-width: ${c}px)`).matches&&(n=d):c<=s.clientWidth&&(n=d)}return n||"max"}var oA={setBreakpoint:aA,getBreakpoint:rA};function lA(t,e){const s=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(a=>{n[a]&&s.push(e+a)}):typeof n=="string"&&s.push(e+n)}),s}function dA(){const t=this,{classNames:e,params:s,rtl:n,el:a,device:r}=t,o=lA(["initialized",s.direction,{"free-mode":t.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:n},{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),a.classList.add(...e),t.emitContainerClasses()}function uA(){const t=this,{el:e,classNames:s}=t;!e||typeof e=="string"||(e.classList.remove(...s),t.emitContainerClasses())}var cA={addClasses:dA,removeClasses:uA};function bA(){const t=this,{isLocked:e,params:s}=t,{slidesOffsetBefore:n}=s;if(n){const a=t.slides.length-1,r=t.slidesGrid[a]+t.slidesSizesGrid[a]+n*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 pA={checkOverflow:bA},Gl={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 mA(t,e){return function(n){n===void 0&&(n={});const a=Object.keys(n)[0],r=n[a];if(typeof r!="object"||r===null){Ge(e,n);return}if(t[a]===!0&&(t[a]={enabled:!0}),a==="navigation"&&t[a]&&t[a].enabled&&!t[a].prevEl&&!t[a].nextEl&&(t[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&t[a]&&t[a].enabled&&!t[a].el&&(t[a].auto=!0),!(a in t&&"enabled"in r)){Ge(e,n);return}typeof t[a]=="object"&&!("enabled"in t[a])&&(t[a].enabled=!0),t[a]||(t[a]={enabled:!1}),Ge(e,n)}}const Vo={eventsEmitter:cT,update:wT,translate:ET,transition:MT,slide:qT,loop:HT,grabCursor:$T,events:nA,breakpoints:oA,checkOverflow:pA,classes:cA},Ho={};let so=class Ei{constructor(){let e,s;for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];a.length===1&&a[0].constructor&&Object.prototype.toString.call(a[0]).slice(8,-1)==="Object"?s=a[0]:[e,s]=a,s||(s={}),s=Ge({},s),e&&!s.el&&(s.el=e);const o=Cs();if(s.el&&typeof s.el=="string"&&o.querySelectorAll(s.el).length>1){const u=[];return o.querySelectorAll(s.el).forEach(b=>{const p=Ge({},s,{el:b});u.push(new Ei(p))}),u}const l=this;l.__swiper__=!0,l.support=Hf(),l.device=Uf({userAgent:s.userAgent}),l.browser=Wf(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],s.modules&&Array.isArray(s.modules)&&l.modules.push(...s.modules);const d={};l.modules.forEach(u=>{u({params:s,swiper:l,extendParams:mA(s,d),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const c=Ge({},Gl,d);return l.params=Ge({},c,Ho,s),l.originalParams=Ge({},l.params),l.passedParams=Ge({},s),l.params&&l.params.on&&Object.keys(l.params.on).forEach(u=>{l.on(u,l.params.on[u])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.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:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}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:n}=this,a=ki(s,`.${n.slideClass}, swiper-slide`),r=wr(a[0]);return wr(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(s=>s.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:s,params:n}=e;e.slides=ki(s,`.${n.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 n=this;e=Math.min(Math.max(e,0),1);const a=n.minTranslate(),o=(n.maxTranslate()-a)*e+a;n.translateTo(o,typeof s>"u"?0:s),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",s.join(" "))}getSlideClasses(e){const s=this;return s.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(s.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=[];e.slides.forEach(n=>{const a=e.getSlideClasses(n);s.push({slideEl:n,classNames:a}),e.emit("_slideClass",n,a)}),e.emit("_slideClasses",s)}slidesPerViewDynamic(e,s){e===void 0&&(e="current"),s===void 0&&(s=!1);const n=this,{params:a,slides:r,slidesGrid:o,slidesSizesGrid:l,size:d,activeIndex:c}=n;let u=1;if(typeof a.slidesPerView=="number")return a.slidesPerView;if(a.centeredSlides){let b=r[c]?Math.ceil(r[c].swiperSlideSize):0,p;for(let m=c+1;m<r.length;m+=1)r[m]&&!p&&(b+=Math.ceil(r[m].swiperSlideSize),u+=1,b>d&&(p=!0));for(let m=c-1;m>=0;m-=1)r[m]&&!p&&(b+=r[m].swiperSlideSize,u+=1,b>d&&(p=!0))}else if(e==="current")for(let b=c+1;b<r.length;b+=1)(s?o[b]+l[b]-o[c]<d:o[b]-o[c]<d)&&(u+=1);else for(let b=c-1;b>=0;b-=1)o[c]-o[b]<d&&(u+=1);return u}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:s,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(o=>{o.complete&&Wa(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function a(){const o=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)a(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const o=e.virtual&&n.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||a()}n.watchOverflow&&s!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,s){s===void 0&&(s=!0);const n=this,a=n.params.direction;return e||(e=a==="horizontal"?"vertical":"horizontal"),e===a||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${a}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),n.emit("changeDirection"),s&&n.update()),n}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 n=e||s.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=s,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===s.params.swiperElementNodeName.toUpperCase()&&(s.isElement=!0);const a=()=>`.${(s.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(a()):ki(n,a())[0];return!o&&s.params.createElements&&(o=kr("div",s.params.wrapperClass),n.append(o),ki(n,`.${s.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(s,{el:n,wrapperEl:o,slidesEl:s.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:s.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Yi(n,"direction")==="rtl",rtlTranslate:s.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Yi(n,"direction")==="rtl"),wrongRTL:Yi(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(),s.attachEvents();const a=[...s.el.querySelectorAll('[loading="lazy"]')];return s.isElement&&a.push(...s.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(r=>{r.complete?Wa(s,r):r.addEventListener("load",o=>{Wa(s,o.target)})}),ql(s),s.initialized=!0,ql(s),s.emit("init"),s.emit("afterInit"),s}destroy(e,s){e===void 0&&(e=!0),s===void 0&&(s=!0);const n=this,{params:a,el:r,wrapperEl:o,slides:l}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),s&&(n.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),o&&o.removeAttribute("style"),l&&l.length&&l.forEach(d=>{d.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),Q1(n)),n.destroyed=!0),null}static extendDefaults(e){Ge(Ho,e)}static get extendedDefaults(){return Ho}static get defaults(){return Gl}static installModule(e){Ei.prototype.__modules__||(Ei.prototype.__modules__=[]);const s=Ei.prototype.__modules__;typeof e=="function"&&s.indexOf(e)<0&&s.push(e)}static use(e){return Array.isArray(e)?(e.forEach(s=>Ei.installModule(s)),Ei):(Ei.installModule(e),Ei)}};Object.keys(Vo).forEach(t=>{Object.keys(Vo[t]).forEach(e=>{so.prototype[e]=Vo[t][e]})});so.use([dT,uT]);const Xf=["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 Es(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Zs(t,e){const s=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>s.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Es(e[n])&&Es(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Zs(t[n],e[n]):t[n]=e[n]})}function Yf(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Zf(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function Qf(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Jf(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),s=[];return e.forEach(n=>{s.indexOf(n)<0&&s.push(n)}),s.join(" ")}function fA(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function vA(t){let{swiper:e,slides:s,passedParams:n,changedParams:a,nextEl:r,prevEl:o,scrollbarEl:l,paginationEl:d}=t;const c=a.filter(z=>z!=="children"&&z!=="direction"&&z!=="wrapperClass"),{params:u,pagination:b,navigation:p,scrollbar:m,virtual:f,thumbs:v}=e;let k,h,g,_,y,w,P,E;a.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(k=!0),a.includes("controller")&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(h=!0),a.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(u.pagination||u.pagination===!1)&&b&&!b.el&&(g=!0),a.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||l)&&(u.scrollbar||u.scrollbar===!1)&&m&&!m.el&&(_=!0),a.includes("navigation")&&n.navigation&&(n.navigation.prevEl||o)&&(n.navigation.nextEl||r)&&(u.navigation||u.navigation===!1)&&p&&!p.prevEl&&!p.nextEl&&(y=!0);const j=z=>{e[z]&&(e[z].destroy(),z==="navigation"?(e.isElement&&(e[z].prevEl.remove(),e[z].nextEl.remove()),u[z].prevEl=void 0,u[z].nextEl=void 0,e[z].prevEl=void 0,e[z].nextEl=void 0):(e.isElement&&e[z].el.remove(),u[z].el=void 0,e[z].el=void 0))};a.includes("loop")&&e.isElement&&(u.loop&&!n.loop?w=!0:!u.loop&&n.loop?P=!0:E=!0),c.forEach(z=>{if(Es(u[z])&&Es(n[z]))Object.assign(u[z],n[z]),(z==="navigation"||z==="pagination"||z==="scrollbar")&&"enabled"in n[z]&&!n[z].enabled&&j(z);else{const L=n[z];(L===!0||L===!1)&&(z==="navigation"||z==="pagination"||z==="scrollbar")?L===!1&&j(z):u[z]=n[z]}}),c.includes("controller")&&!h&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),a.includes("children")&&s&&f&&u.virtual.enabled?(f.slides=s,f.update(!0)):a.includes("virtual")&&f&&u.virtual.enabled&&(s&&(f.slides=s),f.update(!0)),a.includes("children")&&s&&u.loop&&(E=!0),k&&v.init()&&v.update(!0),h&&(e.controller.control=u.controller.control),g&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(u.pagination.el=d),b.init(),b.render(),b.update()),_&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),e.el.appendChild(l)),l&&(u.scrollbar.el=l),m.init(),m.updateSize(),m.setTranslate()),y&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=e.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),e.el.appendChild(o))),r&&(u.navigation.nextEl=r),o&&(u.navigation.prevEl=o),p.init(),p.update()),a.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),a.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),a.includes("direction")&&e.changeDirection(n.direction,!1),(w||E)&&e.loopDestroy(),(P||E)&&e.loopCreate(),e.update()}function Qb(t,e){t===void 0&&(t={});const s={on:{}},n={},a={};Zs(s,Gl),s._emitClasses=!0,s.init=!1;const r={},o=Xf.map(d=>d.replace(/_/,"")),l=Object.assign({},t);return Object.keys(l).forEach(d=>{typeof t[d]>"u"||(o.indexOf(d)>=0?Es(t[d])?(s[d]={},a[d]={},Zs(s[d],t[d]),Zs(a[d],t[d])):(s[d]=t[d],a[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?s.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:r[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{s[d]===!0&&(s[d]={}),s[d]===!1&&delete s[d]}),{params:s,passedParams:a,rest:r,events:n}}function gA(t,e){let{el:s,nextEl:n,prevEl:a,paginationEl:r,scrollbarEl:o,swiper:l}=t;Yf(e)&&n&&a&&(l.params.navigation.nextEl=n,l.originalParams.navigation.nextEl=n,l.params.navigation.prevEl=a,l.originalParams.navigation.prevEl=a),Zf(e)&&r&&(l.params.pagination.el=r,l.originalParams.pagination.el=r),Qf(e)&&o&&(l.params.scrollbar.el=o,l.originalParams.scrollbar.el=o),l.init(s)}function _A(t,e,s,n,a){const r=[];if(!e)return r;const o=d=>{r.indexOf(d)<0&&r.push(d)};if(s&&n){const d=n.map(a),c=s.map(a);d.join("")!==c.join("")&&o("children"),n.length!==s.length&&o("children")}return Xf.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(Es(t[d])&&Es(e[d])){const c=Object.keys(t[d]),u=Object.keys(e[d]);c.length!==u.length?o(d):(c.forEach(b=>{t[d][b]!==e[d][b]&&o(d)}),u.forEach(b=>{t[d][b]!==e[d][b]&&o(d)}))}else t[d]!==e[d]&&o(d)}),r}const hA=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Uo(t,e,s){t===void 0&&(t={});const n=[],a={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},r=(o,l)=>{Array.isArray(o)&&o.forEach(d=>{const c=typeof d.type=="symbol";l==="default"&&(l="container-end"),c&&d.children?r(d.children,l):d.type&&(d.type.name==="SwiperSlide"||d.type.name==="AsyncComponentWrapper")||d.componentOptions&&d.componentOptions.tag==="SwiperSlide"?n.push(d):a[l]&&a[l].push(d)})};return Object.keys(t).forEach(o=>{if(typeof t[o]!="function")return;const l=t[o]();r(l,o)}),s.value=e.value,e.value=n,{slides:n,slots:a}}function yA(t,e,s){if(!s)return null;const n=u=>{let b=u;return u<0?b=e.length+u:b>=e.length&&(b=b-e.length),b},a=t.value.isHorizontal()?{[t.value.rtlTranslate?"right":"left"]:`${s.offset}px`}:{top:`${s.offset}px`},{from:r,to:o}=s,l=t.value.params.loop?-e.length:0,d=t.value.params.loop?e.length*2:e.length,c=[];for(let u=l;u<d;u+=1)u>=r&&u<=o&&c.length<e.length&&c.push(e[n(u)]);return c.map(u=>{if(u.props||(u.props={}),u.props.style||(u.props.style={}),u.props.swiperRef=t,u.props.style=a,u.type)return Ht(u.type,{...u.props},u.children);if(u.componentOptions)return Ht(u.componentOptions.Ctor,{...u.props},u.componentOptions.children)})}const kA={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},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","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,e){let{slots:s,emit:n}=e;const{tag:a,wrapperTag:r}=t,o=st("swiper"),l=st(null),d=st(!1),c=st(!1),u=st(null),b=st(null),p=st(null),m={value:[]},f={value:[]},v=st(null),k=st(null),h=st(null),g=st(null),{params:_,passedParams:y}=Qb(t);Uo(s,m,f),p.value=y,f.value=m.value;const w=()=>{Uo(s,m,f),d.value=!0};_.onAny=function(j){for(var z=arguments.length,L=new Array(z>1?z-1:0),O=1;O<z;O++)L[O-1]=arguments[O];n(j,...L)},Object.assign(_.on,{_beforeBreakpoint:w,_containerClasses(j,z){o.value=z}});const P={..._};if(delete P.wrapperClass,b.value=new so(P),b.value.virtual&&b.value.params.virtual.enabled){b.value.virtual.slides=m.value;const j={cache:!1,slides:m.value,renderExternal:z=>{l.value=z},renderExternalUpdate:!1};Zs(b.value.params.virtual,j),Zs(b.value.originalParams.virtual,j)}Ir(()=>{!c.value&&b.value&&(b.value.emitSlidesClasses(),c.value=!0);const{passedParams:j}=Qb(t),z=_A(j,p.value,m.value,f.value,L=>L.props&&L.props.key);p.value=j,(z.length||d.value)&&b.value&&!b.value.destroyed&&vA({swiper:b.value,slides:m.value,passedParams:j,changedParams:z,nextEl:v.value,prevEl:k.value,scrollbarEl:g.value,paginationEl:h.value}),d.value=!1}),je("swiper",b),ht(l,()=>{oi(()=>{hA(b.value)})}),li(()=>{u.value&&(gA({el:u.value,nextEl:v.value,prevEl:k.value,paginationEl:h.value,scrollbarEl:g.value,swiper:b.value},_),n("swiper",b.value))}),di(()=>{b.value&&!b.value.destroyed&&b.value.destroy(!0,!1)});function E(j){return _.virtual?yA(b,j,l.value):(j.forEach((z,L)=>{z.props||(z.props={}),z.props.swiperRef=b,z.props.swiperSlideIndex=L}),j)}return()=>{const{slides:j,slots:z}=Uo(s,m,f);return Ht(a,{ref:u,class:Jf(o.value)},[z["container-start"],Ht(r,{class:fA(_.wrapperClass)},[z["wrapper-start"],E(j),z["wrapper-end"]]),Yf(t)&&[Ht("div",{ref:k,class:"swiper-button-prev"}),Ht("div",{ref:v,class:"swiper-button-next"})],Qf(t)&&Ht("div",{ref:g,class:"swiper-scrollbar"}),Zf(t)&&Ht("div",{ref:h,class:"swiper-pagination"}),z["container-end"]])}}},wA={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,e){let{slots:s}=e,n=!1;const{swiperRef:a}=t,r=st(null),o=st("swiper-slide"),l=st(!1);function d(b,p,m){p===r.value&&(o.value=m)}li(()=>{!a||!a.value||(a.value.on("_slideClass",d),n=!0)}),sd(()=>{n||!a||!a.value||(a.value.on("_slideClass",d),n=!0)}),Ir(()=>{!r.value||!a||!a.value||(typeof t.swiperSlideIndex<"u"&&(r.value.swiperSlideIndex=t.swiperSlideIndex),a.value.destroyed&&o.value!=="swiper-slide"&&(o.value="swiper-slide"))}),di(()=>{!a||!a.value||a.value.off("_slideClass",d)});const c=F(()=>({isActive:o.value.indexOf("swiper-slide-active")>=0,isVisible:o.value.indexOf("swiper-slide-visible")>=0,isPrev:o.value.indexOf("swiper-slide-prev")>=0,isNext:o.value.indexOf("swiper-slide-next")>=0}));je("swiperSlide",c);const u=()=>{l.value=!0};return()=>Ht(t.tag,{class:Jf(`${o.value}`),ref:r,"data-swiper-slide-index":typeof t.virtualIndex>"u"&&a&&a.value&&a.value.params.loop?t.swiperSlideIndex:t.virtualIndex,onLoadCapture:u},t.zoom?Ht("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof t.zoom=="number"?t.zoom:void 0},[s.default&&s.default(c.value),t.lazy&&!l.value&&Ht("div",{class:"swiper-lazy-preloader"})]):[s.default&&s.default(c.value),t.lazy&&!l.value&&Ht("div",{class:"swiper-lazy-preloader"})])}};function SA(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;const r=he();s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let o,l=$e(),d;const c=[];function u(_){let E=0,j=0,z=0,L=0;return"detail"in _&&(j=_.detail),"wheelDelta"in _&&(j=-_.wheelDelta/120),"wheelDeltaY"in _&&(j=-_.wheelDeltaY/120),"wheelDeltaX"in _&&(E=-_.wheelDeltaX/120),"axis"in _&&_.axis===_.HORIZONTAL_AXIS&&(E=j,j=0),z=E*10,L=j*10,"deltaY"in _&&(L=_.deltaY),"deltaX"in _&&(z=_.deltaX),_.shiftKey&&!z&&(z=L,L=0),(z||L)&&_.deltaMode&&(_.deltaMode===1?(z*=40,L*=40):(z*=800,L*=800)),z&&!E&&(E=z<1?-1:1),L&&!j&&(j=L<1?-1:1),{spinX:E,spinY:j,pixelX:z,pixelY:L}}function b(){e.enabled&&(e.mouseEntered=!0)}function p(){e.enabled&&(e.mouseEntered=!1)}function m(_){return e.params.mousewheel.thresholdDelta&&_.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&$e()-l<e.params.mousewheel.thresholdTime?!1:_.delta>=6&&$e()-l<60?!0:(_.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),a("scroll",_.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),a("scroll",_.raw)),l=new r.Date().getTime(),!1)}function f(_){const y=e.params.mousewheel;if(_.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function v(_){let y=_,w=!0;if(!e.enabled||_.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget));const j=E&&E.contains(y.target);if(!e.mouseEntered&&!j&&!P.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let z=0;const L=e.rtlTranslate?-1:1,O=u(y);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(O.pixelX)>Math.abs(O.pixelY))z=-O.pixelX*L;else return!0;else if(Math.abs(O.pixelY)>Math.abs(O.pixelX))z=-O.pixelY;else return!0;else z=Math.abs(O.pixelX)>Math.abs(O.pixelY)?-O.pixelX*L:-O.pixelY;if(z===0)return!0;P.invert&&(z=-z);let x=e.getTranslate()+z*P.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),w=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),w&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const M={time:$e(),delta:Math.abs(z),direction:Math.sign(z),raw:_};c.length>=2&&c.shift();const V=c.length?c[c.length-1]:void 0;if(c.push(M),V?(M.direction!==V.direction||M.delta>V.delta||M.time>V.time+150)&&m(M):m(M),f(M))return!0}else{const M={time:$e(),delta:Math.abs(z),direction:Math.sign(z)},V=d&&M.time<d.time+500&&M.delta<=d.delta&&M.direction===d.direction;if(!V){d=void 0;let X=e.getTranslate()+z*P.sensitivity;const J=e.isBeginning,dt=e.isEnd;if(X>=e.minTranslate()&&(X=e.minTranslate()),X<=e.maxTranslate()&&(X=e.maxTranslate()),e.setTransition(0),e.setTranslate(X),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!J&&e.isBeginning||!dt&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:M.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const at=c.length?c[c.length-1]:void 0,_t=c[0];if(c.push(M),at&&(M.delta>at.delta||M.direction!==at.direction))c.splice(0);else if(c.length>=15&&M.time-_t.time<500&&_t.delta-M.delta>=1&&M.delta<=6){const Et=z>0?.8:.2;d=M,c.splice(0),o=da(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,Et)},0)}o||(o=da(()=>{if(e.destroyed||!e.params)return;const Et=.5;d=M,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,Et)},500))}if(V||a("scroll",y),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(X===e.minTranslate()||X===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function k(_){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[_]("mouseenter",b),y[_]("mouseleave",p),y[_]("wheel",v)}function h(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",v),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,v),!0):e.mousewheel.enabled?(k("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&h()}),n("destroy",()=>{e.params.cssMode&&h(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:h,disable:g})}function t2(t,e,s,n){return t.params.createElements&&Object.keys(n).forEach(a=>{if(!s[a]&&s.auto===!0){let r=ki(t.el,`.${n[a]}`)[0];r||(r=kr("div",n[a]),r.className=n[a],t.el.append(r)),s[a]=r,e[a]=r}}),s}function zA(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function r(f){let v;return f&&typeof f=="string"&&e.isElement&&(v=e.el.querySelector(f)||e.hostEl.querySelector(f),v)?v:(f&&(typeof f=="string"&&(v=[...document.querySelectorAll(f)]),e.params.uniqueNavElements&&typeof f=="string"&&v&&v.length>1&&e.el.querySelectorAll(f).length===1?v=e.el.querySelector(f):v&&v.length===1&&(v=v[0])),f&&!v?f:v)}function o(f,v){const k=e.params.navigation;f=ie(f),f.forEach(h=>{h&&(h.classList[v?"add":"remove"](...k.disabledClass.split(" ")),h.tagName==="BUTTON"&&(h.disabled=v),e.params.watchOverflow&&e.enabled&&h.classList[e.isLocked?"add":"remove"](k.lockClass))})}function l(){const{nextEl:f,prevEl:v}=e.navigation;if(e.params.loop){o(v,!1),o(f,!1);return}o(v,e.isBeginning&&!e.params.rewind),o(f,e.isEnd&&!e.params.rewind)}function d(f){f.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),a("navigationPrev"))}function c(f){f.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),a("navigationNext"))}function u(){const f=e.params.navigation;if(e.params.navigation=t2(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(f.nextEl||f.prevEl))return;let v=r(f.nextEl),k=r(f.prevEl);Object.assign(e.navigation,{nextEl:v,prevEl:k}),v=ie(v),k=ie(k);const h=(g,_)=>{g&&g.addEventListener("click",_==="next"?c:d),!e.enabled&&g&&g.classList.add(...f.lockClass.split(" "))};v.forEach(g=>h(g,"next")),k.forEach(g=>h(g,"prev"))}function b(){let{nextEl:f,prevEl:v}=e.navigation;f=ie(f),v=ie(v);const k=(h,g)=>{h.removeEventListener("click",g==="next"?c:d),h.classList.remove(...e.params.navigation.disabledClass.split(" "))};f.forEach(h=>k(h,"next")),v.forEach(h=>k(h,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?m():(u(),l())}),n("toEdge fromEdge lock unlock",()=>{l()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{nextEl:f,prevEl:v}=e.navigation;if(f=ie(f),v=ie(v),e.enabled){l();return}[...f,...v].filter(k=>!!k).forEach(k=>k.classList.add(e.params.navigation.lockClass))}),n("click",(f,v)=>{let{nextEl:k,prevEl:h}=e.navigation;k=ie(k),h=ie(h);const g=v.target;let _=h.includes(g)||k.includes(g);if(e.isElement&&!_){const y=v.path||v.composedPath&&v.composedPath();y&&(_=y.find(w=>k.includes(w)||h.includes(w)))}if(e.params.navigation.hideOnClick&&!_){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===g||e.pagination.el.contains(g)))return;let y;k.length?y=k[0].classList.contains(e.params.navigation.hiddenClass):h.length&&(y=h[0].classList.contains(e.params.navigation.hiddenClass)),a(y===!0?"navigationShow":"navigationHide"),[...k,...h].filter(w=>!!w).forEach(w=>w.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),l()},m=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),b()};Object.assign(e.navigation,{enable:p,disable:m,update:l,init:u,destroy:b})}function zn(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function TA(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;const r="swiper-pagination";s({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:g=>g,formatFractionTotal:g=>g,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let o,l=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(g,_){const{bulletActiveClass:y}=e.params.pagination;g&&(g=g[`${_==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${y}-${_}`),g=g[`${_==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${y}-${_}-${_}`)))}function u(g,_,y){if(g=g%y,_=_%y,_===g+1)return"next";if(_===g-1)return"previous"}function b(g){const _=g.target.closest(zn(e.params.pagination.bulletClass));if(!_)return;g.preventDefault();const y=wr(_)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const w=u(e.realIndex,y,e.slides.length);w==="next"?e.slideNext():w==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function p(){const g=e.rtl,_=e.params.pagination;if(d())return;let y=e.pagination.el;y=ie(y);let w,P;const E=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,j=e.params.loop?Math.ceil(E/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(P=e.previousRealIndex||0,w=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(w=e.snapIndex,P=e.previousSnapIndex):(P=e.previousIndex||0,w=e.activeIndex||0),_.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const z=e.pagination.bullets;let L,O,x;if(_.dynamicBullets&&(o=Bl(z[0],e.isHorizontal()?"width":"height"),y.forEach(M=>{M.style[e.isHorizontal()?"width":"height"]=`${o*(_.dynamicMainBullets+4)}px`}),_.dynamicMainBullets>1&&P!==void 0&&(l+=w-(P||0),l>_.dynamicMainBullets-1?l=_.dynamicMainBullets-1:l<0&&(l=0)),L=Math.max(w-l,0),O=L+(Math.min(z.length,_.dynamicMainBullets)-1),x=(O+L)/2),z.forEach(M=>{const V=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(X=>`${_.bulletActiveClass}${X}`)].map(X=>typeof X=="string"&&X.includes(" ")?X.split(" "):X).flat();M.classList.remove(...V)}),y.length>1)z.forEach(M=>{const V=wr(M);V===w?M.classList.add(..._.bulletActiveClass.split(" ")):e.isElement&&M.setAttribute("part","bullet"),_.dynamicBullets&&(V>=L&&V<=O&&M.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),V===L&&c(M,"prev"),V===O&&c(M,"next"))});else{const M=z[w];if(M&&M.classList.add(..._.bulletActiveClass.split(" ")),e.isElement&&z.forEach((V,X)=>{V.setAttribute("part",X===w?"bullet-active":"bullet")}),_.dynamicBullets){const V=z[L],X=z[O];for(let J=L;J<=O;J+=1)z[J]&&z[J].classList.add(...`${_.bulletActiveClass}-main`.split(" "));c(V,"prev"),c(X,"next")}}if(_.dynamicBullets){const M=Math.min(z.length,_.dynamicMainBullets+4),V=(o*M-o)/2-x*o,X=g?"right":"left";z.forEach(J=>{J.style[e.isHorizontal()?X:"top"]=`${V}px`})}}y.forEach((z,L)=>{if(_.type==="fraction"&&(z.querySelectorAll(zn(_.currentClass)).forEach(O=>{O.textContent=_.formatFractionCurrent(w+1)}),z.querySelectorAll(zn(_.totalClass)).forEach(O=>{O.textContent=_.formatFractionTotal(j)})),_.type==="progressbar"){let O;_.progressbarOpposite?O=e.isHorizontal()?"vertical":"horizontal":O=e.isHorizontal()?"horizontal":"vertical";const x=(w+1)/j;let M=1,V=1;O==="horizontal"?M=x:V=x,z.querySelectorAll(zn(_.progressbarFillClass)).forEach(X=>{X.style.transform=`translate3d(0,0,0) scaleX(${M}) scaleY(${V})`,X.style.transitionDuration=`${e.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(z.innerHTML=_.renderCustom(e,w+1,j),L===0&&a("paginationRender",z)):(L===0&&a("paginationRender",z),a("paginationUpdate",z)),e.params.watchOverflow&&e.enabled&&z.classList[e.isLocked?"add":"remove"](_.lockClass)})}function m(){const g=e.params.pagination;if(d())return;const _=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let y=e.pagination.el;y=ie(y);let w="";if(g.type==="bullets"){let P=e.params.loop?Math.ceil(_/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&P>_&&(P=_);for(let E=0;E<P;E+=1)g.renderBullet?w+=g.renderBullet.call(e,E,g.bulletClass):w+=`<${g.bulletElement} ${e.isElement?'part="bullet"':""} class="${g.bulletClass}"></${g.bulletElement}>`}g.type==="fraction"&&(g.renderFraction?w=g.renderFraction.call(e,g.currentClass,g.totalClass):w=`<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`),g.type==="progressbar"&&(g.renderProgressbar?w=g.renderProgressbar.call(e,g.progressbarFillClass):w=`<span class="${g.progressbarFillClass}"></span>`),e.pagination.bullets=[],y.forEach(P=>{g.type!=="custom"&&(P.innerHTML=w||""),g.type==="bullets"&&e.pagination.bullets.push(...P.querySelectorAll(zn(g.bulletClass)))}),g.type!=="custom"&&a("paginationRender",y[0])}function f(){e.params.pagination=t2(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const g=e.params.pagination;if(!g.el)return;let _;typeof g.el=="string"&&e.isElement&&(_=e.el.querySelector(g.el)),!_&&typeof g.el=="string"&&(_=[...document.querySelectorAll(g.el)]),_||(_=g.el),!(!_||_.length===0)&&(e.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(_)&&_.length>1&&(_=[...e.el.querySelectorAll(g.el)],_.length>1&&(_=_.find(y=>Vf(y,".swiper")[0]===e.el))),Array.isArray(_)&&_.length===1&&(_=_[0]),Object.assign(e.pagination,{el:_}),_=ie(_),_.forEach(y=>{g.type==="bullets"&&g.clickable&&y.classList.add(...(g.clickableClass||"").split(" ")),y.classList.add(g.modifierClass+g.type),y.classList.add(e.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(y.classList.add(`${g.modifierClass}${g.type}-dynamic`),l=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&y.classList.add(g.progressbarOppositeClass),g.clickable&&y.addEventListener("click",b),e.enabled||y.classList.add(g.lockClass)}))}function v(){const g=e.params.pagination;if(d())return;let _=e.pagination.el;_&&(_=ie(_),_.forEach(y=>{y.classList.remove(g.hiddenClass),y.classList.remove(g.modifierClass+g.type),y.classList.remove(e.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(y.classList.remove(...(g.clickableClass||"").split(" ")),y.removeEventListener("click",b))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...g.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const g=e.params.pagination;let{el:_}=e.pagination;_=ie(_),_.forEach(y=>{y.classList.remove(g.horizontalClass,g.verticalClass),y.classList.add(e.isHorizontal()?g.horizontalClass:g.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?h():(f(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{v()}),n("enable disable",()=>{let{el:g}=e.pagination;g&&(g=ie(g),g.forEach(_=>_.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(g,_)=>{const y=_.target,w=ie(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&w&&w.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const P=w[0].classList.contains(e.params.pagination.hiddenClass);a(P===!0?"paginationShow":"paginationHide"),w.forEach(E=>E.classList.toggle(e.params.pagination.hiddenClass))}});const k=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:g}=e.pagination;g&&(g=ie(g),g.forEach(_=>_.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),p()},h=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:g}=e.pagination;g&&(g=ie(g),g.forEach(_=>_.classList.add(e.params.pagination.paginationDisabledClass))),v()};Object.assign(e.pagination,{enable:k,disable:h,render:m,update:p,init:f,destroy:v})}function AA(t){let{swiper:e,extendParams:s,emit:n,once:a}=t;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function o(){if(e.params.cssMode)return;const{touchEventsData:d,touches:c}=e;d.velocities.length===0&&d.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:$e()})}function l(d){let{currentPos:c}=d;if(e.params.cssMode)return;const{params:u,wrapperEl:b,rtlTranslate:p,snapGrid:m,touchEventsData:f}=e,k=$e()-f.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(u.freeMode.momentum){if(f.velocities.length>1){const j=f.velocities.pop(),z=f.velocities.pop(),L=j.position-z.position,O=j.time-z.time;e.velocity=L/O,e.velocity/=2,Math.abs(e.velocity)<u.freeMode.minimumVelocity&&(e.velocity=0),(O>150||$e()-j.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=u.freeMode.momentumVelocityRatio,f.velocities.length=0;let h=1e3*u.freeMode.momentumRatio;const g=e.velocity*h;let _=e.translate+g;p&&(_=-_);let y=!1,w;const P=Math.abs(e.velocity)*20*u.freeMode.momentumBounceRatio;let E;if(_<e.maxTranslate())u.freeMode.momentumBounce?(_+e.maxTranslate()<-P&&(_=e.maxTranslate()-P),w=e.maxTranslate(),y=!0,f.allowMomentumBounce=!0):_=e.maxTranslate(),u.loop&&u.centeredSlides&&(E=!0);else if(_>e.minTranslate())u.freeMode.momentumBounce?(_-e.minTranslate()>P&&(_=e.minTranslate()+P),w=e.minTranslate(),y=!0,f.allowMomentumBounce=!0):_=e.minTranslate(),u.loop&&u.centeredSlides&&(E=!0);else if(u.freeMode.sticky){let j;for(let z=0;z<m.length;z+=1)if(m[z]>-_){j=z;break}Math.abs(m[j]-_)<Math.abs(m[j-1]-_)||e.swipeDirection==="next"?_=m[j]:_=m[j-1],_=-_}if(E&&a("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(p?h=Math.abs((-_-e.translate)/e.velocity):h=Math.abs((_-e.translate)/e.velocity),u.freeMode.sticky){const j=Math.abs((p?-_:_)-e.translate),z=e.slidesSizesGrid[e.activeIndex];j<z?h=u.speed:j<2*z?h=u.speed*1.5:h=u.speed*2.5}}else if(u.freeMode.sticky){e.slideToClosest();return}u.freeMode.momentumBounce&&y?(e.updateProgress(w),e.setTransition(h),e.setTranslate(_),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Oo(b,()=>{!e||e.destroyed||!f.allowMomentumBounce||(n("momentumBounce"),e.setTransition(u.speed),setTimeout(()=>{e.setTranslate(w),Oo(b,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(_),e.setTransition(h),e.setTranslate(_),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Oo(b,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(_),e.updateActiveIndex(),e.updateSlidesClasses()}else if(u.freeMode.sticky){e.slideToClosest();return}else u.freeMode&&n("_freeModeNoMomentumRelease");(!u.freeMode.momentum||k>=u.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:r,onTouchMove:o,onTouchEnd:l}})}const PA={install(t){so.use([TA,zA,AA,SA]),t.component("Swiper",kA).component("SwiperSlide",wA)}};function EA(t){t.use(K1).use(hi).use(Ld).use(X1).use(Yv).use(PA)}const e2=Mv(H1);EA(e2);e2.mount("#app");export{uu as $,de as A,N as B,XA as C,oe as D,WS as E,Ji as F,Tt as G,ls as H,ui as I,pn as J,Ud as K,rP as L,US as M,le as N,Zr as O,oi as P,Bi as Q,$n as R,qe as S,As as T,Pi as U,$m as V,dd as W,Gs as X,cf as Y,vs as Z,oP as _,kt as a,Nb as a$,qt as a0,zb as a1,it as a2,Zn as a3,rt as a4,nt as a5,Ga as a6,yb as a7,An as a8,yu as a9,Xr as aA,lz as aB,$r as aC,Pn as aD,El as aE,VA as aF,JA as aG,Qs as aH,Or as aI,je as aJ,Dt as aK,ez as aL,qs as aM,tz as aN,cd as aO,hk as aP,Md as aQ,K1 as aR,ke as aS,vP as aT,bw as aU,cw as aV,GA as aW,pP as aX,fP as aY,ce as aZ,cP as a_,v2 as aa,Lf as ab,ma as ac,pa as ad,l3 as ae,o3 as af,kw as ag,Jr as ah,fa as ai,Le as aj,ln as ak,U3 as al,Ib as am,uP as an,$l as ao,Kl as ap,CA as aq,xA as ar,_P as as,Rs as at,Xn as au,Gv as av,go as aw,NA as ax,pd as ay,hi as az,di as b,xw as b$,gP as b0,RA as b1,Nv as b2,_z as b3,Db as b4,Wz as b5,jt as b6,qA as b7,LA as b8,t3 as b9,hm as bA,to as bB,$w as bC,Zm as bD,Cf as bE,Vd as bF,bn as bG,Dw as bH,_e as bI,Kr as bJ,Gp as bK,ja as bL,Hv as bM,Ov as bN,Iv as bO,Qm as bP,Kc as bQ,Um as bR,Ee as bS,Fv as bT,lP as bU,Vv as bV,Ld as bW,Vm as bX,Fm as bY,HA as bZ,Rv as b_,IA as ba,Fw as bb,yP as bc,gi as bd,zS as be,SS as bf,MA as bg,DA as bh,dw as bi,mP as bj,kP as bk,mr as bl,dP as bm,Lw as bn,BA as bo,Bb as bp,pz as bq,ae as br,qv as bs,Bv as bt,bP as bu,hz as bv,wP as bw,hP as bx,Kw as by,Hd as bz,F as c,Ht as c0,aP as c1,dn as c2,WA as c3,lS as c4,wm as c5,Li as c6,nP as c7,Ll as c8,Id as c9,Tw as cA,Qi as cB,YA as cC,$A as cD,rw as cE,os as cF,O2 as cG,Dr as cH,SP as cI,tP as cJ,Jm as cK,tf as cL,Qc as cM,Cr as cN,Ir as cO,UA as ca,QA as cb,Ft as cc,ZA as cd,zk as ce,OA as cf,uf as cg,Rd as ch,KA as ci,_m as cj,rn as ck,FA as cl,eP as cm,Rm as cn,oS as co,Tl as cp,Sk as cq,jS as cr,Hw as cs,Uw as ct,iP as cu,Vw as cv,qn as cw,sP as cx,km as cy,Cm as cz,ss as d,ri as e,va as f,Bt as g,ds as h,Qr as i,Ys as j,Wd as k,QS as l,mn as m,Yw as n,li as o,bt as p,ks as q,hS as r,At as s,Vt as t,eo as u,Pf as v,ht as w,st as x,Jc as y,Bd as z};
|
|
964
|
+
`)}function qb(t){const e=t.dark?2:1,s=t.dark?1:2,n=[];for(const[a,r]of Object.entries(t.colors)){const o=Li(r);n.push(`--v-theme-${a}: ${o.r},${o.g},${o.b}`),a.startsWith("on-")||n.push(`--v-theme-${a}-overlay-multiplier: ${Ew(r)>.18?e:s}`)}for(const[a,r]of Object.entries(t.variables)){const o=typeof r=="string"&&r.startsWith("#")?Li(r):void 0,l=o?`${o.r}, ${o.g}, ${o.b}`:void 0;n.push(`--v-${a}: ${l??r}`)}return n}const Ww=vt({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:re,...oe(),...vd(),...$e({tag:"i"}),...Bi()},"VIcon"),ee=Ut()({name:"VIcon",props:Ww(),setup(t,e){let{attrs:s,slots:n}=e;const a=lt(),{themeClasses:r}=Gi(t),{iconData:o}=Fw(B(()=>a.value||t.icon)),{sizeClasses:l}=gd(t),{textColorClasses:u,textColorStyles:c}=wo(Ht(t,"color"));return le(()=>{var p,m;const d=(p=n.default)==null?void 0:p.call(n);d&&(a.value=(m=Jm(d).filter(f=>f.type===Tn&&f.children&&typeof f.children=="string")[0])==null?void 0:m.children);const b=!!(s.onClick||s.onClickOnce);return I(o.value.component,{tag:t.tag,icon:o.value.icon,class:["v-icon","notranslate",r.value,l.value,u.value,{"v-icon--clickable":b,"v-icon--disabled":t.disabled,"v-icon--start":t.start,"v-icon--end":t.end},t.class],style:[l.value?void 0:{fontSize:Dt(t.size),height:Dt(t.size),width:Dt(t.size)},c.value,t.style],role:b?"button":void 0,"aria-hidden":!b,tabindex:b?t.disabled?-1:0:void 0},{default:()=>[d]})}),{}}}),Ra=vt({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Oa(t){return{dimensionStyles:B(()=>{const s={},n=Dt(t.height),a=Dt(t.maxHeight),r=Dt(t.maxWidth),o=Dt(t.minHeight),l=Dt(t.minWidth),u=Dt(t.width);return n!=null&&(s.height=n),a!=null&&(s.maxHeight=a),r!=null&&(s.maxWidth=r),o!=null&&(s.minHeight=o),l!=null&&(s.minWidth=l),u!=null&&(s.width=u),s})}}function Kw(t){return{aspectStyles:B(()=>{const e=Number(t.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const yf=vt({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...oe(),...Ra()},"VResponsive"),Fb=Ut()({name:"VResponsive",props:yf(),setup(t,e){let{slots:s}=e;const{aspectStyles:n}=Kw(t),{dimensionStyles:a}=Oa(t);return le(()=>{var r;return I("div",{class:["v-responsive",{"v-responsive--inline":t.inline},t.class],style:[a.value,t.style]},[I("div",{class:"v-responsive__sizer",style:n.value},null),(r=s.additional)==null?void 0:r.call(s),s.default&&I("div",{class:["v-responsive__content",t.contentClass]},[s.default()])])}),{}}}),Hs=vt({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function Vs(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();return{roundedClasses:B(()=>{const n=Jt(t)?t.value:t.rounded,a=Jt(t)?t.value:t.tile,r=[];if(n===!0||n==="")r.push(`${e}--rounded`);else if(typeof n=="string"||n===0)for(const o of String(n).split(" "))r.push(`rounded-${o}`);else(a||n===!1)&&r.push("rounded-0");return r})}}const kf=vt({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:t=>t!==!0}},"transition"),sn=(t,e)=>{let{slots:s}=e;const{transition:n,disabled:a,group:r,...o}=t,{component:l=r?Gu:Bs,...u}=typeof n=="object"?n:{};return ie(l,Bt(typeof n=="string"?{name:a?"":n}:u,typeof n=="string"?{}:Object.fromEntries(Object.entries({disabled:a,group:r}).filter(c=>{let[d,b]=c;return b!==void 0})),o),s)};function Xw(t,e){if(!ld)return;const s=e.modifiers||{},n=e.value,{handler:a,options:r}=typeof n=="object"?n:{handler:n,options:{}},o=new IntersectionObserver(function(){var b;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0;const c=(b=t._observe)==null?void 0:b[e.instance.$.uid];if(!c)return;const d=l.some(p=>p.isIntersecting);a&&(!s.quiet||c.init)&&(!s.once||d||c.init)&&a(d,l,u),d&&s.once?wf(t,e):c.init=!0},r);t._observe=Object(t._observe),t._observe[e.instance.$.uid]={init:!1,observer:o},o.observe(t)}function wf(t,e){var n;const s=(n=t._observe)==null?void 0:n[e.instance.$.uid];s&&(s.observer.unobserve(t),delete t._observe[e.instance.$.uid])}const Yw={mounted:Xw,unmounted:wf},$w=vt({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,...yf(),...oe(),...Hs(),...kf()},"VImg"),hd=Ut()({name:"VImg",directives:{intersect:Yw},props:$w(),emits:{loadstart:t=>!0,load:t=>!0,error:t=>!0},setup(t,e){let{emit:s,slots:n}=e;const{backgroundColorClasses:a,backgroundColorStyles:r}=mn(Ht(t,"color")),{roundedClasses:o}=Vs(t),l=Se("VImg"),u=Mt(""),c=lt(),d=Mt(t.eager?"loading":"idle"),b=Mt(),p=Mt(),m=B(()=>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)}),f=B(()=>m.value.aspect||b.value/p.value||0);Tt(()=>t.src,()=>{v(d.value!=="idle")}),Tt(f,(M,x)=>{!M&&x&&c.value&&k(c.value)}),lo(()=>v());function v(M){if(!(t.eager&&M)&&!(ld&&!M&&!t.eager)){if(d.value="loading",m.value.lazySrc){const x=new Image;x.src=m.value.lazySrc,k(x,null)}m.value.src&&Si(()=>{var x;s("loadstart",((x=c.value)==null?void 0:x.currentSrc)||m.value.src),setTimeout(()=>{var H;if(!l.isUnmounted)if((H=c.value)!=null&&H.complete){if(c.value.naturalWidth||g(),d.value==="error")return;f.value||k(c.value,null),d.value==="loading"&&_()}else f.value||k(c.value),h()})})}}function _(){var M;l.isUnmounted||(h(),k(c.value),d.value="loaded",s("load",((M=c.value)==null?void 0:M.currentSrc)||m.value.src))}function g(){var M;l.isUnmounted||(d.value="error",s("error",((M=c.value)==null?void 0:M.currentSrc)||m.value.src))}function h(){const M=c.value;M&&(u.value=M.currentSrc||M.src)}let y=-1;Ye(()=>{clearTimeout(y)});function k(M){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const H=()=>{if(clearTimeout(y),l.isUnmounted)return;const{naturalHeight:X,naturalWidth:it}=M;X||it?(b.value=it,p.value=X):!M.complete&&d.value==="loading"&&x!=null?y=window.setTimeout(H,x):(M.currentSrc.endsWith(".svg")||M.currentSrc.startsWith("data:image/svg+xml"))&&(b.value=1,p.value=1)};H()}const w=B(()=>({"v-img__img--cover":t.cover,"v-img__img--contain":!t.cover})),P=()=>{var H;if(!m.value.src||d.value==="idle")return null;const M=I("img",{class:["v-img__img",w.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:c,onLoad:_,onError:g},null),x=(H=n.sources)==null?void 0:H.call(n);return I(sn,{transition:t.transition,appear:!0},{default:()=>[ms(x?I("picture",{class:"v-img__picture"},[x,M]):M,[[mo,d.value==="loaded"]])]})},A=()=>I(sn,{transition:t.transition},{default:()=>[m.value.lazySrc&&d.value!=="loaded"&&I("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:t.position},crossorigin:t.crossorigin,src:m.value.lazySrc,alt:t.alt,referrerpolicy:t.referrerpolicy,draggable:t.draggable},null)]}),E=()=>n.placeholder?I(sn,{transition:t.transition,appear:!0},{default:()=>[(d.value==="loading"||d.value==="error"&&!n.error)&&I("div",{class:"v-img__placeholder"},[n.placeholder()])]}):null,S=()=>n.error?I(sn,{transition:t.transition,appear:!0},{default:()=>[d.value==="error"&&I("div",{class:"v-img__error"},[n.error()])]}):null,L=()=>t.gradient?I("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${t.gradient})`}},null):null,N=Mt(!1);{const M=Tt(f,x=>{x&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{N.value=!0})}),M())})}return le(()=>{const M=Fb.filterProps(t);return ms(I(Fb,Bt({class:["v-img",{"v-img--absolute":t.absolute,"v-img--booting":!N.value},a.value,o.value,t.class],style:[{width:Dt(t.width==="auto"?b.value:t.width)},r.value,t.style]},M,{aspectRatio:f.value,"aria-label":t.alt,role:t.alt?"img":void 0}),{additional:()=>I(bt,null,[I(P,null,null),I(A,null,null),I(L,null,null),I(E,null,null),I(S,null,null)]),default:n.default}),[[xa("intersect"),{handler:v,options:t.options},null,{once:!0}]])}),{currentSrc:u,image:c,state:d,naturalWidth:b,naturalHeight:p}}}),Na=vt({border:[Boolean,Number,String]},"border");function Ba(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();return{borderClasses:B(()=>{const n=Jt(t)?t.value:t.border,a=[];if(n===!0||n==="")a.push(`${e}--border`);else if(typeof n=="string"||n===0)for(const r of String(n).split(" "))a.push(`border-${r}`);return a})}}const Zw=[null,"default","comfortable","compact"],Cn=vt({density:{type:String,default:"default",validator:t=>Zw.includes(t)}},"density");function Ga(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();return{densityClasses:B(()=>`${e}--density-${t.density}`)}}const Qw=["elevated","flat","tonal","outlined","text","plain"];function zo(t,e){return I(bt,null,[t&&I("span",{key:"overlay",class:`${e}__overlay`},null),I("span",{key:"underlay",class:`${e}__underlay`},null)])}const Mn=vt({color:String,variant:{type:String,default:"elevated",validator:t=>Qw.includes(t)}},"variant");function Ao(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();const s=B(()=>{const{variant:r}=Z(t);return`${e}--variant-${r}`}),{colorClasses:n,colorStyles:a}=fd(B(()=>{const{variant:r,color:o}=Z(t);return{[["elevated","flat"].includes(r)?"background":"text"]:o}}));return{colorClasses:n,colorStyles:a,variantClasses:s}}const Jw=vt({start:Boolean,end:Boolean,icon:re,image:String,text:String,...Na(),...oe(),...Cn(),...Hs(),...vd(),...$e(),...Bi(),...Mn({variant:"flat"})},"VAvatar"),zn=Ut()({name:"VAvatar",props:Jw(),setup(t,e){let{slots:s}=e;const{themeClasses:n}=Gi(t),{borderClasses:a}=Ba(t),{colorClasses:r,colorStyles:o,variantClasses:l}=Ao(t),{densityClasses:u}=Ga(t),{roundedClasses:c}=Vs(t),{sizeClasses:d,sizeStyles:b}=gd(t);return le(()=>I(t.tag,{class:["v-avatar",{"v-avatar--start":t.start,"v-avatar--end":t.end},n.value,a.value,r.value,u.value,c.value,d.value,l.value,t.class],style:[o.value,b.value,t.style]},{default:()=>[s.default?I(oi,{key:"content-defaults",defaults:{VImg:{cover:!0,src:t.image},VIcon:{icon:t.icon}}},{default:()=>[s.default()]}):t.image?I(hd,{key:"image",src:t.image,alt:"",cover:!0},null):t.icon?I(ee,{key:"icon",icon:t.icon},null):t.text,zo(!1,"v-avatar")]})),{}}}),tS=vt({appendAvatar:String,appendIcon:re,prependAvatar:String,prependIcon:re,subtitle:[String,Number],title:[String,Number],...oe(),...Cn()},"VCardItem"),eS=Ut()({name:"VCardItem",props:tS(),setup(t,e){let{slots:s}=e;return le(()=>{var c;const n=!!(t.prependAvatar||t.prependIcon),a=!!(n||s.prepend),r=!!(t.appendAvatar||t.appendIcon),o=!!(r||s.append),l=!!(t.title!=null||s.title),u=!!(t.subtitle!=null||s.subtitle);return I("div",{class:["v-card-item",t.class],style:t.style},[a&&I("div",{key:"prepend",class:"v-card-item__prepend"},[s.prepend?I(oi,{key:"prepend-defaults",disabled:!n,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon}}},s.prepend):I(bt,null,[t.prependAvatar&&I(zn,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&I(ee,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)])]),I("div",{class:"v-card-item__content"},[l&&I(Ow,{key:"title"},{default:()=>{var d;return[((d=s.title)==null?void 0:d.call(s))??t.title]}}),u&&I(Rw,{key:"subtitle"},{default:()=>{var d;return[((d=s.subtitle)==null?void 0:d.call(s))??t.subtitle]}}),(c=s.default)==null?void 0:c.call(s)]),o&&I("div",{key:"append",class:"v-card-item__append"},[s.append?I(oi,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon}}},s.append):I(bt,null,[t.appendIcon&&I(ee,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&I(zn,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)])])])}),{}}}),iS=vt({opacity:[Number,String],...oe(),...$e()},"VCardText"),sS=Ut()({name:"VCardText",props:iS(),setup(t,e){let{slots:s}=e;return le(()=>I(t.tag,{class:["v-card-text",t.class],style:[{"--v-card-text-opacity":t.opacity},t.style]},s)),{}}}),To=vt({elevation:{type:[Number,String],validator(t){const e=parseInt(t);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Po(t){return{elevationClasses:B(()=>{const s=Jt(t)?t.value:t.elevation,n=[];return s==null||n.push(`elevation-${s}`),n})}}function nS(t,e){const s=lt(),n=Mt(!1);if(ld){const a=new IntersectionObserver(r=>{n.value=!!r.find(o=>o.isIntersecting)},e);Ye(()=>{a.disconnect()}),Tt(s,(r,o)=>{o&&(a.unobserve(o),n.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:s,isIntersecting:n}}function Eo(t,e){let s;function n(){s=io(),s.run(()=>e.length?e(()=>{s==null||s.stop(),n()}):e())}Tt(t,a=>{a&&!s?n():a||(s==null||s.stop(),s=void 0)},{immediate:!0}),wi(()=>{s==null||s.stop()})}function Ni(t,e,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:b=>b,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:b=>b;const r=Se("useProxiedModel"),o=lt(t[e]!==void 0?t[e]:s),l=xs(e),c=B(l!==e?()=>{var b,p,m,f;return t[e],!!(((b=r.vnode.props)!=null&&b.hasOwnProperty(e)||(p=r.vnode.props)!=null&&p.hasOwnProperty(l))&&((m=r.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${e}`)||(f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${l}`)))}:()=>{var b,p;return t[e],!!((b=r.vnode.props)!=null&&b.hasOwnProperty(e)&&((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${e}`)))});Eo(()=>!c.value,()=>{Tt(()=>t[e],b=>{o.value=b})});const d=B({get(){const b=t[e];return n(c.value?b:o.value)},set(b){const p=a(b),m=pt(c.value?t[e]:o.value);m===p||n(m)===b||(o.value=p,r==null||r.emit(`update:${e}`,p))}});return Object.defineProperty(d,"externalValue",{get:()=>c.value?t[e]:o.value}),d}const aS={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"}},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"}},Hb="$vuetify.",Vb=(t,e)=>t.replace(/\{(\d+)\}/g,(s,n)=>String(e[+n])),Sf=(t,e,s)=>function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];if(!n.startsWith(Hb))return Vb(n,r);const l=n.replace(Hb,""),u=t.value&&s.value[t.value],c=e.value&&s.value[e.value];let d=Ql(u,l,null);return d||(`${n}${t.value}`,d=Ql(c,l,null)),d||(d=n),typeof d!="string"&&(d=n),Vb(d,r)};function zf(t,e){return(s,n)=>new Intl.NumberFormat([t.value,e.value],n).format(s)}function el(t,e,s){const n=Ni(t,e,t[e]??s.value);return n.value=t[e]??s.value,Tt(s,a=>{t[e]==null&&(n.value=s.value)}),n}function Af(t){return e=>{const s=el(e,"locale",t.current),n=el(e,"fallback",t.fallback),a=el(e,"messages",t.messages);return{name:"vuetify",current:s,fallback:n,messages:a,t:Sf(s,n,a),n:zf(s,n),provide:Af({current:s,fallback:n,messages:a})}}}function rS(t){const e=Mt((t==null?void 0:t.locale)??"en"),s=Mt((t==null?void 0:t.fallback)??"en"),n=lt({en:aS,...t==null?void 0:t.messages});return{name:"vuetify",current:e,fallback:s,messages:n,t:Sf(e,s,n),n:zf(e,s),provide:Af({current:e,fallback:s,messages:n})}}const Fr=Symbol.for("vuetify:locale");function oS(t){return t.name!=null}function lS(t){const e=t!=null&&t.adapter&&oS(t==null?void 0:t.adapter)?t==null?void 0:t.adapter:rS(t),s=cS(e,t);return{...e,...s}}function uS(){const t=Kt(Fr);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function dS(){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 cS(t,e){const s=lt((e==null?void 0:e.rtl)??dS()),n=B(()=>s.value[t.current.value]??!1);return{isRtl:n,rtl:s,rtlClasses:B(()=>`v-locale--is-${n.value?"rtl":"ltr"}`)}}function xn(){const t=Kt(Fr);if(!t)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:t.isRtl,rtlClasses:t.rtlClasses}}const Ub={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Tf=vt({location:String},"location");function Pf(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=arguments.length>2?arguments[2]:void 0;const{isRtl:n}=xn();return{locationStyles:B(()=>{if(!t.location)return{};const{side:r,align:o}=tu(t.location.split(" ").length>1?t.location:`${t.location} center`,n.value);function l(c){return s?s(c):0}const u={};return r!=="center"&&(e?u[Ub[r]]=`calc(100% - ${l(r)}px)`:u[r]=0),o!=="center"?e?u[Ub[o]]=`calc(100% - ${l(o)}px)`:u[o]=0:(r==="center"?u.top=u.left="50%":u[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",u.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),u})}}const bS=vt({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,...oe(),...Tf({location:"top"}),...Hs(),...$e(),...Bi()},"VProgressLinear"),pS=Ut()({name:"VProgressLinear",props:bS(),emits:{"update:modelValue":t=>!0},setup(t,e){var N;let{slots:s}=e;const n=Ni(t,"modelValue"),{isRtl:a,rtlClasses:r}=xn(),{themeClasses:o}=Gi(t),{locationStyles:l}=Pf(t),{textColorClasses:u,textColorStyles:c}=wo(t,"color"),{backgroundColorClasses:d,backgroundColorStyles:b}=mn(B(()=>t.bgColor||t.color)),{backgroundColorClasses:p,backgroundColorStyles:m}=mn(B(()=>t.bufferColor||t.bgColor||t.color)),{backgroundColorClasses:f,backgroundColorStyles:v}=mn(t,"color"),{roundedClasses:_}=Vs(t),{intersectionRef:g,isIntersecting:h}=nS(),y=B(()=>parseFloat(t.max)),k=B(()=>parseFloat(t.height)),w=B(()=>wn(parseFloat(t.bufferValue)/y.value*100,0,100)),P=B(()=>wn(parseFloat(n.value)/y.value*100,0,100)),A=B(()=>a.value!==t.reverse),E=B(()=>t.indeterminate?"fade-transition":"slide-x-transition"),S=$t&&((N=window.matchMedia)==null?void 0:N.call(window,"(forced-colors: active)").matches);function L(M){if(!g.value)return;const{left:x,right:H,width:X}=g.value.getBoundingClientRect(),it=A.value?X-M.clientX+(H-X):M.clientX-x;n.value=Math.round(it/X*y.value)}return le(()=>I(t.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":t.absolute,"v-progress-linear--active":t.active&&h.value,"v-progress-linear--reverse":A.value,"v-progress-linear--rounded":t.rounded,"v-progress-linear--rounded-bar":t.roundedBar,"v-progress-linear--striped":t.striped},_.value,o.value,r.value,t.class],style:[{bottom:t.location==="bottom"?0:void 0,top:t.location==="top"?0:void 0,height:t.active?Dt(k.value):0,"--v-progress-linear-height":Dt(k.value),...t.absolute?l.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),y.value),onClick:t.clickable&&L},{default:()=>[t.stream&&I("div",{key:"stream",class:["v-progress-linear__stream",u.value],style:{...c.value,[A.value?"left":"right"]:Dt(-k.value),borderTop:`${Dt(k.value/2)} dotted`,opacity:parseFloat(t.bufferOpacity),top:`calc(50% - ${Dt(k.value/4)})`,width:Dt(100-w.value,"%"),"--v-progress-linear-stream-to":Dt(k.value*(A.value?1:-1))}},null),I("div",{class:["v-progress-linear__background",S?void 0:d.value],style:[b.value,{opacity:parseFloat(t.bgOpacity),width:t.stream?0:void 0}]},null),I("div",{class:["v-progress-linear__buffer",S?void 0:p.value],style:[m.value,{opacity:parseFloat(t.bufferOpacity),width:Dt(w.value,"%")}]},null),I(Bs,{name:E.value},{default:()=>[t.indeterminate?I("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(M=>I("div",{key:M,class:["v-progress-linear__indeterminate",M,S?void 0:f.value],style:v.value},null))]):I("div",{class:["v-progress-linear__determinate",S?void 0:f.value],style:[v.value,{width:Dt(P.value,"%")}]},null)]}),s.default&&I("div",{class:"v-progress-linear__content"},[s.default({value:P.value,buffer:w.value})])]})),{}}}),mS=vt({loading:[Boolean,String]},"loader");function fS(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();return{loaderClasses:B(()=>({[`${e}--loading`]:t.loading}))}}function vS(t,e){var n;let{slots:s}=e;return I("div",{class:`${t.name}__loader`},[((n=s.default)==null?void 0:n.call(s,{color:t.color,isActive:t.active}))||I(pS,{absolute:t.absolute,active:t.active,color:t.color,height:"2",indeterminate:!0},null)])}const gS=["static","relative","fixed","absolute","sticky"],hS=vt({position:{type:String,validator:t=>gS.includes(t)}},"position");function _S(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();return{positionClasses:B(()=>t.position?`${e}--${t.position}`:void 0)}}function yS(){const t=Se("useRoute");return B(()=>{var e;return(e=t==null?void 0:t.proxy)==null?void 0:e.$route})}function kS(){var t,e;return(e=(t=Se("useRouter"))==null?void 0:t.proxy)==null?void 0:e.$router}function _d(t,e){var b,p;const s=Bv("RouterLink"),n=B(()=>!!(t.href||t.to)),a=B(()=>(n==null?void 0:n.value)||Tb(e,"click")||Tb(t,"click"));if(typeof s=="string"||!("useLink"in s)){const m=Ht(t,"href");return{isLink:n,isClickable:a,href:m,linkProps:ce({href:m})}}const r=B(()=>({...t,to:Ht(()=>t.to||"")})),o=s.useLink(r.value),l=B(()=>t.to?o:void 0),u=yS(),c=B(()=>{var m,f,v;return l.value?t.exact?u.value?((v=l.value.isExactActive)==null?void 0:v.value)&&La(l.value.route.value.query,u.value.query):((f=l.value.isExactActive)==null?void 0:f.value)??!1:((m=l.value.isActive)==null?void 0:m.value)??!1:!1}),d=B(()=>{var m;return t.to?(m=l.value)==null?void 0:m.route.value.href:t.href});return{isLink:n,isClickable:a,isActive:c,route:(b=l.value)==null?void 0:b.route,navigate:(p=l.value)==null?void 0:p.navigate,href:d,linkProps:ce({href:d,"aria-current":B(()=>c.value?"page":void 0)})}}const yd=vt({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let il=!1;function wS(t,e){let s=!1,n,a;$t&&(t!=null&&t.beforeEach)&&(Si(()=>{window.addEventListener("popstate",r),n=t.beforeEach((o,l,u)=>{il?s?e(u):u():setTimeout(()=>s?e(u):u()),il=!0}),a=t==null?void 0:t.afterEach(()=>{il=!1})}),wi(()=>{window.removeEventListener("popstate",r),n==null||n(),a==null||a()}));function r(o){var l;(l=o.state)!=null&&l.replaced||(s=!0,setTimeout(()=>s=!1))}}const nu=Symbol("rippleStop"),SS=80;function Wb(t,e){t.style.transform=e,t.style.webkitTransform=e}function au(t){return t.constructor.name==="TouchEvent"}function Ef(t){return t.constructor.name==="KeyboardEvent"}const zS=function(t,e){var b;let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=0,a=0;if(!Ef(t)){const p=e.getBoundingClientRect(),m=au(t)?t.touches[t.touches.length-1]:t;n=m.clientX-p.left,a=m.clientY-p.top}let r=0,o=.3;(b=e._ripple)!=null&&b.circle?(o=.15,r=e.clientWidth/2,r=s.center?r:r+Math.sqrt((n-r)**2+(a-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const l=`${(e.clientWidth-r*2)/2}px`,u=`${(e.clientHeight-r*2)/2}px`,c=s.center?l:`${n-r}px`,d=s.center?u:`${a-r}px`;return{radius:r,scale:o,x:c,y:d,centerX:l,centerY:u}},Hr={show(t,e){var m;let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=e==null?void 0:e._ripple)!=null&&m.enabled))return;const n=document.createElement("span"),a=document.createElement("span");n.appendChild(a),n.className="v-ripple__container",s.class&&(n.className+=` ${s.class}`);const{radius:r,scale:o,x:l,y:u,centerX:c,centerY:d}=zS(t,e,s),b=`${r*2}px`;a.className="v-ripple__animation",a.style.width=b,a.style.height=b,e.appendChild(n);const p=window.getComputedStyle(e);p&&p.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),Wb(a,`translate(${l}, ${u}) scale3d(${o},${o},${o})`),a.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),Wb(a,`translate(${c}, ${d}) scale3d(1,1,1)`)})})},hide(t){var r;if(!((r=t==null?void 0:t._ripple)!=null&&r.enabled))return;const e=t.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const s=e[e.length-1];if(s.dataset.isHiding)return;s.dataset.isHiding="true";const n=performance.now()-Number(s.dataset.activated),a=Math.max(250-n,0);setTimeout(()=>{s.classList.remove("v-ripple__animation--in"),s.classList.add("v-ripple__animation--out"),setTimeout(()=>{var l;t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),((l=s.parentNode)==null?void 0:l.parentNode)===t&&t.removeChild(s.parentNode)},300)},a)}};function jf(t){return typeof t>"u"||!!t}function Sa(t){const e={},s=t.currentTarget;if(!(!(s!=null&&s._ripple)||s._ripple.touched||t[nu])){if(t[nu]=!0,au(t))s._ripple.touched=!0,s._ripple.isTouch=!0;else if(s._ripple.isTouch)return;if(e.center=s._ripple.centered||Ef(t),s._ripple.class&&(e.class=s._ripple.class),au(t)){if(s._ripple.showTimerCommit)return;s._ripple.showTimerCommit=()=>{Hr.show(t,s,e)},s._ripple.showTimer=window.setTimeout(()=>{var n;(n=s==null?void 0:s._ripple)!=null&&n.showTimerCommit&&(s._ripple.showTimerCommit(),s._ripple.showTimerCommit=null)},SS)}else Hr.show(t,s,e)}}function Kb(t){t[nu]=!0}function Je(t){const e=t.currentTarget;if(e!=null&&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(()=>{Je(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),Hr.hide(e)}}function Cf(t){const e=t.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let za=!1;function Mf(t){!za&&(t.keyCode===wb.enter||t.keyCode===wb.space)&&(za=!0,Sa(t))}function xf(t){za=!1,Je(t)}function If(t){za&&(za=!1,Je(t))}function Lf(t,e,s){const{value:n,modifiers:a}=e,r=jf(n);if(r||Hr.hide(t),t._ripple=t._ripple??{},t._ripple.enabled=r,t._ripple.centered=a.center,t._ripple.circle=a.circle,Vk(n)&&n.class&&(t._ripple.class=n.class),r&&!s){if(a.stop){t.addEventListener("touchstart",Kb,{passive:!0}),t.addEventListener("mousedown",Kb);return}t.addEventListener("touchstart",Sa,{passive:!0}),t.addEventListener("touchend",Je,{passive:!0}),t.addEventListener("touchmove",Cf,{passive:!0}),t.addEventListener("touchcancel",Je),t.addEventListener("mousedown",Sa),t.addEventListener("mouseup",Je),t.addEventListener("mouseleave",Je),t.addEventListener("keydown",Mf),t.addEventListener("keyup",xf),t.addEventListener("blur",If),t.addEventListener("dragstart",Je,{passive:!0})}else!r&&s&&Df(t)}function Df(t){t.removeEventListener("mousedown",Sa),t.removeEventListener("touchstart",Sa),t.removeEventListener("touchend",Je),t.removeEventListener("touchmove",Cf),t.removeEventListener("touchcancel",Je),t.removeEventListener("mouseup",Je),t.removeEventListener("mouseleave",Je),t.removeEventListener("keydown",Mf),t.removeEventListener("keyup",xf),t.removeEventListener("dragstart",Je),t.removeEventListener("blur",If)}function AS(t,e){Lf(t,e,!1)}function TS(t){delete t._ripple,Df(t)}function PS(t,e){if(e.value===e.oldValue)return;const s=jf(e.oldValue);Lf(t,e,s)}const kd={mounted:AS,unmounted:TS,updated:PS},ES=vt({appendAvatar:String,appendIcon:re,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:re,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...Na(),...oe(),...Cn(),...Ra(),...To(),...mS(),...Tf(),...hS(),...Hs(),...yd(),...$e(),...Bi(),...Mn({variant:"elevated"})},"VCard"),ru=Ut()({name:"VCard",directives:{Ripple:kd},props:ES(),setup(t,e){let{attrs:s,slots:n}=e;const{themeClasses:a}=Gi(t),{borderClasses:r}=Ba(t),{colorClasses:o,colorStyles:l,variantClasses:u}=Ao(t),{densityClasses:c}=Ga(t),{dimensionStyles:d}=Oa(t),{elevationClasses:b}=Po(t),{loaderClasses:p}=fS(t),{locationStyles:m}=Pf(t),{positionClasses:f}=_S(t),{roundedClasses:v}=Vs(t),_=_d(t,s),g=B(()=>t.link!==!1&&_.isLink.value),h=B(()=>!t.disabled&&t.link!==!1&&(t.link||_.isClickable.value));return le(()=>{const y=g.value?"a":t.tag,k=!!(n.title||t.title!=null),w=!!(n.subtitle||t.subtitle!=null),P=k||w,A=!!(n.append||t.appendAvatar||t.appendIcon),E=!!(n.prepend||t.prependAvatar||t.prependIcon),S=!!(n.image||t.image),L=P||E||A,N=!!(n.text||t.text!=null);return ms(I(y,Bt({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":h.value},a.value,r.value,o.value,c.value,b.value,p.value,f.value,v.value,u.value,t.class],style:[l.value,d.value,m.value,t.style],onClick:h.value&&_.navigate,tabindex:t.disabled?-1:void 0},_.linkProps),{default:()=>{var M;return[S&&I("div",{key:"image",class:"v-card__image"},[n.image?I(oi,{key:"image-defaults",disabled:!t.image,defaults:{VImg:{cover:!0,src:t.image}}},n.image):I(hd,{key:"image-img",cover:!0,src:t.image},null)]),I(vS,{name:"v-card",active:!!t.loading,color:typeof t.loading=="boolean"?void 0:t.loading},{default:n.loader}),L&&I(eS,{key:"item",prependAvatar:t.prependAvatar,prependIcon:t.prependIcon,title:t.title,subtitle:t.subtitle,appendAvatar:t.appendAvatar,appendIcon:t.appendIcon},{default:n.item,prepend:n.prepend,title:n.title,subtitle:n.subtitle,append:n.append}),N&&I(sS,{key:"text"},{default:()=>{var x;return[((x=n.text)==null?void 0:x.call(n))??t.text]}}),(M=n.default)==null?void 0:M.call(n),n.actions&&I(Lw,null,{default:n.actions}),zo(h.value,"v-card")]}}),[[xa("ripple"),h.value&&t.ripple]])}),{}}}),jS=vt({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...oe(),...Bi()},"VDivider"),Rf=Ut()({name:"VDivider",props:jS(),setup(t,e){let{attrs:s,slots:n}=e;const{themeClasses:a}=Gi(t),{textColorClasses:r,textColorStyles:o}=wo(Ht(t,"color")),l=B(()=>{const u={};return t.length&&(u[t.vertical?"height":"width"]=Dt(t.length)),t.thickness&&(u[t.vertical?"borderRightWidth":"borderTopWidth"]=Dt(t.thickness)),u});return le(()=>{const u=I("hr",{class:[{"v-divider":!0,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},a.value,r.value,t.class],style:[l.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 n.default?I("div",{class:["v-divider__wrapper",{"v-divider__wrapper--vertical":t.vertical,"v-divider__wrapper--inset":t.inset}]},[u,I("div",{class:"v-divider__content"},[n.default()]),u]):u}),{}}}),CS=vt({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ti(t,e,s){return Ut()({name:t,props:CS({mode:s,origin:e}),setup(n,a){let{slots:r}=a;const o={onBeforeEnter(l){n.origin&&(l.style.transformOrigin=n.origin)},onLeave(l){if(n.leaveAbsolute){const{offsetTop:u,offsetLeft:c,offsetWidth:d,offsetHeight:b}=l;l._transitionInitialStyles={position:l.style.position,top:l.style.top,left:l.style.left,width:l.style.width,height:l.style.height},l.style.position="absolute",l.style.top=`${u}px`,l.style.left=`${c}px`,l.style.width=`${d}px`,l.style.height=`${b}px`}n.hideOnLeave&&l.style.setProperty("display","none","important")},onAfterLeave(l){if(n.leaveAbsolute&&(l!=null&&l._transitionInitialStyles)){const{position:u,top:c,left:d,width:b,height:p}=l._transitionInitialStyles;delete l._transitionInitialStyles,l.style.position=u||"",l.style.top=c||"",l.style.left=d||"",l.style.width=b||"",l.style.height=p||""}}};return()=>{const l=n.group?Gu:Bs;return ie(l,{name:n.disabled?"":t,css:!n.disabled,...n.group?void 0:{mode:n.mode},...n.disabled?{}:o},r.default)}}})}function Of(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:Boolean,group:Boolean},setup(n,a){let{slots:r}=a;const o=n.group?Gu:Bs;return()=>ie(o,{name:n.disabled?"":t,css:!n.disabled,...n.disabled?{}:e},r.default)}})}function Nf(){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",n=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 l=o._initialStyle;if(!l)return;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const u=`${o[n]}px`;o.style[s]="0",o.offsetHeight,o.style.transition=l.transition,t&&o._parent&&o._parent.classList.add(t),requestAnimationFrame(()=>{o.style[s]=u})},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[n]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[s]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(o){t&&o._parent&&o._parent.classList.remove(t),r(o)}function r(o){if(!o._initialStyle)return;const l=o._initialStyle[s];o.style.overflow=o._initialStyle.overflow,l!=null&&(o.style[s]=l),delete o._initialStyle}}const MS=vt({target:[Object,Array]},"v-dialog-transition"),xS=Ut()({name:"VDialogTransition",props:MS(),setup(t,e){let{slots:s}=e;const n={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),a.style.visibility="";const{x:o,y:l,sx:u,sy:c,speed:d}=Yb(t.target,a),b=Wn(a,[{transform:`translate(${o}px, ${l}px) scale(${u}, ${c})`,opacity:0},{}],{duration:225*d,easing:jw});(p=Xb(a))==null||p.forEach(m=>{Wn(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*d,easing:iu})}),b.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var p;await new Promise(m=>requestAnimationFrame(m));const{x:o,y:l,sx:u,sy:c,speed:d}=Yb(t.target,a);Wn(a,[{},{transform:`translate(${o}px, ${l}px) scale(${u}, ${c})`,opacity:0}],{duration:125*d,easing:Cw}).finished.then(()=>r()),(p=Xb(a))==null||p.forEach(m=>{Wn(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*d,easing:iu})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>t.target?I(Bs,Bt({name:"dialog-transition"},n,{css:!1}),s):I(Bs,{name:"dialog-transition"},s)}});function Xb(t){var s;const e=(s=t.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:s.children;return e&&[...e]}function Yb(t,e){const s=rf(t),n=of(e),[a,r]=getComputedStyle(e).transformOrigin.split(" ").map(g=>parseFloat(g)),[o,l]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let u=s.left+s.width/2;o==="left"||l==="left"?u-=s.width/2:(o==="right"||l==="right")&&(u+=s.width/2);let c=s.top+s.height/2;o==="top"||l==="top"?c-=s.height/2:(o==="bottom"||l==="bottom")&&(c+=s.height/2);const d=s.width/n.width,b=s.height/n.height,p=Math.max(1,d,b),m=d/p||0,f=b/p||0,v=n.width*n.height/(window.innerWidth*window.innerHeight),_=v>.12?Math.min(1.5,(v-.12)*10+1):1;return{x:u-(a+n.left),y:c-(r+n.top),sx:m,sy:f,speed:_}}ti("fab-transition","center center","out-in");ti("dialog-bottom-transition");ti("dialog-top-transition");const $b=ti("fade-transition"),UE=ti("scale-transition");ti("scroll-x-transition");ti("scroll-x-reverse-transition");ti("scroll-y-transition");ti("scroll-y-reverse-transition");ti("slide-x-transition");ti("slide-x-reverse-transition");const WE=ti("slide-y-transition");ti("slide-y-reverse-transition");const IS=Of("expand-transition",Nf()),LS=Of("expand-x-transition",Nf("",!0)),ou=Symbol.for("vuetify:list");function Bf(){const t=Kt(ou,{hasPrepend:Mt(!1),updateHasPrepend:()=>null}),e={hasPrepend:Mt(!1),updateHasPrepend:s=>{s&&(e.hasPrepend.value=s)}};return Pe(ou,e),t}function Gf(){return Kt(ou,null)}const wd=t=>{const e={activate:s=>{let{id:n,value:a,activated:r}=s;return n=pt(n),t&&!a&&r.size===1&&r.has(n)||(a?r.add(n):r.delete(n)),r},in:(s,n,a)=>{let r=new Set;if(s!=null)for(const o of dd(s))r=e.activate({id:o,value:!0,activated:new Set(r),children:n,parents:a});return r},out:s=>Array.from(s)};return e},qf=t=>{const e=wd(t);return{activate:n=>{let{activated:a,id:r,...o}=n;r=pt(r);const l=a.has(r)?new Set([r]):new Set;return e.activate({...o,id:r,activated:l})},in:(n,a,r)=>{let o=new Set;if(n!=null){const l=dd(n);l.length&&(o=e.in(l.slice(0,1),a,r))}return o},out:(n,a,r)=>e.out(n,a,r)}},DS=t=>{const e=wd(t);return{activate:n=>{let{id:a,activated:r,children:o,...l}=n;return a=pt(a),o.has(a)?r:e.activate({id:a,activated:r,children:o,...l})},in:e.in,out:e.out}},RS=t=>{const e=qf(t);return{activate:n=>{let{id:a,activated:r,children:o,...l}=n;return a=pt(a),o.has(a)?r:e.activate({id:a,activated:r,children:o,...l})},in:e.in,out:e.out}},OS={open:t=>{let{id:e,value:s,opened:n,parents:a}=t;if(s){const r=new Set;r.add(e);let o=a.get(e);for(;o!=null;)r.add(o),o=a.get(o);return r}else return n.delete(e),n},select:()=>null},Ff={open:t=>{let{id:e,value:s,opened:n,parents:a}=t;if(s){let r=a.get(e);for(n.add(e);r!=null&&r!==e;)n.add(r),r=a.get(r);return n}else n.delete(e);return n},select:()=>null},NS={open:Ff.open,select:t=>{let{id:e,value:s,opened:n,parents:a}=t;if(!s)return n;const r=[];let o=a.get(e);for(;o!=null;)r.push(o),o=a.get(o);return new Set(r)}},Sd=t=>{const e={select:s=>{let{id:n,value:a,selected:r}=s;if(n=pt(n),t&&!a){const o=Array.from(r.entries()).reduce((l,u)=>{let[c,d]=u;return d==="on"&&l.push(c),l},[]);if(o.length===1&&o[0]===n)return r}return r.set(n,a?"on":"off"),r},in:(s,n,a)=>{const r=new Map;for(const o of s||[])e.select({id:o,value:!0,selected:r,children:n,parents:a});return r},out:s=>{const n=[];for(const[a,r]of s.entries())r==="on"&&n.push(a);return n}};return e},Hf=t=>{const e=Sd(t);return{select:n=>{let{selected:a,id:r,...o}=n;r=pt(r);const l=a.has(r)?new Map([[r,a.get(r)]]):new Map;return e.select({...o,id:r,selected:l})},in:(n,a,r)=>n!=null&&n.length?e.in(n.slice(0,1),a,r):new Map,out:(n,a,r)=>e.out(n,a,r)}},BS=t=>{const e=Sd(t);return{select:n=>{let{id:a,selected:r,children:o,...l}=n;return a=pt(a),o.has(a)?r:e.select({id:a,selected:r,children:o,...l})},in:e.in,out:e.out}},GS=t=>{const e=Hf(t);return{select:n=>{let{id:a,selected:r,children:o,...l}=n;return a=pt(a),o.has(a)?r:e.select({id:a,selected:r,children:o,...l})},in:e.in,out:e.out}},qS=t=>{const e={select:s=>{let{id:n,value:a,selected:r,children:o,parents:l}=s;n=pt(n);const u=new Map(r),c=[n];for(;c.length;){const b=c.shift();r.set(pt(b),a?"on":"off"),o.has(b)&&c.push(...o.get(b))}let d=pt(l.get(n));for(;d;){const b=o.get(d),p=b.every(f=>r.get(pt(f))==="on"),m=b.every(f=>!r.has(pt(f))||r.get(pt(f))==="off");r.set(d,p?"on":m?"off":"indeterminate"),d=pt(l.get(d))}return t&&!a&&Array.from(r.entries()).reduce((p,m)=>{let[f,v]=m;return v==="on"&&p.push(f),p},[]).length===0?u:r},in:(s,n,a)=>{let r=new Map;for(const o of s||[])r=e.select({id:o,value:!0,selected:r,children:n,parents:a});return r},out:(s,n)=>{const a=[];for(const[r,o]of s.entries())o==="on"&&!n.has(r)&&a.push(r);return a}};return e},Aa=Symbol.for("vuetify:nested"),Vf={id:Mt(),root:{register:()=>null,unregister:()=>null,parents:lt(new Map),children:lt(new Map),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:lt(!1),selectable:lt(!1),opened:lt(new Set),activated:lt(new Set),selected:lt(new Map),selectedValues:lt([]),getPath:()=>[]}},FS=vt({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),HS=t=>{let e=!1;const s=lt(new Map),n=lt(new Map),a=Ni(t,"opened",t.opened,f=>new Set(f),f=>[...f.values()]),r=B(()=>{if(typeof t.activeStrategy=="object")return t.activeStrategy;if(typeof t.activeStrategy=="function")return t.activeStrategy(t.mandatory);switch(t.activeStrategy){case"leaf":return DS(t.mandatory);case"single-leaf":return RS(t.mandatory);case"independent":return wd(t.mandatory);case"single-independent":default:return qf(t.mandatory)}}),o=B(()=>{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 GS(t.mandatory);case"leaf":return BS(t.mandatory);case"independent":return Sd(t.mandatory);case"single-independent":return Hf(t.mandatory);case"classic":default:return qS(t.mandatory)}}),l=B(()=>{if(typeof t.openStrategy=="object")return t.openStrategy;switch(t.openStrategy){case"list":return NS;case"single":return OS;case"multiple":default:return Ff}}),u=Ni(t,"activated",t.activated,f=>r.value.in(f,s.value,n.value),f=>r.value.out(f,s.value,n.value)),c=Ni(t,"selected",t.selected,f=>o.value.in(f,s.value,n.value),f=>o.value.out(f,s.value,n.value));Ye(()=>{e=!0});function d(f){const v=[];let _=f;for(;_!=null;)v.unshift(_),_=n.value.get(_);return v}const b=Se("nested"),p=new Set,m={id:Mt(),root:{opened:a,activatable:Ht(t,"activatable"),selectable:Ht(t,"selectable"),activated:u,selected:c,selectedValues:B(()=>{const f=[];for(const[v,_]of c.value.entries())_==="on"&&f.push(v);return f}),register:(f,v,_)=>{if(p.has(f)){d(f).map(String).join(" -> "),d(v).concat(f).map(String).join(" -> ");return}else p.add(f);v&&f!==v&&n.value.set(f,v),_&&s.value.set(f,[]),v!=null&&s.value.set(v,[...s.value.get(v)||[],f])},unregister:f=>{if(e)return;p.delete(f),s.value.delete(f);const v=n.value.get(f);if(v){const _=s.value.get(v)??[];s.value.set(v,_.filter(g=>g!==f))}n.value.delete(f)},open:(f,v,_)=>{b.emit("click:open",{id:f,value:v,path:d(f),event:_});const g=l.value.open({id:f,value:v,opened:new Set(a.value),children:s.value,parents:n.value,event:_});g&&(a.value=g)},openOnSelect:(f,v,_)=>{const g=l.value.select({id:f,value:v,selected:new Map(c.value),opened:new Set(a.value),children:s.value,parents:n.value,event:_});g&&(a.value=g)},select:(f,v,_)=>{b.emit("click:select",{id:f,value:v,path:d(f),event:_});const g=o.value.select({id:f,value:v,selected:new Map(c.value),children:s.value,parents:n.value,event:_});g&&(c.value=g),m.root.openOnSelect(f,v,_)},activate:(f,v,_)=>{if(!t.activatable)return m.root.select(f,!0,_);b.emit("click:activate",{id:f,value:v,path:d(f),event:_});const g=r.value.activate({id:f,value:v,activated:new Set(u.value),children:s.value,parents:n.value,event:_});if(g.size!==u.value.size)u.value=g;else{for(const h of g)if(!u.value.has(h)){u.value=g;return}for(const h of u.value)if(!g.has(h)){u.value=g;return}}},children:s,parents:n,getPath:d}};return Pe(Aa,m),m.root},Uf=(t,e)=>{const s=Kt(Aa,Vf),n=Symbol(En()),a=B(()=>t.value!==void 0?t.value:n),r={...s,id:a,open:(o,l)=>s.root.open(a.value,o,l),openOnSelect:(o,l)=>s.root.openOnSelect(a.value,o,l),isOpen:B(()=>s.root.opened.value.has(a.value)),parent:B(()=>s.root.parents.value.get(a.value)),activate:(o,l)=>s.root.activate(a.value,o,l),isActivated:B(()=>s.root.activated.value.has(pt(a.value))),select:(o,l)=>s.root.select(a.value,o,l),isSelected:B(()=>s.root.selected.value.get(pt(a.value))==="on"),isIndeterminate:B(()=>s.root.selected.value.get(pt(a.value))==="indeterminate"),isLeaf:B(()=>!s.root.children.value.get(a.value)),isGroupActivator:s.isGroupActivator};return lo(()=>{!s.isGroupActivator&&s.root.register(a.value,s.id.value,e)}),Ye(()=>{!s.isGroupActivator&&s.root.unregister(a.value)}),e&&Pe(Aa,r),r},VS=()=>{const t=Kt(Aa,Vf);Pe(Aa,{...t,isGroupActivator:!0})};function US(){const t=Mt(!1);return bi(()=>{window.requestAnimationFrame(()=>{t.value=!0})}),{ssrBootStyles:B(()=>t.value?void 0:{transition:"none !important"}),isBooted:Ea(t)}}const WS=jn({name:"VListGroupActivator",setup(t,e){let{slots:s}=e;return VS(),()=>{var n;return(n=s.default)==null?void 0:n.call(s)}}}),KS=vt({activeColor:String,baseColor:String,color:String,collapseIcon:{type:re,default:"$collapse"},expandIcon:{type:re,default:"$expand"},prependIcon:re,appendIcon:re,fluid:Boolean,subgroup:Boolean,title:String,value:null,...oe(),...$e()},"VListGroup"),Zb=Ut()({name:"VListGroup",props:KS(),setup(t,e){let{slots:s}=e;const{isOpen:n,open:a,id:r}=Uf(Ht(t,"value"),!0),o=B(()=>`v-list-group--id-${String(r.value)}`),l=Gf(),{isBooted:u}=US();function c(m){m.stopPropagation(),a(!n.value,m)}const d=B(()=>({onClick:c,class:"v-list-group__header",id:o.value})),b=B(()=>n.value?t.collapseIcon:t.expandIcon),p=B(()=>({VListItem:{active:n.value,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 le(()=>I(t.tag,{class:["v-list-group",{"v-list-group--prepend":l==null?void 0:l.hasPrepend.value,"v-list-group--fluid":t.fluid,"v-list-group--subgroup":t.subgroup,"v-list-group--open":n.value},t.class],style:t.style},{default:()=>[s.activator&&I(oi,{defaults:p.value},{default:()=>[I(WS,null,{default:()=>[s.activator({props:d.value,isOpen:n.value})]})]}),I(sn,{transition:{component:IS},disabled:!u.value},{default:()=>{var m;return[ms(I("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(m=s.default)==null?void 0:m.call(s)]),[[mo,n.value]])]}})]})),{isOpen:n}}}),XS=vt({opacity:[Number,String],...oe(),...$e()},"VListItemSubtitle"),YS=Ut()({name:"VListItemSubtitle",props:XS(),setup(t,e){let{slots:s}=e;return le(()=>I(t.tag,{class:["v-list-item-subtitle",t.class],style:[{"--v-list-item-subtitle-opacity":t.opacity},t.style]},s)),{}}}),$S=pf("v-list-item-title"),ZS=vt({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:re,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:re,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:Is(),onClickOnce:Is(),...Na(),...oe(),...Cn(),...Ra(),...To(),...Hs(),...yd(),...$e(),...Bi(),...Mn({variant:"text"})},"VListItem"),nn=Ut()({name:"VListItem",directives:{Ripple:kd},props:ZS(),emits:{click:t=>!0},setup(t,e){let{attrs:s,slots:n,emit:a}=e;const r=_d(t,s),o=B(()=>t.value===void 0?r.href.value:t.value),{activate:l,isActivated:u,select:c,isOpen:d,isSelected:b,isIndeterminate:p,isGroupActivator:m,root:f,parent:v,openOnSelect:_,id:g}=Uf(o,!1),h=Gf(),y=B(()=>{var zt;return t.active!==!1&&(t.active||((zt=r.isActive)==null?void 0:zt.value)||(f.activatable.value?u.value:b.value))}),k=B(()=>t.link!==!1&&r.isLink.value),w=B(()=>!!h&&(f.selectable.value||f.activatable.value||t.value!=null)),P=B(()=>!t.disabled&&t.link!==!1&&(t.link||r.isClickable.value||w.value)),A=B(()=>t.rounded||t.nav),E=B(()=>t.color??t.activeColor),S=B(()=>({color:y.value?E.value??t.baseColor:t.baseColor,variant:t.variant}));Tt(()=>{var zt;return(zt=r.isActive)==null?void 0:zt.value},zt=>{zt&&L()}),lo(()=>{var zt;(zt=r.isActive)!=null&&zt.value&&L()});function L(){v.value!=null&&f.open(v.value,!0),_(!0)}const{themeClasses:N}=Gi(t),{borderClasses:M}=Ba(t),{colorClasses:x,colorStyles:H,variantClasses:X}=Ao(S),{densityClasses:it}=Ga(t),{dimensionStyles:mt}=Oa(t),{elevationClasses:dt}=Po(t),{roundedClasses:Pt}=Vs(A),Lt=B(()=>t.lines?`v-list-item--${t.lines}-line`:void 0),tt=B(()=>({isActive:y.value,select:c,isOpen:d.value,isSelected:b.value,isIndeterminate:p.value}));function et(zt){var ge;a("click",zt),P.value&&((ge=r.navigate)==null||ge.call(r,zt),!m&&(f.activatable.value?l(!u.value,zt):(f.selectable.value||t.value!=null)&&c(!b.value,zt)))}function kt(zt){(zt.key==="Enter"||zt.key===" ")&&(zt.preventDefault(),zt.target.dispatchEvent(new MouseEvent("click",zt)))}return le(()=>{const zt=k.value?"a":t.tag,ge=n.title||t.title!=null,ht=n.subtitle||t.subtitle!=null,F=!!(t.appendAvatar||t.appendIcon),J=!!(F||n.append),Q=!!(t.prependAvatar||t.prependIcon),rt=!!(Q||n.prepend);return h==null||h.updateHasPrepend(rt),t.activeColor&&mw("active-color",["color","base-color"]),ms(I(zt,Bt({class:["v-list-item",{"v-list-item--active":y.value,"v-list-item--disabled":t.disabled,"v-list-item--link":P.value,"v-list-item--nav":t.nav,"v-list-item--prepend":!rt&&(h==null?void 0:h.hasPrepend.value),"v-list-item--slim":t.slim,[`${t.activeClass}`]:t.activeClass&&y.value},N.value,M.value,x.value,it.value,dt.value,Lt.value,Pt.value,X.value,t.class],style:[H.value,mt.value,t.style],tabindex:P.value?h?-2:0:void 0,"aria-selected":w.value?f.activatable.value?u.value:f.selectable.value?b.value:y.value:void 0,onClick:et,onKeydown:P.value&&!k.value&&kt},r.linkProps),{default:()=>{var xt;return[zo(P.value||y.value,"v-list-item"),rt&&I("div",{key:"prepend",class:"v-list-item__prepend"},[n.prepend?I(oi,{key:"prepend-defaults",disabled:!Q,defaults:{VAvatar:{density:t.density,image:t.prependAvatar},VIcon:{density:t.density,icon:t.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var j;return[(j=n.prepend)==null?void 0:j.call(n,tt.value)]}}):I(bt,null,[t.prependAvatar&&I(zn,{key:"prepend-avatar",density:t.density,image:t.prependAvatar},null),t.prependIcon&&I(ee,{key:"prepend-icon",density:t.density,icon:t.prependIcon},null)]),I("div",{class:"v-list-item__spacer"},null)]),I("div",{class:"v-list-item__content","data-no-activator":""},[ge&&I($S,{key:"title"},{default:()=>{var j;return[((j=n.title)==null?void 0:j.call(n,{title:t.title}))??t.title]}}),ht&&I(YS,{key:"subtitle"},{default:()=>{var j;return[((j=n.subtitle)==null?void 0:j.call(n,{subtitle:t.subtitle}))??t.subtitle]}}),(xt=n.default)==null?void 0:xt.call(n,tt.value)]),J&&I("div",{key:"append",class:"v-list-item__append"},[n.append?I(oi,{key:"append-defaults",disabled:!F,defaults:{VAvatar:{density:t.density,image:t.appendAvatar},VIcon:{density:t.density,icon:t.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var j;return[(j=n.append)==null?void 0:j.call(n,tt.value)]}}):I(bt,null,[t.appendIcon&&I(ee,{key:"append-icon",density:t.density,icon:t.appendIcon},null),t.appendAvatar&&I(zn,{key:"append-avatar",density:t.density,image:t.appendAvatar},null)]),I("div",{class:"v-list-item__spacer"},null)])]}}),[[xa("ripple"),P.value&&t.ripple]])}),{activate:l,isActivated:u,isGroupActivator:m,isSelected:b,list:h,select:c,root:f,id:g,link:r}}}),QS=vt({color:String,inset:Boolean,sticky:Boolean,title:String,...oe(),...$e()},"VListSubheader"),JS=Ut()({name:"VListSubheader",props:QS(),setup(t,e){let{slots:s}=e;const{textColorClasses:n,textColorStyles:a}=wo(Ht(t,"color"));return le(()=>{const r=!!(s.default||t.title);return I(t.tag,{class:["v-list-subheader",{"v-list-subheader--inset":t.inset,"v-list-subheader--sticky":t.sticky},n.value,t.class],style:[{textColorStyles:a},t.style]},{default:()=>{var o;return[r&&I("div",{class:"v-list-subheader__text"},[((o=s.default)==null?void 0:o.call(s))??t.title])]}})}),{}}}),tz=vt({items:Array,returnObject:Boolean},"VListChildren"),Wf=Ut()({name:"VListChildren",props:tz(),setup(t,e){let{slots:s}=e;return Bf(),()=>{var n,a;return((n=s.default)==null?void 0:n.call(s))??((a=t.items)==null?void 0:a.map(r=>{var p,m;let{children:o,props:l,type:u,raw:c}=r;if(u==="divider")return((p=s.divider)==null?void 0:p.call(s,{props:l}))??I(Rf,l,null);if(u==="subheader")return((m=s.subheader)==null?void 0:m.call(s,{props:l}))??I(JS,l,null);const d={subtitle:s.subtitle?f=>{var v;return(v=s.subtitle)==null?void 0:v.call(s,{...f,item:c})}:void 0,prepend:s.prepend?f=>{var v;return(v=s.prepend)==null?void 0:v.call(s,{...f,item:c})}:void 0,append:s.append?f=>{var v;return(v=s.append)==null?void 0:v.call(s,{...f,item:c})}:void 0,title:s.title?f=>{var v;return(v=s.title)==null?void 0:v.call(s,{...f,item:c})}:void 0},b=Zb.filterProps(l);return o?I(Zb,Bt({value:l==null?void 0:l.value},b),{activator:f=>{let{props:v}=f;const _={...l,...v,value:t.returnObject?c:l.value};return s.header?s.header({props:_}):I(nn,_,d)},default:()=>I(Wf,{items:o,returnObject:t.returnObject},s)}):s.item?s.item({props:l}):I(nn,Bt(l,{value:t.returnObject?c:l.value}),d)}))}}}),ez=vt({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"},returnObject:Boolean,valueComparator:Function},"list-items");function lu(t,e){const s=Yi(e,t.itemTitle,e),n=Yi(e,t.itemValue,s),a=Yi(e,t.itemChildren),r=t.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?Da(e,["children"]):e:void 0:Yi(e,t.itemProps),o={title:s,value:n,...r};return{title:String(o.title??""),value:o.value,props:o,children:Array.isArray(a)?Kf(t,a):void 0,raw:e}}function Kf(t,e){const s=ud(t,["itemTitle","itemValue","itemChildren","itemProps","returnObject","valueComparator"]),n=[];for(const a of e)n.push(lu(s,a));return n}function KE(t){const e=B(()=>Kf(t,t.items)),s=B(()=>e.value.some(l=>l.value===null)),n=Mt(new Map),a=Mt([]);_s(()=>{const l=e.value,u=new Map,c=[];for(let d=0;d<l.length;d++){const b=l[d];if(sf(b.value)||b.value===null){let p=u.get(b.value);p||(p=[],u.set(b.value,p)),p.push(b)}else c.push(b)}n.value=u,a.value=c});function r(l){const u=n.value,c=e.value,d=a.value,b=s.value,p=t.returnObject,m=!!t.valueComparator,f=t.valueComparator||La,v=ud(t,["itemTitle","itemValue","itemChildren","itemProps","returnObject","valueComparator"]),_=[];t:for(const g of l){if(!b&&g===null)continue;if(p&&typeof g=="string"){_.push(lu(v,g));continue}const h=u.get(g);if(m||!h){for(const y of m?c:d)if(f(g,y.value)){_.push(y);continue t}_.push(lu(v,g));continue}_.push(...h)}return _}function o(l){return t.returnObject?l.map(u=>{let{raw:c}=u;return c}):l.map(u=>{let{value:c}=u;return c})}return{items:e,transformIn:r,transformOut:o}}function iz(t,e){const s=Yi(e,t.itemType,"item"),n=sf(e)?e:Yi(e,t.itemTitle),a=Yi(e,t.itemValue,void 0),r=Yi(e,t.itemChildren),o=t.itemProps===!0?Da(e,["children"]):Yi(e,t.itemProps),l={title:n,value:a,...o};return{type:s,title:l.title,value:l.value,props:l,children:s==="item"&&r?Xf(t,r):void 0,raw:e}}function Xf(t,e){const s=[];for(const n of e)s.push(iz(t,n));return s}function sz(t){return{items:B(()=>Xf(t,t.items))}}const nz=vt({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,expandIcon:re,collapseIcon:re,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,"onClick:open":Is(),"onClick:select":Is(),"onUpdate:opened":Is(),...FS({selectStrategy:"single-leaf",openStrategy:"list"}),...Na(),...oe(),...Cn(),...Ra(),...To(),itemType:{type:String,default:"type"},...ez(),...Hs(),...$e(),...Bi(),...Mn({variant:"text"})},"VList"),uu=Ut()({name:"VList",props:nz(),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:n}=sz(t),{themeClasses:a}=Gi(t),{backgroundColorClasses:r,backgroundColorStyles:o}=mn(Ht(t,"bgColor")),{borderClasses:l}=Ba(t),{densityClasses:u}=Ga(t),{dimensionStyles:c}=Oa(t),{elevationClasses:d}=Po(t),{roundedClasses:b}=Vs(t),{children:p,open:m,parents:f,select:v,getPath:_}=HS(t),g=B(()=>t.lines?`v-list--${t.lines}-line`:void 0),h=Ht(t,"activeColor"),y=Ht(t,"baseColor"),k=Ht(t,"color");Bf(),ko({VListGroup:{activeColor:h,baseColor:y,color:k,expandIcon:Ht(t,"expandIcon"),collapseIcon:Ht(t,"collapseIcon")},VListItem:{activeClass:Ht(t,"activeClass"),activeColor:h,baseColor:y,color:k,density:Ht(t,"density"),disabled:Ht(t,"disabled"),lines:Ht(t,"lines"),nav:Ht(t,"nav"),slim:Ht(t,"slim"),variant:Ht(t,"variant")}});const w=Mt(!1),P=lt();function A(x){w.value=!0}function E(x){w.value=!1}function S(x){var H;!w.value&&!(x.relatedTarget&&((H=P.value)!=null&&H.contains(x.relatedTarget)))&&M()}function L(x){const H=x.target;if(!(!P.value||["INPUT","TEXTAREA"].includes(H.tagName))){if(x.key==="ArrowDown")M("next");else if(x.key==="ArrowUp")M("prev");else if(x.key==="Home")M("first");else if(x.key==="End")M("last");else return;x.preventDefault()}}function N(x){w.value=!0}function M(x){if(P.value)return ra(P.value,x)}return le(()=>I(t.tag,{ref:P,class:["v-list",{"v-list--disabled":t.disabled,"v-list--nav":t.nav,"v-list--slim":t.slim},a.value,r.value,l.value,u.value,d.value,g.value,b.value,t.class],style:[o.value,c.value,t.style],tabindex:t.disabled?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:A,onFocusout:E,onFocus:S,onKeydown:L,onMousedown:N},{default:()=>[I(Wf,{items:n.value,returnObject:t.returnObject},s)]})),{open:m,select:v,focus:M,children:p,parents:f,getPath:_}}});function sl(t,e){return{x:t.x+e.x,y:t.y+e.y}}function az(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Qb(t,e){if(t.side==="top"||t.side==="bottom"){const{side:s,align:n}=t,a=n==="left"?0:n==="center"?e.width/2:n==="right"?e.width:n,r=s==="top"?0:s==="bottom"?e.height:s;return sl({x:a,y:r},e)}else if(t.side==="left"||t.side==="right"){const{side:s,align:n}=t,a=s==="left"?0:s==="right"?e.width:s,r=n==="top"?0:n==="center"?e.height/2:n==="bottom"?e.height:n;return sl({x:a,y:r},e)}return sl({x:e.width/2,y:e.height/2},e)}const Yf={static:lz,connected:dz},rz=vt({locationStrategy:{type:[String,Function],default:"static",validator:t=>typeof t=="function"||t in Yf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function oz(t,e){const s=lt({}),n=lt();$t&&Eo(()=>!!(e.isActive.value&&t.locationStrategy),r=>{var o,l;Tt(()=>t.locationStrategy,r),wi(()=>{window.removeEventListener("resize",a),n.value=void 0}),window.addEventListener("resize",a,{passive:!0}),typeof t.locationStrategy=="function"?n.value=(o=t.locationStrategy(e,t,s))==null?void 0:o.updateLocation:n.value=(l=Yf[t.locationStrategy](e,t,s))==null?void 0:l.updateLocation});function a(r){var o;(o=n.value)==null||o.call(n,r)}return{contentStyles:s,updateLocation:n}}function lz(){}function uz(t,e){const s=of(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)||Iw(t.target.value))&&Object.assign(s.value,{position:"fixed",top:0,[t.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:r}=cd(()=>{const f=tu(e.location,t.isRtl.value),v=e.origin==="overlap"?f:e.origin==="auto"?Jo(f):tu(e.origin,t.isRtl.value);return f.side===v.side&&f.align===tl(v).align?{preferredAnchor:Eb(f),preferredOrigin:Eb(v)}:{preferredAnchor:f,preferredOrigin:v}}),[o,l,u,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(f=>B(()=>{const v=parseFloat(e[f]);return isNaN(v)?1/0:v})),d=B(()=>{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;const p=new ResizeObserver(()=>{b&&m()});Tt([t.target,t.contentEl],(f,v)=>{let[_,g]=f,[h,y]=v;h&&!Array.isArray(h)&&p.unobserve(h),_&&!Array.isArray(_)&&p.observe(_),y&&p.unobserve(y),g&&p.observe(g)},{immediate:!0}),wi(()=>{p.disconnect()});function m(){if(b=!1,requestAnimationFrame(()=>b=!0),!t.target.value||!t.contentEl.value)return;const f=rf(t.target.value),v=uz(t.contentEl.value,t.isRtl.value),_=qr(t.contentEl.value),g=12;_.length||(_.push(document.documentElement),t.contentEl.value.style.top&&t.contentEl.value.style.left||(v.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),v.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const h=_.reduce((N,M)=>{const x=M.getBoundingClientRect(),H=new Ls({x:M===document.documentElement?0:x.x,y:M===document.documentElement?0:x.y,width:M.clientWidth,height:M.clientHeight});return N?new Ls({x:Math.max(N.left,H.left),y:Math.max(N.top,H.top),width:Math.min(N.right,H.right)-Math.max(N.left,H.left),height:Math.min(N.bottom,H.bottom)-Math.max(N.top,H.top)}):H},void 0);h.x+=g,h.y+=g,h.width-=g*2,h.height-=g*2;let y={anchor:a.value,origin:r.value};function k(N){const M=new Ls(v),x=Qb(N.anchor,f),H=Qb(N.origin,M);let{x:X,y:it}=az(x,H);switch(N.anchor.side){case"top":it-=d.value[0];break;case"bottom":it+=d.value[0];break;case"left":X-=d.value[0];break;case"right":X+=d.value[0];break}switch(N.anchor.align){case"top":it-=d.value[1];break;case"bottom":it+=d.value[1];break;case"left":X-=d.value[1];break;case"right":X+=d.value[1];break}return M.x+=X,M.y+=it,M.width=Math.min(M.width,u.value),M.height=Math.min(M.height,c.value),{overflows:Cb(M,h),x:X,y:it}}let w=0,P=0;const A={x:0,y:0},E={x:!1,y:!1};let S=-1;for(;!(S++>10);){const{x:N,y:M,overflows:x}=k(y);w+=N,P+=M,v.x+=N,v.y+=M;{const H=jb(y.anchor),X=x.x.before||x.x.after,it=x.y.before||x.y.after;let mt=!1;if(["x","y"].forEach(dt=>{if(dt==="x"&&X&&!E.x||dt==="y"&&it&&!E.y){const Pt={anchor:{...y.anchor},origin:{...y.origin}},Lt=dt==="x"?H==="y"?tl:Jo:H==="y"?Jo:tl;Pt.anchor=Lt(Pt.anchor),Pt.origin=Lt(Pt.origin);const{overflows:tt}=k(Pt);(tt[dt].before<=x[dt].before&&tt[dt].after<=x[dt].after||tt[dt].before+tt[dt].after<(x[dt].before+x[dt].after)/2)&&(y=Pt,mt=E[dt]=!0)}}),mt)continue}x.x.before&&(w+=x.x.before,v.x+=x.x.before),x.x.after&&(w-=x.x.after,v.x-=x.x.after),x.y.before&&(P+=x.y.before,v.y+=x.y.before),x.y.after&&(P-=x.y.after,v.y-=x.y.after);{const H=Cb(v,h);A.x=h.width-H.x.before-H.x.after,A.y=h.height-H.y.before-H.y.after,w+=H.x.before,v.x+=H.x.before,P+=H.y.before,v.y+=H.y.before}break}const L=jb(y.anchor);return Object.assign(s.value,{"--v-overlay-anchor-origin":`${y.anchor.side} ${y.anchor.align}`,transformOrigin:`${y.origin.side} ${y.origin.align}`,top:Dt(nl(P)),left:t.isRtl.value?void 0:Dt(nl(w)),right:t.isRtl.value?Dt(nl(-w)):void 0,minWidth:Dt(L==="y"?Math.min(o.value,f.width):o.value),maxWidth:Dt(Jb(wn(A.x,o.value===1/0?0:o.value,u.value))),maxHeight:Dt(Jb(wn(A.y,l.value===1/0?0:l.value,c.value)))}),{available:A,contentBox:v}}return Tt(()=>[a.value,r.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>m()),Si(()=>{const f=m();if(!f)return;const{available:v,contentBox:_}=f;_.height>v.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function nl(t){return Math.round(t*devicePixelRatio)/devicePixelRatio}function Jb(t){return Math.ceil(t*devicePixelRatio)/devicePixelRatio}let du=!0;const Vr=[];function cz(t){!du||Vr.length?(Vr.push(t),cu()):(du=!1,t(),cu())}let tp=-1;function cu(){cancelAnimationFrame(tp),tp=requestAnimationFrame(()=>{const t=Vr.shift();t&&t(),Vr.length?cu():du=!0})}const gr={none:null,close:mz,block:fz,reposition:vz},bz=vt({scrollStrategy:{type:[String,Function],default:"block",validator:t=>typeof t=="function"||t in gr}},"VOverlay-scroll-strategies");function pz(t,e){if(!$t)return;let s;_s(async()=>{s==null||s.stop(),e.isActive.value&&t.scrollStrategy&&(s=io(),await new Promise(n=>setTimeout(n)),s.active&&s.run(()=>{var n;typeof t.scrollStrategy=="function"?t.scrollStrategy(e,t,s):(n=gr[t.scrollStrategy])==null||n.call(gr,e,t,s)}))}),wi(()=>{s==null||s.stop()})}function mz(t){function e(s){t.isActive.value=!1}$f(t.targetEl.value??t.contentEl.value,e)}function fz(t,e){var o;const s=(o=t.root.value)==null?void 0:o.offsetParent,n=[...new Set([...qr(t.targetEl.value,e.contained?s:void 0),...qr(t.contentEl.value,e.contained?s:void 0)])].filter(l=>!l.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(l=>md(l)&&l)(s||document.documentElement);r&&t.root.value.classList.add("v-overlay--scroll-blocked"),n.forEach((l,u)=>{l.style.setProperty("--v-body-scroll-x",Dt(-l.scrollLeft)),l.style.setProperty("--v-body-scroll-y",Dt(-l.scrollTop)),l!==document.documentElement&&l.style.setProperty("--v-scrollbar-offset",Dt(a)),l.classList.add("v-overlay-scroll-blocked")}),wi(()=>{n.forEach((l,u)=>{const c=parseFloat(l.style.getPropertyValue("--v-body-scroll-x")),d=parseFloat(l.style.getPropertyValue("--v-body-scroll-y")),b=l.style.scrollBehavior;l.style.scrollBehavior="auto",l.style.removeProperty("--v-body-scroll-x"),l.style.removeProperty("--v-body-scroll-y"),l.style.removeProperty("--v-scrollbar-offset"),l.classList.remove("v-overlay-scroll-blocked"),l.scrollLeft=-c,l.scrollTop=-d,l.style.scrollBehavior=b}),r&&t.root.value.classList.remove("v-overlay--scroll-blocked")})}function vz(t,e,s){let n=!1,a=-1,r=-1;function o(l){cz(()=>{var d,b;const u=performance.now();(b=(d=t.updateLocation).value)==null||b.call(d,l),n=(performance.now()-u)/(1e3/60)>2})}r=(typeof requestIdleCallback>"u"?l=>l():requestIdleCallback)(()=>{s.run(()=>{$f(t.targetEl.value??t.contentEl.value,l=>{n?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{o(l)})})):o(l)})})}),wi(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}function $f(t,e){const s=[document,...qr(t)];s.forEach(n=>{n.addEventListener("scroll",e,{passive:!0})}),wi(()=>{s.forEach(n=>{n.removeEventListener("scroll",e)})})}const bu=Symbol.for("vuetify:v-menu"),gz=vt({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function hz(t,e){let s=()=>{};function n(o){s==null||s();const l=Number(o?t.openDelay:t.closeDelay);return new Promise(u=>{s=$k(l,()=>{e==null||e(o),u(o)})})}function a(){return n(!0)}function r(){return n(!1)}return{clearDelay:s,runOpenDelay:a,runCloseDelay:r}}const _z=vt({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:n,contentEl:a}=e;const r=Se("useActivator"),o=lt();let l=!1,u=!1,c=!0;const d=B(()=>t.openOnFocus||t.openOnFocus==null&&t.openOnHover),b=B(()=>t.openOnClick||t.openOnClick==null&&!t.openOnHover&&!d.value),{runOpenDelay:p,runCloseDelay:m}=hz(t,E=>{E===(t.openOnHover&&l||d.value&&u)&&!(t.openOnHover&&s.value&&!n.value)&&(s.value!==E&&(c=!0),s.value=E)}),f=lt(),v={onClick:E=>{E.stopPropagation(),o.value=E.currentTarget||E.target,s.value||(f.value=[E.clientX,E.clientY]),s.value=!s.value},onMouseenter:E=>{var S;(S=E.sourceCapabilities)!=null&&S.firesTouchEvents||(l=!0,o.value=E.currentTarget||E.target,p())},onMouseleave:E=>{l=!1,m()},onFocus:E=>{Xk(E.target,":focus-visible")!==!1&&(u=!0,E.stopPropagation(),o.value=E.currentTarget||E.target,p())},onBlur:E=>{u=!1,E.stopPropagation(),m()}},_=B(()=>{const E={};return b.value&&(E.onClick=v.onClick),t.openOnHover&&(E.onMouseenter=v.onMouseenter,E.onMouseleave=v.onMouseleave),d.value&&(E.onFocus=v.onFocus,E.onBlur=v.onBlur),E}),g=B(()=>{const E={};if(t.openOnHover&&(E.onMouseenter=()=>{l=!0,p()},E.onMouseleave=()=>{l=!1,m()}),d.value&&(E.onFocusin=()=>{u=!0,p()},E.onFocusout=()=>{u=!1,m()}),t.closeOnContentClick){const S=Kt(bu,null);E.onClick=()=>{s.value=!1,S==null||S.closeParents()}}return E}),h=B(()=>{const E={};return t.openOnHover&&(E.onMouseenter=()=>{c&&(l=!0,c=!1,p())},E.onMouseleave=()=>{l=!1,m()}),E});Tt(n,E=>{var S;E&&(t.openOnHover&&!l&&(!d.value||!u)||d.value&&!u&&(!t.openOnHover||!l))&&!((S=a.value)!=null&&S.contains(document.activeElement))&&(s.value=!1)}),Tt(s,E=>{E||setTimeout(()=>{f.value=void 0})},{flush:"post"});const y=Jl();_s(()=>{y.value&&Si(()=>{o.value=y.el})});const k=Jl(),w=B(()=>t.target==="cursor"&&f.value?f.value:k.value?k.el:Zf(t.target,r)||o.value),P=B(()=>Array.isArray(w.value)?void 0:w.value);let A;return Tt(()=>!!t.activator,E=>{E&&$t?(A=io(),A.run(()=>{kz(t,r,{activatorEl:o,activatorEvents:_})})):A&&A.stop()},{flush:"post",immediate:!0}),wi(()=>{A==null||A.stop()}),{activatorEl:o,activatorRef:y,target:w,targetEl:P,targetRef:k,activatorEvents:_,contentEvents:g,scrimEvents:h}}function kz(t,e,s){let{activatorEl:n,activatorEvents:a}=s;Tt(()=>t.activator,(u,c)=>{if(c&&u!==c){const d=l(c);d&&o(d)}u&&Si(()=>r())},{immediate:!0}),Tt(()=>t.activatorProps,()=>{r()}),wi(()=>{o()});function r(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;u&&sw(u,Bt(a.value,c))}function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.activatorProps;u&&nw(u,Bt(a.value,c))}function l(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.activator;const c=Zf(u,e);return n.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,n.value}}function Zf(t,e){var n,a;if(!t)return;let s;if(t==="parent"){let r=(a=(n=e==null?void 0:e.proxy)==null?void 0:n.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;s=r}else typeof t=="string"?s=document.querySelector(t):"$el"in t?s=t.$el:s=t;return s}const XE=["sm","md","lg","xl","xxl"],pu=Symbol.for("vuetify:display"),ep={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]:ep;return Me(ep,t)};function ip(t){return $t&&!t?window.innerWidth:typeof t=="object"&&t.clientWidth||0}function sp(t){return $t&&!t?window.innerHeight:typeof t=="object"&&t.clientHeight||0}function np(t){const e=$t&&!t?window.navigator.userAgent:"ssr";function s(f){return!!e.match(f)}const n=s(/android/i),a=s(/iphone|ipad|ipod/i),r=s(/cordova/i),o=s(/electron/i),l=s(/chrome/i),u=s(/edge/i),c=s(/firefox/i),d=s(/opera/i),b=s(/win/i),p=s(/mac/i),m=s(/linux/i);return{android:n,ios:a,cordova:r,electron:o,chrome:l,edge:u,firefox:c,opera:d,win:b,mac:p,linux:m,touch:qk,ssr:e==="ssr"}}function Sz(t,e){const{thresholds:s,mobileBreakpoint:n}=wz(t),a=Mt(sp(e)),r=Mt(np(e)),o=ce({}),l=Mt(ip(e));function u(){a.value=sp(),l.value=ip()}function c(){u(),r.value=np()}return _s(()=>{const d=l.value<s.sm,b=l.value<s.md&&!d,p=l.value<s.lg&&!(b||d),m=l.value<s.xl&&!(p||b||d),f=l.value<s.xxl&&!(m||p||b||d),v=l.value>=s.xxl,_=d?"xs":b?"sm":p?"md":m?"lg":f?"xl":"xxl",g=typeof n=="number"?n:s[n],h=l.value<g;o.xs=d,o.sm=b,o.md=p,o.lg=m,o.xl=f,o.xxl=v,o.smAndUp=!d,o.mdAndUp=!(d||b),o.lgAndUp=!(d||b||p),o.xlAndUp=!(d||b||p||m),o.smAndDown=!(p||m||f||v),o.mdAndDown=!(m||f||v),o.lgAndDown=!(f||v),o.xlAndDown=!v,o.name=_,o.height=a.value,o.width=l.value,o.mobile=h,o.mobileBreakpoint=n,o.platform=r.value,o.thresholds=s}),$t&&window.addEventListener("resize",u,{passive:!0}),{...ao(o),update:c,ssr:!!e}}const zz=vt({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function Qf(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss();const s=Kt(pu);if(!s)throw new Error("Could not find Vuetify display injection");const n=B(()=>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),a=B(()=>e?{[`${e}--mobile`]:n.value}:{});return{...s,displayClasses:a,mobile:n}}function Az(){if(!$t)return Mt(!1);const{ssr:t}=Qf();if(t){const e=Mt(!1);return bi(()=>{e.value=!0}),e}else return Mt(!0)}const Tz=vt({eager:Boolean},"lazy");function Pz(t,e){const s=Mt(!1),n=B(()=>s.value||t.eager||e.value);Tt(e,()=>s.value=!0);function a(){t.eager||(s.value=!1)}return{isBooted:s,hasContent:n,onAfterLeave:a}}function zd(){const e=Se("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const ap=Symbol.for("vuetify:stack"),qn=ce([]);function Ez(t,e,s){const n=Se("useStack"),a=!s,r=Kt(ap,void 0),o=ce({activeChildren:new Set});Pe(ap,o);const l=Mt(+e.value);Eo(t,()=>{var b;const d=(b=qn.at(-1))==null?void 0:b[1];l.value=d?d+10:+e.value,a&&qn.push([n.uid,l.value]),r==null||r.activeChildren.add(n.uid),wi(()=>{if(a){const p=pt(qn).findIndex(m=>m[0]===n.uid);qn.splice(p,1)}r==null||r.activeChildren.delete(n.uid)})});const u=Mt(!0);a&&_s(()=>{var b;const d=((b=qn.at(-1))==null?void 0:b[0])===n.uid;setTimeout(()=>u.value=d)});const c=B(()=>!o.activeChildren.size);return{globalTop:Ea(u),localTop:c,stackStyles:B(()=>({zIndex:l.value}))}}function jz(t){return{teleportTarget:B(()=>{const s=t();if(s===!0||!$t)return;const n=s===!1?document.body:typeof s=="string"?document.querySelector(s):s;if(n==null)return;let a=[...n.children].find(r=>r.matches(".v-overlay-container"));return a||(a=document.createElement("div"),a.className="v-overlay-container",n.appendChild(a)),a})}}function Cz(){return!0}function Jf(t,e,s){if(!t||t2(t,s)===!1)return!1;const n=mf(e);if(typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&n.host===t.target)return!1;const a=(typeof s.value=="object"&&s.value.include||(()=>[]))();return a.push(e),!a.some(r=>r==null?void 0:r.contains(t.target))}function t2(t,e){return(typeof e.value=="object"&&e.value.closeConditional||Cz)(t)}function Mz(t,e,s){const n=typeof s.value=="function"?s.value:s.value.handler;t.shadowTarget=t.target,e._clickOutside.lastMousedownWasOutside&&Jf(t,e,s)&&setTimeout(()=>{t2(t,s)&&n&&n(t)},0)}function rp(t,e){const s=mf(t);e(document),typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&e(s)}const xz={mounted(t,e){const s=a=>Mz(a,t,e),n=a=>{t._clickOutside.lastMousedownWasOutside=Jf(a,t,e)};rp(t,a=>{a.addEventListener("click",s,!0),a.addEventListener("mousedown",n,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!1}),t._clickOutside[e.instance.$.uid]={onClick:s,onMousedown:n}},beforeUnmount(t,e){t._clickOutside&&(rp(t,s=>{var r;if(!s||!((r=t._clickOutside)!=null&&r[e.instance.$.uid]))return;const{onClick:n,onMousedown:a}=t._clickOutside[e.instance.$.uid];s.removeEventListener("click",n,!0),s.removeEventListener("mousedown",a,!0)}),delete t._clickOutside[e.instance.$.uid])}};function Iz(t){const{modelValue:e,color:s,...n}=t;return I(Bs,{name:"fade-transition",appear:!0},{default:()=>[t.modelValue&&I("div",Bt({class:["v-overlay__scrim",t.color.backgroundColorClasses.value],style:t.color.backgroundColorStyles.value},n),null)]})}const Ad=vt({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},..._z(),...oe(),...Ra(),...Tz(),...rz(),...bz(),...Bi(),...kf()},"VOverlay"),Ur=Ut()({name:"VOverlay",directives:{ClickOutside:xz},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Ad()},emits:{"click:outside":t=>!0,"update:modelValue":t=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(t,e){let{slots:s,attrs:n,emit:a}=e;const r=Se("VOverlay"),o=lt(),l=lt(),u=lt(),c=Ni(t,"modelValue"),d=B({get:()=>c.value,set:ht=>{ht&&t.disabled||(c.value=ht)}}),{themeClasses:b}=Gi(t),{rtlClasses:p,isRtl:m}=xn(),{hasContent:f,onAfterLeave:v}=Pz(t,d),_=mn(B(()=>typeof t.scrim=="string"?t.scrim:null)),{globalTop:g,localTop:h,stackStyles:y}=Ez(d,Ht(t,"zIndex"),t._disableGlobalStack),{activatorEl:k,activatorRef:w,target:P,targetEl:A,targetRef:E,activatorEvents:S,contentEvents:L,scrimEvents:N}=yz(t,{isActive:d,isTop:h,contentEl:u}),{teleportTarget:M}=jz(()=>{var J,Q,rt;const ht=t.attach||t.contained;if(ht)return ht;const F=((J=k==null?void 0:k.value)==null?void 0:J.getRootNode())||((rt=(Q=r.proxy)==null?void 0:Q.$el)==null?void 0:rt.getRootNode());return F instanceof ShadowRoot?F:!1}),{dimensionStyles:x}=Oa(t),H=Az(),{scopeId:X}=zd();Tt(()=>t.disabled,ht=>{ht&&(d.value=!1)});const{contentStyles:it,updateLocation:mt}=oz(t,{isRtl:m,contentEl:u,target:P,isActive:d});pz(t,{root:o,contentEl:u,targetEl:A,isActive:d,updateLocation:mt});function dt(ht){a("click:outside",ht),t.persistent?kt():d.value=!1}function Pt(ht){return d.value&&g.value&&(!t.scrim||ht.target===l.value||ht instanceof MouseEvent&&ht.shadowTarget===l.value)}$t&&Tt(d,ht=>{ht?window.addEventListener("keydown",Lt):window.removeEventListener("keydown",Lt)},{immediate:!0}),Ye(()=>{$t&&window.removeEventListener("keydown",Lt)});function Lt(ht){var F,J;ht.key==="Escape"&&g.value&&(t.persistent?kt():(d.value=!1,(F=u.value)!=null&&F.contains(document.activeElement)&&((J=k.value)==null||J.focus())))}const tt=kS();Eo(()=>t.closeOnBack,()=>{wS(tt,ht=>{g.value&&d.value?(ht(!1),t.persistent?kt():d.value=!1):ht()})});const et=lt();Tt(()=>d.value&&(t.absolute||t.contained)&&M.value==null,ht=>{if(ht){const F=Mw(o.value);F&&F!==document.scrollingElement&&(et.value=F.scrollTop)}});function kt(){t.noClickAnimation||u.value&&Wn(u.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:iu})}function zt(){a("afterEnter")}function ge(){v(),a("afterLeave")}return le(()=>{var ht;return I(bt,null,[(ht=s.activator)==null?void 0:ht.call(s,{isActive:d.value,targetRef:E,props:Bt({ref:w},S.value,t.activatorProps)}),H.value&&f.value&&I(Ev,{disabled:!M.value,to:M.value},{default:()=>[I("div",Bt({class:["v-overlay",{"v-overlay--absolute":t.absolute||t.contained,"v-overlay--active":d.value,"v-overlay--contained":t.contained},b.value,p.value,t.class],style:[y.value,{"--v-overlay-opacity":t.opacity,top:Dt(et.value)},t.style],ref:o},X,n),[I(Iz,Bt({color:_,modelValue:d.value&&!!t.scrim,ref:l},N.value),null),I(sn,{appear:!0,persisted:!0,transition:t.transition,target:P.value,onAfterEnter:zt,onAfterLeave:ge},{default:()=>{var F;return[ms(I("div",Bt({ref:u,class:["v-overlay__content",t.contentClass],style:[x.value,it.value]},L.value,t.contentProps),[(F=s.default)==null?void 0:F.call(s,{isActive:d})]),[[mo,d.value],[xa("click-outside"),{handler:dt,closeConditional:Pt,include:()=>[k.value]}]])]}})])]})])}),{activatorEl:k,scrimEl:l,target:P,animateClick:kt,contentEl:u,globalTop:g,localTop:h,updateLocation:mt}}}),al=Symbol("Forwarded refs");function rl(t,e){let s=t;for(;s;){const n=Reflect.getOwnPropertyDescriptor(s,e);if(n)return n;s=Object.getPrototypeOf(s)}}function e2(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),n=1;n<e;n++)s[n-1]=arguments[n];return t[al]=s,new Proxy(t,{get(a,r){if(Reflect.has(a,r))return Reflect.get(a,r);if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const o of s)if(o.value&&Reflect.has(o.value,r)){const l=Reflect.get(o.value,r);return typeof l=="function"?l.bind(o.value):l}}},has(a,r){if(Reflect.has(a,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(a,r,o){if(Reflect.has(a,r))return Reflect.set(a,r,o);if(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))return!1;for(const l of s)if(l.value&&Reflect.has(l.value,r))return Reflect.set(l.value,r,o);return!1},getOwnPropertyDescriptor(a,r){var l;const o=Reflect.getOwnPropertyDescriptor(a,r);if(o)return o;if(!(typeof r=="symbol"||r.startsWith("$")||r.startsWith("__"))){for(const u of s){if(!u.value)continue;const c=rl(u.value,r)??("_"in u.value?rl((l=u.value._)==null?void 0:l.setupState,r):void 0);if(c)return c}for(const u of s){const c=u.value&&u.value[al];if(!c)continue;const d=c.slice();for(;d.length;){const b=d.shift(),p=rl(b.value,r);if(p)return p;const m=b.value&&b.value[al];m&&d.push(...m)}}}}})}const Lz=vt({id:String,submenu:Boolean,...Da(Ad({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:xS}}),["absolute"])},"VMenu"),mu=Ut()({name:"VMenu",props:Lz(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const n=Ni(t,"modelValue"),{scopeId:a}=zd(),{isRtl:r}=xn(),o=En(),l=B(()=>t.id||`v-menu-${o}`),u=lt(),c=Kt(bu,null),d=Mt(new Set);Pe(bu,{register(){d.value.add(o)},unregister(){d.value.delete(o)},closeParents(_){setTimeout(()=>{var g;!d.value.size&&!t.persistent&&(_==null||(g=u.value)!=null&&g.contentEl&&!Zk(_,u.value.contentEl))&&(n.value=!1,c==null||c.closeParents())},40)}}),Ye(()=>{c==null||c.unregister(),document.removeEventListener("focusin",b)}),g0(()=>n.value=!1);async function b(_){var y,k,w;const g=_.relatedTarget,h=_.target;await Si(),n.value&&g!==h&&((y=u.value)!=null&&y.contentEl)&&((k=u.value)!=null&&k.globalTop)&&![document,u.value.contentEl].includes(h)&&!u.value.contentEl.contains(h)&&((w=Br(u.value.contentEl)[0])==null||w.focus())}Tt(n,_=>{_?(c==null||c.register(),$t&&document.addEventListener("focusin",b,{once:!0})):(c==null||c.unregister(),$t&&document.removeEventListener("focusin",b))},{immediate:!0});function p(_){c==null||c.closeParents(_)}function m(_){var g,h,y,k,w;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(),ef(Br((g=u.value)==null?void 0:g.contentEl,!1),_.shiftKey?"prev":"next",A=>A.tabIndex>=0)||(n.value=!1,(y=(h=u.value)==null?void 0:h.activatorEl)==null||y.focus())}else t.submenu&&_.key===(r.value?"ArrowRight":"ArrowLeft")&&(n.value=!1,(w=(k=u.value)==null?void 0:k.activatorEl)==null||w.focus())}function f(_){var h;if(t.disabled)return;const g=(h=u.value)==null?void 0:h.contentEl;g&&n.value?_.key==="ArrowDown"?(_.preventDefault(),_.stopImmediatePropagation(),ra(g,"next")):_.key==="ArrowUp"?(_.preventDefault(),_.stopImmediatePropagation(),ra(g,"prev")):t.submenu&&(_.key===(r.value?"ArrowRight":"ArrowLeft")?n.value=!1:_.key===(r.value?"ArrowLeft":"ArrowRight")&&(_.preventDefault(),ra(g,"first"))):(t.submenu?_.key===(r.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(_.key))&&(n.value=!0,_.preventDefault(),setTimeout(()=>setTimeout(()=>f(_))))}const v=B(()=>Bt({"aria-haspopup":"menu","aria-expanded":String(n.value),"aria-controls":l.value,onKeydown:f},t.activatorProps));return le(()=>{const _=Ur.filterProps(t);return I(Ur,Bt({ref:u,id:l.value,class:["v-menu",t.class],style:t.style},_,{modelValue:n.value,"onUpdate:modelValue":g=>n.value=g,absolute:!0,activatorProps:v.value,location:t.location??(t.submenu?"end":"bottom"),"onClick:outside":p,onKeydown:m},a),{activator:s.activator,default:function(){for(var g=arguments.length,h=new Array(g),y=0;y<g;y++)h[y]=arguments[y];return I(oi,{root:"VMenu"},{default:()=>{var k;return[(k=s.default)==null?void 0:k.call(s,...h)]}})}})}),e2({id:l,ΨopenChildren:d},u)}}),Dz={class:"icon-thumb",style:{"margin-left":"-8px",width:"50px",height:"50px","margin-right":"0px"}},Rz=async function(t,e,s=0,n=0,a=!1,r=!1){const o=Array.isArray(t)?t:[t];if(o.length==0||o[0].media_type==ut.FOLDER&&o[0].name=="..")return;const l=await Nz(o,e);a&&o[0].is_playable&&Ci(o[0])&&l.push(...await i2(o,e)),l.length!=0&&ma.emit("contextmenu",{items:l,posX:s,posY:n,showPlayMenuHeader:r})},op={[ze.NEXT]:"mdi-skip-next-circle-outline",[ze.ADD]:"mdi-playlist-plus",[ze.REPLACE]:"mdi-play-circle-outline",[ze.REPLACE_NEXT]:"mdi-skip-next-circle-outline",[ze.PLAY]:"mdi-play-circle-outline"},lp={[ze.NEXT]:"play_next",[ze.ADD]:"add_queue",[ze.REPLACE]:"play_replace",[ze.REPLACE_NEXT]:"play_replace_next",[ze.PLAY]:"play_now"},Oz=async function(t,e,s=0,n=0){const a=Array.isArray(t)?t:[t];a.length!=0&&ma.emit("contextmenu",{items:await i2(a,e),posX:s,posY:n,showPlayMenuHeader:!0})},i2=async function(t,e){const s=[];if(t.length==0||!Ci(t[0]))return s;const n=t.filter(l=>l.is_playable);if(n.length==0)return s;const a=n[0],r=await Y.getCoreConfigValue("player_queues",`default_enqueue_option_${a.media_type}`);if(!at.activePlayer)return s;s.push({label:lp[r],action:()=>{Y.playMedia(n.map(l=>l.uri),r),at.playMenuShown=!0},icon:op[r],labelArgs:[],disabled:!at.activePlayer}),n.length==1&&e&&e.uri!=a.uri&&(e.media_type==ut.PLAYLIST&&s.push({label:"play_playlist_from",action:()=>{Y.playMedia(e.uri,void 0,!1,n[0].item_id),at.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!at.activePlayer}),e.media_type==ut.ALBUM&&s.push({label:"play_album_from",action:()=>{Y.playMedia(e.uri,void 0,!1,a.item_id),at.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!at.activePlayer}),e.media_type==ut.PODCAST&&s.push({label:"play_from_here",action:()=>{Y.playMedia(e.uri,void 0,!1,a.item_id),at.playMenuShown=!0},icon:"mdi-play-circle-outline",labelArgs:[],disabled:!at.activePlayer})),Bz(a)&&s.push({label:"play_radio",action:()=>{Y.playMedia(t.map(l=>l.uri),ze.REPLACE,!0),at.playMenuShown=!0},icon:"mdi-radio-tower",labelArgs:[],disabled:!at.activePlayer});const o=[];for(const l of[ze.PLAY,ze.NEXT,ze.ADD,ze.REPLACE,ze.REPLACE_NEXT])o.push({label:lp[l],action:()=>{Y.playMedia(t.map(u=>u.uri),l),at.playMenuShown=!0},icon:op[l],labelArgs:[],disabled:!at.activePlayer,selected:l==r});return s.push({label:"all_enqueue_options",subItems:o,icon:"mdi-playlist-play",labelArgs:[],disabled:!at.activePlayer}),s},Nz=async function(t,e){const s=[];if(t.length==0)return s;const n=t[0];if(t.length===1&&n!==e&&[ut.ALBUM,ut.ARTIST,ut.AUDIOBOOK,ut.PLAYLIST,ut.PODCAST,ut.TRACK].includes(t[0].media_type)&&Ci(t[0])&&s.push({label:"show_info",labelArgs:[],action:()=>{var r;xi.push({name:n.media_type,params:{itemId:n.item_id,provider:n.provider},query:{album:"album"in t[0]?(r=t[0].album)==null?void 0:r.uri:""}})},icon:"mdi-information-outline"}),t.length===1&&t[0]!==e&&t[0].media_type==ut.FOLDER&&Ci(t[0])&&s.push({label:"browse",labelArgs:[],action:()=>{xi.push({name:"browse",query:{path:t[0].path}})},icon:"mdi-folder"}),t.length===1&&Ci(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:()=>{xi.push({name:"artist",params:{itemId:r.item_id,provider:r.provider}})},icon:"mdi-account-music"});t.length===1&&Ci(t[0])&&"album"in t[0]&&t[0].album&&s.push({label:"goto_album",labelArgs:[t[0].album.name],action:()=>{xi.push({name:"album",params:{itemId:t[0].album.item_id,provider:t[0].album.provider}})},icon:"mdi-album"});let a=n;if((n.provider!="library"||!("provider_mappings"in n))&&[ut.ALBUM,ut.ARTIST,ut.AUDIOBOOK,ut.PLAYLIST,ut.PODCAST,ut.RADIO,ut.TRACK].includes(n.media_type)&&(a=await Y.getLibraryItem(n.media_type,n.item_id,n.provider)||n),a.provider!="library"&&[ut.ALBUM,ut.ARTIST,ut.AUDIOBOOK,ut.PLAYLIST,ut.PODCAST,ut.RADIO,ut.TRACK].includes(a.media_type)&&Ci(a)&&s.push({label:"add_library",labelArgs:[],action:()=>{for(const r of t)Y.addItemToLibrary(r)},icon:"mdi-bookshelf"}),a.provider=="library"&&[ut.ALBUM,ut.ARTIST,ut.AUDIOBOOK,ut.PLAYLIST,ut.PODCAST,ut.RADIO,ut.TRACK].includes(a.media_type)&&s.push({label:"remove_library",labelArgs:[],action:()=>{if(confirm(jt("confirm_library_remove"))){for(const r of t)Y.removeItemFromLibrary(r.media_type,r.item_id);a.item_id==(e==null?void 0:e.item_id)&&xi.go(-1)}},icon:"mdi-bookshelf"}),"favorite"in a&&!a.favorite&&[ut.ALBUM,ut.ARTIST,ut.AUDIOBOOK,ut.PLAYLIST,ut.PODCAST,ut.RADIO,ut.TRACK].includes(a.media_type)&&Ci(a)&&s.push({label:"favorites_add",labelArgs:[],action:()=>{for(const r of t)Y.addItemToFavorites(r)},icon:"mdi-heart-outline"}),t.length===1&&"favorite"in a&&a.favorite&&a.provider=="library"&&[ut.ALBUM,ut.ARTIST,ut.AUDIOBOOK,ut.PLAYLIST,ut.PODCAST,ut.RADIO,ut.TRACK].includes(a.media_type)&&s.push({label:"favorites_remove",labelArgs:[],action:()=>{Y.removeItemFromFavorites(a.media_type,a.item_id),a.favorite=!1},icon:"mdi-heart"}),e&&e.media_type===ut.PLAYLIST){const r=e;t[0].media_type===ut.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===ut.TRACK||t[0].media_type===ut.ALBUM)&&s.push({label:"add_playlist",labelArgs:[],action:()=>{ma.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||!Ci(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},Bz=function(t){var e,s;if([ut.TRACK,ut.ARTIST,ut.ALBUM,ut.PLAYLIST].includes(t.media_type)){if("provider_mappings"in t){for(const n of t.provider_mappings)if((e=Y.providers[n.provider_instance])!=null&&e.supported_features.includes(pr.SIMILAR_TRACKS))return!0}else if((s=Y.providers[t.provider])!=null&&s.supported_features.includes(pr.SIMILAR_TRACKS))return!0;if(t.provider=="library"){for(const n of Object.values(Y.providers))if(n.supported_features.includes(pr.SIMILAR_TRACKS))return!0}return!1}},YE=ci({__name:"ItemContextMenu",setup(t){const e=lt(!1),s=lt([]),n=lt(0),a=lt(0),r=lt(!1),o=lt(!1),l=lt([]),u=lt(0),c=lt(0);bi(()=>{ma.on("contextmenu",async p=>{s.value=p.items,n.value=p.posX||0,a.value=p.posY||0,r.value=p.showPlayMenuHeader||!1,Si(()=>{e.value=!0})}),Ye(()=>{ma.off("contextmenu")})});const d=function(p,m){if(m.subItems){p.preventDefault(),l.value=m.subItems,u.value=p.clientX,c.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,at.dialogActive=!1)},b=function(p){p.preventDefault();const m=[],f=Object.values(Y.players).filter(v=>Hz(v,!1,!1,!1)).sort((v,_)=>{var g;return v.display_name.toUpperCase()>((g=_.display_name)==null?void 0:g.toUpperCase())?1:-1});for(const v of f)m.push({label:v.display_name,action:()=>{p.preventDefault(),at.activePlayerId=v.player_id,at.playMenuShown=!0},icon:v.icon,selected:at.activePlayerId==v.player_id,close_on_click:!1});l.value=m,u.value=p.clientX,c.value=p.clientY,o.value=!0};return(p,m)=>($(),st(bt,null,[I(mu,{modelValue:e.value,"onUpdate:modelValue":[m[0]||(m[0]=f=>e.value=f),m[1]||(m[1]=f=>{Z(at).dialogActive=f})],target:[n.value,a.value],scrim:!Z(at).showPlayersMenu,style:{"z-index":"999999"},"z-index":"999999"},{default:It(()=>[I(ru,{"min-width":"300"},{default:It(()=>[I(uu,{density:"compact",slim:"",tile:""},{default:It(()=>[r.value?($(),ui(nn,{key:0,link:"","append-icon":"mdi-chevron-right",onClick:Ho(b,["stop"])},{prepend:It(()=>[gt("div",Dz,[I(ee,{size:"35",icon:Z(at).activePlayer?Z(at).activePlayer.icon:"mdi-speaker",style:{display:"table-cell",opacity:"0.8"}},null,8,["icon"])])]),title:It(()=>{var f;return[I(nn,{title:Z(jt)("play_on"),density:"compact",subtitle:((f=Z(at).activePlayer)==null?void 0:f.display_name)||Z(jt)("no_player")},null,8,["title","subtitle"])]}),_:1})):Xt("",!0),r.value?($(),ui(Rf,{key:1,style:{"margin-top":"5px","margin-bottom":"5px"}})):Xt("",!0),($(!0),st(bt,null,mi(s.value.filter(f=>!f.hide),f=>{var v;return $(),st("div",{key:f.label,class:"menurow"},[I(nn,{variant:"text",title:Z(jt)(f.label,f.labelArgs||[]),disabled:f.disabled==!0,"prepend-icon":f.icon,border:"bottom","append-icon":f.selected?"mdi-check":(v=f.subItems)!=null&&v.length?"mdi-chevron-right":void 0,style:{"padding-left":"25px"},onClick:Ho(_=>d(_,f),["stop"])},null,8,["title","disabled","prepend-icon","append-icon","onClick"])])}),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target","scrim"]),I(mu,{modelValue:o.value,"onUpdate:modelValue":m[2]||(m[2]=f=>o.value=f),target:[u.value,c.value],style:{"z-index":"999999"},"z-index":"999999"},{default:It(()=>[I(ru,{"min-width":"260"},{default:It(()=>[I(uu,{density:"compact",slim:"",tile:""},{default:It(()=>[($(!0),st(bt,null,mi(l.value.filter(f=>!f.hide),f=>($(),st("div",{key:f.label,class:"menurow"},[I(nn,{variant:"text",title:Z(jt)(f.label,f.labelArgs||[]),disabled:f.disabled==!0,"prepend-icon":f.icon,"append-icon":f.selected?"mdi-check":void 0,onClick:Ho(v=>d(v,f),["stop"])},null,8,["title","disabled","prepend-icon","append-icon","onClick"])]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue","target"])],64))}}),$E=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")},ZE=t=>t==null||t==null||!t?!1:typeof t=="boolean"?t:!!JSON.parse(String(t).toLowerCase()),QE=function(t){t=Math.floor(t);const e=Math.floor(t/3600),s=Math.floor((t-e*3600)/60),n=t-e*3600-s*60;let a=e.toString(),r=s.toString(),o=n.toString();return e<10&&(a="0"+e),s<10&&(r="0"+s),n<10&&(o="0"+n),a==="00"?r+":"+o:a+":"+r+":"+o},up=function(t,e){return t?t.length<=e?t:t.slice(0,e)+"...":""},JE=function(t,e){return t?e?t.slice(0,e).map(s=>s.name).join(" | "):t.map(s=>s.name).join(" | "):""},tj=function(t,e){let s="";return t!=null&&t.name&&(t!=null&&t.label)?s=`${t.name}: ${e(t==null?void 0:t.label)}`:t!=null&&t.name?s=t.name:t!=null&&t.label?s=e(t==null?void 0:t.label):s=t.path||"",s},ej=function(t,e=26){if(!t)return"";const s=t.group_childs.filter(n=>{var a;return((a=Y.players[n])==null?void 0:a.available)&&n!=t.player_id});return t.type!=qu.GROUP&&s.length?`${up(t.display_name,e-3)} +${s.length}`:up(t.display_name,e)},ij=function(t){const e=[];for(const s of(t==null?void 0:t.provider_mappings)||[])s.provider_domain.startsWith("filesystem")||s.provider_domain!="plex"&&(e.filter(n=>n.provider_domain==s.provider_domain).length||e.push(s));return e},sj=t=>new Promise(e=>setTimeout(e,t));function s2(t,e){const s=me(t),n=me(e);return s.contrast(n)}function Td(t){const[e,s,n]=t;return`#${e.toString(16).padStart(2,"0")}${s.toString(16).padStart(2,"0")}${n.toString(16).padStart(2,"0")}`}function Gz(t){let e="",s=0;return t.forEach(n=>{const a=Td(n),r=s2("#000000",a);(r>s&&r>=7||r>s&&r>=s*.7)&&(s=r,e=a)}),e}function qz(t){let e="",s=0;const n=17.35;return t.forEach(a=>{const r=Td(a),o=s2("#fff",r);n>=o&&(o>s&&o>=7||o>s&&o>=s*.7)&&(s=o,e=r)}),e}function nj(t){const s=new Js().getPalette(t,5),n=s.map(a=>Td(a));return{0:n[0],1:n[1],2:n[2],3:n[3],4:n[4],lightColor:Gz(s),darkColor:qz(s)}}function aj(t,e){if(t)return t;for(const s of e){const n=s,a=n[0],r=n[1],o=n[2];if(a)return r;if(o!==void 0)return o}}function rj(t,e,s){const n=t.scrollTop,a=e-n,r=new Date().getTime(),o=(u,c,d,b)=>(u/=b/2,u<1?d/2*u*u+c:(u--,-d/2*(u*(u-2)-1)+c)),l=()=>{const c=new Date().getTime()-r;t.scrollTop=o(c,n,a,s),c<s?requestAnimationFrame(l):t.scrollTop=e};l()}const oj=function(t){return He({breakpoint:"bp1",condition:"lt"})?2:He({breakpoint:"bp1",condition:"gt"})&&He({breakpoint:"bp4",condition:"lt"})?3:He({breakpoint:"bp4",condition:"gt"})&&He({breakpoint:"bp6",condition:"lt"})?4:He({breakpoint:"bp6",condition:"gt"})&&He({breakpoint:"bp7",condition:"lt"})?5:He({breakpoint:"bp7",condition:"gt"})&&He({breakpoint:"bp8",condition:"lt"})?6:He({breakpoint:"bp8",condition:"gt"})&&He({breakpoint:"bp9",condition:"lt"})?7:He({breakpoint:"bp9",condition:"gt"})&&He({breakpoint:"bp10",condition:"lt"})?8:He({breakpoint:"bp10",condition:"gt"})?9:0};function Fz(){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 lj=function(t){return t=t.replaceAll(/\\n/g,"<br />").replaceAll(`
|
|
965
|
+
`,"<br />").replaceAll(" \\","<br />"),Vt(t)},Hz=function(t,e=!0,s=!1,n=!1){return!(!t.enabled||!n&&t.hidden||!e&&!t.available||t.synced_to&&!s||!s&&t.type==qu.PLAYER&&t.active_group)},dp=function(t,e,s,n,a){var r,o;if(!a&&at.playMenuShown&&((r=at.activePlayer)!=null&&r.available)&&[bn.PLAYING,bn.PAUSED].includes((o=at.activePlayer)==null?void 0:o.state)){at.playActionInProgress=!0,Y.playMedia(t).then(()=>{at.playActionInProgress=!1});return}Oz(t,n,e,s)},uj=function(t,e,s,n){if(!Ci(t)){Vz(t,e,s);return}if(t.media_type==ut.FOLDER){xi.push({name:"browse",query:{path:t.path}});return}if(t.media_type==ut.PODCAST_EPISODE){dp(t,e,s,n,!0);return}if([ut.TRACK,ut.RADIO].includes(t.media_type)&&n){dp(t,e,s,n,!0);return}xi.push({name:t.media_type,params:{itemId:t.item_id,provider:t.provider}})},Vz=function(t,e,s,n,a=!0){const r=Array.isArray(t)?t:[t];Rz(r,n,e,s,a)};var n2=(t=>(t.ERROR="error",t.WARNING="warning",t.INFO="info",t.SUCCESS="success",t))(n2||{});const at=ce({activePlayerId:void 0,isInStandaloneMode:!1,showPlayersMenu:!1,navigationMenuStyle:"horizontal",showFullscreenPlayer:!1,frameless:!1,showQueueItems:!1,apiInitialized:!1,apiBaseUrl:"",dialogActive:!1,activePlayer:B(()=>{if(at.activePlayerId&&at.activePlayerId in Y.players)return Y.players[at.activePlayerId]}),activePlayerQueue:B(()=>{var t;if((t=at.activePlayer)!=null&&t.active_source&&at.activePlayer.active_source in Y.queues)return Y.queues[at.activePlayer.active_source];if(at.activePlayer&&!at.activePlayer.active_source&&at.activePlayer.player_id in Y.queues&&Y.queues[at.activePlayer.player_id].active)return Y.queues[at.activePlayer.player_id]}),curQueueItem:B(()=>{if(at.activePlayerQueue&&at.activePlayerQueue.active)return at.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:Fz(),playMenuShown:!1,playActionInProgress:!1});class Uz{constructor(e,s,n){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(n!==void 0&&n<0)throw new Error("Max must be undefined, a positive number or zero");if(n!==void 0&&n<e)throw new Error("Max must be undefined or greater than or equal to initial");this.initial=e,this.increment=s,this.max=n}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 Yt;(function(t){t.open="open",t.close="close",t.error="error",t.message="message",t.retry="retry",t.reconnect="reconnect"})(Yt||(Yt={}));class Wz{constructor(e,s,n){var a,r,o,l,u,c,d,b,p,m,f,v,_,g,h;this._closedByUser=!1,this.handleOpenEvent=y=>this.handleEvent(Yt.open,y),this.handleErrorEvent=y=>this.handleEvent(Yt.error,y),this.handleCloseEvent=y=>this.handleEvent(Yt.close,y),this.handleMessageEvent=y=>this.handleEvent(Yt.message,y),this._url=e,this._protocols=s,this._options={buffer:n==null?void 0:n.buffer,retry:{maxRetries:(a=n==null?void 0:n.retry)===null||a===void 0?void 0:a.maxRetries,instantReconnect:(r=n==null?void 0:n.retry)===null||r===void 0?void 0:r.instantReconnect,backoff:(o=n==null?void 0:n.retry)===null||o===void 0?void 0:o.backoff},listeners:{open:[...(u=(l=n==null?void 0:n.listeners)===null||l===void 0?void 0:l.open)!==null&&u!==void 0?u:[]],close:[...(d=(c=n==null?void 0:n.listeners)===null||c===void 0?void 0:c.close)!==null&&d!==void 0?d:[]],error:[...(p=(b=n==null?void 0:n.listeners)===null||b===void 0?void 0:b.error)!==null&&p!==void 0?p:[]],message:[...(f=(m=n==null?void 0:n.listeners)===null||m===void 0?void 0:m.message)!==null&&f!==void 0?f:[]],retry:[...(_=(v=n==null?void 0:n.listeners)===null||v===void 0?void 0:v.retry)!==null&&_!==void 0?_:[]],reconnect:[...(h=(g=n==null?void 0:n.listeners)===null||g===void 0?void 0:g.reconnect)!==null&&h!==void 0?h:[]]}},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,n){this._options.listeners[e].push({listener:s,options:n})}removeEventListener(e,s,n){const a=r=>r.listener!==s||r.options!==n;this._options.listeners[e]=this._options.listeners[e].filter(a)}tryConnect(){return this._underlyingWebsocket=new WebSocket(this.url,this.protocols),this._underlyingWebsocket.addEventListener(Yt.open,this.handleOpenEvent),this._underlyingWebsocket.addEventListener(Yt.close,this.handleCloseEvent),this._underlyingWebsocket.addEventListener(Yt.error,this.handleErrorEvent),this._underlyingWebsocket.addEventListener(Yt.message,this.handleMessageEvent),this._underlyingWebsocket}clearWebsocket(){this._underlyingWebsocket.removeEventListener(Yt.open,this.handleOpenEvent),this._underlyingWebsocket.removeEventListener(Yt.close,this.handleCloseEvent),this._underlyingWebsocket.removeEventListener(Yt.error,this.handleErrorEvent),this._underlyingWebsocket.removeEventListener(Yt.message,this.handleMessageEvent),this._underlyingWebsocket.close()}dispatchEvent(e,s){const n=this._options.listeners[e],a=[];n.forEach(({listener:r,options:o})=>{r(this,s),(o===void 0||o.once===void 0||!o.once)&&a.push({listener:r,options:o})}),this._options.listeners[e]=a}handleEvent(e,s){switch(e){case Yt.close:this.dispatchEvent(e,s),this.scheduleConnectionRetryIfNeeded();break;case Yt.open:if(this.backoff!==void 0&&this._lastConnection!==void 0){const n={retries:this.backoff.retries,lastConnection:new Date(this._lastConnection)},a=new CustomEvent(Yt.reconnect,{detail:n});this.dispatchEvent(Yt.reconnect,a),this.backoff.reset()}this._lastConnection=new Date,this.dispatchEvent(e,s),this.sendBufferedData();break;case Yt.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=n=>{const a=new CustomEvent(Yt.retry,{detail:n});this.handleEvent(Yt.retry,a)},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 Kz{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(Yt.open,e,s),this}onClose(e,s){return this.addListener(Yt.close,e,s),this}onError(e,s){return this.addListener(Yt.error,e,s),this}onMessage(e,s){return this.addListener(Yt.message,e,s),this}onRetry(e,s){return this.addListener(Yt.retry,e,s),this}onReconnect(e,s){return this.addListener(Yt.reconnect,e,s),this}build(){return new Wz(this._url,this._protocols,this._options)}addListener(e,s,n){var a,r,o,l,u,c,d,b,p,m,f,v,_,g,h,y,k,w,P,A,E;return this._options=Object.assign(Object.assign({},this._options),{listeners:{open:(o=(r=(a=this._options)===null||a===void 0?void 0:a.listeners)===null||r===void 0?void 0:r.open)!==null&&o!==void 0?o:[],close:(c=(u=(l=this._options)===null||l===void 0?void 0:l.listeners)===null||u===void 0?void 0:u.close)!==null&&c!==void 0?c:[],error:(p=(b=(d=this._options)===null||d===void 0?void 0:d.listeners)===null||b===void 0?void 0:b.error)!==null&&p!==void 0?p:[],message:(v=(f=(m=this._options)===null||m===void 0?void 0:m.listeners)===null||f===void 0?void 0:f.message)!==null&&v!==void 0?v:[],retry:(h=(g=(_=this._options)===null||_===void 0?void 0:_.listeners)===null||g===void 0?void 0:g.retry)!==null&&h!==void 0?h:[],reconnect:(w=(k=(y=this._options)===null||y===void 0?void 0:y.listeners)===null||k===void 0?void 0:k.reconnect)!==null&&w!==void 0?w:[],[e]:[...(E=(A=(P=this._options)===null||P===void 0?void 0:P.listeners)===null||A===void 0?void 0:A[e])!==null&&E!==void 0?E:[],{listener:s,options:n}]}}),this}}const Xz=1,Wr=2,ol=3,Pd=4,Yz=5,$z=6;function Zz(t){return{type:"auth",access_token:t}}function Qz(){return{type:"supported_features",id:1,features:{coalesce_messages:1}}}function Jz(t){const e={type:"subscribe_events"};return t&&(e.event_type=t),e}function cp(t){return{type:"unsubscribe_events",subscription:t}}function t1(){return{type:"ping"}}function e1(t,e){return{type:"result",success:!1,error:{code:t,message:e}}}function i1(t){const e={},s=t.split("&");for(let n=0;n<s.length;n++){const a=s[n].split("="),r=decodeURIComponent(a[0]),o=a.length>1?decodeURIComponent(a[1]):void 0;e[r]=o}return e}const s1=(t,e,s,n)=>{const[a,r,o]=t.split(".",3);return Number(a)>e||Number(a)===e&&Number(r)>=s||n!==void 0},n1="auth_invalid",a1="auth_ok";function r1(t){if(!t.auth)throw Pd;const e=t.auth;let s=e.expired?e.refreshAccessToken().then(()=>{s=void 0},()=>{s=void 0}):void 0;const n=e.wsUrl;function a(r,o,l){const u=new WebSocket(n);let c=!1;const d=()=>{if(u.removeEventListener("close",d),c){l(Wr);return}if(r===0){l(Xz);return}const m=r===-1?-1:r-1;setTimeout(()=>a(m,o,l),1e3)},b=async m=>{try{e.expired&&await(s||e.refreshAccessToken()),u.send(JSON.stringify(Zz(e.accessToken)))}catch(f){c=f===Wr,u.close()}},p=async m=>{const f=JSON.parse(m.data);switch(f.type){case n1:c=!0,u.close();break;case a1:u.removeEventListener("open",b),u.removeEventListener("message",p),u.removeEventListener("close",d),u.removeEventListener("error",d),u.haVersion=f.ha_version,s1(u.haVersion,2022,9)&&u.send(JSON.stringify(Qz())),o(u);break}};u.addEventListener("open",b),u.addEventListener("message",p),u.addEventListener("close",d),u.addEventListener("error",d)}return new Promise((r,o)=>a(t.setupRetry,r,o))}class o1{constructor(e,s){this._handleMessage=n=>{let a=JSON.parse(n.data);Array.isArray(a)||(a=[a]),a.forEach(r=>{const o=this.commands.get(r.id);switch(r.type){case"event":o?o.callback(r.event):(console.warn(`Received event for unknown subscription ${r.id}. Unsubscribing.`),this.sendMessagePromise(cp(r.id)).catch(l=>{}));break;case"result":o&&(r.success?(o.resolve(r.result),"subscribe"in o||this.commands.delete(r.id)):(o.reject(r.error),this.commands.delete(r.id)));break;case"pong":o?(o.resolve(),this.commands.delete(r.id)):console.warn(`Received unknown pong response ${r.id}`);break}})},this._handleClose=async()=>{const n=this.commands;if(this.commandId=1,this.oldSubscriptions=this.commands,this.commands=new Map,this.socket=void 0,n.forEach(o=>{"subscribe"in o||o.reject(e1(ol,"Connection lost"))}),this.closeRequested)return;this.fireEvent("disconnected");const a=Object.assign(Object.assign({},this.options),{setupRetry:0}),r=o=>{setTimeout(async()=>{if(!this.closeRequested)try{const l=await a.createSocket(a);this._setSocket(l)}catch(l){if(this._queuedMessages){const u=this._queuedMessages;this._queuedMessages=void 0;for(const c of u)c.reject&&c.reject(ol)}l===Wr?this.fireEvent("reconnect-error",l):r(o+1)}},Math.min(o,5)*1e3)};this.suspendReconnectPromise&&(await this.suspendReconnectPromise,this.suspendReconnectPromise=void 0,this._queuedMessages=[]),r(0)},this.options=s,this.commandId=2,this.commands=new Map,this.eventListeners=new Map,this.closeRequested=!1,this._setSocket(e)}get connected(){return this.socket!==void 0&&this.socket.readyState==this.socket.OPEN}_setSocket(e){this.socket=e,this.haVersion=e.haVersion,e.addEventListener("message",this._handleMessage),e.addEventListener("close",this._handleClose);const s=this.oldSubscriptions;s&&(this.oldSubscriptions=void 0,s.forEach(a=>{"subscribe"in a&&a.subscribe&&a.subscribe().then(r=>{a.unsubscribe=r,a.resolve()})}));const n=this._queuedMessages;if(n){this._queuedMessages=void 0;for(const a of n)a.resolve()}this.fireEvent("ready")}addEventListener(e,s){let n=this.eventListeners.get(e);n||(n=[],this.eventListeners.set(e,n)),n.push(s)}removeEventListener(e,s){const n=this.eventListeners.get(e);if(!n)return;const a=n.indexOf(s);a!==-1&&n.splice(a,1)}fireEvent(e,s){(this.eventListeners.get(e)||[]).forEach(n=>n(this,s))}suspendReconnectUntil(e){this.suspendReconnectPromise=e}suspend(){if(!this.suspendReconnectPromise)throw new Error("Suspend promise not set");this.socket&&this.socket.close()}reconnect(e=!1){if(this.socket){if(!e){this.socket.close();return}this.socket.removeEventListener("message",this._handleMessage),this.socket.removeEventListener("close",this._handleClose),this.socket.close(),this._handleClose()}}close(){this.closeRequested=!0,this.socket&&this.socket.close()}async subscribeEvents(e,s){return this.subscribeMessage(e,Jz(s))}ping(){return this.sendMessagePromise(t1())}sendMessage(e,s){if(!this.connected)throw ol;if(this._queuedMessages){if(s)throw new Error("Cannot queue with commandId");this._queuedMessages.push({resolve:()=>this.sendMessage(e)});return}s||(s=this._genCmdId()),e.id=s,this.socket.send(JSON.stringify(e))}sendMessagePromise(e){return new Promise((s,n)=>{if(this._queuedMessages){this._queuedMessages.push({reject:n,resolve:async()=>{try{s(await this.sendMessagePromise(e))}catch(r){n(r)}}});return}const a=this._genCmdId();this.commands.set(a,{resolve:s,reject:n}),this.sendMessage(e,a)})}async subscribeMessage(e,s,n){this._queuedMessages&&await new Promise((r,o)=>{this._queuedMessages.push({resolve:r,reject:o})});let a;return await new Promise((r,o)=>{const l=this._genCmdId();a={resolve:r,reject:o,callback:e,subscribe:(n==null?void 0:n.resubscribe)!==!1?()=>this.subscribeMessage(e,s):void 0,unsubscribe:async()=>{this.connected&&await this.sendMessagePromise(cp(l)),this.commands.delete(l)}},this.commands.set(l,a);try{this.sendMessage(s,l)}catch{}}),()=>a.unsubscribe()}_genCmdId(){return++this.commandId}}const l1=()=>`${location.protocol}//${location.host}/`,u1=t=>t*1e3+Date.now();function d1(){const{protocol:t,host:e,pathname:s,search:n}=location;return`${t}//${e}${s}${n}`}function c1(t,e,s,n){let a=`${t}/auth/authorize?response_type=code&redirect_uri=${encodeURIComponent(s)}`;return e!==null&&(a+=`&client_id=${encodeURIComponent(e)}`),n&&(a+=`&state=${encodeURIComponent(n)}`),a}function b1(t,e,s,n){s+=(s.includes("?")?"&":"?")+"auth_callback=1",document.location.href=c1(t,e,s,n)}async function a2(t,e,s){const n=typeof location<"u"&&location;if(n&&n.protocol==="https:"){const l=document.createElement("a");if(l.href=t,l.protocol==="http:"&&l.hostname!=="localhost")throw Yz}const a=new FormData;e!==null&&a.append("client_id",e),Object.keys(s).forEach(l=>{a.append(l,s[l])});const r=await fetch(`${t}/auth/token`,{method:"POST",credentials:"same-origin",body:a});if(!r.ok)throw r.status===400||r.status===403?Wr:new Error("Unable to fetch tokens");const o=await r.json();return o.hassUrl=t,o.clientId=e,o.expires=u1(o.expires_in),o}function bp(t,e,s){return a2(t,e,{code:s,grant_type:"authorization_code"})}function p1(t){return btoa(JSON.stringify(t))}function m1(t){return JSON.parse(atob(t))}class f1{constructor(e,s){this.data=e,this._saveTokens=s}get wsUrl(){return`ws${this.data.hassUrl.substr(4)}/api/websocket`}get accessToken(){return this.data.access_token}get expired(){return Date.now()>this.data.expires}async refreshAccessToken(){if(!this.data.refresh_token)throw new Error("No refresh_token");const e=await a2(this.data.hassUrl,this.data.clientId,{grant_type:"refresh_token",refresh_token:this.data.refresh_token});e.refresh_token=this.data.refresh_token,this.data=e,this._saveTokens&&this._saveTokens(e)}async revoke(){if(!this.data.refresh_token)throw new Error("No refresh_token to revoke");const e=new FormData;e.append("token",this.data.refresh_token),await fetch(`${this.data.hassUrl}/auth/revoke`,{method:"POST",credentials:"same-origin",body:e}),this._saveTokens&&this._saveTokens(null)}}async function pp(t={}){let e,s=t.hassUrl;s&&s[s.length-1]==="/"&&(s=s.substr(0,s.length-1));const n=t.clientId!==void 0?t.clientId:l1(),a=t.limitHassInstance===!0;if(t.authCode&&s&&(e=await bp(s,n,t.authCode),t.saveTokens&&t.saveTokens(e)),!e){const r=i1(location.search.substr(1));if("auth_callback"in r){const o=m1(r.state);if(a&&(o.hassUrl!==s||o.clientId!==n))throw $z;e=await bp(o.hassUrl,o.clientId,r.code),t.saveTokens&&t.saveTokens(e)}}if(!e&&t.loadTokens&&(e=await t.loadTokens()),e)return new f1(e,t.saveTokens);if(s===void 0)throw Pd;return b1(s,n,t.redirectUrl||d1(),p1({hassUrl:s,clientId:n})),new Promise(()=>{})}async function v1(t){const e=Object.assign({setupRetry:0,createSocket:r1},t),s=await e.createSocket(e);return new o1(s,e)}var g1=(t=>(t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED",t))(g1||{});class h1{constructor(){wt(this,"ws");wt(this,"commandId");wt(this,"_throttleId");wt(this,"baseUrl");wt(this,"state",lt(0));wt(this,"serverInfo",lt());wt(this,"players",ce({}));wt(this,"queues",ce({}));wt(this,"providers",ce({}));wt(this,"providerManifests",ce({}));wt(this,"syncTasks",lt([]));wt(this,"fetchesInProgress",lt([]));wt(this,"hasStreamingProviders",B(()=>Object.values(this.providers).some(e=>e.is_streaming_provider)));wt(this,"eventCallbacks");wt(this,"partialResult");wt(this,"commands");this.commandId=0,this.eventCallbacks=[],this.commands=new Map,this.partialResult={}}async initialize(e){if(this.ws)throw new Error("already initialized");e.endsWith("/")&&(e=e.slice(0,-1)),this.baseUrl=e;const s=e.replace("http","ws")+"/ws";console.log(`Connecting to Music Assistant API ${s}`),this.state.value=1,this.ws=new Kz(s).onOpen((n,a)=>{console.log("connection opened")}).onClose((n,a)=>{console.log("connection closed"),this.state.value=0,this.signalEvent({event:Le.DISCONNECTED,object_id:""})}).onError((n,a)=>{console.log("error on connection")}).onMessage((n,a)=>{const r=JSON.parse(a.data);"event"in r?this.handleEventMessage(r):"server_version"in r?this.handleServerInfoMessage(r):"message_id"in r?this.handleResultMessage(r):console.error("received unknown message",r)}).onRetry((n,a)=>{console.log("retry"),this.state.value=1}).withBackoff(new Uz(0,1e3,12e3)).build()}subscribe(e,s,n="*"){const a=[e,n,s];return this.eventCallbacks.push(a),()=>{const o=this.eventCallbacks.indexOf(a);o>-1&&this.eventCallbacks.splice(o,1)}}subscribe_multi(e,s,n="*"){const a=[];for(const o of e)a.push(this.subscribe(o,s,n));return()=>{for(const o of a)o()}}getLibraryTracks(e,s,n,a,r){return this.sendCommand("music/tracks/library_items",{favorite:e,search:s,limit:n,offset:a,order_by:r})}getTrack(e,s,n){return this.sendCommand("music/tracks/get_track",{item_id:e,provider_instance_id_or_domain:s,album_uri:n})}getTrackVersions(e,s){return this.sendCommand("music/tracks/track_versions",{item_id:e,provider_instance_id_or_domain:s})}getTrackAlbums(e,s,n=!1){return this.sendCommand("music/tracks/track_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getTrackPreviewUrl(e,s){const n=encodeURIComponent(encodeURIComponent(s));return`${this.baseUrl}/preview?item_id=${n}&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,n,a,r,o){return this.sendCommand("music/artists/library_items",{favorite:e,search:s,limit:n,offset:a,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,n=!1){return this.sendCommand("music/artists/artist_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getArtistAlbums(e,s,n=!1){return this.sendCommand("music/artists/artist_albums",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getLibraryAlbums(e,s,n,a,r,o){return this.sendCommand("music/albums/library_items",{favorite:e,search:s,limit:n,offset:a,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,n=!1){return this.sendCommand("music/albums/album_tracks",{item_id:e,provider_instance_id_or_domain:s,in_library_only:n})}getAlbumVersions(e,s){return this.sendCommand("music/albums/album_versions",{item_id:e,provider_instance_id_or_domain:s})}getLibraryPlaylists(e,s,n,a,r){return this.sendCommand("music/playlists/library_items",{favorite:e,search:s,limit:n,offset:a,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,n){return this.sendCommand("music/playlists/playlist_tracks",{item_id:e,provider_instance_id_or_domain:s,force_refresh:n})}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,n,a,r){return this.sendCommand("music/radios/library_items",{favorite:e,search:s,limit:n,offset:a,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,n,a,r){return this.sendCommand("music/audiobooks/library_items",{favorite:e,search:s,limit:n,offset:a,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,n,a,r){return this.sendCommand("music/podcasts/library_items",{favorite:e,search:s,limit:n,offset:a,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,n){return this.sendCommand("music/item",{media_type:e,item_id:s,provider_instance_id_or_domain:n})}getLibraryItem(e,s,n){return this.sendCommand("music/get_library_item",{media_type:e,item_id:s,provider_instance_id_or_domain:n})}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,n){return this.sendCommand("music/search",{search_query:e,media_types:s,limit:n})}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})}markItemPlayed(e,s,n){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:n})}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,n){return this.sendCommand("player_queues/items",{queue_id:e,limit:s,offset:n})}queueCommandClear(e){this.playerQueueCommand(e,"clear")}queueCommandPlayIndex(e,s){this.playerQueueCommand(e,"play_index",{index:s})}queueCommandMoveItem(e,s,n=1){this.playerQueueCommand(e,"move_item",{queue_item_id:s,pos_shift:n})}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==Qs.OFF?this.queueCommandRepeat(e,Qs.ONE):this.queues[e].repeat_mode==Qs.ONE?this.queueCommandRepeat(e,Qs.ALL):this.queueCommandRepeat(e,Qs.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,n){this._sendCommand(`player_queues/${s}`,{queue_id:e,...n})}queueCommandTransfer(e,s,n){this._sendCommand("player_queues/transfer",{source_queue_id:e,target_queue_id:s,auto_play:n})}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)}playerCommandGroup(e,s){return this.playerCommand(e,"group",{target_player:s})}playerCommandUnGroup(e){return this.playerCommand(e,"ungroup")}playerCommandGroupMany(e,s){return this.sendCommand("players/cmd/group_many",{target_player:e,child_player_ids:s})}playerCommandUnGroupMany(e){return this.sendCommand("players/cmd/ungroup_many",{player_ids:e})}playerCommand(e,s,n){return this.sendCommand(`players/cmd/${s}`,{player_id:e,...n})}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,n,a=!1){return this.sendCommand("player_group/create",{group_type:e,name:s,members:n,dynamic:a})}playerCommandGroupSelectSource(e,s){return this.playerCommand(e,"select_source",{source:s})}playMedia(e,s,n,a,r){var o,l,u,c;return!r&&((o=at.activePlayer)!=null&&o.active_source)&&((l=at.activePlayer)==null?void 0:l.active_source)in this.queues?r=(u=at.activePlayer)==null?void 0:u.active_source:r||(r=(c=at.activePlayer)==null?void 0:c.player_id),this.sendCommand("player_queues/play_media",{queue_id:r,media:e,option:s,radio_mode:n,start_item:a})}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,n,a){return this.sendCommand("config/providers/get_entries",{provider_domain:e,instance_id:s,action:n,values:a})}async saveProviderConfig(e,s,n){return this.sendCommand("config/providers/save",{provider_domain:e,values:s,instance_id:n})}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 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 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,n){return this.sendCommand("config/core/get_entries",{domain:e,action:s,values:n})}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 n=this.providers[s];if(n.domain==e)return n}}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]}}async connectHass(){let e;const s={async loadTokens(){try{return JSON.parse(localStorage.hassTokens)}catch{return}},saveTokens:a=>{localStorage.hassTokens=JSON.stringify(a)},hassUrl:""};try{e=await pp(s)}catch(a){if(a===Pd){if(s.hassUrl=prompt("Please enter the URL to Home Assistant","http://homeassistant.local:8123")||"",!s.hassUrl)return;e=await pp(s)}else{alert(`Unknown error: ${a}`);return}}const n=await v1({auth:e});return n.addEventListener("ready",()=>window.history.back()),n}handleEventMessage(e){if(e.event==Le.QUEUE_ADDED){const s=e.data;this.queues[s.queue_id]=s}else if(e.event==Le.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==Le.QUEUE_TIME_UPDATED){const s=e.object_id;s in this.queues&&(this.queues[s].elapsed_time=e.data)}else if(e.event==Le.PLAYER_ADDED){const s=e.data;this.players[s.player_id]=s}else if(e.event==Le.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==Le.PLAYER_REMOVED)delete this.players[e.object_id],delete this.queues[e.object_id];else if(e.event==Le.SYNC_TASKS_UPDATED)this.syncTasks.value=e.data;else if(e.event==Le.PROVIDERS_UPDATED){const s={};for(const n of e.data)s[n.instance_id]=n;this.providers=s}e.event,Le.QUEUE_TIME_UPDATED,this.signalEvent(e)}handleResultMessage(e){const s=this.commands.get(e.message_id);if("error_code"in e&&(e=e,console.error("[resultMessage]",e),at.activeAlert={type:n2.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(n=>n!=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:Le.CONNECTED,object_id:"",data:e})}signalEvent(e){for(const s of this.eventCallbacks)(s[0]===Le.ALL||s[0]===e.event)&&(s[1]=="*"||s[1]===e.object_id)&&s[2](e)}sendCommand(e,s){const n=this._genCmdId();return new Promise((a,r)=>{this.commands.set(n,{resolve:a,reject:r}),this.fetchesInProgress.value.push(n),this._sendCommand(e,s,n)})}_sendCommand(e,s,n){if(this.state.value!==2)throw new Error("Connection lost");n||(n=this._genCmdId());const a={command:e,message_id:n,args:s};this.ws.send(JSON.stringify(a))}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++this.commandId}}const Y=new h1,jo={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function _1(t,e,s){const n=[];let a=[];const r=r2(t),o=o2(t),l=s??jo[e.slice(-2).toUpperCase()]??0,u=(r.getDay()-l+7)%7,c=(o.getDay()-l+7)%7;for(let d=0;d<u;d++){const b=new Date(r);b.setDate(b.getDate()-(u-d)),a.push(b)}for(let d=1;d<=o.getDate();d++){const b=new Date(t.getFullYear(),t.getMonth(),d);a.push(b),a.length===7&&(n.push(a),a=[])}for(let d=1;d<7-c;d++){const b=new Date(o);b.setDate(b.getDate()+d),a.push(b)}return a.length>0&&n.push(a),n}function y1(t,e,s){const n=s??jo[e.slice(-2).toUpperCase()]??0,a=new Date(t);for(;a.getDay()!==n;)a.setDate(a.getDate()-1);return a}function k1(t,e){const s=new Date(t),n=((jo[e.slice(-2).toUpperCase()]??0)+6)%7;for(;s.getDay()!==n;)s.setDate(s.getDate()+1);return s}function r2(t){return new Date(t.getFullYear(),t.getMonth(),1)}function o2(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function w1(t){const e=t.split("-").map(Number);return new Date(e[0],e[1]-1,e[2])}const S1=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function l2(t){if(t==null)return new Date;if(t instanceof Date)return t;if(typeof t=="string"){let e;if(S1.test(t))return w1(t);if(e=Date.parse(t),!isNaN(e))return new Date(e)}return null}const mp=new Date(2e3,0,2);function z1(t,e){const s=e??jo[t.slice(-2).toUpperCase()]??0;return Ym(7).map(n=>{const a=new Date(mp);return a.setDate(mp.getDate()+s+n),new Intl.DateTimeFormat(t,{weekday:"narrow"}).format(a)})}function A1(t,e,s,n){const a=l2(t)??new Date,r=n==null?void 0:n[e];if(typeof r=="function")return r(a,e,s);let o={};switch(e){case"fullDate":o={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":o={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const l=a.getDate(),u=new Intl.DateTimeFormat(s,{month:"long"}).format(a);return`${l} ${u}`;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(a.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(a).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(a).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(a).replace(/, /g," ");default:o=r??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(s,o).format(a)}function T1(t,e){const s=t.toJsDate(e),n=s.getFullYear(),a=Ab(String(s.getMonth()+1),2,"0"),r=Ab(String(s.getDate()),2,"0");return`${n}-${a}-${r}`}function P1(t){const[e,s,n]=t.split("-").map(Number);return new Date(e,s-1,n)}function E1(t,e){const s=new Date(t);return s.setMinutes(s.getMinutes()+e),s}function j1(t,e){const s=new Date(t);return s.setHours(s.getHours()+e),s}function C1(t,e){const s=new Date(t);return s.setDate(s.getDate()+e),s}function M1(t,e){const s=new Date(t);return s.setDate(s.getDate()+e*7),s}function x1(t,e){const s=new Date(t);return s.setDate(1),s.setMonth(s.getMonth()+e),s}function I1(t){return t.getFullYear()}function L1(t){return t.getMonth()}function D1(t){return t.getDate()}function R1(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function O1(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function N1(t){return t.getHours()}function B1(t){return t.getMinutes()}function G1(t){return new Date(t.getFullYear(),0,1)}function q1(t){return new Date(t.getFullYear(),11,31)}function F1(t,e){return Kr(t,e[0])&&U1(t,e[1])}function H1(t){const e=new Date(t);return e instanceof Date&&!isNaN(e.getTime())}function Kr(t,e){return t.getTime()>e.getTime()}function V1(t,e){return Kr(fu(t),fu(e))}function U1(t,e){return t.getTime()<e.getTime()}function fp(t,e){return t.getTime()===e.getTime()}function W1(t,e){return t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function K1(t,e){return t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}function X1(t,e){return t.getFullYear()===e.getFullYear()}function Y1(t,e,s){const n=new Date(t),a=new Date(e);switch(s){case"years":return n.getFullYear()-a.getFullYear();case"quarters":return Math.floor((n.getMonth()-a.getMonth()+(n.getFullYear()-a.getFullYear())*12)/4);case"months":return n.getMonth()-a.getMonth()+(n.getFullYear()-a.getFullYear())*12;case"weeks":return Math.floor((n.getTime()-a.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((n.getTime()-a.getTime())/(1e3*60*60*24));case"hours":return Math.floor((n.getTime()-a.getTime())/(1e3*60*60));case"minutes":return Math.floor((n.getTime()-a.getTime())/(1e3*60));case"seconds":return Math.floor((n.getTime()-a.getTime())/1e3);default:return n.getTime()-a.getTime()}}function $1(t,e){const s=new Date(t);return s.setHours(e),s}function Z1(t,e){const s=new Date(t);return s.setMinutes(e),s}function Q1(t,e){const s=new Date(t);return s.setMonth(e),s}function J1(t,e){const s=new Date(t);return s.setDate(e),s}function tA(t,e){const s=new Date(t);return s.setFullYear(e),s}function fu(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)}function eA(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999)}class iA{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return l2(e)}toJsDate(e){return e}toISO(e){return T1(this,e)}parseISO(e){return P1(e)}addMinutes(e,s){return E1(e,s)}addHours(e,s){return j1(e,s)}addDays(e,s){return C1(e,s)}addWeeks(e,s){return M1(e,s)}addMonths(e,s){return x1(e,s)}getWeekArray(e,s){return _1(e,this.locale,s?Number(s):void 0)}startOfWeek(e,s){return y1(e,this.locale,s?Number(s):void 0)}endOfWeek(e){return k1(e,this.locale)}startOfMonth(e){return r2(e)}endOfMonth(e){return o2(e)}format(e,s){return A1(e,s,this.locale,this.formats)}isEqual(e,s){return fp(e,s)}isValid(e){return H1(e)}isWithinRange(e,s){return F1(e,s)}isAfter(e,s){return Kr(e,s)}isAfterDay(e,s){return V1(e,s)}isBefore(e,s){return!Kr(e,s)&&!fp(e,s)}isSameDay(e,s){return W1(e,s)}isSameMonth(e,s){return K1(e,s)}isSameYear(e,s){return X1(e,s)}setMinutes(e,s){return Z1(e,s)}setHours(e,s){return $1(e,s)}setMonth(e,s){return Q1(e,s)}setDate(e,s){return J1(e,s)}setYear(e,s){return tA(e,s)}getDiff(e,s,n){return Y1(e,s,n)}getWeekdays(e){return z1(this.locale,e?Number(e):void 0)}getYear(e){return I1(e)}getMonth(e){return L1(e)}getDate(e){return D1(e)}getNextMonth(e){return R1(e)}getPreviousMonth(e){return O1(e)}getHours(e){return N1(e)}getMinutes(e){return B1(e)}startOfDay(e){return fu(e)}endOfDay(e){return eA(e)}startOfYear(e){return G1(e)}endOfYear(e){return q1(e)}}const sA=Symbol.for("vuetify:date-options"),vp=Symbol.for("vuetify:date-adapter");function nA(t,e){const s=Me({adapter:iA,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:aA(s,e)}}function aA(t,e){const s=ce(typeof t.adapter=="function"?new t.adapter({locale:t.locale[e.current.value]??e.current.value,formats:t.formats}):t.adapter);return Tt(e.current,n=>{s.locale=t.locale[n]??n??s.locale}),s}const u2=Symbol.for("vuetify:goto");function d2(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{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}}}function rA(t){return Ed(t)??(document.scrollingElement||document.body)}function Ed(t){return typeof t=="string"?document.querySelector(t):$m(t)}function ll(t,e,s){if(typeof t=="number")return e&&s?-t:t;let n=Ed(t),a=0;for(;n;)a+=e?n.offsetLeft:n.offsetTop,n=n.offsetParent;return a}function oA(t,e){return{rtl:e.isRtl,options:Me(d2(),t)}}async function gp(t,e,s,n){const a=s?"scrollLeft":"scrollTop",r=Me((n==null?void 0:n.options)??d2(),e),o=n==null?void 0:n.rtl.value,l=(typeof t=="number"?t:Ed(t))??0,u=r.container==="parent"&&l instanceof HTMLElement?l.parentElement:rA(r.container),c=typeof r.easing=="function"?r.easing:r.patterns[r.easing];if(!c)throw new TypeError(`Easing function "${r.easing}" not found.`);let d;if(typeof l=="number")d=ll(l,s,o);else if(d=ll(l,s,o)-ll(u,s,o),r.layout){const f=window.getComputedStyle(l).getPropertyValue("--v-layout-top");f&&(d-=parseInt(f,10))}d+=r.offset,d=uA(u,d,!!o,!!s);const b=u[a]??0;if(d===b)return Promise.resolve(d);const p=performance.now();return new Promise(m=>requestAnimationFrame(function f(v){const g=(v-p)/r.duration,h=Math.floor(b+(d-b)*c(wn(g,0,1)));if(u[a]=h,g>=1&&Math.abs(h-u[a])<10)return m(d);if(g>2)return m(u[a]);requestAnimationFrame(f)}))}function lA(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=Kt(u2),{isRtl:s}=xn();if(!e)throw new Error("[Vuetify] Could not find injected goto instance");const n={...e,rtl:B(()=>e.rtl.value||s.value)};async function a(r,o){return gp(r,Me(t,o),!1,n)}return a.horizontal=async(r,o)=>gp(r,Me(t,o),!0,n),a}function uA(t,e,s,n){const{scrollWidth:a,scrollHeight:r}=t,[o,l]=t===document.scrollingElement?[window.innerWidth,window.innerHeight]:[t.offsetWidth,t.offsetHeight];let u,c;return n?s?(u=-(a-o),c=0):(u=0,c=a-o):(u=0,c=r+-l),Math.max(Math.min(e,c),u)}function hp(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const s=Jl(),n=lt();if($t){const a=new ResizeObserver(r=>{t==null||t(r,a),r.length&&(e==="content"?n.value=r[0].contentRect:n.value=r[0].target.getBoundingClientRect())});Ye(()=>{a.disconnect()}),Tt(()=>s.el,(r,o)=>{o&&(a.unobserve(o),n.value=void 0),r&&a.observe(r)},{flush:"post"})}return{resizeRef:s,contentRect:Ea(n)}}function c2(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...s}=t,n=Me(e,s),{aliases:a={},components:r={},directives:o={}}=n,l=Jk(n.defaults),u=Sz(n.display,n.ssr),c=Uw(n.theme),d=qw(n.icons),b=lS(n.locale),p=nA(n.date,b),m=oA(n.goTo,b);return{install:v=>{for(const _ in o)v.directive(_,o[_]);for(const _ in r)v.component(_,r[_]);for(const _ in a)v.component(_,jn({...a[_],name:_,aliasName:a[_].name}));if(c.install(v),v.provide(Sn,l),v.provide(pu,u),v.provide(wa,c),v.provide(su,d),v.provide(Fr,b),v.provide(sA,p.options),v.provide(vp,p.instance),v.provide(u2,m),$t&&n.ssr)if(v.$nuxt)v.$nuxt.hook("app:suspense:resolve",()=>{u.update()});else{const{mount:_}=v;v.mount=function(){const g=_(...arguments);return Si(()=>u.update()),v.mount=_,g}}En.reset(),v.mixin({computed:{$vuetify(){return ce({defaults:Ys.call(this,Sn),display:Ys.call(this,pu),theme:Ys.call(this,wa),icons:Ys.call(this,su),locale:Ys.call(this,Fr),date:Ys.call(this,vp)})}}})},defaults:l,display:u,theme:c,icons:d,locale:b,date:p,goTo:m}}const dA="3.7.14";c2.version=dA;function Ys(t){var n,a;const e=this.$,s=((n=e.parent)==null?void 0:n.provides)??((a=e.vnode.appContext)==null?void 0:a.provides);if(s&&t in s)return s[t]}const cA=""+new URL("almost_silent-BMvfGi7_.mp3",import.meta.url).href,bA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAAAnElEQVRYw+2UwQ6AMAhDwfjh+OXzZrgslqxjW8K7GWdtRqlIUYyh/qG1Zt8LVYuKzTDUnCGNy41zrfhpGRrhZgn5/HmiWdzuhsrQH7QMicjDENmuGKEbQjaotiwLaGSZeUIzZB2jhnwfAdqyzFAze+gXxPSZxcgaB6JDa+rUDLG2DNFJ3TLkzDlN3bveGWc83ZFlctTIKOVWFCt5AYSDaENMYFhMAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA0LTE1VDEzOjExOjE0KzAwOjAwADepDgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNC0xNVQxMzoxMToxNCswMDowMHFqEbIAAAAASUVORK5CYII=",sr="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",pA="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",mA=["title"],fA=["innerHTML"],vA=["title"],gA=["innerHTML"],hA=["title"],_A=["innerHTML"],ul=ci({__name:"ProviderIcon",props:{domain:{},size:{},dark:{type:Boolean},monochrome:{type:Boolean}},setup(t){const e=t,s=B(()=>{if(e.domain in Y.providers)return Y.providers[e.domain].domain;if(e.domain in Y.providerManifests)return e.domain});return(n,a)=>($(),st("div",{style:Ii(`width:${n.size}px;margin-left:10px;margin-right:10px;content-align:center`)},[n.domain&&n.domain=="library"?($(),ui(ee,{key:0,size:n.size,icon:"mdi-bookshelf",title:n.$t("item_in_library")},null,8,["size","title"])):e.monochrome&&s.value&&Z(Y).providerManifests[s.value].icon_svg_monochrome?($(),st("div",{key:1,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Ii(`width: ${n.size}px;height: ${n.size}px;${n.$vuetify.theme.current.dark?"":"filter: invert(1);"}`),title:Z(Y).providerManifests[s.value].name},[gt("div",{class:"svg-wrapper",innerHTML:Z(Y).providerManifests[s.value].icon_svg_monochrome},null,8,fA)],12,mA)):n.$vuetify.theme.current.dark&&s.value&&Z(Y).providerManifests[s.value].icon_svg_dark?($(),st("div",{key:2,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Ii(`width: ${n.size}px;height: ${n.size}px;`),title:Z(Y).providerManifests[s.value].name},[gt("div",{class:"svg-wrapper",innerHTML:Z(Y).providerManifests[s.value].icon_svg_dark},null,8,gA)],12,vA)):s.value&&Z(Y).providerManifests[s.value].icon_svg?($(),st("div",{key:3,class:"d-flex align-center justify-center align-content-center justify-content-center",style:Ii(`width: ${n.size}px;height: ${n.size}px;`),title:Z(Y).providerManifests[s.value].name},[gt("div",{class:"svg-wrapper",innerHTML:Z(Y).providerManifests[s.value].icon_svg},null,8,_A)],12,hA)):s.value&&Z(Y).providerManifests[s.value].icon?($(),ui(ee,{key:4,size:n.size,icon:"mdi-"+Z(Y).providerManifests[s.value].icon,title:Z(Y).providerManifests[s.value].name,dark:n.$vuetify.theme.current.dark},null,8,["size","icon","title","dark"])):($(),ui(ee,{key:5,size:n.size,dark:n.$vuetify.theme.current.dark,icon:"mdi-playlist-play"},null,8,["size","dark"]))],4))}}),b2=vt({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),yA=vt({value:null,disabled:Boolean,selectedClass:String},"group-item");function kA(t,e){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const n=Se("useGroupItem");if(!n)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=En();Pe(Symbol.for(`${e.description}:id`),a);const r=Kt(e,null);if(!r){if(!s)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const o=Ht(t,"value"),l=B(()=>!!(r.disabled.value||t.disabled));r.register({id:a,value:o,disabled:l},n),Ye(()=>{r.unregister(a)});const u=B(()=>r.isSelected(a)),c=B(()=>r.items.value[0].id===a),d=B(()=>r.items.value[r.items.value.length-1].id===a),b=B(()=>u.value&&[r.selectedClass.value,t.selectedClass]);return Tt(u,p=>{n.emit("group:selected",{value:p})},{flush:"sync"}),{id:a,isSelected:u,isFirst:c,isLast:d,toggle:()=>r.select(a,!u.value),select:p=>r.select(a,p),selectedClass:b,value:o,disabled:l,group:r}}function p2(t,e){let s=!1;const n=ce([]),a=Ni(t,"modelValue",[],p=>p==null?[]:m2(n,dd(p)),p=>{const m=SA(n,p);return t.multiple?m:m[0]}),r=Se("useGroup");function o(p,m){const f=p,v=Symbol.for(`${e.description}:id`),g=Un(v,r==null?void 0:r.vnode).indexOf(m);Z(f.value)==null&&(f.value=g,f.useIndexAsValue=!0),g>-1?n.splice(g,0,f):n.push(f)}function l(p){if(s)return;u();const m=n.findIndex(f=>f.id===p);n.splice(m,1)}function u(){const p=n.find(m=>!m.disabled);p&&t.mandatory==="force"&&!a.value.length&&(a.value=[p.id])}bi(()=>{u()}),Ye(()=>{s=!0}),Ma(()=>{for(let p=0;p<n.length;p++)n[p].useIndexAsValue&&(n[p].value=p)});function c(p,m){const f=n.find(v=>v.id===p);if(!(m&&(f!=null&&f.disabled)))if(t.multiple){const v=a.value.slice(),_=v.findIndex(h=>h===p),g=~_;if(m=m??!g,g&&t.mandatory&&v.length<=1||!g&&t.max!=null&&v.length+1>t.max)return;_<0&&m?v.push(p):_>=0&&!m&&v.splice(_,1),a.value=v}else{const v=a.value.includes(p);if(t.mandatory&&v)return;a.value=m??!v?[p]:[]}}function d(p){if(t.multiple,a.value.length){const m=a.value[0],f=n.findIndex(g=>g.id===m);let v=(f+p)%n.length,_=n[v];for(;_.disabled&&v!==f;)v=(v+p)%n.length,_=n[v];if(_.disabled)return;a.value=[n[v].id]}else{const m=n.find(f=>!f.disabled);m&&(a.value=[m.id])}}const b={register:o,unregister:l,selected:a,select:c,disabled:Ht(t,"disabled"),prev:()=>d(n.length-1),next:()=>d(1),isSelected:p=>a.value.includes(p),selectedClass:B(()=>t.selectedClass),items:B(()=>n),getItemIndex:p=>wA(n,p)};return Pe(e,b),b}function wA(t,e){const s=m2(t,[e]);return s.length?t.findIndex(n=>n.id===s[0]):-1}function m2(t,e){const s=[];return e.forEach(n=>{const a=t.find(o=>La(n,o.value)),r=t[n];(a==null?void 0:a.value)!=null?s.push(a.id):r!=null&&s.push(r.id)}),s}function SA(t,e){const s=[];return e.forEach(n=>{const a=t.findIndex(r=>r.id===n);if(~a){const r=t[a];s.push(r.value!=null?r.value:a)}}),s}function zA(t){let{selectedElement:e,containerElement:s,isRtl:n,isHorizontal:a}=t;const r=Ta(a,s),o=f2(a,n,s),l=Ta(a,e),u=v2(a,e),c=l*.4;return o>u?u-c:o+r<u+l?u-r+l+c:o}function AA(t){let{selectedElement:e,containerElement:s,isHorizontal:n}=t;const a=Ta(n,s),r=v2(n,e),o=Ta(n,e);return r-a/2+o/2}function _p(t,e){const s=t?"scrollWidth":"scrollHeight";return(e==null?void 0:e[s])||0}function TA(t,e){const s=t?"clientWidth":"clientHeight";return(e==null?void 0:e[s])||0}function f2(t,e,s){if(!s)return 0;const{scrollLeft:n,offsetWidth:a,scrollWidth:r}=s;return t?e?r-a+n:n:s.scrollTop}function Ta(t,e){const s=t?"offsetWidth":"offsetHeight";return(e==null?void 0:e[s])||0}function v2(t,e){const s=t?"offsetLeft":"offsetTop";return(e==null?void 0:e[s])||0}const PA=Symbol.for("vuetify:v-slide-group"),g2=vt({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:PA},nextIcon:{type:re,default:"$next"},prevIcon:{type:re,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>typeof t=="boolean"||["always","desktop","mobile"].includes(t)},...oe(),...zz({mobile:null}),...$e(),...b2({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),yp=Ut()({name:"VSlideGroup",props:g2(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{isRtl:n}=xn(),{displayClasses:a,mobile:r}=Qf(t),o=p2(t,t.symbol),l=Mt(!1),u=Mt(0),c=Mt(0),d=Mt(0),b=B(()=>t.direction==="horizontal"),{resizeRef:p,contentRect:m}=hp(),{resizeRef:f,contentRect:v}=hp(),_=lA(),g=B(()=>({container:p.el,duration:200,easing:"easeOutQuart"})),h=B(()=>o.selected.value.length?o.items.value.findIndex(tt=>tt.id===o.selected.value[0]):-1),y=B(()=>o.selected.value.length?o.items.value.findIndex(tt=>tt.id===o.selected.value[o.selected.value.length-1]):-1);if($t){let tt=-1;Tt(()=>[o.selected.value,m.value,v.value,b.value],()=>{cancelAnimationFrame(tt),tt=requestAnimationFrame(()=>{if(m.value&&v.value){const et=b.value?"width":"height";c.value=m.value[et],d.value=v.value[et],l.value=c.value+1<d.value}if(h.value>=0&&f.el){const et=f.el.children[y.value];w(et,t.centerActive)}})})}const k=Mt(!1);function w(tt,et){let kt=0;et?kt=AA({containerElement:p.el,isHorizontal:b.value,selectedElement:tt}):kt=zA({containerElement:p.el,isHorizontal:b.value,isRtl:n.value,selectedElement:tt}),P(kt)}function P(tt){if(!$t||!p.el)return;const et=Ta(b.value,p.el),kt=f2(b.value,n.value,p.el);if(!(_p(b.value,p.el)<=et||Math.abs(tt-kt)<16)){if(b.value&&n.value&&p.el){const{scrollWidth:ge,offsetWidth:ht}=p.el;tt=ge-ht-tt}b.value?_.horizontal(tt,g.value):_(tt,g.value)}}function A(tt){const{scrollTop:et,scrollLeft:kt}=tt.target;u.value=b.value?kt:et}function E(tt){if(k.value=!0,!(!l.value||!f.el)){for(const et of tt.composedPath())for(const kt of f.el.children)if(kt===et){w(kt);return}}}function S(tt){k.value=!1}let L=!1;function N(tt){var et;!L&&!k.value&&!(tt.relatedTarget&&((et=f.el)!=null&&et.contains(tt.relatedTarget)))&&X(),L=!1}function M(){L=!0}function x(tt){if(!f.el)return;function et(kt){tt.preventDefault(),X(kt)}b.value?tt.key==="ArrowRight"?et(n.value?"prev":"next"):tt.key==="ArrowLeft"&&et(n.value?"next":"prev"):tt.key==="ArrowDown"?et("next"):tt.key==="ArrowUp"&&et("prev"),tt.key==="Home"?et("first"):tt.key==="End"&&et("last")}function H(tt,et){if(!tt)return;let kt=tt;do kt=kt==null?void 0:kt[et==="next"?"nextElementSibling":"previousElementSibling"];while(kt!=null&&kt.hasAttribute("disabled"));return kt}function X(tt){if(!f.el)return;let et;if(!tt)et=Br(f.el)[0];else if(tt==="next"){if(et=H(f.el.querySelector(":focus"),tt),!et)return X("first")}else if(tt==="prev"){if(et=H(f.el.querySelector(":focus"),tt),!et)return X("last")}else tt==="first"?(et=f.el.firstElementChild,et!=null&&et.hasAttribute("disabled")&&(et=H(et,"next"))):tt==="last"&&(et=f.el.lastElementChild,et!=null&&et.hasAttribute("disabled")&&(et=H(et,"prev")));et&&et.focus({preventScroll:!0})}function it(tt){const et=b.value&&n.value?-1:1,kt=(tt==="prev"?-et:et)*c.value;let zt=u.value+kt;if(b.value&&n.value&&p.el){const{scrollWidth:ge,offsetWidth:ht}=p.el;zt+=ge-ht}P(zt)}const mt=B(()=>({next:o.next,prev:o.prev,select:o.select,isSelected:o.isSelected})),dt=B(()=>{switch(t.showArrows){case"always":return!0;case"desktop":return!r.value;case!0:return l.value||Math.abs(u.value)>0;case"mobile":return r.value||l.value||Math.abs(u.value)>0;default:return!r.value&&(l.value||Math.abs(u.value)>0)}}),Pt=B(()=>Math.abs(u.value)>1),Lt=B(()=>{if(!p.value)return!1;const tt=_p(b.value,p.el),et=TA(b.value,p.el);return tt-et-Math.abs(u.value)>1});return le(()=>I(t.tag,{class:["v-slide-group",{"v-slide-group--vertical":!b.value,"v-slide-group--has-affixes":dt.value,"v-slide-group--is-overflowing":l.value},a.value,t.class],style:t.style,tabindex:k.value||o.selected.value.length?-1:0,onFocus:N},{default:()=>{var tt,et,kt;return[dt.value&&I("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Pt.value}],onMousedown:M,onClick:()=>Pt.value&&it("prev")},[((tt=s.prev)==null?void 0:tt.call(s,mt.value))??I($b,null,{default:()=>[I(ee,{icon:n.value?t.nextIcon:t.prevIcon},null)]})]),I("div",{key:"container",ref:p,class:"v-slide-group__container",onScroll:A},[I("div",{ref:f,class:"v-slide-group__content",onFocusin:E,onFocusout:S,onKeydown:x},[(et=s.default)==null?void 0:et.call(s,mt.value)])]),dt.value&&I("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Lt.value}],onMousedown:M,onClick:()=>Lt.value&&it("next")},[((kt=s.next)==null?void 0:kt.call(s,mt.value))??I($b,null,{default:()=>[I(ee,{icon:n.value?t.prevIcon:t.nextIcon},null)]})])]}})),{selected:o.selected,scrollTo:it,scrollOffset:u,focus:X,hasPrev:Pt,hasNext:Lt}}}),h2=Symbol.for("vuetify:v-chip-group"),EA=vt({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:La},...g2(),...oe(),...b2({selectedClass:"v-chip--selected"}),...$e(),...Bi(),...Mn({variant:"tonal"})},"VChipGroup"),dj=Ut()({name:"VChipGroup",props:EA(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const{themeClasses:n}=Gi(t),{isSelected:a,select:r,next:o,prev:l,selected:u}=p2(t,h2);return ko({VChip:{color:Ht(t,"color"),disabled:Ht(t,"disabled"),filter:Ht(t,"filter"),variant:Ht(t,"variant")}}),le(()=>{const c=yp.filterProps(t);return I(yp,Bt(c,{class:["v-chip-group",{"v-chip-group--column":t.column},n.value,t.class],style:t.style}),{default:()=>{var d;return[(d=s.default)==null?void 0:d.call(s,{isSelected:a,select:r,next:o,prev:l,selected:u.value})]}})}),{}}}),jA=vt({activeClass:String,appendAvatar:String,appendIcon:re,closable:Boolean,closeIcon:{type:re,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:re,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:re,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:Is(),onClickOnce:Is(),...Na(),...oe(),...Cn(),...To(),...yA(),...Hs(),...yd(),...vd(),...$e({tag:"span"}),...Bi(),...Mn({variant:"tonal"})},"VChip"),CA=Ut()({name:"VChip",directives:{Ripple:kd},props:jA(),emits:{"click:close":t=>!0,"update:modelValue":t=>!0,"group:selected":t=>!0,click:t=>!0},setup(t,e){let{attrs:s,emit:n,slots:a}=e;const{t:r}=uS(),{borderClasses:o}=Ba(t),{colorClasses:l,colorStyles:u,variantClasses:c}=Ao(t),{densityClasses:d}=Ga(t),{elevationClasses:b}=Po(t),{roundedClasses:p}=Vs(t),{sizeClasses:m}=gd(t),{themeClasses:f}=Gi(t),v=Ni(t,"modelValue"),_=kA(t,h2,!1),g=_d(t,s),h=B(()=>t.link!==!1&&g.isLink.value),y=B(()=>!t.disabled&&t.link!==!1&&(!!_||t.link||g.isClickable.value)),k=B(()=>({"aria-label":r(t.closeLabel),onClick(A){A.preventDefault(),A.stopPropagation(),v.value=!1,n("click:close",A)}}));function w(A){var E;n("click",A),y.value&&((E=g.navigate)==null||E.call(g,A),_==null||_.toggle())}function P(A){(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),w(A))}return()=>{var X;const A=g.isLink.value?"a":t.tag,E=!!(t.appendIcon||t.appendAvatar),S=!!(E||a.append),L=!!(a.close||t.closable),N=!!(a.filter||t.filter)&&_,M=!!(t.prependIcon||t.prependAvatar),x=!!(M||a.prepend),H=!_||_.isSelected.value;return v.value&&ms(I(A,Bt({class:["v-chip",{"v-chip--disabled":t.disabled,"v-chip--label":t.label,"v-chip--link":y.value,"v-chip--filter":N,"v-chip--pill":t.pill,[`${t.activeClass}`]:t.activeClass&&((X=g.isActive)==null?void 0:X.value)},f.value,o.value,H?l.value:void 0,d.value,b.value,p.value,m.value,c.value,_==null?void 0:_.selectedClass.value,t.class],style:[H?u.value:void 0,t.style],disabled:t.disabled||void 0,draggable:t.draggable,tabindex:y.value?0:void 0,onClick:w,onKeydown:y.value&&!h.value&&P},g.linkProps),{default:()=>{var it;return[zo(y.value,"v-chip"),N&&I(LS,{key:"filter"},{default:()=>[ms(I("div",{class:"v-chip__filter"},[a.filter?I(oi,{key:"filter-defaults",disabled:!t.filterIcon,defaults:{VIcon:{icon:t.filterIcon}}},a.filter):I(ee,{key:"filter-icon",icon:t.filterIcon},null)]),[[mo,_.isSelected.value]])]}),x&&I("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?I(oi,{key:"prepend-defaults",disabled:!M,defaults:{VAvatar:{image:t.prependAvatar,start:!0},VIcon:{icon:t.prependIcon,start:!0}}},a.prepend):I(bt,null,[t.prependIcon&&I(ee,{key:"prepend-icon",icon:t.prependIcon,start:!0},null),t.prependAvatar&&I(zn,{key:"prepend-avatar",image:t.prependAvatar,start:!0},null)])]),I("div",{class:"v-chip__content","data-no-activator":""},[((it=a.default)==null?void 0:it.call(a,{isSelected:_==null?void 0:_.isSelected.value,selectedClass:_==null?void 0:_.selectedClass.value,select:_==null?void 0:_.select,toggle:_==null?void 0:_.toggle,value:_==null?void 0:_.value.value,disabled:t.disabled}))??t.text]),S&&I("div",{key:"append",class:"v-chip__append"},[a.append?I(oi,{key:"append-defaults",disabled:!E,defaults:{VAvatar:{end:!0,image:t.appendAvatar},VIcon:{end:!0,icon:t.appendIcon}}},a.append):I(bt,null,[t.appendIcon&&I(ee,{key:"append-icon",end:!0,icon:t.appendIcon},null),t.appendAvatar&&I(zn,{key:"append-avatar",end:!0,image:t.appendAvatar},null)])]),L&&I("button",Bt({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},k.value),[a.close?I(oi,{key:"close-defaults",defaults:{VIcon:{icon:t.closeIcon,size:"x-small"}}},a.close):I(ee,{key:"close-icon",icon:t.closeIcon,size:"x-small"},null)])]}}),[[xa("ripple"),y.value&&t.ripple,null]])}}}),MA=vt({id:String,text:String,...Da(Ad({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),$s=Ut()({name:"VTooltip",props:MA(),emits:{"update:modelValue":t=>!0},setup(t,e){let{slots:s}=e;const n=Ni(t,"modelValue"),{scopeId:a}=zd(),r=En(),o=B(()=>t.id||`v-tooltip-${r}`),l=lt(),u=B(()=>t.location.split(" ").length>1?t.location:t.location+" center"),c=B(()=>t.origin==="auto"||t.origin==="overlap"||t.origin.split(" ").length>1||t.location.split(" ").length>1?t.origin:t.origin+" center"),d=B(()=>t.transition?t.transition:n.value?"scale-transition":"fade-transition"),b=B(()=>Bt({"aria-describedby":o.value},t.activatorProps));return le(()=>{const p=Ur.filterProps(t);return I(Ur,Bt({ref:l,class:["v-tooltip",t.class],style:t.style,id:o.value},p,{modelValue:n.value,"onUpdate:modelValue":m=>n.value=m,transition:d.value,absolute:!0,location:u.value,origin:c.value,persistent:!0,role:"tooltip",activatorProps:b.value,_disableGlobalStack:!0},a),{activator:s.activator,default:function(){var _;for(var m=arguments.length,f=new Array(m),v=0;v<m;v++)f[v]=arguments[v];return((_=s.default)==null?void 0:_.call(s,...f))??t.text}})}),e2({},l)}}),xA={key:0},IA={key:1},LA={key:2},DA={class:"d-flex ml-2 mr-2"},RA={key:0},OA={key:0,class:"line-branch-end-left"},NA={key:1,class:"line-branch-split-left"},BA={key:0,class:"line-straight"},GA={key:1,class:"line-straight"},qA={key:3,class:"line-straight"},FA={key:4,class:"line-straight"},HA={key:5,class:"line-straight"},VA={key:7,class:"line-straight"},UA={key:0,class:"line-branch-start-right"},WA={key:1,class:"line-straight-halve"},KA={key:0,class:"line-branch-rejoin-right"},XA={key:1,class:"line-with-dot"},YA={key:2,class:"line-straight"},$A={key:4,class:"line-with-dot"},ZA={key:5,class:"line-with-dot"},QA={key:6,class:"line-with-dot"},JA={key:0,class:"line-end"},tT={key:1,class:"line-branch-output"},eT={key:8,class:"line-end"},iT={class:"w-100"},sT={class:"d-flex"},nT={class:"streamdetails-item"},aT={class:"streamdetails-item"},rT=["src"],oT={key:0},lT={key:0,class:"streamdetails-item"},uT={key:0},dT={key:1},cT={key:2},bT={key:3},pT={key:4},mT={class:"d-flex"},fT={key:0,class:"streamdetails-item"},vT={key:1,class:"streamdetails-item"},gT={key:3,class:"streamdetails-item"},hT={key:4,class:"streamdetails-item"},_T={key:5,class:"streamdetails-item"},yT=["src"],kT=["onClick"],wT=["onClick"],dl=new URL(""+new URL("fallback-DFk8zSGg.png",import.meta.url).href,import.meta.url).href,ST=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,zT=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,kp=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,AT=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 TT=new URL(""+new URL("m4a-BFCodQZL.png",import.meta.url).href,import.meta.url).href,cj=new URL(""+new URL("hires-DgAYKrO8.png",import.meta.url).href,import.meta.url).href,PT=new URL("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iNDgiCiAgIGhlaWdodD0iNDgiCiAgIHZpZXdCb3g9IjAgMCA0OCA0OCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMSIKICAgc29kaXBvZGk6ZG9jbmFtZT0icGNtLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40IChlN2MzZmViMTAwLCAyMDI0LTEwLTA5KSIKICAgaW5rc2NhcGU6ZXhwb3J0LWZpbGVuYW1lPSIuLi9wcm9qZWN0cy9tdXNpYy1hc3Npc3RhbnQvbXVzaWMtYXNzaXN0YW50LWZyb250ZW5kL3NyYy9hc3NldHMvUENNLnBuZyIKICAgaW5rc2NhcGU6ZXhwb3J0LXhkcGk9Ijk2IgogICBpbmtzY2FwZTpleHBvcnQteWRwaT0iOTYiCiAgIHhtbG5zOmlua3NjYXBlPSJodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy9uYW1lc3BhY2VzL2lua3NjYXBlIgogICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHNvZGlwb2RpOm5hbWVkdmlldwogICAgIGlkPSJuYW1lZHZpZXcxIgogICAgIHBhZ2Vjb2xvcj0iIzAwMDAwMCIKICAgICBib3JkZXJjb2xvcj0iIzAwMDAwMCIKICAgICBib3JkZXJvcGFjaXR5PSIwLjI1IgogICAgIGlua3NjYXBlOnNob3dwYWdlc2hhZG93PSIyIgogICAgIGlua3NjYXBlOnBhZ2VvcGFjaXR5PSIwLjAiCiAgICAgaW5rc2NhcGU6cGFnZWNoZWNrZXJib2FyZD0iMCIKICAgICBpbmtzY2FwZTpkZXNrY29sb3I9IiNkMWQxZDEiCiAgICAgaW5rc2NhcGU6ZG9jdW1lbnQtdW5pdHM9InB4IgogICAgIGlua3NjYXBlOnpvb209IjgiCiAgICAgaW5rc2NhcGU6Y3g9IjEzLjYyNSIKICAgICBpbmtzY2FwZTpjeT0iMTYuODc1IgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjEzNiIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMjY5IgogICAgIGlua3NjYXBlOndpbmRvdy14PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy15PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy1tYXhpbWl6ZWQ9IjEiCiAgICAgaW5rc2NhcGU6Y3VycmVudC1sYXllcj0ibGF5ZXIxIgogICAgIHNob3dncmlkPSJmYWxzZSIgLz4KICA8ZGVmcwogICAgIGlkPSJkZWZzMSIgLz4KICA8ZwogICAgIGlua3NjYXBlOmxhYmVsPSJMYXllciAxIgogICAgIGlua3NjYXBlOmdyb3VwbW9kZT0ibGF5ZXIiCiAgICAgaWQ9ImxheWVyMSI+CiAgICA8cGF0aAogICAgICAgc3R5bGU9ImZvbnQtc2l6ZToyMi42NDg2cHg7Zm9udC1mYW1pbHk6J05vdG8gU2Fucyc7LWlua3NjYXBlLWZvbnQtc3BlY2lmaWNhdGlvbjonTm90byBTYW5zJztmaWxsOiNmZmZmZmY7c3Ryb2tlLXdpZHRoOjEuNDg5MTI7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kIgogICAgICAgZD0ibSA2LjQ3NzQ5OTUsMTUuNjM4MzQ4IHEgMy4xNzA4MDM5LDAgNC42MjAzMTQ1LDEuMjQ1NjczIDEuNDQ5NTEsMS4yNDU2NzMgMS40NDk1MSwzLjUxMDUzMyAwLDEuMzM2MjY3IC0wLjYxMTUxMiwyLjUxMzk5NSAtMC41ODg4NjQsMS4xNTUwNzggLTIuMDE1NzI1NCwxLjg3OTgzMyAtMS40MDQyMTMyLDAuNzI0NzU2IC0zLjgyNzYxMzMsMC43MjQ3NTYgSCA0LjIzNTI4ODEgdiA2LjI5NjMxIEggMi4xOTY5MTQyIHYgLTE2LjE3MTEgeiBNIDYuMjk2MzEwNywxNy4zODIyOSBIIDQuMjM1Mjg4MSB2IDYuMzg2OTA1IGggMS42MzA2OTkyIHEgMi4zMTAxNTcyLDAgMy40NDI1ODcxLC0wLjc0NzQwMyAxLjEzMjQyOTYsLTAuNzQ3NDA0IDEuMTMyNDI5NiwtMi41MzY2NDQgMCwtMS41NjI3NTMgLTAuOTk2NTM4LC0yLjMzMjgwNSBRIDguNDQ3OTI3NiwxNy4zODIyOSA2LjI5NjMxMDcsMTcuMzgyMjkgWiBNIDIyLjgyOTc3OCwxNy4yMDExMDEgcSAtMi42MDQ1ODksMCAtNC4wOTkzOTYsMS43NDM5NDMgLTEuNDk0ODA4LDEuNzQzOTQyIC0xLjQ5NDgwOCw0Ljc3ODg1NCAwLDMuMDEyMjY0IDEuMzgxNTY1LDQuNzc4ODU1IDEuNDA0MjEzLDEuNzQzOTQyIDQuMTg5OTkxLDEuNzQzOTQyIDEuMDY0NDg0LDAgMi4wMTU3MjUsLTAuMTgxMTg5IDAuOTUxMjQxLC0wLjE4MTE4OSAxLjg1NzE4NSwtMC40NTI5NzIgdiAxLjc2NjU5MSBxIC0wLjkwNTk0NCwwLjMzOTcyOSAtMS44Nzk4MzQsMC40OTgyNjkgLTAuOTUxMjQxLDAuMTU4NTQgLTIuMjg3NTA4LDAuMTU4NTQgLTIuNDY4Njk4LDAgLTQuMTIyMDQ1LC0xLjAxOTE4NyAtMS42NTMzNDgsLTEuMDE5MTg3IC0yLjQ5MTM0NiwtMi44OTkwMiAtMC44MTUzNSwtMS44Nzk4MzQgLTAuODE1MzUsLTQuNDE2NDc3IDAsLTIuNDQ2MDQ5IDAuODgzMjk2LC00LjMwMzIzNCAwLjkwNTk0NCwtMS44Nzk4MzQgMi42NDk4ODYsLTIuOTIxNjcgMS43NDM5NDIsLTEuMDY0NDg0IDQuMjM1Mjg4LC0xLjA2NDQ4NCAyLjU1OTI5MiwwIDQuNDYxNzc0LDAuOTUxMjQxIGwgLTAuODE1MzUsMS43MjEyOTQgUSAyNS43NTE0NDgsMTcuNzQ0NjY4IDI0LjgyMjg1NSwxNy40NzI4ODUgMjMuOTE2OTExLDE3LjIwMTEwMSAyMi44Mjk3NzgsMTcuMjAxMTAxIFogTSAzNy4zNDc1MzEsMzEuODA5NDQ4IDMyLjAyNTExLDE3LjYzMTQyNSBoIC0wLjA5MDU5IHEgMC4wNjc5NCwwLjcwMjEwNiAwLjExMzI0MywxLjkwMjQ4MiAwLjA0NTMsMS4xNzc3MjcgMC4wNDUzLDIuNDY4Njk4IHYgOS44MDY4NDMgaCAtMS44Nzk4MzQgdiAtMTYuMTcxMSBoIDMuMDEyMjY0IGwgNC45ODI2OTIsMTMuMjQ5NDMxIGggMC4wOTA1OSBsIDUuMDczMjg2LC0xMy4yNDk0MzEgaCAyLjk4OTYxNiB2IDE2LjE3MTEgaCAtMi4wMTU3MjYgdiAtOS45NDI3MzUgcSAwLC0xLjE3NzcyNyAwLjA0NTMsLTIuMzMyODA2IDAuMDY3OTUsLTEuMTU1MDc4IDAuMTEzMjQzLC0xLjg3OTgzNCBoIC0wLjA5MDU5IGwgLTUuMzkwMzY3LDE0LjE1NTM3NSB6IgogICAgICAgaWQ9InRleHQyIgogICAgICAgdHJhbnNmb3JtPSJzY2FsZSgwLjk4ODQ5NTIsMS4wMTE2Mzg3KSIKICAgICAgIGFyaWEtbGFiZWw9IlBDTSIgLz4KICA8L2c+Cjwvc3ZnPgo=",import.meta.url).href,ET=new URL(""+new URL("cover_dark-DW8aYTk2.png",import.meta.url).href,import.meta.url).href,jT=new URL(""+new URL("cover_light-Dxw-EaOr.png",import.meta.url).href,import.meta.url).href,CT=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,bj=ci({__name:"QualityDetailsBtn",setup(t){const e=B(()=>{var _,g;return(g=(_=at.activePlayerQueue)==null?void 0:_.current_item)==null?void 0:g.streamdetails}),s=B(()=>{var g,h;const _=e.value;if(!_)return null;if(_.volume_normalization_gain_correct!=null){const y=_.volume_normalization_gain_correct>0?"+":"";return jt("volume_normalization_gain_correction",[y+_.volume_normalization_gain_correct])}return _.volume_normalization_mode==Vn.MEASUREMENT_ONLY&&_.loudness!==null?_.prefer_album_loudness&&_.loudness_album!==null?jt("loudness_measurement_album",[(g=_.loudness_album)==null?void 0:g.toFixed(2)]):jt("loudness_measurement",[(h=_.loudness)==null?void 0:h.toFixed(2)]):_.volume_normalization_mode==Vn.DYNAMIC?jt("loudness_dynamic"):_.volume_normalization_mode==Vn.FIXED_GAIN?jt("loudness_fixed"):null}),n=B(()=>{if(!e.value||!e.value.dsp)return[];let _=[];for(const[g,h]of Object.entries(e.value.dsp)){let y=_.find(k=>JSON.stringify(k.dsp)===JSON.stringify(h));y?y.players.push(g):_.push({dsp:h,player_id:g,players:[g]})}return _}),a=lt({}),r=function(_){return[Wt.PCM_S16LE,Wt.PCM_S24LE,Wt.PCM_S32LE,Wt.PCM_F32LE,Wt.PCM_F64LE].includes(_)},o=function(_){return _==Wt.AAC?ST:_==Wt.FLAC?zT:_==Wt.MP3||_==Wt.MPEG?kp:_==Wt.OGG?AT:_==Wt.M4A?TT:r(_)?PT:null},l=B(()=>{if(!e.value)return dl;let _=o(e.value.audio_format.codec_type);return _===null&&(_=o(e.value.audio_format.content_type)),_===null&&(_=dl),_});let u;(_=>{_[_.LOW=0]="LOW",_[_.GOOD=1]="GOOD",_[_.HIRES=3]="HIRES"})(u||(u={}));const c=function(_){return[Wt.DSF,Wt.FLAC,Wt.AIFF,Wt.WAV,Wt.ALAC,Wt.WAVPACK,Wt.TAK,Wt.APE,Wt.TRUEHD,Wt.DSD_LSBF,Wt.DSD_MSBF,Wt.DSD_LSBF_PLANAR,Wt.DSD_MSBF_PLANAR,Wt.RA_144].includes(_)},d=B(()=>{const _=e.value;if(!_)return 0;let g=_.audio_format.content_type;return _.audio_format.codec_type!==Wt.UNKNOWN&&(g=_.audio_format.codec_type),_.audio_format.bit_depth>16||_.audio_format.sample_rate>48e3?3:c(g)?1:0}),b=B(()=>{var g;const _={};if(!((g=e.value)!=null&&g.dsp))return _;for(const[h,y]of Object.entries(e.value.dsp)){let k=1;y.output_format&&(y.output_format.bit_depth>16||y.output_format.sample_rate>48e3)&&(k=3),y.output_format&&y.output_format.content_type==Wt.MP3&&(k=0),_[h]=k}return _}),p=function(_){switch(_){case 0:return"orange";case 1:return"lightgreen";case 3:return"cyan"}},m=B(()=>{var h;const _={};if(!((h=e.value)!=null&&h.dsp))return _;const g=d.value;for(const[y,k]of Object.entries(e.value.dsp))_[y]=Math.min(b.value[y],g);return _});B(()=>Math.min(...Object.values(m.value)));const f=B(()=>Math.max(...Object.values(m.value))),v=function(_){let g=jt("settings.dsp.types."+_.type);if(_.type===J0.PARAMETRIC_EQ){const h=_.bands.filter(y=>y.enabled).length;h===1?g+=` (${jt("streamdetails.eq_band_count_singular")})`:g+=` (${jt("streamdetails.eq_band_count",[h])})`}return g};return(_,g)=>e.value?($(),ui(mu,{key:0,location:"top center","close-on-content-click":!1,scrim:"","max-height":_.$vuetify.display.height-150},{activator:It(({props:h})=>{var y,k;return[e.value?($(),ui(CA,Bt({key:0,disabled:!Z(at).activePlayerQueue||!((y=Z(at).activePlayerQueue)!=null&&y.active)||((k=Z(at).activePlayerQueue)==null?void 0:k.items)==0,class:"mediadetails-content-type-btn",label:"",ripple:!1},h),{default:It(()=>[gt("div",{class:"quality-tier-dot",style:Ii({backgroundColor:p(f.value)})},null,4),f.value==0?($(),st("div",xA,"LQ")):f.value==1?($(),st("div",IA,"HQ")):f.value==3?($(),st("div",LA,"HR")):Xt("",!0)]),_:2},1040,["disabled"])):Xt("",!0)]}),default:It(()=>[I(ru,{class:"mx-auto",width:Math.min(_.$vuetify.display.width-25,380)},{default:It(()=>[I(uu,{style:{overflow:"hidden"}},{default:It(()=>{var h,y;return[gt("div",DA,[n.value.length>=2?($(),st("div",RA,[g[0]||(g[0]=gt("div",{class:"line-space-halve"},null,-1)),g[1]||(g[1]=gt("div",{class:"line-space"},null,-1)),g[2]||(g[2]=gt("div",{class:"line-space"},null,-1)),g[3]||(g[3]=gt("div",{class:"line-space"},null,-1)),g[4]||(g[4]=gt("div",{class:"line-branch-start-left"},null,-1)),($(!0),st(bt,null,mi(n.value,({dsp:k,player_id:w,players:P},A)=>($(),st(bt,{key:A},[A==n.value.length-1?($(),st("div",OA)):A>0?($(),st("div",NA)):Xt("",!0),A!=n.value.length-1?($(),st(bt,{key:2},[k.input_gain&&k.input_gain!=0?($(),st("div",BA)):Xt("",!0),k.state==Z(br).DISABLED_BY_UNSUPPORTED_GROUP?($(),st("div",GA)):($(!0),st(bt,{key:2},mi(k.filters,(E,S)=>($(),st("div",{key:S,class:"line-straight"}))),128)),k.output_gain&&k.output_gain!=0?($(),st("div",qA)):Xt("",!0),k.output_limiter?($(),st("div",FA)):Xt("",!0),e.value.dsp&&e.value.dsp[w].output_format?($(),st("div",HA)):Xt("",!0),w in a.value&&a.value[w]?($(!0),st(bt,{key:6},mi(P,(E,S)=>($(),st("div",{key:S,class:"line-straight"}))),128)):($(),st("div",VA))],64)):Xt("",!0)],64))),128))])):Xt("",!0),gt("div",null,[g[5]||(g[5]=gt("div",{class:"line-space-halve"},null,-1)),g[6]||(g[6]=gt("div",{class:"line-start"},null,-1)),g[7]||(g[7]=gt("div",{class:"line-straight"},null,-1)),g[8]||(g[8]=gt("div",{class:"line-with-dot"},null,-1)),n.value.length>=2?($(),st("div",UA)):($(),st("div",WA)),($(!0),st(bt,null,mi(n.value,({dsp:k,player_id:w,players:P},A)=>($(),st(bt,{key:A},[A>0?($(),st("div",KA)):Xt("",!0),k.input_gain&&k.input_gain!=0?($(),st("div",XA)):Xt("",!0),k.state==Z(br).DISABLED_BY_UNSUPPORTED_GROUP?($(),st("div",YA)):($(!0),st(bt,{key:3},mi(k.filters,(E,S)=>($(),st("div",{key:S,class:"line-with-dot"}))),128)),k.output_gain&&k.output_gain!=0?($(),st("div",$A)):Xt("",!0),k.output_limiter?($(),st("div",ZA)):Xt("",!0),e.value.dsp&&e.value.dsp[w].output_format?($(),st("div",QA)):Xt("",!0),w in a.value&&a.value[w]?($(!0),st(bt,{key:7},mi(P,(E,S)=>($(),st(bt,{key:S},[S===P.length-1?($(),st("div",JA)):($(),st("div",tT))],64))),128)):($(),st("div",eT))],64))),128))]),gt("div",iT,[gt("div",sT,[g[9]||(g[9]=gt("div",{class:"streamdetails-separator",style:{width:"40px","margin-right":"10px"}},null,-1)),gt("div",{class:"quality-tier-dot",style:Ii({backgroundColor:p(d.value)})},null,4),At(" "+Ct(Z(jt)("streamdetails.input_header"))+" ",1),g[10]||(g[10]=gt("div",{class:"streamdetails-separator flex-fill",style:{"margin-left":"10px"}},null,-1))]),gt("div",nT,[I(ul,{domain:e.value.provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),At(" "+Ct(((h=Z(Y).providerManifests[e.value.provider])==null?void 0:h.name)||((y=Z(Y).providers[e.value.provider])==null?void 0:y.name)),1)]),gt("div",aT,[gt("img",{class:"streamdetails-icon invert-on-light-mode",src:l.value},null,8,rT),At(" "+Ct(e.value.audio_format.sample_rate/1e3)+" kHz / "+Ct(e.value.audio_format.bit_depth)+" bits ",1),I($s,{location:"top","open-on-click":!0,"max-width":"300"},{activator:It(({props:k})=>[I(ee,Bt({class:"ml-2",size:"small"},k),{default:It(()=>g[11]||(g[11]=[At("mdi-information")])),_:2},1040)]),default:It(()=>[At(" "+Ct(Z(jt)("streamdetails.file_info.container",[e.value.audio_format.content_type]))+" ",1),g[13]||(g[13]=gt("br",null,null,-1)),At(" "+Ct(Z(jt)("streamdetails.file_info.codec",[e.value.audio_format.codec_type]))+" ",1),g[14]||(g[14]=gt("br",null,null,-1)),At(" "+Ct(Z(jt)("streamdetails.file_info.bit_depth",[e.value.audio_format.bit_depth]))+" ",1),g[15]||(g[15]=gt("br",null,null,-1)),At(" "+Ct(Z(jt)("streamdetails.file_info.sample_rate",[(e.value.audio_format.sample_rate/1e3).toFixed(1)]))+" ",1),g[16]||(g[16]=gt("br",null,null,-1)),At(" "+Ct(Z(jt)("streamdetails.file_info.channels",[e.value.audio_format.channels]))+" ",1),e.value.audio_format.bit_rate?($(),st("span",oT,[g[12]||(g[12]=gt("br",null,null,-1)),At(" "+Ct(Z(jt)("streamdetails.file_info.bit_rate",[e.value.audio_format.bit_rate.toFixed(0)])),1)])):Xt("",!0),g[17]||(g[17]=gt("br",null,null,-1)),g[18]||(g[18]=gt("br",null,null,-1)),At(" "+Ct(Z(jt)("streamdetails.file_info.processing_notice")),1)]),_:1})]),s.value?($(),st("div",lT,[g[26]||(g[26]=gt("img",{class:"streamdetails-icon invert-on-light-mode",src:bA},null,-1)),At(" "+Ct(s.value)+" ",1),I($s,{location:"top","open-on-click":!0,"max-width":"350"},{activator:It(({props:k})=>[I(ee,Bt({class:"ml-2",size:"small"},k),{default:It(()=>g[19]||(g[19]=[At("mdi-information")])),_:2},1040)]),default:It(()=>[e.value.volume_normalization_mode==Z(Vn).MEASUREMENT_ONLY&&e.value.prefer_album_loudness&&e.value.loudness_album!=null?($(),st("span",uT,Ct(Z(jt)("streamdetails.volume_normalization.mode.measurement_album")),1)):($(),st("span",dT,Ct(Z(jt)(`streamdetails.volume_normalization.mode.${e.value.volume_normalization_mode}`)),1)),g[23]||(g[23]=gt("br",null,null,-1)),g[24]||(g[24]=gt("br",null,null,-1)),At(" "+Ct(Z(jt)("streamdetails.volume_normalization.target_level",[e.value.target_loudness]))+" ",1),g[25]||(g[25]=gt("br",null,null,-1)),e.value.loudness!=null?($(),st("span",cT,[At(Ct(Z(jt)("streamdetails.volume_normalization.integrated_loudness",[e.value.loudness]))+" ",1),g[20]||(g[20]=gt("br",null,null,-1))])):Xt("",!0),e.value.loudness_album!=null?($(),st("span",bT,[At(Ct(Z(jt)("streamdetails.volume_normalization.integrated_album_loudness",[e.value.loudness_album]))+" ",1),g[21]||(g[21]=gt("br",null,null,-1))])):Xt("",!0),e.value.volume_normalization_gain_correct!=null?($(),st("span",pT,[At(Ct(Z(jt)("streamdetails.volume_normalization.applied_gain_correction",[e.value.volume_normalization_gain_correct]))+" ",1),g[22]||(g[22]=gt("br",null,null,-1))])):Xt("",!0)]),_:1})])):Xt("",!0),($(!0),st(bt,null,mi(n.value,({dsp:k,player_id:w,players:P},A)=>($(),st(bt,{key:A},[gt("div",mT,[g[27]||(g[27]=gt("div",{class:"streamdetails-separator",style:{width:"40px","margin-right":"10px"}},null,-1)),gt("div",{class:"quality-tier-dot",style:Ii({backgroundColor:p(m.value[w])})},null,4),At(" "+Ct(Z(jt)("streamdetails.output_header"))+" ",1),g[28]||(g[28]=gt("div",{class:"streamdetails-separator flex-fill",style:{"margin-left":"10px"}},null,-1))]),k.input_gain&&k.input_gain!=0?($(),st("div",fT,[g[29]||(g[29]=gt("img",{class:"streamdetails-icon invert-on-dark-mode",src:sr},null,-1)),At(" "+Ct(Z(jt)("streamdetails.input_gain",[k.input_gain.toFixed(1)])),1)])):Xt("",!0),k.state==Z(br).DISABLED_BY_UNSUPPORTED_GROUP?($(),st("div",vT,[g[31]||(g[31]=gt("img",{class:"streamdetails-icon invert-on-dark-mode",src:pA},null,-1)),At(" "+Ct(Z(jt)("streamdetails.dsp_unsupported"))+" ",1),I($s,{location:"top","open-on-click":!0,"max-width":"300"},{activator:It(({props:E})=>[I(ee,Bt({class:"ml-2",size:"small",ref_for:!0},E),{default:It(()=>g[30]||(g[30]=[At("mdi-information")])),_:2},1040)]),default:It(()=>[At(" "+Ct(Z(jt)("streamdetails.dsp_disabled_by_unsupported_group")),1)]),_:1})])):($(!0),st(bt,{key:2},mi(k.filters,(E,S)=>($(),st("div",{key:S,class:"streamdetails-item"},[g[32]||(g[32]=gt("img",{class:"streamdetails-icon invert-on-dark-mode",src:sr},null,-1)),At(" "+Ct(v(E)),1)]))),128)),k.output_gain&&k.output_gain!=0?($(),st("div",gT,[g[33]||(g[33]=gt("img",{class:"streamdetails-icon invert-on-dark-mode",src:sr},null,-1)),At(" "+Ct(Z(jt)("streamdetails.output_gain",[k.input_gain.toFixed(1)])),1)])):Xt("",!0),k.output_limiter?($(),st("div",hT,[g[35]||(g[35]=gt("img",{class:"streamdetails-icon invert-on-dark-mode",src:sr},null,-1)),At(" "+Ct(Z(jt)("streamdetails.output_limiter"))+" ",1),I($s,{location:"top","open-on-click":!0,"max-width":"300"},{activator:It(({props:E})=>[I(ee,Bt({class:"ml-2",size:"small",ref_for:!0},E),{default:It(()=>g[34]||(g[34]=[At("mdi-information")])),_:2},1040)]),default:It(()=>[At(" "+Ct(Z(jt)("streamdetails.output_limiter_info")),1)]),_:1})])):Xt("",!0),e.value.dsp&&e.value.dsp[w].output_format?($(),st("div",_T,[gt("img",{class:"streamdetails-icon invert-on-light-mode",src:o(e.value.dsp[w].output_format.content_type)||Z(dl)},null,8,yT),At(" "+Ct(e.value.dsp[w].output_format.sample_rate/1e3)+" kHz / "+Ct(e.value.dsp[w].output_format.bit_depth)+" bits ",1),I($s,{location:"top","open-on-click":!0,"max-width":"300"},{activator:It(({props:E})=>[I(ee,Bt({class:"ml-2",size:"small",ref_for:!0},E),{default:It(()=>g[36]||(g[36]=[At("mdi-information")])),_:2},1040)]),default:It(()=>[r(e.value.dsp[w].output_format.content_type)?($(),st(bt,{key:0},[At(Ct(Z(jt)("streamdetails.output_format_pcm_info")),1)],64)):($(),st(bt,{key:1},[At(Ct(Z(jt)("streamdetails.output_format_info",[e.value.dsp[w].output_format.content_type.toUpperCase()])),1)],64))]),_:2},1024)])):Xt("",!0),w in a.value&&a.value[w]?($(!0),st(bt,{key:6},mi(P,(E,S)=>($(),st("div",{key:S,class:"streamdetails-item",onClick:L=>a.value[w]=!1},[Z(Y).players[E]?($(),st(bt,{key:0},[I(ul,{domain:Z(Y).players[E].provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),At(" "+Ct(Z(Y).players[E].display_name),1)],64)):($(),st(bt,{key:1},[I(ee,{class:"streamdetails-icon"},{default:It(()=>g[37]||(g[37]=[At("mdi-alert-circle-outline")])),_:1}),g[38]||(g[38]=At(" Player not found "))],64))],8,kT))),128)):($(),st("div",{key:7,class:"streamdetails-item",onClick:E=>a.value[w]=!0},[Z(Y).players[w]?($(),st(bt,{key:0},[I(ul,{domain:Z(Y).players[w].provider,size:30,class:"streamdetails-icon",monochrome:!0},null,8,["domain"]),P.length==1?($(),st(bt,{key:0},[At(Ct(Z(Y).players[w].display_name),1)],64)):($(),st(bt,{key:1},[At(Ct(Z(Y).players[w].display_name)+" + "+Ct(P.length-1)+" ",1),I($s,{location:"top","max-width":"300"},{activator:It(({props:E})=>[I(ee,Bt({class:"ml-2",size:"small",ref_for:!0},E),{default:It(()=>g[39]||(g[39]=[At("mdi-information")])),_:2},1040)]),default:It(()=>[At(" "+Ct(Z(jt)("streamdetails.click_to_expand")),1)]),_:1})],64))],64)):($(),st(bt,{key:1},[I(ee,{class:"streamdetails-icon"},{default:It(()=>g[40]||(g[40]=[At("mdi-alert-circle-outline")])),_:1}),g[41]||(g[41]=At(" Player not found "))],64))],8,wT))],64))),128))])])]}),_:1})]),_:1},8,["width"])]),_:1},8,["max-height"])):Xt("",!0)}}),MT=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`},Kn=function(t,e=Ji.THUMB){if(t){if("image"in t&&t.image&&t.image.type==e&&wp(t.image.provider))return t.image;if("media_item"in t&&t.media_item)return Kn(t.media_item);if("album"in t&&t.album){const s=Kn(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&&wp(s.provider))return s}if("artists"in t&&t.artists)for(const s of t.artists){const n=Kn(s,e);if(n)return n}if(e==Ji.THUMB)return Kn(t,Ji.LANDSCAPE)}},xT=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 n=encodeURIComponent(encodeURIComponent(t.path));let a=`${Y.baseUrl}/imageproxy?path=${n}&provider=${t.provider}&checksum=${s}`;return e?a+`&size=${e}`:a}return t.path},hr=function(t,e=Ji.THUMB,s){var r;if(!t)return;const n=Kn(t,e);if(!n||!n.path)return;const a="metadata"in t?(r=t.metadata)==null?void 0:r.cache_checksum:"";return xT(n,s,a)},wp=function(t){var e;return t==="http"||t==="builtin"?!0:((e=Y.getProvider(t))==null?void 0:e.available)===!0},pj=ci({__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=_f();function n(){return typeof e.size=="number"?e.size:e.thumbnail?256:0}const a=n();function r(){return e.fallback?e.fallback:e.item&&"media_type"in e.item&&e.item.media_type==ut.FOLDER?CT:!e.item||!e.item.name?"":MT(e.item.name,s.current.value.dark,a||256)}const o=r(),l=B(()=>e.item&&hr(e.item,Ji.THUMB,a)||o);return(u,c)=>($(),ui(hd,{loading:"lazy",height:u.size||"100%",width:u.size||"100%","aspect-ratio":"1",src:l.value,class:eo({rounded:u.rounded}),contain:"","lazy-src":Z(s).current.value.dark?Z(ET):Z(jT)},null,8,["height","width","src","class","lazy-src"]))}});function IT(t){var a,r;let e,s;if(((a=t.media_item)==null?void 0:a.media_type)===ut.TRACK){const o=t.media_item;e=o.artists.map(l=>l.name).join(", "),s=(r=o.album)==null?void 0:r.name}const n=[{src:hr(t,Ji.THUMB,128)||"",sizes:"128x128"},{src:hr(t,Ji.THUMB,256)||"",sizes:"256x256"},{src:hr(t,Ji.THUMB,512)||"",sizes:"512x512"}];return new MediaMetadata({title:t.media_item.name,artist:e,album:s,artwork:n})}function LT(t){let e;e=B(()=>{if(at.activePlayerId&&at.activePlayerId in Y.players)return Y.players[at.activePlayerId]});const s=B(()=>{var l;if((l=e.value)!=null&&l.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]}),n=B(()=>{if(s.value&&s.value.active)return s.value.current_item});let a;const r=Tt(()=>n.value,l=>{if(!l||!l.media_item||l.media_item.uri===a)return;const u=IT(l);a=l.media_item.uri,navigator.mediaSession.metadata=u},{immediate:!0}),o=Tt(()=>{var l,u,c;return[(l=s.value)==null?void 0:l.elapsed_time,(c=(u=s.value)==null?void 0:u.current_item)==null?void 0:c.duration]},()=>{var c,d,b,p,m,f,v;if(!((c=s.value)!=null&&c.active)||((p=(b=(d=at.activePlayerQueue)==null?void 0:d.current_item)==null?void 0:b.media_item)==null?void 0:p.media_type)!==ut.TRACK){navigator.mediaSession.setPositionState();return}const l=((f=(m=s.value)==null?void 0:m.current_item)==null?void 0:f.duration)||1,u=Math.min(l,((v=s.value)==null?void 0:v.elapsed_time)||0);navigator.mediaSession.setPositionState({duration:l,playbackRate:1,position:u})},{immediate:!0});return()=>{r(),o()}}const DT=["src"],RT=ci({__name:"PlayerBrowserMediaControls",setup(t){var c;const e=lt();function s(d){const b=at.activePlayer;if(b)return d(b==null?void 0:b.player_id)}let n;function a(d){if(!d||!e.value)return;let b;switch(n&&clearInterval(n),n=void 0,d){case bn.PLAYING:e.value.play(),b=d,n=setInterval(()=>{e.value&&(e.value.currentTime=2)},55e3);break;case bn.PAUSED:e.value.pause(),e.value.currentTime=2,b=d;break;default:e.value.pause(),e.value.currentTime=2,b="none"}navigator.mediaSession.playbackState=b}Tt(()=>{var d;return(d=at.activePlayer)==null?void 0:d.state},d=>a(d)),Tt(()=>e.value,()=>{a(bn.PLAYING),setTimeout(()=>{var d;e.value&&(e.value.currentTime=0),a((d=at.activePlayer)==null?void 0:d.state)},100)},{once:!0}),a((c=at.activePlayer)==null?void 0:c.state);let r,o;const l=function(){clearTimeout(o),o=setTimeout(()=>{r=void 0,o=void 0},2e3)};LT();const u=function(d,b){var m;let p=null;if(d.action==="seekto"&&d.seekTime)p=d.seekTime;else if(d.action==="seekforward"||d.action==="seekbackward"){const f=d.seekOffset||10,v=r||((m=at.activePlayerQueue)==null?void 0:m.elapsed_time);if(!v)return;d.action==="seekbackward"?p=v-f:p=v+f}else return;p=Math.round(p),r=p,l(),d.fastSeek||Y.playerCommandSeek(b,p)};return bi(()=>{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(b=>u(d,b))}),navigator.userAgent.match(/(iPhone|iPod|iPad|Mac)/i)||(navigator.mediaSession.setActionHandler("seekforward",d=>{s(b=>u(d,b))}),navigator.mediaSession.setActionHandler("seekbackward",d=>{s(b=>u(d,b))}))}),(d,b)=>($(),st("audio",{ref_key:"audioRef",ref:e,controls:"",src:Z(cA),loop:"",class:"audio-control"},null,8,DT))}});var vu=(t=>(t.DISABLED="disabled",t.CONTROLS_ONLY="controls_only",t))(vu||{});const nr=ce({mode:"disabled",pending_mode:"disabled",baseUrl:"",player_id:null,interacted:!1,async setMode(t){if(!this.interacted){this.pending_mode=t;return}this.mode!==t&&(this.mode=t,this.pending_mode="disabled")},disable(){this.setMode("controls_only")},setBaseUrl(t){if(t===this.baseUrl)return;const e=this.mode;this.setMode("disabled"),this.baseUrl=t,this.setMode(e)},async setInteracted(){this.interacted||(this.interacted=!0,this.pending_mode!=="disabled"&&await this.setMode(this.pending_mode))}}),OT=ci({__name:"App",setup(t){const e=_f(),s=function(){const a=localStorage.getItem("frontend.settings.theme")||"auto";a=="dark"?e.global.name.value="dark":a=="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(){nr.setInteracted(),window.removeEventListener("click",n)};return bi(()=>{at.isInStandaloneMode=window.navigator.standalone||!1,at.navigationMenuStyle=localStorage.getItem("frontend.settings.menu_style")||"horizontal";const a=localStorage.getItem("frontend.settings.language")||"auto";a!=="auto"&&(od.global.locale.value=a),s(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",s);let r="";{const o=window.location;r=o.origin+o.pathname}at.connected=!1,Y.subscribe(Le.CONNECTED,async()=>{var o;((o=Y.serverInfo.value)==null?void 0:o.onboard_done)===!1&&(console.info("Onboarding not done, redirecting to settings"),xi.push("/settings")),at.libraryArtistsCount=await Y.getLibraryArtistsCount(),at.libraryAlbumsCount=await Y.getLibraryAlbumsCount(),at.libraryPlaylistsCount=await Y.getLibraryPlaylistsCount(),at.libraryRadiosCount=await Y.getLibraryRadiosCount(),at.libraryTracksCount=await Y.getLibraryTracksCount(),at.connected=!0}),Y.subscribe(Le.DISCONNECTED,()=>{at.connected=!1}),Y.initialize(r),nr.setBaseUrl(r),nr.setMode(vu.CONTROLS_ONLY),window.addEventListener("click",n)}),(a,r)=>{const o=Nv("router-view");return $(),st(bt,null,[I(o),Z(nr).mode===Z(vu).CONTROLS_ONLY?($(),ui(RT,{key:0})):Xt("",!0)],64)}}}),NT={base:"#2196f3",lighten2:"#64b5f6",darken2:"#1976d2",darken4:"#0d47a1"},ar={blue:NT},BT={component:t=>ie(Bw,{...t,class:"material-icons"})},GT={...ff},qT=c2({icons:{defaultSet:"mdi",aliases:GT,sets:{md:BT,mdi:vf}},display:{mobileBreakpoint:"md",thresholds:{xs:0,sm:340,md:540,lg:800,xl:1280}},theme:{defaultTheme:"light",themes:{light:{dark:!1,colors:{primary:ar.blue.base,accent:ar.blue.darken2}},dark:{dark:!0,colors:{primary:ar.blue.darken4,accent:ar.blue.lighten2}}}}}),FT={install:(t,e)=>{const s=(e==null?void 0:e.holdDuration)||500,n=(e==null?void 0:e.swipeThreshold)||50,a=(e==null?void 0:e.doubleTapThreshold)||300,r=(e==null?void 0:e.holdThreshold)||10,o="touchstart",l="touchend",u="touchmove";let c=!1;try{addEventListener("test",()=>{},{get passive(){c=!0}})}catch{}t.directive("hold",{mounted(d,b){const p="ontouchstart"in window?"touchstart":"mousedown",m="ontouchstart"in window?"touchend":"mouseup",f="ontouchstart"in window?"touchmove":"mousemove";let v=null,_=null,g=null;const h=w=>{w.touches&&(_=w.touches[0].clientX,g=w.touches[0].clientY,v=window.setTimeout(()=>{b.value(w),v=null},s))},y=w=>{if(!_||!g||!v||!w.touches)return;const P=w.touches[0].clientX,A=w.touches[0].clientY;(Math.abs(P-_)>r||Math.abs(A-g)>r)&&(window.clearTimeout(v),v=null)},k=()=>{v&&(window.clearTimeout(v),v=null)};d.addEventListener(p,h,c?{passive:!0}:!1),d.addEventListener(m,k,c?{passive:!0}:!1),d.addEventListener(f,y,c?{passive:!0}:!1),d._hold={handleTouchStart:h,handleTouchEnd:k,handleTouchMove:y}},unmounted(d){d._hold&&(d.removeEventListener(o,d._hold.handleTouchStart),d.removeEventListener(l,d._hold.handleTouchEnd),d.removeEventListener(u,d._hold.handleTouchMove))}}),t.directive("tap",{mounted(d,b){let p=null;const m=()=>{p=Date.now()},f=()=>{p&&Date.now()-p<s&&b.value()};d.addEventListener(o,m,c?{passive:!0}:!1),d.addEventListener(l,f,c?{passive:!0}:!1),d._tap={handleTouchStart:m,handleTouchEnd:f}},unmounted(d){d._tap&&(d.removeEventListener(o,d._tap.handleTouchStart),d.removeEventListener(l,d._tap.handleTouchEnd))}}),t.directive("swipe",{mounted(d,b){const p="ontouchstart"in window?"touchstart":"mousedown",m="ontouchstart"in window?"touchend":"mouseup";let f=null,v=null;const _=h=>{h.touches&&(f=h.touches[0].clientX,v=h.touches[0].clientY)},g=h=>{const y=h.changedTouches[0].clientX,k=h.changedTouches[0].clientY,w=y-(f||0),P=k-(v||0),A=Math.abs(w),E=Math.abs(P);let S=null;(A>n||E>n)&&(A>=E?S=w>0?"right":"left":S=P>0?"down":"up"),S&&(b.modifiers.right&&S==="right"||b.modifiers.left&&S==="left"||b.modifiers.up&&S==="up"||b.modifiers.down&&S==="down"||!b.modifiers.right&&!b.modifiers.left&&!b.modifiers.up&&!b.modifiers.down)&&b.value(S)};d.addEventListener(p,_,c?{passive:!0}:!1),d.addEventListener(m,g,c?{passive:!0}:!1),d._swipe={handleTouchStart:_,handleTouchEnd:g}},unmounted(d){d._swipe&&(d.removeEventListener(o,d._swipe.handleTouchStart),d.removeEventListener(l,d._swipe.handleTouchEnd))}}),t.directive("drag",{mounted(d,b){let p=null,m=null,f=0,v=0,_=!1;const g=k=>{k.touches&&(k.preventDefault(),p=k.touches[0].clientX,m=k.touches[0].clientY,f=d.offsetLeft,v=d.offsetTop,_=!0)},h=k=>{if(!_||!k.touches)return;const w=k.touches[0].clientX,P=k.touches[0].clientY,A=w-(p||0),E=P-(m||0);b.value({offsetX:f+A,offsetY:v+E})},y=()=>{_=!1};d.addEventListener(o,g,c?{passive:!0}:!1),d.addEventListener(u,h,c?{passive:!0}:!1),d.addEventListener(l,y,c?{passive:!0}:!1),d._drag={handleTouchStart:g,handleTouchMove:h,handleTouchEnd:y}},unmounted(d){d._drag&&(d.removeEventListener(o,d._drag.handleTouchStart),d.removeEventListener(u,d._drag.handleTouchMove),d.removeEventListener(l,d._drag.handleTouchEnd))}}),t.directive("press",{mounted(d,b){const p="ontouchstart"in window?"touchstart":"mousedown",m=f=>{b.value(f)};d.addEventListener(p,m,c?{passive:!0}:!1),d._press={handleTouchStart:m}},unmounted(d){d._press&&d.removeEventListener(o,d._press.handleTouchStart)}}),t.directive("release",{mounted(d,b){const p="ontouchstart"in window?"touchend":"mouseup",m=f=>{b.value(f)};d.addEventListener(p,m,c?{passive:!0}:!1),d._release={handleTouchEnd:m}},unmounted(d){d._release&&d.removeEventListener(l,d._release.handleTouchEnd)}}),t.directive("doubletap",{mounted(d,b){const p="ontouchstart"in window?"touchstart":"mousedown";let m=0;const f=v=>{const _=new Date().getTime(),g=_-m;g>0&&g<a&&b.value(v),m=_};d.addEventListener(p,f,c?{passive:!0}:!1),d._doubletap={handleTouchEnd:f}},unmounted(d){d._doubletap&&d.removeEventListener(o,d._doubletap.handleTouchEnd)}})}};function Sp(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function jd(t,e){t===void 0&&(t={}),e===void 0&&(e={});const s=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>s.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Sp(e[n])&&Sp(t[n])&&Object.keys(e[n]).length>0&&jd(t[n],e[n])})}const _2={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 Us(){const t=typeof document<"u"?document:{};return jd(t,_2),t}const HT={document:_2,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 xe(){const t=typeof window<"u"?window:{};return jd(t,HT),t}function VT(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function UT(t){const e=t;Object.keys(e).forEach(s=>{try{e[s]=null}catch{}try{delete e[s]}catch{}})}function Pa(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function ni(){return Date.now()}function WT(t){const e=xe();let s;return e.getComputedStyle&&(s=e.getComputedStyle(t,null)),!s&&t.currentStyle&&(s=t.currentStyle),s||(s=t.style),s}function KT(t,e){e===void 0&&(e="x");const s=xe();let n,a,r;const o=WT(t);return s.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(l=>l.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix(a==="none"?"":a)):(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),e==="x"&&(s.WebKitCSSMatrix?a=r.m41:n.length===16?a=parseFloat(n[12]):a=parseFloat(n[4])),e==="y"&&(s.WebKitCSSMatrix?a=r.m42:n.length===16?a=parseFloat(n[13]):a=parseFloat(n[5])),a||0}function rr(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function XT(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Qe(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let s=1;s<arguments.length;s+=1){const n=s<0||arguments.length<=s?void 0:arguments[s];if(n!=null&&!XT(n)){const a=Object.keys(Object(n)).filter(r=>e.indexOf(r)<0);for(let r=0,o=a.length;r<o;r+=1){const l=a[r],u=Object.getOwnPropertyDescriptor(n,l);u!==void 0&&u.enumerable&&(rr(t[l])&&rr(n[l])?n[l].__swiper__?t[l]=n[l]:Qe(t[l],n[l]):!rr(t[l])&&rr(n[l])?(t[l]={},n[l].__swiper__?t[l]=n[l]:Qe(t[l],n[l])):t[l]=n[l])}}}return t}function or(t,e,s){t.style.setProperty(e,s)}function y2(t){let{swiper:e,targetPosition:s,side:n}=t;const a=xe(),r=-e.translate;let o=null,l;const u=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const c=s>r?"next":"prev",d=(p,m)=>c==="next"&&p>=m||c==="prev"&&p<=m,b=()=>{l=new Date().getTime(),o===null&&(o=l);const p=Math.max(Math.min((l-o)/u,1),0),m=.5-Math.cos(p*Math.PI)/2;let f=r+m*(s-r);if(d(f,s)&&(f=s),e.wrapperEl.scrollTo({[n]:f}),d(f,s)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:f})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(b)};b()}function Di(t,e){e===void 0&&(e="");const s=xe(),n=[...t.children];return s.HTMLSlotElement&&t instanceof HTMLSlotElement&&n.push(...t.assignedElements()),e?n.filter(a=>a.matches(e)):n}function YT(t,e){const s=[e];for(;s.length>0;){const n=s.shift();if(t===n)return!0;s.push(...n.children,...n.shadowRoot?n.shadowRoot.children:[],...n.assignedElements?n.assignedElements():[])}}function $T(t,e){const s=xe();let n=e.contains(t);return!n&&s.HTMLSlotElement&&e instanceof HTMLSlotElement&&(n=[...e.assignedElements()].includes(t),n||(n=YT(t,e))),n}function Xr(t){try{console.warn(t);return}catch{}}function Yr(t,e){e===void 0&&(e=[]);const s=document.createElement(t);return s.classList.add(...Array.isArray(e)?e:VT(e)),s}function ZT(t,e){const s=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&s.push(n):s.push(n),t=n}return s}function QT(t,e){const s=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&s.push(n):s.push(n),t=n}return s}function bs(t,e){return xe().getComputedStyle(t,null).getPropertyValue(e)}function $r(t){let e=t,s;if(e){for(s=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(s+=1);return s}}function k2(t,e){const s=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&s.push(n):s.push(n),n=n.parentElement;return s}function cl(t,e){function s(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",s))}e&&t.addEventListener("transitionend",s)}function gu(t,e,s){const n=xe();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function _e(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}let bl;function JT(){const t=xe(),e=Us();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function w2(){return bl||(bl=JT()),bl}let pl;function tP(t){let{userAgent:e}=t===void 0?{}:t;const s=w2(),n=xe(),a=n.navigator.platform,r=e||n.navigator.userAgent,o={ios:!1,android:!1},l=n.screen.width,u=n.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const b=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=a==="Win32";let f=a==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&f&&s.touch&&v.indexOf(`${l}x${u}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),c&&!m&&(o.os="android",o.android=!0),(d||p||b)&&(o.os="ios",o.ios=!0),o}function S2(t){return t===void 0&&(t={}),pl||(pl=tP(t)),pl}let ml;function eP(){const t=xe(),e=S2();let s=!1;function n(){const l=t.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(n()){const l=String(t.navigator.userAgent);if(l.includes("Version/")){const[u,c]=l.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));s=u<16||u===16&&c<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=n(),o=r||a&&e.ios;return{isSafari:s||r,needPerspectiveFix:s,need3dFix:o,isWebView:a}}function z2(){return ml||(ml=eP()),ml}function iP(t){let{swiper:e,on:s,emit:n}=t;const a=xe();let r=null,o=null;const l=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},u=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(b=>{o=a.requestAnimationFrame(()=>{const{width:p,height:m}=e;let f=p,v=m;b.forEach(_=>{let{contentBoxSize:g,contentRect:h,target:y}=_;y&&y!==e.el||(f=h?h.width:(g[0]||g).inlineSize,v=h?h.height:(g[0]||g).blockSize)}),(f!==p||v!==m)&&l()})}),r.observe(e.el))},c=()=>{o&&a.cancelAnimationFrame(o),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};s("init",()=>{if(e.params.resizeObserver&&typeof a.ResizeObserver<"u"){u();return}a.addEventListener("resize",l),a.addEventListener("orientationchange",d)}),s("destroy",()=>{c(),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",d)})}function sP(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;const r=[],o=xe(),l=function(d,b){b===void 0&&(b={});const p=o.MutationObserver||o.WebkitMutationObserver,m=new p(f=>{if(e.__preventObserver__)return;if(f.length===1){a("observerUpdate",f[0]);return}const v=function(){a("observerUpdate",f[0])};o.requestAnimationFrame?o.requestAnimationFrame(v):o.setTimeout(v,0)});m.observe(d,{attributes:typeof b.attributes>"u"?!0:b.attributes,childList:e.isElement||(typeof b.childList>"u"?!0:b).childList,characterData:typeof b.characterData>"u"?!0:b.characterData}),r.push(m)},u=()=>{if(e.params.observer){if(e.params.observeParents){const d=k2(e.hostEl);for(let b=0;b<d.length;b+=1)l(d[b])}l(e.hostEl,{childList:e.params.observeSlideChildren}),l(e.wrapperEl,{attributes:!1})}},c=()=>{r.forEach(d=>{d.disconnect()}),r.splice(0,r.length)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",u),n("destroy",c)}var nP={on(t,e,s){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const a=s?"unshift":"push";return t.split(" ").forEach(r=>{n.eventsListeners[r]||(n.eventsListeners[r]=[]),n.eventsListeners[r][a](e)}),n},once(t,e,s){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function a(){n.off(t,a),a.__emitterProxy&&delete a.__emitterProxy;for(var r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];e.apply(n,o)}return a.__emitterProxy=e,n.on(t,a,s)},onAny(t,e){const s=this;if(!s.eventsListeners||s.destroyed||typeof t!="function")return s;const n=e?"unshift":"push";return s.eventsAnyListeners.indexOf(t)<0&&s.eventsAnyListeners[n](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(n=>{typeof e>"u"?s.eventsListeners[n]=[]:s.eventsListeners[n]&&s.eventsListeners[n].forEach((a,r)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&s.eventsListeners[n].splice(r,1)})}),s},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,s,n;for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return typeof r[0]=="string"||Array.isArray(r[0])?(e=r[0],s=r.slice(1,r.length),n=t):(e=r[0].events,s=r[0].data,n=r[0].context||t),s.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(u=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[u,...s])}),t.eventsListeners&&t.eventsListeners[u]&&t.eventsListeners[u].forEach(c=>{c.apply(n,s)})}),t}};function aP(){const t=this;let e,s;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?s=t.params.height:s=n.clientHeight,!(e===0&&t.isHorizontal()||s===0&&t.isVertical())&&(e=e-parseInt(bs(n,"padding-left")||0,10)-parseInt(bs(n,"padding-right")||0,10),s=s-parseInt(bs(n,"padding-top")||0,10)-parseInt(bs(n,"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 rP(){const t=this;function e(L,N){return parseFloat(L.getPropertyValue(t.getDirectionLabel(N))||0)}const s=t.params,{wrapperEl:n,slidesEl:a,size:r,rtlTranslate:o,wrongRTL:l}=t,u=t.virtual&&s.virtual.enabled,c=u?t.virtual.slides.length:t.slides.length,d=Di(a,`.${t.params.slideClass}, swiper-slide`),b=u?t.virtual.slides.length:d.length;let p=[];const m=[],f=[];let v=s.slidesOffsetBefore;typeof v=="function"&&(v=s.slidesOffsetBefore.call(t));let _=s.slidesOffsetAfter;typeof _=="function"&&(_=s.slidesOffsetAfter.call(t));const g=t.snapGrid.length,h=t.slidesGrid.length;let y=s.spaceBetween,k=-v,w=0,P=0;if(typeof r>"u")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*r:typeof y=="string"&&(y=parseFloat(y)),t.virtualSize=-y,d.forEach(L=>{o?L.style.marginLeft="":L.style.marginRight="",L.style.marginBottom="",L.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(or(n,"--swiper-centered-offset-before",""),or(n,"--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 E;const S=s.slidesPerView==="auto"&&s.breakpoints&&Object.keys(s.breakpoints).filter(L=>typeof s.breakpoints[L].slidesPerView<"u").length>0;for(let L=0;L<b;L+=1){E=0;let N;if(d[L]&&(N=d[L]),A&&t.grid.updateSlide(L,N,d),!(d[L]&&bs(N,"display")==="none")){if(s.slidesPerView==="auto"){S&&(d[L].style[t.getDirectionLabel("width")]="");const M=getComputedStyle(N),x=N.style.transform,H=N.style.webkitTransform;if(x&&(N.style.transform="none"),H&&(N.style.webkitTransform="none"),s.roundLengths)E=t.isHorizontal()?gu(N,"width"):gu(N,"height");else{const X=e(M,"width"),it=e(M,"padding-left"),mt=e(M,"padding-right"),dt=e(M,"margin-left"),Pt=e(M,"margin-right"),Lt=M.getPropertyValue("box-sizing");if(Lt&&Lt==="border-box")E=X+dt+Pt;else{const{clientWidth:tt,offsetWidth:et}=N;E=X+it+mt+dt+Pt+(et-tt)}}x&&(N.style.transform=x),H&&(N.style.webkitTransform=H),s.roundLengths&&(E=Math.floor(E))}else E=(r-(s.slidesPerView-1)*y)/s.slidesPerView,s.roundLengths&&(E=Math.floor(E)),d[L]&&(d[L].style[t.getDirectionLabel("width")]=`${E}px`);d[L]&&(d[L].swiperSlideSize=E),f.push(E),s.centeredSlides?(k=k+E/2+w/2+y,w===0&&L!==0&&(k=k-r/2-y),L===0&&(k=k-r/2-y),Math.abs(k)<1/1e3&&(k=0),s.roundLengths&&(k=Math.floor(k)),P%s.slidesPerGroup===0&&p.push(k),m.push(k)):(s.roundLengths&&(k=Math.floor(k)),(P-Math.min(t.params.slidesPerGroupSkip,P))%t.params.slidesPerGroup===0&&p.push(k),m.push(k),k=k+E+y),t.virtualSize+=E+y,w=E,P+=1}}if(t.virtualSize=Math.max(t.virtualSize,r)+_,o&&l&&(s.effect==="slide"||s.effect==="coverflow")&&(n.style.width=`${t.virtualSize+y}px`),s.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+y}px`),A&&t.grid.updateWrapperSize(E,p),!s.centeredSlides){const L=[];for(let N=0;N<p.length;N+=1){let M=p[N];s.roundLengths&&(M=Math.floor(M)),p[N]<=t.virtualSize-r&&L.push(M)}p=L,Math.floor(t.virtualSize-r)-Math.floor(p[p.length-1])>1&&p.push(t.virtualSize-r)}if(u&&s.loop){const L=f[0]+y;if(s.slidesPerGroup>1){const N=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/s.slidesPerGroup),M=L*s.slidesPerGroup;for(let x=0;x<N;x+=1)p.push(p[p.length-1]+M)}for(let N=0;N<t.virtual.slidesBefore+t.virtual.slidesAfter;N+=1)s.slidesPerGroup===1&&p.push(p[p.length-1]+L),m.push(m[m.length-1]+L),t.virtualSize+=L}if(p.length===0&&(p=[0]),y!==0){const L=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");d.filter((N,M)=>!s.cssMode||s.loop?!0:M!==d.length-1).forEach(N=>{N.style[L]=`${y}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let L=0;f.forEach(M=>{L+=M+(y||0)}),L-=y;const N=L>r?L-r:0;p=p.map(M=>M<=0?-v:M>N?N+_:M)}if(s.centerInsufficientSlides){let L=0;f.forEach(M=>{L+=M+(y||0)}),L-=y;const N=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(L+N<r){const M=(r-L-N)/2;p.forEach((x,H)=>{p[H]=x-M}),m.forEach((x,H)=>{m[H]=x+M})}}if(Object.assign(t,{slides:d,snapGrid:p,slidesGrid:m,slidesSizesGrid:f}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){or(n,"--swiper-centered-offset-before",`${-p[0]}px`),or(n,"--swiper-centered-offset-after",`${t.size/2-f[f.length-1]/2}px`);const L=-t.snapGrid[0],N=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(M=>M+L),t.slidesGrid=t.slidesGrid.map(M=>M+N)}if(b!==c&&t.emit("slidesLengthChange"),p.length!==g&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==h&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!s.cssMode&&(s.effect==="slide"||s.effect==="fade")){const L=`${s.containerModifierClass}backface-hidden`,N=t.el.classList.contains(L);b<=s.maxBackfaceHiddenSlides?N||t.el.classList.add(L):N&&t.el.classList.remove(L)}}function oP(t){const e=this,s=[],n=e.virtual&&e.params.virtual.enabled;let a=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=l=>n?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{s.push(l)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const l=e.activeIndex+r;if(l>e.slides.length&&!n)break;s.push(o(l))}else s.push(o(e.activeIndex));for(r=0;r<s.length;r+=1)if(typeof s[r]<"u"){const l=s[r].offsetHeight;a=l>a?l:a}(a||a===0)&&(e.wrapperEl.style.height=`${a}px`)}function lP(){const t=this,e=t.slides,s=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-s-t.cssOverflowAdjustment()}const zp=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function uP(t){t===void 0&&(t=this&&this.translate||0);const e=this,s=e.params,{slides:n,rtlTranslate:a,snapGrid:r}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-t;a&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=s.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let u=0;u<n.length;u+=1){const c=n[u];let d=c.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(d-=n[0].swiperSlideOffset);const b=(o+(s.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+l),p=(o-r[0]+(s.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+l),m=-(o-d),f=m+e.slidesSizesGrid[u],v=m>=0&&m<=e.size-e.slidesSizesGrid[u],_=m>=0&&m<e.size-1||f>1&&f<=e.size||m<=0&&f>=e.size;_&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(u)),zp(c,_,s.slideVisibleClass),zp(c,v,s.slideFullyVisibleClass),c.progress=a?-b:b,c.originalProgress=a?-p:p}}function dP(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const s=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:a,isBeginning:r,isEnd:o,progressLoop:l}=e;const u=r,c=o;if(n===0)a=0,r=!0,o=!0;else{a=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,b=Math.abs(t-e.maxTranslate())<1;r=d||a<=0,o=b||a>=1,d&&(a=0),b&&(a=1)}if(s.loop){const d=e.getSlideIndexByData(0),b=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[d],m=e.slidesGrid[b],f=e.slidesGrid[e.slidesGrid.length-1],v=Math.abs(t);v>=p?l=(v-p)/f:l=(v+f-m)/f,l>1&&(l-=1)}Object.assign(e,{progress:a,progressLoop:l,isBeginning:r,isEnd:o}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&e.updateSlidesProgress(t),r&&!u&&e.emit("reachBeginning toEdge"),o&&!c&&e.emit("reachEnd toEdge"),(u&&!r||c&&!o)&&e.emit("fromEdge"),e.emit("progress",a)}const fl=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function cP(){const t=this,{slides:e,params:s,slidesEl:n,activeIndex:a}=t,r=t.virtual&&s.virtual.enabled,o=t.grid&&s.grid&&s.grid.rows>1,l=b=>Di(n,`.${s.slideClass}${b}, swiper-slide${b}`)[0];let u,c,d;if(r)if(s.loop){let b=a-t.virtual.slidesBefore;b<0&&(b=t.virtual.slides.length+b),b>=t.virtual.slides.length&&(b-=t.virtual.slides.length),u=l(`[data-swiper-slide-index="${b}"]`)}else u=l(`[data-swiper-slide-index="${a}"]`);else o?(u=e.find(b=>b.column===a),d=e.find(b=>b.column===a+1),c=e.find(b=>b.column===a-1)):u=e[a];u&&(o||(d=QT(u,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!d&&(d=e[0]),c=ZT(u,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(b=>{fl(b,b===u,s.slideActiveClass),fl(b,b===d,s.slideNextClass),fl(b,b===c,s.slidePrevClass)}),t.emitSlidesClasses()}const _r=(t,e)=>{if(!t||t.destroyed||!t.params)return;const s=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(s());if(n){let a=n.querySelector(`.${t.params.lazyPreloaderClass}`);!a&&t.isElement&&(n.shadowRoot?a=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(a=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),a&&a.remove())})),a&&a.remove()}},vl=(t,e)=>{if(!t.slides[e])return;const s=t.slides[e].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},hu=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 n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),a=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=a,l=[o-e];l.push(...Array.from({length:e}).map((u,c)=>o+n+c)),t.slides.forEach((u,c)=>{l.includes(u.column)&&vl(t,c)});return}const r=a+n-1;if(t.params.rewind||t.params.loop)for(let o=a-e;o<=r+e;o+=1){const l=(o%s+s)%s;(l<a||l>r)&&vl(t,l)}else for(let o=Math.max(a-e,0);o<=Math.min(r+e,s-1);o+=1)o!==a&&(o>r||o<a)&&vl(t,o)};function bP(t){const{slidesGrid:e,params:s}=t,n=t.rtlTranslate?t.translate:-t.translate;let a;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?n>=e[r]&&n<e[r+1]-(e[r+1]-e[r])/2?a=r:n>=e[r]&&n<e[r+1]&&(a=r+1):n>=e[r]&&(a=r);return s.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function pP(t){const e=this,s=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:a,activeIndex:r,realIndex:o,snapIndex:l}=e;let u=t,c;const d=m=>{let f=m-e.virtual.slidesBefore;return f<0&&(f=e.virtual.slides.length+f),f>=e.virtual.slides.length&&(f-=e.virtual.slides.length),f};if(typeof u>"u"&&(u=bP(e)),n.indexOf(s)>=0)c=n.indexOf(s);else{const m=Math.min(a.slidesPerGroupSkip,u);c=m+Math.floor((u-m)/a.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),u===r&&!e.params.loop){c!==l&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(u===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(u);return}const b=e.grid&&a.grid&&a.grid.rows>1;let p;if(e.virtual&&a.virtual.enabled&&a.loop)p=d(u);else if(b){const m=e.slides.find(v=>v.column===u);let f=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(f)&&(f=Math.max(e.slides.indexOf(m),0)),p=Math.floor(f/a.grid.rows)}else if(e.slides[u]){const m=e.slides[u].getAttribute("data-swiper-slide-index");m?p=parseInt(m,10):p=u}else p=u;Object.assign(e,{previousSnapIndex:l,snapIndex:c,previousRealIndex:o,realIndex:p,previousIndex:r,activeIndex:u}),e.initialized&&hu(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function mP(t,e){const s=this,n=s.params;let a=t.closest(`.${n.slideClass}, swiper-slide`);!a&&s.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(l=>{!a&&l.matches&&l.matches(`.${n.slideClass}, swiper-slide`)&&(a=l)});let r=!1,o;if(a){for(let l=0;l<s.slides.length;l+=1)if(s.slides[l]===a){r=!0,o=l;break}}if(a&&r)s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=o;else{s.clickedSlide=void 0,s.clickedIndex=void 0;return}n.slideToClickedSlide&&s.clickedIndex!==void 0&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}var fP={updateSize:aP,updateSlides:rP,updateAutoHeight:oP,updateSlidesOffset:lP,updateSlidesProgress:uP,updateProgress:dP,updateSlidesClasses:cP,updateActiveIndex:pP,updateClickedSlide:mP};function vP(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:s,rtlTranslate:n,translate:a,wrapperEl:r}=e;if(s.virtualTranslate)return n?-a:a;if(s.cssMode)return a;let o=KT(r,t);return o+=e.cssOverflowAdjustment(),n&&(o=-o),o||0}function gP(t,e){const s=this,{rtlTranslate:n,params:a,wrapperEl:r,progress:o}=s;let l=0,u=0;const c=0;s.isHorizontal()?l=n?-t:t:u=t,a.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?l:u,a.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-l:-u:a.virtualTranslate||(s.isHorizontal()?l-=s.cssOverflowAdjustment():u-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${u}px, ${c}px)`);let d;const b=s.maxTranslate()-s.minTranslate();b===0?d=0:d=(t-s.minTranslate())/b,d!==o&&s.updateProgress(t),s.emit("setTranslate",s.translate,e)}function hP(){return-this.snapGrid[0]}function _P(){return-this.snapGrid[this.snapGrid.length-1]}function yP(t,e,s,n,a){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),s===void 0&&(s=!0),n===void 0&&(n=!0);const r=this,{params:o,wrapperEl:l}=r;if(r.animating&&o.preventInteractionOnTransition)return!1;const u=r.minTranslate(),c=r.maxTranslate();let d;if(n&&t>u?d=u:n&&t<c?d=c:d=t,r.updateProgress(d),o.cssMode){const b=r.isHorizontal();if(e===0)l[b?"scrollLeft":"scrollTop"]=-d;else{if(!r.support.smoothScroll)return y2({swiper:r,targetPosition:-d,side:b?"left":"top"}),!0;l.scrollTo({[b?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(d),s&&(r.emit("beforeTransitionStart",e,a),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(d),s&&(r.emit("beforeTransitionStart",e,a),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 kP={getTranslate:vP,setTranslate:gP,minTranslate:hP,maxTranslate:_P,translateTo:yP};function wP(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 A2(t){let{swiper:e,runCallbacks:s,direction:n,step:a}=t;const{activeIndex:r,previousIndex:o}=e;let l=n;if(l||(r>o?l="next":r<o?l="prev":l="reset"),e.emit(`transition${a}`),s&&r!==o){if(l==="reset"){e.emit(`slideResetTransition${a}`);return}e.emit(`slideChangeTransition${a}`),l==="next"?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`)}}function SP(t,e){t===void 0&&(t=!0);const s=this,{params:n}=s;n.cssMode||(n.autoHeight&&s.updateAutoHeight(),A2({swiper:s,runCallbacks:t,direction:e,step:"Start"}))}function zP(t,e){t===void 0&&(t=!0);const s=this,{params:n}=s;s.animating=!1,!n.cssMode&&(s.setTransition(0),A2({swiper:s,runCallbacks:t,direction:e,step:"End"}))}var AP={setTransition:wP,transitionStart:SP,transitionEnd:zP};function TP(t,e,s,n,a){t===void 0&&(t=0),s===void 0&&(s=!0),typeof t=="string"&&(t=parseInt(t,10));const r=this;let o=t;o<0&&(o=0);const{params:l,snapGrid:u,slidesGrid:c,previousIndex:d,activeIndex:b,rtlTranslate:p,wrapperEl:m,enabled:f}=r;if(!f&&!n&&!a||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=r.params.speed);const v=Math.min(r.params.slidesPerGroupSkip,o);let _=v+Math.floor((o-v)/r.params.slidesPerGroup);_>=u.length&&(_=u.length-1);const g=-u[_];if(l.normalizeSlideIndex)for(let A=0;A<c.length;A+=1){const E=-Math.floor(g*100),S=Math.floor(c[A]*100),L=Math.floor(c[A+1]*100);typeof c[A+1]<"u"?E>=S&&E<L-(L-S)/2?o=A:E>=S&&E<L&&(o=A+1):E>=S&&(o=A)}if(r.initialized&&o!==b&&(!r.allowSlideNext&&(p?g>r.translate&&g>r.minTranslate():g<r.translate&&g<r.minTranslate())||!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(b||0)!==o))return!1;o!==(d||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(g);let h;o>b?h="next":o<b?h="prev":h="reset";const y=r.virtual&&r.params.virtual.enabled;if(!(y&&a)&&(p&&-g===r.translate||!p&&g===r.translate))return r.updateActiveIndex(o),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),l.effect!=="slide"&&r.setTranslate(g),h!=="reset"&&(r.transitionStart(s,h),r.transitionEnd(s,h)),!1;if(l.cssMode){const A=r.isHorizontal(),E=p?g:-g;if(e===0)y&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),y&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[A?"scrollLeft":"scrollTop"]=E})):m[A?"scrollLeft":"scrollTop"]=E,y&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return y2({swiper:r,targetPosition:E,side:A?"left":"top"}),!0;m.scrollTo({[A?"left":"top"]:E,behavior:"smooth"})}return!0}const P=z2().isSafari;return y&&!a&&P&&r.isElement&&r.virtual.update(!1,!1,o),r.setTransition(e),r.setTranslate(g),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,n),r.transitionStart(s,h),e===0?r.transitionEnd(s,h):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(E){!r||r.destroyed||E.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,h))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function PP(t,e,s,n){t===void 0&&(t=0),s===void 0&&(s=!0),typeof t=="string"&&(t=parseInt(t,10));const a=this;if(a.destroyed)return;typeof e>"u"&&(e=a.params.speed);const r=a.grid&&a.params.grid&&a.params.grid.rows>1;let o=t;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)o=o+a.virtual.slidesBefore;else{let l;if(r){const p=o*a.params.grid.rows;l=a.slides.find(m=>m.getAttribute("data-swiper-slide-index")*1===p).column}else l=a.getSlideIndexByData(o);const u=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:c}=a.params;let d=a.params.slidesPerView;d==="auto"?d=a.slidesPerViewDynamic():(d=Math.ceil(parseFloat(a.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let b=u-l<d;if(c&&(b=b||l<Math.ceil(d/2)),n&&c&&a.params.slidesPerView!=="auto"&&!r&&(b=!1),b){const p=c?l<a.activeIndex?"prev":"next":l-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:p,slideTo:!0,activeSlideIndex:p==="next"?l+1:l-u+1,slideRealIndex:p==="next"?a.realIndex:void 0})}if(r){const p=o*a.params.grid.rows;o=a.slides.find(m=>m.getAttribute("data-swiper-slide-index")*1===p).column}else o=a.getSlideIndexByData(o)}return requestAnimationFrame(()=>{a.slideTo(o,e,s,n)}),a}function EP(t,e,s){e===void 0&&(e=!0);const n=this,{enabled:a,params:r,animating:o}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let l=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(l=Math.max(n.slidesPerViewDynamic("current",!0),1));const u=n.activeIndex<r.slidesPerGroupSkip?1:l,c=n.virtual&&r.virtual.enabled;if(r.loop){if(o&&!c&&r.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+u,t,e,s)}),!0}return r.rewind&&n.isEnd?n.slideTo(0,t,e,s):n.slideTo(n.activeIndex+u,t,e,s)}function jP(t,e,s){e===void 0&&(e=!0);const n=this,{params:a,snapGrid:r,slidesGrid:o,rtlTranslate:l,enabled:u,animating:c}=n;if(!u||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const d=n.virtual&&a.virtual.enabled;if(a.loop){if(c&&!d&&a.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const b=l?n.translate:-n.translate;function p(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const m=p(b),f=r.map(h=>p(h)),v=a.freeMode&&a.freeMode.enabled;let _=r[f.indexOf(m)-1];if(typeof _>"u"&&(a.cssMode||v)){let h;r.forEach((y,k)=>{m>=y&&(h=k)}),typeof h<"u"&&(_=v?r[h]:r[h>0?h-1:h])}let g=0;if(typeof _<"u"&&(g=o.indexOf(_),g<0&&(g=n.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(g=g-n.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),a.rewind&&n.isBeginning){const h=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(h,t,e,s)}else if(a.loop&&n.activeIndex===0&&a.cssMode)return requestAnimationFrame(()=>{n.slideTo(g,t,e,s)}),!0;return n.slideTo(g,t,e,s)}function CP(t,e,s){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,s)}function MP(t,e,s,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const a=this;if(a.destroyed)return;typeof t>"u"&&(t=a.params.speed);let r=a.activeIndex;const o=Math.min(a.params.slidesPerGroupSkip,r),l=o+Math.floor((r-o)/a.params.slidesPerGroup),u=a.rtlTranslate?a.translate:-a.translate;if(u>=a.snapGrid[l]){const c=a.snapGrid[l],d=a.snapGrid[l+1];u-c>(d-c)*n&&(r+=a.params.slidesPerGroup)}else{const c=a.snapGrid[l-1],d=a.snapGrid[l];u-c<=(d-c)*n&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,t,e,s)}function xP(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:s}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let a=t.clickedIndex,r;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?a<t.loopedSlides-n/2||a>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),a=t.getSlideIndex(Di(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),Pa(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-n?(t.loopFix(),a=t.getSlideIndex(Di(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),Pa(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}var IP={slideTo:TP,slideToLoop:PP,slideNext:EP,slidePrev:jP,slideReset:CP,slideToClosest:MP,slideToClickedSlide:xP};function LP(t){const e=this,{params:s,slidesEl:n}=e;if(!s.loop||e.virtual&&e.params.virtual.enabled)return;const a=()=>{Di(n,`.${s.slideClass}, swiper-slide`).forEach((b,p)=>{b.setAttribute("data-swiper-slide-index",p)})},r=e.grid&&s.grid&&s.grid.rows>1,o=s.slidesPerGroup*(r?s.grid.rows:1),l=e.slides.length%o!==0,u=r&&e.slides.length%s.grid.rows!==0,c=d=>{for(let b=0;b<d;b+=1){const p=e.isElement?Yr("swiper-slide",[s.slideBlankClass]):Yr("div",[s.slideClass,s.slideBlankClass]);e.slidesEl.append(p)}};if(l){if(s.loopAddBlankSlides){const d=o-e.slides.length%o;c(d),e.recalcSlides(),e.updateSlides()}else Xr("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)");a()}else if(u){if(s.loopAddBlankSlides){const d=s.grid.rows-e.slides.length%s.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Xr("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)");a()}else a();e.loopFix({slideRealIndex:t,direction:s.centeredSlides?void 0:"next"})}function DP(t){let{slideRealIndex:e,slideTo:s=!0,direction:n,setTranslate:a,activeSlideIndex:r,byController:o,byMousewheel:l}=t===void 0?{}:t;const u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:b,slidesEl:p,params:m}=u,{centeredSlides:f}=m;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&m.virtual.enabled){s&&(!m.centeredSlides&&u.snapIndex===0?u.slideTo(u.virtual.slides.length,0,!1,!0):m.centeredSlides&&u.snapIndex<m.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=b,u.emit("loopFix");return}let v=m.slidesPerView;v==="auto"?v=u.slidesPerViewDynamic():(v=Math.ceil(parseFloat(m.slidesPerView,10)),f&&v%2===0&&(v=v+1));const _=m.slidesPerGroupAuto?v:m.slidesPerGroup;let g=_;g%_!==0&&(g+=_-g%_),g+=m.loopAdditionalSlides,u.loopedSlides=g;const h=u.grid&&m.grid&&m.grid.rows>1;c.length<v+g?Xr("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):h&&m.grid.fill==="row"&&Xr("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const y=[],k=[];let w=u.activeIndex;typeof r>"u"?r=u.getSlideIndex(c.find(x=>x.classList.contains(m.slideActiveClass))):w=r;const P=n==="next"||!n,A=n==="prev"||!n;let E=0,S=0;const L=h?Math.ceil(c.length/m.grid.rows):c.length,M=(h?c[r].column:r)+(f&&typeof a>"u"?-v/2+.5:0);if(M<g){E=Math.max(g-M,_);for(let x=0;x<g-M;x+=1){const H=x-Math.floor(x/L)*L;if(h){const X=L-H-1;for(let it=c.length-1;it>=0;it-=1)c[it].column===X&&y.push(it)}else y.push(L-H-1)}}else if(M+v>L-g){S=Math.max(M-(L-g*2),_);for(let x=0;x<S;x+=1){const H=x-Math.floor(x/L)*L;h?c.forEach((X,it)=>{X.column===H&&k.push(it)}):k.push(H)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),A&&y.forEach(x=>{c[x].swiperLoopMoveDOM=!0,p.prepend(c[x]),c[x].swiperLoopMoveDOM=!1}),P&&k.forEach(x=>{c[x].swiperLoopMoveDOM=!0,p.append(c[x]),c[x].swiperLoopMoveDOM=!1}),u.recalcSlides(),m.slidesPerView==="auto"?u.updateSlides():h&&(y.length>0&&A||k.length>0&&P)&&u.slides.forEach((x,H)=>{u.grid.updateSlide(H,x,u.slides)}),m.watchSlidesProgress&&u.updateSlidesOffset(),s){if(y.length>0&&A){if(typeof e>"u"){const x=u.slidesGrid[w],X=u.slidesGrid[w+E]-x;l?u.setTranslate(u.translate-X):(u.slideTo(w+Math.ceil(E),0,!1,!0),a&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-X,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-X))}else if(a){const x=h?y.length/m.grid.rows:y.length;u.slideTo(u.activeIndex+x,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(k.length>0&&P)if(typeof e>"u"){const x=u.slidesGrid[w],X=u.slidesGrid[w-S]-x;l?u.setTranslate(u.translate-X):(u.slideTo(w-S,0,!1,!0),a&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-X,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-X))}else{const x=h?k.length/m.grid.rows:k.length;u.slideTo(u.activeIndex-x,0,!1,!0)}}if(u.allowSlidePrev=d,u.allowSlideNext=b,u.controller&&u.controller.control&&!o){const x={slideRealIndex:e,direction:n,setTranslate:a,activeSlideIndex:r,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(H=>{!H.destroyed&&H.params.loop&&H.loopFix({...x,slideTo:H.params.slidesPerView===m.slidesPerView?s:!1})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...x,slideTo:u.controller.control.params.slidesPerView===m.slidesPerView?s:!1})}u.emit("loopFix")}function RP(){const t=this,{params:e,slidesEl:s}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(a=>{const r=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;n[r]=a}),t.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),n.forEach(a=>{s.append(a)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var OP={loopCreate:LP,loopFix:DP,loopDestroy:RP};function NP(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 BP(){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 GP={setGrabCursor:NP,unsetGrabCursor:BP};function qP(t,e){e===void 0&&(e=this);function s(n){if(!n||n===Us()||n===xe())return null;n.assignedSlot&&(n=n.assignedSlot);const a=n.closest(t);return!a&&!n.getRootNode?null:a||s(n.getRootNode().host)}return s(e)}function Ap(t,e,s){const n=xe(),{params:a}=t,r=a.edgeSwipeDetection,o=a.edgeSwipeThreshold;return r&&(s<=o||s>=n.innerWidth-o)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function FP(t){const e=this,s=Us();let n=t;n.originalEvent&&(n=n.originalEvent);const a=e.touchEventsData;if(n.type==="pointerdown"){if(a.pointerId!==null&&a.pointerId!==n.pointerId)return;a.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(a.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Ap(e,n,n.targetTouches[0].pageX);return}const{params:r,touches:o,enabled:l}=e;if(!l||!r.simulateTouch&&n.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let u=n.target;if(r.touchEventsTarget==="wrapper"&&!$T(u,e.wrapperEl)||"which"in n&&n.which===3||"button"in n&&n.button>0||a.isTouched&&a.isMoved)return;const c=!!r.noSwipingClass&&r.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(u=d[0]);const b=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(n.target&&n.target.shadowRoot);if(r.noSwiping&&(p?qP(b,u):u.closest(b))){e.allowClick=!0;return}if(r.swipeHandler&&!u.closest(r.swipeHandler))return;o.currentX=n.pageX,o.currentY=n.pageY;const m=o.currentX,f=o.currentY;if(!Ap(e,n,m))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=f,a.touchStartTime=ni(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1);let v=!0;u.matches(a.focusableElements)&&(v=!1,u.nodeName==="SELECT"&&(a.isTouched=!1)),s.activeElement&&s.activeElement.matches(a.focusableElements)&&s.activeElement!==u&&(n.pointerType==="mouse"||n.pointerType!=="mouse"&&!u.matches(a.focusableElements))&&s.activeElement.blur();const _=v&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||_)&&!u.isContentEditable&&n.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function HP(t){const e=Us(),s=this,n=s.touchEventsData,{params:a,touches:r,rtlTranslate:o,enabled:l}=s;if(!l||!a.simulateTouch&&t.pointerType==="mouse")return;let u=t;if(u.originalEvent&&(u=u.originalEvent),u.type==="pointermove"&&(n.touchId!==null||u.pointerId!==n.pointerId))return;let c;if(u.type==="touchmove"){if(c=[...u.changedTouches].find(w=>w.identifier===n.touchId),!c||c.identifier!==n.touchId)return}else c=u;if(!n.isTouched){n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",u);return}const d=c.pageX,b=c.pageY;if(u.preventedByNestedSwiper){r.startX=d,r.startY=b;return}if(!s.allowTouchMove){u.target.matches(n.focusableElements)||(s.allowClick=!1),n.isTouched&&(Object.assign(r,{startX:d,startY:b,currentX:d,currentY:b}),n.touchStartTime=ni());return}if(a.touchReleaseOnEdges&&!a.loop){if(s.isVertical()){if(b<r.startY&&s.translate<=s.maxTranslate()||b>r.startY&&s.translate>=s.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<r.startX&&s.translate<=s.maxTranslate()||d>r.startX&&s.translate>=s.minTranslate())return}if(e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==u.target&&u.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&u.target===e.activeElement&&u.target.matches(n.focusableElements)){n.isMoved=!0,s.allowClick=!1;return}n.allowTouchCallbacks&&s.emit("touchMove",u),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,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 n.isScrolling>"u"){let w;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:p*p+m*m>=25&&(w=Math.atan2(Math.abs(m),Math.abs(p))*180/Math.PI,n.isScrolling=s.isHorizontal()?w>a.touchAngle:90-w>a.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",u),typeof n.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(n.startMoving=!0),n.isScrolling||u.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;s.allowClick=!1,!a.cssMode&&u.cancelable&&u.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&u.stopPropagation();let f=s.isHorizontal()?p:m,v=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(f=Math.abs(f)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),r.diff=f,f*=a.touchRatio,o&&(f=-f,v=-v);const _=s.touchesDirection;s.swipeDirection=f>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const g=s.params.loop&&!a.cssMode,h=s.touchesDirection==="next"&&s.allowSlideNext||s.touchesDirection==="prev"&&s.allowSlidePrev;if(!n.isMoved){if(g&&h&&s.loopFix({direction:s.swipeDirection}),n.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)}n.allowMomentumBounce=!1,a.grabCursor&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",u)}if(new Date().getTime(),a._loopSwapReset!==!1&&n.isMoved&&n.allowThresholdMove&&_!==s.touchesDirection&&g&&h&&Math.abs(f)>=1){Object.assign(r,{startX:d,startY:b,currentX:d,currentY:b,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}s.emit("sliderMove",u),n.isMoved=!0,n.currentTranslate=f+n.startTranslate;let y=!0,k=a.resistanceRatio;if(a.touchReleaseOnEdges&&(k=0),f>0?(g&&h&&n.allowThresholdMove&&n.currentTranslate>(a.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-(a.slidesPerView!=="auto"&&s.slides.length-a.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>s.minTranslate()&&(y=!1,a.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+f)**k))):f<0&&(g&&h&&n.allowThresholdMove&&n.currentTranslate<(a.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+(a.slidesPerView!=="auto"&&s.slides.length-a.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-(a.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),n.currentTranslate<s.maxTranslate()&&(y=!1,a.resistance&&(n.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-n.startTranslate-f)**k))),y&&(u.preventedByNestedSwiper=!0),!s.allowSlideNext&&s.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!s.allowSlidePrev&&s.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!s.allowSlidePrev&&!s.allowSlideNext&&(n.currentTranslate=n.startTranslate),a.threshold>0)if(Math.abs(f)>a.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{n.currentTranslate=n.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&s.freeMode||a.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}function VP(t){const e=this,s=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let a;if(n.type==="touchend"||n.type==="touchcancel"){if(a=[...n.changedTouches].find(w=>w.identifier===s.touchId),!a||a.identifier!==s.touchId)return}else{if(s.touchId!==null||n.pointerId!==s.pointerId)return;a=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;s.pointerId=null,s.touchId=null;const{params:o,touches:l,rtlTranslate:u,slidesGrid:c,enabled:d}=e;if(!d||!o.simulateTouch&&n.pointerType==="mouse")return;if(s.allowTouchCallbacks&&e.emit("touchEnd",n),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=ni(),p=b-s.touchStartTime;if(e.allowClick){const w=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(w&&w[0]||n.target,w),e.emit("tap click",n),p<300&&b-s.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(s.lastClickTime=ni(),Pa(()=>{e.destroyed||(e.allowClick=!0)}),!s.isTouched||!s.isMoved||!e.swipeDirection||l.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=u?e.translate:-e.translate:m=-s.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const f=m>=-e.maxTranslate()&&!e.params.loop;let v=0,_=e.slidesSizesGrid[0];for(let w=0;w<c.length;w+=w<o.slidesPerGroupSkip?1:o.slidesPerGroup){const P=w<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;typeof c[w+P]<"u"?(f||m>=c[w]&&m<c[w+P])&&(v=w,_=c[w+P]-c[w]):(f||m>=c[w])&&(v=w,_=c[c.length-1]-c[c.length-2])}let g=null,h=null;o.rewind&&(e.isBeginning?h=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(g=0));const y=(m-c[v])/_,k=v<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(p>o.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(y>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?g:v+k):e.slideTo(v)),e.swipeDirection==="prev"&&(y>1-o.longSwipesRatio?e.slideTo(v+k):h!==null&&y<0&&Math.abs(y)>o.longSwipesRatio?e.slideTo(h):e.slideTo(v))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(v+k):e.slideTo(v):(e.swipeDirection==="next"&&e.slideTo(g!==null?g:v+k),e.swipeDirection==="prev"&&e.slideTo(h!==null?h:v))}}function Tp(){const t=this,{params:e,el:s}=t;if(s&&s.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:a,snapGrid:r}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const l=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!l?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=a,t.allowSlideNext=n,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function UP(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function WP(){const t=this,{wrapperEl:e,rtlTranslate:s,enabled:n}=t;if(!n)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 a;const r=t.maxTranslate()-t.minTranslate();r===0?a=0:a=(t.translate-t.minTranslate())/r,a!==t.progress&&t.updateProgress(s?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function KP(t){const e=this;_r(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function XP(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const T2=(t,e)=>{const s=Us(),{params:n,el:a,wrapperEl:r,device:o}=t,l=!!n.nested,u=e==="on"?"addEventListener":"removeEventListener",c=e;!a||typeof a=="string"||(s[u]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:l}),a[u]("touchstart",t.onTouchStart,{passive:!1}),a[u]("pointerdown",t.onTouchStart,{passive:!1}),s[u]("touchmove",t.onTouchMove,{passive:!1,capture:l}),s[u]("pointermove",t.onTouchMove,{passive:!1,capture:l}),s[u]("touchend",t.onTouchEnd,{passive:!0}),s[u]("pointerup",t.onTouchEnd,{passive:!0}),s[u]("pointercancel",t.onTouchEnd,{passive:!0}),s[u]("touchcancel",t.onTouchEnd,{passive:!0}),s[u]("pointerout",t.onTouchEnd,{passive:!0}),s[u]("pointerleave",t.onTouchEnd,{passive:!0}),s[u]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&a[u]("click",t.onClick,!0),n.cssMode&&r[u]("scroll",t.onScroll),n.updateOnWindowResize?t[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Tp,!0):t[c]("observerUpdate",Tp,!0),a[u]("load",t.onLoad,{capture:!0}))};function YP(){const t=this,{params:e}=t;t.onTouchStart=FP.bind(t),t.onTouchMove=HP.bind(t),t.onTouchEnd=VP.bind(t),t.onDocumentTouchStart=XP.bind(t),e.cssMode&&(t.onScroll=WP.bind(t)),t.onClick=UP.bind(t),t.onLoad=KP.bind(t),T2(t,"on")}function $P(){T2(this,"off")}var ZP={attachEvents:YP,detachEvents:$P};const Pp=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function QP(){const t=this,{realIndex:e,initialized:s,params:n,el:a}=t,r=n.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const o=Us(),l=n.breakpointsBase==="window"||!n.breakpointsBase?n.breakpointsBase:"container",u=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?t.el:o.querySelector(n.breakpointsBase),c=t.getBreakpoint(r,l,u);if(!c||t.currentBreakpoint===c)return;const b=(c in r?r[c]:void 0)||t.originalParams,p=Pp(t,n),m=Pp(t,b),f=t.params.grabCursor,v=b.grabCursor,_=n.enabled;p&&!m?(a.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!p&&m&&(a.classList.add(`${n.containerModifierClass}grid`),(b.grid.fill&&b.grid.fill==="column"||!b.grid.fill&&n.grid.fill==="column")&&a.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),f&&!v?t.unsetGrabCursor():!f&&v&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(P=>{if(typeof b[P]>"u")return;const A=n[P]&&n[P].enabled,E=b[P]&&b[P].enabled;A&&!E&&t[P].disable(),!A&&E&&t[P].enable()});const g=b.direction&&b.direction!==n.direction,h=n.loop&&(b.slidesPerView!==n.slidesPerView||g),y=n.loop;g&&s&&t.changeDirection(),Qe(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}),_&&!k?t.disable():!_&&k&&t.enable(),t.currentBreakpoint=c,t.emit("_beforeBreakpoint",b),s&&(h?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!y&&w?(t.loopCreate(e),t.updateSlides()):y&&!w&&t.loopDestroy()),t.emit("breakpoint",b)}function JP(t,e,s){if(e===void 0&&(e="window"),!t||e==="container"&&!s)return;let n=!1;const a=xe(),r=e==="window"?a.innerHeight:s.clientHeight,o=Object.keys(t).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const u=parseFloat(l.substr(1));return{value:r*u,point:l}}return{value:l,point:l}});o.sort((l,u)=>parseInt(l.value,10)-parseInt(u.value,10));for(let l=0;l<o.length;l+=1){const{point:u,value:c}=o[l];e==="window"?a.matchMedia(`(min-width: ${c}px)`).matches&&(n=u):c<=s.clientWidth&&(n=u)}return n||"max"}var tE={setBreakpoint:QP,getBreakpoint:JP};function eE(t,e){const s=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(a=>{n[a]&&s.push(e+a)}):typeof n=="string"&&s.push(e+n)}),s}function iE(){const t=this,{classNames:e,params:s,rtl:n,el:a,device:r}=t,o=eE(["initialized",s.direction,{"free-mode":t.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:n},{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),a.classList.add(...e),t.emitContainerClasses()}function sE(){const t=this,{el:e,classNames:s}=t;!e||typeof e=="string"||(e.classList.remove(...s),t.emitContainerClasses())}var nE={addClasses:iE,removeClasses:sE};function aE(){const t=this,{isLocked:e,params:s}=t,{slidesOffsetBefore:n}=s;if(n){const a=t.slides.length-1,r=t.slidesGrid[a]+t.slidesSizesGrid[a]+n*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 rE={checkOverflow:aE},_u={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 oE(t,e){return function(n){n===void 0&&(n={});const a=Object.keys(n)[0],r=n[a];if(typeof r!="object"||r===null){Qe(e,n);return}if(t[a]===!0&&(t[a]={enabled:!0}),a==="navigation"&&t[a]&&t[a].enabled&&!t[a].prevEl&&!t[a].nextEl&&(t[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&t[a]&&t[a].enabled&&!t[a].el&&(t[a].auto=!0),!(a in t&&"enabled"in r)){Qe(e,n);return}typeof t[a]=="object"&&!("enabled"in t[a])&&(t[a].enabled=!0),t[a]||(t[a]={enabled:!1}),Qe(e,n)}}const gl={eventsEmitter:nP,update:fP,translate:kP,transition:AP,slide:IP,loop:OP,grabCursor:GP,events:ZP,breakpoints:tE,checkOverflow:rE,classes:nE},hl={};let Co=class Vi{constructor(){let e,s;for(var n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];a.length===1&&a[0].constructor&&Object.prototype.toString.call(a[0]).slice(8,-1)==="Object"?s=a[0]:[e,s]=a,s||(s={}),s=Qe({},s),e&&!s.el&&(s.el=e);const o=Us();if(s.el&&typeof s.el=="string"&&o.querySelectorAll(s.el).length>1){const d=[];return o.querySelectorAll(s.el).forEach(b=>{const p=Qe({},s,{el:b});d.push(new Vi(p))}),d}const l=this;l.__swiper__=!0,l.support=w2(),l.device=S2({userAgent:s.userAgent}),l.browser=z2(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],s.modules&&Array.isArray(s.modules)&&l.modules.push(...s.modules);const u={};l.modules.forEach(d=>{d({params:s,swiper:l,extendParams:oE(s,u),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const c=Qe({},_u,u);return l.params=Qe({},c,hl,s),l.originalParams=Qe({},l.params),l.passedParams=Qe({},s),l.params&&l.params.on&&Object.keys(l.params.on).forEach(d=>{l.on(d,l.params.on[d])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.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:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}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:n}=this,a=Di(s,`.${n.slideClass}, swiper-slide`),r=$r(a[0]);return $r(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(s=>s.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:s,params:n}=e;e.slides=Di(s,`.${n.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 n=this;e=Math.min(Math.max(e,0),1);const a=n.minTranslate(),o=(n.maxTranslate()-a)*e+a;n.translateTo(o,typeof s>"u"?0:s),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",s.join(" "))}getSlideClasses(e){const s=this;return s.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(s.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=[];e.slides.forEach(n=>{const a=e.getSlideClasses(n);s.push({slideEl:n,classNames:a}),e.emit("_slideClass",n,a)}),e.emit("_slideClasses",s)}slidesPerViewDynamic(e,s){e===void 0&&(e="current"),s===void 0&&(s=!1);const n=this,{params:a,slides:r,slidesGrid:o,slidesSizesGrid:l,size:u,activeIndex:c}=n;let d=1;if(typeof a.slidesPerView=="number")return a.slidesPerView;if(a.centeredSlides){let b=r[c]?Math.ceil(r[c].swiperSlideSize):0,p;for(let m=c+1;m<r.length;m+=1)r[m]&&!p&&(b+=Math.ceil(r[m].swiperSlideSize),d+=1,b>u&&(p=!0));for(let m=c-1;m>=0;m-=1)r[m]&&!p&&(b+=r[m].swiperSlideSize,d+=1,b>u&&(p=!0))}else if(e==="current")for(let b=c+1;b<r.length;b+=1)(s?o[b]+l[b]-o[c]<u:o[b]-o[c]<u)&&(d+=1);else for(let b=c-1;b>=0;b-=1)o[c]-o[b]<u&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:s,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(o=>{o.complete&&_r(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function a(){const o=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)a(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const o=e.virtual&&n.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||a()}n.watchOverflow&&s!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,s){s===void 0&&(s=!0);const n=this,a=n.params.direction;return e||(e=a==="horizontal"?"vertical":"horizontal"),e===a||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${a}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),n.emit("changeDirection"),s&&n.update()),n}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 n=e||s.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=s,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===s.params.swiperElementNodeName.toUpperCase()&&(s.isElement=!0);const a=()=>`.${(s.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(a()):Di(n,a())[0];return!o&&s.params.createElements&&(o=Yr("div",s.params.wrapperClass),n.append(o),Di(n,`.${s.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(s,{el:n,wrapperEl:o,slidesEl:s.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:s.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||bs(n,"direction")==="rtl",rtlTranslate:s.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||bs(n,"direction")==="rtl"),wrongRTL:bs(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(),s.attachEvents();const a=[...s.el.querySelectorAll('[loading="lazy"]')];return s.isElement&&a.push(...s.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(r=>{r.complete?_r(s,r):r.addEventListener("load",o=>{_r(s,o.target)})}),hu(s),s.initialized=!0,hu(s),s.emit("init"),s.emit("afterInit"),s}destroy(e,s){e===void 0&&(e=!0),s===void 0&&(s=!0);const n=this,{params:a,el:r,wrapperEl:o,slides:l}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),s&&(n.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),o&&o.removeAttribute("style"),l&&l.length&&l.forEach(u=>{u.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),u.removeAttribute("style"),u.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(u=>{n.off(u)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),UT(n)),n.destroyed=!0),null}static extendDefaults(e){Qe(hl,e)}static get extendedDefaults(){return hl}static get defaults(){return _u}static installModule(e){Vi.prototype.__modules__||(Vi.prototype.__modules__=[]);const s=Vi.prototype.__modules__;typeof e=="function"&&s.indexOf(e)<0&&s.push(e)}static use(e){return Array.isArray(e)?(e.forEach(s=>Vi.installModule(s)),Vi):(Vi.installModule(e),Vi)}};Object.keys(gl).forEach(t=>{Object.keys(gl[t]).forEach(e=>{Co.prototype[e]=gl[t][e]})});Co.use([iP,sP]);const P2=["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 qs(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function fn(t,e){const s=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>s.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:qs(e[n])&&qs(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:fn(t[n],e[n]):t[n]=e[n]})}function E2(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function j2(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function C2(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function M2(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),s=[];return e.forEach(n=>{s.indexOf(n)<0&&s.push(n)}),s.join(" ")}function lE(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function uE(t){let{swiper:e,slides:s,passedParams:n,changedParams:a,nextEl:r,prevEl:o,scrollbarEl:l,paginationEl:u}=t;const c=a.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:d,pagination:b,navigation:p,scrollbar:m,virtual:f,thumbs:v}=e;let _,g,h,y,k,w,P,A;a.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&d.thumbs&&(!d.thumbs.swiper||d.thumbs.swiper.destroyed)&&(_=!0),a.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(g=!0),a.includes("pagination")&&n.pagination&&(n.pagination.el||u)&&(d.pagination||d.pagination===!1)&&b&&!b.el&&(h=!0),a.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||l)&&(d.scrollbar||d.scrollbar===!1)&&m&&!m.el&&(y=!0),a.includes("navigation")&&n.navigation&&(n.navigation.prevEl||o)&&(n.navigation.nextEl||r)&&(d.navigation||d.navigation===!1)&&p&&!p.prevEl&&!p.nextEl&&(k=!0);const E=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),d[S].prevEl=void 0,d[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),d[S].el=void 0,e[S].el=void 0))};a.includes("loop")&&e.isElement&&(d.loop&&!n.loop?w=!0:!d.loop&&n.loop?P=!0:A=!0),c.forEach(S=>{if(qs(d[S])&&qs(n[S]))Object.assign(d[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&E(S);else{const L=n[S];(L===!0||L===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?L===!1&&E(S):d[S]=n[S]}}),c.includes("controller")&&!g&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),a.includes("children")&&s&&f&&d.virtual.enabled?(f.slides=s,f.update(!0)):a.includes("virtual")&&f&&d.virtual.enabled&&(s&&(f.slides=s),f.update(!0)),a.includes("children")&&s&&d.loop&&(A=!0),_&&v.init()&&v.update(!0),g&&(e.controller.control=d.controller.control),h&&(e.isElement&&(!u||typeof u=="string")&&(u=document.createElement("div"),u.classList.add("swiper-pagination"),u.part.add("pagination"),e.el.appendChild(u)),u&&(d.pagination.el=u),b.init(),b.render(),b.update()),y&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),e.el.appendChild(l)),l&&(d.scrollbar.el=l),m.init(),m.updateSize(),m.setTranslate()),k&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=e.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),e.el.appendChild(o))),r&&(d.navigation.nextEl=r),o&&(d.navigation.prevEl=o),p.init(),p.update()),a.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),a.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),a.includes("direction")&&e.changeDirection(n.direction,!1),(w||A)&&e.loopDestroy(),(P||A)&&e.loopCreate(),e.update()}function Ep(t,e){t===void 0&&(t={});const s={on:{}},n={},a={};fn(s,_u),s._emitClasses=!0,s.init=!1;const r={},o=P2.map(u=>u.replace(/_/,"")),l=Object.assign({},t);return Object.keys(l).forEach(u=>{typeof t[u]>"u"||(o.indexOf(u)>=0?qs(t[u])?(s[u]={},a[u]={},fn(s[u],t[u]),fn(a[u],t[u])):(s[u]=t[u],a[u]=t[u]):u.search(/on[A-Z]/)===0&&typeof t[u]=="function"?s.on[`${u[2].toLowerCase()}${u.substr(3)}`]=t[u]:r[u]=t[u])}),["navigation","pagination","scrollbar"].forEach(u=>{s[u]===!0&&(s[u]={}),s[u]===!1&&delete s[u]}),{params:s,passedParams:a,rest:r,events:n}}function dE(t,e){let{el:s,nextEl:n,prevEl:a,paginationEl:r,scrollbarEl:o,swiper:l}=t;E2(e)&&n&&a&&(l.params.navigation.nextEl=n,l.originalParams.navigation.nextEl=n,l.params.navigation.prevEl=a,l.originalParams.navigation.prevEl=a),j2(e)&&r&&(l.params.pagination.el=r,l.originalParams.pagination.el=r),C2(e)&&o&&(l.params.scrollbar.el=o,l.originalParams.scrollbar.el=o),l.init(s)}function cE(t,e,s,n,a){const r=[];if(!e)return r;const o=u=>{r.indexOf(u)<0&&r.push(u)};if(s&&n){const u=n.map(a),c=s.map(a);u.join("")!==c.join("")&&o("children"),n.length!==s.length&&o("children")}return P2.filter(u=>u[0]==="_").map(u=>u.replace(/_/,"")).forEach(u=>{if(u in t&&u in e)if(qs(t[u])&&qs(e[u])){const c=Object.keys(t[u]),d=Object.keys(e[u]);c.length!==d.length?o(u):(c.forEach(b=>{t[u][b]!==e[u][b]&&o(u)}),d.forEach(b=>{t[u][b]!==e[u][b]&&o(u)}))}else t[u]!==e[u]&&o(u)}),r}const bE=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function _l(t,e,s){t===void 0&&(t={});const n=[],a={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},r=(o,l)=>{Array.isArray(o)&&o.forEach(u=>{const c=typeof u.type=="symbol";l==="default"&&(l="container-end"),c&&u.children?r(u.children,l):u.type&&(u.type.name==="SwiperSlide"||u.type.name==="AsyncComponentWrapper")||u.componentOptions&&u.componentOptions.tag==="SwiperSlide"?n.push(u):a[l]&&a[l].push(u)})};return Object.keys(t).forEach(o=>{if(typeof t[o]!="function")return;const l=t[o]();r(l,o)}),s.value=e.value,e.value=n,{slides:n,slots:a}}function pE(t,e,s){if(!s)return null;const n=d=>{let b=d;return d<0?b=e.length+d:b>=e.length&&(b=b-e.length),b},a=t.value.isHorizontal()?{[t.value.rtlTranslate?"right":"left"]:`${s.offset}px`}:{top:`${s.offset}px`},{from:r,to:o}=s,l=t.value.params.loop?-e.length:0,u=t.value.params.loop?e.length*2:e.length,c=[];for(let d=l;d<u;d+=1)d>=r&&d<=o&&c.length<e.length&&c.push(e[n(d)]);return c.map(d=>{if(d.props||(d.props={}),d.props.style||(d.props.style={}),d.props.swiperRef=t,d.props.style=a,d.type)return ie(d.type,{...d.props},d.children);if(d.componentOptions)return ie(d.componentOptions.Ctor,{...d.props},d.componentOptions.children)})}const mE={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},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","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,e){let{slots:s,emit:n}=e;const{tag:a,wrapperTag:r}=t,o=lt("swiper"),l=lt(null),u=lt(!1),c=lt(!1),d=lt(null),b=lt(null),p=lt(null),m={value:[]},f={value:[]},v=lt(null),_=lt(null),g=lt(null),h=lt(null),{params:y,passedParams:k}=Ep(t);_l(s,m,f),p.value=k,f.value=m.value;const w=()=>{_l(s,m,f),u.value=!0};y.onAny=function(E){for(var S=arguments.length,L=new Array(S>1?S-1:0),N=1;N<S;N++)L[N-1]=arguments[N];n(E,...L)},Object.assign(y.on,{_beforeBreakpoint:w,_containerClasses(E,S){o.value=S}});const P={...y};if(delete P.wrapperClass,b.value=new Co(P),b.value.virtual&&b.value.params.virtual.enabled){b.value.virtual.slides=m.value;const E={cache:!1,slides:m.value,renderExternal:S=>{l.value=S},renderExternalUpdate:!1};fn(b.value.params.virtual,E),fn(b.value.originalParams.virtual,E)}Ma(()=>{!c.value&&b.value&&(b.value.emitSlidesClasses(),c.value=!0);const{passedParams:E}=Ep(t),S=cE(E,p.value,m.value,f.value,L=>L.props&&L.props.key);p.value=E,(S.length||u.value)&&b.value&&!b.value.destroyed&&uE({swiper:b.value,slides:m.value,passedParams:E,changedParams:S,nextEl:v.value,prevEl:_.value,scrollbarEl:h.value,paginationEl:g.value}),u.value=!1}),Pe("swiper",b),Tt(l,()=>{Si(()=>{bE(b.value)})}),bi(()=>{d.value&&(dE({el:d.value,nextEl:v.value,prevEl:_.value,paginationEl:g.value,scrollbarEl:h.value,swiper:b.value},y),n("swiper",b.value))}),Ye(()=>{b.value&&!b.value.destroyed&&b.value.destroy(!0,!1)});function A(E){return y.virtual?pE(b,E,l.value):(E.forEach((S,L)=>{S.props||(S.props={}),S.props.swiperRef=b,S.props.swiperSlideIndex=L}),E)}return()=>{const{slides:E,slots:S}=_l(s,m,f);return ie(a,{ref:d,class:M2(o.value)},[S["container-start"],ie(r,{class:lE(y.wrapperClass)},[S["wrapper-start"],A(E),S["wrapper-end"]]),E2(t)&&[ie("div",{ref:_,class:"swiper-button-prev"}),ie("div",{ref:v,class:"swiper-button-next"})],C2(t)&&ie("div",{ref:h,class:"swiper-scrollbar"}),j2(t)&&ie("div",{ref:g,class:"swiper-pagination"}),S["container-end"]])}}},fE={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,e){let{slots:s}=e,n=!1;const{swiperRef:a}=t,r=lt(null),o=lt("swiper-slide"),l=lt(!1);function u(b,p,m){p===r.value&&(o.value=m)}bi(()=>{!a||!a.value||(a.value.on("_slideClass",u),n=!0)}),Iu(()=>{n||!a||!a.value||(a.value.on("_slideClass",u),n=!0)}),Ma(()=>{!r.value||!a||!a.value||(typeof t.swiperSlideIndex<"u"&&(r.value.swiperSlideIndex=t.swiperSlideIndex),a.value.destroyed&&o.value!=="swiper-slide"&&(o.value="swiper-slide"))}),Ye(()=>{!a||!a.value||a.value.off("_slideClass",u)});const c=B(()=>({isActive:o.value.indexOf("swiper-slide-active")>=0,isVisible:o.value.indexOf("swiper-slide-visible")>=0,isPrev:o.value.indexOf("swiper-slide-prev")>=0,isNext:o.value.indexOf("swiper-slide-next")>=0}));Pe("swiperSlide",c);const d=()=>{l.value=!0};return()=>ie(t.tag,{class:M2(`${o.value}`),ref:r,"data-swiper-slide-index":typeof t.virtualIndex>"u"&&a&&a.value&&a.value.params.loop?t.swiperSlideIndex:t.virtualIndex,onLoadCapture:d},t.zoom?ie("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof t.zoom=="number"?t.zoom:void 0},[s.default&&s.default(c.value),t.lazy&&!l.value&&ie("div",{class:"swiper-lazy-preloader"})]):[s.default&&s.default(c.value),t.lazy&&!l.value&&ie("div",{class:"swiper-lazy-preloader"})])}};function vE(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;const r=xe();s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let o,l=ni(),u;const c=[];function d(y){let A=0,E=0,S=0,L=0;return"detail"in y&&(E=y.detail),"wheelDelta"in y&&(E=-y.wheelDelta/120),"wheelDeltaY"in y&&(E=-y.wheelDeltaY/120),"wheelDeltaX"in y&&(A=-y.wheelDeltaX/120),"axis"in y&&y.axis===y.HORIZONTAL_AXIS&&(A=E,E=0),S=A*10,L=E*10,"deltaY"in y&&(L=y.deltaY),"deltaX"in y&&(S=y.deltaX),y.shiftKey&&!S&&(S=L,L=0),(S||L)&&y.deltaMode&&(y.deltaMode===1?(S*=40,L*=40):(S*=800,L*=800)),S&&!A&&(A=S<1?-1:1),L&&!E&&(E=L<1?-1:1),{spinX:A,spinY:E,pixelX:S,pixelY:L}}function b(){e.enabled&&(e.mouseEntered=!0)}function p(){e.enabled&&(e.mouseEntered=!1)}function m(y){return e.params.mousewheel.thresholdDelta&&y.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&ni()-l<e.params.mousewheel.thresholdTime?!1:y.delta>=6&&ni()-l<60?!0:(y.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),a("scroll",y.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),a("scroll",y.raw)),l=new r.Date().getTime(),!1)}function f(y){const k=e.params.mousewheel;if(y.direction<0){if(e.isEnd&&!e.params.loop&&k.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&k.releaseOnEdges)return!0;return!1}function v(y){let k=y,w=!0;if(!e.enabled||y.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const P=e.params.mousewheel;e.params.cssMode&&k.preventDefault();let A=e.el;e.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(e.params.mousewheel.eventsTarget));const E=A&&A.contains(k.target);if(!e.mouseEntered&&!E&&!P.releaseOnEdges)return!0;k.originalEvent&&(k=k.originalEvent);let S=0;const L=e.rtlTranslate?-1:1,N=d(k);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(N.pixelX)>Math.abs(N.pixelY))S=-N.pixelX*L;else return!0;else if(Math.abs(N.pixelY)>Math.abs(N.pixelX))S=-N.pixelY;else return!0;else S=Math.abs(N.pixelX)>Math.abs(N.pixelY)?-N.pixelX*L:-N.pixelY;if(S===0)return!0;P.invert&&(S=-S);let M=e.getTranslate()+S*P.sensitivity;if(M>=e.minTranslate()&&(M=e.minTranslate()),M<=e.maxTranslate()&&(M=e.maxTranslate()),w=e.params.loop?!0:!(M===e.minTranslate()||M===e.maxTranslate()),w&&e.params.nested&&k.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const x={time:ni(),delta:Math.abs(S),direction:Math.sign(S),raw:y};c.length>=2&&c.shift();const H=c.length?c[c.length-1]:void 0;if(c.push(x),H?(x.direction!==H.direction||x.delta>H.delta||x.time>H.time+150)&&m(x):m(x),f(x))return!0}else{const x={time:ni(),delta:Math.abs(S),direction:Math.sign(S)},H=u&&x.time<u.time+500&&x.delta<=u.delta&&x.direction===u.direction;if(!H){u=void 0;let X=e.getTranslate()+S*P.sensitivity;const it=e.isBeginning,mt=e.isEnd;if(X>=e.minTranslate()&&(X=e.minTranslate()),X<=e.maxTranslate()&&(X=e.maxTranslate()),e.setTransition(0),e.setTranslate(X),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!it&&e.isBeginning||!mt&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:x.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();const dt=c.length?c[c.length-1]:void 0,Pt=c[0];if(c.push(x),dt&&(x.delta>dt.delta||x.direction!==dt.direction))c.splice(0);else if(c.length>=15&&x.time-Pt.time<500&&Pt.delta-x.delta>=1&&x.delta<=6){const Lt=S>0?.8:.2;u=x,c.splice(0),o=Pa(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,Lt)},0)}o||(o=Pa(()=>{if(e.destroyed||!e.params)return;const Lt=.5;u=x,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,Lt)},500))}if(H||a("scroll",k),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(X===e.minTranslate()||X===e.maxTranslate()))return!0}}return k.preventDefault?k.preventDefault():k.returnValue=!1,!1}function _(y){let k=e.el;e.params.mousewheel.eventsTarget!=="container"&&(k=document.querySelector(e.params.mousewheel.eventsTarget)),k[y]("mouseenter",b),k[y]("mouseleave",p),k[y]("wheel",v)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",v),!0):e.mousewheel.enabled?!1:(_("addEventListener"),e.mousewheel.enabled=!0,!0)}function h(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,v),!0):e.mousewheel.enabled?(_("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&h(),e.params.mousewheel.enabled&&g()}),n("destroy",()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&h()}),Object.assign(e.mousewheel,{enable:g,disable:h})}function x2(t,e,s,n){return t.params.createElements&&Object.keys(n).forEach(a=>{if(!s[a]&&s.auto===!0){let r=Di(t.el,`.${n[a]}`)[0];r||(r=Yr("div",n[a]),r.className=n[a],t.el.append(r)),s[a]=r,e[a]=r}}),s}function gE(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function r(f){let v;return f&&typeof f=="string"&&e.isElement&&(v=e.el.querySelector(f)||e.hostEl.querySelector(f),v)?v:(f&&(typeof f=="string"&&(v=[...document.querySelectorAll(f)]),e.params.uniqueNavElements&&typeof f=="string"&&v&&v.length>1&&e.el.querySelectorAll(f).length===1?v=e.el.querySelector(f):v&&v.length===1&&(v=v[0])),f&&!v?f:v)}function o(f,v){const _=e.params.navigation;f=_e(f),f.forEach(g=>{g&&(g.classList[v?"add":"remove"](..._.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=v),e.params.watchOverflow&&e.enabled&&g.classList[e.isLocked?"add":"remove"](_.lockClass))})}function l(){const{nextEl:f,prevEl:v}=e.navigation;if(e.params.loop){o(v,!1),o(f,!1);return}o(v,e.isBeginning&&!e.params.rewind),o(f,e.isEnd&&!e.params.rewind)}function u(f){f.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),a("navigationPrev"))}function c(f){f.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),a("navigationNext"))}function d(){const f=e.params.navigation;if(e.params.navigation=x2(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(f.nextEl||f.prevEl))return;let v=r(f.nextEl),_=r(f.prevEl);Object.assign(e.navigation,{nextEl:v,prevEl:_}),v=_e(v),_=_e(_);const g=(h,y)=>{h&&h.addEventListener("click",y==="next"?c:u),!e.enabled&&h&&h.classList.add(...f.lockClass.split(" "))};v.forEach(h=>g(h,"next")),_.forEach(h=>g(h,"prev"))}function b(){let{nextEl:f,prevEl:v}=e.navigation;f=_e(f),v=_e(v);const _=(g,h)=>{g.removeEventListener("click",h==="next"?c:u),g.classList.remove(...e.params.navigation.disabledClass.split(" "))};f.forEach(g=>_(g,"next")),v.forEach(g=>_(g,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?m():(d(),l())}),n("toEdge fromEdge lock unlock",()=>{l()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{nextEl:f,prevEl:v}=e.navigation;if(f=_e(f),v=_e(v),e.enabled){l();return}[...f,...v].filter(_=>!!_).forEach(_=>_.classList.add(e.params.navigation.lockClass))}),n("click",(f,v)=>{let{nextEl:_,prevEl:g}=e.navigation;_=_e(_),g=_e(g);const h=v.target;let y=g.includes(h)||_.includes(h);if(e.isElement&&!y){const k=v.path||v.composedPath&&v.composedPath();k&&(y=k.find(w=>_.includes(w)||g.includes(w)))}if(e.params.navigation.hideOnClick&&!y){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===h||e.pagination.el.contains(h)))return;let k;_.length?k=_[0].classList.contains(e.params.navigation.hiddenClass):g.length&&(k=g[0].classList.contains(e.params.navigation.hiddenClass)),a(k===!0?"navigationShow":"navigationHide"),[..._,...g].filter(w=>!!w).forEach(w=>w.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),l()},m=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),b()};Object.assign(e.navigation,{enable:p,disable:m,update:l,init:d,destroy:b})}function Fn(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function hE(t){let{swiper:e,extendParams:s,on:n,emit:a}=t;const r="swiper-pagination";s({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:h=>h,formatFractionTotal:h=>h,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let o,l=0;function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(h,y){const{bulletActiveClass:k}=e.params.pagination;h&&(h=h[`${y==="prev"?"previous":"next"}ElementSibling`],h&&(h.classList.add(`${k}-${y}`),h=h[`${y==="prev"?"previous":"next"}ElementSibling`],h&&h.classList.add(`${k}-${y}-${y}`)))}function d(h,y,k){if(h=h%k,y=y%k,y===h+1)return"next";if(y===h-1)return"previous"}function b(h){const y=h.target.closest(Fn(e.params.pagination.bulletClass));if(!y)return;h.preventDefault();const k=$r(y)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===k)return;const w=d(e.realIndex,k,e.slides.length);w==="next"?e.slideNext():w==="previous"?e.slidePrev():e.slideToLoop(k)}else e.slideTo(k)}function p(){const h=e.rtl,y=e.params.pagination;if(u())return;let k=e.pagination.el;k=_e(k);let w,P;const A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,E=e.params.loop?Math.ceil(A/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(P=e.previousRealIndex||0,w=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(w=e.snapIndex,P=e.previousSnapIndex):(P=e.previousIndex||0,w=e.activeIndex||0),y.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const S=e.pagination.bullets;let L,N,M;if(y.dynamicBullets&&(o=gu(S[0],e.isHorizontal()?"width":"height"),k.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${o*(y.dynamicMainBullets+4)}px`}),y.dynamicMainBullets>1&&P!==void 0&&(l+=w-(P||0),l>y.dynamicMainBullets-1?l=y.dynamicMainBullets-1:l<0&&(l=0)),L=Math.max(w-l,0),N=L+(Math.min(S.length,y.dynamicMainBullets)-1),M=(N+L)/2),S.forEach(x=>{const H=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(X=>`${y.bulletActiveClass}${X}`)].map(X=>typeof X=="string"&&X.includes(" ")?X.split(" "):X).flat();x.classList.remove(...H)}),k.length>1)S.forEach(x=>{const H=$r(x);H===w?x.classList.add(...y.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),y.dynamicBullets&&(H>=L&&H<=N&&x.classList.add(...`${y.bulletActiveClass}-main`.split(" ")),H===L&&c(x,"prev"),H===N&&c(x,"next"))});else{const x=S[w];if(x&&x.classList.add(...y.bulletActiveClass.split(" ")),e.isElement&&S.forEach((H,X)=>{H.setAttribute("part",X===w?"bullet-active":"bullet")}),y.dynamicBullets){const H=S[L],X=S[N];for(let it=L;it<=N;it+=1)S[it]&&S[it].classList.add(...`${y.bulletActiveClass}-main`.split(" "));c(H,"prev"),c(X,"next")}}if(y.dynamicBullets){const x=Math.min(S.length,y.dynamicMainBullets+4),H=(o*x-o)/2-M*o,X=h?"right":"left";S.forEach(it=>{it.style[e.isHorizontal()?X:"top"]=`${H}px`})}}k.forEach((S,L)=>{if(y.type==="fraction"&&(S.querySelectorAll(Fn(y.currentClass)).forEach(N=>{N.textContent=y.formatFractionCurrent(w+1)}),S.querySelectorAll(Fn(y.totalClass)).forEach(N=>{N.textContent=y.formatFractionTotal(E)})),y.type==="progressbar"){let N;y.progressbarOpposite?N=e.isHorizontal()?"vertical":"horizontal":N=e.isHorizontal()?"horizontal":"vertical";const M=(w+1)/E;let x=1,H=1;N==="horizontal"?x=M:H=M,S.querySelectorAll(Fn(y.progressbarFillClass)).forEach(X=>{X.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${H})`,X.style.transitionDuration=`${e.params.speed}ms`})}y.type==="custom"&&y.renderCustom?(S.innerHTML=y.renderCustom(e,w+1,E),L===0&&a("paginationRender",S)):(L===0&&a("paginationRender",S),a("paginationUpdate",S)),e.params.watchOverflow&&e.enabled&&S.classList[e.isLocked?"add":"remove"](y.lockClass)})}function m(){const h=e.params.pagination;if(u())return;const y=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let k=e.pagination.el;k=_e(k);let w="";if(h.type==="bullets"){let P=e.params.loop?Math.ceil(y/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&P>y&&(P=y);for(let A=0;A<P;A+=1)h.renderBullet?w+=h.renderBullet.call(e,A,h.bulletClass):w+=`<${h.bulletElement} ${e.isElement?'part="bullet"':""} class="${h.bulletClass}"></${h.bulletElement}>`}h.type==="fraction"&&(h.renderFraction?w=h.renderFraction.call(e,h.currentClass,h.totalClass):w=`<span class="${h.currentClass}"></span> / <span class="${h.totalClass}"></span>`),h.type==="progressbar"&&(h.renderProgressbar?w=h.renderProgressbar.call(e,h.progressbarFillClass):w=`<span class="${h.progressbarFillClass}"></span>`),e.pagination.bullets=[],k.forEach(P=>{h.type!=="custom"&&(P.innerHTML=w||""),h.type==="bullets"&&e.pagination.bullets.push(...P.querySelectorAll(Fn(h.bulletClass)))}),h.type!=="custom"&&a("paginationRender",k[0])}function f(){e.params.pagination=x2(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const h=e.params.pagination;if(!h.el)return;let y;typeof h.el=="string"&&e.isElement&&(y=e.el.querySelector(h.el)),!y&&typeof h.el=="string"&&(y=[...document.querySelectorAll(h.el)]),y||(y=h.el),!(!y||y.length===0)&&(e.params.uniqueNavElements&&typeof h.el=="string"&&Array.isArray(y)&&y.length>1&&(y=[...e.el.querySelectorAll(h.el)],y.length>1&&(y=y.find(k=>k2(k,".swiper")[0]===e.el))),Array.isArray(y)&&y.length===1&&(y=y[0]),Object.assign(e.pagination,{el:y}),y=_e(y),y.forEach(k=>{h.type==="bullets"&&h.clickable&&k.classList.add(...(h.clickableClass||"").split(" ")),k.classList.add(h.modifierClass+h.type),k.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.type==="bullets"&&h.dynamicBullets&&(k.classList.add(`${h.modifierClass}${h.type}-dynamic`),l=0,h.dynamicMainBullets<1&&(h.dynamicMainBullets=1)),h.type==="progressbar"&&h.progressbarOpposite&&k.classList.add(h.progressbarOppositeClass),h.clickable&&k.addEventListener("click",b),e.enabled||k.classList.add(h.lockClass)}))}function v(){const h=e.params.pagination;if(u())return;let y=e.pagination.el;y&&(y=_e(y),y.forEach(k=>{k.classList.remove(h.hiddenClass),k.classList.remove(h.modifierClass+h.type),k.classList.remove(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.clickable&&(k.classList.remove(...(h.clickableClass||"").split(" ")),k.removeEventListener("click",b))})),e.pagination.bullets&&e.pagination.bullets.forEach(k=>k.classList.remove(...h.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const h=e.params.pagination;let{el:y}=e.pagination;y=_e(y),y.forEach(k=>{k.classList.remove(h.horizontalClass,h.verticalClass),k.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?g():(f(),m(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{m(),p()}),n("destroy",()=>{v()}),n("enable disable",()=>{let{el:h}=e.pagination;h&&(h=_e(h),h.forEach(y=>y.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(h,y)=>{const k=y.target,w=_e(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&w&&w.length>0&&!k.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&k===e.navigation.nextEl||e.navigation.prevEl&&k===e.navigation.prevEl))return;const P=w[0].classList.contains(e.params.pagination.hiddenClass);a(P===!0?"paginationShow":"paginationHide"),w.forEach(A=>A.classList.toggle(e.params.pagination.hiddenClass))}});const _=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=_e(h),h.forEach(y=>y.classList.remove(e.params.pagination.paginationDisabledClass))),f(),m(),p()},g=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=_e(h),h.forEach(y=>y.classList.add(e.params.pagination.paginationDisabledClass))),v()};Object.assign(e.pagination,{enable:_,disable:g,render:m,update:p,init:f,destroy:v})}function _E(t){let{swiper:e,extendParams:s,emit:n,once:a}=t;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){if(e.params.cssMode)return;const u=e.getTranslate();e.setTranslate(u),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function o(){if(e.params.cssMode)return;const{touchEventsData:u,touches:c}=e;u.velocities.length===0&&u.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:u.touchStartTime}),u.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:ni()})}function l(u){let{currentPos:c}=u;if(e.params.cssMode)return;const{params:d,wrapperEl:b,rtlTranslate:p,snapGrid:m,touchEventsData:f}=e,_=ni()-f.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<m.length?e.slideTo(m.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(f.velocities.length>1){const E=f.velocities.pop(),S=f.velocities.pop(),L=E.position-S.position,N=E.time-S.time;e.velocity=L/N,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(N>150||ni()-E.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,f.velocities.length=0;let g=1e3*d.freeMode.momentumRatio;const h=e.velocity*g;let y=e.translate+h;p&&(y=-y);let k=!1,w;const P=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let A;if(y<e.maxTranslate())d.freeMode.momentumBounce?(y+e.maxTranslate()<-P&&(y=e.maxTranslate()-P),w=e.maxTranslate(),k=!0,f.allowMomentumBounce=!0):y=e.maxTranslate(),d.loop&&d.centeredSlides&&(A=!0);else if(y>e.minTranslate())d.freeMode.momentumBounce?(y-e.minTranslate()>P&&(y=e.minTranslate()+P),w=e.minTranslate(),k=!0,f.allowMomentumBounce=!0):y=e.minTranslate(),d.loop&&d.centeredSlides&&(A=!0);else if(d.freeMode.sticky){let E;for(let S=0;S<m.length;S+=1)if(m[S]>-y){E=S;break}Math.abs(m[E]-y)<Math.abs(m[E-1]-y)||e.swipeDirection==="next"?y=m[E]:y=m[E-1],y=-y}if(A&&a("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(p?g=Math.abs((-y-e.translate)/e.velocity):g=Math.abs((y-e.translate)/e.velocity),d.freeMode.sticky){const E=Math.abs((p?-y:y)-e.translate),S=e.slidesSizesGrid[e.activeIndex];E<S?g=d.speed:E<2*S?g=d.speed*1.5:g=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&k?(e.updateProgress(w),e.setTransition(g),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating=!0,cl(b,()=>{!e||e.destroyed||!f.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(w),cl(b,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(y),e.setTransition(g),e.setTranslate(y),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,cl(b,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(y),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||_>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:r,onTouchMove:o,onTouchEnd:l}})}const yE={install(t){Co.use([hE,gE,_E,vE]),t.component("Swiper",mE).component("SwiperSlide",fE)}};function kE(t){t.use(qT).use(xi).use(od).use(FT).use(kg).use(yE)}const I2=lg(OT);kE(I2);I2.mount("#app");export{mi as $,le as A,I as B,qE as C,Bt as D,hz as E,oi as F,bt as G,Bi as H,$e as I,Hs as J,To as K,zz as L,gz as M,oe as N,Na as O,Si as P,ci as Q,ui as R,$ as S,Bs as T,It as U,hd as V,gt as W,nn as X,Rf as Y,st as Z,YE as _,Dt as a,ET as a$,Z as a0,uu as a1,at as a2,ma as a3,Y as a4,ut as a5,pr as a6,ru as a7,jt as a8,Xt as a9,ME as aA,qu as aB,xi as aC,wo as aD,e2 as aE,Da as aF,Wn as aG,iu as aH,RE as aI,uS as aJ,ms as aK,xa as aL,Pe as aM,Kt as aN,kA as aO,Pz as aP,sn as aQ,Tz as aR,yA as aS,mo as aT,yp as aU,g2 as aV,Vk as aW,rd as aX,qT as aY,Le as aZ,me as a_,ul as aa,Ct as ab,n2 as ac,Oa as ad,Ra as ae,Bv as af,Nv as ag,_f as ah,Ga as ai,p2 as aj,b2 as ak,Cn as al,He as am,ee as an,At as ao,mu as ap,QE as aq,Ii as ar,eo as as,SE as at,zE as au,aj as av,Qs as aw,bn as ax,pg as ay,Ho as az,Ye as b,g0 as b$,jT as b0,Ow as b1,Rw as b2,LE as b3,bj as b4,ej as b5,sj as b6,ze as b7,JE as b8,up as b9,zn as bA,$s as bB,ZE as bC,sS as bD,xE as bE,dp as bF,Nz as bG,ce as bH,cj as bI,Wt as bJ,bg as bK,tj as bL,Vz as bM,uj as bN,rj as bO,_S as bP,Ao as bQ,$m as bR,Mn as bS,hS as bT,Tf as bU,Ad as bV,zo as bW,jn as bX,nS as bY,Se as bZ,En as b_,nj as ba,jE as bb,hr as bc,Ji as bd,hp as be,Hz as bf,Ur as bg,g1 as bh,qt as bi,IE as bj,TE as bk,Mv as bl,EE as bm,dj as bn,pS as bo,CA as bp,oj as bq,Ci as br,xT as bs,$S as bt,YS as bu,AE as bv,PE as bw,Lw as bx,ij as by,lj as bz,B as c,Un as c0,pj as c1,Pf as c2,Sb as c3,kf as c4,re as c5,mg as c6,$E as c7,fg as c8,od as c9,DE as cA,UE as cB,pf as cC,xS as cD,Br as cE,Xk as cF,ez as cG,fS as cH,vS as cI,WE as cJ,mS as cK,Is as cL,LS as cM,Qm as cN,of as cO,Yw as cP,fs as cQ,FE as cR,BE as cS,Mw as cT,Ss as cU,mv as cV,lo as cW,_d as cX,yd as cY,gd as ca,vd as cb,ud as cc,cg as cd,eS as ce,J0 as cf,ie as cg,XE as ch,An as ci,NE as cj,IS as ck,dd as cl,Yi as cm,KE as cn,lu as co,La as cp,OE as cq,VE as cr,$t as cs,HE as ct,Yk as cu,CE as cv,kd as cw,GE as cx,Ym as cy,wn as cz,_s as d,wi as e,xn as f,Ut as g,Gi as h,Ba as i,mn as j,Po as k,Qf as l,Vs as m,kS as n,bi as o,vt as p,Ni as q,US as r,Mt as s,Ht as t,Eo as u,zd as v,Tt as w,lt as x,Pb as y,ko as z};
|