From 094c6caddbecc0d4e5687a950d62a7ed713f9652 Mon Sep 17 00:00:00 2001 From: "Weblate (bot)" Date: Sat, 3 Dec 2022 12:19:37 +0100 Subject: [PATCH] Translations update from Hosted Weblate (#5348) --- assets/i18n/de.toml | 4 +- assets/i18n/en.toml | 4 +- assets/i18n/fr.toml | 4 +- assets/i18n/it.toml | 84 ++++++++++++++++++- assets/i18n/lt.toml | 6 +- assets/i18n/nb_NO.toml | 4 +- assets/i18n/nl.toml | 6 +- assets/i18n/pl.toml | 2 +- assets/i18n/pt.toml | 6 +- .../{index.2e1b34fb.js => index.841a487a.js} | 14 ++-- dist/index.html | 2 +- 11 files changed, 108 insertions(+), 28 deletions(-) rename dist/assets/{index.2e1b34fb.js => index.841a487a.js} (86%) diff --git a/assets/i18n/de.toml b/assets/i18n/de.toml index 2c87a637c..947ae5d15 100644 --- a/assets/i18n/de.toml +++ b/assets/i18n/de.toml @@ -22,8 +22,8 @@ modalCancel = "Abbrechen" modalUpdate = "Aktualisieren" modalUpdateNow = "Jetzt aktualisieren" modalDownload = "Download" -modalUpdateStatusStart = "Aktualisierung gestartet: " -modalUpdateStatusFailed = "Aktualisierung nicht möglich: " +modalUpdateStatusStart = "Aktualisierung gestartet:" +modalUpdateStatusFailed = "Aktualisierung nicht möglich:" [footer.savings] tabTitle = "Meine Daten" diff --git a/assets/i18n/en.toml b/assets/i18n/en.toml index ef5fa1d18..a9116ea2d 100644 --- a/assets/i18n/en.toml +++ b/assets/i18n/en.toml @@ -22,8 +22,8 @@ modalCancel = "Cancel" modalUpdate = "Update" modalUpdateNow = "Update now" modalDownload = "Download" -modalUpdateStatusStart = "Update started: " -modalUpdateStatusFailed = "Update failed: " +modalUpdateStatusStart = "Update started:" +modalUpdateStatusFailed = "Update failed:" [footer.savings] tabTitle = "My data" diff --git a/assets/i18n/fr.toml b/assets/i18n/fr.toml index 3530a5bff..13f8ea4a7 100644 --- a/assets/i18n/fr.toml +++ b/assets/i18n/fr.toml @@ -22,8 +22,8 @@ modalCancel = "Annuler" modalUpdate = "Réactualiser" modalUpdateNow = "Mettez à jour maintenant" modalDownload = "Télécharger" -modalUpdateStatusStart = "La mise à jour a commencé: " -modalUpdateStatusFailed = "Mise à jour a échoué: " +modalUpdateStatusStart = "La mise à jour a commencé:" +modalUpdateStatusFailed = "Mise à jour a échoué:" [footer.savings] tabTitle = "Mes données" diff --git a/assets/i18n/it.toml b/assets/i18n/it.toml index 47859dd83..f5ceb8e93 100644 --- a/assets/i18n/it.toml +++ b/assets/i18n/it.toml @@ -3,6 +3,8 @@ docs = "Documentazione" blog = "Blog" github = "GitHub" login = "Iscrizioni" +about = "Informazioni su evcc" +sessions = "Sessioni di ricarica" [footer.version] availableShort = "aggiornamento" @@ -15,8 +17,8 @@ modalCancel = "Cancella" modalUpdate = "Aggiorna" modalUpdateNow = "Aggiorna ora" modalDownload = "Download" -modalUpdateStatusStart = "Aggiornamento iniziato: " -modalUpdateStatusFailed = "Aggiornamento fallito: " +modalUpdateStatusStart = "Aggiornamento iniziato:" +modalUpdateStatusFailed = "Aggiornamento fallito:" [notifications] modalTitle = "Notifiche" @@ -32,6 +34,7 @@ batteryDischarge = "Battery discharge" gridImport = "Grid import" selfConsumption = "Self consumption" pvExport = "Grid export" +loadpoints = "Punto di carico | Punto di carico | {count} Punti di carico" [main.mode] off = "Stop" @@ -41,6 +44,9 @@ now = "Ora" [main.loadpoint] fallbackName = "Punto di carica" +power = "Potenza" +charged = "Caricato" +duration = "Durata" remoteDisabledSoft = "{source}: Ricarica FV adattiva disabilitata" remoteDisabledHard = "{source}: Disabilitato" @@ -52,3 +58,77 @@ disconnected = "disconesso" charging = "carica" ready = "pronto" connected = "collegato" + +[header.theme] +auto = "Design: sistema" +light = "Design: luce" +dark = "Design: scuro" + +[footer.savings] +footerShort = "{percent}% solare" +footerLong = "{percent}% di energia solare" +modalTitle = "Panoramica sull'energia di carica" +since = "da quando {since}" +percentTitle = "Energia solare" +percentSelf = "{self} kWh solare" +percentGrid = "{grid} kWh grid" +priceTitle = "Prezzo dell'energia" +priceGrid = "{gridPrice} griglia" +savingsComparedToGrid = "rispetto alla griglia" +savingsTotalEnergy = "{total} kWh totali caricati" +tabTitle = "I miei dati" +priceFeedIn = "{feedInPrice} feed-in" +savingsTitle = "Risparmio" + +[footer.community] +tabTitle = "Comunità viva" +power = "Potenza di carica" +powerSub1 = "{activeClients} di {totalClients} partecipanti" +powerSub2 = "stanno caricando in questo momento" +greenShare = "Quota solare" +greenShareSub1 = "il potere è coperto da" +greenShareSub2 = "FV e accumulo a batteria" +greenEnergy = "Energia solare" +greenEnergySub2 = "da ottobre 2022" +greenEnergySub1 = "accusato di evcc" + +[footer.telemetry] +optIn = "Voglio contribuire anch'io con i miei dati" +optInMoreDetails = "Sono disponibili ulteriori dettagli {0}" +optInMoreDetailsLink = "qui" +optInSponsorship = "È necessaria una sponsorizzazione" + +[footer.sponsor] +titleSponsor = "Sei un sostenitore" +titleNoSponsor = "Sosteneteci" +thanks = "Grazie per il tuo sostegno, {sponsor}! Ci aiuta nell'ulteriore sviluppo" +confetti = "Pronti per i coriandoli?" +confettiPromise = "Ci saranno adesivi e coriandoli digitali" +becomeSponsor = "Diventa uno sponsor" +sticker = "… o adesivi evcc?" +supportUs = "La nostra missione: Rendere la ricarica solare lo standard. Aiutateci e sostenete finanziariamente evcc" + +[main] +vehicles = "Parcheggio" + +[main.loadpointSettings] +vehicle = "Veicolo" +default = "default" +currents = "Carica" +disclaimerHint = "Nota:" +title = 'Impostazioni "{0}"' +disclaimerText = "Le modifiche non sono ancora persistenti. Verranno ripristinate dopo il riavvio del server" + +[main.loadpointSettings.minSoC] +label = "SoC minimo" +description = "Autonomia per le emergenze. Il veicolo viene caricato \"velocemente\" fino a {0}% in modalità FV. Poi continua solo con l'eccedenza FV" + +[main.loadpointSettings.phasesConfigured] +label = "Fasi" +phases_0 = "commutazione automatica" +phases_1 = "1 fase" +phases_1_hint = "({min} a {max})" +phases_3 = "3 fasi" + +[main.loadpointSettings.maxCurrent] +label = "Corrente massima" diff --git a/assets/i18n/lt.toml b/assets/i18n/lt.toml index 4f31c782d..c5731c05e 100644 --- a/assets/i18n/lt.toml +++ b/assets/i18n/lt.toml @@ -22,8 +22,8 @@ modalCancel = "Atšaukti" modalUpdate = "Naujinti" modalUpdateNow = "Naujinti dabar" modalDownload = "Atsisiųsti" -modalUpdateStatusStart = "Naujinimas prasidėjo: " -modalUpdateStatusFailed = "Naujinimas nepavyko: " +modalUpdateStatusStart = "Naujinimas prasidėjo:" +modalUpdateStatusFailed = "Naujinimas nepavyko:" [footer.savings] tabTitle = "Mano duomenys" @@ -65,7 +65,7 @@ titleNoSponsor = "Paremkite mus" thanks = "Ačiū, kad mus remiate {sponsor}! Taip prisidedate prie projekto vystymo." confetti = "Norite konfeti?" supportUs = "Mūsų misija: Siekiame, kad įkrovimas saulės energija taptų standartu. Padėkite mums ir paremkite evcc finansiškai." -sticker = "... ar evcc lipdukų?" +sticker = "… ar evcc lipdukų?" confettiPromise = "Bus lipdukų ir skaitmeninių konfeti ;)" becomeSponsor = "Tapkite rėmėju" diff --git a/assets/i18n/nb_NO.toml b/assets/i18n/nb_NO.toml index 67715f8d6..c90f5026e 100644 --- a/assets/i18n/nb_NO.toml +++ b/assets/i18n/nb_NO.toml @@ -19,8 +19,8 @@ modalInstalledVersion = "Installert versjon" modalUpdate = "Oppdater" modalCancel = "Avbryt" modalDownload = "Last ned" -modalUpdateStatusFailed = "Oppdatering mislyktes: " -modalUpdateStatusStart = "Oppdatering startet: " +modalUpdateStatusFailed = "Oppdatering mislyktes:" +modalUpdateStatusStart = "Oppdatering startet:" modalUpdateNow = "Oppdater nå" modalUpdateStarted = "Evcc vil starte på ny etter oppdateringen …" modalNoReleaseNotes = "Ingen utgivelsesnotater tilgjengelig. Mer info om den nye versjonen er å finne her:" diff --git a/assets/i18n/nl.toml b/assets/i18n/nl.toml index a073f7253..6a94e876d 100644 --- a/assets/i18n/nl.toml +++ b/assets/i18n/nl.toml @@ -22,8 +22,8 @@ modalCancel = "Annuleer" modalUpdate = "Update" modalUpdateNow = "Nu updaten" modalDownload = "Download" -modalUpdateStatusStart = "Update gestart: " -modalUpdateStatusFailed = "Update mislukt: " +modalUpdateStatusStart = "Update gestart:" +modalUpdateStatusFailed = "Update mislukt:" [footer.savings] tabTitle = "Mijn data" @@ -65,7 +65,7 @@ titleNoSponsor = "Sponsor ons" thanks = "Bedankt voor je hulp, {sponsor}! Je helpt ons bij de verdere ontwikkeling van evcc." confetti = "Klaar voor confetti?" supportUs = "Onze missie: Van laden op zonne-energie de standaard maken. Help ons en draag financieel bij aan evcc." -sticker = "...of evcc stickers?" +sticker = "… of evcc stickers?" confettiPromise = "Er zullen stickers en digitale confetti zijn ;)" becomeSponsor = "Word sponsor" diff --git a/assets/i18n/pl.toml b/assets/i18n/pl.toml index cf158de37..516b5af22 100644 --- a/assets/i18n/pl.toml +++ b/assets/i18n/pl.toml @@ -65,7 +65,7 @@ titleNoSponsor = "Wesprzyj nas" thanks = "Dzięki za wsparcie, {sponsor}! Pomaga nam to w dalszym rozwoju." confetti = "Gotowy na konfetti?" supportUs = "Nasza misja: Spraw, aby ładowanie słoneczne stało się standardem. Pomóż nam i wesprzyj evcc finansowo." -sticker = "...lub naklejki evcc?" +sticker = "… lub naklejki evcc?" confettiPromise = "Będą naklejki i cyfrowe konfetti ;)" becomeSponsor = "Zostań sponsorem" diff --git a/assets/i18n/pt.toml b/assets/i18n/pt.toml index 4b1623b28..ed3d3757e 100644 --- a/assets/i18n/pt.toml +++ b/assets/i18n/pt.toml @@ -22,8 +22,8 @@ modalCancel = "Cancelar" modalUpdate = "Atualizar" modalUpdateNow = "Atualizar agora" modalDownload = "Download" -modalUpdateStatusStart = "Atualização iniciada: " -modalUpdateStatusFailed = "Não foi possível atualizar: " +modalUpdateStatusStart = "Atualização iniciada:" +modalUpdateStatusFailed = "Não foi possível atualizar:" [footer.savings] tabTitle = "Meus dados" @@ -65,7 +65,7 @@ titleNoSponsor = "Apoie-nos" thanks = "Obrigado por seu patrocínio, {sponsor}! Isso nos ajuda em um maior desenvolvimento." confetti = "Gosta de confete?" supportUs = "Nossa missão: tornar carrega solar a norma. Ajude-nos e apoie financeiramente o evcc." -sticker = "...ou autocolantes do evcc?" +sticker = "… ou autocolantes do evcc?" confettiPromise = "Também temos autocolantes e confete digital ;)" becomeSponsor = "Torne-se um patrocinador" diff --git a/dist/assets/index.2e1b34fb.js b/dist/assets/index.841a487a.js similarity index 86% rename from dist/assets/index.2e1b34fb.js rename to dist/assets/index.841a487a.js index 3234ccbe6..d3b2da509 100644 --- a/dist/assets/index.2e1b34fb.js +++ b/dist/assets/index.841a487a.js @@ -1,8 +1,8 @@ -var V1=Object.defineProperty;var F1=(t,e,n)=>e in t?V1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var q1=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ar=(t,e,n)=>(F1(t,typeof e!="symbol"?e+"":e,n),n);var r$=q1((s$,uo)=>{(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var _t="top",Vt="bottom",Ft="right",vt="left",ha="auto",Xi=[_t,Vt,Ft,vt],Qr="start",Pi="end",Nm="clippingParents",Uc="viewport",fi="popper",Mm="reference",Bl=Xi.reduce(function(t,e){return t.concat([e+"-"+Qr,e+"-"+Pi])},[]),Wc=[].concat(Xi,[ha]).reduce(function(t,e){return t.concat([e,e+"-"+Qr,e+"-"+Pi])},[]),Im="beforeRead",Om="read",$m="afterRead",Dm="beforeMain",Rm="main",Vm="afterMain",Fm="beforeWrite",qm="write",Hm="afterWrite",jm=[Im,Om,$m,Dm,Rm,Vm,Fm,qm,Hm];function xn(t){return t?(t.nodeName||"").toLowerCase():null}function rn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Kr(t){var e=rn(t).Element;return t instanceof e||t instanceof Element}function Xt(t){var e=rn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Qc(t){if(typeof ShadowRoot>"u")return!1;var e=rn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function H1(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},s=e.elements[n];!Xt(s)||!xn(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function j1(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],s=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=o.reduce(function(l,c){return l[c]="",l},{});!Xt(i)||!xn(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const Kc={name:"applyStyles",enabled:!0,phase:"write",fn:H1,effect:j1,requires:["computeStyles"]};function Cn(t){return t.split("-")[0]}var Hr=Math.max,Wo=Math.min,Ni=Math.round;function Ul(){var t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function zm(){return!/^((?!chrome|android).)*safari/i.test(Ul())}function Mi(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,s=1;e&&Xt(t)&&(i=t.offsetWidth>0&&Ni(r.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Ni(r.height)/t.offsetHeight||1);var o=Kr(t)?rn(t):window,a=o.visualViewport,l=!zm()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/i,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Yc(t){var e=Mi(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Bm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Qc(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function zn(t){return rn(t).getComputedStyle(t)}function z1(t){return["table","td","th"].indexOf(xn(t))>=0}function br(t){return((Kr(t)?t.ownerDocument:t.document)||window.document).documentElement}function ma(t){return xn(t)==="html"?t:t.assignedSlot||t.parentNode||(Qc(t)?t.host:null)||br(t)}function Cd(t){return!Xt(t)||zn(t).position==="fixed"?null:t.offsetParent}function B1(t){var e=/firefox/i.test(Ul()),n=/Trident/i.test(Ul());if(n&&Xt(t)){var r=zn(t);if(r.position==="fixed")return null}var i=ma(t);for(Qc(i)&&(i=i.host);Xt(i)&&["html","body"].indexOf(xn(i))<0;){var s=zn(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function Xs(t){for(var e=rn(t),n=Cd(t);n&&z1(n)&&zn(n).position==="static";)n=Cd(n);return n&&(xn(n)==="html"||xn(n)==="body"&&zn(n).position==="static")?e:n||B1(t)||e}function Gc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _s(t,e,n){return Hr(t,Wo(e,n))}function U1(t,e,n){var r=_s(t,e,n);return r>n?n:r}function Um(){return{top:0,right:0,bottom:0,left:0}}function Wm(t){return Object.assign({},Um(),t)}function Qm(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var W1=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Wm(typeof e!="number"?e:Qm(e,Xi))};function Q1(t){var e,n=t.state,r=t.name,i=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Cn(n.placement),l=Gc(a),c=[vt,Ft].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var f=W1(i.padding,n),d=Yc(s),h=l==="y"?_t:vt,w=l==="y"?Vt:Ft,g=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],E=o[l]-n.rects.reference[l],_=Xs(s),T=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,S=g/2-E/2,b=f[h],y=T-d[u]-f[w],A=T/2-d[u]/2+S,L=_s(b,A,y),M=l;n.modifiersData[r]=(e={},e[M]=L,e.centerOffset=L-A,e)}}function K1(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||!Bm(e.elements.popper,i)||(e.elements.arrow=i))}const Km={name:"arrow",enabled:!0,phase:"main",fn:Q1,effect:K1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ii(t){return t.split("-")[1]}var Y1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G1(t){var e=t.x,n=t.y,r=window,i=r.devicePixelRatio||1;return{x:Ni(e*i)/i||0,y:Ni(n*i)/i||0}}function Sd(t){var e,n=t.popper,r=t.popperRect,i=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=o.x,h=d===void 0?0:d,w=o.y,g=w===void 0?0:w,E=typeof u=="function"?u({x:h,y:g}):{x:h,y:g};h=E.x,g=E.y;var _=o.hasOwnProperty("x"),T=o.hasOwnProperty("y"),S=vt,b=_t,y=window;if(c){var A=Xs(n),L="clientHeight",M="clientWidth";if(A===rn(n)&&(A=br(n),zn(A).position!=="static"&&a==="absolute"&&(L="scrollHeight",M="scrollWidth")),A=A,i===_t||(i===vt||i===Ft)&&s===Pi){b=Vt;var O=f&&A===y&&y.visualViewport?y.visualViewport.height:A[L];g-=O-r.height,g*=l?1:-1}if(i===vt||(i===_t||i===Vt)&&s===Pi){S=Ft;var z=f&&A===y&&y.visualViewport?y.visualViewport.width:A[M];h-=z-r.width,h*=l?1:-1}}var G=Object.assign({position:a},c&&Y1),J=u===!0?G1({x:h,y:g}):{x:h,y:g};if(h=J.x,g=J.y,l){var re;return Object.assign({},G,(re={},re[b]=T?"0":"",re[S]=_?"0":"",re.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",re))}return Object.assign({},G,(e={},e[b]=T?g+"px":"",e[S]=_?h+"px":"",e.transform="",e))}function Z1(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Cn(e.placement),variation:Ii(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Sd(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Sd(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Zc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Z1,data:{}};var ho={passive:!0};function X1(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,l=rn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,ho)}),a&&l.addEventListener("resize",n.update,ho),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ho)}),a&&l.removeEventListener("resize",n.update,ho)}}const Xc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:X1,data:{}};var J1={left:"right",right:"left",bottom:"top",top:"bottom"};function Po(t){return t.replace(/left|right|bottom|top/g,function(e){return J1[e]})}var e0={start:"end",end:"start"};function kd(t){return t.replace(/start|end/g,function(e){return e0[e]})}function Jc(t){var e=rn(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function eu(t){return Mi(br(t)).left+Jc(t).scrollLeft}function t0(t,e){var n=rn(t),r=br(t),i=n.visualViewport,s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var c=zm();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+eu(t),y:l}}function n0(t){var e,n=br(t),r=Jc(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=Hr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Hr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+eu(t),l=-r.scrollTop;return zn(i||n).direction==="rtl"&&(a+=Hr(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function tu(t){var e=zn(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ym(t){return["html","body","#document"].indexOf(xn(t))>=0?t.ownerDocument.body:Xt(t)&&tu(t)?t:Ym(ma(t))}function vs(t,e){var n;e===void 0&&(e=[]);var r=Ym(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),s=rn(r),o=i?[s].concat(s.visualViewport||[],tu(r)?r:[]):r,a=e.concat(o);return i?a:a.concat(vs(ma(o)))}function Wl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function r0(t,e){var n=Mi(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ad(t,e,n){return e===Uc?Wl(t0(t,n)):Kr(e)?r0(e,n):Wl(n0(br(t)))}function i0(t){var e=vs(ma(t)),n=["absolute","fixed"].indexOf(zn(t).position)>=0,r=n&&Xt(t)?Xs(t):t;return Kr(r)?e.filter(function(i){return Kr(i)&&Bm(i,r)&&xn(i)!=="body"}):[]}function s0(t,e,n,r){var i=e==="clippingParents"?i0(t):[].concat(e),s=[].concat(i,[n]),o=s[0],a=s.reduce(function(l,c){var u=Ad(t,c,r);return l.top=Hr(u.top,l.top),l.right=Wo(u.right,l.right),l.bottom=Wo(u.bottom,l.bottom),l.left=Hr(u.left,l.left),l},Ad(t,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Gm(t){var e=t.reference,n=t.element,r=t.placement,i=r?Cn(r):null,s=r?Ii(r):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case _t:l={x:o,y:e.y-n.height};break;case Vt:l={x:o,y:e.y+e.height};break;case Ft:l={x:e.x+e.width,y:a};break;case vt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?Gc(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Qr:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Pi:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Oi(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,s=n.strategy,o=s===void 0?t.strategy:s,a=n.boundary,l=a===void 0?Nm:a,c=n.rootBoundary,u=c===void 0?Uc:c,f=n.elementContext,d=f===void 0?fi:f,h=n.altBoundary,w=h===void 0?!1:h,g=n.padding,E=g===void 0?0:g,_=Wm(typeof E!="number"?E:Qm(E,Xi)),T=d===fi?Mm:fi,S=t.rects.popper,b=t.elements[w?T:d],y=s0(Kr(b)?b:b.contextElement||br(t.elements.popper),l,u,o),A=Mi(t.elements.reference),L=Gm({reference:A,element:S,strategy:"absolute",placement:i}),M=Wl(Object.assign({},S,L)),O=d===fi?M:A,z={top:y.top-O.top+_.top,bottom:O.bottom-y.bottom+_.bottom,left:y.left-O.left+_.left,right:O.right-y.right+_.right},G=t.modifiersData.offset;if(d===fi&&G){var J=G[i];Object.keys(z).forEach(function(re){var $=[Ft,Vt].indexOf(re)>=0?1:-1,P=[_t,Vt].indexOf(re)>=0?"y":"x";z[re]+=J[P]*$})}return z}function o0(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Wc:l,u=Ii(r),f=u?a?Bl:Bl.filter(function(w){return Ii(w)===u}):Xi,d=f.filter(function(w){return c.indexOf(w)>=0});d.length===0&&(d=f);var h=d.reduce(function(w,g){return w[g]=Oi(t,{placement:g,boundary:i,rootBoundary:s,padding:o})[Cn(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function a0(t){if(Cn(t)===ha)return[];var e=Po(t);return[kd(t),e,kd(e)]}function l0(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,w=h===void 0?!0:h,g=n.allowedAutoPlacements,E=e.options.placement,_=Cn(E),T=_===E,S=l||(T||!w?[Po(E)]:a0(E)),b=[E].concat(S).reduce(function(he,V){return he.concat(Cn(V)===ha?o0(e,{placement:V,boundary:u,rootBoundary:f,padding:c,flipVariations:w,allowedAutoPlacements:g}):V)},[]),y=e.rects.reference,A=e.rects.popper,L=new Map,M=!0,O=b[0],z=0;z=0,P=$?"width":"height",Q=Oi(e,{placement:G,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),U=$?re?Ft:vt:re?Vt:_t;y[P]>A[P]&&(U=Po(U));var X=Po(U),oe=[];if(s&&oe.push(Q[J]<=0),a&&oe.push(Q[U]<=0,Q[X]<=0),oe.every(function(he){return he})){O=G,M=!1;break}L.set(G,oe)}if(M)for(var ue=w?3:1,ce=function(V){var Z=b.find(function(j){var ee=L.get(j);if(ee)return ee.slice(0,V).every(function(pe){return pe})});if(Z)return O=Z,"break"},de=ue;de>0;de--){var Ie=ce(de);if(Ie==="break")break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}}const Zm={name:"flip",enabled:!0,phase:"main",fn:l0,requiresIfExists:["offset"],data:{_skip:!1}};function xd(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ld(t){return[_t,Ft,Vt,vt].some(function(e){return t[e]>=0})}function c0(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,o=Oi(e,{elementContext:"reference"}),a=Oi(e,{altBoundary:!0}),l=xd(o,r),c=xd(a,i,s),u=Ld(l),f=Ld(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Xm={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:c0};function u0(t,e,n){var r=Cn(t),i=[vt,_t].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[vt,Ft].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function d0(t){var e=t.state,n=t.options,r=t.name,i=n.offset,s=i===void 0?[0,0]:i,o=Wc.reduce(function(u,f){return u[f]=u0(f,e.rects,s),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=o}const Jm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:d0};function f0(t){var e=t.state,n=t.name;e.modifiersData[n]=Gm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const nu={name:"popperOffsets",enabled:!0,phase:"read",fn:f0,data:{}};function h0(t){return t==="x"?"y":"x"}function m0(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,w=n.tetherOffset,g=w===void 0?0:w,E=Oi(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Cn(e.placement),T=Ii(e.placement),S=!T,b=Gc(_),y=h0(b),A=e.modifiersData.popperOffsets,L=e.rects.reference,M=e.rects.popper,O=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,z=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),G=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(!!A){if(s){var re,$=b==="y"?_t:vt,P=b==="y"?Vt:Ft,Q=b==="y"?"height":"width",U=A[b],X=U+E[$],oe=U-E[P],ue=h?-M[Q]/2:0,ce=T===Qr?L[Q]:M[Q],de=T===Qr?-M[Q]:-L[Q],Ie=e.elements.arrow,he=h&&Ie?Yc(Ie):{width:0,height:0},V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Um(),Z=V[$],j=V[P],ee=_s(0,L[Q],he[Q]),pe=S?L[Q]/2-ue-ee-Z-z.mainAxis:ce-ee-Z-z.mainAxis,ye=S?-L[Q]/2+ue+ee+j+z.mainAxis:de+ee+j+z.mainAxis,fe=e.elements.arrow&&Xs(e.elements.arrow),C=fe?b==="y"?fe.clientTop||0:fe.clientLeft||0:0,m=(re=G==null?void 0:G[b])!=null?re:0,p=U+pe-m-C,k=U+ye-m,N=_s(h?Wo(X,p):X,U,h?Hr(oe,k):oe);A[b]=N,J[b]=N-U}if(a){var q,B=b==="x"?_t:vt,W=b==="x"?Vt:Ft,Y=A[y],H=y==="y"?"height":"width",I=Y+E[B],D=Y-E[W],ie=[_t,vt].indexOf(_)!==-1,se=(q=G==null?void 0:G[y])!=null?q:0,_e=ie?I:Y-L[H]-M[H]-se+z.altAxis,ke=ie?Y+L[H]+M[H]-se-z.altAxis:D,Te=h&&ie?U1(_e,Y,ke):_s(h?_e:I,Y,h?ke:D);A[y]=Te,J[y]=Te-Y}e.modifiersData[r]=J}}const ep={name:"preventOverflow",enabled:!0,phase:"main",fn:m0,requiresIfExists:["offset"]};function p0(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function g0(t){return t===rn(t)||!Xt(t)?Jc(t):p0(t)}function _0(t){var e=t.getBoundingClientRect(),n=Ni(e.width)/t.offsetWidth||1,r=Ni(e.height)/t.offsetHeight||1;return n!==1||r!==1}function v0(t,e,n){n===void 0&&(n=!1);var r=Xt(e),i=Xt(e)&&_0(e),s=br(e),o=Mi(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((xn(e)!=="body"||tu(s))&&(a=g0(e)),Xt(e)?(l=Mi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=eu(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function b0(t){var e=new Map,n=new Set,r=[];t.forEach(function(s){e.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(s)}return t.forEach(function(s){n.has(s.name)||i(s)}),r}function y0(t){var e=b0(t);return jm.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function w0(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function E0(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Pd={placement:"bottom",modifiers:[],strategy:"absolute"};function Nd(){for(var t=arguments.length,e=new Array(t),n=0;ne in t?V1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var q1=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ar=(t,e,n)=>(F1(t,typeof e!="symbol"?e+"":e,n),n);var r$=q1((s$,uo)=>{(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var _t="top",Vt="bottom",Ft="right",vt="left",ha="auto",Xi=[_t,Vt,Ft,vt],Qr="start",Pi="end",Nm="clippingParents",Uc="viewport",fi="popper",Mm="reference",Bl=Xi.reduce(function(t,e){return t.concat([e+"-"+Qr,e+"-"+Pi])},[]),Wc=[].concat(Xi,[ha]).reduce(function(t,e){return t.concat([e,e+"-"+Qr,e+"-"+Pi])},[]),Im="beforeRead",Om="read",$m="afterRead",Dm="beforeMain",Rm="main",Vm="afterMain",Fm="beforeWrite",qm="write",Hm="afterWrite",jm=[Im,Om,$m,Dm,Rm,Vm,Fm,qm,Hm];function xn(t){return t?(t.nodeName||"").toLowerCase():null}function rn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Kr(t){var e=rn(t).Element;return t instanceof e||t instanceof Element}function Xt(t){var e=rn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Qc(t){if(typeof ShadowRoot>"u")return!1;var e=rn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function H1(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},s=e.elements[n];!Xt(s)||!xn(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function j1(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],s=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=o.reduce(function(l,c){return l[c]="",l},{});!Xt(i)||!xn(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const Kc={name:"applyStyles",enabled:!0,phase:"write",fn:H1,effect:j1,requires:["computeStyles"]};function Cn(t){return t.split("-")[0]}var Hr=Math.max,Wo=Math.min,Ni=Math.round;function Ul(){var t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function zm(){return!/^((?!chrome|android).)*safari/i.test(Ul())}function Mi(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,s=1;e&&Xt(t)&&(i=t.offsetWidth>0&&Ni(r.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Ni(r.height)/t.offsetHeight||1);var o=Kr(t)?rn(t):window,a=o.visualViewport,l=!zm()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/i,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Yc(t){var e=Mi(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Bm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Qc(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function zn(t){return rn(t).getComputedStyle(t)}function z1(t){return["table","td","th"].indexOf(xn(t))>=0}function br(t){return((Kr(t)?t.ownerDocument:t.document)||window.document).documentElement}function ma(t){return xn(t)==="html"?t:t.assignedSlot||t.parentNode||(Qc(t)?t.host:null)||br(t)}function Cd(t){return!Xt(t)||zn(t).position==="fixed"?null:t.offsetParent}function B1(t){var e=/firefox/i.test(Ul()),n=/Trident/i.test(Ul());if(n&&Xt(t)){var r=zn(t);if(r.position==="fixed")return null}var i=ma(t);for(Qc(i)&&(i=i.host);Xt(i)&&["html","body"].indexOf(xn(i))<0;){var s=zn(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function Xs(t){for(var e=rn(t),n=Cd(t);n&&z1(n)&&zn(n).position==="static";)n=Cd(n);return n&&(xn(n)==="html"||xn(n)==="body"&&zn(n).position==="static")?e:n||B1(t)||e}function Gc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _s(t,e,n){return Hr(t,Wo(e,n))}function U1(t,e,n){var r=_s(t,e,n);return r>n?n:r}function Um(){return{top:0,right:0,bottom:0,left:0}}function Wm(t){return Object.assign({},Um(),t)}function Qm(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var W1=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Wm(typeof e!="number"?e:Qm(e,Xi))};function Q1(t){var e,n=t.state,r=t.name,i=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Cn(n.placement),l=Gc(a),c=[vt,Ft].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var f=W1(i.padding,n),d=Yc(s),h=l==="y"?_t:vt,w=l==="y"?Vt:Ft,g=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],E=o[l]-n.rects.reference[l],_=Xs(s),T=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,S=g/2-E/2,b=f[h],y=T-d[u]-f[w],A=T/2-d[u]/2+S,L=_s(b,A,y),M=l;n.modifiersData[r]=(e={},e[M]=L,e.centerOffset=L-A,e)}}function K1(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||!Bm(e.elements.popper,i)||(e.elements.arrow=i))}const Km={name:"arrow",enabled:!0,phase:"main",fn:Q1,effect:K1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ii(t){return t.split("-")[1]}var Y1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G1(t){var e=t.x,n=t.y,r=window,i=r.devicePixelRatio||1;return{x:Ni(e*i)/i||0,y:Ni(n*i)/i||0}}function Sd(t){var e,n=t.popper,r=t.popperRect,i=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=o.x,h=d===void 0?0:d,w=o.y,g=w===void 0?0:w,E=typeof u=="function"?u({x:h,y:g}):{x:h,y:g};h=E.x,g=E.y;var _=o.hasOwnProperty("x"),T=o.hasOwnProperty("y"),S=vt,b=_t,y=window;if(c){var A=Xs(n),L="clientHeight",M="clientWidth";if(A===rn(n)&&(A=br(n),zn(A).position!=="static"&&a==="absolute"&&(L="scrollHeight",M="scrollWidth")),A=A,i===_t||(i===vt||i===Ft)&&s===Pi){b=Vt;var O=f&&A===y&&y.visualViewport?y.visualViewport.height:A[L];g-=O-r.height,g*=l?1:-1}if(i===vt||(i===_t||i===Vt)&&s===Pi){S=Ft;var z=f&&A===y&&y.visualViewport?y.visualViewport.width:A[M];h-=z-r.width,h*=l?1:-1}}var G=Object.assign({position:a},c&&Y1),J=u===!0?G1({x:h,y:g}):{x:h,y:g};if(h=J.x,g=J.y,l){var re;return Object.assign({},G,(re={},re[b]=T?"0":"",re[S]=_?"0":"",re.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",re))}return Object.assign({},G,(e={},e[b]=T?g+"px":"",e[S]=_?h+"px":"",e.transform="",e))}function Z1(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Cn(e.placement),variation:Ii(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Sd(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Sd(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Zc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Z1,data:{}};var ho={passive:!0};function X1(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,l=rn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,ho)}),a&&l.addEventListener("resize",n.update,ho),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ho)}),a&&l.removeEventListener("resize",n.update,ho)}}const Xc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:X1,data:{}};var J1={left:"right",right:"left",bottom:"top",top:"bottom"};function Po(t){return t.replace(/left|right|bottom|top/g,function(e){return J1[e]})}var ev={start:"end",end:"start"};function kd(t){return t.replace(/start|end/g,function(e){return ev[e]})}function Jc(t){var e=rn(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function eu(t){return Mi(br(t)).left+Jc(t).scrollLeft}function tv(t,e){var n=rn(t),r=br(t),i=n.visualViewport,s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var c=zm();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+eu(t),y:l}}function nv(t){var e,n=br(t),r=Jc(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=Hr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Hr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+eu(t),l=-r.scrollTop;return zn(i||n).direction==="rtl"&&(a+=Hr(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function tu(t){var e=zn(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Ym(t){return["html","body","#document"].indexOf(xn(t))>=0?t.ownerDocument.body:Xt(t)&&tu(t)?t:Ym(ma(t))}function vs(t,e){var n;e===void 0&&(e=[]);var r=Ym(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),s=rn(r),o=i?[s].concat(s.visualViewport||[],tu(r)?r:[]):r,a=e.concat(o);return i?a:a.concat(vs(ma(o)))}function Wl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function rv(t,e){var n=Mi(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ad(t,e,n){return e===Uc?Wl(tv(t,n)):Kr(e)?rv(e,n):Wl(nv(br(t)))}function iv(t){var e=vs(ma(t)),n=["absolute","fixed"].indexOf(zn(t).position)>=0,r=n&&Xt(t)?Xs(t):t;return Kr(r)?e.filter(function(i){return Kr(i)&&Bm(i,r)&&xn(i)!=="body"}):[]}function sv(t,e,n,r){var i=e==="clippingParents"?iv(t):[].concat(e),s=[].concat(i,[n]),o=s[0],a=s.reduce(function(l,c){var u=Ad(t,c,r);return l.top=Hr(u.top,l.top),l.right=Wo(u.right,l.right),l.bottom=Wo(u.bottom,l.bottom),l.left=Hr(u.left,l.left),l},Ad(t,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Gm(t){var e=t.reference,n=t.element,r=t.placement,i=r?Cn(r):null,s=r?Ii(r):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case _t:l={x:o,y:e.y-n.height};break;case Vt:l={x:o,y:e.y+e.height};break;case Ft:l={x:e.x+e.width,y:a};break;case vt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?Gc(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Qr:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Pi:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Oi(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,s=n.strategy,o=s===void 0?t.strategy:s,a=n.boundary,l=a===void 0?Nm:a,c=n.rootBoundary,u=c===void 0?Uc:c,f=n.elementContext,d=f===void 0?fi:f,h=n.altBoundary,w=h===void 0?!1:h,g=n.padding,E=g===void 0?0:g,_=Wm(typeof E!="number"?E:Qm(E,Xi)),T=d===fi?Mm:fi,S=t.rects.popper,b=t.elements[w?T:d],y=sv(Kr(b)?b:b.contextElement||br(t.elements.popper),l,u,o),A=Mi(t.elements.reference),L=Gm({reference:A,element:S,strategy:"absolute",placement:i}),M=Wl(Object.assign({},S,L)),O=d===fi?M:A,z={top:y.top-O.top+_.top,bottom:O.bottom-y.bottom+_.bottom,left:y.left-O.left+_.left,right:O.right-y.right+_.right},G=t.modifiersData.offset;if(d===fi&&G){var J=G[i];Object.keys(z).forEach(function(re){var $=[Ft,Vt].indexOf(re)>=0?1:-1,P=[_t,Vt].indexOf(re)>=0?"y":"x";z[re]+=J[P]*$})}return z}function ov(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Wc:l,u=Ii(r),f=u?a?Bl:Bl.filter(function(w){return Ii(w)===u}):Xi,d=f.filter(function(w){return c.indexOf(w)>=0});d.length===0&&(d=f);var h=d.reduce(function(w,g){return w[g]=Oi(t,{placement:g,boundary:i,rootBoundary:s,padding:o})[Cn(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function av(t){if(Cn(t)===ha)return[];var e=Po(t);return[kd(t),e,kd(e)]}function lv(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,w=h===void 0?!0:h,g=n.allowedAutoPlacements,E=e.options.placement,_=Cn(E),T=_===E,S=l||(T||!w?[Po(E)]:av(E)),b=[E].concat(S).reduce(function(he,V){return he.concat(Cn(V)===ha?ov(e,{placement:V,boundary:u,rootBoundary:f,padding:c,flipVariations:w,allowedAutoPlacements:g}):V)},[]),y=e.rects.reference,A=e.rects.popper,L=new Map,M=!0,O=b[0],z=0;z=0,P=$?"width":"height",Q=Oi(e,{placement:G,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),U=$?re?Ft:vt:re?Vt:_t;y[P]>A[P]&&(U=Po(U));var X=Po(U),oe=[];if(s&&oe.push(Q[J]<=0),a&&oe.push(Q[U]<=0,Q[X]<=0),oe.every(function(he){return he})){O=G,M=!1;break}L.set(G,oe)}if(M)for(var ue=w?3:1,ce=function(V){var Z=b.find(function(j){var ee=L.get(j);if(ee)return ee.slice(0,V).every(function(pe){return pe})});if(Z)return O=Z,"break"},de=ue;de>0;de--){var Ie=ce(de);if(Ie==="break")break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}}const Zm={name:"flip",enabled:!0,phase:"main",fn:lv,requiresIfExists:["offset"],data:{_skip:!1}};function xd(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ld(t){return[_t,Ft,Vt,vt].some(function(e){return t[e]>=0})}function cv(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,o=Oi(e,{elementContext:"reference"}),a=Oi(e,{altBoundary:!0}),l=xd(o,r),c=xd(a,i,s),u=Ld(l),f=Ld(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Xm={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:cv};function uv(t,e,n){var r=Cn(t),i=[vt,_t].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[vt,Ft].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function dv(t){var e=t.state,n=t.options,r=t.name,i=n.offset,s=i===void 0?[0,0]:i,o=Wc.reduce(function(u,f){return u[f]=uv(f,e.rects,s),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=o}const Jm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:dv};function fv(t){var e=t.state,n=t.name;e.modifiersData[n]=Gm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const nu={name:"popperOffsets",enabled:!0,phase:"read",fn:fv,data:{}};function hv(t){return t==="x"?"y":"x"}function mv(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,w=n.tetherOffset,g=w===void 0?0:w,E=Oi(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Cn(e.placement),T=Ii(e.placement),S=!T,b=Gc(_),y=hv(b),A=e.modifiersData.popperOffsets,L=e.rects.reference,M=e.rects.popper,O=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,z=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),G=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(!!A){if(s){var re,$=b==="y"?_t:vt,P=b==="y"?Vt:Ft,Q=b==="y"?"height":"width",U=A[b],X=U+E[$],oe=U-E[P],ue=h?-M[Q]/2:0,ce=T===Qr?L[Q]:M[Q],de=T===Qr?-M[Q]:-L[Q],Ie=e.elements.arrow,he=h&&Ie?Yc(Ie):{width:0,height:0},V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Um(),Z=V[$],j=V[P],ee=_s(0,L[Q],he[Q]),pe=S?L[Q]/2-ue-ee-Z-z.mainAxis:ce-ee-Z-z.mainAxis,ye=S?-L[Q]/2+ue+ee+j+z.mainAxis:de+ee+j+z.mainAxis,fe=e.elements.arrow&&Xs(e.elements.arrow),C=fe?b==="y"?fe.clientTop||0:fe.clientLeft||0:0,m=(re=G==null?void 0:G[b])!=null?re:0,p=U+pe-m-C,k=U+ye-m,N=_s(h?Wo(X,p):X,U,h?Hr(oe,k):oe);A[b]=N,J[b]=N-U}if(a){var q,B=b==="x"?_t:vt,W=b==="x"?Vt:Ft,Y=A[y],H=y==="y"?"height":"width",I=Y+E[B],D=Y-E[W],ie=[_t,vt].indexOf(_)!==-1,se=(q=G==null?void 0:G[y])!=null?q:0,_e=ie?I:Y-L[H]-M[H]-se+z.altAxis,ke=ie?Y+L[H]+M[H]-se-z.altAxis:D,Te=h&&ie?U1(_e,Y,ke):_s(h?_e:I,Y,h?ke:D);A[y]=Te,J[y]=Te-Y}e.modifiersData[r]=J}}const ep={name:"preventOverflow",enabled:!0,phase:"main",fn:mv,requiresIfExists:["offset"]};function pv(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function gv(t){return t===rn(t)||!Xt(t)?Jc(t):pv(t)}function _v(t){var e=t.getBoundingClientRect(),n=Ni(e.width)/t.offsetWidth||1,r=Ni(e.height)/t.offsetHeight||1;return n!==1||r!==1}function vv(t,e,n){n===void 0&&(n=!1);var r=Xt(e),i=Xt(e)&&_v(e),s=br(e),o=Mi(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((xn(e)!=="body"||tu(s))&&(a=gv(e)),Xt(e)?(l=Mi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=eu(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function bv(t){var e=new Map,n=new Set,r=[];t.forEach(function(s){e.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(s)}return t.forEach(function(s){n.has(s.name)||i(s)}),r}function yv(t){var e=bv(t);return jm.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function wv(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Ev(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Pd={placement:"bottom",modifiers:[],strategy:"absolute"};function Nd(){for(var t=arguments.length,e=new Array(t),n=0;nt==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),P0=t=>{do t+=Math.floor(Math.random()*A0);while(document.getElementById(t));return t},np=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return e},rp=t=>{const e=np(t);return e&&document.querySelector(e)?e:null},qn=t=>{const e=np(t);return e?document.querySelector(e):null},N0=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return!r&&!i?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*x0)},ip=t=>{t.dispatchEvent(new Event(Ql))},Hn=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),ur=t=>Hn(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(t):null,Ji=t=>{if(!Hn(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const r=t.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return e},dr=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",sp=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?sp(t.parentNode):null},Qo=()=>{},Js=t=>{t.offsetHeight},op=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ka=[],M0=t=>{document.readyState==="loading"?(Ka.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ka)e()}),Ka.push(t)):t()},tn=()=>document.documentElement.dir==="rtl",sn=t=>{M0(()=>{const e=op();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},Rn=t=>{typeof t=="function"&&t()},ap=(t,e,n=!0)=>{if(!n){Rn(t);return}const r=5,i=N0(e)+r;let s=!1;const o=({target:a})=>{a===e&&(s=!0,e.removeEventListener(Ql,o),Rn(t))};e.addEventListener(Ql,o),setTimeout(()=>{s||ip(e)},i)},iu=(t,e,n,r)=>{const i=t.length;let s=t.indexOf(e);return s===-1?!n&&r?t[i-1]:t[0]:(s+=n?1:-1,r&&(s=(s+i)%i),t[Math.max(0,Math.min(s,i-1))])},I0=/[^.]*(?=\..*)\.|.*/,O0=/\..*/,$0=/::\d+$/,Ya={};let Md=1;const lp={mouseenter:"mouseover",mouseleave:"mouseout"},D0=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function cp(t,e){return e&&`${e}::${Md++}`||t.uidEvent||Md++}function up(t){const e=cp(t);return t.uidEvent=e,Ya[e]=Ya[e]||{},Ya[e]}function R0(t,e){return function n(r){return su(r,{delegateTarget:t}),n.oneOff&&K.off(t,r.type,e),e.apply(t,[r])}}function V0(t,e,n){return function r(i){const s=t.querySelectorAll(e);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return su(i,{delegateTarget:o}),r.oneOff&&K.off(t,i.type,e,n),n.apply(o,[i])}}function dp(t,e,n=null){return Object.values(t).find(r=>r.callable===e&&r.delegationSelector===n)}function fp(t,e,n){const r=typeof e=="string",i=r?n:e||n;let s=hp(t);return D0.has(s)||(s=t),[r,i,s]}function Id(t,e,n,r,i){if(typeof e!="string"||!t)return;let[s,o,a]=fp(e,n,r);e in lp&&(o=(w=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return w.call(this,g)})(o));const l=up(t),c=l[a]||(l[a]={}),u=dp(c,o,s?n:null);if(u){u.oneOff=u.oneOff&&i;return}const f=cp(o,e.replace(I0,"")),d=s?V0(t,n,o):R0(t,o);d.delegationSelector=s?n:null,d.callable=o,d.oneOff=i,d.uidEvent=f,c[f]=d,t.addEventListener(a,d,s)}function Kl(t,e,n,r,i){const s=dp(e[n],r,i);!s||(t.removeEventListener(n,s,Boolean(i)),delete e[n][s.uidEvent])}function F0(t,e,n,r){const i=e[n]||{};for(const s of Object.keys(i))if(s.includes(r)){const o=i[s];Kl(t,e,n,o.callable,o.delegationSelector)}}function hp(t){return t=t.replace(O0,""),lp[t]||t}const K={on(t,e,n,r){Id(t,e,n,r,!1)},one(t,e,n,r){Id(t,e,n,r,!0)},off(t,e,n,r){if(typeof e!="string"||!t)return;const[i,s,o]=fp(e,n,r),a=o!==e,l=up(t),c=l[o]||{},u=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(c).length)return;Kl(t,l,o,s,i?n:null);return}if(u)for(const f of Object.keys(l))F0(t,l,f,e.slice(1));for(const f of Object.keys(c)){const d=f.replace($0,"");if(!a||e.includes(d)){const h=c[f];Kl(t,l,o,h.callable,h.delegationSelector)}}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const r=op(),i=hp(e),s=e!==i;let o=null,a=!0,l=!0,c=!1;s&&r&&(o=r.Event(e,n),r(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let u=new Event(e,{bubbles:a,cancelable:!0});return u=su(u,n),c&&u.preventDefault(),l&&t.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function su(t,e){for(const[n,r]of Object.entries(e||{}))try{t[n]=r}catch{Object.defineProperty(t,n,{configurable:!0,get(){return r}})}return t}const Yn=new Map,Ga={set(t,e,n){Yn.has(t)||Yn.set(t,new Map);const r=Yn.get(t);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,n)},get(t,e){return Yn.has(t)&&Yn.get(t).get(e)||null},remove(t,e){if(!Yn.has(t))return;const n=Yn.get(t);n.delete(e),n.size===0&&Yn.delete(t)}};function Od(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Za(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const jn={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Za(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Za(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=Od(t.dataset[r])}return e},getDataAttribute(t,e){return Od(t.getAttribute(`data-bs-${Za(e)}`))}};class eo{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const r=Hn(n)?jn.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Hn(n)?jn.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const r of Object.keys(n)){const i=n[r],s=e[r],o=Hn(s)?"element":L0(s);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}}}const q0="5.2.2";class mn extends eo{constructor(e,n){super(),e=ur(e),e&&(this._element=e,this._config=this._getConfig(n),Ga.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ga.remove(this._element,this.constructor.DATA_KEY),K.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,r=!0){ap(e,n,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ga.get(ur(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return q0}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const ga=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;K.on(document,n,`[data-bs-dismiss="${r}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),dr(this))return;const s=qn(this)||this.closest(`.${r}`);t.getOrCreateInstance(s)[e]()})},H0="alert",j0="bs.alert",mp=`.${j0}`,z0=`close${mp}`,B0=`closed${mp}`,U0="fade",W0="show";class _a extends mn{static get NAME(){return H0}close(){if(K.trigger(this._element,z0).defaultPrevented)return;this._element.classList.remove(W0);const n=this._element.classList.contains(U0);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),K.trigger(this._element,B0),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=_a.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}ga(_a,"close");sn(_a);const Q0="button",K0="bs.button",Y0=`.${K0}`,G0=".data-api",Z0="active",$d='[data-bs-toggle="button"]',X0=`click${Y0}${G0}`;class va extends mn{static get NAME(){return Q0}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Z0))}static jQueryInterface(e){return this.each(function(){const n=va.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}K.on(document,X0,$d,t=>{t.preventDefault();const e=t.target.closest($d);va.getOrCreateInstance(e).toggle()});sn(va);const Ee={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!dr(n)&&Ji(n))}},J0="swipe",es=".bs.swipe",ev=`touchstart${es}`,tv=`touchmove${es}`,nv=`touchend${es}`,rv=`pointerdown${es}`,iv=`pointerup${es}`,sv="touch",ov="pen",av="pointer-event",lv=40,cv={endCallback:null,leftCallback:null,rightCallback:null},uv={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ko extends eo{constructor(e,n){super(),this._element=e,!(!e||!Ko.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return cv}static get DefaultType(){return uv}static get NAME(){return J0}dispose(){K.off(this._element,es)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Rn(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=lv)return;const n=e/this._deltaX;this._deltaX=0,n&&Rn(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(K.on(this._element,rv,e=>this._start(e)),K.on(this._element,iv,e=>this._end(e)),this._element.classList.add(av)):(K.on(this._element,ev,e=>this._start(e)),K.on(this._element,tv,e=>this._move(e)),K.on(this._element,nv,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===ov||e.pointerType===sv)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const dv="carousel",fv="bs.carousel",yr=`.${fv}`,pp=".data-api",hv="ArrowLeft",mv="ArrowRight",pv=500,ls="next",oi="prev",hi="left",No="right",gv=`slide${yr}`,Xa=`slid${yr}`,_v=`keydown${yr}`,vv=`mouseenter${yr}`,bv=`mouseleave${yr}`,yv=`dragstart${yr}`,wv=`load${yr}${pp}`,Ev=`click${yr}${pp}`,gp="carousel",mo="active",Tv="slide",Cv="carousel-item-end",Sv="carousel-item-start",kv="carousel-item-next",Av="carousel-item-prev",_p=".active",vp=".carousel-item",xv=_p+vp,Lv=".carousel-item img",Pv=".carousel-indicators",Nv="[data-bs-slide], [data-bs-slide-to]",Mv='[data-bs-ride="carousel"]',Iv={[hv]:No,[mv]:hi},Ov={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},$v={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class to extends mn{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ee.findOne(Pv,this._element),this._addEventListeners(),this._config.ride===gp&&this.cycle()}static get Default(){return Ov}static get DefaultType(){return $v}static get NAME(){return dv}next(){this._slide(ls)}nextWhenVisible(){!document.hidden&&Ji(this._element)&&this.next()}prev(){this._slide(oi)}pause(){this._isSliding&&ip(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(!!this._config.ride){if(this._isSliding){K.one(this._element,Xa,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){K.one(this._element,Xa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const i=e>r?ls:oi;this._slide(i,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&K.on(this._element,_v,e=>this._keydown(e)),this._config.pause==="hover"&&(K.on(this._element,vv,()=>this.pause()),K.on(this._element,bv,()=>this._maybeEnableCycle())),this._config.touch&&Ko.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ee.find(Lv,this._element))K.on(r,yv,i=>i.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(hi)),rightCallback:()=>this._slide(this._directionToOrder(No)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),pv+this._config.interval))}};this._swipeHelper=new Ko(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=Iv[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=Ee.findOne(_p,this._indicatorsElement);n.classList.remove(mo),n.removeAttribute("aria-current");const r=Ee.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(mo),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const r=this._getActive(),i=e===ls,s=n||iu(this._getItems(),r,i,this._config.wrap);if(s===r)return;const o=this._getItemIndex(s),a=h=>K.trigger(this._element,h,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:o});if(a(gv).defaultPrevented||!r||!s)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const u=i?Sv:Cv,f=i?kv:Av;s.classList.add(f),Js(s),r.classList.add(u),s.classList.add(u);const d=()=>{s.classList.remove(u,f),s.classList.add(mo),r.classList.remove(mo,f,u),this._isSliding=!1,a(Xa)};this._queueCallback(d,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Tv)}_getActive(){return Ee.findOne(xv,this._element)}_getItems(){return Ee.find(vp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return tn()?e===hi?oi:ls:e===hi?ls:oi}_orderToDirection(e){return tn()?e===oi?hi:No:e===oi?No:hi}static jQueryInterface(e){return this.each(function(){const n=to.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}K.on(document,Ev,Nv,function(t){const e=qn(this);if(!e||!e.classList.contains(gp))return;t.preventDefault();const n=to.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(jn.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});K.on(window,wv,()=>{const t=Ee.find(Mv);for(const e of t)to.getOrCreateInstance(e)});sn(to);const Dv="collapse",Rv="bs.collapse",no=`.${Rv}`,Vv=".data-api",Fv=`show${no}`,qv=`shown${no}`,Hv=`hide${no}`,jv=`hidden${no}`,zv=`click${no}${Vv}`,Ja="show",_i="collapse",po="collapsing",Bv="collapsed",Uv=`:scope .${_i} .${_i}`,Wv="collapse-horizontal",Qv="width",Kv="height",Yv=".collapse.show, .collapse.collapsing",Yl='[data-bs-toggle="collapse"]',Gv={parent:null,toggle:!0},Zv={parent:"(null|element)",toggle:"boolean"};class Is extends mn{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const r=Ee.find(Yl);for(const i of r){const s=rp(i),o=Ee.find(s).filter(a=>a===this._element);s!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Gv}static get DefaultType(){return Zv}static get NAME(){return Dv}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Yv).filter(a=>a!==this._element).map(a=>Is.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||K.trigger(this._element,Fv).defaultPrevented)return;for(const a of e)a.hide();const r=this._getDimension();this._element.classList.remove(_i),this._element.classList.add(po),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(po),this._element.classList.add(_i,Ja),this._element.style[r]="",K.trigger(this._element,qv)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||K.trigger(this._element,Hv).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Js(this._element),this._element.classList.add(po),this._element.classList.remove(_i,Ja);for(const i of this._triggerArray){const s=qn(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(po),this._element.classList.add(_i),K.trigger(this._element,jv)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ja)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=ur(e.parent),e}_getDimension(){return this._element.classList.contains(Wv)?Qv:Kv}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Yl);for(const n of e){const r=qn(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(e){const n=Ee.find(Uv,this._config.parent);return Ee.find(e,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(e,n){if(!!e.length)for(const r of e)r.classList.toggle(Bv,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const r=Is.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}K.on(document,zv,Yl,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();const e=rp(this),n=Ee.find(e);for(const r of n)Is.getOrCreateInstance(r,{toggle:!1}).toggle()});sn(Is);const Dd="dropdown",Xv="bs.dropdown",Zr=`.${Xv}`,ou=".data-api",Jv="Escape",Rd="Tab",e2="ArrowUp",Vd="ArrowDown",t2=2,n2=`hide${Zr}`,r2=`hidden${Zr}`,i2=`show${Zr}`,s2=`shown${Zr}`,bp=`click${Zr}${ou}`,yp=`keydown${Zr}${ou}`,o2=`keyup${Zr}${ou}`,mi="show",a2="dropup",l2="dropend",c2="dropstart",u2="dropup-center",d2="dropdown-center",Rr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',f2=`${Rr}.${mi}`,Mo=".dropdown-menu",h2=".navbar",m2=".navbar-nav",p2=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",g2=tn()?"top-end":"top-start",_2=tn()?"top-start":"top-end",v2=tn()?"bottom-end":"bottom-start",b2=tn()?"bottom-start":"bottom-end",y2=tn()?"left-start":"right-start",w2=tn()?"right-start":"left-start",E2="top",T2="bottom",C2={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},S2={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Sn extends mn{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=Ee.next(this._element,Mo)[0]||Ee.prev(this._element,Mo)[0]||Ee.findOne(Mo,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return C2}static get DefaultType(){return S2}static get NAME(){return Dd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(dr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!K.trigger(this._element,i2,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(m2))for(const r of[].concat(...document.body.children))K.on(r,"mouseover",Qo);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(mi),this._element.classList.add(mi),K.trigger(this._element,s2,e)}}hide(){if(dr(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!K.trigger(this._element,n2,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))K.off(r,"mouseover",Qo);this._popper&&this._popper.destroy(),this._menu.classList.remove(mi),this._element.classList.remove(mi),this._element.setAttribute("aria-expanded","false"),jn.removeDataAttribute(this._menu,"popper"),K.trigger(this._element,r2,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Hn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Dd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof tp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Hn(this._config.reference)?e=ur(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=ru(e,this._menu,n)}_isShown(){return this._menu.classList.contains(mi)}_getPlacement(){const e=this._parent;if(e.classList.contains(l2))return y2;if(e.classList.contains(c2))return w2;if(e.classList.contains(u2))return E2;if(e.classList.contains(d2))return T2;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(a2)?n?_2:g2:n?b2:v2}_detectNavbar(){return this._element.closest(h2)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(jn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...typeof this._config.popperConfig=="function"?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:n}){const r=Ee.find(p2,this._menu).filter(i=>Ji(i));!r.length||iu(r,n,e===Vd,!r.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=Sn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===t2||e.type==="keyup"&&e.key!==Rd)return;const n=Ee.find(f2);for(const r of n){const i=Sn.getInstance(r);if(!i||i._config.autoClose===!1)continue;const s=e.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Rd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:i._element};e.type==="click"&&(a.clickEvent=e),i._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),r=e.key===Jv,i=[e2,Vd].includes(e.key);if(!i&&!r||n&&!r)return;e.preventDefault();const s=this.matches(Rr)?this:Ee.prev(this,Rr)[0]||Ee.next(this,Rr)[0]||Ee.findOne(Rr,e.delegateTarget.parentNode),o=Sn.getOrCreateInstance(s);if(i){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}K.on(document,yp,Rr,Sn.dataApiKeydownHandler);K.on(document,yp,Mo,Sn.dataApiKeydownHandler);K.on(document,bp,Sn.clearMenus);K.on(document,o2,Sn.clearMenus);K.on(document,bp,Rr,function(t){t.preventDefault(),Sn.getOrCreateInstance(this).toggle()});sn(Sn);const Fd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",qd=".sticky-top",go="padding-right",Hd="margin-right";class Gl{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,go,n=>n+e),this._setElementAttributes(Fd,go,n=>n+e),this._setElementAttributes(qd,Hd,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,go),this._resetElementAttributes(Fd,go),this._resetElementAttributes(qd,Hd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,r){const i=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,n){const r=e.style.getPropertyValue(n);r&&jn.setDataAttribute(e,n,r)}_resetElementAttributes(e,n){const r=i=>{const s=jn.getDataAttribute(i,n);if(s===null){i.style.removeProperty(n);return}jn.removeDataAttribute(i,n),i.style.setProperty(n,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,n){if(Hn(e)){n(e);return}for(const r of Ee.find(e,this._element))n(r)}}const wp="backdrop",k2="fade",jd="show",zd=`mousedown.bs.${wp}`,A2={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},x2={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ep extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return A2}static get DefaultType(){return x2}static get NAME(){return wp}show(e){if(!this._config.isVisible){Rn(e);return}this._append();const n=this._getElement();this._config.isAnimated&&Js(n),n.classList.add(jd),this._emulateAnimation(()=>{Rn(e)})}hide(e){if(!this._config.isVisible){Rn(e);return}this._getElement().classList.remove(jd),this._emulateAnimation(()=>{this.dispose(),Rn(e)})}dispose(){!this._isAppended||(K.off(this._element,zd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(k2),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=ur(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),K.on(e,zd,()=>{Rn(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){ap(e,this._getElement(),this._config.isAnimated)}}const L2="focustrap",P2="bs.focustrap",Yo=`.${P2}`,N2=`focusin${Yo}`,M2=`keydown.tab${Yo}`,I2="Tab",O2="forward",Bd="backward",$2={autofocus:!0,trapElement:null},D2={autofocus:"boolean",trapElement:"element"};class Tp extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return $2}static get DefaultType(){return D2}static get NAME(){return L2}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),K.off(document,Yo),K.on(document,N2,e=>this._handleFocusin(e)),K.on(document,M2,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,K.off(document,Yo))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const r=Ee.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===Bd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===I2&&(this._lastTabNavDirection=e.shiftKey?Bd:O2)}}const R2="modal",V2="bs.modal",pn=`.${V2}`,F2=".data-api",q2="Escape",H2=`hide${pn}`,j2=`hidePrevented${pn}`,Cp=`hidden${pn}`,Sp=`show${pn}`,z2=`shown${pn}`,B2=`resize${pn}`,U2=`click.dismiss${pn}`,W2=`mousedown.dismiss${pn}`,Q2=`keydown.dismiss${pn}`,K2=`click${pn}${F2}`,Ud="modal-open",Y2="fade",Wd="show",el="modal-static",G2=".modal.show",Z2=".modal-dialog",X2=".modal-body",J2='[data-bs-toggle="modal"]',eb={backdrop:!0,focus:!0,keyboard:!0},tb={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $i extends mn{constructor(e,n){super(e,n),this._dialog=Ee.findOne(Z2,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Gl,this._addEventListeners()}static get Default(){return eb}static get DefaultType(){return tb}static get NAME(){return R2}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||K.trigger(this._element,Sp,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ud),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||K.trigger(this._element,H2).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wd),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])K.off(e,pn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ep({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Tp({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=Ee.findOne(X2,this._dialog);n&&(n.scrollTop=0),Js(this._element),this._element.classList.add(Wd);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,K.trigger(this._element,z2,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){K.on(this._element,Q2,e=>{if(e.key===q2){if(this._config.keyboard){e.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),K.on(window,B2,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),K.on(this._element,W2,e=>{K.one(this._element,U2,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ud),this._resetAdjustments(),this._scrollBar.reset(),K.trigger(this._element,Cp)})}_isAnimated(){return this._element.classList.contains(Y2)}_triggerBackdropTransition(){if(K.trigger(this._element,j2).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(el)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(el),this._queueCallback(()=>{this._element.classList.remove(el),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!e){const i=tn()?"paddingLeft":"paddingRight";this._element.style[i]=`${n}px`}if(!r&&e){const i=tn()?"paddingRight":"paddingLeft";this._element.style[i]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const r=$i.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](n)}})}}K.on(document,K2,J2,function(t){const e=qn(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),K.one(e,Sp,i=>{i.defaultPrevented||K.one(e,Cp,()=>{Ji(this)&&this.focus()})});const n=Ee.findOne(G2);n&&$i.getInstance(n).hide(),$i.getOrCreateInstance(e).toggle(this)});ga($i);sn($i);const nb="offcanvas",rb="bs.offcanvas",Qn=`.${rb}`,kp=".data-api",ib=`load${Qn}${kp}`,sb="Escape",Qd="show",Kd="showing",Yd="hiding",ob="offcanvas-backdrop",Ap=".offcanvas.show",ab=`show${Qn}`,lb=`shown${Qn}`,cb=`hide${Qn}`,Gd=`hidePrevented${Qn}`,xp=`hidden${Qn}`,ub=`resize${Qn}`,db=`click${Qn}${kp}`,fb=`keydown.dismiss${Qn}`,hb='[data-bs-toggle="offcanvas"]',mb={backdrop:!0,keyboard:!0,scroll:!1},pb={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class fr extends mn{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return mb}static get DefaultType(){return pb}static get NAME(){return nb}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||K.trigger(this._element,ab,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Gl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Kd);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Qd),this._element.classList.remove(Kd),K.trigger(this._element,lb,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||K.trigger(this._element,cb).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Yd),this._backdrop.hide();const n=()=>{this._element.classList.remove(Qd,Yd),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Gl().reset(),K.trigger(this._element,xp)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){K.trigger(this._element,Gd);return}this.hide()},n=Boolean(this._config.backdrop);return new Ep({className:ob,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Tp({trapElement:this._element})}_addEventListeners(){K.on(this._element,fb,e=>{if(e.key===sb){if(!this._config.keyboard){K.trigger(this._element,Gd);return}this.hide()}})}static jQueryInterface(e){return this.each(function(){const n=fr.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}K.on(document,db,hb,function(t){const e=qn(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),dr(this))return;K.one(e,xp,()=>{Ji(this)&&this.focus()});const n=Ee.findOne(Ap);n&&n!==e&&fr.getInstance(n).hide(),fr.getOrCreateInstance(e).toggle(this)});K.on(window,ib,()=>{for(const t of Ee.find(Ap))fr.getOrCreateInstance(t).show()});K.on(window,ub,()=>{for(const t of Ee.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&fr.getOrCreateInstance(t).hide()});ga(fr);sn(fr);const gb=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_b=/^aria-[\w-]*$/i,vb=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,bb=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,yb=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?gb.has(n)?Boolean(vb.test(t.nodeValue)||bb.test(t.nodeValue)):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(n))},Lp={"*":["class","dir","id","lang","role",_b],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function wb(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const i=new window.DOMParser().parseFromString(t,"text/html"),s=[].concat(...i.body.querySelectorAll("*"));for(const o of s){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(e["*"]||[],e[a]||[]);for(const u of l)yb(u,c)||o.removeAttribute(u.nodeName)}return i.body.innerHTML}const Eb="TemplateFactory",Tb={allowList:Lp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Cb={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Sb={entry:"(string|element|function|null)",selector:"(string|element)"};class kb extends eo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Tb}static get DefaultType(){return Cb}static get NAME(){return Eb}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[i,s]of Object.entries(this._config.content))this._setContent(e,s,i);const n=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,r]of Object.entries(e))super._typeCheckConfig({selector:n,entry:r},Sb)}_setContent(e,n,r){const i=Ee.findOne(r,e);if(!!i){if(n=this._resolvePossibleFunction(n),!n){i.remove();return}if(Hn(n)){this._putElementInTemplate(ur(n),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(n);return}i.textContent=n}}_maybeSanitize(e){return this._config.sanitize?wb(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return typeof e=="function"?e(this):e}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const Ab="tooltip",xb=new Set(["sanitize","allowList","sanitizeFn"]),tl="fade",Lb="modal",_o="show",Pb=".tooltip-inner",Zd=`.${Lb}`,Xd="hide.bs.modal",cs="hover",nl="focus",Nb="click",Mb="manual",Ib="hide",Ob="hidden",$b="show",Db="shown",Rb="inserted",Vb="click",Fb="focusin",qb="focusout",Hb="mouseenter",jb="mouseleave",zb={AUTO:"auto",TOP:"top",RIGHT:tn()?"left":"right",BOTTOM:"bottom",LEFT:tn()?"right":"left"},Bb={allowList:Lp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Ub={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class wr extends mn{constructor(e,n){if(typeof tp>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Bb}static get DefaultType(){return Ub}static get NAME(){return Ab}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!!this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),K.off(this._element.closest(Zd),Xd,this._hideModalHandler),this.tip&&this.tip.remove(),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=K.trigger(this._element,this.constructor.eventName($b)),r=(sp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this.tip&&(this.tip.remove(),this.tip=null);const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),K.trigger(this._element,this.constructor.eventName(Rb))),this._popper?this._popper.update():this._popper=this._createPopper(i),i.classList.add(_o),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))K.on(a,"mouseover",Qo);const o=()=>{K.trigger(this._element,this.constructor.eventName(Db)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||K.trigger(this._element,this.constructor.eventName(Ib)).defaultPrevented)return;const n=this._getTipElement();if(n.classList.remove(_o),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))K.off(i,"mouseover",Qo);this._activeTrigger[Nb]=!1,this._activeTrigger[nl]=!1,this._activeTrigger[cs]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||n.remove(),this._element.removeAttribute("aria-describedby"),K.trigger(this._element,this.constructor.eventName(Ob)),this._disposePopper())};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(tl,_o),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=P0(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(tl),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new kb({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Pb]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(tl)}_isShown(){return this.tip&&this.tip.classList.contains(_o)}_createPopper(e){const n=typeof this._config.placement=="function"?this._config.placement.call(this,e,this._element):this._config.placement,r=zb[n.toUpperCase()];return ru(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return typeof e=="function"?e.call(this._element):e}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...typeof this._config.popperConfig=="function"?this._config.popperConfig(n):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")K.on(this._element,this.constructor.eventName(Vb),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==Mb){const r=n===cs?this.constructor.eventName(Hb):this.constructor.eventName(Fb),i=n===cs?this.constructor.eventName(jb):this.constructor.eventName(qb);K.on(this._element,r,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?nl:cs]=!0,o._enter()}),K.on(this._element,i,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?nl:cs]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},K.on(this._element.closest(Zd),Xd,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");!e||(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=jn.getDataAttributes(this._element);for(const r of Object.keys(n))xb.has(r)&&delete n[r];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:ur(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const n in this._config)this.constructor.Default[n]!==this._config[n]&&(e[n]=this._config[n]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const n=wr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(wr);const Wb="popover",Qb=".popover-header",Kb=".popover-body",Yb={...wr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Gb={...wr.DefaultType,content:"(null|string|element|function)"};class au extends wr{static get Default(){return Yb}static get DefaultType(){return Gb}static get NAME(){return Wb}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Qb]:this._getTitle(),[Kb]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=au.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(au);const Zb="scrollspy",Xb="bs.scrollspy",lu=`.${Xb}`,Jb=".data-api",ey=`activate${lu}`,Jd=`click${lu}`,ty=`load${lu}${Jb}`,ny="dropdown-item",ai="active",ry='[data-bs-spy="scroll"]',rl="[href]",iy=".nav, .list-group",ef=".nav-link",sy=".nav-item",oy=".list-group-item",ay=`${ef}, ${sy} > ${ef}, ${oy}`,ly=".dropdown",cy=".dropdown-toggle",uy={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},dy={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ba extends mn{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return uy}static get DefaultType(){return dy}static get NAME(){return Zb}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=ur(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){!this._config.smoothScroll||(K.off(this._config.target,Jd),K.on(this._config.target,Jd,rl,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const r=this._rootElement||window,i=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:i,behavior:"smooth"});return}r.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(r(o),!i)return;continue}!s&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ee.find(rl,this._config.target);for(const n of e){if(!n.hash||dr(n))continue;const r=Ee.findOne(n.hash,this._element);Ji(r)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ai),this._activateParents(e),K.trigger(this._element,ey,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(ny)){Ee.findOne(cy,e.closest(ly)).classList.add(ai);return}for(const n of Ee.parents(e,iy))for(const r of Ee.prev(n,ay))r.classList.add(ai)}_clearActiveClass(e){e.classList.remove(ai);const n=Ee.find(`${rl}.${ai}`,e);for(const r of n)r.classList.remove(ai)}static jQueryInterface(e){return this.each(function(){const n=ba.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}K.on(window,ty,()=>{for(const t of Ee.find(ry))ba.getOrCreateInstance(t)});sn(ba);const fy="tab",hy="bs.tab",Xr=`.${hy}`,my=`hide${Xr}`,py=`hidden${Xr}`,gy=`show${Xr}`,_y=`shown${Xr}`,vy=`click${Xr}`,by=`keydown${Xr}`,yy=`load${Xr}`,wy="ArrowLeft",tf="ArrowRight",Ey="ArrowUp",nf="ArrowDown",Vr="active",rf="fade",il="show",Ty="dropdown",Cy=".dropdown-toggle",Sy=".dropdown-menu",sl=":not(.dropdown-toggle)",ky='.list-group, .nav, [role="tablist"]',Ay=".nav-item, .list-group-item",xy=`.nav-link${sl}, .list-group-item${sl}, [role="tab"]${sl}`,Pp='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ol=`${xy}, ${Pp}`,Ly=`.${Vr}[data-bs-toggle="tab"], .${Vr}[data-bs-toggle="pill"], .${Vr}[data-bs-toggle="list"]`;class Di extends mn{constructor(e){super(e),this._parent=this._element.closest(ky),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),K.on(this._element,by,n=>this._keydown(n)))}static get NAME(){return fy}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),r=n?K.trigger(n,my,{relatedTarget:e}):null;K.trigger(e,gy,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Vr),this._activate(qn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(il);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),K.trigger(e,_y,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(rf))}_deactivate(e,n){if(!e)return;e.classList.remove(Vr),e.blur(),this._deactivate(qn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(il);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),K.trigger(e,py,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(rf))}_keydown(e){if(![wy,tf,Ey,nf].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=[tf,nf].includes(e.key),r=iu(this._getChildren().filter(i=>!dr(i)),e.target,n,!0);r&&(r.focus({preventScroll:!0}),Di.getOrCreateInstance(r).show())}_getChildren(){return Ee.find(ol,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",n),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=qn(e);!n||(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,n){const r=this._getOuterElement(e);if(!r.classList.contains(Ty))return;const i=(s,o)=>{const a=Ee.findOne(s,r);a&&a.classList.toggle(o,n)};i(Cy,Vr),i(Sy,il),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,r){e.hasAttribute(n)||e.setAttribute(n,r)}_elemIsActive(e){return e.classList.contains(Vr)}_getInnerElement(e){return e.matches(ol)?e:Ee.findOne(ol,e)}_getOuterElement(e){return e.closest(Ay)||e}static jQueryInterface(e){return this.each(function(){const n=Di.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}K.on(document,vy,Pp,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!dr(this)&&Di.getOrCreateInstance(this).show()});K.on(window,yy,()=>{for(const t of Ee.find(Ly))Di.getOrCreateInstance(t)});sn(Di);const Py="toast",Ny="bs.toast",Er=`.${Ny}`,My=`mouseover${Er}`,Iy=`mouseout${Er}`,Oy=`focusin${Er}`,$y=`focusout${Er}`,Dy=`hide${Er}`,Ry=`hidden${Er}`,Vy=`show${Er}`,Fy=`shown${Er}`,qy="fade",sf="hide",vo="show",bo="showing",Hy={animation:"boolean",autohide:"boolean",delay:"number"},jy={animation:!0,autohide:!0,delay:5e3};class ya extends mn{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return jy}static get DefaultType(){return Hy}static get NAME(){return Py}show(){if(K.trigger(this._element,Vy).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(qy);const n=()=>{this._element.classList.remove(bo),K.trigger(this._element,Fy),this._maybeScheduleHide()};this._element.classList.remove(sf),Js(this._element),this._element.classList.add(vo,bo),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||K.trigger(this._element,Dy).defaultPrevented)return;const n=()=>{this._element.classList.add(sf),this._element.classList.remove(bo,vo),K.trigger(this._element,Ry)};this._element.classList.add(bo),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vo),super.dispose()}isShown(){return this._element.classList.contains(vo)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){K.on(this._element,My,e=>this._onInteraction(e,!0)),K.on(this._element,Iy,e=>this._onInteraction(e,!1)),K.on(this._element,Oy,e=>this._onInteraction(e,!0)),K.on(this._element,$y,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=ya.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}ga(ya);sn(ya);function zy(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Np={exports:{}};(function(t,e){(function(){function n(){var r=window,i=document;if("scrollBehavior"in i.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var s=r.HTMLElement||r.Element,o=468,a={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:s.prototype.scroll||f,scrollIntoView:s.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(b){var y=["MSIE ","Trident/","Edge/"];return new RegExp(y.join("|")).test(b)}var u=c(r.navigator.userAgent)?1:0;function f(b,y){this.scrollLeft=b,this.scrollTop=y}function d(b){return .5*(1-Math.cos(Math.PI*b))}function h(b){if(b===null||typeof b!="object"||b.behavior===void 0||b.behavior==="auto"||b.behavior==="instant")return!0;if(typeof b=="object"&&b.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+b.behavior+" is not a valid value for enumeration ScrollBehavior.")}function w(b,y){if(y==="Y")return b.clientHeight+u1?1:O,A=d(O),L=b.startX+(b.x-b.startX)*A,M=b.startY+(b.y-b.startY)*A,b.method.call(b.scrollable,L,M),(L!==b.x||M!==b.y)&&r.requestAnimationFrame(T.bind(r,b))}function S(b,y,A){var L,M,O,z,G=l();b===i.body?(L=r,M=r.scrollX||r.pageXOffset,O=r.scrollY||r.pageYOffset,z=a.scroll):(L=b,M=b.scrollLeft,O=b.scrollTop,z=f),T({scrollable:L,method:z,startTime:G,startX:M,startY:O,x:y,y:A})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.scroll.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:r.scrollY||r.pageYOffset);return}S.call(r,i.body,arguments[0].left!==void 0?~~arguments[0].left:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:r.scrollY||r.pageYOffset)}},r.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])){a.scrollBy.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}S.call(r,i.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},s.prototype.scroll=s.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var b=arguments[0].left,y=arguments[0].top;S.call(this,this,typeof b>"u"?this.scrollLeft:~~b,typeof y>"u"?this.scrollTop:~~y)}},s.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},s.prototype.scrollIntoView=function(){if(h(arguments[0])===!0){a.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var b=_(this),y=b.getBoundingClientRect(),A=this.getBoundingClientRect();b!==i.body?(S.call(this,b,b.scrollLeft+A.left-y.left,b.scrollTop+A.top-y.top),r.getComputedStyle(b).position!=="fixed"&&r.scrollBy({left:y.left,top:y.top,behavior:"smooth"})):r.scrollBy({left:A.left,top:A.top,behavior:"smooth"})}}t.exports={polyfill:n}})()})(Np);const By=Np.exports;function cu(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}function Ct(t){if(me(t)){const e={};for(let n=0;n{if(n){const r=n.split(Wy);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Ne(t){let e="";if(We(t))e=t;else if(me(t))for(let n=0;nYr(n,e))}const F=t=>We(t)?t:t==null?"":me(t)||Fe(t)&&(t.toString===$p||!we(t.toString))?JSON.stringify(t,Ip,2):String(t),Ip=(t,e)=>e&&e.__v_isRef?Ip(t,e.value):Ti(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:ts(e)?{[`Set(${e.size})`]:[...e.values()]}:Fe(e)&&!me(e)&&!Dp(e)?String(e):e,qe={},Ei=[],dn=()=>{},Xy=()=>!1,Jy=/^on[^a-z]/,wa=t=>Jy.test(t),du=t=>t.startsWith("onUpdate:"),mt=Object.assign,fu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},e5=Object.prototype.hasOwnProperty,xe=(t,e)=>e5.call(t,e),me=Array.isArray,Ti=t=>ro(t)==="[object Map]",ts=t=>ro(t)==="[object Set]",of=t=>ro(t)==="[object Date]",we=t=>typeof t=="function",We=t=>typeof t=="string",Os=t=>typeof t=="symbol",Fe=t=>t!==null&&typeof t=="object",Op=t=>Fe(t)&&we(t.then)&&we(t.catch),$p=Object.prototype.toString,ro=t=>$p.call(t),t5=t=>ro(t).slice(8,-1),Dp=t=>ro(t)==="[object Object]",hu=t=>We(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Io=cu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ea=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},n5=/-(\w)/g,Ln=Ea(t=>t.replace(n5,(e,n)=>n?n.toUpperCase():"")),r5=/\B([A-Z])/g,ns=Ea(t=>t.replace(r5,"-$1").toLowerCase()),Ta=Ea(t=>t.charAt(0).toUpperCase()+t.slice(1)),al=Ea(t=>t?`on${Ta(t)}`:""),$s=(t,e)=>!Object.is(t,e),Oo=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Ds=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let af;const i5=()=>af||(af=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let bn;class Rp{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=bn,!e&&bn&&(this.index=(bn.scopes||(bn.scopes=[])).push(this)-1)}run(e){if(this.active){const n=bn;try{return bn=this,e()}finally{bn=n}}}on(){bn=this}off(){bn=this.parent}stop(e){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},Vp=t=>(t.w&hr)>0,Fp=t=>(t.n&hr)>0,a5=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":me(t)?hu(n)&&a.push(o.get("length")):(a.push(o.get(jr)),Ti(t)&&a.push(o.get(Jl)));break;case"delete":me(t)||(a.push(o.get(jr)),Ti(t)&&a.push(o.get(Jl)));break;case"set":Ti(t)&&a.push(o.get(jr));break}if(a.length===1)a[0]&&ec(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);ec(mu(l))}}function ec(t,e){const n=me(t)?t:[...t];for(const r of n)r.computed&&cf(r);for(const r of n)r.computed||cf(r)}function cf(t,e){(t!==ln||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const c5=cu("__proto__,__v_isRef,__isVue"),jp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Os)),u5=gu(),d5=gu(!1,!0),f5=gu(!0),uf=h5();function h5(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Me(this);for(let s=0,o=this.length;s{t[e]=function(...n){rs();const r=Me(this)[e].apply(this,n);return is(),r}}),t}function gu(t=!1,e=!1){return function(r,i,s){if(i==="__v_isReactive")return!t;if(i==="__v_isReadonly")return t;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&s===(t?e?L5:Qp:e?Wp:Up).get(r))return r;const o=me(r);if(!t&&o&&xe(uf,i))return Reflect.get(uf,i,s);const a=Reflect.get(r,i,s);return(Os(i)?jp.has(i):c5(i))||(t||qt(r,"get",i),e)?a:lt(a)?o&&hu(i)?a:a.value:Fe(a)?t?Kp(a):Jr(a):a}}const m5=zp(),p5=zp(!0);function zp(t=!1){return function(n,r,i,s){let o=n[r];if(Ri(o)&<(o)&&!lt(i))return!1;if(!t&&(!Zo(i)&&!Ri(i)&&(o=Me(o),i=Me(i)),!me(n)&<(o)&&!lt(i)))return o.value=i,!0;const a=me(n)&&hu(r)?Number(r)t,Ca=t=>Reflect.getPrototypeOf(t);function yo(t,e,n=!1,r=!1){t=t.__v_raw;const i=Me(t),s=Me(e);n||(e!==s&&qt(i,"get",e),qt(i,"get",s));const{has:o}=Ca(i),a=r?_u:n?Eu:Rs;if(o.call(i,e))return a(t.get(e));if(o.call(i,s))return a(t.get(s));t!==i&&t.get(e)}function wo(t,e=!1){const n=this.__v_raw,r=Me(n),i=Me(t);return e||(t!==i&&qt(r,"has",t),qt(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function Eo(t,e=!1){return t=t.__v_raw,!e&&qt(Me(t),"iterate",jr),Reflect.get(t,"size",t)}function df(t){t=Me(t);const e=Me(this);return Ca(e).has.call(e,t)||(e.add(t),Bn(e,"add",t,t)),this}function ff(t,e){e=Me(e);const n=Me(this),{has:r,get:i}=Ca(n);let s=r.call(n,t);s||(t=Me(t),s=r.call(n,t));const o=i.call(n,t);return n.set(t,e),s?$s(e,o)&&Bn(n,"set",t,e):Bn(n,"add",t,e),this}function hf(t){const e=Me(this),{has:n,get:r}=Ca(e);let i=n.call(e,t);i||(t=Me(t),i=n.call(e,t)),r&&r.call(e,t);const s=e.delete(t);return i&&Bn(e,"delete",t,void 0),s}function mf(){const t=Me(this),e=t.size!==0,n=t.clear();return e&&Bn(t,"clear",void 0,void 0),n}function To(t,e){return function(r,i){const s=this,o=s.__v_raw,a=Me(o),l=e?_u:t?Eu:Rs;return!t&&qt(a,"iterate",jr),o.forEach((c,u)=>r.call(i,l(c),l(u),s))}}function Co(t,e,n){return function(...r){const i=this.__v_raw,s=Me(i),o=Ti(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...r),u=n?_u:e?Eu:Rs;return!e&&qt(s,"iterate",l?Jl:jr),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Gn(t){return function(...e){return t==="delete"?!1:this}}function w5(){const t={get(s){return yo(this,s)},get size(){return Eo(this)},has:wo,add:df,set:ff,delete:hf,clear:mf,forEach:To(!1,!1)},e={get(s){return yo(this,s,!1,!0)},get size(){return Eo(this)},has:wo,add:df,set:ff,delete:hf,clear:mf,forEach:To(!1,!0)},n={get(s){return yo(this,s,!0)},get size(){return Eo(this,!0)},has(s){return wo.call(this,s,!0)},add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear"),forEach:To(!0,!1)},r={get(s){return yo(this,s,!0,!0)},get size(){return Eo(this,!0)},has(s){return wo.call(this,s,!0)},add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear"),forEach:To(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Co(s,!1,!1),n[s]=Co(s,!0,!1),e[s]=Co(s,!1,!0),r[s]=Co(s,!0,!0)}),[t,n,e,r]}const[E5,T5,C5,S5]=w5();function vu(t,e){const n=e?t?S5:C5:t?T5:E5;return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(xe(n,i)&&i in r?n:r,i,s)}const k5={get:vu(!1,!1)},A5={get:vu(!1,!0)},x5={get:vu(!0,!1)},Up=new WeakMap,Wp=new WeakMap,Qp=new WeakMap,L5=new WeakMap;function P5(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function N5(t){return t.__v_skip||!Object.isExtensible(t)?0:P5(t5(t))}function Jr(t){return Ri(t)?t:bu(t,!1,Bp,k5,Up)}function M5(t){return bu(t,!1,y5,A5,Wp)}function Kp(t){return bu(t,!0,b5,x5,Qp)}function bu(t,e,n,r,i){if(!Fe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const o=N5(t);if(o===0)return t;const a=new Proxy(t,o===2?r:n);return i.set(t,a),a}function Ci(t){return Ri(t)?Ci(t.__v_raw):!!(t&&t.__v_isReactive)}function Ri(t){return!!(t&&t.__v_isReadonly)}function Zo(t){return!!(t&&t.__v_isShallow)}function yu(t){return Ci(t)||Ri(t)}function Me(t){const e=t&&t.__v_raw;return e?Me(e):t}function wu(t){return Go(t,"__v_skip",!0),t}const Rs=t=>Fe(t)?Jr(t):t,Eu=t=>Fe(t)?Kp(t):t;function Yp(t){sr&&ln&&(t=Me(t),Hp(t.dep||(t.dep=mu())))}function Gp(t,e){t=Me(t),t.dep&&ec(t.dep)}function lt(t){return!!(t&&t.__v_isRef===!0)}function cn(t){return Xp(t,!1)}function Zp(t){return Xp(t,!0)}function Xp(t,e){return lt(t)?t:new I5(t,e)}class I5{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Me(e),this._value=n?e:Rs(e)}get value(){return Yp(this),this._value}set value(e){const n=this.__v_isShallow||Zo(e)||Ri(e);e=n?e:Me(e),$s(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Rs(e),Gp(this))}}function Si(t){return lt(t)?t.value:t}const O5={get:(t,e,n)=>Si(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return lt(i)&&!lt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Jp(t){return Ci(t)?t:new Proxy(t,O5)}var eg;class $5{constructor(e,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[eg]=!1,this._dirty=!0,this.effect=new pu(e,()=>{this._dirty||(this._dirty=!0,Gp(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const e=Me(this);return Yp(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}eg="__v_isReadonly";function D5(t,e,n=!1){let r,i;const s=we(t);return s?(r=t,i=dn):(r=t.get,i=t.set),new $5(r,i,s||!i,n)}function or(t,e,n,r){let i;try{i=r?t(...r):t()}catch(s){Sa(s,e,n)}return i}function Jt(t,e,n,r){if(we(t)){const s=or(t,e,n,r);return s&&Op(s)&&s.catch(o=>{Sa(o,e,n)}),s}const i=[];for(let s=0;s>>1;Fs(dt[r])En&&dt.splice(e,1)}function q5(t){me(t)?ki.push(...t):(!On||!On.includes(t,t.allowRecurse?Or+1:Or))&&ki.push(t),rg()}function pf(t,e=Vs?En+1:0){for(;eFs(n)-Fs(r)),Or=0;Ort.id==null?1/0:t.id,H5=(t,e)=>{const n=Fs(t)-Fs(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function sg(t){tc=!1,Vs=!0,dt.sort(H5);const e=dn;try{for(En=0;EnWe(h)?h.trim():h)),f&&(i=n.map(Ds))}let a,l=r[a=al(e)]||r[a=al(Ln(e))];!l&&s&&(l=r[a=al(ns(e))]),l&&Jt(l,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Jt(c,t,6,i)}}function og(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!we(t)){const l=c=>{const u=og(c,e,!0);u&&(a=!0,mt(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(Fe(t)&&r.set(t,null),null):(me(s)?s.forEach(l=>o[l]=null):mt(o,s),Fe(t)&&r.set(t,o),o)}function ka(t,e){return!t||!wa(e)?!1:(e=e.slice(2).replace(/Once$/,""),xe(t,e[0].toLowerCase()+e.slice(1))||xe(t,ns(e))||xe(t,e))}let ct=null,Aa=null;function Xo(t){const e=ct;return ct=t,Aa=t&&t.type.__scopeId||null,e}function bt(t){Aa=t}function yt(){Aa=null}function Je(t,e=ct,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&kf(-1);const s=Xo(e);let o;try{o=t(...i)}finally{Xo(s),r._d&&kf(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function ll(t){const{type:e,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:w,inheritAttrs:g}=t;let E,_;const T=Xo(t);try{if(n.shapeFlag&4){const b=i||r;E=yn(u.call(b,b,f,s,h,d,w)),_=l}else{const b=e;E=yn(b.length>1?b(s,{attrs:l,slots:a,emit:c}):b(s,null)),_=e.props?l:z5(l)}}catch(b){Es.length=0,Sa(b,t,1),E=ne(Dt)}let S=E;if(_&&g!==!1){const b=Object.keys(_),{shapeFlag:y}=S;b.length&&y&7&&(o&&b.some(du)&&(_=B5(_,o)),S=mr(S,_))}return n.dirs&&(S=mr(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),E=S,Xo(T),E}const z5=t=>{let e;for(const n in t)(n==="class"||n==="style"||wa(n))&&((e||(e={}))[n]=t[n]);return e},B5=(t,e)=>{const n={};for(const r in t)(!du(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function U5(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?gf(r,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function K5(t,e){e&&e.pendingBranch?me(t)?e.effects.push(...t):e.effects.push(t):q5(t)}function $o(t,e){if(rt){let n=rt.provides;const r=rt.parent&&rt.parent.provides;r===n&&(n=rt.provides=Object.create(r)),n[t]=e}}function kn(t,e,n=!1){const r=rt||ct;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&we(e)?e.call(r.proxy):e}}const So={};function ar(t,e,n){return ag(t,e,n)}function ag(t,e,{immediate:n,deep:r,flush:i,onTrack:s,onTrigger:o}=qe){const a=rt;let l,c=!1,u=!1;if(lt(t)?(l=()=>t.value,c=Zo(t)):Ci(t)?(l=()=>t,r=!0):me(t)?(u=!0,c=t.some(S=>Ci(S)||Zo(S)),l=()=>t.map(S=>{if(lt(S))return S.value;if(Ci(S))return Fr(S);if(we(S))return or(S,a,2)})):we(t)?e?l=()=>or(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Jt(t,a,3,[d])}:l=dn,e&&r){const S=l;l=()=>Fr(S())}let f,d=S=>{f=_.onStop=()=>{or(S,a,4)}},h;if(Hs)if(d=dn,e?n&&Jt(e,a,3,[l(),u?[]:void 0,d]):l(),i==="sync"){const S=Fw();h=S.__watcherHandles||(S.__watcherHandles=[])}else return dn;let w=u?new Array(t.length).fill(So):So;const g=()=>{if(!!_.active)if(e){const S=_.run();(r||c||(u?S.some((b,y)=>$s(b,w[y])):$s(S,w)))&&(f&&f(),Jt(e,a,3,[S,w===So?void 0:u&&w[0]===So?[]:w,d]),w=S)}else _.run()};g.allowRecurse=!!e;let E;i==="sync"?E=g:i==="post"?E=()=>Et(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),E=()=>Cu(g));const _=new pu(l,E);e?n?g():w=_.run():i==="post"?Et(_.run.bind(_),a&&a.suspense):_.run();const T=()=>{_.stop(),a&&a.scope&&fu(a.scope.effects,_)};return h&&h.push(T),T}function Y5(t,e,n){const r=this.proxy,i=We(t)?t.includes(".")?lg(r,t):()=>r[t]:t.bind(r,r);let s;we(e)?s=e:(s=e.handler,n=e);const o=rt;Vi(this);const a=ag(i,s.bind(r),n);return o?Vi(o):zr(),a}function lg(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i{Fr(n,e)});else if(Dp(t))for(const n in t)Fr(t[n],e);return t}function G5(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ku(()=>{t.isMounted=!0}),hg(()=>{t.isUnmounting=!0}),t}const Bt=[Function,Array],Z5={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Bt,onEnter:Bt,onAfterEnter:Bt,onEnterCancelled:Bt,onBeforeLeave:Bt,onLeave:Bt,onAfterLeave:Bt,onLeaveCancelled:Bt,onBeforeAppear:Bt,onAppear:Bt,onAfterAppear:Bt,onAppearCancelled:Bt},setup(t,{slots:e}){const n=Pn(),r=G5();let i;return()=>{const s=e.default&&ug(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const g of s)if(g.type!==Dt){o=g;break}}const a=Me(t),{mode:l}=a;if(r.isLeaving)return cl(o);const c=_f(o);if(!c)return cl(o);const u=nc(c,a,r,n);rc(c,u);const f=n.subTree,d=f&&_f(f);let h=!1;const{getTransitionKey:w}=c.type;if(w){const g=w();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(d&&d.type!==Dt&&(!$r(c,d)||h)){const g=nc(d,a,r,n);if(rc(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},cl(o);l==="in-out"&&c.type!==Dt&&(g.delayLeave=(E,_,T)=>{const S=cg(r,d);S[String(d.key)]=d,E._leaveCb=()=>{_(),E._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=T})}return o}}},X5=Z5;function cg(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function nc(t,e,n,r){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:w,onBeforeAppear:g,onAppear:E,onAfterAppear:_,onAppearCancelled:T}=e,S=String(t.key),b=cg(n,t),y=(M,O)=>{M&&Jt(M,r,9,O)},A=(M,O)=>{const z=O[1];y(M,O),me(M)?M.every(G=>G.length<=1)&&z():M.length<=1&&z()},L={mode:s,persisted:o,beforeEnter(M){let O=a;if(!n.isMounted)if(i)O=g||a;else return;M._leaveCb&&M._leaveCb(!0);const z=b[S];z&&$r(t,z)&&z.el._leaveCb&&z.el._leaveCb(),y(O,[M])},enter(M){let O=l,z=c,G=u;if(!n.isMounted)if(i)O=E||l,z=_||c,G=T||u;else return;let J=!1;const re=M._enterCb=$=>{J||(J=!0,$?y(G,[M]):y(z,[M]),L.delayedLeave&&L.delayedLeave(),M._enterCb=void 0)};O?A(O,[M,re]):re()},leave(M,O){const z=String(t.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return O();y(f,[M]);let G=!1;const J=M._leaveCb=re=>{G||(G=!0,O(),re?y(w,[M]):y(h,[M]),M._leaveCb=void 0,b[z]===t&&delete b[z])};b[z]=t,d?A(d,[M,J]):J()},clone(M){return nc(M,e,n,r)}};return L}function cl(t){if(xa(t))return t=mr(t),t.children=null,t}function _f(t){return xa(t)?t.children?t.children[0]:void 0:t}function rc(t,e){t.shapeFlag&6&&t.component?rc(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 ug(t,e=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,xa=t=>t.type.__isKeepAlive;function J5(t,e){dg(t,"a",e)}function ew(t,e){dg(t,"da",e)}function dg(t,e,n=rt){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(La(e,r,n),n){let i=n.parent;for(;i&&i.parent;)xa(i.parent.vnode)&&tw(r,e,n,i),i=i.parent}}function tw(t,e,n,r){const i=La(e,t,r,!0);Pa(()=>{fu(r[e],i)},n)}function La(t,e,n=rt,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;rs(),Vi(n);const a=Jt(e,n,t,o);return zr(),is(),a});return r?i.unshift(s):i.push(s),s}}const Kn=t=>(e,n=rt)=>(!Hs||t==="sp")&&La(t,(...r)=>e(...r),n),fg=Kn("bm"),ku=Kn("m"),nw=Kn("bu"),rw=Kn("u"),hg=Kn("bum"),Pa=Kn("um"),iw=Kn("sp"),sw=Kn("rtg"),ow=Kn("rtc");function aw(t,e=rt){La("ec",t,e)}function Kt(t,e){const n=ct;if(n===null)return t;const r=Ma(n)||n.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,s&&s[a]));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;aea(e)?!(e.type===Dt||e.type===Ae&&!gg(e.children)):!0)?t:null}const ic=t=>t?Ag(t)?Ma(t)||t.proxy:ic(t.parent):null,ys=mt(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=>ic(t.parent),$root:t=>ic(t.root),$emit:t=>t.emit,$options:t=>Lu(t),$forceUpdate:t=>t.f||(t.f=()=>Cu(t.update)),$nextTick:t=>t.n||(t.n=ng.bind(t.proxy)),$watch:t=>Y5.bind(t)}),ul=(t,e)=>t!==qe&&!t.__isScriptSetup&&xe(t,e),lw={get({_:t},e){const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(ul(r,e))return o[e]=1,r[e];if(i!==qe&&xe(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&xe(c,e))return o[e]=3,s[e];if(n!==qe&&xe(n,e))return o[e]=4,n[e];sc&&(o[e]=0)}}const u=ys[e];let f,d;if(u)return e==="$attrs"&&qt(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==qe&&xe(n,e))return o[e]=4,n[e];if(d=l.config.globalProperties,xe(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return ul(i,e)?(i[e]=n,!0):r!==qe&&xe(r,e)?(r[e]=n,!0):xe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||t!==qe&&xe(t,o)||ul(e,o)||(a=s[0])&&xe(a,o)||xe(r,o)||xe(ys,o)||xe(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:xe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let sc=!0;function cw(t){const e=Lu(t),n=t.proxy,r=t.ctx;sc=!1,e.beforeCreate&&bf(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:w,activated:g,deactivated:E,beforeDestroy:_,beforeUnmount:T,destroyed:S,unmounted:b,render:y,renderTracked:A,renderTriggered:L,errorCaptured:M,serverPrefetch:O,expose:z,inheritAttrs:G,components:J,directives:re,filters:$}=e;if(c&&uw(c,r,null,t.appContext.config.unwrapInjectedRef),o)for(const U in o){const X=o[U];we(X)&&(r[U]=X.bind(n))}if(i){const U=i.call(n,n);Fe(U)&&(t.data=Jr(U))}if(sc=!0,s)for(const U in s){const X=s[U],oe=we(X)?X.bind(n,n):we(X.get)?X.get.bind(n,n):dn,ue=!we(X)&&we(X.set)?X.set.bind(n):dn,ce=je({get:oe,set:ue});Object.defineProperty(r,U,{enumerable:!0,configurable:!0,get:()=>ce.value,set:de=>ce.value=de})}if(a)for(const U in a)_g(a[U],r,n,U);if(l){const U=we(l)?l.call(n):l;Reflect.ownKeys(U).forEach(X=>{$o(X,U[X])})}u&&bf(u,t,"c");function Q(U,X){me(X)?X.forEach(oe=>U(oe.bind(n))):X&&U(X.bind(n))}if(Q(fg,f),Q(ku,d),Q(nw,h),Q(rw,w),Q(J5,g),Q(ew,E),Q(aw,M),Q(ow,A),Q(sw,L),Q(hg,T),Q(Pa,b),Q(iw,O),me(z))if(z.length){const U=t.exposed||(t.exposed={});z.forEach(X=>{Object.defineProperty(U,X,{get:()=>n[X],set:oe=>n[X]=oe})})}else t.exposed||(t.exposed={});y&&t.render===dn&&(t.render=y),G!=null&&(t.inheritAttrs=G),J&&(t.components=J),re&&(t.directives=re)}function uw(t,e,n=dn,r=!1){me(t)&&(t=oc(t));for(const i in t){const s=t[i];let o;Fe(s)?"default"in s?o=kn(s.from||i,s.default,!0):o=kn(s.from||i):o=kn(s),lt(o)&&r?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[i]=o}}function bf(t,e,n){Jt(me(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function _g(t,e,n,r){const i=r.includes(".")?lg(n,r):()=>n[r];if(We(t)){const s=e[t];we(s)&&ar(i,s)}else if(we(t))ar(i,t.bind(n));else if(Fe(t))if(me(t))t.forEach(s=>_g(s,e,n,r));else{const s=we(t.handler)?t.handler.bind(n):e[t.handler];we(s)&&ar(i,s,t)}}function Lu(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(c=>Jo(l,c,o,!0)),Jo(l,e,o)),Fe(e)&&s.set(e,l),l}function Jo(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Jo(t,s,n,!0),i&&i.forEach(o=>Jo(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=dw[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const dw={data:yf,props:Mr,emits:Mr,methods:Mr,computed:Mr,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:Mr,directives:Mr,watch:hw,provide:yf,inject:fw};function yf(t,e){return e?t?function(){return mt(we(t)?t.call(this,this):t,we(e)?e.call(this,this):e)}:e:t}function fw(t,e){return Mr(oc(t),oc(e))}function oc(t){if(me(t)){const e={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=bg(f,e,!0);mt(o,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return Fe(t)&&r.set(t,Ei),Ei;if(me(s))for(let u=0;u-1,h[1]=g<0||w-1||xe(h,"default"))&&a.push(f)}}}const c=[o,a];return Fe(t)&&r.set(t,c),c}function wf(t){return t[0]!=="$"}function Ef(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function Tf(t,e){return Ef(t)===Ef(e)}function Cf(t,e){return me(e)?e.findIndex(n=>Tf(n,t)):we(e)&&Tf(e,t)?0:-1}const yg=t=>t[0]==="_"||t==="$stable",Pu=t=>me(t)?t.map(yn):[yn(t)],gw=(t,e,n)=>{if(e._n)return e;const r=Je((...i)=>Pu(e(...i)),n);return r._c=!1,r},wg=(t,e,n)=>{const r=t._ctx;for(const i in t){if(yg(i))continue;const s=t[i];if(we(s))e[i]=gw(i,s,r);else if(s!=null){const o=Pu(s);e[i]=()=>o}}},Eg=(t,e)=>{const n=Pu(e);t.slots.default=()=>n},_w=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Me(e),Go(e,"_",n)):wg(e,t.slots={})}else t.slots={},e&&Eg(t,e);Go(t.slots,Na,1)},vw=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=qe;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:(mt(i,e),!n&&a===1&&delete i._):(s=!e.$stable,wg(e,i)),o=e}else e&&(Eg(t,e),o={default:1});if(s)for(const a in i)!yg(a)&&!(a in o)&&delete i[a]};function Tg(){return{app:null,config:{isNativeTag:Xy,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 bw=0;function yw(t,e){return function(r,i=null){we(r)||(r=Object.assign({},r)),i!=null&&!Fe(i)&&(i=null);const s=Tg(),o=new Set;let a=!1;const l=s.app={_uid:bw++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:qw,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&we(c.install)?(o.add(c),c.install(l,...u)):we(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=ne(r,i);return d.appContext=s,u&&e?e(d,c):t(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Ma(d.component)||d.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function lc(t,e,n,r,i=!1){if(me(t)){t.forEach((d,h)=>lc(d,e&&(me(e)?e[h]:e),n,r,i));return}if(bs(r)&&!i)return;const s=r.shapeFlag&4?Ma(r.component)||r.component.proxy:r.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===qe?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(We(c)?(u[c]=null,xe(f,c)&&(f[c]=null)):lt(c)&&(c.value=null)),we(l))or(l,a,12,[o,u]);else{const d=We(l),h=lt(l);if(d||h){const w=()=>{if(t.f){const g=d?xe(f,l)?f[l]:u[l]:l.value;i?me(g)&&fu(g,s):me(g)?g.includes(s)||g.push(s):d?(u[l]=[s],xe(f,l)&&(f[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else d?(u[l]=o,xe(f,l)&&(f[l]=o)):h&&(l.value=o,t.k&&(u[t.k]=o))};o?(w.id=-1,Et(w,n)):w()}}}const Et=K5;function ww(t){return Ew(t)}function Ew(t,e){const n=i5();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=dn,insertStaticContent:w}=t,g=(C,m,p,k=null,N=null,q=null,B=!1,W=null,Y=!!m.dynamicChildren)=>{if(C===m)return;C&&!$r(C,m)&&(k=j(C),de(C,N,q,!0),C=null),m.patchFlag===-2&&(Y=!1,m.dynamicChildren=null);const{type:H,ref:I,shapeFlag:D}=m;switch(H){case oo:E(C,m,p,k);break;case Dt:_(C,m,p,k);break;case dl:C==null&&T(m,p,k,B);break;case Ae:J(C,m,p,k,N,q,B,W,Y);break;default:D&1?y(C,m,p,k,N,q,B,W,Y):D&6?re(C,m,p,k,N,q,B,W,Y):(D&64||D&128)&&H.process(C,m,p,k,N,q,B,W,Y,pe)}I!=null&&N&&lc(I,C&&C.ref,q,m||C,!m)},E=(C,m,p,k)=>{if(C==null)r(m.el=a(m.children),p,k);else{const N=m.el=C.el;m.children!==C.children&&c(N,m.children)}},_=(C,m,p,k)=>{C==null?r(m.el=l(m.children||""),p,k):m.el=C.el},T=(C,m,p,k)=>{[C.el,C.anchor]=w(C.children,m,p,k,C.el,C.anchor)},S=({el:C,anchor:m},p,k)=>{let N;for(;C&&C!==m;)N=d(C),r(C,p,k),C=N;r(m,p,k)},b=({el:C,anchor:m})=>{let p;for(;C&&C!==m;)p=d(C),i(C),C=p;i(m)},y=(C,m,p,k,N,q,B,W,Y)=>{B=B||m.type==="svg",C==null?A(m,p,k,N,q,B,W,Y):O(C,m,N,q,B,W,Y)},A=(C,m,p,k,N,q,B,W)=>{let Y,H;const{type:I,props:D,shapeFlag:ie,transition:se,dirs:_e}=C;if(Y=C.el=o(C.type,q,D&&D.is,D),ie&8?u(Y,C.children):ie&16&&M(C.children,Y,null,k,N,q&&I!=="foreignObject",B,W),_e&&xr(C,null,k,"created"),D){for(const Te in D)Te!=="value"&&!Io(Te)&&s(Y,Te,null,D[Te],q,C.children,k,N,Z);"value"in D&&s(Y,"value",null,D.value),(H=D.onVnodeBeforeMount)&&_n(H,k,C)}L(Y,C,C.scopeId,B,k),_e&&xr(C,null,k,"beforeMount");const ke=(!N||N&&!N.pendingBranch)&&se&&!se.persisted;ke&&se.beforeEnter(Y),r(Y,m,p),((H=D&&D.onVnodeMounted)||ke||_e)&&Et(()=>{H&&_n(H,k,C),ke&&se.enter(Y),_e&&xr(C,null,k,"mounted")},N)},L=(C,m,p,k,N)=>{if(p&&h(C,p),k)for(let q=0;q{for(let H=Y;H{const W=m.el=C.el;let{patchFlag:Y,dynamicChildren:H,dirs:I}=m;Y|=C.patchFlag&16;const D=C.props||qe,ie=m.props||qe;let se;p&&Lr(p,!1),(se=ie.onVnodeBeforeUpdate)&&_n(se,p,m,C),I&&xr(m,C,p,"beforeUpdate"),p&&Lr(p,!0);const _e=N&&m.type!=="foreignObject";if(H?z(C.dynamicChildren,H,W,p,k,_e,q):B||X(C,m,W,null,p,k,_e,q,!1),Y>0){if(Y&16)G(W,m,D,ie,p,k,N);else if(Y&2&&D.class!==ie.class&&s(W,"class",null,ie.class,N),Y&4&&s(W,"style",D.style,ie.style,N),Y&8){const ke=m.dynamicProps;for(let Te=0;Te{se&&_n(se,p,m,C),I&&xr(m,C,p,"updated")},k)},z=(C,m,p,k,N,q,B)=>{for(let W=0;W{if(p!==k){if(p!==qe)for(const W in p)!Io(W)&&!(W in k)&&s(C,W,p[W],null,B,m.children,N,q,Z);for(const W in k){if(Io(W))continue;const Y=k[W],H=p[W];Y!==H&&W!=="value"&&s(C,W,H,Y,B,m.children,N,q,Z)}"value"in k&&s(C,"value",p.value,k.value)}},J=(C,m,p,k,N,q,B,W,Y)=>{const H=m.el=C?C.el:a(""),I=m.anchor=C?C.anchor:a("");let{patchFlag:D,dynamicChildren:ie,slotScopeIds:se}=m;se&&(W=W?W.concat(se):se),C==null?(r(H,p,k),r(I,p,k),M(m.children,p,I,N,q,B,W,Y)):D>0&&D&64&&ie&&C.dynamicChildren?(z(C.dynamicChildren,ie,p,N,q,B,W),(m.key!=null||N&&m===N.subTree)&&Nu(C,m,!0)):X(C,m,p,I,N,q,B,W,Y)},re=(C,m,p,k,N,q,B,W,Y)=>{m.slotScopeIds=W,C==null?m.shapeFlag&512?N.ctx.activate(m,p,k,B,Y):$(m,p,k,N,q,B,Y):P(C,m,Y)},$=(C,m,p,k,N,q,B)=>{const W=C.component=Nw(C,k,N);if(xa(C)&&(W.ctx.renderer=pe),Mw(W),W.asyncDep){if(N&&N.registerDep(W,Q),!C.el){const Y=W.subTree=ne(Dt);_(null,Y,m,p)}return}Q(W,C,m,p,N,q,B)},P=(C,m,p)=>{const k=m.component=C.component;if(U5(C,m,p))if(k.asyncDep&&!k.asyncResolved){U(k,m,p);return}else k.next=m,F5(k.update),k.update();else m.el=C.el,k.vnode=m},Q=(C,m,p,k,N,q,B)=>{const W=()=>{if(C.isMounted){let{next:I,bu:D,u:ie,parent:se,vnode:_e}=C,ke=I,Te;Lr(C,!1),I?(I.el=_e.el,U(C,I,B)):I=_e,D&&Oo(D),(Te=I.props&&I.props.onVnodeBeforeUpdate)&&_n(Te,se,I,_e),Lr(C,!0);const Be=ll(C),zt=C.subTree;C.subTree=Be,g(zt,Be,f(zt.el),j(zt),C,N,q),I.el=Be.el,ke===null&&W5(C,Be.el),ie&&Et(ie,N),(Te=I.props&&I.props.onVnodeUpdated)&&Et(()=>_n(Te,se,I,_e),N)}else{let I;const{el:D,props:ie}=m,{bm:se,m:_e,parent:ke}=C,Te=bs(m);if(Lr(C,!1),se&&Oo(se),!Te&&(I=ie&&ie.onVnodeBeforeMount)&&_n(I,ke,m),Lr(C,!0),D&&fe){const Be=()=>{C.subTree=ll(C),fe(D,C.subTree,C,N,null)};Te?m.type.__asyncLoader().then(()=>!C.isUnmounted&&Be()):Be()}else{const Be=C.subTree=ll(C);g(null,Be,p,k,C,N,q),m.el=Be.el}if(_e&&Et(_e,N),!Te&&(I=ie&&ie.onVnodeMounted)){const Be=m;Et(()=>_n(I,ke,Be),N)}(m.shapeFlag&256||ke&&bs(ke.vnode)&&ke.vnode.shapeFlag&256)&&C.a&&Et(C.a,N),C.isMounted=!0,m=p=k=null}},Y=C.effect=new pu(W,()=>Cu(H),C.scope),H=C.update=()=>Y.run();H.id=C.uid,Lr(C,!0),H()},U=(C,m,p)=>{m.component=C;const k=C.vnode.props;C.vnode=m,C.next=null,pw(C,m.props,k,p),vw(C,m.children,p),rs(),pf(),is()},X=(C,m,p,k,N,q,B,W,Y=!1)=>{const H=C&&C.children,I=C?C.shapeFlag:0,D=m.children,{patchFlag:ie,shapeFlag:se}=m;if(ie>0){if(ie&128){ue(H,D,p,k,N,q,B,W,Y);return}else if(ie&256){oe(H,D,p,k,N,q,B,W,Y);return}}se&8?(I&16&&Z(H,N,q),D!==H&&u(p,D)):I&16?se&16?ue(H,D,p,k,N,q,B,W,Y):Z(H,N,q,!0):(I&8&&u(p,""),se&16&&M(D,p,k,N,q,B,W,Y))},oe=(C,m,p,k,N,q,B,W,Y)=>{C=C||Ei,m=m||Ei;const H=C.length,I=m.length,D=Math.min(H,I);let ie;for(ie=0;ieI?Z(C,N,q,!0,!1,D):M(m,p,k,N,q,B,W,Y,D)},ue=(C,m,p,k,N,q,B,W,Y)=>{let H=0;const I=m.length;let D=C.length-1,ie=I-1;for(;H<=D&&H<=ie;){const se=C[H],_e=m[H]=Y?Jn(m[H]):yn(m[H]);if($r(se,_e))g(se,_e,p,null,N,q,B,W,Y);else break;H++}for(;H<=D&&H<=ie;){const se=C[D],_e=m[ie]=Y?Jn(m[ie]):yn(m[ie]);if($r(se,_e))g(se,_e,p,null,N,q,B,W,Y);else break;D--,ie--}if(H>D){if(H<=ie){const se=ie+1,_e=seie)for(;H<=D;)de(C[H],N,q,!0),H++;else{const se=H,_e=H,ke=new Map;for(H=_e;H<=ie;H++){const Nt=m[H]=Y?Jn(m[H]):yn(m[H]);Nt.key!=null&&ke.set(Nt.key,H)}let Te,Be=0;const zt=ie-_e+1;let si=!1,wd=0;const as=new Array(zt);for(H=0;H=zt){de(Nt,N,q,!0);continue}let gn;if(Nt.key!=null)gn=ke.get(Nt.key);else for(Te=_e;Te<=ie;Te++)if(as[Te-_e]===0&&$r(Nt,m[Te])){gn=Te;break}gn===void 0?de(Nt,N,q,!0):(as[gn-_e]=H+1,gn>=wd?wd=gn:si=!0,g(Nt,m[gn],p,null,N,q,B,W,Y),Be++)}const Ed=si?Tw(as):Ei;for(Te=Ed.length-1,H=zt-1;H>=0;H--){const Nt=_e+H,gn=m[Nt],Td=Nt+1{const{el:q,type:B,transition:W,children:Y,shapeFlag:H}=C;if(H&6){ce(C.component.subTree,m,p,k);return}if(H&128){C.suspense.move(m,p,k);return}if(H&64){B.move(C,m,p,pe);return}if(B===Ae){r(q,m,p);for(let D=0;DW.enter(q),N);else{const{leave:D,delayLeave:ie,afterLeave:se}=W,_e=()=>r(q,m,p),ke=()=>{D(q,()=>{_e(),se&&se()})};ie?ie(q,_e,ke):ke()}else r(q,m,p)},de=(C,m,p,k=!1,N=!1)=>{const{type:q,props:B,ref:W,children:Y,dynamicChildren:H,shapeFlag:I,patchFlag:D,dirs:ie}=C;if(W!=null&&lc(W,null,p,C,!0),I&256){m.ctx.deactivate(C);return}const se=I&1&&ie,_e=!bs(C);let ke;if(_e&&(ke=B&&B.onVnodeBeforeUnmount)&&_n(ke,m,C),I&6)V(C.component,p,k);else{if(I&128){C.suspense.unmount(p,k);return}se&&xr(C,null,m,"beforeUnmount"),I&64?C.type.remove(C,m,p,N,pe,k):H&&(q!==Ae||D>0&&D&64)?Z(H,m,p,!1,!0):(q===Ae&&D&384||!N&&I&16)&&Z(Y,m,p),k&&Ie(C)}(_e&&(ke=B&&B.onVnodeUnmounted)||se)&&Et(()=>{ke&&_n(ke,m,C),se&&xr(C,null,m,"unmounted")},p)},Ie=C=>{const{type:m,el:p,anchor:k,transition:N}=C;if(m===Ae){he(p,k);return}if(m===dl){b(C);return}const q=()=>{i(p),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(C.shapeFlag&1&&N&&!N.persisted){const{leave:B,delayLeave:W}=N,Y=()=>B(p,q);W?W(C.el,q,Y):Y()}else q()},he=(C,m)=>{let p;for(;C!==m;)p=d(C),i(C),C=p;i(m)},V=(C,m,p)=>{const{bum:k,scope:N,update:q,subTree:B,um:W}=C;k&&Oo(k),N.stop(),q&&(q.active=!1,de(B,C,m,p)),W&&Et(W,m),Et(()=>{C.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Z=(C,m,p,k=!1,N=!1,q=0)=>{for(let B=q;BC.shapeFlag&6?j(C.component.subTree):C.shapeFlag&128?C.suspense.next():d(C.anchor||C.el),ee=(C,m,p)=>{C==null?m._vnode&&de(m._vnode,null,null,!0):g(m._vnode||null,C,m,null,null,null,p),pf(),ig(),m._vnode=C},pe={p:g,um:de,m:ce,r:Ie,mt:$,mc:M,pc:X,pbc:z,n:j,o:t};let ye,fe;return e&&([ye,fe]=e(pe)),{render:ee,hydrate:ye,createApp:yw(ee,ye)}}function Lr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Nu(t,e,n=!1){const r=t.children,i=e.children;if(me(r)&&me(i))for(let s=0;s>1,t[n[a]]0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}const Cw=t=>t.__isTeleport,ws=t=>t&&(t.disabled||t.disabled===""),Sf=t=>typeof SVGElement<"u"&&t instanceof SVGElement,cc=(t,e)=>{const n=t&&t.to;return We(n)?e?e(n):null:n},Sw={__isTeleport:!0,process(t,e,n,r,i,s,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:w,createText:g,createComment:E}}=c,_=ws(e.props);let{shapeFlag:T,children:S,dynamicChildren:b}=e;if(t==null){const y=e.el=g(""),A=e.anchor=g("");h(y,n,r),h(A,n,r);const L=e.target=cc(e.props,w),M=e.targetAnchor=g("");L&&(h(M,L),o=o||Sf(L));const O=(z,G)=>{T&16&&u(S,z,G,i,s,o,a,l)};_?O(n,A):L&&O(L,M)}else{e.el=t.el;const y=e.anchor=t.anchor,A=e.target=t.target,L=e.targetAnchor=t.targetAnchor,M=ws(t.props),O=M?n:A,z=M?y:L;if(o=o||Sf(A),b?(d(t.dynamicChildren,b,O,i,s,o,a),Nu(t,e,!0)):l||f(t,e,O,z,i,s,o,a,!1),_)M||ko(e,n,y,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const G=e.target=cc(e.props,w);G&&ko(e,G,null,c,0)}else M&&ko(e,A,L,c,1)}Cg(e)},remove(t,e,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=t;if(f&&s(u),(o||!ws(d))&&(s(c),a&16))for(let h=0;h0?un||Ei:null,Aw(),qs>0&&un&&un.push(t),t}function R(t,e,n,r,i,s){return Sg(v(t,e,n,r,i,s,!0))}function ve(t,e,n,r,i){return Sg(ne(t,e,n,r,i,!0))}function ea(t){return t?t.__v_isVNode===!0:!1}function $r(t,e){return t.type===e.type&&t.key===e.key}const Na="__vInternal",kg=({key:t})=>t!=null?t:null,Do=({ref:t,ref_key:e,ref_for:n})=>t!=null?We(t)||lt(t)||we(t)?{i:ct,r:t,k:e,f:!!n}:t:null;function v(t,e=null,n=null,r=0,i=null,s=t===Ae?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&kg(e),ref:e&&Do(e),scopeId:Aa,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ct};return a?(Mu(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=We(n)?8:16),qs>0&&!o&&un&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&un.push(l),l}const ne=xw;function xw(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===mg)&&(t=Dt),ea(t)){const a=mr(t,e,!0);return n&&Mu(a,n),qs>0&&!s&&un&&(a.shapeFlag&6?un[un.indexOf(t)]=a:un.push(a)),a.patchFlag|=-2,a}if(Rw(t)&&(t=t.__vccOpts),e){e=Qt(e);let{class:a,style:l}=e;a&&!We(a)&&(e.class=Ne(a)),Fe(l)&&(yu(l)&&!me(l)&&(l=mt({},l)),e.style=Ct(l))}const o=We(t)?1:Q5(t)?128:Cw(t)?64:Fe(t)?4:we(t)?2:0;return v(t,e,n,r,i,o,s,!0)}function Qt(t){return t?yu(t)||Na in t?mt({},t):t:null}function mr(t,e,n=!1){const{props:r,ref:i,patchFlag:s,children:o}=t,a=e?$t(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&kg(a),ref:e&&e.ref?n&&i?me(i)?i.concat(Do(e)):[i,Do(e)]:Do(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ae?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&mr(t.ssContent),ssFallback:t.ssFallback&&mr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx}}function Le(t=" ",e=0){return ne(oo,null,t,e)}function be(t="",e=!1){return e?(x(),ve(Dt,null,t)):ne(Dt,null,t)}function yn(t){return t==null||typeof t=="boolean"?ne(Dt):me(t)?ne(Ae,null,t.slice()):typeof t=="object"?Jn(t):ne(oo,null,String(t))}function Jn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:mr(t)}function Mu(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(me(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),Mu(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!(Na in e)?e._ctx=ct:i===3&&ct&&(ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else we(e)?(e={default:e,_ctx:ct},n=32):(e=String(e),r&64?(n=16,e=[Le(e)]):n=8);t.children=e,t.shapeFlag|=n}function $t(...t){const e={};for(let n=0;nrt||ct,Vi=t=>{rt=t,t.scope.on()},zr=()=>{rt&&rt.scope.off(),rt=null};function Ag(t){return t.vnode.shapeFlag&4}let Hs=!1;function Mw(t,e=!1){Hs=e;const{props:n,children:r}=t.vnode,i=Ag(t);mw(t,n,i,e),_w(t,r);const s=i?Iw(t,e):void 0;return Hs=!1,s}function Iw(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=wu(new Proxy(t.ctx,lw));const{setup:r}=n;if(r){const i=t.setupContext=r.length>1?$w(t):null;Vi(t),rs();const s=or(r,t,0,[t.props,i]);if(is(),zr(),Op(s)){if(s.then(zr,zr),e)return s.then(o=>{Af(t,o,e)}).catch(o=>{Sa(o,t,0)});t.asyncDep=s}else Af(t,s,e)}else xg(t,e)}function Af(t,e,n){we(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Fe(e)&&(t.setupState=Jp(e)),xg(t,n)}let xf;function xg(t,e,n){const r=t.type;if(!t.render){if(!e&&xf&&!r.render){const i=r.template||Lu(t).template;if(i){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=r,c=mt(mt({isCustomElement:s,delimiters:a},o),l);r.render=xf(i,c)}}t.render=r.render||dn}Vi(t),rs(),cw(t),is(),zr()}function Ow(t){return new Proxy(t.attrs,{get(e,n){return qt(t,"get","$attrs"),e[n]}})}function $w(t){const e=r=>{t.exposed=r||{}};let n;return{get attrs(){return n||(n=Ow(t))},slots:t.slots,emit:t.emit,expose:e}}function Ma(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Jp(wu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ys)return ys[n](t)},has(e,n){return n in e||n in ys}}))}function Dw(t,e=!0){return we(t)?t.displayName||t.name:t.name||e&&t.__name}function Rw(t){return we(t)&&"__vccOpts"in t}const je=(t,e)=>D5(t,e,Hs);function Tr(t,e,n){const r=arguments.length;return r===2?Fe(e)&&!me(e)?ea(e)?ne(t,null,[e]):ne(t,e):ne(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ea(n)&&(n=[n]),ne(t,e,n))}const Vw=Symbol(""),Fw=()=>kn(Vw),qw="3.2.45",Hw="http://www.w3.org/2000/svg",Dr=typeof document<"u"?document:null,Lf=Dr&&Dr.createElement("template"),jw={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?Dr.createElementNS(Hw,t):Dr.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Dr.createTextNode(t),createComment:t=>Dr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Dr.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Lf.innerHTML=r?`${t}`:t;const a=Lf.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function zw(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function Bw(t,e,n){const r=t.style,i=We(n);if(n&&!i){for(const s in n)uc(r,s,n[s]);if(e&&!We(e))for(const s in e)n[s]==null&&uc(r,s,"")}else{const s=r.display;i?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(r.display=s)}}const Pf=/\s*!important$/;function uc(t,e,n){if(me(n))n.forEach(r=>uc(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Uw(t,e);Pf.test(n)?t.setProperty(ns(r),n.replace(Pf,""),"important"):t[r]=n}}const Nf=["Webkit","Moz","ms"],fl={};function Uw(t,e){const n=fl[e];if(n)return n;let r=Ln(e);if(r!=="filter"&&r in t)return fl[e]=r;r=Ta(r);for(let i=0;ihl||(Zw.then(()=>hl=0),hl=Date.now());function Jw(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Jt(eE(r,n.value),e,5,[r])};return n.value=t,n.attached=Xw(),n}function eE(t,e){if(me(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const Of=/^on[a-z]/,tE=(t,e,n,r,i=!1,s,o,a,l)=>{e==="class"?zw(t,r,i):e==="style"?Bw(t,n,r):wa(e)?du(e)||Yw(t,e,n,r,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):nE(t,e,r,i))?Qw(t,e,r,s,o,a,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Ww(t,e,r,i))};function nE(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&Of.test(e)&&we(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Of.test(e)&&We(n)?!1:e in t}const rE={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};X5.props;const pr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return me(e)?n=>Oo(e,n):e};function iE(t){t.target.composing=!0}function $f(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const sE={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t._assign=pr(i);const s=r||i.props&&i.props.type==="number";Vn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),s&&(a=Ds(a)),t._assign(a)}),n&&Vn(t,"change",()=>{t.value=t.value.trim()}),e||(Vn(t,"compositionstart",iE),Vn(t,"compositionend",$f),Vn(t,"change",$f))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:i}},s){if(t._assign=pr(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===e||(i||t.type==="number")&&Ds(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},oE={deep:!0,created(t,e,n){t._assign=pr(n),Vn(t,"change",()=>{const r=t._modelValue,i=Fi(t),s=t.checked,o=t._assign;if(me(r)){const a=uu(r,i),l=a!==-1;if(s&&!l)o(r.concat(i));else if(!s&&l){const c=[...r];c.splice(a,1),o(c)}}else if(ts(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(Lg(t,s))})},mounted:Df,beforeUpdate(t,e,n){t._assign=pr(n),Df(t,e,n)}};function Df(t,{value:e,oldValue:n},r){t._modelValue=e,me(e)?t.checked=uu(e,r.props.value)>-1:ts(e)?t.checked=e.has(r.props.value):e!==n&&(t.checked=Yr(e,Lg(t,!0)))}const ml={created(t,{value:e},n){t.checked=Yr(e,n.props.value),t._assign=pr(n),Vn(t,"change",()=>{t._assign(Fi(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t._assign=pr(r),e!==n&&(t.checked=Yr(e,r.props.value))}},Ro={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=ts(e);Vn(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?Ds(Fi(o)):Fi(o));t._assign(t.multiple?i?new Set(s):s:s[0])}),t._assign=pr(r)},mounted(t,{value:e}){Rf(t,e)},beforeUpdate(t,e,n){t._assign=pr(n)},updated(t,{value:e}){Rf(t,e)}};function Rf(t,e){const n=t.multiple;if(!(n&&!me(e)&&!ts(e))){for(let r=0,i=t.options.length;r-1:s.selected=e.has(o);else if(Yr(Fi(s),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Fi(t){return"_value"in t?t._value:t.value}function Lg(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const aE=["ctrl","shift","alt","meta"],lE={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)=>aE.some(n=>t[`${n}Key`]&&!e.includes(n))},js=(t,e)=>(n,...r)=>{for(let i=0;i{us(t,!1)}):us(t,e))},beforeUnmount(t,{value:e}){us(t,e)}};function us(t,e){t.style.display=e?t._vod:"none"}const cE=mt({patchProp:tE},jw);let Vf;function uE(){return Vf||(Vf=ww(cE))}const dE=(...t)=>{const e=uE().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=fE(r);if(!i)return;const s=e._component;!we(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function fE(t){return We(t)?document.querySelector(t):t}/** + */const Av=1e6,xv=1e3,Ql="transitionend",Lv=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),Pv=t=>{do t+=Math.floor(Math.random()*Av);while(document.getElementById(t));return t},np=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return e},rp=t=>{const e=np(t);return e&&document.querySelector(e)?e:null},qn=t=>{const e=np(t);return e?document.querySelector(e):null},Nv=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return!r&&!i?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*xv)},ip=t=>{t.dispatchEvent(new Event(Ql))},Hn=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),ur=t=>Hn(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(t):null,Ji=t=>{if(!Hn(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const r=t.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return e},dr=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",sp=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?sp(t.parentNode):null},Qo=()=>{},Js=t=>{t.offsetHeight},op=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ka=[],Mv=t=>{document.readyState==="loading"?(Ka.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ka)e()}),Ka.push(t)):t()},tn=()=>document.documentElement.dir==="rtl",sn=t=>{Mv(()=>{const e=op();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},Rn=t=>{typeof t=="function"&&t()},ap=(t,e,n=!0)=>{if(!n){Rn(t);return}const r=5,i=Nv(e)+r;let s=!1;const o=({target:a})=>{a===e&&(s=!0,e.removeEventListener(Ql,o),Rn(t))};e.addEventListener(Ql,o),setTimeout(()=>{s||ip(e)},i)},iu=(t,e,n,r)=>{const i=t.length;let s=t.indexOf(e);return s===-1?!n&&r?t[i-1]:t[0]:(s+=n?1:-1,r&&(s=(s+i)%i),t[Math.max(0,Math.min(s,i-1))])},Iv=/[^.]*(?=\..*)\.|.*/,Ov=/\..*/,$v=/::\d+$/,Ya={};let Md=1;const lp={mouseenter:"mouseover",mouseleave:"mouseout"},Dv=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function cp(t,e){return e&&`${e}::${Md++}`||t.uidEvent||Md++}function up(t){const e=cp(t);return t.uidEvent=e,Ya[e]=Ya[e]||{},Ya[e]}function Rv(t,e){return function n(r){return su(r,{delegateTarget:t}),n.oneOff&&K.off(t,r.type,e),e.apply(t,[r])}}function Vv(t,e,n){return function r(i){const s=t.querySelectorAll(e);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return su(i,{delegateTarget:o}),r.oneOff&&K.off(t,i.type,e,n),n.apply(o,[i])}}function dp(t,e,n=null){return Object.values(t).find(r=>r.callable===e&&r.delegationSelector===n)}function fp(t,e,n){const r=typeof e=="string",i=r?n:e||n;let s=hp(t);return Dv.has(s)||(s=t),[r,i,s]}function Id(t,e,n,r,i){if(typeof e!="string"||!t)return;let[s,o,a]=fp(e,n,r);e in lp&&(o=(w=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return w.call(this,g)})(o));const l=up(t),c=l[a]||(l[a]={}),u=dp(c,o,s?n:null);if(u){u.oneOff=u.oneOff&&i;return}const f=cp(o,e.replace(Iv,"")),d=s?Vv(t,n,o):Rv(t,o);d.delegationSelector=s?n:null,d.callable=o,d.oneOff=i,d.uidEvent=f,c[f]=d,t.addEventListener(a,d,s)}function Kl(t,e,n,r,i){const s=dp(e[n],r,i);!s||(t.removeEventListener(n,s,Boolean(i)),delete e[n][s.uidEvent])}function Fv(t,e,n,r){const i=e[n]||{};for(const s of Object.keys(i))if(s.includes(r)){const o=i[s];Kl(t,e,n,o.callable,o.delegationSelector)}}function hp(t){return t=t.replace(Ov,""),lp[t]||t}const K={on(t,e,n,r){Id(t,e,n,r,!1)},one(t,e,n,r){Id(t,e,n,r,!0)},off(t,e,n,r){if(typeof e!="string"||!t)return;const[i,s,o]=fp(e,n,r),a=o!==e,l=up(t),c=l[o]||{},u=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(c).length)return;Kl(t,l,o,s,i?n:null);return}if(u)for(const f of Object.keys(l))Fv(t,l,f,e.slice(1));for(const f of Object.keys(c)){const d=f.replace($v,"");if(!a||e.includes(d)){const h=c[f];Kl(t,l,o,h.callable,h.delegationSelector)}}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const r=op(),i=hp(e),s=e!==i;let o=null,a=!0,l=!0,c=!1;s&&r&&(o=r.Event(e,n),r(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let u=new Event(e,{bubbles:a,cancelable:!0});return u=su(u,n),c&&u.preventDefault(),l&&t.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function su(t,e){for(const[n,r]of Object.entries(e||{}))try{t[n]=r}catch{Object.defineProperty(t,n,{configurable:!0,get(){return r}})}return t}const Yn=new Map,Ga={set(t,e,n){Yn.has(t)||Yn.set(t,new Map);const r=Yn.get(t);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,n)},get(t,e){return Yn.has(t)&&Yn.get(t).get(e)||null},remove(t,e){if(!Yn.has(t))return;const n=Yn.get(t);n.delete(e),n.size===0&&Yn.delete(t)}};function Od(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Za(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const jn={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Za(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Za(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=Od(t.dataset[r])}return e},getDataAttribute(t,e){return Od(t.getAttribute(`data-bs-${Za(e)}`))}};class eo{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const r=Hn(n)?jn.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Hn(n)?jn.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const r of Object.keys(n)){const i=n[r],s=e[r],o=Hn(s)?"element":Lv(s);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}}}const qv="5.2.2";class mn extends eo{constructor(e,n){super(),e=ur(e),e&&(this._element=e,this._config=this._getConfig(n),Ga.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ga.remove(this._element,this.constructor.DATA_KEY),K.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,r=!0){ap(e,n,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ga.get(ur(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return qv}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const ga=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;K.on(document,n,`[data-bs-dismiss="${r}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),dr(this))return;const s=qn(this)||this.closest(`.${r}`);t.getOrCreateInstance(s)[e]()})},Hv="alert",jv="bs.alert",mp=`.${jv}`,zv=`close${mp}`,Bv=`closed${mp}`,Uv="fade",Wv="show";class _a extends mn{static get NAME(){return Hv}close(){if(K.trigger(this._element,zv).defaultPrevented)return;this._element.classList.remove(Wv);const n=this._element.classList.contains(Uv);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),K.trigger(this._element,Bv),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=_a.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}ga(_a,"close");sn(_a);const Qv="button",Kv="bs.button",Yv=`.${Kv}`,Gv=".data-api",Zv="active",$d='[data-bs-toggle="button"]',Xv=`click${Yv}${Gv}`;class va extends mn{static get NAME(){return Qv}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Zv))}static jQueryInterface(e){return this.each(function(){const n=va.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}K.on(document,Xv,$d,t=>{t.preventDefault();const e=t.target.closest($d);va.getOrCreateInstance(e).toggle()});sn(va);const Ee={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!dr(n)&&Ji(n))}},Jv="swipe",es=".bs.swipe",e0=`touchstart${es}`,t0=`touchmove${es}`,n0=`touchend${es}`,r0=`pointerdown${es}`,i0=`pointerup${es}`,s0="touch",o0="pen",a0="pointer-event",l0=40,c0={endCallback:null,leftCallback:null,rightCallback:null},u0={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ko extends eo{constructor(e,n){super(),this._element=e,!(!e||!Ko.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return c0}static get DefaultType(){return u0}static get NAME(){return Jv}dispose(){K.off(this._element,es)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Rn(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=l0)return;const n=e/this._deltaX;this._deltaX=0,n&&Rn(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(K.on(this._element,r0,e=>this._start(e)),K.on(this._element,i0,e=>this._end(e)),this._element.classList.add(a0)):(K.on(this._element,e0,e=>this._start(e)),K.on(this._element,t0,e=>this._move(e)),K.on(this._element,n0,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===o0||e.pointerType===s0)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const d0="carousel",f0="bs.carousel",yr=`.${f0}`,pp=".data-api",h0="ArrowLeft",m0="ArrowRight",p0=500,ls="next",oi="prev",hi="left",No="right",g0=`slide${yr}`,Xa=`slid${yr}`,_0=`keydown${yr}`,v0=`mouseenter${yr}`,b0=`mouseleave${yr}`,y0=`dragstart${yr}`,w0=`load${yr}${pp}`,E0=`click${yr}${pp}`,gp="carousel",mo="active",T0="slide",C0="carousel-item-end",S0="carousel-item-start",k0="carousel-item-next",A0="carousel-item-prev",_p=".active",vp=".carousel-item",x0=_p+vp,L0=".carousel-item img",P0=".carousel-indicators",N0="[data-bs-slide], [data-bs-slide-to]",M0='[data-bs-ride="carousel"]',I0={[h0]:No,[m0]:hi},O0={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},$0={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class to extends mn{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ee.findOne(P0,this._element),this._addEventListeners(),this._config.ride===gp&&this.cycle()}static get Default(){return O0}static get DefaultType(){return $0}static get NAME(){return d0}next(){this._slide(ls)}nextWhenVisible(){!document.hidden&&Ji(this._element)&&this.next()}prev(){this._slide(oi)}pause(){this._isSliding&&ip(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(!!this._config.ride){if(this._isSliding){K.one(this._element,Xa,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){K.one(this._element,Xa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const i=e>r?ls:oi;this._slide(i,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&K.on(this._element,_0,e=>this._keydown(e)),this._config.pause==="hover"&&(K.on(this._element,v0,()=>this.pause()),K.on(this._element,b0,()=>this._maybeEnableCycle())),this._config.touch&&Ko.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ee.find(L0,this._element))K.on(r,y0,i=>i.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(hi)),rightCallback:()=>this._slide(this._directionToOrder(No)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),p0+this._config.interval))}};this._swipeHelper=new Ko(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=I0[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=Ee.findOne(_p,this._indicatorsElement);n.classList.remove(mo),n.removeAttribute("aria-current");const r=Ee.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(mo),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const r=this._getActive(),i=e===ls,s=n||iu(this._getItems(),r,i,this._config.wrap);if(s===r)return;const o=this._getItemIndex(s),a=h=>K.trigger(this._element,h,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:o});if(a(g0).defaultPrevented||!r||!s)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const u=i?S0:C0,f=i?k0:A0;s.classList.add(f),Js(s),r.classList.add(u),s.classList.add(u);const d=()=>{s.classList.remove(u,f),s.classList.add(mo),r.classList.remove(mo,f,u),this._isSliding=!1,a(Xa)};this._queueCallback(d,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(T0)}_getActive(){return Ee.findOne(x0,this._element)}_getItems(){return Ee.find(vp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return tn()?e===hi?oi:ls:e===hi?ls:oi}_orderToDirection(e){return tn()?e===oi?hi:No:e===oi?No:hi}static jQueryInterface(e){return this.each(function(){const n=to.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}K.on(document,E0,N0,function(t){const e=qn(this);if(!e||!e.classList.contains(gp))return;t.preventDefault();const n=to.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(jn.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});K.on(window,w0,()=>{const t=Ee.find(M0);for(const e of t)to.getOrCreateInstance(e)});sn(to);const D0="collapse",R0="bs.collapse",no=`.${R0}`,V0=".data-api",F0=`show${no}`,q0=`shown${no}`,H0=`hide${no}`,j0=`hidden${no}`,z0=`click${no}${V0}`,Ja="show",_i="collapse",po="collapsing",B0="collapsed",U0=`:scope .${_i} .${_i}`,W0="collapse-horizontal",Q0="width",K0="height",Y0=".collapse.show, .collapse.collapsing",Yl='[data-bs-toggle="collapse"]',G0={parent:null,toggle:!0},Z0={parent:"(null|element)",toggle:"boolean"};class Is extends mn{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const r=Ee.find(Yl);for(const i of r){const s=rp(i),o=Ee.find(s).filter(a=>a===this._element);s!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return G0}static get DefaultType(){return Z0}static get NAME(){return D0}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Y0).filter(a=>a!==this._element).map(a=>Is.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||K.trigger(this._element,F0).defaultPrevented)return;for(const a of e)a.hide();const r=this._getDimension();this._element.classList.remove(_i),this._element.classList.add(po),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(po),this._element.classList.add(_i,Ja),this._element.style[r]="",K.trigger(this._element,q0)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||K.trigger(this._element,H0).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Js(this._element),this._element.classList.add(po),this._element.classList.remove(_i,Ja);for(const i of this._triggerArray){const s=qn(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(po),this._element.classList.add(_i),K.trigger(this._element,j0)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ja)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=ur(e.parent),e}_getDimension(){return this._element.classList.contains(W0)?Q0:K0}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Yl);for(const n of e){const r=qn(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(e){const n=Ee.find(U0,this._config.parent);return Ee.find(e,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(e,n){if(!!e.length)for(const r of e)r.classList.toggle(B0,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const r=Is.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}K.on(document,z0,Yl,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();const e=rp(this),n=Ee.find(e);for(const r of n)Is.getOrCreateInstance(r,{toggle:!1}).toggle()});sn(Is);const Dd="dropdown",X0="bs.dropdown",Zr=`.${X0}`,ou=".data-api",J0="Escape",Rd="Tab",e2="ArrowUp",Vd="ArrowDown",t2=2,n2=`hide${Zr}`,r2=`hidden${Zr}`,i2=`show${Zr}`,s2=`shown${Zr}`,bp=`click${Zr}${ou}`,yp=`keydown${Zr}${ou}`,o2=`keyup${Zr}${ou}`,mi="show",a2="dropup",l2="dropend",c2="dropstart",u2="dropup-center",d2="dropdown-center",Rr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',f2=`${Rr}.${mi}`,Mo=".dropdown-menu",h2=".navbar",m2=".navbar-nav",p2=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",g2=tn()?"top-end":"top-start",_2=tn()?"top-start":"top-end",v2=tn()?"bottom-end":"bottom-start",b2=tn()?"bottom-start":"bottom-end",y2=tn()?"left-start":"right-start",w2=tn()?"right-start":"left-start",E2="top",T2="bottom",C2={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},S2={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Sn extends mn{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=Ee.next(this._element,Mo)[0]||Ee.prev(this._element,Mo)[0]||Ee.findOne(Mo,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return C2}static get DefaultType(){return S2}static get NAME(){return Dd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(dr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!K.trigger(this._element,i2,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(m2))for(const r of[].concat(...document.body.children))K.on(r,"mouseover",Qo);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(mi),this._element.classList.add(mi),K.trigger(this._element,s2,e)}}hide(){if(dr(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!K.trigger(this._element,n2,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))K.off(r,"mouseover",Qo);this._popper&&this._popper.destroy(),this._menu.classList.remove(mi),this._element.classList.remove(mi),this._element.setAttribute("aria-expanded","false"),jn.removeDataAttribute(this._menu,"popper"),K.trigger(this._element,r2,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Hn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Dd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof tp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Hn(this._config.reference)?e=ur(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=ru(e,this._menu,n)}_isShown(){return this._menu.classList.contains(mi)}_getPlacement(){const e=this._parent;if(e.classList.contains(l2))return y2;if(e.classList.contains(c2))return w2;if(e.classList.contains(u2))return E2;if(e.classList.contains(d2))return T2;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(a2)?n?_2:g2:n?b2:v2}_detectNavbar(){return this._element.closest(h2)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(jn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...typeof this._config.popperConfig=="function"?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:n}){const r=Ee.find(p2,this._menu).filter(i=>Ji(i));!r.length||iu(r,n,e===Vd,!r.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=Sn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===t2||e.type==="keyup"&&e.key!==Rd)return;const n=Ee.find(f2);for(const r of n){const i=Sn.getInstance(r);if(!i||i._config.autoClose===!1)continue;const s=e.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Rd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:i._element};e.type==="click"&&(a.clickEvent=e),i._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),r=e.key===J0,i=[e2,Vd].includes(e.key);if(!i&&!r||n&&!r)return;e.preventDefault();const s=this.matches(Rr)?this:Ee.prev(this,Rr)[0]||Ee.next(this,Rr)[0]||Ee.findOne(Rr,e.delegateTarget.parentNode),o=Sn.getOrCreateInstance(s);if(i){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}K.on(document,yp,Rr,Sn.dataApiKeydownHandler);K.on(document,yp,Mo,Sn.dataApiKeydownHandler);K.on(document,bp,Sn.clearMenus);K.on(document,o2,Sn.clearMenus);K.on(document,bp,Rr,function(t){t.preventDefault(),Sn.getOrCreateInstance(this).toggle()});sn(Sn);const Fd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",qd=".sticky-top",go="padding-right",Hd="margin-right";class Gl{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,go,n=>n+e),this._setElementAttributes(Fd,go,n=>n+e),this._setElementAttributes(qd,Hd,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,go),this._resetElementAttributes(Fd,go),this._resetElementAttributes(qd,Hd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,r){const i=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,n){const r=e.style.getPropertyValue(n);r&&jn.setDataAttribute(e,n,r)}_resetElementAttributes(e,n){const r=i=>{const s=jn.getDataAttribute(i,n);if(s===null){i.style.removeProperty(n);return}jn.removeDataAttribute(i,n),i.style.setProperty(n,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,n){if(Hn(e)){n(e);return}for(const r of Ee.find(e,this._element))n(r)}}const wp="backdrop",k2="fade",jd="show",zd=`mousedown.bs.${wp}`,A2={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},x2={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ep extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return A2}static get DefaultType(){return x2}static get NAME(){return wp}show(e){if(!this._config.isVisible){Rn(e);return}this._append();const n=this._getElement();this._config.isAnimated&&Js(n),n.classList.add(jd),this._emulateAnimation(()=>{Rn(e)})}hide(e){if(!this._config.isVisible){Rn(e);return}this._getElement().classList.remove(jd),this._emulateAnimation(()=>{this.dispose(),Rn(e)})}dispose(){!this._isAppended||(K.off(this._element,zd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(k2),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=ur(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),K.on(e,zd,()=>{Rn(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){ap(e,this._getElement(),this._config.isAnimated)}}const L2="focustrap",P2="bs.focustrap",Yo=`.${P2}`,N2=`focusin${Yo}`,M2=`keydown.tab${Yo}`,I2="Tab",O2="forward",Bd="backward",$2={autofocus:!0,trapElement:null},D2={autofocus:"boolean",trapElement:"element"};class Tp extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return $2}static get DefaultType(){return D2}static get NAME(){return L2}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),K.off(document,Yo),K.on(document,N2,e=>this._handleFocusin(e)),K.on(document,M2,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,K.off(document,Yo))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const r=Ee.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===Bd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===I2&&(this._lastTabNavDirection=e.shiftKey?Bd:O2)}}const R2="modal",V2="bs.modal",pn=`.${V2}`,F2=".data-api",q2="Escape",H2=`hide${pn}`,j2=`hidePrevented${pn}`,Cp=`hidden${pn}`,Sp=`show${pn}`,z2=`shown${pn}`,B2=`resize${pn}`,U2=`click.dismiss${pn}`,W2=`mousedown.dismiss${pn}`,Q2=`keydown.dismiss${pn}`,K2=`click${pn}${F2}`,Ud="modal-open",Y2="fade",Wd="show",el="modal-static",G2=".modal.show",Z2=".modal-dialog",X2=".modal-body",J2='[data-bs-toggle="modal"]',eb={backdrop:!0,focus:!0,keyboard:!0},tb={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $i extends mn{constructor(e,n){super(e,n),this._dialog=Ee.findOne(Z2,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Gl,this._addEventListeners()}static get Default(){return eb}static get DefaultType(){return tb}static get NAME(){return R2}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||K.trigger(this._element,Sp,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ud),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||K.trigger(this._element,H2).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wd),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])K.off(e,pn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ep({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Tp({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=Ee.findOne(X2,this._dialog);n&&(n.scrollTop=0),Js(this._element),this._element.classList.add(Wd);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,K.trigger(this._element,z2,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){K.on(this._element,Q2,e=>{if(e.key===q2){if(this._config.keyboard){e.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),K.on(window,B2,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),K.on(this._element,W2,e=>{K.one(this._element,U2,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ud),this._resetAdjustments(),this._scrollBar.reset(),K.trigger(this._element,Cp)})}_isAnimated(){return this._element.classList.contains(Y2)}_triggerBackdropTransition(){if(K.trigger(this._element,j2).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(el)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(el),this._queueCallback(()=>{this._element.classList.remove(el),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!e){const i=tn()?"paddingLeft":"paddingRight";this._element.style[i]=`${n}px`}if(!r&&e){const i=tn()?"paddingRight":"paddingLeft";this._element.style[i]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const r=$i.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](n)}})}}K.on(document,K2,J2,function(t){const e=qn(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),K.one(e,Sp,i=>{i.defaultPrevented||K.one(e,Cp,()=>{Ji(this)&&this.focus()})});const n=Ee.findOne(G2);n&&$i.getInstance(n).hide(),$i.getOrCreateInstance(e).toggle(this)});ga($i);sn($i);const nb="offcanvas",rb="bs.offcanvas",Qn=`.${rb}`,kp=".data-api",ib=`load${Qn}${kp}`,sb="Escape",Qd="show",Kd="showing",Yd="hiding",ob="offcanvas-backdrop",Ap=".offcanvas.show",ab=`show${Qn}`,lb=`shown${Qn}`,cb=`hide${Qn}`,Gd=`hidePrevented${Qn}`,xp=`hidden${Qn}`,ub=`resize${Qn}`,db=`click${Qn}${kp}`,fb=`keydown.dismiss${Qn}`,hb='[data-bs-toggle="offcanvas"]',mb={backdrop:!0,keyboard:!0,scroll:!1},pb={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class fr extends mn{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return mb}static get DefaultType(){return pb}static get NAME(){return nb}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||K.trigger(this._element,ab,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Gl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Kd);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Qd),this._element.classList.remove(Kd),K.trigger(this._element,lb,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||K.trigger(this._element,cb).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Yd),this._backdrop.hide();const n=()=>{this._element.classList.remove(Qd,Yd),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Gl().reset(),K.trigger(this._element,xp)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){K.trigger(this._element,Gd);return}this.hide()},n=Boolean(this._config.backdrop);return new Ep({className:ob,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Tp({trapElement:this._element})}_addEventListeners(){K.on(this._element,fb,e=>{if(e.key===sb){if(!this._config.keyboard){K.trigger(this._element,Gd);return}this.hide()}})}static jQueryInterface(e){return this.each(function(){const n=fr.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}K.on(document,db,hb,function(t){const e=qn(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),dr(this))return;K.one(e,xp,()=>{Ji(this)&&this.focus()});const n=Ee.findOne(Ap);n&&n!==e&&fr.getInstance(n).hide(),fr.getOrCreateInstance(e).toggle(this)});K.on(window,ib,()=>{for(const t of Ee.find(Ap))fr.getOrCreateInstance(t).show()});K.on(window,ub,()=>{for(const t of Ee.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&fr.getOrCreateInstance(t).hide()});ga(fr);sn(fr);const gb=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_b=/^aria-[\w-]*$/i,vb=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,bb=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,yb=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?gb.has(n)?Boolean(vb.test(t.nodeValue)||bb.test(t.nodeValue)):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(n))},Lp={"*":["class","dir","id","lang","role",_b],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function wb(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const i=new window.DOMParser().parseFromString(t,"text/html"),s=[].concat(...i.body.querySelectorAll("*"));for(const o of s){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(e["*"]||[],e[a]||[]);for(const u of l)yb(u,c)||o.removeAttribute(u.nodeName)}return i.body.innerHTML}const Eb="TemplateFactory",Tb={allowList:Lp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Cb={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Sb={entry:"(string|element|function|null)",selector:"(string|element)"};class kb extends eo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Tb}static get DefaultType(){return Cb}static get NAME(){return Eb}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[i,s]of Object.entries(this._config.content))this._setContent(e,s,i);const n=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,r]of Object.entries(e))super._typeCheckConfig({selector:n,entry:r},Sb)}_setContent(e,n,r){const i=Ee.findOne(r,e);if(!!i){if(n=this._resolvePossibleFunction(n),!n){i.remove();return}if(Hn(n)){this._putElementInTemplate(ur(n),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(n);return}i.textContent=n}}_maybeSanitize(e){return this._config.sanitize?wb(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return typeof e=="function"?e(this):e}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const Ab="tooltip",xb=new Set(["sanitize","allowList","sanitizeFn"]),tl="fade",Lb="modal",_o="show",Pb=".tooltip-inner",Zd=`.${Lb}`,Xd="hide.bs.modal",cs="hover",nl="focus",Nb="click",Mb="manual",Ib="hide",Ob="hidden",$b="show",Db="shown",Rb="inserted",Vb="click",Fb="focusin",qb="focusout",Hb="mouseenter",jb="mouseleave",zb={AUTO:"auto",TOP:"top",RIGHT:tn()?"left":"right",BOTTOM:"bottom",LEFT:tn()?"right":"left"},Bb={allowList:Lp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Ub={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class wr extends mn{constructor(e,n){if(typeof tp>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Bb}static get DefaultType(){return Ub}static get NAME(){return Ab}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!!this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),K.off(this._element.closest(Zd),Xd,this._hideModalHandler),this.tip&&this.tip.remove(),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=K.trigger(this._element,this.constructor.eventName($b)),r=(sp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this.tip&&(this.tip.remove(),this.tip=null);const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),K.trigger(this._element,this.constructor.eventName(Rb))),this._popper?this._popper.update():this._popper=this._createPopper(i),i.classList.add(_o),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))K.on(a,"mouseover",Qo);const o=()=>{K.trigger(this._element,this.constructor.eventName(Db)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||K.trigger(this._element,this.constructor.eventName(Ib)).defaultPrevented)return;const n=this._getTipElement();if(n.classList.remove(_o),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))K.off(i,"mouseover",Qo);this._activeTrigger[Nb]=!1,this._activeTrigger[nl]=!1,this._activeTrigger[cs]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||n.remove(),this._element.removeAttribute("aria-describedby"),K.trigger(this._element,this.constructor.eventName(Ob)),this._disposePopper())};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(tl,_o),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=Pv(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(tl),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new kb({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Pb]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(tl)}_isShown(){return this.tip&&this.tip.classList.contains(_o)}_createPopper(e){const n=typeof this._config.placement=="function"?this._config.placement.call(this,e,this._element):this._config.placement,r=zb[n.toUpperCase()];return ru(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return typeof e=="function"?e.call(this._element):e}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...typeof this._config.popperConfig=="function"?this._config.popperConfig(n):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")K.on(this._element,this.constructor.eventName(Vb),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==Mb){const r=n===cs?this.constructor.eventName(Hb):this.constructor.eventName(Fb),i=n===cs?this.constructor.eventName(jb):this.constructor.eventName(qb);K.on(this._element,r,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?nl:cs]=!0,o._enter()}),K.on(this._element,i,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?nl:cs]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},K.on(this._element.closest(Zd),Xd,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");!e||(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=jn.getDataAttributes(this._element);for(const r of Object.keys(n))xb.has(r)&&delete n[r];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:ur(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const n in this._config)this.constructor.Default[n]!==this._config[n]&&(e[n]=this._config[n]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const n=wr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(wr);const Wb="popover",Qb=".popover-header",Kb=".popover-body",Yb={...wr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Gb={...wr.DefaultType,content:"(null|string|element|function)"};class au extends wr{static get Default(){return Yb}static get DefaultType(){return Gb}static get NAME(){return Wb}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Qb]:this._getTitle(),[Kb]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=au.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(au);const Zb="scrollspy",Xb="bs.scrollspy",lu=`.${Xb}`,Jb=".data-api",ey=`activate${lu}`,Jd=`click${lu}`,ty=`load${lu}${Jb}`,ny="dropdown-item",ai="active",ry='[data-bs-spy="scroll"]',rl="[href]",iy=".nav, .list-group",ef=".nav-link",sy=".nav-item",oy=".list-group-item",ay=`${ef}, ${sy} > ${ef}, ${oy}`,ly=".dropdown",cy=".dropdown-toggle",uy={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},dy={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ba extends mn{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return uy}static get DefaultType(){return dy}static get NAME(){return Zb}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=ur(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){!this._config.smoothScroll||(K.off(this._config.target,Jd),K.on(this._config.target,Jd,rl,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const r=this._rootElement||window,i=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:i,behavior:"smooth"});return}r.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(r(o),!i)return;continue}!s&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ee.find(rl,this._config.target);for(const n of e){if(!n.hash||dr(n))continue;const r=Ee.findOne(n.hash,this._element);Ji(r)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ai),this._activateParents(e),K.trigger(this._element,ey,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(ny)){Ee.findOne(cy,e.closest(ly)).classList.add(ai);return}for(const n of Ee.parents(e,iy))for(const r of Ee.prev(n,ay))r.classList.add(ai)}_clearActiveClass(e){e.classList.remove(ai);const n=Ee.find(`${rl}.${ai}`,e);for(const r of n)r.classList.remove(ai)}static jQueryInterface(e){return this.each(function(){const n=ba.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}K.on(window,ty,()=>{for(const t of Ee.find(ry))ba.getOrCreateInstance(t)});sn(ba);const fy="tab",hy="bs.tab",Xr=`.${hy}`,my=`hide${Xr}`,py=`hidden${Xr}`,gy=`show${Xr}`,_y=`shown${Xr}`,vy=`click${Xr}`,by=`keydown${Xr}`,yy=`load${Xr}`,wy="ArrowLeft",tf="ArrowRight",Ey="ArrowUp",nf="ArrowDown",Vr="active",rf="fade",il="show",Ty="dropdown",Cy=".dropdown-toggle",Sy=".dropdown-menu",sl=":not(.dropdown-toggle)",ky='.list-group, .nav, [role="tablist"]',Ay=".nav-item, .list-group-item",xy=`.nav-link${sl}, .list-group-item${sl}, [role="tab"]${sl}`,Pp='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ol=`${xy}, ${Pp}`,Ly=`.${Vr}[data-bs-toggle="tab"], .${Vr}[data-bs-toggle="pill"], .${Vr}[data-bs-toggle="list"]`;class Di extends mn{constructor(e){super(e),this._parent=this._element.closest(ky),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),K.on(this._element,by,n=>this._keydown(n)))}static get NAME(){return fy}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),r=n?K.trigger(n,my,{relatedTarget:e}):null;K.trigger(e,gy,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Vr),this._activate(qn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(il);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),K.trigger(e,_y,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(rf))}_deactivate(e,n){if(!e)return;e.classList.remove(Vr),e.blur(),this._deactivate(qn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(il);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),K.trigger(e,py,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(rf))}_keydown(e){if(![wy,tf,Ey,nf].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=[tf,nf].includes(e.key),r=iu(this._getChildren().filter(i=>!dr(i)),e.target,n,!0);r&&(r.focus({preventScroll:!0}),Di.getOrCreateInstance(r).show())}_getChildren(){return Ee.find(ol,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",n),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=qn(e);!n||(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,n){const r=this._getOuterElement(e);if(!r.classList.contains(Ty))return;const i=(s,o)=>{const a=Ee.findOne(s,r);a&&a.classList.toggle(o,n)};i(Cy,Vr),i(Sy,il),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,r){e.hasAttribute(n)||e.setAttribute(n,r)}_elemIsActive(e){return e.classList.contains(Vr)}_getInnerElement(e){return e.matches(ol)?e:Ee.findOne(ol,e)}_getOuterElement(e){return e.closest(Ay)||e}static jQueryInterface(e){return this.each(function(){const n=Di.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}K.on(document,vy,Pp,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!dr(this)&&Di.getOrCreateInstance(this).show()});K.on(window,yy,()=>{for(const t of Ee.find(Ly))Di.getOrCreateInstance(t)});sn(Di);const Py="toast",Ny="bs.toast",Er=`.${Ny}`,My=`mouseover${Er}`,Iy=`mouseout${Er}`,Oy=`focusin${Er}`,$y=`focusout${Er}`,Dy=`hide${Er}`,Ry=`hidden${Er}`,Vy=`show${Er}`,Fy=`shown${Er}`,qy="fade",sf="hide",vo="show",bo="showing",Hy={animation:"boolean",autohide:"boolean",delay:"number"},jy={animation:!0,autohide:!0,delay:5e3};class ya extends mn{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return jy}static get DefaultType(){return Hy}static get NAME(){return Py}show(){if(K.trigger(this._element,Vy).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(qy);const n=()=>{this._element.classList.remove(bo),K.trigger(this._element,Fy),this._maybeScheduleHide()};this._element.classList.remove(sf),Js(this._element),this._element.classList.add(vo,bo),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||K.trigger(this._element,Dy).defaultPrevented)return;const n=()=>{this._element.classList.add(sf),this._element.classList.remove(bo,vo),K.trigger(this._element,Ry)};this._element.classList.add(bo),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vo),super.dispose()}isShown(){return this._element.classList.contains(vo)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){K.on(this._element,My,e=>this._onInteraction(e,!0)),K.on(this._element,Iy,e=>this._onInteraction(e,!1)),K.on(this._element,Oy,e=>this._onInteraction(e,!0)),K.on(this._element,$y,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=ya.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}ga(ya);sn(ya);function zy(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Np={exports:{}};(function(t,e){(function(){function n(){var r=window,i=document;if("scrollBehavior"in i.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var s=r.HTMLElement||r.Element,o=468,a={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:s.prototype.scroll||f,scrollIntoView:s.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(b){var y=["MSIE ","Trident/","Edge/"];return new RegExp(y.join("|")).test(b)}var u=c(r.navigator.userAgent)?1:0;function f(b,y){this.scrollLeft=b,this.scrollTop=y}function d(b){return .5*(1-Math.cos(Math.PI*b))}function h(b){if(b===null||typeof b!="object"||b.behavior===void 0||b.behavior==="auto"||b.behavior==="instant")return!0;if(typeof b=="object"&&b.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+b.behavior+" is not a valid value for enumeration ScrollBehavior.")}function w(b,y){if(y==="Y")return b.clientHeight+u1?1:O,A=d(O),L=b.startX+(b.x-b.startX)*A,M=b.startY+(b.y-b.startY)*A,b.method.call(b.scrollable,L,M),(L!==b.x||M!==b.y)&&r.requestAnimationFrame(T.bind(r,b))}function S(b,y,A){var L,M,O,z,G=l();b===i.body?(L=r,M=r.scrollX||r.pageXOffset,O=r.scrollY||r.pageYOffset,z=a.scroll):(L=b,M=b.scrollLeft,O=b.scrollTop,z=f),T({scrollable:L,method:z,startTime:G,startX:M,startY:O,x:y,y:A})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.scroll.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:r.scrollY||r.pageYOffset);return}S.call(r,i.body,arguments[0].left!==void 0?~~arguments[0].left:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:r.scrollY||r.pageYOffset)}},r.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])){a.scrollBy.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}S.call(r,i.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},s.prototype.scroll=s.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var b=arguments[0].left,y=arguments[0].top;S.call(this,this,typeof b>"u"?this.scrollLeft:~~b,typeof y>"u"?this.scrollTop:~~y)}},s.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},s.prototype.scrollIntoView=function(){if(h(arguments[0])===!0){a.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var b=_(this),y=b.getBoundingClientRect(),A=this.getBoundingClientRect();b!==i.body?(S.call(this,b,b.scrollLeft+A.left-y.left,b.scrollTop+A.top-y.top),r.getComputedStyle(b).position!=="fixed"&&r.scrollBy({left:y.left,top:y.top,behavior:"smooth"})):r.scrollBy({left:A.left,top:A.top,behavior:"smooth"})}}t.exports={polyfill:n}})()})(Np);const By=Np.exports;function cu(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}function Ct(t){if(me(t)){const e={};for(let n=0;n{if(n){const r=n.split(Wy);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Ne(t){let e="";if(We(t))e=t;else if(me(t))for(let n=0;nYr(n,e))}const F=t=>We(t)?t:t==null?"":me(t)||Fe(t)&&(t.toString===$p||!we(t.toString))?JSON.stringify(t,Ip,2):String(t),Ip=(t,e)=>e&&e.__v_isRef?Ip(t,e.value):Ti(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:ts(e)?{[`Set(${e.size})`]:[...e.values()]}:Fe(e)&&!me(e)&&!Dp(e)?String(e):e,qe={},Ei=[],dn=()=>{},Xy=()=>!1,Jy=/^on[^a-z]/,wa=t=>Jy.test(t),du=t=>t.startsWith("onUpdate:"),mt=Object.assign,fu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},e5=Object.prototype.hasOwnProperty,xe=(t,e)=>e5.call(t,e),me=Array.isArray,Ti=t=>ro(t)==="[object Map]",ts=t=>ro(t)==="[object Set]",of=t=>ro(t)==="[object Date]",we=t=>typeof t=="function",We=t=>typeof t=="string",Os=t=>typeof t=="symbol",Fe=t=>t!==null&&typeof t=="object",Op=t=>Fe(t)&&we(t.then)&&we(t.catch),$p=Object.prototype.toString,ro=t=>$p.call(t),t5=t=>ro(t).slice(8,-1),Dp=t=>ro(t)==="[object Object]",hu=t=>We(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Io=cu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ea=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},n5=/-(\w)/g,Ln=Ea(t=>t.replace(n5,(e,n)=>n?n.toUpperCase():"")),r5=/\B([A-Z])/g,ns=Ea(t=>t.replace(r5,"-$1").toLowerCase()),Ta=Ea(t=>t.charAt(0).toUpperCase()+t.slice(1)),al=Ea(t=>t?`on${Ta(t)}`:""),$s=(t,e)=>!Object.is(t,e),Oo=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Ds=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let af;const i5=()=>af||(af=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let bn;class Rp{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=bn,!e&&bn&&(this.index=(bn.scopes||(bn.scopes=[])).push(this)-1)}run(e){if(this.active){const n=bn;try{return bn=this,e()}finally{bn=n}}}on(){bn=this}off(){bn=this.parent}stop(e){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},Vp=t=>(t.w&hr)>0,Fp=t=>(t.n&hr)>0,a5=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":me(t)?hu(n)&&a.push(o.get("length")):(a.push(o.get(jr)),Ti(t)&&a.push(o.get(Jl)));break;case"delete":me(t)||(a.push(o.get(jr)),Ti(t)&&a.push(o.get(Jl)));break;case"set":Ti(t)&&a.push(o.get(jr));break}if(a.length===1)a[0]&&ec(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);ec(mu(l))}}function ec(t,e){const n=me(t)?t:[...t];for(const r of n)r.computed&&cf(r);for(const r of n)r.computed||cf(r)}function cf(t,e){(t!==ln||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const c5=cu("__proto__,__v_isRef,__isVue"),jp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Os)),u5=gu(),d5=gu(!1,!0),f5=gu(!0),uf=h5();function h5(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Me(this);for(let s=0,o=this.length;s{t[e]=function(...n){rs();const r=Me(this)[e].apply(this,n);return is(),r}}),t}function gu(t=!1,e=!1){return function(r,i,s){if(i==="__v_isReactive")return!t;if(i==="__v_isReadonly")return t;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&s===(t?e?L5:Qp:e?Wp:Up).get(r))return r;const o=me(r);if(!t&&o&&xe(uf,i))return Reflect.get(uf,i,s);const a=Reflect.get(r,i,s);return(Os(i)?jp.has(i):c5(i))||(t||qt(r,"get",i),e)?a:lt(a)?o&&hu(i)?a:a.value:Fe(a)?t?Kp(a):Jr(a):a}}const m5=zp(),p5=zp(!0);function zp(t=!1){return function(n,r,i,s){let o=n[r];if(Ri(o)&<(o)&&!lt(i))return!1;if(!t&&(!Zo(i)&&!Ri(i)&&(o=Me(o),i=Me(i)),!me(n)&<(o)&&!lt(i)))return o.value=i,!0;const a=me(n)&&hu(r)?Number(r)t,Ca=t=>Reflect.getPrototypeOf(t);function yo(t,e,n=!1,r=!1){t=t.__v_raw;const i=Me(t),s=Me(e);n||(e!==s&&qt(i,"get",e),qt(i,"get",s));const{has:o}=Ca(i),a=r?_u:n?Eu:Rs;if(o.call(i,e))return a(t.get(e));if(o.call(i,s))return a(t.get(s));t!==i&&t.get(e)}function wo(t,e=!1){const n=this.__v_raw,r=Me(n),i=Me(t);return e||(t!==i&&qt(r,"has",t),qt(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function Eo(t,e=!1){return t=t.__v_raw,!e&&qt(Me(t),"iterate",jr),Reflect.get(t,"size",t)}function df(t){t=Me(t);const e=Me(this);return Ca(e).has.call(e,t)||(e.add(t),Bn(e,"add",t,t)),this}function ff(t,e){e=Me(e);const n=Me(this),{has:r,get:i}=Ca(n);let s=r.call(n,t);s||(t=Me(t),s=r.call(n,t));const o=i.call(n,t);return n.set(t,e),s?$s(e,o)&&Bn(n,"set",t,e):Bn(n,"add",t,e),this}function hf(t){const e=Me(this),{has:n,get:r}=Ca(e);let i=n.call(e,t);i||(t=Me(t),i=n.call(e,t)),r&&r.call(e,t);const s=e.delete(t);return i&&Bn(e,"delete",t,void 0),s}function mf(){const t=Me(this),e=t.size!==0,n=t.clear();return e&&Bn(t,"clear",void 0,void 0),n}function To(t,e){return function(r,i){const s=this,o=s.__v_raw,a=Me(o),l=e?_u:t?Eu:Rs;return!t&&qt(a,"iterate",jr),o.forEach((c,u)=>r.call(i,l(c),l(u),s))}}function Co(t,e,n){return function(...r){const i=this.__v_raw,s=Me(i),o=Ti(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...r),u=n?_u:e?Eu:Rs;return!e&&qt(s,"iterate",l?Jl:jr),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Gn(t){return function(...e){return t==="delete"?!1:this}}function w5(){const t={get(s){return yo(this,s)},get size(){return Eo(this)},has:wo,add:df,set:ff,delete:hf,clear:mf,forEach:To(!1,!1)},e={get(s){return yo(this,s,!1,!0)},get size(){return Eo(this)},has:wo,add:df,set:ff,delete:hf,clear:mf,forEach:To(!1,!0)},n={get(s){return yo(this,s,!0)},get size(){return Eo(this,!0)},has(s){return wo.call(this,s,!0)},add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear"),forEach:To(!0,!1)},r={get(s){return yo(this,s,!0,!0)},get size(){return Eo(this,!0)},has(s){return wo.call(this,s,!0)},add:Gn("add"),set:Gn("set"),delete:Gn("delete"),clear:Gn("clear"),forEach:To(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Co(s,!1,!1),n[s]=Co(s,!0,!1),e[s]=Co(s,!1,!0),r[s]=Co(s,!0,!0)}),[t,n,e,r]}const[E5,T5,C5,S5]=w5();function vu(t,e){const n=e?t?S5:C5:t?T5:E5;return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(xe(n,i)&&i in r?n:r,i,s)}const k5={get:vu(!1,!1)},A5={get:vu(!1,!0)},x5={get:vu(!0,!1)},Up=new WeakMap,Wp=new WeakMap,Qp=new WeakMap,L5=new WeakMap;function P5(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function N5(t){return t.__v_skip||!Object.isExtensible(t)?0:P5(t5(t))}function Jr(t){return Ri(t)?t:bu(t,!1,Bp,k5,Up)}function M5(t){return bu(t,!1,y5,A5,Wp)}function Kp(t){return bu(t,!0,b5,x5,Qp)}function bu(t,e,n,r,i){if(!Fe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const o=N5(t);if(o===0)return t;const a=new Proxy(t,o===2?r:n);return i.set(t,a),a}function Ci(t){return Ri(t)?Ci(t.__v_raw):!!(t&&t.__v_isReactive)}function Ri(t){return!!(t&&t.__v_isReadonly)}function Zo(t){return!!(t&&t.__v_isShallow)}function yu(t){return Ci(t)||Ri(t)}function Me(t){const e=t&&t.__v_raw;return e?Me(e):t}function wu(t){return Go(t,"__v_skip",!0),t}const Rs=t=>Fe(t)?Jr(t):t,Eu=t=>Fe(t)?Kp(t):t;function Yp(t){sr&&ln&&(t=Me(t),Hp(t.dep||(t.dep=mu())))}function Gp(t,e){t=Me(t),t.dep&&ec(t.dep)}function lt(t){return!!(t&&t.__v_isRef===!0)}function cn(t){return Xp(t,!1)}function Zp(t){return Xp(t,!0)}function Xp(t,e){return lt(t)?t:new I5(t,e)}class I5{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Me(e),this._value=n?e:Rs(e)}get value(){return Yp(this),this._value}set value(e){const n=this.__v_isShallow||Zo(e)||Ri(e);e=n?e:Me(e),$s(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Rs(e),Gp(this))}}function Si(t){return lt(t)?t.value:t}const O5={get:(t,e,n)=>Si(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return lt(i)&&!lt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Jp(t){return Ci(t)?t:new Proxy(t,O5)}var eg;class $5{constructor(e,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[eg]=!1,this._dirty=!0,this.effect=new pu(e,()=>{this._dirty||(this._dirty=!0,Gp(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const e=Me(this);return Yp(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}eg="__v_isReadonly";function D5(t,e,n=!1){let r,i;const s=we(t);return s?(r=t,i=dn):(r=t.get,i=t.set),new $5(r,i,s||!i,n)}function or(t,e,n,r){let i;try{i=r?t(...r):t()}catch(s){Sa(s,e,n)}return i}function Jt(t,e,n,r){if(we(t)){const s=or(t,e,n,r);return s&&Op(s)&&s.catch(o=>{Sa(o,e,n)}),s}const i=[];for(let s=0;s>>1;Fs(dt[r])En&&dt.splice(e,1)}function q5(t){me(t)?ki.push(...t):(!On||!On.includes(t,t.allowRecurse?Or+1:Or))&&ki.push(t),rg()}function pf(t,e=Vs?En+1:0){for(;eFs(n)-Fs(r)),Or=0;Ort.id==null?1/0:t.id,H5=(t,e)=>{const n=Fs(t)-Fs(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function sg(t){tc=!1,Vs=!0,dt.sort(H5);const e=dn;try{for(En=0;EnWe(h)?h.trim():h)),f&&(i=n.map(Ds))}let a,l=r[a=al(e)]||r[a=al(Ln(e))];!l&&s&&(l=r[a=al(ns(e))]),l&&Jt(l,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Jt(c,t,6,i)}}function og(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!we(t)){const l=c=>{const u=og(c,e,!0);u&&(a=!0,mt(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(Fe(t)&&r.set(t,null),null):(me(s)?s.forEach(l=>o[l]=null):mt(o,s),Fe(t)&&r.set(t,o),o)}function ka(t,e){return!t||!wa(e)?!1:(e=e.slice(2).replace(/Once$/,""),xe(t,e[0].toLowerCase()+e.slice(1))||xe(t,ns(e))||xe(t,e))}let ct=null,Aa=null;function Xo(t){const e=ct;return ct=t,Aa=t&&t.type.__scopeId||null,e}function bt(t){Aa=t}function yt(){Aa=null}function Je(t,e=ct,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&kf(-1);const s=Xo(e);let o;try{o=t(...i)}finally{Xo(s),r._d&&kf(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function ll(t){const{type:e,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:w,inheritAttrs:g}=t;let E,_;const T=Xo(t);try{if(n.shapeFlag&4){const b=i||r;E=yn(u.call(b,b,f,s,h,d,w)),_=l}else{const b=e;E=yn(b.length>1?b(s,{attrs:l,slots:a,emit:c}):b(s,null)),_=e.props?l:z5(l)}}catch(b){Es.length=0,Sa(b,t,1),E=ne(Dt)}let S=E;if(_&&g!==!1){const b=Object.keys(_),{shapeFlag:y}=S;b.length&&y&7&&(o&&b.some(du)&&(_=B5(_,o)),S=mr(S,_))}return n.dirs&&(S=mr(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),E=S,Xo(T),E}const z5=t=>{let e;for(const n in t)(n==="class"||n==="style"||wa(n))&&((e||(e={}))[n]=t[n]);return e},B5=(t,e)=>{const n={};for(const r in t)(!du(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function U5(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?gf(r,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function K5(t,e){e&&e.pendingBranch?me(t)?e.effects.push(...t):e.effects.push(t):q5(t)}function $o(t,e){if(rt){let n=rt.provides;const r=rt.parent&&rt.parent.provides;r===n&&(n=rt.provides=Object.create(r)),n[t]=e}}function kn(t,e,n=!1){const r=rt||ct;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&we(e)?e.call(r.proxy):e}}const So={};function ar(t,e,n){return ag(t,e,n)}function ag(t,e,{immediate:n,deep:r,flush:i,onTrack:s,onTrigger:o}=qe){const a=rt;let l,c=!1,u=!1;if(lt(t)?(l=()=>t.value,c=Zo(t)):Ci(t)?(l=()=>t,r=!0):me(t)?(u=!0,c=t.some(S=>Ci(S)||Zo(S)),l=()=>t.map(S=>{if(lt(S))return S.value;if(Ci(S))return Fr(S);if(we(S))return or(S,a,2)})):we(t)?e?l=()=>or(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Jt(t,a,3,[d])}:l=dn,e&&r){const S=l;l=()=>Fr(S())}let f,d=S=>{f=_.onStop=()=>{or(S,a,4)}},h;if(Hs)if(d=dn,e?n&&Jt(e,a,3,[l(),u?[]:void 0,d]):l(),i==="sync"){const S=Fw();h=S.__watcherHandles||(S.__watcherHandles=[])}else return dn;let w=u?new Array(t.length).fill(So):So;const g=()=>{if(!!_.active)if(e){const S=_.run();(r||c||(u?S.some((b,y)=>$s(b,w[y])):$s(S,w)))&&(f&&f(),Jt(e,a,3,[S,w===So?void 0:u&&w[0]===So?[]:w,d]),w=S)}else _.run()};g.allowRecurse=!!e;let E;i==="sync"?E=g:i==="post"?E=()=>Et(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),E=()=>Cu(g));const _=new pu(l,E);e?n?g():w=_.run():i==="post"?Et(_.run.bind(_),a&&a.suspense):_.run();const T=()=>{_.stop(),a&&a.scope&&fu(a.scope.effects,_)};return h&&h.push(T),T}function Y5(t,e,n){const r=this.proxy,i=We(t)?t.includes(".")?lg(r,t):()=>r[t]:t.bind(r,r);let s;we(e)?s=e:(s=e.handler,n=e);const o=rt;Vi(this);const a=ag(i,s.bind(r),n);return o?Vi(o):zr(),a}function lg(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i{Fr(n,e)});else if(Dp(t))for(const n in t)Fr(t[n],e);return t}function G5(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ku(()=>{t.isMounted=!0}),hg(()=>{t.isUnmounting=!0}),t}const Bt=[Function,Array],Z5={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Bt,onEnter:Bt,onAfterEnter:Bt,onEnterCancelled:Bt,onBeforeLeave:Bt,onLeave:Bt,onAfterLeave:Bt,onLeaveCancelled:Bt,onBeforeAppear:Bt,onAppear:Bt,onAfterAppear:Bt,onAppearCancelled:Bt},setup(t,{slots:e}){const n=Pn(),r=G5();let i;return()=>{const s=e.default&&ug(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const g of s)if(g.type!==Dt){o=g;break}}const a=Me(t),{mode:l}=a;if(r.isLeaving)return cl(o);const c=_f(o);if(!c)return cl(o);const u=nc(c,a,r,n);rc(c,u);const f=n.subTree,d=f&&_f(f);let h=!1;const{getTransitionKey:w}=c.type;if(w){const g=w();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(d&&d.type!==Dt&&(!$r(c,d)||h)){const g=nc(d,a,r,n);if(rc(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},cl(o);l==="in-out"&&c.type!==Dt&&(g.delayLeave=(E,_,T)=>{const S=cg(r,d);S[String(d.key)]=d,E._leaveCb=()=>{_(),E._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=T})}return o}}},X5=Z5;function cg(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function nc(t,e,n,r){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:w,onBeforeAppear:g,onAppear:E,onAfterAppear:_,onAppearCancelled:T}=e,S=String(t.key),b=cg(n,t),y=(M,O)=>{M&&Jt(M,r,9,O)},A=(M,O)=>{const z=O[1];y(M,O),me(M)?M.every(G=>G.length<=1)&&z():M.length<=1&&z()},L={mode:s,persisted:o,beforeEnter(M){let O=a;if(!n.isMounted)if(i)O=g||a;else return;M._leaveCb&&M._leaveCb(!0);const z=b[S];z&&$r(t,z)&&z.el._leaveCb&&z.el._leaveCb(),y(O,[M])},enter(M){let O=l,z=c,G=u;if(!n.isMounted)if(i)O=E||l,z=_||c,G=T||u;else return;let J=!1;const re=M._enterCb=$=>{J||(J=!0,$?y(G,[M]):y(z,[M]),L.delayedLeave&&L.delayedLeave(),M._enterCb=void 0)};O?A(O,[M,re]):re()},leave(M,O){const z=String(t.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return O();y(f,[M]);let G=!1;const J=M._leaveCb=re=>{G||(G=!0,O(),re?y(w,[M]):y(h,[M]),M._leaveCb=void 0,b[z]===t&&delete b[z])};b[z]=t,d?A(d,[M,J]):J()},clone(M){return nc(M,e,n,r)}};return L}function cl(t){if(xa(t))return t=mr(t),t.children=null,t}function _f(t){return xa(t)?t.children?t.children[0]:void 0:t}function rc(t,e){t.shapeFlag&6&&t.component?rc(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 ug(t,e=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,xa=t=>t.type.__isKeepAlive;function J5(t,e){dg(t,"a",e)}function ew(t,e){dg(t,"da",e)}function dg(t,e,n=rt){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(La(e,r,n),n){let i=n.parent;for(;i&&i.parent;)xa(i.parent.vnode)&&tw(r,e,n,i),i=i.parent}}function tw(t,e,n,r){const i=La(e,t,r,!0);Pa(()=>{fu(r[e],i)},n)}function La(t,e,n=rt,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;rs(),Vi(n);const a=Jt(e,n,t,o);return zr(),is(),a});return r?i.unshift(s):i.push(s),s}}const Kn=t=>(e,n=rt)=>(!Hs||t==="sp")&&La(t,(...r)=>e(...r),n),fg=Kn("bm"),ku=Kn("m"),nw=Kn("bu"),rw=Kn("u"),hg=Kn("bum"),Pa=Kn("um"),iw=Kn("sp"),sw=Kn("rtg"),ow=Kn("rtc");function aw(t,e=rt){La("ec",t,e)}function Kt(t,e){const n=ct;if(n===null)return t;const r=Ma(n)||n.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,s&&s[a]));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;aea(e)?!(e.type===Dt||e.type===Ae&&!gg(e.children)):!0)?t:null}const ic=t=>t?Ag(t)?Ma(t)||t.proxy:ic(t.parent):null,ys=mt(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=>ic(t.parent),$root:t=>ic(t.root),$emit:t=>t.emit,$options:t=>Lu(t),$forceUpdate:t=>t.f||(t.f=()=>Cu(t.update)),$nextTick:t=>t.n||(t.n=ng.bind(t.proxy)),$watch:t=>Y5.bind(t)}),ul=(t,e)=>t!==qe&&!t.__isScriptSetup&&xe(t,e),lw={get({_:t},e){const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(ul(r,e))return o[e]=1,r[e];if(i!==qe&&xe(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&xe(c,e))return o[e]=3,s[e];if(n!==qe&&xe(n,e))return o[e]=4,n[e];sc&&(o[e]=0)}}const u=ys[e];let f,d;if(u)return e==="$attrs"&&qt(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==qe&&xe(n,e))return o[e]=4,n[e];if(d=l.config.globalProperties,xe(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return ul(i,e)?(i[e]=n,!0):r!==qe&&xe(r,e)?(r[e]=n,!0):xe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||t!==qe&&xe(t,o)||ul(e,o)||(a=s[0])&&xe(a,o)||xe(r,o)||xe(ys,o)||xe(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:xe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let sc=!0;function cw(t){const e=Lu(t),n=t.proxy,r=t.ctx;sc=!1,e.beforeCreate&&bf(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:w,activated:g,deactivated:E,beforeDestroy:_,beforeUnmount:T,destroyed:S,unmounted:b,render:y,renderTracked:A,renderTriggered:L,errorCaptured:M,serverPrefetch:O,expose:z,inheritAttrs:G,components:J,directives:re,filters:$}=e;if(c&&uw(c,r,null,t.appContext.config.unwrapInjectedRef),o)for(const U in o){const X=o[U];we(X)&&(r[U]=X.bind(n))}if(i){const U=i.call(n,n);Fe(U)&&(t.data=Jr(U))}if(sc=!0,s)for(const U in s){const X=s[U],oe=we(X)?X.bind(n,n):we(X.get)?X.get.bind(n,n):dn,ue=!we(X)&&we(X.set)?X.set.bind(n):dn,ce=je({get:oe,set:ue});Object.defineProperty(r,U,{enumerable:!0,configurable:!0,get:()=>ce.value,set:de=>ce.value=de})}if(a)for(const U in a)_g(a[U],r,n,U);if(l){const U=we(l)?l.call(n):l;Reflect.ownKeys(U).forEach(X=>{$o(X,U[X])})}u&&bf(u,t,"c");function Q(U,X){me(X)?X.forEach(oe=>U(oe.bind(n))):X&&U(X.bind(n))}if(Q(fg,f),Q(ku,d),Q(nw,h),Q(rw,w),Q(J5,g),Q(ew,E),Q(aw,M),Q(ow,A),Q(sw,L),Q(hg,T),Q(Pa,b),Q(iw,O),me(z))if(z.length){const U=t.exposed||(t.exposed={});z.forEach(X=>{Object.defineProperty(U,X,{get:()=>n[X],set:oe=>n[X]=oe})})}else t.exposed||(t.exposed={});y&&t.render===dn&&(t.render=y),G!=null&&(t.inheritAttrs=G),J&&(t.components=J),re&&(t.directives=re)}function uw(t,e,n=dn,r=!1){me(t)&&(t=oc(t));for(const i in t){const s=t[i];let o;Fe(s)?"default"in s?o=kn(s.from||i,s.default,!0):o=kn(s.from||i):o=kn(s),lt(o)&&r?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[i]=o}}function bf(t,e,n){Jt(me(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function _g(t,e,n,r){const i=r.includes(".")?lg(n,r):()=>n[r];if(We(t)){const s=e[t];we(s)&&ar(i,s)}else if(we(t))ar(i,t.bind(n));else if(Fe(t))if(me(t))t.forEach(s=>_g(s,e,n,r));else{const s=we(t.handler)?t.handler.bind(n):e[t.handler];we(s)&&ar(i,s,t)}}function Lu(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(c=>Jo(l,c,o,!0)),Jo(l,e,o)),Fe(e)&&s.set(e,l),l}function Jo(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Jo(t,s,n,!0),i&&i.forEach(o=>Jo(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=dw[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const dw={data:yf,props:Mr,emits:Mr,methods:Mr,computed:Mr,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:Mr,directives:Mr,watch:hw,provide:yf,inject:fw};function yf(t,e){return e?t?function(){return mt(we(t)?t.call(this,this):t,we(e)?e.call(this,this):e)}:e:t}function fw(t,e){return Mr(oc(t),oc(e))}function oc(t){if(me(t)){const e={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=bg(f,e,!0);mt(o,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return Fe(t)&&r.set(t,Ei),Ei;if(me(s))for(let u=0;u-1,h[1]=g<0||w-1||xe(h,"default"))&&a.push(f)}}}const c=[o,a];return Fe(t)&&r.set(t,c),c}function wf(t){return t[0]!=="$"}function Ef(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function Tf(t,e){return Ef(t)===Ef(e)}function Cf(t,e){return me(e)?e.findIndex(n=>Tf(n,t)):we(e)&&Tf(e,t)?0:-1}const yg=t=>t[0]==="_"||t==="$stable",Pu=t=>me(t)?t.map(yn):[yn(t)],gw=(t,e,n)=>{if(e._n)return e;const r=Je((...i)=>Pu(e(...i)),n);return r._c=!1,r},wg=(t,e,n)=>{const r=t._ctx;for(const i in t){if(yg(i))continue;const s=t[i];if(we(s))e[i]=gw(i,s,r);else if(s!=null){const o=Pu(s);e[i]=()=>o}}},Eg=(t,e)=>{const n=Pu(e);t.slots.default=()=>n},_w=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Me(e),Go(e,"_",n)):wg(e,t.slots={})}else t.slots={},e&&Eg(t,e);Go(t.slots,Na,1)},vw=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=qe;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:(mt(i,e),!n&&a===1&&delete i._):(s=!e.$stable,wg(e,i)),o=e}else e&&(Eg(t,e),o={default:1});if(s)for(const a in i)!yg(a)&&!(a in o)&&delete i[a]};function Tg(){return{app:null,config:{isNativeTag:Xy,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 bw=0;function yw(t,e){return function(r,i=null){we(r)||(r=Object.assign({},r)),i!=null&&!Fe(i)&&(i=null);const s=Tg(),o=new Set;let a=!1;const l=s.app={_uid:bw++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:qw,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&we(c.install)?(o.add(c),c.install(l,...u)):we(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=ne(r,i);return d.appContext=s,u&&e?e(d,c):t(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Ma(d.component)||d.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function lc(t,e,n,r,i=!1){if(me(t)){t.forEach((d,h)=>lc(d,e&&(me(e)?e[h]:e),n,r,i));return}if(bs(r)&&!i)return;const s=r.shapeFlag&4?Ma(r.component)||r.component.proxy:r.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===qe?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(We(c)?(u[c]=null,xe(f,c)&&(f[c]=null)):lt(c)&&(c.value=null)),we(l))or(l,a,12,[o,u]);else{const d=We(l),h=lt(l);if(d||h){const w=()=>{if(t.f){const g=d?xe(f,l)?f[l]:u[l]:l.value;i?me(g)&&fu(g,s):me(g)?g.includes(s)||g.push(s):d?(u[l]=[s],xe(f,l)&&(f[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else d?(u[l]=o,xe(f,l)&&(f[l]=o)):h&&(l.value=o,t.k&&(u[t.k]=o))};o?(w.id=-1,Et(w,n)):w()}}}const Et=K5;function ww(t){return Ew(t)}function Ew(t,e){const n=i5();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=dn,insertStaticContent:w}=t,g=(C,m,p,k=null,N=null,q=null,B=!1,W=null,Y=!!m.dynamicChildren)=>{if(C===m)return;C&&!$r(C,m)&&(k=j(C),de(C,N,q,!0),C=null),m.patchFlag===-2&&(Y=!1,m.dynamicChildren=null);const{type:H,ref:I,shapeFlag:D}=m;switch(H){case oo:E(C,m,p,k);break;case Dt:_(C,m,p,k);break;case dl:C==null&&T(m,p,k,B);break;case Ae:J(C,m,p,k,N,q,B,W,Y);break;default:D&1?y(C,m,p,k,N,q,B,W,Y):D&6?re(C,m,p,k,N,q,B,W,Y):(D&64||D&128)&&H.process(C,m,p,k,N,q,B,W,Y,pe)}I!=null&&N&&lc(I,C&&C.ref,q,m||C,!m)},E=(C,m,p,k)=>{if(C==null)r(m.el=a(m.children),p,k);else{const N=m.el=C.el;m.children!==C.children&&c(N,m.children)}},_=(C,m,p,k)=>{C==null?r(m.el=l(m.children||""),p,k):m.el=C.el},T=(C,m,p,k)=>{[C.el,C.anchor]=w(C.children,m,p,k,C.el,C.anchor)},S=({el:C,anchor:m},p,k)=>{let N;for(;C&&C!==m;)N=d(C),r(C,p,k),C=N;r(m,p,k)},b=({el:C,anchor:m})=>{let p;for(;C&&C!==m;)p=d(C),i(C),C=p;i(m)},y=(C,m,p,k,N,q,B,W,Y)=>{B=B||m.type==="svg",C==null?A(m,p,k,N,q,B,W,Y):O(C,m,N,q,B,W,Y)},A=(C,m,p,k,N,q,B,W)=>{let Y,H;const{type:I,props:D,shapeFlag:ie,transition:se,dirs:_e}=C;if(Y=C.el=o(C.type,q,D&&D.is,D),ie&8?u(Y,C.children):ie&16&&M(C.children,Y,null,k,N,q&&I!=="foreignObject",B,W),_e&&xr(C,null,k,"created"),D){for(const Te in D)Te!=="value"&&!Io(Te)&&s(Y,Te,null,D[Te],q,C.children,k,N,Z);"value"in D&&s(Y,"value",null,D.value),(H=D.onVnodeBeforeMount)&&_n(H,k,C)}L(Y,C,C.scopeId,B,k),_e&&xr(C,null,k,"beforeMount");const ke=(!N||N&&!N.pendingBranch)&&se&&!se.persisted;ke&&se.beforeEnter(Y),r(Y,m,p),((H=D&&D.onVnodeMounted)||ke||_e)&&Et(()=>{H&&_n(H,k,C),ke&&se.enter(Y),_e&&xr(C,null,k,"mounted")},N)},L=(C,m,p,k,N)=>{if(p&&h(C,p),k)for(let q=0;q{for(let H=Y;H{const W=m.el=C.el;let{patchFlag:Y,dynamicChildren:H,dirs:I}=m;Y|=C.patchFlag&16;const D=C.props||qe,ie=m.props||qe;let se;p&&Lr(p,!1),(se=ie.onVnodeBeforeUpdate)&&_n(se,p,m,C),I&&xr(m,C,p,"beforeUpdate"),p&&Lr(p,!0);const _e=N&&m.type!=="foreignObject";if(H?z(C.dynamicChildren,H,W,p,k,_e,q):B||X(C,m,W,null,p,k,_e,q,!1),Y>0){if(Y&16)G(W,m,D,ie,p,k,N);else if(Y&2&&D.class!==ie.class&&s(W,"class",null,ie.class,N),Y&4&&s(W,"style",D.style,ie.style,N),Y&8){const ke=m.dynamicProps;for(let Te=0;Te{se&&_n(se,p,m,C),I&&xr(m,C,p,"updated")},k)},z=(C,m,p,k,N,q,B)=>{for(let W=0;W{if(p!==k){if(p!==qe)for(const W in p)!Io(W)&&!(W in k)&&s(C,W,p[W],null,B,m.children,N,q,Z);for(const W in k){if(Io(W))continue;const Y=k[W],H=p[W];Y!==H&&W!=="value"&&s(C,W,H,Y,B,m.children,N,q,Z)}"value"in k&&s(C,"value",p.value,k.value)}},J=(C,m,p,k,N,q,B,W,Y)=>{const H=m.el=C?C.el:a(""),I=m.anchor=C?C.anchor:a("");let{patchFlag:D,dynamicChildren:ie,slotScopeIds:se}=m;se&&(W=W?W.concat(se):se),C==null?(r(H,p,k),r(I,p,k),M(m.children,p,I,N,q,B,W,Y)):D>0&&D&64&&ie&&C.dynamicChildren?(z(C.dynamicChildren,ie,p,N,q,B,W),(m.key!=null||N&&m===N.subTree)&&Nu(C,m,!0)):X(C,m,p,I,N,q,B,W,Y)},re=(C,m,p,k,N,q,B,W,Y)=>{m.slotScopeIds=W,C==null?m.shapeFlag&512?N.ctx.activate(m,p,k,B,Y):$(m,p,k,N,q,B,Y):P(C,m,Y)},$=(C,m,p,k,N,q,B)=>{const W=C.component=Nw(C,k,N);if(xa(C)&&(W.ctx.renderer=pe),Mw(W),W.asyncDep){if(N&&N.registerDep(W,Q),!C.el){const Y=W.subTree=ne(Dt);_(null,Y,m,p)}return}Q(W,C,m,p,N,q,B)},P=(C,m,p)=>{const k=m.component=C.component;if(U5(C,m,p))if(k.asyncDep&&!k.asyncResolved){U(k,m,p);return}else k.next=m,F5(k.update),k.update();else m.el=C.el,k.vnode=m},Q=(C,m,p,k,N,q,B)=>{const W=()=>{if(C.isMounted){let{next:I,bu:D,u:ie,parent:se,vnode:_e}=C,ke=I,Te;Lr(C,!1),I?(I.el=_e.el,U(C,I,B)):I=_e,D&&Oo(D),(Te=I.props&&I.props.onVnodeBeforeUpdate)&&_n(Te,se,I,_e),Lr(C,!0);const Be=ll(C),zt=C.subTree;C.subTree=Be,g(zt,Be,f(zt.el),j(zt),C,N,q),I.el=Be.el,ke===null&&W5(C,Be.el),ie&&Et(ie,N),(Te=I.props&&I.props.onVnodeUpdated)&&Et(()=>_n(Te,se,I,_e),N)}else{let I;const{el:D,props:ie}=m,{bm:se,m:_e,parent:ke}=C,Te=bs(m);if(Lr(C,!1),se&&Oo(se),!Te&&(I=ie&&ie.onVnodeBeforeMount)&&_n(I,ke,m),Lr(C,!0),D&&fe){const Be=()=>{C.subTree=ll(C),fe(D,C.subTree,C,N,null)};Te?m.type.__asyncLoader().then(()=>!C.isUnmounted&&Be()):Be()}else{const Be=C.subTree=ll(C);g(null,Be,p,k,C,N,q),m.el=Be.el}if(_e&&Et(_e,N),!Te&&(I=ie&&ie.onVnodeMounted)){const Be=m;Et(()=>_n(I,ke,Be),N)}(m.shapeFlag&256||ke&&bs(ke.vnode)&&ke.vnode.shapeFlag&256)&&C.a&&Et(C.a,N),C.isMounted=!0,m=p=k=null}},Y=C.effect=new pu(W,()=>Cu(H),C.scope),H=C.update=()=>Y.run();H.id=C.uid,Lr(C,!0),H()},U=(C,m,p)=>{m.component=C;const k=C.vnode.props;C.vnode=m,C.next=null,pw(C,m.props,k,p),vw(C,m.children,p),rs(),pf(),is()},X=(C,m,p,k,N,q,B,W,Y=!1)=>{const H=C&&C.children,I=C?C.shapeFlag:0,D=m.children,{patchFlag:ie,shapeFlag:se}=m;if(ie>0){if(ie&128){ue(H,D,p,k,N,q,B,W,Y);return}else if(ie&256){oe(H,D,p,k,N,q,B,W,Y);return}}se&8?(I&16&&Z(H,N,q),D!==H&&u(p,D)):I&16?se&16?ue(H,D,p,k,N,q,B,W,Y):Z(H,N,q,!0):(I&8&&u(p,""),se&16&&M(D,p,k,N,q,B,W,Y))},oe=(C,m,p,k,N,q,B,W,Y)=>{C=C||Ei,m=m||Ei;const H=C.length,I=m.length,D=Math.min(H,I);let ie;for(ie=0;ieI?Z(C,N,q,!0,!1,D):M(m,p,k,N,q,B,W,Y,D)},ue=(C,m,p,k,N,q,B,W,Y)=>{let H=0;const I=m.length;let D=C.length-1,ie=I-1;for(;H<=D&&H<=ie;){const se=C[H],_e=m[H]=Y?Jn(m[H]):yn(m[H]);if($r(se,_e))g(se,_e,p,null,N,q,B,W,Y);else break;H++}for(;H<=D&&H<=ie;){const se=C[D],_e=m[ie]=Y?Jn(m[ie]):yn(m[ie]);if($r(se,_e))g(se,_e,p,null,N,q,B,W,Y);else break;D--,ie--}if(H>D){if(H<=ie){const se=ie+1,_e=seie)for(;H<=D;)de(C[H],N,q,!0),H++;else{const se=H,_e=H,ke=new Map;for(H=_e;H<=ie;H++){const Nt=m[H]=Y?Jn(m[H]):yn(m[H]);Nt.key!=null&&ke.set(Nt.key,H)}let Te,Be=0;const zt=ie-_e+1;let si=!1,wd=0;const as=new Array(zt);for(H=0;H=zt){de(Nt,N,q,!0);continue}let gn;if(Nt.key!=null)gn=ke.get(Nt.key);else for(Te=_e;Te<=ie;Te++)if(as[Te-_e]===0&&$r(Nt,m[Te])){gn=Te;break}gn===void 0?de(Nt,N,q,!0):(as[gn-_e]=H+1,gn>=wd?wd=gn:si=!0,g(Nt,m[gn],p,null,N,q,B,W,Y),Be++)}const Ed=si?Tw(as):Ei;for(Te=Ed.length-1,H=zt-1;H>=0;H--){const Nt=_e+H,gn=m[Nt],Td=Nt+1{const{el:q,type:B,transition:W,children:Y,shapeFlag:H}=C;if(H&6){ce(C.component.subTree,m,p,k);return}if(H&128){C.suspense.move(m,p,k);return}if(H&64){B.move(C,m,p,pe);return}if(B===Ae){r(q,m,p);for(let D=0;DW.enter(q),N);else{const{leave:D,delayLeave:ie,afterLeave:se}=W,_e=()=>r(q,m,p),ke=()=>{D(q,()=>{_e(),se&&se()})};ie?ie(q,_e,ke):ke()}else r(q,m,p)},de=(C,m,p,k=!1,N=!1)=>{const{type:q,props:B,ref:W,children:Y,dynamicChildren:H,shapeFlag:I,patchFlag:D,dirs:ie}=C;if(W!=null&&lc(W,null,p,C,!0),I&256){m.ctx.deactivate(C);return}const se=I&1&&ie,_e=!bs(C);let ke;if(_e&&(ke=B&&B.onVnodeBeforeUnmount)&&_n(ke,m,C),I&6)V(C.component,p,k);else{if(I&128){C.suspense.unmount(p,k);return}se&&xr(C,null,m,"beforeUnmount"),I&64?C.type.remove(C,m,p,N,pe,k):H&&(q!==Ae||D>0&&D&64)?Z(H,m,p,!1,!0):(q===Ae&&D&384||!N&&I&16)&&Z(Y,m,p),k&&Ie(C)}(_e&&(ke=B&&B.onVnodeUnmounted)||se)&&Et(()=>{ke&&_n(ke,m,C),se&&xr(C,null,m,"unmounted")},p)},Ie=C=>{const{type:m,el:p,anchor:k,transition:N}=C;if(m===Ae){he(p,k);return}if(m===dl){b(C);return}const q=()=>{i(p),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(C.shapeFlag&1&&N&&!N.persisted){const{leave:B,delayLeave:W}=N,Y=()=>B(p,q);W?W(C.el,q,Y):Y()}else q()},he=(C,m)=>{let p;for(;C!==m;)p=d(C),i(C),C=p;i(m)},V=(C,m,p)=>{const{bum:k,scope:N,update:q,subTree:B,um:W}=C;k&&Oo(k),N.stop(),q&&(q.active=!1,de(B,C,m,p)),W&&Et(W,m),Et(()=>{C.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Z=(C,m,p,k=!1,N=!1,q=0)=>{for(let B=q;BC.shapeFlag&6?j(C.component.subTree):C.shapeFlag&128?C.suspense.next():d(C.anchor||C.el),ee=(C,m,p)=>{C==null?m._vnode&&de(m._vnode,null,null,!0):g(m._vnode||null,C,m,null,null,null,p),pf(),ig(),m._vnode=C},pe={p:g,um:de,m:ce,r:Ie,mt:$,mc:M,pc:X,pbc:z,n:j,o:t};let ye,fe;return e&&([ye,fe]=e(pe)),{render:ee,hydrate:ye,createApp:yw(ee,ye)}}function Lr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Nu(t,e,n=!1){const r=t.children,i=e.children;if(me(r)&&me(i))for(let s=0;s>1,t[n[a]]0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}const Cw=t=>t.__isTeleport,ws=t=>t&&(t.disabled||t.disabled===""),Sf=t=>typeof SVGElement<"u"&&t instanceof SVGElement,cc=(t,e)=>{const n=t&&t.to;return We(n)?e?e(n):null:n},Sw={__isTeleport:!0,process(t,e,n,r,i,s,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:w,createText:g,createComment:E}}=c,_=ws(e.props);let{shapeFlag:T,children:S,dynamicChildren:b}=e;if(t==null){const y=e.el=g(""),A=e.anchor=g("");h(y,n,r),h(A,n,r);const L=e.target=cc(e.props,w),M=e.targetAnchor=g("");L&&(h(M,L),o=o||Sf(L));const O=(z,G)=>{T&16&&u(S,z,G,i,s,o,a,l)};_?O(n,A):L&&O(L,M)}else{e.el=t.el;const y=e.anchor=t.anchor,A=e.target=t.target,L=e.targetAnchor=t.targetAnchor,M=ws(t.props),O=M?n:A,z=M?y:L;if(o=o||Sf(A),b?(d(t.dynamicChildren,b,O,i,s,o,a),Nu(t,e,!0)):l||f(t,e,O,z,i,s,o,a,!1),_)M||ko(e,n,y,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const G=e.target=cc(e.props,w);G&&ko(e,G,null,c,0)}else M&&ko(e,A,L,c,1)}Cg(e)},remove(t,e,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=t;if(f&&s(u),(o||!ws(d))&&(s(c),a&16))for(let h=0;h0?un||Ei:null,Aw(),qs>0&&un&&un.push(t),t}function R(t,e,n,r,i,s){return Sg(v(t,e,n,r,i,s,!0))}function ve(t,e,n,r,i){return Sg(ne(t,e,n,r,i,!0))}function ea(t){return t?t.__v_isVNode===!0:!1}function $r(t,e){return t.type===e.type&&t.key===e.key}const Na="__vInternal",kg=({key:t})=>t!=null?t:null,Do=({ref:t,ref_key:e,ref_for:n})=>t!=null?We(t)||lt(t)||we(t)?{i:ct,r:t,k:e,f:!!n}:t:null;function v(t,e=null,n=null,r=0,i=null,s=t===Ae?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&kg(e),ref:e&&Do(e),scopeId:Aa,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ct};return a?(Mu(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=We(n)?8:16),qs>0&&!o&&un&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&un.push(l),l}const ne=xw;function xw(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===mg)&&(t=Dt),ea(t)){const a=mr(t,e,!0);return n&&Mu(a,n),qs>0&&!s&&un&&(a.shapeFlag&6?un[un.indexOf(t)]=a:un.push(a)),a.patchFlag|=-2,a}if(Rw(t)&&(t=t.__vccOpts),e){e=Qt(e);let{class:a,style:l}=e;a&&!We(a)&&(e.class=Ne(a)),Fe(l)&&(yu(l)&&!me(l)&&(l=mt({},l)),e.style=Ct(l))}const o=We(t)?1:Q5(t)?128:Cw(t)?64:Fe(t)?4:we(t)?2:0;return v(t,e,n,r,i,o,s,!0)}function Qt(t){return t?yu(t)||Na in t?mt({},t):t:null}function mr(t,e,n=!1){const{props:r,ref:i,patchFlag:s,children:o}=t,a=e?$t(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&kg(a),ref:e&&e.ref?n&&i?me(i)?i.concat(Do(e)):[i,Do(e)]:Do(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ae?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&mr(t.ssContent),ssFallback:t.ssFallback&&mr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx}}function Le(t=" ",e=0){return ne(oo,null,t,e)}function be(t="",e=!1){return e?(x(),ve(Dt,null,t)):ne(Dt,null,t)}function yn(t){return t==null||typeof t=="boolean"?ne(Dt):me(t)?ne(Ae,null,t.slice()):typeof t=="object"?Jn(t):ne(oo,null,String(t))}function Jn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:mr(t)}function Mu(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(me(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),Mu(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!(Na in e)?e._ctx=ct:i===3&&ct&&(ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else we(e)?(e={default:e,_ctx:ct},n=32):(e=String(e),r&64?(n=16,e=[Le(e)]):n=8);t.children=e,t.shapeFlag|=n}function $t(...t){const e={};for(let n=0;nrt||ct,Vi=t=>{rt=t,t.scope.on()},zr=()=>{rt&&rt.scope.off(),rt=null};function Ag(t){return t.vnode.shapeFlag&4}let Hs=!1;function Mw(t,e=!1){Hs=e;const{props:n,children:r}=t.vnode,i=Ag(t);mw(t,n,i,e),_w(t,r);const s=i?Iw(t,e):void 0;return Hs=!1,s}function Iw(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=wu(new Proxy(t.ctx,lw));const{setup:r}=n;if(r){const i=t.setupContext=r.length>1?$w(t):null;Vi(t),rs();const s=or(r,t,0,[t.props,i]);if(is(),zr(),Op(s)){if(s.then(zr,zr),e)return s.then(o=>{Af(t,o,e)}).catch(o=>{Sa(o,t,0)});t.asyncDep=s}else Af(t,s,e)}else xg(t,e)}function Af(t,e,n){we(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Fe(e)&&(t.setupState=Jp(e)),xg(t,n)}let xf;function xg(t,e,n){const r=t.type;if(!t.render){if(!e&&xf&&!r.render){const i=r.template||Lu(t).template;if(i){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=r,c=mt(mt({isCustomElement:s,delimiters:a},o),l);r.render=xf(i,c)}}t.render=r.render||dn}Vi(t),rs(),cw(t),is(),zr()}function Ow(t){return new Proxy(t.attrs,{get(e,n){return qt(t,"get","$attrs"),e[n]}})}function $w(t){const e=r=>{t.exposed=r||{}};let n;return{get attrs(){return n||(n=Ow(t))},slots:t.slots,emit:t.emit,expose:e}}function Ma(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Jp(wu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ys)return ys[n](t)},has(e,n){return n in e||n in ys}}))}function Dw(t,e=!0){return we(t)?t.displayName||t.name:t.name||e&&t.__name}function Rw(t){return we(t)&&"__vccOpts"in t}const je=(t,e)=>D5(t,e,Hs);function Tr(t,e,n){const r=arguments.length;return r===2?Fe(e)&&!me(e)?ea(e)?ne(t,null,[e]):ne(t,e):ne(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ea(n)&&(n=[n]),ne(t,e,n))}const Vw=Symbol(""),Fw=()=>kn(Vw),qw="3.2.45",Hw="http://www.w3.org/2000/svg",Dr=typeof document<"u"?document:null,Lf=Dr&&Dr.createElement("template"),jw={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?Dr.createElementNS(Hw,t):Dr.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Dr.createTextNode(t),createComment:t=>Dr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Dr.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Lf.innerHTML=r?`${t}`:t;const a=Lf.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function zw(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function Bw(t,e,n){const r=t.style,i=We(n);if(n&&!i){for(const s in n)uc(r,s,n[s]);if(e&&!We(e))for(const s in e)n[s]==null&&uc(r,s,"")}else{const s=r.display;i?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(r.display=s)}}const Pf=/\s*!important$/;function uc(t,e,n){if(me(n))n.forEach(r=>uc(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Uw(t,e);Pf.test(n)?t.setProperty(ns(r),n.replace(Pf,""),"important"):t[r]=n}}const Nf=["Webkit","Moz","ms"],fl={};function Uw(t,e){const n=fl[e];if(n)return n;let r=Ln(e);if(r!=="filter"&&r in t)return fl[e]=r;r=Ta(r);for(let i=0;ihl||(Zw.then(()=>hl=0),hl=Date.now());function Jw(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Jt(eE(r,n.value),e,5,[r])};return n.value=t,n.attached=Xw(),n}function eE(t,e){if(me(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const Of=/^on[a-z]/,tE=(t,e,n,r,i=!1,s,o,a,l)=>{e==="class"?zw(t,r,i):e==="style"?Bw(t,n,r):wa(e)?du(e)||Yw(t,e,n,r,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):nE(t,e,r,i))?Qw(t,e,r,s,o,a,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Ww(t,e,r,i))};function nE(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&Of.test(e)&&we(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Of.test(e)&&We(n)?!1:e in t}const rE={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};X5.props;const pr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return me(e)?n=>Oo(e,n):e};function iE(t){t.target.composing=!0}function $f(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const sE={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t._assign=pr(i);const s=r||i.props&&i.props.type==="number";Vn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),s&&(a=Ds(a)),t._assign(a)}),n&&Vn(t,"change",()=>{t.value=t.value.trim()}),e||(Vn(t,"compositionstart",iE),Vn(t,"compositionend",$f),Vn(t,"change",$f))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:i}},s){if(t._assign=pr(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===e||(i||t.type==="number")&&Ds(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},oE={deep:!0,created(t,e,n){t._assign=pr(n),Vn(t,"change",()=>{const r=t._modelValue,i=Fi(t),s=t.checked,o=t._assign;if(me(r)){const a=uu(r,i),l=a!==-1;if(s&&!l)o(r.concat(i));else if(!s&&l){const c=[...r];c.splice(a,1),o(c)}}else if(ts(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(Lg(t,s))})},mounted:Df,beforeUpdate(t,e,n){t._assign=pr(n),Df(t,e,n)}};function Df(t,{value:e,oldValue:n},r){t._modelValue=e,me(e)?t.checked=uu(e,r.props.value)>-1:ts(e)?t.checked=e.has(r.props.value):e!==n&&(t.checked=Yr(e,Lg(t,!0)))}const ml={created(t,{value:e},n){t.checked=Yr(e,n.props.value),t._assign=pr(n),Vn(t,"change",()=>{t._assign(Fi(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t._assign=pr(r),e!==n&&(t.checked=Yr(e,r.props.value))}},Ro={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=ts(e);Vn(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?Ds(Fi(o)):Fi(o));t._assign(t.multiple?i?new Set(s):s:s[0])}),t._assign=pr(r)},mounted(t,{value:e}){Rf(t,e)},beforeUpdate(t,e,n){t._assign=pr(n)},updated(t,{value:e}){Rf(t,e)}};function Rf(t,e){const n=t.multiple;if(!(n&&!me(e)&&!ts(e))){for(let r=0,i=t.options.length;r-1:s.selected=e.has(o);else if(Yr(Fi(s),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Fi(t){return"_value"in t?t._value:t.value}function Lg(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const aE=["ctrl","shift","alt","meta"],lE={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)=>aE.some(n=>t[`${n}Key`]&&!e.includes(n))},js=(t,e)=>(n,...r)=>{for(let i=0;i{us(t,!1)}):us(t,e))},beforeUnmount(t,{value:e}){us(t,e)}};function us(t,e){t.style.display=e?t._vod:"none"}const cE=mt({patchProp:tE},jw);let Vf;function uE(){return Vf||(Vf=ww(cE))}const dE=(...t)=>{const e=uE().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=fE(r);if(!i)return;const s=e._component;!we(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function fE(t){return We(t)?document.querySelector(t):t}/** * vue-meta v3.0.0-alpha.10 * (c) 2022 * - Pim (@pimlie) @@ -28,7 +28,7 @@ var V1=Object.defineProperty;var F1=(t,e,n)=>e in t?V1(t,e,{enumerable:!0,config * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const gi=typeof window<"u";function X8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Oe=Object.assign;function Sl(t,e){const n={};for(const r in e){const i=e[r];n[r]=hn(i)?i.map(t):t(i)}return n}const xs=()=>{},hn=Array.isArray,J8=/\/$/,eT=t=>t.replace(J8,"");function kl(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=t(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=iT(r!=null?r:e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function tT(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function oh(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function nT(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Qi(e.matched[r],n.matched[i])&&O_(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Qi(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function O_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!rT(t[n],e[n]))return!1;return!0}function rT(t,e){return hn(t)?ah(t,e):hn(e)?ah(e,t):t===e}function ah(t,e){return hn(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function iT(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i=n.length-1,s,o;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Gs;(function(t){t.pop="pop",t.push="push"})(Gs||(Gs={}));var Ls;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ls||(Ls={}));function sT(t){if(!t)if(gi){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),eT(t)}const oT=/^[^#]+#/;function aT(t,e){return t.replace(oT,"#")+e}function lT(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Ra=()=>({left:window.pageXOffset,top:window.pageYOffset});function cT(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=lT(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function lh(t,e){return(history.state?history.state.position-e:-1)+t}const Ac=new Map;function uT(t,e){Ac.set(t,e)}function dT(t){const e=Ac.get(t);return Ac.delete(t),e}let fT=()=>location.protocol+"//"+location.host;function $_(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let a=i.includes(t.slice(s))?t.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),oh(l,"")}return oh(n,t)+r+i}function hT(t,e,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=$_(t,location),w=n.value,g=e.value;let E=0;if(d){if(n.value=h,e.value=d,o&&o===w){o=null;return}E=g?d.position-g.position:0}else r(h);i.forEach(_=>{_(n.value,w,{delta:E,type:Gs.pop,direction:E?E>0?Ls.forward:Ls.back:Ls.unknown})})};function l(){o=n.value}function c(d){i.push(d);const h=()=>{const w=i.indexOf(d);w>-1&&i.splice(w,1)};return s.push(h),h}function u(){const{history:d}=window;!d.state||d.replaceState(Oe({},d.state,{scroll:Ra()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function ch(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?Ra():null}}function mT(t){const{history:e,location:n}=window,r={value:$_(t,n)},i={value:e.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=t.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:fT()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(l,c){const u=Oe({},e.state,ch(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Oe({},i.value,e.state,{forward:l,scroll:Ra()});s(u.current,u,!0);const f=Oe({},ch(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function pT(t){t=sT(t);const e=mT(t),n=hT(t,e.state,e.location,e.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Oe({location:"",base:t,go:r,createHref:aT.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function gT(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),pT(t)}function _T(t){return typeof t=="string"||t&&typeof t=="object"}function D_(t){return typeof t=="string"||typeof t=="symbol"}const Zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},R_=Symbol("");var uh;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(uh||(uh={}));function Ki(t,e){return Oe(new Error,{type:t,[R_]:!0},e)}function Mn(t,e){return t instanceof Error&&R_ in t&&(e==null||!!(t.type&e))}const dh="[^/]+?",vT={sensitive:!1,strict:!1,start:!0,end:!0},bT=/[.+*?^${}()[\]/\\]/g;function yT(t,e){const n=Oe({},vT,e),r=[];let i=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function ET(t,e){let n=0;const r=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const TT={type:0,value:""},CT=/[a-zA-Z0-9_]/;function ST(t){if(!t)return[[]];if(t==="/")return[[TT]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function f(){!c||(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{o(T)}:xs}function o(u){if(D_(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!V_(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!mh(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},w,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Ki(1,{location:u});g=d.record.name,h=Oe(hh(f.params,d.keys.filter(T=>!T.optional).map(T=>T.name)),u.params&&hh(u.params,d.keys.map(T=>T.name))),w=d.stringify(h)}else if("path"in u)w=u.path,d=n.find(T=>T.re.test(w)),d&&(h=d.parse(w),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(T=>T.re.test(f.path)),!d)throw Ki(1,{location:u,currentLocation:f});g=d.record.name,h=Oe({},f.params,u.params),w=d.stringify(h)}const E=[];let _=d;for(;_;)E.unshift(_.record),_=_.parent;return{name:g,path:w,params:h,matched:E,meta:PT(E)}}return t.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function hh(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function xT(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:LT(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function LT(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="boolean"?n:n[r];return e}function mh(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function PT(t){return t.reduce((e,n)=>Oe(e,n.meta),{})}function ph(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function V_(t,e){return e.children.some(n=>n===t||V_(t,n))}const F_=/#/g,NT=/&/g,MT=/\//g,IT=/=/g,OT=/\?/g,q_=/\+/g,$T=/%5B/g,DT=/%5D/g,H_=/%5E/g,RT=/%60/g,j_=/%7B/g,VT=/%7C/g,z_=/%7D/g,FT=/%20/g;function Gu(t){return encodeURI(""+t).replace(VT,"|").replace($T,"[").replace(DT,"]")}function qT(t){return Gu(t).replace(j_,"{").replace(z_,"}").replace(H_,"^")}function xc(t){return Gu(t).replace(q_,"%2B").replace(FT,"+").replace(F_,"%23").replace(NT,"%26").replace(RT,"`").replace(j_,"{").replace(z_,"}").replace(H_,"^")}function HT(t){return xc(t).replace(IT,"%3D")}function jT(t){return Gu(t).replace(F_,"%23").replace(OT,"%3F")}function zT(t){return t==null?"":jT(t).replace(MT,"%2F")}function da(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function BT(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;is&&xc(s)):[r&&xc(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function UT(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=hn(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const WT=Symbol(""),_h=Symbol(""),Zu=Symbol(""),B_=Symbol(""),Lc=Symbol("");function fs(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function er(t,e,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(Ki(4,{from:n,to:e})):f instanceof Error?a(f):_T(f)?a(Ki(2,{from:e,to:f})):(s&&r.enterCallbacks[i]===s&&typeof f=="function"&&s.push(f),o())},c=t.call(r&&r.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Al(t,e,n,r){const i=[];for(const s of t)for(const o in s.components){let a=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(QT(a)){const c=(a.__vccOpts||a)[e];c&&i.push(er(c,n,r,s,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=X8(c)?c.default:c;s.components[o]=u;const d=(u.__vccOpts||u)[e];return d&&er(d,n,r,s,o)()}))}}return i}function QT(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function vh(t){const e=kn(Zu),n=kn(B_),r=je(()=>e.resolve(Si(t.to))),i=je(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Qi.bind(null,u));if(d>-1)return d;const h=bh(l[c-2]);return c>1&&bh(u)===h&&f[f.length-1].path!==h?f.findIndex(Qi.bind(null,l[c-2])):d}),s=je(()=>i.value>-1&&ZT(n.params,r.value.params)),o=je(()=>i.value>-1&&i.value===n.matched.length-1&&O_(n.params,r.value.params));function a(l={}){return GT(l)?e[Si(t.replace)?"replace":"push"](Si(t.to)).catch(xs):Promise.resolve()}return{route:r,href:je(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const KT=Su({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:vh,setup(t,{slots:e}){const n=Jr(vh(t)),{options:r}=kn(Zu),i=je(()=>({[yh(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[yh(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Tr("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),YT=KT;function GT(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 ZT(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!hn(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function bh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const yh=(t,e,n)=>t!=null?t:e!=null?e:n,XT=Su({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=kn(Lc),i=je(()=>t.route||r.value),s=kn(_h,0),o=je(()=>{let c=Si(s);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=je(()=>i.value.matched[o.value]);$o(_h,je(()=>o.value+1)),$o(WT,a),$o(Lc,i);const l=cn();return ar(()=>[l.value,a.value,t.name],([c,u,f],[d,h,w])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Qi(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,f=a.value,d=f&&f.components[u];if(!d)return wh(n.default,{Component:d,route:c});const h=f.props[u],w=h?h===!0?c.params:typeof h=="function"?h(c):h:null,E=Tr(d,Oe({},w,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return wh(n.default,{Component:E,route:c})||E}}});function wh(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const JT=XT;function e4(t){const e=AT(t.routes,t),n=t.parseQuery||BT,r=t.stringifyQuery||gh,i=t.history,s=fs(),o=fs(),a=fs(),l=Zp(Zn);let c=Zn;gi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Sl.bind(null,V=>""+V),f=Sl.bind(null,zT),d=Sl.bind(null,da);function h(V,Z){let j,ee;return D_(V)?(j=e.getRecordMatcher(V),ee=Z):ee=V,e.addRoute(ee,j)}function w(V){const Z=e.getRecordMatcher(V);Z&&e.removeRoute(Z)}function g(){return e.getRoutes().map(V=>V.record)}function E(V){return!!e.getRecordMatcher(V)}function _(V,Z){if(Z=Oe({},Z||l.value),typeof V=="string"){const C=kl(n,V,Z.path),m=e.resolve({path:C.path},Z),p=i.createHref(C.fullPath);return Oe(C,m,{params:d(m.params),hash:da(C.hash),redirectedFrom:void 0,href:p})}let j;if("path"in V)j=Oe({},V,{path:kl(n,V.path,Z.path).path});else{const C=Oe({},V.params);for(const m in C)C[m]==null&&delete C[m];j=Oe({},V,{params:f(V.params)}),Z.params=f(Z.params)}const ee=e.resolve(j,Z),pe=V.hash||"";ee.params=u(d(ee.params));const ye=tT(r,Oe({},V,{hash:qT(pe),path:ee.path})),fe=i.createHref(ye);return Oe({fullPath:ye,hash:pe,query:r===gh?UT(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:fe})}function T(V){return typeof V=="string"?kl(n,V,l.value.path):Oe({},V)}function S(V,Z){if(c!==V)return Ki(8,{from:Z,to:V})}function b(V){return L(V)}function y(V){return b(Oe(T(V),{replace:!0}))}function A(V){const Z=V.matched[V.matched.length-1];if(Z&&Z.redirect){const{redirect:j}=Z;let ee=typeof j=="function"?j(V):j;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=T(ee):{path:ee},ee.params={}),Oe({query:V.query,hash:V.hash,params:"path"in ee?{}:V.params},ee)}}function L(V,Z){const j=c=_(V),ee=l.value,pe=V.state,ye=V.force,fe=V.replace===!0,C=A(j);if(C)return L(Oe(T(C),{state:typeof C=="object"?Oe({},pe,C.state):pe,force:ye,replace:fe}),Z||j);const m=j;m.redirectedFrom=Z;let p;return!ye&&nT(r,ee,j)&&(p=Ki(16,{to:m,from:ee}),ue(ee,ee,!0,!1)),(p?Promise.resolve(p):O(m,ee)).catch(k=>Mn(k)?Mn(k,2)?k:oe(k):U(k,m,ee)).then(k=>{if(k){if(Mn(k,2))return L(Oe({replace:fe},T(k.to),{state:typeof k.to=="object"?Oe({},pe,k.to.state):pe,force:ye}),Z||m)}else k=G(m,ee,!0,fe,pe);return z(m,ee,k),k})}function M(V,Z){const j=S(V,Z);return j?Promise.reject(j):Promise.resolve()}function O(V,Z){let j;const[ee,pe,ye]=t4(V,Z);j=Al(ee.reverse(),"beforeRouteLeave",V,Z);for(const C of ee)C.leaveGuards.forEach(m=>{j.push(er(m,V,Z))});const fe=M.bind(null,V,Z);return j.push(fe),ci(j).then(()=>{j=[];for(const C of s.list())j.push(er(C,V,Z));return j.push(fe),ci(j)}).then(()=>{j=Al(pe,"beforeRouteUpdate",V,Z);for(const C of pe)C.updateGuards.forEach(m=>{j.push(er(m,V,Z))});return j.push(fe),ci(j)}).then(()=>{j=[];for(const C of V.matched)if(C.beforeEnter&&!Z.matched.includes(C))if(hn(C.beforeEnter))for(const m of C.beforeEnter)j.push(er(m,V,Z));else j.push(er(C.beforeEnter,V,Z));return j.push(fe),ci(j)}).then(()=>(V.matched.forEach(C=>C.enterCallbacks={}),j=Al(ye,"beforeRouteEnter",V,Z),j.push(fe),ci(j))).then(()=>{j=[];for(const C of o.list())j.push(er(C,V,Z));return j.push(fe),ci(j)}).catch(C=>Mn(C,8)?C:Promise.reject(C))}function z(V,Z,j){for(const ee of a.list())ee(V,Z,j)}function G(V,Z,j,ee,pe){const ye=S(V,Z);if(ye)return ye;const fe=Z===Zn,C=gi?history.state:{};j&&(ee||fe?i.replace(V.fullPath,Oe({scroll:fe&&C&&C.scroll},pe)):i.push(V.fullPath,pe)),l.value=V,ue(V,Z,j,fe),oe()}let J;function re(){J||(J=i.listen((V,Z,j)=>{if(!he.listening)return;const ee=_(V),pe=A(ee);if(pe){L(Oe(pe,{replace:!0}),ee).catch(xs);return}c=ee;const ye=l.value;gi&&uT(lh(ye.fullPath,j.delta),Ra()),O(ee,ye).catch(fe=>Mn(fe,12)?fe:Mn(fe,2)?(L(fe.to,ee).then(C=>{Mn(C,20)&&!j.delta&&j.type===Gs.pop&&i.go(-1,!1)}).catch(xs),Promise.reject()):(j.delta&&i.go(-j.delta,!1),U(fe,ee,ye))).then(fe=>{fe=fe||G(ee,ye,!1),fe&&(j.delta&&!Mn(fe,8)?i.go(-j.delta,!1):j.type===Gs.pop&&Mn(fe,20)&&i.go(-1,!1)),z(ee,ye,fe)}).catch(xs)}))}let $=fs(),P=fs(),Q;function U(V,Z,j){oe(V);const ee=P.list();return ee.length?ee.forEach(pe=>pe(V,Z,j)):console.error(V),Promise.reject(V)}function X(){return Q&&l.value!==Zn?Promise.resolve():new Promise((V,Z)=>{$.add([V,Z])})}function oe(V){return Q||(Q=!V,re(),$.list().forEach(([Z,j])=>V?j(V):Z()),$.reset()),V}function ue(V,Z,j,ee){const{scrollBehavior:pe}=t;if(!gi||!pe)return Promise.resolve();const ye=!j&&dT(lh(V.fullPath,0))||(ee||!j)&&history.state&&history.state.scroll||null;return ng().then(()=>pe(V,Z,ye)).then(fe=>fe&&cT(fe)).catch(fe=>U(fe,V,Z))}const ce=V=>i.go(V);let de;const Ie=new Set,he={currentRoute:l,listening:!0,addRoute:h,removeRoute:w,hasRoute:E,getRoutes:g,resolve:_,options:t,push:b,replace:y,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:P.add,isReady:X,install(V){const Z=this;V.component("RouterLink",YT),V.component("RouterView",JT),V.config.globalProperties.$router=Z,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>Si(l)}),gi&&!de&&l.value===Zn&&(de=!0,b(i.location).catch(pe=>{}));const j={};for(const pe in Zn)j[pe]=je(()=>l.value[pe]);V.provide(Zu,Z),V.provide(B_,Jr(j)),V.provide(Lc,l);const ee=V.unmount;Ie.add(V),V.unmount=function(){Ie.delete(V),Ie.size<1&&(c=Zn,J&&J(),J=null,l.value=Zn,de=!1,Q=!1),ee()}}};return he}function ci(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function t4(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oQi(c,a))?r.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Qi(c,l))||i.push(l))}return[n,r,i]}if(!document.querySelector("style[data-shopicon]")){const t=document.createElement("style");t.setAttribute("data-shopicon",!0),t.innerHTML=` + */const gi=typeof window<"u";function X8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Oe=Object.assign;function Sl(t,e){const n={};for(const r in e){const i=e[r];n[r]=hn(i)?i.map(t):t(i)}return n}const xs=()=>{},hn=Array.isArray,J8=/\/$/,eT=t=>t.replace(J8,"");function kl(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=t(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=iT(r!=null?r:e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function tT(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function oh(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function nT(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Qi(e.matched[r],n.matched[i])&&O_(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Qi(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function O_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!rT(t[n],e[n]))return!1;return!0}function rT(t,e){return hn(t)?ah(t,e):hn(e)?ah(e,t):t===e}function ah(t,e){return hn(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function iT(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i=n.length-1,s,o;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Gs;(function(t){t.pop="pop",t.push="push"})(Gs||(Gs={}));var Ls;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ls||(Ls={}));function sT(t){if(!t)if(gi){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),eT(t)}const oT=/^[^#]+#/;function aT(t,e){return t.replace(oT,"#")+e}function lT(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Ra=()=>({left:window.pageXOffset,top:window.pageYOffset});function cT(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=lT(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function lh(t,e){return(history.state?history.state.position-e:-1)+t}const Ac=new Map;function uT(t,e){Ac.set(t,e)}function dT(t){const e=Ac.get(t);return Ac.delete(t),e}let fT=()=>location.protocol+"//"+location.host;function $_(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let a=i.includes(t.slice(s))?t.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),oh(l,"")}return oh(n,t)+r+i}function hT(t,e,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=$_(t,location),w=n.value,g=e.value;let E=0;if(d){if(n.value=h,e.value=d,o&&o===w){o=null;return}E=g?d.position-g.position:0}else r(h);i.forEach(_=>{_(n.value,w,{delta:E,type:Gs.pop,direction:E?E>0?Ls.forward:Ls.back:Ls.unknown})})};function l(){o=n.value}function c(d){i.push(d);const h=()=>{const w=i.indexOf(d);w>-1&&i.splice(w,1)};return s.push(h),h}function u(){const{history:d}=window;!d.state||d.replaceState(Oe({},d.state,{scroll:Ra()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function ch(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?Ra():null}}function mT(t){const{history:e,location:n}=window,r={value:$_(t,n)},i={value:e.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=t.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:fT()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(l,c){const u=Oe({},e.state,ch(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Oe({},i.value,e.state,{forward:l,scroll:Ra()});s(u.current,u,!0);const f=Oe({},ch(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function pT(t){t=sT(t);const e=mT(t),n=hT(t,e.state,e.location,e.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Oe({location:"",base:t,go:r,createHref:aT.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function gT(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),pT(t)}function _T(t){return typeof t=="string"||t&&typeof t=="object"}function D_(t){return typeof t=="string"||typeof t=="symbol"}const Zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},R_=Symbol("");var uh;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(uh||(uh={}));function Ki(t,e){return Oe(new Error,{type:t,[R_]:!0},e)}function Mn(t,e){return t instanceof Error&&R_ in t&&(e==null||!!(t.type&e))}const dh="[^/]+?",vT={sensitive:!1,strict:!1,start:!0,end:!0},bT=/[.+*?^${}()[\]/\\]/g;function yT(t,e){const n=Oe({},vT,e),r=[];let i=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function ET(t,e){let n=0;const r=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const TT={type:0,value:""},CT=/[a-zA-Z0-9_]/;function ST(t){if(!t)return[[]];if(t==="/")return[[TT]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function f(){!c||(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{o(T)}:xs}function o(u){if(D_(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!V_(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!mh(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},w,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Ki(1,{location:u});g=d.record.name,h=Oe(hh(f.params,d.keys.filter(T=>!T.optional).map(T=>T.name)),u.params&&hh(u.params,d.keys.map(T=>T.name))),w=d.stringify(h)}else if("path"in u)w=u.path,d=n.find(T=>T.re.test(w)),d&&(h=d.parse(w),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(T=>T.re.test(f.path)),!d)throw Ki(1,{location:u,currentLocation:f});g=d.record.name,h=Oe({},f.params,u.params),w=d.stringify(h)}const E=[];let _=d;for(;_;)E.unshift(_.record),_=_.parent;return{name:g,path:w,params:h,matched:E,meta:PT(E)}}return t.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function hh(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function xT(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:LT(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function LT(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="boolean"?n:n[r];return e}function mh(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function PT(t){return t.reduce((e,n)=>Oe(e,n.meta),{})}function ph(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function V_(t,e){return e.children.some(n=>n===t||V_(t,n))}const F_=/#/g,NT=/&/g,MT=/\//g,IT=/=/g,OT=/\?/g,q_=/\+/g,$T=/%5B/g,DT=/%5D/g,H_=/%5E/g,RT=/%60/g,j_=/%7B/g,VT=/%7C/g,z_=/%7D/g,FT=/%20/g;function Gu(t){return encodeURI(""+t).replace(VT,"|").replace($T,"[").replace(DT,"]")}function qT(t){return Gu(t).replace(j_,"{").replace(z_,"}").replace(H_,"^")}function xc(t){return Gu(t).replace(q_,"%2B").replace(FT,"+").replace(F_,"%23").replace(NT,"%26").replace(RT,"`").replace(j_,"{").replace(z_,"}").replace(H_,"^")}function HT(t){return xc(t).replace(IT,"%3D")}function jT(t){return Gu(t).replace(F_,"%23").replace(OT,"%3F")}function zT(t){return t==null?"":jT(t).replace(MT,"%2F")}function da(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function BT(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;is&&xc(s)):[r&&xc(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function UT(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=hn(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const WT=Symbol(""),_h=Symbol(""),Zu=Symbol(""),B_=Symbol(""),Lc=Symbol("");function fs(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function er(t,e,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(Ki(4,{from:n,to:e})):f instanceof Error?a(f):_T(f)?a(Ki(2,{from:e,to:f})):(s&&r.enterCallbacks[i]===s&&typeof f=="function"&&s.push(f),o())},c=t.call(r&&r.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Al(t,e,n,r){const i=[];for(const s of t)for(const o in s.components){let a=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(QT(a)){const c=(a.__vccOpts||a)[e];c&&i.push(er(c,n,r,s,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=X8(c)?c.default:c;s.components[o]=u;const d=(u.__vccOpts||u)[e];return d&&er(d,n,r,s,o)()}))}}return i}function QT(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function vh(t){const e=kn(Zu),n=kn(B_),r=je(()=>e.resolve(Si(t.to))),i=je(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Qi.bind(null,u));if(d>-1)return d;const h=bh(l[c-2]);return c>1&&bh(u)===h&&f[f.length-1].path!==h?f.findIndex(Qi.bind(null,l[c-2])):d}),s=je(()=>i.value>-1&&ZT(n.params,r.value.params)),o=je(()=>i.value>-1&&i.value===n.matched.length-1&&O_(n.params,r.value.params));function a(l={}){return GT(l)?e[Si(t.replace)?"replace":"push"](Si(t.to)).catch(xs):Promise.resolve()}return{route:r,href:je(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const KT=Su({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:vh,setup(t,{slots:e}){const n=Jr(vh(t)),{options:r}=kn(Zu),i=je(()=>({[yh(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[yh(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Tr("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),YT=KT;function GT(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 ZT(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!hn(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function bh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const yh=(t,e,n)=>t!=null?t:e!=null?e:n,XT=Su({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=kn(Lc),i=je(()=>t.route||r.value),s=kn(_h,0),o=je(()=>{let c=Si(s);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=je(()=>i.value.matched[o.value]);$o(_h,je(()=>o.value+1)),$o(WT,a),$o(Lc,i);const l=cn();return ar(()=>[l.value,a.value,t.name],([c,u,f],[d,h,w])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Qi(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,f=a.value,d=f&&f.components[u];if(!d)return wh(n.default,{Component:d,route:c});const h=f.props[u],w=h?h===!0?c.params:typeof h=="function"?h(c):h:null,E=Tr(d,Oe({},w,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return wh(n.default,{Component:E,route:c})||E}}});function wh(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const JT=XT;function eC(t){const e=AT(t.routes,t),n=t.parseQuery||BT,r=t.stringifyQuery||gh,i=t.history,s=fs(),o=fs(),a=fs(),l=Zp(Zn);let c=Zn;gi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Sl.bind(null,V=>""+V),f=Sl.bind(null,zT),d=Sl.bind(null,da);function h(V,Z){let j,ee;return D_(V)?(j=e.getRecordMatcher(V),ee=Z):ee=V,e.addRoute(ee,j)}function w(V){const Z=e.getRecordMatcher(V);Z&&e.removeRoute(Z)}function g(){return e.getRoutes().map(V=>V.record)}function E(V){return!!e.getRecordMatcher(V)}function _(V,Z){if(Z=Oe({},Z||l.value),typeof V=="string"){const C=kl(n,V,Z.path),m=e.resolve({path:C.path},Z),p=i.createHref(C.fullPath);return Oe(C,m,{params:d(m.params),hash:da(C.hash),redirectedFrom:void 0,href:p})}let j;if("path"in V)j=Oe({},V,{path:kl(n,V.path,Z.path).path});else{const C=Oe({},V.params);for(const m in C)C[m]==null&&delete C[m];j=Oe({},V,{params:f(V.params)}),Z.params=f(Z.params)}const ee=e.resolve(j,Z),pe=V.hash||"";ee.params=u(d(ee.params));const ye=tT(r,Oe({},V,{hash:qT(pe),path:ee.path})),fe=i.createHref(ye);return Oe({fullPath:ye,hash:pe,query:r===gh?UT(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:fe})}function T(V){return typeof V=="string"?kl(n,V,l.value.path):Oe({},V)}function S(V,Z){if(c!==V)return Ki(8,{from:Z,to:V})}function b(V){return L(V)}function y(V){return b(Oe(T(V),{replace:!0}))}function A(V){const Z=V.matched[V.matched.length-1];if(Z&&Z.redirect){const{redirect:j}=Z;let ee=typeof j=="function"?j(V):j;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=T(ee):{path:ee},ee.params={}),Oe({query:V.query,hash:V.hash,params:"path"in ee?{}:V.params},ee)}}function L(V,Z){const j=c=_(V),ee=l.value,pe=V.state,ye=V.force,fe=V.replace===!0,C=A(j);if(C)return L(Oe(T(C),{state:typeof C=="object"?Oe({},pe,C.state):pe,force:ye,replace:fe}),Z||j);const m=j;m.redirectedFrom=Z;let p;return!ye&&nT(r,ee,j)&&(p=Ki(16,{to:m,from:ee}),ue(ee,ee,!0,!1)),(p?Promise.resolve(p):O(m,ee)).catch(k=>Mn(k)?Mn(k,2)?k:oe(k):U(k,m,ee)).then(k=>{if(k){if(Mn(k,2))return L(Oe({replace:fe},T(k.to),{state:typeof k.to=="object"?Oe({},pe,k.to.state):pe,force:ye}),Z||m)}else k=G(m,ee,!0,fe,pe);return z(m,ee,k),k})}function M(V,Z){const j=S(V,Z);return j?Promise.reject(j):Promise.resolve()}function O(V,Z){let j;const[ee,pe,ye]=tC(V,Z);j=Al(ee.reverse(),"beforeRouteLeave",V,Z);for(const C of ee)C.leaveGuards.forEach(m=>{j.push(er(m,V,Z))});const fe=M.bind(null,V,Z);return j.push(fe),ci(j).then(()=>{j=[];for(const C of s.list())j.push(er(C,V,Z));return j.push(fe),ci(j)}).then(()=>{j=Al(pe,"beforeRouteUpdate",V,Z);for(const C of pe)C.updateGuards.forEach(m=>{j.push(er(m,V,Z))});return j.push(fe),ci(j)}).then(()=>{j=[];for(const C of V.matched)if(C.beforeEnter&&!Z.matched.includes(C))if(hn(C.beforeEnter))for(const m of C.beforeEnter)j.push(er(m,V,Z));else j.push(er(C.beforeEnter,V,Z));return j.push(fe),ci(j)}).then(()=>(V.matched.forEach(C=>C.enterCallbacks={}),j=Al(ye,"beforeRouteEnter",V,Z),j.push(fe),ci(j))).then(()=>{j=[];for(const C of o.list())j.push(er(C,V,Z));return j.push(fe),ci(j)}).catch(C=>Mn(C,8)?C:Promise.reject(C))}function z(V,Z,j){for(const ee of a.list())ee(V,Z,j)}function G(V,Z,j,ee,pe){const ye=S(V,Z);if(ye)return ye;const fe=Z===Zn,C=gi?history.state:{};j&&(ee||fe?i.replace(V.fullPath,Oe({scroll:fe&&C&&C.scroll},pe)):i.push(V.fullPath,pe)),l.value=V,ue(V,Z,j,fe),oe()}let J;function re(){J||(J=i.listen((V,Z,j)=>{if(!he.listening)return;const ee=_(V),pe=A(ee);if(pe){L(Oe(pe,{replace:!0}),ee).catch(xs);return}c=ee;const ye=l.value;gi&&uT(lh(ye.fullPath,j.delta),Ra()),O(ee,ye).catch(fe=>Mn(fe,12)?fe:Mn(fe,2)?(L(fe.to,ee).then(C=>{Mn(C,20)&&!j.delta&&j.type===Gs.pop&&i.go(-1,!1)}).catch(xs),Promise.reject()):(j.delta&&i.go(-j.delta,!1),U(fe,ee,ye))).then(fe=>{fe=fe||G(ee,ye,!1),fe&&(j.delta&&!Mn(fe,8)?i.go(-j.delta,!1):j.type===Gs.pop&&Mn(fe,20)&&i.go(-1,!1)),z(ee,ye,fe)}).catch(xs)}))}let $=fs(),P=fs(),Q;function U(V,Z,j){oe(V);const ee=P.list();return ee.length?ee.forEach(pe=>pe(V,Z,j)):console.error(V),Promise.reject(V)}function X(){return Q&&l.value!==Zn?Promise.resolve():new Promise((V,Z)=>{$.add([V,Z])})}function oe(V){return Q||(Q=!V,re(),$.list().forEach(([Z,j])=>V?j(V):Z()),$.reset()),V}function ue(V,Z,j,ee){const{scrollBehavior:pe}=t;if(!gi||!pe)return Promise.resolve();const ye=!j&&dT(lh(V.fullPath,0))||(ee||!j)&&history.state&&history.state.scroll||null;return ng().then(()=>pe(V,Z,ye)).then(fe=>fe&&cT(fe)).catch(fe=>U(fe,V,Z))}const ce=V=>i.go(V);let de;const Ie=new Set,he={currentRoute:l,listening:!0,addRoute:h,removeRoute:w,hasRoute:E,getRoutes:g,resolve:_,options:t,push:b,replace:y,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:P.add,isReady:X,install(V){const Z=this;V.component("RouterLink",YT),V.component("RouterView",JT),V.config.globalProperties.$router=Z,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>Si(l)}),gi&&!de&&l.value===Zn&&(de=!0,b(i.location).catch(pe=>{}));const j={};for(const pe in Zn)j[pe]=je(()=>l.value[pe]);V.provide(Zu,Z),V.provide(B_,Jr(j)),V.provide(Lc,l);const ee=V.unmount;Ie.add(V),V.unmount=function(){Ie.delete(V),Ie.size<1&&(c=Zn,J&&J(),J=null,l.value=Zn,de=!1,Q=!1),ee()}}};return he}function ci(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function tC(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oQi(c,a))?r.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Qi(c,l))||i.push(l))}return[n,r,i]}if(!document.querySelector("style[data-shopicon]")){const t=document.createElement("style");t.setAttribute("data-shopicon",!0),t.innerHTML=` [data-shopicon] { display: block; width: 24px; aspect-ratio: 1; } [data-shopicon][size=m] { width: 32px; } [data-shopicon][size=l] { width: 48px; } @@ -38,14 +38,14 @@ var V1=Object.defineProperty;var F1=(t,e,n)=>e in t?V1(t,e,{enumerable:!0,config [data-shopicon] path:not([fill]), [data-shopicon] polygon:not([fill]), [data-shopicon] rect:not([fill]) { fill: currentColor; } - `,document.head.appendChild(t)}var n4='';class r4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=n4}}window.customElements.define("shopicon-regular-arrowup",r4);var i4='';class s4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=i4}}window.customElements.define("shopicon-regular-menu",s4);var o4='';class a4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=o4}}window.customElements.define("shopicon-regular-newtab",a4);var U_={exports:{}},Xu={exports:{}},W_=function(e,n){return function(){for(var i=new Array(arguments.length),s=0;s"u"}function c4(t){return t!==null&&!fa(t)&&t.constructor!==null&&!fa(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var Q_=ti("ArrayBuffer");function u4(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Q_(t.buffer),e}function d4(t){return typeof t=="string"}function f4(t){return typeof t=="number"}function K_(t){return t!==null&&typeof t=="object"}function Bo(t){if(ed(t)!=="object")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}var h4=ti("Date"),m4=ti("File"),p4=ti("Blob"),g4=ti("FileList");function nd(t){return Ju.call(t)==="[object Function]"}function _4(t){return K_(t)&&nd(t.pipe)}function v4(t){var e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||Ju.call(t)===e||nd(t.toString)&&t.toString()===e)}var b4=ti("URLSearchParams");function y4(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w4(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function rd(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),td(t))for(var n=0,r=t.length;n0;)s=r[i],o[s]||(e[s]=t[s],o[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function k4(t,e,n){t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return r!==-1&&r===n}function A4(t){if(!t)return null;var e=t.length;if(fa(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n}var x4=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),ut={isArray:td,isArrayBuffer:Q_,isBuffer:c4,isFormData:v4,isArrayBufferView:u4,isString:d4,isNumber:f4,isObject:K_,isPlainObject:Bo,isUndefined:fa,isDate:h4,isFile:m4,isBlob:p4,isFunction:nd,isStream:_4,isURLSearchParams:b4,isStandardBrowserEnv:w4,forEach:rd,merge:Pc,extend:E4,trim:y4,stripBOM:T4,inherits:C4,toFlatObject:S4,kindOf:ed,kindOfTest:ti,endsWith:k4,toArray:A4,isTypedArray:x4,isFileList:g4},ui=ut;function Eh(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Y_=function(e,n,r){if(!n)return e;var i;if(r)i=r(n);else if(ui.isURLSearchParams(n))i=n.toString();else{var s=[];ui.forEach(n,function(l,c){l===null||typeof l>"u"||(ui.isArray(l)?c=c+"[]":l=[l],ui.forEach(l,function(f){ui.isDate(f)?f=f.toISOString():ui.isObject(f)&&(f=JSON.stringify(f)),s.push(Eh(c)+"="+Eh(f))}))}),i=s.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},L4=ut;function Va(){this.handlers=[]}Va.prototype.use=function(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Va.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};Va.prototype.forEach=function(e){L4.forEach(this.handlers,function(r){r!==null&&e(r)})};var P4=Va,N4=ut,M4=function(e,n){N4.forEach(e,function(i,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(e[n]=i,delete e[s])})},G_=ut;function Yi(t,e,n,r,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}G_.inherits(Yi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Z_=Yi.prototype,X_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){X_[t]={value:t}});Object.defineProperties(Yi,X_);Object.defineProperty(Z_,"isAxiosError",{value:!0});Yi.from=function(t,e,n,r,i,s){var o=Object.create(Z_);return G_.toFlatObject(t,o,function(l){return l!==Error.prototype}),Yi.call(o,t.message,e,n,r,i),o.name=t.name,s&&Object.assign(o,s),o};var ss=Yi,J_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},on=ut;function I4(t,e){e=e||new FormData;var n=[];function r(s){return s===null?"":on.isDate(s)?s.toISOString():on.isArrayBuffer(s)||on.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,o){if(on.isPlainObject(s)||on.isArray(s)){if(n.indexOf(s)!==-1)throw Error("Circular reference detected in "+o);n.push(s),on.forEach(s,function(l,c){if(!on.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(on.endsWith(c,"{}"))l=JSON.stringify(l);else if(on.endsWith(c,"[]")&&(f=on.toArray(l))){f.forEach(function(d){!on.isUndefined(d)&&e.append(u,r(d))});return}}i(l,u)}}),n.pop()}else e.append(o,r(s))}return i(t),e}var e1=I4,xl,Th;function O4(){if(Th)return xl;Th=1;var t=ss;return xl=function(n,r,i){var s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):r(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},xl}var Ll,Ch;function $4(){if(Ch)return Ll;Ch=1;var t=ut;return Ll=t.isStandardBrowserEnv()?function(){return{write:function(r,i,s,o,a,l){var c=[];c.push(r+"="+encodeURIComponent(i)),t.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),t.isString(o)&&c.push("path="+o),t.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ll}var D4=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},R4=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e},V4=D4,F4=R4,t1=function(e,n){return e&&!V4(n)?F4(e,n):n},Pl,Sh;function q4(){if(Sh)return Pl;Sh=1;var t=ut,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Pl=function(r){var i={},s,o,a;return r&&t.forEach(r.split(` -`),function(c){if(a=c.indexOf(":"),s=t.trim(c.substr(0,a)).toLowerCase(),o=t.trim(c.substr(a+1)),s){if(i[s]&&e.indexOf(s)>=0)return;s==="set-cookie"?i[s]=(i[s]?i[s]:[]).concat([o]):i[s]=i[s]?i[s]+", "+o:o}}),i},Pl}var Nl,kh;function H4(){if(kh)return Nl;kh=1;var t=ut;return Nl=t.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function s(o){var a=o;return n&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=s(window.location.href),function(a){var l=t.isString(a)?s(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),Nl}var Ml,Ah;function Fa(){if(Ah)return Ml;Ah=1;var t=ss,e=ut;function n(r){t.call(this,r==null?"canceled":r,t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(n,t,{__CANCEL__:!0}),Ml=n,Ml}var Il,xh;function j4(){return xh||(xh=1,Il=function(e){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}),Il}var Ol,Lh;function Ph(){if(Lh)return Ol;Lh=1;var t=ut,e=O4(),n=$4(),r=Y_,i=t1,s=q4(),o=H4(),a=J_,l=ss,c=Fa(),u=j4();return Ol=function(d){return new Promise(function(w,g){var E=d.data,_=d.headers,T=d.responseType,S;function b(){d.cancelToken&&d.cancelToken.unsubscribe(S),d.signal&&d.signal.removeEventListener("abort",S)}t.isFormData(E)&&t.isStandardBrowserEnv()&&delete _["Content-Type"];var y=new XMLHttpRequest;if(d.auth){var A=d.auth.username||"",L=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";_.Authorization="Basic "+btoa(A+":"+L)}var M=i(d.baseURL,d.url);y.open(d.method.toUpperCase(),r(M,d.params,d.paramsSerializer),!0),y.timeout=d.timeout;function O(){if(!!y){var J="getAllResponseHeaders"in y?s(y.getAllResponseHeaders()):null,re=!T||T==="text"||T==="json"?y.responseText:y.response,$={data:re,status:y.status,statusText:y.statusText,headers:J,config:d,request:y};e(function(Q){w(Q),b()},function(Q){g(Q),b()},$),y=null}}if("onloadend"in y?y.onloadend=O:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(O)},y.onabort=function(){!y||(g(new l("Request aborted",l.ECONNABORTED,d,y)),y=null)},y.onerror=function(){g(new l("Network Error",l.ERR_NETWORK,d,y,y)),y=null},y.ontimeout=function(){var re=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",$=d.transitional||a;d.timeoutErrorMessage&&(re=d.timeoutErrorMessage),g(new l(re,$.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,y)),y=null},t.isStandardBrowserEnv()){var z=(d.withCredentials||o(M))&&d.xsrfCookieName?n.read(d.xsrfCookieName):void 0;z&&(_[d.xsrfHeaderName]=z)}"setRequestHeader"in y&&t.forEach(_,function(re,$){typeof E>"u"&&$.toLowerCase()==="content-type"?delete _[$]:y.setRequestHeader($,re)}),t.isUndefined(d.withCredentials)||(y.withCredentials=!!d.withCredentials),T&&T!=="json"&&(y.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&y.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(S=function(J){!y||(g(!J||J&&J.type?new c:J),y.abort(),y=null)},d.cancelToken&&d.cancelToken.subscribe(S),d.signal&&(d.signal.aborted?S():d.signal.addEventListener("abort",S))),E||(E=null);var G=u(M);if(G&&["http","https","file"].indexOf(G)===-1){g(new l("Unsupported protocol "+G+":",l.ERR_BAD_REQUEST,d));return}y.send(E)})},Ol}var $l,Nh;function z4(){return Nh||(Nh=1,$l=null),$l}var nt=ut,Mh=M4,Ih=ss,B4=J_,U4=e1,W4={"Content-Type":"application/x-www-form-urlencoded"};function Oh(t,e){!nt.isUndefined(t)&&nt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function Q4(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Ph()),t}function K4(t,e,n){if(nt.isString(t))try{return(e||JSON.parse)(t),nt.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var qa={transitional:B4,adapter:Q4(),transformRequest:[function(e,n){if(Mh(n,"Accept"),Mh(n,"Content-Type"),nt.isFormData(e)||nt.isArrayBuffer(e)||nt.isBuffer(e)||nt.isStream(e)||nt.isFile(e)||nt.isBlob(e))return e;if(nt.isArrayBufferView(e))return e.buffer;if(nt.isURLSearchParams(e))return Oh(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r=nt.isObject(e),i=n&&n["Content-Type"],s;if((s=nt.isFileList(e))||r&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return U4(s?{"files[]":e}:e,o&&new o)}else if(r||i==="application/json")return Oh(n,"application/json"),K4(e);return e}],transformResponse:[function(e){var n=this.transitional||qa.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,s=!r&&this.responseType==="json";if(s||i&&nt.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?Ih.from(o,Ih.ERR_BAD_RESPONSE,this,null,this.response):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:z4()},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};nt.forEach(["delete","get","head"],function(e){qa.headers[e]={}});nt.forEach(["post","put","patch"],function(e){qa.headers[e]=nt.merge(W4)});var id=qa,Y4=ut,G4=id,Z4=function(e,n,r){var i=this||G4;return Y4.forEach(r,function(o){e=o.call(i,e,n)}),e},Dl,$h;function n1(){return $h||($h=1,Dl=function(e){return!!(e&&e.__CANCEL__)}),Dl}var Dh=ut,Rl=Z4,X4=n1(),J4=id,eC=Fa();function Vl(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new eC}var tC=function(e){Vl(e),e.headers=e.headers||{},e.data=Rl.call(e,e.data,e.headers,e.transformRequest),e.headers=Dh.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Dh.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var n=e.adapter||J4.adapter;return n(e).then(function(i){return Vl(e),i.data=Rl.call(e,i.data,i.headers,e.transformResponse),i},function(i){return X4(i)||(Vl(e),i&&i.response&&(i.response.data=Rl.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},Mt=ut,r1=function(e,n){n=n||{};var r={};function i(u,f){return Mt.isPlainObject(u)&&Mt.isPlainObject(f)?Mt.merge(u,f):Mt.isPlainObject(f)?Mt.merge({},f):Mt.isArray(f)?f.slice():f}function s(u){if(Mt.isUndefined(n[u])){if(!Mt.isUndefined(e[u]))return i(void 0,e[u])}else return i(e[u],n[u])}function o(u){if(!Mt.isUndefined(n[u]))return i(void 0,n[u])}function a(u){if(Mt.isUndefined(n[u])){if(!Mt.isUndefined(e[u]))return i(void 0,e[u])}else return i(void 0,n[u])}function l(u){if(u in n)return i(e[u],n[u]);if(u in e)return i(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return Mt.forEach(Object.keys(e).concat(Object.keys(n)),function(f){var d=c[f]||s,h=d(f);Mt.isUndefined(h)&&d!==l||(r[f]=h)}),r},Fl,Rh;function i1(){return Rh||(Rh=1,Fl={version:"0.27.2"}),Fl}var nC=i1().version,tr=ss,sd={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){sd[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var Vh={};sd.transitional=function(e,n,r){function i(s,o){return"[Axios v"+nC+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return function(s,o,a){if(e===!1)throw new tr(i(o," has been removed"+(n?" in "+n:"")),tr.ERR_DEPRECATED);return n&&!Vh[o]&&(Vh[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};function rC(t,e,n){if(typeof t!="object")throw new tr("options must be an object",tr.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(t),i=r.length;i-- >0;){var s=r[i],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new tr("option "+s+" must be "+l,tr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new tr("Unknown option "+s,tr.ERR_BAD_OPTION)}}var iC={assertOptions:rC,validators:sd},s1=ut,sC=Y_,Fh=P4,qh=tC,Ha=r1,oC=t1,o1=iC,di=o1.validators;function Gi(t){this.defaults=t,this.interceptors={request:new Fh,response:new Fh}}Gi.prototype.request=function(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ha(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&o1.assertOptions(r,{silentJSONParsing:di.transitional(di.boolean),forcedJSONParsing:di.transitional(di.boolean),clarifyTimeoutError:di.transitional(di.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!s){var l=[qh,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;i.length;){var u=i.shift(),f=i.shift();try{c=u(c)}catch(d){f(d);break}}try{a=qh(c)}catch(d){return Promise.reject(d)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};Gi.prototype.getUri=function(e){e=Ha(this.defaults,e);var n=oC(e.baseURL,e.url);return sC(n,e.params,e.paramsSerializer)};s1.forEach(["delete","get","head","options"],function(e){Gi.prototype[e]=function(n,r){return this.request(Ha(r||{},{method:e,url:n,data:(r||{}).data}))}});s1.forEach(["post","put","patch"],function(e){function n(r){return function(s,o,a){return this.request(Ha(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Gi.prototype[e]=n(),Gi.prototype[e+"Form"]=n(!0)});var aC=Gi,ql,Hh;function lC(){if(Hh)return ql;Hh=1;var t=Fa();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(s){if(!!i._listeners){var o,a=i._listeners.length;for(o=0;ot,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;window.app.error({message:n})});const l1=window.matchMedia("(prefers-color-scheme: dark)"),ad="auto",c1="light",Mc="dark",Ps=[ad,c1,Mc],u1="theme";function d1(){try{const t=window.localStorage[u1];if(Ps.includes(t))return t}catch(t){console.error("unable to read theme from localStorage",t)}return ad}function _C(t){if(console.log({theme:t}),!!Ps.includes(t))try{window.localStorage[u1]=t,Ic()}catch(e){console.error("unable to write theme to localStorage",e)}}function Ic(){let t=d1();t===ad&&(t=l1.matches?Mc:c1);const e={light:"#f3f3f7",dark:"#020318"},n=document.querySelector("meta[name=theme-color]");n&&n.setAttribute("content",e[t]);const r=document.querySelector("html");r.classList.add("no-transitions"),r.classList.toggle("dark",t===Mc),window.requestAnimationFrame(function(){r.classList.remove("no-transitions")})}function vC(){l1.addEventListener("change",Ic),Ic()}const bC={name:"TopNavigation",props:{vehicleLogins:{type:Object,default:()=>({})}},data:function(){return{theme:d1()}},computed:{logoutCount(){return this.providerLogins.filter(t=>!t.loggedIn).length},providerLogins(){return Object.entries(this.vehicleLogins).map(([t,e])=>({title:t,loggedIn:e.authenticated,loginPath:e.uri+"/login",logoutPath:e.uri+"/logout"}))}},methods:{toggleTheme:function(){const t=Ps.indexOf(this.theme),e=t(bt("data-v-5ac310b2"),t=t(),yt(),t),yC={type:"button","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation",class:"btn btn-sm btn-outline-secondary position-relative border-0 menu-button"},wC={key:0,class:"position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle"},EC=ni(()=>v("span",{class:"visually-hidden"},"login available",-1)),TC=[EC],CC=ni(()=>v("shopicon-regular-menu",null,null,-1)),SC={class:"dropdown-menu dropdown-menu-end"},kC=ni(()=>v("li",null,[v("hr",{class:"dropdown-divider"})],-1)),AC={class:"dropdown-header"},xC=["onClick"],LC={key:0,class:"d-inline-block p-1 rounded-circle bg-danger border border-light rounded-circle"},PC={class:"dropdown-item d-flex",href:"https://docs.evcc.io/blog/",target:"_blank"},NC=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),MC={class:"dropdown-item d-flex",href:"https://docs.evcc.io/docs/Home/",target:"_blank"},IC=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),OC={class:"dropdown-item d-flex",href:"https://github.com/evcc-io/evcc",target:"_blank"},$C=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),DC={class:"dropdown-item d-flex",href:"https://evcc.io/",target:"_blank"},RC=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1));function VC(t,e,n,r,i,s){const o=le("router-link");return x(),R("div",null,[v("button",yC,[s.logoutCount>0?(x(),R("span",wC,TC)):be("",!0),CC]),v("ul",SC,[v("li",null,[ne(o,{class:"dropdown-item",to:"/sessions"},{default:Je(()=>[Le(F(t.$t("header.sessions")),1)]),_:1})]),v("li",null,[v("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=js((...a)=>s.toggleTheme&&s.toggleTheme(...a),["stop"]))},F(t.$t(`header.theme.${t.theme}`)),1)]),s.providerLogins.length>0?(x(),R(Ae,{key:0},[kC,v("li",null,[v("h6",AC,F(t.$t("header.login")),1)]),(x(!0),R(Ae,null,Ze(s.providerLogins,a=>(x(),R("li",{key:a.title},[v("button",{type:"button",class:"dropdown-item",onClick:l=>s.handleProviderAuthorization(a)},[a.loggedIn?be("",!0):(x(),R("span",LC)),Le(" "+F(a.title)+" "+F(t.$t(a.loggedIn?"main.provider.logout":"main.provider.login")),1)],8,xC)]))),128))],64)):be("",!0),v("li",null,[v("a",PC,[v("span",null,F(t.$t("header.blog")),1),NC])]),v("li",null,[v("a",MC,[v("span",null,F(t.$t("header.docs")),1),IC])]),v("li",null,[v("a",OC,[v("span",null,F(t.$t("header.github")),1),$C])]),v("li",null,[v("a",DC,[v("span",null,F(t.$t("header.about")),1),RC])])])])}const f1=ae(bC,[["render",VC],["__scopeId","data-v-5ac310b2"]]);var FC='';class qC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=FC}}window.customElements.define("shopicon-regular-exclamationtriangle",qC);const Pt={data:function(){return{fmtLimit:100,fmtDigits:1}},methods:{round:function(t,e){var n=10**e;return(Math.round(t*n)/n).toFixed(e)},fmt:function(t){return t==null?0:(t=Math.abs(t),t>=this.fmtLimit?this.round(t/1e3,this.fmtDigits):this.round(t,0))},fmtKw:function(t=0,e=!0,n=!0,r){r===void 0&&(r=e?1:0);const i=e?t/1e3:t;let s="";return n&&(s=e?" kW":" W"),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:r,maximumFractionDigits:r}).format(i)}${s}`},fmtKWh:function(t,e,n,r){return this.fmtKw(t,e,n,r)+"h"},fmtNumber:function(t,e){return new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:e,maximumFractionDigits:e}).format(t)},fmtUnit:function(t){return Math.abs(t)>=this.fmtLimit?"k":""},fmtDuration:function(t){if(t<=0||t==null)return"\u2014";var e="0"+t%60,n="0"+Math.floor(t/60)%60,r=""+Math.floor(t/3600);return r.length<2&&(r="0"+r),r+":"+n.substr(-2)+":"+e.substr(-2)},fmtShortDuration:function(t=0,e=!1){if(t<=0)return"\u2014";var n=t%60,r=Math.floor(t/60)%60,i=Math.floor(t/3600),s="";return i>=1?s=i+":"+`${r}`.padStart(2,"0"):r>=1?s=r+":"+`${n}`.padStart(2,"0"):s=`${n}`,e&&(s+=this.fmtShortDurationUnit(t)),s},fmtShortDurationUnit:function(t=0){if(t<=0)return"";var e=Math.floor(t/60)%60,n=Math.floor(t/3600);return n>=1?"h":e>=1?"m":"s"},fmtDayString:function(t){const e=`${t.getFullYear()}`,n=`${t.getMonth()+1}`.padStart(2,"0"),r=`${t.getDate()}`.padStart(2,"0");return`${e}-${n}-${r}`},fmtTimeString:function(t){const e=`${t.getHours()}`.padStart(2,"0"),n=`${t.getMinutes()}`.padStart(2,"0");return`${e}:${n}`},isToday:function(t){return new Date().toDateString()===t.toDateString()},isTomorrow:function(t){const e=new Date;return e.setDate(e.getDate()+1),e.toDateString()===t.toDateString()},weekdayPrefix:function(t){const e=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});return this.isToday(t)?e.formatToParts(0,"day")[0].value:this.isTomorrow(t)?e.formatToParts(1,"day")[0].value:new Intl.DateTimeFormat(this.$i18n.locale,{weekday:"short"}).format(t)},fmtAbsoluteDate:function(t){const e=this.weekdayPrefix(t),n=new Intl.DateTimeFormat(this.$i18n.locale,{hour:"numeric",minute:"numeric"}).format(t);return`${e} ${n}`},fmtFullDateTime:function(t,e){return new Intl.DateTimeFormat(this.$i18n.locale,{weekday:e?void 0:"short",month:e?"numeric":"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(t)},fmtMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{month:"long",year:"numeric"}).format(t)},fmtDayMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{day:"numeric",month:"long",year:"numeric"}).format(t)},fmtMoney:function(t=0,e="EUR"){return new Intl.NumberFormat(this.$i18n.locale,{style:"currency",currency:e,currencyDisplay:"code"}).format(t).replace(e,"").trim()},fmtCurrencySymbol:function(t="EUR"){return{EUR:"\u20AC",USD:"$"}[t]||t},fmtPricePerKWh:function(t=0,e="EUR"){let n=e,r=t,i=3;return["EUR","USD"].includes(e)&&(r*=100,n="ct",i=1),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",maximumFractionDigits:i}).format(r)} ${n}/kWh`},fmtTimeAgo:function(t){const e={day:864e5,hour:36e5,minute:6e4,second:1e3},n=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});for(var r in e)if(Math.abs(t)>e[r]||r=="second")return n.format(Math.round(t/e[r]),r)}}},HC={name:"Notifications",mixins:[Pt],props:{notifications:Array},computed:{iconVisible:function(){return this.notifications.length>0},iconClass:function(){return this.notifications.find(t=>t.type==="error")?"text-danger":"text-warning"}},created:function(){this.interval=setInterval(()=>{this.$forceUpdate()},10*1e3)},unmounted:function(){clearTimeout(this.interval)},methods:{clear:function(){window.app&&window.app.clear()}}},jC={href:"#","data-bs-toggle":"modal","data-bs-target":"#notificationModal",class:"btn btn-sm btn-link text-decoration-none link-light text-nowrap"},zC={id:"notificationModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true","data-bs-backdrop":"true"},BC={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},UC={class:"modal-content"},WC={class:"modal-header"},QC={class:"modal-title"},KC=v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),YC={class:"modal-body"},GC=["title"],ZC={class:"d-flex align-items-baseline"},XC={class:"flex-grow-1 px-2 py-1 text-break"},JC={key:0,class:"badge rounded-pill bg-secondary"},eS={class:"modal-footer"};function tS(t,e,n,r,i,s){return x(),R("div",null,[Kt(v("button",jC,[v("shopicon-regular-exclamationtriangle",{class:Ne(s.iconClass)},null,2)],512),[[Iu,s.iconVisible]]),v("div",zC,[v("div",BC,[v("div",UC,[v("div",WC,[v("h5",QC,F(t.$t("notifications.modalTitle")),1),KC]),v("div",YC,[(x(!0),R(Ae,null,Ze(n.notifications,(o,a)=>(x(),R("div",{key:a},[v("small",{class:"d-flex justify-content-end mt-3",title:t.fmtAbsoluteDate(o.time)},F(t.fmtTimeAgo(o.time-new Date)),9,GC),v("p",ZC,[v("shopicon-regular-exclamationtriangle",{class:Ne([{"text-danger":o.type==="error","text-warning":o.type==="warn"},"flex-grow-0 flex-shrink-0 d-block"])},null,2),v("span",XC,F(o.message),1),o.count>1?(x(),R("span",JC,F(o.count),1)):be("",!0)])]))),128))]),v("div",eS,[v("button",{type:"button","data-bs-dismiss":"modal","aria-label":"Close",class:"btn btn-outline-secondary",onClick:e[0]||(e[0]=(...o)=>s.clear&&s.clear(...o))},F(t.$t("notifications.dismissAll")),1)])])])])])}const nS=ae(HC,[["render",tS]]);var rS='';class iS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=rS}}window.customElements.define("shopicon-filled-square",iS);var sS='';class oS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=sS}}window.customElements.define("shopicon-regular-batteryfull",oS);var aS='';class lS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=aS}}window.customElements.define("shopicon-regular-batterythreequarters",lS);var cS='';class uS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=cS}}window.customElements.define("shopicon-regular-batteryhalf",uS);var dS='';class fS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=dS}}window.customElements.define("shopicon-regular-batteryquarter",fS);var hS='';class mS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=hS}}window.customElements.define("shopicon-regular-batteryempty",mS);const pS={name:"BatteryIcon",props:{soc:{type:Number,default:0}},computed:{icon:function(){return this.soc>80?"batteryfull":this.soc>60?"batterythreequarters":this.soc>40?"batteryhalf":this.soc>20?"batteryquarter":"batteryempty"}}};function gS(t,e,n,r,i,s){return x(),ve(io(`shopicon-regular-${s.icon}`))}const h1=ae(pS,[["render",gS]]),_S={name:"LabelBar",props:{value:{type:Number,default:0},hideIcon:{type:Boolean},top:{type:Boolean},bottom:{type:Boolean},first:{type:Boolean},last:{type:Boolean}}},vS={class:"label-bar-scale"},bS={class:"label-bar-icon"};function yS(t,e,n,r,i,s){return x(),R("div",{class:Ne(["label-bar",{"label-bar--hide-icon":n.hideIcon,"label-bar--hidden":!n.value,"label-bar--top":n.top,"label-bar--bottom":n.bottom,"label-bar--first":n.first,"label-bar--last":n.last}])},[v("div",vS,[v("div",bS,[xu(t.$slots,"default",{},void 0,!0)])])],2)}const wS=ae(_S,[["render",yS],["__scopeId","data-v-07ec7375"]]),ES=.5,TS={name:"AnimatedNumber",props:{to:{type:Number},format:{type:Function},noAnimation:{type:Boolean},duration:{type:Number,default:ES}},data(){return{activeDuration:0}},computed:{animationDuration(){return this.noAnimation?0:this.activeDuration}},watch:{to:function(){this.activeDuration=this.duration}}};function CS(t,e,n,r,i,s){const o=le("number");return x(),ve(o,{to:n.to,format:n.format,duration:s.animationDuration},null,8,["to","format","duration"])}const ri=ae(TS,[["render",CS]]);var SS='';class kS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=SS}}window.customElements.define("shopicon-regular-car3",kS);const AS={name:"1"},xS={width:"1em",height:"1em",viewBox:"0 0 24 24"},LS=v("path",{fill:"currentColor",d:"M15 15q.425 0 .713-.288Q16 14.425 16 14V6q0-.425-.287-.713Q15.425 5 15 5h-2.025q-.425 0-.7.287Q12 5.575 12 6t.288.713Q12.575 7 13 7h1v7.025q0 .425.288.7q.287.275.712.275Zm-7 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),PS=[LS];function NS(t,e,n,r,i,s){return x(),R("svg",xS,PS)}const MS=ae(AS,[["render",NS]]),IS={name:"2"},OS={width:"1em",height:"1em",viewBox:"0 0 24 24"},$S=v("path",{fill:"currentColor",d:"M12 15h4.025q.425 0 .7-.288Q17 14.425 17 14t-.288-.713Q16.425 13 16 13h-3v-2h2q.825 0 1.413-.588Q17 9.825 17 9V7q0-.825-.587-1.412Q15.825 5 15 5h-3.025q-.425 0-.7.287Q11 5.575 11 6t.288.713Q11.575 7 12 7h3v2h-2q-.825 0-1.412.587Q11 10.175 11 11v3q0 .425.288.712q.287.288.712.288Zm-4 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),DS=[$S];function RS(t,e,n,r,i,s){return x(),R("svg",OS,DS)}const VS=ae(IS,[["render",RS]]),FS={name:"3"},qS={width:"1em",height:"1em",viewBox:"0 0 24 24"},HS=v("path",{fill:"currentColor",d:"M12 15h3q.825 0 1.413-.588Q17 13.825 17 13v-1.5q0-.65-.425-1.075Q16.15 10 15.5 10q.65 0 1.075-.425Q17 9.15 17 8.5V7q0-.825-.587-1.412Q15.825 5 15 5h-3.025q-.425 0-.7.287Q11 5.575 11 6t.288.713Q11.575 7 12 7h3v2h-1.025q-.425 0-.7.287Q13 9.575 13 10t.288.712Q13.575 11 14 11h1v2h-3.025q-.425 0-.7.287Q11 13.575 11 14t.288.712Q11.575 15 12 15Zm-4 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),jS=[HS];function zS(t,e,n,r,i,s){return x(),R("svg",qS,jS)}const BS=ae(FS,[["render",zS]]),US={name:"4"},WS={width:"1em",height:"1em",viewBox:"0 0 24 24"},QS=v("path",{fill:"currentColor",d:"M16 15q.425 0 .712-.288Q17 14.425 17 14V5.975q0-.425-.288-.7Q16.425 5 16 5t-.712.287Q15 5.575 15 6v3h-2V5.975q0-.425-.287-.7Q12.425 5 12 5t-.712.287Q11 5.575 11 6v4q0 .425.288.712q.287.288.712.288h3v3.025q0 .425.288.7q.287.275.712.275Zm-8 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),KS=[QS];function YS(t,e,n,r,i,s){return x(),R("svg",WS,KS)}const GS=ae(US,[["render",YS]]),ZS={name:"5"},XS={width:"1em",height:"1em",viewBox:"0 0 24 24"},JS=v("path",{fill:"currentColor",d:"M12 15h3q.825 0 1.413-.588Q17 13.825 17 13v-2q0-.825-.587-1.413Q15.825 9 15 9h-2V7h3.025q.425 0 .7-.287Q17 6.425 17 6t-.288-.713Q16.425 5 16 5h-4q-.425 0-.712.287Q11 5.575 11 6v4q0 .425.288.712q.287.288.712.288h3v2h-3.025q-.425 0-.7.287Q11 13.575 11 14t.288.712Q11.575 15 12 15Zm-4 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),e3=[JS];function t3(t,e,n,r,i,s){return x(),R("svg",XS,e3)}const n3=ae(ZS,[["render",t3]]),r3={name:"6"},i3={width:"1em",height:"1em",viewBox:"0 0 24 24"},s3=v("path",{fill:"currentColor",d:"M4 22q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22Zm4-4q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12ZM8 4v12V4Zm5 5V7h2.025q.425 0 .7-.287Q16 6.425 16 6t-.287-.713Q15.425 5 15 5h-2q-.825 0-1.412.588Q11 6.175 11 7v6q0 .825.588 1.412Q12.175 15 13 15h2q.825 0 1.413-.588Q17 13.825 17 13v-2q0-.825-.587-1.413Q15.825 9 15 9Zm0 2h2v2h-2Z"},null,-1),o3=[s3];function a3(t,e,n,r,i,s){return x(),R("svg",i3,o3)}const l3=ae(r3,[["render",a3]]),c3={name:"7"},u3={width:"1em",height:"1em",viewBox:"0 0 24 24"},d3=v("path",{fill:"currentColor",d:"m15 7l-3.325 6.65q-.225.475 0 .912q.225.438.725.438q.25 0 .463-.125q.212-.125.337-.35l3.625-7.175q.075-.15.125-.363q.05-.212.05-.387q0-.65-.413-1.125Q16.175 5 15.525 5h-3.55q-.425 0-.7.287Q11 5.575 11 6t.288.713Q11.575 7 12 7ZM8 18q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22Zm4-6V4v12Z"},null,-1),f3=[d3];function h3(t,e,n,r,i,s){return x(),R("svg",u3,f3)}const m3=ae(c3,[["render",h3]]),p3={name:"8"},g3={width:"1em",height:"1em",viewBox:"0 0 24 24"},_3=v("path",{fill:"currentColor",d:"M13 15h2q.825 0 1.413-.588Q17 13.825 17 13v-1.5q0-.65-.425-1.075Q16.15 10 15.5 10q.65 0 1.075-.425Q17 9.15 17 8.5V7q0-.825-.587-1.412Q15.825 5 15 5h-2q-.825 0-1.412.588Q11 6.175 11 7v1.5q0 .65.425 1.075Q11.85 10 12.5 10q-.65 0-1.075.425Q11 10.85 11 11.5V13q0 .825.588 1.412Q12.175 15 13 15Zm0-8h2v2h-2V7Zm0 6v-2h2v2Zm-5 5q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),v3=[_3];function b3(t,e,n,r,i,s){return x(),R("svg",g3,v3)}const y3=ae(p3,[["render",b3]]),w3={name:"9"},E3={width:"1em",height:"1em",viewBox:"0 0 24 24"},T3=v("path",{fill:"currentColor",d:"M13 15h2q.825 0 1.413-.588Q17 13.825 17 13V7q0-.825-.587-1.412Q15.825 5 15 5h-2q-.825 0-1.412.588Q11 6.175 11 7v2q0 .825.588 1.412Q12.175 11 13 11h2v2h-2.025q-.425 0-.7.287Q12 13.575 12 14t.288.712Q12.575 15 13 15Zm2-6h-2V7h2Zm-7 9q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),C3=[T3];function S3(t,e,n,r,i,s){return x(),R("svg",E3,C3)}const k3=ae(w3,[["render",S3]]),A3={name:"Plus"},x3={width:"1em",height:"1em",viewBox:"0 0 24 24"},L3=v("path",{fill:"currentColor",d:"M10.975 14H12q.825 0 1.413-.588Q14 12.825 14 12V8q0-.825-.587-1.412Q12.825 6 12 6h-1q-.825 0-1.412.588Q9 7.175 9 8v1q0 .825.588 1.412Q10.175 11 11 11h1v1h-1.025q-.425 0-.7.287Q10 12.575 10 13t.288.712q.287.288.687.288ZM12 9h-1V8h1Zm4.15 2v.875q0 .425.288.7q.287.275.712.275t.713-.288q.287-.287.287-.687V11h.875q.425 0 .7-.288Q20 10.425 20 10t-.288-.713Q19.425 9 19.025 9h-.875v-.875q0-.425-.287-.7q-.288-.275-.713-.275t-.712.287q-.288.288-.288.688V9h-.875q-.425 0-.7.287q-.275.288-.275.713t.288.712q.287.288.687.288ZM8 18q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),P3=[L3];function N3(t,e,n,r,i,s){return x(),R("svg",x3,P3)}const M3=ae(A3,[["render",N3]]),I3={_1:MS,_2:VS,_3:BS,_4:GS,_5:n3,_6:l3,_7:m3,_8:y3,_9:k3},O3={name:"MultiIcon",props:{count:{type:Number},size:{type:String,default:"s"}},computed:{icon:function(){return this.count>9?M3:I3[`_${this.count}`]}}};function $3(t,e,n,r,i,s){return x(),ve(io(s.icon),{class:Ne(`icon icon--${n.size}`)},null,8,["class"])}const D3=ae(O3,[["render",$3],["__scopeId","data-v-983060d3"]]),R3={name:"Bike"},V3={width:"1em",height:"1em",viewBox:"0 0 24 24"},F3=v("path",{fill:"currentColor",d:"M5 20q-2.125 0-3.562-1.438Q0 17.125 0 15t1.463-3.562Q2.925 10 5 10q1.925 0 3.238 1.15Q9.55 12.3 9.9 14h.65l-1.8-5H8q-.425 0-.713-.288Q7 8.425 7 8t.287-.713Q7.575 7 8 7h3q.425 0 .713.287Q12 7.575 12 8t-.287.712Q11.425 9 11 9h-.1l.35 1h4.8L14.6 6H13q-.425 0-.712-.287Q12 5.425 12 5t.288-.713Q12.575 4 13 4h1.6q.65 0 1.163.35q.512.35.737.95l1.7 4.65h.8q2.075 0 3.538 1.462Q24 12.875 24 14.95q0 2.1-1.45 3.575T19 20q-1.8 0-3.162-1.125Q14.475 17.75 14.1 16H9.9q-.35 1.725-1.7 2.863Q6.85 20 5 20Zm0-2q1.025 0 1.763-.562Q7.5 16.875 7.8 16H6q-.425 0-.713-.288Q5 15.425 5 15t.287-.713Q5.575 14 6 14h1.8q-.3-.9-1.037-1.45Q6.025 12 5 12q-1.275 0-2.138.863Q2 13.725 2 15q0 1.25.862 2.125Q3.725 18 5 18Zm7.7-4h1.4q.125-.575.338-1.075q.212-.5.562-.925h-3.05Zm6.3 4q1.275 0 2.138-.875Q22 16.25 22 15q0-1.275-.862-2.137Q20.275 12 19 12h-.1l.65 1.7q.15.4-.037.762q-.188.363-.563.538q-.4.175-.775-.013q-.375-.187-.525-.587l-.6-1.7q-.5.425-.775 1T16 15q0 1.25.863 2.125Q17.725 18 19 18Z"},null,-1),q3=[F3];function H3(t,e,n,r,i,s){return x(),R("svg",V3,q3)}const j3=ae(R3,[["render",H3]]),z3={name:"Bus"},B3={width:"1em",height:"1em",viewBox:"0 0 24 24"},U3=v("path",{fill:"currentColor",d:"M6.5 21q-.625 0-1.062-.438Q5 20.125 5 19.5v-1.55q-.45-.5-.725-1.113Q4 16.225 4 15.5V6q0-2.075 1.925-3.038Q7.85 2 12 2q4.3 0 6.15.925Q20 3.85 20 6v9.5q0 .725-.275 1.337q-.275.613-.725 1.113v1.55q0 .625-.438 1.062Q18.125 21 17.5 21t-1.062-.438Q16 20.125 16 19.5V19H8v.5q0 .625-.438 1.062Q7.125 21 6.5 21Zm5.55-16h5.6h-11.2h5.6ZM16 12H6h12h-2ZM6 10h12V7H6Zm2.5 6q.625 0 1.062-.438Q10 15.125 10 14.5t-.438-1.062Q9.125 13 8.5 13t-1.062.438Q7 13.875 7 14.5t.438 1.062Q7.875 16 8.5 16Zm7 0q.625 0 1.062-.438Q17 15.125 17 14.5t-.438-1.062Q16.125 13 15.5 13t-1.062.438Q14 13.875 14 14.5t.438 1.062Q14.875 16 15.5 16ZM6.45 5h11.2q-.375-.425-1.612-.713Q14.8 4 12.05 4q-2.675 0-3.913.312Q6.9 4.625 6.45 5ZM8 17h8q.825 0 1.413-.587Q18 15.825 18 15v-3H6v3q0 .825.588 1.413Q7.175 17 8 17Z"},null,-1),W3=[U3];function Q3(t,e,n,r,i,s){return x(),R("svg",B3,W3)}const K3=ae(z3,[["render",Q3]]),Y3={name:"Cooler"},G3={width:"1em",height:"1em",viewBox:"0 0 24 24"},Z3=v("path",{fill:"currentColor",d:"m11 17.85l-2.575 2.525q-.275.275-.687.275q-.413 0-.688-.3q-.3-.275-.3-.687q0-.413.3-.713L11 15v-2H9l-3.975 3.975q-.275.275-.687.275q-.413 0-.713-.3q-.275-.275-.275-.688q0-.412.275-.687L6.15 13H2.975q-.425 0-.7-.288Q2 12.425 2 12t.288-.713Q2.575 11 3 11h3.15L3.625 8.45q-.275-.275-.275-.688q0-.412.3-.712q.275-.275.688-.275q.412 0 .712.275L9 11h2V9L7.025 5.05q-.275-.275-.275-.688q0-.412.3-.712q.275-.275.688-.275q.412 0 .687.275L11 6.15V3q0-.425.288-.713Q11.575 2 12 2t.713.287Q13 2.575 13 3v3.15l2.55-2.5q.275-.275.688-.275q.412 0 .712.275q.275.3.275.712q0 .413-.275.688L13 9v2h2l3.95-3.95q.275-.275.688-.275q.412 0 .712.3q.275.275.275.687q0 .413-.275.688L17.85 11H21q.425 0 .712.287q.288.288.288.713t-.288.712Q21.425 13 21 13h-3.15l2.5 2.575q.275.275.275.687q0 .413-.275.688q-.3.3-.712.3q-.413 0-.688-.3L15 13h-2v2l3.95 3.975q.275.275.275.688q0 .412-.3.712q-.275.275-.687.275q-.413 0-.688-.275L13 17.85v3.175q0 .425-.287.7Q12.425 22 12 22t-.712-.288Q11 21.425 11 21Z"},null,-1),X3=[Z3];function J3(t,e,n,r,i,s){return x(),R("svg",G3,X3)}const ek=ae(Y3,[["render",J3]]),tk={name:"Plug"},nk={width:"1em",height:"1em",viewBox:"0 0 24 24"},rk=v("path",{fill:"currentColor",d:"M18 15v-2h2q.425 0 .712.287q.288.288.288.713t-.288.712Q20.425 15 20 15Zm0 4v-2h2q.425 0 .712.288q.288.287.288.712t-.288.712Q20.425 19 20 19Zm-4 1q-.825 0-1.412-.587Q12 18.825 12 18h-2v-4h2q0-.825.588-1.413Q13.175 12 14 12h2q.425 0 .712.287q.288.288.288.713v6q0 .425-.288.712Q16.425 20 16 20Zm-7-3q-1.65 0-2.825-1.175Q3 14.65 3 13q0-1.65 1.175-2.825Q5.35 9 7 9h1.5q.625 0 1.062-.438Q10 8.125 10 7.5t-.438-1.062Q9.125 6 8.5 6H5q-.425 0-.713-.287Q4 5.425 4 5t.287-.713Q4.575 4 5 4h3.5q1.45 0 2.475 1.025Q12 6.05 12 7.5q0 1.45-1.025 2.475Q9.95 11 8.5 11H7q-.825 0-1.412.587Q5 12.175 5 13q0 .825.588 1.412Q6.175 15 7 15h2v2Z"},null,-1),ik=[rk];function sk(t,e,n,r,i,s){return x(),R("svg",nk,ik)}const ok=ae(tk,[["render",sk]]),ak={name:"Heater"},lk={width:"1em",height:"1em",viewBox:"0 0 24 24"},ck=v("path",{fill:"currentColor",d:"M12 22q-3.35 0-5.675-2.325Q4 17.35 4 14q0-2.825 1.675-5.425q1.675-2.6 4.6-4.55q.55-.375 1.138-.038Q12 4.325 12 5v1.3q0 .85.588 1.425q.587.575 1.437.575q.425 0 .813-.187q.387-.188.687-.538q.2-.25.513-.313q.312-.062.587.138Q18.2 8.525 19.1 10.275q.9 1.75.9 3.725q0 3.35-2.325 5.675Q15.35 22 12 22Zm-6-8q0 1.3.525 2.462q.525 1.163 1.5 2.038Q8 18.375 8 18.275v-.225q0-.8.3-1.5t.875-1.275L12 12.5l2.825 2.775q.575.575.875 1.275q.3.7.3 1.5v.225q0 .1-.025.225q.975-.875 1.5-2.038Q18 15.3 18 14q0-1.25-.462-2.363q-.463-1.112-1.338-1.987q-.5.325-1.05.487q-.55.163-1.125.163q-1.55 0-2.687-1.025Q10.2 8.25 10.025 6.75q-1.95 1.65-2.987 3.512Q6 12.125 6 14Zm6 1.3l-1.425 1.4q-.275.275-.425.625q-.15.35-.15.725q0 .8.588 1.375Q11.175 20 12 20t1.413-.575Q14 18.85 14 18.05q0-.4-.15-.738q-.15-.337-.425-.612Z"},null,-1),uk=[ck];function dk(t,e,n,r,i,s){return x(),R("svg",lk,uk)}const fk=ae(ak,[["render",dk]]),hk={name:"Moped"},mk={width:"1em",height:"1em",viewBox:"0 0 24 24"},pk=v("path",{fill:"currentColor",d:"M7 17q-1.25 0-2.125-.875T4 14H3q-.425 0-.712-.288Q2 13.425 2 13v-2q0-1.65 1.175-2.825Q4.35 7 6 7h3q.425 0 .713.287Q10 7.575 10 8v4h3.5L17 7.65V5h-2q-.425 0-.712-.288Q14 4.425 14 4t.288-.713Q14.575 3 15 3h2q.825 0 1.413.587Q19 4.175 19 5v2.65q0 .35-.112.662q-.113.313-.313.588L15.1 13.25q-.275.35-.7.55q-.425.2-.875.2H10q0 1.25-.875 2.125T7 17Zm1-5Zm-1 3q.425 0 .713-.288Q8 14.425 8 14H6q0 .425.287.712Q6.575 15 7 15ZM6 6q-.425 0-.713-.287Q5 5.425 5 5t.287-.713Q5.575 4 6 4h3q.425 0 .713.287Q10 4.575 10 5t-.287.713Q9.425 6 9 6Zm13 11q-1.25 0-2.125-.875T16 14q0-1.25.875-2.125T19 11q1.25 0 2.125.875T22 14q0 1.25-.875 2.125T19 17Zm0-2q.425 0 .712-.288Q20 14.425 20 14t-.288-.713Q19.425 13 19 13t-.712.287Q18 13.575 18 14t.288.712Q18.575 15 19 15Zm-6 8l-6-3h4v-2l6 3h-4ZM4 12h4V9H6q-.825 0-1.412.587Q4 10.175 4 11Z"},null,-1),gk=[pk];function _k(t,e,n,r,i,s){return x(),R("svg",mk,gk)}const vk=ae(hk,[["render",_k]]),bk={name:"Motorcycle"},yk={width:"1em",height:"1em",viewBox:"0 0 24 24"},wk=v("path",{fill:"currentColor",d:"M5 19q-2.075 0-3.537-1.462Q0 16.075 0 14q0-2.075 1.463-3.538Q2.925 9 5 9h11.6l-2-2H12q-.425 0-.712-.287Q11 6.425 11 6t.288-.713Q11.575 5 12 5h2.975q.2 0 .388.075q.187.075.337.225l3.75 3.75q1.95.15 3.25 1.575T24 14q0 2.075-1.462 3.538Q21.075 19 19 19q-2.075 0-3.537-1.462Q14 16.075 14 14q0-.45.062-.888q.063-.437.238-.862l-2.175 2.175q-.275.275-.637.425q-.363.15-.763.15H9.9q-.35 1.75-1.725 2.875T5 19Zm14-2q1.25 0 2.125-.875T22 14q0-1.25-.875-2.125T19 11q-1.25 0-2.125.875T16 14q0 1.25.875 2.125T19 17ZM5 17q.95 0 1.713-.55Q7.475 15.9 7.8 15H6q-.425 0-.713-.288Q5 14.425 5 14t.287-.713Q5.575 13 6 13h1.8q-.325-.9-1.087-1.45Q5.95 11 5 11q-1.25 0-2.125.875T2 14q0 1.25.875 2.125T5 17Zm4.95-4h.75l2-2H8.95q.375.425.625.925T9.95 13Zm0-2h-1h3.75h-2Z"},null,-1),Ek=[wk];function Tk(t,e,n,r,i,s){return x(),R("svg",yk,Ek)}const Ck=ae(bk,[["render",Tk]]),Sk={name:"Scooter"},kk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Ak=v("path",{fill:"currentColor",d:"M5 18q-1.25 0-2.125-.875T2 15q0-1.25.875-2.125T5 12q.975 0 1.738.562Q7.5 13.125 7.8 14h5.3q.275-1.7 1.412-2.975Q15.65 9.75 17.3 9.25L15.9 3H13q-.425 0-.712-.288Q12 2.425 12 2t.288-.713Q12.575 1 13 1h2.9q.675 0 1.237.438q.563.437.713 1.112l1.9 8.45H19q-1.65 0-2.825 1.175Q15 13.35 15 15v1H7.8q-.3.875-1.062 1.438Q5.975 18 5 18Zm0-2q.425 0 .713-.288Q6 15.425 6 15t-.287-.713Q5.425 14 5 14t-.713.287Q4 14.575 4 15t.287.712Q4.575 16 5 16Zm14 2q-1.25 0-2.125-.875T16 15q0-1.25.875-2.125T19 12q1.25 0 2.125.875T22 15q0 1.25-.875 2.125T19 18Zm0-2q.425 0 .712-.288Q20 15.425 20 15t-.288-.713Q19.425 14 19 14t-.712.287Q18 14.575 18 15t.288.712Q18.575 16 19 16Zm-6 7l-6-3h4v-2l6 3h-4Zm-8-8Zm14 0Z"},null,-1),xk=[Ak];function Lk(t,e,n,r,i,s){return x(),R("svg",kk,xk)}const Pk=ae(Sk,[["render",Lk]]),Nk={name:"Tractor"},Mk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Ik=v("path",{fill:"currentColor",d:"M4 9q-.425 0-.712-.288Q3 8.425 3 8t.288-.713Q3.575 7 4 7h3q.825 0 1.412.587Q9 8.175 9 9Zm2 9q1.25 0 2.125-.875T9 15q0-1.25-.875-2.125T6 12q-1.25 0-2.125.875T3 15q0 1.25.875 2.125T6 18Zm13.5 0q.625 0 1.062-.438Q21 17.125 21 16.5t-.438-1.062Q20.125 15 19.5 15t-1.062.438Q18 15.875 18 16.5t.438 1.062Q18.875 18 19.5 18ZM6 16.5q-.625 0-1.062-.438Q4.5 15.625 4.5 15t.438-1.062Q5.375 13.5 6 13.5t1.062.438Q7.5 14.375 7.5 15t-.438 1.062Q6.625 16.5 6 16.5Zm14-3.475q.65.125 1.075.337q.425.213.925.688V8q0-.825-.587-1.412Q20.825 6 20 6h-6.3l-1.05-1.1l1.05-1.05q.15-.15.15-.35q0-.2-.15-.35q-.15-.15-.35-.15q-.2 0-.35.15l-2.825 2.825q-.15.15-.15.363q0 .212.175.362q.15.15.35.15q.2 0 .35-.15l1.05-1.05L13 6.7V9q0 .825-.587 1.412Q11.825 11 11 11H8.975q.575.425.925.875q.35.45.7 1.125h.4q1.65 0 2.825-1.175Q15 10.65 15 9V8h5ZM16.025 16q.15-.675.363-1.088q.212-.412.662-.912H10.9q.1.575.1 1q0 .425-.1 1Zm3.475 4q-1.45 0-2.475-1.025Q16 17.95 16 16.5q0-1.45 1.025-2.475Q18.05 13 19.5 13q1.45 0 2.475 1.025Q23 15.05 23 16.5q0 1.45-1.025 2.475Q20.95 20 19.5 20ZM6 20q-2.075 0-3.537-1.462Q1 17.075 1 15q0-2.075 1.463-3.538Q3.925 10 6 10t3.538 1.462Q11 12.925 11 15q0 2.075-1.462 3.538Q8.075 20 6 20Zm9.825-9Z"},null,-1),Ok=[Ik];function $k(t,e,n,r,i,s){return x(),R("svg",Mk,Ok)}const Dk=ae(Nk,[["render",$k]]),Rk={name:"Van"},Vk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Fk=v("path",{fill:"currentColor",d:"M6 20q-1.25 0-2.125-.875T3 17q-.825 0-1.412-.587Q1 15.825 1 15V6q0-.825.588-1.412Q2.175 4 3 4h12q.825 0 1.413.588Q17 5.175 17 6v2h2.5q.25 0 .45.1t.35.3l2.5 3.325q.1.125.15.275q.05.15.05.325V16q0 .425-.288.712Q22.425 17 22 17h-1q0 1.25-.875 2.125T18 20q-1.25 0-2.125-.875T15 17H9q0 1.25-.875 2.125T6 20Zm0-2q.425 0 .713-.288Q7 17.425 7 17t-.287-.712Q6.425 16 6 16t-.713.288Q5 16.575 5 17t.287.712Q5.575 18 6 18ZM3 6v9h.8q.425-.45.975-.725Q5.325 14 6 14t1.225.275q.55.275.975.725H15V6H3Zm15 12q.425 0 .712-.288Q19 17.425 19 17t-.288-.712Q18.425 16 18 16t-.712.288Q17 16.575 17 17t.288.712Q17.575 18 18 18Zm-1-5h4.25L19 10h-2Zm-8-2.5Z"},null,-1),qk=[Fk];function Hk(t,e,n,r,i,s){return x(),R("svg",Vk,qk)}const jk=ae(Rk,[["render",Hk]]),zk={name:"WaterHeater"},Bk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Uk=v("path",{fill:"currentColor",d:"M6 22q-.825 0-1.412-.587Q4 20.825 4 20V6q0-1.65 1.175-2.825Q6.35 2 8 2h8q1.65 0 2.825 1.175Q20 4.35 20 6v14q0 .825-.587 1.413Q18.825 22 18 22Zm0-4v2h12v-2q-.75 0-1.2.5q-.45.5-1.8.5t-1.762-.5Q12.825 18 12 18t-1.237.5Q10.35 19 9 19q-1.35 0-1.762-.5Q6.825 18 6 18Zm3-1q.825 0 1.238-.5Q10.65 16 12 16t1.8.5q.45.5 1.2.5t1.2-.5q.45-.5 1.8-.5V6q0-.825-.587-1.412Q16.825 4 16 4H8q-.825 0-1.412.588Q6 5.175 6 6v10q1.35 0 1.763.5q.412.5 1.237.5Zm3.125-2.05q-1.65 0-2.875-1.088q-1.225-1.087-1.225-2.787q0-.575.163-1.188q.162-.612.587-1.212q.075-.125.213-.2q.137-.075.312-.075q.1 0 .15.062q.05.063.05.138q-.025.15-.037.287q-.013.138-.013.263q0 .75.313 1.312q.312.563.562.563q.15 0 .213-.1q.062-.1.062-.225t-.05-.288L10.425 10q-.05-.2-.1-.488q-.05-.287-.05-.662q0-1.35.612-2.313q.613-.962 1.738-1.462q.1-.05.138-.063Q12.8 5 12.875 5q.075 0 .113.05q.037.05.012.125q-.1.275-.137.487q-.038.213-.038.488q0 .8.438 1.425q.437.625 1.162 1.125q.775.525 1.125 1.288q.35.762.35 1.562q0 1.275-1 2.337q-1 1.063-2.775 1.063Zm.125-1.675q.7 0 1.175-.5q.475-.5.475-1.175q0-.4-.212-.713q-.213-.312-.513-.562q-.3-.25-.5-.5t-.3-.525q-.25.225-.3.512q-.05.288.025.688q.05.275.075.512q.025.238.025.438q0 .5-.325.9t-.775.475q.2.2.538.325q.337.125.612.125ZM12 12Z"},null,-1),Wk=[Uk];function Qk(t,e,n,r,i,s){return x(),R("svg",Bk,Wk)}const Kk=ae(zk,[["render",Qk]]),Yk={bike:j3,bus:K3,car:"shopicon-regular-car3",cooler:ek,generic:ok,heater:fk,moped:vk,motorcycle:Ck,scooter:Pk,tractor:Dk,van:jk,waterheater:Kk},Gk={name:"VehicleIcon",components:{MultiIcon:D3},props:{name:{type:String,default:"car"},names:{type:Array},size:{type:String,default:"s"}},computed:{uniqueNames:function(){return[...new Set(this.names||[this.name])]},count:function(){return this.names.length},single:function(){return this.uniqueNames.length==1},singleIcon:function(){return Yk[this.uniqueNames[0]]||"shopicon-regular-car3"}}};function Zk(t,e,n,r,i,s){const o=le("MultiIcon");return s.single?(x(),ve(io(s.singleIcon),{key:0,class:Ne(`icon icon--${n.size}`)},null,8,["class"])):(x(),ve(o,{key:1,count:s.count,size:n.size},null,8,["count","size"]))}const ld=ae(Gk,[["render",Zk],["__scopeId","data-v-af1c6f18"]]);var Xk='';class Jk extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Xk}}window.customElements.define("shopicon-regular-sun",Jk);var e7='';class t7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=e7}}window.customElements.define("shopicon-regular-home",t7);const n7={name:"Visualization",components:{BatteryIcon:h1,LabelBar:wS,AnimatedNumber:ri,VehicleIcon:ld},mixins:[Pt],props:{gridImport:{type:Number,default:0},selfConsumption:{type:Number,default:0},pvExport:{type:Number,default:0},loadpoints:{type:Number,default:0},batteryCharge:{type:Number,default:0},batteryDischarge:{type:Number,default:0},pvProduction:{type:Number,default:0},homePower:{type:Number,default:0},batterySoC:{type:Number,default:0},valuesInKw:{type:Boolean,default:!1},vehicleIcons:{type:Array}},data:function(){return{width:0,visualizationReady:!1}},computed:{gridExport:function(){return this.applyThreshold(this.pvExport)},totalRaw:function(){return this.gridImport+this.selfConsumption+this.pvExport},gridImportAdjusted:function(){return this.applyThreshold(this.gridImport)},selfConsumptionAdjusted:function(){return this.applyThreshold(this.selfConsumption)},pvExportAdjusted:function(){return this.applyThreshold(this.pvExport)},totalAdjusted:function(){return this.gridImportAdjusted+this.selfConsumptionAdjusted+this.pvExportAdjusted}},watch:{totalAdjusted:function(){!this.visualizationReady&&this.totalAdjusted>0&&setTimeout(()=>{this.visualizationReady=!0},500)}},mounted:function(){this.$nextTick(function(){window.addEventListener("resize",this.updateElementWidth),this.updateElementWidth()})},beforeUnmount(){window.removeEventListener("resize",this.updateElementWidth)},methods:{widthTotal:function(t){return this.totalAdjusted===0?"0%":100/this.totalAdjusted*t+"%"},fmtBarValue:function(t){const e=this.powerLabelEnoughSpace(t);return this.fmtKw(t,this.valuesInKw,e)},powerLabelAvailableSpace(t){if(this.totalAdjusted===0)return 0;const e=100/this.totalAdjusted*t;return this.width/100*e},powerLabelEnoughSpace(t){return this.powerLabelAvailableSpace(t)>60},powerLabelSomeSpace(t){return this.powerLabelAvailableSpace(t)>35},hideLabelIcon(t,e=32){if(this.totalAdjusted===0)return!0;const n=100/this.totalAdjusted*t;return this.width/100*n(bt("data-v-e8e4e8e1"),t=t(),yt(),t),r7={class:"label-scale d-flex"},i7={class:"d-flex justify-content-start flex-grow-1"},s7=os(()=>v("shopicon-regular-sun",null,null,-1)),o7=os(()=>v("shopicon-regular-powersupply",null,null,-1)),a7=os(()=>v("div",{class:"label-scale-name"},"In",-1)),l7={ref:"site_progress",class:"site-progress"},c7={key:0,class:"site-progress-bar bg-light border no-wrap w-100 text-dark"},u7={class:"label-scale d-flex"},d7={class:"d-flex justify-content-start flex-grow-1"},f7=os(()=>v("shopicon-regular-home",null,null,-1)),h7=os(()=>v("shopicon-regular-powersupply",null,null,-1)),m7=os(()=>v("div",{class:"label-scale-name"},"Out",-1));function p7(t,e,n,r,i,s){const o=le("LabelBar"),a=le("BatteryIcon"),l=le("AnimatedNumber"),c=le("VehicleIcon");return x(),R("div",{class:Ne(["visualization",{"visualization--ready":t.visualizationReady}])},[v("div",r7,[v("div",i7,[ne(o,an(Qt(s.labelBarProps("top","pvProduction"))),{default:Je(()=>[s7]),_:1},16),ne(o,an(Qt(s.labelBarProps("top","batteryDischarge"))),{default:Je(()=>[ne(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),ne(o,an(Qt(s.labelBarProps("top","gridImport"))),{default:Je(()=>[o7]),_:1},16)]),a7]),v("div",l7,[v("div",{class:"site-progress-bar self-consumption",style:Ct({width:s.widthTotal(s.selfConsumptionAdjusted)})},[n.selfConsumption?(x(),ve(l,{key:0,class:"power",to:n.selfConsumption,format:s.fmtBarValue},null,8,["to","format"])):be("",!0)],4),v("div",{class:"site-progress-bar grid-import",style:Ct({width:s.widthTotal(s.gridImportAdjusted)})},[n.gridImport?(x(),ve(l,{key:0,class:"power",to:n.gridImport,format:s.fmtBarValue},null,8,["to","format"])):be("",!0)],4),v("div",{class:"site-progress-bar pv-export",style:Ct({width:s.widthTotal(s.pvExportAdjusted)})},[n.pvExport?(x(),ve(l,{key:0,class:"power",to:n.pvExport,format:s.fmtBarValue},null,8,["to","format"])):be("",!0)],4),s.totalAdjusted<=0?(x(),R("div",c7,[v("span",null,F(t.$t("main.energyflow.noEnergy")),1)])):be("",!0)],512),v("div",u7,[v("div",d7,[ne(o,an(Qt(s.labelBarProps("bottom","homePower"))),{default:Je(()=>[f7]),_:1},16),ne(o,an(Qt(s.labelBarProps("bottom","loadpoints"))),{default:Je(()=>[ne(c,{names:n.vehicleIcons},null,8,["names"])]),_:1},16),ne(o,an(Qt(s.labelBarProps("bottom","batteryCharge"))),{default:Je(()=>[ne(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),ne(o,an(Qt(s.labelBarProps("bottom","gridExport"))),{default:Je(()=>[h7]),_:1},16)]),m7])],2)}const g7=ae(n7,[["render",p7],["__scopeId","data-v-e8e4e8e1"]]);var _7='';class v7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=_7}}window.customElements.define("shopicon-regular-powersupply",v7);const b7={name:"EnergyflowEntry",components:{BatteryIcon:h1,AnimatedNumber:ri,VehicleIcon:ld},mixins:[Pt],props:{name:{type:String},icon:{type:String},power:{type:Number},soc:{type:Number},valuesInKw:{type:Boolean},vehicleIcons:{type:Array}},computed:{active:function(){return this.power>10},isBattery:function(){return this.icon==="battery"},isVehicle:function(){return this.icon==="vehicle"},hasSoC:function(){return this.isBattery&&!isNaN(this.soc)}},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)}}},y7={class:"d-flex flex-nowrap"},w7={class:"text-nowrap flex-grow-1 ms-3"},E7={class:"text-end text-nowrap ps-1 fw-bold"},T7={key:0};function C7(t,e,n,r,i,s){const o=le("BatteryIcon"),a=le("VehicleIcon"),l=le("AnimatedNumber");return x(),R("div",{class:Ne(["d-flex justify-content-between mb-2 entry",{"evcc-gray":!s.active}])},[v("span",y7,[s.isBattery?(x(),ve(o,{key:0,soc:n.soc},null,8,["soc"])):s.isVehicle?(x(),ve(a,{key:1,names:n.vehicleIcons},null,8,["names"])):(x(),ve(io(`shopicon-regular-${n.icon}`),{key:2}))]),v("span",w7,F(n.name),1),v("span",E7,[s.hasSoC?(x(),R("span",T7,F(n.soc)+"% / ",1)):be("",!0),ne(l,{to:n.power,format:s.kw},null,8,["to","format"])])],2)}const S7=ae(b7,[["render",C7],["__scopeId","data-v-5c6978c1"]]),k7={name:"Energyflow",components:{Visualization:g7,EnergyflowEntry:S7,AnimatedNumber:ri},mixins:[Pt],props:{gridConfigured:Boolean,gridPower:{type:Number,default:0},homePower:{type:Number,default:0},pvConfigured:Boolean,pvPower:{type:Number,default:0},loadpointsPower:{type:Number,default:0},activeLoadpointsCount:{type:Number,default:0},batteryConfigured:Boolean,batteryPower:{type:Number,default:0},batterySoC:{type:Number,default:0},vehicleIcons:{type:Array}},data:()=>({detailsOpen:!1,detailsCompleteHeight:null}),computed:{gridImport:function(){return Math.max(0,this.gridPower)},pvProduction:function(){return Math.abs(this.pvPower)},batteryPowerAdjusted:function(){return Math.abs(this.batteryPower)<50?0:this.batteryPower},batteryDischarge:function(){return Math.abs(Math.max(0,this.batteryPowerAdjusted))},batteryCharge:function(){return Math.abs(Math.min(0,this.batteryPowerAdjusted)*-1)},selfConsumption:function(){const t=this.batteryDischarge+this.pvProduction,e=this.homePower+this.batteryCharge+this.loadpointsPower;return Math.min(t,e)},pvExport:function(){return Math.max(0,this.gridPower*-1)},valuesInKw:function(){return this.gridImport+this.selfConsumption+this.pvExport>1e3},inPower:function(){return this.gridImport+this.pvProduction+this.batteryDischarge},outPower:function(){return this.homePower+this.loadpointsPower+this.pvExport+this.batteryCharge},detailsHeight:function(){return this.detailsOpen?this.detailsCompleteHeight+"px":0}},mounted(){window.addEventListener("resize",this.updateHeight)},unmounted(){window.removeEventListener("resize",this.updateHeight)},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)},toggleDetails:function(){this.updateHeight(),this.detailsOpen=!this.detailsOpen},updateHeight:function(){this.detailsCompleteHeight=this.$refs.detailsInner.offsetHeight}}},lo=t=>(bt("data-v-aaa32c9a"),t=t(),yt(),t),A7={class:"row"},x7={ref:"detailsInner",class:"details-inner row"},L7={class:"col-12 d-flex justify-content-between pt-2 mb-4"},P7={class:"d-flex flex-nowrap align-items-center"},N7=lo(()=>v("span",{class:"color-self me-2"},[v("shopicon-filled-square")],-1)),M7={key:0,class:"d-flex flex-nowrap align-items-center"},I7=lo(()=>v("span",{class:"color-grid ms-2"},[v("shopicon-filled-square")],-1)),O7={key:1,class:"d-flex flex-nowrap align-items-center"},$7=lo(()=>v("span",{class:"color-export ms-2"},[v("shopicon-filled-square")],-1)),D7={class:"col-12 col-md-6 pe-md-5 pb-4 d-flex flex-column justify-content-between"},R7={class:"d-flex justify-content-between align-items-end mb-4"},V7=lo(()=>v("h3",{class:"m-0"},"In",-1)),F7={class:"fw-bold"},q7={class:"col-12 col-md-6 ps-md-5 pb-4 d-flex flex-column justify-content-between"},H7={class:"d-flex justify-content-between align-items-end mb-4"},j7=lo(()=>v("h3",{class:"m-0"},"Out",-1)),z7={class:"fw-bold"};function B7(t,e,n,r,i,s){const o=le("Visualization"),a=le("AnimatedNumber"),l=le("EnergyflowEntry");return x(),R("div",{class:Ne(["energyflow cursor-pointer position-relative",{"energyflow--open":t.detailsOpen}]),onClick:e[0]||(e[0]=(...c)=>s.toggleDetails&&s.toggleDetails(...c))},[v("div",A7,[ne(o,{class:"col-12 mb-3 mb-md-4",gridImport:s.gridImport,selfConsumption:s.selfConsumption,loadpoints:n.loadpointsPower,pvExport:s.pvExport,batteryCharge:s.batteryCharge,batteryDischarge:s.batteryDischarge,pvProduction:s.pvProduction,homePower:n.homePower,batterySoC:n.batterySoC,valuesInKw:s.valuesInKw,vehicleIcons:n.vehicleIcons},null,8,["gridImport","selfConsumption","loadpoints","pvExport","batteryCharge","batteryDischarge","pvProduction","homePower","batterySoC","valuesInKw","vehicleIcons"])]),v("div",{class:"details",style:Ct({height:s.detailsHeight})},[v("div",x7,[v("div",L7,[v("div",P7,[N7,v("span",null,F(t.$t("main.energyflow.selfConsumption")),1)]),s.gridImport>0?(x(),R("div",M7,[v("span",null,F(t.$t("main.energyflow.gridImport")),1),I7])):(x(),R("div",O7,[v("span",null,F(t.$t("main.energyflow.pvExport")),1),$7]))]),v("div",D7,[v("div",R7,[V7,v("span",F7,[ne(a,{to:s.inPower,format:s.kw},null,8,["to","format"])])]),v("div",null,[ne(l,{name:t.$t("main.energyflow.pvProduction"),icon:"sun",power:s.pvProduction,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(x(),ve(l,{key:0,name:t.$t("main.energyflow.batteryDischarge"),icon:"battery",soc:n.batterySoC,power:s.batteryDischarge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):be("",!0),ne(l,{name:t.$t("main.energyflow.gridImport"),icon:"powersupply",power:s.gridImport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])]),v("div",q7,[v("div",H7,[j7,v("span",z7,[ne(a,{to:s.outPower,format:s.kw},null,8,["to","format"])])]),v("div",null,[ne(l,{name:t.$t("main.energyflow.homePower"),icon:"home",power:n.homePower,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),ne(l,{name:t.$tc("main.energyflow.loadpoints",n.activeLoadpointsCount,{count:n.activeLoadpointsCount}),icon:"vehicle",vehicleIcons:n.vehicleIcons,power:n.loadpointsPower,valuesInKw:s.valuesInKw},null,8,["name","vehicleIcons","power","valuesInKw"]),n.batteryConfigured?(x(),ve(l,{key:0,name:t.$t("main.energyflow.batteryCharge"),icon:"battery",soc:n.batterySoC,power:s.batteryCharge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):be("",!0),ne(l,{name:t.$t("main.energyflow.pvExport"),icon:"powersupply",power:s.pvExport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])])],512)],4)],2)}const Wh=ae(k7,[["render",B7],["__scopeId","data-v-aaa32c9a"]]);var U7='';class W7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=U7}}window.customElements.define("shopicon-filled-circle",W7);var Q7='';class K7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Q7}}window.customElements.define("shopicon-regular-lightning",K7);var Y7='';class G7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Y7}}window.customElements.define("shopicon-regular-adjust",G7);const{protocol:Z7,hostname:X7,port:Qh,pathname:J7}=window.location,ot=od.create({baseURL:Z7+"//"+X7+(Qh?":"+Qh:"")+J7+"api/",headers:{Accept:"application/json"}});ot.interceptors.response.use(t=>t,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;return window.app.error({message:n}),Promise.reject(t)});const eA={name:"Mode",props:{mode:String},emits:["updated"],data(){return{modes:["off","pv","minpv","now"]}},methods:{isActive:function(t){return this.mode===t},setTargetMode:function(t){this.$emit("updated",t)}}},tA={class:"mode-group border d-inline-flex",role:"group"},nA=["onClick"];function rA(t,e,n,r,i,s){return x(),R("div",tA,[(x(!0),R(Ae,null,Ze(i.modes,o=>(x(),R("button",{key:o,type:"button",class:Ne(["btn flex-grow-1 flex-shrink-1",{active:s.isActive(o)}]),onClick:a=>s.setTargetMode(o)},F(t.$t(`main.mode.${o}`)),11,nA))),128))])}const iA=ae(eA,[["render",rA],["__scopeId","data-v-fd0f9db5"]]),ja={methods:{collectProps:function(t){let e={};for(var n in t.props)n in this&&(e[n]=this[n]);return e}}},sA={name:"LabelAndValue",components:{AnimatedNumber:ri},props:{label:String,value:[Number,String],valueFmt:Function,extraValue:String,align:{type:String,default:"center"}},computed:{labelClass(){return`text-${this.align}`},valueClass(){return`justify-content-${this.align}`}}},oA={class:"root"},aA={key:1},lA={key:2,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function cA(t,e,n,r,i,s){const o=le("AnimatedNumber");return x(),R("div",oA,[v("div",{class:Ne(["mb-2 label",s.labelClass])},F(n.label),3),xu(t.$slots,"default",{},()=>[v("h3",{class:Ne(["value m-0 d-block d-sm-flex align-items-baseline",s.valueClass])},[n.valueFmt?(x(),ve(o,{key:0,to:n.value,format:n.valueFmt},null,8,["to","format"])):(x(),R("span",aA,F(n.value),1)),n.extraValue?(x(),R("div",lA,F(n.extraValue),1)):be("",!0)],2)],!0)])}const co=ae(sA,[["render",cA],["__scopeId","data-v-2a1fddd7"]]);var uA='';class dA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=uA}}window.customElements.define("shopicon-regular-refresh",dA);var fA='';class hA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=fA}}window.customElements.define("shopicon-regular-cablecharge",hA);var mA='';class pA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=mA}}window.customElements.define("shopicon-filled-options",pA);const gA={name:"VehicleOptions",props:{vehicles:Array,isUnknown:Boolean},emits:["change-vehicle","remove-vehicle"],methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")}}},_A={role:"button",tabindex:"0","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation"},vA={class:"dropdown-menu dropdown-menu-start"},bA={class:"dropdown-header"},yA=["onClick"],wA={key:0};function EA(t,e,n,r,i,s){return x(),R("div",null,[v("div",_A,[xu(t.$slots,"default")]),v("ul",vA,[v("li",null,[v("h6",bA,F(t.$t("main.vehicle.changeVehicle")),1)]),(x(!0),R(Ae,null,Ze(n.vehicles,o=>(x(),R("li",{key:o},[v("button",{type:"button",class:"dropdown-item",onClick:a=>s.changeVehicle(o.id)},F(o.title),9,yA)]))),128)),n.isUnknown?be("",!0):(x(),R("li",wA,[v("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=o=>s.removeVehicle())},F(t.$t("main.vehicle.unknown")),1)]))])])}const TA=ae(gA,[["render",EA]]),CA={name:"VehicleTitle",components:{VehicleOptions:TA,VehicleIcon:ld},props:{vehiclePresent:Boolean,vehicleTitle:String,vehicleIcon:String,vehicleDetectionActive:Boolean,parked:Boolean,connected:Boolean,vehicles:{type:Array,default:()=>[]}},emits:["change-vehicle","remove-vehicle"],computed:{icon(){return this.vehicleDetectionActive?"refresh":this.connected||this.parked?"vehicle":null},name(){return this.vehiclePresent||this.parked?this.vehicleTitle||this.$t("main.vehicle.fallbackName"):this.connected?this.$t("main.vehicle.unknown"):this.$t("main.vehicle.none")},isUnknown(){return!this.vehiclePresent},otherVehicles(){return this.vehicles.map((t,e)=>({id:e,title:t})).filter(t=>t.title!==this.vehicleTitle)},showOptions(){return!this.isUnknown||this.vehicles.length}},watch:{icon:function(){this.tooltip()}},mounted:function(){this.tooltip()},methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},tooltip(){this.$nextTick(()=>{this.$refs.refresh&&new wr(this.$refs.refresh)})}}},SA={class:"d-flex justify-content-between mb-3 align-items-center"},kA={class:"d-flex align-items-center m-0 flex-grow-1 overflow-hidden"},AA=["title"],xA={key:2,class:"me-2 flex-shrink-0"},LA={class:"flex-grow-1 text-truncate vehicle-name"},PA={key:4,class:"flex-grow-1 text-truncate vehicle-name"};function NA(t,e,n,r,i,s){const o=le("VehicleIcon"),a=le("VehicleOptions");return x(),R("div",SA,[v("h4",kA,[s.icon==="refresh"?(x(),R("shopicon-regular-refresh",{key:0,ref:"refresh","data-bs-toggle":"tooltip",title:t.$t("main.vehicle.detectionActive"),class:"me-2 flex-shrink-0 spin"},null,8,AA)):s.icon==="vehicle"?(x(),ve(o,{key:1,name:n.vehicleIcon,class:"me-2 flex-shrink-0"},null,8,["name"])):(x(),R("shopicon-regular-cablecharge",xA)),s.showOptions?(x(),ve(a,{key:3,class:"options",vehicles:s.otherVehicles,"is-unknown":s.isUnknown,onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle},{default:Je(()=>[v("span",LA,F(s.name),1)]),_:1},8,["vehicles","is-unknown","onChangeVehicle","onRemoveVehicle"])):(x(),R("span",PA,F(s.name),1))])])}const Kh=ae(CA,[["render",NA],["__scopeId","data-v-86443622"]]),MA={name:"VehicleSoc",props:{connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,socBasedCharging:Boolean},emits:["target-soc-drag","target-soc-updated"],data:function(){return{selectedTargetSoC:null,interactionStartScreenY:null,tooltip:null}},computed:{vehicleSoCDisplayWidth:function(){return this.socBasedCharging?this.vehicleSoC>=0?this.vehicleSoC:100:this.targetEnergy?100/this.targetEnergy*(this.chargedEnergy/1e3):100},vehicleTargetSoCActive:function(){return this.vehicleTargetSoC>0&&this.vehicleTargetSoC>this.vehicleSoC},targetSliderActive:function(){return!this.vehicleTargetSoC||this.visibleTargetSoC<=this.vehicleTargetSoC},progressColor:function(){return this.minSoCActive?"bg-danger":"bg-primary"},minSoCActive:function(){return this.minSoC>0&&this.vehicleSoCthis.vehicleSoC)return t-this.vehicleSoC}else return 100-this.vehicleSoCDisplayWidth;return null},visibleTargetSoC:function(){return Number(this.selectedTargetSoC||this.targetSoC)}},watch:{targetSoC:function(){this.selectedTargetSoC=this.targetSoC},vehicleTargetSoC:function(){this.updateTooltip()}},mounted:function(){this.updateTooltip()},methods:{changeTargetSoCStart:function(t){t.stopPropagation()},changeTargetSoCEnd:function(t){const e=parseInt(t.target.value,10);e!==this.targetSoC&&this.$emit("target-soc-updated",e)},movedTargetSoC:function(t){let e=parseInt(t.target.value,10);t.stopPropagation();const n=20;return e{this.tooltip&&this.tooltip.dispose(),this.tooltip=new wr(this.$refs.vehicleTargetSoC)})}}},IA={class:"vehicle-soc"},OA={class:"progress"},$A=["title"],DA={class:"target"},RA=["value"];function VA(t,e,n,r,i,s){return x(),R("div",IA,[v("div",OA,[n.connected?(x(),R("div",{key:0,class:Ne(["progress-bar",{[s.progressColor]:!0,"progress-bar-striped":n.charging,"progress-bar-animated":n.charging}]),role:"progressbar",style:Ct({width:`${s.vehicleSoCDisplayWidth}%`})},null,6)):be("",!0),s.remainingSoCWidth>0&&n.enabled&&n.connected?(x(),R("div",{key:1,class:Ne(["progress-bar bg-muted",s.progressColor]),role:"progressbar",style:Ct({width:`${s.remainingSoCWidth}%`,transition:"none"})},null,6)):be("",!0),Kt(v("div",{ref:"vehicleTargetSoC",class:Ne(["vehicle-target-soc",{"vehicle-target-soc--active":s.vehicleTargetSoCActive}]),"data-bs-toggle":"tooltip",title:t.$t("main.vehicleSoC.vehicleTarget",{soc:n.vehicleTargetSoC}),style:Ct({left:`${n.vehicleTargetSoC}%`})},null,14,$A),[[Iu,n.vehicleTargetSoC]])]),v("div",DA,[n.socBasedCharging&&n.connected?(x(),R("input",{key:0,type:"range",min:"0",max:"100",step:"5",value:s.visibleTargetSoC,class:Ne(["target-slider",{"target-slider--active":s.targetSliderActive}]),onMousedown:e[0]||(e[0]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onTouchstart:e[1]||(e[1]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onInput:e[2]||(e[2]=(...o)=>s.movedTargetSoC&&s.movedTargetSoC(...o)),onMouseup:e[3]||(e[3]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o)),onTouchend:e[4]||(e[4]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o))},null,42,RA)):be("",!0)])])}const Yh=ae(MA,[["render",VA],["__scopeId","data-v-15f37702"]]),FA={name:"VehicleStatus",mixins:[Pt],props:{vehicleSoC:Number,vehicleTargetSoC:Number,minSoC:Number,enabled:Boolean,connected:Boolean,charging:Boolean,targetTime:String,targetTimeProjectedStart:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number},computed:{phaseTimerActive(){return this.charging&&this.phaseRemainingInterpolated>0&&["scale1p","scale3p"].includes(this.phaseAction)},pvTimerActive(){return this.pvRemainingInterpolated>0&&["enable","disable"].includes(this.pvAction)},message:function(){const t=(e,n)=>this.$t(`main.vehicleStatus.${e}`,n);if(!this.connected)return t("disconnected");if(this.minSoC>0&&this.vehicleSoC0&&this.vehicleSoC>=this.vehicleTargetSoC-1?t("vehicleTargetReached",{soc:this.vehicleTargetSoC}):t("waitForVehicle"):this.pvTimerActive&&this.charging&&this.pvAction==="disable"?t("pvDisable",{remaining:this.fmtShortDuration(this.pvRemainingInterpolated,!0)}):this.phaseTimerActive?t(this.phaseAction,{remaining:this.fmtShortDuration(this.phaseRemainingInterpolated,!0)}):this.charging?t("charging"):t("connected")}}},qA={class:"d-block evcc-gray"};function HA(t,e,n,r,i,s){return x(),R("div",qA,F(s.message)+"\xA0",1)}const Gh=ae(FA,[["render",HA]]);var jA='';class zA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=jA}}window.customElements.define("shopicon-filled-plus",zA);var BA='';class UA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=BA}}window.customElements.define("shopicon-filled-edit",UA);const WA="7:00",Zh="last_target_time",QA={name:"TargetCharge",components:{LabelAndValue:co},mixins:[Pt],props:{id:[String,Number],targetTime:String,targetTimeActive:Boolean,targetSoC:Number,disabled:Boolean},emits:["target-time-updated","target-time-removed"],data:function(){return{selectedDay:null,selectedTime:null}},computed:{targetChargeEnabled:function(){return this.targetTime},selectedTargetTimeValid:function(){return new Datenew Date;this.targetChargeEnabled&&e&&(t=new Date(this.targetTime)),this.selectedDay=this.fmtDayString(t),this.selectedTime=this.fmtTimeString(t)},dayOptions:function(){const t=[],e=new Date,n=[this.$t("main.targetCharge.today"),this.$t("main.targetCharge.tomorrow")];for(let r=0;r<7;r++){const i=e.toLocaleDateString("default",{month:"short",day:"numeric"}),s=n[r]||e.toLocaleDateString("default",{weekday:"long"});t.push({value:this.fmtDayString(e),name:`${i} (${s})`}),e.setDate(e.getDate()+1)}return t},setTargetTime:function(){try{const t=this.selectedTargetTime.getHours(),e=this.selectedTargetTime.getMinutes();window.localStorage[Zh]=`${t}:${e}`}catch(t){console.warn(t)}this.$emit("target-time-updated",this.selectedTargetTime)},removeTargetTime:function(){this.$emit("target-time-removed")}}},m1=t=>(bt("data-v-2ec7939a"),t=t(),yt(),t),KA=["data-bs-target","disabled"],YA={key:0},GA={key:1},ZA=["id"],XA={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},JA={class:"modal-content"},ex={class:"modal-header"},tx={class:"modal-title"},nx=m1(()=>v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),rx={class:"modal-body"},ix={class:"form-group"},sx={for:"targetTimeLabel",class:"mb-3"},ox={class:"d-flex justify-content-between",style:{"max-width":"350px"}},ax=["value"],lx={key:0,class:"text-danger mb-0"},cx={class:"small mt-3 text-muted mb-0"},ux={class:"text-evcc"},dx=m1(()=>v("a",{href:"https://github.com/evcc-io/evcc/discussions/1433",target:"_blank"},"GitHub Discussions",-1)),fx={class:"modal-footer d-flex justify-content-between"},hx=["disabled"];function mx(t,e,n,r,i,s){const o=le("LabelAndValue");return x(),R("div",null,[ne(o,{class:Ne(["root flex-grow-1",n.disabled?"opacity-0":"opacity-1"]),label:t.$t("main.targetCharge.title")},{default:Je(()=>[v("button",{class:Ne(["btn btn-link p-0 value text-center",s.targetChargeEnabled?"evcc-default-text":"text-gray"]),"data-bs-toggle":"modal","data-bs-target":`#${s.modalId}`,disabled:n.disabled},[s.targetChargeEnabled?(x(),R("strong",YA,F(s.targetTimeLabel()),1)):(x(),R("span",GA,F(t.$t("main.targetCharge.setTargetTime")),1))],10,KA)]),_:1},8,["label","class"]),(x(),ve(so,{to:"body"},[v("div",{id:s.modalId,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[v("div",XA,[v("div",JA,[v("div",ex,[v("h5",tx,F(t.$t("main.targetCharge.modalTitle")),1),nx]),v("form",{onSubmit:e[3]||(e[3]=js((...a)=>s.setTargetTime&&s.setTargetTime(...a),["prevent"]))},[v("div",rx,[v("div",ix,[v("label",sx,F(t.$t("main.targetCharge.description",{targetSoC:n.targetSoC})),1),v("div",ox,[Kt(v("select",{"onUpdate:modelValue":e[0]||(e[0]=a=>t.selectedDay=a),class:"form-select me-2",style:{"flex-basis":"60%"}},[(x(!0),R(Ae,null,Ze(s.dayOptions(),a=>(x(),R("option",{key:a.value,value:a.value},F(a.name),9,ax))),128))],512),[[Ro,t.selectedDay]]),Kt(v("input",{"onUpdate:modelValue":e[1]||(e[1]=a=>t.selectedTime=a),type:"time",class:"form-control ms-2",style:{"flex-basis":"40%"},step:60*5,required:""},null,512),[[sE,t.selectedTime]])])]),s.selectedTargetTimeValid?be("",!0):(x(),R("p",lx,F(t.$t("main.targetCharge.targetIsInThePast")),1)),v("p",cx,[v("strong",ux,F(t.$t("main.targetCharge.experimentalLabel"))+": ",1),Le(" "+F(t.$t("main.targetCharge.experimentalText"))+" ",1),dx,Le(". ")])]),v("div",fx,[v("button",{type:"button",class:"btn btn-outline-secondary","data-bs-dismiss":"modal",onClick:e[2]||(e[2]=(...a)=>s.removeTargetTime&&s.removeTargetTime(...a))},F(t.$t("main.targetCharge.remove")),1),v("button",{type:"submit",class:"btn btn-primary","data-bs-dismiss":"modal",disabled:!s.selectedTargetTimeValid},F(t.$t("main.targetCharge.activate")),9,hx)])],32)])])],8,ZA)]))])}const Xh=ae(QA,[["render",mx],["__scopeId","data-v-2ec7939a"]]),px={name:"TargetSoCSelect",components:{LabelAndValue:co,AnimatedNumber:ri},props:{targetSoc:Number,rangePerSoc:Number},emits:["target-soc-updated"],computed:{options:function(){const t=[];for(let e=20;e<=100;e+=5){let n=this.formatSoC(e);const r=this.estimatedRange(e);r&&(n+=` (${this.formatKm(r)})`),t.push({soc:e,text:n})}return t},estimatedTargetRange:function(){return this.estimatedRange(this.targetSoc)}},methods:{change:function(t){return this.$emit("target-soc-updated",parseInt(t.target.value,10))},estimatedRange:function(t){return this.rangePerSoc?Math.round(t*this.rangePerSoc):null},formatSoC:function(t){return`${Math.round(t)}%`},formatKm:function(t){return`${Math.round(t)} km`}}},gx={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},_x={class:"position-relative"},vx=["value"],bx=["value"],yx={class:"text-decoration-underline"},wx={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function Ex(t,e,n,r,i,s){const o=le("AnimatedNumber"),a=le("LabelAndValue");return x(),ve(a,{class:"flex-grow-1",label:t.$t("main.vehicle.targetSoC"),align:"end"},{default:Je(()=>[v("h3",gx,[v("label",_x,[v("select",{value:n.targetSoc,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(x(!0),R(Ae,null,Ze(s.options,({soc:l,text:c})=>(x(),R("option",{key:l,value:l},F(c),9,bx))),128))],40,vx),v("span",yx,[ne(o,{to:n.targetSoc,format:s.formatSoC},null,8,["to","format"])])]),s.estimatedTargetRange?(x(),R("div",wx,[ne(o,{to:s.estimatedTargetRange,format:s.formatKm},null,8,["to","format"])])):be("",!0)])]),_:1},8,["label"])}const Tx=ae(px,[["render",Ex],["__scopeId","data-v-c40d1ba1"]]),Cx={name:"TargetEnergySelect",components:{LabelAndValue:co,AnimatedNumber:ri},mixins:[Pt],props:{targetEnergy:Number,socPerKwh:Number,chargedEnergy:Number,vehicleCapacity:Number},emits:["target-energy-updated"],computed:{maxEnergy:function(){return this.vehicleCapacity||100},steps:function(){return this.maxEnergy<1?.05:this.maxEnergy<2?.1:this.maxEnergy<5?.25:this.maxEnergy<10?.5:this.maxEnergy<25?1:this.maxEnergy<50?2:5},options:function(){const t=[];for(let e=0;e<=this.maxEnergy;e+=this.steps){let n=this.fmtEnergy(e);const r=e=.1,n=e&&this.steps<1?1:0;return this.fmtKWh(t*1e3,e,!0,n)},fmtSoC:function(t){return`+${Math.round(t)}%`}}},Sx={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},kx={class:"position-relative"},Ax=["value"],xx=["value","disabled"],Lx={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function Px(t,e,n,r,i,s){const o=le("AnimatedNumber"),a=le("LabelAndValue");return x(),ve(a,{class:"flex-grow-1",label:t.$t("main.targetEnergy.label"),align:"end"},{default:Je(()=>[v("h3",Sx,[v("label",kx,[v("select",{value:n.targetEnergy,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(x(!0),R(Ae,null,Ze(s.options,({energy:l,text:c,disabled:u})=>(x(),R("option",{key:l,value:l,disabled:u},F(c),9,xx))),128))],40,Ax),v("span",{class:Ne(["text-decoration-underline",{"text-gray fw-normal":!n.targetEnergy}])},[ne(o,{to:n.targetEnergy,format:s.fmtEnergy,"no-animation":!n.targetEnergy},null,8,["to","format","no-animation"])],2)]),s.estimatedTargetSoC?(x(),R("div",Lx,[ne(o,{to:s.estimatedTargetSoC,format:s.fmtSoC},null,8,["to","format"])])):be("",!0)])]),_:1},8,["label"])}const Nx=ae(Cx,[["render",Px],["__scopeId","data-v-12336233"]]),Mx={name:"Vehicle",components:{VehicleTitle:Kh,VehicleSoc:Yh,VehicleStatus:Gh,LabelAndValue:co,TargetCharge:Xh,TargetSoCSelect:Tx,TargetEnergySelect:Nx},mixins:[ja,Pt],props:{id:[String,Number],connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,vehicleDetectionActive:Boolean,vehicleRange:Number,vehicleTitle:String,vehicleIcon:String,vehicleCapacity:Number,socBasedCharging:Boolean,targetTimeActive:Boolean,targetTime:String,targetTimeProjectedStart:String,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,mode:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number,parked:Boolean,vehicles:Array},emits:["target-time-removed","target-time-updated","target-soc-updated","target-energy-updated","change-vehicle","remove-vehicle"],data(){return{displayTargetSoC:this.targetSoC}},computed:{vehicleSocProps:function(){return this.collectProps(Yh)},vehicleStatus:function(){return this.collectProps(Gh)},vehicleTitleProps:function(){return this.collectProps(Kh)},targetCharge:function(){return this.collectProps(Xh)},rangePerSoC:function(){return this.vehicleSoC>10&&this.vehicleRange?this.vehicleRange/this.vehicleSoC:null},socPerKwh:function(){return this.vehicleCapacity>0?100/this.vehicleCapacity:null},chargedSoC:function(){const t=this.socPerKwh*(this.chargedEnergy/1e3);return t>1?`+${Math.round(t)}%`:null},targetChargeDisabled:function(){return!this.connected||!["pv","minpv"].includes(this.mode)}},watch:{targetSoC:function(){this.displayTargetSoC=this.targetSoC}},methods:{targetSocDrag:function(t){this.displayTargetSoC=t},targetSocUpdated:function(t){this.displayTargetSoC=t,this.$emit("target-soc-updated",t)},targetEnergyUpdated:function(t){this.$emit("target-energy-updated",t)},setTargetTime:function(t){this.$emit("target-time-updated",t)},removeTargetTime:function(){this.$emit("target-time-removed")},changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},Ix=t=>(bt("data-v-f7edcd6c"),t=t(),yt(),t),Ox={class:"vehicle pt-4"},$x={class:"details d-flex flex-wrap justify-content-between"},Dx={key:1,class:"d-flex justify-content-start"},Rx=Ix(()=>v("small",null,"vor 5 Stunden",-1)),Vx=[Rx];function Fx(t,e,n,r,i,s){const o=le("VehicleTitle"),a=le("VehicleStatus"),l=le("VehicleSoc"),c=le("LabelAndValue"),u=le("TargetCharge"),f=le("TargetSoCSelect"),d=le("TargetEnergySelect");return x(),R("div",Ox,[ne(o,$t(s.vehicleTitleProps,{onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle}),null,16,["onChangeVehicle","onRemoveVehicle"]),n.parked?be("",!0):(x(),ve(a,$t({key:0},s.vehicleStatus,{class:"mb-2"}),null,16)),ne(l,$t(s.vehicleSocProps,{class:"mt-2 mb-4",onTargetSocUpdated:s.targetSocUpdated,onTargetSocDrag:s.targetSocDrag}),null,16,["onTargetSocUpdated","onTargetSocDrag"]),v("div",$x,[n.socBasedCharging?(x(),ve(c,{key:0,class:"flex-grow-1",label:t.$t("main.vehicle.vehicleSoC"),value:n.vehicleSoC?`${n.vehicleSoC}%`:"--",extraValue:n.vehicleRange?`${n.vehicleRange} km`:null,align:"start"},null,8,["label","value","extraValue"])):(x(),ve(c,{key:1,class:"flex-grow-1",label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),extraValue:s.chargedSoC,align:"start"},null,8,["label","value","extraValue"])),n.socBasedCharging?(x(),ve(u,$t({key:2,class:"flex-grow-1 text-center target-charge"},s.targetCharge,{disabled:s.targetChargeDisabled,onTargetTimeUpdated:s.setTargetTime,onTargetTimeRemoved:s.removeTargetTime}),null,16,["disabled","onTargetTimeUpdated","onTargetTimeRemoved"])):be("",!0),n.socBasedCharging?(x(),ve(f,{key:3,class:"flex-grow-1 text-end","target-soc":i.displayTargetSoC,"range-per-soc":s.rangePerSoC,onTargetSocUpdated:s.targetSocUpdated},null,8,["target-soc","range-per-soc","onTargetSocUpdated"])):(x(),ve(d,{key:4,class:"flex-grow-1 text-end","target-energy":n.targetEnergy,"soc-per-kwh":s.socPerKwh,"charged-energy":n.chargedEnergy,"vehicle-capacity":n.vehicleCapacity,onTargetEnergyUpdated:s.targetEnergyUpdated},null,8,["target-energy","soc-per-kwh","charged-energy","vehicle-capacity","onTargetEnergyUpdated"]))]),t.$hiddenFeatures?(x(),R("div",Dx,Vx)):be("",!0)])}const Oc=ae(Mx,[["render",Fx],["__scopeId","data-v-f7edcd6c"]]),qx={name:"Phases",props:{chargeCurrent:{type:Number},chargeCurrents:{type:Array},phasesActive:{type:Number},minCurrent:{type:Number},maxCurrent:{type:Number}},methods:{inactive(t){return t>this.phasesActive},targetWidth(){let t=Math.min(Math.max(this.minCurrent,this.chargeCurrent),this.maxCurrent);return 100/this.maxCurrent*t},realWidth(t){if(this.chargeCurrents){const e=this.chargeCurrents[t-1]||0;return 100/this.maxCurrent*e}return this.targetWidth()}}},Hx={class:"phases d-flex justify-content-between"};function jx(t,e,n,r,i,s){return x(),R("div",Hx,[(x(),R(Ae,null,Ze([1,2,3],o=>v("div",{key:o,class:Ne(["phase me-1",{inactive:s.inactive(o)}])},[v("div",{class:"target",style:Ct({width:`${s.targetWidth()}%`})},null,4),v("div",{class:"real",style:Ct({width:`${s.realWidth(o)}%`})},null,4)],2)),64))])}const Jh=ae(qx,[["render",jx],["__scopeId","data-v-0709e49e"]]),zx={name:"LoadpointSettingsButton",props:{id:[String,Number]}},Bx=["data-bs-target"],Ux=v("shopicon-regular-adjust",{size:"s"},null,-1),Wx=[Ux];function Qx(t,e,n,r,i,s){return x(),R("button",{type:"button","data-bs-toggle":"modal","data-bs-target":`#loadpointSettingsModal_${n.id}`,class:"btn btn-sm btn-outline-secondary position-relative border-0 p-2 evcc-gray"},Wx,8,Bx)}const Kx=ae(zx,[["render",Qx]]);var Yx='';class Gx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Yx}}window.customElements.define("shopicon-bold-lightning",Gx);var Zx='';class Xx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Zx}}window.customElements.define("shopicon-bold-car3",Xx);const xo=230,Jx={name:"LoadpointSettingsModal",mixins:[Pt],props:{id:[String,Number],phasesConfigured:Number,minSoC:Number,maxCurrent:Number,minCurrent:Number,title:String},emits:["phasesconfigured-updated","maxcurrent-updated","mincurrent-updated","minsoc-updated"],data:function(){return{selectedMaxCurrent:this.maxCurrent,selectedMinCurrent:this.minCurrent,selectedPhases:this.phasesConfigured,selectedMinSoC:this.minSoC}},computed:{maxPower1p:function(){return this.fmtKw(this.maxCurrent*xo)},minPower1p:function(){return this.fmtKw(this.minCurrent*xo)},maxPower3p:function(){return this.fmtKw(this.maxCurrent*xo*3)},minPower3p:function(){return this.fmtKw(this.minCurrent*xo*3)},maxPower:function(){return this.phasesConfigured===1?this.maxPower1p:this.maxPower3p},minPower:function(){return this.phasesConfigured===3?this.minPower3p:this.minPower1p},showConfigurablePhases:function(){return[0,1,3].includes(this.phasesConfigured)},showCurrentSettings:function(){return this.$hiddenFeatures},showMinSoCSettings:function(){return this.$hiddenFeatures}},watch:{maxCurrent:function(t){this.selectedMaxCurrent=t},minCurrent:function(t){this.selectedMinCurrent=t},phasesConfigured:function(t){this.selectedPhases=t},minSoC:function(t){this.selectedMinSoC=t}},methods:{formId:function(t){return`loadpoint_${this.id}_${t}`},changeMaxCurrent:function(){this.$emit("maxcurrent-updated",this.selectedMaxCurrent)},changeMinCurrent:function(){this.$emit("mincurrent-updated",this.selectedMinCurrent)},changePhasesConfigured:function(){this.$emit("phasesconfigured-updated",this.selectedPhases)},changeMinSoC:function(){this.$emit("minsoc-updated",this.selectedMinSoC)},currentOptions:function(t,e=16){const n=[],r=t?32:this.maxCurrent,i=t?this.minCurrent:6;for(let s=r;s>=i;s--){let o=`${s} A`;s===e&&(o+=` (${this.$t("main.loadpointSettings.default")})`),n.push({value:s,name:o})}return n}}},cd=t=>(bt("data-v-c8fc2df3"),t=t(),yt(),t),eL=["id"],tL={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},nL={class:"modal-content"},rL={class:"modal-header"},iL={class:"modal-title"},sL=cd(()=>v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),oL={class:"modal-body"},aL={class:"container"},lL={key:0,class:"d-flex align-items-center mb-3 mt-0 text-evcc"},cL=cd(()=>v("shopicon-bold-car3",{class:"ms-2"},null,-1)),uL={key:1,class:"mb-3 row"},dL=["for"],fL={class:"col-sm-8 pe-0"},hL=["id"],mL=["value"],pL={key:2,class:"d-flex align-items-center mb-3 mt-4 text-evcc"},gL=cd(()=>v("shopicon-bold-lightning",{class:"ms-1"},null,-1)),_L={key:3,class:"mb-3 row"},vL=["for"],bL={class:"col-sm-8 pe-0"},yL={class:"form-check"},wL=["id","name"],EL=["for"],TL={class:"form-check"},CL=["id","name"],SL=["for"],kL={class:"form-check"},AL=["id","name"],xL=["for"],LL={key:4,class:"mb-3 row"},PL=["for"],NL={class:"col-sm-8 pe-0 d-flex align-items-center"},ML=["id"],IL=["value"],OL={class:"ms-3"},$L={key:5,class:"mb-3 row"},DL=["for"],RL={class:"col-sm-8 pe-0 d-flex align-items-center"},VL=["id"],FL=["value"],qL={class:"ms-3"},HL={class:"small mt-3 text-muted mb-0"},jL={class:"text-evcc"};function zL(t,e,n,r,i,s){return x(),ve(so,{to:"body"},[v("div",{id:`loadpointSettingsModal_${n.id}`,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[v("div",tL,[v("div",nL,[v("div",rL,[v("h5",iL,F(t.$t("main.loadpointSettings.title",[n.title])),1),sL]),v("div",oL,[v("div",aL,[s.showMinSoCSettings?(x(),R("h4",lL,[Le(F(t.$t("main.loadpointSettings.vehicle"))+" ",1),cL])):be("",!0),s.showMinSoCSettings?(x(),R("div",uL,[v("label",{for:s.formId("minsoc"),class:"col-sm-4 col-form-label pt-0 pt-sm-1"},F(t.$t("main.loadpointSettings.minSoC.label")),9,dL),v("div",fL,[Kt(v("select",{id:s.formId("minsoc"),"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedMinSoC=o),class:"form-select form-select-sm mb-2 w-50",onChange:e[1]||(e[1]=(...o)=>s.changeMinSoC&&s.changeMinSoC(...o))},[(x(),R(Ae,null,Ze([0,5,10,15,20,25,30,35,40,45,50],o=>v("option",{key:o,value:o},F(o?`${o}%`:"--"),9,mL)),64))],40,hL),[[Ro,t.selectedMinSoC,void 0,{number:!0}]]),v("small",null,F(t.$t("main.loadpointSettings.minSoC.description",[t.selectedMinSoC||"x"])),1)])])):be("",!0),s.showConfigurablePhases||s.showCurrentSettings?(x(),R("h4",pL,[Le(F(t.$t("main.loadpointSettings.currents"))+" ",1),gL])):be("",!0),s.showConfigurablePhases?(x(),R("div",_L,[v("label",{for:s.formId("phases_0"),class:"col-sm-4 col-form-label pt-0"},F(t.$t("main.loadpointSettings.phasesConfigured.label")),9,vL),v("div",bL,[v("div",yL,[Kt(v("input",{id:s.formId("phases_0"),"onUpdate:modelValue":e[2]||(e[2]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:0,onChange:e[3]||(e[3]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,wL),[[ml,t.selectedPhases,void 0,{number:!0}]]),v("label",{class:"form-check-label",for:s.formId("phases_0")},F(t.$t("main.loadpointSettings.phasesConfigured.phases_0")),9,EL)]),v("div",TL,[Kt(v("input",{id:s.formId("phases_1"),"onUpdate:modelValue":e[4]||(e[4]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:1,onChange:e[5]||(e[5]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,CL),[[ml,t.selectedPhases,void 0,{number:!0}]]),v("label",{class:"form-check-label",for:s.formId("phases_1")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_1"))+" ",1),v("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_1_hint",{min:s.minPower1p,max:s.maxPower1p})),1)],8,SL)]),v("div",kL,[Kt(v("input",{id:s.formId("phases_3"),"onUpdate:modelValue":e[6]||(e[6]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:3,onChange:e[7]||(e[7]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,AL),[[ml,t.selectedPhases,void 0,{number:!0}]]),v("label",{class:"form-check-label",for:s.formId("phases_3")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_3"))+" ",1),v("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_3_hint",{min:s.minPower3p,max:s.maxPower3p})),1)],8,xL)])])])):be("",!0),t.$hiddenFeatures?(x(),R("div",LL,[v("label",{for:s.formId("maxcurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.maxCurrent.label")),9,PL),v("div",NL,[Kt(v("select",{id:s.formId("maxcurrent"),"onUpdate:modelValue":e[8]||(e[8]=o=>t.selectedMaxCurrent=o),class:"form-select form-select-sm w-50",onChange:e[9]||(e[9]=(...o)=>s.changeMaxCurrent&&s.changeMaxCurrent(...o))},[(x(!0),R(Ae,null,Ze(s.currentOptions(!0,16),({value:o,name:a})=>(x(),R("option",{key:o,value:o},F(a),9,IL))),128))],40,ML),[[Ro,t.selectedMaxCurrent,void 0,{number:!0}]]),v("small",OL,"~ "+F(s.maxPower),1)])])):be("",!0),t.$hiddenFeatures?(x(),R("div",$L,[v("label",{for:s.formId("mincurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.minCurrent.label")),9,DL),v("div",RL,[Kt(v("select",{id:s.formId("mincurrent"),"onUpdate:modelValue":e[10]||(e[10]=o=>t.selectedMinCurrent=o),class:"form-select form-select-sm w-50",onChange:e[11]||(e[11]=(...o)=>s.changeMinCurrent&&s.changeMinCurrent(...o))},[(x(!0),R(Ae,null,Ze(s.currentOptions(!1,6),({value:o,name:a})=>(x(),R("option",{key:o,value:o},F(a),9,FL))),128))],40,VL),[[Ro,t.selectedMinCurrent,void 0,{number:!0}]]),v("small",qL,"~ "+F(s.minPower),1)])])):be("",!0)]),v("p",HL,[v("strong",jL,F(t.$t("main.loadpointSettings.disclaimerHint")),1),Le(" "+F(t.$t("main.loadpointSettings.disclaimerText")),1)])])])])],8,eL)])}const em=ae(Jx,[["render",zL],["__scopeId","data-v-c8fc2df3"]]),BL={name:"Loadpoint",components:{Mode:iA,Vehicle:Oc,Phases:Jh,LabelAndValue:co,LoadpointSettingsButton:Kx,LoadpointSettingsModal:em},mixins:[Pt,ja],props:{id:Number,single:Boolean,title:String,mode:String,targetSoC:Number,targetEnergy:Number,remoteDisabled:Boolean,remoteDisabledSource:String,chargeDuration:Number,charging:Boolean,connected:Boolean,enabled:Boolean,vehicleDetectionActive:Boolean,vehiclePresent:Boolean,vehicleRange:Number,vehicleSoC:Number,vehicleTitle:String,vehicleIcon:String,vehicleTargetSoC:Number,vehicleCapacity:Number,vehicleFeatureOffline:Boolean,vehicles:Array,minSoC:Number,targetTime:String,targetTimeActive:Boolean,targetTimeProjectedStart:String,vehicleProviderLoggedIn:Boolean,vehicleProviderLoginPath:String,vehicleProviderLogoutPath:String,chargePower:Number,chargedEnergy:Number,climater:String,chargeRemainingDuration:Number,phases:Number,phasesConfigured:Number,minCurrent:Number,maxCurrent:Number,phasesActive:Number,chargeCurrent:Number,connectedDuration:Number,chargeCurrents:Array,chargeConfigured:Boolean,chargeRemainingEnergy:Number,phaseAction:String,phaseRemaining:Number,pvRemaining:Number,pvAction:String},data(){return{tickerHandler:null,phaseRemainingInterpolated:this.phaseRemaining,pvRemainingInterpolated:this.pvRemaining,chargeDurationInterpolated:this.chargeDuration,chargeRemainingDurationInterpolated:this.chargeRemainingDuration}},computed:{phasesProps:function(){return this.collectProps(Jh)},settingsModal:function(){return this.collectProps(em)},settingsButtonVisible:function(){return this.$hiddenFeatures||[0,1,3].includes(this.phasesConfigured)},vehicle:function(){return this.collectProps(Oc)},showChargingIndicator:function(){return this.charging&&this.chargePower>0},socBasedCharging:function(){return!this.vehicleFeatureOffline&&this.vehiclePresent}},watch:{phaseRemaining(){this.phaseRemainingInterpolated=this.phaseRemaining},pvRemaining(){this.pvRemainingInterpolated=this.pvRemaining},chargeDuration(){this.chargeDurationInterpolated=this.chargeDuration},chargeRemainingDuration(){this.chargeRemainingDurationInterpolated=this.chargeRemainingDuration}},mounted(){this.tickerHandler=setInterval(this.tick,1e3)},unmounted(){clearInterval(this.tickerHandler)},methods:{tick(){this.phaseRemainingInterpolated>0&&this.phaseRemainingInterpolated--,this.pvRemainingInterpolated>0&&this.pvRemainingInterpolated--,this.chargeDurationInterpolated>0&&this.charging&&this.chargeDurationInterpolated++,this.chargeRemainingDurationInterpolated>0&&this.charging&&this.chargeRemainingDurationInterpolated--},apiPath:function(t){return"loadpoints/"+this.id+"/"+t},setTargetMode:function(t){ot.post(this.apiPath("mode")+"/"+t)},setTargetSoC:function(t){ot.post(this.apiPath("targetsoc")+"/"+t)},setTargetEnergy:function(t){ot.post(this.apiPath("targetenergy")+"/"+t)},setMaxCurrent:function(t){ot.post(this.apiPath("maxcurrent")+"/"+t)},setMinCurrent:function(t){ot.post(this.apiPath("mincurrent")+"/"+t)},setPhasesConfigured:function(t){ot.post(this.apiPath("phases")+"/"+t)},setMinSoC:function(t){ot.post(this.apiPath("minsoc")+"/"+t)},setTargetTime:function(t){ot.post(`${this.apiPath("targetcharge")}/${this.targetSoC}/${t.toISOString()}`)},removeTargetTime:function(){ot.delete(this.apiPath("targetcharge"))},changeVehicle(t){ot.post(this.apiPath("vehicle")+`/${t}`)},removeVehicle(){ot.delete(this.apiPath("vehicle"))},fmtPower(t){const e=t==0||t>=1e3;return this.fmtKw(t,e)},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},UL=t=>(bt("data-v-f24c9e17"),t=t(),yt(),t),WL={class:"loadpoint pt-4 pb-2 px-3 px-sm-4 mx-2 mx-sm-0"},QL={class:"d-block d-sm-flex justify-content-between align-items-center mb-3"},KL={class:"d-flex justify-content-between align-items-center mb-3"},YL={class:"me-2 mb-0 text-truncate"},GL={class:"mb-3 d-flex align-items-center"},ZL={class:"details d-flex align-items-start mb-3"},XL={class:"d-flex align-items-center"},JL=UL(()=>v("hr",{class:"divider"},null,-1));function e6(t,e,n,r,i,s){const o=le("LoadpointSettingsButton"),a=le("Mode"),l=le("LoadpointSettingsModal"),c=le("LabelAndValue"),u=le("Phases"),f=le("Vehicle");return x(),R("div",WL,[v("div",QL,[v("div",KL,[v("h3",YL,F(n.title||t.$t("main.loadpoint.fallbackName")),1),s.settingsButtonVisible?(x(),ve(o,{key:0,id:n.id,class:"d-block d-sm-none"},null,8,["id"])):be("",!0)]),v("div",GL,[ne(a,{class:"flex-grow-1",mode:n.mode,onUpdated:s.setTargetMode},null,8,["mode","onUpdated"]),s.settingsButtonVisible?(x(),ve(o,{key:0,id:n.id,class:"d-none d-sm-block ms-2"},null,8,["id"])):be("",!0)])]),ne(l,$t(s.settingsModal,{onMaxcurrentUpdated:s.setMaxCurrent,onMincurrentUpdated:s.setMinCurrent,onPhasesconfiguredUpdated:s.setPhasesConfigured,onMinsocUpdated:s.setMinSoC}),null,16,["onMaxcurrentUpdated","onMincurrentUpdated","onPhasesconfiguredUpdated","onMinsocUpdated"]),n.remoteDisabled?(x(),R("div",{key:0,class:Ne(["alert alert-warning my-4 py-2",`${n.remoteDisabled==="hard"?"alert-danger":"alert-warning"}`]),role:"alert"},F(t.$t(n.remoteDisabled==="hard"?"main.loadpoint.remoteDisabledHard":"main.loadpoint.remoteDisabledSoft",{source:n.remoteDisabledSource})),3)):be("",!0),v("div",ZL,[v("div",null,[v("div",XL,[ne(c,{label:t.$t("main.loadpoint.power"),value:n.chargePower,valueFmt:s.fmtPower,class:"mb-2",align:"start"},null,8,["label","value","valueFmt"]),v("shopicon-regular-lightning",{class:Ne(["text-evcc opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]),size:"m"},null,2)]),ne(u,$t(s.phasesProps,{class:["opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]}),null,16,["class"])]),Kt(ne(c,{label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),align:"center"},null,8,["label","value"]),[[Iu,s.socBasedCharging]]),i.chargeRemainingDurationInterpolated?(x(),ve(c,{key:0,label:t.$t("main.loadpoint.remaining"),value:` + `,document.head.appendChild(t)}var nC='';class rC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=nC}}window.customElements.define("shopicon-regular-arrowup",rC);var iC='';class sC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=iC}}window.customElements.define("shopicon-regular-menu",sC);var oC='';class aC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=oC}}window.customElements.define("shopicon-regular-newtab",aC);var U_={exports:{}},Xu={exports:{}},W_=function(e,n){return function(){for(var i=new Array(arguments.length),s=0;s"u"}function cC(t){return t!==null&&!fa(t)&&t.constructor!==null&&!fa(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var Q_=ti("ArrayBuffer");function uC(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Q_(t.buffer),e}function dC(t){return typeof t=="string"}function fC(t){return typeof t=="number"}function K_(t){return t!==null&&typeof t=="object"}function Bo(t){if(ed(t)!=="object")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}var hC=ti("Date"),mC=ti("File"),pC=ti("Blob"),gC=ti("FileList");function nd(t){return Ju.call(t)==="[object Function]"}function _C(t){return K_(t)&&nd(t.pipe)}function vC(t){var e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||Ju.call(t)===e||nd(t.toString)&&t.toString()===e)}var bC=ti("URLSearchParams");function yC(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function wC(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function rd(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),td(t))for(var n=0,r=t.length;n0;)s=r[i],o[s]||(e[s]=t[s],o[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function kC(t,e,n){t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return r!==-1&&r===n}function AC(t){if(!t)return null;var e=t.length;if(fa(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n}var xC=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),ut={isArray:td,isArrayBuffer:Q_,isBuffer:cC,isFormData:vC,isArrayBufferView:uC,isString:dC,isNumber:fC,isObject:K_,isPlainObject:Bo,isUndefined:fa,isDate:hC,isFile:mC,isBlob:pC,isFunction:nd,isStream:_C,isURLSearchParams:bC,isStandardBrowserEnv:wC,forEach:rd,merge:Pc,extend:EC,trim:yC,stripBOM:TC,inherits:CC,toFlatObject:SC,kindOf:ed,kindOfTest:ti,endsWith:kC,toArray:AC,isTypedArray:xC,isFileList:gC},ui=ut;function Eh(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Y_=function(e,n,r){if(!n)return e;var i;if(r)i=r(n);else if(ui.isURLSearchParams(n))i=n.toString();else{var s=[];ui.forEach(n,function(l,c){l===null||typeof l>"u"||(ui.isArray(l)?c=c+"[]":l=[l],ui.forEach(l,function(f){ui.isDate(f)?f=f.toISOString():ui.isObject(f)&&(f=JSON.stringify(f)),s.push(Eh(c)+"="+Eh(f))}))}),i=s.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},LC=ut;function Va(){this.handlers=[]}Va.prototype.use=function(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Va.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};Va.prototype.forEach=function(e){LC.forEach(this.handlers,function(r){r!==null&&e(r)})};var PC=Va,NC=ut,MC=function(e,n){NC.forEach(e,function(i,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(e[n]=i,delete e[s])})},G_=ut;function Yi(t,e,n,r,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}G_.inherits(Yi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Z_=Yi.prototype,X_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){X_[t]={value:t}});Object.defineProperties(Yi,X_);Object.defineProperty(Z_,"isAxiosError",{value:!0});Yi.from=function(t,e,n,r,i,s){var o=Object.create(Z_);return G_.toFlatObject(t,o,function(l){return l!==Error.prototype}),Yi.call(o,t.message,e,n,r,i),o.name=t.name,s&&Object.assign(o,s),o};var ss=Yi,J_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},on=ut;function IC(t,e){e=e||new FormData;var n=[];function r(s){return s===null?"":on.isDate(s)?s.toISOString():on.isArrayBuffer(s)||on.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,o){if(on.isPlainObject(s)||on.isArray(s)){if(n.indexOf(s)!==-1)throw Error("Circular reference detected in "+o);n.push(s),on.forEach(s,function(l,c){if(!on.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(on.endsWith(c,"{}"))l=JSON.stringify(l);else if(on.endsWith(c,"[]")&&(f=on.toArray(l))){f.forEach(function(d){!on.isUndefined(d)&&e.append(u,r(d))});return}}i(l,u)}}),n.pop()}else e.append(o,r(s))}return i(t),e}var e1=IC,xl,Th;function OC(){if(Th)return xl;Th=1;var t=ss;return xl=function(n,r,i){var s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):r(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},xl}var Ll,Ch;function $C(){if(Ch)return Ll;Ch=1;var t=ut;return Ll=t.isStandardBrowserEnv()?function(){return{write:function(r,i,s,o,a,l){var c=[];c.push(r+"="+encodeURIComponent(i)),t.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),t.isString(o)&&c.push("path="+o),t.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ll}var DC=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},RC=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e},VC=DC,FC=RC,t1=function(e,n){return e&&!VC(n)?FC(e,n):n},Pl,Sh;function qC(){if(Sh)return Pl;Sh=1;var t=ut,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Pl=function(r){var i={},s,o,a;return r&&t.forEach(r.split(` +`),function(c){if(a=c.indexOf(":"),s=t.trim(c.substr(0,a)).toLowerCase(),o=t.trim(c.substr(a+1)),s){if(i[s]&&e.indexOf(s)>=0)return;s==="set-cookie"?i[s]=(i[s]?i[s]:[]).concat([o]):i[s]=i[s]?i[s]+", "+o:o}}),i},Pl}var Nl,kh;function HC(){if(kh)return Nl;kh=1;var t=ut;return Nl=t.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function s(o){var a=o;return n&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=s(window.location.href),function(a){var l=t.isString(a)?s(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),Nl}var Ml,Ah;function Fa(){if(Ah)return Ml;Ah=1;var t=ss,e=ut;function n(r){t.call(this,r==null?"canceled":r,t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(n,t,{__CANCEL__:!0}),Ml=n,Ml}var Il,xh;function jC(){return xh||(xh=1,Il=function(e){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}),Il}var Ol,Lh;function Ph(){if(Lh)return Ol;Lh=1;var t=ut,e=OC(),n=$C(),r=Y_,i=t1,s=qC(),o=HC(),a=J_,l=ss,c=Fa(),u=jC();return Ol=function(d){return new Promise(function(w,g){var E=d.data,_=d.headers,T=d.responseType,S;function b(){d.cancelToken&&d.cancelToken.unsubscribe(S),d.signal&&d.signal.removeEventListener("abort",S)}t.isFormData(E)&&t.isStandardBrowserEnv()&&delete _["Content-Type"];var y=new XMLHttpRequest;if(d.auth){var A=d.auth.username||"",L=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";_.Authorization="Basic "+btoa(A+":"+L)}var M=i(d.baseURL,d.url);y.open(d.method.toUpperCase(),r(M,d.params,d.paramsSerializer),!0),y.timeout=d.timeout;function O(){if(!!y){var J="getAllResponseHeaders"in y?s(y.getAllResponseHeaders()):null,re=!T||T==="text"||T==="json"?y.responseText:y.response,$={data:re,status:y.status,statusText:y.statusText,headers:J,config:d,request:y};e(function(Q){w(Q),b()},function(Q){g(Q),b()},$),y=null}}if("onloadend"in y?y.onloadend=O:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(O)},y.onabort=function(){!y||(g(new l("Request aborted",l.ECONNABORTED,d,y)),y=null)},y.onerror=function(){g(new l("Network Error",l.ERR_NETWORK,d,y,y)),y=null},y.ontimeout=function(){var re=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",$=d.transitional||a;d.timeoutErrorMessage&&(re=d.timeoutErrorMessage),g(new l(re,$.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,y)),y=null},t.isStandardBrowserEnv()){var z=(d.withCredentials||o(M))&&d.xsrfCookieName?n.read(d.xsrfCookieName):void 0;z&&(_[d.xsrfHeaderName]=z)}"setRequestHeader"in y&&t.forEach(_,function(re,$){typeof E>"u"&&$.toLowerCase()==="content-type"?delete _[$]:y.setRequestHeader($,re)}),t.isUndefined(d.withCredentials)||(y.withCredentials=!!d.withCredentials),T&&T!=="json"&&(y.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&y.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(S=function(J){!y||(g(!J||J&&J.type?new c:J),y.abort(),y=null)},d.cancelToken&&d.cancelToken.subscribe(S),d.signal&&(d.signal.aborted?S():d.signal.addEventListener("abort",S))),E||(E=null);var G=u(M);if(G&&["http","https","file"].indexOf(G)===-1){g(new l("Unsupported protocol "+G+":",l.ERR_BAD_REQUEST,d));return}y.send(E)})},Ol}var $l,Nh;function zC(){return Nh||(Nh=1,$l=null),$l}var nt=ut,Mh=MC,Ih=ss,BC=J_,UC=e1,WC={"Content-Type":"application/x-www-form-urlencoded"};function Oh(t,e){!nt.isUndefined(t)&&nt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function QC(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Ph()),t}function KC(t,e,n){if(nt.isString(t))try{return(e||JSON.parse)(t),nt.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var qa={transitional:BC,adapter:QC(),transformRequest:[function(e,n){if(Mh(n,"Accept"),Mh(n,"Content-Type"),nt.isFormData(e)||nt.isArrayBuffer(e)||nt.isBuffer(e)||nt.isStream(e)||nt.isFile(e)||nt.isBlob(e))return e;if(nt.isArrayBufferView(e))return e.buffer;if(nt.isURLSearchParams(e))return Oh(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r=nt.isObject(e),i=n&&n["Content-Type"],s;if((s=nt.isFileList(e))||r&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return UC(s?{"files[]":e}:e,o&&new o)}else if(r||i==="application/json")return Oh(n,"application/json"),KC(e);return e}],transformResponse:[function(e){var n=this.transitional||qa.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,s=!r&&this.responseType==="json";if(s||i&&nt.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?Ih.from(o,Ih.ERR_BAD_RESPONSE,this,null,this.response):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zC()},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};nt.forEach(["delete","get","head"],function(e){qa.headers[e]={}});nt.forEach(["post","put","patch"],function(e){qa.headers[e]=nt.merge(WC)});var id=qa,YC=ut,GC=id,ZC=function(e,n,r){var i=this||GC;return YC.forEach(r,function(o){e=o.call(i,e,n)}),e},Dl,$h;function n1(){return $h||($h=1,Dl=function(e){return!!(e&&e.__CANCEL__)}),Dl}var Dh=ut,Rl=ZC,XC=n1(),JC=id,e4=Fa();function Vl(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new e4}var t4=function(e){Vl(e),e.headers=e.headers||{},e.data=Rl.call(e,e.data,e.headers,e.transformRequest),e.headers=Dh.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Dh.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var n=e.adapter||JC.adapter;return n(e).then(function(i){return Vl(e),i.data=Rl.call(e,i.data,i.headers,e.transformResponse),i},function(i){return XC(i)||(Vl(e),i&&i.response&&(i.response.data=Rl.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},Mt=ut,r1=function(e,n){n=n||{};var r={};function i(u,f){return Mt.isPlainObject(u)&&Mt.isPlainObject(f)?Mt.merge(u,f):Mt.isPlainObject(f)?Mt.merge({},f):Mt.isArray(f)?f.slice():f}function s(u){if(Mt.isUndefined(n[u])){if(!Mt.isUndefined(e[u]))return i(void 0,e[u])}else return i(e[u],n[u])}function o(u){if(!Mt.isUndefined(n[u]))return i(void 0,n[u])}function a(u){if(Mt.isUndefined(n[u])){if(!Mt.isUndefined(e[u]))return i(void 0,e[u])}else return i(void 0,n[u])}function l(u){if(u in n)return i(e[u],n[u]);if(u in e)return i(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return Mt.forEach(Object.keys(e).concat(Object.keys(n)),function(f){var d=c[f]||s,h=d(f);Mt.isUndefined(h)&&d!==l||(r[f]=h)}),r},Fl,Rh;function i1(){return Rh||(Rh=1,Fl={version:"0.27.2"}),Fl}var n4=i1().version,tr=ss,sd={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){sd[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var Vh={};sd.transitional=function(e,n,r){function i(s,o){return"[Axios v"+n4+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return function(s,o,a){if(e===!1)throw new tr(i(o," has been removed"+(n?" in "+n:"")),tr.ERR_DEPRECATED);return n&&!Vh[o]&&(Vh[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};function r4(t,e,n){if(typeof t!="object")throw new tr("options must be an object",tr.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(t),i=r.length;i-- >0;){var s=r[i],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new tr("option "+s+" must be "+l,tr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new tr("Unknown option "+s,tr.ERR_BAD_OPTION)}}var i4={assertOptions:r4,validators:sd},s1=ut,s4=Y_,Fh=PC,qh=t4,Ha=r1,o4=t1,o1=i4,di=o1.validators;function Gi(t){this.defaults=t,this.interceptors={request:new Fh,response:new Fh}}Gi.prototype.request=function(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ha(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&o1.assertOptions(r,{silentJSONParsing:di.transitional(di.boolean),forcedJSONParsing:di.transitional(di.boolean),clarifyTimeoutError:di.transitional(di.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!s){var l=[qh,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;i.length;){var u=i.shift(),f=i.shift();try{c=u(c)}catch(d){f(d);break}}try{a=qh(c)}catch(d){return Promise.reject(d)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};Gi.prototype.getUri=function(e){e=Ha(this.defaults,e);var n=o4(e.baseURL,e.url);return s4(n,e.params,e.paramsSerializer)};s1.forEach(["delete","get","head","options"],function(e){Gi.prototype[e]=function(n,r){return this.request(Ha(r||{},{method:e,url:n,data:(r||{}).data}))}});s1.forEach(["post","put","patch"],function(e){function n(r){return function(s,o,a){return this.request(Ha(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Gi.prototype[e]=n(),Gi.prototype[e+"Form"]=n(!0)});var a4=Gi,ql,Hh;function l4(){if(Hh)return ql;Hh=1;var t=Fa();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(s){if(!!i._listeners){var o,a=i._listeners.length;for(o=0;ot,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;window.app.error({message:n})});const l1=window.matchMedia("(prefers-color-scheme: dark)"),ad="auto",c1="light",Mc="dark",Ps=[ad,c1,Mc],u1="theme";function d1(){try{const t=window.localStorage[u1];if(Ps.includes(t))return t}catch(t){console.error("unable to read theme from localStorage",t)}return ad}function _4(t){if(console.log({theme:t}),!!Ps.includes(t))try{window.localStorage[u1]=t,Ic()}catch(e){console.error("unable to write theme to localStorage",e)}}function Ic(){let t=d1();t===ad&&(t=l1.matches?Mc:c1);const e={light:"#f3f3f7",dark:"#020318"},n=document.querySelector("meta[name=theme-color]");n&&n.setAttribute("content",e[t]);const r=document.querySelector("html");r.classList.add("no-transitions"),r.classList.toggle("dark",t===Mc),window.requestAnimationFrame(function(){r.classList.remove("no-transitions")})}function v4(){l1.addEventListener("change",Ic),Ic()}const b4={name:"TopNavigation",props:{vehicleLogins:{type:Object,default:()=>({})}},data:function(){return{theme:d1()}},computed:{logoutCount(){return this.providerLogins.filter(t=>!t.loggedIn).length},providerLogins(){return Object.entries(this.vehicleLogins).map(([t,e])=>({title:t,loggedIn:e.authenticated,loginPath:e.uri+"/login",logoutPath:e.uri+"/logout"}))}},methods:{toggleTheme:function(){const t=Ps.indexOf(this.theme),e=t(bt("data-v-5ac310b2"),t=t(),yt(),t),y4={type:"button","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation",class:"btn btn-sm btn-outline-secondary position-relative border-0 menu-button"},w4={key:0,class:"position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle"},E4=ni(()=>v("span",{class:"visually-hidden"},"login available",-1)),T4=[E4],C4=ni(()=>v("shopicon-regular-menu",null,null,-1)),S4={class:"dropdown-menu dropdown-menu-end"},k4=ni(()=>v("li",null,[v("hr",{class:"dropdown-divider"})],-1)),A4={class:"dropdown-header"},x4=["onClick"],L4={key:0,class:"d-inline-block p-1 rounded-circle bg-danger border border-light rounded-circle"},P4={class:"dropdown-item d-flex",href:"https://docs.evcc.io/blog/",target:"_blank"},N4=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),M4={class:"dropdown-item d-flex",href:"https://docs.evcc.io/docs/Home/",target:"_blank"},I4=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),O4={class:"dropdown-item d-flex",href:"https://github.com/evcc-io/evcc",target:"_blank"},$4=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),D4={class:"dropdown-item d-flex",href:"https://evcc.io/",target:"_blank"},R4=ni(()=>v("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1));function V4(t,e,n,r,i,s){const o=le("router-link");return x(),R("div",null,[v("button",y4,[s.logoutCount>0?(x(),R("span",w4,T4)):be("",!0),C4]),v("ul",S4,[v("li",null,[ne(o,{class:"dropdown-item",to:"/sessions"},{default:Je(()=>[Le(F(t.$t("header.sessions")),1)]),_:1})]),v("li",null,[v("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=js((...a)=>s.toggleTheme&&s.toggleTheme(...a),["stop"]))},F(t.$t(`header.theme.${t.theme}`)),1)]),s.providerLogins.length>0?(x(),R(Ae,{key:0},[k4,v("li",null,[v("h6",A4,F(t.$t("header.login")),1)]),(x(!0),R(Ae,null,Ze(s.providerLogins,a=>(x(),R("li",{key:a.title},[v("button",{type:"button",class:"dropdown-item",onClick:l=>s.handleProviderAuthorization(a)},[a.loggedIn?be("",!0):(x(),R("span",L4)),Le(" "+F(a.title)+" "+F(t.$t(a.loggedIn?"main.provider.logout":"main.provider.login")),1)],8,x4)]))),128))],64)):be("",!0),v("li",null,[v("a",P4,[v("span",null,F(t.$t("header.blog")),1),N4])]),v("li",null,[v("a",M4,[v("span",null,F(t.$t("header.docs")),1),I4])]),v("li",null,[v("a",O4,[v("span",null,F(t.$t("header.github")),1),$4])]),v("li",null,[v("a",D4,[v("span",null,F(t.$t("header.about")),1),R4])])])])}const f1=ae(b4,[["render",V4],["__scopeId","data-v-5ac310b2"]]);var F4='';class q4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=F4}}window.customElements.define("shopicon-regular-exclamationtriangle",q4);const Pt={data:function(){return{fmtLimit:100,fmtDigits:1}},methods:{round:function(t,e){var n=10**e;return(Math.round(t*n)/n).toFixed(e)},fmt:function(t){return t==null?0:(t=Math.abs(t),t>=this.fmtLimit?this.round(t/1e3,this.fmtDigits):this.round(t,0))},fmtKw:function(t=0,e=!0,n=!0,r){r===void 0&&(r=e?1:0);const i=e?t/1e3:t;let s="";return n&&(s=e?" kW":" W"),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:r,maximumFractionDigits:r}).format(i)}${s}`},fmtKWh:function(t,e,n,r){return this.fmtKw(t,e,n,r)+"h"},fmtNumber:function(t,e){return new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:e,maximumFractionDigits:e}).format(t)},fmtUnit:function(t){return Math.abs(t)>=this.fmtLimit?"k":""},fmtDuration:function(t){if(t<=0||t==null)return"\u2014";var e="0"+t%60,n="0"+Math.floor(t/60)%60,r=""+Math.floor(t/3600);return r.length<2&&(r="0"+r),r+":"+n.substr(-2)+":"+e.substr(-2)},fmtShortDuration:function(t=0,e=!1){if(t<=0)return"\u2014";var n=t%60,r=Math.floor(t/60)%60,i=Math.floor(t/3600),s="";return i>=1?s=i+":"+`${r}`.padStart(2,"0"):r>=1?s=r+":"+`${n}`.padStart(2,"0"):s=`${n}`,e&&(s+=this.fmtShortDurationUnit(t)),s},fmtShortDurationUnit:function(t=0){if(t<=0)return"";var e=Math.floor(t/60)%60,n=Math.floor(t/3600);return n>=1?"h":e>=1?"m":"s"},fmtDayString:function(t){const e=`${t.getFullYear()}`,n=`${t.getMonth()+1}`.padStart(2,"0"),r=`${t.getDate()}`.padStart(2,"0");return`${e}-${n}-${r}`},fmtTimeString:function(t){const e=`${t.getHours()}`.padStart(2,"0"),n=`${t.getMinutes()}`.padStart(2,"0");return`${e}:${n}`},isToday:function(t){return new Date().toDateString()===t.toDateString()},isTomorrow:function(t){const e=new Date;return e.setDate(e.getDate()+1),e.toDateString()===t.toDateString()},weekdayPrefix:function(t){const e=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});return this.isToday(t)?e.formatToParts(0,"day")[0].value:this.isTomorrow(t)?e.formatToParts(1,"day")[0].value:new Intl.DateTimeFormat(this.$i18n.locale,{weekday:"short"}).format(t)},fmtAbsoluteDate:function(t){const e=this.weekdayPrefix(t),n=new Intl.DateTimeFormat(this.$i18n.locale,{hour:"numeric",minute:"numeric"}).format(t);return`${e} ${n}`},fmtFullDateTime:function(t,e){return new Intl.DateTimeFormat(this.$i18n.locale,{weekday:e?void 0:"short",month:e?"numeric":"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(t)},fmtMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{month:"long",year:"numeric"}).format(t)},fmtDayMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{day:"numeric",month:"long",year:"numeric"}).format(t)},fmtMoney:function(t=0,e="EUR"){return new Intl.NumberFormat(this.$i18n.locale,{style:"currency",currency:e,currencyDisplay:"code"}).format(t).replace(e,"").trim()},fmtCurrencySymbol:function(t="EUR"){return{EUR:"\u20AC",USD:"$"}[t]||t},fmtPricePerKWh:function(t=0,e="EUR"){let n=e,r=t,i=3;return["EUR","USD"].includes(e)&&(r*=100,n="ct",i=1),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",maximumFractionDigits:i}).format(r)} ${n}/kWh`},fmtTimeAgo:function(t){const e={day:864e5,hour:36e5,minute:6e4,second:1e3},n=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});for(var r in e)if(Math.abs(t)>e[r]||r=="second")return n.format(Math.round(t/e[r]),r)}}},H4={name:"Notifications",mixins:[Pt],props:{notifications:Array},computed:{iconVisible:function(){return this.notifications.length>0},iconClass:function(){return this.notifications.find(t=>t.type==="error")?"text-danger":"text-warning"}},created:function(){this.interval=setInterval(()=>{this.$forceUpdate()},10*1e3)},unmounted:function(){clearTimeout(this.interval)},methods:{clear:function(){window.app&&window.app.clear()}}},j4={href:"#","data-bs-toggle":"modal","data-bs-target":"#notificationModal",class:"btn btn-sm btn-link text-decoration-none link-light text-nowrap"},z4={id:"notificationModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true","data-bs-backdrop":"true"},B4={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},U4={class:"modal-content"},W4={class:"modal-header"},Q4={class:"modal-title"},K4=v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),Y4={class:"modal-body"},G4=["title"],Z4={class:"d-flex align-items-baseline"},X4={class:"flex-grow-1 px-2 py-1 text-break"},J4={key:0,class:"badge rounded-pill bg-secondary"},eS={class:"modal-footer"};function tS(t,e,n,r,i,s){return x(),R("div",null,[Kt(v("button",j4,[v("shopicon-regular-exclamationtriangle",{class:Ne(s.iconClass)},null,2)],512),[[Iu,s.iconVisible]]),v("div",z4,[v("div",B4,[v("div",U4,[v("div",W4,[v("h5",Q4,F(t.$t("notifications.modalTitle")),1),K4]),v("div",Y4,[(x(!0),R(Ae,null,Ze(n.notifications,(o,a)=>(x(),R("div",{key:a},[v("small",{class:"d-flex justify-content-end mt-3",title:t.fmtAbsoluteDate(o.time)},F(t.fmtTimeAgo(o.time-new Date)),9,G4),v("p",Z4,[v("shopicon-regular-exclamationtriangle",{class:Ne([{"text-danger":o.type==="error","text-warning":o.type==="warn"},"flex-grow-0 flex-shrink-0 d-block"])},null,2),v("span",X4,F(o.message),1),o.count>1?(x(),R("span",J4,F(o.count),1)):be("",!0)])]))),128))]),v("div",eS,[v("button",{type:"button","data-bs-dismiss":"modal","aria-label":"Close",class:"btn btn-outline-secondary",onClick:e[0]||(e[0]=(...o)=>s.clear&&s.clear(...o))},F(t.$t("notifications.dismissAll")),1)])])])])])}const nS=ae(H4,[["render",tS]]);var rS='';class iS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=rS}}window.customElements.define("shopicon-filled-square",iS);var sS='';class oS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=sS}}window.customElements.define("shopicon-regular-batteryfull",oS);var aS='';class lS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=aS}}window.customElements.define("shopicon-regular-batterythreequarters",lS);var cS='';class uS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=cS}}window.customElements.define("shopicon-regular-batteryhalf",uS);var dS='';class fS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=dS}}window.customElements.define("shopicon-regular-batteryquarter",fS);var hS='';class mS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=hS}}window.customElements.define("shopicon-regular-batteryempty",mS);const pS={name:"BatteryIcon",props:{soc:{type:Number,default:0}},computed:{icon:function(){return this.soc>80?"batteryfull":this.soc>60?"batterythreequarters":this.soc>40?"batteryhalf":this.soc>20?"batteryquarter":"batteryempty"}}};function gS(t,e,n,r,i,s){return x(),ve(io(`shopicon-regular-${s.icon}`))}const h1=ae(pS,[["render",gS]]),_S={name:"LabelBar",props:{value:{type:Number,default:0},hideIcon:{type:Boolean},top:{type:Boolean},bottom:{type:Boolean},first:{type:Boolean},last:{type:Boolean}}},vS={class:"label-bar-scale"},bS={class:"label-bar-icon"};function yS(t,e,n,r,i,s){return x(),R("div",{class:Ne(["label-bar",{"label-bar--hide-icon":n.hideIcon,"label-bar--hidden":!n.value,"label-bar--top":n.top,"label-bar--bottom":n.bottom,"label-bar--first":n.first,"label-bar--last":n.last}])},[v("div",vS,[v("div",bS,[xu(t.$slots,"default",{},void 0,!0)])])],2)}const wS=ae(_S,[["render",yS],["__scopeId","data-v-07ec7375"]]),ES=.5,TS={name:"AnimatedNumber",props:{to:{type:Number},format:{type:Function},noAnimation:{type:Boolean},duration:{type:Number,default:ES}},data(){return{activeDuration:0}},computed:{animationDuration(){return this.noAnimation?0:this.activeDuration}},watch:{to:function(){this.activeDuration=this.duration}}};function CS(t,e,n,r,i,s){const o=le("number");return x(),ve(o,{to:n.to,format:n.format,duration:s.animationDuration},null,8,["to","format","duration"])}const ri=ae(TS,[["render",CS]]);var SS='';class kS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=SS}}window.customElements.define("shopicon-regular-car3",kS);const AS={name:"1"},xS={width:"1em",height:"1em",viewBox:"0 0 24 24"},LS=v("path",{fill:"currentColor",d:"M15 15q.425 0 .713-.288Q16 14.425 16 14V6q0-.425-.287-.713Q15.425 5 15 5h-2.025q-.425 0-.7.287Q12 5.575 12 6t.288.713Q12.575 7 13 7h1v7.025q0 .425.288.7q.287.275.712.275Zm-7 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),PS=[LS];function NS(t,e,n,r,i,s){return x(),R("svg",xS,PS)}const MS=ae(AS,[["render",NS]]),IS={name:"2"},OS={width:"1em",height:"1em",viewBox:"0 0 24 24"},$S=v("path",{fill:"currentColor",d:"M12 15h4.025q.425 0 .7-.288Q17 14.425 17 14t-.288-.713Q16.425 13 16 13h-3v-2h2q.825 0 1.413-.588Q17 9.825 17 9V7q0-.825-.587-1.412Q15.825 5 15 5h-3.025q-.425 0-.7.287Q11 5.575 11 6t.288.713Q11.575 7 12 7h3v2h-2q-.825 0-1.412.587Q11 10.175 11 11v3q0 .425.288.712q.287.288.712.288Zm-4 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),DS=[$S];function RS(t,e,n,r,i,s){return x(),R("svg",OS,DS)}const VS=ae(IS,[["render",RS]]),FS={name:"3"},qS={width:"1em",height:"1em",viewBox:"0 0 24 24"},HS=v("path",{fill:"currentColor",d:"M12 15h3q.825 0 1.413-.588Q17 13.825 17 13v-1.5q0-.65-.425-1.075Q16.15 10 15.5 10q.65 0 1.075-.425Q17 9.15 17 8.5V7q0-.825-.587-1.412Q15.825 5 15 5h-3.025q-.425 0-.7.287Q11 5.575 11 6t.288.713Q11.575 7 12 7h3v2h-1.025q-.425 0-.7.287Q13 9.575 13 10t.288.712Q13.575 11 14 11h1v2h-3.025q-.425 0-.7.287Q11 13.575 11 14t.288.712Q11.575 15 12 15Zm-4 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),jS=[HS];function zS(t,e,n,r,i,s){return x(),R("svg",qS,jS)}const BS=ae(FS,[["render",zS]]),US={name:"4"},WS={width:"1em",height:"1em",viewBox:"0 0 24 24"},QS=v("path",{fill:"currentColor",d:"M16 15q.425 0 .712-.288Q17 14.425 17 14V5.975q0-.425-.288-.7Q16.425 5 16 5t-.712.287Q15 5.575 15 6v3h-2V5.975q0-.425-.287-.7Q12.425 5 12 5t-.712.287Q11 5.575 11 6v4q0 .425.288.712q.287.288.712.288h3v3.025q0 .425.288.7q.287.275.712.275Zm-8 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),KS=[QS];function YS(t,e,n,r,i,s){return x(),R("svg",WS,KS)}const GS=ae(US,[["render",YS]]),ZS={name:"5"},XS={width:"1em",height:"1em",viewBox:"0 0 24 24"},JS=v("path",{fill:"currentColor",d:"M12 15h3q.825 0 1.413-.588Q17 13.825 17 13v-2q0-.825-.587-1.413Q15.825 9 15 9h-2V7h3.025q.425 0 .7-.287Q17 6.425 17 6t-.288-.713Q16.425 5 16 5h-4q-.425 0-.712.287Q11 5.575 11 6v4q0 .425.288.712q.287.288.712.288h3v2h-3.025q-.425 0-.7.287Q11 13.575 11 14t.288.712Q11.575 15 12 15Zm-4 3q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),e3=[JS];function t3(t,e,n,r,i,s){return x(),R("svg",XS,e3)}const n3=ae(ZS,[["render",t3]]),r3={name:"6"},i3={width:"1em",height:"1em",viewBox:"0 0 24 24"},s3=v("path",{fill:"currentColor",d:"M4 22q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22Zm4-4q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12ZM8 4v12V4Zm5 5V7h2.025q.425 0 .7-.287Q16 6.425 16 6t-.287-.713Q15.425 5 15 5h-2q-.825 0-1.412.588Q11 6.175 11 7v6q0 .825.588 1.412Q12.175 15 13 15h2q.825 0 1.413-.588Q17 13.825 17 13v-2q0-.825-.587-1.413Q15.825 9 15 9Zm0 2h2v2h-2Z"},null,-1),o3=[s3];function a3(t,e,n,r,i,s){return x(),R("svg",i3,o3)}const l3=ae(r3,[["render",a3]]),c3={name:"7"},u3={width:"1em",height:"1em",viewBox:"0 0 24 24"},d3=v("path",{fill:"currentColor",d:"m15 7l-3.325 6.65q-.225.475 0 .912q.225.438.725.438q.25 0 .463-.125q.212-.125.337-.35l3.625-7.175q.075-.15.125-.363q.05-.212.05-.387q0-.65-.413-1.125Q16.175 5 15.525 5h-3.55q-.425 0-.7.287Q11 5.575 11 6t.288.713Q11.575 7 12 7ZM8 18q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22Zm4-6V4v12Z"},null,-1),f3=[d3];function h3(t,e,n,r,i,s){return x(),R("svg",u3,f3)}const m3=ae(c3,[["render",h3]]),p3={name:"8"},g3={width:"1em",height:"1em",viewBox:"0 0 24 24"},_3=v("path",{fill:"currentColor",d:"M13 15h2q.825 0 1.413-.588Q17 13.825 17 13v-1.5q0-.65-.425-1.075Q16.15 10 15.5 10q.65 0 1.075-.425Q17 9.15 17 8.5V7q0-.825-.587-1.412Q15.825 5 15 5h-2q-.825 0-1.412.588Q11 6.175 11 7v1.5q0 .65.425 1.075Q11.85 10 12.5 10q-.65 0-1.075.425Q11 10.85 11 11.5V13q0 .825.588 1.412Q12.175 15 13 15Zm0-8h2v2h-2V7Zm0 6v-2h2v2Zm-5 5q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),v3=[_3];function b3(t,e,n,r,i,s){return x(),R("svg",g3,v3)}const y3=ae(p3,[["render",b3]]),w3={name:"9"},E3={width:"1em",height:"1em",viewBox:"0 0 24 24"},T3=v("path",{fill:"currentColor",d:"M13 15h2q.825 0 1.413-.588Q17 13.825 17 13V7q0-.825-.587-1.412Q15.825 5 15 5h-2q-.825 0-1.412.588Q11 6.175 11 7v2q0 .825.588 1.412Q12.175 11 13 11h2v2h-2.025q-.425 0-.7.287Q12 13.575 12 14t.288.712Q12.575 15 13 15Zm2-6h-2V7h2Zm-7 9q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),C3=[T3];function S3(t,e,n,r,i,s){return x(),R("svg",E3,C3)}const k3=ae(w3,[["render",S3]]),A3={name:"Plus"},x3={width:"1em",height:"1em",viewBox:"0 0 24 24"},L3=v("path",{fill:"currentColor",d:"M10.975 14H12q.825 0 1.413-.588Q14 12.825 14 12V8q0-.825-.587-1.412Q12.825 6 12 6h-1q-.825 0-1.412.588Q9 7.175 9 8v1q0 .825.588 1.412Q10.175 11 11 11h1v1h-1.025q-.425 0-.7.287Q10 12.575 10 13t.288.712q.287.288.687.288ZM12 9h-1V8h1Zm4.15 2v.875q0 .425.288.7q.287.275.712.275t.713-.288q.287-.287.287-.687V11h.875q.425 0 .7-.288Q20 10.425 20 10t-.288-.713Q19.425 9 19.025 9h-.875v-.875q0-.425-.287-.7q-.288-.275-.713-.275t-.712.287q-.288.288-.288.688V9h-.875q-.425 0-.7.287q-.275.288-.275.713t.288.712q.287.288.687.288ZM8 18q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm0-2h12V4H8v12Zm-4 6q-.825 0-1.412-.587Q2 20.825 2 20V6.975q0-.425.288-.7Q2.575 6 3 6t.713.287Q4 6.575 4 7v13h13.025q.425 0 .7.288q.275.287.275.712t-.288.712Q17.425 22 17 22ZM8 4v12V4Z"},null,-1),P3=[L3];function N3(t,e,n,r,i,s){return x(),R("svg",x3,P3)}const M3=ae(A3,[["render",N3]]),I3={_1:MS,_2:VS,_3:BS,_4:GS,_5:n3,_6:l3,_7:m3,_8:y3,_9:k3},O3={name:"MultiIcon",props:{count:{type:Number},size:{type:String,default:"s"}},computed:{icon:function(){return this.count>9?M3:I3[`_${this.count}`]}}};function $3(t,e,n,r,i,s){return x(),ve(io(s.icon),{class:Ne(`icon icon--${n.size}`)},null,8,["class"])}const D3=ae(O3,[["render",$3],["__scopeId","data-v-983060d3"]]),R3={name:"Bike"},V3={width:"1em",height:"1em",viewBox:"0 0 24 24"},F3=v("path",{fill:"currentColor",d:"M5 20q-2.125 0-3.562-1.438Q0 17.125 0 15t1.463-3.562Q2.925 10 5 10q1.925 0 3.238 1.15Q9.55 12.3 9.9 14h.65l-1.8-5H8q-.425 0-.713-.288Q7 8.425 7 8t.287-.713Q7.575 7 8 7h3q.425 0 .713.287Q12 7.575 12 8t-.287.712Q11.425 9 11 9h-.1l.35 1h4.8L14.6 6H13q-.425 0-.712-.287Q12 5.425 12 5t.288-.713Q12.575 4 13 4h1.6q.65 0 1.163.35q.512.35.737.95l1.7 4.65h.8q2.075 0 3.538 1.462Q24 12.875 24 14.95q0 2.1-1.45 3.575T19 20q-1.8 0-3.162-1.125Q14.475 17.75 14.1 16H9.9q-.35 1.725-1.7 2.863Q6.85 20 5 20Zm0-2q1.025 0 1.763-.562Q7.5 16.875 7.8 16H6q-.425 0-.713-.288Q5 15.425 5 15t.287-.713Q5.575 14 6 14h1.8q-.3-.9-1.037-1.45Q6.025 12 5 12q-1.275 0-2.138.863Q2 13.725 2 15q0 1.25.862 2.125Q3.725 18 5 18Zm7.7-4h1.4q.125-.575.338-1.075q.212-.5.562-.925h-3.05Zm6.3 4q1.275 0 2.138-.875Q22 16.25 22 15q0-1.275-.862-2.137Q20.275 12 19 12h-.1l.65 1.7q.15.4-.037.762q-.188.363-.563.538q-.4.175-.775-.013q-.375-.187-.525-.587l-.6-1.7q-.5.425-.775 1T16 15q0 1.25.863 2.125Q17.725 18 19 18Z"},null,-1),q3=[F3];function H3(t,e,n,r,i,s){return x(),R("svg",V3,q3)}const j3=ae(R3,[["render",H3]]),z3={name:"Bus"},B3={width:"1em",height:"1em",viewBox:"0 0 24 24"},U3=v("path",{fill:"currentColor",d:"M6.5 21q-.625 0-1.062-.438Q5 20.125 5 19.5v-1.55q-.45-.5-.725-1.113Q4 16.225 4 15.5V6q0-2.075 1.925-3.038Q7.85 2 12 2q4.3 0 6.15.925Q20 3.85 20 6v9.5q0 .725-.275 1.337q-.275.613-.725 1.113v1.55q0 .625-.438 1.062Q18.125 21 17.5 21t-1.062-.438Q16 20.125 16 19.5V19H8v.5q0 .625-.438 1.062Q7.125 21 6.5 21Zm5.55-16h5.6h-11.2h5.6ZM16 12H6h12h-2ZM6 10h12V7H6Zm2.5 6q.625 0 1.062-.438Q10 15.125 10 14.5t-.438-1.062Q9.125 13 8.5 13t-1.062.438Q7 13.875 7 14.5t.438 1.062Q7.875 16 8.5 16Zm7 0q.625 0 1.062-.438Q17 15.125 17 14.5t-.438-1.062Q16.125 13 15.5 13t-1.062.438Q14 13.875 14 14.5t.438 1.062Q14.875 16 15.5 16ZM6.45 5h11.2q-.375-.425-1.612-.713Q14.8 4 12.05 4q-2.675 0-3.913.312Q6.9 4.625 6.45 5ZM8 17h8q.825 0 1.413-.587Q18 15.825 18 15v-3H6v3q0 .825.588 1.413Q7.175 17 8 17Z"},null,-1),W3=[U3];function Q3(t,e,n,r,i,s){return x(),R("svg",B3,W3)}const K3=ae(z3,[["render",Q3]]),Y3={name:"Cooler"},G3={width:"1em",height:"1em",viewBox:"0 0 24 24"},Z3=v("path",{fill:"currentColor",d:"m11 17.85l-2.575 2.525q-.275.275-.687.275q-.413 0-.688-.3q-.3-.275-.3-.687q0-.413.3-.713L11 15v-2H9l-3.975 3.975q-.275.275-.687.275q-.413 0-.713-.3q-.275-.275-.275-.688q0-.412.275-.687L6.15 13H2.975q-.425 0-.7-.288Q2 12.425 2 12t.288-.713Q2.575 11 3 11h3.15L3.625 8.45q-.275-.275-.275-.688q0-.412.3-.712q.275-.275.688-.275q.412 0 .712.275L9 11h2V9L7.025 5.05q-.275-.275-.275-.688q0-.412.3-.712q.275-.275.688-.275q.412 0 .687.275L11 6.15V3q0-.425.288-.713Q11.575 2 12 2t.713.287Q13 2.575 13 3v3.15l2.55-2.5q.275-.275.688-.275q.412 0 .712.275q.275.3.275.712q0 .413-.275.688L13 9v2h2l3.95-3.95q.275-.275.688-.275q.412 0 .712.3q.275.275.275.687q0 .413-.275.688L17.85 11H21q.425 0 .712.287q.288.288.288.713t-.288.712Q21.425 13 21 13h-3.15l2.5 2.575q.275.275.275.687q0 .413-.275.688q-.3.3-.712.3q-.413 0-.688-.3L15 13h-2v2l3.95 3.975q.275.275.275.688q0 .412-.3.712q-.275.275-.687.275q-.413 0-.688-.275L13 17.85v3.175q0 .425-.287.7Q12.425 22 12 22t-.712-.288Q11 21.425 11 21Z"},null,-1),X3=[Z3];function J3(t,e,n,r,i,s){return x(),R("svg",G3,X3)}const ek=ae(Y3,[["render",J3]]),tk={name:"Plug"},nk={width:"1em",height:"1em",viewBox:"0 0 24 24"},rk=v("path",{fill:"currentColor",d:"M18 15v-2h2q.425 0 .712.287q.288.288.288.713t-.288.712Q20.425 15 20 15Zm0 4v-2h2q.425 0 .712.288q.288.287.288.712t-.288.712Q20.425 19 20 19Zm-4 1q-.825 0-1.412-.587Q12 18.825 12 18h-2v-4h2q0-.825.588-1.413Q13.175 12 14 12h2q.425 0 .712.287q.288.288.288.713v6q0 .425-.288.712Q16.425 20 16 20Zm-7-3q-1.65 0-2.825-1.175Q3 14.65 3 13q0-1.65 1.175-2.825Q5.35 9 7 9h1.5q.625 0 1.062-.438Q10 8.125 10 7.5t-.438-1.062Q9.125 6 8.5 6H5q-.425 0-.713-.287Q4 5.425 4 5t.287-.713Q4.575 4 5 4h3.5q1.45 0 2.475 1.025Q12 6.05 12 7.5q0 1.45-1.025 2.475Q9.95 11 8.5 11H7q-.825 0-1.412.587Q5 12.175 5 13q0 .825.588 1.412Q6.175 15 7 15h2v2Z"},null,-1),ik=[rk];function sk(t,e,n,r,i,s){return x(),R("svg",nk,ik)}const ok=ae(tk,[["render",sk]]),ak={name:"Heater"},lk={width:"1em",height:"1em",viewBox:"0 0 24 24"},ck=v("path",{fill:"currentColor",d:"M12 22q-3.35 0-5.675-2.325Q4 17.35 4 14q0-2.825 1.675-5.425q1.675-2.6 4.6-4.55q.55-.375 1.138-.038Q12 4.325 12 5v1.3q0 .85.588 1.425q.587.575 1.437.575q.425 0 .813-.187q.387-.188.687-.538q.2-.25.513-.313q.312-.062.587.138Q18.2 8.525 19.1 10.275q.9 1.75.9 3.725q0 3.35-2.325 5.675Q15.35 22 12 22Zm-6-8q0 1.3.525 2.462q.525 1.163 1.5 2.038Q8 18.375 8 18.275v-.225q0-.8.3-1.5t.875-1.275L12 12.5l2.825 2.775q.575.575.875 1.275q.3.7.3 1.5v.225q0 .1-.025.225q.975-.875 1.5-2.038Q18 15.3 18 14q0-1.25-.462-2.363q-.463-1.112-1.338-1.987q-.5.325-1.05.487q-.55.163-1.125.163q-1.55 0-2.687-1.025Q10.2 8.25 10.025 6.75q-1.95 1.65-2.987 3.512Q6 12.125 6 14Zm6 1.3l-1.425 1.4q-.275.275-.425.625q-.15.35-.15.725q0 .8.588 1.375Q11.175 20 12 20t1.413-.575Q14 18.85 14 18.05q0-.4-.15-.738q-.15-.337-.425-.612Z"},null,-1),uk=[ck];function dk(t,e,n,r,i,s){return x(),R("svg",lk,uk)}const fk=ae(ak,[["render",dk]]),hk={name:"Moped"},mk={width:"1em",height:"1em",viewBox:"0 0 24 24"},pk=v("path",{fill:"currentColor",d:"M7 17q-1.25 0-2.125-.875T4 14H3q-.425 0-.712-.288Q2 13.425 2 13v-2q0-1.65 1.175-2.825Q4.35 7 6 7h3q.425 0 .713.287Q10 7.575 10 8v4h3.5L17 7.65V5h-2q-.425 0-.712-.288Q14 4.425 14 4t.288-.713Q14.575 3 15 3h2q.825 0 1.413.587Q19 4.175 19 5v2.65q0 .35-.112.662q-.113.313-.313.588L15.1 13.25q-.275.35-.7.55q-.425.2-.875.2H10q0 1.25-.875 2.125T7 17Zm1-5Zm-1 3q.425 0 .713-.288Q8 14.425 8 14H6q0 .425.287.712Q6.575 15 7 15ZM6 6q-.425 0-.713-.287Q5 5.425 5 5t.287-.713Q5.575 4 6 4h3q.425 0 .713.287Q10 4.575 10 5t-.287.713Q9.425 6 9 6Zm13 11q-1.25 0-2.125-.875T16 14q0-1.25.875-2.125T19 11q1.25 0 2.125.875T22 14q0 1.25-.875 2.125T19 17Zm0-2q.425 0 .712-.288Q20 14.425 20 14t-.288-.713Q19.425 13 19 13t-.712.287Q18 13.575 18 14t.288.712Q18.575 15 19 15Zm-6 8l-6-3h4v-2l6 3h-4ZM4 12h4V9H6q-.825 0-1.412.587Q4 10.175 4 11Z"},null,-1),gk=[pk];function _k(t,e,n,r,i,s){return x(),R("svg",mk,gk)}const vk=ae(hk,[["render",_k]]),bk={name:"Motorcycle"},yk={width:"1em",height:"1em",viewBox:"0 0 24 24"},wk=v("path",{fill:"currentColor",d:"M5 19q-2.075 0-3.537-1.462Q0 16.075 0 14q0-2.075 1.463-3.538Q2.925 9 5 9h11.6l-2-2H12q-.425 0-.712-.287Q11 6.425 11 6t.288-.713Q11.575 5 12 5h2.975q.2 0 .388.075q.187.075.337.225l3.75 3.75q1.95.15 3.25 1.575T24 14q0 2.075-1.462 3.538Q21.075 19 19 19q-2.075 0-3.537-1.462Q14 16.075 14 14q0-.45.062-.888q.063-.437.238-.862l-2.175 2.175q-.275.275-.637.425q-.363.15-.763.15H9.9q-.35 1.75-1.725 2.875T5 19Zm14-2q1.25 0 2.125-.875T22 14q0-1.25-.875-2.125T19 11q-1.25 0-2.125.875T16 14q0 1.25.875 2.125T19 17ZM5 17q.95 0 1.713-.55Q7.475 15.9 7.8 15H6q-.425 0-.713-.288Q5 14.425 5 14t.287-.713Q5.575 13 6 13h1.8q-.325-.9-1.087-1.45Q5.95 11 5 11q-1.25 0-2.125.875T2 14q0 1.25.875 2.125T5 17Zm4.95-4h.75l2-2H8.95q.375.425.625.925T9.95 13Zm0-2h-1h3.75h-2Z"},null,-1),Ek=[wk];function Tk(t,e,n,r,i,s){return x(),R("svg",yk,Ek)}const Ck=ae(bk,[["render",Tk]]),Sk={name:"Scooter"},kk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Ak=v("path",{fill:"currentColor",d:"M5 18q-1.25 0-2.125-.875T2 15q0-1.25.875-2.125T5 12q.975 0 1.738.562Q7.5 13.125 7.8 14h5.3q.275-1.7 1.412-2.975Q15.65 9.75 17.3 9.25L15.9 3H13q-.425 0-.712-.288Q12 2.425 12 2t.288-.713Q12.575 1 13 1h2.9q.675 0 1.237.438q.563.437.713 1.112l1.9 8.45H19q-1.65 0-2.825 1.175Q15 13.35 15 15v1H7.8q-.3.875-1.062 1.438Q5.975 18 5 18Zm0-2q.425 0 .713-.288Q6 15.425 6 15t-.287-.713Q5.425 14 5 14t-.713.287Q4 14.575 4 15t.287.712Q4.575 16 5 16Zm14 2q-1.25 0-2.125-.875T16 15q0-1.25.875-2.125T19 12q1.25 0 2.125.875T22 15q0 1.25-.875 2.125T19 18Zm0-2q.425 0 .712-.288Q20 15.425 20 15t-.288-.713Q19.425 14 19 14t-.712.287Q18 14.575 18 15t.288.712Q18.575 16 19 16Zm-6 7l-6-3h4v-2l6 3h-4Zm-8-8Zm14 0Z"},null,-1),xk=[Ak];function Lk(t,e,n,r,i,s){return x(),R("svg",kk,xk)}const Pk=ae(Sk,[["render",Lk]]),Nk={name:"Tractor"},Mk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Ik=v("path",{fill:"currentColor",d:"M4 9q-.425 0-.712-.288Q3 8.425 3 8t.288-.713Q3.575 7 4 7h3q.825 0 1.412.587Q9 8.175 9 9Zm2 9q1.25 0 2.125-.875T9 15q0-1.25-.875-2.125T6 12q-1.25 0-2.125.875T3 15q0 1.25.875 2.125T6 18Zm13.5 0q.625 0 1.062-.438Q21 17.125 21 16.5t-.438-1.062Q20.125 15 19.5 15t-1.062.438Q18 15.875 18 16.5t.438 1.062Q18.875 18 19.5 18ZM6 16.5q-.625 0-1.062-.438Q4.5 15.625 4.5 15t.438-1.062Q5.375 13.5 6 13.5t1.062.438Q7.5 14.375 7.5 15t-.438 1.062Q6.625 16.5 6 16.5Zm14-3.475q.65.125 1.075.337q.425.213.925.688V8q0-.825-.587-1.412Q20.825 6 20 6h-6.3l-1.05-1.1l1.05-1.05q.15-.15.15-.35q0-.2-.15-.35q-.15-.15-.35-.15q-.2 0-.35.15l-2.825 2.825q-.15.15-.15.363q0 .212.175.362q.15.15.35.15q.2 0 .35-.15l1.05-1.05L13 6.7V9q0 .825-.587 1.412Q11.825 11 11 11H8.975q.575.425.925.875q.35.45.7 1.125h.4q1.65 0 2.825-1.175Q15 10.65 15 9V8h5ZM16.025 16q.15-.675.363-1.088q.212-.412.662-.912H10.9q.1.575.1 1q0 .425-.1 1Zm3.475 4q-1.45 0-2.475-1.025Q16 17.95 16 16.5q0-1.45 1.025-2.475Q18.05 13 19.5 13q1.45 0 2.475 1.025Q23 15.05 23 16.5q0 1.45-1.025 2.475Q20.95 20 19.5 20ZM6 20q-2.075 0-3.537-1.462Q1 17.075 1 15q0-2.075 1.463-3.538Q3.925 10 6 10t3.538 1.462Q11 12.925 11 15q0 2.075-1.462 3.538Q8.075 20 6 20Zm9.825-9Z"},null,-1),Ok=[Ik];function $k(t,e,n,r,i,s){return x(),R("svg",Mk,Ok)}const Dk=ae(Nk,[["render",$k]]),Rk={name:"Van"},Vk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Fk=v("path",{fill:"currentColor",d:"M6 20q-1.25 0-2.125-.875T3 17q-.825 0-1.412-.587Q1 15.825 1 15V6q0-.825.588-1.412Q2.175 4 3 4h12q.825 0 1.413.588Q17 5.175 17 6v2h2.5q.25 0 .45.1t.35.3l2.5 3.325q.1.125.15.275q.05.15.05.325V16q0 .425-.288.712Q22.425 17 22 17h-1q0 1.25-.875 2.125T18 20q-1.25 0-2.125-.875T15 17H9q0 1.25-.875 2.125T6 20Zm0-2q.425 0 .713-.288Q7 17.425 7 17t-.287-.712Q6.425 16 6 16t-.713.288Q5 16.575 5 17t.287.712Q5.575 18 6 18ZM3 6v9h.8q.425-.45.975-.725Q5.325 14 6 14t1.225.275q.55.275.975.725H15V6H3Zm15 12q.425 0 .712-.288Q19 17.425 19 17t-.288-.712Q18.425 16 18 16t-.712.288Q17 16.575 17 17t.288.712Q17.575 18 18 18Zm-1-5h4.25L19 10h-2Zm-8-2.5Z"},null,-1),qk=[Fk];function Hk(t,e,n,r,i,s){return x(),R("svg",Vk,qk)}const jk=ae(Rk,[["render",Hk]]),zk={name:"WaterHeater"},Bk={width:"1em",height:"1em",viewBox:"0 0 24 24"},Uk=v("path",{fill:"currentColor",d:"M6 22q-.825 0-1.412-.587Q4 20.825 4 20V6q0-1.65 1.175-2.825Q6.35 2 8 2h8q1.65 0 2.825 1.175Q20 4.35 20 6v14q0 .825-.587 1.413Q18.825 22 18 22Zm0-4v2h12v-2q-.75 0-1.2.5q-.45.5-1.8.5t-1.762-.5Q12.825 18 12 18t-1.237.5Q10.35 19 9 19q-1.35 0-1.762-.5Q6.825 18 6 18Zm3-1q.825 0 1.238-.5Q10.65 16 12 16t1.8.5q.45.5 1.2.5t1.2-.5q.45-.5 1.8-.5V6q0-.825-.587-1.412Q16.825 4 16 4H8q-.825 0-1.412.588Q6 5.175 6 6v10q1.35 0 1.763.5q.412.5 1.237.5Zm3.125-2.05q-1.65 0-2.875-1.088q-1.225-1.087-1.225-2.787q0-.575.163-1.188q.162-.612.587-1.212q.075-.125.213-.2q.137-.075.312-.075q.1 0 .15.062q.05.063.05.138q-.025.15-.037.287q-.013.138-.013.263q0 .75.313 1.312q.312.563.562.563q.15 0 .213-.1q.062-.1.062-.225t-.05-.288L10.425 10q-.05-.2-.1-.488q-.05-.287-.05-.662q0-1.35.612-2.313q.613-.962 1.738-1.462q.1-.05.138-.063Q12.8 5 12.875 5q.075 0 .113.05q.037.05.012.125q-.1.275-.137.487q-.038.213-.038.488q0 .8.438 1.425q.437.625 1.162 1.125q.775.525 1.125 1.288q.35.762.35 1.562q0 1.275-1 2.337q-1 1.063-2.775 1.063Zm.125-1.675q.7 0 1.175-.5q.475-.5.475-1.175q0-.4-.212-.713q-.213-.312-.513-.562q-.3-.25-.5-.5t-.3-.525q-.25.225-.3.512q-.05.288.025.688q.05.275.075.512q.025.238.025.438q0 .5-.325.9t-.775.475q.2.2.538.325q.337.125.612.125ZM12 12Z"},null,-1),Wk=[Uk];function Qk(t,e,n,r,i,s){return x(),R("svg",Bk,Wk)}const Kk=ae(zk,[["render",Qk]]),Yk={bike:j3,bus:K3,car:"shopicon-regular-car3",cooler:ek,generic:ok,heater:fk,moped:vk,motorcycle:Ck,scooter:Pk,tractor:Dk,van:jk,waterheater:Kk},Gk={name:"VehicleIcon",components:{MultiIcon:D3},props:{name:{type:String,default:"car"},names:{type:Array},size:{type:String,default:"s"}},computed:{uniqueNames:function(){return[...new Set(this.names||[this.name])]},count:function(){return this.names.length},single:function(){return this.uniqueNames.length==1},singleIcon:function(){return Yk[this.uniqueNames[0]]||"shopicon-regular-car3"}}};function Zk(t,e,n,r,i,s){const o=le("MultiIcon");return s.single?(x(),ve(io(s.singleIcon),{key:0,class:Ne(`icon icon--${n.size}`)},null,8,["class"])):(x(),ve(o,{key:1,count:s.count,size:n.size},null,8,["count","size"]))}const ld=ae(Gk,[["render",Zk],["__scopeId","data-v-af1c6f18"]]);var Xk='';class Jk extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Xk}}window.customElements.define("shopicon-regular-sun",Jk);var e7='';class t7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=e7}}window.customElements.define("shopicon-regular-home",t7);const n7={name:"Visualization",components:{BatteryIcon:h1,LabelBar:wS,AnimatedNumber:ri,VehicleIcon:ld},mixins:[Pt],props:{gridImport:{type:Number,default:0},selfConsumption:{type:Number,default:0},pvExport:{type:Number,default:0},loadpoints:{type:Number,default:0},batteryCharge:{type:Number,default:0},batteryDischarge:{type:Number,default:0},pvProduction:{type:Number,default:0},homePower:{type:Number,default:0},batterySoC:{type:Number,default:0},valuesInKw:{type:Boolean,default:!1},vehicleIcons:{type:Array}},data:function(){return{width:0,visualizationReady:!1}},computed:{gridExport:function(){return this.applyThreshold(this.pvExport)},totalRaw:function(){return this.gridImport+this.selfConsumption+this.pvExport},gridImportAdjusted:function(){return this.applyThreshold(this.gridImport)},selfConsumptionAdjusted:function(){return this.applyThreshold(this.selfConsumption)},pvExportAdjusted:function(){return this.applyThreshold(this.pvExport)},totalAdjusted:function(){return this.gridImportAdjusted+this.selfConsumptionAdjusted+this.pvExportAdjusted}},watch:{totalAdjusted:function(){!this.visualizationReady&&this.totalAdjusted>0&&setTimeout(()=>{this.visualizationReady=!0},500)}},mounted:function(){this.$nextTick(function(){window.addEventListener("resize",this.updateElementWidth),this.updateElementWidth()})},beforeUnmount(){window.removeEventListener("resize",this.updateElementWidth)},methods:{widthTotal:function(t){return this.totalAdjusted===0?"0%":100/this.totalAdjusted*t+"%"},fmtBarValue:function(t){const e=this.powerLabelEnoughSpace(t);return this.fmtKw(t,this.valuesInKw,e)},powerLabelAvailableSpace(t){if(this.totalAdjusted===0)return 0;const e=100/this.totalAdjusted*t;return this.width/100*e},powerLabelEnoughSpace(t){return this.powerLabelAvailableSpace(t)>60},powerLabelSomeSpace(t){return this.powerLabelAvailableSpace(t)>35},hideLabelIcon(t,e=32){if(this.totalAdjusted===0)return!0;const n=100/this.totalAdjusted*t;return this.width/100*n(bt("data-v-e8e4e8e1"),t=t(),yt(),t),r7={class:"label-scale d-flex"},i7={class:"d-flex justify-content-start flex-grow-1"},s7=os(()=>v("shopicon-regular-sun",null,null,-1)),o7=os(()=>v("shopicon-regular-powersupply",null,null,-1)),a7=os(()=>v("div",{class:"label-scale-name"},"In",-1)),l7={ref:"site_progress",class:"site-progress"},c7={key:0,class:"site-progress-bar bg-light border no-wrap w-100 text-dark"},u7={class:"label-scale d-flex"},d7={class:"d-flex justify-content-start flex-grow-1"},f7=os(()=>v("shopicon-regular-home",null,null,-1)),h7=os(()=>v("shopicon-regular-powersupply",null,null,-1)),m7=os(()=>v("div",{class:"label-scale-name"},"Out",-1));function p7(t,e,n,r,i,s){const o=le("LabelBar"),a=le("BatteryIcon"),l=le("AnimatedNumber"),c=le("VehicleIcon");return x(),R("div",{class:Ne(["visualization",{"visualization--ready":t.visualizationReady}])},[v("div",r7,[v("div",i7,[ne(o,an(Qt(s.labelBarProps("top","pvProduction"))),{default:Je(()=>[s7]),_:1},16),ne(o,an(Qt(s.labelBarProps("top","batteryDischarge"))),{default:Je(()=>[ne(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),ne(o,an(Qt(s.labelBarProps("top","gridImport"))),{default:Je(()=>[o7]),_:1},16)]),a7]),v("div",l7,[v("div",{class:"site-progress-bar self-consumption",style:Ct({width:s.widthTotal(s.selfConsumptionAdjusted)})},[n.selfConsumption?(x(),ve(l,{key:0,class:"power",to:n.selfConsumption,format:s.fmtBarValue},null,8,["to","format"])):be("",!0)],4),v("div",{class:"site-progress-bar grid-import",style:Ct({width:s.widthTotal(s.gridImportAdjusted)})},[n.gridImport?(x(),ve(l,{key:0,class:"power",to:n.gridImport,format:s.fmtBarValue},null,8,["to","format"])):be("",!0)],4),v("div",{class:"site-progress-bar pv-export",style:Ct({width:s.widthTotal(s.pvExportAdjusted)})},[n.pvExport?(x(),ve(l,{key:0,class:"power",to:n.pvExport,format:s.fmtBarValue},null,8,["to","format"])):be("",!0)],4),s.totalAdjusted<=0?(x(),R("div",c7,[v("span",null,F(t.$t("main.energyflow.noEnergy")),1)])):be("",!0)],512),v("div",u7,[v("div",d7,[ne(o,an(Qt(s.labelBarProps("bottom","homePower"))),{default:Je(()=>[f7]),_:1},16),ne(o,an(Qt(s.labelBarProps("bottom","loadpoints"))),{default:Je(()=>[ne(c,{names:n.vehicleIcons},null,8,["names"])]),_:1},16),ne(o,an(Qt(s.labelBarProps("bottom","batteryCharge"))),{default:Je(()=>[ne(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),ne(o,an(Qt(s.labelBarProps("bottom","gridExport"))),{default:Je(()=>[h7]),_:1},16)]),m7])],2)}const g7=ae(n7,[["render",p7],["__scopeId","data-v-e8e4e8e1"]]);var _7='';class v7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=_7}}window.customElements.define("shopicon-regular-powersupply",v7);const b7={name:"EnergyflowEntry",components:{BatteryIcon:h1,AnimatedNumber:ri,VehicleIcon:ld},mixins:[Pt],props:{name:{type:String},icon:{type:String},power:{type:Number},soc:{type:Number},valuesInKw:{type:Boolean},vehicleIcons:{type:Array}},computed:{active:function(){return this.power>10},isBattery:function(){return this.icon==="battery"},isVehicle:function(){return this.icon==="vehicle"},hasSoC:function(){return this.isBattery&&!isNaN(this.soc)}},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)}}},y7={class:"d-flex flex-nowrap"},w7={class:"text-nowrap flex-grow-1 ms-3"},E7={class:"text-end text-nowrap ps-1 fw-bold"},T7={key:0};function C7(t,e,n,r,i,s){const o=le("BatteryIcon"),a=le("VehicleIcon"),l=le("AnimatedNumber");return x(),R("div",{class:Ne(["d-flex justify-content-between mb-2 entry",{"evcc-gray":!s.active}])},[v("span",y7,[s.isBattery?(x(),ve(o,{key:0,soc:n.soc},null,8,["soc"])):s.isVehicle?(x(),ve(a,{key:1,names:n.vehicleIcons},null,8,["names"])):(x(),ve(io(`shopicon-regular-${n.icon}`),{key:2}))]),v("span",w7,F(n.name),1),v("span",E7,[s.hasSoC?(x(),R("span",T7,F(n.soc)+"% / ",1)):be("",!0),ne(l,{to:n.power,format:s.kw},null,8,["to","format"])])],2)}const S7=ae(b7,[["render",C7],["__scopeId","data-v-5c6978c1"]]),k7={name:"Energyflow",components:{Visualization:g7,EnergyflowEntry:S7,AnimatedNumber:ri},mixins:[Pt],props:{gridConfigured:Boolean,gridPower:{type:Number,default:0},homePower:{type:Number,default:0},pvConfigured:Boolean,pvPower:{type:Number,default:0},loadpointsPower:{type:Number,default:0},activeLoadpointsCount:{type:Number,default:0},batteryConfigured:Boolean,batteryPower:{type:Number,default:0},batterySoC:{type:Number,default:0},vehicleIcons:{type:Array}},data:()=>({detailsOpen:!1,detailsCompleteHeight:null}),computed:{gridImport:function(){return Math.max(0,this.gridPower)},pvProduction:function(){return Math.abs(this.pvPower)},batteryPowerAdjusted:function(){return Math.abs(this.batteryPower)<50?0:this.batteryPower},batteryDischarge:function(){return Math.abs(Math.max(0,this.batteryPowerAdjusted))},batteryCharge:function(){return Math.abs(Math.min(0,this.batteryPowerAdjusted)*-1)},selfConsumption:function(){const t=this.batteryDischarge+this.pvProduction,e=this.homePower+this.batteryCharge+this.loadpointsPower;return Math.min(t,e)},pvExport:function(){return Math.max(0,this.gridPower*-1)},valuesInKw:function(){return this.gridImport+this.selfConsumption+this.pvExport>1e3},inPower:function(){return this.gridImport+this.pvProduction+this.batteryDischarge},outPower:function(){return this.homePower+this.loadpointsPower+this.pvExport+this.batteryCharge},detailsHeight:function(){return this.detailsOpen?this.detailsCompleteHeight+"px":0}},mounted(){window.addEventListener("resize",this.updateHeight)},unmounted(){window.removeEventListener("resize",this.updateHeight)},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)},toggleDetails:function(){this.updateHeight(),this.detailsOpen=!this.detailsOpen},updateHeight:function(){this.detailsCompleteHeight=this.$refs.detailsInner.offsetHeight}}},lo=t=>(bt("data-v-aaa32c9a"),t=t(),yt(),t),A7={class:"row"},x7={ref:"detailsInner",class:"details-inner row"},L7={class:"col-12 d-flex justify-content-between pt-2 mb-4"},P7={class:"d-flex flex-nowrap align-items-center"},N7=lo(()=>v("span",{class:"color-self me-2"},[v("shopicon-filled-square")],-1)),M7={key:0,class:"d-flex flex-nowrap align-items-center"},I7=lo(()=>v("span",{class:"color-grid ms-2"},[v("shopicon-filled-square")],-1)),O7={key:1,class:"d-flex flex-nowrap align-items-center"},$7=lo(()=>v("span",{class:"color-export ms-2"},[v("shopicon-filled-square")],-1)),D7={class:"col-12 col-md-6 pe-md-5 pb-4 d-flex flex-column justify-content-between"},R7={class:"d-flex justify-content-between align-items-end mb-4"},V7=lo(()=>v("h3",{class:"m-0"},"In",-1)),F7={class:"fw-bold"},q7={class:"col-12 col-md-6 ps-md-5 pb-4 d-flex flex-column justify-content-between"},H7={class:"d-flex justify-content-between align-items-end mb-4"},j7=lo(()=>v("h3",{class:"m-0"},"Out",-1)),z7={class:"fw-bold"};function B7(t,e,n,r,i,s){const o=le("Visualization"),a=le("AnimatedNumber"),l=le("EnergyflowEntry");return x(),R("div",{class:Ne(["energyflow cursor-pointer position-relative",{"energyflow--open":t.detailsOpen}]),onClick:e[0]||(e[0]=(...c)=>s.toggleDetails&&s.toggleDetails(...c))},[v("div",A7,[ne(o,{class:"col-12 mb-3 mb-md-4",gridImport:s.gridImport,selfConsumption:s.selfConsumption,loadpoints:n.loadpointsPower,pvExport:s.pvExport,batteryCharge:s.batteryCharge,batteryDischarge:s.batteryDischarge,pvProduction:s.pvProduction,homePower:n.homePower,batterySoC:n.batterySoC,valuesInKw:s.valuesInKw,vehicleIcons:n.vehicleIcons},null,8,["gridImport","selfConsumption","loadpoints","pvExport","batteryCharge","batteryDischarge","pvProduction","homePower","batterySoC","valuesInKw","vehicleIcons"])]),v("div",{class:"details",style:Ct({height:s.detailsHeight})},[v("div",x7,[v("div",L7,[v("div",P7,[N7,v("span",null,F(t.$t("main.energyflow.selfConsumption")),1)]),s.gridImport>0?(x(),R("div",M7,[v("span",null,F(t.$t("main.energyflow.gridImport")),1),I7])):(x(),R("div",O7,[v("span",null,F(t.$t("main.energyflow.pvExport")),1),$7]))]),v("div",D7,[v("div",R7,[V7,v("span",F7,[ne(a,{to:s.inPower,format:s.kw},null,8,["to","format"])])]),v("div",null,[ne(l,{name:t.$t("main.energyflow.pvProduction"),icon:"sun",power:s.pvProduction,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(x(),ve(l,{key:0,name:t.$t("main.energyflow.batteryDischarge"),icon:"battery",soc:n.batterySoC,power:s.batteryDischarge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):be("",!0),ne(l,{name:t.$t("main.energyflow.gridImport"),icon:"powersupply",power:s.gridImport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])]),v("div",q7,[v("div",H7,[j7,v("span",z7,[ne(a,{to:s.outPower,format:s.kw},null,8,["to","format"])])]),v("div",null,[ne(l,{name:t.$t("main.energyflow.homePower"),icon:"home",power:n.homePower,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),ne(l,{name:t.$tc("main.energyflow.loadpoints",n.activeLoadpointsCount,{count:n.activeLoadpointsCount}),icon:"vehicle",vehicleIcons:n.vehicleIcons,power:n.loadpointsPower,valuesInKw:s.valuesInKw},null,8,["name","vehicleIcons","power","valuesInKw"]),n.batteryConfigured?(x(),ve(l,{key:0,name:t.$t("main.energyflow.batteryCharge"),icon:"battery",soc:n.batterySoC,power:s.batteryCharge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):be("",!0),ne(l,{name:t.$t("main.energyflow.pvExport"),icon:"powersupply",power:s.pvExport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])])],512)],4)],2)}const Wh=ae(k7,[["render",B7],["__scopeId","data-v-aaa32c9a"]]);var U7='';class W7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=U7}}window.customElements.define("shopicon-filled-circle",W7);var Q7='';class K7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Q7}}window.customElements.define("shopicon-regular-lightning",K7);var Y7='';class G7 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Y7}}window.customElements.define("shopicon-regular-adjust",G7);const{protocol:Z7,hostname:X7,port:Qh,pathname:J7}=window.location,ot=od.create({baseURL:Z7+"//"+X7+(Qh?":"+Qh:"")+J7+"api/",headers:{Accept:"application/json"}});ot.interceptors.response.use(t=>t,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;return window.app.error({message:n}),Promise.reject(t)});const eA={name:"Mode",props:{mode:String},emits:["updated"],data(){return{modes:["off","pv","minpv","now"]}},methods:{isActive:function(t){return this.mode===t},setTargetMode:function(t){this.$emit("updated",t)}}},tA={class:"mode-group border d-inline-flex",role:"group"},nA=["onClick"];function rA(t,e,n,r,i,s){return x(),R("div",tA,[(x(!0),R(Ae,null,Ze(i.modes,o=>(x(),R("button",{key:o,type:"button",class:Ne(["btn flex-grow-1 flex-shrink-1",{active:s.isActive(o)}]),onClick:a=>s.setTargetMode(o)},F(t.$t(`main.mode.${o}`)),11,nA))),128))])}const iA=ae(eA,[["render",rA],["__scopeId","data-v-fd0f9db5"]]),ja={methods:{collectProps:function(t){let e={};for(var n in t.props)n in this&&(e[n]=this[n]);return e}}},sA={name:"LabelAndValue",components:{AnimatedNumber:ri},props:{label:String,value:[Number,String],valueFmt:Function,extraValue:String,align:{type:String,default:"center"}},computed:{labelClass(){return`text-${this.align}`},valueClass(){return`justify-content-${this.align}`}}},oA={class:"root"},aA={key:1},lA={key:2,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function cA(t,e,n,r,i,s){const o=le("AnimatedNumber");return x(),R("div",oA,[v("div",{class:Ne(["mb-2 label",s.labelClass])},F(n.label),3),xu(t.$slots,"default",{},()=>[v("h3",{class:Ne(["value m-0 d-block d-sm-flex align-items-baseline",s.valueClass])},[n.valueFmt?(x(),ve(o,{key:0,to:n.value,format:n.valueFmt},null,8,["to","format"])):(x(),R("span",aA,F(n.value),1)),n.extraValue?(x(),R("div",lA,F(n.extraValue),1)):be("",!0)],2)],!0)])}const co=ae(sA,[["render",cA],["__scopeId","data-v-2a1fddd7"]]);var uA='';class dA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=uA}}window.customElements.define("shopicon-regular-refresh",dA);var fA='';class hA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=fA}}window.customElements.define("shopicon-regular-cablecharge",hA);var mA='';class pA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=mA}}window.customElements.define("shopicon-filled-options",pA);const gA={name:"VehicleOptions",props:{vehicles:Array,isUnknown:Boolean},emits:["change-vehicle","remove-vehicle"],methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")}}},_A={role:"button",tabindex:"0","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation"},vA={class:"dropdown-menu dropdown-menu-start"},bA={class:"dropdown-header"},yA=["onClick"],wA={key:0};function EA(t,e,n,r,i,s){return x(),R("div",null,[v("div",_A,[xu(t.$slots,"default")]),v("ul",vA,[v("li",null,[v("h6",bA,F(t.$t("main.vehicle.changeVehicle")),1)]),(x(!0),R(Ae,null,Ze(n.vehicles,o=>(x(),R("li",{key:o},[v("button",{type:"button",class:"dropdown-item",onClick:a=>s.changeVehicle(o.id)},F(o.title),9,yA)]))),128)),n.isUnknown?be("",!0):(x(),R("li",wA,[v("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=o=>s.removeVehicle())},F(t.$t("main.vehicle.unknown")),1)]))])])}const TA=ae(gA,[["render",EA]]),CA={name:"VehicleTitle",components:{VehicleOptions:TA,VehicleIcon:ld},props:{vehiclePresent:Boolean,vehicleTitle:String,vehicleIcon:String,vehicleDetectionActive:Boolean,parked:Boolean,connected:Boolean,vehicles:{type:Array,default:()=>[]}},emits:["change-vehicle","remove-vehicle"],computed:{icon(){return this.vehicleDetectionActive?"refresh":this.connected||this.parked?"vehicle":null},name(){return this.vehiclePresent||this.parked?this.vehicleTitle||this.$t("main.vehicle.fallbackName"):this.connected?this.$t("main.vehicle.unknown"):this.$t("main.vehicle.none")},isUnknown(){return!this.vehiclePresent},otherVehicles(){return this.vehicles.map((t,e)=>({id:e,title:t})).filter(t=>t.title!==this.vehicleTitle)},showOptions(){return!this.isUnknown||this.vehicles.length}},watch:{icon:function(){this.tooltip()}},mounted:function(){this.tooltip()},methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},tooltip(){this.$nextTick(()=>{this.$refs.refresh&&new wr(this.$refs.refresh)})}}},SA={class:"d-flex justify-content-between mb-3 align-items-center"},kA={class:"d-flex align-items-center m-0 flex-grow-1 overflow-hidden"},AA=["title"],xA={key:2,class:"me-2 flex-shrink-0"},LA={class:"flex-grow-1 text-truncate vehicle-name"},PA={key:4,class:"flex-grow-1 text-truncate vehicle-name"};function NA(t,e,n,r,i,s){const o=le("VehicleIcon"),a=le("VehicleOptions");return x(),R("div",SA,[v("h4",kA,[s.icon==="refresh"?(x(),R("shopicon-regular-refresh",{key:0,ref:"refresh","data-bs-toggle":"tooltip",title:t.$t("main.vehicle.detectionActive"),class:"me-2 flex-shrink-0 spin"},null,8,AA)):s.icon==="vehicle"?(x(),ve(o,{key:1,name:n.vehicleIcon,class:"me-2 flex-shrink-0"},null,8,["name"])):(x(),R("shopicon-regular-cablecharge",xA)),s.showOptions?(x(),ve(a,{key:3,class:"options",vehicles:s.otherVehicles,"is-unknown":s.isUnknown,onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle},{default:Je(()=>[v("span",LA,F(s.name),1)]),_:1},8,["vehicles","is-unknown","onChangeVehicle","onRemoveVehicle"])):(x(),R("span",PA,F(s.name),1))])])}const Kh=ae(CA,[["render",NA],["__scopeId","data-v-86443622"]]),MA={name:"VehicleSoc",props:{connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,socBasedCharging:Boolean},emits:["target-soc-drag","target-soc-updated"],data:function(){return{selectedTargetSoC:null,interactionStartScreenY:null,tooltip:null}},computed:{vehicleSoCDisplayWidth:function(){return this.socBasedCharging?this.vehicleSoC>=0?this.vehicleSoC:100:this.targetEnergy?100/this.targetEnergy*(this.chargedEnergy/1e3):100},vehicleTargetSoCActive:function(){return this.vehicleTargetSoC>0&&this.vehicleTargetSoC>this.vehicleSoC},targetSliderActive:function(){return!this.vehicleTargetSoC||this.visibleTargetSoC<=this.vehicleTargetSoC},progressColor:function(){return this.minSoCActive?"bg-danger":"bg-primary"},minSoCActive:function(){return this.minSoC>0&&this.vehicleSoCthis.vehicleSoC)return t-this.vehicleSoC}else return 100-this.vehicleSoCDisplayWidth;return null},visibleTargetSoC:function(){return Number(this.selectedTargetSoC||this.targetSoC)}},watch:{targetSoC:function(){this.selectedTargetSoC=this.targetSoC},vehicleTargetSoC:function(){this.updateTooltip()}},mounted:function(){this.updateTooltip()},methods:{changeTargetSoCStart:function(t){t.stopPropagation()},changeTargetSoCEnd:function(t){const e=parseInt(t.target.value,10);e!==this.targetSoC&&this.$emit("target-soc-updated",e)},movedTargetSoC:function(t){let e=parseInt(t.target.value,10);t.stopPropagation();const n=20;return e{this.tooltip&&this.tooltip.dispose(),this.tooltip=new wr(this.$refs.vehicleTargetSoC)})}}},IA={class:"vehicle-soc"},OA={class:"progress"},$A=["title"],DA={class:"target"},RA=["value"];function VA(t,e,n,r,i,s){return x(),R("div",IA,[v("div",OA,[n.connected?(x(),R("div",{key:0,class:Ne(["progress-bar",{[s.progressColor]:!0,"progress-bar-striped":n.charging,"progress-bar-animated":n.charging}]),role:"progressbar",style:Ct({width:`${s.vehicleSoCDisplayWidth}%`})},null,6)):be("",!0),s.remainingSoCWidth>0&&n.enabled&&n.connected?(x(),R("div",{key:1,class:Ne(["progress-bar bg-muted",s.progressColor]),role:"progressbar",style:Ct({width:`${s.remainingSoCWidth}%`,transition:"none"})},null,6)):be("",!0),Kt(v("div",{ref:"vehicleTargetSoC",class:Ne(["vehicle-target-soc",{"vehicle-target-soc--active":s.vehicleTargetSoCActive}]),"data-bs-toggle":"tooltip",title:t.$t("main.vehicleSoC.vehicleTarget",{soc:n.vehicleTargetSoC}),style:Ct({left:`${n.vehicleTargetSoC}%`})},null,14,$A),[[Iu,n.vehicleTargetSoC]])]),v("div",DA,[n.socBasedCharging&&n.connected?(x(),R("input",{key:0,type:"range",min:"0",max:"100",step:"5",value:s.visibleTargetSoC,class:Ne(["target-slider",{"target-slider--active":s.targetSliderActive}]),onMousedown:e[0]||(e[0]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onTouchstart:e[1]||(e[1]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onInput:e[2]||(e[2]=(...o)=>s.movedTargetSoC&&s.movedTargetSoC(...o)),onMouseup:e[3]||(e[3]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o)),onTouchend:e[4]||(e[4]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o))},null,42,RA)):be("",!0)])])}const Yh=ae(MA,[["render",VA],["__scopeId","data-v-15f37702"]]),FA={name:"VehicleStatus",mixins:[Pt],props:{vehicleSoC:Number,vehicleTargetSoC:Number,minSoC:Number,enabled:Boolean,connected:Boolean,charging:Boolean,targetTime:String,targetTimeProjectedStart:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number},computed:{phaseTimerActive(){return this.charging&&this.phaseRemainingInterpolated>0&&["scale1p","scale3p"].includes(this.phaseAction)},pvTimerActive(){return this.pvRemainingInterpolated>0&&["enable","disable"].includes(this.pvAction)},message:function(){const t=(e,n)=>this.$t(`main.vehicleStatus.${e}`,n);if(!this.connected)return t("disconnected");if(this.minSoC>0&&this.vehicleSoC0&&this.vehicleSoC>=this.vehicleTargetSoC-1?t("vehicleTargetReached",{soc:this.vehicleTargetSoC}):t("waitForVehicle"):this.pvTimerActive&&this.charging&&this.pvAction==="disable"?t("pvDisable",{remaining:this.fmtShortDuration(this.pvRemainingInterpolated,!0)}):this.phaseTimerActive?t(this.phaseAction,{remaining:this.fmtShortDuration(this.phaseRemainingInterpolated,!0)}):this.charging?t("charging"):t("connected")}}},qA={class:"d-block evcc-gray"};function HA(t,e,n,r,i,s){return x(),R("div",qA,F(s.message)+"\xA0",1)}const Gh=ae(FA,[["render",HA]]);var jA='';class zA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=jA}}window.customElements.define("shopicon-filled-plus",zA);var BA='';class UA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=BA}}window.customElements.define("shopicon-filled-edit",UA);const WA="7:00",Zh="last_target_time",QA={name:"TargetCharge",components:{LabelAndValue:co},mixins:[Pt],props:{id:[String,Number],targetTime:String,targetTimeActive:Boolean,targetSoC:Number,disabled:Boolean},emits:["target-time-updated","target-time-removed"],data:function(){return{selectedDay:null,selectedTime:null}},computed:{targetChargeEnabled:function(){return this.targetTime},selectedTargetTimeValid:function(){return new Datenew Date;this.targetChargeEnabled&&e&&(t=new Date(this.targetTime)),this.selectedDay=this.fmtDayString(t),this.selectedTime=this.fmtTimeString(t)},dayOptions:function(){const t=[],e=new Date,n=[this.$t("main.targetCharge.today"),this.$t("main.targetCharge.tomorrow")];for(let r=0;r<7;r++){const i=e.toLocaleDateString("default",{month:"short",day:"numeric"}),s=n[r]||e.toLocaleDateString("default",{weekday:"long"});t.push({value:this.fmtDayString(e),name:`${i} (${s})`}),e.setDate(e.getDate()+1)}return t},setTargetTime:function(){try{const t=this.selectedTargetTime.getHours(),e=this.selectedTargetTime.getMinutes();window.localStorage[Zh]=`${t}:${e}`}catch(t){console.warn(t)}this.$emit("target-time-updated",this.selectedTargetTime)},removeTargetTime:function(){this.$emit("target-time-removed")}}},m1=t=>(bt("data-v-2ec7939a"),t=t(),yt(),t),KA=["data-bs-target","disabled"],YA={key:0},GA={key:1},ZA=["id"],XA={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},JA={class:"modal-content"},ex={class:"modal-header"},tx={class:"modal-title"},nx=m1(()=>v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),rx={class:"modal-body"},ix={class:"form-group"},sx={for:"targetTimeLabel",class:"mb-3"},ox={class:"d-flex justify-content-between",style:{"max-width":"350px"}},ax=["value"],lx={key:0,class:"text-danger mb-0"},cx={class:"small mt-3 text-muted mb-0"},ux={class:"text-evcc"},dx=m1(()=>v("a",{href:"https://github.com/evcc-io/evcc/discussions/1433",target:"_blank"},"GitHub Discussions",-1)),fx={class:"modal-footer d-flex justify-content-between"},hx=["disabled"];function mx(t,e,n,r,i,s){const o=le("LabelAndValue");return x(),R("div",null,[ne(o,{class:Ne(["root flex-grow-1",n.disabled?"opacity-0":"opacity-1"]),label:t.$t("main.targetCharge.title")},{default:Je(()=>[v("button",{class:Ne(["btn btn-link p-0 value text-center",s.targetChargeEnabled?"evcc-default-text":"text-gray"]),"data-bs-toggle":"modal","data-bs-target":`#${s.modalId}`,disabled:n.disabled},[s.targetChargeEnabled?(x(),R("strong",YA,F(s.targetTimeLabel()),1)):(x(),R("span",GA,F(t.$t("main.targetCharge.setTargetTime")),1))],10,KA)]),_:1},8,["label","class"]),(x(),ve(so,{to:"body"},[v("div",{id:s.modalId,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[v("div",XA,[v("div",JA,[v("div",ex,[v("h5",tx,F(t.$t("main.targetCharge.modalTitle")),1),nx]),v("form",{onSubmit:e[3]||(e[3]=js((...a)=>s.setTargetTime&&s.setTargetTime(...a),["prevent"]))},[v("div",rx,[v("div",ix,[v("label",sx,F(t.$t("main.targetCharge.description",{targetSoC:n.targetSoC})),1),v("div",ox,[Kt(v("select",{"onUpdate:modelValue":e[0]||(e[0]=a=>t.selectedDay=a),class:"form-select me-2",style:{"flex-basis":"60%"}},[(x(!0),R(Ae,null,Ze(s.dayOptions(),a=>(x(),R("option",{key:a.value,value:a.value},F(a.name),9,ax))),128))],512),[[Ro,t.selectedDay]]),Kt(v("input",{"onUpdate:modelValue":e[1]||(e[1]=a=>t.selectedTime=a),type:"time",class:"form-control ms-2",style:{"flex-basis":"40%"},step:60*5,required:""},null,512),[[sE,t.selectedTime]])])]),s.selectedTargetTimeValid?be("",!0):(x(),R("p",lx,F(t.$t("main.targetCharge.targetIsInThePast")),1)),v("p",cx,[v("strong",ux,F(t.$t("main.targetCharge.experimentalLabel"))+": ",1),Le(" "+F(t.$t("main.targetCharge.experimentalText"))+" ",1),dx,Le(". ")])]),v("div",fx,[v("button",{type:"button",class:"btn btn-outline-secondary","data-bs-dismiss":"modal",onClick:e[2]||(e[2]=(...a)=>s.removeTargetTime&&s.removeTargetTime(...a))},F(t.$t("main.targetCharge.remove")),1),v("button",{type:"submit",class:"btn btn-primary","data-bs-dismiss":"modal",disabled:!s.selectedTargetTimeValid},F(t.$t("main.targetCharge.activate")),9,hx)])],32)])])],8,ZA)]))])}const Xh=ae(QA,[["render",mx],["__scopeId","data-v-2ec7939a"]]),px={name:"TargetSoCSelect",components:{LabelAndValue:co,AnimatedNumber:ri},props:{targetSoc:Number,rangePerSoc:Number},emits:["target-soc-updated"],computed:{options:function(){const t=[];for(let e=20;e<=100;e+=5){let n=this.formatSoC(e);const r=this.estimatedRange(e);r&&(n+=` (${this.formatKm(r)})`),t.push({soc:e,text:n})}return t},estimatedTargetRange:function(){return this.estimatedRange(this.targetSoc)}},methods:{change:function(t){return this.$emit("target-soc-updated",parseInt(t.target.value,10))},estimatedRange:function(t){return this.rangePerSoc?Math.round(t*this.rangePerSoc):null},formatSoC:function(t){return`${Math.round(t)}%`},formatKm:function(t){return`${Math.round(t)} km`}}},gx={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},_x={class:"position-relative"},vx=["value"],bx=["value"],yx={class:"text-decoration-underline"},wx={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function Ex(t,e,n,r,i,s){const o=le("AnimatedNumber"),a=le("LabelAndValue");return x(),ve(a,{class:"flex-grow-1",label:t.$t("main.vehicle.targetSoC"),align:"end"},{default:Je(()=>[v("h3",gx,[v("label",_x,[v("select",{value:n.targetSoc,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(x(!0),R(Ae,null,Ze(s.options,({soc:l,text:c})=>(x(),R("option",{key:l,value:l},F(c),9,bx))),128))],40,vx),v("span",yx,[ne(o,{to:n.targetSoc,format:s.formatSoC},null,8,["to","format"])])]),s.estimatedTargetRange?(x(),R("div",wx,[ne(o,{to:s.estimatedTargetRange,format:s.formatKm},null,8,["to","format"])])):be("",!0)])]),_:1},8,["label"])}const Tx=ae(px,[["render",Ex],["__scopeId","data-v-c40d1ba1"]]),Cx={name:"TargetEnergySelect",components:{LabelAndValue:co,AnimatedNumber:ri},mixins:[Pt],props:{targetEnergy:Number,socPerKwh:Number,chargedEnergy:Number,vehicleCapacity:Number},emits:["target-energy-updated"],computed:{maxEnergy:function(){return this.vehicleCapacity||100},steps:function(){return this.maxEnergy<1?.05:this.maxEnergy<2?.1:this.maxEnergy<5?.25:this.maxEnergy<10?.5:this.maxEnergy<25?1:this.maxEnergy<50?2:5},options:function(){const t=[];for(let e=0;e<=this.maxEnergy;e+=this.steps){let n=this.fmtEnergy(e);const r=e=.1,n=e&&this.steps<1?1:0;return this.fmtKWh(t*1e3,e,!0,n)},fmtSoC:function(t){return`+${Math.round(t)}%`}}},Sx={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},kx={class:"position-relative"},Ax=["value"],xx=["value","disabled"],Lx={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function Px(t,e,n,r,i,s){const o=le("AnimatedNumber"),a=le("LabelAndValue");return x(),ve(a,{class:"flex-grow-1",label:t.$t("main.targetEnergy.label"),align:"end"},{default:Je(()=>[v("h3",Sx,[v("label",kx,[v("select",{value:n.targetEnergy,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(x(!0),R(Ae,null,Ze(s.options,({energy:l,text:c,disabled:u})=>(x(),R("option",{key:l,value:l,disabled:u},F(c),9,xx))),128))],40,Ax),v("span",{class:Ne(["text-decoration-underline",{"text-gray fw-normal":!n.targetEnergy}])},[ne(o,{to:n.targetEnergy,format:s.fmtEnergy,"no-animation":!n.targetEnergy},null,8,["to","format","no-animation"])],2)]),s.estimatedTargetSoC?(x(),R("div",Lx,[ne(o,{to:s.estimatedTargetSoC,format:s.fmtSoC},null,8,["to","format"])])):be("",!0)])]),_:1},8,["label"])}const Nx=ae(Cx,[["render",Px],["__scopeId","data-v-12336233"]]),Mx={name:"Vehicle",components:{VehicleTitle:Kh,VehicleSoc:Yh,VehicleStatus:Gh,LabelAndValue:co,TargetCharge:Xh,TargetSoCSelect:Tx,TargetEnergySelect:Nx},mixins:[ja,Pt],props:{id:[String,Number],connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,vehicleDetectionActive:Boolean,vehicleRange:Number,vehicleTitle:String,vehicleIcon:String,vehicleCapacity:Number,socBasedCharging:Boolean,targetTimeActive:Boolean,targetTime:String,targetTimeProjectedStart:String,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,mode:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number,parked:Boolean,vehicles:Array},emits:["target-time-removed","target-time-updated","target-soc-updated","target-energy-updated","change-vehicle","remove-vehicle"],data(){return{displayTargetSoC:this.targetSoC}},computed:{vehicleSocProps:function(){return this.collectProps(Yh)},vehicleStatus:function(){return this.collectProps(Gh)},vehicleTitleProps:function(){return this.collectProps(Kh)},targetCharge:function(){return this.collectProps(Xh)},rangePerSoC:function(){return this.vehicleSoC>10&&this.vehicleRange?this.vehicleRange/this.vehicleSoC:null},socPerKwh:function(){return this.vehicleCapacity>0?100/this.vehicleCapacity:null},chargedSoC:function(){const t=this.socPerKwh*(this.chargedEnergy/1e3);return t>1?`+${Math.round(t)}%`:null},targetChargeDisabled:function(){return!this.connected||!["pv","minpv"].includes(this.mode)}},watch:{targetSoC:function(){this.displayTargetSoC=this.targetSoC}},methods:{targetSocDrag:function(t){this.displayTargetSoC=t},targetSocUpdated:function(t){this.displayTargetSoC=t,this.$emit("target-soc-updated",t)},targetEnergyUpdated:function(t){this.$emit("target-energy-updated",t)},setTargetTime:function(t){this.$emit("target-time-updated",t)},removeTargetTime:function(){this.$emit("target-time-removed")},changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},Ix=t=>(bt("data-v-f7edcd6c"),t=t(),yt(),t),Ox={class:"vehicle pt-4"},$x={class:"details d-flex flex-wrap justify-content-between"},Dx={key:1,class:"d-flex justify-content-start"},Rx=Ix(()=>v("small",null,"vor 5 Stunden",-1)),Vx=[Rx];function Fx(t,e,n,r,i,s){const o=le("VehicleTitle"),a=le("VehicleStatus"),l=le("VehicleSoc"),c=le("LabelAndValue"),u=le("TargetCharge"),f=le("TargetSoCSelect"),d=le("TargetEnergySelect");return x(),R("div",Ox,[ne(o,$t(s.vehicleTitleProps,{onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle}),null,16,["onChangeVehicle","onRemoveVehicle"]),n.parked?be("",!0):(x(),ve(a,$t({key:0},s.vehicleStatus,{class:"mb-2"}),null,16)),ne(l,$t(s.vehicleSocProps,{class:"mt-2 mb-4",onTargetSocUpdated:s.targetSocUpdated,onTargetSocDrag:s.targetSocDrag}),null,16,["onTargetSocUpdated","onTargetSocDrag"]),v("div",$x,[n.socBasedCharging?(x(),ve(c,{key:0,class:"flex-grow-1",label:t.$t("main.vehicle.vehicleSoC"),value:n.vehicleSoC?`${n.vehicleSoC}%`:"--",extraValue:n.vehicleRange?`${n.vehicleRange} km`:null,align:"start"},null,8,["label","value","extraValue"])):(x(),ve(c,{key:1,class:"flex-grow-1",label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),extraValue:s.chargedSoC,align:"start"},null,8,["label","value","extraValue"])),n.socBasedCharging?(x(),ve(u,$t({key:2,class:"flex-grow-1 text-center target-charge"},s.targetCharge,{disabled:s.targetChargeDisabled,onTargetTimeUpdated:s.setTargetTime,onTargetTimeRemoved:s.removeTargetTime}),null,16,["disabled","onTargetTimeUpdated","onTargetTimeRemoved"])):be("",!0),n.socBasedCharging?(x(),ve(f,{key:3,class:"flex-grow-1 text-end","target-soc":i.displayTargetSoC,"range-per-soc":s.rangePerSoC,onTargetSocUpdated:s.targetSocUpdated},null,8,["target-soc","range-per-soc","onTargetSocUpdated"])):(x(),ve(d,{key:4,class:"flex-grow-1 text-end","target-energy":n.targetEnergy,"soc-per-kwh":s.socPerKwh,"charged-energy":n.chargedEnergy,"vehicle-capacity":n.vehicleCapacity,onTargetEnergyUpdated:s.targetEnergyUpdated},null,8,["target-energy","soc-per-kwh","charged-energy","vehicle-capacity","onTargetEnergyUpdated"]))]),t.$hiddenFeatures?(x(),R("div",Dx,Vx)):be("",!0)])}const Oc=ae(Mx,[["render",Fx],["__scopeId","data-v-f7edcd6c"]]),qx={name:"Phases",props:{chargeCurrent:{type:Number},chargeCurrents:{type:Array},phasesActive:{type:Number},minCurrent:{type:Number},maxCurrent:{type:Number}},methods:{inactive(t){return t>this.phasesActive},targetWidth(){let t=Math.min(Math.max(this.minCurrent,this.chargeCurrent),this.maxCurrent);return 100/this.maxCurrent*t},realWidth(t){if(this.chargeCurrents){const e=this.chargeCurrents[t-1]||0;return 100/this.maxCurrent*e}return this.targetWidth()}}},Hx={class:"phases d-flex justify-content-between"};function jx(t,e,n,r,i,s){return x(),R("div",Hx,[(x(),R(Ae,null,Ze([1,2,3],o=>v("div",{key:o,class:Ne(["phase me-1",{inactive:s.inactive(o)}])},[v("div",{class:"target",style:Ct({width:`${s.targetWidth()}%`})},null,4),v("div",{class:"real",style:Ct({width:`${s.realWidth(o)}%`})},null,4)],2)),64))])}const Jh=ae(qx,[["render",jx],["__scopeId","data-v-0709e49e"]]),zx={name:"LoadpointSettingsButton",props:{id:[String,Number]}},Bx=["data-bs-target"],Ux=v("shopicon-regular-adjust",{size:"s"},null,-1),Wx=[Ux];function Qx(t,e,n,r,i,s){return x(),R("button",{type:"button","data-bs-toggle":"modal","data-bs-target":`#loadpointSettingsModal_${n.id}`,class:"btn btn-sm btn-outline-secondary position-relative border-0 p-2 evcc-gray"},Wx,8,Bx)}const Kx=ae(zx,[["render",Qx]]);var Yx='';class Gx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Yx}}window.customElements.define("shopicon-bold-lightning",Gx);var Zx='';class Xx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Zx}}window.customElements.define("shopicon-bold-car3",Xx);const xo=230,Jx={name:"LoadpointSettingsModal",mixins:[Pt],props:{id:[String,Number],phasesConfigured:Number,minSoC:Number,maxCurrent:Number,minCurrent:Number,title:String},emits:["phasesconfigured-updated","maxcurrent-updated","mincurrent-updated","minsoc-updated"],data:function(){return{selectedMaxCurrent:this.maxCurrent,selectedMinCurrent:this.minCurrent,selectedPhases:this.phasesConfigured,selectedMinSoC:this.minSoC}},computed:{maxPower1p:function(){return this.fmtKw(this.maxCurrent*xo)},minPower1p:function(){return this.fmtKw(this.minCurrent*xo)},maxPower3p:function(){return this.fmtKw(this.maxCurrent*xo*3)},minPower3p:function(){return this.fmtKw(this.minCurrent*xo*3)},maxPower:function(){return this.phasesConfigured===1?this.maxPower1p:this.maxPower3p},minPower:function(){return this.phasesConfigured===3?this.minPower3p:this.minPower1p},showConfigurablePhases:function(){return[0,1,3].includes(this.phasesConfigured)},showCurrentSettings:function(){return this.$hiddenFeatures},showMinSoCSettings:function(){return this.$hiddenFeatures}},watch:{maxCurrent:function(t){this.selectedMaxCurrent=t},minCurrent:function(t){this.selectedMinCurrent=t},phasesConfigured:function(t){this.selectedPhases=t},minSoC:function(t){this.selectedMinSoC=t}},methods:{formId:function(t){return`loadpoint_${this.id}_${t}`},changeMaxCurrent:function(){this.$emit("maxcurrent-updated",this.selectedMaxCurrent)},changeMinCurrent:function(){this.$emit("mincurrent-updated",this.selectedMinCurrent)},changePhasesConfigured:function(){this.$emit("phasesconfigured-updated",this.selectedPhases)},changeMinSoC:function(){this.$emit("minsoc-updated",this.selectedMinSoC)},currentOptions:function(t,e=16){const n=[],r=t?32:this.maxCurrent,i=t?this.minCurrent:6;for(let s=r;s>=i;s--){let o=`${s} A`;s===e&&(o+=` (${this.$t("main.loadpointSettings.default")})`),n.push({value:s,name:o})}return n}}},cd=t=>(bt("data-v-c8fc2df3"),t=t(),yt(),t),eL=["id"],tL={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},nL={class:"modal-content"},rL={class:"modal-header"},iL={class:"modal-title"},sL=cd(()=>v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),oL={class:"modal-body"},aL={class:"container"},lL={key:0,class:"d-flex align-items-center mb-3 mt-0 text-evcc"},cL=cd(()=>v("shopicon-bold-car3",{class:"ms-2"},null,-1)),uL={key:1,class:"mb-3 row"},dL=["for"],fL={class:"col-sm-8 pe-0"},hL=["id"],mL=["value"],pL={key:2,class:"d-flex align-items-center mb-3 mt-4 text-evcc"},gL=cd(()=>v("shopicon-bold-lightning",{class:"ms-1"},null,-1)),_L={key:3,class:"mb-3 row"},vL=["for"],bL={class:"col-sm-8 pe-0"},yL={class:"form-check"},wL=["id","name"],EL=["for"],TL={class:"form-check"},CL=["id","name"],SL=["for"],kL={class:"form-check"},AL=["id","name"],xL=["for"],LL={key:4,class:"mb-3 row"},PL=["for"],NL={class:"col-sm-8 pe-0 d-flex align-items-center"},ML=["id"],IL=["value"],OL={class:"ms-3"},$L={key:5,class:"mb-3 row"},DL=["for"],RL={class:"col-sm-8 pe-0 d-flex align-items-center"},VL=["id"],FL=["value"],qL={class:"ms-3"},HL={class:"small mt-3 text-muted mb-0"},jL={class:"text-evcc"};function zL(t,e,n,r,i,s){return x(),ve(so,{to:"body"},[v("div",{id:`loadpointSettingsModal_${n.id}`,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[v("div",tL,[v("div",nL,[v("div",rL,[v("h5",iL,F(t.$t("main.loadpointSettings.title",[n.title])),1),sL]),v("div",oL,[v("div",aL,[s.showMinSoCSettings?(x(),R("h4",lL,[Le(F(t.$t("main.loadpointSettings.vehicle"))+" ",1),cL])):be("",!0),s.showMinSoCSettings?(x(),R("div",uL,[v("label",{for:s.formId("minsoc"),class:"col-sm-4 col-form-label pt-0 pt-sm-1"},F(t.$t("main.loadpointSettings.minSoC.label")),9,dL),v("div",fL,[Kt(v("select",{id:s.formId("minsoc"),"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedMinSoC=o),class:"form-select form-select-sm mb-2 w-50",onChange:e[1]||(e[1]=(...o)=>s.changeMinSoC&&s.changeMinSoC(...o))},[(x(),R(Ae,null,Ze([0,5,10,15,20,25,30,35,40,45,50],o=>v("option",{key:o,value:o},F(o?`${o}%`:"--"),9,mL)),64))],40,hL),[[Ro,t.selectedMinSoC,void 0,{number:!0}]]),v("small",null,F(t.$t("main.loadpointSettings.minSoC.description",[t.selectedMinSoC||"x"])),1)])])):be("",!0),s.showConfigurablePhases||s.showCurrentSettings?(x(),R("h4",pL,[Le(F(t.$t("main.loadpointSettings.currents"))+" ",1),gL])):be("",!0),s.showConfigurablePhases?(x(),R("div",_L,[v("label",{for:s.formId("phases_0"),class:"col-sm-4 col-form-label pt-0"},F(t.$t("main.loadpointSettings.phasesConfigured.label")),9,vL),v("div",bL,[v("div",yL,[Kt(v("input",{id:s.formId("phases_0"),"onUpdate:modelValue":e[2]||(e[2]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:0,onChange:e[3]||(e[3]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,wL),[[ml,t.selectedPhases,void 0,{number:!0}]]),v("label",{class:"form-check-label",for:s.formId("phases_0")},F(t.$t("main.loadpointSettings.phasesConfigured.phases_0")),9,EL)]),v("div",TL,[Kt(v("input",{id:s.formId("phases_1"),"onUpdate:modelValue":e[4]||(e[4]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:1,onChange:e[5]||(e[5]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,CL),[[ml,t.selectedPhases,void 0,{number:!0}]]),v("label",{class:"form-check-label",for:s.formId("phases_1")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_1"))+" ",1),v("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_1_hint",{min:s.minPower1p,max:s.maxPower1p})),1)],8,SL)]),v("div",kL,[Kt(v("input",{id:s.formId("phases_3"),"onUpdate:modelValue":e[6]||(e[6]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:3,onChange:e[7]||(e[7]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,AL),[[ml,t.selectedPhases,void 0,{number:!0}]]),v("label",{class:"form-check-label",for:s.formId("phases_3")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_3"))+" ",1),v("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_3_hint",{min:s.minPower3p,max:s.maxPower3p})),1)],8,xL)])])])):be("",!0),t.$hiddenFeatures?(x(),R("div",LL,[v("label",{for:s.formId("maxcurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.maxCurrent.label")),9,PL),v("div",NL,[Kt(v("select",{id:s.formId("maxcurrent"),"onUpdate:modelValue":e[8]||(e[8]=o=>t.selectedMaxCurrent=o),class:"form-select form-select-sm w-50",onChange:e[9]||(e[9]=(...o)=>s.changeMaxCurrent&&s.changeMaxCurrent(...o))},[(x(!0),R(Ae,null,Ze(s.currentOptions(!0,16),({value:o,name:a})=>(x(),R("option",{key:o,value:o},F(a),9,IL))),128))],40,ML),[[Ro,t.selectedMaxCurrent,void 0,{number:!0}]]),v("small",OL,"~ "+F(s.maxPower),1)])])):be("",!0),t.$hiddenFeatures?(x(),R("div",$L,[v("label",{for:s.formId("mincurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.minCurrent.label")),9,DL),v("div",RL,[Kt(v("select",{id:s.formId("mincurrent"),"onUpdate:modelValue":e[10]||(e[10]=o=>t.selectedMinCurrent=o),class:"form-select form-select-sm w-50",onChange:e[11]||(e[11]=(...o)=>s.changeMinCurrent&&s.changeMinCurrent(...o))},[(x(!0),R(Ae,null,Ze(s.currentOptions(!1,6),({value:o,name:a})=>(x(),R("option",{key:o,value:o},F(a),9,FL))),128))],40,VL),[[Ro,t.selectedMinCurrent,void 0,{number:!0}]]),v("small",qL,"~ "+F(s.minPower),1)])])):be("",!0)]),v("p",HL,[v("strong",jL,F(t.$t("main.loadpointSettings.disclaimerHint")),1),Le(" "+F(t.$t("main.loadpointSettings.disclaimerText")),1)])])])])],8,eL)])}const em=ae(Jx,[["render",zL],["__scopeId","data-v-c8fc2df3"]]),BL={name:"Loadpoint",components:{Mode:iA,Vehicle:Oc,Phases:Jh,LabelAndValue:co,LoadpointSettingsButton:Kx,LoadpointSettingsModal:em},mixins:[Pt,ja],props:{id:Number,single:Boolean,title:String,mode:String,targetSoC:Number,targetEnergy:Number,remoteDisabled:Boolean,remoteDisabledSource:String,chargeDuration:Number,charging:Boolean,connected:Boolean,enabled:Boolean,vehicleDetectionActive:Boolean,vehiclePresent:Boolean,vehicleRange:Number,vehicleSoC:Number,vehicleTitle:String,vehicleIcon:String,vehicleTargetSoC:Number,vehicleCapacity:Number,vehicleFeatureOffline:Boolean,vehicles:Array,minSoC:Number,targetTime:String,targetTimeActive:Boolean,targetTimeProjectedStart:String,vehicleProviderLoggedIn:Boolean,vehicleProviderLoginPath:String,vehicleProviderLogoutPath:String,chargePower:Number,chargedEnergy:Number,climater:String,chargeRemainingDuration:Number,phases:Number,phasesConfigured:Number,minCurrent:Number,maxCurrent:Number,phasesActive:Number,chargeCurrent:Number,connectedDuration:Number,chargeCurrents:Array,chargeConfigured:Boolean,chargeRemainingEnergy:Number,phaseAction:String,phaseRemaining:Number,pvRemaining:Number,pvAction:String},data(){return{tickerHandler:null,phaseRemainingInterpolated:this.phaseRemaining,pvRemainingInterpolated:this.pvRemaining,chargeDurationInterpolated:this.chargeDuration,chargeRemainingDurationInterpolated:this.chargeRemainingDuration}},computed:{phasesProps:function(){return this.collectProps(Jh)},settingsModal:function(){return this.collectProps(em)},settingsButtonVisible:function(){return this.$hiddenFeatures||[0,1,3].includes(this.phasesConfigured)},vehicle:function(){return this.collectProps(Oc)},showChargingIndicator:function(){return this.charging&&this.chargePower>0},socBasedCharging:function(){return!this.vehicleFeatureOffline&&this.vehiclePresent}},watch:{phaseRemaining(){this.phaseRemainingInterpolated=this.phaseRemaining},pvRemaining(){this.pvRemainingInterpolated=this.pvRemaining},chargeDuration(){this.chargeDurationInterpolated=this.chargeDuration},chargeRemainingDuration(){this.chargeRemainingDurationInterpolated=this.chargeRemainingDuration}},mounted(){this.tickerHandler=setInterval(this.tick,1e3)},unmounted(){clearInterval(this.tickerHandler)},methods:{tick(){this.phaseRemainingInterpolated>0&&this.phaseRemainingInterpolated--,this.pvRemainingInterpolated>0&&this.pvRemainingInterpolated--,this.chargeDurationInterpolated>0&&this.charging&&this.chargeDurationInterpolated++,this.chargeRemainingDurationInterpolated>0&&this.charging&&this.chargeRemainingDurationInterpolated--},apiPath:function(t){return"loadpoints/"+this.id+"/"+t},setTargetMode:function(t){ot.post(this.apiPath("mode")+"/"+t)},setTargetSoC:function(t){ot.post(this.apiPath("targetsoc")+"/"+t)},setTargetEnergy:function(t){ot.post(this.apiPath("targetenergy")+"/"+t)},setMaxCurrent:function(t){ot.post(this.apiPath("maxcurrent")+"/"+t)},setMinCurrent:function(t){ot.post(this.apiPath("mincurrent")+"/"+t)},setPhasesConfigured:function(t){ot.post(this.apiPath("phases")+"/"+t)},setMinSoC:function(t){ot.post(this.apiPath("minsoc")+"/"+t)},setTargetTime:function(t){ot.post(`${this.apiPath("targetcharge")}/${this.targetSoC}/${t.toISOString()}`)},removeTargetTime:function(){ot.delete(this.apiPath("targetcharge"))},changeVehicle(t){ot.post(this.apiPath("vehicle")+`/${t}`)},removeVehicle(){ot.delete(this.apiPath("vehicle"))},fmtPower(t){const e=t==0||t>=1e3;return this.fmtKw(t,e)},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},UL=t=>(bt("data-v-f24c9e17"),t=t(),yt(),t),WL={class:"loadpoint pt-4 pb-2 px-3 px-sm-4 mx-2 mx-sm-0"},QL={class:"d-block d-sm-flex justify-content-between align-items-center mb-3"},KL={class:"d-flex justify-content-between align-items-center mb-3"},YL={class:"me-2 mb-0 text-truncate"},GL={class:"mb-3 d-flex align-items-center"},ZL={class:"details d-flex align-items-start mb-3"},XL={class:"d-flex align-items-center"},JL=UL(()=>v("hr",{class:"divider"},null,-1));function e6(t,e,n,r,i,s){const o=le("LoadpointSettingsButton"),a=le("Mode"),l=le("LoadpointSettingsModal"),c=le("LabelAndValue"),u=le("Phases"),f=le("Vehicle");return x(),R("div",WL,[v("div",QL,[v("div",KL,[v("h3",YL,F(n.title||t.$t("main.loadpoint.fallbackName")),1),s.settingsButtonVisible?(x(),ve(o,{key:0,id:n.id,class:"d-block d-sm-none"},null,8,["id"])):be("",!0)]),v("div",GL,[ne(a,{class:"flex-grow-1",mode:n.mode,onUpdated:s.setTargetMode},null,8,["mode","onUpdated"]),s.settingsButtonVisible?(x(),ve(o,{key:0,id:n.id,class:"d-none d-sm-block ms-2"},null,8,["id"])):be("",!0)])]),ne(l,$t(s.settingsModal,{onMaxcurrentUpdated:s.setMaxCurrent,onMincurrentUpdated:s.setMinCurrent,onPhasesconfiguredUpdated:s.setPhasesConfigured,onMinsocUpdated:s.setMinSoC}),null,16,["onMaxcurrentUpdated","onMincurrentUpdated","onPhasesconfiguredUpdated","onMinsocUpdated"]),n.remoteDisabled?(x(),R("div",{key:0,class:Ne(["alert alert-warning my-4 py-2",`${n.remoteDisabled==="hard"?"alert-danger":"alert-warning"}`]),role:"alert"},F(t.$t(n.remoteDisabled==="hard"?"main.loadpoint.remoteDisabledHard":"main.loadpoint.remoteDisabledSoft",{source:n.remoteDisabledSource})),3)):be("",!0),v("div",ZL,[v("div",null,[v("div",XL,[ne(c,{label:t.$t("main.loadpoint.power"),value:n.chargePower,valueFmt:s.fmtPower,class:"mb-2",align:"start"},null,8,["label","value","valueFmt"]),v("shopicon-regular-lightning",{class:Ne(["text-evcc opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]),size:"m"},null,2)]),ne(u,$t(s.phasesProps,{class:["opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]}),null,16,["class"])]),Kt(ne(c,{label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),align:"center"},null,8,["label","value"]),[[Iu,s.socBasedCharging]]),i.chargeRemainingDurationInterpolated?(x(),ve(c,{key:0,label:t.$t("main.loadpoint.remaining"),value:` ${t.fmtShortDuration(i.chargeRemainingDurationInterpolated)} ${t.fmtShortDurationUnit(i.chargeRemainingDurationInterpolated,!0)}`,align:"end"},null,8,["label","value"])):(x(),ve(c,{key:1,label:t.$t("main.loadpoint.duration"),value:` ${t.fmtShortDuration(i.chargeDurationInterpolated)} ${t.fmtShortDurationUnit(i.chargeDurationInterpolated)}`,align:"end"},null,8,["label","value"]))]),JL,ne(f,$t(s.vehicle,{onTargetSocUpdated:s.setTargetSoC,onTargetEnergyUpdated:s.setTargetEnergy,onTargetTimeUpdated:s.setTargetTime,onTargetTimeRemoved:s.removeTargetTime,onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle}),null,16,["onTargetSocUpdated","onTargetEnergyUpdated","onTargetTimeUpdated","onTargetTimeRemoved","onChangeVehicle","onRemoveVehicle"])])}const t6=ae(BL,[["render",e6],["__scopeId","data-v-f24c9e17"]]),n6={name:"Site",components:{Loadpoint:t6},props:{loadpoints:Array,vehicles:Array},data(){return{selectedIndex:0,snapTimeout:null}},mounted(){this.$refs.carousel.addEventListener("scroll",this.handleCarouselScroll,!1)},unmounted(){this.$refs.carousel&&this.$refs.carousel.removeEventListener("scroll",this.handleCarouselScroll)},methods:{handleCarouselScroll(){const{scrollLeft:t}=this.$refs.carousel,{offsetWidth:e}=this.$refs.carousel.children[0];this.selectedIndex=Math.round((t-7.5)/e)},selected(t){return this.selectedIndex===t},scrollTo(t){if(this.selectedIndex===t)return;this.selectedIndex=t;const e=this.$refs.carousel,n=e.children[0].offsetWidth;e.style.scrollSnapType="none",e.scrollTo({top:0,left:7.5+n*t,behavior:"smooth"}),clearTimeout(this.snapTimeout),this.snapTimeout=setTimeout(()=>{this.$refs.carousel.style.scrollSnapType="x mandatory"},1e3)}}},r6=t=>(bt("data-v-024a6ae6"),t=t(),yt(),t),i6={class:"container container--loadpoint px-0 mb-md-2 d-flex flex-column justify-content-center"},s6={ref:"carousel",class:"carousel d-lg-flex flex-wrap"},o6={key:0,class:"d-flex d-lg-none justify-content-center"},a6=["onClick"],l6=r6(()=>v("shopicon-filled-circle",{class:"indicator-icon"},null,-1)),c6=[l6];function u6(t,e,n,r,i,s){const o=le("Loadpoint");return x(),R("div",i6,[v("div",s6,[(x(!0),R(Ae,null,Ze(n.loadpoints,(a,l)=>(x(),R("div",{key:l,class:"flex-grow-1 mb-3 m-lg-0 p-lg-0"},[ne(o,$t(a,{id:l,vehicles:n.vehicles,class:["h-100",{"loadpoint-unselected":!s.selected(l)}],onClick:c=>s.scrollTo(l)}),null,16,["id","vehicles","class","onClick"])]))),128))],512),n.loadpoints.length>1?(x(),R("div",o6,[(x(!0),R(Ae,null,Ze(n.loadpoints,(a,l)=>(x(),R("button",{key:l,class:Ne(["btn btn-sm btn-link p-0 mx-1 indicator d-flex justify-content-center align-items-center evcc-default-text",{"indicator--selected":s.selected(l)}]),onClick:c=>s.scrollTo(l)},c6,10,a6))),128))])):be("",!0)])}const d6=ae(n6,[["render",u6],["__scopeId","data-v-024a6ae6"]]),f6={name:"Vehicles",components:{Vehicle:Oc},data(){return{refreshing:!1,vehicles:[{vehiclePresent:!0,vehicleTitle:"Ford Mustang Mach-E",vehicleSoC:46,vehicleRange:182,targetSoC:100},{vehiclePresent:!0,vehicleTitle:"Renault Twingo Electric",vehicleSoC:77,vehicleRange:98,targetSoC:90},{vehiclePresent:!0,vehicleTitle:"Blauer VW ID.4",vehicleSoC:16,vehicleRange:52,minSoC:35,targetSoC:60}]}},methods:{refresh(){this.refreshing=!0,window.setTimeout(()=>{this.refreshing=!1},5e3)}}},h6=t=>(bt("data-v-7430d6bb"),t=t(),yt(),t),m6={class:"container px-4 mb-3 mb-sm-4 d-flex justify-content-start align-items-center"},p6={class:"m-0"},g6=["disabled"],_6=h6(()=>v("shopicon-regular-refresh",{class:"refresh-icon"},null,-1)),v6=[_6];function b6(t,e,n,r,i,s){const o=le("Vehicle");return x(),R("div",null,[v("div",m6,[v("h2",p6,F(t.$t("main.vehicles")),1),v("button",{class:Ne(["btn btn-link d-flex evcc-default-text p-2 ms-1 refresh",{"refresh--in-progress":i.refreshing}]),disabled:i.refreshing,onClick:e[0]||(e[0]=(...a)=>s.refresh&&s.refresh(...a))},v6,10,g6)]),v("div",{class:Ne(["container vehicles px-0 mb-5",`vehicles-${i.vehicles.length}`])},[(x(!0),R(Ae,null,Ze(i.vehicles,(a,l)=>(x(),ve(o,$t(a,{id:`vehicle_${l}`,key:l,class:"vehicle",parked:""}),null,16,["id"]))),128))],2)])}const y6=ae(f6,[["render",b6],["__scopeId","data-v-7430d6bb"]]);var w6='';class E6 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=w6}}window.customElements.define("shopicon-filled-testtube",E6);const T6={name:"Logo"},ud=t=>(bt("data-v-9d6237eb"),t=t(),yt(),t),C6={viewBox:"0 0 122 35",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"},S6=ud(()=>v("path",{d:"M13.082 29.071a12.384 12.384 0 01-9-3.42 12.192 12.192 0 01-3.54-9.12v-.64a15.394 15.394 0 011.47-6.83 10.825 10.825 0 014.17-4.64 11.64 11.64 0 016.15-1.63 10.45 10.45 0 018.21 3.26c2 2.194 3 5.297 3 9.31v2.76H7.382a6.348 6.348 0 002 4 5.997 5.997 0 004.16 1.49 7.305 7.305 0 006.1-2.84l3.31 3.73a10 10 0 01-4.13 3.39 13.309 13.309 0 01-5.74 1.18zm-.77-20.84a4.216 4.216 0 00-3.26 1.37 7.141 7.141 0 00-1.6 3.91h9.39v-.55a5.005 5.005 0 00-1.22-3.49 4.304 4.304 0 00-3.31-1.24zM36.452 20.331l4.7-17.09h7l-8.48 25.36h-6.44l-8.52-25.36h7l4.74 17.09zM85.542 23.611a4.444 4.444 0 003-1 3.638 3.638 0 001.22-2.75h6.32a8.668 8.668 0 01-1.4 4.73 9.145 9.145 0 01-3.79 3.3 11.736 11.736 0 01-5.29 1.19 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.868 10.868 0 018.51-3.5c2.791-.134 5.524.84 7.6 2.71a9.626 9.626 0 012.9 7.21h-6.3a4.663 4.663 0 00-1.2-3.22 4.005 4.005 0 00-3.08-1.24 4.068 4.068 0 00-3.56 1.73c-.8 1.15-1.2 3-1.2 5.6v.7c0 2.61.39 4.49 1.19 5.63a4.092 4.092 0 003.65 1.72zM110.422 23.611a4.454 4.454 0 003-1 3.63 3.63 0 001.21-2.75h6.33a8.668 8.668 0 01-1.4 4.73 9.143 9.143 0 01-3.73 3.3 11.76 11.76 0 01-5.29 1.18 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.85 10.85 0 018.57-3.49 10.575 10.575 0 017.6 2.71 9.598 9.598 0 012.91 7.21h-6.33a4.651 4.651 0 00-1.21-3.22 4.492 4.492 0 00-6.64.49c-.8 1.15-1.21 3-1.21 5.6v.7c0 2.607.4 4.484 1.2 5.63a4.09 4.09 0 003.56 1.72z",fill:"#fff",class:"letter","fill-rule":"nonzero"},null,-1)),k6=ud(()=>v("path",{d:"M58.462.751h9.22l-6.14 12.3h6.15l-11.53 21.51 2.3-15.36h-7.68l7.68-18.45z",fill:"#0fdd42","fill-rule":"nonzero"},null,-1)),A6=ud(()=>v("path",{fill:"none",d:"M-24.458-22.109h170v76h-170z"},null,-1)),x6=[S6,k6,A6];function L6(t,e,n,r,i,s){return x(),R("svg",C6,x6)}const P6=ae(T6,[["render",L6],["__scopeId","data-v-9d6237eb"]]);var N6='';class M6 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=N6}}window.customElements.define("shopicon-regular-gift",M6);var I6='';class O6 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=I6}}window.customElements.define("shopicon-regular-moonstars",O6);const $6={name:"Version",components:{Logo:P6},props:{installed:String,available:String,releaseNotes:String,commit:String,hasUpdater:Boolean,uploadMessage:String,uploadProgress:Number},data:function(){return{updateStarted:!1,updateStatus:""}},computed:{githubHashUrl:function(){return`https://github.com/evcc-io/evcc/commit/${this.commit}`},newVersionAvailable:function(){return this.available&&this.installed!="[[.Version]]"&&this.installed!="0.0.1-alpha"&&this.available!=this.installed}},methods:{update:async function(){try{await ot.post("update"),this.updateStatus=this.$t("footer.version.modalUpdateStatusStart"),this.updateStarted=!0}catch(t){this.updateStatus=this.$t("footer.version.modalUpdateStatusStart")+t}},releaseNotesUrl:function(t){return`https://github.com/evcc-io/evcc/releases/tag/${t}`}}},za=t=>(bt("data-v-66915926"),t=t(),yt(),t),D6=["href"],R6=za(()=>v("shopicon-regular-moonstars",{class:"ms-2 text-gray-light"},null,-1)),V6={key:1,href:"#","data-bs-toggle":"modal","data-bs-target":"#updateModal",class:"btn btn-link ps-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end"},F6=za(()=>v("shopicon-regular-gift",{class:"me-2"},null,-1)),q6={class:"ms-2 d-none d-xs-block d-sm-none text-decoration-underline"},H6={class:"ms-2 d-none d-sm-block text-gray-medium text-decoration-underline"},j6=["href"],z6={id:"updateModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true"},B6={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},U6={class:"modal-content"},W6={class:"modal-header"},Q6={class:"modal-title"},K6=za(()=>v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),Y6={class:"modal-body"},G6={key:0},Z6={class:"progress my-3"},X6={key:1},J6=["innerHTML"],eP={key:1},tP=["href"],nP={class:"modal-footer d-flex justify-content-between"},rP=["disabled"],iP=["disabled"],sP={key:0},oP=za(()=>v("span",{class:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"},null,-1)),aP={key:1},lP=["href"];function cP(t,e,n,r,i,s){const o=le("Logo");return x(),R("div",null,[n.commit?(x(),R("a",{key:0,href:s.githubHashUrl,target:"_blank",class:"btn btn-link ps-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end"},[ne(o,{class:"logo me-2"}),Le(" v"+F(n.installed)+" ",1),R6],8,D6)):s.newVersionAvailable?(x(),R("button",V6,[F6,Le(" v"+F(n.installed)+" ",1),v("span",q6,F(t.$t("footer.version.availableShort")),1),v("span",H6,F(t.$t("footer.version.availableLong")),1)])):(x(),R("a",{key:2,href:s.releaseNotesUrl(n.installed),target:"_blank",class:"btn btn-link evcc-default-text ps-0 text-decoration-none text-nowrap d-flex align-items-end"},[ne(o,{class:"logo me-2"}),Le(" v"+F(n.installed),1)],8,j6)),(x(),ve(so,{to:"body"},[v("div",z6,[v("div",B6,[v("div",U6,[v("div",W6,[v("h5",Q6,F(t.$t("footer.version.modalTitle")),1),K6]),v("div",Y6,[t.updateStarted?(x(),R("div",G6,[v("p",null,F(t.$t("footer.version.modalUpdateStarted")),1),v("div",Z6,[v("div",{class:"progress-bar progress-bar-striped progress-bar-animated",role:"progressbar",style:Ct({width:n.uploadProgress+"%"})},null,4)]),v("p",null,F(t.updateStatus)+F(n.uploadMessage),1)])):(x(),R("div",X6,[v("p",null,[v("small",null,F(t.$t("footer.version.modalInstalledVersion"))+": "+F(n.installed),1)]),n.releaseNotes?(x(),R("div",{key:0,innerHTML:n.releaseNotes},null,8,J6)):(x(),R("p",eP,[Le(F(t.$t("footer.version.modalNoReleaseNotes"))+" ",1),v("a",{href:s.releaseNotesUrl(n.available)},"GitHub",8,tP),Le(". ")]))]))]),v("div",nP,[v("button",{type:"button",class:"btn btn-outline-secondary",disabled:t.updateStarted,"data-bs-dismiss":"modal"},F(t.$t("footer.version.modalCancel")),9,rP),v("div",null,[n.hasUpdater?(x(),R("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.updateStarted,onClick:e[0]||(e[0]=(...a)=>s.update&&s.update(...a))},[t.updateStarted?(x(),R("span",sP,[oP,Le(" "+F(t.$t("footer.version.modalUpdate")),1)])):(x(),R("span",aP,F(t.$t("footer.version.modalUpdateNow")),1))],8,iP)):(x(),R("a",{key:1,href:s.releaseNotesUrl(n.available),class:"btn btn-primary"},F(t.$t("footer.version.modalDownload")),9,lP))])])])])])]))])}const uP=ae($6,[["render",cP],["__scopeId","data-v-66915926"]]);var uo={};(function t(e,n,r,i){var s=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL);function o(){}function a($){var P=n.exports.Promise,Q=P!==void 0?P:e.Promise;return typeof Q=="function"?new Q($):($(o,o),null)}var l=function(){var $=Math.floor(16.666666666666668),P,Q,U={},X=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(P=function(oe){var ue=Math.random();return U[ue]=requestAnimationFrame(function ce(de){X===de||X+$-1(bt("data-v-d8707b23"),t=t(),yt(),t),_P={key:0},vP={class:"fw-bold mb-1 d-flex"},bP=dd(()=>v("shopicon-regular-heart",{class:"title-icon text-primary d-inline-block me-1"},null,-1)),yP={class:"mb-3"},wP={class:"d-flex justify-content-center align-items-center flex-column flex-lg-row align-items-lg-baseline justify-content-lg-start"},EP=dd(()=>v("shopicon-regular-stars",{class:"me-1 d-inline-block"},null,-1)),TP={href:"https://evcc.io/sticker",target:"_blank",class:"small text-muted ms-lg-3"},CP={key:1},SP={class:"fw-bold mb-1"},kP={class:"mb-3"},AP={class:"d-flex justify-content-center align-items-center flex-column flex-lg-row align-items-lg-baseline justify-content-lg-start"},xP={target:"_blank",href:"https://github.com/sponsors/evcc-io",class:"btn btn-outline-primary mb-3 become-sponsor"},LP=dd(()=>v("shopicon-regular-heart",{class:"me-1 d-inline-block"},null,-1)),PP={class:"small text-muted text-center ms-lg-3"};function NP(t,e,n,r,i,s){return n.sponsor?(x(),R("div",_P,[v("p",vP,[bP,Le(" "+F(t.$t("footer.sponsor.titleSponsor")),1)]),v("p",yP,F(t.$t("footer.sponsor.thanks",{sponsor:n.sponsor})),1),v("div",wP,[v("button",{ref:"confetti",class:"btn btn btn-outline-primary mb-2 confetti-button bg-evcc rounded",onClick:e[0]||(e[0]=(...o)=>s.surprise&&s.surprise(...o))},[EP,Le(" "+F(t.$t("footer.sponsor.confetti")),1)],512),v("a",TP,F(t.$t("footer.sponsor.sticker")),1)])])):(x(),R("div",CP,[v("p",SP,F(t.$t("footer.sponsor.titleNoSponsor")),1),v("p",kP,F(t.$t("footer.sponsor.supportUs")),1),v("div",AP,[v("a",xP,[LP,Le(" "+F(t.$t("footer.sponsor.becomeSponsor")),1)]),v("div",PP,F(t.$t("footer.sponsor.confettiPromise")),1)])]))}const MP=ae(gP,[["render",NP],["__scopeId","data-v-d8707b23"]]);var IP='';class OP extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=IP}}window.customElements.define("shopicon-regular-coinjar",OP);var $P='';class DP extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=$P}}window.customElements.define("shopicon-regular-receivepayment",DP);var RP='';class VP extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=RP}}window.customElements.define("shopicon-regular-eco1",VP);const FP={name:"SavingsTile",components:{AnimatedNumber:ri},props:{title:String,icon:String,value:[String,Number],valueFmt:Function,animationDuration:Number,unit:String,sub1:String,sub2:String}},qP=t=>(bt("data-v-b7d590a3"),t=t(),yt(),t),HP={class:"flex-shrink-1 d-flex mb-4 mb-lg-0 align-items-center align-items-lg-start"},jP={key:0,class:"tile-icon"},zP={key:1,class:"tile-icon"},BP={key:2,class:"tile-icon"},UP={key:3,class:"tile-icon"},WP={key:4,class:"tile-icon"},QP={class:"ms-3 d-flex flex-grow-1 d-lg-block align-items-center justify-content-between"},KP={class:"my-0 fw-bold text-truncate"},YP={class:"d-flex align-items-baseline lh-sm"},GP={class:"fs-1"},ZP={key:1},XP={class:"ms-1 unit"},JP={class:"d-block mt-0 ms-3 ms-lg-0 text-end text-lg-start"},eN=qP(()=>v("br",null,null,-1));function tN(t,e,n,r,i,s){const o=le("AnimatedNumber");return x(),R("div",HP,[n.icon==="sun"?(x(),R("shopicon-regular-sun",jP)):be("",!0),n.icon==="coinjar"?(x(),R("shopicon-regular-coinjar",zP)):be("",!0),n.icon==="receivepayment"?(x(),R("shopicon-regular-receivepayment",BP)):be("",!0),n.icon==="car"?(x(),R("shopicon-regular-car3",UP)):be("",!0),n.icon==="eco"?(x(),R("shopicon-regular-eco1",WP)):be("",!0),v("div",QP,[v("div",null,[v("p",KP,F(n.title),1),v("strong",YP,[v("span",GP,[n.valueFmt?(x(),ve(o,{key:0,to:n.value,format:n.valueFmt,duration:n.animationDuration},null,8,["to","format","duration"])):(x(),R("span",ZP,F(n.value),1))]),v("span",XP,F(n.unit),1)])]),v("small",JP,[Le(F(n.sub1)+" ",1),eN,Le(" "+F(n.sub2),1)])])])}const p1=ae(FP,[["render",tN],["__scopeId","data-v-b7d590a3"]]),g1=od.create({baseURL:"https://api.evcc.io/v1/",headers:{Accept:"application/json"}});g1.interceptors.response.use(t=>t,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;return window.app.error({message:n}),Promise.reject(t)});const tm=10,nN={name:"LiveCommunity",components:{SavingsTile:p1},mixins:[Pt],props:{},data(){return{refresh:null,result:{},animationDuration:.5}},computed:{totalClients(){return this.result.totalClients},activeClients(){return this.result.activeClients},chargePower(){const{chargePower:t=0}=this.result;return t/1e3},greenShare(){const{chargePower:t,greenPower:e}=this.result;return t?100/t*e:0},greenEnergyMWh(){const{greenEnergy:t=0}=this.result;return t/1e3}},async mounted(){this.refresh=setInterval(this.update,tm*1e3),await this.update(),this.$nextTick(()=>{this.animationDuration=tm})},unmounted(){clearInterval(this.refresh)},methods:{async update(){try{const t=await g1.get("total");this.result=t.data||{}}catch(t){console.error(t)}},numberAnimationFmt(t){return this.fmtNumber(t,1)}}},rN={class:"d-block d-lg-flex mb-2 justify-content-between"};function iN(t,e,n,r,i,s){const o=le("SavingsTile");return x(),R("div",rN,[ne(o,{class:"text-accent2",icon:"car",title:t.$t("footer.community.power"),value:s.chargePower,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"kW",sub1:t.$t("footer.community.powerSub1",{totalClients:s.totalClients,activeClients:s.activeClients}),sub2:t.$t("footer.community.powerSub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"]),ne(o,{class:"text-accent1",icon:"sun",title:t.$t("footer.community.greenShare"),value:s.greenShare,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"%",sub1:t.$t("footer.community.greenShareSub1"),sub2:t.$t("footer.community.greenShareSub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"]),ne(o,{class:"text-accent3",icon:"eco",title:t.$t("footer.community.greenEnergy"),value:s.greenEnergyMWh,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"MWh",sub1:t.$t("footer.community.greenEnergySub1"),sub2:t.$t("footer.community.greenEnergySub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"])])}const sN=ae(nN,[["render",iN]]);function oN(t){return t.replace(/\*\*(.*)\*\*/gim,"$1").replace(/\*(.*)\*/gim,"$1").replace(/`(.*)`/gim,"
$1
").trim()}const aN={name:"TelemetrySettings",props:{sponsor:String},data(){return{enabled:!1,error:null}},async mounted(){await this.update()},methods:{async change(t){try{this.error=null;const e=await ot.post(`settings/telemetry/${t.target.checked}`);this.enabled=e.data.result}catch(e){e.response&&(this.error=oN("**Error:** "+e.response.data.error),this.enabled=!1)}},async update(){try{const t=await ot.get("settings/telemetry");this.enabled=t.data.result}catch(t){console.error(t)}}}},lN={class:"form-check form-switch my-3"},cN=["disabled"],uN={class:"form-check-label"},dN={for:"telemetryEnabled"},fN={href:"https://docs.evcc.io/docs/guides/setup/#telemetry--community-daten",target:"_blank"},hN={key:1},mN=["innerHTML"];function pN(t,e,n,r,i,s){const o=le("i18n-t");return x(),R("div",lN,[Kt(v("input",{id:"telemetryEnabled","onUpdate:modelValue":e[0]||(e[0]=a=>i.enabled=a),class:"form-check-input",type:"checkbox",role:"switch",disabled:!n.sponsor,onChange:e[1]||(e[1]=(...a)=>s.change&&s.change(...a))},null,40,cN),[[oE,i.enabled]]),v("div",uN,[v("label",dN,[Le(F(t.$t("footer.telemetry.optIn"))+" ",1),n.sponsor?(x(),ve(o,{key:0,tag:"span",keypath:"footer.telemetry.optInMoreDetails"},{default:Je(()=>[v("a",fN,F(t.$t("footer.telemetry.optInMoreDetailsLink")),1)]),_:1})):(x(),R("span",hN,F(t.$t("footer.telemetry.optInSponsorship")),1))]),i.error?(x(),R("div",{key:0,class:"errorMessage my-1 text-danger",innerHTML:i.error},null,8,mN)):be("",!0)])])}const gN=ae(aN,[["render",pN],["__scopeId","data-v-af252ca6"]]),_N={name:"Savings",components:{Sponsor:MP,SavingsTile:p1,LiveCommunity:sN,TelemetrySettings:gN},mixins:[Pt],props:{selfConsumptionPercent:Number,since:{type:Number,default:0},sponsor:String,amount:{type:Number,default:0},effectivePrice:{type:Number,default:0},totalCharged:{type:Number,default:0},gridCharged:{type:Number,default:0},selfConsumptionCharged:{type:Number,default:0},gridPrice:{type:Number},feedInPrice:{type:Number},currency:String},data(){return{communityView:!1,telemetryEnabled:!1}},computed:{percent(){return Math.round(this.selfConsumptionPercent)||0},effectivePriceFormatted(){const[t,e]=this.fmtPricePerKWh(this.effectivePrice,this.currency).split(" ");return{value:t,unit:e}},startDate(){return new Date(this.since*1e3)}},methods:{showCommunity(){this.communityView=!0},showMyData(){this.communityView=!1}}},vN={class:"btn btn-link pe-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end","data-bs-toggle":"modal","data-bs-target":"#savingsModal"},bN={class:"d-inline d-sm-none"},yN={class:"d-none d-sm-inline"},wN=v("shopicon-regular-sun",{class:"ms-2 text-evcc"},null,-1),EN={id:"savingsModal",ref:"modal",class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},TN={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},CN={class:"modal-content"},SN={class:"modal-header"},kN={class:"modal-title"},AN=v("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),xN={class:"modal-body"},LN={class:"nav nav-tabs"},PN={class:"nav-item"},NN={class:"nav-item"},MN={key:0,class:"my-4"},IN={class:"d-block d-lg-flex mb-2 justify-content-between"},ON={class:"my-3 lh-2"},$N={key:1,class:"my-4"};function DN(t,e,n,r,i,s){const o=le("SavingsTile"),a=le("LiveCommunity"),l=le("TelemetrySettings"),c=le("Sponsor");return x(),R("div",null,[v("button",vN,[v("span",bN,F(t.$t("footer.savings.footerShort",{percent:s.percent})),1),v("span",yN,F(t.$t("footer.savings.footerLong",{percent:s.percent})),1),wN]),(x(),ve(so,{to:"body"},[v("div",EN,[v("div",TN,[v("div",CN,[v("div",SN,[v("h5",kN,F(t.$t("footer.savings.modalTitle")),1),AN]),v("div",xN,[v("ul",LN,[v("li",PN,[v("a",{class:Ne(["nav-link",{active:!i.communityView}]),href:"#",onClick:e[0]||(e[0]=js((...u)=>s.showMyData&&s.showMyData(...u),["prevent"]))},F(t.$t("footer.savings.tabTitle")),3)]),v("li",NN,[v("a",{class:Ne(["nav-link",{active:i.communityView}]),href:"#",onClick:e[1]||(e[1]=js((...u)=>s.showCommunity&&s.showCommunity(...u),["prevent"]))},F(t.$t("footer.community.tabTitle")),3)])]),i.communityView?(x(),R("div",$N,[ne(a),ne(l,{sponsor:n.sponsor},null,8,["sponsor"])])):(x(),R("div",MN,[v("div",IN,[ne(o,{class:"text-accent1",icon:"sun",title:t.$t("footer.savings.percentTitle"),value:s.percent,unit:"%",sub1:t.$t("footer.savings.percentSelf",{self:t.fmtKw(n.selfConsumptionCharged*1e3,!0,!1)}),sub2:t.$t("footer.savings.percentGrid",{grid:t.fmtKw(n.gridCharged*1e3,!0,!1)})},null,8,["title","value","sub1","sub2"]),ne(o,{class:"text-accent2",icon:"receivepayment",title:t.$t("footer.savings.priceTitle"),value:s.effectivePriceFormatted.value,unit:s.effectivePriceFormatted.unit,sub1:t.$t("footer.savings.priceFeedIn",{feedInPrice:t.fmtPricePerKWh(n.feedInPrice,n.currency)}),sub2:t.$t("footer.savings.priceGrid",{gridPrice:t.fmtPricePerKWh(n.gridPrice,n.currency)})},null,8,["title","value","unit","sub1","sub2"]),ne(o,{class:"text-accent3",icon:"coinjar",title:t.$t("footer.savings.savingsTitle"),value:t.fmtMoney(n.amount,n.currency),unit:t.fmtCurrencySymbol(n.currency),sub1:t.$t("footer.savings.savingsComparedToGrid"),sub2:t.$t("footer.savings.savingsTotalEnergy",{total:t.fmtKw(n.totalCharged*1e3,!0,!1)})},null,8,["title","value","unit","sub1","sub2"])]),v("p",ON,[v("small",null,F(t.$t("footer.savings.since",{since:t.fmtDayMonthYear(s.startDate)})),1)])])),ne(c,{sponsor:n.sponsor},null,8,["sponsor"])])])])],512)]))])}const RN=ae(_N,[["render",DN]]),VN={name:"Footer",components:{Version:uP,Savings:RN},props:{version:Object,sponsor:String,savings:Object},methods:{toggleHiddenFeatures(){const t=`\u{1F9EA} Experimentelle UI-Elemente ${this.$hiddenFeatures?"deaktivieren":"aktivieren"}`;window.confirm(t)&&(window.localStorage.hidden_features=!this.$hiddenFeatures,window.location.reload())}}},FN={class:"footer"},qN={class:"container py-2"},HN={class:"d-flex justify-content-between"};function jN(t,e,n,r,i,s){const o=le("Version"),a=le("Savings");return x(),R("footer",FN,[v("div",qN,[v("div",HN,[ne(o,an(Qt(n.version)),null,16),ne(a,$t(n.savings,{sponsor:n.sponsor}),null,16,["sponsor"])])])])}const zN=ae(VN,[["render",jN]]),BN={name:"Site",components:{Loadpoints:d6,Energyflow:Wh,Footer:zN,Notifications:nS,TopNavigation:f1,Vehicles:y6},mixins:[Pt,ja],props:{loadpoints:Array,notifications:Array,offline:Boolean,gridConfigured:Boolean,gridPower:Number,homePower:Number,pvConfigured:Boolean,pvPower:Number,batteryConfigured:Boolean,batteryPower:Number,batterySoC:Number,gridCurrents:Array,prioritySoC:Number,siteTitle:String,vehicles:Array,auth:Object,currency:String,savingsAmount:Number,savingsEffectivePrice:Number,savingsGridCharged:Number,savingsSelfConsumptionCharged:Number,savingsSelfConsumptionPercent:Number,savingsSince:Number,savingsTotalCharged:Number,tariffFeedIn:Number,tariffGrid:Number,availableVersion:String,releaseNotes:String,hasUpdater:Boolean,uploadMessage:String,uploadProgress:Number,sponsor:String},computed:{energyflow:function(){return this.collectProps(Wh)},activeLoadpoints:function(){return this.loadpoints.filter(t=>t.chargePower>0)},activeLoadpointsCount:function(){return this.activeLoadpoints.length},vehicleIcons:function(){return this.activeLoadpoints.map(t=>t.vehicleIcon||"car")},loadpointsPower:function(){return this.loadpoints.reduce((t,e)=>(t+=e.chargePower||0,t),0)},topNavigation:function(){return{vehicleLogins:this.auth?this.auth.vehicles:{}}},showParkingLot:function(){return!1},footer:function(){return{version:{installed:window.evcc.version,commit:window.evcc.commit,available:this.availableVersion,releaseNotes:this.releaseNotes,hasUpdater:this.hasUpdater,uploadMessage:this.uploadMessage,uploadProgress:this.uploadProgress},sponsor:this.sponsor,savings:{since:this.savingsSince,totalCharged:this.savingsTotalCharged,gridCharged:this.savingsGridCharged,selfConsumptionCharged:this.savingsSelfConsumptionCharged,amount:this.savingsAmount,effectivePrice:this.savingsEffectivePrice,selfConsumptionPercent:this.savingsSelfConsumptionPercent,gridPrice:this.tariffGrid,feedInPrice:this.tariffFeedIn,currency:this.currency}}}}},UN={class:"d-flex flex-column site"},WN={class:"container px-4 top-area"},QN={class:"d-flex justify-content-between align-items-center my-3"},KN={class:"d-block my-0"},YN={class:"d-flex"},GN={class:"d-flex flex-column justify-content-between content-area"};function ZN(t,e,n,r,i,s){const o=le("Notifications"),a=le("TopNavigation"),l=le("Energyflow"),c=le("Loadpoints"),u=le("Vehicles"),f=le("Footer");return x(),R("div",UN,[v("div",WN,[v("div",QN,[v("h1",KN,F(n.siteTitle||"evcc"),1),v("div",YN,[ne(o,{notifications:n.notifications,class:"me-2"},null,8,["notifications"]),ne(a,an(Qt(s.topNavigation)),null,16)])]),ne(l,an(Qt(s.energyflow)),null,16)]),v("div",GN,[ne(c,{class:"mt-1 mt-sm-2 flex-grow-1",loadpoints:n.loadpoints,vehicles:n.vehicles},null,8,["loadpoints","vehicles"]),s.showParkingLot?(x(),ve(u,{key:0})):be("",!0),ne(f,an(Qt(s.footer)),null,16)])])}const XN=ae(BN,[["render",ZN],["__scopeId","data-v-48d95d84"]]);var JN='';class eM extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=JN}}window.customElements.define("shopicon-regular-car1",eM);const tM={name:"StartupError",mixins:[ja],props:{fatal:Array,config:String,file:String,line:Number,offline:Boolean},computed:{errors(){return this.fatal||[]}},methods:{shutdown(){ot.post("shutdown")},scrollTo(t){const e=t.currentTarget.getAttribute("href").substring(1),n=document.getElementById(e);console.log({id:e,el:n}),n&&n.scrollIntoView({behavior:"smooth",block:"center"})}}},_1=t=>(bt("data-v-34002e97"),t=t(),yt(),t),nM={class:"container px-4"},rM={class:"d-flex justify-content-between align-items-center my-3"},iM={class:"d-block mt-0 d-flex"},sM=_1(()=>v("shopicon-regular-car1",{size:"m",class:"ms-2 icon"},null,-1)),oM={class:"row mb-4"},aM={class:"fs-6 mb-3"},lM={href:"https://github.com/evcc-io/evcc/discussions"},cM={class:"row mb-4"},uM={class:"mb-3"},dM={class:"d-md-flex justify-content-between"},fM={class:"me-md-4"},hM={class:"d-block"},mM=["href"],pM=["disabled"],gM={key:0},_M=_1(()=>v("div",{class:"my-2"},null,-1)),vM={class:"py-2 text-muted config"},bM=["id"];function yM(t,e,n,r,i,s){const o=le("i18n-t");return x(),R("div",nM,[v("div",rM,[v("h1",iM,[Le(F(t.$t("startupError.title"))+" ",1),sM])]),v("div",oM,[v("code",aM,[(x(!0),R(Ae,null,Ze(s.errors,(a,l)=>(x(),R("div",{key:l},F(a),1))),128))]),ne(o,{tag:"p",keypath:"startupError.description"},{default:Je(()=>[v("a",lM,F(t.$t("startupError.discussions")),1)]),_:1}),v("p",null,[v("em",null,F(t.$t("startupError.hint")),1)])]),v("div",cM,[v("h5",uM,F(t.$t("startupError.configuration")),1),v("div",dM,[v("p",fM,[v("span",hM,[Le(F(t.$t("startupError.configFile"))+" ",1),v("code",null,F(n.file),1)]),n.line?(x(),ve(o,{key:0,tag:"span",keypath:"startupError.lineError"},{default:Je(()=>[v("a",{href:`#line${n.line}`,onClick:e[0]||(e[0]=js((...a)=>s.scrollTo&&s.scrollTo(...a),["prevent"]))},F(t.$t("startupError.lineErrorLink",[n.line])),9,mM)]),_:1})):be("",!0),Le(" "+F(t.$t("startupError.fixAndRestart")),1)]),v("p",null,[v("button",{class:"btn btn-primary text-nowrap",type:"button",disabled:n.offline,onClick:e[1]||(e[1]=(...a)=>s.shutdown&&s.shutdown(...a))},F(t.$t("startupError.restartButton")),9,pM)])]),n.config?(x(),R("code",gM,[_M,v("div",vM,[(x(!0),R(Ae,null,Ze(n.config.split(` -`),(a,l)=>(x(),R("div",{id:`line${l+1}`,key:l,class:Ne(["m-0 px-2",{highlighted:n.line===l+1}])},F(a)+"\xA0 ",11,bM))),128))])])):be("",!0)])])}const wM=ae(tM,[["render",yM],["__scopeId","data-v-34002e97"]]);var EM='';class TM extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=EM}}window.customElements.define("shopicon-regular-cloud",TM);const CM={name:"OfflineIndicator",methods:{reload(){window.location.reload()}}},SM={class:"fixed-bottom alert alert-secondary d-flex justify-content-center align-items-center mb-0 rounded-0",role:"alert"},kM=v("shopicon-regular-cloud",{class:"me-2"},null,-1);function AM(t,e,n,r,i,s){return x(),R("div",SM,[kM,Le(" "+F(t.$t("offline.message"))+" ",1),v("button",{class:"btn btn-sm btn-link text-dark",onClick:e[0]||(e[0]=(...o)=>s.reload&&s.reload(...o))},F(t.$t("offline.reload")),1)])}const xM=ae(CM,[["render",AM]]),LM={name:"Main",components:{Site:XN,StartupError:wM,OfflineIndicator:xM},props:{notifications:Array,offline:Boolean},data:function(){return dc},computed:{startupErrors:function(){var t;return((t=this.state.fatal)==null?void 0:t.length)>0}}};function PM(t,e,n,r,i,s){const o=le("OfflineIndicator"),a=le("StartupError"),l=le("Site");return x(),R("div",null,[n.offline?(x(),ve(o,{key:0})):be("",!0),s.startupErrors?(x(),ve(a,$t({key:1},t.state,{offline:n.offline}),null,16,["offline"])):(x(),ve(l,$t({key:2,notifications:n.notifications},t.state),null,16,["notifications"]))])}const NM=ae(LM,[["render",PM]]);var MM='';class IM extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=MM}}window.customElements.define("shopicon-bold-arrowback",IM);const OM={name:"ChargingSessions",components:{TopNavigation:f1},mixins:[Pt],props:{notifications:Array},data(){return{sessions:[]}},computed:{sessionsByMonthAndLoadpoint(){const t=this.sessions.map(n=>{const r=n.loadpoint||this.$t("main.loadpoint.fallbackName"),i=n.vehicle||this.$t("main.vehicle.unknown");return{...n,loadpoint:r,vehicle:i}}),e=this.groupByMonth(t);return Object.entries(e).map(([n,r])=>{const i=Object.entries(this.groupByLoadpoint(r)).map(([s,o])=>{const a=this.totalKWh(o);return{name:s,total:a,sessions:o}});return{month:n,loadpoints:i}})}},mounted(){this.loadSessions()},methods:{async loadSessions(){var e;const t=await ot.get("sessions");this.sessions=(e=t.data)==null?void 0:e.result},groupByMonth(t){return t.reduce((e,n)=>{const r=new Date(n.finished),i=`${r.getFullYear()}.${r.getMonth()}`;return e[i]||(e[i]=[]),e[i].push(n),e},{})},groupByLoadpoint(t){return t.reduce((e,n)=>{const r=n.loadpoint;return e[r]||(e[r]=[]),e[r].push(n),e},{})},totalKWh(t){return t.reduce((e,n)=>e+n.chargedEnergy,0)*1e3},groupedKWh(t,e){const n=e.reduce((i,s)=>{const o=s[t];return i[o]||(i[o]=0),i[o]+=s.chargedEnergy*1e3,i},{}),r=Object.entries(n).map(([i,s])=>({name:i,energy:s}));return r.length>=2?r:[]},formatGroupHeadline(t){const e=new Date,[n,r]=t.split(".");return e.setMonth(r),e.setFullYear(n),this.fmtMonthYear(e)}}},fd=t=>(bt("data-v-c2d84bb6"),t=t(),yt(),t),$M={class:"container px-4"},DM={class:"d-flex justify-content-between align-items-center py-3"},RM={class:"mb-1 pt-1 d-flex text-nowrap"},VM=fd(()=>v("shopicon-bold-arrowback",{size:"s",class:"back"},null,-1)),FM={class:"row"},qM={class:"col-12"},HM={class:"mb-4"},jM={class:"btn btn-outline-secondary text-nowrap my-2",href:"./api/sessions?format=csv",download:"sessions.csv"},zM={class:"mx-2"},BM={class:"d-flex align-items-baseline my-5"},UM={class:"me-4 mb-0"},WM={class:"d-flex align-items-baseline mb-3"},QM={class:"me-4 mb-0"},KM={class:"large"},YM={class:"breakdown text-gray d-sm-flex flex-sm-wrap ps-0 mb-2"},GM={class:"table-responsive my-3"},ZM={class:"table"},XM={scope:"col"},JM={scope:"col",class:"text-end ps-sm-4 pe-md-5"},eI={scope:"col",class:"ps-3 ps-md-4 ps-md-5"},tI={class:"text-nowrap text-end ps-sm-4 pe-md-5"},nI={class:"text-nowrap ps-3 ps-md-4 ps-md-5"},rI={class:"d-block d-sm-none"},iI=fd(()=>v("br",null,null,-1)),sI={class:"d-none d-sm-block"},oI=fd(()=>v("br",null,null,-1));function aI(t,e,n,r,i,s){const o=le("router-link"),a=le("TopNavigation");return x(),R("div",$M,[v("header",DM,[v("h1",RM,[ne(o,{class:"dropdown-item mx-2 me-2",to:"/"},{default:Je(()=>[VM]),_:1}),Le(" "+F(t.$t("sessions.title")),1)]),ne(a)]),v("div",FM,[v("main",qM,[v("div",HM,[v("a",jM,F(t.$t("sessions.downloadCsv")),1)]),(x(!0),R(Ae,null,Ze(s.sessionsByMonthAndLoadpoint,l=>(x(),R("div",{key:l.month},[v("div",zM,[v("div",BM,[v("h2",UM,F(s.formatGroupHeadline(l.month)),1)]),(x(!0),R(Ae,null,Ze(l.loadpoints,c=>(x(),R("div",{key:c.name},[v("div",WM,[v("h3",QM,F(c.name),1),v("div",KM,F(t.fmtKWh(c.total)),1)]),v("ul",YM,[(x(!0),R(Ae,null,Ze(s.groupedKWh("vehicle",c.sessions),(u,f)=>(x(),R("li",{key:f,class:"breakdown-item"},F(u.name)+": "+F(t.fmtKWh(u.energy)),1))),128))]),v("div",GM,[v("table",ZM,[v("thead",null,[v("tr",null,[v("th",XM,F(t.$t("sessions.vehicle")),1),v("th",JM,F(t.$t("sessions.energy")),1),v("th",eI,F(t.$t("sessions.date")),1)])]),v("tbody",null,[(x(!0),R(Ae,null,Ze(c.sessions,(u,f)=>(x(),R("tr",{key:f},[v("td",null,F(u.vehicle),1),v("td",tI,F(t.fmtKWh(u.chargedEnergy*1e3)),1),v("td",nI,[v("span",rI,[Le(F(t.fmtFullDateTime(new Date(u.created),!0))+" ",1),iI,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!0)),1)]),v("span",sI,[Le(F(t.fmtFullDateTime(new Date(u.created),!1))+" ",1),oI,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!1)),1)])])]))),128))])])])]))),128))])]))),128))])])])}const lI=ae(OM,[["render",aI],["__scopeId","data-v-c2d84bb6"]]),cI=e4({history:gT(),routes:[{path:"/",component:NM,props:!0},{path:"/sessions",component:lI,props:!0}]});/*! +`),(a,l)=>(x(),R("div",{id:`line${l+1}`,key:l,class:Ne(["m-0 px-2",{highlighted:n.line===l+1}])},F(a)+"\xA0 ",11,bM))),128))])])):be("",!0)])])}const wM=ae(tM,[["render",yM],["__scopeId","data-v-34002e97"]]);var EM='';class TM extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=EM}}window.customElements.define("shopicon-regular-cloud",TM);const CM={name:"OfflineIndicator",methods:{reload(){window.location.reload()}}},SM={class:"fixed-bottom alert alert-secondary d-flex justify-content-center align-items-center mb-0 rounded-0",role:"alert"},kM=v("shopicon-regular-cloud",{class:"me-2"},null,-1);function AM(t,e,n,r,i,s){return x(),R("div",SM,[kM,Le(" "+F(t.$t("offline.message"))+" ",1),v("button",{class:"btn btn-sm btn-link text-dark",onClick:e[0]||(e[0]=(...o)=>s.reload&&s.reload(...o))},F(t.$t("offline.reload")),1)])}const xM=ae(CM,[["render",AM]]),LM={name:"Main",components:{Site:XN,StartupError:wM,OfflineIndicator:xM},props:{notifications:Array,offline:Boolean},data:function(){return dc},computed:{startupErrors:function(){var t;return((t=this.state.fatal)==null?void 0:t.length)>0}}};function PM(t,e,n,r,i,s){const o=le("OfflineIndicator"),a=le("StartupError"),l=le("Site");return x(),R("div",null,[n.offline?(x(),ve(o,{key:0})):be("",!0),s.startupErrors?(x(),ve(a,$t({key:1},t.state,{offline:n.offline}),null,16,["offline"])):(x(),ve(l,$t({key:2,notifications:n.notifications},t.state),null,16,["notifications"]))])}const NM=ae(LM,[["render",PM]]);var MM='';class IM extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=MM}}window.customElements.define("shopicon-bold-arrowback",IM);const OM={name:"ChargingSessions",components:{TopNavigation:f1},mixins:[Pt],props:{notifications:Array},data(){return{sessions:[]}},computed:{sessionsByMonthAndLoadpoint(){const t=this.sessions.map(n=>{const r=n.loadpoint||this.$t("main.loadpoint.fallbackName"),i=n.vehicle||this.$t("main.vehicle.unknown");return{...n,loadpoint:r,vehicle:i}}),e=this.groupByMonth(t);return Object.entries(e).map(([n,r])=>{const i=Object.entries(this.groupByLoadpoint(r)).map(([s,o])=>{const a=this.totalKWh(o);return{name:s,total:a,sessions:o}});return{month:n,loadpoints:i}})}},mounted(){this.loadSessions()},methods:{async loadSessions(){var e;const t=await ot.get("sessions");this.sessions=(e=t.data)==null?void 0:e.result},groupByMonth(t){return t.reduce((e,n)=>{const r=new Date(n.finished),i=`${r.getFullYear()}.${r.getMonth()}`;return e[i]||(e[i]=[]),e[i].push(n),e},{})},groupByLoadpoint(t){return t.reduce((e,n)=>{const r=n.loadpoint;return e[r]||(e[r]=[]),e[r].push(n),e},{})},totalKWh(t){return t.reduce((e,n)=>e+n.chargedEnergy,0)*1e3},groupedKWh(t,e){const n=e.reduce((i,s)=>{const o=s[t];return i[o]||(i[o]=0),i[o]+=s.chargedEnergy*1e3,i},{}),r=Object.entries(n).map(([i,s])=>({name:i,energy:s}));return r.length>=2?r:[]},formatGroupHeadline(t){const e=new Date,[n,r]=t.split(".");return e.setMonth(r),e.setFullYear(n),this.fmtMonthYear(e)}}},fd=t=>(bt("data-v-c2d84bb6"),t=t(),yt(),t),$M={class:"container px-4"},DM={class:"d-flex justify-content-between align-items-center py-3"},RM={class:"mb-1 pt-1 d-flex text-nowrap"},VM=fd(()=>v("shopicon-bold-arrowback",{size:"s",class:"back"},null,-1)),FM={class:"row"},qM={class:"col-12"},HM={class:"mb-4"},jM={class:"btn btn-outline-secondary text-nowrap my-2",href:"./api/sessions?format=csv",download:"sessions.csv"},zM={class:"mx-2"},BM={class:"d-flex align-items-baseline my-5"},UM={class:"me-4 mb-0"},WM={class:"d-flex align-items-baseline mb-3"},QM={class:"me-4 mb-0"},KM={class:"large"},YM={class:"breakdown text-gray d-sm-flex flex-sm-wrap ps-0 mb-2"},GM={class:"table-responsive my-3"},ZM={class:"table"},XM={scope:"col"},JM={scope:"col",class:"text-end ps-sm-4 pe-md-5"},eI={scope:"col",class:"ps-3 ps-md-4 ps-md-5"},tI={class:"text-nowrap text-end ps-sm-4 pe-md-5"},nI={class:"text-nowrap ps-3 ps-md-4 ps-md-5"},rI={class:"d-block d-sm-none"},iI=fd(()=>v("br",null,null,-1)),sI={class:"d-none d-sm-block"},oI=fd(()=>v("br",null,null,-1));function aI(t,e,n,r,i,s){const o=le("router-link"),a=le("TopNavigation");return x(),R("div",$M,[v("header",DM,[v("h1",RM,[ne(o,{class:"dropdown-item mx-2 me-2",to:"/"},{default:Je(()=>[VM]),_:1}),Le(" "+F(t.$t("sessions.title")),1)]),ne(a)]),v("div",FM,[v("main",qM,[v("div",HM,[v("a",jM,F(t.$t("sessions.downloadCsv")),1)]),(x(!0),R(Ae,null,Ze(s.sessionsByMonthAndLoadpoint,l=>(x(),R("div",{key:l.month},[v("div",zM,[v("div",BM,[v("h2",UM,F(s.formatGroupHeadline(l.month)),1)]),(x(!0),R(Ae,null,Ze(l.loadpoints,c=>(x(),R("div",{key:c.name},[v("div",WM,[v("h3",QM,F(c.name),1),v("div",KM,F(t.fmtKWh(c.total)),1)]),v("ul",YM,[(x(!0),R(Ae,null,Ze(s.groupedKWh("vehicle",c.sessions),(u,f)=>(x(),R("li",{key:f,class:"breakdown-item"},F(u.name)+": "+F(t.fmtKWh(u.energy)),1))),128))]),v("div",GM,[v("table",ZM,[v("thead",null,[v("tr",null,[v("th",XM,F(t.$t("sessions.vehicle")),1),v("th",JM,F(t.$t("sessions.energy")),1),v("th",eI,F(t.$t("sessions.date")),1)])]),v("tbody",null,[(x(!0),R(Ae,null,Ze(c.sessions,(u,f)=>(x(),R("tr",{key:f},[v("td",null,F(u.vehicle),1),v("td",tI,F(t.fmtKWh(u.chargedEnergy*1e3)),1),v("td",nI,[v("span",rI,[Le(F(t.fmtFullDateTime(new Date(u.created),!0))+" ",1),iI,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!0)),1)]),v("span",sI,[Le(F(t.fmtFullDateTime(new Date(u.created),!1))+" ",1),oI,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!1)),1)])])]))),128))])])])]))),128))])]))),128))])])])}const lI=ae(OM,[["render",aI],["__scopeId","data-v-c2d84bb6"]]),cI=eC({history:gT(),routes:[{path:"/",component:NM,props:!0},{path:"/sessions",component:lI,props:!0}]});/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. @@ -67,4 +67,4 @@ var V1=Object.defineProperty;var F1=(t,e,n)=>e in t?V1(t,e,{enumerable:!0,config * vue-i18n v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const EO="9.2.2";function TO(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ns().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ns().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1)}iO.__EXTEND_POINT__;let N1=Pe.__EXTEND_POINT__;const wt=()=>++N1,Xe={UNEXPECTED_RETURN_TYPE:N1,INVALID_ARGUMENT:wt(),MUST_BE_CALL_SETUP_TOP:wt(),NOT_INSLALLED:wt(),NOT_AVAILABLE_IN_LEGACY_MODE:wt(),REQUIRED_VALUE:wt(),INVALID_VALUE:wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:wt(),NOT_INSLALLED_WITH_PROVIDE:wt(),UNEXPECTED_ERROR:wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:wt(),BRIDGE_SUPPORT_VUE_2_ONLY:wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:wt(),__EXTEND_POINT__:wt()};function tt(t,...e){return Ua(t,null,void 0)}const qc=Sr("__transrateVNode"),Hc=Sr("__datetimeParts"),jc=Sr("__numberParts"),M1=Sr("__setPluralRules");Sr("__intlifyMeta");const I1=Sr("__injectWithOption");function zc(t){if(!Ve(t))return t;for(const e in t)if(!!hd(t,e))if(!e.includes("."))Ve(t[e])&&zc(t[e]);else{const n=e.split("."),r=n.length-1;let i=t;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||{},Ms(c,o[l])):Ms(c,o)}else te(a)&&Ms(JSON.parse(a),o)}),i==null&&s)for(const a in o)hd(o,a)&&zc(o[a]);return o}const Lo=t=>!Ve(t)||Re(t);function Ms(t,e){if(Lo(t)||Lo(e))throw tt(Xe.INVALID_VALUE);for(const n in t)hd(t,n)&&(Lo(t[n])||Lo(e[n])?e[n]=t[n]:Ms(t[n],e[n]))}function O1(t){return t.type}function $1(t,e,n){let r=Ve(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=Qa(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{t.mergeLocaleMessage(s,r[s])});{if(Ve(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Ve(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function wm(t){return ne(oo,null,t,0)}const Em="__INTLIFY_META__";let Tm=0;function Cm(t){return(e,n,r,i)=>t(n,r,Pn()||void 0,i)}const CO=()=>{const t=Pn();let e=null;return t&&(e=O1(t)[Em])?{[Em]:e}:null};function _d(t={},e){const{__root:n}=t,r=n===void 0;let i=Ce(t.inheritLocale)?t.inheritLocale:!0;const s=cn(n&&i?n.locale.value:te(t.locale)?t.locale:fo),o=cn(n&&i?n.fallbackLocale.value:te(t.fallbackLocale)||Re(t.fallbackLocale)||ge(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),a=cn(Qa(s.value,t)),l=cn(ge(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),c=cn(ge(t.numberFormats)?t.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:Ce(t.missingWarn)||vr(t.missingWarn)?t.missingWarn:!0,f=n?n.fallbackWarn:Ce(t.fallbackWarn)||vr(t.fallbackWarn)?t.fallbackWarn:!0,d=n?n.fallbackRoot:Ce(t.fallbackRoot)?t.fallbackRoot:!0,h=!!t.fallbackFormat,w=Ke(t.missing)?t.missing:null,g=Ke(t.missing)?Cm(t.missing):null,E=Ke(t.postTranslation)?t.postTranslation:null,_=n?n.warnHtmlMessage:Ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter;const S=n?n.modifiers:ge(t.modifiers)?t.modifiers:{};let b=t.pluralRules||n&&n.pluralRules,y;y=(()=>{r&&fm(null);const I={version:EO,locale:s.value,fallbackLocale:o.value,messages:a.value,modifiers:S,pluralRules:b,missing:g===null?void 0:g,missingWarn:u,fallbackWarn:f,fallbackFormat:h,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:_,escapeParameter:T,messageResolver:t.messageResolver,__meta:{framework:"vue"}};I.datetimeFormats=l.value,I.numberFormats=c.value,I.__datetimeFormatters=ge(y)?y.__datetimeFormatters:void 0,I.__numberFormatters=ge(y)?y.__numberFormatters:void 0;const D=pO(I);return r&&fm(D),D})(),hs(y,s.value,o.value);function L(){return[s.value,o.value,a.value,l.value,c.value]}const M=je({get:()=>s.value,set:I=>{s.value=I,y.locale=s.value}}),O=je({get:()=>o.value,set:I=>{o.value=I,y.fallbackLocale=o.value,hs(y,s.value,I)}}),z=je(()=>a.value),G=je(()=>l.value),J=je(()=>c.value);function re(){return Ke(E)?E:null}function $(I){E=I,y.postTranslation=I}function P(){return w}function Q(I){I!==null&&(g=Cm(I)),w=I,y.missing=g}const U=(I,D,ie,se,_e,ke)=>{L();let Te;if(__INTLIFY_PROD_DEVTOOLS__)try{dm(CO()),r||(y.fallbackContext=n?mO():void 0),Te=I(y)}finally{dm(null),r||(y.fallbackContext=void 0)}else Te=I(y);if(et(Te)&&Te===Wa){const[Be,zt]=D();return n&&d?se(n):_e(Be)}else{if(ke(Te))return Te;throw tt(Xe.UNEXPECTED_RETURN_TYPE)}};function X(...I){return U(D=>Reflect.apply(gm,null,[D,...I]),()=>Rc(...I),"translate",D=>Reflect.apply(D.t,D,[...I]),D=>D,D=>te(D))}function oe(...I){const[D,ie,se]=I;if(se&&!Ve(se))throw tt(Xe.INVALID_ARGUMENT);return X(D,ie,it({resolvedMessage:!0},se||{}))}function ue(...I){return U(D=>Reflect.apply(_m,null,[D,...I]),()=>Vc(...I),"datetime format",D=>Reflect.apply(D.d,D,[...I]),()=>cm,D=>te(D))}function ce(...I){return U(D=>Reflect.apply(bm,null,[D,...I]),()=>Fc(...I),"number format",D=>Reflect.apply(D.n,D,[...I]),()=>cm,D=>te(D))}function de(I){return I.map(D=>te(D)||et(D)||Ce(D)?wm(String(D)):D)}const he={normalize:de,interpolate:I=>I,type:"vnode"};function V(...I){return U(D=>{let ie;const se=D;try{se.processor=he,ie=Reflect.apply(gm,null,[se,...I])}finally{se.processor=null}return ie},()=>Rc(...I),"translate",D=>D[qc](...I),D=>[wm(D)],D=>Re(D))}function Z(...I){return U(D=>Reflect.apply(bm,null,[D,...I]),()=>Fc(...I),"number format",D=>D[jc](...I),()=>[],D=>te(D)||Re(D))}function j(...I){return U(D=>Reflect.apply(_m,null,[D,...I]),()=>Vc(...I),"datetime format",D=>D[Hc](...I),()=>[],D=>te(D)||Re(D))}function ee(I){b=I,y.pluralRules=b}function pe(I,D){const ie=te(D)?D:s.value,se=C(ie);return y.messageResolver(se,I)!==null}function ye(I){let D=null;const ie=y1(y,o.value,s.value);for(let se=0;se{i&&(s.value=I,y.locale=I,hs(y,s.value,o.value))}),ar(n.fallbackLocale,I=>{i&&(o.value=I,y.fallbackLocale=I,hs(y,s.value,o.value))}));const H={id:Tm,locale:M,fallbackLocale:O,get inheritLocale(){return i},set inheritLocale(I){i=I,I&&n&&(s.value=n.locale.value,o.value=n.fallbackLocale.value,hs(y,s.value,o.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:z,get modifiers(){return S},get pluralRules(){return b||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(I){u=I,y.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(I){f=I,y.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(I){d=I},get fallbackFormat(){return h},set fallbackFormat(I){h=I,y.fallbackFormat=h},get warnHtmlMessage(){return _},set warnHtmlMessage(I){_=I,y.warnHtmlMessage=I},get escapeParameter(){return T},set escapeParameter(I){T=I,y.escapeParameter=I},t:X,getLocaleMessage:C,setLocaleMessage:m,mergeLocaleMessage:p,getPostTranslationHandler:re,setPostTranslationHandler:$,getMissingHandler:P,setMissingHandler:Q,[M1]:ee};return H.datetimeFormats=G,H.numberFormats=J,H.rt=oe,H.te=pe,H.tm=fe,H.d=ue,H.n=ce,H.getDateTimeFormat=k,H.setDateTimeFormat=N,H.mergeDateTimeFormat=q,H.getNumberFormat=B,H.setNumberFormat=W,H.mergeNumberFormat=Y,H[I1]=t.__injectWithOption,H[qc]=V,H[Hc]=j,H[jc]=Z,H}function SO(t){const e=te(t.locale)?t.locale:fo,n=te(t.fallbackLocale)||Re(t.fallbackLocale)||ge(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=Ke(t.missing)?t.missing:void 0,i=Ce(t.silentTranslationWarn)||vr(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,s=Ce(t.silentFallbackWarn)||vr(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,o=Ce(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,l=ge(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,u=Ke(t.postTranslation)?t.postTranslation:void 0,f=te(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,d=!!t.escapeParameterHtml,h=Ce(t.sync)?t.sync:!0;let w=t.messages;if(ge(t.sharedMessages)){const y=t.sharedMessages;w=Object.keys(y).reduce((L,M)=>{const O=L[M]||(L[M]={});return it(O,y[M]),L},w||{})}const{__i18n:g,__root:E,__injectWithOption:_}=t,T=t.datetimeFormats,S=t.numberFormats,b=t.flatJson;return{locale:e,fallbackLocale:n,messages:w,flatJson:b,datetimeFormats:T,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:t.messageResolver,inheritLocale:h,__i18n:g,__root:E,__injectWithOption:_}}function Bc(t={},e){{const n=_d(SO(t)),r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return Ce(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ce(i)?!i:i},get silentFallbackWarn(){return Ce(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ce(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[s,o,a]=i,l={};let c=null,u=null;if(!te(s))throw tt(Xe.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:Re(o)?c=o:ge(o)&&(u=o),Re(a)?c=a:ge(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[s,o,a]=i,l={plural:1};let c=null,u=null;if(!te(s))throw tt(Xe.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:et(o)?l.plural=o:Re(o)?c=o:ge(o)&&(u=o),te(a)?l.locale=a:Re(a)?c=a:ge(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},te(i,s){return n.te(i,s)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,s){n.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){n.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,s){n.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){n.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,s){n.setNumberFormat(i,s)},mergeNumberFormat(i,s){n.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:s}=t;s&&s(i,r)}};return r}}const vd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function kO({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,i)=>r=[...r,...Re(i.children)?i.children:[i]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},{})}function D1(t){return Ae}const Sm={name:"i18n-t",props:it({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>et(t)||!isNaN(t)}},vd),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||bd({useScope:t.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),o={};t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=te(t.plural)?+t.plural:t.plural);const a=kO(e,s),l=i[qc](t.keypath,a,o),c=it({},r),u=te(t.tag)||Ve(t.tag)?t.tag:D1();return Tr(u,c,l)}}};function AO(t){return Re(t)&&!te(t[0])}function R1(t,e,n,r){const{slots:i,attrs:s}=e;return()=>{const o={part:!0};let a={};t.locale&&(o.locale=t.locale),te(t.format)?o.key=t.format:Ve(t.format)&&(te(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((d,h)=>n.includes(h)?it({},d,{[h]:t.format[h]}):d,{}));const l=r(t.value,o,a);let c=[o.key];Re(l)?c=l.map((d,h)=>{const w=i[d.type],g=w?w({[d.type]:d.value,index:h,parts:l}):[d.value];return AO(g)&&(g[0].key=`${d.type}-${h}`),g}):te(l)&&(c=[l]);const u=it({},s),f=te(t.tag)||Ve(t.tag)?t.tag:D1();return Tr(f,u,c)}}const km={name:"i18n-n",props:it({value:{type:Number,required:!0},format:{type:[String,Object]}},vd),setup(t,e){const n=t.i18n||bd({useScope:"parent",__useComponent:!0});return R1(t,e,P1,(...r)=>n[jc](...r))}},Am={name:"i18n-d",props:it({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vd),setup(t,e){const n=t.i18n||bd({useScope:"parent",__useComponent:!0});return R1(t,e,L1,(...r)=>n[Hc](...r))}};function xO(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function LO(t){const e=o=>{const{instance:a,modifiers:l,value:c}=o;if(!a||!a.$)throw tt(Xe.UNEXPECTED_ERROR);const u=xO(t,a.$),f=xm(c);return[Reflect.apply(u.t,u,[...Lm(f)]),u]};return{created:(o,a)=>{const[l,c]=e(a);$c&&t.global===c&&(o.__i18nWatcher=ar(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{$c&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=xm(a);o.textContent=Reflect.apply(l.t,l,[...Lm(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function xm(t){if(te(t))return{path:t};if(ge(t)){if(!("path"in t))throw tt(Xe.REQUIRED_VALUE,"path");return t}else throw tt(Xe.INVALID_VALUE)}function Lm(t){const{path:e,locale:n,args:r,choice:i,plural:s}=t,o={},a=r||{};return te(n)&&(o.locale=n),et(i)&&(o.plural=i),et(s)&&(o.plural=s),[e,a,o]}function PO(t,e,...n){const r=ge(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ce(r.globalInstall)?r.globalInstall:!0)&&(t.component(i?"i18n":Sm.name,Sm),t.component(km.name,km),t.component(Am.name,Am)),t.directive("t",LO(e))}function NO(t,e,n){return{beforeCreate(){const r=Pn();if(!r)throw tt(Xe.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;i.__i18n&&(s.__i18n=i.__i18n),s.__root=e,this===this.$root?this.$i18n=Pm(t,s):(s.__injectWithOption=!0,this.$i18n=Bc(s))}else i.__i18n?this===this.$root?this.$i18n=Pm(t,i):this.$i18n=Bc({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;i.__i18nGlobal&&$1(e,i,i),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){},unmounted(){const r=Pn();if(!r)throw tt(Xe.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function Pm(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[M1](e.pluralizationRules||t.pluralizationRules);const n=Qa(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(r=>t.mergeLocaleMessage(r,n[r])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(r=>t.mergeDateTimeFormat(r,e.datetimeFormats[r])),e.numberFormats&&Object.keys(e.numberFormats).forEach(r=>t.mergeNumberFormat(r,e.numberFormats[r])),t}const MO=Sr("global-vue-i18n");function IO(t={},e){const n=__VUE_I18N_LEGACY_API__&&Ce(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,r=Ce(t.globalInjection)?t.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,s=new Map,[o,a]=OO(t,n),l=Sr("");function c(d){return s.get(d)||null}function u(d,h){s.set(d,h)}function f(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(h,...w){h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,d),!n&&r&&zO(h,d.global),__VUE_I18N_FULL_INSTALL__&&PO(h,d,...w),__VUE_I18N_LEGACY_API__&&n&&h.mixin(NO(a,a.__composer,d));const g=h.unmount;h.unmount=()=>{d.dispose(),g()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function bd(t={}){const e=Pn();if(e==null)throw tt(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw tt(Xe.NOT_INSLALLED);const n=$O(e),r=RO(n),i=O1(e),s=DO(t,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw tt(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return qO(e,s,r,t)}if(s==="global")return $1(r,t,i),r;if(s==="parent"){let l=VO(n,e,t.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=it({},t);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=_d(l),FO(o,e),o.__setInstance(e,a)}return a}function OO(t,e,n){const r=s5();{const i=__VUE_I18N_LEGACY_API__&&e?r.run(()=>Bc(t)):r.run(()=>_d(t));if(i==null)throw tt(Xe.UNEXPECTED_ERROR);return[r,i]}}function $O(t){{const e=kn(t.isCE?MO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw tt(t.isCE?Xe.NOT_INSLALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function DO(t,e){return Ba(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function RO(t){return t.mode==="composition"?t.global:t.global.__composer}function VO(t,e,n=!1){let r=null;const i=e.root;let s=e.parent;for(;s!=null;){const o=t;if(t.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[I1]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function FO(t,e,n){ku(()=>{},e),Pa(()=>{t.__deleteInstance(e)},e)}function qO(t,e,n,r={}){const i=e==="local",s=Zp(null);if(i&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw tt(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Ce(r.inheritLocale)?r.inheritLocale:!0,a=cn(i&&o?n.locale.value:te(r.locale)?r.locale:fo),l=cn(i&&o?n.fallbackLocale.value:te(r.fallbackLocale)||Re(r.fallbackLocale)||ge(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),c=cn(Qa(a.value,r)),u=cn(ge(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=cn(ge(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=i?n.missingWarn:Ce(r.missingWarn)||vr(r.missingWarn)?r.missingWarn:!0,h=i?n.fallbackWarn:Ce(r.fallbackWarn)||vr(r.fallbackWarn)?r.fallbackWarn:!0,w=i?n.fallbackRoot:Ce(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,E=Ke(r.missing)?r.missing:null,_=Ke(r.postTranslation)?r.postTranslation:null,T=i?n.warnHtmlMessage:Ce(r.warnHtmlMessage)?r.warnHtmlMessage:!0,S=!!r.escapeParameter,b=i?n.modifiers:ge(r.modifiers)?r.modifiers:{},y=r.pluralRules||i&&n.pluralRules;function A(){return[a.value,l.value,c.value,u.value,f.value]}const L=je({get:()=>s.value?s.value.locale.value:a.value,set:p=>{s.value&&(s.value.locale.value=p),a.value=p}}),M=je({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:p=>{s.value&&(s.value.fallbackLocale.value=p),l.value=p}}),O=je(()=>s.value?s.value.messages.value:c.value),z=je(()=>u.value),G=je(()=>f.value);function J(){return s.value?s.value.getPostTranslationHandler():_}function re(p){s.value&&s.value.setPostTranslationHandler(p)}function $(){return s.value?s.value.getMissingHandler():E}function P(p){s.value&&s.value.setMissingHandler(p)}function Q(p){return A(),p()}function U(...p){return s.value?Q(()=>Reflect.apply(s.value.t,null,[...p])):Q(()=>"")}function X(...p){return s.value?Reflect.apply(s.value.rt,null,[...p]):""}function oe(...p){return s.value?Q(()=>Reflect.apply(s.value.d,null,[...p])):Q(()=>"")}function ue(...p){return s.value?Q(()=>Reflect.apply(s.value.n,null,[...p])):Q(()=>"")}function ce(p){return s.value?s.value.tm(p):{}}function de(p,k){return s.value?s.value.te(p,k):!1}function Ie(p){return s.value?s.value.getLocaleMessage(p):{}}function he(p,k){s.value&&(s.value.setLocaleMessage(p,k),c.value[p]=k)}function V(p,k){s.value&&s.value.mergeLocaleMessage(p,k)}function Z(p){return s.value?s.value.getDateTimeFormat(p):{}}function j(p,k){s.value&&(s.value.setDateTimeFormat(p,k),u.value[p]=k)}function ee(p,k){s.value&&s.value.mergeDateTimeFormat(p,k)}function pe(p){return s.value?s.value.getNumberFormat(p):{}}function ye(p,k){s.value&&(s.value.setNumberFormat(p,k),f.value[p]=k)}function fe(p,k){s.value&&s.value.mergeNumberFormat(p,k)}const C={get id(){return s.value?s.value.id:-1},locale:L,fallbackLocale:M,messages:O,datetimeFormats:z,numberFormats:G,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(p){s.value&&(s.value.inheritLocale=p)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:y},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackWarn(){return s.value?s.value.fallbackWarn:h},set fallbackWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackRoot(){return s.value?s.value.fallbackRoot:w},set fallbackRoot(p){s.value&&(s.value.fallbackRoot=p)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(p){s.value&&(s.value.fallbackFormat=p)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:T},set warnHtmlMessage(p){s.value&&(s.value.warnHtmlMessage=p)},get escapeParameter(){return s.value?s.value.escapeParameter:S},set escapeParameter(p){s.value&&(s.value.escapeParameter=p)},t:U,getPostTranslationHandler:J,setPostTranslationHandler:re,getMissingHandler:$,setMissingHandler:P,rt:X,d:oe,n:ue,tm:ce,te:de,getLocaleMessage:Ie,setLocaleMessage:he,mergeLocaleMessage:V,getDateTimeFormat:Z,setDateTimeFormat:j,mergeDateTimeFormat:ee,getNumberFormat:pe,setNumberFormat:ye,mergeNumberFormat:fe};function m(p){p.locale.value=a.value,p.fallbackLocale.value=l.value,Object.keys(c.value).forEach(k=>{p.mergeLocaleMessage(k,c.value[k])}),Object.keys(u.value).forEach(k=>{p.mergeDateTimeFormat(k,u.value[k])}),Object.keys(f.value).forEach(k=>{p.mergeNumberFormat(k,f.value[k])}),p.escapeParameter=S,p.fallbackFormat=g,p.fallbackRoot=w,p.fallbackWarn=h,p.missingWarn=d,p.warnHtmlMessage=T}return fg(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw tt(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const p=s.value=t.proxy.$i18n.__composer;e==="global"?(a.value=p.locale.value,l.value=p.fallbackLocale.value,c.value=p.messages.value,u.value=p.datetimeFormats.value,f.value=p.numberFormats.value):i&&m(p)}),C}const HO=["locale","fallbackLocale","availableLocales"],jO=["t","rt","d","n","tm"];function zO(t,e){const n=Object.create(null);HO.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i)throw tt(Xe.UNEXPECTED_ERROR);const s=lt(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,s)}),t.config.globalProperties.$i18n=n,jO.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i||!i.value)throw tt(Xe.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,i)})}uO(_O);dO(UI);fO(y1);TO();if(__INTLIFY_PROD_DEVTOOLS__){const t=Ns();t.__INTLIFY__=!0,eO(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const BO={header:{sessions:"Ladevorg\xE4nge",docs:"Doku",blog:"Blog",github:"GitHub",login:"Fahrzeug Logins",about:"\xDCber evcc",theme:{auto:"Design: System",light:"Design: Hell",dark:"Design: Dunkel"}},footer:{version:{availableShort:"Update",availableLong:"Update verf\xFCgbar",modalTitle:"Update verf\xFCgbar",modalUpdateStarted:"Nach der Aktualisierung wird evcc neu gestartet.",modalInstalledVersion:"Aktuell installierte Version",modalNoReleaseNotes:"Keine Releasenotes verf\xFCgbar. Mehr Informationen zur neuen Version findest du hier:",modalCancel:"Abbrechen",modalUpdate:"Aktualisieren",modalUpdateNow:"Jetzt aktualisieren",modalDownload:"Download",modalUpdateStatusStart:"Aktualisierung gestartet: ",modalUpdateStatusFailed:"Aktualisierung nicht m\xF6glich: "},savings:{tabTitle:"Meine Daten",footerShort:"{percent}% Sonne",footerLong:"{percent}% Sonnenenergie",modalTitle:"Auswertung Ladeenergie",since:"seit {since}",percentTitle:"Sonnenenergie",percentSelf:"{self} kWh Sonne",percentGrid:"{grid} kWh Netz",priceTitle:"Energiepreis",priceFeedIn:"{feedInPrice} Einspeisung",priceGrid:"{gridPrice} Netz",savingsTitle:"Ersparnis",savingsComparedToGrid:"gegen\xFCber Netzbezug",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live-Community",power:"Ladeleistung",powerSub1:"{activeClients} von {totalClients} Nutzern",powerSub2:"laden mit evcc",greenShare:"Sonnenanteil",greenShareSub1:"der Leistung kommt",greenShareSub2:"aus PV & Hausakku",greenEnergy:"Sonnenenergie",greenEnergySub1:"\xFCber evcc geladen",greenEnergySub2:"seit Oktober 2022"},telemetry:{optIn:"Ich m\xF6chte meine Daten auch beisteuern.",optInMoreDetails:"Mehr Details gibts {0}.",optInMoreDetailsLink:"hier",optInSponsorship:"Sponsoring erforderlich."},sponsor:{titleSponsor:"Du bist Unterst\xFCtzer",titleNoSponsor:"Unterst\xFCtze uns",thanks:"Danke f\xFCr dein Sponsoring, {sponsor}! Das hilft uns bei der Weiterentwicklung.",confetti:"Lust auf Konfetti?",supportUs:"Unsere Mission: Sonne tanken zum Standard machen. Hilf uns und unterst\xFCtze evcc finanziell.",sticker:"\u2026oder evcc Sticker?",confettiPromise:"Es gibt auch Sticker und digitales Konfetti ;)",becomeSponsor:"Sponsor werden"}},notifications:{modalTitle:"Meldungen",dismissAll:"Meldungen entfernen"},main:{vehicles:"Parkplatz",energyflow:{noEnergy:"Kein Messwerte",homePower:"Verbrauch",pvProduction:"Erzeugung",loadpoints:"Ladepunkt | Ladepunkt | {count} Ladepunkte",battery:"Batterie",batteryCharge:"Batterie laden",batteryDischarge:"Batterie entladen",gridImport:"Netzbezug",selfConsumption:"Eigenverbrauch",pvExport:"Einspeisung"},mode:{off:"Aus",minpv:"Min+PV",pv:"PV",now:"Schnell"},loadpoint:{fallbackName:"Ladepunkt",remoteDisabledSoft:"{source}: Adaptives PV-Laden deaktiviert",remoteDisabledHard:"{source}: Deaktiviert",power:"Leistung",charged:"Geladen",duration:"Dauer",remaining:"Restzeit"},loadpointSettings:{title:'Einstellungen "{0}"',vehicle:"Fahrzeug",currents:"Ladestrom",default:"default",disclaimerHint:"Hinweis:",disclaimerText:"\xC4nderungen sind aktuell noch nicht persistent und werden nach einem Serverneustart wieder zur\xFCckgesetzt.",minSoC:{label:"Mindestladestand",description:'Reichweite f\xFCr Notf\xE4lle. Fahrzeug wird im PV-Modus "schnell" auf {0}% geladen. Danach weiter mit PV-\xDCberschuss.'},phasesConfigured:{label:"Phasen",phases_0:"automatischer Wechsel",phases_1:"1-phasig",phases_1_hint:"({min} bis {max})",phases_3:"3-phasig",phases_3_hint:"({min} bis {max})"},maxCurrent:{label:"Max. Ladestrom"},minCurrent:{label:"Min. Ladestrom"}},vehicle:{fallbackName:"Fahrzeug",vehicleSoC:"Ladestand",targetSoC:"Ladeziel",none:"Kein Fahrzeug",unknown:"Gastfahrzeug",changeVehicle:"Fahrzeug \xE4ndern",detectionActive:"Fahrzeugerkennung l\xE4uft ..."},vehicleSoC:{disconnected:"getrennt",charging:"l\xE4dt",ready:"bereit",connected:"verbunden",vehicleTarget:"Fahrzeuglimit: {soc}%"},vehicleStatus:{minCharge:"Mindestladung bis {soc}%.",waitForVehicle:"Ladebereit. Warte auf Fahrzeug.",vehicleTargetReached:"Fahrzeuglimit {soc}% erreicht.",charging:"Ladevorgang aktiv.",targetChargePlanned:"Zielladen geplant. Ladung startet {time} Uhr.",targetChargeWaitForVehicle:"Zielladen bereit. Warte auf Fahrzeug.",targetChargeActive:"Zielladen aktiv.",connected:"Verbunden.",pvDisable:"Zu wenig \xDCberschuss. Pausiere in {remaining}.",pvEnable:"\xDCberschuss verf\xFCgbar. Starte in {remaining}.",scale1p:"Reduziere auf einphasig in {remaining}.",scale3p:"Erh\xF6he auf dreiphasig in {remaining}.",disconnected:"Nicht verbunden.",unknown:""},provider:{login:"anmelden",logout:"abmelden"},targetCharge:{title:"Zielzeit",inactiveLabel:"Zielzeit",activeLabel:"{time}",modalTitle:"Zielzeit festlegen",setTargetTime:"keine",description:"Wann soll das Fahrzeug auf {targetSoC}% geladen sein?",today:"heute",tomorrow:"morgen",targetIsInThePast:"Zeitpunkt liegt in der Vergangenheit.",remove:"Entfernen",activate:"Aktivieren",experimentalLabel:"Experimentell",experimentalText:"Dieses Feature funktioniert, ist aber noch nicht perfekt. Bitte melde unerwartetes Verhalten in unseren"},targetEnergy:{label:"Ladeziel",noLimit:"keins"}},startupError:{title:"Fehler beim Starten",description:"Bitte \xFCberpr\xFCfe deine Konfigurationsdatei. Sollte dir die Fehlermeldung nicht weiterhelfen, suche in unseren {0} nach einer L\xF6sung.",discussions:"GitHub Diskussionen",hint:"Hinweis: Ein weiterer Grund k\xF6nnte ein fehlerhaftes Ger\xE4t (Wechselrichter, Z\xE4hler, ...) sein. \xDCberpr\xFCfe deine Netzwerkverbindungen.",configuration:"Konfiguration",configFile:"Verwendete Konfigurationsdatei:",lineError:"In {0} wurde ein Fehler gefunden.",lineErrorLink:"Zeile {0}",fixAndRestart:"Behebe das Problem und starte den Server neu.",restartButton:"Neu starten"},sessions:{title:"Ladevorg\xE4nge",downloadCsv:"Als CSV herunterladen",loadpoint:"Ladepunkt",vehicle:"Fahrzeug",energy:"Geladen",date:"Zeitraum",csv:{loadpoint:"Ladepunkt",vehicle:"Fahrzeug",odometer:"Kilometerstand (km)",identifier:"Kennung",chargedenergy:"Energie (kWh)",meterstart:"Anfangsz\xE4hlerstand (kWh)",meterstop:"Endz\xE4hlerstand (kWh)",created:"Startzeit",finished:"Endzeit"}},offline:{message:"Keine Verbindung zum Server.",reload:"Erneut laden?"}},UO={header:{sessions:"Charging sessions",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Vehicle logins",about:"About evcc",theme:{auto:"Design: system",light:"Design: light",dark:"Design: dark"}},footer:{version:{availableShort:"update",availableLong:"update available",modalTitle:"Update available",modalUpdateStarted:"Evcc will restart after the update..",modalInstalledVersion:"Currently installed version",modalNoReleaseNotes:"No release notes available. More information about the new version can be found here:",modalCancel:"Cancel",modalUpdate:"Update",modalUpdateNow:"Update now",modalDownload:"Download",modalUpdateStatusStart:"Update started: ",modalUpdateStatusFailed:"Update failed: "},savings:{tabTitle:"My data",footerShort:"{percent}% solar",footerLong:"{percent}% solar energy",modalTitle:"Charge Energy Overview",since:"since {since}",percentTitle:"Solar Energy",percentSelf:"{self} kWh solar",percentGrid:"{grid} kWh grid",priceTitle:"Energy Price",priceFeedIn:"{feedInPrice} feed-in",priceGrid:"{gridPrice} grid",savingsTitle:"Savings",savingsComparedToGrid:"compared to grid",savingsTotalEnergy:"{total} kWh charged"},community:{tabTitle:"Live community",power:"Charging power",powerSub1:"{activeClients} of {totalClients} participants",powerSub2:"are charging right now",greenShare:"Solar share",greenShareSub1:"power is covered by",greenShareSub2:"PV & battery storage",greenEnergy:"Solar energy",greenEnergySub1:"charged with evcc",greenEnergySub2:"since October 2022"},telemetry:{optIn:"I want to contribute my data as well.",optInMoreDetails:"More details are available {0}.",optInMoreDetailsLink:"here",optInSponsorship:"Sponsoring required."},sponsor:{titleSponsor:"You are a supporter",titleNoSponsor:"Support us",thanks:"Thanks for your support, {sponsor}! It helps us with the further development.",confetti:"Ready for confetti?",supportUs:"Our mission: Make solar charging the standard. Help us and support evcc financially.",sticker:"\u2026or evcc stickers?",confettiPromise:"There will be stickers and digital confetti ;)",becomeSponsor:"Become a Sponsor"}},notifications:{modalTitle:"Notifications",dismissAll:"Dismiss all"},main:{vehicles:"Parking",energyflow:{noEnergy:"No meter data",homePower:"Consumption",pvProduction:"Production",loadpoints:"Loadpoint | Loadpoint | {count} Loadpoints",battery:"Battery",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export"},mode:{off:"Off",minpv:"Min+PV",pv:"PV",now:"Fast"},loadpoint:{fallbackName:"Loadpoint",remoteDisabledSoft:"{source}: adaptive PV charging disabled",remoteDisabledHard:"{source}: disabled",power:"Power",charged:"Charged",duration:"Duration",remaining:"Remaining"},loadpointSettings:{title:'Settings "{0}"',vehicle:"Vehicle",currents:"Charging",default:"default",disclaimerHint:"Note:",disclaimerText:"Changes are not persistent yet. They will be reset after server restart.",minSoC:{label:"Minimal SoC",description:'Range for emergencies. Vehicle gets "fast" charged to {0}% in PV mode. Then continues with PV surplus only.'},phasesConfigured:{label:"Phases",phases_0:"automatic switching",phases_1:"1 phase",phases_1_hint:"({min} to {max})",phases_3:"3 phases",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Current"},minCurrent:{label:"Min. Current"}},vehicle:{fallbackName:"Vehicle",vehicleSoC:"SoC",targetSoC:"Limit",none:"No vehicle",unknown:"Guest vehicle",changeVehicle:"Change Vehicle",detectionActive:"Identifying vehicle ..."},vehicleSoC:{disconnected:"disconnected",charging:"charging",ready:"ready",connected:"connected",vehicleTarget:"Vehicle limit: {soc}%"},vehicleStatus:{minCharge:"minimum charging to {soc}%.",waitForVehicle:"Ready. Waiting for vehicle.",vehicleTargetReached:"Vehicle limit {soc}% reached.",charging:"Charging.",targetChargePlanned:"Target charge planned. Starting {time}.",targetChargeWaitForVehicle:"Target charge ready. Wait for vehicle.",targetChargeActive:"Target charge active.",connected:"Connected.",pvDisable:"Not enough surplus. Pausing in {remaining}.",pvEnable:"Surplus available. Starting in {remaining}.",scale1p:"Reduce to single phase in {remaining}.",scale3p:"Increase to three phase in {remaining}.",disconnected:"Disconnected.",unknown:""},provider:{login:"login",logout:"logout"},targetCharge:{title:"Target Time",inactiveLabel:"Target time",activeLabel:"{time}",modalTitle:"Set Target Time",setTargetTime:"none",description:"When should the vehicle be charged to {targetSoC}%?",today:"today",tomorrow:"tomorrow",targetIsInThePast:"The chosen time is in the past.",remove:"Remove",activate:"Activate",experimentalLabel:"Experimental",experimentalText:"This feature works but isn't perfect yet. Please report unexpected behaviour in our"},targetEnergy:{label:"Limit",noLimit:"none"}},startupError:{title:"Startup Error",description:"Please check your configuration file. If the error message does not help you, have a look at our {0}.",discussions:"GitHub Discussions",hint:"Note: another reason for this message could be a faulty device (inverter, meter, ...). Check your network connections.",configuration:"Config",configFile:"Configuration file used:",lineError:"We found an error in {0}.",lineErrorLink:"line {0}",fixAndRestart:"Fix the problem and restart the server.",restartButton:"Restart"},sessions:{title:"Charging sessions",downloadCsv:"Download as CSV",loadpoint:"Loadpoint",vehicle:"Vehicle",energy:"Charged",date:"Period",csv:{loadpoint:"Loadpoint",vehicle:"Vehicle",odometer:"Mileage (km)",identifier:"Identifier",chargedenergy:"Energy (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Created",finished:"Finished"}},offline:{message:"No connection to server.",reload:"Reload?"}},WO={header:{sessions:"Op\xE9rations de chargement",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Connexion v\xE9hicule",about:"Au sujet de evcc",theme:{auto:"D\xE9sign: Syst\xE8me",light:"D\xE9sign: Lumi\xE8re",dark:"D\xE9sign: Fonc\xE9"}},footer:{version:{availableShort:"Mise \xE0 jour",availableLong:"Mise \xE0 jour disponible",modalTitle:"Mise \xE0 jour disponible",modalUpdateStarted:"Evcc red\xE9marrera apr\xE8s la mise \xE0 jour.",modalInstalledVersion:"Version actuellement install\xE9e",modalNoReleaseNotes:"Aucune note de version disponible. Plus d'informations sur la nouvelle version peuvent \xEAtre trouv\xE9es ici:",modalCancel:"Annuler",modalUpdate:"R\xE9actualiser",modalUpdateNow:"Mettez \xE0 jour maintenant",modalDownload:"T\xE9l\xE9charger",modalUpdateStatusStart:"La mise \xE0 jour a commenc\xE9: ",modalUpdateStatusFailed:"Mise \xE0 jour a \xE9chou\xE9: "},savings:{tabTitle:"Mes donn\xE9es",footerShort:"{percent}% Solaire",footerLong:"{percent}% \xC9nergie Solaire",modalTitle:"Aper\xE7u de l'\xE9nergie de charge",since:"Puisque {since}",percentTitle:"\xC9nergie Solaire",percentSelf:"{self} kWh Solaire",percentGrid:"{grid} kWh R\xE9seau \xE9lectrique",priceTitle:"Prix de l'\xE9nergie",priceFeedIn:"{feedInPrice} Alimentation",priceGrid:"{gridPrice} R\xE9seau \xE9lectrique",savingsTitle:"Des \xE9conomies",savingsComparedToGrid:"Par rapport au r\xE9seau",savingsTotalEnergy:"{total} kWh charg\xE9"},community:{tabTitle:"Communaut\xE9 en ligne",power:"Puissance de charge",powerSub1:"{activeClients} de {totalClients} Participants",powerSub2:"Sont en train de charger",greenShare:"Part solaire",greenShareSub1:"La puissance est couverte par",greenShareSub2:"Du PV et de la batterie domestique",greenEnergy:"\xC9nergie Solaire",greenEnergySub1:"Charg\xE9 d'evcc",greenEnergySub2:"Depuis Octobre 2022"},telemetry:{optIn:"Je souhaite \xE9galement apporter mes donn\xE9es.",optInMoreDetails:"Plus de d\xE9tails sont disponibles {0}.",optInMoreDetailsLink:"Ici",optInSponsorship:"Parrainage requis."},sponsor:{titleSponsor:"Vous \xEAtes un supporter",titleNoSponsor:"Soutenez-nouss",thanks:"Merci pour votre aide, {sponsor}! Cela nous aide \xE0 poursuivre le d\xE9veloppement.",confetti:"Pr\xEAt pour les confettis?",supportUs:"Notre mission : Faire de la recharge solaire la norme. Aidez-nous et soutenez evcc financi\xE8rement.",sticker:"\u2026 Ou autocollants evcc?",confettiPromise:"Il y a des autocollants et des confettis num\xE9riques ;)",becomeSponsor:"Devenir parrain"}},notifications:{modalTitle:"Notifications",dismissAll:"Rejeter la totalit\xE9"},main:{vehicles:"Place de parking",energyflow:{noEnergy:"Aucune donn\xE9e de compteur",homePower:"Utilisation",pvProduction:"Production",loadpoints:"Point de chargement | Point de chargement | {count} Points de chargement",battery:"La batterie",batteryCharge:"Charge de la batterie",batteryDischarge:"D\xE9charge de la batterie",gridImport:"Import de grille",selfConsumption:"Consommation personnelle",pvExport:"Grille d'exportation"},mode:{off:"D\xE9sactiv\xE9",minpv:"Min+PV",pv:"PV",now:"Rapidement"},loadpoint:{fallbackName:"Point de chargement",remoteDisabledSoft:"{source}: Charge PV adaptative d\xE9sactiv\xE9e",remoteDisabledHard:"{source}: D\xE9sactiv\xE9",power:"\xC9nergie",charged:"Charg\xE9",duration:"Dur\xE9e",remaining:"Temps restant"},loadpointSettings:{title:'R\xE9glages "{0}"',vehicle:"V\xE9hicule",currents:"Courant de charge",default:"D\xE9faut",disclaimerHint:"A Noter:",disclaimerText:"Les changements ne sont pas encore persistants. Ils seront r\xE9initialis\xE9s apr\xE8s le red\xE9marrage du serveur.",minSoC:{label:"Min. \xC9tat de charge",description:'Port\xE9e pour les urgences. Le v\xE9hicule est charg\xE9 "rapidement" \xE0 {0}\xA0% en mode PV. Puis continue avec le surplus PV uniquement.'},phasesConfigured:{label:"Phases",phases_0:"Commutation automatique",phases_1:"1-phase",phases_1_hint:"({min} \xE1 {max})",phases_3:"3-phases",phases_3_hint:"({min} \xE1 {max})"},maxCurrent:{label:"Max. Courant de charge"},minCurrent:{label:"Min. Courant de charge"}},vehicle:{fallbackName:"V\xE9hicule",vehicleSoC:"\xC9tat de charge",targetSoC:"Cible de chargement",none:"Pas de v\xE9hicule",unknown:"V\xE9hicule invit\xE9",changeVehicle:"Changer de v\xE9hicule",detectionActive:"D\xE9tecter le v\xE9hicule ..."},vehicleSoC:{disconnected:"D\xE9tach\xE9",charging:"Mise en charge",ready:"Br\xEAt",connected:"Connect\xE9",vehicleTarget:"Limite de v\xE9hicule: {soc}%"},vehicleStatus:{minCharge:"Charge minimale \xE0 {soc}%.",waitForVehicle:"Pr\xEAt \xE0 charger. Attendre le v\xE9hicule.",vehicleTargetReached:"Limite de v\xE9hicule {soc}% atteint.",charging:"Charge active.",targetChargePlanned:"Magasin cible pr\xE9vu. La charge commence \xE0 {time} heures.",targetChargeWaitForVehicle:"Magasin cible pr\xEAt. Attendre le v\xE9hicule.",targetChargeActive:"Chargement cible actif.",connected:"Connect\xE9.",pvDisable:"Trop peu de surplus. Faire une pause {remaining}.",pvEnable:"Surplus disponible. Commencer dans {remaining}.",scale1p:"R\xE9duire en monophas\xE9 en {remaining}.",scale3p:"Passage \xE0 trois phases {remaining}.",disconnected:"Pas connect\xE9.",unknown:""},provider:{login:"Connexion",logout:"Se d\xE9connecter"},targetCharge:{title:"Temps vis\xE9",inactiveLabel:"Temps vis\xE9",activeLabel:"{time}",modalTitle:"D\xE9finir l'heure cible",setTargetTime:"Non",description:"Quand le v\xE9hicule doit-il \xEAtre recharg\xE9 \xE0 {targetSoC}%?",today:"Aujourd'hui",tomorrow:"Matin",targetIsInThePast:"Le temps est pass\xE9.",remove:"\xD4ter",activate:"Activer",experimentalLabel:"Exp\xE9rimental",experimentalText:"Cette fonctionnalit\xE9 fonctionne mais n'est pas encore parfaite. Veuillez signaler tout comportement inattendu dans notre"},targetEnergy:{label:"Cible de chargement",noLimit:"Non"}},startupError:{title:"Erreur au d\xE9marrage",description:"Veuillez v\xE9rifier votre fichier de configuration. Si le message d'erreur ne vous aide pas, consultez notre {0}.",discussions:"GitHub Discussions",hint:"Remarque : Une autre raison pour laquelle vous voyez ce message pourrait \xEAtre un appareil d\xE9fectueux (onduleur, compteur, ...). V\xE9rifiez vos connexions r\xE9seau.",configuration:"Configuration",configFile:"Fichier de configuration utilis\xE9:",lineError:"Nous avons trouv\xE9 une erreur dans {0}.",lineErrorLink:"Ligne {0}",fixAndRestart:"Corrigez le probl\xE8me et red\xE9marrez le serveur.",restartButton:"Red\xE9marrer"},sessions:{title:"Sessions de chargement",downloadCsv:"T\xE9l\xE9charger au format CSV",loadpoint:"Point de chargement",vehicle:"V\xE9hicule",energy:"Charg\xE9",date:"P\xE9riode",csv:{loadpoint:"Point de chargement",vehicle:"V\xE9hicule",odometer:"kilom\xE9trage (km)",identifier:"Identifiant",chargedenergy:"\xC9nergie (kWh)",meterstart:"D\xE9but du compteur (kWh)",meterstop:"Arr\xEAt du compteur (kWh)",created:"Heure de d\xE9but",finished:"Temps de fin"}},offline:{message:"Pas de connexion au serveur.",reload:"Recharger?"}},QO={header:{docs:"Documentazione",blog:"Blog",github:"GitHub",login:"Iscrizioni"},footer:{version:{availableShort:"aggiornamento",availableLong:"aggiornamento disponibile",modalTitle:"Aggiornamento disponibile",modalUpdateStarted:"Evcc ripartir\xE0 dopo l'aggiornamento..",modalInstalledVersion:"Versione correntemente installata",modalNoReleaseNotes:"Non ci sono note di rilascio disponibili. Altre informazioni circa la nuova versione si trovano qui:",modalCancel:"Cancella",modalUpdate:"Aggiorna",modalUpdateNow:"Aggiorna ora",modalDownload:"Download",modalUpdateStatusStart:"Aggiornamento iniziato: ",modalUpdateStatusFailed:"Aggiornamento fallito: "}},notifications:{modalTitle:"Notifiche",dismissAll:"Rimuovi tutte"},main:{energyflow:{noEnergy:"No Energyflow",homePower:"Consumption",pvProduction:"Produzione",battery:"Batteria",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export"},mode:{off:"Stop",minpv:"Min+FV",pv:"FV",now:"Ora"},loadpoint:{fallbackName:"Punto di carica",remoteDisabledSoft:"{source}: Ricarica FV adattiva disabilitata",remoteDisabledHard:"{source}: Disabilitato"},vehicle:{fallbackName:"Veicolo"},vehicleSoC:{disconnected:"disconesso",charging:"carica",ready:"pronto",connected:"collegato"}}},KO={header:{sessions:"\u012Ekrovimo sesijos ",docs:"Dokumentacija (Vokie\u010Di\u0173 k.)",blog:"Tinklara\u0161tis",github:"GitHub",login:" Automobili\u0173 prisijungimai",about:"Apie EVCC",theme:{auto:"Dizainas: Sistemos",light:"Dizainas: \u0160viesus",dark:"Dizainas: Tamsus"}},footer:{version:{availableShort:"naujinimas",availableLong:"yra naujesn\u0117 versija",modalTitle:"Yra naujesn\u0117 versija",modalUpdateStarted:"Pasibaigus naujinimui EVCC startuos i\u0161 naujo..",modalInstalledVersion:"Dabartin\u0117 versija",modalNoReleaseNotes:"Naujinimo pastab\u0173 n\u0117ra. Daugiau informacijos apie nauj\u0105 versij\u0105 galite rasti rasite \u010Dia:",modalCancel:"At\u0161aukti",modalUpdate:"Naujinti",modalUpdateNow:"Naujinti dabar",modalDownload:"Atsisi\u0173sti",modalUpdateStatusStart:"Naujinimas prasid\u0117jo: ",modalUpdateStatusFailed:"Naujinimas nepavyko: "},savings:{tabTitle:"Mano duomenys",footerShort:"{percent}% saul\u0117s",footerLong:"{percent}% saul\u0117s energija",modalTitle:"\u012Ekrovimo energijos ap\u017Evalga",since:"nuo {since}",percentTitle:"Saul\u0117s energija",percentSelf:"{self} kWh saul\u0117s",percentGrid:"{grid} kWh tinklo",priceTitle:"Energijos kaina",priceFeedIn:"{feedInPrice} eksporto",priceGrid:"{gridPrice} tinklo",savingsTitle:"Sutaupyta",savingsComparedToGrid:"palyginus su tinklu",savingsTotalEnergy:"{total} kWh \u012Fkrauta"},community:{tabTitle:"Bendruomen\u0117s duomenys",power:"\u012Ekrovimo galia",powerSub1:"{activeClients} i\u0161 {totalClients} dalyvi\u0173",powerSub2:"\u012Fkrauna \u0161iuo metu",greenShare:"Saul\u0117s dalis",greenShareSub1:"galios tiekia Saul\u0117 ir",greenShareSub2:"energijos kaupikliai",greenEnergy:"Saul\u0117s energija",greenEnergySub1:"\u012Fkrauta su evcc",greenEnergySub2:"nuo 2022 Spalio"},telemetry:{optIn:"Noriu prisid\u0117ti savo duomenimis.",optInMoreDetails:"Daugiau informacijos rasite {0}.",optInMoreDetailsLink:"\u010Dia",optInSponsorship:"(Gali tik r\u0117m\u0117jai.)"},sponsor:{titleSponsor:"Esate r\u0117m\u0117jais",titleNoSponsor:"Paremkite mus",thanks:"A\u010Di\u016B, kad mus remiate {sponsor}! Taip prisidedate prie projekto vystymo.",confetti:"Norite konfeti?",supportUs:"M\u016Bs\u0173 misija: Siekiame, kad \u012Fkrovimas saul\u0117s energija tapt\u0173 standartu. Pad\u0117kite mums ir paremkite evcc finansi\u0161kai.",sticker:"... ar evcc lipduk\u0173?",confettiPromise:"Bus lipduk\u0173 ir skaitmenini\u0173 konfeti ;)",becomeSponsor:"Tapkite r\u0117m\u0117ju"}},notifications:{modalTitle:"Prane\u0161imai",dismissAll:"I\u0161valyti visus"},main:{vehicles:"Autoparkas",energyflow:{noEnergy:"N\u0117ra skaitikli\u0173 duomen\u0173",homePower:"Namo suvartojimas",pvProduction:"Gamyba",loadpoints:"\u012Ekroviklis | \u012Ekroviklis | {count} \u012Ekrovikliai",battery:"Baterija",batteryCharge:"Baterijos \u012Fkrovimas",batteryDischarge:"Baterijos i\u0161krovimas",gridImport:"Tinklo importas",selfConsumption:"Sunaudojama i\u0161kart",pvExport:"Tinklo eksportas"},mode:{off:"Stop",minpv:"Min+S",pv:"Saul\u0117s",now:"Greitas"},loadpoint:{fallbackName:"\u012Ekroviklis",remoteDisabledSoft:"{source}: adaptyvus Saul\u0117s \u012Fkrovimas i\u0161jungtas",remoteDisabledHard:"{source}: i\u0161jungtas",power:"Galia",charged:"\u012Ekrauta",duration:"Trukm\u0117",remaining:"Liko"},loadpointSettings:{title:'Nustatymai "{0}"',vehicle:"Automobilis",currents:"\u012Ekraunama",default:"standarti\u0161kai",disclaimerHint:"Pastaba:",disclaimerText:"\u0160ie pakeitimai nei\u0161lieka ir po EVCC serverio restarto pradings.",minSoC:{label:"Minimali \u012Fkrova",description:'Minimali \u012Fkrova. Automobilis \u012Fkraunamas "Greitai" iki {0}% nustatyme "Saul\u0117" . Toliau \u012Fkraunamas tik saul\u0117s energijos pertekliumi.'},phasesConfigured:{label:"Faz\u0117s",phases_0:"automatinis perjungimas",phases_1:"1 faz\u0117",phases_1_hint:"({min} to {max})",phases_3:"3 faz\u0117s",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Srov\u0117"},minCurrent:{label:"Min. Srov\u0117"}},vehicle:{fallbackName:"Automobilis",vehicleSoC:"\u012Ekrova",targetSoC:"Limitas",none:"N\u0117ra automobilio",unknown:"Ne\u017Einomas automobilis",changeVehicle:"Pakeisti automobil\u012F",detectionActive:"Bandome atpa\u017Einti automobil\u012F ..."},vehicleSoC:{disconnected:"neprijungtas",charging:"vyksta \u012Fkrovimas",ready:"leid\u017Eiama \u012Fkrauti",connected:"automobilis prijungtas",vehicleTarget:"Automobilio limitas: {soc}%"},vehicleStatus:{minCharge:"minimalus \u012Fkrovimas iki {soc}%.",waitForVehicle:"\u012Ekrovimas leid\u017Eiamas. Laukiama automobilio signalo.",vehicleTargetReached:"Automobilio limitas {soc}% pasiektas.",charging:"\u012Ekraunama.",targetChargePlanned:"Suplanuotas \u012Fkrovimas, prasid\u0117s {time}.",targetChargeWaitForVehicle:"Suplanuotas \u012Fkrovimas leid\u017Eiamas. Laukiama automobilio signalo.",targetChargeActive:"Suplanuotas \u012Fkrovimas aktyvuotas.",connected:"Prijungtas.",pvDisable:"Tr\u016Bksta saul\u0117s, \u012Fkrovimo pauz\u0117 u\u017E {remaining}.",pvEnable:"Saul\u0117s u\u017Etenka, \u012Fkrovimas prasid\u0117s u\u017E {remaining}.",scale1p:"Suma\u017Einti \u012F vienfaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",scale3p:"Padidinti \u012F trifaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",disconnected:"Neprijungtas.",unknown:""},provider:{login:"prisijungti",logout:"atsijungti"},targetCharge:{title:"\u012Ekrauti iki",inactiveLabel:"\u012Ekrauti iki",activeLabel:"{time}",modalTitle:"Nustatyti \u012Fkrovimo pabaigos laik\u0105",setTargetTime:"nenustatytas",description:"Kada automobilis tur\u0117t\u0173 b\u016Bti \u012Fkrautas iki {targetSoC}%?",today:"\u0161iandien",tomorrow:"rytoj",targetIsInThePast:"Pasirinktas laikas yra praeityje.",remove:"Panaikinti",activate:"Aktyvuoti",experimentalLabel:"Eksperimentinis",experimentalText:"\u0160i funkcija veikia, bet dar n\u0117ra tobula. Apie netik\u0117t\u0105 elges\u012F prane\u0161kite m\u016Bs\u0173"},targetEnergy:{label:"Limitas",noLimit:"n\u0117ra"}},startupError:{title:"Klaida startuojant",description:"Patikrinkite konfig\u016Bracijos fail\u0105. Jei klaidos \u017Einut\u0117 jums nepad\u0117jo, atsakym\u0173 ie\u0161kokite m\u016Bs\u0173 {0}.",discussions:"GitHub Diskusijose",hint:"Pastaba: Gali b\u016Bti, kad prane\u0161im\u0105 apie klaid\u0105 matote d\u0117l neteisingai veikian\u010Dio \u012Frenginio (inverterio, skaitiklio, ...). Patikrinkite tiklo jungtis.",configuration:"Konfig\u016Bracija",configFile:"Naudojamas konfiguracijos failas:",lineError:"Radome klaid\u0105 \u010Dia {0}.",lineErrorLink:"eilut\u0117 {0}",fixAndRestart:"I\u0161taisykite klaid\u0105 ir restartuokite server\u012F.",restartButton:"Restartuoti"},sessions:{title:"\u012Ekrovimo sesijos",downloadCsv:"Atsisi\u0173sti CSV fail\u0105",loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",energy:"\u012Ekrauta",date:"Laikotarpis",csv:{loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",odometer:"Odometras (km)",identifier:"Identifikatorius",chargedenergy:"Energija (kWh)",meterstart:"Skaitiklis prad\u017Eioje (kWh)",meterstop:"Skaitiklis pabaigoje (kWh)",created:"Prad\u0117ta",finished:"Pabaigta"}},offline:{message:"N\u0117ra ry\u0161io su serveriu.",reload:"Perkrauti?"}},YO={header:{sessions:"Laadsessies",docs:"Documentatie",blog:"Blog",github:"GitHub",login:"Voertuig logins",about:"Over evcc",theme:{auto:"Design: systeem",light:"Design: licht",dark:"Design: donker"}},footer:{version:{availableShort:"update",availableLong:"update beschikbaar",modalTitle:"Update beschikbaar",modalUpdateStarted:"Evcc zal herstarten na de update..",modalInstalledVersion:"Huidige versie",modalNoReleaseNotes:"Geen release notes beschikbaar. Meer informatie over de nieuwe versie vind je hier:",modalCancel:"Annuleer",modalUpdate:"Update",modalUpdateNow:"Nu updaten",modalDownload:"Download",modalUpdateStatusStart:"Update gestart: ",modalUpdateStatusFailed:"Update mislukt: "},savings:{tabTitle:"Mijn data",footerShort:"{percent}% PV",footerLong:"{percent}% zonne-energie",modalTitle:"Energieoverzicht",since:"sinds {since}",percentTitle:"Zonne-energie",percentSelf:"{self} kWh PV",percentGrid:"{grid} kWh afgenomen",priceTitle:"Energieprijs",priceFeedIn:"{feedInPrice} injectie",priceGrid:"{gridPrice} afname",savingsTitle:"Besparing",savingsComparedToGrid:"i.v.m. netafname",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live community",power:"Laadvermogen",powerSub1:"{activeClients} van {totalClients} deelnemers",powerSub2:"zijn nu aan het laden",greenShare:"Zonne-energie",greenShareSub1:"van de energie",greenShareSub2:"komt van PV & batterijopslag",greenEnergy:"Zonne-energie",greenEnergySub1:"geladen met evcc",greenEnergySub2:"sinds oktober 2022"},telemetry:{optIn:"Ik wil mijn data ook bijdragen.",optInMoreDetails:"Meer info is {0} beschikbaar.",optInMoreDetailsLink:"hier",optInSponsorship:"(Sponsoring nodig)"},sponsor:{titleSponsor:"Je bent een sponsor!",titleNoSponsor:"Sponsor ons",thanks:"Bedankt voor je hulp, {sponsor}! Je helpt ons bij de verdere ontwikkeling van evcc.",confetti:"Klaar voor confetti?",supportUs:"Onze missie: Van laden op zonne-energie de standaard maken. Help ons en draag financieel bij aan evcc.",sticker:"...of evcc stickers?",confettiPromise:"Er zullen stickers en digitale confetti zijn ;)",becomeSponsor:"Word sponsor"}},notifications:{modalTitle:"Notificaties",dismissAll:"Alles verwijderen"},main:{vehicles:"Parking",energyflow:{noEnergy:"Geen meter data",homePower:"Consumptie",pvProduction:"Productie",loadpoints:"Laadpunt | Laadpunt | {count} Laadpunten",battery:"Batterij",batteryCharge:"Batterij laden",batteryDischarge:"Batterij ontladen",gridImport:"Netafname",selfConsumption:"Zelfverbruik",pvExport:"Netinjectie"},mode:{off:"Uit",minpv:"Min+PV",pv:"PV",now:"Snel"},loadpoint:{fallbackName:"Laadpunt",remoteDisabledSoft:"{source}: adaptief PV-laden uitgeschakeld",remoteDisabledHard:"{source}: uitgeschakeld",power:"Snelheid",charged:"Geladen",duration:"Duur",remaining:"Resterend"},loadpointSettings:{title:'Instellingen "{0}"',vehicle:"Voertuig",currents:"Opladen",default:"standaard",disclaimerHint:"Letop:",disclaimerText:"Instellingen worden niet bijgehouden. Ze worden gereset bij het herstarten van de server.",minSoC:{label:"Min batterijniveau",description:'Noodbereik. Voertuig wordt "snel" geladen tot {0}% in PV mode. Daarna wordt enkel de PV-overschot gebruikt.'},phasesConfigured:{label:"Fasen",phases_0:"automatisch wisselend",phases_1:"1 fase",phases_1_hint:"({min} - {max})",phases_3:"3 fasen",phases_3_hint:"({min} - {max})"},maxCurrent:{label:"Max. vermogen"},minCurrent:{label:"Min. vermogen"}},vehicle:{fallbackName:"Voertuig",vehicleSoC:"Batterijniveau",targetSoC:"Limiet",none:"Geen voertuig",unknown:"Gast",changeVehicle:"Wijzig voertuig",detectionActive:"Voertuig detecteren ..."},vehicleSoC:{disconnected:"niet verbonden",charging:"laden",ready:"klaar",connected:"verbonden",vehicleTarget:"Voertuiglimiet: {soc}%"},vehicleStatus:{minCharge:"laden naar {soc}% minimum.",waitForVehicle:"Klaar. Wachten op voertuig.",vehicleTargetReached:"Voertuiglimiet {soc}% bereikt.",charging:"Laden.",targetChargePlanned:"Doel gepland. Starten op {time}.",targetChargeWaitForVehicle:"Doel gepland. Wachten op voertuig.",targetChargeActive:"Doelladen actief.",connected:"Verbonden.",pvDisable:"Onvoldoende PV overschot beschikbaar. Pauzeren over {remaining}.",pvEnable:"Voldoende PV overschot beschikbaar. Starten over {remaining}.",scale1p:"Wisselen naar 1 fase over {remaining}.",scale3p:"Wisselen naar 3 fasen over {remaining}.",disconnected:"Niet verbonden.",unknown:""},provider:{login:"aanmelden",logout:"afmelden"},targetCharge:{title:"Doel",inactiveLabel:"Ingestelde tijd",activeLabel:"{time}",modalTitle:"Stel tijd in",setTargetTime:"geen",description:"Tegen wanneer moet het voertuig geladen zijn naar {targetSoC}%?",today:"Vandaag",tomorrow:"Morgen",targetIsInThePast:"De ingestelde tijd ligt in het verleden",remove:"Verwijder",activate:"Activeer",experimentalLabel:"Experimenteel",experimentalText:"Deze feature werkt nog niet perfect. Rapporteer ongewenst gedrag op"},targetEnergy:{label:"Limiet",noLimit:"geen"}},startupError:{title:"Start Error",description:"Check je evcc configuratie. Helpt de foutboodschap je niet, bekijk dan de {0}.",discussions:"GitHub Discussions",hint:"Je kan deze boodschap ook krijgen bij een kapot toestel (inverter, meter, ...). Check je network connectie.",configuration:"Config",configFile:"Gebruikt configuratiebestand:",lineError:"Fout gedetecteerd op {0}.",lineErrorLink:"lijn {0}",fixAndRestart:"Verhelp het probleem en herstart de server.",restartButton:"Herstart"},sessions:{title:"Laadsessies",downloadCsv:"Download CSV",loadpoint:"Laadpunt",vehicle:"Voertuig",energy:"Geladen",date:"Periode",csv:{loadpoint:"Laadpunt",vehicle:"Voertuig",odometer:"kilometerstand (km)",identifier:"ID",chargedenergy:"Energie (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Gestart",finished:"Be\xEBindigd"}},offline:{message:"Geen verbinding met de server.",reload:"Opnieuw laden?"}},GO={header:{sessions:"Lade\xF8kter",docs:"Dokumentasjon",about:"Om evcc",blog:"Blogg",github:"GitHub",login:"Kj\xF8ret\xF8ysinnlogginger",theme:{auto:"Design: system",light:"Design: lyst",dark:"Design: m\xF8rkt"}},footer:{version:{availableShort:"Oppdater",availableLong:"oppdatering tilgjengelig",modalTitle:"Oppdatering tilgjengelig",modalInstalledVersion:"Installert versjon",modalUpdate:"Oppdater",modalCancel:"Avbryt",modalDownload:"Last ned",modalUpdateStatusFailed:"Oppdatering mislyktes: ",modalUpdateStatusStart:"Oppdatering startet: ",modalUpdateNow:"Oppdater n\xE5",modalUpdateStarted:"Evcc vil starte p\xE5 ny etter oppdateringen \u2026",modalNoReleaseNotes:"Ingen utgivelsesnotater tilgjengelig. Mer info om den nye versjonen er \xE5 finne her:"},savings:{tabTitle:"Min data",footerShort:"{percent}% solenergi",footerLong:"{percent}% solcelleenergi",modalTitle:"Oversikt over ladeenergi",percentSelf:"{self} kWt sol",percentGrid:"{self} kWh lysnett",priceTitle:"Kraftpris",priceGrid:"{gridPrice} lysnett",priceFeedIn:"{feedInPrice} subsidiering",savingsTotalEnergy:"{total} kWh ladet",percentTitle:"Solenergi",savingsTitle:"Besparelser",since:"siden {since}",savingsComparedToGrid:"sammenlignet med lysnett"},community:{tabTitle:"Sanntidsgemenskap",greenShareSub1:"ladestr\xF8mmen kommer fra",greenEnergy:"Solenergi",greenShareSub2:"Fotovoltaisk og batterilading",powerSub2:"lades n\xE5",greenShare:"Solcelleandel",greenEnergySub1:"ladet med evcc",greenEnergySub2:"siden Oktober 2022",power:"Ladeeffekt",powerSub1:"{activeClients} av {totalClients} deltagere"},telemetry:{optIn:"Jeg vil ogs\xE5 bidra min data.",optInMoreDetails:"Flere detaljer tilgjengelig p\xE5 {0}.",optInMoreDetailsLink:"her",optInSponsorship:"Sponsing kreves."},sponsor:{titleSponsor:"Du er en st\xF8ttespiller",titleNoSponsor:"St\xF8tt oss",becomeSponsor:"Bli sponsor",confetti:"Klar for konfetti?",sticker:"\u2026 eller evcc-klistremerker?",thanks:"Takk for din st\xF8tte {sponsor}. Det hjelper videre utvikling.",confettiPromise:"Du vil f\xE5 klistremerker og digital konfetti",supportUs:"V\xE5r m\xE5l: \xC5 gj\xF8re solcellelading til normalen. Hjelp til \xE5 kronerulle evcc."}},main:{vehicles:"Parkering",energyflow:{pvProduction:"Produksjon",batteryDischarge:"Batteriutlading",loadpoints:"Ladepunkt | Ladepunkt | {count} ladepunkter",pvExport:"Lysnetteksport",homePower:"Forbruk",battery:"Batteri",batteryCharge:"Batterilading",gridImport:"Lysnettsimport",selfConsumption:"Egenforbruk",noEnergy:"Ingen telleverksdata"},mode:{now:"Raskt",off:"Stopp",minpv:"Min+fotovoltaisk",pv:"Fotovoltaisk"},loadpointSettings:{currents:"Ladestr\xF8m",default:"forvalg",disclaimerHint:"Merknad:",disclaimerText:"Endringene er ikke lagret enda. De vil bli tilbakestilt n\xE5r tjeneren startes p\xE5 ny.",vehicle:"Kj\xF8ret\xF8y",title:'Innstillinger "{0}"',phasesConfigured:{label:"Faser",phases_0:"automatisk bytting",phases_3:"3-fas",phases_1:"1-fas",phases_1_hint:"({min} til {max})",phases_3_hint:"({min} til {max})"},minSoC:{description:'Kurve for n\xF8dsfall. Kj\xF8ret\xF8yet blir "hurtig"-ladet til {0}% i fotovoltaisk modus. Deretter fortsetter det p\xE5 kun solcelleoverskudd."',label:"Minimumsladestand"},maxCurrent:{label:"Maks. ladestr\xF8m"},minCurrent:{label:"Min. ladestr\xF8m"}},vehicle:{targetSoC:"Grense",none:"Ingen kj\xF8ret\xF8y",changeVehicle:"Lad kj\xF8ret\xF8y",detectionActive:"Oppdager kj\xF8ret\xF8y \u2026",vehicleSoC:"Ladestand",fallbackName:"Kj\xF8ret\xF8y",unknown:"Gjestekj\xF8ret\xF8y"},vehicleSoC:{disconnected:"frakoblet",charging:"lader",vehicleTarget:"Kj\xF8ret\xF8ygrense: {soc}%",ready:"klar",connected:"tilkoblet"},vehicleStatus:{waitForVehicle:"Klar. Venter p\xE5 kj\xF8ret\xF8y.",minCharge:"minimumslading til {soc}%.",charging:"Lader \u2026",targetChargePlanned:"M\xE5lladeniv\xE5 planlagt. Starter {time}.",pvEnable:"Overskudd tilgjengelig. Starter om {remaining}.",scale1p:"Reduser til 1-fas om {remaining}.",targetChargeActive:"M\xE5lladeniv\xE5 aktivt.",disconnected:"Frakoblet.",unknown:"",connected:"Tilkoblet.",vehicleTargetReached:"Kj\xF8ret\xF8ygrense p\xE5 {soc}% n\xE5dd.",pvDisable:"Ikke nok overskudd. Tar pause om {remaining}.",scale3p:"\xD8k til 3-fas om {remaining}.",targetChargeWaitForVehicle:"M\xE5lladeniv\xE5 klart. Venter p\xE5 kj\xF8ret\xF8y \u2026"},targetCharge:{inactiveLabel:"M\xE5l-tid",activeLabel:"{time}",description:"N\xE5r skal kj\xF8ret\xF8yet lades til {targetSoC}%?",tomorrow:"i morgen",experimentalLabel:"Eksperimentelt",activate:"Aktiver",experimentalText:"Funksjonen fungerer, men er ikke perfekt. Rapporter uventet oppf\xF8rsel p\xE5",title:"M\xE5l-tid",modalTitle:"Sett m\xE5l-tid",setTargetTime:"ingen",today:"i dag",targetIsInThePast:"Valgt tidspunkt er i fortiden."},targetEnergy:{label:"Grense",noLimit:"ingen"},loadpoint:{duration:"Varighet",charged:"Oppladet",power:"Effekt",fallbackName:"Ladepunkt"},provider:{logout:"logg ut",login:"logg inn"}},startupError:{discussions:"GitHub-diskusjoner",configFile:"Brukt oppsettsfil:",lineErrorLink:"linje {0}",restartButton:"Omstart",lineError:"Feil i {0}",fixAndRestart:"Fiks problemet og start tjeneren om igjen.",title:"Oppstartsfeil",configuration:"Oppsett",description:"Sjekk oppsettsfilen din. Hvis feilmeldingen ikke hjelper kan du ta en titt p\xE5 {0}.",hint:"Merk: En annen grunn til at du ser denne meldingen kan v\xE6re en skadet enhet (omformer, telleverk, \u2026) Sjekk nettverkstilkoblingene dine."},sessions:{title:"Lade\xF8kter",energy:"Oppladet",downloadCsv:"Last ned som CSV",vehicle:"Kj\xF8ret\xF8y",date:"Tidsrom",loadpoint:"Ladepunkt",csv:{odometer:"Kilometerstand",identifier:"Identifikator",chargedenergy:"Energi (kWh)",created:"Opprettet",finished:"Fullf\xF8rt",meterstart:"Telleverksoppstart (kWt)",meterstop:"Telleverksstopp (kWt)",vehicle:"Kj\xF8ret\xF8y",loadpoint:"Ladepunkt"}},offline:{message:"Ingen tilkobling til tjeneren.",reload:"Last inn igjen?"},notifications:{modalTitle:"Merknader",dismissAll:"Forkast alle"}},ZO={header:{sessions:"Sesje \u0142adowania",docs:"Dokumentacja",blog:"Blog",github:"GitHub",login:"Dane logowania pojazdu",about:"O evcc",theme:{auto:"Wygl\u0105d: system",light:"Wygl\u0105d: \u015Bwiat\u0142y",dark:"Wygl\u0105d: ciemny"}},footer:{version:{availableShort:"aktualizacja",availableLong:"dost\u0119pna aktualizacja",modalTitle:"Dost\u0119pna aktualizacja",modalUpdateStarted:"Evcc uruchomi si\u0119 ponownie po aktualizacji..",modalInstalledVersion:"Obecnie zainstalowana wersja",modalNoReleaseNotes:"Brak dost\u0119pnych notatek. Wi\u0119cej informacji o nowej wersji mo\u017Cna znale\u017A\u0107 tutaj:",modalCancel:"Anuluj",modalUpdate:"Aktualizuj",modalUpdateNow:"Aktualizuj teraz",modalDownload:"Pobierz",modalUpdateStatusStart:"Aktualizacja rozpocz\u0119ta:",modalUpdateStatusFailed:"Aktualizacja nie powiod\u0142a si\u0119:"},savings:{tabTitle:"Moje dane",footerShort:"{percent}% s\u0142o\u0144ce",footerLong:"{percent}% energii s\u0142onecznej",modalTitle:"Przegl\u0105d energii \u0142adowania",since:"od {since}",percentTitle:"Energia s\u0142oneczna",percentSelf:"{self} kWh s\u0142o\u0144ce",percentGrid:"{grid} kWh sie\u0107",priceTitle:"Cena energii",priceFeedIn:"{feedInPrice} eksport",priceGrid:"{gridPrice} sie\u0107",savingsTitle:"Oszcz\u0119dno\u015Bci",savingsComparedToGrid:"w por\xF3wnaniu z sieci\u0105",savingsTotalEnergy:"{total} kWh na\u0142adowanych"},community:{tabTitle:"Aktualne dane spo\u0142eczno\u015Bci",power:"Moc \u0142adowania",powerSub1:"{activeClients} z {totalClients} uczestnik\xF3w",powerSub2:"\u0142aduj\u0105 si\u0119 teraz",greenShare:"Energii s\u0142onecznej",greenShareSub1:"zasilanie jest dostarczone przez",greenShareSub2:"s\u0142o\u0144ce i domowe akumulatory energii",greenEnergy:"Energia s\u0142oneczna",greenEnergySub1:"na\u0142adowany z evcc",greenEnergySub2:"od Pa\u017Adziernika 2022"},telemetry:{optIn:"Chc\u0119 te\u017C udost\u0119pni\u0107 swoje dane.",optInMoreDetails:"Wi\u0119cej szczeg\xF3\u0142\xF3w jest dost\u0119pnych {0}.",optInMoreDetailsLink:"tutaj",optInSponsorship:"Wymagany sponsoring."},sponsor:{titleSponsor:"Jeste\u015B sponsorem",titleNoSponsor:"Wesprzyj nas",thanks:"Dzi\u0119ki za wsparcie, {sponsor}! Pomaga nam to w dalszym rozwoju.",confetti:"Gotowy na konfetti?",supportUs:"Nasza misja: Spraw, aby \u0142adowanie s\u0142oneczne sta\u0142o si\u0119 standardem. Pom\xF3\u017C nam i wesprzyj evcc finansowo.",sticker:"...lub naklejki evcc?",confettiPromise:"B\u0119d\u0105 naklejki i cyfrowe konfetti ;)",becomeSponsor:"Zosta\u0144 sponsorem"}},notifications:{modalTitle:"Powiadomienia",dismissAll:"Odrzu\u0107 wszystkie"},main:{vehicles:"Gara\u017C",energyflow:{noEnergy:"Brak danych licznika",homePower:"Zu\u017Cycie",pvProduction:"Produkcja",loadpoints:"\u0141adowarka | \u0141adowarka | {count} \u0141adowarki",battery:"Bateria",batteryCharge:"\u0141adowanie baterii",batteryDischarge:"Roz\u0142adowanie baterii",gridImport:"Import z sieci",selfConsumption:"Konsumpcja w\u0142asna",pvExport:"Eksport na siec"},mode:{off:"Wy\u0142\u0105czony",minpv:"Min+S\u0142o\u0144ce",pv:"S\u0142o\u0144ce",now:"Szybko"},loadpoint:{fallbackName:"\u0141adowarka",remoteDisabledSoft:"{source}: adaptacyjne \u0142adowanie s\u0142onecznie wy\u0142\u0105czone",remoteDisabledHard:"{source}: wy\u0142\u0105czone",power:"Moc",charged:"Na\u0142adowano",duration:"Czas trwania",remaining:"Pozosta\u0142o"},loadpointSettings:{title:'Ustawienia "{0}"',vehicle:"Pojazd",currents:"\u0141adowanie",default:"domy\u015Blny",disclaimerHint:"Uwaga:",disclaimerText:"Zmiany nie s\u0105 jeszcze trwa\u0142e. Zostan\u0105 zresetowane po restarcie serwera.",minSoC:{label:"Minimalny SoC",description:'Zasi\u0119g w sytuacjach awaryjnych. Pojazd jest \u201Eszybko\u201D \u0142adowany do {0}% w trybie "S\u0142o\u0144ce". Nast\u0119pnie kontynuuje tylko z nadwy\u017Ck\u0105 fotowoltaiczn\u0105.'},phasesConfigured:{label:"Fazy",phases_0:"automatyczne prze\u0142\u0105czanie",phases_1:"1 faza",phases_1_hint:"({min} do {max})",phases_3:"3 fazy",phases_3_hint:"({min} do {max})"},maxCurrent:{label:"Maks. pr\u0105d"},minCurrent:{label:"Min. Pr\u0105d"}},vehicle:{fallbackName:"Pojazd",vehicleSoC:"SoC",targetSoC:"Ograniczenie",none:"Brak pojazdu",unknown:"Pojazd go\u015Bcia",changeVehicle:"Zmie\u0144 pojazd",detectionActive:"Wykrywanie pojazdu ..."},vehicleSoC:{disconnected:"od\u0142\u0105czony",charging:"\u0142aduje si\u0119",ready:"gotowy",connected:"po\u0142\u0105czony",vehicleTarget:"Limit pojazdu: {soc}%"},vehicleStatus:{minCharge:"minimalne \u0142adowanie do {soc}%.",waitForVehicle:"Gotowe. Czekam na pojazd.",vehicleTargetReached:"Osi\u0105gni\u0119to limit pojazdu {soc}%.",charging:"\u0141aduje si\u0119.",targetChargePlanned:"Zaplanowane \u0142adowanie. Zacznie si\u0119 {time}.",targetChargeWaitForVehicle:"Zaplanowane \u0142adowanie. Czekajem na pojazd.",targetChargeActive:"Zaplanowane \u0142adowanie aktywno.",connected:"Po\u0142\u0105czony.",pvDisable:"Za ma\u0142o nadwy\u017Cki. Pauza po {remaining}.",pvEnable:"Dost\u0119pna nadwy\u017Cka. Pocz\u0105wszy po {remaining}.",scale1p:"Zredukuje do jednej fazy po {remaining}.",scale3p:"Zwi\u0119kszie do trzech faz po {remaining}.",disconnected:"Roz\u0142\u0105czony.",unknown:""},provider:{login:"zaloguj si\u0119",logout:"wyloguj"},targetCharge:{title:"Czas Docelowy",inactiveLabel:"Czas docelowy",activeLabel:"{time}",modalTitle:"Ustaw docelowy czas",setTargetTime:"brak",description:"Kiedy pojazd powinien zosta\u0107 naladowany do {targetSoC}%?",today:"dzisiaj",tomorrow:"jutro",targetIsInThePast:"Wybrany czas jest w przesz\u0142o\u015Bci.",remove:"Usu\u0144",activate:"Aktywuj",experimentalLabel:"Eksperymentalna",experimentalText:"Ta funkcja dzia\u0142a, ale nie jest jeszcze doskona\u0142a. Zg\u0142o\u015B nieoczekiwane zachowanie do naszego"},targetEnergy:{label:"Ograniczenie",noLimit:"brak"}},startupError:{title:"B\u0142\u0105d uruchamiania",description:"Sprawd\u017A sw\xF3j plik konfiguracyjny. Je\u015Bli komunikat o b\u0142\u0119dzie nie pomo\u017Ce, zapoznaj si\u0119 z naszym {0}.",discussions:"Dyskusje GitHub",hint:"Uwaga: Inn\u0105 przyczyn\u0105 tego komunikatu mo\u017Ce by\u0107 wadliwe urz\u0105dzenie (inwerter, licznik, ...). Sprawd\u017A po\u0142\u0105czenia sieciowe.",configuration:"Konfiguracja",configFile:"U\u017Cywany plik konfiguracyjny:",lineError:"Znale\u017Ali\u015Bmy b\u0142\u0105d w {0}.",lineErrorLink:"wiersz {0}",fixAndRestart:"Napraw problem i zrestartuj serwer.",restartButton:"Restartuj"},sessions:{title:"Sesje \u0142adowania",downloadCsv:"Pobierz jako CSV",loadpoint:"\u0141adowarka",vehicle:"Pojazd",energy:"Na\u0142adowano",date:"Okres",csv:{loadpoint:"\u0141adowarka",vehicle:"Pojazd",odometer:"Przebieg (km)",identifier:"Identyfikator",chargedenergy:"Energia (kWh)",meterstart:"Pocz\u0105tek licznika (kWh)",meterstop:"Koniec licznika (kWh)",created:"Stworzony",finished:"Zako\u0144czony"}},offline:{message:"Brak po\u0142\u0105czenia z serwerem.",reload:"Prze\u0142adowa\u0107?"}},XO={header:{sessions:"Processos de carregamento",docs:"Documenta\xE7\xE3o",blog:"Blog",github:"GitHub",login:"Login de ve\xEDculo",about:"Sobre evcc",theme:{auto:"Design: Sistema",light:"Design: Claro",dark:"Design: Escuro"}},footer:{version:{availableShort:"Atualiza\xE7\xE3o",availableLong:"Atualiza\xE7\xE3o dispon\xEDvel",modalTitle:"Atualiza\xE7\xE3o dispon\xEDvel",modalUpdateStarted:"Ap\xF3s a atualiza\xE7\xE3o, o evcc ser\xE1 reiniciado.",modalInstalledVersion:"Vers\xE3o atualmente instalada",modalNoReleaseNotes:"Nenhuma nota de vers\xE3o dispon\xEDvel. Voc\xEA pode encontrar mais informa\xE7\xF5es sobre a nova vers\xE3o aqui:",modalCancel:"Cancelar",modalUpdate:"Atualizar",modalUpdateNow:"Atualizar agora",modalDownload:"Download",modalUpdateStatusStart:"Atualiza\xE7\xE3o iniciada: ",modalUpdateStatusFailed:"N\xE3o foi poss\xEDvel atualizar: "},savings:{tabTitle:"Meus dados",footerShort:"{percent}% Sol",footerLong:"{percent}% Energia solar",modalTitle:"Avalia\xE7\xE3o da energia de carregamento",since:"desde {since}",percentTitle:"Energia solar",percentSelf:"{self} kWh sol",percentGrid:"{grid} kWh rede",priceTitle:"pre\xE7o da energia",priceFeedIn:"{feedInPrice} alimenta\xE7\xE3o",priceGrid:"{gridPrice} rede",savingsTitle:"Poupan\xE7a",savingsComparedToGrid:"em rela\xE7\xE3o a rede",savingsTotalEnergy:"{total} kWh carregado"},community:{tabTitle:"Live-Community",power:"Poder de carregamento",powerSub1:"{activeClients} de {totalClients} utilizadores",powerSub2:"carregam com evcc",greenShare:"Parte solar",greenShareSub1:"do desempenho vem",greenShareSub2:"de fotovoltaico e bateria dom\xE9stica",greenEnergy:"Energia solar",greenEnergySub1:"desde Outubro 2022",greenEnergySub2:"carregado sobre evcc"},telemetry:{optIn:"Tamb\xE9m gostaria de contribuir com meus dados.",optInMoreDetails:"Mais detalhes h\xE1 {0}.",optInMoreDetailsLink:"aqui",optInSponsorship:"Requer patroc\xEDnio."},sponsor:{titleSponsor:"Voc\xEA \xE9 um apoiador",titleNoSponsor:"Apoie-nos",thanks:"Obrigado por seu patroc\xEDnio, {sponsor}! Isso nos ajuda em um maior desenvolvimento.",confetti:"Gosta de confete?",supportUs:"Nossa miss\xE3o: tornar carrega solar a norma. Ajude-nos e apoie financeiramente o evcc.",sticker:"...ou autocolantes do evcc?",confettiPromise:"Tamb\xE9m temos autocolantes e confete digital ;)",becomeSponsor:"Torne-se um patrocinador"}},notifications:{modalTitle:"Not\xEDcias",dismissAll:"Remover not\xEDcias"},main:{vehicles:"Estacionamento",energyflow:{noEnergy:"Sem leituras",homePower:"Consumo",pvProduction:"Produ\xE7\xE3o",loadpoints:"Ponto de carregamento | Ponto de carregamento | {count} pontos de carregamento",battery:"Bateria",batteryCharge:"Carrego de bateria",batteryDischarge:"Descarrego de bateria",gridImport:"Consumo de rede",selfConsumption:"Consumo pr\xF3prio",pvExport:"Alimenta\xE7\xE3o"},mode:{off:"Desligado",minpv:"M\xEDnimo e PV",pv:"PV",now:"R\xE1pido"},loadpoint:{fallbackName:"Ponto de carregamento",remoteDisabledSoft:"{source}:carregamento PV adapt\xE1vel desativado",remoteDisabledHard:"{source}: desativado",power:"Desempenho",charged:"Carregado",duration:"Dura\xE7\xE3o",remaining:"Tempo restante"},loadpointSettings:{title:'Configura\xE7\xF5es "{0}"',vehicle:"Ve\xEDculo",currents:"Corrente de carga",default:"predefinado",disclaimerHint:"Aviso:",disclaimerText:"As altera\xE7\xF5es n\xE3o s\xE3o persistentes no momento e ser\xE3o redefinidas ap\xF3s a reinicializa\xE7\xE3o do servidor.",minSoC:{label:"N\xEDvel m\xEDnimo de carga",description:'Alcance para emerg\xEAncias. O ve\xEDculo carrega at\xE9 {0}% no modo "R\xE1pido". Em seguida, continue com o modo "PV".'},phasesConfigured:{label:"Fases el\xE9tricas",phases_0:"mudan\xE7a autom\xE1tica",phases_1:"monof\xE1sico",phases_1_hint:"({min} a {max})",phases_3:"trif\xE1sico",phases_3_hint:"({min} a {max})"},maxCurrent:{label:"Corrente de carga m\xE1xima"},minCurrent:{label:"Corrente de carga m\xEDnima"}},vehicle:{fallbackName:"Ve\xEDculo",vehicleSoC:"N\xEDvel de carga",targetSoC:"Alvo de carregamento",none:"Nenhum ve\xEDculo",unknown:"Ve\xEDculo convidado",changeVehicle:"Troca de ve\xEDculo",detectionActive:"Detec\xE7\xE3o de ve\xEDculo em obra..."},vehicleSoC:{disconnected:"separado",charging:"a carregar",ready:"esperando",connected:"ligado",vehicleTarget:"Limite de ve\xEDculo: {soc}%"},vehicleStatus:{minCharge:"Carga m\xEDnima at\xE9 {soc}%",waitForVehicle:"Pronto para carregar. Esperando pelo ve\xEDculo.",vehicleTargetReached:"Limite de ve\xEDculo {soc}% atingido.",charging:"Carregando.",targetChargePlanned:"Carga programada. A carga come\xE7a \xE0s {time} horas.",targetChargeWaitForVehicle:"Carga programada pronta. Esperando pelo ve\xEDculo.",targetChargeActive:"Carga programada ativa.",connected:"Ligado.",pvDisable:"Excesso insuficiente. Pausa em {remaining}.",pvEnable:"Excesso dispon\xEDvel. Carga em {remaining}.",scale1p:"Reduzir para monof\xE1sico em {remaining}.",scale3p:"Aumente para trif\xE1sico em {remaining}.",disconnected:"N\xE3o conectado.",unknown:""},provider:{login:"entrar no sistema",logout:"sair do sistema"},targetCharge:{title:"Tempo alvo",inactiveLabel:"Tempo alvo",activeLabel:"{time}",modalTitle:"Definir hora-alvo",setTargetTime:"sem",description:"Quando o ve\xEDculo deve ser carregado para {targetSoC}%?",today:"hoje",tomorrow:"amanh\xE3",targetIsInThePast:"O ponto do tempo est\xE1 no passado.",remove:"Remover",activate:"Ativar",experimentalLabel:"Experimental",experimentalText:"Esta fun\xE7\xE3o est\xE1 a trabalhar, mas ainda n\xE3o est\xE1 perfeito. Relate um comportamento inesperado em nossos"},targetEnergy:{label:"Alvo de carregamento",noLimit:"sem"}},startupError:{title:"Erro ao iniciar",description:"Verifique seu ficheiro de configura\xE7\xE3o. Se a mensagem de erro n\xE3o ajudar, procure em nossas {0} uma solu\xE7\xE3o.",discussions:"GitHub Discussions",hint:"Nota: Outra raz\xE3o pela qual voc\xEA v\xEA esta mensagem pode ser um equipamento com defeito (inversor, medidor, ...). Verifique tambem suas conex\xF5es de rede.",configuration:"Configura\xE7\xE3o",configFile:"Ficheiro de configura\xE7\xE3o em uso:",lineError:"Foi encontrado um erro em {0}.",lineErrorLink:"linha {0}",fixAndRestart:"Corrija o problema e reinicie o servidor.",restartButton:"Iniciar de novo"},sessions:{title:"Processos de carregamento",downloadCsv:"Descarregar como CSV",loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",odometer:"Quilometragem",energy:"Carregado",date:"Per\xEDodo",csv:{loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",identifier:"Identificador",chargedenergy:"Energia (kWh)",meterstart:"Leitura inicial do contador (kWh)",meterstop:"Leitura final do contador (kWh)",created:"hora de in\xEDcio",finished:"hora final"}},offline:{message:"Sem conex\xE3o com o servidor.",reload:"Iniciar de novo?"}},JO="preferred_locale";function e$(){const t=navigator.languages!==void 0?navigator.languages[0]:navigator.language;if(!!t)return t.trim().split(/-|_/)[0]}const t$=IO({locale:window.localStorage[JO]||e$(),fallbackLocale:"en",messages:{de:BO,en:UO,fr:WO,it:QO,lt:KO,nb_no:GO,nl:YO,pl:ZO,pt:XO}}),n$={install:t=>{t.config.globalProperties.$hiddenFeatures=window.localStorage.hidden_features==="true"}};By.polyfill();const ii=dE({data(){return{notifications:[],offline:!1}},watch:{offline:function(t){console.log(`we are ${t?"offline":"online"}`)}},methods:{raise:function(t){console[t.type](t);const e=new Date,n=this.notifications[0];n&&n.message===t.message?(n.count++,n.time=e):this.notifications=[{...t,count:1,time:e},...this.notifications]},clear:function(){this.notifications=[]},error:function(t){t.type="error",this.raise(t)},setOnline:function(){this.offline=!1},setOffline:function(){this.offline=!0},warn:function(t){t.type="warn",this.raise(t)}},render:function(){return Tr(ME,{notifications:this.notifications,offline:this.offline})}});ii.use(t$);ii.use(cI);ii.use(SE());ii.use(xE);ii.use(n$);ii.use(I_);window.app=ii.mount("#app");vC()});export default r$(); + */const EO="9.2.2";function TO(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ns().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ns().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1)}iO.__EXTEND_POINT__;let N1=Pe.__EXTEND_POINT__;const wt=()=>++N1,Xe={UNEXPECTED_RETURN_TYPE:N1,INVALID_ARGUMENT:wt(),MUST_BE_CALL_SETUP_TOP:wt(),NOT_INSLALLED:wt(),NOT_AVAILABLE_IN_LEGACY_MODE:wt(),REQUIRED_VALUE:wt(),INVALID_VALUE:wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:wt(),NOT_INSLALLED_WITH_PROVIDE:wt(),UNEXPECTED_ERROR:wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:wt(),BRIDGE_SUPPORT_VUE_2_ONLY:wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:wt(),__EXTEND_POINT__:wt()};function tt(t,...e){return Ua(t,null,void 0)}const qc=Sr("__transrateVNode"),Hc=Sr("__datetimeParts"),jc=Sr("__numberParts"),M1=Sr("__setPluralRules");Sr("__intlifyMeta");const I1=Sr("__injectWithOption");function zc(t){if(!Ve(t))return t;for(const e in t)if(!!hd(t,e))if(!e.includes("."))Ve(t[e])&&zc(t[e]);else{const n=e.split("."),r=n.length-1;let i=t;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||{},Ms(c,o[l])):Ms(c,o)}else te(a)&&Ms(JSON.parse(a),o)}),i==null&&s)for(const a in o)hd(o,a)&&zc(o[a]);return o}const Lo=t=>!Ve(t)||Re(t);function Ms(t,e){if(Lo(t)||Lo(e))throw tt(Xe.INVALID_VALUE);for(const n in t)hd(t,n)&&(Lo(t[n])||Lo(e[n])?e[n]=t[n]:Ms(t[n],e[n]))}function O1(t){return t.type}function $1(t,e,n){let r=Ve(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=Qa(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{t.mergeLocaleMessage(s,r[s])});{if(Ve(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Ve(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function wm(t){return ne(oo,null,t,0)}const Em="__INTLIFY_META__";let Tm=0;function Cm(t){return(e,n,r,i)=>t(n,r,Pn()||void 0,i)}const CO=()=>{const t=Pn();let e=null;return t&&(e=O1(t)[Em])?{[Em]:e}:null};function _d(t={},e){const{__root:n}=t,r=n===void 0;let i=Ce(t.inheritLocale)?t.inheritLocale:!0;const s=cn(n&&i?n.locale.value:te(t.locale)?t.locale:fo),o=cn(n&&i?n.fallbackLocale.value:te(t.fallbackLocale)||Re(t.fallbackLocale)||ge(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),a=cn(Qa(s.value,t)),l=cn(ge(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),c=cn(ge(t.numberFormats)?t.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:Ce(t.missingWarn)||vr(t.missingWarn)?t.missingWarn:!0,f=n?n.fallbackWarn:Ce(t.fallbackWarn)||vr(t.fallbackWarn)?t.fallbackWarn:!0,d=n?n.fallbackRoot:Ce(t.fallbackRoot)?t.fallbackRoot:!0,h=!!t.fallbackFormat,w=Ke(t.missing)?t.missing:null,g=Ke(t.missing)?Cm(t.missing):null,E=Ke(t.postTranslation)?t.postTranslation:null,_=n?n.warnHtmlMessage:Ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter;const S=n?n.modifiers:ge(t.modifiers)?t.modifiers:{};let b=t.pluralRules||n&&n.pluralRules,y;y=(()=>{r&&fm(null);const I={version:EO,locale:s.value,fallbackLocale:o.value,messages:a.value,modifiers:S,pluralRules:b,missing:g===null?void 0:g,missingWarn:u,fallbackWarn:f,fallbackFormat:h,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:_,escapeParameter:T,messageResolver:t.messageResolver,__meta:{framework:"vue"}};I.datetimeFormats=l.value,I.numberFormats=c.value,I.__datetimeFormatters=ge(y)?y.__datetimeFormatters:void 0,I.__numberFormatters=ge(y)?y.__numberFormatters:void 0;const D=pO(I);return r&&fm(D),D})(),hs(y,s.value,o.value);function L(){return[s.value,o.value,a.value,l.value,c.value]}const M=je({get:()=>s.value,set:I=>{s.value=I,y.locale=s.value}}),O=je({get:()=>o.value,set:I=>{o.value=I,y.fallbackLocale=o.value,hs(y,s.value,I)}}),z=je(()=>a.value),G=je(()=>l.value),J=je(()=>c.value);function re(){return Ke(E)?E:null}function $(I){E=I,y.postTranslation=I}function P(){return w}function Q(I){I!==null&&(g=Cm(I)),w=I,y.missing=g}const U=(I,D,ie,se,_e,ke)=>{L();let Te;if(__INTLIFY_PROD_DEVTOOLS__)try{dm(CO()),r||(y.fallbackContext=n?mO():void 0),Te=I(y)}finally{dm(null),r||(y.fallbackContext=void 0)}else Te=I(y);if(et(Te)&&Te===Wa){const[Be,zt]=D();return n&&d?se(n):_e(Be)}else{if(ke(Te))return Te;throw tt(Xe.UNEXPECTED_RETURN_TYPE)}};function X(...I){return U(D=>Reflect.apply(gm,null,[D,...I]),()=>Rc(...I),"translate",D=>Reflect.apply(D.t,D,[...I]),D=>D,D=>te(D))}function oe(...I){const[D,ie,se]=I;if(se&&!Ve(se))throw tt(Xe.INVALID_ARGUMENT);return X(D,ie,it({resolvedMessage:!0},se||{}))}function ue(...I){return U(D=>Reflect.apply(_m,null,[D,...I]),()=>Vc(...I),"datetime format",D=>Reflect.apply(D.d,D,[...I]),()=>cm,D=>te(D))}function ce(...I){return U(D=>Reflect.apply(bm,null,[D,...I]),()=>Fc(...I),"number format",D=>Reflect.apply(D.n,D,[...I]),()=>cm,D=>te(D))}function de(I){return I.map(D=>te(D)||et(D)||Ce(D)?wm(String(D)):D)}const he={normalize:de,interpolate:I=>I,type:"vnode"};function V(...I){return U(D=>{let ie;const se=D;try{se.processor=he,ie=Reflect.apply(gm,null,[se,...I])}finally{se.processor=null}return ie},()=>Rc(...I),"translate",D=>D[qc](...I),D=>[wm(D)],D=>Re(D))}function Z(...I){return U(D=>Reflect.apply(bm,null,[D,...I]),()=>Fc(...I),"number format",D=>D[jc](...I),()=>[],D=>te(D)||Re(D))}function j(...I){return U(D=>Reflect.apply(_m,null,[D,...I]),()=>Vc(...I),"datetime format",D=>D[Hc](...I),()=>[],D=>te(D)||Re(D))}function ee(I){b=I,y.pluralRules=b}function pe(I,D){const ie=te(D)?D:s.value,se=C(ie);return y.messageResolver(se,I)!==null}function ye(I){let D=null;const ie=y1(y,o.value,s.value);for(let se=0;se{i&&(s.value=I,y.locale=I,hs(y,s.value,o.value))}),ar(n.fallbackLocale,I=>{i&&(o.value=I,y.fallbackLocale=I,hs(y,s.value,o.value))}));const H={id:Tm,locale:M,fallbackLocale:O,get inheritLocale(){return i},set inheritLocale(I){i=I,I&&n&&(s.value=n.locale.value,o.value=n.fallbackLocale.value,hs(y,s.value,o.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:z,get modifiers(){return S},get pluralRules(){return b||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(I){u=I,y.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(I){f=I,y.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(I){d=I},get fallbackFormat(){return h},set fallbackFormat(I){h=I,y.fallbackFormat=h},get warnHtmlMessage(){return _},set warnHtmlMessage(I){_=I,y.warnHtmlMessage=I},get escapeParameter(){return T},set escapeParameter(I){T=I,y.escapeParameter=I},t:X,getLocaleMessage:C,setLocaleMessage:m,mergeLocaleMessage:p,getPostTranslationHandler:re,setPostTranslationHandler:$,getMissingHandler:P,setMissingHandler:Q,[M1]:ee};return H.datetimeFormats=G,H.numberFormats=J,H.rt=oe,H.te=pe,H.tm=fe,H.d=ue,H.n=ce,H.getDateTimeFormat=k,H.setDateTimeFormat=N,H.mergeDateTimeFormat=q,H.getNumberFormat=B,H.setNumberFormat=W,H.mergeNumberFormat=Y,H[I1]=t.__injectWithOption,H[qc]=V,H[Hc]=j,H[jc]=Z,H}function SO(t){const e=te(t.locale)?t.locale:fo,n=te(t.fallbackLocale)||Re(t.fallbackLocale)||ge(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=Ke(t.missing)?t.missing:void 0,i=Ce(t.silentTranslationWarn)||vr(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,s=Ce(t.silentFallbackWarn)||vr(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,o=Ce(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,l=ge(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,u=Ke(t.postTranslation)?t.postTranslation:void 0,f=te(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,d=!!t.escapeParameterHtml,h=Ce(t.sync)?t.sync:!0;let w=t.messages;if(ge(t.sharedMessages)){const y=t.sharedMessages;w=Object.keys(y).reduce((L,M)=>{const O=L[M]||(L[M]={});return it(O,y[M]),L},w||{})}const{__i18n:g,__root:E,__injectWithOption:_}=t,T=t.datetimeFormats,S=t.numberFormats,b=t.flatJson;return{locale:e,fallbackLocale:n,messages:w,flatJson:b,datetimeFormats:T,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:t.messageResolver,inheritLocale:h,__i18n:g,__root:E,__injectWithOption:_}}function Bc(t={},e){{const n=_d(SO(t)),r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return Ce(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ce(i)?!i:i},get silentFallbackWarn(){return Ce(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ce(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[s,o,a]=i,l={};let c=null,u=null;if(!te(s))throw tt(Xe.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:Re(o)?c=o:ge(o)&&(u=o),Re(a)?c=a:ge(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[s,o,a]=i,l={plural:1};let c=null,u=null;if(!te(s))throw tt(Xe.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:et(o)?l.plural=o:Re(o)?c=o:ge(o)&&(u=o),te(a)?l.locale=a:Re(a)?c=a:ge(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},te(i,s){return n.te(i,s)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,s){n.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){n.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,s){n.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){n.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,s){n.setNumberFormat(i,s)},mergeNumberFormat(i,s){n.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:s}=t;s&&s(i,r)}};return r}}const vd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function kO({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,i)=>r=[...r,...Re(i.children)?i.children:[i]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},{})}function D1(t){return Ae}const Sm={name:"i18n-t",props:it({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>et(t)||!isNaN(t)}},vd),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||bd({useScope:t.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),o={};t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=te(t.plural)?+t.plural:t.plural);const a=kO(e,s),l=i[qc](t.keypath,a,o),c=it({},r),u=te(t.tag)||Ve(t.tag)?t.tag:D1();return Tr(u,c,l)}}};function AO(t){return Re(t)&&!te(t[0])}function R1(t,e,n,r){const{slots:i,attrs:s}=e;return()=>{const o={part:!0};let a={};t.locale&&(o.locale=t.locale),te(t.format)?o.key=t.format:Ve(t.format)&&(te(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((d,h)=>n.includes(h)?it({},d,{[h]:t.format[h]}):d,{}));const l=r(t.value,o,a);let c=[o.key];Re(l)?c=l.map((d,h)=>{const w=i[d.type],g=w?w({[d.type]:d.value,index:h,parts:l}):[d.value];return AO(g)&&(g[0].key=`${d.type}-${h}`),g}):te(l)&&(c=[l]);const u=it({},s),f=te(t.tag)||Ve(t.tag)?t.tag:D1();return Tr(f,u,c)}}const km={name:"i18n-n",props:it({value:{type:Number,required:!0},format:{type:[String,Object]}},vd),setup(t,e){const n=t.i18n||bd({useScope:"parent",__useComponent:!0});return R1(t,e,P1,(...r)=>n[jc](...r))}},Am={name:"i18n-d",props:it({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vd),setup(t,e){const n=t.i18n||bd({useScope:"parent",__useComponent:!0});return R1(t,e,L1,(...r)=>n[Hc](...r))}};function xO(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function LO(t){const e=o=>{const{instance:a,modifiers:l,value:c}=o;if(!a||!a.$)throw tt(Xe.UNEXPECTED_ERROR);const u=xO(t,a.$),f=xm(c);return[Reflect.apply(u.t,u,[...Lm(f)]),u]};return{created:(o,a)=>{const[l,c]=e(a);$c&&t.global===c&&(o.__i18nWatcher=ar(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{$c&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=xm(a);o.textContent=Reflect.apply(l.t,l,[...Lm(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function xm(t){if(te(t))return{path:t};if(ge(t)){if(!("path"in t))throw tt(Xe.REQUIRED_VALUE,"path");return t}else throw tt(Xe.INVALID_VALUE)}function Lm(t){const{path:e,locale:n,args:r,choice:i,plural:s}=t,o={},a=r||{};return te(n)&&(o.locale=n),et(i)&&(o.plural=i),et(s)&&(o.plural=s),[e,a,o]}function PO(t,e,...n){const r=ge(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ce(r.globalInstall)?r.globalInstall:!0)&&(t.component(i?"i18n":Sm.name,Sm),t.component(km.name,km),t.component(Am.name,Am)),t.directive("t",LO(e))}function NO(t,e,n){return{beforeCreate(){const r=Pn();if(!r)throw tt(Xe.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;i.__i18n&&(s.__i18n=i.__i18n),s.__root=e,this===this.$root?this.$i18n=Pm(t,s):(s.__injectWithOption=!0,this.$i18n=Bc(s))}else i.__i18n?this===this.$root?this.$i18n=Pm(t,i):this.$i18n=Bc({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;i.__i18nGlobal&&$1(e,i,i),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){},unmounted(){const r=Pn();if(!r)throw tt(Xe.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function Pm(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[M1](e.pluralizationRules||t.pluralizationRules);const n=Qa(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(r=>t.mergeLocaleMessage(r,n[r])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(r=>t.mergeDateTimeFormat(r,e.datetimeFormats[r])),e.numberFormats&&Object.keys(e.numberFormats).forEach(r=>t.mergeNumberFormat(r,e.numberFormats[r])),t}const MO=Sr("global-vue-i18n");function IO(t={},e){const n=__VUE_I18N_LEGACY_API__&&Ce(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,r=Ce(t.globalInjection)?t.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,s=new Map,[o,a]=OO(t,n),l=Sr("");function c(d){return s.get(d)||null}function u(d,h){s.set(d,h)}function f(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(h,...w){h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,d),!n&&r&&zO(h,d.global),__VUE_I18N_FULL_INSTALL__&&PO(h,d,...w),__VUE_I18N_LEGACY_API__&&n&&h.mixin(NO(a,a.__composer,d));const g=h.unmount;h.unmount=()=>{d.dispose(),g()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function bd(t={}){const e=Pn();if(e==null)throw tt(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw tt(Xe.NOT_INSLALLED);const n=$O(e),r=RO(n),i=O1(e),s=DO(t,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw tt(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return qO(e,s,r,t)}if(s==="global")return $1(r,t,i),r;if(s==="parent"){let l=VO(n,e,t.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=it({},t);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=_d(l),FO(o,e),o.__setInstance(e,a)}return a}function OO(t,e,n){const r=s5();{const i=__VUE_I18N_LEGACY_API__&&e?r.run(()=>Bc(t)):r.run(()=>_d(t));if(i==null)throw tt(Xe.UNEXPECTED_ERROR);return[r,i]}}function $O(t){{const e=kn(t.isCE?MO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw tt(t.isCE?Xe.NOT_INSLALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function DO(t,e){return Ba(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function RO(t){return t.mode==="composition"?t.global:t.global.__composer}function VO(t,e,n=!1){let r=null;const i=e.root;let s=e.parent;for(;s!=null;){const o=t;if(t.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[I1]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function FO(t,e,n){ku(()=>{},e),Pa(()=>{t.__deleteInstance(e)},e)}function qO(t,e,n,r={}){const i=e==="local",s=Zp(null);if(i&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw tt(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Ce(r.inheritLocale)?r.inheritLocale:!0,a=cn(i&&o?n.locale.value:te(r.locale)?r.locale:fo),l=cn(i&&o?n.fallbackLocale.value:te(r.fallbackLocale)||Re(r.fallbackLocale)||ge(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),c=cn(Qa(a.value,r)),u=cn(ge(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=cn(ge(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=i?n.missingWarn:Ce(r.missingWarn)||vr(r.missingWarn)?r.missingWarn:!0,h=i?n.fallbackWarn:Ce(r.fallbackWarn)||vr(r.fallbackWarn)?r.fallbackWarn:!0,w=i?n.fallbackRoot:Ce(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,E=Ke(r.missing)?r.missing:null,_=Ke(r.postTranslation)?r.postTranslation:null,T=i?n.warnHtmlMessage:Ce(r.warnHtmlMessage)?r.warnHtmlMessage:!0,S=!!r.escapeParameter,b=i?n.modifiers:ge(r.modifiers)?r.modifiers:{},y=r.pluralRules||i&&n.pluralRules;function A(){return[a.value,l.value,c.value,u.value,f.value]}const L=je({get:()=>s.value?s.value.locale.value:a.value,set:p=>{s.value&&(s.value.locale.value=p),a.value=p}}),M=je({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:p=>{s.value&&(s.value.fallbackLocale.value=p),l.value=p}}),O=je(()=>s.value?s.value.messages.value:c.value),z=je(()=>u.value),G=je(()=>f.value);function J(){return s.value?s.value.getPostTranslationHandler():_}function re(p){s.value&&s.value.setPostTranslationHandler(p)}function $(){return s.value?s.value.getMissingHandler():E}function P(p){s.value&&s.value.setMissingHandler(p)}function Q(p){return A(),p()}function U(...p){return s.value?Q(()=>Reflect.apply(s.value.t,null,[...p])):Q(()=>"")}function X(...p){return s.value?Reflect.apply(s.value.rt,null,[...p]):""}function oe(...p){return s.value?Q(()=>Reflect.apply(s.value.d,null,[...p])):Q(()=>"")}function ue(...p){return s.value?Q(()=>Reflect.apply(s.value.n,null,[...p])):Q(()=>"")}function ce(p){return s.value?s.value.tm(p):{}}function de(p,k){return s.value?s.value.te(p,k):!1}function Ie(p){return s.value?s.value.getLocaleMessage(p):{}}function he(p,k){s.value&&(s.value.setLocaleMessage(p,k),c.value[p]=k)}function V(p,k){s.value&&s.value.mergeLocaleMessage(p,k)}function Z(p){return s.value?s.value.getDateTimeFormat(p):{}}function j(p,k){s.value&&(s.value.setDateTimeFormat(p,k),u.value[p]=k)}function ee(p,k){s.value&&s.value.mergeDateTimeFormat(p,k)}function pe(p){return s.value?s.value.getNumberFormat(p):{}}function ye(p,k){s.value&&(s.value.setNumberFormat(p,k),f.value[p]=k)}function fe(p,k){s.value&&s.value.mergeNumberFormat(p,k)}const C={get id(){return s.value?s.value.id:-1},locale:L,fallbackLocale:M,messages:O,datetimeFormats:z,numberFormats:G,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(p){s.value&&(s.value.inheritLocale=p)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:b},get pluralRules(){return s.value?s.value.pluralRules:y},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackWarn(){return s.value?s.value.fallbackWarn:h},set fallbackWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackRoot(){return s.value?s.value.fallbackRoot:w},set fallbackRoot(p){s.value&&(s.value.fallbackRoot=p)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(p){s.value&&(s.value.fallbackFormat=p)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:T},set warnHtmlMessage(p){s.value&&(s.value.warnHtmlMessage=p)},get escapeParameter(){return s.value?s.value.escapeParameter:S},set escapeParameter(p){s.value&&(s.value.escapeParameter=p)},t:U,getPostTranslationHandler:J,setPostTranslationHandler:re,getMissingHandler:$,setMissingHandler:P,rt:X,d:oe,n:ue,tm:ce,te:de,getLocaleMessage:Ie,setLocaleMessage:he,mergeLocaleMessage:V,getDateTimeFormat:Z,setDateTimeFormat:j,mergeDateTimeFormat:ee,getNumberFormat:pe,setNumberFormat:ye,mergeNumberFormat:fe};function m(p){p.locale.value=a.value,p.fallbackLocale.value=l.value,Object.keys(c.value).forEach(k=>{p.mergeLocaleMessage(k,c.value[k])}),Object.keys(u.value).forEach(k=>{p.mergeDateTimeFormat(k,u.value[k])}),Object.keys(f.value).forEach(k=>{p.mergeNumberFormat(k,f.value[k])}),p.escapeParameter=S,p.fallbackFormat=g,p.fallbackRoot=w,p.fallbackWarn=h,p.missingWarn=d,p.warnHtmlMessage=T}return fg(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw tt(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const p=s.value=t.proxy.$i18n.__composer;e==="global"?(a.value=p.locale.value,l.value=p.fallbackLocale.value,c.value=p.messages.value,u.value=p.datetimeFormats.value,f.value=p.numberFormats.value):i&&m(p)}),C}const HO=["locale","fallbackLocale","availableLocales"],jO=["t","rt","d","n","tm"];function zO(t,e){const n=Object.create(null);HO.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i)throw tt(Xe.UNEXPECTED_ERROR);const s=lt(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,s)}),t.config.globalProperties.$i18n=n,jO.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i||!i.value)throw tt(Xe.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,i)})}uO(_O);dO(UI);fO(y1);TO();if(__INTLIFY_PROD_DEVTOOLS__){const t=Ns();t.__INTLIFY__=!0,eO(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const BO={header:{sessions:"Ladevorg\xE4nge",docs:"Doku",blog:"Blog",github:"GitHub",login:"Fahrzeug Logins",about:"\xDCber evcc",theme:{auto:"Design: System",light:"Design: Hell",dark:"Design: Dunkel"}},footer:{version:{availableShort:"Update",availableLong:"Update verf\xFCgbar",modalTitle:"Update verf\xFCgbar",modalUpdateStarted:"Nach der Aktualisierung wird evcc neu gestartet.",modalInstalledVersion:"Aktuell installierte Version",modalNoReleaseNotes:"Keine Releasenotes verf\xFCgbar. Mehr Informationen zur neuen Version findest du hier:",modalCancel:"Abbrechen",modalUpdate:"Aktualisieren",modalUpdateNow:"Jetzt aktualisieren",modalDownload:"Download",modalUpdateStatusStart:"Aktualisierung gestartet:",modalUpdateStatusFailed:"Aktualisierung nicht m\xF6glich:"},savings:{tabTitle:"Meine Daten",footerShort:"{percent}% Sonne",footerLong:"{percent}% Sonnenenergie",modalTitle:"Auswertung Ladeenergie",since:"seit {since}",percentTitle:"Sonnenenergie",percentSelf:"{self} kWh Sonne",percentGrid:"{grid} kWh Netz",priceTitle:"Energiepreis",priceFeedIn:"{feedInPrice} Einspeisung",priceGrid:"{gridPrice} Netz",savingsTitle:"Ersparnis",savingsComparedToGrid:"gegen\xFCber Netzbezug",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live-Community",power:"Ladeleistung",powerSub1:"{activeClients} von {totalClients} Nutzern",powerSub2:"laden mit evcc",greenShare:"Sonnenanteil",greenShareSub1:"der Leistung kommt",greenShareSub2:"aus PV & Hausakku",greenEnergy:"Sonnenenergie",greenEnergySub1:"\xFCber evcc geladen",greenEnergySub2:"seit Oktober 2022"},telemetry:{optIn:"Ich m\xF6chte meine Daten auch beisteuern.",optInMoreDetails:"Mehr Details gibts {0}.",optInMoreDetailsLink:"hier",optInSponsorship:"Sponsoring erforderlich."},sponsor:{titleSponsor:"Du bist Unterst\xFCtzer",titleNoSponsor:"Unterst\xFCtze uns",thanks:"Danke f\xFCr dein Sponsoring, {sponsor}! Das hilft uns bei der Weiterentwicklung.",confetti:"Lust auf Konfetti?",supportUs:"Unsere Mission: Sonne tanken zum Standard machen. Hilf uns und unterst\xFCtze evcc finanziell.",sticker:"\u2026oder evcc Sticker?",confettiPromise:"Es gibt auch Sticker und digitales Konfetti ;)",becomeSponsor:"Sponsor werden"}},notifications:{modalTitle:"Meldungen",dismissAll:"Meldungen entfernen"},main:{vehicles:"Parkplatz",energyflow:{noEnergy:"Kein Messwerte",homePower:"Verbrauch",pvProduction:"Erzeugung",loadpoints:"Ladepunkt | Ladepunkt | {count} Ladepunkte",battery:"Batterie",batteryCharge:"Batterie laden",batteryDischarge:"Batterie entladen",gridImport:"Netzbezug",selfConsumption:"Eigenverbrauch",pvExport:"Einspeisung"},mode:{off:"Aus",minpv:"Min+PV",pv:"PV",now:"Schnell"},loadpoint:{fallbackName:"Ladepunkt",remoteDisabledSoft:"{source}: Adaptives PV-Laden deaktiviert",remoteDisabledHard:"{source}: Deaktiviert",power:"Leistung",charged:"Geladen",duration:"Dauer",remaining:"Restzeit"},loadpointSettings:{title:'Einstellungen "{0}"',vehicle:"Fahrzeug",currents:"Ladestrom",default:"default",disclaimerHint:"Hinweis:",disclaimerText:"\xC4nderungen sind aktuell noch nicht persistent und werden nach einem Serverneustart wieder zur\xFCckgesetzt.",minSoC:{label:"Mindestladestand",description:'Reichweite f\xFCr Notf\xE4lle. Fahrzeug wird im PV-Modus "schnell" auf {0}% geladen. Danach weiter mit PV-\xDCberschuss.'},phasesConfigured:{label:"Phasen",phases_0:"automatischer Wechsel",phases_1:"1-phasig",phases_1_hint:"({min} bis {max})",phases_3:"3-phasig",phases_3_hint:"({min} bis {max})"},maxCurrent:{label:"Max. Ladestrom"},minCurrent:{label:"Min. Ladestrom"}},vehicle:{fallbackName:"Fahrzeug",vehicleSoC:"Ladestand",targetSoC:"Ladeziel",none:"Kein Fahrzeug",unknown:"Gastfahrzeug",changeVehicle:"Fahrzeug \xE4ndern",detectionActive:"Fahrzeugerkennung l\xE4uft ..."},vehicleSoC:{disconnected:"getrennt",charging:"l\xE4dt",ready:"bereit",connected:"verbunden",vehicleTarget:"Fahrzeuglimit: {soc}%"},vehicleStatus:{minCharge:"Mindestladung bis {soc}%.",waitForVehicle:"Ladebereit. Warte auf Fahrzeug.",vehicleTargetReached:"Fahrzeuglimit {soc}% erreicht.",charging:"Ladevorgang aktiv.",targetChargePlanned:"Zielladen geplant. Ladung startet {time} Uhr.",targetChargeWaitForVehicle:"Zielladen bereit. Warte auf Fahrzeug.",targetChargeActive:"Zielladen aktiv.",connected:"Verbunden.",pvDisable:"Zu wenig \xDCberschuss. Pausiere in {remaining}.",pvEnable:"\xDCberschuss verf\xFCgbar. Starte in {remaining}.",scale1p:"Reduziere auf einphasig in {remaining}.",scale3p:"Erh\xF6he auf dreiphasig in {remaining}.",disconnected:"Nicht verbunden.",unknown:""},provider:{login:"anmelden",logout:"abmelden"},targetCharge:{title:"Zielzeit",inactiveLabel:"Zielzeit",activeLabel:"{time}",modalTitle:"Zielzeit festlegen",setTargetTime:"keine",description:"Wann soll das Fahrzeug auf {targetSoC}% geladen sein?",today:"heute",tomorrow:"morgen",targetIsInThePast:"Zeitpunkt liegt in der Vergangenheit.",remove:"Entfernen",activate:"Aktivieren",experimentalLabel:"Experimentell",experimentalText:"Dieses Feature funktioniert, ist aber noch nicht perfekt. Bitte melde unerwartetes Verhalten in unseren"},targetEnergy:{label:"Ladeziel",noLimit:"keins"}},startupError:{title:"Fehler beim Starten",description:"Bitte \xFCberpr\xFCfe deine Konfigurationsdatei. Sollte dir die Fehlermeldung nicht weiterhelfen, suche in unseren {0} nach einer L\xF6sung.",discussions:"GitHub Diskussionen",hint:"Hinweis: Ein weiterer Grund k\xF6nnte ein fehlerhaftes Ger\xE4t (Wechselrichter, Z\xE4hler, ...) sein. \xDCberpr\xFCfe deine Netzwerkverbindungen.",configuration:"Konfiguration",configFile:"Verwendete Konfigurationsdatei:",lineError:"In {0} wurde ein Fehler gefunden.",lineErrorLink:"Zeile {0}",fixAndRestart:"Behebe das Problem und starte den Server neu.",restartButton:"Neu starten"},sessions:{title:"Ladevorg\xE4nge",downloadCsv:"Als CSV herunterladen",loadpoint:"Ladepunkt",vehicle:"Fahrzeug",energy:"Geladen",date:"Zeitraum",csv:{loadpoint:"Ladepunkt",vehicle:"Fahrzeug",odometer:"Kilometerstand (km)",identifier:"Kennung",chargedenergy:"Energie (kWh)",meterstart:"Anfangsz\xE4hlerstand (kWh)",meterstop:"Endz\xE4hlerstand (kWh)",created:"Startzeit",finished:"Endzeit"}},offline:{message:"Keine Verbindung zum Server.",reload:"Erneut laden?"}},UO={header:{sessions:"Charging sessions",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Vehicle logins",about:"About evcc",theme:{auto:"Design: system",light:"Design: light",dark:"Design: dark"}},footer:{version:{availableShort:"update",availableLong:"update available",modalTitle:"Update available",modalUpdateStarted:"Evcc will restart after the update..",modalInstalledVersion:"Currently installed version",modalNoReleaseNotes:"No release notes available. More information about the new version can be found here:",modalCancel:"Cancel",modalUpdate:"Update",modalUpdateNow:"Update now",modalDownload:"Download",modalUpdateStatusStart:"Update started:",modalUpdateStatusFailed:"Update failed:"},savings:{tabTitle:"My data",footerShort:"{percent}% solar",footerLong:"{percent}% solar energy",modalTitle:"Charge Energy Overview",since:"since {since}",percentTitle:"Solar Energy",percentSelf:"{self} kWh solar",percentGrid:"{grid} kWh grid",priceTitle:"Energy Price",priceFeedIn:"{feedInPrice} feed-in",priceGrid:"{gridPrice} grid",savingsTitle:"Savings",savingsComparedToGrid:"compared to grid",savingsTotalEnergy:"{total} kWh charged"},community:{tabTitle:"Live community",power:"Charging power",powerSub1:"{activeClients} of {totalClients} participants",powerSub2:"are charging right now",greenShare:"Solar share",greenShareSub1:"power is covered by",greenShareSub2:"PV & battery storage",greenEnergy:"Solar energy",greenEnergySub1:"charged with evcc",greenEnergySub2:"since October 2022"},telemetry:{optIn:"I want to contribute my data as well.",optInMoreDetails:"More details are available {0}.",optInMoreDetailsLink:"here",optInSponsorship:"Sponsoring required."},sponsor:{titleSponsor:"You are a supporter",titleNoSponsor:"Support us",thanks:"Thanks for your support, {sponsor}! It helps us with the further development.",confetti:"Ready for confetti?",supportUs:"Our mission: Make solar charging the standard. Help us and support evcc financially.",sticker:"\u2026or evcc stickers?",confettiPromise:"There will be stickers and digital confetti ;)",becomeSponsor:"Become a Sponsor"}},notifications:{modalTitle:"Notifications",dismissAll:"Dismiss all"},main:{vehicles:"Parking",energyflow:{noEnergy:"No meter data",homePower:"Consumption",pvProduction:"Production",loadpoints:"Loadpoint | Loadpoint | {count} Loadpoints",battery:"Battery",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export"},mode:{off:"Off",minpv:"Min+PV",pv:"PV",now:"Fast"},loadpoint:{fallbackName:"Loadpoint",remoteDisabledSoft:"{source}: adaptive PV charging disabled",remoteDisabledHard:"{source}: disabled",power:"Power",charged:"Charged",duration:"Duration",remaining:"Remaining"},loadpointSettings:{title:'Settings "{0}"',vehicle:"Vehicle",currents:"Charging",default:"default",disclaimerHint:"Note:",disclaimerText:"Changes are not persistent yet. They will be reset after server restart.",minSoC:{label:"Minimal SoC",description:'Range for emergencies. Vehicle gets "fast" charged to {0}% in PV mode. Then continues with PV surplus only.'},phasesConfigured:{label:"Phases",phases_0:"automatic switching",phases_1:"1 phase",phases_1_hint:"({min} to {max})",phases_3:"3 phases",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Current"},minCurrent:{label:"Min. Current"}},vehicle:{fallbackName:"Vehicle",vehicleSoC:"SoC",targetSoC:"Limit",none:"No vehicle",unknown:"Guest vehicle",changeVehicle:"Change Vehicle",detectionActive:"Identifying vehicle ..."},vehicleSoC:{disconnected:"disconnected",charging:"charging",ready:"ready",connected:"connected",vehicleTarget:"Vehicle limit: {soc}%"},vehicleStatus:{minCharge:"minimum charging to {soc}%.",waitForVehicle:"Ready. Waiting for vehicle.",vehicleTargetReached:"Vehicle limit {soc}% reached.",charging:"Charging.",targetChargePlanned:"Target charge planned. Starting {time}.",targetChargeWaitForVehicle:"Target charge ready. Wait for vehicle.",targetChargeActive:"Target charge active.",connected:"Connected.",pvDisable:"Not enough surplus. Pausing in {remaining}.",pvEnable:"Surplus available. Starting in {remaining}.",scale1p:"Reduce to single phase in {remaining}.",scale3p:"Increase to three phase in {remaining}.",disconnected:"Disconnected.",unknown:""},provider:{login:"login",logout:"logout"},targetCharge:{title:"Target Time",inactiveLabel:"Target time",activeLabel:"{time}",modalTitle:"Set Target Time",setTargetTime:"none",description:"When should the vehicle be charged to {targetSoC}%?",today:"today",tomorrow:"tomorrow",targetIsInThePast:"The chosen time is in the past.",remove:"Remove",activate:"Activate",experimentalLabel:"Experimental",experimentalText:"This feature works but isn't perfect yet. Please report unexpected behaviour in our"},targetEnergy:{label:"Limit",noLimit:"none"}},startupError:{title:"Startup Error",description:"Please check your configuration file. If the error message does not help you, have a look at our {0}.",discussions:"GitHub Discussions",hint:"Note: another reason for this message could be a faulty device (inverter, meter, ...). Check your network connections.",configuration:"Config",configFile:"Configuration file used:",lineError:"We found an error in {0}.",lineErrorLink:"line {0}",fixAndRestart:"Fix the problem and restart the server.",restartButton:"Restart"},sessions:{title:"Charging sessions",downloadCsv:"Download as CSV",loadpoint:"Loadpoint",vehicle:"Vehicle",energy:"Charged",date:"Period",csv:{loadpoint:"Loadpoint",vehicle:"Vehicle",odometer:"Mileage (km)",identifier:"Identifier",chargedenergy:"Energy (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Created",finished:"Finished"}},offline:{message:"No connection to server.",reload:"Reload?"}},WO={header:{sessions:"Op\xE9rations de chargement",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Connexion v\xE9hicule",about:"Au sujet de evcc",theme:{auto:"D\xE9sign: Syst\xE8me",light:"D\xE9sign: Lumi\xE8re",dark:"D\xE9sign: Fonc\xE9"}},footer:{version:{availableShort:"Mise \xE0 jour",availableLong:"Mise \xE0 jour disponible",modalTitle:"Mise \xE0 jour disponible",modalUpdateStarted:"Evcc red\xE9marrera apr\xE8s la mise \xE0 jour.",modalInstalledVersion:"Version actuellement install\xE9e",modalNoReleaseNotes:"Aucune note de version disponible. Plus d'informations sur la nouvelle version peuvent \xEAtre trouv\xE9es ici:",modalCancel:"Annuler",modalUpdate:"R\xE9actualiser",modalUpdateNow:"Mettez \xE0 jour maintenant",modalDownload:"T\xE9l\xE9charger",modalUpdateStatusStart:"La mise \xE0 jour a commenc\xE9:",modalUpdateStatusFailed:"Mise \xE0 jour a \xE9chou\xE9:"},savings:{tabTitle:"Mes donn\xE9es",footerShort:"{percent}% Solaire",footerLong:"{percent}% \xC9nergie Solaire",modalTitle:"Aper\xE7u de l'\xE9nergie de charge",since:"Puisque {since}",percentTitle:"\xC9nergie Solaire",percentSelf:"{self} kWh Solaire",percentGrid:"{grid} kWh R\xE9seau \xE9lectrique",priceTitle:"Prix de l'\xE9nergie",priceFeedIn:"{feedInPrice} Alimentation",priceGrid:"{gridPrice} R\xE9seau \xE9lectrique",savingsTitle:"Des \xE9conomies",savingsComparedToGrid:"Par rapport au r\xE9seau",savingsTotalEnergy:"{total} kWh charg\xE9"},community:{tabTitle:"Communaut\xE9 en ligne",power:"Puissance de charge",powerSub1:"{activeClients} de {totalClients} Participants",powerSub2:"Sont en train de charger",greenShare:"Part solaire",greenShareSub1:"La puissance est couverte par",greenShareSub2:"Du PV et de la batterie domestique",greenEnergy:"\xC9nergie Solaire",greenEnergySub1:"Charg\xE9 d'evcc",greenEnergySub2:"Depuis Octobre 2022"},telemetry:{optIn:"Je souhaite \xE9galement apporter mes donn\xE9es.",optInMoreDetails:"Plus de d\xE9tails sont disponibles {0}.",optInMoreDetailsLink:"Ici",optInSponsorship:"Parrainage requis."},sponsor:{titleSponsor:"Vous \xEAtes un supporter",titleNoSponsor:"Soutenez-nouss",thanks:"Merci pour votre aide, {sponsor}! Cela nous aide \xE0 poursuivre le d\xE9veloppement.",confetti:"Pr\xEAt pour les confettis?",supportUs:"Notre mission : Faire de la recharge solaire la norme. Aidez-nous et soutenez evcc financi\xE8rement.",sticker:"\u2026 Ou autocollants evcc?",confettiPromise:"Il y a des autocollants et des confettis num\xE9riques ;)",becomeSponsor:"Devenir parrain"}},notifications:{modalTitle:"Notifications",dismissAll:"Rejeter la totalit\xE9"},main:{vehicles:"Place de parking",energyflow:{noEnergy:"Aucune donn\xE9e de compteur",homePower:"Utilisation",pvProduction:"Production",loadpoints:"Point de chargement | Point de chargement | {count} Points de chargement",battery:"La batterie",batteryCharge:"Charge de la batterie",batteryDischarge:"D\xE9charge de la batterie",gridImport:"Import de grille",selfConsumption:"Consommation personnelle",pvExport:"Grille d'exportation"},mode:{off:"D\xE9sactiv\xE9",minpv:"Min+PV",pv:"PV",now:"Rapidement"},loadpoint:{fallbackName:"Point de chargement",remoteDisabledSoft:"{source}: Charge PV adaptative d\xE9sactiv\xE9e",remoteDisabledHard:"{source}: D\xE9sactiv\xE9",power:"\xC9nergie",charged:"Charg\xE9",duration:"Dur\xE9e",remaining:"Temps restant"},loadpointSettings:{title:'R\xE9glages "{0}"',vehicle:"V\xE9hicule",currents:"Courant de charge",default:"D\xE9faut",disclaimerHint:"A Noter:",disclaimerText:"Les changements ne sont pas encore persistants. Ils seront r\xE9initialis\xE9s apr\xE8s le red\xE9marrage du serveur.",minSoC:{label:"Min. \xC9tat de charge",description:'Port\xE9e pour les urgences. Le v\xE9hicule est charg\xE9 "rapidement" \xE0 {0}\xA0% en mode PV. Puis continue avec le surplus PV uniquement.'},phasesConfigured:{label:"Phases",phases_0:"Commutation automatique",phases_1:"1-phase",phases_1_hint:"({min} \xE1 {max})",phases_3:"3-phases",phases_3_hint:"({min} \xE1 {max})"},maxCurrent:{label:"Max. Courant de charge"},minCurrent:{label:"Min. Courant de charge"}},vehicle:{fallbackName:"V\xE9hicule",vehicleSoC:"\xC9tat de charge",targetSoC:"Cible de chargement",none:"Pas de v\xE9hicule",unknown:"V\xE9hicule invit\xE9",changeVehicle:"Changer de v\xE9hicule",detectionActive:"D\xE9tecter le v\xE9hicule ..."},vehicleSoC:{disconnected:"D\xE9tach\xE9",charging:"Mise en charge",ready:"Br\xEAt",connected:"Connect\xE9",vehicleTarget:"Limite de v\xE9hicule: {soc}%"},vehicleStatus:{minCharge:"Charge minimale \xE0 {soc}%.",waitForVehicle:"Pr\xEAt \xE0 charger. Attendre le v\xE9hicule.",vehicleTargetReached:"Limite de v\xE9hicule {soc}% atteint.",charging:"Charge active.",targetChargePlanned:"Magasin cible pr\xE9vu. La charge commence \xE0 {time} heures.",targetChargeWaitForVehicle:"Magasin cible pr\xEAt. Attendre le v\xE9hicule.",targetChargeActive:"Chargement cible actif.",connected:"Connect\xE9.",pvDisable:"Trop peu de surplus. Faire une pause {remaining}.",pvEnable:"Surplus disponible. Commencer dans {remaining}.",scale1p:"R\xE9duire en monophas\xE9 en {remaining}.",scale3p:"Passage \xE0 trois phases {remaining}.",disconnected:"Pas connect\xE9.",unknown:""},provider:{login:"Connexion",logout:"Se d\xE9connecter"},targetCharge:{title:"Temps vis\xE9",inactiveLabel:"Temps vis\xE9",activeLabel:"{time}",modalTitle:"D\xE9finir l'heure cible",setTargetTime:"Non",description:"Quand le v\xE9hicule doit-il \xEAtre recharg\xE9 \xE0 {targetSoC}%?",today:"Aujourd'hui",tomorrow:"Matin",targetIsInThePast:"Le temps est pass\xE9.",remove:"\xD4ter",activate:"Activer",experimentalLabel:"Exp\xE9rimental",experimentalText:"Cette fonctionnalit\xE9 fonctionne mais n'est pas encore parfaite. Veuillez signaler tout comportement inattendu dans notre"},targetEnergy:{label:"Cible de chargement",noLimit:"Non"}},startupError:{title:"Erreur au d\xE9marrage",description:"Veuillez v\xE9rifier votre fichier de configuration. Si le message d'erreur ne vous aide pas, consultez notre {0}.",discussions:"GitHub Discussions",hint:"Remarque : Une autre raison pour laquelle vous voyez ce message pourrait \xEAtre un appareil d\xE9fectueux (onduleur, compteur, ...). V\xE9rifiez vos connexions r\xE9seau.",configuration:"Configuration",configFile:"Fichier de configuration utilis\xE9:",lineError:"Nous avons trouv\xE9 une erreur dans {0}.",lineErrorLink:"Ligne {0}",fixAndRestart:"Corrigez le probl\xE8me et red\xE9marrez le serveur.",restartButton:"Red\xE9marrer"},sessions:{title:"Sessions de chargement",downloadCsv:"T\xE9l\xE9charger au format CSV",loadpoint:"Point de chargement",vehicle:"V\xE9hicule",energy:"Charg\xE9",date:"P\xE9riode",csv:{loadpoint:"Point de chargement",vehicle:"V\xE9hicule",odometer:"kilom\xE9trage (km)",identifier:"Identifiant",chargedenergy:"\xC9nergie (kWh)",meterstart:"D\xE9but du compteur (kWh)",meterstop:"Arr\xEAt du compteur (kWh)",created:"Heure de d\xE9but",finished:"Temps de fin"}},offline:{message:"Pas de connexion au serveur.",reload:"Recharger?"}},QO={header:{docs:"Documentazione",blog:"Blog",github:"GitHub",login:"Iscrizioni",about:"Informazioni su evcc",sessions:"Sessioni di ricarica",theme:{auto:"Design: sistema",light:"Design: luce",dark:"Design: scuro"}},footer:{version:{availableShort:"aggiornamento",availableLong:"aggiornamento disponibile",modalTitle:"Aggiornamento disponibile",modalUpdateStarted:"Evcc ripartir\xE0 dopo l'aggiornamento..",modalInstalledVersion:"Versione correntemente installata",modalNoReleaseNotes:"Non ci sono note di rilascio disponibili. Altre informazioni circa la nuova versione si trovano qui:",modalCancel:"Cancella",modalUpdate:"Aggiorna",modalUpdateNow:"Aggiorna ora",modalDownload:"Download",modalUpdateStatusStart:"Aggiornamento iniziato:",modalUpdateStatusFailed:"Aggiornamento fallito:"},savings:{footerShort:"{percent}% solare",footerLong:"{percent}% di energia solare",modalTitle:"Panoramica sull'energia di carica",since:"da quando {since}",percentTitle:"Energia solare",percentSelf:"{self} kWh solare",percentGrid:"{grid} kWh grid",priceTitle:"Prezzo dell'energia",priceGrid:"{gridPrice} griglia",savingsComparedToGrid:"rispetto alla griglia",savingsTotalEnergy:"{total} kWh totali caricati",tabTitle:"I miei dati",priceFeedIn:"{feedInPrice} feed-in",savingsTitle:"Risparmio"},community:{tabTitle:"Comunit\xE0 viva",power:"Potenza di carica",powerSub1:"{activeClients} di {totalClients} partecipanti",powerSub2:"stanno caricando in questo momento",greenShare:"Quota solare",greenShareSub1:"il potere \xE8 coperto da",greenShareSub2:"FV e accumulo a batteria",greenEnergy:"Energia solare",greenEnergySub2:"da ottobre 2022",greenEnergySub1:"accusato di evcc"},telemetry:{optIn:"Voglio contribuire anch'io con i miei dati",optInMoreDetails:"Sono disponibili ulteriori dettagli {0}",optInMoreDetailsLink:"qui",optInSponsorship:"\xC8 necessaria una sponsorizzazione"},sponsor:{titleSponsor:"Sei un sostenitore",titleNoSponsor:"Sosteneteci",thanks:"Grazie per il tuo sostegno, {sponsor}! Ci aiuta nell'ulteriore sviluppo",confetti:"Pronti per i coriandoli?",confettiPromise:"Ci saranno adesivi e coriandoli digitali",becomeSponsor:"Diventa uno sponsor",sticker:"\u2026 o adesivi evcc?",supportUs:"La nostra missione: Rendere la ricarica solare lo standard. Aiutateci e sostenete finanziariamente evcc"}},notifications:{modalTitle:"Notifiche",dismissAll:"Rimuovi tutte"},main:{energyflow:{noEnergy:"No Energyflow",homePower:"Consumption",pvProduction:"Produzione",battery:"Batteria",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export",loadpoints:"Punto di carico | Punto di carico | {count} Punti di carico"},mode:{off:"Stop",minpv:"Min+FV",pv:"FV",now:"Ora"},loadpoint:{fallbackName:"Punto di carica",power:"Potenza",charged:"Caricato",duration:"Durata",remoteDisabledSoft:"{source}: Ricarica FV adattiva disabilitata",remoteDisabledHard:"{source}: Disabilitato"},vehicle:{fallbackName:"Veicolo"},vehicleSoC:{disconnected:"disconesso",charging:"carica",ready:"pronto",connected:"collegato"},vehicles:"Parcheggio",loadpointSettings:{vehicle:"Veicolo",default:"default",currents:"Carica",disclaimerHint:"Nota:",title:'Impostazioni "{0}"',disclaimerText:"Le modifiche non sono ancora persistenti. Verranno ripristinate dopo il riavvio del server",minSoC:{label:"SoC minimo",description:`Autonomia per le emergenze. Il veicolo viene caricato "velocemente" fino a {0}% in modalit\xE0 FV. Poi continua solo con l'eccedenza FV`},phasesConfigured:{label:"Fasi",phases_0:"commutazione automatica",phases_1:"1 fase",phases_1_hint:"({min} a {max})",phases_3:"3 fasi"},maxCurrent:{label:"Corrente massima"}}}},KO={header:{sessions:"\u012Ekrovimo sesijos ",docs:"Dokumentacija (Vokie\u010Di\u0173 k.)",blog:"Tinklara\u0161tis",github:"GitHub",login:" Automobili\u0173 prisijungimai",about:"Apie EVCC",theme:{auto:"Dizainas: Sistemos",light:"Dizainas: \u0160viesus",dark:"Dizainas: Tamsus"}},footer:{version:{availableShort:"naujinimas",availableLong:"yra naujesn\u0117 versija",modalTitle:"Yra naujesn\u0117 versija",modalUpdateStarted:"Pasibaigus naujinimui EVCC startuos i\u0161 naujo..",modalInstalledVersion:"Dabartin\u0117 versija",modalNoReleaseNotes:"Naujinimo pastab\u0173 n\u0117ra. Daugiau informacijos apie nauj\u0105 versij\u0105 galite rasti rasite \u010Dia:",modalCancel:"At\u0161aukti",modalUpdate:"Naujinti",modalUpdateNow:"Naujinti dabar",modalDownload:"Atsisi\u0173sti",modalUpdateStatusStart:"Naujinimas prasid\u0117jo:",modalUpdateStatusFailed:"Naujinimas nepavyko:"},savings:{tabTitle:"Mano duomenys",footerShort:"{percent}% saul\u0117s",footerLong:"{percent}% saul\u0117s energija",modalTitle:"\u012Ekrovimo energijos ap\u017Evalga",since:"nuo {since}",percentTitle:"Saul\u0117s energija",percentSelf:"{self} kWh saul\u0117s",percentGrid:"{grid} kWh tinklo",priceTitle:"Energijos kaina",priceFeedIn:"{feedInPrice} eksporto",priceGrid:"{gridPrice} tinklo",savingsTitle:"Sutaupyta",savingsComparedToGrid:"palyginus su tinklu",savingsTotalEnergy:"{total} kWh \u012Fkrauta"},community:{tabTitle:"Bendruomen\u0117s duomenys",power:"\u012Ekrovimo galia",powerSub1:"{activeClients} i\u0161 {totalClients} dalyvi\u0173",powerSub2:"\u012Fkrauna \u0161iuo metu",greenShare:"Saul\u0117s dalis",greenShareSub1:"galios tiekia Saul\u0117 ir",greenShareSub2:"energijos kaupikliai",greenEnergy:"Saul\u0117s energija",greenEnergySub1:"\u012Fkrauta su evcc",greenEnergySub2:"nuo 2022 Spalio"},telemetry:{optIn:"Noriu prisid\u0117ti savo duomenimis.",optInMoreDetails:"Daugiau informacijos rasite {0}.",optInMoreDetailsLink:"\u010Dia",optInSponsorship:"(Gali tik r\u0117m\u0117jai.)"},sponsor:{titleSponsor:"Esate r\u0117m\u0117jais",titleNoSponsor:"Paremkite mus",thanks:"A\u010Di\u016B, kad mus remiate {sponsor}! Taip prisidedate prie projekto vystymo.",confetti:"Norite konfeti?",supportUs:"M\u016Bs\u0173 misija: Siekiame, kad \u012Fkrovimas saul\u0117s energija tapt\u0173 standartu. Pad\u0117kite mums ir paremkite evcc finansi\u0161kai.",sticker:"\u2026 ar evcc lipduk\u0173?",confettiPromise:"Bus lipduk\u0173 ir skaitmenini\u0173 konfeti ;)",becomeSponsor:"Tapkite r\u0117m\u0117ju"}},notifications:{modalTitle:"Prane\u0161imai",dismissAll:"I\u0161valyti visus"},main:{vehicles:"Autoparkas",energyflow:{noEnergy:"N\u0117ra skaitikli\u0173 duomen\u0173",homePower:"Namo suvartojimas",pvProduction:"Gamyba",loadpoints:"\u012Ekroviklis | \u012Ekroviklis | {count} \u012Ekrovikliai",battery:"Baterija",batteryCharge:"Baterijos \u012Fkrovimas",batteryDischarge:"Baterijos i\u0161krovimas",gridImport:"Tinklo importas",selfConsumption:"Sunaudojama i\u0161kart",pvExport:"Tinklo eksportas"},mode:{off:"Stop",minpv:"Min+S",pv:"Saul\u0117s",now:"Greitas"},loadpoint:{fallbackName:"\u012Ekroviklis",remoteDisabledSoft:"{source}: adaptyvus Saul\u0117s \u012Fkrovimas i\u0161jungtas",remoteDisabledHard:"{source}: i\u0161jungtas",power:"Galia",charged:"\u012Ekrauta",duration:"Trukm\u0117",remaining:"Liko"},loadpointSettings:{title:'Nustatymai "{0}"',vehicle:"Automobilis",currents:"\u012Ekraunama",default:"standarti\u0161kai",disclaimerHint:"Pastaba:",disclaimerText:"\u0160ie pakeitimai nei\u0161lieka ir po EVCC serverio restarto pradings.",minSoC:{label:"Minimali \u012Fkrova",description:'Minimali \u012Fkrova. Automobilis \u012Fkraunamas "Greitai" iki {0}% nustatyme "Saul\u0117" . Toliau \u012Fkraunamas tik saul\u0117s energijos pertekliumi.'},phasesConfigured:{label:"Faz\u0117s",phases_0:"automatinis perjungimas",phases_1:"1 faz\u0117",phases_1_hint:"({min} to {max})",phases_3:"3 faz\u0117s",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Srov\u0117"},minCurrent:{label:"Min. Srov\u0117"}},vehicle:{fallbackName:"Automobilis",vehicleSoC:"\u012Ekrova",targetSoC:"Limitas",none:"N\u0117ra automobilio",unknown:"Ne\u017Einomas automobilis",changeVehicle:"Pakeisti automobil\u012F",detectionActive:"Bandome atpa\u017Einti automobil\u012F ..."},vehicleSoC:{disconnected:"neprijungtas",charging:"vyksta \u012Fkrovimas",ready:"leid\u017Eiama \u012Fkrauti",connected:"automobilis prijungtas",vehicleTarget:"Automobilio limitas: {soc}%"},vehicleStatus:{minCharge:"minimalus \u012Fkrovimas iki {soc}%.",waitForVehicle:"\u012Ekrovimas leid\u017Eiamas. Laukiama automobilio signalo.",vehicleTargetReached:"Automobilio limitas {soc}% pasiektas.",charging:"\u012Ekraunama.",targetChargePlanned:"Suplanuotas \u012Fkrovimas, prasid\u0117s {time}.",targetChargeWaitForVehicle:"Suplanuotas \u012Fkrovimas leid\u017Eiamas. Laukiama automobilio signalo.",targetChargeActive:"Suplanuotas \u012Fkrovimas aktyvuotas.",connected:"Prijungtas.",pvDisable:"Tr\u016Bksta saul\u0117s, \u012Fkrovimo pauz\u0117 u\u017E {remaining}.",pvEnable:"Saul\u0117s u\u017Etenka, \u012Fkrovimas prasid\u0117s u\u017E {remaining}.",scale1p:"Suma\u017Einti \u012F vienfaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",scale3p:"Padidinti \u012F trifaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",disconnected:"Neprijungtas.",unknown:""},provider:{login:"prisijungti",logout:"atsijungti"},targetCharge:{title:"\u012Ekrauti iki",inactiveLabel:"\u012Ekrauti iki",activeLabel:"{time}",modalTitle:"Nustatyti \u012Fkrovimo pabaigos laik\u0105",setTargetTime:"nenustatytas",description:"Kada automobilis tur\u0117t\u0173 b\u016Bti \u012Fkrautas iki {targetSoC}%?",today:"\u0161iandien",tomorrow:"rytoj",targetIsInThePast:"Pasirinktas laikas yra praeityje.",remove:"Panaikinti",activate:"Aktyvuoti",experimentalLabel:"Eksperimentinis",experimentalText:"\u0160i funkcija veikia, bet dar n\u0117ra tobula. Apie netik\u0117t\u0105 elges\u012F prane\u0161kite m\u016Bs\u0173"},targetEnergy:{label:"Limitas",noLimit:"n\u0117ra"}},startupError:{title:"Klaida startuojant",description:"Patikrinkite konfig\u016Bracijos fail\u0105. Jei klaidos \u017Einut\u0117 jums nepad\u0117jo, atsakym\u0173 ie\u0161kokite m\u016Bs\u0173 {0}.",discussions:"GitHub Diskusijose",hint:"Pastaba: Gali b\u016Bti, kad prane\u0161im\u0105 apie klaid\u0105 matote d\u0117l neteisingai veikian\u010Dio \u012Frenginio (inverterio, skaitiklio, ...). Patikrinkite tiklo jungtis.",configuration:"Konfig\u016Bracija",configFile:"Naudojamas konfiguracijos failas:",lineError:"Radome klaid\u0105 \u010Dia {0}.",lineErrorLink:"eilut\u0117 {0}",fixAndRestart:"I\u0161taisykite klaid\u0105 ir restartuokite server\u012F.",restartButton:"Restartuoti"},sessions:{title:"\u012Ekrovimo sesijos",downloadCsv:"Atsisi\u0173sti CSV fail\u0105",loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",energy:"\u012Ekrauta",date:"Laikotarpis",csv:{loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",odometer:"Odometras (km)",identifier:"Identifikatorius",chargedenergy:"Energija (kWh)",meterstart:"Skaitiklis prad\u017Eioje (kWh)",meterstop:"Skaitiklis pabaigoje (kWh)",created:"Prad\u0117ta",finished:"Pabaigta"}},offline:{message:"N\u0117ra ry\u0161io su serveriu.",reload:"Perkrauti?"}},YO={header:{sessions:"Laadsessies",docs:"Documentatie",blog:"Blog",github:"GitHub",login:"Voertuig logins",about:"Over evcc",theme:{auto:"Design: systeem",light:"Design: licht",dark:"Design: donker"}},footer:{version:{availableShort:"update",availableLong:"update beschikbaar",modalTitle:"Update beschikbaar",modalUpdateStarted:"Evcc zal herstarten na de update..",modalInstalledVersion:"Huidige versie",modalNoReleaseNotes:"Geen release notes beschikbaar. Meer informatie over de nieuwe versie vind je hier:",modalCancel:"Annuleer",modalUpdate:"Update",modalUpdateNow:"Nu updaten",modalDownload:"Download",modalUpdateStatusStart:"Update gestart:",modalUpdateStatusFailed:"Update mislukt:"},savings:{tabTitle:"Mijn data",footerShort:"{percent}% PV",footerLong:"{percent}% zonne-energie",modalTitle:"Energieoverzicht",since:"sinds {since}",percentTitle:"Zonne-energie",percentSelf:"{self} kWh PV",percentGrid:"{grid} kWh afgenomen",priceTitle:"Energieprijs",priceFeedIn:"{feedInPrice} injectie",priceGrid:"{gridPrice} afname",savingsTitle:"Besparing",savingsComparedToGrid:"i.v.m. netafname",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live community",power:"Laadvermogen",powerSub1:"{activeClients} van {totalClients} deelnemers",powerSub2:"zijn nu aan het laden",greenShare:"Zonne-energie",greenShareSub1:"van de energie",greenShareSub2:"komt van PV & batterijopslag",greenEnergy:"Zonne-energie",greenEnergySub1:"geladen met evcc",greenEnergySub2:"sinds oktober 2022"},telemetry:{optIn:"Ik wil mijn data ook bijdragen.",optInMoreDetails:"Meer info is {0} beschikbaar.",optInMoreDetailsLink:"hier",optInSponsorship:"(Sponsoring nodig)"},sponsor:{titleSponsor:"Je bent een sponsor!",titleNoSponsor:"Sponsor ons",thanks:"Bedankt voor je hulp, {sponsor}! Je helpt ons bij de verdere ontwikkeling van evcc.",confetti:"Klaar voor confetti?",supportUs:"Onze missie: Van laden op zonne-energie de standaard maken. Help ons en draag financieel bij aan evcc.",sticker:"\u2026 of evcc stickers?",confettiPromise:"Er zullen stickers en digitale confetti zijn ;)",becomeSponsor:"Word sponsor"}},notifications:{modalTitle:"Notificaties",dismissAll:"Alles verwijderen"},main:{vehicles:"Parking",energyflow:{noEnergy:"Geen meter data",homePower:"Consumptie",pvProduction:"Productie",loadpoints:"Laadpunt | Laadpunt | {count} Laadpunten",battery:"Batterij",batteryCharge:"Batterij laden",batteryDischarge:"Batterij ontladen",gridImport:"Netafname",selfConsumption:"Zelfverbruik",pvExport:"Netinjectie"},mode:{off:"Uit",minpv:"Min+PV",pv:"PV",now:"Snel"},loadpoint:{fallbackName:"Laadpunt",remoteDisabledSoft:"{source}: adaptief PV-laden uitgeschakeld",remoteDisabledHard:"{source}: uitgeschakeld",power:"Snelheid",charged:"Geladen",duration:"Duur",remaining:"Resterend"},loadpointSettings:{title:'Instellingen "{0}"',vehicle:"Voertuig",currents:"Opladen",default:"standaard",disclaimerHint:"Letop:",disclaimerText:"Instellingen worden niet bijgehouden. Ze worden gereset bij het herstarten van de server.",minSoC:{label:"Min batterijniveau",description:'Noodbereik. Voertuig wordt "snel" geladen tot {0}% in PV mode. Daarna wordt enkel de PV-overschot gebruikt.'},phasesConfigured:{label:"Fasen",phases_0:"automatisch wisselend",phases_1:"1 fase",phases_1_hint:"({min} - {max})",phases_3:"3 fasen",phases_3_hint:"({min} - {max})"},maxCurrent:{label:"Max. vermogen"},minCurrent:{label:"Min. vermogen"}},vehicle:{fallbackName:"Voertuig",vehicleSoC:"Batterijniveau",targetSoC:"Limiet",none:"Geen voertuig",unknown:"Gast",changeVehicle:"Wijzig voertuig",detectionActive:"Voertuig detecteren ..."},vehicleSoC:{disconnected:"niet verbonden",charging:"laden",ready:"klaar",connected:"verbonden",vehicleTarget:"Voertuiglimiet: {soc}%"},vehicleStatus:{minCharge:"laden naar {soc}% minimum.",waitForVehicle:"Klaar. Wachten op voertuig.",vehicleTargetReached:"Voertuiglimiet {soc}% bereikt.",charging:"Laden.",targetChargePlanned:"Doel gepland. Starten op {time}.",targetChargeWaitForVehicle:"Doel gepland. Wachten op voertuig.",targetChargeActive:"Doelladen actief.",connected:"Verbonden.",pvDisable:"Onvoldoende PV overschot beschikbaar. Pauzeren over {remaining}.",pvEnable:"Voldoende PV overschot beschikbaar. Starten over {remaining}.",scale1p:"Wisselen naar 1 fase over {remaining}.",scale3p:"Wisselen naar 3 fasen over {remaining}.",disconnected:"Niet verbonden.",unknown:""},provider:{login:"aanmelden",logout:"afmelden"},targetCharge:{title:"Doel",inactiveLabel:"Ingestelde tijd",activeLabel:"{time}",modalTitle:"Stel tijd in",setTargetTime:"geen",description:"Tegen wanneer moet het voertuig geladen zijn naar {targetSoC}%?",today:"Vandaag",tomorrow:"Morgen",targetIsInThePast:"De ingestelde tijd ligt in het verleden",remove:"Verwijder",activate:"Activeer",experimentalLabel:"Experimenteel",experimentalText:"Deze feature werkt nog niet perfect. Rapporteer ongewenst gedrag op"},targetEnergy:{label:"Limiet",noLimit:"geen"}},startupError:{title:"Start Error",description:"Check je evcc configuratie. Helpt de foutboodschap je niet, bekijk dan de {0}.",discussions:"GitHub Discussions",hint:"Je kan deze boodschap ook krijgen bij een kapot toestel (inverter, meter, ...). Check je network connectie.",configuration:"Config",configFile:"Gebruikt configuratiebestand:",lineError:"Fout gedetecteerd op {0}.",lineErrorLink:"lijn {0}",fixAndRestart:"Verhelp het probleem en herstart de server.",restartButton:"Herstart"},sessions:{title:"Laadsessies",downloadCsv:"Download CSV",loadpoint:"Laadpunt",vehicle:"Voertuig",energy:"Geladen",date:"Periode",csv:{loadpoint:"Laadpunt",vehicle:"Voertuig",odometer:"kilometerstand (km)",identifier:"ID",chargedenergy:"Energie (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Gestart",finished:"Be\xEBindigd"}},offline:{message:"Geen verbinding met de server.",reload:"Opnieuw laden?"}},GO={header:{sessions:"Lade\xF8kter",docs:"Dokumentasjon",about:"Om evcc",blog:"Blogg",github:"GitHub",login:"Kj\xF8ret\xF8ysinnlogginger",theme:{auto:"Design: system",light:"Design: lyst",dark:"Design: m\xF8rkt"}},footer:{version:{availableShort:"Oppdater",availableLong:"oppdatering tilgjengelig",modalTitle:"Oppdatering tilgjengelig",modalInstalledVersion:"Installert versjon",modalUpdate:"Oppdater",modalCancel:"Avbryt",modalDownload:"Last ned",modalUpdateStatusFailed:"Oppdatering mislyktes:",modalUpdateStatusStart:"Oppdatering startet:",modalUpdateNow:"Oppdater n\xE5",modalUpdateStarted:"Evcc vil starte p\xE5 ny etter oppdateringen \u2026",modalNoReleaseNotes:"Ingen utgivelsesnotater tilgjengelig. Mer info om den nye versjonen er \xE5 finne her:"},savings:{tabTitle:"Min data",footerShort:"{percent}% solenergi",footerLong:"{percent}% solcelleenergi",modalTitle:"Oversikt over ladeenergi",percentSelf:"{self} kWt sol",percentGrid:"{self} kWh lysnett",priceTitle:"Kraftpris",priceGrid:"{gridPrice} lysnett",priceFeedIn:"{feedInPrice} subsidiering",savingsTotalEnergy:"{total} kWh ladet",percentTitle:"Solenergi",savingsTitle:"Besparelser",since:"siden {since}",savingsComparedToGrid:"sammenlignet med lysnett"},community:{tabTitle:"Sanntidsgemenskap",greenShareSub1:"ladestr\xF8mmen kommer fra",greenEnergy:"Solenergi",greenShareSub2:"Fotovoltaisk og batterilading",powerSub2:"lades n\xE5",greenShare:"Solcelleandel",greenEnergySub1:"ladet med evcc",greenEnergySub2:"siden Oktober 2022",power:"Ladeeffekt",powerSub1:"{activeClients} av {totalClients} deltagere"},telemetry:{optIn:"Jeg vil ogs\xE5 bidra min data.",optInMoreDetails:"Flere detaljer tilgjengelig p\xE5 {0}.",optInMoreDetailsLink:"her",optInSponsorship:"Sponsing kreves."},sponsor:{titleSponsor:"Du er en st\xF8ttespiller",titleNoSponsor:"St\xF8tt oss",becomeSponsor:"Bli sponsor",confetti:"Klar for konfetti?",sticker:"\u2026 eller evcc-klistremerker?",thanks:"Takk for din st\xF8tte {sponsor}. Det hjelper videre utvikling.",confettiPromise:"Du vil f\xE5 klistremerker og digital konfetti",supportUs:"V\xE5r m\xE5l: \xC5 gj\xF8re solcellelading til normalen. Hjelp til \xE5 kronerulle evcc."}},main:{vehicles:"Parkering",energyflow:{pvProduction:"Produksjon",batteryDischarge:"Batteriutlading",loadpoints:"Ladepunkt | Ladepunkt | {count} ladepunkter",pvExport:"Lysnetteksport",homePower:"Forbruk",battery:"Batteri",batteryCharge:"Batterilading",gridImport:"Lysnettsimport",selfConsumption:"Egenforbruk",noEnergy:"Ingen telleverksdata"},mode:{now:"Raskt",off:"Stopp",minpv:"Min+fotovoltaisk",pv:"Fotovoltaisk"},loadpointSettings:{currents:"Ladestr\xF8m",default:"forvalg",disclaimerHint:"Merknad:",disclaimerText:"Endringene er ikke lagret enda. De vil bli tilbakestilt n\xE5r tjeneren startes p\xE5 ny.",vehicle:"Kj\xF8ret\xF8y",title:'Innstillinger "{0}"',phasesConfigured:{label:"Faser",phases_0:"automatisk bytting",phases_3:"3-fas",phases_1:"1-fas",phases_1_hint:"({min} til {max})",phases_3_hint:"({min} til {max})"},minSoC:{description:'Kurve for n\xF8dsfall. Kj\xF8ret\xF8yet blir "hurtig"-ladet til {0}% i fotovoltaisk modus. Deretter fortsetter det p\xE5 kun solcelleoverskudd."',label:"Minimumsladestand"},maxCurrent:{label:"Maks. ladestr\xF8m"},minCurrent:{label:"Min. ladestr\xF8m"}},vehicle:{targetSoC:"Grense",none:"Ingen kj\xF8ret\xF8y",changeVehicle:"Lad kj\xF8ret\xF8y",detectionActive:"Oppdager kj\xF8ret\xF8y \u2026",vehicleSoC:"Ladestand",fallbackName:"Kj\xF8ret\xF8y",unknown:"Gjestekj\xF8ret\xF8y"},vehicleSoC:{disconnected:"frakoblet",charging:"lader",vehicleTarget:"Kj\xF8ret\xF8ygrense: {soc}%",ready:"klar",connected:"tilkoblet"},vehicleStatus:{waitForVehicle:"Klar. Venter p\xE5 kj\xF8ret\xF8y.",minCharge:"minimumslading til {soc}%.",charging:"Lader \u2026",targetChargePlanned:"M\xE5lladeniv\xE5 planlagt. Starter {time}.",pvEnable:"Overskudd tilgjengelig. Starter om {remaining}.",scale1p:"Reduser til 1-fas om {remaining}.",targetChargeActive:"M\xE5lladeniv\xE5 aktivt.",disconnected:"Frakoblet.",unknown:"",connected:"Tilkoblet.",vehicleTargetReached:"Kj\xF8ret\xF8ygrense p\xE5 {soc}% n\xE5dd.",pvDisable:"Ikke nok overskudd. Tar pause om {remaining}.",scale3p:"\xD8k til 3-fas om {remaining}.",targetChargeWaitForVehicle:"M\xE5lladeniv\xE5 klart. Venter p\xE5 kj\xF8ret\xF8y \u2026"},targetCharge:{inactiveLabel:"M\xE5l-tid",activeLabel:"{time}",description:"N\xE5r skal kj\xF8ret\xF8yet lades til {targetSoC}%?",tomorrow:"i morgen",experimentalLabel:"Eksperimentelt",activate:"Aktiver",experimentalText:"Funksjonen fungerer, men er ikke perfekt. Rapporter uventet oppf\xF8rsel p\xE5",title:"M\xE5l-tid",modalTitle:"Sett m\xE5l-tid",setTargetTime:"ingen",today:"i dag",targetIsInThePast:"Valgt tidspunkt er i fortiden."},targetEnergy:{label:"Grense",noLimit:"ingen"},loadpoint:{duration:"Varighet",charged:"Oppladet",power:"Effekt",fallbackName:"Ladepunkt"},provider:{logout:"logg ut",login:"logg inn"}},startupError:{discussions:"GitHub-diskusjoner",configFile:"Brukt oppsettsfil:",lineErrorLink:"linje {0}",restartButton:"Omstart",lineError:"Feil i {0}",fixAndRestart:"Fiks problemet og start tjeneren om igjen.",title:"Oppstartsfeil",configuration:"Oppsett",description:"Sjekk oppsettsfilen din. Hvis feilmeldingen ikke hjelper kan du ta en titt p\xE5 {0}.",hint:"Merk: En annen grunn til at du ser denne meldingen kan v\xE6re en skadet enhet (omformer, telleverk, \u2026) Sjekk nettverkstilkoblingene dine."},sessions:{title:"Lade\xF8kter",energy:"Oppladet",downloadCsv:"Last ned som CSV",vehicle:"Kj\xF8ret\xF8y",date:"Tidsrom",loadpoint:"Ladepunkt",csv:{odometer:"Kilometerstand",identifier:"Identifikator",chargedenergy:"Energi (kWh)",created:"Opprettet",finished:"Fullf\xF8rt",meterstart:"Telleverksoppstart (kWt)",meterstop:"Telleverksstopp (kWt)",vehicle:"Kj\xF8ret\xF8y",loadpoint:"Ladepunkt"}},offline:{message:"Ingen tilkobling til tjeneren.",reload:"Last inn igjen?"},notifications:{modalTitle:"Merknader",dismissAll:"Forkast alle"}},ZO={header:{sessions:"Sesje \u0142adowania",docs:"Dokumentacja",blog:"Blog",github:"GitHub",login:"Dane logowania pojazdu",about:"O evcc",theme:{auto:"Wygl\u0105d: system",light:"Wygl\u0105d: \u015Bwiat\u0142y",dark:"Wygl\u0105d: ciemny"}},footer:{version:{availableShort:"aktualizacja",availableLong:"dost\u0119pna aktualizacja",modalTitle:"Dost\u0119pna aktualizacja",modalUpdateStarted:"Evcc uruchomi si\u0119 ponownie po aktualizacji..",modalInstalledVersion:"Obecnie zainstalowana wersja",modalNoReleaseNotes:"Brak dost\u0119pnych notatek. Wi\u0119cej informacji o nowej wersji mo\u017Cna znale\u017A\u0107 tutaj:",modalCancel:"Anuluj",modalUpdate:"Aktualizuj",modalUpdateNow:"Aktualizuj teraz",modalDownload:"Pobierz",modalUpdateStatusStart:"Aktualizacja rozpocz\u0119ta:",modalUpdateStatusFailed:"Aktualizacja nie powiod\u0142a si\u0119:"},savings:{tabTitle:"Moje dane",footerShort:"{percent}% s\u0142o\u0144ce",footerLong:"{percent}% energii s\u0142onecznej",modalTitle:"Przegl\u0105d energii \u0142adowania",since:"od {since}",percentTitle:"Energia s\u0142oneczna",percentSelf:"{self} kWh s\u0142o\u0144ce",percentGrid:"{grid} kWh sie\u0107",priceTitle:"Cena energii",priceFeedIn:"{feedInPrice} eksport",priceGrid:"{gridPrice} sie\u0107",savingsTitle:"Oszcz\u0119dno\u015Bci",savingsComparedToGrid:"w por\xF3wnaniu z sieci\u0105",savingsTotalEnergy:"{total} kWh na\u0142adowanych"},community:{tabTitle:"Aktualne dane spo\u0142eczno\u015Bci",power:"Moc \u0142adowania",powerSub1:"{activeClients} z {totalClients} uczestnik\xF3w",powerSub2:"\u0142aduj\u0105 si\u0119 teraz",greenShare:"Energii s\u0142onecznej",greenShareSub1:"zasilanie jest dostarczone przez",greenShareSub2:"s\u0142o\u0144ce i domowe akumulatory energii",greenEnergy:"Energia s\u0142oneczna",greenEnergySub1:"na\u0142adowany z evcc",greenEnergySub2:"od Pa\u017Adziernika 2022"},telemetry:{optIn:"Chc\u0119 te\u017C udost\u0119pni\u0107 swoje dane.",optInMoreDetails:"Wi\u0119cej szczeg\xF3\u0142\xF3w jest dost\u0119pnych {0}.",optInMoreDetailsLink:"tutaj",optInSponsorship:"Wymagany sponsoring."},sponsor:{titleSponsor:"Jeste\u015B sponsorem",titleNoSponsor:"Wesprzyj nas",thanks:"Dzi\u0119ki za wsparcie, {sponsor}! Pomaga nam to w dalszym rozwoju.",confetti:"Gotowy na konfetti?",supportUs:"Nasza misja: Spraw, aby \u0142adowanie s\u0142oneczne sta\u0142o si\u0119 standardem. Pom\xF3\u017C nam i wesprzyj evcc finansowo.",sticker:"\u2026 lub naklejki evcc?",confettiPromise:"B\u0119d\u0105 naklejki i cyfrowe konfetti ;)",becomeSponsor:"Zosta\u0144 sponsorem"}},notifications:{modalTitle:"Powiadomienia",dismissAll:"Odrzu\u0107 wszystkie"},main:{vehicles:"Gara\u017C",energyflow:{noEnergy:"Brak danych licznika",homePower:"Zu\u017Cycie",pvProduction:"Produkcja",loadpoints:"\u0141adowarka | \u0141adowarka | {count} \u0141adowarki",battery:"Bateria",batteryCharge:"\u0141adowanie baterii",batteryDischarge:"Roz\u0142adowanie baterii",gridImport:"Import z sieci",selfConsumption:"Konsumpcja w\u0142asna",pvExport:"Eksport na siec"},mode:{off:"Wy\u0142\u0105czony",minpv:"Min+S\u0142o\u0144ce",pv:"S\u0142o\u0144ce",now:"Szybko"},loadpoint:{fallbackName:"\u0141adowarka",remoteDisabledSoft:"{source}: adaptacyjne \u0142adowanie s\u0142onecznie wy\u0142\u0105czone",remoteDisabledHard:"{source}: wy\u0142\u0105czone",power:"Moc",charged:"Na\u0142adowano",duration:"Czas trwania",remaining:"Pozosta\u0142o"},loadpointSettings:{title:'Ustawienia "{0}"',vehicle:"Pojazd",currents:"\u0141adowanie",default:"domy\u015Blny",disclaimerHint:"Uwaga:",disclaimerText:"Zmiany nie s\u0105 jeszcze trwa\u0142e. Zostan\u0105 zresetowane po restarcie serwera.",minSoC:{label:"Minimalny SoC",description:'Zasi\u0119g w sytuacjach awaryjnych. Pojazd jest \u201Eszybko\u201D \u0142adowany do {0}% w trybie "S\u0142o\u0144ce". Nast\u0119pnie kontynuuje tylko z nadwy\u017Ck\u0105 fotowoltaiczn\u0105.'},phasesConfigured:{label:"Fazy",phases_0:"automatyczne prze\u0142\u0105czanie",phases_1:"1 faza",phases_1_hint:"({min} do {max})",phases_3:"3 fazy",phases_3_hint:"({min} do {max})"},maxCurrent:{label:"Maks. pr\u0105d"},minCurrent:{label:"Min. Pr\u0105d"}},vehicle:{fallbackName:"Pojazd",vehicleSoC:"SoC",targetSoC:"Ograniczenie",none:"Brak pojazdu",unknown:"Pojazd go\u015Bcia",changeVehicle:"Zmie\u0144 pojazd",detectionActive:"Wykrywanie pojazdu ..."},vehicleSoC:{disconnected:"od\u0142\u0105czony",charging:"\u0142aduje si\u0119",ready:"gotowy",connected:"po\u0142\u0105czony",vehicleTarget:"Limit pojazdu: {soc}%"},vehicleStatus:{minCharge:"minimalne \u0142adowanie do {soc}%.",waitForVehicle:"Gotowe. Czekam na pojazd.",vehicleTargetReached:"Osi\u0105gni\u0119to limit pojazdu {soc}%.",charging:"\u0141aduje si\u0119.",targetChargePlanned:"Zaplanowane \u0142adowanie. Zacznie si\u0119 {time}.",targetChargeWaitForVehicle:"Zaplanowane \u0142adowanie. Czekajem na pojazd.",targetChargeActive:"Zaplanowane \u0142adowanie aktywno.",connected:"Po\u0142\u0105czony.",pvDisable:"Za ma\u0142o nadwy\u017Cki. Pauza po {remaining}.",pvEnable:"Dost\u0119pna nadwy\u017Cka. Pocz\u0105wszy po {remaining}.",scale1p:"Zredukuje do jednej fazy po {remaining}.",scale3p:"Zwi\u0119kszie do trzech faz po {remaining}.",disconnected:"Roz\u0142\u0105czony.",unknown:""},provider:{login:"zaloguj si\u0119",logout:"wyloguj"},targetCharge:{title:"Czas Docelowy",inactiveLabel:"Czas docelowy",activeLabel:"{time}",modalTitle:"Ustaw docelowy czas",setTargetTime:"brak",description:"Kiedy pojazd powinien zosta\u0107 naladowany do {targetSoC}%?",today:"dzisiaj",tomorrow:"jutro",targetIsInThePast:"Wybrany czas jest w przesz\u0142o\u015Bci.",remove:"Usu\u0144",activate:"Aktywuj",experimentalLabel:"Eksperymentalna",experimentalText:"Ta funkcja dzia\u0142a, ale nie jest jeszcze doskona\u0142a. Zg\u0142o\u015B nieoczekiwane zachowanie do naszego"},targetEnergy:{label:"Ograniczenie",noLimit:"brak"}},startupError:{title:"B\u0142\u0105d uruchamiania",description:"Sprawd\u017A sw\xF3j plik konfiguracyjny. Je\u015Bli komunikat o b\u0142\u0119dzie nie pomo\u017Ce, zapoznaj si\u0119 z naszym {0}.",discussions:"Dyskusje GitHub",hint:"Uwaga: Inn\u0105 przyczyn\u0105 tego komunikatu mo\u017Ce by\u0107 wadliwe urz\u0105dzenie (inwerter, licznik, ...). Sprawd\u017A po\u0142\u0105czenia sieciowe.",configuration:"Konfiguracja",configFile:"U\u017Cywany plik konfiguracyjny:",lineError:"Znale\u017Ali\u015Bmy b\u0142\u0105d w {0}.",lineErrorLink:"wiersz {0}",fixAndRestart:"Napraw problem i zrestartuj serwer.",restartButton:"Restartuj"},sessions:{title:"Sesje \u0142adowania",downloadCsv:"Pobierz jako CSV",loadpoint:"\u0141adowarka",vehicle:"Pojazd",energy:"Na\u0142adowano",date:"Okres",csv:{loadpoint:"\u0141adowarka",vehicle:"Pojazd",odometer:"Przebieg (km)",identifier:"Identyfikator",chargedenergy:"Energia (kWh)",meterstart:"Pocz\u0105tek licznika (kWh)",meterstop:"Koniec licznika (kWh)",created:"Stworzony",finished:"Zako\u0144czony"}},offline:{message:"Brak po\u0142\u0105czenia z serwerem.",reload:"Prze\u0142adowa\u0107?"}},XO={header:{sessions:"Processos de carregamento",docs:"Documenta\xE7\xE3o",blog:"Blog",github:"GitHub",login:"Login de ve\xEDculo",about:"Sobre evcc",theme:{auto:"Design: Sistema",light:"Design: Claro",dark:"Design: Escuro"}},footer:{version:{availableShort:"Atualiza\xE7\xE3o",availableLong:"Atualiza\xE7\xE3o dispon\xEDvel",modalTitle:"Atualiza\xE7\xE3o dispon\xEDvel",modalUpdateStarted:"Ap\xF3s a atualiza\xE7\xE3o, o evcc ser\xE1 reiniciado.",modalInstalledVersion:"Vers\xE3o atualmente instalada",modalNoReleaseNotes:"Nenhuma nota de vers\xE3o dispon\xEDvel. Voc\xEA pode encontrar mais informa\xE7\xF5es sobre a nova vers\xE3o aqui:",modalCancel:"Cancelar",modalUpdate:"Atualizar",modalUpdateNow:"Atualizar agora",modalDownload:"Download",modalUpdateStatusStart:"Atualiza\xE7\xE3o iniciada:",modalUpdateStatusFailed:"N\xE3o foi poss\xEDvel atualizar:"},savings:{tabTitle:"Meus dados",footerShort:"{percent}% Sol",footerLong:"{percent}% Energia solar",modalTitle:"Avalia\xE7\xE3o da energia de carregamento",since:"desde {since}",percentTitle:"Energia solar",percentSelf:"{self} kWh sol",percentGrid:"{grid} kWh rede",priceTitle:"pre\xE7o da energia",priceFeedIn:"{feedInPrice} alimenta\xE7\xE3o",priceGrid:"{gridPrice} rede",savingsTitle:"Poupan\xE7a",savingsComparedToGrid:"em rela\xE7\xE3o a rede",savingsTotalEnergy:"{total} kWh carregado"},community:{tabTitle:"Live-Community",power:"Poder de carregamento",powerSub1:"{activeClients} de {totalClients} utilizadores",powerSub2:"carregam com evcc",greenShare:"Parte solar",greenShareSub1:"do desempenho vem",greenShareSub2:"de fotovoltaico e bateria dom\xE9stica",greenEnergy:"Energia solar",greenEnergySub1:"desde Outubro 2022",greenEnergySub2:"carregado sobre evcc"},telemetry:{optIn:"Tamb\xE9m gostaria de contribuir com meus dados.",optInMoreDetails:"Mais detalhes h\xE1 {0}.",optInMoreDetailsLink:"aqui",optInSponsorship:"Requer patroc\xEDnio."},sponsor:{titleSponsor:"Voc\xEA \xE9 um apoiador",titleNoSponsor:"Apoie-nos",thanks:"Obrigado por seu patroc\xEDnio, {sponsor}! Isso nos ajuda em um maior desenvolvimento.",confetti:"Gosta de confete?",supportUs:"Nossa miss\xE3o: tornar carrega solar a norma. Ajude-nos e apoie financeiramente o evcc.",sticker:"\u2026 ou autocolantes do evcc?",confettiPromise:"Tamb\xE9m temos autocolantes e confete digital ;)",becomeSponsor:"Torne-se um patrocinador"}},notifications:{modalTitle:"Not\xEDcias",dismissAll:"Remover not\xEDcias"},main:{vehicles:"Estacionamento",energyflow:{noEnergy:"Sem leituras",homePower:"Consumo",pvProduction:"Produ\xE7\xE3o",loadpoints:"Ponto de carregamento | Ponto de carregamento | {count} pontos de carregamento",battery:"Bateria",batteryCharge:"Carrego de bateria",batteryDischarge:"Descarrego de bateria",gridImport:"Consumo de rede",selfConsumption:"Consumo pr\xF3prio",pvExport:"Alimenta\xE7\xE3o"},mode:{off:"Desligado",minpv:"M\xEDnimo e PV",pv:"PV",now:"R\xE1pido"},loadpoint:{fallbackName:"Ponto de carregamento",remoteDisabledSoft:"{source}:carregamento PV adapt\xE1vel desativado",remoteDisabledHard:"{source}: desativado",power:"Desempenho",charged:"Carregado",duration:"Dura\xE7\xE3o",remaining:"Tempo restante"},loadpointSettings:{title:'Configura\xE7\xF5es "{0}"',vehicle:"Ve\xEDculo",currents:"Corrente de carga",default:"predefinado",disclaimerHint:"Aviso:",disclaimerText:"As altera\xE7\xF5es n\xE3o s\xE3o persistentes no momento e ser\xE3o redefinidas ap\xF3s a reinicializa\xE7\xE3o do servidor.",minSoC:{label:"N\xEDvel m\xEDnimo de carga",description:'Alcance para emerg\xEAncias. O ve\xEDculo carrega at\xE9 {0}% no modo "R\xE1pido". Em seguida, continue com o modo "PV".'},phasesConfigured:{label:"Fases el\xE9tricas",phases_0:"mudan\xE7a autom\xE1tica",phases_1:"monof\xE1sico",phases_1_hint:"({min} a {max})",phases_3:"trif\xE1sico",phases_3_hint:"({min} a {max})"},maxCurrent:{label:"Corrente de carga m\xE1xima"},minCurrent:{label:"Corrente de carga m\xEDnima"}},vehicle:{fallbackName:"Ve\xEDculo",vehicleSoC:"N\xEDvel de carga",targetSoC:"Alvo de carregamento",none:"Nenhum ve\xEDculo",unknown:"Ve\xEDculo convidado",changeVehicle:"Troca de ve\xEDculo",detectionActive:"Detec\xE7\xE3o de ve\xEDculo em obra..."},vehicleSoC:{disconnected:"separado",charging:"a carregar",ready:"esperando",connected:"ligado",vehicleTarget:"Limite de ve\xEDculo: {soc}%"},vehicleStatus:{minCharge:"Carga m\xEDnima at\xE9 {soc}%",waitForVehicle:"Pronto para carregar. Esperando pelo ve\xEDculo.",vehicleTargetReached:"Limite de ve\xEDculo {soc}% atingido.",charging:"Carregando.",targetChargePlanned:"Carga programada. A carga come\xE7a \xE0s {time} horas.",targetChargeWaitForVehicle:"Carga programada pronta. Esperando pelo ve\xEDculo.",targetChargeActive:"Carga programada ativa.",connected:"Ligado.",pvDisable:"Excesso insuficiente. Pausa em {remaining}.",pvEnable:"Excesso dispon\xEDvel. Carga em {remaining}.",scale1p:"Reduzir para monof\xE1sico em {remaining}.",scale3p:"Aumente para trif\xE1sico em {remaining}.",disconnected:"N\xE3o conectado.",unknown:""},provider:{login:"entrar no sistema",logout:"sair do sistema"},targetCharge:{title:"Tempo alvo",inactiveLabel:"Tempo alvo",activeLabel:"{time}",modalTitle:"Definir hora-alvo",setTargetTime:"sem",description:"Quando o ve\xEDculo deve ser carregado para {targetSoC}%?",today:"hoje",tomorrow:"amanh\xE3",targetIsInThePast:"O ponto do tempo est\xE1 no passado.",remove:"Remover",activate:"Ativar",experimentalLabel:"Experimental",experimentalText:"Esta fun\xE7\xE3o est\xE1 a trabalhar, mas ainda n\xE3o est\xE1 perfeito. Relate um comportamento inesperado em nossos"},targetEnergy:{label:"Alvo de carregamento",noLimit:"sem"}},startupError:{title:"Erro ao iniciar",description:"Verifique seu ficheiro de configura\xE7\xE3o. Se a mensagem de erro n\xE3o ajudar, procure em nossas {0} uma solu\xE7\xE3o.",discussions:"GitHub Discussions",hint:"Nota: Outra raz\xE3o pela qual voc\xEA v\xEA esta mensagem pode ser um equipamento com defeito (inversor, medidor, ...). Verifique tambem suas conex\xF5es de rede.",configuration:"Configura\xE7\xE3o",configFile:"Ficheiro de configura\xE7\xE3o em uso:",lineError:"Foi encontrado um erro em {0}.",lineErrorLink:"linha {0}",fixAndRestart:"Corrija o problema e reinicie o servidor.",restartButton:"Iniciar de novo"},sessions:{title:"Processos de carregamento",downloadCsv:"Descarregar como CSV",loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",odometer:"Quilometragem",energy:"Carregado",date:"Per\xEDodo",csv:{loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",identifier:"Identificador",chargedenergy:"Energia (kWh)",meterstart:"Leitura inicial do contador (kWh)",meterstop:"Leitura final do contador (kWh)",created:"hora de in\xEDcio",finished:"hora final"}},offline:{message:"Sem conex\xE3o com o servidor.",reload:"Iniciar de novo?"}},JO="preferred_locale";function e$(){const t=navigator.languages!==void 0?navigator.languages[0]:navigator.language;if(!!t)return t.trim().split(/-|_/)[0]}const t$=IO({locale:window.localStorage[JO]||e$(),fallbackLocale:"en",messages:{de:BO,en:UO,fr:WO,it:QO,lt:KO,nb_no:GO,nl:YO,pl:ZO,pt:XO}}),n$={install:t=>{t.config.globalProperties.$hiddenFeatures=window.localStorage.hidden_features==="true"}};By.polyfill();const ii=dE({data(){return{notifications:[],offline:!1}},watch:{offline:function(t){console.log(`we are ${t?"offline":"online"}`)}},methods:{raise:function(t){console[t.type](t);const e=new Date,n=this.notifications[0];n&&n.message===t.message?(n.count++,n.time=e):this.notifications=[{...t,count:1,time:e},...this.notifications]},clear:function(){this.notifications=[]},error:function(t){t.type="error",this.raise(t)},setOnline:function(){this.offline=!1},setOffline:function(){this.offline=!0},warn:function(t){t.type="warn",this.raise(t)}},render:function(){return Tr(ME,{notifications:this.notifications,offline:this.offline})}});ii.use(t$);ii.use(cI);ii.use(SE());ii.use(xE);ii.use(n$);ii.use(I_);window.app=ii.mount("#app");v4()});export default r$(); diff --git a/dist/index.html b/dist/index.html index dcc2bb1cc..0d0992e91 100644 --- a/dist/index.html +++ b/dist/index.html @@ -20,7 +20,7 @@ evcc - +