PageSourceSearch

https://devolutions.net/_astro/LucidAuth.astro_astro_type_script_index_0_lang.CIBgIRhx.js

js devolutions.net collected 2026-10-01 08:35:00 UTC 216,623 bytes, 36 lines download raw bytes

1import{t as e}from"./rolldown-runtime.DK3Fl9T5.js";import{n as t,r as n,t as r}from"./oidc-client-ts.DH0hvAt0.js";var i={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,propChangeCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,shadowSlotAssignmentManual:!1,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},a=(function(){let e=typeof document<`u`&&document.createElement(`link`).relList;return e&&e.supports&&e.supports(`modulepreload`)?`modulepreload`:`preload`})(),o=function(e){return`/`+e},s={},c=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),c=i?.nonce||i?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function u(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=l(t.map(t=>{if(t=o(t,n),t=u(t),t in s)return;s[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:a,r||(i.as=`script`),i.crossOrigin=``,i.href=t,c&&i.setAttribute(`nonce`,c),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};i.isDev,i.isTesting;var l=`http://www.w3.org/2000/svg`,u=`http://www.w3.org/1999/xhtml`,d=(e=>(e.Undefined=`undefined`,e.Null=`null`,e.String=`string`,e.Number=`number`,e.SpecialNumber=`number`,e.Boolean=`boolean`,e.BigInt=`bigint`,e))(d||{}),f=(e=>(e.Array=`array`,e.Date=`date`,e.Map=`map`,e.Object=`object`,e.RegularExpression=`regexp`,e.Set=`set`,e.Channel=`channel`,e.Symbol=`symbol`,e))(f||{}),p=`type`,m=`value`,h=`serialized:`;function g(e,t,n){let r=typeof HTMLElement<`u`?HTMLElement.prototype:null;for(;e&&e!==r;){let r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!n||r.get))return r;e=Object.getPrototypeOf(e)}}var _=(e,t)=>
1{let n=t.$cmpMeta$;Object.entries(n.$members$??{}).map(([n,[r]])=>{if((i.state||i.prop)&&(r&31||r&32)){let r=e[n],i=g(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(e,n,{get(){return i.get.call(this)},set(e){i.set.call(this,e)},configurable:!0,enumerable:!0}),t.$instanceValues$.has(n)?e[n]=t.$instanceValues$.get(n):r!==void 0&&(e[n]=r)}})},v=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},y=(e,t)=>{let n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map,$serializerValues$:new Map};i.isDev&&(n.$renderCount$=0),i.method&&i.lazyLoad&&(n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e)),i.asyncLoading&&(n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e[`s-p`]=[],e[`s-rc`]=[]),i.lazyLoad&&(n.$fetchedCbList$=[]);let r=n;return e.__stencil__getHostRef=()=>r,!i.lazyLoad&&t.$flags$&512&&(i.state||i.prop)&&_(e,n),r},b=(e,t)=>t in e,x,S=(e,t)=>(x||console.error)(e,t),C=i.isTesting?[`STENCIL:`]:[`%cstencil`,`color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px`],w=(...e)=>console.error(...C,...e),T=(...e)=>console.warn(...C,...e),E=new Map,ee=new Map,te=(e,t,n)=>{let r=e.$tagName$.replace(/-/g,`_`),a=e.$lazyBundleId$;if(i.isDev&&typeof a!=`string`){w(`Trying to lazily load component <${e.$tagName$}> with style mode "${t.$modeName$}", but it does not exist.`);return}else if(!a)return;let o=!i.hotModuleReplacement&&E.get(a);if(o)return o[r];let s=ee.get(a)??0,l=[s>0?`s-retry=${s}`:``,i.hotModuleReplacement&&n?`s-hmr=${n}`:``].filter(Boolean).join(`&`);return c(()=>import(`./${a}.entry.js${l?`?`+l:``}`).then(e=>(i.hotModuleReplacement||(ee.delete(a),E.set(a,e)),e[r]),e=>{ee.set(a,s+1),S(e,t.$hostElement$)}),[])},D=new Map,O=[],k=()=>!1,A=`r`,ne=`o`,re=`s`,ie=`t`,ae=`c`,oe=`s-id`,j=`sty-id`,se=`c-id`,ce=`slot-fb{display:contents}slot-fb[hidden]{display:none}`,M=`http://www.w3.org/1999/xlink`,le=3,ue=1e3,de=[`formAssociatedCallback`,`formResetCallback`,`formDisabledCallback`,`formStateRestoreCallback`],N=typeof window<`u`?window:{},fe=N.HTMLElement||class{},P={$flags$:0,$resourcesUrl$:``,jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},pe=i.shadowDom,me=(()=>{var e;let t=!1;try{(e=N.document)==null||e.addEventListener(`e`,null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),he=e=>Promise.resolve(e),ge=i.constructableCSS?(()=>{try{return N.document.adoptedStyleSheets?(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync==`function`):!1}catch{}return!1})():!1,_e=ge?!!N.document&&Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets,`length`).writable:!1,ve=0,ye=!1,be=[],xe=[],Se=[],Ce=()=>N.document?.hidden?Oe(De):P.raf(De),we=(e,t)=>n=>{e.push(n),ye||(ye=!0,t&&P.$flags$&4?Oe(De):Ce())},Te=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){S(e)}e.length=0},Ee=(e,t)=>{let n=0,r=0;for(;n<e.length&&(r=performance.now())<t;)try{e[n++](r)}catch(e){S(e)}n===e.length?e.length=0:n!==0&&e.splice(0,n)},De=()=>{if(i.asyncQueue&&ve++,Te(be),i.asyncQueue){let e=(P.$flags$&6)==2?performance.now()+14*Math.ceil(1/10*ve):1/0;Ee(xe,e),Ee(Se,e),xe.length>0&&(Se.push(...xe),xe.length=0),(ye=be.length+xe.length+Se.length>0)?Ce():ve=0}else Te(xe),(ye=be.length>0)&&Ce()},Oe=e=>he().then(e),ke=we(xe,!0);function Ae(e){if(!e||!ge)return;let t=new CSSStyleSheet;return t.replaceSync(e),t}var je;function Me(e){let t={mode:`open`};i.shadowDelegatesFocus&&(t.delegatesFocus=!!(e.$flags$&16)),i.shadowSlotAssignmentManual&&e.$flags$&1024&&(t.slotAssignment=`manual`);let n=this.attachShadow(t);je===void 0&&(je=Ae(``)??null),je&&(_e?n.adoptedStyleSheets.push(je):n.adoptedStyleSheets=[...n.adoptedStyleSheets,je])}var Ne=e=>{let t=I(e,`childNodes`);e.tagName&&e.tagName.includes(`-`)&&e[`s-cr`]&&e.tagName!==`SLOT-FB`&&Fe(t,e.tagName).forEach(e=>{e.nodeType===1&&e.tagName===`SLOT-FB`&&(Ie(e,ze(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){let e=t[n];e.nodeType===1&&I(e,`childNodes`).length&&Ne(e)}},Pe=e=>{let t=[];for(let n=0;n<e.length;n++){let r=e[n][`s-nr`]||void 0;r&&r.isConnected&&t.push(r)}return t};function Fe(e,t,n){let r=0,i=[],a;for(;r<e.length;r++){if(a=e[r],a[`s-sr`]&&(!t||a[`s-hn`]===t)&&(n===void 0||ze(a)===n)&&(i.push(a),n!==void 0))return i;i=[...i,...Fe(I(a,`childNodes`),t,n)]}return i}var Ie=(e,t,n=!0)=>{let r=[];(n&&e[`s-sr`]||!e[`s-sr`])&&r.push(e);let i=e;for(;i=i.nextSibling;)ze(i)===t&&(n||!i[`s-sr`])&&r.push(i);return r},Le=(e,t)=>e.nodeType===1?e.getAttribute(`slot`)===null&&t===``||e.getAttribute(`slot`)===t:e[`s-sn`]===t||t===``,Re=(e,t,n,r)=>{if(e[`s-ol`]&&e[`s-ol`].isConnected)return;let a=document.createTextNode(``);if(a[`s-nr`]=e,!t[`s-cr`]||!t[`s-cr`].parentNode)return;let o=t[`s-cr`].parentNode,s=n?I(o,`prepend`):I(o,`appendChild`);if(i.hydrateClientSide&&r!==void 0){a[`s-oo`]=r;let e=I(o,`childNodes`),t=[a];
1e.forEach(e=>{e[`s-nr`]&&t.push(e)}),t.sort((e,t)=>!e[`s-oo`]||e[`s-oo`]<(t[`s-oo`]||0)?-1:+(!t[`s-oo`]||t[`s-oo`]<e[`s-oo`])),t.forEach(e=>s.call(o,e))}else s.call(o,a);e[`s-ol`]=a,e[`s-sh`]=t[`s-hn`]},ze=e=>typeof e[`s-sn`]==`string`?e[`s-sn`]:e.nodeType===1&&e.getAttribute(`slot`)||void 0;function Be(e){if(e.assignedElements||e.assignedNodes||!e[`s-sr`])return;let t=t=>(function(e){let n=[],r=this[`s-sn`];e?.flatten&&console.error(`
2          Flattening is not supported for Stencil non-shadow slots.
3          You can use \`.childNodes\` to nested slot fallback content.
4          If you have a particular use case, please open an issue on the Stencil repo.
5        `);let i=this[`s-cr`].parentElement;return(i.__childNodes?i.childNodes:Pe(i.childNodes)).forEach(e=>{r===ze(e)&&n.push(e)}),t?n.filter(e=>e.nodeType===1):n}).bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function Ve(e){e.dispatchEvent(new CustomEvent(`slotchange`,{bubbles:!1,cancelable:!1,composed:!1}))}function He(e,t){if(t||=e[`s-ol`]?.parentElement,!t)return{slotNode:null,slotName:``};let n=e[`s-sn`]=ze(e)||``;return{slotNode:Fe(I(t,`childNodes`),t.tagName,n)[0],slotName:n}}var Ue=e=>{We(e),Ge(e),Je(e),qe(e),Qe(e),Ye(e),Xe(e),Ze(e),$e(e),et(e),Ke(e)},We=e=>{if(e.__cloneNode)return;let t=e.__cloneNode=e.cloneNode;e.cloneNode=function(e){let n=this,r=i.shadowDom?n.shadowRoot&&pe:!1,a=t.call(n,r?e:!1);if(i.slot&&!r&&e){let e=0,t,n,r=[`s-id`,`s-cr`,`s-lr`,`s-rc`,`s-sc`,`s-p`,`s-cn`,`s-sr`,`s-sn`,`s-hn`,`s-ol`,`s-nr`,`s-si`,`s-rf`,`s-scs`],o=this.__childNodes||this.childNodes;for(;e<o.length;e++)t=o[e][`s-nr`],n=r.every(t=>!o[e][t]),t&&(i.appendChildSlotFix&&a.__appendChild?a.__appendChild(t.cloneNode(!0)):a.appendChild(t.cloneNode(!0))),n&&a.appendChild(o[e].cloneNode(!0))}return a}},Ge=e=>{e.__appendChild||(e.__appendChild=e.appendChild,e.appendChild=function(e){let{slotName:t,slotNode:n}=He(e,this);if(n){Re(e,n);let r=Ie(n,t),i=r[r.length-1],a=I(I(i,`parentNode`),`insertBefore`)(e,i.nextSibling);return Ve(n),Ne(this),a}return this.__appendChild(e)})},Ke=e=>{e.__removeChild||(e.__removeChild=e.removeChild,e.removeChild=function(e){if(e&&e[`s-sn`]!==void 0&&Fe(this.__childNodes||this.childNodes,this.tagName,e[`s-sn`])&&e.isConnected){e.remove(),Ne(this);return}return this.__removeChild(e)})},qe=e=>{e.__prepend||(e.__prepend=e.prepend,e.prepend=function(...t){t.forEach(t=>{typeof t==`string`&&(t=this.ownerDocument.createTextNode(t));let n=(t[`s-sn`]=ze(t))||``,r=Fe(I(this,`childNodes`),this.tagName,n)[0];if(r){Re(t,r,!0);let e=Ie(r,n)[0],i=I(I(e,`parentNode`),`insertBefore`)(t,I(e,`nextSibling`));return Ve(r),i}return t.nodeType===1&&t.getAttribute(`slot`)&&(t.hidden=!0),e.__prepend(t)})})},Je=e=>{e.__append||(e.__append=e.append,e.append=function(...e){e.forEach(e=>{typeof e==`string`&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)})})},Ye=e=>{if(e.__insertAdjacentHTML)return;let t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if(e!==`afterbegin`&&e!==`beforeend`)return t.call(this,e,n);let r=this.ownerDocument.createElement(`_`),i;if(r.innerHTML=n,e===`afterbegin`)for(;i=r.firstChild;)this.prepend(i);else if(e===`beforeend`)for(;i=r.firstChild;)this.append(i)}},Xe=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},Ze=e=>{if(e.__insertBefore)return;let t=e;t.__insertBefore||(t.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){let{slotName:n,slotNode:r}=He(e,this),i=this.__childNodes?this.childNodes:Pe(this.childNodes);if(r){let a=!1;if(i.forEach(i=>{if(i===t||t===null){if(a=!0,t===null||n!==t[`s-sn`]){this.appendChild(e);return}n===t[`s-sn`]&&(Re(e,r),I(I(t,`parentNode`),`insertBefore`)(e,t),Ve(r));return}}),a)return e}let a=t?.__parentNode;return a&&!this.isSameNode(a)?this.appendChild(e):this.__insertBefore(e,t)})},Qe=e=>{if(e.__insertAdjacentElement)return;let t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return e!==`afterbegin`&&e!==`beforeend`?t.call(this,e,n):e===`afterbegin`?(this.prepend(n),n):(e===`beforeend`&&this.append(n),n)}},$e=e=>{F(`textContent`,e),Object.defineProperty(e,"textContent",{get:function(){let e=``;return(this.__childNodes?this.childNodes:Pe(this.childNodes)).forEac
5h(t=>e+=t.textContent||``),e},set:function(e){(this.__childNodes?this.childNodes:Pe(this.childNodes)).forEach(e=>{e[`s-ol`]&&e[`s-ol`].remove(),e.remove()}),this.insertAdjacentHTML(`beforeend`,e)}})},et=e=>{class t extends Array{item(e){return this[e]}}F(`children`,e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter(e=>e.nodeType===1)}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),F(`firstChild`,e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]||null}}),F(`lastChild`,e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),F(`childNodes`,e),Object.defineProperty(e,"childNodes",{get(){let e=new t;return e.push(...Pe(this.__childNodes)),e}})},tt=e=>{!e||e.__nextSibling!==void 0||!globalThis.Node||(nt(e),it(e),ot(e),e.nodeType===Node.ELEMENT_NODE&&(rt(e),at(e)))},nt=e=>{!e||e.__nextSibling||(F(`nextSibling`,e),Object.defineProperty(e,"nextSibling",{get:function(){let e=this[`s-ol`]?.parentNode.childNodes,t=e?.indexOf(this);return e&&t>-1?e[t+1]||null:this.__nextSibling}}))},rt=e=>{!e||e.__nextElementSibling||(F(`nextElementSibling`,e),Object.defineProperty(e,"nextElementSibling",{get:function(){let e=this[`s-ol`]?.parentNode.children,t=e?.indexOf(this);return e&&t>-1?e[t+1]||null:this.__nextElementSibling}}))},it=e=>{!e||e.__previousSibling||(F(`previousSibling`,e),Object.defineProperty(e,"previousSibling",{get:function(){let e=this[`s-ol`]?.parentNode.childNodes,t=e?.indexOf(this);return e&&t>-1?e[t-1]||null:this.__previousSibling}}))},at=e=>{!e||e.__previousElementSibling||(F(`previousElementSibling`,e),Object.defineProperty(e,"previousElementSibling",{get:function(){let e=this[`s-ol`]?.parentNode.children,t=e?.indexOf(this);return e&&t>-1?e[t-1]||null:this.__previousElementSibling}}))},ot=e=>{!e||e.__parentNode||(F(`parentNode`,e),Object.defineProperty(e,"parentNode",{get:function(){return this[`s-ol`]?.parentNode||this.__parentNode},set:function(e){this.__parentNode=e}}))},st=[`children`,`nextElementSibling`,`previousElementSibling`],ct=[`childNodes`,`firstChild`,`lastChild`,`nextSibling`,`previousSibling`,`textContent`,`parentNode`];function F(e,t){if(!globalThis.Node||!globalThis.Element)return;let n;st.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):ct.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||=Object.getOwnPropertyDescriptor(t,e),n&&Object.defineProperty(t,`__`+e,n)}function I(e,t){if(`__`+t in e){let n=e[`__`+t];return typeof n==`function`?n.bind(e):n}else return typeof e[t]==`function`?e[t].bind(e):e[t]}var lt=0,L=(e,t=``)=>{if(i.profile&&performance.mark){let n=`st:${e}:${t}:${lt++}`;return performance.mark(n),()=>performance.measure(`[Stencil] ${e}() <${t}>`,n)}else return()=>{}},ut=(e,t)=>i.profile&&performance.mark?(performance.getEntriesByName(e,`mark`).length===0&&performance.mark(e),()=>{performance.getEntriesByName(t,`measure`).length===0&&performance.measure(t,e)}):()=>{};function dt(e){return(e.head?.querySelector(`meta[name="csp-nonce"]`))?.getAttribute(`content`)??void 0}var ft=new WeakMap,pt=(e,t,n)=>{let r=D.get(e);ge&&n?(r||=new CSSStyleSheet,typeof r==`string`?r=t:r.replaceSync(t)):r=t,D.set(e,r)},mt=(e,t,n)=>{let r=gt(t,n),a=D.get(r);if(!i.attachStyles||!N.document)return r;if(e=e.nodeType===11?e:N.document,a){if(typeof a==`string`){e=e.head||e;let n=ft.get(e),o;n||ft.set(e,n=new Set);let s=(i.hydrateClientSide||i.hotModuleReplacement)&&e.querySelector(`[sty-id="${r}"]`);if(s)s.textContent=a;else if(!n.has(r)){o=N.document.createElement(`style`),o.textContent=a;let s=P.$nonce$??dt(N.document);if(s!=null&&o.setAttribute(`nonce`,s),(i.hydrateServerSide||i.hotModuleReplacement)&&(t.$flags$&2||t.$flags$&128||t.$flags$&1)&&o.setAttribute(j,r),!(t.$flags$&1))if(e.nodeName===`HEAD`){let t=e.querySelectorAll(`link[rel=preconnect]`),n=t.length>0?t[t.length-1].nextSibling:e.querySelector(`style`);e.insertBefore(o,n?.parentNode===e?n:null)}else if(`host`in e)if(ge){let t=new(e.defaultView??e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(a),_e?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{let t=e.querySelector(`style`);t&&!i.hotModuleReplacement?t.textContent=a+t.textContent:e.prepend(o)}
5else e.append(o);t.$flags$&1&&e.insertBefore(o,null),t.$flags$&4&&(o.textContent+=ce),n&&n.add(r)}}else if(i.constructableCSS){let t=ft.get(e);if(t||ft.set(e,t=new Set),!t.has(r)){let n=e.defaultView??e.ownerDocument.defaultView,o;if(a.constructor===n.CSSStyleSheet)o=a;else{o=new n.CSSStyleSheet;for(let e=0;e<a.cssRules.length;e++)o.insertRule(a.cssRules[e].cssText,e)}if(_e?e.adoptedStyleSheets.push(o):e.adoptedStyleSheets=[...e.adoptedStyleSheets,o],t.add(r),i.hydrateClientSide&&`host`in e){let t=e.querySelector(`[${j}="${r}"]`);t&&ke(()=>t.remove())}}}}return r},ht=e=>{let t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,a=L(`attachStyles`,t.$tagName$),o=mt(i.shadowDom&&pe&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$);(i.shadowDom||i.scoped)&&i.cssAnnotations&&r&10&&(n[`s-sc`]=o,n.classList.add(o+`-h`)),a()},gt=(e,t)=>`sc-`+(i.mode&&t&&e.$flags$&32?e.$tagName$+`-`+t:e.$tagName$),_t=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,`$1{`),vt=()=>{if(!N.document)return;let e=N.document.querySelectorAll(`[${j}]`),t=0;for(;t<e.length;t++)pt(e[t].getAttribute(j),_t(e[t].innerHTML),!0)},yt=e=>e!=null&&e!==void 0,bt=e=>(e=typeof e,e===`object`||e===`function`),R=(e,t,...n)=>{typeof e==`string`&&(e=H(e));let r=null,a=null,o=null,s=!1,c=!1,l=[],u=t=>{for(let n=0;n<t.length;n++)if(r=t[n],Array.isArray(r))u(r);else if(r!=null&&typeof r!=`boolean`){if(s=typeof e!=`function`&&!bt(r))r=String(r);else if(typeof e!=`function`&&r.$flags$===void 0){i.isDev?w(`vNode passed as children has unexpected type.
6Make sure it's using the correct h() function.
7Empty objects can also be the cause, look for JSX comments that became objects.`):S(`Invalid vNode child`);continue}s&&c?l[l.length-1].$text$+=r:l.push(s?xt(null,r):r),c=s}};if(u(n),t&&(i.isDev&&e===`input`&&Dt(t),i.vdomKey&&t.key&&(a=t.key),i.slotRelocation&&t.name&&(o=t.name),i.vdomClass)){let e=t.className||t.class;e&&(t.class=typeof e==`object`?Object.keys(e).filter(t=>e[t]).join(` `):e)}if(i.isDev&&l.some(Ct)&&w(`The <Host> must be the single root component. Make sure:
8- You are NOT using hostData() and <Host> in the same component.
9- <Host> is used once, and it's the single root component of the render() function.`),i.vdomFunctional&&typeof e==`function`)return e(t===null?{}:t,l,wt);let d=xt(e,null);return d.$attrs$=t,l.length>0&&(d.$children$=l),i.vdomKey&&(d.$key$=a),i.slotRelocation&&(d.$name$=o),d},xt=(e,t)=>{let n={$flags$:0,$tag$:e,$text$:t??null,$elm$:null,$children$:null};return i.vdomAttribute&&(n.$attrs$=null),i.vdomKey&&(n.$key$=null),i.slotRelocation&&(n.$name$=null),n},St={},Ct=e=>e&&e.$tag$===St,wt={forEach:(e,t)=>e.map(Tt).forEach(t),map:(e,t)=>e.map(Tt).map(t).map(Et)},Tt=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Et=e=>{if(typeof e.vtag==`function`){let t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),R(e.vtag,t,...e.vchildren||[])}let t=xt(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Dt=e=>{let t=Object.keys(e),n=t.indexOf(`value`);if(n===-1)return;let r=t.indexOf(`type`),i=t.indexOf(`min`),a=t.indexOf(`max`),o=t.indexOf(`step`);(n<r||n<i||n<a||n<o)&&T(`The "value" prop of <input> should be set after "min", "max", "type" and "step"`)},Ot=(e,t,n,r)=>{let a=L(`hydrateClient`,t),o=e.shadowRoot,s=[],c=[],l=[],u=i.shadowDom&&o?[]:null,d=xt(t,null);d.$elm$=e;let f;if(i.scoped){let t=r.$cmpMeta$;t&&t.$flags$&10&&e[`s-sc`]?(f=e[`s-sc`],e.classList.add(f+`-h`)):e[`s-sc`]&&delete e[`s-sc`]}N.document&&(!P.$orgLocNodes$||!P.$orgLocNodes$.size)&&At(N.document.body,P.$orgLocNodes$=new Map),e[oe]=n,e.removeAttribute(oe),r.$vnode$=kt(d,s,c,u,e,e,n,l);let p=0,m=s.length,h;for(;p<m;p++){h=s[p];let n=h.$hostId$+`.`+h.$nodeId$,r=P.$orgLocNodes$.get(n),a=h.$elm$;if(!o)a[`s-hn`]=H(t).toUpperCase(),h.$tag$===`slot`&&(a[`s-cr`]=e[`s-cr`]);else if(h.$tag$?.toString().includes(`-`)&&h.$tag$!==`slot-fb`&&!h.$elm$.shadowRoot){let e=v(h.$elm$);if(e){let t=gt(e.$cmpMeta$,i.mode?h.$elm$.getAttribute(`s-mode`):void 0),n=N.document.querySelector(`style[sty-id="${t}"]`);n&&u.unshift(n.cloneNode(!0))}}h.$tag$===`slot`&&(h.$name$=h.$elm$[`s-sn`]||h.$elm$.name||null,h.$children$?(h.$flags$|=2,h.$elm$.childNodes.length||h.$children$.forEach(e
9=>{h.$elm$.appendChild(e.$elm$)})):h.$flags$|=1),r&&r.isConnected&&(r.parentElement.shadowRoot&&r[`s-en`]===``&&r.parentNode.insertBefore(a,r.nextSibling),r.parentNode.removeChild(r),o||(a[`s-oo`]=parseInt(h.$nodeId$))),r&&!r[`s-id`]&&P.$orgLocNodes$.delete(n)}let g=[],_=l.length,y=0,b,x,S,C,w=0;for(;y<_;y++)if(b=l[y],!(!b||!b.length))for(S=b.length,x=0;x<S;x++){if(C=b[x],g[C.hostId]||(g[C.hostId]=P.$orgLocNodes$.get(C.hostId)),!g[C.hostId])continue;let e=g[C.hostId];e.shadowRoot&&C.node.parentElement!==e&&e.insertBefore(C.node,b[x-1]?.node?.nextSibling),(!e.shadowRoot||!o)&&(C.slot[`s-cr`]||(C.slot[`s-cr`]=e[`s-cr`],!C.slot[`s-cr`]&&e.shadowRoot?C.slot[`s-cr`]=e:C.slot[`s-cr`]=(e.__childNodes||e.childNodes)[0]),Re(C.node,C.slot,!1,C.node[`s-oo`]||w),C.node.parentElement?.shadowRoot&&C.node.getAttribute&&C.node.getAttribute(`slot`)&&C.node.removeAttribute(`slot`),i.experimentalSlotFixes&&tt(C.node)),w=(C.node[`s-oo`]||w)+1}if(i.scoped&&f&&c.length&&c.forEach(e=>{e.$elm$.parentElement.classList.add(f+`-s`)}),i.shadowDom&&o&&!o.childNodes.length){let t=0,n=u.length;if(n){for(;t<n;t++){let e=u[t];e&&o.appendChild(e)}Array.from(e.childNodes).forEach(e=>{typeof e[`s-en`]!=`string`&&typeof e[`s-sn`]!=`string`&&(e.nodeType===1&&e.slot&&e.hidden?e.removeAttribute(`hidden`):e.nodeType===8&&!e.nodeValue&&e.parentNode.removeChild(e))})}}r.$hostElement$=e,a()},kt=(e,t,n,r,a,o,s,c=[])=>{let l,u,d,f,p=a[`s-sc`];if(o.nodeType===1){if(l=o.getAttribute(se),l&&(u=l.split(`.`),u[0]===s||u[0]===`0`)){d=jt({$flags$:0,$hostId$:u[0],$nodeId$:u[1],$depth$:u[2],$index$:u[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:{class:o.className||``}}),t.push(d),o.removeAttribute(se),e.$children$||=[],i.scoped&&p&&u[0]===s&&(o[`s-si`]=p,d.$attrs$.class+=` `+p);let a=d.$elm$.getAttribute(`s-sn`);typeof a==`string`&&(d.$tag$===`slot-fb`&&(Mt(a,u[2],d,o,e,t,n,r,c),i.scoped&&p&&o.classList.add(p)),d.$elm$[`s-sn`]=a,d.$elm$.removeAttribute(`s-sn`)),d.$index$!==void 0&&(e.$children$[d.$index$]=d),e=d,r&&d.$depth$===`0`&&(r[d.$index$]=d.$elm$)}if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)kt(e,t,n,r,a,o.shadowRoot.childNodes[f],s,c);let m=o.__childNodes||o.childNodes;for(f=m.length-1;f>=0;f--)kt(e,t,n,r,a,m[f],s,c)}else if(o.nodeType===8)u=o.nodeValue.split(`.`),(u[1]===s||u[1]===`0`)&&(l=u[0],d=jt({$hostId$:u[1],$nodeId$:u[2],$depth$:u[3],$index$:u[4]||`0`,$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),l===ie?(d.$elm$=Pt(o,3),d.$elm$&&d.$elm$.nodeType===3&&(d.$text$=d.$elm$.textContent,t.push(d),o.remove(),s===d.$hostId$&&(e.$children$||=[],e.$children$[d.$index$]=d),r&&d.$depth$===`0`&&(r[d.$index$]=d.$elm$))):l===ae?(d.$elm$=Pt(o,8),d.$elm$&&d.$elm$.nodeType===8&&(t.push(d),o.remove())):d.$hostId$===s&&(l===re?Mt(o[`s-sn`]=u[5]||``,u[2],d,o,e,t,n,r,c):l===A&&(i.shadowDom&&r?o.remove():i.slotRelocation&&(a[`s-cr`]=o,o[`s-cn`]=!0))));else if(e&&e.$tag$===`style`){let t=xt(null,o.textContent);t.$elm$=o,t.$index$=`0`,e.$children$=[t]}return e},At=(e,t)=>{if(e.nodeType===1){let n=e[oe]||e.getAttribute(oe);n&&t.set(n,e);let r=0;if(e.shadowRoot)for(;r<e.shadowRoot.childNodes.length;r++)At(e.shadowRoot.childNodes[r],t);let i=e.__childNodes||e.childNodes;for(r=0;r<i.length;r++)At(i[r],t)}else if(e.nodeType===8){let n=e.nodeValue.split(`.`);n[0]===ne&&(t.set(n[1]+`.`+n[2],e),e.nodeValue=``,e[`s-en`]=n[3])}},jt=e=>({$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:`0`,$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null,...e});function Mt(e,t,n,r,a,o,s,c,l){r[`s-sr`]=!0,n.$name$=e||null,n.$tag$=`slot`;let u=a?.$elm$?a.$elm$[`s-id`]||a.$elm$.getAttribute(`s-id`):``;if(i.shadowDom&&c&&N.document){let i=n.$elm$=N.document.createElement(n.$tag$);n.$name$&&n.$elm$.setAttribute(`name`,e),a.$elm$.shadowRoot&&u&&u!==n.$hostId$?I(a.$elm$,`insertBefore`)(i,I(a.$elm$,`children`)[0]):I(I(r,`parentNode`),`insertBefore`)(i,r),Nt(l,t,e,r,n.$hostId$),r.remove(),n.$depth$===`0`&&(c[n.$index$]=n.$elm$)}else{let i=n.$elm$,o=u&&u!==n.$hostId$&&a.$elm$.shadowRoot;Nt(l,t,e,r,o?u:n.$hostId$),Be(r),o&&a.$elm$.insertBefore(i,a.$elm$.children[0])}o.push(n),s.push(n),a.$children$||=[],a.$children$[n.$index$]=n}var Nt=(e,t,n,r,i)=>{let a=r.nextSibling;if(e[t]=e[t]||[],!(!a||a.nodeValue?.startsWith(re+`.`)))do a&&((a.getAttribute&&a.getAttribute(`slot`)||a[`s-sn`])===n||n===``&&!a[`s-sn`]&&(!a.getAttribute||!a.getAttribute(`slot`))&&(a.nodeType===8||a.nodeType===3))&&(a[`s-sn`]=n,e[t].push({slot:r,node:a,hostId:i})),a=a?.nextSibling;while(a&&!a.nodeValue?.startsWith(re+`.`))},Pt=(e,t)=>{let n=e;do n=n.nextSibling;while(n&&(n.nodeType!==t||!n.nodeValue));return n},Ft=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),It=e=>{let t=[],n=0;return e=e.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,(e,r)=>{let i=`__part-${n}__`;return t.push(r),n++,i}),e=e.replace(/(\[[^\]]*\])/g,(e,r)=>{let i=`__ph-${n}__`;return t.push(r),n++,i}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,r,i)=>{let a=`__ph-${n}__`;return t.push(i),n++,r+a}),placeholders:t}},Lt=(e,t)=>
9(t=t.replace(/__part-(\d+)__/g,(t,n)=>e[+n]),t.replace(/__ph-(\d+)__/g,(t,n)=>e[+n])),Rt=`-shadowcsshost`,zt=`-shadowcssslotted`,Bt=`-shadowcsscontext`,Vt=`)(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)`,Ht=RegExp(`(`+Rt+Vt,`gim`),Ut=RegExp(`(`+Bt+Vt,`gim`),Wt=RegExp(`(`+zt+Vt,`gim`),Gt=Rt+`-no-combinator`,Kt=/-shadowcsshost-no-combinator([^\s]*)/,qt=[/::shadow/g,/::content/g],Jt=/__part-(\d+)__/g,Yt=`([>\\s~+[.,{:][\\s\\S]*)?$`,Xt=/-shadowcsshost/gim,Zt=e=>{let t=Ft(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,`g`)},Qt=/\/\*\s*[\s\S]*?\*\//g,$t=e=>e.replace(Qt,``),en=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,tn=e=>e.match(en)||[],nn=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,rn=/([{}])/g,an=/(^.*?[^\\])??((:+)(.*)|$)/,on=`{`,sn=`}`,cn=`%BLOCK%`,ln=(e,t)=>{let n=un(e),r=0;return n.escapedString.replace(nn,(...e)=>{let i=e[2],a=``,o=e[4],s=``;o&&o.startsWith(`{`+cn)&&(a=n.blocks[r++],o=o.substring(cn.length+1),s=`{`);let c=t({selector:i,content:a});return`${e[1]}${c.selector}${e[3]}${s}${c.content}${o}`})},un=e=>{let t=e.split(rn),n=[],r=[],i=0,a=[];for(let e=0;e<t.length;e++){let o=t[e];o===sn&&i--,i>0?a.push(o):(a.length>0&&(r.push(a.join(``)),n.push(cn),a=[]),n.push(o)),o===on&&i++}return a.length>0&&(r.push(a.join(``)),n.push(cn)),{escapedString:n.join(``),blocks:r}},dn=e=>{let t=[];e=e.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,(e,n)=>{let r=`__supports_${t.length}__`;return t.push(n),`@supports selector(${r})`});let n=Zt(`::slotted`),r=Zt(`:host`),i=Zt(`:host-context`);return e=e.replace(i,`$1${Bt}`).replace(r,`$1${Rt}`).replace(n,`$1${zt}`),t.forEach((t,n)=>{e=e.replace(`__supports_${n}__`,t)}),e},fn=(e,t,n)=>e.replace(t,(...e)=>{if(e[2]){let t=e[2].split(`,`),r=[];for(let i=0;i<t.length;i++){let a=t[i].trim();if(!a)break;r.push(n(Gt,a,e[3]))}return r.join(`,`)}else return Gt+e[3]}),pn=(e,t,n)=>e+t.replace(Rt,``)+n,mn=e=>fn(e,Ht,pn),hn=(e,t,n)=>t.indexOf(Rt)>-1?pn(e,t,n):e+t+n+`, `+t+` `+e+n,gn=(e,t)=>{let n=`.`+t+` > `,r=[];return e=e.replace(Wt,(...e)=>{if(e[2]){let t=e[2].trim(),i=e[3],a=n+t+i,o=``;for(let t=e[4]-1;t>=0;t--){let n=e[5][t];if(n===`}`||n===`,`)break;o=n+o}let s=(o+a).trim(),c=`${o.trimEnd()}${a.trim()}`.trim();if(s!==c){let e=`${c}, ${s}`;r.push({orgSelector:s,updatedSelector:e})}return a}else return Gt+e[3]}),{selectors:r,cssText:e}},_n=e=>fn(e,Ut,hn),vn=e=>qt.reduce((e,t)=>e.replace(t,` `),e),yn=e=>(e=e.replace(/\[/g,`\\[`).replace(/\]/g,`\\]`),RegExp(`^(`+e+`)`+Yt,`m`)),bn=(e,t)=>!yn(t).test(e),xn=(e,t)=>e.replace(an,(e,n=``,r,i=``,a=``)=>n+t+i+a),Sn=(e,t,n)=>{if(Xt.lastIndex=0,Xt.test(e)){let t=`.${n}`;return e.replace(Kt,(e,n)=>xn(n,t)).replace(Xt,t+` `)}return t+` `+e},Cn=(e,t,n)=>{t=t.replace(/\[is=([^\]]*)\]/g,(e,...t)=>t[0]);let r=`.`+t,i=e=>{let i=e.trim();if(!i)return``;if(e.indexOf(Gt)>-1)i=Sn(e,t,n);else{let t=e.replace(Xt,``);t.length>0&&(i=xn(t,r))}return i},a=It(e);e=a.content;let o=``,s=0,c,l=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g,u=!(e.indexOf(Gt)>-1);for(;(c=l.exec(e))!==null;){let t=c[1],n=e.slice(s,c.index).trim();u||=n.indexOf(Gt)>-1;let r=u?i(n):n;o+=`${r} ${t} `,s=l.lastIndex}let d=e.substring(s);return u=!d.match(Jt)&&(u||d.indexOf(Gt)>-1),o+=u?i(d):d,Lt(a.placeholders,o)},wn=(e,t,n,r)=>e.split(`,`).map(e=>r&&e.indexOf(`.`+r)>-1?e.trim():bn(e,t)?Cn(e,t,n).trim():e.trim()).join(`, `),Tn=(e,t,n,r,i)=>ln(e,e=>{let a=e.selector,o=e.content;return e.selector[0]===`@`?(e.selector.startsWith(`@media`)||e.selector.startsWith(`@supports`)||e.selector.startsWith(`@page`)||e.selector.startsWith(`@document`))&&(o=Tn(e.content,t,n,r,i)):a=wn(e.selector,t,n,r),{selector:a.replace(/\s{2,}/g,` `).trim(),content:o}}),En=(e,t,n,r,i)=>{e=dn(e),e=mn(e),e=_n(e);let a=gn(e,r);return e=a.cssText,e=vn(e),t&&(e=Tn(e,t,n,r,i)),e=Dn(e,n),e=e.replace(/>\s*\*\s+([^{, ]+)/gm,` $1 `),{cssText:e.trim(),slottedSelectors:a.selectors.map(e=>({orgSelector:Dn(e.orgSelector,n),updatedSelector:Dn(e.updatedSelector,n)}))}},Dn=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,`.${t}`),On=e=>{let t=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)
9/g;return ln(e,e=>(e.selector[0]===`@`||(e.selector=e.selector.split(`,`).map(n=>{let r=[n.trim()],i;for(;(i=t.exec(n))!==null;){let t=i[1].trimEnd(),a=i[2].trim().split(/\s+/),o=i[3]||``,s=a.flatMap(t=>e.selector.includes(`[part~="${t}"]`)?[]:[`[part~="${t}"]`]).join(``),c=`${t} ${s}${o}`;s&&c!==n.trim()&&r.push(c)}return r.join(`, `)}).join(`, `)),e))},kn=(e,t,n)=>{let r=t+`-h`,i=t+`-s`,a=tn(e);e=$t(e);let o=[];if(n){let t=e=>{let t=`/*!@___${o.length}___*/`,n=`/*!@${e.selector}*/`;return o.push({placeholder:t,comment:n}),e.selector=t+e.selector,e};e=ln(e,e=>e.selector[0]===`@`?((e.selector.startsWith(`@media`)||e.selector.startsWith(`@supports`)||e.selector.startsWith(`@page`)||e.selector.startsWith(`@document`))&&(e.content=ln(e.content,t)),e):t(e))}let s=En(e,t,r,i,n);return e=[s.cssText,...a].join(`
10`),n&&o.forEach(({placeholder:t,comment:n})=>{e=e.replace(t,n)}),s.slottedSelectors.forEach(t=>{let n=RegExp(Ft(t.orgSelector)+`(?=\\s*[,{]|$)`,`g`);e=e.replace(n,t.updatedSelector)}),e=On(e),e},An=e=>O.map(t=>t(e)).find(e=>!!e),jn=e=>{if(!e)return;let t=Object.keys(e);if(t.length===0)return;let n=!1;for(let r of t){if(n)break;for(let t of e[r])if(typeof t==`string`){n=!0;break}}if(!n)return e;let r={};for(let n of t)r[n]=e[n].map(e=>typeof e==`string`?{[e]:0}:e);return r},Mn=class e{static fromLocalValue(t){let n=t[p],r=m in t?t[m]:void 0;switch(n){case`string`:return r;case`boolean`:return r;case`bigint`:return BigInt(r);case`undefined`:return;case`null`:return null;case`number`:return r===`NaN`?NaN:r===`-0`?-0:r===`Infinity`?1/0:r===`-Infinity`?-1/0:r;case`array`:return r.map(t=>e.fromLocalValue(t));case`date`:return new Date(r);case`map`:let t=new Map;for(let[n,i]of r){let r=typeof n==`object`&&n?e.fromLocalValue(n):n,a=e.fromLocalValue(i);t.set(r,a)}return t;case`object`:let i={};for(let[t,n]of r)i[t]=e.fromLocalValue(n);return i;case`regexp`:let{pattern:a,flags:o}=r;return new RegExp(a,o);case`set`:let s=new Set;for(let t of r)s.add(e.fromLocalValue(t));return s;case`symbol`:return Symbol(r);default:throw Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(p))return!1;let t=e[p];return Object.values({...d,...f}).includes(t)?t!==`null`&&t!==`undefined`?e.hasOwnProperty(m):!0:!1}};function Nn(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return new TextDecoder().decode(n)}function Pn(e){return typeof e!=`string`||!e.startsWith(h)?e:Mn.fromLocalValue(JSON.parse(Nn(e.slice(h.length))))}var Fn=(e,t,n)=>(i.hydrateClientSide||i.hydrateServerSide)&&typeof e==`string`&&e.startsWith(h)?(e=Pn(e),e):e!=null&&!bt(e)?i.propBoolean&&t&4?i.formAssociated&&n&&typeof e==`string`?e===``||!!e:e===`false`?!1:e===``||!!e:i.propNumber&&t&2?typeof e==`string`?parseFloat(e):typeof e==`number`?e:NaN:i.propString&&t&1?String(e):e:e,In=e=>i.lazyLoad?v(e)?.$hostElement$:e,Ln=(e,t,n)=>{let r=In(e);return{emit:e=>(i.isDev&&!r.isConnected&&T(`The "${t}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Rn(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e}))}},Rn=(e,t,n)=>{let r=P.ce(t,n);return e.dispatchEvent(r),r},zn=(e,t,n,r,a,o,s)=>{if(n===r)return;let c=b(e,t),l=t.toLowerCase();if(i.vdomClass&&t===`class`){let t=e.classList,a=Un(n),o=Un(r);if(i.hydrateClientSide&&(e[`s-si`]||e[`s-sc`])&&s){let n=e[`s-sc`]||e[`s-si`];o.push(n),a.forEach(e=>{e.startsWith(n)&&o.push(e)}),o=[...new Set(o)].filter(e=>e),t.add(...o)}else t.remove(...a.filter(e=>e&&!o.includes(e))),t.add(...o.filter(e=>e&&!a.includes(e)))}else if(i.vdomStyle&&t===`style`){if(i.updatable)for(let t in n)(!r||r[t]==null)&&(!i.hydrateServerSide&&t.includes(`-`)?e.style.removeProperty(t):e.style[t]=``);for(let t in r)(!n||r[t]!==n[t])&&(!i.hydrateServerSide&&t.includes(`-`)?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if(!(i.vdomKey&&t===`key`)){if(i.vdomRef&&t===`ref`)r&&mr(r,e);else if(i.vdomListener&&(i.lazyLoad?!c:!e.__lookupSetter__(t))&&t[0]===`o`&&t[1]===`n`){if(t=t[2]===`-`?t.slice(3):b(N,l)?l.slice(2):l[2]+t.slice(3),n||r){let i=t.endsWith(Wn);
10t=t.replace(Gn,``),n&&P.rel(e,t,n,i),r&&P.ael(e,t,r,i)}}else if(i.vdomPropOrAttr&&t[0]===`a`&&t.startsWith(`attr:`)){let n=t.slice(5),a;if(i.member){let t=v(e);if(t&&t.$cmpMeta$&&t.$cmpMeta$.$members$){let e=t.$cmpMeta$.$members$[n];e&&e[1]&&(a=e[1])}}a||=n.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),r==null||r===!1?(r!==!1||e.getAttribute(a)===``)&&e.removeAttribute(a):e.setAttribute(a,r===!0?``:r);return}else if(i.vdomPropOrAttr&&t[0]===`p`&&t.startsWith(`prop:`)){let n=t.slice(5);try{e[n]=r}catch{}return}else if(i.vdomPropOrAttr){let s=bt(r);if((c||s&&r!==null)&&!a)try{if(e.tagName.includes(`-`))e[t]!==r&&(e[t]=r);else{let i=r??``;t===`list`?c=!1:(n==null||e[t]!==i)&&(typeof e.__lookupSetter__(t)==`function`?e[t]=i:e.setAttribute(t,i))}}catch{}let u=!1;i.vdomXlink&&l!==(l=l.replace(/^xlink\:?/,``))&&(t=l,u=!0),r==null||r===!1?(r!==!1||e.getAttribute(t)===``||o&4&&!Vn(t))&&(i.vdomXlink&&u?e.removeAttributeNS(M,t):e.removeAttribute(t)):(!c||o&4||a)&&!s&&e.nodeType===1&&(r=r===!0?``:r,i.vdomXlink&&u?e.setAttributeNS(M,t,r):e.setAttribute(t,r))}}},Bn=new Set([`draggable`,`contenteditable`,`spellcheck`]),Vn=e=>Bn.has(e)||e.startsWith(`aria-`),Hn=/\s/,Un=e=>(typeof e==`object`&&e&&`baseVal`in e&&(e=e.baseVal),!e||typeof e!=`string`?[]:e.split(Hn)),Wn=`Capture`,Gn=RegExp(Wn+`$`),Kn=(e,t,n,r)=>{let a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||{},s=t.$attrs$||{};if(i.updatable)for(let e of qn(Object.keys(o)))e in s||zn(a,e,o[e],void 0,n,t.$flags$,r);for(let e of qn(Object.keys(s)))zn(a,e,o[e],s[e],n,t.$flags$,r)};function qn(e){return e.includes(`ref`)?[...e.filter(e=>e!==`ref`),`ref`]:e}var Jn,Yn,Xn,Zn=!1,Qn=!1,$n=!1,z=!1,er=[],tr=[],nr=(e,t,n)=>{let r=t.$children$[n],a=0,o,s,c;if(i.slotRelocation&&!Zn&&($n=!0,r.$tag$===`slot`&&(r.$flags$|=r.$children$?2:1)),i.isDev&&r.$elm$&&w(`The JSX ${r.$text$===null?`"${r.$tag$}" element`:`"${r.$text$}" text`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),i.vdomText&&r.$text$!=null)o=r.$elm$=N.document.createTextNode(r.$text$);else if(i.slotRelocation&&r.$flags$&1)o=r.$elm$=i.isDebug||i.hydrateServerSide?vr(r):N.document.createTextNode(``),i.vdomAttribute&&Kn(null,r,z);else{if(i.svg&&!z&&(z=r.$tag$===`svg`),!N.document)throw Error(`You are trying to render a Stencil component in an environment that doesn't support the DOM.`);if(o=r.$elm$=i.svg?N.document.createElementNS(z?l:u,!Zn&&i.slotRelocation&&r.$flags$&2?`slot-fb`:r.$tag$):N.document.createElement(!Zn&&i.slotRelocation&&r.$flags$&2?`slot-fb`:r.$tag$),i.svg&&z&&r.$tag$===`foreignObject`&&(z=!1),i.vdomAttribute&&Kn(null,r,z),(i.scoped||i.hydrateServerSide)&&yt(Jn)&&o[`s-si`]!==Jn&&o.classList.add(o[`s-si`]=Jn),r.$children$){let t=r.$tag$===`template`?o.content:o;for(a=0;a<r.$children$.length;++a)s=nr(e,r,a),s&&t.appendChild(s)}i.svg&&(r.$tag$===`svg`?z=!1:o.tagName===`foreignObject`&&(z=!0))}return o[`s-hn`]=Xn,i.slotRelocation&&r.$flags$&3&&(o[`s-sr`]=!0,o[`s-cr`]=Yn,o[`s-sn`]=r.$name$||``,o[`s-rf`]=r.$attrs$?.ref,Be(o),c=e&&e.$children$&&e.$children$[n],c&&c.$tag$===r.$tag$&&e.$elm$&&rr(e.$elm$),(i.scoped||i.hydrateServerSide)&&gr(Yn,o,t.$elm$,e?.$elm$)),o},rr=e=>{P.$flags$|=1;let t=e.closest(Xn.toLowerCase());if(t!=null){let n=Array.from(t.__childNodes||t.childNodes).find(e=>e[`s-cr`]),r=Array.from(e.__childNodes||e.childNodes);for(let e of n?r.reverse():r)e[`s-sh`]!=null&&(B(t,e,n??null),e[`s-sh`]=void 0,$n=!0)}P.$flags$&=-2},ir=(e,t)=>{P.$flags$|=1;let n=Array.from(e.__childNodes||e.childNodes);if(e[`s-sr`]){let t=e;for(;t=t.nextSibling;)t&&t[`s-sn`]===e[`s-sn`]&&t[`s-sh`]===Xn&&n.push(t)}for(let e=n.length-1;e>=0;e--){let r=n[e];r[`s-hn`]!==Xn&&r[`s-ol`]&&(B(lr(r).parentNode,r,lr(r)),r[`s-ol`].remove(),r[`s-ol`]=void 0,r[`s-sh`]=void 0,$n=!0),t&&ir(r,t)}P.$flags$&=-2},ar=(e,t,n,r,a,o)=>{let s=i.slotRelocation&&e[`s-cr`]&&e[`s-cr`].parentNode||e,c;for(i.shadowDom&&s.shadowRoot&&s.tagName===Xn&&(s=s.shadowRoot),n.$tag$===`template`&&(s=s.content);a<=o;++a)r[a]&&(c=nr(null,n,a),c&&(r[a].$elm$=c,B(s,c,i.slotRelocation?lr(t):t)))}
10,or=(e,t,n)=>{for(let r=t;r<=n;++r){let t=e[r];if(t){let e=t.$elm$;pr(t),e&&(i.slotRelocation&&(Qn=!0,e[`s-ol`]?e[`s-ol`].remove():ir(e,!0)),e.remove())}}},sr=(e,t,n,r,a=!1)=>{let o=0,s=0,c=0,l=0,u=t.length-1,d=t[0],f=t[u],p=r.length-1,m=r[0],h=r[p],g,_,v=n.$tag$===`template`?e.content:e;for(;o<=u&&s<=p;)if(d==null)d=t[++o];else if(f==null)f=t[--u];else if(m==null)m=r[++s];else if(h==null)h=r[--p];else if(cr(d,m,a))ur(d,m,a),d=t[++o],m=r[++s];else if(cr(f,h,a))ur(f,h,a),f=t[--u],h=r[--p];else if(cr(d,h,a))i.slotRelocation&&(d.$tag$===`slot`||h.$tag$===`slot`)&&ir(d.$elm$.parentNode,!1),ur(d,h,a),B(v,d.$elm$,f.$elm$.nextSibling),d=t[++o],h=r[--p];else if(cr(f,m,a))i.slotRelocation&&(d.$tag$===`slot`||h.$tag$===`slot`)&&ir(f.$elm$.parentNode,!1),ur(f,m,a),B(v,f.$elm$,d.$elm$),f=t[--u],m=r[++s];else{if(c=-1,i.vdomKey){for(l=o;l<=u;++l)if(t[l]&&t[l].$key$!==null&&t[l].$key$===m.$key$){c=l;break}}i.vdomKey&&c>=0?(_=t[c],_.$tag$===m.$tag$?(ur(_,m,a),t[c]=void 0,g=_.$elm$):g=nr(t&&t[s],n,c),m=r[++s]):(g=nr(t&&t[s],n,s),m=r[++s]),g&&(i.slotRelocation?B(lr(d.$elm$).parentNode,g,lr(d.$elm$)):B(d.$elm$.parentNode,g,d.$elm$))}o>u?ar(e,r[p+1]==null?null:r[p+1].$elm$,n,r,s,p):i.updatable&&s>p&&or(t,o,u)},cr=(e,t,n=!1)=>e.$tag$===t.$tag$?i.slotRelocation&&e.$tag$===`slot`?e.$name$===t.$name$:i.vdomKey&&!n?e.$key$===t.$key$:(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):!1,lr=e=>e&&e[`s-ol`]||e,ur=(e,t,n=!1)=>{let r=t.$elm$=e.$elm$,a=e.$children$,o=t.$children$,s=t.$tag$,c=t.$text$,l;!i.vdomText||c==null?(i.svg&&(z=s===`svg`||s!==`foreignObject`&&z),(i.vdomAttribute||i.reflect)&&(i.slot&&s===`slot`&&!Zn&&e.$name$!==t.$name$&&(t.$elm$[`s-sn`]=t.$name$||``,rr(t.$elm$.parentElement)),Kn(e,t,z,n)),i.updatable&&a!==null&&o!==null?sr(r,a,t,o,n):o===null?!n&&i.updatable&&a!==null?or(a,0,a.length-1):i.hydrateClientSide&&n&&i.updatable&&a!==null&&o===null&&(t.$children$=a):(i.updatable&&i.vdomText&&e.$text$!==null&&(r.textContent=``),ar(r,null,t,o,0,o.length-1)),i.svg&&z&&s===`svg`&&(z=!1)):i.vdomText&&i.slotRelocation&&(l=r[`s-cr`])?l.parentNode.textContent=c:i.vdomText&&e.$text$!==c&&(r.data=c)},dr=[],fr=e=>{let t,n,r,i=e.__childNodes||e.childNodes;for(let e of i){if(e[`s-sr`]&&(t=e[`s-cr`])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;let i=e[`s-sn`];for(r=n.length-1;r>=0;r--)if(t=n[r],!t[`s-cn`]&&!t[`s-nr`]&&t[`s-hn`]!==e[`s-hn`]&&(!t[`s-sh`]||t[`s-sh`]!==e[`s-hn`]||i!==``&&ze(t)===i))if(Le(t,i)){let n=dr.find(e=>e.$nodeToRelocate$===t);Qn=!0,t[`s-sn`]=t[`s-sn`]||i,n?(n.$nodeToRelocate$[`s-sh`]=e[`s-hn`],n.$slotRefNode$=e):(t[`s-sh`]=e[`s-hn`],dr.push({$slotRefNode$:e,$nodeToRelocate$:t})),t[`s-sr`]&&dr.map(e=>{Le(e.$nodeToRelocate$,t[`s-sn`])&&(n=dr.find(e=>e.$nodeToRelocate$===t),n&&!e.$slotRefNode$&&(e.$slotRefNode$=n.$slotRefNode$))})}else dr.some(e=>e.$nodeToRelocate$===t)||dr.push({$nodeToRelocate$:t})}e.nodeType===1&&fr(e)}},pr=e=>{i.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&er.push(()=>e.$attrs$.ref(null)),e.$children$&&e.$children$.map(pr))},mr=(e,t)=>{i.vdomRef&&tr.push(()=>e(t))},hr=()=>{i.vdomRef&&(er.forEach(e=>e()),er.length=0,tr.forEach(e=>e()),tr.length=0)},B=(e,t,n,r)=>{if(i.slotRelocation){if(i.scoped&&typeof t[`s-sn`]==`string`&&t[`s-sr`]&&t[`s-cr`])gr(t[`s-cr`],t,e,t.parentElement);else if(typeof t[`s-sn`]==`string`){i.experimentalSlotFixes&&e.getRootNode().nodeType!==11&&ot(t),e.insertBefore(t,n);let{slotNode:a}=He(t);return a&&!r&&Ve(a),t}}return i.slotRelocation&&e?.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)};function gr(e,t,n,r){var i;let a;if(e&&typeof t[`s-sn`]==`string`&&t[`s-sr`]&&e.parentNode&&e.parentNode[`s-sc`]&&(a=t[`s-si`]||e.parentNode[`s-sc`])){let e=t[`s-sn`],o=t[`s-hn`];if((i=n.classList)==null||i.add(a+`-s`),r&&r.classList?.contains(a+`-s`)){let t=(r.__childNodes||r.childNodes)[0],n=!1;for(;t;){if(t[`s-sn`]!==e&&t[`s-hn`]===o&&t[`s-sr`]){n=!0;break}t=t.nextSibling}n||r.classList.remove(a+`-s`)}}}var _r=(e,t,n=!1)=>{let r=e.$hostElement$,a=e.$cmpMeta$,o=e.$vnode$||xt(null,null),s=Ct(t)?t:R(null,null,t);if(Xn=r.tagName,i.isDev&&Array.isArray(t)&&t.some(Ct))throw Error(`The <Host> must be the single root component.
11Looks like the render() function of "${Xn.toLowerCase()}" is returning an array that contains the <Host>.
12
13The render() function should look like this instead:
14
15render() {
16  // Do not return an array
17  return (
18    <Host>{content}</Host>
19  );
20}
21  `);if(i.reflect&&a.$attrsToReflect$&&(s.$attrs$=s.$attrs$||{},a.$attrsToReflect$.forEach(([t,n])=>{i.serializer&&e.$serializerValues$.has(t)?s.$attrs$[n]=e.$serializerValues$.get(t):s.$attrs$[n]=r[t]})),n&&s.$attrs$)for(let e of Object.keys(s.$attrs$))r.hasAttribute(e)&&![`key`,`ref`,`style`,`class`].includes(e)&&(s.$attrs$[e]=r[e]);if(s.$tag$=null,s.$flags$|=4,e.$vnode$=s,s.$elm$=o.$elm$=i.shadowDom&&r.shadowRoot||r,(i.scoped||i.shadowDom)&&(Jn=r[`s-sc`]),Zn=pe&&!!(a.$flags$&1)&&!(a.$flags$&128),i.slotRelocation&&(Yn=r[`s-cr`],Qn=!1),ur(o,s,n),i.slotRelocation){if(P.$flags$|=1,$n){fr(s.$elm$);for(let e of dr){let t=e.$nodeToRelocate$;if(!t[`s-ol`]&&N.document){let e=i.isDebug||i.hydrateServerSide?yr(t):N.document.createTextNode(``);e[`s-nr`]=t,B(t.parentNode,t[`s-ol`]=e,t,n)}}for(let e of dr){let t=e.$nodeToRelocate$,r=e.$slotRefNode$;if(t.nodeType===1&&n&&(t[`s-ih`]=t.hidden??!1),r){let e=r.parentNode,a=r.nextSibling;if(!i.hydrateServerSide&&a&&a.nodeType===1){let n=t[`s-ol`]?.previousSibling;for(;n;){let r=n[`s-nr`]??null;if(r&&r[`s-sn`]===t[`s-sn`]&&e===(r.__parentNode||r.parentNode)){for(r=r.nextSibling;r===t||r?.[`s-sr`];)r=r?.nextSibling;if(!r||!r[`s-nr`]){a=r;break}}n=n.previousSibling}}let o=t.__parentNode||t.parentNode,s=t.__nextSibling||t.nextSibling;if((!a&&e!==o||s!==a)&&t!==a){if(B(e,t,a,n),t.nodeType===8&&t.nodeValue.startsWith(`s-nt-`)){let e=N.document.createTextNode(t.nodeValue.replace(/^s-nt-/,``));e[`s-hn`]=t[`s-hn`],e[`s-sn`]=t[`s-sn`],e[`s-sh`]=t[`s-sh`],e[`s-sr`]=t[`s-sr`],e[`s-ol`]=t[`s-ol`],e[`s-ol`][`s-nr`]=e,B(t.parentNode,e,t,n),t.parentNode.removeChild(t)}t.nodeType===1&&t.tagName!==`SLOT-FB`&&(t.hidden=t[`s-ih`]??!1)}t&&typeof r[`s-rf`]==`function`&&r[`s-rf`](r)}else t.nodeType===1&&(t.hidden=!0)}}Qn&&Ne(s.$elm$),P.$flags$&=-2,dr.length=0}if(i.slotRelocation&&!Zn&&!(a.$flags$&1)&&r[`s-cr`]){let e=s.$elm$.__childNodes||s.$elm$.childNodes;for(let t of e)if(t[`s-hn`]!==Xn&&!t[`s-sh`]){if(n&&t[`s-ih`]==null&&(t[`s-ih`]=t.hidden??!1),t.nodeType===1)t.hidden=!0;else if(t.nodeType===3&&t.nodeValue.trim()){let e=N.document.createComment(`s-nt-`+t.nodeValue);e[`s-sn`]=t[`s-sn`],B(t.parentNode,e,t,n),t.parentNode.removeChild(t)}}}Yn=void 0,hr()},vr=e=>N.document?.createComment(`<slot${e.$name$?` name="`+e.$name$+`"`:``}> (host=${Xn.toLowerCase()})`),yr=e=>N.document?.createComment(`org-location for `+(e.localName?`<${e.localName}> (host=${e[`s-hn`]})`:`[${e.textContent}]`)),br=(e,t)=>{if(i.asyncLoading&&t&&!e.$onRenderResolve$&&t[`s-p`]){let n=t[`s-p`].push(new Promise(r=>e.$onRenderResolve$=()=>{t[`s-p`].splice(n-1,1),r()}))}},xr=(e,t)=>{if(i.updatable&&(e.$flags$|=16),i.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}br(e,e.$ancestorComponent$);let n=()=>Sr(e,t);if(t){queueMicrotask(()=>{n()});return}return i.taskQueue?ke(n):n()},Sr=(e,t)=>{let n=e.$hostElement$,r=L(`scheduleUpdate`,e.$cmpMeta$.$tagName$),a=i.lazyLoad?e.$lazyInstance$:n;if(!a)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t?(i.lazyLoad&&(i.slotRelocation&&e.$deferredConnectedCallback$&&(e.$deferredConnectedCallback$=!1,V(a,`connectedCallback`,void 0,n)),i.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&=(e.$queuedListeners$.map(([e,t])=>V(a,e,t,n)),void 0)),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(e=>e(n))),kr(n,`componentWillLoad`),o=V(a,`componentWillLoad`,void 0,n)):(kr(n,`componentWillUpdate`),o=V(a,`componentWillUpdate`,void 0,n)),kr(n,`componentWillRender`),o=Cr(o,()=>V(a,`componentWillRender`,void 0,n)),r(),Cr(o,()=>Tr(e,a,t))},Cr=(e,t)=>wr(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),wr=e=>e instanceof Promise||e&&e.then&&typeof e.then==`function`,Tr=async(e,t,n)=>{let r=e.$hostElement$,a=L(`update`,e.$cmpMeta$.$tagName$),o=r[`s-rc`];i.style&&n&&ht(e);let s=L(`render`,e.$cmpMeta$.$tagName$);if(i.isDev&&(e.$flags$|=2048),i.hydrateServerSide?await Er(e,t,r,n):Er(e,t,r,n),i.isDev&&(e.$renderCount$=e.$renderCount$===void 0?1:e.$renderCount$+1,e.$flags$&=-2049),i.hydrateServerSide)try{jr(r),n&&(e.$cmpMeta$.$flags$&1?r[`s-en`]=``:e.$cmpMeta$.$flags$&2&&(r[`s-en`]=`c`))}catch(e){S(e,r)}if(i.asyncLoading&&o&&(o.map(e=>e()),r[`s-rc`]=void 0),s(),a(),i.asyncLoading){let t=r[`s-p`]??[],n=()=>Dr(e);t.length===0?n():(Promise.all(t).then(n).catch(n),e.$flags$|=4,t.length=0)}else Dr(e)},Er=(e,t,n,r)=>{let a=!!i.allRenderFn,o=!!i.lazyLoad,s=!!i.updatable;try{if(t=(a||t.render)&&t.render(),s&&(e.$flags$&=-17),(s||o)&&(e.$flags$|=2),i.hasRenderFn||i.reflect)if(i.vdomRender||i.reflect){if(i.hydrateServerSide)return Promise.resolve(t).then(t=>_r(e,t,r));_r(e,t,r)}else{let r=n.shadowRoot;e.$cmpMeta$.$flags$&1?r.textContent=t:n.textContent=t}}catch(t){S(t,e.$hostElement$)}return null},Dr=e=>{let t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=L(`postUpdate`,t),a=i.lazyLoad?e.$lazyInstance$:n,o=e.$ancestorComponent$;i.isDev&&(e.$flags$|=2048),V(a,`componentDidRender`,void 0,n),i.isDev&&(e.$flags$&=-2049),kr(n,`componentDidRender`),e.$flags$&64?(i.isDev&&(e.$flags$|=2048),V(a,`componentDidUpdate`,void 0,n),i.isDev&&(e.$flags$&=-2049),kr(n,`componentDidUpdate`),r()):(e.$flags$|=64,i.asyncLoading&&i.cssAnnotations&&Ar(n),i.isDev&&(e.$flags$|=4096),V(a,`componentDidLoad`,void 0,n),i.isDev&&(e.$flags$&=-4097),kr(n,`componentDidLoad`),r(),i.asyncLoading&&(e.$onReadyResolve$(n),o||Or(t))),i.method&&i.lazyLoad&&e.$onInstanceResolve$(n),i.asyncLoading&&(e.$onRenderResolve$&&=(e.$onRenderResolve$(),void 0),e.$flags$&512&&Oe(()=>xr(e,!1)),e.$flags$&=-517)},Or=e=>{i.asyncQueue&&(P.$flags$|=2),Oe(()=>Rn(N,`appload`,{detail:{namespace:`app`}})),i.hydrateClientSide&&P.$orgLocNodes$?.size&&P.$orgLocNodes$.clear(),i.profile&&performance.measure&&performance.measure(`[Stencil] app initial load (by ${e})`,`st:app:start`)},V=(e,t,n,r)=>{if(e&&e[t])try{return e[t](n)}catch(e){S(e,r)}},kr=(e,t)=>
21{i.lifecycleDOMEvents&&Rn(e,`stencil_`+t,{bubbles:!0,composed:!0,detail:{namespace:`app`}})},Ar=e=>i.hydratedClass?e.classList.add(i.hydratedSelectorName??`hydrated`):i.hydratedAttribute?e.setAttribute(i.hydratedSelectorName??`hydrated`,``):void 0,jr=e=>{let t=e.children;if(t!=null)for(let e=0,n=t.length;e<n;e++){let n=t[e];typeof n.connectedCallback==`function`&&n.connectedCallback(),jr(n)}},Mr=(e,t)=>v(e).$instanceValues$.get(t),Nr=(e,t,n,r)=>{let a=v(e);if(!a)return;if(i.lazyLoad&&!a)throw Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(i.serializer&&a.$serializerValues$.has(t)&&a.$serializerValues$.get(t)===n)return;let o=i.lazyLoad?a.$hostElement$:e,s=a.$instanceValues$.get(t),c=a.$flags$,l=i.lazyLoad?a.$lazyInstance$:o;n=Fn(n,r.$members$[t][0],i.formAssociated&&!!(r.$flags$&64));let u=n!==s&&!(Number.isNaN(s)&&Number.isNaN(n));if((!i.lazyLoad||!(c&8)||s===void 0)&&u){if(a.$instanceValues$.set(t,n),i.serializer&&i.reflect&&r.$attrsToReflect$&&r.$serializers$&&r.$serializers$[t]){let e=e=>{let i=n;for(let n of r.$serializers$[t]){let[[r]]=Object.entries(n);i=e[r](i,t)}a.$serializerValues$.set(t,i)};l?e(l):a.$fetchedCbList$.push(()=>{e(a.$lazyInstance$)})}if(i.isDev&&(a.$flags$&2048?T(`The state/prop "${t}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,`
22Element`,o,`
23New value`,n,`
24Old value`,s):a.$flags$&4096&&T(`The state/prop "${t}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,`
25Element`,o,`
26New value`,n,`
27Old value`,s)),i.propChangeCallback&&r.$watchers$){let e=r.$watchers$[t];e&&e.map(e=>{try{let[[r,i]]=Object.entries(e);(c&128||i&1)&&(l?l[r](n,s,t):a.$fetchedCbList$.push(()=>{a.$lazyInstance$[r](n,s,t)}))}catch(e){S(e,o)}})}if(i.updatable&&c&2){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,s,t)===!1&&!(c&16))return;c&16||xr(a,!1)}}},Pr=(e,t,n)=>{let r=e.prototype;if(i.isTesting){if(r.__stencilAugmented)return;r.__stencilAugmented=!0}if(i.formAssociated&&t.$flags$&64&&n&1&&de.forEach(e=>{let t=r[e];Object.defineProperty(r,e,{value(...n){var r;let a=v(this),o=i.lazyLoad?a?.$lazyInstance$:this;if(!o)(r=a?.$onReadyPromise$)==null||r.then(t=>{let r=t[e];typeof r==`function`&&r.call(t,...n)});else{let r=i.lazyLoad?o[e]:t;typeof r==`function`&&r.call(o,...n)}}})}),i.member&&t.$members$||i.propChangeCallback){i.propChangeCallback&&(e.watchers&&!t.$watchers$&&(t.$watchers$=jn(e.watchers)),e.deserializers&&!t.$deserializers$&&(t.$deserializers$=e.deserializers),e.serializers&&!t.$serializers$&&(t.$serializers$=e.serializers));let a=Object.entries(t.$members$??{});if(a.map(([e,[a]])=>{if((i.prop||i.state)&&(a&31||(!i.lazyLoad||n&2)&&a&32)){let{get:o,set:s}=g(r,e)||{};o&&(t.$members$[e][0]|=2048),s&&(t.$members$[e][0]|=4096),(n&1||!o)&&Object.defineProperty(r,e,{get(){if(i.lazyLoad){if(!(t.$members$[e][0]&2048))return Mr(this,e);let n=v(this),i=n?n.$lazyInstance$:r;return i?i[e]:void 0}if(!i.lazyLoad)return o?o.apply(this):Mr(this,e)},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(r){let o=v(this);if(o){if(i.isDev&&!(n&1)&&!(t.$members$[e][0]&4096)&&(o&&o.$flags$&8)===0&&a&31&&!(a&1024)&&T(`@Prop() "${e}" on <${t.$tagName$}> is immutable but was modified from within the component.
28More information: https://stenciljs.com/docs/properties#prop-mutability`),s){(a&32?this[e]:o.$hostElement$[e])===void 0&&o.$instanceValues$.get(e)&&(r=o.$instanceValues$.get(e)),s.apply(this,[Fn(r,a,i.formAssociated&&!!(t.$flags$&64))]),r=a&32?this[e]:o.$hostElement$[e],Nr(this,e,r,t);return}if(!i.lazyLoad){Nr(this,e,r,t);return}if(i.lazyLoad){if(!(n&1)||!(t.$members$[e][0]&4096)){Nr(this,e,r,t),n&1&&!o.$lazyInstance$&&o.$fetchedCbList$.push(()=>{t.$members$[e][0]&4096&&o.$lazyInstance$[e]!==o.$instanceValues$.get(e)&&(o.$lazyInstance$[e]=r)});return}let s=()=>{let n=o.$lazyInstance$[e];!o.$instanceValues$.get(e)&&n&&o.$instanceValues$.set(e,n),o.$lazyInstance$[e]=Fn(r,a,i.formAssociated&&!!(t.$flags$&64)),Nr(this,e,o.$lazyInstance$[e],t)};o.$lazyInstance$?s():o.$fetchedCbList$.push(()=>{s()})}}}})}else i.lazyLoad&&i.method&&n&1&&a&64&&Object.defineProperty(r,e,{value(...t){let n=v(this);return(n?.$onInstancePromise$)?.then(()=>n.$lazyInstance$?.[e](...t))}})}),i.observeAttribute&&(!i.lazyLoad||n&1)){let n=new Map;r.attributeChangedCallback=function(e,o,s){P.jmp(()=>{let c=n.get(e),l=v(this);
28if(i.serializer&&l.$serializerValues$.has(c)&&l.$serializerValues$.get(c)===s)return;if(this.hasOwnProperty(c)&&i.lazyLoad&&(s=this[c],delete this[c]),i.deserializer&&t.$deserializers$&&t.$deserializers$[c]){let e=(e,t)=>{let n=t?.[e](s,c);n!==this[c]&&(this[c]=n)};for(let n of t.$deserializers$[c]){let[[t]]=Object.entries(n);i.lazyLoad?l.$lazyInstance$?e(t,l.$lazyInstance$):l.$fetchedCbList$.push(()=>{e(t,l.$lazyInstance$)}):e(t,this)}return}else if(r.hasOwnProperty(c)&&typeof this[c]==`number`&&this[c]==s)return;else if(c==null){let n=l?.$flags$;if(l&&n&&!(n&8)&&s!==o){let r=i.lazyLoad?l.$hostElement$:this,a=i.lazyLoad?l.$lazyInstance$:r;(t.$watchers$?.[e])?.forEach(t=>{let[[r,i]]=Object.entries(t);a[r]!=null&&(n&128||i&1)&&a[r].call(a,s,o,e)})}return}let u=a.find(([e])=>e===c),d=u&&u[1][0]&4,f=d&&s===null&&this[c]===void 0;d&&(s=!(s===null||s===`false`));let p=Object.getOwnPropertyDescriptor(r,c);!f&&s!=this[c]&&(!p.get||p.set)&&(this[c]=s)})},e.observedAttributes=Array.from(new Set([...Object.keys(t.$watchers$??{}),...a.filter(([e,t])=>t[0]&31).map(([e,r])=>{var a;let o=r[1]||e;return n.set(o,e),i.reflect&&r[0]&512&&((a=t.$attrsToReflect$)==null||a.push([e,o])),o})]))}}return e},Fr=async(e,t,n,r)=>{let a;try{if(!(t.$flags$&32)){t.$flags$|=32,t.$flags$&=-1025;let o=n.$lazyBundleId$;if(i.lazyLoad&&o){let o=te(n,t,r);if(o&&`then`in o){let e=ut(`st:load:${n.$tagName$}:${t.$modeName$}`,`[Stencil] Load module for <${n.$tagName$}>`);a=await o,e()}else a=o;if(!a)throw t.$flags$&=-33,t.$loadRetryCount$=(t.$loadRetryCount$??0)+1,t.$loadRetryCount$<le&&(t.$flags$|=1024),Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);i.member&&!a.isProxied&&(i.propChangeCallback&&(n.$watchers$=jn(a.watchers),n.$serializers$=a.serializers,n.$deserializers$=a.deserializers),Pr(a,n,2),a.isProxied=!0);let s=L(`createInstance`,n.$tagName$);i.member&&(t.$flags$|=8);try{new a(t)}catch(t){S(t,e)}i.member&&(t.$flags$&=-9),i.propChangeCallback&&(t.$flags$|=128),s(),i.slotRelocation&&n.$flags$&4?t.$deferredConnectedCallback$=!0:Ir(t.$lazyInstance$,e)}else{a=e.constructor;let n=e.localName;customElements.whenDefined(n).then(()=>t.$flags$|=128)}if(i.style&&a&&a.style){let o;typeof a.style==`string`?o=a.style:i.mode&&typeof a.style!=`string`&&(t.$modeName$=An(e),t.$modeName$&&(o=a.style[t.$modeName$]),i.hydrateServerSide&&t.$modeName$&&e.setAttribute(`s-mode`,t.$modeName$));let s=gt(n,t.$modeName$);if(!D.has(s)||i.hotModuleReplacement&&r){let e=L(`registerStyles`,n.$tagName$);i.hydrateServerSide&&i.shadowDom&&(n.$flags$&128?o=kn(o,s,!0):k()&&(o=On(o))),pt(s,o,!!(n.$flags$&1)),e()}}}let o=t.$ancestorComponent$,s=()=>xr(t,!0);i.asyncLoading&&o&&o[`s-rc`]?o[`s-rc`].push(s):s()}catch(n){S(n,e),i.asyncLoading&&t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),i.asyncLoading&&t.$onReadyResolve$&&!(t.$flags$&1024)&&t.$onReadyResolve$(e)}},Ir=(e,t)=>{i.lazyLoad&&V(e,`connectedCallback`,void 0,t)},Lr=e=>{if(!(P.$flags$&1)){let t=v(e);if(!t)return;let n=t.$cmpMeta$,r=L(`connectedCallback`,n.$tagName$);if(i.hostListenerTargetParent&&Hr(e,t,n.$listeners$,!0),t.$flags$&1)Hr(e,t,n.$listeners$,!1),t?.$lazyInstance$?Ir(t.$lazyInstance$,e):t.$flags$&1024?setTimeout(()=>Fr(e,t,n),ue):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ir(t.$lazyInstance$,e));else{t.$flags$|=1;let r;if(i.hydrateClientSide&&(r=e.getAttribute(oe),r)){if(i.shadowDom&&pe&&n.$flags$&1){let t=i.mode?mt(e.shadowRoot,n,e.getAttribute(`s-mode`)):mt(e.shadowRoot,n);e.classList.remove(t+`-h`,t+`-s`)}else i.scoped&&n.$flags$&2&&(e[`s-sc`]=gt(n,i.mode?e.getAttribute(`s-mode`):void 0));Ot(e,n.$tagName$,r,t)}if(i.slotRelocation&&!r&&(i.hydrateServerSide||(i.slot||i.shadowDom)&&n.$flags$&12)&&Rr(e),i.asyncLoading){let n=e;for(;n=n.parentNode||n.host;)if(i.hydrateClientSide&&n.nodeType===1&&n.hasAttribute(`s-id`)&&n[`s-p`]||n[`s-p`]){br(t,t.$ancestorComponent$=n);break}}i.prop&&!i.hydrateServerSide&&n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(n&31&&Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];delete e[t],e[t]=n}}),i.initializeNextTick?Oe(()=>Fr(e,t,n)):Fr(e,t,n)}r()}},Rr=e=>{if(!N.document)return;
28let t=e[`s-cr`]=N.document.createComment(i.isDebug?`content-ref (host=${e.localName})`:``);t[`s-cn`]=!0,B(e,t,e.firstChild)},zr=(e,t)=>{i.lazyLoad&&V(e,`disconnectedCallback`,void 0,t||e)},Br=async e=>{if(!(P.$flags$&1)){let t=v(e);i.hostListener&&t?.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),i.lazyLoad?t?.$lazyInstance$?zr(t.$lazyInstance$,e):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>zr(t.$lazyInstance$,e)):zr(e)}ft.has(e)&&ft.delete(e),e.shadowRoot&&ft.has(e.shadowRoot)&&ft.delete(e.shadowRoot)},Vr=(e,t)=>{i.profile&&performance.mark&&performance.getEntriesByName(`st:app:start`,`mark`).length===0&&performance.mark(`st:app:start`);let n={$flags$:t[0],$tagName$:t[1]};try{i.member&&(n.$members$=t[2]),i.hostListener&&(n.$listeners$=t[3]),i.propChangeCallback&&(n.$watchers$=jn(e.$watchers$),n.$deserializers$=e.$deserializers$,n.$serializers$=e.$serializers$),i.reflect&&(n.$attrsToReflect$=[]),i.shadowDom&&!pe&&n.$flags$&1&&(n.$flags$|=8),!(n.$flags$&1)&&n.$flags$&256?i.experimentalSlotFixes?Ue(e.prototype):(i.slotChildNodesFix&&et(e.prototype),i.cloneNodeFix&&We(e.prototype),i.appendChildSlotFix&&Ge(e.prototype),i.scopedSlotTextContentFix&&n.$flags$&2&&$e(e.prototype)):i.cloneNodeFix&&We(e.prototype),i.hydrateClientSide&&i.shadowDom&&vt();let r=e.prototype.connectedCallback,a=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){y(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){let e=v(this);if(!e)return;Hr(this,e,n.$listeners$,!1),this.__hasHostListenerAttached=!0}Lr(this),r&&r.call(this)},disconnectedCallback(){Br(this),a&&a.call(this)},__attachShadow(){if(pe){if(!this.shadowRoot)Me.call(this,n);else if(this.shadowRoot.mode!==`open`)throw Error(`Unable to re-use existing shadow root for ${n.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.shadowRoot=this}}),Object.defineProperty(e,"is",{value:n.$tagName$,configurable:!0}),Pr(e,n,3)}catch(t){return S(t),e}},Hr=(e,t,n,r)=>{i.hostListener&&n&&N.document&&(i.hostListenerTargetParent&&(n=r?n.filter(([e])=>e&32):n.filter(([e])=>!(e&32))),n.map(([n,r,a])=>{let o=i.hostListenerTarget?Wr(N.document,e,n):e,s=Ur(t,a),c=Gr(n);P.ael(o,r,s,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>P.rel(o,r,s,c))}))},Ur=(e,t)=>n=>{var r;try{i.lazyLoad?e.$flags$&256?(r=e.$lazyInstance$)==null||r[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n]):e.$hostElement$[t](n)}catch(t){S(t,e.$hostElement$)}},Wr=(e,t,n)=>i.hostListenerTargetDocument&&n&4?e:i.hostListenerTargetWindow&&n&8?N:i.hostListenerTargetBody&&n&16?e.body:i.hostListenerTargetParent&&n&32&&t.parentElement?t.parentElement:t,Gr=e=>me?{passive:(e&1)!=0,capture:(e&2)!=0}:(e&2)!=0;i.lazyLoad||globalThis.HTMLElement;function H(e){return e}var Kr=Vr(class extends fe{constructor(e){super(),!1!==e&&this.__registerHost(),this.type=`button`,this.palette=`primary`,this.useCase=`cta`,this.isWide=!1,this.disabled=!1,this.useModernTheme=!1}render(){let e=this.useCase;return R(`button`,{key:`17fe2a5a75f9ffbcc924dd60761a30b008a4c3c8`,class:{"dvlAccount-button":!0,[this.palette]:!0,"dvlAccount-button--cta":e===`cta`,"dvlAccount-button--validation":e===`validation`,"dvlAccount-button--login":e===`login`&&!this.isWide,"dvlAccount-button--login--wide":e===`login`&&this.isWide,"modern-theme":this.useModernTheme}
28,type:this.type,disabled:this.disabled},this.label,R(`slot`,{key:`d888a777fe4649e40f71ae4225045b46203727f3`}))}static get style(){return`.dvlAccount-button.sc-dvl-button{border:0;cursor:pointer;display:inline-block;outline:0 none;pointer-events:auto;text-align:center;transition:background-color 300ms, opacity 300ms;user-select:none}[disabled].dvlAccount-button.sc-dvl-button{cursor:initial;opacity:0.35;pointer-events:none}[hidden].dvlAccount-button.sc-dvl-button{display:none !important}.dvlAccount-button.sc-dvl-button:focus{box-shadow:none;outline:0 none}.dvlAccount-button.primary.sc-dvl-button{background-color:#0068c3;color:white}.dark-theme .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button{background-color:#3aa3ff}.dvlAccount-button.primary.sc-dvl-button:hover{background-color:#00539c}.dark-theme .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button:hover,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button:hover{background-color:#61b5ff}.dvlAccount-button.primary.sc-dvl-button:focus,.dvlAccount-button.primary.sc-dvl-button:active{background-color:#003e75}.dark-theme .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button:focus,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button:focus,.dark-theme .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button:active,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.primary.sc-dvl-button:active{background-color:#88c8ff}.dvlAccount-button.cancel.sc-dvl-button{color:#424242;text-decoration:underline transparent;transition:color 300ms, opacity 300ms, text-decoration-color 100ms}.dark-theme .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button{color:#e0e0e0}.dvlAccount-button.cancel.sc-dvl-button{background-color:transparent}.dvlAccount-button.cancel.sc-dvl-button:hover{text-decoration-color:#424242}.dark-theme .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button:hover,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button:hover{text-decoration-color:#e0e0e0}.dvlAccount-button.cancel.sc-dvl-button:focus,.dvlAccount-button.cancel.sc-dvl-button:active{color:#212121;text-decoration:underline;text-decoration-color:#212121}.dark-theme .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button:focus,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button:focus,.dark-theme .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button:active,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.cancel.sc-dvl-button:active{color:#f5f5f5;text-decoration-color:#f5f5f5}.dvlAccount-button.success.sc-dvl-button{background-color:#61aa30;color:white}.dark-theme .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button{background-color:#6ab934}.dvlAccount-button.success.sc-dvl-button:hover{background-color:#508b27}.dark-theme .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button:hover,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button:hover{background-color:#71cc48}.dvlAccount-button.success.sc-dvl-button:focus,.dvlAccount-button.success.sc-dvl-button:active{background-color:#3e6d1f}.dark-theme .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button:focus,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button:focus,.dark-theme .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button:active,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.success.sc-dvl-button:active{background-color:#9ed977}.dvlAccount-button.danger.sc-dvl-button{background-color:#ff1a1a;color:white}.dark-theme .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button{background-color:#f20000}.dvlAccount-button.danger.sc-dvl-button:hover{background-color:#de0000}.dark-theme .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button:hover,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button:hover{background-color:#ff4141}.dvlAccount-button.danger.sc-dvl-button:focus,.dvlAccount-button.danger.sc-dvl-button:active{background-color:#b70000}.dark-theme .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button:focus,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button:focus,.dark-theme .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button:active,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.danger.sc-dvl-button:active{background-color:#ff6868}.dvlAccount-button.sc-dvl-button{border-radius:14px;font-size:14px;line-height:14px;padding:7px 18px;width:100%}.dvlAccount-button.dvlAccount-button--validation.sc-dvl-button{border-radius:4px}.dvlAccount-button.dvlAccount-button--login.sc-dvl-button,.dvlAccount-button.dvlAccount-button--login--wide.sc-dvl-button{border-radius:4px;padding:10px 40px}.dvlAccount-button.dvlAccount-button--login--wide.sc-dvl-button{width:100%}.dvlAccount-button.dvlAccount-button--validation.sc-dvl-button{align-items:center;border-radius:20px !important;display:flex !important;max-height:28px;padding:5px !important}.dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:hover,.dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:active,.dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:focus{background-color:#eeeeee;text-decoration-color:transparent !important}.dark-theme .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:hover,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:hover,.dark-theme .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:active,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:active,.dark-theme .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:focus,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:focus{background-color:#333333}.dark-theme .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:hover.modern-theme,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:hover.modern-theme,.dark-theme .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:active.modern-theme,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:active.modern-theme,.dark-theme .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:focus.modern-theme,[data-theme=dark] .sc-dvl-button-h .dvlAccount-button.dvlAccount-button--validation.cancel.dvlAccount-button.sc-dvl-button:focus.modern-theme{background-color:rgba(85, 186, 255, 0.15)}.dvlAccount-button.dvlAccount-button--validation.sc-dvl-button i.sc-dvl-button{padding-left:5px}`}},[262,`dvl-button`,{label:[1],type:[1],palette:[1],useCase:[1,`use-case`],isWide:[4,`is-wide`],disabled:[4],useModernTheme:[4,`use-modern-theme`]}]);function qr(){typeof customElements<`u`&&[`dvl-button`].forEach((e=>{e===`dvl-button`&&(customElements.get(H(e))||customElements.define(H(e),Kr))}))}var Jr=Math.min,Yr=Math.max,Xr=Math.round,Zr=Math.floor,Qr=e=>({x:e,y:e}),$r={left:`right`,right:`left`,bottom:`top`,top:`bottom`};
28function ei(e,t,n){return Yr(e,Jr(t,n))}function ti(e,t){return typeof e==`function`?e(t):e}function ni(e){return e.split(`-`)[0]}function ri(e){return e.split(`-`)[1]}function ii(e){return e===`x`?`y`:`x`}function ai(e){return e===`y`?`height`:`width`}function oi(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function si(e){return ii(oi(e))}function ci(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var li=[`left`,`right`],ui=[`right`,`left`],di=[`top`,`bottom`],fi=[`bottom`,`top`];function pi(e){let t=ni(e);return $r[t]+e.slice(t.length)}function mi(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:function(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}(e)}function hi(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function gi(e,t,n){let{reference:r,floating:i}=e,a=oi(t),o=si(t),s=ai(o),c=ni(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=ri(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function _i(e,t){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:c}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=ti(t,e),m=mi(p),h=s[f?d===`floating`?`reference`:`floating`:d],g=hi(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(h)))==null||n?h:h.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),_=d===`floating`?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),y=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},b=hi(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:_,offsetParent:v,strategy:c}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var vi=new Set([`left`,`top`]);function yi(){return typeof window<`u`}function bi(e){return Si(e)?(e.nodeName||``).toLowerCase():`#document`}function U(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xi(e){return((Si(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Si(e){return!!yi()&&(e instanceof Node||e instanceof U(e).Node)}function W(e){return!!yi()&&(e instanceof Element||e instanceof U(e).Element)}function Ci(e){return!!yi()&&(e instanceof HTMLElement||e instanceof U(e).HTMLElement)}function wi(e){return!(!yi()||typeof ShadowRoot>`u`)&&(e instanceof ShadowRoot||e instanceof U(e).ShadowRoot)}function Ti(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Ei(e){return/^(table|td|th)$/.test(bi(e))}function Di(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Oi=/transform|translate|scale|rotate|perspective|filter/,ki=/paint|layout|strict|content/,Ai=e=>!!e&&e!==`none`,ji;function Mi(e){let t=W(e)?G(e):e;return Ai(t.transform)||Ai(t.translate)||Ai(t.scale)||Ai(t.rotate)||Ai(t.perspective)||!Ni()&&(Ai(t.backdropFilter)||Ai(t.filter))||Oi.test(t.willChange||``)||ki.test(t.contain||``)}function Ni(){return ji??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),ji}function Pi(e){return/^(html|body|#document)$/.test(bi(e))}function G(e){return U(e).getComputedStyle(e)}function Fi(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ii(e){if(bi(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||wi(e)&&e.host||xi(e);return wi(t)?t.host:t}function Li(e){let t=Ii(e);return Pi(t)?(e.ownerDocument||e).body:Ci(t)&&Ti(t)?t:Li(t)}function Ri(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Li(e),i=r===e.ownerDocument?.body,a=U(r);if(i){let e=zi(a);
28return t.concat(a,a.visualViewport||[],Ti(r)?r:[],e&&n?Ri(e):[])}return t.concat(r,Ri(r,[],n))}function zi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Bi(e){let t=G(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Ci(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Xr(n)!==a||Xr(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Vi(e){return W(e)?e:e.contextElement}function Hi(e){let t=Vi(e);if(!Ci(t))return Qr(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Bi(t),o=(a?Xr(n.width):n.width)/r,s=(a?Xr(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var Ui=Qr(0);function Wi(e){let t=U(e);return Ni()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ui}function Gi(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Vi(e),o=Qr(1);t&&(r?W(r)&&(o=Hi(r)):o=Hi(e));let s=function(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===U(e)}(a,n,r)?Wi(a):Qr(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=U(a),t=W(r)?U(r):r,n=e,i=zi(n);for(;i&&t!==n;){let e=Hi(i),t=i.getBoundingClientRect(),r=G(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=U(i),i=zi(n)}}return hi({width:u,height:d,x:c,y:l})}function Ki(e,t){let n=Fi(e).scrollLeft;return t?t.left+n:Gi(xi(e)).left+n}function qi(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Ki(e,n),y:n.top+t.scrollTop}}function Ji(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=function(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=U(e),a=xi(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Ni()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Ki(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=25&&(s-=o)}return{width:s,height:c,x:l,y:u}}(e,n,t);else if(t===`document`)r=function(e){let t=Fi(e),n=e.ownerDocument.body,r=Yr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Yr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Ki(e),o=-t.scrollTop;return G(n).direction===`rtl`&&(a+=Yr(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}(xi(e));else if(W(t))r=function(e,t){let n=Gi(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Hi(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n);else{let n=Wi(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return hi(r)}function Yi(e,t,n){let r=Ci(t),i=xi(t),a=n===`fixed`,o=Gi(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Qr(0);if((r||!a)&&((bi(t)!==`body`||Ti(i))&&(s=Fi(t)),r)){let e=Gi(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Ki(i));let l=!i||r||a?Qr(0):qi(i,s);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Xi(e){return G(e).position===`static`}function Zi(e,t){if(!Ci(e)||G(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return xi(e)===n&&(n=n.ownerDocument.body),n}function Qi(e,t){let n=U(e);if(Di(e))return n;if(!Ci(e)){let t=Ii(e);for(;t&&!Pi(t);){if(W(t)&&!Xi(t))return t;t=Ii(t)}return n}let r=Zi(e,t);for(;r&&Ei(r)&&Xi(r);)r=Zi(r,t);return r&&Pi(r)&&Xi(r)&&!Mi(r)?n:r||function(e){let t=Ii(e);for(;Ci(t)&&!Pi(t);){if(Mi(t))return t;if(Di(t))return null;t=Ii(t)}return null}(e)||n}var $i={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=xi(r),s=!!t&&Di(t.floating);if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Qr(1),u=Qr(0),d=Ci(r);if((d||!a)&&((bi(r)!==`body`||Ti(o))&&(c=Fi(r)),d)){let e=Gi(r);l=Hi(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=!o||d||a?Qr(0):qi(o,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}},getDocumentElement:xi,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Di(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=Ri(e,[],!1).filter((e=>W(e)&&bi(e)!==`body`)),i=null,a=G(e).position===`fixed`,o=a?Ii(e):e;for(;W(o)&&!Pi(o);){let e=G(o),t=Mi(o),n=i?i.position:a?`fixed`:``;t||n!==`fixed`&&(n!==`absolute`||e.position!==`static`)?i=e:r=r.filter((e=>e!==o)),o=Ii(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=Ji(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Ji(t,a[e],i);s=Yr(n.top,s),c=Jr(n.right,c),l=Jr(n.bottom,l),u=Yr(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}},getOffsetParent:Qi,getElementRects:async function(e){let t=this.getOffsetParent||Qi,n=this.getDimensions,r=await n(e.floating);return{reference:Yi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=Bi(e);return{width:t,height:n}},getScale:Hi,isElement:W,isRTL:function(e){return G(e).direction===`rtl`}};function ea(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ta(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Vi(e),u=i||a?[...l?Ri(l):[],...t?Ri(t):[]]:[];u.forEach((e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)}));let d=l&&s?function(e,t,n){let r,i=null,a=xi(e);function o(){var e;clearTimeout(r),(e=i)==null||e.disconnect(),i=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m={rootMargin:-Zr(d)+`px `+-Zr(a.clientWidth-(u+f))+`px `+-Zr(a.clientHeight-(d+p))+`px `+-Zr(u)+`px`,threshold:Yr(0,Jr(1,c))||1},h=!0;function g(t){let n=t[0].intersectionRatio;if(!ea(l,e.getBoundingClientRect()))return s();if(n!==c){if(!h)return s();n?s(!1,n):r=setTimeout((()=>{s(!1,1e-7)}),1e3)}h=!1}try{i=new IntersectionObserver(g,{...m,root:a.ownerDocument})}catch{i=new IntersectionObserver(g,m)}i.observe(e)}let c=U(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}(l,n,a):null,f,p=-1,m=null;o&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;(e=m)==null||e.observe(t)}))),n()})),l&&!c&&m.observe(l),t&&m.observe(t));let h=c?Gi(e):null;return c&&function t(){let r=Gi(e);h&&!ea(h,r)&&n(),h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)})),d?.(),(e=m)==null||e.disconnect(),m=null,c&&cancelAnimationFrame(f)}}var na=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=ti(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=oi(i),p=ii(f),m=u[p],h=u[f],g=(e,t)=>ei(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},ra=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=ti(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=ni(r),_=oi(o),v=ni(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[pi(o)]:function(e){let t=pi(e);return[ci(e),t,ci(t)]}(o)),x=p!==`none`;!d&&x&&b.push(...function(e,t,n,r){let i=ri(e),a=function(e,t,n){switch(e){case`top`:case`bottom`:return n?t?ui:li:t?li:ui;case`left`:case`right`:return t?di:fi;default:return[]}}(ni(e),n===`start`,r);return i&&(a=a.map((e=>e+`-`+i)),t&&(a=a.concat(a.map(ci)))),a}(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=function(e,t,n){n===void 0&&(n=!1);
28let r=ri(e),i=si(e),a=ai(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=pi(o)),[o,pi(o)]}(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every((e=>e<=0))){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===oi(t)||T.every((e=>oi(e.placement)!==_||e.overflows[0]>0))))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter((e=>{if(x){let t=oi(e.placement);return t===_||t===`y`}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},ia=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=ti(e,t)||{};if(l==null)return{};let d=mi(u),f={x:n,y:r},p=si(i),m=ai(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;C&&await(o.isElement==null?void 0:o.isElement(S))||(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Jr(d[_],T),ee=Jr(d[v],T),te=C-h[m]-ee,D=C/2-h[m]/2+w,O=ei(E,D,te),k=!c.arrow&&ri(i)!=null&&D!==O&&a.reference[m]/2-(D<E?E:ee)-h[m]/2<0,A=k?D<E?D-E:D-te:0;return{[p]:f[p]+A,data:{[p]:O,centerOffset:D-O-A,...k&&{alignmentOffset:A}},reset:k}}}),aa=e=>e.startsWith(`top`)?`bottom`:`top`,oa=e=>e.endsWith(`-end`)?`end`:`start`,sa=Vr(class extends fe{constructor(e){super(),!1!==e&&this.__registerHost(),this.openedChange=Ln(this,`openedChange`,7),this.selectedChange=Ln(this,`selectedChange`,7),this.itemClicked=Ln(this,`itemClicked`,7),this.options=[],this.opened=!1,this.selected=-1,this.useModernTheme=!1,this.menuPosition=`end`,this.label=`Language`,this.resolvedPlacement=null,this.selectedIndex=-1,this.activeIndex=-1,this.overlayEl=null,this.hasRevealedSelection=!1,this.tracked=null}get preferredPlacement(){return this.menuPosition===`start`?`bottom-start`:`bottom-end`}get placement(){return this.resolvedPlacement??this.preferredPlacement}get overlayClass(){let e=this.placement;return[`language-menu__overlay`,`slide-down`,`language-menu__overlay--${oa(e)}`,`language-menu__overlay--${aa(e)}`].join(` `)}get rowEls(){return Array.from(this.overlayEl?.querySelectorAll(`.language-menu__item`)??[])}openedChanged(e){this.activeIndex=e?this.selectedIndex:-1}selectedPropChanged(e){this.selectedIndex=e}optionsChanged(e){this.activeIndex>=e.length&&(this.activeIndex=e.length-1)}connectedCallback(){this.syncPositionTracking()}componentWillLoad(){this.selectedIndex=this.selected,this.activeIndex=this.opened?this.selectedIndex:-1}componentDidRender(){this.syncPositionTracking(),this.opened?(this.position(this.overlayEl),this.revealSelectionOnce()):this.hasRevealedSelection=!1}disconnectedCallback(){this.stopPositionTracking(),clearTimeout(this.emitTimer),this.hasRevealedSelection=!1}syncPositionTracking(){let e=this.opened?this.overlayEl:null;(this.tracked?.el??null)!==e&&(this.stopPositionTracking(),e&&(this.tracked={el:e,stop:ta(this.host,e,(()=>{this.position(e)}),{elementResize:!1,layoutShift:!1})}))}stopPositionTracking(){this.tracked?.stop(),this.tracked=null}async position(e){if(!e)return;let t=e.querySelector(`.arrow`),n=await((e,t,n)=>{let r=new Map,i=n??{},a={...$i,...i.platform,_c:r};return(async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:_i},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=gi(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<50&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=!0===x.rects?await o.getElementRects({reference:e,floating:t,strategy:i}
28):x.rects),{x:u,y:d}=gi(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}})(e,t,{...i,platform:a})})(this.host,e,{placement:this.preferredPlacement,middleware:[(r=10,r===void 0&&(r=0),{name:`offset`,options:r,async fn(e){var t;let{x:n,y:i,placement:a,middlewareData:o}=e,s=await async function(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=ni(n),s=ri(n),c=oi(n)===`y`,l=vi.has(o)?-1:1,u=a&&c?-1:1,d=ti(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?-1*m:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}(e,r);return a===o.offset?.placement&&(t=o.arrow)!=null&&t.alignmentOffset?{}:{x:n+s.x,y:i+s.y,data:{...s,placement:a}}}}),ra(),na({padding:8}),...t?[ia({element:t,padding:4})]:[]]});var r;this.overlayEl===e&&(Object.assign(e.style,{position:`absolute`,left:`${n.x}px`,top:`${n.y}px`}),this.positionArrow(t,n.middlewareData.arrow?.x),this.resolvedPlacement=n.placement)}positionArrow(e,t){e&&t!==void 0&&(e.style.marginLeft=`${t}px`)}revealSelectionOnce(){if(this.hasRevealedSelection)return;let e=this.rowEls[this.selectedIndex];e&&(this.hasRevealedSelection=!0,e.scrollIntoView({behavior:`smooth`,block:`center`}),e.focus?.())}moveCursor(e){this.activeIndex=Math.min(Math.max(e,0),this.options.length-1);let t=this.rowEls[this.activeIndex];t?.scrollIntoView({block:`nearest`}),t?.focus?.()}handleOutsideClick(e){this.opened&&!e.composedPath().includes(this.host)&&this.closeMenu()}handleTriggerClick(e){this.overlayEl&&e.composedPath().includes(this.overlayEl)||this.toggleMenu()}handleKeyDown(e){if(!this.opened||e.altKey||e.ctrlKey||e.metaKey)return;let t=this.options.length-1;switch(e.key){case`ArrowDown`:if(t<0)return;this.moveCursor(this.activeIndex>=t?0:this.activeIndex+1);break;case`ArrowUp`:if(t<0)return;this.moveCursor(this.activeIndex<=0?t:this.activeIndex-1);break;case`Home`:if(t<0)return;this.moveCursor(0);break;case`End`:if(t<0)return;this.moveCursor(t);break;case`Enter`:case` `:if(this.activeIndex<0)return;this.chooseOption(this.activeIndex);break;case`Escape`:this.focusTrigger(),this.closeMenu();break;default:return}e.preventDefault(),e.stopPropagation()}focusTrigger(){this.host.querySelector(`button`)?.focus?.()}chooseOption(e){let t=this.options[e];if(!t)return;let{value:n}=t;this.selectedIndex=e,this.activeIndex=e,this.selectedChange.emit(e),clearTimeout(this.emitTimer),this.emitTimer=setTimeout((()=>{this.itemClicked.emit(n),this.closeMenu()}),200)}toggleMenu(){this.opened=!this.opened,this.openedChange.emit(this.opened)}closeMenu(){this.opened=!1,this.openedChange.emit(!1)}renderArrow(e){return R(`i`,{"aria-hidden":`true`,class:`dvl-icon dvl-icon-arrow-${e===`top`?`up`:`down`} arrow arrow--${oa(this.placement)} arrow--${e}`})}render(){let e=aa(this.placement);return R(St,{key:`b03aa2887e19d868f61aa562bf9014ec14613ca3`,class:`language-menu language-menu--${this.menuPosition}`},R(`slot`,{key:`993e2b4305f48e0aa8b102619bb46de10c76dec8`}),this.opened&&R(`div`,{key:`e4b6561b6344311d5d0b7df7cc6a09ed729d0ab1`,class:this.overlayClass,ref:e=>{this.overlayEl=e??null}},e===`top`&&this.renderArrow(`top`),R(`div`,{key:`ec762724b484b40a1ba952ca3222633a4fbad622`,role:`listbox`,"aria-label":this.label,class:{"language-menu__container":!0,"modern-theme":this.useModernTheme}},this.options.map(((e,t)=>R(`div`,{key:e.value,role:`option`,tabIndex:-1,"aria-selected":String(this.selectedIndex===t),"data-value":e.value,class:{"language-menu__item":!0,"modern-theme":this.useModernTheme,"language-menu__item--selected":this.selectedIndex===t,"language-menu__item--active":this.activeIndex===t},onClick:()=>this.chooseOption(t)},R(`div`,{class:`language-menu__item__check`},R(`i`,{"aria-hidden":`true`,class:`dvl-icon dvl-icon-check`})),R(`div`,{class:`language-menu__item__label item`},`${e.native} (${e.value})`))))),e===`bottom`&&this.renderArrow(`bottom`)))}get host(){return this}static get watchers(){return{opened:[{openedChanged:0}],selected:[{selectedPropChanged:0}],options:[{optionsChanged:0}]}}static get style(){return`@keyframes slide-down-animation{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.slide-down.sc-dvl-language-menu{animation:slide-down-animation ease-in 1;animation-duration:300ms;animation-fill-mode:backwards}@keyframes fade-in-animation{from{opacity:0}
28to{opacity:1}}@keyframes spin-animation{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.language-menu.sc-dvl-language-menu{display:inline-flex;position:relative}.language-menu__container.sc-dvl-language-menu::-webkit-scrollbar{width:12px;background-color:transparent}.language-menu__container.sc-dvl-language-menu::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#e0e0e0;border-radius:8px;border:3px solid transparent;cursor:pointer}.dark-theme.sc-dvl-language-menu-h .language-menu__container.sc-dvl-language-menu::-webkit-scrollbar-thumb,.dark-theme .sc-dvl-language-menu-h .language-menu__container.sc-dvl-language-menu::-webkit-scrollbar-thumb,[data-theme=dark].sc-dvl-language-menu-h .language-menu__container.sc-dvl-language-menu::-webkit-scrollbar-thumb,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__container.sc-dvl-language-menu::-webkit-scrollbar-thumb{background-color:#333333}.language-menu__container.sc-dvl-language-menu{background-color:white;border-radius:4px;box-shadow:-3px 3px 11px rgba(0, 0, 0, 0.2588235294);box-sizing:content-box;display:flex;flex-direction:column;height:100%;max-height:189px;max-width:500px;overflow:auto;padding-block:6px;position:relative;row-gap:2px;width:auto}.dark-theme .sc-dvl-language-menu-h .language-menu__container.sc-dvl-language-menu,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__container.sc-dvl-language-menu{background-color:#1f1f1f;box-shadow:-3px 3px 11px black}.dark-theme .sc-dvl-language-menu-h .language-menu__container.modern-theme.sc-dvl-language-menu,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__container.modern-theme.sc-dvl-language-menu{background-color:#161B26;border:1px solid #2F3441;border-radius:10px;box-shadow:0 4px 10px 0 rgba(0, 0, 0, 0.25)}.language-menu__item.sc-dvl-language-menu{align-items:center;column-gap:8px;display:flex;flex-wrap:nowrap;line-height:20px;padding:12px 16px;transition:0.3s ease-in-out;white-space:nowrap}.language-menu__item__check.sc-dvl-language-menu{display:flex;flex:0 0 14px;justify-content:center}.language-menu__item__label.sc-dvl-language-menu{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}.language-menu__item--selected.sc-dvl-language-menu{background-color:#d7ecff;color:#0068c3;font-weight:600}.dark-theme .sc-dvl-language-menu-h .language-menu__item--selected.sc-dvl-language-menu,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__item--selected.sc-dvl-language-menu{background-color:#003e75;color:#3aa3ff}.language-menu__item--selected.sc-dvl-language-menu i.sc-dvl-language-menu{color:#0068c3;font-weight:600;visibility:visible}.language-menu__item.sc-dvl-language-menu:not(.language-menu__item--selected) i.sc-dvl-language-menu{visibility:hidden}.language-menu__item.sc-dvl-language-menu:hover:not(.language-menu__item--selected),.language-menu__item--active.sc-dvl-language-menu:not(.language-menu__item--selected){background-color:#f5f5f5;cursor:pointer}.dark-theme .sc-dvl-language-menu-h .language-menu__item.sc-dvl-language-menu:hover:not(.language-menu__item--selected),[data-theme=dark] .sc-dvl-language-menu-h .language-menu__item.sc-dvl-language-menu:hover:not(.language-menu__item--selected),.dark-theme .sc-dvl-language-menu-h .language-menu__item--active.sc-dvl-language-menu:not(.language-menu__item--selected),[data-theme=dark] .sc-dvl-language-menu-h .language-menu__item--active.sc-dvl-language-menu:not(.language-menu__item--selected){background-color:#333333}.dark-theme .sc-dvl-language-menu-h .language-menu__item.sc-dvl-language-menu:hover:not(.language-menu__item--selected).modern-theme,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__item.sc-dvl-language-menu:hover:not(.language-menu__item--selected).modern-theme,.dark-theme .sc-dvl-language-menu-h .language-menu__item--active.sc-dvl-language-menu:not(.language-menu__item--selected).modern-theme,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__item--active.sc-dvl-language-menu:not(.language-menu__item--selected).modern-theme{background-color:rgba(85, 186, 255, 0.15)}.language-menu__item.sc-dvl-language-menu:focus-visible{outline:2px solid #0068c3;outline-offset:-2px}.dark-theme .sc-dvl-language-menu-h .language-menu__item.sc-dvl-language-menu:focus-visible,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__item.sc-dvl-language-menu:focus-visible{outline-color:#3aa3ff}.language-menu__overlay.sc-dvl-language-menu{display:flex;flex-flow:column;position:absolute;top:0;left:0}.language-menu__overlay--end.sc-dvl-language-menu{place-content:end}.language-menu__overlay--start.sc-dvl-language-menu{place-content:start}.language-menu__overlay--top.sc-dvl-language-menu{align-items:flex-start}.language-menu__overlay--bottom.sc-dvl-language-menu{align-items:flex-end}.language-menu__overlay--bottom.sc-dvl-language-menu .arrow--bottom.sc-dvl-language-menu{top:-1px}.language-menu__overlay.sc-dvl-language-menu .arrow.sc-dvl-language-menu{align-self:flex-start;color:white;display:flex;font-size:38px;line-height:7px;margin:0;padding:0;position:relative;z-index:2000}.dark-theme .sc-dvl-language-menu-h .language-menu__overlay.sc-dvl-language-menu .arrow.sc-dvl-language-menu,[data-theme=dark] .sc-dvl-language-menu-h .language-menu__overlay.sc-dvl-language-menu .arrow.sc-dvl-language-menu{color:#1f1f1f}`}},[262,`dvl-language-menu`,{options:[16],opened:[1028],selected:[2],useModernTheme:[4,`use-modern-theme`],menuPosition:[1,`menu-position`],label:[1],resolvedPlacement:[32],selectedIndex:[32],activeIndex:[32]},[[6,`click`,`handleOutsideClick`],[0,`click`,`handleTriggerClick`],[6,`keydown`,`handleKeyDown`]],{opened:[{openedChanged:0}],selected:[{selectedPropChanged:0}],options:[{optionsChanged:0}]}]);function ca(){typeof customElements<`u`&&[`dvl-language-menu`].forEach((e=>{e===`dvl-language-menu`&&(customElements.get(H(e))||customElements.define(H(e),sa))}))}var la=Vr(class extends fe{constructor(e){super(),!1!==e&&this.__registerHost(),this.selectedChange=Ln(this,`selectedChange`,7),this.buttons=[],this.selected=-1,this.useModernTheme=!1,this.disabled=!1}onButtonClick(e,t){e.stopPropagation(),this.selectedChange.emit(t)}get hasSelected(){return this.selected>=0&&this.selected<this.buttons.length}get backgroundLeft(){return`calc(${this.selected/this.buttons.length*100}% + 3px)`}get backgroundWidth(){return`calc(${1/this.buttons.length*100}% - 6px)`}render(){return R(`div`,{key:`e68bd5cd894b2e1e397b38145cba5e04c4d13df6`,class:{"dvl-selector-button":!0,"modern-theme":this.useModernTheme,"dvl-selector-button--disabled":this.disabled}},this.buttons.map(((e,t)=>R(`div`,{class:{"dvl-selector-button__item":!0,"modern-theme":this.useModernTheme,"dvl-selector-button__item--selected":t===this.selected,"dvl-selector-button__item--disabled":this.disabled},onClick:e=>this.onButtonClick(e,t)},R(`div`,{class:`dvl-selector-button__button`},e.icon&&R(`i`,{class:`dvl-selector-button__icon ${e.icon}`,style:{marginRight:e.label?`5px`:`0`}}),e.label&&R(`span`,{class:`dvl-selector-button__text`},e.label))))),this.hasSelected&&R(`div`,{key:`c6d39e696c7765ce5e9bc42f70e2c7edd88aebc4`,class:`dvl-selector-button__background`,style:{left:this.backgroundLeft,width:this.backgroundWidth}}))}static get style(){return`.sc-dvl-selector-button-h{display:flex;pointer-events:auto}.dvl-selector-button.sc-dvl-selector-button{align-items:center;background-color:#eeeeee;border:1px solid #f5f5f5;border-radius:5px;box-sizing:border-box;color:#424242;display:flex;flex:1;flex-direction:row;font-weight:400;height:34px;justify-content:space-evenly;position:relative}.dark-theme .sc-dvl-selector-button-h .dvl-selector-button.sc-dvl-selector-button,[data-theme=dark] .sc-dvl-selector-button-h .dvl-selector-button.sc-dvl-selector-button{background-color:#333333;border-color:#1f1f1f;color:#e0e0e0}.dark-theme .sc-dvl-selector-button-h .dvl-selector-button.modern-theme.sc-dvl-selector-button,[data-theme=dark] .sc-dvl-selector-button-h .dvl-selector-button.modern-theme.sc-dvl-selector-button{background-color:#0C111D;border:1px solid #2F3441}.dvl-selector-button--disabled.sc-dvl-selector-button{pointer-events:none;opacity:0.65}.dvl-selector-button__item.sc-dvl-selector-button{align-items:center;border-radius:4px;display:flex;flex:1;height:28px;justify-content:center;margin:3px;overflow:hidden;transition:background-color 100ms;z-index:1}.dvl-selector-button__item--selected.sc-dvl-selector-button{color:white}.dvl-selector-button__item--disabled.sc-dvl-selector-button{pointer-events:none}.dvl-selector-button.sc-dvl-selector-button:not(.dvl-selector-button--disabled) .dvl-selector-button__item.sc-dvl-selector-button:not(.dvl-selector-button__item--disabled):hover{cursor:pointer}.dvl-selector-button.sc-dvl-selector-button:not(.dvl-selector-button--disabled) .dvl-selector-button__item.sc-dvl-selector-button:not(.dvl-selector-button__item--disabled):hover:not(.dvl-selector-button__item--selected){background-color:rgb(88.3333333333%, 88.3333333333%, 88.3333333333%)}.dark-theme .sc-dvl-selector-button-h .dvl-selector-button.sc-dvl-selector-button:not(.dvl-selector-button--disabled) .dvl-selector-button__item.sc-dvl-selector-button:not(.dvl-selector-button__item--disabled):hover:not(.dvl-selector-button__item--selected),[data-theme=dark] .sc-dvl-selector-button-h .dvl-selector-button.sc-dvl-selector-button:not(.dvl-selector-button--disabled) .dvl-selector-button__item.sc-dvl-selector-button:not(.dvl-selector-button__item--disabled):hover:not(.dvl-selector-button__item--selected){background-color:rgb(15%, 15%, 15%)}.dark-theme .sc-dvl-selector-button-h .dvl-selector-button.sc-dvl-selector-button:not(.dvl-selector-button--disabled) .dvl-selector-button__item.sc-dvl-selector-button:not(.dvl-selector-button__item--disabled):hover:not(.dvl-selector-button__item--selected).modern-theme,[data-theme=dark] .sc-dvl-selector-button-h .dvl-selector-button.sc-dvl-selector-button:not(.dvl-selector-button--disabled) .dvl-selector-button__item.sc-dvl-selector-button:not(.dvl-selector-button__item--disabled):hover:not(.dvl-selector-button__item--selected).modern-theme{background-color:rgba(85, 186, 255, 0.15)}.dvl-selector-button__button.sc-dvl-selector-button{align-items:center;display:flex;overflow:hidden;user-select:none}.dvl-selector-button__text.sc-dvl-selector-button{margin:0;text-overflow:ellipsis}.dvl-selector-button__background.sc-dvl-selector-button{background-color:#0068c3;border-radius:4px;display:flex;height:28px;margin:0;padding:0;position:absolute;pointer-events:none;transition:background-color 250ms, left 250ms, opacity 250ms;z-index:0}.dark-theme .sc-dvl-selector-button-h .dvl-selector-button__background.sc-dvl-selector-button,[data-theme=dark] .sc-dvl-selector-button-h .dvl-selector-button__background.sc-dvl-selector-button{background-color:#3aa3ff}.dvl-selector-button__background--selected.sc-dvl-selector-button{box-shadow:0 2px 3px 0 #9e9e9e}.dark-theme .sc-dvl-selector-button-h .dvl-selector-button__background--selected.sc-dvl-selector-button,[data-theme=dark] .sc-dvl-selector-button-h .dvl-selector-button__background--selected.sc-dvl-selector-button{box-shadow:0 2px 3px 0 #1f1f1f}.dvl-selector-button__icon.sc-dvl-selector-button{margin-right:5px;font-size:18px}`}},[2,`dvl-selector-button`,{buttons:[16],selected:[2],useModernTheme:[4,`use-modern-theme`],disabled:[4]}]);function ua(){typeof customElements<`u`&&[`dvl-selector-button`].forEach((e=>{e===`dvl-selector-button`&&(customElements.get(H(e))||customElements.define(H(e),la))}))}var da=(e,t)=>e.charAt(0).toLocaleUpperCase(t)+e.slice(1),fa={lblAddAnotherAccount:`Add another account`,lblUseAnotherAccount:`Use another account`,but
28SignOut:`Sign Out`,gbManageAccount:`Manage Account`,gbTermsAndPrivacy:`Terms & Privacy`,butLight:`Light`,butDark:`Dark`,butSystem:`System`,lblTheme:`Theme`,lblLang:`Language`,lblAccountNotVerified:`Your account is not verified`,lblVerifyAccount:`Verify your account`},pa={en:fa,fr:{lblAddAnotherAccount:`Ajouter un autre compte`,lblUseAnotherAccount:`Utiliser un autre compte`,butSignOut:`Se déconnecter`,gbManageAccount:`Gérer votre compte`,gbTermsAndPrivacy:`Conditions et Vie privée`,butLight:`Clair`,butDark:`Sombre`,butSystem:`Système`,lblTheme:`Thème`,lblLang:`Langue`,lblAccountNotVerified:`Votre compte n'est pas vérifié`,lblVerifyAccount:`Vérifiez votre compte`},de:{lblAddAnotherAccount:`Weiteres Konto hinzufügen`,lblUseAnotherAccount:`Anderes Konto verwenden`,butSignOut:`Abmelden`,gbManageAccount:`Konto verwalten`,gbTermsAndPrivacy:`Allgemeine Geschäftsbedingungen und Datenschutzerklärung`,butLight:`Hell`,butDark:`Dunkel`,butSystem:`System`,lblTheme:`Design`,lblLang:`Sprache`,lblAccountNotVerified:`Ihr Konto ist nicht verifiziert`,lblVerifyAccount:`Überprüfen Sie Ihr Konto`}};function ma(e){return e.split(/[-_]/)[0].toLowerCase()}var ha=[`en-US`,`zh-CHS`,`zh-TW`],ga=[`System`,`Light`,`Dark`],_a=class{constructor(e=document){this.doc=e,this.current=`System`,this.media=null,this.onMedia=()=>this.apply()}set theme(e){e&&ga.includes(e)&&e!==this.current&&(this.current=e,this.apply())}init(e){e&&ga.includes(e)&&(this.current=e),this.rearm(),this.apply()}rearm(){this.mediaQuery()?.addEventListener(`change`,this.onMedia)}apply(){let e=this.current===`System`?this.mediaQuery()?.matches?`Dark`:`Light`:this.current,t=this.doc.body;e===`Dark`?(t.classList.remove(`light-theme`),t.classList.add(`dark-theme`)):(t.classList.remove(`dark-theme`),t.classList.add(`light-theme`))}dispose(){this.media?.removeEventListener(`change`,this.onMedia)}mediaQuery(){return this.media??=this.doc.defaultView?.matchMedia(`(prefers-color-scheme: dark)`)??null,this.media}},va=[{theme:`Light`,labelKey:`butLight`,icon:`dvl-icon dvl-icon-light`},{theme:`Dark`,labelKey:`butDark`,icon:`dvl-icon dvl-icon-dark`},{theme:`System`,labelKey:`butSystem`,icon:`dvl-icon dvl-icon-admin`}],ya=Vr(class extends fe{constructor(e){super(),!1!==e&&this.__registerHost(),this.addAccountClicked=Ln(this,`addAccountClicked`,7),this.changeAccountClicked=Ln(this,`changeAccountClicked`,7),this.logOffClicked=Ln(this,`logOffClicked`,7),this.themeChange=Ln(this,`themeChange`,7),this.localeChange=Ln(this,`localeChange`,7),this.manageAccountUrl=`https://portal.devolutions.com`,this.logoffRedirectUrlOverrideToCurrentRoute=!1,this.useModernTheme=!1,this.locale=`en-US`,this.accounts=[],this.currentUser=null,this.listAccountsReceived=!1,this.listAccountsTimedOut=!1,this.languageOptions=[],this.currentLanguageIndex=0,this.mediaWidth=typeof window<`u`?window.innerWidth:1024,this.themeController=new _a}componentWillLoad(){this.deriveLanguageOptions(),this.localeChanged(),this.themeController.init(this.theme)}connectedCallback(){this.themeController.rearm(),this.bindIdentity()}disconnectedCallback(){this.offUserChanged?.(),this.themeController.dispose()}onResize(){this.mediaWidth=window.innerWidth}localeChanged(){this.translations=function(e){return pa[ma(e)]??fa}(this.locale),this.setCurrentLanguageIndex()}supportedLanguagesChanged(){this.deriveLanguageOptions(),this.setCurrentLanguageIndex()}themeChanged(e){this.themeController.theme=e??`System`}bindIdentity(){this.offUserChanged?.(),this.currentUser=this.identity?.user??null,this.offUserChanged=this.identity?.on(`userchanged`,(e=>{this.currentUser=e}))}async loadAccounts(){try{let e=await this.identity.listAccounts();this.accounts=function(e,t){return e.filter((e=>e.username!==t)).sort(((e,t)=>(e.fullname??``).localeCompare(t.fullname??``))).map((e=>({username:e.username,fullname:e.fullname,picture:e.picture,sid:e.sid})))}(e,this.currentUser?.username),this.listAccountsReceived=!0,this.listAccountsTimedOut=!1}catch{this.accounts=[],this.listAccountsReceived=!0,this.listAccountsTimedOut=!0}}
28async switchAccount(e){this.changeAccountClicked.emit(),e.sid&&await this.identity.switchAccount(e.username,e.sid)}async addAccount(){this.addAccountClicked.emit(),await this.identity.promptSelectAccount()}async logOff(){if(this.logOffClicked.emit(),this.logoffRedirectUrlOverrideToCurrentRoute){let e=`${window.location.pathname}${window.location.search}${window.location.hash}`;await this.identity.logout({postLogoutRedirectUri:e})}else await this.identity.logout()}changeTheme(e){let t=va[e]?.theme;t&&(this.theme=t,this.themeChange.emit(t))}setLocale(e){this.locale=function(e){return ha.includes(e)?e:ma(e)}(e),this.localeChange.emit(this.locale)}deriveLanguageOptions(){if(this.supportedLanguages)try{this.languageOptions=function(e){return e.map((e=>{let t=e.replace(`_`,`-`),{name:n,native:r}=function(e){let t=e.toLowerCase();try{let e=new Intl.DisplayNames([`en`],{type:`language`,fallback:`none`}).of(t),n=new Intl.DisplayNames([t],{type:`language`,fallback:`none`}).of(t);return{name:e,native:n?da(n,t):void 0}}catch{return{name:void 0,native:void 0}}}(t.split(`-`)[0]);return{label:n??t,value:t,native:r??n??t}})).sort(((e,t)=>e.label.localeCompare(t.label)))}(this.supportedLanguages)}catch{}else this.languageOptions=[]}setCurrentLanguageIndex(){let e=ma(this.locale),t=this.languageOptions.findIndex((t=>t.value.includes(e)));this.currentLanguageIndex=t>=0?t:Math.max(0,this.languageOptions.findIndex((e=>e.value.includes(`en`))))}get displayLocale(){return ma(this.locale).toUpperCase()}get termsUrl(){return ma(this.locale)===`en`?`https://devolutions.net/legal`:`https://devolutions.net/${this.locale}/legal`}get emailVerificationUrl(){let e=window.location.hostname,t;return t=e.endsWith(`.net`)||e.endsWith(`.com`)||e.endsWith(`.app`)?`https://login.devolutions.com`:e.endsWith(`.xyz`)?`https://login.devolutions.xyz`:`http://localhost:4242`,t+`/op/email-not-verified`}get accountListClassName(){return this.accounts.length>=6?`overflowed`:`loaded-`+(this.accounts.length+1)}get selectedThemeIndex(){let e=va.findIndex((({theme:e})=>e===this.theme));return e>=0?e:va.findIndex((({theme:e})=>e===`System`))}themeButtons(){return va.map((({labelKey:e,icon:t})=>({label:this.translations[e],icon:t})))}fullNameIsOverflowed(e,t){return`${e.firstName??``} ${e.lastName??``}`.length>Math.round(t/8)}truncateFullName(e){let t=e.firstName,n=e.lastName;return t&&n?`${t.substring(0,10)}... ${n.substring(0,10)}...`:(e.fullName??``).substring(0,24)+`...`}renderCurrentAccount(e){let t=this.mediaWidth<=480&&this.fullNameIsOverflowed(e,this.mediaWidth)?this.truncateFullName(e):e.fullName||`${e.firstName??``}${e.firstName&&e.lastName?` `:``}${e.lastName??``}`;return R(`div`,{class:{"current-account":!0,"modern-theme":this.useModernTheme}},R(`div`,{class:`current-account__picture`},R(`a`,{href:this.manageAccountUrl,target:`_blank`,rel:`noopener`}),R(`img`,{src:e.picture,alt:`Avatar`})),R(`div`,{class:`current-account__text`},R(`div`,{class:`current-account__text__name`},t),R(`div`,{class:`current-account__text__username`},e.username),R(`div`,{class:`current-account__tags`},R(`slot`,{name:`tags`})),R(`div`,{class:`current-account__manage`},R(`a`,{href:this.manageAccountUrl,target:`_blank`,rel:`noopener`},R(`span`,null,this.translations.gbManageAccount),R(`i`,{class:`dvl-icon dvl-icon-link-external`})))),this.supportedLanguages&&this.renderLanguageMenu())}renderLanguageMenu(){return R(`dvl-language-menu`,{options:this.languageOptions,useModernTheme:this.useModernTheme,menuPosition:`end`,selected:this.currentLanguageIndex,onItemClicked:e=>{this.setLocale(e.detail)}},R(`dvl-button`,{useCase:`validation`,palette:`cancel`,useModernTheme:this.useModernTheme},R(`div`,{class:`icon-language`},R(`i`,{class:`dvl-icon dvl-icon-language`}),R(`span`,{class:{"overlay-icon":!0,"modern-theme":this.useModernTheme}},this.displayLocale)),R(`i`,{class:`dvl-icon dvl-icon-filter-down`})))}renderVerificationBanner(){return R(`div`,{class:{"verification-banner":!0,"modern-theme":this.useModernTheme}},R(`div`,{class:`verification-banner__content`},R(`i`,{class:`dvl-icon dvl-icon-warning`}),R(`div`,{class:`verification-banner__text`},R(`span`,null,this.translations.lblAccountNotVerified),R(`a`,{href:this.emailVerificationUrl,target:`_blank`,class:`verification-banner__link`,rel:`noopener`},this.translations.lblVerifyAccount))))}renderAccountList(){return R(`div`,{class:{"other-accounts":!0,[`other-accounts--`+this.accountListClassName]:this.listAccountsReceived,"modern-theme":this.useModernTheme}},R(`div`,{class:`title`},this.translations.lblUseAnotherAccount),!this.listAccountsReceived&&R(`div`,{class:`accounts-loading`},R(`div`,{class:`loader`})),this.accounts.map((e=>R(`div`,{key:e.username,class:{account:!0,"modern-theme":this.useModernTheme},onClick:()=>this.switchAccount(e)},R(`div`,{class:`account__picture`},e.picture&&R(`img`,{src:e.picture,alt:`Avatar`})),R(`div`,{class:`account__content`},R(`div`,{class:`account__fullname`},e.fullname),R(`div`,{class:`account__username`},e.username))))),this.listAccountsReceived&&R(`a`,{class:{account:!0,"new-account":!0,"modern-theme":this.useModernTheme},onClick:()=>this.addAccount()},R(`div`,{class:`account__picture`},R(`i`,{class:this.listAccountsTimedOut?`dvl-icon dvl-icon-account`:`dvl-icon dvl-icon-account-add`})),R(`div`,{class:`account__content`},this.listAccountsTimedOut?this.translations.lblUseAnotherAccount:this.translations.lblAddAnotherAccount)))}renderThemeSelector(){return R(`div`,{class:{settings:!0,"modern-theme":this.useModernTheme}},R(`div`,{class:`title`},this.translations.lblTheme),R(`dvl-selector-button`,{buttons:this.themeButtons(),useModernTheme:this.useModernTheme,selected:this.selectedThemeIndex,onSelectedChange:e=>{this.changeTheme(e.detail)}}))}renderFooter(){return R(`div`,{class:`footer`},R(`dvl-button`,{useCase:`login`,useModernTheme:this.useModernTheme,label:this.translations.butSignOut,onClick:()=>this.logOff()}),R(`a`,{href:this.termsUrl,class:`legal`,target:`_blank`,rel:`noopener`},this.translations.gbTermsAndPrivacy))}render(){let e=this.currentUser;return e?R(`div`,{class:{"account-chooser-menu":!0,"modern-theme":this.useModernTheme}},R(`div`,{class:`account-chooser-menu__content slide-down`},this.renderCurrentAccount(e),!1===e.emailVerified&&this.renderVerificationBanner(),this.renderAccountList(),this.theme&&this.renderThemeSelector(),this.renderFooter())):null}static get watchers(){return{locale:[{localeChanged:0}],supportedLanguages:[{supportedLanguagesChanged:0}],theme:[{themeChanged:0}],identity:[{bindIdentity:0}]}}static get style(){return`@charset "UTF-8";.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .accounts-loading.sc-devolutions-account-chooser .loader.sc-devolutions-account-chooser{position:relative}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .accounts-loading.sc-devolutions-account-chooser .loader.sc-devolutions-account-chooser::before{border:3px solid;border-color:rgba(0, 104, 195, 0.2) rgba(0, 104, 195, 0.2) rgba(0, 104, 195, 0.2) #0068c3;animation:spin-animation 1.1s infinite linear;border-radius:50%;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .accounts-loading.sc-devolutions-account-chooser .loader.sc-devolutions-account-chooser::before,.account-chooser-menu .other-accounts .accounts-loading .dark-theme .sc-devolutions-account-chooser-h .loader.sc-devolutions-account-chooser::before,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .accounts-loading.sc-devolutions-account-chooser .loader.sc-devolutions-account-chooser::before,.account-chooser-menu .other-accounts .accounts-loading [data-theme=dark] .sc-devolutions-account-chooser-h .loader.sc-devolutions-account-chooser::before{border-color:rgba(58, 163, 255, 0.2) rgba(58, 163, 255, 0.2) rgba(58, 163, 255, 0.2) #3aa3ff}@keyframes slide-down-animation{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.slide-down.sc-devolutions-account-chooser{animation:slide-down-animation ease-in 1;animation-duration:300ms;animation-fill-mode:backwards}@keyframes fade-in-animation{from{opacity:0}
28to{opacity:1}}@keyframes spin-animation{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.account-chooser-menu.sc-devolutions-account-chooser{background-color:transparent;color:#424242;box-shadow:0 6px 20px 0 rgba(0, 0, 0, 0.2588235294);display:inline-block;opacity:1;font-family:"Open Sans", Arial, sans-serif;height:auto;line-height:1;max-width:435px}@media screen and (max-device-width: 480px) and (orientation: portrait){.account-chooser-menu.sc-devolutions-account-chooser{max-width:325px}}.account-chooser-menu.sc-devolutions-account-chooser{min-width:325px;max-height:596px;text-transform:none;padding:20px 20px 24px}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser{box-shadow:0 6px 20px 0 black;color:#e0e0e0}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.modern-theme.sc-devolutions-account-chooser{background-color:#161B26;border:1px solid #2F3441;border-radius:10px;box-shadow:0 4px 10px 0 rgba(0, 0, 0, 0.25)}@media screen and (max-height: 648px){.account-chooser-menu.sc-devolutions-account-chooser::-webkit-scrollbar{width:12px;background-color:transparent}.account-chooser-menu.sc-devolutions-account-chooser::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#e0e0e0;border-radius:8px;border:3px solid transparent;cursor:pointer}.dark-theme.sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser::-webkit-scrollbar-thumb,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser::-webkit-scrollbar-thumb,[data-theme=dark].sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser::-webkit-scrollbar-thumb,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser::-webkit-scrollbar-thumb{background-color:#333333}.account-chooser-menu.sc-devolutions-account-chooser{max-height:calc(100vh - 52px - 30px);overflow:auto}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.other-accounts--overflowed.sc-devolutions-account-chooser{max-height:none}}@media (max-width: 345px){.account-chooser-menu.sc-devolutions-account-chooser{width:95vw;min-width:0}}.account-chooser-menu__content.sc-devolutions-account-chooser{display:flex;flex-direction:column}.account-chooser-menu.sc-devolutions-account-chooser i.dvl-icon.sc-devolutions-account-chooser{top:0}.account-chooser-menu.sc-devolutions-account-chooser i.dvl-icon.dvl-icon-language.sc-devolutions-account-chooser{font-size:24px}.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser{border-bottom:1px solid #e0e0e0;align-items:center;display:flex;gap:16px;padding:0 0 20px 0}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser{border-color:#525252}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.modern-theme.sc-devolutions-account-chooser{border-bottom-color:rgba(58, 163, 255, 0.1)}.account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser{height:58px;position:relative;width:58px}.account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser a.sc-devolutions-account-chooser{bottom:-3px;content:" ";cursor:pointer;left:-3px;position:absolute;right:-3px;top:-3px}.account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser a.sc-devolutions-account-chooser:hover~img.sc-devolutions-account-chooser,.account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser a.sc-devolutions-account-chooser:focus~img.sc-devolutions-account-chooser{transform:scale(1.05)}.account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser a.sc-devolutions-account-chooser:active~img.sc-devolutions-account-chooser{transform:scale(0.98);transition:transform 90ms}.account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser img.sc-devolutions-account-chooser{border-radius:50%;border:3px solid #eeeeee;pointer-events:none;transition:transform 300ms ease-out;width:58px}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser img.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account__picture.sc-devolutions-account-chooser img.sc-devolutions-account-chooser{border-color:#1f1f1f}.account-chooser-menu.sc-devolutions-account-chooser .current-account__text.sc-devolutions-account-chooser{display:flex;flex-direction:column;line-height:1;min-width:0}.account-chooser-menu.sc-devolutions-account-chooser .current-account__text__name.sc-devolutions-account-chooser{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;color:#424242;font-size:16px;font-weight:700;line-height:1.3;margin-bottom:4px}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account__text__name.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account__text__name.sc-devolutions-account-chooser{color:#e0e0e0}.account-chooser-menu.sc-devolutions-account-chooser .current-account__text__username.sc-devolutions-account-chooser{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;font-size:14px;line-height:1.4;font-weight:400}.account-chooser-menu.sc-devolutions-account-chooser .current-account__tags.sc-devolutions-account-chooser{margin-top:10px}.account-chooser-menu.sc-devolutions-account-chooser .current-account__tags.sc-devolutions-account-chooser:empty{margin-top:0}.account-chooser-menu.sc-devolutions-account-chooser .current-account__manage.sc-devolutions-account-chooser{margin-top:10px}.account-chooser-menu.sc-devolutions-account-chooser .current-account__manage.sc-devolutions-account-chooser a.sc-devolutions-account-chooser{align-items:center;color:#0068c3;display:flex;font-size:14px;gap:6px;padding:3px 0}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account__manage.sc-devolutions-account-chooser a.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account__manage.sc-devolutions-account-chooser a.sc-devolutions-account-chooser{color:#3aa3ff}.account-chooser-menu.sc-devolutions-account-chooser .current-account__manage.sc-devolutions-account-chooser a.sc-devolutions-account-chooser>span.sc-devolutions-account-chooser{text-decoration:underline transparent;transition:text-decoration 300ms}.account-chooser-menu.sc-devolutions-account-chooser .current-account__manage.sc-devolutions-account-chooser a.sc-devolutions-account-chooser:hover>span.sc-devolutions-account-chooser{text-decoration:underline}.account-chooser-menu.sc-devolutions-account-chooser .current-account__manage.sc-devolutions-account-chooser a.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{font-size:14px}.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-language-menu.sc-devolutions-account-chooser{margin-left:auto}.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser i.dvl-icon-filter-down.sc-devolutions-account-chooser{font-size:14px}.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser .icon-language.sc-devolutions-account-chooser{display:flex;position:relative;width:29px}.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:hover .overlay-icon.sc-devolutions-account-chooser,.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:focus .overlay-icon.sc-devolutions-account-chooser,.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:active .overlay-icon.sc-devolutions-account-chooser{background-color:#eeeeee}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:hover .overlay-icon.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:hover .overlay-icon.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:focus .overlay-icon.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:focus .overlay-icon.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:active .overlay-icon.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:active .overlay-icon.sc-devolutions-account-chooser{background-color:#333333}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:hover .overlay-icon.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:hover .overlay-icon.modern-theme.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:focus .overlay-icon.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:focus .overlay-icon.modern-theme.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:active .overlay-icon.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser:active .overlay-icon.modern-theme.sc-devolutions-account-chooser{background-color:transparent}.account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser .overlay-icon.sc-devolutions-account-chooser{align-items:center;background-color:white;border-radius:4px;display:flex;font-size:12px;font-variant:all-petite-caps;font-weight:600;height:11px;justify-content:center;left:-11px;padding:0 2px;position:relative;top:14px;z-index:2}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser .overlay-icon.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser .overlay-icon.sc-devolutions-account-chooser{background-color:#1f1f1f}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser .overlay-icon.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .current-account.sc-devolutions-account-chooser dvl-button.sc-devolutions-account-chooser .overlay-icon.modern-theme.sc-devolutions-account-chooser{background-color:#161B26}.account-chooser-menu.sc-devolutions-account-chooser .verification-banner.sc-devolutions-account-chooser{padding:10px 16px;background-color:#fffbe7;border-left:3px solid #ffda23;margin-bottom:16px;animation:fade-in-animation 300ms ease-in-out}.account-chooser-menu.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser{display:flex;align-items:center;gap:8px;font-size:12px;color:#424242}.account-chooser-menu.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{font-size:14px;color:#ffda23;flex-shrink:0}.account-chooser-menu.sc-devolutions-account-chooser .verification-banner__text.sc-devolutions-account-chooser{display:flex;flex-direction:column;gap:4px}.account-chooser-menu.sc-devolutions-account-chooser .verification-banner__text.sc-devolutions-account-chooser span.sc-devolutions-account-chooser{line-height:1.4}.account-chooser-menu.sc-devolutions-account-chooser .verification-banner__link.sc-devolutions-account-chooser{color:#0068c3;font-size:12px;text-decoration:underline transparent;transition:text-decoration 300ms;width:fit-content}.account-chooser-menu.sc-devolutions-account-chooser .verification-banner__link.sc-devolutions-account-chooser:hover{text-decoration:underline}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner__link.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner__link.sc-devolutions-account-chooser{color:#3aa3ff}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.sc-devolutions-account-chooser{background-color:rgba(251, 209, 0, 0.1);border-left-color:#fbd100}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser{color:#e0e0e0}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser i.sc-devolu
28tions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{color:#fbd100}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.modern-theme.sc-devolutions-account-chooser{background-color:rgba(251, 209, 0, 0.08);border-left-color:#fbd100}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.modern-theme.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser i.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .verification-banner.modern-theme.sc-devolutions-account-chooser .verification-banner__content.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{color:#fbd100}.account-chooser-menu.sc-devolutions-account-chooser .settings.sc-devolutions-account-chooser{display:flex;flex-direction:column;margin:5px 0}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .settings.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .settings.sc-devolutions-account-chooser{border-bottom-color:#333333}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .settings.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .settings.modern-theme.sc-devolutions-account-chooser{border-bottom-color:rgba(58, 163, 255, 0.1)}.account-chooser-menu.sc-devolutions-account-chooser .settings.sc-devolutions-account-chooser dvl-selector-button.sc-devolutions-account-chooser{align-self:center;padding:10px 0 10px 0;width:100%}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser{border-bottom:1px solid #e0e0e0;display:flex;flex-direction:column;margin-top:16px;overflow:hidden;transition:max-height 300ms ease-out}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--overflowed.sc-devolutions-account-chooser::-webkit-scrollbar{width:12px;background-color:transparent}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--overflowed.sc-devolutions-account-chooser::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#e0e0e0;border-radius:8px;border:3px solid transparent;cursor:pointer}.dark-theme.sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts--overflowed.sc-devolutions-account-chooser::-webkit-scrollbar-thumb,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts--overflowed.sc-devolutions-account-chooser::-webkit-scrollbar-thumb,[data-theme=dark].sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts--overflowed.sc-devolutions-account-chooser::-webkit-scrollbar-thumb,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts--overflowed.sc-devolutions-account-chooser::-webkit-scrollbar-thumb{background-color:#333333}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--overflowed.sc-devolutions-account-chooser{max-height:353px;overflow:auto}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--loaded-1.sc-devolutions-account-chooser{max-height:78px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--loaded-2.sc-devolutions-account-chooser{max-height:136px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--loaded-3.sc-devolutions-account-chooser{max-height:194px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--loaded-4.sc-devolutions-account-chooser{max-height:252px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--loaded-5.sc-devolutions-account-chooser{max-height:310px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts--loaded-6.sc-devolutions-account-chooser{max-height:368px}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser{border-bottom-color:#525252}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.modern-theme.sc-devolutions-account-chooser{border-bottom-color:rgba(58, 163, 255, 0.1)}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser,.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser{align-items:center;color:#424242;cursor:pointer;display:flex;height:58px;padding:12px 16px;transition:background-color 300ms, border-color 300ms}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser:not(:last-child),.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:not(:last-child){border-bottom:1px solid #eeeeee}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser{border-bottom-color:#333333;color:#e0e0e0}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.modern-theme.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .modern-theme.new-account.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.modern-theme.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .modern-theme.new-account.sc-devolutions-account-chooser{border-bottom-color:rgba(58, 163, 255, 0.1)}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser:not(:first-child),.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:not(:first-child){height:59px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser:hover,.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:hover{background-color:#f5f5f5}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser:hover,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:hover,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser:hover,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:hover{background-color:#333333}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser:hover.modern-theme,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:hover.modern-theme,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account.sc-devolutions-account-chooser:hover.modern-theme,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:hover.modern-theme{background-color:rgba(85, 186, 255, 0.15)}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account__picture.sc-devolutions-account-chooser{height:34px;margin-right:16px;width:34px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account__picture.sc-devolutions-account-chooser img.sc-devolutions-account-chooser{border-radius:50%;height:34px;width:34px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account__content.sc-devolutions-account-chooser{font-size:14px;line-height:1.4}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account__fullname.sc-devolutions-account-chooser{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account__username.sc-devolutions-account-chooser{color:#757575;font-size:12px;font-weight:400}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account__username.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .account__username.sc-devolutions-account-chooser{color:#999999}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser{border-bottom:none}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__picture.sc-devolutions-account-chooser{align-items:center;display:flex;justify-content:center}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__picture.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{font-size:34px}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__content.sc-devolutions-account-chooser,.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__picture.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{color:#0068c3;line-height:1}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__content.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__content.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__picture.sc-devolutions-account-chooser i.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser .account__picture.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{color:#3aa3ff}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:only-child{padding:12px 12px;animation:fade-in-animation 300ms ease-out}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:only-child .account__content.sc-devolutions-account-chooser,.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:only-child .account__picture.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{color:#757575}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:only-child .account__content.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:only-child .account__content.sc-devolutions-account-chooser,.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:only-child .account__picture.sc-devolutions-account-chooser i.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .new-account.sc-devolutions-account-chooser:only-child .account__picture.sc-devolutions-account-chooser i.sc-devolutions-account-chooser{color:#e0e0e0}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .accounts-loading.sc-devolutions-account-chooser{height:58px;padding:12px 36px;
28display:flex;justify-content:center}.account-chooser-menu.sc-devolutions-account-chooser .other-accounts.sc-devolutions-account-chooser .accounts-loading.sc-devolutions-account-chooser .loader.sc-devolutions-account-chooser{width:34px;height:34px}.account-chooser-menu.sc-devolutions-account-chooser .footer.sc-devolutions-account-chooser{background-color:inherit;align-items:center;display:flex;flex-direction:column;padding-top:10px}.account-chooser-menu.sc-devolutions-account-chooser .footer.sc-devolutions-account-chooser .legal.sc-devolutions-account-chooser{color:#424242;display:block;font-size:12px;margin-top:16px;padding:0 8px;transition:text-decoration 300ms;text-decoration:underline transparent;text-align:center}.dark-theme .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .footer.sc-devolutions-account-chooser .legal.sc-devolutions-account-chooser,[data-theme=dark] .sc-devolutions-account-chooser-h .account-chooser-menu.sc-devolutions-account-chooser .footer.sc-devolutions-account-chooser .legal.sc-devolutions-account-chooser{color:#e0e0e0}.account-chooser-menu.sc-devolutions-account-chooser .footer.sc-devolutions-account-chooser .legal.sc-devolutions-account-chooser:hover{text-decoration:underline}.account-chooser-menu.sc-devolutions-account-chooser .title.sc-devolutions-account-chooser{font-size:14px;font-weight:600;line-height:1.4}`}},[262,`devolutions-account-chooser`,{identity:[16],manageAccountUrl:[1,`manage-account-url`],supportedLanguages:[16],logoffRedirectUrlOverrideToCurrentRoute:[4,`logoff-redirect-url-override-to-current-route`],useModernTheme:[4,`use-modern-theme`],theme:[1025],locale:[1025],accounts:[32],currentUser:[32],listAccountsReceived:[32],listAccountsTimedOut:[32],translations:[32],languageOptions:[32],currentLanguageIndex:[32],mediaWidth:[32],loadAccounts:[64]},[[9,`resize`,`onResize`]],{locale:[{localeChanged:0}],supportedLanguages:[{supportedLanguagesChanged:0}],theme:[{themeChanged:0}],identity:[{bindIdentity:0}]}]),ba=function(){typeof customElements<`u`&&[`devolutions-account-chooser`,`dvl-button`,`dvl-language-menu`,`dvl-selector-button`].forEach((e=>{switch(e){case`devolutions-account-chooser`:customElements.get(H(e))||customElements.define(H(e),ya);break;case`dvl-button`:customElements.get(H(e))||qr();break;case`dvl-language-menu`:customElements.get(H(e))||ca();break;case`dvl-selector-button`:customElements.get(H(e))||ua()}}))};function xa(e,t){return function(){return e.apply(t,arguments)}}var{toString:Sa}=Object.prototype,{getPrototypeOf:Ca}=Object,{iterator:wa,toStringTag:Ta}=Symbol,Ea=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Da=(e,t)=>{let n=e,r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Ea(n,t))return!0;n=Ca(n)}return!1},Oa=(e,t)=>e!=null&&Da(e,t)?e[t]:void 0,ka=(e=>t=>{let n=Sa.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),K=e=>(e=e.toLowerCase(),t=>ka(t)===e),Aa=e=>t=>typeof t===e,{isArray:ja}=Array,Ma=Aa(`undefined`);function Na(e){return e!==null&&!Ma(e)&&e.constructor!==null&&!Ma(e.constructor)&&q(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Pa=K(`ArrayBuffer`);function Fa(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pa(e.buffer),t}var Ia=Aa(`string`),q=Aa(`function`),La=Aa(`number`),Ra=e=>typeof e==`object`&&!!e,za=e=>e===!0||e===!1,Ba=e=>{if(!Ra(e))return!1;let t=Ca(e);return(t===null||t===Object.prototype||Ca(t)===null)&&!Da(e,Ta)&&!Da(e,wa)},Va=e=>{if(!Ra(e)||Na(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Ha=K(`Date`),Ua=K(`File`),Wa=e=>!!(e&&e.uri!==void 0),Ga=e=>e&&e.getParts!==void 0,Ka=K(`Blob`),qa=K(`FileList`),Ja=e=>Ra(e)&&q(e.pipe);function Ya(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var Xa=Ya(),Za=Xa.FormData===void 0?void 0:Xa.FormData,Qa=e=>{if(!e)return!1;if(Za&&e instanceof Za)return!0;let t=Ca(e);if(!t||t===Object.prototype||!q(e.append))return!1;let n=ka(e);return n===`formdata`||n===`object`&&q(e.toString)&&e.toString()===`[object FormData]`},$a=K(`URLSearchParams`),[eo,to,no,ro]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(K),io=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function ao(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),ja(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Na(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function oo(e,t){if(Na(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-->0;)if(i=n[r],t===i.toLowerCase())return i;return null}var so=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,co=e=>!Ma(e)&&e!==so;function lo(...e){let{caseless:t,skipUndefined:n}=co(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&oo(r,i)||i,o=Ea(r,a)?r[a]:void 0;Ba(o)&&Ba(e)?r[a]=lo(o,e):Ba(e)?r[a]=lo({},e):ja(e)?r[a]=e.slice():(!n||!Ma(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n||Na(n)||(ao(n,i),typeof n!=`object`||ja(n)))continue;let r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){let t=r[e];So.call(n,t)&&i(n[t],t)}}return r}var uo=(e,t,n,{allOwnKeys:r}={})=>(ao(t,(t,r)=>{n&&q(t)?Object.defineProperty(e,r,{__proto__:null,value:xa(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),fo=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),po=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
28configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},mo=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Ca(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ho=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},go=e=>{if(!e)return null;if(ja(e))return e;let t=e.length;if(!La(t))return null;let n=Array(t);for(;t-->0;)n[t]=e[t];return n},_o=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&Ca(Uint8Array)),vo=(e,t)=>{let n=(e&&e[wa]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},yo=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},bo=K(`HTMLFormElement`),xo=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:So}=Object.prototype,Co=K(`RegExp`),wo=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};ao(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},To=e=>{wo(e,(t,n)=>{if(q(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(q(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},Eo=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return ja(e)?r(e):r(String(e).split(t)),n},Do=()=>{},Oo=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ko(e){return!!(e&&q(e.append)&&e[Ta]===`FormData`&&e[wa])}var Ao=e=>{let t=new WeakSet,n=e=>{if(Ra(e)){if(t.has(e))return;if(Na(e))return e;if(!(`toJSON`in e)){t.add(e);let r=ja(e)?[]:{};return ao(e,(e,t)=>{let i=n(e);!Ma(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},jo=K(`AsyncFunction`),Mo=e=>e&&(Ra(e)||q(e))&&q(e.then)&&q(e.catch),No=((e,t)=>e?setImmediate:t?((e,t)=>(so.addEventListener(`message`,({source:n,data:r})=>{n===so&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),so.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,q(so.postMessage)),Po=typeof queueMicrotask<`u`?queueMicrotask.bind(so):typeof process<`u`&&process.nextTick||No,Fo=e=>e!=null&&q(e[wa]),J={isArray:ja,isArrayBuffer:Pa,isBuffer:Na,isFormData:Qa,isArrayBufferView:Fa,isString:Ia,isNumber:La,isBoolean:za,isObject:Ra,isPlainObject:Ba,isEmptyObject:Va,isReadableStream:eo,isRequest:to,isResponse:no,isHeaders:ro,isUndefined:Ma,isDate:Ha,isFile:Ua,isReactNativeBlob:Wa,isReactNative:Ga,isBlob:Ka,isRegExp:Co,isFunction:q,isStream:Ja,isURLSearchParams:$a,isTypedArray:_o,isFileList:qa,forEach:ao,merge:lo,extend:uo,trim:io,stripBOM:fo,inherits:po,toFlatObject:mo,kindOf:ka,kindOfTest:K,endsWith:ho,toArray:go,forEachEntry:vo,matchAll:yo,isHTMLForm:bo,hasOwnProperty:Ea,hasOwnProp:Ea,hasOwnInPrototypeChain:Da,getSafeProp:Oa,reduceDescriptors:wo,freezeMethods:To,toObjectSet:Eo,toCamelCase:xo,noop:Do,toFiniteNumber:Oo,findKey:oo,global:so,isContextDefined:co,isSpecCompliantForm:ko,toJSONObject:Ao,isAsyncFn:jo,isThenable:Mo,setImmediate:No,asap:Po,isIterable:Fo,isSafeIterable:e=>e!=null&&Da(e,wa)&&Fo(e)},Io=J.toObjectSet([`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`]),Lo=e=>{let t={},n,r,i;return e&&e.split(`
29`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Io[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};function Ro(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var zo=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),Bo=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function Vo(e,t){return J.isArray(e)?e.map(e=>Vo(e,t)):Ro(String(e).replace(t,``))}var Ho=e=>Vo(e,zo),Uo=e=>Vo(e,Bo);function Wo(e){let t=Object.create(null);return J.forEach(e.toJSON(),(e,n)=>{t[n]=Uo(e)}),t}var Go=Symbol(`internals`);function Ko(e){return e&&String(e).trim().toLowerCase()}function qo(e){return e===!1||e==null?e:J.isArray(e)?e.map(qo):Ho(String(e))}function Jo(e){let t=Object.create(null),n=/([^\s,;
29=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var Yo=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Xo(e,t,n,r,i){if(J.isFunction(r))return r.call(this,t,n);if(i&&(t=n),J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function Zo(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function Qo(e,t){let n=J.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var Y=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=Ko(t);if(!i)return;let a=J.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=qo(e))}let a=(e,t)=>J.forEach(e,(e,n)=>i(e,n,t));if(J.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(J.isString(e)&&(e=e.trim())&&!Yo(e))a(Lo(e),t);else if(J.isObject(e)&&J.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!J.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],J.hasOwnProp(n,i)?(r=n[i],n[i]=J.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=Ko(e),e){let n=J.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return Jo(e);if(J.isFunction(t))return t.call(this,e,n);if(J.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=Ko(e),e){let n=J.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||Xo(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=Ko(e),e){let i=J.findKey(n,e);i&&(!t||Xo(n,n[i],i,t))&&(delete n[i],r=!0)}}return J.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||Xo(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return J.forEach(this,(r,i)=>{let a=J.findKey(n,i);if(a){t[a]=qo(r),delete t[i];return}let o=e?Zo(i):String(i).trim();o!==i&&delete t[i],t[o]=qo(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return J.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&J.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
30`)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[Go]=this[Go]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=Ko(e);t[r]||(Qo(n,e),t[r]=!0)}return J.isArray(e)?e.forEach(r):r(e),this}};Y.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),J.reduceDescriptors(Y.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),J.freezeMethods(Y);var $o=`[REDACTED ****]`;function es(e){if(J.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(J.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function ts(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||J.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof Y&&(e=e.toJSON()),r.push(e);let t;if(J.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);J.isUndefined(r)||(t[n]=r)});else{if(!J.isPlainObject(e)&&es(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?$o:i(a);J.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}var X=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&J.hasOwnProp(e,`redact`)?e.redact:void 0,n=J.isArray(t)&&t.length>0?ts(e,t):J.toJSONObject(e);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:n,code:this.code,status:this.status}}};X.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,X.ERR_BAD_OPTION=`ERR_BAD_OPTION`,X.ECONNABORTED=`ECONNABORTED`,X.ETIMEDOUT=`ETIMEDOUT`,X.ECONNREFUSED=`ECONNREFUSED`,X.ERR_NETWORK=`E
30RR_NETWORK`,X.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,X.ERR_DEPRECATED=`ERR_DEPRECATED`,X.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,X.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,X.ERR_CANCELED=`ERR_CANCELED`,X.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,X.ERR_INVALID_URL=`ERR_INVALID_URL`,X.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function ns(e){return J.isPlainObject(e)||J.isArray(e)}function rs(e){return J.endsWith(e,`[]`)?e.slice(0,-2):e}function is(e,t,n){return e?e.concat(t).map(function(e,t){return e=rs(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function as(e){return J.isArray(e)&&!e.some(ns)}var os=J.toFlatObject(J,{},null,function(e){return/^is[A-Z]/.test(e)});function ss(e,t,n){if(!J.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!J.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||m,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&J.isSpecCompliantForm(t),u=[];if(!J.isFunction(i))throw TypeError(`visitor must be a function`);function d(e){if(e===null)return``;if(J.isDate(e))return e.toISOString();if(J.isBoolean(e))return e.toString();if(!l&&J.isBlob(e))throw new X(`Blob is not supported. Use a Buffer instead.`);if(J.isArrayBuffer(e)||J.isTypedArray(e)){if(l&&typeof s==`function`)return new s([e]);if(typeof Buffer<`u`)return Buffer.from(e);throw new X(`Blob is not supported. Use a Buffer instead.`,X.ERR_NOT_SUPPORT)}return e}function f(e){if(e>c)throw new X(`Object is too deeply nested (`+e+` levels). Max depth: `+c,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(c===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!J.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),f(t+n.length-1),r})}function m(e,n,i){let s=e;if(J.isReactNative(t)&&J.isReactNativeBlob(e))return t.append(is(i,n,a),d(e)),!1;if(e&&!i&&typeof e==`object`){if(J.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=p(e,1);else if(J.isArray(e)&&as(e)||(J.isFileList(e)||J.endsWith(n,`[]`))&&(s=J.toArray(e)))return n=rs(n),s.forEac
30h(function(e,r){!(J.isUndefined(e)||e===null)&&t.append(o===!0?is([n],r,a):o===null?n:n+`[]`,d(e))}),!1}return ns(e)?!0:(t.append(is(i,n,a),d(e)),!1)}let h=Object.assign(os,{defaultVisitor:m,convertValue:d,isVisitable:ns});function g(e,n,r=0){if(!J.isUndefined(e)){if(f(r),u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),J.forEach(e,function(e,a){(!(J.isUndefined(e)||e===null)&&i.call(t,e,J.isString(a)?a.trim():a,n,h))===!0&&g(e,n?n.concat(a):[a],r+1)}),u.pop()}}if(!J.isObject(e))throw TypeError(`data must be an object`);return g(e),t}function cs(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function ls(e,t){this._pairs=[],e&&ss(e,this,t)}var us=ls.prototype;us.append=function(e,t){this._pairs.push([e,t])},us.toString=function(e){let t=e?t=>e.call(this,t,cs):cs;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function ds(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function fs(e,t,n){if(!t)return e;e||=``;let r=J.isFunction(n)?{serialize:n}:n,i=J.getSafeProp(r,`encode`)||ds,a=J.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):J.isURLSearchParams(t)?t.toString():new ls(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var ps=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){J.forEach(this.handlers,function(t){t!==null&&e(t)})}},ms={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},hs={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:ls,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},gs=e({hasBrowserEnv:()=>_s,hasStandardBrowserEnv:()=>ys,hasStandardBrowserWebWorkerEnv:()=>bs,navigator:()=>vs,origin:()=>xs}),_s=typeof window<`u`&&typeof document<`u`,vs=typeof navigator==`object`&&navigator||void 0,ys=_s&&(!vs||[`ReactNative`,`NativeScript`,`NS`].indexOf(vs.product)<0),bs=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,xs=_s&&window.location.href||`http://localhost`,Z={...gs,...hs};function Ss(e,t){return ss(e,new Z.classes.URLSearchParams,{visitor:function(e,t,n,r){return Z.isNode&&J.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var Cs=100;function ws(e){if(e>Cs)throw new X(`FormData field is too deeply nested (`+e+` levels). Max depth: `+Cs,X.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Ts(e){let t=[],n=/\w+|\[(\w*)]/g,r;for(;(r=n.exec(e))!==null;)ws(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function Es(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Ds(e){function t(e,n,r,i){ws(i);let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&J.isArray(r)?r.length:a,s?(J.hasOwnProp(r,a)?r[a]=J.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!J.hasOwnProp(r,a)||!J.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&J.isArray(r[a])&&(r[a]=Es(r[a])),!o)}if(J.isFormData(e)&&J.isFunction(e.entries)){let n={};return J.forEachEntry(e,(e,r)=>{t(Ts(e),r,n,0)}),n}return null}var Os=(e,t)=>e!=null&&J.hasOwnProp(e,t)?e[t]:void 0;function ks(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var As={transitional:ms,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=J.isObject(e);if(i&&J.isHTMLForm(e)&&(e=new FormData(e)),J.isFormData(e))return r?JSON.stringify(Ds(e)):e;if(J.isArrayBuffer(e)||J.isBuffer(e)||J.isStream(e)||J.isFile(e)||J.
30isBlob(e)||J.isReadableStream(e))return e;if(J.isArrayBufferView(e))return e.buffer;if(J.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=Os(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return Ss(e,t).toString();if((a=J.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=Os(this,`env`),r=n&&n.FormData;return ss(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),ks(e)):e}],transformResponse:[function(e){let t=Os(this,`transitional`)||As.transitional,n=t&&t.forcedJSONParsing,r=Os(this,`responseType`),i=r===`json`;if(J.isResponse(e)||J.isReadableStream(e))return e;if(e&&J.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,Os(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?X.from(e,X.ERR_BAD_RESPONSE,this,null,Os(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:Z.classes.FormData,Blob:Z.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};J.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`],e=>{As.headers[e]={}});function js(e,t){let n=this||As,r=t||n,i=Y.from(r.headers),a=r.data;return J.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Ms(e){return!!(e&&e.__CANCEL__)}var Ns=class extends X{constructor(e,t,n){super(e??`canceled`,X.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function Ps(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new X(`Request failed with status code `+n.status,n.status>=400&&n.status<500?X.ERR_BAD_REQUEST:X.ERR_BAD_RESPONSE,n.config,n.request,n))}function Fs(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function Is(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function Ls(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var Rs=(e,t,n=3)=>{let r=0,i=Is(50,250);return Ls(n=>{if(!n||typeof n.loaded!=`number`)return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},zs=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Bs=e=>(...t)=>J.asap(()=>e(...t)),Vs=Z.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Z.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Z.origin),Z.navigator&&/(msie|trident)/i.test(Z.navigator.userAgent)):()=>!0,Hs=Z.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];J.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),J.isString(r)&&s.push(`path=${r}`),J.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),J.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function Us(e){return typeof e==`string`&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ws(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}var Gs=/^https?:(?!\/\/)/i,Ks=/[\t\n\r]/g;function qs(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function Js(e){return qs(e).replace(Ks,``)}function Ys(e,t){if(typeof e==`string`&&Gs.test(Js(e)))throw new X(`Invalid URL: missing "//" after protocol`,X.ERR_INVALID_URL,t)}function Xs(e,t,n,r){Ys(t,r);let i=!Us(t);return e&&(i||n===!1)?(Ys(e,r),Ws(e,t)):t}var Zs=e=>e instanceof Y?{...e}:e;function Qs(e,t){e||={},t||={};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return J.isPlainObject(e)&&J.isPlainObject(t)?J.merge.call({caseless:r},e,t):J.isPlainObject(t)?J.merge({},t):J.isArray(t)?t.slice():t}function i(e,t,n,i){if(!J.isUndefined(t))return r(e,t,n,i);if(!J.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!J.isUndefined(t))return r(void 0,t)}function o(e,t){if(!J.isUndefined(t))return r(void 0,t);
30if(!J.isUndefined(e))return r(void 0,e)}function s(n){let r=J.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!J.isUndefined(r))if(J.isPlainObject(r)){if(J.hasOwnProp(r,n))return r[n]}else return;let i=J.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(J.isPlainObject(i)&&J.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(J.hasOwnProp(t,a))return r(n,i);if(J.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(Zs(e),Zs(t),n,!0)};return J.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=J.hasOwnProp(l,r)?l[r]:i,o=a(J.hasOwnProp(e,r)?e[r]:void 0,J.hasOwnProp(t,r)?t[r]:void 0,r);J.isUndefined(o)&&a!==c||(n[r]=o)}),J.hasOwnProp(t,`validateStatus`)&&J.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(J.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.val
30idateStatus),n}var $s=[`content-type`,`content-length`];function ec(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t||{}).forEach(([t,n])=>{$s.includes(t.toLowerCase())&&e.set(t,n)})}var tc=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function nc(e){let t=Qs({},e),n=e=>J.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=Y.from(s),t.url=fs(Xs(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let t=J.getSafeProp(c,`username`)||``,n=J.getSafeProp(c,`password`)||``;try{s.set(`Authorization`,`Basic `+btoa(t+`:`+(n?tc(n):``)))}catch(t){throw X.from(t,X.ERR_BAD_OPTION_VALUE,e)}}if(J.isFormData(r)&&(Z.hasStandardBrowserEnv||Z.hasStandardBrowserWebWorkerEnv||J.isReactNative(r)?s.setContentType(void 0):J.isFunction(r.getHeaders)&&ec(s,r.getHeaders(),n(`formDataHeaderPolicy`))),Z.hasStandardBrowserEnv&&(J.isFunction(i)&&(i=i(t)),i===!0||i==null&&Vs(t.url))){let e=a&&o&&Hs.read(o);e&&s.set(a,e)}return t}var rc=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=nc(e),i=r.data,a=Y.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=Y.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());Ps(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith(`file:`))||setTimeout(g)},h.onabort=function(){h&&=(n(new X(`Request aborted`,X.ECONNABORTED,e,h)),m(),null)},h.onerror=function(t){let r=new X(t&&t.message?t.message:`Network Error`,X.ERR_NETWORK,e,h);r.event=t||null,n(r),m(),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||ms;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new X(t,i.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,h)),m(),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&J.forEach(Wo(a),function(e,t){h.setRequestHeader(t,e)}),J.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=Rs(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=Rs(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new Ns(null,e,h):t),h.abort(),m(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=Fs(r.url);if(_&&!Z.protocols.includes(_)){n(new X(`Unsupported protocol `+_+`:`,X.ERR_BAD_REQUEST,e)),m();return}h.send(i||null)})},ic=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof X?t:new Ns(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new X(`timeout of ${t}ms exceeded`,X.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i,{once:!0}));let{signal:s}=n;return s.unsubscribe=()=>J.asap(o),s},ac=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},oc=async function*(e,t){for await(let n of sc(e))yield*ac(n,t)},sc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},cc=(e,t,n,r)=>{let i=oc(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},lc=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,uc=(e,t,n)=>t+2<n&&lc(e.charCodeAt(t+1))&&lc(e.charCodeAt(t+2));function dc(e){if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let t=e.indexOf(`,`);if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(r.charCodeAt(n)===37&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);lc(t)&&lc(i)&&(e-=2,n+=2)}let n=0,i=t-1,a=e=>e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;
30let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}let i=0;for(let e=0,t=r.length;e<t;e++){let n=r.charCodeAt(e);if(n===37&&uc(r,e,t))i+=1,e+=2;else if(n<128)i+=1;else if(n<2048)i+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=r.charCodeAt(e+1);t>=56320&&t<=57343?(i+=4,e++):i+=3}else i+=3}return i}var fc=`1.18.1`,pc=64*1024,{isFunction:mc}=J,hc=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),gc=e=>{if(!J.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},_c=(e,...t)=>{try{return!!e(...t)}catch{return!1}},vc=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},yc=e=>{let t=J.global!==void 0&&J.global!==null?J.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=J.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?mc(i):typeof fetch==`function`,c=mc(a),l=mc(o);if(!s)return!1;let u=s&&mc(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&_c(()=>{let e=!1,t=new a(Z.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&_c(()=>J.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new X(`Response type '${e}' is not supported`,X.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e))return(await new a(Z.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(J.isArrayBufferView(e)||J.isArrayBuffer(e))return e.byteLength;if(J.isURLSearchParams(e)&&(e+=``),J.isString(e))return(await d(e)).byteLength},g=async(e,t)=>J.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:x,withCredentials:S=`same-origin`,fetchOptions:C,maxContentLength:w,maxBodyLength:T}=nc(e),E=J.isNumber(w)&&w>-1,ee=J.isNumber(T)&&T>-1,te=t=>J.hasOwnProp(e,t)?e[t]:void 0,D=i||fetch;b=b?(b+``).toLowerCase():`text`;let O=ic([l,d&&d.toAbortSignal()],_),k=null,A=O&&O.unsubscribe&&(()=>{O.unsubscribe()}),ne,re=null,ie=()=>new X(`Request body larger than maxBodyLength limit`,X.ERR_BAD_REQUEST,e,k);try{let i,l=te(`auth`);if(l&&(i={username:J.getSafeProp(l,`username`)||``,password:J.getSafeProp(l,`password`)||``}),vc(t)){let e=new URL(t,Z.origin);!i&&(e.username||e.password)&&(i={username:gc(e.username),password:gc(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(x.delete(`authorization`),x.set(`Authorization`,`Basic `+btoa(hc((i.username||``)+`:`+(i.password||``))))),E&&typeof t==`string`&&t.startsWith(`data:`)&&dc(t)>w)throw new X(`maxContentLength size of `+w+` exceeded`,X.ERR_BAD_RESPONSE,e,k);if(ee&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(ne=e,e>T))throw ie()}let d=ee&&(J.isReadableStream(s)||J.isStream(s)),_=(e,t,n)=>cc(e,pc,e=>{if(ee&&e>T)throw re=ie();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(y||d)){if(ne??=await g(x,s),ne!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(J.isFormData(s)&&(n=e.headers.get(`content-type`))&&x.setContentType(n),e.body){let[t,n]=y&&zs(ne,Rs(Bs(y)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new X(`Stream request bodies are not supported by the current fetch implementation`,X.ERR_NOT_SUPPORT,e,k);J.isString(S)||(S=S?`include`:`omit`);let ae=c&&`credentials`in a.prototype;if(J.isFormData(s)){let e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete(`content-type`)}x.set(`User-Agent`,`axios/`+fc,!1);let oe={...C,signal:O,method:n.toUpperCase(),headers:Wo(x.normalize()),body:s,duplex:`half`,credentials:ae?S:void 0};k=c&&new a(t,oe);let j=await(c?D(k,C):D(t,oe)),se=Y.from(j.headers);if(E){let t=J.toFiniteNumber(se.getContentLength());if(t!=null&&t>w)throw new X(`maxContentLength size of `+w+` exceeded`,X.ERR_BAD_RESPONSE,e,k)}let ce=p&&(b===`stream`||b===`response`);if(p&&j.body&&(v||E||ce&&A)){let t={};
30[`status`,`statusText`,`headers`].forEach(e=>{t[e]=j[e]});let n=J.toFiniteNumber(se.getContentLength()),[r,i]=v&&zs(n,Rs(Bs(v),!0))||[],a=0;j=new o(cc(j.body,pc,t=>{if(E&&(a=t,a>w))throw new X(`maxContentLength size of `+w+` exceeded`,X.ERR_BAD_RESPONSE,e,k);r&&r(t)},()=>{i&&i(),A&&A()}),t)}b||=`text`;let M=await m[J.findKey(m,b)||`text`](j,e);if(E&&!p&&!ce){let t;if(M!=null&&(typeof M.byteLength==`number`?t=M.byteLength:typeof M.size==`number`?t=M.size:typeof M==`string`&&(t=typeof r==`function`?new r().encode(M).byteLength:M.length)),typeof t==`number`&&t>w)throw new X(`maxContentLength size of `+w+` exceeded`,X.ERR_BAD_RESPONSE,e,k)}return!ce&&A&&A(),await new Promise((t,n)=>{Ps(t,n,{data:M,headers:Y.from(j.headers),status:j.status,statusText:j.statusText,config:e,request:k})})}catch(t){if(A&&A(),O&&O.aborted&&O.reason instanceof X){let n=O.reason;throw n.config=e,k&&(n.request=k),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(re)throw k&&!re.request&&(re.request=k),re;if(t instanceof X)throw k&&!t.request&&(t.request=k),t;if(t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)){let n=new X(`Network Error`,X.ERR_NETWORK,e,k,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw X.from(t,t&&t.code,e,k,t&&t.response)}}},bc=new Map,xc=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=bc;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:yc(t)),l=c;return c};xc();var Sc={http:null,xhr:rc,fetch:{get:xc}};J.forEach(Sc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Cc=e=>`- ${e}`,wc=e=>J.isFunction(e)||e===null||e===!1;function Tc(e,t){e=J.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!wc(r)&&(i=Sc[(n=String(r)).toLowerCase()],i===void 0))throw new X(`Unknown adapter '${n}'`);if(i&&(J.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new X(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
31`+e.map(Cc).join(`
32`):` `+Cc(e[0]):`as no adapter specified`),X.ERR_NOT_SUPPORT)}return i}var Ec={getAdapter:Tc,adapters:Sc};function Dc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ns(null,e)}function Oc(e){return Dc(e),e.headers=Y.from(e.headers),e.data=js.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),Ec.getAdapter(e.adapter||As.adapter,e)(e).then(function(t){Dc(e),e.response=t;try{t.data=js.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Y.from(t.headers),t},function(t){if(!Ms(t)&&(Dc(e),t&&t.response)){e.response=t.response;try{t.response.data=js.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Y.from(t.response.headers)}return Promise.reject(t)})}var kc={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{kc[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var Ac={};kc.transitional=function(e,t,n){function r(e,t){return`[Axios v`+fc+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new X(r(i,` has been removed`+(t?` in `+t:``)),X.ERR_DEPRECATED);return t&&!Ac[i]&&(Ac[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),!e||e(n,i,a)}},kc.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function jc(e,t,n){if(typeof e!=`object`||!e)throw new X(`options must be an object`,X.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-->0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new X(`option `+a+` must be `+n,X.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new X(`Unknown option `+a,X.ERR_BAD_OPTION)}}var Mc={assertOptions:jc,validators:kc},Q=Mc.validators,Nc=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ps,response:new ps}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>
32{if(!t.stack)return``;let e=t.stack.indexOf(`
33`);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
34`),r=t===-1?-1:n.indexOf(`
35`,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
36`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Qs(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&Mc.assertOptions(n,{silentJSONParsing:Q.transitional(Q.boolean),forcedJSONParsing:Q.transitional(Q.boolean),clarifyTimeoutError:Q.transitional(Q.boolean),legacyInterceptorReqResOrdering:Q.transitional(Q.boolean),advertiseZstdAcceptEncoding:Q.transitional(Q.boolean),validateStatusUndefinedResolves:Q.transitional(Q.boolean)},!1),r!=null&&(J.isFunction(r)?t.paramsSerializer={serialize:r}:Mc.assertOptions(r,{encode:Q.function,serialize:Q.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),Mc.assertOptions(t,{baseUrl:Q.spelling(`baseURL`),withXsrfToken:Q.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&J.merge(i.common,i[t.method]);i&&J.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=Y.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||ms;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[Oc.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=Oc.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Qs(this.defaults,e),fs(Xs(e.baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};J.forEach([`delete`,`get`,`head`,`options`],function(e){Nc.prototype[e]=function(t,n){return this.request(Qs(n||{},{method:e,url:t,data:n&&J.hasOwnProp(n,`data`)?n.data:void 0}))}}),J.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(Qs(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}Nc.prototype[e]=t(),e!==`query`&&(Nc.prototype[e+`Form`]=t(!0))});var Pc=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-->0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Ns(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function Fc(e){return function(t){return e.apply(null,t)}}function Ic(e){return J.isObject(e)&&e.isAxiosError===!0}var Lc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
36alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Lc).forEach(([e,t])=>{Lc[t]=e});function Rc(e){let t=new Nc(e),n=xa(Nc.prototype.request,t);return J.extend(n,Nc.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Rc(Qs(e,t))},n}var $=Rc(As);$.Axios=Nc,$.CanceledError=Ns,$.CancelToken=Pc,$.isCancel=Ms,$.VERSION=fc,$.toFormData=ss,$.AxiosError=X,$.Cancel=$.CanceledError,$.all=function(e){return Promise.all(e)},$.spread=Fc,$.isAxiosError=Ic,$.mergeConfig=Qs,$.AxiosHeaders=Y,$.formToJSON=e=>Ds(J.isHTMLForm(e)?new FormData(e):e),$.getAdapter=Ec.getAdapter,$.HttpStatusCode=Lc,$.default=$;var zc=Object.create,Bc=Object.defineProperty,Vc=Object.getOwnPropertyDescriptor,Hc=Object.getOwnPropertyNames,Uc=Object.getPrototypeOf,Wc=Object.prototype.hasOwnProperty,Gc=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),Kc=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Hc(t),a=0,o=i.length,s;a<o;a++)s=i[a],!Wc.call(e,s)&&s!==n&&Bc(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Vc(t,s))||r.enumerable});return e},qc=(e,t,n)=>(n=e==null?{}:zc(Uc(e)),Kc(t||!e||!e.__esModule?Bc(n,`default`,{value:e,enumerable:!0}):n,e)),Jc=[`/api/v1/identity`];function Yc(e,t){return e?t.some(t=>e.includes(t)):!1}function Xc(e,t,n={}){let r=n.includePaths??Jc,i=n.renewOn401??!0,a=e.interceptors.request.use(async e=>{if(Yc(e.url,r)){let n=await t.getAccessToken();n&&e.headers.set(`Authorization`,`Bearer ${n}`)}return e}),o=e.interceptors.response.use(e=>e,async n=>{let a=n?.config,o=n?.response?.status;return i&&o===401&&a&&!a._lucidRetried&&Yc(a.url,r)&&t.renewToken?(a._lucidRetried=!0,await t.renewToken(),e.request(a)):Promise.reject(n)});return()=>{e.interceptors.request.eject(a),e.interceptors.response.eject(o)}}function Zc(e,t={}){let{includePaths:n,renewOn401:r,...i}=t,a=$.create(i);return Xc(a,e,{includePaths:n,renewOn401:r}),a}var Qc=qc(Gc(((e,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}}))(),1),$c=class extends Error{};$c.prototype.name=`InvalidTokenError`;function el(e){return decodeURIComponent(atob(e).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n=`0`+n),`%`+n}))}function tl(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);switch(t.length%4){case 0:break;case 2:t+=`==`;break;case 3:t+=`=`;break;default:throw Error(`base64 string is not of the correct length`)}try{return el(t)}catch{return atob(t)}}function nl(e,t){if(typeof e!=`string`)throw new $c(`Invalid token specified: must be a string`);t||={};let n=t.header===!0?0:1,r=e.split(`.`)[n];if(typeof r!=`string`)throw new $c(`Invalid token specified: missing part #${n+1}`);let i;try{i=tl(r)}
36catch(e){throw new $c(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(i)}catch(e){throw new $c(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}var rl={listLoggedAccounts:`/api/v1/identity/list-logged-accounts`},il={token:`/auth/token`,switchAccount:(e,t)=>`/auth/identity/switch-account/${encodeURIComponent(e)}/${encodeURIComponent(t)}`};function al(e){let t=[];for(let n of Object.keys(e)){let r=e[n];r&&t.push(`${encodeURIComponent(n)}=${encodeURIComponent(String(r))}`)}return t.join(`&`)}async function ol(e){return(await e.get(rl.listLoggedAccounts)).data}async function sl(e,t){return(await e.post(il.token,al({...t}),{headers:{"Content-Type":`application/x-www-form-urlencoded`}})).data}var cl=class{http;apiRootUrl;constructor(e,t){this.http=e,this.apiRootUrl=t.apiRootUrl.replace(/\/$/,``)}listAccounts(){return ol(this.http)}switchAccount(e,t,n,r){let i=document.createElement(`form`);i.method=`POST`,i.action=`${this.apiRootUrl}${il.switchAccount(e,t)}`;let a=document.createElement(`input`);a.type=`hidden`,a.name=`token`,a.value=n;let o=document.createElement(`input`);o.type=`hidden`,o.name=`redirect_uri`,o.value=r,i.appendChild(a),i.appendChild(o),document.body.appendChild(i),i.submit()}},ll=[`openid`,`profile`,`email`],ul={prod:`https://login.devolutions.com`,production:`https://login.devolutions.com`,staging:`https://login.devolutions.xyz`,local:`http://localhost:4242`};function dl(e){return ul[e.environment]?ul[e.environment]:e.environment.replace(/\/$/,``)}function fl(e){if(!e)return ll.join(` `);let t=typeof e==`string`?e.split(` `):e;return ll.concat(t).filter((e,t,n)=>t===n.indexOf(e)).join(` `)}function pl(e){let t={response_mode:`fragment`};return typeof e.organizationId==`string`&&(t.org_id=e.organizationId),typeof e.skipLoginToProvider==`boolean`&&(t.skip_to_provider=e.skipLoginToProvider),typeof e.enforceOrganization==`boolean`&&(t.enforce_org=e.enforceOrganization),typeof e.enforceProvider==`boolean`&&(t.enforce_provider=e.enforceProvider),t}function ml(e){let t=dl(e),n=e.clientBaseUrl.replace(/\/$/,``),r=pl(e),i={authority:t,client_id:e.clientId,redirect_uri:e.redirectUri??n,silent_redirect_uri:e.silentRedirectUri??n,post_logout_redirect_uri:e.postLogoutRedirectUri??n,scope:fl(e.scopes),response_type:`code`,response_mode:`fragment`,automaticSilentRenew:!e.disableTokenAutoRenew,monitorSession:!1,loadUserInfo:!1,filterProtocolClaims:!0,extraQueryParams:r,extraTokenParams:r};return{environmentUrl:t,apiRootUrl:t,storage:e.tokenStorage??`session`,masterKeyLessEnabled:e.masterKeyLessEnabled??!1,organizationId:e.organizationId,clientId:e.clientId,clientBaseUrl:n,logLevel:e.logLevel,userManagerSettings:i}}var hl=class{handlers=new Map;on(e,t){let n=this.handlers.get(e),r=n??new Set;return n||this.handlers.set(e,r),r.add(t),()=>{r.delete(t)}}emit(e,t){let n=this.handlers.get(e);if(n)for(let e of[...n])e(t)}clear(){this.handlers.clear()}},gl=`3 2 1 0`;function _l(e,t){let n={};return e?(e.prompt&&(e.prompt===`select_account`&&e.loginHint?n.prompt=`login`:n.prompt=e.prompt),e.loginHint&&e.loginHint.length>0&&(n.login_hint=e.loginHint),e.checkFor2fa&&(n.acr_values=gl),e.publicKey&&t.masterKeyLessEnabled&&(n.public_key=e.publicKey),e.orgId?n.org_id=e.orgId:t.organizationId&&(n.org_id=t.organizationId),e.lockContext&&(n.lock_context=e.lockContext),e.mfa&&(n.mfa=e.mfa),e.acrValues&&(n.acr_values=e.acrValues),e.skipToProvider&&(n.skip_to_provider=e.skipToProvider),e.enforceOrg&&(n.enforce_org=e.enforceOrg),e.enforceProvider&&(n.enforce_provider=e.enforceProvider),e.promptNumberMatching&&(n.prompt_number_matching=e.promptNumberMatching),e.enforceMfaConfiguration&&(n.enforce_mfa_configuration=e.enforceMfaConfiguration),e.useEncryptionService&&(n.use_encryption_service=!0),n):(t.organizationId&&(n.org_id=t.organizationId),n)}var vl=e=>new Promise(t=>setTimeout(t,e));async function yl(e,t){let n;for(let r=0;r<=t.count;r++)try{return await e()}catch(e){n=e,r<t.count&&await vl(t.delayMs)}throw n}var bl=`OBO`,xl=class{http;clientId;timer=null;refreshedHandlers=new Set;errorHandlers=new Set;constructor(e){this.http=e.http,this.clientId=e.clientId}get active(){return this.getData()!==null}start(e){return this.refresh(e)}async refresh(e){let t=this.getData(),n=await sl(this.http,{grant_type:`on_behalf_of`,client_id:this.clientId,refresh_token:t?.refresh_token,access_token:e});sessionStorage.setItem(bl,JSON.stringify(n)),this.scheduleRefresh(n.expires_in);for(let e of[...this.refreshedHandlers])e(n);return n}getData(){let e=sessionStorage.getItem(bl);return e?JSON.parse(e):null}getAccessToken(){return this.getData()?.access_token??null}onRefreshed(e){return this.refreshedHandlers.add(e),()=>{this.refreshedHandlers.delete(e)}}onError(e){return this.errorHandlers.add(e),()=>{this.errorHandlers.delete(e)}}stop(){this.clearTimer(),sessionStorage.removeItem(bl)}dispose(){this.clearTimer(),this.refreshedHandlers.clear(),this.errorHandlers.clear()}scheduleRefresh(e){this.clearTimer();let t=e/2*1e3;this.timer=setInterval(()=>{yl(()=>this.refresh(),{count:3,delayMs:2e3}).catch(e=>{this.clearTimer();for(let t of[...this.errorHandlers])t(e)})},t)}clearTimer(){this.timer!==null&&(clearInterval(this.timer),this.timer=null)}},Sl={None:0,Debug:1,Warn:2,Error:3},Cl={[Sl.None]:r.NONE,[Sl.Error]:r.ERROR,[Sl.Warn]:r.WARN,[Sl.Debug]:r.DEBUG},wl=class{manager;constructor(e,i,a=Sl.None){r.setLogger(console),r.setLevel(Cl[a]??r.NONE);let o=i===`session`?sessionStorage:localStorage;this.manager=new t({...e,userStore:new n({store:o}),stateStore:new n({store:o})})}getUser(){return this.manager.getUser()}signinRedirect(e={}){return this.manager.signinRedirect(e)}signinRedirectCallback(e){return this.manager.signinRedirectCallback(e)}signinSilent(){return this.manager.signinSilent()}signoutRedirect(e={}){return this.manager.signoutRedirect(e)}removeUser(){return this.manager.removeUser()}isCallback(e){let t=(e??(typeof window<`u`?window.location.href:``)).replace(/^[^?#]*/,``);return/[?#].*\bcode=/.test(t)&&/\bstate=/.test(t)}onUserLoaded(e){return this.manager.events.addUserLoaded(e),()=>this.manager.events.removeUserLoaded(e)}onSilentRenewError(e){return this.manager.events.addSilentRenewError(e),()=>this.manager.events.removeSilentRenewError(e)}dispose(){}},Tl=class e{idToken;accessToken;refreshToken;currentSessionId;authenticatedAt;fullName;usedMfaOnLogin;email;username;locale=`en-US`;theme=`System`;userId;privateKey;firstName;lastName;picture;emailVerified=!1;phoneNumber;phoneNumberVerified=!1;address;organizationId;providerId;dateFormat;acr;constructor(t,n,r,i,a){this.idToken=n,this.accessToken=i,this.refreshToken=a,this.currentSessionId=r?.sid,this.authenticatedAt=r?.auth_time;let o=parseInt(t.acr??``,10);this.userId=t.sub,this.usedMfaOnLogin=o>=2,this.privateKey=t.private_key,this.firstName=t.given_name,this.lastName=t.family_name,this.fullName=(this.firstName??``)+(this.firstName&&this.lastName?` `:``)+(this.lastName??``),this.picture=t.picture,this.email=t.email,this.emailVerified=t.email_verified,this.username=t.username,this.locale=t.locale,this.phoneNumber=t.phone_number,this.phoneNumberVerified=t.phone_number_verified,this.address=e.mapAddress(r),this.theme=t.theme,this.organizationId=t.org,this.providerId=t.pid,this.dateFormat=t.date_format,this.acr=o}static mapAddress(e){return{country:e?.address?.country,countryCode:e?.address?.country_code,locality:e?.address?.locality,postalCode:e?.address?.postal_code,region:e?.address?.region,regionCode:e?.address?.region_code,streetAddress:e?.address?.street_address}}getSessionDisplayInfo(){let e={picture:this.picture,username:this.username,locale:this.locale,theme:this.theme,sessionId:this.currentSessionId};return this.firstName&&(e.firstName=this.firstName),this.lastName&&(e.lastName=this.lastName),e}};function El(e){let t=e.idTokenPayload??e.profile;return new Tl(e.profile,e.idToken??``,t,e.accessToken??``,e.refreshToken??``)}
36var Dl=class e extends Error{code;cause;constructor(t,n,r){super(n),this.name=`LucidAuthError`,this.code=t,this.cause=r,Object.setPrototypeOf(this,e.prototype)}},Ol=class e{config;engine;obo;accounts;emitter=new hl;http;isOBO=!1;currentUser=null;currentAccessToken=null;unsubscribers=[];constructor(e){this.config=ml(e),this.engine=new wl(this.config.userManagerSettings,this.config.storage,this.config.logLevel),this.http=Zc(this,{baseURL:this.config.apiRootUrl,includePaths:[`/api/v1/identity`],renewOn401:!0}),this.obo=new xl({http:this.http,clientId:this.config.clientId}),this.accounts=new cl(this.http,{apiRootUrl:this.config.apiRootUrl})}static async create(t,n){let r=new e(t),i=n?.on;if(i)for(let e of Object.keys(i)){let t=i[e];t&&r.on(e,t)}return await r.init(),r}async init(){if(this.unsubscribers.push(this.engine.onUserLoaded(e=>{let t=this.fromOidcUser(e);this.setUser(t),this.emitter.emit(`renew`,t)})),this.unsubscribers.push(this.engine.onSilentRenewError(e=>{this.emitter.emit(`silentrenewerror`,new Dl(`RENEW_FAILED`,e.message,e))})),this.unsubscribers.push(this.obo.onRefreshed(e=>{this.setUser(this.fromObo(e))})),this.unsubscribers.push(this.obo.onError(()=>{this.emitter.emit(`oboexpired`,void 0)})),this.engine.isCallback()){await this.handleRedirectCallback();return}let e=await this.engine.getUser();e&&!e.expired&&this.setUser(this.fromOidcUser(e))}get authenticated(){return this.currentUser!==null}get user(){return this.currentUser}get masterKeyLessEnabled(){return this.config.masterKeyLessEnabled}get organizationId(){return this.config.organizationId}async isAuthenticated(){if(this.isOBO)return this.obo.getAccessToken()!==null;let e=await this.engine.getUser();return e!==null&&!e.expired}async getUser(){return this.currentUser}async getAccessToken(){return this.isOBO?this.obo.getAccessToken():(await this.engine.getUser())?.access_token??null}async handleRedirectCallback(e){let t=await this.engine.signinRedirectCallback(e),n=this.fromOidcUser(t);this.setUser(n);let r={isAuthenticated:!0,user:n,accessToken:t.access_token??null,idToken:t.id_token,returnUrl:t.state?.returnUrl};return this.emitter.emit(`login`,r),r}on(e,t){return this.emitter.on(e,t)}dispose(){for(let e of this.unsubscribers)e();this.unsubscribers=[],this.obo.dispose(),this.engine.dispose(),this.emitter.clear()}async login(e){if(this.isOBO){await this.renewToken();return}let t=_l(e,{masterKeyLessEnabled:this.config.masterKeyLessEnabled,organizationId:this.config.organizationId});await this.engine.signinRedirect({extraQueryParams:t,redirect_uri:e?.redirectUrl})}async promptLogin(e){await this.login({...e??{},prompt:`login`})}async promptSelectAccount(e){await this.login({...e??{},prompt:`select_account`})}async logout(e){this.obo.stop(),this.isOBO=!1,e?.postLogoutRedirectUri?await this.engine.signoutRedirect({post_logout_redirect_uri:e.postLogoutRedirectUri}):await this.engine.signoutRedirect()}async removeUser(){this.obo.stop(),this.isOBO=!1,await this.engine.removeUser(),this.setUser(null),this.emitter.emit(`logout`,void 0)}async renewToken(){if(this.isOBO){let e=await this.obo.refresh(),t=this.fromObo(e);return this.setUser(t),this.emitter.emit(`renew`,t),t}let e=await yl(()=>this.renewOnce(),{count:3,delayMs:2e3});return this.setUser(e),this.emitter.emit(`renew`,e),e}async onBehalfOf(e){this.isOBO=!0;let t=await this.obo.start(e),n=this.fromObo(t);this.setUser(n);let r={isAuthenticated:!0,user:n,accessToken:t.access_token,idToken:t.id_token};return this.emitter.emit(`login`,r),r}async refreshUser(){let e=await this.getAccessToken();if(this.isOBO)return yl(async()=>{let t=await this.renewToken();if(t.accessToken===e)throw new Dl(`RENEW_FAILED`,`Token did not change during refresh`);return t},{count:3,delayMs:2e3});let t=await yl(async()=>{let t=await this.renewOnce();if(t.accessToken===e)throw new Dl(`RENEW_FAILED`,`Token did not change during refresh`);return t},{count:3,delayMs:2e3});return this.setUser(t),this.emitter.emit(`renew`,t),t}listAccounts(){return this.accounts.listAccounts()}async switchAccount(e,t,n){let r=await this.getAccessToken();await this.engine.removeUser(),this.accounts.switchAccount(e,t,r??``,n??this.config.clientBaseUrl)}async renewOnce(){let e=await this.engine.signinSilent();if(!e)throw new Dl(`RENEW_FAILED`,`Silent renew returned no user`);return this.fromOidcUser(e)}fromOidcUser(e){let t=e.profile;return El({profile:t,idToken:e.id_token,accessToken:e.access_token,refreshToken:e.refresh_token,idTokenPayload:t})}fromObo(e){let t=nl(e.id_token??``);return El({profile:t,idToken:e.id_token,accessToken:e.access_token,refreshToken:e.refresh_token,idTokenPayload:{sid:t.sid,auth_time:t.auth_time,address:t.address}})}setUser(e){let t=e?.accessToken??null;(0,Qc.default)(this.currentUser,e)||(this.currentUser=e,this.emitter.emit(`userchanged`,e)),t!==this.currentAccessToken&&(this.currentAccessToken=t,this.emitter.emit(`tokenchanged`,{accessToken:t}))}};function kl(e){let t=(e.email??``).trim(),n=[e.given_name,e.family_name].filter(
36Boolean).join(` `).trim(),r=(e.name??``).trim()||n||t,i=typeof e.email_verified==`boolean`?e.email_verified:null;return{name:r,email:t,initials:Al(r),avatarUrl:jl(e.picture),emailVerified:i}}function Al(e){return(e.includes(`@`)?e.split(`@`)[0]:e).split(/[\s._-]+/).filter(Boolean).slice(0,2).map(e=>e[0].toUpperCase()).join(``)||`?`}function jl(e){if(!e)return null;try{let t=new URL(e);return t.protocol===`https:`?t.href:null}catch{return null}}function Ml(e,t){let n=new URLSearchParams(e.hash.replace(/^#/,``));return e.searchParams.has(t)||n.has(t)}function Nl(e,t){let n,r;try{n=new URL(e),r=new URL(t)}catch{return!1}if(n.origin!==r.origin||n.pathname!==r.pathname)return!1;let i=Ml(n,`code`)&&Ml(n,`state`),a=Ml(n,`error`)&&(Ml(n,`state`)||Ml(n,`error_description`));return i||a}var Pl=`https://return-path.invalid`;function Fl(e){if(!e||!e.startsWith(`/`))return`/`;let t;try{t=new URL(e,Pl)}catch{return`/`}if(t.origin!==Pl)return`/`;let n=t.pathname+t.search;return!n.startsWith(`/`)||n.startsWith(`//`)?`/`:n}var Il=`dvl.lucid.loggedOutAt`;function Ll(e,t=Date.now){return{markLoggedOut(){e.setItem(Il,String(t()))},isLoggedOutFresh(){let n=Number(e.getItem(Il)),r=t()-n;return Number.isFinite(n)&&n>0&&r>=0&&r<3e5},clear(){e.removeItem(Il)}}}var Rl=`dvl.lucid.storageProbe`;function zl(e){try{let t=e();return t.setItem(Rl,`1`),t.removeItem(Rl),!0}catch{return!1}}var Bl=`dvl.lucid.returnPath`,Vl=`openid profile email`,Hl=5;function Ul(){let e=document.getElementById(`lucid-config`)?.textContent;if(!e)return null;try{return JSON.parse(e)}catch{return null}}function Wl(e){let t=e.shadowRoot,n=Ul()?.iconFontUrl;if(!t||!n||t.querySelector(`link[data-dvl-icon-font]`))return;let r=document.createElement(`link`);r.rel=`stylesheet`,r.href=n,r.dataset.dvlIconFont=``,t.appendChild(r)}function Gl(e,t){console.warn(`[lucid-auth] ${e}`,t??``),window.Sentry?.addBreadcrumb?.({category:`auth`,message:e,level:`warning`})}function Kl(){history.replaceState(history.state,``,location.pathname+location.search)}var ql=[`code`,`state`,`session_state`,`error`,`error_description`];function Jl(){let e=new URL(location.href);for(let t of ql)e.searchParams.delete(t);let t=new URLSearchParams(location.hash.replace(/^#/,``));for(let e of ql)t.delete(e);let n=t.toString();history.replaceState(history.state,``,e.pathname+e.search+(n?`#${n}`:``))}function Yl(){return Array.from(document.querySelectorAll(`[data-account-slot]`))}function Xl(e=document){return Array.from(e.querySelectorAll(`[data-account-chooser]`))}function Zl(e){let t=document.documentElement.lang||`en`;for(let n of Xl())Wl(n),n.identity=e,n.locale=t}function Ql(e){let t=e.kind===`signed-in`?kl(e.profile):null;for(let e of Yl()){let n=e.querySelector(`[data-account-signin]`),r=e.querySelector(`[data-account-user]`);if(!n||!r||(n.hidden=t!==null,r.hidden=t===null,!t))continue;let i=e.querySelector(`[data-account-avatar]`),a=e.querySelector(`[data-account-initials]`);a&&(a.textContent=t.initials,a.hidden=t.avatarUrl!==null),i&&(i.hidden=t.avatarUrl===null,t.avatarUrl&&(i.onerror=()=>{i.hidden=!0,a&&(a.hidden=!1)},i.src=t.avatarUrl))}window.dispatchEvent(new Event(`resize`))}function $l(e){for(let t of Yl()){let n=t.querySelector(`[data-account-menu]`);!n||n===e||(n.hidden=!0,t.querySelector(`[data-account-toggle]`)?.setAttribute(`aria-expanded`,`false`))}}function eu(e){for(let t of Yl()){let n=t.querySelector(`[data-account-toggle]`),r=t.querySelector(`[data-account-menu]`);n?.addEventListener(`click`,e=>{if(e.stopPropagation(),r&&($l(r),r.hidden=!r.hidden,n.setAttribute(`aria-expanded`,String(!r.hidden)),!r.hidden))for(let e of Xl(r))e.loadAccounts?.().catch(e=>Gl(`list accounts failed`,e))}),r?.addEventListener(`click`,e=>e.stopPropagation()),t.querySelector(`[data-account-signin-btn]`)?.addEventListener(`click`,e.signIn);for(let n of Xl(t))n.addEventListener(`logOffClicked`,e.signedOut)}document.addEventListener(`click`,()=>$l()),document.addEventListener(`keydown`,e=>{if(e.key!==`Escape`)return;let t=document.activeElement,n=null;for(let e of Yl()){let r=e.querySelector(`[data-account-menu]`);if(!(!r||r.hidden||!(t instanceof Node)||!r.contains(t))){n=e.querySelector(`[data-account-toggle]`);break}}
36$l(),n?.focus()})}async function tu(e,r,i){let a=new t({authority:e.authority,client_id:e.clientId,redirect_uri:r,silent_redirect_uri:i,scope:Vl,response_type:`code`,response_mode:`fragment`,extraQueryParams:{response_mode:`fragment`},loadUserInfo:!1,filterProtocolClaims:!0,automaticSilentRenew:!1,monitorSession:!1,silentRequestTimeoutInSeconds:Hl,requestTimeoutInSeconds:Hl,userStore:new n({store:window.sessionStorage}),stateStore:new n({store:window.sessionStorage})});try{return await a.signinSilent()}catch(e){return e?.error!==`login_required`&&Gl(`silent SSO failed`,e),null}}async function nu(){try{await ru()}catch(e){Gl(`init failed`,e),Ql({kind:`signed-out`})}}async function ru(){let e=Ul();if(!e||Yl().length===0)return;if(!e.allowedOrigins.includes(location.origin)||!zl(()=>window.sessionStorage)){for(let e of Yl())e.remove();window.dispatchEvent(new Event(`resize`));return}ba();for(let e of Xl())Wl(e);let t=location.origin,n=`${t}/`,r=`${t}/auth/silent-callback/`,i=Ll(sessionStorage),a=null,o=!1,s={clientId:e.clientId,clientBaseUrl:n,environment:e.environment,redirectUri:n,silentRedirectUri:r,postLogoutRedirectUri:n,scopes:Vl,disableTokenAutoRenew:!0},c={on:{login:()=>{o=!0}}};eu({signIn:async()=>{sessionStorage.setItem(Bl,Fl(location.pathname+location.search));try{a??=await Ol.create(s,c),await a.login()}catch(e){Gl(`login redirect failed`,e)}},signedOut:()=>{i.markLoggedOut(),sessionStorage.removeItem(Bl)}}),/[#&]error=/.test(location.hash)&&Kl();try{a=await Ol.create(s,c)}catch(e){if(!Nl(location.href,n)){Gl(`client init failed`,e),Ql({kind:`signed-out`});return}Gl(`client init failed, retrying without stale callback params`,e),Jl();try{a=await Ol.create(s,c)}catch(e){Gl(`client init retry failed`,e),Ql({kind:`signed-out`});return}}if(o){i.clear();let e=Fl(sessionStorage.getItem(Bl));if(sessionStorage.removeItem(Bl),e!==`/`){location.replace(e);return}Kl()}let l=a.user;if(l){Zl(a),Ql({kind:`signed-in`,profile:{name:l.fullName,given_name:l.firstName,family_name:l.lastName,email:l.email,picture:l.picture,email_verified:l.emailVerified}});return}if(i.isLoggedOutFresh()){Ql({kind:`signed-out`});return}let u=await tu(e,n,r);if(u){try{a=await Ol.create(s,c),Zl(a),Ql({kind:`signed-in`,profile:u.profile})}catch(e){Gl(`client re-init after silent SSO failed`,e),Ql({kind:`signed-out`})}return}i.markLoggedOut(),Ql({kind:`signed-out`})}nu().catch(()=>{});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.