PageSourceSearch

https://www.takeapeak.ai/assets/w3m-onramp-providers-footer-CPgN7ibS.js

js takeapeak.ai collected 2026-10-05 12:43:34 UTC 4,858 bytes, 81 lines download raw bytes

1import{B as e,M as t,b as n,g as r,r as i,w as a}from"./ModalController-Udrg6nMA.js";import{C as o,b as s,d as c,g as l,l as u,p as d,s as f,v as p}from"./wui-text-Dxo3Lf6-.js";import"./wui-icon-BBu8Je9C.js";import"./wui-link-RJK4a3b_.js";var m=`https://reown.com`,h=l`
2  .reown-logo {
3    height: 24px;
4  }
5
6  a {
7    text-decoration: none;
8    cursor: pointer;
9    color: ${({tokens:e})=>e.theme.textSecondary};
10  }
11
12  a:hover {
13    opacity: 0.9;
14  }
15`,g=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_=class extends p{render(){return s`
16      <a
17        data-testid="ux-branding-reown"
18        href=${m}
19        rel="noreferrer"
20        target="_blank"
21        style="text-decoration: none;"
22      >
23        <wui-flex
24          justifyContent="center"
25          alignItems="center"
26          gap="1"
27          .padding=${[`01`,`0`,`3`,`0`]}
28        >
29          <wui-text variant="sm-regular" color="inherit"> UX by </wui-text>
30          <wui-icon name="reown" size="inherit" class="reown-logo"></wui-icon>
31        </wui-flex>
32      </a>
33    `}};_.styles=[d,c,h],_=g([u(`wui-ux-by-reown`)],_);var v=l`
34  :host wui-ux-by-reown {
35    padding-top: 0;
36  }
37
38  :host wui-ux-by-reown.branding-only {
39    padding-top: ${({spacing:e})=>e[3]};
40  }
41
42  a {
43    text-decoration: none;
44    color: ${({tokens:e})=>e.core.textAccentPrimary};
45    font-weight: 500;
46  }
47`,y=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},b=class extends p{constructor(){super(),this.unsubscribe=[],this.remoteFeatures=t.state.remoteFeatures,this.unsubscribe.push(t.subscribeKey(`remoteFeatures`,e=>this.remoteFeatures=e))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){let{termsConditionsUrl:e,privacyPolicyUrl:n}=t.state,r=t.state.features?.legalCheckbox;return!e&&!n||r?s`
48        <wui-flex flexDirection="column"> ${this.reownBrandingTemplate(!0)} </wui-flex>
49      `:s`
50      <wui-flex flexDirection="column">
51        <wui-flex .padding=${[`4`,`3`,`3`,`3`]} justifyContent="center">
52          <wui-text color="secondary" variant="md-regular" align="center">
53            By connecting your wallet, you agree to our <br />
54            ${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()}
55          </wui-text>
56        </wui-flex>
57        ${this.reownBrandingTemplate()}
58      </wui-flex>
59    `}andTemplate(){let{termsConditionsUrl:e,privacyPolicyUrl:n}=t.state;return e&&n?`and`:``}termsTemplate(){let{termsConditionsUrl:e}=t.state;return e?s`<a href=${e} target="_blank" rel="noopener noreferrer"
60      >Terms of Service</a
61    >`:null}privacyTemplate(){let{privacyPolicyUrl:e}=t.state;return e?s`<a href=${e} target="_blank" rel="noopener noreferrer"
62      >Privacy Policy</a
63    >`:null}reownBrandingTemplate(e=!1){return this.remoteFeatures?.reownBranding?e?s`<wui-ux-by-reown class="branding-only"></wui-ux-by-reown>`:s`<wui-ux-by-reown></wui-ux-by-reown>`:null}};b.styles=[v],y([f()],b.prototype,`remoteFeatures`,void 0),b=y([u(`w3m-legal-footer`)],b);var x=o``,S=function(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},C=class extends p{render(){let{termsConditionsUrl:e,privacyPolicyUrl:n}=t.state;return!e&&!n?null:s`
64      <wui-flex
65        .padding=${[`4`,`3`,`3`,`3`]}
66        flexDirection="column"
67        alignItems="center"
68        justifyContent="center"
69        gap="3"
70      >
71        <wui-text color="secondary" variant="md-regular" align="center">
72          We work with the best providers to give you the lowest fees and best support. More options
73          coming soon!
74        </wui-text>
75
76        ${this.howDoesItWorkTemplate()}
77      </wui-flex>
78    `}howDoesItWorkTemplate(){return s` <wui-link @click=${this.onWhatIsBuy.bind(this)}>
79      <wui-icon size="xs" color="accent-primary" slot="iconLeft" name="helpCircle"></wui-icon>
80      How does it work?
81    </wui-link>`}onWhatIsBuy(){a.sendEvent({type:`track`,event:`SELECT_WHAT_IS_A_BUY`,properties:{isSmartAccount:r(i.state.activeChain)===e.ACCOUNT_TYPES.SMART_ACCOUNT}}),n.push(`WhatIsABuy`)}};C.styles=[x],C=S([u(`w3m-onramp-providers-footer`)],C);

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.