1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4222],{4319:(e,t,r)=>{r.d(t,{o:()=>n});var o=r(1274),i=r(81334);let a=(0,o.BX)({isLegalCheckboxChecked:!1}),n={state:a,subscribe:e=>(0,o.B1)(a,()=>e(a)),subscribeKey:(e,t)=>(0,i.u$)(a,e,t),setIsLegalCheckboxChecked(e){a.isLegalCheckboxChecked=e}}},8285:(e,t,r)=>{r(49145)},22071:(e,t,r)=>{var o=r(1850),i=r(58446),a=r(4319),n=r(2928),s=r(44458),c=r(12689),l=r(33984);r(23456);var u=r(54684),d=r(51127);let h=(0,o.AH)` 2 label { 3 display: flex; 4 align-items: center; 5 cursor: pointer; 6 -webkit-user-select: none; 7 -moz-user-select: none; 8 -ms-user-select: none; 9 user-select: none; 10 column-gap: var(--wui-spacing-1xs); 11 } 12 13 label > input[type='checkbox'] { 14 height: 0; 15 width: 0; 16 opacity: 0; 17 pointer-events: none; 18 position: absolute; 19 } 20 21 label > span { 22 width: var(--wui-spacing-xl); 23 height: var(--wui-spacing-xl); 24 min-width: var(--wui-spacing-xl); 25 min-height: var(--wui-spacing-xl); 26 border-radius: var(--wui-border-radius-3xs); 27 border-width: 1px; 28 border-style: solid; 29 border-color: var(--wui-color-gray-glass-010); 30 display: flex; 31 align-items: center; 32 justify-content: center; 33 transition: background-color var(--wui-ease-out-power-1) var(--wui-duration-lg); 34 will-change: background-color; 35 } 36 37 label > span:hover, 38 label > input[type='checkbox']:focus-visible + span { 39 background-color: var(--wui-color-gray-glass-010); 40 } 41 42 label input[type='checkbox']:checked + span { 43 background-color: var(--wui-color-blue-base-90); 44 } 45 46 label > span > wui-icon { 47 opacity: 0; 48 transition: opacity var(--wui-ease-out-power-1) var(--wui-duration-lg); 49 will-change: opacity; 50 } 51 52 label > input[type='checkbox']:checked + span wui-icon { 53 opacity: 1; 54 } 55`;var p=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let b=class extends o.WF{constructor(){super(...arguments),this.inputElementRef=(0,l._)(),this.checked=void 0}render(){return(0,o.qy)` 56 <label> 57 <input 58 ${(0,l.K)(this.inputElementRef)} 59 ?checked=${(0,c.J)(this.checked)} 60 type="checkbox" 61 @change=${this.dispatchChangeEvent} 62 /> 63 <span> 64 <wui-icon name="checkmarkBold" color="inverse-100" size="xxs"></wui-icon> 65 </span> 66 <slot></slot> 67 </label> 68 `}dispatchChangeEvent(){this.dispatchEvent(new CustomEvent("checkboxChange",{detail:this.inputElementRef.value?.checked,bubbles:!0,composed:!0}))}};b.styles=[u.W5,h],p([(0,i.MZ)({type:Boolean})],b.prototype,"checked",void 0),b=p([(0,d.E)("wui-checkbox")],b),r(60347);let g=(0,o.AH)` 69 :host { 70 display: flex; 71 align-items: center; 72 justify-content: center; 73 } 74 wui-checkbox { 75 padding: var(--wui-spacing-s); 76 } 77 a { 78 text-decoration: none; 79 color: var(--wui-color-fg-150); 80 font-weight: 500; 81 } 82`;var w=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let f=class extends o.WF{constructor(){super(),this.unsubscribe=[],this.checked=a.o.state.isLegalCheckboxChecked,this.unsubscribe.push(a.o.subscribeKey("isLegalCheckboxChecked",e=>{this.checked=e}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){let{termsConditionsUrl:e,privacyPolicyUrl:t}=n.H.state,r=n.H.state.features?.legalCheckbox;return(e||t)&&r?(0,o.qy)` 83 <wui-checkbox 84 ?checked=${this.checked} 85 @checkboxChange=${this.onCheckboxChange.bind(this)} 86 data-testid="wui-checkbox" 87 > 88 <wui-text color="fg-250" variant="small-400" align="left"> 89 I agree to our ${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()} 90 </wui-text> 91 </wui-checkbox> 92 `:null}andTemplate(){let{termsConditionsUrl:e,privacyPolicyUrl:t}=n.H.state;return e&&t?"and":""}termsTemplate(){let{termsConditionsUrl:e}=n.H.state;return e?(0,o.qy)`<a rel="noreferrer" target="_blank" href=${e}>terms of service</a>`:null}privacyTemplate(){let{privacyPolicyUrl:e}=n.H.state;return e?(0,o.qy)`<a rel="noreferrer" target="_blank" href=${e}>privacy policy</a>`:null}onCheckboxChange(){a.o.setIsLegalCheckboxChecked(!this.checked)}};f.styles=[g],w([(0,i.wk)()],f.prototype,"checked",void 0),f=w([(0,s.EM)("w3m-legal-checkbox")],f)},39251:(e,t,r)=>{var o=r(1850),i=r(58446),a=r(51127);let n=(0,o.AH)` 93 :host { 94 display: block; 95 box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005); 96 background: linear-gradient( 97 120deg, 98 var(--wui-color-bg-200) 5%, 99 var(--wui-color-bg-200) 48%, 100 var(--wui-color-bg-300) 55%, 101 var(--wui-color-bg-300) 60%, 102 var(--wui-color-bg-300) calc(60% + 10px), 103 var(--wui-color-bg-200) calc(60% + 12px), 104 var(--wui-color-bg-200) 100% 105 ); 106 background-size: 250%; 107 animation: shimmer 3s linear infinite reverse; 108 } 109 110 :host([variant='light']) { 111 background: linear-gradient( 112 120deg, 113 var(--wui-color-bg-150) 5%, 114 var(--wui-color-bg-150) 48%, 115 var(--wui-color-bg-200) 55%, 116 var(--wui-color-bg-200) 60%, 117 var(--wui-color-bg-200) calc(60% + 10px), 118 var(--wui-color-bg-150) calc(60% + 12px), 119 var(--wui-color-bg-150) 100% 120 ); 121 background-size: 250%; 122 } 123 124 @keyframes shimmer { 125 from { 126 background-position: -250% 0; 127 } 128 to { 129 background-position: 250% 0; 130 } 131 } 132`;var s=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c=class extends o.WF{constructor(){super(...arguments),this.width="",this.height="",this.borderRadius="m",this.variant="default"}render(){return this.style.cssText=` 133 width: ${this.width}; 134 height: ${this.height}; 135 border-radius: clamp(0px,var(--wui-border-radius-${this.borderRadius}), 40px); 136 `,(0,o.qy)`<slot></slot>`}};c.styles=[n],s([(0,i.MZ)()],c.prototype,"width",void 0),s([(0,i.MZ)()],c.prototype,"height",void 0),s([(0,i.MZ)()],c.prototype,"borderRadius",void 0),s([(0,i.MZ)()],c.prototype,"variant",void 0),c=s([(0,a.E)("wui-shimmer")],c)},41964:(e,t,r)=>{r.d(t,{C5:()=>a,Ky:()=>i,PG:()=>o});let o=/[.*+?^${}()|[\]\\]/gu,i=/[0-9,.]/u,a="https://reown.com"},58014:(e,t,r)=>{var o=r(1850),i=r(58446),a=r(2928),n=r(44458);r(85479),r(60347),r(71298);let s=(0,o.AH)` 137 :host > wui-flex { 138 background-color: var(--wui-color-gray-glass-005); 139 } 140 141 :host wui-ux-by-reown { 142 padding-top: 0; 143 } 144 145 :host wui-ux-by-reown.branding-only { 146 padding-top: var(--wui-spacing-m); 147 } 148 149 a { 150 text-decoration: none; 151 color: var(--wui-color-fg-175); 152 font-weight: 500; 153 } 154`;var c=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let l=class extends o.WF{constructor(){super(),this.unsubscribe=[],this.remoteFeatures=a.H.state.remoteFeatures,this.unsubscribe.push(a.H.subscribeKey("remoteFeatures",e=>this.remoteFeatures=e))}
154disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){let{termsConditionsUrl:e,privacyPolicyUrl:t}=a.H.state,r=a.H.state.features?.legalCheckbox;return(e||t)&&!r?(0,o.qy)` 155 <wui-flex flexDirection="column"> 156 <wui-flex .padding=${["m","s","s","s"]} justifyContent="center"> 157 <wui-text color="fg-250" variant="small-400" align="center"> 158 By connecting your wallet, you agree to our <br /> 159 ${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()} 160 </wui-text> 161 </wui-flex> 162 ${this.reownBrandingTemplate()} 163 </wui-flex> 164 `:(0,o.qy)` 165 <wui-flex flexDirection="column"> ${this.reownBrandingTemplate(!0)} </wui-flex> 166 `}andTemplate(){let{termsConditionsUrl:e,privacyPolicyUrl:t}=a.H.state;return e&&t?"and":""}termsTemplate(){let{termsConditionsUrl:e}=a.H.state;return e?(0,o.qy)`<a href=${e}>Terms of Service</a>`:null}privacyTemplate(){let{privacyPolicyUrl:e}=a.H.state;return e?(0,o.qy)`<a href=${e}>Privacy Policy</a>`:null}reownBrandingTemplate(e=!1){return this.remoteFeatures?.reownBranding?e?(0,o.qy)`<wui-ux-by-reown class="branding-only"></wui-ux-by-reown>`:(0,o.qy)`<wui-ux-by-reown></wui-ux-by-reown>`:null}};l.styles=[s],c([(0,i.wk)()],l.prototype,"remoteFeatures",void 0),l=c([(0,n.EM)("w3m-legal-footer")],l)},71298:(e,t,r)=>{var o=r(1850);r(23456),r(53059),r(18341);var i=r(41964),a=r(54684),n=r(51127);let s=(0,o.AH)` 167 .reown-logo { 168 height: var(--wui-spacing-xxl); 169 } 170 171 a { 172 text-decoration: none; 173 cursor: pointer; 174 } 175 176 a:hover { 177 opacity: 0.9; 178 } 179`,c=class extends o.WF{render(){return(0,o.qy)` 180 <a 181 data-testid="ux-branding-reown" 182 href=${i.C5} 183 rel="noreferrer" 184 target="_blank" 185 style="text-decoration: none;" 186 > 187 <wui-flex 188 justifyContent="center" 189 alignItems="center" 190 gap="xs" 191 .padding=${["0","0","l","0"]} 192 > 193 <wui-text variant="small-500" color="fg-100"> UX by </wui-text> 194 <wui-icon name="reown" size="xxxl" class="reown-logo"></wui-icon> 195 </wui-flex> 196 </a> 197 `}};c.styles=[a.W5,a.fD,s],c=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n}([(0,n.E)("wui-ux-by-reown")],c)},74508:(e,t,r)=>{var o=r(1850),i=r(58446),a=r(54684),n=r(51127);let s=(0,o.AH)` 198 :host { 199 display: block; 200 width: var(--wui-box-size-md); 201 height: var(--wui-box-size-md); 202 } 203 204 svg { 205 width: var(--wui-box-size-md); 206 height: var(--wui-box-size-md); 207 } 208 209 rect { 210 fill: none; 211 stroke: var(--wui-color-accent-100); 212 stroke-width: 4px; 213 stroke-linecap: round; 214 animation: dash 1s linear infinite; 215 } 216 217 @keyframes dash { 218 to { 219 stroke-dashoffset: 0px; 220 } 221 } 222`;var c=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let l=class extends o.WF{constructor(){super(...arguments),this.radius=36}render(){return this.svgLoaderTemplate()}svgLoaderTemplate(){let e=this.radius>50?50:this.radius,t=36-e;return(0,o.qy)` 223 <svg viewBox="0 0 110 110" width="110" height="110"> 224 <rect 225 x="2" 226 y="2" 227 width="106" 228 height="106" 229 rx=${e} 230 stroke-dasharray="${116+t} ${245+t}" 231 stroke-dashoffset=${360+1.75*t} 232 /> 233 </svg> 234 `}};l.styles=[a.W5,s],c([(0,i.MZ)({type:Number})],l.prototype,"radius",void 0),l=c([(0,n.E)("wui-loading-thumbnail")],l)},80729:(e,t,r)=>{r(23456)},83416:(e,t,r)=>{var o=r(1850),i=r(58446),a=r(12689);r(53059);var n=r(54684),s=r(51127);let c=(0,o.AH)` 235 button { 236 padding: var(--wui-spacing-4xs) var(--wui-spacing-xxs); 237 border-radius: var(--wui-border-radius-3xs); 238 background-color: transparent; 239 color: var(--wui-color-accent-100); 240 } 241 242 button:disabled { 243 background-color: transparent; 244 color: var(--wui-color-gray-glass-015); 245 } 246 247 button:hover { 248 background-color: var(--wui-color-gray-glass-005); 249 } 250`;var l=function(e,t,r,o){var i,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,r,n):i(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let u=class extends o.WF{constructor(){super(...arguments),this.tabIdx=void 0,this.disabled=!1,this.color="inherit"}render(){return(0,o.qy)` 251 <button ?disabled=${this.disabled} tabindex=${(0,a.J)(this.tabIdx)}> 252 <slot name="iconLeft"></slot> 253 <wui-text variant="small-600" color=${this.color}> 254 <slot></slot> 255 </wui-text> 256 <slot name="iconRight"></slot> 257 </button> 258 `}};u.styles=[n.W5,n.fD,c],l([(0,i.MZ)()],u.prototype,"tabIdx",void 0),l([(0,i.MZ)({type:Boolean})],u.prototype,"disabled",void 0),l([(0,i.MZ)()],u.prototype,"color",void 0),u=l([(0,s.E)("wui-link")],u)}}]);
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.