93 lines
365 KiB
JavaScript
93 lines
365 KiB
JavaScript
var tg=Object.defineProperty,ng=Object.defineProperties;var rg=Object.getOwnPropertyDescriptors;var Ic=Object.getOwnPropertySymbols;var sg=Object.prototype.hasOwnProperty,ig=Object.prototype.propertyIsEnumerable;var Qo=(e,t,n)=>t in e?tg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,he=(e,t)=>{for(var n in t||(t={}))sg.call(t,n)&&Qo(e,n,t[n]);if(Ic)for(var n of Ic(t))ig.call(t,n)&&Qo(e,n,t[n]);return e},gs=(e,t)=>ng(e,rg(t));var og=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vn=(e,t,n)=>(Qo(e,typeof t!="symbol"?t+"":t,n),n);var ux=og((dx,hi)=>{const ag=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerpolicy&&(i.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?i.credentials="include":s.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}};ag();var et="top",gt="bottom",_t="right",tt="left",oo="auto",as=[et,gt,_t,tt],lr="start",Br="end",pd="clippingParents",_l="viewport",kr="popper",gd="reference",Ta=as.reduce(function(e,t){return e.concat([t+"-"+lr,t+"-"+Br])},[]),vl=[].concat(as,[oo]).reduce(function(e,t){return e.concat([t,t+"-"+lr,t+"-"+Br])},[]),_d="beforeRead",vd="read",bd="afterRead",yd="beforeMain",Ed="main",wd="afterMain",Td="beforeWrite",Sd="write",Cd="afterWrite",Ad=[_d,vd,bd,yd,Ed,wd,Td,Sd,Cd];function Qt(e){return e?(e.nodeName||"").toLowerCase():null}function Mt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jr(e){var t=Mt(e).Element;return e instanceof t||e instanceof Element}function Ct(e){var t=Mt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function bl(e){if(typeof ShadowRoot=="undefined")return!1;var t=Mt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function lg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},i=t.elements[n];!Ct(i)||!Qt(i)||(Object.assign(i.style,r),Object.keys(s).forEach(function(o){var a=s[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function cg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(l,c){return l[c]="",l},{});!Ct(s)||!Qt(s)||(Object.assign(s.style,a),Object.keys(i).forEach(function(l){s.removeAttribute(l)}))})}}var yl={name:"applyStyles",enabled:!0,phase:"write",fn:lg,effect:cg,requires:["computeStyles"]};function Kt(e){return e.split("-")[0]}var nr=Math.max,Ui=Math.min,Vr=Math.round;function Ur(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,s=1;if(Ct(e)&&t){var i=e.offsetHeight,o=e.offsetWidth;o>0&&(r=Vr(n.width)/o||1),i>0&&(s=Vr(n.height)/i||1)}return{width:n.width/r,height:n.height/s,top:n.top/s,right:n.right/r,bottom:n.bottom/s,left:n.left/r,x:n.left/r,y:n.top/s}}function El(e){var t=Ur(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function kd(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&bl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cn(e){return Mt(e).getComputedStyle(e)}function ug(e){return["table","td","th"].indexOf(Qt(e))>=0}function Mn(e){return((jr(e)?e.ownerDocument:e.document)||window.document).documentElement}function ao(e){return Qt(e)==="html"?e:e.assignedSlot||e.parentNode||(bl(e)?e.host:null)||Mn(e)}function Rc(e){return!Ct(e)||cn(e).position==="fixed"?null:e.offsetParent}function fg(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Ct(e)){var r=cn(e);if(r.position==="fixed")return null}var s=ao(e);for(bl(s)&&(s=s.host);Ct(s)&&["html","body"].indexOf(Qt(s))<0;){var i=cn(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function ni(e){for(var t=Mt(e),n=Rc(e);n&&ug(n)&&cn(n).position==="static";)n=Rc(n);return n&&(Qt(n)==="html"||Qt(n)==="body"&&cn(n).position==="static")?t:n||fg(e)||t}function wl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ns(e,t,n){return nr(e,Ui(t,n))}function dg(e,t,n){var r=Ns(e,t,n);return r>n?n:r}function Od(){return{top:0,right:0,bottom:0,left:0}}function Ld(e){return Object.assign({},Od(),e)}function Nd(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var hg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ld(typeof t!="number"?t:Nd(t,as))};function mg(e){var t,n=e.state,r=e.name,s=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Kt(n.placement),l=wl(a),c=[tt,_t].indexOf(a)>=0,u=c?"height":"width";if(!(!i||!o)){var f=hg(s.padding,n),d=El(i),g=l==="y"?et:tt,T=l==="y"?gt:_t,A=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],_=o[l]-n.rects.reference[l],p=ni(i),v=p?l==="y"?p.clientHeight||0:p.clientWidth||0:0,E=A/2-_/2,m=f[g],k=v-d[u]-f[T],$=v/2-d[u]/2+E,L=Ns(m,$,k),H=l;n.modifiersData[r]=(t={},t[H]=L,t.centerOffset=L-$,t)}}function pg(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||!kd(t.elements.popper,s)||(t.elements.arrow=s))}var $d={name:"arrow",enabled:!0,phase:"main",fn:mg,effect:pg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wr(e){return e.split("-")[1]}var gg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _g(e){var t=e.x,n=e.y,r=window,s=r.devicePixelRatio||1;return{x:Vr(t*s)/s||0,y:Vr(n*s)/s||0}}function Mc(e){var t,n=e.popper,r=e.popperRect,s=e.placement,i=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=o.x,g=d===void 0?0:d,T=o.y,A=T===void 0?0:T,_=typeof u=="function"?u({x:g,y:A}):{x:g,y:A};g=_.x,A=_.y;var p=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),E=tt,m=et,k=window;if(c){var $=ni(n),L="clientHeight",H="clientWidth";if($===Mt(n)&&($=Mn(n),cn($).position!=="static"&&a==="absolute"&&(L="scrollHeight",H="scrollWidth")),$=$,s===et||(s===tt||s===_t)&&i===Br){m=gt;var j=f&&$===k&&k.visualViewport?k.visualViewport.height:$[L];A-=j-r.height,A*=l?1:-1}if(s===tt||(s===et||s===gt)&&i===Br){E=_t;var Y=f&&$===k&&k.visualViewport?k.visualViewport.width:$[H];g-=Y-r.width,g*=l?1:-1}}var J=Object.assign({position:a},c&&gg),F=u===!0?_g({x:g,y:A}):{x:g,y:A};if(g=F.x,A=F.y,l){var re;return Object.assign({},J,(re={},re[m]=v?"0":"",re[E]=p?"0":"",re.transform=(k.devicePixelRatio||1)<=1?"translate("+g+"px, "+A+"px)":"translate3d("+g+"px, "+A+"px, 0)",re))}return Object.assign({},J,(t={},t[m]=v?A+"px":"",t[E]=p?g+"px":"",t.transform="",t))}function vg(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Kt(t.placement),variation:Wr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Mc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Mc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Tl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vg,data:{}},gi={passive:!0};function bg(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,i=s===void 0?!0:s,o=r.resize,a=o===void 0?!0:o,l=Mt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",n.update,gi)}),a&&l.addEventListener("resize",n.update,gi),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",n.update,gi)}),a&&l.removeEventListener("resize",n.update,gi)}}var Sl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bg,data:{}},yg={left:"right",right:"left",bottom:"top",top:"bottom"};function xi(e){return e.replace(/left|right|bottom|top/g,function(t){return yg[t]})}var Eg={start:"end",end:"start"};function Dc(e){return e.replace(/start|end/g,function(t){return Eg[t]})}function Cl(e){var t=Mt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Al(e){return Ur(Mn(e)).left+Cl(e).scrollLeft}function wg(e){var t=Mt(e),n=Mn(e),r=t.visualViewport,s=n.clientWidth,i=n.clientHeight,o=0,a=0;return r&&(s=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,a=r.offsetTop)),{width:s,height:i,x:o+Al(e),y:a}}function Tg(e){var t,n=Mn(e),r=Cl(e),s=(t=e.ownerDocument)==null?void 0:t.body,i=nr(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=nr(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-r.scrollLeft+Al(e),l=-r.scrollTop;return cn(s||n).direction==="rtl"&&(a+=nr(n.clientWidth,s?s.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function kl(e){var t=cn(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function xd(e){return["html","body","#document"].indexOf(Qt(e))>=0?e.ownerDocument.body:Ct(e)&&kl(e)?e:xd(ao(e))}function $s(e,t){var n;t===void 0&&(t=[]);var r=xd(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),i=Mt(r),o=s?[i].concat(i.visualViewport||[],kl(r)?r:[]):r,a=t.concat(o);return s?a:a.concat($s(ao(o)))}function Sa(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Sg(e){var t=Ur(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Fc(e,t){return t===_l?Sa(wg(e)):jr(t)?Sg(t):Sa(Tg(Mn(e)))}function Cg(e){var t=$s(ao(e)),n=["absolute","fixed"].indexOf(cn(e).position)>=0,r=n&&Ct(e)?ni(e):e;return jr(r)?t.filter(function(s){return jr(s)&&kd(s,r)&&Qt(s)!=="body"}):[]}function Ag(e,t,n){var r=t==="clippingParents"?Cg(e):[].concat(t),s=[].concat(r,[n]),i=s[0],o=s.reduce(function(a,l){var c=Fc(e,l);return a.top=nr(c.top,a.top),a.right=Ui(c.right,a.right),a.bottom=Ui(c.bottom,a.bottom),a.left=nr(c.left,a.left),a},Fc(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Pd(e){var t=e.reference,n=e.element,r=e.placement,s=r?Kt(r):null,i=r?Wr(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(s){case et:l={x:o,y:t.y-n.height};break;case gt:l={x:o,y:t.y+t.height};break;case _t:l={x:t.x+t.width,y:a};break;case tt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=s?wl(s):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case lr:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Br:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function zr(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,i=n.boundary,o=i===void 0?pd:i,a=n.rootBoundary,l=a===void 0?_l:a,c=n.elementContext,u=c===void 0?kr:c,f=n.altBoundary,d=f===void 0?!1:f,g=n.padding,T=g===void 0?0:g,A=Ld(typeof T!="number"?T:Nd(T,as)),_=u===kr?gd:kr,p=e.rects.popper,v=e.elements[d?_:u],E=Ag(jr(v)?v:v.contextElement||Mn(e.elements.popper),o,l),m=Ur(e.elements.reference),k=Pd({reference:m,element:p,strategy:"absolute",placement:s}),$=Sa(Object.assign({},p,k)),L=u===kr?$:m,H={top:E.top-L.top+A.top,bottom:L.bottom-E.bottom+A.bottom,left:E.left-L.left+A.left,right:L.right-E.right+A.right},j=e.modifiersData.offset;if(u===kr&&j){var Y=j[s];Object.keys(H).forEach(function(J){var F=[_t,gt].indexOf(J)>=0?1:-1,re=[et,gt].indexOf(J)>=0?"y":"x";H[J]+=Y[re]*F})}return H}function kg(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?vl:l,u=Wr(r),f=u?a?Ta:Ta.filter(function(T){return Wr(T)===u}):as,d=f.filter(function(T){return c.indexOf(T)>=0});d.length===0&&(d=f);var g=d.reduce(function(T,A){return T[A]=zr(e,{placement:A,boundary:s,rootBoundary:i,padding:o})[Kt(A)],T},{});return Object.keys(g).sort(function(T,A){return g[T]-g[A]})}function Og(e){if(Kt(e)===oo)return[];var t=xi(e);return[Dc(e),t,Dc(t)]}function Lg(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,g=n.flipVariations,T=g===void 0?!0:g,A=n.allowedAutoPlacements,_=t.options.placement,p=Kt(_),v=p===_,E=l||(v||!T?[xi(_)]:Og(_)),m=[_].concat(E).reduce(function(Ee,R){return Ee.concat(Kt(R)===oo?kg(t,{placement:R,boundary:u,rootBoundary:f,padding:c,flipVariations:T,allowedAutoPlacements:A}):R)},[]),k=t.rects.reference,$=t.rects.popper,L=new Map,H=!0,j=m[0],Y=0;Y<m.length;Y++){var J=m[Y],F=Kt(J),re=Wr(J)===lr,x=[et,gt].indexOf(F)>=0,P=x?"width":"height",Z=zr(t,{placement:J,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),ee=x?re?_t:tt:re?gt:et;k[P]>$[P]&&(ee=xi(ee));var oe=xi(ee),le=[];if(i&&le.push(Z[F]<=0),a&&le.push(Z[ee]<=0,Z[oe]<=0),le.every(function(Ee){return Ee})){j=J,H=!1;break}L.set(J,le)}if(H)for(var ue=T?3:1,pe=function(R){var X=m.find(function(B){var te=L.get(B);if(te)return te.slice(0,R).every(function(ge){return ge})});if(X)return j=X,"break"},ve=ue;ve>0;ve--){var Oe=pe(ve);if(Oe==="break")break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}}var Id={name:"flip",enabled:!0,phase:"main",fn:Lg,requiresIfExists:["offset"],data:{_skip:!1}};function Hc(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Bc(e){return[et,_t,gt,tt].some(function(t){return e[t]>=0})}function Ng(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,i=t.modifiersData.preventOverflow,o=zr(t,{elementContext:"reference"}),a=zr(t,{altBoundary:!0}),l=Hc(o,r),c=Hc(a,s,i),u=Bc(l),f=Bc(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}var Rd={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ng};function $g(e,t,n){var r=Kt(e),s=[tt,et].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*s,[tt,_t].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function xg(e){var t=e.state,n=e.options,r=e.name,s=n.offset,i=s===void 0?[0,0]:s,o=vl.reduce(function(u,f){return u[f]=$g(f,t.rects,i),u},{}),a=o[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=o}var Md={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xg};function Pg(e){var t=e.state,n=e.name;t.modifiersData[n]=Pd({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ol={name:"popperOffsets",enabled:!0,phase:"read",fn:Pg,data:{}};function Ig(e){return e==="x"?"y":"x"}function Rg(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,i=s===void 0?!0:s,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,g=d===void 0?!0:d,T=n.tetherOffset,A=T===void 0?0:T,_=zr(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),p=Kt(t.placement),v=Wr(t.placement),E=!v,m=wl(p),k=Ig(m),$=t.modifiersData.popperOffsets,L=t.rects.reference,H=t.rects.popper,j=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,Y=typeof j=="number"?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),J=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(!!$){if(i){var re,x=m==="y"?et:tt,P=m==="y"?gt:_t,Z=m==="y"?"height":"width",ee=$[m],oe=ee+_[x],le=ee-_[P],ue=g?-H[Z]/2:0,pe=v===lr?L[Z]:H[Z],ve=v===lr?-H[Z]:-L[Z],Oe=t.elements.arrow,Ee=g&&Oe?El(Oe):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Od(),X=R[x],B=R[P],te=Ns(0,L[Z],Ee[Z]),ge=E?L[Z]/2-ue-te-X-Y.mainAxis:pe-te-X-Y.mainAxis,be=E?-L[Z]/2+ue+te+B+Y.mainAxis:ve+te+B+Y.mainAxis,y=t.elements.arrow&&ni(t.elements.arrow),w=y?m==="y"?y.clientTop||0:y.clientLeft||0:0,h=(re=J==null?void 0:J[m])!=null?re:0,b=ee+ge-h-w,O=ee+be-h,I=Ns(g?Ui(oe,b):oe,ee,g?nr(le,O):le);$[m]=I,F[m]=I-ee}if(a){var M,W=m==="x"?et:tt,Q=m==="x"?gt:_t,z=$[k],C=k==="y"?"height":"width",N=z+_[W],ne=z-_[Q],G=[et,tt].indexOf(p)!==-1,ie=(M=J==null?void 0:J[k])!=null?M:0,ce=G?N:z-L[C]-H[C]-ie+Y.altAxis,me=G?z+L[C]+H[C]-ie-Y.altAxis:ne,ke=g&&G?dg(ce,z,me):Ns(g?ce:N,z,g?me:ne);$[k]=ke,F[k]=ke-z}t.modifiersData[r]=F}}var Dd={name:"preventOverflow",enabled:!0,phase:"main",fn:Rg,requiresIfExists:["offset"]};function Mg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Dg(e){return e===Mt(e)||!Ct(e)?Cl(e):Mg(e)}function Fg(e){var t=e.getBoundingClientRect(),n=Vr(t.width)/e.offsetWidth||1,r=Vr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Hg(e,t,n){n===void 0&&(n=!1);var r=Ct(t),s=Ct(t)&&Fg(t),i=Mn(t),o=Ur(e,s),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Qt(t)!=="body"||kl(i))&&(a=Dg(t)),Ct(t)?(l=Ur(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Al(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Bg(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function s(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&s(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||s(i)}),r}function jg(e){var t=Bg(e);return Ad.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function Vg(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ug(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var jc={placement:"bottom",modifiers:[],strategy:"absolute"};function Vc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function lo(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,i=s===void 0?jc:s;return function(a,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},jc,i),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},f=[],d=!1,g={state:u,setOptions:function(p){var v=typeof p=="function"?p(u.options):p;A(),u.options=Object.assign({},i,u.options,v),u.scrollParents={reference:jr(a)?$s(a):a.contextElement?$s(a.contextElement):[],popper:$s(l)};var E=jg(Ug([].concat(r,u.options.modifiers)));return u.orderedModifiers=E.filter(function(m){return m.enabled}),T(),g.update()},forceUpdate:function(){if(!d){var p=u.elements,v=p.reference,E=p.popper;if(!!Vc(v,E)){u.rects={reference:Hg(v,ni(E),u.options.strategy==="fixed"),popper:El(E)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(Y){return u.modifiersData[Y.name]=Object.assign({},Y.data)});for(var m=0;m<u.orderedModifiers.length;m++){if(u.reset===!0){u.reset=!1,m=-1;continue}var k=u.orderedModifiers[m],$=k.fn,L=k.options,H=L===void 0?{}:L,j=k.name;typeof $=="function"&&(u=$({state:u,options:H,name:j,instance:g})||u)}}}},update:Vg(function(){return new Promise(function(_){g.forceUpdate(),_(u)})}),destroy:function(){A(),d=!0}};if(!Vc(a,l))return g;g.setOptions(c).then(function(_){!d&&c.onFirstUpdate&&c.onFirstUpdate(_)});function T(){u.orderedModifiers.forEach(function(_){var p=_.name,v=_.options,E=v===void 0?{}:v,m=_.effect;if(typeof m=="function"){var k=m({state:u,name:p,instance:g,options:E}),$=function(){};f.push(k||$)}})}function A(){f.forEach(function(_){return _()}),f=[]}return g}}var Wg=lo(),zg=[Sl,Ol,Tl,yl],Kg=lo({defaultModifiers:zg}),Yg=[Sl,Ol,Tl,yl,Md,Id,Dd,$d,Rd],Ll=lo({defaultModifiers:Yg}),Fd=Object.freeze(Object.defineProperty({__proto__:null,popperGenerator:lo,detectOverflow:zr,createPopperBase:Wg,createPopper:Ll,createPopperLite:Kg,top:et,bottom:gt,right:_t,left:tt,auto:oo,basePlacements:as,start:lr,end:Br,clippingParents:pd,viewport:_l,popper:kr,reference:gd,variationPlacements:Ta,placements:vl,beforeRead:_d,read:vd,afterRead:bd,beforeMain:yd,main:Ed,afterMain:wd,beforeWrite:Td,write:Sd,afterWrite:Cd,modifierPhases:Ad,applyStyles:yl,arrow:$d,computeStyles:Tl,eventListeners:Sl,flip:Id,hide:Rd,offset:Md,popperOffsets:Ol,preventOverflow:Dd},Symbol.toStringTag,{value:"Module"}));/*!
|
|
* Bootstrap v5.1.3 (https://getbootstrap.com/)
|
|
* Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/const qg=1e6,Gg=1e3,Ca="transitionend",Xg=e=>e==null?`${e}`:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Jg=e=>{do e+=Math.floor(Math.random()*qg);while(document.getElementById(e));return e},Hd=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t},Nl=e=>{const t=Hd(e);return t&&document.querySelector(t)?t:null},On=e=>{const t=Hd(e);return t?document.querySelector(t):null},Qg=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),s=Number.parseFloat(n);return!r&&!s?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*Gg)},Bd=e=>{e.dispatchEvent(new Event(Ca))},cr=e=>!e||typeof e!="object"?!1:(typeof e.jquery!="undefined"&&(e=e[0]),typeof e.nodeType!="undefined"),Ln=e=>cr(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(e):null,en=(e,t,n)=>{Object.keys(n).forEach(r=>{const s=n[r],i=t[r],o=i&&cr(i)?"element":Xg(i);if(!new RegExp(s).test(o))throw new TypeError(`${e.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`)})},ri=e=>!cr(e)||e.getClientRects().length===0?!1:getComputedStyle(e).getPropertyValue("visibility")==="visible",rr=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled!="undefined"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",jd=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?jd(e.parentNode):null},Wi=()=>{},ls=e=>{e.offsetHeight},Vd=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},Zo=[],Zg=e=>{document.readyState==="loading"?(Zo.length||document.addEventListener("DOMContentLoaded",()=>{Zo.forEach(t=>t())}),Zo.push(e)):e()},at=()=>document.documentElement.dir==="rtl",kt=e=>{Zg(()=>{const t=Vd();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},Jn=e=>{typeof e=="function"&&e()},Ud=(e,t,n=!0)=>{if(!n){Jn(e);return}const r=5,s=Qg(t)+r;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(Ca,o),Jn(e))};t.addEventListener(Ca,o),setTimeout(()=>{i||Bd(t)},s)},Wd=(e,t,n,r)=>{let s=e.indexOf(t);if(s===-1)return e[!n&&r?e.length-1:0];const i=e.length;return s+=n?1:-1,r&&(s=(s+i)%i),e[Math.max(0,Math.min(s,i-1))]},e_=/[^.]*(?=\..*)\.|.*/,t_=/\..*/,n_=/::\d+$/,ea={};let Uc=1;const r_={mouseenter:"mouseover",mouseleave:"mouseout"},s_=/^(mouseenter|mouseleave)/i,zd=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 Kd(e,t){return t&&`${t}::${Uc++}`||e.uidEvent||Uc++}function Yd(e){const t=Kd(e);return e.uidEvent=t,ea[t]=ea[t]||{},ea[t]}function i_(e,t){return function n(r){return r.delegateTarget=e,n.oneOff&&U.off(e,r.type,t),t.apply(e,[r])}}function o_(e,t,n){return function r(s){const i=e.querySelectorAll(t);for(let{target:o}=s;o&&o!==this;o=o.parentNode)for(let a=i.length;a--;)if(i[a]===o)return s.delegateTarget=o,r.oneOff&&U.off(e,s.type,t,n),n.apply(o,[s]);return null}}function qd(e,t,n=null){const r=Object.keys(e);for(let s=0,i=r.length;s<i;s++){const o=e[r[s]];if(o.originalHandler===t&&o.delegationSelector===n)return o}return null}function Gd(e,t,n){const r=typeof t=="string",s=r?n:t;let i=Xd(e);return zd.has(i)||(i=e),[r,s,i]}function Wc(e,t,n,r,s){if(typeof t!="string"||!e)return;if(n||(n=r,r=null),s_.test(t)){const g=T=>function(A){if(!A.relatedTarget||A.relatedTarget!==A.delegateTarget&&!A.delegateTarget.contains(A.relatedTarget))return T.call(this,A)};r?r=g(r):n=g(n)}const[i,o,a]=Gd(t,n,r),l=Yd(e),c=l[a]||(l[a]={}),u=qd(c,o,i?n:null);if(u){u.oneOff=u.oneOff&&s;return}const f=Kd(o,t.replace(e_,"")),d=i?o_(e,n,r):i_(e,n);d.delegationSelector=i?n:null,d.originalHandler=o,d.oneOff=s,d.uidEvent=f,c[f]=d,e.addEventListener(a,d,i)}function Aa(e,t,n,r,s){const i=qd(t[n],r,s);!i||(e.removeEventListener(n,i,Boolean(s)),delete t[n][i.uidEvent])}function a_(e,t,n,r){const s=t[n]||{};Object.keys(s).forEach(i=>{if(i.includes(r)){const o=s[i];Aa(e,t,n,o.originalHandler,o.delegationSelector)}})}function Xd(e){return e=e.replace(t_,""),r_[e]||e}const U={on(e,t,n,r){Wc(e,t,n,r,!1)},one(e,t,n,r){Wc(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!="string"||!e)return;const[s,i,o]=Gd(t,n,r),a=o!==t,l=Yd(e),c=t.startsWith(".");if(typeof i!="undefined"){if(!l||!l[o])return;Aa(e,l,o,i,s?n:null);return}c&&Object.keys(l).forEach(f=>{a_(e,l,f,t.slice(1))});const u=l[o]||{};Object.keys(u).forEach(f=>{const d=f.replace(n_,"");if(!a||t.includes(d)){const g=u[f];Aa(e,l,o,g.originalHandler,g.delegationSelector)}})},trigger(e,t,n){if(typeof t!="string"||!e)return null;const r=Vd(),s=Xd(t),i=t!==s,o=zd.has(s);let a,l=!0,c=!0,u=!1,f=null;return i&&r&&(a=r.Event(t,n),r(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),o?(f=document.createEvent("HTMLEvents"),f.initEvent(s,l,!0)):f=new CustomEvent(t,{bubbles:l,cancelable:!0}),typeof n!="undefined"&&Object.keys(n).forEach(d=>{Object.defineProperty(f,d,{get(){return n[d]}})}),u&&f.preventDefault(),c&&e.dispatchEvent(f),f.defaultPrevented&&typeof a!="undefined"&&a.preventDefault(),f}},pn=new Map,xs={set(e,t,n){pn.has(e)||pn.set(e,new Map);const r=pn.get(e);if(!r.has(t)&&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(t,n)},get(e,t){return pn.has(e)&&pn.get(e).get(t)||null},remove(e,t){if(!pn.has(e))return;const n=pn.get(e);n.delete(t),n.size===0&&pn.delete(e)}},l_="5.1.3";class Dt{constructor(t){t=Ln(t),t&&(this._element=t,xs.set(this._element,this.constructor.DATA_KEY,this))}dispose(){xs.remove(this._element,this.constructor.DATA_KEY),U.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(t=>{this[t]=null})}_queueCallback(t,n,r=!0){Ud(t,n,r)}static getInstance(t){return xs.get(Ln(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return l_}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const co=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;U.on(document,n,`[data-bs-dismiss="${r}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),rr(this))return;const i=On(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},c_="alert",u_="bs.alert",Jd=`.${u_}`,f_=`close${Jd}`,d_=`closed${Jd}`,h_="fade",m_="show";class uo extends Dt{static get NAME(){return c_}close(){if(U.trigger(this._element,f_).defaultPrevented)return;this._element.classList.remove(m_);const n=this._element.classList.contains(h_);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),U.trigger(this._element,d_),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=uo.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}co(uo,"close");kt(uo);const p_="button",g_="bs.button",__=`.${g_}`,v_=".data-api",b_="active",zc='[data-bs-toggle="button"]',y_=`click${__}${v_}`;class fo extends Dt{static get NAME(){return p_}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(b_))}static jQueryInterface(t){return this.each(function(){const n=fo.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}U.on(document,y_,zc,e=>{e.preventDefault();const t=e.target.closest(zc);fo.getOrCreateInstance(t).toggle()});kt(fo);function Kc(e){return e==="true"?!0:e==="false"?!1:e===Number(e).toString()?Number(e):e===""||e==="null"?null:e}function ta(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ze={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${ta(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ta(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter(n=>n.startsWith("bs")).forEach(n=>{let r=n.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=Kc(e.dataset[n])}),t},getDataAttribute(e,t){return Kc(e.getAttribute(`data-bs-${ta(t)}`))},offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position(e){return{top:e.offsetTop,left:e.offsetLeft}}},E_=3,fe={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let r=e.parentNode;for(;r&&r.nodeType===Node.ELEMENT_NODE&&r.nodeType!==E_;)r.matches(t)&&n.push(r),r=r.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(", ");return this.find(t,e).filter(n=>!rr(n)&&ri(n))}},Yc="carousel",w_="bs.carousel",yt=`.${w_}`,Qd=".data-api",T_="ArrowLeft",S_="ArrowRight",C_=500,A_=40,qc={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},k_={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Un="next",Wn="prev",qn="left",As="right",O_={[T_]:As,[S_]:qn},L_=`slide${yt}`,Gc=`slid${yt}`,N_=`keydown${yt}`,$_=`mouseenter${yt}`,x_=`mouseleave${yt}`,P_=`touchstart${yt}`,I_=`touchmove${yt}`,R_=`touchend${yt}`,M_=`pointerdown${yt}`,D_=`pointerup${yt}`,F_=`dragstart${yt}`,H_=`load${yt}${Qd}`,B_=`click${yt}${Qd}`,j_="carousel",zn="active",V_="slide",U_="carousel-item-end",W_="carousel-item-start",z_="carousel-item-next",K_="carousel-item-prev",Y_="pointer-event",q_=".active",_i=".active.carousel-item",G_=".carousel-item",X_=".carousel-item img",J_=".carousel-item-next, .carousel-item-prev",Q_=".carousel-indicators",Z_="[data-bs-target]",ev="[data-bs-slide], [data-bs-slide-to]",tv='[data-bs-ride="carousel"]',nv="touch",rv="pen";class an extends Dt{constructor(t,n){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(n),this._indicatorsElement=fe.findOne(Q_,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return qc}static get NAME(){return Yc}next(){this._slide(Un)}nextWhenVisible(){!document.hidden&&ri(this._element)&&this.next()}prev(){this._slide(Wn)}pause(t){t||(this._isPaused=!0),fe.findOne(J_,this._element)&&(Bd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=fe.findOne(_i,this._element);const n=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding){U.one(this._element,Gc,()=>this.to(t));return}if(n===t){this.pause(),this.cycle();return}const r=t>n?Un:Wn;this._slide(r,this._items[t])}_getConfig(t){return t=he(he(he({},qc),ze.getDataAttributes(this._element)),typeof t=="object"?t:{}),en(Yc,t,k_),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=A_)return;const n=t/this.touchDeltaX;this.touchDeltaX=0,n&&this._slide(n>0?As:qn)}_addEventListeners(){this._config.keyboard&&U.on(this._element,N_,t=>this._keydown(t)),this._config.pause==="hover"&&(U.on(this._element,$_,t=>this.pause(t)),U.on(this._element,x_,t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=i=>this._pointerEvent&&(i.pointerType===rv||i.pointerType===nv),n=i=>{t(i)?this.touchStartX=i.clientX:this._pointerEvent||(this.touchStartX=i.touches[0].clientX)},r=i=>{this.touchDeltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this.touchStartX},s=i=>{t(i)&&(this.touchDeltaX=i.clientX-this.touchStartX),this._handleSwipe(),this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(o=>this.cycle(o),C_+this._config.interval))};fe.find(X_,this._element).forEach(i=>{U.on(i,F_,o=>o.preventDefault())}),this._pointerEvent?(U.on(this._element,M_,i=>n(i)),U.on(this._element,D_,i=>s(i)),this._element.classList.add(Y_)):(U.on(this._element,P_,i=>n(i)),U.on(this._element,I_,i=>r(i)),U.on(this._element,R_,i=>s(i)))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=O_[t.key];n&&(t.preventDefault(),this._slide(n))}_getItemIndex(t){return this._items=t&&t.parentNode?fe.find(G_,t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,n){const r=t===Un;return Wd(this._items,n,r,this._config.wrap)}_triggerSlideEvent(t,n){const r=this._getItemIndex(t),s=this._getItemIndex(fe.findOne(_i,this._element));return U.trigger(this._element,L_,{relatedTarget:t,direction:n,from:s,to:r})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const n=fe.findOne(q_,this._indicatorsElement);n.classList.remove(zn),n.removeAttribute("aria-current");const r=fe.find(Z_,this._indicatorsElement);for(let s=0;s<r.length;s++)if(Number.parseInt(r[s].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){r[s].classList.add(zn),r[s].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||fe.findOne(_i,this._element);if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);n?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=n):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,n){const r=this._directionToOrder(t),s=fe.findOne(_i,this._element),i=this._getItemIndex(s),o=n||this._getItemByOrder(r,s),a=this._getItemIndex(o),l=Boolean(this._interval),c=r===Un,u=c?W_:U_,f=c?z_:K_,d=this._orderToDirection(r);if(o&&o.classList.contains(zn)){this._isSliding=!1;return}if(this._isSliding||this._triggerSlideEvent(o,d).defaultPrevented||!s||!o)return;this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const T=()=>{U.trigger(this._element,Gc,{relatedTarget:o,direction:d,from:i,to:a})};if(this._element.classList.contains(V_)){o.classList.add(f),ls(o),s.classList.add(u),o.classList.add(u);const A=()=>{o.classList.remove(u,f),o.classList.add(zn),s.classList.remove(zn,f,u),this._isSliding=!1,setTimeout(T,0)};this._queueCallback(A,s,!0)}else s.classList.remove(zn),o.classList.add(zn),this._isSliding=!1,T();l&&this.cycle()}_directionToOrder(t){return[As,qn].includes(t)?at()?t===qn?Wn:Un:t===qn?Un:Wn:t}_orderToDirection(t){return[Un,Wn].includes(t)?at()?t===Wn?qn:As:t===Wn?As:qn:t}static carouselInterface(t,n){const r=an.getOrCreateInstance(t,n);let{_config:s}=r;typeof n=="object"&&(s=he(he({},s),n));const i=typeof n=="string"?n:s.slide;if(typeof n=="number")r.to(n);else if(typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError(`No method named "${i}"`);r[i]()}else s.interval&&s.ride&&(r.pause(),r.cycle())}static jQueryInterface(t){return this.each(function(){an.carouselInterface(this,t)})}static dataApiClickHandler(t){const n=On(this);if(!n||!n.classList.contains(j_))return;const r=he(he({},ze.getDataAttributes(n)),ze.getDataAttributes(this)),s=this.getAttribute("data-bs-slide-to");s&&(r.interval=!1),an.carouselInterface(n,r),s&&an.getInstance(n).to(s),t.preventDefault()}}U.on(document,B_,ev,an.dataApiClickHandler);U.on(window,H_,()=>{const e=fe.find(tv);for(let t=0,n=e.length;t<n;t++)an.carouselInterface(e[t],an.getInstance(e[t]))});kt(an);const Xc="collapse",Zd="bs.collapse",si=`.${Zd}`,sv=".data-api",Jc={toggle:!0,parent:null},iv={toggle:"boolean",parent:"(null|element)"},ov=`show${si}`,av=`shown${si}`,lv=`hide${si}`,cv=`hidden${si}`,uv=`click${si}${sv}`,na="show",Pr="collapse",vi="collapsing",Qc="collapsed",Zc=`:scope .${Pr} .${Pr}`,fv="collapse-horizontal",dv="width",hv="height",mv=".collapse.show, .collapse.collapsing",ka='[data-bs-toggle="collapse"]';class Ir extends Dt{constructor(t,n){super(t),this._isTransitioning=!1,this._config=this._getConfig(n),this._triggerArray=[];const r=fe.find(ka);for(let s=0,i=r.length;s<i;s++){const o=r[s],a=Nl(o),l=fe.find(a).filter(c=>c===this._element);a!==null&&l.length&&(this._selector=a,this._triggerArray.push(o))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Jc}static get NAME(){return Xc}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[],n;if(this._config.parent){const c=fe.find(Zc,this._config.parent);t=fe.find(mv,this._config.parent).filter(u=>!c.includes(u))}const r=fe.findOne(this._selector);if(t.length){const c=t.find(u=>r!==u);if(n=c?Ir.getInstance(c):null,n&&n._isTransitioning)return}if(U.trigger(this._element,ov).defaultPrevented)return;t.forEach(c=>{r!==c&&Ir.getOrCreateInstance(c,{toggle:!1}).hide(),n||xs.set(c,Zd,null)});const i=this._getDimension();this._element.classList.remove(Pr),this._element.classList.add(vi),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(Pr,na),this._element.style[i]="",U.trigger(this._element,av)},l=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[i]=`${this._element[l]}px`}hide(){if(this._isTransitioning||!this._isShown()||U.trigger(this._element,lv).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,ls(this._element),this._element.classList.add(vi),this._element.classList.remove(Pr,na);const r=this._triggerArray.length;for(let i=0;i<r;i++){const o=this._triggerArray[i],a=On(o);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(vi),this._element.classList.add(Pr),U.trigger(this._element,cv)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(na)}_getConfig(t){return t=he(he(he({},Jc),ze.getDataAttributes(this._element)),t),t.toggle=Boolean(t.toggle),t.parent=Ln(t.parent),en(Xc,t,iv),t}_getDimension(){return this._element.classList.contains(fv)?dv:hv}_initializeChildren(){if(!this._config.parent)return;const t=fe.find(Zc,this._config.parent);fe.find(ka,this._config.parent).filter(n=>!t.includes(n)).forEach(n=>{const r=On(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))})}_addAriaAndCollapsedClass(t,n){!t.length||t.forEach(r=>{n?r.classList.remove(Qc):r.classList.add(Qc),r.setAttribute("aria-expanded",n)})}static jQueryInterface(t){return this.each(function(){const n={};typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1);const r=Ir.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError(`No method named "${t}"`);r[t]()}})}}U.on(document,uv,ka,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();const t=Nl(this);fe.find(t).forEach(r=>{Ir.getOrCreateInstance(r,{toggle:!1}).toggle()})});kt(Ir);const ra="dropdown",pv="bs.dropdown",dr=`.${pv}`,$l=".data-api",Pi="Escape",eu="Space",tu="Tab",Oa="ArrowUp",Ii="ArrowDown",gv=2,_v=new RegExp(`${Oa}|${Ii}|${Pi}`),vv=`hide${dr}`,bv=`hidden${dr}`,yv=`show${dr}`,Ev=`shown${dr}`,eh=`click${dr}${$l}`,th=`keydown${dr}${$l}`,wv=`keyup${dr}${$l}`,wr="show",Tv="dropup",Sv="dropend",Cv="dropstart",Av="navbar",Ps='[data-bs-toggle="dropdown"]',La=".dropdown-menu",kv=".navbar-nav",Ov=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Lv=at()?"top-end":"top-start",Nv=at()?"top-start":"top-end",$v=at()?"bottom-end":"bottom-start",xv=at()?"bottom-start":"bottom-end",Pv=at()?"left-start":"right-start",Iv=at()?"right-start":"left-start",Rv={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Mv={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Tt extends Dt{constructor(t,n){super(t),this._popper=null,this._config=this._getConfig(n),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return Rv}static get DefaultType(){return Mv}static get NAME(){return ra}toggle(){return this._isShown()?this.hide():this.show()}show(){if(rr(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(U.trigger(this._element,yv,t).defaultPrevented)return;const r=Tt.getParentFromElement(this._element);this._inNavbar?ze.setDataAttribute(this._menu,"popper","none"):this._createPopper(r),"ontouchstart"in document.documentElement&&!r.closest(kv)&&[].concat(...document.body.children).forEach(s=>U.on(s,"mouseover",Wi)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wr),this._element.classList.add(wr),U.trigger(this._element,Ev,t)}hide(){if(rr(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){U.trigger(this._element,vv,t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(r=>U.off(r,"mouseover",Wi)),this._popper&&this._popper.destroy(),this._menu.classList.remove(wr),this._element.classList.remove(wr),this._element.setAttribute("aria-expanded","false"),ze.removeDataAttribute(this._menu,"popper"),U.trigger(this._element,bv,t))}_getConfig(t){if(t=he(he(he({},this.constructor.Default),ze.getDataAttributes(this._element)),t),en(ra,t,this.constructor.DefaultType),typeof t.reference=="object"&&!cr(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ra.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){if(typeof Fd=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let n=this._element;this._config.reference==="parent"?n=t:cr(this._config.reference)?n=Ln(this._config.reference):typeof this._config.reference=="object"&&(n=this._config.reference);const r=this._getPopperConfig(),s=r.modifiers.find(i=>i.name==="applyStyles"&&i.enabled===!1);this._popper=Ll(n,this._menu,r),s&&ze.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(wr)}_getMenuElement(){return fe.next(this._element,La)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains(Sv))return Pv;if(t.classList.contains(Cv))return Iv;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Tv)?n?Nv:Lv:n?xv:$v}_detectNavbar(){return this._element.closest(`.${Av}`)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return this._config.display==="static"&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),he(he({},t),typeof this._config.popperConfig=="function"?this._config.popperConfig(t):this._config.popperConfig)}_selectMenuItem({key:t,target:n}){const r=fe.find(Ov,this._menu).filter(ri);!r.length||Wd(r,n,t===Ii,!r.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=Tt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t&&(t.button===gv||t.type==="keyup"&&t.key!==tu))return;const n=fe.find(Ps);for(let r=0,s=n.length;r<s;r++){const i=Tt.getInstance(n[r]);if(!i||i._config.autoClose===!1||!i._isShown())continue;const o={relatedTarget:i._element};if(t){const a=t.composedPath(),l=a.includes(i._menu);if(a.includes(i._element)||i._config.autoClose==="inside"&&!l||i._config.autoClose==="outside"&&l||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===tu||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;t.type==="click"&&(o.clickEvent=t)}i._completeHide(o)}}static getParentFromElement(t){return On(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===eu||t.key!==Pi&&(t.key!==Ii&&t.key!==Oa||t.target.closest(La)):!_v.test(t.key))return;const n=this.classList.contains(wr);if(!n&&t.key===Pi||(t.preventDefault(),t.stopPropagation(),rr(this)))return;const r=this.matches(Ps)?this:fe.prev(this,Ps)[0],s=Tt.getOrCreateInstance(r);if(t.key===Pi){s.hide();return}if(t.key===Oa||t.key===Ii){n||s.show(),s._selectMenuItem(t);return}(!n||t.key===eu)&&Tt.clearMenus()}}U.on(document,th,Ps,Tt.dataApiKeydownHandler);U.on(document,th,La,Tt.dataApiKeydownHandler);U.on(document,eh,Tt.clearMenus);U.on(document,wv,Tt.clearMenus);U.on(document,eh,Ps,function(e){e.preventDefault(),Tt.getOrCreateInstance(this).toggle()});kt(Tt);const nu=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ru=".sticky-top";class Na{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",n=>n+t),this._setElementAttributes(nu,"paddingRight",n=>n+t),this._setElementAttributes(ru,"marginRight",n=>n-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,r){const s=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o)[n];o.style[n]=`${r(Number.parseFloat(a))}px`};this._applyManipulationCallback(t,i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(nu,"paddingRight"),this._resetElementAttributes(ru,"marginRight")}_saveInitialAttribute(t,n){const r=t.style[n];r&&ze.setDataAttribute(t,n,r)}_resetElementAttributes(t,n){const r=s=>{const i=ze.getDataAttribute(s,n);typeof i=="undefined"?s.style.removeProperty(n):(ze.removeDataAttribute(s,n),s.style[n]=i)};this._applyManipulationCallback(t,r)}_applyManipulationCallback(t,n){cr(t)?n(t):fe.find(t,this._element).forEach(n)}isOverflowing(){return this.getWidth()>0}}const Dv={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Fv={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},nh="backdrop",Hv="fade",su="show",iu=`mousedown.bs.${nh}`;class rh{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){if(!this._config.isVisible){Jn(t);return}this._append(),this._config.isAnimated&&ls(this._getElement()),this._getElement().classList.add(su),this._emulateAnimation(()=>{Jn(t)})}hide(t){if(!this._config.isVisible){Jn(t);return}this._getElement().classList.remove(su),this._emulateAnimation(()=>{this.dispose(),Jn(t)})}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Hv),this._element=t}return this._element}_getConfig(t){return t=he(he({},Dv),typeof t=="object"?t:{}),t.rootElement=Ln(t.rootElement),en(nh,t,Fv),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),U.on(this._getElement(),iu,()=>{Jn(this._config.clickCallback)}),this._isAppended=!0)}dispose(){!this._isAppended||(U.off(this._element,iu),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){Ud(t,this._getElement(),this._config.isAnimated)}}const Bv={trapElement:null,autofocus:!0},jv={trapElement:"element",autofocus:"boolean"},Vv="focustrap",Uv="bs.focustrap",zi=`.${Uv}`,Wv=`focusin${zi}`,zv=`keydown.tab${zi}`,Kv="Tab",Yv="forward",ou="backward";class sh{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:n}=this._config;this._isActive||(n&&t.focus(),U.off(document,zi),U.on(document,Wv,r=>this._handleFocusin(r)),U.on(document,zv,r=>this._handleKeydown(r)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,U.off(document,zi))}_handleFocusin(t){const{target:n}=t,{trapElement:r}=this._config;if(n===document||n===r||r.contains(n))return;const s=fe.focusableChildren(r);s.length===0?r.focus():this._lastTabNavDirection===ou?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===Kv&&(this._lastTabNavDirection=t.shiftKey?ou:Yv)}_getConfig(t){return t=he(he({},Bv),typeof t=="object"?t:{}),en(Vv,t,jv),t}}const au="modal",qv="bs.modal",Ot=`.${qv}`,Gv=".data-api",lu="Escape",cu={backdrop:!0,keyboard:!0,focus:!0},Xv={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Jv=`hide${Ot}`,Qv=`hidePrevented${Ot}`,ih=`hidden${Ot}`,oh=`show${Ot}`,Zv=`shown${Ot}`,uu=`resize${Ot}`,fu=`click.dismiss${Ot}`,du=`keydown.dismiss${Ot}`,eb=`mouseup.dismiss${Ot}`,hu=`mousedown.dismiss${Ot}`,tb=`click${Ot}${Gv}`,mu="modal-open",nb="fade",pu="show",sa="modal-static",rb=".modal.show",sb=".modal-dialog",ib=".modal-body",ob='[data-bs-toggle="modal"]';class Kr extends Dt{constructor(t,n){super(t),this._config=this._getConfig(n),this._dialog=fe.findOne(sb,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Na}static get Default(){return cu}static get NAME(){return au}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||U.trigger(this._element,oh,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(mu),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),U.on(this._dialog,hu,()=>{U.one(this._element,eb,r=>{r.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning||U.trigger(this._element,Jv).defaultPrevented)return;this._isShown=!1;const n=this._isAnimated();n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(pu),U.off(this._element,fu),U.off(this._dialog,hu),this._queueCallback(()=>this._hideModal(),this._element,n)}dispose(){[window,this._dialog].forEach(t=>U.off(t,Ot)),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new rh({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new sh({trapElement:this._element})}_getConfig(t){return t=he(he(he({},cu),ze.getDataAttributes(this._element)),typeof t=="object"?t:{}),en(au,t,Xv),t}_showElement(t){const n=this._isAnimated(),r=fe.findOne(ib,this._dialog);(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE)&&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,r&&(r.scrollTop=0),n&&ls(this._element),this._element.classList.add(pu);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,U.trigger(this._element,Zv,{relatedTarget:t})};this._queueCallback(s,this._dialog,n)}_setEscapeEvent(){this._isShown?U.on(this._element,du,t=>{this._config.keyboard&&t.key===lu?(t.preventDefault(),this.hide()):!this._config.keyboard&&t.key===lu&&this._triggerBackdropTransition()}):U.off(this._element,du)}_setResizeEvent(){this._isShown?U.on(window,uu,()=>this._adjustDialog()):U.off(window,uu)}_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(mu),this._resetAdjustments(),this._scrollBar.reset(),U.trigger(this._element,ih)})}_showBackdrop(t){U.on(this._element,fu,n=>{if(this._ignoreBackdropClick){this._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(this._config.backdrop===!0?this.hide():this._config.backdrop==="static"&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains(nb)}_triggerBackdropTransition(){if(U.trigger(this._element,Qv).defaultPrevented)return;const{classList:n,scrollHeight:r,style:s}=this._element,i=r>document.documentElement.clientHeight;!i&&s.overflowY==="hidden"||n.contains(sa)||(i||(s.overflowY="hidden"),n.add(sa),this._queueCallback(()=>{n.remove(sa),i||this._queueCallback(()=>{s.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;(!r&&t&&!at()||r&&!t&&at())&&(this._element.style.paddingLeft=`${n}px`),(r&&!t&&!at()||!r&&t&&at())&&(this._element.style.paddingRight=`${n}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const r=Kr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError(`No method named "${t}"`);r[t](n)}})}}U.on(document,tb,ob,function(e){const t=On(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),U.one(t,oh,s=>{s.defaultPrevented||U.one(t,ih,()=>{ri(this)&&this.focus()})});const n=fe.findOne(rb);n&&Kr.getInstance(n).hide(),Kr.getOrCreateInstance(t).toggle(this)});co(Kr);kt(Kr);const gu="offcanvas",ab="bs.offcanvas",hr=`.${ab}`,ah=".data-api",lb=`load${hr}${ah}`,cb="Escape",_u={backdrop:!0,keyboard:!0,scroll:!1},ub={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},vu="show",fb="offcanvas-backdrop",lh=".offcanvas.show",db=`show${hr}`,hb=`shown${hr}`,mb=`hide${hr}`,ch=`hidden${hr}`,pb=`click${hr}${ah}`,gb=`keydown.dismiss${hr}`,_b='[data-bs-toggle="offcanvas"]';class ur extends Dt{constructor(t,n){super(t),this._config=this._getConfig(n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return gu}static get Default(){return _u}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||U.trigger(this._element,db,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||new Na().hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(vu);const r=()=>{this._config.scroll||this._focustrap.activate(),U.trigger(this._element,hb,{relatedTarget:t})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||U.trigger(this._element,mb).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(vu),this._backdrop.hide();const n=()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||new Na().reset(),U.trigger(this._element,ch)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t=he(he(he({},_u),ze.getDataAttributes(this._element)),typeof t=="object"?t:{}),en(gu,t,ub),t}_initializeBackDrop(){return new rh({className:fb,isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new sh({trapElement:this._element})}_addEventListeners(){U.on(this._element,gb,t=>{this._config.keyboard&&t.key===cb&&this.hide()})}static jQueryInterface(t){return this.each(function(){const n=ur.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}U.on(document,pb,_b,function(e){const t=On(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),rr(this))return;U.one(t,ch,()=>{ri(this)&&this.focus()});const n=fe.findOne(lh);n&&n!==t&&ur.getInstance(n).hide(),ur.getOrCreateInstance(t).toggle(this)});U.on(window,lb,()=>fe.find(lh).forEach(e=>ur.getOrCreateInstance(e).show()));co(ur);kt(ur);const vb=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),bb=/^aria-[\w-]*$/i,yb=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Eb=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,wb=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return vb.has(n)?Boolean(yb.test(e.nodeValue)||Eb.test(e.nodeValue)):!0;const r=t.filter(s=>s instanceof RegExp);for(let s=0,i=r.length;s<i;s++)if(r[s].test(n))return!0;return!1},Tb={"*":["class","dir","id","lang","role",bb],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 bu(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const s=new window.DOMParser().parseFromString(e,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(let o=0,a=i.length;o<a;o++){const l=i[o],c=l.nodeName.toLowerCase();if(!Object.keys(t).includes(c)){l.remove();continue}const u=[].concat(...l.attributes),f=[].concat(t["*"]||[],t[c]||[]);u.forEach(d=>{wb(d,f)||l.removeAttribute(d.nodeName)})}return s.body.innerHTML}const yu="tooltip",Sb="bs.tooltip",jt=`.${Sb}`,Cb="bs-tooltip",Ab=new Set(["sanitize","allowList","sanitizeFn"]),kb={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ob={AUTO:"auto",TOP:"top",RIGHT:at()?"left":"right",BOTTOM:"bottom",LEFT:at()?"right":"left"},Lb={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:Tb,popperConfig:null},Nb={HIDE:`hide${jt}`,HIDDEN:`hidden${jt}`,SHOW:`show${jt}`,SHOWN:`shown${jt}`,INSERTED:`inserted${jt}`,CLICK:`click${jt}`,FOCUSIN:`focusin${jt}`,FOCUSOUT:`focusout${jt}`,MOUSEENTER:`mouseenter${jt}`,MOUSELEAVE:`mouseleave${jt}`},bi="fade",$b="modal",_s="show",vs="show",ia="out",Eu=".tooltip-inner",wu=`.${$b}`,Tu="hide.bs.modal",bs="hover",oa="focus",xb="click",Pb="manual";class cs extends Dt{constructor(t,n){if(typeof Fd=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(n),this.tip=null,this._setListeners()}static get Default(){return Lb}static get NAME(){return yu}static get Event(){return Nb}static get DefaultType(){return kb}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(!!this._isEnabled)if(t){const n=this._initializeOnDelegatedTarget(t);n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(this.getTipElement().classList.contains(_s)){this._leave(null,this);return}this._enter(null,this)}}dispose(){clearTimeout(this._timeout),U.off(this._element.closest(wu),Tu,this._hideModalHandler),this.tip&&this.tip.remove(),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 t=U.trigger(this._element,this.constructor.Event.SHOW),n=jd(this._element),r=n===null?this._element.ownerDocument.documentElement.contains(this._element):n.contains(this._element);if(t.defaultPrevented||!r)return;this.constructor.NAME==="tooltip"&&this.tip&&this.getTitle()!==this.tip.querySelector(Eu).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const s=this.getTipElement(),i=Jg(this.constructor.NAME);s.setAttribute("id",i),this._element.setAttribute("aria-describedby",i),this._config.animation&&s.classList.add(bi);const o=typeof this._config.placement=="function"?this._config.placement.call(this,s,this._element):this._config.placement,a=this._getAttachment(o);this._addAttachmentClass(a);const{container:l}=this._config;xs.set(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(s),U.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Ll(this._element,s,this._getPopperConfig(a)),s.classList.add(_s);const c=this._resolvePossibleFunction(this._config.customClass);c&&s.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(d=>{U.on(d,"mouseover",Wi)});const u=()=>{const d=this._hoverState;this._hoverState=null,U.trigger(this._element,this.constructor.Event.SHOWN),d===ia&&this._leave(null,this)},f=this.tip.classList.contains(bi);this._queueCallback(u,this.tip,f)}hide(){if(!this._popper)return;const t=this.getTipElement(),n=()=>{this._isWithActiveTrigger()||(this._hoverState!==vs&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),U.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())};if(U.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(_s),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(i=>U.off(i,"mouseover",Wi)),this._activeTrigger[xb]=!1,this._activeTrigger[oa]=!1,this._activeTrigger[bs]=!1;const s=this.tip.classList.contains(bi);this._queueCallback(n,this.tip,s),this._hoverState=""}update(){this._popper!==null&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const n=t.children[0];return this.setContent(n),n.classList.remove(bi,_s),this.tip=n,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),Eu)}_sanitizeAndSetContent(t,n,r){const s=fe.findOne(r,t);if(!n&&s){s.remove();return}this.setElementContent(s,n)}setElementContent(t,n){if(t!==null){if(cr(n)){n=Ln(n),this._config.html?n.parentNode!==t&&(t.innerHTML="",t.append(n)):t.textContent=n.textContent;return}this._config.html?(this._config.sanitize&&(n=bu(n,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=n):t.textContent=n}}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return t==="right"?"end":t==="left"?"start":t}_initializeOnDelegatedTarget(t,n){return n||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return typeof t=="function"?t.call(this._element):t}_getPopperConfig(t){const n={placement:t,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:"onChange",enabled:!0,phase:"afterWrite",fn:r=>this._handlePopperPlacementChange(r)}],onFirstUpdate:r=>{r.options.placement!==r.placement&&this._handlePopperPlacementChange(r)}};return he(he({},n),typeof this._config.popperConfig=="function"?this._config.popperConfig(n):this._config.popperConfig)}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return Ob[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(n=>{if(n==="click")U.on(this._element,this.constructor.Event.CLICK,this._config.selector,r=>this.toggle(r));else if(n!==Pb){const r=n===bs?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,s=n===bs?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;U.on(this._element,r,this._config.selector,i=>this._enter(i)),U.on(this._element,s,this._config.selector,i=>this._leave(i))}}),this._hideModalHandler=()=>{this._element&&this.hide()},U.on(this._element.closest(wu),Tu,this._hideModalHandler),this._config.selector?this._config=gs(he({},this._config),{trigger:"manual",selector:""}):this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),n=typeof this._element.getAttribute("data-bs-original-title");(t||n!=="string")&&(this._element.setAttribute("data-bs-original-title",t||""),t&&!this._element.getAttribute("aria-label")&&!this._element.textContent&&this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,n){if(n=this._initializeOnDelegatedTarget(t,n),t&&(n._activeTrigger[t.type==="focusin"?oa:bs]=!0),n.getTipElement().classList.contains(_s)||n._hoverState===vs){n._hoverState=vs;return}if(clearTimeout(n._timeout),n._hoverState=vs,!n._config.delay||!n._config.delay.show){n.show();return}n._timeout=setTimeout(()=>{n._hoverState===vs&&n.show()},n._config.delay.show)}_leave(t,n){if(n=this._initializeOnDelegatedTarget(t,n),t&&(n._activeTrigger[t.type==="focusout"?oa:bs]=n._element.contains(t.relatedTarget)),!n._isWithActiveTrigger()){if(clearTimeout(n._timeout),n._hoverState=ia,!n._config.delay||!n._config.delay.hide){n.hide();return}n._timeout=setTimeout(()=>{n._hoverState===ia&&n.hide()},n._config.delay.hide)}}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const n=ze.getDataAttributes(this._element);return Object.keys(n).forEach(r=>{Ab.has(r)&&delete n[r]}),t=he(he(he({},this.constructor.Default),n),typeof t=="object"&&t?t:{}),t.container=t.container===!1?document.body:Ln(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),en(yu,t,this.constructor.DefaultType),t.sanitize&&(t.template=bu(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const n in this._config)this.constructor.Default[n]!==this._config[n]&&(t[n]=this._config[n]);return t}_cleanTipClass(){const t=this.getTipElement(),n=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),r=t.getAttribute("class").match(n);r!==null&&r.length>0&&r.map(s=>s.trim()).forEach(s=>t.classList.remove(s))}_getBasicClassPrefix(){return Cb}_handlePopperPlacementChange(t){const{state:n}=t;!n||(this.tip=n.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(n.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each(function(){const n=cs.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t]()}})}}kt(cs);const Ib="popover",Rb="bs.popover",Vt=`.${Rb}`,Mb="bs-popover",Db=gs(he({},cs.Default),{placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Fb=gs(he({},cs.DefaultType),{content:"(string|element|function)"}),Hb={HIDE:`hide${Vt}`,HIDDEN:`hidden${Vt}`,SHOW:`show${Vt}`,SHOWN:`shown${Vt}`,INSERTED:`inserted${Vt}`,CLICK:`click${Vt}`,FOCUSIN:`focusin${Vt}`,FOCUSOUT:`focusout${Vt}`,MOUSEENTER:`mouseenter${Vt}`,MOUSELEAVE:`mouseleave${Vt}`},Bb=".popover-header",jb=".popover-body";class xl extends cs{static get Default(){return Db}static get NAME(){return Ib}static get Event(){return Hb}static get DefaultType(){return Fb}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),Bb),this._sanitizeAndSetContent(t,this._getContent(),jb)}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return Mb}static jQueryInterface(t){return this.each(function(){const n=xl.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t]()}})}}kt(xl);const Su="scrollspy",Vb="bs.scrollspy",ho=`.${Vb}`,Ub=".data-api",Cu={offset:10,method:"auto",target:""},Wb={offset:"number",method:"string",target:"(string|element)"},zb=`activate${ho}`,Kb=`scroll${ho}`,Yb=`load${ho}${Ub}`,uh="dropdown-item",Tr="active",qb='[data-bs-spy="scroll"]',Gb=".nav, .list-group",$a=".nav-link",Xb=".nav-item",fh=".list-group-item",aa=`${$a}, ${fh}, .${uh}`,Jb=".dropdown",Qb=".dropdown-toggle",Zb="offset",Au="position";class mo extends Dt{constructor(t,n){super(t),this._scrollElement=this._element.tagName==="BODY"?window:this._element,this._config=this._getConfig(n),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,U.on(this._scrollElement,Kb,()=>this._process()),this.refresh(),this._process()}static get Default(){return Cu}static get NAME(){return Su}refresh(){const t=this._scrollElement===this._scrollElement.window?Zb:Au,n=this._config.method==="auto"?t:this._config.method,r=n===Au?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),fe.find(aa,this._config.target).map(i=>{const o=Nl(i),a=o?fe.findOne(o):null;if(a){const l=a.getBoundingClientRect();if(l.width||l.height)return[ze[n](a).top+r,o]}return null}).filter(i=>i).sort((i,o)=>i[0]-o[0]).forEach(i=>{this._offsets.push(i[0]),this._targets.push(i[1])})}dispose(){U.off(this._scrollElement,ho),super.dispose()}_getConfig(t){return t=he(he(he({},Cu),ze.getDataAttributes(this._element)),typeof t=="object"&&t?t:{}),t.target=Ln(t.target)||document.documentElement,en(Su,t,Wb),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,n=this._getScrollHeight(),r=this._config.offset+n-this._getOffsetHeight();if(this._scrollHeight!==n&&this.refresh(),t>=r){const s=this._targets[this._targets.length-1];this._activeTarget!==s&&this._activate(s);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null,this._clear();return}for(let s=this._offsets.length;s--;)this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(typeof this._offsets[s+1]=="undefined"||t<this._offsets[s+1])&&this._activate(this._targets[s])}_activate(t){this._activeTarget=t,this._clear();const n=aa.split(",").map(s=>`${s}[data-bs-target="${t}"],${s}[href="${t}"]`),r=fe.findOne(n.join(","),this._config.target);r.classList.add(Tr),r.classList.contains(uh)?fe.findOne(Qb,r.closest(Jb)).classList.add(Tr):fe.parents(r,Gb).forEach(s=>{fe.prev(s,`${$a}, ${fh}`).forEach(i=>i.classList.add(Tr)),fe.prev(s,Xb).forEach(i=>{fe.children(i,$a).forEach(o=>o.classList.add(Tr))})}),U.trigger(this._scrollElement,zb,{relatedTarget:t})}_clear(){fe.find(aa,this._config.target).filter(t=>t.classList.contains(Tr)).forEach(t=>t.classList.remove(Tr))}static jQueryInterface(t){return this.each(function(){const n=mo.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t]()}})}}U.on(window,Yb,()=>{fe.find(qb).forEach(e=>new mo(e))});kt(mo);const ey="tab",ty="bs.tab",ii=`.${ty}`,ny=".data-api",ry=`hide${ii}`,sy=`hidden${ii}`,iy=`show${ii}`,oy=`shown${ii}`,ay=`click${ii}${ny}`,ly="dropdown-menu",ys="active",ku="fade",Ou="show",cy=".dropdown",uy=".nav, .list-group",Lu=".active",Nu=":scope > li > .active",fy='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',dy=".dropdown-toggle",hy=":scope > .dropdown-menu .active";class po extends Dt{static get NAME(){return ey}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(ys))return;let t;const n=On(this._element),r=this._element.closest(uy);if(r){const a=r.nodeName==="UL"||r.nodeName==="OL"?Nu:Lu;t=fe.find(a,r),t=t[t.length-1]}const s=t?U.trigger(t,ry,{relatedTarget:this._element}):null;if(U.trigger(this._element,iy,{relatedTarget:t}).defaultPrevented||s!==null&&s.defaultPrevented)return;this._activate(this._element,r);const o=()=>{U.trigger(t,sy,{relatedTarget:this._element}),U.trigger(this._element,oy,{relatedTarget:t})};n?this._activate(n,n.parentNode,o):o()}_activate(t,n,r){const i=(n&&(n.nodeName==="UL"||n.nodeName==="OL")?fe.find(Nu,n):fe.children(n,Lu))[0],o=r&&i&&i.classList.contains(ku),a=()=>this._transitionComplete(t,i,r);i&&o?(i.classList.remove(Ou),this._queueCallback(a,t,!0)):a()}_transitionComplete(t,n,r){if(n){n.classList.remove(ys);const i=fe.findOne(hy,n.parentNode);i&&i.classList.remove(ys),n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!1)}t.classList.add(ys),t.getAttribute("role")==="tab"&&t.setAttribute("aria-selected",!0),ls(t),t.classList.contains(ku)&&t.classList.add(Ou);let s=t.parentNode;if(s&&s.nodeName==="LI"&&(s=s.parentNode),s&&s.classList.contains(ly)){const i=t.closest(cy);i&&fe.find(dy,i).forEach(o=>o.classList.add(ys)),t.setAttribute("aria-expanded",!0)}r&&r()}static jQueryInterface(t){return this.each(function(){const n=po.getOrCreateInstance(this);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t]()}})}}U.on(document,ay,fy,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),rr(this))return;po.getOrCreateInstance(this).show()});kt(po);const $u="toast",my="bs.toast",Dn=`.${my}`,py=`mouseover${Dn}`,gy=`mouseout${Dn}`,_y=`focusin${Dn}`,vy=`focusout${Dn}`,by=`hide${Dn}`,yy=`hidden${Dn}`,Ey=`show${Dn}`,wy=`shown${Dn}`,Ty="fade",xu="hide",Es="show",yi="showing",Sy={animation:"boolean",autohide:"boolean",delay:"number"},Pu={animation:!0,autohide:!0,delay:5e3};class go extends Dt{constructor(t,n){super(t),this._config=this._getConfig(n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Sy}static get Default(){return Pu}static get NAME(){return $u}show(){if(U.trigger(this._element,Ey).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ty);const n=()=>{this._element.classList.remove(yi),U.trigger(this._element,wy),this._maybeScheduleHide()};this._element.classList.remove(xu),ls(this._element),this._element.classList.add(Es),this._element.classList.add(yi),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this._element.classList.contains(Es)||U.trigger(this._element,by).defaultPrevented)return;const n=()=>{this._element.classList.add(xu),this._element.classList.remove(yi),this._element.classList.remove(Es),U.trigger(this._element,yy)};this._element.classList.add(yi),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(Es)&&this._element.classList.remove(Es),super.dispose()}_getConfig(t){return t=he(he(he({},Pu),ze.getDataAttributes(this._element)),typeof t=="object"&&t?t:{}),en($u,t,this.constructor.DefaultType),t}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=n;break;case"focusin":case"focusout":this._hasKeyboardInteraction=n;break}if(n){this._clearTimeout();return}const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){U.on(this._element,py,t=>this._onInteraction(t,!0)),U.on(this._element,gy,t=>this._onInteraction(t,!1)),U.on(this._element,_y,t=>this._onInteraction(t,!0)),U.on(this._element,vy,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=go.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]=="undefined")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}co(go);kt(go);function Pl(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var dh={exports:{}};(function(e,t){(function(){function n(){var r=window,s=document;if("scrollBehavior"in s.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var i=r.HTMLElement||r.Element,o=468,a={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:i.prototype.scroll||f,scrollIntoView:i.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(m){var k=["MSIE ","Trident/","Edge/"];return new RegExp(k.join("|")).test(m)}var u=c(r.navigator.userAgent)?1:0;function f(m,k){this.scrollLeft=m,this.scrollTop=k}function d(m){return .5*(1-Math.cos(Math.PI*m))}function g(m){if(m===null||typeof m!="object"||m.behavior===void 0||m.behavior==="auto"||m.behavior==="instant")return!0;if(typeof m=="object"&&m.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+m.behavior+" is not a valid value for enumeration ScrollBehavior.")}function T(m,k){if(k==="Y")return m.clientHeight+u<m.scrollHeight;if(k==="X")return m.clientWidth+u<m.scrollWidth}function A(m,k){var $=r.getComputedStyle(m,null)["overflow"+k];return $==="auto"||$==="scroll"}function _(m){var k=T(m,"Y")&&A(m,"Y"),$=T(m,"X")&&A(m,"X");return k||$}function p(m){for(;m!==s.body&&_(m)===!1;)m=m.parentNode||m.host;return m}function v(m){var k=l(),$,L,H,j=(k-m.startTime)/o;j=j>1?1:j,$=d(j),L=m.startX+(m.x-m.startX)*$,H=m.startY+(m.y-m.startY)*$,m.method.call(m.scrollable,L,H),(L!==m.x||H!==m.y)&&r.requestAnimationFrame(v.bind(r,m))}function E(m,k,$){var L,H,j,Y,J=l();m===s.body?(L=r,H=r.scrollX||r.pageXOffset,j=r.scrollY||r.pageYOffset,Y=a.scroll):(L=m,H=m.scrollLeft,j=m.scrollTop,Y=f),v({scrollable:L,method:Y,startTime:J,startX:H,startY:j,x:k,y:$})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(g(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}E.call(r,s.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(g(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}E.call(r,s.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},i.prototype.scroll=i.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(g(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 m=arguments[0].left,k=arguments[0].top;E.call(this,this,typeof m=="undefined"?this.scrollLeft:~~m,typeof k=="undefined"?this.scrollTop:~~k)}},i.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(g(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})}},i.prototype.scrollIntoView=function(){if(g(arguments[0])===!0){a.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var m=p(this),k=m.getBoundingClientRect(),$=this.getBoundingClientRect();m!==s.body?(E.call(this,m,m.scrollLeft+$.left-k.left,m.scrollTop+$.top-k.top),r.getComputedStyle(m).position!=="fixed"&&r.scrollBy({left:k.left,top:k.top,behavior:"smooth"})):r.scrollBy({left:$.left,top:$.top,behavior:"smooth"})}}e.exports={polyfill:n}})()})(dh);var Cy=dh.exports;function _o(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Ay="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",ky=_o(Ay),Oy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ly=_o(Oy);function hh(e){return!!e||e===""}function Ke(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Fe(r)?xy(r):Ke(r);if(s)for(const i in s)t[i]=s[i]}return t}else{if(Fe(e))return e;if(Be(e))return e}}const Ny=/;(?![^(]*\))/g,$y=/:(.+)/;function xy(e){const t={};return e.split(Ny).forEach(n=>{if(n){const r=n.split($y);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pe(e){let t="";if(Fe(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const r=Pe(e[n]);r&&(t+=r+" ")}else if(Be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function dt(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Fe(t)&&(e.class=Pe(t)),n&&(e.style=Ke(n)),e}function Py(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Nn(e[r],t[r]);return n}function Nn(e,t){if(e===t)return!0;let n=Iu(e),r=Iu(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ae(e),r=ae(t),n||r)return n&&r?Py(e,t):!1;if(n=Be(e),r=Be(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Nn(e[o],t[o]))return!1}}return String(e)===String(t)}function vo(e,t){return e.findIndex(n=>Nn(n,t))}const K=e=>Fe(e)?e:e==null?"":ae(e)||Be(e)&&(e.toString===ph||!de(e.toString))?JSON.stringify(e,mh,2):String(e),mh=(e,t)=>t&&t.__v_isRef?mh(e,t.value):Mr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:mr(t)?{[`Set(${t.size})`]:[...t.values()]}:Be(t)&&!ae(t)&&!gh(t)?String(t):t,Ae={},Rr=[],It=()=>{},Iy=()=>!1,Ry=/^on[^a-z]/,oi=e=>Ry.test(e),Il=e=>e.startsWith("onUpdate:"),He=Object.assign,Rl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},My=Object.prototype.hasOwnProperty,we=(e,t)=>My.call(e,t),ae=Array.isArray,Mr=e=>bo(e)==="[object Map]",mr=e=>bo(e)==="[object Set]",Iu=e=>e instanceof Date,de=e=>typeof e=="function",Fe=e=>typeof e=="string",Ml=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",Dl=e=>Be(e)&&de(e.then)&&de(e.catch),ph=Object.prototype.toString,bo=e=>ph.call(e),Dy=e=>bo(e).slice(8,-1),gh=e=>bo(e)==="[object Object]",Fl=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Is=_o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Fy=/-(\w)/g,vt=yo(e=>e.replace(Fy,(t,n)=>n?n.toUpperCase():"")),Hy=/\B([A-Z])/g,Yt=yo(e=>e.replace(Hy,"-$1").toLowerCase()),ai=yo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rs=yo(e=>e?`on${ai(e)}`:""),qs=(e,t)=>!Object.is(e,t),Dr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ki=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$n=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ru;const By=()=>Ru||(Ru=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let ft;class Hl{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ft&&(this.parent=ft,this.index=(ft.scopes||(ft.scopes=[])).push(this)-1)}run(t){if(this.active){const n=ft;try{return ft=this,t()}finally{ft=n}}}on(){ft=this}off(){ft=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function jy(e){return new Hl(e)}function _h(e,t=ft){t&&t.active&&t.effects.push(e)}function Vy(){return ft}function Uy(e){ft&&ft.cleanups.push(e)}const Bl=e=>{const t=new Set(e);return t.w=0,t.n=0,t},vh=e=>(e.w&xn)>0,bh=e=>(e.n&xn)>0,Wy=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=xn},zy=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];vh(s)&&!bh(s)?s.delete(e):t[n++]=s,s.w&=~xn,s.n&=~xn}t.length=n}},xa=new WeakMap;let ks=0,xn=1;const Pa=30;let Pt;const sr=Symbol(""),Ia=Symbol("");class li{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,_h(this,r)}run(){if(!this.active)return this.fn();let t=Pt,n=An;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Pt,Pt=this,An=!0,xn=1<<++ks,ks<=Pa?Wy(this):Mu(this),this.fn()}finally{ks<=Pa&&zy(this),xn=1<<--ks,Pt=this.parent,An=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Pt===this?this.deferStop=!0:this.active&&(Mu(this),this.onStop&&this.onStop(),this.active=!1)}}function Mu(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function Ky(e,t){e.effect&&(e=e.effect.fn);const n=new li(e);t&&(He(n,t),t.scope&&_h(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Yy(e){e.effect.stop()}let An=!0;const yh=[];function pr(){yh.push(An),An=!1}function gr(){const e=yh.pop();An=e===void 0?!0:e}function bt(e,t,n){if(An&&Pt){let r=xa.get(e);r||xa.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Bl()),Eh(s)}}function Eh(e,t){let n=!1;ks<=Pa?bh(e)||(e.n|=xn,n=!vh(e)):n=!e.has(Pt),n&&(e.add(Pt),Pt.deps.push(e))}function un(e,t,n,r,s,i){const o=xa.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&ae(e))o.forEach((l,c)=>{(c==="length"||c>=r)&&a.push(l)});else switch(n!==void 0&&a.push(o.get(n)),t){case"add":ae(e)?Fl(n)&&a.push(o.get("length")):(a.push(o.get(sr)),Mr(e)&&a.push(o.get(Ia)));break;case"delete":ae(e)||(a.push(o.get(sr)),Mr(e)&&a.push(o.get(Ia)));break;case"set":Mr(e)&&a.push(o.get(sr));break}if(a.length===1)a[0]&&Ra(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ra(Bl(l))}}function Ra(e,t){for(const n of ae(e)?e:[...e])(n!==Pt||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const qy=_o("__proto__,__v_isRef,__isVue"),wh=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Ml)),Gy=Eo(),Xy=Eo(!1,!0),Jy=Eo(!0),Qy=Eo(!0,!0),Du=Zy();function Zy(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ye(this);for(let i=0,o=this.length;i<o;i++)bt(r,"get",i+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(ye)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){pr();const r=ye(this)[t].apply(this,n);return gr(),r}}),e}function Eo(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?Lh:Oh:t?kh:Ah).get(r))return r;const o=ae(r);if(!e&&o&&we(Du,s))return Reflect.get(Du,s,i);const a=Reflect.get(r,s,i);return(Ml(s)?wh.has(s):qy(s))||(e||bt(r,"get",s),t)?a:je(a)?!o||!Fl(s)?a.value:a:Be(a)?e?Vl(a):Fn(a):a}}const e0=Th(),t0=Th(!0);function Th(e=!1){return function(n,r,s,i){let o=n[r];if(Yr(o)&&je(o)&&!je(s))return!1;if(!e&&!Yr(s)&&(Ul(s)||(s=ye(s),o=ye(o)),!ae(n)&&je(o)&&!je(s)))return o.value=s,!0;const a=ae(n)&&Fl(r)?Number(r)<n.length:we(n,r),l=Reflect.set(n,r,s,i);return n===ye(i)&&(a?qs(s,o)&&un(n,"set",r,s):un(n,"add",r,s)),l}}function n0(e,t){const n=we(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&un(e,"delete",t,void 0),r}function r0(e,t){const n=Reflect.has(e,t);return(!Ml(t)||!wh.has(t))&&bt(e,"has",t),n}function s0(e){return bt(e,"iterate",ae(e)?"length":sr),Reflect.ownKeys(e)}const Sh={get:Gy,set:e0,deleteProperty:n0,has:r0,ownKeys:s0},Ch={get:Jy,set(e,t){return!0},deleteProperty(e,t){return!0}},i0=He({},Sh,{get:Xy,set:t0}),o0=He({},Ch,{get:Qy}),jl=e=>e,wo=e=>Reflect.getPrototypeOf(e);function Ei(e,t,n=!1,r=!1){e=e.__v_raw;const s=ye(e),i=ye(t);t!==i&&!n&&bt(s,"get",t),!n&&bt(s,"get",i);const{has:o}=wo(s),a=r?jl:n?Wl:Gs;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function wi(e,t=!1){const n=this.__v_raw,r=ye(n),s=ye(e);return e!==s&&!t&&bt(r,"has",e),!t&&bt(r,"has",s),e===s?n.has(e):n.has(e)||n.has(s)}function Ti(e,t=!1){return e=e.__v_raw,!t&&bt(ye(e),"iterate",sr),Reflect.get(e,"size",e)}function Fu(e){e=ye(e);const t=ye(this);return wo(t).has.call(t,e)||(t.add(e),un(t,"add",e,e)),this}function Hu(e,t){t=ye(t);const n=ye(this),{has:r,get:s}=wo(n);let i=r.call(n,e);i||(e=ye(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?qs(t,o)&&un(n,"set",e,t):un(n,"add",e,t),this}function Bu(e){const t=ye(this),{has:n,get:r}=wo(t);let s=n.call(t,e);s||(e=ye(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&un(t,"delete",e,void 0),i}function ju(){const e=ye(this),t=e.size!==0,n=e.clear();return t&&un(e,"clear",void 0,void 0),n}function Si(e,t){return function(r,s){const i=this,o=i.__v_raw,a=ye(o),l=t?jl:e?Wl:Gs;return!e&&bt(a,"iterate",sr),o.forEach((c,u)=>r.call(s,l(c),l(u),i))}}function Ci(e,t,n){return function(...r){const s=this.__v_raw,i=ye(s),o=Mr(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=s[e](...r),u=n?jl:t?Wl:Gs;return!t&&bt(i,"iterate",l?Ia:sr),{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(e){return function(...t){return e==="delete"?!1:this}}function a0(){const e={get(i){return Ei(this,i)},get size(){return Ti(this)},has:wi,add:Fu,set:Hu,delete:Bu,clear:ju,forEach:Si(!1,!1)},t={get(i){return Ei(this,i,!1,!0)},get size(){return Ti(this)},has:wi,add:Fu,set:Hu,delete:Bu,clear:ju,forEach:Si(!1,!0)},n={get(i){return Ei(this,i,!0)},get size(){return Ti(this,!0)},has(i){return wi.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:Si(!0,!1)},r={get(i){return Ei(this,i,!0,!0)},get size(){return Ti(this,!0)},has(i){return wi.call(this,i,!0)},add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear"),forEach:Si(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ci(i,!1,!1),n[i]=Ci(i,!0,!1),t[i]=Ci(i,!1,!0),r[i]=Ci(i,!0,!0)}),[e,n,t,r]}const[l0,c0,u0,f0]=a0();function To(e,t){const n=t?e?f0:u0:e?c0:l0;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(we(n,s)&&s in r?n:r,s,i)}const d0={get:To(!1,!1)},h0={get:To(!1,!0)},m0={get:To(!0,!1)},p0={get:To(!0,!0)},Ah=new WeakMap,kh=new WeakMap,Oh=new WeakMap,Lh=new WeakMap;function g0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _0(e){return e.__v_skip||!Object.isExtensible(e)?0:g0(Dy(e))}function Fn(e){return Yr(e)?e:So(e,!1,Sh,d0,Ah)}function Nh(e){return So(e,!1,i0,h0,kh)}function Vl(e){return So(e,!0,Ch,m0,Oh)}function v0(e){return So(e,!0,o0,p0,Lh)}function So(e,t,n,r,s){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=_0(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function ir(e){return Yr(e)?ir(e.__v_raw):!!(e&&e.__v_isReactive)}function Yr(e){return!!(e&&e.__v_isReadonly)}function Ul(e){return!!(e&&e.__v_isShallow)}function Co(e){return ir(e)||Yr(e)}function ye(e){const t=e&&e.__v_raw;return t?ye(t):e}function Ao(e){return Ki(e,"__v_skip",!0),e}const Gs=e=>Be(e)?Fn(e):e,Wl=e=>Be(e)?Vl(e):e;function zl(e){An&&Pt&&(e=ye(e),Eh(e.dep||(e.dep=Bl())))}function ko(e,t){e=ye(e),e.dep&&Ra(e.dep)}function je(e){return!!(e&&e.__v_isRef===!0)}function Ms(e){return xh(e,!1)}function $h(e){return xh(e,!0)}function xh(e,t){return je(e)?e:new b0(e,t)}class b0{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ye(t),this._value=n?t:Gs(t)}get value(){return zl(this),this._value}set value(t){t=this.__v_isShallow?t:ye(t),qs(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Gs(t),ko(this))}}function y0(e){ko(e)}function Fr(e){return je(e)?e.value:e}const E0={get:(e,t,n)=>Fr(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return je(s)&&!je(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Kl(e){return ir(e)?e:new Proxy(e,E0)}class w0{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>zl(this),()=>ko(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function T0(e){return new w0(e)}function S0(e){const t=ae(e)?new Array(e.length):{};for(const n in e)t[n]=Ph(e,n);return t}class C0{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Ph(e,t,n){const r=e[t];return je(r)?r:new C0(e,t,n)}class A0{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new li(t,()=>{this._dirty||(this._dirty=!0,ko(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ye(this);return zl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function k0(e,t,n=!1){let r,s;const i=de(e);return i?(r=e,s=It):(r=e.get,s=e.set),new A0(r,s,i||!s,n)}const Ds=[];function Ih(e,...t){pr();const n=Ds.length?Ds[Ds.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=O0();if(r)qt(r,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${Tm(n,i.type)}>`).join(`
|
|
`),s]);else{const i=[`[Vue warn]: ${e}`,...t];s.length&&i.push(`
|
|
`,...L0(s)),console.warn(...i)}gr()}function O0(){let e=Ds[Ds.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function L0(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
`],...N0(n))}),t}function N0({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Tm(e.component,e.type,r)}`,i=">"+n;return e.props?[s,...$0(e.props),i]:[s+i]}function $0(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Rh(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Rh(e,t,n){return Fe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:je(t)?(t=Rh(e,ye(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):de(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ye(t),n?t:[`${e}=`,t])}function qt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){_r(i,t,n)}return s}function pt(e,t,n,r){if(de(e)){const i=qt(e,t,n,r);return i&&Dl(i)&&i.catch(o=>{_r(o,t,n)}),i}const s=[];for(let i=0;i<e.length;i++)s.push(pt(e[i],t,n,r));return s}function _r(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,a=n;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,o,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){qt(l,null,10,[e,o,a]);return}}x0(e,n,s,r)}function x0(e,t,n,r=!0){console.error(e)}let Yi=!1,Ma=!1;const mt=[];let sn=0;const Fs=[];let Os=null,Or=0;const Hs=[];let wn=null,Lr=0;const Mh=Promise.resolve();let Yl=null,Da=null;function Oo(e){const t=Yl||Mh;return e?t.then(this?e.bind(this):e):t}function P0(e){let t=sn+1,n=mt.length;for(;t<n;){const r=t+n>>>1;Xs(mt[r])<e?t=r+1:n=r}return t}function ql(e){(!mt.length||!mt.includes(e,Yi&&e.allowRecurse?sn+1:sn))&&e!==Da&&(e.id==null?mt.push(e):mt.splice(P0(e.id),0,e),Dh())}function Dh(){!Yi&&!Ma&&(Ma=!0,Yl=Mh.then(Hh))}function I0(e){const t=mt.indexOf(e);t>sn&&mt.splice(t,1)}function Fh(e,t,n,r){ae(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),Dh()}function R0(e){Fh(e,Os,Fs,Or)}function Gl(e){Fh(e,wn,Hs,Lr)}function Xl(e,t=null){if(Fs.length){for(Da=t,Os=[...new Set(Fs)],Fs.length=0,Or=0;Or<Os.length;Or++)Os[Or]();Os=null,Or=0,Da=null,Xl(e,t)}}function qi(e){if(Hs.length){const t=[...new Set(Hs)];if(Hs.length=0,wn){wn.push(...t);return}for(wn=t,wn.sort((n,r)=>Xs(n)-Xs(r)),Lr=0;Lr<wn.length;Lr++)wn[Lr]();wn=null,Lr=0}}const Xs=e=>e.id==null?1/0:e.id;function Hh(e){Ma=!1,Yi=!0,Xl(e),mt.sort((n,r)=>Xs(n)-Xs(r));const t=It;try{for(sn=0;sn<mt.length;sn++){const n=mt[sn];n&&n.active!==!1&&qt(n,null,14)}}finally{sn=0,mt.length=0,qi(),Yi=!1,Yl=null,(mt.length||Fs.length||Hs.length)&&Hh(e)}}let Nr,Ai=[];function Bh(e,t){var n,r;Nr=e,Nr?(Nr.enabled=!0,Ai.forEach(({event:s,args:i})=>Nr.emit(s,...i)),Ai=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((r=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||r===void 0)&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Bh(i,t)}),setTimeout(()=>{Nr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ai=[])},3e3)):Ai=[]}function M0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ae;let s=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in r){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=r[u]||Ae;d?s=n.map(g=>g.trim()):f&&(s=n.map($n))}let a,l=r[a=Rs(t)]||r[a=Rs(vt(t))];!l&&i&&(l=r[a=Rs(Yt(t))]),l&&pt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,pt(c,e,6,s)}}function jh(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!de(e)){const l=c=>{const u=jh(c,t,!0);u&&(a=!0,He(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(r.set(e,null),null):(ae(i)?i.forEach(l=>o[l]=null):He(o,i),r.set(e,o),o)}function Lo(e,t){return!e||!oi(t)?!1:(t=t.slice(2).replace(/Once$/,""),we(e,t[0].toLowerCase()+t.slice(1))||we(e,Yt(t))||we(e,t))}let Ge=null,No=null;function Js(e){const t=Ge;return Ge=e,No=e&&e.type.__scopeId||null,t}function Ft(e){No=e}function Ht(){No=null}const D0=e=>wt;function wt(e,t=Ge,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Va(-1);const i=Js(t),o=e(...s);return Js(i),r._d&&Va(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function Ri(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:g,ctx:T,inheritAttrs:A}=e;let _,p;const v=Js(e);try{if(n.shapeFlag&4){const m=s||r;_=ht(u.call(m,m,f,i,g,d,T)),p=l}else{const m=t;_=ht(m.length>1?m(i,{attrs:l,slots:a,emit:c}):m(i,null)),p=t.props?l:H0(l)}}catch(m){Vs.length=0,_r(m,e,1),_=se(Ye)}let E=_;if(p&&A!==!1){const m=Object.keys(p),{shapeFlag:k}=E;m.length&&k&7&&(o&&m.some(Il)&&(p=B0(p,o)),E=fn(E,p))}return n.dirs&&(E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),_=E,Js(v),_}function F0(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Pn(r)){if(r.type!==Ye||r.children==="v-if"){if(t)return;t=r}}else return}return t}const H0=e=>{let t;for(const n in e)(n==="class"||n==="style"||oi(n))&&((t||(t={}))[n]=e[n]);return t},B0=(e,t)=>{const n={};for(const r in e)(!Il(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function j0(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Vu(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==r[d]&&!Lo(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Vu(r,o,c):!0:!!o;return!1}function Vu(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(t[i]!==e[i]&&!Lo(n,i))return!0}return!1}function Jl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const V0=e=>e.__isSuspense,U0={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,o,a,l,c){e==null?z0(t,n,r,s,i,o,a,l,c):K0(e,t,n,r,s,o,a,l,c)},hydrate:Y0,create:Ql,normalize:q0},W0=U0;function Qs(e,t){const n=e.props&&e.props[t];de(n)&&n()}function z0(e,t,n,r,s,i,o,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Ql(e,s,r,t,f,n,i,o,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,o),d.deps>0?(Qs(e,"onPending"),Qs(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,o),Hr(d,e.ssFallback)):d.resolve()}function K0(e,t,n,r,s,i,o,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:T,pendingBranch:A,isInFallback:_,isHydrating:p}=f;if(A)f.pendingBranch=d,zt(d,A)?(l(A,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():_&&(l(T,g,n,r,s,null,i,o,a),Hr(f,g))):(f.pendingId++,p?(f.isHydrating=!1,f.activeBranch=A):c(A,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),_?(l(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():(l(T,g,n,r,s,null,i,o,a),Hr(f,g))):T&&zt(d,T)?(l(T,d,n,r,s,f,i,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0&&f.resolve()));else if(T&&zt(d,T))l(T,d,n,r,s,f,i,o,a),Hr(f,d);else if(Qs(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:E}=f;v>0?setTimeout(()=>{f.pendingId===E&&f.fallback(g)},v):v===0&&f.fallback(g)}}function Ql(e,t,n,r,s,i,o,a,l,c,u=!1){const{p:f,m:d,um:g,n:T,o:{parentNode:A,remove:_}}=c,p=$n(e.props&&e.props.timeout),v={vnode:e,parent:t,parentComponent:n,isSVG:o,container:r,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1){const{vnode:m,activeBranch:k,pendingBranch:$,pendingId:L,effects:H,parentComponent:j,container:Y}=v;if(v.isHydrating)v.isHydrating=!1;else if(!E){const re=k&&$.transition&&$.transition.mode==="out-in";re&&(k.transition.afterLeave=()=>{L===v.pendingId&&d($,Y,x,0)});let{anchor:x}=v;k&&(x=T(k),g(k,j,v,!0)),re||d($,Y,x,0)}Hr(v,$),v.pendingBranch=null,v.isInFallback=!1;let J=v.parent,F=!1;for(;J;){if(J.pendingBranch){J.effects.push(...H),F=!0;break}J=J.parent}F||Gl(H),v.effects=[],Qs(m,"onResolve")},fallback(E){if(!v.pendingBranch)return;const{vnode:m,activeBranch:k,parentComponent:$,container:L,isSVG:H}=v;Qs(m,"onFallback");const j=T(k),Y=()=>{!v.isInFallback||(f(null,E,L,j,$,null,H,a,l),Hr(v,E))},J=E.transition&&E.transition.mode==="out-in";J&&(k.transition.afterLeave=Y),v.isInFallback=!0,g(k,$,null,!0),J||Y()},move(E,m,k){v.activeBranch&&d(v.activeBranch,E,m,k),v.container=E},next(){return v.activeBranch&&T(v.activeBranch)},registerDep(E,m){const k=!!v.pendingBranch;k&&v.deps++;const $=E.vnode.el;E.asyncDep.catch(L=>{_r(L,E,0)}).then(L=>{if(E.isUnmounted||v.isUnmounted||v.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:H}=E;za(E,L,!1),$&&(H.el=$);const j=!$&&E.subTree.el;m(E,H,A($||E.subTree.el),$?null:T(E.subTree),v,o,l),j&&_(j),Jl(E,H.el),k&&--v.deps===0&&v.resolve()})},unmount(E,m){v.isUnmounted=!0,v.activeBranch&&g(v.activeBranch,n,E,m),v.pendingBranch&&g(v.pendingBranch,n,E,m)}};return v}function Y0(e,t,n,r,s,i,o,a,l){const c=t.suspense=Ql(t,r,n,e.parentNode,document.createElement("div"),null,s,i,o,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,o);return c.deps===0&&c.resolve(),u}function q0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Uu(r?n.default:n),e.ssFallback=r?Uu(n.fallback):se(Ye)}function Uu(e){let t;if(de(e)){const n=Jr&&e._c;n&&(e._d=!1,V()),e=e(),n&&(e._d=!0,t=Xt,hm())}return ae(e)&&(e=F0(e)),e=ht(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Vh(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Gl(e)}function Hr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Jl(r,s))}function Bs(e,t){if(Ve){let n=Ve.provides;const r=Ve.parent&&Ve.parent.provides;r===n&&(n=Ve.provides=Object.create(r)),n[e]=t}}function Gt(e,t,n=!1){const r=Ve||Ge;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&de(t)?t.call(r.proxy):t}}function G0(e,t){return ci(e,null,t)}function Uh(e,t){return ci(e,null,{flush:"post"})}function X0(e,t){return ci(e,null,{flush:"sync"})}const Wu={};function or(e,t,n){return ci(e,t,n)}function ci(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=Ae){const a=Ve;let l,c=!1,u=!1;if(je(e)?(l=()=>e.value,c=Ul(e)):ir(e)?(l=()=>e,r=!0):ae(e)?(u=!0,c=e.some(ir),l=()=>e.map(p=>{if(je(p))return p.value;if(ir(p))return Zn(p);if(de(p))return qt(p,a,2)})):de(e)?t?l=()=>qt(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),pt(e,a,3,[d])}:l=It,t&&r){const p=l;l=()=>Zn(p())}let f,d=p=>{f=_.onStop=()=>{qt(p,a,4)}};if(Qr)return d=It,t?n&&pt(t,a,3,[l(),u?[]:void 0,d]):l(),It;let g=u?[]:Wu;const T=()=>{if(!!_.active)if(t){const p=_.run();(r||c||(u?p.some((v,E)=>qs(v,g[E])):qs(p,g)))&&(f&&f(),pt(t,a,3,[p,g===Wu?void 0:g,d]),g=p)}else _.run()};T.allowRecurse=!!t;let A;s==="sync"?A=T:s==="post"?A=()=>We(T,a&&a.suspense):A=()=>{!a||a.isMounted?R0(T):T()};const _=new li(l,A);return t?n?T():g=_.run():s==="post"?We(_.run.bind(_),a&&a.suspense):_.run(),()=>{_.stop(),a&&a.scope&&Rl(a.scope.effects,_)}}function J0(e,t,n){const r=this.proxy,s=Fe(e)?e.includes(".")?Wh(r,e):()=>r[e]:e.bind(r,r);let i;de(t)?i=t:(i=t.handler,n=t);const o=Ve;In(this);const a=ci(s,i.bind(r),n);return o?In(o):kn(),a}function Wh(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Zn(e,t){if(!Be(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),je(e))Zn(e.value,t);else if(ae(e))for(let n=0;n<e.length;n++)Zn(e[n],t);else if(mr(e)||Mr(e))e.forEach(n=>{Zn(n,t)});else if(gh(e))for(const n in e)Zn(e[n],t);return e}function Zl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fi(()=>{e.isMounted=!0}),Io(()=>{e.isUnmounting=!0}),e}const Et=[Function,Array],Q0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Et,onEnter:Et,onAfterEnter:Et,onEnterCancelled:Et,onBeforeLeave:Et,onLeave:Et,onAfterLeave:Et,onLeaveCancelled:Et,onBeforeAppear:Et,onAppear:Et,onAfterAppear:Et,onAppearCancelled:Et},setup(e,{slots:t}){const n=Lt(),r=Zl();let s;return()=>{const i=t.default&&$o(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const A of i)if(A.type!==Ye){o=A;break}}const a=ye(e),{mode:l}=a;if(r.isLeaving)return la(o);const c=zu(o);if(!c)return la(o);const u=qr(c,a,r,n);fr(c,u);const f=n.subTree,d=f&&zu(f);let g=!1;const{getTransitionKey:T}=c.type;if(T){const A=T();s===void 0?s=A:A!==s&&(s=A,g=!0)}if(d&&d.type!==Ye&&(!zt(c,d)||g)){const A=qr(d,a,r,n);if(fr(d,A),l==="out-in")return r.isLeaving=!0,A.afterLeave=()=>{r.isLeaving=!1,n.update()},la(o);l==="in-out"&&c.type!==Ye&&(A.delayLeave=(_,p,v)=>{const E=zh(r,d);E[String(d.key)]=d,_._leaveCb=()=>{p(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=v})}return o}}},ec=Q0;function zh(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function qr(e,t,n,r){const{appear:s,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:T,onBeforeAppear:A,onAppear:_,onAfterAppear:p,onAppearCancelled:v}=t,E=String(e.key),m=zh(n,e),k=(L,H)=>{L&&pt(L,r,9,H)},$={mode:i,persisted:o,beforeEnter(L){let H=a;if(!n.isMounted)if(s)H=A||a;else return;L._leaveCb&&L._leaveCb(!0);const j=m[E];j&&zt(e,j)&&j.el._leaveCb&&j.el._leaveCb(),k(H,[L])},enter(L){let H=l,j=c,Y=u;if(!n.isMounted)if(s)H=_||l,j=p||c,Y=v||u;else return;let J=!1;const F=L._enterCb=re=>{J||(J=!0,re?k(Y,[L]):k(j,[L]),$.delayedLeave&&$.delayedLeave(),L._enterCb=void 0)};H?(H(L,F),H.length<=1&&F()):F()},leave(L,H){const j=String(e.key);if(L._enterCb&&L._enterCb(!0),n.isUnmounting)return H();k(f,[L]);let Y=!1;const J=L._leaveCb=F=>{Y||(Y=!0,H(),F?k(T,[L]):k(g,[L]),L._leaveCb=void 0,m[j]===e&&delete m[j])};m[j]=e,d?(d(L,J),d.length<=1&&J()):J()},clone(L){return qr(L,t,n,r)}};return $}function la(e){if(ui(e))return e=fn(e),e.children=null,e}function zu(e){return ui(e)?e.children?e.children[0]:void 0:e}function fr(e,t){e.shapeFlag&6&&e.component?fr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $o(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===xe?(o.patchFlag&128&&s++,r=r.concat($o(o.children,t,a))):(t||o.type!==Ye)&&r.push(a!=null?fn(o,{key:a}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function us(e){return de(e)?{setup:e,name:e.name}:e}const Gr=e=>!!e.type.__asyncLoader;function Z0(e){de(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:i,suspensible:o=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let g;return l||(g=l=t().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),a)return new Promise((A,_)=>{a(T,()=>A(f()),()=>_(T),u+1)});throw T}).then(T=>g!==l&&l?l:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),c=T,T)))};return us({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const g=Ve;if(c)return()=>ca(c,g);const T=v=>{l=null,_r(v,g,13,!r)};if(o&&g.suspense||Qr)return d().then(v=>()=>ca(v,g)).catch(v=>(T(v),()=>r?se(r,{error:v}):null));const A=Ms(!1),_=Ms(),p=Ms(!!s);return s&&setTimeout(()=>{p.value=!1},s),i!=null&&setTimeout(()=>{if(!A.value&&!_.value){const v=new Error(`Async component timed out after ${i}ms.`);T(v),_.value=v}},i),d().then(()=>{A.value=!0,g.parent&&ui(g.parent.vnode)&&ql(g.parent.update)}).catch(v=>{T(v),_.value=v}),()=>{if(A.value&&c)return ca(c,g);if(_.value&&r)return se(r,{error:_.value});if(n&&!p.value)return se(n)}}})}function ca(e,{vnode:{ref:t,props:n,children:r}}){const s=se(e,n,r);return s.ref=t,s}const ui=e=>e.type.__isKeepAlive,e1={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Lt(),r=n.ctx;if(!r.renderer)return t.default;const s=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(v,E,m,k,$)=>{const L=v.component;c(v,E,m,0,a),l(L.vnode,v,E,m,L,a,k,v.slotScopeIds,$),We(()=>{L.isDeactivated=!1,L.a&&Dr(L.a);const H=v.props&&v.props.onVnodeMounted;H&&nt(H,L.parent,v)},a)},r.deactivate=v=>{const E=v.component;c(v,d,null,1,a),We(()=>{E.da&&Dr(E.da);const m=v.props&&v.props.onVnodeUnmounted;m&&nt(m,E.parent,v),E.isDeactivated=!0},a)};function g(v){ua(v),u(v,n,a,!0)}function T(v){s.forEach((E,m)=>{const k=eo(E.type);k&&(!v||!v(k))&&A(m)})}function A(v){const E=s.get(v);!o||E.type!==o.type?g(E):o&&ua(o),s.delete(v),i.delete(v)}or(()=>[e.include,e.exclude],([v,E])=>{v&&T(m=>Ls(v,m)),E&&T(m=>!Ls(E,m))},{flush:"post",deep:!0});let _=null;const p=()=>{_!=null&&s.set(_,fa(n.subTree))};return fi(p),Po(p),Io(()=>{s.forEach(v=>{const{subTree:E,suspense:m}=n,k=fa(E);if(v.type===k.type){ua(k);const $=k.component.da;$&&We($,m);return}g(v)})}),()=>{if(_=null,!t.default)return null;const v=t.default(),E=v[0];if(v.length>1)return o=null,v;if(!Pn(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return o=null,E;let m=fa(E);const k=m.type,$=eo(Gr(m)?m.type.__asyncResolved||{}:k),{include:L,exclude:H,max:j}=e;if(L&&(!$||!Ls(L,$))||H&&$&&Ls(H,$))return o=m,E;const Y=m.key==null?k:m.key,J=s.get(Y);return m.el&&(m=fn(m),E.shapeFlag&128&&(E.ssContent=m)),_=Y,J?(m.el=J.el,m.component=J.component,m.transition&&fr(m,m.transition),m.shapeFlag|=512,i.delete(Y),i.add(Y)):(i.add(Y),j&&i.size>parseInt(j,10)&&A(i.values().next().value)),m.shapeFlag|=256,o=m,E}}},t1=e1;function Ls(e,t){return ae(e)?e.some(n=>Ls(n,t)):Fe(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Kh(e,t){qh(e,"a",t)}function Yh(e,t){qh(e,"da",t)}function qh(e,t,n=Ve){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(xo(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ui(s.parent.vnode)&&n1(r,t,n,s),s=s.parent}}function n1(e,t,n,r){const s=xo(t,e,r,!0);di(()=>{Rl(r[t],s)},n)}function ua(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function fa(e){return e.shapeFlag&128?e.ssContent:e}function xo(e,t,n=Ve,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;pr(),In(n);const a=pt(t,n,e,o);return kn(),gr(),a});return r?s.unshift(i):s.push(i),i}}const dn=e=>(t,n=Ve)=>(!Qr||e==="sp")&&xo(e,t,n),Gh=dn("bm"),fi=dn("m"),Xh=dn("bu"),Po=dn("u"),Io=dn("bum"),di=dn("um"),Jh=dn("sp"),Qh=dn("rtg"),Zh=dn("rtc");function em(e,t=Ve){xo("ec",e,t)}let Fa=!0;function r1(e){const t=nm(e),n=e.proxy,r=e.ctx;Fa=!1,t.beforeCreate&&Ku(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:T,activated:A,deactivated:_,beforeDestroy:p,beforeUnmount:v,destroyed:E,unmounted:m,render:k,renderTracked:$,renderTriggered:L,errorCaptured:H,serverPrefetch:j,expose:Y,inheritAttrs:J,components:F,directives:re,filters:x}=t;if(c&&s1(c,r,null,e.appContext.config.unwrapInjectedRef),o)for(const ee in o){const oe=o[ee];de(oe)&&(r[ee]=oe.bind(n))}if(s){const ee=s.call(n,n);Be(ee)&&(e.data=Fn(ee))}if(Fa=!0,i)for(const ee in i){const oe=i[ee],le=de(oe)?oe.bind(n,n):de(oe.get)?oe.get.bind(n,n):It,ue=!de(oe)&&de(oe.set)?oe.set.bind(n):It,pe=St({get:le,set:ue});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>pe.value,set:ve=>pe.value=ve})}if(a)for(const ee in a)tm(a[ee],r,n,ee);if(l){const ee=de(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(oe=>{Bs(oe,ee[oe])})}u&&Ku(u,e,"c");function Z(ee,oe){ae(oe)?oe.forEach(le=>ee(le.bind(n))):oe&&ee(oe.bind(n))}if(Z(Gh,f),Z(fi,d),Z(Xh,g),Z(Po,T),Z(Kh,A),Z(Yh,_),Z(em,H),Z(Zh,$),Z(Qh,L),Z(Io,v),Z(di,m),Z(Jh,j),ae(Y))if(Y.length){const ee=e.exposed||(e.exposed={});Y.forEach(oe=>{Object.defineProperty(ee,oe,{get:()=>n[oe],set:le=>n[oe]=le})})}else e.exposed||(e.exposed={});k&&e.render===It&&(e.render=k),J!=null&&(e.inheritAttrs=J),F&&(e.components=F),re&&(e.directives=re)}function s1(e,t,n=It,r=!1){ae(e)&&(e=Ha(e));for(const s in e){const i=e[s];let o;Be(i)?"default"in i?o=Gt(i.from||s,i.default,!0):o=Gt(i.from||s):o=Gt(i),je(o)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Ku(e,t,n){pt(ae(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function tm(e,t,n,r){const s=r.includes(".")?Wh(n,r):()=>n[r];if(Fe(e)){const i=t[e];de(i)&&or(s,i)}else if(de(e))or(s,e.bind(n));else if(Be(e))if(ae(e))e.forEach(i=>tm(i,t,n,r));else{const i=de(e.handler)?e.handler.bind(n):t[e.handler];de(i)&&or(s,i,e)}}function nm(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Gi(l,c,o,!0)),Gi(l,t,o)),i.set(t,l),l}function Gi(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Gi(e,i,n,!0),s&&s.forEach(o=>Gi(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=i1[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const i1={data:Yu,props:Gn,emits:Gn,methods:Gn,computed:Gn,beforeCreate:Qe,created:Qe,beforeMount:Qe,mounted:Qe,beforeUpdate:Qe,updated:Qe,beforeDestroy:Qe,beforeUnmount:Qe,destroyed:Qe,unmounted:Qe,activated:Qe,deactivated:Qe,errorCaptured:Qe,serverPrefetch:Qe,components:Gn,directives:Gn,watch:a1,provide:Yu,inject:o1};function Yu(e,t){return t?e?function(){return He(de(e)?e.call(this,this):e,de(t)?t.call(this,this):t)}:t:e}function o1(e,t){return Gn(Ha(e),Ha(t))}function Ha(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qe(e,t){return e?[...new Set([].concat(e,t))]:t}function Gn(e,t){return e?He(He(Object.create(null),e),t):t}function a1(e,t){if(!e)return t;if(!t)return e;const n=He(Object.create(null),e);for(const r in t)n[r]=Qe(e[r],t[r]);return n}function l1(e,t,n,r=!1){const s={},i={};Ki(i,Mo,1),e.propsDefaults=Object.create(null),rm(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Nh(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function c1(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=ye(s),[l]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Lo(e.emitsOptions,d))continue;const g=t[d];if(l)if(we(i,d))g!==i[d]&&(i[d]=g,c=!0);else{const T=vt(d);s[T]=Ba(l,a,T,g,e,!1)}else g!==i[d]&&(i[d]=g,c=!0)}}}else{rm(e,t,s,i)&&(c=!0);let u;for(const f in a)(!t||!we(t,f)&&((u=Yt(f))===f||!we(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Ba(l,a,f,void 0,e,!0)):delete s[f]);if(i!==a)for(const f in i)(!t||!we(t,f)&&!0)&&(delete i[f],c=!0)}c&&un(e,"set","$attrs")}function rm(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Is(l))continue;const c=t[l];let u;s&&we(s,u=vt(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:Lo(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,o=!0)}if(i){const l=ye(n),c=a||Ae;for(let u=0;u<i.length;u++){const f=i[u];n[f]=Ba(s,l,f,c[f],e,!we(c,f))}}return o}function Ba(e,t,n,r,s,i){const o=e[n];if(o!=null){const a=we(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&de(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(In(s),r=c[n]=l.call(null,t),kn())}else r=l}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===Yt(n))&&(r=!0))}return r}function sm(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},a=[];let l=!1;if(!de(e)){const u=f=>{l=!0;const[d,g]=sm(f,t,!0);He(o,d),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return r.set(e,Rr),Rr;if(ae(i))for(let u=0;u<i.length;u++){const f=vt(i[u]);qu(f)&&(o[f]=Ae)}else if(i)for(const u in i){const f=vt(u);if(qu(f)){const d=i[u],g=o[f]=ae(d)||de(d)?{type:d}:d;if(g){const T=Ju(Boolean,g.type),A=Ju(String,g.type);g[0]=T>-1,g[1]=A<0||T<A,(T>-1||we(g,"default"))&&a.push(f)}}}const c=[o,a];return r.set(e,c),c}function qu(e){return e[0]!=="$"}function Gu(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Xu(e,t){return Gu(e)===Gu(t)}function Ju(e,t){return ae(t)?t.findIndex(n=>Xu(n,e)):de(t)&&Xu(t,e)?0:-1}const im=e=>e[0]==="_"||e==="$stable",tc=e=>ae(e)?e.map(ht):[ht(e)],u1=(e,t,n)=>{const r=wt((...s)=>tc(t(...s)),n);return r._c=!1,r},om=(e,t,n)=>{const r=e._ctx;for(const s in e){if(im(s))continue;const i=e[s];if(de(i))t[s]=u1(s,i,r);else if(i!=null){const o=tc(i);t[s]=()=>o}}},am=(e,t)=>{const n=tc(t);e.slots.default=()=>n},f1=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ye(t),Ki(t,"_",n)):om(t,e.slots={})}else e.slots={},t&&am(e,t);Ki(e.slots,Mo,1)},d1=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=Ae;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(He(s,t),!n&&a===1&&delete s._):(i=!t.$stable,om(t,s)),o=t}else t&&(am(e,t),o={default:1});if(i)for(const a in s)!im(a)&&!(a in o)&&delete s[a]};function Xi(e,t){const n=Ge;if(n===null)return e;const r=Do(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,a,l,c=Ae]=t[i];de(o)&&(o={mounted:o,updated:o}),o.deep&&Zn(a),s.push({dir:o,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c})}return e}function Wt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let l=a.dir[r];l&&(pr(),pt(l,n,8,[e.el,a,e,t]),gr())}}function lm(){return{app:null,config:{isNativeTag:Iy,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 h1=0;function m1(e,t){return function(r,s=null){de(r)||(r=Object.assign({},r)),s!=null&&!Be(s)&&(s=null);const i=lm(),o=new Set;let a=!1;const l=i.app={_uid:h1++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:km,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&de(c.install)?(o.add(c),c.install(l,...u)):de(c)&&(o.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!a){const d=se(r,s);return d.appContext=i,u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Do(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l}};return l}}function Ji(e,t,n,r,s=!1){if(ae(e)){e.forEach((d,g)=>Ji(d,t&&(ae(t)?t[g]:t),n,r,s));return}if(Gr(r)&&!s)return;const i=r.shapeFlag&4?Do(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ae?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Fe(c)?(u[c]=null,we(f,c)&&(f[c]=null)):je(c)&&(c.value=null)),de(l))qt(l,a,12,[o,u]);else{const d=Fe(l),g=je(l);if(d||g){const T=()=>{if(e.f){const A=d?u[l]:l.value;s?ae(A)&&Rl(A,i):ae(A)?A.includes(i)||A.push(i):d?(u[l]=[i],we(f,l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else d?(u[l]=o,we(f,l)&&(f[l]=o)):je(l)&&(l.value=o,e.k&&(u[e.k]=o))};o?(T.id=-1,We(T,n)):T()}}}let _n=!1;const ki=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",da=e=>e.nodeType===8;function p1(e){const{mt:t,p:n,o:{patchProp:r,nextSibling:s,parentNode:i,remove:o,insert:a,createComment:l}}=e,c=(_,p)=>{if(!p.hasChildNodes()){n(null,_,p),qi();return}_n=!1,u(p.firstChild,_,null,null,null),qi(),_n&&console.error("Hydration completed but contains mismatches.")},u=(_,p,v,E,m,k=!1)=>{const $=da(_)&&_.data==="[",L=()=>T(_,p,v,E,m,$),{type:H,ref:j,shapeFlag:Y}=p,J=_.nodeType;p.el=_;let F=null;switch(H){case Xr:J!==3?F=L():(_.data!==p.children&&(_n=!0,_.data=p.children),F=s(_));break;case Ye:J!==8||$?F=L():F=s(_);break;case ar:if(J!==1)F=L();else{F=_;const re=!p.children.length;for(let x=0;x<p.staticCount;x++)re&&(p.children+=F.outerHTML),x===p.staticCount-1&&(p.anchor=F),F=s(F);return F}break;case xe:$?F=g(_,p,v,E,m,k):F=L();break;default:if(Y&1)J!==1||p.type.toLowerCase()!==_.tagName.toLowerCase()?F=L():F=f(_,p,v,E,m,k);else if(Y&6){p.slotScopeIds=m;const re=i(_);if(t(p,re,null,v,E,ki(re),k),F=$?A(_):s(_),Gr(p)){let x;$?(x=se(xe),x.anchor=F?F.previousSibling:re.lastChild):x=_.nodeType===3?De(""):se("div"),x.el=_,p.component.subTree=x}}else Y&64?J!==8?F=L():F=p.type.hydrate(_,p,v,E,m,k,e,d):Y&128&&(F=p.type.hydrate(_,p,v,E,ki(i(_)),m,k,e,u))}return j!=null&&Ji(j,null,E,p),F},f=(_,p,v,E,m,k)=>{k=k||!!p.dynamicChildren;const{type:$,props:L,patchFlag:H,shapeFlag:j,dirs:Y}=p,J=$==="input"&&Y||$==="option";if(J||H!==-1){if(Y&&Wt(p,null,v,"created"),L)if(J||!k||H&48)for(const re in L)(J&&re.endsWith("value")||oi(re)&&!Is(re))&&r(_,re,null,L[re],!1,void 0,v);else L.onClick&&r(_,"onClick",null,L.onClick,!1,void 0,v);let F;if((F=L&&L.onVnodeBeforeMount)&&nt(F,v,p),Y&&Wt(p,null,v,"beforeMount"),((F=L&&L.onVnodeMounted)||Y)&&Vh(()=>{F&&nt(F,v,p),Y&&Wt(p,null,v,"mounted")},E),j&16&&!(L&&(L.innerHTML||L.textContent))){let re=d(_.firstChild,p,_,v,E,m,k);for(;re;){_n=!0;const x=re;re=re.nextSibling,o(x)}}else j&8&&_.textContent!==p.children&&(_n=!0,_.textContent=p.children)}return _.nextSibling},d=(_,p,v,E,m,k,$)=>{$=$||!!p.dynamicChildren;const L=p.children,H=L.length;for(let j=0;j<H;j++){const Y=$?L[j]:L[j]=ht(L[j]);if(_)_=u(_,Y,E,m,k,$);else{if(Y.type===Xr&&!Y.children)continue;_n=!0,n(null,Y,v,null,E,m,ki(v),k)}}return _},g=(_,p,v,E,m,k)=>{const{slotScopeIds:$}=p;$&&(m=m?m.concat($):$);const L=i(_),H=d(s(_),p,L,v,E,m,k);return H&&da(H)&&H.data==="]"?s(p.anchor=H):(_n=!0,a(p.anchor=l("]"),L,H),H)},T=(_,p,v,E,m,k)=>{if(_n=!0,p.el=null,k){const H=A(_);for(;;){const j=s(_);if(j&&j!==H)o(j);else break}}const $=s(_),L=i(_);return o(_),n(null,p,L,$,v,E,ki(L),m),$},A=_=>{let p=0;for(;_;)if(_=s(_),_&&da(_)&&(_.data==="["&&p++,_.data==="]")){if(p===0)return s(_);p--}return _};return[c,u]}const We=Vh;function cm(e){return fm(e)}function um(e){return fm(e,p1)}function fm(e,t){const n=By();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=It,cloneNode:T,insertStaticContent:A}=e,_=(h,b,O,I=null,M=null,W=null,Q=!1,z=null,C=!!b.dynamicChildren)=>{if(h===b)return;h&&!zt(h,b)&&(I=te(h),Oe(h,M,W,!0),h=null),b.patchFlag===-2&&(C=!1,b.dynamicChildren=null);const{type:N,ref:ne,shapeFlag:G}=b;switch(N){case Xr:p(h,b,O,I);break;case Ye:v(h,b,O,I);break;case ar:h==null&&E(b,O,I,Q);break;case xe:re(h,b,O,I,M,W,Q,z,C);break;default:G&1?$(h,b,O,I,M,W,Q,z,C):G&6?x(h,b,O,I,M,W,Q,z,C):(G&64||G&128)&&N.process(h,b,O,I,M,W,Q,z,C,be)}ne!=null&&M&&Ji(ne,h&&h.ref,W,b||h,!b)},p=(h,b,O,I)=>{if(h==null)r(b.el=a(b.children),O,I);else{const M=b.el=h.el;b.children!==h.children&&c(M,b.children)}},v=(h,b,O,I)=>{h==null?r(b.el=l(b.children||""),O,I):b.el=h.el},E=(h,b,O,I)=>{[h.el,h.anchor]=A(h.children,b,O,I,h.el,h.anchor)},m=({el:h,anchor:b},O,I)=>{let M;for(;h&&h!==b;)M=d(h),r(h,O,I),h=M;r(b,O,I)},k=({el:h,anchor:b})=>{let O;for(;h&&h!==b;)O=d(h),s(h),h=O;s(b)},$=(h,b,O,I,M,W,Q,z,C)=>{Q=Q||b.type==="svg",h==null?L(b,O,I,M,W,Q,z,C):Y(h,b,M,W,Q,z,C)},L=(h,b,O,I,M,W,Q,z)=>{let C,N;const{type:ne,props:G,shapeFlag:ie,transition:ce,patchFlag:me,dirs:ke}=h;if(h.el&&T!==void 0&&me===-1)C=h.el=T(h.el);else{if(C=h.el=o(h.type,W,G&&G.is,G),ie&8?u(C,h.children):ie&16&&j(h.children,C,null,I,M,W&&ne!=="foreignObject",Q,z),ke&&Wt(h,null,I,"created"),G){for(const Re in G)Re!=="value"&&!Is(Re)&&i(C,Re,null,G[Re],W,h.children,I,M,B);"value"in G&&i(C,"value",null,G.value),(N=G.onVnodeBeforeMount)&&nt(N,I,h)}H(C,h,h.scopeId,Q,I)}ke&&Wt(h,null,I,"beforeMount");const Le=(!M||M&&!M.pendingBranch)&&ce&&!ce.persisted;Le&&ce.beforeEnter(C),r(C,b,O),((N=G&&G.onVnodeMounted)||Le||ke)&&We(()=>{N&&nt(N,I,h),Le&&ce.enter(C),ke&&Wt(h,null,I,"mounted")},M)},H=(h,b,O,I,M)=>{if(O&&g(h,O),I)for(let W=0;W<I.length;W++)g(h,I[W]);if(M){let W=M.subTree;if(b===W){const Q=M.vnode;H(h,Q,Q.scopeId,Q.slotScopeIds,M.parent)}}},j=(h,b,O,I,M,W,Q,z,C=0)=>{for(let N=C;N<h.length;N++){const ne=h[N]=z?Tn(h[N]):ht(h[N]);_(null,ne,b,O,I,M,W,Q,z)}},Y=(h,b,O,I,M,W,Q)=>{const z=b.el=h.el;let{patchFlag:C,dynamicChildren:N,dirs:ne}=b;C|=h.patchFlag&16;const G=h.props||Ae,ie=b.props||Ae;let ce;O&&Kn(O,!1),(ce=ie.onVnodeBeforeUpdate)&&nt(ce,O,b,h),ne&&Wt(b,h,O,"beforeUpdate"),O&&Kn(O,!0);const me=M&&b.type!=="foreignObject";if(N?J(h.dynamicChildren,N,z,O,I,me,W):Q||le(h,b,z,null,O,I,me,W,!1),C>0){if(C&16)F(z,b,G,ie,O,I,M);else if(C&2&&G.class!==ie.class&&i(z,"class",null,ie.class,M),C&4&&i(z,"style",G.style,ie.style,M),C&8){const ke=b.dynamicProps;for(let Le=0;Le<ke.length;Le++){const Re=ke[Le],Nt=G[Re],Er=ie[Re];(Er!==Nt||Re==="value")&&i(z,Re,Nt,Er,M,h.children,O,I,B)}}C&1&&h.children!==b.children&&u(z,b.children)}else!Q&&N==null&&F(z,b,G,ie,O,I,M);((ce=ie.onVnodeUpdated)||ne)&&We(()=>{ce&&nt(ce,O,b,h),ne&&Wt(b,h,O,"updated")},I)},J=(h,b,O,I,M,W,Q)=>{for(let z=0;z<b.length;z++){const C=h[z],N=b[z],ne=C.el&&(C.type===xe||!zt(C,N)||C.shapeFlag&70)?f(C.el):O;_(C,N,ne,null,I,M,W,Q,!0)}},F=(h,b,O,I,M,W,Q)=>{if(O!==I){for(const z in I){if(Is(z))continue;const C=I[z],N=O[z];C!==N&&z!=="value"&&i(h,z,N,C,Q,b.children,M,W,B)}if(O!==Ae)for(const z in O)!Is(z)&&!(z in I)&&i(h,z,O[z],null,Q,b.children,M,W,B);"value"in I&&i(h,"value",O.value,I.value)}},re=(h,b,O,I,M,W,Q,z,C)=>{const N=b.el=h?h.el:a(""),ne=b.anchor=h?h.anchor:a("");let{patchFlag:G,dynamicChildren:ie,slotScopeIds:ce}=b;ce&&(z=z?z.concat(ce):ce),h==null?(r(N,O,I),r(ne,O,I),j(b.children,O,ne,M,W,Q,z,C)):G>0&&G&64&&ie&&h.dynamicChildren?(J(h.dynamicChildren,ie,O,M,W,Q,z),(b.key!=null||M&&b===M.subTree)&&nc(h,b,!0)):le(h,b,O,ne,M,W,Q,z,C)},x=(h,b,O,I,M,W,Q,z,C)=>{b.slotScopeIds=z,h==null?b.shapeFlag&512?M.ctx.activate(b,O,I,Q,C):P(b,O,I,M,W,Q,C):Z(h,b,C)},P=(h,b,O,I,M,W,Q)=>{const z=h.component=vm(h,I,M);if(ui(h)&&(z.ctx.renderer=be),ym(z),z.asyncDep){if(M&&M.registerDep(z,ee),!h.el){const C=z.subTree=se(Ye);v(null,C,b,O)}return}ee(z,h,b,O,M,W,Q)},Z=(h,b,O)=>{const I=b.component=h.component;if(j0(h,b,O))if(I.asyncDep&&!I.asyncResolved){oe(I,b,O);return}else I.next=b,I0(I.update),I.update();else b.component=h.component,b.el=h.el,I.vnode=b},ee=(h,b,O,I,M,W,Q)=>{const z=()=>{if(h.isMounted){let{next:ne,bu:G,u:ie,parent:ce,vnode:me}=h,ke=ne,Le;Kn(h,!1),ne?(ne.el=me.el,oe(h,ne,Q)):ne=me,G&&Dr(G),(Le=ne.props&&ne.props.onVnodeBeforeUpdate)&&nt(Le,ce,ne,me),Kn(h,!0);const Re=Ri(h),Nt=h.subTree;h.subTree=Re,_(Nt,Re,f(Nt.el),te(Nt),h,M,W),ne.el=Re.el,ke===null&&Jl(h,Re.el),ie&&We(ie,M),(Le=ne.props&&ne.props.onVnodeUpdated)&&We(()=>nt(Le,ce,ne,me),M)}else{let ne;const{el:G,props:ie}=b,{bm:ce,m:me,parent:ke}=h,Le=Gr(b);if(Kn(h,!1),ce&&Dr(ce),!Le&&(ne=ie&&ie.onVnodeBeforeMount)&&nt(ne,ke,b),Kn(h,!0),G&&w){const Re=()=>{h.subTree=Ri(h),w(G,h.subTree,h,M,null)};Le?b.type.__asyncLoader().then(()=>!h.isUnmounted&&Re()):Re()}else{const Re=h.subTree=Ri(h);_(null,Re,O,I,h,M,W),b.el=Re.el}if(me&&We(me,M),!Le&&(ne=ie&&ie.onVnodeMounted)){const Re=b;We(()=>nt(ne,ke,Re),M)}b.shapeFlag&256&&h.a&&We(h.a,M),h.isMounted=!0,b=O=I=null}},C=h.effect=new li(z,()=>ql(h.update),h.scope),N=h.update=C.run.bind(C);N.id=h.uid,Kn(h,!0),N()},oe=(h,b,O)=>{b.component=h;const I=h.vnode.props;h.vnode=b,h.next=null,c1(h,b.props,I,O),d1(h,b.children,O),pr(),Xl(void 0,h.update),gr()},le=(h,b,O,I,M,W,Q,z,C=!1)=>{const N=h&&h.children,ne=h?h.shapeFlag:0,G=b.children,{patchFlag:ie,shapeFlag:ce}=b;if(ie>0){if(ie&128){pe(N,G,O,I,M,W,Q,z,C);return}else if(ie&256){ue(N,G,O,I,M,W,Q,z,C);return}}ce&8?(ne&16&&B(N,M,W),G!==N&&u(O,G)):ne&16?ce&16?pe(N,G,O,I,M,W,Q,z,C):B(N,M,W,!0):(ne&8&&u(O,""),ce&16&&j(G,O,I,M,W,Q,z,C))},ue=(h,b,O,I,M,W,Q,z,C)=>{h=h||Rr,b=b||Rr;const N=h.length,ne=b.length,G=Math.min(N,ne);let ie;for(ie=0;ie<G;ie++){const ce=b[ie]=C?Tn(b[ie]):ht(b[ie]);_(h[ie],ce,O,null,M,W,Q,z,C)}N>ne?B(h,M,W,!0,!1,G):j(b,O,I,M,W,Q,z,C,G)},pe=(h,b,O,I,M,W,Q,z,C)=>{let N=0;const ne=b.length;let G=h.length-1,ie=ne-1;for(;N<=G&&N<=ie;){const ce=h[N],me=b[N]=C?Tn(b[N]):ht(b[N]);if(zt(ce,me))_(ce,me,O,null,M,W,Q,z,C);else break;N++}for(;N<=G&&N<=ie;){const ce=h[G],me=b[ie]=C?Tn(b[ie]):ht(b[ie]);if(zt(ce,me))_(ce,me,O,null,M,W,Q,z,C);else break;G--,ie--}if(N>G){if(N<=ie){const ce=ie+1,me=ce<ne?b[ce].el:I;for(;N<=ie;)_(null,b[N]=C?Tn(b[N]):ht(b[N]),O,me,M,W,Q,z,C),N++}}else if(N>ie)for(;N<=G;)Oe(h[N],M,W,!0),N++;else{const ce=N,me=N,ke=new Map;for(N=me;N<=ie;N++){const ct=b[N]=C?Tn(b[N]):ht(b[N]);ct.key!=null&&ke.set(ct.key,N)}let Le,Re=0;const Nt=ie-me+1;let Er=!1,$c=0;const ps=new Array(Nt);for(N=0;N<Nt;N++)ps[N]=0;for(N=ce;N<=G;N++){const ct=h[N];if(Re>=Nt){Oe(ct,M,W,!0);continue}let Bt;if(ct.key!=null)Bt=ke.get(ct.key);else for(Le=me;Le<=ie;Le++)if(ps[Le-me]===0&&zt(ct,b[Le])){Bt=Le;break}Bt===void 0?Oe(ct,M,W,!0):(ps[Bt-me]=N+1,Bt>=$c?$c=Bt:Er=!0,_(ct,b[Bt],O,null,M,W,Q,z,C),Re++)}const xc=Er?g1(ps):Rr;for(Le=xc.length-1,N=Nt-1;N>=0;N--){const ct=me+N,Bt=b[ct],Pc=ct+1<ne?b[ct+1].el:I;ps[N]===0?_(null,Bt,O,Pc,M,W,Q,z,C):Er&&(Le<0||N!==xc[Le]?ve(Bt,O,Pc,2):Le--)}}},ve=(h,b,O,I,M=null)=>{const{el:W,type:Q,transition:z,children:C,shapeFlag:N}=h;if(N&6){ve(h.component.subTree,b,O,I);return}if(N&128){h.suspense.move(b,O,I);return}if(N&64){Q.move(h,b,O,be);return}if(Q===xe){r(W,b,O);for(let G=0;G<C.length;G++)ve(C[G],b,O,I);r(h.anchor,b,O);return}if(Q===ar){m(h,b,O);return}if(I!==2&&N&1&&z)if(I===0)z.beforeEnter(W),r(W,b,O),We(()=>z.enter(W),M);else{const{leave:G,delayLeave:ie,afterLeave:ce}=z,me=()=>r(W,b,O),ke=()=>{G(W,()=>{me(),ce&&ce()})};ie?ie(W,me,ke):ke()}else r(W,b,O)},Oe=(h,b,O,I=!1,M=!1)=>{const{type:W,props:Q,ref:z,children:C,dynamicChildren:N,shapeFlag:ne,patchFlag:G,dirs:ie}=h;if(z!=null&&Ji(z,null,O,h,!0),ne&256){b.ctx.deactivate(h);return}const ce=ne&1&&ie,me=!Gr(h);let ke;if(me&&(ke=Q&&Q.onVnodeBeforeUnmount)&&nt(ke,b,h),ne&6)X(h.component,O,I);else{if(ne&128){h.suspense.unmount(O,I);return}ce&&Wt(h,null,b,"beforeUnmount"),ne&64?h.type.remove(h,b,O,M,be,I):N&&(W!==xe||G>0&&G&64)?B(N,b,O,!1,!0):(W===xe&&G&384||!M&&ne&16)&&B(C,b,O),I&&Ee(h)}(me&&(ke=Q&&Q.onVnodeUnmounted)||ce)&&We(()=>{ke&&nt(ke,b,h),ce&&Wt(h,null,b,"unmounted")},O)},Ee=h=>{const{type:b,el:O,anchor:I,transition:M}=h;if(b===xe){R(O,I);return}if(b===ar){k(h);return}const W=()=>{s(O),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(h.shapeFlag&1&&M&&!M.persisted){const{leave:Q,delayLeave:z}=M,C=()=>Q(O,W);z?z(h.el,W,C):C()}else W()},R=(h,b)=>{let O;for(;h!==b;)O=d(h),s(h),h=O;s(b)},X=(h,b,O)=>{const{bum:I,scope:M,update:W,subTree:Q,um:z}=h;I&&Dr(I),M.stop(),W&&(W.active=!1,Oe(Q,h,b,O)),z&&We(z,b),We(()=>{h.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},B=(h,b,O,I=!1,M=!1,W=0)=>{for(let Q=W;Q<h.length;Q++)Oe(h[Q],b,O,I,M)},te=h=>h.shapeFlag&6?te(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),ge=(h,b,O)=>{h==null?b._vnode&&Oe(b._vnode,null,null,!0):_(b._vnode||null,h,b,null,null,null,O),qi(),b._vnode=h},be={p:_,um:Oe,m:ve,r:Ee,mt:P,mc:j,pc:le,pbc:J,n:te,o:e};let y,w;return t&&([y,w]=t(be)),{render:ge,hydrate:y,createApp:m1(ge,y)}}function Kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nc(e,t,n=!1){const r=e.children,s=t.children;if(ae(r)&&ae(s))for(let i=0;i<r.length;i++){const o=r[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=Tn(s[i]),a.el=o.el),n||nc(o,a))}}function g1(e){const t=e.slice(),n=[0];let r,s,i,o,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<c?i=a+1:o=a;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const _1=e=>e.__isTeleport,js=e=>e&&(e.disabled||e.disabled===""),Qu=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,ja=(e,t)=>{const n=e&&e.to;return Fe(n)?t?t(n):null:n},v1={__isTeleport:!0,process(e,t,n,r,s,i,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:T,createText:A,createComment:_}}=c,p=js(t.props);let{shapeFlag:v,children:E,dynamicChildren:m}=t;if(e==null){const k=t.el=A(""),$=t.anchor=A("");g(k,n,r),g($,n,r);const L=t.target=ja(t.props,T),H=t.targetAnchor=A("");L&&(g(H,L),o=o||Qu(L));const j=(Y,J)=>{v&16&&u(E,Y,J,s,i,o,a,l)};p?j(n,$):L&&j(L,H)}else{t.el=e.el;const k=t.anchor=e.anchor,$=t.target=e.target,L=t.targetAnchor=e.targetAnchor,H=js(e.props),j=H?n:$,Y=H?k:L;if(o=o||Qu($),m?(d(e.dynamicChildren,m,j,s,i,o,a),nc(e,t,!0)):l||f(e,t,j,Y,s,i,o,a,!1),p)H||Oi(t,n,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const J=t.target=ja(t.props,T);J&&Oi(t,J,null,c,0)}else H&&Oi(t,$,L,c,1)}},remove(e,t,n,r,{um:s,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&i(u),(o||!js(d))&&(i(c),a&16))for(let g=0;g<l.length;g++){const T=l[g];s(T,t,n,!0,!!T.dynamicChildren)}},move:Oi,hydrate:b1};function Oi(e,t,n,{o:{insert:r},m:s},i=2){i===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=e,f=i===2;if(f&&r(o,t,n),(!f||js(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function b1(e,t,n,r,s,i,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=ja(t.props,l);if(u){const f=u._lpa||u.firstChild;t.shapeFlag&16&&(js(t.props)?(t.anchor=c(o(e),t,a(e),n,r,s,i),t.targetAnchor=f):(t.anchor=o(e),t.targetAnchor=c(f,t,u,n,r,s,i)),u._lpa=t.targetAnchor&&o(t.targetAnchor))}return t.anchor&&o(t.anchor)}const Ro=v1,rc="components",y1="directives";function Ce(e,t){return ic(rc,e,!0,t)||e}const dm=Symbol();function sc(e){return Fe(e)?ic(rc,e,!1)||e:e||dm}function E1(e){return ic(y1,e)}function ic(e,t,n=!0,r=!1){const s=Ge||Ve;if(s){const i=s.type;if(e===rc){const a=eo(i);if(a&&(a===t||a===vt(t)||a===ai(vt(t))))return i}const o=Zu(s[e]||i[e],t)||Zu(s.appContext[e],t);return!o&&r?i:o}}function Zu(e,t){return e&&(e[t]||e[vt(t)]||e[ai(vt(t))])}const xe=Symbol(void 0),Xr=Symbol(void 0),Ye=Symbol(void 0),ar=Symbol(void 0),Vs=[];let Xt=null;function V(e=!1){Vs.push(Xt=e?null:[])}function hm(){Vs.pop(),Xt=Vs[Vs.length-1]||null}let Jr=1;function Va(e){Jr+=e}function mm(e){return e.dynamicChildren=Jr>0?Xt||Rr:null,hm(),Jr>0&&Xt&&Xt.push(e),e}function q(e,t,n,r,s,i){return mm(S(e,t,n,r,s,i,!0))}function Je(e,t,n,r,s){return mm(se(e,t,n,r,s,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function zt(e,t){return e.type===t.type&&e.key===t.key}function w1(e){}const Mo="__vInternal",pm=({key:e})=>e!=null?e:null,Mi=({ref:e,ref_key:t,ref_for:n})=>e!=null?Fe(e)||je(e)||de(e)?{i:Ge,r:e,k:t,f:!!n}:e:null;function S(e,t=null,n=null,r=0,s=null,i=e===xe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pm(t),ref:t&&Mi(t),scopeId:No,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:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(oc(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Fe(n)?8:16),Jr>0&&!o&&Xt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Xt.push(l),l}const se=T1;function T1(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===dm)&&(e=Ye),Pn(e)){const a=fn(e,t,!0);return n&&oc(a,n),a}if(R1(e)&&(e=e.__vccOpts),t){t=rt(t);let{class:a,style:l}=t;a&&!Fe(a)&&(t.class=Pe(a)),Be(l)&&(Co(l)&&!ae(l)&&(l=He({},l)),t.style=Ke(l))}const o=Fe(e)?1:V0(e)?128:_1(e)?64:Be(e)?4:de(e)?2:0;return S(e,t,n,r,s,o,i,!0)}function rt(e){return e?Co(e)||Mo in e?He({},e):e:null}function fn(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?Rt(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&pm(a),ref:t&&t.ref?n&&s?ae(s)?s.concat(Mi(t)):[s,Mi(t)]:Mi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fn(e.ssContent),ssFallback:e.ssFallback&&fn(e.ssFallback),el:e.el,anchor:e.anchor}}function De(e=" ",t=0){return se(Xr,null,e,t)}function gm(e,t){const n=se(ar,null,e);return n.staticCount=t,n}function Ne(e="",t=!1){return t?(V(),Je(Ye,null,e)):se(Ye,null,e)}function ht(e){return e==null||typeof e=="boolean"?se(Ye):ae(e)?se(xe,null,e.slice()):typeof e=="object"?Tn(e):se(Xr,null,String(e))}function Tn(e){return e.el===null||e.memo?e:fn(e)}function oc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),oc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Mo in t)?t._ctx=Ge:s===3&&Ge&&(Ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else de(t)?(t={default:t,_ctx:Ge},n=32):(t=String(t),r&64?(n=16,t=[De(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rt(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Pe([t.class,r.class]));else if(s==="style")t.style=Ke([t.style,r.style]);else if(oi(s)){const i=t[s],o=r[s];o&&i!==o&&!(ae(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function nt(e,t,n,r=null){pt(e,t,7,[n,r])}function Zt(e,t,n,r){let s;const i=n&&n[r];if(ae(e)||Fe(e)){s=new Array(e.length);for(let o=0,a=e.length;o<a;o++)s[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){s=new Array(e);for(let o=0;o<e;o++)s[o]=t(o+1,o,void 0,i&&i[o])}else if(Be(e))if(e[Symbol.iterator])s=Array.from(e,(o,a)=>t(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];s[a]=t(e[c],c,a,i&&i[a])}}else s=[];return n&&(n[r]=s),s}function S1(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ae(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.fn)}return e}function ac(e,t,n={},r,s){if(Ge.isCE||Ge.parent&&Gr(Ge.parent)&&Ge.parent.isCE)return se("slot",t==="default"?null:{name:t},r&&r());let i=e[t];i&&i._c&&(i._d=!1),V();const o=i&&_m(i(n)),a=Je(xe,{key:n.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function _m(e){return e.some(t=>Pn(t)?!(t.type===Ye||t.type===xe&&!_m(t.children)):!0)?e:null}function C1(e){const t={};for(const n in e)t[Rs(n)]=e[n];return t}const Ua=e=>e?bm(e)?Do(e)||e.proxy:Ua(e.parent):null,Qi=He(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ua(e.parent),$root:e=>Ua(e.root),$emit:e=>e.emit,$options:e=>nm(e),$forceUpdate:e=>()=>ql(e.update),$nextTick:e=>Oo.bind(e.proxy),$watch:e=>J0.bind(e)}),Wa={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(r!==Ae&&we(r,t))return o[t]=1,r[t];if(s!==Ae&&we(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&we(c,t))return o[t]=3,i[t];if(n!==Ae&&we(n,t))return o[t]=4,n[t];Fa&&(o[t]=0)}}const u=Qi[t];let f,d;if(u)return t==="$attrs"&&bt(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ae&&we(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,we(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return s!==Ae&&we(s,t)?(s[t]=n,!0):r!==Ae&&we(r,t)?(r[t]=n,!0):we(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==Ae&&we(e,o)||t!==Ae&&we(t,o)||(a=i[0])&&we(a,o)||we(r,o)||we(Qi,o)||we(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:we(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},A1=He({},Wa,{get(e,t){if(t!==Symbol.unscopables)return Wa.get(e,t,e)},has(e,t){return t[0]!=="_"&&!ky(t)}}),k1=lm();let O1=0;function vm(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||k1,i={uid:O1++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Hl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:sm(r,s),emitsOptions:jh(r,s),emit:null,emitted:null,propsDefaults:Ae,inheritAttrs:r.inheritAttrs,ctx:Ae,data:Ae,props:Ae,attrs:Ae,slots:Ae,refs:Ae,setupState:Ae,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=M0.bind(null,i),e.ce&&e.ce(i),i}let Ve=null;const Lt=()=>Ve||Ge,In=e=>{Ve=e,e.scope.on()},kn=()=>{Ve&&Ve.scope.off(),Ve=null};function bm(e){return e.vnode.shapeFlag&4}let Qr=!1;function ym(e,t=!1){Qr=t;const{props:n,children:r}=e.vnode,s=bm(e);l1(e,n,s,t),f1(e,r);const i=s?L1(e,t):void 0;return Qr=!1,i}function L1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ao(new Proxy(e.ctx,Wa));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?wm(e):null;In(e),pr();const i=qt(r,e,0,[e.props,s]);if(gr(),kn(),Dl(i)){if(i.then(kn,kn),t)return i.then(o=>{za(e,o,t)}).catch(o=>{_r(o,e,0)});e.asyncDep=i}else za(e,i,t)}else Em(e,t)}function za(e,t,n){de(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=Kl(t)),Em(e,n)}let Zi,Ka;function N1(e){Zi=e,Ka=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,A1))}}const $1=()=>!Zi;function Em(e,t,n){const r=e.type;if(!e.render){if(!t&&Zi&&!r.render){const s=r.template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=He(He({isCustomElement:i,delimiters:a},o),l);r.render=Zi(s,c)}}e.render=r.render||It,Ka&&Ka(e)}In(e),pr(),r1(e),gr(),kn()}function x1(e){return new Proxy(e.attrs,{get(t,n){return bt(e,"get","$attrs"),t[n]}})}function wm(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=x1(e))},slots:e.slots,emit:e.emit,expose:t}}function Do(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kl(Ao(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qi)return Qi[n](e)}}))}const P1=/(?:^|[-_])(\w)/g,I1=e=>e.replace(P1,t=>t.toUpperCase()).replace(/[-_]/g,"");function eo(e){return de(e)&&e.displayName||e.name}function Tm(e,t,n=!1){let r=eo(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=i=>{for(const o in i)if(i[o]===t)return o};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?I1(r):n?"App":"Anonymous"}function R1(e){return de(e)&&"__vccOpts"in e}const St=(e,t)=>k0(e,t,Qr);function M1(){return null}function D1(){return null}function F1(e){}function H1(e,t){return null}function B1(){return Sm().slots}function j1(){return Sm().attrs}function Sm(){const e=Lt();return e.setupContext||(e.setupContext=wm(e))}function V1(e,t){const n=ae(e)?e.reduce((r,s)=>(r[s]={},r),{}):e;for(const r in t){const s=n[r];s?ae(s)||de(s)?n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(n[r]={default:t[r]})}return n}function U1(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function W1(e){const t=Lt();let n=e();return kn(),Dl(n)&&(n=n.catch(r=>{throw In(t),r})),[n,()=>In(t)]}function Hn(e,t,n){const r=arguments.length;return r===2?Be(t)&&!ae(t)?Pn(t)?se(e,null,[t]):se(e,t):se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),se(e,t,n))}const Cm=Symbol(""),z1=()=>{{const e=Gt(Cm);return e||Ih("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function K1(){}function Y1(e,t,n,r){const s=n[r];if(s&&Am(s,e))return s;const i=t();return i.memo=e.slice(),n[r]=i}function Am(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(n[r]!==t[r])return!1;return Jr>0&&Xt&&Xt.push(e),!0}const km="3.2.33",q1={createComponentInstance:vm,setupComponent:ym,renderComponentRoot:Ri,setCurrentRenderingInstance:Js,isVNode:Pn,normalizeVNode:ht},G1=q1,X1=null,J1=null,Q1="http://www.w3.org/2000/svg",Qn=typeof document!="undefined"?document:null,ef=Qn&&Qn.createElement("template"),Z1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?Qn.createElementNS(Q1,e):Qn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Qn.createTextNode(e),createComment:e=>Qn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{ef.innerHTML=r?`<svg>${e}</svg>`:e;const a=ef.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function eE(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function tE(e,t,n){const r=e.style,s=Fe(n);if(n&&!s){for(const i in n)Ya(r,i,n[i]);if(t&&!Fe(t))for(const i in t)n[i]==null&&Ya(r,i,"")}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const tf=/\s*!important$/;function Ya(e,t,n){if(ae(n))n.forEach(r=>Ya(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=nE(e,t);tf.test(n)?e.setProperty(Yt(r),n.replace(tf,""),"important"):e[r]=n}}const nf=["Webkit","Moz","ms"],ha={};function nE(e,t){const n=ha[t];if(n)return n;let r=vt(t);if(r!=="filter"&&r in e)return ha[t]=r;r=ai(r);for(let s=0;s<nf.length;s++){const i=nf[s]+r;if(i in e)return ha[t]=i}return t}const rf="http://www.w3.org/1999/xlink";function rE(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(rf,t.slice(6,t.length)):e.setAttributeNS(rf,t,n);else{const i=Ly(t);n==null||i&&!hh(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function sE(e,t,n,r,s,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,s,i),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=hh(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}const[Om,iE]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let qa=0;const oE=Promise.resolve(),aE=()=>{qa=0},lE=()=>qa||(oE.then(aE),qa=Om());function on(e,t,n,r){e.addEventListener(t,n,r)}function cE(e,t,n,r){e.removeEventListener(t,n,r)}function uE(e,t,n,r,s=null){const i=e._vei||(e._vei={}),o=i[t];if(r&&o)o.value=r;else{const[a,l]=fE(t);if(r){const c=i[t]=dE(r,s);on(e,a,c,l)}else o&&(cE(e,a,o,l),i[t]=void 0)}}const sf=/(?:Once|Passive|Capture)$/;function fE(e){let t;if(sf.test(e)){t={};let n;for(;n=e.match(sf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Yt(e.slice(2)),t]}function dE(e,t){const n=r=>{const s=r.timeStamp||Om();(iE||s>=n.attached-1)&&pt(hE(r,n.value),t,5,[r])};return n.value=e,n.attached=lE(),n}function hE(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const of=/^on[a-z]/,mE=(e,t,n,r,s=!1,i,o,a,l)=>{t==="class"?eE(e,r,s):t==="style"?tE(e,n,r):oi(t)?Il(t)||uE(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pE(e,t,r,s))?sE(e,t,r,i,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),rE(e,t,r,s))};function pE(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&of.test(t)&&de(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||of.test(t)&&Fe(n)?!1:t in e}function Lm(e,t){const n=us(e);class r extends Fo{constructor(i){super(n,i,t)}}return r.def=n,r}const gE=e=>Lm(e,jm),_E=typeof HTMLElement!="undefined"?HTMLElement:class{};class Fo extends _E{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Oo(()=>{this._connected||(Xa(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=r=>{const{props:s,styles:i}=r,o=!ae(s),a=s?o?Object.keys(s):s:[];let l;if(o)for(const c in this._props){const u=s[c];(u===Number||u&&u.type===Number)&&(this._props[c]=$n(this._props[c]),(l||(l=Object.create(null)))[c]=!0)}this._numberProps=l;for(const c of Object.keys(this))c[0]!=="_"&&this._setProp(c,this[c],!0,!1);for(const c of a.map(vt))Object.defineProperty(this,c,{get(){return this._getProp(c)},set(u){this._setProp(c,u)}});this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=$n(n)),this._setProp(vt(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Yt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Yt(t),n+""):n||this.removeAttribute(Yt(t))))}_update(){Xa(this._createVNode(),this.shadowRoot)}_createVNode(){const t=se(this._def,He({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(s,...i)=>{this.dispatchEvent(new CustomEvent(s,{detail:i}))};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof Fo){n.parent=r._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function vE(e="$style"){{const t=Lt();if(!t)return Ae;const n=t.type.__cssModules;if(!n)return Ae;const r=n[e];return r||Ae}}function bE(e){const t=Lt();if(!t)return;const n=()=>Ga(t.subTree,e(t.proxy));Uh(n),fi(()=>{const r=new MutationObserver(n);r.observe(t.subTree.el.parentNode,{childList:!0}),di(()=>r.disconnect())})}function Ga(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ga(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)af(e.el,t);else if(e.type===xe)e.children.forEach(n=>Ga(n,t));else if(e.type===ar){let{el:n,anchor:r}=e;for(;n&&(af(n,t),n!==r);)n=n.nextSibling}}function af(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const vn="transition",ws="animation",lc=(e,{slots:t})=>Hn(ec,$m(e),t);lc.displayName="Transition";const Nm={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},yE=lc.props=He({},ec.props,Nm),Yn=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},lf=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function $m(e){const t={};for(const F in e)F in Nm||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,T=EE(s),A=T&&T[0],_=T&&T[1],{onBeforeEnter:p,onEnter:v,onEnterCancelled:E,onLeave:m,onLeaveCancelled:k,onBeforeAppear:$=p,onAppear:L=v,onAppearCancelled:H=E}=t,j=(F,re,x)=>{Xn(F,re?u:a),Xn(F,re?c:o),x&&x()},Y=(F,re)=>{Xn(F,g),Xn(F,d),re&&re()},J=F=>(re,x)=>{const P=F?L:v,Z=()=>j(re,F,x);Yn(P,[re,Z]),cf(()=>{Xn(re,F?l:i),rn(re,F?u:a),lf(P)||uf(re,r,A,Z)})};return He(t,{onBeforeEnter(F){Yn(p,[F]),rn(F,i),rn(F,o)},onBeforeAppear(F){Yn($,[F]),rn(F,l),rn(F,c)},onEnter:J(!1),onAppear:J(!0),onLeave(F,re){const x=()=>Y(F,re);rn(F,f),Pm(),rn(F,d),cf(()=>{Xn(F,f),rn(F,g),lf(m)||uf(F,r,_,x)}),Yn(m,[F,x])},onEnterCancelled(F){j(F,!1),Yn(E,[F])},onAppearCancelled(F){j(F,!0),Yn(H,[F])},onLeaveCancelled(F){Y(F),Yn(k,[F])}})}function EE(e){if(e==null)return null;if(Be(e))return[ma(e.enter),ma(e.leave)];{const t=ma(e);return[t,t]}}function ma(e){return $n(e)}function rn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Xn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function cf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let wE=0;function uf(e,t,n,r){const s=e._endId=++wE,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=xm(e,t);if(!o)return r();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=g=>{g.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function xm(e,t){const n=window.getComputedStyle(e),r=T=>(n[T]||"").split(", "),s=r(vn+"Delay"),i=r(vn+"Duration"),o=ff(s,i),a=r(ws+"Delay"),l=r(ws+"Duration"),c=ff(a,l);let u=null,f=0,d=0;t===vn?o>0&&(u=vn,f=o,d=i.length):t===ws?c>0&&(u=ws,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?vn:ws:null,d=u?u===vn?i.length:l.length:0);const g=u===vn&&/\b(transform|all)(,|$)/.test(n[vn+"Property"]);return{type:u,timeout:f,propCount:d,hasTransform:g}}function ff(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>df(n)+df(e[r])))}function df(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Pm(){return document.body.offsetHeight}const Im=new WeakMap,Rm=new WeakMap,TE={name:"TransitionGroup",props:He({},yE,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Lt(),r=Zl();let s,i;return Po(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!OE(s[0].el,n.vnode.el,o))return;s.forEach(CE),s.forEach(AE);const a=s.filter(kE);Pm(),a.forEach(l=>{const c=l.el,u=c.style;rn(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,Xn(c,o))};c.addEventListener("transitionend",f)})}),()=>{const o=ye(e),a=$m(o);let l=o.tag||xe;s=i,i=t.default?$o(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&fr(u,qr(u,a,r,n))}if(s)for(let c=0;c<s.length;c++){const u=s[c];fr(u,qr(u,a,r,n)),Im.set(u,u.el.getBoundingClientRect())}return se(l,null,i)}}},SE=TE;function CE(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function AE(e){Rm.set(e,e.el.getBoundingClientRect())}function kE(e){const t=Im.get(e),n=Rm.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${s}px)`,i.transitionDuration="0s",e}}function OE(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&r.classList.add(o)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=xm(r);return s.removeChild(r),i}const Rn=e=>{const t=e.props["onUpdate:modelValue"];return ae(t)?n=>Dr(t,n):t};function LE(e){e.target.composing=!0}function hf(e){const t=e.target;t.composing&&(t.composing=!1,NE(t,"input"))}function NE(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const Zs={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Rn(s);const i=r||s.props&&s.props.type==="number";on(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n?a=a.trim():i&&(a=$n(a)),e._assign(a)}),n&&on(e,"change",()=>{e.value=e.value.trim()}),t||(on(e,"compositionstart",LE),on(e,"compositionend",hf),on(e,"change",hf))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},i){if(e._assign=Rn(i),e.composing||document.activeElement===e&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&$n(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},cc={deep:!0,created(e,t,n){e._assign=Rn(n),on(e,"change",()=>{const r=e._modelValue,s=Zr(e),i=e.checked,o=e._assign;if(ae(r)){const a=vo(r,s),l=a!==-1;if(i&&!l)o(r.concat(s));else if(!i&&l){const c=[...r];c.splice(a,1),o(c)}}else if(mr(r)){const a=new Set(r);i?a.add(s):a.delete(s),o(a)}else o(Mm(e,i))})},mounted:mf,beforeUpdate(e,t,n){e._assign=Rn(n),mf(e,t,n)}};function mf(e,{value:t,oldValue:n},r){e._modelValue=t,ae(t)?e.checked=vo(t,r.props.value)>-1:mr(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Nn(t,Mm(e,!0)))}const uc={created(e,{value:t},n){e.checked=Nn(t,n.props.value),e._assign=Rn(n),on(e,"change",()=>{e._assign(Zr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Rn(r),t!==n&&(e.checked=Nn(t,r.props.value))}},fc={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=mr(t);on(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?$n(Zr(o)):Zr(o));e._assign(e.multiple?s?new Set(i):i:i[0])}),e._assign=Rn(r)},mounted(e,{value:t}){pf(e,t)},beforeUpdate(e,t,n){e._assign=Rn(n)},updated(e,{value:t}){pf(e,t)}};function pf(e,t){const n=e.multiple;if(!(n&&!ae(t)&&!mr(t))){for(let r=0,s=e.options.length;r<s;r++){const i=e.options[r],o=Zr(i);if(n)ae(t)?i.selected=vo(t,o)>-1:i.selected=t.has(o);else if(Nn(Zr(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Zr(e){return"_value"in e?e._value:e.value}function Mm(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const $E={created(e,t,n){Li(e,t,n,null,"created")},mounted(e,t,n){Li(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Li(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Li(e,t,n,r,"updated")}};function Li(e,t,n,r,s){let i;switch(e.tagName){case"SELECT":i=fc;break;case"TEXTAREA":i=Zs;break;default:switch(n.props&&n.props.type){case"checkbox":i=cc;break;case"radio":i=uc;break;default:i=Zs}}const o=i[s];o&&o(e,t,n,r)}function xE(){Zs.getSSRProps=({value:e})=>({value:e}),uc.getSSRProps=({value:e},t)=>{if(t.props&&Nn(t.props.value,e))return{checked:!0}},cc.getSSRProps=({value:e},t)=>{if(ae(e)){if(t.props&&vo(e,t.props.value)>-1)return{checked:!0}}else if(mr(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}}}const PE=["ctrl","shift","alt","meta"],IE={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>PE.some(n=>e[`${n}Key`]&&!t.includes(n))},Dm=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const i=IE[t[s]];if(i&&i(n,t))return}return e(n,...r)},RE={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ME=(e,t)=>n=>{if(!("key"in n))return;const r=Yt(n.key);if(t.some(s=>s===r||RE[s]===r))return e(n)},dc={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ts(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ts(e,!0),r.enter(e)):r.leave(e,()=>{Ts(e,!1)}):Ts(e,t))},beforeUnmount(e,{value:t}){Ts(e,t)}};function Ts(e,t){e.style.display=t?e._vod:"none"}function DE(){dc.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Fm=He({patchProp:mE},Z1);let Us,gf=!1;function Hm(){return Us||(Us=cm(Fm))}function Bm(){return Us=gf?Us:um(Fm),gf=!0,Us}const Xa=(...e)=>{Hm().render(...e)},jm=(...e)=>{Bm().hydrate(...e)},Vm=(...e)=>{const t=Hm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Um(r);if(!s)return;const i=t._component;!de(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},FE=(...e)=>{const t=Bm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Um(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Um(e){return Fe(e)?document.querySelector(e):e}let _f=!1;const HE=()=>{_f||(_f=!0,xE(),DE())},BE=()=>{};var jE=Object.freeze(Object.defineProperty({__proto__:null,compile:BE,EffectScope:Hl,ReactiveEffect:li,customRef:T0,effect:Ky,effectScope:jy,getCurrentScope:Vy,isProxy:Co,isReactive:ir,isReadonly:Yr,isRef:je,isShallow:Ul,markRaw:Ao,onScopeDispose:Uy,proxyRefs:Kl,reactive:Fn,readonly:Vl,ref:Ms,shallowReactive:Nh,shallowReadonly:v0,shallowRef:$h,stop:Yy,toRaw:ye,toRef:Ph,toRefs:S0,triggerRef:y0,unref:Fr,camelize:vt,capitalize:ai,normalizeClass:Pe,normalizeProps:dt,normalizeStyle:Ke,toDisplayString:K,toHandlerKey:Rs,BaseTransition:ec,Comment:Ye,Fragment:xe,KeepAlive:t1,Static:ar,Suspense:W0,Teleport:Ro,Text:Xr,callWithAsyncErrorHandling:pt,callWithErrorHandling:qt,cloneVNode:fn,compatUtils:J1,computed:St,createBlock:Je,createCommentVNode:Ne,createElementBlock:q,createElementVNode:S,createHydrationRenderer:um,createPropsRestProxy:U1,createRenderer:cm,createSlots:S1,createStaticVNode:gm,createTextVNode:De,createVNode:se,defineAsyncComponent:Z0,defineComponent:us,defineEmits:D1,defineExpose:F1,defineProps:M1,get devtools(){return Nr},getCurrentInstance:Lt,getTransitionRawChildren:$o,guardReactiveProps:rt,h:Hn,handleError:_r,initCustomFormatter:K1,inject:Gt,isMemoSame:Am,isRuntimeOnly:$1,isVNode:Pn,mergeDefaults:V1,mergeProps:Rt,nextTick:Oo,onActivated:Kh,onBeforeMount:Gh,onBeforeUnmount:Io,onBeforeUpdate:Xh,onDeactivated:Yh,onErrorCaptured:em,onMounted:fi,onRenderTracked:Zh,onRenderTriggered:Qh,onServerPrefetch:Jh,onUnmounted:di,onUpdated:Po,openBlock:V,popScopeId:Ht,provide:Bs,pushScopeId:Ft,queuePostFlushCb:Gl,registerRuntimeCompiler:N1,renderList:Zt,renderSlot:ac,resolveComponent:Ce,resolveDirective:E1,resolveDynamicComponent:sc,resolveFilter:X1,resolveTransitionHooks:qr,setBlockTracking:Va,setDevtoolsHook:Bh,setTransitionHooks:fr,ssrContextKey:Cm,ssrUtils:G1,toHandlers:C1,transformVNodeArgs:w1,useAttrs:j1,useSSRContext:z1,useSlots:B1,useTransitionState:Zl,version:km,warn:Ih,watch:or,watchEffect:G0,watchPostEffect:Uh,watchSyncEffect:X0,withAsyncContext:W1,withCtx:wt,withDefaults:H1,withDirectives:Xi,withMemo:Y1,withScopeId:D0,Transition:lc,TransitionGroup:SE,VueElement:Fo,createApp:Vm,createSSRApp:FE,defineCustomElement:Lm,defineSSRCustomElement:gE,hydrate:jm,initDirectivesForSSR:HE,render:Xa,useCssModule:vE,useCssVars:bE,vModelCheckbox:cc,vModelDynamic:$E,vModelRadio:uc,vModelSelect:fc,vModelText:Zs,vShow:dc,withKeys:ME,withModifiers:Dm},Symbol.toStringTag,{value:"Module"}));/**
|
|
* vue-meta v3.0.0-alpha.10
|
|
* (c) 2022
|
|
* - Pim (@pimlie)
|
|
* - All the amazing contributors
|
|
* @license MIT
|
|
*/const VE=(e,t)=>(n,r)=>{let s=-1;if(r.reduce((i,o,a)=>{const l=e(i,o);return l!==i?(s=a,l):i},t),s>-1)return n[s]},UE=e=>{let t=0;if(e.vm){let{vm:n}=e;do n.parent&&(t++,n=n.parent);while(n&&n.parent&&n!==n.root)}e.depth=t},WE=VE((e,t)=>{const{depth:n}=t;return!e||n>e?n:e});var zE=Object.freeze({__proto__:null,setup:UE,resolve:WE});const KE={body:{tag:"script",to:"body"},base:{valueAttribute:"href"},charset:{tag:"meta",nameless:!0,valueAttribute:"charset"},description:{tag:"meta"},og:{group:!0,namespacedAttribute:!0,tag:"meta",keyAttribute:"property"},twitter:{group:!0,namespacedAttribute:!0,tag:"meta"},htmlAttrs:{attributesFor:"html"},headAttrs:{attributesFor:"head"},bodyAttrs:{attributesFor:"body"}},YE={title:{attributes:!1},base:{contentAsAttribute:!0,attributes:["href","target"]},meta:{contentAsAttribute:!0,keyAttribute:"name",attributes:["content","name","http-equiv","charset"]},link:{contentAsAttribute:!0,attributes:["href","crossorigin","rel","media","integrity","hreflang","type","referrerpolicy","sizes","imagesrcset","imagesizes","as","color"]},style:{attributes:["media"]},script:{attributes:["src","type","nomodule","async","defer","crossorigin","integrity","referrerpolicy"]},noscript:{attributes:!1}};function qE(e,t){for(const n of e){const r=YE[n];if(n&&r)return r[t]}}Object.freeze({});Object.freeze([]);const At=Array.isArray,Ws=e=>typeof e=="function",vf=e=>typeof e=="string",Ho=e=>e!==null&&typeof e=="object",GE=Object.prototype.toString,XE=e=>GE.call(e),zs=e=>XE(e)==="[object Object]",bf=Symbol("kIsProxy"),JE=Symbol("kProxySources"),Wm=Symbol("kProxyTarget"),$r=Symbol("kResolveContext");function ei(e){if(At(e))return e.map(ei);if(Ho(e)){const t={};for(const n in e)n==="context"?t[n]=e[n]:t[n]=ei(e[n]);return t}return e}const Di=(e,t,n)=>{const r=[];for(const s of e)s&&t in s&&(r.push(s[t]),n&&n(s));return r},QE=(e,...t)=>{const n=e?Object.keys(e):[];if(t){for(const r of t)if(!(!r||!Ho(r)))for(const s in r)n.includes(s)||n.push(s)}return n},to=(e,t=[],n,r)=>{if(!n&&!r&&({active:n,sources:r}=e,t.length))for(let a=0;a<t.length;a++){const l=t[a];if(!n||!n[l]){console.error(`recompute: segment ${l} not found on target`,t,n);return}n=n[l],r=r.map(c=>c[l]).filter(Boolean)}if(!n||!r)return;const i=QE(...r),o=Object.keys(n);for(const a of o)i.includes(a)||delete n[a];for(const a of i){let l=!1;for(let d=0;d<r.length;d++){const g=r[d];if(g&&a in g&&g[a]!==void 0){l=zs(g[a]);break}}if(l){n[a]||(n[a]={});const d=[];for(const g of r)a in g&&d.push(g[a]);to(e,[...t,a],n[a],d);continue}!n[a]&&At(r[0][a])&&(n[a]=[]);const c=[],u=Di(r,a,d=>c.push(d[$r]));let f=e.resolve(u,c,n[a],a,t);zs(f)&&(f=ei(f)),n[a]=f}},zm=(e,t,n,r=[])=>{const s=ZE(e,n,r),i=Ao(new Proxy(t,s));return!r.length&&e.sources&&e.sources.push(i),i},ZE=(e,t,n=[])=>({get:(r,s,i)=>{if(s===bf)return!0;if(s===JE)return e.sources;if(s===Wm)return r;if(s===$r)return t;let o=Reflect.get(r,s,i);if(!Ho(o))return o;if(!o[bf]){const a=[...n,s];o=zm(e,o,t,a),Reflect.set(r,s,o)}return o},set:(r,s,i)=>{const o=Reflect.set(r,s,i);if(o){const a=At(r);let l=!1,{sources:c,active:u}=e,f,d=0;for(const _ of n){if(c=Di(c,_),a&&d===n.length-1){f=_;break}At(u)&&(l=!0),u=u[_],d++}if(l)return to(e),o;if(zs(i))return to(e,n),o;let g=[],T;a?(T=c,g=c.map(_=>_[$r])):T=Di(c,s,_=>g.push(_[$r]));let A=e.resolve(T,g,u,s,n);zs(A)&&(A=ei(A)),a&&f?u[f]=A:u[s]=A}return o},deleteProperty:(r,s)=>{const i=Reflect.deleteProperty(r,s);if(i){const o=At(r);let a,l=e.sources,c=e.active,u=0;for(const f of n){if(l=l.map(d=>d&&d[f]),o&&u===n.length-1){a=f;break}c=c[f],u++}if(l.some(f=>f&&s in f)){let f=[],d;o?(d=l,f=l.map(T=>T[$r])):d=Di(l,s,T=>f.push(T[$r]));let g=e.resolve(d,f,c,s,n);zs(g)&&(g=ei(g)),o&&a?c[a]=g:c[s]=g}else delete c[s]}return i}}),ew=(e,t)=>{const n=[],r={active:t,resolve:e,sources:n},s=()=>to(r);return{context:r,compute:s,addSource:(i,o,a=!1)=>{const l=zm(r,i,o||{});return a&&s(),l},delSource:(i,o=!0)=>{const a=n.findIndex(l=>l===i||l[Wm]===i);return a>-1?(n.splice(a,1),o&&s(),!0):!1}}},pa={};function tw(e,t,n,r){return"attributesFor"in r?rw(e,t,n,r):"group"in r?nw(e,t,n,r):no(e,t,n,r)}function nw(e,t,n,r){return At(n)?(console.warn("Specifying an array for group properties isnt supported"),[]):Object.keys(n).map(s=>{const i={group:t,data:n};if(r.namespaced)i.tagNamespace=r.namespaced===!0?t:r.namespaced;else if(r.namespacedAttribute){const o=r.namespacedAttribute===!0?t:r.namespacedAttribute;i.fullName=`${o}:${s}`,i.slotName=`${o}(${s})`}return no(e,t,n[s],r,i)}).filter(Boolean).flat()}function no(e,t,n,r={},s){const i=["content","json","rawContent"],o=_=>qE([a,r.tag],_);if(At(n))return n.map(_=>no(e,t,_,r,s)).filter(Boolean).flat();const{tag:a=r.tag||t}=n;let l="",c=!1,u=!1;if(vf(n))l=n;else if(n.children&&At(n.children))c=!0,l=n.children.map(_=>{const p=no(e,t,_,r,s);return At(p)?p.map(({vnode:v})=>v):p&&p.vnode});else{let _=0;for(const p of i){if(!l&&n[p]){_===1?l=JSON.stringify(n[p]):l=n[p],u=_>1;break}_++}}const f=s&&s.fullName||t,d=s&&s.slotName||t;let{attrs:g}=n;if(!g&&typeof n=="object"){g=he({},n),delete g.tag,delete g.children,delete g.to;for(const _ of i)delete g[_]}else g||(g={});if(c)l=Fi(e,d,l,n);else{const _=!!o("contentAsAttribute");let{valueAttribute:p}=r;if(!p&&_){const[v]=o("attributes");p=vf(_)?_:v}if(!p)l=Fi(e,d,l,n);else{const{nameless:v}=r;if(!v){const E=r.keyAttribute||o("keyAttribute");E&&(g[E]=f)}g[p]=Fi(e,d,g[p]||l,s),l=""}}const T=s&&s.tagNamespace?`${s.tagNamespace}:${a}`:a;if(T==="title"&&!e.isSSR){document.title=l;return}u&&l&&(g.innerHTML=l);const A=Hn(T,g,l||void 0);return{to:n.to,vnode:A}}function rw(e,t,n,r){const{attributesFor:s}=r;if(!s||!n)return;if(e.isSSR)return{to:"",vnode:Hn(`ssr-${s}`,n)};if(!pa[s]){const[l,c]=Array.from(document.querySelectorAll(s));if(!l){console.error("Could not find element for selector",s,", won't render attributes");return}c&&console.warn("Found multiple elements for selector",s),pa[s]={el:l,attrs:[]}}const{el:i,attrs:o}=pa[s];for(const l in n){let c=Fi(e,`${t}(${l})`,n[l],n);At(c)&&(c=c.join(",")),i.setAttribute(l,c||""),o.includes(l)||o.push(l)}const a=o.filter(l=>!n[l]);for(const l of a)i.removeAttribute(l)}function Fi({metainfo:e,slots:t},n,r,s){const i=t&&t[n];if(!i||!Ws(i))return r;const o={content:r,metainfo:e};if(s&&s.group){const{group:l,data:c}=s;o[l]=c}const a=i(o);if(a&&a.length){const{children:l}=a[0];return l?l.toString():""}return r}const sw=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",iw=e=>sw?Symbol("[vue-meta]: "+e):"[vue-meta]: "+e,ow=iw("meta_active");function Km(e,t,n){for(const r in t){if(!(r in n)){e[r]=t[r];continue}if(Ho(e[r])){Km(e[r],t[r],n[r]);continue}t[r]!==n[r]&&(e[r]=t[r])}for(const r in n)(!t||!(r in t))&&delete e[r]}function Ym(e){if(e||(e=Lt()||void 0),!!e)return e.appContext.config.globalProperties.$metaManager}function yf(e,t){const n=Lt()||void 0;if(!t&&n&&(t=Ym(n)),!t)throw new Error("No manager or current instance");Co(e)&&(or(e,(s,i)=>{Km(r.meta,s,i)}),e=e.value);const r=t.addMeta(e,n);return r}const aw=us({name:"Metainfo",inheritAttrs:!1,setup(e,{slots:t}){return()=>{const n=Ym();if(!!n)return n.render({slots:t})}}}),lw=aw,qm="data-vm-ssr";function Ef(e,t,n,r){const s=At(r)?r:[r];e?n.endsWith("Attrs")||s.forEach(i=>{i.props||(i.props={}),i.props[qm]=!0}):s.forEach((i,o)=>{i.type===Ye&&s.splice(o,1)}),t[n]||(t[n]=[]),t[n].push(...s)}const cw=(e=!1,t,n)=>Hi.create(e,t||KE,n||zE),Nc=class{constructor(t,n,r,s){Vn(this,"isSSR",!1);Vn(this,"config");Vn(this,"target");Vn(this,"resolver");Vn(this,"ssrCleanedUp",!1);this.isSSR=t,this.config=n,this.target=r,s&&"setup"in s&&Ws(s.setup)&&(this.resolver=s)}install(t){t.component("Metainfo",lw),t.config.globalProperties.$metaManager=this,t.provide(ow,this.target.context.active)}addMeta(t,n){n||(n=Lt()||void 0);const r={removed:[]},s={vm:n},{resolver:i}=this;i&&i.setup&&i.setup(s);const o=this.target.addSource(t,s,!0),a=c=>r.removed.push(c),l=c=>this.unmount(!!c,o,r,n);return n&&di(l),{meta:o,onRemoved:a,unmount:l}}unmount(t,n,r,s){if(s){const{$el:i}=s.proxy;if(i&&i.offsetParent){let o=new MutationObserver(a=>{for(const{removedNodes:l}of a)!l||l.forEach(c=>{c===i&&o&&(o.disconnect(),o=void 0,this.reallyUnmount(t,n,r))})});o.observe(i.parentNode,{childList:!0});return}}this.reallyUnmount(t,n,r)}async reallyUnmount(t,n,r){this.target.delSource(n),!t&&r&&await Promise.all(r.removed.map(s=>s()))}render({slots:t}={}){const n=this.target.context.active,{isSSR:r}=this;if(!r&&!this.ssrCleanedUp){this.ssrCleanedUp=!0;const i=()=>{const o=document.querySelectorAll(`[${qm}]`);o&&o.length&&o.forEach(a=>a.parentNode&&a.parentNode.removeChild(a))};document.readyState==="loading"?window.addEventListener("DOMContentLoaded",i,{once:!0}):i()}const s={};for(const i in n){const o=this.config[i]||{};let a=tw({isSSR:r,metainfo:n,slots:t},i,n[i],o);if(!a)continue;At(a)||(a=[a]);let l=i!=="base"&&n[i].to;!l&&"to"in o&&(l=o.to),!l&&"attributesFor"in o&&(l=i);for(const{to:c,vnode:u}of a)Ef(this.isSSR,s,c||l||"head",u)}if(t)for(const i in t){const o=i==="default"?"head":i;if(o!=="head"&&o!=="body")continue;const a=t[i];Ws(a)&&Ef(this.isSSR,s,o,a({metainfo:n}))}return Object.keys(s).map(i=>{const o=s[i];return Hn(Ro,{to:i},o)})}};let Hi=Nc;Vn(Hi,"create",(t,n,r)=>{const s=(l,c,u,f,d)=>Ws(r)?r(l,c,u,f,d):r.resolve(l,c,u,f,d),i=Fn({}),o=ew(s,i);return new Nc(t,n,o,r)});const uw={keyName:"metaInfo"},fw=e=>({created(){const t=Lt();if(!(t!=null&&t.type)||!(e.keyName in t.type))return;const n=t.type[e.keyName];if(Ws(n)){const r=St(n.bind(this));yf(r)}else yf(n)}}),dw=(e,t={})=>{const n=Object.assign({},uw,t);e.mixin(fw(n))};var hc={exports:{}},Gm=function(t,n){return function(){for(var s=new Array(arguments.length),i=0;i<s.length;i++)s[i]=arguments[i];return t.apply(n,s)}},hw=Gm,mc=Object.prototype.toString,pc=function(e){return function(t){var n=mc.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function vr(e){return e=e.toLowerCase(),function(n){return pc(n)===e}}function gc(e){return Array.isArray(e)}function ro(e){return typeof e=="undefined"}function mw(e){return e!==null&&!ro(e)&&e.constructor!==null&&!ro(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Xm=vr("ArrayBuffer");function pw(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xm(e.buffer),t}function gw(e){return typeof e=="string"}function _w(e){return typeof e=="number"}function Jm(e){return e!==null&&typeof e=="object"}function Bi(e){if(pc(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var vw=vr("Date"),bw=vr("File"),yw=vr("Blob"),Ew=vr("FileList");function _c(e){return mc.call(e)==="[object Function]"}function ww(e){return Jm(e)&&_c(e.pipe)}function Tw(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||mc.call(e)===t||_c(e.toString)&&e.toString()===t)}var Sw=vr("URLSearchParams");function Cw(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Aw(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function vc(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),gc(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}function Ja(){var e={};function t(s,i){Bi(e[i])&&Bi(s)?e[i]=Ja(e[i],s):Bi(s)?e[i]=Ja({},s):gc(s)?e[i]=s.slice():e[i]=s}for(var n=0,r=arguments.length;n<r;n++)vc(arguments[n],t);return e}function kw(e,t,n){return vc(t,function(s,i){n&&typeof s=="function"?e[i]=hw(s,n):e[i]=s}),e}function Ow(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function Lw(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function Nw(e,t,n){var r,s,i,o={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)i=r[s],o[i]||(t[i]=e[i],o[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function $w(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function xw(e){if(!e)return null;var t=e.length;if(ro(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var Pw=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),qe={isArray:gc,isArrayBuffer:Xm,isBuffer:mw,isFormData:Tw,isArrayBufferView:pw,isString:gw,isNumber:_w,isObject:Jm,isPlainObject:Bi,isUndefined:ro,isDate:vw,isFile:bw,isBlob:yw,isFunction:_c,isStream:ww,isURLSearchParams:Sw,isStandardBrowserEnv:Aw,forEach:vc,merge:Ja,extend:kw,trim:Cw,stripBOM:Ow,inherits:Lw,toFlatObject:Nw,kindOf:pc,kindOfTest:vr,endsWith:$w,toArray:xw,isTypedArray:Pw,isFileList:Ew},Sr=qe;function wf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Qm=function(t,n,r){if(!n)return t;var s;if(r)s=r(n);else if(Sr.isURLSearchParams(n))s=n.toString();else{var i=[];Sr.forEach(n,function(l,c){l===null||typeof l=="undefined"||(Sr.isArray(l)?c=c+"[]":l=[l],Sr.forEach(l,function(f){Sr.isDate(f)?f=f.toISOString():Sr.isObject(f)&&(f=JSON.stringify(f)),i.push(wf(c)+"="+wf(f))}))}),s=i.join("&")}if(s){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},Iw=qe;function Bo(){this.handlers=[]}Bo.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Bo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Bo.prototype.forEach=function(t){Iw.forEach(this.handlers,function(r){r!==null&&t(r)})};var Rw=Bo,Mw=qe,Dw=function(t,n){Mw.forEach(t,function(s,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[i])})},Zm=qe;function es(e,t,n,r,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}Zm.inherits(es,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 ep=es.prototype,tp={};["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(e){tp[e]={value:e}});Object.defineProperties(es,tp);Object.defineProperty(ep,"isAxiosError",{value:!0});es.from=function(e,t,n,r,s,i){var o=Object.create(ep);return Zm.toFlatObject(e,o,function(l){return l!==Error.prototype}),es.call(o,e.message,t,n,r,s),o.name=e.name,i&&Object.assign(o,i),o};var fs=es,np={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$t=qe;function Fw(e,t){t=t||new FormData;var n=[];function r(i){return i===null?"":$t.isDate(i)?i.toISOString():$t.isArrayBuffer(i)||$t.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function s(i,o){if($t.isPlainObject(i)||$t.isArray(i)){if(n.indexOf(i)!==-1)throw Error("Circular reference detected in "+o);n.push(i),$t.forEach(i,function(l,c){if(!$t.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if($t.endsWith(c,"{}"))l=JSON.stringify(l);else if($t.endsWith(c,"[]")&&(f=$t.toArray(l))){f.forEach(function(d){!$t.isUndefined(d)&&t.append(u,r(d))});return}}s(l,u)}}),n.pop()}else t.append(o,r(i))}return s(e),t}var rp=Fw,ga=fs,Hw=function(t,n,r){var s=r.config.validateStatus;!r.status||!s||s(r.status)?t(r):n(new ga("Request failed with status code "+r.status,[ga.ERR_BAD_REQUEST,ga.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},Ni=qe,Bw=Ni.isStandardBrowserEnv()?function(){return{write:function(n,r,s,i,o,a){var l=[];l.push(n+"="+encodeURIComponent(r)),Ni.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),Ni.isString(i)&&l.push("path="+i),Ni.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),jw=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Vw=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},Uw=jw,Ww=Vw,sp=function(t,n){return t&&!Uw(n)?Ww(t,n):n},_a=qe,zw=["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"],Kw=function(t){var n={},r,s,i;return t&&_a.forEach(t.split(`
|
|
`),function(a){if(i=a.indexOf(":"),r=_a.trim(a.substr(0,i)).toLowerCase(),s=_a.trim(a.substr(i+1)),r){if(n[r]&&zw.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},Tf=qe,Yw=Tf.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(i){var o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(o){var a=Tf.isString(o)?s(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Qa=fs,qw=qe;function ip(e){Qa.call(this,e==null?"canceled":e,Qa.ERR_CANCELED),this.name="CanceledError"}qw.inherits(ip,Qa,{__CANCEL__:!0});var jo=ip,Gw=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""},Ss=qe,Xw=Hw,Jw=Bw,Qw=Qm,Zw=sp,eT=Kw,tT=Yw,nT=np,tn=fs,rT=jo,sT=Gw,Sf=function(t){return new Promise(function(r,s){var i=t.data,o=t.headers,a=t.responseType,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Ss.isFormData(i)&&Ss.isStandardBrowserEnv()&&delete o["Content-Type"];var u=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.Authorization="Basic "+btoa(f+":"+d)}var g=Zw(t.baseURL,t.url);u.open(t.method.toUpperCase(),Qw(g,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function T(){if(!!u){var p="getAllResponseHeaders"in u?eT(u.getAllResponseHeaders()):null,v=!a||a==="text"||a==="json"?u.responseText:u.response,E={data:v,status:u.status,statusText:u.statusText,headers:p,config:t,request:u};Xw(function(k){r(k),c()},function(k){s(k),c()},E),u=null}}if("onloadend"in u?u.onloadend=T:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(T)},u.onabort=function(){!u||(s(new tn("Request aborted",tn.ECONNABORTED,t,u)),u=null)},u.onerror=function(){s(new tn("Network Error",tn.ERR_NETWORK,t,u,u)),u=null},u.ontimeout=function(){var v=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",E=t.transitional||nT;t.timeoutErrorMessage&&(v=t.timeoutErrorMessage),s(new tn(v,E.clarifyTimeoutError?tn.ETIMEDOUT:tn.ECONNABORTED,t,u)),u=null},Ss.isStandardBrowserEnv()){var A=(t.withCredentials||tT(g))&&t.xsrfCookieName?Jw.read(t.xsrfCookieName):void 0;A&&(o[t.xsrfHeaderName]=A)}"setRequestHeader"in u&&Ss.forEach(o,function(v,E){typeof i=="undefined"&&E.toLowerCase()==="content-type"?delete o[E]:u.setRequestHeader(E,v)}),Ss.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),a&&a!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(p){!u||(s(!p||p&&p.type?new rT:p),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),i||(i=null);var _=sT(g);if(_&&["http","https","file"].indexOf(_)===-1){s(new tn("Unsupported protocol "+_+":",tn.ERR_BAD_REQUEST,t));return}u.send(i)})},iT=null,Ue=qe,Cf=Dw,Af=fs,oT=np,aT=rp,lT={"Content-Type":"application/x-www-form-urlencoded"};function kf(e,t){!Ue.isUndefined(e)&&Ue.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function cT(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Sf),e}function uT(e,t,n){if(Ue.isString(e))try{return(t||JSON.parse)(e),Ue.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Vo={transitional:oT,adapter:cT(),transformRequest:[function(t,n){if(Cf(n,"Accept"),Cf(n,"Content-Type"),Ue.isFormData(t)||Ue.isArrayBuffer(t)||Ue.isBuffer(t)||Ue.isStream(t)||Ue.isFile(t)||Ue.isBlob(t))return t;if(Ue.isArrayBufferView(t))return t.buffer;if(Ue.isURLSearchParams(t))return kf(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=Ue.isObject(t),s=n&&n["Content-Type"],i;if((i=Ue.isFileList(t))||r&&s==="multipart/form-data"){var o=this.env&&this.env.FormData;return aT(i?{"files[]":t}:t,o&&new o)}else if(r||s==="application/json")return kf(n,"application/json"),uT(t);return t}],transformResponse:[function(t){var n=this.transitional||Vo.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||s&&Ue.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?Af.from(o,Af.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:iT},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ue.forEach(["delete","get","head"],function(t){Vo.headers[t]={}});Ue.forEach(["post","put","patch"],function(t){Vo.headers[t]=Ue.merge(lT)});var bc=Vo,fT=qe,dT=bc,hT=function(t,n,r){var s=this||dT;return fT.forEach(r,function(o){t=o.call(s,t,n)}),t},op=function(t){return!!(t&&t.__CANCEL__)},Of=qe,va=hT,mT=op,pT=bc,gT=jo;function ba(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gT}var _T=function(t){ba(t),t.headers=t.headers||{},t.data=va.call(t,t.data,t.headers,t.transformRequest),t.headers=Of.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Of.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||pT.adapter;return n(t).then(function(s){return ba(t),s.data=va.call(t,s.data,s.headers,t.transformResponse),s},function(s){return mT(s)||(ba(t),s&&s.response&&(s.response.data=va.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},ut=qe,ap=function(t,n){n=n||{};var r={};function s(u,f){return ut.isPlainObject(u)&&ut.isPlainObject(f)?ut.merge(u,f):ut.isPlainObject(f)?ut.merge({},f):ut.isArray(f)?f.slice():f}function i(u){if(ut.isUndefined(n[u])){if(!ut.isUndefined(t[u]))return s(void 0,t[u])}else return s(t[u],n[u])}function o(u){if(!ut.isUndefined(n[u]))return s(void 0,n[u])}function a(u){if(ut.isUndefined(n[u])){if(!ut.isUndefined(t[u]))return s(void 0,t[u])}else return s(void 0,n[u])}function l(u){if(u in n)return s(t[u],n[u]);if(u in t)return s(void 0,t[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 ut.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=c[f]||i,g=d(f);ut.isUndefined(g)&&d!==l||(r[f]=g)}),r},lp={version:"0.27.2"},vT=lp.version,Sn=fs,yc={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){yc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Lf={};yc.transitional=function(t,n,r){function s(i,o){return"[Axios v"+vT+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return function(i,o,a){if(t===!1)throw new Sn(s(o," has been removed"+(n?" in "+n:"")),Sn.ERR_DEPRECATED);return n&&!Lf[o]&&(Lf[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function bT(e,t,n){if(typeof e!="object")throw new Sn("options must be an object",Sn.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),s=r.length;s-- >0;){var i=r[s],o=t[i];if(o){var a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new Sn("option "+i+" must be "+l,Sn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Sn("Unknown option "+i,Sn.ERR_BAD_OPTION)}}var yT={assertOptions:bT,validators:yc},cp=qe,ET=Qm,Nf=Rw,$f=_T,Uo=ap,wT=sp,up=yT,Cr=up.validators;function ts(e){this.defaults=e,this.interceptors={request:new Nf,response:new Nf}}ts.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Uo(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&&up.assertOptions(r,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1);var s=[],i=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(i=i&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});var o=[];this.interceptors.response.forEach(function(g){o.push(g.fulfilled,g.rejected)});var a;if(!i){var l=[$f,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;s.length;){var u=s.shift(),f=s.shift();try{c=u(c)}catch(d){f(d);break}}try{a=$f(c)}catch(d){return Promise.reject(d)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};ts.prototype.getUri=function(t){t=Uo(this.defaults,t);var n=wT(t.baseURL,t.url);return ET(n,t.params,t.paramsSerializer)};cp.forEach(["delete","get","head","options"],function(t){ts.prototype[t]=function(n,r){return this.request(Uo(r||{},{method:t,url:n,data:(r||{}).data}))}});cp.forEach(["post","put","patch"],function(t){function n(r){return function(i,o,a){return this.request(Uo(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}ts.prototype[t]=n(),ts.prototype[t+"Form"]=n(!0)});var TT=ts,ST=jo;function ns(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;this.promise.then(function(r){if(!!n._listeners){var s,i=n._listeners.length;for(s=0;s<i;s++)n._listeners[s](r);n._listeners=null}}),this.promise.then=function(r){var s,i=new Promise(function(o){n.subscribe(o),s=o}).then(r);return i.cancel=function(){n.unsubscribe(s)},i},e(function(s){n.reason||(n.reason=new ST(s),t(n.reason))})}ns.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ns.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};ns.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};ns.source=function(){var t,n=new ns(function(s){t=s});return{token:n,cancel:t}};var CT=ns,AT=function(t){return function(r){return t.apply(null,r)}},kT=qe,OT=function(t){return kT.isObject(t)&&t.isAxiosError===!0},xf=qe,LT=Gm,ji=TT,NT=ap,$T=bc;function fp(e){var t=new ji(e),n=LT(ji.prototype.request,t);return xf.extend(n,ji.prototype,t),xf.extend(n,t),n.create=function(s){return fp(NT(e,s))},n}var lt=fp($T);lt.Axios=ji;lt.CanceledError=jo;lt.CancelToken=CT;lt.isCancel=op;lt.VERSION=lp.version;lt.toFormData=rp;lt.AxiosError=fs;lt.Cancel=lt.CanceledError;lt.all=function(t){return Promise.all(t)};lt.spread=AT;lt.isAxiosError=OT;hc.exports=lt;hc.exports.default=lt;var dp=hc.exports;const{protocol:xT,hostname:PT,port:Pf,pathname:IT}=window.location,er=dp.create({baseURL:xT+"//"+PT+(Pf?":"+Pf:"")+IT+"api/",headers:{Accept:"application/json"}});er.interceptors.response.use(e=>e,e=>{const t=e.config.baseURL+e.config.url,n=`${e.message}: API request failed ${t}`;window.app.error({message:n})});function hp(e,t,n){const r=t.shift();if(e[r]||(e[r]={}),!t.length){n&&typeof n=="object"&&!Array.isArray(n)?e[r]=he(he({},e[r]),n):e[r]=n;return}hp(e[r],t,n)}const If=Fn({loadpoints:[]}),Za={state:If,update:function(e){Object.keys(e).forEach(function(t){typeof window.app[t]=="function"?window.app[t]({message:e[t]}):hp(If,t.split("."),e[t])})}};var Ie=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const RT={name:"App",props:{notifications:Array},created:function(){const e=new URLSearchParams(window.location.search);this.compact=e.get("compact"),setTimeout(this.connect,0)},methods:{connect:function(){if(!("WebSocket"in window)){window.app.error({message:"Web sockets not supported. Please upgrade your browser."});return}const t=window.location,r=(t.protocol=="https:"?"wss:":"ws:")+"//"+t.hostname+(t.port?":"+t.port:"")+t.pathname+"ws",s=new WebSocket(r);s.onerror=()=>{s.close()},s.onclose=()=>{window.setTimeout(this.connect,1e3)},s.onmessage=i=>{try{var o=JSON.parse(i.data);Za.update(o)}catch(a){window.app.error({message:`Failed to parse web socket data: ${a.message} [${i.data}]`})}}},reload(){window.location.reload()}},metaInfo(){return{title:Za.state.siteTitle||""}}},MT={class:"app overflow-hidden"};function DT(e,t,n,r,s,i){const o=Ce("metainfo"),a=Ce("router-view");return V(),q("div",MT,[se(o,null,{title:wt(({content:l})=>[De(K(l?`${l} | evcc`:"evcc"),1)]),_:1}),se(a,{notifications:n.notifications},null,8,["notifications"])])}var FT=Ie(RT,[["render",DT],["__scopeId","data-v-636d7bce"]]);/*!
|
|
* vue-router v4.0.14
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const mp=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",ds=e=>mp?Symbol(e):"_vr_"+e,HT=ds("rvlm"),Rf=ds("rvd"),Ec=ds("r"),pp=ds("rl"),el=ds("rvl"),xr=typeof window!="undefined";function BT(e){return e.__esModule||mp&&e[Symbol.toStringTag]==="Module"}const $e=Object.assign;function ya(e,t){const n={};for(const r in t){const s=t[r];n[r]=Array.isArray(s)?s.map(e):e(s)}return n}const Ks=()=>{},jT=/\/$/,VT=e=>e.replace(jT,"");function Ea(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),s=e(i)),l>-1&&(r=r||t.slice(0,l),o=t.slice(l,t.length)),r=KT(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function UT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function WT(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&rs(t.matched[r],n.matched[s])&&gp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function rs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!zT(e[n],t[n]))return!1;return!0}function zT(e,t){return Array.isArray(e)?Df(e,t):Array.isArray(t)?Df(t,e):e===t}function Df(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function KT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,i,o;for(i=0;i<r.length;i++)if(o=r[i],!(s===1||o==="."))if(o==="..")s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var ti;(function(e){e.pop="pop",e.push="push"})(ti||(ti={}));var Ys;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ys||(Ys={}));function YT(e){if(!e)if(xr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),VT(e)}const qT=/^[^#]+#/;function GT(e,t){return e.replace(qT,"#")+t}function XT(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Wo=()=>({left:window.pageXOffset,top:window.pageYOffset});function JT(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=XT(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ff(e,t){return(history.state?history.state.position-t:-1)+e}const tl=new Map;function QT(e,t){tl.set(e,t)}function ZT(e){const t=tl.get(e);return tl.delete(e),t}let eS=()=>location.protocol+"//"+location.host;function _p(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Mf(l,"")}return Mf(n,e)+r+s}function tS(e,t,n,r){let s=[],i=[],o=null;const a=({state:d})=>{const g=_p(e,location),T=n.value,A=t.value;let _=0;if(d){if(n.value=g,t.value=d,o&&o===T){o=null;return}_=A?d.position-A.position:0}else r(g);s.forEach(p=>{p(n.value,T,{delta:_,type:ti.pop,direction:_?_>0?Ys.forward:Ys.back:Ys.unknown})})};function l(){o=n.value}function c(d){s.push(d);const g=()=>{const T=s.indexOf(d);T>-1&&s.splice(T,1)};return i.push(g),g}function u(){const{history:d}=window;!d.state||d.replaceState($e({},d.state,{scroll:Wo()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function Hf(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Wo():null}}function nS(e){const{history:t,location:n}=window,r={value:_p(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:eS()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function o(l,c){const u=$e({},t.state,Hf(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});i(l,u,!0),r.value=l}function a(l,c){const u=$e({},s.value,t.state,{forward:l,scroll:Wo()});i(u.current,u,!0);const f=$e({},Hf(r.value,l,null),{position:u.position+1},c);i(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function rS(e){e=YT(e);const t=nS(e),n=tS(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=$e({location:"",base:e,go:r,createHref:GT.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function sS(e){return typeof e=="string"||e&&typeof e=="object"}function vp(e){return typeof e=="string"||typeof e=="symbol"}const bn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},bp=ds("nf");var Bf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Bf||(Bf={}));function ss(e,t){return $e(new Error,{type:e,[bp]:!0},t)}function yn(e,t){return e instanceof Error&&bp in e&&(t==null||!!(e.type&t))}const jf="[^/]+?",iS={sensitive:!1,strict:!1,start:!0,end:!0},oS=/[.+*?^${}()[\]/\\]/g;function aS(e,t){const n=$e({},iS,t),r=[];let s=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let g=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(oS,"\\$&"),g+=40;else if(d.type===1){const{value:T,repeatable:A,optional:_,regexp:p}=d;i.push({name:T,repeatable:A,optional:_});const v=p||jf;if(v!==jf){g+=10;try{new RegExp(`(${v})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${T}" (${v}): `+m.message)}}let E=A?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(E=_&&c.length<2?`(?:/${E})`:"/"+E),_&&(E+="?"),s+=E,g+=20,_&&(g+=-8),A&&(g+=-20),v===".*"&&(g+=-50)}u.push(g)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let d=1;d<u.length;d++){const g=u[d]||"",T=i[d-1];f[T.name]=g&&T.repeatable?g.split("/"):g}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of d)if(g.type===0)u+=g.value;else if(g.type===1){const{value:T,repeatable:A,optional:_}=g,p=T in c?c[T]:"";if(Array.isArray(p)&&!A)throw new Error(`Provided param "${T}" is an array but it is not repeatable (* or + modifiers)`);const v=Array.isArray(p)?p.join("/"):p;if(!v)if(_)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${T}"`);u+=v}}return u}return{re:o,score:r,keys:i,parse:a,stringify:l}}function lS(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function cS(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const i=lS(r[n],s[n]);if(i)return i;n++}return s.length-r.length}const uS={type:0,value:""},fS=/[a-zA-Z0-9_]/;function dS(e){if(!e)return[[]];if(e==="/")return[[uS]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,c="",u="";function f(){!c||(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:fS.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),s}function hS(e,t,n){const r=aS(dS(e.path),n),s=$e(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function mS(e,t){const n=[],r=new Map;t=Uf({strict:!1,end:!0,sensitive:!1},t);function s(u){return r.get(u)}function i(u,f,d){const g=!d,T=gS(u);T.aliasOf=d&&d.record;const A=Uf(t,u),_=[T];if("alias"in u){const E=typeof u.alias=="string"?[u.alias]:u.alias;for(const m of E)_.push($e({},T,{components:d?d.record.components:T.components,path:m,aliasOf:d?d.record:T}))}let p,v;for(const E of _){const{path:m}=E;if(f&&m[0]!=="/"){const k=f.record.path,$=k[k.length-1]==="/"?"":"/";E.path=f.record.path+(m&&$+m)}if(p=hS(E,f,A),d?d.alias.push(p):(v=v||p,v!==p&&v.alias.push(p),g&&u.name&&!Vf(p)&&o(u.name)),"children"in T){const k=T.children;for(let $=0;$<k.length;$++)i(k[$],p,d&&d.children[$])}d=d||p,l(p)}return v?()=>{o(v)}:Ks}function o(u){if(vp(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<n.length&&cS(u,n[f])>=0&&(u.record.path!==n[f].record.path||!yp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Vf(u)&&r.set(u.record.name,u)}function c(u,f){let d,g={},T,A;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw ss(1,{location:u});A=d.record.name,g=$e(pS(f.params,d.keys.filter(v=>!v.optional).map(v=>v.name)),u.params),T=d.stringify(g)}else if("path"in u)T=u.path,d=n.find(v=>v.re.test(T)),d&&(g=d.parse(T),A=d.record.name);else{if(d=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!d)throw ss(1,{location:u,currentLocation:f});A=d.record.name,g=$e({},f.params,u.params),T=d.stringify(g)}const _=[];let p=d;for(;p;)_.unshift(p.record),p=p.parent;return{name:A,path:T,params:g,matched:_,meta:vS(_)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function pS(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gS(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:_S(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function _S(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Vf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vS(e){return e.reduce((t,n)=>$e(t,n.meta),{})}function Uf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function yp(e,t){return t.children.some(n=>n===e||yp(e,n))}const Ep=/#/g,bS=/&/g,yS=/\//g,ES=/=/g,wS=/\?/g,wp=/\+/g,TS=/%5B/g,SS=/%5D/g,Tp=/%5E/g,CS=/%60/g,Sp=/%7B/g,AS=/%7C/g,Cp=/%7D/g,kS=/%20/g;function wc(e){return encodeURI(""+e).replace(AS,"|").replace(TS,"[").replace(SS,"]")}function OS(e){return wc(e).replace(Sp,"{").replace(Cp,"}").replace(Tp,"^")}function nl(e){return wc(e).replace(wp,"%2B").replace(kS,"+").replace(Ep,"%23").replace(bS,"%26").replace(CS,"`").replace(Sp,"{").replace(Cp,"}").replace(Tp,"^")}function LS(e){return nl(e).replace(ES,"%3D")}function NS(e){return wc(e).replace(Ep,"%23").replace(wS,"%3F")}function $S(e){return e==null?"":NS(e).replace(yS,"%2F")}function so(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function xS(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const i=r[s].replace(wp," "),o=i.indexOf("="),a=so(o<0?i:i.slice(0,o)),l=o<0?null:so(i.slice(o+1));if(a in t){let c=t[a];Array.isArray(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Wf(e){let t="";for(let n in e){const r=e[n];if(n=LS(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(r)?r.map(i=>i&&nl(i)):[r&&nl(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function PS(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function Cs(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Cn(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(ss(4,{from:n,to:t})):f instanceof Error?a(f):sS(f)?a(ss(2,{from:t,to:f})):(i&&r.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),o())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function wa(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let a=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(IS(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Cn(c,n,r,i,o))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const u=BT(c)?c.default:c;i.components[o]=u;const d=(u.__vccOpts||u)[t];return d&&Cn(d,n,r,i,o)()}))}}return s}function IS(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zf(e){const t=Gt(Ec),n=Gt(pp),r=St(()=>t.resolve(Fr(e.to))),s=St(()=>{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(rs.bind(null,u));if(d>-1)return d;const g=Kf(l[c-2]);return c>1&&Kf(u)===g&&f[f.length-1].path!==g?f.findIndex(rs.bind(null,l[c-2])):d}),i=St(()=>s.value>-1&&FS(n.params,r.value.params)),o=St(()=>s.value>-1&&s.value===n.matched.length-1&&gp(n.params,r.value.params));function a(l={}){return DS(l)?t[Fr(e.replace)?"replace":"push"](Fr(e.to)).catch(Ks):Promise.resolve()}return{route:r,href:St(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const RS=us({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zf,setup(e,{slots:t}){const n=Fn(zf(e)),{options:r}=Gt(Ec),s=St(()=>({[Yf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Yf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Hn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),MS=RS;function DS(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function FS(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Array.isArray(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function Kf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Yf=(e,t,n)=>e!=null?e:t!=null?t:n,HS=us({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=Gt(el),s=St(()=>e.route||r.value),i=Gt(Rf,0),o=St(()=>s.value.matched[i]);Bs(Rf,i+1),Bs(HT,o),Bs(el,s);const a=Ms();return or(()=>[a.value,o.value,e.name],([l,c,u],[f,d,g])=>{c&&(c.instances[u]=l,d&&d!==c&&l&&l===f&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),l&&c&&(!d||!rs(c,d)||!f)&&(c.enterCallbacks[u]||[]).forEach(T=>T(l))},{flush:"post"}),()=>{const l=s.value,c=o.value,u=c&&c.components[e.name],f=e.name;if(!u)return qf(n.default,{Component:u,route:l});const d=c.props[e.name],g=d?d===!0?l.params:typeof d=="function"?d(l):d:null,A=Hn(u,$e({},g,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(c.instances[f]=null)},ref:a}));return qf(n.default,{Component:A,route:l})||A}}});function qf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const BS=HS;function jS(e){const t=mS(e.routes,e),n=e.parseQuery||xS,r=e.stringifyQuery||Wf,s=e.history,i=Cs(),o=Cs(),a=Cs(),l=$h(bn);let c=bn;xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ya.bind(null,R=>""+R),f=ya.bind(null,$S),d=ya.bind(null,so);function g(R,X){let B,te;return vp(R)?(B=t.getRecordMatcher(R),te=X):te=R,t.addRoute(te,B)}function T(R){const X=t.getRecordMatcher(R);X&&t.removeRoute(X)}function A(){return t.getRoutes().map(R=>R.record)}function _(R){return!!t.getRecordMatcher(R)}function p(R,X){if(X=$e({},X||l.value),typeof R=="string"){const w=Ea(n,R,X.path),h=t.resolve({path:w.path},X),b=s.createHref(w.fullPath);return $e(w,h,{params:d(h.params),hash:so(w.hash),redirectedFrom:void 0,href:b})}let B;if("path"in R)B=$e({},R,{path:Ea(n,R.path,X.path).path});else{const w=$e({},R.params);for(const h in w)w[h]==null&&delete w[h];B=$e({},R,{params:f(R.params)}),X.params=f(X.params)}const te=t.resolve(B,X),ge=R.hash||"";te.params=u(d(te.params));const be=UT(r,$e({},R,{hash:OS(ge),path:te.path})),y=s.createHref(be);return $e({fullPath:be,hash:ge,query:r===Wf?PS(R.query):R.query||{}},te,{redirectedFrom:void 0,href:y})}function v(R){return typeof R=="string"?Ea(n,R,l.value.path):$e({},R)}function E(R,X){if(c!==R)return ss(8,{from:X,to:R})}function m(R){return L(R)}function k(R){return m($e(v(R),{replace:!0}))}function $(R){const X=R.matched[R.matched.length-1];if(X&&X.redirect){const{redirect:B}=X;let te=typeof B=="function"?B(R):B;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=v(te):{path:te},te.params={}),$e({query:R.query,hash:R.hash,params:R.params},te)}}function L(R,X){const B=c=p(R),te=l.value,ge=R.state,be=R.force,y=R.replace===!0,w=$(B);if(w)return L($e(v(w),{state:ge,force:be,replace:y}),X||B);const h=B;h.redirectedFrom=X;let b;return!be&&WT(r,te,B)&&(b=ss(16,{to:h,from:te}),ue(te,te,!0,!1)),(b?Promise.resolve(b):j(h,te)).catch(O=>yn(O)?yn(O,2)?O:le(O):ee(O,h,te)).then(O=>{if(O){if(yn(O,2))return L($e(v(O.to),{state:ge,force:be,replace:y}),X||h)}else O=J(h,te,!0,y,ge);return Y(h,te,O),O})}function H(R,X){const B=E(R,X);return B?Promise.reject(B):Promise.resolve()}function j(R,X){let B;const[te,ge,be]=VS(R,X);B=wa(te.reverse(),"beforeRouteLeave",R,X);for(const w of te)w.leaveGuards.forEach(h=>{B.push(Cn(h,R,X))});const y=H.bind(null,R,X);return B.push(y),Ar(B).then(()=>{B=[];for(const w of i.list())B.push(Cn(w,R,X));return B.push(y),Ar(B)}).then(()=>{B=wa(ge,"beforeRouteUpdate",R,X);for(const w of ge)w.updateGuards.forEach(h=>{B.push(Cn(h,R,X))});return B.push(y),Ar(B)}).then(()=>{B=[];for(const w of R.matched)if(w.beforeEnter&&!X.matched.includes(w))if(Array.isArray(w.beforeEnter))for(const h of w.beforeEnter)B.push(Cn(h,R,X));else B.push(Cn(w.beforeEnter,R,X));return B.push(y),Ar(B)}).then(()=>(R.matched.forEach(w=>w.enterCallbacks={}),B=wa(be,"beforeRouteEnter",R,X),B.push(y),Ar(B))).then(()=>{B=[];for(const w of o.list())B.push(Cn(w,R,X));return B.push(y),Ar(B)}).catch(w=>yn(w,8)?w:Promise.reject(w))}function Y(R,X,B){for(const te of a.list())te(R,X,B)}function J(R,X,B,te,ge){const be=E(R,X);if(be)return be;const y=X===bn,w=xr?history.state:{};B&&(te||y?s.replace(R.fullPath,$e({scroll:y&&w&&w.scroll},ge)):s.push(R.fullPath,ge)),l.value=R,ue(R,X,B,y),le()}let F;function re(){F=s.listen((R,X,B)=>{const te=p(R),ge=$(te);if(ge){L($e(ge,{replace:!0}),te).catch(Ks);return}c=te;const be=l.value;xr&&QT(Ff(be.fullPath,B.delta),Wo()),j(te,be).catch(y=>yn(y,12)?y:yn(y,2)?(L(y.to,te).then(w=>{yn(w,20)&&!B.delta&&B.type===ti.pop&&s.go(-1,!1)}).catch(Ks),Promise.reject()):(B.delta&&s.go(-B.delta,!1),ee(y,te,be))).then(y=>{y=y||J(te,be,!1),y&&(B.delta?s.go(-B.delta,!1):B.type===ti.pop&&yn(y,20)&&s.go(-1,!1)),Y(te,be,y)}).catch(Ks)})}let x=Cs(),P=Cs(),Z;function ee(R,X,B){le(R);const te=P.list();return te.length?te.forEach(ge=>ge(R,X,B)):console.error(R),Promise.reject(R)}function oe(){return Z&&l.value!==bn?Promise.resolve():new Promise((R,X)=>{x.add([R,X])})}function le(R){return Z||(Z=!R,re(),x.list().forEach(([X,B])=>R?B(R):X()),x.reset()),R}function ue(R,X,B,te){const{scrollBehavior:ge}=e;if(!xr||!ge)return Promise.resolve();const be=!B&&ZT(Ff(R.fullPath,0))||(te||!B)&&history.state&&history.state.scroll||null;return Oo().then(()=>ge(R,X,be)).then(y=>y&&JT(y)).catch(y=>ee(y,R,X))}const pe=R=>s.go(R);let ve;const Oe=new Set;return{currentRoute:l,addRoute:g,removeRoute:T,hasRoute:_,getRoutes:A,resolve:p,options:e,push:m,replace:k,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:P.add,isReady:oe,install(R){const X=this;R.component("RouterLink",MS),R.component("RouterView",BS),R.config.globalProperties.$router=X,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>Fr(l)}),xr&&!ve&&l.value===bn&&(ve=!0,m(s.location).catch(ge=>{}));const B={};for(const ge in bn)B[ge]=St(()=>l.value[ge]);R.provide(Ec,X),R.provide(pp,Fn(B)),R.provide(el,l);const te=R.unmount;Oe.add(R),R.unmount=function(){Oe.delete(R),Oe.size<1&&(c=bn,F&&F(),l.value=bn,ve=!1,Z=!1),te()}}}}function Ar(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function VS(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(c=>rs(c,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>rs(c,l))||s.push(l))}return[n,r,s]}if(!document.querySelector("style[data-shopicon]")){const e=document.createElement("style");e.setAttribute("data-shopicon",!0),e.innerHTML=`
|
|
[data-shopicon] { display: block; width: 24px; aspect-ratio: 1; }
|
|
[data-shopicon][size=m] { width: 32px; }
|
|
[data-shopicon][size=l] { width: 48px; }
|
|
[data-shopicon][size=xl] { width: 64px; }
|
|
|
|
[data-shopicon] circle:not([fill]),
|
|
[data-shopicon] path:not([fill]),
|
|
[data-shopicon] polygon:not([fill]),
|
|
[data-shopicon] rect:not([fill]) { fill: currentColor; }
|
|
`,document.head.appendChild(e)}var US='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M6.586 30.586l2.828 2.828L24 18.828l14.586 14.586 2.828-2.828L24 13.172z"/></svg>';class WS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=US}}window.customElements.define("shopicon-regular-arrowup",WS);var zS='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M8.036 12H40v4H8.036zM8.036 22H40v4H8.036zM8.036 32H40v4H8.036z"/></svg>';class KS extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=zS}}window.customElements.define("shopicon-regular-menu",KS);const{protocol:YS,hostname:qS,port:Gf,pathname:GS}=window.location,rl=dp.create({baseURL:YS+"//"+qS+(Gf?":"+Gf:"")+GS});rl.interceptors.response.use(e=>e,e=>{const t=e.config.baseURL+e.config.url,n=`${e.message}: API request failed ${t}`;window.app.error({message:n})});const XS={name:"TopNavigation",props:{vehicleLogins:{type:Object,default:()=>({})}},computed:{logoutCount(){return this.providerLogins.filter(e=>!e.loggedIn).length},providerLogins(){return Object.entries(this.vehicleLogins).map(([e,t])=>({title:e,loggedIn:t.authenticated,loginPath:t.uri+"/login",logoutPath:t.uri+"/logout"}))}},methods:{handleProviderAuthorization:async function(e){e.loggedIn?rl.post(e.logoutPath):rl.post(e.loginPath).then(function(t){window.location.href=t.data.loginUri})}}},JS={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"},QS={key:0,class:"position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle"},ZS=S("span",{class:"visually-hidden"},"login available",-1),eC=[ZS],tC=S("shopicon-regular-menu",null,null,-1),nC={class:"dropdown-menu dropdown-menu-end"},rC={class:"dropdown-item",href:"https://docs.evcc.io/blog/",target:"_blank"},sC={class:"dropdown-item",href:"https://docs.evcc.io/docs/Home/",target:"_blank"},iC={class:"dropdown-item",href:"https://github.com/evcc-io/evcc",target:"_blank"},oC={class:"dropdown-item",href:"https://evcc.io/",target:"_blank"},aC=S("li",null,[S("hr",{class:"dropdown-divider"})],-1),lC={class:"dropdown-header"},cC=["onClick"],uC={key:0,class:"d-inline-block p-1 rounded-circle bg-danger border border-light rounded-circle"};function fC(e,t,n,r,s,i){return V(),q("div",null,[S("button",JS,[i.logoutCount>0?(V(),q("span",QS,eC)):Ne("",!0),tC]),S("ul",nC,[S("li",null,[S("a",rC,K(e.$t("header.blog")),1)]),S("li",null,[S("a",sC,K(e.$t("header.docs")),1)]),S("li",null,[S("a",iC,K(e.$t("header.github")),1)]),S("li",null,[S("a",oC,K(e.$t("header.about")),1)]),i.providerLogins.length>0?(V(),q(xe,{key:0},[aC,S("li",null,[S("h6",lC,K(e.$t("header.login")),1)]),(V(!0),q(xe,null,Zt(i.providerLogins,o=>(V(),q("li",{key:o.title},[S("button",{type:"button",class:"dropdown-item",onClick:a=>i.handleProviderAuthorization(o)},[o.loggedIn?Ne("",!0):(V(),q("span",uC)),De(" "+K(o.title)+" "+K(e.$t(o.loggedIn?"main.provider.logout":"main.provider.login")),1)],8,cC)]))),128))],64)):Ne("",!0)])])}var dC=Ie(XS,[["render",fC]]),hC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M44.229 36.968L25.772 5.001a2 2 0 00-3.464 0L3.852 36.968a2 2 0 001.732 3h36.912a1.999 1.999 0 001.733-3zm-35.181-1L24.04 10.001l14.992 25.967H9.048z"/><path d="M21.973 16.01l4-.016.05 13-4 .015zM24.023 31.124a1.755 1.755 0 100 3.51 1.755 1.755 0 000-3.51z"/></svg>';class mC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=hC}}window.customElements.define("shopicon-regular-exclamationtriangle",mC);var hn={data:function(){return{fmtLimit:100,fmtDigits:1}},methods:{round:function(e,t){var n=10**t;return(Math.round(e*n)/n).toFixed(t)},fmt:function(e){return e==null?0:(e=Math.abs(e),e>=this.fmtLimit?this.round(e/1e3,this.fmtDigits):this.round(e,0))},fmtKw:function(e=0,t=!0,n=!0){const r=t?1:0,s=t?e/1e3:e;let i="";return n&&(i=t?" kW":" W"),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:r,maximumFractionDigits:r}).format(s)}${i}`},fmtKWh:function(e){return this.fmtKw(e)+"h"},fmtUnit:function(e){return Math.abs(e)>=this.fmtLimit?"k":""},fmtDuration:function(e){if(e<=0||e==null)return"\u2014";var t="0"+e%60,n="0"+Math.floor(e/60)%60,r=""+Math.floor(e/3600);return r.length<2&&(r="0"+r),r+":"+n.substr(-2)+":"+t.substr(-2)},fmtShortDuration:function(e=0,t=!1){if(e<=0)return"\u2014";var n=e%60,r=Math.floor(e/60)%60,s=Math.floor(e/3600),i="";return s>=1?i=s+":"+`${r}`.padStart(2,"0"):r>=1?i=r+":"+`${n}`.padStart(2,"0"):i=`${n}`,t&&(i+=this.fmtShortDurationUnit(e)),i},fmtShortDurationUnit:function(e=0){if(e<=0)return"";var t=Math.floor(e/60)%60,n=Math.floor(e/3600);return n>=1?"h":t>=1?"m":"s"},fmtDayString:function(e){const t=`${e.getFullYear()}`,n=`${e.getMonth()+1}`.padStart(2,"0"),r=`${e.getDate()}`.padStart(2,"0");return`${t}-${n}-${r}`},fmtTimeString:function(e){const t=`${e.getHours()}`.padStart(2,"0"),n=`${e.getMinutes()}`.padStart(2,"0");return`${t}:${n}`},isToday:function(e){return new Date().toDateString()===e.toDateString()},isTomorrow:function(e){const t=new Date;return t.setDate(t.getDate()+1),t.toDateString()===e.toDateString()},weekdayPrefix:function(e){const t=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});return this.isToday(e)?t.formatToParts(0,"day")[0].value:this.isTomorrow(e)?t.formatToParts(1,"day")[0].value:new Intl.DateTimeFormat(this.$i18n.locale,{weekday:"short"}).format(e)},fmtAbsoluteDate:function(e){const t=this.weekdayPrefix(e),n=new Intl.DateTimeFormat(this.$i18n.locale,{hour:"numeric",minute:"numeric"}).format(e);return`${t} ${n}`},fmtMoney:function(e=0,t="EUR"){return new Intl.NumberFormat(this.$i18n.locale,{style:"currency",currency:t}).format(e)},fmtPricePerKWh:function(e=0,t="EUR"){let n=t,r=e,s=3;return["EUR","USD"].includes(t)&&(r*=100,n="ct",s=1),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",maximumFractionDigits:s}).format(r)} ${n}/kWh`},fmtTimeAgo:function(e){const t={day:864e5,hour:36e5,minute:6e4,second:1e3},n=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});for(var r in t)if(Math.abs(e)>t[r]||r=="second")return n.format(Math.round(e/t[r]),r)}}};const pC={name:"Notifications",mixins:[hn],props:{notifications:Array},computed:{iconVisible:function(){return this.notifications.length>0},iconClass:function(){return this.notifications.find(e=>e.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()}}},gC={href:"#","data-bs-toggle":"modal","data-bs-target":"#notificationModal",class:"btn btn-sm btn-link text-decoration-none link-light text-nowrap"},_C={id:"notificationModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true","data-bs-backdrop":"true"},vC={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},bC={class:"modal-content"},yC={class:"modal-header"},EC={class:"modal-title"},wC=S("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),TC={class:"modal-body"},SC=["title"],CC={class:"d-flex align-items-baseline"},AC={class:"flex-grow-1 px-2 py-1 text-break"},kC={key:0,class:"badge rounded-pill bg-secondary"},OC={class:"modal-footer"};function LC(e,t,n,r,s,i){return V(),q("div",null,[Xi(S("button",gC,[S("shopicon-regular-exclamationtriangle",{class:Pe(i.iconClass)},null,2)],512),[[dc,i.iconVisible]]),S("div",_C,[S("div",vC,[S("div",bC,[S("div",yC,[S("h5",EC,K(e.$t("notifications.modalTitle")),1),wC]),S("div",TC,[(V(!0),q(xe,null,Zt(n.notifications,(o,a)=>(V(),q("div",{key:a},[S("small",{class:"d-flex justify-content-end mt-3",title:e.fmtAbsoluteDate(o.time)},K(e.fmtTimeAgo(o.time-new Date)),9,SC),S("p",CC,[S("shopicon-regular-exclamationtriangle",{class:Pe([{"text-danger":o.type==="error","text-warning":o.type==="warn"},"flex-grow-0 d-block"])},null,2),S("span",AC,K(o.message),1),o.count>1?(V(),q("span",kC,K(o.count),1)):Ne("",!0)])]))),128))]),S("div",OC,[S("button",{type:"button","data-bs-dismiss":"modal","aria-label":"Close",class:"btn btn-outline-secondary",onClick:t[0]||(t[0]=(...o)=>i.clear&&i.clear(...o))},K(e.$t("notifications.dismissAll")),1)])])])])])}var NC=Ie(pC,[["render",LC]]),$C='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0 0h48v48H0V0z" fill="none"/><path d="M7.981 40.019h32.038V7.981H7.981v32.038z" id="Shopicon_00000005233862153072290020000010038958663075050425_"/></g></svg>';class xC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=$C}}window.customElements.define("shopicon-filled-square",xC);var PC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M24 29.172L9.414 14.586l-2.828 2.828L24 34.828l17.414-17.414-2.828-2.828z"/></svg>';class IC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=PC}}window.customElements.define("shopicon-regular-arrowdown",IC);var RC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0-.004h48v48H0v-48z" fill="none"/><path d="M35 9.996h-3v-4a2 2 0 00-2-2H18a2 2 0 00-2 2v4h-3a2 2 0 00-2 2v30a2 2 0 002 2h22a2 2 0 002-2v-30a2 2 0 00-2-2zm-15-2h8v2h-8v-2zm13 32H15v-26h18v26z"/><path d="M30 36.996H18v-20h12v20z"/></g></svg>';class MC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=RC}}window.customElements.define("shopicon-regular-batteryfull",MC);var DC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0-.004h48v48H0v-48z" fill="none"/><path d="M35 9.996h-3v-4a2 2 0 00-2-2H18a2 2 0 00-2 2v4h-3a2 2 0 00-2 2v30a2 2 0 002 2h22a2 2 0 002-2v-30a2 2 0 00-2-2zm-15-2h8v2h-8v-2zm13 32H15v-26h18v26z"/><path d="M30 36.996H18v-16h12v16z"/></g></svg>';class FC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=DC}}window.customElements.define("shopicon-regular-batterythreequarters",FC);var HC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0-.004h48v48H0v-48z" fill="none"/><path d="M35 9.996h-3v-4a2 2 0 00-2-2H18a2 2 0 00-2 2v4h-3a2 2 0 00-2 2v30a2 2 0 002 2h22a2 2 0 002-2v-30a2 2 0 00-2-2zm-15-2h8v2h-8v-2zm13 32H15v-26h18v26z"/><path d="M30 36.996H18v-12h12v12z"/></g></svg>';class BC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=HC}}window.customElements.define("shopicon-regular-batteryhalf",BC);var jC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0-.004h48v48H0v-48z" fill="none"/><path d="M34.943 9.996h-3v-4a2 2 0 00-2-2h-12a2 2 0 00-2 2v4h-3a2 2 0 00-2 2v30a2 2 0 002 2h22a2 2 0 002-2v-30a2 2 0 00-2-2zm-15-2h8v2h-8v-2zm13 32h-18v-26h18v26z"/><path d="M17.943 31.053h12v5.943h-12z"/></g></svg>';class VC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=jC}}window.customElements.define("shopicon-regular-batteryquarter",VC);var UC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0 0h48v48H0V0z" fill="none"/><path d="M35 9.992h-3v-4a2 2 0 00-2-2H18a2 2 0 00-2 2v4h-3a2 2 0 00-2 2v30a2 2 0 002 2h22a2 2 0 002-2v-30a2 2 0 00-2-2zm-15-2h8v2h-8v-2zm13 32H15v-26h18v26z"/></g></svg>';class WC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=UC}}window.customElements.define("shopicon-regular-batteryempty",WC);const zC={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 KC(e,t,n,r,s,i){return V(),Je(sc(`shopicon-regular-${i.icon}`))}var Ap=Ie(zC,[["render",KC]]);const YC={name:"LabelBar",props:{value:{type:Number,default:0},hideIcon:{type:Boolean},top:{type:Boolean},bottom:{type:Boolean},first:{type:Boolean},last:{type:Boolean}}},qC={class:"label-bar-scale"},GC={class:"label-bar-icon"};function XC(e,t,n,r,s,i){return V(),q("div",{class:Pe(["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}])},[S("div",qC,[S("div",GC,[ac(e.$slots,"default",{},void 0,!0)])])],2)}var JC=Ie(YC,[["render",XC],["__scopeId","data-v-ec52d0bc"]]),QC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><circle cx="16" cy="26" r="2"/><circle cx="32" cy="26" r="2"/><path d="M42 18h-3.8c-.5-4.5-4.3-8.1-9-8.1H18.8c-4.7 0-8.5 3.6-9 8.1H6c-1.1 0-2 .9-2 2s.9 2 2 2h2.4c-.3.6-.4 1.3-.4 2v10.4c.2 2 1.9 3.6 4 3.6s3.8-1.6 4-3.6V34h16v.4c.2 2 1.9 3.6 4 3.6s3.8-1.6 4-3.6V24c0-.7-.1-1.4-.3-2H42c1.1 0 2-.9 2-2s-.9-2-2-2zm-23.2-4.1h10.5c2.4 0 4.5 1.7 4.9 4.1H13.8c.5-2.4 2.5-4.1 5-4.1zM14 30c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h20c1.1 0 2 .9 2 2v4c0 1.1-.9 2-2 2H14z"/><path d="M0 0h48v48H0V0z" fill="none"/></svg>';class ZC extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=QC}}window.customElements.define("shopicon-regular-car3",ZC);var eA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M24 34c5.514 0 10-4.486 10-10s-4.486-10-10-10-10 4.486-10 10 4.486 10 10 10zm6-10c0 3.309-2.691 6-6 6s-6-2.691-6-6 2.691-6 6-6 6 2.691 6 6zM22 4h4v6h-4zM22 38h4v6h-4zM4 22h6v4H4zM38 22h6v4h-6zM12.268 7.68l3.464-2 3 5.196-3.464 2zM29.267 37.122l3.465-2 3 5.196-3.465 2zM5.68 32.267l5.195-3 2 3.465-5.195 3zM35.125 15.269l5.196-3 2 3.466-5.196 3zM5.68 15.732l2-3.465 5.196 3-2 3.465zM35.123 32.734l2.001-3.465 5.196 3-2 3.465zM12.267 40.32l3-5.197 3.464 2-3 5.196zM29.269 10.875l3-5.195 3.465 2-3 5.196z"/></svg>';class tA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=eA}}window.customElements.define("shopicon-regular-sun",tA);var nA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M8 44h32V20h4L24 4 4 20h4v24zm18-4h-4V28h4v12zM12 18.723l12-9.6 12 9.6V40h-6V24H18v16h-6V18.723z"/></svg>';class rA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=nA}}window.customElements.define("shopicon-regular-home",rA);const sA={name:"Visualization",components:{BatteryIcon:Ap,LabelBar:JC},mixins:[hn],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}},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(e){return this.totalAdjusted===0?"0%":100/this.totalAdjusted*e+"%"},kw:function(e){return this.fmtKw(e,this.valuesInKw,!0)},kwNoUnit:function(e){return this.fmtKw(e,this.valuesInKw,!1)},powerLabelAvailableSpace(e){if(this.totalAdjusted===0)return 0;const t=100/this.totalAdjusted*e;return this.width/100*t},powerLabelEnoughSpace(e){return this.powerLabelAvailableSpace(e)>60},powerLabelSomeSpace(e){return this.powerLabelAvailableSpace(e)>35},hideLabelIcon(e,t=32){if(this.totalAdjusted===0)return!0;const n=100/this.totalAdjusted*e;return this.width/100*n<t},applyThreshold(e){return 100/this.totalRaw*e<2?0:e},updateElementWidth(){this.width=this.$refs.site_progress.getBoundingClientRect().width},labelBarProps(e,t){const n=this[t],r=40;return{value:n,hideIcon:this.hideLabelIcon(n,r),style:{width:this.widthTotal(n)},[e]:!0}}}},br=e=>(Ft("data-v-6f77fea8"),e=e(),Ht(),e),iA={class:"label-scale d-flex"},oA={class:"d-flex justify-content-start flex-grow-1"},aA=br(()=>S("shopicon-regular-sun",null,null,-1)),lA=br(()=>S("shopicon-regular-powersupply",null,null,-1)),cA=br(()=>S("div",{class:"label-scale-name"},"In",-1)),uA={ref:"site_progress",class:"site-progress"},fA={key:0,class:"power"},dA={key:1,class:"power"},hA={key:0,class:"power"},mA={key:1,class:"power"},pA={key:0,class:"power"},gA={key:1,class:"power"},_A={key:0,class:"site-progress-bar bg-light border no-wrap w-100"},vA={class:"label-scale d-flex"},bA={class:"d-flex justify-content-start flex-grow-1"},yA=br(()=>S("shopicon-regular-home",null,null,-1)),EA=br(()=>S("shopicon-regular-car3",null,null,-1)),wA=br(()=>S("shopicon-regular-powersupply",null,null,-1)),TA=br(()=>S("div",{class:"label-scale-name"},"Out",-1));function SA(e,t,n,r,s,i){const o=Ce("LabelBar"),a=Ce("BatteryIcon");return V(),q("div",{class:Pe(["visualization",{"visualization--ready":e.visualizationReady}])},[S("div",iA,[S("div",oA,[se(o,dt(rt(i.labelBarProps("top","pvProduction"))),{default:wt(()=>[aA]),_:1},16),se(o,dt(rt(i.labelBarProps("top","batteryDischarge"))),{default:wt(()=>[se(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),se(o,dt(rt(i.labelBarProps("top","gridImport"))),{default:wt(()=>[lA]),_:1},16)]),cA]),S("div",uA,[S("div",{class:"site-progress-bar self-consumption",style:Ke({width:i.widthTotal(i.selfConsumptionAdjusted)})},[i.powerLabelEnoughSpace(n.selfConsumption)?(V(),q("span",fA,K(i.kw(n.selfConsumption)),1)):i.powerLabelSomeSpace(n.selfConsumption)?(V(),q("span",dA,K(i.kwNoUnit(n.selfConsumption)),1)):Ne("",!0)],4),S("div",{class:"site-progress-bar grid-import",style:Ke({width:i.widthTotal(i.gridImportAdjusted)})},[i.powerLabelEnoughSpace(n.gridImport)?(V(),q("span",hA,K(i.kw(n.gridImport)),1)):i.powerLabelSomeSpace(n.gridImport)?(V(),q("span",mA,K(i.kwNoUnit(n.gridImport)),1)):Ne("",!0)],4),S("div",{class:"site-progress-bar pv-export",style:Ke({width:i.widthTotal(i.pvExportAdjusted)})},[i.powerLabelEnoughSpace(n.pvExport)?(V(),q("span",pA,K(i.kw(n.pvExport)),1)):i.powerLabelSomeSpace(n.pvExport)?(V(),q("span",gA,K(i.kwNoUnit(n.pvExport)),1)):Ne("",!0)],4),i.totalAdjusted<=0?(V(),q("div",_A,[S("span",null,K(e.$t("main.energyflow.noEnergy")),1)])):Ne("",!0)],512),S("div",vA,[S("div",bA,[se(o,dt(rt(i.labelBarProps("bottom","homePower"))),{default:wt(()=>[yA]),_:1},16),se(o,dt(rt(i.labelBarProps("bottom","loadpoints"))),{default:wt(()=>[EA]),_:1},16),se(o,dt(rt(i.labelBarProps("bottom","batteryCharge"))),{default:wt(()=>[se(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),se(o,dt(rt(i.labelBarProps("bottom","gridExport"))),{default:wt(()=>[wA]),_:1},16)]),TA])],2)}var CA=Ie(sA,[["render",SA],["__scopeId","data-v-6f77fea8"]]),AA='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M43.109 14.336l-12-8a1.673 1.673 0 00-.151-.08 1.811 1.811 0 00-.19-.1 1.926 1.926 0 00-.255-.079c-.04-.011-.077-.027-.118-.035A2 2 0 0029.981 6h-12a2.012 2.012 0 00-.378.039c-.05.01-.1.029-.145.042a1.421 1.421 0 00-.49.211c-.027.016-.055.025-.081.043h-.008L4.891 14.336A2 2 0 006 18h10v5.528L8.211 39.106a2 2 0 002.649 2.7L24 35.549l13.14 6.258a2 2 0 002.649-2.7L32 23.528V18h10a2 2 0 001.109-3.664zM20 10h8v4h-8zm-7.394 4L16 11.738V14zm16.158 12l1.151 2.3L24 31.119 18.085 28.3l1.151-2.3zm-14.375 9.7l1.911-3.819 3.052 1.453zm14.263-2.362l3.048-1.457 1.911 3.819zM28 22h-8v-4h8zm4-8v-2.263L35.4 14z"/></svg>';class kA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=AA}}window.customElements.define("shopicon-regular-powersupply",kA);const OA={name:"EnergyflowEntry",components:{BatteryIcon:Ap},mixins:[hn],props:{name:{type:String},icon:{type:String},power:{type:Number},soc:{type:Number},valuesInKw:{type:Boolean}},computed:{active:function(){return this.power>10},isBattery:function(){return this.icon==="battery"},hasSoC:function(){return this.isBattery&&!isNaN(this.soc)}},methods:{kw:function(e){return this.fmtKw(e,this.valuesInKw)}}},LA={class:"d-flex flex-nowrap"},NA={class:"text-nowrap flex-grow-1 ms-3"},$A={class:"text-end text-nowrap ps-1 fw-bold"},xA={key:0};function PA(e,t,n,r,s,i){const o=Ce("BatteryIcon");return V(),q("div",{class:Pe(["d-flex justify-content-between mb-2 entry",{"text-gray-medium":!i.active}])},[S("span",LA,[i.isBattery?(V(),Je(o,{key:0,soc:n.soc},null,8,["soc"])):(V(),Je(sc(`shopicon-regular-${n.icon}`),{key:1}))]),S("span",NA,K(n.name),1),S("span",$A,[i.hasSoC?(V(),q("span",xA,K(n.soc)+"% / ",1)):Ne("",!0),De(K(i.kw(n.power)),1)])],2)}var IA=Ie(OA,[["render",PA],["__scopeId","data-v-d9ddb656"]]);const RA={name:"Energyflow",components:{Visualization:CA,EnergyflowEntry:IA},mixins:[hn],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}},data:()=>({detailsOpen:!1,detailsCompleteHeight:null}),computed:{gridImport:function(){return Math.max(0,this.gridPower)},pvProduction:function(){return this.pvConfigured?Math.abs(this.pvPower):this.pvExport},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 e=this.batteryDischarge+this.pvProduction,t=this.homePower+this.batteryCharge+this.loadpointsPower;return Math.min(e,t)},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(e){return this.fmtKw(e,this.valuesInKw)},toggleDetails:function(){this.updateHeight(),this.detailsOpen=!this.detailsOpen},updateHeight:function(){this.detailsCompleteHeight=this.$refs.detailsInner.offsetHeight}}},hs=e=>(Ft("data-v-8704b160"),e=e(),Ht(),e),MA={class:"row"},DA=hs(()=>S("div",{class:"indicator position-absolute bottom-0 start-50"},[S("shopicon-regular-arrowdown")],-1)),FA={ref:"detailsInner",class:"details-inner row"},HA={class:"col-12 d-flex justify-content-between pt-2 mb-4"},BA={class:"d-flex flex-nowrap align-items-center"},jA=hs(()=>S("span",{class:"color-self me-2"},[S("shopicon-filled-square")],-1)),VA={key:0,class:"d-flex flex-nowrap align-items-center"},UA=hs(()=>S("span",{class:"color-grid ms-2"},[S("shopicon-filled-square")],-1)),WA={key:1,class:"d-flex flex-nowrap align-items-center"},zA=hs(()=>S("span",{class:"color-export ms-2"},[S("shopicon-filled-square")],-1)),KA={class:"col-12 col-md-6 pe-md-5 pb-4 d-flex flex-column justify-content-between"},YA={class:"d-flex justify-content-between align-items-end mb-4"},qA=hs(()=>S("h3",{class:"m-0"},"In",-1)),GA={class:"fw-bold text-gray-medium"},XA={class:"col-12 col-md-6 ps-md-5 pb-4 d-flex flex-column justify-content-between"},JA={class:"d-flex justify-content-between align-items-end mb-4"},QA=hs(()=>S("h3",{class:"m-0"},"Out",-1)),ZA={class:"fw-bold text-gray-medium"};function e2(e,t,n,r,s,i){const o=Ce("Visualization"),a=Ce("EnergyflowEntry");return V(),q("div",{class:Pe(["energyflow cursor-pointer position-relative",{"energyflow--open":e.detailsOpen}]),onClick:t[0]||(t[0]=(...l)=>i.toggleDetails&&i.toggleDetails(...l))},[S("div",MA,[se(o,{class:"col-12 mb-3 mb-md-4",gridImport:i.gridImport,selfConsumption:i.selfConsumption,loadpoints:n.loadpointsPower,pvExport:i.pvExport,batteryCharge:i.batteryCharge,batteryDischarge:i.batteryDischarge,pvProduction:i.pvProduction,homePower:n.homePower,batterySoC:n.batterySoC,valuesInKw:i.valuesInKw},null,8,["gridImport","selfConsumption","loadpoints","pvExport","batteryCharge","batteryDischarge","pvProduction","homePower","batterySoC","valuesInKw"])]),DA,S("div",{class:"details",style:Ke({height:i.detailsHeight})},[S("div",FA,[S("div",HA,[S("div",BA,[jA,S("span",null,K(e.$t("main.energyflow.selfConsumption")),1)]),i.gridImport>0?(V(),q("div",VA,[S("span",null,K(e.$t("main.energyflow.gridImport")),1),UA])):(V(),q("div",WA,[S("span",null,K(e.$t("main.energyflow.pvExport")),1),zA]))]),S("div",KA,[S("div",YA,[qA,S("span",GA,K(i.kw(i.inPower)),1)]),S("div",null,[se(a,{name:e.$t("main.energyflow.pvProduction"),icon:"sun",power:i.pvProduction,valuesInKw:i.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(V(),Je(a,{key:0,name:e.$t("main.energyflow.batteryDischarge"),icon:"battery",soc:n.batterySoC,power:i.batteryDischarge,valuesInKw:i.valuesInKw},null,8,["name","soc","power","valuesInKw"])):Ne("",!0),se(a,{name:e.$t("main.energyflow.gridImport"),icon:"powersupply",power:i.gridImport,valuesInKw:i.valuesInKw},null,8,["name","power","valuesInKw"])])]),S("div",XA,[S("div",JA,[QA,S("span",ZA,K(i.kw(i.outPower)),1)]),S("div",null,[se(a,{name:e.$t("main.energyflow.homePower"),icon:"home",power:n.homePower,valuesInKw:i.valuesInKw},null,8,["name","power","valuesInKw"]),se(a,{name:e.$tc("main.energyflow.loadpoints",n.activeLoadpointsCount,{count:n.activeLoadpointsCount}),icon:"car3",power:n.loadpointsPower,valuesInKw:i.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(V(),Je(a,{key:0,name:e.$t("main.energyflow.batteryCharge"),icon:"battery",soc:n.batterySoC,power:i.batteryCharge,valuesInKw:i.valuesInKw},null,8,["name","soc","power","valuesInKw"])):Ne("",!0),se(a,{name:e.$t("main.energyflow.pvExport"),icon:"powersupply",power:i.pvExport,valuesInKw:i.valuesInKw},null,8,["name","power","valuesInKw"])])])],512)],4)],2)}var Xf=Ie(RA,[["render",e2],["__scopeId","data-v-8704b160"]]),t2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0 0h48v48H0z" fill="none"/><path d="M24 40c-8.822 0-16-7.178-16-16S15.178 8 24 8s16 7.178 16 16-7.178 16-16 16z"/></g></svg>';class n2 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=t2}}window.customElements.define("shopicon-filled-circle",n2);var r2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M25.506 4.065a2 2 0 00-2.25.956l-11.282 20.11a2 2 0 001.745 2.978H22V42a2 2 0 003.827.813 552.532 552.532 0 0010.037-24.088A2 2 0 0034 16h-7V6a2 2 0 00-1.494-1.935zM31.067 20A548.478 548.478 0 0126 32.375v-6.266a2 2 0 00-2-2h-6.867L23 13.652V18a2 2 0 002 2h6.067z"/></svg>';class s2 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=r2}}window.customElements.define("shopicon-regular-lightning",s2);var i2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><circle cx="24" cy="24" r="5"/><circle cx="24" cy="11" r="5"/><circle cx="24" cy="37" r="5"/></svg>';class o2 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=i2}}window.customElements.define("shopicon-filled-options",o2);const a2={name:"Mode",props:{mode:String},emits:["updated"],data(){return{modes:["off","now","minpv","pv"]}},methods:{isActive:function(e){return this.mode===this.mapToOldModes(e)},setTargetMode:function(e){this.$emit("updated",this.mapToOldModes(e))},mapToOldModes:function(e){return{fast:"now",cheap:"pv"}[e]||e}}},l2={key:0,class:"mode-group border d-inline-flex",role:"group"},c2=["onClick"],u2={key:1,class:"mode-group border d-inline-flex",role:"group"},f2=["onClick"],d2={class:"d-inline d-sm-none"},h2={class:"d-none d-sm-inline"};function m2(e,t,n,r,s,i){return e.$hiddenFeatures?(V(),q("div",l2,[(V(),q(xe,null,Zt(["fast","cheap"],o=>S("button",{key:o,type:"button",class:Pe(["btn",{active:i.isActive(o)}]),onClick:a=>i.setTargetMode(o)},K(e.$t(`main.mode.${o}`)),11,c2)),64))])):(V(),q("div",u2,[(V(!0),q(xe,null,Zt(s.modes,o=>(V(),q("button",{key:o,type:"button",class:Pe(["btn",{active:i.isActive(o)}]),onClick:a=>i.setTargetMode(o)},[S("span",d2,K(e.$t(`main.mode.${o}Short`)),1),S("span",h2,K(e.$t(`main.mode.${o}Long`)),1)],10,f2))),128))]))}var p2=Ie(a2,[["render",m2],["__scopeId","data-v-b76c4bcc"]]),yr={methods:{collectProps:function(e){let t={};for(var n in e.props)n in this&&(t[n]=this[n]);return t}}};const g2={name:"LabelAndValue",props:{label:String,value:String,extraValue:String}},_2={class:"root"},v2={class:"mb-2 label"},b2={class:"value m-0"},y2={key:0,class:"extraValue d-block d-sm-inline text-nowrap"};function E2(e,t,n,r,s,i){return V(),q("div",_2,[S("div",v2,K(n.label),1),ac(e.$slots,"default",{},()=>[S("h3",b2,[De(K(n.value)+" ",1),n.extraValue?(V(),q("span",y2,K(n.extraValue),1)):Ne("",!0)])],!0)])}var Tc=Ie(g2,[["render",E2],["__scopeId","data-v-20bd6c8c"]]),w2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M25.074 4.03c-5.543-.298-10.82 1.648-14.84 5.462C6.214 13.307 4 18.46 4 24.001c0 6.297 3.021 12.302 8.081 16.062a2 2 0 102.387-3.211C10.357 33.799 8 29.115 8 24.001c0-4.433 1.771-8.556 4.988-11.607 3.215-3.05 7.424-4.592 11.877-4.37 8.053.423 14.69 7.062 15.112 15.113.373 7.106-4.053 13.685-10.763 15.997a2.358 2.358 0 01-2.156-.325A2.489 2.489 0 0126 36.762V32.65c2.323-.829 4-3.049 4-5.648v-3.946-6.013a2 2 0 00-4 0v2.959h-4v-2.959a2 2 0 00-4 0V27.002c0 2.598 1.677 4.818 4 5.648v4.113c0 2.1 1.022 4.082 2.736 5.304a6.345 6.345 0 003.699 1.202c.696 0 1.397-.116 2.082-.353 8.388-2.89 13.92-11.109 13.454-19.987-.526-10.07-8.826-18.371-18.897-18.899z"/></svg>';class T2 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=w2}}window.customElements.define("shopicon-regular-cablecharge",T2);const S2={name:"VehicleTitle",mixins:[yr],props:{vehiclePresent:Boolean,vehicleTitle:String,parked:Boolean},computed:{name(){return this.vehiclePresent||this.parked?this.vehicleTitle||this.$t("main.vehicle.fallbackName"):this.$t("main.vehicle.noVehicle")}}},C2={class:"d-flex justify-content-between mb-3 align-items-center"},A2={class:"d-flex align-items-center m-0 flex-grow-1 overflow-hidden"},k2={key:0,class:"me-2 flex-shrink-0 car-icon"},O2={key:1,class:"me-2 flex-shrink-0 car-icon"},L2={class:"flex-grow-1 text-truncate"},N2={key:0,class:"btn btn-link text-white p-0 flex-shrink-0"},$2=S("shopicon-filled-options",{size:"s"},null,-1),x2=[$2];function P2(e,t,n,r,s,i){return V(),q("div",C2,[S("h4",A2,[n.vehiclePresent||n.parked?(V(),q("shopicon-regular-car3",k2)):(V(),q("shopicon-regular-cablecharge",O2)),S("span",L2,K(i.name),1)]),e.$hiddenFeatures?(V(),q("button",N2,x2)):Ne("",!0)])}var Jf=Ie(S2,[["render",P2]]);const I2={name:"VehicleSoc",props:{connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,targetSoC:Number,parked:Boolean},emits:["target-soc-drag","target-soc-updated"],data:function(){return{selectedTargetSoC:null,interactionStartScreenY:null}},computed:{vehicleSoCDisplayWidth:function(){return this.vehiclePresent&&this.vehicleSoC>=0?this.vehicleSoC:100},progressColor:function(){return this.minSoCActive?"bg-danger":"bg-primary"},minSoCActive:function(){return this.minSoC>0&&this.vehicleSoC<this.minSoC},remainingSoCWidth:function(){return this.vehicleSoCDisplayWidth===100?null:this.minSoCActive?this.minSoC-this.vehicleSoC:this.visibleTargetSoC>this.vehicleSoC?this.visibleTargetSoC-this.vehicleSoC:null},visibleTargetSoC:function(){return Number(this.selectedTargetSoC||this.targetSoC)}},watch:{targetSoC:function(){this.selectedTargetSoC=this.targetSoC}},methods:{changeTargetSoCStart:function(e){const t=e.screenY||e.changedTouches[0].screenY;this.interactionStartScreenY=t},changeTargetSoCEnd:function(e){const t=e.screenY||e.changedTouches[0].screenY;if(Math.abs(t-this.interactionStartScreenY)>80)return e.preventDefault(),e.target.value=this.targetSoC,this.selectedTargetSoC=this.targetSoC,!1;e.target.value!==this.targetSoC&&this.$emit("target-soc-updated",e.target.value)},movedTargetSoC:function(e){return e.target.value<20?(e.target.value=20,this.selectedTargetSoC=e.target.value,e.preventDefault(),!1):(this.selectedTargetSoC=e.target.value,this.$emit("target-soc-drag",this.selectedTargetSoC),!0)}}},R2={class:"vehicle-soc"},M2={class:"progress"},D2={class:"target"},F2=["value"];function H2(e,t,n,r,s,i){return V(),q("div",R2,[S("div",M2,[n.connected||n.parked?(V(),q("div",{key:0,class:Pe(["progress-bar",{[i.progressColor]:!0,"progress-bar-striped":n.charging,"progress-bar-animated":n.charging}]),role:"progressbar",style:Ke({width:`${i.vehicleSoCDisplayWidth}%`})},null,6)):Ne("",!0),i.remainingSoCWidth>0&&n.enabled&&n.connected?(V(),q("div",{key:1,class:Pe(["progress-bar bg-muted",i.progressColor]),role:"progressbar",style:Ke({width:`${i.remainingSoCWidth}%`,transition:"none"})},null,6)):Ne("",!0)]),S("div",D2,[S("div",{class:"target-label d-flex align-items-center justify-content-center",style:Ke({left:`${i.visibleTargetSoC}%`})},null,4),n.vehiclePresent&&(n.connected||n.parked)?(V(),q("input",{key:0,type:"range",min:"0",max:"100",step:"5",value:i.visibleTargetSoC,class:"target-slider",onInput:t[0]||(t[0]=(...o)=>i.movedTargetSoC&&i.movedTargetSoC(...o)),onMousedown:t[1]||(t[1]=(...o)=>i.changeTargetSoCStart&&i.changeTargetSoCStart(...o)),onTouchstart:t[2]||(t[2]=(...o)=>i.changeTargetSoCStart&&i.changeTargetSoCStart(...o)),onMouseup:t[3]||(t[3]=(...o)=>i.changeTargetSoCEnd&&i.changeTargetSoCEnd(...o)),onTouchend:t[4]||(t[4]=(...o)=>i.changeTargetSoCEnd&&i.changeTargetSoCEnd(...o))},null,40,F2)):Ne("",!0)])])}var Qf=Ie(I2,[["render",H2],["__scopeId","data-v-cbe29806"]]);const B2={name:"VehicleStatus",mixins:[yr,hn],props:{vehicleSoC: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 e=(t,n)=>this.$t(`main.vehicleStatus.${t}`,n);if(!this.connected)return e("disconnected");if(this.minSoC>0&&this.vehicleSoC<this.minSoC)return e("minCharge",{soc:this.minSoC});if(this.targetTime){if(this.charging)return e("targetChargeActive");if(this.enabled)return e("targetChargeWaitForVehicle");if(this.targetTimeProjectedStart)return e("targetChargePlanned",{time:this.fmtAbsoluteDate(new Date(this.targetTimeProjectedStart))})}return this.pvTimerActive&&!this.enabled&&this.pvAction==="enable"?e("pvEnable",{remaining:this.fmtShortDuration(this.pvRemainingInterpolated,!0)}):this.enabled&&!this.charging?e("waitForVehicle"):this.pvTimerActive&&this.charging&&this.pvAction==="disable"?e("pvDisable",{remaining:this.fmtShortDuration(this.pvRemainingInterpolated,!0)}):this.phaseTimerActive?e(this.phaseAction,{remaining:this.fmtShortDuration(this.phaseRemainingInterpolated,!0)}):this.charging?e("charging"):e("connected")}}},j2={class:"d-block text-gray"};function V2(e,t,n,r,s,i){return V(),q("div",j2,K(i.message)+"\xA0",1)}var Zf=Ie(B2,[["render",V2]]),U2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M26 8h-4v14H8v4h14v14h4V26h14v-4H26z"/></svg>';class W2 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=U2}}window.customElements.define("shopicon-filled-plus",W2);var z2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M30 9.172l6-6L44.828 12l-6 6z"/><path d="M27.172 12L4 35.172V44h8.829l26-26L36 20.828z"/></svg>';class K2 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=z2}}window.customElements.define("shopicon-filled-edit",K2);const Y2="7:00",ed="last_target_time",q2={name:"TargetCharge",components:{LabelAndValue:Tc},mixins:[hn],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},buttonIsEnabled:function(){return this.targetChargeEnabled&&!this.disabled},selectedTargetTimeValid:function(){return new Date<this.selectedTargetTime},selectedTargetTime:function(){return new Date(`${this.selectedDay}T${this.selectedTime||"00:00"}`)},modalId:function(){return`targetChargeModal_${this.id}`}},watch:{targetTimeLabel:function(){const e=new Date(this.targetTime);return this.$t("main.targetCharge.activeLabel",{time:this.fmtAbsoluteDate(e)})},targetTime(){this.initInputFields()}},mounted:function(){this.initInputFields()},methods:{targetTimeLabel:function(){if(this.targetChargeEnabled){const e=new Date(this.targetTime);return this.$t("main.targetCharge.activeLabel",{time:this.fmtAbsoluteDate(e)})}return this.$t("main.targetCharge.inactiveLabel")},defaultDate:function(){const[e,t]=(window.localStorage[ed]||Y2).split(":"),n=new Date;return n.setSeconds(0),n.setMinutes(t),n.setHours(e),n<new Date&&n.setDate(n.getDate()+1),n},initInputFields:function(){let e=this.defaultDate(),t=new Date(this.targetTime)>new Date;this.targetChargeEnabled&&t&&(e=new Date(this.targetTime)),this.selectedDay=this.fmtDayString(e),this.selectedTime=this.fmtTimeString(e)},dayOptions:function(){const e=[],t=new Date,n=[this.$t("main.targetCharge.today"),this.$t("main.targetCharge.tomorrow")];for(let r=0;r<7;r++){const s=t.toLocaleDateString("default",{month:"short",day:"numeric"}),i=n[r]||t.toLocaleDateString("default",{weekday:"long"});e.push({value:t.toISOString().split("T")[0],name:`${s} (${i})`}),t.setDate(t.getDate()+1)}return e},minTime:function(){return new Date().toISOString().split("T")[1].slice(0,-8)},setTargetTime:function(){try{const e=this.selectedTargetTime.getHours(),t=this.selectedTargetTime.getMinutes();window.localStorage[ed]=`${e}:${t}`}catch(e){console.warn(e)}this.$emit("target-time-updated",this.selectedTargetTime)},removeTargetTime:function(){this.$emit("target-time-removed")}}},kp=e=>(Ft("data-v-61f82e9c"),e=e(),Ht(),e),G2=["data-bs-target"],X2={key:0},J2={key:1},Q2=["id"],Z2={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},ek={class:"modal-content"},tk={class:"modal-header"},nk={class:"modal-title"},rk=kp(()=>S("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),sk={class:"modal-body"},ik={class:"form-group"},ok={for:"targetTimeLabel",class:"mb-3"},ak={class:"d-flex justify-content-between",style:{"max-width":"350px"}},lk=["value"],ck={key:0,class:"text-danger mb-0"},uk={class:"small mt-3 text-muted mb-0"},fk={class:"text-evcc"},dk=kp(()=>S("a",{href:"https://github.com/evcc-io/evcc/discussions/1433",target:"_blank"},"GitHub Discussions",-1)),hk=De(". "),mk={class:"modal-footer d-flex justify-content-between"},pk=["disabled"];function gk(e,t,n,r,s,i){const o=Ce("LabelAndValue");return V(),q("div",null,[se(o,{class:"flex-grow-1",label:e.$t("main.targetCharge.title")},{default:wt(()=>[S("button",{class:Pe(["btn btn-link p-0 value text-end",i.buttonIsEnabled?"text-white":"text-gray"]),"data-bs-toggle":"modal","data-bs-target":`#${i.modalId}`},[i.targetChargeEnabled?(V(),q("strong",X2,K(i.targetTimeLabel()),1)):(V(),q("span",J2,K(e.$t("main.targetCharge.setTargetTime")),1))],10,G2)]),_:1},8,["label"]),(V(),Je(Ro,{to:"body"},[S("div",{id:i.modalId,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[S("div",Z2,[S("div",ek,[S("div",tk,[S("h5",nk,K(e.$t("main.targetCharge.modalTitle")),1),rk]),S("form",{onSubmit:t[3]||(t[3]=Dm((...a)=>i.setTargetTime&&i.setTargetTime(...a),["prevent"]))},[S("div",sk,[S("div",ik,[S("label",ok,K(e.$t("main.targetCharge.description",{targetSoC:n.targetSoC})),1),S("div",ak,[Xi(S("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>e.selectedDay=a),class:"form-select me-2",style:{"flex-basis":"60%"}},[(V(!0),q(xe,null,Zt(i.dayOptions(),a=>(V(),q("option",{key:a.value,value:a.value},K(a.name),9,lk))),128))],512),[[fc,e.selectedDay]]),Xi(S("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>e.selectedTime=a),type:"time",class:"form-control ms-2",style:{"flex-basis":"40%"},step:60*5,required:""},null,512),[[Zs,e.selectedTime]])])]),i.selectedTargetTimeValid?Ne("",!0):(V(),q("p",ck,K(e.$t("main.targetCharge.targetIsInThePast")),1)),S("p",uk,[S("strong",fk,K(e.$t("main.targetCharge.experimentalLabel"))+": ",1),De(" "+K(e.$t("main.targetCharge.experimentalText"))+" ",1),dk,hk])]),S("div",mk,[S("button",{type:"button",class:"btn btn-outline-secondary","data-bs-dismiss":"modal",onClick:t[2]||(t[2]=(...a)=>i.removeTargetTime&&i.removeTargetTime(...a))},K(e.$t("main.targetCharge.remove")),1),S("button",{type:"submit",class:"btn btn-primary","data-bs-dismiss":"modal",disabled:!i.selectedTargetTimeValid},K(e.$t("main.targetCharge.activate")),9,pk)])],32)])])],8,Q2)]))])}var td=Ie(q2,[["render",gk],["__scopeId","data-v-61f82e9c"]]);const _k={name:"Vehicle",components:{VehicleTitle:Jf,VehicleSoc:Qf,VehicleStatus:Zf,LabelAndValue:Tc,TargetCharge:td},mixins:[yr],props:{id:[String,Number],connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,vehicleRange:Number,vehicleTitle:String,targetTimeActive:Boolean,targetTime:String,targetTimeProjectedStart:String,targetSoC:Number,mode:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number,parked:Boolean},emits:["target-time-removed","target-time-updated","target-soc-updated"],data(){return{displayTargetSoC:this.targetSoC}},computed:{vehicleSocProps:function(){return this.collectProps(Qf)},vehicleStatus:function(){return this.collectProps(Zf)},vehicleTitleProps:function(){return this.collectProps(Jf)},targetCharge:function(){return this.collectProps(td)},estimatedTargetRange:function(){return this.vehicleSoC>10&&this.vehicleRange&&this.displayTargetSoC?Math.round(this.displayTargetSoC*(this.vehicleRange/this.vehicleSoC))+" km":null},targetChargeDisabled:function(){return!this.connected||!["pv","minpv"].includes(this.mode)}},watch:{targetSoC:function(){this.displayTargetSoC=this.targetSoC}},methods:{targetSocDrag:function(e){this.displayTargetSoC=e},targetSocUpdated:function(e){this.displayTargetSoC=e,this.$emit("target-soc-updated",e)},setTargetTime:function(e){this.$emit("target-time-updated",e)},removeTargetTime:function(){this.$emit("target-time-removed")}}},vk=e=>(Ft("data-v-53388417"),e=e(),Ht(),e),bk={class:"vehicle p-4 pb-3"},yk={key:1},Ek={class:"details d-flex flex-wrap justify-content-between"},wk={key:0,class:"d-flex justify-content-start"},Tk=vk(()=>S("small",null,"vor 5 Stunden",-1)),Sk=[Tk];function Ck(e,t,n,r,s,i){const o=Ce("VehicleTitle"),a=Ce("VehicleStatus"),l=Ce("VehicleSoc"),c=Ce("LabelAndValue"),u=Ce("TargetCharge");return V(),q("div",bk,[se(o,dt(rt(i.vehicleTitleProps)),null,16),n.parked?Ne("",!0):(V(),Je(a,Rt({key:0},i.vehicleStatus,{class:"mb-2"}),null,16)),se(l,Rt(i.vehicleSocProps,{class:"mt-2 mb-4",onTargetSocUpdated:i.targetSocUpdated,onTargetSocDrag:i.targetSocDrag}),null,16,["onTargetSocUpdated","onTargetSocDrag"]),n.vehiclePresent?(V(),q("div",yk,[S("div",Ek,[se(c,{class:"flex-grow-1 text-start",label:e.$t("main.vehicle.vehicleSoC"),value:`${n.vehicleSoC||"--"} %`,extraValue:n.vehicleRange?`${n.vehicleRange} km`:null},null,8,["label","value","extraValue"]),se(c,{class:"flex-grow-1 text-center",label:e.$t("main.vehicle.targetSoC"),value:`${s.displayTargetSoC} %`,extraValue:i.estimatedTargetRange},null,8,["label","value","extraValue"]),se(u,Rt({class:"flex-grow-1 text-end target-charge"},i.targetCharge,{disabled:i.targetChargeDisabled,onTargetTimeUpdated:i.setTargetTime,onTargetTimeRemoved:i.removeTargetTime}),null,16,["disabled","onTargetTimeUpdated","onTargetTimeRemoved"])]),e.$hiddenFeatures?(V(),q("div",wk,Sk)):Ne("",!0)])):Ne("",!0)])}var sl=Ie(_k,[["render",Ck],["__scopeId","data-v-53388417"]]);const Ak={name:"Phases",props:{chargeCurrent:{type:Number},chargeCurrents:{type:Object},activePhases:{type:Number},minCurrent:{type:Number},maxCurrent:{type:Number},phaseAction:{type:String},phaseRemaining:{type:Number}},computed:{phaseTimerVisible(){return this.phaseTimerActive&&!this.pvTimerActive?!0:this.phaseTimerActive&&this.pvTimerActive?this.phaseRemainingInterpolated<this.pvRemainingInterpolated:!1},pvTimerVisible(){return this.pvTimerActive&&!this.phaseTimerActive?!0:this.pvTimerActive&&this.phaseTimerActive?this.pvRemainingInterpolated<this.phaseRemainingInterpolated:!1}},methods:{inactive(e){return e>this.activePhases},targetWidth(){let e=Math.min(Math.max(this.minCurrent,this.chargeCurrent),this.maxCurrent);return 100/this.maxCurrent*e},realWidth(e){if(this.chargeCurrents){const t=this.chargeCurrents[e-1]||0;return 100/this.maxCurrent*t}return this.targetWidth()}}},kk={class:"phases d-flex justify-content-between"};function Ok(e,t,n,r,s,i){return V(),q("div",kk,[(V(),q(xe,null,Zt([1,2,3],o=>S("div",{key:o,class:Pe(["phase me-1",{inactive:i.inactive(o)}])},[S("div",{class:"target",style:Ke({width:`${i.targetWidth()}%`})},null,4),S("div",{class:"real",style:Ke({width:`${i.realWidth(o)}%`})},null,4)],2)),64))])}var nd=Ie(Ak,[["render",Ok],["__scopeId","data-v-2b56244b"]]);const Lk={name:"Loadpoint",components:{Mode:p2,Vehicle:sl,Phases:nd,LabelAndValue:Tc},mixins:[hn,yr],props:{id:Number,single:Boolean,title:String,mode:String,targetSoC:Number,remoteDisabled:Boolean,remoteDisabledSource:String,chargeDuration:Number,charging:Boolean,connected:Boolean,enabled:Boolean,vehicleTitle:String,vehicleSoC:Number,vehiclePresent:Boolean,vehicleRange:Number,minSoC:Number,targetTime:String,targetTimeActive:Boolean,targetTimeProjectedStart:String,vehicleProviderLoggedIn:Boolean,vehicleProviderLoginPath:String,vehicleProviderLogoutPath:String,chargePower:Number,chargedEnergy:Number,climater:String,chargeRemainingDuration:Number,phases:Number,minCurrent:Number,maxCurrent:Number,activePhases:Number,chargeCurrent:Number,vehicleCapacity: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(nd)},vehicle:function(){return this.collectProps(sl)}},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(e){return"loadpoints/"+this.id+"/"+e},setTargetMode:function(e){er.post(this.apiPath("mode")+"/"+e)},setTargetSoC:function(e){er.post(this.apiPath("targetsoc")+"/"+e)},setTargetTime:function(e){const t=`${this.fmtDayString(e)}T${this.fmtTimeString(e)}:00`;er.post(this.apiPath("targetcharge")+"/"+this.targetSoC+"/"+t)},removeTargetTime:function(){er.delete(this.apiPath("targetcharge"))}}},Nk=e=>(Ft("data-v-23cdc18f"),e=e(),Ht(),e),$k={class:"loadpoint bg-white p-4"},xk={class:"d-flex justify-content-between align-items-center mb-3"},Pk={class:"mb-3 me-2 text-truncate"},Ik={class:"mb-3 d-flex align-items-center"},Rk={key:0,class:"btn btn-link text-gray p-0 flex-shrink-0"},Mk=Nk(()=>S("shopicon-filled-options",{size:"s"},null,-1)),Dk=[Mk],Fk={class:"details d-flex align-items-start mb-3"},Hk={class:"d-flex align-items-center"};function Bk(e,t,n,r,s,i){const o=Ce("Mode"),a=Ce("LabelAndValue"),l=Ce("Phases"),c=Ce("Vehicle");return V(),q("div",$k,[S("div",xk,[S("h3",Pk,K(n.title||e.$t("main.loadpoint.fallbackName")),1),S("div",Ik,[se(o,{mode:n.mode,onUpdated:i.setTargetMode},null,8,["mode","onUpdated"]),e.$hiddenFeatures?(V(),q("button",Rk,Dk)):Ne("",!0)])]),n.remoteDisabled?(V(),q("div",{key:0,class:Pe(["alert alert-warning my-4 py-2",`${n.remoteDisabled==="hard"?"alert-danger":"alert-warning"}`]),role:"alert"},K(e.$t(n.remoteDisabled==="hard"?"main.loadpoint.remoteDisabledHard":"main.loadpoint.remoteDisabledSoft",{source:n.remoteDisabledSource})),3)):Ne("",!0),S("div",Fk,[S("div",Hk,[S("div",null,[se(a,{label:e.$t("main.loadpoint.power"),value:e.fmtKw(n.chargePower),class:"mb-2"},null,8,["label","value"]),se(l,Rt(i.phasesProps,{class:["opacity-transiton",`opacity-${n.charging?"100":"0"}`]}),null,16,["class"])]),S("shopicon-regular-lightning",{class:Pe(["text-evcc opacity-transiton",`opacity-${n.charging?"100":"0"}`]),size:"m"},null,2)]),se(a,{label:e.$t("main.loadpoint.charged"),value:e.fmtKWh(n.chargedEnergy)},null,8,["label","value"]),s.chargeRemainingDurationInterpolated?(V(),Je(a,{key:0,label:e.$t("main.loadpoint.remaining"),value:`
|
|
${e.fmtShortDuration(s.chargeRemainingDurationInterpolated)}
|
|
${e.fmtShortDurationUnit(s.chargeRemainingDurationInterpolated,!0)}`},null,8,["label","value"])):(V(),Je(a,{key:1,label:e.$t("main.loadpoint.duration"),value:`
|
|
${e.fmtShortDuration(s.chargeDurationInterpolated)}
|
|
${e.fmtShortDurationUnit(s.chargeDurationInterpolated)}`},null,8,["label","value"]))]),se(c,Rt(i.vehicle,{onTargetSocUpdated:i.setTargetSoC,onTargetTimeUpdated:i.setTargetTime,onTargetTimeRemoved:i.removeTargetTime}),null,16,["onTargetSocUpdated","onTargetTimeUpdated","onTargetTimeRemoved"])])}var jk=Ie(Lk,[["render",Bk],["__scopeId","data-v-23cdc18f"]]);const Vk={name:"Site",components:{Loadpoint:jk},mixins:[yr],props:{loadpoints:Array},data(){return{selectedIndex:0,snapTimeout:null}},mounted(){this.$refs.carousel.addEventListener("scroll",this.handleCarouselScroll,!1)},unmounted(){this.$refs.carousel.removeEventListener("scroll",this.handleCarouselScroll)},methods:{handleCarouselScroll(){const{scrollLeft:e}=this.$refs.carousel,{offsetWidth:t}=this.$refs.carousel.children[0];this.selectedIndex=Math.round((e-7.5)/t)},selected(e){return this.selectedIndex===e},scrollTo(e){if(this.selectedIndex===e)return;this.selectedIndex=e;const t=this.$refs.carousel,n=t.children[0].offsetWidth;t.style.scrollSnapType="none",t.scrollTo({top:0,left:7.5+n*e,behavior:"smooth"}),clearTimeout(this.snapTimeout),this.snapTimeout=setTimeout(()=>{this.$refs.carousel.style.scrollSnapType="x mandatory"},1e3)}}},Uk=e=>(Ft("data-v-4a6a2a4a"),e=e(),Ht(),e),Wk={class:"container container--loadpoint px-0 mb-3 mb-md-4 d-flex flex-column justify-content-center"},zk={ref:"carousel",class:"carousel d-lg-flex flex-wrap"},Kk={key:0,class:"d-flex d-lg-none justify-content-center"},Yk=["onClick"],qk=Uk(()=>S("shopicon-filled-circle",{class:"indicator-icon"},null,-1)),Gk=[qk];function Xk(e,t,n,r,s,i){const o=Ce("Loadpoint");return V(),q("div",Wk,[S("div",zk,[(V(!0),q(xe,null,Zt(n.loadpoints,(a,l)=>(V(),q("div",{key:l,class:"flex-grow-1 mb-3 m-lg-0 p-lg-0"},[se(o,Rt(a,{id:l,class:["h-100",{"loadpoint-unselected":!i.selected(l)}],onClick:c=>i.scrollTo(l)}),null,16,["id","class","onClick"])]))),128))],512),n.loadpoints.length>1?(V(),q("div",Kk,[(V(!0),q(xe,null,Zt(n.loadpoints,(a,l)=>(V(),q("button",{key:l,class:Pe(["btn btn-sm btn-link p-0 mx-1 indicator d-flex justify-content-center align-items-center text-white",{"indicator--selected":i.selected(l)}]),onClick:c=>i.scrollTo(l)},Gk,10,Yk))),128))])):Ne("",!0)])}var Jk=Ie(Vk,[["render",Xk],["__scopeId","data-v-4a6a2a4a"]]),Qk='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M36.565 14.114l-3.145 2.471a12.02 12.02 0 012.058 10.912c-.934 3.066-3.005 5.586-5.833 7.095s-6.076 1.824-9.141.893c-6.33-1.927-9.913-8.644-7.987-14.974a11.924 11.924 0 015.832-7.095 11.914 11.914 0 016.767-1.361l-3.531 3.531 2.828 2.828L32.828 10l-8.414-8.414-2.828 2.828 3.645 3.645a15.876 15.876 0 00-8.764 1.828 15.89 15.89 0 00-7.775 9.46C6.123 27.786 10.9 36.742 19.341 39.31a16.03 16.03 0 004.678.701c2.591 0 5.159-.637 7.51-1.891a15.895 15.895 0 007.776-9.46 16.015 16.015 0 00-2.74-14.546z"/><path d="M0 0h48v48H0z" fill="none"/></g></svg>';class Zk extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Qk}}window.customElements.define("shopicon-regular-refresh",Zk);const eO={name:"Vehicles",components:{Vehicle:sl},mixins:[yr],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)}}},tO=e=>(Ft("data-v-62696742"),e=e(),Ht(),e),nO={class:"container px-4 mb-3 mb-sm-4 d-flex justify-content-start align-items-center"},rO={class:"m-0"},sO=["disabled"],iO=tO(()=>S("shopicon-regular-refresh",{class:"refresh-icon"},null,-1)),oO=[iO];function aO(e,t,n,r,s,i){const o=Ce("Vehicle");return V(),q("div",null,[S("div",nO,[S("h2",rO,K(e.$t("main.vehicles")),1),S("button",{class:Pe(["btn btn-link d-flex text-white p-2 ms-1 refresh",{"refresh--in-progress":s.refreshing}]),disabled:s.refreshing,onClick:t[0]||(t[0]=(...a)=>i.refresh&&i.refresh(...a))},oO,10,sO)]),S("div",{class:Pe(["container vehicles px-0 mb-5",`vehicles-${s.vehicles.length}`])},[(V(!0),q(xe,null,Zt(s.vehicles,(a,l)=>(V(),Je(o,Rt(a,{id:`vehicle_${l}`,key:l,class:"vehicle",parked:""}),null,16,["id"]))),128))],2)])}var lO=Ie(eO,[["render",aO],["__scopeId","data-v-62696742"]]),cO='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style></style><g id="Your_Icons"><path d="M0 .008h48v48H0z" fill="none"/><path d="M39.114 34.332C37.38 31.449 32.326 23.487 31 21.402V10h1a2 2 0 000-4H16a2 2 0 000 4h1v11.402c-1.326 2.085-6.38 10.047-8.114 12.93-.512.852-.772 1.749-.772 2.668 0 2.757 2.243 5 4.999 5h21.773c2.757 0 5-2.243 5-5 0-.919-.26-1.816-.772-2.668zM20.688 23.059c.204-.322.312-.694.312-1.075V10.003h6v11.981a2 2 0 00.312 1.074c.031.049 1.55 2.435 3.325 5.244l-15.434 3.43c2.495-3.976 5.441-8.605 5.485-8.673z"/></g></svg>';class uO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=cO}}window.customElements.define("shopicon-filled-testtube",uO);const fO={name:"Logo"},dO={viewBox:"0 0 122 35",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"},hO=S("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","fill-rule":"nonzero"},null,-1),mO=S("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),pO=S("path",{fill:"none",d:"M-24.458-22.109h170v76h-170z"},null,-1),gO=[hO,mO,pO];function _O(e,t,n,r,s,i){return V(),q("svg",dO,gO)}var vO=Ie(fO,[["render",_O]]),bO='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M8 44h32c2.2 0 4-1.8 4-4V16c0-2.2-1.8-4-4-4h-4.349A5.97 5.97 0 0036 10a6 6 0 10-11.849 1.323L24 11.172l-.151.151c.096-.426.151-.868.151-1.323a6 6 0 10-12 0c0 .702.127 1.374.349 2H8c-2.2 0-4 1.8-4 4v24c0 2.2 1.8 4 4 4zM30 8c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zm-4 10.828l6 6L34.828 22l-6-6H40v11H26v-8.172zM26 31h14v9H26v-9zM18 8c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zM8 16h11.172l-6 6L16 24.828l6-6V27H8V16zm0 15h14v9H8v-9z"/></svg>';class yO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=bO}}window.customElements.define("shopicon-regular-gift",yO);var EO='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M26 4v4.001h-4.001v4H26v4h4v-4h4v-4h-4V4z"/><path d="M22.585 25.415a15.979 15.979 0 01-3.512-17.342l-2.605-2.605C3.431 10.489-.255 28.434 9.858 38.143c9.864 10.092 27.519 6.511 32.674-6.609l-2.605-2.606a15.98 15.98 0 01-17.342-3.513zm12.729 9.899c-6.238 6.238-16.388 6.238-22.628 0-6.75-6.66-6.076-18.023 1.382-23.861-1.912 12.79 9.689 24.4 22.479 22.479-.382.481-.793.942-1.233 1.382z"/><path d="M32 22l4-4 4 4-4 4z"/></svg>';class wO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=EO}}window.customElements.define("shopicon-regular-moonstars",wO);const TO={name:"Version",components:{Logo:vO},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 er.post("update"),this.updateStatus=this.$t("footer.version.modalUpdateStatusStart"),this.updateStarted=!0}catch(e){this.updateStatus=this.$t("footer.version.modalUpdateStatusStart")+e}},releaseNotesUrl:function(e){return`https://github.com/evcc-io/evcc/releases/tag/${e}`}}},zo=e=>(Ft("data-v-46fe3834"),e=e(),Ht(),e),SO=["href"],CO=zo(()=>S("shopicon-regular-moonstars",{class:"me-2 text-gray-medium"},null,-1)),AO={class:"ms-2 text-gray-medium"},kO={key:1,href:"#","data-bs-toggle":"modal","data-bs-target":"#updateModal",class:"btn btn-link ps-0 text-decoration-none text-white text-nowrap d-flex align-items-end"},OO=zo(()=>S("shopicon-regular-gift",{class:"me-2 text-evcc"},null,-1)),LO={class:"ms-2 d-none d-xs-block d-sm-none text-decoration-underline"},NO={class:"ms-2 d-none d-sm-block text-gray-medium text-decoration-underline"},$O=["href"],xO={id:"updateModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true"},PO={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},IO={class:"modal-content"},RO={class:"modal-header"},MO={class:"modal-title"},DO=zo(()=>S("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),FO={class:"modal-body"},HO={key:0},BO={class:"progress my-3"},jO={key:1},VO=["innerHTML"],UO={key:1},WO=["href"],zO=De(". "),KO={class:"modal-footer d-flex justify-content-between"},YO=["disabled"],qO=["disabled"],GO={key:0},XO=zo(()=>S("span",{class:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"},null,-1)),JO={key:1},QO=["href"];function ZO(e,t,n,r,s,i){const o=Ce("Logo");return V(),q("div",null,[n.commit?(V(),q("a",{key:0,href:i.githubHashUrl,target:"_blank",class:"btn btn-link ps-0 text-decoration-none text-white text-nowrap d-flex align-items-end"},[CO,De(" v"+K(n.installed)+" ",1),S("span",AO,"["+K(n.commit)+"]",1)],8,SO)):i.newVersionAvailable?(V(),q("button",kO,[OO,De(" v"+K(n.installed)+" ",1),S("span",LO,K(e.$t("footer.version.availableShort")),1),S("span",NO,K(e.$t("footer.version.availableLong")),1)])):(V(),q("a",{key:2,href:i.releaseNotesUrl(n.installed),target:"_blank",class:"btn btn-link text-white ps-0 text-decoration-none text-nowrap d-flex align-items-end"},[se(o,{class:"logo me-2"}),De(" v"+K(n.installed),1)],8,$O)),S("div",xO,[S("div",PO,[S("div",IO,[S("div",RO,[S("h5",MO,K(e.$t("footer.version.modalTitle")),1),DO]),S("div",FO,[e.updateStarted?(V(),q("div",HO,[S("p",null,K(e.$t("footer.version.modalUpdateStarted")),1),S("div",BO,[S("div",{class:"progress-bar progress-bar-striped progress-bar-animated",role:"progressbar",style:Ke({width:n.uploadProgress+"%"})},null,4)]),S("p",null,K(e.updateStatus)+K(n.uploadMessage),1)])):(V(),q("div",jO,[S("p",null,[S("small",null,K(e.$t("footer.version.modalInstalledVersion"))+": "+K(n.installed),1)]),n.releaseNotes?(V(),q("div",{key:0,innerHTML:n.releaseNotes},null,8,VO)):(V(),q("p",UO,[De(K(e.$t("footer.version.modalNoReleaseNotes"))+" ",1),S("a",{href:i.releaseNotesUrl(n.available)},"GitHub",8,WO),zO]))]))]),S("div",KO,[S("button",{type:"button",class:"btn btn-outline-secondary",disabled:e.updateStarted,"data-bs-dismiss":"modal"},K(e.$t("footer.version.modalCancel")),9,YO),S("div",null,[n.hasUpdater?(V(),q("button",{key:0,type:"button",class:"btn btn-primary",disabled:e.updateStarted,onClick:t[0]||(t[0]=(...a)=>i.update&&i.update(...a))},[e.updateStarted?(V(),q("span",GO,[XO,De(" "+K(e.$t("footer.version.modalUpdate")),1)])):(V(),q("span",JO,K(e.$t("footer.version.modalUpdateNow")),1))],8,qO)):(V(),q("a",{key:1,href:i.releaseNotesUrl(n.available),class:"btn btn-primary"},K(e.$t("footer.version.modalDownload")),9,QO))])])])])])])}var eL=Ie(TO,[["render",ZO],["__scopeId","data-v-46fe3834"]]),hi={};(function e(t,n,r,s){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function o(){}function a(x){var P=n.exports.Promise,Z=P!==void 0?P:t.Promise;return typeof Z=="function"?new Z(x):(x(o,o),null)}var l=function(){var x=Math.floor(16.666666666666668),P,Z,ee={},oe=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(P=function(le){var ue=Math.random();return ee[ue]=requestAnimationFrame(function pe(ve){oe===ve||oe+x-1<ve?(oe=ve,delete ee[ue],le()):ee[ue]=requestAnimationFrame(pe)}),ue},Z=function(le){ee[le]&&cancelAnimationFrame(ee[le])}):(P=function(le){return setTimeout(le,x)},Z=function(le){return clearTimeout(le)}),{frame:P,cancel:Z}}(),c=function(){var x,P,Z={};function ee(oe){function le(ue,pe){oe.postMessage({options:ue||{},callback:pe})}oe.init=function(pe){var ve=pe.transferControlToOffscreen();oe.postMessage({canvas:ve},[ve])},oe.fire=function(pe,ve,Oe){if(P)return le(pe,null),P;var Ee=Math.random().toString(36).slice(2);return P=a(function(R){function X(B){B.data.callback===Ee&&(delete Z[Ee],oe.removeEventListener("message",X),P=null,Oe(),R())}oe.addEventListener("message",X),le(pe,Ee),Z[Ee]=X.bind(null,{data:{callback:Ee}})}),P},oe.reset=function(){oe.postMessage({reset:!0});for(var pe in Z)Z[pe](),delete Z[pe]}}return function(){if(x)return x;if(!r&&i){var oe=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join(`
|
|
`);try{x=new Worker(URL.createObjectURL(new Blob([oe])))}catch(le){return typeof console!==void 0&&typeof console.warn=="function"&&console.warn("\u{1F38A} Could not load worker",le),null}ee(x)}return x}}(),u={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function f(x,P){return P?P(x):x}function d(x){return x!=null}function g(x,P,Z){return f(x&&d(x[P])?x[P]:u[P],Z)}function T(x){return x<0?0:Math.floor(x)}function A(x,P){return Math.floor(Math.random()*(P-x))+x}function _(x){return parseInt(x,16)}function p(x){return x.map(v)}function v(x){var P=String(x).replace(/[^0-9a-f]/gi,"");return P.length<6&&(P=P[0]+P[0]+P[1]+P[1]+P[2]+P[2]),{r:_(P.substring(0,2)),g:_(P.substring(2,4)),b:_(P.substring(4,6))}}function E(x){var P=g(x,"origin",Object);return P.x=g(P,"x",Number),P.y=g(P,"y",Number),P}function m(x){x.width=document.documentElement.clientWidth,x.height=document.documentElement.clientHeight}function k(x){var P=x.getBoundingClientRect();x.width=P.width,x.height=P.height}function $(x){var P=document.createElement("canvas");return P.style.position="fixed",P.style.top="0px",P.style.left="0px",P.style.pointerEvents="none",P.style.zIndex=x,P}function L(x,P,Z,ee,oe,le,ue,pe,ve){x.save(),x.translate(P,Z),x.rotate(le),x.scale(ee,oe),x.arc(0,0,1,ue,pe,ve),x.restore()}function H(x){var P=x.angle*(Math.PI/180),Z=x.spread*(Math.PI/180);return{x:x.x,y:x.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:x.startVelocity*.5+Math.random()*x.startVelocity,angle2D:-P+(.5*Z-Math.random()*Z),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:x.color,shape:x.shape,tick:0,totalTicks:x.ticks,decay:x.decay,drift:x.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:x.gravity*3,ovalScalar:.6,scalar:x.scalar}}function j(x,P){P.x+=Math.cos(P.angle2D)*P.velocity+P.drift,P.y+=Math.sin(P.angle2D)*P.velocity+P.gravity,P.wobble+=P.wobbleSpeed,P.velocity*=P.decay,P.tiltAngle+=.1,P.tiltSin=Math.sin(P.tiltAngle),P.tiltCos=Math.cos(P.tiltAngle),P.random=Math.random()+2,P.wobbleX=P.x+10*P.scalar*Math.cos(P.wobble),P.wobbleY=P.y+10*P.scalar*Math.sin(P.wobble);var Z=P.tick++/P.totalTicks,ee=P.x+P.random*P.tiltCos,oe=P.y+P.random*P.tiltSin,le=P.wobbleX+P.random*P.tiltCos,ue=P.wobbleY+P.random*P.tiltSin;return x.fillStyle="rgba("+P.color.r+", "+P.color.g+", "+P.color.b+", "+(1-Z)+")",x.beginPath(),P.shape==="circle"?x.ellipse?x.ellipse(P.x,P.y,Math.abs(le-ee)*P.ovalScalar,Math.abs(ue-oe)*P.ovalScalar,Math.PI/10*P.wobble,0,2*Math.PI):L(x,P.x,P.y,Math.abs(le-ee)*P.ovalScalar,Math.abs(ue-oe)*P.ovalScalar,Math.PI/10*P.wobble,0,2*Math.PI):(x.moveTo(Math.floor(P.x),Math.floor(P.y)),x.lineTo(Math.floor(P.wobbleX),Math.floor(oe)),x.lineTo(Math.floor(le),Math.floor(ue)),x.lineTo(Math.floor(ee),Math.floor(P.wobbleY))),x.closePath(),x.fill(),P.tick<P.totalTicks}function Y(x,P,Z,ee,oe){var le=P.slice(),ue=x.getContext("2d"),pe,ve,Oe=a(function(Ee){function R(){pe=ve=null,ue.clearRect(0,0,ee.width,ee.height),oe(),Ee()}function X(){r&&!(ee.width===s.width&&ee.height===s.height)&&(ee.width=x.width=s.width,ee.height=x.height=s.height),!ee.width&&!ee.height&&(Z(x),ee.width=x.width,ee.height=x.height),ue.clearRect(0,0,ee.width,ee.height),le=le.filter(function(B){return j(ue,B)}),le.length?pe=l.frame(X):R()}pe=l.frame(X),ve=R});return{addFettis:function(Ee){return le=le.concat(Ee),Oe},canvas:x,promise:Oe,reset:function(){pe&&l.cancel(pe),ve&&ve()}}}function J(x,P){var Z=!x,ee=!!g(P||{},"resize"),oe=g(P,"disableForReducedMotion",Boolean),le=i&&!!g(P||{},"useWorker"),ue=le?c():null,pe=Z?m:k,ve=x&&ue?!!x.__confetti_initialized:!1,Oe=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,Ee;function R(B,te,ge){for(var be=g(B,"particleCount",T),y=g(B,"angle",Number),w=g(B,"spread",Number),h=g(B,"startVelocity",Number),b=g(B,"decay",Number),O=g(B,"gravity",Number),I=g(B,"drift",Number),M=g(B,"colors",p),W=g(B,"ticks",Number),Q=g(B,"shapes"),z=g(B,"scalar"),C=E(B),N=be,ne=[],G=x.width*C.x,ie=x.height*C.y;N--;)ne.push(H({x:G,y:ie,angle:y,spread:w,startVelocity:h,color:M[N%M.length],shape:Q[A(0,Q.length)],ticks:W,decay:b,gravity:O,drift:I,scalar:z}));return Ee?Ee.addFettis(ne):(Ee=Y(x,ne,pe,te,ge),Ee.promise)}function X(B){var te=oe||g(B,"disableForReducedMotion",Boolean),ge=g(B,"zIndex",Number);if(te&&Oe)return a(function(h){h()});Z&&Ee?x=Ee.canvas:Z&&!x&&(x=$(ge),document.body.appendChild(x)),ee&&!ve&&pe(x);var be={width:x.width,height:x.height};ue&&!ve&&ue.init(x),ve=!0,ue&&(x.__confetti_initialized=!0);function y(){if(ue){var h={getBoundingClientRect:function(){if(!Z)return x.getBoundingClientRect()}};pe(h),ue.postMessage({resize:{width:h.width,height:h.height}});return}be.width=be.height=null}function w(){Ee=null,ee&&t.removeEventListener("resize",y),Z&&x&&(document.body.removeChild(x),x=null,ve=!1)}return ee&&t.addEventListener("resize",y,!1),ue?ue.fire(B,be,w):R(B,be,w)}return X.reset=function(){ue&&ue.reset(),Ee&&Ee.reset()},X}var F;function re(){return F||(F=J(null,{useWorker:!0,resize:!0})),F}n.exports=function(){return re().apply(this,arguments)},n.exports.reset=function(){re().reset()},n.exports.create=J})(function(){return typeof window!="undefined"?window:typeof self!="undefined"?self:this||{}}(),hi,!1);var tL=hi.exports;hi.exports.create;var nL='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M8.444 27L24 42l15.556-15A11.1 11.1 0 0044 18.111C44 11.978 39.022 7 32.889 7A11.095 11.095 0 0024 11.456 11.095 11.095 0 0015.111 7C8.978 7 4 11.978 4 18.111A11.1 11.1 0 008.444 27zm6.667-16a7.049 7.049 0 015.687 2.853L24 18.128l3.202-4.275A7.049 7.049 0 0132.889 11 7.12 7.12 0 0140 18.111a7.076 7.076 0 01-2.851 5.694l-.195.147-.176.169L24 36.443 11.221 24.121l-.176-.169-.195-.147A7.077 7.077 0 018 18.111 7.12 7.12 0 0115.111 11z"/></svg>';class rL extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=nL}}window.customElements.define("shopicon-regular-heart",rL);var sL='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M8.444 27L24 42l15.556-15A11.1 11.1 0 0044 18.111C44 11.978 39.022 7 32.889 7A11.095 11.095 0 0024 11.456 11.095 11.095 0 0015.111 7C8.978 7 4 11.978 4 18.111A11.1 11.1 0 008.444 27z"/></svg>';class iL extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=sL}}window.customElements.define("shopicon-filled-heart",iL);const oL={name:"Sponsor",props:{sponsor:String},methods:{surprise:function(){const e=this.$refs.confetti,t=45+Math.random()*90,n=0,{top:r,height:s,left:i,width:o}=e.getBoundingClientRect(),a=(i+o/2)/window.innerWidth,l=(r+s/2)/window.innerHeight;tL({origin:{x:a,y:l},angle:t,particleCount:75+Math.random()*50,spread:50+Math.random()*50,drift:n,scalar:1.3,zIndex:1056,colors:["#0d6efd","#0fdd42","#408458","#4923BA","#5BC8EC","#C54482","#CC444A","#EE8437","#F7C144","#FFFD54"]})}}},aL=e=>(Ft("data-v-505e803e"),e=e(),Ht(),e),lL={key:0},cL={class:"mb-3"},uL={class:"d-flex justify-content-center align-items-center flex-column"},fL=aL(()=>S("shopicon-regular-heart",{class:"me-1 d-inline-block"},null,-1)),dL={href:"https://evcc.io/sticker",target:"_blank",class:"small text-muted"};function hL(e,t,n,r,s,i){return n.sponsor,V(),q("div",lL,[S("p",cL,K(e.$t("footer.sponsor.thanks",{sponsor:n.sponsor})),1),S("div",uL,[S("button",{ref:"confetti",class:"btn btn btn-outline-primary mb-2 confetti-button bg-evcc w-75 rounded",onClick:t[0]||(t[0]=(...o)=>i.surprise&&i.surprise(...o))},[fL,De(" "+K(e.$t("footer.sponsor.confetti")),1)],512),S("a",dL,K(e.$t("footer.sponsor.sticker")),1)])])}var mL=Ie(oL,[["render",hL],["__scopeId","data-v-505e803e"]]);const pL={name:"Savings",components:{Sponsor:mL},mixins:[hn],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},computed:{percent(){return Math.round(this.selfConsumptionPercent)||0},noData(){return this.totalCharged===0}},methods:{secondsSinceStart(){return this.since*1e3-Date.now()}}},mi=e=>(Ft("data-v-25484235"),e=e(),Ht(),e),gL={class:"btn btn-link pe-0 text-decoration-none text-white text-nowrap d-flex align-items-end","data-bs-toggle":"modal","data-bs-target":"#savingsModal"},_L={class:"d-inline d-sm-none"},vL={class:"d-none d-sm-inline"},bL=mi(()=>S("shopicon-regular-sun",{class:"ms-2 text-evcc"},null,-1)),yL={id:"savingsModal",ref:"modal",class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},EL={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},wL={class:"modal-content"},TL={class:"modal-header"},SL={class:"modal-title"},CL={class:"text-nowrap"},AL=De(" "+K(" ")+" "),kL={class:"text-nowrap"},OL=mi(()=>S("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),LL={class:"modal-body py-4"},NL={class:"chart-container mb-3"},$L={class:"chart-legend d-flex flex-wrap justify-content-between mb-1"},xL={class:"chart d-flex justify-content-stretch mb-1 rounded overflow-hidden"},PL={class:"text-truncate"},IL={class:"text-truncate"},RL={key:2,class:"chart-item chart-item--no-data d-flex justify-content-center align-items-center text-white w-100"},ML={class:"mb-3"},DL=mi(()=>S("br",null,null,-1)),FL={class:"small text-muted mb-3"},HL={href:"https://docs.evcc.io/docs/guides/setup/#ersparnisberechnung",target:"_blank",class:"small"},BL=De(": "),jL={class:"text-nowrap"},VL=De(", "),UL={class:"text-nowrap"},WL=mi(()=>S("br",null,null,-1)),zL=mi(()=>S("hr",{class:"mb-4"},null,-1));function KL(e,t,n,r,s,i){const o=Ce("Sponsor");return V(),q("div",null,[S("button",gL,[S("span",_L,K(e.$t("footer.savings.footerShort",{percent:i.percent})),1),S("span",vL,K(e.$t("footer.savings.footerLong",{percent:i.percent})),1),bL]),(V(),Je(Ro,{to:"body"},[S("div",yL,[S("div",EL,[S("div",wL,[S("div",TL,[S("h5",SL,[S("span",CL,K(e.$t("footer.savings.modalTitlePartOne",{total:e.fmtKw(n.totalCharged*1e3,!0,!1)}))+" \xB7 ",1),AL,S("span",kL,K(e.$t("footer.savings.modalTitlePartTwo",{percent:i.percent})),1)]),OL]),S("div",LL,[S("div",NL,[S("div",$L,[S("div",{class:Pe(["text-nowrap",{"text-gray-medium":i.noData}])},[S("shopicon-filled-square",{class:Pe(["text-evcc d-inline-block",{"text-gray-medium":i.noData}])},null,2),De(" "+K(e.$t("footer.savings.modalChartSelf",{self:e.fmtKw(n.selfConsumptionCharged*1e3,!0,!1)})),1)],2),S("div",{class:Pe(["text-nowrap",{"text-gray-medium":i.noData}])},[De(K(e.$t("footer.savings.modalChartGrid",{grid:e.fmtKw(n.gridCharged*1e3,!0,!1)}))+" ",1),S("shopicon-filled-square",{class:Pe(["text-grid d-inline-block",{"text-gray-medium":i.noData}])},null,2)],2)]),S("div",xL,[i.noData?Ne("",!0):(V(),q("div",{key:0,class:"chart-item chart-item--self d-flex justify-content-center align-items-center text-white flex-shrink-1",style:Ke({width:`${i.percent}%`})},[S("span",PL,K(i.percent)+"% ",1)],4)),i.noData?Ne("",!0):(V(),q("div",{key:1,class:"chart-item chart-item--grid d-flex justify-content-center align-items-center text-white flex-shrink-1",style:Ke({width:`${100-i.percent}%`})},[S("span",IL,K(100-i.percent)+"% ",1)],4)),i.noData?(V(),q("div",RL,[S("span",null,K(e.$t("footer.savings.modalNoData")),1)])):Ne("",!0)])]),S("p",ML,[De(K(e.$t("footer.savings.modalSavingsPrice"))+": ",1),S("strong",null,K(e.fmtPricePerKWh(n.effectivePrice,n.currency)),1),DL,De(" "+K(e.$t("footer.savings.modalSavingsTotal"))+": ",1),S("strong",null,K(e.fmtMoney(n.amount,n.currency)),1)]),S("p",FL,[S("a",HL,K(e.$t("footer.savings.modalExplaination")),1),BL,S("span",jL,K(e.$t("footer.savings.modalExplainationGrid",{gridPrice:e.fmtPricePerKWh(n.gridPrice,n.currency)})),1),VL,S("span",UL,K(e.$t("footer.savings.modalExplainationFeedIn",{feedInPrice:e.fmtPricePerKWh(n.feedInPrice,n.currency)})),1),WL,De(" "+K(e.$t("footer.savings.modalServerStart",{since:e.fmtTimeAgo(i.secondsSinceStart())})),1)]),zL,se(o,{sponsor:n.sponsor},null,8,["sponsor"])])])])],512)]))])}var YL=Ie(pL,[["render",KL],["__scopeId","data-v-25484235"]]);const qL={name:"Footer",components:{Version:eL,Savings:YL},props:{version:Object,sponsor:String,savings:Object},methods:{toggleHiddenFeatures(){const e=`\u{1F9EA} Experimentelle UI-Elemente ${this.$hiddenFeatures?"deaktivieren":"aktivieren"}`;window.confirm(e)&&(window.localStorage.hidden_features=!this.$hiddenFeatures,window.location.reload())}}},GL={class:"footer"},XL={class:"container py-3"},JL={class:"d-flex justify-content-between"};function QL(e,t,n,r,s,i){const o=Ce("Version"),a=Ce("Savings");return V(),q("footer",GL,[S("div",XL,[S("div",JL,[se(o,dt(rt(n.version)),null,16),se(a,Rt(n.savings,{sponsor:n.sponsor}),null,16,["sponsor"])])])])}var ZL=Ie(qL,[["render",QL],["__scopeId","data-v-2be06632"]]);const eN={name:"Site",components:{Loadpoints:Jk,Energyflow:Xf,Footer:ZL,Notifications:NC,TopNavigation:dC,Vehicles:lO},mixins:[hn,yr],props:{loadpoints:Array,notifications:Array,gridConfigured:Boolean,gridPower:Number,homePower:Number,pvConfigured:Boolean,pvPower:Number,batteryConfigured:Boolean,batteryPower:Number,batterySoC:Number,gridCurrents:Array,prioritySoC:Number,siteTitle:String,auth:Object,currency:String,savingsAmount:Number,savingsEffectivePrice:Number,savingsGridCharged:Number,savingsSelfConsumptionCharged:Number,savingsSelfConsumptionPercent:Number,savingsSince:Number,savingsTotalCharged:Number,tariffFeedIn:Number,tariffGrid:Number},data:function(){return{availableVersion:null,releaseNotes:null,hasUpdater:null,uploadMessage:null,uploadProgress:null,sponsor:null}},computed:{energyflow:function(){return this.collectProps(Xf)},activeLoadpointsCount:function(){return this.loadpoints.filter(e=>e.chargePower>0).length},loadpointsPower:function(){return this.loadpoints.reduce((e,t)=>(e+=t.chargePower||0,e),0)},topNavigation:function(){return{vehicleLogins:this.auth?this.auth.vehicles:{}}},footer:function(){return{version:{installed:window.evcc.version,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}}}}},tN={class:"d-flex flex-column site"},nN={class:"container px-4 top-area"},rN={class:"d-flex justify-content-between align-items-center my-3"},sN={class:"d-block my-0"},iN={class:"d-flex"},oN={class:"d-flex flex-column justify-content-between content-area pt-4"};function aN(e,t,n,r,s,i){const o=Ce("Notifications"),a=Ce("TopNavigation"),l=Ce("Energyflow"),c=Ce("Loadpoints"),u=Ce("Vehicles"),f=Ce("Footer");return V(),q("div",tN,[S("div",nN,[S("div",rN,[S("h1",sN,K(n.siteTitle||"evcc"),1),S("div",iN,[se(o,{notifications:n.notifications,class:"me-2"},null,8,["notifications"]),se(a,dt(rt(i.topNavigation)),null,16)])]),se(l,dt(rt(i.energyflow)),null,16)]),S("div",oN,[se(c,{class:"mt-1 mt-sm-2 flex-grow-1",loadpoints:n.loadpoints},null,8,["loadpoints"]),e.$hiddenFeatures?(V(),Je(u,{key:0})):Ne("",!0),se(f,dt(rt(i.footer)),null,16)])])}var lN=Ie(eN,[["render",aN],["__scopeId","data-v-d2d682e0"]]);const cN={name:"Main",components:{Site:lN},props:{notifications:Array},data:function(){return Za},computed:{configured:function(){const e=window.evcc.configured;return e==window.evcc.configured||!isNaN(parseInt(e))&&parseInt(e)>0}}},uN={key:1,class:"container"},fN=gm(`<div class="row py-5"><div class="col12"><p class="h1 pt-5 pb-2 border-bottom">Willkommen bei evcc</p><p class="lead pt-2"><b>evcc</b> ist dient zur flexiblen Ladesteuerung von Elektrofahrzeugen. </p><p class="pt-2"> Es sieht aus, als w\xE4re Dein <b>evcc</b> noch nicht konfiguriert. Um <b>evcc</b> zu konfigurieren sind die folgenden Schritte notwendig: </p><ol class="pt-2"><li> Erzeugen einer Konfigurationsdatei mit Namen <code>evcc.yaml</code>. Die Standardkonfiguration <code>evcc.dist.yaml</code> kann daf\xFCr als Vorlage dienen (<a href="https://github.com/evcc-io/evcc/blob/master/evcc.dist.yaml">Download</a>). </li><li>Konfiguration der Wallbox als <code>chargers</code>.</li><li> Konfiguration des EVU Z\xE4hlers und evtl. weiterer Z\xE4hler unter <code>meters</code>. </li><li> Konfiguration des Netzanschlusses unter <code>site</code>. In einer Site wird der Netzanschluss mit dem konfigurierten EVU Z\xE4hler (<code>meter</code>) verbunden. </li><li> Konfiguration eines Ladepunktes unter <code>loadpoints</code>. In einem Ladepunkt wird die konfigurierte Wallbox (<code>charger</code>) mit dem Ladepunkt verbunden. </li><li> Start von <b>evcc</b> mit der neu erstellten Konfiguration: <code>evcc -c evcc.yaml</code></li></ol><p>Minimale Beispielkonfiguration f\xFCr <b>evcc</b>:</p><p><code><pre class="mx-3"> uri: localhost:7070 # Adresse f\xFCr UI
|
|
interval: 10s # Regelintervall
|
|
meters:
|
|
- name: evu-z\xE4hler
|
|
type: ... # Detailkonfiguration des EVU Z\xE4hlers
|
|
- name: ladez\xE4hler
|
|
type: ... # Detailkonfiguration des Ladez\xE4hlers (optional)
|
|
chargers:
|
|
- name: wallbox
|
|
type: ... # Detailkonfiguration der Wallbox
|
|
site:
|
|
title: Home
|
|
meters:
|
|
grid: evu-z\xE4hler # EVU Z\xE4hler
|
|
loadpoints:
|
|
- title: Ladepunkt # ui display name
|
|
charger: wallbox # charger
|
|
meters:
|
|
charge: ladez\xE4hler # Ladez\xE4hlers (optional)
|
|
</pre></code></p><p> Viel Spass mit <b>evcc</b>! Bei Problemen kannst Du uns auf <a href="https://github.com/evcc-io/evcc/issues">GitHub</a> erreichen. </p></div></div>`,1),dN=[fN];function hN(e,t,n,r,s,i){const o=Ce("Site");return V(),q("div",null,[i.configured?(V(),Je(o,Rt({key:0,notifications:n.notifications},e.state),null,16,["notifications"])):(V(),q("div",uN,dN))])}var mN=Ie(cN,[["render",hN]]),pN=jS({history:rS(),routes:[{path:"/",component:mN,props:!0}]}),Op={exports:{}},mn={};/*!
|
|
* @intlify/shared v9.1.9
|
|
* (c) 2021 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const gN=typeof window!="undefined";let _N,vN;const bN=/\{([0-9a-zA-Z]+)\}/g;function Lp(e,...t){return t.length===1&&Jt(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(bN,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const yN=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",EN=e=>yN?Symbol(e):e,Np=(e,t,n)=>$p({l:e,k:t,s:n}),$p=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),st=e=>typeof e=="number"&&isFinite(e),xp=e=>Yo(e)==="[object Date]",il=e=>Yo(e)==="[object RegExp]",Ko=e=>Me(e)&&Object.keys(e).length===0;function Pp(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Bn=Object.assign;let rd;const Ip=()=>rd||(rd=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ol(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const wN=Object.prototype.hasOwnProperty;function TN(e,t){return wN.call(e,t)}const ln=Array.isArray,it=e=>typeof e=="function",_e=e=>typeof e=="string",ot=e=>typeof e=="boolean",SN=e=>typeof e=="symbol",Jt=e=>e!==null&&typeof e=="object",CN=e=>Jt(e)&&it(e.then)&&it(e.catch),Sc=Object.prototype.toString,Yo=e=>Sc.call(e),Me=e=>Yo(e)==="[object Object]",Rp=e=>e==null?"":ln(e)||Me(e)&&e.toString===Sc?JSON.stringify(e,null,2):String(e),sd=2;function AN(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const i=[];for(let o=0;o<r.length;o++)if(s+=r[o].length+1,s>=t){for(let a=o-sd;a<=o+sd||n>s;a++){if(a<0||a>=r.length)continue;const l=a+1;i.push(`${l}${" ".repeat(3-String(l).length)}| ${r[a]}`);const c=r[a].length;if(a===o){const u=t-(s-c)+1,f=Math.max(1,n>s?c-u:n-t);i.push(" | "+" ".repeat(u)+"^".repeat(f))}else if(a>o){if(n>s){const u=Math.max(Math.min(n-s,c),1);i.push(" | "+"^".repeat(u))}s+=c+1}}break}return i.join(`
|
|
`)}function kN(){const e=new Map;return{events:e,on(n,r){const s=e.get(n);s&&s.push(r)||e.set(n,[r])},off(n,r){const s=e.get(n);s&&s.splice(s.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(s=>s(r)),(e.get("*")||[]).slice().map(s=>s(n,r))}}}var ON=Object.freeze(Object.defineProperty({__proto__:null,assign:Bn,createEmitter:kN,escapeHtml:ol,format:Lp,friendlyJSONstringify:$p,generateCodeFrame:AN,generateFormatCacheKey:Np,getGlobalThis:Ip,hasOwn:TN,inBrowser:gN,isArray:ln,isBoolean:ot,isDate:xp,isEmptyObject:Ko,isFunction:it,isNumber:st,isObject:Jt,isPlainObject:Me,isPromise:CN,isRegExp:il,isString:_e,isSymbol:SN,makeSymbol:EN,mark:_N,measure:vN,objectToString:Sc,toDisplayString:Rp,toTypeString:Yo,warn:Pp},Symbol.toStringTag,{value:"Module"}));/*!
|
|
* @intlify/message-resolver v9.1.9
|
|
* (c) 2021 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const LN=Object.prototype.hasOwnProperty;function NN(e,t){return LN.call(e,t)}const Vi=e=>e!==null&&typeof e=="object",jn=[];jn[0]={w:[0],i:[3,0],["["]:[4],o:[7]};jn[1]={w:[1],["."]:[2],["["]:[4],o:[7]};jn[2]={w:[2],i:[3,0],["0"]:[3,0]};jn[3]={i:[3,0],["0"]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};jn[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};jn[5]={["'"]:[4,0],o:8,l:[5,0]};jn[6]={['"']:[4,0],o:8,l:[6,0]};const $N=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function xN(e){return $N.test(e)}function PN(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function IN(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function RN(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:xN(t)?PN(t):"*"+t}function Mp(e){const t=[];let n=-1,r=0,s=0,i,o,a,l,c,u,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,o===void 0||(o=RN(o),o===!1))return!1;d[1]()}};function g(){const T=e[n+1];if(r===5&&T==="'"||r===6&&T==='"')return n++,a="\\"+T,d[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&g())){if(l=IN(i),f=jn[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=i,u()===!1))))return;if(r===7)return t}}const id=new Map;function Cc(e,t){if(!Vi(e))return null;let n=id.get(t);if(n||(n=Mp(t),n&&id.set(t,n)),!n)return null;const r=n.length;let s=e,i=0;for(;i<r;){const o=s[n[i]];if(o===void 0)return null;s=o,i++}return s}function al(e){if(!Vi(e))return e;for(const t in e)if(!!NN(e,t))if(!t.includes("."))Vi(e[t])&&al(e[t]);else{const n=t.split("."),r=n.length-1;let s=e;for(let i=0;i<r;i++)n[i]in s||(s[n[i]]={}),s=s[n[i]];s[n[r]]=e[t],delete e[t],Vi(s[n[r]])&&al(s[n[r]])}return e}/*!
|
|
* @intlify/runtime v9.1.9
|
|
* (c) 2021 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const MN=e=>e,DN=e=>"",Dp="text",FN=e=>e.length===0?"":e.join(""),HN=Rp;function od(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function BN(e){const t=st(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(st(e.named.count)||st(e.named.n))?st(e.named.count)?e.named.count:st(e.named.n)?e.named.n:t:t}function jN(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Fp(e={}){const t=e.locale,n=BN(e),r=Jt(e.pluralRules)&&_e(t)&&it(e.pluralRules[t])?e.pluralRules[t]:od,s=Jt(e.pluralRules)&&_e(t)&&it(e.pluralRules[t])?od:void 0,i=_=>_[r(n,_.length,s)],o=e.list||[],a=_=>o[_],l=e.named||{};st(e.pluralIndex)&&jN(n,l);const c=_=>l[_];function u(_){const p=it(e.messages)?e.messages(_):Jt(e.messages)?e.messages[_]:!1;return p||(e.parent?e.parent.message(_):DN)}const f=_=>e.modifiers?e.modifiers[_]:MN,d=Me(e.processor)&&it(e.processor.normalize)?e.processor.normalize:FN,g=Me(e.processor)&&it(e.processor.interpolate)?e.processor.interpolate:HN,T=Me(e.processor)&&_e(e.processor.type)?e.processor.type:Dp,A={list:a,named:c,plural:i,linked:(_,p)=>{const v=u(_)(A);return _e(p)?f(p)(v):v},message:u,type:T,interpolate:g,normalize:d};return A}/*!
|
|
* @intlify/message-compiler v9.1.9
|
|
* (c) 2021 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/function qo(e,t,n={}){const{domain:r,messages:s,args:i}=n,o=e,a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=r,a}function VN(e){throw e}function UN(e,t,n){return{line:e,column:t,offset:n}}function ll(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const nn=" ",WN="\r",Ze=`
|
|
`,zN=String.fromCharCode(8232),KN=String.fromCharCode(8233);function YN(e){const t=e;let n=0,r=1,s=1,i=0;const o=L=>t[L]===WN&&t[L+1]===Ze,a=L=>t[L]===Ze,l=L=>t[L]===KN,c=L=>t[L]===zN,u=L=>o(L)||a(L)||l(L)||c(L),f=()=>n,d=()=>r,g=()=>s,T=()=>i,A=L=>o(L)||l(L)||c(L)?Ze:t[L],_=()=>A(n),p=()=>A(n+i);function v(){return i=0,u(n)&&(r++,s=0),o(n)&&n++,n++,s++,t[n]}function E(){return o(n+i)&&i++,i++,t[n+i]}function m(){n=0,r=1,s=1,i=0}function k(L=0){i=L}function $(){const L=n+i;for(;L!==n;)v();i=0}return{index:f,line:d,column:g,peekOffset:T,charAt:A,currentChar:_,currentPeek:p,next:v,peek:E,reset:m,resetPeek:k,skipToPeek:$}}const En=void 0,ad="'",qN="tokenizer";function GN(e,t={}){const n=t.location!==!1,r=YN(e),s=()=>r.index(),i=()=>UN(r.line(),r.column(),r.index()),o=i(),a=s(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(y,w,h,...b){const O=c();if(w.column+=h,w.offset+=h,u){const I=ll(O.startLoc,w),M=qo(y,I,{domain:qN,args:b});u(M)}}function d(y,w,h){y.endLoc=i(),y.currentType=w;const b={type:w};return n&&(b.loc=ll(y.startLoc,y.endLoc)),h!=null&&(b.value=h),b}const g=y=>d(y,14);function T(y,w){return y.currentChar()===w?(y.next(),w):(f(0,i(),0,w),"")}function A(y){let w="";for(;y.currentPeek()===nn||y.currentPeek()===Ze;)w+=y.currentPeek(),y.peek();return w}function _(y){const w=A(y);return y.skipToPeek(),w}function p(y){if(y===En)return!1;const w=y.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w===95}function v(y){if(y===En)return!1;const w=y.charCodeAt(0);return w>=48&&w<=57}function E(y,w){const{currentType:h}=w;if(h!==2)return!1;A(y);const b=p(y.currentPeek());return y.resetPeek(),b}function m(y,w){const{currentType:h}=w;if(h!==2)return!1;A(y);const b=y.currentPeek()==="-"?y.peek():y.currentPeek(),O=v(b);return y.resetPeek(),O}function k(y,w){const{currentType:h}=w;if(h!==2)return!1;A(y);const b=y.currentPeek()===ad;return y.resetPeek(),b}function $(y,w){const{currentType:h}=w;if(h!==8)return!1;A(y);const b=y.currentPeek()===".";return y.resetPeek(),b}function L(y,w){const{currentType:h}=w;if(h!==9)return!1;A(y);const b=p(y.currentPeek());return y.resetPeek(),b}function H(y,w){const{currentType:h}=w;if(!(h===8||h===12))return!1;A(y);const b=y.currentPeek()===":";return y.resetPeek(),b}function j(y,w){const{currentType:h}=w;if(h!==10)return!1;const b=()=>{const I=y.currentPeek();return I==="{"?p(y.peek()):I==="@"||I==="%"||I==="|"||I===":"||I==="."||I===nn||!I?!1:I===Ze?(y.peek(),b()):p(I)},O=b();return y.resetPeek(),O}function Y(y){A(y);const w=y.currentPeek()==="|";return y.resetPeek(),w}function J(y,w=!0){const h=(O=!1,I="",M=!1)=>{const W=y.currentPeek();return W==="{"?I==="%"?!1:O:W==="@"||!W?I==="%"?!0:O:W==="%"?(y.peek(),h(O,"%",!0)):W==="|"?I==="%"||M?!0:!(I===nn||I===Ze):W===nn?(y.peek(),h(!0,nn,M)):W===Ze?(y.peek(),h(!0,Ze,M)):!0},b=h();return w&&y.resetPeek(),b}function F(y,w){const h=y.currentChar();return h===En?En:w(h)?(y.next(),h):null}function re(y){return F(y,h=>{const b=h.charCodeAt(0);return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===95||b===36})}function x(y){return F(y,h=>{const b=h.charCodeAt(0);return b>=48&&b<=57})}function P(y){return F(y,h=>{const b=h.charCodeAt(0);return b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102})}function Z(y){let w="",h="";for(;w=x(y);)h+=w;return h}function ee(y){let w="";for(;;){const h=y.currentChar();if(h==="{"||h==="}"||h==="@"||h==="|"||!h)break;if(h==="%")if(J(y))w+=h,y.next();else break;else if(h===nn||h===Ze)if(J(y))w+=h,y.next();else{if(Y(y))break;w+=h,y.next()}else w+=h,y.next()}return w}function oe(y){_(y);let w="",h="";for(;w=re(y);)h+=w;return y.currentChar()===En&&f(6,i(),0),h}function le(y){_(y);let w="";return y.currentChar()==="-"?(y.next(),w+=`-${Z(y)}`):w+=Z(y),y.currentChar()===En&&f(6,i(),0),w}function ue(y){_(y),T(y,"'");let w="",h="";const b=I=>I!==ad&&I!==Ze;for(;w=F(y,b);)w==="\\"?h+=pe(y):h+=w;const O=y.currentChar();return O===Ze||O===En?(f(2,i(),0),O===Ze&&(y.next(),T(y,"'")),h):(T(y,"'"),h)}function pe(y){const w=y.currentChar();switch(w){case"\\":case"'":return y.next(),`\\${w}`;case"u":return ve(y,w,4);case"U":return ve(y,w,6);default:return f(3,i(),0,w),""}}function ve(y,w,h){T(y,w);let b="";for(let O=0;O<h;O++){const I=P(y);if(!I){f(4,i(),0,`\\${w}${b}${y.currentChar()}`);break}b+=I}return`\\${w}${b}`}function Oe(y){_(y);let w="",h="";const b=O=>O!=="{"&&O!=="}"&&O!==nn&&O!==Ze;for(;w=F(y,b);)h+=w;return h}function Ee(y){let w="",h="";for(;w=re(y);)h+=w;return h}function R(y){const w=(h=!1,b)=>{const O=y.currentChar();return O==="{"||O==="%"||O==="@"||O==="|"||!O||O===nn?b:O===Ze?(b+=O,y.next(),w(h,b)):(b+=O,y.next(),w(!0,b))};return w(!1,"")}function X(y){_(y);const w=T(y,"|");return _(y),w}function B(y,w){let h=null;switch(y.currentChar()){case"{":return w.braceNest>=1&&f(8,i(),0),y.next(),h=d(w,2,"{"),_(y),w.braceNest++,h;case"}":return w.braceNest>0&&w.currentType===2&&f(7,i(),0),y.next(),h=d(w,3,"}"),w.braceNest--,w.braceNest>0&&_(y),w.inLinked&&w.braceNest===0&&(w.inLinked=!1),h;case"@":return w.braceNest>0&&f(6,i(),0),h=te(y,w)||g(w),w.braceNest=0,h;default:let O=!0,I=!0,M=!0;if(Y(y))return w.braceNest>0&&f(6,i(),0),h=d(w,1,X(y)),w.braceNest=0,w.inLinked=!1,h;if(w.braceNest>0&&(w.currentType===5||w.currentType===6||w.currentType===7))return f(6,i(),0),w.braceNest=0,ge(y,w);if(O=E(y,w))return h=d(w,5,oe(y)),_(y),h;if(I=m(y,w))return h=d(w,6,le(y)),_(y),h;if(M=k(y,w))return h=d(w,7,ue(y)),_(y),h;if(!O&&!I&&!M)return h=d(w,13,Oe(y)),f(1,i(),0,h.value),_(y),h;break}return h}function te(y,w){const{currentType:h}=w;let b=null;const O=y.currentChar();switch((h===8||h===9||h===12||h===10)&&(O===Ze||O===nn)&&f(9,i(),0),O){case"@":return y.next(),b=d(w,8,"@"),w.inLinked=!0,b;case".":return _(y),y.next(),d(w,9,".");case":":return _(y),y.next(),d(w,10,":");default:return Y(y)?(b=d(w,1,X(y)),w.braceNest=0,w.inLinked=!1,b):$(y,w)||H(y,w)?(_(y),te(y,w)):L(y,w)?(_(y),d(w,12,Ee(y))):j(y,w)?(_(y),O==="{"?B(y,w)||b:d(w,11,R(y))):(h===8&&f(9,i(),0),w.braceNest=0,w.inLinked=!1,ge(y,w))}}function ge(y,w){let h={type:14};if(w.braceNest>0)return B(y,w)||g(w);if(w.inLinked)return te(y,w)||g(w);const b=y.currentChar();switch(b){case"{":return B(y,w)||g(w);case"}":return f(5,i(),0),y.next(),d(w,3,"}");case"@":return te(y,w)||g(w);default:if(Y(y))return h=d(w,1,X(y)),w.braceNest=0,w.inLinked=!1,h;if(J(y))return d(w,0,ee(y));if(b==="%")return y.next(),d(w,4,"%");break}return h}function be(){const{currentType:y,offset:w,startLoc:h,endLoc:b}=l;return l.lastType=y,l.lastOffset=w,l.lastStartLoc=h,l.lastEndLoc=b,l.offset=s(),l.startLoc=i(),r.currentChar()===En?d(l,14):ge(r,l)}return{nextToken:be,currentOffset:s,currentPosition:i,context:c}}const XN="parser",JN=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function QN(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function ZN(e={}){const t=e.location!==!1,{onError:n}=e;function r(p,v,E,m,...k){const $=p.currentPosition();if($.offset+=m,$.column+=m,n){const L=ll(E,$),H=qo(v,L,{domain:XN,args:k});n(H)}}function s(p,v,E){const m={type:p,start:v,end:v};return t&&(m.loc={start:E,end:E}),m}function i(p,v,E,m){p.end=v,m&&(p.type=m),t&&p.loc&&(p.loc.end=E)}function o(p,v){const E=p.context(),m=s(3,E.offset,E.startLoc);return m.value=v,i(m,p.currentOffset(),p.currentPosition()),m}function a(p,v){const E=p.context(),{lastOffset:m,lastStartLoc:k}=E,$=s(5,m,k);return $.index=parseInt(v,10),p.nextToken(),i($,p.currentOffset(),p.currentPosition()),$}function l(p,v){const E=p.context(),{lastOffset:m,lastStartLoc:k}=E,$=s(4,m,k);return $.key=v,p.nextToken(),i($,p.currentOffset(),p.currentPosition()),$}function c(p,v){const E=p.context(),{lastOffset:m,lastStartLoc:k}=E,$=s(9,m,k);return $.value=v.replace(JN,QN),p.nextToken(),i($,p.currentOffset(),p.currentPosition()),$}function u(p){const v=p.nextToken(),E=p.context(),{lastOffset:m,lastStartLoc:k}=E,$=s(8,m,k);return v.type!==12?(r(p,11,E.lastStartLoc,0),$.value="",i($,m,k),{nextConsumeToken:v,node:$}):(v.value==null&&r(p,13,E.lastStartLoc,0,Ut(v)),$.value=v.value||"",i($,p.currentOffset(),p.currentPosition()),{node:$})}function f(p,v){const E=p.context(),m=s(7,E.offset,E.startLoc);return m.value=v,i(m,p.currentOffset(),p.currentPosition()),m}function d(p){const v=p.context(),E=s(6,v.offset,v.startLoc);let m=p.nextToken();if(m.type===9){const k=u(p);E.modifier=k.node,m=k.nextConsumeToken||p.nextToken()}switch(m.type!==10&&r(p,13,v.lastStartLoc,0,Ut(m)),m=p.nextToken(),m.type===2&&(m=p.nextToken()),m.type){case 11:m.value==null&&r(p,13,v.lastStartLoc,0,Ut(m)),E.key=f(p,m.value||"");break;case 5:m.value==null&&r(p,13,v.lastStartLoc,0,Ut(m)),E.key=l(p,m.value||"");break;case 6:m.value==null&&r(p,13,v.lastStartLoc,0,Ut(m)),E.key=a(p,m.value||"");break;case 7:m.value==null&&r(p,13,v.lastStartLoc,0,Ut(m)),E.key=c(p,m.value||"");break;default:r(p,12,v.lastStartLoc,0);const k=p.context(),$=s(7,k.offset,k.startLoc);return $.value="",i($,k.offset,k.startLoc),E.key=$,i(E,k.offset,k.startLoc),{nextConsumeToken:m,node:E}}return i(E,p.currentOffset(),p.currentPosition()),{node:E}}function g(p){const v=p.context(),E=v.currentType===1?p.currentOffset():v.offset,m=v.currentType===1?v.endLoc:v.startLoc,k=s(2,E,m);k.items=[];let $=null;do{const j=$||p.nextToken();switch($=null,j.type){case 0:j.value==null&&r(p,13,v.lastStartLoc,0,Ut(j)),k.items.push(o(p,j.value||""));break;case 6:j.value==null&&r(p,13,v.lastStartLoc,0,Ut(j)),k.items.push(a(p,j.value||""));break;case 5:j.value==null&&r(p,13,v.lastStartLoc,0,Ut(j)),k.items.push(l(p,j.value||""));break;case 7:j.value==null&&r(p,13,v.lastStartLoc,0,Ut(j)),k.items.push(c(p,j.value||""));break;case 8:const Y=d(p);k.items.push(Y.node),$=Y.nextConsumeToken||null;break}}while(v.currentType!==14&&v.currentType!==1);const L=v.currentType===1?v.lastOffset:p.currentOffset(),H=v.currentType===1?v.lastEndLoc:p.currentPosition();return i(k,L,H),k}function T(p,v,E,m){const k=p.context();let $=m.items.length===0;const L=s(1,v,E);L.cases=[],L.cases.push(m);do{const H=g(p);$||($=H.items.length===0),L.cases.push(H)}while(k.currentType!==14);return $&&r(p,10,E,0),i(L,p.currentOffset(),p.currentPosition()),L}function A(p){const v=p.context(),{offset:E,startLoc:m}=v,k=g(p);return v.currentType===14?k:T(p,E,m,k)}function _(p){const v=GN(p,Bn({},e)),E=v.context(),m=s(0,E.offset,E.startLoc);return t&&m.loc&&(m.loc.source=p),m.body=A(v),E.currentType!==14&&r(v,13,E.lastStartLoc,0,p[E.offset]||""),i(m,v.currentOffset(),v.currentPosition()),m}return{parse:_}}function Ut(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function e$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function ld(e,t){for(let n=0;n<e.length;n++)Ac(e[n],t)}function Ac(e,t){switch(e.type){case 1:ld(e.cases,t),t.helper("plural");break;case 2:ld(e.items,t);break;case 6:Ac(e.key,t),t.helper("linked");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function t$(e,t={}){const n=e$(e);n.helper("normalize"),e.body&&Ac(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function n$(e,t){const{sourceMap:n,filename:r,breakLineCode:s,needIndent:i}=t,o={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:i,indentLevel:0},a=()=>o;function l(A,_){o.code+=A}function c(A,_=!0){const p=_?s:"";l(i?p+" ".repeat(A):p)}function u(A=!0){const _=++o.indentLevel;A&&c(_)}function f(A=!0){const _=--o.indentLevel;A&&c(_)}function d(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:A=>`_${A}`,needIndent:()=>o.needIndent}}function r$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),is(e,t.key),t.modifier&&(e.push(", "),is(e,t.modifier)),e.push(")")}function s$(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let i=0;i<s&&(is(e,t.items[i]),i!==s-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function i$(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let i=0;i<s&&(is(e,t.cases[i]),i!==s-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function o$(e,t){t.body?is(e,t.body):e.push("null")}function is(e,t){const{helper:n}=e;switch(t.type){case 0:o$(e,t);break;case 1:i$(e,t);break;case 2:s$(e,t);break;case 6:r$(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const a$=(e,t={})=>{const n=_e(t.mode)?t.mode:"normal",r=_e(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
`,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=n$(e,{mode:n,filename:r,sourceMap:s,breakLineCode:i,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${a.map(f=>`${f}: _${f}`).join(", ")} } = ctx`),l.newline()),l.push("return "),is(l,e),l.deindent(o),l.push("}");const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function l$(e,t={}){const n=Bn({},t),s=ZN(n).parse(e);return t$(s,n),a$(s,n)}/*!
|
|
* @intlify/devtools-if v9.1.9
|
|
* (c) 2021 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const Hp={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
|
* @intlify/core-base v9.1.9
|
|
* (c) 2021 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/let os=null;function c$(e){os=e}function u$(){return os}function Bp(e,t,n){os&&os.emit(Hp.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const jp=f$(Hp.FunctionTranslate);function f$(e){return t=>os&&os.emit(e,t)}const d$={[0]:"Not found '{key}' key in '{locale}' locale messages.",[1]:"Fall back to translate '{key}' key with '{target}' locale.",[2]:"Cannot format a number value due to not supported Intl.NumberFormat.",[3]:"Fall back to number format '{key}' key with '{target}' locale.",[4]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[5]:"Fall back to datetime format '{key}' key with '{target}' locale."};function h$(e,...t){return Lp(d$[e],...t)}const Vp="9.1.9",Go=-1,m$="";function p$(){return{upper:e=>_e(e)?e.toUpperCase():e,lower:e=>_e(e)?e.toLowerCase():e,capitalize:e=>_e(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Up;function g$(e){Up=e}let Wp=null;const _$=e=>{Wp=e},zp=()=>Wp;let cd=0;function v$(e={}){const t=_e(e.version)?e.version:Vp,n=_e(e.locale)?e.locale:"en-US",r=ln(e.fallbackLocale)||Me(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=Me(e.messages)?e.messages:{[n]:{}},i=Me(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},o=Me(e.numberFormats)?e.numberFormats:{[n]:{}},a=Bn({},e.modifiers||{},p$()),l=e.pluralRules||{},c=it(e.missing)?e.missing:null,u=ot(e.missingWarn)||il(e.missingWarn)?e.missingWarn:!0,f=ot(e.fallbackWarn)||il(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,g=!!e.unresolving,T=it(e.postTranslation)?e.postTranslation:null,A=Me(e.processor)?e.processor:null,_=ot(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter,v=it(e.messageCompiler)?e.messageCompiler:Up,E=it(e.onWarn)?e.onWarn:Pp,m=e,k=Jt(m.__datetimeFormatters)?m.__datetimeFormatters:new Map,$=Jt(m.__numberFormatters)?m.__numberFormatters:new Map,L=Jt(m.__meta)?m.__meta:{};cd++;const H={version:t,cid:cd,locale:n,fallbackLocale:r,messages:s,datetimeFormats:i,numberFormats:o,modifiers:a,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:g,postTranslation:T,processor:A,warnHtmlMessage:_,escapeParameter:p,messageCompiler:v,onWarn:E,__datetimeFormatters:k,__numberFormatters:$,__meta:L};return __INTLIFY_PROD_DEVTOOLS__&&Bp(H,t,L),H}function b$(e,t){return e instanceof RegExp?e.test(t):e}function y$(e,t){return e instanceof RegExp?e.test(t):e}function Xo(e,t,n,r,s){const{missing:i,onWarn:o}=e;if(i!==null){const a=i(e,n,t,s);return _e(a)?a:t}else return t}function pi(e,t,n){const r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(n);if(!s){s=[];let i=[n];for(;ln(i);)i=ud(s,i,t);const o=ln(t)?t:Me(t)?t.default?t.default:null:t;i=_e(o)?[o]:o,ln(i)&&ud(s,i,!1),r.__localeChainCache.set(n,s)}return s}function ud(e,t,n){let r=!0;for(let s=0;s<t.length&&ot(r);s++){const i=t[s];_e(i)&&(r=E$(e,t[s],n))}return r}function E$(e,t,n){let r;const s=t.split("-");do{const i=s.join("-");r=w$(e,i,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function w$(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(ln(n)||Me(n))&&n[s]&&(r=n[s])}return r}function T$(e,t,n){const r=e;r.__localeChainCache=new Map,pi(e,n,t)}const S$=e=>e;let cl=Object.create(null);function C$(){cl=Object.create(null)}function A$(e,t={}){{const r=(t.onCacheKey||S$)(e),s=cl[r];if(s)return s;let i=!1;const o=t.onError||VN;t.onError=c=>{i=!0,o(c)};const{code:a}=l$(e,t),l=new Function(`return ${a}`)();return i?l:cl[r]=l}}function tr(e){return qo(e,null,void 0)}const fd=()=>"",xt=e=>it(e);function k$(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,fallbackLocale:i,messages:o}=e,[a,l]=Yp(...t),c=ot(l.missingWarn)?l.missingWarn:e.missingWarn,u=ot(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=ot(l.escapeParameter)?l.escapeParameter:e.escapeParameter,d=!!l.resolvedMessage,g=_e(l.default)||ot(l.default)?ot(l.default)?a:l.default:n?a:"",T=n||g!=="",A=_e(l.locale)?l.locale:e.locale;f&&O$(l);let[_,p,v]=d?[a,A,o[A]||{}]:L$(e,a,A,i,u,c),E=a;if(!d&&!(_e(_)||xt(_))&&T&&(_=g,E=_),!d&&(!(_e(_)||xt(_))||!_e(p)))return s?Go:a;let m=!1;const k=()=>{m=!0},$=xt(_)?_:Kp(e,a,p,_,E,k);if(m)return _;const L=x$(e,p,v,l),H=Fp(L),j=N$(e,$,H),Y=r?r(j):j;if(__INTLIFY_PROD_DEVTOOLS__){const J={timestamp:Date.now(),key:_e(a)?a:xt(_)?_.key:"",locale:p||(xt(_)?_.locale:""),format:_e(_)?_:xt(_)?_.source:"",message:Y};J.meta=Bn({},e.__meta,zp()||{}),jp(J)}return Y}function O$(e){ln(e.list)?e.list=e.list.map(t=>_e(t)?ol(t):t):Jt(e.named)&&Object.keys(e.named).forEach(t=>{_e(e.named[t])&&(e.named[t]=ol(e.named[t]))})}function L$(e,t,n,r,s,i){const{messages:o,onWarn:a}=e,l=pi(e,r,n);let c={},u,f=null;const d="translate";for(let g=0;g<l.length&&(u=l[g],c=o[u]||{},(f=Cc(c,t))===null&&(f=c[t]),!(_e(f)||it(f)));g++){const T=Xo(e,t,u,i,d);T!==t&&(f=T)}return[f,u,c]}function Kp(e,t,n,r,s,i){const{messageCompiler:o,warnHtmlMessage:a}=e;if(xt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}const l=o(r,$$(e,n,s,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function N$(e,t,n){return t(n)}function Yp(...e){const[t,n,r]=e,s={};if(!_e(t)&&!st(t)&&!xt(t))throw tr(14);const i=st(t)?String(t):(xt(t),t);return st(n)?s.plural=n:_e(n)?s.default=n:Me(n)&&!Ko(n)?s.named=n:ln(n)&&(s.list=n),st(r)?s.plural=r:_e(r)?s.default=r:Me(r)&&Bn(s,r),[i,s]}function $$(e,t,n,r,s,i){return{warnHtmlMessage:s,onError:o=>{throw i&&i(o),o},onCacheKey:o=>Np(t,n,o)}}function x$(e,t,n,r){const{modifiers:s,pluralRules:i}=e,a={locale:t,modifiers:s,pluralRules:i,messages:l=>{const c=Cc(n,l);if(_e(c)){let u=!1;const d=Kp(e,l,t,c,l,()=>{u=!0});return u?fd:d}else return xt(c)?c:fd}};return e.processor&&(a.processor=e.processor),r.list&&(a.list=r.list),r.named&&(a.named=r.named),st(r.plural)&&(a.pluralIndex=r.plural),a}function P$(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:i}=e,{__datetimeFormatters:o}=e,[a,l,c,u]=qp(...t),f=ot(c.missingWarn)?c.missingWarn:e.missingWarn;ot(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,g=_e(c.locale)?c.locale:e.locale,T=pi(e,s,g);if(!_e(a)||a==="")return new Intl.DateTimeFormat(g).format(l);let A={},_,p=null;const v="datetime format";for(let k=0;k<T.length&&(_=T[k],A=n[_]||{},p=A[a],!Me(p));k++)Xo(e,a,_,f,v);if(!Me(p)||!_e(_))return r?Go:a;let E=`${_}__${a}`;Ko(u)||(E=`${E}__${JSON.stringify(u)}`);let m=o.get(E);return m||(m=new Intl.DateTimeFormat(_,Bn({},p,u)),o.set(E,m)),d?m.formatToParts(l):m.format(l)}function qp(...e){const[t,n,r,s]=e;let i={},o={},a;if(_e(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw tr(16);a=new Date(t);try{a.toISOString()}catch{throw tr(16)}}else if(xp(t)){if(isNaN(t.getTime()))throw tr(15);a=t}else if(st(t))a=t;else throw tr(14);return _e(n)?i.key=n:Me(n)&&(i=n),_e(r)?i.locale=r:Me(r)&&(o=r),Me(s)&&(o=s),[i.key||"",a,i,o]}function I$(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;!r.__datetimeFormatters.has(i)||r.__datetimeFormatters.delete(i)}}function R$(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:i}=e,{__numberFormatters:o}=e,[a,l,c,u]=Gp(...t),f=ot(c.missingWarn)?c.missingWarn:e.missingWarn;ot(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,g=_e(c.locale)?c.locale:e.locale,T=pi(e,s,g);if(!_e(a)||a==="")return new Intl.NumberFormat(g).format(l);let A={},_,p=null;const v="number format";for(let k=0;k<T.length&&(_=T[k],A=n[_]||{},p=A[a],!Me(p));k++)Xo(e,a,_,f,v);if(!Me(p)||!_e(_))return r?Go:a;let E=`${_}__${a}`;Ko(u)||(E=`${E}__${JSON.stringify(u)}`);let m=o.get(E);return m||(m=new Intl.NumberFormat(_,Bn({},p,u)),o.set(E,m)),d?m.formatToParts(l):m.format(l)}function Gp(...e){const[t,n,r,s]=e;let i={},o={};if(!st(t))throw tr(14);const a=t;return _e(n)?i.key=n:Me(n)&&(i=n),_e(r)?i.locale=r:Me(r)&&(o=r),Me(s)&&(o=s),[i.key||"",a,i,o]}function M$(e,t,n){const r=e;for(const s in n){const i=`${t}__${s}`;!r.__numberFormatters.has(i)||r.__numberFormatters.delete(i)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ip().__INTLIFY_PROD_DEVTOOLS__=!1);var D$=Object.freeze(Object.defineProperty({__proto__:null,MISSING_RESOLVE_VALUE:m$,NOT_REOSLVED:Go,VERSION:Vp,clearCompileCache:C$,clearDateTimeFormat:I$,clearNumberFormat:M$,compileToFunction:A$,createCoreContext:v$,createCoreError:tr,datetime:P$,getAdditionalMeta:zp,getDevToolsHook:u$,getLocaleChain:pi,getWarnMessage:h$,handleMissing:Xo,initI18nDevTools:Bp,isMessageFunction:xt,isTranslateFallbackWarn:b$,isTranslateMissingWarn:y$,number:R$,parseDateTimeArgs:qp,parseNumberArgs:Gp,parseTranslateArgs:Yp,registerMessageCompiler:g$,setAdditionalMeta:_$,setDevToolsHook:c$,translate:k$,translateDevTools:jp,updateFallbackLocale:T$,createCompileError:qo,handleFlatJson:al,parse:Mp,resolveValue:Cc,DEFAULT_MESSAGE_DATA_TYPE:Dp,createMessageContext:Fp},Symbol.toStringTag,{value:"Module"})),F$=Pl(D$),H$=Pl(jE),B$=Pl(ON);/*!
|
|
* vue-i18n v9.1.9
|
|
* (c) 2021 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/Object.defineProperty(mn,"__esModule",{value:!0});var Te=F$,Se=H$,D=B$;const Xp="9.1.9";function Xe(e,...t){return Te.createCompileError(e,null,void 0)}const ul=D.makeSymbol("__transrateVNode"),fl=D.makeSymbol("__datetimeParts"),dl=D.makeSymbol("__numberParts");D.makeSymbol("__enableEmitter");D.makeSymbol("__disableEmitter");const Jp=D.makeSymbol("__setPluralRules");D.makeSymbol("__intlifyMeta");const Qp=D.makeSymbol("__injectWithOption");let dd=0;function hd(e){return(t,n,r,s)=>e(n,r,Se.getCurrentInstance()||void 0,s)}function kc(e,t){const{messages:n,__i18n:r}=t,s=D.isPlainObject(n)?n:D.isArray(r)?{}:{[e]:{}};if(D.isArray(r)&&r.forEach(({locale:i,resource:o})=>{i?(s[i]=s[i]||{},io(o,s[i])):io(o,s)}),t.flatJson)for(const i in s)D.hasOwn(s,i)&&Te.handleFlatJson(s[i]);return s}const $i=e=>!D.isObject(e)||D.isArray(e);function io(e,t){if($i(e)||$i(t))throw Xe(20);for(const n in e)D.hasOwn(e,n)&&($i(e[n])||$i(t[n])?t[n]=e[n]:io(e[n],t[n]))}function Oc(e={}){const{__root:t}=e,n=t===void 0;let r=D.isBoolean(e.inheritLocale)?e.inheritLocale:!0;const s=Se.ref(t&&r?t.locale.value:D.isString(e.locale)?e.locale:"en-US"),i=Se.ref(t&&r?t.fallbackLocale.value:D.isString(e.fallbackLocale)||D.isArray(e.fallbackLocale)||D.isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),o=Se.ref(kc(s.value,e)),a=Se.ref(D.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),l=Se.ref(D.isPlainObject(e.numberFormats)?e.numberFormats:{[s.value]:{}});let c=t?t.missingWarn:D.isBoolean(e.missingWarn)||D.isRegExp(e.missingWarn)?e.missingWarn:!0,u=t?t.fallbackWarn:D.isBoolean(e.fallbackWarn)||D.isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,f=t?t.fallbackRoot:D.isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,d=!!e.fallbackFormat,g=D.isFunction(e.missing)?e.missing:null,T=D.isFunction(e.missing)?hd(e.missing):null,A=D.isFunction(e.postTranslation)?e.postTranslation:null,_=D.isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter;const v=t?t.modifiers:D.isPlainObject(e.modifiers)?e.modifiers:{};let E=e.pluralRules||t&&t.pluralRules,m;function k(){return Te.createCoreContext({version:Xp,locale:s.value,fallbackLocale:i.value,messages:o.value,datetimeFormats:a.value,numberFormats:l.value,modifiers:v,pluralRules:E,missing:T===null?void 0:T,missingWarn:c,fallbackWarn:u,fallbackFormat:d,unresolving:!0,postTranslation:A===null?void 0:A,warnHtmlMessage:_,escapeParameter:p,__datetimeFormatters:D.isPlainObject(m)?m.__datetimeFormatters:void 0,__numberFormatters:D.isPlainObject(m)?m.__numberFormatters:void 0,__v_emitter:D.isPlainObject(m)?m.__v_emitter:void 0,__meta:{framework:"vue"}})}m=k(),Te.updateFallbackLocale(m,s.value,i.value);function $(){return[s.value,i.value,o.value,a.value,l.value]}const L=Se.computed({get:()=>s.value,set:C=>{s.value=C,m.locale=s.value}}),H=Se.computed({get:()=>i.value,set:C=>{i.value=C,m.fallbackLocale=i.value,Te.updateFallbackLocale(m,s.value,C)}}),j=Se.computed(()=>o.value),Y=Se.computed(()=>a.value),J=Se.computed(()=>l.value);function F(){return D.isFunction(A)?A:null}function re(C){A=C,m.postTranslation=C}function x(){return g}function P(C){C!==null&&(T=hd(C)),g=C,m.missing=T}function Z(C,N,ne,G,ie,ce){$();let me;if(me=C(m),D.isNumber(me)&&me===Te.NOT_REOSLVED){const[ke,Le]=N();return t&&f?G(t):ie(ke)}else{if(ce(me))return me;throw Xe(14)}}function ee(...C){return Z(N=>Te.translate(N,...C),()=>Te.parseTranslateArgs(...C),"translate",N=>N.t(...C),N=>N,N=>D.isString(N))}function oe(...C){const[N,ne,G]=C;if(G&&!D.isObject(G))throw Xe(15);return ee(N,ne,D.assign({resolvedMessage:!0},G||{}))}function le(...C){return Z(N=>Te.datetime(N,...C),()=>Te.parseDateTimeArgs(...C),"datetime format",N=>N.d(...C),()=>Te.MISSING_RESOLVE_VALUE,N=>D.isString(N))}function ue(...C){return Z(N=>Te.number(N,...C),()=>Te.parseNumberArgs(...C),"number format",N=>N.n(...C),()=>Te.MISSING_RESOLVE_VALUE,N=>D.isString(N))}function pe(C){return C.map(N=>D.isString(N)?Se.createVNode(Se.Text,null,N,0):N)}const Oe={normalize:pe,interpolate:C=>C,type:"vnode"};function Ee(...C){return Z(N=>{let ne;const G=N;try{G.processor=Oe,ne=Te.translate(G,...C)}finally{G.processor=null}return ne},()=>Te.parseTranslateArgs(...C),"translate",N=>N[ul](...C),N=>[Se.createVNode(Se.Text,null,N,0)],N=>D.isArray(N))}function R(...C){return Z(N=>Te.number(N,...C),()=>Te.parseNumberArgs(...C),"number format",N=>N[dl](...C),()=>[],N=>D.isString(N)||D.isArray(N))}function X(...C){return Z(N=>Te.datetime(N,...C),()=>Te.parseDateTimeArgs(...C),"datetime format",N=>N[fl](...C),()=>[],N=>D.isString(N)||D.isArray(N))}function B(C){E=C,m.pluralRules=E}function te(C,N){const ne=D.isString(N)?N:s.value,G=y(ne);return Te.resolveValue(G,C)!==null}function ge(C){let N=null;const ne=Te.getLocaleChain(m,i.value,s.value);for(let G=0;G<ne.length;G++){const ie=o.value[ne[G]]||{},ce=Te.resolveValue(ie,C);if(ce!=null){N=ce;break}}return N}function be(C){const N=ge(C);return N!=null?N:t?t.tm(C)||{}:{}}function y(C){return o.value[C]||{}}function w(C,N){o.value[C]=N,m.messages=o.value}function h(C,N){o.value[C]=o.value[C]||{},io(N,o.value[C]),m.messages=o.value}function b(C){return a.value[C]||{}}function O(C,N){a.value[C]=N,m.datetimeFormats=a.value,Te.clearDateTimeFormat(m,C,N)}function I(C,N){a.value[C]=D.assign(a.value[C]||{},N),m.datetimeFormats=a.value,Te.clearDateTimeFormat(m,C,N)}function M(C){return l.value[C]||{}}function W(C,N){l.value[C]=N,m.numberFormats=l.value,Te.clearNumberFormat(m,C,N)}function Q(C,N){l.value[C]=D.assign(l.value[C]||{},N),m.numberFormats=l.value,Te.clearNumberFormat(m,C,N)}return dd++,t&&(Se.watch(t.locale,C=>{r&&(s.value=C,m.locale=C,Te.updateFallbackLocale(m,s.value,i.value))}),Se.watch(t.fallbackLocale,C=>{r&&(i.value=C,m.fallbackLocale=C,Te.updateFallbackLocale(m,s.value,i.value))})),{id:dd,locale:L,fallbackLocale:H,get inheritLocale(){return r},set inheritLocale(C){r=C,C&&t&&(s.value=t.locale.value,i.value=t.fallbackLocale.value,Te.updateFallbackLocale(m,s.value,i.value))},get availableLocales(){return Object.keys(o.value).sort()},messages:j,datetimeFormats:Y,numberFormats:J,get modifiers(){return v},get pluralRules(){return E||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn(C){c=C,m.missingWarn=c},get fallbackWarn(){return u},set fallbackWarn(C){u=C,m.fallbackWarn=u},get fallbackRoot(){return f},set fallbackRoot(C){f=C},get fallbackFormat(){return d},set fallbackFormat(C){d=C,m.fallbackFormat=d},get warnHtmlMessage(){return _},set warnHtmlMessage(C){_=C,m.warnHtmlMessage=C},get escapeParameter(){return p},set escapeParameter(C){p=C,m.escapeParameter=C},t:ee,rt:oe,d:le,n:ue,te,tm:be,getLocaleMessage:y,setLocaleMessage:w,mergeLocaleMessage:h,getDateTimeFormat:b,setDateTimeFormat:O,mergeDateTimeFormat:I,getNumberFormat:M,setNumberFormat:W,mergeNumberFormat:Q,getPostTranslationHandler:F,setPostTranslationHandler:re,getMissingHandler:x,setMissingHandler:P,[ul]:Ee,[dl]:R,[fl]:X,[Jp]:B,[Qp]:e.__injectWithOption}}function j$(e){const t=D.isString(e.locale)?e.locale:"en-US",n=D.isString(e.fallbackLocale)||D.isArray(e.fallbackLocale)||D.isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=D.isFunction(e.missing)?e.missing:void 0,s=D.isBoolean(e.silentTranslationWarn)||D.isRegExp(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=D.isBoolean(e.silentFallbackWarn)||D.isRegExp(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=D.isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=D.isPlainObject(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=D.isFunction(e.postTranslation)?e.postTranslation:void 0,f=D.isString(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,g=D.isBoolean(e.sync)?e.sync:!0;let T=e.messages;if(D.isPlainObject(e.sharedMessages)){const k=e.sharedMessages;T=Object.keys(k).reduce((L,H)=>{const j=L[H]||(L[H]={});return D.assign(j,k[H]),L},T||{})}const{__i18n:A,__root:_,__injectWithOption:p}=e,v=e.datetimeFormats,E=e.numberFormats,m=e.flatJson;return{locale:t,fallbackLocale:n,messages:T,flatJson:m,datetimeFormats:v,numberFormats:E,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,inheritLocale:g,__i18n:A,__root:_,__injectWithOption:p}}function hl(e={}){const t=Oc(j$(e)),n={id:t.id,get locale(){return t.locale.value},set locale(r){t.locale.value=r},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(r){t.fallbackLocale.value=r},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return t.getMissingHandler()},set missing(r){t.setMissingHandler(r)},get silentTranslationWarn(){return D.isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(r){t.missingWarn=D.isBoolean(r)?!r:r},get silentFallbackWarn(){return D.isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(r){t.fallbackWarn=D.isBoolean(r)?!r:r},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(r){t.fallbackFormat=r},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(r){t.setPostTranslationHandler(r)},get sync(){return t.inheritLocale},set sync(r){t.inheritLocale=r},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){t.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(r){t.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...r){const[s,i,o]=r,a={};let l=null,c=null;if(!D.isString(s))throw Xe(15);const u=s;return D.isString(i)?a.locale=i:D.isArray(i)?l=i:D.isPlainObject(i)&&(c=i),D.isArray(o)?l=o:D.isPlainObject(o)&&(c=o),t.t(u,l||c||{},a)},rt(...r){return t.rt(...r)},tc(...r){const[s,i,o]=r,a={plural:1};let l=null,c=null;if(!D.isString(s))throw Xe(15);const u=s;return D.isString(i)?a.locale=i:D.isNumber(i)?a.plural=i:D.isArray(i)?l=i:D.isPlainObject(i)&&(c=i),D.isString(o)?a.locale=o:D.isArray(o)?l=o:D.isPlainObject(o)&&(c=o),t.t(u,l||c||{},a)},te(r,s){return t.te(r,s)},tm(r){return t.tm(r)},getLocaleMessage(r){return t.getLocaleMessage(r)},setLocaleMessage(r,s){t.setLocaleMessage(r,s)},mergeLocaleMessage(r,s){t.mergeLocaleMessage(r,s)},d(...r){return t.d(...r)},getDateTimeFormat(r){return t.getDateTimeFormat(r)},setDateTimeFormat(r,s){t.setDateTimeFormat(r,s)},mergeDateTimeFormat(r,s){t.mergeDateTimeFormat(r,s)},n(...r){return t.n(...r)},getNumberFormat(r){return t.getNumberFormat(r)},setNumberFormat(r,s){t.setNumberFormat(r,s)},mergeNumberFormat(r,s){t.mergeNumberFormat(r,s)},getChoiceIndex(r,s){return-1},__onComponentInstanceCreated(r){const{componentInstanceCreatedListener:s}=e;s&&s(r,n)}};return n}const Lc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},ml={name:"i18n-t",props:D.assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>D.isNumber(e)||!isNaN(e)}},Lc),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Jo({useScope:e.scope,__useComponent:!0}),i=Object.keys(n).filter(o=>o!=="_");return()=>{const o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=D.isString(e.plural)?+e.plural:e.plural);const a=V$(t,i),l=s[ul](e.keypath,a,o),c=D.assign({},r);return D.isString(e.tag)||D.isObject(e.tag)?Se.h(e.tag,c,l):Se.h(Se.Fragment,c,l)}}};function V$({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Zp(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let a={};e.locale&&(o.locale=e.locale),D.isString(e.format)?o.key=e.format:D.isObject(e.format)&&(D.isString(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((f,d)=>n.includes(d)?D.assign({},f,{[d]:e.format[d]}):f,{}));const l=r(e.value,o,a);let c=[o.key];D.isArray(l)?c=l.map((f,d)=>{const g=s[f.type];return g?g({[f.type]:f.value,index:d,parts:l}):[f.value]}):D.isString(l)&&(c=[l]);const u=D.assign({},i);return D.isString(e.tag)||D.isObject(e.tag)?Se.h(e.tag,u,c):Se.h(Se.Fragment,u,c)}}const U$=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],pl={name:"i18n-n",props:D.assign({value:{type:Number,required:!0},format:{type:[String,Object]}},Lc),setup(e,t){const n=e.i18n||Jo({useScope:"parent",__useComponent:!0});return Zp(e,t,U$,(...r)=>n[dl](...r))}},W$=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],gl={name:"i18n-d",props:D.assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Lc),setup(e,t){const n=e.i18n||Jo({useScope:"parent",__useComponent:!0});return Zp(e,t,W$,(...r)=>n[fl](...r))}};function z$(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function eg(e){const t=(n,{instance:r,value:s,modifiers:i})=>{if(!r||!r.$)throw Xe(22);const o=z$(e,r.$),a=K$(s);n.textContent=o.t(...Y$(a))};return{beforeMount:t,beforeUpdate:t}}function K$(e){if(D.isString(e))return{path:e};if(D.isPlainObject(e)){if(!("path"in e))throw Xe(19,"path");return e}else throw Xe(20)}function Y$(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},a=r||{};return D.isString(n)&&(o.locale=n),D.isNumber(s)&&(o.plural=s),D.isNumber(i)&&(o.plural=i),[t,a,o]}function q$(e,t,...n){const r=D.isPlainObject(n[0])?n[0]:{},s=!!r.useI18nComponentName;(D.isBoolean(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":ml.name,ml),e.component(pl.name,pl),e.component(gl.name,gl)),e.directive("t",eg(t))}function G$(e,t,n){return{beforeCreate(){const r=Se.getCurrentInstance();if(!r)throw Xe(22);const s=this.$options;if(s.i18n){const i=s.i18n;s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root?this.$i18n=md(e,i):(i.__injectWithOption=!0,this.$i18n=hl(i))}else s.__i18n?this===this.$root?this.$i18n=md(e,s):this.$i18n=hl({__i18n:s.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i)},mounted(){},beforeUnmount(){const r=Se.getCurrentInstance();if(!r)throw Xe(22);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 md(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Jp](t.pluralizationRules||e.pluralizationRules);const n=kc(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}function X$(e={}){const t=D.isBoolean(e.legacy)?e.legacy:!0,n=!!e.globalInjection,r=new Map,s=t?hl(e):Oc(e),i=D.makeSymbol(""),o={get mode(){return t?"legacy":"composition"},async install(a,...l){a.__VUE_I18N_SYMBOL__=i,a.provide(a.__VUE_I18N_SYMBOL__,o),!t&&n&&tx(a,o.global),q$(a,o,...l),t&&a.mixin(G$(s,s.__composer,o))},get global(){return s},__instances:r,__getInstance(a){return r.get(a)||null},__setInstance(a,l){r.set(a,l)},__deleteInstance(a){r.delete(a)}};return o}function Jo(e={}){const t=Se.getCurrentInstance();if(t==null)throw Xe(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw Xe(17);const n=Se.inject(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Xe(22);const r=n.mode==="composition"?n.global:n.global.__composer,s=D.isEmptyObject(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(s==="global"){let a=D.isObject(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=kc(r.locale.value,{messages:a,__i18n:t.type.__i18nGlobal}));const l=Object.keys(a);if(l.length&&l.forEach(c=>{r.mergeLocaleMessage(c,a[c])}),D.isObject(e.datetimeFormats)){const c=Object.keys(e.datetimeFormats);c.length&&c.forEach(u=>{r.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(D.isObject(e.numberFormats)){const c=Object.keys(e.numberFormats);c.length&&c.forEach(u=>{r.mergeNumberFormat(u,e.numberFormats[u])})}return r}if(s==="parent"){let a=J$(n,t,e.__useComponent);return a==null&&(a=r),a}if(n.mode==="legacy")throw Xe(18);const i=n;let o=i.__getInstance(t);if(o==null){const a=t.type,l=D.assign({},e);a.__i18n&&(l.__i18n=a.__i18n),r&&(l.__root=r),o=Oc(l),Q$(i,t),i.__setInstance(t,o)}return o}function J$(e,t,n=!1){let r=null;const s=t.root;let i=t.parent;for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else{const a=o.__getInstance(i);a!=null&&(r=a.__composer),n&&r&&!r[Qp]&&(r=null)}if(r!=null||s===i)break;i=i.parent}return r}function Q$(e,t,n){Se.onMounted(()=>{},t),Se.onUnmounted(()=>{e.__deleteInstance(t)},t)}const Z$=["locale","fallbackLocale","availableLocales"],ex=["t","rt","d","n","tm"];function tx(e,t){const n=Object.create(null);Z$.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw Xe(22);const i=Se.isRef(s.value)?{get(){return s.value.value},set(o){s.value.value=o}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,ex.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw Xe(22);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}Te.registerMessageCompiler(Te.compileToFunction);mn.DatetimeFormat=gl;mn.NumberFormat=pl;mn.Translation=ml;mn.VERSION=Xp;mn.createI18n=X$;mn.useI18n=Jo;mn.vTDirective=eg;Op.exports=mn;var nx={header:{docs:"Dokumentation",blog:"Blog",github:"GitHub",login:"Fahrzeug Logins",about:"\xDCber evcc"},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:{footerShort:"{percent}% Sonne",footerLong:"{percent}% Sonnenenergie",modalTitlePartOne:"{total} kWh geladen",modalTitlePartTwo:"{percent}% Sonne",modalChartGrid:"Netz {grid} kWh",modalChartSelf:"Sonne {self} kWh",modalSavingsPrice:"Effektiver Energiepreis",modalSavingsTotal:"Ersparnis gegen\xFCber Netzbezug",modalExplaination:"Berechnung",modalExplainationGrid:"Netz {gridPrice}",modalExplainationFeedIn:"Einspeisung {feedInPrice}",modalServerStart:"Seit Serverstart {since}.",modalNoData:"noch nicht geladen"},sponsor:{thanks:"Danke f\xFCr deine Unterst\xFCtzung, {sponsor}! Das hilft uns bei der Weiterentwicklung.",confetti:"Lust auf etwas Sponsor-Konfetti?",supportUs:"Wir m\xF6chten effizientes Zuhause-Laden zum Standard f\xFCr m\xF6glichst viele Menschen machen. Helfe uns indem du die Weiterentwicklung und Pflege des Projekts unterst\xFCtzt.",sticker:"...oder evcc Sticker?",confettiPromise:"Es gibt auch Sticker und digitales Konfetti ;)",becomeSponsor:"Werde jetzt GitHub Sponsor"}},notifications:{modalTitle:"Meldungen",dismissAll:"Meldungen entfernen"},main:{energyflow:{noEnergy:"Kein Energiefluss",homePower:"Verbrauch",pvProduction:"Erzeugung",loadpoints:"Ladepunkt | Ladepunkt | {count} Ladepunkte",battery:"Batterie",batteryCharge:"Batterie laden",batteryDischarge:"Batterie entladen",gridImport:"Netzbezug",selfConsumption:"Eigenverbrauch",pvExport:"Einspeisung"},mode:{offShort:"Aus",offLong:"Aus",nowShort:"Sofort",nowLong:"Sofort",minpvShort:"Min",minpvLong:"Min + PV",pvShort:"PV",pvLong:"PV",fast:"Schnell",cheap:"G\xFCnstig"},loadpoint:{fallbackName:"Ladepunkt",remoteDisabledSoft:"{source}: Adaptives PV-Laden deaktiviert",remoteDisabledHard:"{source}: Deaktiviert",power:"Leistung",charged:"Geladen",duration:"Dauer",remaining:"Restzeit"},vehicles:"Parkplatz",vehicle:{fallbackName:"Fahrzeug",vehicleSoC:"Ladestand",targetSoC:"Ladeziel",noVehicle:"Kein Fahrzeug"},vehicleSoC:{disconnected:"getrennt",charging:"l\xE4dt",ready:"bereit",connected:"verbunden"},vehicleStatus:{minCharge:"Mindestladung bis {soc}%.",waitForVehicle:"Ladebereit. Warte auf Fahrzeug.",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
|
|
`}}},rx={header:{docs:"Documentation",blog:"Blog",github:"GitHub",login:"Vehicle Logins",about:"About evcc"},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:{footerShort:"{percent}% solar",footerLong:"{percent}% solar energy",modalTitlePartOne:"{total} kWh charged",modalTitlePartTwo:"{percent}% solar",modalChartGrid:"Grid {grid} kWh",modalChartSelf:"Solar {self} kWh",modalSavingsPrice:"Effective energy price",modalSavingsTotal:"Savings compared to grid",modalExplaination:"Calculation",modalExplainationGrid:"grid tariff {gridPrice}",modalExplainationFeedIn:"feed-in rate {feedInPrice}",modalServerStart:"since server start {since}.",modalNoData:"nothing charged yet"},sponsor:{thanks:"Thanks for your support, {sponsor}! It helps us with the further development.",confetti:"Ready for some sponsor confetti?",supportUs:"We want to make efficient home charging the standard for as many people as possible. Help us by supporting the further development and maintenance of the project.",sticker:"...or evcc stickers?",confettiPromise:"There will be stickers and digital confetti ;)",becomeSponsor:"Become a GitHub Sponsor"}},notifications:{modalTitle:"Notifications",dismissAll:"Dismiss all"},main:{energyflow:{noEnergy:"No Energyflow",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:{offShort:"Stop",offLong:"Stop",nowShort:"Now",nowLong:"Now",minpvShort:"Min",minpvLong:"Min + PV",pvShort:"PV",pvLong:"PV",fast:"Fast",cheap:"Cheap"},loadpoint:{fallbackName:"Loadpoint",remoteDisabledSoft:"{source}: adaptive PV charging disabled",remoteDisabledHard:"{source}: disabled",power:"Power",charged:"Charged",duration:"Duration",remaining:"Remaining"},vehicles:"Parking",vehicle:{fallbackName:"Vehicle",vehicleSoC:"SoC",targetSoC:"Limit",noVehicle:"No Vehicle"},vehicleSoC:{disconnected:"disconnected",charging:"charging",ready:"ready",connected:"connected"},vehicleStatus:{minCharge:"minimum charging to {soc}%.",waitForVehicle:"Ready. Waiting for vehicle.",charging:"Charging.",targetChargePlanned:"Target charge planned. Starting {start}.",targetChargeWaitForVehicle:"Target charge ready. Wait for vehicle.",targetChargeActive:"Target charge active.",connected:"Connected.",pvDisable:"Not enough surplus. Pausing in {remaining}.",pvEnable:"Surplus available. Starging 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
|
|
`}}},sx={header:{docs:"Documentazione",blog:"Blog",github:"GitHub",login:"Iscrizioni"},footer:{version:{version:"versione",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: "},sponsor:{sponsoredShort:"grazie",sponsoredLong:"grazie {sponsor}",supportProjectShort:"supporto",supportProjectLong:"supporta questo progetto"}},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:{title:"Modalit\xE0",stop:"Stop",now:"Ora",minpvShort:"Min",minpvLong:"Min + FV",pvShort:"FV",pvLong:"Solo FV"},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"},vehicleSubline:{mincharge:"carica minima fino a {soc}%"},provider:{login:"accedere",logout:"disconnettersi"},loadpointDetails:{power:"Potenza",vehicleRange:"Autonomia",charged:"Ricaricato",duration:"Duarata",remaining:"Rimanenti"}}},ix={header:{docs:"Dokumentacija (Vokie\u010Di\u0173 k.)",blog:"Tinklara\u0161tis",github:"GitHub",login:" Automobili\u0173 prisijungimai",about:"Apie EVCC"},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 detali\u0173 n\u0117ra. Daugiau informacijos rasite \u010Dia:",modalCancel:"At\u0161aukti",modalUpdate:"Naujinti",modalUpdateNow:"Naujinti dabar",modalDownload:"Atsisi\u0173sti",modalUpdateStatusStart:"Naujinimas prasid\u0117jo: ",modalUpdateStatusFailed:"Naujinimas nepavyko: "},savings:{footerShort:"{percent}% saul\u0117s",footerLong:"{percent}% saul\u0117s energija",modalTitlePartOne:"{total} kWh \u012Fkrauta",modalTitlePartTwo:"{percent}% saul\u0117s",modalChartGrid:"Energija i\u0161 tinklo {grid} kWh",modalChartSelf:"Saul\u0117s energija {self} kWh",modalSavingsPrice:"Faktin\u0117 energijos kaina",modalSavingsTotal:"Sutaupyta, palyginus su tinklu",modalExplaination:"Skai\u010Diavimas",modalExplainationGrid:"kaina i\u0161 tinklo {gridPrice}",modalExplainationFeedIn:"Kompensavimas u\u017E patiekt\u0105 \u012F tinkl\u0105 energij\u0105 {feedInPrice}",modalServerStart:"nuo EVCC starto {since}.",modalNoData:"\u012Fkrovimo duomen\u0173 dar n\u0117ra"},sponsor:{thanks:"A\u010Di\u016B, kad mus remiate {sponsor}! Taip prisidedate prie projekto vystymo.",confetti:"Ar pasiruo\u0161\u0119 priimti r\u0117m\u0117jo konfeti?",supportUs:"Norime, kad efektyvesnis elektromobili\u0173 \u012Fkrovimas saul\u0117s energija tapt\u0173 pasiekiamas kuo daugiau \u017Emoni\u0173. Remdami prisidedate prie nuolatinio projekto vystymo ir techninio palaikymo.",sticker:"... ar EVCC lipduk\u0173?",confettiPromise:"Gausite lipduk\u0173 ir skaitmenini\u0173 konfeti ;)",becomeSponsor:"Prad\u0117kite GitHub r\u0117mim\u0105!"}},notifications:{modalTitle:"Prane\u0161imai",dismissAll:"I\u0161valyti visus"},main:{energyflow:{noEnergy:"Energija neteka",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:{offShort:"Stop",offLong:"Stop",nowShort:"Dabar",nowLong:"Dabar",minpvShort:"Min",minpvLong:"Min + PV",pvShort:"PV",pvLong:"PV",fast:"Greitai",cheap:"Pigiai"},loadpoint:{fallbackName:"\u012Ekroviklis",remoteDisabledSoft:"{source}: adaptyvus PV \u012Fkrovimas i\u0161jungtas",remoteDisabledHard:"{source}: i\u0161jungtas",power:"Galia",charged:"\u012Ekrauta",duration:"Trukm\u0117",remaining:"Liko"},vehicles:"Autoparkas",vehicle:{fallbackName:"Automobilis",vehicleSoC:"\u012Ekrova",targetSoC:"Limitas",noVehicle:"N\u0117ra automobilio"},vehicleSoC:{disconnected:"neprijungtas",charging:"vyksta \u012Fkrovimas",ready:"leid\u017Eiama \u012Fkrauti",connected:"automobilis prijungtas"},vehicleStatus:{minCharge:"minimalus \u012Fkrovimas iki {soc}%.",waitForVehicle:"\u012Ekrovimas leid\u017Eiamas. Laukiama automobilio signalo.",charging:"\u012Ekraunama.",targetChargePlanned:"Suplanuotas \u012Fkrovimas, prasid\u0117s {start}.",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
|
|
`}}};const ox="preferred_locale";function ax(){const e=navigator.languages!==void 0?navigator.languages[0]:navigator.language;if(!!e)return e.trim().split(/-|_/)[0]}var lx=Op.exports.createI18n({locale:window.localStorage[ox]||ax(),fallbackLocale:"en",messages:{de:nx,en:rx,it:sx,lt:ix}}),cx={install:e=>{e.config.globalProperties.$hiddenFeatures=window.localStorage.hidden_features==="true"}};Cy.polyfill();const ms=Vm({data(){return{notifications:[]}},methods:{raise:function(e){console[e.type](e);const t=new Date,n=this.notifications[0];n&&n.message===e.message?(n.count++,n.time=t):this.notifications=[gs(he({},e),{count:1,time:t}),...this.notifications]},clear:function(){this.notifications=[]},error:function(e){e.type="error",this.raise(e)},warn:function(e){e.type="warn",this.raise(e)}},render:function(){return Hn(FT,{notifications:this.notifications})}});ms.use(lx);ms.use(pN);ms.use(cw());ms.use(dw);ms.use(cx);window.app=ms.mount("#app");window.setInterval(function(){er.get("health").catch(function(){window.app.error({message:"Server unavailable"})})},5e3)});export default ux();
|