"use strict";(self.webpackChunkfrog=self.webpackChunkfrog||[]).push([[4906],{9784:(t,e,i)=>{i.d(e,{p:()=>u});var o=i(12618),r=i(25707),a=(i(34766),i(85886)),s=i(75249),n=i(15181);i(60333);const l=o.AH` :host { position: relative; display: block; } `;var c=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let u=class extends o.WF{constructor(){super(...arguments),this.length=6,this.otp="",this.values=Array.from({length:this.length}).map((()=>"")),this.numerics=[],this.shouldInputBeEnabled=t=>this.values.slice(0,t).every((t=>""!==t)),this.handleKeyDown=(t,e)=>{const i=t.target,o=this.getInputElement(i);if(!o)return;["ArrowLeft","ArrowRight","Shift","Delete"].includes(t.key)&&t.preventDefault();const r=o.selectionStart;switch(t.key){case"ArrowLeft":r&&o.setSelectionRange(r+1,r+1),this.focusInputField("prev",e);break;case"ArrowRight":case"Shift":this.focusInputField("next",e);break;case"Delete":case"Backspace":""===o.value?this.focusInputField("prev",e):this.updateInput(o,e,"")}},this.focusInputField=(t,e)=>{if("next"===t){const t=e+1;if(!this.shouldInputBeEnabled(t))return;const i=this.numerics[t-1?t:e],o=i?this.getInputElement(i):void 0;o&&o.focus()}}}firstUpdated(){this.otp&&(this.values=this.otp.split(""));const t=this.shadowRoot?.querySelectorAll("wui-input-numeric");t&&(this.numerics=Array.from(t)),this.numerics[0]?.focus()}render(){return o.qy` ${Array.from({length:this.length}).map(((t,e)=>o.qy` this.handleInput(t,e)} @click=${t=>this.selectInput(t)} @keydown=${t=>this.handleKeyDown(t,e)} .disabled=${!this.shouldInputBeEnabled(e)} .value=${this.values[e]||""} > `))} `}updateInput(t,e,i){const o=this.numerics[e],r=t||(o?this.getInputElement(o):void 0);r&&(r.value=i,this.values=this.values.map(((t,o)=>o===e?i:t)))}selectInput(t){const e=t.target;if(e){const t=this.getInputElement(e);t?.select()}}handleInput(t,e){const i=t.target,o=this.getInputElement(i);if(o){const i=o.value;if("insertFromPaste"===t.inputType)this.handlePaste(o,i,e);else{s.Z.isNumber(i)&&t.data?(this.updateInput(o,e,t.data),this.focusInputField("next",e)):this.updateInput(o,e,"")}}this.dispatchInputChangeEvent()}handlePaste(t,e,i){const o=e[0];if(o&&s.Z.isNumber(o)){this.updateInput(t,i,o);const r=e.substring(1);if(i+1{i.d(e,{h:()=>c});var o=i(12618),r=i(25707),a=(i(24830),i(53576),i(65548),i(34766),i(85886)),s=i(15181);i(94322);const n=o.AH` :host { display: flex; gap: var(--wui-spacing-xs); border-radius: var(--wui-border-radius-3xl); border: 1px solid var(--wui-color-gray-glass-002); background: var(--wui-color-gray-glass-002); padding: var(--wui-spacing-2xs) var(--wui-spacing-xs) var(--wui-spacing-2xs) var(--wui-spacing-s); align-items: center; } wui-avatar, wui-icon, wui-image { width: 32px; height: 32px; border: 1px solid var(--wui-color-gray-glass-002); border-radius: var(--wui-border-radius-3xl); box-shadow: 0 0 0 2px var(--wui-color-gray-glass-002); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.text="",this.address="",this.isAddress=!1}render(){return o.qy`${this.text} ${this.imageTemplate()}`}imageTemplate(){return this.isAddress?o.qy``:this.imageSrc?o.qy``:o.qy``}};c.styles=[a.W5,a.fD,n],l([(0,r.MZ)()],c.prototype,"text",void 0),l([(0,r.MZ)()],c.prototype,"address",void 0),l([(0,r.MZ)()],c.prototype,"imageSrc",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"isAddress",void 0),c=l([(0,s.E)("wui-preview-item")],c)},29374:(t,e,i)=>{i.d(e,{v:()=>p});var o=i(12618),r=i(25707),a=i(35748),s=i(87792),n=(i(24830),i(53576),i(65548),i(34766),i(85886)),l=i(75249),c=i(15181);i(94322),i(7150);const u=o.AH` button { background-color: var(--wui-color-gray-glass-002); border-radius: var(--wui-border-radius-3xl); border: 1px solid var(--wui-color-gray-glass-002); padding: var(--wui-spacing-xs) var(--wui-spacing-s) var(--wui-spacing-xs) var(--wui-spacing-xs); position: relative; } wui-avatar { width: 32px; height: 32px; box-shadow: 0 0 0 0; outline: 3px solid var(--wui-color-gray-glass-005); } wui-icon-box, wui-image { width: 16px; height: 16px; border-radius: var(--wui-border-radius-3xl); position: absolute; left: 26px; top: 24px; } wui-image { outline: 2px solid var(--wui-color-bg-125); } wui-icon-box { outline: 2px solid var(--wui-color-bg-200); background-color: var(--wui-color-bg-250); } `;var d=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let p=class extends o.WF{constructor(){super(...arguments),this.avatarSrc=void 0,this.profileName="",this.address="",this.icon="mail"}render(){const t=s.WB.state.activeChain,e=s.iT.getConnectedConnectorId(t)===a.oU.CONNECTOR_ID.AUTH;return o.qy``}handleClick(t){t.target instanceof HTMLElement&&"copy-address"===t.target.id?this.onCopyClick?.(t):this.onProfileClick?.(t)}getIconTemplate(t){return o.qy` `}};p.styles=[n.W5,n.fD,u],d([(0,r.MZ)()],p.prototype,"avatarSrc",void 0),d([(0,r.MZ)()],p.prototype,"profileName",void 0),d([(0,r.MZ)()],p.prototype,"address",void 0),d([(0,r.MZ)()],p.prototype,"icon",void 0),d([(0,r.MZ)()],p.prototype,"onProfileClick",void 0),d([(0,r.MZ)()],p.prototype,"onCopyClick",void 0),p=d([(0,c.E)("wui-profile-button-v2")],p)},5045:(t,e,i)=>{i.d(e,{j:()=>u});var o=i(12618),r=i(25707),a=(i(24830),i(53576),i(65548),i(34766),i(85886)),s=i(75249),n=i(15181);i(94322),i(7150);const l=o.AH` button { background-color: var(--wui-color-gray-glass-002); border-radius: var(--wui-border-radius-3xl); border: 1px solid var(--wui-color-gray-glass-002); padding: var(--wui-spacing-xs) var(--wui-spacing-s) var(--wui-spacing-xs) var(--wui-spacing-xs); position: relative; } wui-avatar { width: 32px; height: 32px; box-shadow: 0 0 0 0; outline: 3px solid var(--wui-color-gray-glass-005); } wui-icon-box, wui-image { width: 16px; height: 16px; border-radius: var(--wui-border-radius-3xl); position: absolute; left: 26px; top: 24px; } wui-image { outline: 2px solid var(--wui-color-bg-125); } wui-icon-box { outline: 2px solid var(--wui-color-bg-200); background-color: var(--wui-color-bg-250); } `;var c=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let u=class extends o.WF{constructor(){super(...arguments),this.networkSrc=void 0,this.avatarSrc=void 0,this.profileName="",this.address="",this.icon="chevronBottom"}render(){return o.qy``}networkImageTemplate(){return this.networkSrc?o.qy``:o.qy` `}};u.styles=[a.W5,a.fD,l],c([(0,r.MZ)()],u.prototype,"networkSrc",void 0),c([(0,r.MZ)()],u.prototype,"avatarSrc",void 0),c([(0,r.MZ)()],u.prototype,"profileName",void 0),c([(0,r.MZ)()],u.prototype,"address",void 0),c([(0,r.MZ)()],u.prototype,"icon",void 0),u=c([(0,n.E)("wui-profile-button")],u)},79974:(t,e,i)=>{i.d(e,{R:()=>c});var o=i(12618),r=i(25707),a=(i(24830),i(65548),i(85886)),s=i(15181);const n=o.AH` button { display: flex; gap: var(--wui-spacing-3xs); align-items: center; padding: 6.25px var(--wui-spacing-xs) 7.25px var(--wui-spacing-s); background-color: var(--wui-color-gray-glass-090); border-radius: var(--wui-border-radius-3xl); border: 1px solid var(--wui-color-gray-glass-060); transition: background-color var(--wui-duration-md) var(--wui-ease-inout-power-1); will-change: background-color; } @media (hover: hover) and (pointer: fine) { button:hover:enabled { background-color: var(--wui-color-gray-glass-080); } button:active:enabled { background-color: var(--wui-color-gray-glass-060); } } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.text=""}render(){return o.qy``}};c.styles=[a.W5,a.fD,n],l([(0,r.MZ)()],c.prototype,"text",void 0),c=l([(0,s.E)("wui-promo")],c)},53242:(t,e,i)=>{i.d(e,{G:()=>u});var o=i(12618),r=i(25707),a=(i(24830),i(53576),i(45241)),s=i(85886),n=i(15181);const l=o.AH` :host { position: relative; user-select: none; display: block; overflow: hidden; aspect-ratio: 1 / 1; width: var(--local-size); } :host([data-theme='dark']) { border-radius: clamp(0px, var(--wui-border-radius-l), 40px); background-color: var(--wui-color-inverse-100); padding: var(--wui-spacing-l); } :host([data-theme='light']) { box-shadow: 0 0 0 1px var(--wui-color-bg-125); background-color: var(--wui-color-bg-125); } :host([data-clear='true']) > wui-icon { display: none; } svg:first-child, wui-image, wui-icon { position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); } wui-image { width: 25%; height: 25%; border-radius: var(--wui-border-radius-xs); } wui-icon { width: 100%; height: 100%; color: var(--local-icon-color) !important; transform: translateY(-50%) translateX(-50%) scale(0.25); } `;var c=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let u=class extends o.WF{constructor(){super(...arguments),this.uri="",this.size=0,this.theme="dark",this.imageSrc=void 0,this.alt=void 0,this.arenaClear=void 0,this.farcaster=void 0}render(){return this.dataset.theme=this.theme,this.dataset.clear=String(this.arenaClear),this.style.cssText=`\n --local-size: ${this.size}px;\n --local-icon-color: ${this.color??"#3396ff"}\n `,o.qy`${this.templateVisual()} ${this.templateSvg()}`}templateSvg(){const t="light"===this.theme?this.size:this.size-32;return o.JW` ${a.F.generate({uri:this.uri,size:t,logoSize:this.arenaClear?0:t/4,dotColor:this.color})} `}templateVisual(){return this.imageSrc?o.qy``:this.farcaster?o.qy``:o.qy``}};u.styles=[s.W5,l],c([(0,r.MZ)()],u.prototype,"uri",void 0),c([(0,r.MZ)({type:Number})],u.prototype,"size",void 0),c([(0,r.MZ)()],u.prototype,"theme",void 0),c([(0,r.MZ)()],u.prototype,"imageSrc",void 0),c([(0,r.MZ)()],u.prototype,"alt",void 0),c([(0,r.MZ)()],u.prototype,"color",void 0),c([(0,r.MZ)({type:Boolean})],u.prototype,"arenaClear",void 0),c([(0,r.MZ)({type:Boolean})],u.prototype,"farcaster",void 0),u=c([(0,n.E)("wui-qr-code")],u)},90953:(t,e,i)=>{i.d(e,{d:()=>c});var o=i(12618),r=i(68342),a=(i(67744),i(85886)),s=i(15181);i(82673);const n=o.AH` :host { position: relative; display: inline-block; width: 100%; } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.inputComponentRef=(0,r._)()}render(){return o.qy` `}clearValue(){const t=this.inputComponentRef.value,e=t?.inputElementRef.value;e&&(e.value="",e.focus(),e.dispatchEvent(new Event("input")))}};c.styles=[a.W5,n],c=l([(0,s.E)("wui-search-bar")],c)},70453:(t,e,i)=>{i.d(e,{u:()=>c});var o=i(12618),r=i(25707),a=(i(24830),i(53576),i(7150),i(85886)),s=i(15181);const n=o.AH` button { display: block; display: flex; align-items: center; padding: var(--wui-spacing-xxs); gap: var(--wui-spacing-xxs); transition: all var(--wui-ease-out-power-1) var(--wui-duration-md); border-radius: var(--wui-border-radius-xxs); } wui-image { border-radius: 100%; width: var(--wui-spacing-xl); height: var(--wui-spacing-xl); } wui-icon-box { width: var(--wui-spacing-xl); height: var(--wui-spacing-xl); } button:hover { background-color: var(--wui-color-gray-glass-002); } button:active { background-color: var(--wui-color-gray-glass-005); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.imageSrc=""}render(){return o.qy``}imageTemplate(){return this.imageSrc?o.qy``:o.qy``}};c.styles=[a.W5,a.fD,a.ck,n],l([(0,r.MZ)()],c.prototype,"imageSrc",void 0),c=l([(0,s.E)("wui-select")],c)},70816:(t,e,i)=>{i.d(e,{T:()=>c});var o=i(12618),r=i(25707),a=(i(83383),i(65548),i(85886)),s=i(15181);i(7150);const n=o.AH` :host { display: flex; column-gap: var(--wui-spacing-s); align-items: center; padding: var(--wui-spacing-xs) var(--wui-spacing-m) var(--wui-spacing-xs) var(--wui-spacing-xs); border-radius: var(--wui-border-radius-s); border: 1px solid var(--wui-color-gray-glass-005); box-sizing: border-box; background-color: var(--wui-color-bg-175); box-shadow: 0px 14px 64px -4px rgba(0, 0, 0, 0.15), 0px 8px 22px -6px rgba(0, 0, 0, 0.15); max-width: 300px; } :host wui-loading-spinner { margin-left: var(--wui-spacing-3xs); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.backgroundColor="accent-100",this.iconColor="accent-100",this.icon="checkmark",this.message="",this.loading=!1,this.iconType="default"}render(){return o.qy` ${this.templateIcon()} ${this.message} `}templateIcon(){return this.loading?o.qy``:"default"===this.iconType?o.qy``:o.qy``}};c.styles=[a.W5,n],l([(0,r.MZ)()],c.prototype,"backgroundColor",void 0),l([(0,r.MZ)()],c.prototype,"iconColor",void 0),l([(0,r.MZ)()],c.prototype,"icon",void 0),l([(0,r.MZ)()],c.prototype,"message",void 0),l([(0,r.MZ)()],c.prototype,"loading",void 0),l([(0,r.MZ)()],c.prototype,"iconType",void 0),c=l([(0,s.E)("wui-snackbar")],c)},78289:(t,e,i)=>{i.d(e,{S:()=>d});var o=i(12618),r=i(25707),a=i(60031),s=i(68342),n=i(85886),l=i(15181);const c=o.AH` :host { display: flex; align-items: center; justify-content: center; } label { position: relative; display: inline-block; width: 32px; height: 22px; } input { width: 0; height: 0; opacity: 0; } span { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--wui-color-blue-100); border-width: 1px; border-style: solid; border-color: var(--wui-color-gray-glass-002); border-radius: 999px; transition: background-color var(--wui-ease-inout-power-1) var(--wui-duration-md), border-color var(--wui-ease-inout-power-1) var(--wui-duration-md); will-change: background-color, border-color; } span:before { position: absolute; content: ''; height: 16px; width: 16px; left: 3px; top: 2px; background-color: var(--wui-color-inverse-100); transition: transform var(--wui-ease-inout-power-1) var(--wui-duration-lg); will-change: transform; border-radius: 50%; } input:checked + span { border-color: var(--wui-color-gray-glass-005); background-color: var(--wui-color-blue-100); } input:not(:checked) + span { background-color: var(--wui-color-gray-glass-010); } input:checked + span:before { transform: translateX(calc(100% - 7px)); } `;var u=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let d=class extends o.WF{constructor(){super(...arguments),this.inputElementRef=(0,s._)(),this.checked=void 0}render(){return o.qy` `}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("switchChange",{detail:this.inputElementRef.value?.checked,bubbles:!0,composed:!0}))}};d.styles=[n.W5,n.fD,n.ck,c],u([(0,r.MZ)({type:Boolean})],d.prototype,"checked",void 0),d=u([(0,l.E)("wui-switch")],d)},7597:(t,e,i)=>{i.d(e,{a:()=>c});var o=i(12618),r=i(25707),a=(i(24830),i(85886)),s=i(15181);const n=o.AH` :host { display: inline-flex; background-color: var(--wui-color-gray-glass-002); border-radius: var(--wui-border-radius-3xl); padding: var(--wui-spacing-3xs); position: relative; height: 36px; min-height: 36px; overflow: hidden; } :host::before { content: ''; position: absolute; pointer-events: none; top: 4px; left: 4px; display: block; width: var(--local-tab-width); height: 28px; border-radius: var(--wui-border-radius-3xl); background-color: var(--wui-color-gray-glass-002); box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-002); transform: translateX(calc(var(--local-tab) * var(--local-tab-width))); transition: transform var(--wui-ease-out-power-1) var(--wui-duration-md); will-change: background-color, opacity; } :host([data-type='flex'])::before { left: 3px; transform: translateX(calc((var(--local-tab) * 34px) + (var(--local-tab) * 4px))); } :host([data-type='flex']) { display: flex; padding: 0px 0px 0px 12px; gap: 4px; } :host([data-type='flex']) > button > wui-text { position: absolute; left: 18px; opacity: 0; } button[data-active='true'] > wui-icon, button[data-active='true'] > wui-text { color: var(--wui-color-fg-100); } button[data-active='false'] > wui-icon, button[data-active='false'] > wui-text { color: var(--wui-color-fg-200); } button[data-active='true']:disabled, button[data-active='false']:disabled { background-color: transparent; opacity: 0.5; cursor: not-allowed; } button[data-active='true']:disabled > wui-text { color: var(--wui-color-fg-200); } button[data-active='false']:disabled > wui-text { color: var(--wui-color-fg-300); } button > wui-icon, button > wui-text { pointer-events: none; transition: color var(--wui-e ase-out-power-1) var(--wui-duration-md); will-change: color; } button { width: var(--local-tab-width); transition: background-color var(--wui-ease-out-power-1) var(--wui-duration-md); will-change: background-color; } :host([data-type='flex']) > button { width: 34px; position: relative; display: flex; justify-content: flex-start; } button:hover:enabled, button:active:enabled { background-color: transparent !important; } button:hover:enabled > wui-icon, button:active:enabled > wui-icon { transition: all var(--wui-ease-out-power-1) var(--wui-duration-lg); color: var(--wui-color-fg-125); } button:hover:enabled > wui-text, button:active:enabled > wui-text { transition: all var(--wui-ease-out-power-1) var(--wui-duration-lg); color: var(--wui-color-fg-125); } button { border-radius: var(--wui-border-radius-3xl); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.tabs=[],this.onTabChange=()=>null,this.buttons=[],this.disabled=!1,this.localTabWidth="100px",this.activeTab=0,this.isDense=!1}render(){return this.isDense=this.tabs.length>3,this.style.cssText=`\n --local-tab: ${this.activeTab};\n --local-tab-width: ${this.localTabWidth};\n `,this.dataset.type=this.isDense?"flex":"block",this.tabs.map(((t,e)=>{const i=e===this.activeTab;return o.qy` `}))}firstUpdated(){this.shadowRoot&&this.isDense&&(this.buttons=[...this.shadowRoot.querySelectorAll("button")],setTimeout((()=>{this.animateTabs(0,!0)}),0))}iconTemplate(t){return t.icon?o.qy``:null}onTabClick(t){this.buttons&&this.animateTabs(t,!1),this.activeTab=t,this.onTabChange(t)}animateTabs(t,e){const i=this.buttons[this.activeTab],o=this.buttons[t],r=i?.querySelector("wui-text"),a=o?.querySelector("wui-text"),s=o?.getBoundingClientRect(),n=a?.getBoundingClientRect();i&&r&&!e&&t!==this.activeTab&&(r.animate([{opacity:0}],{duration:50,easing:"ease",fill:"forwards"}),i.animate([{width:"34px"}],{duration:500,easing:"ease",fill:"forwards"})),o&&s&&n&&a&&(t!==this.activeTab||e)&&(this.localTabWidth=`${Math.round(s.width+n.width)+6}px`,o.animate([{width:`${s.width+n.width}px`}],{duration:e?0:500,fill:"forwards",easing:"ease"}),a.animate([{opacity:1}],{duration:e?0:125,delay:e?0:200,fill:"forwards",easing:"ease"}))}};c.styles=[a.W5,a.fD,n],l([(0,r.MZ)({type:Array})],c.prototype,"tabs",void 0),l([(0,r.MZ)()],c.prototype,"onTabChange",void 0),l([(0,r.MZ)({type:Array})],c.prototype,"buttons",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"disabled",void 0),l([(0,r.MZ)()],c.prototype,"localTabWidth",void 0),l([(0,r.wk)()],c.prototype,"activeTab",void 0),l([(0,r.wk)()],c.prototype,"isDense",void 0),c=l([(0,s.E)("wui-tabs")],c)},96363:(t,e,i)=>{i.d(e,{E:()=>c});var o=i(12618),r=i(25707),a=(i(65548),i(85886)),s=i(15181);const n=o.AH` :host { display: flex; justify-content: center; align-items: center; height: var(--wui-spacing-m); padding: 0 var(--wui-spacing-3xs) !important; border-radius: var(--wui-border-radius-5xs); transition: border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1), background-color var(--wui-duration-lg) var(--wui-ease-out-power-1); will-change: border-radius, background-color; } :host > wui-text { transform: translateY(5%); } :host([data-variant='main']) { background-color: var(--wui-color-accent-glass-015); color: var(--wui-color-accent-100); } :host([data-variant='shade']) { background-color: var(--wui-color-gray-glass-010); color: var(--wui-color-fg-200); } :host([data-variant='success']) { background-color: var(--wui-icon-box-bg-success-100); color: var(--wui-color-success-100); } :host([data-variant='error']) { background-color: var(--wui-icon-box-bg-error-100); color: var(--wui-color-error-100); } :host([data-size='lg']) { padding: 11px 5px !important; } :host([data-size='lg']) > wui-text { transform: translateY(2%); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.variant="main",this.size="lg"}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;const t="md"===this.size?"mini-700":"micro-700";return o.qy` `}};c.styles=[a.W5,n],l([(0,r.MZ)()],c.prototype,"variant",void 0),l([(0,r.MZ)()],c.prototype,"size",void 0),c=l([(0,s.E)("wui-tag")],c)},13817:(t,e,i)=>{i.d(e,{h:()=>c});var o=i(12618),r=i(25707),a=(i(53576),i(65548),i(85886)),s=i(15181);i(7150);const n=o.AH` :host { display: block; } :host > button { gap: var(--wui-spacing-xxs); padding: var(--wui-spacing-xs); padding-right: var(--wui-spacing-1xs); height: 40px; border-radius: var(--wui-border-radius-l); background: var(--wui-color-gray-glass-002); border-width: 0px; box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-002); } :host > button wui-image { width: 24px; height: 24px; border-radius: var(--wui-border-radius-s); box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.text=""}render(){return o.qy` `}tokenTemplate(){return this.imageSrc?o.qy``:o.qy` `}};c.styles=[a.W5,a.fD,n],l([(0,r.MZ)()],c.prototype,"imageSrc",void 0),l([(0,r.MZ)()],c.prototype,"text",void 0),c=l([(0,s.E)("wui-token-button")],c)},49859:(t,e,i)=>{i.d(e,{E:()=>d});var o=i(12618),r=i(25707),a=i(35748),s=(i(53576),i(65548),i(34766),i(85886)),n=i(75249),l=i(15181);const c=o.AH` :host { height: 60px; min-height: 60px; } :host > wui-flex { cursor: pointer; height: 100%; display: flex; column-gap: var(--wui-spacing-s); padding: var(--wui-spacing-xs); padding-right: var(--wui-spacing-l); width: 100%; background-color: transparent; border-radius: var(--wui-border-radius-xs); color: var(--wui-color-fg-250); transition: background-color var(--wui-ease-out-power-1) var(--wui-duration-lg), opacity var(--wui-ease-out-power-1) var(--wui-duration-lg); will-change: background-color, opacity; } @media (hover: hover) and (pointer: fine) { :host > wui-flex:hover { background-color: var(--wui-color-gray-glass-002); } :host > wui-flex:active { background-color: var(--wui-color-gray-glass-005); } } :host([disabled]) > wui-flex { opacity: 0.6; } :host([disabled]) > wui-flex:hover { background-color: transparent; } :host > wui-flex > wui-flex { flex: 1; } :host > wui-flex > wui-image, :host > wui-flex > .token-item-image-placeholder { width: 40px; max-width: 40px; height: 40px; border-radius: var(--wui-border-radius-3xl); position: relative; } :host > wui-flex > .token-item-image-placeholder { display: flex; align-items: center; justify-content: center; } :host > wui-flex > wui-image::after, :host > wui-flex > .token-item-image-placeholder::after { position: absolute; content: ''; inset: 0; box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-010); border-radius: var(--wui-border-radius-l); } button > wui-icon-box[data-variant='square-blue'] { border-radius: var(--wui-border-radius-3xs); position: relative; border: none; width: 36px; height: 36px; } `;var u=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let d=class extends o.WF{constructor(){super(),this.observer=new IntersectionObserver((()=>{})),this.imageSrc=void 0,this.name=void 0,this.symbol=void 0,this.price=void 0,this.amount=void 0,this.visible=!1,this.imageError=!1,this.observer=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting?this.visible=!0:this.visible=!1}))}),{threshold:.1})}firstUpdated(){this.observer.observe(this)}disconnectedCallback(){this.observer.disconnect()}render(){if(!this.visible)return null;const t=this.amount&&this.price?a.Se.multiply(this.price,this.amount)?.toFixed(3):null;return o.qy` ${this.visualTemplate()} ${this.name} ${t?o.qy` $${n.Z.formatNumberToLocalString(t,3)} `:null} ${this.symbol} ${this.amount?o.qy` ${n.Z.formatNumberToLocalString(this.amount,4)} `:null} `}visualTemplate(){return this.imageError?o.qy` `:this.imageSrc?o.qy``:null}imageLoadError(){this.imageError=!0}};d.styles=[s.W5,s.fD,c],u([(0,r.MZ)()],d.prototype,"imageSrc",void 0),u([(0,r.MZ)()],d.prototype,"name",void 0),u([(0,r.MZ)()],d.prototype,"symbol",void 0),u([(0,r.MZ)()],d.prototype,"price",void 0),u([(0,r.MZ)()],d.prototype,"amount",void 0),u([(0,r.wk)()],d.prototype,"visible",void 0),u([(0,r.wk)()],d.prototype,"imageError",void 0),d=u([(0,l.E)("wui-token-list-item")],d)},57510:(t,e,i)=>{i.d(e,{H:()=>c});var o=i(12618),r=i(25707),a=(i(24830),i(65548),i(85886)),s=i(15181);const n=o.AH` :host { display: block; padding: 9px var(--wui-spacing-s) 10px var(--wui-spacing-s); border-radius: var(--wui-border-radius-xxs); color: var(--wui-color-bg-100); position: relative; } :host([data-variant='shade']) { background-color: var(--wui-color-bg-150); border: 1px solid var(--wui-color-gray-glass-005); } :host([data-variant='shade']) > wui-text { color: var(--wui-color-fg-150); } :host([data-variant='fill']) { background-color: var(--wui-color-fg-100); border: none; } wui-icon { position: absolute; width: 12px !important; height: 4px !important; } wui-icon[data-placement='top'] { bottom: 0px; left: 50%; transform: translate(-50%, 95%); } wui-icon[data-placement='bottom'] { top: 0; left: 50%; transform: translate(-50%, -95%) rotate(180deg); } wui-icon[data-placement='right'] { top: 50%; left: 0; transform: translate(-65%, -50%) rotate(90deg); } wui-icon[data-placement='left'] { top: 50%; right: 0%; transform: translate(65%, -50%) rotate(270deg); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.placement="top",this.variant="fill",this.message=""}render(){return this.dataset.variant=this.variant,o.qy` ${this.message}`}};c.styles=[a.W5,a.fD,n],l([(0,r.MZ)()],c.prototype,"placement",void 0),l([(0,r.MZ)()],c.prototype,"variant",void 0),l([(0,r.MZ)()],c.prototype,"message",void 0),c=l([(0,s.E)("wui-tooltip")],c)},20496:(t,e,i)=>{i.d(e,{g:()=>l});var o=i(12618),r=(i(65548),i(85886)),a=i(15181);i(3196);const s=o.AH` :host > wui-flex:first-child { column-gap: var(--wui-spacing-s); padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs); width: 100%; } wui-flex { display: flex; flex: 1; } `;var n=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let l=class extends o.WF{render(){return o.qy` `}};l.styles=[r.W5,s],l=n([(0,a.E)("wui-transaction-list-item-loader")],l)},20120:(t,e,i)=>{i.d(e,{j:()=>d});var o=i(12618),r=i(25707),a=i(60031),s=(i(65548),i(85886)),n=i(66791),l=i(15181);i(3196);const c=o.AH` :host > wui-flex:first-child { align-items: center; column-gap: var(--wui-spacing-s); padding: 6.5px var(--wui-spacing-xs) 6.5px var(--wui-spacing-xs); width: 100%; } :host > wui-flex:first-child wui-text:nth-child(1) { text-transform: capitalize; } wui-transaction-visual { width: 40px; height: 40px; } wui-flex { flex: 1; } :host wui-flex wui-flex { overflow: hidden; } :host .description-container wui-text span { word-break: break-all; } :host .description-container wui-text { overflow: hidden; } :host .description-separator-icon { margin: 0px 6px; } :host wui-text > span { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; } `;var u=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let d=class extends o.WF{constructor(){super(...arguments),this.type="approve",this.onlyDirectionIcon=!1,this.images=[],this.price=[],this.amount=[],this.symbol=[]}render(){return o.qy` ${n.M[this.type]||this.type} ${this.templateDescription()} ${this.templateSecondDescription()} ${this.date} `}templateDescription(){const t=this.descriptions?.[0];return t?o.qy` ${t} `:null}templateSecondDescription(){const t=this.descriptions?.[1];return t?o.qy` ${t} `:null}};d.styles=[s.W5,c],u([(0,r.MZ)()],d.prototype,"type",void 0),u([(0,r.MZ)({type:Array})],d.prototype,"descriptions",void 0),u([(0,r.MZ)()],d.prototype,"date",void 0),u([(0,r.MZ)({type:Boolean})],d.prototype,"onlyDirectionIcon",void 0),u([(0,r.MZ)()],d.prototype,"status",void 0),u([(0,r.MZ)()],d.prototype,"direction",void 0),u([(0,r.MZ)({type:Array})],d.prototype,"images",void 0),u([(0,r.MZ)({type:Array})],d.prototype,"price",void 0),u([(0,r.MZ)({type:Array})],d.prototype,"amount",void 0),u([(0,r.MZ)({type:Array})],d.prototype,"symbol",void 0),d=u([(0,l.E)("wui-transaction-list-item")],d)},3196:(t,e,i)=>{i.d(e,{c:()=>l});var o=i(12618),r=i(25707),a=(i(53576),i(15181));i(7150);const s=o.AH` :host > wui-flex { display: flex; justify-content: center; align-items: center; position: relative; width: 40px; height: 40px; box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005); background-color: var(--wui-color-gray-glass-005); } :host > wui-flex wui-image { display: block; } :host > wui-flex, :host > wui-flex wui-image, .swap-images-container, .swap-images-container.nft, wui-image.nft { border-top-left-radius: var(--local-left-border-radius); border-top-right-radius: var(--local-right-border-radius); border-bottom-left-radius: var(--local-left-border-radius); border-bottom-right-radius: var(--local-right-border-radius); } wui-icon { width: 20px; height: 20px; } wui-icon-box { position: absolute; right: 0; bottom: 0; transform: translate(20%, 20%); } .swap-images-container { position: relative; width: 40px; height: 40px; overflow: hidden; } .swap-images-container wui-image:first-child { position: absolute; width: 40px; height: 40px; top: 0; left: 0%; clip-path: inset(0px calc(50% + 2px) 0px 0%); } .swap-images-container wui-image:last-child { clip-path: inset(0px 0px 0px calc(50% + 2px)); } `;var n=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let l=class extends o.WF{constructor(){super(...arguments),this.images=[],this.secondImage={type:void 0,url:""}}render(){const[t,e]=this.images,i="NFT"===t?.type,r=i?"var(--wui-border-radius-xxs)":"var(--wui-border-radius-s)",a=(e?.url?"NFT"===e.type:i)?"var(--wui-border-radius-xxs)":"var(--wui-border-radius-s)";return this.style.cssText=`\n --local-left-border-radius: ${r};\n --local-right-border-radius: ${a};\n `,o.qy` ${this.templateVisual()} ${this.templateIcon()} `}templateVisual(){const[t,e]=this.images,i=t?.type;return 2===this.images.length&&(t?.url||e?.url)?o.qy`
${t?.url?o.qy``:null} ${e?.url?o.qy``:null}
`:t?.url?o.qy``:"NFT"===i?o.qy``:o.qy``}templateIcon(){let t,e="accent-100";return t=this.getIcon(),this.status&&(e=this.getStatusColor()),t?o.qy` `:null}getDirectionIcon(){switch(this.direction){case"in":return"arrowBottom";case"out":return"arrowTop";default:return}}getIcon(){return this.onlyDirectionIcon?this.getDirectionIcon():"trade"===this.type?"swapHorizontalBold":"approve"===this.type?"checkmark":"cancel"===this.type?"close":this.getDirectionIcon()}getStatusColor(){switch(this.status){case"confirmed":return"success-100";case"failed":return"error-100";case"pending":return"inverse-100";default:return"accent-100"}}};l.styles=[s],n([(0,r.MZ)()],l.prototype,"type",void 0),n([(0,r.MZ)()],l.prototype,"status",void 0),n([(0,r.MZ)()],l.prototype,"direction",void 0),n([(0,r.MZ)({type:Boolean})],l.prototype,"onlyDirectionIcon",void 0),n([(0,r.MZ)({type:Array})],l.prototype,"images",void 0),n([(0,r.MZ)({type:Object})],l.prototype,"secondImage",void 0),l=n([(0,a.E)("wui-transaction-visual")],l)},87654:(t,e,i)=>{i.d(e,{w:()=>c});var o=i(12618),r=i(25707),a=(i(24830),i(53576),i(85886)),s=i(15181);const n=o.AH` :host { display: flex; justify-content: center; align-items: center; width: var(--wui-icon-box-size-xl); height: var(--wui-icon-box-size-xl); box-shadow: 0 0 0 8px var(--wui-thumbnail-border); border-radius: var(--local-border-radius); overflow: hidden; } wui-icon { width: 32px; height: 32px; } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{render(){return this.style.cssText=`--local-border-radius: ${this.borderRadiusFull?"1000px":"20px"}; background-color: var(--wui-color-modal-bg);`,o.qy`${this.templateVisual()}`}templateVisual(){return this.imageSrc?o.qy``:o.qy``}};c.styles=[a.W5,n],l([(0,r.MZ)()],c.prototype,"imageSrc",void 0),l([(0,r.MZ)()],c.prototype,"alt",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"borderRadiusFull",void 0),c=l([(0,s.E)("wui-visual-thumbnail")],c)},30555:(t,e,i)=>{i.d(e,{f:()=>c});var o=i(12618),r=i(25707),a=(i(53576),i(83383),i(65548),i(7150),i(85886)),s=i(15181);const n=o.AH` @keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(3px); } 50% { transform: translateX(-3px); } 75% { transform: translateX(3px); } 100% { transform: translateX(0); } } :host > button { min-width: 40px; display: inline-flex; justify-content: center; align-items: center; background-color: var(--wui-wallet-button-bg); column-gap: var(--wui-spacing-2xs); border-radius: var(--wui-border-radius-s); border: 1px solid var(--wui-color-gray-glass-002); height: var(--wui-spacing-3xl); padding: var(--wui-spacing-xs) var(--wui-spacing-m) var(--wui-spacing-xs) var(--wui-spacing-xs); box-shadow: 0px 8px 22px -6px var(--wui-color-gray-glass-010), 0px 14px 64px -4px var(--wui-color-gray-glass-010); } :host > button > wui-text { text-transform: capitalize; } :host > button > wui-image { height: 24px; width: 24px; border-radius: var(--wui-border-radius-s); } :host([data-error='true']) > button { animation: shake 250ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both; } /* -- Disabled state --------------------------------------------------- */ :host > button:disabled { cursor: default; } :host > button:disabled > wui-icon { filter: grayscale(1); } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.imageSrc="",this.name="",this.walletConnect=!1,this.loading=!1,this.error=!1,this.disabled=!1,this.shake=!1}render(){return this.dataset.error=`${this.error}`,o.qy` `}leftViewTemplate(){return this.error?o.qy``:this.loading?o.qy``:this.icon?o.qy``:this.imageSrc?o.qy``:o.qy``}rightViewTemplate(){return o.qy` ${this.name||"Unknown"} `}};c.styles=[a.W5,a.fD,n],l([(0,r.MZ)()],c.prototype,"imageSrc",void 0),l([(0,r.MZ)()],c.prototype,"name",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"walletConnect",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"icon",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"loading",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"error",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"disabled",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"shake",void 0),c=l([(0,s.E)("wui-wallet-button")],c)},8166:(t,e,i)=>{i.d(e,{Y:()=>c});var o=i(12618),r=i(25707),a=(i(24830),i(53576),i(85886)),s=i(15181);i(7150);const n=o.AH` :host { position: relative; background-color: var(--wui-color-gray-glass-002); display: flex; justify-content: center; align-items: center; width: var(--local-size); height: var(--local-size); border-radius: inherit; border-radius: var(--local-border-radius); } :host > wui-flex { overflow: hidden; border-radius: inherit; border-radius: var(--local-border-radius); } :host::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: inherit; border: 1px solid var(--wui-color-gray-glass-010); pointer-events: none; } :host([name='Extension'])::after { border: 1px solid var(--wui-color-accent-glass-010); } :host([data-wallet-icon='allWallets']) { background-color: var(--wui-all-wallets-bg-100); } :host([data-wallet-icon='allWallets'])::after { border: 1px solid var(--wui-color-accent-glass-010); } wui-icon[data-parent-size='inherit'] { width: 75%; height: 75%; align-items: center; } wui-icon[data-parent-size='sm'] { width: 18px; height: 18px; } wui-icon[data-parent-size='md'] { width: 24px; height: 24px; } wui-icon[data-parent-size='lg'] { width: 42px; height: 42px; } wui-icon[data-parent-size='full'] { width: 100%; height: 100%; } :host > wui-icon-box { position: absolute; overflow: hidden; right: -1px; bottom: -2px; z-index: 1; border: 2px solid var(--wui-color-bg-150, #1e1f1f); padding: 1px; } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.size="md",this.name="",this.installed=!1,this.badgeSize="xs"}render(){let t="xxs";return t="lg"===this.size?"m":"md"===this.size?"xs":"xxs",this.style.cssText=`\n --local-border-radius: var(--wui-border-radius-${t});\n --local-size: var(--wui-wallet-image-size-${this.size});\n `,this.walletIcon&&(this.dataset.walletIcon=this.walletIcon),o.qy` ${this.templateVisual()} `}templateVisual(){return this.imageSrc?o.qy``:this.walletIcon?o.qy``:o.qy``}};c.styles=[a.fD,a.W5,n],l([(0,r.MZ)()],c.prototype,"size",void 0),l([(0,r.MZ)()],c.prototype,"name",void 0),l([(0,r.MZ)()],c.prototype,"imageSrc",void 0),l([(0,r.MZ)()],c.prototype,"walletIcon",void 0),l([(0,r.MZ)({type:Boolean})],c.prototype,"installed",void 0),l([(0,r.MZ)()],c.prototype,"badgeSize",void 0),c=l([(0,s.E)("wui-wallet-image")],c)},34766:(t,e,i)=>{i.d(e,{b:()=>u});var o=i(12618),r=i(25707),a=i(85886),s=i(75249),n=i(15181);const l=o.AH` :host { display: flex; width: inherit; height: inherit; } `;var c=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let u=class extends o.WF{render(){return this.style.cssText=`\n flex-direction: ${this.flexDirection};\n flex-wrap: ${this.flexWrap};\n flex-basis: ${this.flexBasis};\n flex-grow: ${this.flexGrow};\n flex-shrink: ${this.flexShrink};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n column-gap: ${this.columnGap&&`var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap&&`var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap&&`var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding&&s.Z.getSpacingStyles(this.padding,0)};\n padding-right: ${this.padding&&s.Z.getSpacingStyles(this.padding,1)};\n padding-bottom: ${this.padding&&s.Z.getSpacingStyles(this.padding,2)};\n padding-left: ${this.padding&&s.Z.getSpacingStyles(this.padding,3)};\n margin-top: ${this.margin&&s.Z.getSpacingStyles(this.margin,0)};\n margin-right: ${this.margin&&s.Z.getSpacingStyles(this.margin,1)};\n margin-bottom: ${this.margin&&s.Z.getSpacingStyles(this.margin,2)};\n margin-left: ${this.margin&&s.Z.getSpacingStyles(this.margin,3)};\n `,o.qy``}};u.styles=[a.W5,l],c([(0,r.MZ)()],u.prototype,"flexDirection",void 0),c([(0,r.MZ)()],u.prototype,"flexWrap",void 0),c([(0,r.MZ)()],u.prototype,"flexBasis",void 0),c([(0,r.MZ)()],u.prototype,"flexGrow",void 0),c([(0,r.MZ)()],u.prototype,"flexShrink",void 0),c([(0,r.MZ)()],u.prototype,"alignItems",void 0),c([(0,r.MZ)()],u.prototype,"justifyContent",void 0),c([(0,r.MZ)()],u.prototype,"columnGap",void 0),c([(0,r.MZ)()],u.prototype,"rowGap",void 0),c([(0,r.MZ)()],u.prototype,"gap",void 0),c([(0,r.MZ)()],u.prototype,"padding",void 0),c([(0,r.MZ)()],u.prototype,"margin",void 0),u=c([(0,n.E)("wui-flex")],u)},91275:(t,e,i)=>{i.d(e,{y:()=>u});var o=i(12618),r=i(25707),a=i(85886),s=i(75249),n=i(15181);const l=o.AH` :host { display: grid; width: inherit; height: inherit; } `;var c=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let u=class extends o.WF{render(){return this.style.cssText=`\n grid-template-rows: ${this.gridTemplateRows};\n grid-template-columns: ${this.gridTemplateColumns};\n justify-items: ${this.justifyItems};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n align-content: ${this.alignContent};\n column-gap: ${this.columnGap&&`var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap&&`var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap&&`var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding&&s.Z.getSpacingStyles(this.padding,0)};\n padding-right: ${this.padding&&s.Z.getSpacingStyles(this.padding,1)};\n padding-bottom: ${this.padding&&s.Z.getSpacingStyles(this.padding,2)};\n padding-left: ${this.padding&&s.Z.getSpacingStyles(this.padding,3)};\n margin-top: ${this.margin&&s.Z.getSpacingStyles(this.margin,0)};\n margin-right: ${this.margin&&s.Z.getSpacingStyles(this.margin,1)};\n margin-bottom: ${this.margin&&s.Z.getSpacingStyles(this.margin,2)};\n margin-left: ${this.margin&&s.Z.getSpacingStyles(this.margin,3)};\n `,o.qy``}};u.styles=[a.W5,l],c([(0,r.MZ)()],u.prototype,"gridTemplateRows",void 0),c([(0,r.MZ)()],u.prototype,"gridTemplateColumns",void 0),c([(0,r.MZ)()],u.prototype,"justifyItems",void 0),c([(0,r.MZ)()],u.prototype,"alignItems",void 0),c([(0,r.MZ)()],u.prototype,"justifyContent",void 0),c([(0,r.MZ)()],u.prototype,"alignContent",void 0),c([(0,r.MZ)()],u.prototype,"columnGap",void 0),c([(0,r.MZ)()],u.prototype,"rowGap",void 0),c([(0,r.MZ)()],u.prototype,"gap",void 0),c([(0,r.MZ)()],u.prototype,"padding",void 0),c([(0,r.MZ)()],u.prototype,"margin",void 0),u=c([(0,n.E)("wui-grid")],u)},89192:(t,e,i)=>{i.d(e,{v:()=>c});var o=i(12618),r=i(25707),a=(i(65548),i(85886)),s=i(15181);const n=o.AH` :host { position: relative; display: flex; width: 100%; height: 1px; background-color: var(--wui-color-gray-glass-005); justify-content: center; align-items: center; } :host > wui-text { position: absolute; padding: 0px 10px; background-color: var(--wui-color-modal-bg); transition: background-color var(--wui-duration-lg) var(--wui-ease-out-power-1); will-change: background-color; } `;var l=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};let c=class extends o.WF{constructor(){super(...arguments),this.text=""}render(){return o.qy`${this.template()}`}template(){return this.text?o.qy`${this.text}`:null}};c.styles=[a.W5,n],l([(0,r.MZ)()],c.prototype,"text",void 0),c=l([(0,s.E)("wui-separator")],c)}}]);