@wheelx-widget/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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 WheelX
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,181 @@
1
+ # @wheelx-widget/widget
2
+
3
+ An open-source, framework-agnostic React widget for cross-chain token swaps and bridges. Built-in wallet connection support (EVM + Solana), configurable theme system, and ready-to-use demo application.
4
+
5
+ ## Features
6
+
7
+ - 🔄 **Cross-chain Swap & Bridge** — Full trading flow with quote polling, gas estimation, approval handling
8
+ - 👛 **Built-in Wallet Connection** — Dynamic SDK + Wagmi v2 supporting EVM (MetaMask, OKX, etc.) and Solana (Phantom)
9
+ - 🎨 **Configurable Theme** — 14 color tokens for custom skinning
10
+ - ⚛️ **Framework Agnostic** — Works with any React framework (Next.js, Vite, Create React App, etc.)
11
+ - 📦 **Tree-shakeable** — ESM + CJS builds with TypeScript declarations
12
+ - 🔌 **Configurable Default Tokens** — Set default from/to chains and tokens
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ npm install @wheelx-widget/widget @chakra-ui/react @emotion/react
18
+ ```
19
+
20
+ Note: `@chakra-ui/react` and `@emotion/react` are required peer dependencies.
21
+
22
+ ## Quick Start
23
+
24
+ ```tsx
25
+ import { WheelXProvider, WheelXWidget } from '@wheelx-widget/widget'
26
+
27
+ function App() {
28
+ return (
29
+ <WheelXProvider>
30
+ <WheelXWidget />
31
+ </WheelXProvider>
32
+ )
33
+ }
34
+ ```
35
+
36
+ ## Configuration
37
+
38
+ ### Theme Customization
39
+
40
+ Customize 14 visual tokens:
41
+
42
+ ```tsx
43
+ <WheelXProvider config={{
44
+ theme: {
45
+ defaultTextColor: '#1A1D26',
46
+ highlightTextColor: '#007B9D',
47
+ weakTextColor: '#5D6270',
48
+ defaultBgColor: '#FFFFFF',
49
+ highlightBgColor: '#E6F7FB',
50
+ assistBgColor: '#F5F6F8',
51
+ defaultBorderColor: '#E2E4E8',
52
+ highlightBorderColor: '#007B9D',
53
+ highlightButtonBg: '#007B9D',
54
+ highlightButtonText: '#FFFFFF',
55
+ normalButtonBg: '#F5F6F8',
56
+ normalButtonText: '#1A1D26',
57
+ disabledButtonBg: '#E2E4E8',
58
+ disabledButtonText: '#A0A4AE'
59
+ }
60
+ }}>
61
+ <WheelXWidget />
62
+ </WheelXProvider>
63
+ ```
64
+
65
+ ### Default Chain/Token Configuration
66
+
67
+ ```tsx
68
+ <WheelXProvider config={{
69
+ from: {
70
+ chains: [8453, 1], // Only show Base and Ethereum as from chains
71
+ defaultChainId: 8453 // Default to Base
72
+ },
73
+ to: {
74
+ chains: [1868], // Only show Soneium as to chain
75
+ defaultChainId: 1868 // Default to Soneium
76
+ }
77
+ }}>
78
+ <WheelXWidget />
79
+ </WheelXProvider>
80
+ ```
81
+
82
+ ### Custom Dynamic Environment ID
83
+
84
+ ```tsx
85
+ <WheelXProvider config={{
86
+ dynamicEnvironmentId: 'your-dynamic-environment-id'
87
+ }}>
88
+ <WheelXWidget />
89
+ </WheelXProvider>
90
+ ```
91
+
92
+ ## API Reference
93
+
94
+ ### `<WheelXProvider>`
95
+
96
+ The root provider component that sets up wallet connections, React Query, and theme.
97
+
98
+ | Prop | Type | Default | Description |
99
+ |------|------|---------|-------------|
100
+ | `config` | `WidgetConfig` | `{}` | Widget configuration |
101
+ | `children` | `React.ReactNode` | — | Child components |
102
+
103
+ ### `<WheelXWidget>`
104
+
105
+ The main trading widget component.
106
+
107
+ | Prop | Type | Default | Description |
108
+ |------|------|---------|-------------|
109
+ | `config` | `WidgetConfig` | `{}` | Widget configuration |
110
+
111
+ ### `WidgetConfig`
112
+
113
+ ```typescript
114
+ interface WidgetConfig {
115
+ theme?: Partial<WidgetTheme>
116
+ from?: {
117
+ chains?: number[]
118
+ defaultChainId?: number
119
+ chainTokens?: Record<number, TokenConfig[]>
120
+ defaultToken?: { chainId: number; address: string }
121
+ }
122
+ to?: {
123
+ chains?: number[]
124
+ defaultChainId?: number
125
+ chainTokens?: Record<number, TokenConfig[]>
126
+ defaultToken?: { chainId: number; address: string }
127
+ }
128
+ routerCallback?: {
129
+ onPathnameChange?: (pathname: string) => void
130
+ onRouteLeave?: () => void
131
+ getCurrentPathname?: () => string
132
+ }
133
+ dynamicEnvironmentId?: string
134
+ }
135
+ ```
136
+
137
+ ### `WidgetTheme`
138
+
139
+ ```typescript
140
+ interface WidgetTheme {
141
+ defaultTextColor: string
142
+ highlightTextColor: string
143
+ weakTextColor: string
144
+ defaultBgColor: string
145
+ highlightBgColor: string
146
+ assistBgColor: string
147
+ defaultBorderColor: string
148
+ highlightBorderColor: string
149
+ highlightButtonBg: string
150
+ highlightButtonText: string
151
+ normalButtonBg: string
152
+ normalButtonText: string
153
+ disabledButtonBg: string
154
+ disabledButtonText: string
155
+ }
156
+ ```
157
+
158
+ ## Demo
159
+
160
+ A demo application is available in the `packages/demo` directory:
161
+
162
+ ```bash
163
+ git clone https://github.com/wheelx-fi/wheelx-ui.git
164
+ cd wheelx-ui
165
+ git checkout feat/aidenxiao_20260530_widget
166
+ pnpm install
167
+ pnpm --filter @wheelx/widget-demo dev
168
+ ```
169
+
170
+ The demo app opens at `http://localhost:3001` and provides:
171
+ - Visual theme configuration with live preview
172
+ - Chain/token configuration
173
+ - Copy-and-paste configuration code generation
174
+
175
+ ## API Endpoint
176
+
177
+ This widget connects to the WheelX API at `https://api.wheelx.fi`. The API domain is not configurable.
178
+
179
+ ## License
180
+
181
+ MIT
package/dist/index.css ADDED
@@ -0,0 +1,275 @@
1
+ /* src/animations.css */
2
+ .animation-wheel {
3
+ width: 280px;
4
+ height: 280px;
5
+ background-image: url(https://wheelx.fi/images/wheel-sprites.png);
6
+ background-repeat: no-repeat;
7
+ animation-name: keyframes-wheel;
8
+ animation-duration: 5s;
9
+ animation-delay: 0s;
10
+ animation-iteration-count: infinite;
11
+ animation-fill-mode: forwards;
12
+ animation-timing-function: steps(1);
13
+ }
14
+ .animation-success {
15
+ width: 280px;
16
+ height: 280px;
17
+ background-image: url(https://wheelx.fi/images/success-sprites.png);
18
+ background-repeat: no-repeat;
19
+ animation-name: keyframes-success;
20
+ animation-duration: 2s;
21
+ animation-delay: 0s;
22
+ animation-iteration-count: 1;
23
+ animation-fill-mode: forwards;
24
+ animation-timing-function: steps(1);
25
+ }
26
+ .animation-loading {
27
+ animation-duration: 1s;
28
+ animation-iteration-count: 1;
29
+ animation-timing-function: ease-in-out;
30
+ transform-origin: center;
31
+ }
32
+ .failure {
33
+ width: 280px;
34
+ height: 280px;
35
+ background: url(https://wheelx.fi/images/error.svg) no-repeat center center/126px 126px;
36
+ }
37
+ .text_gradient_1 {
38
+ background:
39
+ linear-gradient(
40
+ 90deg,
41
+ #0F62FE 0%,
42
+ #A56EFF 31.73%,
43
+ #EE5396 67.31%,
44
+ #F1751B 100%);
45
+ background-clip: text;
46
+ -webkit-background-clip: text;
47
+ -webkit-text-fill-color: transparent;
48
+ color: transparent;
49
+ display: inline-block;
50
+ }
51
+ .text_gradient_2 {
52
+ background:
53
+ linear-gradient(
54
+ 90deg,
55
+ #B125EF 0%,
56
+ #5257F7 100%);
57
+ background-clip: text;
58
+ -webkit-background-clip: text;
59
+ -webkit-text-fill-color: transparent;
60
+ color: transparent;
61
+ display: inline-block;
62
+ }
63
+ .pulse {
64
+ animation: pulse 1.5s infinite;
65
+ }
66
+ @keyframes pulse {
67
+ 0% {
68
+ transform: scale(1);
69
+ }
70
+ 50% {
71
+ transform: scale(1.18);
72
+ }
73
+ 100% {
74
+ transform: scale(1);
75
+ }
76
+ }
77
+ @keyframes keyframes-wheel {
78
+ 0% {
79
+ width: 280px;
80
+ height: 280px;
81
+ background-image: url(https://wheelx.fi/images/wheel-sprites.png);
82
+ }
83
+ 3.13% {
84
+ background-position: -280px 0px;
85
+ }
86
+ 6.25% {
87
+ background-position: -560px 0px;
88
+ }
89
+ 9.38% {
90
+ background-position: -840px 0px;
91
+ }
92
+ 12.50% {
93
+ background-position: -1120px 0px;
94
+ }
95
+ 15.63% {
96
+ background-position: -1400px 0px;
97
+ }
98
+ 18.75% {
99
+ background-position: -1680px 0px;
100
+ }
101
+ 21.88% {
102
+ background-position: -1960px 0px;
103
+ }
104
+ 25.00% {
105
+ background-position: -2240px 0px;
106
+ }
107
+ 28.13% {
108
+ background-position: -2520px 0px;
109
+ }
110
+ 31.25% {
111
+ background-position: -2800px 0px;
112
+ }
113
+ 34.38% {
114
+ background-position: -3080px 0px;
115
+ }
116
+ 37.50% {
117
+ background-position: -3360px 0px;
118
+ }
119
+ 40.63% {
120
+ background-position: -3640px 0px;
121
+ }
122
+ 43.75% {
123
+ background-position: -3920px 0px;
124
+ }
125
+ 46.88% {
126
+ background-position: -4200px 0px;
127
+ }
128
+ 50.00% {
129
+ background-position: -4480px 0px;
130
+ }
131
+ 53.13% {
132
+ background-position: -4760px 0px;
133
+ }
134
+ 56.25% {
135
+ background-position: -5040px 0px;
136
+ }
137
+ 59.38% {
138
+ background-position: -5320px 0px;
139
+ }
140
+ 62.50% {
141
+ background-position: -5600px 0px;
142
+ }
143
+ 65.63% {
144
+ background-position: -5880px 0px;
145
+ }
146
+ 68.75% {
147
+ background-position: -6160px 0px;
148
+ }
149
+ 71.88% {
150
+ background-position: -6440px 0px;
151
+ }
152
+ 75.00% {
153
+ background-position: -6720px 0px;
154
+ }
155
+ 78.13% {
156
+ background-position: -7000px 0px;
157
+ }
158
+ 81.25% {
159
+ background-position: -7280px 0px;
160
+ }
161
+ 84.38% {
162
+ background-position: -7560px 0px;
163
+ }
164
+ 87.50% {
165
+ background-position: -7840px 0px;
166
+ }
167
+ 90.63% {
168
+ background-position: -8120px 0px;
169
+ }
170
+ 93.75% {
171
+ background-position: -8400px 0px;
172
+ }
173
+ 96.88%, 100% {
174
+ background-position: -8680px 0px;
175
+ }
176
+ }
177
+ @keyframes keyframes-success {
178
+ 0% {
179
+ width: 280px;
180
+ height: 280px;
181
+ background-image: url(https://wheelx.fi/images/success-sprites.png);
182
+ }
183
+ 3.85% {
184
+ background-position: -280px 0px;
185
+ }
186
+ 7.69% {
187
+ background-position: -560px 0px;
188
+ }
189
+ 11.54% {
190
+ background-position: -840px 0px;
191
+ }
192
+ 15.38% {
193
+ background-position: -1120px 0px;
194
+ }
195
+ 19.23% {
196
+ background-position: -1400px 0px;
197
+ }
198
+ 23.08% {
199
+ background-position: -1680px 0px;
200
+ }
201
+ 26.92% {
202
+ background-position: -1960px 0px;
203
+ }
204
+ 30.77% {
205
+ background-position: -2240px 0px;
206
+ }
207
+ 34.62% {
208
+ background-position: -2520px 0px;
209
+ }
210
+ 38.46% {
211
+ background-position: -2800px 0px;
212
+ }
213
+ 42.31% {
214
+ background-position: -3080px 0px;
215
+ }
216
+ 46.15% {
217
+ background-position: -3360px 0px;
218
+ }
219
+ 50.00% {
220
+ background-position: -3640px 0px;
221
+ }
222
+ 53.85% {
223
+ background-position: -3920px 0px;
224
+ }
225
+ 57.69% {
226
+ background-position: -4200px 0px;
227
+ }
228
+ 61.54% {
229
+ background-position: -4480px 0px;
230
+ }
231
+ 65.38% {
232
+ background-position: -4760px 0px;
233
+ }
234
+ 69.23% {
235
+ background-position: -5040px 0px;
236
+ }
237
+ 73.08% {
238
+ background-position: -5320px 0px;
239
+ }
240
+ 76.92% {
241
+ background-position: -5600px 0px;
242
+ }
243
+ 80.77% {
244
+ background-position: -5880px 0px;
245
+ }
246
+ 84.62% {
247
+ background-position: -6160px 0px;
248
+ }
249
+ 88.46% {
250
+ background-position: -6440px 0px;
251
+ }
252
+ 92.31% {
253
+ background-position: -6720px 0px;
254
+ }
255
+ 100% {
256
+ background-position: -7000px 0px;
257
+ }
258
+ }
259
+ @keyframes keyframes-loading {
260
+ 0% {
261
+ transform: rotate(0deg);
262
+ }
263
+ 100% {
264
+ transform: rotate(-360deg);
265
+ }
266
+ }
267
+ @keyframes svg_loader {
268
+ 0% {
269
+ stroke-dasharray: 0, 101;
270
+ }
271
+ 100% {
272
+ stroke-dasharray: 65, 101;
273
+ }
274
+ }
275
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/animations.css"],"sourcesContent":["/* WheelX Widget - Animation styles synced from main site */\r\n/* Image URLs point to https://wheelx.fi for external widget usage */\r\n\r\n.animation-wheel {\r\n width: 280px;\r\n height: 280px;\r\n background-image: url('https://wheelx.fi/images/wheel-sprites.png');\r\n background-repeat: no-repeat;\r\n animation-name: keyframes-wheel;\r\n animation-duration: 5s;\r\n animation-delay: 0s;\r\n animation-iteration-count: infinite;\r\n animation-fill-mode: forwards;\r\n animation-timing-function: steps(1);\r\n}\r\n\r\n.animation-success {\r\n width: 280px;\r\n height: 280px;\r\n background-image: url('https://wheelx.fi/images/success-sprites.png');\r\n background-repeat: no-repeat;\r\n animation-name: keyframes-success;\r\n animation-duration: 2s;\r\n animation-delay: 0s;\r\n animation-iteration-count: 1;\r\n animation-fill-mode: forwards;\r\n animation-timing-function: steps(1);\r\n}\r\n\r\n.animation-loading {\r\n animation-duration: 1s;\r\n animation-iteration-count: 1;\r\n animation-timing-function: ease-in-out;\r\n transform-origin: center;\r\n}\r\n\r\n.failure {\r\n width: 280px;\r\n height: 280px;\r\n background: url('https://wheelx.fi/images/error.svg') no-repeat center center/126px 126px;\r\n}\r\n\r\n/* Gradient text utilities */\r\n.text_gradient_1 {\r\n background: linear-gradient(90deg, #0F62FE 0%, #A56EFF 31.73%, #EE5396 67.31%, #F1751B 100%);\r\n background-clip: text;\r\n -webkit-background-clip: text;\r\n -webkit-text-fill-color: transparent;\r\n color: transparent;\r\n display: inline-block;\r\n}\r\n\r\n.text_gradient_2 {\r\n background: linear-gradient(90deg, #B125EF 0%, #5257F7 100%);\r\n background-clip: text;\r\n -webkit-background-clip: text;\r\n -webkit-text-fill-color: transparent;\r\n color: transparent;\r\n display: inline-block;\r\n}\r\n\r\n/* Pulse loading animation */\r\n.pulse {\r\n animation: pulse 1.5s infinite;\r\n}\r\n\r\n@keyframes pulse {\r\n 0% {\r\n transform: scale(1);\r\n }\r\n 50% {\r\n transform: scale(1.18);\r\n }\r\n 100% {\r\n transform: scale(1);\r\n }\r\n}\r\n\r\n/* Wheel spinning animation (32 frames sprite sheet) */\r\n@keyframes keyframes-wheel {\r\n 0% {\r\n width: 280px;\r\n height: 280px;\r\n background-image: url('https://wheelx.fi/images/wheel-sprites.png');\r\n }\r\n 3.13% {\r\n background-position: -280px 0px;\r\n }\r\n 6.25% {\r\n background-position: -560px 0px;\r\n }\r\n 9.38% {\r\n background-position: -840px 0px;\r\n }\r\n 12.50% {\r\n background-position: -1120px 0px;\r\n }\r\n 15.63% {\r\n background-position: -1400px 0px;\r\n }\r\n 18.75% {\r\n background-position: -1680px 0px;\r\n }\r\n 21.88% {\r\n background-position: -1960px 0px;\r\n }\r\n 25.00% {\r\n background-position: -2240px 0px;\r\n }\r\n 28.13% {\r\n background-position: -2520px 0px;\r\n }\r\n 31.25% {\r\n background-position: -2800px 0px;\r\n }\r\n 34.38% {\r\n background-position: -3080px 0px;\r\n }\r\n 37.50% {\r\n background-position: -3360px 0px;\r\n }\r\n 40.63% {\r\n background-position: -3640px 0px;\r\n }\r\n 43.75% {\r\n background-position: -3920px 0px;\r\n }\r\n 46.88% {\r\n background-position: -4200px 0px;\r\n }\r\n 50.00% {\r\n background-position: -4480px 0px;\r\n }\r\n 53.13% {\r\n background-position: -4760px 0px;\r\n }\r\n 56.25% {\r\n background-position: -5040px 0px;\r\n }\r\n 59.38% {\r\n background-position: -5320px 0px;\r\n }\r\n 62.50% {\r\n background-position: -5600px 0px;\r\n }\r\n 65.63% {\r\n background-position: -5880px 0px;\r\n }\r\n 68.75% {\r\n background-position: -6160px 0px;\r\n }\r\n 71.88% {\r\n background-position: -6440px 0px;\r\n }\r\n 75.00% {\r\n background-position: -6720px 0px;\r\n }\r\n 78.13% {\r\n background-position: -7000px 0px;\r\n }\r\n 81.25% {\r\n background-position: -7280px 0px;\r\n }\r\n 84.38% {\r\n background-position: -7560px 0px;\r\n }\r\n 87.50% {\r\n background-position: -7840px 0px;\r\n }\r\n 90.63% {\r\n background-position: -8120px 0px;\r\n }\r\n 93.75% {\r\n background-position: -8400px 0px;\r\n }\r\n 96.88%,\r\n 100% {\r\n background-position: -8680px 0px;\r\n }\r\n}\r\n\r\n/* Success animation (26 frames sprite sheet) */\r\n@keyframes keyframes-success {\r\n 0% {\r\n width: 280px;\r\n height: 280px;\r\n background-image: url('https://wheelx.fi/images/success-sprites.png');\r\n }\r\n 3.85% {\r\n background-position: -280px 0px;\r\n }\r\n 7.69% {\r\n background-position: -560px 0px;\r\n }\r\n 11.54% {\r\n background-position: -840px 0px;\r\n }\r\n 15.38% {\r\n background-position: -1120px 0px;\r\n }\r\n 19.23% {\r\n background-position: -1400px 0px;\r\n }\r\n 23.08% {\r\n background-position: -1680px 0px;\r\n }\r\n 26.92% {\r\n background-position: -1960px 0px;\r\n }\r\n 30.77% {\r\n background-position: -2240px 0px;\r\n }\r\n 34.62% {\r\n background-position: -2520px 0px;\r\n }\r\n 38.46% {\r\n background-position: -2800px 0px;\r\n }\r\n 42.31% {\r\n background-position: -3080px 0px;\r\n }\r\n 46.15% {\r\n background-position: -3360px 0px;\r\n }\r\n 50.00% {\r\n background-position: -3640px 0px;\r\n }\r\n 53.85% {\r\n background-position: -3920px 0px;\r\n }\r\n 57.69% {\r\n background-position: -4200px 0px;\r\n }\r\n 61.54% {\r\n background-position: -4480px 0px;\r\n }\r\n 65.38% {\r\n background-position: -4760px 0px;\r\n }\r\n 69.23% {\r\n background-position: -5040px 0px;\r\n }\r\n 73.08% {\r\n background-position: -5320px 0px;\r\n }\r\n 76.92% {\r\n background-position: -5600px 0px;\r\n }\r\n 80.77% {\r\n background-position: -5880px 0px;\r\n }\r\n 84.62% {\r\n background-position: -6160px 0px;\r\n }\r\n 88.46% {\r\n background-position: -6440px 0px;\r\n }\r\n 92.31% {\r\n background-position: -6720px 0px;\r\n }\r\n 100% {\r\n background-position: -7000px 0px;\r\n }\r\n}\r\n\r\n/* Refresh icon rotation animation */\r\n@keyframes keyframes-loading {\r\n 0% {\r\n transform: rotate(0deg);\r\n }\r\n 100% {\r\n transform: rotate(-360deg);\r\n }\r\n}\r\n\r\n/* Refresh icon quote polling progress arc animation */\r\n@keyframes svg_loader {\r\n 0% {\r\n stroke-dasharray: 0, 101;\r\n }\r\n 100% {\r\n stroke-dasharray: 65, 101;\r\n }\r\n}\r\n"],"mappings":";AAGA,CAAC;AACC,SAAO;AACP,UAAQ;AACR,oBAAkB;AAClB,qBAAmB;AACnB,kBAAgB;AAChB,sBAAoB;AACpB,mBAAiB;AACjB,6BAA2B;AAC3B,uBAAqB;AACrB,6BAA2B,MAAM;AACnC;AAEA,CAAC;AACC,SAAO;AACP,UAAQ;AACR,oBAAkB;AAClB,qBAAmB;AACnB,kBAAgB;AAChB,sBAAoB;AACpB,mBAAiB;AACjB,6BAA2B;AA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