@kosdev-code/kos-ddk-components 0.1.0-dev.5873 → 0.1.0-dev.5879
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/components/index.d.ts +2 -0
- package/components/index.d.ts.map +1 -1
- package/components/info-message/index.d.ts +2 -0
- package/components/info-message/index.d.ts.map +1 -0
- package/components/info-message/info-message.d.ts +9 -0
- package/components/info-message/info-message.d.ts.map +1 -0
- package/components/input-step/index.d.ts +2 -0
- package/components/input-step/index.d.ts.map +1 -0
- package/components/input-step/input-step.d.ts +11 -0
- package/components/input-step/input-step.d.ts.map +1 -0
- package/components/modal/index.d.ts +1 -0
- package/components/modal/index.d.ts.map +1 -1
- package/components/modal/modal-container/index.d.ts +2 -0
- package/components/modal/modal-container/index.d.ts.map +1 -0
- package/components/modal/modal-container/modal-container.d.ts +6 -0
- package/components/modal/modal-container/modal-container.d.ts.map +1 -0
- package/components/workflow-modal/workflow-modal.d.ts.map +1 -1
- package/index.cjs +265 -213
- package/index.js +2267 -2185
- package/package.json +4 -4
- package/styles/typography/typography.d.ts +4 -0
- package/styles/typography/typography.d.ts.map +1 -1
package/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("@emotion/react/jsx-runtime"),T=require("@emotion/styled"),tt=require("react"),pe=require("@emotion/is-prop-valid"),gt=require("@kosdev-code/kos-ddk-styles"),Nt=require("@kosdev-code/kos-ui-sdk"),xt=require("@emotion/react"),_e=require("react-dom"),Yi=require("@use-gesture/react"),ko=require("date-fns"),Se=require("react-router-dom");function Xi(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const de=Xi(tt),Jo={componentModeOverride:"standard",enableDialAnimation:!0,enableModalAnimation:!0,enableSidebarAnimation:!0,modalModeOverride:void 0},Fn=tt.createContext(Jo),Ji=({children:t,value:n=Jo})=>p.jsx(Fn.Provider,{value:n,children:t}),jt=()=>{const t=tt.useContext(Fn);if(!t)throw new Error("useComponentConfigurationContext must be used within a ComponentConfigurationProvider");return t},Zi=(t,n)=>n[t],ta=t=>tt.useMemo(()=>t.reduce((n,o)=>(n[o.id]=o,n),{}),[t]),ea=(t,n)=>{var o;if(!(!t||!n))return(o=n[t])==null?void 0:o.component},Xe=T("div",{shouldForwardProp:t=>pe(t)})`
|
|
2
2
|
align-items: center;
|
|
3
3
|
|
|
4
4
|
background-color: ${t=>t.disabled?"var(--ddk-component-action-item-background-color-disabled)":"var(--ddk-component-action-item-background-color-default)"};
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
padding: var(--ddk-component-action-item-padding);
|
|
27
27
|
user-select: none;
|
|
28
28
|
white-space: nowrap;
|
|
29
|
-
`,
|
|
29
|
+
`,na=T.div`
|
|
30
30
|
align-items: center;
|
|
31
31
|
display: flex;
|
|
32
32
|
gap: var(--ddk-component-action-item-button-container-gap);
|
|
33
33
|
white-space: nowrap;
|
|
34
34
|
width: var(--ddk-component-action-item-button-container-width);
|
|
35
|
-
`,
|
|
35
|
+
`,oa=T.div`
|
|
36
36
|
display: flex;
|
|
37
37
|
justify-content: space-between;
|
|
38
38
|
width: 100%;
|
|
39
|
-
`,
|
|
39
|
+
`,ra=T.div`
|
|
40
40
|
align-items: center;
|
|
41
41
|
|
|
42
42
|
background-color: ${t=>t.disabled?"var(--ddk-component-action-item-unit-background-color-disabled)":"var(--ddk-component-action-item-unit-background-color-default)"};
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
min-width: var(--ddk-component-action-item-unit-min-width);
|
|
59
59
|
padding: var(--ddk-component-action-item-unit-padding);
|
|
60
60
|
white-space: nowrap;
|
|
61
|
-
`,Cn=
|
|
61
|
+
`,Cn=T(Xe,{shouldForwardProp:t=>pe(t)})`
|
|
62
62
|
align-items: center;
|
|
63
63
|
|
|
64
64
|
border-color: ${t=>t.active&&"var(--ddk-component-action-item-button-border-color-active)"};
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
width: var(--ddk-generic-font-size-large);
|
|
107
107
|
height: var(--ddk-generic-font-size-large);
|
|
108
108
|
}
|
|
109
|
-
`,
|
|
109
|
+
`,Re=({children:t,disabled:n,unitStyle:o="external",unitValue:s,...m})=>p.jsxs(na,{children:[o==="inline"?p.jsxs(Cn,{disabled:n,unitValue:s,...m,children:[p.jsx(oa,{children:t}),s!==void 0&&p.jsx(ra,{disabled:n,children:s})]}):p.jsx(Cn,{disabled:n,...m,children:t}),o==="external"&&s!==void 0&&s]}),Zo=T.button`
|
|
110
110
|
align-items: center;
|
|
111
111
|
|
|
112
112
|
background-color: ${t=>t.disabled?"var(--ddk-component-button-background-color-disabled)":t.active?"var(--ddk-component-button-background-color-active)":"var(--ddk-component-button-background-color-default)"};
|
|
@@ -157,13 +157,13 @@
|
|
|
157
157
|
|
|
158
158
|
color: ${t=>!(t.disabled||t.state)&&"var(--ddk-component-button-color-active)"};
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,ia=T(Zo)`
|
|
161
161
|
background-color: ${t=>t.disabled?"var(--ddk-component-button-primary-background-color-disabled)":t.active?"var(--ddk-component-button-primary-background-color-active)":"var(--ddk-component-button-primary-background-color-default)"};
|
|
162
162
|
|
|
163
163
|
border-color: ${t=>t.disabled?"var(--ddk-component-button-border-color-disabled)":t.active?"var(--ddk-component-button-border-color-active)":"var(--ddk-component-button-border-color-default)"};
|
|
164
164
|
|
|
165
165
|
color: ${t=>t.disabled?"var(--ddk-component-button-primary-color-disabled)":t.active?"var(--ddk-component-button-primary-color-active)":"var(--ddk-component-button-primary-color-default)"};
|
|
166
|
-
`,
|
|
166
|
+
`,Tt=({disabled:t,onPointerDown:n,...o})=>{const s=m=>{t||n==null||n(m)};return o.mode==="primary"?p.jsx(ia,{disabled:t,onPointerDown:s,...o}):p.jsx(Zo,{disabled:t,onPointerDown:s,...o})},Ot=T("div",{shouldForwardProp:t=>pe(t)})`
|
|
167
167
|
align-items: ${t=>t.collapse?"stretch":"center"};
|
|
168
168
|
|
|
169
169
|
background-color: ${t=>t.collapse||t.float?"transparent":t.disabled?"var(--ddk-component-card-background-color-disabled)":"var(--ddk-component-card-background-color-default)"};
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
|
|
195
195
|
user-select: none;
|
|
196
196
|
width: 100%;
|
|
197
|
-
`,
|
|
197
|
+
`,tr=T(Ot,{shouldForwardProp:t=>pe(t)})`
|
|
198
198
|
align-items: center;
|
|
199
199
|
|
|
200
200
|
background-color: ${t=>t.active&&"var(--ddk-component-card-button-background-color-active)"};
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
width: var(--ddk-component-card-button-svg-size);
|
|
237
237
|
height: var(--ddk-component-card-button-svg-size);
|
|
238
238
|
}
|
|
239
|
-
`,ie=
|
|
239
|
+
`,ie=T.div`
|
|
240
240
|
display: flex;
|
|
241
241
|
flex-direction: column;
|
|
242
242
|
height: 100%;
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
|
|
247
247
|
overflow-y: auto;
|
|
248
248
|
width: 100%;
|
|
249
|
-
`,
|
|
249
|
+
`,aa=T.div`
|
|
250
250
|
align-items: center;
|
|
251
251
|
|
|
252
252
|
color: ${t=>t.disabled?"var(--ddk-component-icon-button-icon-color-disabled)":t.active?"var(--ddk-component-icon-button-icon-color-active)":"var(--ddk-component-icon-button-icon-color-default)"};
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
|
|
285
285
|
font-size: ${t=>t.size==="small"?"var(--ddk-component-icon-button-font-size-small)":t.size==="medium"?"var(--ddk-component-icon-button-font-size-medium)":"var(--ddk-component-icon-button-font-size-large)"};
|
|
286
286
|
}
|
|
287
|
-
`,se=({children:t,icon:n,size:o="medium",...
|
|
287
|
+
`,se=({children:t,icon:n,size:o="medium",...s})=>p.jsxs(aa,{size:o,...s,children:[p.jsx(n,{}),t&&p.jsx("div",{children:t})]}),sa=T(gt.SuccessIcon)`
|
|
288
288
|
box-sizing: var(--ddk-component-green-tick-icon-box-sizing);
|
|
289
289
|
min-width: var(--ddk-component-green-tick-icon-min-width);
|
|
290
290
|
min-height: var(--ddk-component-green-tick-icon-min-height);
|
|
@@ -292,38 +292,38 @@
|
|
|
292
292
|
background: var(--ddk-component-green-tick-icon-background);
|
|
293
293
|
color: var(--ddk-component-green-tick-icon-color);
|
|
294
294
|
padding: var(--ddk-component-green-tick-icon-padding);
|
|
295
|
-
`,
|
|
295
|
+
`,ca=T(gt.InformationIcon)`
|
|
296
296
|
min-width: var(--ddk-component-information-icon-min-width);
|
|
297
297
|
min-height: var(--ddk-component-information-icon-min-height);
|
|
298
298
|
border-radius: var(--ddk-component-information-icon-border-radius);
|
|
299
299
|
background: var(--ddk-component-information-icon-background);
|
|
300
300
|
color: var(--ddk-component-information-icon-color);
|
|
301
|
-
`,
|
|
301
|
+
`,da=T(gt.QuestionIcon)`
|
|
302
302
|
min-width: var(--ddk-component-question-icon-min-width);
|
|
303
303
|
min-height: var(--ddk-component-question-icon-min-height);
|
|
304
304
|
border-radius: var(--ddk-component-question-icon-border-radius);
|
|
305
305
|
background: var(--ddk-component-question-icon-background);
|
|
306
306
|
color: var(--ddk-component-question-icon-color);
|
|
307
|
-
`,
|
|
307
|
+
`,la=T(gt.USBIcon)`
|
|
308
308
|
min-width: var(--ddk-component-question-icon-min-width);
|
|
309
309
|
min-height: var(--ddk-component-question-icon-min-height);
|
|
310
310
|
border-radius: var(--ddk-component-question-icon-border-radius);
|
|
311
311
|
background: ${t=>t.selected?"var(--ddk-component-question-icon-background-selected)":"var(--ddk-component-question-icon-background)"};
|
|
312
312
|
color: var(--ddk-component-question-icon-color);
|
|
313
|
-
`,
|
|
313
|
+
`,er=T(Ot)`
|
|
314
314
|
background-color: var(--ddk-component-info-card-header-background-color);
|
|
315
315
|
border-bottom-left-radius: 0px;
|
|
316
316
|
border-bottom-right-radius: 0px;
|
|
317
317
|
font-weight: var(--ddk-component-info-card-header-font-weight);
|
|
318
318
|
padding: var(--ddk-component-info-card-header-padding);
|
|
319
|
-
`,
|
|
319
|
+
`,ua=T.div`
|
|
320
320
|
background-color: var(--ddk-component-info-container-background-color);
|
|
321
321
|
border: var(--ddk-component-info-container-border);
|
|
322
322
|
border-radius: var(--ddk-component-info-container-border-radius);
|
|
323
323
|
font-size: var(--ddk-component-info-container-font-size);
|
|
324
324
|
font-weight: var(--ddk-component-info-container-font-weight);
|
|
325
325
|
padding: var(--ddk-component-info-container-padding);
|
|
326
|
-
`,
|
|
326
|
+
`,fa=T.div`
|
|
327
327
|
color: var(--ddk-generic-color-grey-100);
|
|
328
328
|
font-family: var(--ddk-component-root-font-family-default);
|
|
329
329
|
font-size: 48px;
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
font-weight: 600;
|
|
332
332
|
letter-spacing: 0.72px;
|
|
333
333
|
line-height: 120%;
|
|
334
|
-
`,
|
|
334
|
+
`,pa=T.h1`
|
|
335
335
|
color: var(--ddk-generic-color-grey-100);
|
|
336
336
|
font-family: var(--ddk-component-root-font-family-default);
|
|
337
337
|
font-size: 36px;
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
font-weight: 600;
|
|
340
340
|
letter-spacing: 0.9px;
|
|
341
341
|
line-height: 120%;
|
|
342
|
-
`,
|
|
342
|
+
`,ha=T.h2`
|
|
343
343
|
color: var(--ddk-generic-color-grey-100);
|
|
344
344
|
font-family: var(--ddk-component-root-font-family-default);
|
|
345
345
|
font-size: 28px;
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
font-weight: 600;
|
|
348
348
|
letter-spacing: -1.12px;
|
|
349
349
|
line-height: 120%;
|
|
350
|
-
`,
|
|
350
|
+
`,ma=T.div`
|
|
351
351
|
color: var(--ddk-generic-color-grey-50, #888);
|
|
352
352
|
font-family: var(--ddk-component-root-font-family-default);
|
|
353
353
|
font-size: 24px;
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
line-height: 120%; /* 28.8px */
|
|
357
357
|
letter-spacing: -0.48px;
|
|
358
358
|
user-select: none;
|
|
359
|
-
`,
|
|
359
|
+
`,ga=T.div`
|
|
360
360
|
color: var(--ddk-generic-color-grey-50, #888);
|
|
361
361
|
font-family: var(--ddk-component-root-font-family-default);
|
|
362
362
|
font-size: 16px;
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
line-height: 135%; /* 21.6px */
|
|
366
366
|
letter-spacing: 0.64px;
|
|
367
367
|
user-select: none;
|
|
368
|
-
`,
|
|
368
|
+
`,va=T.div`
|
|
369
369
|
color: var(--ddk-generic-color-grey-70, #414141);
|
|
370
370
|
font-family: var(--ddk-component-root-font-family-default);
|
|
371
371
|
font-size: 20px;
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
font-weight: 600;
|
|
374
374
|
line-height: 135%;
|
|
375
375
|
margin-bottom: 4px;
|
|
376
|
-
`,
|
|
376
|
+
`,ba=T.p`
|
|
377
377
|
color: var(--ddk-generic-color-grey-100);
|
|
378
378
|
font-family: var(--ddk-component-root-font-family-default);
|
|
379
379
|
font-size: 15px;
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
font-weight: 500;
|
|
382
382
|
letter-spacing: -0.225px;
|
|
383
383
|
line-height: 135%;
|
|
384
|
-
`,
|
|
384
|
+
`,ya=T.div`
|
|
385
385
|
color: var(--ddk-generic-color-grey-100);
|
|
386
386
|
font-family: var(--ddk-component-root-font-family-default);
|
|
387
387
|
font-size: 16px;
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
font-weight: 600;
|
|
390
390
|
letter-spacing: 0.48px;
|
|
391
391
|
line-height: 120%;
|
|
392
|
-
`,Vn=
|
|
392
|
+
`,Vn=T.div`
|
|
393
393
|
color: var(--ddk-component-typography-body-small-color);
|
|
394
394
|
font-family: var(--ddk-component-typography-body-small-font-family);
|
|
395
395
|
font-size: var(--ddk-component-typography-body-small-font-size);
|
|
@@ -397,9 +397,9 @@
|
|
|
397
397
|
font-weight: var(--ddk-component-typography-body-small-font-weight);
|
|
398
398
|
letter-spacing: var(--ddk-component-typography-body-small-letter-spacing);
|
|
399
399
|
line-height: var(--ddk-component-typography-body-small-line-height);
|
|
400
|
-
`,
|
|
400
|
+
`,nr=T(Vn)`
|
|
401
401
|
color: var(--ddk-component-typography-label-date-information-color);
|
|
402
|
-
`,nn=
|
|
402
|
+
`,nn=T.div`
|
|
403
403
|
color: var(--ddk-component-typography-body-medium-color);
|
|
404
404
|
font-family: var(--ddk-component-typography-body-medium-font-family);
|
|
405
405
|
font-size: var(--ddk-component-typography-body-medium-font-size);
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
font-weight: var(--ddk-component-typography-body-medium-font-weight);
|
|
408
408
|
letter-spacing: var(--ddk-component-typography-body-medium-letter-spacing);
|
|
409
409
|
line-height: var(--ddk-component-typography-body-medium-line-height);
|
|
410
|
-
`,
|
|
410
|
+
`,Kn=T.div`
|
|
411
411
|
color: var(--ddk-component-typography-body-large-color);
|
|
412
412
|
font-family: var(--ddk-component-typography-body-large-font-family);
|
|
413
413
|
font-size: var(--ddk-component-typography-body-large-font-size);
|
|
@@ -415,12 +415,12 @@
|
|
|
415
415
|
font-weight: var(--ddk-component-typography-body-large-font-weight);
|
|
416
416
|
letter-spacing: var(--ddk-component-typography-body-large-letter-spacing);
|
|
417
417
|
line-height: var(--ddk-component-typography-body-large-line-height);
|
|
418
|
-
`,
|
|
418
|
+
`,ka=T(nn)`
|
|
419
419
|
color: var(--ddk-component-typography-label-information-color);
|
|
420
|
-
`,
|
|
420
|
+
`,or=T(Kn)`
|
|
421
421
|
color: var(--ddk-component-typography-label-information-color);
|
|
422
422
|
font-weight: var(--ddk-component-typography-body-medium-font-weight);
|
|
423
|
-
`,
|
|
423
|
+
`,Hn=T.div`
|
|
424
424
|
color: var(--ddk-component-typography-error-text-color);
|
|
425
425
|
font-family: var(--ddk-component-typography-error-text-font-family);
|
|
426
426
|
font-size: var(--ddk-component-typography-error-text-font-size);
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
font-weight: var(--ddk-component-typography-error-text-font-weight);
|
|
429
429
|
letter-spacing: var(--ddk-component-typography-error-text-letter-spacing);
|
|
430
430
|
line-height: var(--ddk-component-typography-error-text-line-height);
|
|
431
|
-
`,Un=
|
|
431
|
+
`,Un=T.div`
|
|
432
432
|
color: var(--ddk-component-typography-heading-medium-color);
|
|
433
433
|
font-family: var(--ddk-component-typography-heading-medium-font-family);
|
|
434
434
|
font-size: var(--ddk-component-typography-heading-medium-font-size);
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
font-weight: var(--ddk-component-typography-heading-medium-font-weight);
|
|
437
437
|
letter-spacing: var(--ddk-component-typography-heading-medium-letter-spacing);
|
|
438
438
|
line-height: var(--ddk-component-typography-heading-medium-line-height);
|
|
439
|
-
`,
|
|
439
|
+
`,rr=T.div`
|
|
440
440
|
color: var(--ddk-component-typography-heading-large-color);
|
|
441
441
|
font-family: var(--ddk-component-typography-heading-large-font-family);
|
|
442
442
|
font-size: var(--ddk-component-typography-heading-large-font-size);
|
|
@@ -444,11 +444,21 @@
|
|
|
444
444
|
font-weight: var(--ddk-component-typography-heading-large-font-weight);
|
|
445
445
|
letter-spacing: var(--ddk-component-typography-heading-large-letter-spacing);
|
|
446
446
|
line-height: var(--ddk-component-typography-heading-large-line-height);
|
|
447
|
-
`,
|
|
447
|
+
`,ir=T.div`
|
|
448
|
+
color: var(--ddk-component-typography-heading-x-large-color);
|
|
449
|
+
font-family: var(--ddk-component-typography-heading-x-large-font-family);
|
|
450
|
+
font-size: var(--ddk-component-typography-heading-x-large-font-size);
|
|
451
|
+
font-style: var(--ddk-component-typography-heading-x-large-font-style);
|
|
452
|
+
font-weight: var(--ddk-component-typography-heading-x-large-font-weight);
|
|
453
|
+
letter-spacing: var(
|
|
454
|
+
--ddk-component-typography-heading-x-large-letter-spacing
|
|
455
|
+
);
|
|
456
|
+
line-height: var(--ddk-component-typography-heading-x-large-line-height);
|
|
457
|
+
`,ar=T(Un)`
|
|
448
458
|
color: var(--ddk-component-typography-label-information-color);
|
|
449
|
-
`,
|
|
459
|
+
`,xa=T(rr)`
|
|
450
460
|
color: var(--ddk-component-typography-label-information-color);
|
|
451
|
-
`,
|
|
461
|
+
`,Be=T.label`
|
|
452
462
|
color: var(--ddk-component-typography-label-color);
|
|
453
463
|
font-family: var(--ddk-component-typography-label-font-family);
|
|
454
464
|
font-size: var(--ddk-component-typography-label-font-size);
|
|
@@ -456,26 +466,26 @@
|
|
|
456
466
|
font-weight: var(--ddk-component-typography-label-font-weight);
|
|
457
467
|
letter-spacing: var(--ddk-component-typography-label-letter-spacing);
|
|
458
468
|
line-height: var(--ddk-component-typography-label-line-height);
|
|
459
|
-
`,
|
|
469
|
+
`,sr=T(Be)`
|
|
460
470
|
font-size: var(--ddk-component-typography-label-font-size-small);
|
|
461
|
-
`,on=
|
|
471
|
+
`,on=T(Be)`
|
|
462
472
|
font-size: var(--ddk-component-typography-label-font-size-x-small);
|
|
463
|
-
`,
|
|
473
|
+
`,wa=T(on)`
|
|
464
474
|
color: var(--ddk-component-typography-label-date-color);
|
|
465
|
-
`,
|
|
475
|
+
`,cr=T(on)`
|
|
466
476
|
color: var(--ddk-component-typography-label-date-information-color);
|
|
467
|
-
`,
|
|
477
|
+
`,dr=T(Be)`
|
|
468
478
|
color: var(--ddk-component-typography-label-information-color);
|
|
469
|
-
`,
|
|
479
|
+
`,lr=T(sr)`
|
|
470
480
|
color: var(--ddk-component-typography-label-information-color);
|
|
471
|
-
`,
|
|
481
|
+
`,ja=T(on)`
|
|
472
482
|
color: var(--ddk-component-typography-label-information-color);
|
|
473
|
-
`,
|
|
483
|
+
`,Sa=T.div`
|
|
474
484
|
align-items: var(--ddk-component-input-container-align-items);
|
|
475
485
|
display: flex;
|
|
476
486
|
flex-direction: var(--ddk-component-input-container-flex-direction);
|
|
477
487
|
gap: var(--ddk-component-input-container-gap);
|
|
478
|
-
`,
|
|
488
|
+
`,ur=T.input`
|
|
479
489
|
align-items: center;
|
|
480
490
|
|
|
481
491
|
background-color: ${t=>t.disabled?"var(--ddk-component-input-background-color-disabled)":t.active?"var(--ddk-component-input-background-color-active)":t.isError?"var(--ddk-component-input-background-color-error)":"var(--ddk-component-input-background-color-default)"};
|
|
@@ -526,7 +536,7 @@
|
|
|
526
536
|
|
|
527
537
|
color: ${t=>!(t.active||t.disabled||t.state)&&"var(--ddk-component-input-color-hover)"};
|
|
528
538
|
}
|
|
529
|
-
|
|
539
|
+
`,Ne=tt.forwardRef(({error:t,isError:n,...o},s)=>p.jsxs(Sa,{children:[t&&p.jsx(Hn,{children:t}),p.jsx(ur,{ref:s,isError:n||!!t,...o})]})),Ca=T(Ot,{shouldForwardProp:t=>pe(t)})`
|
|
530
540
|
align-items: flex-start;
|
|
531
541
|
flex-direction: column;
|
|
532
542
|
font-size: var(--ddk-component-instruction-card-font-size);
|
|
@@ -547,11 +557,11 @@
|
|
|
547
557
|
div {
|
|
548
558
|
white-space: pre-wrap;
|
|
549
559
|
}
|
|
550
|
-
`,
|
|
560
|
+
`,Ia=T.div`
|
|
551
561
|
display: flex;
|
|
552
562
|
flex-direction: column;
|
|
553
563
|
gap: var(--ddk-component-list-container-gap);
|
|
554
|
-
`,
|
|
564
|
+
`,fr=T("button",{shouldForwardProp:t=>pe(t)})`
|
|
555
565
|
align-items: center;
|
|
556
566
|
|
|
557
567
|
background-color: ${t=>t.active?"var(--ddk-component-navigation-button-background-color-active)":"var(--ddk-component-navigation-button-background-color-default)"};
|
|
@@ -597,7 +607,7 @@
|
|
|
597
607
|
);
|
|
598
608
|
color: var(--ddk-component-navigation-button-color-active);
|
|
599
609
|
}
|
|
600
|
-
`,
|
|
610
|
+
`,pr=T.div`
|
|
601
611
|
position: absolute;
|
|
602
612
|
top: 0;
|
|
603
613
|
bottom: 0;
|
|
@@ -612,18 +622,18 @@
|
|
|
612
622
|
background: var(--ddk-generic-color-grey-5, #f9f9f9);
|
|
613
623
|
box-shadow: 8px 0px 16px 0px rgba(0, 0, 0, 0.08),
|
|
614
624
|
0px 0px 4px 0px rgba(0, 0, 0, 0.04);
|
|
615
|
-
`,
|
|
625
|
+
`,hr=T.div`
|
|
616
626
|
display: flex;
|
|
617
627
|
flex-direction: column;
|
|
618
628
|
align-items: flex-start;
|
|
619
629
|
gap: var(--ddk-component-sidebar-padding-large);
|
|
620
|
-
`,
|
|
630
|
+
`,mr=T.div`
|
|
621
631
|
display: flex;
|
|
622
632
|
gap: 16px;
|
|
623
633
|
font-size: var(--ddk-component-sidebar-font-size-large);
|
|
624
634
|
font-weight: 600;
|
|
625
635
|
align-items: center;
|
|
626
|
-
`,
|
|
636
|
+
`,gr=T.button`
|
|
627
637
|
font-size: var(--ddk-component-sub-nav-button-font-size);
|
|
628
638
|
font-weight: var(--ddk-generic-font-weight-medium);
|
|
629
639
|
padding: var(--ddk-component-sub-nav-button-padding-small);
|
|
@@ -635,7 +645,7 @@
|
|
|
635
645
|
color: ${t=>t.active?"var(--ddk-generic-color-grey-100)":"var(--ddk-generic-color-grey-60)"};
|
|
636
646
|
border-radius: 2px;
|
|
637
647
|
text-align: left;
|
|
638
|
-
`,
|
|
648
|
+
`,Pa=T.div`
|
|
639
649
|
color: var(--ddk-component-summary-font-disabled-color);
|
|
640
650
|
text-align: center;
|
|
641
651
|
font-size: var(--ddk-component-summary-font-size-small);
|
|
@@ -643,38 +653,38 @@
|
|
|
643
653
|
position: absolute;
|
|
644
654
|
left: 50%;
|
|
645
655
|
transform: translate(-50%);
|
|
646
|
-
`,
|
|
656
|
+
`,Ea=T.div`
|
|
647
657
|
position: relative;
|
|
648
658
|
left: 50%;
|
|
649
659
|
transform: translate(-50%, -50%);
|
|
650
660
|
text-align: center;
|
|
651
|
-
`,
|
|
661
|
+
`,Oa=T.div`
|
|
652
662
|
font-size: var(--ddk-component-summary-show-more-font-size);
|
|
653
663
|
font-weight: var(--ddk-component-summary-font-weight);
|
|
654
664
|
line-height: 27px;
|
|
655
665
|
color: var(--ddk-component-summary-show-more-color);
|
|
656
|
-
`,
|
|
666
|
+
`,Ta=T.div`
|
|
657
667
|
font-size: var(--ddk-component-summary-text-font-size);
|
|
658
668
|
line-height: 16.2px;
|
|
659
669
|
font-weight: var(--ddk-component-summary-font-weight);
|
|
660
670
|
color: var(--ddk-component-summary-show-more-color);
|
|
661
|
-
`,
|
|
671
|
+
`,Aa=T.div`
|
|
662
672
|
font-size: var(--ddk-component-summary-text-font-size);
|
|
663
673
|
line-height: 16.2px;
|
|
664
674
|
font-weight: var(--ddk-component-summary-font-weight);
|
|
665
675
|
color: white;
|
|
666
|
-
`,
|
|
676
|
+
`,Ma=T.div`
|
|
667
677
|
display: flex;
|
|
668
678
|
flex-direction: column;
|
|
669
679
|
gap: var(--ddk-component-tab-view-layout-gap);
|
|
670
680
|
padding: var(--ddk-component-tab-view-layout-padding);
|
|
671
|
-
`,
|
|
681
|
+
`,Da=T.div`
|
|
672
682
|
display: flex;
|
|
673
683
|
flex-direction: column;
|
|
674
684
|
gap: var(--ddk-component-tab-view-container-gap);
|
|
675
685
|
padding: var(--ddk-component-tab-view-container-padding);
|
|
676
686
|
width: 100%;
|
|
677
|
-
`,
|
|
687
|
+
`,_a=T(Tt)`
|
|
678
688
|
align-items: center;
|
|
679
689
|
|
|
680
690
|
background-color: ${t=>t.disabled?"":t.state==="run"?"var(--ddk-component-button-background-color-run)":t.state==="halt"?"var(--ddk-component-button-background-color-halt)":""};
|
|
@@ -689,32 +699,32 @@
|
|
|
689
699
|
margin: var(--ddk-component-tap-and-hold-button-margin);
|
|
690
700
|
min-width: var(--ddk-component-tap-and-hold-button-min-width);
|
|
691
701
|
padding: var(--ddk-component-tap-and-hold-button-padding);
|
|
692
|
-
`,
|
|
702
|
+
`,qn=T.div`
|
|
693
703
|
display: flex;
|
|
694
704
|
flex-direction: column;
|
|
695
705
|
gap: var(--ddk-component-input-card-text-container-gap);
|
|
696
706
|
overflow: hidden;
|
|
697
|
-
`,rn=
|
|
707
|
+
`,rn=T.div`
|
|
698
708
|
overflow: hidden;
|
|
699
709
|
text-overflow: ellipsis;
|
|
700
710
|
white-space: nowrap;
|
|
701
|
-
`,an=
|
|
711
|
+
`,an=T(rn)`
|
|
702
712
|
color: var(--ddk-component-input-card-description-color);
|
|
703
713
|
font-size: var(--ddk-component-input-card-description-font-size);
|
|
704
714
|
font-weight: var(--ddk-component-input-card-description-font-weight);
|
|
705
715
|
text-align: left;
|
|
706
|
-
`,
|
|
716
|
+
`,vr=T(an)`
|
|
707
717
|
color: var(--ddk-semantic-color-system-red);
|
|
708
|
-
`,
|
|
718
|
+
`,Ra=T.div`
|
|
709
719
|
display: flex;
|
|
710
720
|
flex-direction: column;
|
|
711
721
|
gap: var(--ddk-component-input-card-text-container-gap);
|
|
712
722
|
overflow: hidden;
|
|
713
|
-
`,
|
|
723
|
+
`,br=T.div`
|
|
714
724
|
overflow: hidden;
|
|
715
725
|
text-overflow: ellipsis;
|
|
716
726
|
white-space: nowrap;
|
|
717
|
-
`,
|
|
727
|
+
`,Ba=T(br)`
|
|
718
728
|
color: var(--ddk-component-input-card-description-color);
|
|
719
729
|
font-size: var(--ddk-component-input-card-description-font-size);
|
|
720
730
|
font-weight: var(--ddk-component-input-card-description-font-weight);
|
|
@@ -723,14 +733,14 @@
|
|
|
723
733
|
-webkit-line-clamp: ${t=>t.multiline?"4":void 0};
|
|
724
734
|
display: ${t=>t.multiline?"-webkit-box":void 0};
|
|
725
735
|
white-space: ${t=>t.multiline?"normal":void 0};
|
|
726
|
-
`,
|
|
736
|
+
`,Na=({buttonLabel:t,description:n,label:o,onAction:s,multiline:m,...y})=>{const{componentModeOverride:j}=jt();return p.jsxs(Ot,{collapse:j==="compact",...y,children:[p.jsxs(Ra,{children:[p.jsx(br,{children:o}),n&&p.jsx(Ba,{multiline:m===!0,children:n})]}),p.jsx(Tt,{onPointerDown:s,children:t})]})},yr=T(gt.ChevronLeftIcon)`
|
|
727
737
|
cursor: pointer;
|
|
728
|
-
|
|
738
|
+
`,$a=T.div`
|
|
729
739
|
display: flex;
|
|
730
740
|
flex-direction: column;
|
|
731
741
|
flex: 1;
|
|
732
742
|
gap: var(--ddk-component-card-button-grid-container-gap);
|
|
733
|
-
`,
|
|
743
|
+
`,La=({CardButtonRenderer:t=tr,items:n,onSelect:o,showNavIcon:s=!0,...m})=>p.jsx($a,{...m,children:n.map(y=>p.jsxs(t,{active:y.active,onPointerDown:()=>o==null?void 0:o(y.id),children:[y.label,s&&p.jsx(gt.ChevronRightIcon,{})]},y.id))}),za=()=>{const{t}=Nt.useKosTranslation("common");return t("close")},Gn=({children:t,fill:n,label:o,size:s="medium",...m})=>p.jsx(se,{icon:n?gt.CloseIconWithBackground:gt.CloseIcon,size:s,...m,children:o??p.jsx(za,{})}),$e=({children:t,label:n,size:o="medium",...s})=>p.jsx(se,{icon:gt.CompactCloseIcon,size:o,...s}),Fa=T.div`
|
|
734
744
|
box-sizing: border-box;
|
|
735
745
|
display: flex;
|
|
736
746
|
flex-direction: column;
|
|
@@ -745,7 +755,7 @@
|
|
|
745
755
|
padding: ${t=>t.contain?"var(--ddk-component-modal-content-padding)":"initial"};
|
|
746
756
|
|
|
747
757
|
width: 100%;
|
|
748
|
-
`,
|
|
758
|
+
`,Le=({align:t,children:n,className:o,size:s})=>{const{componentModeOverride:m}=jt();return p.jsx(ie,{size:s,children:p.jsx(Fa,{align:t,className:o,contain:m==="compact",children:n})})},kr=T.div`
|
|
749
759
|
align-items: var(--ddk-component-modal-footer-align-items);
|
|
750
760
|
box-sizing: border-box;
|
|
751
761
|
display: flex;
|
|
@@ -755,10 +765,10 @@
|
|
|
755
765
|
justify-content: center;
|
|
756
766
|
padding: var(--ddk-component-modal-footer-padding);
|
|
757
767
|
width: 100%;
|
|
758
|
-
`,
|
|
768
|
+
`,Va=T(kr)`
|
|
759
769
|
background-color: #ffffff;
|
|
760
770
|
border-top: 1px solid #d2d4da;
|
|
761
|
-
`,ze=t=>{const{componentModeOverride:n}=
|
|
771
|
+
`,ze=t=>{const{componentModeOverride:n}=jt();return n==="compact"?p.jsx(Va,{...t}):p.jsx(kr,{...t})},xo=({textKey:t})=>{const{t:n}=Nt.useKosTranslation("common");return n(t)},sn=({cancelLabel:t,onCancel:n,onProceed:o,proceedLabel:s,canProceed:m=!0})=>{const{componentModeOverride:y}=jt();return p.jsxs(ze,{children:[y==="standard"&&p.jsx(Tt,{onPointerDown:n,children:t??p.jsx(xo,{textKey:"cancel"})}),p.jsx(Tt,{disabled:!m,mode:"primary",onPointerDown:o,children:s??p.jsx(xo,{textKey:"proceed"})})]})},xr=({children:t,label:n="Steps",size:o="medium",...s})=>{const{componentModeOverride:m}=jt();return p.jsx(se,{icon:m==="compact"?gt.CompactMenuIcon:gt.MenuIcon,size:o,...s,children:n})},Ka=T.div`
|
|
762
772
|
align-items: center;
|
|
763
773
|
background-color: var(--ddk-component-modal-header-background-color);
|
|
764
774
|
box-shadow: var(--ddk-component-modal-header-box-shadow);
|
|
@@ -766,11 +776,11 @@
|
|
|
766
776
|
display: flex;
|
|
767
777
|
flex-direction: var(--ddk-component-modal-header-flex-direction);
|
|
768
778
|
gap: var(--ddk-component-modal-header-gap);
|
|
769
|
-
height: var(--ddk-component-modal-header-height);
|
|
779
|
+
min-height: var(--ddk-component-modal-header-height);
|
|
770
780
|
justify-content: space-between;
|
|
771
781
|
padding: ${t=>t.contain?"var(--ddk-component-modal-header-padding-maximized)":"var(--ddk-component-modal-header-padding)"};
|
|
772
782
|
user-select: none;
|
|
773
|
-
`,
|
|
783
|
+
`,Ha=T.div`
|
|
774
784
|
display: flex;
|
|
775
785
|
flex-direction: var(
|
|
776
786
|
--ddk-component-modal-header-title-container-flex-direction
|
|
@@ -778,21 +788,21 @@
|
|
|
778
788
|
gap: var(--ddk-component-modal-header-title-container-gap);
|
|
779
789
|
text-align: var(--ddk-component-modal-header-title-container-text-align);
|
|
780
790
|
white-space: var(--ddk-component-modal-header-title-container-white-space);
|
|
781
|
-
`,
|
|
791
|
+
`,wo=T.div`
|
|
782
792
|
display: flex;
|
|
783
793
|
flex-direction: column;
|
|
784
794
|
height: 100%;
|
|
785
795
|
justify-content: center;
|
|
786
796
|
padding: var(--ddk-component-modal-header-side-content-padding);
|
|
787
797
|
width: 40px;
|
|
788
|
-
`,Zt=({CloseButton:t,closeButtonLabel:n,contain:o=!1,leftContent:c,onClose:m,onOpen:k,OpenButton:j,raiseCloseButton:C,showCloseButton:F,showOpenButton:R,size:D="small",subtitle:Y,title:s})=>{const g=t?h.jsx(t,{}):h.jsx(qn,{fill:!0,label:n,size:D==="small"?"medium":D==="large"?"large":"medium"}),e=j?h.jsx(j,{onPointerDown:k}):h.jsx(yr,{onPointerDown:k});return h.jsxs(za,{contain:o,children:[h.jsx(xo,{children:R?e:c}),h.jsxs(Fa,{children:[s&&h.jsx(Un,{children:s}),Y&&h.jsx(cr,{children:Y})]}),h.jsx(xo,{style:{zIndex:C?1:"initial"},onPointerDown:F?m:void 0,children:F?g:void 0})]})};var Gn=Ve(),ft=t=>Fe(t,Gn),Wn=Ve();ft.write=t=>Fe(t,Wn);var cn=Ve();ft.onStart=t=>Fe(t,cn);var Qn=Ve();ft.onFrame=t=>Fe(t,Qn);var Yn=Ve();ft.onFinish=t=>Fe(t,Yn);var le=[];ft.setTimeout=(t,n)=>{const o=ft.now()+n,c=()=>{const k=le.findIndex(j=>j.cancel==c);~k&&le.splice(k,1),Xt-=~k?1:0},m={time:o,handler:t,cancel:c};return le.splice(kr(o),0,m),Xt+=1,xr(),m};var kr=t=>~(~le.findIndex(n=>n.time>t)||~le.length);ft.cancel=t=>{cn.delete(t),Qn.delete(t),Yn.delete(t),Gn.delete(t),Wn.delete(t)};ft.sync=t=>{Pn=!0,ft.batchedUpdates(t),Pn=!1};ft.throttle=t=>{let n;function o(){try{t(...n)}finally{n=null}}function c(...m){n=m,ft.onStart(o)}return c.handler=t,c.cancel=()=>{cn.delete(o),n=null},c};var Xn=typeof window<"u"?window.requestAnimationFrame:()=>{};ft.use=t=>Xn=t;ft.now=typeof performance<"u"?()=>performance.now():Date.now;ft.batchedUpdates=t=>t();ft.catch=console.error;ft.frameLoop="always";ft.advance=()=>{ft.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):jr()};var Yt=-1,Xt=0,Pn=!1;function Fe(t,n){Pn?(n.delete(t),t(0)):(n.add(t),xr())}function xr(){Yt<0&&(Yt=0,ft.frameLoop!=="demand"&&Xn(wr))}function Va(){Yt=-1}function wr(){~Yt&&(Xn(wr),ft.batchedUpdates(jr))}function jr(){const t=Yt;Yt=ft.now();const n=kr(Yt);if(n&&(Sr(le.splice(0,n),o=>o.handler()),Xt-=n),!Xt){Va();return}cn.flush(),Gn.flush(t?Math.min(64,Yt-t):16.667),Qn.flush(),Wn.flush(),Yn.flush()}function Ve(){let t=new Set,n=t;return{add(o){Xt+=n==t&&!t.has(o)?1:0,t.add(o)},delete(o){return Xt-=n==t&&t.has(o)?1:0,t.delete(o)},flush(o){n.size&&(t=new Set,Xt-=n.size,Sr(n,c=>c(o)&&t.add(c)),Xt+=t.size,n=t)}}}function Sr(t,n){t.forEach(o=>{try{n(o)}catch(c){ft.catch(c)}})}var Ka=Object.defineProperty,Ua=(t,n)=>{for(var o in n)Ka(t,o,{get:n[o],enumerable:!0})},Vt={};Ua(Vt,{assign:()=>qa,colors:()=>Jt,createStringInterpolator:()=>Zn,skipAnimation:()=>Pr,to:()=>Cr,willAdvance:()=>to});function In(){}var Ha=(t,n,o)=>Object.defineProperty(t,n,{value:o,writable:!0,configurable:!0}),tt={arr:Array.isArray,obj:t=>!!t&&t.constructor.name==="Object",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0};function qt(t,n){if(tt.arr(t)){if(!tt.arr(n)||t.length!==n.length)return!1;for(let o=0;o<t.length;o++)if(t[o]!==n[o])return!1;return!0}return t===n}var lt=(t,n)=>t.forEach(n);function Ut(t,n,o){if(tt.arr(t)){for(let c=0;c<t.length;c++)n.call(o,t[c],`${c}`);return}for(const c in t)t.hasOwnProperty(c)&&n.call(o,t[c],c)}var Tt=t=>tt.und(t)?[]:tt.arr(t)?t:[t];function xe(t,n){if(t.size){const o=Array.from(t);t.clear(),lt(o,n)}}var ke=(t,...n)=>xe(t,o=>o(...n)),Jn=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Zn,Cr,Jt=null,Pr=!1,to=In,qa=t=>{t.to&&(Cr=t.to),t.now&&(ft.now=t.now),t.colors!==void 0&&(Jt=t.colors),t.skipAnimation!=null&&(Pr=t.skipAnimation),t.createStringInterpolator&&(Zn=t.createStringInterpolator),t.requestAnimationFrame&&ft.use(t.requestAnimationFrame),t.batchedUpdates&&(ft.batchedUpdates=t.batchedUpdates),t.willAdvance&&(to=t.willAdvance),t.frameLoop&&(ft.frameLoop=t.frameLoop)},we=new Set,Bt=[],yn=[],Je=0,dn={get idle(){return!we.size&&!Bt.length},start(t){Je>t.priority?(we.add(t),ft.onStart(Ga)):(Ir(t),ft(En))},advance:En,sort(t){if(Je)ft.onFrame(()=>dn.sort(t));else{const n=Bt.indexOf(t);~n&&(Bt.splice(n,1),Er(t))}},clear(){Bt=[],we.clear()}};function Ga(){we.forEach(Ir),we.clear(),ft(En)}function Ir(t){Bt.includes(t)||Er(t)}function Er(t){Bt.splice(Wa(Bt,n=>n.priority>t.priority),0,t)}function En(t){const n=yn;for(let o=0;o<Bt.length;o++){const c=Bt[o];Je=c.priority,c.idle||(to(c),c.advance(t),c.idle||n.push(c))}return Je=0,yn=Bt,yn.length=0,Bt=n,Bt.length>0}function Wa(t,n){const o=t.findIndex(n);return o<0?t.length:o}var Qa={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Ft="[-+]?\\d*\\.?\\d+",Ze=Ft+"%";function ln(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var Ya=new RegExp("rgb"+ln(Ft,Ft,Ft)),Xa=new RegExp("rgba"+ln(Ft,Ft,Ft,Ft)),Ja=new RegExp("hsl"+ln(Ft,Ze,Ze)),Za=new RegExp("hsla"+ln(Ft,Ze,Ze,Ft)),ts=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,es=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ns=/^#([0-9a-fA-F]{6})$/,os=/^#([0-9a-fA-F]{8})$/;function rs(t){let n;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ns.exec(t))?parseInt(n[1]+"ff",16)>>>0:Jt&&Jt[t]!==void 0?Jt[t]:(n=Ya.exec(t))?(ce(n[1])<<24|ce(n[2])<<16|ce(n[3])<<8|255)>>>0:(n=Xa.exec(t))?(ce(n[1])<<24|ce(n[2])<<16|ce(n[3])<<8|So(n[4]))>>>0:(n=ts.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=os.exec(t))?parseInt(n[1],16)>>>0:(n=es.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=Ja.exec(t))?(wo(jo(n[1]),qe(n[2]),qe(n[3]))|255)>>>0:(n=Za.exec(t))?(wo(jo(n[1]),qe(n[2]),qe(n[3]))|So(n[4]))>>>0:null}function kn(t,n,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(n-t)*6*o:o<1/2?n:o<2/3?t+(n-t)*(2/3-o)*6:t}function wo(t,n,o){const c=o<.5?o*(1+n):o+n-o*n,m=2*o-c,k=kn(m,c,t+1/3),j=kn(m,c,t),C=kn(m,c,t-1/3);return Math.round(k*255)<<24|Math.round(j*255)<<16|Math.round(C*255)<<8}function ce(t){const n=parseInt(t,10);return n<0?0:n>255?255:n}function jo(t){return(parseFloat(t)%360+360)%360/360}function So(t){const n=parseFloat(t);return n<0?0:n>1?255:Math.round(n*255)}function qe(t){const n=parseFloat(t);return n<0?0:n>100?1:n/100}function Co(t){let n=rs(t);if(n===null)return t;n=n||0;const o=(n&4278190080)>>>24,c=(n&16711680)>>>16,m=(n&65280)>>>8,k=(n&255)/255;return`rgba(${o}, ${c}, ${m}, ${k})`}var Pe=(t,n,o)=>{if(tt.fun(t))return t;if(tt.arr(t))return Pe({range:t,output:n,extrapolate:o});if(tt.str(t.output[0]))return Zn(t);const c=t,m=c.output,k=c.range||[0,1],j=c.extrapolateLeft||c.extrapolate||"extend",C=c.extrapolateRight||c.extrapolate||"extend",F=c.easing||(R=>R);return R=>{const D=as(R,k);return is(R,k[D],k[D+1],m[D],m[D+1],F,j,C,c.map)}};function is(t,n,o,c,m,k,j,C,F){let R=F?F(t):t;if(R<n){if(j==="identity")return R;j==="clamp"&&(R=n)}if(R>o){if(C==="identity")return R;C==="clamp"&&(R=o)}return c===m?c:n===o?t<=n?c:m:(n===-1/0?R=-R:o===1/0?R=R-n:R=(R-n)/(o-n),R=k(R),c===-1/0?R=-R:m===1/0?R=R+c:R=R*(m-c)+c,R)}function as(t,n){for(var o=1;o<n.length-1&&!(n[o]>=t);++o);return o-1}var ss={linear:t=>t},Ie=Symbol.for("FluidValue.get"),fe=Symbol.for("FluidValue.observers"),Rt=t=>!!(t&&t[Ie]),Mt=t=>t&&t[Ie]?t[Ie]():t,Po=t=>t[fe]||null;function cs(t,n){t.eventObserved?t.eventObserved(n):t(n)}function Ee(t,n){const o=t[fe];o&&o.forEach(c=>{cs(c,n)})}var Or=class{constructor(t){if(!t&&!(t=this.get))throw Error("Unknown getter");ds(this,t)}},ds=(t,n)=>Tr(t,Ie,n);function me(t,n){if(t[Ie]){let o=t[fe];o||Tr(t,fe,o=new Set),o.has(n)||(o.add(n),t.observerAdded&&t.observerAdded(o.size,n))}return n}function Oe(t,n){const o=t[fe];if(o&&o.has(n)){const c=o.size-1;c?o.delete(n):t[fe]=null,t.observerRemoved&&t.observerRemoved(c,n)}}var Tr=(t,n,o)=>Object.defineProperty(t,n,{value:o,writable:!0,configurable:!0}),Qe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ls=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Io=new RegExp(`(${Qe.source})(%|[a-z]+)`,"i"),us=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,un=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Ar=t=>{const[n,o]=fs(t);if(!n||Jn())return t;const c=window.getComputedStyle(document.documentElement).getPropertyValue(n);if(c)return c.trim();if(o&&o.startsWith("--")){const m=window.getComputedStyle(document.documentElement).getPropertyValue(o);return m||t}else{if(o&&un.test(o))return Ar(o);if(o)return o}return t},fs=t=>{const n=un.exec(t);if(!n)return[,];const[,o,c]=n;return[o,c]},xn,ps=(t,n,o,c,m)=>`rgba(${Math.round(n)}, ${Math.round(o)}, ${Math.round(c)}, ${m})`,Mr=t=>{xn||(xn=Jt?new RegExp(`(${Object.keys(Jt).join("|")})(?!\\w)`,"g"):/^\b$/);const n=t.output.map(k=>Mt(k).replace(un,Ar).replace(ls,Co).replace(xn,Co)),o=n.map(k=>k.match(Qe).map(Number)),m=o[0].map((k,j)=>o.map(C=>{if(!(j in C))throw Error('The arity of each "output" value must be equal');return C[j]})).map(k=>Pe({...t,output:k}));return k=>{var F;const j=!Io.test(n[0])&&((F=n.find(R=>Io.test(R)))==null?void 0:F.replace(Qe,""));let C=0;return n[0].replace(Qe,()=>`${m[C++](k)}${j||""}`).replace(us,ps)}},eo="react-spring: ",Dr=t=>{const n=t;let o=!1;if(typeof n!="function")throw new TypeError(`${eo}once requires a function parameter`);return(...c)=>{o||(n(...c),o=!0)}},hs=Dr(console.warn);function ms(){hs(`${eo}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var gs=Dr(console.warn);function vs(){gs(`${eo}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function fn(t){return tt.str(t)&&(t[0]=="#"||/\d/.test(t)||!Jn()&&un.test(t)||t in(Jt||{}))}var re=Jn()?et.useEffect:et.useLayoutEffect,bs=()=>{const t=et.useRef(!1);return re(()=>(t.current=!0,()=>{t.current=!1}),[]),t};function no(){const t=et.useState()[1],n=bs();return()=>{n.current&&t(Math.random())}}function ys(t,n){const[o]=et.useState(()=>({inputs:n,result:t()})),c=et.useRef(),m=c.current;let k=m;return k?n&&k.inputs&&ks(n,k.inputs)||(k={inputs:n,result:t()}):k=o,et.useEffect(()=>{c.current=k,m==o&&(o.inputs=o.result=void 0)},[k]),k.result}function ks(t,n){if(t.length!==n.length)return!1;for(let o=0;o<t.length;o++)if(t[o]!==n[o])return!1;return!0}var oo=t=>et.useEffect(t,xs),xs=[];function On(t){const n=et.useRef();return et.useEffect(()=>{n.current=t}),n.current}var Te=Symbol.for("Animated:node"),ws=t=>!!t&&t[Te]===t,Kt=t=>t&&t[Te],ro=(t,n)=>Ha(t,Te,n),pn=t=>t&&t[Te]&&t[Te].getPayload(),_r=class{constructor(){ro(this,this)}getPayload(){return this.payload||[]}},Ke=class extends _r{constructor(t){super(),this._value=t,this.done=!0,this.durationProgress=0,tt.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new Ke(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,n){return tt.num(t)&&(this.lastPosition=t,n&&(t=Math.round(t/n)*n,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,tt.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Ae=class extends Ke{constructor(t){super(0),this._string=null,this._toString=Pe({output:[t,t]})}static create(t){return new Ae(t)}getValue(){const t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(tt.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Pe({output:[this.getValue(),t]})),this._value=0,super.reset()}},tn={dependencies:null},hn=class extends _r{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const n={};return Ut(this.source,(o,c)=>{ws(o)?n[c]=o.getValue(t):Rt(o)?n[c]=Mt(o):t||(n[c]=o)}),n}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&<(this.payload,t=>t.reset())}_makePayload(t){if(t){const n=new Set;return Ut(t,this._addToPayload,n),Array.from(n)}}_addToPayload(t){tn.dependencies&&Rt(t)&&tn.dependencies.add(t);const n=pn(t);n&<(n,o=>this.add(o))}},Rr=class extends hn{constructor(t){super(t)}static create(t){return new Rr(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const n=this.getPayload();return t.length==n.length?n.map((o,c)=>o.setValue(t[c])).some(Boolean):(super.setValue(t.map(js)),!0)}};function js(t){return(fn(t)?Ae:Ke).create(t)}function Tn(t){const n=Kt(t);return n?n.constructor:tt.arr(t)?Rr:fn(t)?Ae:Ke}var Eo=(t,n)=>{const o=!tt.fun(t)||t.prototype&&t.prototype.isReactComponent;return et.forwardRef((c,m)=>{const k=et.useRef(null),j=o&&et.useCallback(e=>{k.current=Ps(m,e)},[m]),[C,F]=Cs(c,n),R=no(),D=()=>{const e=k.current;if(o&&!e)return;(e?n.applyAnimatedValues(e,C.getValue(!0)):!1)===!1&&R()},Y=new Ss(D,F),s=et.useRef();re(()=>(s.current=Y,lt(F,e=>me(e,Y)),()=>{s.current&&(lt(s.current.deps,e=>Oe(e,s.current)),ft.cancel(s.current.update))})),et.useEffect(D,[]),oo(()=>()=>{const e=s.current;lt(e.deps,r=>Oe(r,e))});const g=n.getComponentProps(C.getValue());return de.createElement(t,{...g,ref:j})})},Ss=class{constructor(t,n){this.update=t,this.deps=n}eventObserved(t){t.type=="change"&&ft.write(this.update)}};function Cs(t,n){const o=new Set;return tn.dependencies=o,t.style&&(t={...t,style:n.createAnimatedStyle(t.style)}),t=new hn(t),tn.dependencies=null,[t,o]}function Ps(t,n){return t&&(tt.fun(t)?t(n):t.current=n),n}var Oo=Symbol.for("AnimatedComponent"),Is=(t,{applyAnimatedValues:n=()=>!1,createAnimatedStyle:o=m=>new hn(m),getComponentProps:c=m=>m}={})=>{const m={applyAnimatedValues:n,createAnimatedStyle:o,getComponentProps:c},k=j=>{const C=To(j)||"Anonymous";return tt.str(j)?j=k[j]||(k[j]=Eo(j,m)):j=j[Oo]||(j[Oo]=Eo(j,m)),j.displayName=`Animated(${C})`,j};return Ut(t,(j,C)=>{tt.arr(t)&&(C=To(j)),k[C]=k(j)}),{animated:k}},To=t=>tt.str(t)?t:t&&tt.str(t.displayName)?t.displayName:tt.fun(t)&&t.name||null;function Dt(t,...n){return tt.fun(t)?t(...n):t}var je=(t,n)=>t===!0||!!(n&&t&&(tt.fun(t)?t(n):Tt(t).includes(n))),Br=(t,n)=>tt.obj(t)?n&&t[n]:t,Nr=(t,n)=>t.default===!0?t[n]:t.default?t.default[n]:void 0,Es=t=>t,mn=(t,n=Es)=>{let o=Os;t.default&&t.default!==!0&&(t=t.default,o=Object.keys(t));const c={};for(const m of o){const k=n(t[m],m);tt.und(k)||(c[m]=k)}return c},Os=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Ts={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function As(t){const n={};let o=0;if(Ut(t,(c,m)=>{Ts[m]||(n[m]=c,o++)}),o)return n}function io(t){const n=As(t);if(n){const o={to:n};return Ut(t,(c,m)=>m in n||(o[m]=c)),o}return{...t}}function Me(t){return t=Mt(t),tt.arr(t)?t.map(Me):fn(t)?Vt.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function $r(t){for(const n in t)return!0;return!1}function An(t){return tt.fun(t)||tt.arr(t)&&tt.obj(t[0])}function Mn(t,n){var o;(o=t.ref)==null||o.delete(t),n==null||n.delete(t)}function Lr(t,n){var o;n&&t.ref!==n&&((o=t.ref)==null||o.delete(t),n.add(t),t.ref=n)}var oe={default:{tension:170,friction:26},gentle:{tension:120,friction:14},stiff:{tension:210,friction:20},slow:{tension:280,friction:60}},Dn={...oe.default,mass:1,damping:1,easing:ss.linear,clamp:!1},Ms=class{constructor(){this.velocity=0,Object.assign(this,Dn)}};function Ds(t,n,o){o&&(o={...o},Ao(o,n),n={...o,...n}),Ao(t,n),Object.assign(t,n);for(const j in Dn)t[j]==null&&(t[j]=Dn[j]);let{frequency:c,damping:m}=t;const{mass:k}=t;return tt.und(c)||(c<.01&&(c=.01),m<0&&(m=0),t.tension=Math.pow(2*Math.PI/c,2)*k,t.friction=4*Math.PI*m*k/c),t}function Ao(t,n){if(!tt.und(n.decay))t.duration=void 0;else{const o=!tt.und(n.tension)||!tt.und(n.friction);(o||!tt.und(n.frequency)||!tt.und(n.damping)||!tt.und(n.mass))&&(t.duration=void 0,t.decay=void 0),o&&(t.frequency=void 0)}}var Mo=[],_s=class{constructor(){this.changed=!1,this.values=Mo,this.toValues=null,this.fromValues=Mo,this.config=new Ms,this.immediate=!1}};function zr(t,{key:n,props:o,defaultProps:c,state:m,actions:k}){return new Promise((j,C)=>{let F,R,D=je(o.cancel??(c==null?void 0:c.cancel),n);if(D)g();else{tt.und(o.pause)||(m.paused=je(o.pause,n));let e=c==null?void 0:c.pause;e!==!0&&(e=m.paused||je(e,n)),F=Dt(o.delay||0,n),e?(m.resumeQueue.add(s),k.pause()):(k.resume(),s())}function Y(){m.resumeQueue.add(s),m.timeouts.delete(R),R.cancel(),F=R.time-ft.now()}function s(){F>0&&!Vt.skipAnimation?(m.delayed=!0,R=ft.setTimeout(g,F),m.pauseQueue.add(Y),m.timeouts.add(R)):g()}function g(){m.delayed&&(m.delayed=!1),m.pauseQueue.delete(Y),m.timeouts.delete(R),t<=(m.cancelId||0)&&(D=!0);try{k.start({...o,callId:t,cancel:D},j)}catch(e){C(e)}}})}var ao=(t,n)=>n.length==1?n[0]:n.some(o=>o.cancelled)?ue(t.get()):n.every(o=>o.noop)?Fr(t.get()):zt(t.get(),n.every(o=>o.finished)),Fr=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),zt=(t,n,o=!1)=>({value:t,finished:n,cancelled:o}),ue=t=>({value:t,cancelled:!0,finished:!1});function Vr(t,n,o,c){const{callId:m,parentId:k,onRest:j}=n,{asyncTo:C,promise:F}=o;return!k&&t===C&&!n.reset?F:o.promise=(async()=>{o.asyncId=m,o.asyncTo=t;const R=mn(n,(a,i)=>i==="onRest"?void 0:a);let D,Y;const s=new Promise((a,i)=>(D=a,Y=i)),g=a=>{const i=m<=(o.cancelId||0)&&ue(c)||m!==o.asyncId&&zt(c,!1);if(i)throw a.result=i,Y(a),a},e=(a,i)=>{const d=new Do,u=new _o;return(async()=>{if(Vt.skipAnimation)throw De(o),u.result=zt(c,!1),Y(u),u;g(d);const f=tt.obj(a)?{...a}:{...i,to:a};f.parentId=m,Ut(R,(b,y)=>{tt.und(f[y])&&(f[y]=b)});const p=await c.start(f);return g(d),o.paused&&await new Promise(b=>{o.resumeQueue.add(b)}),p})()};let r;if(Vt.skipAnimation)return De(o),zt(c,!1);try{let a;tt.arr(t)?a=(async i=>{for(const d of i)await e(d)})(t):a=Promise.resolve(t(e,c.stop.bind(c))),await Promise.all([a.then(D),s]),r=zt(c.get(),!0,!1)}catch(a){if(a instanceof Do)r=a.result;else if(a instanceof _o)r=a.result;else throw a}finally{m==o.asyncId&&(o.asyncId=k,o.asyncTo=k?C:void 0,o.promise=k?F:void 0)}return tt.fun(j)&&ft.batchedUpdates(()=>{j(r,c,c.item)}),r})()}function De(t,n){xe(t.timeouts,o=>o.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,n&&(t.cancelId=n)}var Do=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},_o=class extends Error{constructor(){super("SkipAnimationSignal")}},_n=t=>t instanceof so,Rs=1,so=class extends Or{constructor(){super(...arguments),this.id=Rs++,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=Kt(this);return t&&t.getValue()}to(...t){return Vt.to(this,t)}interpolate(...t){return ms(),Vt.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,n=!1){Ee(this,{type:"change",parent:this,value:t,idle:n})}_onPriorityChange(t){this.idle||dn.sort(this),Ee(this,{type:"priority",parent:this,priority:t})}},ae=Symbol.for("SpringPhase"),Kr=1,Rn=2,Bn=4,wn=t=>(t[ae]&Kr)>0,Qt=t=>(t[ae]&Rn)>0,ve=t=>(t[ae]&Bn)>0,Ro=(t,n)=>n?t[ae]|=Rn|Kr:t[ae]&=~Rn,Bo=(t,n)=>n?t[ae]|=Bn:t[ae]&=~Bn,Bs=class extends so{constructor(t,n){if(super(),this.animation=new _s,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!tt.und(t)||!tt.und(n)){const o=tt.obj(t)?{...t}:{...n,from:t};tt.und(o.default)&&(o.default=!0),this.start(o)}}get idle(){return!(Qt(this)||this._state.asyncTo)||ve(this)}get goal(){return Mt(this.animation.to)}get velocity(){const t=Kt(this);return t instanceof Ke?t.lastVelocity||0:t.getPayload().map(n=>n.lastVelocity||0)}get hasAnimated(){return wn(this)}get isAnimating(){return Qt(this)}get isPaused(){return ve(this)}get isDelayed(){return this._state.delayed}advance(t){let n=!0,o=!1;const c=this.animation;let{toValues:m}=c;const{config:k}=c,j=pn(c.to);!j&&Rt(c.to)&&(m=Tt(Mt(c.to))),c.values.forEach((R,D)=>{if(R.done)return;const Y=R.constructor==Ae?1:j?j[D].lastPosition:m[D];let s=c.immediate,g=Y;if(!s){if(g=R.lastPosition,k.tension<=0){R.done=!0;return}let e=R.elapsedTime+=t;const r=c.fromValues[D],a=R.v0!=null?R.v0:R.v0=tt.arr(k.velocity)?k.velocity[D]:k.velocity;let i;const d=k.precision||(r==Y?.005:Math.min(1,Math.abs(Y-r)*.001));if(tt.und(k.duration))if(k.decay){const u=k.decay===!0?.998:k.decay,f=Math.exp(-(1-u)*e);g=r+a/(1-u)*(1-f),s=Math.abs(R.lastPosition-g)<=d,i=a*f}else{i=R.lastVelocity==null?a:R.lastVelocity;const u=k.restVelocity||d/10,f=k.clamp?0:k.bounce,p=!tt.und(f),b=r==Y?R.v0>0:r<Y;let y,P=!1;const S=1,E=Math.ceil(t/S);for(let T=0;T<E&&(y=Math.abs(i)>u,!(!y&&(s=Math.abs(Y-g)<=d,s)));++T){p&&(P=g==Y||g>Y==b,P&&(i=-i*f,g=Y));const $=-k.tension*1e-6*(g-Y),N=-k.friction*.001*i,A=($+N)/k.mass;i=i+A*S,g=g+i*S}}else{let u=1;k.duration>0&&(this._memoizedDuration!==k.duration&&(this._memoizedDuration=k.duration,R.durationProgress>0&&(R.elapsedTime=k.duration*R.durationProgress,e=R.elapsedTime+=t)),u=(k.progress||0)+e/this._memoizedDuration,u=u>1?1:u<0?0:u,R.durationProgress=u),g=r+k.easing(u)*(Y-r),i=(g-R.lastPosition)/t,s=u==1}R.lastVelocity=i,Number.isNaN(g)&&(console.warn("Got NaN while animating:",this),s=!0)}j&&!j[D].done&&(s=!1),s?R.done=!0:n=!1,R.setValue(g,k.round)&&(o=!0)});const C=Kt(this),F=C.getValue();if(n){const R=Mt(c.to);(F!==R||o)&&!k.decay?(C.setValue(R),this._onChange(R)):o&&k.decay&&this._onChange(F),this._stop()}else o&&this._onChange(F)}set(t){return ft.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Qt(this)){const{to:t,config:n}=this.animation;ft.batchedUpdates(()=>{this._onStart(),n.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,n){let o;return tt.und(t)?(o=this.queue||[],this.queue=[]):o=[tt.obj(t)?t:{...n,to:t}],Promise.all(o.map(c=>this._update(c))).then(c=>ao(this,c))}stop(t){const{to:n}=this.animation;return this._focus(this.get()),De(this._state,t&&this._lastCallId),ft.batchedUpdates(()=>this._stop(n,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const n=this.key||"";let{to:o,from:c}=t;o=tt.obj(o)?o[n]:o,(o==null||An(o))&&(o=void 0),c=tt.obj(c)?c[n]:c,c==null&&(c=void 0);const m={to:o,from:c};return wn(this)||(t.reverse&&([o,c]=[c,o]),c=Mt(c),tt.und(c)?Kt(this)||this._set(o):this._set(c)),m}_update({...t},n){const{key:o,defaultProps:c}=this;t.default&&Object.assign(c,mn(t,(j,C)=>/^on/.test(C)?Br(j,o):j)),$o(this,t,"onProps"),ye(this,"onProps",t,this);const m=this._prepareNode(t);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const k=this._state;return zr(++this._lastCallId,{key:o,props:t,defaultProps:c,state:k,actions:{pause:()=>{ve(this)||(Bo(this,!0),ke(k.pauseQueue),ye(this,"onPause",zt(this,be(this,this.animation.to)),this))},resume:()=>{ve(this)&&(Bo(this,!1),Qt(this)&&this._resume(),ke(k.resumeQueue),ye(this,"onResume",zt(this,be(this,this.animation.to)),this))},start:this._merge.bind(this,m)}}).then(j=>{if(t.loop&&j.finished&&!(n&&j.noop)){const C=Ur(t);if(C)return this._update(C,!0)}return j})}_merge(t,n,o){if(n.cancel)return this.stop(!0),o(ue(this));const c=!tt.und(t.to),m=!tt.und(t.from);if(c||m)if(n.callId>this._lastToId)this._lastToId=n.callId;else return o(ue(this));const{key:k,defaultProps:j,animation:C}=this,{to:F,from:R}=C;let{to:D=F,from:Y=R}=t;m&&!c&&(!n.default||tt.und(D))&&(D=Y),n.reverse&&([D,Y]=[Y,D]);const s=!qt(Y,R);s&&(C.from=Y),Y=Mt(Y);const g=!qt(D,F);g&&this._focus(D);const e=An(n.to),{config:r}=C,{decay:a,velocity:i}=r;(c||m)&&(r.velocity=0),n.config&&!e&&Ds(r,Dt(n.config,k),n.config!==j.config?Dt(j.config,k):void 0);let d=Kt(this);if(!d||tt.und(D))return o(zt(this,!0));const u=tt.und(n.reset)?m&&!n.default:!tt.und(Y)&&je(n.reset,k),f=u?Y:this.get(),p=Me(D),b=tt.num(p)||tt.arr(p)||fn(p),y=!e&&(!b||je(j.immediate||n.immediate,k));if(g){const T=Tn(D);if(T!==d.constructor)if(y)d=this._set(p);else throw Error(`Cannot animate between ${d.constructor.name} and ${T.name}, as the "to" prop suggests`)}const P=d.constructor;let S=Rt(D),E=!1;if(!S){const T=u||!wn(this)&&s;(g||T)&&(E=qt(Me(f),p),S=!E),(!qt(C.immediate,y)&&!y||!qt(r.decay,a)||!qt(r.velocity,i))&&(S=!0)}if(E&&Qt(this)&&(C.changed&&!u?S=!0:S||this._stop(F)),!e&&((S||Rt(F))&&(C.values=d.getPayload(),C.toValues=Rt(D)?null:P==Ae?[1]:Tt(p)),C.immediate!=y&&(C.immediate=y,!y&&!u&&this._set(F)),S)){const{onRest:T}=C;lt($s,N=>$o(this,n,N));const $=zt(this,be(this,F));ke(this._pendingCalls,$),this._pendingCalls.add(o),C.changed&&ft.batchedUpdates(()=>{var N;C.changed=!u,T==null||T($,this),u?Dt(j.onRest,$):(N=C.onStart)==null||N.call(C,$,this)})}u&&this._set(f),e?o(Vr(n.to,n,this._state,this)):S?this._start():Qt(this)&&!g?this._pendingCalls.add(o):o(Fr(f))}_focus(t){const n=this.animation;t!==n.to&&(Po(this)&&this._detach(),n.to=t,Po(this)&&this._attach())}_attach(){let t=0;const{to:n}=this.animation;Rt(n)&&(me(n,this),_n(n)&&(t=n.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;Rt(t)&&Oe(t,this)}_set(t,n=!0){const o=Mt(t);if(!tt.und(o)){const c=Kt(this);if(!c||!qt(o,c.getValue())){const m=Tn(o);!c||c.constructor!=m?ro(this,m.create(o)):c.setValue(o),c&&ft.batchedUpdates(()=>{this._onChange(o,n)})}}return Kt(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,ye(this,"onStart",zt(this,be(this,t.to)),this))}_onChange(t,n){n||(this._onStart(),Dt(this.animation.onChange,t,this)),Dt(this.defaultProps.onChange,t,this),super._onChange(t,n)}_start(){const t=this.animation;Kt(this).reset(Mt(t.to)),t.immediate||(t.fromValues=t.values.map(n=>n.lastPosition)),Qt(this)||(Ro(this,!0),ve(this)||this._resume())}_resume(){Vt.skipAnimation?this.finish():dn.start(this)}_stop(t,n){if(Qt(this)){Ro(this,!1);const o=this.animation;lt(o.values,m=>{m.done=!0}),o.toValues&&(o.onChange=o.onPause=o.onResume=void 0),Ee(this,{type:"idle",parent:this});const c=n?ue(this.get()):zt(this.get(),be(this,t??o.to));ke(this._pendingCalls,c),o.changed&&(o.changed=!1,ye(this,"onRest",c,this))}}};function be(t,n){const o=Me(n),c=Me(t.get());return qt(c,o)}function Ur(t,n=t.loop,o=t.to){const c=Dt(n);if(c){const m=c!==!0&&io(c),k=(m||t).reverse,j=!m||m.reset;return _e({...t,loop:n,default:!1,pause:void 0,to:!k||An(o)?o:void 0,from:j?t.from:void 0,reset:j,...m})}}function _e(t){const{to:n,from:o}=t=io(t),c=new Set;return tt.obj(n)&&No(n,c),tt.obj(o)&&No(o,c),t.keys=c.size?Array.from(c):null,t}function Ns(t){const n=_e(t);return tt.und(n.default)&&(n.default=mn(n)),n}function No(t,n){Ut(t,(o,c)=>o!=null&&n.add(c))}var $s=["onStart","onRest","onChange","onPause","onResume"];function $o(t,n,o){t.animation[o]=n[o]!==Nr(n,o)?Br(n[o],t.key):void 0}function ye(t,n,...o){var c,m,k,j;(m=(c=t.animation)[n])==null||m.call(c,...o),(j=(k=t.defaultProps)[n])==null||j.call(k,...o)}var Ls=["onStart","onChange","onRest"],zs=1,Hr=class{constructor(t,n){this.id=zs++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((n,o)=>t[o]=n.get()),t}set(t){for(const n in t){const o=t[n];tt.und(o)||this.springs[n].set(o)}}update(t){return t&&this.queue.push(_e(t)),this}start(t){let{queue:n}=this;return t?n=Tt(t).map(_e):this.queue=[],this._flush?this._flush(this,n):(Yr(this,n),Nn(this,n))}stop(t,n){if(t!==!!t&&(n=t),n){const o=this.springs;lt(Tt(n),c=>o[c].stop(!!t))}else De(this._state,this._lastAsyncId),this.each(o=>o.stop(!!t));return this}pause(t){if(tt.und(t))this.start({pause:!0});else{const n=this.springs;lt(Tt(t),o=>n[o].pause())}return this}resume(t){if(tt.und(t))this.start({pause:!1});else{const n=this.springs;lt(Tt(t),o=>n[o].resume())}return this}each(t){Ut(this.springs,t)}_onFrame(){const{onStart:t,onChange:n,onRest:o}=this._events,c=this._active.size>0,m=this._changed.size>0;(c&&!this._started||m&&!this._started)&&(this._started=!0,xe(t,([C,F])=>{F.value=this.get(),C(F,this,this._item)}));const k=!c&&this._started,j=m||k&&o.size?this.get():null;m&&n.size&&xe(n,([C,F])=>{F.value=j,C(F,this,this._item)}),k&&(this._started=!1,xe(o,([C,F])=>{F.value=j,C(F,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;ft.onFrame(this._onFrame)}};function Nn(t,n){return Promise.all(n.map(o=>qr(t,o))).then(o=>ao(t,o))}async function qr(t,n,o){const{keys:c,to:m,from:k,loop:j,onRest:C,onResolve:F}=n,R=tt.obj(n.default)&&n.default;j&&(n.loop=!1),m===!1&&(n.to=null),k===!1&&(n.from=null);const D=tt.arr(m)||tt.fun(m)?m:void 0;D?(n.to=void 0,n.onRest=void 0,R&&(R.onRest=void 0)):lt(Ls,r=>{const a=n[r];if(tt.fun(a)){const i=t._events[r];n[r]=({finished:d,cancelled:u})=>{const f=i.get(a);f?(d||(f.finished=!1),u&&(f.cancelled=!0)):i.set(a,{value:null,finished:d||!1,cancelled:u||!1})},R&&(R[r]=n[r])}});const Y=t._state;n.pause===!Y.paused?(Y.paused=n.pause,ke(n.pause?Y.pauseQueue:Y.resumeQueue)):Y.paused&&(n.pause=!0);const s=(c||Object.keys(t.springs)).map(r=>t.springs[r].start(n)),g=n.cancel===!0||Nr(n,"cancel")===!0;(D||g&&Y.asyncId)&&s.push(zr(++t._lastAsyncId,{props:n,state:Y,actions:{pause:In,resume:In,start(r,a){g?(De(Y,t._lastAsyncId),a(ue(t))):(r.onRest=C,a(Vr(D,r,Y,t)))}}})),Y.paused&&await new Promise(r=>{Y.resumeQueue.add(r)});const e=ao(t,await Promise.all(s));if(j&&e.finished&&!(o&&e.noop)){const r=Ur(n,j,m);if(r)return Yr(t,[r]),qr(t,r,!0)}return F&&ft.batchedUpdates(()=>F(e,t,t.item)),e}function $n(t,n){const o={...t.springs};return n&<(Tt(n),c=>{tt.und(c.keys)&&(c=_e(c)),tt.obj(c.to)||(c={...c,to:void 0}),Qr(o,c,m=>Wr(m))}),Gr(t,o),o}function Gr(t,n){Ut(n,(o,c)=>{t.springs[c]||(t.springs[c]=o,me(o,t))})}function Wr(t,n){const o=new Bs;return o.key=t,n&&me(o,n),o}function Qr(t,n,o){n.keys&<(n.keys,c=>{(t[c]||(t[c]=o(c)))._prepareNode(n)})}function Yr(t,n){lt(n,o=>{Qr(t.springs,o,c=>Wr(c,t))})}var Ue=({children:t,...n})=>{const o=et.useContext(en),c=n.pause||!!o.pause,m=n.immediate||!!o.immediate;n=ys(()=>({pause:c,immediate:m}),[c,m]);const{Provider:k}=en;return de.createElement(k,{value:n},t)},en=Fs(Ue,{});Ue.Provider=en.Provider;Ue.Consumer=en.Consumer;function Fs(t,n){return Object.assign(t,de.createContext(n)),t.Provider._context=t,t.Consumer._context=t,t}var Xr=()=>{const t=[],n=function(c){vs();const m=[];return lt(t,(k,j)=>{if(tt.und(c))m.push(k.start());else{const C=o(c,k,j);C&&m.push(k.start(C))}}),m};n.current=t,n.add=function(c){t.includes(c)||t.push(c)},n.delete=function(c){const m=t.indexOf(c);~m&&t.splice(m,1)},n.pause=function(){return lt(t,c=>c.pause(...arguments)),this},n.resume=function(){return lt(t,c=>c.resume(...arguments)),this},n.set=function(c){lt(t,(m,k)=>{const j=tt.fun(c)?c(k,m):c;j&&m.set(j)})},n.start=function(c){const m=[];return lt(t,(k,j)=>{if(tt.und(c))m.push(k.start());else{const C=this._getProps(c,k,j);C&&m.push(k.start(C))}}),m},n.stop=function(){return lt(t,c=>c.stop(...arguments)),this},n.update=function(c){return lt(t,(m,k)=>m.update(this._getProps(c,m,k))),this};const o=function(c,m,k){return tt.fun(c)?c(k,m):c};return n._getProps=o,n};function Vs(t,n,o){const c=tt.fun(n)&&n;c&&!o&&(o=[]);const m=et.useMemo(()=>c||arguments.length==3?Xr():void 0,[]),k=et.useRef(0),j=no(),C=et.useMemo(()=>({ctrls:[],queue:[],flush(i,d){const u=$n(i,d);return k.current>0&&!C.queue.length&&!Object.keys(u).some(p=>!i.springs[p])?Nn(i,d):new Promise(p=>{Gr(i,u),C.queue.push(()=>{p(Nn(i,d))}),j()})}}),[]),F=et.useRef([...C.ctrls]),R=[],D=On(t)||0;et.useMemo(()=>{lt(F.current.slice(t,D),i=>{Mn(i,m),i.stop(!0)}),F.current.length=t,Y(D,t)},[t]),et.useMemo(()=>{Y(0,Math.min(D,t))},o);function Y(i,d){for(let u=i;u<d;u++){const f=F.current[u]||(F.current[u]=new Hr(null,C.flush)),p=c?c(u,f):n[u];p&&(R[u]=Ns(p))}}const s=F.current.map((i,d)=>$n(i,R[d])),g=et.useContext(Ue),e=On(g),r=g!==e&&$r(g);re(()=>{k.current++,C.ctrls=F.current;const{queue:i}=C;i.length&&(C.queue=[],lt(i,d=>d())),lt(F.current,(d,u)=>{m==null||m.add(d),r&&d.start({default:g});const f=R[u];f&&(Lr(d,f.ref),d.ref?d.queue.push(f):d.start(f))})}),oo(()=>()=>{lt(C.ctrls,i=>i.stop(!0))});const a=s.map(i=>({...i}));return m?[a,m]:a}function Jr(t,n){const o=tt.fun(t),[[c],m]=Vs(1,o?t:[t],o?n||[]:n);return o||arguments.length==2?[c,m]:c}function co(t,n,o){const c=tt.fun(n)&&n,{reset:m,sort:k,trail:j=0,expires:C=!0,exitBeforeEnter:F=!1,onDestroyed:R,ref:D,config:Y}=c?c():n,s=et.useMemo(()=>c||arguments.length==3?Xr():void 0,[]),g=Tt(t),e=[],r=et.useRef(null),a=m?null:r.current;re(()=>{r.current=e}),oo(()=>(lt(e,A=>{s==null||s.add(A.ctrl),A.ctrl.ref=s}),()=>{lt(r.current,A=>{A.expired&&clearTimeout(A.expirationId),Mn(A.ctrl,s),A.ctrl.stop(!0)})}));const i=Us(g,c?c():n,a),d=m&&r.current||[];re(()=>lt(d,({ctrl:A,item:I,key:V})=>{Mn(A,s),Dt(R,I,V)}));const u=[];if(a&<(a,(A,I)=>{A.expired?(clearTimeout(A.expirationId),d.push(A)):(I=u[I]=i.indexOf(A.key),~I&&(e[I]=A))}),lt(g,(A,I)=>{e[I]||(e[I]={key:i[I],item:A,phase:"mount",ctrl:new Hr},e[I].ctrl.item=A)}),u.length){let A=-1;const{leave:I}=c?c():n;lt(u,(V,L)=>{const X=a[L];~V?(A=e.indexOf(X),e[A]={...X,item:g[V]}):I&&e.splice(++A,0,X)})}tt.fun(k)&&e.sort((A,I)=>k(A.item,I.item));let f=-j;const p=no(),b=mn(n),y=new Map,P=et.useRef(new Map),S=et.useRef(!1);lt(e,(A,I)=>{const V=A.key,L=A.phase,X=c?c():n;let G,J;const Q=Dt(X.delay||0,V);if(L=="mount")G=X.enter,J="enter";else{const it=i.indexOf(V)<0;if(L!="leave")if(it)G=X.leave,J="leave";else if(G=X.update)J="update";else return;else if(!it)G=X.enter,J="enter";else return}if(G=Dt(G,A.item,I),G=tt.obj(G)?io(G):{to:G},!G.config){const it=Y||b.config;G.config=Dt(it,A.item,I,J)}f+=j;const rt={...b,delay:Q+f,ref:D,immediate:X.immediate,reset:!1,...G};if(J=="enter"&&tt.und(rt.from)){const it=c?c():n,B=tt.und(it.initial)||a?it.from:it.initial;rt.from=Dt(B,A.item,I)}const{onResolve:st}=rt;rt.onResolve=it=>{Dt(st,it);const B=r.current,O=B.find(z=>z.key===V);if(O&&!(it.cancelled&&O.phase!="update")&&O.ctrl.idle){const z=B.every(l=>l.ctrl.idle);if(O.phase=="leave"){const l=Dt(C,O.item);if(l!==!1){const v=l===!0?0:l;if(O.expired=!0,!z&&v>0){v<=2147483647&&(O.expirationId=setTimeout(p,v));return}}}z&&B.some(l=>l.expired)&&(P.current.delete(O),F&&(S.current=!0),p())}};const ct=$n(A.ctrl,rt);J==="leave"&&F?P.current.set(A,{phase:J,springs:ct,payload:rt}):y.set(A,{phase:J,springs:ct,payload:rt})});const E=et.useContext(Ue),T=On(E),$=E!==T&&$r(E);re(()=>{$&<(e,A=>{A.ctrl.start({default:E})})},[E]),lt(y,(A,I)=>{if(P.current.size){const V=e.findIndex(L=>L.key===I.key);e.splice(V,1)}}),re(()=>{lt(P.current.size?P.current:y,({phase:A,payload:I},V)=>{const{ctrl:L}=V;V.phase=A,s==null||s.add(L),$&&A=="enter"&&L.start({default:E}),I&&(Lr(L,I.ref),(L.ref||s)&&!S.current?L.update(I):(L.start(I),S.current&&(S.current=!1)))})},m?void 0:o);const N=A=>de.createElement(de.Fragment,null,e.map((I,V)=>{const{springs:L}=y.get(I)||I.ctrl,X=A({...L},I.item,I,V);return X&&X.type?de.createElement(X.type,{...X.props,key:tt.str(I.key)||tt.num(I.key)?I.key:I.ctrl.id,ref:X.ref}):X}));return s?[N,s]:N}var Ks=1;function Us(t,{key:n,keys:o=n},c){if(o===null){const m=new Set;return t.map(k=>{const j=c&&c.find(C=>C.item===k&&C.phase!=="leave"&&!m.has(C));return j?(m.add(j),j.key):Ks++})}return tt.und(o)?t:tt.fun(o)?t.map(o):Tt(o)}var Hs=class extends so{constructor(t,n){super(),this.source=t,this.idle=!0,this._active=new Set,this.calc=Pe(...n);const o=this._get(),c=Tn(o);ro(this,c.create(o))}advance(t){const n=this._get(),o=this.get();qt(n,o)||(Kt(this).setValue(n),this._onChange(n,this.idle)),!this.idle&&Lo(this._active)&&jn(this)}_get(){const t=tt.arr(this.source)?this.source.map(Mt):Tt(Mt(this.source));return this.calc(...t)}_start(){this.idle&&!Lo(this._active)&&(this.idle=!1,lt(pn(this),t=>{t.done=!1}),Vt.skipAnimation?(ft.batchedUpdates(()=>this.advance()),jn(this)):dn.start(this))}_attach(){let t=1;lt(Tt(this.source),n=>{Rt(n)&&me(n,this),_n(n)&&(n.idle||this._active.add(n),t=Math.max(t,n.priority+1))}),this.priority=t,this._start()}_detach(){lt(Tt(this.source),t=>{Rt(t)&&Oe(t,this)}),this._active.clear(),jn(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=Tt(this.source).reduce((n,o)=>Math.max(n,(_n(o)?o.priority:0)+1),0))}};function qs(t){return t.idle!==!1}function Lo(t){return!t.size||Array.from(t).every(qs)}function jn(t){t.idle||(t.idle=!0,lt(pn(t),n=>{n.done=!0}),Ee(t,{type:"idle",parent:t}))}Vt.assign({createStringInterpolator:Mr,to:(t,n)=>new Hs(t,n)});var Zr=/^--/;function Gs(t,n){return n==null||typeof n=="boolean"||n===""?"":typeof n=="number"&&n!==0&&!Zr.test(t)&&!(Se.hasOwnProperty(t)&&Se[t])?n+"px":(""+n).trim()}var zo={};function Ws(t,n){if(!t.nodeType||!t.setAttribute)return!1;const o=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter",{className:c,style:m,children:k,scrollTop:j,scrollLeft:C,viewBox:F,...R}=n,D=Object.values(R),Y=Object.keys(R).map(s=>o||t.hasAttribute(s)?s:zo[s]||(zo[s]=s.replace(/([A-Z])/g,g=>"-"+g.toLowerCase())));k!==void 0&&(t.textContent=k);for(const s in m)if(m.hasOwnProperty(s)){const g=Gs(s,m[s]);Zr.test(s)?t.style.setProperty(s,g):t.style[s]=g}Y.forEach((s,g)=>{t.setAttribute(s,D[g])}),c!==void 0&&(t.className=c),j!==void 0&&(t.scrollTop=j),C!==void 0&&(t.scrollLeft=C),F!==void 0&&t.setAttribute("viewBox",F)}var Se={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qs=(t,n)=>t+n.charAt(0).toUpperCase()+n.substring(1),Ys=["Webkit","Ms","Moz","O"];Se=Object.keys(Se).reduce((t,n)=>(Ys.forEach(o=>t[Qs(o,n)]=t[n]),t),Se);var Xs=/^(matrix|translate|scale|rotate|skew)/,Js=/^(translate)/,Zs=/^(rotate|skew)/,Sn=(t,n)=>tt.num(t)&&t!==0?t+n:t,Ye=(t,n)=>tt.arr(t)?t.every(o=>Ye(o,n)):tt.num(t)?t===n:parseFloat(t)===n,tc=class extends hn{constructor({x:t,y:n,z:o,...c}){const m=[],k=[];(t||n||o)&&(m.push([t||0,n||0,o||0]),k.push(j=>[`translate3d(${j.map(C=>Sn(C,"px")).join(",")})`,Ye(j,0)])),Ut(c,(j,C)=>{if(C==="transform")m.push([j||""]),k.push(F=>[F,F===""]);else if(Xs.test(C)){if(delete c[C],tt.und(j))return;const F=Js.test(C)?"px":Zs.test(C)?"deg":"";m.push(Tt(j)),k.push(C==="rotate3d"?([R,D,Y,s])=>[`rotate3d(${R},${D},${Y},${Sn(s,F)})`,Ye(s,0)]:R=>[`${C}(${R.map(D=>Sn(D,F)).join(",")})`,Ye(R,C.startsWith("scale")?1:0)])}}),m.length&&(c.transform=new ec(m,k)),super(c)}},ec=class extends Or{constructor(t,n){super(),this.inputs=t,this.transforms=n,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let t="",n=!0;return lt(this.inputs,(o,c)=>{const m=Mt(o[0]),[k,j]=this.transforms[c](tt.arr(m)?m:o.map(Mt));t+=" "+k,n=n&&j}),n?"none":t}observerAdded(t){t==1&<(this.inputs,n=>lt(n,o=>Rt(o)&&me(o,this)))}observerRemoved(t){t==0&<(this.inputs,n=>lt(n,o=>Rt(o)&&Oe(o,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Ee(this,t)}},nc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];Vt.assign({batchedUpdates:Re.unstable_batchedUpdates,createStringInterpolator:Mr,colors:Qa});var oc=Is(nc,{applyAnimatedValues:Ws,createAnimatedStyle:t=>new tc(t),getComponentProps:({scrollTop:t,scrollLeft:n,...o})=>o}),He=oc.animated;const rc=M.div`
|
|
798
|
+
`,Zt=({CloseButton:t,closeButtonLabel:n,contain:o=!1,leftContent:s,onClose:m,onOpen:y,OpenButton:j,raiseCloseButton:C,showCloseButton:N,showOpenButton:R,size:D="small",subtitle:Y,title:c})=>{const g=t?p.jsx(t,{}):p.jsx(Gn,{fill:!0,label:n,size:D==="small"?"medium":D==="large"?"large":"medium"}),e=j?p.jsx(j,{onPointerDown:y}):p.jsx(xr,{onPointerDown:y});return p.jsxs(Ka,{contain:o,children:[p.jsx(wo,{children:R?e:s}),p.jsxs(Ha,{children:[c&&p.jsx(Un,{children:c}),Y&&p.jsx(lr,{children:Y})]}),p.jsx(wo,{style:{zIndex:C?1:"initial"},onPointerDown:N?m:void 0,children:N?g:void 0})]})};var Wn=Ve(),ft=t=>Fe(t,Wn),Qn=Ve();ft.write=t=>Fe(t,Qn);var cn=Ve();ft.onStart=t=>Fe(t,cn);var Yn=Ve();ft.onFrame=t=>Fe(t,Yn);var Xn=Ve();ft.onFinish=t=>Fe(t,Xn);var le=[];ft.setTimeout=(t,n)=>{const o=ft.now()+n,s=()=>{const y=le.findIndex(j=>j.cancel==s);~y&&le.splice(y,1),Xt-=~y?1:0},m={time:o,handler:t,cancel:s};return le.splice(wr(o),0,m),Xt+=1,jr(),m};var wr=t=>~(~le.findIndex(n=>n.time>t)||~le.length);ft.cancel=t=>{cn.delete(t),Yn.delete(t),Xn.delete(t),Wn.delete(t),Qn.delete(t)};ft.sync=t=>{In=!0,ft.batchedUpdates(t),In=!1};ft.throttle=t=>{let n;function o(){try{t(...n)}finally{n=null}}function s(...m){n=m,ft.onStart(o)}return s.handler=t,s.cancel=()=>{cn.delete(o),n=null},s};var Jn=typeof window<"u"?window.requestAnimationFrame:()=>{};ft.use=t=>Jn=t;ft.now=typeof performance<"u"?()=>performance.now():Date.now;ft.batchedUpdates=t=>t();ft.catch=console.error;ft.frameLoop="always";ft.advance=()=>{ft.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Cr()};var Yt=-1,Xt=0,In=!1;function Fe(t,n){In?(n.delete(t),t(0)):(n.add(t),jr())}function jr(){Yt<0&&(Yt=0,ft.frameLoop!=="demand"&&Jn(Sr))}function Ua(){Yt=-1}function Sr(){~Yt&&(Jn(Sr),ft.batchedUpdates(Cr))}function Cr(){const t=Yt;Yt=ft.now();const n=wr(Yt);if(n&&(Ir(le.splice(0,n),o=>o.handler()),Xt-=n),!Xt){Ua();return}cn.flush(),Wn.flush(t?Math.min(64,Yt-t):16.667),Yn.flush(),Qn.flush(),Xn.flush()}function Ve(){let t=new Set,n=t;return{add(o){Xt+=n==t&&!t.has(o)?1:0,t.add(o)},delete(o){return Xt-=n==t&&t.has(o)?1:0,t.delete(o)},flush(o){n.size&&(t=new Set,Xt-=n.size,Ir(n,s=>s(o)&&t.add(s)),Xt+=t.size,n=t)}}}function Ir(t,n){t.forEach(o=>{try{n(o)}catch(s){ft.catch(s)}})}var qa=Object.defineProperty,Ga=(t,n)=>{for(var o in n)qa(t,o,{get:n[o],enumerable:!0})},Vt={};Ga(Vt,{assign:()=>Qa,colors:()=>Jt,createStringInterpolator:()=>to,skipAnimation:()=>Er,to:()=>Pr,willAdvance:()=>eo});function Pn(){}var Wa=(t,n,o)=>Object.defineProperty(t,n,{value:o,writable:!0,configurable:!0}),et={arr:Array.isArray,obj:t=>!!t&&t.constructor.name==="Object",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0};function qt(t,n){if(et.arr(t)){if(!et.arr(n)||t.length!==n.length)return!1;for(let o=0;o<t.length;o++)if(t[o]!==n[o])return!1;return!0}return t===n}var lt=(t,n)=>t.forEach(n);function Ht(t,n,o){if(et.arr(t)){for(let s=0;s<t.length;s++)n.call(o,t[s],`${s}`);return}for(const s in t)t.hasOwnProperty(s)&&n.call(o,t[s],s)}var At=t=>et.und(t)?[]:et.arr(t)?t:[t];function ke(t,n){if(t.size){const o=Array.from(t);t.clear(),lt(o,n)}}var ye=(t,...n)=>ke(t,o=>o(...n)),Zn=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),to,Pr,Jt=null,Er=!1,eo=Pn,Qa=t=>{t.to&&(Pr=t.to),t.now&&(ft.now=t.now),t.colors!==void 0&&(Jt=t.colors),t.skipAnimation!=null&&(Er=t.skipAnimation),t.createStringInterpolator&&(to=t.createStringInterpolator),t.requestAnimationFrame&&ft.use(t.requestAnimationFrame),t.batchedUpdates&&(ft.batchedUpdates=t.batchedUpdates),t.willAdvance&&(eo=t.willAdvance),t.frameLoop&&(ft.frameLoop=t.frameLoop)},xe=new Set,Bt=[],yn=[],Je=0,dn={get idle(){return!xe.size&&!Bt.length},start(t){Je>t.priority?(xe.add(t),ft.onStart(Ya)):(Or(t),ft(En))},advance:En,sort(t){if(Je)ft.onFrame(()=>dn.sort(t));else{const n=Bt.indexOf(t);~n&&(Bt.splice(n,1),Tr(t))}},clear(){Bt=[],xe.clear()}};function Ya(){xe.forEach(Or),xe.clear(),ft(En)}function Or(t){Bt.includes(t)||Tr(t)}function Tr(t){Bt.splice(Xa(Bt,n=>n.priority>t.priority),0,t)}function En(t){const n=yn;for(let o=0;o<Bt.length;o++){const s=Bt[o];Je=s.priority,s.idle||(eo(s),s.advance(t),s.idle||n.push(s))}return Je=0,yn=Bt,yn.length=0,Bt=n,Bt.length>0}function Xa(t,n){const o=t.findIndex(n);return o<0?t.length:o}var Ja={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Ft="[-+]?\\d*\\.?\\d+",Ze=Ft+"%";function ln(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var Za=new RegExp("rgb"+ln(Ft,Ft,Ft)),ts=new RegExp("rgba"+ln(Ft,Ft,Ft,Ft)),es=new RegExp("hsl"+ln(Ft,Ze,Ze)),ns=new RegExp("hsla"+ln(Ft,Ze,Ze,Ft)),os=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rs=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,is=/^#([0-9a-fA-F]{6})$/,as=/^#([0-9a-fA-F]{8})$/;function ss(t){let n;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=is.exec(t))?parseInt(n[1]+"ff",16)>>>0:Jt&&Jt[t]!==void 0?Jt[t]:(n=Za.exec(t))?(ce(n[1])<<24|ce(n[2])<<16|ce(n[3])<<8|255)>>>0:(n=ts.exec(t))?(ce(n[1])<<24|ce(n[2])<<16|ce(n[3])<<8|Co(n[4]))>>>0:(n=os.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=as.exec(t))?parseInt(n[1],16)>>>0:(n=rs.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=es.exec(t))?(jo(So(n[1]),qe(n[2]),qe(n[3]))|255)>>>0:(n=ns.exec(t))?(jo(So(n[1]),qe(n[2]),qe(n[3]))|Co(n[4]))>>>0:null}function kn(t,n,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(n-t)*6*o:o<1/2?n:o<2/3?t+(n-t)*(2/3-o)*6:t}function jo(t,n,o){const s=o<.5?o*(1+n):o+n-o*n,m=2*o-s,y=kn(m,s,t+1/3),j=kn(m,s,t),C=kn(m,s,t-1/3);return Math.round(y*255)<<24|Math.round(j*255)<<16|Math.round(C*255)<<8}function ce(t){const n=parseInt(t,10);return n<0?0:n>255?255:n}function So(t){return(parseFloat(t)%360+360)%360/360}function Co(t){const n=parseFloat(t);return n<0?0:n>1?255:Math.round(n*255)}function qe(t){const n=parseFloat(t);return n<0?0:n>100?1:n/100}function Io(t){let n=ss(t);if(n===null)return t;n=n||0;const o=(n&4278190080)>>>24,s=(n&16711680)>>>16,m=(n&65280)>>>8,y=(n&255)/255;return`rgba(${o}, ${s}, ${m}, ${y})`}var Ce=(t,n,o)=>{if(et.fun(t))return t;if(et.arr(t))return Ce({range:t,output:n,extrapolate:o});if(et.str(t.output[0]))return to(t);const s=t,m=s.output,y=s.range||[0,1],j=s.extrapolateLeft||s.extrapolate||"extend",C=s.extrapolateRight||s.extrapolate||"extend",N=s.easing||(R=>R);return R=>{const D=ds(R,y);return cs(R,y[D],y[D+1],m[D],m[D+1],N,j,C,s.map)}};function cs(t,n,o,s,m,y,j,C,N){let R=N?N(t):t;if(R<n){if(j==="identity")return R;j==="clamp"&&(R=n)}if(R>o){if(C==="identity")return R;C==="clamp"&&(R=o)}return s===m?s:n===o?t<=n?s:m:(n===-1/0?R=-R:o===1/0?R=R-n:R=(R-n)/(o-n),R=y(R),s===-1/0?R=-R:m===1/0?R=R+s:R=R*(m-s)+s,R)}function ds(t,n){for(var o=1;o<n.length-1&&!(n[o]>=t);++o);return o-1}var ls={linear:t=>t},Ie=Symbol.for("FluidValue.get"),fe=Symbol.for("FluidValue.observers"),Rt=t=>!!(t&&t[Ie]),Mt=t=>t&&t[Ie]?t[Ie]():t,Po=t=>t[fe]||null;function us(t,n){t.eventObserved?t.eventObserved(n):t(n)}function Pe(t,n){const o=t[fe];o&&o.forEach(s=>{us(s,n)})}var Ar=class{constructor(t){if(!t&&!(t=this.get))throw Error("Unknown getter");fs(this,t)}},fs=(t,n)=>Mr(t,Ie,n);function he(t,n){if(t[Ie]){let o=t[fe];o||Mr(t,fe,o=new Set),o.has(n)||(o.add(n),t.observerAdded&&t.observerAdded(o.size,n))}return n}function Ee(t,n){const o=t[fe];if(o&&o.has(n)){const s=o.size-1;s?o.delete(n):t[fe]=null,t.observerRemoved&&t.observerRemoved(s,n)}}var Mr=(t,n,o)=>Object.defineProperty(t,n,{value:o,writable:!0,configurable:!0}),Qe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ps=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Eo=new RegExp(`(${Qe.source})(%|[a-z]+)`,"i"),hs=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,un=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Dr=t=>{const[n,o]=ms(t);if(!n||Zn())return t;const s=window.getComputedStyle(document.documentElement).getPropertyValue(n);if(s)return s.trim();if(o&&o.startsWith("--")){const m=window.getComputedStyle(document.documentElement).getPropertyValue(o);return m||t}else{if(o&&un.test(o))return Dr(o);if(o)return o}return t},ms=t=>{const n=un.exec(t);if(!n)return[,];const[,o,s]=n;return[o,s]},xn,gs=(t,n,o,s,m)=>`rgba(${Math.round(n)}, ${Math.round(o)}, ${Math.round(s)}, ${m})`,_r=t=>{xn||(xn=Jt?new RegExp(`(${Object.keys(Jt).join("|")})(?!\\w)`,"g"):/^\b$/);const n=t.output.map(y=>Mt(y).replace(un,Dr).replace(ps,Io).replace(xn,Io)),o=n.map(y=>y.match(Qe).map(Number)),m=o[0].map((y,j)=>o.map(C=>{if(!(j in C))throw Error('The arity of each "output" value must be equal');return C[j]})).map(y=>Ce({...t,output:y}));return y=>{var N;const j=!Eo.test(n[0])&&((N=n.find(R=>Eo.test(R)))==null?void 0:N.replace(Qe,""));let C=0;return n[0].replace(Qe,()=>`${m[C++](y)}${j||""}`).replace(hs,gs)}},no="react-spring: ",Rr=t=>{const n=t;let o=!1;if(typeof n!="function")throw new TypeError(`${no}once requires a function parameter`);return(...s)=>{o||(n(...s),o=!0)}},vs=Rr(console.warn);function bs(){vs(`${no}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var ys=Rr(console.warn);function ks(){ys(`${no}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function fn(t){return et.str(t)&&(t[0]=="#"||/\d/.test(t)||!Zn()&&un.test(t)||t in(Jt||{}))}var re=Zn()?tt.useEffect:tt.useLayoutEffect,xs=()=>{const t=tt.useRef(!1);return re(()=>(t.current=!0,()=>{t.current=!1}),[]),t};function oo(){const t=tt.useState()[1],n=xs();return()=>{n.current&&t(Math.random())}}function ws(t,n){const[o]=tt.useState(()=>({inputs:n,result:t()})),s=tt.useRef(),m=s.current;let y=m;return y?n&&y.inputs&&js(n,y.inputs)||(y={inputs:n,result:t()}):y=o,tt.useEffect(()=>{s.current=y,m==o&&(o.inputs=o.result=void 0)},[y]),y.result}function js(t,n){if(t.length!==n.length)return!1;for(let o=0;o<t.length;o++)if(t[o]!==n[o])return!1;return!0}var ro=t=>tt.useEffect(t,Ss),Ss=[];function On(t){const n=tt.useRef();return tt.useEffect(()=>{n.current=t}),n.current}var Oe=Symbol.for("Animated:node"),Cs=t=>!!t&&t[Oe]===t,Kt=t=>t&&t[Oe],io=(t,n)=>Wa(t,Oe,n),pn=t=>t&&t[Oe]&&t[Oe].getPayload(),Br=class{constructor(){io(this,this)}getPayload(){return this.payload||[]}},Ke=class extends Br{constructor(t){super(),this._value=t,this.done=!0,this.durationProgress=0,et.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new Ke(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,n){return et.num(t)&&(this.lastPosition=t,n&&(t=Math.round(t/n)*n,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,et.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Te=class extends Ke{constructor(t){super(0),this._string=null,this._toString=Ce({output:[t,t]})}static create(t){return new Te(t)}getValue(){const t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(et.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Ce({output:[this.getValue(),t]})),this._value=0,super.reset()}},tn={dependencies:null},hn=class extends Br{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const n={};return Ht(this.source,(o,s)=>{Cs(o)?n[s]=o.getValue(t):Rt(o)?n[s]=Mt(o):t||(n[s]=o)}),n}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&<(this.payload,t=>t.reset())}_makePayload(t){if(t){const n=new Set;return Ht(t,this._addToPayload,n),Array.from(n)}}_addToPayload(t){tn.dependencies&&Rt(t)&&tn.dependencies.add(t);const n=pn(t);n&<(n,o=>this.add(o))}},Nr=class extends hn{constructor(t){super(t)}static create(t){return new Nr(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const n=this.getPayload();return t.length==n.length?n.map((o,s)=>o.setValue(t[s])).some(Boolean):(super.setValue(t.map(Is)),!0)}};function Is(t){return(fn(t)?Te:Ke).create(t)}function Tn(t){const n=Kt(t);return n?n.constructor:et.arr(t)?Nr:fn(t)?Te:Ke}var Oo=(t,n)=>{const o=!et.fun(t)||t.prototype&&t.prototype.isReactComponent;return tt.forwardRef((s,m)=>{const y=tt.useRef(null),j=o&&tt.useCallback(e=>{y.current=Os(m,e)},[m]),[C,N]=Es(s,n),R=oo(),D=()=>{const e=y.current;if(o&&!e)return;(e?n.applyAnimatedValues(e,C.getValue(!0)):!1)===!1&&R()},Y=new Ps(D,N),c=tt.useRef();re(()=>(c.current=Y,lt(N,e=>he(e,Y)),()=>{c.current&&(lt(c.current.deps,e=>Ee(e,c.current)),ft.cancel(c.current.update))})),tt.useEffect(D,[]),ro(()=>()=>{const e=c.current;lt(e.deps,r=>Ee(r,e))});const g=n.getComponentProps(C.getValue());return de.createElement(t,{...g,ref:j})})},Ps=class{constructor(t,n){this.update=t,this.deps=n}eventObserved(t){t.type=="change"&&ft.write(this.update)}};function Es(t,n){const o=new Set;return tn.dependencies=o,t.style&&(t={...t,style:n.createAnimatedStyle(t.style)}),t=new hn(t),tn.dependencies=null,[t,o]}function Os(t,n){return t&&(et.fun(t)?t(n):t.current=n),n}var To=Symbol.for("AnimatedComponent"),Ts=(t,{applyAnimatedValues:n=()=>!1,createAnimatedStyle:o=m=>new hn(m),getComponentProps:s=m=>m}={})=>{const m={applyAnimatedValues:n,createAnimatedStyle:o,getComponentProps:s},y=j=>{const C=Ao(j)||"Anonymous";return et.str(j)?j=y[j]||(y[j]=Oo(j,m)):j=j[To]||(j[To]=Oo(j,m)),j.displayName=`Animated(${C})`,j};return Ht(t,(j,C)=>{et.arr(t)&&(C=Ao(j)),y[C]=y(j)}),{animated:y}},Ao=t=>et.str(t)?t:t&&et.str(t.displayName)?t.displayName:et.fun(t)&&t.name||null;function Dt(t,...n){return et.fun(t)?t(...n):t}var we=(t,n)=>t===!0||!!(n&&t&&(et.fun(t)?t(n):At(t).includes(n))),$r=(t,n)=>et.obj(t)?n&&t[n]:t,Lr=(t,n)=>t.default===!0?t[n]:t.default?t.default[n]:void 0,As=t=>t,mn=(t,n=As)=>{let o=Ms;t.default&&t.default!==!0&&(t=t.default,o=Object.keys(t));const s={};for(const m of o){const y=n(t[m],m);et.und(y)||(s[m]=y)}return s},Ms=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Ds={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function _s(t){const n={};let o=0;if(Ht(t,(s,m)=>{Ds[m]||(n[m]=s,o++)}),o)return n}function ao(t){const n=_s(t);if(n){const o={to:n};return Ht(t,(s,m)=>m in n||(o[m]=s)),o}return{...t}}function Ae(t){return t=Mt(t),et.arr(t)?t.map(Ae):fn(t)?Vt.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function zr(t){for(const n in t)return!0;return!1}function An(t){return et.fun(t)||et.arr(t)&&et.obj(t[0])}function Mn(t,n){var o;(o=t.ref)==null||o.delete(t),n==null||n.delete(t)}function Fr(t,n){var o;n&&t.ref!==n&&((o=t.ref)==null||o.delete(t),n.add(t),t.ref=n)}var oe={default:{tension:170,friction:26},gentle:{tension:120,friction:14},stiff:{tension:210,friction:20},slow:{tension:280,friction:60}},Dn={...oe.default,mass:1,damping:1,easing:ls.linear,clamp:!1},Rs=class{constructor(){this.velocity=0,Object.assign(this,Dn)}};function Bs(t,n,o){o&&(o={...o},Mo(o,n),n={...o,...n}),Mo(t,n),Object.assign(t,n);for(const j in Dn)t[j]==null&&(t[j]=Dn[j]);let{frequency:s,damping:m}=t;const{mass:y}=t;return et.und(s)||(s<.01&&(s=.01),m<0&&(m=0),t.tension=Math.pow(2*Math.PI/s,2)*y,t.friction=4*Math.PI*m*y/s),t}function Mo(t,n){if(!et.und(n.decay))t.duration=void 0;else{const o=!et.und(n.tension)||!et.und(n.friction);(o||!et.und(n.frequency)||!et.und(n.damping)||!et.und(n.mass))&&(t.duration=void 0,t.decay=void 0),o&&(t.frequency=void 0)}}var Do=[],Ns=class{constructor(){this.changed=!1,this.values=Do,this.toValues=null,this.fromValues=Do,this.config=new Rs,this.immediate=!1}};function Vr(t,{key:n,props:o,defaultProps:s,state:m,actions:y}){return new Promise((j,C)=>{let N,R,D=we(o.cancel??(s==null?void 0:s.cancel),n);if(D)g();else{et.und(o.pause)||(m.paused=we(o.pause,n));let e=s==null?void 0:s.pause;e!==!0&&(e=m.paused||we(e,n)),N=Dt(o.delay||0,n),e?(m.resumeQueue.add(c),y.pause()):(y.resume(),c())}function Y(){m.resumeQueue.add(c),m.timeouts.delete(R),R.cancel(),N=R.time-ft.now()}function c(){N>0&&!Vt.skipAnimation?(m.delayed=!0,R=ft.setTimeout(g,N),m.pauseQueue.add(Y),m.timeouts.add(R)):g()}function g(){m.delayed&&(m.delayed=!1),m.pauseQueue.delete(Y),m.timeouts.delete(R),t<=(m.cancelId||0)&&(D=!0);try{y.start({...o,callId:t,cancel:D},j)}catch(e){C(e)}}})}var so=(t,n)=>n.length==1?n[0]:n.some(o=>o.cancelled)?ue(t.get()):n.every(o=>o.noop)?Kr(t.get()):zt(t.get(),n.every(o=>o.finished)),Kr=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),zt=(t,n,o=!1)=>({value:t,finished:n,cancelled:o}),ue=t=>({value:t,cancelled:!0,finished:!1});function Hr(t,n,o,s){const{callId:m,parentId:y,onRest:j}=n,{asyncTo:C,promise:N}=o;return!y&&t===C&&!n.reset?N:o.promise=(async()=>{o.asyncId=m,o.asyncTo=t;const R=mn(n,(a,i)=>i==="onRest"?void 0:a);let D,Y;const c=new Promise((a,i)=>(D=a,Y=i)),g=a=>{const i=m<=(o.cancelId||0)&&ue(s)||m!==o.asyncId&&zt(s,!1);if(i)throw a.result=i,Y(a),a},e=(a,i)=>{const d=new _o,u=new Ro;return(async()=>{if(Vt.skipAnimation)throw Me(o),u.result=zt(s,!1),Y(u),u;g(d);const f=et.obj(a)?{...a}:{...i,to:a};f.parentId=m,Ht(R,(b,k)=>{et.und(f[k])&&(f[k]=b)});const h=await s.start(f);return g(d),o.paused&&await new Promise(b=>{o.resumeQueue.add(b)}),h})()};let r;if(Vt.skipAnimation)return Me(o),zt(s,!1);try{let a;et.arr(t)?a=(async i=>{for(const d of i)await e(d)})(t):a=Promise.resolve(t(e,s.stop.bind(s))),await Promise.all([a.then(D),c]),r=zt(s.get(),!0,!1)}catch(a){if(a instanceof _o)r=a.result;else if(a instanceof Ro)r=a.result;else throw a}finally{m==o.asyncId&&(o.asyncId=y,o.asyncTo=y?C:void 0,o.promise=y?N:void 0)}return et.fun(j)&&ft.batchedUpdates(()=>{j(r,s,s.item)}),r})()}function Me(t,n){ke(t.timeouts,o=>o.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,n&&(t.cancelId=n)}var _o=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Ro=class extends Error{constructor(){super("SkipAnimationSignal")}},_n=t=>t instanceof co,$s=1,co=class extends Ar{constructor(){super(...arguments),this.id=$s++,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=Kt(this);return t&&t.getValue()}to(...t){return Vt.to(this,t)}interpolate(...t){return bs(),Vt.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,n=!1){Pe(this,{type:"change",parent:this,value:t,idle:n})}_onPriorityChange(t){this.idle||dn.sort(this),Pe(this,{type:"priority",parent:this,priority:t})}},ae=Symbol.for("SpringPhase"),Ur=1,Rn=2,Bn=4,wn=t=>(t[ae]&Ur)>0,Qt=t=>(t[ae]&Rn)>0,ge=t=>(t[ae]&Bn)>0,Bo=(t,n)=>n?t[ae]|=Rn|Ur:t[ae]&=~Rn,No=(t,n)=>n?t[ae]|=Bn:t[ae]&=~Bn,Ls=class extends co{constructor(t,n){if(super(),this.animation=new Ns,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!et.und(t)||!et.und(n)){const o=et.obj(t)?{...t}:{...n,from:t};et.und(o.default)&&(o.default=!0),this.start(o)}}get idle(){return!(Qt(this)||this._state.asyncTo)||ge(this)}get goal(){return Mt(this.animation.to)}get velocity(){const t=Kt(this);return t instanceof Ke?t.lastVelocity||0:t.getPayload().map(n=>n.lastVelocity||0)}get hasAnimated(){return wn(this)}get isAnimating(){return Qt(this)}get isPaused(){return ge(this)}get isDelayed(){return this._state.delayed}advance(t){let n=!0,o=!1;const s=this.animation;let{toValues:m}=s;const{config:y}=s,j=pn(s.to);!j&&Rt(s.to)&&(m=At(Mt(s.to))),s.values.forEach((R,D)=>{if(R.done)return;const Y=R.constructor==Te?1:j?j[D].lastPosition:m[D];let c=s.immediate,g=Y;if(!c){if(g=R.lastPosition,y.tension<=0){R.done=!0;return}let e=R.elapsedTime+=t;const r=s.fromValues[D],a=R.v0!=null?R.v0:R.v0=et.arr(y.velocity)?y.velocity[D]:y.velocity;let i;const d=y.precision||(r==Y?.005:Math.min(1,Math.abs(Y-r)*.001));if(et.und(y.duration))if(y.decay){const u=y.decay===!0?.998:y.decay,f=Math.exp(-(1-u)*e);g=r+a/(1-u)*(1-f),c=Math.abs(R.lastPosition-g)<=d,i=a*f}else{i=R.lastVelocity==null?a:R.lastVelocity;const u=y.restVelocity||d/10,f=y.clamp?0:y.bounce,h=!et.und(f),b=r==Y?R.v0>0:r<Y;let k,I=!1;const S=1,E=Math.ceil(t/S);for(let A=0;A<E&&(k=Math.abs(i)>u,!(!k&&(c=Math.abs(Y-g)<=d,c)));++A){h&&(I=g==Y||g>Y==b,I&&(i=-i*f,g=Y));const L=-y.tension*1e-6*(g-Y),$=-y.friction*.001*i,M=(L+$)/y.mass;i=i+M*S,g=g+i*S}}else{let u=1;y.duration>0&&(this._memoizedDuration!==y.duration&&(this._memoizedDuration=y.duration,R.durationProgress>0&&(R.elapsedTime=y.duration*R.durationProgress,e=R.elapsedTime+=t)),u=(y.progress||0)+e/this._memoizedDuration,u=u>1?1:u<0?0:u,R.durationProgress=u),g=r+y.easing(u)*(Y-r),i=(g-R.lastPosition)/t,c=u==1}R.lastVelocity=i,Number.isNaN(g)&&(console.warn("Got NaN while animating:",this),c=!0)}j&&!j[D].done&&(c=!1),c?R.done=!0:n=!1,R.setValue(g,y.round)&&(o=!0)});const C=Kt(this),N=C.getValue();if(n){const R=Mt(s.to);(N!==R||o)&&!y.decay?(C.setValue(R),this._onChange(R)):o&&y.decay&&this._onChange(N),this._stop()}else o&&this._onChange(N)}set(t){return ft.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Qt(this)){const{to:t,config:n}=this.animation;ft.batchedUpdates(()=>{this._onStart(),n.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,n){let o;return et.und(t)?(o=this.queue||[],this.queue=[]):o=[et.obj(t)?t:{...n,to:t}],Promise.all(o.map(s=>this._update(s))).then(s=>so(this,s))}stop(t){const{to:n}=this.animation;return this._focus(this.get()),Me(this._state,t&&this._lastCallId),ft.batchedUpdates(()=>this._stop(n,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const n=this.key||"";let{to:o,from:s}=t;o=et.obj(o)?o[n]:o,(o==null||An(o))&&(o=void 0),s=et.obj(s)?s[n]:s,s==null&&(s=void 0);const m={to:o,from:s};return wn(this)||(t.reverse&&([o,s]=[s,o]),s=Mt(s),et.und(s)?Kt(this)||this._set(o):this._set(s)),m}_update({...t},n){const{key:o,defaultProps:s}=this;t.default&&Object.assign(s,mn(t,(j,C)=>/^on/.test(C)?$r(j,o):j)),Lo(this,t,"onProps"),be(this,"onProps",t,this);const m=this._prepareNode(t);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const y=this._state;return Vr(++this._lastCallId,{key:o,props:t,defaultProps:s,state:y,actions:{pause:()=>{ge(this)||(No(this,!0),ye(y.pauseQueue),be(this,"onPause",zt(this,ve(this,this.animation.to)),this))},resume:()=>{ge(this)&&(No(this,!1),Qt(this)&&this._resume(),ye(y.resumeQueue),be(this,"onResume",zt(this,ve(this,this.animation.to)),this))},start:this._merge.bind(this,m)}}).then(j=>{if(t.loop&&j.finished&&!(n&&j.noop)){const C=qr(t);if(C)return this._update(C,!0)}return j})}_merge(t,n,o){if(n.cancel)return this.stop(!0),o(ue(this));const s=!et.und(t.to),m=!et.und(t.from);if(s||m)if(n.callId>this._lastToId)this._lastToId=n.callId;else return o(ue(this));const{key:y,defaultProps:j,animation:C}=this,{to:N,from:R}=C;let{to:D=N,from:Y=R}=t;m&&!s&&(!n.default||et.und(D))&&(D=Y),n.reverse&&([D,Y]=[Y,D]);const c=!qt(Y,R);c&&(C.from=Y),Y=Mt(Y);const g=!qt(D,N);g&&this._focus(D);const e=An(n.to),{config:r}=C,{decay:a,velocity:i}=r;(s||m)&&(r.velocity=0),n.config&&!e&&Bs(r,Dt(n.config,y),n.config!==j.config?Dt(j.config,y):void 0);let d=Kt(this);if(!d||et.und(D))return o(zt(this,!0));const u=et.und(n.reset)?m&&!n.default:!et.und(Y)&&we(n.reset,y),f=u?Y:this.get(),h=Ae(D),b=et.num(h)||et.arr(h)||fn(h),k=!e&&(!b||we(j.immediate||n.immediate,y));if(g){const A=Tn(D);if(A!==d.constructor)if(k)d=this._set(h);else throw Error(`Cannot animate between ${d.constructor.name} and ${A.name}, as the "to" prop suggests`)}const I=d.constructor;let S=Rt(D),E=!1;if(!S){const A=u||!wn(this)&&c;(g||A)&&(E=qt(Ae(f),h),S=!E),(!qt(C.immediate,k)&&!k||!qt(r.decay,a)||!qt(r.velocity,i))&&(S=!0)}if(E&&Qt(this)&&(C.changed&&!u?S=!0:S||this._stop(N)),!e&&((S||Rt(N))&&(C.values=d.getPayload(),C.toValues=Rt(D)?null:I==Te?[1]:At(h)),C.immediate!=k&&(C.immediate=k,!k&&!u&&this._set(N)),S)){const{onRest:A}=C;lt(Fs,$=>Lo(this,n,$));const L=zt(this,ve(this,N));ye(this._pendingCalls,L),this._pendingCalls.add(o),C.changed&&ft.batchedUpdates(()=>{var $;C.changed=!u,A==null||A(L,this),u?Dt(j.onRest,L):($=C.onStart)==null||$.call(C,L,this)})}u&&this._set(f),e?o(Hr(n.to,n,this._state,this)):S?this._start():Qt(this)&&!g?this._pendingCalls.add(o):o(Kr(f))}_focus(t){const n=this.animation;t!==n.to&&(Po(this)&&this._detach(),n.to=t,Po(this)&&this._attach())}_attach(){let t=0;const{to:n}=this.animation;Rt(n)&&(he(n,this),_n(n)&&(t=n.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;Rt(t)&&Ee(t,this)}_set(t,n=!0){const o=Mt(t);if(!et.und(o)){const s=Kt(this);if(!s||!qt(o,s.getValue())){const m=Tn(o);!s||s.constructor!=m?io(this,m.create(o)):s.setValue(o),s&&ft.batchedUpdates(()=>{this._onChange(o,n)})}}return Kt(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,be(this,"onStart",zt(this,ve(this,t.to)),this))}_onChange(t,n){n||(this._onStart(),Dt(this.animation.onChange,t,this)),Dt(this.defaultProps.onChange,t,this),super._onChange(t,n)}_start(){const t=this.animation;Kt(this).reset(Mt(t.to)),t.immediate||(t.fromValues=t.values.map(n=>n.lastPosition)),Qt(this)||(Bo(this,!0),ge(this)||this._resume())}_resume(){Vt.skipAnimation?this.finish():dn.start(this)}_stop(t,n){if(Qt(this)){Bo(this,!1);const o=this.animation;lt(o.values,m=>{m.done=!0}),o.toValues&&(o.onChange=o.onPause=o.onResume=void 0),Pe(this,{type:"idle",parent:this});const s=n?ue(this.get()):zt(this.get(),ve(this,t??o.to));ye(this._pendingCalls,s),o.changed&&(o.changed=!1,be(this,"onRest",s,this))}}};function ve(t,n){const o=Ae(n),s=Ae(t.get());return qt(s,o)}function qr(t,n=t.loop,o=t.to){const s=Dt(n);if(s){const m=s!==!0&&ao(s),y=(m||t).reverse,j=!m||m.reset;return De({...t,loop:n,default:!1,pause:void 0,to:!y||An(o)?o:void 0,from:j?t.from:void 0,reset:j,...m})}}function De(t){const{to:n,from:o}=t=ao(t),s=new Set;return et.obj(n)&&$o(n,s),et.obj(o)&&$o(o,s),t.keys=s.size?Array.from(s):null,t}function zs(t){const n=De(t);return et.und(n.default)&&(n.default=mn(n)),n}function $o(t,n){Ht(t,(o,s)=>o!=null&&n.add(s))}var Fs=["onStart","onRest","onChange","onPause","onResume"];function Lo(t,n,o){t.animation[o]=n[o]!==Lr(n,o)?$r(n[o],t.key):void 0}function be(t,n,...o){var s,m,y,j;(m=(s=t.animation)[n])==null||m.call(s,...o),(j=(y=t.defaultProps)[n])==null||j.call(y,...o)}var Vs=["onStart","onChange","onRest"],Ks=1,Gr=class{constructor(t,n){this.id=Ks++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((n,o)=>t[o]=n.get()),t}set(t){for(const n in t){const o=t[n];et.und(o)||this.springs[n].set(o)}}update(t){return t&&this.queue.push(De(t)),this}start(t){let{queue:n}=this;return t?n=At(t).map(De):this.queue=[],this._flush?this._flush(this,n):(Jr(this,n),Nn(this,n))}stop(t,n){if(t!==!!t&&(n=t),n){const o=this.springs;lt(At(n),s=>o[s].stop(!!t))}else Me(this._state,this._lastAsyncId),this.each(o=>o.stop(!!t));return this}pause(t){if(et.und(t))this.start({pause:!0});else{const n=this.springs;lt(At(t),o=>n[o].pause())}return this}resume(t){if(et.und(t))this.start({pause:!1});else{const n=this.springs;lt(At(t),o=>n[o].resume())}return this}each(t){Ht(this.springs,t)}_onFrame(){const{onStart:t,onChange:n,onRest:o}=this._events,s=this._active.size>0,m=this._changed.size>0;(s&&!this._started||m&&!this._started)&&(this._started=!0,ke(t,([C,N])=>{N.value=this.get(),C(N,this,this._item)}));const y=!s&&this._started,j=m||y&&o.size?this.get():null;m&&n.size&&ke(n,([C,N])=>{N.value=j,C(N,this,this._item)}),y&&(this._started=!1,ke(o,([C,N])=>{N.value=j,C(N,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;ft.onFrame(this._onFrame)}};function Nn(t,n){return Promise.all(n.map(o=>Wr(t,o))).then(o=>so(t,o))}async function Wr(t,n,o){const{keys:s,to:m,from:y,loop:j,onRest:C,onResolve:N}=n,R=et.obj(n.default)&&n.default;j&&(n.loop=!1),m===!1&&(n.to=null),y===!1&&(n.from=null);const D=et.arr(m)||et.fun(m)?m:void 0;D?(n.to=void 0,n.onRest=void 0,R&&(R.onRest=void 0)):lt(Vs,r=>{const a=n[r];if(et.fun(a)){const i=t._events[r];n[r]=({finished:d,cancelled:u})=>{const f=i.get(a);f?(d||(f.finished=!1),u&&(f.cancelled=!0)):i.set(a,{value:null,finished:d||!1,cancelled:u||!1})},R&&(R[r]=n[r])}});const Y=t._state;n.pause===!Y.paused?(Y.paused=n.pause,ye(n.pause?Y.pauseQueue:Y.resumeQueue)):Y.paused&&(n.pause=!0);const c=(s||Object.keys(t.springs)).map(r=>t.springs[r].start(n)),g=n.cancel===!0||Lr(n,"cancel")===!0;(D||g&&Y.asyncId)&&c.push(Vr(++t._lastAsyncId,{props:n,state:Y,actions:{pause:Pn,resume:Pn,start(r,a){g?(Me(Y,t._lastAsyncId),a(ue(t))):(r.onRest=C,a(Hr(D,r,Y,t)))}}})),Y.paused&&await new Promise(r=>{Y.resumeQueue.add(r)});const e=so(t,await Promise.all(c));if(j&&e.finished&&!(o&&e.noop)){const r=qr(n,j,m);if(r)return Jr(t,[r]),Wr(t,r,!0)}return N&&ft.batchedUpdates(()=>N(e,t,t.item)),e}function $n(t,n){const o={...t.springs};return n&<(At(n),s=>{et.und(s.keys)&&(s=De(s)),et.obj(s.to)||(s={...s,to:void 0}),Xr(o,s,m=>Yr(m))}),Qr(t,o),o}function Qr(t,n){Ht(n,(o,s)=>{t.springs[s]||(t.springs[s]=o,he(o,t))})}function Yr(t,n){const o=new Ls;return o.key=t,n&&he(o,n),o}function Xr(t,n,o){n.keys&<(n.keys,s=>{(t[s]||(t[s]=o(s)))._prepareNode(n)})}function Jr(t,n){lt(n,o=>{Xr(t.springs,o,s=>Yr(s,t))})}var He=({children:t,...n})=>{const o=tt.useContext(en),s=n.pause||!!o.pause,m=n.immediate||!!o.immediate;n=ws(()=>({pause:s,immediate:m}),[s,m]);const{Provider:y}=en;return de.createElement(y,{value:n},t)},en=Hs(He,{});He.Provider=en.Provider;He.Consumer=en.Consumer;function Hs(t,n){return Object.assign(t,de.createContext(n)),t.Provider._context=t,t.Consumer._context=t,t}var Zr=()=>{const t=[],n=function(s){ks();const m=[];return lt(t,(y,j)=>{if(et.und(s))m.push(y.start());else{const C=o(s,y,j);C&&m.push(y.start(C))}}),m};n.current=t,n.add=function(s){t.includes(s)||t.push(s)},n.delete=function(s){const m=t.indexOf(s);~m&&t.splice(m,1)},n.pause=function(){return lt(t,s=>s.pause(...arguments)),this},n.resume=function(){return lt(t,s=>s.resume(...arguments)),this},n.set=function(s){lt(t,(m,y)=>{const j=et.fun(s)?s(y,m):s;j&&m.set(j)})},n.start=function(s){const m=[];return lt(t,(y,j)=>{if(et.und(s))m.push(y.start());else{const C=this._getProps(s,y,j);C&&m.push(y.start(C))}}),m},n.stop=function(){return lt(t,s=>s.stop(...arguments)),this},n.update=function(s){return lt(t,(m,y)=>m.update(this._getProps(s,m,y))),this};const o=function(s,m,y){return et.fun(s)?s(y,m):s};return n._getProps=o,n};function Us(t,n,o){const s=et.fun(n)&&n;s&&!o&&(o=[]);const m=tt.useMemo(()=>s||arguments.length==3?Zr():void 0,[]),y=tt.useRef(0),j=oo(),C=tt.useMemo(()=>({ctrls:[],queue:[],flush(i,d){const u=$n(i,d);return y.current>0&&!C.queue.length&&!Object.keys(u).some(h=>!i.springs[h])?Nn(i,d):new Promise(h=>{Qr(i,u),C.queue.push(()=>{h(Nn(i,d))}),j()})}}),[]),N=tt.useRef([...C.ctrls]),R=[],D=On(t)||0;tt.useMemo(()=>{lt(N.current.slice(t,D),i=>{Mn(i,m),i.stop(!0)}),N.current.length=t,Y(D,t)},[t]),tt.useMemo(()=>{Y(0,Math.min(D,t))},o);function Y(i,d){for(let u=i;u<d;u++){const f=N.current[u]||(N.current[u]=new Gr(null,C.flush)),h=s?s(u,f):n[u];h&&(R[u]=zs(h))}}const c=N.current.map((i,d)=>$n(i,R[d])),g=tt.useContext(He),e=On(g),r=g!==e&&zr(g);re(()=>{y.current++,C.ctrls=N.current;const{queue:i}=C;i.length&&(C.queue=[],lt(i,d=>d())),lt(N.current,(d,u)=>{m==null||m.add(d),r&&d.start({default:g});const f=R[u];f&&(Fr(d,f.ref),d.ref?d.queue.push(f):d.start(f))})}),ro(()=>()=>{lt(C.ctrls,i=>i.stop(!0))});const a=c.map(i=>({...i}));return m?[a,m]:a}function ti(t,n){const o=et.fun(t),[[s],m]=Us(1,o?t:[t],o?n||[]:n);return o||arguments.length==2?[s,m]:s}function lo(t,n,o){const s=et.fun(n)&&n,{reset:m,sort:y,trail:j=0,expires:C=!0,exitBeforeEnter:N=!1,onDestroyed:R,ref:D,config:Y}=s?s():n,c=tt.useMemo(()=>s||arguments.length==3?Zr():void 0,[]),g=At(t),e=[],r=tt.useRef(null),a=m?null:r.current;re(()=>{r.current=e}),ro(()=>(lt(e,M=>{c==null||c.add(M.ctrl),M.ctrl.ref=c}),()=>{lt(r.current,M=>{M.expired&&clearTimeout(M.expirationId),Mn(M.ctrl,c),M.ctrl.stop(!0)})}));const i=Gs(g,s?s():n,a),d=m&&r.current||[];re(()=>lt(d,({ctrl:M,item:P,key:V})=>{Mn(M,c),Dt(R,P,V)}));const u=[];if(a&<(a,(M,P)=>{M.expired?(clearTimeout(M.expirationId),d.push(M)):(P=u[P]=i.indexOf(M.key),~P&&(e[P]=M))}),lt(g,(M,P)=>{e[P]||(e[P]={key:i[P],item:M,phase:"mount",ctrl:new Gr},e[P].ctrl.item=M)}),u.length){let M=-1;const{leave:P}=s?s():n;lt(u,(V,z)=>{const X=a[z];~V?(M=e.indexOf(X),e[M]={...X,item:g[V]}):P&&e.splice(++M,0,X)})}et.fun(y)&&e.sort((M,P)=>y(M.item,P.item));let f=-j;const h=oo(),b=mn(n),k=new Map,I=tt.useRef(new Map),S=tt.useRef(!1);lt(e,(M,P)=>{const V=M.key,z=M.phase,X=s?s():n;let G,J;const Q=Dt(X.delay||0,V);if(z=="mount")G=X.enter,J="enter";else{const it=i.indexOf(V)<0;if(z!="leave")if(it)G=X.leave,J="leave";else if(G=X.update)J="update";else return;else if(!it)G=X.enter,J="enter";else return}if(G=Dt(G,M.item,P),G=et.obj(G)?ao(G):{to:G},!G.config){const it=Y||b.config;G.config=Dt(it,M.item,P,J)}f+=j;const rt={...b,delay:Q+f,ref:D,immediate:X.immediate,reset:!1,...G};if(J=="enter"&&et.und(rt.from)){const it=s?s():n,B=et.und(it.initial)||a?it.from:it.initial;rt.from=Dt(B,M.item,P)}const{onResolve:st}=rt;rt.onResolve=it=>{Dt(st,it);const B=r.current,O=B.find(F=>F.key===V);if(O&&!(it.cancelled&&O.phase!="update")&&O.ctrl.idle){const F=B.every(l=>l.ctrl.idle);if(O.phase=="leave"){const l=Dt(C,O.item);if(l!==!1){const v=l===!0?0:l;if(O.expired=!0,!F&&v>0){v<=2147483647&&(O.expirationId=setTimeout(h,v));return}}}F&&B.some(l=>l.expired)&&(I.current.delete(O),N&&(S.current=!0),h())}};const ct=$n(M.ctrl,rt);J==="leave"&&N?I.current.set(M,{phase:J,springs:ct,payload:rt}):k.set(M,{phase:J,springs:ct,payload:rt})});const E=tt.useContext(He),A=On(E),L=E!==A&&zr(E);re(()=>{L&<(e,M=>{M.ctrl.start({default:E})})},[E]),lt(k,(M,P)=>{if(I.current.size){const V=e.findIndex(z=>z.key===P.key);e.splice(V,1)}}),re(()=>{lt(I.current.size?I.current:k,({phase:M,payload:P},V)=>{const{ctrl:z}=V;V.phase=M,c==null||c.add(z),L&&M=="enter"&&z.start({default:E}),P&&(Fr(z,P.ref),(z.ref||c)&&!S.current?z.update(P):(z.start(P),S.current&&(S.current=!1)))})},m?void 0:o);const $=M=>de.createElement(de.Fragment,null,e.map((P,V)=>{const{springs:z}=k.get(P)||P.ctrl,X=M({...z},P.item,P,V);return X&&X.type?de.createElement(X.type,{...X.props,key:et.str(P.key)||et.num(P.key)?P.key:P.ctrl.id,ref:X.ref}):X}));return c?[$,c]:$}var qs=1;function Gs(t,{key:n,keys:o=n},s){if(o===null){const m=new Set;return t.map(y=>{const j=s&&s.find(C=>C.item===y&&C.phase!=="leave"&&!m.has(C));return j?(m.add(j),j.key):qs++})}return et.und(o)?t:et.fun(o)?t.map(o):At(o)}var Ws=class extends co{constructor(t,n){super(),this.source=t,this.idle=!0,this._active=new Set,this.calc=Ce(...n);const o=this._get(),s=Tn(o);io(this,s.create(o))}advance(t){const n=this._get(),o=this.get();qt(n,o)||(Kt(this).setValue(n),this._onChange(n,this.idle)),!this.idle&&zo(this._active)&&jn(this)}_get(){const t=et.arr(this.source)?this.source.map(Mt):At(Mt(this.source));return this.calc(...t)}_start(){this.idle&&!zo(this._active)&&(this.idle=!1,lt(pn(this),t=>{t.done=!1}),Vt.skipAnimation?(ft.batchedUpdates(()=>this.advance()),jn(this)):dn.start(this))}_attach(){let t=1;lt(At(this.source),n=>{Rt(n)&&he(n,this),_n(n)&&(n.idle||this._active.add(n),t=Math.max(t,n.priority+1))}),this.priority=t,this._start()}_detach(){lt(At(this.source),t=>{Rt(t)&&Ee(t,this)}),this._active.clear(),jn(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=At(this.source).reduce((n,o)=>Math.max(n,(_n(o)?o.priority:0)+1),0))}};function Qs(t){return t.idle!==!1}function zo(t){return!t.size||Array.from(t).every(Qs)}function jn(t){t.idle||(t.idle=!0,lt(pn(t),n=>{n.done=!0}),Pe(t,{type:"idle",parent:t}))}Vt.assign({createStringInterpolator:_r,to:(t,n)=>new Ws(t,n)});var ei=/^--/;function Ys(t,n){return n==null||typeof n=="boolean"||n===""?"":typeof n=="number"&&n!==0&&!ei.test(t)&&!(je.hasOwnProperty(t)&&je[t])?n+"px":(""+n).trim()}var Fo={};function Xs(t,n){if(!t.nodeType||!t.setAttribute)return!1;const o=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter",{className:s,style:m,children:y,scrollTop:j,scrollLeft:C,viewBox:N,...R}=n,D=Object.values(R),Y=Object.keys(R).map(c=>o||t.hasAttribute(c)?c:Fo[c]||(Fo[c]=c.replace(/([A-Z])/g,g=>"-"+g.toLowerCase())));y!==void 0&&(t.textContent=y);for(const c in m)if(m.hasOwnProperty(c)){const g=Ys(c,m[c]);ei.test(c)?t.style.setProperty(c,g):t.style[c]=g}Y.forEach((c,g)=>{t.setAttribute(c,D[g])}),s!==void 0&&(t.className=s),j!==void 0&&(t.scrollTop=j),C!==void 0&&(t.scrollLeft=C),N!==void 0&&t.setAttribute("viewBox",N)}var je={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Js=(t,n)=>t+n.charAt(0).toUpperCase()+n.substring(1),Zs=["Webkit","Ms","Moz","O"];je=Object.keys(je).reduce((t,n)=>(Zs.forEach(o=>t[Js(o,n)]=t[n]),t),je);var tc=/^(matrix|translate|scale|rotate|skew)/,ec=/^(translate)/,nc=/^(rotate|skew)/,Sn=(t,n)=>et.num(t)&&t!==0?t+n:t,Ye=(t,n)=>et.arr(t)?t.every(o=>Ye(o,n)):et.num(t)?t===n:parseFloat(t)===n,oc=class extends hn{constructor({x:t,y:n,z:o,...s}){const m=[],y=[];(t||n||o)&&(m.push([t||0,n||0,o||0]),y.push(j=>[`translate3d(${j.map(C=>Sn(C,"px")).join(",")})`,Ye(j,0)])),Ht(s,(j,C)=>{if(C==="transform")m.push([j||""]),y.push(N=>[N,N===""]);else if(tc.test(C)){if(delete s[C],et.und(j))return;const N=ec.test(C)?"px":nc.test(C)?"deg":"";m.push(At(j)),y.push(C==="rotate3d"?([R,D,Y,c])=>[`rotate3d(${R},${D},${Y},${Sn(c,N)})`,Ye(c,0)]:R=>[`${C}(${R.map(D=>Sn(D,N)).join(",")})`,Ye(R,C.startsWith("scale")?1:0)])}}),m.length&&(s.transform=new rc(m,y)),super(s)}},rc=class extends Ar{constructor(t,n){super(),this.inputs=t,this.transforms=n,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let t="",n=!0;return lt(this.inputs,(o,s)=>{const m=Mt(o[0]),[y,j]=this.transforms[s](et.arr(m)?m:o.map(Mt));t+=" "+y,n=n&&j}),n?"none":t}observerAdded(t){t==1&<(this.inputs,n=>lt(n,o=>Rt(o)&&he(o,this)))}observerRemoved(t){t==0&<(this.inputs,n=>lt(n,o=>Rt(o)&&Ee(o,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Pe(this,t)}},ic=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];Vt.assign({batchedUpdates:_e.unstable_batchedUpdates,createStringInterpolator:_r,colors:Ja});var ac=Ts(ic,{applyAnimatedValues:Xs,createAnimatedStyle:t=>new oc(t),getComponentProps:({scrollTop:t,scrollLeft:n,...o})=>o}),Ue=ac.animated;const sc=T.div`
|
|
789
799
|
display: flex;
|
|
790
800
|
flex-direction: column;
|
|
791
801
|
gap: var(--ddk-component-modal-container-gap);
|
|
792
802
|
grid-template-rows: auto 1fr auto;
|
|
793
803
|
height: calc(100% - var(--ddk-component-modal-content-padding) * 2);
|
|
794
804
|
padding: var(--ddk-component-modal-content-padding);
|
|
795
|
-
`,
|
|
805
|
+
`,ni=({children:t,contain:n=!0})=>n?p.jsx(sc,{children:t}):t,cc=(t,n)=>xt.css`
|
|
796
806
|
align-items: center;
|
|
797
807
|
background-color: var(--ddk-component-modal-shade-background-color);
|
|
798
808
|
bottom: 0;
|
|
@@ -848,24 +858,28 @@
|
|
|
848
858
|
transform: scale(1);
|
|
849
859
|
}
|
|
850
860
|
}
|
|
851
|
-
`,
|
|
861
|
+
`,dc=T(ie)`
|
|
852
862
|
align-items: center;
|
|
853
863
|
display: flex;
|
|
854
864
|
flex-direction: column;
|
|
855
865
|
justify-content: center;
|
|
856
866
|
max-width: ${t=>t.mode==="fullscreen"?"var(--ddk-component-shell-max-width)":"var(--ddk-component-modal-max-width)"};
|
|
857
867
|
/* height: ${t=>t.mode==="maximized"&&"100%"}; */
|
|
858
|
-
`,te=({children:t,closeOnShroudClick:n=!0,contain:o=!0,enableAnimation:
|
|
868
|
+
`,te=({children:t,closeOnShroudClick:n=!0,contain:o=!0,enableAnimation:s,mode:m,onClose:y,onClosed:j,show:C,width:N,height:R,...D})=>{const Y=jt(),c=s!==void 0?s:Y.enableModalAnimation;m=Y.modalModeOverride??m;const g=lo(C,{initial:{opacity:0},from:{opacity:0},enter:{opacity:1},leave:{opacity:0},onDestroyed:j,immediate:!c});return _e.createPortal(g((e,r)=>r&&p.jsx(Ue.div,{css:cc(m,c),style:e,onPointerDown:()=>m!=="maximized"&&n&&(y==null?void 0:y()),children:p.jsx(dc,{...D,contain:m!=="fullscreen",mode:m,children:p.jsx("div",{className:`modal${m==="fullscreen"?" fullscreen":m==="maximized"?" maximized":""}`,onPointerDown:a=>a.stopPropagation(),style:{width:N,height:R},children:p.jsx(tt.Suspense,{children:p.jsx(ni,{contain:o,children:t})})})})})),document.body)},oi=T.div`
|
|
859
869
|
display: flex;
|
|
860
870
|
flex-direction: column;
|
|
861
871
|
overflow-y: auto;
|
|
862
872
|
overflow-x: hidden;
|
|
863
|
-
gap:
|
|
873
|
+
gap: var(--ddk-component-base-modal-container-gap);
|
|
864
874
|
height: 100%;
|
|
865
|
-
`,
|
|
875
|
+
`,lc=T(te)`
|
|
876
|
+
--ddk-component-modal-min-height: var(
|
|
877
|
+
--ddk-component-workflow-modal-min-height
|
|
878
|
+
);
|
|
879
|
+
`,uc=T(Le)`
|
|
866
880
|
align-items: center;
|
|
867
881
|
gap: 24px;
|
|
868
|
-
`,
|
|
882
|
+
`,fc={height:"56px",width:"56px"},pc=T.div`
|
|
869
883
|
display: flex;
|
|
870
884
|
animation: rotation 2s infinite linear;
|
|
871
885
|
@keyframes rotation {
|
|
@@ -876,7 +890,7 @@
|
|
|
876
890
|
transform: rotate(360deg);
|
|
877
891
|
}
|
|
878
892
|
}
|
|
879
|
-
`,
|
|
893
|
+
`,hc=(t,n)=>{switch(t){case"error":return p.jsx(gt.ErrorIconWithBackground,{style:n});case"information-default":return p.jsx(gt.InformationIconWithBackground,{style:n});case"information":return p.jsx(gt.MessageInformationIconWithBackground,{style:n});case"loading":return p.jsx(pc,{children:p.jsx(gt.LoaderIconWithBackground,{style:n})});case"question-default":return p.jsx(gt.InformationQuestionIconWithBackground,{style:n});case"question":return p.jsx(gt.MessageQuestionIconWithBackground,{style:n});case"success":return p.jsx(gt.SuccessIconWithBackground,{style:n});default:return}},ri=({closeButtonLabel:t,footer:n,iconStyle:o=fc,information:s,onClose:m,show:y=!0,showCloseButton:j=!0,status:C,title:N,...R})=>{const{componentModeOverride:D}=jt();return p.jsx(lc,{...R,contain:D!=="compact",show:y,onClose:m,children:p.jsxs(oi,{children:[(j&&!!m||N)&&p.jsx(Zt,{closeButtonLabel:t,CloseButton:D==="compact"?yr:void 0,contain:D==="compact",onClose:m,showCloseButton:j,title:N}),p.jsxs(uc,{contain:D==="compact",children:[hc(C,o),s]}),p.jsx(ze,{children:n})]})})},mc=({body:t,cancelLabel:n,confirmLabel:o,heading:s,onCancel:m,onClose:y,onConfirm:j,status:C,...N})=>p.jsx(ri,{...N,footer:p.jsxs(p.Fragment,{children:[m&&p.jsx(Tt,{onPointerDown:m,children:n}),j&&p.jsx(Tt,{onPointerDown:j,children:o})]}),iconStyle:{height:"68px",width:"68px"},information:p.jsxs(p.Fragment,{children:[s&&p.jsx(ar,{children:s}),t&&p.jsx(or,{children:t})]}),onClose:y,showCloseButton:!!y,status:C}),ii=({cancelLabel:t,confirmLabel:n,...o})=>{const{t:s}=Nt.useKosTranslation("common",{keyPrefix:"confirmation-modal"});return t=t??s("cancel"),n=n??s("confirm"),p.jsx(mc,{cancelLabel:t,confirmLabel:n,...o})},gc=T.div`
|
|
880
894
|
background-color: ${t=>t.backgroundColor&&t.backgroundColor};
|
|
881
895
|
|
|
882
896
|
border-bottom-left-radius: 4px;
|
|
@@ -888,7 +902,7 @@
|
|
|
888
902
|
top: 0;
|
|
889
903
|
width: 4px;
|
|
890
904
|
z-index: 1;
|
|
891
|
-
`,
|
|
905
|
+
`,ai=T.div`
|
|
892
906
|
background-color: ${t=>t.disabled?"var(--ddk-generic-color-grey-50, #888888)":t.backgroundColor?t.backgroundColor:"var(--ddk-generic-color-white, #ffffff)"};
|
|
893
907
|
|
|
894
908
|
border-radius: 8px;
|
|
@@ -913,7 +927,7 @@
|
|
|
913
927
|
min-width: var(--ddk-component-dashboard-card-min-width, auto);
|
|
914
928
|
max-width: var(--ddk-component-dashboard-card-large-width);
|
|
915
929
|
max-height: var(--ddk-component-dashboard-card-max-height);
|
|
916
|
-
`,
|
|
930
|
+
`,si=T.div`
|
|
917
931
|
align-items: center;
|
|
918
932
|
align-self: center;
|
|
919
933
|
background-color: var(--ddk-component-dashboard-card-avatar-background-color);
|
|
@@ -931,7 +945,7 @@
|
|
|
931
945
|
padding: var(--ddk-component-dashboard-card-avatar-padding);
|
|
932
946
|
width: var(--ddk-component-dashboard-card-avatar-width);
|
|
933
947
|
z-index: 1;
|
|
934
|
-
`,
|
|
948
|
+
`,ci=T.div`
|
|
935
949
|
align-items: center;
|
|
936
950
|
z-index: 1;
|
|
937
951
|
grid-area: title;
|
|
@@ -945,20 +959,20 @@
|
|
|
945
959
|
letter-spacing: 0.56px;
|
|
946
960
|
|
|
947
961
|
max-height: 36px;
|
|
948
|
-
`,
|
|
962
|
+
`,di=T.div`
|
|
949
963
|
align-items: center;
|
|
950
964
|
grid-area: body;
|
|
951
965
|
display: flex;
|
|
952
966
|
gap: 8px;
|
|
953
967
|
min-height: 0;
|
|
954
968
|
flex: 1;
|
|
955
|
-
`,
|
|
969
|
+
`,li=T.div`
|
|
956
970
|
align-items: center;
|
|
957
971
|
grid-area: footer;
|
|
958
972
|
display: flex;
|
|
959
973
|
font-size: 14px;
|
|
960
974
|
flex-wrap: wrap;
|
|
961
|
-
`,
|
|
975
|
+
`,vc=T.div`
|
|
962
976
|
display: flex;
|
|
963
977
|
grid-area: errors;
|
|
964
978
|
justify-content: center;
|
|
@@ -966,42 +980,42 @@
|
|
|
966
980
|
width: 100%;
|
|
967
981
|
z-index: 1;
|
|
968
982
|
position: relative;
|
|
969
|
-
`,
|
|
983
|
+
`,ui=T(gt.ChevronRightIcon)`
|
|
970
984
|
align-self: center;
|
|
971
985
|
grid-area: nav;
|
|
972
986
|
justify-self: flex-end;
|
|
973
987
|
z-index: 1;
|
|
974
|
-
`,
|
|
988
|
+
`,bc=T.div`
|
|
975
989
|
border-radius: 8px 8px 0 0;
|
|
976
990
|
height: 30px;
|
|
977
991
|
width: 100%;
|
|
978
992
|
position: absolute;
|
|
979
993
|
top: 0;
|
|
980
994
|
background-color: ${t=>t.disabled?"var(--ddk-generic-color-grey-50, #888888)":t.backgroundColor?t.backgroundColor:"var(--ddk-component-dashboard-card-header-background-color)"};
|
|
981
|
-
`,
|
|
995
|
+
`,fi=({avatar:t,body:n,cardId:o,color:s,headerBackgroundColor:m,backgroundColor:y,errors:j,footer:C,disabled:N,indicatorColor:R,onCardSelect:D,showNavIcon:Y,title:c})=>{m||(m=y);const g=tt.useRef(null),e=d=>{g.current=d.pointerId},r=d=>{g.current===d.pointerId&&(D==null||D(o)),g.current=null},{componentModeOverride:a}=jt(),i=a==="compact";return p.jsxs(ai,{color:s,backgroundColor:y,onPointerDown:e,onPointerUp:r,disabled:N,children:[i&&R&&p.jsx(gc,{backgroundColor:R}),p.jsx(bc,{backgroundColor:m,disabled:N}),!!t&&p.jsx(si,{backgroundColor:y,children:t}),c&&p.jsx(ci,{backgroundColor:y,children:c}),p.jsx(di,{children:n}),a==="compact"&&!!Y&&p.jsx(ui,{}),!!C&&p.jsx(li,{children:C})]})},yc=t=>p.jsx(fi,{...t}),kc=t=>p.jsx(fi,{...t}),Ge=10,xc=T(Ue.div)`
|
|
982
996
|
overflow: hidden;
|
|
983
997
|
position: relative;
|
|
984
998
|
touch-action: none;
|
|
985
999
|
user-select: none;
|
|
986
1000
|
width: 100%;
|
|
987
|
-
`,
|
|
1001
|
+
`,wc=T(Ue.div)`
|
|
988
1002
|
align-items: center;
|
|
989
1003
|
display: flex;
|
|
990
1004
|
justify-content: center;
|
|
991
1005
|
position: absolute;
|
|
992
1006
|
width: 100%;
|
|
993
|
-
`,
|
|
1007
|
+
`,Vo=(t,n)=>(t%n+n)%n,uo=({className:t,enableAnimation:n,itemRenderer:o,items:s=[],itemSize:m=20,loop:y,numberOfVisibleItems:j=13,offset:C=!1,selectedItemId:N,selectedItemOffset:R,onChange:D})=>{const Y=jt(),c=n!==void 0?n:Y.enableDialAnimation,g=s.length<=j,e=y!==void 0?y:!g,r=R??Math.floor(j/2),a=(C?j-1:j)*m,i=tt.useRef(!1),d=tt.useRef(!1),u=tt.useMemo(()=>{const P=s.findIndex(V=>V.id===N);return P===void 0||P===-1?0:P},[s,N]),[f,h]=tt.useState(u-r),b=P=>s[Vo(P+r,s.length)],k=tt.useCallback(P=>-P*m,[m]),I=P=>{if(e===!1){const V=(s.length-r-1)*m,z=r*m;if(P<-z)return-z;if(P>V)return V}return P},S=tt.useRef(0),[{value:E},A]=ti({to:{value:-u*m},config:oe.default,immediate:!0},[u,m]),L=tt.useMemo(()=>{const P=[];for(let V=0;V<j;++V){const z=e?Vo(f+V,s.length):f+V;e===!1&&z<0||z>=s.length||P.push({index:f+V,position:(f+V)*m+(C?-m*.5:0),data:s[z]})}return P},[f,s,m,e,j,C]),$=lo(L,{keys:P=>P.index,from:{value:0},enter:{value:1},leave:{value:0},config:oe.gentle}),M=Yi.useGesture({onPointerDown:()=>{d.current=!0},onPointerUp:()=>{d.current=!1},onDragStart:()=>{i.current=!1,S.current=f*m},onDrag:({delta:[,P],down:V,movement:[z,X]})=>{if(!V)return;(Math.abs(z)>Ge||Math.abs(X)>Ge)&&(i.current=!0),S.current=I(S.current-P);const G=Math.floor(S.current/m);G!==f&&(h(G),D==null||D(b(G)),A.start({value:k(G),config:oe.stiff,immediate:!c}))},onDragEnd:({velocity:[,P],direction:[,V],movement:[z,X]})=>{if(Math.abs(z)<Ge&&Math.abs(X)<Ge)return;S.current=I(S.current-P*V*10);const G=Math.floor(S.current/m);G!==f&&(h(G),D==null||D(b(G)),A.start({value:k(G),config:oe.slow,immediate:!c}))}});return tt.useEffect(()=>{const P=u-r;h(P),A.start({value:k(P),config:oe.default,immediate:!0})},[A,k,m,u,r]),p.jsx(xc,{...M(),className:t,style:{height:a},children:$((P,V)=>p.jsx(wc,{style:{height:m,y:E.to(z=>z+V.position)},onPointerUp:()=>{if(d.current&&!i.current){const z=V.index-r;h(z),D==null||D(b(z)),A.start({value:k(z),config:oe.stiff,immediate:!c})}},children:o?p.jsx(o,{item:V.data,selected:V.index===f+r,children:V.data.label}):V.data.label}))})},gn=({children:t,Icon:n,...o})=>p.jsxs(Re,{...o,children:[t||p.jsx("span",{}),n?p.jsx(n,{}):p.jsx(gt.DropdownIcon,{})]}),jc=T.div`
|
|
994
1008
|
display: flex;
|
|
995
1009
|
align-items: center;
|
|
996
1010
|
justify-content: space-between;
|
|
997
1011
|
width: 100%;
|
|
998
|
-
`,
|
|
1012
|
+
`,Sc=T.p`
|
|
999
1013
|
font-size: var(--ddk-component-failure-card-font-size);
|
|
1000
1014
|
font-weight: var(--ddk-component-failure-card-font-weight);
|
|
1001
1015
|
letter-spacing: 0.44px;
|
|
1002
1016
|
color: var(--ddk-component-failure-card-color);
|
|
1003
1017
|
margin: 0;
|
|
1004
|
-
`,
|
|
1018
|
+
`,Cc=xt.css`
|
|
1005
1019
|
box-sizing: border-box;
|
|
1006
1020
|
border-radius: 50px;
|
|
1007
1021
|
background-color: var(--ddk-component-failure-card-background-color-red);
|
|
@@ -1009,16 +1023,16 @@
|
|
|
1009
1023
|
width: var(--ddk-component-failure-card-icon-size);
|
|
1010
1024
|
height: var(--ddk-component-failure-card-icon-size);
|
|
1011
1025
|
padding: var(--ddk-component-failure-card-icon-padding);
|
|
1012
|
-
`,
|
|
1026
|
+
`,Ic=T.div`
|
|
1013
1027
|
display: flex;
|
|
1014
1028
|
align-items: center;
|
|
1015
1029
|
gap: var(--ddk-component-failure-card-icon-gap);
|
|
1016
|
-
`,
|
|
1030
|
+
`,Pc=xt.css`
|
|
1017
1031
|
width: 40px;
|
|
1018
1032
|
height: 40px;
|
|
1019
1033
|
background-color: transparent;
|
|
1020
1034
|
color: var(--ddk-component-failure-card-color);
|
|
1021
|
-
`,
|
|
1035
|
+
`,Ec=T.div`
|
|
1022
1036
|
border-top: 1px solid var(--ddk-component-failure-card-border-color);
|
|
1023
1037
|
padding: var(--ddk-component-failure-card-padding);
|
|
1024
1038
|
width: 100%;
|
|
@@ -1029,7 +1043,7 @@
|
|
|
1029
1043
|
color: var(--ddk-component-failure-card-color);
|
|
1030
1044
|
margin: 0;
|
|
1031
1045
|
}
|
|
1032
|
-
`,
|
|
1046
|
+
`,Oc=({heading:t,message:n,onPointerDown:o})=>{const{componentModeOverride:s}=jt(),m=s==="compact";return p.jsxs(p.Fragment,{children:[p.jsxs(jc,{children:[p.jsxs(Ic,{children:[p.jsx(gt.ErrorIcon,{css:Cc}),p.jsx(Sc,{children:t})]}),m?null:p.jsx(gt.CloseIcon,{css:Pc,onPointerDown:o})]}),n&&p.jsx(Ec,{children:p.jsx("p",{children:n})}),m&&p.jsx(Tt,{mode:"primary",onPointerDown:o,children:"Close"})]})},Tc=T.div`
|
|
1033
1047
|
background-color: var(--ddk-component-table-background-color);
|
|
1034
1048
|
border-radius: var(--ddk-component-table-border-radius);
|
|
1035
1049
|
border-color: var(--ddk-component-table-border-color);
|
|
@@ -1160,44 +1174,44 @@
|
|
|
1160
1174
|
box-sizing: border-box;
|
|
1161
1175
|
padding: var(--ddk-component-table-content-padding);
|
|
1162
1176
|
}
|
|
1163
|
-
`,
|
|
1177
|
+
`,pi=(t,n)=>n.split(".").reduce((o,s)=>o==null?void 0:o[s],t),hi=({item:t,valueKey:n})=>pi(t,n),Ac=({CellRenderer:t=hi,dataKeys:n,item:o})=>n==null?void 0:n.map((s,m)=>p.jsx("td",{children:p.jsx(t,{item:o,valueKey:s},m)},m)),mi=Nt.kosComponent(({CellRenderer:t=hi,children:n,className:o,data:s,dataKeys:m,headers:y,heading:j,mode:C="standard",RowRenderer:N=Ac,tableLayout:R})=>p.jsxs(Tc,{className:o+` ${C}`,$tableLayout:R,children:[p.jsxs("table",{children:[p.jsxs("thead",{children:[j&&p.jsx("tr",{className:"heading",children:p.jsx("th",{colSpan:(y==null?void 0:y.length)??(m==null?void 0:m.length),children:j})}),y&&p.jsx("tr",{className:"headers"+(C==="info"&&j?" indent":"")+(j?"":" no-heading"),children:y==null?void 0:y.map((D,Y)=>p.jsx("th",{children:D},Y))})]}),p.jsx("tbody",{children:s==null?void 0:s.map((D,Y)=>p.jsx("tr",{className:`
|
|
1164
1178
|
data
|
|
1165
1179
|
${C==="info"&&j?" indent":""}
|
|
1166
1180
|
${j?"":" no-heading"}
|
|
1167
|
-
`,children:
|
|
1181
|
+
`,children:p.jsx(N,{CellRenderer:t,dataKeys:m,item:D})},Y))})]}),n&&p.jsx("div",{className:"content",children:n})]})),gi=t=>p.jsx(mi,{...t,mode:"info"}),Mc=T.div`
|
|
1168
1182
|
display: flex;
|
|
1169
1183
|
flex-direction: column;
|
|
1170
1184
|
justify-content: space-between;
|
|
1171
1185
|
padding: var(--ddk-component-frame-body-padding);
|
|
1172
1186
|
width: 100%;
|
|
1173
1187
|
box-sizing: border-box;
|
|
1174
|
-
`,
|
|
1188
|
+
`,Dc=({tableHead:t,tableData:n,keyList:o,tableHeaderList:s,tableLayout:m})=>p.jsx(Mc,{children:p.jsx(gi,{heading:t,dataKeys:o,data:n,headers:s,tableLayout:m})}),_c=T.div`
|
|
1175
1189
|
box-sizing: var(--ddk-component-frame-container-box-sizing);
|
|
1176
1190
|
border: var(--ddk-component-frame-container-border);
|
|
1177
1191
|
border-radius: var(--ddk-component-frame-container-border-radius);
|
|
1178
1192
|
background-color: var(--ddk-component-frame-container-background-color);
|
|
1179
1193
|
overflow: hidden;
|
|
1180
|
-
`,
|
|
1194
|
+
`,Rc=T(er)`
|
|
1181
1195
|
box-sizing: border-box;
|
|
1182
1196
|
padding: var(--ddk-component-frame-container-card-padding);
|
|
1183
1197
|
max-height: 48px;
|
|
1184
|
-
`,
|
|
1198
|
+
`,Bc=({name:t,children:n})=>p.jsxs(_c,{children:[p.jsx(Rc,{children:t}),n]});function Nc(t,n=2,o=!0){if(!+t)return"0 Bytes";const s=1024,m=n<0?0:n,y=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],j=Math.floor(Math.log(t)/Math.log(s));return`${parseFloat((t/Math.pow(s,j)).toFixed(m))}${j===0||o?" ":""}${y[j]}`}const fo=t=>t<=5?"var(--ddk-semantic-color-system-red)":t<=20?"var(--ddk-semantic-color-system-orange)":"var(--ddk-semantic-color-system-green)",$c=({defaultValue:t,key:n,modifiers:o,values:s})=>{const[m,y]=tt.useState(s.indexOf(t));return tt.useEffect(()=>{const j=C=>{const N=C.key===n,R=o&&(o.altKey===void 0||C.altKey===o.altKey)&&(o.ctrlKey===void 0||C.ctrlKey===o.ctrlKey)&&(o.shiftKey===void 0||C.shiftKey===o.shiftKey);N&&R&&y((m+1)%s.length)};return window.addEventListener("keydown",j),()=>{window.removeEventListener("keydown",j)}},[n,o,s,m]),s[m]},Lc=(t,n,o)=>{const s=o==="small"?5:10,m=100/s,y=Math.floor(n/m),j=n%m*s,C=fo(n);return t<y?C:t===y&&j>0?`linear-gradient(to right, ${C} ${j}%, #dfdede ${j}%)`:"#dfdede"},zc=T.div`
|
|
1185
1199
|
display: flex;
|
|
1186
1200
|
flex-direction: var(--ddk-component-fuel-guage-container-direction);
|
|
1187
1201
|
gap: var(--ddk-component-fuel-guage-container-gap);
|
|
1188
1202
|
width: 100%;
|
|
1189
|
-
|
|
1203
|
+
`,Fc=T.div`
|
|
1190
1204
|
display: flex;
|
|
1191
1205
|
gap: var(--ddk-component-fuel-guage-bar-container-gap);
|
|
1192
|
-
`,
|
|
1206
|
+
`,Vc=T.div`
|
|
1193
1207
|
background: ${t=>t.background};
|
|
1194
1208
|
border-radius: var(--ddk-component-fuel-gauge-bar-border-radius);
|
|
1195
1209
|
height: ${t=>t.size==="small"?"var(--ddk-component-fuel-gauge-bar-height-small)":"var(--ddk-component-fuel-gauge-bar-height-large)"};
|
|
1196
1210
|
width: 100%;
|
|
1197
|
-
`,
|
|
1211
|
+
`,Kc=T.div`
|
|
1198
1212
|
display: flex;
|
|
1199
1213
|
justify-content: space-between;
|
|
1200
|
-
`,
|
|
1214
|
+
`,Hc=({color:t,size:n="small",value:o,showBarsOverride:s=!1,subtext:m,subtextColor:y})=>{const{componentModeOverride:j}=jt(),C=j==="compact",N=j==="standard"||s,R=n==="small"?5:10,D=n==="small"?Vn:Be,Y=n==="small"?nr:dr;return y=y??t,p.jsxs(zc,{children:[p.jsxs(Kc,{children:[p.jsxs(D,{style:{color:t??C?fo(o):void 0},children:[o,"%"]}),C&&m&&p.jsx(Y,{style:{color:y},children:m})]}),N&&p.jsx(Fc,{children:[...Array(R)].map((c,g)=>p.jsx(Vc,{size:n,background:Lc(g,o,n)},g))})]})},Uc=xt.css`
|
|
1201
1215
|
display: flex;
|
|
1202
1216
|
background-color: var(--ddk-component-modal-shade-background-color);
|
|
1203
1217
|
flex-direction: column;
|
|
@@ -1225,7 +1239,7 @@
|
|
|
1225
1239
|
transform: scale(1);
|
|
1226
1240
|
}
|
|
1227
1241
|
}
|
|
1228
|
-
`,
|
|
1242
|
+
`,qc=({children:t,contain:n=!0,onClose:o,onClosed:s,show:m})=>{const y=lo(m,{initial:{opacity:0},from:{opacity:0},enter:{opacity:1},leave:{opacity:0},onDestroyed:s});return _e.createPortal(y((j,C)=>C&&p.jsx(Ue.div,{css:Uc,style:j,onPointerDown:o,children:p.jsx("div",{className:"modal",onPointerDown:N=>N.stopPropagation(),children:p.jsx(ni,{contain:n,children:t})})})),document.body)},Gc=T.div`
|
|
1229
1243
|
box-sizing: border-box;
|
|
1230
1244
|
display: flex;
|
|
1231
1245
|
gap: var(--ddk-component-modal-header-gap);
|
|
@@ -1234,20 +1248,20 @@
|
|
|
1234
1248
|
font-size: var(--ddk-component-modal-header-font-size);
|
|
1235
1249
|
width: 100%;
|
|
1236
1250
|
user-select: none;
|
|
1237
|
-
`,
|
|
1251
|
+
`,Wc=T.div`
|
|
1238
1252
|
padding-top: 1%;
|
|
1239
1253
|
padding-right: 1%;
|
|
1240
1254
|
z-index: 99;
|
|
1241
|
-
`,
|
|
1255
|
+
`,Qc=T(Gn)`
|
|
1242
1256
|
font-size: 48px;
|
|
1243
1257
|
z-index: 99999;
|
|
1244
1258
|
background-color: white;
|
|
1245
1259
|
padding: 5%;
|
|
1246
|
-
`,
|
|
1260
|
+
`,Yc=({onClose:t,title:n,closeButtonLabel:o})=>p.jsxs(Gc,{children:[p.jsx("span",{}),n,p.jsx(Wc,{children:p.jsx(Qc,{onPointerDown:t,label:o})})]}),Xc=T.div`
|
|
1247
1261
|
display: grid;
|
|
1248
1262
|
grid-template-columns: ${t=>t.noData?"1fr":"1fr 1fr 1fr"};
|
|
1249
1263
|
gap: 12px;
|
|
1250
|
-
`,
|
|
1264
|
+
`,Jc=Nt.kosComponent(({ItemRenderer:t,items:n,maxNumberOfItems:o,MoreItemsRenderer:s,NoDataItemRenderer:m})=>p.jsxs(Xc,{noData:!n||!n.length,children:[n&&n.length?(n.length>o?n.slice(0,o-1):n).map((y,j)=>p.jsx(t,{item:y},j)):p.jsx(m,{}),n&&(n==null?void 0:n.length)>o&&p.jsx(s,{})]})),Ln=T.div`
|
|
1251
1265
|
color: var(--ddk-component-info-card-color-default);
|
|
1252
1266
|
font-family: var(--ddk-component-root-font-family-default);
|
|
1253
1267
|
font-size: var(--ddk-component-info-card-font-size);
|
|
@@ -1255,7 +1269,7 @@
|
|
|
1255
1269
|
font-weight: var(--ddk-component-info-card-font-weight);
|
|
1256
1270
|
letter-spacing: 0.64px;
|
|
1257
1271
|
line-height: 135%;
|
|
1258
|
-
`,zn=
|
|
1272
|
+
`,zn=T.div`
|
|
1259
1273
|
color: var(--ddk-component-info-card-color-disabled);
|
|
1260
1274
|
font-family: var(--ddk-component-root-font-family-default);
|
|
1261
1275
|
font-size: var(--ddk-component-info-card-font-size);
|
|
@@ -1263,9 +1277,26 @@
|
|
|
1263
1277
|
font-weight: var(--ddk-component-info-card-font-weight);
|
|
1264
1278
|
letter-spacing: -0.225px;
|
|
1265
1279
|
line-height: 135%;
|
|
1266
|
-
`,
|
|
1280
|
+
`,Zc=T(Ot)`
|
|
1267
1281
|
justify-content: flex-start;
|
|
1268
|
-
`,
|
|
1282
|
+
`,td=({label:t,unavailableText:n,value:o,...s})=>{const{componentModeOverride:m}=jt();return p.jsxs(Ot,{collapse:m==="compact",...s,children:[t,m==="compact"?p.jsx(Zc,{children:o?p.jsx(Ln,{children:o}):p.jsx(zn,{children:n})}):o?p.jsx(Ln,{children:o}):p.jsx(zn,{children:n})]})},vi=t=>{const{t:n}=Nt.useKosTranslation("common");return p.jsx(td,{unavailableText:n("unavailable"),...t})},ed=T(Ot)`
|
|
1283
|
+
background-color: var(--ddk-semantic-color-system-orange-light);
|
|
1284
|
+
border-color: var(--ddk-semantic-color-system-orange);
|
|
1285
|
+
gap: var(--ddk-generic-padding-medium);
|
|
1286
|
+
padding: var(--ddk-generic-padding-large) var(--ddk-generic-padding-x-large);
|
|
1287
|
+
display: flex;
|
|
1288
|
+
align-items: flex-start;
|
|
1289
|
+
min-height: initial;
|
|
1290
|
+
`,nd=T(gt.ErrorIconWithBackground)`
|
|
1291
|
+
background-color: var(--ddk-semantic-color-system-orange);
|
|
1292
|
+
box-sizing: border-box;
|
|
1293
|
+
width: var(--ddk-component-info-message-icon-width);
|
|
1294
|
+
height: var(--ddk-component-info-message-icon-height);
|
|
1295
|
+
padding: var(--ddk-component-info-message-icon-padding);
|
|
1296
|
+
`,od=T(Kn)`
|
|
1297
|
+
color: var(--ddk-semantic-color-system-orange);
|
|
1298
|
+
flex: 1;
|
|
1299
|
+
`,rd=({children:t,...n})=>{const{componentModeOverride:o}=jt();return p.jsxs(ed,{...n,children:[p.jsx(nd,{}),p.jsx(od,{children:t})]})};var id=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bi={exports:{}};/*!
|
|
1269
1300
|
*
|
|
1270
1301
|
* react-simple-keyboard v3.6.13
|
|
1271
1302
|
* https://github.com/hodgef/react-simple-keyboard
|
|
@@ -1275,14 +1306,14 @@
|
|
|
1275
1306
|
* This source code is licensed under the MIT license found in the
|
|
1276
1307
|
* LICENSE file in the root directory of this source tree.
|
|
1277
1308
|
*
|
|
1278
|
-
*/(function(t,n){(function(o,c){t.exports=c(et)})(Jc,function(o){return function(){var c={752:function(){typeof Element>"u"||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof self<"u"&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(C){if("Element"in C){var F="classList",R="prototype",D=C.Element[R],Y=Object,s=String[R].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[R].indexOf||function(f){for(var p=0,b=this.length;p<b;p++)if(p in this&&this[p]===f)return p;return-1},e=function(f,p){this.name=f,this.code=DOMException[f],this.message=p},r=function(f,p){if(p==="")throw new e("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(p))throw new e("INVALID_CHARACTER_ERR","The token must not contain space characters.");return g.call(f,p)},a=function(f){for(var p=s.call(f.getAttribute("class")||""),b=p?p.split(/\s+/):[],y=0,P=b.length;y<P;y++)this.push(b[y]);this._updateClassName=function(){f.setAttribute("class",this.toString())}},i=a[R]=[],d=function(){return new a(this)};if(e[R]=Error[R],i.item=function(f){return this[f]||null},i.contains=function(f){return~r(this,f+"")},i.add=function(){var f,p=arguments,b=0,y=p.length,P=!1;do~r(this,f=p[b]+"")||(this.push(f),P=!0);while(++b<y);P&&this._updateClassName()},i.remove=function(){var f,p,b=arguments,y=0,P=b.length,S=!1;do for(p=r(this,f=b[y]+"");~p;)this.splice(p,1),S=!0,p=r(this,f);while(++y<P);S&&this._updateClassName()},i.toggle=function(f,p){var b=this.contains(f),y=b?p!==!0&&"remove":p!==!1&&"add";return y&&this[y](f),p===!0||p===!1?p:!b},i.replace=function(f,p){var b=r(f+"");~b&&(this.splice(b,1,p),this._updateClassName())},i.toString=function(){return this.join(" ")},Y.defineProperty){var u={get:d,enumerable:!0,configurable:!0};try{Y.defineProperty(D,F,u)}catch(f){f.number!==void 0&&f.number!==-2146823252||(u.enumerable=!1,Y.defineProperty(D,F,u))}}else Y[R].__defineGetter__&&D.__defineGetter__(F,d)}}(self),function(){var C=document.createElement("_");if(C.classList.add("c1","c2"),!C.classList.contains("c2")){var F=function(D){var Y=DOMTokenList.prototype[D];DOMTokenList.prototype[D]=function(s){var g,e=arguments.length;for(g=0;g<e;g++)s=arguments[g],Y.call(this,s)}};F("add"),F("remove")}if(C.classList.toggle("c3",!1),C.classList.contains("c3")){var R=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(D,Y){return 1 in arguments&&!this.contains(D)==!Y?Y:R.call(this,D)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(D,Y){var s=this.toString().split(" "),g=s.indexOf(D+"");~g&&(s=s.slice(g),this.remove.apply(this,s),this.add(Y),this.add.apply(this,s.slice(1)))}),C=null}())},86:function(C){C.exports=function(){var F={9662:function(s,g,e){var r=e(614),a=e(6330),i=TypeError;s.exports=function(d){if(r(d))return d;throw i(a(d)+" is not a function")}},9483:function(s,g,e){var r=e(4411),a=e(6330),i=TypeError;s.exports=function(d){if(r(d))return d;throw i(a(d)+" is not a constructor")}},6077:function(s,g,e){var r=e(614),a=String,i=TypeError;s.exports=function(d){if(typeof d=="object"||r(d))return d;throw i("Can't set "+a(d)+" as a prototype")}},1223:function(s,g,e){var r=e(5112),a=e(30),i=e(3070).f,d=r("unscopables"),u=Array.prototype;u[d]==null&&i(u,d,{configurable:!0,value:a(null)}),s.exports=function(f){u[d][f]=!0}},1530:function(s,g,e){var r=e(8710).charAt;s.exports=function(a,i,d){return i+(d?r(a,i).length:1)}},9670:function(s,g,e){var r=e(111),a=String,i=TypeError;s.exports=function(d){if(r(d))return d;throw i(a(d)+" is not an object")}},8533:function(s,g,e){var r=e(2092).forEach,a=e(9341)("forEach");s.exports=a?[].forEach:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}},8457:function(s,g,e){var r=e(9974),a=e(6916),i=e(7908),d=e(3411),u=e(7659),f=e(4411),p=e(6244),b=e(6135),y=e(4121),P=e(1246),S=Array;s.exports=function(E){var T=i(E),$=f(this),N=arguments.length,A=N>1?arguments[1]:void 0,I=A!==void 0;I&&(A=r(A,N>2?arguments[2]:void 0));var V,L,X,G,J,Q,rt=P(T),st=0;if(!rt||this===S&&u(rt))for(V=p(T),L=$?new this(V):S(V);V>st;st++)Q=I?A(T[st],st):T[st],b(L,st,Q);else for(J=(G=y(T,rt)).next,L=$?new this:[];!(X=a(J,G)).done;st++)Q=I?d(G,A,[X.value,st],!0):X.value,b(L,st,Q);return L.length=st,L}},1318:function(s,g,e){var r=e(5656),a=e(1400),i=e(6244),d=function(u){return function(f,p,b){var y,P=r(f),S=i(P),E=a(b,S);if(u&&p!=p){for(;S>E;)if((y=P[E++])!=y)return!0}else for(;S>E;E++)if((u||E in P)&&P[E]===p)return u||E||0;return!u&&-1}};s.exports={includes:d(!0),indexOf:d(!1)}},2092:function(s,g,e){var r=e(9974),a=e(1702),i=e(8361),d=e(7908),u=e(6244),f=e(5417),p=a([].push),b=function(y){var P=y==1,S=y==2,E=y==3,T=y==4,$=y==6,N=y==7,A=y==5||$;return function(I,V,L,X){for(var G,J,Q=d(I),rt=i(Q),st=r(V,L),ct=u(rt),it=0,B=X||f,O=P?B(I,ct):S||N?B(I,0):void 0;ct>it;it++)if((A||it in rt)&&(J=st(G=rt[it],it,Q),y))if(P)O[it]=J;else if(J)switch(y){case 3:return!0;case 5:return G;case 6:return it;case 2:p(O,G)}else switch(y){case 4:return!1;case 7:p(O,G)}return $?-1:E||T?T:O}};s.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6),filterReject:b(7)}},1194:function(s,g,e){var r=e(7293),a=e(5112),i=e(7392),d=a("species");s.exports=function(u){return i>=51||!r(function(){var f=[];return(f.constructor={})[d]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},9341:function(s,g,e){var r=e(7293);s.exports=function(a,i){var d=[][a];return!!d&&r(function(){d.call(null,i||function(){return 1},1)})}},3671:function(s,g,e){var r=e(9662),a=e(7908),i=e(8361),d=e(6244),u=TypeError,f=function(p){return function(b,y,P,S){r(y);var E=a(b),T=i(E),$=d(E),N=p?$-1:0,A=p?-1:1;if(P<2)for(;;){if(N in T){S=T[N],N+=A;break}if(N+=A,p?N<0:$<=N)throw u("Reduce of empty array with no initial value")}for(;p?N>=0:$>N;N+=A)N in T&&(S=y(S,T[N],N,E));return S}};s.exports={left:f(!1),right:f(!0)}},3658:function(s,g,e){var r=e(9781),a=e(3157),i=TypeError,d=Object.getOwnPropertyDescriptor,u=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();s.exports=u?function(f,p){if(a(f)&&!d(f,"length").writable)throw i("Cannot set read only .length");return f.length=p}:function(f,p){return f.length=p}},1589:function(s,g,e){var r=e(1400),a=e(6244),i=e(6135),d=Array,u=Math.max;s.exports=function(f,p,b){for(var y=a(f),P=r(p,y),S=r(b===void 0?y:b,y),E=d(u(S-P,0)),T=0;P<S;P++,T++)i(E,T,f[P]);return E.length=T,E}},206:function(s,g,e){var r=e(1702);s.exports=r([].slice)},4362:function(s,g,e){var r=e(1589),a=Math.floor,i=function(f,p){var b=f.length,y=a(b/2);return b<8?d(f,p):u(f,i(r(f,0,y),p),i(r(f,y),p),p)},d=function(f,p){for(var b,y,P=f.length,S=1;S<P;){for(y=S,b=f[S];y&&p(f[y-1],b)>0;)f[y]=f[--y];y!==S++&&(f[y]=b)}return f},u=function(f,p,b,y){for(var P=p.length,S=b.length,E=0,T=0;E<P||T<S;)f[E+T]=E<P&&T<S?y(p[E],b[T])<=0?p[E++]:b[T++]:E<P?p[E++]:b[T++];return f};s.exports=i},7475:function(s,g,e){var r=e(3157),a=e(4411),i=e(111),d=e(5112)("species"),u=Array;s.exports=function(f){var p;return r(f)&&(p=f.constructor,(a(p)&&(p===u||r(p.prototype))||i(p)&&(p=p[d])===null)&&(p=void 0)),p===void 0?u:p}},5417:function(s,g,e){var r=e(7475);s.exports=function(a,i){return new(r(a))(i===0?0:i)}},3411:function(s,g,e){var r=e(9670),a=e(9212);s.exports=function(i,d,u,f){try{return f?d(r(u)[0],u[1]):d(u)}catch(p){a(i,"throw",p)}}},7072:function(s,g,e){var r=e(5112)("iterator"),a=!1;try{var i=0,d={next:function(){return{done:!!i++}},return:function(){a=!0}};d[r]=function(){return this},Array.from(d,function(){throw 2})}catch{}s.exports=function(u,f){if(!f&&!a)return!1;var p=!1;try{var b={};b[r]=function(){return{next:function(){return{done:p=!0}}}},u(b)}catch{}return p}},4326:function(s,g,e){var r=e(1702),a=r({}.toString),i=r("".slice);s.exports=function(d){return i(a(d),8,-1)}},648:function(s,g,e){var r=e(1694),a=e(614),i=e(4326),d=e(5112)("toStringTag"),u=Object,f=i(function(){return arguments}())=="Arguments";s.exports=r?i:function(p){var b,y,P;return p===void 0?"Undefined":p===null?"Null":typeof(y=function(S,E){try{return S[E]}catch{}}(b=u(p),d))=="string"?y:f?i(b):(P=i(b))=="Object"&&a(b.callee)?"Arguments":P}},9920:function(s,g,e){var r=e(2597),a=e(3887),i=e(1236),d=e(3070);s.exports=function(u,f,p){for(var b=a(f),y=d.f,P=i.f,S=0;S<b.length;S++){var E=b[S];r(u,E)||p&&r(p,E)||y(u,E,P(f,E))}}},4964:function(s,g,e){var r=e(5112)("match");s.exports=function(a){var i=/./;try{"/./"[a](i)}catch{try{return i[r]=!1,"/./"[a](i)}catch{}}return!1}},8544:function(s,g,e){var r=e(7293);s.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},6178:function(s){s.exports=function(g,e){return{value:g,done:e}}},8880:function(s,g,e){var r=e(9781),a=e(3070),i=e(9114);s.exports=r?function(d,u,f){return a.f(d,u,i(1,f))}:function(d,u,f){return d[u]=f,d}},9114:function(s){s.exports=function(g,e){return{enumerable:!(1&g),configurable:!(2&g),writable:!(4&g),value:e}}},6135:function(s,g,e){var r=e(4948),a=e(3070),i=e(9114);s.exports=function(d,u,f){var p=r(u);p in d?a.f(d,p,i(0,f)):d[p]=f}},8709:function(s,g,e){var r=e(9670),a=e(2140),i=TypeError;s.exports=function(d){if(r(this),d==="string"||d==="default")d="string";else if(d!=="number")throw i("Incorrect hint");return a(this,d)}},7045:function(s,g,e){var r=e(6339),a=e(3070);s.exports=function(i,d,u){return u.get&&r(u.get,d,{getter:!0}),u.set&&r(u.set,d,{setter:!0}),a.f(i,d,u)}},8052:function(s,g,e){var r=e(614),a=e(3070),i=e(6339),d=e(3072);s.exports=function(u,f,p,b){b||(b={});var y=b.enumerable,P=b.name!==void 0?b.name:f;if(r(p)&&i(p,P,b),b.global)y?u[f]=p:d(f,p);else{try{b.unsafe?u[f]&&(y=!0):delete u[f]}catch{}y?u[f]=p:a.f(u,f,{value:p,enumerable:!1,configurable:!b.nonConfigurable,writable:!b.nonWritable})}return u}},3072:function(s,g,e){var r=e(7854),a=Object.defineProperty;s.exports=function(i,d){try{a(r,i,{value:d,configurable:!0,writable:!0})}catch{r[i]=d}return d}},5117:function(s,g,e){var r=e(6330),a=TypeError;s.exports=function(i,d){if(!delete i[d])throw a("Cannot delete property "+r(d)+" of "+r(i))}},9781:function(s,g,e){var r=e(7293);s.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},4154:function(s){var g=typeof document=="object"&&document.all,e=g===void 0&&g!==void 0;s.exports={all:g,IS_HTMLDDA:e}},317:function(s,g,e){var r=e(7854),a=e(111),i=r.document,d=a(i)&&a(i.createElement);s.exports=function(u){return d?i.createElement(u):{}}},7207:function(s){var g=TypeError;s.exports=function(e){if(e>9007199254740991)throw g("Maximum allowed index exceeded");return e}},8324:function(s){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(s,g,e){var r=e(317)("span").classList,a=r&&r.constructor&&r.constructor.prototype;s.exports=a===Object.prototype?void 0:a},8886:function(s,g,e){var r=e(8113).match(/firefox\/(\d+)/i);s.exports=!!r&&+r[1]},256:function(s,g,e){var r=e(8113);s.exports=/MSIE|Trident/.test(r)},5268:function(s,g,e){var r=e(4326);s.exports=typeof process<"u"&&r(process)=="process"},8113:function(s){s.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},7392:function(s,g,e){var r,a,i=e(7854),d=e(8113),u=i.process,f=i.Deno,p=u&&u.versions||f&&f.version,b=p&&p.v8;b&&(a=(r=b.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&d&&(!(r=d.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=d.match(/Chrome\/(\d+)/))&&(a=+r[1]),s.exports=a},8008:function(s,g,e){var r=e(8113).match(/AppleWebKit\/(\d+)\./);s.exports=!!r&&+r[1]},748:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(s,g,e){var r=e(7854),a=e(1236).f,i=e(8880),d=e(8052),u=e(3072),f=e(9920),p=e(4705);s.exports=function(b,y){var P,S,E,T,$,N=b.target,A=b.global,I=b.stat;if(P=A?r:I?r[N]||u(N,{}):(r[N]||{}).prototype)for(S in y){if(T=y[S],E=b.dontCallGetSet?($=a(P,S))&&$.value:P[S],!p(A?S:N+(I?".":"#")+S,b.forced)&&E!==void 0){if(typeof T==typeof E)continue;f(T,E)}(b.sham||E&&E.sham)&&i(T,"sham",!0),d(P,S,T,b)}}},7293:function(s){s.exports=function(g){try{return!!g()}catch{return!0}}},7007:function(s,g,e){e(4916);var r=e(1470),a=e(8052),i=e(2261),d=e(7293),u=e(5112),f=e(8880),p=u("species"),b=RegExp.prototype;s.exports=function(y,P,S,E){var T=u(y),$=!d(function(){var V={};return V[T]=function(){return 7},""[y](V)!=7}),N=$&&!d(function(){var V=!1,L=/a/;return y==="split"&&((L={}).constructor={},L.constructor[p]=function(){return L},L.flags="",L[T]=/./[T]),L.exec=function(){return V=!0,null},L[T](""),!V});if(!$||!N||S){var A=r(/./[T]),I=P(T,""[y],function(V,L,X,G,J){var Q=r(V),rt=L.exec;return rt===i||rt===b.exec?$&&!J?{done:!0,value:A(L,X,G)}:{done:!0,value:Q(X,L,G)}:{done:!1}});a(String.prototype,y,I[0]),a(b,T,I[1])}E&&f(b[T],"sham",!0)}},2104:function(s,g,e){var r=e(4374),a=Function.prototype,i=a.apply,d=a.call;s.exports=typeof Reflect=="object"&&Reflect.apply||(r?d.bind(i):function(){return d.apply(i,arguments)})},9974:function(s,g,e){var r=e(1470),a=e(9662),i=e(4374),d=r(r.bind);s.exports=function(u,f){return a(u),f===void 0?u:i?d(u,f):function(){return u.apply(f,arguments)}}},4374:function(s,g,e){var r=e(7293);s.exports=!r(function(){var a=(function(){}).bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},6916:function(s,g,e){var r=e(4374),a=Function.prototype.call;s.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},6530:function(s,g,e){var r=e(9781),a=e(2597),i=Function.prototype,d=r&&Object.getOwnPropertyDescriptor,u=a(i,"name"),f=u&&(function(){}).name==="something",p=u&&(!r||r&&d(i,"name").configurable);s.exports={EXISTS:u,PROPER:f,CONFIGURABLE:p}},5668:function(s,g,e){var r=e(1702),a=e(9662);s.exports=function(i,d,u){try{return r(a(Object.getOwnPropertyDescriptor(i,d)[u]))}catch{}}},1470:function(s,g,e){var r=e(4326),a=e(1702);s.exports=function(i){if(r(i)==="Function")return a(i)}},1702:function(s,g,e){var r=e(4374),a=Function.prototype,i=a.call,d=r&&a.bind.bind(i,i);s.exports=r?d:function(u){return function(){return i.apply(u,arguments)}}},5005:function(s,g,e){var r=e(7854),a=e(614);s.exports=function(i,d){return arguments.length<2?(u=r[i],a(u)?u:void 0):r[i]&&r[i][d];var u}},1246:function(s,g,e){var r=e(648),a=e(8173),i=e(8554),d=e(7497),u=e(5112)("iterator");s.exports=function(f){if(!i(f))return a(f,u)||a(f,"@@iterator")||d[r(f)]}},4121:function(s,g,e){var r=e(6916),a=e(9662),i=e(9670),d=e(6330),u=e(1246),f=TypeError;s.exports=function(p,b){var y=arguments.length<2?u(p):b;if(a(y))return i(r(y,p));throw f(d(p)+" is not iterable")}},8044:function(s,g,e){var r=e(1702),a=e(3157),i=e(614),d=e(4326),u=e(1340),f=r([].push);s.exports=function(p){if(i(p))return p;if(a(p)){for(var b=p.length,y=[],P=0;P<b;P++){var S=p[P];typeof S=="string"?f(y,S):typeof S!="number"&&d(S)!="Number"&&d(S)!="String"||f(y,u(S))}var E=y.length,T=!0;return function($,N){if(T)return T=!1,N;if(a(this))return N;for(var A=0;A<E;A++)if(y[A]===$)return N}}}},8173:function(s,g,e){var r=e(9662),a=e(8554);s.exports=function(i,d){var u=i[d];return a(u)?void 0:r(u)}},647:function(s,g,e){var r=e(1702),a=e(7908),i=Math.floor,d=r("".charAt),u=r("".replace),f=r("".slice),p=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b=/\$([$&'`]|\d{1,2})/g;s.exports=function(y,P,S,E,T,$){var N=S+y.length,A=E.length,I=b;return T!==void 0&&(T=a(T),I=p),u($,I,function(V,L){var X;switch(d(L,0)){case"$":return"$";case"&":return y;case"`":return f(P,0,S);case"'":return f(P,N);case"<":X=T[f(L,1,-1)];break;default:var G=+L;if(G===0)return V;if(G>A){var J=i(G/10);return J===0?V:J<=A?E[J-1]===void 0?d(L,1):E[J-1]+d(L,1):V}X=E[G-1]}return X===void 0?"":X})}},7854:function(s,g,e){var r=function(a){return a&&a.Math==Math&&a};s.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof e.g=="object"&&e.g)||function(){return this}()||this||Function("return this")()},2597:function(s,g,e){var r=e(1702),a=e(7908),i=r({}.hasOwnProperty);s.exports=Object.hasOwn||function(d,u){return i(a(d),u)}},3501:function(s){s.exports={}},490:function(s,g,e){var r=e(5005);s.exports=r("document","documentElement")},4664:function(s,g,e){var r=e(9781),a=e(7293),i=e(317);s.exports=!r&&!a(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7})},8361:function(s,g,e){var r=e(1702),a=e(7293),i=e(4326),d=Object,u=r("".split);s.exports=a(function(){return!d("z").propertyIsEnumerable(0)})?function(f){return i(f)=="String"?u(f,""):d(f)}:d},9587:function(s,g,e){var r=e(614),a=e(111),i=e(7674);s.exports=function(d,u,f){var p,b;return i&&r(p=u.constructor)&&p!==f&&a(b=p.prototype)&&b!==f.prototype&&i(d,b),d}},2788:function(s,g,e){var r=e(1702),a=e(614),i=e(5465),d=r(Function.toString);a(i.inspectSource)||(i.inspectSource=function(u){return d(u)}),s.exports=i.inspectSource},9909:function(s,g,e){var r,a,i,d=e(4811),u=e(7854),f=e(111),p=e(8880),b=e(2597),y=e(5465),P=e(6200),S=e(3501),E="Object already initialized",T=u.TypeError,$=u.WeakMap;if(d||y.state){var N=y.state||(y.state=new $);N.get=N.get,N.has=N.has,N.set=N.set,r=function(I,V){if(N.has(I))throw T(E);return V.facade=I,N.set(I,V),V},a=function(I){return N.get(I)||{}},i=function(I){return N.has(I)}}else{var A=P("state");S[A]=!0,r=function(I,V){if(b(I,A))throw T(E);return V.facade=I,p(I,A,V),V},a=function(I){return b(I,A)?I[A]:{}},i=function(I){return b(I,A)}}s.exports={set:r,get:a,has:i,enforce:function(I){return i(I)?a(I):r(I,{})},getterFor:function(I){return function(V){var L;if(!f(V)||(L=a(V)).type!==I)throw T("Incompatible receiver, "+I+" required");return L}}}},7659:function(s,g,e){var r=e(5112),a=e(7497),i=r("iterator"),d=Array.prototype;s.exports=function(u){return u!==void 0&&(a.Array===u||d[i]===u)}},3157:function(s,g,e){var r=e(4326);s.exports=Array.isArray||function(a){return r(a)=="Array"}},614:function(s,g,e){var r=e(4154),a=r.all;s.exports=r.IS_HTMLDDA?function(i){return typeof i=="function"||i===a}:function(i){return typeof i=="function"}},4411:function(s,g,e){var r=e(1702),a=e(7293),i=e(614),d=e(648),u=e(5005),f=e(2788),p=function(){},b=[],y=u("Reflect","construct"),P=/^\s*(?:class|function)\b/,S=r(P.exec),E=!P.exec(p),T=function(N){if(!i(N))return!1;try{return y(p,b,N),!0}catch{return!1}},$=function(N){if(!i(N))return!1;switch(d(N)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return E||!!S(P,f(N))}catch{return!0}};$.sham=!0,s.exports=!y||a(function(){var N;return T(T.call)||!T(Object)||!T(function(){N=!0})||N})?$:T},4705:function(s,g,e){var r=e(7293),a=e(614),i=/#|\.prototype\./,d=function(y,P){var S=f[u(y)];return S==b||S!=p&&(a(P)?r(P):!!P)},u=d.normalize=function(y){return String(y).replace(i,".").toLowerCase()},f=d.data={},p=d.NATIVE="N",b=d.POLYFILL="P";s.exports=d},5988:function(s,g,e){var r=e(111),a=Math.floor;s.exports=Number.isInteger||function(i){return!r(i)&&isFinite(i)&&a(i)===i}},8554:function(s){s.exports=function(g){return g==null}},111:function(s,g,e){var r=e(614),a=e(4154),i=a.all;s.exports=a.IS_HTMLDDA?function(d){return typeof d=="object"?d!==null:r(d)||d===i}:function(d){return typeof d=="object"?d!==null:r(d)}},1913:function(s){s.exports=!1},7850:function(s,g,e){var r=e(111),a=e(4326),i=e(5112)("match");s.exports=function(d){var u;return r(d)&&((u=d[i])!==void 0?!!u:a(d)=="RegExp")}},2190:function(s,g,e){var r=e(5005),a=e(614),i=e(7976),d=e(3307),u=Object;s.exports=d?function(f){return typeof f=="symbol"}:function(f){var p=r("Symbol");return a(p)&&i(p.prototype,u(f))}},9212:function(s,g,e){var r=e(6916),a=e(9670),i=e(8173);s.exports=function(d,u,f){var p,b;a(d);try{if(!(p=i(d,"return"))){if(u==="throw")throw f;return f}p=r(p,d)}catch(y){b=!0,p=y}if(u==="throw")throw f;if(b)throw p;return a(p),f}},3061:function(s,g,e){var r=e(3383).IteratorPrototype,a=e(30),i=e(9114),d=e(8003),u=e(7497),f=function(){return this};s.exports=function(p,b,y,P){var S=b+" Iterator";return p.prototype=a(r,{next:i(+!P,y)}),d(p,S,!1,!0),u[S]=f,p}},1656:function(s,g,e){var r=e(2109),a=e(6916),i=e(1913),d=e(6530),u=e(614),f=e(3061),p=e(9518),b=e(7674),y=e(8003),P=e(8880),S=e(8052),E=e(5112),T=e(7497),$=e(3383),N=d.PROPER,A=d.CONFIGURABLE,I=$.IteratorPrototype,V=$.BUGGY_SAFARI_ITERATORS,L=E("iterator"),X="keys",G="values",J="entries",Q=function(){return this};s.exports=function(rt,st,ct,it,B,O,z){f(ct,st,it);var l,v,w,x=function(q){if(q===B&&H)return H;if(!V&&q in K)return K[q];switch(q){case X:case G:case J:return function(){return new ct(this,q)}}return function(){return new ct(this)}},_=st+" Iterator",W=!1,K=rt.prototype,U=K[L]||K["@@iterator"]||B&&K[B],H=!V&&U||x(B),ot=st=="Array"&&K.entries||U;if(ot&&(l=p(ot.call(new rt)))!==Object.prototype&&l.next&&(i||p(l)===I||(b?b(l,I):u(l[L])||S(l,L,Q)),y(l,_,!0,!0),i&&(T[_]=Q)),N&&B==G&&U&&U.name!==G&&(!i&&A?P(K,"name",G):(W=!0,H=function(){return a(U,this)})),B)if(v={values:x(G),keys:O?H:x(X),entries:x(J)},z)for(w in v)(V||W||!(w in K))&&S(K,w,v[w]);else r({target:st,proto:!0,forced:V||W},v);return i&&!z||K[L]===H||S(K,L,H,{name:B}),T[st]=H,v}},3383:function(s,g,e){var r,a,i,d=e(7293),u=e(614),f=e(111),p=e(30),b=e(9518),y=e(8052),P=e(5112),S=e(1913),E=P("iterator"),T=!1;[].keys&&("next"in(i=[].keys())?(a=b(b(i)))!==Object.prototype&&(r=a):T=!0),!f(r)||d(function(){var $={};return r[E].call($)!==$})?r={}:S&&(r=p(r)),u(r[E])||y(r,E,function(){return this}),s.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:T}},7497:function(s){s.exports={}},6244:function(s,g,e){var r=e(7466);s.exports=function(a){return r(a.length)}},6339:function(s,g,e){var r=e(1702),a=e(7293),i=e(614),d=e(2597),u=e(9781),f=e(6530).CONFIGURABLE,p=e(2788),b=e(9909),y=b.enforce,P=b.get,S=String,E=Object.defineProperty,T=r("".slice),$=r("".replace),N=r([].join),A=u&&!a(function(){return E(function(){},"length",{value:8}).length!==8}),I=String(String).split("String"),V=s.exports=function(L,X,G){T(S(X),0,7)==="Symbol("&&(X="["+$(S(X),/^Symbol\(([^)]*)\)/,"$1")+"]"),G&&G.getter&&(X="get "+X),G&&G.setter&&(X="set "+X),(!d(L,"name")||f&&L.name!==X)&&(u?E(L,"name",{value:X,configurable:!0}):L.name=X),A&&G&&d(G,"arity")&&L.length!==G.arity&&E(L,"length",{value:G.arity});try{G&&d(G,"constructor")&&G.constructor?u&&E(L,"prototype",{writable:!1}):L.prototype&&(L.prototype=void 0)}catch{}var J=y(L);return d(J,"source")||(J.source=N(I,typeof X=="string"?X:"")),L};Function.prototype.toString=V(function(){return i(this)&&P(this).source||p(this)},"toString")},4758:function(s){var g=Math.ceil,e=Math.floor;s.exports=Math.trunc||function(r){var a=+r;return(a>0?e:g)(a)}},3929:function(s,g,e){var r=e(7850),a=TypeError;s.exports=function(i){if(r(i))throw a("The method doesn't accept regular expressions");return i}},1574:function(s,g,e){var r=e(9781),a=e(1702),i=e(6916),d=e(7293),u=e(1956),f=e(5181),p=e(5296),b=e(7908),y=e(8361),P=Object.assign,S=Object.defineProperty,E=a([].concat);s.exports=!P||d(function(){if(r&&P({b:1},P(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var T={},$={},N=Symbol(),A="abcdefghijklmnopqrst";return T[N]=7,A.split("").forEach(function(I){$[I]=I}),P({},T)[N]!=7||u(P({},$)).join("")!=A})?function(T,$){for(var N=b(T),A=arguments.length,I=1,V=f.f,L=p.f;A>I;)for(var X,G=y(arguments[I++]),J=V?E(u(G),V(G)):u(G),Q=J.length,rt=0;Q>rt;)X=J[rt++],r&&!i(L,G,X)||(N[X]=G[X]);return N}:P},30:function(s,g,e){var r,a=e(9670),i=e(6048),d=e(748),u=e(3501),f=e(490),p=e(317),b=e(6200),y="prototype",P="script",S=b("IE_PROTO"),E=function(){},T=function(A){return"<"+P+">"+A+"</"+P+">"},$=function(A){A.write(T("")),A.close();var I=A.parentWindow.Object;return A=null,I},N=function(){try{r=new ActiveXObject("htmlfile")}catch{}var A,I,V;N=typeof document<"u"?document.domain&&r?$(r):(I=p("iframe"),V="java"+P+":",I.style.display="none",f.appendChild(I),I.src=String(V),(A=I.contentWindow.document).open(),A.write(T("document.F=Object")),A.close(),A.F):$(r);for(var L=d.length;L--;)delete N[y][d[L]];return N()};u[S]=!0,s.exports=Object.create||function(A,I){var V;return A!==null?(E[y]=a(A),V=new E,E[y]=null,V[S]=A):V=N(),I===void 0?V:i.f(V,I)}},6048:function(s,g,e){var r=e(9781),a=e(3353),i=e(3070),d=e(9670),u=e(5656),f=e(1956);g.f=r&&!a?Object.defineProperties:function(p,b){d(p);for(var y,P=u(b),S=f(b),E=S.length,T=0;E>T;)i.f(p,y=S[T++],P[y]);return p}},3070:function(s,g,e){var r=e(9781),a=e(4664),i=e(3353),d=e(9670),u=e(4948),f=TypeError,p=Object.defineProperty,b=Object.getOwnPropertyDescriptor,y="enumerable",P="configurable",S="writable";g.f=r?i?function(E,T,$){if(d(E),T=u(T),d($),typeof E=="function"&&T==="prototype"&&"value"in $&&S in $&&!$[S]){var N=b(E,T);N&&N[S]&&(E[T]=$.value,$={configurable:P in $?$[P]:N[P],enumerable:y in $?$[y]:N[y],writable:!1})}return p(E,T,$)}:p:function(E,T,$){if(d(E),T=u(T),d($),a)try{return p(E,T,$)}catch{}if("get"in $||"set"in $)throw f("Accessors not supported");return"value"in $&&(E[T]=$.value),E}},1236:function(s,g,e){var r=e(9781),a=e(6916),i=e(5296),d=e(9114),u=e(5656),f=e(4948),p=e(2597),b=e(4664),y=Object.getOwnPropertyDescriptor;g.f=r?y:function(P,S){if(P=u(P),S=f(S),b)try{return y(P,S)}catch{}if(p(P,S))return d(!a(i.f,P,S),P[S])}},1156:function(s,g,e){var r=e(4326),a=e(5656),i=e(8006).f,d=e(1589),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];s.exports.f=function(f){return u&&r(f)=="Window"?function(p){try{return i(p)}catch{return d(u)}}(f):i(a(f))}},8006:function(s,g,e){var r=e(6324),a=e(748).concat("length","prototype");g.f=Object.getOwnPropertyNames||function(i){return r(i,a)}},5181:function(s,g){g.f=Object.getOwnPropertySymbols},9518:function(s,g,e){var r=e(2597),a=e(614),i=e(7908),d=e(6200),u=e(8544),f=d("IE_PROTO"),p=Object,b=p.prototype;s.exports=u?p.getPrototypeOf:function(y){var P=i(y);if(r(P,f))return P[f];var S=P.constructor;return a(S)&&P instanceof S?S.prototype:P instanceof p?b:null}},7976:function(s,g,e){var r=e(1702);s.exports=r({}.isPrototypeOf)},6324:function(s,g,e){var r=e(1702),a=e(2597),i=e(5656),d=e(1318).indexOf,u=e(3501),f=r([].push);s.exports=function(p,b){var y,P=i(p),S=0,E=[];for(y in P)!a(u,y)&&a(P,y)&&f(E,y);for(;b.length>S;)a(P,y=b[S++])&&(~d(E,y)||f(E,y));return E}},1956:function(s,g,e){var r=e(6324),a=e(748);s.exports=Object.keys||function(i){return r(i,a)}},5296:function(s,g){var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!e.call({1:2},1);g.f=a?function(i){var d=r(this,i);return!!d&&d.enumerable}:e},9026:function(s,g,e){var r=e(1913),a=e(7854),i=e(7293),d=e(8008);s.exports=r||!i(function(){if(!(d&&d<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete a[u]}})},7674:function(s,g,e){var r=e(5668),a=e(9670),i=e(6077);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var d,u=!1,f={};try{(d=r(Object.prototype,"__proto__","set"))(f,[]),u=f instanceof Array}catch{}return function(p,b){return a(p),i(b),u?d(p,b):p.__proto__=b,p}}():void 0)},288:function(s,g,e){var r=e(1694),a=e(648);s.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},2140:function(s,g,e){var r=e(6916),a=e(614),i=e(111),d=TypeError;s.exports=function(u,f){var p,b;if(f==="string"&&a(p=u.toString)&&!i(b=r(p,u))||a(p=u.valueOf)&&!i(b=r(p,u))||f!=="string"&&a(p=u.toString)&&!i(b=r(p,u)))return b;throw d("Can't convert object to primitive value")}},3887:function(s,g,e){var r=e(5005),a=e(1702),i=e(8006),d=e(5181),u=e(9670),f=a([].concat);s.exports=r("Reflect","ownKeys")||function(p){var b=i.f(u(p)),y=d.f;return y?f(b,y(p)):b}},857:function(s,g,e){var r=e(7854);s.exports=r},2626:function(s,g,e){var r=e(3070).f;s.exports=function(a,i,d){d in a||r(a,d,{configurable:!0,get:function(){return i[d]},set:function(u){i[d]=u}})}},7651:function(s,g,e){var r=e(6916),a=e(9670),i=e(614),d=e(4326),u=e(2261),f=TypeError;s.exports=function(p,b){var y=p.exec;if(i(y)){var P=r(y,p,b);return P!==null&&a(P),P}if(d(p)==="RegExp")return r(u,p,b);throw f("RegExp#exec called on incompatible receiver")}},2261:function(s,g,e){var r,a,i=e(6916),d=e(1702),u=e(1340),f=e(7066),p=e(2999),b=e(2309),y=e(30),P=e(9909).get,S=e(9441),E=e(7168),T=b("native-string-replace",String.prototype.replace),$=RegExp.prototype.exec,N=$,A=d("".charAt),I=d("".indexOf),V=d("".replace),L=d("".slice),X=(a=/b*/g,i($,r=/a/,"a"),i($,a,"a"),r.lastIndex!==0||a.lastIndex!==0),G=p.BROKEN_CARET,J=/()??/.exec("")[1]!==void 0;(X||J||G||S||E)&&(N=function(Q){var rt,st,ct,it,B,O,z,l=this,v=P(l),w=u(Q),x=v.raw;if(x)return x.lastIndex=l.lastIndex,rt=i(N,x,w),l.lastIndex=x.lastIndex,rt;var _=v.groups,W=G&&l.sticky,K=i(f,l),U=l.source,H=0,ot=w;if(W&&(K=V(K,"y",""),I(K,"g")===-1&&(K+="g"),ot=L(w,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&A(w,l.lastIndex-1)!==`
|
|
1279
|
-
`)&&(
|
|
1280
|
-
`)&&i.flags==="s")})},7168:function(
|
|
1281
|
-
\v\f\r \u2028\u2029\uFEFF`},2222:function(s,g,e){var r=e(2109),a=e(7293),i=e(3157),d=e(111),u=e(7908),f=e(6244),p=e(7207),b=e(6135),y=e(5417),P=e(1194),S=e(5112),E=e(7392),T=S("isConcatSpreadable"),$=E>=51||!a(function(){var A=[];return A[T]=!1,A.concat()[0]!==A}),N=function(A){if(!d(A))return!1;var I=A[T];return I!==void 0?!!I:i(A)};r({target:"Array",proto:!0,arity:1,forced:!$||!P("concat")},{concat:function(A){var I,V,L,X,G,J=u(this),Q=y(J,0),rt=0;for(I=-1,L=arguments.length;I<L;I++)if(N(G=I===-1?J:arguments[I]))for(X=f(G),p(rt+X),V=0;V<X;V++,rt++)V in G&&b(Q,rt,G[V]);else p(rt+1),b(Q,rt++,G);return Q.length=rt,Q}})},7327:function(s,g,e){var r=e(2109),a=e(2092).filter;r({target:"Array",proto:!0,forced:!e(1194)("filter")},{filter:function(i){return a(this,i,arguments.length>1?arguments[1]:void 0)}})},1038:function(s,g,e){var r=e(2109),a=e(8457);r({target:"Array",stat:!0,forced:!e(7072)(function(i){Array.from(i)})},{from:a})},6699:function(s,g,e){var r=e(2109),a=e(1318).includes,i=e(7293),d=e(1223);r({target:"Array",proto:!0,forced:i(function(){return!Array(1).includes()})},{includes:function(u){return a(this,u,arguments.length>1?arguments[1]:void 0)}}),d("includes")},2772:function(s,g,e){var r=e(2109),a=e(1470),i=e(1318).indexOf,d=e(9341),u=a([].indexOf),f=!!u&&1/u([1],1,-0)<0;r({target:"Array",proto:!0,forced:f||!d("indexOf")},{indexOf:function(p){var b=arguments.length>1?arguments[1]:void 0;return f?u(this,p,b)||0:i(this,p,b)}})},6992:function(s,g,e){var r=e(5656),a=e(1223),i=e(7497),d=e(9909),u=e(3070).f,f=e(1656),p=e(6178),b=e(1913),y=e(9781),P="Array Iterator",S=d.set,E=d.getterFor(P);s.exports=f(Array,"Array",function($,N){S(this,{type:P,target:r($),index:0,kind:N})},function(){var $=E(this),N=$.target,A=$.kind,I=$.index++;return!N||I>=N.length?($.target=void 0,p(void 0,!0)):p(A=="keys"?I:A=="values"?N[I]:[I,N[I]],!1)},"values");var T=i.Arguments=i.Array;if(a("keys"),a("values"),a("entries"),!b&&y&&T.name!=="values")try{u(T,"name",{value:"values"})}catch{}},9600:function(s,g,e){var r=e(2109),a=e(1702),i=e(8361),d=e(5656),u=e(9341),f=a([].join);r({target:"Array",proto:!0,forced:i!=Object||!u("join",",")},{join:function(p){return f(d(this),p===void 0?",":p)}})},1249:function(s,g,e){var r=e(2109),a=e(2092).map;r({target:"Array",proto:!0,forced:!e(1194)("map")},{map:function(i){return a(this,i,arguments.length>1?arguments[1]:void 0)}})},5827:function(s,g,e){var r=e(2109),a=e(3671).left,i=e(9341),d=e(7392);r({target:"Array",proto:!0,forced:!e(5268)&&d>79&&d<83||!i("reduce")},{reduce:function(u){var f=arguments.length;return a(this,u,f,f>1?arguments[1]:void 0)}})},7042:function(s,g,e){var r=e(2109),a=e(3157),i=e(4411),d=e(111),u=e(1400),f=e(6244),p=e(5656),b=e(6135),y=e(5112),P=e(1194),S=e(206),E=P("slice"),T=y("species"),$=Array,N=Math.max;r({target:"Array",proto:!0,forced:!E},{slice:function(A,I){var V,L,X,G=p(this),J=f(G),Q=u(A,J),rt=u(I===void 0?J:I,J);if(a(G)&&(V=G.constructor,(i(V)&&(V===$||a(V.prototype))||d(V)&&(V=V[T])===null)&&(V=void 0),V===$||V===void 0))return S(G,Q,rt);for(L=new(V===void 0?$:V)(N(rt-Q,0)),X=0;Q<rt;Q++,X++)Q in G&&b(L,X,G[Q]);return L.length=X,L}})},2707:function(s,g,e){var r=e(2109),a=e(1702),i=e(9662),d=e(7908),u=e(6244),f=e(5117),p=e(1340),b=e(7293),y=e(4362),P=e(9341),S=e(8886),E=e(256),T=e(7392),$=e(8008),N=[],A=a(N.sort),I=a(N.push),V=b(function(){N.sort(void 0)}),L=b(function(){N.sort(null)}),X=P("sort"),G=!b(function(){if(T)return T<70;if(!(S&&S>3)){if(E)return!0;if($)return $<603;var J,Q,rt,st,ct="";for(J=65;J<76;J++){switch(Q=String.fromCharCode(J),J){case 66:case 69:case 70:case 72:rt=3;break;case 68:case 71:rt=4;break;default:rt=2}for(st=0;st<47;st++)N.push({k:Q+st,v:rt})}for(N.sort(function(it,B){return B.v-it.v}),st=0;st<N.length;st++)Q=N[st].k.charAt(0),ct.charAt(ct.length-1)!==Q&&(ct+=Q);return ct!=="DGBEFHACIJK"}});r({target:"Array",proto:!0,forced:V||!L||!X||!G},{sort:function(J){J!==void 0&&i(J);var Q=d(this);if(G)return J===void 0?A(Q):A(Q,J);var rt,st,ct=[],it=u(Q);for(st=0;st<it;st++)st in Q&&I(ct,Q[st]);for(y(ct,function(B){return function(O,z){return z===void 0?-1:O===void 0?1:B!==void 0?+B(O,z)||0:p(O)>p(z)?1:-1}}(J)),rt=u(ct),st=0;st<rt;)Q[st]=ct[st++];for(;st<it;)f(Q,st++);return Q}})},561:function(s,g,e){var r=e(2109),a=e(7908),i=e(1400),d=e(9303),u=e(6244),f=e(3658),p=e(7207),b=e(5417),y=e(6135),P=e(5117),S=e(1194)("splice"),E=Math.max,T=Math.min;r({target:"Array",proto:!0,forced:!S},{splice:function($,N){var A,I,V,L,X,G,J=a(this),Q=u(J),rt=i($,Q),st=arguments.length;for(st===0?A=I=0:st===1?(A=0,I=Q-rt):(A=st-2,I=T(E(d(N),0),Q-rt)),p(Q+A-I),V=b(J,I),L=0;L<I;L++)(X=rt+L)in J&&y(V,L,J[X]);if(V.length=I,A<I){for(L=rt;L<Q-I;L++)G=L+A,(X=L+I)in J?J[G]=J[X]:P(J,G);for(L=Q;L>Q-I+A;L--)P(J,L-1)}else if(A>I)for(L=Q-I;L>rt;L--)G=L+A-1,(X=L+I-1)in J?J[G]=J[X]:P(J,G);for(L=0;L<A;L++)J[L+rt]=arguments[L+2];return f(J,Q-I+A),V}})},6078:function(s,g,e){var r=e(2597),a=e(8052),i=e(8709),d=e(5112)("toPrimitive"),u=Date.prototype;r(u,d)||a(u,d,i)},8309:function(s,g,e){var r=e(9781),a=e(6530).EXISTS,i=e(1702),d=e(7045),u=Function.prototype,f=i(u.toString),p=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,b=i(p.exec);r&&!a&&d(u,"name",{configurable:!0,get:function(){try{return b(p,f(this))[1]}catch{return""}}})},8862:function(s,g,e){var r=e(2109),a=e(5005),i=e(2104),d=e(6916),u=e(1702),f=e(7293),p=e(614),b=e(2190),y=e(206),P=e(8044),S=e(6293),E=String,T=a("JSON","stringify"),$=u(/./.exec),N=u("".charAt),A=u("".charCodeAt),I=u("".replace),V=u(1 .toString),L=/[\uD800-\uDFFF]/g,X=/^[\uD800-\uDBFF]$/,G=/^[\uDC00-\uDFFF]$/,J=!S||f(function(){var ct=a("Symbol")();return T([ct])!="[null]"||T({a:ct})!="{}"||T(Object(ct))!="{}"}),Q=f(function(){return T("\uDF06\uD834")!=='"\\udf06\\ud834"'||T("\uDEAD")!=='"\\udead"'}),rt=function(ct,it){var B=y(arguments),O=P(it);if(p(O)||ct!==void 0&&!b(ct))return B[1]=function(z,l){if(p(O)&&(l=d(O,this,E(z),l)),!b(l))return l},i(T,null,B)},st=function(ct,it,B){var O=N(B,it-1),z=N(B,it+1);return $(X,ct)&&!$(G,z)||$(G,ct)&&!$(X,O)?"\\u"+V(A(ct,0),16):ct};T&&r({target:"JSON",stat:!0,arity:3,forced:J||Q},{stringify:function(ct,it,B){var O=y(arguments),z=i(J?rt:T,null,O);return Q&&typeof z=="string"?I(z,L,st):z}})},9653:function(s,g,e){var r=e(2109),a=e(1913),i=e(9781),d=e(7854),u=e(857),f=e(1702),p=e(4705),b=e(2597),y=e(9587),P=e(7976),S=e(2190),E=e(7593),T=e(7293),$=e(8006).f,N=e(1236).f,A=e(3070).f,I=e(863),V=e(3111).trim,L="Number",X=d[L],G=u[L],J=X.prototype,Q=d.TypeError,rt=f("".slice),st=f("".charCodeAt),ct=function(z){var l,v,w,x,_,W,K,U,H=E(z,"number");if(S(H))throw Q("Cannot convert a Symbol value to a number");if(typeof H=="string"&&H.length>2){if(H=V(H),(l=st(H,0))===43||l===45){if((v=st(H,2))===88||v===120)return NaN}else if(l===48){switch(st(H,1)){case 66:case 98:w=2,x=49;break;case 79:case 111:w=8,x=55;break;default:return+H}for(W=(_=rt(H,2)).length,K=0;K<W;K++)if((U=st(_,K))<48||U>x)return NaN;return parseInt(_,w)}}return+H},it=p(L,!X(" 0o1")||!X("0b1")||X("+0x1")),B=function(z){var l,v=arguments.length<1?0:X(function(w){var x=E(w,"number");return typeof x=="bigint"?x:ct(x)}(z));return P(J,l=this)&&T(function(){I(l)})?y(Object(v),this,B):v};B.prototype=J,it&&!a&&(J.constructor=B),r({global:!0,constructor:!0,wrap:!0,forced:it},{Number:B});var O=function(z,l){for(var v,w=i?$(l):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),x=0;w.length>x;x++)b(l,v=w[x])&&!b(z,v)&&A(z,v,N(l,v))};a&&G&&O(u[L],G),(it||a)&&O(u[L],X)},3161:function(s,g,e){e(2109)({target:"Number",stat:!0},{isInteger:e(5988)})},9601:function(s,g,e){var r=e(2109),a=e(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},9595:function(s,g,e){var r=e(2109),a=e(9781),i=e(9026),d=e(9662),u=e(7908),f=e(3070);a&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(p,b){f.f(u(this),p,{get:d(b),enumerable:!0,configurable:!0})}})},5003:function(s,g,e){var r=e(2109),a=e(7293),i=e(5656),d=e(1236).f,u=e(9781);r({target:"Object",stat:!0,forced:!u||a(function(){d(1)}),sham:!u},{getOwnPropertyDescriptor:function(f,p){return d(i(f),p)}})},9337:function(s,g,e){var r=e(2109),a=e(9781),i=e(3887),d=e(5656),u=e(1236),f=e(6135);r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(p){for(var b,y,P=d(p),S=u.f,E=i(P),T={},$=0;E.length>$;)(y=S(P,b=E[$++]))!==void 0&&f(T,b,y);return T}})},6210:function(s,g,e){var r=e(2109),a=e(7293),i=e(1156).f;r({target:"Object",stat:!0,forced:a(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},9660:function(s,g,e){var r=e(2109),a=e(6293),i=e(7293),d=e(5181),u=e(7908);r({target:"Object",stat:!0,forced:!a||i(function(){d.f(1)})},{getOwnPropertySymbols:function(f){var p=d.f;return p?p(u(f)):[]}})},7941:function(s,g,e){var r=e(2109),a=e(7908),i=e(1956);r({target:"Object",stat:!0,forced:e(7293)(function(){i(1)})},{keys:function(d){return i(a(d))}})},1539:function(s,g,e){var r=e(1694),a=e(8052),i=e(288);r||a(Object.prototype,"toString",i,{unsafe:!0})},4603:function(s,g,e){var r=e(9781),a=e(7854),i=e(1702),d=e(4705),u=e(9587),f=e(8880),p=e(8006).f,b=e(7976),y=e(7850),P=e(1340),S=e(4706),E=e(2999),T=e(2626),$=e(8052),N=e(7293),A=e(2597),I=e(9909).enforce,V=e(6340),L=e(5112),X=e(9441),G=e(7168),J=L("match"),Q=a.RegExp,rt=Q.prototype,st=a.SyntaxError,ct=i(rt.exec),it=i("".charAt),B=i("".replace),O=i("".indexOf),z=i("".slice),l=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,v=/a/g,w=/a/g,x=new Q(v)!==v,_=E.MISSED_STICKY,W=E.UNSUPPORTED_Y;if(d("RegExp",r&&(!x||_||X||G||N(function(){return w[J]=!1,Q(v)!=v||Q(w)==w||Q(v,"i")!="/a/i"})))){for(var K=function(ot,q){var Z,at,nt,dt,mt,jt,Pt=b(rt,this),wt=y(ot),It=q===void 0,Gt=[],yt=ot;if(!Pt&&wt&&It&&ot.constructor===K)return ot;if((wt||b(rt,ot))&&(ot=ot.source,It&&(q=S(yt))),ot=ot===void 0?"":P(ot),q=q===void 0?"":P(q),yt=ot,X&&"dotAll"in v&&(at=!!q&&O(q,"s")>-1)&&(q=B(q,/s/g,"")),Z=q,_&&"sticky"in v&&(nt=!!q&&O(q,"y")>-1)&&W&&(q=B(q,/y/g,"")),G&&(dt=function(St){for(var kt,vt=St.length,Et=0,_t="",$t=[],ee={},ne=!1,Wt=!1,ge=0,Ht="";Et<=vt;Et++){if((kt=it(St,Et))==="\\")kt+=it(St,++Et);else if(kt==="]")ne=!1;else if(!ne)switch(!0){case kt==="[":ne=!0;break;case kt==="(":ct(l,z(St,Et+1))&&(Et+=2,Wt=!0),_t+=kt,ge++;continue;case(kt===">"&&Wt):if(Ht===""||A(ee,Ht))throw new st("Invalid capture group name");ee[Ht]=!0,$t[$t.length]=[Ht,ge],Wt=!1,Ht="";continue}Wt?Ht+=kt:_t+=kt}return[_t,$t]}(ot),ot=dt[0],Gt=dt[1]),mt=u(Q(ot,q),Pt?this:rt,K),(at||nt||Gt.length)&&(jt=I(mt),at&&(jt.dotAll=!0,jt.raw=K(function(St){for(var kt,vt=St.length,Et=0,_t="",$t=!1;Et<=vt;Et++)(kt=it(St,Et))!=="\\"?$t||kt!=="."?(kt==="["?$t=!0:kt==="]"&&($t=!1),_t+=kt):_t+="[\\s\\S]":_t+=kt+it(St,++Et);return _t}(ot),Z)),nt&&(jt.sticky=!0),Gt.length&&(jt.groups=Gt)),ot!==yt)try{f(mt,"source",yt===""?"(?:)":yt)}catch{}return mt},U=p(Q),H=0;U.length>H;)T(K,Q,U[H++]);rt.constructor=K,K.prototype=rt,$(a,"RegExp",K,{constructor:!0})}V("RegExp")},4916:function(s,g,e){var r=e(2109),a=e(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},9714:function(s,g,e){var r=e(6530).PROPER,a=e(8052),i=e(9670),d=e(1340),u=e(7293),f=e(4706),p="toString",b=RegExp.prototype[p],y=u(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),P=r&&b.name!=p;(y||P)&&a(RegExp.prototype,p,function(){var S=i(this);return"/"+d(S.source)+"/"+d(f(S))},{unsafe:!0})},2023:function(s,g,e){var r=e(2109),a=e(1702),i=e(3929),d=e(4488),u=e(1340),f=e(4964),p=a("".indexOf);r({target:"String",proto:!0,forced:!f("includes")},{includes:function(b){return!!~p(u(d(this)),u(i(b)),arguments.length>1?arguments[1]:void 0)}})},8783:function(s,g,e){var r=e(8710).charAt,a=e(1340),i=e(9909),d=e(1656),u=e(6178),f="String Iterator",p=i.set,b=i.getterFor(f);d(String,"String",function(y){p(this,{type:f,string:a(y),index:0})},function(){var y,P=b(this),S=P.string,E=P.index;return E>=S.length?u(void 0,!0):(y=r(S,E),P.index+=y.length,u(y,!1))})},6373:function(s,g,e){var r=e(2109),a=e(6916),i=e(1470),d=e(3061),u=e(6178),f=e(4488),p=e(7466),b=e(1340),y=e(9670),P=e(8554),S=e(4326),E=e(7850),T=e(4706),$=e(8173),N=e(8052),A=e(7293),I=e(5112),V=e(6707),L=e(1530),X=e(7651),G=e(9909),J=e(1913),Q=I("matchAll"),rt="RegExp String",st=rt+" Iterator",ct=G.set,it=G.getterFor(st),B=RegExp.prototype,O=TypeError,z=i("".indexOf),l=i("".matchAll),v=!!l&&!A(function(){l("a",/./)}),w=d(function(_,W,K,U){ct(this,{type:st,regexp:_,string:W,global:K,unicode:U,done:!1})},rt,function(){var _=it(this);if(_.done)return u(void 0,!0);var W=_.regexp,K=_.string,U=X(W,K);return U===null?(_.done=!0,u(void 0,!0)):_.global?(b(U[0])===""&&(W.lastIndex=L(K,p(W.lastIndex),_.unicode)),u(U,!1)):(_.done=!0,u(U,!1))}),x=function(_){var W,K,U,H=y(this),ot=b(_),q=V(H,RegExp),Z=b(T(H));return W=new q(q===RegExp?H.source:H,Z),K=!!~z(Z,"g"),U=!!~z(Z,"u"),W.lastIndex=p(H.lastIndex),new w(W,ot,K,U)};r({target:"String",proto:!0,forced:v},{matchAll:function(_){var W,K,U,H,ot=f(this);if(P(_)){if(v)return l(ot,_)}else{if(E(_)&&(W=b(f(T(_))),!~z(W,"g")))throw O("`.matchAll` does not allow non-global regexes");if(v)return l(ot,_);if((U=$(_,Q))===void 0&&J&&S(_)=="RegExp"&&(U=x),U)return a(U,_,ot)}return K=b(ot),H=new RegExp(_,"g"),J?a(x,H,K):H[Q](K)}}),J||Q in B||N(B,Q,x)},4723:function(s,g,e){var r=e(6916),a=e(7007),i=e(9670),d=e(8554),u=e(7466),f=e(1340),p=e(4488),b=e(8173),y=e(1530),P=e(7651);a("match",function(S,E,T){return[function($){var N=p(this),A=d($)?void 0:b($,S);return A?r(A,$,N):new RegExp($)[S](f(N))},function($){var N=i(this),A=f($),I=T(E,N,A);if(I.done)return I.value;if(!N.global)return P(N,A);var V=N.unicode;N.lastIndex=0;for(var L,X=[],G=0;(L=P(N,A))!==null;){var J=f(L[0]);X[G]=J,J===""&&(N.lastIndex=y(A,u(N.lastIndex),V)),G++}return G===0?null:X}]})},5306:function(s,g,e){var r=e(2104),a=e(6916),i=e(1702),d=e(7007),u=e(7293),f=e(9670),p=e(614),b=e(8554),y=e(9303),P=e(7466),S=e(1340),E=e(4488),T=e(1530),$=e(8173),N=e(647),A=e(7651),I=e(5112)("replace"),V=Math.max,L=Math.min,X=i([].concat),G=i([].push),J=i("".indexOf),Q=i("".slice),rt="a".replace(/./,"$0")==="$0",st=!!/./[I]&&/./[I]("a","$0")==="";d("replace",function(ct,it,B){var O=st?"$":"$0";return[function(z,l){var v=E(this),w=b(z)?void 0:$(z,I);return w?a(w,z,v,l):a(it,S(v),z,l)},function(z,l){var v=f(this),w=S(z);if(typeof l=="string"&&J(l,O)===-1&&J(l,"$<")===-1){var x=B(it,v,w,l);if(x.done)return x.value}var _=p(l);_||(l=S(l));var W=v.global;if(W){var K=v.unicode;v.lastIndex=0}for(var U=[];;){var H=A(v,w);if(H===null||(G(U,H),!W))break;S(H[0])===""&&(v.lastIndex=T(w,P(v.lastIndex),K))}for(var ot,q="",Z=0,at=0;at<U.length;at++){for(var nt=S((H=U[at])[0]),dt=V(L(y(H.index),w.length),0),mt=[],jt=1;jt<H.length;jt++)G(mt,(ot=H[jt])===void 0?ot:String(ot));var Pt=H.groups;if(_){var wt=X([nt],mt,dt,w);Pt!==void 0&&G(wt,Pt);var It=S(r(l,void 0,wt))}else It=N(nt,w,dt,mt,Pt,l);dt>=Z&&(q+=Q(w,Z,dt)+It,Z=dt+nt.length)}return q+Q(w,Z)}]},!!u(function(){var ct=/./;return ct.exec=function(){var it=[];return it.groups={a:"7"},it},"".replace(ct,"$<a>")!=="7"})||!rt||st)},3123:function(s,g,e){var r=e(2104),a=e(6916),i=e(1702),d=e(7007),u=e(9670),f=e(8554),p=e(7850),b=e(4488),y=e(6707),P=e(1530),S=e(7466),E=e(1340),T=e(8173),$=e(1589),N=e(7651),A=e(2261),I=e(2999),V=e(7293),L=I.UNSUPPORTED_Y,X=4294967295,G=Math.min,J=[].push,Q=i(/./.exec),rt=i(J),st=i("".slice),ct=!V(function(){var it=/(?:)/,B=it.exec;it.exec=function(){return B.apply(this,arguments)};var O="ab".split(it);return O.length!==2||O[0]!=="a"||O[1]!=="b"});d("split",function(it,B,O){var z;return z="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(l,v){var w=E(b(this)),x=v===void 0?X:v>>>0;if(x===0)return[];if(l===void 0)return[w];if(!p(l))return a(B,w,l,x);for(var _,W,K,U=[],H=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(l.sticky?"y":""),ot=0,q=new RegExp(l.source,H+"g");(_=a(A,q,w))&&!((W=q.lastIndex)>ot&&(rt(U,st(w,ot,_.index)),_.length>1&&_.index<w.length&&r(J,U,$(_,1)),K=_[0].length,ot=W,U.length>=x));)q.lastIndex===_.index&&q.lastIndex++;return ot===w.length?!K&&Q(q,"")||rt(U,""):rt(U,st(w,ot)),U.length>x?$(U,0,x):U}:"0".split(void 0,0).length?function(l,v){return l===void 0&&v===0?[]:a(B,this,l,v)}:B,[function(l,v){var w=b(this),x=f(l)?void 0:T(l,it);return x?a(x,l,w,v):a(z,E(w),l,v)},function(l,v){var w=u(this),x=E(l),_=O(z,w,x,v,z!==B);if(_.done)return _.value;var W=y(w,RegExp),K=w.unicode,U=(w.ignoreCase?"i":"")+(w.multiline?"m":"")+(w.unicode?"u":"")+(L?"g":"y"),H=new W(L?"^(?:"+w.source+")":w,U),ot=v===void 0?X:v>>>0;if(ot===0)return[];if(x.length===0)return N(H,x)===null?[x]:[];for(var q=0,Z=0,at=[];Z<x.length;){H.lastIndex=L?0:Z;var nt,dt=N(H,L?st(x,Z):x);if(dt===null||(nt=G(S(H.lastIndex+(L?Z:0)),x.length))===q)Z=P(x,Z,K);else{if(rt(at,st(x,q,Z)),at.length===ot)return at;for(var mt=1;mt<=dt.length-1;mt++)if(rt(at,dt[mt]),at.length===ot)return at;Z=q=nt}}return rt(at,st(x,q)),at}]},!ct,L)},3210:function(s,g,e){var r=e(2109),a=e(3111).trim;r({target:"String",proto:!0,forced:e(6091)("trim")},{trim:function(){return a(this)}})},4032:function(s,g,e){var r=e(2109),a=e(7854),i=e(6916),d=e(1702),u=e(1913),f=e(9781),p=e(6293),b=e(7293),y=e(2597),P=e(7976),S=e(9670),E=e(5656),T=e(4948),$=e(1340),N=e(9114),A=e(30),I=e(1956),V=e(8006),L=e(1156),X=e(5181),G=e(1236),J=e(3070),Q=e(6048),rt=e(5296),st=e(8052),ct=e(7045),it=e(2309),B=e(6200),O=e(3501),z=e(9711),l=e(5112),v=e(6061),w=e(6800),x=e(6532),_=e(8003),W=e(9909),K=e(2092).forEach,U=B("hidden"),H="Symbol",ot="prototype",q=W.set,Z=W.getterFor(H),at=Object[ot],nt=a.Symbol,dt=nt&&nt[ot],mt=a.TypeError,jt=a.QObject,Pt=G.f,wt=J.f,It=L.f,Gt=rt.f,yt=d([].push),St=it("symbols"),kt=it("op-symbols"),vt=it("wks"),Et=!jt||!jt[ot]||!jt[ot].findChild,_t=f&&b(function(){return A(wt({},"a",{get:function(){return wt(this,"a",{value:7}).a}})).a!=7})?function(ut,pt,ht){var bt=Pt(at,pt);bt&&delete at[pt],wt(ut,pt,ht),bt&&ut!==at&&wt(at,pt,bt)}:wt,$t=function(ut,pt){var ht=St[ut]=A(dt);return q(ht,{type:H,tag:ut,description:pt}),f||(ht.description=pt),ht},ee=function(ut,pt,ht){ut===at&&ee(kt,pt,ht),S(ut);var bt=T(pt);return S(ht),y(St,bt)?(ht.enumerable?(y(ut,U)&&ut[U][bt]&&(ut[U][bt]=!1),ht=A(ht,{enumerable:N(0,!1)})):(y(ut,U)||wt(ut,U,N(1,{})),ut[U][bt]=!0),_t(ut,bt,ht)):wt(ut,bt,ht)},ne=function(ut,pt){S(ut);var ht=E(pt),bt=I(ht).concat(bo(ht));return K(bt,function(Lt){f&&!i(Wt,ht,Lt)||ee(ut,Lt,ht[Lt])}),ut},Wt=function(ut){var pt=T(ut),ht=i(Gt,this,pt);return!(this===at&&y(St,pt)&&!y(kt,pt))&&(!(ht||!y(this,pt)||!y(St,pt)||y(this,U)&&this[U][pt])||ht)},ge=function(ut,pt){var ht=E(ut),bt=T(pt);if(ht!==at||!y(St,bt)||y(kt,bt)){var Lt=Pt(ht,bt);return!Lt||!y(St,bt)||y(ht,U)&&ht[U][bt]||(Lt.enumerable=!0),Lt}},Ht=function(ut){var pt=It(E(ut)),ht=[];return K(pt,function(bt){y(St,bt)||y(O,bt)||yt(ht,bt)}),ht},bo=function(ut){var pt=ut===at,ht=It(pt?kt:E(ut)),bt=[];return K(ht,function(Lt){!y(St,Lt)||pt&&!y(at,Lt)||yt(bt,St[Lt])}),bt};p||(nt=function(){if(P(dt,this))throw mt("Symbol is not a constructor");var ut=arguments.length&&arguments[0]!==void 0?$(arguments[0]):void 0,pt=z(ut),ht=function(bt){this===at&&i(ht,kt,bt),y(this,U)&&y(this[U],pt)&&(this[U][pt]=!1),_t(this,pt,N(1,bt))};return f&&Et&&_t(at,pt,{configurable:!0,set:ht}),$t(pt,ut)},st(dt=nt[ot],"toString",function(){return Z(this).tag}),st(nt,"withoutSetter",function(ut){return $t(z(ut),ut)}),rt.f=Wt,J.f=ee,Q.f=ne,G.f=ge,V.f=L.f=Ht,X.f=bo,v.f=function(ut){return $t(l(ut),ut)},f&&(ct(dt,"description",{configurable:!0,get:function(){return Z(this).description}}),u||st(at,"propertyIsEnumerable",Wt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!p,sham:!p},{Symbol:nt}),K(I(vt),function(ut){w(ut)}),r({target:H,stat:!0,forced:!p},{useSetter:function(){Et=!0},useSimple:function(){Et=!1}}),r({target:"Object",stat:!0,forced:!p,sham:!f},{create:function(ut,pt){return pt===void 0?A(ut):ne(A(ut),pt)},defineProperty:ee,defineProperties:ne,getOwnPropertyDescriptor:ge}),r({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ht}),x(),_(nt,H),O[U]=!0},1817:function(s,g,e){var r=e(2109),a=e(9781),i=e(7854),d=e(1702),u=e(2597),f=e(614),p=e(7976),b=e(1340),y=e(7045),P=e(9920),S=i.Symbol,E=S&&S.prototype;if(a&&f(S)&&(!("description"in E)||S().description!==void 0)){var T={},$=function(){var G=arguments.length<1||arguments[0]===void 0?void 0:b(arguments[0]),J=p(E,this)?new S(G):G===void 0?S():S(G);return G===""&&(T[J]=!0),J};P($,S),$.prototype=E,E.constructor=$;var N=String(S("test"))=="Symbol(test)",A=d(E.valueOf),I=d(E.toString),V=/^Symbol\((.*)\)[^)]+$/,L=d("".replace),X=d("".slice);y(E,"description",{configurable:!0,get:function(){var G=A(this);if(u(T,G))return"";var J=I(G),Q=N?X(J,7,-1):L(J,V,"$1");return Q===""?void 0:Q}}),r({global:!0,constructor:!0,forced:!0},{Symbol:$})}},763:function(s,g,e){var r=e(2109),a=e(5005),i=e(2597),d=e(1340),u=e(2309),f=e(2015),p=u("string-to-symbol-registry"),b=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{for:function(y){var P=d(y);if(i(p,P))return p[P];var S=a("Symbol")(P);return p[P]=S,b[S]=P,S}})},2165:function(s,g,e){e(6800)("iterator")},2526:function(s,g,e){e(4032),e(763),e(6620),e(8862),e(9660)},6620:function(s,g,e){var r=e(2109),a=e(2597),i=e(2190),d=e(6330),u=e(2309),f=e(2015),p=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{keyFor:function(b){if(!i(b))throw TypeError(d(b)+" is not a symbol");if(a(p,b))return p[b]}})},6649:function(s,g,e){var r=e(6800),a=e(6532);r("toPrimitive"),a()},3728:function(s,g,e){e(6373)},4747:function(s,g,e){var r=e(7854),a=e(8324),i=e(8509),d=e(8533),u=e(8880),f=function(b){if(b&&b.forEach!==d)try{u(b,"forEach",d)}catch{b.forEach=d}};for(var p in a)a[p]&&f(r[p]&&r[p].prototype);f(i)},3948:function(s,g,e){var r=e(7854),a=e(8324),i=e(8509),d=e(6992),u=e(8880),f=e(5112),p=f("iterator"),b=f("toStringTag"),y=d.values,P=function(E,T){if(E){if(E[p]!==y)try{u(E,p,y)}catch{E[p]=y}if(E[b]||u(E,b,T),a[T]){for(var $ in d)if(E[$]!==d[$])try{u(E,$,d[$])}catch{E[$]=d[$]}}}};for(var S in a)P(r[S]&&r[S].prototype,S);P(i,"DOMTokenList")}},R={};function D(s){var g=R[s];if(g!==void 0)return g.exports;var e=R[s]={exports:{}};return F[s].call(e.exports,e,e.exports,D),e.exports}D.d=function(s,g){for(var e in g)D.o(g,e)&&!D.o(s,e)&&Object.defineProperty(s,e,{enumerable:!0,get:g[e]})},D.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),D.o=function(s,g){return Object.prototype.hasOwnProperty.call(s,g)},D.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var Y={};return function(){function s(B){return function(O){if(Array.isArray(O))return e(O)}(B)||function(O){if(typeof Symbol<"u"&&O[Symbol.iterator]!=null||O["@@iterator"]!=null)return Array.from(O)}(B)||g(B)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1282
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function g(B,O){if(B){if(typeof B=="string")return e(B,O);var
|
|
1283
|
-
`].concat(
|
|
1284
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z,at=!0,nt=!1;return{s:function(){
|
|
1285
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function L(B,O){(O==null||O>B.length)&&(O=B.length);for(var z=0,l=new Array(O);z<O;z++)l[z]=B[z];return l}function X(B){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},X(B)}function G(B,O){var z=Object.keys(B);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(B);O&&(l=l.filter(function(v){return Object.getOwnPropertyDescriptor(B,v).enumerable})),z.push.apply(z,l)}return z}function J(B,O){for(var z=0;z<O.length;z++){var l=O[z];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(B,rt(l.key),l)}}function Q(B,O,z){return(O=rt(O))in B?Object.defineProperty(B,O,{value:z,enumerable:!0,configurable:!0,writable:!0}):B[O]=z,B}function rt(B){var O=function(z,l){if(X(z)!=="object"||z===null)return z;var v=z[Symbol.toPrimitive];if(v!==void 0){var w=v.call(z,l);if(X(w)!=="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(z)}(B,"string");return X(O)==="symbol"?O:String(O)}var st=function(){function B(l,v){var w=this;if(function(q,Z){if(!(q instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,B),Q(this,"input",void 0),Q(this,"options",void 0),Q(this,"utilities",void 0),Q(this,"caretPosition",void 0),Q(this,"caretPositionEnd",void 0),Q(this,"keyboardDOM",void 0),Q(this,"keyboardPluginClasses",void 0),Q(this,"keyboardDOMClass",void 0),Q(this,"buttonElements",void 0),Q(this,"currentInstanceName",void 0),Q(this,"allKeyboardInstances",void 0),Q(this,"keyboardInstanceNames",void 0),Q(this,"isFirstKeyboardInstance",void 0),Q(this,"physicalKeyboard",void 0),Q(this,"modules",void 0),Q(this,"activeButtonClass",void 0),Q(this,"holdInteractionTimeout",void 0),Q(this,"holdTimeout",void 0),Q(this,"isMouseHold",void 0),Q(this,"initialized",void 0),Q(this,"candidateBox",void 0),Q(this,"keyboardRowsDOM",void 0),Q(this,"defaultName","default"),Q(this,"activeInputElement",null),Q(this,"handleParams",function(q,Z){var at,nt,dt;if(typeof q=="string")at=q.split(".").join(""),nt=document.querySelector(".".concat(at)),dt=Z;else if(q instanceof HTMLDivElement){if(!q.className)throw console.warn("Any DOM element passed as parameter must have a class."),new Error("KEYBOARD_DOM_CLASS_ERROR");at=q.className.split(" ")[0],nt=q,dt=Z}else at="simple-keyboard",nt=document.querySelector(".".concat(at)),dt=q;return{keyboardDOMClass:at,keyboardDOM:nt,options:dt}}),Q(this,"getOptions",function(){return w.options}),Q(this,"getCaretPosition",function(){return w.caretPosition}),Q(this,"getCaretPositionEnd",function(){return w.caretPositionEnd}),Q(this,"registerModule",function(q,Z){w.modules[q]||(w.modules[q]={}),Z(w.modules[q])}),Q(this,"getKeyboardClassString",function(){for(var q=arguments.length,Z=new Array(q),at=0;at<q;at++)Z[at]=arguments[at];return[w.keyboardDOMClass].concat(Z).filter(function(nt){return!!nt}).join(" ")}),typeof window<"u"){var x=this.handleParams(l,v),_=x.keyboardDOMClass,W=x.keyboardDOM,K=x.options,U=K===void 0?{}:K;this.utilities=new f({getOptions:this.getOptions,getCaretPosition:this.getCaretPosition,getCaretPositionEnd:this.getCaretPositionEnd,dispatch:this.dispatch}),this.caretPosition=null,this.caretPositionEnd=null,this.keyboardDOM=W,this.options=function(q){for(var Z=1;Z<arguments.length;Z++){var at=arguments[Z]!=null?arguments[Z]:{};Z%2?G(Object(at),!0).forEach(function(nt){Q(q,nt,at[nt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(at)):G(Object(at)).forEach(function(nt){Object.defineProperty(q,nt,Object.getOwnPropertyDescriptor(at,nt))})}return q}({layoutName:"default",theme:"hg-theme-default",inputName:"default",preventMouseDownDefault:!1,enableLayoutCandidates:!0,excludeFromLayout:{}},U),this.keyboardPluginClasses="",f.bindMethods(B,this);var H=this.options.inputName,ot=H===void 0?this.defaultName:H;if(this.input={},this.input[ot]="",this.keyboardDOMClass=_,this.buttonElements={},window.SimpleKeyboardInstances||(window.SimpleKeyboardInstances={}),this.currentInstanceName=this.utilities.camelCase(this.keyboardDOMClass),window.SimpleKeyboardInstances[this.currentInstanceName]=this,this.allKeyboardInstances=window.SimpleKeyboardInstances,this.keyboardInstanceNames=Object.keys(window.SimpleKeyboardInstances),this.isFirstKeyboardInstance=this.keyboardInstanceNames[0]===this.currentInstanceName,this.physicalKeyboard=new S({dispatch:this.dispatch,getOptions:this.getOptions}),this.candidateBox=this.options.enableLayoutCandidates?new I({utilities:this.utilities,options:this.options}):null,!this.keyboardDOM)throw console.warn('".'.concat(_,'" was not found in the DOM.')),new Error("KEYBOARD_DOM_ERROR");this.render(),this.modules={},this.loadModules()}}var O,z;return O=B,z=[{key:"setCaretPosition",value:function(l){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;this.caretPosition=l,this.caretPositionEnd=v}},{key:"getInputCandidates",value:function(l){var v=this,w=this.options,x=w.layoutCandidates,_=w.layoutCandidatesCaseSensitiveMatch;if(!x||X(x)!=="object")return{};var W=Object.keys(x).filter(function(H){var ot=l.substring(0,v.getCaretPositionEnd()||0)||l,q=new RegExp("".concat(v.utilities.escapeRegex(H),"$"),_?"g":"gi");return!!V(ot.matchAll(q)).length});if(W.length>1){var K=W.sort(function(H,ot){return ot.length-H.length})[0];return{candidateKey:K,candidateValue:x[K]}}if(W.length){var U=W[0];return{candidateKey:U,candidateValue:x[U]}}return{}}},{key:"showCandidatesBox",value:function(l,v,w){var x=this;this.candidateBox&&this.candidateBox.show({candidateValue:v,targetElement:w,onSelect:function(_,W){var K=x.options,U=K.layoutCandidatesCaseSensitiveMatch,H=K.disableCandidateNormalization,ot=K.enableLayoutCandidatesKeyPress,q=_;H||(q=_.normalize("NFD"));var Z=x.getInput(x.options.inputName,!0),at=x.getCaretPositionEnd()||0,nt=Z.substring(0,at||0)||Z,dt=new RegExp("".concat(x.utilities.escapeRegex(l),"$"),U?"g":"gi"),mt=nt.replace(dt,q),jt=Z.replace(nt,mt),Pt=mt.length-nt.length,wt=(at||Z.length)+Pt;wt<0&&(wt=0),x.setInput(jt,x.options.inputName,!0),x.setCaretPosition(wt),ot&&typeof x.options.onKeyPress=="function"&&x.options.onKeyPress(_,W),typeof x.options.onChange=="function"&&x.options.onChange(x.getInput(x.options.inputName,!0),W),typeof x.options.onChangeAll=="function"&&x.options.onChangeAll(x.getAllInputs(),W)}})}},{key:"handleButtonClicked",value:function(l,v){var w=this.options,x=w.inputName,_=x===void 0?this.defaultName:x,W=w.debug;if(l!=="{//}"){this.input[_]||(this.input[_]="");var K=this.utilities.getUpdatedInput(l,this.input[_],this.caretPosition,this.caretPositionEnd);if(this.utilities.isStandardButton(l)&&this.activeInputElement&&this.input[_]&&this.input[_]===K&&this.caretPosition===0&&this.caretPositionEnd===K.length)return this.setInput("",this.options.inputName,!0),this.setCaretPosition(0),this.activeInputElement.value="",this.activeInputElement.setSelectionRange(0,0),void this.handleButtonClicked(l,v);if(typeof this.options.onKeyPress=="function"&&this.options.onKeyPress(l,v),this.input[_]!==K&&(!this.options.inputPattern||this.options.inputPattern&&this.inputPatternIsValid(K))){if(this.options.maxLength&&this.utilities.handleMaxLength(this.input,K))return;var U=this.utilities.getUpdatedInput(l,this.input[_],this.caretPosition,this.caretPositionEnd,!0);if(this.setInput(U,this.options.inputName,!0),W&&console.log("Input changed:",this.getAllInputs()),this.options.debug&&console.log("Caret at: ",this.getCaretPosition(),this.getCaretPositionEnd(),"(".concat(this.keyboardDOMClass,")"),v==null?void 0:v.type),this.options.syncInstanceInputs&&this.syncInstanceInputs(),typeof this.options.onChange=="function"&&this.options.onChange(this.getInput(this.options.inputName,!0),v),typeof this.options.onChangeAll=="function"&&this.options.onChangeAll(this.getAllInputs(),v),v!=null&&v.target&&this.options.enableLayoutCandidates){var H,ot=this.getInputCandidates(K),q=ot.candidateKey,Z=ot.candidateValue;q&&Z?this.showCandidatesBox(q,Z,this.keyboardDOM):(H=this.candidateBox)===null||H===void 0||H.destroy()}}this.caretPositionEnd&&this.caretPosition!==this.caretPositionEnd&&(this.setCaretPosition(this.caretPositionEnd,this.caretPositionEnd),this.activeInputElement&&this.activeInputElement.setSelectionRange(this.caretPositionEnd,this.caretPositionEnd),this.options.debug&&console.log("Caret position aligned",this.caretPosition)),W&&console.log("Key pressed:",l)}}},{key:"getMouseHold",value:function(){return this.isMouseHold}},{key:"setMouseHold",value:function(l){this.options.syncInstanceInputs?this.dispatch(function(v){v.isMouseHold=l}):this.isMouseHold=l}},{key:"handleButtonMouseDown",value:function(l,v){var w=this;v&&(this.options.preventMouseDownDefault&&v.preventDefault(),this.options.stopMouseDownPropagation&&v.stopPropagation(),v.target.classList.add(this.activeButtonClass)),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdTimeout&&clearTimeout(this.holdTimeout),this.setMouseHold(!0),this.options.disableButtonHold||(this.holdTimeout=window.setTimeout(function(){(w.getMouseHold()&&(!l.includes("{")&&!l.includes("}")||l==="{delete}"||l==="{backspace}"||l==="{bksp}"||l==="{space}"||l==="{tab}")||l==="{arrowright}"||l==="{arrowleft}"||l==="{arrowup}"||l==="{arrowdown}")&&(w.options.debug&&console.log("Button held:",l),w.handleButtonHold(l)),clearTimeout(w.holdTimeout)},500))}},{key:"handleButtonMouseUp",value:function(l,v){var w=this;v&&(this.options.preventMouseUpDefault&&v.preventDefault&&v.preventDefault(),this.options.stopMouseUpPropagation&&v.stopPropagation&&v.stopPropagation(),!(v.target===this.keyboardDOM||v.target&&this.keyboardDOM.contains(v.target)||this.candidateBox&&this.candidateBox.candidateBoxElement&&(v.target===this.candidateBox.candidateBoxElement||v.target&&this.candidateBox.candidateBoxElement.contains(v.target)))&&this.candidateBox&&this.candidateBox.destroy()),this.recurseButtons(function(x){x.classList.remove(w.activeButtonClass)}),this.setMouseHold(!1),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),l&&typeof this.options.onKeyReleased=="function"&&this.options.onKeyReleased(l,v)}},{key:"handleKeyboardContainerMouseDown",value:function(l){this.options.preventMouseDownDefault&&l.preventDefault()}},{key:"handleButtonHold",value:function(l){var v=this;this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdInteractionTimeout=window.setTimeout(function(){v.getMouseHold()?(v.handleButtonClicked(l),v.handleButtonHold(l)):clearTimeout(v.holdInteractionTimeout)},100)}},{key:"syncInstanceInputs",value:function(){var l=this;this.dispatch(function(v){v.replaceInput(l.input),v.setCaretPosition(l.caretPosition,l.caretPositionEnd)})}},{key:"clearInput",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName;this.input[l]="",this.setCaretPosition(0),this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"getInput",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName,v=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.options.syncInstanceInputs&&!v&&this.syncInstanceInputs(),this.options.rtl?""+this.input[l].replace("","").replace("","")+"":this.input[l]}},{key:"getAllInputs",value:function(){var l=this,v={};return Object.keys(this.input).forEach(function(w){v[w]=l.getInput(w,!0)}),v}},{key:"setInput",value:function(l){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.inputName||this.defaultName,w=arguments.length>2?arguments[2]:void 0;this.input[v]=l,!w&&this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"replaceInput",value:function(l){this.input=l}},{key:"setOptions",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=this.changedOptions(l);this.options=Object.assign(this.options,l),v.length&&(this.options.debug&&console.log("changedOptions",v),this.onSetOptions(v),this.render())}},{key:"changedOptions",value:function(l){var v=this;return Object.keys(l).filter(function(w){return JSON.stringify(l[w])!==JSON.stringify(v.options[w])})}},{key:"onSetOptions",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];l.includes("layoutName")&&this.candidateBox&&this.candidateBox.destroy(),(l.includes("layoutCandidatesPageSize")||l.includes("layoutCandidates"))&&this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=new I({utilities:this.utilities,options:this.options}))}},{key:"resetRows",value:function(){this.keyboardRowsDOM&&this.keyboardRowsDOM.remove(),this.keyboardDOM.className=this.keyboardDOMClass,this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.buttonElements={}}},{key:"dispatch",value:function(l){if(!window.SimpleKeyboardInstances)throw console.warn("SimpleKeyboardInstances is not defined. Dispatch cannot be called."),new Error("INSTANCES_VAR_ERROR");return Object.keys(window.SimpleKeyboardInstances).forEach(function(v){l(window.SimpleKeyboardInstances[v],v)})}},{key:"addButtonTheme",value:function(l,v){var w=this;v&&l&&(l.split(" ").forEach(function(x){v.split(" ").forEach(function(_){w.options.buttonTheme||(w.options.buttonTheme=[]);var W=!1;w.options.buttonTheme.map(function(K){if(K!=null&&K.class.split(" ").includes(_)){W=!0;var U=K.buttons.split(" ");U.includes(x)||(W=!0,U.push(x),K.buttons=U.join(" "))}return K}),W||w.options.buttonTheme.push({class:_,buttons:l})})}),this.render())}},{key:"removeButtonTheme",value:function(l,v){var w=this;if(!l&&!v)return this.options.buttonTheme=[],void this.render();l&&Array.isArray(this.options.buttonTheme)&&this.options.buttonTheme.length&&(l.split(" ").forEach(function(x){var _,W;(_=w.options)===null||_===void 0||(W=_.buttonTheme)===null||W===void 0||W.map(function(K,U){if(K&&v&&v.includes(K.class)||!v){var H,ot,q=(H=K)===null||H===void 0?void 0:H.buttons.split(" ").filter(function(Z){return Z!==x});K&&q!=null&&q.length?K.buttons=q.join(" "):((ot=w.options.buttonTheme)===null||ot===void 0||ot.splice(U,1),K=null)}return K})}),this.render())}},{key:"getButtonElement",value:function(l){var v,w=this.buttonElements[l];return w&&(v=w.length>1?w:w[0]),v}},{key:"inputPatternIsValid",value:function(l){var v,w=this.options.inputPattern;if((v=w instanceof RegExp?w:w[this.options.inputName||this.defaultName])&&l){var x=v.test(l);return this.options.debug&&console.log('inputPattern ("'.concat(v,'"): ').concat(x?"passed":"did not pass!")),x}return!0}},{key:"setEventListeners",value:function(){if(this.isFirstKeyboardInstance||!this.allKeyboardInstances){this.options.debug&&console.log("Caret handling started (".concat(this.keyboardDOMClass,")"));var l=this.options.physicalKeyboardHighlightPreventDefault,v=l!==void 0&&l;document.addEventListener("keyup",this.handleKeyUp,v),document.addEventListener("keydown",this.handleKeyDown,v),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("touchend",this.handleTouchEnd),document.addEventListener("selectionchange",this.handleSelectionChange),document.addEventListener("select",this.handleSelect)}}},{key:"handleKeyUp",value:function(l){this.caretEventHandler(l),this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyUp(l)}},{key:"handleKeyDown",value:function(l){this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyDown(l)}},{key:"handleMouseUp",value:function(l){this.caretEventHandler(l)}},{key:"handleTouchEnd",value:function(l){this.caretEventHandler(l)}},{key:"handleSelect",value:function(l){this.caretEventHandler(l)}},{key:"handleSelectionChange",value:function(l){navigator.userAgent.includes("Firefox")||this.caretEventHandler(l)}},{key:"caretEventHandler",value:function(l){var v,w=this;l.target.tagName&&(v=l.target.tagName.toLowerCase()),this.dispatch(function(x){var _=l.target===x.keyboardDOM||l.target&&x.keyboardDOM.contains(l.target);if(w.options.syncInstanceInputs&&Array.isArray(l.path)&&(_=l.path.some(function(U){var H;return U==null||(H=U.hasAttribute)===null||H===void 0?void 0:H.call(U,"data-skInstance")})),(v==="textarea"||v==="input"&&["text","search","url","tel","password"].includes(l.target.type))&&!x.options.disableCaretPositioning){var W=l.target.selectionStart,K=l.target.selectionEnd;x.options.rtl&&(W=x.utilities.getRtlOffset(W,x.getInput()),K=x.utilities.getRtlOffset(K,x.getInput())),x.setCaretPosition(W,K),w.activeInputElement=l.target,x.options.debug&&console.log("Caret at: ",x.getCaretPosition(),x.getCaretPositionEnd(),l&&l.target.tagName.toLowerCase(),"(".concat(x.keyboardDOMClass,")"),l==null?void 0:l.type)}else!x.options.disableCaretPositioning&&_||(l==null?void 0:l.type)==="selectionchange"||(x.setCaretPosition(null),w.activeInputElement=null,x.options.debug&&console.log('Caret position reset due to "'.concat(l==null?void 0:l.type,'" event'),l))})}},{key:"recurseButtons",value:function(l){var v=this;l&&Object.keys(this.buttonElements).forEach(function(w){return v.buttonElements[w].forEach(l)})}},{key:"destroy",value:function(){this.options.debug&&console.log("Destroying simple-keyboard instance: ".concat(this.currentInstanceName));var l=this.options.physicalKeyboardHighlightPreventDefault,v=l!==void 0&&l;document.removeEventListener("keyup",this.handleKeyUp,v),document.removeEventListener("keydown",this.handleKeyDown,v),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleTouchEnd),document.removeEventListener("select",this.handleSelect),document.removeEventListener("selectionchange",this.handleSelectionChange),document.onpointerup=null,document.ontouchend=null,document.ontouchcancel=null,document.onmouseup=null,this.recurseButtons(function(w){w&&(w.onpointerdown=null,w.onpointerup=null,w.onpointercancel=null,w.ontouchstart=null,w.ontouchend=null,w.ontouchcancel=null,w.onclick=null,w.onmousedown=null,w.onmouseup=null,w.remove(),w=null)}),this.keyboardDOM.onpointerdown=null,this.keyboardDOM.ontouchstart=null,this.keyboardDOM.onmousedown=null,this.resetRows(),this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=null),this.activeInputElement=null,this.keyboardDOM.removeAttribute("data-skInstance"),this.keyboardDOM.innerHTML="",window.SimpleKeyboardInstances[this.currentInstanceName]=null,delete window.SimpleKeyboardInstances[this.currentInstanceName],this.initialized=!1}},{key:"getButtonThemeClasses",value:function(l){var v=this.options.buttonTheme,w=[];return Array.isArray(v)&&v.forEach(function(x){if(x&&x.class&&typeof x.class=="string"&&x.buttons&&typeof x.buttons=="string"){var _=x.class.split(" ");x.buttons.split(" ").includes(l)&&(w=[].concat(V(w),V(_)))}else console.warn('Incorrect "buttonTheme". Please check the documentation.',x)}),w}},{key:"setDOMButtonAttributes",value:function(l,v){var w=this.options.buttonAttributes;Array.isArray(w)&&w.forEach(function(x){x.attribute&&typeof x.attribute=="string"&&x.value&&typeof x.value=="string"&&x.buttons&&typeof x.buttons=="string"?x.buttons.split(" ").includes(l)&&v(x.attribute,x.value):console.warn('Incorrect "buttonAttributes". Please check the documentation.',x)})}},{key:"onTouchDeviceDetected",value:function(){this.processAutoTouchEvents(),this.disableContextualWindow()}},{key:"disableContextualWindow",value:function(){window.oncontextmenu=function(l){if(l.target.classList.contains("hg-button"))return l.preventDefault(),l.stopPropagation(),!1}}},{key:"processAutoTouchEvents",value:function(){this.options.autoUseTouchEvents&&(this.options.useTouchEvents=!0,this.options.debug&&console.log("autoUseTouchEvents: Touch device detected, useTouchEvents enabled."))}},{key:"onInit",value:function(){this.options.debug&&console.log("".concat(this.keyboardDOMClass," Initialized")),this.setEventListeners(),typeof this.options.onInit=="function"&&this.options.onInit(this)}},{key:"beforeFirstRender",value:function(){this.utilities.isTouchDevice()&&this.onTouchDeviceDetected(),typeof this.options.beforeFirstRender=="function"&&this.options.beforeFirstRender(this),this.isFirstKeyboardInstance&&this.utilities.pointerEventsSupported()&&!this.options.useTouchEvents&&!this.options.useMouseEvents&&this.options.debug&&console.log("Using PointerEvents as it is supported by this browser"),this.options.useTouchEvents&&this.options.debug&&console.log("useTouchEvents has been enabled. Only touch events will be used.")}},{key:"beforeRender",value:function(){typeof this.options.beforeRender=="function"&&this.options.beforeRender(this)}},{key:"onRender",value:function(){typeof this.options.onRender=="function"&&this.options.onRender(this)}},{key:"onModulesLoaded",value:function(){typeof this.options.onModulesLoaded=="function"&&this.options.onModulesLoaded(this)}},{key:"loadModules",value:function(){var l=this;Array.isArray(this.options.modules)&&(this.options.modules.forEach(function(v){var w=new v(l);w.init&&w.init(l)}),this.keyboardPluginClasses="modules-loaded",this.render(),this.onModulesLoaded())}},{key:"getModuleProp",value:function(l,v){return!!this.modules[l]&&this.modules[l][v]}},{key:"getModulesList",value:function(){return Object.keys(this.modules)}},{key:"parseRowDOMContainers",value:function(l,v,w,x){var _=this,W=Array.from(l.children),K=0;return W.length&&w.forEach(function(U,H){var ot=x[H];if(!(ot&&ot>U))return!1;var q=U-K,Z=ot-K,at=document.createElement("div");at.className+="hg-button-container";var nt="".concat(_.options.layoutName,"-r").concat(v,"c").concat(H);at.setAttribute("data-skUID",nt);var dt=W.splice(q,Z-q+1);K=Z-q,dt.forEach(function(mt){return at.appendChild(mt)}),W.splice(q,0,at),l.innerHTML="",W.forEach(function(mt){return l.appendChild(mt)}),_.options.debug&&console.log("rowDOMContainer",dt,q,Z,K+1)}),l}},{key:"render",value:function(){var l=this;this.resetRows(),this.initialized||this.beforeFirstRender(),this.beforeRender();var v="hg-layout-".concat(this.options.layoutName),w=this.options.layout||{default:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","{lock} a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}",".com @ {space}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'{lock} A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}",".com @ {space}"]},x=this.options.useTouchEvents||!1,_=x?"hg-touch-events":"",W=this.options.useMouseEvents||!1,K=this.options.disableRowButtonContainers;this.keyboardDOM.className=this.getKeyboardClassString(this.options.theme,v,this.keyboardPluginClasses,_),this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.keyboardRowsDOM=document.createElement("div"),this.keyboardRowsDOM.className="hg-rows",w[this.options.layoutName||this.defaultName].forEach(function(U,H){var ot=U.split(" ");l.options.excludeFromLayout&&l.options.excludeFromLayout[l.options.layoutName||l.defaultName]&&(ot=ot.filter(function(nt){return l.options.excludeFromLayout&&!l.options.excludeFromLayout[l.options.layoutName||l.defaultName].includes(nt)}));var q=document.createElement("div");q.className+="hg-row";var Z=[],at=[];ot.forEach(function(nt,dt){var mt,jt=!K&&typeof nt=="string"&&nt.length>1&&nt.indexOf("[")===0,Pt=!K&&typeof nt=="string"&&nt.length>1&&nt.indexOf("]")===nt.length-1;jt&&(Z.push(dt),nt=nt.replace(/\[/g,"")),Pt&&(at.push(dt),nt=nt.replace(/\]/g,""));var wt=l.utilities.getButtonClass(nt),It=l.utilities.getButtonDisplayName(nt,l.options.display,l.options.mergeDisplay),Gt=l.options.useButtonTag?"button":"div",yt=document.createElement(Gt);yt.className+="hg-button ".concat(wt),(mt=yt.classList).add.apply(mt,V(l.getButtonThemeClasses(nt))),l.setDOMButtonAttributes(nt,function(vt,Et){yt.setAttribute(vt,Et)}),l.activeButtonClass="hg-activeButton",!l.utilities.pointerEventsSupported()||x||W?x?(yt.ontouchstart=function(vt){l.handleButtonClicked(nt,vt),l.handleButtonMouseDown(nt,vt)},yt.ontouchend=function(vt){l.handleButtonMouseUp(nt,vt)},yt.ontouchcancel=function(vt){l.handleButtonMouseUp(nt,vt)}):(yt.onclick=function(vt){l.setMouseHold(!1),typeof l.options.onKeyReleased!="function"&&l.handleButtonClicked(nt,vt)},yt.onmousedown=function(vt){typeof l.options.onKeyReleased!="function"||l.isMouseHold||l.handleButtonClicked(nt,vt),l.handleButtonMouseDown(nt,vt)},yt.onmouseup=function(vt){l.handleButtonMouseUp(nt,vt)}):(yt.onpointerdown=function(vt){l.handleButtonClicked(nt,vt),l.handleButtonMouseDown(nt,vt)},yt.onpointerup=function(vt){l.handleButtonMouseUp(nt,vt)},yt.onpointercancel=function(vt){l.handleButtonMouseUp(nt,vt)}),yt.setAttribute("data-skBtn",nt);var St="".concat(l.options.layoutName,"-r").concat(H,"b").concat(dt);yt.setAttribute("data-skBtnUID",St);var kt=document.createElement("span");kt.innerHTML=It,yt.appendChild(kt),l.buttonElements[nt]||(l.buttonElements[nt]=[]),l.buttonElements[nt].push(yt),q.appendChild(yt)}),q=l.parseRowDOMContainers(q,H,Z,at),l.keyboardRowsDOM.appendChild(q)}),this.keyboardDOM.appendChild(this.keyboardRowsDOM),this.onRender(),this.initialized||(this.initialized=!0,!this.utilities.pointerEventsSupported()||x||W?x?(document.ontouchend=function(U){return l.handleButtonMouseUp(void 0,U)},document.ontouchcancel=function(U){return l.handleButtonMouseUp(void 0,U)},this.keyboardDOM.ontouchstart=function(U){return l.handleKeyboardContainerMouseDown(U)}):x||(document.onmouseup=function(U){return l.handleButtonMouseUp(void 0,U)},this.keyboardDOM.onmousedown=function(U){return l.handleKeyboardContainerMouseDown(U)}):(document.onpointerup=function(U){return l.handleButtonMouseUp(void 0,U)},this.keyboardDOM.onpointerdown=function(U){return l.handleKeyboardContainerMouseDown(U)}),this.onInit())}}],z&&J(O.prototype,z),Object.defineProperty(O,"prototype",{writable:!1}),B}(),ct=st,it=st}(),Y}()},787:function(C){C.exports=o}},m={};function k(C){var F=m[C];if(F!==void 0)return F.exports;var R=m[C]={exports:{}};return c[C].call(R.exports,R,R.exports,k),R.exports}k.n=function(C){var F=C&&C.__esModule?function(){return C.default}:function(){return C};return k.d(F,{a:F}),F},k.d=function(C,F){for(var R in F)k.o(F,R)&&!k.o(C,R)&&Object.defineProperty(C,R,{enumerable:!0,get:F[R]})},k.o=function(C,F){return Object.prototype.hasOwnProperty.call(C,F)},k.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var j={};return function(){k.r(j),k.d(j,{KeyboardReact:function(){return r},default:function(){return a}}),k(752);var C=k(787),F=k(86),R=k.n(F);function D(i){return D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},D(i)}function Y(i,d){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(i);d&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),u.push.apply(u,f)}return u}function s(i){for(var d=1;d<arguments.length;d++){var u=arguments[d]!=null?arguments[d]:{};d%2?Y(Object(u),!0).forEach(function(f){g(i,f,u[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):Y(Object(u)).forEach(function(f){Object.defineProperty(i,f,Object.getOwnPropertyDescriptor(u,f))})}return i}function g(i,d,u){return(d=function(f){var p=function(b,y){if(D(b)!=="object"||b===null)return b;var P=b[Symbol.toPrimitive];if(P!==void 0){var S=P.call(b,y);if(D(S)!=="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(b)}(f,"string");return D(p)==="symbol"?p:String(p)}(d))in i?Object.defineProperty(i,d,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[d]=u,i}var e=function(i){return s(s({},i),{},{keyboardRef:null})},r=function(i){var d=i.baseClass||"react-simple-keyboard",u=C.useRef(null),f=C.useRef(null),p=C.useRef(null),b=C.useRef(i);return C.useEffect(function(){var y=function($){return s(s({},$),{},{theme:"simple-keyboard ".concat($.theme||"hg-theme-default")})}(i);if(!u.current){u.current=!0,y.debug&&console.log("ReactSimpleKeyboard: Init");var P=f.current,S=".".concat(d);p.current=new(R())(P||S,y),y.keyboardRef&&y.keyboardRef(p.current)}var E=function($,N){var A=e(N),I=e($);return Object.keys(A).filter(function(V){return A[V]!==I[V]})}(b.current,y);if(E.length){var T=p.current;b.current=y,T==null||T.setOptions(y),y.debug&&console.log("ReactSimpleKeyboard - setOptions called due to updated props:",E)}},[u,d,b,i]),C.createElement("div",{className:d,ref:f})},a=r}(),j}()})})(mi);var Zc=mi.exports;const td=t=>xt.css`
|
|
1309
|
+
*/(function(t,n){(function(o,s){t.exports=s(tt)})(id,function(o){return function(){var s={752:function(){typeof Element>"u"||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof self<"u"&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(C){if("Element"in C){var N="classList",R="prototype",D=C.Element[R],Y=Object,c=String[R].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[R].indexOf||function(f){for(var h=0,b=this.length;h<b;h++)if(h in this&&this[h]===f)return h;return-1},e=function(f,h){this.name=f,this.code=DOMException[f],this.message=h},r=function(f,h){if(h==="")throw new e("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(h))throw new e("INVALID_CHARACTER_ERR","The token must not contain space characters.");return g.call(f,h)},a=function(f){for(var h=c.call(f.getAttribute("class")||""),b=h?h.split(/\s+/):[],k=0,I=b.length;k<I;k++)this.push(b[k]);this._updateClassName=function(){f.setAttribute("class",this.toString())}},i=a[R]=[],d=function(){return new a(this)};if(e[R]=Error[R],i.item=function(f){return this[f]||null},i.contains=function(f){return~r(this,f+"")},i.add=function(){var f,h=arguments,b=0,k=h.length,I=!1;do~r(this,f=h[b]+"")||(this.push(f),I=!0);while(++b<k);I&&this._updateClassName()},i.remove=function(){var f,h,b=arguments,k=0,I=b.length,S=!1;do for(h=r(this,f=b[k]+"");~h;)this.splice(h,1),S=!0,h=r(this,f);while(++k<I);S&&this._updateClassName()},i.toggle=function(f,h){var b=this.contains(f),k=b?h!==!0&&"remove":h!==!1&&"add";return k&&this[k](f),h===!0||h===!1?h:!b},i.replace=function(f,h){var b=r(f+"");~b&&(this.splice(b,1,h),this._updateClassName())},i.toString=function(){return this.join(" ")},Y.defineProperty){var u={get:d,enumerable:!0,configurable:!0};try{Y.defineProperty(D,N,u)}catch(f){f.number!==void 0&&f.number!==-2146823252||(u.enumerable=!1,Y.defineProperty(D,N,u))}}else Y[R].__defineGetter__&&D.__defineGetter__(N,d)}}(self),function(){var C=document.createElement("_");if(C.classList.add("c1","c2"),!C.classList.contains("c2")){var N=function(D){var Y=DOMTokenList.prototype[D];DOMTokenList.prototype[D]=function(c){var g,e=arguments.length;for(g=0;g<e;g++)c=arguments[g],Y.call(this,c)}};N("add"),N("remove")}if(C.classList.toggle("c3",!1),C.classList.contains("c3")){var R=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(D,Y){return 1 in arguments&&!this.contains(D)==!Y?Y:R.call(this,D)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(D,Y){var c=this.toString().split(" "),g=c.indexOf(D+"");~g&&(c=c.slice(g),this.remove.apply(this,c),this.add(Y),this.add.apply(this,c.slice(1)))}),C=null}())},86:function(C){C.exports=function(){var N={9662:function(c,g,e){var r=e(614),a=e(6330),i=TypeError;c.exports=function(d){if(r(d))return d;throw i(a(d)+" is not a function")}},9483:function(c,g,e){var r=e(4411),a=e(6330),i=TypeError;c.exports=function(d){if(r(d))return d;throw i(a(d)+" is not a constructor")}},6077:function(c,g,e){var r=e(614),a=String,i=TypeError;c.exports=function(d){if(typeof d=="object"||r(d))return d;throw i("Can't set "+a(d)+" as a prototype")}},1223:function(c,g,e){var r=e(5112),a=e(30),i=e(3070).f,d=r("unscopables"),u=Array.prototype;u[d]==null&&i(u,d,{configurable:!0,value:a(null)}),c.exports=function(f){u[d][f]=!0}},1530:function(c,g,e){var r=e(8710).charAt;c.exports=function(a,i,d){return i+(d?r(a,i).length:1)}},9670:function(c,g,e){var r=e(111),a=String,i=TypeError;c.exports=function(d){if(r(d))return d;throw i(a(d)+" is not an object")}},8533:function(c,g,e){var r=e(2092).forEach,a=e(9341)("forEach");c.exports=a?[].forEach:function(i){return r(this,i,arguments.length>1?arguments[1]:void 0)}},8457:function(c,g,e){var r=e(9974),a=e(6916),i=e(7908),d=e(3411),u=e(7659),f=e(4411),h=e(6244),b=e(6135),k=e(4121),I=e(1246),S=Array;c.exports=function(E){var A=i(E),L=f(this),$=arguments.length,M=$>1?arguments[1]:void 0,P=M!==void 0;P&&(M=r(M,$>2?arguments[2]:void 0));var V,z,X,G,J,Q,rt=I(A),st=0;if(!rt||this===S&&u(rt))for(V=h(A),z=L?new this(V):S(V);V>st;st++)Q=P?M(A[st],st):A[st],b(z,st,Q);else for(J=(G=k(A,rt)).next,z=L?new this:[];!(X=a(J,G)).done;st++)Q=P?d(G,M,[X.value,st],!0):X.value,b(z,st,Q);return z.length=st,z}},1318:function(c,g,e){var r=e(5656),a=e(1400),i=e(6244),d=function(u){return function(f,h,b){var k,I=r(f),S=i(I),E=a(b,S);if(u&&h!=h){for(;S>E;)if((k=I[E++])!=k)return!0}else for(;S>E;E++)if((u||E in I)&&I[E]===h)return u||E||0;return!u&&-1}};c.exports={includes:d(!0),indexOf:d(!1)}},2092:function(c,g,e){var r=e(9974),a=e(1702),i=e(8361),d=e(7908),u=e(6244),f=e(5417),h=a([].push),b=function(k){var I=k==1,S=k==2,E=k==3,A=k==4,L=k==6,$=k==7,M=k==5||L;return function(P,V,z,X){for(var G,J,Q=d(P),rt=i(Q),st=r(V,z),ct=u(rt),it=0,B=X||f,O=I?B(P,ct):S||$?B(P,0):void 0;ct>it;it++)if((M||it in rt)&&(J=st(G=rt[it],it,Q),k))if(I)O[it]=J;else if(J)switch(k){case 3:return!0;case 5:return G;case 6:return it;case 2:h(O,G)}else switch(k){case 4:return!1;case 7:h(O,G)}return L?-1:E||A?A:O}};c.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6),filterReject:b(7)}},1194:function(c,g,e){var r=e(7293),a=e(5112),i=e(7392),d=a("species");c.exports=function(u){return i>=51||!r(function(){var f=[];return(f.constructor={})[d]=function(){return{foo:1}},f[u](Boolean).foo!==1})}},9341:function(c,g,e){var r=e(7293);c.exports=function(a,i){var d=[][a];return!!d&&r(function(){d.call(null,i||function(){return 1},1)})}},3671:function(c,g,e){var r=e(9662),a=e(7908),i=e(8361),d=e(6244),u=TypeError,f=function(h){return function(b,k,I,S){r(k);var E=a(b),A=i(E),L=d(E),$=h?L-1:0,M=h?-1:1;if(I<2)for(;;){if($ in A){S=A[$],$+=M;break}if($+=M,h?$<0:L<=$)throw u("Reduce of empty array with no initial value")}for(;h?$>=0:L>$;$+=M)$ in A&&(S=k(S,A[$],$,E));return S}};c.exports={left:f(!1),right:f(!0)}},3658:function(c,g,e){var r=e(9781),a=e(3157),i=TypeError,d=Object.getOwnPropertyDescriptor,u=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();c.exports=u?function(f,h){if(a(f)&&!d(f,"length").writable)throw i("Cannot set read only .length");return f.length=h}:function(f,h){return f.length=h}},1589:function(c,g,e){var r=e(1400),a=e(6244),i=e(6135),d=Array,u=Math.max;c.exports=function(f,h,b){for(var k=a(f),I=r(h,k),S=r(b===void 0?k:b,k),E=d(u(S-I,0)),A=0;I<S;I++,A++)i(E,A,f[I]);return E.length=A,E}},206:function(c,g,e){var r=e(1702);c.exports=r([].slice)},4362:function(c,g,e){var r=e(1589),a=Math.floor,i=function(f,h){var b=f.length,k=a(b/2);return b<8?d(f,h):u(f,i(r(f,0,k),h),i(r(f,k),h),h)},d=function(f,h){for(var b,k,I=f.length,S=1;S<I;){for(k=S,b=f[S];k&&h(f[k-1],b)>0;)f[k]=f[--k];k!==S++&&(f[k]=b)}return f},u=function(f,h,b,k){for(var I=h.length,S=b.length,E=0,A=0;E<I||A<S;)f[E+A]=E<I&&A<S?k(h[E],b[A])<=0?h[E++]:b[A++]:E<I?h[E++]:b[A++];return f};c.exports=i},7475:function(c,g,e){var r=e(3157),a=e(4411),i=e(111),d=e(5112)("species"),u=Array;c.exports=function(f){var h;return r(f)&&(h=f.constructor,(a(h)&&(h===u||r(h.prototype))||i(h)&&(h=h[d])===null)&&(h=void 0)),h===void 0?u:h}},5417:function(c,g,e){var r=e(7475);c.exports=function(a,i){return new(r(a))(i===0?0:i)}},3411:function(c,g,e){var r=e(9670),a=e(9212);c.exports=function(i,d,u,f){try{return f?d(r(u)[0],u[1]):d(u)}catch(h){a(i,"throw",h)}}},7072:function(c,g,e){var r=e(5112)("iterator"),a=!1;try{var i=0,d={next:function(){return{done:!!i++}},return:function(){a=!0}};d[r]=function(){return this},Array.from(d,function(){throw 2})}catch{}c.exports=function(u,f){if(!f&&!a)return!1;var h=!1;try{var b={};b[r]=function(){return{next:function(){return{done:h=!0}}}},u(b)}catch{}return h}},4326:function(c,g,e){var r=e(1702),a=r({}.toString),i=r("".slice);c.exports=function(d){return i(a(d),8,-1)}},648:function(c,g,e){var r=e(1694),a=e(614),i=e(4326),d=e(5112)("toStringTag"),u=Object,f=i(function(){return arguments}())=="Arguments";c.exports=r?i:function(h){var b,k,I;return h===void 0?"Undefined":h===null?"Null":typeof(k=function(S,E){try{return S[E]}catch{}}(b=u(h),d))=="string"?k:f?i(b):(I=i(b))=="Object"&&a(b.callee)?"Arguments":I}},9920:function(c,g,e){var r=e(2597),a=e(3887),i=e(1236),d=e(3070);c.exports=function(u,f,h){for(var b=a(f),k=d.f,I=i.f,S=0;S<b.length;S++){var E=b[S];r(u,E)||h&&r(h,E)||k(u,E,I(f,E))}}},4964:function(c,g,e){var r=e(5112)("match");c.exports=function(a){var i=/./;try{"/./"[a](i)}catch{try{return i[r]=!1,"/./"[a](i)}catch{}}return!1}},8544:function(c,g,e){var r=e(7293);c.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},6178:function(c){c.exports=function(g,e){return{value:g,done:e}}},8880:function(c,g,e){var r=e(9781),a=e(3070),i=e(9114);c.exports=r?function(d,u,f){return a.f(d,u,i(1,f))}:function(d,u,f){return d[u]=f,d}},9114:function(c){c.exports=function(g,e){return{enumerable:!(1&g),configurable:!(2&g),writable:!(4&g),value:e}}},6135:function(c,g,e){var r=e(4948),a=e(3070),i=e(9114);c.exports=function(d,u,f){var h=r(u);h in d?a.f(d,h,i(0,f)):d[h]=f}},8709:function(c,g,e){var r=e(9670),a=e(2140),i=TypeError;c.exports=function(d){if(r(this),d==="string"||d==="default")d="string";else if(d!=="number")throw i("Incorrect hint");return a(this,d)}},7045:function(c,g,e){var r=e(6339),a=e(3070);c.exports=function(i,d,u){return u.get&&r(u.get,d,{getter:!0}),u.set&&r(u.set,d,{setter:!0}),a.f(i,d,u)}},8052:function(c,g,e){var r=e(614),a=e(3070),i=e(6339),d=e(3072);c.exports=function(u,f,h,b){b||(b={});var k=b.enumerable,I=b.name!==void 0?b.name:f;if(r(h)&&i(h,I,b),b.global)k?u[f]=h:d(f,h);else{try{b.unsafe?u[f]&&(k=!0):delete u[f]}catch{}k?u[f]=h:a.f(u,f,{value:h,enumerable:!1,configurable:!b.nonConfigurable,writable:!b.nonWritable})}return u}},3072:function(c,g,e){var r=e(7854),a=Object.defineProperty;c.exports=function(i,d){try{a(r,i,{value:d,configurable:!0,writable:!0})}catch{r[i]=d}return d}},5117:function(c,g,e){var r=e(6330),a=TypeError;c.exports=function(i,d){if(!delete i[d])throw a("Cannot delete property "+r(d)+" of "+r(i))}},9781:function(c,g,e){var r=e(7293);c.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},4154:function(c){var g=typeof document=="object"&&document.all,e=g===void 0&&g!==void 0;c.exports={all:g,IS_HTMLDDA:e}},317:function(c,g,e){var r=e(7854),a=e(111),i=r.document,d=a(i)&&a(i.createElement);c.exports=function(u){return d?i.createElement(u):{}}},7207:function(c){var g=TypeError;c.exports=function(e){if(e>9007199254740991)throw g("Maximum allowed index exceeded");return e}},8324:function(c){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(c,g,e){var r=e(317)("span").classList,a=r&&r.constructor&&r.constructor.prototype;c.exports=a===Object.prototype?void 0:a},8886:function(c,g,e){var r=e(8113).match(/firefox\/(\d+)/i);c.exports=!!r&&+r[1]},256:function(c,g,e){var r=e(8113);c.exports=/MSIE|Trident/.test(r)},5268:function(c,g,e){var r=e(4326);c.exports=typeof process<"u"&&r(process)=="process"},8113:function(c){c.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},7392:function(c,g,e){var r,a,i=e(7854),d=e(8113),u=i.process,f=i.Deno,h=u&&u.versions||f&&f.version,b=h&&h.v8;b&&(a=(r=b.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&d&&(!(r=d.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=d.match(/Chrome\/(\d+)/))&&(a=+r[1]),c.exports=a},8008:function(c,g,e){var r=e(8113).match(/AppleWebKit\/(\d+)\./);c.exports=!!r&&+r[1]},748:function(c){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(c,g,e){var r=e(7854),a=e(1236).f,i=e(8880),d=e(8052),u=e(3072),f=e(9920),h=e(4705);c.exports=function(b,k){var I,S,E,A,L,$=b.target,M=b.global,P=b.stat;if(I=M?r:P?r[$]||u($,{}):(r[$]||{}).prototype)for(S in k){if(A=k[S],E=b.dontCallGetSet?(L=a(I,S))&&L.value:I[S],!h(M?S:$+(P?".":"#")+S,b.forced)&&E!==void 0){if(typeof A==typeof E)continue;f(A,E)}(b.sham||E&&E.sham)&&i(A,"sham",!0),d(I,S,A,b)}}},7293:function(c){c.exports=function(g){try{return!!g()}catch{return!0}}},7007:function(c,g,e){e(4916);var r=e(1470),a=e(8052),i=e(2261),d=e(7293),u=e(5112),f=e(8880),h=u("species"),b=RegExp.prototype;c.exports=function(k,I,S,E){var A=u(k),L=!d(function(){var V={};return V[A]=function(){return 7},""[k](V)!=7}),$=L&&!d(function(){var V=!1,z=/a/;return k==="split"&&((z={}).constructor={},z.constructor[h]=function(){return z},z.flags="",z[A]=/./[A]),z.exec=function(){return V=!0,null},z[A](""),!V});if(!L||!$||S){var M=r(/./[A]),P=I(A,""[k],function(V,z,X,G,J){var Q=r(V),rt=z.exec;return rt===i||rt===b.exec?L&&!J?{done:!0,value:M(z,X,G)}:{done:!0,value:Q(X,z,G)}:{done:!1}});a(String.prototype,k,P[0]),a(b,A,P[1])}E&&f(b[A],"sham",!0)}},2104:function(c,g,e){var r=e(4374),a=Function.prototype,i=a.apply,d=a.call;c.exports=typeof Reflect=="object"&&Reflect.apply||(r?d.bind(i):function(){return d.apply(i,arguments)})},9974:function(c,g,e){var r=e(1470),a=e(9662),i=e(4374),d=r(r.bind);c.exports=function(u,f){return a(u),f===void 0?u:i?d(u,f):function(){return u.apply(f,arguments)}}},4374:function(c,g,e){var r=e(7293);c.exports=!r(function(){var a=(function(){}).bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},6916:function(c,g,e){var r=e(4374),a=Function.prototype.call;c.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},6530:function(c,g,e){var r=e(9781),a=e(2597),i=Function.prototype,d=r&&Object.getOwnPropertyDescriptor,u=a(i,"name"),f=u&&(function(){}).name==="something",h=u&&(!r||r&&d(i,"name").configurable);c.exports={EXISTS:u,PROPER:f,CONFIGURABLE:h}},5668:function(c,g,e){var r=e(1702),a=e(9662);c.exports=function(i,d,u){try{return r(a(Object.getOwnPropertyDescriptor(i,d)[u]))}catch{}}},1470:function(c,g,e){var r=e(4326),a=e(1702);c.exports=function(i){if(r(i)==="Function")return a(i)}},1702:function(c,g,e){var r=e(4374),a=Function.prototype,i=a.call,d=r&&a.bind.bind(i,i);c.exports=r?d:function(u){return function(){return i.apply(u,arguments)}}},5005:function(c,g,e){var r=e(7854),a=e(614);c.exports=function(i,d){return arguments.length<2?(u=r[i],a(u)?u:void 0):r[i]&&r[i][d];var u}},1246:function(c,g,e){var r=e(648),a=e(8173),i=e(8554),d=e(7497),u=e(5112)("iterator");c.exports=function(f){if(!i(f))return a(f,u)||a(f,"@@iterator")||d[r(f)]}},4121:function(c,g,e){var r=e(6916),a=e(9662),i=e(9670),d=e(6330),u=e(1246),f=TypeError;c.exports=function(h,b){var k=arguments.length<2?u(h):b;if(a(k))return i(r(k,h));throw f(d(h)+" is not iterable")}},8044:function(c,g,e){var r=e(1702),a=e(3157),i=e(614),d=e(4326),u=e(1340),f=r([].push);c.exports=function(h){if(i(h))return h;if(a(h)){for(var b=h.length,k=[],I=0;I<b;I++){var S=h[I];typeof S=="string"?f(k,S):typeof S!="number"&&d(S)!="Number"&&d(S)!="String"||f(k,u(S))}var E=k.length,A=!0;return function(L,$){if(A)return A=!1,$;if(a(this))return $;for(var M=0;M<E;M++)if(k[M]===L)return $}}}},8173:function(c,g,e){var r=e(9662),a=e(8554);c.exports=function(i,d){var u=i[d];return a(u)?void 0:r(u)}},647:function(c,g,e){var r=e(1702),a=e(7908),i=Math.floor,d=r("".charAt),u=r("".replace),f=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,b=/\$([$&'`]|\d{1,2})/g;c.exports=function(k,I,S,E,A,L){var $=S+k.length,M=E.length,P=b;return A!==void 0&&(A=a(A),P=h),u(L,P,function(V,z){var X;switch(d(z,0)){case"$":return"$";case"&":return k;case"`":return f(I,0,S);case"'":return f(I,$);case"<":X=A[f(z,1,-1)];break;default:var G=+z;if(G===0)return V;if(G>M){var J=i(G/10);return J===0?V:J<=M?E[J-1]===void 0?d(z,1):E[J-1]+d(z,1):V}X=E[G-1]}return X===void 0?"":X})}},7854:function(c,g,e){var r=function(a){return a&&a.Math==Math&&a};c.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof e.g=="object"&&e.g)||function(){return this}()||this||Function("return this")()},2597:function(c,g,e){var r=e(1702),a=e(7908),i=r({}.hasOwnProperty);c.exports=Object.hasOwn||function(d,u){return i(a(d),u)}},3501:function(c){c.exports={}},490:function(c,g,e){var r=e(5005);c.exports=r("document","documentElement")},4664:function(c,g,e){var r=e(9781),a=e(7293),i=e(317);c.exports=!r&&!a(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7})},8361:function(c,g,e){var r=e(1702),a=e(7293),i=e(4326),d=Object,u=r("".split);c.exports=a(function(){return!d("z").propertyIsEnumerable(0)})?function(f){return i(f)=="String"?u(f,""):d(f)}:d},9587:function(c,g,e){var r=e(614),a=e(111),i=e(7674);c.exports=function(d,u,f){var h,b;return i&&r(h=u.constructor)&&h!==f&&a(b=h.prototype)&&b!==f.prototype&&i(d,b),d}},2788:function(c,g,e){var r=e(1702),a=e(614),i=e(5465),d=r(Function.toString);a(i.inspectSource)||(i.inspectSource=function(u){return d(u)}),c.exports=i.inspectSource},9909:function(c,g,e){var r,a,i,d=e(4811),u=e(7854),f=e(111),h=e(8880),b=e(2597),k=e(5465),I=e(6200),S=e(3501),E="Object already initialized",A=u.TypeError,L=u.WeakMap;if(d||k.state){var $=k.state||(k.state=new L);$.get=$.get,$.has=$.has,$.set=$.set,r=function(P,V){if($.has(P))throw A(E);return V.facade=P,$.set(P,V),V},a=function(P){return $.get(P)||{}},i=function(P){return $.has(P)}}else{var M=I("state");S[M]=!0,r=function(P,V){if(b(P,M))throw A(E);return V.facade=P,h(P,M,V),V},a=function(P){return b(P,M)?P[M]:{}},i=function(P){return b(P,M)}}c.exports={set:r,get:a,has:i,enforce:function(P){return i(P)?a(P):r(P,{})},getterFor:function(P){return function(V){var z;if(!f(V)||(z=a(V)).type!==P)throw A("Incompatible receiver, "+P+" required");return z}}}},7659:function(c,g,e){var r=e(5112),a=e(7497),i=r("iterator"),d=Array.prototype;c.exports=function(u){return u!==void 0&&(a.Array===u||d[i]===u)}},3157:function(c,g,e){var r=e(4326);c.exports=Array.isArray||function(a){return r(a)=="Array"}},614:function(c,g,e){var r=e(4154),a=r.all;c.exports=r.IS_HTMLDDA?function(i){return typeof i=="function"||i===a}:function(i){return typeof i=="function"}},4411:function(c,g,e){var r=e(1702),a=e(7293),i=e(614),d=e(648),u=e(5005),f=e(2788),h=function(){},b=[],k=u("Reflect","construct"),I=/^\s*(?:class|function)\b/,S=r(I.exec),E=!I.exec(h),A=function($){if(!i($))return!1;try{return k(h,b,$),!0}catch{return!1}},L=function($){if(!i($))return!1;switch(d($)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return E||!!S(I,f($))}catch{return!0}};L.sham=!0,c.exports=!k||a(function(){var $;return A(A.call)||!A(Object)||!A(function(){$=!0})||$})?L:A},4705:function(c,g,e){var r=e(7293),a=e(614),i=/#|\.prototype\./,d=function(k,I){var S=f[u(k)];return S==b||S!=h&&(a(I)?r(I):!!I)},u=d.normalize=function(k){return String(k).replace(i,".").toLowerCase()},f=d.data={},h=d.NATIVE="N",b=d.POLYFILL="P";c.exports=d},5988:function(c,g,e){var r=e(111),a=Math.floor;c.exports=Number.isInteger||function(i){return!r(i)&&isFinite(i)&&a(i)===i}},8554:function(c){c.exports=function(g){return g==null}},111:function(c,g,e){var r=e(614),a=e(4154),i=a.all;c.exports=a.IS_HTMLDDA?function(d){return typeof d=="object"?d!==null:r(d)||d===i}:function(d){return typeof d=="object"?d!==null:r(d)}},1913:function(c){c.exports=!1},7850:function(c,g,e){var r=e(111),a=e(4326),i=e(5112)("match");c.exports=function(d){var u;return r(d)&&((u=d[i])!==void 0?!!u:a(d)=="RegExp")}},2190:function(c,g,e){var r=e(5005),a=e(614),i=e(7976),d=e(3307),u=Object;c.exports=d?function(f){return typeof f=="symbol"}:function(f){var h=r("Symbol");return a(h)&&i(h.prototype,u(f))}},9212:function(c,g,e){var r=e(6916),a=e(9670),i=e(8173);c.exports=function(d,u,f){var h,b;a(d);try{if(!(h=i(d,"return"))){if(u==="throw")throw f;return f}h=r(h,d)}catch(k){b=!0,h=k}if(u==="throw")throw f;if(b)throw h;return a(h),f}},3061:function(c,g,e){var r=e(3383).IteratorPrototype,a=e(30),i=e(9114),d=e(8003),u=e(7497),f=function(){return this};c.exports=function(h,b,k,I){var S=b+" Iterator";return h.prototype=a(r,{next:i(+!I,k)}),d(h,S,!1,!0),u[S]=f,h}},1656:function(c,g,e){var r=e(2109),a=e(6916),i=e(1913),d=e(6530),u=e(614),f=e(3061),h=e(9518),b=e(7674),k=e(8003),I=e(8880),S=e(8052),E=e(5112),A=e(7497),L=e(3383),$=d.PROPER,M=d.CONFIGURABLE,P=L.IteratorPrototype,V=L.BUGGY_SAFARI_ITERATORS,z=E("iterator"),X="keys",G="values",J="entries",Q=function(){return this};c.exports=function(rt,st,ct,it,B,O,F){f(ct,st,it);var l,v,w,x=function(q){if(q===B&&U)return U;if(!V&&q in K)return K[q];switch(q){case X:case G:case J:return function(){return new ct(this,q)}}return function(){return new ct(this)}},_=st+" Iterator",W=!1,K=rt.prototype,H=K[z]||K["@@iterator"]||B&&K[B],U=!V&&H||x(B),ot=st=="Array"&&K.entries||H;if(ot&&(l=h(ot.call(new rt)))!==Object.prototype&&l.next&&(i||h(l)===P||(b?b(l,P):u(l[z])||S(l,z,Q)),k(l,_,!0,!0),i&&(A[_]=Q)),$&&B==G&&H&&H.name!==G&&(!i&&M?I(K,"name",G):(W=!0,U=function(){return a(H,this)})),B)if(v={values:x(G),keys:O?U:x(X),entries:x(J)},F)for(w in v)(V||W||!(w in K))&&S(K,w,v[w]);else r({target:st,proto:!0,forced:V||W},v);return i&&!F||K[z]===U||S(K,z,U,{name:B}),A[st]=U,v}},3383:function(c,g,e){var r,a,i,d=e(7293),u=e(614),f=e(111),h=e(30),b=e(9518),k=e(8052),I=e(5112),S=e(1913),E=I("iterator"),A=!1;[].keys&&("next"in(i=[].keys())?(a=b(b(i)))!==Object.prototype&&(r=a):A=!0),!f(r)||d(function(){var L={};return r[E].call(L)!==L})?r={}:S&&(r=h(r)),u(r[E])||k(r,E,function(){return this}),c.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:A}},7497:function(c){c.exports={}},6244:function(c,g,e){var r=e(7466);c.exports=function(a){return r(a.length)}},6339:function(c,g,e){var r=e(1702),a=e(7293),i=e(614),d=e(2597),u=e(9781),f=e(6530).CONFIGURABLE,h=e(2788),b=e(9909),k=b.enforce,I=b.get,S=String,E=Object.defineProperty,A=r("".slice),L=r("".replace),$=r([].join),M=u&&!a(function(){return E(function(){},"length",{value:8}).length!==8}),P=String(String).split("String"),V=c.exports=function(z,X,G){A(S(X),0,7)==="Symbol("&&(X="["+L(S(X),/^Symbol\(([^)]*)\)/,"$1")+"]"),G&&G.getter&&(X="get "+X),G&&G.setter&&(X="set "+X),(!d(z,"name")||f&&z.name!==X)&&(u?E(z,"name",{value:X,configurable:!0}):z.name=X),M&&G&&d(G,"arity")&&z.length!==G.arity&&E(z,"length",{value:G.arity});try{G&&d(G,"constructor")&&G.constructor?u&&E(z,"prototype",{writable:!1}):z.prototype&&(z.prototype=void 0)}catch{}var J=k(z);return d(J,"source")||(J.source=$(P,typeof X=="string"?X:"")),z};Function.prototype.toString=V(function(){return i(this)&&I(this).source||h(this)},"toString")},4758:function(c){var g=Math.ceil,e=Math.floor;c.exports=Math.trunc||function(r){var a=+r;return(a>0?e:g)(a)}},3929:function(c,g,e){var r=e(7850),a=TypeError;c.exports=function(i){if(r(i))throw a("The method doesn't accept regular expressions");return i}},1574:function(c,g,e){var r=e(9781),a=e(1702),i=e(6916),d=e(7293),u=e(1956),f=e(5181),h=e(5296),b=e(7908),k=e(8361),I=Object.assign,S=Object.defineProperty,E=a([].concat);c.exports=!I||d(function(){if(r&&I({b:1},I(S({},"a",{enumerable:!0,get:function(){S(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var A={},L={},$=Symbol(),M="abcdefghijklmnopqrst";return A[$]=7,M.split("").forEach(function(P){L[P]=P}),I({},A)[$]!=7||u(I({},L)).join("")!=M})?function(A,L){for(var $=b(A),M=arguments.length,P=1,V=f.f,z=h.f;M>P;)for(var X,G=k(arguments[P++]),J=V?E(u(G),V(G)):u(G),Q=J.length,rt=0;Q>rt;)X=J[rt++],r&&!i(z,G,X)||($[X]=G[X]);return $}:I},30:function(c,g,e){var r,a=e(9670),i=e(6048),d=e(748),u=e(3501),f=e(490),h=e(317),b=e(6200),k="prototype",I="script",S=b("IE_PROTO"),E=function(){},A=function(M){return"<"+I+">"+M+"</"+I+">"},L=function(M){M.write(A("")),M.close();var P=M.parentWindow.Object;return M=null,P},$=function(){try{r=new ActiveXObject("htmlfile")}catch{}var M,P,V;$=typeof document<"u"?document.domain&&r?L(r):(P=h("iframe"),V="java"+I+":",P.style.display="none",f.appendChild(P),P.src=String(V),(M=P.contentWindow.document).open(),M.write(A("document.F=Object")),M.close(),M.F):L(r);for(var z=d.length;z--;)delete $[k][d[z]];return $()};u[S]=!0,c.exports=Object.create||function(M,P){var V;return M!==null?(E[k]=a(M),V=new E,E[k]=null,V[S]=M):V=$(),P===void 0?V:i.f(V,P)}},6048:function(c,g,e){var r=e(9781),a=e(3353),i=e(3070),d=e(9670),u=e(5656),f=e(1956);g.f=r&&!a?Object.defineProperties:function(h,b){d(h);for(var k,I=u(b),S=f(b),E=S.length,A=0;E>A;)i.f(h,k=S[A++],I[k]);return h}},3070:function(c,g,e){var r=e(9781),a=e(4664),i=e(3353),d=e(9670),u=e(4948),f=TypeError,h=Object.defineProperty,b=Object.getOwnPropertyDescriptor,k="enumerable",I="configurable",S="writable";g.f=r?i?function(E,A,L){if(d(E),A=u(A),d(L),typeof E=="function"&&A==="prototype"&&"value"in L&&S in L&&!L[S]){var $=b(E,A);$&&$[S]&&(E[A]=L.value,L={configurable:I in L?L[I]:$[I],enumerable:k in L?L[k]:$[k],writable:!1})}return h(E,A,L)}:h:function(E,A,L){if(d(E),A=u(A),d(L),a)try{return h(E,A,L)}catch{}if("get"in L||"set"in L)throw f("Accessors not supported");return"value"in L&&(E[A]=L.value),E}},1236:function(c,g,e){var r=e(9781),a=e(6916),i=e(5296),d=e(9114),u=e(5656),f=e(4948),h=e(2597),b=e(4664),k=Object.getOwnPropertyDescriptor;g.f=r?k:function(I,S){if(I=u(I),S=f(S),b)try{return k(I,S)}catch{}if(h(I,S))return d(!a(i.f,I,S),I[S])}},1156:function(c,g,e){var r=e(4326),a=e(5656),i=e(8006).f,d=e(1589),u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(f){return u&&r(f)=="Window"?function(h){try{return i(h)}catch{return d(u)}}(f):i(a(f))}},8006:function(c,g,e){var r=e(6324),a=e(748).concat("length","prototype");g.f=Object.getOwnPropertyNames||function(i){return r(i,a)}},5181:function(c,g){g.f=Object.getOwnPropertySymbols},9518:function(c,g,e){var r=e(2597),a=e(614),i=e(7908),d=e(6200),u=e(8544),f=d("IE_PROTO"),h=Object,b=h.prototype;c.exports=u?h.getPrototypeOf:function(k){var I=i(k);if(r(I,f))return I[f];var S=I.constructor;return a(S)&&I instanceof S?S.prototype:I instanceof h?b:null}},7976:function(c,g,e){var r=e(1702);c.exports=r({}.isPrototypeOf)},6324:function(c,g,e){var r=e(1702),a=e(2597),i=e(5656),d=e(1318).indexOf,u=e(3501),f=r([].push);c.exports=function(h,b){var k,I=i(h),S=0,E=[];for(k in I)!a(u,k)&&a(I,k)&&f(E,k);for(;b.length>S;)a(I,k=b[S++])&&(~d(E,k)||f(E,k));return E}},1956:function(c,g,e){var r=e(6324),a=e(748);c.exports=Object.keys||function(i){return r(i,a)}},5296:function(c,g){var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!e.call({1:2},1);g.f=a?function(i){var d=r(this,i);return!!d&&d.enumerable}:e},9026:function(c,g,e){var r=e(1913),a=e(7854),i=e(7293),d=e(8008);c.exports=r||!i(function(){if(!(d&&d<535)){var u=Math.random();__defineSetter__.call(null,u,function(){}),delete a[u]}})},7674:function(c,g,e){var r=e(5668),a=e(9670),i=e(6077);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var d,u=!1,f={};try{(d=r(Object.prototype,"__proto__","set"))(f,[]),u=f instanceof Array}catch{}return function(h,b){return a(h),i(b),u?d(h,b):h.__proto__=b,h}}():void 0)},288:function(c,g,e){var r=e(1694),a=e(648);c.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},2140:function(c,g,e){var r=e(6916),a=e(614),i=e(111),d=TypeError;c.exports=function(u,f){var h,b;if(f==="string"&&a(h=u.toString)&&!i(b=r(h,u))||a(h=u.valueOf)&&!i(b=r(h,u))||f!=="string"&&a(h=u.toString)&&!i(b=r(h,u)))return b;throw d("Can't convert object to primitive value")}},3887:function(c,g,e){var r=e(5005),a=e(1702),i=e(8006),d=e(5181),u=e(9670),f=a([].concat);c.exports=r("Reflect","ownKeys")||function(h){var b=i.f(u(h)),k=d.f;return k?f(b,k(h)):b}},857:function(c,g,e){var r=e(7854);c.exports=r},2626:function(c,g,e){var r=e(3070).f;c.exports=function(a,i,d){d in a||r(a,d,{configurable:!0,get:function(){return i[d]},set:function(u){i[d]=u}})}},7651:function(c,g,e){var r=e(6916),a=e(9670),i=e(614),d=e(4326),u=e(2261),f=TypeError;c.exports=function(h,b){var k=h.exec;if(i(k)){var I=r(k,h,b);return I!==null&&a(I),I}if(d(h)==="RegExp")return r(u,h,b);throw f("RegExp#exec called on incompatible receiver")}},2261:function(c,g,e){var r,a,i=e(6916),d=e(1702),u=e(1340),f=e(7066),h=e(2999),b=e(2309),k=e(30),I=e(9909).get,S=e(9441),E=e(7168),A=b("native-string-replace",String.prototype.replace),L=RegExp.prototype.exec,$=L,M=d("".charAt),P=d("".indexOf),V=d("".replace),z=d("".slice),X=(a=/b*/g,i(L,r=/a/,"a"),i(L,a,"a"),r.lastIndex!==0||a.lastIndex!==0),G=h.BROKEN_CARET,J=/()??/.exec("")[1]!==void 0;(X||J||G||S||E)&&($=function(Q){var rt,st,ct,it,B,O,F,l=this,v=I(l),w=u(Q),x=v.raw;if(x)return x.lastIndex=l.lastIndex,rt=i($,x,w),l.lastIndex=x.lastIndex,rt;var _=v.groups,W=G&&l.sticky,K=i(f,l),H=l.source,U=0,ot=w;if(W&&(K=V(K,"y",""),P(K,"g")===-1&&(K+="g"),ot=z(w,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&M(w,l.lastIndex-1)!==`
|
|
1310
|
+
`)&&(H="(?: "+H+")",ot=" "+ot,U++),st=new RegExp("^(?:"+H+")",K)),J&&(st=new RegExp("^"+H+"$(?!\\s)",K)),X&&(ct=l.lastIndex),it=i(L,W?st:l,ot),W?it?(it.input=z(it.input,U),it[0]=z(it[0],U),it.index=l.lastIndex,l.lastIndex+=it[0].length):l.lastIndex=0:X&&it&&(l.lastIndex=l.global?it.index+it[0].length:ct),J&&it&&it.length>1&&i(A,it[0],st,function(){for(B=1;B<arguments.length-2;B++)arguments[B]===void 0&&(it[B]=void 0)}),it&&_)for(it.groups=O=k(null),B=0;B<_.length;B++)O[(F=_[B])[0]]=it[F[1]];return it}),c.exports=$},7066:function(c,g,e){var r=e(9670);c.exports=function(){var a=r(this),i="";return a.hasIndices&&(i+="d"),a.global&&(i+="g"),a.ignoreCase&&(i+="i"),a.multiline&&(i+="m"),a.dotAll&&(i+="s"),a.unicode&&(i+="u"),a.unicodeSets&&(i+="v"),a.sticky&&(i+="y"),i}},4706:function(c,g,e){var r=e(6916),a=e(2597),i=e(7976),d=e(7066),u=RegExp.prototype;c.exports=function(f){var h=f.flags;return h!==void 0||"flags"in u||a(f,"flags")||!i(u,f)?h:r(d,f)}},2999:function(c,g,e){var r=e(7293),a=e(7854).RegExp,i=r(function(){var f=a("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),d=i||r(function(){return!a("a","y").sticky}),u=i||r(function(){var f=a("^r","gy");return f.lastIndex=2,f.exec("str")!=null});c.exports={BROKEN_CARET:u,MISSED_STICKY:d,UNSUPPORTED_Y:i}},9441:function(c,g,e){var r=e(7293),a=e(7854).RegExp;c.exports=r(function(){var i=a(".","s");return!(i.dotAll&&i.exec(`
|
|
1311
|
+
`)&&i.flags==="s")})},7168:function(c,g,e){var r=e(7293),a=e(7854).RegExp;c.exports=r(function(){var i=a("(?<a>b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$<a>c")!=="bc"})},4488:function(c,g,e){var r=e(8554),a=TypeError;c.exports=function(i){if(r(i))throw a("Can't call method on "+i);return i}},6340:function(c,g,e){var r=e(5005),a=e(7045),i=e(5112),d=e(9781),u=i("species");c.exports=function(f){var h=r(f);d&&h&&!h[u]&&a(h,u,{configurable:!0,get:function(){return this}})}},8003:function(c,g,e){var r=e(3070).f,a=e(2597),i=e(5112)("toStringTag");c.exports=function(d,u,f){d&&!f&&(d=d.prototype),d&&!a(d,i)&&r(d,i,{configurable:!0,value:u})}},6200:function(c,g,e){var r=e(2309),a=e(9711),i=r("keys");c.exports=function(d){return i[d]||(i[d]=a(d))}},5465:function(c,g,e){var r=e(7854),a=e(3072),i="__core-js_shared__",d=r[i]||a(i,{});c.exports=d},2309:function(c,g,e){var r=e(1913),a=e(5465);(c.exports=function(i,d){return a[i]||(a[i]=d!==void 0?d:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:function(c,g,e){var r=e(9670),a=e(9483),i=e(8554),d=e(5112)("species");c.exports=function(u,f){var h,b=r(u).constructor;return b===void 0||i(h=r(b)[d])?f:a(h)}},8710:function(c,g,e){var r=e(1702),a=e(9303),i=e(1340),d=e(4488),u=r("".charAt),f=r("".charCodeAt),h=r("".slice),b=function(k){return function(I,S){var E,A,L=i(d(I)),$=a(S),M=L.length;return $<0||$>=M?k?"":void 0:(E=f(L,$))<55296||E>56319||$+1===M||(A=f(L,$+1))<56320||A>57343?k?u(L,$):E:k?h(L,$,$+2):A-56320+(E-55296<<10)+65536}};c.exports={codeAt:b(!1),charAt:b(!0)}},6091:function(c,g,e){var r=e(6530).PROPER,a=e(7293),i=e(1361);c.exports=function(d){return a(function(){return!!i[d]()||"
"[d]()!=="
"||r&&i[d].name!==d})}},3111:function(c,g,e){var r=e(1702),a=e(4488),i=e(1340),d=e(1361),u=r("".replace),f=RegExp("^["+d+"]+"),h=RegExp("(^|[^"+d+"])["+d+"]+$"),b=function(k){return function(I){var S=i(a(I));return 1&k&&(S=u(S,f,"")),2&k&&(S=u(S,h,"$1")),S}};c.exports={start:b(1),end:b(2),trim:b(3)}},6293:function(c,g,e){var r=e(7392),a=e(7293),i=e(7854).String;c.exports=!!Object.getOwnPropertySymbols&&!a(function(){var d=Symbol();return!i(d)||!(Object(d)instanceof Symbol)||!Symbol.sham&&r&&r<41})},6532:function(c,g,e){var r=e(6916),a=e(5005),i=e(5112),d=e(8052);c.exports=function(){var u=a("Symbol"),f=u&&u.prototype,h=f&&f.valueOf,b=i("toPrimitive");f&&!f[b]&&d(f,b,function(k){return r(h,this)},{arity:1})}},2015:function(c,g,e){var r=e(6293);c.exports=r&&!!Symbol.for&&!!Symbol.keyFor},863:function(c,g,e){var r=e(1702);c.exports=r(1 .valueOf)},1400:function(c,g,e){var r=e(9303),a=Math.max,i=Math.min;c.exports=function(d,u){var f=r(d);return f<0?a(f+u,0):i(f,u)}},5656:function(c,g,e){var r=e(8361),a=e(4488);c.exports=function(i){return r(a(i))}},9303:function(c,g,e){var r=e(4758);c.exports=function(a){var i=+a;return i!=i||i===0?0:r(i)}},7466:function(c,g,e){var r=e(9303),a=Math.min;c.exports=function(i){return i>0?a(r(i),9007199254740991):0}},7908:function(c,g,e){var r=e(4488),a=Object;c.exports=function(i){return a(r(i))}},7593:function(c,g,e){var r=e(6916),a=e(111),i=e(2190),d=e(8173),u=e(2140),f=e(5112),h=TypeError,b=f("toPrimitive");c.exports=function(k,I){if(!a(k)||i(k))return k;var S,E=d(k,b);if(E){if(I===void 0&&(I="default"),S=r(E,k,I),!a(S)||i(S))return S;throw h("Can't convert object to primitive value")}return I===void 0&&(I="number"),u(k,I)}},4948:function(c,g,e){var r=e(7593),a=e(2190);c.exports=function(i){var d=r(i,"string");return a(d)?d:d+""}},1694:function(c,g,e){var r={};r[e(5112)("toStringTag")]="z",c.exports=String(r)==="[object z]"},1340:function(c,g,e){var r=e(648),a=String;c.exports=function(i){if(r(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return a(i)}},6330:function(c){var g=String;c.exports=function(e){try{return g(e)}catch{return"Object"}}},9711:function(c,g,e){var r=e(1702),a=0,i=Math.random(),d=r(1 .toString);c.exports=function(u){return"Symbol("+(u===void 0?"":u)+")_"+d(++a+i,36)}},3307:function(c,g,e){var r=e(6293);c.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3353:function(c,g,e){var r=e(9781),a=e(7293);c.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},4811:function(c,g,e){var r=e(7854),a=e(614),i=r.WeakMap;c.exports=a(i)&&/native code/.test(String(i))},6800:function(c,g,e){var r=e(857),a=e(2597),i=e(6061),d=e(3070).f;c.exports=function(u){var f=r.Symbol||(r.Symbol={});a(f,u)||d(f,u,{value:i.f(u)})}},6061:function(c,g,e){var r=e(5112);g.f=r},5112:function(c,g,e){var r=e(7854),a=e(2309),i=e(2597),d=e(9711),u=e(6293),f=e(3307),h=r.Symbol,b=a("wks"),k=f?h.for||h:h&&h.withoutSetter||d;c.exports=function(I){return i(b,I)||(b[I]=u&&i(h,I)?h[I]:k("Symbol."+I)),b[I]}},1361:function(c){c.exports=`
|
|
1312
|
+
\v\f\r \u2028\u2029\uFEFF`},2222:function(c,g,e){var r=e(2109),a=e(7293),i=e(3157),d=e(111),u=e(7908),f=e(6244),h=e(7207),b=e(6135),k=e(5417),I=e(1194),S=e(5112),E=e(7392),A=S("isConcatSpreadable"),L=E>=51||!a(function(){var M=[];return M[A]=!1,M.concat()[0]!==M}),$=function(M){if(!d(M))return!1;var P=M[A];return P!==void 0?!!P:i(M)};r({target:"Array",proto:!0,arity:1,forced:!L||!I("concat")},{concat:function(M){var P,V,z,X,G,J=u(this),Q=k(J,0),rt=0;for(P=-1,z=arguments.length;P<z;P++)if($(G=P===-1?J:arguments[P]))for(X=f(G),h(rt+X),V=0;V<X;V++,rt++)V in G&&b(Q,rt,G[V]);else h(rt+1),b(Q,rt++,G);return Q.length=rt,Q}})},7327:function(c,g,e){var r=e(2109),a=e(2092).filter;r({target:"Array",proto:!0,forced:!e(1194)("filter")},{filter:function(i){return a(this,i,arguments.length>1?arguments[1]:void 0)}})},1038:function(c,g,e){var r=e(2109),a=e(8457);r({target:"Array",stat:!0,forced:!e(7072)(function(i){Array.from(i)})},{from:a})},6699:function(c,g,e){var r=e(2109),a=e(1318).includes,i=e(7293),d=e(1223);r({target:"Array",proto:!0,forced:i(function(){return!Array(1).includes()})},{includes:function(u){return a(this,u,arguments.length>1?arguments[1]:void 0)}}),d("includes")},2772:function(c,g,e){var r=e(2109),a=e(1470),i=e(1318).indexOf,d=e(9341),u=a([].indexOf),f=!!u&&1/u([1],1,-0)<0;r({target:"Array",proto:!0,forced:f||!d("indexOf")},{indexOf:function(h){var b=arguments.length>1?arguments[1]:void 0;return f?u(this,h,b)||0:i(this,h,b)}})},6992:function(c,g,e){var r=e(5656),a=e(1223),i=e(7497),d=e(9909),u=e(3070).f,f=e(1656),h=e(6178),b=e(1913),k=e(9781),I="Array Iterator",S=d.set,E=d.getterFor(I);c.exports=f(Array,"Array",function(L,$){S(this,{type:I,target:r(L),index:0,kind:$})},function(){var L=E(this),$=L.target,M=L.kind,P=L.index++;return!$||P>=$.length?(L.target=void 0,h(void 0,!0)):h(M=="keys"?P:M=="values"?$[P]:[P,$[P]],!1)},"values");var A=i.Arguments=i.Array;if(a("keys"),a("values"),a("entries"),!b&&k&&A.name!=="values")try{u(A,"name",{value:"values"})}catch{}},9600:function(c,g,e){var r=e(2109),a=e(1702),i=e(8361),d=e(5656),u=e(9341),f=a([].join);r({target:"Array",proto:!0,forced:i!=Object||!u("join",",")},{join:function(h){return f(d(this),h===void 0?",":h)}})},1249:function(c,g,e){var r=e(2109),a=e(2092).map;r({target:"Array",proto:!0,forced:!e(1194)("map")},{map:function(i){return a(this,i,arguments.length>1?arguments[1]:void 0)}})},5827:function(c,g,e){var r=e(2109),a=e(3671).left,i=e(9341),d=e(7392);r({target:"Array",proto:!0,forced:!e(5268)&&d>79&&d<83||!i("reduce")},{reduce:function(u){var f=arguments.length;return a(this,u,f,f>1?arguments[1]:void 0)}})},7042:function(c,g,e){var r=e(2109),a=e(3157),i=e(4411),d=e(111),u=e(1400),f=e(6244),h=e(5656),b=e(6135),k=e(5112),I=e(1194),S=e(206),E=I("slice"),A=k("species"),L=Array,$=Math.max;r({target:"Array",proto:!0,forced:!E},{slice:function(M,P){var V,z,X,G=h(this),J=f(G),Q=u(M,J),rt=u(P===void 0?J:P,J);if(a(G)&&(V=G.constructor,(i(V)&&(V===L||a(V.prototype))||d(V)&&(V=V[A])===null)&&(V=void 0),V===L||V===void 0))return S(G,Q,rt);for(z=new(V===void 0?L:V)($(rt-Q,0)),X=0;Q<rt;Q++,X++)Q in G&&b(z,X,G[Q]);return z.length=X,z}})},2707:function(c,g,e){var r=e(2109),a=e(1702),i=e(9662),d=e(7908),u=e(6244),f=e(5117),h=e(1340),b=e(7293),k=e(4362),I=e(9341),S=e(8886),E=e(256),A=e(7392),L=e(8008),$=[],M=a($.sort),P=a($.push),V=b(function(){$.sort(void 0)}),z=b(function(){$.sort(null)}),X=I("sort"),G=!b(function(){if(A)return A<70;if(!(S&&S>3)){if(E)return!0;if(L)return L<603;var J,Q,rt,st,ct="";for(J=65;J<76;J++){switch(Q=String.fromCharCode(J),J){case 66:case 69:case 70:case 72:rt=3;break;case 68:case 71:rt=4;break;default:rt=2}for(st=0;st<47;st++)$.push({k:Q+st,v:rt})}for($.sort(function(it,B){return B.v-it.v}),st=0;st<$.length;st++)Q=$[st].k.charAt(0),ct.charAt(ct.length-1)!==Q&&(ct+=Q);return ct!=="DGBEFHACIJK"}});r({target:"Array",proto:!0,forced:V||!z||!X||!G},{sort:function(J){J!==void 0&&i(J);var Q=d(this);if(G)return J===void 0?M(Q):M(Q,J);var rt,st,ct=[],it=u(Q);for(st=0;st<it;st++)st in Q&&P(ct,Q[st]);for(k(ct,function(B){return function(O,F){return F===void 0?-1:O===void 0?1:B!==void 0?+B(O,F)||0:h(O)>h(F)?1:-1}}(J)),rt=u(ct),st=0;st<rt;)Q[st]=ct[st++];for(;st<it;)f(Q,st++);return Q}})},561:function(c,g,e){var r=e(2109),a=e(7908),i=e(1400),d=e(9303),u=e(6244),f=e(3658),h=e(7207),b=e(5417),k=e(6135),I=e(5117),S=e(1194)("splice"),E=Math.max,A=Math.min;r({target:"Array",proto:!0,forced:!S},{splice:function(L,$){var M,P,V,z,X,G,J=a(this),Q=u(J),rt=i(L,Q),st=arguments.length;for(st===0?M=P=0:st===1?(M=0,P=Q-rt):(M=st-2,P=A(E(d($),0),Q-rt)),h(Q+M-P),V=b(J,P),z=0;z<P;z++)(X=rt+z)in J&&k(V,z,J[X]);if(V.length=P,M<P){for(z=rt;z<Q-P;z++)G=z+M,(X=z+P)in J?J[G]=J[X]:I(J,G);for(z=Q;z>Q-P+M;z--)I(J,z-1)}else if(M>P)for(z=Q-P;z>rt;z--)G=z+M-1,(X=z+P-1)in J?J[G]=J[X]:I(J,G);for(z=0;z<M;z++)J[z+rt]=arguments[z+2];return f(J,Q-P+M),V}})},6078:function(c,g,e){var r=e(2597),a=e(8052),i=e(8709),d=e(5112)("toPrimitive"),u=Date.prototype;r(u,d)||a(u,d,i)},8309:function(c,g,e){var r=e(9781),a=e(6530).EXISTS,i=e(1702),d=e(7045),u=Function.prototype,f=i(u.toString),h=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,b=i(h.exec);r&&!a&&d(u,"name",{configurable:!0,get:function(){try{return b(h,f(this))[1]}catch{return""}}})},8862:function(c,g,e){var r=e(2109),a=e(5005),i=e(2104),d=e(6916),u=e(1702),f=e(7293),h=e(614),b=e(2190),k=e(206),I=e(8044),S=e(6293),E=String,A=a("JSON","stringify"),L=u(/./.exec),$=u("".charAt),M=u("".charCodeAt),P=u("".replace),V=u(1 .toString),z=/[\uD800-\uDFFF]/g,X=/^[\uD800-\uDBFF]$/,G=/^[\uDC00-\uDFFF]$/,J=!S||f(function(){var ct=a("Symbol")();return A([ct])!="[null]"||A({a:ct})!="{}"||A(Object(ct))!="{}"}),Q=f(function(){return A("\uDF06\uD834")!=='"\\udf06\\ud834"'||A("\uDEAD")!=='"\\udead"'}),rt=function(ct,it){var B=k(arguments),O=I(it);if(h(O)||ct!==void 0&&!b(ct))return B[1]=function(F,l){if(h(O)&&(l=d(O,this,E(F),l)),!b(l))return l},i(A,null,B)},st=function(ct,it,B){var O=$(B,it-1),F=$(B,it+1);return L(X,ct)&&!L(G,F)||L(G,ct)&&!L(X,O)?"\\u"+V(M(ct,0),16):ct};A&&r({target:"JSON",stat:!0,arity:3,forced:J||Q},{stringify:function(ct,it,B){var O=k(arguments),F=i(J?rt:A,null,O);return Q&&typeof F=="string"?P(F,z,st):F}})},9653:function(c,g,e){var r=e(2109),a=e(1913),i=e(9781),d=e(7854),u=e(857),f=e(1702),h=e(4705),b=e(2597),k=e(9587),I=e(7976),S=e(2190),E=e(7593),A=e(7293),L=e(8006).f,$=e(1236).f,M=e(3070).f,P=e(863),V=e(3111).trim,z="Number",X=d[z],G=u[z],J=X.prototype,Q=d.TypeError,rt=f("".slice),st=f("".charCodeAt),ct=function(F){var l,v,w,x,_,W,K,H,U=E(F,"number");if(S(U))throw Q("Cannot convert a Symbol value to a number");if(typeof U=="string"&&U.length>2){if(U=V(U),(l=st(U,0))===43||l===45){if((v=st(U,2))===88||v===120)return NaN}else if(l===48){switch(st(U,1)){case 66:case 98:w=2,x=49;break;case 79:case 111:w=8,x=55;break;default:return+U}for(W=(_=rt(U,2)).length,K=0;K<W;K++)if((H=st(_,K))<48||H>x)return NaN;return parseInt(_,w)}}return+U},it=h(z,!X(" 0o1")||!X("0b1")||X("+0x1")),B=function(F){var l,v=arguments.length<1?0:X(function(w){var x=E(w,"number");return typeof x=="bigint"?x:ct(x)}(F));return I(J,l=this)&&A(function(){P(l)})?k(Object(v),this,B):v};B.prototype=J,it&&!a&&(J.constructor=B),r({global:!0,constructor:!0,wrap:!0,forced:it},{Number:B});var O=function(F,l){for(var v,w=i?L(l):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),x=0;w.length>x;x++)b(l,v=w[x])&&!b(F,v)&&M(F,v,$(l,v))};a&&G&&O(u[z],G),(it||a)&&O(u[z],X)},3161:function(c,g,e){e(2109)({target:"Number",stat:!0},{isInteger:e(5988)})},9601:function(c,g,e){var r=e(2109),a=e(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},9595:function(c,g,e){var r=e(2109),a=e(9781),i=e(9026),d=e(9662),u=e(7908),f=e(3070);a&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(h,b){f.f(u(this),h,{get:d(b),enumerable:!0,configurable:!0})}})},5003:function(c,g,e){var r=e(2109),a=e(7293),i=e(5656),d=e(1236).f,u=e(9781);r({target:"Object",stat:!0,forced:!u||a(function(){d(1)}),sham:!u},{getOwnPropertyDescriptor:function(f,h){return d(i(f),h)}})},9337:function(c,g,e){var r=e(2109),a=e(9781),i=e(3887),d=e(5656),u=e(1236),f=e(6135);r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(h){for(var b,k,I=d(h),S=u.f,E=i(I),A={},L=0;E.length>L;)(k=S(I,b=E[L++]))!==void 0&&f(A,b,k);return A}})},6210:function(c,g,e){var r=e(2109),a=e(7293),i=e(1156).f;r({target:"Object",stat:!0,forced:a(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},9660:function(c,g,e){var r=e(2109),a=e(6293),i=e(7293),d=e(5181),u=e(7908);r({target:"Object",stat:!0,forced:!a||i(function(){d.f(1)})},{getOwnPropertySymbols:function(f){var h=d.f;return h?h(u(f)):[]}})},7941:function(c,g,e){var r=e(2109),a=e(7908),i=e(1956);r({target:"Object",stat:!0,forced:e(7293)(function(){i(1)})},{keys:function(d){return i(a(d))}})},1539:function(c,g,e){var r=e(1694),a=e(8052),i=e(288);r||a(Object.prototype,"toString",i,{unsafe:!0})},4603:function(c,g,e){var r=e(9781),a=e(7854),i=e(1702),d=e(4705),u=e(9587),f=e(8880),h=e(8006).f,b=e(7976),k=e(7850),I=e(1340),S=e(4706),E=e(2999),A=e(2626),L=e(8052),$=e(7293),M=e(2597),P=e(9909).enforce,V=e(6340),z=e(5112),X=e(9441),G=e(7168),J=z("match"),Q=a.RegExp,rt=Q.prototype,st=a.SyntaxError,ct=i(rt.exec),it=i("".charAt),B=i("".replace),O=i("".indexOf),F=i("".slice),l=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,v=/a/g,w=/a/g,x=new Q(v)!==v,_=E.MISSED_STICKY,W=E.UNSUPPORTED_Y;if(d("RegExp",r&&(!x||_||X||G||$(function(){return w[J]=!1,Q(v)!=v||Q(w)==w||Q(v,"i")!="/a/i"})))){for(var K=function(ot,q){var Z,at,nt,dt,mt,St,It=b(rt,this),wt=k(ot),Pt=q===void 0,Gt=[],yt=ot;if(!It&&wt&&Pt&&ot.constructor===K)return ot;if((wt||b(rt,ot))&&(ot=ot.source,Pt&&(q=S(yt))),ot=ot===void 0?"":I(ot),q=q===void 0?"":I(q),yt=ot,X&&"dotAll"in v&&(at=!!q&&O(q,"s")>-1)&&(q=B(q,/s/g,"")),Z=q,_&&"sticky"in v&&(nt=!!q&&O(q,"y")>-1)&&W&&(q=B(q,/y/g,"")),G&&(dt=function(Ct){for(var kt,vt=Ct.length,Et=0,_t="",$t=[],ee={},ne=!1,Wt=!1,me=0,Ut="";Et<=vt;Et++){if((kt=it(Ct,Et))==="\\")kt+=it(Ct,++Et);else if(kt==="]")ne=!1;else if(!ne)switch(!0){case kt==="[":ne=!0;break;case kt==="(":ct(l,F(Ct,Et+1))&&(Et+=2,Wt=!0),_t+=kt,me++;continue;case(kt===">"&&Wt):if(Ut===""||M(ee,Ut))throw new st("Invalid capture group name");ee[Ut]=!0,$t[$t.length]=[Ut,me],Wt=!1,Ut="";continue}Wt?Ut+=kt:_t+=kt}return[_t,$t]}(ot),ot=dt[0],Gt=dt[1]),mt=u(Q(ot,q),It?this:rt,K),(at||nt||Gt.length)&&(St=P(mt),at&&(St.dotAll=!0,St.raw=K(function(Ct){for(var kt,vt=Ct.length,Et=0,_t="",$t=!1;Et<=vt;Et++)(kt=it(Ct,Et))!=="\\"?$t||kt!=="."?(kt==="["?$t=!0:kt==="]"&&($t=!1),_t+=kt):_t+="[\\s\\S]":_t+=kt+it(Ct,++Et);return _t}(ot),Z)),nt&&(St.sticky=!0),Gt.length&&(St.groups=Gt)),ot!==yt)try{f(mt,"source",yt===""?"(?:)":yt)}catch{}return mt},H=h(Q),U=0;H.length>U;)A(K,Q,H[U++]);rt.constructor=K,K.prototype=rt,L(a,"RegExp",K,{constructor:!0})}V("RegExp")},4916:function(c,g,e){var r=e(2109),a=e(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},9714:function(c,g,e){var r=e(6530).PROPER,a=e(8052),i=e(9670),d=e(1340),u=e(7293),f=e(4706),h="toString",b=RegExp.prototype[h],k=u(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),I=r&&b.name!=h;(k||I)&&a(RegExp.prototype,h,function(){var S=i(this);return"/"+d(S.source)+"/"+d(f(S))},{unsafe:!0})},2023:function(c,g,e){var r=e(2109),a=e(1702),i=e(3929),d=e(4488),u=e(1340),f=e(4964),h=a("".indexOf);r({target:"String",proto:!0,forced:!f("includes")},{includes:function(b){return!!~h(u(d(this)),u(i(b)),arguments.length>1?arguments[1]:void 0)}})},8783:function(c,g,e){var r=e(8710).charAt,a=e(1340),i=e(9909),d=e(1656),u=e(6178),f="String Iterator",h=i.set,b=i.getterFor(f);d(String,"String",function(k){h(this,{type:f,string:a(k),index:0})},function(){var k,I=b(this),S=I.string,E=I.index;return E>=S.length?u(void 0,!0):(k=r(S,E),I.index+=k.length,u(k,!1))})},6373:function(c,g,e){var r=e(2109),a=e(6916),i=e(1470),d=e(3061),u=e(6178),f=e(4488),h=e(7466),b=e(1340),k=e(9670),I=e(8554),S=e(4326),E=e(7850),A=e(4706),L=e(8173),$=e(8052),M=e(7293),P=e(5112),V=e(6707),z=e(1530),X=e(7651),G=e(9909),J=e(1913),Q=P("matchAll"),rt="RegExp String",st=rt+" Iterator",ct=G.set,it=G.getterFor(st),B=RegExp.prototype,O=TypeError,F=i("".indexOf),l=i("".matchAll),v=!!l&&!M(function(){l("a",/./)}),w=d(function(_,W,K,H){ct(this,{type:st,regexp:_,string:W,global:K,unicode:H,done:!1})},rt,function(){var _=it(this);if(_.done)return u(void 0,!0);var W=_.regexp,K=_.string,H=X(W,K);return H===null?(_.done=!0,u(void 0,!0)):_.global?(b(H[0])===""&&(W.lastIndex=z(K,h(W.lastIndex),_.unicode)),u(H,!1)):(_.done=!0,u(H,!1))}),x=function(_){var W,K,H,U=k(this),ot=b(_),q=V(U,RegExp),Z=b(A(U));return W=new q(q===RegExp?U.source:U,Z),K=!!~F(Z,"g"),H=!!~F(Z,"u"),W.lastIndex=h(U.lastIndex),new w(W,ot,K,H)};r({target:"String",proto:!0,forced:v},{matchAll:function(_){var W,K,H,U,ot=f(this);if(I(_)){if(v)return l(ot,_)}else{if(E(_)&&(W=b(f(A(_))),!~F(W,"g")))throw O("`.matchAll` does not allow non-global regexes");if(v)return l(ot,_);if((H=L(_,Q))===void 0&&J&&S(_)=="RegExp"&&(H=x),H)return a(H,_,ot)}return K=b(ot),U=new RegExp(_,"g"),J?a(x,U,K):U[Q](K)}}),J||Q in B||$(B,Q,x)},4723:function(c,g,e){var r=e(6916),a=e(7007),i=e(9670),d=e(8554),u=e(7466),f=e(1340),h=e(4488),b=e(8173),k=e(1530),I=e(7651);a("match",function(S,E,A){return[function(L){var $=h(this),M=d(L)?void 0:b(L,S);return M?r(M,L,$):new RegExp(L)[S](f($))},function(L){var $=i(this),M=f(L),P=A(E,$,M);if(P.done)return P.value;if(!$.global)return I($,M);var V=$.unicode;$.lastIndex=0;for(var z,X=[],G=0;(z=I($,M))!==null;){var J=f(z[0]);X[G]=J,J===""&&($.lastIndex=k(M,u($.lastIndex),V)),G++}return G===0?null:X}]})},5306:function(c,g,e){var r=e(2104),a=e(6916),i=e(1702),d=e(7007),u=e(7293),f=e(9670),h=e(614),b=e(8554),k=e(9303),I=e(7466),S=e(1340),E=e(4488),A=e(1530),L=e(8173),$=e(647),M=e(7651),P=e(5112)("replace"),V=Math.max,z=Math.min,X=i([].concat),G=i([].push),J=i("".indexOf),Q=i("".slice),rt="a".replace(/./,"$0")==="$0",st=!!/./[P]&&/./[P]("a","$0")==="";d("replace",function(ct,it,B){var O=st?"$":"$0";return[function(F,l){var v=E(this),w=b(F)?void 0:L(F,P);return w?a(w,F,v,l):a(it,S(v),F,l)},function(F,l){var v=f(this),w=S(F);if(typeof l=="string"&&J(l,O)===-1&&J(l,"$<")===-1){var x=B(it,v,w,l);if(x.done)return x.value}var _=h(l);_||(l=S(l));var W=v.global;if(W){var K=v.unicode;v.lastIndex=0}for(var H=[];;){var U=M(v,w);if(U===null||(G(H,U),!W))break;S(U[0])===""&&(v.lastIndex=A(w,I(v.lastIndex),K))}for(var ot,q="",Z=0,at=0;at<H.length;at++){for(var nt=S((U=H[at])[0]),dt=V(z(k(U.index),w.length),0),mt=[],St=1;St<U.length;St++)G(mt,(ot=U[St])===void 0?ot:String(ot));var It=U.groups;if(_){var wt=X([nt],mt,dt,w);It!==void 0&&G(wt,It);var Pt=S(r(l,void 0,wt))}else Pt=$(nt,w,dt,mt,It,l);dt>=Z&&(q+=Q(w,Z,dt)+Pt,Z=dt+nt.length)}return q+Q(w,Z)}]},!!u(function(){var ct=/./;return ct.exec=function(){var it=[];return it.groups={a:"7"},it},"".replace(ct,"$<a>")!=="7"})||!rt||st)},3123:function(c,g,e){var r=e(2104),a=e(6916),i=e(1702),d=e(7007),u=e(9670),f=e(8554),h=e(7850),b=e(4488),k=e(6707),I=e(1530),S=e(7466),E=e(1340),A=e(8173),L=e(1589),$=e(7651),M=e(2261),P=e(2999),V=e(7293),z=P.UNSUPPORTED_Y,X=4294967295,G=Math.min,J=[].push,Q=i(/./.exec),rt=i(J),st=i("".slice),ct=!V(function(){var it=/(?:)/,B=it.exec;it.exec=function(){return B.apply(this,arguments)};var O="ab".split(it);return O.length!==2||O[0]!=="a"||O[1]!=="b"});d("split",function(it,B,O){var F;return F="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(l,v){var w=E(b(this)),x=v===void 0?X:v>>>0;if(x===0)return[];if(l===void 0)return[w];if(!h(l))return a(B,w,l,x);for(var _,W,K,H=[],U=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(l.sticky?"y":""),ot=0,q=new RegExp(l.source,U+"g");(_=a(M,q,w))&&!((W=q.lastIndex)>ot&&(rt(H,st(w,ot,_.index)),_.length>1&&_.index<w.length&&r(J,H,L(_,1)),K=_[0].length,ot=W,H.length>=x));)q.lastIndex===_.index&&q.lastIndex++;return ot===w.length?!K&&Q(q,"")||rt(H,""):rt(H,st(w,ot)),H.length>x?L(H,0,x):H}:"0".split(void 0,0).length?function(l,v){return l===void 0&&v===0?[]:a(B,this,l,v)}:B,[function(l,v){var w=b(this),x=f(l)?void 0:A(l,it);return x?a(x,l,w,v):a(F,E(w),l,v)},function(l,v){var w=u(this),x=E(l),_=O(F,w,x,v,F!==B);if(_.done)return _.value;var W=k(w,RegExp),K=w.unicode,H=(w.ignoreCase?"i":"")+(w.multiline?"m":"")+(w.unicode?"u":"")+(z?"g":"y"),U=new W(z?"^(?:"+w.source+")":w,H),ot=v===void 0?X:v>>>0;if(ot===0)return[];if(x.length===0)return $(U,x)===null?[x]:[];for(var q=0,Z=0,at=[];Z<x.length;){U.lastIndex=z?0:Z;var nt,dt=$(U,z?st(x,Z):x);if(dt===null||(nt=G(S(U.lastIndex+(z?Z:0)),x.length))===q)Z=I(x,Z,K);else{if(rt(at,st(x,q,Z)),at.length===ot)return at;for(var mt=1;mt<=dt.length-1;mt++)if(rt(at,dt[mt]),at.length===ot)return at;Z=q=nt}}return rt(at,st(x,q)),at}]},!ct,z)},3210:function(c,g,e){var r=e(2109),a=e(3111).trim;r({target:"String",proto:!0,forced:e(6091)("trim")},{trim:function(){return a(this)}})},4032:function(c,g,e){var r=e(2109),a=e(7854),i=e(6916),d=e(1702),u=e(1913),f=e(9781),h=e(6293),b=e(7293),k=e(2597),I=e(7976),S=e(9670),E=e(5656),A=e(4948),L=e(1340),$=e(9114),M=e(30),P=e(1956),V=e(8006),z=e(1156),X=e(5181),G=e(1236),J=e(3070),Q=e(6048),rt=e(5296),st=e(8052),ct=e(7045),it=e(2309),B=e(6200),O=e(3501),F=e(9711),l=e(5112),v=e(6061),w=e(6800),x=e(6532),_=e(8003),W=e(9909),K=e(2092).forEach,H=B("hidden"),U="Symbol",ot="prototype",q=W.set,Z=W.getterFor(U),at=Object[ot],nt=a.Symbol,dt=nt&&nt[ot],mt=a.TypeError,St=a.QObject,It=G.f,wt=J.f,Pt=z.f,Gt=rt.f,yt=d([].push),Ct=it("symbols"),kt=it("op-symbols"),vt=it("wks"),Et=!St||!St[ot]||!St[ot].findChild,_t=f&&b(function(){return M(wt({},"a",{get:function(){return wt(this,"a",{value:7}).a}})).a!=7})?function(ut,pt,ht){var bt=It(at,pt);bt&&delete at[pt],wt(ut,pt,ht),bt&&ut!==at&&wt(at,pt,bt)}:wt,$t=function(ut,pt){var ht=Ct[ut]=M(dt);return q(ht,{type:U,tag:ut,description:pt}),f||(ht.description=pt),ht},ee=function(ut,pt,ht){ut===at&&ee(kt,pt,ht),S(ut);var bt=A(pt);return S(ht),k(Ct,bt)?(ht.enumerable?(k(ut,H)&&ut[H][bt]&&(ut[H][bt]=!1),ht=M(ht,{enumerable:$(0,!1)})):(k(ut,H)||wt(ut,H,$(1,{})),ut[H][bt]=!0),_t(ut,bt,ht)):wt(ut,bt,ht)},ne=function(ut,pt){S(ut);var ht=E(pt),bt=P(ht).concat(yo(ht));return K(bt,function(Lt){f&&!i(Wt,ht,Lt)||ee(ut,Lt,ht[Lt])}),ut},Wt=function(ut){var pt=A(ut),ht=i(Gt,this,pt);return!(this===at&&k(Ct,pt)&&!k(kt,pt))&&(!(ht||!k(this,pt)||!k(Ct,pt)||k(this,H)&&this[H][pt])||ht)},me=function(ut,pt){var ht=E(ut),bt=A(pt);if(ht!==at||!k(Ct,bt)||k(kt,bt)){var Lt=It(ht,bt);return!Lt||!k(Ct,bt)||k(ht,H)&&ht[H][bt]||(Lt.enumerable=!0),Lt}},Ut=function(ut){var pt=Pt(E(ut)),ht=[];return K(pt,function(bt){k(Ct,bt)||k(O,bt)||yt(ht,bt)}),ht},yo=function(ut){var pt=ut===at,ht=Pt(pt?kt:E(ut)),bt=[];return K(ht,function(Lt){!k(Ct,Lt)||pt&&!k(at,Lt)||yt(bt,Ct[Lt])}),bt};h||(nt=function(){if(I(dt,this))throw mt("Symbol is not a constructor");var ut=arguments.length&&arguments[0]!==void 0?L(arguments[0]):void 0,pt=F(ut),ht=function(bt){this===at&&i(ht,kt,bt),k(this,H)&&k(this[H],pt)&&(this[H][pt]=!1),_t(this,pt,$(1,bt))};return f&&Et&&_t(at,pt,{configurable:!0,set:ht}),$t(pt,ut)},st(dt=nt[ot],"toString",function(){return Z(this).tag}),st(nt,"withoutSetter",function(ut){return $t(F(ut),ut)}),rt.f=Wt,J.f=ee,Q.f=ne,G.f=me,V.f=z.f=Ut,X.f=yo,v.f=function(ut){return $t(l(ut),ut)},f&&(ct(dt,"description",{configurable:!0,get:function(){return Z(this).description}}),u||st(at,"propertyIsEnumerable",Wt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:nt}),K(P(vt),function(ut){w(ut)}),r({target:U,stat:!0,forced:!h},{useSetter:function(){Et=!0},useSimple:function(){Et=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!f},{create:function(ut,pt){return pt===void 0?M(ut):ne(M(ut),pt)},defineProperty:ee,defineProperties:ne,getOwnPropertyDescriptor:me}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Ut}),x(),_(nt,U),O[H]=!0},1817:function(c,g,e){var r=e(2109),a=e(9781),i=e(7854),d=e(1702),u=e(2597),f=e(614),h=e(7976),b=e(1340),k=e(7045),I=e(9920),S=i.Symbol,E=S&&S.prototype;if(a&&f(S)&&(!("description"in E)||S().description!==void 0)){var A={},L=function(){var G=arguments.length<1||arguments[0]===void 0?void 0:b(arguments[0]),J=h(E,this)?new S(G):G===void 0?S():S(G);return G===""&&(A[J]=!0),J};I(L,S),L.prototype=E,E.constructor=L;var $=String(S("test"))=="Symbol(test)",M=d(E.valueOf),P=d(E.toString),V=/^Symbol\((.*)\)[^)]+$/,z=d("".replace),X=d("".slice);k(E,"description",{configurable:!0,get:function(){var G=M(this);if(u(A,G))return"";var J=P(G),Q=$?X(J,7,-1):z(J,V,"$1");return Q===""?void 0:Q}}),r({global:!0,constructor:!0,forced:!0},{Symbol:L})}},763:function(c,g,e){var r=e(2109),a=e(5005),i=e(2597),d=e(1340),u=e(2309),f=e(2015),h=u("string-to-symbol-registry"),b=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{for:function(k){var I=d(k);if(i(h,I))return h[I];var S=a("Symbol")(I);return h[I]=S,b[S]=I,S}})},2165:function(c,g,e){e(6800)("iterator")},2526:function(c,g,e){e(4032),e(763),e(6620),e(8862),e(9660)},6620:function(c,g,e){var r=e(2109),a=e(2597),i=e(2190),d=e(6330),u=e(2309),f=e(2015),h=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{keyFor:function(b){if(!i(b))throw TypeError(d(b)+" is not a symbol");if(a(h,b))return h[b]}})},6649:function(c,g,e){var r=e(6800),a=e(6532);r("toPrimitive"),a()},3728:function(c,g,e){e(6373)},4747:function(c,g,e){var r=e(7854),a=e(8324),i=e(8509),d=e(8533),u=e(8880),f=function(b){if(b&&b.forEach!==d)try{u(b,"forEach",d)}catch{b.forEach=d}};for(var h in a)a[h]&&f(r[h]&&r[h].prototype);f(i)},3948:function(c,g,e){var r=e(7854),a=e(8324),i=e(8509),d=e(6992),u=e(8880),f=e(5112),h=f("iterator"),b=f("toStringTag"),k=d.values,I=function(E,A){if(E){if(E[h]!==k)try{u(E,h,k)}catch{E[h]=k}if(E[b]||u(E,b,A),a[A]){for(var L in d)if(E[L]!==d[L])try{u(E,L,d[L])}catch{E[L]=d[L]}}}};for(var S in a)I(r[S]&&r[S].prototype,S);I(i,"DOMTokenList")}},R={};function D(c){var g=R[c];if(g!==void 0)return g.exports;var e=R[c]={exports:{}};return N[c].call(e.exports,e,e.exports,D),e.exports}D.d=function(c,g){for(var e in g)D.o(g,e)&&!D.o(c,e)&&Object.defineProperty(c,e,{enumerable:!0,get:g[e]})},D.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),D.o=function(c,g){return Object.prototype.hasOwnProperty.call(c,g)},D.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})};var Y={};return function(){function c(B){return function(O){if(Array.isArray(O))return e(O)}(B)||function(O){if(typeof Symbol<"u"&&O[Symbol.iterator]!=null||O["@@iterator"]!=null)return Array.from(O)}(B)||g(B)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1313
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function g(B,O){if(B){if(typeof B=="string")return e(B,O);var F=Object.prototype.toString.call(B).slice(8,-1);return F==="Object"&&B.constructor&&(F=B.constructor.name),F==="Map"||F==="Set"?Array.from(B):F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F)?e(B,O):void 0}}function e(B,O){(O==null||O>B.length)&&(O=B.length);for(var F=0,l=new Array(O);F<O;F++)l[F]=B[F];return l}function r(B){return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},r(B)}function a(B,O){for(var F=0;F<O.length;F++){var l=O[F];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(B,d(l.key),l)}}function i(B,O,F){return(O=d(O))in B?Object.defineProperty(B,O,{value:F,enumerable:!0,configurable:!0,writable:!0}):B[O]=F,B}function d(B){var O=function(F,l){if(r(F)!=="object"||F===null)return F;var v=F[Symbol.toPrimitive];if(v!==void 0){var w=v.call(F,l);if(r(w)!=="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(F)}(B,"string");return r(O)==="symbol"?O:String(O)}D.r(Y),D.d(Y,{SimpleKeyboard:function(){return ct},default:function(){return it}}),D(3210),D(4916),D(5306),D(2772),D(8309),D(3123),D(1539),D(9714),D(561),D(9600),D(9595),D(7042),typeof Element>"u"||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof self<"u"&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(B){if("Element"in B){var O="classList",F="prototype",l=B.Element[F],v=Object,w=String[F].trim||function(){return this.replace(/^\s+|\s+$/g,"")},x=Array[F].indexOf||function(q){for(var Z=0,at=this.length;Z<at;Z++)if(Z in this&&this[Z]===q)return Z;return-1},_=function(q,Z){this.name=q,this.code=DOMException[q],this.message=Z},W=function(q,Z){if(Z==="")throw new _("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(Z))throw new _("INVALID_CHARACTER_ERR","The token must not contain space characters.");return x.call(q,Z)},K=function(q){for(var Z=w.call(q.getAttribute("class")||""),at=Z?Z.split(/\s+/):[],nt=0,dt=at.length;nt<dt;nt++)this.push(at[nt]);this._updateClassName=function(){q.setAttribute("class",this.toString())}},H=K[F]=[],U=function(){return new K(this)};if(_[F]=Error[F],H.item=function(q){return this[q]||null},H.contains=function(q){return~W(this,q+"")},H.add=function(){var q,Z=arguments,at=0,nt=Z.length,dt=!1;do~W(this,q=Z[at]+"")||(this.push(q),dt=!0);while(++at<nt);dt&&this._updateClassName()},H.remove=function(){var q,Z,at=arguments,nt=0,dt=at.length,mt=!1;do for(Z=W(this,q=at[nt]+"");~Z;)this.splice(Z,1),mt=!0,Z=W(this,q);while(++nt<dt);mt&&this._updateClassName()},H.toggle=function(q,Z){var at=this.contains(q),nt=at?Z!==!0&&"remove":Z!==!1&&"add";return nt&&this[nt](q),Z===!0||Z===!1?Z:!at},H.replace=function(q,Z){var at=W(q+"");~at&&(this.splice(at,1,Z),this._updateClassName())},H.toString=function(){return this.join(" ")},v.defineProperty){var ot={get:U,enumerable:!0,configurable:!0};try{v.defineProperty(l,O,ot)}catch(q){q.number!==void 0&&q.number!==-2146823252||(ot.enumerable=!1,v.defineProperty(l,O,ot))}}else v[F].__defineGetter__&&l.__defineGetter__(O,U)}}(self),function(){var B=document.createElement("_");if(B.classList.add("c1","c2"),!B.classList.contains("c2")){var O=function(l){var v=DOMTokenList.prototype[l];DOMTokenList.prototype[l]=function(w){var x,_=arguments.length;for(x=0;x<_;x++)w=arguments[x],v.call(this,w)}};O("add"),O("remove")}if(B.classList.toggle("c3",!1),B.classList.contains("c3")){var F=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(l,v){return 1 in arguments&&!this.contains(l)==!v?v:F.call(this,l)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(l,v){var w=this.toString().split(" "),x=w.indexOf(l+"");~x&&(w=w.slice(x),this.remove.apply(this,w),this.add(v),this.add.apply(this,w.slice(1)))}),B=null}()),D(7327),D(2222),D(7941),D(4603),D(3728),D(2707),D(6699),D(2023),D(4747),D(9601),D(1249),D(1038),D(8783),D(6649),D(6078),D(2526),D(1817),D(9653),D(5003),D(9337),D(2165),D(6992),D(3948),D(3161),D(4723),D(5827),D(6210);var u=function(){function B(v){var w=v.getOptions,x=v.getCaretPosition,_=v.getCaretPositionEnd,W=v.dispatch;(function(K,H){if(!(K instanceof H))throw new TypeError("Cannot call a class as a function")})(this,B),i(this,"getOptions",void 0),i(this,"getCaretPosition",void 0),i(this,"getCaretPositionEnd",void 0),i(this,"dispatch",void 0),i(this,"maxLengthReached",void 0),i(this,"isStandardButton",function(K){return K&&!(K[0]==="{"&&K[K.length-1]==="}")}),this.getOptions=w,this.getCaretPosition=x,this.getCaretPositionEnd=_,this.dispatch=W,B.bindMethods(B,this)}var O,F,l;return O=B,F=[{key:"getButtonType",value:function(v){return v.includes("{")&&v.includes("}")&&v!=="{//}"?"functionBtn":"standardBtn"}},{key:"getButtonClass",value:function(v){var w=this.getButtonType(v),x=v.replace("{","").replace("}",""),_="";return w!=="standardBtn"&&(_=" hg-button-".concat(x)),"hg-".concat(w).concat(_)}},{key:"getDefaultDiplay",value:function(){return{"{bksp}":"backspace","{backspace}":"backspace","{enter}":"< enter","{shift}":"shift","{shiftleft}":"shift","{shiftright}":"shift","{alt}":"alt","{s}":"shift","{tab}":"tab","{lock}":"caps","{capslock}":"caps","{accept}":"Submit","{space}":" ","{//}":" ","{esc}":"esc","{escape}":"esc","{f1}":"f1","{f2}":"f2","{f3}":"f3","{f4}":"f4","{f5}":"f5","{f6}":"f6","{f7}":"f7","{f8}":"f8","{f9}":"f9","{f10}":"f10","{f11}":"f11","{f12}":"f12","{numpaddivide}":"/","{numlock}":"lock","{arrowup}":"↑","{arrowleft}":"←","{arrowdown}":"↓","{arrowright}":"→","{prtscr}":"print","{scrolllock}":"scroll","{pause}":"pause","{insert}":"ins","{home}":"home","{pageup}":"up","{delete}":"del","{forwarddelete}":"del","{end}":"end","{pagedown}":"down","{numpadmultiply}":"*","{numpadsubtract}":"-","{numpadadd}":"+","{numpadenter}":"enter","{period}":".","{numpaddecimal}":".","{numpad0}":"0","{numpad1}":"1","{numpad2}":"2","{numpad3}":"3","{numpad4}":"4","{numpad5}":"5","{numpad6}":"6","{numpad7}":"7","{numpad8}":"8","{numpad9}":"9"}}},{key:"getButtonDisplayName",value:function(v,w){return(w=arguments.length>2&&arguments[2]!==void 0&&arguments[2]?Object.assign({},this.getDefaultDiplay(),w):w||this.getDefaultDiplay())[v]||v}},{key:"getUpdatedInput",value:function(v,w,x){var _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:x,W=arguments.length>4&&arguments[4]!==void 0&&arguments[4],K=this.getOptions(),H=[x,_,W],U=w;return(v==="{bksp}"||v==="{backspace}")&&U.length>0?U=this.removeAt.apply(this,[U].concat(H)):(v==="{delete}"||v==="{forwarddelete}")&&U.length>0?U=this.removeForwardsAt.apply(this,[U].concat(H)):v==="{space}"?U=this.addStringAt.apply(this,[U," "].concat(H)):v!=="{tab}"||typeof K.tabCharOnTab=="boolean"&&K.tabCharOnTab===!1?v!=="{enter}"&&v!=="{numpadenter}"||!K.newLineOnEnter?v.includes("numpad")&&Number.isInteger(Number(v[v.length-2]))?U=this.addStringAt.apply(this,[U,v[v.length-2]].concat(H)):v==="{numpaddivide}"?U=this.addStringAt.apply(this,[U,"/"].concat(H)):v==="{numpadmultiply}"?U=this.addStringAt.apply(this,[U,"*"].concat(H)):v==="{numpadsubtract}"?U=this.addStringAt.apply(this,[U,"-"].concat(H)):v==="{numpadadd}"?U=this.addStringAt.apply(this,[U,"+"].concat(H)):v==="{numpaddecimal}"?U=this.addStringAt.apply(this,[U,"."].concat(H)):v==="{"||v==="}"?U=this.addStringAt.apply(this,[U,v].concat(H)):v.includes("{")||v.includes("}")||(U=this.addStringAt.apply(this,[U,v].concat(H))):U=this.addStringAt.apply(this,[U,`
|
|
1314
|
+
`].concat(H)):U=this.addStringAt.apply(this,[U," "].concat(H)),K.debug&&console.log("Input will be: "+U),U}},{key:"updateCaretPos",value:function(v){var w=arguments.length>1&&arguments[1]!==void 0&&arguments[1],x=this.updateCaretPosAction(v,w);this.dispatch(function(_){_.setCaretPosition(x)})}},{key:"updateCaretPosAction",value:function(v){var w=arguments.length>1&&arguments[1]!==void 0&&arguments[1],x=this.getOptions(),_=this.getCaretPosition();return _!=null&&(w?_>0&&(_-=v):_+=v),x.debug&&console.log("Caret at:",_),_}},{key:"addStringAt",value:function(v,w){var x,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v.length,W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v.length,K=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return _||_===0?(x=[v.slice(0,_),w,v.slice(W)].join(""),this.isMaxLengthReached()||K&&this.updateCaretPos(w.length)):x=v+w,x}},{key:"removeAt",value:function(v){var w,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.length,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v.length,W=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(x===0&&_===0)return v;if(x===_){var K=/([\uD800-\uDBFF][\uDC00-\uDFFF])/g;x&&x>=0?v.substring(x-2,x).match(K)?(w=v.substr(0,x-2)+v.substr(x),W&&this.updateCaretPos(2,!0)):(w=v.substr(0,x-1)+v.substr(x),W&&this.updateCaretPos(1,!0)):v.slice(-2).match(K)?(w=v.slice(0,-2),W&&this.updateCaretPos(2,!0)):(w=v.slice(0,-1),W&&this.updateCaretPos(1,!0))}else w=v.slice(0,x)+v.slice(_),W&&this.dispatch(function(H){H.setCaretPosition(x)});return w}},{key:"removeForwardsAt",value:function(v){var w,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.length,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v.length,W=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return v!=null&&v.length&&x!==null?(x===_?w=v.substring(x,x+2).match(/([\uD800-\uDBFF][\uDC00-\uDFFF])/g)?v.substr(0,x)+v.substr(x+2):v.substr(0,x)+v.substr(x+1):(w=v.slice(0,x)+v.slice(_),W&&this.dispatch(function(K){K.setCaretPosition(x)})),w):v}},{key:"handleMaxLength",value:function(v,w){var x=this.getOptions(),_=x.maxLength,W=v[x.inputName||"default"],K=w.length-1>=_;if(w.length<=W.length)return!1;if(Number.isInteger(_))return x.debug&&console.log("maxLength (num) reached:",K),K?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1);if(r(_)==="object"){var H=w.length-1>=_[x.inputName||"default"];return x.debug&&console.log("maxLength (obj) reached:",H),H?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1)}}},{key:"isMaxLengthReached",value:function(){return!!this.maxLengthReached}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints}},{key:"pointerEventsSupported",value:function(){return!!window.PointerEvent}},{key:"camelCase",value:function(v){return v?v.toLowerCase().trim().split(/[.\-_\s]/g).reduce(function(w,x){return x.length?w+x[0].toUpperCase()+x.slice(1):w}):""}},{key:"chunkArray",value:function(v,w){return c(Array(Math.ceil(v.length/w))).map(function(x,_){return v.slice(w*_,w+w*_)})}},{key:"escapeRegex",value:function(v){return v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}},{key:"getRtlOffset",value:function(v,w){var x=v,_=w.indexOf("");return _<v&&_!=-1&&x--,w.indexOf("")<v&&_!=-1&&x--,x<0?0:x}}],l=[{key:"bindMethods",value:function(v,w){var x,_=function(K,H){var U=typeof Symbol<"u"&&K[Symbol.iterator]||K["@@iterator"];if(!U){if(Array.isArray(K)||(U=g(K))||H){U&&(K=U);var ot=0,q=function(){};return{s:q,n:function(){return ot>=K.length?{done:!0}:{done:!1,value:K[ot++]}},e:function(dt){throw dt},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1315
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z,at=!0,nt=!1;return{s:function(){U=U.call(K)},n:function(){var dt=U.next();return at=dt.done,dt},e:function(dt){nt=!0,Z=dt},f:function(){try{at||U.return==null||U.return()}finally{if(nt)throw Z}}}}(Object.getOwnPropertyNames(v.prototype));try{for(_.s();!(x=_.n()).done;){var W=x.value;W==="constructor"||W==="bindMethods"||(w[W]=w[W].bind(w))}}catch(K){_.e(K)}finally{_.f()}}}],F&&a(O.prototype,F),l&&a(O,l),Object.defineProperty(O,"prototype",{writable:!1}),B}();i(u,"noop",function(){});var f=u;function h(B){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},h(B)}function b(B,O){for(var F=0;F<O.length;F++){var l=O[F];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(B,I(l.key),l)}}function k(B,O,F){return(O=I(O))in B?Object.defineProperty(B,O,{value:F,enumerable:!0,configurable:!0,writable:!0}):B[O]=F,B}function I(B){var O=function(F,l){if(h(F)!=="object"||F===null)return F;var v=F[Symbol.toPrimitive];if(v!==void 0){var w=v.call(F,l);if(h(w)!=="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(F)}(B,"string");return h(O)==="symbol"?O:String(O)}var S=function(){function B(l){var v=this,w=l.dispatch,x=l.getOptions;(function(_,W){if(!(_ instanceof W))throw new TypeError("Cannot call a class as a function")})(this,B),k(this,"getOptions",void 0),k(this,"dispatch",void 0),k(this,"isMofifierKey",function(_){return _.altKey||_.ctrlKey||_.shiftKey||["Tab","CapsLock","Esc","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(_.code||_.key||v.keyCodeToKey(_==null?void 0:_.keyCode))}),this.dispatch=w,this.getOptions=x,f.bindMethods(B,this)}var O,F;return O=B,(F=[{key:"handleHighlightKeyDown",value:function(l){var v=this.getOptions();v.physicalKeyboardHighlightPreventDefault&&this.isMofifierKey(l)&&(l.preventDefault(),l.stopImmediatePropagation());var w=this.getSimpleKeyboardLayoutKey(l);this.dispatch(function(x){var _,W,K=x.getButtonElement(w),H=x.getButtonElement("{".concat(w,"}"));if(K)_=K,W=w;else{if(!H)return;_=H,W="{".concat(w,"}")}var U,ot=function(Z){Z.style.background=v.physicalKeyboardHighlightBgColor||"#dadce4",Z.style.color=v.physicalKeyboardHighlightTextColor||"black"};if(_)if(Array.isArray(_)){if(_.forEach(function(Z){return ot(Z)}),v.physicalKeyboardHighlightPress)if(v.physicalKeyboardHighlightPressUsePointerEvents)(U=_[0])===null||U===void 0||U.onpointerdown();else if(v.physicalKeyboardHighlightPressUseClick){var q;(q=_[0])===null||q===void 0||q.click()}else x.handleButtonClicked(W,l)}else ot(_),v.physicalKeyboardHighlightPress&&(v.physicalKeyboardHighlightPressUsePointerEvents?_.onpointerdown():v.physicalKeyboardHighlightPressUseClick?_.click():x.handleButtonClicked(W,l))})}},{key:"handleHighlightKeyUp",value:function(l){var v=this.getOptions();v.physicalKeyboardHighlightPreventDefault&&this.isMofifierKey(l)&&(l.preventDefault(),l.stopImmediatePropagation());var w=this.getSimpleKeyboardLayoutKey(l);this.dispatch(function(x){var _,W=x.getButtonElement(w)||x.getButtonElement("{".concat(w,"}")),K=function(H){H.removeAttribute&&H.removeAttribute("style")};W&&(Array.isArray(W)?(W.forEach(function(H){return K(H)}),v.physicalKeyboardHighlightPressUsePointerEvents&&((_=W[0])===null||_===void 0||_.onpointerup())):(K(W),v.physicalKeyboardHighlightPressUsePointerEvents&&W.onpointerup()))})}},{key:"getSimpleKeyboardLayoutKey",value:function(l){var v,w="",x=l.code||l.key||this.keyCodeToKey(l==null?void 0:l.keyCode);return(w=x!=null&&x.includes("Numpad")||x!=null&&x.includes("Shift")||x!=null&&x.includes("Space")||x!=null&&x.includes("Backspace")||x!=null&&x.includes("Control")||x!=null&&x.includes("Alt")||x!=null&&x.includes("Meta")?l.code||"":l.key||this.keyCodeToKey(l==null?void 0:l.keyCode)||"").length>1?(v=w)===null||v===void 0?void 0:v.toLowerCase():w}},{key:"keyCodeToKey",value:function(l){return{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}[l]||""}}])&&b(O.prototype,F),Object.defineProperty(O,"prototype",{writable:!1}),B}();function E(B){return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},E(B)}function A(B,O){for(var F=0;F<O.length;F++){var l=O[F];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(B,$(l.key),l)}}function L(B,O,F){return(O=$(O))in B?Object.defineProperty(B,O,{value:F,enumerable:!0,configurable:!0,writable:!0}):B[O]=F,B}function $(B){var O=function(F,l){if(E(F)!=="object"||F===null)return F;var v=F[Symbol.toPrimitive];if(v!==void 0){var w=v.call(F,l);if(E(w)!=="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(F)}(B,"string");return E(O)==="symbol"?O:String(O)}var M=function(){function B(l){var v=l.utilities,w=l.options;(function(x,_){if(!(x instanceof _))throw new TypeError("Cannot call a class as a function")})(this,B),L(this,"utilities",void 0),L(this,"options",void 0),L(this,"candidateBoxElement",void 0),L(this,"pageIndex",0),L(this,"pageSize",void 0),this.utilities=v,this.options=w,f.bindMethods(B,this),this.pageSize=this.utilities.getOptions().layoutCandidatesPageSize||5}var O,F;return O=B,F=[{key:"destroy",value:function(){this.candidateBoxElement&&(this.candidateBoxElement.remove(),this.pageIndex=0)}},{key:"show",value:function(l){var v=this,w=l.candidateValue,x=l.targetElement,_=l.onSelect;if(w&&w.length){var W=this.utilities.chunkArray(w.split(" "),this.pageSize);this.renderPage({candidateListPages:W,targetElement:x,pageIndex:this.pageIndex,nbPages:W.length,onItemSelected:function(K,H){_(K,H),v.destroy()}})}}},{key:"renderPage",value:function(l){var v,w=this,x=l.candidateListPages,_=l.targetElement,W=l.pageIndex,K=l.nbPages,H=l.onItemSelected;(v=this.candidateBoxElement)===null||v===void 0||v.remove(),this.candidateBoxElement=document.createElement("div"),this.candidateBoxElement.className="hg-candidate-box";var U=document.createElement("ul");U.className="hg-candidate-box-list",x[W].forEach(function(mt){var St,It=document.createElement("li"),wt=function(){var Pt=new(w.options.useTouchEvents?TouchEvent:MouseEvent)("click");return Object.defineProperty(Pt,"target",{value:It}),Pt};It.className="hg-candidate-box-list-item",It.innerHTML=((St=w.options.display)===null||St===void 0?void 0:St[mt])||mt,w.options.useTouchEvents?It.ontouchstart=function(Pt){return H(mt,Pt||wt())}:It.onclick=function(){var Pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wt();return H(mt,Pt)},U.appendChild(It)});var ot=W>0,q=document.createElement("div");q.classList.add("hg-candidate-box-prev"),ot&&q.classList.add("hg-candidate-box-btn-active");var Z=function(){ot&&w.renderPage({candidateListPages:x,targetElement:_,pageIndex:W-1,nbPages:K,onItemSelected:H})};this.options.useTouchEvents?q.ontouchstart=Z:q.onclick=Z,this.candidateBoxElement.appendChild(q),this.candidateBoxElement.appendChild(U);var at=W<K-1,nt=document.createElement("div");nt.classList.add("hg-candidate-box-next"),at&&nt.classList.add("hg-candidate-box-btn-active");var dt=function(){at&&w.renderPage({candidateListPages:x,targetElement:_,pageIndex:W+1,nbPages:K,onItemSelected:H})};this.options.useTouchEvents?nt.ontouchstart=dt:nt.onclick=dt,this.candidateBoxElement.appendChild(nt),_.prepend(this.candidateBoxElement)}}],F&&A(O.prototype,F),Object.defineProperty(O,"prototype",{writable:!1}),B}(),P=M;function V(B){return function(O){if(Array.isArray(O))return z(O)}(B)||function(O){if(typeof Symbol<"u"&&O[Symbol.iterator]!=null||O["@@iterator"]!=null)return Array.from(O)}(B)||function(O,F){if(O){if(typeof O=="string")return z(O,F);var l=Object.prototype.toString.call(O).slice(8,-1);return l==="Object"&&O.constructor&&(l=O.constructor.name),l==="Map"||l==="Set"?Array.from(O):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?z(O,F):void 0}}(B)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1316
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function z(B,O){(O==null||O>B.length)&&(O=B.length);for(var F=0,l=new Array(O);F<O;F++)l[F]=B[F];return l}function X(B){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},X(B)}function G(B,O){var F=Object.keys(B);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(B);O&&(l=l.filter(function(v){return Object.getOwnPropertyDescriptor(B,v).enumerable})),F.push.apply(F,l)}return F}function J(B,O){for(var F=0;F<O.length;F++){var l=O[F];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(B,rt(l.key),l)}}function Q(B,O,F){return(O=rt(O))in B?Object.defineProperty(B,O,{value:F,enumerable:!0,configurable:!0,writable:!0}):B[O]=F,B}function rt(B){var O=function(F,l){if(X(F)!=="object"||F===null)return F;var v=F[Symbol.toPrimitive];if(v!==void 0){var w=v.call(F,l);if(X(w)!=="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(F)}(B,"string");return X(O)==="symbol"?O:String(O)}var st=function(){function B(l,v){var w=this;if(function(q,Z){if(!(q instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,B),Q(this,"input",void 0),Q(this,"options",void 0),Q(this,"utilities",void 0),Q(this,"caretPosition",void 0),Q(this,"caretPositionEnd",void 0),Q(this,"keyboardDOM",void 0),Q(this,"keyboardPluginClasses",void 0),Q(this,"keyboardDOMClass",void 0),Q(this,"buttonElements",void 0),Q(this,"currentInstanceName",void 0),Q(this,"allKeyboardInstances",void 0),Q(this,"keyboardInstanceNames",void 0),Q(this,"isFirstKeyboardInstance",void 0),Q(this,"physicalKeyboard",void 0),Q(this,"modules",void 0),Q(this,"activeButtonClass",void 0),Q(this,"holdInteractionTimeout",void 0),Q(this,"holdTimeout",void 0),Q(this,"isMouseHold",void 0),Q(this,"initialized",void 0),Q(this,"candidateBox",void 0),Q(this,"keyboardRowsDOM",void 0),Q(this,"defaultName","default"),Q(this,"activeInputElement",null),Q(this,"handleParams",function(q,Z){var at,nt,dt;if(typeof q=="string")at=q.split(".").join(""),nt=document.querySelector(".".concat(at)),dt=Z;else if(q instanceof HTMLDivElement){if(!q.className)throw console.warn("Any DOM element passed as parameter must have a class."),new Error("KEYBOARD_DOM_CLASS_ERROR");at=q.className.split(" ")[0],nt=q,dt=Z}else at="simple-keyboard",nt=document.querySelector(".".concat(at)),dt=q;return{keyboardDOMClass:at,keyboardDOM:nt,options:dt}}),Q(this,"getOptions",function(){return w.options}),Q(this,"getCaretPosition",function(){return w.caretPosition}),Q(this,"getCaretPositionEnd",function(){return w.caretPositionEnd}),Q(this,"registerModule",function(q,Z){w.modules[q]||(w.modules[q]={}),Z(w.modules[q])}),Q(this,"getKeyboardClassString",function(){for(var q=arguments.length,Z=new Array(q),at=0;at<q;at++)Z[at]=arguments[at];return[w.keyboardDOMClass].concat(Z).filter(function(nt){return!!nt}).join(" ")}),typeof window<"u"){var x=this.handleParams(l,v),_=x.keyboardDOMClass,W=x.keyboardDOM,K=x.options,H=K===void 0?{}:K;this.utilities=new f({getOptions:this.getOptions,getCaretPosition:this.getCaretPosition,getCaretPositionEnd:this.getCaretPositionEnd,dispatch:this.dispatch}),this.caretPosition=null,this.caretPositionEnd=null,this.keyboardDOM=W,this.options=function(q){for(var Z=1;Z<arguments.length;Z++){var at=arguments[Z]!=null?arguments[Z]:{};Z%2?G(Object(at),!0).forEach(function(nt){Q(q,nt,at[nt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(at)):G(Object(at)).forEach(function(nt){Object.defineProperty(q,nt,Object.getOwnPropertyDescriptor(at,nt))})}return q}({layoutName:"default",theme:"hg-theme-default",inputName:"default",preventMouseDownDefault:!1,enableLayoutCandidates:!0,excludeFromLayout:{}},H),this.keyboardPluginClasses="",f.bindMethods(B,this);var U=this.options.inputName,ot=U===void 0?this.defaultName:U;if(this.input={},this.input[ot]="",this.keyboardDOMClass=_,this.buttonElements={},window.SimpleKeyboardInstances||(window.SimpleKeyboardInstances={}),this.currentInstanceName=this.utilities.camelCase(this.keyboardDOMClass),window.SimpleKeyboardInstances[this.currentInstanceName]=this,this.allKeyboardInstances=window.SimpleKeyboardInstances,this.keyboardInstanceNames=Object.keys(window.SimpleKeyboardInstances),this.isFirstKeyboardInstance=this.keyboardInstanceNames[0]===this.currentInstanceName,this.physicalKeyboard=new S({dispatch:this.dispatch,getOptions:this.getOptions}),this.candidateBox=this.options.enableLayoutCandidates?new P({utilities:this.utilities,options:this.options}):null,!this.keyboardDOM)throw console.warn('".'.concat(_,'" was not found in the DOM.')),new Error("KEYBOARD_DOM_ERROR");this.render(),this.modules={},this.loadModules()}}var O,F;return O=B,F=[{key:"setCaretPosition",value:function(l){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;this.caretPosition=l,this.caretPositionEnd=v}},{key:"getInputCandidates",value:function(l){var v=this,w=this.options,x=w.layoutCandidates,_=w.layoutCandidatesCaseSensitiveMatch;if(!x||X(x)!=="object")return{};var W=Object.keys(x).filter(function(U){var ot=l.substring(0,v.getCaretPositionEnd()||0)||l,q=new RegExp("".concat(v.utilities.escapeRegex(U),"$"),_?"g":"gi");return!!V(ot.matchAll(q)).length});if(W.length>1){var K=W.sort(function(U,ot){return ot.length-U.length})[0];return{candidateKey:K,candidateValue:x[K]}}if(W.length){var H=W[0];return{candidateKey:H,candidateValue:x[H]}}return{}}},{key:"showCandidatesBox",value:function(l,v,w){var x=this;this.candidateBox&&this.candidateBox.show({candidateValue:v,targetElement:w,onSelect:function(_,W){var K=x.options,H=K.layoutCandidatesCaseSensitiveMatch,U=K.disableCandidateNormalization,ot=K.enableLayoutCandidatesKeyPress,q=_;U||(q=_.normalize("NFD"));var Z=x.getInput(x.options.inputName,!0),at=x.getCaretPositionEnd()||0,nt=Z.substring(0,at||0)||Z,dt=new RegExp("".concat(x.utilities.escapeRegex(l),"$"),H?"g":"gi"),mt=nt.replace(dt,q),St=Z.replace(nt,mt),It=mt.length-nt.length,wt=(at||Z.length)+It;wt<0&&(wt=0),x.setInput(St,x.options.inputName,!0),x.setCaretPosition(wt),ot&&typeof x.options.onKeyPress=="function"&&x.options.onKeyPress(_,W),typeof x.options.onChange=="function"&&x.options.onChange(x.getInput(x.options.inputName,!0),W),typeof x.options.onChangeAll=="function"&&x.options.onChangeAll(x.getAllInputs(),W)}})}},{key:"handleButtonClicked",value:function(l,v){var w=this.options,x=w.inputName,_=x===void 0?this.defaultName:x,W=w.debug;if(l!=="{//}"){this.input[_]||(this.input[_]="");var K=this.utilities.getUpdatedInput(l,this.input[_],this.caretPosition,this.caretPositionEnd);if(this.utilities.isStandardButton(l)&&this.activeInputElement&&this.input[_]&&this.input[_]===K&&this.caretPosition===0&&this.caretPositionEnd===K.length)return this.setInput("",this.options.inputName,!0),this.setCaretPosition(0),this.activeInputElement.value="",this.activeInputElement.setSelectionRange(0,0),void this.handleButtonClicked(l,v);if(typeof this.options.onKeyPress=="function"&&this.options.onKeyPress(l,v),this.input[_]!==K&&(!this.options.inputPattern||this.options.inputPattern&&this.inputPatternIsValid(K))){if(this.options.maxLength&&this.utilities.handleMaxLength(this.input,K))return;var H=this.utilities.getUpdatedInput(l,this.input[_],this.caretPosition,this.caretPositionEnd,!0);if(this.setInput(H,this.options.inputName,!0),W&&console.log("Input changed:",this.getAllInputs()),this.options.debug&&console.log("Caret at: ",this.getCaretPosition(),this.getCaretPositionEnd(),"(".concat(this.keyboardDOMClass,")"),v==null?void 0:v.type),this.options.syncInstanceInputs&&this.syncInstanceInputs(),typeof this.options.onChange=="function"&&this.options.onChange(this.getInput(this.options.inputName,!0),v),typeof this.options.onChangeAll=="function"&&this.options.onChangeAll(this.getAllInputs(),v),v!=null&&v.target&&this.options.enableLayoutCandidates){var U,ot=this.getInputCandidates(K),q=ot.candidateKey,Z=ot.candidateValue;q&&Z?this.showCandidatesBox(q,Z,this.keyboardDOM):(U=this.candidateBox)===null||U===void 0||U.destroy()}}this.caretPositionEnd&&this.caretPosition!==this.caretPositionEnd&&(this.setCaretPosition(this.caretPositionEnd,this.caretPositionEnd),this.activeInputElement&&this.activeInputElement.setSelectionRange(this.caretPositionEnd,this.caretPositionEnd),this.options.debug&&console.log("Caret position aligned",this.caretPosition)),W&&console.log("Key pressed:",l)}}},{key:"getMouseHold",value:function(){return this.isMouseHold}},{key:"setMouseHold",value:function(l){this.options.syncInstanceInputs?this.dispatch(function(v){v.isMouseHold=l}):this.isMouseHold=l}},{key:"handleButtonMouseDown",value:function(l,v){var w=this;v&&(this.options.preventMouseDownDefault&&v.preventDefault(),this.options.stopMouseDownPropagation&&v.stopPropagation(),v.target.classList.add(this.activeButtonClass)),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdTimeout&&clearTimeout(this.holdTimeout),this.setMouseHold(!0),this.options.disableButtonHold||(this.holdTimeout=window.setTimeout(function(){(w.getMouseHold()&&(!l.includes("{")&&!l.includes("}")||l==="{delete}"||l==="{backspace}"||l==="{bksp}"||l==="{space}"||l==="{tab}")||l==="{arrowright}"||l==="{arrowleft}"||l==="{arrowup}"||l==="{arrowdown}")&&(w.options.debug&&console.log("Button held:",l),w.handleButtonHold(l)),clearTimeout(w.holdTimeout)},500))}},{key:"handleButtonMouseUp",value:function(l,v){var w=this;v&&(this.options.preventMouseUpDefault&&v.preventDefault&&v.preventDefault(),this.options.stopMouseUpPropagation&&v.stopPropagation&&v.stopPropagation(),!(v.target===this.keyboardDOM||v.target&&this.keyboardDOM.contains(v.target)||this.candidateBox&&this.candidateBox.candidateBoxElement&&(v.target===this.candidateBox.candidateBoxElement||v.target&&this.candidateBox.candidateBoxElement.contains(v.target)))&&this.candidateBox&&this.candidateBox.destroy()),this.recurseButtons(function(x){x.classList.remove(w.activeButtonClass)}),this.setMouseHold(!1),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),l&&typeof this.options.onKeyReleased=="function"&&this.options.onKeyReleased(l,v)}},{key:"handleKeyboardContainerMouseDown",value:function(l){this.options.preventMouseDownDefault&&l.preventDefault()}},{key:"handleButtonHold",value:function(l){var v=this;this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdInteractionTimeout=window.setTimeout(function(){v.getMouseHold()?(v.handleButtonClicked(l),v.handleButtonHold(l)):clearTimeout(v.holdInteractionTimeout)},100)}},{key:"syncInstanceInputs",value:function(){var l=this;this.dispatch(function(v){v.replaceInput(l.input),v.setCaretPosition(l.caretPosition,l.caretPositionEnd)})}},{key:"clearInput",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName;this.input[l]="",this.setCaretPosition(0),this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"getInput",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName,v=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.options.syncInstanceInputs&&!v&&this.syncInstanceInputs(),this.options.rtl?""+this.input[l].replace("","").replace("","")+"":this.input[l]}},{key:"getAllInputs",value:function(){var l=this,v={};return Object.keys(this.input).forEach(function(w){v[w]=l.getInput(w,!0)}),v}},{key:"setInput",value:function(l){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.inputName||this.defaultName,w=arguments.length>2?arguments[2]:void 0;this.input[v]=l,!w&&this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"replaceInput",value:function(l){this.input=l}},{key:"setOptions",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=this.changedOptions(l);this.options=Object.assign(this.options,l),v.length&&(this.options.debug&&console.log("changedOptions",v),this.onSetOptions(v),this.render())}},{key:"changedOptions",value:function(l){var v=this;return Object.keys(l).filter(function(w){return JSON.stringify(l[w])!==JSON.stringify(v.options[w])})}},{key:"onSetOptions",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];l.includes("layoutName")&&this.candidateBox&&this.candidateBox.destroy(),(l.includes("layoutCandidatesPageSize")||l.includes("layoutCandidates"))&&this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=new P({utilities:this.utilities,options:this.options}))}},{key:"resetRows",value:function(){this.keyboardRowsDOM&&this.keyboardRowsDOM.remove(),this.keyboardDOM.className=this.keyboardDOMClass,this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.buttonElements={}}},{key:"dispatch",value:function(l){if(!window.SimpleKeyboardInstances)throw console.warn("SimpleKeyboardInstances is not defined. Dispatch cannot be called."),new Error("INSTANCES_VAR_ERROR");return Object.keys(window.SimpleKeyboardInstances).forEach(function(v){l(window.SimpleKeyboardInstances[v],v)})}},{key:"addButtonTheme",value:function(l,v){var w=this;v&&l&&(l.split(" ").forEach(function(x){v.split(" ").forEach(function(_){w.options.buttonTheme||(w.options.buttonTheme=[]);var W=!1;w.options.buttonTheme.map(function(K){if(K!=null&&K.class.split(" ").includes(_)){W=!0;var H=K.buttons.split(" ");H.includes(x)||(W=!0,H.push(x),K.buttons=H.join(" "))}return K}),W||w.options.buttonTheme.push({class:_,buttons:l})})}),this.render())}},{key:"removeButtonTheme",value:function(l,v){var w=this;if(!l&&!v)return this.options.buttonTheme=[],void this.render();l&&Array.isArray(this.options.buttonTheme)&&this.options.buttonTheme.length&&(l.split(" ").forEach(function(x){var _,W;(_=w.options)===null||_===void 0||(W=_.buttonTheme)===null||W===void 0||W.map(function(K,H){if(K&&v&&v.includes(K.class)||!v){var U,ot,q=(U=K)===null||U===void 0?void 0:U.buttons.split(" ").filter(function(Z){return Z!==x});K&&q!=null&&q.length?K.buttons=q.join(" "):((ot=w.options.buttonTheme)===null||ot===void 0||ot.splice(H,1),K=null)}return K})}),this.render())}},{key:"getButtonElement",value:function(l){var v,w=this.buttonElements[l];return w&&(v=w.length>1?w:w[0]),v}},{key:"inputPatternIsValid",value:function(l){var v,w=this.options.inputPattern;if((v=w instanceof RegExp?w:w[this.options.inputName||this.defaultName])&&l){var x=v.test(l);return this.options.debug&&console.log('inputPattern ("'.concat(v,'"): ').concat(x?"passed":"did not pass!")),x}return!0}},{key:"setEventListeners",value:function(){if(this.isFirstKeyboardInstance||!this.allKeyboardInstances){this.options.debug&&console.log("Caret handling started (".concat(this.keyboardDOMClass,")"));var l=this.options.physicalKeyboardHighlightPreventDefault,v=l!==void 0&&l;document.addEventListener("keyup",this.handleKeyUp,v),document.addEventListener("keydown",this.handleKeyDown,v),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("touchend",this.handleTouchEnd),document.addEventListener("selectionchange",this.handleSelectionChange),document.addEventListener("select",this.handleSelect)}}},{key:"handleKeyUp",value:function(l){this.caretEventHandler(l),this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyUp(l)}},{key:"handleKeyDown",value:function(l){this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyDown(l)}},{key:"handleMouseUp",value:function(l){this.caretEventHandler(l)}},{key:"handleTouchEnd",value:function(l){this.caretEventHandler(l)}},{key:"handleSelect",value:function(l){this.caretEventHandler(l)}},{key:"handleSelectionChange",value:function(l){navigator.userAgent.includes("Firefox")||this.caretEventHandler(l)}},{key:"caretEventHandler",value:function(l){var v,w=this;l.target.tagName&&(v=l.target.tagName.toLowerCase()),this.dispatch(function(x){var _=l.target===x.keyboardDOM||l.target&&x.keyboardDOM.contains(l.target);if(w.options.syncInstanceInputs&&Array.isArray(l.path)&&(_=l.path.some(function(H){var U;return H==null||(U=H.hasAttribute)===null||U===void 0?void 0:U.call(H,"data-skInstance")})),(v==="textarea"||v==="input"&&["text","search","url","tel","password"].includes(l.target.type))&&!x.options.disableCaretPositioning){var W=l.target.selectionStart,K=l.target.selectionEnd;x.options.rtl&&(W=x.utilities.getRtlOffset(W,x.getInput()),K=x.utilities.getRtlOffset(K,x.getInput())),x.setCaretPosition(W,K),w.activeInputElement=l.target,x.options.debug&&console.log("Caret at: ",x.getCaretPosition(),x.getCaretPositionEnd(),l&&l.target.tagName.toLowerCase(),"(".concat(x.keyboardDOMClass,")"),l==null?void 0:l.type)}else!x.options.disableCaretPositioning&&_||(l==null?void 0:l.type)==="selectionchange"||(x.setCaretPosition(null),w.activeInputElement=null,x.options.debug&&console.log('Caret position reset due to "'.concat(l==null?void 0:l.type,'" event'),l))})}},{key:"recurseButtons",value:function(l){var v=this;l&&Object.keys(this.buttonElements).forEach(function(w){return v.buttonElements[w].forEach(l)})}},{key:"destroy",value:function(){this.options.debug&&console.log("Destroying simple-keyboard instance: ".concat(this.currentInstanceName));var l=this.options.physicalKeyboardHighlightPreventDefault,v=l!==void 0&&l;document.removeEventListener("keyup",this.handleKeyUp,v),document.removeEventListener("keydown",this.handleKeyDown,v),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleTouchEnd),document.removeEventListener("select",this.handleSelect),document.removeEventListener("selectionchange",this.handleSelectionChange),document.onpointerup=null,document.ontouchend=null,document.ontouchcancel=null,document.onmouseup=null,this.recurseButtons(function(w){w&&(w.onpointerdown=null,w.onpointerup=null,w.onpointercancel=null,w.ontouchstart=null,w.ontouchend=null,w.ontouchcancel=null,w.onclick=null,w.onmousedown=null,w.onmouseup=null,w.remove(),w=null)}),this.keyboardDOM.onpointerdown=null,this.keyboardDOM.ontouchstart=null,this.keyboardDOM.onmousedown=null,this.resetRows(),this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=null),this.activeInputElement=null,this.keyboardDOM.removeAttribute("data-skInstance"),this.keyboardDOM.innerHTML="",window.SimpleKeyboardInstances[this.currentInstanceName]=null,delete window.SimpleKeyboardInstances[this.currentInstanceName],this.initialized=!1}},{key:"getButtonThemeClasses",value:function(l){var v=this.options.buttonTheme,w=[];return Array.isArray(v)&&v.forEach(function(x){if(x&&x.class&&typeof x.class=="string"&&x.buttons&&typeof x.buttons=="string"){var _=x.class.split(" ");x.buttons.split(" ").includes(l)&&(w=[].concat(V(w),V(_)))}else console.warn('Incorrect "buttonTheme". Please check the documentation.',x)}),w}},{key:"setDOMButtonAttributes",value:function(l,v){var w=this.options.buttonAttributes;Array.isArray(w)&&w.forEach(function(x){x.attribute&&typeof x.attribute=="string"&&x.value&&typeof x.value=="string"&&x.buttons&&typeof x.buttons=="string"?x.buttons.split(" ").includes(l)&&v(x.attribute,x.value):console.warn('Incorrect "buttonAttributes". Please check the documentation.',x)})}},{key:"onTouchDeviceDetected",value:function(){this.processAutoTouchEvents(),this.disableContextualWindow()}},{key:"disableContextualWindow",value:function(){window.oncontextmenu=function(l){if(l.target.classList.contains("hg-button"))return l.preventDefault(),l.stopPropagation(),!1}}},{key:"processAutoTouchEvents",value:function(){this.options.autoUseTouchEvents&&(this.options.useTouchEvents=!0,this.options.debug&&console.log("autoUseTouchEvents: Touch device detected, useTouchEvents enabled."))}},{key:"onInit",value:function(){this.options.debug&&console.log("".concat(this.keyboardDOMClass," Initialized")),this.setEventListeners(),typeof this.options.onInit=="function"&&this.options.onInit(this)}},{key:"beforeFirstRender",value:function(){this.utilities.isTouchDevice()&&this.onTouchDeviceDetected(),typeof this.options.beforeFirstRender=="function"&&this.options.beforeFirstRender(this),this.isFirstKeyboardInstance&&this.utilities.pointerEventsSupported()&&!this.options.useTouchEvents&&!this.options.useMouseEvents&&this.options.debug&&console.log("Using PointerEvents as it is supported by this browser"),this.options.useTouchEvents&&this.options.debug&&console.log("useTouchEvents has been enabled. Only touch events will be used.")}},{key:"beforeRender",value:function(){typeof this.options.beforeRender=="function"&&this.options.beforeRender(this)}},{key:"onRender",value:function(){typeof this.options.onRender=="function"&&this.options.onRender(this)}},{key:"onModulesLoaded",value:function(){typeof this.options.onModulesLoaded=="function"&&this.options.onModulesLoaded(this)}},{key:"loadModules",value:function(){var l=this;Array.isArray(this.options.modules)&&(this.options.modules.forEach(function(v){var w=new v(l);w.init&&w.init(l)}),this.keyboardPluginClasses="modules-loaded",this.render(),this.onModulesLoaded())}},{key:"getModuleProp",value:function(l,v){return!!this.modules[l]&&this.modules[l][v]}},{key:"getModulesList",value:function(){return Object.keys(this.modules)}},{key:"parseRowDOMContainers",value:function(l,v,w,x){var _=this,W=Array.from(l.children),K=0;return W.length&&w.forEach(function(H,U){var ot=x[U];if(!(ot&&ot>H))return!1;var q=H-K,Z=ot-K,at=document.createElement("div");at.className+="hg-button-container";var nt="".concat(_.options.layoutName,"-r").concat(v,"c").concat(U);at.setAttribute("data-skUID",nt);var dt=W.splice(q,Z-q+1);K=Z-q,dt.forEach(function(mt){return at.appendChild(mt)}),W.splice(q,0,at),l.innerHTML="",W.forEach(function(mt){return l.appendChild(mt)}),_.options.debug&&console.log("rowDOMContainer",dt,q,Z,K+1)}),l}},{key:"render",value:function(){var l=this;this.resetRows(),this.initialized||this.beforeFirstRender(),this.beforeRender();var v="hg-layout-".concat(this.options.layoutName),w=this.options.layout||{default:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","{lock} a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}",".com @ {space}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'{lock} A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}",".com @ {space}"]},x=this.options.useTouchEvents||!1,_=x?"hg-touch-events":"",W=this.options.useMouseEvents||!1,K=this.options.disableRowButtonContainers;this.keyboardDOM.className=this.getKeyboardClassString(this.options.theme,v,this.keyboardPluginClasses,_),this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.keyboardRowsDOM=document.createElement("div"),this.keyboardRowsDOM.className="hg-rows",w[this.options.layoutName||this.defaultName].forEach(function(H,U){var ot=H.split(" ");l.options.excludeFromLayout&&l.options.excludeFromLayout[l.options.layoutName||l.defaultName]&&(ot=ot.filter(function(nt){return l.options.excludeFromLayout&&!l.options.excludeFromLayout[l.options.layoutName||l.defaultName].includes(nt)}));var q=document.createElement("div");q.className+="hg-row";var Z=[],at=[];ot.forEach(function(nt,dt){var mt,St=!K&&typeof nt=="string"&&nt.length>1&&nt.indexOf("[")===0,It=!K&&typeof nt=="string"&&nt.length>1&&nt.indexOf("]")===nt.length-1;St&&(Z.push(dt),nt=nt.replace(/\[/g,"")),It&&(at.push(dt),nt=nt.replace(/\]/g,""));var wt=l.utilities.getButtonClass(nt),Pt=l.utilities.getButtonDisplayName(nt,l.options.display,l.options.mergeDisplay),Gt=l.options.useButtonTag?"button":"div",yt=document.createElement(Gt);yt.className+="hg-button ".concat(wt),(mt=yt.classList).add.apply(mt,V(l.getButtonThemeClasses(nt))),l.setDOMButtonAttributes(nt,function(vt,Et){yt.setAttribute(vt,Et)}),l.activeButtonClass="hg-activeButton",!l.utilities.pointerEventsSupported()||x||W?x?(yt.ontouchstart=function(vt){l.handleButtonClicked(nt,vt),l.handleButtonMouseDown(nt,vt)},yt.ontouchend=function(vt){l.handleButtonMouseUp(nt,vt)},yt.ontouchcancel=function(vt){l.handleButtonMouseUp(nt,vt)}):(yt.onclick=function(vt){l.setMouseHold(!1),typeof l.options.onKeyReleased!="function"&&l.handleButtonClicked(nt,vt)},yt.onmousedown=function(vt){typeof l.options.onKeyReleased!="function"||l.isMouseHold||l.handleButtonClicked(nt,vt),l.handleButtonMouseDown(nt,vt)},yt.onmouseup=function(vt){l.handleButtonMouseUp(nt,vt)}):(yt.onpointerdown=function(vt){l.handleButtonClicked(nt,vt),l.handleButtonMouseDown(nt,vt)},yt.onpointerup=function(vt){l.handleButtonMouseUp(nt,vt)},yt.onpointercancel=function(vt){l.handleButtonMouseUp(nt,vt)}),yt.setAttribute("data-skBtn",nt);var Ct="".concat(l.options.layoutName,"-r").concat(U,"b").concat(dt);yt.setAttribute("data-skBtnUID",Ct);var kt=document.createElement("span");kt.innerHTML=Pt,yt.appendChild(kt),l.buttonElements[nt]||(l.buttonElements[nt]=[]),l.buttonElements[nt].push(yt),q.appendChild(yt)}),q=l.parseRowDOMContainers(q,U,Z,at),l.keyboardRowsDOM.appendChild(q)}),this.keyboardDOM.appendChild(this.keyboardRowsDOM),this.onRender(),this.initialized||(this.initialized=!0,!this.utilities.pointerEventsSupported()||x||W?x?(document.ontouchend=function(H){return l.handleButtonMouseUp(void 0,H)},document.ontouchcancel=function(H){return l.handleButtonMouseUp(void 0,H)},this.keyboardDOM.ontouchstart=function(H){return l.handleKeyboardContainerMouseDown(H)}):x||(document.onmouseup=function(H){return l.handleButtonMouseUp(void 0,H)},this.keyboardDOM.onmousedown=function(H){return l.handleKeyboardContainerMouseDown(H)}):(document.onpointerup=function(H){return l.handleButtonMouseUp(void 0,H)},this.keyboardDOM.onpointerdown=function(H){return l.handleKeyboardContainerMouseDown(H)}),this.onInit())}}],F&&J(O.prototype,F),Object.defineProperty(O,"prototype",{writable:!1}),B}(),ct=st,it=st}(),Y}()},787:function(C){C.exports=o}},m={};function y(C){var N=m[C];if(N!==void 0)return N.exports;var R=m[C]={exports:{}};return s[C].call(R.exports,R,R.exports,y),R.exports}y.n=function(C){var N=C&&C.__esModule?function(){return C.default}:function(){return C};return y.d(N,{a:N}),N},y.d=function(C,N){for(var R in N)y.o(N,R)&&!y.o(C,R)&&Object.defineProperty(C,R,{enumerable:!0,get:N[R]})},y.o=function(C,N){return Object.prototype.hasOwnProperty.call(C,N)},y.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var j={};return function(){y.r(j),y.d(j,{KeyboardReact:function(){return r},default:function(){return a}}),y(752);var C=y(787),N=y(86),R=y.n(N);function D(i){return D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},D(i)}function Y(i,d){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(i);d&&(f=f.filter(function(h){return Object.getOwnPropertyDescriptor(i,h).enumerable})),u.push.apply(u,f)}return u}function c(i){for(var d=1;d<arguments.length;d++){var u=arguments[d]!=null?arguments[d]:{};d%2?Y(Object(u),!0).forEach(function(f){g(i,f,u[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):Y(Object(u)).forEach(function(f){Object.defineProperty(i,f,Object.getOwnPropertyDescriptor(u,f))})}return i}function g(i,d,u){return(d=function(f){var h=function(b,k){if(D(b)!=="object"||b===null)return b;var I=b[Symbol.toPrimitive];if(I!==void 0){var S=I.call(b,k);if(D(S)!=="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(b)}(f,"string");return D(h)==="symbol"?h:String(h)}(d))in i?Object.defineProperty(i,d,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[d]=u,i}var e=function(i){return c(c({},i),{},{keyboardRef:null})},r=function(i){var d=i.baseClass||"react-simple-keyboard",u=C.useRef(null),f=C.useRef(null),h=C.useRef(null),b=C.useRef(i);return C.useEffect(function(){var k=function(L){return c(c({},L),{},{theme:"simple-keyboard ".concat(L.theme||"hg-theme-default")})}(i);if(!u.current){u.current=!0,k.debug&&console.log("ReactSimpleKeyboard: Init");var I=f.current,S=".".concat(d);h.current=new(R())(I||S,k),k.keyboardRef&&k.keyboardRef(h.current)}var E=function(L,$){var M=e($),P=e(L);return Object.keys(M).filter(function(V){return M[V]!==P[V]})}(b.current,k);if(E.length){var A=h.current;b.current=k,A==null||A.setOptions(k),k.debug&&console.log("ReactSimpleKeyboard - setOptions called due to updated props:",E)}},[u,d,b,i]),C.createElement("div",{className:d,ref:f})},a=r}(),j}()})})(bi);var ad=bi.exports;const sd=t=>xt.css`
|
|
1286
1317
|
background-color: var(--ddk-component-keyboard-container-background-color);
|
|
1287
1318
|
display: flex;
|
|
1288
1319
|
justify-content: center;
|
|
@@ -1357,26 +1388,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1357
1388
|
visibility: hidden;
|
|
1358
1389
|
}
|
|
1359
1390
|
}
|
|
1360
|
-
`,
|
|
1391
|
+
`,cd=[{class:"small-button",buttons:"1 2 3 4 5 6 7 8 9 0 Q W E R T Y U I O P A S D F G H J K L Z X C V B N M q w e r t y u i o p a s d f g h j k l z x c v b n m - , . {bksp} {empty} {lock} {shift}"},{class:"half-button",buttons:"{half}"},{class:"enter-button",buttons:"{enter}"},{class:"space-button",buttons:"{space}"},{class:"blank-button",buttons:"{empty} {half}"}],dd=t=>{const n=["1 2 3 4 5 6 7 8 9 0 - {bksp}","q w e r t y u i o p","{lock} a s d f g h j k l ' {enter}","{shift} z x c v b n m {shift}","{space}"],o=["1 2 3 A B","4 5 6 C D","7 8 9 E F",`{bksp} 0${t==="standard"?" {enter}":""}`],s=["1 2 3","4 5 6","7 8 9",". 0 {bksp}"];return t==="standard"&&s.push("{enter}"),{default:n,hex:o,num:s,numLogin:["1 2 3","4 5 6","7 8 9","{empty} 0 {bksp}"],alphanumeric:["1 2 3 4 5 6 7 8 9 0 -","q w e r t y u i o p","a s d f g h j k l","{shift} z x c v b n m , . {bksp}",`{space}${t==="standard"?" {enter}":""}`],shift:["1 2 3 4 5 6 7 8 9 0 -","Q W E R T Y U I O P","A S D F G H J K L","{shift} Z X C V B N M , . {bksp}",`{space}${t==="standard"?" {enter}":""}`]}},ld={"{bksp}":"<","{enter}":"Enter","{lock}":"Caps","{space}":"Space","{shift}":"^","{empty}":" ","{half}":" "},vn=({layout:t="alphanumeric",onKeyPress:n,onKeyReleased:o})=>{const[s,m]=tt.useState(t);tt.useEffect(()=>{t&&m(t)},[t]);const y=()=>{m(s==="shift"?"alphanumeric":"shift")},j=D=>{D==="{shift}"&&y(),n==null||n(D)},C=D=>{o==null||o(D)},{componentModeOverride:N}=jt(),R=tt.useMemo(()=>dd(N),[N]);return p.jsx("div",{css:sd(s),children:p.jsx(ad.KeyboardReact,{buttonTheme:cd,display:ld,layout:R,layoutName:s??"default",onKeyPress:j,onKeyReleased:C})})},ud=xt.css`
|
|
1361
1392
|
font-family: var(--ddk-component-input-action-item-font-family);
|
|
1362
1393
|
width: 100%;
|
|
1363
|
-
`,
|
|
1394
|
+
`,fd=T.div`
|
|
1364
1395
|
display: flex;
|
|
1365
1396
|
flex-direction: column;
|
|
1366
1397
|
gap: var(--ddk-component-modal-content-padding);
|
|
1367
1398
|
height: 100%;
|
|
1368
|
-
`,
|
|
1399
|
+
`,pd=T.div`
|
|
1369
1400
|
display: flex;
|
|
1370
1401
|
flex-direction: column;
|
|
1371
1402
|
height: 100%;
|
|
1372
1403
|
justify-content: space-between;
|
|
1373
1404
|
gap: var(--ddk-component-modal-content-gap);
|
|
1374
|
-
`,
|
|
1405
|
+
`,hd=T.div`
|
|
1375
1406
|
display: flex;
|
|
1376
1407
|
flex-direction: column;
|
|
1377
1408
|
justify-content: center;
|
|
1378
1409
|
gap: 16px;
|
|
1379
|
-
`,
|
|
1410
|
+
`,Ko=T.div`
|
|
1380
1411
|
box-sizing: border-box;
|
|
1381
1412
|
display: flex;
|
|
1382
1413
|
flex-direction: column;
|
|
@@ -1384,7 +1415,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1384
1415
|
padding: var(--ddk-component-input-card-input-padding);
|
|
1385
1416
|
text-align: center;
|
|
1386
1417
|
width: var(--ddk-component-input-card-input-width);
|
|
1387
|
-
`,
|
|
1418
|
+
`,md=T.div`
|
|
1388
1419
|
align-items: baseline;
|
|
1389
1420
|
display: flex;
|
|
1390
1421
|
gap: 8px;
|
|
@@ -1395,11 +1426,32 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1395
1426
|
font-size: 16px;
|
|
1396
1427
|
white-space: nowrap;
|
|
1397
1428
|
}
|
|
1398
|
-
`,
|
|
1429
|
+
`,yi=({closeButtonLabel:t,collapse:n,description:o,disabled:s,label:m,layout:y,maxLength:j,onChange:C,isValid:N,isInputValid:R,submitLabel:D="Submit",unitStyle:Y,unitValue:c,value:g,...e})=>{const[r,a]=tt.useState(!1),[i,d]=tt.useState(!1),[u,f]=tt.useState(g),[h,b]=tt.useState(),k=tt.useRef(null),{componentModeOverride:I}=jt();tt.useEffect(()=>{f(g)},[g]);const E=R||(()=>!0),A=tt.useCallback(()=>u===void 0||j===void 0||u.length<j,[u,j]),L=()=>{const M=N&&N(u);if(M){b(M);return}f(u),C==null||C(u),d(!0)},$=M=>{switch(b(void 0),M){case"{bksp}":f(P=>{const V=String(P);return V==null?void 0:V.slice(0,V.length-1)});break;case"{enter}":L();break;case"{space}":{if(!A()||!E())return;f(P=>P+" ");break}case"{shift}":return;default:{if(!A()||!E())return;f(P=>P?P+M:M),k.current&&(k.current.scrollLeft=k.current.scrollWidth)}}};return p.jsxs(Ot,{collapse:n??I==="compact",...e,children:[p.jsxs(qn,{children:[p.jsx(rn,{children:m}),o&&p.jsx(an,{children:o})]}),p.jsx(md,{children:p.jsx(Re,{css:ud,disabled:s,onPointerDown:()=>{s||(a(!0),d(!1))},unitStyle:Y,unitValue:c,children:g})}),r&&p.jsx(te,{show:!i,onClose:()=>d(!0),onClosed:()=>{a(!1),b(void 0),f(g)},contain:I!=="compact",children:p.jsxs(fd,{children:[p.jsx(Zt,{CloseButton:I==="compact"?$e:void 0,closeButtonLabel:t,onClose:()=>d(!0),showCloseButton:!0,title:m}),p.jsxs(pd,{children:[p.jsxs(Ko,{children:[h&&p.jsx(Hn,{children:h}),p.jsx(Ne,{ref:k,type:"text",value:u,readOnly:!0,isError:!!h})]}),p.jsxs(hd,{children:[I==="compact"&&p.jsx(Ko,{children:p.jsx(Tt,{disabled:!!h,mode:"primary",onPointerDown:L,children:D})}),p.jsx(vn,{layout:y,onKeyPress:$})]})]})]})})]})},gd=()=>{const{t}=Nt.useKosTranslation("common");return t("submit")},po=({submitLabel:t,...n})=>p.jsx(yi,{submitLabel:t??p.jsx(gd,{}),...n}),vd=T(yi)`
|
|
1399
1430
|
--ddk-component-input-card-description-color: var(
|
|
1400
1431
|
--ddk-semantic-color-system-red
|
|
1401
1432
|
);
|
|
1402
|
-
`,
|
|
1433
|
+
`,bd=({maxValue:t,maxValueValidationText:n,minValue:o,minValueValidationText:s,...m})=>{const y=tt.useCallback(j=>Number(j)<o?s:Number(j)>t?n:void 0,[t,n,o,s]);return p.jsx(po,{...m,isValid:y,unitStyle:"inline"})},ki=({maxValue:t,minValue:n,...o})=>{const{t:s}=Nt.useKosTranslation("common",{keyPrefix:"validation"});return p.jsx(bd,{maxValue:t,maxValueValidationText:s("maxValue",{data:{maxValue:t}}),minValue:n,minValueValidationText:s("minValue",{data:{minValue:n}}),...o})},yd=T.div`
|
|
1434
|
+
align-items: center;
|
|
1435
|
+
display: flex;
|
|
1436
|
+
gap: 32px;
|
|
1437
|
+
width: 100%;
|
|
1438
|
+
`,kd=T(ir)`
|
|
1439
|
+
border-bottom: 1px solid var(--ddk-semantic-control-border-color-default);
|
|
1440
|
+
border-top: 1px solid var(--ddk-semantic-control-border-color-default);
|
|
1441
|
+
color: var(--ddk-semantic-control-color-default);
|
|
1442
|
+
display: flex;
|
|
1443
|
+
flex: 1;
|
|
1444
|
+
justify-content: center;
|
|
1445
|
+
padding: 24px 0;
|
|
1446
|
+
`,Ho=T(Tt)`
|
|
1447
|
+
font-size: var(--ddk-component-input-step-font-size);
|
|
1448
|
+
font-weight: var(--ddk-component-input-step-font-weight);
|
|
1449
|
+
width: var(--ddk-component-input-step-button-width);
|
|
1450
|
+
height: var(--ddk-component-input-step-button-height);
|
|
1451
|
+
min-width: var(--ddk-component-input-step-button-width);
|
|
1452
|
+
min-height: var(--ddk-component-input-step-button-height);
|
|
1453
|
+
border-radius: var(--ddk-component-input-step-button-border-radius);
|
|
1454
|
+
`,xd=({fixed:t=1,step:n=.1,min:o=0,max:s=1e3,value:m,onChange:y})=>{const j=tt.useCallback(()=>{let N=m+n;N>s&&(N=s),y(N)},[s,y,n,m]),C=tt.useCallback(()=>{let N=m-n;N<o&&(N=o),y(N)},[o,y,n,m]);return p.jsxs(yd,{children:[p.jsx(Ho,{onPointerDown:C,children:"-"}),p.jsx(kd,{children:m.toFixed(t)}),p.jsx(Ho,{onPointerDown:j,children:"+"})]})},wd=T.div`
|
|
1403
1455
|
position: relative;
|
|
1404
1456
|
|
|
1405
1457
|
svg {
|
|
@@ -1412,10 +1464,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1412
1464
|
input {
|
|
1413
1465
|
width: 100%;
|
|
1414
1466
|
}
|
|
1415
|
-
`,
|
|
1467
|
+
`,jd=({style:t,...n})=>{const[o,s]=tt.useState(!1),m=()=>{s(!o)};return p.jsxs(wd,{style:t,children:[p.jsx(Ne,{...n,readOnly:!0,type:o?"text":"password"}),o?p.jsx(gt.EyeOffIcon,{onPointerDown:m}):p.jsx(gt.EyeOpenIcon,{onPointerDown:m})]})},Sd=xt.css`
|
|
1416
1468
|
align-self: stretch;
|
|
1417
1469
|
display: flex;
|
|
1418
|
-
`,
|
|
1470
|
+
`,xi=({className:t,dials:n,enableAnimation:o,itemSize:s=20,numberOfVisibleItems:m=7,onChange:y,selectedItemOffset:j})=>{const C=tt.useCallback(N=>R=>{y==null||y(N,R)},[y]);return p.jsx("div",{css:Sd,className:t,children:n.map(({id:N,className:R,itemRenderer:D,items:Y,loop:c,selectedItemId:g})=>p.jsx(uo,{className:R,enableAnimation:o,itemRenderer:D,items:Y,itemSize:s,loop:c,numberOfVisibleItems:m,onChange:C(N),selectedItemId:g,selectedItemOffset:j},N))})},ho=T.div`
|
|
1419
1471
|
color: ${t=>t.selected?"var(--ddk-component-picker-list-item-color-active)":"var(--ddk-component-picker-list-item-color-default)"};
|
|
1420
1472
|
|
|
1421
1473
|
flex: 1;
|
|
@@ -1425,7 +1477,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1425
1477
|
letter-spacing: var(--ddk-component-picker-list-item-letter-spacing);
|
|
1426
1478
|
transition: initial; // color 250ms;
|
|
1427
1479
|
line-height: var(--ddk-component-picker-list-item-line-height);
|
|
1428
|
-
`,
|
|
1480
|
+
`,Cd=xt.css`
|
|
1429
1481
|
border-color: var(--ddk-component-picker-border-color) transparent;
|
|
1430
1482
|
border-style: solid;
|
|
1431
1483
|
border-width: var(--ddk-component-picker-border-width);
|
|
@@ -1445,40 +1497,40 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1445
1497
|
border-right-style: solid;
|
|
1446
1498
|
}
|
|
1447
1499
|
}
|
|
1448
|
-
`,
|
|
1500
|
+
`,Uo=13,wi=({dials:t,...n})=>{const o=t.map(j=>({...j,className:"separator",itemRenderer:ho}));let{numberOfVisibleItems:s,selectedItemOffset:m}=n;const y=t.reduce((j,C)=>{var N;return Math.max(j,((N=C.items)==null?void 0:N.length)||0)},0);return s===void 0&&(s=y>=Uo?Uo:y||0),m===void 0&&(m=Math.floor(s*.5)),p.jsx(xi,{itemSize:40,...n,css:Cd,dials:o,numberOfVisibleItems:s,selectedItemOffset:m})},qo=t=>t.reduce((n,o)=>({...n,[o.id]:o.selectedItemId}),{}),Id=({cancelButtonLabel:t,className:n,closeButtonLabel:o,data:s,description:m,descriptionAsError:y=!1,disabled:j,displayValue:C,enableAnimation:N,float:R,icon:D,label:Y,modalTitle:c,onChange:g,onDiscard:e,onSave:r,proceedButtonLabel:a,selectedItemOffset:i})=>{const{componentModeOverride:d}=jt(),[u,f]=tt.useState(!1),[h,b]=tt.useState(qo(s)),k=tt.useCallback((E,A)=>{b({...h,[String(E)]:A.id}),g==null||g(E,A)},[g,h]),I=()=>{r==null||r(h),f(!1)},S=()=>{e==null||e(),f(!1)};return tt.useEffect(()=>{b(qo(s))},[u,s]),p.jsxs(p.Fragment,{children:[p.jsxs(Ot,{className:n,collapse:d==="compact",float:R,children:[(Y||m)&&p.jsxs(qn,{children:[Y&&p.jsx(rn,{children:Y}),m&&y?p.jsx(vr,{children:m}):m&&p.jsx(an,{children:m})]}),p.jsx(gn,{onPointerDown:()=>!j&&f(!0),Icon:D,disabled:j,children:C})]}),u&&p.jsxs(te,{show:u,onClose:()=>S(),contain:d!=="compact",children:[p.jsx(Zt,{title:c||Y,showCloseButton:!0,onClose:()=>S(),closeButtonLabel:o,CloseButton:d==="compact"?$e:void 0}),p.jsx(Le,{children:p.jsx(wi,{dials:s,enableAnimation:N,onChange:k,selectedItemOffset:i})}),p.jsx(sn,{cancelLabel:t,proceedLabel:a,onProceed:I,onCancel:()=>S()})]})]})},Pd=T(Ot)`
|
|
1449
1501
|
display: flex;
|
|
1450
1502
|
min-height: var(--ddk-component-notification-card-height);
|
|
1451
1503
|
gap: 16px;
|
|
1452
|
-
`,
|
|
1504
|
+
`,Ed=T.div`
|
|
1453
1505
|
background-color: ${t=>t.color?t.color:"var(--ddk-component-notification-card-indicator-color)"};
|
|
1454
1506
|
border-radius: 50%;
|
|
1455
1507
|
flex-shrink: 0;
|
|
1456
1508
|
height: var(--ddk-component-notification-card-indicator-size);
|
|
1457
1509
|
width: var(--ddk-component-notification-card-indicator-size);
|
|
1458
|
-
`,
|
|
1510
|
+
`,Od=T.div`
|
|
1459
1511
|
align-items: center;
|
|
1460
1512
|
display: flex;
|
|
1461
1513
|
flex-direction: row;
|
|
1462
1514
|
flex: 1;
|
|
1463
1515
|
gap: var(--ddk-component-notification-card-gap);
|
|
1464
1516
|
word-wrap: break-word;
|
|
1465
|
-
`,
|
|
1517
|
+
`,Td=T(cr)`
|
|
1466
1518
|
box-sizing: border-box;
|
|
1467
1519
|
white-space: nowrap;
|
|
1468
1520
|
flex: 0 0 var(--ddk-component-notification-card-date-size);
|
|
1469
|
-
`,
|
|
1521
|
+
`,Ad=T.div`
|
|
1470
1522
|
align-items: center;
|
|
1471
1523
|
display: flex;
|
|
1472
1524
|
justify-content: flex-end;
|
|
1473
1525
|
flex: 0 0 var(--ddk-component-notification-card-action-size);
|
|
1474
|
-
`,
|
|
1526
|
+
`,Md=T(nn)`
|
|
1475
1527
|
min-width: var(--ddk-component-button-min-width);
|
|
1476
1528
|
text-align: center;
|
|
1477
|
-
`,
|
|
1529
|
+
`,Dd=({buttonLabel:t,indicatorColor:n,label:o,prefix:s,dateLabel:m,onAction:y})=>p.jsxs(Pd,{children:[p.jsxs(Od,{children:[p.jsx(Ed,{color:n}),s,p.jsx(nn,{children:o})]}),p.jsx(Td,{children:m}),p.jsx(Ad,{children:y&&t?p.jsx(Tt,{onPointerDown:y,children:t}):p.jsx(Md,{children:t})})]}),ji=({date:t,...n})=>{const o=t??Date.now(),{selectedDateFormat:s}=Nt.useKosDateFormats(),{selectedTimeFormat:m}=Nt.useKosTimeFormats(),y=s?ko.format(new Date(o),s):"",j=m?ko.format(new Date(o),m):"",C=[y,j].map((N,R)=>p.jsx("div",{children:N},R===0?"date":"time"));return p.jsx(Dd,{dateLabel:C,...n})},_d=T.div`
|
|
1478
1530
|
display: flex;
|
|
1479
1531
|
justify-content: center;
|
|
1480
1532
|
font-weight: var(--ddk-component-Numpad-head-font-weight-medium);
|
|
1481
|
-
`,
|
|
1533
|
+
`,Rd=T.div`
|
|
1482
1534
|
display: flex;
|
|
1483
1535
|
flex-direction: column;
|
|
1484
1536
|
width: 100%;
|
|
@@ -1487,23 +1539,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1487
1539
|
input {
|
|
1488
1540
|
width: 400px;
|
|
1489
1541
|
}
|
|
1490
|
-
`,
|
|
1542
|
+
`,Bd=({onComplete:t,heading:n})=>{const[o,s]=tt.useState(!1),[m,y]=tt.useState(""),j=async N=>{switch(N){case"{bksp}":y(R=>R==null?void 0:R.slice(0,R.length-1));break;default:y(R=>R+N)}},C=N=>{m&&(m==null?void 0:m.length)<0&&N!=="{bksp}"&&N!=="{enter}"||j(N)};return p.jsxs(te,{show:!o,onClose:()=>s(!0),onClosed:t,children:[p.jsx(Zt,{closeButtonLabel:"close",title:p.jsx(_d,{children:n}),showCloseButton:!0,onClose:()=>s(!0)}),p.jsxs(Rd,{children:[p.jsx(Ne,{value:m}),p.jsx(vn,{layout:"numLogin",onKeyReleased:C})]}),p.jsxs(ze,{children:[p.jsx(Tt,{children:"Discard"}),p.jsx(Tt,{children:"Save"})]})]})},Nd=xt.css`
|
|
1491
1543
|
border-color: var(--ddk-component-picker-border-color) transparent;
|
|
1492
1544
|
border-style: solid;
|
|
1493
1545
|
border-width: var(--ddk-component-picker-border-width);
|
|
1494
1546
|
overflow: hidden;
|
|
1495
1547
|
text-align: center;
|
|
1496
|
-
`,
|
|
1548
|
+
`,mo=t=>p.jsx(uo,{itemRenderer:ho,itemSize:40,offset:!0,...t,css:Nd}),$d=T.div`
|
|
1497
1549
|
display: flex;
|
|
1498
1550
|
flex-direction: column;
|
|
1499
1551
|
padding: var(--ddk-component-picker-padding);
|
|
1500
1552
|
gap: var(--ddk-component-picker-gap);
|
|
1501
1553
|
height: 100%;
|
|
1502
|
-
`,
|
|
1554
|
+
`,Ld=({cancelButtonLabel:t,closeButtonLabel:n,collapse:o,disabled:s,displayValue:m,enableAnimation:y,items:j,label:C,loop:N,numberOfVisibleItems:R,onSave:D,proceedButtonLabel:Y,selectedItemId:c,selectedItemOffset:g,unitValue:e,...r})=>{const{componentModeOverride:a}=jt(),[i,d]=tt.useState(!1),[u,f]=tt.useState(),h=({id:k})=>{f(k)},b=()=>{u!==void 0&&(D==null||D(u)),d(!1)};return p.jsxs(Ot,{collapse:o??a==="compact",...r,children:[C,p.jsx(gn,{disabled:s,onPointerDown:()=>!s&&d(!0),unitValue:e,children:m}),p.jsxs(te,{show:i,onClose:()=>d(!1),contain:a!=="compact",children:[p.jsx(Zt,{title:C,showCloseButton:!0,onClose:()=>d(!1),closeButtonLabel:n,CloseButton:a==="compact"?$e:void 0}),p.jsxs($d,{children:[p.jsx(Le,{children:p.jsx(mo,{enableAnimation:y,items:j,loop:N,numberOfVisibleItems:R,onChange:h,selectedItemId:c,selectedItemOffset:g})}),p.jsx(sn,{cancelLabel:t,proceedLabel:Y,onProceed:b,onCancel:()=>d(!1)})]})]})]})},zd=T.div`
|
|
1503
1555
|
font-size: var(--ddk-generic-font-size-large);
|
|
1504
1556
|
font-weight: var(--ddk-generic-font-weight-medium);
|
|
1505
1557
|
color: var(--ddk-generic-color-grey-100);
|
|
1506
|
-
`,
|
|
1558
|
+
`,Fd=({children:t,icon:n})=>p.jsxs(p.Fragment,{children:[p.jsx(n,{}),p.jsx(zd,{children:t})]}),Si=({children:t})=>_e.createPortal(t,document.body),Vd=T.div`
|
|
1507
1559
|
align-items: center;
|
|
1508
1560
|
background-color: var(--ddk-component-status-bar-container-background-color);
|
|
1509
1561
|
bottom: 0;
|
|
@@ -1517,7 +1569,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1517
1569
|
top: 0;
|
|
1518
1570
|
z-index: 10;
|
|
1519
1571
|
max-width: var(--ddk-component-shell-max-width);
|
|
1520
|
-
`,
|
|
1572
|
+
`,Kd=T.div`
|
|
1521
1573
|
background: var(--ddk-component-status-bar-background-color);
|
|
1522
1574
|
border-radius: var(--ddk-component-status-bar-border-radius);
|
|
1523
1575
|
box-sizing: border-box;
|
|
@@ -1527,22 +1579,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1527
1579
|
padding: var(--ddk-component-status-bar-padding);
|
|
1528
1580
|
width: var(--ddk-component-status-bar-width);
|
|
1529
1581
|
pointer-events: auto;
|
|
1530
|
-
`,
|
|
1582
|
+
`,Ci=({blocked:t=!0,children:n,onClose:o,show:s})=>{const[m,y]=tt.useState(!0);return tt.useEffect(()=>{y(!!s)},[s]),m?_e.createPortal(p.jsx(Vd,{style:{pointerEvents:t?"auto":"none"},onPointerDown:o,children:p.jsx(Kd,{children:n})}),document.body):null},Hd=T.div`
|
|
1531
1583
|
display: flex;
|
|
1532
1584
|
flex-direction: column;
|
|
1533
1585
|
gap: var(--ddk-component-progress-bar-title-container-gap);
|
|
1534
|
-
`,
|
|
1586
|
+
`,go=T.div`
|
|
1535
1587
|
color: var(--ddk-component-progress-bar-title-color);
|
|
1536
1588
|
font-size: var(--ddk-component-progress-bar-title-font-size);
|
|
1537
1589
|
font-weight: var(--ddk-component-progress-bar-title-font-weight);
|
|
1538
1590
|
white-space: nowrap;
|
|
1539
1591
|
text-overflow: ellipsis;
|
|
1540
1592
|
overflow: hidden;
|
|
1541
|
-
`,
|
|
1593
|
+
`,Ii=T(go)`
|
|
1542
1594
|
color: var(--ddk-component-progress-bar-subtitle-color);
|
|
1543
1595
|
font-size: var(--ddk-component-progress-bar-subtitle-font-size);
|
|
1544
1596
|
font-weight: var(--ddk-component-progress-bar-subtitle-font-weight);
|
|
1545
|
-
`,
|
|
1597
|
+
`,Pi=T.div`
|
|
1546
1598
|
align-items: var(
|
|
1547
1599
|
--ddk-component-progress-bar-progress-fill-container-align-items
|
|
1548
1600
|
);
|
|
@@ -1552,7 +1604,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1552
1604
|
);
|
|
1553
1605
|
gap: var(--ddk-component-progress-bar-progress-fill-container-gap);
|
|
1554
1606
|
width: 100%;
|
|
1555
|
-
`,
|
|
1607
|
+
`,Ei=T.div`
|
|
1556
1608
|
align-items: flex-start;
|
|
1557
1609
|
background: var(--ddk-generic-color-grey-80, #292929);
|
|
1558
1610
|
background: ${t=>`linear-gradient(to right, var(--ddk-component-progress-bar-progress-fill-color) ${t.value}%, var(--ddk-component-progress-bar-progress-fill-background-color) ${t.value}%)`};
|
|
@@ -1565,7 +1617,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1565
1617
|
height: var(--ddk-component-progress-bar-progress-fill-height);
|
|
1566
1618
|
justify-content: center;
|
|
1567
1619
|
width: 100%;
|
|
1568
|
-
`,
|
|
1620
|
+
`,Ud=({blocked:t,cancelLabel:n="Cancel",isCancelable:o,onCancel:s,onClose:m,renderCancel:y,renderFailure:j,renderSuccess:C,show:N,status:R,subtitle:D,title:Y,value:c})=>{const g=c<=1?0:c,e=C&&R==="success"?C:j&&R==="failure"?j:y&&R==="cancelled"?y:p.jsxs(p.Fragment,{children:[p.jsxs(Hd,{children:[p.jsx(go,{children:Y}),D&&p.jsx(Ii,{children:D})]}),p.jsxs(Pi,{children:[p.jsx(Ei,{value:g}),o&&p.jsx(Tt,{onPointerDown:s,children:n})]})]});return p.jsx(Ci,{blocked:t,onClose:m,show:N,children:e})},Oi=t=>{const{t:n}=Nt.useKosTranslation("common");return p.jsx(Ud,{cancelLabel:n("cancel"),...t})},qd=T(Re)`
|
|
1569
1621
|
align-items: center;
|
|
1570
1622
|
|
|
1571
1623
|
background-color: ${t=>t.active?"var(--ddk-component-radio-card-background-color-active)":"var(--ddk-component-radio-card-background-color)"};
|
|
@@ -1577,24 +1629,24 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1577
1629
|
height: 56px;
|
|
1578
1630
|
justify-content: center;
|
|
1579
1631
|
padding: 17px 12px;
|
|
1580
|
-
`,
|
|
1632
|
+
`,Gd=({radioButtons:t,onChange:n,value:o})=>{const[s,m]=tt.useState(o);tt.useEffect(()=>{m(o)},[o]);const y=j=>{j!==s&&(m(j),n==null||n(j))};return p.jsx(p.Fragment,{children:t.map(({id:j,title:C},N)=>p.jsx(qd,{active:j===s,onPointerDown:()=>y(j),children:C},N))})},Wd=T.div`
|
|
1581
1633
|
display: flex;
|
|
1582
1634
|
align-items: var(--ddk-component-schedule-table-div-center-text-align);
|
|
1583
1635
|
justify-content: space-between;
|
|
1584
1636
|
padding: var(--ddk-semantic-control-container-padding);
|
|
1585
1637
|
background-color: var(--ddk-generic-color-grey-5);
|
|
1586
|
-
`,
|
|
1638
|
+
`,Qd=T.div`
|
|
1587
1639
|
font-size: var(--ddk-generic-font-size-small);
|
|
1588
1640
|
font-weight: var(--ddk-generic-font-weight-medium);
|
|
1589
1641
|
line-height: var(--ddk-component-schedule-table-header-line-height);
|
|
1590
1642
|
color: var(--ddk-component-schedule-table-header-color);
|
|
1591
|
-
`,
|
|
1643
|
+
`,Yd=({headerLabel:t,child:n})=>p.jsxs(Wd,{children:[p.jsx(Qd,{children:t}),n]}),Xd=T.div`
|
|
1592
1644
|
align-items: center;
|
|
1593
1645
|
cursor: pointer;
|
|
1594
1646
|
display: flex;
|
|
1595
1647
|
justify-content: var(--ddk-component-toggle-container-justify-content);
|
|
1596
1648
|
gap: var(--ddk-component-toggle-container-gap);
|
|
1597
|
-
`,
|
|
1649
|
+
`,Ti=T.div`
|
|
1598
1650
|
background-color: ${t=>t.disabled?"var(--ddk-component-toggle-track-background-color-disabled)":t.checked?"var(--ddk-component-toggle-track-background-color-on)":"var(--ddk-component-toggle-track-background-color-off)"};
|
|
1599
1651
|
|
|
1600
1652
|
border-radius: var(--ddk-component-toggle-thumb-size);
|
|
@@ -1612,7 +1664,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1612
1664
|
--ddk-component-toggle-track-transition-timing-function
|
|
1613
1665
|
);
|
|
1614
1666
|
width: var(--ddk-component-toggle-track-width);
|
|
1615
|
-
`,
|
|
1667
|
+
`,Ai=T.div`
|
|
1616
1668
|
background-color: ${t=>t.disabled?"var(--ddk-component-toggle-thumb-background-color-disabled)":"var(--ddk-component-toggle-thumb-background-color-default)"};
|
|
1617
1669
|
border-radius: var(--ddk-component-toggle-thumb-size);
|
|
1618
1670
|
box-shadow: var(--ddk-component-toggle-thumb-box-shadow);
|
|
@@ -1626,28 +1678,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1626
1678
|
transition-timing-function: var(
|
|
1627
1679
|
--ddk-component-toggle-thumb-transition-timing-function
|
|
1628
1680
|
);
|
|
1629
|
-
`,
|
|
1681
|
+
`,Mi=T.div`
|
|
1630
1682
|
color: var(--ddk-component-toggle-label-color);
|
|
1631
1683
|
font-family: var(--ddk-component-toggle-label-font-family);
|
|
1632
1684
|
font-size: var(--ddk-component-toggle-label-font-size);
|
|
1633
1685
|
font-weight: var(--ddk-component-toggle-label-font-weight);
|
|
1634
1686
|
letter-spacing: var(--ddk-component-toggle-label-letter-spacing);
|
|
1635
|
-
`,
|
|
1687
|
+
`,vo=({checked:t,disabled:n,label:o,onChange:s,...m})=>{const[y,j]=tt.useState(t??!1);tt.useEffect(()=>{j(t??!1)},[t]);const C=()=>{n||(j(!y),s==null||s(!y))};return p.jsxs(Xd,{children:[o&&p.jsx(Mi,{children:o}),p.jsx(Ti,{checked:y,disabled:n,...m,onPointerDown:C,children:p.jsx(Ai,{checked:y,disabled:n,...m})})]})},Jd=xt.css`
|
|
1636
1688
|
padding: var(--ddk-component-schedule-table-sub-heading-padding);
|
|
1637
1689
|
padding-bottom: 0;
|
|
1638
1690
|
font-size: var(--ddk-generic-font-size-x-small);
|
|
1639
1691
|
font-weight: var(--ddk-generic-font-weight-medium);
|
|
1640
1692
|
line-height: var(--ddk-component-schedule-table-div-line-height);
|
|
1641
1693
|
color: var(--ddk-generic-color-grey-60);
|
|
1642
|
-
`,
|
|
1694
|
+
`,Zd=({headings:t})=>p.jsx(p.Fragment,{children:t==null?void 0:t.map((n,o)=>p.jsx("th",{css:Jd,children:n},o))}),Di=T.div`
|
|
1643
1695
|
width: 100%;
|
|
1644
1696
|
border: 1px solid var(--ddk-generic-color-grey-30);
|
|
1645
1697
|
border-radius: 8px;
|
|
1646
|
-
`,
|
|
1698
|
+
`,tl=xt.css`
|
|
1647
1699
|
width: 100%;
|
|
1648
1700
|
text-align: center;
|
|
1649
1701
|
border-collapse: collapse;
|
|
1650
|
-
`,
|
|
1702
|
+
`,Go=xt.css`
|
|
1651
1703
|
border-bottom: 1px solid var(--ddk-generic-color-grey-30);
|
|
1652
1704
|
`,We=xt.css`
|
|
1653
1705
|
padding: var(--ddk-component-schedule-table-div-padding);
|
|
@@ -1655,13 +1707,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1655
1707
|
font-weight: var(--ddk-generic-font-weight-medium);
|
|
1656
1708
|
line-height: var(--ddk-component-schedule-table-div-line-height);
|
|
1657
1709
|
color: var(--ddk-generic-color-grey-100);
|
|
1658
|
-
`,
|
|
1710
|
+
`,el=xt.css`
|
|
1659
1711
|
text-align: var(--ddk-component-schedule-table-div-left-text-align);
|
|
1660
|
-
`,
|
|
1712
|
+
`,nl=xt.css`
|
|
1661
1713
|
text-align: var(--ddk-component-schedule-table-div-center-text-align);
|
|
1662
|
-
`,
|
|
1714
|
+
`,Wo=xt.css`
|
|
1663
1715
|
justify-content: center;
|
|
1664
|
-
`,
|
|
1716
|
+
`,ol=({tableMainHeading:t,headingRightChild:n,weekSchedule:o,tableSubHeadings:s})=>p.jsx(Di,{children:p.jsxs("table",{css:tl,children:[p.jsxs("thead",{children:[p.jsx("tr",{css:Go,children:p.jsx("th",{colSpan:4,children:p.jsx(Yd,{headerLabel:t,child:n})})}),p.jsx("tr",{children:p.jsx(Zd,{headings:s})})]}),p.jsx("tbody",{children:o==null?void 0:o.map((m,y)=>p.jsxs("tr",{css:Go,children:[p.jsx("td",{css:[We,el],children:m==null?void 0:m.day}),p.jsx("td",{css:[We,nl],children:p.jsx(vo,{checked:m==null?void 0:m.isTrue})}),p.jsx("td",{css:We,children:p.jsx(Xe,{css:Wo,children:m==null?void 0:m.openTime})}),p.jsx("td",{css:We,children:p.jsx(Xe,{css:Wo,children:m==null?void 0:m.closeTime})})]},y))})]})}),_i=({children:t,label:n,size:o="medium",...s})=>p.jsx(se,{icon:gt.CloseSidebarIcon,size:o,...s,children:n}),rl=Ue(pr),il=T.div`
|
|
1665
1717
|
background: transparent;
|
|
1666
1718
|
position: fixed;
|
|
1667
1719
|
top: 0;
|
|
@@ -1669,9 +1721,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1669
1721
|
bottom: 0;
|
|
1670
1722
|
left: 0;
|
|
1671
1723
|
z-index: 1;
|
|
1672
|
-
`,
|
|
1724
|
+
`,al=({children:t,enableAnimation:n,show:o,onClose:s,title:m})=>{const y=jt(),j=n!==void 0?n:y.enableSidebarAnimation,C=ti({left:o?"0px":"-515px",immediate:!j});return p.jsxs(Si,{children:[o&&p.jsx(il,{onPointerDown:s}),p.jsxs(rl,{style:C,children:[p.jsxs(mr,{children:[p.jsx(_i,{onPointerDown:s})," ",m]}),p.jsx(hr,{children:t})]})]})},sl=xt.css`
|
|
1673
1725
|
font-family: var(--ddk-component-input-action-item-font-family);
|
|
1674
|
-
`,
|
|
1726
|
+
`,cl=({label:t,value:n})=>p.jsxs(Ot,{children:[t,p.jsx(Re,{css:sl,children:n})]}),dl=T.div`
|
|
1675
1727
|
display: flex;
|
|
1676
1728
|
flex-direction: column;
|
|
1677
1729
|
gap: 8px;
|
|
@@ -1683,7 +1735,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1683
1735
|
font-size: var(--ddk-component-status-card-message-font-size);
|
|
1684
1736
|
margin: 0px;
|
|
1685
1737
|
}
|
|
1686
|
-
`,
|
|
1738
|
+
`,ll=T.div`
|
|
1687
1739
|
display: flex;
|
|
1688
1740
|
justify-content: space-between;
|
|
1689
1741
|
width: 100%;
|
|
@@ -1702,7 +1754,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1702
1754
|
|
|
1703
1755
|
font-size: var(--ddk-component-status-card-message-font-size);
|
|
1704
1756
|
}
|
|
1705
|
-
`,
|
|
1757
|
+
`,ul=T.div`
|
|
1706
1758
|
display: flex;
|
|
1707
1759
|
justify-content: space-between;
|
|
1708
1760
|
width: 100%;
|
|
@@ -1712,14 +1764,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1712
1764
|
font-size: var(--ddk-component-status-card-message-font-size);
|
|
1713
1765
|
font-weight: var(--ddk-component-status-card-last-successful-font-weight);
|
|
1714
1766
|
}
|
|
1715
|
-
`,
|
|
1767
|
+
`,Ri=T.span`
|
|
1716
1768
|
background-color: ${({type:t})=>t==="Fail"?"var(--ddk-component-status-card-icon-color-fail)":t==="InProgress"?"var(--ddk-component-status-card-icon-color-inprogress)":"var(--ddk-component-status-card-icon-color-success)"};
|
|
1717
1769
|
|
|
1718
1770
|
border-radius: var(--ddk-component-status-card-dot-border-radius);
|
|
1719
1771
|
display: inline-block;
|
|
1720
1772
|
height: 8px;
|
|
1721
1773
|
width: 8px;
|
|
1722
|
-
`,
|
|
1774
|
+
`,fl=({failureMessage:t,lastSuccess:n,leftLabel:o,message:s,rightLabel:m,type:y,lastSuccessful:j})=>p.jsx(Ot,{children:p.jsxs(dl,{children:[p.jsxs(ll,{type:y,children:[p.jsxs("h4",{children:[y!=="Default"&&p.jsx(Ri,{type:y}),o]}),p.jsx("label",{children:m})]}),s&&p.jsx("div",{children:s}),y==="Fail"&&p.jsxs(ul,{children:[p.jsx("p",{children:t}),p.jsxs("label",{children:[j,": ",n==null?void 0:n.toLocaleString()]})]})]})}),Bi=t=>{switch(t){case"active":return"var(--ddk-component-status-indicator-fill-active)";case"completed":return"var(--ddk-component-status-indicator-fill-completed)";case"incomplete":return"var(--ddk-component-status-indicator-fill-incomplete)";case"pending":return"var(--ddk-component-status-indicator-fill-pending)";case"error":return"var(--ddk-component-status-indicator-fill-error)";default:return}},Ni=t=>{switch(t){case"large":return"var(--ddk-component-status-indicator-large)";case"small":return"var(--ddk-component-status-indicator-small)";default:return}},pl=({size:t="large",status:n="pending"})=>{const o=Bi(n),s=Ni(t);return p.jsx(gt.StepStatus,{fill:o,style:{height:s,width:s}})},hl=T.div`
|
|
1723
1775
|
display: flex;
|
|
1724
1776
|
flex-direction: column;
|
|
1725
1777
|
gap: 8px;
|
|
@@ -1730,7 +1782,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1730
1782
|
font-size: var(--ddk-component-status-card-message-font-size);
|
|
1731
1783
|
margin: 0px;
|
|
1732
1784
|
}
|
|
1733
|
-
`,
|
|
1785
|
+
`,ml=T.div`
|
|
1734
1786
|
display: flex;
|
|
1735
1787
|
justify-content: space-between;
|
|
1736
1788
|
width: 100%;
|
|
@@ -1753,13 +1805,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1753
1805
|
|
|
1754
1806
|
font-size: var(--ddk-component-status-card-title-font-size);
|
|
1755
1807
|
}
|
|
1756
|
-
`,
|
|
1808
|
+
`,Qo=T.span`
|
|
1757
1809
|
background-color: ${({isFail:t})=>t?"var(--ddk-component-step-indicator-label-color-fail)":"var(--ddk-component-status-card-icon-color-success)"};
|
|
1758
1810
|
border-radius: var(--ddk-component-status-card-dot-border-radius);
|
|
1759
1811
|
display: inline-block;
|
|
1760
1812
|
height: 16px;
|
|
1761
1813
|
width: 16px;
|
|
1762
|
-
|
|
1814
|
+
`,$i=({leftLabel:t,type:n})=>p.jsx(hl,{children:p.jsx(ml,{isFail:n,children:p.jsxs("h4",{children:[n&&p.jsx(Qo,{isFail:n}),!n&&p.jsx(Qo,{isFail:n}),t]})})}),gl=T.div`
|
|
1763
1815
|
width: 300px;
|
|
1764
1816
|
background: var(--ddk-generic-color-grey-5, #f9f9f9);
|
|
1765
1817
|
box-shadow: 8px 0px 16px 0px rgba(0, 0, 0, 0.08),
|
|
@@ -1768,43 +1820,43 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1768
1820
|
display: flex;
|
|
1769
1821
|
flex-direction: column;
|
|
1770
1822
|
gap: 64px;
|
|
1771
|
-
`,
|
|
1823
|
+
`,vl=T.ul`
|
|
1772
1824
|
list-style-type: none;
|
|
1773
1825
|
padding: 0;
|
|
1774
|
-
`,
|
|
1826
|
+
`,bl=T.li`
|
|
1775
1827
|
margin-bottom: 40px;
|
|
1776
|
-
`,
|
|
1828
|
+
`,yl=T.div`
|
|
1777
1829
|
padding-top: 32px;
|
|
1778
1830
|
display: flex;
|
|
1779
1831
|
flex-direction: row;
|
|
1780
1832
|
gap: 16px;
|
|
1781
|
-
`,
|
|
1833
|
+
`,kl=T.div`
|
|
1782
1834
|
color: var(--ddk-generic-color-grey-100, #171717);
|
|
1783
1835
|
font-size: 28px;
|
|
1784
1836
|
font-style: normal;
|
|
1785
1837
|
font-weight: 600;
|
|
1786
1838
|
line-height: 120%; /* 33.6px */
|
|
1787
1839
|
letter-spacing: 0.42px;
|
|
1788
|
-
`,
|
|
1840
|
+
`,xl=({onClose:t,menuData:n})=>p.jsxs(gl,{children:[p.jsxs(yl,{children:[p.jsx(gt.CloseSidebarIcon,{onPointerDown:t}),p.jsx(kl,{children:"Setup"})]}),p.jsx(vl,{children:n.map((o,s)=>p.jsx(bl,{children:p.jsx($i,{leftLabel:o.name,type:o.type})},s))})]}),wl=xt.css`
|
|
1789
1841
|
border-right: 1px solid var(--ddk-component-sub-nav-border-color);
|
|
1790
1842
|
width: 200px;
|
|
1791
|
-
`,
|
|
1843
|
+
`,jl=xt.css`
|
|
1792
1844
|
padding-top: var(--ddk-component-sub-nav-padding-medium);
|
|
1793
1845
|
padding: var(--ddk-component-top-navigation-padding);
|
|
1794
1846
|
display: flex;
|
|
1795
1847
|
flex-direction: column;
|
|
1796
1848
|
gap: var(--ddk-component-sub-nav-gap);
|
|
1797
|
-
`,
|
|
1849
|
+
`,Li=({buttons:t,activeButtonId:n,onPointerDown:o})=>p.jsx("div",{css:wl,children:p.jsx("div",{css:jl,children:t.map(s=>p.jsx(gr,{active:n===s.id,onPointerDown:()=>o(s.id),children:s.label},s.id))})}),Sl=xt.css`
|
|
1798
1850
|
display: flex;
|
|
1799
1851
|
height: 100%;
|
|
1800
1852
|
max-height: 100%;
|
|
1801
|
-
`,
|
|
1853
|
+
`,Cl=xt.css`
|
|
1802
1854
|
flex-grow: 1;
|
|
1803
1855
|
overflow: hidden;
|
|
1804
1856
|
overflow-y: scroll;
|
|
1805
|
-
`,
|
|
1857
|
+
`,Il=xt.css`
|
|
1806
1858
|
padding: var(--ddk-component-sub-nav-container-padding-medium);
|
|
1807
|
-
`,
|
|
1859
|
+
`,Pl=({children:t,onPointerDown:n,buttons:o,activeButtonId:s})=>p.jsxs("div",{css:Sl,children:[p.jsx(Li,{onPointerDown:n,activeButtonId:s,buttons:o}),p.jsx("div",{css:Cl,children:p.jsx("div",{css:Il,children:t})})]}),bo=T.div`
|
|
1808
1860
|
align-items: center;
|
|
1809
1861
|
|
|
1810
1862
|
background-color: ${t=>t.disabled?"var(--ddk-component-switch-background-color-disabled)":t.active?"var(--ddk-component-switch-background-color-active)":"var(--ddk-component-switch-background-color-default)"};
|
|
@@ -1864,14 +1916,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1864
1916
|
|
|
1865
1917
|
color: ${t=>!t.disabled&&"var(--ddk-component-switch-color-active)"};
|
|
1866
1918
|
}
|
|
1867
|
-
`,
|
|
1919
|
+
`,El=T(bo)`
|
|
1868
1920
|
border-radius: var(--ddk-component-switch-border-radius) 0px 0px
|
|
1869
1921
|
var(--ddk-component-switch-border-radius);
|
|
1870
1922
|
|
|
1871
1923
|
border-right-width: ${t=>t.active&&"calc(var(--ddk-component-switch-padding-offset) * 2)"};
|
|
1872
1924
|
|
|
1873
1925
|
padding-right: ${t=>t.active&&"calc(var(--ddk-component-switch-padding) - var(--ddk-component-switch-padding-offset))"};
|
|
1874
|
-
`,
|
|
1926
|
+
`,Ol=T(bo)`
|
|
1875
1927
|
border-radius: 0px;
|
|
1876
1928
|
|
|
1877
1929
|
border-left-width: ${t=>t.active&&"calc(var(--ddk-component-switch-padding-offset) * 2)"};
|
|
@@ -1880,34 +1932,34 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1880
1932
|
padding-left: ${t=>t.active&&"calc(var(--ddk-component-switch-padding) - var(--ddk-component-switch-padding-offset))"};
|
|
1881
1933
|
|
|
1882
1934
|
padding-right: ${t=>t.active&&"calc(var(--ddk-component-switch-padding) - var(--ddk-component-switch-padding-offset))"};
|
|
1883
|
-
`,
|
|
1935
|
+
`,Tl=T(bo)`
|
|
1884
1936
|
border-radius: 0px var(--ddk-component-switch-border-radius)
|
|
1885
1937
|
var(--ddk-component-switch-border-radius) 0px;
|
|
1886
1938
|
|
|
1887
1939
|
border-left-width: ${t=>t.active&&"calc(var(--ddk-component-switch-padding-offset) * 2)"};
|
|
1888
1940
|
|
|
1889
1941
|
padding-left: ${t=>t.active&&"calc(var(--ddk-component-switch-padding) - var(--ddk-component-switch-padding-offset))"};
|
|
1890
|
-
`,
|
|
1942
|
+
`,Al=T.div`
|
|
1891
1943
|
display: flex;
|
|
1892
1944
|
justify-content: center;
|
|
1893
|
-
`,bn=({disabled:t,onChange:n,options:o,value:
|
|
1945
|
+
`,bn=({disabled:t,onChange:n,options:o,value:s})=>{const[m,y]=tt.useState(s);tt.useEffect(()=>{y(s)},[s]);const j=C=>{t||C===m||(y(C),n==null||n(C))};return p.jsx(Al,{children:o.map(({id:C,label:N},R)=>{const D=R===0?El:R===o.length-1?Tl:Ol;return p.jsx(D,{active:C===m,disabled:t,onPointerDown:()=>j(C),children:N},C)})})},Ml=({label:t,...n})=>{const{componentModeOverride:o}=jt();return p.jsxs(Ot,{collapse:o==="compact",children:[t,p.jsx(bn,{...n})]})},Dl=T.div`
|
|
1894
1946
|
display: flex;
|
|
1895
1947
|
flex-direction: column;
|
|
1896
1948
|
padding: var(--ddk-component-picker-padding);
|
|
1897
1949
|
gap: var(--ddk-component-picker-gap);
|
|
1898
1950
|
height: 100%;
|
|
1899
|
-
`,
|
|
1951
|
+
`,Yo=(t,n)=>t.find(o=>o.items.find(s=>s.id===n)),_l=({cancelButtonLabel:t,closeButtonLabel:n,collapse:o,disabled:s,displayValue:m,enableAnimation:y,data:j,label:C,loop:N,numberOfVisibleItems:R,onSave:D,proceedButtonLabel:Y,selectedItemId:c,selectedItemOffset:g,unitValue:e,...r})=>{var E;const{componentModeOverride:a}=jt(),[i,d]=tt.useState(!1),[u,f]=tt.useState(),[h,b]=tt.useState(((E=Yo(j,c))==null?void 0:E.id)??j[0].id);tt.useEffect(()=>{var A;i&&b(((A=Yo(j,c))==null?void 0:A.id)??j[0].id)},[j,i,c]);const k=tt.useMemo(()=>{var A;return(A=j.find(L=>L.id===h))==null?void 0:A.items},[j,h]);tt.useEffect(()=>{(k==null?void 0:k.find(L=>L.id===u))?f(u):k&&k.length>0&&f(k==null?void 0:k[0].id)},[j,k,u,c,h]);const I=({id:A})=>{f(A)},S=()=>{u!==void 0&&(D==null||D(u)),d(!1)};return p.jsxs(Ot,{collapse:o??a==="compact",...r,children:[C,p.jsx(gn,{disabled:s,onPointerDown:()=>!s&&d(!0),unitValue:e,children:m}),p.jsxs(te,{show:i,onClose:()=>d(!1),contain:a!=="compact",children:[p.jsx(Zt,{title:C,showCloseButton:!0,onClose:()=>d(!1),closeButtonLabel:n,CloseButton:a==="compact"?$e:void 0}),p.jsxs(Dl,{children:[p.jsxs(Le,{children:[p.jsx(bn,{options:j,value:h,onChange:b}),p.jsx(mo,{enableAnimation:y,items:k,loop:N,numberOfVisibleItems:R,onChange:I,selectedItemId:c,selectedItemOffset:g},i&&h||"")]}),p.jsx(sn,{cancelLabel:t,proceedLabel:Y,onProceed:S,onCancel:()=>d(!1)})]})]})]})},zi=T.div`
|
|
1900
1952
|
border-bottom: var(--ddk-component-tab-list-border-bottom);
|
|
1901
|
-
`,
|
|
1953
|
+
`,Rl=T(zi)`
|
|
1902
1954
|
background: var(--ddk-component-tab-list-background-color);
|
|
1903
|
-
|
|
1955
|
+
`,Fi=T.div`
|
|
1904
1956
|
display: flex;
|
|
1905
1957
|
gap: var(--ddk-component-tab-list-gap);
|
|
1906
|
-
`,
|
|
1958
|
+
`,Bl=T(Fi)`
|
|
1907
1959
|
padding: var(--ddk-component-tab-list-padding);
|
|
1908
|
-
`,
|
|
1960
|
+
`,Nl=T.div`
|
|
1909
1961
|
overflow-y: auto;
|
|
1910
|
-
`,
|
|
1962
|
+
`,Vi=T.div`
|
|
1911
1963
|
cursor: pointer;
|
|
1912
1964
|
font-size: var(--ddk-component-tab-font-size);
|
|
1913
1965
|
font-weight: var(--ddk-component-tab-font-weight-default);
|
|
@@ -1919,41 +1971,41 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1919
1971
|
text-align: center;
|
|
1920
1972
|
text-overflow: ellipsis;
|
|
1921
1973
|
white-space: nowrap;
|
|
1922
|
-
|
|
1974
|
+
`,$l=T(Vi)`
|
|
1923
1975
|
color: var(--ddk-component-tab-color);
|
|
1924
1976
|
border-bottom: var(--ddk-component-tab-border-bottom-active);
|
|
1925
1977
|
font-weight: var(--ddk-component-tab-font-weight-active);
|
|
1926
|
-
`,
|
|
1978
|
+
`,Ki=({activeTab:t,contain:n=!0,tabs:o,onChange:s,showBackground:m=!0})=>{const[y,j]=tt.useState(t),C=Y=>{t===void 0&&j(Y.id),s==null||s(Y)};tt.useEffect(()=>{j(t)},[t]);const N=tt.useMemo(()=>o.reduce((Y,c)=>({...Y,[c.id]:c}),{}),[o]),R=m?Rl:zi,D=n?Bl:Fi;return p.jsxs(p.Fragment,{children:[p.jsx(R,{children:p.jsx(ie,{children:p.jsx(D,{children:o.map(Y=>{const c=y===Y.id?$l:Vi;return p.jsx(c,{onPointerDown:()=>C(Y),children:Y.label},Y.id)})})})}),p.jsx(Nl,{children:p.jsx(ie,{children:y&&N[y]&&p.jsx("section",{children:N[y].content})})})]})},Hi=()=>{const t=Se.useNavigate(),[n]=Se.useSearchParams();return tt.useCallback((s,m)=>{typeof s=="number"?t(s):t(typeof s=="string"?{pathname:s,search:n.toString()}:{pathname:s.pathname,search:s.search||n.toString(),hash:s.hash},m)},[t,n])},Ui=t=>{let n=t[0].toUpperCase();for(let o=1;o<t.length;o++)t[o]===t[o].toUpperCase()&&isNaN(parseInt(t[o]))?n+=t[o]:isNaN(parseInt(t[o]))||(n+=t[o]);return n},Ll=(t,n)=>tt.useMemo(()=>n?Ui(t):t,[n,t]),zl=({baseRoute:t,tabs:n})=>{const o=Hi(),{id:s}=Se.useParams(),[m,y]=tt.useState(s);tt.useEffect(()=>{n.find(N=>N.id===s)?y(s):o(n[0].id)},[s,o,n]);const j=tt.useCallback(C=>{o(`${t}/${C.id}`),y(C.id)},[t,o]);return p.jsx(Ki,{tabs:n,activeTab:m,onChange:j})},Fl=()=>{const[t,n]=tt.useState(null);return tt.useEffect(()=>{const o=s=>{const m=s.clientX||s.touches[0].clientX,y=s.clientY||s.touches[0].clientY;n({x:m,y});const j=setTimeout(()=>{n(null)},1e3);return()=>{clearTimeout(j)}};return document.addEventListener("click",o),document.addEventListener("touchstart",o),()=>{document.removeEventListener("click",o),document.removeEventListener("touchstart",o)}},[]),p.jsx("div",{children:t&&p.jsx("div",{style:{position:"absolute",top:t.y,left:t.x,backgroundColor:"rgba(255, 0, 0, 0.5)",borderRadius:"50%",width:"40px",height:"40px",pointerEvents:"none",transform:"translate(-50%, -50%)",zIndex:9999}})})},Vl=T.div`
|
|
1927
1979
|
display: flex;
|
|
1928
1980
|
flex-direction: column;
|
|
1929
1981
|
width: 100%;
|
|
1930
1982
|
align-items: center;
|
|
1931
1983
|
gap: 24px;
|
|
1932
|
-
`,
|
|
1984
|
+
`,Kl=({closeButtonLabel:t,onComplete:n,heading:o,showSwitch:s,timeMode:m,...y})=>{const[j,C]=tt.useState(""),[N,R]=tt.useState(!1);tt.useEffect(()=>{D()},[j]);const D=()=>{if(j.length>3){const r=j.split(":");switch(m){case"am/pm":(parseInt(r==null?void 0:r[0])>=12||parseInt(r==null?void 0:r[1])>=60)&&R(!0);break;case"24hour":(parseInt(r[0])>=24||parseInt(r[1])>=60)&&R(!0);break}}},Y=async r=>{switch(r){case"{bksp}":C(a=>a==null?void 0:a.slice(0,a.length-1)),R(!1);break;default:if(j.length===2)if(j.includes(":"))C(j+r);else{const a=j.slice(0,1)+":"+j.slice(1)+r;C(a)}else if(j.length===4){const a=j.replace(":","");C(a.slice(0,2)+":"+a.slice(2)+r)}else C(j+r)}},c=r=>{j&&(j==null?void 0:j.length)>=5&&r!=="{bksp}"&&r!=="{enter}"||Y(r)},[g,e]=tt.useState(!1);return p.jsxs(te,{show:!g,onClose:()=>e(!0),onClosed:n,children:[p.jsx(Zt,{closeButtonLabel:t,title:p.jsx("div",{children:o}),showCloseButton:!0,onClose:()=>e(!0)}),p.jsxs(Vl,{children:[s&&p.jsx(bn,{...y}),p.jsx(Ne,{value:j,isError:N})]}),p.jsx(vn,{layout:"numLogin",onKeyReleased:c}),p.jsxs(ze,{children:[p.jsx(Tt,{children:"Discard changes"}),p.jsx(Tt,{disabled:j.length<4||N,children:"Save"})]})]})},Hl=({alwaysShowLabel:t=!1,collapse:n,float:o,label:s,toggleLabel:m,stretch:y,...j})=>{const{componentModeOverride:C}=jt();return p.jsxs(Ot,{collapse:n,css:xt.css`
|
|
1933
1985
|
min-height: 0px;
|
|
1934
|
-
width: ${
|
|
1935
|
-
`,float:o,className:j.className,children:[
|
|
1986
|
+
width: ${y&&"100%"};
|
|
1987
|
+
`,float:o,className:j.className,children:[s,p.jsx(vo,{label:!t&&C==="compact"?void 0:m,...j})]})},qi=({children:t,active:n=!1,to:o})=>{const s=Se.useNavigate(),m=y=>{y.preventDefault(),s(o)};return p.jsx(fr,{active:n,onPointerDown:m,children:t})},Ul=T.div`
|
|
1936
1988
|
display: flex;
|
|
1937
1989
|
gap: var(--ddk-component-navigation-button-list-gap);
|
|
1938
|
-
`,
|
|
1990
|
+
`,Gi=({items:t})=>{const{pathname:n}=Se.useLocation();return p.jsx(Ul,{children:t.map((o,s)=>p.jsx(qi,{active:typeof o.to=="string"&&n.includes(o.to),to:o.to,children:o.children},s))})},ql=T(se)`
|
|
1939
1991
|
color: var(--ddk-component-top-navigation-color);
|
|
1940
|
-
`,
|
|
1992
|
+
`,Gl=T.div`
|
|
1941
1993
|
color: var(--ddk-generic-color-grey-5);
|
|
1942
1994
|
font-size: var(--ddk-component-navigation-icon-button-font-size);
|
|
1943
|
-
`,
|
|
1995
|
+
`,Wi=({icon:t,label:n,size:o,...s})=>p.jsx(ql,{size:o,icon:t,...s,children:p.jsx(Gl,{children:n})}),Wl=T.div`
|
|
1944
1996
|
display: flex;
|
|
1945
1997
|
gap: var(--ddk-generic-padding-large);
|
|
1946
|
-
`,
|
|
1998
|
+
`,Qi=({items:t})=>p.jsx(Wl,{children:t.map(({icon:n,label:o},s)=>p.jsx(Wi,{icon:n,label:o,size:"small"},s))}),Ql=T.div`
|
|
1947
1999
|
background-color: var(--ddk-component-top-navigation-background-color);
|
|
1948
2000
|
color: var(--ddk-component-top-navigation-color);
|
|
1949
|
-
`,
|
|
2001
|
+
`,Yl=T.div`
|
|
1950
2002
|
padding: var(--ddk-component-top-navigation-padding);
|
|
1951
2003
|
display: flex;
|
|
1952
2004
|
justify-content: space-between;
|
|
1953
2005
|
align-items: center;
|
|
1954
|
-
`,
|
|
2006
|
+
`,Xl=({iconNavigationItems:t,navigationItems:n})=>p.jsx(Ql,{children:p.jsx(ie,{children:p.jsxs(Yl,{children:[p.jsx(Gi,{items:n}),p.jsx(Qi,{items:t})]})})}),Xo=xt.css`
|
|
1955
2007
|
display: flex;
|
|
1956
2008
|
flex-direction: column;
|
|
1957
2009
|
gap: var(--ddk-component-view-gap);
|
|
1958
2010
|
padding: var(--ddk-component-view-padding);
|
|
1959
|
-
`,
|
|
2011
|
+
`,Jl=({children:t,contain:n=!0,style:o})=>n?p.jsx(ie,{children:p.jsx("div",{css:[Xo,o],children:t})}):p.jsx("div",{css:[Xo,o],children:t}),Zl=()=>{const{t}=Nt.useKosTranslation("common");return t("close")},tu=({children:t,fill:n,label:o,size:s="medium",...m})=>p.jsx(se,{icon:gt.ChevronLeftIcon,size:s,...m,children:o??p.jsx(Zl,{})});exports.ActionCard=Na;exports.ActionItem=Xe;exports.ActionItemButton=Re;exports.ActionItemButtonStyles=Cn;exports.AgitatorDashboardCard=yc;exports.AvailableText=Ln;exports.BackButton=yr;exports.Body2=ba;exports.BodyContent=Ea;exports.BodyLarge=Kn;exports.BodyLargeInformation=or;exports.BodyMedium=nn;exports.BodyMediumInformation=ka;exports.BodySmall=Vn;exports.BodySmallInformation=nr;exports.Button=Tt;exports.CancelProceedFooter=sn;exports.Card=Ot;exports.CardAvatar=si;exports.CardBody=di;exports.CardButton=tr;exports.CardButtonGrid=La;exports.CardErrors=vc;exports.CardFooter=li;exports.CardNav=ui;exports.CardTitle=ci;exports.CloseButton=Gn;exports.CompactCloseButton=$e;exports.ComponentConfigurationContext=Fn;exports.ComponentConfigurationProvider=Ji;exports.ConfirmationModal=ii;exports.ConfirmationModalContainer=ii;exports.Container=ie;exports.Content=Le;exports.DashboardCardContainer=ai;exports.Description=an;exports.Dial=uo;exports.Dropdown=gn;exports.Error=vr;exports.ErrorInputCard=vd;exports.ErrorText=Hn;exports.FailureCard=Oc;exports.Footer=ze;exports.FrameBody=Dc;exports.FrameContainer=Bc;exports.FuelGauge=Hc;exports.FullScreenHeader=Yc;exports.FullScreenModal=qc;exports.GreenTickIconStyle=sa;exports.Grid=Jc;exports.Header=Zt;exports.Heading=pa;exports.HeadingExtraLarge=ir;exports.HeadingLarge=rr;exports.HeadingLargeInformation=xa;exports.HeadingMedium=Un;exports.HeadingMediumInformation=ar;exports.HolderDashboardCard=kc;exports.IconButton=se;exports.InfoCard=vi;exports.InfoCardContainer=vi;exports.InfoCardHead=er;exports.InfoContainer=ua;exports.InfoMessage=rd;exports.InfoTable=gi;exports.InformationIconStyle=ca;exports.Input=Ne;exports.InputCard=po;exports.InputCardContainer=po;exports.InputRangeCard=ki;exports.InputRangeCardContainer=ki;exports.InputStep=xd;exports.InputTypePassword=jd;exports.InstructionCard=Ca;exports.Keyboard=vn;exports.Label=Be;exports.LabelDate=wa;exports.LabelDateInformation=cr;exports.LabelExtraSmall=on;exports.LabelInformation=dr;exports.LabelInformationExtraSmall=ja;exports.LabelInformationSmall=lr;exports.LabelSmall=sr;exports.LargeText=fa;exports.ListContainer=Ia;exports.MenuButton=xr;exports.Modal=te;exports.ModalContainer=oi;exports.MultiDial=xi;exports.MultiPicker=wi;exports.MultiPickerCard=Id;exports.NavigationButton=fr;exports.NoDataSummary=Pa;exports.NotificationCard=ji;exports.NotificationCardContainer=ji;exports.Numpad=Bd;exports.Picker=mo;exports.PickerCard=Ld;exports.PickerItemRenderer=ho;exports.PlaceholderMessage=Fd;exports.Portal=Si;exports.ProgressBar=Oi;exports.ProgressBarContainer=Oi;exports.ProgressBarSubTitle=Ii;exports.ProgressBarTitle=go;exports.ProgressFill=Ei;exports.ProgressFillContainer=Pi;exports.QuestionIconStyle=da;exports.RadioCard=Gd;exports.ScheduleTable=ol;exports.ScheduleTableDiv=Di;exports.SettingsSubheading=va;exports.ShowMoreSubtext=Ta;exports.ShowMoreText=Oa;exports.Sidebar=al;exports.SidebarCloseButton=_i;exports.SidebarContent=hr;exports.SidebarHeader=mr;exports.SidebarNav=pr;exports.SmallText=ya;exports.StaticInputCard=cl;exports.StatusBar=Ci;exports.StatusCard=fl;exports.StatusDots=Ri;exports.StatusIndicator=pl;exports.StepsIndicatorLabel=$i;exports.StepsSideNav=xl;exports.StyledInput=ur;exports.SubNav=Li;exports.SubNavButton=gr;exports.SubNavContainer=Pl;exports.Subheading=ha;exports.SummaryHolderCardText=Aa;exports.Switch=bn;exports.SwitchCard=Ml;exports.SwitchPickerCard=_l;exports.TabContainer=Da;exports.TabRouter=zl;exports.TabViewLayout=Ma;exports.Table=mi;exports.Tabs=Ki;exports.TapAndHoldButton=_a;exports.TapEventViewer=Fl;exports.Text=rn;exports.TextContainer=qn;exports.TimeInputModal=Kl;exports.Toggle=vo;exports.ToggleCard=Hl;exports.ToggleLabel=Mi;exports.ToggleThumb=Ai;exports.ToggleTrack=Ti;exports.TopNavigation=Xl;exports.TopNavigationButton=qi;exports.TopNavigationButtonList=Gi;exports.TopNavigationIconButton=Wi;exports.TopNavigationIconButtonList=Qi;exports.UnavailableText=zn;exports.UsbIconStyle=la;exports.UtilityModalHeading=ma;exports.UtilityModalSubHeading=ga;exports.View=Jl;exports.VolumeBackButton=tu;exports.WorkflowModal=ri;exports.abbreviate=Ui;exports.formatBytes=Nc;exports.getFill=Bi;exports.getFillColor=fo;exports.getItemData=pi;exports.getSize=Ni;exports.useAbbreviation=Ll;exports.useComponentConfigurationContext=jt;exports.useExperience=Zi;exports.useKeyboardToggle=$c;exports.useNavigate=Hi;exports.useViewExperience=ea;exports.useViewExperienceListMap=ta;
|