@recoilpay/intent-widget 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +89 -0
  3. package/dist/chunks/add-6QI4IE74.js +15 -0
  4. package/dist/chunks/all-wallets-THC5DP7W.js +6 -0
  5. package/dist/chunks/app-store-FS2F7VYK.js +17 -0
  6. package/dist/chunks/apple-C2QR6WKS.js +18 -0
  7. package/dist/chunks/arrow-bottom-AW5LWHGC.js +8 -0
  8. package/dist/chunks/arrow-bottom-circle-3L4ACEWX.js +11 -0
  9. package/dist/chunks/arrow-left-OKHNGLQ4.js +8 -0
  10. package/dist/chunks/arrow-right-V4EYTZ5E.js +8 -0
  11. package/dist/chunks/arrow-top-XLD7PH65.js +8 -0
  12. package/dist/chunks/bank-DT5OX7C2.js +14 -0
  13. package/dist/chunks/basic-2ESEHJO2.js +2133 -0
  14. package/dist/chunks/browser-HWASO4BM.js +14 -0
  15. package/dist/chunks/card-AWLNHRWK.js +14 -0
  16. package/dist/chunks/ccip-7WYWVY5O.js +29 -0
  17. package/dist/chunks/ccip-CJPBHIYN.js +1 -0
  18. package/dist/chunks/ccip-P2XLZ2Q3.js +1 -0
  19. package/dist/chunks/ccip-TDNDQCYX.js +1 -0
  20. package/dist/chunks/checkmark-CFJVGYKN.js +11 -0
  21. package/dist/chunks/checkmark-bold-KYZGMQZC.js +8 -0
  22. package/dist/chunks/chevron-bottom-UFI5ZQCD.js +8 -0
  23. package/dist/chunks/chevron-left-IXZPWY6V.js +8 -0
  24. package/dist/chunks/chevron-right-YBXAUXMQ.js +8 -0
  25. package/dist/chunks/chevron-top-XGVJAAGN.js +8 -0
  26. package/dist/chunks/chrome-store-V7ZFZ4HF.js +61 -0
  27. package/dist/chunks/chunk-6XSLLSJX.js +1 -0
  28. package/dist/chunks/chunk-BFNNKT2C.js +20 -0
  29. package/dist/chunks/chunk-EZRXHJOM.js +9 -0
  30. package/dist/chunks/chunk-F7HZCPX2.js +1 -0
  31. package/dist/chunks/chunk-FK7PQ7YB.js +6 -0
  32. package/dist/chunks/chunk-FL3MRXUD.js +6 -0
  33. package/dist/chunks/chunk-FYS4NW6G.js +1 -0
  34. package/dist/chunks/chunk-GPOI2YA7.js +886 -0
  35. package/dist/chunks/chunk-H5GR6EPA.js +394 -0
  36. package/dist/chunks/chunk-JYRWMYZ2.js +36 -0
  37. package/dist/chunks/chunk-LQZA24C3.js +37 -0
  38. package/dist/chunks/chunk-MYICIF4X.js +6 -0
  39. package/dist/chunks/chunk-MYQCVH5Z.js +1 -0
  40. package/dist/chunks/chunk-OKQEFB6X.js +28 -0
  41. package/dist/chunks/chunk-QOQKSUB7.js +29 -0
  42. package/dist/chunks/chunk-WYVJ6QLD.js +29 -0
  43. package/dist/chunks/chunk-Z3OIWTR5.js +1 -0
  44. package/dist/chunks/clock-5HKMPIUO.js +8 -0
  45. package/dist/chunks/close-7Q5B2HQ4.js +8 -0
  46. package/dist/chunks/coinPlaceholder-3K6ZUCBB.js +8 -0
  47. package/dist/chunks/compass-W74LSHT5.js +8 -0
  48. package/dist/chunks/copy-6Q4PP5RG.js +15 -0
  49. package/dist/chunks/core-52H33BRG.js +15 -0
  50. package/dist/chunks/cursor-HIA7HILJ.js +3 -0
  51. package/dist/chunks/cursor-transparent-3QFUBR2Y.js +12 -0
  52. package/dist/chunks/desktop-AQ4JHUBR.js +9 -0
  53. package/dist/chunks/disconnect-DAKWOTZ3.js +8 -0
  54. package/dist/chunks/discord-5FRZ3W43.js +17 -0
  55. package/dist/chunks/etherscan-JBY3FG5R.js +6 -0
  56. package/dist/chunks/exclamation-triangle-3RG2YEHW.js +4 -0
  57. package/dist/chunks/extension-KJD6T6D2.js +8 -0
  58. package/dist/chunks/external-link-4TRP536K.js +8 -0
  59. package/dist/chunks/facebook-IYUAR5JX.js +26 -0
  60. package/dist/chunks/farcaster-32VRU3TK.js +12 -0
  61. package/dist/chunks/filters-XZ2LOG4T.js +8 -0
  62. package/dist/chunks/github-4DWZB2US.js +18 -0
  63. package/dist/chunks/google-7JIWLIDN.js +18 -0
  64. package/dist/chunks/help-circle-YBXI5V2B.js +12 -0
  65. package/dist/chunks/id-RY6NX47S.js +12 -0
  66. package/dist/chunks/image-TFG7VUHL.js +4 -0
  67. package/dist/chunks/index.es-SEE33E5T.js +15 -0
  68. package/dist/chunks/info-OGTYPPEO.js +3 -0
  69. package/dist/chunks/info-circle-KH5E4LQP.js +12 -0
  70. package/dist/chunks/lightbulb-U33OSZ3X.js +3 -0
  71. package/dist/chunks/mail-RCAHKDDA.js +8 -0
  72. package/dist/chunks/mine.wasm-DWLXBUXQ.js +1 -0
  73. package/dist/chunks/mobile-RMRLWRK2.js +9 -0
  74. package/dist/chunks/more-QN5BQZLT.js +11 -0
  75. package/dist/chunks/native-ESI6QOB3.js +1 -0
  76. package/dist/chunks/native-FKR3QBFJ.js +1 -0
  77. package/dist/chunks/native-J6GYQGMC.js +1 -0
  78. package/dist/chunks/native-YYHLKJS6.js +1 -0
  79. package/dist/chunks/network-placeholder-7TZ4FX3A.js +14 -0
  80. package/dist/chunks/nftPlaceholder-5A4AUYE2.js +8 -0
  81. package/dist/chunks/off-NW3B3Z3Q.js +8 -0
  82. package/dist/chunks/play-store-NST7OJXU.js +32 -0
  83. package/dist/chunks/plus-ZJXOSK2O.js +13 -0
  84. package/dist/chunks/qr-code-KDG2JZZK.js +6 -0
  85. package/dist/chunks/recycle-horizontal-3X37MC7E.js +9 -0
  86. package/dist/chunks/refresh-GL7N6ZKZ.js +8 -0
  87. package/dist/chunks/reown-logo-EXAEIT6H.js +12 -0
  88. package/dist/chunks/search-EDSER3WT.js +8 -0
  89. package/dist/chunks/secp256k1-6A42G7KH.js +11 -0
  90. package/dist/chunks/secp256k1-ACZE2VHK.js +10 -0
  91. package/dist/chunks/secp256k1-AHJALKHB.js +11 -0
  92. package/dist/chunks/secp256k1-Z3G34S2I.js +11 -0
  93. package/dist/chunks/send-G6RI7LIU.js +15 -0
  94. package/dist/chunks/swapHorizontal-PS74G3QM.js +8 -0
  95. package/dist/chunks/swapHorizontalBold-UXWIWNWD.js +8 -0
  96. package/dist/chunks/swapHorizontalMedium-RJ2OQ4TF.js +16 -0
  97. package/dist/chunks/swapHorizontalRoundedBold-7IWPKFFP.js +8 -0
  98. package/dist/chunks/swapVertical-BQ25C2TX.js +8 -0
  99. package/dist/chunks/telegram-D2ONVLTF.js +16 -0
  100. package/dist/chunks/three-dots-WTLTFKLX.js +5 -0
  101. package/dist/chunks/twitch-YCCDDY6J.js +18 -0
  102. package/dist/chunks/twitterIcon-W26URVWN.js +6 -0
  103. package/dist/chunks/verify-4BN2QIGK.js +8 -0
  104. package/dist/chunks/verify-filled-PMCOH3ZN.js +8 -0
  105. package/dist/chunks/w3m-modal-RWMJ7KYJ.js +642 -0
  106. package/dist/chunks/wallet-2P4SEUMP.js +8 -0
  107. package/dist/chunks/wallet-placeholder-V5RSTMZ2.js +14 -0
  108. package/dist/chunks/walletconnect-VJ2EPWKZ.js +30 -0
  109. package/dist/chunks/warning-circle-HB2VR6PY.js +12 -0
  110. package/dist/chunks/x-T5WBAOG3.js +12 -0
  111. package/dist/recoilpay-intent-widget.js +925 -0
  112. package/package.json +55 -0
@@ -0,0 +1,394 @@
1
+ import{K as u,L as Z,M as E,N as v,O as d}from"./chunk-GPOI2YA7.js";import{b as m,c as F,d as Y,e as l,g as z,h as X,i as K,j as h}from"./chunk-OKQEFB6X.js";var ut={attribute:!0,type:String,converter:F,reflect:!1,hasChanged:Y},dt=(e=ut,t,i)=>{let{kind:o,metadata:s}=i,r=globalThis.litPropertyMetadata.get(s);if(r===void 0&&globalThis.litPropertyMetadata.set(s,r=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),r.set(i.name,e),o==="accessor"){let{name:n}=i;return{set(a){let g=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,g,e,!0,a)},init(a){return a!==void 0&&this.C(n,void 0,e,a),a}}}if(o==="setter"){let{name:n}=i;return function(a){let g=this[n];t.call(this,a),this.requestUpdate(n,g,e,!0,a)}}throw Error("Unsupported decorator location: "+o)};function c(e){return(t,i)=>typeof i=="object"?dt(e,t,i):((o,s,r)=>{let n=s.hasOwnProperty(r);return s.constructor.createProperty(r,o),n?Object.getOwnPropertyDescriptor(s,r):void 0})(e,t,i)}function $t(e){return c({...e,state:!0,attribute:!1})}var Q=m`
2
+ :host {
3
+ display: flex;
4
+ width: inherit;
5
+ height: inherit;
6
+ }
7
+ `;var f=function(e,t,i,o){var s=arguments.length,r=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},p=class extends h{render(){return this.style.cssText=`
8
+ flex-direction: ${this.flexDirection};
9
+ flex-wrap: ${this.flexWrap};
10
+ flex-basis: ${this.flexBasis};
11
+ flex-grow: ${this.flexGrow};
12
+ flex-shrink: ${this.flexShrink};
13
+ align-items: ${this.alignItems};
14
+ justify-content: ${this.justifyContent};
15
+ column-gap: ${this.columnGap&&`var(--wui-spacing-${this.columnGap})`};
16
+ row-gap: ${this.rowGap&&`var(--wui-spacing-${this.rowGap})`};
17
+ gap: ${this.gap&&`var(--wui-spacing-${this.gap})`};
18
+ padding-top: ${this.padding&&v.getSpacingStyles(this.padding,0)};
19
+ padding-right: ${this.padding&&v.getSpacingStyles(this.padding,1)};
20
+ padding-bottom: ${this.padding&&v.getSpacingStyles(this.padding,2)};
21
+ padding-left: ${this.padding&&v.getSpacingStyles(this.padding,3)};
22
+ margin-top: ${this.margin&&v.getSpacingStyles(this.margin,0)};
23
+ margin-right: ${this.margin&&v.getSpacingStyles(this.margin,1)};
24
+ margin-bottom: ${this.margin&&v.getSpacingStyles(this.margin,2)};
25
+ margin-left: ${this.margin&&v.getSpacingStyles(this.margin,3)};
26
+ `,l`<slot></slot>`}};p.styles=[u,Q];f([c()],p.prototype,"flexDirection",void 0);f([c()],p.prototype,"flexWrap",void 0);f([c()],p.prototype,"flexBasis",void 0);f([c()],p.prototype,"flexGrow",void 0);f([c()],p.prototype,"flexShrink",void 0);f([c()],p.prototype,"alignItems",void 0);f([c()],p.prototype,"justifyContent",void 0);f([c()],p.prototype,"columnGap",void 0);f([c()],p.prototype,"rowGap",void 0);f([c()],p.prototype,"gap",void 0);f([c()],p.prototype,"padding",void 0);f([c()],p.prototype,"margin",void 0);p=f([d("wui-flex")],p);var ae=e=>e??X;var B={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},A=e=>(...t)=>({_$litDirective$:e,values:t}),$=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,o){this._$Ct=t,this._$AM=i,this._$Ci=o}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}};var J=A(class extends ${constructor(e){if(super(e),e.type!==B.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let i=e.element.classList;for(let o of this.st)o in t||(i.remove(o),this.st.delete(o));for(let o in t){let s=!!t[o];s===this.st.has(o)||this.nt?.has(o)||(s?(i.add(o),this.st.add(o)):(i.remove(o),this.st.delete(o)))}return z}});var tt=m`
27
+ :host {
28
+ display: inline-flex !important;
29
+ }
30
+
31
+ slot {
32
+ width: 100%;
33
+ display: inline-block;
34
+ font-style: normal;
35
+ font-family: var(--wui-font-family);
36
+ font-feature-settings:
37
+ 'tnum' on,
38
+ 'lnum' on,
39
+ 'case' on;
40
+ line-height: 130%;
41
+ font-weight: var(--wui-font-weight-regular);
42
+ overflow: inherit;
43
+ text-overflow: inherit;
44
+ text-align: var(--local-align);
45
+ color: var(--local-color);
46
+ }
47
+
48
+ .wui-line-clamp-1 {
49
+ overflow: hidden;
50
+ display: -webkit-box;
51
+ -webkit-box-orient: vertical;
52
+ -webkit-line-clamp: 1;
53
+ }
54
+
55
+ .wui-line-clamp-2 {
56
+ overflow: hidden;
57
+ display: -webkit-box;
58
+ -webkit-box-orient: vertical;
59
+ -webkit-line-clamp: 2;
60
+ }
61
+
62
+ .wui-font-medium-400 {
63
+ font-size: var(--wui-font-size-medium);
64
+ font-weight: var(--wui-font-weight-light);
65
+ letter-spacing: var(--wui-letter-spacing-medium);
66
+ }
67
+
68
+ .wui-font-medium-600 {
69
+ font-size: var(--wui-font-size-medium);
70
+ letter-spacing: var(--wui-letter-spacing-medium);
71
+ }
72
+
73
+ .wui-font-title-600 {
74
+ font-size: var(--wui-font-size-title);
75
+ letter-spacing: var(--wui-letter-spacing-title);
76
+ }
77
+
78
+ .wui-font-title-6-600 {
79
+ font-size: var(--wui-font-size-title-6);
80
+ letter-spacing: var(--wui-letter-spacing-title-6);
81
+ }
82
+
83
+ .wui-font-mini-700 {
84
+ font-size: var(--wui-font-size-mini);
85
+ letter-spacing: var(--wui-letter-spacing-mini);
86
+ text-transform: uppercase;
87
+ }
88
+
89
+ .wui-font-large-500,
90
+ .wui-font-large-600,
91
+ .wui-font-large-700 {
92
+ font-size: var(--wui-font-size-large);
93
+ letter-spacing: var(--wui-letter-spacing-large);
94
+ }
95
+
96
+ .wui-font-2xl-500,
97
+ .wui-font-2xl-600,
98
+ .wui-font-2xl-700 {
99
+ font-size: var(--wui-font-size-2xl);
100
+ letter-spacing: var(--wui-letter-spacing-2xl);
101
+ }
102
+
103
+ .wui-font-paragraph-400,
104
+ .wui-font-paragraph-500,
105
+ .wui-font-paragraph-600,
106
+ .wui-font-paragraph-700 {
107
+ font-size: var(--wui-font-size-paragraph);
108
+ letter-spacing: var(--wui-letter-spacing-paragraph);
109
+ }
110
+
111
+ .wui-font-small-400,
112
+ .wui-font-small-500,
113
+ .wui-font-small-600 {
114
+ font-size: var(--wui-font-size-small);
115
+ letter-spacing: var(--wui-letter-spacing-small);
116
+ }
117
+
118
+ .wui-font-tiny-400,
119
+ .wui-font-tiny-500,
120
+ .wui-font-tiny-600 {
121
+ font-size: var(--wui-font-size-tiny);
122
+ letter-spacing: var(--wui-letter-spacing-tiny);
123
+ }
124
+
125
+ .wui-font-micro-700,
126
+ .wui-font-micro-600 {
127
+ font-size: var(--wui-font-size-micro);
128
+ letter-spacing: var(--wui-letter-spacing-micro);
129
+ text-transform: uppercase;
130
+ }
131
+
132
+ .wui-font-tiny-400,
133
+ .wui-font-small-400,
134
+ .wui-font-medium-400,
135
+ .wui-font-paragraph-400 {
136
+ font-weight: var(--wui-font-weight-light);
137
+ }
138
+
139
+ .wui-font-large-700,
140
+ .wui-font-paragraph-700,
141
+ .wui-font-micro-700,
142
+ .wui-font-mini-700 {
143
+ font-weight: var(--wui-font-weight-bold);
144
+ }
145
+
146
+ .wui-font-medium-600,
147
+ .wui-font-medium-title-600,
148
+ .wui-font-title-6-600,
149
+ .wui-font-large-600,
150
+ .wui-font-paragraph-600,
151
+ .wui-font-small-600,
152
+ .wui-font-tiny-600,
153
+ .wui-font-micro-600 {
154
+ font-weight: var(--wui-font-weight-medium);
155
+ }
156
+
157
+ :host([disabled]) {
158
+ opacity: 0.4;
159
+ }
160
+ `;var P=function(e,t,i,o){var s=arguments.length,r=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},x=class extends h{constructor(){super(...arguments),this.variant="paragraph-500",this.color="fg-300",this.align="left",this.lineClamp=void 0}render(){let t={[`wui-font-${this.variant}`]:!0,[`wui-color-${this.color}`]:!0,[`wui-line-clamp-${this.lineClamp}`]:!!this.lineClamp};return this.style.cssText=`
161
+ --local-align: ${this.align};
162
+ --local-color: var(--wui-color-${this.color});
163
+ `,l`<slot class=${J(t)}></slot>`}};x.styles=[u,tt];P([c()],x.prototype,"variant",void 0);P([c()],x.prototype,"color",void 0);P([c()],x.prototype,"align",void 0);P([c()],x.prototype,"lineClamp",void 0);x=P([d("wui-text")],x);var{I:ke}=K;var et=e=>e===null||typeof e!="object"&&typeof e!="function";var it=e=>e.strings===void 0;var R=(e,t)=>{let i=e._$AN;if(i===void 0)return!1;for(let o of i)o._$AO?.(t,!1),R(o,t);return!0},D=e=>{let t,i;do{if((t=e._$AM)===void 0)break;i=t._$AN,i.delete(e),e=t}while(i?.size===0)},ot=e=>{for(let t;t=e._$AM;e=t){let i=t._$AN;if(i===void 0)t._$AN=i=new Set;else if(i.has(e))break;i.add(e),wt(t)}};function ft(e){this._$AN!==void 0?(D(this),this._$AM=e,ot(this)):this._$AM=e}function gt(e,t=!1,i=0){let o=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(t)if(Array.isArray(o))for(let r=i;r<o.length;r++)R(o[r],!1),D(o[r]);else o!=null&&(R(o,!1),D(o));else R(this,e)}var wt=e=>{e.type==B.CHILD&&(e._$AP??(e._$AP=gt),e._$AQ??(e._$AQ=ft))},L=class extends ${constructor(){super(...arguments),this._$AN=void 0}_$AT(t,i,o){super._$AT(t,i,o),ot(this),this.isConnected=t._$AU}_$AO(t,i=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),i&&(R(this,t),D(this))}setValue(t){if(it(this._$Ct))this._$Ct._$AI(t,this);else{let i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0)}}disconnected(){}reconnected(){}};var I=class{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}},M=class{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??(this.Y=new Promise(t=>this.Z=t))}resume(){this.Z?.(),this.Y=this.Z=void 0}};var rt=e=>!et(e)&&typeof e.then=="function",st=1073741823,G=class extends L{constructor(){super(...arguments),this._$Cwt=st,this._$Cbt=[],this._$CK=new I(this),this._$CX=new M}render(...t){return t.find(i=>!rt(i))??z}update(t,i){let o=this._$Cbt,s=o.length;this._$Cbt=i;let r=this._$CK,n=this._$CX;this.isConnected||this.disconnected();for(let a=0;a<i.length&&!(a>this._$Cwt);a++){let g=i[a];if(!rt(g))return this._$Cwt=a,g;a<s&&g===o[a]||(this._$Cwt=st,s=0,Promise.resolve(g).then(async _=>{for(;n.get();)await n.get();let C=r.deref();if(C!==void 0){let q=C._$Cbt.indexOf(g);q>-1&&q<C._$Cwt&&(C._$Cwt=q,C.setValue(_))}}))}return z}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}},at=A(G);var N=class{constructor(){this.cache=new Map}set(t,i){this.cache.set(t,i)}get(t){return this.cache.get(t)}has(t){return this.cache.has(t)}delete(t){this.cache.delete(t)}clear(){this.cache.clear()}},H=new N;var nt=m`
164
+ :host {
165
+ display: flex;
166
+ aspect-ratio: var(--local-aspect-ratio);
167
+ color: var(--local-color);
168
+ width: var(--local-width);
169
+ }
170
+
171
+ svg {
172
+ width: inherit;
173
+ height: inherit;
174
+ object-fit: contain;
175
+ object-position: center;
176
+ }
177
+
178
+ .fallback {
179
+ width: var(--local-width);
180
+ height: var(--local-height);
181
+ }
182
+ `;var k=function(e,t,i,o){var s=arguments.length,r=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},ct={add:async()=>(await import("./add-6QI4IE74.js")).addSvg,allWallets:async()=>(await import("./all-wallets-THC5DP7W.js")).allWalletsSvg,arrowBottomCircle:async()=>(await import("./arrow-bottom-circle-3L4ACEWX.js")).arrowBottomCircleSvg,appStore:async()=>(await import("./app-store-FS2F7VYK.js")).appStoreSvg,apple:async()=>(await import("./apple-C2QR6WKS.js")).appleSvg,arrowBottom:async()=>(await import("./arrow-bottom-AW5LWHGC.js")).arrowBottomSvg,arrowLeft:async()=>(await import("./arrow-left-OKHNGLQ4.js")).arrowLeftSvg,arrowRight:async()=>(await import("./arrow-right-V4EYTZ5E.js")).arrowRightSvg,arrowTop:async()=>(await import("./arrow-top-XLD7PH65.js")).arrowTopSvg,bank:async()=>(await import("./bank-DT5OX7C2.js")).bankSvg,browser:async()=>(await import("./browser-HWASO4BM.js")).browserSvg,card:async()=>(await import("./card-AWLNHRWK.js")).cardSvg,checkmark:async()=>(await import("./checkmark-CFJVGYKN.js")).checkmarkSvg,checkmarkBold:async()=>(await import("./checkmark-bold-KYZGMQZC.js")).checkmarkBoldSvg,chevronBottom:async()=>(await import("./chevron-bottom-UFI5ZQCD.js")).chevronBottomSvg,chevronLeft:async()=>(await import("./chevron-left-IXZPWY6V.js")).chevronLeftSvg,chevronRight:async()=>(await import("./chevron-right-YBXAUXMQ.js")).chevronRightSvg,chevronTop:async()=>(await import("./chevron-top-XGVJAAGN.js")).chevronTopSvg,chromeStore:async()=>(await import("./chrome-store-V7ZFZ4HF.js")).chromeStoreSvg,clock:async()=>(await import("./clock-5HKMPIUO.js")).clockSvg,close:async()=>(await import("./close-7Q5B2HQ4.js")).closeSvg,compass:async()=>(await import("./compass-W74LSHT5.js")).compassSvg,coinPlaceholder:async()=>(await import("./coinPlaceholder-3K6ZUCBB.js")).coinPlaceholderSvg,copy:async()=>(await import("./copy-6Q4PP5RG.js")).copySvg,cursor:async()=>(await import("./cursor-HIA7HILJ.js")).cursorSvg,cursorTransparent:async()=>(await import("./cursor-transparent-3QFUBR2Y.js")).cursorTransparentSvg,desktop:async()=>(await import("./desktop-AQ4JHUBR.js")).desktopSvg,disconnect:async()=>(await import("./disconnect-DAKWOTZ3.js")).disconnectSvg,discord:async()=>(await import("./discord-5FRZ3W43.js")).discordSvg,etherscan:async()=>(await import("./etherscan-JBY3FG5R.js")).etherscanSvg,extension:async()=>(await import("./extension-KJD6T6D2.js")).extensionSvg,externalLink:async()=>(await import("./external-link-4TRP536K.js")).externalLinkSvg,facebook:async()=>(await import("./facebook-IYUAR5JX.js")).facebookSvg,farcaster:async()=>(await import("./farcaster-32VRU3TK.js")).farcasterSvg,filters:async()=>(await import("./filters-XZ2LOG4T.js")).filtersSvg,github:async()=>(await import("./github-4DWZB2US.js")).githubSvg,google:async()=>(await import("./google-7JIWLIDN.js")).googleSvg,helpCircle:async()=>(await import("./help-circle-YBXI5V2B.js")).helpCircleSvg,image:async()=>(await import("./image-TFG7VUHL.js")).imageSvg,id:async()=>(await import("./id-RY6NX47S.js")).idSvg,infoCircle:async()=>(await import("./info-circle-KH5E4LQP.js")).infoCircleSvg,lightbulb:async()=>(await import("./lightbulb-U33OSZ3X.js")).lightbulbSvg,mail:async()=>(await import("./mail-RCAHKDDA.js")).mailSvg,mobile:async()=>(await import("./mobile-RMRLWRK2.js")).mobileSvg,more:async()=>(await import("./more-QN5BQZLT.js")).moreSvg,networkPlaceholder:async()=>(await import("./network-placeholder-7TZ4FX3A.js")).networkPlaceholderSvg,nftPlaceholder:async()=>(await import("./nftPlaceholder-5A4AUYE2.js")).nftPlaceholderSvg,off:async()=>(await import("./off-NW3B3Z3Q.js")).offSvg,playStore:async()=>(await import("./play-store-NST7OJXU.js")).playStoreSvg,plus:async()=>(await import("./plus-ZJXOSK2O.js")).plusSvg,qrCode:async()=>(await import("./qr-code-KDG2JZZK.js")).qrCodeIcon,recycleHorizontal:async()=>(await import("./recycle-horizontal-3X37MC7E.js")).recycleHorizontalSvg,refresh:async()=>(await import("./refresh-GL7N6ZKZ.js")).refreshSvg,search:async()=>(await import("./search-EDSER3WT.js")).searchSvg,send:async()=>(await import("./send-G6RI7LIU.js")).sendSvg,swapHorizontal:async()=>(await import("./swapHorizontal-PS74G3QM.js")).swapHorizontalSvg,swapHorizontalMedium:async()=>(await import("./swapHorizontalMedium-RJ2OQ4TF.js")).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await import("./swapHorizontalBold-UXWIWNWD.js")).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await import("./swapHorizontalRoundedBold-7IWPKFFP.js")).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await import("./swapVertical-BQ25C2TX.js")).swapVerticalSvg,telegram:async()=>(await import("./telegram-D2ONVLTF.js")).telegramSvg,threeDots:async()=>(await import("./three-dots-WTLTFKLX.js")).threeDotsSvg,twitch:async()=>(await import("./twitch-YCCDDY6J.js")).twitchSvg,twitter:async()=>(await import("./x-T5WBAOG3.js")).xSvg,twitterIcon:async()=>(await import("./twitterIcon-W26URVWN.js")).twitterIconSvg,verify:async()=>(await import("./verify-4BN2QIGK.js")).verifySvg,verifyFilled:async()=>(await import("./verify-filled-PMCOH3ZN.js")).verifyFilledSvg,wallet:async()=>(await import("./wallet-2P4SEUMP.js")).walletSvg,walletConnect:async()=>(await import("./walletconnect-VJ2EPWKZ.js")).walletConnectSvg,walletConnectLightBrown:async()=>(await import("./walletconnect-VJ2EPWKZ.js")).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await import("./walletconnect-VJ2EPWKZ.js")).walletConnectBrownSvg,walletPlaceholder:async()=>(await import("./wallet-placeholder-V5RSTMZ2.js")).walletPlaceholderSvg,warningCircle:async()=>(await import("./warning-circle-HB2VR6PY.js")).warningCircleSvg,x:async()=>(await import("./x-T5WBAOG3.js")).xSvg,info:async()=>(await import("./info-OGTYPPEO.js")).infoSvg,exclamationTriangle:async()=>(await import("./exclamation-triangle-3RG2YEHW.js")).exclamationTriangleSvg,reown:async()=>(await import("./reown-logo-EXAEIT6H.js")).reownSvg};async function vt(e){if(H.has(e))return H.get(e);let i=(ct[e]??ct.copy)();return H.set(e,i),i}var b=class extends h{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`
183
+ --local-color: ${`var(--wui-color-${this.color});`}
184
+ --local-width: ${`var(--wui-icon-size-${this.size});`}
185
+ --local-aspect-ratio: ${this.aspectRatio}
186
+ `,l`${at(vt(this.name),l`<div class="fallback"></div>`)}`}};b.styles=[u,E,nt];k([c()],b.prototype,"size",void 0);k([c()],b.prototype,"name",void 0);k([c()],b.prototype,"color",void 0);k([c()],b.prototype,"aspectRatio",void 0);b=k([d("wui-icon")],b);var lt=m`
187
+ :host {
188
+ display: inline-flex;
189
+ justify-content: center;
190
+ align-items: center;
191
+ position: relative;
192
+ overflow: hidden;
193
+ background-color: var(--wui-color-gray-glass-020);
194
+ border-radius: var(--local-border-radius);
195
+ border: var(--local-border);
196
+ box-sizing: content-box;
197
+ width: var(--local-size);
198
+ height: var(--local-size);
199
+ min-height: var(--local-size);
200
+ min-width: var(--local-size);
201
+ }
202
+
203
+ @supports (background: color-mix(in srgb, white 50%, black)) {
204
+ :host {
205
+ background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
206
+ }
207
+ }
208
+ `;var y=function(e,t,i,o){var s=arguments.length,r=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},w=class extends h{constructor(){super(...arguments),this.size="md",this.backgroundColor="accent-100",this.iconColor="accent-100",this.background="transparent",this.border=!1,this.borderColor="wui-color-bg-125",this.icon="copy"}render(){let t=this.iconSize||this.size,i=this.size==="lg",o=this.size==="xl",s=i?"12%":"16%",r=i?"xxs":o?"s":"3xl",n=this.background==="gray",a=this.background==="opaque",g=this.backgroundColor==="accent-100"&&a||this.backgroundColor==="success-100"&&a||this.backgroundColor==="error-100"&&a||this.backgroundColor==="inverse-100"&&a,_=`var(--wui-color-${this.backgroundColor})`;return g?_=`var(--wui-icon-box-bg-${this.backgroundColor})`:n&&(_=`var(--wui-color-gray-${this.backgroundColor})`),this.style.cssText=`
209
+ --local-bg-value: ${_};
210
+ --local-bg-mix: ${g||n?"100%":s};
211
+ --local-border-radius: var(--wui-border-radius-${r});
212
+ --local-size: var(--wui-icon-box-size-${this.size});
213
+ --local-border: ${this.borderColor==="wui-color-bg-125"?"2px":"1px"} solid ${this.border?`var(--${this.borderColor})`:"transparent"}
214
+ `,l` <wui-icon color=${this.iconColor} size=${t} name=${this.icon}></wui-icon> `}};w.styles=[u,Z,lt];y([c()],w.prototype,"size",void 0);y([c()],w.prototype,"backgroundColor",void 0);y([c()],w.prototype,"iconColor",void 0);y([c()],w.prototype,"iconSize",void 0);y([c()],w.prototype,"background",void 0);y([c({type:Boolean})],w.prototype,"border",void 0);y([c()],w.prototype,"borderColor",void 0);y([c()],w.prototype,"icon",void 0);w=y([d("wui-icon-box")],w);var pt=m`
215
+ :host {
216
+ display: block;
217
+ width: var(--local-width);
218
+ height: var(--local-height);
219
+ }
220
+
221
+ img {
222
+ display: block;
223
+ width: 100%;
224
+ height: 100%;
225
+ object-fit: cover;
226
+ object-position: center center;
227
+ border-radius: inherit;
228
+ }
229
+ `;var W=function(e,t,i,o){var s=arguments.length,r=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},S=class extends h{constructor(){super(...arguments),this.src="./path/to/image.jpg",this.alt="Image",this.size=void 0}render(){return this.style.cssText=`
230
+ --local-width: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
231
+ --local-height: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};
232
+ `,l`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};S.styles=[u,E,pt];W([c()],S.prototype,"src",void 0);W([c()],S.prototype,"alt",void 0);W([c()],S.prototype,"size",void 0);S=W([d("wui-image")],S);var mt=m`
233
+ :host {
234
+ display: flex;
235
+ justify-content: center;
236
+ align-items: center;
237
+ height: var(--wui-spacing-m);
238
+ padding: 0 var(--wui-spacing-3xs) !important;
239
+ border-radius: var(--wui-border-radius-5xs);
240
+ transition:
241
+ border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
242
+ background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
243
+ will-change: border-radius, background-color;
244
+ }
245
+
246
+ :host > wui-text {
247
+ transform: translateY(5%);
248
+ }
249
+
250
+ :host([data-variant='main']) {
251
+ background-color: var(--wui-color-accent-glass-015);
252
+ color: var(--wui-color-accent-100);
253
+ }
254
+
255
+ :host([data-variant='shade']) {
256
+ background-color: var(--wui-color-gray-glass-010);
257
+ color: var(--wui-color-fg-200);
258
+ }
259
+
260
+ :host([data-variant='success']) {
261
+ background-color: var(--wui-icon-box-bg-success-100);
262
+ color: var(--wui-color-success-100);
263
+ }
264
+
265
+ :host([data-variant='error']) {
266
+ background-color: var(--wui-icon-box-bg-error-100);
267
+ color: var(--wui-color-error-100);
268
+ }
269
+
270
+ :host([data-size='lg']) {
271
+ padding: 11px 5px !important;
272
+ }
273
+
274
+ :host([data-size='lg']) > wui-text {
275
+ transform: translateY(2%);
276
+ }
277
+ `;var U=function(e,t,i,o){var s=arguments.length,r=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},T=class extends h{constructor(){super(...arguments),this.variant="main",this.size="lg"}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;let t=this.size==="md"?"mini-700":"micro-700";return l`
278
+ <wui-text data-variant=${this.variant} variant=${t} color="inherit">
279
+ <slot></slot>
280
+ </wui-text>
281
+ `}};T.styles=[u,mt];U([c()],T.prototype,"variant",void 0);U([c()],T.prototype,"size",void 0);T=U([d("wui-tag")],T);var ht=m`
282
+ :host {
283
+ display: flex;
284
+ }
285
+
286
+ :host([data-size='sm']) > svg {
287
+ width: 12px;
288
+ height: 12px;
289
+ }
290
+
291
+ :host([data-size='md']) > svg {
292
+ width: 16px;
293
+ height: 16px;
294
+ }
295
+
296
+ :host([data-size='lg']) > svg {
297
+ width: 24px;
298
+ height: 24px;
299
+ }
300
+
301
+ :host([data-size='xl']) > svg {
302
+ width: 32px;
303
+ height: 32px;
304
+ }
305
+
306
+ svg {
307
+ animation: rotate 2s linear infinite;
308
+ }
309
+
310
+ circle {
311
+ fill: none;
312
+ stroke: var(--local-color);
313
+ stroke-width: 4px;
314
+ stroke-dasharray: 1, 124;
315
+ stroke-dashoffset: 0;
316
+ stroke-linecap: round;
317
+ animation: dash 1.5s ease-in-out infinite;
318
+ }
319
+
320
+ :host([data-size='md']) > svg > circle {
321
+ stroke-width: 6px;
322
+ }
323
+
324
+ :host([data-size='sm']) > svg > circle {
325
+ stroke-width: 8px;
326
+ }
327
+
328
+ @keyframes rotate {
329
+ 100% {
330
+ transform: rotate(360deg);
331
+ }
332
+ }
333
+
334
+ @keyframes dash {
335
+ 0% {
336
+ stroke-dasharray: 1, 124;
337
+ stroke-dashoffset: 0;
338
+ }
339
+
340
+ 50% {
341
+ stroke-dasharray: 90, 124;
342
+ stroke-dashoffset: -35;
343
+ }
344
+
345
+ 100% {
346
+ stroke-dashoffset: -125;
347
+ }
348
+ }
349
+ `;var V=function(e,t,i,o){var s=arguments.length,r=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(s<3?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},j=class extends h{constructor(){super(...arguments),this.color="accent-100",this.size="lg"}render(){return this.style.cssText=`--local-color: ${this.color==="inherit"?"inherit":`var(--wui-color-${this.color})`}`,this.dataset.size=this.size,l`<svg viewBox="25 25 50 50">
350
+ <circle r="20" cy="50" cx="50"></circle>
351
+ </svg>`}};j.styles=[u,ht];V([c()],j.prototype,"color",void 0);V([c()],j.prototype,"size",void 0);j=V([d("wui-loading-spinner")],j);export{c as a,$t as b,ae as c,A as d,L as e,J as f};
352
+ /*! Bundled license information:
353
+
354
+ @lit/reactive-element/decorators/property.js:
355
+ @lit/reactive-element/decorators/state.js:
356
+ @lit/reactive-element/decorators/custom-element.js:
357
+ @lit/reactive-element/decorators/event-options.js:
358
+ @lit/reactive-element/decorators/base.js:
359
+ @lit/reactive-element/decorators/query.js:
360
+ @lit/reactive-element/decorators/query-all.js:
361
+ @lit/reactive-element/decorators/query-async.js:
362
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
363
+ lit-html/directive.js:
364
+ lit-html/async-directive.js:
365
+ lit-html/directives/until.js:
366
+ (**
367
+ * @license
368
+ * Copyright 2017 Google LLC
369
+ * SPDX-License-Identifier: BSD-3-Clause
370
+ *)
371
+
372
+ @lit/reactive-element/decorators/query-assigned-elements.js:
373
+ lit-html/directives/private-async-helpers.js:
374
+ (**
375
+ * @license
376
+ * Copyright 2021 Google LLC
377
+ * SPDX-License-Identifier: BSD-3-Clause
378
+ *)
379
+
380
+ lit-html/directives/if-defined.js:
381
+ lit-html/directives/class-map.js:
382
+ (**
383
+ * @license
384
+ * Copyright 2018 Google LLC
385
+ * SPDX-License-Identifier: BSD-3-Clause
386
+ *)
387
+
388
+ lit-html/directive-helpers.js:
389
+ (**
390
+ * @license
391
+ * Copyright 2020 Google LLC
392
+ * SPDX-License-Identifier: BSD-3-Clause
393
+ *)
394
+ */