{i.d(e,{h:()=>c});var o=i(12618),r=i(25707),a=(i(36887),i(18409),i(26109)),s=i(43494);i(12851);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)},69807:(t,e,i)=>{i.d(e,{b:()=>u});var o=i(12618),r=i(25707),a=i(26109),s=i(63612),n=i(43494);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)},75744:(t,e,i)=>{i.d(e,{u:()=>c});var o=i(12618),r=i(25707),a=(i(24895),i(36887),i(12851),i(26109)),s=i(43494);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)},83604:(t,e,i)=>{i.d(e,{E:()=>d});var o=i(12618),r=i(25707),a=i(6229),s=(i(36887),i(18409),i(69807),i(26109)),n=i(63612),l=i(43494);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)},83727:(t,e,i)=>{i.d(e,{v:()=>c});var o=i(12618),r=i(25707),a=(i(18409),i(26109)),s=i(43494);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)},88663:(t,e,i)=>{i.d(e,{j:()=>d});var o=i(12618),r=i(25707),a=i(60031),s=(i(18409),i(26109)),n=i(10758),l=i(43494);i(98741);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)},90437:(t,e,i)=>{i.d(e,{v:()=>p});var o=i(12618),r=i(25707),a=i(6229),s=i(12525),n=(i(24895),i(36887),i(18409),i(69807),i(26109)),l=i(63612),c=i(43494);i(76867),i(12851);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)},91383:(t,e,i)=>{i.d(e,{Y:()=>c});var o=i(12618),r=i(25707),a=(i(24895),i(36887),i(26109)),s=i(43494);i(12851);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)},95057:(t,e,i)=>{i.d(e,{g:()=>l});var o=i(12618),r=(i(18409),i(26109)),a=i(43494);i(98741);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)},98741:(t,e,i)=>{i.d(e,{c:()=>l});var o=i(12618),r=i(25707),a=(i(36887),i(43494));i(12851);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)}}]);