@xsolla/xui-store-badge-web 0.64.0-pr56.1768348754

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/index.mjs ADDED
@@ -0,0 +1,686 @@
1
+ // src/StoreBadge.tsx
2
+ import { forwardRef as forwardRef6 } from "react";
3
+
4
+ // ../primitives-web/src/Box.tsx
5
+ import React from "react";
6
+ import styled from "styled-components";
7
+ import { jsx } from "react/jsx-runtime";
8
+ var StyledBox = styled.div`
9
+ display: flex;
10
+ box-sizing: border-box;
11
+ background-color: ${(props) => props.backgroundColor || "transparent"};
12
+ border-color: ${(props) => props.borderColor || "transparent"};
13
+ border-width: ${(props) => typeof props.borderWidth === "number" ? `${props.borderWidth}px` : props.borderWidth || 0};
14
+
15
+ ${(props) => props.borderBottomWidth !== void 0 && `
16
+ border-bottom-width: ${typeof props.borderBottomWidth === "number" ? `${props.borderBottomWidth}px` : props.borderBottomWidth};
17
+ border-bottom-color: ${props.borderBottomColor || props.borderColor || "transparent"};
18
+ border-bottom-style: solid;
19
+ `}
20
+ ${(props) => props.borderTopWidth !== void 0 && `
21
+ border-top-width: ${typeof props.borderTopWidth === "number" ? `${props.borderTopWidth}px` : props.borderTopWidth};
22
+ border-top-color: ${props.borderTopColor || props.borderColor || "transparent"};
23
+ border-top-style: solid;
24
+ `}
25
+ ${(props) => props.borderLeftWidth !== void 0 && `
26
+ border-left-width: ${typeof props.borderLeftWidth === "number" ? `${props.borderLeftWidth}px` : props.borderLeftWidth};
27
+ border-left-color: ${props.borderLeftColor || props.borderColor || "transparent"};
28
+ border-left-style: solid;
29
+ `}
30
+ ${(props) => props.borderRightWidth !== void 0 && `
31
+ border-right-width: ${typeof props.borderRightWidth === "number" ? `${props.borderRightWidth}px` : props.borderRightWidth};
32
+ border-right-color: ${props.borderRightColor || props.borderColor || "transparent"};
33
+ border-right-style: solid;
34
+ `}
35
+
36
+ border-style: ${(props) => props.borderStyle || (props.borderWidth || props.borderBottomWidth || props.borderTopWidth || props.borderLeftWidth || props.borderRightWidth ? "solid" : "none")};
37
+ border-radius: ${(props) => typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius || 0};
38
+ height: ${(props) => typeof props.height === "number" ? `${props.height}px` : props.height || "auto"};
39
+ width: ${(props) => typeof props.width === "number" ? `${props.width}px` : props.width || "auto"};
40
+ min-width: ${(props) => typeof props.minWidth === "number" ? `${props.minWidth}px` : props.minWidth || "auto"};
41
+ min-height: ${(props) => typeof props.minHeight === "number" ? `${props.minHeight}px` : props.minHeight || "auto"};
42
+
43
+ padding: ${(props) => typeof props.padding === "number" ? `${props.padding}px` : props.padding || 0};
44
+ ${(props) => props.paddingHorizontal && `
45
+ padding-left: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
46
+ padding-right: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
47
+ `}
48
+ ${(props) => props.paddingVertical && `
49
+ padding-top: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
50
+ padding-bottom: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
51
+ `}
52
+ ${(props) => props.paddingTop !== void 0 && `padding-top: ${typeof props.paddingTop === "number" ? `${props.paddingTop}px` : props.paddingTop};`}
53
+ ${(props) => props.paddingBottom !== void 0 && `padding-bottom: ${typeof props.paddingBottom === "number" ? `${props.paddingBottom}px` : props.paddingBottom};`}
54
+ ${(props) => props.paddingLeft !== void 0 && `padding-left: ${typeof props.paddingLeft === "number" ? `${props.paddingLeft}px` : props.paddingLeft};`}
55
+ ${(props) => props.paddingRight !== void 0 && `padding-right: ${typeof props.paddingRight === "number" ? `${props.paddingRight}px` : props.paddingRight};`}
56
+
57
+ margin: ${(props) => typeof props.margin === "number" ? `${props.margin}px` : props.margin || 0};
58
+ ${(props) => props.marginTop !== void 0 && `margin-top: ${typeof props.marginTop === "number" ? `${props.marginTop}px` : props.marginTop};`}
59
+ ${(props) => props.marginBottom !== void 0 && `margin-bottom: ${typeof props.marginBottom === "number" ? `${props.marginBottom}px` : props.marginBottom};`}
60
+ ${(props) => props.marginLeft !== void 0 && `margin-left: ${typeof props.marginLeft === "number" ? `${props.marginLeft}px` : props.marginLeft};`}
61
+ ${(props) => props.marginRight !== void 0 && `margin-right: ${typeof props.marginRight === "number" ? `${props.marginRight}px` : props.marginRight};`}
62
+
63
+ flex-direction: ${(props) => props.flexDirection || "column"};
64
+ flex-wrap: ${(props) => props.flexWrap || "nowrap"};
65
+ align-items: ${(props) => props.alignItems || "stretch"};
66
+ justify-content: ${(props) => props.justifyContent || "flex-start"};
67
+ cursor: ${(props) => props.cursor ? props.cursor : props.onClick || props.onPress ? "pointer" : "inherit"};
68
+ position: ${(props) => props.position || "static"};
69
+ top: ${(props) => typeof props.top === "number" ? `${props.top}px` : props.top};
70
+ bottom: ${(props) => typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom};
71
+ left: ${(props) => typeof props.left === "number" ? `${props.left}px` : props.left};
72
+ right: ${(props) => typeof props.right === "number" ? `${props.right}px` : props.right};
73
+ flex: ${(props) => props.flex};
74
+ flex-shrink: ${(props) => props.flexShrink ?? 1};
75
+ gap: ${(props) => typeof props.gap === "number" ? `${props.gap}px` : props.gap || 0};
76
+ align-self: ${(props) => props.alignSelf || "auto"};
77
+ overflow: ${(props) => props.overflow || "visible"};
78
+ overflow-x: ${(props) => props.overflowX || "visible"};
79
+ overflow-y: ${(props) => props.overflowY || "visible"};
80
+ z-index: ${(props) => props.zIndex};
81
+ opacity: ${(props) => props.disabled ? 0.5 : 1};
82
+ pointer-events: ${(props) => props.disabled ? "none" : "auto"};
83
+
84
+ &:hover {
85
+ ${(props) => props.hoverStyle?.backgroundColor && `background-color: ${props.hoverStyle.backgroundColor};`}
86
+ ${(props) => props.hoverStyle?.borderColor && `border-color: ${props.hoverStyle.borderColor};`}
87
+ }
88
+
89
+ &:active {
90
+ ${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
91
+ }
92
+ `;
93
+ var Box = React.forwardRef(
94
+ ({
95
+ children,
96
+ onPress,
97
+ onKeyDown,
98
+ onKeyUp,
99
+ role,
100
+ "aria-label": ariaLabel,
101
+ "aria-labelledby": ariaLabelledBy,
102
+ "aria-current": ariaCurrent,
103
+ "aria-disabled": ariaDisabled,
104
+ "aria-live": ariaLive,
105
+ "aria-busy": ariaBusy,
106
+ "aria-describedby": ariaDescribedBy,
107
+ "aria-expanded": ariaExpanded,
108
+ "aria-haspopup": ariaHasPopup,
109
+ "aria-pressed": ariaPressed,
110
+ "aria-controls": ariaControls,
111
+ tabIndex,
112
+ as,
113
+ src,
114
+ alt,
115
+ type,
116
+ disabled,
117
+ id,
118
+ ...props
119
+ }, ref) => {
120
+ if (as === "img" && src) {
121
+ return /* @__PURE__ */ jsx(
122
+ "img",
123
+ {
124
+ src,
125
+ alt: alt || "",
126
+ style: {
127
+ display: "block",
128
+ objectFit: "cover",
129
+ width: typeof props.width === "number" ? `${props.width}px` : props.width,
130
+ height: typeof props.height === "number" ? `${props.height}px` : props.height,
131
+ borderRadius: typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius,
132
+ position: props.position,
133
+ top: typeof props.top === "number" ? `${props.top}px` : props.top,
134
+ left: typeof props.left === "number" ? `${props.left}px` : props.left,
135
+ right: typeof props.right === "number" ? `${props.right}px` : props.right,
136
+ bottom: typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom
137
+ }
138
+ }
139
+ );
140
+ }
141
+ return /* @__PURE__ */ jsx(
142
+ StyledBox,
143
+ {
144
+ ref,
145
+ as,
146
+ id,
147
+ type: as === "button" ? type || "button" : void 0,
148
+ disabled: as === "button" ? disabled : void 0,
149
+ onClick: onPress,
150
+ onKeyDown,
151
+ onKeyUp,
152
+ role,
153
+ "aria-label": ariaLabel,
154
+ "aria-labelledby": ariaLabelledBy,
155
+ "aria-current": ariaCurrent,
156
+ "aria-disabled": ariaDisabled,
157
+ "aria-busy": ariaBusy,
158
+ "aria-describedby": ariaDescribedBy,
159
+ "aria-expanded": ariaExpanded,
160
+ "aria-haspopup": ariaHasPopup,
161
+ "aria-pressed": ariaPressed,
162
+ "aria-controls": ariaControls,
163
+ "aria-live": ariaLive,
164
+ tabIndex: tabIndex !== void 0 ? tabIndex : void 0,
165
+ ...props,
166
+ children
167
+ }
168
+ );
169
+ }
170
+ );
171
+ Box.displayName = "Box";
172
+
173
+ // ../primitives-web/src/Text.tsx
174
+ import styled2 from "styled-components";
175
+ import { jsx as jsx2 } from "react/jsx-runtime";
176
+ var StyledText = styled2.span`
177
+ color: ${(props) => props.color || "inherit"};
178
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
179
+ font-weight: ${(props) => props.fontWeight || "normal"};
180
+ font-family: ${(props) => props.fontFamily || '"Pilat Wide Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important'};
181
+ line-height: ${(props) => typeof props.lineHeight === "number" ? `${props.lineHeight}px` : props.lineHeight || "inherit"};
182
+ white-space: ${(props) => props.whiteSpace || "normal"};
183
+ text-align: ${(props) => props.textAlign || "inherit"};
184
+ text-decoration: ${(props) => props.textDecoration || "none"};
185
+ `;
186
+
187
+ // ../primitives-web/src/Spinner.tsx
188
+ import styled3, { keyframes } from "styled-components";
189
+ import { jsx as jsx3 } from "react/jsx-runtime";
190
+ var rotate = keyframes`
191
+ from {
192
+ transform: rotate(0deg);
193
+ }
194
+ to {
195
+ transform: rotate(360deg);
196
+ }
197
+ `;
198
+ var StyledSpinner = styled3.div`
199
+ width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
200
+ height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
201
+ border: ${(props) => props.strokeWidth || 2}px solid
202
+ ${(props) => props.color || "currentColor"};
203
+ border-bottom-color: transparent;
204
+ border-radius: 50%;
205
+ display: inline-block;
206
+ box-sizing: border-box;
207
+ animation: ${rotate} 1s linear infinite;
208
+ `;
209
+ var Spinner = ({
210
+ role = "status",
211
+ "aria-label": ariaLabel,
212
+ "aria-live": ariaLive = "polite",
213
+ "aria-describedby": ariaDescribedBy,
214
+ testID,
215
+ ...props
216
+ }) => {
217
+ return /* @__PURE__ */ jsx3(
218
+ StyledSpinner,
219
+ {
220
+ role,
221
+ "aria-label": ariaLabel,
222
+ "aria-live": ariaLive,
223
+ "aria-describedby": ariaDescribedBy,
224
+ "data-testid": testID,
225
+ ...props
226
+ }
227
+ );
228
+ };
229
+ Spinner.displayName = "Spinner";
230
+
231
+ // ../primitives-web/src/Icon.tsx
232
+ import styled4 from "styled-components";
233
+ import { jsx as jsx4 } from "react/jsx-runtime";
234
+ var StyledIcon = styled4.div`
235
+ display: flex;
236
+ align-items: center;
237
+ justify-content: center;
238
+ width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
239
+ height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
240
+ color: ${(props) => props.color || "currentColor"};
241
+
242
+ svg {
243
+ width: 100%;
244
+ height: 100%;
245
+ fill: none;
246
+ stroke: currentColor;
247
+ }
248
+ `;
249
+
250
+ // ../primitives-web/src/Divider.tsx
251
+ import styled5 from "styled-components";
252
+ import { jsx as jsx5 } from "react/jsx-runtime";
253
+ var StyledDivider = styled5.div`
254
+ background-color: ${(props) => props.dashStroke ? "transparent" : props.color || "rgba(255, 255, 255, 0.15)"};
255
+ width: ${(props) => props.vertical ? typeof props.width === "number" ? `${props.width}px` : props.width || "1px" : "100%"};
256
+ height: ${(props) => props.vertical ? "100%" : typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
257
+
258
+ ${(props) => props.dashStroke && `
259
+ border-style: dashed;
260
+ border-color: ${props.color || "rgba(255, 255, 255, 0.15)"};
261
+ border-width: 0;
262
+ ${props.vertical ? `
263
+ border-left-width: ${typeof props.width === "number" ? `${props.width}px` : props.width || "1px"};
264
+ height: 100%;
265
+ ` : `
266
+ border-top-width: ${typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
267
+ width: 100%;
268
+ `}
269
+ `}
270
+ `;
271
+
272
+ // ../primitives-web/src/Input.tsx
273
+ import { forwardRef } from "react";
274
+ import styled6 from "styled-components";
275
+ import { jsx as jsx6 } from "react/jsx-runtime";
276
+ var StyledInput = styled6.input`
277
+ background: transparent;
278
+ border: none;
279
+ outline: none;
280
+ width: 100%;
281
+ height: 100%;
282
+ padding: 0;
283
+ margin: 0;
284
+ color: ${(props) => props.color || "inherit"};
285
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
286
+ font-family: inherit;
287
+ text-align: inherit;
288
+
289
+ &::placeholder {
290
+ color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
291
+ }
292
+
293
+ &:disabled {
294
+ cursor: not-allowed;
295
+ }
296
+ `;
297
+ var InputPrimitive = forwardRef(
298
+ ({
299
+ value,
300
+ placeholder,
301
+ onChange,
302
+ onChangeText,
303
+ onFocus,
304
+ onBlur,
305
+ onKeyDown,
306
+ disabled,
307
+ secureTextEntry,
308
+ style,
309
+ color,
310
+ fontSize,
311
+ placeholderTextColor,
312
+ maxLength,
313
+ name,
314
+ type,
315
+ inputMode,
316
+ autoComplete,
317
+ id,
318
+ "aria-invalid": ariaInvalid,
319
+ "aria-describedby": ariaDescribedBy,
320
+ "aria-labelledby": ariaLabelledBy,
321
+ "aria-label": ariaLabel,
322
+ "aria-disabled": ariaDisabled,
323
+ "data-testid": dataTestId,
324
+ ...rest
325
+ }, ref) => {
326
+ const handleChange = (e) => {
327
+ if (onChange) {
328
+ onChange(e);
329
+ }
330
+ if (onChangeText) {
331
+ onChangeText(e.target.value);
332
+ }
333
+ };
334
+ const inputValue = value !== void 0 ? value : "";
335
+ return /* @__PURE__ */ jsx6(
336
+ StyledInput,
337
+ {
338
+ ref,
339
+ id,
340
+ value: inputValue,
341
+ name,
342
+ placeholder,
343
+ onChange: handleChange,
344
+ onFocus,
345
+ onBlur,
346
+ onKeyDown,
347
+ disabled,
348
+ type: secureTextEntry ? "password" : type || "text",
349
+ inputMode,
350
+ autoComplete,
351
+ style,
352
+ color,
353
+ fontSize,
354
+ placeholderTextColor,
355
+ maxLength,
356
+ "aria-invalid": ariaInvalid,
357
+ "aria-describedby": ariaDescribedBy,
358
+ "aria-labelledby": ariaLabelledBy,
359
+ "aria-label": ariaLabel,
360
+ "aria-disabled": ariaDisabled,
361
+ "data-testid": dataTestId,
362
+ ...rest
363
+ }
364
+ );
365
+ }
366
+ );
367
+ InputPrimitive.displayName = "InputPrimitive";
368
+
369
+ // ../primitives-web/src/TextArea.tsx
370
+ import { forwardRef as forwardRef2 } from "react";
371
+ import styled7 from "styled-components";
372
+ import { jsx as jsx7 } from "react/jsx-runtime";
373
+ var StyledTextArea = styled7.textarea`
374
+ background: transparent;
375
+ border: none;
376
+ outline: none;
377
+ width: 100%;
378
+ height: 100%;
379
+ padding: 0;
380
+ margin: 0;
381
+ color: ${(props) => props.color || "inherit"};
382
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
383
+ font-family: inherit;
384
+ text-align: inherit;
385
+ resize: none;
386
+
387
+ &::placeholder {
388
+ color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
389
+ }
390
+
391
+ &:disabled {
392
+ cursor: not-allowed;
393
+ }
394
+ `;
395
+ var TextAreaPrimitive = forwardRef2(
396
+ ({
397
+ value,
398
+ placeholder,
399
+ onChangeText,
400
+ onFocus,
401
+ onBlur,
402
+ onKeyDown,
403
+ disabled,
404
+ style,
405
+ color,
406
+ fontSize,
407
+ placeholderTextColor,
408
+ maxLength,
409
+ rows
410
+ }, ref) => {
411
+ return /* @__PURE__ */ jsx7(
412
+ StyledTextArea,
413
+ {
414
+ ref,
415
+ value,
416
+ placeholder,
417
+ onChange: (e) => onChangeText?.(e.target.value),
418
+ onFocus,
419
+ onBlur,
420
+ onKeyDown,
421
+ disabled,
422
+ style,
423
+ color,
424
+ fontSize,
425
+ placeholderTextColor,
426
+ maxLength,
427
+ rows
428
+ }
429
+ );
430
+ }
431
+ );
432
+ TextAreaPrimitive.displayName = "TextAreaPrimitive";
433
+
434
+ // src/store-items/AppGallery.tsx
435
+ import { forwardRef as forwardRef3 } from "react";
436
+ import { jsx as jsx8, jsxs } from "react/jsx-runtime";
437
+ var paletteMap = /* @__PURE__ */ new Map([
438
+ ["dark", "#ffffff"],
439
+ ["light", "#000000"]
440
+ ]);
441
+ var AppGallery = forwardRef3(
442
+ ({ width = 253, height = 58, palette, ...rest }, ref) => {
443
+ const color = paletteMap.get(palette);
444
+ return /* @__PURE__ */ jsxs(
445
+ "svg",
446
+ {
447
+ ref,
448
+ xmlns: "http://www.w3.org/2000/svg",
449
+ width: `${width}px`,
450
+ height: `${height}px`,
451
+ fill: color,
452
+ viewBox: "0 0 253 58",
453
+ ...rest,
454
+ children: [
455
+ /* @__PURE__ */ jsx8(
456
+ "path",
457
+ {
458
+ d: "M88.874 43.337H78.841L76.39 50H72l9.805-25h4.162L96 50h-4.618l-2.508-6.663zm-8.779-3.417h7.468l-2.68-7.175c-.341-.968-.74-2.107-1.082-3.303l-1.027 3.246-2.679 7.232zM98.114 35.998c0-1.379-.057-2.93-.114-4.596h3.993c.171.804.228 1.551.286 2.355 1.654-1.838 3.536-2.757 5.704-2.757 1.255 0 2.396.287 3.48.92 1.084.631 1.94 1.608 2.567 2.986.628 1.38.97 3.102.97 5.17 0 2.184-.399 4.08-1.141 5.63-.742 1.551-1.768 2.758-3.138 3.505-1.312.804-2.852 1.206-4.62 1.206-1.255 0-2.51-.23-3.765-.632v7.87L98.057 58V35.998h.057zm11.238 9.594c.856-1.15 1.312-2.873 1.312-5.17 0-2.126-.342-3.62-1.083-4.539-.742-.92-1.655-1.436-2.853-1.436-.856 0-1.597.172-2.282.574a8.477 8.477 0 0 0-1.996 1.609v10.053c.399.23.912.402 1.483.517.57.115 1.141.172 1.654.172 1.598 0 2.853-.574 3.765-1.78zM118.114 35.998c0-1.379-.057-2.93-.114-4.596h3.993c.171.804.228 1.551.286 2.355 1.654-1.838 3.536-2.757 5.704-2.757 1.255 0 2.396.287 3.48.92 1.084.631 1.94 1.608 2.567 2.986.628 1.38.97 3.102.97 5.17 0 2.184-.399 4.08-1.141 5.63-.742 1.551-1.768 2.758-3.138 3.505-1.312.804-2.852 1.206-4.62 1.206-1.255 0-2.51-.23-3.765-.632v7.87l-4.279.345V35.998h.057zm11.238 9.594c.856-1.15 1.312-2.873 1.312-5.17 0-2.126-.342-3.62-1.083-4.539-.742-.92-1.655-1.436-2.853-1.436-.856 0-1.597.172-2.282.574a8.477 8.477 0 0 0-1.996 1.609v10.053c.399.23.912.402 1.483.517.57.115 1.141.172 1.654.172 1.598 0 2.91-.574 3.765-1.78zM142.82 48.44c-1.862-1.04-3.317-2.484-4.307-4.449-.989-1.907-1.513-4.218-1.513-6.818 0-2.83.582-5.257 1.746-7.222 1.164-1.964 2.735-3.467 4.773-4.449 1.978-.982 4.248-1.502 6.751-1.502 1.455 0 2.852.173 4.19.462 1.339.347 2.561.751 3.725 1.33l-1.106 3.35c-2.328-1.098-4.539-1.618-6.635-1.618-1.746 0-3.317.405-4.656 1.156a7.386 7.386 0 0 0-3.084 3.293c-.757 1.445-1.106 3.236-1.106 5.258 0 1.791.291 3.409.873 4.796a7.592 7.592 0 0 0 2.677 3.35c1.222.81 2.794 1.214 4.656 1.214.873 0 1.688-.058 2.561-.231.873-.173 1.63-.347 2.386-.636v-5.142h-5.878v-3.35H159V47.92a20.511 20.511 0 0 1-4.598 1.56c-1.63.347-3.201.52-4.772.52-2.678 0-4.889-.52-6.81-1.56zM174.87 49.663c-.18-.731-.24-1.518-.3-2.417-.718.786-1.556 1.405-2.693 1.967-1.078.562-2.335.787-3.771.787a7.535 7.535 0 0 1-3.053-.618c-.898-.394-1.676-1.012-2.215-1.855-.539-.844-.838-1.855-.838-3.036 0-1.799.658-3.204 2.035-4.272 1.377-1.068 3.652-1.574 6.824-1.574 1.197 0 2.395.056 3.532.225v-.337c0-1.63-.359-2.755-1.078-3.43-.718-.674-1.795-1.011-3.172-1.011-.958 0-1.975.112-3.053.393-1.077.281-2.035.562-2.873.956l-.719-3.036c.779-.337 1.856-.674 3.173-.955a19.73 19.73 0 0 1 4.13-.45c1.676 0 3.113.225 4.31.73 1.197.507 2.095 1.294 2.754 2.474.658 1.18 1.017 2.755 1.017 4.722v7.308c0 .787.06 1.911.12 3.429h-4.13zm-2.634-3.43c.958-.393 1.676-.955 2.275-1.573v-3.43c-1.198-.112-2.215-.168-2.993-.168-1.856 0-3.113.281-3.831.843-.719.563-1.078 1.293-1.078 2.249 0 .9.24 1.574.778 2.023.539.45 1.198.675 2.095.675.898.056 1.796-.169 2.754-.618zM182 45.914V23.351l4.451-.351v22.154c0 .819.12 1.403.421 1.754.301.35.722.526 1.384.526.3 0 .661-.058 1.203-.175l.541 3.157c-.421.175-.962.292-1.564.409a9.296 9.296 0 0 1-1.744.175c-3.128-.175-4.692-1.812-4.692-5.086zM193 45.914V23.351l4.451-.351v22.154c0 .819.12 1.403.421 1.754.301.35.722.526 1.384.526.3 0 .661-.058 1.203-.175l.541 3.157c-.421.175-.962.292-1.564.409a9.296 9.296 0 0 1-1.744.175c-3.128-.175-4.692-1.812-4.692-5.086zM218 41.588h-12.545c.176 4 2.111 6.06 5.745 6.06.879 0 1.817-.119 2.755-.354s1.817-.53 2.697-.882l.938 3C215.421 50.47 213.017 51 210.379 51c-2.051 0-3.751-.412-5.158-1.176-1.407-.765-2.462-1.883-3.166-3.353C201.352 45 201 43.294 201 41.235c0-2.117.352-3.94 1.114-5.47.762-1.53 1.758-2.706 3.107-3.53 1.348-.823 2.872-1.235 4.631-1.235 1.817 0 3.341.412 4.513 1.294 1.232.824 2.111 2 2.697 3.412.586 1.412.879 3 .879 4.706v1.176H218zm-4.279-2.764c-.059-1.53-.469-2.706-1.173-3.471-.703-.765-1.582-1.177-2.755-1.177-1.114 0-2.052.412-2.755 1.177-.762.765-1.231 1.941-1.466 3.412h8.149v.059zM221.121 35.964c0-1.027-.06-2.568-.121-4.679h4.242c.061.514.122 1.141.182 1.883.061.742.121 1.313.121 1.769.546-.799 1.031-1.483 1.576-2.054a5.726 5.726 0 0 1 1.758-1.37c.666-.342 1.454-.513 2.303-.513.727 0 1.273.057 1.818.228l-.545 3.709a5.626 5.626 0 0 0-1.455-.171c-1.091 0-2 .228-2.788.742-.788.513-1.636 1.369-2.545 2.51V50h-4.485V35.964h-.061zM235.555 57.825c-.634-.116-1.152-.232-1.555-.407l.806-3.142c.288.058.633.174 1.094.233.461.058.864.116 1.267.116 1.9 0 3.339-1.222 4.26-3.724l.288-.698-6.909-19.145h4.606l3.512 10.707c.576 1.804.921 3.259 1.094 4.19.346-1.397.691-2.735 1.152-4.132L248.682 31H253l-6.909 19.26c-.633 1.805-1.382 3.318-2.13 4.423a8.304 8.304 0 0 1-2.649 2.502c-1.036.524-2.245.815-3.742.815a11.29 11.29 0 0 1-2.015-.175zM72 0h7.94l-.239 1.991h-5.373V5.85h5.075v1.867h-5.075v4.293H80L79.82 14H72V0zM85.3 6.876 81.39 0h2.458l2.68 5.018L89.32 0h2.4l-3.908 6.752L92 14h-2.513l-3.015-5.513L83.401 14H81l4.3-7.124zM94 0h3.66c1.74 0 3.06.372 3.96 1.115.9.743 1.38 1.797 1.38 3.16 0 .929-.18 1.734-.6 2.415-.42.682-.96 1.24-1.74 1.61-.72.373-1.56.558-2.52.558-.54 0-1.14-.062-1.8-.185V14H94V0zm5.88 6.257c.48-.496.72-1.115.72-1.983 0-.867-.24-1.486-.78-1.858-.48-.372-1.26-.558-2.22-.558h-1.26v4.956c.6.124 1.02.124 1.32.124 1.02 0 1.74-.248 2.22-.681zM105 0h2.346v11.956H113L112.82 14h-7.76V0H105zM115.934 13.208c-.978-.543-1.669-1.387-2.186-2.412C113.23 9.77 113 8.564 113 7.177c0-1.447.288-2.714.805-3.8a5.514 5.514 0 0 1 2.301-2.472C117.142.302 118.292 0 119.673 0c1.323 0 2.416.302 3.393.844.921.543 1.669 1.388 2.186 2.413.518 1.025.748 2.231.748 3.558 0 1.448-.288 2.714-.805 3.8a5.514 5.514 0 0 1-2.301 2.473c-.978.603-2.186.904-3.509.904-1.381.06-2.531-.24-3.451-.784zm5.809-1.688c.633-.423 1.093-1.026 1.438-1.81a7.733 7.733 0 0 0 .461-2.653c0-.965-.115-1.87-.403-2.594-.288-.784-.69-1.387-1.323-1.81-.633-.482-1.381-.663-2.358-.663-.921 0-1.669.242-2.301.664-.633.482-1.093 1.085-1.438 1.87-.346.783-.461 1.628-.461 2.593 0 .965.173 1.87.461 2.654a4.02 4.02 0 0 0 1.38 1.87c.633.482 1.381.663 2.301.663.863-.121 1.611-.302 2.243-.784zM129 0h4.104c1.503 0 2.601.31 3.41.93.81.619 1.157 1.548 1.157 2.725 0 .743-.116 1.425-.405 1.982-.289.558-.636 1.053-1.041 1.363-.404.372-.809.62-1.271.805L139 14h-2.659l-3.41-5.575h-1.677V14H129V0zm3.526 6.628c.52 0 1.04-.124 1.445-.371.405-.248.752-.558.983-.992.231-.433.347-.929.347-1.424 0-.682-.232-1.24-.636-1.549-.405-.31-1.041-.496-1.792-.496h-1.619v4.77h1.272v.062zM140 0h7.94l-.239 1.991h-5.373V5.85h5.075v1.867h-5.075v4.293H148L147.821 14H140V0zM157 0h2v14h-2V0zM164.911 2.035H161L161.168 0H171l-.223 2.035h-3.743V14h-2.179V2.035h.056zM180.934 13.208c-.978-.543-1.669-1.387-2.186-2.412C178.23 9.77 178 8.564 178 7.177c0-1.447.288-2.714.805-3.8a5.514 5.514 0 0 1 2.301-2.472C182.142.302 183.292 0 184.673 0c1.323 0 2.416.302 3.393.844.921.543 1.669 1.388 2.186 2.413.518 1.025.748 2.231.748 3.558 0 1.448-.288 2.714-.805 3.8a5.514 5.514 0 0 1-2.301 2.473c-.978.603-2.186.904-3.509.904-1.381.06-2.531-.24-3.451-.784zm5.809-1.688c.633-.423 1.093-1.026 1.438-1.81a7.733 7.733 0 0 0 .461-2.653c0-.965-.115-1.87-.403-2.594-.288-.784-.69-1.387-1.323-1.81-.633-.482-1.381-.663-2.358-.663-.921 0-1.669.242-2.301.664-.633.482-1.093 1.085-1.438 1.87-.346.783-.461 1.628-.461 2.593 0 .965.173 1.87.461 2.654a4.02 4.02 0 0 0 1.38 1.87c.633.482 1.381.663 2.301.663.805-.121 1.611-.302 2.243-.784zM194 0h2.578l6.417 10.84c-.058-1.052-.057-1.982-.057-2.849V0H205v14h-2.464l-6.531-11.027c.058 1.24.115 2.354.115 3.346V14h-2.063V0H194z",
459
+ fill: color
460
+ }
461
+ ),
462
+ /* @__PURE__ */ jsx8(
463
+ "path",
464
+ {
465
+ fillRule: "evenodd",
466
+ clipRule: "evenodd",
467
+ d: "M39.525 0H15.474C4.114 0 0 4.173 0 15.474v24.052C0 50.886 4.173 55 15.474 55h24.051C50.885 55 55 50.827 55 39.526V15.474C55.057 4.173 50.885 0 39.525 0z",
468
+ fill: "#C8102E"
469
+ }
470
+ ),
471
+ /* @__PURE__ */ jsx8(
472
+ "path",
473
+ {
474
+ d: "M10.778 28h1.456v6.889h-1.456V32.11H7.457v2.778H6V28h1.457v2.778h3.32V28zm8.274 3.944c0 1.112-.583 1.723-1.632 1.723s-1.631-.611-1.631-1.778V28h-1.457v3.944c0 1.945 1.107 3.056 3.088 3.056s3.146-1.111 3.146-3.111V28H19.11v3.944h-.058zm16.955.778L34.375 28h-1.223l-1.632 4.722L29.947 28h-1.573l2.505 6.889h1.224l1.631-4.556 1.632 4.556h1.223L39.095 28H37.58l-1.573 4.722zm5.768-.778h2.68v-1.277h-2.68v-1.39h3.904V28h-5.302v6.889h5.477V33.61h-4.02v-1.667h-.059zm5.768 2.945H49V28h-1.457v6.889zm-24.122-1.445-.64 1.445h-1.515L24.412 28h1.282l3.146 6.889h-1.515l-.64-1.445H23.42zm.525-1.222h2.214l-1.107-2.444-1.107 2.444zM27 18c-4.956 0-9-4.044-9-9h1.253c0 4.272 3.475 7.747 7.747 7.747S34.747 13.272 34.747 9H36c0 4.956-4.044 9-9 9z",
475
+ fill: "#fff"
476
+ }
477
+ )
478
+ ]
479
+ }
480
+ );
481
+ }
482
+ );
483
+ AppGallery.displayName = "AppGallery";
484
+
485
+ // src/store-items/AppStore.tsx
486
+ import { forwardRef as forwardRef4 } from "react";
487
+ import { jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
488
+ var paletteMap2 = /* @__PURE__ */ new Map([
489
+ ["dark", "#ffffff"],
490
+ ["light", "#000000"]
491
+ ]);
492
+ var AppStore = forwardRef4(
493
+ ({ width = 217, height = 55, palette, ...rest }, ref) => {
494
+ const color = paletteMap2.get(palette);
495
+ return /* @__PURE__ */ jsxs2(
496
+ "svg",
497
+ {
498
+ ref,
499
+ xmlns: "http://www.w3.org/2000/svg",
500
+ width: `${width}px`,
501
+ height: `${height}px`,
502
+ fill: color,
503
+ viewBox: "0 0 217 55",
504
+ ...rest,
505
+ children: [
506
+ /* @__PURE__ */ jsx9(
507
+ "path",
508
+ {
509
+ d: "M32.574 25.786a10.698 10.698 0 0 1 1.419-5.183 10.833 10.833 0 0 1 3.768-3.863 11.115 11.115 0 0 0-3.831-3.378 11.24 11.24 0 0 0-4.954-1.323c-3.697-.384-7.28 2.19-9.164 2.19-1.92 0-4.82-2.152-7.944-2.088-2.02.064-3.989.646-5.714 1.687a11.634 11.634 0 0 0-4.132 4.256C-2.236 25.38.94 36.101 5.018 41.998c2.04 2.888 4.425 6.113 7.545 5.999 3.054-.125 4.194-1.927 7.88-1.927 3.651 0 4.721 1.927 7.905 1.854 3.276-.052 5.34-2.9 7.31-5.815A23.784 23.784 0 0 0 39 35.37a10.503 10.503 0 0 1-4.67-3.835 10.343 10.343 0 0 1-1.756-5.75z",
510
+ fill: color
511
+ }
512
+ ),
513
+ /* @__PURE__ */ jsx9(
514
+ "path",
515
+ {
516
+ d: "M26.42 8.647C28.275 6.513 29.19 3.77 28.967 1c-2.833.285-5.45 1.583-7.33 3.636a10.065 10.065 0 0 0-2.072 3.432A9.765 9.765 0 0 0 19.022 12a9.709 9.709 0 0 0 4.101-.86 9.318 9.318 0 0 0 3.297-2.492zM70.104 40.702h-10.28L57.354 48H53l9.738-27h4.524L77 48h-4.429l-2.467-7.298zm-9.216-3.367h8.15L65.02 25.49h-.112l-4.02 11.844zM99 38.898c0 6.023-3.355 9.893-8.418 9.893a7.066 7.066 0 0 1-3.68-.82 6.708 6.708 0 0 1-2.666-2.571h-.096V55H80V29.206h4.008v3.224h.076a7.029 7.029 0 0 1 2.718-2.566 7.39 7.39 0 0 1 3.704-.86c5.12 0 8.494 3.888 8.494 9.894zm-4.256 0c0-3.924-2.11-6.504-5.33-6.504-3.163 0-5.291 2.635-5.291 6.504 0 3.906 2.128 6.52 5.291 6.52 3.22 0 5.33-2.56 5.33-6.52zM120 38.898c0 6.023-3.355 9.893-8.418 9.893a7.065 7.065 0 0 1-3.68-.82 6.713 6.713 0 0 1-2.666-2.571h-.096V55H101V29.206h4.008v3.224h.076a7.026 7.026 0 0 1 2.718-2.566 7.39 7.39 0 0 1 3.704-.86c5.12 0 8.494 3.888 8.494 9.894zm-4.256 0c0-3.924-2.11-6.504-5.33-6.504-3.163 0-5.291 2.635-5.291 6.504 0 3.905 2.128 6.52 5.291 6.52 3.22 0 5.33-2.56 5.33-6.52zM134.193 40.999c.304 2.687 2.941 4.451 6.544 4.451 3.452 0 5.936-1.764 5.936-4.187 0-2.103-1.498-3.363-5.045-4.226l-3.547-.846c-5.026-1.202-7.36-3.529-7.36-7.305 0-4.675 4.116-7.886 9.96-7.886 5.784 0 9.749 3.211 9.882 7.887h-4.135c-.247-2.705-2.505-4.337-5.805-4.337s-5.558 1.652-5.558 4.055c0 1.916 1.442 3.043 4.97 3.906l3.016.733c5.616 1.315 7.949 3.548 7.949 7.511 0 5.07-4.079 8.245-10.567 8.245-6.07 0-10.168-3.1-10.433-8.002h4.193zM160.139 24v4.571H164v3.14h-3.861v10.65c0 1.654.773 2.424 2.47 2.424.459-.007.916-.038 1.371-.091v3.12c-.763.136-1.538.198-2.314.184-4.111 0-5.714-1.469-5.714-5.215V31.711H153v-3.14h2.952V24h4.187zM166 39c0-6.141 3.711-10 9.499-10 5.807 0 9.501 3.859 9.501 10 0 6.158-3.675 10-9.501 10-5.824 0-9.499-3.842-9.499-10zm14.811 0c0-4.213-1.981-6.699-5.312-6.699-3.331 0-5.31 2.505-5.31 6.699 0 4.23 1.979 6.697 5.31 6.697 3.331 0 5.312-2.468 5.312-6.697zM188 29.21h3.828v3.369h.093a4.722 4.722 0 0 1 1.725-2.633 4.625 4.625 0 0 1 2.979-.943c.462-.001.924.05 1.375.152v3.8a5.545 5.545 0 0 0-1.803-.246 4.005 4.005 0 0 0-1.705.305 4.055 4.055 0 0 0-1.422.998 4.118 4.118 0 0 0-1.056 3.25V49H188V29.21zM216.775 43.025c-.544 3.543-4.028 5.975-8.485 5.975-5.732 0-9.29-3.804-9.29-9.907C199 32.97 202.577 29 208.12 29c5.452 0 8.88 3.71 8.88 9.627V40h-13.917v.242a5.039 5.039 0 0 0 1.391 3.95 5.13 5.13 0 0 0 1.783 1.206c.674.272 1.399.399 2.127.372a4.49 4.49 0 0 0 2.734-.625 4.427 4.427 0 0 0 1.816-2.12h3.841zM203.102 37.2h9.851a4.638 4.638 0 0 0-.29-1.898 4.728 4.728 0 0 0-2.637-2.703 4.781 4.781 0 0 0-1.906-.353 5.004 5.004 0 0 0-3.551 1.441 4.935 4.935 0 0 0-1.467 3.513zM60.757 1.015c.86-.061 1.723.067 2.526.375a5.831 5.831 0 0 1 2.121 1.405 5.73 5.73 0 0 1 1.308 2.164c.267.808.35 1.665.242 2.508 0 4.148-2.274 6.533-6.197 6.533H56V1.015h4.757zm-2.712 11.149h2.483a4.193 4.193 0 0 0 1.8-.291 4.142 4.142 0 0 0 1.5-1.025c.415-.448.725-.981.906-1.561.18-.58.227-1.193.138-1.794a4.038 4.038 0 0 0-.153-1.783 4.08 4.08 0 0 0-.908-1.548 4.154 4.154 0 0 0-1.492-1.019 4.205 4.205 0 0 0-1.79-.293h-2.484v9.314zM69.021 8.996a4.621 4.621 0 0 1 .21-1.875 4.576 4.576 0 0 1 .94-1.628c.421-.47.935-.846 1.509-1.103a4.447 4.447 0 0 1 3.64 0 4.501 4.501 0 0 1 1.51 1.103c.421.47.741 1.025.94 1.628.197.604.269 1.242.209 1.875a4.62 4.62 0 0 1-.207 1.877 4.577 4.577 0 0 1-.94 1.63 4.502 4.502 0 0 1-1.51 1.106 4.447 4.447 0 0 1-3.645 0 4.502 4.502 0 0 1-1.51-1.105 4.577 4.577 0 0 1-.939-1.631 4.62 4.62 0 0 1-.207-1.877zm7.03 0c0-2.087-.925-3.308-2.548-3.308-1.63 0-2.546 1.22-2.546 3.308 0 2.104.917 3.315 2.546 3.315 1.623 0 2.548-1.22 2.548-3.315zM91.226 14h-2.068L87.07 6.635h-.158L84.833 14h-2.048L80 4h2.022l1.81 7.63h.149L86.058 4h1.913l2.077 7.63h.157L92.006 4H94l-2.774 10zM96 4.199h1.782v1.557h.139c.234-.56.63-1.028 1.132-1.341a2.713 2.713 0 0 1 1.667-.405 2.93 2.93 0 0 1 1.341.21c.426.174.81.447 1.121.797.312.35.545.769.681 1.225.135.457.171.94.104 1.413V14h-1.851V8.14c0-1.574-.655-2.358-2.025-2.358-.31-.015-.619.04-.906.162a2.15 2.15 0 0 0-.76.542 2.27 2.27 0 0 0-.473.825c-.1.307-.133.633-.1.955V14H96V4.199zM107 0h2v14h-2V0zM112.021 8.996a4.615 4.615 0 0 1 1.15-3.503c.421-.47.935-.846 1.509-1.103a4.444 4.444 0 0 1 3.64 0 4.488 4.488 0 0 1 1.509 1.103 4.615 4.615 0 0 1 1.15 3.502 4.585 4.585 0 0 1-1.147 3.508 4.494 4.494 0 0 1-1.51 1.106 4.444 4.444 0 0 1-3.644 0 4.494 4.494 0 0 1-1.51-1.105 4.585 4.585 0 0 1-1.147-3.508zm7.029 0c0-2.087-.925-3.308-2.547-3.308-1.629 0-2.546 1.22-2.546 3.308 0 2.104.917 3.315 2.546 3.315 1.622 0 2.547-1.22 2.547-3.315zM123 11.1c0-1.736 1.278-2.736 3.545-2.878l2.582-.15v-.833c0-1.018-.666-1.593-1.951-1.593-1.05 0-1.778.39-1.987 1.072h-1.821C123.56 5.062 125.1 4 127.263 4 129.652 4 131 5.203 131 7.24v6.586h-1.811V12.47h-.149a3.22 3.22 0 0 1-1.229 1.148 3.178 3.178 0 0 1-1.634.365 2.848 2.848 0 0 1-2.221-.73 2.908 2.908 0 0 1-.704-.974A2.94 2.94 0 0 1 123 11.1zm6.127-.824V9.47l-2.328.15c-1.312.09-1.908.54-1.908 1.39 0 .868.745 1.373 1.768 1.373a2.227 2.227 0 0 0 1.676-.524 2.27 2.27 0 0 0 .792-1.583zM134 8.855c0-3.144 1.565-5.136 4-5.136a3.097 3.097 0 0 1 1.724.43c.523.309.951.765 1.232 1.316h.142V0H143v13.834h-1.823v-1.572h-.15a3.395 3.395 0 0 1-1.279 1.303 3.26 3.26 0 0 1-1.748.433c-2.451 0-4-1.992-4-5.143zm1.965 0c0 2.11.963 3.38 2.575 3.38 1.603 0 2.594-1.288 2.594-3.372 0-2.073-1.002-3.38-2.594-3.38-1.601 0-2.575 1.279-2.575 3.372zM151.021 8.996a4.614 4.614 0 0 1 1.15-3.503c.421-.47.935-.846 1.509-1.103a4.444 4.444 0 0 1 3.64 0 4.488 4.488 0 0 1 1.509 1.103 4.614 4.614 0 0 1 1.15 3.502 4.598 4.598 0 0 1-1.146 3.508 4.507 4.507 0 0 1-1.511 1.106 4.44 4.44 0 0 1-3.644 0 4.507 4.507 0 0 1-1.511-1.105 4.598 4.598 0 0 1-1.146-3.508zm7.03 0c0-2.087-.925-3.308-2.548-3.308-1.629 0-2.546 1.22-2.546 3.308 0 2.104.917 3.315 2.546 3.315 1.623 0 2.548-1.22 2.548-3.315zM163 4.199h1.782v1.557h.139c.234-.56.63-1.028 1.132-1.341a2.713 2.713 0 0 1 1.667-.405 2.93 2.93 0 0 1 1.341.21c.426.174.81.447 1.121.797.312.35.545.769.681 1.225.135.457.171.94.104 1.413V14h-1.851V8.14c0-1.574-.655-2.358-2.025-2.358a2.073 2.073 0 0 0-.907.162 2.157 2.157 0 0 0-.759.542 2.266 2.266 0 0 0-.473.825 2.358 2.358 0 0 0-.101.955V14H163V4.199zM182.731 1v2.425H185v1.59h-2.269v4.919c0 1.002.452 1.44 1.481 1.44.263 0 .526-.015.788-.043v1.572c-.371.061-.747.093-1.124.097-2.298 0-3.214-.739-3.214-2.583V5.015H179v-1.59h1.662V1h2.069zM187 0h1.812v5.549h.145a3.026 3.026 0 0 1 1.15-1.387 2.67 2.67 0 0 1 1.675-.417c.448-.026.897.055 1.313.238.416.184.79.465 1.095.823.305.359.533.786.668 1.252.135.465.175.957.115 1.441V14h-1.83V7.99c0-1.61-.69-2.424-1.982-2.424a2.006 2.006 0 0 0-.926.138 2.149 2.149 0 0 0-.786.55 2.389 2.389 0 0 0-.5.858 2.543 2.543 0 0 0-.12 1.007V14H187V0zM206.882 11.198a3.91 3.91 0 0 1-1.62 2.146 4.097 4.097 0 0 1-2.658.633 4.594 4.594 0 0 1-1.895-.355 4.48 4.48 0 0 1-1.566-1.097 4.332 4.332 0 0 1-.947-1.635 4.251 4.251 0 0 1-.154-1.871 4.32 4.32 0 0 1 .156-1.876c.19-.608.512-1.168.943-1.644a4.553 4.553 0 0 1 1.56-1.115A4.664 4.664 0 0 1 202.595 4C205.342 4 207 5.826 207 8.843v.661h-6.973v.107c-.03.352.015.707.134 1.041.119.335.308.641.555.9.248.26.549.466.883.605.334.14.694.21 1.058.206.466.054.938-.028 1.357-.235.418-.207.764-.531.992-.93h1.876zm-6.855-3.096h4.988a2.28 2.28 0 0 0-.649-1.768 2.387 2.387 0 0 0-.813-.543 2.438 2.438 0 0 0-.969-.177 2.592 2.592 0 0 0-.984.18 2.54 2.54 0 0 0-.834.54 2.457 2.457 0 0 0-.553.811c-.127.304-.19.63-.186.957z",
517
+ fill: color
518
+ }
519
+ ),
520
+ /* @__PURE__ */ jsx9(
521
+ "path",
522
+ {
523
+ fillRule: "evenodd",
524
+ clipRule: "evenodd",
525
+ d: "M39.525 0H15.474C4.114 0 0 4.173 0 15.474v24.052C0 50.886 4.173 55 15.474 55h24.051C50.885 55 55 50.827 55 39.526V15.474C55.057 4.173 50.885 0 39.525 0z",
526
+ fill: "#C8102E"
527
+ }
528
+ ),
529
+ /* @__PURE__ */ jsx9(
530
+ "path",
531
+ {
532
+ d: "M10.778 28h1.456v6.889h-1.456V32.11H7.457v2.778H6V28h1.457v2.778h3.32V28zm8.274 3.944c0 1.112-.583 1.723-1.632 1.723s-1.631-.611-1.631-1.778V28h-1.457v3.944c0 1.945 1.107 3.056 3.088 3.056s3.146-1.111 3.146-3.111V28H19.11v3.944h-.058zm16.955.778L34.375 28h-1.223l-1.632 4.722L29.947 28h-1.573l2.505 6.889h1.224l1.631-4.556 1.632 4.556h1.223L39.095 28H37.58l-1.573 4.722zm5.768-.778h2.68v-1.277h-2.68v-1.39h3.904V28h-5.302v6.889h5.477V33.61h-4.02v-1.667h-.059zm5.768 2.945H49V28h-1.457v6.889zm-24.122-1.445-.64 1.445h-1.515L24.412 28h1.282l3.146 6.889h-1.515l-.64-1.445H23.42zm.525-1.222h2.214l-1.107-2.444-1.107 2.444zM27 18c-4.956 0-9-4.044-9-9h1.253c0 4.272 3.475 7.747 7.747 7.747S34.747 13.272 34.747 9H36c0 4.956-4.044 9-9 9z",
533
+ fill: "#fff"
534
+ }
535
+ )
536
+ ]
537
+ }
538
+ );
539
+ }
540
+ );
541
+ AppStore.displayName = "AppStore";
542
+
543
+ // src/store-items/GooglePlay.tsx
544
+ import { forwardRef as forwardRef5 } from "react";
545
+ import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
546
+ var paletteMap3 = /* @__PURE__ */ new Map([
547
+ ["dark", "#ffffff"],
548
+ ["light", "#000000"]
549
+ ]);
550
+ var GooglePlay = forwardRef5(
551
+ ({ width = 250, height = 59, palette, ...rest }, ref) => {
552
+ const color = paletteMap3.get(palette);
553
+ return /* @__PURE__ */ jsxs3(
554
+ "svg",
555
+ {
556
+ ref,
557
+ xmlns: "http://www.w3.org/2000/svg",
558
+ width: `${width}px`,
559
+ height: `${height}px`,
560
+ fill: color,
561
+ viewBox: "0 0 250 59",
562
+ ...rest,
563
+ children: [
564
+ /* @__PURE__ */ jsx10(
565
+ "path",
566
+ {
567
+ d: "M79.994 7.556a6.326 6.326 0 0 1-.365 2.407 6.128 6.128 0 0 1-1.24 2.064 6.2 6.2 0 0 1-2.155 1.51 5.976 5.976 0 0 1-2.556.458 6.183 6.183 0 0 1-2.566-.494 6.415 6.415 0 0 1-2.166-1.518A7.299 7.299 0 0 1 67 6.997c0-1.863.698-3.653 1.946-4.985a6.675 6.675 0 0 1 3.472-1.89 6.502 6.502 0 0 1 3.893.437 5.45 5.45 0 0 1 2.013 1.497L77.19 3.241a4.304 4.304 0 0 0-1.573-1.238 4.124 4.124 0 0 0-1.938-.371 4.968 4.968 0 0 0-2.403.642 5.226 5.226 0 0 0-1.835 1.743 5.517 5.517 0 0 0-.839 2.438 5.582 5.582 0 0 0 .353 2.564 5.36 5.36 0 0 0 1.461 2.092c.644.563 1.41.952 2.23 1.134.822.183 1.673.152 2.48-.089a5.091 5.091 0 0 0 2.15-1.291 4.394 4.394 0 0 0 1.07-2.728h-4.667v-1.61h6.23c.05.341.078.685.086 1.03zM90 1.603h-6.207V5.72h5.655v1.56h-5.655v4.117H90V13h-8V0h8v1.603zM97.288 13h-1.662V1.603H92V0h9v1.603h-3.712V13zM107 13V0h2v13h-2zM116.352 13h-1.682V1.603H111V0h9v1.603h-3.648V13zM136.14 11.962a6.55 6.55 0 0 1-2.129 1.508c-.797.35-1.65.53-2.513.53-.862 0-1.715-.18-2.512-.53a6.55 6.55 0 0 1-2.129-1.508C125.664 10.618 125 8.843 125 6.999c0-1.844.664-3.62 1.857-4.963a6.177 6.177 0 0 1 2.117-1.539c.799-.35 1.66-.519 2.524-.495a6.02 6.02 0 0 1 2.52.509c.798.35 1.52.869 2.122 1.525a6.914 6.914 0 0 1 1.403 2.283c.318.852.473 1.763.454 2.68a7.084 7.084 0 0 1-.442 2.686 6.759 6.759 0 0 1-1.415 2.277zm-8.081-1.118c.45.483.985.866 1.576 1.127a4.595 4.595 0 0 0 3.727 0 4.828 4.828 0 0 0 1.576-1.127 5.87 5.87 0 0 0 1.415-3.845 5.87 5.87 0 0 0-1.415-3.845 4.829 4.829 0 0 0-1.576-1.127 4.597 4.597 0 0 0-1.864-.396c-.639 0-1.273.134-1.863.396a4.829 4.829 0 0 0-1.576 1.127A5.87 5.87 0 0 0 126.644 7a5.87 5.87 0 0 0 1.415 3.845zM141 13V0h2.013l6.32 10.118V0H151v13h-1.732l-6.601-10.595V13H141zM125.062 32.267a9.18 9.18 0 0 0-5.123 1.58 9.286 9.286 0 0 0-3.389 4.18 9.366 9.366 0 0 0-.512 5.371 9.319 9.319 0 0 0 2.536 4.754 9.21 9.21 0 0 0 4.731 2.533 9.165 9.165 0 0 0 5.33-.541 9.243 9.243 0 0 0 4.133-3.434 9.35 9.35 0 0 0 1.543-5.168 9.199 9.199 0 0 0-.669-3.58 9.144 9.144 0 0 0-2.003-3.034 9.07 9.07 0 0 0-3.02-2.004 9.018 9.018 0 0 0-3.557-.657zm0 14.905a5.556 5.556 0 0 1-3.204-.752 5.61 5.61 0 0 1-2.228-2.438 5.66 5.66 0 0 1 .95-6.261 5.58 5.58 0 0 1 2.85-1.655 5.551 5.551 0 0 1 3.281.247 5.595 5.595 0 0 1 2.574 2.064c.633.932.973 2.035.975 3.165a5.384 5.384 0 0 1-1.42 3.92 5.298 5.298 0 0 1-3.778 1.71zm-20.188-14.905a9.179 9.179 0 0 0-5.123 1.58 9.282 9.282 0 0 0-3.388 4.18 9.36 9.36 0 0 0-.513 5.371 9.317 9.317 0 0 0 2.537 4.754 9.205 9.205 0 0 0 4.73 2.533 9.164 9.164 0 0 0 5.33-.541 9.238 9.238 0 0 0 4.133-3.434 9.335 9.335 0 0 0 1.543-5.168 9.18 9.18 0 0 0-2.672-6.614 9.07 9.07 0 0 0-3.02-2.004 9.014 9.014 0 0 0-3.557-.657zm0 14.905a5.553 5.553 0 0 1-3.203-.752 5.614 5.614 0 0 1-2.23-2.438 5.667 5.667 0 0 1 .952-6.261 5.573 5.573 0 0 1 2.85-1.655 5.549 5.549 0 0 1 3.28.247 5.595 5.595 0 0 1 2.574 2.064c.633.932.973 2.035.976 3.165a5.403 5.403 0 0 1-1.421 3.92 5.323 5.323 0 0 1-3.778 1.71zm-24-12.046v3.928h9.358a8.256 8.256 0 0 1-2.166 4.953 9.568 9.568 0 0 1-3.314 2.214 9.51 9.51 0 0 1-3.92.667 10.358 10.358 0 0 1-7.353-3.068 10.514 10.514 0 0 1-3.045-7.407c0-2.778 1.095-5.442 3.045-7.406a10.358 10.358 0 0 1 7.352-3.068 10.01 10.01 0 0 1 7.105 2.815l2.75-2.771A13.636 13.636 0 0 0 86.179 23a13.556 13.556 0 0 0-5.304-.99 14.222 14.222 0 0 0-5.647.933 14.305 14.305 0 0 0-4.835 3.085 14.426 14.426 0 0 0-3.248 4.747 14.516 14.516 0 0 0 0 11.299c.754 1.786 1.86 3.4 3.248 4.746a14.303 14.303 0 0 0 4.835 3.086 14.22 14.22 0 0 0 5.647.932c1.853.074 3.7-.247 5.422-.943a13.143 13.143 0 0 0 4.564-3.094 13.15 13.15 0 0 0 3.379-9.231 13.784 13.784 0 0 0-.195-2.444h-13.17zm98.144 3.055a8.725 8.725 0 0 0-3.029-4.192 8.622 8.622 0 0 0-4.855-1.722 8.608 8.608 0 0 0-3.446.713 8.663 8.663 0 0 0-2.88 2.034 8.74 8.74 0 0 0-1.841 3.02 8.792 8.792 0 0 0-.497 3.508 9.274 9.274 0 0 0 1.772 5.543 9.164 9.164 0 0 0 4.713 3.371 9.098 9.098 0 0 0 5.779-.143 9.17 9.17 0 0 0 4.544-3.6l-3.14-2.182a5.246 5.246 0 0 1-1.927 1.883 5.19 5.19 0 0 1-2.601.67 4.63 4.63 0 0 1-2.663-.71 4.68 4.68 0 0 1-1.799-2.105l12.325-5.128-.455-.96zm-12.563 3.099a5.143 5.143 0 0 1 1.282-3.74c.45-.505.996-.916 1.605-1.207a5.037 5.037 0 0 1 1.944-.487 3.53 3.53 0 0 1 1.997.476 3.569 3.569 0 0 1 1.403 1.51l-8.231 3.448zm-10.007 8.99h4.051V22.993h-4.051V50.27zm-6.628-15.93h-.152a6.373 6.373 0 0 0-2.189-1.625 6.328 6.328 0 0 0-2.663-.557 9.199 9.199 0 0 0-6.234 2.873 9.336 9.336 0 0 0-2.546 6.412c0 2.388.912 4.684 2.546 6.413a9.199 9.199 0 0 0 6.234 2.873 6.195 6.195 0 0 0 2.668-.545 6.237 6.237 0 0 0 2.184-1.637h.152v1.33c0 3.558-1.885 5.456-4.917 5.456a5.087 5.087 0 0 1-2.826-.934 5.147 5.147 0 0 1-1.831-2.361l-3.509 1.462a8.72 8.72 0 0 0 3.235 4.028A8.617 8.617 0 0 0 144.903 59c4.744 0 8.664-2.815 8.664-9.667v-16.52h-3.747v1.528zm-4.657 12.832a5.573 5.573 0 0 1-3.725-1.764 5.652 5.652 0 0 1-1.516-3.855c0-1.433.542-2.812 1.516-3.856a5.572 5.572 0 0 1 3.725-1.764 5.17 5.17 0 0 1 3.649 1.75 5.213 5.213 0 0 1 1.034 1.797 5.26 5.26 0 0 1 .256 2.062 5.231 5.231 0 0 1-1.274 3.88 5.164 5.164 0 0 1-1.655 1.253c-.629.3-1.313.47-2.01.497zm52.83-24.18h-9.704V50.27h4.051V39.927h5.653a8.368 8.368 0 0 0 3.405-.461 8.407 8.407 0 0 0 2.939-1.792 8.477 8.477 0 0 0 1.985-2.826 8.543 8.543 0 0 0 0-6.777 8.478 8.478 0 0 0-1.985-2.825 8.408 8.408 0 0 0-2.939-1.792 8.368 8.368 0 0 0-3.405-.461zm0 13.094h-5.653V26.79h5.74a4.61 4.61 0 0 1 3.277 1.368 4.7 4.7 0 0 1 0 6.604 4.61 4.61 0 0 1-3.277 1.368l-.087-.044zm24.996-3.906a7.513 7.513 0 0 0-4.226.995 7.598 7.598 0 0 0-2.987 3.173l3.574 1.506a3.865 3.865 0 0 1 1.561-1.545 3.828 3.828 0 0 1 2.143-.441 3.875 3.875 0 0 1 2.897.842 3.922 3.922 0 0 1 1.435 2.671v.262a8.997 8.997 0 0 0-4.223-1.047c-3.856 0-7.798 2.182-7.798 6.153a6.34 6.34 0 0 0 .606 2.435 6.296 6.296 0 0 0 1.501 2.003 6.216 6.216 0 0 0 4.629 1.563 5.706 5.706 0 0 0 2.936-.627 5.747 5.747 0 0 0 2.219-2.035h.13v2.182h3.899V39.774c0-4.779-3.595-7.55-8.209-7.55l-.087-.044zm-.498 14.948c-1.321 0-3.162-.676-3.162-2.313 0-2.182 2.296-2.924 4.332-2.924a7.15 7.15 0 0 1 3.682.916 4.945 4.945 0 0 1-1.57 3.083 4.874 4.874 0 0 1-3.195 1.282l-.087-.044zm23.004-14.315-4.636 11.827h-.13l-4.808-11.827h-4.332l7.212 16.54-4.115 9.188h4.224L250 32.813h-4.505zm-36.39 17.457h4.029V22.993h-4.029V50.27z",
568
+ fill: color
569
+ }
570
+ ),
571
+ /* @__PURE__ */ jsx10(
572
+ "path",
573
+ {
574
+ d: "M22.877 27.684.21 51.744c0 .005.002.01.003.014a6.12 6.12 0 0 0 5.914 4.536 6.1 6.1 0 0 0 3.106-.843l.073-.042L34.82 40.685 22.877 27.684z",
575
+ fill: "#EB3131"
576
+ }
577
+ ),
578
+ /* @__PURE__ */ jsx10(
579
+ "path",
580
+ {
581
+ d: "m45.811 23.587-.021-.015-11017-6.386-12.41 11.044 12.454 12.452 10.958-6.323a6.126 6.126 0 0 0 .036-10.772z",
582
+ fill: "#F6B60B"
583
+ }
584
+ ),
585
+ /* @__PURE__ */ jsx10(
586
+ "path",
587
+ {
588
+ d: "M.208 6.08A6 6 0 0 0 0 7.654V50.17c0 .545.07 1.073.209 1.574L23.657 28.3.207 6.08z",
589
+ fill: "#5778C5"
590
+ }
591
+ ),
592
+ /* @__PURE__ */ jsx10(
593
+ "path",
594
+ {
595
+ d: "m23.044 28.912 11.734-11.73L9.29 2.405a6.137 6.137 0 0 0-3.164-.875A6.127 6.127 0 0 0 .209 6.072l-.001.007 22.837 22.833z",
596
+ fill: "#3BAD49"
597
+ }
598
+ )
599
+ ]
600
+ }
601
+ );
602
+ }
603
+ );
604
+ GooglePlay.displayName = "GooglePlay";
605
+
606
+ // src/StoreBadge.tsx
607
+ import { jsx as jsx11 } from "react/jsx-runtime";
608
+ var contentStoreBadge = ({
609
+ palette,
610
+ type
611
+ }) => {
612
+ switch (type) {
613
+ case "google-play":
614
+ return /* @__PURE__ */ jsx11(
615
+ GooglePlay,
616
+ {
617
+ "data-testid": "store-badge__content__google-play",
618
+ palette
619
+ }
620
+ );
621
+ case "app-store":
622
+ return /* @__PURE__ */ jsx11(
623
+ AppStore,
624
+ {
625
+ "data-testid": "store-badge__content__app-store",
626
+ palette
627
+ }
628
+ );
629
+ case "app-gallery":
630
+ return /* @__PURE__ */ jsx11(
631
+ AppGallery,
632
+ {
633
+ "data-testid": "store-badge__content__app-gallery",
634
+ palette
635
+ }
636
+ );
637
+ default:
638
+ return null;
639
+ }
640
+ };
641
+ var StoreBadge = forwardRef6(
642
+ ({
643
+ type,
644
+ palette = "dark",
645
+ onPress,
646
+ "data-testid": dataTestId,
647
+ className,
648
+ ...rest
649
+ }, ref) => {
650
+ return /* @__PURE__ */ jsx11(
651
+ Box,
652
+ {
653
+ ref,
654
+ className,
655
+ "data-testid": dataTestId,
656
+ height: 87,
657
+ minWidth: 253,
658
+ paddingHorizontal: 20,
659
+ alignItems: "center",
660
+ justifyContent: "center",
661
+ borderWidth: 2,
662
+ borderRadius: 11,
663
+ onPress,
664
+ ...palette === "dark" ? {
665
+ backgroundColor: "#100f0d",
666
+ borderColor: "#a6a6a6"
667
+ } : {
668
+ backgroundColor: "#ffffff",
669
+ borderColor: "#000000"
670
+ },
671
+ ...rest,
672
+ style: {
673
+ cursor: onPress ? "pointer" : "default",
674
+ width: "fit-content",
675
+ ...rest.style
676
+ },
677
+ children: contentStoreBadge({ type, palette })
678
+ }
679
+ );
680
+ }
681
+ );
682
+ StoreBadge.displayName = "StoreBadge";
683
+ export {
684
+ StoreBadge
685
+ };
686
+ //# sourceMappingURL=index.mjs.map