*/const oe=window,mr=oe.ShadowRoot&&(oe.ShadyCSS===void 0||oe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fr=Symbol(),Ar=new WeakMap;let oo=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==fr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o;const r=this.t;if(mr&&t===void 0){const n=r!==void 0&&r.length===1;n&&(t=Ar.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ar.set(r,t))}return t}toString(){return this.cssText}};const Qo=e=>new oo(typeof e=="string"?e:e+"",void 0,fr),I=(e,...t)=>{const r=e.length===1?e[0]:t.reduce((n,o,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+e[i+1],e[0]);return new oo(r,e,fr)},Xo=(e,t)=>{mr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{const n=document.createElement("style"),o=oe.litNonce;o!==void 0&&n.setAttribute("nonce",o),n.textContent=r.cssText,e.appendChild(n)})},Or=mr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(const n of t.cssRules)r+=n.cssText;return Qo(r)})(e):e;/**
*/const J=pn(class extends gn{constructor(e){var t;if(super(e),e.type!==fn.ATTRIBUTE||e.name!=="class"||((t=e.strings)===null||t===void 0?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,n;if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(constiint)t[i]&&!(!((r=this.nt)===null||r===void0)&&r.has(i))&&this.it.add(i);returnthis.render(t)}consto=e.element.classList;this.it.forEach(i=>{iint||(o.remove(i),this.it.delete(i))});for(constiint){consts=!!t[i];s===this.it.has(i)||!((n=this.nt)===null||n===void0)&&n.has(i)||(s?(o.add(i),this.it.add(i)):(o.remove(i),this.it.delete(i)))}returnmt}}),Te=newWeakMap;functionho(e){returnTe.has(e)||Te.set(e,{transforms:[],values:newMap}),Te.get(e)}functionwn(e,t){returne.has(t)||e.set(t,newUo),e.get(t)}constvn=["","X","Y","Z"],bn=["translate","scale","rotate","skew"],le={x:"translateX",y:"translateY",z:"translateZ"},Wr={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:e=>e+"deg"},yn={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:e=>e+"px"},rotate:Wr,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:et},skew:Wr},kt=newMap,pr=e=>`--motion-${e}`,ae=["x","y","z"];bn.forEach(e=>{vn.forEach(t=>{ae.push(e+t),kt.set(pr(e+t),yn[e])})});const$n=(e,t)=>ae.indexOf(e)-ae.indexOf(t),xn=newSet(ae),uo=e=>xn.has(e),_n=(e,t)=>{le[t]&&(t=le[t]);const{transforms:r}=ho(e);jo(r,t),e.style.transform=Cn(r)},Cn=e=>e.sort($n).reduce(En,"").trim(),En=(e,t)=>`${e}${t}(var(${pr(t)}))`,Ve=e=>e.startsWith("--"),Ur=newSet;functionAn(e){if(!Ur.has(e)){Ur.add(e);try{const{syntax:t,initialValue:r}=kt.has(e)?kt.get(e):{};CSS.registerProperty({name:e,inherits:!1,syntax:t,initialValue:r})}catch{}}}constMe=(e,t)=>document.createElement("div").animate(e,t),jr={cssRegisterProperty:()=>typeofCSS<"u"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Me({opacity:[1]})}catch{return!1}return!0},finished:()=>!!Me({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Me({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},Se={},vt={};for(consteinjr)vt[e]=()=>(Se[e]===void0&&(Se[e]=jr[e]()),Se[e]);constOn=.015,Pn=(e,t)=>{letr="";constn=Math.round(t/On);for(leto=0;o<n;o++)r+=e(ur(0,n-1,o))+", ";returnr.substring(0,r.length-2)},kr=(e,t)=>xt(e)?vt.linearEasing()?`linear(${Pn(e,t)})`:V.easing:to(e)?In(e):e,In=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`;functionTn(e,t){for(letr=0;r<e.length;r++)e[r]===null&&(e[r]=r?e[r-1]:t());returne}constMn=e=>Array.isArray(e)?e:[e];functionZe(e){returnle[e]&&(e=le[e]),uo(e)?pr(e):e}constXt={get:(e,t)=>{t=Ze(t);letr=Ve(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!r&&r!==0){constn=kt.get(t);n&&(r=n.initialValue)}returnr},set:(e,t,r)=>{t=Ze(t),Ve(t)?e.style.setProperty(t,r):e.style[t]=r}};functionmo(e,t=!0){if(!(!e||e.playState==="finished"))try{e.stop?e.stop():(t&&e.commitStyles(),e.cancel())}catch{}}functionSn(e,t){varr;letn=(t==null?void0:t.toDefaultUnit)||et;consto=e[e.length-1];if(Vo(o)){consti=((r=o.match(/(-?[\d.]+)([a-z%]*)/))===null||r===void0?void0:r[2])||"";i&&(n=s=>s+i)}returnn}functionRn(){returnwindow.__MOTION_DEV_TOOLS_RECORD}functionDn(e,t,r,n={},o){consti=Rn(),s=n.record!==!1&&i;letl,{duration:a=V.duration,delay:c=V.delay,endDelay:d=V.endDelay,repeat:y=V.repeat,easing:h=V.easing,persist:p=!1,direction:g,offset:f,allowWebkitAcceleration:O=!1,autoplay:m=!0}=n;constb=ho(e),w=uo(t);letv=vt.waapi();w&&_n(e,t);constC=Ze(t),S=wn(b.values,C),R=kt.get(C);returnmo(S.animation,!(ke(h)&&S.generator)&&n.record!==!1),()=>{constU=()=>{varD,Y;return(Y=(D=Xt.get(e,C))!==null&&D!==void0?D:R==null?void0:R.initialValue)!==null&&Y!==void0?Y:0};letM=Tn(Mn(r),U);constz=Sn(M,R);if(ke(h)){constD=h.createAnimation(M,t!=="opacity",U,C
`);const s=Ai(t,r,o),l=ye.getSymbolSize(t),a=new pi(l);return $i(a,t),xi(a),_i(a,t),Ne(a,r,0),t>=7&&Ci(a,t),Ei(a,s),isNaN(n)&&(n=qe.getBestMask(a,Ne.bind(null,a,r))),qe.applyMask(n,a),Ne(a,r,n),{modules:a,version:t,errorCorrectionLevel:r,maskPattern:n,segments:o}}po.create=function(t,r){if(typeof t>"u"||t==="")throw new Error("No input text");let n=De.M,o,i;return typeof r<"u"&&(n=De.from(r.errorCorrectionLevel,De.M),o=de.from(r.version),i=qe.from(r.maskPattern),r.toSJISFunc&&ye.setToSJISFunction(r.toSJISFunc)),Pi(t,o,n,i)};var Oo={},br={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(i){return[i,i]}))),n.length===6&&n.push("F","F");const o=parseInt(n.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const o=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,i=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:i,scale:i?4:s,margin:o,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,o){return o.width&&o.width>=n+o.margin*2?o.width/(n+o.margin*2):o.scale},e.getImageWidth=function(n,o){const i=e.getScale(n,o);return Math.floor((n+o.margin*2)*i)},e.qrToImageData=function(n,o,i){const s=o.modules.size,l=o.modules.data,a=e.getScale(s,i),c=Math.floor((s+i.margin*2)*a),d=i.margin*a,y=[i.color.light,i.color.dark];for(let h=0;h<c;h++)for(let p=0;p<c;p++){let g=(h*c+p)*4,f=i.color.light;if(h>=d&&p>=d&&h<c-d&&p<c-d){const O=Math.floor((h-d)/a),m=Math.floor((p-d)/a);f=y[l[O*s+m]?1:0]}n[g++]=f.r,n[g++]=f.g,n[g++]=f.b,n[g]=f.a}}})(br);(function(e){const t=br;function r(o,i,s){o.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(i,s,l){let a=l,c=s;typeof a>"u"&&(!s||!s.getContext)&&(a=s,s=void 0),s||(c=n()),a=t.getOptions(a);const d=t.getImageWidth(i.modules.size,a),y=c.getContext("2d"),h=y.createImageData(d,d);return t.qrToImageData(h.data,i,a),r(y,c,d),y.putImageData(h,0,0),c},e.renderToDataURL=function(i,s,l){let a=l;typeof a>"u"&&(!s||!s.getContext)&&(a=s,s=void 0),a||(a={});const c=e.render(i,s,a),d=a.type||"image/png",y=a.rendererOpts||{};return c.toDataURL(d,y.quality)}})(Oo);var Po={};const Ii=br;function Fr(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Be(e,t,r){let n=e+t;return typeof r<"u"&&(n+=" "+r),n}function Ti(e,t,r){let n="",o=0,i=!1,s=0;for(let l=0;l<e.length;l++){const a=Math.floor(l%t),c=Math.floor(l/t);!a&&!i&&(i=!0),e[l]?(s++,l>0&&a>0&&e[l-1]||(n+=i?Be("M",a+r,.5+c+r):Be("m",o,0),o=0,i=!1),a+1<t&&e[l+1]||(n+=Be("h",s),s=0)):o++}return n}Po.render=function(t,r,n){const o=Ii.getOptions(r),i=t.modules.size,s=t.modules.data,l=i+o.margin*2,a=o.color.light.a?"<path "+Fr(o.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",c="<path "+Fr(o.color.dark,"stroke")+' d="'+Ti(s,i,o.margin)+'"/>',d='viewBox="0 0 '+l+" "+l+'"',h='<svg xmlns="http://www.w3.org/2000/svg" '+(o.width?'width="'+o.width+'" height="'+o.width+'" ':"")+d+' shape-rendering="crispEdges">'+a+c+`</svg>
`;return typeof n=="function"&&n(null,h),h};const Mi=Vn,Ge=po,Io=Oo,Si=Po;function yr(e,t,r,n,o){const i=[].slice.call(arguments,1),s=i.length,l=typeof i[s-1]=="function";if(!l&&!Mi())throw new Error("Callback required as last argument");if(l){if(s<2)throw new Error("Too few arguments provided");s===2?(o=r,r=t,t=n=void 0):s===3&&(t.getContext&&typeof o>"u"?(o=n,n=void 0):(o=n,n=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=n=void 0):s===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(a,c){try{const d=Ge.create(r,n);a(e(d,t,n))}catch(d){c(d)}})}try{const a=Ge.create(r,n);o(null,e(a,t,n))}catch(a){o(a)}}qt.create=Ge.create;qt.toCanvas=yr.bind(null,Io.render);qt.toDataURL=yr.bind(null,Io.renderToDataURL);qt.toString=yr.bind(null,function(e,t,r){return Si.render(e,r)});var Ri=Object.defineProperty,Vr=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable,Zr=(e,t,r)=>t in e?Ri(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,We=(e,t)=>{for(var r in t||(t={}))Di.call(t,r)&&Zr(e,r,t[r]);if(Vr)for(var r of Vr(t))Li.call(t,r)&&Zr(e,r,t[r]);return e};function Ni(){var e;const t=(e=$t.state.themeMode)!=null?e:"dark",n={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)"}}[t];return{"--wcm-color-fg-1":n.foreground[1],"--wcm-color-fg-2":n.foreground[2],"--wcm-color-fg-3":n.foreground[3],"--wcm-color-bg-1":n.background[1],"--wcm-color-bg-2":n.background[2],"--wcm-color-bg-3":n.background[3],"--wcm-color-overlay":n.overlay}}function Kr(){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