1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2465],{3464:(e,t,i)=>{var r=i(13559),a=i(13613);i(73669);var s=i(8329),o=i(30558);let n=(0,r.AH)` 2 button { 3 border-radius: var(--local-border-radius); 4 color: var(--wui-color-fg-100); 5 padding: var(--local-padding); 6 } 7 8 @media (max-width: 700px) { 9 button { 10 padding: var(--wui-spacing-s); 11 } 12 } 13 14 button > wui-icon { 15 pointer-events: none; 16 } 17 18 button:disabled > wui-icon { 19 color: var(--wui-color-bg-300) !important; 20 } 21 22 button:disabled { 23 background-color: transparent; 24 } 25`;var c=function(e,t,i,r){var a,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(o=(s<3?a(o):s>3?a(t,i,o):a(t,i))||o);return s>3&&o&&Object.defineProperty(t,i,o),o};let w=class extends r.WF{constructor(){super(...arguments),this.size="md",this.disabled=!1,this.icon="copy",this.iconColor="inherit"}
25render(){let e="lg"===this.size?"--wui-border-radius-xs":"--wui-border-radius-xxs",t="lg"===this.size?"--wui-spacing-1xs":"--wui-spacing-2xs";return this.style.cssText=` 26 --local-border-radius: var(${e}); 27 --local-padding: var(${t}); 28`,(0,r.qy)` 29 <button ?disabled=${this.disabled}> 30 <wui-icon color=${this.iconColor} size=${this.size} name=${this.icon}></wui-icon> 31 </button> 32 `}};w.styles=[s.W5,s.fD,s.ck,n],c([(0,a.MZ)()],w.prototype,"size",void 0),c([(0,a.MZ)({type:Boolean})],w.prototype,"disabled",void 0),c([(0,a.MZ)()],w.prototype,"icon",void 0),c([(0,a.MZ)()],w.prototype,"iconColor",void 0),w=c([(0,o.E)("wui-icon-link")],w)},13172:(e,t,i)=>{i.d(t,{I:()=>o});var r=i(87483),a=i(26665);let s=(0,r.BX)({message:"",open:!1,triggerRect:{width:0,height:0,top:0,left:0},variant:"shade"}),o={state:s,subscribe:e=>(0,r.B1)(s,()=>e(s)),subscribeKey:(e,t)=>(0,a.u$)(s,e,t),showTooltip({message:e,triggerRect:t,variant:i}){s.open=!0,s.message=e,s.triggerRect=t,s.variant=i},hide(){s.open=!1,s.message="",s.triggerRect={width:0,height:0,top:0,left:0}}}},18605:(e,t,i)=>{i(19910)},19910:(e,t,i)=>{var r=i(13559),a=i(13613);i(63429);var s=i(8329),o=i(30558);let n=(0,r.AH)` 33 :host { 34 display: flex; 35 justify-content: center; 36 align-items: center; 37 height: var(--wui-spacing-m); 38 padding: 0 var(--wui-spacing-3xs) !important; 39 border-radius: var(--wui-border-radius-5xs); 40 transition: 41 border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1), 42 background-color var(--wui-duration-lg) var(--wui-ease-out-power-1); 43 will-change: border-radius, background-color; 44 } 45 46 :host > wui-text { 47 transform: translateY(5%); 48 } 49 50 :host([data-variant='main']) { 51 background-color: var(--wui-color-accent-glass-015); 52 color: var(--wui-color-accent-100); 53 } 54 55 :host([data-variant='shade']) { 56 background-color: var(--wui-color-gray-glass-010); 57 color: var(--wui-color-fg-200); 58 } 59 60 :host([data-variant='success']) { 61 background-color: var(--wui-icon-box-bg-success-100); 62 color: var(--wui-color-success-100); 63 } 64 65 :host([data-variant='error']) { 66 background-color: var(--wui-icon-box-bg-error-100); 67 color: var(--wui-color-error-100); 68 } 69 70 :host([data-size='lg']) { 71 padding: 11px 5px !important; 72 } 73 74 :host([data-size='lg']) > wui-text { 75 transform: translateY(2%); 76 } 77`;var c=function(e,t,i,r){var a,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(o=(s<3?a(o):s>3?a(t,i,o):a(t,i))||o);return s>3&&o&&Object.defineProperty(t,i,o),o};let w=class extends r.WF{constructor(){super(...arguments),this.variant="main",this.size="lg"}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;let e="md"===this.size?"mini-700":"micro-700";return(0,r.qy)` 78 <wui-text data-variant=${this.variant} variant=${e} color="inherit"> 79 <slot></slot> 80 </wui-text> 81 `}};w.styles=[s.W5,n],c([(0,a.MZ)()],w.prototype,"variant",void 0),c([(0,a.MZ)()],w.prototype,"size",void 0),w=c([(0,o.E)("wui-tag")],w)},53357:(e,t,i)=>{i.d(t,{J:()=>v});var r=i(13559),a=i(13613),s=i(94920),o=i(13172),n=i(70728),c=i(4508);let w=(0,r.AH)` 82 :host { 83 --prev-height: 0px; 84 --new-height: 0px; 85 display: block; 86 } 87 88 div.w3m-router-container { 89 transform: translateY(0); 90 opacity: 1; 91 } 92 93 div.w3m-router-container[view-direction='prev'] { 94 animation: 95 slide-left-out 150ms forwards ease, 96 slide-left-in 150ms forwards ease; 97 animation-delay: 0ms, 200ms; 98 } 99 100 div.w3m-router-container[view-direction='next'] { 101 animation: 102 slide-right-out 150ms forwards ease, 103 slide-right-in 150ms forwards ease; 104 animation-delay: 0ms, 200ms; 105 } 106 107 @keyframes slide-left-out { 108 from { 109 transform: translateX(0px); 110 opacity: 1; 111 } 112 to { 113 transform: translateX(10px); 114 opacity: 0; 115 } 116 } 117 118 @keyframes slide-left-in { 119 from { 120 transform: translateX(-10px); 121 opacity: 0; 122 } 123 to { 124 transform: translateX(0); 125 opacity: 1; 126 } 127 } 128 129 @keyframes slide-right-out { 130 from { 131 transform: translateX(0px); 132 opacity: 1; 133 } 134 to { 135 transform: translateX(-10px); 136 opacity: 0; 137 } 138 } 139 140 @keyframes slide-right-in { 141 from { 142 transform: translateX(10px); 143 opacity: 0; 144 } 145 to { 146 transform: translateX(0); 147 opacity: 1; 148 } 149 } 150`;var l=function(e,t,i,r){var a,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(o=(s<3?a(o):s>3?a(t,i,o):a(t,i))||o);return s>3&&o&&Object.defineProperty(t,i,o),o};let v=class extends r.WF{constructor(){super(),this.resizeObserver=void 0,this.prevHeight="0px",this.prevHistoryLength=1,this.unsubscribe=[],this.view=s.I.state.view,this.viewDirection="",this.unsubscribe.push(s.I.subscribeKey("view",e=>this.onViewChange(e)))}firstUpdated(){this.resizeObserver=new ResizeObserver(([e])=>{let t=`${e?.contentRect.height}px`;"0px"!==this.prevHeight&&(this.style.setProperty("--prev-height",this.prevHeight),this.style.setProperty("--new-height",t),this.style.animation="w3m-view-height 150ms forwards ease",this.style.height="auto"),setTimeout(()=>{this.prevHeight=t,this.style.animation="unset"}
150,c.o.ANIMATION_DURATIONS.ModalHeight)}),this.resizeObserver?.observe(this.getWrapper())}disconnectedCallback(){this.resizeObserver?.unobserve(this.getWrapper()),this.unsubscribe.forEach(e=>e())}render(){return(0,r.qy)`<div class="w3m-router-container" view-direction="${this.viewDirection}"> 151 ${this.viewTemplate()} 152 </div>`}viewTemplate(){switch(this.view){case"AccountSettings":return(0,r.qy)`<w3m-account-settings-view></w3m-account-settings-view>`;case"Account":return(0,r.qy)`<w3m-account-view></w3m-account-view>`;case"AllWallets":return(0,r.qy)`<w3m-all-wallets-view></w3m-all-wallets-view>`;case"ApproveTransaction":return(0,r.qy)`<w3m-approve-transaction-view></w3m-approve-transaction-view>`;case"BuyInProgress":return(0,r.qy)`<w3m-buy-in-progress-view></w3m-buy-in-progress-view>`;case"ChooseAccountName":return(0,r.qy)`<w3m-choose-account-name-view></w3m-choose-account-name-view>`;case"Connect":default:return(0,r.qy)`<w3m-connect-view></w3m-connect-view>`;case"Create":return(0,r.qy)`<w3m-connect-view walletGuide="explore"></w3m-connect-view>`;case"ConnectingWalletConnect":return(0,r.qy)`<w3m-connecting-wc-view></w3m-connecting-wc-view>`;case"ConnectingWalletConnectBasic":return(0,r.qy)`<w3m-connecting-wc-basic-view></w3m-connecting-wc-basic-view>`;case"ConnectingExternal":return(0,r.qy)`<w3m-connecting-external-view></w3m-connecting-external-view>`;case"ConnectingSiwe":return(0,r.qy)`<w3m-connecting-siwe-view></w3m-connecting-siwe-view>`;case"ConnectWallets":return(0,r.qy)`<w3m-connect-wallets-view></w3m-connect-wallets-view>`;case"ConnectSocials":return(0,r.qy)`<w3m-connect-socials-view></w3m-connect-socials-view>`;case"ConnectingSocial":return(0,r.qy)`<w3m-connecting-social-view></w3m-connecting-social-view>`;case"Downloads":return(0,r.qy)`<w3m-downloads-view></w3m-downloads-view>`;case"EmailLogin":return(0,r.qy)`<w3m-email-login-view></w3m-email-login-view>`;case"EmailVerifyOtp":return(0,r.qy)`<w3m-email-verify-otp-view></w3m-email-verify-otp-view>`;case"EmailVerifyDevice":return(0,r.qy)`<w3m-email-verify-device-view></w3m-email-verify-device-view>`;case"GetWallet":return(0,r.qy)`<w3m-get-wallet-view></w3m-get-wallet-view>`;case"Networks":return(0,r.qy)`<w3m-networks-view></w3m-networks-view>`;case"SwitchNetwork":return(0,r.qy)`<w3m-network-switch-view></w3m-network-switch-view>`;case"Profile":return(0,r.qy)`<w3m-profile-view></w3m-profile-view>`;case"SwitchAddress":return(0,r.qy)`<w3m-switch-address-view></w3m-switch-address-view>`;case"Transactions":return(0,r.qy)`<w3m-transactions-view></w3m-transactions-view>`;case"OnRampProviders":return(0,r.qy)`<w3m-onramp-providers-view></w3m-onramp-providers-view>`;case"OnRampActivity":return(0,r.qy)`<w3m-onramp-activity-view></w3m-onramp-activity-view>`;case"OnRampTokenSelect":return(0,r.qy)`<w3m-onramp-token-select-view></w3m-onramp-token-select-view>`;case"OnRampFiatSelect":return(0,r.qy)`<w3m-onramp-fiat-select-view></w3m-onramp-fiat-select-view>`;case"UpgradeEmailWallet":return(0,r.qy)`<w3m-upgrade-wallet-view></w3m-upgrade-wallet-view>`;case"UpdateEmailWallet":return(0,r.qy)`<w3m-update-email-wallet-view></w3m-update-email-wallet-view>`;case"UpdateEmailPrimaryOtp":return(0,r.qy)`<w3m-update-email-primary-otp-view></w3m-update-email-primary-otp-view>`;case"UpdateEmailSecondaryOtp":return(0,r.qy)`<w3m-update-email-secondary-otp-view></w3m-update-email-secondary-otp-view>`;case"UnsupportedChain":return(0,r.qy)`<w3m-unsupported-chain-view></w3m-unsupported-chain-view>`;case"Swap":return(0,r.qy)`<w3m-swap-view></w3m-swap-view>`;case"SwapSelectToken":return(0,r.qy)`<w3m-swap-select-token-view></w3m-swap-select-token-view>`;case"SwapPreview":return(0,r.qy)`<w3m-swap-preview-view></w3m-swap-preview-view>`;case"WalletSend":return(0,r.qy)`<w3m-wallet-send-view></w3m-wallet-send-view>`;case"WalletSendSelectToken":return(0,r.qy)`<w3m-wallet-send-select-token-view></w3m-wallet-send-select-token-view>`;case"WalletSendPreview":return(0,r.qy)`<w3m-wallet-send-preview-view></w3m-wallet-send-preview-view>`;case"WhatIsABuy":return(0,r.qy)`<w3m-what-is-a-buy-view></w3m-what-is-a-buy-view>`;case"WalletReceive":return(0,r.qy)`<w3m-wallet-receive-view></w3m-wallet-receive-view>`;case"WalletCompatibleNetworks":return(0,r.qy)`<w3m-wallet-compatible-networks-view></w3m-wallet-compatible-networks-view>`;case"WhatIsAWallet":return(0,r.qy)`<w3m-what-is-a-wallet-view></w3m-what-is-a-wallet-view>`;case"ConnectingMultiChain":return(0,r.qy)`<w3m-connecting-multi-chain-view></w3m-connecting-multi-chain-view>`;case"WhatIsANetwork":return(0,r.qy)`<w3m-what-is-a-network-view></w3m-what-is-a-network-view>`;case"ConnectingFarcaster":return(0,r.qy)`<w3m-connecting-farcaster-view></w3m-connecting-farcaster-view>`;case"SwitchActiveChain":return(0,r.qy)`<w3m-switch-active-chain-view></w3m-switch-active-chain-view>`;case"RegisterAccountName":return(0,r.qy)`<w3m-register-account-name-view></w3m-register-account-name-view>`;case"RegisterAccountNameSuccess":return(0,r.qy)`<w3m-register-account-name-success-view></w3m-register-account-name-success-view>`;case"SmartSessionCreated":return(0,r.qy)`<w3m-smart-session-created-view></w3m-smart-session-created-view>`;case"SmartSessionList":return(0,r.qy)`<w3m-smart-session-list-view></w3m-smart-session-list-view>`;case"SIWXSignMessage":return(0,r.qy)`<w3m-siwx-sign-message-view></w3m-siwx-sign-message-view>`}}onViewChange(e){o.I.hide();let t=c.o.VIEW_DIRECTION.Next,{history:i}=s.I.state;i.length<this.prevHistoryLength&&(t=c.o.VIEW_DIRECTION.Prev),this.prevHistoryLength=i.length,this.viewDirection=t,setTimeout(()=>{this.view=e},c.o.ANIMATION_DURATIONS.ViewTransition)}getWrapper(){return this.shadowRoot?.querySelector("div")}};v.styles=w,l([(0,a.wk)()],v.prototype,"view",void 0),l([(0,a.wk)()],v.prototype,"viewDirection",void 0),v=l([(0,n.EM)("w3m-router")],v)},93762:(e,t,i)=>{var r=i(13559),a=i(13613),s=i(13172),o=i(70728);i(42728),i(89210),i(86732);let n=(0,r.AH)` 153 :host { 154 pointer-events: none; 155 } 156 157 :host > wui-flex { 158 display: var(--w3m-tooltip-display); 159 opacity: var(--w3m-tooltip-opacity); 160 padding: 9px var(--wui-spacing-s) 10px var(--wui-spacing-s); 161 border-radius: var(--wui-border-radius-xxs); 162 color: var(--wui-color-bg-100); 163 position: fixed; 164 top: var(--w3m-tooltip-top); 165 left: var(--w3m-tooltip-left); 166 transform: translate(calc(-50% + var(--w3m-tooltip-parent-width)), calc(-100% - 8px)); 167 max-width: calc(var(--w3m-modal-width) - var(--wui-spacing-xl)); 168 transition: opacity 0.2s var(--wui-ease-out-power-2); 169 will-change: opacity; 170 } 171 172 :host([data-variant='shade']) > wui-flex { 173 background-color: var(--wui-color-bg-150); 174 border: 1px solid var(--wui-color-gray-glass-005); 175 } 176 177 :host([data-variant='shade']) > wui-flex > wui-text { 178 color: var(--wui-color-fg-150); 179 } 180 181 :host([data-variant='fill']) > wui-flex { 182 background-color: var(--wui-color-fg-100); 183 border: none; 184 } 185 186 wui-icon { 187 position: absolute; 188 width: 12px !important; 189 height: 4px !important; 190 color: var(--wui-color-bg-150); 191 } 192 193 wui-icon[data-placement='top'] { 194 bottom: 0px; 195 left: 50%; 196 transform: translate(-50%, 95%); 197 } 198 199 wui-icon[data-placement='bottom'] { 200 top: 0; 201 left: 50%; 202 transform: translate(-50%, -95%) rotate(180deg); 203 } 204 205 wui-icon[data-placement='right'] { 206 top: 50%; 207 left: 0; 208 transform: translate(-65%, -50%) rotate(90deg); 209 } 210 211 wui-icon[data-placement='left'] { 212 top: 50%; 213 right: 0%; 214 transform: translate(65%, -50%) rotate(270deg); 215 } 216`;var c=function(e,t,i,r){var a,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(o=(s<3?a(o):s>3?a(t,i,o):a(t,i))||o);return s>3&&o&&Object.defineProperty(t,i,o),o};let w=class extends r.WF{constructor(){super(),this.unsubscribe=[],this.open=s.I.state.open,this.message=s.I.state.message,this.triggerRect=s.I.state.triggerRect,this.variant=s.I.state.variant,this.unsubscribe.push(s.I.subscribe(e=>{this.open=e.open,this.message=e.message,this.triggerRect=e.triggerRect,this.variant=e.variant}))}
216disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){this.dataset.variant=this.variant;let e=this.triggerRect.top,t=this.triggerRect.left;return this.style.cssText=` 217 --w3m-tooltip-top: ${e}px; 218 --w3m-tooltip-left: ${t}px; 219 --w3m-tooltip-parent-width: ${this.triggerRect.width/2}px; 220 --w3m-tooltip-display: ${this.open?"flex":"none"}; 221 --w3m-tooltip-opacity: ${+!!this.open}; 222 `,(0,r.qy)`<wui-flex> 223 <wui-icon data-placement="top" color="fg-100" size="inherit" name="cursor"></wui-icon> 224 <wui-text color="inherit" variant="small-500">${this.message}</wui-text> 225 </wui-flex>`}};w.styles=[n],c([(0,a.wk)()],w.prototype,"open",void 0),c([(0,a.wk)()],w.prototype,"message",void 0),c([(0,a.wk)()],w.prototype,"triggerRect",void 0),c([(0,a.wk)()],w.prototype,"variant",void 0),w=c([(0,o.EM)("w3m-tooltip"),(0,o.EM)("w3m-tooltip")],w)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.