"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4948],{64948:(e,t,r)=>{let o;r.r(t),r.d(t,{WcmModal:()=>om,WcmQrCode:()=>rv});let i=window,l=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),n=new WeakMap;class s{constructor(e,t,r){if(this._$cssResult$=!0,r!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(l&&void 0===e){let r=void 0!==t&&1===t.length;r&&(e=n.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&n.set(t,e))}return e}toString(){return this.cssText}}let c=e=>new s("string"==typeof e?e:e+"",void 0,a),d=(e,...t)=>new s(1===e.length?e[0]:t.reduce((t,r,o)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[o+1],e[0]),e,a),h=(e,t)=>{l?e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(t=>{let r=document.createElement("style"),o=i.litNonce;void 0!==o&&r.setAttribute("nonce",o),r.textContent=t.cssText,e.appendChild(r)})},m=l?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(let r of e.cssRules)t+=r.cssText;return c(t)})(e):e,p=window,u=p.trustedTypes,w=u?u.emptyScript:"",g=p.reactiveElementPolyfillSupport,v={toAttribute(e,t){switch(t){case Boolean:e=e?w:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},f=(e,t)=>t!==e&&(t==t||e==e),b={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:f},y="finalized";class x extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((t,r)=>{let o=this._$Ep(r,t);void 0!==o&&(this._$Ev.set(o,r),e.push(o))}),e}static createProperty(e,t=b){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){let r="symbol"==typeof e?Symbol():"__"+e,o=this.getPropertyDescriptor(e,r,t);void 0!==o&&Object.defineProperty(this.prototype,e,o)}}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(o){let i=this[e];this[t]=o,this.requestUpdate(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||b}static finalize(){if(this.hasOwnProperty(y))return!1;this[y]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let e=this.properties;for(let t of[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)])this.createProperty(t,e[t])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let t=[];if(Array.isArray(e))for(let r of new Set(e.flat(1/0).reverse()))t.unshift(m(r));else void 0!==e&&t.push(m(e));return t}static _$Ep(e,t){let r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach(e=>e(this))}addController(e){var t,r;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(r=e.hostConnected)||void 0===r||r.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;let t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return h(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)})}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$EO(e,t,r=b){var o;let i=this.constructor._$Ep(e,r);if(void 0!==i&&!0===r.reflect){let l=(void 0!==(null===(o=r.converter)||void 0===o?void 0:o.toAttribute)?r.converter:v).toAttribute(t,r.type);this._$El=e,null==l?this.removeAttribute(i):this.setAttribute(i,l),this._$El=null}}_$AK(e,t){var r;let o=this.constructor,i=o._$Ev.get(e);if(void 0!==i&&this._$El!==i){let e=o.getPropertyOptions(i),l="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(r=e.converter)||void 0===r?void 0:r.fromAttribute)?e.converter:v;this._$El=i,this[i]=l.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,r){let o=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||f)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,r))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((e,t)=>this[t]=e),this._$Ei=void 0);let t=!1,r=this._$AL;try{(t=this.shouldUpdate(r))?(this.willUpdate(r),null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)}),this.update(r)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(r)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach(e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach((e,t)=>this._$EO(t,this[t],e)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}x[y]=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:x}),(null!==(eb=p.reactiveElementVersions)&&void 0!==eb?eb:p.reactiveElementVersions=[]).push("1.6.3");let $=window,A=$.trustedTypes,C=A?A.createPolicy("lit-html",{createHTML:e=>e}):void 0,_="$lit$",O=`lit$${(Math.random()+"").slice(9)}$`,k="?"+O,E=`<${k}>`,I=document,T=()=>I.createComment(""),P=e=>null===e||"object"!=typeof e&&"function"!=typeof e,L=Array.isArray,M=e=>L(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]),R="[ \n\f\r]",S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,W=/>/g,N=RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^ \f\r"'\`<>=]|("|')|))|$)`,"g"),D=/'/g,H=/"/g,U=/^(?:script|style|textarea|title)$/i,Z=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),B=Z(1),z=Z(2),V=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),F=new WeakMap,J=I.createTreeWalker(I,129,null,!1);function K(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(t):t}let Q=(e,t)=>{let r=e.length-1,o=[],i,l=2===t?"":"",a=S;for(let t=0;t"===s[0]?(a=null!=i?i:S,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,n=s[1],a=void 0===s[3]?N:'"'===s[3]?H:D):a===H||a===D?a=N:a===j||a===W?a=S:(a=N,i=void 0);let h=a===N&&e[t+1].startsWith("/>")?" ":"";l+=a===S?r+E:c>=0?(o.push(n),r.slice(0,c)+_+r.slice(c)+O+h):r+O+(-2===c?(o.push(void 0),t):h)}return[K(e,l+(e[r]||"")+(2===t?"":"")),o]};class Y{constructor({strings:e,_$litType$:t},r){let o;this.parts=[];let i=0,l=0,a=e.length-1,n=this.parts,[s,c]=Q(e,t);if(this.el=Y.createElement(s,r),J.currentNode=this.el.content,2===t){let e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(o=J.nextNode())&&n.length0){o.textContent=A?A.emptyScript:"";for(let r=0;r2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,o){let i=this.strings,l=!1;if(void 0===i)(l=!P(e=G(this,e,t,0))||e!==this._$AH&&e!==V)&&(this._$AH=e);else{let o,a;let n=e;for(e=i[0],o=0;o{var o,i;let l=null!==(o=null==r?void 0:r.renderBefore)&&void 0!==o?o:t,a=l._$litPart$;if(void 0===a){let e=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:null;l._$litPart$=a=new ee(t.insertBefore(T(),e),e,void 0,null!=r?r:{})}return a._$AI(e),a};class ec extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;let r=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=r.firstChild),r}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=es(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return V}}ec.finalized=!0,ec._$litElement$=!0,null===(ex=globalThis.litElementHydrateSupport)||void 0===ex||ex.call(globalThis,{LitElement:ec});let ed=globalThis.litElementPolyfillSupport;null==ed||ed({LitElement:ec}),(null!==(e$=globalThis.litElementVersions)&&void 0!==e$?e$:globalThis.litElementVersions=[]).push("3.3.3");let eh=e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{let{kind:r,elements:o}=t;return{kind:r,elements:o,finisher(t){customElements.define(e,t)}}})(e,t),em=(e,t)=>"method"!==t.kind||!t.descriptor||"value"in t.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}}:{...t,finisher(r){r.createProperty(t.key,e)}},ep=(e,t,r)=>{t.constructor.createProperty(r,e)};function eu(e){return(t,r)=>void 0!==r?ep(e,t,r):em(e,t)}function ew(e){return eu({...e,state:!0})}null!=(null===(eA=window.HTMLSlotElement)||void 0===eA?void 0:eA.prototype.assignedElements)||((e,t)=>e.assignedNodes(t).filter(e=>e.nodeType===Node.ELEMENT_NODE));let eg={ATTRIBUTE:1};class ev{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this._$Ct=e,this._$AM=t,this._$Ci=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}let ef=(o=class extends ev{constructor(e){var t;if(super(e),e.type!==eg.ATTRIBUTE||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var r,o;if(void 0===this.it){for(let o in this.it=new Set,void 0!==e.strings&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e))),t)!t[o]||(null===(r=this.nt)||void 0===r?void 0:r.has(o))||this.it.add(o);return this.render(t)}let i=e.element.classList;for(let e in this.it.forEach(e=>{e in t||(i.remove(e),this.it.delete(e))}),t){let r=!!t[e];r===this.it.has(e)||(null===(o=this.nt)||void 0===o?void 0:o.has(e))||(r?(i.add(e),this.it.add(e)):(i.remove(e),this.it.delete(e)))}return V}},(...e)=>({_$litDirective$:o,values:e}));var eb,ey,ex,e$,eA,eC=r(76698),e_=r(64982);let eO={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},ek={ms:e=>1e3*e,s:e=>e/1e3},eE=()=>{},eI=e=>e;function eT(e,t=!0){if(e&&"finished"!==e.playState)try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch(e){}}let eP=e=>e(),eL=(e,t,r=eO.duration)=>new Proxy({animations:e.map(eP).filter(Boolean),duration:r,options:t},eR),eM=e=>e.animations[0],eR={get:(e,t)=>{let r=eM(e);switch(t){case"duration":return e.duration;case"currentTime":return ek.s((null==r?void 0:r[t])||0);case"playbackRate":case"playState":return null==r?void 0:r[t];case"finished":return e.finished||(e.finished=Promise.all(e.animations.map(eS)).catch(eE)),e.finished;case"stop":return()=>{e.animations.forEach(e=>eT(e))};case"forEachNative":return t=>{e.animations.forEach(r=>t(r,e))};default:return void 0===(null==r?void 0:r[t])?void 0:()=>e.animations.forEach(e=>e[t]())}},set:(e,t,r)=>{switch(t){case"currentTime":r=ek.ms(r);case"playbackRate":for(let o=0;oe.finished,ej=e=>"object"==typeof e&&!!e.createAnimation,eW=e=>"number"==typeof e,eN=e=>Array.isArray(e)&&!eW(e[0]),eD=(e,t,r)=>-r*e+r*t+e,eH=(e,t,r)=>t-e==0?1:(r-e)/(t-e);function eU(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let i=eH(0,t,o);e.push(eD(r,1,i))}}let eZ=(e,t,r)=>{let o=t-e;return((r-e)%o+o)%o+e},eB=(e,t,r)=>Math.min(Math.max(r,e),t),ez=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function eV(e,t,r,o){if(e===t&&r===o)return eI;let i=t=>(function(e,t,r,o,i){let l,a;let n=0;do(l=ez(a=t+(r-t)/2,o,i)-e)>0?r=a:t=a;while(Math.abs(l)>1e-7&&++n<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:ez(i(e),t,o)}let eq=(e,t="end")=>r=>{let o=(r="end"===t?Math.min(r,.999):Math.max(r,.001))*e;return eB(0,1,("end"===t?Math.floor(o):Math.ceil(o))/e)},eF=e=>"function"==typeof e,eJ=e=>Array.isArray(e)&&eW(e[0]),eK={ease:eV(.25,.1,.25,1),"ease-in":eV(.42,0,1,1),"ease-in-out":eV(.42,0,.58,1),"ease-out":eV(0,0,.58,1)},eQ=/\((.*?)\)/;function eY(e){if(eF(e))return e;if(eJ(e))return eV(...e);if(eK[e])return eK[e];if(e.startsWith("steps")){let t=eQ.exec(e);if(t){let e=t[1].split(",");return eq(parseFloat(e[0]),e[1].trim())}}return eI}class eG{constructor(e,t=[0,1],{easing:r,duration:o=eO.duration,delay:i=eO.delay,endDelay:l=eO.endDelay,repeat:a=eO.repeat,offset:n,direction:s="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=eI,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((e,t)=>{this.resolve=e,this.reject=t}),ej(r=r||eO.easing)){let e=r.createAnimation(t);r=e.easing,t=e.keyframes||t,o=e.duration||o}this.repeat=a,this.easing=eN(r)?eI:eY(r),this.updateDuration(o);let c=function(e,t=function(e){let t=[0];return eU(t,e-1),t}(e.length),r=eI){let o=e.length,i=o-t.length;return i>0&&eU(t,i),i=>{var l;let a=0;for(;a{var r;let o=0;o=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate,this.t=o,o/=1e3,o=Math.max(o-i,0),"finished"===this.playState&&void 0===this.pauseTime&&(o=this.totalDuration);let a=o/this.duration,n=Math.floor(a),d=a%1;!d&&a>=1&&(d=1),1===d&&n--;let h=n%2;("reverse"===s||"alternate"===s&&h||"alternate-reverse"===s&&!h)&&(d=1-d);let m=o>=this.totalDuration?1:Math.min(d,1),p=c(this.easing(m));e(p),void 0===this.pauseTime&&("finished"===this.playState||o>=this.totalDuration+l)?(this.playState="finished",null===(r=this.resolve)||void 0===r||r.call(this,p)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},this.play()}play(){let e=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(e=this.reject)||void 0===e||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){void 0!==this.pauseTime||0===this.rate?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}var eX=function(){};class e0{setAnimation(e){this.animation=e,null==e||e.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}let e1=new WeakMap;function e2(e){return e1.has(e)||e1.set(e,{transforms:[],values:new Map}),e1.get(e)}let e5=["","X","Y","Z"],e4={x:"translateX",y:"translateY",z:"translateZ"},e3={syntax:"",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},e7={translate:{syntax:"",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:e3,scale:{syntax:"",initialValue:1,toDefaultUnit:eI},skew:e3},e6=new Map,e8=e=>`--motion-${e}`,e9=["x","y","z"];["translate","scale","rotate","skew"].forEach(e=>{e5.forEach(t=>{e9.push(e+t),e6.set(e8(e+t),e7[e])})});let te=(e,t)=>e9.indexOf(e)-e9.indexOf(t),tt=new Set(e9),tr=e=>tt.has(e),to=(e,t)=>{e4[t]&&(t=e4[t]);let{transforms:r}=e2(e);!function(e,t){-1===e.indexOf(t)&&e.push(t)}(r,t),e.style.transform=ti(r)},ti=e=>e.sort(te).reduce(tl,"").trim(),tl=(e,t)=>`${e} ${t}(var(${e8(t)}))`,ta=e=>e.startsWith("--"),tn=new Set,ts=(e,t)=>document.createElement("div").animate(e,t),tc={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{ts({opacity:[1]})}catch(e){return!1}return!0},finished:()=>!!ts({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{ts({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}},td={},th={};for(let e in tc)th[e]=()=>(void 0===td[e]&&(td[e]=tc[e]()),td[e]);let tm=(e,t)=>{let r="",o=Math.round(t/.015);for(let t=0;teF(e)?th.linearEasing()?`linear(${tm(e,t)})`:eO.easing:eJ(e)?tu(e):e,tu=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`,tw=e=>Array.isArray(e)?e:[e];function tg(e){return e4[e]&&(e=e4[e]),tr(e)?e8(e):e}let tv={get:(e,t)=>{let r=ta(t=tg(t))?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&0!==r){let e=e6.get(t);e&&(r=e.initialValue)}return r},set:(e,t,r)=>{ta(t=tg(t))?e.style.setProperty(t,r):e.style[t]=r}},tf=e=>"string"==typeof e,tb=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e),ty=function(e,t,r={}){var o,i,l;"string"==typeof(o=e)?o=document.querySelectorAll(o):o instanceof Element&&(o=[o]);let a=(e=Array.from(o||[])).length;eX(!!a,"No valid element provided."),eX(!!t,"No keyframes defined.");let n=[];for(let o=0;o{let l=()=>{var t,r;return null!==(r=null!==(t=tv.get(e,x))&&void 0!==t?t:null==A?void 0:A.initialValue)&&void 0!==r?r:0},f=function(e,t){for(let r=0;rt+e)}return o}(f,A);if(ej(p)){let e=p.createAnimation(f,"opacity"!==t,l,x,$);p=e.easing,f=e.keyframes||f,c=e.duration||c}if(ta(x)&&(th.cssRegisterProperty()?function(e){if(!tn.has(e)){tn.add(e);try{let{syntax:t,initialValue:r}=e6.has(e)?e6.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch(e){}}}(x):y=!1),b&&!th.linearEasing()&&(eF(p)||eN(p)&&p.some(eF))&&(y=!1),y){A&&(f=f.map(e=>eW(e)?A.toDefaultUnit(e):e)),1===f.length&&(!th.partialKeyframes()||s)&&f.unshift(l());let t={delay:ek.ms(d),duration:ek.ms(c),endDelay:ek.ms(h),easing:eN(p)?void 0:tp(p,c),direction:w,iterations:m+1,fill:"both"};(a=e.animate({[x]:f,offset:g,easing:eN(p)?p.map(e=>tp(e,c)):void 0},t)).finished||(a.finished=new Promise((e,t)=>{a.onfinish=e,a.oncancel=t}));let r=f[f.length-1];a.finished.then(()=>{u||(tv.set(e,x,r),a.cancel())}).catch(eE),v||(a.playbackRate=1.000001)}else if(i&&b)1===(f=f.map(e=>"string"==typeof e?parseFloat(e):e)).length&&f.unshift(parseFloat(l())),a=new i(t=>{tv.set(e,x,C?C(t):t)},f,Object.assign(Object.assign({},o),{duration:c,easing:p}));else{let t=f[f.length-1];tv.set(e,x,A&&eW(t)?A.toDefaultUnit(t):t)}return s&&n(e,t,f,{duration:c,delay:d,easing:p,repeat:m,offset:g},"motion-one"),$.setAnimation(a),a}}(s,e,t[e],c,eG);n.push(d)}}return eL(n,r,r.duration)};function tx(e,t,r){return(eF(e)?function(e,t={}){return eL([()=>{let r=new eG(e,[0,1],t);return r.finished.catch(()=>{}),r}],t,t.duration)}:ty)(e,t,r)}let t$=e=>null!=e?e:q;var tA=r(28480),tC=Object.defineProperty,t_=Object.getOwnPropertySymbols,tO=Object.prototype.hasOwnProperty,tk=Object.prototype.propertyIsEnumerable,tE=(e,t,r)=>t in e?tC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tI=(e,t)=>{for(var r in t||(t={}))tO.call(t,r)&&tE(e,r,t[r]);if(t_)for(var r of t_(t))tk.call(t,r)&&tE(e,r,t[r]);return e};function tT(){return{"--wcm-accent-color":"#3396FF","--wcm-accent-fill-color":"#FFFFFF","--wcm-z-index":"89","--wcm-background-color":"#3396FF","--wcm-background-border-radius":"8px","--wcm-container-border-radius":"30px","--wcm-wallet-icon-border-radius":"15px","--wcm-wallet-icon-large-border-radius":"30px","--wcm-wallet-icon-small-border-radius":"7px","--wcm-input-border-radius":"28px","--wcm-button-border-radius":"10px","--wcm-notification-border-radius":"36px","--wcm-secondary-button-border-radius":"28px","--wcm-icon-button-border-radius":"50%","--wcm-button-hover-highlight-border-radius":"10px","--wcm-text-big-bold-size":"20px","--wcm-text-big-bold-weight":"600","--wcm-text-big-bold-line-height":"24px","--wcm-text-big-bold-letter-spacing":"-0.03em","--wcm-text-big-bold-text-transform":"none","--wcm-text-xsmall-bold-size":"10px","--wcm-text-xsmall-bold-weight":"700","--wcm-text-xsmall-bold-line-height":"12px","--wcm-text-xsmall-bold-letter-spacing":"0.02em","--wcm-text-xsmall-bold-text-transform":"uppercase","--wcm-text-xsmall-regular-size":"12px","--wcm-text-xsmall-regular-weight":"600","--wcm-text-xsmall-regular-line-height":"14px","--wcm-text-xsmall-regular-letter-spacing":"-0.03em","--wcm-text-xsmall-regular-text-transform":"none","--wcm-text-small-thin-size":"14px","--wcm-text-small-thin-weight":"500","--wcm-text-small-thin-line-height":"16px","--wcm-text-small-thin-letter-spacing":"-0.03em","--wcm-text-small-thin-text-transform":"none","--wcm-text-small-regular-size":"14px","--wcm-text-small-regular-weight":"600","--wcm-text-small-regular-line-height":"16px","--wcm-text-small-regular-letter-spacing":"-0.03em","--wcm-text-small-regular-text-transform":"none","--wcm-text-medium-regular-size":"16px","--wcm-text-medium-regular-weight":"600","--wcm-text-medium-regular-line-height":"20px","--wcm-text-medium-regular-letter-spacing":"-0.03em","--wcm-text-medium-regular-text-transform":"none","--wcm-font-family":"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif","--wcm-font-feature-settings":"'tnum' on, 'lnum' on, 'case' on","--wcm-success-color":"rgb(38,181,98)","--wcm-error-color":"rgb(242, 90, 103)","--wcm-overlay-background-color":"rgba(0, 0, 0, 0.3)","--wcm-overlay-backdrop-filter":"none"}}let tP={getPreset:e=>tT()[e],setTheme(){let e=document.querySelector(":root"),{themeVariables:t}=eC.lH.state;e&&Object.entries(tI(tI(tI({},function(){var e;let t={light:{foreground:{1:"rgb(20,20,20)",2:"rgb(121,134,134)",3:"rgb(158,169,169)"},background:{1:"rgb(255,255,255)",2:"rgb(241,243,243)",3:"rgb(228,231,231)"},overlay:"rgba(0,0,0,0.1)"},dark:{foreground:{1:"rgb(228,231,231)",2:"rgb(148,158,158)",3:"rgb(110,119,119)"},background:{1:"rgb(20,20,20)",2:"rgb(39,42,42)",3:"rgb(59,64,64)"},overlay:"rgba(255,255,255,0.1)"}}[null!=(e=eC.lH.state.themeMode)?e:"dark"];return{"--wcm-color-fg-1":t.foreground[1],"--wcm-color-fg-2":t.foreground[2],"--wcm-color-fg-3":t.foreground[3],"--wcm-color-bg-1":t.background[1],"--wcm-color-bg-2":t.background[2],"--wcm-color-bg-3":t.background[3],"--wcm-color-overlay":t.overlay}}()),tT()),t)).forEach(([t,r])=>e.style.setProperty(t,r))},globalCss:d`*,::after,::before{margin:0;padding:0;box-sizing:border-box;font-style:normal;text-rendering:optimizeSpeed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}button{cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;border:none;background-color:transparent;transition:all .2s ease}@media (hover:hover) and (pointer:fine){button:active{transition:all .1s ease;transform:scale(.93)}}button::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;transition:background-color,.2s ease}button:disabled{cursor:not-allowed}button svg,button wcm-text{position:relative;z-index:1}input{border:none;outline:0;appearance:none}img{display:block}::selection{color:var(--wcm-accent-fill-color);background:var(--wcm-accent-color)}`},tL=d`button{border-radius:var(--wcm-secondary-button-border-radius);height:28px;padding:0 10px;background-color:var(--wcm-accent-color)}button path{fill:var(--wcm-accent-fill-color)}button::after{border-radius:inherit;border:1px solid var(--wcm-color-overlay)}button:disabled::after{background-color:transparent}.wcm-icon-left svg{margin-right:5px}.wcm-icon-right svg{margin-left:5px}button:active::after{background-color:var(--wcm-color-overlay)}.wcm-ghost,.wcm-ghost:active::after,.wcm-outline{background-color:transparent}.wcm-ghost:active{opacity:.5}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}.wcm-ghost:hover::after{background-color:transparent}.wcm-ghost:hover{opacity:.5}}button:disabled{background-color:var(--wcm-color-bg-3);pointer-events:none}.wcm-ghost::after{border-color:transparent}.wcm-ghost path{fill:var(--wcm-color-fg-2)}.wcm-outline path{fill:var(--wcm-accent-color)}.wcm-outline:disabled{background-color:transparent;opacity:.5}`;var tM=Object.defineProperty,tR=Object.getOwnPropertyDescriptor,tS=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?tR(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&tM(t,r,l),l};let tj=class extends ec{constructor(){super(...arguments),this.disabled=!1,this.iconLeft=void 0,this.iconRight=void 0,this.onClick=()=>null,this.variant="default"}render(){let e={"wcm-icon-left":void 0!==this.iconLeft,"wcm-icon-right":void 0!==this.iconRight,"wcm-ghost":"ghost"===this.variant,"wcm-outline":"outline"===this.variant},t="inverse";return"ghost"===this.variant&&(t="secondary"),"outline"===this.variant&&(t="accent"),B``}};tj.styles=[tP.globalCss,tL],tS([eu({type:Boolean})],tj.prototype,"disabled",2),tS([eu()],tj.prototype,"iconLeft",2),tS([eu()],tj.prototype,"iconRight",2),tS([eu()],tj.prototype,"onClick",2),tS([eu()],tj.prototype,"variant",2),tj=tS([eh("wcm-button")],tj);let tW=d`:host{display:inline-block}button{padding:0 15px 1px;height:40px;border-radius:var(--wcm-button-border-radius);color:var(--wcm-accent-fill-color);background-color:var(--wcm-accent-color)}button::after{content:'';top:0;bottom:0;left:0;right:0;position:absolute;background-color:transparent;border-radius:inherit;transition:background-color .2s ease;border:1px solid var(--wcm-color-overlay)}button:active::after{background-color:var(--wcm-color-overlay)}button:disabled{padding-bottom:0;background-color:var(--wcm-color-bg-3);color:var(--wcm-color-fg-3)}.wcm-secondary{color:var(--wcm-accent-color);background-color:transparent}.wcm-secondary::after{display:none}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}}`;var tN=Object.defineProperty,tD=Object.getOwnPropertyDescriptor,tH=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?tD(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&tN(t,r,l),l};let tU=class extends ec{constructor(){super(...arguments),this.disabled=!1,this.variant="primary"}render(){let e={"wcm-secondary":"secondary"===this.variant};return B``}};tU.styles=[tP.globalCss,tW],tH([eu({type:Boolean})],tU.prototype,"disabled",2),tH([eu()],tU.prototype,"variant",2),tU=tH([eh("wcm-button-big")],tU);let tZ=d`:host{background-color:var(--wcm-color-bg-2);border-top:1px solid var(--wcm-color-bg-3)}div{padding:10px 20px;display:inherit;flex-direction:inherit;align-items:inherit;width:inherit;justify-content:inherit}`;var tB=Object.defineProperty,tz=Object.getOwnPropertyDescriptor;let tV=class extends ec{render(){return B`
`}};tV.styles=[tP.globalCss,tZ],tV=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?tz(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&tB(t,r,l),l})([eh("wcm-info-footer")],tV);let tq={CROSS_ICON:(0,e_.JW)``,WALLET_CONNECT_LOGO:(0,e_.JW)``,WALLET_CONNECT_ICON:(0,e_.JW)``,WALLET_CONNECT_ICON_COLORED:(0,e_.JW)``,BACK_ICON:(0,e_.JW)``,COPY_ICON:(0,e_.JW)``,RETRY_ICON:(0,e_.JW)``,DESKTOP_ICON:(0,e_.JW)``,MOBILE_ICON:(0,e_.JW)``,ARROW_DOWN_ICON:(0,e_.JW)``,ARROW_UP_RIGHT_ICON:(0,e_.JW)``,ARROW_RIGHT_ICON:(0,e_.JW)``,QRCODE_ICON:(0,e_.JW)``,SCAN_ICON:(0,e_.JW)``,CHECKMARK_ICON:(0,e_.JW)``,SEARCH_ICON:(0,e_.JW)``,WALLET_PLACEHOLDER:(0,e_.JW)``,GLOBE_ICON:(0,e_.JW)``},tF=d`.wcm-toolbar-placeholder{top:0;bottom:0;left:0;right:0;width:100%;position:absolute;display:block;pointer-events:none;height:100px;border-radius:calc(var(--wcm-background-border-radius) * .9);background-color:var(--wcm-background-color);background-position:center;background-size:cover}.wcm-toolbar{height:38px;display:flex;position:relative;margin:5px 15px 5px 5px;justify-content:space-between;align-items:center}.wcm-toolbar img,.wcm-toolbar svg{height:28px;object-position:left center;object-fit:contain}#wcm-wc-logo path{fill:var(--wcm-accent-fill-color)}button{width:28px;height:28px;border-radius:var(--wcm-icon-button-border-radius);border:0;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--wcm-color-bg-1);box-shadow:0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-bg-2)}button svg{display:block;object-position:center}button path{fill:var(--wcm-color-fg-1)}.wcm-toolbar div{display:flex}@media(hover:hover){button:hover{background-color:var(--wcm-color-bg-2)}}`;var tJ=Object.defineProperty,tK=Object.getOwnPropertyDescriptor;let tQ=class extends ec{render(){return B`
${tq.WALLET_CONNECT_LOGO}
`}};tQ.styles=[tP.globalCss,tF],tQ=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?tK(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&tJ(t,r,l),l})([eh("wcm-modal-backcard")],tQ);let tY=d`main{padding:20px;padding-top:0;width:100%}`;var tG=Object.defineProperty,tX=Object.getOwnPropertyDescriptor;let t0=class extends ec{render(){return B`
`}};t0.styles=[tP.globalCss,tY],t0=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?tX(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&tG(t,r,l),l})([eh("wcm-modal-content")],t0);let t1=d`footer{padding:10px;display:flex;flex-direction:column;align-items:inherit;justify-content:inherit;border-top:1px solid var(--wcm-color-bg-2)}`;var t2=Object.defineProperty,t5=Object.getOwnPropertyDescriptor;let t4=class extends ec{render(){return B`
`}};t4.styles=[tP.globalCss,t1],t4=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?t5(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&t2(t,r,l),l})([eh("wcm-modal-footer")],t4);let t3=d`header{display:flex;justify-content:center;align-items:center;padding:20px;position:relative}.wcm-border{border-bottom:1px solid var(--wcm-color-bg-2);margin-bottom:20px}header button{padding:15px 20px}header button:active{opacity:.5}@media(hover:hover){header button:hover{opacity:.5}}.wcm-back-btn{position:absolute;left:0}.wcm-action-btn{position:absolute;right:0}path{fill:var(--wcm-accent-color)}`;var t7=Object.defineProperty,t6=Object.getOwnPropertyDescriptor,t8=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?t6(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&t7(t,r,l),l};let t9=class extends ec{constructor(){super(...arguments),this.title="",this.onAction=void 0,this.actionIcon=void 0,this.border=!1}backBtnTemplate(){return B``}actionBtnTemplate(){return B``}render(){let e={"wcm-border":this.border},t=eC.jL.state.history.length>1,r=this.title?B`${this.title}`:B``;return B`
${t?this.backBtnTemplate():null} ${r} ${this.onAction?this.actionBtnTemplate():null}
`}};t9.styles=[tP.globalCss,t3],t8([eu()],t9.prototype,"title",2),t8([eu()],t9.prototype,"onAction",2),t8([eu()],t9.prototype,"actionIcon",2),t8([eu({type:Boolean})],t9.prototype,"border",2),t9=t8([eh("wcm-modal-header")],t9);let re={MOBILE_BREAKPOINT:600,WCM_RECENT_WALLET_DATA:"WCM_RECENT_WALLET_DATA",EXPLORER_WALLET_URL:"https://explorer.walletconnect.com/?type=wallet",getShadowRootElement(e,t){let r=e.renderRoot.querySelector(t);if(!r)throw Error(`${t} not found`);return r},getWalletIcon({id:e,image_id:t}){let{walletImages:r}=eC.mb.state;return(null==r?void 0:r[e])?r[e]:t?eC.pV.getWalletImageUrl(t):""},getWalletName:(e,t=!1)=>t&&e.length>8?`${e.substring(0,8)}..`:e,isMobileAnimation:()=>window.innerWidth<=re.MOBILE_BREAKPOINT,preloadImage:async e=>Promise.race([new Promise((t,r)=>{let o=new Image;o.onload=t,o.onerror=r,o.crossOrigin="anonymous",o.src=e}),eC.Ao.wait(3e3)]),getErrorMessage:e=>e instanceof Error?e.message:"Unknown Error",debounce(e,t=500){let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(function(){e(...o)},t)}},handleMobileLinking(e,t="_self"){let{walletConnectUri:r}=eC.IN.state,{mobile:o,name:i}=e,l=null==o?void 0:o.native,a=null==o?void 0:o.universal;re.setRecentWallet(e),r&&function(e){if(l){let r=eC.Ao.formatNativeUrl(l,e,i);eC.Ao.openHref(r,t)}else if(a){let r=eC.Ao.formatUniversalUrl(a,e,i);eC.Ao.openHref(r,t)}}(r)},handleAndroidLinking(){let{walletConnectUri:e}=eC.IN.state;e&&(eC.Ao.setWalletConnectAndroidDeepLink(e),eC.Ao.openHref(e,eC.Ao.isTelegram()?"_blank":"_self"))},async handleUriCopy(){let{walletConnectUri:e}=eC.IN.state;if(e)try{await navigator.clipboard.writeText(e),eC.dC.openToast("Link copied","success")}catch(e){eC.dC.openToast("Failed to copy","error")}},getCustomImageUrls(){let{walletImages:e}=eC.mb.state;return Object.values(Object.values(null!=e?e:{}))},truncate:(e,t=8)=>e.length<=t?e:`${e.substring(0,4)}...${e.substring(e.length-4)}`,setRecentWallet(e){try{localStorage.setItem(re.WCM_RECENT_WALLET_DATA,JSON.stringify(e))}catch(e){console.info("Unable to set recent wallet")}},getRecentWallet(){try{let e=localStorage.getItem(re.WCM_RECENT_WALLET_DATA);if(e)return JSON.parse(e)}catch(e){console.info("Unable to get recent wallet")}},caseSafeIncludes:(e,t)=>e.toUpperCase().includes(t.toUpperCase()),openWalletExplorerUrl(){eC.Ao.openHref(re.EXPLORER_WALLET_URL,"_blank")},getCachedRouterWalletPlatforms(){let{desktop:e,mobile:t}=eC.Ao.getWalletRouterData(),r=!!(null==e?void 0:e.native),o=!!(null==e?void 0:e.universal);return{isDesktop:r,isMobile:!!(null==t?void 0:t.native)||!!(null==t?void 0:t.universal),isWeb:o}},goToConnectingView(e){eC.jL.setData({Wallet:e});let t=eC.Ao.isMobile(),{isDesktop:r,isWeb:o,isMobile:i}=re.getCachedRouterWalletPlatforms();t?i?(eC.jL.push("MobileConnecting"),!eC.Ao.isAndroid()&&eC.Ao.isTelegram()&&this.handleMobileLinking(e,"_blank")):o?eC.jL.push("WebConnecting"):eC.jL.push("InstallWallet"):r?eC.jL.push("DesktopConnecting"):o?eC.jL.push("WebConnecting"):i?eC.jL.push("MobileQrcodeConnecting"):eC.jL.push("InstallWallet")}},rt=d`.wcm-router{overflow:hidden;will-change:transform}.wcm-content{display:flex;flex-direction:column}`;var rr=Object.defineProperty,ro=Object.getOwnPropertyDescriptor,ri=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?ro(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rr(t,r,l),l};let rl=class extends ec{constructor(){super(),this.view=eC.jL.state.view,this.prevView=eC.jL.state.view,this.unsubscribe=void 0,this.oldHeight="0px",this.resizeObserver=void 0,this.unsubscribe=eC.jL.subscribe(e=>{this.view!==e.view&&this.onChangeRoute()})}firstUpdated(){this.resizeObserver=new ResizeObserver(([e])=>{let t=`${e.contentRect.height}px`;"0px"!==this.oldHeight&&tx(this.routerEl,{height:[this.oldHeight,t]},{duration:.2}),this.oldHeight=t}),this.resizeObserver.observe(this.contentEl)}disconnectedCallback(){var e,t;null==(e=this.unsubscribe)||e.call(this),null==(t=this.resizeObserver)||t.disconnect()}get routerEl(){return re.getShadowRootElement(this,".wcm-router")}get contentEl(){return re.getShadowRootElement(this,".wcm-content")}viewTemplate(){switch(this.view){case"ConnectWallet":return B``;case"DesktopConnecting":return B``;case"MobileConnecting":return B``;case"WebConnecting":return B``;case"MobileQrcodeConnecting":return B``;case"WalletExplorer":return B``;case"Qrcode":return B``;case"InstallWallet":return B``;default:return B`
Not Found
`}}async onChangeRoute(){await tx(this.routerEl,{opacity:[1,0],scale:[1,1.02]},{duration:.15,delay:.1}).finished,this.view=eC.jL.state.view,tx(this.routerEl,{opacity:[0,1],scale:[.99,1]},{duration:.37,delay:.05})}render(){return B`
${this.viewTemplate()}
`}};rl.styles=[tP.globalCss,rt],ri([ew()],rl.prototype,"view",2),ri([ew()],rl.prototype,"prevView",2),rl=ri([eh("wcm-modal-router")],rl);let ra=d`div{height:36px;width:max-content;display:flex;justify-content:center;align-items:center;padding:9px 15px 11px;position:absolute;top:12px;box-shadow:0 6px 14px -6px rgba(10,16,31,.3),0 10px 32px -4px rgba(10,16,31,.15);z-index:2;left:50%;transform:translateX(-50%);pointer-events:none;backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);border-radius:var(--wcm-notification-border-radius);border:1px solid var(--wcm-color-overlay);background-color:var(--wcm-color-overlay)}svg{margin-right:5px}@-moz-document url-prefix(){div{background-color:var(--wcm-color-bg-3)}}.wcm-success path{fill:var(--wcm-accent-color)}.wcm-error path{fill:var(--wcm-error-color)}`;var rn=Object.defineProperty,rs=Object.getOwnPropertyDescriptor,rc=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?rs(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rn(t,r,l),l};let rd=class extends ec{constructor(){super(),this.open=!1,this.unsubscribe=void 0,this.timeout=void 0,this.unsubscribe=eC.dC.subscribe(e=>{e.open?(this.open=!0,this.timeout=setTimeout(()=>eC.dC.closeToast(),2200)):(this.open=!1,clearTimeout(this.timeout))})}disconnectedCallback(){var e;null==(e=this.unsubscribe)||e.call(this),clearTimeout(this.timeout),eC.dC.closeToast()}render(){let{message:e,variant:t}=eC.dC.state;return this.open?B`
${"success"===t?tq.CHECKMARK_ICON:null} ${"error"===t?tq.CROSS_ICON:null}${e}
`:null}};function rh(e,t,r){return e!==t&&(e-t<0?t-e:e-t)<=r+.1}rd.styles=[tP.globalCss,ra],rc([ew()],rd.prototype,"open",2),rd=rc([eh("wcm-modal-toast")],rd);let rm={generate(e,t,r){let o="#141414",i=[],l=function(e,t){let r=Array.prototype.slice.call(tA.create(e,{errorCorrectionLevel:"Q"}).modules.data,0),o=Math.sqrt(r.length);return r.reduce((e,t,r)=>(r%o==0?e.push([t]):e[e.length-1].push(t))&&e,[])}(e,0),a=t/l.length,n=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];n.forEach(({x:e,y:t})=>{let r=(l.length-7)*a*e,s=(l.length-7)*a*t;for(let e=0;e`)}});let s=Math.floor((r+25)/a),c=l.length/2-s/2,d=l.length/2+s/2-1,h=[];l.forEach((e,t)=>{e.forEach((e,r)=>{!l[t][r]||t<7&&r<7||t>l.length-8&&r<7||t<7&&r>l.length-8||t>c&&tc&&r{m[e]?m[e].push(t):m[e]=[t]}),Object.entries(m).map(([e,t])=>{let r=t.filter(e=>t.every(t=>!rh(e,t,a)));return[Number(e),r]}).forEach(([e,t])=>{t.forEach(t=>{i.push(z``)})}),Object.entries(m).filter(([e,t])=>t.length>1).map(([e,t])=>{let r=t.filter(e=>t.some(t=>rh(e,t,a)));return[Number(e),r]}).map(([e,t])=>{t.sort((e,t)=>et.some(t=>rh(e,t,a)));t?t.push(e):r.push([e])}return[e,r.map(e=>[e[0],e[e.length-1]])]}).forEach(([e,t])=>{t.forEach(([t,r])=>{i.push(z``)})}),i}},rp=d`@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}div{position:relative;user-select:none;display:block;overflow:hidden;aspect-ratio:1/1;animation:fadeIn ease .2s}.wcm-dark{background-color:#fff;border-radius:var(--wcm-container-border-radius);padding:18px;box-shadow:0 2px 5px #000}svg:first-child,wcm-wallet-image{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{transform:translateY(-50%) translateX(-50%)}wcm-wallet-image{width:25%;height:25%;border-radius:var(--wcm-wallet-icon-border-radius)}svg:first-child{transform:translateY(-50%) translateX(-50%) scale(.9)}svg:first-child path:first-child{fill:var(--wcm-accent-color)}svg:first-child path:last-child{stroke:var(--wcm-color-overlay)}`;var ru=Object.defineProperty,rw=Object.getOwnPropertyDescriptor,rg=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?rw(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&ru(t,r,l),l};let rv=class extends ec{constructor(){super(...arguments),this.uri="",this.size=0,this.imageId=void 0,this.walletId=void 0,this.imageUrl=void 0}svgTemplate(){let e="light"===eC.lH.state.themeMode?this.size:this.size-36;return z`${rm.generate(this.uri,e,e/4)}`}render(){let e={"wcm-dark":"dark"===eC.lH.state.themeMode};return B`
${this.walletId||this.imageUrl?B``:tq.WALLET_CONNECT_ICON_COLORED} ${this.svgTemplate()}
`}};rv.styles=[tP.globalCss,rp],rg([eu()],rv.prototype,"uri",2),rg([eu({type:Number})],rv.prototype,"size",2),rg([eu()],rv.prototype,"imageId",2),rg([eu()],rv.prototype,"walletId",2),rg([eu()],rv.prototype,"imageUrl",2),rv=rg([eh("wcm-qrcode")],rv);let rf=d`:host{position:relative;height:28px;width:80%}input{width:100%;height:100%;line-height:28px!important;border-radius:var(--wcm-input-border-radius);font-style:normal;font-family:-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;font-feature-settings:'case' on;font-weight:500;font-size:16px;letter-spacing:-.03em;padding:0 10px 0 34px;transition:.2s all ease;color:var(--wcm-color-fg-1);background-color:var(--wcm-color-bg-3);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay);caret-color:var(--wcm-accent-color)}input::placeholder{color:var(--wcm-color-fg-2)}svg{left:10px;top:4px;pointer-events:none;position:absolute;width:20px;height:20px}input:focus-within{box-shadow:inset 0 0 0 1px var(--wcm-accent-color)}path{fill:var(--wcm-color-fg-2)}`;var rb=Object.defineProperty,ry=Object.getOwnPropertyDescriptor,rx=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?ry(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rb(t,r,l),l};let r$=class extends ec{constructor(){super(...arguments),this.onChange=()=>null}render(){return B` ${tq.SEARCH_ICON}`}};r$.styles=[tP.globalCss,rf],rx([eu()],r$.prototype,"onChange",2),r$=rx([eh("wcm-search-input")],r$);let rA=d`@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}svg{animation:rotate 2s linear infinite;display:flex;justify-content:center;align-items:center}svg circle{stroke-linecap:round;animation:dash 1.5s ease infinite;stroke:var(--wcm-accent-color)}`;var rC=Object.defineProperty,r_=Object.getOwnPropertyDescriptor;let rO=class extends ec{render(){return B``}};rO.styles=[tP.globalCss,rA],rO=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?r_(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rC(t,r,l),l})([eh("wcm-spinner")],rO);let rk=d`span{font-style:normal;font-family:var(--wcm-font-family);font-feature-settings:var(--wcm-font-feature-settings)}.wcm-xsmall-bold{font-family:var(--wcm-text-xsmall-bold-font-family);font-weight:var(--wcm-text-xsmall-bold-weight);font-size:var(--wcm-text-xsmall-bold-size);line-height:var(--wcm-text-xsmall-bold-line-height);letter-spacing:var(--wcm-text-xsmall-bold-letter-spacing);text-transform:var(--wcm-text-xsmall-bold-text-transform)}.wcm-xsmall-regular{font-family:var(--wcm-text-xsmall-regular-font-family);font-weight:var(--wcm-text-xsmall-regular-weight);font-size:var(--wcm-text-xsmall-regular-size);line-height:var(--wcm-text-xsmall-regular-line-height);letter-spacing:var(--wcm-text-xsmall-regular-letter-spacing);text-transform:var(--wcm-text-xsmall-regular-text-transform)}.wcm-small-thin{font-family:var(--wcm-text-small-thin-font-family);font-weight:var(--wcm-text-small-thin-weight);font-size:var(--wcm-text-small-thin-size);line-height:var(--wcm-text-small-thin-line-height);letter-spacing:var(--wcm-text-small-thin-letter-spacing);text-transform:var(--wcm-text-small-thin-text-transform)}.wcm-small-regular{font-family:var(--wcm-text-small-regular-font-family);font-weight:var(--wcm-text-small-regular-weight);font-size:var(--wcm-text-small-regular-size);line-height:var(--wcm-text-small-regular-line-height);letter-spacing:var(--wcm-text-small-regular-letter-spacing);text-transform:var(--wcm-text-small-regular-text-transform)}.wcm-medium-regular{font-family:var(--wcm-text-medium-regular-font-family);font-weight:var(--wcm-text-medium-regular-weight);font-size:var(--wcm-text-medium-regular-size);line-height:var(--wcm-text-medium-regular-line-height);letter-spacing:var(--wcm-text-medium-regular-letter-spacing);text-transform:var(--wcm-text-medium-regular-text-transform)}.wcm-big-bold{font-family:var(--wcm-text-big-bold-font-family);font-weight:var(--wcm-text-big-bold-weight);font-size:var(--wcm-text-big-bold-size);line-height:var(--wcm-text-big-bold-line-height);letter-spacing:var(--wcm-text-big-bold-letter-spacing);text-transform:var(--wcm-text-big-bold-text-transform)}:host(*){color:var(--wcm-color-fg-1)}.wcm-color-primary{color:var(--wcm-color-fg-1)}.wcm-color-secondary{color:var(--wcm-color-fg-2)}.wcm-color-tertiary{color:var(--wcm-color-fg-3)}.wcm-color-inverse{color:var(--wcm-accent-fill-color)}.wcm-color-accnt{color:var(--wcm-accent-color)}.wcm-color-error{color:var(--wcm-error-color)}`;var rE=Object.defineProperty,rI=Object.getOwnPropertyDescriptor,rT=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?rI(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rE(t,r,l),l};let rP=class extends ec{constructor(){super(...arguments),this.variant="medium-regular",this.color="primary"}render(){let e={"wcm-big-bold":"big-bold"===this.variant,"wcm-medium-regular":"medium-regular"===this.variant,"wcm-small-regular":"small-regular"===this.variant,"wcm-small-thin":"small-thin"===this.variant,"wcm-xsmall-regular":"xsmall-regular"===this.variant,"wcm-xsmall-bold":"xsmall-bold"===this.variant,"wcm-color-primary":"primary"===this.color,"wcm-color-secondary":"secondary"===this.color,"wcm-color-tertiary":"tertiary"===this.color,"wcm-color-inverse":"inverse"===this.color,"wcm-color-accnt":"accent"===this.color,"wcm-color-error":"error"===this.color};return B``}};rP.styles=[tP.globalCss,rk],rT([eu()],rP.prototype,"variant",2),rT([eu()],rP.prototype,"color",2),rP=rT([eh("wcm-text")],rP);let rL=d`button{width:100%;height:100%;border-radius:var(--wcm-button-hover-highlight-border-radius);display:flex;align-items:flex-start}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}button>div{width:80px;padding:5px 0;display:flex;flex-direction:column;align-items:center}wcm-text{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}wcm-wallet-image{height:60px;width:60px;transition:all .2s ease;border-radius:var(--wcm-wallet-icon-border-radius);margin-bottom:5px}.wcm-sublabel{margin-top:2px}`;var rM=Object.defineProperty,rR=Object.getOwnPropertyDescriptor,rS=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?rR(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rM(t,r,l),l};let rj=class extends ec{constructor(){super(...arguments),this.onClick=()=>null,this.name="",this.walletId="",this.label=void 0,this.imageId=void 0,this.installed=!1,this.recent=!1}sublabelTemplate(){return this.recent?B`RECENT`:this.installed?B`INSTALLED`:null}handleClick(){eC.vZ.click({name:"WALLET_BUTTON",walletId:this.walletId}),this.onClick()}render(){var e;return B``}};rj.styles=[tP.globalCss,rL],rS([eu()],rj.prototype,"onClick",2),rS([eu()],rj.prototype,"name",2),rS([eu()],rj.prototype,"walletId",2),rS([eu()],rj.prototype,"label",2),rS([eu()],rj.prototype,"imageId",2),rS([eu({type:Boolean})],rj.prototype,"installed",2),rS([eu({type:Boolean})],rj.prototype,"recent",2),rj=rS([eh("wcm-wallet-button")],rj);let rW=d`:host{display:block}div{overflow:hidden;position:relative;border-radius:inherit;width:100%;height:100%;background-color:var(--wcm-color-overlay)}svg{position:relative;width:100%;height:100%}div::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border-radius:inherit;border:1px solid var(--wcm-color-overlay)}div img{width:100%;height:100%;object-fit:cover;object-position:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;var rN=Object.defineProperty,rD=Object.getOwnPropertyDescriptor,rH=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?rD(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rN(t,r,l),l};let rU=class extends ec{constructor(){super(...arguments),this.walletId="",this.imageId=void 0,this.imageUrl=void 0}render(){var e;let t=(null==(e=this.imageUrl)?void 0:e.length)?this.imageUrl:re.getWalletIcon({id:this.walletId,image_id:this.imageId});return B`${t.length?B`
${this.id}
`:tq.WALLET_PLACEHOLDER}`}};rU.styles=[tP.globalCss,rW],rH([eu()],rU.prototype,"walletId",2),rH([eu()],rU.prototype,"imageId",2),rH([eu()],rU.prototype,"imageUrl",2),rU=rH([eh("wcm-wallet-image")],rU);var rZ=Object.defineProperty,rB=Object.getOwnPropertyDescriptor,rz=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?rB(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rZ(t,r,l),l};let rV=class extends ec{constructor(){super(),this.preload=!0,this.preloadData()}async loadImages(e){try{(null==e?void 0:e.length)&&await Promise.all(e.map(async e=>re.preloadImage(e)))}catch(t){console.info("Unsuccessful attempt at preloading some images",e)}}async preloadListings(){if(eC.mb.state.enableExplorer){await eC.pV.getRecomendedWallets(),eC.IN.setIsDataLoaded(!0);let{recomendedWallets:e}=eC.pV.state,t=e.map(e=>re.getWalletIcon(e));await this.loadImages(t)}else eC.IN.setIsDataLoaded(!0)}async preloadCustomImages(){let e=re.getCustomImageUrls();await this.loadImages(e)}async preloadData(){try{this.preload&&(this.preload=!1,await Promise.all([this.preloadListings(),this.preloadCustomImages()]))}catch(e){console.error(e),eC.dC.openToast("Failed preloading","error")}}};rz([ew()],rV.prototype,"preload",2),rV=rz([eh("wcm-explorer-context")],rV);var rq=Object.defineProperty,rF=Object.getOwnPropertyDescriptor;let rJ=class extends ec{constructor(){super(),this.unsubscribeTheme=void 0,tP.setTheme(),this.unsubscribeTheme=eC.lH.subscribe(tP.setTheme)}disconnectedCallback(){var e;null==(e=this.unsubscribeTheme)||e.call(this)}};rJ=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?rF(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rq(t,r,l),l})([eh("wcm-theme-context")],rJ);let rK=d`@keyframes scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-70px * 9),0,0)}}.wcm-slider{position:relative;overflow-x:hidden;padding:10px 0;margin:0 -20px;width:calc(100% + 40px)}.wcm-track{display:flex;width:calc(70px * 18);animation:scroll 20s linear infinite;opacity:.7}.wcm-track svg{margin:0 5px}wcm-wallet-image{width:60px;height:60px;margin:0 5px;border-radius:var(--wcm-wallet-icon-border-radius)}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-title{display:flex;align-items:center;margin-bottom:10px}.wcm-title svg{margin-right:6px}.wcm-title path{fill:var(--wcm-accent-color)}wcm-modal-footer .wcm-title{padding:0 10px}wcm-button-big{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);filter:drop-shadow(0 0 17px var(--wcm-color-bg-1))}wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-info-footer wcm-text{text-align:center;margin-bottom:15px}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;var rQ=Object.defineProperty,rY=Object.getOwnPropertyDescriptor;let rG=class extends ec{onGoToQrcode(){eC.jL.push("Qrcode")}render(){let{recomendedWallets:e}=eC.pV.state,t=[...e,...e],r=2*eC.Ao.RECOMMENDED_WALLET_AMOUNT;return B`
${tq.MOBILE_ICON}WalletConnect
${[...Array(r)].map((e,r)=>{let o=t[r%t.length];return o?B``:tq.WALLET_PLACEHOLDER})}
Select Wallet
Choose WalletConnect to see supported apps on your device`}};rG.styles=[tP.globalCss,rK],rG=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?rY(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&rQ(t,r,l),l})([eh("wcm-android-wallet-selection")],rG);let rX=d`@keyframes loading{to{stroke-dashoffset:0}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(1px,0,0)}30%,50%,70%{transform:translate3d(-2px,0,0)}40%,60%{transform:translate3d(2px,0,0)}}:host{display:flex;flex-direction:column;align-items:center}div{position:relative;width:110px;height:110px;display:flex;justify-content:center;align-items:center;margin:40px 0 20px 0;transform:translate3d(0,0,0)}svg{position:absolute;width:110px;height:110px;fill:none;stroke:transparent;stroke-linecap:round;stroke-width:2px;top:0;left:0}use{stroke:var(--wcm-accent-color);animation:loading 1s linear infinite}wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:90px;height:90px}wcm-text{margin-bottom:40px}.wcm-error svg{stroke:var(--wcm-error-color)}.wcm-error use{display:none}.wcm-error{animation:shake .4s cubic-bezier(.36,.07,.19,.97) both}.wcm-stale svg,.wcm-stale use{display:none}`;var r0=Object.defineProperty,r1=Object.getOwnPropertyDescriptor,r2=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?r1(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&r0(t,r,l),l};let r5=class extends ec{constructor(){super(...arguments),this.walletId=void 0,this.imageId=void 0,this.isError=!1,this.isStale=!1,this.label=""}svgLoaderTemplate(){var e,t;let r=null!=(t=null==(e=eC.lH.state.themeVariables)?void 0:e["--wcm-wallet-icon-large-border-radius"])?t:tP.getPreset("--wcm-wallet-icon-large-border-radius"),o=0,i=317-1.57*(o=(r.includes("%")?.88*parseInt(r,10):parseInt(r,10))*1.17),l=425-1.8*o;return B``}render(){let e={"wcm-error":this.isError,"wcm-stale":this.isStale};return B`
${this.svgLoaderTemplate()}
${this.isError?"Connection declined":this.label}`}};r5.styles=[tP.globalCss,rX],r2([eu()],r5.prototype,"walletId",2),r2([eu()],r5.prototype,"imageId",2),r2([eu({type:Boolean})],r5.prototype,"isError",2),r2([eu({type:Boolean})],r5.prototype,"isStale",2),r2([eu()],r5.prototype,"label",2),r5=r2([eh("wcm-connector-waiting")],r5);let r4={manualWallets(){var e,t;let{mobileWallets:r,desktopWallets:o}=eC.mb.state,i=null==(e=r4.recentWallet())?void 0:e.id,l=eC.Ao.isMobile()?r:o,a=null==l?void 0:l.filter(e=>i!==e.id);return null!=(t=eC.Ao.isMobile()?null==a?void 0:a.map(({id:e,name:t,links:r})=>({id:e,name:t,mobile:r,links:r})):null==a?void 0:a.map(({id:e,name:t,links:r})=>({id:e,name:t,desktop:r,links:r})))?t:[]},recentWallet:()=>re.getRecentWallet(),recomendedWallets(e=!1){var t;let r=e?void 0:null==(t=r4.recentWallet())?void 0:t.id,{recomendedWallets:o}=eC.pV.state;return o.filter(e=>r!==e.id)}},r3={onConnecting(e){re.goToConnectingView(e)},manualWalletsTemplate(){return r4.manualWallets().map(e=>B``)},recomendedWalletsTemplate(e=!1){return r4.recomendedWallets(e).map(e=>B``)},recentWalletTemplate(){let e=r4.recentWallet();if(e)return B``}},r7=d`.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between}.wcm-desktop-title,.wcm-mobile-title{display:flex;align-items:center}.wcm-mobile-title{justify-content:space-between;margin-bottom:20px;margin-top:-10px}.wcm-desktop-title{margin-bottom:10px;padding:0 10px}.wcm-subtitle{display:flex;align-items:center}.wcm-subtitle:last-child path{fill:var(--wcm-color-fg-3)}.wcm-desktop-title svg,.wcm-mobile-title svg{margin-right:6px}.wcm-desktop-title path,.wcm-mobile-title path{fill:var(--wcm-accent-color)}`;var r6=Object.defineProperty,r8=Object.getOwnPropertyDescriptor;let r9=class extends ec{render(){let{explorerExcludedWalletIds:e,enableExplorer:t}=eC.mb.state,r=r3.manualWalletsTemplate(),o=r3.recomendedWalletsTemplate(),i=[r3.recentWalletTemplate(),...r,...o],l=(i=i.filter(Boolean)).length>4||"ALL"!==e&&t,a=[],n=!!(a=l?i.slice(0,3):i).length;return B`
${tq.MOBILE_ICON}Mobile
${tq.SCAN_ICON}Scan with your wallet
${n?B`
${tq.DESKTOP_ICON}Desktop
${a} ${l?B``:null}
`:null}`}};r9.styles=[tP.globalCss,r7],r9=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?r8(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&r6(t,r,l),l})([eh("wcm-desktop-wallet-selection")],r9);let oe=d`div{background-color:var(--wcm-color-bg-2);padding:10px 20px 15px 20px;border-top:1px solid var(--wcm-color-bg-3);text-align:center}a{color:var(--wcm-accent-color);text-decoration:none;transition:opacity .2s ease-in-out;display:inline}a:active{opacity:.8}@media(hover:hover){a:hover{opacity:.8}}`;var ot=Object.defineProperty,or=Object.getOwnPropertyDescriptor;let oo=class extends ec{render(){let{termsOfServiceUrl:e,privacyPolicyUrl:t}=eC.mb.state;return(null!=e?e:t)?B`
By connecting your wallet to this app, you agree to the app's ${e?B`Terms of Service`:null} ${e&&t?"and":null} ${t?B`Privacy Policy`:null}
`:null}};oo.styles=[tP.globalCss,oe],oo=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?or(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&ot(t,r,l),l})([eh("wcm-legal-notice")],oo);let oi=d`div{display:grid;grid-template-columns:repeat(4,80px);margin:0 -10px;justify-content:space-between;row-gap:10px}`;var ol=Object.defineProperty,oa=Object.getOwnPropertyDescriptor;let on=class extends ec{onQrcode(){eC.jL.push("Qrcode")}render(){let{explorerExcludedWalletIds:e,enableExplorer:t}=eC.mb.state,r=r3.manualWalletsTemplate(),o=r3.recomendedWalletsTemplate(),i=[r3.recentWalletTemplate(),...r,...o],l=(i=i.filter(Boolean)).length>8||"ALL"!==e&&t,a=[],n=!!(a=l?i.slice(0,7):i).length;return B`${n?B`
${a} ${l?B``:null}
`:null}`}};on.styles=[tP.globalCss,oi],on=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?oa(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&ol(t,r,l),l})([eh("wcm-mobile-wallet-selection")],on);let os=d`:host{all:initial}.wcm-overlay{top:0;bottom:0;left:0;right:0;position:fixed;z-index:var(--wcm-z-index);overflow:hidden;display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none;background-color:var(--wcm-overlay-background-color);backdrop-filter:var(--wcm-overlay-backdrop-filter)}@media(max-height:720px) and (orientation:landscape){.wcm-overlay{overflow:scroll;align-items:flex-start;padding:20px 0}}.wcm-active{pointer-events:auto}.wcm-container{position:relative;max-width:360px;width:100%;outline:0;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) var(--wcm-container-border-radius) var(--wcm-container-border-radius);border:1px solid var(--wcm-color-overlay);overflow:hidden}.wcm-card{width:100%;position:relative;border-radius:var(--wcm-container-border-radius);overflow:hidden;box-shadow:0 6px 14px -6px rgba(10,16,31,.12),0 10px 32px -4px rgba(10,16,31,.1),0 0 0 1px var(--wcm-color-overlay);background-color:var(--wcm-color-bg-1);color:var(--wcm-color-fg-1)}@media(max-width:600px){.wcm-container{max-width:440px;border-radius:var(--wcm-background-border-radius) var(--wcm-background-border-radius) 0 0}.wcm-card{border-radius:var(--wcm-container-border-radius) var(--wcm-container-border-radius) 0 0}.wcm-overlay{align-items:flex-end}}@media(max-width:440px){.wcm-container{border:0}}`;var oc=Object.defineProperty,od=Object.getOwnPropertyDescriptor,oh=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?od(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oc(t,r,l),l};let om=class extends ec{constructor(){super(),this.open=!1,this.active=!1,this.unsubscribeModal=void 0,this.abortController=void 0,this.unsubscribeModal=eC.D8.subscribe(e=>{e.open?this.onOpenModalEvent():this.onCloseModalEvent()})}disconnectedCallback(){var e;null==(e=this.unsubscribeModal)||e.call(this)}get overlayEl(){return re.getShadowRootElement(this,".wcm-overlay")}get containerEl(){return re.getShadowRootElement(this,".wcm-container")}toggleBodyScroll(e){if(document.querySelector("body")){if(e){let e=document.getElementById("wcm-styles");null==e||e.remove()}else document.head.insertAdjacentHTML("beforeend",'')}}onCloseModal(e){e.target===e.currentTarget&&eC.D8.close()}onOpenModalEvent(){this.toggleBodyScroll(!1),this.addKeyboardEvents(),this.open=!0,setTimeout(async()=>{let e=re.isMobileAnimation()?{y:["50vh","0vh"]}:{scale:[.98,1]};await Promise.all([tx(this.overlayEl,{opacity:[0,1]},{delay:.1,duration:.2}).finished,tx(this.containerEl,e,{delay:.1,duration:.2}).finished]),this.active=!0},0)}async onCloseModalEvent(){this.toggleBodyScroll(!0),this.removeKeyboardEvents();let e=re.isMobileAnimation()?{y:["0vh","50vh"]}:{scale:[1,.98]};await Promise.all([tx(this.overlayEl,{opacity:[1,0]},{duration:.2}).finished,tx(this.containerEl,e,{duration:.2}).finished]),this.containerEl.removeAttribute("style"),this.active=!1,this.open=!1}addKeyboardEvents(){this.abortController=new AbortController,window.addEventListener("keydown",e=>{var t;"Escape"===e.key?eC.D8.close():"Tab"!==e.key||(null==(t=e.target)?void 0:t.tagName.includes("wcm-"))||this.containerEl.focus()},this.abortController),this.containerEl.focus()}removeKeyboardEvents(){var e;null==(e=this.abortController)||e.abort(),this.abortController=void 0}render(){let e={"wcm-overlay":!0,"wcm-active":this.active};return B`
${this.open?B`
`:null}
`}};om.styles=[tP.globalCss,os],oh([ew()],om.prototype,"open",2),oh([ew()],om.prototype,"active",2),om=oh([eh("wcm-modal")],om);let op=d`div{display:flex;margin-top:15px}slot{display:inline-block;margin:0 5px}wcm-button{margin:0 5px}`;var ou=Object.defineProperty,ow=Object.getOwnPropertyDescriptor,og=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?ow(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&ou(t,r,l),l};let ov=class extends ec{constructor(){super(...arguments),this.isMobile=!1,this.isDesktop=!1,this.isWeb=!1,this.isRetry=!1}onMobile(){eC.Ao.isMobile()?eC.jL.replace("MobileConnecting"):eC.jL.replace("MobileQrcodeConnecting")}onDesktop(){eC.jL.replace("DesktopConnecting")}onWeb(){eC.jL.replace("WebConnecting")}render(){return B`
${this.isRetry?B``:null} ${this.isMobile?B`Mobile`:null} ${this.isDesktop?B`Desktop`:null} ${this.isWeb?B`Web`:null}
`}};ov.styles=[tP.globalCss,op],og([eu({type:Boolean})],ov.prototype,"isMobile",2),og([eu({type:Boolean})],ov.prototype,"isDesktop",2),og([eu({type:Boolean})],ov.prototype,"isWeb",2),og([eu({type:Boolean})],ov.prototype,"isRetry",2),ov=og([eh("wcm-platform-selection")],ov);let of=d`button{display:flex;flex-direction:column;padding:5px 10px;border-radius:var(--wcm-button-hover-highlight-border-radius);height:100%;justify-content:flex-start}.wcm-icons{width:60px;height:60px;display:flex;flex-wrap:wrap;padding:7px;border-radius:var(--wcm-wallet-icon-border-radius);justify-content:space-between;align-items:center;margin-bottom:5px;background-color:var(--wcm-color-bg-2);box-shadow:inset 0 0 0 1px var(--wcm-color-overlay)}button:active{background-color:var(--wcm-color-overlay)}@media(hover:hover){button:hover{background-color:var(--wcm-color-overlay)}}.wcm-icons img{width:21px;height:21px;object-fit:cover;object-position:center;border-radius:calc(var(--wcm-wallet-icon-border-radius)/ 2);border:1px solid var(--wcm-color-overlay)}.wcm-icons svg{width:21px;height:21px}.wcm-icons img:nth-child(1),.wcm-icons img:nth-child(2),.wcm-icons svg:nth-child(1),.wcm-icons svg:nth-child(2){margin-bottom:4px}wcm-text{width:100%;text-align:center}#wallet-placeholder-fill{fill:var(--wcm-color-bg-3)}#wallet-placeholder-dash{stroke:var(--wcm-color-overlay)}`;var ob=Object.defineProperty,oy=Object.getOwnPropertyDescriptor;let ox=class extends ec{onClick(){eC.jL.push("WalletExplorer")}render(){let{recomendedWallets:e}=eC.pV.state,t=[...e,...r4.manualWallets()].reverse().slice(0,4);return B``}};ox.styles=[tP.globalCss,of],ox=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?oy(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&ob(t,r,l),l})([eh("wcm-view-all-wallets-button")],ox);let o$=d`.wcm-qr-container{width:100%;display:flex;justify-content:center;align-items:center;aspect-ratio:1/1}`;var oA=Object.defineProperty,oC=Object.getOwnPropertyDescriptor,o_=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?oC(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oA(t,r,l),l};let oO=class extends ec{constructor(){super(),this.walletId="",this.imageId="",this.uri="",setTimeout(()=>{let{walletConnectUri:e}=eC.IN.state;this.uri=e},0)}get overlayEl(){return re.getShadowRootElement(this,".wcm-qr-container")}render(){return B`
${this.uri?B``:B``}
`}};oO.styles=[tP.globalCss,o$],o_([eu()],oO.prototype,"walletId",2),o_([eu()],oO.prototype,"imageId",2),o_([ew()],oO.prototype,"uri",2),oO=o_([eh("wcm-walletconnect-qr")],oO);var ok=Object.defineProperty,oE=Object.getOwnPropertyDescriptor;let oI=class extends ec{viewTemplate(){return eC.Ao.isAndroid()&&!eC.Ao.isTelegram()?B``:eC.Ao.isMobile()?B``:B``}render(){return B`${this.viewTemplate()}`}};oI.styles=[tP.globalCss],oI=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?oE(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&ok(t,r,l),l})([eh("wcm-connect-wallet-view")],oI);let oT=d`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;var oP=Object.defineProperty,oL=Object.getOwnPropertyDescriptor,oM=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?oL(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oP(t,r,l),l};let oR=class extends ec{constructor(){super(),this.isError=!1,this.openDesktopApp()}onFormatAndRedirect(e){let{desktop:t,name:r}=eC.Ao.getWalletRouterData(),o=null==t?void 0:t.native,i=null==t?void 0:t.universal;if(o){let t=eC.Ao.formatNativeUrl(o,e,r);eC.Ao.openHref(t,"_self")}else if(i){let t=eC.Ao.formatUniversalUrl(i,e,r);eC.Ao.openHref(t,"_blank")}}openDesktopApp(){let{walletConnectUri:e}=eC.IN.state,t=eC.Ao.getWalletRouterData();re.setRecentWallet(t),e&&this.onFormatAndRedirect(e)}render(){let{name:e,id:t,image_id:r}=eC.Ao.getWalletRouterData(),{isMobile:o,isWeb:i}=re.getCachedRouterWalletPlatforms();return B`${`Connection can continue loading if ${e} is not installed on your device`}Retry`}};oR.styles=[tP.globalCss,oT],oM([ew()],oR.prototype,"isError",2),oR=oM([eh("wcm-desktop-connecting-view")],oR);let oS=d`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}wcm-button{margin-top:15px}`;var oj=Object.defineProperty,oW=Object.getOwnPropertyDescriptor;let oN=class extends ec{onInstall(e){e&&eC.Ao.openHref(e,"_blank")}render(){let{name:e,id:t,image_id:r,homepage:o}=eC.Ao.getWalletRouterData();return B`${`Download ${e} to continue. If multiple browser extensions are installed, disable non ${e} ones and try again`}Download`}};oN.styles=[tP.globalCss,oS],oN=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?oW(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oj(t,r,l),l})([eh("wcm-install-wallet-view")],oN);let oD=d`wcm-wallet-image{border-radius:var(--wcm-wallet-icon-large-border-radius);width:96px;height:96px;margin-bottom:20px}wcm-info-footer{display:flex;width:100%}.wcm-app-store{justify-content:space-between}.wcm-app-store wcm-wallet-image{margin-right:10px;margin-bottom:0;width:28px;height:28px;border-radius:var(--wcm-wallet-icon-small-border-radius)}.wcm-app-store div{display:flex;align-items:center}.wcm-app-store wcm-button{margin-right:-10px}.wcm-note{flex-direction:column;align-items:center;padding:5px 0}.wcm-note wcm-text{text-align:center}wcm-platform-selection{margin-top:-15px}.wcm-note wcm-text{margin-top:15px}.wcm-note wcm-text span{color:var(--wcm-accent-color)}`;var oH=Object.defineProperty,oU=Object.getOwnPropertyDescriptor,oZ=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?oU(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oH(t,r,l),l};let oB=class extends ec{constructor(){super(),this.isError=!1,this.openMobileApp()}onFormatAndRedirect(e,t=!1){let{mobile:r,name:o}=eC.Ao.getWalletRouterData(),i=null==r?void 0:r.native,l=null==r?void 0:r.universal,a=eC.Ao.isTelegram()?"_blank":"_self";if(e=eC.Ao.isTelegram()&&eC.Ao.isAndroid()?encodeURIComponent(e):e,i&&!t){let t=eC.Ao.formatNativeUrl(i,e,o);eC.Ao.openHref(t,a)}else if(l){let t=eC.Ao.formatUniversalUrl(l,e,o);eC.Ao.openHref(t,a)}}openMobileApp(e=!1){let{walletConnectUri:t}=eC.IN.state,r=eC.Ao.getWalletRouterData();t&&this.onFormatAndRedirect(t,e),re.setRecentWallet(r)}onGoToAppStore(e){e&&eC.Ao.openHref(e,"_blank")}render(){let{name:e,id:t,image_id:r,app:o,mobile:i}=eC.Ao.getWalletRouterData(),{isWeb:l}=re.getCachedRouterWalletPlatforms(),a=null==o?void 0:o.ios,n=null==i?void 0:i.universal;return B`Retry${n?B`Still doesn't work? Try this alternate link`:null}
${`Get ${e}`}
App Store
`}};oB.styles=[tP.globalCss,oD],oZ([ew()],oB.prototype,"isError",2),oB=oZ([eh("wcm-mobile-connecting-view")],oB);let oz=d`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;var oV=Object.defineProperty,oq=Object.getOwnPropertyDescriptor;let oF=class extends ec{render(){let{name:e,id:t,image_id:r}=eC.Ao.getWalletRouterData(),{isDesktop:o,isWeb:i}=re.getCachedRouterWalletPlatforms();return B`${`Scan this QR Code with your phone's camera or inside ${e} app`}`}};oF.styles=[tP.globalCss,oz],oF=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?oq(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oV(t,r,l),l})([eh("wcm-mobile-qr-connecting-view")],oF);var oJ=Object.defineProperty,oK=Object.getOwnPropertyDescriptor;let oQ=class extends ec{render(){return B``}};oQ.styles=[tP.globalCss],oQ=((e,t,r,o)=>{for(var i,l=o>1?void 0:o?oK(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oJ(t,r,l),l})([eh("wcm-qrcode-view")],oQ);let oY=d`wcm-modal-content{height:clamp(200px,60vh,600px);display:block;overflow:scroll;scrollbar-width:none;position:relative;margin-top:1px}.wcm-grid{display:grid;grid-template-columns:repeat(4,80px);justify-content:space-between;margin:-15px -10px;padding-top:20px}wcm-modal-content::after,wcm-modal-content::before{content:'';position:fixed;pointer-events:none;z-index:1;width:100%;height:20px;opacity:1}wcm-modal-content::before{box-shadow:0 -1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(var(--wcm-color-bg-1),rgba(255,255,255,0))}wcm-modal-content::after{box-shadow:0 1px 0 0 var(--wcm-color-bg-1);background:linear-gradient(rgba(255,255,255,0),var(--wcm-color-bg-1));top:calc(100% - 20px)}wcm-modal-content::-webkit-scrollbar{display:none}.wcm-placeholder-block{display:flex;justify-content:center;align-items:center;height:100px;overflow:hidden}.wcm-empty,.wcm-loading{display:flex}.wcm-loading .wcm-placeholder-block{height:100%}.wcm-end-reached .wcm-placeholder-block{height:0;opacity:0}.wcm-empty .wcm-placeholder-block{opacity:1;height:100%}wcm-wallet-button{margin:calc((100% - 60px)/ 3) 0}`;var oG=Object.defineProperty,oX=Object.getOwnPropertyDescriptor,o0=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?oX(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&oG(t,r,l),l};let o1=class extends ec{constructor(){super(...arguments),this.loading=!eC.pV.state.wallets.listings.length,this.firstFetch=!eC.pV.state.wallets.listings.length,this.search="",this.endReached=!1,this.intersectionObserver=void 0,this.searchDebounce=re.debounce(e=>{e.length>=1?(this.firstFetch=!0,this.endReached=!1,this.search=e,eC.pV.resetSearch(),this.fetchWallets()):this.search&&(this.search="",this.endReached=this.isLastPage(),eC.pV.resetSearch())})}firstUpdated(){this.createPaginationObserver()}disconnectedCallback(){var e;null==(e=this.intersectionObserver)||e.disconnect()}get placeholderEl(){return re.getShadowRootElement(this,".wcm-placeholder-block")}createPaginationObserver(){this.intersectionObserver=new IntersectionObserver(([e])=>{e.isIntersecting&&!(this.search&&this.firstFetch)&&this.fetchWallets()}),this.intersectionObserver.observe(this.placeholderEl)}isLastPage(){let{wallets:e,search:t}=eC.pV.state,{listings:r,total:o}=this.search?t:e;return o<=40||r.length>=o}async fetchWallets(){var e;let{wallets:t,search:r}=eC.pV.state,{listings:o,total:i,page:l}=this.search?r:t;if(!this.endReached&&(this.firstFetch||i>40&&o.lengthre.getWalletIcon(e));await Promise.all([...o.map(async e=>re.preloadImage(e)),eC.Ao.wait(300)]),this.endReached=this.isLastPage()}catch(e){console.error(e),eC.dC.openToast(re.getErrorMessage(e),"error")}finally{this.loading=!1,this.firstFetch=!1}}onConnect(e){eC.Ao.isAndroid()?re.handleMobileLinking(e):re.goToConnectingView(e)}onSearchChange(e){let{value:t}=e.target;this.searchDebounce(t)}render(){let{wallets:e,search:t}=eC.pV.state,{listings:r}=this.search?t:e,o=this.loading&&!r.length,i=this.search.length>=3,l=r3.manualWalletsTemplate(),a=r3.recomendedWalletsTemplate(!0);i&&(l=l.filter(({values:e})=>re.caseSafeIncludes(e[0],this.search)),a=a.filter(({values:e})=>re.caseSafeIncludes(e[0],this.search)));let n=!this.loading&&!r.length&&!a.length,s={"wcm-loading":o,"wcm-end-reached":this.endReached||!this.loading,"wcm-empty":n};return B`
${o?null:l} ${o?null:a} ${o?null:r.map(e=>B`${e?B``:null}`)}
${n?B`No results found`:null} ${!n&&this.loading?B``:null}
`}};o1.styles=[tP.globalCss,oY],o0([ew()],o1.prototype,"loading",2),o0([ew()],o1.prototype,"firstFetch",2),o0([ew()],o1.prototype,"search",2),o0([ew()],o1.prototype,"endReached",2),o1=o0([eh("wcm-wallet-explorer-view")],o1);let o2=d`wcm-info-footer{flex-direction:column;align-items:center;display:flex;width:100%;padding:5px 0}wcm-text{text-align:center}`;var o5=Object.defineProperty,o4=Object.getOwnPropertyDescriptor,o3=(e,t,r,o)=>{for(var i,l=o>1?void 0:o?o4(t,r):t,a=e.length-1;a>=0;a--)(i=e[a])&&(l=(o?i(t,r,l):i(l))||l);return o&&l&&o5(t,r,l),l};let o7=class extends ec{constructor(){super(),this.isError=!1,this.openWebWallet()}onFormatAndRedirect(e){let{desktop:t,name:r}=eC.Ao.getWalletRouterData(),o=null==t?void 0:t.universal;if(o){let t=eC.Ao.formatUniversalUrl(o,e,r);eC.Ao.openHref(t,"_blank")}}openWebWallet(){let{walletConnectUri:e}=eC.IN.state,t=eC.Ao.getWalletRouterData();re.setRecentWallet(t),e&&this.onFormatAndRedirect(e)}render(){let{name:e,id:t,image_id:r}=eC.Ao.getWalletRouterData(),{isMobile:o,isDesktop:i}=re.getCachedRouterWalletPlatforms(),l=eC.Ao.isMobile();return B`${`${e} web app has opened in a new tab. Go there, accept the connection, and come back`}Retry`}};o7.styles=[tP.globalCss,o2],o3([ew()],o7.prototype,"isError",2),o7=o3([eh("wcm-web-connecting-view")],o7)}}]);