@launchchair/agent 0.5.0 → 0.5.1
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/AGENTS.md +3 -0
- package/README.md +19 -1
- package/launchchair-cli.mjs +1 -1
- package/local-bridge.mjs +1 -1
- package/mcp-bridge-server.mjs +29 -4
- package/mcp-widget.html +1203 -0
- package/mcp-widgets.mjs +74 -0
- package/package.json +3 -1
- package/server.json +2 -2
package/mcp-widget.html
ADDED
|
@@ -0,0 +1,1203 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>LaunchChair</title><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap"><style>/*!
|
|
2
|
+
* OverlayScrollbars
|
|
3
|
+
* Version: 2.14.0
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Rene Haas | KingSora.
|
|
6
|
+
* https://github.com/KingSora
|
|
7
|
+
*
|
|
8
|
+
* Released under the MIT license.
|
|
9
|
+
*/
|
|
10
|
+
.os-size-observer,
|
|
11
|
+
.os-size-observer-listener {
|
|
12
|
+
scroll-behavior: auto !important;
|
|
13
|
+
direction: inherit;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
visibility: hidden;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.os-size-observer,
|
|
21
|
+
.os-size-observer-listener,
|
|
22
|
+
.os-size-observer-listener-item,
|
|
23
|
+
.os-size-observer-listener-item-final {
|
|
24
|
+
writing-mode: horizontal-tb;
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: 0;
|
|
27
|
+
top: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.os-size-observer {
|
|
31
|
+
z-index: -1;
|
|
32
|
+
contain: strict;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
padding: inherit;
|
|
37
|
+
border: inherit;
|
|
38
|
+
box-sizing: inherit;
|
|
39
|
+
margin: -133px;
|
|
40
|
+
top: 0;
|
|
41
|
+
right: 0;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
left: 0;
|
|
44
|
+
transform: scale(0.1);
|
|
45
|
+
}
|
|
46
|
+
.os-size-observer::before {
|
|
47
|
+
content: "";
|
|
48
|
+
flex: none;
|
|
49
|
+
box-sizing: inherit;
|
|
50
|
+
padding: 10px;
|
|
51
|
+
width: 10px;
|
|
52
|
+
height: 10px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.os-size-observer-appear {
|
|
56
|
+
animation: os-size-observer-appear-animation 1ms forwards;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.os-size-observer-listener {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
position: relative;
|
|
62
|
+
flex: auto;
|
|
63
|
+
padding: inherit;
|
|
64
|
+
border: inherit;
|
|
65
|
+
margin: -133px;
|
|
66
|
+
transform: scale(calc(1 / 0.1));
|
|
67
|
+
}
|
|
68
|
+
.os-size-observer-listener.ltr {
|
|
69
|
+
margin-right: -266px;
|
|
70
|
+
margin-left: 0;
|
|
71
|
+
}
|
|
72
|
+
.os-size-observer-listener.rtl {
|
|
73
|
+
margin-left: -266px;
|
|
74
|
+
margin-right: 0;
|
|
75
|
+
}
|
|
76
|
+
.os-size-observer-listener:empty::before {
|
|
77
|
+
content: "";
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: 100%;
|
|
80
|
+
}
|
|
81
|
+
.os-size-observer-listener:empty::before, .os-size-observer-listener > .os-size-observer-listener-item {
|
|
82
|
+
display: block;
|
|
83
|
+
position: relative;
|
|
84
|
+
padding: inherit;
|
|
85
|
+
border: inherit;
|
|
86
|
+
box-sizing: content-box;
|
|
87
|
+
flex: auto;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.os-size-observer-listener-scroll {
|
|
91
|
+
box-sizing: border-box;
|
|
92
|
+
display: flex;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.os-size-observer-listener-item {
|
|
96
|
+
right: 0;
|
|
97
|
+
bottom: 0;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
direction: ltr;
|
|
100
|
+
flex: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.os-size-observer-listener-item-final {
|
|
104
|
+
transition: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@keyframes os-size-observer-appear-animation {
|
|
108
|
+
from {
|
|
109
|
+
cursor: auto;
|
|
110
|
+
}
|
|
111
|
+
to {
|
|
112
|
+
cursor: none;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
.os-trinsic-observer {
|
|
116
|
+
flex: none;
|
|
117
|
+
box-sizing: border-box;
|
|
118
|
+
position: relative;
|
|
119
|
+
max-width: 0px;
|
|
120
|
+
max-height: 1px;
|
|
121
|
+
padding: 0;
|
|
122
|
+
margin: 0;
|
|
123
|
+
border: none;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
z-index: -1;
|
|
126
|
+
height: 0;
|
|
127
|
+
top: calc(100% + 1px);
|
|
128
|
+
contain: strict;
|
|
129
|
+
}
|
|
130
|
+
.os-trinsic-observer:not(:empty) {
|
|
131
|
+
height: calc(100% + 1px);
|
|
132
|
+
top: -1px;
|
|
133
|
+
}
|
|
134
|
+
.os-trinsic-observer:not(:empty) > .os-size-observer {
|
|
135
|
+
width: 1000%;
|
|
136
|
+
height: 1000%;
|
|
137
|
+
min-height: 1px;
|
|
138
|
+
min-width: 1px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* hide native scrollbars
|
|
143
|
+
* changes to this styles need to be reflected in the environment styles to correctly detect scrollbar hiding
|
|
144
|
+
*/
|
|
145
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport]),
|
|
146
|
+
[data-overlayscrollbars-viewport~=scrollbarHidden],
|
|
147
|
+
html[data-overlayscrollbars-viewport~=scrollbarHidden] > body {
|
|
148
|
+
scrollbar-width: none !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar,
|
|
152
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar-corner,
|
|
153
|
+
[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,
|
|
154
|
+
[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,
|
|
155
|
+
html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar,
|
|
156
|
+
html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar-corner {
|
|
157
|
+
-webkit-appearance: none !important;
|
|
158
|
+
appearance: none !important;
|
|
159
|
+
display: none !important;
|
|
160
|
+
width: 0 !important;
|
|
161
|
+
height: 0 !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body) {
|
|
165
|
+
overflow: auto;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* body element
|
|
170
|
+
*/
|
|
171
|
+
html[data-overlayscrollbars-body] {
|
|
172
|
+
overflow: hidden;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
html[data-overlayscrollbars-body],
|
|
176
|
+
html[data-overlayscrollbars-body] > body {
|
|
177
|
+
width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
margin: 0;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
html[data-overlayscrollbars-body] > body {
|
|
183
|
+
overflow: visible;
|
|
184
|
+
margin: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* structure setup
|
|
189
|
+
*/
|
|
190
|
+
[data-overlayscrollbars] {
|
|
191
|
+
position: relative;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
[data-overlayscrollbars~=host],
|
|
195
|
+
[data-overlayscrollbars-padding] {
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: stretch !important;
|
|
198
|
+
flex-direction: row !important;
|
|
199
|
+
flex-wrap: nowrap !important;
|
|
200
|
+
scroll-behavior: auto !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
[data-overlayscrollbars-padding],
|
|
204
|
+
[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]) {
|
|
205
|
+
box-sizing: inherit;
|
|
206
|
+
position: relative;
|
|
207
|
+
flex: auto;
|
|
208
|
+
height: auto;
|
|
209
|
+
width: 100%;
|
|
210
|
+
min-width: 0;
|
|
211
|
+
padding: 0;
|
|
212
|
+
margin: 0;
|
|
213
|
+
border: none;
|
|
214
|
+
z-index: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]) {
|
|
218
|
+
--os-vaw: 0;
|
|
219
|
+
--os-vah: 0;
|
|
220
|
+
outline: none;
|
|
221
|
+
}
|
|
222
|
+
[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus {
|
|
223
|
+
outline: none;
|
|
224
|
+
}
|
|
225
|
+
[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]::before {
|
|
226
|
+
content: "";
|
|
227
|
+
position: absolute;
|
|
228
|
+
pointer-events: none;
|
|
229
|
+
z-index: -1;
|
|
230
|
+
min-width: 1px;
|
|
231
|
+
min-height: 1px;
|
|
232
|
+
width: var(--os-vaw);
|
|
233
|
+
height: var(--os-vah);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* wrapper elements overflow:
|
|
238
|
+
*/
|
|
239
|
+
[data-overlayscrollbars~=host],
|
|
240
|
+
[data-overlayscrollbars-padding] {
|
|
241
|
+
overflow: hidden !important;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
[data-overlayscrollbars~=host][data-overlayscrollbars~=noClipping],
|
|
245
|
+
[data-overlayscrollbars-padding~=noClipping] {
|
|
246
|
+
overflow: visible !important;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* viewport overflow:
|
|
251
|
+
*/
|
|
252
|
+
[data-overlayscrollbars-viewport] {
|
|
253
|
+
--os-viewport-overflow-x: hidden;
|
|
254
|
+
--os-viewport-overflow-y: hidden;
|
|
255
|
+
overflow-x: var(--os-viewport-overflow-x);
|
|
256
|
+
overflow-y: var(--os-viewport-overflow-y);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
[data-overlayscrollbars-viewport~=overflowXVisible] {
|
|
260
|
+
--os-viewport-overflow-x: visible;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
[data-overlayscrollbars-viewport~=overflowXHidden] {
|
|
264
|
+
--os-viewport-overflow-x: hidden;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
[data-overlayscrollbars-viewport~=overflowXScroll] {
|
|
268
|
+
--os-viewport-overflow-x: scroll;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
[data-overlayscrollbars-viewport~=overflowYVisible] {
|
|
272
|
+
--os-viewport-overflow-y: visible;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
[data-overlayscrollbars-viewport~=overflowYHidden] {
|
|
276
|
+
--os-viewport-overflow-y: hidden;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
[data-overlayscrollbars-viewport~=overflowYScroll] {
|
|
280
|
+
--os-viewport-overflow-y: scroll;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
[data-overlayscrollbars-viewport~=overflowImportant] {
|
|
284
|
+
overflow-x: var(--os-viewport-overflow-x) !important;
|
|
285
|
+
overflow-y: var(--os-viewport-overflow-y) !important;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* viewport state modifiers:
|
|
290
|
+
*/
|
|
291
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId) {
|
|
292
|
+
font-size: 0 !important;
|
|
293
|
+
line-height: 0 !important;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)::before,
|
|
297
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)::after,
|
|
298
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId) > *:not(#osFakeId) {
|
|
299
|
+
display: none !important;
|
|
300
|
+
position: absolute !important;
|
|
301
|
+
width: 1px !important;
|
|
302
|
+
height: 1px !important;
|
|
303
|
+
padding: 0 !important;
|
|
304
|
+
margin: -1px !important;
|
|
305
|
+
overflow: hidden !important;
|
|
306
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
307
|
+
white-space: nowrap !important;
|
|
308
|
+
border-width: 0 !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
[data-overlayscrollbars-viewport~=measuring],
|
|
312
|
+
[data-overlayscrollbars-viewport~=scrolling] {
|
|
313
|
+
scroll-behavior: auto !important;
|
|
314
|
+
scroll-snap-type: none !important;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowXVisible] {
|
|
318
|
+
overflow-x: hidden !important;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowYVisible] {
|
|
322
|
+
overflow-y: hidden !important;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* content element:
|
|
327
|
+
*/
|
|
328
|
+
[data-overlayscrollbars-content] {
|
|
329
|
+
box-sizing: inherit;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Display contents to bridge any flickering during deferred initialization.
|
|
334
|
+
*/
|
|
335
|
+
[data-overlayscrollbars-contents]:not(#osFakeId):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]) {
|
|
336
|
+
display: contents;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* optional & experimental grid mode
|
|
341
|
+
*/
|
|
342
|
+
[data-overlayscrollbars-grid],
|
|
343
|
+
[data-overlayscrollbars-grid] [data-overlayscrollbars-padding] {
|
|
344
|
+
display: grid;
|
|
345
|
+
grid-template: 1fr/1fr;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding],
|
|
349
|
+
[data-overlayscrollbars-grid] > [data-overlayscrollbars-viewport],
|
|
350
|
+
[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding] > [data-overlayscrollbars-viewport] {
|
|
351
|
+
height: auto !important;
|
|
352
|
+
width: auto !important;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@property --os-scroll-percent {
|
|
356
|
+
syntax: "<number>";
|
|
357
|
+
inherits: true;
|
|
358
|
+
initial-value: 0;
|
|
359
|
+
}
|
|
360
|
+
@property --os-viewport-percent {
|
|
361
|
+
syntax: "<number>";
|
|
362
|
+
inherits: true;
|
|
363
|
+
initial-value: 0;
|
|
364
|
+
}
|
|
365
|
+
.os-scrollbar {
|
|
366
|
+
--os-viewport-percent: 0;
|
|
367
|
+
--os-scroll-percent: 0;
|
|
368
|
+
--os-scroll-direction: 0;
|
|
369
|
+
--os-scroll-percent-directional: calc(
|
|
370
|
+
var(--os-scroll-percent) - (var(--os-scroll-percent) + (1 - var(--os-scroll-percent)) * -1) *
|
|
371
|
+
var(--os-scroll-direction)
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.os-scrollbar {
|
|
376
|
+
contain: size layout;
|
|
377
|
+
contain: size layout style;
|
|
378
|
+
transition: opacity 0.15s, visibility 0.15s, top 0.15s, right 0.15s, bottom 0.15s, left 0.15s;
|
|
379
|
+
pointer-events: none;
|
|
380
|
+
position: absolute;
|
|
381
|
+
opacity: 0;
|
|
382
|
+
visibility: hidden;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
body > .os-scrollbar {
|
|
386
|
+
position: fixed;
|
|
387
|
+
z-index: 99999;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.os-scrollbar-transitionless {
|
|
391
|
+
transition: none !important;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.os-scrollbar-track {
|
|
395
|
+
position: relative;
|
|
396
|
+
padding: 0 !important;
|
|
397
|
+
border: none !important;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.os-scrollbar-handle {
|
|
401
|
+
position: absolute;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.os-scrollbar-track,
|
|
405
|
+
.os-scrollbar-handle {
|
|
406
|
+
pointer-events: none;
|
|
407
|
+
width: 100%;
|
|
408
|
+
height: 100%;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,
|
|
412
|
+
.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle {
|
|
413
|
+
pointer-events: auto;
|
|
414
|
+
touch-action: none;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.os-scrollbar-horizontal {
|
|
418
|
+
bottom: 0;
|
|
419
|
+
left: 0;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.os-scrollbar-vertical {
|
|
423
|
+
top: 0;
|
|
424
|
+
right: 0;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.os-scrollbar-rtl.os-scrollbar-horizontal {
|
|
428
|
+
right: 0;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.os-scrollbar-rtl.os-scrollbar-vertical {
|
|
432
|
+
right: auto;
|
|
433
|
+
left: 0;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.os-scrollbar-visible {
|
|
437
|
+
opacity: 1;
|
|
438
|
+
visibility: visible;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden {
|
|
442
|
+
opacity: 0;
|
|
443
|
+
visibility: hidden;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.os-scrollbar-interaction.os-scrollbar-visible {
|
|
447
|
+
opacity: 1;
|
|
448
|
+
visibility: visible;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.os-scrollbar-unusable,
|
|
452
|
+
.os-scrollbar-unusable *,
|
|
453
|
+
.os-scrollbar-wheel,
|
|
454
|
+
.os-scrollbar-wheel * {
|
|
455
|
+
pointer-events: none !important;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.os-scrollbar-unusable .os-scrollbar-handle {
|
|
459
|
+
opacity: 0 !important;
|
|
460
|
+
transition: none !important;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
464
|
+
bottom: 0;
|
|
465
|
+
left: calc(var(--os-scroll-percent-directional) * 100%);
|
|
466
|
+
transform: translateX(calc(var(--os-scroll-percent-directional) * -100%));
|
|
467
|
+
width: calc(var(--os-viewport-percent) * 100%);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.os-scrollbar-vertical .os-scrollbar-handle {
|
|
471
|
+
right: 0;
|
|
472
|
+
top: calc(var(--os-scroll-percent-directional) * 100%);
|
|
473
|
+
transform: translateY(calc(var(--os-scroll-percent-directional) * -100%));
|
|
474
|
+
height: calc(var(--os-viewport-percent) * 100%);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
@supports (container-type: size) {
|
|
478
|
+
.os-scrollbar-track {
|
|
479
|
+
container-type: size;
|
|
480
|
+
}
|
|
481
|
+
.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
482
|
+
left: auto;
|
|
483
|
+
transform: translateX(calc(var(--os-scroll-percent-directional) * 100cqw + var(--os-scroll-percent-directional) * -100%));
|
|
484
|
+
}
|
|
485
|
+
.os-scrollbar-vertical .os-scrollbar-handle {
|
|
486
|
+
top: auto;
|
|
487
|
+
transform: translateY(calc(var(--os-scroll-percent-directional) * 100cqh + var(--os-scroll-percent-directional) * -100%));
|
|
488
|
+
}
|
|
489
|
+
.os-scrollbar-rtl.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
490
|
+
right: auto;
|
|
491
|
+
left: 0;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle {
|
|
495
|
+
right: auto;
|
|
496
|
+
left: 0;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,
|
|
500
|
+
.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl {
|
|
501
|
+
left: 0;
|
|
502
|
+
right: 0;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,
|
|
506
|
+
.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl {
|
|
507
|
+
top: 0;
|
|
508
|
+
bottom: 0;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
@media print {
|
|
512
|
+
.os-scrollbar {
|
|
513
|
+
display: none;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
.os-scrollbar {
|
|
517
|
+
--os-size: 0;
|
|
518
|
+
--os-padding-perpendicular: 0;
|
|
519
|
+
--os-padding-axis: 0;
|
|
520
|
+
--os-track-border-radius: 0;
|
|
521
|
+
--os-track-bg: none;
|
|
522
|
+
--os-track-bg-hover: none;
|
|
523
|
+
--os-track-bg-active: none;
|
|
524
|
+
--os-track-border: none;
|
|
525
|
+
--os-track-border-hover: none;
|
|
526
|
+
--os-track-border-active: none;
|
|
527
|
+
--os-handle-border-radius: 0;
|
|
528
|
+
--os-handle-bg: none;
|
|
529
|
+
--os-handle-bg-hover: none;
|
|
530
|
+
--os-handle-bg-active: none;
|
|
531
|
+
--os-handle-border: none;
|
|
532
|
+
--os-handle-border-hover: none;
|
|
533
|
+
--os-handle-border-active: none;
|
|
534
|
+
--os-handle-min-size: 33px;
|
|
535
|
+
--os-handle-max-size: none;
|
|
536
|
+
--os-handle-perpendicular-size: 100%;
|
|
537
|
+
--os-handle-perpendicular-size-hover: 100%;
|
|
538
|
+
--os-handle-perpendicular-size-active: 100%;
|
|
539
|
+
--os-handle-interactive-area-offset: 0;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.os-scrollbar-track {
|
|
543
|
+
border: var(--os-track-border);
|
|
544
|
+
border-radius: var(--os-track-border-radius);
|
|
545
|
+
background: var(--os-track-bg);
|
|
546
|
+
transition: opacity 0.15s, background-color 0.15s, border-color 0.15s;
|
|
547
|
+
}
|
|
548
|
+
.os-scrollbar-track:hover {
|
|
549
|
+
border: var(--os-track-border-hover);
|
|
550
|
+
background: var(--os-track-bg-hover);
|
|
551
|
+
}
|
|
552
|
+
.os-scrollbar-track:active {
|
|
553
|
+
border: var(--os-track-border-active);
|
|
554
|
+
background: var(--os-track-bg-active);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.os-scrollbar-handle {
|
|
558
|
+
border: var(--os-handle-border);
|
|
559
|
+
border-radius: var(--os-handle-border-radius);
|
|
560
|
+
background: var(--os-handle-bg);
|
|
561
|
+
}
|
|
562
|
+
.os-scrollbar-handle:hover {
|
|
563
|
+
border: var(--os-handle-border-hover);
|
|
564
|
+
background: var(--os-handle-bg-hover);
|
|
565
|
+
}
|
|
566
|
+
.os-scrollbar-handle:active {
|
|
567
|
+
border: var(--os-handle-border-active);
|
|
568
|
+
background: var(--os-handle-bg-active);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.os-scrollbar-track:before,
|
|
572
|
+
.os-scrollbar-handle:before {
|
|
573
|
+
content: "";
|
|
574
|
+
position: absolute;
|
|
575
|
+
left: 0;
|
|
576
|
+
right: 0;
|
|
577
|
+
top: 0;
|
|
578
|
+
bottom: 0;
|
|
579
|
+
display: block;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.os-scrollbar-horizontal {
|
|
583
|
+
padding: var(--os-padding-perpendicular) var(--os-padding-axis);
|
|
584
|
+
right: var(--os-size);
|
|
585
|
+
height: var(--os-size);
|
|
586
|
+
}
|
|
587
|
+
.os-scrollbar-horizontal.os-scrollbar-rtl {
|
|
588
|
+
left: var(--os-size);
|
|
589
|
+
right: 0;
|
|
590
|
+
}
|
|
591
|
+
.os-scrollbar-horizontal .os-scrollbar-track:before {
|
|
592
|
+
top: calc(var(--os-padding-perpendicular) * -1);
|
|
593
|
+
bottom: calc(var(--os-padding-perpendicular) * -1);
|
|
594
|
+
}
|
|
595
|
+
.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
596
|
+
min-width: var(--os-handle-min-size);
|
|
597
|
+
max-width: var(--os-handle-max-size);
|
|
598
|
+
height: var(--os-handle-perpendicular-size);
|
|
599
|
+
transition: opacity 0.15s, background-color 0.15s, border-color 0.15s, height 0.15s;
|
|
600
|
+
}
|
|
601
|
+
.os-scrollbar-horizontal .os-scrollbar-handle:before {
|
|
602
|
+
top: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
|
|
603
|
+
bottom: calc(var(--os-padding-perpendicular) * -1);
|
|
604
|
+
}
|
|
605
|
+
.os-scrollbar-horizontal:hover .os-scrollbar-handle {
|
|
606
|
+
height: var(--os-handle-perpendicular-size-hover);
|
|
607
|
+
}
|
|
608
|
+
.os-scrollbar-horizontal:active .os-scrollbar-handle {
|
|
609
|
+
height: var(--os-handle-perpendicular-size-active);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.os-scrollbar-vertical {
|
|
613
|
+
padding: var(--os-padding-axis) var(--os-padding-perpendicular);
|
|
614
|
+
bottom: var(--os-size);
|
|
615
|
+
width: var(--os-size);
|
|
616
|
+
}
|
|
617
|
+
.os-scrollbar-vertical .os-scrollbar-track:before {
|
|
618
|
+
left: calc(var(--os-padding-perpendicular) * -1);
|
|
619
|
+
right: calc(var(--os-padding-perpendicular) * -1);
|
|
620
|
+
}
|
|
621
|
+
.os-scrollbar-vertical .os-scrollbar-handle {
|
|
622
|
+
min-height: var(--os-handle-min-size);
|
|
623
|
+
max-height: var(--os-handle-max-size);
|
|
624
|
+
width: var(--os-handle-perpendicular-size);
|
|
625
|
+
transition: opacity 0.15s, background-color 0.15s, border-color 0.15s, width 0.15s;
|
|
626
|
+
}
|
|
627
|
+
.os-scrollbar-vertical .os-scrollbar-handle:before {
|
|
628
|
+
left: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
|
|
629
|
+
right: calc(var(--os-padding-perpendicular) * -1);
|
|
630
|
+
}
|
|
631
|
+
.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before {
|
|
632
|
+
right: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
|
|
633
|
+
left: calc(var(--os-padding-perpendicular) * -1);
|
|
634
|
+
}
|
|
635
|
+
.os-scrollbar-vertical:hover .os-scrollbar-handle {
|
|
636
|
+
width: var(--os-handle-perpendicular-size-hover);
|
|
637
|
+
}
|
|
638
|
+
.os-scrollbar-vertical:active .os-scrollbar-handle {
|
|
639
|
+
width: var(--os-handle-perpendicular-size-active);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/* NONE THEME: */
|
|
643
|
+
[data-overlayscrollbars-viewport~=measuring] > .os-scrollbar,
|
|
644
|
+
.os-theme-none.os-scrollbar {
|
|
645
|
+
display: none !important;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/* DARK & LIGHT THEME: */
|
|
649
|
+
.os-theme-dark,
|
|
650
|
+
.os-theme-light {
|
|
651
|
+
box-sizing: border-box;
|
|
652
|
+
--os-size: 10px;
|
|
653
|
+
--os-padding-perpendicular: 2px;
|
|
654
|
+
--os-padding-axis: 2px;
|
|
655
|
+
--os-track-border-radius: 10px;
|
|
656
|
+
--os-handle-interactive-area-offset: 4px;
|
|
657
|
+
--os-handle-border-radius: 10px;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.os-theme-dark {
|
|
661
|
+
--os-handle-bg: rgba(0, 0, 0, 0.44);
|
|
662
|
+
--os-handle-bg-hover: rgba(0, 0, 0, 0.55);
|
|
663
|
+
--os-handle-bg-active: rgba(0, 0, 0, 0.66);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.os-theme-light {
|
|
667
|
+
--os-handle-bg: rgba(255, 255, 255, 0.44);
|
|
668
|
+
--os-handle-bg-hover: rgba(255, 255, 255, 0.55);
|
|
669
|
+
--os-handle-bg-active: rgba(255, 255, 255, 0.66);
|
|
670
|
+
}/* OverlayScrollbars global theme hook. */
|
|
671
|
+
.os-theme-founder {
|
|
672
|
+
--os-size: 6px;
|
|
673
|
+
--os-padding-axis: 2px;
|
|
674
|
+
--os-padding-perpendicular: 0px;
|
|
675
|
+
--os-track-bg: rgba(148, 163, 184, 0.22);
|
|
676
|
+
--os-track-bg-hover: rgba(148, 163, 184, 0.28);
|
|
677
|
+
--os-track-bg-active: rgba(148, 163, 184, 0.34);
|
|
678
|
+
--os-handle-bg: rgba(71, 85, 105, 0.62);
|
|
679
|
+
--os-handle-bg-hover: rgba(71, 85, 105, 0.8);
|
|
680
|
+
--os-handle-bg-active: rgba(15, 23, 42, 0.9);
|
|
681
|
+
--os-handle-border-radius: 999px;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.os-scrollbar.os-theme-founder {
|
|
685
|
+
--os-size: 6px !important;
|
|
686
|
+
--os-padding-axis: 2px !important;
|
|
687
|
+
--os-padding-perpendicular: 0px !important;
|
|
688
|
+
--os-track-bg: rgba(148, 163, 184, 0.25) !important;
|
|
689
|
+
--os-track-bg-hover: rgba(148, 163, 184, 0.3) !important;
|
|
690
|
+
--os-track-bg-active: rgba(148, 163, 184, 0.36) !important;
|
|
691
|
+
--os-handle-bg: #FFBCA6 !important;
|
|
692
|
+
--os-handle-bg-hover: #FF8C66 !important;
|
|
693
|
+
--os-handle-bg-active: #FF6633 !important;
|
|
694
|
+
--os-handle-border-radius: 999px !important;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.os-scrollbar.os-theme-founder .os-scrollbar-track {
|
|
698
|
+
background: rgba(148, 163, 184, 0.25) !important;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.os-scrollbar.os-theme-founder .os-scrollbar-handle {
|
|
702
|
+
background: #FFBCA6 !important;
|
|
703
|
+
opacity: 1 !important;
|
|
704
|
+
--os-handle-border-radius: 999px !important;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
.os-scrollbar-handle{
|
|
709
|
+
--os-handle-border-radius: 999px !important;
|
|
710
|
+
background-color: #FFBCA6;
|
|
711
|
+
opacity: 0.5;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.os-scrollbar-track {
|
|
715
|
+
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea) {
|
|
719
|
+
--lc-scrollbar-thumb: var(--chakra-colors-brand-500, #FF4E00);
|
|
720
|
+
--lc-scrollbar-thumb-hover: var(--chakra-colors-brand-600, #D63B00);
|
|
721
|
+
scrollbar-width: thin;
|
|
722
|
+
scrollbar-color: var(--lc-scrollbar-thumb) transparent;
|
|
723
|
+
scrollbar-gutter: stable;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.launchchair-scrollbar {
|
|
727
|
+
--lc-scrollbar-size: 6px;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.launchchair-scrollbar--green {
|
|
731
|
+
--lc-scrollbar-thumb: #DFFF1F;
|
|
732
|
+
--lc-scrollbar-thumb-hover: #E7FF52;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/* Explicit dimensions keep Chrome/Safari thumbs visible between scrolls.
|
|
736
|
+
Reset the standard properties so they don't override these custom styles. */
|
|
737
|
+
@supports selector(::-webkit-scrollbar) {
|
|
738
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea) {
|
|
739
|
+
scrollbar-width: auto;
|
|
740
|
+
scrollbar-color: auto;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar {
|
|
745
|
+
width: var(--lc-scrollbar-size, 8px);
|
|
746
|
+
height: var(--lc-scrollbar-size, 8px);
|
|
747
|
+
background: transparent;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-track {
|
|
751
|
+
background: transparent;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.launchchair-comparison-scroll::-webkit-scrollbar-track:vertical {
|
|
755
|
+
margin-top: calc(var(--comparison-header-height, 88px) + 8px);
|
|
756
|
+
margin-bottom: 8px;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.launchchair-comparison-scroll::-webkit-scrollbar-track:horizontal {
|
|
760
|
+
margin-left: 24px;
|
|
761
|
+
margin-right: 8px;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-thumb {
|
|
765
|
+
background: var(--lc-scrollbar-thumb);
|
|
766
|
+
border-radius: 999px;
|
|
767
|
+
border: none;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-thumb:hover {
|
|
771
|
+
background: var(--lc-scrollbar-thumb-hover);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-button {
|
|
775
|
+
display: none;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-corner {
|
|
779
|
+
background: transparent;
|
|
780
|
+
}
|
|
781
|
+
html,body{margin:0;background:transparent!important}#launchchair-widget-root{width:100%}</style></head><body><div id="launchchair-widget-root"></div><script>"use strict";(()=>{var nK=Object.create;var lh=Object.defineProperty;var aK=Object.getOwnPropertyDescriptor;var sK=Object.getOwnPropertyNames;var iK=Object.getPrototypeOf,lK=Object.prototype.hasOwnProperty;var cK=(e,t,o)=>t in e?lh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var dv=(e,t)=>()=>(e&&(t=e(e=0)),t);var _n=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),D9=(e,t)=>{for(var o in t)lh(e,o,{get:t[o],enumerable:!0})},R9=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of sK(t))!lK.call(e,n)&&n!==o&&lh(e,n,{get:()=>t[n],enumerable:!(r=aK(t,n))||r.enumerable});return e};var M=(e,t,o)=>(o=e!=null?nK(iK(e)):{},R9(t||!e||!e.__esModule?lh(o,"default",{value:e,enumerable:!0}):o,e)),uK=e=>R9(lh({},"__esModule",{value:!0}),e);var ot=(e,t,o)=>cK(e,typeof t!="symbol"?t+"":t,o);var Z9=_n(co=>{"use strict";/**
|
|
782
|
+
* @license React
|
|
783
|
+
* scheduler.production.js
|
|
784
|
+
*
|
|
785
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
786
|
+
*
|
|
787
|
+
* This source code is licensed under the MIT license found in the
|
|
788
|
+
* LICENSE file in the root directory of this source tree.
|
|
789
|
+
*/function bv(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<nb(n,t))e[r]=t,e[o]=n,o=r;else break e}}function ui(e){return e.length===0?null:e[0]}function sb(e){if(e.length===0)return null;var t=e[0],o=e.pop();if(o!==t){e[0]=o;e:for(var r=0,n=e.length,a=n>>>1;r<a;){var s=2*(r+1)-1,i=e[s],l=s+1,c=e[l];if(0>nb(i,o))l<n&&0>nb(c,i)?(e[r]=c,e[l]=o,r=l):(e[r]=i,e[s]=o,r=s);else if(l<n&&0>nb(c,o))e[r]=c,e[l]=o,r=l;else break e}}return t}function nb(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}co.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(_9=performance,co.unstable_now=function(){return _9.now()}):(pv=Date,F9=pv.now(),co.unstable_now=function(){return pv.now()-F9});var _9,pv,F9,ji=[],lc=[],mK=1,es=null,An=3,yv=!1,ch=!1,uh=!1,Sv=!1,V9=typeof setTimeout=="function"?setTimeout:null,N9=typeof clearTimeout=="function"?clearTimeout:null,H9=typeof setImmediate<"u"?setImmediate:null;function ab(e){for(var t=ui(lc);t!==null;){if(t.callback===null)sb(lc);else if(t.startTime<=e)sb(lc),t.sortIndex=t.expirationTime,bv(ji,t);else break;t=ui(lc)}}function xv(e){if(uh=!1,ab(e),!ch)if(ui(ji)!==null)ch=!0,Mf||(Mf=!0,kf());else{var t=ui(lc);t!==null&&Iv(xv,t.startTime-e)}}var Mf=!1,mh=-1,z9=5,W9=-1;function U9(){return Sv?!0:!(co.unstable_now()-W9<z9)}function hv(){if(Sv=!1,Mf){var e=co.unstable_now();W9=e;var t=!0;try{e:{ch=!1,uh&&(uh=!1,N9(mh),mh=-1),yv=!0;var o=An;try{t:{for(ab(e),es=ui(ji);es!==null&&!(es.expirationTime>e&&U9());){var r=es.callback;if(typeof r=="function"){es.callback=null,An=es.priorityLevel;var n=r(es.expirationTime<=e);if(e=co.unstable_now(),typeof n=="function"){es.callback=n,ab(e),t=!0;break t}es===ui(ji)&&sb(ji),ab(e)}else sb(ji);es=ui(ji)}if(es!==null)t=!0;else{var a=ui(lc);a!==null&&Iv(xv,a.startTime-e),t=!1}}break e}finally{es=null,An=o,yv=!1}t=void 0}}finally{t?kf():Mf=!1}}}var kf;typeof H9=="function"?kf=function(){H9(hv)}:typeof MessageChannel<"u"?(gv=new MessageChannel,O9=gv.port2,gv.port1.onmessage=hv,kf=function(){O9.postMessage(null)}):kf=function(){V9(hv,0)};var gv,O9;function Iv(e,t){mh=V9(function(){e(co.unstable_now())},t)}co.unstable_IdlePriority=5;co.unstable_ImmediatePriority=1;co.unstable_LowPriority=4;co.unstable_NormalPriority=3;co.unstable_Profiling=null;co.unstable_UserBlockingPriority=2;co.unstable_cancelCallback=function(e){e.callback=null};co.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z9=0<e?Math.floor(1e3/e):5};co.unstable_getCurrentPriorityLevel=function(){return An};co.unstable_next=function(e){switch(An){case 1:case 2:case 3:var t=3;break;default:t=An}var o=An;An=t;try{return e()}finally{An=o}};co.unstable_requestPaint=function(){Sv=!0};co.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=An;An=e;try{return t()}finally{An=o}};co.unstable_scheduleCallback=function(e,t,o){var r=co.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:mK++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,bv(lc,e),ui(ji)===null&&e===ui(lc)&&(uh?(N9(mh),mh=-1):uh=!0,Iv(xv,o-r))):(e.sortIndex=n,bv(ji,e),ch||yv||(ch=!0,Mf||(Mf=!0,kf()))),e};co.unstable_shouldYield=U9;co.unstable_wrapCallback=function(e){var t=An;return function(){var o=An;An=t;try{return e.apply(this,arguments)}finally{An=o}}}});var G9=_n((wbe,j9)=>{"use strict";j9.exports=Z9()});var r7=_n($e=>{"use strict";/**
|
|
790
|
+
* @license React
|
|
791
|
+
* react.production.js
|
|
792
|
+
*
|
|
793
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
794
|
+
*
|
|
795
|
+
* This source code is licensed under the MIT license found in the
|
|
796
|
+
* LICENSE file in the root directory of this source tree.
|
|
797
|
+
*/var wv=Symbol.for("react.transitional.element"),fK=Symbol.for("react.portal"),dK=Symbol.for("react.fragment"),pK=Symbol.for("react.strict_mode"),hK=Symbol.for("react.profiler"),gK=Symbol.for("react.consumer"),bK=Symbol.for("react.context"),yK=Symbol.for("react.forward_ref"),SK=Symbol.for("react.suspense"),xK=Symbol.for("react.memo"),K9=Symbol.for("react.lazy"),IK=Symbol.for("react.activity"),$9=Symbol.iterator;function vK(e){return e===null||typeof e!="object"?null:(e=$9&&e[$9]||e["@@iterator"],typeof e=="function"?e:null)}var Q9={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J9=Object.assign,e7={};function Pf(e,t,o){this.props=e,this.context=t,this.refs=e7,this.updater=o||Q9}Pf.prototype.isReactComponent={};Pf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Pf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function t7(){}t7.prototype=Pf.prototype;function Tv(e,t,o){this.props=e,this.context=t,this.refs=e7,this.updater=o||Q9}var Av=Tv.prototype=new t7;Av.constructor=Tv;J9(Av,Pf.prototype);Av.isPureReactComponent=!0;var q9=Array.isArray;function Cv(){}var eo={H:null,A:null,T:null,S:null},o7=Object.prototype.hasOwnProperty;function kv(e,t,o){var r=o.ref;return{$$typeof:wv,type:e,key:t,ref:r!==void 0?r:null,props:o}}function CK(e,t){return kv(e.type,t,e.props)}function Mv(e){return typeof e=="object"&&e!==null&&e.$$typeof===wv}function wK(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var X9=/\/+/g;function vv(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wK(""+e.key):t.toString(36)}function TK(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Cv,Cv):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Lf(e,t,o,r,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(a){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case wv:case fK:s=!0;break;case K9:return s=e._init,Lf(s(e._payload),t,o,r,n)}}if(s)return n=n(e),s=r===""?"."+vv(e,0):r,q9(n)?(o="",s!=null&&(o=s.replace(X9,"$&/")+"/"),Lf(n,t,o,"",function(c){return c})):n!=null&&(Mv(n)&&(n=CK(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(X9,"$&/")+"/")+s)),t.push(n)),1;s=0;var i=r===""?".":r+":";if(q9(e))for(var l=0;l<e.length;l++)r=e[l],a=i+vv(r,l),s+=Lf(r,t,o,a,n);else if(l=vK(e),typeof l=="function")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=i+vv(r,l++),s+=Lf(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return Lf(TK(e),t,o,r,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function ib(e,t,o){if(e==null)return e;var r=[],n=0;return Lf(e,r,"","",function(a){return t.call(o,a,n++)}),r}function AK(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Y9=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},kK={map:ib,forEach:function(e,t,o){ib(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return ib(e,function(){t++}),t},toArray:function(e){return ib(e,function(t){return t})||[]},only:function(e){if(!Mv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};$e.Activity=IK;$e.Children=kK;$e.Component=Pf;$e.Fragment=dK;$e.Profiler=hK;$e.PureComponent=Tv;$e.StrictMode=pK;$e.Suspense=SK;$e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=eo;$e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return eo.H.useMemoCache(e)}};$e.cache=function(e){return function(){return e.apply(null,arguments)}};$e.cacheSignal=function(){return null};$e.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=J9({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!o7.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=o;else if(1<a){for(var s=Array(a),i=0;i<a;i++)s[i]=arguments[i+2];r.children=s}return kv(e.type,n,r)};$e.createContext=function(e){return e={$$typeof:bK,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:gK,_context:e},e};$e.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)o7.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(n[r]=t[r]);var s=arguments.length-2;if(s===1)n.children=o;else if(1<s){for(var i=Array(s),l=0;l<s;l++)i[l]=arguments[l+2];n.children=i}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)n[r]===void 0&&(n[r]=s[r]);return kv(e,a,n)};$e.createRef=function(){return{current:null}};$e.forwardRef=function(e){return{$$typeof:yK,render:e}};$e.isValidElement=Mv;$e.lazy=function(e){return{$$typeof:K9,_payload:{_status:-1,_result:e},_init:AK}};$e.memo=function(e,t){return{$$typeof:xK,type:e,compare:t===void 0?null:t}};$e.startTransition=function(e){var t=eo.T,o={};eo.T=o;try{var r=e(),n=eo.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Cv,Y9)}catch(a){Y9(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),eo.T=t}};$e.unstable_useCacheRefresh=function(){return eo.H.useCacheRefresh()};$e.use=function(e){return eo.H.use(e)};$e.useActionState=function(e,t,o){return eo.H.useActionState(e,t,o)};$e.useCallback=function(e,t){return eo.H.useCallback(e,t)};$e.useContext=function(e){return eo.H.useContext(e)};$e.useDebugValue=function(){};$e.useDeferredValue=function(e,t){return eo.H.useDeferredValue(e,t)};$e.useEffect=function(e,t){return eo.H.useEffect(e,t)};$e.useEffectEvent=function(e){return eo.H.useEffectEvent(e)};$e.useId=function(){return eo.H.useId()};$e.useImperativeHandle=function(e,t,o){return eo.H.useImperativeHandle(e,t,o)};$e.useInsertionEffect=function(e,t){return eo.H.useInsertionEffect(e,t)};$e.useLayoutEffect=function(e,t){return eo.H.useLayoutEffect(e,t)};$e.useMemo=function(e,t){return eo.H.useMemo(e,t)};$e.useOptimistic=function(e,t){return eo.H.useOptimistic(e,t)};$e.useReducer=function(e,t,o){return eo.H.useReducer(e,t,o)};$e.useRef=function(e){return eo.H.useRef(e)};$e.useState=function(e){return eo.H.useState(e)};$e.useSyncExternalStore=function(e,t,o){return eo.H.useSyncExternalStore(e,t,o)};$e.useTransition=function(){return eo.H.useTransition()};$e.version="19.2.8"});var F=_n((Abe,n7)=>{"use strict";n7.exports=r7()});var s7=_n(Hn=>{"use strict";/**
|
|
798
|
+
* @license React
|
|
799
|
+
* react-dom.production.js
|
|
800
|
+
*
|
|
801
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
802
|
+
*
|
|
803
|
+
* This source code is licensed under the MIT license found in the
|
|
804
|
+
* LICENSE file in the root directory of this source tree.
|
|
805
|
+
*/var MK=F();function a7(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function cc(){}var Fn={d:{f:cc,r:function(){throw Error(a7(522))},D:cc,C:cc,L:cc,m:cc,X:cc,S:cc,M:cc},p:0,findDOMNode:null},LK=Symbol.for("react.portal");function PK(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:LK,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var fh=MK.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function lb(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Hn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Fn;Hn.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(a7(299));return PK(e,t,null,o)};Hn.flushSync=function(e){var t=fh.T,o=Fn.p;try{if(fh.T=null,Fn.p=2,e)return e()}finally{fh.T=t,Fn.p=o,Fn.d.f()}};Hn.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Fn.d.C(e,t))};Hn.prefetchDNS=function(e){typeof e=="string"&&Fn.d.D(e)};Hn.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=lb(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Fn.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Fn.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Hn.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=lb(t.as,t.crossOrigin);Fn.d.M(e,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Fn.d.M(e)};Hn.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=lb(o,t.crossOrigin);Fn.d.L(e,o,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Hn.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=lb(t.as,t.crossOrigin);Fn.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Fn.d.m(e)};Hn.requestFormReset=function(e){Fn.d.r(e)};Hn.unstable_batchedUpdates=function(e,t){return e(t)};Hn.useFormState=function(e,t,o){return fh.H.useFormState(e,t,o)};Hn.useFormStatus=function(){return fh.H.useHostTransitionStatus()};Hn.version="19.2.8"});var Lv=_n((Mbe,l7)=>{"use strict";function i7(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i7)}catch(e){console.error(e)}}i7(),l7.exports=s7()});var xR=_n(Dy=>{"use strict";/**
|
|
806
|
+
* @license React
|
|
807
|
+
* react-dom-client.production.js
|
|
808
|
+
*
|
|
809
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
810
|
+
*
|
|
811
|
+
* This source code is licensed under the MIT license found in the
|
|
812
|
+
* LICENSE file in the root directory of this source tree.
|
|
813
|
+
*/var Ur=G9(),RE=F(),EK=Lv();function te(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function _E(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Qh(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function FE(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function HE(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c7(e){if(Qh(e)!==e)throw Error(te(188))}function BK(e){var t=e.alternate;if(!t){if(t=Qh(e),t===null)throw Error(te(188));return t!==e?null:e}for(var o=e,r=t;;){var n=o.return;if(n===null)break;var a=n.alternate;if(a===null){if(r=n.return,r!==null){o=r;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===o)return c7(n),e;if(a===r)return c7(n),t;a=a.sibling}throw Error(te(188))}if(o.return!==r.return)o=n,r=a;else{for(var s=!1,i=n.child;i;){if(i===o){s=!0,o=n,r=a;break}if(i===r){s=!0,r=n,o=a;break}i=i.sibling}if(!s){for(i=a.child;i;){if(i===o){s=!0,o=a,r=n;break}if(i===r){s=!0,r=a,o=n;break}i=i.sibling}if(!s)throw Error(te(189))}}if(o.alternate!==r)throw Error(te(190))}if(o.tag!==3)throw Error(te(188));return o.stateNode.current===o?e:t}function OE(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=OE(e),t!==null)return t;e=e.sibling}return null}var ro=Object.assign,DK=Symbol.for("react.element"),cb=Symbol.for("react.transitional.element"),xh=Symbol.for("react.portal"),Ff=Symbol.for("react.fragment"),VE=Symbol.for("react.strict_mode"),cC=Symbol.for("react.profiler"),NE=Symbol.for("react.consumer"),Ji=Symbol.for("react.context"),nw=Symbol.for("react.forward_ref"),uC=Symbol.for("react.suspense"),mC=Symbol.for("react.suspense_list"),aw=Symbol.for("react.memo"),uc=Symbol.for("react.lazy");Symbol.for("react.scope");var fC=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var RK=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var u7=Symbol.iterator;function dh(e){return e===null||typeof e!="object"?null:(e=u7&&e[u7]||e["@@iterator"],typeof e=="function"?e:null)}var _K=Symbol.for("react.client.reference");function dC(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===_K?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ff:return"Fragment";case cC:return"Profiler";case VE:return"StrictMode";case uC:return"Suspense";case mC:return"SuspenseList";case fC:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case xh:return"Portal";case Ji:return e.displayName||"Context";case NE:return(e._context.displayName||"Context")+".Consumer";case nw:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case aw:return t=e.displayName||null,t!==null?t:dC(e.type)||"Memo";case uc:t=e._payload,e=e._init;try{return dC(e(t))}catch{}}return null}var Ih=Array.isArray,Oe=RE.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Pt=EK.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,zu={pending:!1,data:null,method:null,action:null},pC=[],Hf=-1;function hi(e){return{current:e}}function on(e){0>Hf||(e.current=pC[Hf],pC[Hf]=null,Hf--)}function Xt(e,t){Hf++,pC[Hf]=e.current,e.current=t}var pi=hi(null),Oh=hi(null),Ic=hi(null),Wb=hi(null);function Ub(e,t){switch(Xt(Ic,t),Xt(Oh,e),Xt(pi,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?bE(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=bE(t),e=sR(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}on(pi),Xt(pi,e)}function td(){on(pi),on(Oh),on(Ic)}function hC(e){e.memoizedState!==null&&Xt(Wb,e);var t=pi.current,o=sR(t,e.type);t!==o&&(Xt(Oh,e),Xt(pi,o))}function Zb(e){Oh.current===e&&(on(pi),on(Oh)),Wb.current===e&&(on(Wb),Xh._currentValue=zu)}var Pv,m7;function Hu(e){if(Pv===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Pv=t&&t[1]||"",m7=-1<o.stack.indexOf(`
|
|
814
|
+
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
815
|
+
`+Pv+e+m7}var Ev=!1;function Bv(e,t){if(!e||Ev)return"";Ev=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(d){var f=d}Reflect.construct(e,[],m)}else{try{m.call()}catch(d){f=d}e.call(m.prototype)}}else{try{throw Error()}catch(d){f=d}(m=e())&&typeof m.catch=="function"&&m.catch(function(){})}}catch(d){if(d&&f&&typeof d.stack=="string")return[d.stack,f.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),s=a[0],i=a[1];if(s&&i){var l=s.split(`
|
|
816
|
+
`),c=i.split(`
|
|
817
|
+
`);for(n=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;n<c.length&&!c[n].includes("DetermineComponentFrameRoot");)n++;if(r===l.length||n===c.length)for(r=l.length-1,n=c.length-1;1<=r&&0<=n&&l[r]!==c[n];)n--;for(;1<=r&&0<=n;r--,n--)if(l[r]!==c[n]){if(r!==1||n!==1)do if(r--,n--,0>n||l[r]!==c[n]){var u=`
|
|
818
|
+
`+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=r&&0<=n);break}}}finally{Ev=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Hu(o):""}function FK(e,t){switch(e.tag){case 26:case 27:case 5:return Hu(e.type);case 16:return Hu("Lazy");case 13:return e.child!==t&&t!==null?Hu("Suspense Fallback"):Hu("Suspense");case 19:return Hu("SuspenseList");case 0:case 15:return Bv(e.type,!1);case 11:return Bv(e.type.render,!1);case 1:return Bv(e.type,!0);case 31:return Hu("Activity");default:return""}}function f7(e){try{var t="",o=null;do t+=FK(e,o),o=e,e=e.return;while(e);return t}catch(r){return`
|
|
819
|
+
Error generating stack: `+r.message+`
|
|
820
|
+
`+r.stack}}var gC=Object.prototype.hasOwnProperty,sw=Ur.unstable_scheduleCallback,Dv=Ur.unstable_cancelCallback,HK=Ur.unstable_shouldYield,OK=Ur.unstable_requestPaint,La=Ur.unstable_now,VK=Ur.unstable_getCurrentPriorityLevel,zE=Ur.unstable_ImmediatePriority,WE=Ur.unstable_UserBlockingPriority,jb=Ur.unstable_NormalPriority,NK=Ur.unstable_LowPriority,UE=Ur.unstable_IdlePriority,zK=Ur.log,WK=Ur.unstable_setDisableYieldValue,Jh=null,Pa=null;function gc(e){if(typeof zK=="function"&&WK(e),Pa&&typeof Pa.setStrictMode=="function")try{Pa.setStrictMode(Jh,e)}catch{}}var Ea=Math.clz32?Math.clz32:jK,UK=Math.log,ZK=Math.LN2;function jK(e){return e>>>=0,e===0?32:31-(UK(e)/ZK|0)|0}var ub=256,mb=262144,fb=4194304;function Ou(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function by(e,t,o){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var i=r&134217727;return i!==0?(r=i&~a,r!==0?n=Ou(r):(s&=i,s!==0?n=Ou(s):o||(o=i&~e,o!==0&&(n=Ou(o))))):(i=r&~a,i!==0?n=Ou(i):s!==0?n=Ou(s):o||(o=r&~e,o!==0&&(n=Ou(o)))),n===0?0:t!==0&&t!==n&&(t&a)===0&&(a=n&-n,o=t&-t,a>=o||a===32&&(o&4194048)!==0)?t:n}function eg(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function GK(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ZE(){var e=fb;return fb<<=1,(fb&62914560)===0&&(fb=4194304),e}function Rv(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function tg(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function $K(e,t,o,r,n,a){var s=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var i=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(o=s&~o;0<o;){var u=31-Ea(o),m=1<<u;i[u]=0,l[u]=-1;var f=c[u];if(f!==null)for(c[u]=null,u=0;u<f.length;u++){var d=f[u];d!==null&&(d.lane&=-536870913)}o&=~m}r!==0&&jE(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(s&~t))}function jE(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ea(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function GE(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-Ea(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function $E(e,t){var o=t&-t;return o=(o&42)!==0?1:iw(o),(o&(e.suspendedLanes|t))!==0?0:o}function iw(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function lw(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function qE(){var e=Pt.p;return e!==0?e:(e=window.event,e===void 0?32:bR(e.type))}function d7(e,t){var o=Pt.p;try{return Pt.p=e,t()}finally{Pt.p=o}}var Rc=Math.random().toString(36).slice(2),dn="__reactFiber$"+Rc,ra="__reactProps$"+Rc,fd="__reactContainer$"+Rc,bC="__reactEvents$"+Rc,qK="__reactListeners$"+Rc,XK="__reactHandles$"+Rc,p7="__reactResources$"+Rc,og="__reactMarker$"+Rc;function cw(e){delete e[dn],delete e[ra],delete e[bC],delete e[qK],delete e[XK]}function Of(e){var t=e[dn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[fd]||o[dn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=vE(e);e!==null;){if(o=e[dn])return o;e=vE(e)}return t}e=o,o=e.parentNode}return null}function dd(e){if(e=e[dn]||e[fd]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function vh(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(te(33))}function qf(e){var t=e[p7];return t||(t=e[p7]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tn(e){e[og]=!0}var XE=new Set,YE={};function Ku(e,t){od(e,t),od(e+"Capture",t)}function od(e,t){for(YE[e]=t,e=0;e<t.length;e++)XE.add(t[e])}var YK=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),h7={},g7={};function KK(e){return gC.call(g7,e)?!0:gC.call(h7,e)?!1:YK.test(e)?g7[e]=!0:(h7[e]=!0,!1)}function kb(e,t,o){if(KK(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+o)}}function db(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+o)}}function Gi(e,t,o,r){if(r===null)e.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,""+r)}}function os(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function KE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function QK(e,t,o){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(s){o=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(s){o=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yC(e){if(!e._valueTracker){var t=KE(e)?"checked":"value";e._valueTracker=QK(e,t,""+e[t])}}function QE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=KE(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function Gb(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var JK=/[\n"\\]/g;function as(e){return e.replace(JK,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function SC(e,t,o,r,n,a,s,i){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+os(t)):e.value!==""+os(t)&&(e.value=""+os(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?xC(e,s,os(t)):o!=null?xC(e,s,os(o)):r!=null&&e.removeAttribute("value"),n==null&&a!=null&&(e.defaultChecked=!!a),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.name=""+os(i):e.removeAttribute("name")}function JE(e,t,o,r,n,a,s,i){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.type=a),t!=null||o!=null){if(!(a!=="submit"&&a!=="reset"||t!=null)){yC(e);return}o=o!=null?""+os(o):"",t=t!=null?""+os(t):o,i||t===e.value||(e.value=t),e.defaultValue=t}r=r??n,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),yC(e)}function xC(e,t,o){t==="number"&&Gb(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Xf(e,t,o,r){if(e=e.options,t){t={};for(var n=0;n<o.length;n++)t["$"+o[n]]=!0;for(o=0;o<e.length;o++)n=t.hasOwnProperty("$"+e[o].value),e[o].selected!==n&&(e[o].selected=n),n&&r&&(e[o].defaultSelected=!0)}else{for(o=""+os(o),t=null,n=0;n<e.length;n++){if(e[n].value===o){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function eB(e,t,o){if(t!=null&&(t=""+os(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+os(o):""}function tB(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(te(92));if(Ih(r)){if(1<r.length)throw Error(te(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=os(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),yC(e)}function rd(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var eQ=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function b7(e,t,o){var r=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,o):typeof o!="number"||o===0||eQ.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function oB(e,t,o){if(t!=null&&typeof t!="object")throw Error(te(62));if(e=e.style,o!=null){for(var r in o)!o.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var n in t)r=t[n],t.hasOwnProperty(n)&&o[n]!==r&&b7(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&b7(e,a,t[a])}function uw(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tQ=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),oQ=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Mb(e){return oQ.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function el(){}var IC=null;function mw(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vf=null,Yf=null;function y7(e){var t=dd(e);if(t&&(e=t.stateNode)){var o=e[ra]||null;e:switch(e=t.stateNode,t.type){case"input":if(SC(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+as(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[ra]||null;if(!n)throw Error(te(90));SC(r,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<o.length;t++)r=o[t],r.form===e.form&&QE(r)}break e;case"textarea":eB(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Xf(e,!!o.multiple,t,!1)}}}var _v=!1;function rB(e,t,o){if(_v)return e(t,o);_v=!0;try{var r=e(t);return r}finally{if(_v=!1,(Vf!==null||Yf!==null)&&(Ly(),Vf&&(t=Vf,e=Yf,Yf=Vf=null,y7(t),e)))for(t=0;t<e.length;t++)y7(e[t])}}function Vh(e,t){var o=e.stateNode;if(o===null)return null;var r=o[ra]||null;if(r===null)return null;o=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(te(231,t,typeof o));return o}var al=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vC=!1;if(al)try{Ef={},Object.defineProperty(Ef,"passive",{get:function(){vC=!0}}),window.addEventListener("test",Ef,Ef),window.removeEventListener("test",Ef,Ef)}catch{vC=!1}var Ef,bc=null,fw=null,Lb=null;function nB(){if(Lb)return Lb;var e,t=fw,o=t.length,r,n="value"in bc?bc.value:bc.textContent,a=n.length;for(e=0;e<o&&t[e]===n[e];e++);var s=o-e;for(r=1;r<=s&&t[o-r]===n[a-r];r++);return Lb=n.slice(e,1<r?1-r:void 0)}function Pb(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function pb(){return!0}function S7(){return!1}function na(e){function t(o,r,n,a,s){this._reactName=o,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(o=e[i],this[i]=o?o(a):a[i]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?pb:S7,this.isPropagationStopped=S7,this}return ro(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=pb)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=pb)},persist:function(){},isPersistent:pb}),t}var Qu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yy=na(Qu),rg=ro({},Qu,{view:0,detail:0}),rQ=na(rg),Fv,Hv,ph,Sy=ro({},rg,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dw,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ph&&(ph&&e.type==="mousemove"?(Fv=e.screenX-ph.screenX,Hv=e.screenY-ph.screenY):Hv=Fv=0,ph=e),Fv)},movementY:function(e){return"movementY"in e?e.movementY:Hv}}),x7=na(Sy),nQ=ro({},Sy,{dataTransfer:0}),aQ=na(nQ),sQ=ro({},rg,{relatedTarget:0}),Ov=na(sQ),iQ=ro({},Qu,{animationName:0,elapsedTime:0,pseudoElement:0}),lQ=na(iQ),cQ=ro({},Qu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),uQ=na(cQ),mQ=ro({},Qu,{data:0}),I7=na(mQ),fQ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dQ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",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",224:"Meta"},pQ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hQ(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=pQ[e])?!!t[e]:!1}function dw(){return hQ}var gQ=ro({},rg,{key:function(e){if(e.key){var t=fQ[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Pb(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dQ[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dw,charCode:function(e){return e.type==="keypress"?Pb(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pb(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),bQ=na(gQ),yQ=ro({},Sy,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),v7=na(yQ),SQ=ro({},rg,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dw}),xQ=na(SQ),IQ=ro({},Qu,{propertyName:0,elapsedTime:0,pseudoElement:0}),vQ=na(IQ),CQ=ro({},Sy,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),wQ=na(CQ),TQ=ro({},Qu,{newState:0,oldState:0}),AQ=na(TQ),kQ=[9,13,27,32],pw=al&&"CompositionEvent"in window,Th=null;al&&"documentMode"in document&&(Th=document.documentMode);var MQ=al&&"TextEvent"in window&&!Th,aB=al&&(!pw||Th&&8<Th&&11>=Th),C7=" ",w7=!1;function sB(e,t){switch(e){case"keyup":return kQ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function iB(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nf=!1;function LQ(e,t){switch(e){case"compositionend":return iB(t);case"keypress":return t.which!==32?null:(w7=!0,C7);case"textInput":return e=t.data,e===C7&&w7?null:e;default:return null}}function PQ(e,t){if(Nf)return e==="compositionend"||!pw&&sB(e,t)?(e=nB(),Lb=fw=bc=null,Nf=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return aB&&t.locale!=="ko"?null:t.data;default:return null}}var EQ={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function T7(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!EQ[e.type]:t==="textarea"}function lB(e,t,o,r){Vf?Yf?Yf.push(r):Yf=[r]:Vf=r,t=uy(t,"onChange"),0<t.length&&(o=new yy("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var Ah=null,Nh=null;function BQ(e){rR(e,0)}function xy(e){var t=vh(e);if(QE(t))return e}function A7(e,t){if(e==="change")return t}var cB=!1;al&&(al?(gb="oninput"in document,gb||(Vv=document.createElement("div"),Vv.setAttribute("oninput","return;"),gb=typeof Vv.oninput=="function"),hb=gb):hb=!1,cB=hb&&(!document.documentMode||9<document.documentMode));var hb,gb,Vv;function k7(){Ah&&(Ah.detachEvent("onpropertychange",uB),Nh=Ah=null)}function uB(e){if(e.propertyName==="value"&&xy(Nh)){var t=[];lB(t,Nh,e,mw(e)),rB(BQ,t)}}function DQ(e,t,o){e==="focusin"?(k7(),Ah=t,Nh=o,Ah.attachEvent("onpropertychange",uB)):e==="focusout"&&k7()}function RQ(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xy(Nh)}function _Q(e,t){if(e==="click")return xy(t)}function FQ(e,t){if(e==="input"||e==="change")return xy(t)}function HQ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Da=typeof Object.is=="function"?Object.is:HQ;function zh(e,t){if(Da(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var n=o[r];if(!gC.call(t,n)||!Da(e[n],t[n]))return!1}return!0}function M7(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function L7(e,t){var o=M7(e);e=0;for(var r;o;){if(o.nodeType===3){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=M7(o)}}function mB(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mB(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fB(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Gb(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Gb(e.document)}return t}function hw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var OQ=al&&"documentMode"in document&&11>=document.documentMode,zf=null,CC=null,kh=null,wC=!1;function P7(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;wC||zf==null||zf!==Gb(r)||(r=zf,"selectionStart"in r&&hw(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),kh&&zh(kh,r)||(kh=r,r=uy(CC,"onSelect"),0<r.length&&(t=new yy("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=zf)))}function Fu(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Wf={animationend:Fu("Animation","AnimationEnd"),animationiteration:Fu("Animation","AnimationIteration"),animationstart:Fu("Animation","AnimationStart"),transitionrun:Fu("Transition","TransitionRun"),transitionstart:Fu("Transition","TransitionStart"),transitioncancel:Fu("Transition","TransitionCancel"),transitionend:Fu("Transition","TransitionEnd")},Nv={},dB={};al&&(dB=document.createElement("div").style,"AnimationEvent"in window||(delete Wf.animationend.animation,delete Wf.animationiteration.animation,delete Wf.animationstart.animation),"TransitionEvent"in window||delete Wf.transitionend.transition);function Ju(e){if(Nv[e])return Nv[e];if(!Wf[e])return e;var t=Wf[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in dB)return Nv[e]=t[o];return e}var pB=Ju("animationend"),hB=Ju("animationiteration"),gB=Ju("animationstart"),VQ=Ju("transitionrun"),NQ=Ju("transitionstart"),zQ=Ju("transitioncancel"),bB=Ju("transitionend"),yB=new Map,TC="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");TC.push("scrollEnd");function Os(e,t){yB.set(e,t),Ku(t,[e])}var $b=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ts=[],Uf=0,gw=0;function Iy(){for(var e=Uf,t=gw=Uf=0;t<e;){var o=ts[t];ts[t++]=null;var r=ts[t];ts[t++]=null;var n=ts[t];ts[t++]=null;var a=ts[t];if(ts[t++]=null,r!==null&&n!==null){var s=r.pending;s===null?n.next=n:(n.next=s.next,s.next=n),r.pending=n}a!==0&&SB(o,n,a)}}function vy(e,t,o,r){ts[Uf++]=e,ts[Uf++]=t,ts[Uf++]=o,ts[Uf++]=r,gw|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function bw(e,t,o,r){return vy(e,t,o,r),qb(e)}function em(e,t){return vy(e,null,null,t),qb(e)}function SB(e,t,o){e.lanes|=o;var r=e.alternate;r!==null&&(r.lanes|=o);for(var n=!1,a=e.return;a!==null;)a.childLanes|=o,r=a.alternate,r!==null&&(r.childLanes|=o),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(n=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,n&&t!==null&&(n=31-Ea(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function qb(e){if(50<Fh)throw Fh=0,GC=null,Error(te(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zf={};function WQ(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ka(e,t,o,r){return new WQ(e,t,o,r)}function yw(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ol(e,t){var o=e.alternate;return o===null?(o=ka(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function xB(e,t){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Eb(e,t,o,r,n,a){var s=0;if(r=e,typeof e=="function")yw(e)&&(s=1);else if(typeof e=="string")s=jJ(e,o,pi.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case fC:return e=ka(31,o,t,n),e.elementType=fC,e.lanes=a,e;case Ff:return Wu(o.children,n,a,t);case VE:s=8,n|=24;break;case cC:return e=ka(12,o,t,n|2),e.elementType=cC,e.lanes=a,e;case uC:return e=ka(13,o,t,n),e.elementType=uC,e.lanes=a,e;case mC:return e=ka(19,o,t,n),e.elementType=mC,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ji:s=10;break e;case NE:s=9;break e;case nw:s=11;break e;case aw:s=14;break e;case uc:s=16,r=null;break e}s=29,o=Error(te(130,e===null?"null":typeof e,"")),r=null}return t=ka(s,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function Wu(e,t,o,r){return e=ka(7,e,r,t),e.lanes=o,e}function zv(e,t,o){return e=ka(6,e,null,t),e.lanes=o,e}function IB(e){var t=ka(18,null,null,0);return t.stateNode=e,t}function Wv(e,t,o){return t=ka(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var E7=new WeakMap;function ss(e,t){if(typeof e=="object"&&e!==null){var o=E7.get(e);return o!==void 0?o:(t={value:e,source:t,stack:f7(t)},E7.set(e,t),t)}return{value:e,source:t,stack:f7(t)}}var jf=[],Gf=0,Xb=null,Wh=0,rs=[],ns=0,Pc=null,mi=1,fi="";function Ki(e,t){jf[Gf++]=Wh,jf[Gf++]=Xb,Xb=e,Wh=t}function vB(e,t,o){rs[ns++]=mi,rs[ns++]=fi,rs[ns++]=Pc,Pc=e;var r=mi;e=fi;var n=32-Ea(r)-1;r&=~(1<<n),o+=1;var a=32-Ea(t)+n;if(30<a){var s=n-n%5;a=(r&(1<<s)-1).toString(32),r>>=s,n-=s,mi=1<<32-Ea(t)+n|o<<n|r,fi=a+e}else mi=1<<a|o<<n|r,fi=e}function Sw(e){e.return!==null&&(Ki(e,1),vB(e,1,0))}function xw(e){for(;e===Xb;)Xb=jf[--Gf],jf[Gf]=null,Wh=jf[--Gf],jf[Gf]=null;for(;e===Pc;)Pc=rs[--ns],rs[ns]=null,fi=rs[--ns],rs[ns]=null,mi=rs[--ns],rs[ns]=null}function CB(e,t){rs[ns++]=mi,rs[ns++]=fi,rs[ns++]=Pc,mi=t.id,fi=t.overflow,Pc=e}var pn=null,oo=null,yt=!1,vc=null,is=!1,AC=Error(te(519));function Ec(e){var t=Error(te(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Uh(ss(t,e)),AC}function B7(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[dn]=e,t[ra]=r,o){case"dialog":lt("cancel",t),lt("close",t);break;case"iframe":case"object":case"embed":lt("load",t);break;case"video":case"audio":for(o=0;o<$h.length;o++)lt($h[o],t);break;case"source":lt("error",t);break;case"img":case"image":case"link":lt("error",t),lt("load",t);break;case"details":lt("toggle",t);break;case"input":lt("invalid",t),JE(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":lt("invalid",t);break;case"textarea":lt("invalid",t),tB(t,r.value,r.defaultValue,r.children)}o=r.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||r.suppressHydrationWarning===!0||aR(t.textContent,o)?(r.popover!=null&&(lt("beforetoggle",t),lt("toggle",t)),r.onScroll!=null&<("scroll",t),r.onScrollEnd!=null&<("scrollend",t),r.onClick!=null&&(t.onclick=el),t=!0):t=!1,t||Ec(e,!0)}function D7(e){for(pn=e.return;pn;)switch(pn.tag){case 5:case 31:case 13:is=!1;return;case 27:case 3:is=!0;return;default:pn=pn.return}}function Bf(e){if(e!==pn)return!1;if(!yt)return D7(e),yt=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||KC(e.type,e.memoizedProps)),o=!o),o&&oo&&Ec(e),D7(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(te(317));oo=IE(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(te(317));oo=IE(e)}else t===27?(t=oo,_c(e.type)?(e=tw,tw=null,oo=e):oo=t):oo=pn?cs(e.stateNode.nextSibling):null;return!0}function Gu(){oo=pn=null,yt=!1}function Uv(){var e=vc;return e!==null&&(ta===null?ta=e:ta.push.apply(ta,e),vc=null),e}function Uh(e){vc===null?vc=[e]:vc.push(e)}var kC=hi(null),tm=null,tl=null;function fc(e,t,o){Xt(kC,t._currentValue),t._currentValue=o}function rl(e){e._currentValue=kC.current,on(kC)}function MC(e,t,o){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===o)break;e=e.return}}function LC(e,t,o,r){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var a=n.dependencies;if(a!==null){var s=n.child;a=a.firstContext;e:for(;a!==null;){var i=a;a=n;for(var l=0;l<t.length;l++)if(i.context===t[l]){a.lanes|=o,i=a.alternate,i!==null&&(i.lanes|=o),MC(a.return,o,e),r||(s=null);break e}a=i.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(te(341));s.lanes|=o,a=s.alternate,a!==null&&(a.lanes|=o),MC(s,o,e),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===e){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function pd(e,t,o,r){e=null;for(var n=t,a=!1;n!==null;){if(!a){if((n.flags&524288)!==0)a=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var s=n.alternate;if(s===null)throw Error(te(387));if(s=s.memoizedProps,s!==null){var i=n.type;Da(n.pendingProps.value,s.value)||(e!==null?e.push(i):e=[i])}}else if(n===Wb.current){if(s=n.alternate,s===null)throw Error(te(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Xh):e=[Xh])}n=n.return}e!==null&&LC(t,e,o,r),t.flags|=262144}function Yb(e){for(e=e.firstContext;e!==null;){if(!Da(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $u(e){tm=e,tl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function hn(e){return wB(tm,e)}function bb(e,t){return tm===null&&$u(e),wB(e,t)}function wB(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},tl===null){if(e===null)throw Error(te(308));tl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else tl=tl.next=t;return o}var UQ=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},ZQ=Ur.unstable_scheduleCallback,jQ=Ur.unstable_NormalPriority,Pr={$$typeof:Ji,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Iw(){return{controller:new UQ,data:new Map,refCount:0}}function ng(e){e.refCount--,e.refCount===0&&ZQ(jQ,function(){e.controller.abort()})}var Mh=null,PC=0,nd=0,Kf=null;function GQ(e,t){if(Mh===null){var o=Mh=[];PC=0,nd=Gw(),Kf={status:"pending",value:void 0,then:function(r){o.push(r)}}}return PC++,t.then(R7,R7),t}function R7(){if(--PC===0&&Mh!==null){Kf!==null&&(Kf.status="fulfilled");var e=Mh;Mh=null,nd=0,Kf=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function $Q(e,t){var o=[],r={status:"pending",value:null,reason:null,then:function(n){o.push(n)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var n=0;n<o.length;n++)(0,o[n])(t)},function(n){for(r.status="rejected",r.reason=n,n=0;n<o.length;n++)(0,o[n])(void 0)}),r}var _7=Oe.S;Oe.S=function(e,t){OD=La(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&GQ(e,t),_7!==null&&_7(e,t)};var Uu=hi(null);function vw(){var e=Uu.current;return e!==null?e:jt.pooledCache}function Bb(e,t){t===null?Xt(Uu,Uu.current):Xt(Uu,t.pool)}function TB(){var e=vw();return e===null?null:{parent:Pr._currentValue,pool:e}}var hd=Error(te(460)),Cw=Error(te(474)),Cy=Error(te(542)),Kb={then:function(){}};function F7(e){return e=e.status,e==="fulfilled"||e==="rejected"}function AB(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(el,el),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,O7(e),e;default:if(typeof t.status=="string")t.then(el,el);else{if(e=jt,e!==null&&100<e.shellSuspendCounter)throw Error(te(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=r}},function(r){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,O7(e),e}throw Zu=t,hd}}function Vu(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Zu=o,hd):o}}var Zu=null;function H7(){if(Zu===null)throw Error(te(459));var e=Zu;return Zu=null,e}function O7(e){if(e===hd||e===Cy)throw Error(te(483))}var Qf=null,Zh=0;function yb(e){var t=Zh;return Zh+=1,Qf===null&&(Qf=[]),AB(Qf,e,t)}function hh(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Sb(e,t){throw t.$$typeof===DK?Error(te(525)):(e=Object.prototype.toString.call(t),Error(te(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function kB(e){function t(g,b){if(e){var I=g.deletions;I===null?(g.deletions=[b],g.flags|=16):I.push(b)}}function o(g,b){if(!e)return null;for(;b!==null;)t(g,b),b=b.sibling;return null}function r(g){for(var b=new Map;g!==null;)g.key!==null?b.set(g.key,g):b.set(g.index,g),g=g.sibling;return b}function n(g,b){return g=ol(g,b),g.index=0,g.sibling=null,g}function a(g,b,I){return g.index=I,e?(I=g.alternate,I!==null?(I=I.index,I<b?(g.flags|=67108866,b):I):(g.flags|=67108866,b)):(g.flags|=1048576,b)}function s(g){return e&&g.alternate===null&&(g.flags|=67108866),g}function i(g,b,I,v){return b===null||b.tag!==6?(b=zv(I,g.mode,v),b.return=g,b):(b=n(b,I),b.return=g,b)}function l(g,b,I,v){var C=I.type;return C===Ff?u(g,b,I.props.children,v,I.key):b!==null&&(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===uc&&Vu(C)===b.type)?(b=n(b,I.props),hh(b,I),b.return=g,b):(b=Eb(I.type,I.key,I.props,null,g.mode,v),hh(b,I),b.return=g,b)}function c(g,b,I,v){return b===null||b.tag!==4||b.stateNode.containerInfo!==I.containerInfo||b.stateNode.implementation!==I.implementation?(b=Wv(I,g.mode,v),b.return=g,b):(b=n(b,I.children||[]),b.return=g,b)}function u(g,b,I,v,C){return b===null||b.tag!==7?(b=Wu(I,g.mode,v,C),b.return=g,b):(b=n(b,I),b.return=g,b)}function m(g,b,I){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=zv(""+b,g.mode,I),b.return=g,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case cb:return I=Eb(b.type,b.key,b.props,null,g.mode,I),hh(I,b),I.return=g,I;case xh:return b=Wv(b,g.mode,I),b.return=g,b;case uc:return b=Vu(b),m(g,b,I)}if(Ih(b)||dh(b))return b=Wu(b,g.mode,I,null),b.return=g,b;if(typeof b.then=="function")return m(g,yb(b),I);if(b.$$typeof===Ji)return m(g,bb(g,b),I);Sb(g,b)}return null}function f(g,b,I,v){var C=b!==null?b.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return C!==null?null:i(g,b,""+I,v);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case cb:return I.key===C?l(g,b,I,v):null;case xh:return I.key===C?c(g,b,I,v):null;case uc:return I=Vu(I),f(g,b,I,v)}if(Ih(I)||dh(I))return C!==null?null:u(g,b,I,v,null);if(typeof I.then=="function")return f(g,b,yb(I),v);if(I.$$typeof===Ji)return f(g,b,bb(g,I),v);Sb(g,I)}return null}function d(g,b,I,v,C){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return g=g.get(I)||null,i(b,g,""+v,C);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case cb:return g=g.get(v.key===null?I:v.key)||null,l(b,g,v,C);case xh:return g=g.get(v.key===null?I:v.key)||null,c(b,g,v,C);case uc:return v=Vu(v),d(g,b,I,v,C)}if(Ih(v)||dh(v))return g=g.get(I)||null,u(b,g,v,C,null);if(typeof v.then=="function")return d(g,b,I,yb(v),C);if(v.$$typeof===Ji)return d(g,b,I,bb(b,v),C);Sb(b,v)}return null}function p(g,b,I,v){for(var C=null,T=null,w=b,P=b=0,k=null;w!==null&&P<I.length;P++){w.index>P?(k=w,w=null):k=w.sibling;var D=f(g,w,I[P],v);if(D===null){w===null&&(w=k);break}e&&w&&D.alternate===null&&t(g,w),b=a(D,b,P),T===null?C=D:T.sibling=D,T=D,w=k}if(P===I.length)return o(g,w),yt&&Ki(g,P),C;if(w===null){for(;P<I.length;P++)w=m(g,I[P],v),w!==null&&(b=a(w,b,P),T===null?C=w:T.sibling=w,T=w);return yt&&Ki(g,P),C}for(w=r(w);P<I.length;P++)k=d(w,g,P,I[P],v),k!==null&&(e&&k.alternate!==null&&w.delete(k.key===null?P:k.key),b=a(k,b,P),T===null?C=k:T.sibling=k,T=k);return e&&w.forEach(function(H){return t(g,H)}),yt&&Ki(g,P),C}function h(g,b,I,v){if(I==null)throw Error(te(151));for(var C=null,T=null,w=b,P=b=0,k=null,D=I.next();w!==null&&!D.done;P++,D=I.next()){w.index>P?(k=w,w=null):k=w.sibling;var H=f(g,w,D.value,v);if(H===null){w===null&&(w=k);break}e&&w&&H.alternate===null&&t(g,w),b=a(H,b,P),T===null?C=H:T.sibling=H,T=H,w=k}if(D.done)return o(g,w),yt&&Ki(g,P),C;if(w===null){for(;!D.done;P++,D=I.next())D=m(g,D.value,v),D!==null&&(b=a(D,b,P),T===null?C=D:T.sibling=D,T=D);return yt&&Ki(g,P),C}for(w=r(w);!D.done;P++,D=I.next())D=d(w,g,P,D.value,v),D!==null&&(e&&D.alternate!==null&&w.delete(D.key===null?P:D.key),b=a(D,b,P),T===null?C=D:T.sibling=D,T=D);return e&&w.forEach(function(j){return t(g,j)}),yt&&Ki(g,P),C}function S(g,b,I,v){if(typeof I=="object"&&I!==null&&I.type===Ff&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case cb:e:{for(var C=I.key;b!==null;){if(b.key===C){if(C=I.type,C===Ff){if(b.tag===7){o(g,b.sibling),v=n(b,I.props.children),v.return=g,g=v;break e}}else if(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===uc&&Vu(C)===b.type){o(g,b.sibling),v=n(b,I.props),hh(v,I),v.return=g,g=v;break e}o(g,b);break}else t(g,b);b=b.sibling}I.type===Ff?(v=Wu(I.props.children,g.mode,v,I.key),v.return=g,g=v):(v=Eb(I.type,I.key,I.props,null,g.mode,v),hh(v,I),v.return=g,g=v)}return s(g);case xh:e:{for(C=I.key;b!==null;){if(b.key===C)if(b.tag===4&&b.stateNode.containerInfo===I.containerInfo&&b.stateNode.implementation===I.implementation){o(g,b.sibling),v=n(b,I.children||[]),v.return=g,g=v;break e}else{o(g,b);break}else t(g,b);b=b.sibling}v=Wv(I,g.mode,v),v.return=g,g=v}return s(g);case uc:return I=Vu(I),S(g,b,I,v)}if(Ih(I))return p(g,b,I,v);if(dh(I)){if(C=dh(I),typeof C!="function")throw Error(te(150));return I=C.call(I),h(g,b,I,v)}if(typeof I.then=="function")return S(g,b,yb(I),v);if(I.$$typeof===Ji)return S(g,b,bb(g,I),v);Sb(g,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,b!==null&&b.tag===6?(o(g,b.sibling),v=n(b,I),v.return=g,g=v):(o(g,b),v=zv(I,g.mode,v),v.return=g,g=v),s(g)):o(g,b)}return function(g,b,I,v){try{Zh=0;var C=S(g,b,I,v);return Qf=null,C}catch(w){if(w===hd||w===Cy)throw w;var T=ka(29,w,null,g.mode);return T.lanes=v,T.return=g,T}finally{}}}var qu=kB(!0),MB=kB(!1),mc=!1;function ww(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function EC(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Cc(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function wc(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Lt&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=qb(e),SB(e,null,o),t}return vy(e,r,t,o),qb(e)}function Lh(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,GE(e,o)}}function Zv(e,t){var o=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var n=null,a=null;if(o=o.firstBaseUpdate,o!==null){do{var s={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};a===null?n=a=s:a=a.next=s,o=o.next}while(o!==null);a===null?n=a=t:a=a.next=t}else n=a=t;o={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var BC=!1;function Ph(){if(BC){var e=Kf;if(e!==null)throw e}}function Eh(e,t,o,r){BC=!1;var n=e.updateQueue;mc=!1;var a=n.firstBaseUpdate,s=n.lastBaseUpdate,i=n.shared.pending;if(i!==null){n.shared.pending=null;var l=i,c=l.next;l.next=null,s===null?a=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,i=u.lastBaseUpdate,i!==s&&(i===null?u.firstBaseUpdate=c:i.next=c,u.lastBaseUpdate=l))}if(a!==null){var m=n.baseState;s=0,u=c=l=null,i=a;do{var f=i.lane&-536870913,d=f!==i.lane;if(d?(mt&f)===f:(r&f)===f){f!==0&&f===nd&&(BC=!0),u!==null&&(u=u.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{var p=e,h=i;f=t;var S=o;switch(h.tag){case 1:if(p=h.payload,typeof p=="function"){m=p.call(S,m,f);break e}m=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=h.payload,f=typeof p=="function"?p.call(S,m,f):p,f==null)break e;m=ro({},m,f);break e;case 2:mc=!0}}f=i.callback,f!==null&&(e.flags|=64,d&&(e.flags|=8192),d=n.callbacks,d===null?n.callbacks=[f]:d.push(f))}else d={lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},u===null?(c=u=d,l=m):u=u.next=d,s|=f;if(i=i.next,i===null){if(i=n.shared.pending,i===null)break;d=i,i=d.next,d.next=null,n.lastBaseUpdate=d,n.shared.pending=null}}while(!0);u===null&&(l=m),n.baseState=l,n.firstBaseUpdate=c,n.lastBaseUpdate=u,a===null&&(n.shared.lanes=0),Dc|=s,e.lanes=s,e.memoizedState=m}}function LB(e,t){if(typeof e!="function")throw Error(te(191,e));e.call(t)}function PB(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)LB(o[e],t)}var ad=hi(null),Qb=hi(0);function V7(e,t){e=cl,Xt(Qb,e),Xt(ad,t),cl=e|t.baseLanes}function DC(){Xt(Qb,cl),Xt(ad,ad.current)}function Tw(){cl=Qb.current,on(ad),on(Qb)}var Ra=hi(null),ls=null;function dc(e){var t=e.alternate;Xt(Lo,Lo.current&1),Xt(Ra,e),ls===null&&(t===null||ad.current!==null||t.memoizedState!==null)&&(ls=e)}function RC(e){Xt(Lo,Lo.current),Xt(Ra,e),ls===null&&(ls=e)}function EB(e){e.tag===22?(Xt(Lo,Lo.current),Xt(Ra,e),ls===null&&(ls=e)):pc(e)}function pc(){Xt(Lo,Lo.current),Xt(Ra,Ra.current)}function Aa(e){on(Ra),ls===e&&(ls=null),on(Lo)}var Lo=hi(0);function Jb(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||JC(o)||ew(o)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var sl=0,Ye=null,Nt=null,Mr=null,ey=!1,Jf=!1,Xu=!1,ty=0,jh=0,ed=null,qQ=0;function Co(){throw Error(te(321))}function Aw(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!Da(e[o],t[o]))return!1;return!0}function kw(e,t,o,r,n,a){return sl=a,Ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Oe.H=e===null||e.memoizedState===null?lD:Ow,Xu=!1,a=o(r,n),Xu=!1,Jf&&(a=DB(t,o,r,n)),BB(e),a}function BB(e){Oe.H=Gh;var t=Nt!==null&&Nt.next!==null;if(sl=0,Mr=Nt=Ye=null,ey=!1,jh=0,ed=null,t)throw Error(te(300));e===null||Er||(e=e.dependencies,e!==null&&Yb(e)&&(Er=!0))}function DB(e,t,o,r){Ye=e;var n=0;do{if(Jf&&(ed=null),jh=0,Jf=!1,25<=n)throw Error(te(301));if(n+=1,Mr=Nt=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Oe.H=cD,a=t(o,r)}while(Jf);return a}function XQ(){var e=Oe.H,t=e.useState()[0];return t=typeof t.then=="function"?ag(t):t,e=e.useState()[0],(Nt!==null?Nt.memoizedState:null)!==e&&(Ye.flags|=1024),t}function Mw(){var e=ty!==0;return ty=0,e}function Lw(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function Pw(e){if(ey){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ey=!1}sl=0,Mr=Nt=Ye=null,Jf=!1,jh=ty=0,ed=null}function On(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mr===null?Ye.memoizedState=Mr=e:Mr=Mr.next=e,Mr}function Po(){if(Nt===null){var e=Ye.alternate;e=e!==null?e.memoizedState:null}else e=Nt.next;var t=Mr===null?Ye.memoizedState:Mr.next;if(t!==null)Mr=t,Nt=e;else{if(e===null)throw Ye.alternate===null?Error(te(467)):Error(te(310));Nt=e,e={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},Mr===null?Ye.memoizedState=Mr=e:Mr=Mr.next=e}return Mr}function wy(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ag(e){var t=jh;return jh+=1,ed===null&&(ed=[]),e=AB(ed,e,t),t=Ye,(Mr===null?t.memoizedState:Mr.next)===null&&(t=t.alternate,Oe.H=t===null||t.memoizedState===null?lD:Ow),e}function Ty(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ag(e);if(e.$$typeof===Ji)return hn(e)}throw Error(te(438,String(e)))}function Ew(e){var t=null,o=Ye.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=Ye.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=wy(),Ye.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),r=0;r<e;r++)o[r]=RK;return t.index++,o}function il(e,t){return typeof t=="function"?t(e):t}function Db(e){var t=Po();return Bw(t,Nt,e)}function Bw(e,t,o){var r=e.queue;if(r===null)throw Error(te(311));r.lastRenderedReducer=o;var n=e.baseQueue,a=r.pending;if(a!==null){if(n!==null){var s=n.next;n.next=a.next,a.next=s}t.baseQueue=n=a,r.pending=null}if(a=e.baseState,n===null)e.memoizedState=a;else{t=n.next;var i=s=null,l=null,c=t,u=!1;do{var m=c.lane&-536870913;if(m!==c.lane?(mt&m)===m:(sl&m)===m){var f=c.revertLane;if(f===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),m===nd&&(u=!0);else if((sl&f)===f){c=c.next,f===nd&&(u=!0);continue}else m={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(i=l=m,s=a):l=l.next=m,Ye.lanes|=f,Dc|=f;m=c.action,Xu&&o(a,m),a=c.hasEagerState?c.eagerState:o(a,m)}else f={lane:m,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(i=l=f,s=a):l=l.next=f,Ye.lanes|=m,Dc|=m;c=c.next}while(c!==null&&c!==t);if(l===null?s=a:l.next=i,!Da(a,e.memoizedState)&&(Er=!0,u&&(o=Kf,o!==null)))throw o;e.memoizedState=a,e.baseState=s,e.baseQueue=l,r.lastRenderedState=a}return n===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function jv(e){var t=Po(),o=t.queue;if(o===null)throw Error(te(311));o.lastRenderedReducer=e;var r=o.dispatch,n=o.pending,a=t.memoizedState;if(n!==null){o.pending=null;var s=n=n.next;do a=e(a,s.action),s=s.next;while(s!==n);Da(a,t.memoizedState)||(Er=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function RB(e,t,o){var r=Ye,n=Po(),a=yt;if(a){if(o===void 0)throw Error(te(407));o=o()}else o=t();var s=!Da((Nt||n).memoizedState,o);if(s&&(n.memoizedState=o,Er=!0),n=n.queue,Dw(HB.bind(null,r,n,e),[e]),n.getSnapshot!==t||s||Mr!==null&&Mr.memoizedState.tag&1){if(r.flags|=2048,sd(9,{destroy:void 0},FB.bind(null,r,n,o,t),null),jt===null)throw Error(te(349));a||(sl&127)!==0||_B(r,t,o)}return o}function _B(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Ye.updateQueue,t===null?(t=wy(),Ye.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function FB(e,t,o,r){t.value=o,t.getSnapshot=r,OB(t)&&VB(e)}function HB(e,t,o){return o(function(){OB(t)&&VB(e)})}function OB(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!Da(e,o)}catch{return!0}}function VB(e){var t=em(e,2);t!==null&&oa(t,e,2)}function _C(e){var t=On();if(typeof e=="function"){var o=e;if(e=o(),Xu){gc(!0);try{o()}finally{gc(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:il,lastRenderedState:e},t}function NB(e,t,o,r){return e.baseState=o,Bw(e,Nt,typeof r=="function"?r:il)}function YQ(e,t,o,r,n){if(ky(e))throw Error(te(485));if(e=t.action,e!==null){var a={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){a.listeners.push(s)}};Oe.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,zB(t,a)):(a.next=o.next,t.pending=o.next=a)}}function zB(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=Oe.T,s={};Oe.T=s;try{var i=o(n,r),l=Oe.S;l!==null&&l(s,i),N7(e,t,i)}catch(c){FC(e,t,c)}finally{a!==null&&s.types!==null&&(a.types=s.types),Oe.T=a}}else try{a=o(n,r),N7(e,t,a)}catch(c){FC(e,t,c)}}function N7(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){z7(e,t,r)},function(r){return FC(e,t,r)}):z7(e,t,o)}function z7(e,t,o){t.status="fulfilled",t.value=o,WB(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,zB(e,o)))}function FC(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,WB(t),t=t.next;while(t!==r)}e.action=null}function WB(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function UB(e,t){return t}function W7(e,t){if(yt){var o=jt.formState;if(o!==null){e:{var r=Ye;if(yt){if(oo){t:{for(var n=oo,a=is;n.nodeType!==8;){if(!a){n=null;break t}if(n=cs(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){oo=cs(n.nextSibling),r=n.data==="F!";break e}}Ec(r)}r=!1}r&&(t=o[0])}}return o=On(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:UB,lastRenderedState:t},o.queue=r,o=aD.bind(null,Ye,r),r.dispatch=o,r=_C(!1),a=Hw.bind(null,Ye,!1,r.queue),r=On(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=YQ.bind(null,Ye,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function U7(e){var t=Po();return ZB(t,Nt,e)}function ZB(e,t,o){if(t=Bw(e,t,UB)[0],e=Db(il)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=ag(t)}catch(s){throw s===hd?Cy:s}else r=t;t=Po();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(Ye.flags|=2048,sd(9,{destroy:void 0},KQ.bind(null,n,o),null)),[r,a,e]}function KQ(e,t){e.action=t}function Z7(e){var t=Po(),o=Nt;if(o!==null)return ZB(t,o,e);Po(),t=t.memoizedState,o=Po();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function sd(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=Ye.updateQueue,t===null&&(t=wy(),Ye.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(r=o.next,o.next=e,e.next=r,t.lastEffect=e),e}function jB(){return Po().memoizedState}function Rb(e,t,o,r){var n=On();Ye.flags|=e,n.memoizedState=sd(1|t,{destroy:void 0},o,r===void 0?null:r)}function Ay(e,t,o,r){var n=Po();r=r===void 0?null:r;var a=n.memoizedState.inst;Nt!==null&&r!==null&&Aw(r,Nt.memoizedState.deps)?n.memoizedState=sd(t,a,o,r):(Ye.flags|=e,n.memoizedState=sd(1|t,a,o,r))}function j7(e,t){Rb(8390656,8,e,t)}function Dw(e,t){Ay(2048,8,e,t)}function QQ(e){Ye.flags|=4;var t=Ye.updateQueue;if(t===null)t=wy(),Ye.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function GB(e){var t=Po().memoizedState;return QQ({ref:t,nextImpl:e}),function(){if((Lt&2)!==0)throw Error(te(440));return t.impl.apply(void 0,arguments)}}function $B(e,t){return Ay(4,2,e,t)}function qB(e,t){return Ay(4,4,e,t)}function XB(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function YB(e,t,o){o=o!=null?o.concat([e]):null,Ay(4,4,XB.bind(null,t,e),o)}function Rw(){}function KB(e,t){var o=Po();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&Aw(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function QB(e,t){var o=Po();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&Aw(t,r[1]))return r[0];if(r=e(),Xu){gc(!0);try{e()}finally{gc(!1)}}return o.memoizedState=[r,t],r}function _w(e,t,o){return o===void 0||(sl&1073741824)!==0&&(mt&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=ND(),Ye.lanes|=e,Dc|=e,o)}function JB(e,t,o,r){return Da(o,t)?o:ad.current!==null?(e=_w(e,o,r),Da(e,t)||(Er=!0),e):(sl&42)===0||(sl&1073741824)!==0&&(mt&261930)===0?(Er=!0,e.memoizedState=o):(e=ND(),Ye.lanes|=e,Dc|=e,t)}function eD(e,t,o,r,n){var a=Pt.p;Pt.p=a!==0&&8>a?a:8;var s=Oe.T,i={};Oe.T=i,Hw(e,!1,t,o);try{var l=n(),c=Oe.S;if(c!==null&&c(i,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=$Q(l,r);Bh(e,t,u,Ba(e))}else Bh(e,t,r,Ba(e))}catch(m){Bh(e,t,{then:function(){},status:"rejected",reason:m},Ba())}finally{Pt.p=a,s!==null&&i.types!==null&&(s.types=i.types),Oe.T=s}}function JQ(){}function HC(e,t,o,r){if(e.tag!==5)throw Error(te(476));var n=tD(e).queue;eD(e,n,t,zu,o===null?JQ:function(){return oD(e),o(r)})}function tD(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:zu,baseState:zu,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:il,lastRenderedState:zu},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:il,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function oD(e){var t=tD(e);t.next===null&&(t=e.alternate.memoizedState),Bh(e,t.next.queue,{},Ba())}function Fw(){return hn(Xh)}function rD(){return Po().memoizedState}function nD(){return Po().memoizedState}function eJ(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=Ba();e=Cc(o);var r=wc(t,e,o);r!==null&&(oa(r,t,o),Lh(r,t,o)),t={cache:Iw()},e.payload=t;return}t=t.return}}function tJ(e,t,o){var r=Ba();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},ky(e)?sD(t,o):(o=bw(e,t,o,r),o!==null&&(oa(o,e,r),iD(o,t,r)))}function aD(e,t,o){var r=Ba();Bh(e,t,o,r)}function Bh(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(ky(e))sD(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,i=a(s,o);if(n.hasEagerState=!0,n.eagerState=i,Da(i,s))return vy(e,t,n,0),jt===null&&Iy(),!1}catch{}finally{}if(o=bw(e,t,n,r),o!==null)return oa(o,e,r),iD(o,t,r),!0}return!1}function Hw(e,t,o,r){if(r={lane:2,revertLane:Gw(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ky(e)){if(t)throw Error(te(479))}else t=bw(e,o,r,2),t!==null&&oa(t,e,2)}function ky(e){var t=e.alternate;return e===Ye||t!==null&&t===Ye}function sD(e,t){Jf=ey=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function iD(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,GE(e,o)}}var Gh={readContext:hn,use:Ty,useCallback:Co,useContext:Co,useEffect:Co,useImperativeHandle:Co,useLayoutEffect:Co,useInsertionEffect:Co,useMemo:Co,useReducer:Co,useRef:Co,useState:Co,useDebugValue:Co,useDeferredValue:Co,useTransition:Co,useSyncExternalStore:Co,useId:Co,useHostTransitionStatus:Co,useFormState:Co,useActionState:Co,useOptimistic:Co,useMemoCache:Co,useCacheRefresh:Co};Gh.useEffectEvent=Co;var lD={readContext:hn,use:Ty,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:hn,useEffect:j7,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,Rb(4194308,4,XB.bind(null,t,e),o)},useLayoutEffect:function(e,t){return Rb(4194308,4,e,t)},useInsertionEffect:function(e,t){Rb(4,2,e,t)},useMemo:function(e,t){var o=On();t=t===void 0?null:t;var r=e();if(Xu){gc(!0);try{e()}finally{gc(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=On();if(o!==void 0){var n=o(t);if(Xu){gc(!0);try{o(t)}finally{gc(!1)}}}else n=t;return r.memoizedState=r.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=tJ.bind(null,Ye,e),[r.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:function(e){e=_C(e);var t=e.queue,o=aD.bind(null,Ye,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:Rw,useDeferredValue:function(e,t){var o=On();return _w(o,e,t)},useTransition:function(){var e=_C(!1);return e=eD.bind(null,Ye,e.queue,!0,!1),On().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=Ye,n=On();if(yt){if(o===void 0)throw Error(te(407));o=o()}else{if(o=t(),jt===null)throw Error(te(349));(mt&127)!==0||_B(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,j7(HB.bind(null,r,a,e),[e]),r.flags|=2048,sd(9,{destroy:void 0},FB.bind(null,r,a,o,t),null),o},useId:function(){var e=On(),t=jt.identifierPrefix;if(yt){var o=fi,r=mi;o=(r&~(1<<32-Ea(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=ty++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=qQ++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Fw,useFormState:W7,useActionState:W7,useOptimistic:function(e){var t=On();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=Hw.bind(null,Ye,!0,o),o.dispatch=t,[e,t]},useMemoCache:Ew,useCacheRefresh:function(){return On().memoizedState=eJ.bind(null,Ye)},useEffectEvent:function(e){var t=On(),o={impl:e};return t.memoizedState=o,function(){if((Lt&2)!==0)throw Error(te(440));return o.impl.apply(void 0,arguments)}}},Ow={readContext:hn,use:Ty,useCallback:KB,useContext:hn,useEffect:Dw,useImperativeHandle:YB,useInsertionEffect:$B,useLayoutEffect:qB,useMemo:QB,useReducer:Db,useRef:jB,useState:function(){return Db(il)},useDebugValue:Rw,useDeferredValue:function(e,t){var o=Po();return JB(o,Nt.memoizedState,e,t)},useTransition:function(){var e=Db(il)[0],t=Po().memoizedState;return[typeof e=="boolean"?e:ag(e),t]},useSyncExternalStore:RB,useId:rD,useHostTransitionStatus:Fw,useFormState:U7,useActionState:U7,useOptimistic:function(e,t){var o=Po();return NB(o,Nt,e,t)},useMemoCache:Ew,useCacheRefresh:nD};Ow.useEffectEvent=GB;var cD={readContext:hn,use:Ty,useCallback:KB,useContext:hn,useEffect:Dw,useImperativeHandle:YB,useInsertionEffect:$B,useLayoutEffect:qB,useMemo:QB,useReducer:jv,useRef:jB,useState:function(){return jv(il)},useDebugValue:Rw,useDeferredValue:function(e,t){var o=Po();return Nt===null?_w(o,e,t):JB(o,Nt.memoizedState,e,t)},useTransition:function(){var e=jv(il)[0],t=Po().memoizedState;return[typeof e=="boolean"?e:ag(e),t]},useSyncExternalStore:RB,useId:rD,useHostTransitionStatus:Fw,useFormState:Z7,useActionState:Z7,useOptimistic:function(e,t){var o=Po();return Nt!==null?NB(o,Nt,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Ew,useCacheRefresh:nD};cD.useEffectEvent=GB;function Gv(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:ro({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var OC={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=Ba(),n=Cc(r);n.payload=t,o!=null&&(n.callback=o),t=wc(e,n,r),t!==null&&(oa(t,e,r),Lh(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=Ba(),n=Cc(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=wc(e,n,r),t!==null&&(oa(t,e,r),Lh(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=Ba(),r=Cc(o);r.tag=2,t!=null&&(r.callback=t),t=wc(e,r,o),t!==null&&(oa(t,e,o),Lh(t,e,o))}};function G7(e,t,o,r,n,a,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,s):t.prototype&&t.prototype.isPureReactComponent?!zh(o,r)||!zh(n,a):!0}function $7(e,t,o,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,r),t.state!==e&&OC.enqueueReplaceState(t,t.state,null)}function Yu(e,t){var o=t;if("ref"in t){o={};for(var r in t)r!=="ref"&&(o[r]=t[r])}if(e=e.defaultProps){o===t&&(o=ro({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function uD(e){$b(e)}function mD(e){console.error(e)}function fD(e){$b(e)}function oy(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function q7(e,t,o){try{var r=e.onCaughtError;r(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function VC(e,t,o){return o=Cc(o),o.tag=3,o.payload={element:null},o.callback=function(){oy(e,t)},o}function dD(e){return e=Cc(e),e.tag=3,e}function pD(e,t,o,r){var n=o.type.getDerivedStateFromError;if(typeof n=="function"){var a=r.value;e.payload=function(){return n(a)},e.callback=function(){q7(t,o,r)}}var s=o.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){q7(t,o,r),typeof n!="function"&&(Tc===null?Tc=new Set([this]):Tc.add(this));var i=r.stack;this.componentDidCatch(r.value,{componentStack:i!==null?i:""})})}function oJ(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&pd(t,o,n,!0),o=Ra.current,o!==null){switch(o.tag){case 31:case 13:return ls===null?iy():o.alternate===null&&wo===0&&(wo=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===Kb?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),rC(e,r,n)),!1;case 22:return o.flags|=65536,r===Kb?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([r]):o.add(r)),rC(e,r,n)),!1}throw Error(te(435,o.tag))}return rC(e,r,n),iy(),!1}if(yt)return t=Ra.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==AC&&(e=Error(te(422),{cause:r}),Uh(ss(e,o)))):(r!==AC&&(t=Error(te(423),{cause:r}),Uh(ss(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=ss(r,o),n=VC(e.stateNode,r,n),Zv(e,n),wo!==4&&(wo=2)),!1;var a=Error(te(520),{cause:r});if(a=ss(a,o),_h===null?_h=[a]:_h.push(a),wo!==4&&(wo=2),t===null)return!0;r=ss(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=VC(o.stateNode,r,e),Zv(o,e),!1;case 1:if(t=o.type,a=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(Tc===null||!Tc.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=dD(n),pD(n,e,o,r),Zv(o,n),!1}o=o.return}while(o!==null);return!1}var Vw=Error(te(461)),Er=!1;function fn(e,t,o,r){t.child=e===null?MB(t,null,o,r):qu(t,e.child,o,r)}function X7(e,t,o,r,n){o=o.render;var a=t.ref;if("ref"in r){var s={};for(var i in r)i!=="ref"&&(s[i]=r[i])}else s=r;return $u(t),r=kw(e,t,o,s,a,n),i=Mw(),e!==null&&!Er?(Lw(e,t,n),ll(e,t,n)):(yt&&i&&Sw(t),t.flags|=1,fn(e,t,r,n),t.child)}function Y7(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!yw(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,hD(e,t,a,r,n)):(e=Eb(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Nw(e,n)){var s=a.memoizedProps;if(o=o.compare,o=o!==null?o:zh,o(s,r)&&e.ref===t.ref)return ll(e,t,n)}return t.flags|=1,e=ol(a,r),e.ref=t.ref,e.return=t,t.child=e}function hD(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(zh(a,r)&&e.ref===t.ref)if(Er=!1,t.pendingProps=r=a,Nw(e,n))(e.flags&131072)!==0&&(Er=!0);else return t.lanes=e.lanes,ll(e,t,n)}return NC(e,t,o,r,n)}function gD(e,t,o,r){var n=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(a=a!==null?a.baseLanes|o:o,e!==null){for(r=t.child=e.child,n=0;r!==null;)n=n|r.lanes|r.childLanes,r=r.sibling;r=n&~a}else r=0,t.child=null;return K7(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Bb(t,a!==null?a.cachePool:null),a!==null?V7(t,a):DC(),EB(t);else return r=t.lanes=536870912,K7(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?(Bb(t,a.cachePool),V7(t,a),pc(t),t.memoizedState=null):(e!==null&&Bb(t,null),DC(),pc(t));return fn(e,t,n,o),t.child}function Ch(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function K7(e,t,o,r,n){var a=vw();return a=a===null?null:{parent:Pr._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&Bb(t,null),DC(),EB(t),e!==null&&pd(e,t,r,!0),t.childLanes=n,null}function _b(e,t){return t=ry({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Q7(e,t,o){return qu(t,e.child,null,o),e=_b(t,t.pendingProps),e.flags|=2,Aa(t),t.memoizedState=null,e}function rJ(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(yt){if(r.mode==="hidden")return e=_b(t,r),t.lanes=536870912,Ch(null,e);if(RC(t),(e=oo)?(e=lR(e,is),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pc!==null?{id:mi,overflow:fi}:null,retryLane:536870912,hydrationErrors:null},o=IB(e),o.return=t,t.child=o,pn=t,oo=null)):e=null,e===null)throw Ec(t);return t.lanes=536870912,null}return _b(t,r)}var a=e.memoizedState;if(a!==null){var s=a.dehydrated;if(RC(t),n)if(t.flags&256)t.flags&=-257,t=Q7(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(te(558));else if(Er||pd(e,t,o,!1),n=(o&e.childLanes)!==0,Er||n){if(r=jt,r!==null&&(s=$E(r,o),s!==0&&s!==a.retryLane))throw a.retryLane=s,em(e,s),oa(r,e,s),Vw;iy(),t=Q7(e,t,o)}else e=a.treeContext,oo=cs(s.nextSibling),pn=t,yt=!0,vc=null,is=!1,e!==null&&CB(t,e),t=_b(t,r),t.flags|=4096;return t}return e=ol(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Fb(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(te(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function NC(e,t,o,r,n){return $u(t),o=kw(e,t,o,r,void 0,n),r=Mw(),e!==null&&!Er?(Lw(e,t,n),ll(e,t,n)):(yt&&r&&Sw(t),t.flags|=1,fn(e,t,o,n),t.child)}function J7(e,t,o,r,n,a){return $u(t),t.updateQueue=null,o=DB(t,r,o,n),BB(e),r=Mw(),e!==null&&!Er?(Lw(e,t,a),ll(e,t,a)):(yt&&r&&Sw(t),t.flags|=1,fn(e,t,o,a),t.child)}function eE(e,t,o,r,n){if($u(t),t.stateNode===null){var a=Zf,s=o.contextType;typeof s=="object"&&s!==null&&(a=hn(s)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=OC,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},ww(t),s=o.contextType,a.context=typeof s=="object"&&s!==null?hn(s):Zf,a.state=t.memoizedState,s=o.getDerivedStateFromProps,typeof s=="function"&&(Gv(t,o,s,r),a.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(s=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),s!==a.state&&OC.enqueueReplaceState(a,a.state,null),Eh(t,r,a,n),Ph(),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var i=t.memoizedProps,l=Yu(o,i);a.props=l;var c=a.context,u=o.contextType;s=Zf,typeof u=="object"&&u!==null&&(s=hn(u));var m=o.getDerivedStateFromProps;u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,u||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i||c!==s)&&$7(t,a,r,s),mc=!1;var f=t.memoizedState;a.state=f,Eh(t,r,a,n),Ph(),c=t.memoizedState,i||f!==c||mc?(typeof m=="function"&&(Gv(t,o,m,r),c=t.memoizedState),(l=mc||G7(t,o,l,r,f,c,s))?(u||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=s,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,EC(e,t),s=t.memoizedProps,u=Yu(o,s),a.props=u,m=t.pendingProps,f=a.context,c=o.contextType,l=Zf,typeof c=="object"&&c!==null&&(l=hn(c)),i=o.getDerivedStateFromProps,(c=typeof i=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==m||f!==l)&&$7(t,a,r,l),mc=!1,f=t.memoizedState,a.state=f,Eh(t,r,a,n),Ph();var d=t.memoizedState;s!==m||f!==d||mc||e!==null&&e.dependencies!==null&&Yb(e.dependencies)?(typeof i=="function"&&(Gv(t,o,i,r),d=t.memoizedState),(u=mc||G7(t,o,u,r,f,d,l)||e!==null&&e.dependencies!==null&&Yb(e.dependencies))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,d,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,d,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Fb(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,o=r&&typeof o.getDerivedStateFromError!="function"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=qu(t,e.child,null,n),t.child=qu(t,null,o,n)):fn(e,t,o,n),t.memoizedState=a.state,e=t.child):e=ll(e,t,n),e}function tE(e,t,o,r){return Gu(),t.flags|=256,fn(e,t,o,r),t.child}var $v={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function qv(e){return{baseLanes:e,cachePool:TB()}}function Xv(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=Ma),e}function bD(e,t,o){var r=t.pendingProps,n=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(Lo.current&2)!==0),s&&(n=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(yt){if(n?dc(t):pc(t),(e=oo)?(e=lR(e,is),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pc!==null?{id:mi,overflow:fi}:null,retryLane:536870912,hydrationErrors:null},o=IB(e),o.return=t,t.child=o,pn=t,oo=null)):e=null,e===null)throw Ec(t);return ew(e)?t.lanes=32:t.lanes=536870912,null}var i=r.children;return r=r.fallback,n?(pc(t),n=t.mode,i=ry({mode:"hidden",children:i},n),r=Wu(r,n,o,null),i.return=t,r.return=t,i.sibling=r,t.child=i,r=t.child,r.memoizedState=qv(o),r.childLanes=Xv(e,s,o),t.memoizedState=$v,Ch(null,r)):(dc(t),zC(t,i))}var l=e.memoizedState;if(l!==null&&(i=l.dehydrated,i!==null)){if(a)t.flags&256?(dc(t),t.flags&=-257,t=Yv(e,t,o)):t.memoizedState!==null?(pc(t),t.child=e.child,t.flags|=128,t=null):(pc(t),i=r.fallback,n=t.mode,r=ry({mode:"visible",children:r.children},n),i=Wu(i,n,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,qu(t,e.child,null,o),r=t.child,r.memoizedState=qv(o),r.childLanes=Xv(e,s,o),t.memoizedState=$v,t=Ch(null,r));else if(dc(t),ew(i)){if(s=i.nextSibling&&i.nextSibling.dataset,s)var c=s.dgst;s=c,r=Error(te(419)),r.stack="",r.digest=s,Uh({value:r,source:null,stack:null}),t=Yv(e,t,o)}else if(Er||pd(e,t,o,!1),s=(o&e.childLanes)!==0,Er||s){if(s=jt,s!==null&&(r=$E(s,o),r!==0&&r!==l.retryLane))throw l.retryLane=r,em(e,r),oa(s,e,r),Vw;JC(i)||iy(),t=Yv(e,t,o)}else JC(i)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,oo=cs(i.nextSibling),pn=t,yt=!0,vc=null,is=!1,e!==null&&CB(t,e),t=zC(t,r.children),t.flags|=4096);return t}return n?(pc(t),i=r.fallback,n=t.mode,l=e.child,c=l.sibling,r=ol(l,{mode:"hidden",children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,c!==null?i=ol(c,i):(i=Wu(i,n,o,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,Ch(null,r),r=t.child,i=e.child.memoizedState,i===null?i=qv(o):(n=i.cachePool,n!==null?(l=Pr._currentValue,n=n.parent!==l?{parent:l,pool:l}:n):n=TB(),i={baseLanes:i.baseLanes|o,cachePool:n}),r.memoizedState=i,r.childLanes=Xv(e,s,o),t.memoizedState=$v,Ch(e.child,r)):(dc(t),o=e.child,e=o.sibling,o=ol(o,{mode:"visible",children:r.children}),o.return=t,o.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=o,t.memoizedState=null,o)}function zC(e,t){return t=ry({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ry(e,t){return e=ka(22,e,null,t),e.lanes=0,e}function Yv(e,t,o){return qu(t,e.child,null,o),e=zC(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oE(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),MC(e.return,t,o)}function Kv(e,t,o,r,n,a){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n,treeForkCount:a}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=o,s.tailMode=n,s.treeForkCount=a)}function yD(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var s=Lo.current,i=(s&2)!==0;if(i?(s=s&1|2,t.flags|=128):s&=1,Xt(Lo,s),fn(e,t,r,o),r=yt?Wh:0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oE(e,o,t);else if(e.tag===19)oE(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&Jb(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),Kv(t,!1,n,o,a,r);break;case"backwards":case"unstable_legacy-backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Jb(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}Kv(t,!0,o,null,a,r);break;case"together":Kv(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function ll(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Dc|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(pd(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(te(153));if(t.child!==null){for(e=t.child,o=ol(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=ol(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function Nw(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Yb(e)))}function nJ(e,t,o){switch(t.tag){case 3:Ub(t,t.stateNode.containerInfo),fc(t,Pr,e.memoizedState.cache),Gu();break;case 27:case 5:hC(t);break;case 4:Ub(t,t.stateNode.containerInfo);break;case 10:fc(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,RC(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(dc(t),t.flags|=128,null):(o&t.child.childLanes)!==0?bD(e,t,o):(dc(t),e=ll(e,t,o),e!==null?e.sibling:null);dc(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(pd(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return yD(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Xt(Lo,Lo.current),r)break;return null;case 22:return t.lanes=0,gD(e,t,o,t.pendingProps);case 24:fc(t,Pr,e.memoizedState.cache)}return ll(e,t,o)}function SD(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)Er=!0;else{if(!Nw(e,o)&&(t.flags&128)===0)return Er=!1,nJ(e,t,o);Er=(e.flags&131072)!==0}else Er=!1,yt&&(t.flags&1048576)!==0&&vB(t,Wh,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=Vu(t.elementType),t.type=e,typeof e=="function")yw(e)?(r=Yu(e,r),t.tag=1,t=eE(null,t,e,r,o)):(t.tag=0,t=NC(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===nw){t.tag=11,t=X7(null,t,e,r,o);break e}else if(n===aw){t.tag=14,t=Y7(null,t,e,r,o);break e}}throw t=dC(e)||e,Error(te(306,t,""))}}return t;case 0:return NC(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=Yu(r,t.pendingProps),eE(e,t,r,n,o);case 3:e:{if(Ub(t,t.stateNode.containerInfo),e===null)throw Error(te(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,EC(e,t),Eh(t,r,null,o);var s=t.memoizedState;if(r=s.cache,fc(t,Pr,r),r!==a.cache&&LC(t,[Pr],o,!0),Ph(),r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=tE(e,t,r,o);break e}else if(r!==n){n=ss(Error(te(424)),t),Uh(n),t=tE(e,t,r,o);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(oo=cs(e.firstChild),pn=t,yt=!0,vc=null,is=!0,o=MB(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Gu(),r===n){t=ll(e,t,o);break e}fn(e,t,r,o)}t=t.child}return t;case 26:return Fb(e,t),e===null?(o=wE(t.type,null,t.pendingProps,null))?t.memoizedState=o:yt||(o=t.type,e=t.pendingProps,r=my(Ic.current).createElement(o),r[dn]=t,r[ra]=e,gn(r,o,e),tn(r),t.stateNode=r):t.memoizedState=wE(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return hC(t),e===null&&yt&&(r=t.stateNode=cR(t.type,t.pendingProps,Ic.current),pn=t,is=!0,n=oo,_c(t.type)?(tw=n,oo=cs(r.firstChild)):oo=n),fn(e,t,t.pendingProps.children,o),Fb(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&yt&&((n=r=oo)&&(r=BJ(r,t.type,t.pendingProps,is),r!==null?(t.stateNode=r,pn=t,oo=cs(r.firstChild),is=!1,n=!0):n=!1),n||Ec(t)),hC(t),n=t.type,a=t.pendingProps,s=e!==null?e.memoizedProps:null,r=a.children,KC(n,a)?r=null:s!==null&&KC(n,s)&&(t.flags|=32),t.memoizedState!==null&&(n=kw(e,t,XQ,null,null,o),Xh._currentValue=n),Fb(e,t),fn(e,t,r,o),t.child;case 6:return e===null&&yt&&((e=o=oo)&&(o=DJ(o,t.pendingProps,is),o!==null?(t.stateNode=o,pn=t,oo=null,e=!0):e=!1),e||Ec(t)),null;case 13:return bD(e,t,o);case 4:return Ub(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=qu(t,null,r,o):fn(e,t,r,o),t.child;case 11:return X7(e,t,t.type,t.pendingProps,o);case 7:return fn(e,t,t.pendingProps,o),t.child;case 8:return fn(e,t,t.pendingProps.children,o),t.child;case 12:return fn(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,fc(t,t.type,r.value),fn(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,$u(t),n=hn(n),r=r(n),t.flags|=1,fn(e,t,r,o),t.child;case 14:return Y7(e,t,t.type,t.pendingProps,o);case 15:return hD(e,t,t.type,t.pendingProps,o);case 19:return yD(e,t,o);case 31:return rJ(e,t,o);case 22:return gD(e,t,o,t.pendingProps);case 24:return $u(t),r=hn(Pr),e===null?(n=vw(),n===null&&(n=jt,a=Iw(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},ww(t),fc(t,Pr,n)):((e.lanes&o)!==0&&(EC(e,t),Eh(t,null,null,o),Ph()),n=e.memoizedState,a=t.memoizedState,n.parent!==r?(n={parent:r,cache:r},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),fc(t,Pr,r)):(r=a.cache,fc(t,Pr,r),r!==n.cache&&LC(t,[Pr],o,!0))),fn(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(te(156,t.tag))}function $i(e){e.flags|=4}function Qv(e,t,o,r,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(UD())e.flags|=8192;else throw Zu=Kb,Cw}else e.flags&=-16777217}function rE(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!fR(t))if(UD())e.flags|=8192;else throw Zu=Kb,Cw}function xb(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ZE():536870912,e.lanes|=t,id|=t)}function gh(e,t){if(!yt)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function to(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&65011712,r|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function aJ(e,t,o){var r=t.pendingProps;switch(xw(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return to(t),null;case 1:return to(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),rl(Pr),td(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Bf(t)?$i(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Uv())),to(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?($i(t),a!==null?(to(t),rE(t,a)):(to(t),Qv(t,n,null,r,o))):a?a!==e.memoizedState?($i(t),to(t),rE(t,a)):(to(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&$i(t),to(t),Qv(t,n,e,r,o)),null;case 27:if(Zb(t),o=Ic.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&$i(t);else{if(!r){if(t.stateNode===null)throw Error(te(166));return to(t),null}e=pi.current,Bf(t)?B7(t,e):(e=cR(n,r,o),t.stateNode=e,$i(t))}return to(t),null;case 5:if(Zb(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&$i(t);else{if(!r){if(t.stateNode===null)throw Error(te(166));return to(t),null}if(a=pi.current,Bf(t))B7(t,a);else{var s=my(Ic.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":a=s.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof r.is=="string"?s.createElement("select",{is:r.is}):s.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is=="string"?s.createElement(n,{is:r.is}):s.createElement(n)}}a[dn]=t,a[ra]=r;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)a.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(gn(a,n,r),n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&$i(t)}}return to(t),Qv(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&$i(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(te(166));if(e=Ic.current,Bf(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=pn,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[dn]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||aR(e.nodeValue,o)),e||Ec(t,!0)}else e=my(e).createTextNode(r),e[dn]=t,t.stateNode=e}return to(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=Bf(t),o!==null){if(e===null){if(!r)throw Error(te(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(te(557));e[dn]=t}else Gu(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;to(t),e=!1}else o=Uv(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(Aa(t),t):(Aa(t),null);if((t.flags&128)!==0)throw Error(te(558))}return to(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Bf(t),r!==null&&r.dehydrated!==null){if(e===null){if(!n)throw Error(te(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(te(317));n[dn]=t}else Gu(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;to(t),n=!1}else n=Uv(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Aa(t),t):(Aa(t),null)}return Aa(t),(t.flags&128)!==0?(t.lanes=o,t):(o=r!==null,e=e!==null&&e.memoizedState!==null,o&&(r=t.child,n=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(n=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==n&&(r.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),xb(t,t.updateQueue),to(t),null);case 4:return td(),e===null&&$w(t.stateNode.containerInfo),to(t),null;case 10:return rl(t.type),to(t),null;case 19:if(on(Lo),r=t.memoizedState,r===null)return to(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)gh(r,!1);else{if(wo!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=Jb(e),a!==null){for(t.flags|=128,gh(r,!1),e=a.updateQueue,t.updateQueue=e,xb(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)xB(o,e),o=o.sibling;return Xt(Lo,Lo.current&1|2),yt&&Ki(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&La()>ay&&(t.flags|=128,n=!0,gh(r,!1),t.lanes=4194304)}else{if(!n)if(e=Jb(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,xb(t,e),gh(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!yt)return to(t),null}else 2*La()-r.renderingStartTime>ay&&o!==536870912&&(t.flags|=128,n=!0,gh(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=La(),e.sibling=null,o=Lo.current,Xt(Lo,n?o&1|2:o&1),yt&&Ki(t,r.treeForkCount),e):(to(t),null);case 22:case 23:return Aa(t),Tw(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(o&536870912)!==0&&(t.flags&128)===0&&(to(t),t.subtreeFlags&6&&(t.flags|=8192)):to(t),o=t.updateQueue,o!==null&&xb(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==o&&(t.flags|=2048),e!==null&&on(Uu),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),rl(Pr),to(t),null;case 25:return null;case 30:return null}throw Error(te(156,t.tag))}function sJ(e,t){switch(xw(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rl(Pr),td(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Zb(t),null;case 31:if(t.memoizedState!==null){if(Aa(t),t.alternate===null)throw Error(te(340));Gu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Aa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(te(340));Gu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return on(Lo),null;case 4:return td(),null;case 10:return rl(t.type),null;case 22:case 23:return Aa(t),Tw(),e!==null&&on(Uu),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return rl(Pr),null;case 25:return null;default:return null}}function xD(e,t){switch(xw(t),t.tag){case 3:rl(Pr),td();break;case 26:case 27:case 5:Zb(t);break;case 4:td();break;case 31:t.memoizedState!==null&&Aa(t);break;case 13:Aa(t);break;case 19:on(Lo);break;case 10:rl(t.type);break;case 22:case 23:Aa(t),Tw(),e!==null&&on(Uu);break;case 24:rl(Pr)}}function sg(e,t){try{var o=t.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var n=r.next;o=n;do{if((o.tag&e)===e){r=void 0;var a=o.create,s=o.inst;r=a(),s.destroy=r}o=o.next}while(o!==n)}}catch(i){_t(t,t.return,i)}}function Bc(e,t,o){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){var s=r.inst,i=s.destroy;if(i!==void 0){s.destroy=void 0,n=t;var l=o,c=i;try{c()}catch(u){_t(n,l,u)}}}r=r.next}while(r!==a)}}catch(u){_t(t,t.return,u)}}function ID(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{PB(t,o)}catch(r){_t(e,e.return,r)}}}function vD(e,t,o){o.props=Yu(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){_t(e,t,r)}}function Dh(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof o=="function"?e.refCleanup=o(r):o.current=r}}catch(n){_t(e,t,n)}}function di(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){_t(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(n){_t(e,t,n)}else o.current=null}function CD(e){var t=e.type,o=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&r.focus();break e;case"img":o.src?r.src=o.src:o.srcSet&&(r.srcset=o.srcSet)}}catch(n){_t(e,e.return,n)}}function Jv(e,t,o){try{var r=e.stateNode;AJ(r,e.type,o,t),r[ra]=t}catch(n){_t(e,e.return,n)}}function wD(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&_c(e.type)||e.tag===4}function eC(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wD(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&_c(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function WC(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=el));else if(r!==4&&(r===27&&_c(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(WC(e,t,o),e=e.sibling;e!==null;)WC(e,t,o),e=e.sibling}function ny(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(r===27&&_c(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(ny(e,t,o),e=e.sibling;e!==null;)ny(e,t,o),e=e.sibling}function TD(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);gn(t,r,o),t[dn]=e,t[ra]=o}catch(a){_t(e,e.return,a)}}var Qi=!1,Lr=!1,tC=!1,nE=typeof WeakSet=="function"?WeakSet:Set,en=null;function iJ(e,t){if(e=e.containerInfo,XC=hy,e=fB(e),hw(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var s=0,i=-1,l=-1,c=0,u=0,m=e,f=null;t:for(;;){for(var d;m!==o||n!==0&&m.nodeType!==3||(i=s+n),m!==a||r!==0&&m.nodeType!==3||(l=s+r),m.nodeType===3&&(s+=m.nodeValue.length),(d=m.firstChild)!==null;)f=m,m=d;for(;;){if(m===e)break t;if(f===o&&++c===n&&(i=s),f===a&&++u===r&&(l=s),(d=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=d}o=i===-1||l===-1?null:{start:i,end:l}}else o=null}o=o||{start:0,end:0}}else o=null;for(YC={focusedElem:e,selectionRange:o},hy=!1,en=t;en!==null;)if(t=en,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,en=e;else for(;en!==null;){switch(t=en,a=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o<e.length;o++)n=e[o],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&a!==null){e=void 0,o=t,n=a.memoizedProps,a=a.memoizedState,r=o.stateNode;try{var p=Yu(o.type,n);e=r.getSnapshotBeforeUpdate(p,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(h){_t(o,o.return,h)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)QC(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":QC(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(te(163))}if(e=t.sibling,e!==null){e.return=t.return,en=e;break}en=t.return}}function AD(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Xi(e,o),r&4&&sg(5,o);break;case 1:if(Xi(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(s){_t(o,o.return,s)}else{var n=Yu(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){_t(o,o.return,s)}}r&64&&ID(o),r&512&&Dh(o,o.return);break;case 3:if(Xi(e,o),r&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{PB(e,t)}catch(s){_t(o,o.return,s)}}break;case 27:t===null&&r&4&&TD(o);case 26:case 5:Xi(e,o),t===null&&r&4&&CD(o),r&512&&Dh(o,o.return);break;case 12:Xi(e,o);break;case 31:Xi(e,o),r&4&&LD(e,o);break;case 13:Xi(e,o),r&4&&PD(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=gJ.bind(null,o),RJ(e,o))));break;case 22:if(r=o.memoizedState!==null||Qi,!r){t=t!==null&&t.memoizedState!==null||Lr,n=Qi;var a=Lr;Qi=r,(Lr=t)&&!a?Yi(e,o,(o.subtreeFlags&8772)!==0):Xi(e,o),Qi=n,Lr=a}break;case 30:break;default:Xi(e,o)}}function kD(e){var t=e.alternate;t!==null&&(e.alternate=null,kD(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&cw(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var uo=null,ea=!1;function qi(e,t,o){for(o=o.child;o!==null;)MD(e,t,o),o=o.sibling}function MD(e,t,o){if(Pa&&typeof Pa.onCommitFiberUnmount=="function")try{Pa.onCommitFiberUnmount(Jh,o)}catch{}switch(o.tag){case 26:Lr||di(o,t),qi(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:Lr||di(o,t);var r=uo,n=ea;_c(o.type)&&(uo=o.stateNode,ea=!1),qi(e,t,o),Hh(o.stateNode),uo=r,ea=n;break;case 5:Lr||di(o,t);case 6:if(r=uo,n=ea,uo=null,qi(e,t,o),uo=r,ea=n,uo!==null)if(ea)try{(uo.nodeType===9?uo.body:uo.nodeName==="HTML"?uo.ownerDocument.body:uo).removeChild(o.stateNode)}catch(a){_t(o,t,a)}else try{uo.removeChild(o.stateNode)}catch(a){_t(o,t,a)}break;case 18:uo!==null&&(ea?(e=uo,SE(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),md(e)):SE(uo,o.stateNode));break;case 4:r=uo,n=ea,uo=o.stateNode.containerInfo,ea=!0,qi(e,t,o),uo=r,ea=n;break;case 0:case 11:case 14:case 15:Bc(2,o,t),Lr||Bc(4,o,t),qi(e,t,o);break;case 1:Lr||(di(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&vD(o,t,r)),qi(e,t,o);break;case 21:qi(e,t,o);break;case 22:Lr=(r=Lr)||o.memoizedState!==null,qi(e,t,o),Lr=r;break;default:qi(e,t,o)}}function LD(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{md(e)}catch(o){_t(t,t.return,o)}}}function PD(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{md(e)}catch(o){_t(t,t.return,o)}}function lJ(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new nE),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new nE),t;default:throw Error(te(435,e.tag))}}function Ib(e,t){var o=lJ(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=bJ.bind(null,e,r);r.then(n,n)}})}function Qn(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r],a=e,s=t,i=s;e:for(;i!==null;){switch(i.tag){case 27:if(_c(i.type)){uo=i.stateNode,ea=!1;break e}break;case 5:uo=i.stateNode,ea=!1;break e;case 3:case 4:uo=i.stateNode.containerInfo,ea=!0;break e}i=i.return}if(uo===null)throw Error(te(160));MD(a,s,n),uo=null,ea=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ED(t,e),t=t.sibling}var Hs=null;function ED(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Qn(t,e),Jn(e),r&4&&(Bc(3,e,e.return),sg(3,e),Bc(5,e,e.return));break;case 1:Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),r&64&&Qi&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?r:o.concat(r))));break;case 26:var n=Hs;if(Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),r&4){var a=o!==null?o.memoizedState:null;if(r=e.memoizedState,o===null)if(r===null)if(e.stateNode===null){e:{r=e.type,o=e.memoizedProps,n=n.ownerDocument||n;t:switch(r){case"title":a=n.getElementsByTagName("title")[0],(!a||a[og]||a[dn]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),gn(a,r,o),a[dn]=e,tn(a),r=a;break e;case"link":var s=AE("link","href",n).get(r+(o.href||""));if(s){for(var i=0;i<s.length;i++)if(a=s[i],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){s.splice(i,1);break t}}a=n.createElement(r),gn(a,r,o),n.head.appendChild(a);break;case"meta":if(s=AE("meta","content",n).get(r+(o.content||""))){for(i=0;i<s.length;i++)if(a=s[i],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){s.splice(i,1);break t}}a=n.createElement(r),gn(a,r,o),n.head.appendChild(a);break;default:throw Error(te(468,r))}a[dn]=e,tn(a),r=a}e.stateNode=r}else kE(n,e.type,e.stateNode);else e.stateNode=TE(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?kE(n,e.type,e.stateNode):TE(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Jv(e,e.memoizedProps,o.memoizedProps)}break;case 27:Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),o!==null&&r&4&&Jv(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),e.flags&32){n=e.stateNode;try{rd(n,"")}catch(p){_t(e,e.return,p)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,Jv(e,n,o!==null?o.memoizedProps:n)),r&1024&&(tC=!0);break;case 6:if(Qn(t,e),Jn(e),r&4){if(e.stateNode===null)throw Error(te(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(p){_t(e,e.return,p)}}break;case 3:if(Vb=null,n=Hs,Hs=fy(t.containerInfo),Qn(t,e),Hs=n,Jn(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{md(t.containerInfo)}catch(p){_t(e,e.return,p)}tC&&(tC=!1,BD(e));break;case 4:r=Hs,Hs=fy(e.stateNode.containerInfo),Qn(t,e),Jn(e),Hs=r;break;case 12:Qn(t,e),Jn(e);break;case 31:Qn(t,e),Jn(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ib(e,r)));break;case 13:Qn(t,e),Jn(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(My=La()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ib(e,r)));break;case 22:n=e.memoizedState!==null;var l=o!==null&&o.memoizedState!==null,c=Qi,u=Lr;if(Qi=c||n,Lr=u||l,Qn(t,e),Lr=u,Qi=c,Jn(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||l||Qi||Lr||Nu(e)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){l=o=t;try{if(a=l.stateNode,n)s=a.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{i=l.stateNode;var m=l.memoizedProps.style,f=m!=null&&m.hasOwnProperty("display")?m.display:null;i.style.display=f==null||typeof f=="boolean"?"":(""+f).trim()}}catch(p){_t(l,l.return,p)}}}else if(t.tag===6){if(o===null){l=t;try{l.stateNode.nodeValue=n?"":l.memoizedProps}catch(p){_t(l,l.return,p)}}}else if(t.tag===18){if(o===null){l=t;try{var d=l.stateNode;n?xE(d,!0):xE(l.stateNode,!1)}catch(p){_t(l,l.return,p)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(o=r.retryQueue,o!==null&&(r.retryQueue=null,Ib(e,o))));break;case 19:Qn(t,e),Jn(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Ib(e,r)));break;case 30:break;case 21:break;default:Qn(t,e),Jn(e)}}function Jn(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(wD(r)){o=r;break}r=r.return}if(o==null)throw Error(te(160));switch(o.tag){case 27:var n=o.stateNode,a=eC(e);ny(e,a,n);break;case 5:var s=o.stateNode;o.flags&32&&(rd(s,""),o.flags&=-33);var i=eC(e);ny(e,i,s);break;case 3:case 4:var l=o.stateNode.containerInfo,c=eC(e);WC(e,c,l);break;default:throw Error(te(161))}}catch(u){_t(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function BD(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;BD(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Xi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)AD(e,t.alternate,t),t=t.sibling}function Nu(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Bc(4,t,t.return),Nu(t);break;case 1:di(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&vD(t,t.return,o),Nu(t);break;case 27:Hh(t.stateNode);case 26:case 5:di(t,t.return),Nu(t);break;case 22:t.memoizedState===null&&Nu(t);break;case 30:Nu(t);break;default:Nu(t)}e=e.sibling}}function Yi(e,t,o){for(o=o&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,n=e,a=t,s=a.flags;switch(a.tag){case 0:case 11:case 15:Yi(n,a,o),sg(4,a);break;case 1:if(Yi(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(c){_t(r,r.return,c)}if(r=a,n=r.updateQueue,n!==null){var i=r.stateNode;try{var l=n.shared.hiddenCallbacks;if(l!==null)for(n.shared.hiddenCallbacks=null,n=0;n<l.length;n++)LB(l[n],i)}catch(c){_t(r,r.return,c)}}o&&s&64&&ID(a),Dh(a,a.return);break;case 27:TD(a);case 26:case 5:Yi(n,a,o),o&&r===null&&s&4&&CD(a),Dh(a,a.return);break;case 12:Yi(n,a,o);break;case 31:Yi(n,a,o),o&&s&4&&LD(n,a);break;case 13:Yi(n,a,o),o&&s&4&&PD(n,a);break;case 22:a.memoizedState===null&&Yi(n,a,o),Dh(a,a.return);break;case 30:break;default:Yi(n,a,o)}t=t.sibling}}function zw(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&ng(o))}function Ww(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ng(e))}function Fs(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)DD(e,t,o,r),t=t.sibling}function DD(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Fs(e,t,o,r),n&2048&&sg(9,t);break;case 1:Fs(e,t,o,r);break;case 3:Fs(e,t,o,r),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ng(e)));break;case 12:if(n&2048){Fs(e,t,o,r),e=t.stateNode;try{var a=t.memoizedProps,s=a.id,i=a.onPostCommit;typeof i=="function"&&i(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(l){_t(t,t.return,l)}}else Fs(e,t,o,r);break;case 31:Fs(e,t,o,r);break;case 13:Fs(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,s=t.alternate,t.memoizedState!==null?a._visibility&2?Fs(e,t,o,r):Rh(e,t):a._visibility&2?Fs(e,t,o,r):(a._visibility|=2,Rf(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&zw(s,t);break;case 24:Fs(e,t,o,r),n&2048&&Ww(t.alternate,t);break;default:Fs(e,t,o,r)}}function Rf(e,t,o,r,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,s=t,i=o,l=r,c=s.flags;switch(s.tag){case 0:case 11:case 15:Rf(a,s,i,l,n),sg(8,s);break;case 23:break;case 22:var u=s.stateNode;s.memoizedState!==null?u._visibility&2?Rf(a,s,i,l,n):Rh(a,s):(u._visibility|=2,Rf(a,s,i,l,n)),n&&c&2048&&zw(s.alternate,s);break;case 24:Rf(a,s,i,l,n),n&&c&2048&&Ww(s.alternate,s);break;default:Rf(a,s,i,l,n)}t=t.sibling}}function Rh(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,r=t,n=r.flags;switch(r.tag){case 22:Rh(o,r),n&2048&&zw(r.alternate,r);break;case 24:Rh(o,r),n&2048&&Ww(r.alternate,r);break;default:Rh(o,r)}t=t.sibling}}var wh=8192;function Df(e,t,o){if(e.subtreeFlags&wh)for(e=e.child;e!==null;)RD(e,t,o),e=e.sibling}function RD(e,t,o){switch(e.tag){case 26:Df(e,t,o),e.flags&wh&&e.memoizedState!==null&&GJ(o,Hs,e.memoizedState,e.memoizedProps);break;case 5:Df(e,t,o);break;case 3:case 4:var r=Hs;Hs=fy(e.stateNode.containerInfo),Df(e,t,o),Hs=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=wh,wh=16777216,Df(e,t,o),wh=r):Df(e,t,o));break;default:Df(e,t,o)}}function _D(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function bh(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];en=r,HD(r,e)}_D(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)FD(e),e=e.sibling}function FD(e){switch(e.tag){case 0:case 11:case 15:bh(e),e.flags&2048&&Bc(9,e,e.return);break;case 3:bh(e);break;case 12:bh(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Hb(e)):bh(e);break;default:bh(e)}}function Hb(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];en=r,HD(r,e)}_D(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Bc(8,t,t.return),Hb(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,Hb(t));break;default:Hb(t)}e=e.sibling}}function HD(e,t){for(;en!==null;){var o=en;switch(o.tag){case 0:case 11:case 15:Bc(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var r=o.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ng(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,en=r;else e:for(o=e;en!==null;){r=en;var n=r.sibling,a=r.return;if(kD(r),r===o){en=null;break e}if(n!==null){n.return=a,en=n;break e}en=a}}}var cJ={getCacheForType:function(e){var t=hn(Pr),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return hn(Pr).controller.signal}},uJ=typeof WeakMap=="function"?WeakMap:Map,Lt=0,jt=null,ct=null,mt=0,Rt=0,Ta=null,yc=!1,gd=!1,Uw=!1,cl=0,wo=0,Dc=0,ju=0,Zw=0,Ma=0,id=0,_h=null,ta=null,UC=!1,My=0,OD=0,ay=1/0,sy=null,Tc=null,Wr=0,Ac=null,ld=null,nl=0,ZC=0,jC=null,VD=null,Fh=0,GC=null;function Ba(){return(Lt&2)!==0&&mt!==0?mt&-mt:Oe.T!==null?Gw():qE()}function ND(){if(Ma===0)if((mt&536870912)===0||yt){var e=mb;mb<<=1,(mb&3932160)===0&&(mb=262144),Ma=e}else Ma=536870912;return e=Ra.current,e!==null&&(e.flags|=32),Ma}function oa(e,t,o){(e===jt&&(Rt===2||Rt===9)||e.cancelPendingCommit!==null)&&(cd(e,0),Sc(e,mt,Ma,!1)),tg(e,o),((Lt&2)===0||e!==jt)&&(e===jt&&((Lt&2)===0&&(ju|=o),wo===4&&Sc(e,mt,Ma,!1)),gi(e))}function zD(e,t,o){if((Lt&6)!==0)throw Error(te(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||eg(e,t),n=r?dJ(e,t):oC(e,t,!0),a=r;do{if(n===0){gd&&!r&&Sc(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!mJ(o)){n=oC(e,t,!1),a=!1;continue}if(n===2){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var i=e;n=_h;var l=i.current.memoizedState.isDehydrated;if(l&&(cd(i,s).flags|=256),s=oC(i,s,!1),s!==2){if(Uw&&!l){i.errorRecoveryDisabledLanes|=a,ju|=a,n=4;break e}a=ta,ta=n,a!==null&&(ta===null?ta=a:ta.push.apply(ta,a))}n=s}if(a=!1,n!==2)continue}}if(n===1){cd(e,0),Sc(e,t,0,!0);break}e:{switch(r=e,a=n,a){case 0:case 1:throw Error(te(345));case 4:if((t&4194048)!==t)break;case 6:Sc(r,t,Ma,!yc);break e;case 2:ta=null;break;case 3:case 5:break;default:throw Error(te(329))}if((t&62914560)===t&&(n=My+300-La(),10<n)){if(Sc(r,t,Ma,!yc),by(r,0,!0)!==0)break e;nl=t,r.timeoutHandle=iR(aE.bind(null,r,o,ta,sy,UC,t,Ma,ju,id,yc,a,"Throttled",-0,0),n);break e}aE(r,o,ta,sy,UC,t,Ma,ju,id,yc,a,null,-0,0)}}break}while(!0);gi(e)}function aE(e,t,o,r,n,a,s,i,l,c,u,m,f,d){if(e.timeoutHandle=-1,m=t.subtreeFlags,m&8192||(m&16785408)===16785408){m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:el},RD(t,a,m);var p=(a&62914560)===a?My-La():(a&4194048)===a?OD-La():0;if(p=$J(m,p),p!==null){nl=a,e.cancelPendingCommit=p(iE.bind(null,e,t,a,o,r,n,s,i,l,u,m,null,f,d)),Sc(e,a,s,!c);return}}iE(e,t,a,o,r,n,s,i,l)}function mJ(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!Da(a(),n))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Sc(e,t,o,r){t&=~Zw,t&=~ju,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-Ea(n),s=1<<a;r[a]=-1,n&=~s}o!==0&&jE(e,o,t)}function Ly(){return(Lt&6)===0?(ig(0,!1),!1):!0}function jw(){if(ct!==null){if(Rt===0)var e=ct.return;else e=ct,tl=tm=null,Pw(e),Qf=null,Zh=0,e=ct;for(;e!==null;)xD(e.alternate,e),e=e.return;ct=null}}function cd(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,LJ(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),nl=0,jw(),jt=e,ct=o=ol(e.current,null),mt=t,Rt=0,Ta=null,yc=!1,gd=eg(e,t),Uw=!1,id=Ma=Zw=ju=Dc=wo=0,ta=_h=null,UC=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var n=31-Ea(r),a=1<<n;t|=e[n],r&=~a}return cl=t,Iy(),o}function WD(e,t){Ye=null,Oe.H=Gh,t===hd||t===Cy?(t=H7(),Rt=3):t===Cw?(t=H7(),Rt=4):Rt=t===Vw?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ta=t,ct===null&&(wo=1,oy(e,ss(t,e.current)))}function UD(){var e=Ra.current;return e===null?!0:(mt&4194048)===mt?ls===null:(mt&62914560)===mt||(mt&536870912)!==0?e===ls:!1}function ZD(){var e=Oe.H;return Oe.H=Gh,e===null?Gh:e}function jD(){var e=Oe.A;return Oe.A=cJ,e}function iy(){wo=4,yc||(mt&4194048)!==mt&&Ra.current!==null||(gd=!0),(Dc&134217727)===0&&(ju&134217727)===0||jt===null||Sc(jt,mt,Ma,!1)}function oC(e,t,o){var r=Lt;Lt|=2;var n=ZD(),a=jD();(jt!==e||mt!==t)&&(sy=null,cd(e,t)),t=!1;var s=wo;e:do try{if(Rt!==0&&ct!==null){var i=ct,l=Ta;switch(Rt){case 8:jw(),s=6;break e;case 3:case 2:case 9:case 6:Ra.current===null&&(t=!0);var c=Rt;if(Rt=0,Ta=null,$f(e,i,l,c),o&&gd){s=0;break e}break;default:c=Rt,Rt=0,Ta=null,$f(e,i,l,c)}}fJ(),s=wo;break}catch(u){WD(e,u)}while(!0);return t&&e.shellSuspendCounter++,tl=tm=null,Lt=r,Oe.H=n,Oe.A=a,ct===null&&(jt=null,mt=0,Iy()),s}function fJ(){for(;ct!==null;)GD(ct)}function dJ(e,t){var o=Lt;Lt|=2;var r=ZD(),n=jD();jt!==e||mt!==t?(sy=null,ay=La()+500,cd(e,t)):gd=eg(e,t);e:do try{if(Rt!==0&&ct!==null){t=ct;var a=Ta;t:switch(Rt){case 1:Rt=0,Ta=null,$f(e,t,a,1);break;case 2:case 9:if(F7(a)){Rt=0,Ta=null,sE(t);break}t=function(){Rt!==2&&Rt!==9||jt!==e||(Rt=7),gi(e)},a.then(t,t);break e;case 3:Rt=7;break e;case 4:Rt=5;break e;case 7:F7(a)?(Rt=0,Ta=null,sE(t)):(Rt=0,Ta=null,$f(e,t,a,7));break;case 5:var s=null;switch(ct.tag){case 26:s=ct.memoizedState;case 5:case 27:var i=ct;if(s?fR(s):i.stateNode.complete){Rt=0,Ta=null;var l=i.sibling;if(l!==null)ct=l;else{var c=i.return;c!==null?(ct=c,Py(c)):ct=null}break t}}Rt=0,Ta=null,$f(e,t,a,5);break;case 6:Rt=0,Ta=null,$f(e,t,a,6);break;case 8:jw(),wo=6;break e;default:throw Error(te(462))}}pJ();break}catch(u){WD(e,u)}while(!0);return tl=tm=null,Oe.H=r,Oe.A=n,Lt=o,ct!==null?0:(jt=null,mt=0,Iy(),wo)}function pJ(){for(;ct!==null&&!HK();)GD(ct)}function GD(e){var t=SD(e.alternate,e,cl);e.memoizedProps=e.pendingProps,t===null?Py(e):ct=t}function sE(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=J7(o,t,t.pendingProps,t.type,void 0,mt);break;case 11:t=J7(o,t,t.pendingProps,t.type.render,t.ref,mt);break;case 5:Pw(t);default:xD(o,t),t=ct=xB(t,cl),t=SD(o,t,cl)}e.memoizedProps=e.pendingProps,t===null?Py(e):ct=t}function $f(e,t,o,r){tl=tm=null,Pw(t),Qf=null,Zh=0;var n=t.return;try{if(oJ(e,n,t,o,mt)){wo=1,oy(e,ss(o,e.current)),ct=null;return}}catch(a){if(n!==null)throw ct=n,a;wo=1,oy(e,ss(o,e.current)),ct=null;return}t.flags&32768?(yt||r===1?e=!0:gd||(mt&536870912)!==0?e=!1:(yc=e=!0,(r===2||r===9||r===3||r===6)&&(r=Ra.current,r!==null&&r.tag===13&&(r.flags|=16384))),$D(t,e)):Py(t)}function Py(e){var t=e;do{if((t.flags&32768)!==0){$D(t,yc);return}e=t.return;var o=aJ(t.alternate,t,cl);if(o!==null){ct=o;return}if(t=t.sibling,t!==null){ct=t;return}ct=t=e}while(t!==null);wo===0&&(wo=5)}function $D(e,t){do{var o=sJ(e.alternate,e);if(o!==null){o.flags&=32767,ct=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){ct=e;return}ct=e=o}while(e!==null);wo=6,ct=null}function iE(e,t,o,r,n,a,s,i,l){e.cancelPendingCommit=null;do Ey();while(Wr!==0);if((Lt&6)!==0)throw Error(te(327));if(t!==null){if(t===e.current)throw Error(te(177));if(a=t.lanes|t.childLanes,a|=gw,$K(e,o,a,s,i,l),e===jt&&(ct=jt=null,mt=0),ld=t,Ac=e,nl=o,ZC=a,jC=n,VD=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,yJ(jb,function(){return QD(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=Oe.T,Oe.T=null,n=Pt.p,Pt.p=2,s=Lt,Lt|=4;try{iJ(e,t,o)}finally{Lt=s,Pt.p=n,Oe.T=r}}Wr=1,qD(),XD(),YD()}}function qD(){if(Wr===1){Wr=0;var e=Ac,t=ld,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=Oe.T,Oe.T=null;var r=Pt.p;Pt.p=2;var n=Lt;Lt|=4;try{ED(t,e);var a=YC,s=fB(e.containerInfo),i=a.focusedElem,l=a.selectionRange;if(s!==i&&i&&i.ownerDocument&&mB(i.ownerDocument.documentElement,i)){if(l!==null&&hw(i)){var c=l.start,u=l.end;if(u===void 0&&(u=c),"selectionStart"in i)i.selectionStart=c,i.selectionEnd=Math.min(u,i.value.length);else{var m=i.ownerDocument||document,f=m&&m.defaultView||window;if(f.getSelection){var d=f.getSelection(),p=i.textContent.length,h=Math.min(l.start,p),S=l.end===void 0?h:Math.min(l.end,p);!d.extend&&h>S&&(s=S,S=h,h=s);var g=L7(i,h),b=L7(i,S);if(g&&b&&(d.rangeCount!==1||d.anchorNode!==g.node||d.anchorOffset!==g.offset||d.focusNode!==b.node||d.focusOffset!==b.offset)){var I=m.createRange();I.setStart(g.node,g.offset),d.removeAllRanges(),h>S?(d.addRange(I),d.extend(b.node,b.offset)):(I.setEnd(b.node,b.offset),d.addRange(I))}}}}for(m=[],d=i;d=d.parentNode;)d.nodeType===1&&m.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<m.length;i++){var v=m[i];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}hy=!!XC,YC=XC=null}finally{Lt=n,Pt.p=r,Oe.T=o}}e.current=t,Wr=2}}function XD(){if(Wr===2){Wr=0;var e=Ac,t=ld,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=Oe.T,Oe.T=null;var r=Pt.p;Pt.p=2;var n=Lt;Lt|=4;try{AD(e,t.alternate,t)}finally{Lt=n,Pt.p=r,Oe.T=o}}Wr=3}}function YD(){if(Wr===4||Wr===3){Wr=0,OK();var e=Ac,t=ld,o=nl,r=VD;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Wr=5:(Wr=0,ld=Ac=null,KD(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Tc=null),lw(o),t=t.stateNode,Pa&&typeof Pa.onCommitFiberRoot=="function")try{Pa.onCommitFiberRoot(Jh,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=Oe.T,n=Pt.p,Pt.p=2,Oe.T=null;try{for(var a=e.onRecoverableError,s=0;s<r.length;s++){var i=r[s];a(i.value,{componentStack:i.stack})}}finally{Oe.T=t,Pt.p=n}}(nl&3)!==0&&Ey(),gi(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===GC?Fh++:(Fh=0,GC=e):Fh=0,ig(0,!1)}}function KD(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ng(t)))}function Ey(){return qD(),XD(),YD(),QD()}function QD(){if(Wr!==5)return!1;var e=Ac,t=ZC;ZC=0;var o=lw(nl),r=Oe.T,n=Pt.p;try{Pt.p=32>o?32:o,Oe.T=null,o=jC,jC=null;var a=Ac,s=nl;if(Wr=0,ld=Ac=null,nl=0,(Lt&6)!==0)throw Error(te(331));var i=Lt;if(Lt|=4,FD(a.current),DD(a,a.current,s,o),Lt=i,ig(0,!1),Pa&&typeof Pa.onPostCommitFiberRoot=="function")try{Pa.onPostCommitFiberRoot(Jh,a)}catch{}return!0}finally{Pt.p=n,Oe.T=r,KD(e,t)}}function lE(e,t,o){t=ss(o,t),t=VC(e.stateNode,t,2),e=wc(e,t,2),e!==null&&(tg(e,2),gi(e))}function _t(e,t,o){if(e.tag===3)lE(e,e,o);else for(;t!==null;){if(t.tag===3){lE(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Tc===null||!Tc.has(r))){e=ss(o,e),o=dD(2),r=wc(t,o,2),r!==null&&(pD(o,r,t,e),tg(r,2),gi(r));break}}t=t.return}}function rC(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new uJ;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(Uw=!0,n.add(o),e=hJ.bind(null,e,t,o),t.then(e,e))}function hJ(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,jt===e&&(mt&o)===o&&(wo===4||wo===3&&(mt&62914560)===mt&&300>La()-My?(Lt&2)===0&&cd(e,0):Zw|=o,id===mt&&(id=0)),gi(e)}function JD(e,t){t===0&&(t=ZE()),e=em(e,t),e!==null&&(tg(e,t),gi(e))}function gJ(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),JD(e,o)}function bJ(e,t){var o=0;switch(e.tag){case 31:case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(te(314))}r!==null&&r.delete(t),JD(e,o)}function yJ(e,t){return sw(e,t)}var ly=null,_f=null,$C=!1,cy=!1,nC=!1,xc=0;function gi(e){e!==_f&&e.next===null&&(_f===null?ly=_f=e:_f=_f.next=e),cy=!0,$C||($C=!0,xJ())}function ig(e,t){if(!nC&&cy){nC=!0;do for(var o=!1,r=ly;r!==null;){if(!t)if(e!==0){var n=r.pendingLanes;if(n===0)var a=0;else{var s=r.suspendedLanes,i=r.pingedLanes;a=(1<<31-Ea(42|e)+1)-1,a&=n&~(s&~i),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,cE(r,a))}else a=mt,a=by(r,r===jt?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||eg(r,a)||(o=!0,cE(r,a));r=r.next}while(o);nC=!1}}function SJ(){eR()}function eR(){cy=$C=!1;var e=0;xc!==0&&MJ()&&(e=xc);for(var t=La(),o=null,r=ly;r!==null;){var n=r.next,a=tR(r,t);a===0?(r.next=null,o===null?ly=n:o.next=n,n===null&&(_f=o)):(o=r,(e!==0||(a&3)!==0)&&(cy=!0)),r=n}Wr!==0&&Wr!==5||ig(e,!1),xc!==0&&(xc=0)}function tR(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var s=31-Ea(a),i=1<<s,l=n[s];l===-1?((i&o)===0||(i&r)!==0)&&(n[s]=GK(i,t)):l<=t&&(e.expiredLanes|=i),a&=~i}if(t=jt,o=mt,o=by(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Rt===2||Rt===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Dv(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||eg(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&Dv(r),lw(o)){case 2:case 8:o=WE;break;case 32:o=jb;break;case 268435456:o=UE;break;default:o=jb}return r=oR.bind(null,e),o=sw(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&Dv(r),e.callbackPriority=2,e.callbackNode=null,2}function oR(e,t){if(Wr!==0&&Wr!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Ey()&&e.callbackNode!==o)return null;var r=mt;return r=by(e,e===jt?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(zD(e,r,t),tR(e,La()),e.callbackNode!=null&&e.callbackNode===o?oR.bind(null,e):null)}function cE(e,t){if(Ey())return null;zD(e,t,!0)}function xJ(){PJ(function(){(Lt&6)!==0?sw(zE,SJ):eR()})}function Gw(){if(xc===0){var e=nd;e===0&&(e=ub,ub<<=1,(ub&261888)===0&&(ub=256)),xc=e}return xc}function uE(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Mb(""+e)}function mE(e,t){var o=t.ownerDocument.createElement("input");return o.name=t.name,o.value=t.value,e.id&&o.setAttribute("form",e.id),t.parentNode.insertBefore(o,t),e=new FormData(e),o.parentNode.removeChild(o),e}function IJ(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=uE((n[ra]||null).action),s=r.submitter;s&&(t=(t=s[ra]||null)?uE(t.formAction):s.getAttribute("formAction"),t!==null&&(a=t,s=null));var i=new yy("action","action",null,r,n);e.push({event:i,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(xc!==0){var l=s?mE(n,s):new FormData(n);HC(o,{pending:!0,data:l,method:n.method,action:a},null,l)}}else typeof a=="function"&&(i.preventDefault(),l=s?mE(n,s):new FormData(n),HC(o,{pending:!0,data:l,method:n.method,action:a},a,l))},currentTarget:n}]})}}for(vb=0;vb<TC.length;vb++)Cb=TC[vb],fE=Cb.toLowerCase(),dE=Cb[0].toUpperCase()+Cb.slice(1),Os(fE,"on"+dE);var Cb,fE,dE,vb;Os(pB,"onAnimationEnd");Os(hB,"onAnimationIteration");Os(gB,"onAnimationStart");Os("dblclick","onDoubleClick");Os("focusin","onFocus");Os("focusout","onBlur");Os(VQ,"onTransitionRun");Os(NQ,"onTransitionStart");Os(zQ,"onTransitionCancel");Os(bB,"onTransitionEnd");od("onMouseEnter",["mouseout","mouseover"]);od("onMouseLeave",["mouseout","mouseover"]);od("onPointerEnter",["pointerout","pointerover"]);od("onPointerLeave",["pointerout","pointerover"]);Ku("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ku("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ku("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ku("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ku("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ku("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $h="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),vJ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($h));function rR(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var r=e[o],n=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var s=r.length-1;0<=s;s--){var i=r[s],l=i.instance,c=i.currentTarget;if(i=i.listener,l!==a&&n.isPropagationStopped())break e;a=i,n.currentTarget=c;try{a(n)}catch(u){$b(u)}n.currentTarget=null,a=l}else for(s=0;s<r.length;s++){if(i=r[s],l=i.instance,c=i.currentTarget,i=i.listener,l!==a&&n.isPropagationStopped())break e;a=i,n.currentTarget=c;try{a(n)}catch(u){$b(u)}n.currentTarget=null,a=l}}}}function lt(e,t){var o=t[bC];o===void 0&&(o=t[bC]=new Set);var r=e+"__bubble";o.has(r)||(nR(t,e,2,!1),o.add(r))}function aC(e,t,o){var r=0;t&&(r|=4),nR(o,e,r,t)}var wb="_reactListening"+Math.random().toString(36).slice(2);function $w(e){if(!e[wb]){e[wb]=!0,XE.forEach(function(o){o!=="selectionchange"&&(vJ.has(o)||aC(o,!1,e),aC(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wb]||(t[wb]=!0,aC("selectionchange",!1,t))}}function nR(e,t,o,r){switch(bR(t)){case 2:var n=YJ;break;case 8:n=KJ;break;default:n=Kw}o=n.bind(null,t,o,e),n=void 0,!vC||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,o,{capture:!0,passive:n}):e.addEventListener(t,o,!0):n!==void 0?e.addEventListener(t,o,{passive:n}):e.addEventListener(t,o,!1)}function sC(e,t,o,r,n){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var i=r.stateNode.containerInfo;if(i===n)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;i!==null;){if(s=Of(i),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue e}i=i.parentNode}}r=r.return}rB(function(){var c=a,u=mw(o),m=[];e:{var f=yB.get(e);if(f!==void 0){var d=yy,p=e;switch(e){case"keypress":if(Pb(o)===0)break e;case"keydown":case"keyup":d=bQ;break;case"focusin":p="focus",d=Ov;break;case"focusout":p="blur",d=Ov;break;case"beforeblur":case"afterblur":d=Ov;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=x7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=aQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=xQ;break;case pB:case hB:case gB:d=lQ;break;case bB:d=vQ;break;case"scroll":case"scrollend":d=rQ;break;case"wheel":d=wQ;break;case"copy":case"cut":case"paste":d=uQ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=v7;break;case"toggle":case"beforetoggle":d=AQ}var h=(t&4)!==0,S=!h&&(e==="scroll"||e==="scrollend"),g=h?f!==null?f+"Capture":null:f;h=[];for(var b=c,I;b!==null;){var v=b;if(I=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||I===null||g===null||(v=Vh(b,g),v!=null&&h.push(qh(b,v,I))),S)break;b=b.return}0<h.length&&(f=new d(f,p,null,o,u),m.push({event:f,listeners:h}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",f&&o!==IC&&(p=o.relatedTarget||o.fromElement)&&(Of(p)||p[fd]))break e;if((d||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,d?(p=o.relatedTarget||o.toElement,d=c,p=p?Of(p):null,p!==null&&(S=Qh(p),h=p.tag,p!==S||h!==5&&h!==27&&h!==6)&&(p=null)):(d=null,p=c),d!==p)){if(h=x7,v="onMouseLeave",g="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(h=v7,v="onPointerLeave",g="onPointerEnter",b="pointer"),S=d==null?f:vh(d),I=p==null?f:vh(p),f=new h(v,b+"leave",d,o,u),f.target=S,f.relatedTarget=I,v=null,Of(u)===c&&(h=new h(g,b+"enter",p,o,u),h.target=I,h.relatedTarget=S,v=h),S=v,d&&p)t:{for(h=CJ,g=d,b=p,I=0,v=g;v;v=h(v))I++;v=0;for(var C=b;C;C=h(C))v++;for(;0<I-v;)g=h(g),I--;for(;0<v-I;)b=h(b),v--;for(;I--;){if(g===b||b!==null&&g===b.alternate){h=g;break t}g=h(g),b=h(b)}h=null}else h=null;d!==null&&pE(m,f,d,h,!1),p!==null&&S!==null&&pE(m,S,p,h,!0)}}e:{if(f=c?vh(c):window,d=f.nodeName&&f.nodeName.toLowerCase(),d==="select"||d==="input"&&f.type==="file")var T=A7;else if(T7(f))if(cB)T=FQ;else{T=RQ;var w=DQ}else d=f.nodeName,!d||d.toLowerCase()!=="input"||f.type!=="checkbox"&&f.type!=="radio"?c&&uw(c.elementType)&&(T=A7):T=_Q;if(T&&(T=T(e,c))){lB(m,T,o,u);break e}w&&w(e,f,c),e==="focusout"&&c&&f.type==="number"&&c.memoizedProps.value!=null&&xC(f,"number",f.value)}switch(w=c?vh(c):window,e){case"focusin":(T7(w)||w.contentEditable==="true")&&(zf=w,CC=c,kh=null);break;case"focusout":kh=CC=zf=null;break;case"mousedown":wC=!0;break;case"contextmenu":case"mouseup":case"dragend":wC=!1,P7(m,o,u);break;case"selectionchange":if(OQ)break;case"keydown":case"keyup":P7(m,o,u)}var P;if(pw)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else Nf?sB(e,o)&&(k="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(k="onCompositionStart");k&&(aB&&o.locale!=="ko"&&(Nf||k!=="onCompositionStart"?k==="onCompositionEnd"&&Nf&&(P=nB()):(bc=u,fw="value"in bc?bc.value:bc.textContent,Nf=!0)),w=uy(c,k),0<w.length&&(k=new I7(k,e,null,o,u),m.push({event:k,listeners:w}),P?k.data=P:(P=iB(o),P!==null&&(k.data=P)))),(P=MQ?LQ(e,o):PQ(e,o))&&(k=uy(c,"onBeforeInput"),0<k.length&&(w=new I7("onBeforeInput","beforeinput",null,o,u),m.push({event:w,listeners:k}),w.data=P)),IJ(m,e,c,o,u)}rR(m,t)})}function qh(e,t,o){return{instance:e,listener:t,currentTarget:o}}function uy(e,t){for(var o=t+"Capture",r=[];e!==null;){var n=e,a=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||a===null||(n=Vh(e,o),n!=null&&r.unshift(qh(e,n,a)),n=Vh(e,t),n!=null&&r.push(qh(e,n,a))),e.tag===3)return r;e=e.return}return[]}function CJ(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function pE(e,t,o,r,n){for(var a=t._reactName,s=[];o!==null&&o!==r;){var i=o,l=i.alternate,c=i.stateNode;if(i=i.tag,l!==null&&l===r)break;i!==5&&i!==26&&i!==27||c===null||(l=c,n?(c=Vh(o,a),c!=null&&s.unshift(qh(o,c,l))):n||(c=Vh(o,a),c!=null&&s.push(qh(o,c,l)))),o=o.return}s.length!==0&&e.push({event:t,listeners:s})}var wJ=/\r\n?/g,TJ=/\u0000|\uFFFD/g;function hE(e){return(typeof e=="string"?e:""+e).replace(wJ,`
|
|
821
|
+
`).replace(TJ,"")}function aR(e,t){return t=hE(t),hE(e)===t}function Vt(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||rd(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&rd(e,""+r);break;case"className":db(e,"class",r);break;case"tabIndex":db(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":db(e,o,r);break;case"style":oB(e,r,a);break;case"data":if(t!=="object"){db(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Mb(""+r),e.setAttribute(o,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof a=="function"&&(o==="formAction"?(t!=="input"&&Vt(e,t,"name",n.name,n,null),Vt(e,t,"formEncType",n.formEncType,n,null),Vt(e,t,"formMethod",n.formMethod,n,null),Vt(e,t,"formTarget",n.formTarget,n,null)):(Vt(e,t,"encType",n.encType,n,null),Vt(e,t,"method",n.method,n,null),Vt(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Mb(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=el);break;case"onScroll":r!=null&<("scroll",e);break;case"onScrollEnd":r!=null&<("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(te(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(te(60));e.innerHTML=o}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}o=Mb(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""+r):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":r===!0?e.setAttribute(o,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,r):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(o,r):e.removeAttribute(o);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(o):e.setAttribute(o,r);break;case"popover":lt("beforetoggle",e),lt("toggle",e),kb(e,"popover",r);break;case"xlinkActuate":Gi(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Gi(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Gi(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Gi(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Gi(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Gi(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Gi(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Gi(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Gi(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":kb(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=tQ.get(o)||o,kb(e,o,r))}}function qC(e,t,o,r,n,a){switch(o){case"style":oB(e,r,a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(te(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(te(60));e.innerHTML=o}}break;case"children":typeof r=="string"?rd(e,r):(typeof r=="number"||typeof r=="bigint")&&rd(e,""+r);break;case"onScroll":r!=null&<("scroll",e);break;case"onScrollEnd":r!=null&<("scrollend",e);break;case"onClick":r!=null&&(e.onclick=el);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!YE.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(n=o.endsWith("Capture"),t=o.slice(2,n?o.length-7:void 0),a=e[ra]||null,a=a!=null?a[o]:null,typeof a=="function"&&e.removeEventListener(t,a,n),typeof r=="function")){typeof a!="function"&&a!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(t,r,n);break e}o in e?e[o]=r:r===!0?e.setAttribute(o,""):kb(e,o,r)}}}function gn(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":lt("error",e),lt("load",e);var r=!1,n=!1,a;for(a in o)if(o.hasOwnProperty(a)){var s=o[a];if(s!=null)switch(a){case"src":r=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(te(137,t));default:Vt(e,t,a,s,o,null)}}n&&Vt(e,t,"srcSet",o.srcSet,o,null),r&&Vt(e,t,"src",o.src,o,null);return;case"input":lt("invalid",e);var i=a=s=n=null,l=null,c=null;for(r in o)if(o.hasOwnProperty(r)){var u=o[r];if(u!=null)switch(r){case"name":n=u;break;case"type":s=u;break;case"checked":l=u;break;case"defaultChecked":c=u;break;case"value":a=u;break;case"defaultValue":i=u;break;case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(te(137,t));break;default:Vt(e,t,r,u,o,null)}}JE(e,a,i,l,c,s,n,!1);return;case"select":lt("invalid",e),r=s=a=null;for(n in o)if(o.hasOwnProperty(n)&&(i=o[n],i!=null))switch(n){case"value":a=i;break;case"defaultValue":s=i;break;case"multiple":r=i;default:Vt(e,t,n,i,o,null)}t=a,o=s,e.multiple=!!r,t!=null?Xf(e,!!r,t,!1):o!=null&&Xf(e,!!r,o,!0);return;case"textarea":lt("invalid",e),a=n=r=null;for(s in o)if(o.hasOwnProperty(s)&&(i=o[s],i!=null))switch(s){case"value":r=i;break;case"defaultValue":n=i;break;case"children":a=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(te(91));break;default:Vt(e,t,s,i,o,null)}tB(e,r,n,a);return;case"option":for(l in o)if(o.hasOwnProperty(l)&&(r=o[l],r!=null))switch(l){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:Vt(e,t,l,r,o,null)}return;case"dialog":lt("beforetoggle",e),lt("toggle",e),lt("cancel",e),lt("close",e);break;case"iframe":case"object":lt("load",e);break;case"video":case"audio":for(r=0;r<$h.length;r++)lt($h[r],e);break;case"image":lt("error",e),lt("load",e);break;case"details":lt("toggle",e);break;case"embed":case"source":case"link":lt("error",e),lt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in o)if(o.hasOwnProperty(c)&&(r=o[c],r!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(te(137,t));default:Vt(e,t,c,r,o,null)}return;default:if(uw(t)){for(u in o)o.hasOwnProperty(u)&&(r=o[u],r!==void 0&&qC(e,t,u,r,o,void 0));return}}for(i in o)o.hasOwnProperty(i)&&(r=o[i],r!=null&&Vt(e,t,i,r,o,null))}function AJ(e,t,o,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,a=null,s=null,i=null,l=null,c=null,u=null;for(d in o){var m=o[d];if(o.hasOwnProperty(d)&&m!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":l=m;default:r.hasOwnProperty(d)||Vt(e,t,d,null,r,m)}}for(var f in r){var d=r[f];if(m=o[f],r.hasOwnProperty(f)&&(d!=null||m!=null))switch(f){case"type":a=d;break;case"name":n=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":s=d;break;case"defaultValue":i=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(te(137,t));break;default:d!==m&&Vt(e,t,f,d,r,m)}}SC(e,s,i,l,c,u,a,n);return;case"select":d=s=i=f=null;for(a in o)if(l=o[a],o.hasOwnProperty(a)&&l!=null)switch(a){case"value":break;case"multiple":d=l;default:r.hasOwnProperty(a)||Vt(e,t,a,null,r,l)}for(n in r)if(a=r[n],l=o[n],r.hasOwnProperty(n)&&(a!=null||l!=null))switch(n){case"value":f=a;break;case"defaultValue":i=a;break;case"multiple":s=a;default:a!==l&&Vt(e,t,n,a,r,l)}t=i,o=s,r=d,f!=null?Xf(e,!!o,f,!1):!!r!=!!o&&(t!=null?Xf(e,!!o,t,!0):Xf(e,!!o,o?[]:"",!1));return;case"textarea":d=f=null;for(i in o)if(n=o[i],o.hasOwnProperty(i)&&n!=null&&!r.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:Vt(e,t,i,null,r,n)}for(s in r)if(n=r[s],a=o[s],r.hasOwnProperty(s)&&(n!=null||a!=null))switch(s){case"value":f=n;break;case"defaultValue":d=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(te(91));break;default:n!==a&&Vt(e,t,s,n,r,a)}eB(e,f,d);return;case"option":for(var p in o)if(f=o[p],o.hasOwnProperty(p)&&f!=null&&!r.hasOwnProperty(p))switch(p){case"selected":e.selected=!1;break;default:Vt(e,t,p,null,r,f)}for(l in r)if(f=r[l],d=o[l],r.hasOwnProperty(l)&&f!==d&&(f!=null||d!=null))switch(l){case"selected":e.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:Vt(e,t,l,f,r,d)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var h in o)f=o[h],o.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&Vt(e,t,h,null,r,f);for(c in r)if(f=r[c],d=o[c],r.hasOwnProperty(c)&&f!==d&&(f!=null||d!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(te(137,t));break;default:Vt(e,t,c,f,r,d)}return;default:if(uw(t)){for(var S in o)f=o[S],o.hasOwnProperty(S)&&f!==void 0&&!r.hasOwnProperty(S)&&qC(e,t,S,void 0,r,f);for(u in r)f=r[u],d=o[u],!r.hasOwnProperty(u)||f===d||f===void 0&&d===void 0||qC(e,t,u,f,r,d);return}}for(var g in o)f=o[g],o.hasOwnProperty(g)&&f!=null&&!r.hasOwnProperty(g)&&Vt(e,t,g,null,r,f);for(m in r)f=r[m],d=o[m],!r.hasOwnProperty(m)||f===d||f==null&&d==null||Vt(e,t,m,f,r,d)}function gE(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function kJ(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),r=0;r<o.length;r++){var n=o[r],a=n.transferSize,s=n.initiatorType,i=n.duration;if(a&&i&&gE(s)){for(s=0,i=n.responseEnd,r+=1;r<o.length;r++){var l=o[r],c=l.startTime;if(c>i)break;var u=l.transferSize,m=l.initiatorType;u&&gE(m)&&(l=l.responseEnd,s+=u*(l<i?1:(i-c)/(l-c)))}if(--r,t+=8*(a+s)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var XC=null,YC=null;function my(e){return e.nodeType===9?e:e.ownerDocument}function bE(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function sR(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function KC(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var iC=null;function MJ(){var e=window.event;return e&&e.type==="popstate"?e===iC?!1:(iC=e,!0):(iC=null,!1)}var iR=typeof setTimeout=="function"?setTimeout:void 0,LJ=typeof clearTimeout=="function"?clearTimeout:void 0,yE=typeof Promise=="function"?Promise:void 0,PJ=typeof queueMicrotask=="function"?queueMicrotask:typeof yE<"u"?function(e){return yE.resolve(null).then(e).catch(EJ)}:iR;function EJ(e){setTimeout(function(){throw e})}function _c(e){return e==="head"}function SE(e,t){var o=t,r=0;do{var n=o.nextSibling;if(e.removeChild(o),n&&n.nodeType===8)if(o=n.data,o==="/$"||o==="/&"){if(r===0){e.removeChild(n),md(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Hh(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Hh(o);for(var a=o.firstChild;a;){var s=a.nextSibling,i=a.nodeName;a[og]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=s}}else o==="body"&&Hh(e.ownerDocument.body);o=n}while(o);md(t)}function xE(e,t){var o=e;e=0;do{var r=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),r&&r.nodeType===8)if(o=r.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=r}while(o)}function QC(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":QC(o),cw(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function BJ(e,t,o,r){for(;e.nodeType===1;){var n=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[og])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(a=e.getAttribute("rel"),a==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(a!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(a=e.getAttribute("src"),(a!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var a=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===a)return e}else return e;if(e=cs(e.nextSibling),e===null)break}return null}function DJ(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=cs(e.nextSibling),e===null))return null;return e}function lR(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=cs(e.nextSibling),e===null))return null;return e}function JC(e){return e.data==="$?"||e.data==="$~"}function ew(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function RJ(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var r=function(){t(),o.removeEventListener("DOMContentLoaded",r)};o.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function cs(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var tw=null;function IE(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return cs(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function vE(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function cR(e,t,o){switch(t=my(o),e){case"html":if(e=t.documentElement,!e)throw Error(te(452));return e;case"head":if(e=t.head,!e)throw Error(te(453));return e;case"body":if(e=t.body,!e)throw Error(te(454));return e;default:throw Error(te(451))}}function Hh(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);cw(e)}var us=new Map,CE=new Set;function fy(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ul=Pt.d;Pt.d={f:_J,r:FJ,D:HJ,C:OJ,L:VJ,m:NJ,X:WJ,S:zJ,M:UJ};function _J(){var e=ul.f(),t=Ly();return e||t}function FJ(e){var t=dd(e);t!==null&&t.tag===5&&t.type==="form"?oD(t):ul.r(e)}var bd=typeof document>"u"?null:document;function uR(e,t,o){var r=bd;if(r&&typeof t=="string"&&t){var n=as(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),CE.has(n)||(CE.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),gn(t,"link",e),tn(t),r.head.appendChild(t)))}}function HJ(e){ul.D(e),uR("dns-prefetch",e,null)}function OJ(e,t){ul.C(e,t),uR("preconnect",e,t)}function VJ(e,t,o){ul.L(e,t,o);var r=bd;if(r&&e&&t){var n='link[rel="preload"][as="'+as(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+as(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+as(o.imageSizes)+'"]')):n+='[href="'+as(e)+'"]';var a=n;switch(t){case"style":a=ud(e);break;case"script":a=yd(e)}us.has(a)||(e=ro({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),us.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(lg(a))||t==="script"&&r.querySelector(cg(a))||(t=r.createElement("link"),gn(t,"link",e),tn(t),r.head.appendChild(t)))}}function NJ(e,t){ul.m(e,t);var o=bd;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+as(r)+'"][href="'+as(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=yd(e)}if(!us.has(a)&&(e=ro({rel:"modulepreload",href:e},t),us.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(cg(a)))return}r=o.createElement("link"),gn(r,"link",e),tn(r),o.head.appendChild(r)}}}function zJ(e,t,o){ul.S(e,t,o);var r=bd;if(r&&e){var n=qf(r).hoistableStyles,a=ud(e);t=t||"default";var s=n.get(a);if(!s){var i={loading:0,preload:null};if(s=r.querySelector(lg(a)))i.loading=5;else{e=ro({rel:"stylesheet",href:e,"data-precedence":t},o),(o=us.get(a))&&qw(e,o);var l=s=r.createElement("link");tn(l),gn(l,"link",e),l._p=new Promise(function(c,u){l.onload=c,l.onerror=u}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Ob(s,t,r)}s={type:"stylesheet",instance:s,count:1,state:i},n.set(a,s)}}}function WJ(e,t){ul.X(e,t);var o=bd;if(o&&e){var r=qf(o).hoistableScripts,n=yd(e),a=r.get(n);a||(a=o.querySelector(cg(n)),a||(e=ro({src:e,async:!0},t),(t=us.get(n))&&Xw(e,t),a=o.createElement("script"),tn(a),gn(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function UJ(e,t){ul.M(e,t);var o=bd;if(o&&e){var r=qf(o).hoistableScripts,n=yd(e),a=r.get(n);a||(a=o.querySelector(cg(n)),a||(e=ro({src:e,async:!0,type:"module"},t),(t=us.get(n))&&Xw(e,t),a=o.createElement("script"),tn(a),gn(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function wE(e,t,o,r){var n=(n=Ic.current)?fy(n):null;if(!n)throw Error(te(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=ud(o.href),o=qf(n).hoistableStyles,r=o.get(t),r||(r={type:"style",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=ud(o.href);var a=qf(n).hoistableStyles,s=a.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,s),(a=n.querySelector(lg(e)))&&!a._p&&(s.instance=a,s.state.loading=5),us.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},us.set(e,o),a||ZJ(n,e,o,s.state))),t&&r===null)throw Error(te(528,""));return s}if(t&&r!==null)throw Error(te(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=yd(o),o=qf(n).hoistableScripts,r=o.get(t),r||(r={type:"script",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(te(444,e))}}function ud(e){return'href="'+as(e)+'"'}function lg(e){return'link[rel="stylesheet"]['+e+"]"}function mR(e){return ro({},e,{"data-precedence":e.precedence,precedence:null})}function ZJ(e,t,o,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),gn(t,"link",o),tn(t),e.head.appendChild(t))}function yd(e){return'[src="'+as(e)+'"]'}function cg(e){return"script[async]"+e}function TE(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+as(o.href)+'"]');if(r)return t.instance=r,tn(r),r;var n=ro({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),tn(r),gn(r,"style",n),Ob(r,o.precedence,e),t.instance=r;case"stylesheet":n=ud(o.href);var a=e.querySelector(lg(n));if(a)return t.state.loading|=4,t.instance=a,tn(a),a;r=mR(o),(n=us.get(n))&&qw(r,n),a=(e.ownerDocument||e).createElement("link"),tn(a);var s=a;return s._p=new Promise(function(i,l){s.onload=i,s.onerror=l}),gn(a,"link",r),t.state.loading|=4,Ob(a,o.precedence,e),t.instance=a;case"script":return a=yd(o.src),(n=e.querySelector(cg(a)))?(t.instance=n,tn(n),n):(r=o,(n=us.get(a))&&(r=ro({},o),Xw(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),tn(n),gn(n,"link",r),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(te(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Ob(r,o.precedence,e));return t.instance}function Ob(e,t,o){for(var r=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=r.length?r[r.length-1]:null,a=n,s=0;s<r.length;s++){var i=r[s];if(i.dataset.precedence===t)a=i;else if(a!==n)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function qw(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Xw(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Vb=null;function AE(e,t,o){if(Vb===null){var r=new Map,n=Vb=new Map;n.set(o,r)}else n=Vb,r=n.get(o),r||(r=new Map,n.set(o,r));if(r.has(e))return r;for(r.set(e,null),o=o.getElementsByTagName(e),n=0;n<o.length;n++){var a=o[n];if(!(a[og]||a[dn]||e==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var s=a.getAttribute(t)||"";s=e+s;var i=r.get(s);i?i.push(a):r.set(s,[a])}}return r}function kE(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function jJ(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function fR(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function GJ(e,t,o,r){if(o.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var n=ud(r.href),a=t.querySelector(lg(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=dy.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,tn(a);return}a=t.ownerDocument||t,r=mR(r),(n=us.get(n))&&qw(r,n),a=a.createElement("link"),tn(a);var s=a;s._p=new Promise(function(i,l){s.onload=i,s.onerror=l}),gn(a,"link",r),o.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=dy.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var lC=0;function $J(e,t){return e.stylesheets&&e.count===0&&Nb(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&Nb(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&lC===0&&(lC=62500*kJ());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Nb(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>lC?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function dy(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Nb(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var py=null;function Nb(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,py=new Map,t.forEach(qJ,e),py=null,dy.call(e))}function qJ(e,t){if(!(t.state.loading&4)){var o=py.get(e);if(o)var r=o.get(null);else{o=new Map,py.set(e,o);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<n.length;a++){var s=n[a];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(o.set(s.dataset.precedence,s),r=s)}r&&o.set(null,r)}n=t.instance,s=n.getAttribute("data-precedence"),a=o.get(s)||r,a===r&&o.set(null,n),o.set(s,n),this.count++,r=dy.bind(this),n.addEventListener("load",r),n.addEventListener("error",r),a?a.parentNode.insertBefore(n,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Xh={$$typeof:Ji,Provider:null,Consumer:null,_currentValue:zu,_currentValue2:zu,_threadCount:0};function XJ(e,t,o,r,n,a,s,i,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Rv(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rv(0),this.hiddenUpdates=Rv(null),this.identifierPrefix=r,this.onUncaughtError=n,this.onCaughtError=a,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function dR(e,t,o,r,n,a,s,i,l,c,u,m){return e=new XJ(e,t,o,s,l,c,u,m,i),t=1,a===!0&&(t|=24),a=ka(3,null,null,t),e.current=a,a.stateNode=e,t=Iw(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},ww(a),e}function pR(e){return e?(e=Zf,e):Zf}function hR(e,t,o,r,n,a){n=pR(n),r.context===null?r.context=n:r.pendingContext=n,r=Cc(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=wc(e,r,t),o!==null&&(oa(o,e,t),Lh(o,e,t))}function ME(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Yw(e,t){ME(e,t),(e=e.alternate)&&ME(e,t)}function gR(e){if(e.tag===13||e.tag===31){var t=em(e,67108864);t!==null&&oa(t,e,67108864),Yw(e,67108864)}}function LE(e){if(e.tag===13||e.tag===31){var t=Ba();t=iw(t);var o=em(e,t);o!==null&&oa(o,e,t),Yw(e,t)}}var hy=!0;function YJ(e,t,o,r){var n=Oe.T;Oe.T=null;var a=Pt.p;try{Pt.p=2,Kw(e,t,o,r)}finally{Pt.p=a,Oe.T=n}}function KJ(e,t,o,r){var n=Oe.T;Oe.T=null;var a=Pt.p;try{Pt.p=8,Kw(e,t,o,r)}finally{Pt.p=a,Oe.T=n}}function Kw(e,t,o,r){if(hy){var n=ow(r);if(n===null)sC(e,t,r,gy,o),PE(e,r);else if(JJ(n,e,t,o,r))r.stopPropagation();else if(PE(e,r),t&4&&-1<QJ.indexOf(e)){for(;n!==null;){var a=dd(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var s=Ou(a.pendingLanes);if(s!==0){var i=a;for(i.pendingLanes|=2,i.entangledLanes|=2;s;){var l=1<<31-Ea(s);i.entanglements[1]|=l,s&=~l}gi(a),(Lt&6)===0&&(ay=La()+500,ig(0,!1))}}break;case 31:case 13:i=em(a,2),i!==null&&oa(i,a,2),Ly(),Yw(a,2)}if(a=ow(r),a===null&&sC(e,t,r,gy,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else sC(e,t,r,null,o)}}function ow(e){return e=mw(e),Qw(e)}var gy=null;function Qw(e){if(gy=null,e=Of(e),e!==null){var t=Qh(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=FE(t),e!==null)return e;e=null}else if(o===31){if(e=HE(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return gy=e,null}function bR(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(VK()){case zE:return 2;case WE:return 8;case jb:case NK:return 32;case UE:return 268435456;default:return 32}default:return 32}}var rw=!1,kc=null,Mc=null,Lc=null,Yh=new Map,Kh=new Map,hc=[],QJ="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function PE(e,t){switch(e){case"focusin":case"focusout":kc=null;break;case"dragenter":case"dragleave":Mc=null;break;case"mouseover":case"mouseout":Lc=null;break;case"pointerover":case"pointerout":Yh.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kh.delete(t.pointerId)}}function yh(e,t,o,r,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:o,eventSystemFlags:r,nativeEvent:a,targetContainers:[n]},t!==null&&(t=dd(t),t!==null&&gR(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function JJ(e,t,o,r,n){switch(t){case"focusin":return kc=yh(kc,e,t,o,r,n),!0;case"dragenter":return Mc=yh(Mc,e,t,o,r,n),!0;case"mouseover":return Lc=yh(Lc,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Yh.set(a,yh(Yh.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Kh.set(a,yh(Kh.get(a)||null,e,t,o,r,n)),!0}return!1}function yR(e){var t=Of(e.target);if(t!==null){var o=Qh(t);if(o!==null){if(t=o.tag,t===13){if(t=FE(o),t!==null){e.blockedOn=t,d7(e.priority,function(){LE(o)});return}}else if(t===31){if(t=HE(o),t!==null){e.blockedOn=t,d7(e.priority,function(){LE(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zb(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=ow(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);IC=r,o.target.dispatchEvent(r),IC=null}else return t=dd(o),t!==null&&gR(t),e.blockedOn=o,!1;t.shift()}return!0}function EE(e,t,o){zb(e)&&o.delete(t)}function eee(){rw=!1,kc!==null&&zb(kc)&&(kc=null),Mc!==null&&zb(Mc)&&(Mc=null),Lc!==null&&zb(Lc)&&(Lc=null),Yh.forEach(EE),Kh.forEach(EE)}function Tb(e,t){e.blockedOn===t&&(e.blockedOn=null,rw||(rw=!0,Ur.unstable_scheduleCallback(Ur.unstable_NormalPriority,eee)))}var Ab=null;function BE(e){Ab!==e&&(Ab=e,Ur.unstable_scheduleCallback(Ur.unstable_NormalPriority,function(){Ab===e&&(Ab=null);for(var t=0;t<e.length;t+=3){var o=e[t],r=e[t+1],n=e[t+2];if(typeof r!="function"){if(Qw(r||o)===null)continue;break}var a=dd(o);a!==null&&(e.splice(t,3),t-=3,HC(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function md(e){function t(l){return Tb(l,e)}kc!==null&&Tb(kc,e),Mc!==null&&Tb(Mc,e),Lc!==null&&Tb(Lc,e),Yh.forEach(t),Kh.forEach(t);for(var o=0;o<hc.length;o++){var r=hc[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<hc.length&&(o=hc[0],o.blockedOn===null);)yR(o),o.blockedOn===null&&hc.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(r=0;r<o.length;r+=3){var n=o[r],a=o[r+1],s=n[ra]||null;if(typeof a=="function")s||BE(o);else if(s){var i=null;if(a&&a.hasAttribute("formAction")){if(n=a,s=a[ra]||null)i=s.formAction;else if(Qw(n)!==null)continue}else i=s.action;typeof i=="function"?o[r+1]=i:(o.splice(r,3),r-=3),BE(o)}}}function SR(){function e(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),r||setTimeout(o,20)}function o(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Jw(e){this._internalRoot=e}By.prototype.render=Jw.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(te(409));var o=t.current,r=Ba();hR(o,r,e,t,null,null)};By.prototype.unmount=Jw.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;hR(e.current,2,null,e,null,null),Ly(),t[fd]=null}};function By(e){this._internalRoot=e}By.prototype.unstable_scheduleHydration=function(e){if(e){var t=qE();e={blockedOn:null,target:e,priority:t};for(var o=0;o<hc.length&&t!==0&&t<hc[o].priority;o++);hc.splice(o,0,e),o===0&&yR(e)}};var DE=RE.version;if(DE!=="19.2.8")throw Error(te(527,DE,"19.2.8"));Pt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(te(188)):(e=Object.keys(e).join(","),Error(te(268,e)));return e=BK(t),e=e!==null?OE(e):null,e=e===null?null:e.stateNode,e};var tee={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:Oe,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Sh=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Sh.isDisabled&&Sh.supportsFiber))try{Jh=Sh.inject(tee),Pa=Sh}catch{}var Sh;Dy.createRoot=function(e,t){if(!_E(e))throw Error(te(299));var o=!1,r="",n=uD,a=mD,s=fD;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=dR(e,1,!1,null,null,o,r,null,n,a,s,SR),e[fd]=t.current,$w(e),new Jw(t)};Dy.hydrateRoot=function(e,t,o){if(!_E(e))throw Error(te(299));var r=!1,n="",a=uD,s=mD,i=fD,l=null;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(n=o.identifierPrefix),o.onUncaughtError!==void 0&&(a=o.onUncaughtError),o.onCaughtError!==void 0&&(s=o.onCaughtError),o.onRecoverableError!==void 0&&(i=o.onRecoverableError),o.formState!==void 0&&(l=o.formState)),t=dR(e,1,!0,t,o??null,r,n,l,a,s,i,SR),t.context=pR(null),o=t.current,r=Ba(),r=iw(r),n=Cc(r),n.callback=null,wc(o,n,r),o=r,t.current.lanes=o,tg(t,o),gi(t),e[fd]=t.current,$w(e),new By(t)};Dy.version="19.2.8"});var CR=_n((Pbe,vR)=>{"use strict";function IR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(IR)}catch(e){console.error(e)}}IR(),vR.exports=xR()});var r_=_n((hg,xd)=>{var hee=200,OR="__lodash_hash_undefined__",gee=800,bee=16,VR=9007199254740991,NR="[object Arguments]",yee="[object Array]",See="[object AsyncFunction]",xee="[object Boolean]",Iee="[object Date]",vee="[object Error]",zR="[object Function]",Cee="[object GeneratorFunction]",wee="[object Map]",Tee="[object Number]",Aee="[object Null]",WR="[object Object]",kee="[object Proxy]",Mee="[object RegExp]",Lee="[object Set]",Pee="[object String]",Eee="[object Undefined]",Bee="[object WeakMap]",Dee="[object ArrayBuffer]",Ree="[object DataView]",_ee="[object Float32Array]",Fee="[object Float64Array]",Hee="[object Int8Array]",Oee="[object Int16Array]",Vee="[object Int32Array]",Nee="[object Uint8Array]",zee="[object Uint8ClampedArray]",Wee="[object Uint16Array]",Uee="[object Uint32Array]",Zee=/[\\^$.*+?()[\]{}|]/g,jee=/^\[object .+?Constructor\]$/,Gee=/^(?:0|[1-9]\d*)$/,no={};no[_ee]=no[Fee]=no[Hee]=no[Oee]=no[Vee]=no[Nee]=no[zee]=no[Wee]=no[Uee]=!0;no[NR]=no[yee]=no[Dee]=no[xee]=no[Ree]=no[Iee]=no[vee]=no[zR]=no[wee]=no[Tee]=no[WR]=no[Mee]=no[Lee]=no[Pee]=no[Bee]=!1;var UR=typeof global=="object"&&global&&global.Object===Object&&global,$ee=typeof self=="object"&&self&&self.Object===Object&&self,yg=UR||$ee||Function("return this")(),ZR=typeof hg=="object"&&hg&&!hg.nodeType&&hg,gg=ZR&&typeof xd=="object"&&xd&&!xd.nodeType&&xd,jR=gg&&gg.exports===ZR,m3=jR&&UR.process,LR=(function(){try{var e=gg&&gg.require&&gg.require("util").types;return e||m3&&m3.binding&&m3.binding("util")}catch{}})(),PR=LR&&LR.isTypedArray;function qee(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}function Xee(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r}function Yee(e){return function(t){return e(t)}}function Kee(e,t){return e?.[t]}function Qee(e,t){return function(o){return e(t(o))}}var Jee=Array.prototype,ete=Function.prototype,Wy=Object.prototype,f3=yg["__core-js_shared__"],Uy=ete.toString,dl=Wy.hasOwnProperty,ER=(function(){var e=/[^.]+$/.exec(f3&&f3.keys&&f3.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})(),GR=Wy.toString,tte=Uy.call(Object),ote=RegExp("^"+Uy.call(dl).replace(Zee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ny=jR?yg.Buffer:void 0,BR=yg.Symbol,DR=yg.Uint8Array,RR=Ny?Ny.allocUnsafe:void 0,$R=Qee(Object.getPrototypeOf,Object),_R=Object.create,rte=Wy.propertyIsEnumerable,nte=Jee.splice,am=BR?BR.toStringTag:void 0,zy=(function(){try{var e=y3(Object,"defineProperty");return e({},"",{}),e}catch{}})(),ate=Ny?Ny.isBuffer:void 0,FR=Math.max,ste=Date.now,qR=y3(yg,"Map"),bg=y3(Object,"create"),ite=(function(){function e(){}return function(t){if(!im(t))return{};if(_R)return _R(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}})();function sm(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function lte(){this.__data__=bg?bg(null):{},this.size=0}function cte(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function ute(e){var t=this.__data__;if(bg){var o=t[e];return o===OR?void 0:o}return dl.call(t,e)?t[e]:void 0}function mte(e){var t=this.__data__;return bg?t[e]!==void 0:dl.call(t,e)}function fte(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=bg&&t===void 0?OR:t,this}sm.prototype.clear=lte;sm.prototype.delete=cte;sm.prototype.get=ute;sm.prototype.has=mte;sm.prototype.set=fte;function pl(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function dte(){this.__data__=[],this.size=0}function pte(e){var t=this.__data__,o=Zy(t,e);if(o<0)return!1;var r=t.length-1;return o==r?t.pop():nte.call(t,o,1),--this.size,!0}function hte(e){var t=this.__data__,o=Zy(t,e);return o<0?void 0:t[o][1]}function gte(e){return Zy(this.__data__,e)>-1}function bte(e,t){var o=this.__data__,r=Zy(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this}pl.prototype.clear=dte;pl.prototype.delete=pte;pl.prototype.get=hte;pl.prototype.has=gte;pl.prototype.set=bte;function Id(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function yte(){this.size=0,this.__data__={hash:new sm,map:new(qR||pl),string:new sm}}function Ste(e){var t=Gy(this,e).delete(e);return this.size-=t?1:0,t}function xte(e){return Gy(this,e).get(e)}function Ite(e){return Gy(this,e).has(e)}function vte(e,t){var o=Gy(this,e),r=o.size;return o.set(e,t),this.size+=o.size==r?0:1,this}Id.prototype.clear=yte;Id.prototype.delete=Ste;Id.prototype.get=xte;Id.prototype.has=Ite;Id.prototype.set=vte;function vd(e){var t=this.__data__=new pl(e);this.size=t.size}function Cte(){this.__data__=new pl,this.size=0}function wte(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function Tte(e){return this.__data__.get(e)}function Ate(e){return this.__data__.has(e)}function kte(e,t){var o=this.__data__;if(o instanceof pl){var r=o.__data__;if(!qR||r.length<hee-1)return r.push([e,t]),this.size=++o.size,this;o=this.__data__=new Id(r)}return o.set(e,t),this.size=o.size,this}vd.prototype.clear=Cte;vd.prototype.delete=wte;vd.prototype.get=Tte;vd.prototype.has=Ate;vd.prototype.set=kte;function Mte(e,t){var o=g3(e),r=!o&&h3(e),n=!o&&!r&&QR(e),a=!o&&!r&&!n&&e_(e),s=o||r||n||a,i=s?Xee(e.length,String):[],l=i.length;for(var c in e)(t||dl.call(e,c))&&!(s&&(c=="length"||n&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||YR(c,l)))&&i.push(c);return i}function d3(e,t,o){(o!==void 0&&!$y(e[t],o)||o===void 0&&!(t in e))&&b3(e,t,o)}function Lte(e,t,o){var r=e[t];(!(dl.call(e,t)&&$y(r,o))||o===void 0&&!(t in e))&&b3(e,t,o)}function Zy(e,t){for(var o=e.length;o--;)if($y(e[o][0],t))return o;return-1}function b3(e,t,o){t=="__proto__"&&zy?zy(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var Pte=Ute();function jy(e){return e==null?e===void 0?Eee:Aee:am&&am in Object(e)?Zte(e):Yte(e)}function HR(e){return Sg(e)&&jy(e)==NR}function Ete(e){if(!im(e)||qte(e))return!1;var t=x3(e)?ote:jee;return t.test(eoe(e))}function Bte(e){return Sg(e)&&JR(e.length)&&!!no[jy(e)]}function Dte(e){if(!im(e))return Xte(e);var t=KR(e),o=[];for(var r in e)r=="constructor"&&(t||!dl.call(e,r))||o.push(r);return o}function XR(e,t,o,r,n){e!==t&&Pte(t,function(a,s){if(n||(n=new vd),im(a))Rte(e,t,s,o,XR,r,n);else{var i=r?r(p3(e,s),a,s+"",e,t,n):void 0;i===void 0&&(i=a),d3(e,s,i)}},t_)}function Rte(e,t,o,r,n,a,s){var i=p3(e,o),l=p3(t,o),c=s.get(l);if(c){d3(e,o,c);return}var u=a?a(i,l,o+"",e,t,s):void 0,m=u===void 0;if(m){var f=g3(l),d=!f&&QR(l),p=!f&&!d&&e_(l);u=l,f||d||p?g3(i)?u=i:toe(i)?u=Nte(i):d?(m=!1,u=Hte(l,!0)):p?(m=!1,u=Vte(l,!0)):u=[]:ooe(l)||h3(l)?(u=i,h3(i)?u=roe(i):(!im(i)||x3(i))&&(u=jte(l))):m=!1}m&&(s.set(l,u),n(u,l,r,a,s),s.delete(l)),d3(e,o,u)}function _te(e,t){return Qte(Kte(e,t,o_),e+"")}var Fte=zy?function(e,t){return zy(e,"toString",{configurable:!0,enumerable:!1,value:aoe(t),writable:!0})}:o_;function Hte(e,t){if(t)return e.slice();var o=e.length,r=RR?RR(o):new e.constructor(o);return e.copy(r),r}function Ote(e){var t=new e.constructor(e.byteLength);return new DR(t).set(new DR(e)),t}function Vte(e,t){var o=t?Ote(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Nte(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}function zte(e,t,o,r){var n=!o;o||(o={});for(var a=-1,s=t.length;++a<s;){var i=t[a],l=r?r(o[i],e[i],i,o,e):void 0;l===void 0&&(l=e[i]),n?b3(o,i,l):Lte(o,i,l)}return o}function Wte(e){return _te(function(t,o){var r=-1,n=o.length,a=n>1?o[n-1]:void 0,s=n>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(n--,a):void 0,s&&Gte(o[0],o[1],s)&&(a=n<3?void 0:a,n=1),t=Object(t);++r<n;){var i=o[r];i&&e(t,i,r,a)}return t})}function Ute(e){return function(t,o,r){for(var n=-1,a=Object(t),s=r(t),i=s.length;i--;){var l=s[e?i:++n];if(o(a[l],l,a)===!1)break}return t}}function Gy(e,t){var o=e.__data__;return $te(t)?o[typeof t=="string"?"string":"hash"]:o.map}function y3(e,t){var o=Kee(e,t);return Ete(o)?o:void 0}function Zte(e){var t=dl.call(e,am),o=e[am];try{e[am]=void 0;var r=!0}catch{}var n=GR.call(e);return r&&(t?e[am]=o:delete e[am]),n}function jte(e){return typeof e.constructor=="function"&&!KR(e)?ite($R(e)):{}}function YR(e,t){var o=typeof e;return t=t??VR,!!t&&(o=="number"||o!="symbol"&&Gee.test(e))&&e>-1&&e%1==0&&e<t}function Gte(e,t,o){if(!im(o))return!1;var r=typeof t;return(r=="number"?S3(o)&&YR(t,o.length):r=="string"&&t in o)?$y(o[t],e):!1}function $te(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function qte(e){return!!ER&&ER in e}function KR(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Wy;return e===o}function Xte(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}function Yte(e){return GR.call(e)}function Kte(e,t,o){return t=FR(t===void 0?e.length-1:t,0),function(){for(var r=arguments,n=-1,a=FR(r.length-t,0),s=Array(a);++n<a;)s[n]=r[t+n];n=-1;for(var i=Array(t+1);++n<t;)i[n]=r[n];return i[t]=o(s),qee(e,this,i)}}function p3(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Qte=Jte(Fte);function Jte(e){var t=0,o=0;return function(){var r=ste(),n=bee-(r-o);if(o=r,n>0){if(++t>=gee)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function eoe(e){if(e!=null){try{return Uy.call(e)}catch{}try{return e+""}catch{}}return""}function $y(e,t){return e===t||e!==e&&t!==t}var h3=HR((function(){return arguments})())?HR:function(e){return Sg(e)&&dl.call(e,"callee")&&!rte.call(e,"callee")},g3=Array.isArray;function S3(e){return e!=null&&JR(e.length)&&!x3(e)}function toe(e){return Sg(e)&&S3(e)}var QR=ate||soe;function x3(e){if(!im(e))return!1;var t=jy(e);return t==zR||t==Cee||t==See||t==kee}function JR(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=VR}function im(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Sg(e){return e!=null&&typeof e=="object"}function ooe(e){if(!Sg(e)||jy(e)!=WR)return!1;var t=$R(e);if(t===null)return!0;var o=dl.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Uy.call(o)==tte}var e_=PR?Yee(PR):Bte;function roe(e){return zte(e,t_(e))}function t_(e){return S3(e)?Mte(e,!0):Dte(e)}var noe=Wte(function(e,t,o,r){XR(e,t,o,r)});function aoe(e){return function(){return e}}function o_(e){return e}function soe(){return!1}xd.exports=noe});var yH=_n(TS=>{"use strict";/**
|
|
822
|
+
* @license React
|
|
823
|
+
* react-jsx-runtime.production.js
|
|
824
|
+
*
|
|
825
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
826
|
+
*
|
|
827
|
+
* This source code is licensed under the MIT license found in the
|
|
828
|
+
* LICENSE file in the root directory of this source tree.
|
|
829
|
+
*/var die=Symbol.for("react.transitional.element"),pie=Symbol.for("react.fragment");function bH(e,t,o){var r=null;if(o!==void 0&&(r=""+o),t.key!==void 0&&(r=""+t.key),"key"in t){o={};for(var n in t)n!=="key"&&(o[n]=t[n])}else o=t;return t=o.ref,{$$typeof:die,type:e,key:r,ref:t!==void 0?t:null,props:o}}TS.Fragment=pie;TS.jsx=bH;TS.jsxs=bH});var oe=_n((SCe,SH)=>{"use strict";SH.exports=yH()});function DS(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var RS=dv(()=>{});var UH=_n(Ht=>{"use strict";/** @license React v16.13.1
|
|
830
|
+
* react-is.production.min.js
|
|
831
|
+
*
|
|
832
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
833
|
+
*
|
|
834
|
+
* This source code is licensed under the MIT license found in the
|
|
835
|
+
* LICENSE file in the root directory of this source tree.
|
|
836
|
+
*/var rn=typeof Symbol=="function"&&Symbol.for,WT=rn?Symbol.for("react.element"):60103,UT=rn?Symbol.for("react.portal"):60106,_S=rn?Symbol.for("react.fragment"):60107,FS=rn?Symbol.for("react.strict_mode"):60108,HS=rn?Symbol.for("react.profiler"):60114,OS=rn?Symbol.for("react.provider"):60109,VS=rn?Symbol.for("react.context"):60110,ZT=rn?Symbol.for("react.async_mode"):60111,NS=rn?Symbol.for("react.concurrent_mode"):60111,zS=rn?Symbol.for("react.forward_ref"):60112,WS=rn?Symbol.for("react.suspense"):60113,Aie=rn?Symbol.for("react.suspense_list"):60120,US=rn?Symbol.for("react.memo"):60115,ZS=rn?Symbol.for("react.lazy"):60116,kie=rn?Symbol.for("react.block"):60121,Mie=rn?Symbol.for("react.fundamental"):60117,Lie=rn?Symbol.for("react.responder"):60118,Pie=rn?Symbol.for("react.scope"):60119;function Oa(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case WT:switch(e=e.type,e){case ZT:case NS:case _S:case HS:case FS:case WS:return e;default:switch(e=e&&e.$$typeof,e){case VS:case zS:case ZS:case US:case OS:return e;default:return t}}case UT:return t}}}function WH(e){return Oa(e)===NS}Ht.AsyncMode=ZT;Ht.ConcurrentMode=NS;Ht.ContextConsumer=VS;Ht.ContextProvider=OS;Ht.Element=WT;Ht.ForwardRef=zS;Ht.Fragment=_S;Ht.Lazy=ZS;Ht.Memo=US;Ht.Portal=UT;Ht.Profiler=HS;Ht.StrictMode=FS;Ht.Suspense=WS;Ht.isAsyncMode=function(e){return WH(e)||Oa(e)===ZT};Ht.isConcurrentMode=WH;Ht.isContextConsumer=function(e){return Oa(e)===VS};Ht.isContextProvider=function(e){return Oa(e)===OS};Ht.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===WT};Ht.isForwardRef=function(e){return Oa(e)===zS};Ht.isFragment=function(e){return Oa(e)===_S};Ht.isLazy=function(e){return Oa(e)===ZS};Ht.isMemo=function(e){return Oa(e)===US};Ht.isPortal=function(e){return Oa(e)===UT};Ht.isProfiler=function(e){return Oa(e)===HS};Ht.isStrictMode=function(e){return Oa(e)===FS};Ht.isSuspense=function(e){return Oa(e)===WS};Ht.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===_S||e===NS||e===HS||e===FS||e===WS||e===Aie||typeof e=="object"&&e!==null&&(e.$$typeof===ZS||e.$$typeof===US||e.$$typeof===OS||e.$$typeof===VS||e.$$typeof===zS||e.$$typeof===Mie||e.$$typeof===Lie||e.$$typeof===Pie||e.$$typeof===kie)};Ht.typeOf=Oa});var jH=_n((UCe,ZH)=>{"use strict";ZH.exports=UH()});var QH=_n((ZCe,KH)=>{"use strict";var jT=jH(),Eie={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Bie={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Die={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},XH={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},GT={};GT[jT.ForwardRef]=Die;GT[jT.Memo]=XH;function GH(e){return jT.isMemo(e)?XH:GT[e.$$typeof]||Eie}var Rie=Object.defineProperty,_ie=Object.getOwnPropertyNames,$H=Object.getOwnPropertySymbols,Fie=Object.getOwnPropertyDescriptor,Hie=Object.getPrototypeOf,qH=Object.prototype;function YH(e,t,o){if(typeof t!="string"){if(qH){var r=Hie(t);r&&r!==qH&&YH(e,r,o)}var n=_ie(t);$H&&(n=n.concat($H(t)));for(var a=GH(e),s=GH(t),i=0;i<n.length;++i){var l=n[i];if(!Bie[l]&&!(o&&o[l])&&!(s&&s[l])&&!(a&&a[l])){var c=Fie(t,l);try{Rie(e,l,c)}catch{}}}}return e}KH.exports=YH});var OO={};D9(OO,{default:()=>iA});var lle,iA,nx=dv(()=>{RS();lle=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,iA=DS(function(e){return lle.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var oW=_n((EHe,tW)=>{var Due=typeof Element<"u",Rue=typeof Map=="function",_ue=typeof Set=="function",Fue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function CI(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,r,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(r=o;r--!==0;)if(!CI(e[r],t[r]))return!1;return!0}var a;if(Rue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!CI(r.value[1],t.get(r.value[0])))return!1;return!0}if(_ue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Fue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(o=e.length,o!=t.length)return!1;for(r=o;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(r=o;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[r]))return!1;if(Due&&e instanceof Element)return!1;for(r=o;r--!==0;)if(!((n[r]==="_owner"||n[r]==="__v"||n[r]==="__o")&&e.$$typeof)&&!CI(e[n[r]],t[n[r]]))return!1;return!0}return e!==e&&t!==t}tW.exports=function(t,o){try{return CI(t,o)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}});var $X={};D9($X,{ClickScrollPlugin:()=>a1e,OverlayScrollbars:()=>Lu,ScrollbarsHidingPlugin:()=>n1e,SizeObserverPlugin:()=>o1e});function Ot(e,t){if(GP(e))for(let o=0;o<e.length&&t(e[o],o,e)!==!1;o++);else e&&Ot(Object.keys(e),(o=>t(e[o],o,e)));return e}function tc(e,t){e&&t&&Ot(t,((o,r)=>{try{let n=e.style,a=O6(o)||V6(o)?"":Tu(o)?CX(o):o;r.indexOf("--")===0?n.setProperty(r,a):n[r]=a}catch{}}))}function ri(e,t,o){let r=G0(t),n=r?"":{};if(e){let a=xa.getComputedStyle(e,o)||e.style;n=r?Xq(a,t):Pu(t).reduce(((s,i)=>(s[i]=Xq(a,i),s)),n)}return n}var $a,wge,xa,L6,Tge,BP,wu,Zq,F6,U0,ZP,mX,H6,Age,jq,O0,H2,jP,O6,Tu,G0,V6,Ls,Ms,P6,GP,U2,E6,N6,Gq,AP,fX,Z0,xo,Pu,$P,B6,D6,Xa,qP,O2,V2,N2,z2,W2,V0,XP,YP,$0,j2,ec,oi,Mu,kge,z6,KP,T6,Mge,Ve,yf,$q,dX,pX,qn,It,hX,QP,xf,gX,Sf,JP,qq,Jl,Vi,W6,e9,t9,R6,o9,bX,yX,U6,SX,Lge,DP,xX,RP,Z2,N0,_P,Pge,j0,Xn,IX,Ege,Bge,W0,r9,Xq,vX,C6,FP,CX,Yq,kP,Dge,Rge,Z6,_ge,Au,wX,_6,n9,MP,Fge,HP,TX,Kq,$t,a9,OP,AX,ks,qa,kX,Hge,LP,Qq,VP,Jq,NP,MX,LX,Oge,PX,q0,Vge,X0,A6,w6,PP,k6,eX,ku,Nge,Ni,zge,Wge,EX,BX,Uge,DX,Zge,zP,tX,s9,jge,i9,Gge,M6,oX,$ge,qge,Ya,Xge,Yge,Kge,RX,l9,Qge,Jge,rX,nX,WP,aX,sX,e1e,t1e,_X,o1e,FX,z0,r1e,UP,HX,j6,n1e,OX,a1e,iX,lX,s1e,VX,NX,i1e,zX,cX,WX,l1e,c1e,EP,u1e,zi,m1e,uX,bf,UX,f1e,d1e,ZX,p1e,jX,h1e,g1e,b1e,y1e,S1e,x1e,I1e,v1e,C1e,w1e,c9,T1e,A1e,GX,Lu,qX=dv(()=>{/*!
|
|
837
|
+
* OverlayScrollbars
|
|
838
|
+
* Version: 2.14.0
|
|
839
|
+
*
|
|
840
|
+
* Copyright (c) Rene Haas | KingSora.
|
|
841
|
+
* https://github.com/KingSora
|
|
842
|
+
*
|
|
843
|
+
* Released under the MIT license.
|
|
844
|
+
*/$a=(e,t)=>{let{o,i:r,u:n}=e,a=o,s,i=(u,m)=>{let f=a,d=u,p=m||(r?!r(f,d):f!==d);return(p||n)&&(a=d,s=f),[a,p,s]};return[t?u=>i(t(a,s),u):i,u=>[a,!!u,s]]},wge=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,xa=wge?window:{},L6=Math.max,Tge=Math.min,BP=Math.round,wu=Math.abs,Zq=Math.sign,F6=xa.cancelAnimationFrame,U0=xa.requestAnimationFrame,ZP=xa.setTimeout,mX=xa.clearTimeout,H6=e=>typeof xa[e]<"u"?xa[e]:void 0,Age=H6("MutationObserver"),jq=H6("IntersectionObserver"),O0=H6("ResizeObserver"),H2=H6("ScrollTimeline"),jP=e=>e===void 0,O6=e=>e===null,Tu=e=>typeof e=="number",G0=e=>typeof e=="string",V6=e=>typeof e=="boolean",Ls=e=>typeof e=="function",Ms=e=>Array.isArray(e),P6=e=>typeof e=="object"&&!Ms(e)&&!O6(e),GP=e=>{let t=!!e&&e.length,o=Tu(t)&&t>-1&&t%1==0;return Ms(e)||!Ls(e)&&o?t>0&&P6(e)?t-1 in e:!0:!1},U2=e=>!!e&&e.constructor===Object,E6=e=>e instanceof HTMLElement,N6=e=>e instanceof Element,Gq=()=>performance.now(),AP=(e,t,o,r,n)=>{let a=0,s=Gq(),i=L6(0,o),l=c=>{let u=Gq(),f=u-s>=i,d=c?1:1-(L6(0,s+i-u)/i||0),p=(t-e)*(Ls(n)?n(d,d*i,0,1,i):d)+e,h=f||d===1;r&&r(p,d,h),a=h?0:U0((()=>l()))};return l(),c=>{F6(a),c&&l(c)}};fX=(e,t)=>e.indexOf(t)>=0,Z0=(e,t)=>e.concat(t),xo=(e,t,o)=>(!G0(t)&&GP(t)?Array.prototype.push.apply(e,t):e.push(t),e),Pu=e=>Array.from(e||[]),$P=e=>Ms(e)?e:!G0(e)&&GP(e)?Pu(e):[e],B6=e=>!!e&&!e.length,D6=e=>Pu(new Set(e)),Xa=(e,t,o)=>{Ot(e,n=>n?n.apply(void 0,t||[]):!0),o||(e.length=0)},qP="paddingTop",O2="paddingRight",V2="paddingLeft",N2="paddingBottom",z2="marginLeft",W2="marginRight",V0="marginBottom",XP="overflowX",YP="overflowY",$0="width",j2="height",ec="visible",oi="hidden",Mu="scroll",kge=e=>{let t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""},z6=(e,t,o,r)=>{if(e&&t){let n=!0;return Ot(o,(a=>{let s=e[a],i=t[a];s!==i&&(n=!1)})),n}return!1},KP=(e,t)=>z6(e,t,["w","h"]),T6=(e,t)=>z6(e,t,["x","y"]),Mge=(e,t)=>z6(e,t,["t","r","b","l"]),Ve=(e,...t)=>e.bind(0,...t),yf=e=>{let t,o=e?ZP:U0,r=e?mX:F6;return[n=>{r(t),t=o((()=>n()),Ls(e)?e():e)},()=>r(t)]},$q=e=>{let t=Ls(e)?e():e;if(Tu(t)){let o=t?ZP:U0,r=t?mX:F6;return n=>{let a=o((()=>n()),t);return()=>{r(a)}}}return t&&t._},dX=(e,t)=>{let{p:o,v:r,S:n,m:a}=t||{},s,i,l,c,u=function(h){i&&i(),s&&s(),c=i=s=l=void 0,e.apply(this,h)},m=p=>a&&l?a(l,p):p,f=()=>{i&&l&&u(m(l)||l)},d=function(){let h=Pu(arguments),S=$q(o);if(S){let g=typeof n=="function"?n():n,b=$q(r),v=m(h)||h,C=u.bind(0,v);i&&i(),g&&!c?(C(),c=!0,i=S((()=>c=void 0))):(i=S(C),b&&!s&&(s=b(f))),l=v}else u(h)};return d.O=f,d},pX=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),qn=e=>e?Object.keys(e):[],It=(e,t,o,r,n,a,s)=>{let i=[t,o,r,n,a,s];return(typeof e!="object"||O6(e))&&!Ls(e)&&(e={}),Ot(i,(l=>{Ot(l,((c,u)=>{let m=l[u];if(e===m)return!0;let f=Ms(m);if(m&&U2(m)){let d=e[u],p=d;f&&!Ms(d)?p=[]:!f&&!U2(d)&&(p={}),e[u]=It(p,m)}else e[u]=f?m.slice():m}))})),e},hX=(e,t)=>Ot(It({},e),((o,r,n)=>{o===void 0?delete n[r]:o&&U2(o)&&(n[r]=hX(o))})),QP=e=>!qn(e).length,xf=()=>{},gX=(e,t,o)=>L6(e,Tge(t,o)),Sf=e=>D6((Ms(e)?e:(e||"").split(" ")).filter((t=>t))),JP=(e,t)=>e&&e.getAttribute(t),qq=(e,t)=>e&&e.hasAttribute(t),Jl=(e,t,o)=>{Ot(Sf(t),(r=>{e&&e.setAttribute(r,String(o||""))}))},Vi=(e,t)=>{Ot(Sf(t),(o=>e&&e.removeAttribute(o)))},W6=(e,t)=>{let o=Sf(JP(e,t)),r=Ve(Jl,e,t),n=(a,s)=>{let i=new Set(o);return Ot(Sf(a),(l=>{i[s](l)})),Pu(i).join(" ")};return{C:a=>r(n(a,"delete")),$:a=>r(n(a,"add")),H:a=>{let s=Sf(a);return s.reduce(((i,l)=>i&&o.includes(l)),s.length>0)}}},e9=(e,t,o)=>(W6(e,t).C(o),Ve(t9,e,t,o)),t9=(e,t,o)=>(W6(e,t).$(o),Ve(e9,e,t,o)),R6=(e,t,o,r)=>(r?t9:e9)(e,t,o),o9=(e,t,o)=>W6(e,t).H(o),bX=e=>W6(e,"class"),yX=(e,t)=>{bX(e).C(t)},U6=(e,t)=>(bX(e).$(t),Ve(yX,e,t)),SX=(e,t)=>{let o=t?N6(t)&&t:document;return o?Pu(o.querySelectorAll(e)):[]},Lge=(e,t)=>{let o=t?N6(t)&&t:document;return o&&o.querySelector(e)},DP=(e,t)=>N6(e)&&e.matches(t),xX=e=>DP(e,"body"),RP=e=>e?Pu(e.childNodes):[],Z2=e=>e&&e.parentElement,N0=(e,t)=>N6(e)&&e.closest(t),_P=e=>document.activeElement,Pge=(e,t,o)=>{let r=N0(e,t),n=e&&Lge(o,r),a=N0(n,t)===r;return r&&n?r===e||n===e||a&&N0(N0(e,o),t)!==r:!1},j0=e=>{Ot($P(e),(t=>{let o=Z2(t);t&&o&&o.removeChild(t)}))},Xn=(e,t)=>Ve(j0,e&&t&&Ot($P(t),(o=>{o&&e.appendChild(o)}))),Ege=()=>IX,Bge=e=>{IX=e},W0=e=>{let t=document.createElement("div");return Jl(t,"class",e),t},r9=e=>{let t=W0(),o=Ege(),r=e.trim();return t.innerHTML=o?o.createHTML(r):r,Ot(RP(t),(n=>j0(n)))},Xq=(e,t)=>e.getPropertyValue(t)||e[t]||"",vX=e=>{let t=e||0;return isFinite(t)?t:0},C6=e=>vX(parseFloat(e||"")),FP=e=>Math.round(e*1e4)/1e4,CX=e=>`${FP(vX(e))}px`;Yq=(e,t,o)=>{let r=t?`${t}-`:"",n=o?`-${o}`:"",a=`${r}top${n}`,s=`${r}right${n}`,i=`${r}bottom${n}`,l=`${r}left${n}`,c=ri(e,[a,s,i,l]);return{t:C6(c[a]),r:C6(c[s]),b:C6(c[i]),l:C6(c[l])}},kP=(e,t)=>`translate${P6(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`}`,Dge=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),Rge={w:0,h:0},Z6=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:Rge,_ge=e=>Z6("inner",e||xa),Au=Ve(Z6,"offset"),wX=Ve(Z6,"client"),_6=Ve(Z6,"scroll"),n9=e=>{let t=parseFloat(ri(e,$0))||0,o=parseFloat(ri(e,j2))||0;return{w:t-BP(t),h:o-BP(o)}},MP=e=>e.getBoundingClientRect(),Fge=e=>!!e&&Dge(e),HP=e=>!!(e&&(e[j2]||e[$0])),TX=(e,t)=>{let o=HP(e);return!HP(t)&&o},Kq=(e,t,o,r)=>{Ot(Sf(t),(n=>{e&&e.removeEventListener(n,o,r)}))},$t=(e,t,o,r)=>{var n;let a=(n=r&&r.I)!=null?n:!0,s=r&&r.A||!1,i=r&&r.T||!1,l={passive:a,capture:s};return Ve(Xa,Sf(t).map((c=>{let u=i?m=>{Kq(e,c,u,s),o&&o(m)}:o;return e&&e.addEventListener(c,u,l),Ve(Kq,e,c,u,s)})))},a9=e=>e.stopPropagation(),OP=e=>e.preventDefault(),AX=e=>a9(e)||OP(e),ks=(e,t)=>{let{x:o,y:r}=Tu(t)?{x:t,y:t}:t||{};Tu(o)&&(e.scrollLeft=o),Tu(r)&&(e.scrollTop=r)},qa=e=>({x:e.scrollLeft,y:e.scrollTop}),kX=()=>({D:{x:0,y:0},M:{x:0,y:0}}),Hge=(e,t)=>{let{D:o,M:r}=e,{w:n,h:a}=t,s=(m,f,d)=>{let p=Zq(m)*d,h=Zq(f)*d;if(p===h){let S=wu(m),g=wu(f);h=S>g?0:h,p=S<g?0:p}return p=p===h?0:p,[p+0,h+0]},[i,l]=s(o.x,r.x,n),[c,u]=s(o.y,r.y,a);return{D:{x:i,y:c},M:{x:l,y:u}}},LP=({D:e,M:t})=>{let o=(r,n)=>r===0&&r<=n;return{x:o(e.x,t.x),y:o(e.y,t.y)}},Qq=({D:e,M:t},o)=>{let r=(n,a,s)=>gX(0,1,(n-s)/(n-a)||0);return{x:r(e.x,t.x,o.x),y:r(e.y,t.y,o.y)}},VP=e=>{e&&e.focus&&e.focus({preventScroll:!0,focusVisible:!1})},Jq=(e,t)=>{Ot($P(t),e)},NP=e=>{let t=new Map,o=(a,s)=>{if(a){let i=t.get(a);Jq((l=>{i&&i[l?"delete":"clear"](l)}),s)}else t.forEach((i=>{i.clear()})),t.clear()},r=(a,s)=>{if(G0(a)){let c=t.get(a)||new Set;return t.set(a,c),Jq((u=>{Ls(u)&&c.add(u)}),s),Ve(o,a,s)}V6(s)&&s&&o();let i=qn(a),l=[];return Ot(i,(c=>{let u=a[c];u&&xo(l,r(c,u))})),Ve(Xa,l)},n=(a,s)=>{Ot(Pu(t.get(a)),(i=>{s&&!B6(s)?i.apply(0,s):i()}))};return r(e||{}),[r,o,n]},MX={},LX={},Oge=e=>{Ot(e,(t=>Ot(t,((o,r)=>{MX[r]=t[r]}))))},PX=(e,t,o)=>qn(e).map((r=>{let{static:n,instance:a}=e[r],[s,i,l]=o||[],c=o?a:n;if(c){let u=o?c(s,i,t):c(t);return(l||LX)[r]=u}})),q0=e=>LX[e],Vge="__osOptionsValidationPlugin",X0="data-overlayscrollbars",A6="os-environment",w6=`${A6}-scrollbar-hidden`,PP=`${X0}-initialize`,k6="noClipping",eX=`${X0}-body`,ku=X0,Nge="host",Ni=`${X0}-viewport`,zge=XP,Wge=YP,EX="arrange",BX="measuring",Uge="scrolling",DX="scrollbarHidden",Zge="noContent",zP=`${X0}-padding`,tX=`${X0}-content`,s9="os-size-observer",jge=`${s9}-appear`,i9=`${s9}-listener`,Gge=`${i9}-scroll`,M6=`${i9}-item`,oX=`${M6}-final`,$ge="os-trinsic-observer",qge="os-theme-none",Ya="os-scrollbar",Xge=`${Ya}-rtl`,Yge=`${Ya}-horizontal`,Kge=`${Ya}-vertical`,RX=`${Ya}-track`,l9=`${Ya}-handle`,Qge=`${Ya}-visible`,Jge=`${Ya}-cornerless`,rX=`${Ya}-interaction`,nX=`${Ya}-unusable`,WP=`${Ya}-auto-hide`,aX=`${WP}-hidden`,sX=`${Ya}-wheel`,e1e=`${RX}-interactive`,t1e=`${l9}-interactive`,_X="__osSizeObserverPlugin",o1e={[_X]:{static:()=>(e,t,o)=>{let n="scroll",a=r9(`<div class="${M6}" dir="ltr"><div class="${M6}"><div class="${oX}"></div></div><div class="${M6}"><div class="${oX}" style="width: 200%; height: 200%"></div></div></div>`),s=a[0],i=s.lastChild,l=s.firstChild,c=l?.firstChild,u=Au(s),m=u,f=!1,d,p=()=>{ks(l,3333333),ks(i,3333333)},h=b=>{d=0,f&&(u=m,t(b===!0))},S=b=>{m=Au(s),f=!b||!KP(m,u),b?(a9(b),f&&!d&&(F6(d),d=U0(h))):h(b===!1),p()},g=[Xn(e,a),$t(l,n,S),$t(i,n,S)];return U6(e,Gge),tc(c,{[$0]:3333333,[j2]:3333333}),U0(p),[o?Ve(S,!1):p,g]}}},FX=(e,t)=>{let{k:o}=t,[r,n]=e("showNativeOverlaidScrollbars");return[r&&o.x&&o.y,n]},z0=e=>e.indexOf(ec)===0,r1e=e=>e.replace(`${ec}-`,""),UP=(e,t)=>{if(e==="auto")return t?Mu:oi;let o=e||oi;return[oi,Mu,ec].includes(o)?o:oi},HX=(e,t)=>{let{overflowX:o,overflowY:r}=ri(e,[XP,YP]);return{x:UP(o,t.x),y:UP(r,t.y)}},j6="__osScrollbarsHidingPlugin",n1e={[j6]:{static:()=>({R:(e,t,o,r,n)=>{let{V:a,L:s}=e,{U:i,k:l,P:c}=r,u=!a&&!i&&(l.x||l.y),[m]=FX(n,r),f=S=>{let g=i||m?0:42,b=(w,P,k)=>[P&&!i?w?g:k:0,w&&!!g],[I,v]=b(l.x,S.x===Mu,c.x),[C,T]=b(l.y,S.y===Mu,c.y);return{N:{x:I,y:C},q:{x:v,y:T}}},d=S=>{if(!a){let{B:g}=o,b=It({},{[W2]:0,[V0]:0,[z2]:0}),{N:I,q:v}=f(S),{x:C,y:T}=v,{x:w,y:P}=I,{F:k}=t,D=g?z2:W2,H=g?V2:O2,j=k[D],se=k[V0],X=k[H],le=k[N2];return b[$0]=`calc(100% + ${P+j*-1}px)`,b[D]=-P+j,b[V0]=-w+se,u&&(b[H]=X+(T?P:0),b[N2]=le+(C?w:0)),b}};return{X:(S,g,b)=>{if(u){let{F:I}=t,{N:v,q:C}=f(S),{x:T,y:w}=C,{x:P,y:k}=v,{B:D}=o,j=I[D?O2:V2],se=I.paddingTop,X=g.w+b.w,le=g.h+b.h,re={w:k&&w?`${k+X-j}px`:"",h:P&&T?`${P+le-se}px`:""};tc(s,{"--os-vaw":re.w,"--os-vah":re.h})}return u},Y:()=>{if(u){let{j:S,F:g}=t,b=HX(s,S),{q:I}=f(b),{x:v,y:C}=I,T={},w=D=>Ot(D,(H=>{T[H]=g[H]}));v&&w([V0,qP,N2]),C&&w([z2,W2,V2,O2]);let P=ri(s,qn(T)),k=e9(s,Ni,EX);return tc(s,T),()=>{tc(s,It({},P,d(b))),k()}}return xf},W:d}}})}},OX="__osClickScrollPlugin",a1e={[OX]:{static:()=>(e,t,o,r)=>{let n=!1,a=xf,s=133,i=222,[l,c]=yf(s),u=Math.sign(t),m=o*u,f=m/2,d=g=>1-(1-g)*(1-g),p=(g,b)=>AP(g,b,i,e,d),h=(g,b)=>AP(g,t-m,s*b,((I,v,C)=>{e(I),C&&(a=p(I,t))})),S=AP(0,m,i,((g,b,I)=>{if(e(g),I&&(r(n),!n)){let v=t-g;Math.sign(v-f)===u&&l((()=>{let T=v-m;a=Math.sign(T)===u?h(g,Math.abs(T)/o):p(g,t)}))}}),d);return g=>{n=!0,g&&S(),c(),a()}}}},iX=e=>JSON.stringify(e,((t,o)=>{if(Ls(o))throw 0;return o})),lX=(e,t)=>e?`${t}`.split(".").reduce(((o,r)=>o&&pX(o,r)?o[r]:void 0),e):void 0,s1e=[0,33],VX=[33,99],NX=[222,666,!0],i1e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:{mutation:s1e,resize:null,event:VX,env:NX},attributes:null,ignoreMutation:null,flowDirectionStyles:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},zX=(e,t)=>{let o={},r=Z0(qn(t),qn(e));return Ot(r,(n=>{let a=e[n],s=t[n];if(P6(a)&&P6(s))It(o[n]={},zX(a,s)),QP(o[n])&&delete o[n];else if(pX(t,n)&&s!==a){let i=!0;if(Ms(a)||Ms(s))try{iX(a)===iX(s)&&(i=!1)}catch{}i&&(o[n]=s)}})),o},cX=(e,t,o)=>r=>[lX(e,r),o||lX(t,r)!==void 0],l1e=()=>WX,c1e=e=>{WX=e},u1e=()=>{let e=(v,C,T)=>{Xn(document.body,v),Xn(document.body,v);let w=wX(v),P=Au(v),k=n9(C);return T&&j0(v),{x:P.h-w.h+k.h,y:P.w-w.w+k.w}},t=v=>{let C=!1,T=U6(v,w6);try{C=ri(v,"scrollbar-width")==="none"||ri(v,"display","::-webkit-scrollbar")==="none"}catch{}return T(),C},o=`.${A6}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${A6} div{width:200%;height:200%;margin:10px 0}.${w6}{scrollbar-width:none!important}.${w6}::-webkit-scrollbar,.${w6}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,n=r9(`<div class="${A6}"><div></div><style>${o}</style></div>`)[0],a=n.firstChild,s=n.lastChild,i=l1e();i&&(s.nonce=i);let[l,,c]=NP(),[u,m]=$a({o:e(n,a),i:T6},Ve(e,n,a,!0)),[f]=m(),d=t(n),p={x:f.x===0,y:f.y===0},h={elements:{host:null,padding:!d,viewport:v=>d&&xX(v)&&v,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},S=It({},i1e),g=Ve(It,{},S),b=Ve(It,{},h),I={P:f,k:p,U:d,J:!!H2,G:Ve(l,"r"),K:b,Z:v=>It(h,v)&&b(),tt:g,nt:v=>It(S,v)&&g(),ot:It({},h),st:It({},S)};if(Vi(n,"style"),j0(n),$t(xa,"resize",(()=>{c("r",[])})),Ls(xa.matchMedia)&&!d&&(!p.x||!p.y)){let v=C=>{let T=xa.matchMedia(`(resolution: ${xa.devicePixelRatio}dppx)`);$t(T,"change",(()=>{C(),v(C)}),{T:!0})};v((()=>{let[C,T]=u();It(I.P,C),c("r",[T])}))}return I},zi=()=>(EP||(EP=u1e()),EP),m1e=(e,t,o)=>{let r=!1,n=o?new WeakMap:!1,a=()=>{r=!0},s=i=>{if(n&&o){let l=o.map((c=>{let[u,m]=c||[];return[m&&u?(i||SX)(u,e):[],m]}));Ot(l,(c=>Ot(c[0],(u=>{let m=c[1],f=n.get(u)||[];if(e.contains(u)&&m){let p=$t(u,m,(h=>{r?(p(),n.delete(u)):t(h)}));n.set(u,xo(f,p))}else Xa(f),n.delete(u)}))))}};return s(),[a,s]},uX=(e,t,o,r)=>{let n=!1,{et:a,ct:s,rt:i,it:l,lt:c,ut:u}=r||{},[m,f]=m1e(e,(()=>n&&o(!0)),i),d=a||[],p=s||[],h=Z0(d,p),S=(b,I)=>{if(!B6(I)){let v=c||xf,C=u||xf,T=[],w=[],P=!1,k=!1;if(Ot(I,(D=>{let{attributeName:H,target:j,type:se,oldValue:X,addedNodes:le,removedNodes:re}=D,W=se==="attributes",de=se==="childList",q=e===j,me=W&&H,he=me&&JP(j,H||""),pe=G0(he)?he:null,Y=me&&X!==pe,ee=fX(p,H)&&Y;if(t&&(de||!q)){let J=W&&Y,ge=J&&l&&DP(j,l),fe=(ge?!v(j,H,X,pe):!W||J)&&!C(D,!!ge,e,r);Ot(le,(Ce=>xo(T,Ce))),Ot(re,(Ce=>xo(T,Ce))),k=k||fe}!t&&q&&Y&&!v(j,H,X,pe)&&(xo(w,H),P=P||ee)})),f((D=>D6(T).reduce(((H,j)=>(xo(H,SX(D,j)),DP(j,D)?xo(H,j):H)),[]))),t)return!b&&k&&o(!1),[!1];if(!B6(w)||P){let D=[D6(w),P];return b||o.apply(0,D),D}}},g=new Age(Ve(S,!1));return[()=>(g.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:h,subtree:t,childList:t,characterData:t}),n=!0,()=>{n&&(m(),g.disconnect(),n=!1)}),()=>{if(n)return S(!0,g.takeRecords())}]},bf=null,UX=(e,t,o)=>{let{ft:r}=o||{},n=q0(_X),[a]=$a({o:!1,u:!0});return()=>{let s=[],l=r9(`<div class="${s9}"><div class="${i9}"></div></div>`)[0],c=l.firstChild,u=m=>{let f=Ms(m)&&!B6(m),d=!1,p=!1;if(f){let h=m[0],[S,,g]=a(h.contentRect),b=HP(S);p=TX(S,g),d=!p&&!b}else p=m===!0;d||t({_t:!0,ft:p})};if(O0){if(!V6(bf)){let p=new O0(xf);p.observe(e,{get box(){bf=!0}}),bf=bf||!1,p.disconnect()}let m=dX(u,{p:0,v:0}),f=p=>m(p),d=new O0(f);if(d.observe(bf?e:c),xo(s,[()=>{d.disconnect()},!bf&&Xn(e,l)]),bf){let p=new O0(f);p.observe(e,{box:"border-box"}),xo(s,(()=>p.disconnect()))}}else if(n){let[m,f]=n(c,u,r);xo(s,Z0([U6(l,jge),$t(l,"animationstart",m),Xn(e,l)],f))}else return xf;return Ve(Xa,s)}},f1e=(e,t)=>{let o,r=l=>l.h===0||l.isIntersecting||l.intersectionRatio>0,n=W0($ge),[a]=$a({o:!1}),s=(l,c)=>{if(l){let u=a(r(l)),[,m]=u;return m&&!c&&t(u)&&[u]}},i=(l,c)=>s(c.pop(),l);return[()=>{let l=[];if(jq)o=new jq(Ve(i,!1),{root:e}),o.observe(n),xo(l,(()=>{o.disconnect()}));else{let c=()=>{let u=Au(n);s(u)};xo(l,UX(n,c)()),c()}return Ve(Xa,xo(l,Xn(e,n)))},()=>o&&i(!0,o.takeRecords())]},d1e=(e,t,o,r)=>{let n,a,s,i,l,c,u,m,f=`[${ku}]`,d=`[${Ni}]`,p=["id","class","style","open","wrap","cols","rows"],{dt:h,vt:S,L:g,gt:b,ht:I,V:v,bt:C,wt:T,yt:w,St:P}=e,k=_=>ri(_,"direction")==="rtl",D=()=>{let _,fe,Ce,ie=dX(r,{p:()=>_,v:()=>fe,S:()=>Ce,m(ye,Be){let[ce]=ye,[Pe]=Be;return[Z0(qn(ce),qn(Pe)).reduce(((Te,De)=>(Te[De]=ce[De]||Pe[De],Te)),{})]}}),Ae=(ye,Be)=>{if(Ms(Be)){let[ce,Pe,Te]=Be;_=ce,fe=Pe,Ce=Te}else Tu(Be)?(_=Be,fe=!1,Ce=!1):(_=!1,fe=!1,Ce=!1);ie(ye)};return Ae.O=ie.O,Ae},H={Ot:!1,B:k(h)},j=zi(),se=q0(j6),[X]=$a({i:KP,o:{w:0,h:0}},(()=>{let _=se&&se.R(e,t,H,j,o).Y,Ce=!(C&&v)&&o9(S,ku,k6),ie=!v&&T(EX),Ae=ie&&qa(b),ye=Ae&&P(),Be=w(BX,Ce),ce=ie&&_&&_(),Pe=_6(g),Te=n9(g);return ce&&ce(),ks(b,Ae),ye&&ye(),Ce&&Be(),{w:Pe.w+Te.w,h:Pe.h+Te.h}})),le=D(),re=_=>{let fe=k(h);It(_,{Ct:m!==fe}),It(H,{B:fe}),m=fe},W=(_,fe)=>{let[Ce,ie]=_,Ae={$t:ie};return It(H,{Ot:Ce}),fe||r(Ae),Ae},de=({_t:_,ft:fe})=>{let Ce=fe?r:le,ie={_t:_||fe,ft:fe};re(ie),Ce(ie,a)},q=(_,fe)=>{let[,Ce]=X(),ie={xt:Ce};return re(ie),Ce&&!fe&&le(ie,_?s:n),ie},me=(_,fe,Ce)=>{let ie={Ht:fe};return re(ie),fe&&!Ce&&le(ie,n),ie},[he,pe]=I?f1e(S,W):[],Y=!v&&UX(S,de,{ft:!0}),[ee,J]=uX(S,!1,me,{ct:p,et:p}),ge=v&&O0&&new O0((_=>{let fe=_[_.length-1].contentRect;de({_t:!0,ft:TX(fe,u)}),u=fe}));return[()=>{ge&&ge.observe(S);let _=Y&&Y(),fe=he&&he(),Ce=ee(),ie=j.G((Ae=>{let[,ye]=X();le({Et:Ae,xt:ye,_t:C},i)}));return()=>{ge&&ge.disconnect(),_&&_(),fe&&fe(),c&&c(),Ce(),ie()}},({zt:_,It:fe,At:Ce})=>{let ie={},[Ae]=_("update.ignoreMutation"),[ye,Be]=_("update.attributes"),[ce,Pe]=_("update.elementEvents"),[Te,De]=_("update.debounce"),Ct=Pe||Be,He=fe||Ce,We=Qe=>Ls(Ae)&&Ae(Qe);if(Ct){l&&l(),c&&c();let[Qe,st]=uX(I||g,!0,q,{et:Z0(p,ye||[]),rt:ce,it:f,ut:(ne,Re)=>{let{target:Ze,attributeName:it}=ne;return(!Re&&it&&!v?Pge(Ze,f,d):!1)||!!N0(Ze,`.${Ya}`)||!!We(ne)}});c=Qe(),l=st}if(De&&(le.O(),Ms(Te)||Tu(Te)?(n=Te,a=!1,s=VX,i=NX):U2(Te)?(n=Te.mutation,a=Te.resize,s=Te.event,i=Te.env):(n=!1,a=!1,s=!1,i=!1)),He){let Qe=J(),st=pe&&pe(),ne=l&&l();Qe&&It(ie,me(Qe[0],Qe[1],He)),st&&It(ie,W(st[0],He)),ne&&It(ie,q(ne[0],He))}return re(ie),ie},H]},ZX=(e,t)=>Ls(t)?t.apply(0,e):t,p1e=(e,t,o,r)=>{let n=jP(r)?o:r;return ZX(e,n)||t.apply(0,e)},jX=(e,t,o,r)=>{let n=jP(r)?o:r,a=ZX(e,n);return!!a&&(E6(a)?a:t.apply(0,e))},h1e=(e,t)=>{let{nativeScrollbarsOverlaid:o,body:r}=t||{},{k:n,U:a,K:s}=zi(),{nativeScrollbarsOverlaid:i,body:l}=s().cancel,c=o??i,u=jP(r)?l:r,m=(n.x||n.y)&&c,f=e&&(O6(u)?!a:u);return!!m||!!f},g1e=(e,t,o,r)=>{let n="--os-viewport-percent",a="--os-scroll-percent",s="--os-scroll-direction",{K:i}=zi(),{scrollbars:l}=i(),{slot:c}=l,{dt:u,vt:m,L:f,Tt:d,gt:p,bt:h,V:S}=t,{scrollbars:g}=d?{}:e,{slot:b}=g||{},I=[],v=[],C=[],T=jX([u,m,f],(()=>S&&h?u:m),c,b),w=he=>{if(H2){let pe=null,Y=[],ee=new H2({source:p,axis:he}),J=()=>{pe&&pe.cancel(),pe=null};return{kt:_=>{let{Dt:fe}=o,Ce=LP(fe)[he],ie=he==="x",Ae=[kP(0,ie),kP(`calc(-100% + 100cq${ie?"w":"h"})`,ie)],ye=Ce?Ae:Ae.reverse();return Y[0]===ye[0]&&Y[1]===ye[1]||(Y=ye,J(),pe=_.Mt.animate({clear:["left"],transform:ye},{timeline:ee})),J}}}},P={x:w("x"),y:w("y")},k=()=>{let{Rt:he,Vt:pe}=o,Y=(ee,J)=>gX(0,1,ee/(ee+J)||0);return{x:Y(pe.x,he.x),y:Y(pe.y,he.y)}},D=(he,pe,Y)=>{let ee=Y?U6:yX;Ot(he,(J=>{ee(J.Lt,pe)}))},H=(he,pe)=>{Ot(he,(Y=>{let[ee,J]=pe(Y);tc(ee,J)}))},j=(he,pe,Y)=>{let ee=V6(Y),J=ee?Y:!0,ge=ee?!Y:!0;J&&D(v,he,pe),ge&&D(C,he,pe)},se=()=>{let he=k(),pe=Y=>ee=>[ee.Lt,{[n]:FP(Y)+""}];H(v,pe(he.x)),H(C,pe(he.y))},X=()=>{if(!H2){let{Dt:he}=o,pe=Qq(he,qa(p)),Y=ee=>J=>[J.Lt,{[a]:FP(ee)+""}];H(v,Y(pe.x)),H(C,Y(pe.y))}},le=()=>{let{Dt:he}=o,pe=LP(he),Y=ee=>J=>[J.Lt,{[s]:ee?"0":"1"}];H(v,Y(pe.x)),H(C,Y(pe.y)),H2&&(v.forEach(P.x.kt),C.forEach(P.y.kt))},re=()=>{if(S&&!h){let{Rt:he,Dt:pe}=o,Y=LP(pe),ee=Qq(pe,qa(p)),J=ge=>{let{Lt:_}=ge,fe=Z2(_)===f&&_,Ce=(ie,Ae,ye)=>{let Be=Ae*ie;return CX(ye?Be:-Be)};return[fe,fe&&{transform:kP({x:Ce(ee.x,he.x,Y.x),y:Ce(ee.y,he.y,Y.y)})}]};H(v,J),H(C,J)}},W=he=>{let pe=he?"x":"y",ee=W0(`${Ya} ${he?Yge:Kge}`),J=W0(RX),ge=W0(l9),_={Lt:ee,Ut:J,Mt:ge},fe=P[pe];return xo(he?v:C,_),xo(I,[Xn(ee,J),Xn(J,ge),Ve(j0,ee),fe&&fe.kt(_),r(_,j,he)]),_},de=Ve(W,!0),q=Ve(W,!1),me=()=>(Xn(T,v[0].Lt),Xn(T,C[0].Lt),Ve(Xa,I));return de(),q(),[{Pt:se,Nt:X,qt:le,Bt:re,Ft:j,jt:{Xt:v,Yt:de,Wt:Ve(H,v)},Jt:{Xt:C,Yt:q,Wt:Ve(H,C)}},me]},b1e=(e,t,o,r)=>(n,a,s)=>{let{vt:i,L:l,V:c,gt:u,Gt:m,St:f}=t,{Lt:d,Ut:p,Mt:h}=n,[S,g]=yf(333),[b,I]=yf(444),v=w=>{Ls(u.scrollBy)&&u.scrollBy({behavior:"smooth",left:w.x,top:w.y})},C=()=>{let w="pointerup pointercancel lostpointercapture",P=`client${s?"X":"Y"}`,k=s?$0:j2,D=s?"left":"top",H=s?"w":"h",j=s?"x":"y",se=(le,re)=>W=>{let{Rt:de}=o,q=Au(p)[H]-Au(h)[H],he=re*W/q*de[j];ks(u,{[j]:le+he})},X=[];return $t(p,"pointerdown",(le=>{let re=N0(le.target,`.${l9}`)===h,W=re?h:p,de=e.scrollbars,q=de[re?"dragScroll":"clickScroll"],{button:me,isPrimary:he,pointerType:pe}=le,{pointers:Y}=de;if(me===0&&he&&q&&(Y||[]).includes(pe)){Xa(X),I();let J=!re&&(le.shiftKey||q==="instant"),ge=Ve(MP,h),_=Ve(MP,p),fe=(st,ne)=>(st||ge())[D]-(ne||_())[D],Ce=BP(MP(u)[k])/Au(u)[H]||1,ie=se(qa(u)[j],1/Ce),Ae=le[P],ye=ge(),Be=_(),ce=ye[k],Pe=fe(ye,Be)+ce/2,Te=Ae-Be[D],De=re?0:Te-Pe,Ct=st=>{Xa(Qe),W.releasePointerCapture(st.pointerId)},He=re||J,We=f(),Qe=[$t(m,w,Ct),$t(m,"selectstart",(st=>OP(st)),{I:!1}),$t(p,w,Ct),He&&$t(p,"pointermove",(st=>ie(De+(st[P]-Ae)))),He&&(()=>{let st=qa(u);We();let ne=qa(u),Re={x:ne.x-st.x,y:ne.y-st.y};(wu(Re.x)>3||wu(Re.y)>3)&&(f(),ks(u,st),v(Re),b(We))})];if(W.setPointerCapture(le.pointerId),J)ie(De);else if(!re){let st=q0(OX);if(st){let ne=st(ie,De,ce,(Re=>{Re?We():xo(Qe,We)}));xo(Qe,ne),xo(X,Ve(ne,!0))}}}}))},T=!0;return Ve(Xa,[$t(h,"pointermove pointerleave",r),$t(d,"pointerenter",(()=>{a(rX,!0)})),$t(d,"pointerleave pointercancel",(()=>{a(rX,!1)})),!c&&$t(d,"mousedown",(()=>{let w=_P();(qq(w,Ni)||qq(w,ku)||w===document.body)&&ZP(Ve(VP,l),25)})),$t(d,"wheel",(w=>{let{deltaX:P,deltaY:k,deltaMode:D}=w;T&&D===0&&Z2(d)===i&&v({x:P,y:k}),T=!1,a(sX,!0),S((()=>{T=!0,a(sX)})),OP(w)}),{I:!1,A:!0}),$t(d,"pointerdown",(()=>{let w=$t(m,"click",(k=>{P(),AX(k)}),{T:!0,A:!0,I:!1}),P=$t(m,"pointerup pointercancel",(()=>{P(),setTimeout(w,150)}),{A:!0,I:!0})}),{A:!0,I:!0}),C(),g,I])},y1e=(e,t,o,r,n,a)=>{let s,i,l,c,u,m=xf,f=0,d=["mouse","pen"],p=Y=>d.includes(Y.pointerType),[h,S]=yf(),[g,b]=yf(100),[I,v]=yf(100),[C,T]=yf((()=>f)),[w,P]=g1e(e,n,r,b1e(t,n,r,(Y=>p(Y)&&de()))),{vt:k,Kt:D,bt:H}=n,{Ft:j,Pt:se,Nt:X,qt:le,Bt:re}=w,W=(Y,ee)=>{if(T(),Y)j(aX);else{let J=Ve(j,aX,!0);f>0&&!ee?C(J):J()}},de=()=>{(l?!s:!c)&&(W(!0),g((()=>{W(!1)})))},q=Y=>{j(WP,Y,!0),j(WP,Y,!1)},me=Y=>{p(Y)&&(s=l,l&&W(!0))},he=[T,b,v,S,()=>m(),$t(k,"pointerover",me,{T:!0}),$t(k,"pointerenter",me),$t(k,"pointerleave",(Y=>{p(Y)&&(s=!1,l&&W(!1))})),$t(k,"pointermove",(Y=>{p(Y)&&i&&de()})),$t(D,"scroll",(Y=>{h((()=>{X(),de()})),a(Y),re()}))],pe=q0(j6);return[()=>Ve(Xa,xo(he,P())),({zt:Y,At:ee,Qt:J,Zt:ge})=>{let{tn:_,nn:fe,sn:Ce,en:ie}=ge||{},{Ct:Ae,ft:ye}=J||{},{B:Be}=o,{k:ce,U:Pe}=zi(),{cn:Te,j:De}=r,[Ct,He]=Y("showNativeOverlaidScrollbars"),[We,Qe]=Y("scrollbars.theme"),[st,ne]=Y("scrollbars.visibility"),[Re,Ze]=Y("scrollbars.autoHide"),[it,Tn]=Y("scrollbars.autoHideSuspend"),[Jt]=Y("scrollbars.autoHideDelay"),[Dn,ii]=Y("scrollbars.dragScroll"),[Q,bt]=Y("scrollbars.clickScroll"),[qt,Rn]=Y("overflow"),kr=ye&&!ee,R=De.x||De.y,ae=_||fe||ie||Ae||ee,Fe=Ce||ne||Rn,Je=Ct&&ce.x&&ce.y,Zt=!Pe&&!pe,li=Je||Zt,wa=(Jr,ci,Q2)=>{let J2=Jr.includes(Mu)&&(st===ec||st==="auto"&&ci===Mu);return j(Qge,J2,Q2),J2};if(f=Jt,kr&&(it&&R?(q(!1),m(),I((()=>{m=$t(D,"scroll",Ve(q,!0),{T:!0})}))):q(!0)),(He||Zt)&&j(qge,li),Qe&&(j(u),j(We,!0),u=We),Tn&&!it&&q(!0),Ze&&(i=Re==="move",l=Re==="leave",c=Re==="never",W(c,!0)),ii&&j(t1e,Dn),bt&&j(e1e,!!Q),Fe){let Jr=wa(qt.x,Te.x,!0),ci=wa(qt.y,Te.y,!1);j(Jge,!(Jr&&ci))}ae&&(X(),se(),re(),ie&&le(),j(nX,!De.x,!0),j(nX,!De.y,!1),j(Xge,Be&&!H))},{},w]},S1e=e=>{let t=zi(),{K:o,U:r}=t,{elements:n}=o(),{padding:a,viewport:s,content:i}=n,l=E6(e),c=l?{}:e,{elements:u}=c,{padding:m,viewport:f,content:d}=u||{},p=l?e:c.target,h=xX(p),S=p.ownerDocument,g=S.documentElement,b=()=>S.defaultView||xa,I=Ve(p1e,[p]),v=Ve(jX,[p]),C=Ve(W0,""),T=Ve(I,C,s),w=Ve(v,C,i),P=ce=>{let Pe=Au(ce),Te=_6(ce),De=ri(ce,XP),Ct=ri(ce,YP);return Te.w-Pe.w>0&&!z0(De)||Te.h-Pe.h>0&&!z0(Ct)},k=T(f),D=k===p,H=D&&h,j=!D&&w(d),se=!D&&k===j,X=H?g:k,le=H?X:p,re=!D&&v(C,a,m),W=!se&&j,de=[W,X,re,le].map((ce=>E6(ce)&&!Z2(ce)&&ce)),q=ce=>ce&&fX(de,ce),me=!q(X)&&P(X)?X:p,he=H?g:X,Y={dt:p,vt:le,L:X,rn:re,ht:W,gt:he,Kt:H?S:X,ln:h?g:me,Gt:S,bt:h,Tt:l,V:D,an:b,wt:ce=>o9(X,Ni,ce),yt:(ce,Pe)=>R6(X,Ni,ce,Pe),St:()=>R6(he,Ni,Uge,!0)},{dt:ee,vt:J,rn:ge,L:_,ht:fe}=Y,Ce=[()=>{Vi(J,[ku,PP]),Vi(ee,PP),h&&Vi(g,[PP,ku])}],ie=RP([fe,_,ge,J,ee].find((ce=>ce&&!q(ce)))),Ae=H?ee:fe||_,ye=Ve(Xa,Ce);return[Y,()=>{let ce=b(),Pe=_P(),Te=Qe=>{Xn(Z2(Qe),RP(Qe)),j0(Qe)},De=Qe=>$t(Qe,"focusin focusout focus blur",AX,{A:!0,I:!1}),Ct="tabindex",He=JP(_,Ct),We=De(Pe);return Jl(J,ku,D?"":Nge),Jl(ge,zP,""),Jl(_,Ni,""),Jl(fe,tX,""),D||(Jl(_,Ct,He||"-1"),h&&Jl(g,eX,"")),Xn(Ae,ie),Xn(J,ge),Xn(ge||J,!D&&_),Xn(_,fe),xo(Ce,[We,()=>{let Qe=_P(),st=q(_),ne=st&&Qe===_?ee:Qe,Re=De(ne);Vi(ge,zP),Vi(fe,tX),Vi(_,Ni),h&&Vi(g,eX),He?Jl(_,Ct,He):Vi(_,Ct),q(fe)&&Te(fe),st&&Te(_),q(ge)&&Te(ge),VP(ne),Re()}]),r&&!D&&(t9(_,Ni,DX),xo(Ce,Ve(Vi,_,Ni))),VP(!D&&h&&Pe===ee&&ce.top===ce?_:Pe),We(),ie=0,ye},ye]},x1e=({ht:e})=>({Qt:t,un:o,At:r})=>{let{$t:n}=t||{},{Ot:a}=o;e&&(n||r)&&tc(e,{[j2]:a&&"100%"})},I1e=({vt:e,rn:t,L:o,V:r},n)=>{let[a,s]=$a({i:Mge,o:Yq()},Ve(Yq,e,"padding",""));return({zt:i,Qt:l,un:c,At:u})=>{let[m,f]=s(u),{U:d}=zi(),{_t:p,xt:h,Ct:S}=l||{},{B:g}=c,[b,I]=i("paddingAbsolute");(p||f||(u||h))&&([m,f]=a(u));let C=!r&&(I||S||f);if(C){let T=!b||!t&&!d,w=m.r+m.l,P=m.t+m.b,k={[W2]:T&&!g?-w:0,[V0]:T?-P:0,[z2]:T&&g?-w:0,top:T?-m.t:0,right:T?g?-m.r:"auto":0,left:T?g?"auto":-m.l:0,[$0]:T&&`calc(100% + ${w}px)`},D={[qP]:T?m.t:0,[O2]:T?m.r:0,[N2]:T?m.b:0,[V2]:T?m.l:0};tc(t||o,k),tc(o,D),It(n,{rn:m,fn:!T,F:t?D:It({},k,D)})}return{_n:C}}},v1e=(e,t)=>{let o=zi(),{vt:r,rn:n,L:a,V:s,Kt:i,gt:l,bt:c,yt:u,an:m}=e,{U:f}=o,d=c&&s,p=Ve(L6,0),h={display:()=>!1,direction:ee=>ee!=="ltr",flexDirection:ee=>ee.endsWith("-reverse"),writingMode:ee=>ee!=="horizontal-tb"},S=qn(h),g={i:KP,o:{w:0,h:0}},b={i:T6,o:{}},I=ee=>{u(BX,!d&&ee)},v=()=>ri(a,S),C=(ee,J)=>{let ge=!qn(ee).length,_=!J&&S.some((He=>{let We=ee[He];return G0(We)&&h[He](We)}));if(ge&&!_||!Fge(a))return{D:{x:0,y:0},M:{x:1,y:1}};I(!0);let Ce=qa(l),ie=$t(i,Mu,(He=>{let We=qa(l);He.isTrusted&&We.x===Ce.x&&We.y===Ce.y&&a9(He)}),{A:!0,T:!0}),Ae=u(Zge,!0);ks(l,{x:0,y:0}),Ae();let ye=qa(l),Be=_6(l);ks(l,{x:Be.w,y:Be.h});let ce=qa(l),Pe={x:ce.x-ye.x,y:ce.y-ye.y};ks(l,{x:-Be.w,y:-Be.h});let Te=qa(l),De={x:Te.x-ye.x,y:Te.y-ye.y},Ct={x:wu(Pe.x)>=wu(De.x)?ce.x:Te.x,y:wu(Pe.y)>=wu(De.y)?ce.y:Te.y};return ks(l,Ce),U0((()=>ie())),{D:ye,M:Ct}},T=(ee,J)=>{let ge=xa.devicePixelRatio%1!==0?1:0,_={w:p(ee.w-J.w),h:p(ee.h-J.h)};return{w:_.w>ge?_.w:0,h:_.h>ge?_.h:0}},w=(ee,J)=>{let ge=(_,fe,Ce,ie)=>{let Ae=_===ec?oi:r1e(_),ye=z0(_),Be=z0(Ce);return!fe&&!ie?oi:ye&&Be?ec:ye?fe&&ie?Ae:fe?ec:oi:fe?Ae:Be&&ie?ec:oi};return{x:ge(J.x,ee.x,J.y,ee.y),y:ge(J.y,ee.y,J.x,ee.x)}},P=ee=>{let J=_=>[ec,oi,Mu].map((fe=>Y(UP(fe),_))),ge=J(!0).concat(J()).join(" ");u(ge),u(qn(ee).map((_=>Y(ee[_],_==="x"))).join(" "),!0)},[k,D]=$a(g,Ve(n9,a)),[H,j]=$a(g,Ve(_6,a)),[se,X]=$a(g),[le]=$a(b),[re,W]=$a(g),[de]=$a(b),[q]=$a({i:(ee,J)=>z6(ee,J,D6(Z0(qn(ee),qn(J)))),o:{}}),[me,he]=$a({i:(ee,J)=>T6(ee.D,J.D)&&T6(ee.M,J.M),o:kX()}),pe=q0(j6),Y=(ee,J)=>`${J?zge:Wge}${kge(ee)}`;return({zt:ee,Qt:J,un:ge,At:_},{_n:fe})=>{let{_t:Ce,Ht:ie,xt:Ae,Ct:ye,ft:Be,Et:ce}=J||{},Pe=pe&&pe.R(e,t,ge,o,ee),{X:Te,Y:De,W:Ct}=Pe||{},[He,We]=FX(ee,o),[Qe,st]=ee("overflow"),ne=z0(Qe.x),Re=z0(Qe.y),Ze=Ce||fe||Ae||ye||ce||We,it=D(_),Tn=j(_),Jt=X(_),Dn=W(_);if(We&&f&&u(DX,!He),Ze){o9(r,ku,k6)&&I(!0);let E9=De&&De(),[eb]=it=k(_),[tb]=Tn=H(_),ob=wX(a),rb=d&&_ge(m()),rK={w:p(tb.w+eb.w),h:p(tb.h+eb.h)},B9={w:p((rb?rb.w:ob.w+p(ob.w-tb.w))+eb.w),h:p((rb?rb.h:ob.h+p(ob.h-tb.h))+eb.h)};E9&&E9(),Dn=re(B9),Jt=se(T(rK,B9),_)}let[ii,Q]=Dn,[bt,qt]=Jt,[Rn,kr]=Tn,[R,ae]=it,[Fe,Je]=le({x:bt.w>0,y:bt.h>0}),Zt=ne&&Re&&(Fe.x||Fe.y)||ne&&Fe.x&&!Fe.y||Re&&Fe.y&&!Fe.x,li=fe||ye||ce||ae||kr||Q||qt||st||We||Ze||ie&&d,[wa]=ee("update.flowDirectionStyles"),[Jr,ci]=q(wa?wa(a):v(),_),Q2=ye||Be||ci||Je||_,[J2,eK]=Q2?me(C(Jr,!!wa),_):he(),ih=w(Fe,Qe);I(!1),li&&(P(ih),ih=HX(a,Fe),Ct&&Te&&(Te(ih,Rn,R),tc(a,Ct(ih))));let[tK,oK]=de(ih);return R6(r,ku,k6,Zt),R6(n,zP,k6,Zt),It(t,{cn:tK,Vt:{x:ii.w,y:ii.h},Rt:{x:bt.w,y:bt.h},j:Fe,Dt:Hge(J2,bt)}),{sn:oK,tn:Q,nn:qt,en:eK||qt}}},C1e=e=>{let[t,o,r]=S1e(e),n={rn:{t:0,r:0,b:0,l:0},fn:!1,F:{[W2]:0,[V0]:0,[z2]:0,[qP]:0,[O2]:0,[N2]:0,[V2]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},cn:{x:oi,y:oi},j:{x:!1,y:!1},Dt:kX()},{dt:a,gt:s,V:i,St:l}=t,{U:c,k:u}=zi(),m=!c&&(u.x||u.y),f=[x1e(t),I1e(t,n),v1e(t,n)];return[o,d=>{let p={},S=m&&qa(s),g=S&&l();return Ot(f,(b=>{It(p,b(d,p)||{})})),ks(s,S),g&&g(),i||ks(a,0),p},n,t,r]},w1e=(e,t,o,r,n)=>{let a=!1,s=cX(t,{}),[i,l,c,u,m]=C1e(e),[f,d,p]=d1e(u,c,s,(v=>{I({},v)})),[h,S,,g]=y1e(e,t,p,c,u,n),b=v=>qn(v).some((C=>!!v[C])),I=(v,C)=>{if(o())return!1;let{dn:T,At:w,It:P,pn:k}=v,D=T||{},H=!!w||!a,j={zt:cX(t,D,H),dn:D,At:H};if(k)return S(j),!1;let se=C||d(It({},j,{It:P})),X=l(It({},j,{un:p,Qt:se}));S(It({},j,{Qt:se,Zt:X}));let le=b(se),re=b(X),W=le||re||!QP(D)||H;return a=!0,W&&r(v,{Qt:se,Zt:X}),W};return[()=>{let{ln:v,gt:C,St:T}=u,w=qa(v),P=[f(),i(),h()],k=T();return ks(C,w),k(),Ve(Xa,P)},I,()=>({vn:p,gn:c}),{hn:u,bn:g},m]},c9=new WeakMap,T1e=(e,t)=>{c9.set(e,t)},A1e=e=>{c9.delete(e)},GX=e=>c9.get(e),Lu=(e,t,o)=>{let{tt:r}=zi(),n=E6(e),a=n?e:e.target,s=GX(a);if(t&&!s){let i=!1,l=[],c={},u=D=>{let H=hX(D),j=q0(Vge);return j?j(H,!0):H},m=It({},r(),u(t)),[f,d,p]=NP(),[h,S,g]=NP(o),b=(D,H)=>{g(D,H),p(D,H)},[I,v,C,T,w]=w1e(e,m,(()=>i),(({dn:D,At:H},{Qt:j,Zt:se})=>{let{_t:X,Ct:le,$t:re,xt:W,Ht:de,ft:q}=j,{tn:me,nn:he,sn:pe,en:Y}=se;b("updated",[k,{updateHints:{sizeChanged:!!X,directionChanged:!!le,heightIntrinsicChanged:!!re,overflowEdgeChanged:!!me,overflowAmountChanged:!!he,overflowStyleChanged:!!pe,scrollCoordinatesChanged:!!Y,contentMutation:!!W,hostMutation:!!de,appear:!!q},changedOptions:D||{},force:!!H}])}),(D=>b("scroll",[k,D]))),P=D=>{A1e(a),Xa(l),i=!0,b("destroyed",[k,D]),d(),S()},k={options(D,H){if(D){let j=H?r():{},se=zX(m,It(j,u(D)));QP(se)||(It(m,se),v({dn:se}))}return It({},m)},on:h,off:(D,H)=>{D&&H&&S(D,H)},state(){let{vn:D,gn:H}=C(),{B:j}=D,{Vt:se,Rt:X,cn:le,j:re,rn:W,fn:de,Dt:q}=H;return It({},{overflowEdge:se,overflowAmount:X,overflowStyle:le,hasOverflow:re,scrollCoordinates:{start:q.D,end:q.M},padding:W,paddingAbsolute:de,directionRTL:j,destroyed:i})},elements(){let{dt:D,vt:H,rn:j,L:se,ht:X,gt:le,Kt:re}=T.hn,{jt:W,Jt:de}=T.bn,q=he=>{let{Mt:pe,Ut:Y,Lt:ee}=he;return{scrollbar:ee,track:Y,handle:pe}},me=he=>{let{Xt:pe,Yt:Y}=he,ee=q(pe[0]);return It({},ee,{clone:()=>{let J=q(Y());return v({pn:!0}),J}})};return It({},{target:D,host:H,padding:j||se,viewport:se,content:X||se,scrollOffsetElement:le,scrollEventElement:re,scrollbarHorizontal:me(W),scrollbarVertical:me(de)})},update:D=>v({At:D,It:!0}),destroy:Ve(P,!1),plugin:D=>c[qn(D)[0]]};return xo(l,[w]),T1e(a,k),PX(MX,Lu,[k,f,c]),h1e(T.hn.bt,!n&&e.cancel)?(P(!0),k):(xo(l,I()),b("initialized",[k]),k.update(),k)}return s};Lu.plugin=e=>{let t=Ms(e),o=t?e:[e],r=o.map((n=>PX(n,Lu)[0]));return Oge(o),t?r:r[0]};Lu.valid=e=>{let t=e&&e.elements,o=Ls(t)&&t();return U2(o)&&!!GX(o.target)};Lu.env=()=>{let{P:e,k:t,U:o,J:r,ot:n,st:a,K:s,Z:i,tt:l,nt:c}=zi();return It({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:o,scrollTimeline:r,staticDefaultInitialization:n,staticDefaultOptions:a,getDefaultInitialization:s,setDefaultInitialization:i,getDefaultOptions:l,setDefaultOptions:c})};Lu.nonce=c1e;Lu.trustedTypePolicy=Bge});var QY=M(CR());var Kn=M(F());function ug(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function e3(){return!!globalThis?.document}function Ry(e){return e.parentElement&&Ry(e.parentElement)?!0:e.hidden}function t3(e){let t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function o3(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function r3(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let o={...e};for(let r of t)if(r!=null)for(let n in r)Object.prototype.hasOwnProperty.call(r,n)&&(n in o&&delete o[n],o[n]=r[n]);return o}var Me=e=>e?"":void 0,ml=e=>e?!0:void 0;function mg(e){return Array.isArray(e)}function Et(e){let t=typeof e;return e!=null&&(t==="object"||t==="function")&&!mg(e)}function oee(e){let t=e==null?0:e.length;return t?e[t-1]:void 0}function ree(e){let t=parseFloat(e.toString()),o=e.toString().replace(String(t),"");return{unitless:!o,value:t,unit:o}}function _y(e){if(e==null)return e;let{unitless:t}=ree(e);return t||typeof e=="number"?`${e}px`:e}var AR=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,n3=e=>Object.fromEntries(Object.entries(e).sort(AR));function wR(e){let t=n3(e);return Object.assign(Object.values(t),t)}function nee(e){let t=Object.keys(n3(e));return new Set(t)}function TR(e){if(!e)return e;e=_y(e)??e;let t=-.02;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,o=>`${parseFloat(o)+t}`)}function om(e,t){let o=["@media screen"];return e&&o.push("and",`(min-width: ${_y(e)})`),t&&o.push("and",`(max-width: ${_y(t)})`),o.join(" ")}function a3(e){if(!e)return null;e.base=e.base??"0px";let t=wR(e),o=Object.entries(e).sort(AR).map(([a,s],i,l)=>{let[,c]=l[i+1]??[];return c=parseFloat(c)>0?TR(c):void 0,{_minW:TR(s),breakpoint:a,minW:s,maxW:c,maxWQuery:om(null,c),minWQuery:om(s),minMaxQuery:om(s,c)}}),r=nee(e),n=Array.from(r.values());return{keys:r,normalized:t,isResponsive(a){let s=Object.keys(a);return s.length>0&&s.every(i=>r.has(i))},asObject:n3(e),asArray:wR(e),details:o,get(a){return o.find(s=>s.breakpoint===a)},media:[null,...t.map(a=>om(a)).slice(1)],toArrayValue(a){if(!Et(a))throw new Error("toArrayValue: value must be an object");let s=n.map(i=>a[i]??null);for(;oee(s)===null;)s.pop();return s},toObjectValue(a){if(!Array.isArray(a))throw new Error("toObjectValue: value must be an array");return a.reduce((s,i,l)=>{let c=n[l];return c!=null&&i!=null&&(s[c]=i),s},{})}}}function fg(...e){return function(...o){e.forEach(r=>r?.(...o))}}function Ue(...e){return function(o){e.some(r=>(r?.(o),o?.defaultPrevented))}}var Fy=M(F(),1);function rm(e){return Fy.Children.toArray(e).filter(t=>(0,Fy.isValidElement)(t))}function nm(e){let t=Object.assign({},e);for(let o in t)t[o]===void 0&&delete t[o];return t}var Hy=M(F(),1);function aee(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function qe(e={}){let{name:t,strict:o=!0,hookName:r="useContext",providerName:n="Provider",errorMessage:a,defaultValue:s}=e,i=(0,Hy.createContext)(s);i.displayName=t;function l(){let c=(0,Hy.useContext)(i);if(!c&&o){let u=new Error(a??aee(r,n));throw u.name="ContextError",Error.captureStackTrace?.(u,l),u}return c}return[i.Provider,l,i]}var xe=(...e)=>e.filter(Boolean).join(" ");var see=e=>e.hasAttribute("tabindex");function kR(e){if(!ug(e)||Ry(e)||o3(e))return!1;let{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;let r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():t3(e)?!0:see(e)}var iee=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],lee=iee.join(),cee=e=>e.offsetWidth>0&&e.offsetHeight>0;function s3(e){let t=Array.from(e.querySelectorAll(lee));return t.unshift(e),t.filter(o=>kR(o)&&cee(o))}function MR(e,t,o,r){let n=typeof t=="string"?t.split("."):[t];for(r=0;r<n.length&&e;r+=1)e=e[n[r]];return e===void 0?o:e}var uee=e=>{let t=new WeakMap;return(r,n,a,s)=>{if(typeof r>"u")return e(r,n,a);t.has(r)||t.set(r,new Map);let i=t.get(r);if(i.has(n))return i.get(n);let l=e(r,n,a,s);return i.set(n,l),l}},dg=uee(MR);var i3=e=>e.default||e;function l3(e){let{wasSelected:t,enabled:o,isSelected:r,mode:n="unmount"}=e;return!!(!o||r||n==="keepMounted"&&t)}function fl(e,t=[]){let o=Object.assign({},e);for(let r of t)r in o&&delete o[r];return o}function pg(e,t){let o={};for(let r of t)r in e&&(o[r]=e[r]);return o}var mee=Object.freeze(["base","sm","md","lg","xl","2xl"]);function Sd(e,t){return Array.isArray(e)?e.map(o=>o===null?null:t(o)):Et(e)?Object.keys(e).reduce((o,r)=>(o[r]=t(e[r]),o),{}):e!=null?t(e):null}var fee=e=>typeof e=="function";function Br(e,...t){return fee(e)?e(...t):e}function dee(e){let t=e.ownerDocument.defaultView||window,{overflow:o,overflowX:r,overflowY:n}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(o+n+r)}function pee(e){return e.localName==="html"?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}function Oy(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:ug(e)&&dee(e)?e:Oy(pee(e))}function c3(e,t){let o={},r={};for(let[n,a]of Object.entries(e))t.includes(n)?o[n]=a:r[n]=a;return[o,r]}function u3(e,...t){let o=Object.getOwnPropertyDescriptors(e),r=Object.keys(o),n=s=>{let i={};for(let l=0;l<s.length;l++){let c=s[l];o[c]&&(Object.defineProperty(i,c,o[c]),delete o[c])}return i},a=s=>n(Array.isArray(s)?s:r.filter(s));return t.map(a).concat(n(r))}function Vy(e,t,o={}){let{stop:r,getKey:n}=o;function a(s,i=[]){if(Et(s)||Array.isArray(s)){let l={};for(let[c,u]of Object.entries(s)){let m=n?.(c)??c,f=[...i,m];if(r?.(s,f))return t(s,i);l[m]=a(u,f)}return l}return t(s,i)}return a(e)}var Zr=M(r_(),1);var n_=M(F(),1);var Cd=M(F(),1);function kn(e,t=[]){let o=(0,Cd.useRef)(e);return(0,Cd.useEffect)(()=>{o.current=e}),(0,Cd.useCallback)((...r)=>o.current?.(...r),t)}function xg(e,t,o,r){let n=kn(o);return(0,n_.useEffect)(()=>{let a=typeof e=="function"?e():e??document;if(!(!o||!a))return a.addEventListener(t,n,r),()=>{a.removeEventListener(t,n,r)}},[t,e,r,n,o]),()=>{(typeof e=="function"?e():e??document)?.removeEventListener(t,n,r)}}var I3=M(F(),1);function v3(e){let{value:t,defaultValue:o,onChange:r,shouldUpdate:n=(f,d)=>f!==d}=e,a=kn(r),s=kn(n),[i,l]=(0,I3.useState)(o),c=t!==void 0,u=c?t:i,m=kn(f=>{let p=typeof f=="function"?f(u):f;s(u,p)&&(c||l(p),a(p))},[c,a,u,s]);return[u,m]}var Fc=M(F(),1);function C3(e={}){let{onClose:t,onOpen:o,isOpen:r,id:n}=e,a=kn(o),s=kn(t),[i,l]=(0,Fc.useState)(e.defaultIsOpen||!1),c=r!==void 0?r:i,u=r!==void 0,m=(0,Fc.useId)(),f=n??`disclosure-${m}`,d=(0,Fc.useCallback)(()=>{u||l(!1),s?.()},[u,s]),p=(0,Fc.useCallback)(()=>{u||l(!0),a?.()},[u,a]),h=(0,Fc.useCallback)(()=>{c?d():p()},[c,p,d]);function S(b={}){return{...b,"aria-expanded":c,"aria-controls":f,onClick(I){b.onClick?.(I),h()}}}function g(b={}){return{...b,hidden:!c,id:f}}return{isOpen:c,onOpen:p,onClose:d,onToggle:h,isControlled:u,getButtonProps:S,getDisclosureProps:g}}var qy=M(F(),1),ms=globalThis?.document?qy.useLayoutEffect:qy.useEffect;var wd=M(F(),1),Td=(e,t)=>{let o=(0,wd.useRef)(!1),r=(0,wd.useRef)(!1);(0,wd.useEffect)(()=>{if(o.current&&r.current)return e();r.current=!0},t),(0,wd.useEffect)(()=>(o.current=!0,()=>{o.current=!1}),[])};var a_=M(F(),1);function ioe(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function mo(...e){return t=>{e.forEach(o=>{ioe(o,t)})}}function w3(...e){return(0,a_.useMemo)(()=>mo(...e),e)}var s_=M(F(),1);function T3(e,t){let o=kn(e);(0,s_.useEffect)(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{o()},t),()=>{r&&window.clearTimeout(r)}},[t,o])}var jr={open:(e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`,closed:(e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`,hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},bi=e=>i_(t=>e(t,"&"),"[role=group]","[data-group]",".group"),hl=e=>i_(t=>e(t,"~ &"),"[data-peer]",".peer"),i_=(e,...t)=>t.map(e).join(", "),lm={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:bi(jr.open),_groupClosed:bi(jr.closed),_groupHover:bi(jr.hover),_peerHover:hl(jr.hover),_groupFocus:bi(jr.focus),_peerFocus:hl(jr.focus),_groupFocusVisible:bi(jr.focusVisible),_peerFocusVisible:hl(jr.focusVisible),_groupActive:bi(jr.active),_peerActive:hl(jr.active),_groupDisabled:bi(jr.disabled),_peerDisabled:hl(jr.disabled),_groupInvalid:bi(jr.invalid),_peerInvalid:hl(jr.invalid),_groupChecked:bi(jr.checked),_peerChecked:hl(jr.checked),_groupFocusWithin:bi(jr.focusWithin),_peerFocusWithin:hl(jr.focusWithin),_peerPlaceholderShown:hl(jr.placeholderShown),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},Xy=Object.keys(lm);var loe=e=>/!(important)?$/.test(e),l_=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,coe=(e,t)=>o=>{let r=String(t),n=loe(r),a=l_(r),s=e?`${e}.${a}`:a,i=Et(o.__cssMap)&&s in o.__cssMap?o.__cssMap[s].varRef:t;return i=l_(i),n?`${i} !important`:i};function Ig(e){let{scale:t,transform:o,compose:r}=e;return(a,s)=>{let i=coe(t,a)(s),l=o?.(i,s)??i;return r&&(l=r(l,s)),l}}var vg=(...e)=>t=>e.reduce((o,r)=>r(o),t);function _a(e,t){return o=>{let r={property:o,scale:e};return r.transform=Ig({scale:e,transform:t}),r}}var uoe=({rtl:e,ltr:t})=>o=>o.direction==="rtl"?e:t;function c_(e){let{property:t,scale:o,transform:r}=e;return{scale:o,property:uoe(t),transform:o?Ig({scale:o,compose:r}):r}}var u_=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function m_(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...u_].join(" ")}function f_(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...u_].join(" ")}var d_={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},p_={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function h_(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var g_={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}};var A3={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},moe=new Set(Object.values(A3)),Yy=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),foe=e=>e.trim();function doe(e,t){if(e==null||Yy.has(e))return e;if(!(Ky(e)||Yy.has(e)))return`url('${e}')`;let n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),a=n?.[1],s=n?.[2];if(!a||!s)return e;let i=a.includes("-gradient")?a:`${a}-gradient`,[l,...c]=s.split(",").map(foe).filter(Boolean);if(c?.length===0)return e;let u=l in A3?A3[l]:l;c.unshift(u);let m=c.map(f=>{if(moe.has(f))return f;let d=f.indexOf(" "),[p,h]=d!==-1?[f.substr(0,d),f.substr(d+1)]:[f],S=Ky(h)?h:h&&h.split(" "),g=`colors.${p}`,b=g in t.__cssMap?t.__cssMap[g].varRef:p;return S?[b,...Array.isArray(S)?S:[S]].join(" "):b});return`${i}(${m.join(", ")})`}var Ky=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),b_=(e,t)=>doe(e,t??{});function poe(e){return/^var\(--.+\)$/.test(e)}var hoe=e=>{let t=parseFloat(e.toString()),o=e.toString().replace(String(t),"");return{unitless:!o,value:t,unit:o}},yi=e=>t=>`${e}(${t})`,je={filter(e){return e!=="auto"?e:d_},backdropFilter(e){return e!=="auto"?e:p_},ring(e){return h_(je.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?m_():e==="auto-gpu"?f_():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;let{unitless:t}=hoe(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){let o={left:"right",right:"left"};return t.direction==="rtl"?o[e]:e},degree(e){if(poe(e)||e==null)return e;let t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:b_,blur:yi("blur"),opacity:yi("opacity"),brightness:yi("brightness"),contrast:yi("contrast"),dropShadow:yi("drop-shadow"),grayscale:yi("grayscale"),hueRotate:e=>yi("hue-rotate")(je.degree(e)),invert:yi("invert"),saturate:yi("saturate"),sepia:yi("sepia"),bgImage(e){return e==null||Ky(e)||Yy.has(e)?e:`url(${e})`},outline(e){let t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){let{space:t,divide:o}=g_[e]??{},r={flexDirection:e};return t&&(r[t]=1),o&&(r[o]=1),r}};var V={borderWidths:_a("borderWidths"),borderStyles:_a("borderStyles"),colors:_a("colors"),borders:_a("borders"),gradients:_a("gradients",je.gradient),radii:_a("radii",je.px),space:_a("space",vg(je.vh,je.px)),spaceT:_a("space",vg(je.vh,je.px)),degreeT(e){return{property:e,transform:je.degree}},prop(e,t,o){return{property:e,scale:t,...t&&{transform:Ig({scale:t,transform:o})}}},propT(e,t){return{property:e,transform:t}},sizes:_a("sizes",vg(je.vh,je.px)),sizesT:_a("sizes",vg(je.vh,je.fraction)),shadows:_a("shadows"),logical:c_,blur:_a("blur",je.blur)};var Cg={background:V.colors("background"),backgroundColor:V.colors("backgroundColor"),backgroundImage:V.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:je.bgClip},bgSize:V.prop("backgroundSize"),bgPosition:V.prop("backgroundPosition"),bg:V.colors("background"),bgColor:V.colors("backgroundColor"),bgPos:V.prop("backgroundPosition"),bgRepeat:V.prop("backgroundRepeat"),bgAttachment:V.prop("backgroundAttachment"),bgGradient:V.gradients("backgroundImage"),bgClip:{transform:je.bgClip}};Object.assign(Cg,{bgImage:Cg.backgroundImage,bgImg:Cg.backgroundImage});var At={border:V.borders("border"),borderWidth:V.borderWidths("borderWidth"),borderStyle:V.borderStyles("borderStyle"),borderColor:V.colors("borderColor"),borderRadius:V.radii("borderRadius"),borderTop:V.borders("borderTop"),borderBlockStart:V.borders("borderBlockStart"),borderTopLeftRadius:V.radii("borderTopLeftRadius"),borderStartStartRadius:V.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:V.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:V.radii("borderTopRightRadius"),borderStartEndRadius:V.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:V.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:V.borders("borderRight"),borderInlineEnd:V.borders("borderInlineEnd"),borderBottom:V.borders("borderBottom"),borderBlockEnd:V.borders("borderBlockEnd"),borderBottomLeftRadius:V.radii("borderBottomLeftRadius"),borderBottomRightRadius:V.radii("borderBottomRightRadius"),borderLeft:V.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:V.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:V.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:V.borders(["borderLeft","borderRight"]),borderInline:V.borders("borderInline"),borderY:V.borders(["borderTop","borderBottom"]),borderBlock:V.borders("borderBlock"),borderTopWidth:V.borderWidths("borderTopWidth"),borderBlockStartWidth:V.borderWidths("borderBlockStartWidth"),borderTopColor:V.colors("borderTopColor"),borderBlockStartColor:V.colors("borderBlockStartColor"),borderTopStyle:V.borderStyles("borderTopStyle"),borderBlockStartStyle:V.borderStyles("borderBlockStartStyle"),borderBottomWidth:V.borderWidths("borderBottomWidth"),borderBlockEndWidth:V.borderWidths("borderBlockEndWidth"),borderBottomColor:V.colors("borderBottomColor"),borderBlockEndColor:V.colors("borderBlockEndColor"),borderBottomStyle:V.borderStyles("borderBottomStyle"),borderBlockEndStyle:V.borderStyles("borderBlockEndStyle"),borderLeftWidth:V.borderWidths("borderLeftWidth"),borderInlineStartWidth:V.borderWidths("borderInlineStartWidth"),borderLeftColor:V.colors("borderLeftColor"),borderInlineStartColor:V.colors("borderInlineStartColor"),borderLeftStyle:V.borderStyles("borderLeftStyle"),borderInlineStartStyle:V.borderStyles("borderInlineStartStyle"),borderRightWidth:V.borderWidths("borderRightWidth"),borderInlineEndWidth:V.borderWidths("borderInlineEndWidth"),borderRightColor:V.colors("borderRightColor"),borderInlineEndColor:V.colors("borderInlineEndColor"),borderRightStyle:V.borderStyles("borderRightStyle"),borderInlineEndStyle:V.borderStyles("borderInlineEndStyle"),borderTopRadius:V.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:V.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:V.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:V.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(At,{rounded:At.borderRadius,roundedTop:At.borderTopRadius,roundedTopLeft:At.borderTopLeftRadius,roundedTopRight:At.borderTopRightRadius,roundedTopStart:At.borderStartStartRadius,roundedTopEnd:At.borderStartEndRadius,roundedBottom:At.borderBottomRadius,roundedBottomLeft:At.borderBottomLeftRadius,roundedBottomRight:At.borderBottomRightRadius,roundedBottomStart:At.borderEndStartRadius,roundedBottomEnd:At.borderEndEndRadius,roundedLeft:At.borderLeftRadius,roundedRight:At.borderRightRadius,roundedStart:At.borderInlineStartRadius,roundedEnd:At.borderInlineEndRadius,borderStart:At.borderInlineStart,borderEnd:At.borderInlineEnd,borderTopStartRadius:At.borderStartStartRadius,borderTopEndRadius:At.borderStartEndRadius,borderBottomStartRadius:At.borderEndStartRadius,borderBottomEndRadius:At.borderEndEndRadius,borderStartRadius:At.borderInlineStartRadius,borderEndRadius:At.borderInlineEndRadius,borderStartWidth:At.borderInlineStartWidth,borderEndWidth:At.borderInlineEndWidth,borderStartColor:At.borderInlineStartColor,borderEndColor:At.borderInlineEndColor,borderStartStyle:At.borderInlineStartStyle,borderEndStyle:At.borderInlineEndStyle});var y_={color:V.colors("color"),textColor:V.colors("color"),fill:V.colors("fill"),stroke:V.colors("stroke"),accentColor:V.colors("accentColor"),textFillColor:V.colors("textFillColor")};var wg={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:je.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:V.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:V.space("gap"),rowGap:V.space("rowGap"),columnGap:V.space("columnGap")};Object.assign(wg,{flexDir:wg.flexDirection});var Fa={width:V.sizesT("width"),inlineSize:V.sizesT("inlineSize"),height:V.sizes("height"),blockSize:V.sizes("blockSize"),boxSize:V.sizes(["width","height"]),minWidth:V.sizes("minWidth"),minInlineSize:V.sizes("minInlineSize"),minHeight:V.sizes("minHeight"),minBlockSize:V.sizes("minBlockSize"),maxWidth:V.sizes("maxWidth"),maxInlineSize:V.sizes("maxInlineSize"),maxHeight:V.sizes("maxHeight"),maxBlockSize:V.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>({[`@media screen and (min-width: ${t.__breakpoints?.get(e)?.minW??e})`]:{display:"none"}})},hideBelow:{scale:"breakpoints",transform:(e,t)=>({[`@media screen and (max-width: ${t.__breakpoints?.get(e)?._minW??e})`]:{display:"none"}})},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:V.propT("float",je.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Fa,{w:Fa.width,h:Fa.height,minW:Fa.minWidth,maxW:Fa.maxWidth,minH:Fa.minHeight,maxH:Fa.maxHeight,overscroll:Fa.overscrollBehavior,overscrollX:Fa.overscrollBehaviorX,overscrollY:Fa.overscrollBehaviorY});var S_={filter:{transform:je.filter},blur:V.blur("--chakra-blur"),brightness:V.propT("--chakra-brightness",je.brightness),contrast:V.propT("--chakra-contrast",je.contrast),hueRotate:V.propT("--chakra-hue-rotate",je.hueRotate),invert:V.propT("--chakra-invert",je.invert),saturate:V.propT("--chakra-saturate",je.saturate),dropShadow:V.propT("--chakra-drop-shadow",je.dropShadow),backdropFilter:{transform:je.backdropFilter},backdropBlur:V.blur("--chakra-backdrop-blur"),backdropBrightness:V.propT("--chakra-backdrop-brightness",je.brightness),backdropContrast:V.propT("--chakra-backdrop-contrast",je.contrast),backdropHueRotate:V.propT("--chakra-backdrop-hue-rotate",je.hueRotate),backdropInvert:V.propT("--chakra-backdrop-invert",je.invert),backdropSaturate:V.propT("--chakra-backdrop-saturate",je.saturate)};var x_={ring:{transform:je.ring},ringColor:V.colors("--chakra-ring-color"),ringOffset:V.prop("--chakra-ring-offset-width"),ringOffsetColor:V.colors("--chakra-ring-offset-color"),ringInset:V.prop("--chakra-ring-inset")};var I_={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:je.outline},outlineOffset:!0,outlineColor:V.colors("outlineColor")};var k3={gridGap:V.space("gridGap"),gridColumnGap:V.space("gridColumnGap"),gridRowGap:V.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0};function goe(e,t,o,r){let n=typeof t=="string"?t.split("."):[t];for(r=0;r<n.length&&e;r+=1)e=e[n[r]];return e===void 0?o:e}var boe=e=>{let t=new WeakMap;return(r,n,a,s)=>{if(typeof r>"u")return e(r,n,a);t.has(r)||t.set(r,new Map);let i=t.get(r);if(i.has(n))return i.get(n);let l=e(r,n,a,s);return i.set(n,l),l}},v_=boe(goe);var yoe={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Soe={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},M3=(e,t,o)=>{let r={},n=v_(e,t,{});for(let a in n)a in o&&o[a]!=null||(r[a]=n[a]);return r},C_={srOnly:{transform(e){return e===!0?yoe:e==="focusable"?Soe:{}}},layerStyle:{processResult:!0,transform:(e,t,o)=>M3(t,`layerStyles.${e}`,o)},textStyle:{processResult:!0,transform:(e,t,o)=>M3(t,`textStyles.${e}`,o)},apply:{processResult:!0,transform:(e,t,o)=>M3(t,e,o)}};var Ad={position:!0,pos:V.prop("position"),zIndex:V.prop("zIndex","zIndices"),inset:V.spaceT("inset"),insetX:V.spaceT(["left","right"]),insetInline:V.spaceT("insetInline"),insetY:V.spaceT(["top","bottom"]),insetBlock:V.spaceT("insetBlock"),top:V.spaceT("top"),insetBlockStart:V.spaceT("insetBlockStart"),bottom:V.spaceT("bottom"),insetBlockEnd:V.spaceT("insetBlockEnd"),left:V.spaceT("left"),insetInlineStart:V.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:V.spaceT("right"),insetInlineEnd:V.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Ad,{insetStart:Ad.insetInlineStart,insetEnd:Ad.insetInlineEnd});var Qy={boxShadow:V.shadows("boxShadow"),mixBlendMode:!0,blendMode:V.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:V.prop("backgroundBlendMode"),opacity:!0};Object.assign(Qy,{shadow:Qy.boxShadow});var Yt={margin:V.spaceT("margin"),marginTop:V.spaceT("marginTop"),marginBlockStart:V.spaceT("marginBlockStart"),marginRight:V.spaceT("marginRight"),marginInlineEnd:V.spaceT("marginInlineEnd"),marginBottom:V.spaceT("marginBottom"),marginBlockEnd:V.spaceT("marginBlockEnd"),marginLeft:V.spaceT("marginLeft"),marginInlineStart:V.spaceT("marginInlineStart"),marginX:V.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:V.spaceT("marginInline"),marginY:V.spaceT(["marginTop","marginBottom"]),marginBlock:V.spaceT("marginBlock"),padding:V.space("padding"),paddingTop:V.space("paddingTop"),paddingBlockStart:V.space("paddingBlockStart"),paddingRight:V.space("paddingRight"),paddingBottom:V.space("paddingBottom"),paddingBlockEnd:V.space("paddingBlockEnd"),paddingLeft:V.space("paddingLeft"),paddingInlineStart:V.space("paddingInlineStart"),paddingInlineEnd:V.space("paddingInlineEnd"),paddingX:V.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:V.space("paddingInline"),paddingY:V.space(["paddingTop","paddingBottom"]),paddingBlock:V.space("paddingBlock")};Object.assign(Yt,{m:Yt.margin,mt:Yt.marginTop,mr:Yt.marginRight,me:Yt.marginInlineEnd,marginEnd:Yt.marginInlineEnd,mb:Yt.marginBottom,ml:Yt.marginLeft,ms:Yt.marginInlineStart,marginStart:Yt.marginInlineStart,mx:Yt.marginX,my:Yt.marginY,p:Yt.padding,pt:Yt.paddingTop,py:Yt.paddingY,px:Yt.paddingX,pb:Yt.paddingBottom,pl:Yt.paddingLeft,ps:Yt.paddingInlineStart,paddingStart:Yt.paddingInlineStart,pr:Yt.paddingRight,pe:Yt.paddingInlineEnd,paddingEnd:Yt.paddingInlineEnd});var w_={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:V.spaceT("scrollMargin"),scrollMarginTop:V.spaceT("scrollMarginTop"),scrollMarginBottom:V.spaceT("scrollMarginBottom"),scrollMarginLeft:V.spaceT("scrollMarginLeft"),scrollMarginRight:V.spaceT("scrollMarginRight"),scrollMarginX:V.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:V.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:V.spaceT("scrollPadding"),scrollPaddingTop:V.spaceT("scrollPaddingTop"),scrollPaddingBottom:V.spaceT("scrollPaddingBottom"),scrollPaddingLeft:V.spaceT("scrollPaddingLeft"),scrollPaddingRight:V.spaceT("scrollPaddingRight"),scrollPaddingX:V.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:V.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};var T_={fontFamily:V.prop("fontFamily","fonts"),fontSize:V.prop("fontSize","fontSizes",je.px),fontWeight:V.prop("fontWeight","fontWeights"),lineHeight:V.prop("lineHeight","lineHeights"),letterSpacing:V.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}};var A_={textDecorationColor:V.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:V.shadows("textShadow")};var k_={clipPath:!0,transform:V.propT("transform",je.transform),transformOrigin:!0,translateX:V.spaceT("--chakra-translate-x"),translateY:V.spaceT("--chakra-translate-y"),skewX:V.degreeT("--chakra-skew-x"),skewY:V.degreeT("--chakra-skew-y"),scaleX:V.prop("--chakra-scale-x"),scaleY:V.prop("--chakra-scale-y"),scale:V.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:V.degreeT("--chakra-rotate")};var M_={listStyleType:!0,listStylePosition:!0,listStylePos:V.prop("listStylePosition"),listStyleImage:!0,listStyleImg:V.prop("listStyleImage")};var L_={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:V.prop("transitionDuration","transition.duration"),transitionProperty:V.prop("transitionProperty","transition.property"),transitionTimingFunction:V.prop("transitionTimingFunction","transition.easing")};var Tg=(0,Zr.default)({},Cg,At,y_,wg,Fa,S_,x_,I_,k3,C_,Ad,Qy,Yt,w_,T_,A_,k_,M_,L_),xoe=Object.assign({},Yt,Fa,wg,k3,Ad),L3=Object.keys(xoe),P3=[...Object.keys(Tg),...Xy],Ioe={...Tg,...lm},E3=e=>e in Ioe;var P_=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:o,toArrayValue:r,media:n}=t.__breakpoints,a={};for(let s in e){let i=Br(e[s],t);if(i==null)continue;if(i=Et(i)&&o(i)?r(i):i,!Array.isArray(i)){a[s]=i;continue}let l=i.slice(0,n.length).length;for(let c=0;c<l;c+=1){let u=n?.[c];if(!u){a[s]=i[c];continue}a[u]=a[u]||{},i[c]!=null&&(a[u][s]=i[c])}}return a};function E_(e){let t=[],o="",r=!1;for(let n=0;n<e.length;n++){let a=e[n];a==="("?(r=!0,o+=a):a===")"?(r=!1,o+=a):a===","&&!r?(t.push(o),o=""):o+=a}return o=o.trim(),o&&t.push(o),t}function voe(e){return/^var\(--.+\)$/.test(e)}var Coe=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!voe(t),woe=(e,t)=>{if(t==null)return t;let o=s=>e.__cssMap?.[s]?.varRef,r=s=>o(s)??s,[n,a]=E_(t);return t=o(n)??r(a)??r(t),t};function B_(e){let{configs:t={},pseudos:o={},theme:r}=e,n=(a,s=!1)=>{let i=Br(a,r),l=P_(i)(r),c={};for(let u in l){let m=l[u],f=Br(m,r);u in o&&(u=o[u]),Coe(u,f)&&(f=woe(r,f));let d=t[u];if(d===!0&&(d={property:u}),Et(f)){c[u]=c[u]??{},c[u]=(0,Zr.default)({},c[u],n(f,!0));continue}let p=d?.transform?.(f,r,i)??f;p=d?.processResult?n(p,!0):p;let h=Br(d?.property,r);if(!s&&d?.static){let S=Br(d.static,r);c=(0,Zr.default)({},c,S)}if(h&&Array.isArray(h)){for(let S of h)c[S]=p;continue}if(h){h==="&"&&Et(p)?c=(0,Zr.default)({},c,p):c[h]=p;continue}if(Et(p)){c=(0,Zr.default)({},c,p);continue}c[u]=p}return c};return n}var Ag=e=>t=>B_({theme:t,pseudos:lm,configs:Tg})(e);function _e(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function B3(e,t,o){return e.__cssMap?.[`${t}.${o}`]?.varRef??o}function Toe(e,t){if(Array.isArray(e))return e;if(Et(e))return t(e);if(e!=null)return[e]}function Aoe(e,t){for(let o=t+1;o<e.length;o++)if(e[o]!=null)return o;return-1}function koe(e){let t=e.__breakpoints;return function(r,n,a,s){if(!t)return;let i={},l=Toe(a,t.toArrayValue);if(!l)return i;let c=l.length,u=c===1,m=!!r.parts;for(let f=0;f<c;f++){let d=t.details[f],p=t.details[Aoe(l,f)],h=om(d.minW,p?._minW),S=Br(r[n]?.[l[f]],s);if(S){if(m){r.parts?.forEach(g=>{(0,Zr.default)(i,{[g]:u?S[g]:{[h]:S[g]}})});continue}if(!m){u?(0,Zr.default)(i,S):i[h]=S;continue}i[h]=S}}return i}}function D3(e){return t=>{let{variant:o,size:r,theme:n}=t,a=koe(n);return(0,Zr.default)({},Br(e.baseStyle??{},t),a(e,"sizes",r,t),a(e,"variants",o,t))}}function Xe(e){return fl(e,["styleConfig","size","variant","colorScheme"])}function H_(e){return Et(e)&&e.reference?e.reference:String(e)}var Jy=(e,...t)=>t.map(H_).join(` ${e} `).replace(/calc/g,""),D_=(...e)=>`calc(${Jy("+",...e)})`,R_=(...e)=>`calc(${Jy("-",...e)})`,R3=(...e)=>`calc(${Jy("*",...e)})`,__=(...e)=>`calc(${Jy("/",...e)})`,F_=e=>{let t=H_(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:R3(t,-1)},fs=Object.assign(e=>({add:(...t)=>fs(D_(e,...t)),subtract:(...t)=>fs(R_(e,...t)),multiply:(...t)=>fs(R3(e,...t)),divide:(...t)=>fs(__(e,...t)),negate:()=>fs(F_(e)),toString:()=>e.toString()}),{add:D_,subtract:R_,multiply:R3,divide:__,negate:F_});function Moe(e,t="-"){return e.replace(/\s+/g,t)}function Loe(e){let t=Moe(e.toString());return Eoe(Poe(t))}function Poe(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Eoe(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function O_(e,t=""){return[t,e].filter(Boolean).join("-")}function V_(e,t){return`var(${e}${t?`, ${t}`:""})`}function N_(e,t=""){return Loe(`--${O_(e,t)}`)}function Ie(e,t,o){let r=N_(e,o);return{variable:r,reference:V_(r,t)}}function _3(e,t){let o={};for(let r of t){if(Array.isArray(r)){let[n,a]=r;o[n]=Ie(`${e}-${n}`,a);continue}o[r]=Ie(`${e}-${r}`)}return o}var Boe=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function z_(e){return pg(e,Boe)}function W_(e){return e.semanticTokens}function U_(e){let{__cssMap:t,__cssVars:o,__breakpoints:r,...n}=e;return n}function Z_(e){let t=z_(e),o=W_(e),r=a=>Xy.includes(a)||a==="default",n={};return Vy(t,(a,s)=>{a!=null&&(n[s.join(".")]={isSemantic:!1,value:a})}),Vy(o,(a,s)=>{a!=null&&(n[s.join(".")]={isSemantic:!0,value:a})},{stop:a=>Object.keys(a).every(r)}),n}function j_(e,t){return Ie(String(e).replace(/\./g,"-"),void 0,t)}function G_(e){let t=Z_(e),o=e.config?.cssVarPrefix,r={},n={};function a(s,i){let c=[String(s).split(".")[0],i].join(".");if(!t[c])return i;let{reference:m}=j_(c,o);return m}for(let[s,i]of Object.entries(t)){let{isSemantic:l,value:c}=i,{variable:u,reference:m}=j_(s,o);if(!l){if(s.startsWith("space")){let d=s.split("."),[p,...h]=d,S=`${p}.-${h.join(".")}`,g=fs.negate(c),b=fs.negate(m);n[S]={value:g,var:u,varRef:b}}r[u]=c,n[s]={value:c,var:u,varRef:m};continue}let f=Et(c)?c:{default:c};r=(0,Zr.default)(r,Object.entries(f).reduce((d,[p,h])=>{if(!h)return d;let S=a(s,`${h}`);if(p==="default")return d[u]=S,d;let g=lm?.[p]??p;return d[g]={[u]:S},d},{})),n[s]={value:m,var:u,varRef:m}}return{cssVars:r,cssMap:n}}function F3(e){let t=U_(e),{cssMap:o,cssVars:r}=G_(t);return Object.assign(t,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...r},__cssMap:o,__breakpoints:a3(t.breakpoints)}),t}function kt(e,t={}){let o=!1;function r(){if(!o){o=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function n(...u){r();for(let m of u)t[m]=l(m);return kt(e,t)}function a(...u){for(let m of u)m in t||(t[m]=l(m));return kt(e,t)}function s(){return Object.fromEntries(Object.entries(t).map(([m,f])=>[m,f.selector]))}function i(){return Object.fromEntries(Object.entries(t).map(([m,f])=>[m,f.className]))}function l(u){let d=`chakra-${(["container","root"].includes(u??"")?[e]:[e,u]).filter(Boolean).join("__")}`;return{className:d,selector:`.${d}`,toString:()=>u}}return{parts:n,toPart:l,extend:a,selectors:s,classnames:i,get keys(){return Object.keys(t)},__type:{}}}var H3=kt("accordion").parts("root","container","button","panel","icon"),O3=kt("alert").parts("title","description","container","icon","spinner"),V3=kt("avatar").parts("label","badge","container","excessLabel","group"),N3=kt("breadcrumb").parts("link","item","container","separator"),Doe=kt("button").parts(),z3=kt("checkbox").parts("control","icon","container","label"),Roe=kt("progress").parts("track","filledTrack","label"),W3=kt("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),U3=kt("editable").parts("preview","input","textarea"),Z3=kt("form").parts("container","requiredIndicator","helperText"),j3=kt("formError").parts("text","icon"),G3=kt("input").parts("addon","field","element","group"),$3=kt("list").parts("container","item","icon"),q3=kt("menu").parts("button","list","item","groupTitle","icon","command","divider"),X3=kt("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Y3=kt("numberinput").parts("root","field","stepperGroup","stepper"),_oe=kt("pininput").parts("field"),K3=kt("popover").parts("content","header","body","footer","popper","arrow","closeButton"),Q3=kt("progress").parts("label","filledTrack","track"),J3=kt("radio").parts("container","control","label"),eT=kt("select").parts("field","icon"),tT=kt("slider").parts("container","track","thumb","filledTrack","mark"),oT=kt("stat").parts("container","label","helpText","number","icon"),rT=kt("switch").parts("container","track","thumb","label"),nT=kt("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),aT=kt("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),sT=kt("tag").parts("container","label","closeButton"),iT=kt("card").parts("container","header","body","footer"),Foe=kt("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var{definePartsStyle:Hoe,defineMultiStyleConfig:Ooe}=_e(H3.keys),Voe={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},Noe={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},zoe={pt:"2",px:"4",pb:"5"},Woe={fontSize:"1.25em"},Uoe=Hoe({container:Voe,button:Noe,panel:zoe,icon:Woe}),$_=Ooe({baseStyle:Uoe});function cm(e,t,o){return Math.min(Math.max(e,o),t)}var lT=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}},kg=lT;function tS(e){if(typeof e!="string")throw new kg(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=Koe.test(e)?Goe(e):e;let o=$oe.exec(t);if(o){let s=Array.from(o).slice(1);return[...s.slice(0,3).map(i=>parseInt(Mg(i,2),16)),parseInt(Mg(s[3]||"f",2),16)/255]}let r=qoe.exec(t);if(r){let s=Array.from(r).slice(1);return[...s.slice(0,3).map(i=>parseInt(i,16)),parseInt(s[3]||"ff",16)/255]}let n=Xoe.exec(t);if(n){let s=Array.from(n).slice(1);return[...s.slice(0,3).map(i=>parseInt(i,10)),parseFloat(s[3]||"1")]}let a=Yoe.exec(t);if(a){let[s,i,l,c]=Array.from(a).slice(1).map(parseFloat);if(cm(0,100,i)!==i)throw new kg(e);if(cm(0,100,l)!==l)throw new kg(e);return[...Qoe(s,i,l),Number.isNaN(c)?1:c]}throw new kg(e)}function Zoe(e){let t=5381,o=e.length;for(;o;)t=t*33^e.charCodeAt(--o);return(t>>>0)%2341}var q_=e=>parseInt(e.replace(/_/g,""),36),joe="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let o=q_(t.substring(0,3)),r=q_(t.substring(3)).toString(16),n="";for(let a=0;a<6-r.length;a++)n+="0";return e[o]=`${n}${r}`,e},{});function Goe(e){let t=e.toLowerCase().trim(),o=joe[Zoe(t)];if(!o)throw new kg(e);return`#${o}`}var Mg=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),$oe=new RegExp(`^#${Mg("([a-f0-9])",3)}([a-f0-9])?$`,"i"),qoe=new RegExp(`^#${Mg("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Xoe=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Mg(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Yoe=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Koe=/^[a-z]+$/i,X_=e=>Math.round(e*255),Qoe=(e,t,o)=>{let r=o/100;if(t===0)return[r,r,r].map(X_);let n=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*(t/100),s=a*(1-Math.abs(n%2-1)),i=0,l=0,c=0;n>=0&&n<1?(i=a,l=s):n>=1&&n<2?(i=s,l=a):n>=2&&n<3?(l=a,c=s):n>=3&&n<4?(l=s,c=a):n>=4&&n<5?(i=s,c=a):n>=5&&n<6&&(i=a,c=s);let u=r-a/2,m=i+u,f=l+u,d=c+u;return[m,f,d].map(X_)};function Joe(e,t,o,r){return`rgba(${cm(0,255,e).toFixed()}, ${cm(0,255,t).toFixed()}, ${cm(0,255,o).toFixed()}, ${parseFloat(cm(0,1,r).toFixed(3))})`}function Y_(e,t){let[o,r,n,a]=tS(e);return Joe(o,r,n,a-t)}function K_(e){let[t,o,r,n]=tS(e),a=s=>{let i=cm(0,255,s).toString(16);return i.length===1?`0${i}`:i};return`#${a(t)}${a(o)}${a(r)}${n<1?a(Math.round(n*255)):""}`}var ere=e=>Object.keys(e).length===0;function tre(e,t,o,r,n){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:n;return e===n?o:e}var Gr=(e,t,o)=>{let r=tre(e,`colors.${t}`,t);try{return K_(r),r}catch{return o??"#000000"}};var ore=e=>{let[t,o,r]=tS(e);return(t*299+o*587+r*114)/1e3},Q_=e=>t=>{let o=Gr(t,e);return ore(o)<128?"dark":"light"},cT=e=>t=>Q_(e)(t)==="dark";var Si=(e,t)=>o=>{let r=Gr(o,e);return Y_(r,1-t)};function oS(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
|
|
845
|
+
45deg,
|
|
846
|
+
${t} 25%,
|
|
847
|
+
transparent 25%,
|
|
848
|
+
transparent 50%,
|
|
849
|
+
${t} 50%,
|
|
850
|
+
${t} 75%,
|
|
851
|
+
transparent 75%,
|
|
852
|
+
transparent
|
|
853
|
+
)`,backgroundSize:`${e} ${e}`}}var rre=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function uT(e){let t=rre();return!e||ere(e)?t:e.string&&e.colors?are(e.string,e.colors):e.string&&!e.colors?nre(e.string):e.colors&&!e.string?sre(e.colors):t}function nre(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;let o="#";for(let r=0;r<3;r+=1){let n=t>>r*8&255;o+=`00${n.toString(16)}`.substr(-2)}return o}function are(e,t){let o=0;if(e.length===0)return t[0];for(let r=0;r<e.length;r+=1)o=e.charCodeAt(r)+((o<<5)-o),o=o&o;return o=(o%t.length+t.length)%t.length,t[o]}function sre(e){return e[Math.floor(Math.random()*e.length)]}function U(e,t){return o=>o.colorMode==="dark"?t:e}function Lg(e){let{orientation:t,vertical:o,horizontal:r}=e;return t?t==="vertical"?o:r:{}}function rF(e){return Et(e)&&e.reference?e.reference:String(e)}var rS=(e,...t)=>t.map(rF).join(` ${e} `).replace(/calc/g,""),J_=(...e)=>`calc(${rS("+",...e)})`,eF=(...e)=>`calc(${rS("-",...e)})`,mT=(...e)=>`calc(${rS("*",...e)})`,tF=(...e)=>`calc(${rS("/",...e)})`,oF=e=>{let t=rF(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:mT(t,-1)},ds=Object.assign(e=>({add:(...t)=>ds(J_(e,...t)),subtract:(...t)=>ds(eF(e,...t)),multiply:(...t)=>ds(mT(e,...t)),divide:(...t)=>ds(tF(e,...t)),negate:()=>ds(oF(e)),toString:()=>e.toString()}),{add:J_,subtract:eF,multiply:mT,divide:tF,negate:oF});function nF(e){return!Number.isInteger(parseFloat(e.toString()))}function ire(e,t="-"){return e.replace(/\s+/g,t)}function aF(e){let t=ire(e.toString());return t.includes("\\.")?e:nF(e)?t.replace(".","\\."):e}function sF(e,t=""){return[t,aF(e)].filter(Boolean).join("-")}function iF(e,t){return`var(${aF(e)}${t?`, ${t}`:""})`}function lF(e,t=""){return`--${sF(e,t)}`}function Kt(e,t){let o=lF(e,t?.prefix);return{variable:o,reference:iF(o,lre(t?.fallback))}}function lre(e){return typeof e=="string"?e:e?.reference}var{definePartsStyle:Pg,defineMultiStyleConfig:cre}=_e(O3.keys),Ha=Ie("alert-fg"),gl=Ie("alert-bg"),ure=Pg({container:{bg:gl.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ha.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ha.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function fT(e){let{theme:t,colorScheme:o}=e,r=Si(`${o}.200`,.16)(t);return{light:`colors.${o}.100`,dark:r}}var mre=Pg(e=>{let{colorScheme:t}=e,o=fT(e);return{container:{[Ha.variable]:`colors.${t}.600`,[gl.variable]:o.light,_dark:{[Ha.variable]:`colors.${t}.200`,[gl.variable]:o.dark}}}}),fre=Pg(e=>{let{colorScheme:t}=e,o=fT(e);return{container:{[Ha.variable]:`colors.${t}.600`,[gl.variable]:o.light,_dark:{[Ha.variable]:`colors.${t}.200`,[gl.variable]:o.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ha.reference}}}),dre=Pg(e=>{let{colorScheme:t}=e,o=fT(e);return{container:{[Ha.variable]:`colors.${t}.600`,[gl.variable]:o.light,_dark:{[Ha.variable]:`colors.${t}.200`,[gl.variable]:o.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ha.reference}}}),pre=Pg(e=>{let{colorScheme:t}=e;return{container:{[Ha.variable]:"colors.white",[gl.variable]:`colors.${t}.600`,_dark:{[Ha.variable]:"colors.gray.900",[gl.variable]:`colors.${t}.200`},color:Ha.reference}}}),hre={subtle:mre,"left-accent":fre,"top-accent":dre,solid:pre},cF=cre({baseStyle:ure,variants:hre,defaultProps:{variant:"subtle",colorScheme:"blue"}});var nS={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};var gre={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},bre={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},aS={...nS,...gre,container:bre};var yre=e=>typeof e=="function";function go(e,...t){return yre(e)?e(...t):e}var{definePartsStyle:uF,defineMultiStyleConfig:Sre}=_e(V3.keys),kd=Ie("avatar-border-color"),Eg=Ie("avatar-bg"),Bg=Ie("avatar-font-size"),Md=Ie("avatar-size"),xre={borderRadius:"full",border:"0.2em solid",borderColor:kd.reference,[kd.variable]:"white",_dark:{[kd.variable]:"colors.gray.800"}},Ire={bg:Eg.reference,fontSize:Bg.reference,width:Md.reference,height:Md.reference,lineHeight:"1",[Eg.variable]:"colors.gray.200",_dark:{[Eg.variable]:"colors.whiteAlpha.400"}},vre=e=>{let{name:t,theme:o}=e,r=t?uT({string:t}):"colors.gray.400",n=cT(r)(o),a="white";return n||(a="gray.800"),{bg:Eg.reference,fontSize:Bg.reference,color:a,borderColor:kd.reference,verticalAlign:"top",width:Md.reference,height:Md.reference,"&:not([data-loaded])":{[Eg.variable]:r},[kd.variable]:"colors.white",_dark:{[kd.variable]:"colors.gray.800"}}},Cre={fontSize:Bg.reference,lineHeight:"1"},wre=uF(e=>({badge:go(xre,e),excessLabel:go(Ire,e),container:go(vre,e),label:Cre}));function Hc(e){let t=e!=="100%"?aS[e]:void 0;return uF({container:{[Md.variable]:t??e,[Bg.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[Md.variable]:t??e,[Bg.variable]:`calc(${t??e} / 2.5)`}})}var Tre={"2xs":Hc(4),xs:Hc(6),sm:Hc(8),md:Hc(12),lg:Hc(16),xl:Hc(24),"2xl":Hc(32),full:Hc("100%")},mF=Sre({baseStyle:wre,sizes:Tre,defaultProps:{size:"md"}});var bo=_3("badge",["bg","color","shadow"]),Are={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:bo.bg.reference,color:bo.color.reference,boxShadow:bo.shadow.reference},kre=e=>{let{colorScheme:t,theme:o}=e,r=Si(`${t}.500`,.6)(o);return{[bo.bg.variable]:`colors.${t}.500`,[bo.color.variable]:"colors.white",_dark:{[bo.bg.variable]:r,[bo.color.variable]:"colors.whiteAlpha.800"}}},Mre=e=>{let{colorScheme:t,theme:o}=e,r=Si(`${t}.200`,.16)(o);return{[bo.bg.variable]:`colors.${t}.100`,[bo.color.variable]:`colors.${t}.800`,_dark:{[bo.bg.variable]:r,[bo.color.variable]:`colors.${t}.200`}}},Lre=e=>{let{colorScheme:t,theme:o}=e,r=Si(`${t}.200`,.8)(o);return{[bo.color.variable]:`colors.${t}.500`,_dark:{[bo.color.variable]:r},[bo.shadow.variable]:`inset 0 0 0px 1px ${bo.color.reference}`}},Pre={solid:kre,subtle:Mre,outline:Lre},Oc={baseStyle:Are,variants:Pre,defaultProps:{variant:"subtle",colorScheme:"gray"}};var{defineMultiStyleConfig:Ere,definePartsStyle:Bre}=_e(N3.keys),dT=Ie("breadcrumb-link-decor"),Dre={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:dT.reference,[dT.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[dT.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},Rre=Bre({link:Dre}),fF=Ere({baseStyle:Rre});var _re={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},dF=e=>{let{colorScheme:t,theme:o}=e;if(t==="gray")return{color:U("gray.800","whiteAlpha.900")(e),_hover:{bg:U("gray.100","whiteAlpha.200")(e)},_active:{bg:U("gray.200","whiteAlpha.300")(e)}};let r=Si(`${t}.200`,.12)(o),n=Si(`${t}.200`,.24)(o);return{color:U(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:U(`${t}.50`,r)(e)},_active:{bg:U(`${t}.100`,n)(e)}}},Fre=e=>{let{colorScheme:t}=e,o=U("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?o:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...go(dF,e)}},Hre={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Ore=e=>{let{colorScheme:t}=e;if(t==="gray"){let i=U("gray.100","whiteAlpha.200")(e);return{bg:i,color:U("gray.800","whiteAlpha.900")(e),_hover:{bg:U("gray.200","whiteAlpha.300")(e),_disabled:{bg:i}},_active:{bg:U("gray.300","whiteAlpha.400")(e)}}}let{bg:o=`${t}.500`,color:r="white",hoverBg:n=`${t}.600`,activeBg:a=`${t}.700`}=Hre[t]??{},s=U(o,`${t}.200`)(e);return{bg:s,color:U(r,"gray.800")(e),_hover:{bg:U(n,`${t}.300`)(e),_disabled:{bg:s}},_active:{bg:U(a,`${t}.400`)(e)}}},Vre=e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:U(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:U(`${t}.700`,`${t}.500`)(e)}}},Nre={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},zre={ghost:dF,outline:Fre,solid:Ore,link:Vre,unstyled:Nre},Wre={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},pF={baseStyle:_re,variants:zre,sizes:Wre,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}};var{definePartsStyle:um,defineMultiStyleConfig:Ure}=_e(iT.keys),iS=Ie("card-bg"),bl=Ie("card-padding"),hF=Ie("card-shadow"),sS=Ie("card-radius"),gF=Ie("card-border-width","0"),bF=Ie("card-border-color"),Zre=um({container:{[iS.variable]:"colors.chakra-body-bg",backgroundColor:iS.reference,boxShadow:hF.reference,borderRadius:sS.reference,color:"chakra-body-text",borderWidth:gF.reference,borderColor:bF.reference},body:{padding:bl.reference,flex:"1 1 0%"},header:{padding:bl.reference},footer:{padding:bl.reference}}),jre={sm:um({container:{[sS.variable]:"radii.base",[bl.variable]:"space.3"}}),md:um({container:{[sS.variable]:"radii.md",[bl.variable]:"space.5"}}),lg:um({container:{[sS.variable]:"radii.xl",[bl.variable]:"space.7"}})},Gre={elevated:um({container:{[hF.variable]:"shadows.base",_dark:{[iS.variable]:"colors.gray.700"}}}),outline:um({container:{[gF.variable]:"1px",[bF.variable]:"colors.chakra-border-color"}}),filled:um({container:{[iS.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[bl.variable]:0},header:{[bl.variable]:0},footer:{[bl.variable]:0}}},yF=Ure({baseStyle:Zre,variants:Gre,sizes:jre,defaultProps:{variant:"elevated",size:"md"}});var{definePartsStyle:lS,defineMultiStyleConfig:$re}=_e(z3.keys),Dg=Ie("checkbox-size"),qre=e=>{let{colorScheme:t}=e;return{w:Dg.reference,h:Dg.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:U(`${t}.500`,`${t}.200`)(e),borderColor:U(`${t}.500`,`${t}.200`)(e),color:U("white","gray.900")(e),_hover:{bg:U(`${t}.600`,`${t}.300`)(e),borderColor:U(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:U("gray.200","transparent")(e),bg:U("gray.200","whiteAlpha.300")(e),color:U("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:U(`${t}.500`,`${t}.200`)(e),borderColor:U(`${t}.500`,`${t}.200`)(e),color:U("white","gray.900")(e)},_disabled:{bg:U("gray.100","whiteAlpha.100")(e),borderColor:U("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:U("red.500","red.300")(e)}}},Xre={_disabled:{cursor:"not-allowed"}},Yre={userSelect:"none",_disabled:{opacity:.4}},Kre={transitionProperty:"transform",transitionDuration:"normal"},Qre=lS(e=>({icon:Kre,container:Xre,control:go(qre,e),label:Yre})),Jre={sm:lS({control:{[Dg.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:lS({control:{[Dg.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:lS({control:{[Dg.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Ld=$re({baseStyle:Qre,sizes:Jre,defaultProps:{size:"md",colorScheme:"blue"}});var _g=Kt("close-button-size"),Rg=Kt("close-button-bg"),ene={w:[_g.reference],h:[_g.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Rg.variable]:"colors.blackAlpha.100",_dark:{[Rg.variable]:"colors.whiteAlpha.100"}},_active:{[Rg.variable]:"colors.blackAlpha.200",_dark:{[Rg.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Rg.reference},tne={lg:{[_g.variable]:"sizes.10",fontSize:"md"},md:{[_g.variable]:"sizes.8",fontSize:"xs"},sm:{[_g.variable]:"sizes.6",fontSize:"2xs"}},SF={baseStyle:ene,sizes:tne,defaultProps:{size:"md"}};var{variants:one,defaultProps:rne}=Oc,nne={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:bo.bg.reference,color:bo.color.reference,boxShadow:bo.shadow.reference},xF={baseStyle:nne,variants:one,defaultProps:rne};var ane={w:"100%",mx:"auto",maxW:"prose",px:"4"},IF={baseStyle:ane};var sne={opacity:.6,borderColor:"inherit"},ine={borderStyle:"solid"},lne={borderStyle:"dashed"},cne={solid:ine,dashed:lne},vF={baseStyle:sne,variants:cne,defaultProps:{variant:"solid"}};var{definePartsStyle:gT,defineMultiStyleConfig:une}=_e(W3.keys),pT=Ie("drawer-bg"),hT=Ie("drawer-box-shadow");function Pd(e){return gT(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var mne={bg:"blackAlpha.600",zIndex:"modal"},fne={display:"flex",zIndex:"modal",justifyContent:"center"},dne=e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[pT.variable]:"colors.white",[hT.variable]:"shadows.lg",_dark:{[pT.variable]:"colors.gray.700",[hT.variable]:"shadows.dark-lg"},bg:pT.reference,boxShadow:hT.reference}},pne={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},hne={position:"absolute",top:"2",insetEnd:"3"},gne={px:"6",py:"2",flex:"1",overflow:"auto"},bne={px:"6",py:"4"},yne=gT(e=>({overlay:mne,dialogContainer:fne,dialog:go(dne,e),header:pne,closeButton:hne,body:gne,footer:bne})),Sne={xs:Pd("xs"),sm:Pd("md"),md:Pd("lg"),lg:Pd("2xl"),xl:Pd("4xl"),full:Pd("full")},CF=une({baseStyle:yne,sizes:Sne,defaultProps:{size:"xs"}});var{definePartsStyle:xne,defineMultiStyleConfig:Ine}=_e(U3.keys),vne={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},Cne={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},wne={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},Tne=xne({preview:vne,input:Cne,textarea:wne}),wF=Ine({baseStyle:Tne});var{definePartsStyle:Ane,defineMultiStyleConfig:kne}=_e(Z3.keys),Ed=Ie("form-control-color"),Mne={marginStart:"1",[Ed.variable]:"colors.red.500",_dark:{[Ed.variable]:"colors.red.300"},color:Ed.reference},Lne={mt:"2",[Ed.variable]:"colors.gray.600",_dark:{[Ed.variable]:"colors.whiteAlpha.600"},color:Ed.reference,lineHeight:"normal",fontSize:"sm"},Pne=Ane({container:{width:"100%",position:"relative"},requiredIndicator:Mne,helperText:Lne}),TF=kne({baseStyle:Pne});var{definePartsStyle:Ene,defineMultiStyleConfig:Bne}=_e(j3.keys),Bd=Ie("form-error-color"),Dne={[Bd.variable]:"colors.red.500",_dark:{[Bd.variable]:"colors.red.300"},color:Bd.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},Rne={marginEnd:"0.5em",[Bd.variable]:"colors.red.500",_dark:{[Bd.variable]:"colors.red.300"},color:Bd.reference},_ne=Ene({text:Dne,icon:Rne}),AF=Bne({baseStyle:_ne});var Fne={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},kF={baseStyle:Fne};var Hne={fontFamily:"heading",fontWeight:"bold"},One={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},MF={baseStyle:Hne,sizes:One,defaultProps:{size:"xl"}};var{definePartsStyle:yl,defineMultiStyleConfig:Vne}=_e(G3.keys),Dd=Ie("input-height"),Rd=Ie("input-font-size"),_d=Ie("input-padding"),Fd=Ie("input-border-radius"),Nne=yl({addon:{height:Dd.reference,fontSize:Rd.reference,px:_d.reference,borderRadius:Fd.reference},field:{width:"100%",height:Dd.reference,fontSize:Rd.reference,px:_d.reference,borderRadius:Fd.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Vc={lg:{[Rd.variable]:"fontSizes.lg",[_d.variable]:"space.4",[Fd.variable]:"radii.md",[Dd.variable]:"sizes.12"},md:{[Rd.variable]:"fontSizes.md",[_d.variable]:"space.4",[Fd.variable]:"radii.md",[Dd.variable]:"sizes.10"},sm:{[Rd.variable]:"fontSizes.sm",[_d.variable]:"space.3",[Fd.variable]:"radii.sm",[Dd.variable]:"sizes.8"},xs:{[Rd.variable]:"fontSizes.xs",[_d.variable]:"space.2",[Fd.variable]:"radii.sm",[Dd.variable]:"sizes.6"}},zne={lg:yl({field:Vc.lg,group:Vc.lg}),md:yl({field:Vc.md,group:Vc.md}),sm:yl({field:Vc.sm,group:Vc.sm}),xs:yl({field:Vc.xs,group:Vc.xs})};function bT(e){let{focusBorderColor:t,errorBorderColor:o}=e;return{focusBorderColor:t||U("blue.500","blue.300")(e),errorBorderColor:o||U("red.500","red.300")(e)}}var Wne=yl(e=>{let{theme:t}=e,{focusBorderColor:o,errorBorderColor:r}=bT(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:U("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gr(t,r),boxShadow:`0 0 0 1px ${Gr(t,r)}`},_focusVisible:{zIndex:1,borderColor:Gr(t,o),boxShadow:`0 0 0 1px ${Gr(t,o)}`}},addon:{border:"1px solid",borderColor:U("inherit","whiteAlpha.50")(e),bg:U("gray.100","whiteAlpha.300")(e)}}}),Une=yl(e=>{let{theme:t}=e,{focusBorderColor:o,errorBorderColor:r}=bT(e);return{field:{border:"2px solid",borderColor:"transparent",bg:U("gray.100","whiteAlpha.50")(e),_hover:{bg:U("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gr(t,r)},_focusVisible:{bg:"transparent",borderColor:Gr(t,o)}},addon:{border:"2px solid",borderColor:"transparent",bg:U("gray.100","whiteAlpha.50")(e)}}}),Zne=yl(e=>{let{theme:t}=e,{focusBorderColor:o,errorBorderColor:r}=bT(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gr(t,r),boxShadow:`0px 1px 0px 0px ${Gr(t,r)}`},_focusVisible:{borderColor:Gr(t,o),boxShadow:`0px 1px 0px 0px ${Gr(t,o)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),jne=yl({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),Gne={outline:Wne,filled:Une,flushed:Zne,unstyled:jne},ft=Vne({baseStyle:Nne,sizes:zne,variants:Gne,defaultProps:{size:"md",variant:"outline"}});var yT=Ie("kbd-bg"),$ne={[yT.variable]:"colors.gray.100",_dark:{[yT.variable]:"colors.whiteAlpha.100"},bg:yT.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},LF={baseStyle:$ne};var qne={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},PF={baseStyle:qne};var{defineMultiStyleConfig:Xne,definePartsStyle:Yne}=_e($3.keys),Kne={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},Qne=Yne({icon:Kne}),EF=Xne({baseStyle:Qne});var{defineMultiStyleConfig:Jne,definePartsStyle:eae}=_e(q3.keys),xi=Ie("menu-bg"),ST=Ie("menu-shadow"),tae={[xi.variable]:"#fff",[ST.variable]:"shadows.sm",_dark:{[xi.variable]:"colors.gray.700",[ST.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:xi.reference,boxShadow:ST.reference},oae={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[xi.variable]:"colors.gray.100",_dark:{[xi.variable]:"colors.whiteAlpha.100"}},_active:{[xi.variable]:"colors.gray.200",_dark:{[xi.variable]:"colors.whiteAlpha.200"}},_expanded:{[xi.variable]:"colors.gray.100",_dark:{[xi.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:xi.reference},rae={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},nae={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},aae={opacity:.6},sae={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},iae={transitionProperty:"common",transitionDuration:"normal"},lae=eae({button:iae,list:tae,item:oae,groupTitle:rae,icon:nae,command:aae,divider:sae}),BF=Jne({baseStyle:lae});var{defineMultiStyleConfig:cae,definePartsStyle:vT}=_e(X3.keys),xT=Ie("modal-bg"),IT=Ie("modal-shadow"),uae={bg:"blackAlpha.600",zIndex:"modal"},mae=e=>{let{isCentered:t,scrollBehavior:o}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:o==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},fae=e=>{let{isCentered:t,scrollBehavior:o}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:o==="inside"?"calc(100% - 7.5rem)":void 0,[xT.variable]:"colors.white",[IT.variable]:"shadows.lg",_dark:{[xT.variable]:"colors.gray.700",[IT.variable]:"shadows.dark-lg"},bg:xT.reference,boxShadow:IT.reference}},dae={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},pae={position:"absolute",top:"2",insetEnd:"3"},hae=e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},gae={px:"6",py:"4"},bae=vT(e=>({overlay:uae,dialogContainer:go(mae,e),dialog:go(fae,e),header:dae,closeButton:pae,body:go(hae,e),footer:gae}));function Vs(e){return vT(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var yae={xs:Vs("xs"),sm:Vs("sm"),md:Vs("md"),lg:Vs("lg"),xl:Vs("xl"),"2xl":Vs("2xl"),"3xl":Vs("3xl"),"4xl":Vs("4xl"),"5xl":Vs("5xl"),"6xl":Vs("6xl"),full:Vs("full")},DF=cae({baseStyle:bae,sizes:yae,defaultProps:{size:"md"}});var cS={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}};var{defineMultiStyleConfig:Sae,definePartsStyle:RF}=_e(Y3.keys),AT=Kt("number-input-stepper-width"),_F=Kt("number-input-input-padding"),xae=ds(AT).add("0.5rem").toString(),CT=Kt("number-input-bg"),wT=Kt("number-input-color"),TT=Kt("number-input-border-color"),Iae={[AT.variable]:"sizes.6",[_F.variable]:xae},vae=e=>go(ft.baseStyle,e)?.field??{},Cae={width:AT.reference},wae={borderStart:"1px solid",borderStartColor:TT.reference,color:wT.reference,bg:CT.reference,[wT.variable]:"colors.chakra-body-text",[TT.variable]:"colors.chakra-border-color",_dark:{[wT.variable]:"colors.whiteAlpha.800",[TT.variable]:"colors.whiteAlpha.300"},_active:{[CT.variable]:"colors.gray.200",_dark:{[CT.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},Tae=RF(e=>({root:Iae,field:go(vae,e)??{},stepperGroup:Cae,stepper:wae}));function uS(e){let t=ft.sizes?.[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},r=t.field?.fontSize??"md",n=cS.fontSizes[r];return RF({field:{...t.field,paddingInlineEnd:_F.reference,verticalAlign:"top"},stepper:{fontSize:ds(n).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var Aae={xs:uS("xs"),sm:uS("sm"),md:uS("md"),lg:uS("lg")},FF=Sae({baseStyle:Tae,sizes:Aae,variants:ft.variants,defaultProps:ft.defaultProps});var kae={...ft.baseStyle?.field,textAlign:"center"},Mae={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},Lae={outline:e=>go(ft.variants?.outline,e)?.field??{},flushed:e=>go(ft.variants?.flushed,e)?.field??{},filled:e=>go(ft.variants?.filled,e)?.field??{},unstyled:ft.variants?.unstyled.field??{}},HF={baseStyle:kae,sizes:Mae,variants:Lae,defaultProps:ft.defaultProps};var{defineMultiStyleConfig:Pae,definePartsStyle:Eae}=_e(K3.keys),mS=Kt("popper-bg"),Bae=Kt("popper-arrow-bg"),OF=Kt("popper-arrow-shadow-color"),Dae={zIndex:"popover"},Rae={[mS.variable]:"colors.white",bg:mS.reference,[Bae.variable]:mS.reference,[OF.variable]:"colors.gray.200",_dark:{[mS.variable]:"colors.gray.700",[OF.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},_ae={px:3,py:2,borderBottomWidth:"1px"},Fae={px:3,py:2},Hae={px:3,py:2,borderTopWidth:"1px"},Oae={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Vae=Eae({popper:Dae,content:Rae,header:_ae,body:Fae,footer:Hae,closeButton:Oae}),VF=Pae({baseStyle:Vae});var{defineMultiStyleConfig:Nae,definePartsStyle:Fg}=_e(Q3.keys),zae=e=>{let{colorScheme:t,theme:o,isIndeterminate:r,hasStripe:n}=e,a=U(oS(),oS("1rem","rgba(0,0,0,0.1)"))(e),s=U(`${t}.500`,`${t}.200`)(e),i=`linear-gradient(
|
|
854
|
+
to right,
|
|
855
|
+
transparent 0%,
|
|
856
|
+
${Gr(o,s)} 50%,
|
|
857
|
+
transparent 100%
|
|
858
|
+
)`;return{...!r&&n&&a,...r?{bgImage:i}:{bgColor:s}}},Wae={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Uae=e=>({bg:U("gray.100","whiteAlpha.300")(e)}),Zae=e=>({transitionProperty:"common",transitionDuration:"slow",...zae(e)}),jae=Fg(e=>({label:Wae,filledTrack:Zae(e),track:Uae(e)})),Gae={xs:Fg({track:{h:"1"}}),sm:Fg({track:{h:"2"}}),md:Fg({track:{h:"3"}}),lg:Fg({track:{h:"4"}})},NF=Nae({sizes:Gae,baseStyle:jae,defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:$ae,definePartsStyle:fS}=_e(J3.keys),qae=e=>{let t=go(Ld.baseStyle,e)?.control;return{...t,borderRadius:"full",_checked:{...t?._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Xae=fS(e=>({label:Ld.baseStyle?.(e).label,container:Ld.baseStyle?.(e).container,control:qae(e)})),Yae={md:fS({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:fS({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:fS({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},zF=$ae({baseStyle:Xae,sizes:Yae,defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:Kae,definePartsStyle:Qae}=_e(eT.keys),dS=Ie("select-bg"),Jae={...ft.baseStyle?.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:dS.reference,[dS.variable]:"colors.white",_dark:{[dS.variable]:"colors.gray.700"},"> option, > optgroup":{bg:dS.reference}},ese={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},tse=Qae({field:Jae,icon:ese}),pS={paddingInlineEnd:"8"},ose={lg:{...ft.sizes?.lg,field:{...ft.sizes?.lg.field,...pS}},md:{...ft.sizes?.md,field:{...ft.sizes?.md.field,...pS}},sm:{...ft.sizes?.sm,field:{...ft.sizes?.sm.field,...pS}},xs:{...ft.sizes?.xs,field:{...ft.sizes?.xs.field,...pS},icon:{insetEnd:"1"}}},WF=Kae({baseStyle:tse,sizes:ose,variants:ft.variants,defaultProps:ft.defaultProps});var kT=Ie("skeleton-start-color"),MT=Ie("skeleton-end-color"),rse={[kT.variable]:"colors.gray.100",[MT.variable]:"colors.gray.400",_dark:{[kT.variable]:"colors.gray.800",[MT.variable]:"colors.gray.600"},background:kT.reference,borderColor:MT.reference,opacity:.7,borderRadius:"sm"},UF={baseStyle:rse};var LT=Ie("skip-link-bg"),nse={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[LT.variable]:"colors.white",_dark:{[LT.variable]:"colors.gray.700"},bg:LT.reference}},ZF={baseStyle:nse};var{defineMultiStyleConfig:ase,definePartsStyle:hS}=_e(tT.keys),mm=Ie("slider-thumb-size"),Hg=Ie("slider-track-size"),Nc=Ie("slider-bg"),sse=e=>{let{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Lg({orientation:t,vertical:{h:"100%",px:fs(mm.reference).divide(2).toString()},horizontal:{w:"100%",py:fs(mm.reference).divide(2).toString()}})}},ise=e=>({...Lg({orientation:e.orientation,horizontal:{h:Hg.reference},vertical:{w:Hg.reference}}),overflow:"hidden",borderRadius:"sm",[Nc.variable]:"colors.gray.200",_dark:{[Nc.variable]:"colors.whiteAlpha.200"},_disabled:{[Nc.variable]:"colors.gray.300",_dark:{[Nc.variable]:"colors.whiteAlpha.300"}},bg:Nc.reference}),lse=e=>{let{orientation:t}=e;return{...Lg({orientation:t,vertical:{left:"50%"},horizontal:{top:"50%"}}),w:mm.reference,h:mm.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_active:{"--slider-thumb-scale":"1.15"},_disabled:{bg:"gray.300"}}},cse=e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Nc.variable]:`colors.${t}.500`,_dark:{[Nc.variable]:`colors.${t}.200`},bg:Nc.reference}},use=hS(e=>({container:sse(e),track:ise(e),thumb:lse(e),filledTrack:cse(e)})),mse=hS({container:{[mm.variable]:"sizes.4",[Hg.variable]:"sizes.1"}}),fse=hS({container:{[mm.variable]:"sizes.3.5",[Hg.variable]:"sizes.1"}}),dse=hS({container:{[mm.variable]:"sizes.2.5",[Hg.variable]:"sizes.0.5"}}),pse={lg:mse,md:fse,sm:dse},jF=ase({baseStyle:use,sizes:pse,defaultProps:{size:"md",colorScheme:"blue"}});var fm=Kt("spinner-size"),hse={width:[fm.reference],height:[fm.reference]},gse={xs:{[fm.variable]:"sizes.3"},sm:{[fm.variable]:"sizes.4"},md:{[fm.variable]:"sizes.6"},lg:{[fm.variable]:"sizes.8"},xl:{[fm.variable]:"sizes.12"}},GF={baseStyle:hse,sizes:gse,defaultProps:{size:"md"}};var{defineMultiStyleConfig:bse,definePartsStyle:$F}=_e(oT.keys),yse={fontWeight:"medium"},Sse={opacity:.8,marginBottom:"2"},xse={verticalAlign:"baseline",fontWeight:"semibold"},Ise={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},vse=$F({container:{},label:yse,helpText:Sse,number:xse,icon:Ise}),Cse={md:$F({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},qF=bse({baseStyle:vse,sizes:Cse,defaultProps:{size:"md"}});var{defineMultiStyleConfig:wse,definePartsStyle:Vg}=_e(["stepper","step","title","description","indicator","separator","icon","number"]),Sl=Ie("stepper-indicator-size"),Hd=Ie("stepper-icon-size"),Od=Ie("stepper-title-font-size"),Ng=Ie("stepper-description-font-size"),Og=Ie("stepper-accent-color"),Tse=Vg(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Og.variable]:`colors.${e}.500`,_dark:{[Og.variable]:`colors.${e}.200`}},title:{fontSize:Od.reference,fontWeight:"medium"},description:{fontSize:Ng.reference,color:"chakra-subtle-text"},number:{fontSize:Od.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:Hd.reference,height:Hd.reference},indicator:{flexShrink:0,borderRadius:"full",width:Sl.reference,height:Sl.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Og.reference},"&[data-status=complete]":{bg:Og.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Og.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Sl.reference} - 8px)`,top:`calc(${Sl.reference} + 4px)`,insetStart:`calc(${Sl.reference} / 2 - 1px)`}}})),XF=wse({baseStyle:Tse,sizes:{xs:Vg({stepper:{[Sl.variable]:"sizes.4",[Hd.variable]:"sizes.3",[Od.variable]:"fontSizes.xs",[Ng.variable]:"fontSizes.xs"}}),sm:Vg({stepper:{[Sl.variable]:"sizes.6",[Hd.variable]:"sizes.4",[Od.variable]:"fontSizes.sm",[Ng.variable]:"fontSizes.xs"}}),md:Vg({stepper:{[Sl.variable]:"sizes.8",[Hd.variable]:"sizes.5",[Od.variable]:"fontSizes.md",[Ng.variable]:"fontSizes.sm"}}),lg:Vg({stepper:{[Sl.variable]:"sizes.10",[Hd.variable]:"sizes.6",[Od.variable]:"fontSizes.lg",[Ng.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:Ase,definePartsStyle:gS}=_e(rT.keys),Wg=Kt("switch-track-width"),dm=Kt("switch-track-height"),PT=Kt("switch-track-diff"),kse=ds.subtract(Wg,dm),ET=Kt("switch-thumb-x"),zg=Kt("switch-bg"),Mse=e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Wg.reference],height:[dm.reference],transitionProperty:"common",transitionDuration:"fast",[zg.variable]:"colors.gray.300",_dark:{[zg.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[zg.variable]:`colors.${t}.500`,_dark:{[zg.variable]:`colors.${t}.200`}},bg:zg.reference}},Lse={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[dm.reference],height:[dm.reference],_checked:{transform:`translateX(${ET.reference})`}},Pse=gS(e=>({container:{[PT.variable]:kse,[ET.variable]:PT.reference,_rtl:{[ET.variable]:ds(PT).negate().toString()}},track:Mse(e),thumb:Lse})),Ese={sm:gS({container:{[Wg.variable]:"1.375rem",[dm.variable]:"sizes.3"}}),md:gS({container:{[Wg.variable]:"1.875rem",[dm.variable]:"sizes.4"}}),lg:gS({container:{[Wg.variable]:"2.875rem",[dm.variable]:"sizes.6"}})},YF=Ase({baseStyle:Pse,sizes:Ese,defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:Bse,definePartsStyle:Vd}=_e(nT.keys),Dse=Vd({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),bS={"&[data-is-numeric=true]":{textAlign:"end"}},Rse=Vd(e=>{let{colorScheme:t}=e;return{th:{color:U("gray.600","gray.400")(e),borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...bS},td:{borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...bS},caption:{color:U("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),_se=Vd(e=>{let{colorScheme:t}=e;return{th:{color:U("gray.600","gray.400")(e),borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...bS},td:{borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...bS},caption:{color:U("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e)},td:{background:U(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Fse={simple:Rse,striped:_se,unstyled:{}},Hse={sm:Vd({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Vd({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Vd({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},KF=Bse({baseStyle:Dse,variants:Fse,sizes:Hse,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});var aa=Ie("tabs-color"),Ns=Ie("tabs-bg"),yS=Ie("tabs-border-color"),{defineMultiStyleConfig:Ose,definePartsStyle:Ii}=_e(aT.keys),Vse=e=>{let{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},Nse=e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},zse=e=>{let{align:t="start",orientation:o}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:o==="vertical"?"column":"row"}},Wse={p:4},Use=Ii(e=>({root:Vse(e),tab:Nse(e),tablist:zse(e),tabpanel:Wse})),Zse={sm:Ii({tab:{py:1,px:4,fontSize:"sm"}}),md:Ii({tab:{fontSize:"md",py:2,px:4}}),lg:Ii({tab:{fontSize:"lg",py:3,px:4}})},jse=Ii(e=>{let{colorScheme:t,orientation:o}=e,r=o==="vertical",n=r?"borderStart":"borderBottom",a=r?"marginStart":"marginBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",[a]:"-2px",_selected:{[aa.variable]:`colors.${t}.600`,_dark:{[aa.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Ns.variable]:"colors.gray.200",_dark:{[Ns.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:aa.reference,bg:Ns.reference}}}),Gse=Ii(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[yS.variable]:"transparent",_selected:{[aa.variable]:`colors.${t}.600`,[yS.variable]:"colors.white",_dark:{[aa.variable]:`colors.${t}.300`,[yS.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:yS.reference},color:aa.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),$se=Ii(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Ns.variable]:"colors.gray.50",_dark:{[Ns.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Ns.variable]:"colors.white",[aa.variable]:`colors.${t}.600`,_dark:{[Ns.variable]:"colors.gray.800",[aa.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:aa.reference,bg:Ns.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),qse=Ii(e=>{let{colorScheme:t,theme:o}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Gr(o,`${t}.700`),bg:Gr(o,`${t}.100`)}}}}),Xse=Ii(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[aa.variable]:"colors.gray.600",_dark:{[aa.variable]:"inherit"},_selected:{[aa.variable]:"colors.white",[Ns.variable]:`colors.${t}.600`,_dark:{[aa.variable]:"colors.gray.800",[Ns.variable]:`colors.${t}.300`}},color:aa.reference,bg:Ns.reference}}}),Yse=Ii({}),Kse={line:jse,enclosed:Gse,"enclosed-colored":$se,"soft-rounded":qse,"solid-rounded":Xse,unstyled:Yse},QF=Ose({baseStyle:Use,sizes:Zse,variants:Kse,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}});var{defineMultiStyleConfig:Qse,definePartsStyle:pm}=_e(sT.keys),JF=Ie("tag-bg"),eH=Ie("tag-color"),BT=Ie("tag-shadow"),SS=Ie("tag-min-height"),xS=Ie("tag-min-width"),IS=Ie("tag-font-size"),vS=Ie("tag-padding-inline"),Jse={fontWeight:"medium",lineHeight:1.2,outline:0,[eH.variable]:bo.color.reference,[JF.variable]:bo.bg.reference,[BT.variable]:bo.shadow.reference,color:eH.reference,bg:JF.reference,boxShadow:BT.reference,borderRadius:"md",minH:SS.reference,minW:xS.reference,fontSize:IS.reference,px:vS.reference,_focusVisible:{[BT.variable]:"shadows.outline"}},eie={lineHeight:1.2,overflow:"visible"},tie={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},oie=pm({container:Jse,label:eie,closeButton:tie}),rie={sm:pm({container:{[SS.variable]:"sizes.5",[xS.variable]:"sizes.5",[IS.variable]:"fontSizes.xs",[vS.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:pm({container:{[SS.variable]:"sizes.6",[xS.variable]:"sizes.6",[IS.variable]:"fontSizes.sm",[vS.variable]:"space.2"}}),lg:pm({container:{[SS.variable]:"sizes.8",[xS.variable]:"sizes.8",[IS.variable]:"fontSizes.md",[vS.variable]:"space.3"}})},nie={subtle:pm(e=>({container:Oc.variants?.subtle(e)})),solid:pm(e=>({container:Oc.variants?.solid(e)})),outline:pm(e=>({container:Oc.variants?.outline(e)}))},tH=Qse({variants:nie,baseStyle:oie,sizes:rie,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}});var aie={...ft.baseStyle?.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},sie={outline:e=>ft.variants?.outline(e).field??{},flushed:e=>ft.variants?.flushed(e).field??{},filled:e=>ft.variants?.filled(e).field??{},unstyled:ft.variants?.unstyled.field??{}},iie={xs:ft.sizes?.xs.field??{},sm:ft.sizes?.sm.field??{},md:ft.sizes?.md.field??{},lg:ft.sizes?.lg.field??{}},oH={baseStyle:aie,sizes:iie,variants:sie,defaultProps:{size:"md",variant:"outline"}};var CS=Kt("tooltip-bg"),DT=Kt("tooltip-fg"),lie=Kt("popper-arrow-bg"),cie={bg:CS.reference,color:DT.reference,[CS.variable]:"colors.gray.700",[DT.variable]:"colors.whiteAlpha.900",_dark:{[CS.variable]:"colors.gray.300",[DT.variable]:"colors.gray.900"},[lie.variable]:CS.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},rH={baseStyle:cie};var nH={Accordion:$_,Alert:cF,Avatar:mF,Badge:Oc,Breadcrumb:fF,Button:pF,Checkbox:Ld,CloseButton:SF,Code:xF,Container:IF,Divider:vF,Drawer:CF,Editable:wF,Form:TF,FormError:AF,FormLabel:kF,Heading:MF,Input:ft,Kbd:LF,Link:PF,List:EF,Menu:BF,Modal:DF,NumberInput:FF,PinInput:HF,Popover:VF,Progress:NF,Radio:zF,Select:WF,Skeleton:UF,SkipLink:ZF,Slider:jF,Spinner:GF,Stat:qF,Switch:YF,Table:KF,Tabs:QF,Tag:tH,Textarea:oH,Tooltip:rH,Card:yF,Stepper:XF};var aH={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"};var sH={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"};var iH={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}};var lH={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"};var cH={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"};var uie={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},mie={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},fie={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},uH={property:uie,easing:mie,duration:fie};var mH={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800};var fH={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"};var RT={breakpoints:sH,zIndices:mH,radii:lH,blur:fH,colors:iH,...cS,sizes:aS,shadows:cH,space:nS,borders:aH,transition:uH};var _T={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}};var FT={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}};var dH=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function HT(e){return Et(e)?dH.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}var pH="ltr",hH={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},wS={semanticTokens:_T,direction:pH,...RT,components:nH,styles:FT,config:hH},gH={semanticTokens:_T,direction:pH,components:{},...RT,styles:FT,config:hH};var C1=M(oe(),1);var Il=M(oe(),1);var qS=M(oe(),1);var sa=M(F()),Kg=M(F());var hie=!1;function gie(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function bie(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var xH=(function(){function e(o){var r=this;this._insertTag=function(n){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(n,a),r.tags.push(n)},this.isSpeedy=o.speedy===void 0?!hie:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(bie(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=gie(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e})();var bn="-ms-",Ug="-moz-",Mt="-webkit-",AS="comm",Nd="rule",zd="decl";var IH="@import";var kS="@keyframes";var vH="@layer";var CH=Math.abs,hm=String.fromCharCode,wH=Object.assign;function TH(e,t){return Eo(e,0)^45?(((t<<2^Eo(e,0))<<2^Eo(e,1))<<2^Eo(e,2))<<2^Eo(e,3):0}function MS(e){return e.trim()}function OT(e,t){return(e=t.exec(e))?e[0]:e}function xt(e,t,o){return e.replace(t,o)}function Zg(e,t){return e.indexOf(t)}function Eo(e,t){return e.charCodeAt(t)|0}function zc(e,t,o){return e.slice(t,o)}function Vn(e){return e.length}function Wd(e){return e.length}function Ud(e,t){return t.push(e),e}function VT(e,t){return e.map(t).join("")}var LS=1,Zd=1,AH=0,Nn=0,Dr=0,Gd="";function jg(e,t,o,r,n,a,s){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:LS,column:Zd,length:s,return:""}}function $d(e,t){return wH(jg("",null,null,"",null,null,0),e,{length:-e.length},t)}function kH(){return Dr}function MH(){return Dr=Nn>0?Eo(Gd,--Nn):0,Zd--,Dr===10&&(Zd=1,LS--),Dr}function zn(){return Dr=Nn<AH?Eo(Gd,Nn++):0,Zd++,Dr===10&&(Zd=1,LS++),Dr}function ps(){return Eo(Gd,Nn)}function Gg(){return Nn}function qd(e,t){return zc(Gd,e,t)}function jd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function PS(e){return LS=Zd=1,AH=Vn(Gd=e),Nn=0,[]}function ES(e){return Gd="",e}function Xd(e){return MS(qd(Nn-1,NT(e===91?e+2:e===40?e+1:e)))}function LH(e){for(;(Dr=ps())&&Dr<33;)zn();return jd(e)>2||jd(Dr)>3?"":" "}function PH(e,t){for(;--t&&zn()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return qd(e,Gg()+(t<6&&ps()==32&&zn()==32))}function NT(e){for(;zn();)switch(Dr){case e:return Nn;case 34:case 39:e!==34&&e!==39&&NT(Dr);break;case 40:e===41&&NT(e);break;case 92:zn();break}return Nn}function EH(e,t){for(;zn()&&e+Dr!==57;)if(e+Dr===84&&ps()===47)break;return"/*"+qd(t,Nn-1)+"*"+hm(e===47?e:zn())}function BH(e){for(;!jd(ps());)zn();return qd(e,Nn)}function _H(e){return ES(BS("",null,null,null,[""],e=PS(e),0,[0],e))}function BS(e,t,o,r,n,a,s,i,l){for(var c=0,u=0,m=s,f=0,d=0,p=0,h=1,S=1,g=1,b=0,I="",v=n,C=a,T=r,w=I;S;)switch(p=b,b=zn()){case 40:if(p!=108&&Eo(w,m-1)==58){Zg(w+=xt(Xd(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:w+=Xd(b);break;case 9:case 10:case 13:case 32:w+=LH(p);break;case 92:w+=PH(Gg()-1,7);continue;case 47:switch(ps()){case 42:case 47:Ud(yie(EH(zn(),Gg()),t,o),l);break;default:w+="/"}break;case 123*h:i[c++]=Vn(w)*g;case 125*h:case 59:case 0:switch(b){case 0:case 125:S=0;case 59+u:g==-1&&(w=xt(w,/\f/g,"")),d>0&&Vn(w)-m&&Ud(d>32?RH(w+";",r,o,m-1):RH(xt(w," ","")+";",r,o,m-2),l);break;case 59:w+=";";default:if(Ud(T=DH(w,t,o,c,u,n,i,I,v=[],C=[],m),a),b===123)if(u===0)BS(w,t,T,T,v,a,m,i,C);else switch(f===99&&Eo(w,3)===110?100:f){case 100:case 108:case 109:case 115:BS(e,T,T,r&&Ud(DH(e,T,T,0,0,n,i,I,n,v=[],m),C),n,C,m,i,r?v:C);break;default:BS(w,T,T,T,[""],C,0,i,C)}}c=u=d=0,h=g=1,I=w="",m=s;break;case 58:m=1+Vn(w),d=p;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&MH()==125)continue}switch(w+=hm(b),b*h){case 38:g=u>0?1:(w+="\f",-1);break;case 44:i[c++]=(Vn(w)-1)*g,g=1;break;case 64:ps()===45&&(w+=Xd(zn())),f=ps(),u=m=Vn(I=w+=BH(Gg())),b++;break;case 45:p===45&&Vn(w)==2&&(h=0)}}return a}function DH(e,t,o,r,n,a,s,i,l,c,u){for(var m=n-1,f=n===0?a:[""],d=Wd(f),p=0,h=0,S=0;p<r;++p)for(var g=0,b=zc(e,m+1,m=CH(h=s[p])),I=e;g<d;++g)(I=MS(h>0?f[g]+" "+b:xt(b,/&\f/g,f[g])))&&(l[S++]=I);return jg(e,t,o,n===0?Nd:i,l,c,u)}function yie(e,t,o){return jg(e,t,o,AS,hm(kH()),zc(e,2,-2),0)}function RH(e,t,o,r){return jg(e,t,o,zd,zc(e,0,r),zc(e,r+1,-1),r)}function gm(e,t){for(var o="",r=Wd(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function FH(e,t,o,r){switch(e.type){case vH:if(e.children.length)break;case IH:case zd:return e.return=e.return||e.value;case AS:return"";case kS:return e.return=e.value+"{"+gm(e.children,r)+"}";case Nd:e.value=e.props.join(",")}return Vn(o=gm(e.children,r))?e.return=e.value+"{"+o+"}":""}function HH(e){var t=Wd(e);return function(o,r,n,a){for(var s="",i=0;i<t;i++)s+=e[i](o,r,n,a)||"";return s}}function OH(e){return function(t){t.root||(t=t.return)&&e(t)}}var zT=function(t){var o=new WeakMap;return function(r){if(o.has(r))return o.get(r);var n=t(r);return o.set(r,n),n}};RS();var Sie=function(t,o,r){for(var n=0,a=0;n=a,a=ps(),n===38&&a===12&&(o[r]=1),!jd(a);)zn();return qd(t,Nn)},xie=function(t,o){var r=-1,n=44;do switch(jd(n)){case 0:n===38&&ps()===12&&(o[r]=1),t[r]+=Sie(Nn-1,o,r);break;case 2:t[r]+=Xd(n);break;case 4:if(n===44){t[++r]=ps()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=hm(n)}while(n=zn());return t},Iie=function(t,o){return ES(xie(PS(t),o))},VH=new WeakMap,vie=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var o=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&o.charCodeAt(0)!==58&&!VH.get(r))&&!n){VH.set(t,!0);for(var a=[],s=Iie(o,a),i=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<i.length;u++,c++)t.props[c]=a[l]?s[l].replace(/&\f/g,i[u]):i[u]+" "+s[l]}}},Cie=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function NH(e,t){switch(TH(e,t)){case 5103:return Mt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Mt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Mt+e+Ug+e+bn+e+e;case 6828:case 4268:return Mt+e+bn+e+e;case 6165:return Mt+e+bn+"flex-"+e+e;case 5187:return Mt+e+xt(e,/(\w+).+(:[^]+)/,Mt+"box-$1$2"+bn+"flex-$1$2")+e;case 5443:return Mt+e+bn+"flex-item-"+xt(e,/flex-|-self/,"")+e;case 4675:return Mt+e+bn+"flex-line-pack"+xt(e,/align-content|flex-|-self/,"")+e;case 5548:return Mt+e+bn+xt(e,"shrink","negative")+e;case 5292:return Mt+e+bn+xt(e,"basis","preferred-size")+e;case 6060:return Mt+"box-"+xt(e,"-grow","")+Mt+e+bn+xt(e,"grow","positive")+e;case 4554:return Mt+xt(e,/([^-])(transform)/g,"$1"+Mt+"$2")+e;case 6187:return xt(xt(xt(e,/(zoom-|grab)/,Mt+"$1"),/(image-set)/,Mt+"$1"),e,"")+e;case 5495:case 3959:return xt(e,/(image-set\([^]*)/,Mt+"$1$`$1");case 4968:return xt(xt(e,/(.+:)(flex-)?(.*)/,Mt+"box-pack:$3"+bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Mt+e+e;case 4095:case 3583:case 4068:case 2532:return xt(e,/(.+)-inline(.+)/,Mt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Vn(e)-1-t>6)switch(Eo(e,t+1)){case 109:if(Eo(e,t+4)!==45)break;case 102:return xt(e,/(.+:)(.+)-([^]+)/,"$1"+Mt+"$2-$3$1"+Ug+(Eo(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zg(e,"stretch")?NH(xt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Eo(e,t+1)!==115)break;case 6444:switch(Eo(e,Vn(e)-3-(~Zg(e,"!important")&&10))){case 107:return xt(e,":",":"+Mt)+e;case 101:return xt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Mt+(Eo(e,14)===45?"inline-":"")+"box$3$1"+Mt+"$2$3$1"+bn+"$2box$3")+e}break;case 5936:switch(Eo(e,t+11)){case 114:return Mt+e+bn+xt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Mt+e+bn+xt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Mt+e+bn+xt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Mt+e+bn+e+e}return e}var wie=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case zd:t.return=NH(t.value,t.length);break;case kS:return gm([$d(t,{value:xt(t.value,"@","@"+Mt)})],n);case Nd:if(t.length)return VT(t.props,function(a){switch(OT(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gm([$d(t,{props:[xt(a,/:(read-\w+)/,":"+Ug+"$1")]})],n);case"::placeholder":return gm([$d(t,{props:[xt(a,/:(plac\w+)/,":"+Mt+"input-$1")]}),$d(t,{props:[xt(a,/:(plac\w+)/,":"+Ug+"$1")]}),$d(t,{props:[xt(a,/:(plac\w+)/,bn+"input-$1")]})],n)}return""})}},Tie=[wie],zH=function(t){var o=t.key;if(o==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var S=h.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var n=t.stylisPlugins||Tie,a={},s,i=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(h){for(var S=h.getAttribute("data-emotion").split(" "),g=1;g<S.length;g++)a[S[g]]=!0;i.push(h)});var l,c=[vie,Cie];{var u,m=[FH,OH(function(h){u.insert(h)})],f=HH(c.concat(n,m)),d=function(S){return gm(_H(S),f)};l=function(S,g,b,I){u=b,d(S?S+"{"+g.styles+"}":g.styles),I&&(p.inserted[g.name]=!0)}}var p={key:o,sheet:new xH({key:o,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return p.sheet.hydrate(i),p};function zs(){return zs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},zs.apply(null,arguments)}var Oie=!0;function $g(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Yd=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||Oie===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},Kd=function(t,o,r){Yd(t,o,r);var n=t.key+"-"+o.name;if(t.inserted[o.name]===void 0){var a=o;do t.insert(o===a?"."+n:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function JH(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var eO={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};RS();var Vie=!1,Nie=/[A-Z]|^ms/g,zie=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nO=function(t){return t.charCodeAt(1)===45},tO=function(t){return t!=null&&typeof t!="boolean"},$T=DS(function(e){return nO(e)?e:e.replace(Nie,"-$&").toLowerCase()}),oO=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(zie,function(r,n,a){return vi={name:n,styles:a,next:vi},n})}return eO[t]!==1&&!nO(t)&&typeof o=="number"&&o!==0?o+"px":o},Wie="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function qg(e,t,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":{var n=o;if(n.anim===1)return vi={name:n.name,styles:n.styles,next:vi},n.name;var a=o;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)vi={name:s.name,styles:s.styles,next:vi},s=s.next;var i=a.styles+";";return i}return Uie(e,t,o)}case"function":{if(e!==void 0){var l=vi,c=o(e);return vi=l,qg(e,t,c)}break}}var u=o;if(t==null)return u;var m=t[u];return m!==void 0?m:u}function Uie(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=qg(e,t,o[n])+";";else for(var a in o){var s=o[a];if(typeof s!="object"){var i=s;t!=null&&t[i]!==void 0?r+=a+"{"+t[i]+"}":tO(i)&&(r+=$T(a)+":"+oO(a,i)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&Vie)throw new Error(Wie);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)tO(s[l])&&(r+=$T(a)+":"+oO(a,s[l])+";");else{var c=qg(e,t,s);switch(a){case"animation":case"animationName":{r+=$T(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}}return r}var rO=/label:\s*([^\s;{]+)\s*(;|$)/g,vi;function bm(e,t,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,n="";vi=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,n+=qg(o,t,a);else{var s=a;n+=s[0]}for(var i=1;i<e.length;i++)if(n+=qg(o,t,e[i]),r){var l=a;n+=l[i]}rO.lastIndex=0;for(var c="",u;(u=rO.exec(n))!==null;)c+="-"+u[1];var m=JH(n)+c;return{name:m,styles:n,next:vi}}var Xg=M(F()),Zie=function(t){return t()},aO=Xg.useInsertionEffect?Xg.useInsertionEffect:!1,Yg=aO||Zie,qT=aO||Xg.useLayoutEffect;var sO=!1,YT=sa.createContext(typeof HTMLElement<"u"?zH({key:"css"}):null),jie=YT.Provider,KT=function(){return(0,Kg.useContext)(YT)},Qd=function(t){return(0,Kg.forwardRef)(function(o,r){var n=(0,Kg.useContext)(YT);return t(o,n,r)})},Ci=sa.createContext({});var Gie=function(t,o){if(typeof o=="function"){var r=o(t);return r}return zs({},t,o)},$ie=zT(function(e){return zT(function(t){return Gie(e,t)})}),QT=function(t){var o=sa.useContext(Ci);return t.theme!==o&&(o=$ie(o)(t.theme)),sa.createElement(Ci.Provider,{value:o},t.children)};var jS={}.hasOwnProperty,XT="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",iO=function(t,o){var r={};for(var n in o)jS.call(o,n)&&(r[n]=o[n]);return r[XT]=t,r},qie=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return Yd(o,r,n),Yg(function(){return Kd(o,r,n)}),null},Xie=Qd(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[XT],a=[r],s="";typeof e.className=="string"?s=$g(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var i=bm(a,void 0,sa.useContext(Ci));s+=t.key+"-"+i.name;var l={};for(var c in e)jS.call(e,c)&&c!=="css"&&c!==XT&&!sO&&(l[c]=e[c]);return l.className=s,o&&(l.ref=o),sa.createElement(sa.Fragment,null,sa.createElement(qie,{cache:t,serialized:i,isStringTag:typeof n=="string"}),sa.createElement(n,l))}),lO=Xie;var Wc=M(F());var hwe=M(QH()),cO=function(t,o){var r=arguments;if(o==null||!jS.call(o,"css"))return Wc.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=lO,a[1]=iO(t,o);for(var s=2;s<n;s++)a[s]=r[s];return Wc.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(cO||(cO={}));var Jd=Qd(function(e,t){var o=e.styles,r=bm([o],void 0,Wc.useContext(Ci)),n=Wc.useRef();return qT(function(){var a=t.key+"-global",s=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,l=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(i=!0,l.setAttribute("data-emotion",a),s.hydrate([l])),n.current=[s,i],function(){s.flush()}},[t]),qT(function(){var a=n.current,s=a[0],i=a[1];if(i){a[1]=!1;return}if(r.next!==void 0&&Kd(t,r.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function Yie(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return bm(t)}function Ws(){var e=Yie.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var yn=M(F(),1);var GS=M(F(),1),ym=(0,GS.createContext)({});ym.displayName="ColorModeContext";function xl(){let e=(0,GS.useContext)(ym);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var $S={light:"chakra-ui-light",dark:"chakra-ui-dark"};function uO(e={}){let{preventTransition:t=!0,nonce:o}=e,r={setDataset:n=>{let a=t?r.preventTransition():void 0;document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,a?.()},setClassName(n){document.body.classList.add(n?$S.dark:$S.light),document.body.classList.remove(n?$S.light:$S.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(n){return r.query().matches??n==="dark"?"dark":"light"},addListener(n){let a=r.query(),s=i=>{n(i.matches?"dark":"light")};return typeof a.addListener=="function"?a.addListener(s):a.addEventListener("change",s),()=>{typeof a.removeListener=="function"?a.removeListener(s):a.removeEventListener("change",s)}},preventTransition(){let n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),o!==void 0&&(n.nonce=o),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(n)})})}}};return r}var fO="chakra-ui-color-mode";function Kie(e){return{ssr:!1,type:"localStorage",get(t){if(!globalThis?.document)return t;let o;try{o=localStorage.getItem(e)||t}catch{}return o||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var dO=Kie(fO);function mO(e,t){return e.match(new RegExp(`(^| )${t}=([^;]+)`))?.[2]}function Qie(e,t){return{ssr:!!t,type:"cookie",get(o){return t?mO(t,e):globalThis?.document&&mO(document.cookie,e)||o},set(o){document.cookie=`${e}=${o}; max-age=31536000; path=/`}}}var xwe=Qie(fO);var ep=()=>{},Jie=e3()?yn.useLayoutEffect:yn.useEffect;function pO(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}var JT=function(t){let{value:o,children:r,options:{useSystemColorMode:n,initialColorMode:a,disableTransitionOnChange:s}={},colorModeManager:i=dO}=t,l=KT(),c=a==="dark"?"dark":"light",[u,m]=(0,yn.useState)(()=>pO(i,c)),[f,d]=(0,yn.useState)(()=>pO(i)),{getSystemTheme:p,setClassName:h,setDataset:S,addListener:g}=(0,yn.useMemo)(()=>uO({preventTransition:s,nonce:l?.nonce}),[s,l?.nonce]),b=a==="system"&&!u?f:u,I=(0,yn.useCallback)(T=>{let w=T==="system"?p():T;m(w),h(w==="dark"),S(w),i.set(w)},[i,p,h,S]);Jie(()=>{a==="system"&&d(p())},[]),(0,yn.useEffect)(()=>{let T=i.get();if(T){I(T);return}if(a==="system"){I("system");return}I(c)},[i,c,a,I]);let v=(0,yn.useCallback)(()=>{I(b==="dark"?"light":"dark")},[b,I]);(0,yn.useEffect)(()=>{if(n)return g(I)},[n,g,I]);let C=(0,yn.useMemo)(()=>({colorMode:o??b,toggleColorMode:o?ep:v,setColorMode:o?ep:I,forced:o!==void 0}),[b,v,I,o]);return(0,qS.jsx)(ym.Provider,{value:C,children:r})};JT.displayName="ColorModeProvider";function ele(e){let t=(0,yn.useMemo)(()=>({colorMode:"dark",toggleColorMode:ep,setColorMode:ep,forced:!0}),[]);return(0,qS.jsx)(ym.Provider,{value:t,...e})}ele.displayName="DarkMode";function tle(e){let t=(0,yn.useMemo)(()=>({colorMode:"light",toggleColorMode:ep,setColorMode:ep,forced:!0}),[]);return(0,qS.jsx)(ym.Provider,{value:t,...e})}tle.displayName="LightMode";var eA=M(oe(),1);var hO=String.raw,gO=hO`
|
|
859
|
+
:root,
|
|
860
|
+
:host {
|
|
861
|
+
--chakra-vh: 100vh;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
@supports (height: -webkit-fill-available) {
|
|
865
|
+
:root,
|
|
866
|
+
:host {
|
|
867
|
+
--chakra-vh: -webkit-fill-available;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
@supports (height: -moz-fill-available) {
|
|
872
|
+
:root,
|
|
873
|
+
:host {
|
|
874
|
+
--chakra-vh: -moz-fill-available;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
@supports (height: 100dvh) {
|
|
879
|
+
:root,
|
|
880
|
+
:host {
|
|
881
|
+
--chakra-vh: 100dvh;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
`,bO=()=>(0,eA.jsx)(Jd,{styles:gO}),yO=({scope:e=""})=>(0,eA.jsx)(Jd,{styles:hO`
|
|
885
|
+
html {
|
|
886
|
+
line-height: 1.5;
|
|
887
|
+
-webkit-text-size-adjust: 100%;
|
|
888
|
+
font-family: system-ui, sans-serif;
|
|
889
|
+
-webkit-font-smoothing: antialiased;
|
|
890
|
+
text-rendering: optimizeLegibility;
|
|
891
|
+
-moz-osx-font-smoothing: grayscale;
|
|
892
|
+
touch-action: manipulation;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
body {
|
|
896
|
+
position: relative;
|
|
897
|
+
min-height: 100%;
|
|
898
|
+
margin: 0;
|
|
899
|
+
font-feature-settings: "kern";
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
${e} :where(*, *::before, *::after) {
|
|
903
|
+
border-width: 0;
|
|
904
|
+
border-style: solid;
|
|
905
|
+
box-sizing: border-box;
|
|
906
|
+
word-wrap: break-word;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
main {
|
|
910
|
+
display: block;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
${e} hr {
|
|
914
|
+
border-top-width: 1px;
|
|
915
|
+
box-sizing: content-box;
|
|
916
|
+
height: 0;
|
|
917
|
+
overflow: visible;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
${e} :where(pre, code, kbd,samp) {
|
|
921
|
+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
922
|
+
font-size: 1em;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
${e} a {
|
|
926
|
+
background-color: transparent;
|
|
927
|
+
color: inherit;
|
|
928
|
+
text-decoration: inherit;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
${e} abbr[title] {
|
|
932
|
+
border-bottom: none;
|
|
933
|
+
text-decoration: underline;
|
|
934
|
+
-webkit-text-decoration: underline dotted;
|
|
935
|
+
text-decoration: underline dotted;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
${e} :where(b, strong) {
|
|
939
|
+
font-weight: bold;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
${e} small {
|
|
943
|
+
font-size: 80%;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
${e} :where(sub,sup) {
|
|
947
|
+
font-size: 75%;
|
|
948
|
+
line-height: 0;
|
|
949
|
+
position: relative;
|
|
950
|
+
vertical-align: baseline;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
${e} sub {
|
|
954
|
+
bottom: -0.25em;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
${e} sup {
|
|
958
|
+
top: -0.5em;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
${e} img {
|
|
962
|
+
border-style: none;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
${e} :where(button, input, optgroup, select, textarea) {
|
|
966
|
+
font-family: inherit;
|
|
967
|
+
font-size: 100%;
|
|
968
|
+
line-height: 1.15;
|
|
969
|
+
margin: 0;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
${e} :where(button, input) {
|
|
973
|
+
overflow: visible;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
${e} :where(button, select) {
|
|
977
|
+
text-transform: none;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
${e} :where(
|
|
981
|
+
button::-moz-focus-inner,
|
|
982
|
+
[type="button"]::-moz-focus-inner,
|
|
983
|
+
[type="reset"]::-moz-focus-inner,
|
|
984
|
+
[type="submit"]::-moz-focus-inner
|
|
985
|
+
) {
|
|
986
|
+
border-style: none;
|
|
987
|
+
padding: 0;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
${e} fieldset {
|
|
991
|
+
padding: 0.35em 0.75em 0.625em;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
${e} legend {
|
|
995
|
+
box-sizing: border-box;
|
|
996
|
+
color: inherit;
|
|
997
|
+
display: table;
|
|
998
|
+
max-width: 100%;
|
|
999
|
+
padding: 0;
|
|
1000
|
+
white-space: normal;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
${e} progress {
|
|
1004
|
+
vertical-align: baseline;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
${e} textarea {
|
|
1008
|
+
overflow: auto;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
${e} :where([type="checkbox"], [type="radio"]) {
|
|
1012
|
+
box-sizing: border-box;
|
|
1013
|
+
padding: 0;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
${e} input[type="number"]::-webkit-inner-spin-button,
|
|
1017
|
+
${e} input[type="number"]::-webkit-outer-spin-button {
|
|
1018
|
+
-webkit-appearance: none !important;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
${e} input[type="number"] {
|
|
1022
|
+
-moz-appearance: textfield;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
${e} input[type="search"] {
|
|
1026
|
+
-webkit-appearance: textfield;
|
|
1027
|
+
outline-offset: -2px;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
${e} input[type="search"]::-webkit-search-decoration {
|
|
1031
|
+
-webkit-appearance: none !important;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
${e} ::-webkit-file-upload-button {
|
|
1035
|
+
-webkit-appearance: button;
|
|
1036
|
+
font: inherit;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
${e} details {
|
|
1040
|
+
display: block;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
${e} summary {
|
|
1044
|
+
display: list-item;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
template {
|
|
1048
|
+
display: none;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
[hidden] {
|
|
1052
|
+
display: none !important;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
${e} :where(
|
|
1056
|
+
blockquote,
|
|
1057
|
+
dl,
|
|
1058
|
+
dd,
|
|
1059
|
+
h1,
|
|
1060
|
+
h2,
|
|
1061
|
+
h3,
|
|
1062
|
+
h4,
|
|
1063
|
+
h5,
|
|
1064
|
+
h6,
|
|
1065
|
+
hr,
|
|
1066
|
+
figure,
|
|
1067
|
+
p,
|
|
1068
|
+
pre
|
|
1069
|
+
) {
|
|
1070
|
+
margin: 0;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
${e} button {
|
|
1074
|
+
background: transparent;
|
|
1075
|
+
padding: 0;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
${e} fieldset {
|
|
1079
|
+
margin: 0;
|
|
1080
|
+
padding: 0;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
${e} :where(ol, ul) {
|
|
1084
|
+
margin: 0;
|
|
1085
|
+
padding: 0;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
${e} textarea {
|
|
1089
|
+
resize: vertical;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
${e} :where(button, [role="button"]) {
|
|
1093
|
+
cursor: pointer;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
${e} button::-moz-focus-inner {
|
|
1097
|
+
border: 0 !important;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
${e} table {
|
|
1101
|
+
border-collapse: collapse;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
${e} :where(h1, h2, h3, h4, h5, h6) {
|
|
1105
|
+
font-size: inherit;
|
|
1106
|
+
font-weight: inherit;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
${e} :where(button, input, optgroup, select, textarea) {
|
|
1110
|
+
padding: 0;
|
|
1111
|
+
line-height: inherit;
|
|
1112
|
+
color: inherit;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
|
|
1116
|
+
display: block;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
${e} :where(img, video) {
|
|
1120
|
+
max-width: 100%;
|
|
1121
|
+
height: auto;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
[data-js-focus-visible]
|
|
1125
|
+
:focus:not([data-focus-visible-added]):not(
|
|
1126
|
+
[data-focus-visible-disabled]
|
|
1127
|
+
) {
|
|
1128
|
+
outline: none;
|
|
1129
|
+
box-shadow: none;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
${e} select::-ms-expand {
|
|
1133
|
+
display: none;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
${gO}
|
|
1137
|
+
`});var tp=M(oe(),1);var SO=M(F(),1);function xO(e){let{cssVarsRoot:t,theme:o,children:r}=e,n=(0,SO.useMemo)(()=>F3(o),[o]);return(0,tp.jsxs)(QT,{theme:n,children:[(0,tp.jsx)(ole,{root:t}),r]})}function ole({root:e=":host, :root"}){let t=[e,"[data-theme]"].join(",");return(0,tp.jsx)(Jd,{styles:o=>({[t]:o.__cssVars})})}var[Rwe,_we]=qe({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function IO(){let{colorMode:e}=xl();return(0,tp.jsx)(Jd,{styles:t=>{let o=dg(t,"styles.global"),r=Br(o,{theme:t,colorMode:e});return r?Ag(r)(t):void 0}})}var vO=M(oe(),1);var[rle,CO]=qe({strict:!1,name:"PortalManagerContext"});function tA(e){let{children:t,zIndex:o}=e;return(0,vO.jsx)(rle,{value:{zIndex:o},children:t})}tA.displayName="PortalManager";var XS=M(oe(),1);var Uc=M(F(),1),wO=(0,Uc.createContext)({getDocument(){return document},getWindow(){return window}});wO.displayName="EnvironmentContext";function oA(e){let{children:t,environment:o,disabled:r}=e,n=(0,Uc.useRef)(null),a=(0,Uc.useMemo)(()=>o||{getDocument:()=>n.current?.ownerDocument??document,getWindow:()=>n.current?.ownerDocument.defaultView??window},[o]),s=!r||!o;return(0,XS.jsxs)(wO.Provider,{value:a,children:[t,s&&(0,XS.jsx)("span",{id:"__chakra_env",hidden:!0,ref:n})]})}oA.displayName="EnvironmentProvider";var TO=e=>{let{children:t,colorModeManager:o,portalZIndex:r,resetScope:n,resetCSS:a=!0,theme:s={},environment:i,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:u}=e,m=(0,Il.jsx)(oA,{environment:i,disabled:c,children:t});return(0,Il.jsx)(xO,{theme:s,cssVarsRoot:l,children:(0,Il.jsxs)(JT,{colorModeManager:o,options:s.config,children:[a?(0,Il.jsx)(yO,{scope:n}):(0,Il.jsx)(bO,{}),!u&&(0,Il.jsx)(IO,{}),r?(0,Il.jsx)(tA,{zIndex:r,children:m}):m]})})};var v1=M(oe(),1);var Jg=M(oe(),1),wi=M(F(),1);var AO=M(F(),1),op=(0,AO.createContext)({});var kO=M(F(),1);function rp(e){let t=(0,kO.useRef)(null);return t.current===null&&(t.current=e()),t.current}var nA=M(oe(),1),BO=M(F(),1),Sm=M(F(),1);var MO=M(F(),1),vl=(0,MO.createContext)(null);var PO=M(oe(),1),YS=M(F(),1),Cl=M(F(),1);var LO=M(F(),1),np=(0,LO.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var rA=class extends YS.Component{getSnapshotBeforeUpdate(t){let o=this.props.childRef.current;if(o&&t.isPresent&&!this.props.isPresent){let r=this.props.sizeRef.current;r.height=o.offsetHeight||0,r.width=o.offsetWidth||0,r.top=o.offsetTop,r.left=o.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function EO({children:e,isPresent:t}){let o=(0,Cl.useId)(),r=(0,Cl.useRef)(null),n=(0,Cl.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,Cl.useContext)(np);return(0,Cl.useInsertionEffect)(()=>{let{width:s,height:i,top:l,left:c}=n.current;if(t||!r.current||!s||!i)return;r.current.dataset.motionPopId=o;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
|
|
1138
|
+
[data-motion-pop-id="${o}"] {
|
|
1139
|
+
position: absolute !important;
|
|
1140
|
+
width: ${s}px !important;
|
|
1141
|
+
height: ${i}px !important;
|
|
1142
|
+
top: ${l}px !important;
|
|
1143
|
+
left: ${c}px !important;
|
|
1144
|
+
}
|
|
1145
|
+
`),()=>{document.head.removeChild(u)}},[t]),(0,PO.jsx)(rA,{isPresent:t,childRef:r,sizeRef:n,children:YS.cloneElement(e,{ref:r})})}var DO=({children:e,initial:t,isPresent:o,onExitComplete:r,custom:n,presenceAffectsLayout:a,mode:s})=>{let i=rp(nle),l=(0,Sm.useId)(),c=(0,Sm.useCallback)(m=>{i.set(m,!0);for(let f of i.values())if(!f)return;r&&r()},[i,r]),u=(0,Sm.useMemo)(()=>({id:l,initial:t,isPresent:o,custom:n,onExitComplete:c,register:m=>(i.set(m,!1),()=>i.delete(m))}),a?[Math.random(),c]:[o,c]);return(0,Sm.useMemo)(()=>{i.forEach((m,f)=>i.set(f,!1))},[o]),BO.useEffect(()=>{!o&&!i.size&&r&&r()},[o]),s==="popLayout"&&(e=(0,nA.jsx)(EO,{isPresent:o,children:e})),(0,nA.jsx)(vl.Provider,{value:u,children:e})};function nle(){return new Map}var wl=M(F(),1);function xm(e=!0){let t=(0,wl.useContext)(vl);if(t===null)return[!0,null];let{isPresent:o,onExitComplete:r,register:n}=t,a=(0,wl.useId)();(0,wl.useEffect)(()=>{e&&n(a)},[e]);let s=(0,wl.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!o&&r?[!1,s]:[!0]}function aA(){return ale((0,wl.useContext)(vl))}function ale(e){return e===null?!0:e.isPresent}var KS=M(F(),1),Qg=e=>e.key||"";function sA(e){let t=[];return KS.Children.forEach(e,o=>{(0,KS.isValidElement)(o)&&t.push(o)}),t}var QS=M(F(),1);var ap=typeof window<"u";var JS=ap?QS.useLayoutEffect:QS.useEffect;var Us=({children:e,custom:t,initial:o=!0,onExitComplete:r,presenceAffectsLayout:n=!0,mode:a="sync",propagate:s=!1})=>{let[i,l]=xm(s),c=(0,wi.useMemo)(()=>sA(e),[e]),u=s&&!i?[]:c.map(Qg),m=(0,wi.useRef)(!0),f=(0,wi.useRef)(c),d=rp(()=>new Map),[p,h]=(0,wi.useState)(c),[S,g]=(0,wi.useState)(c);JS(()=>{m.current=!1,f.current=c;for(let v=0;v<S.length;v++){let C=Qg(S[v]);u.includes(C)?d.delete(C):d.get(C)!==!0&&d.set(C,!1)}},[S,u.length,u.join("-")]);let b=[];if(c!==p){let v=[...c];for(let C=0;C<S.length;C++){let T=S[C],w=Qg(T);u.includes(w)||(v.splice(C,0,T),b.push(T))}a==="wait"&&b.length&&(v=b),g(sA(v)),h(c);return}let{forceRender:I}=(0,wi.useContext)(op);return(0,Jg.jsx)(Jg.Fragment,{children:S.map(v=>{let C=Qg(v),T=s&&!i?!1:c===S||u.includes(C),w=()=>{if(d.has(C))d.set(C,!0);else return;let P=!0;d.forEach(k=>{k||(P=!1)}),P&&(I?.(),g(f.current),s&&l?.(),r&&r())};return(0,Jg.jsx)(DO,{isPresent:T,initial:!m.current||o?void 0:!1,custom:T?void 0:t,presenceAffectsLayout:n,mode:a,onExitComplete:T?void 0:w,children:v},C)})})};var zt=e=>e;var Tl=zt,Zs=zt;function Im(e){let t;return()=>(t===void 0&&(t=e()),t)}var Va=(e,t,o)=>{let r=t-e;return r===0?1:(o-e)/r};var Bo=e=>e*1e3,Sn=e=>e/1e3;var sp={skipAnimations:!1,useManualTiming:!1};function RO(e){let t=new Set,o=new Set,r=!1,n=!1,a=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function i(c){a.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,u=!1,m=!1)=>{let d=m&&r?t:o;return u&&a.add(c),d.has(c)||d.add(c),c},cancel:c=>{o.delete(c),a.delete(c)},process:c=>{if(s=c,r){n=!0;return}r=!0,[t,o]=[o,t],t.forEach(i),t.clear(),r=!1,n&&(n=!1,l.process(c))}};return l}var ex=["read","resolveKeyframes","update","preRender","render","postRender"],sle=40;function tx(e,t){let o=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>o=!0,s=ex.reduce((g,b)=>(g[b]=RO(a),g),{}),{read:i,resolveKeyframes:l,update:c,preRender:u,render:m,postRender:f}=s,d=()=>{let g=sp.useManualTiming?n.timestamp:performance.now();o=!1,n.delta=r?1e3/60:Math.max(Math.min(g-n.timestamp,sle),1),n.timestamp=g,n.isProcessing=!0,i.process(n),l.process(n),c.process(n),u.process(n),m.process(n),f.process(n),n.isProcessing=!1,o&&t&&(r=!1,e(d))},p=()=>{o=!0,r=!0,n.isProcessing||e(d)};return{schedule:ex.reduce((g,b)=>{let I=s[b];return g[b]=(v,C=!1,T=!1)=>(o||p(),I.schedule(v,C,T)),g},{}),cancel:g=>{for(let b=0;b<ex.length;b++)s[ex[b]].cancel(g)},state:n,steps:s}}var{schedule:et,cancel:Na,state:Do,steps:ox}=tx(typeof requestAnimationFrame<"u"?requestAnimationFrame:zt,!0);var _O=M(F(),1),rx=(0,_O.createContext)({strict:!1});var FO={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Al={};for(let e in FO)Al[e]={isEnabled:t=>FO[e].some(o=>!!t[o])};function HO(e){for(let t in e)Al[t]={...Al[t],...e[t]}}var ile=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function e1(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ile.has(e)}var VO=e=>!e1(e);function cle(e){e&&(VO=t=>t.startsWith("on")?!e1(t):e(t))}try{cle((nx(),uK(OO)).default)}catch{}function NO(e,t,o){let r={};for(let n in e)n==="values"&&typeof e.values=="object"||(VO(n)||o===!0&&e1(n)||!t&&!e1(n)||e.draggable&&n.startsWith("onDrag"))&&(r[n]=e[n]);return r}function zO(e){if(typeof Proxy>"u")return e;let t=new Map,o=(...r)=>e(...r);return new Proxy(o,{get:(r,n)=>n==="create"?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}var ux=M(oe(),1);var cp=M(F(),1);var WO=M(F(),1),Zc=(0,WO.createContext)({});var ix=M(F(),1);function kl(e){return typeof e=="string"||Array.isArray(e)}function jc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var ax=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],t1=["initial",...ax];function vm(e){return jc(e.animate)||t1.some(t=>kl(e[t]))}function sx(e){return!!(vm(e)||e.variants)}function UO(e,t){if(vm(e)){let{initial:o,animate:r}=e;return{initial:o===!1||kl(o)?o:void 0,animate:kl(r)?r:void 0}}return e.inherit!==!1?t:{}}function jO(e){let{initial:t,animate:o}=UO(e,(0,ix.useContext)(Zc));return(0,ix.useMemo)(()=>({initial:t,animate:o}),[ZO(t),ZO(o)])}function ZO(e){return Array.isArray(e)?e.join(" "):e}var GO=Symbol.for("motionComponentSymbol");var $O=M(F(),1);function Ml(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function qO(e,t,o){return(0,$O.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),o&&(typeof o=="function"?o(r):Ml(o)&&(o.current=r))},[t])}var ia=M(F(),1);var ip=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var ule="framerAppearId",lx="data-"+ip(ule);var{schedule:lp,cancel:fTe}=tx(queueMicrotask,!1);var XO=M(F(),1),cx=(0,XO.createContext)({});function YO(e,t,o,r,n){var a,s;let{visualElement:i}=(0,ia.useContext)(Zc),l=(0,ia.useContext)(rx),c=(0,ia.useContext)(vl),u=(0,ia.useContext)(np).reducedMotion,m=(0,ia.useRef)(null);r=r||l.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:i,props:o,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));let f=m.current,d=(0,ia.useContext)(cx);f&&!f.projection&&n&&(f.type==="html"||f.type==="svg")&&mle(m.current,o,n,d);let p=(0,ia.useRef)(!1);(0,ia.useInsertionEffect)(()=>{f&&p.current&&f.update(o,c)});let h=o[lx],S=(0,ia.useRef)(!!h&&!(!((a=window.MotionHandoffIsComplete)===null||a===void 0)&&a.call(window,h))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,h)));return JS(()=>{f&&(p.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),lp.render(f.render),S.current&&f.animationState&&f.animationState.animateChanges())}),(0,ia.useEffect)(()=>{f&&(!S.current&&f.animationState&&f.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var g;(g=window.MotionHandoffMarkAsComplete)===null||g===void 0||g.call(window,h)}),S.current=!1))}),f}function mle(e,t,o,r){let{layoutId:n,layout:a,drag:s,dragConstraints:i,layoutScroll:l,layoutRoot:c}=t;e.projection=new o(e.latestValues,t["data-framer-portal-id"]?void 0:KO(e.parent)),e.projection.setOptions({layoutId:n,layout:a,alwaysMeasureLayout:!!s||i&&Ml(i),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function KO(e){if(e)return e.options.allowProjection!==!1?e.projection:KO(e.parent)}function QO({preloadedFeatures:e,createVisualElement:t,useRender:o,useVisualState:r,Component:n}){var a,s;e&&HO(e);function i(c,u){let m,f={...(0,cp.useContext)(np),...c,layoutId:fle(c)},{isStatic:d}=f,p=jO(c),h=r(c,d);if(!d&&ap){dle(f,e);let S=ple(f);m=S.MeasureLayout,p.visualElement=YO(n,h,f,t,S.ProjectionNode)}return(0,ux.jsxs)(Zc.Provider,{value:p,children:[m&&p.visualElement?(0,ux.jsx)(m,{visualElement:p.visualElement,...f}):null,o(n,c,qO(h,p.visualElement,u),h,d,p.visualElement)]})}i.displayName=`motion.${typeof n=="string"?n:`create(${(s=(a=n.displayName)!==null&&a!==void 0?a:n.name)!==null&&s!==void 0?s:""})`}`;let l=(0,cp.forwardRef)(i);return l[GO]=n,l}function fle({layoutId:e}){let t=(0,cp.useContext)(op).id;return t&&e!==void 0?t+"-"+e:e}function dle(e,t){let o=(0,cp.useContext)(rx).strict}function ple(e){let{drag:t,layout:o}=Al;if(!t&&!o)return{};let r={...t,...o};return{MeasureLayout:t?.isEnabled(e)||o?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var JO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function up(e){return typeof e!="string"||e.includes("-")?!1:!!(JO.indexOf(e)>-1||/[A-Z]/u.test(e))}var lA=M(F(),1);function eV(e){let t=[{},{}];return e?.values.forEach((o,r)=>{t[0][r]=o.get(),t[1][r]=o.getVelocity()}),t}function mp(e,t,o,r){if(typeof t=="function"){let[n,a]=eV(r);t=t(o!==void 0?o:e.custom,n,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[n,a]=eV(r);t=t(o!==void 0?o:e.custom,n,a)}return t}var o1=e=>Array.isArray(e);var tV=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),oV=e=>o1(e)?e[e.length-1]||0:e;var Qt=e=>!!(e&&e.getVelocity);function fp(e){let t=Qt(e)?e.get():e;return tV(t)?t.toValue():t}function hle({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:o},r,n,a){let s={latestValues:gle(r,n,a,e),renderState:t()};return o&&(s.onMount=i=>o({props:r,current:i,...s}),s.onUpdate=i=>o(i)),s}var mx=e=>(t,o)=>{let r=(0,lA.useContext)(Zc),n=(0,lA.useContext)(vl),a=()=>hle(e,t,r,n);return o?a():rp(a)};function gle(e,t,o,r){let n={},a=r(e,{});for(let f in a)n[f]=fp(a[f]);let{initial:s,animate:i}=e,l=vm(e),c=sx(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),i===void 0&&(i=t.animate));let u=o?o.initial===!1:!1;u=u||s===!1;let m=u?i:s;if(m&&typeof m!="boolean"&&!jc(m)){let f=Array.isArray(m)?m:[m];for(let d=0;d<f.length;d++){let p=mp(e,f[d]);if(p){let{transitionEnd:h,transition:S,...g}=p;for(let b in g){let I=g[b];if(Array.isArray(I)){let v=u?I.length-1:0;I=I[v]}I!==null&&(n[b]=I)}for(let b in h)n[b]=h[b]}}}return n}var Ti=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],la=new Set(Ti);var rV=e=>t=>typeof t=="string"&&t.startsWith(e),fx=rV("--"),ble=rV("var(--"),dp=e=>ble(e)?yle.test(e.split("/*")[0].trim()):!1,yle=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var dx=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var xn=(e,t,o)=>o>t?t:o<e?e:o;var Ai={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ll={...Ai,transform:e=>xn(0,1,e)},r1={...Ai,default:1};var n1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ki=n1("deg"),Wn=n1("%"),ke=n1("px"),nV=n1("vh"),aV=n1("vw"),cA={...Wn,parse:e=>Wn.parse(e)/100,transform:e=>Wn.transform(e*100)};var sV={borderWidth:ke,borderTopWidth:ke,borderRightWidth:ke,borderBottomWidth:ke,borderLeftWidth:ke,borderRadius:ke,radius:ke,borderTopLeftRadius:ke,borderTopRightRadius:ke,borderBottomRightRadius:ke,borderBottomLeftRadius:ke,width:ke,maxWidth:ke,height:ke,maxHeight:ke,top:ke,right:ke,bottom:ke,left:ke,padding:ke,paddingTop:ke,paddingRight:ke,paddingBottom:ke,paddingLeft:ke,margin:ke,marginTop:ke,marginRight:ke,marginBottom:ke,marginLeft:ke,backgroundPositionX:ke,backgroundPositionY:ke};var iV={rotate:ki,rotateX:ki,rotateY:ki,rotateZ:ki,scale:r1,scaleX:r1,scaleY:r1,scaleZ:r1,skew:ki,skewX:ki,skewY:ki,distance:ke,translateX:ke,translateY:ke,translateZ:ke,x:ke,y:ke,z:ke,perspective:ke,transformPerspective:ke,opacity:Ll,originX:cA,originY:cA,originZ:ke};var uA={...Ai,transform:Math.round};var pp={...sV,...iV,zIndex:uA,size:ke,fillOpacity:Ll,strokeOpacity:Ll,numOctaves:uA};var Sle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xle=Ti.length;function lV(e,t,o){let r="",n=!0;for(let a=0;a<xle;a++){let s=Ti[a],i=e[s];if(i===void 0)continue;let l=!0;if(typeof i=="number"?l=i===(s.startsWith("scale")?1:0):l=parseFloat(i)===0,!l||o){let c=dx(i,pp[s]);if(!l){n=!1;let u=Sle[s]||s;r+=`${u}(${c}) `}o&&(t[s]=c)}}return r=r.trim(),o?r=o(t,n?"":r):n&&(r="none"),r}function hp(e,t,o){let{style:r,vars:n,transformOrigin:a}=e,s=!1,i=!1;for(let l in t){let c=t[l];if(la.has(l)){s=!0;continue}else if(fx(l)){n[l]=c;continue}else{let u=dx(c,pp[l]);l.startsWith("origin")?(i=!0,a[l]=u):r[l]=u}}if(t.transform||(s||o?r.transform=lV(t,e.transform,o):r.transform&&(r.transform="none")),i){let{originX:l="50%",originY:c="50%",originZ:u=0}=a;r.transformOrigin=`${l} ${c} ${u}`}}var Ile={offset:"stroke-dashoffset",array:"stroke-dasharray"},vle={offset:"strokeDashoffset",array:"strokeDasharray"};function cV(e,t,o=1,r=0,n=!0){e.pathLength=1;let a=n?Ile:vle;e[a.offset]=ke.transform(-r);let s=ke.transform(t),i=ke.transform(o);e[a.array]=`${s} ${i}`}function uV(e,t,o){return typeof e=="string"?e:ke.transform(t+o*e)}function mV(e,t,o){let r=uV(t,e.x,e.width),n=uV(o,e.y,e.height);return`${r} ${n}`}function gp(e,{attrX:t,attrY:o,attrScale:r,originX:n,originY:a,pathLength:s,pathSpacing:i=1,pathOffset:l=0,...c},u,m){if(hp(e,c,m),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:d,dimensions:p}=e;f.transform&&(p&&(d.transform=f.transform),delete f.transform),p&&(n!==void 0||a!==void 0||d.transform)&&(d.transformOrigin=mV(p,n!==void 0?n:.5,a!==void 0?a:.5)),t!==void 0&&(f.x=t),o!==void 0&&(f.y=o),r!==void 0&&(f.scale=r),s!==void 0&&cV(f,s,i,l,!1)}var bp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});var px=()=>({...bp(),attrs:{}});var yp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function hx(e,{style:t,vars:o},r,n){Object.assign(e.style,t,n&&n.getProjectionStyles(r));for(let a in o)e.style.setProperty(a,o[a])}var gx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function bx(e,t,o,r){hx(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(gx.has(n)?n:ip(n),t.attrs[n])}var Sp={};function fV(e){Object.assign(Sp,e)}function yx(e,{layout:t,layoutId:o}){return la.has(e)||e.startsWith("origin")||(t||o!==void 0)&&(!!Sp[e]||e==="opacity")}function xp(e,t,o){var r;let{style:n}=e,a={};for(let s in n)(Qt(n[s])||t.style&&Qt(t.style[s])||yx(s,e)||((r=o?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[s]=n[s]);return a}function Sx(e,t,o){let r=xp(e,t,o);for(let n in e)if(Qt(e[n])||Qt(t[n])){let a=Ti.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[a]=e[n]}return r}function Cle(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}var dV=["x","y","width","height","cx","cy","r"],pV={useVisualState:mx({scrapeMotionValuesFromProps:Sx,createRenderState:px,onUpdate:({props:e,prevProps:t,current:o,renderState:r,latestValues:n})=>{if(!o)return;let a=!!e.drag;if(!a){for(let i in n)if(la.has(i)){a=!0;break}}if(!a)return;let s=!t;if(t)for(let i=0;i<dV.length;i++){let l=dV[i];e[l]!==t[l]&&(s=!0)}s&&et.read(()=>{Cle(o,r),et.render(()=>{gp(r,n,yp(o.tagName),e.transformTemplate),bx(o,r)})})}})};var hV={useVisualState:mx({scrapeMotionValuesFromProps:xp,createRenderState:bp})};var Ip=M(F(),1);var gV=M(F(),1);function mA(e,t,o){for(let r in t)!Qt(t[r])&&!yx(r,o)&&(e[r]=t[r])}function wle({transformTemplate:e},t){return(0,gV.useMemo)(()=>{let o=bp();return hp(o,t,e),Object.assign({},o.vars,o.style)},[t])}function Tle(e,t){let o=e.style||{},r={};return mA(r,o,e),Object.assign(r,wle(e,t)),r}function bV(e,t){let o={},r=Tle(e,t);return e.drag&&e.dragListener!==!1&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}var yV=M(F(),1);function SV(e,t,o,r){let n=(0,yV.useMemo)(()=>{let a=px();return gp(a,t,yp(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){let a={};mA(a,e.style,e),n.style={...a,...n.style}}return n}function xV(e=!1){return(o,r,n,{latestValues:a},s)=>{let l=(up(o)?SV:bV)(r,a,s,o),c=NO(r,typeof o=="string",e),u=o!==Ip.Fragment?{...c,...l,ref:n}:{},{children:m}=r,f=(0,Ip.useMemo)(()=>Qt(m)?m.get():m,[m]);return(0,Ip.createElement)(o,{...u,children:f})}}function IV(e,t){return function(r,{forwardMotionProps:n}={forwardMotionProps:!1}){let s={...up(r)?pV:hV,preloadedFeatures:e,useRender:xV(n),createVisualElement:t,Component:r};return QO(s)}}function fA(e,t){if(!Array.isArray(t))return!1;let o=t.length;if(o!==e.length)return!1;for(let r=0;r<o;r++)if(t[r]!==e[r])return!1;return!0}function Gc(e,t,o){let r=e.getProps();return mp(r,t,o!==void 0?o:r.custom,e)}var dA=Im(()=>window.ScrollTimeline!==void 0);var a1=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,o){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=o}attachTimeline(t,o){let r=this.animations.map(n=>{if(dA()&&n.attachTimeline)return n.attachTimeline(t);if(typeof o=="function")return o(n)});return()=>{r.forEach((n,a)=>{n&&n(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let o=0;o<this.animations.length;o++)t=Math.max(t,this.animations[o].duration);return t}runAll(t){this.animations.forEach(o=>o[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var s1=class extends a1{then(t,o){return Promise.all(this.animations).then(t).catch(o)}};function $c(e,t){return e?e[t]||e.default||e:void 0}function vp(e){let t=0,o=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=o,r=e.next(t);return t>=2e4?1/0:t}function qc(e){return typeof e=="function"}function i1(e,t){e.timeline=t,e.onfinish=null}var Cp=e=>Array.isArray(e)&&typeof e[0]=="number";var hA={linearEasing:void 0};function vV(e,t){let o=Im(e);return()=>{var r;return(r=hA[t])!==null&&r!==void 0?r:o()}}var Xc=vV(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var l1=(e,t,o=10)=>{let r="",n=Math.max(Math.round(t/o),2);for(let a=0;a<n;a++)r+=e(Va(0,n-1,a))+", ";return`linear(${r.substring(0,r.length-2)})`};function Ix(e){return!!(typeof e=="function"&&Xc()||!e||typeof e=="string"&&(e in xx||Xc())||Cp(e)||Array.isArray(e)&&e.every(Ix))}var wp=([e,t,o,r])=>`cubic-bezier(${e}, ${t}, ${o}, ${r})`,xx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:wp([0,.65,.55,1]),circOut:wp([.55,0,1,.45]),backIn:wp([.31,.01,.66,-.59]),backOut:wp([.33,1.53,.69,.99])};function Tp(e,t){if(e)return typeof e=="function"&&Xc()?l1(e,t):Cp(e)?wp(e):Array.isArray(e)?e.map(o=>Tp(o,t)||xx.easeOut):xx[e]}var za={x:!1,y:!1};function Ap(){return za.x||za.y}function gA(e,t,o){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let n=document;t&&(n=t.current);let a=(r=o?.[e])!==null&&r!==void 0?r:n.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function vx(e,t){let o=gA(e),r=new AbortController,n={passive:!0,...t,signal:r.signal};return[o,n,()=>r.abort()]}function CV(e){return t=>{t.pointerType==="touch"||Ap()||e(t)}}function bA(e,t,o={}){let[r,n,a]=vx(e,o),s=CV(i=>{let{target:l}=i,c=t(i);if(typeof c!="function"||!l)return;let u=CV(m=>{c(m),l.removeEventListener("pointerleave",u)});l.addEventListener("pointerleave",u,n)});return r.forEach(i=>{i.addEventListener("pointerenter",s,n)}),a}var Cx=(e,t)=>t?e===t?!0:Cx(e,t.parentElement):!1;var Cm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var Ale=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wV(e){return Ale.has(e.tagName)||e.tabIndex!==-1}var wm=new WeakSet;function TV(e){return t=>{t.key==="Enter"&&e(t)}}function yA(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var AV=(e,t)=>{let o=e.currentTarget;if(!o)return;let r=TV(()=>{if(wm.has(o))return;yA(o,"down");let n=TV(()=>{yA(o,"up")}),a=()=>yA(o,"cancel");o.addEventListener("keyup",n,t),o.addEventListener("blur",a,t)});o.addEventListener("keydown",r,t),o.addEventListener("blur",()=>o.removeEventListener("keydown",r),t)};function kV(e){return Cm(e)&&!Ap()}function SA(e,t,o={}){let[r,n,a]=vx(e,o),s=i=>{let l=i.currentTarget;if(!kV(i)||wm.has(l))return;wm.add(l);let c=t(i),u=(d,p)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",f),!(!kV(d)||!wm.has(l))&&(wm.delete(l),typeof c=="function"&&c(d,{success:p}))},m=d=>{u(d,o.useGlobalTarget||Cx(l,d.target))},f=d=>{u(d,!1)};window.addEventListener("pointerup",m,n),window.addEventListener("pointercancel",f,n)};return r.forEach(i=>{!wV(i)&&i.getAttribute("tabindex")===null&&(i.tabIndex=0),(o.useGlobalTarget?window:i).addEventListener("pointerdown",s,n),i.addEventListener("focus",c=>AV(c,n),n)}),a}function xA(e){return e==="x"||e==="y"?za[e]?null:(za[e]=!0,()=>{za[e]=!1}):za.x||za.y?null:(za.x=za.y=!0,()=>{za.x=za.y=!1})}var wx=new Set(["width","height","top","left","right","bottom",...Ti]);var Tx;function Mle(){Tx=void 0}var Mn={now:()=>(Tx===void 0&&Mn.set(Do.isProcessing||sp.useManualTiming?Do.timestamp:performance.now()),Tx),set:e=>{Tx=e,queueMicrotask(Mle)}};function kp(e,t){e.indexOf(t)===-1&&e.push(t)}function Mp(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var Yc=class{constructor(){this.subscriptions=[]}add(t){return kp(this.subscriptions,t),()=>Mp(this.subscriptions,t)}notify(t,o,r){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,o,r);else for(let a=0;a<n;a++){let s=this.subscriptions[a];s&&s(t,o,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function Ax(e,t){return t?e*(1e3/t):0}var LV=30,Lle=e=>!isNaN(parseFloat(e)),PV={current:void 0},IA=class{constructor(t,o={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,n=!0)=>{let a=Mn.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=o.owner}setCurrent(t){this.current=t,this.updatedAt=Mn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Lle(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,o){this.events[t]||(this.events[t]=new Yc);let r=this.events[t].add(o);return t==="change"?()=>{r(),et.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,o){this.passiveEffect=t,this.stopPassiveEffect=o}set(t,o=!0){!o||!this.passiveEffect?this.updateAndNotify(t,o):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,o,r){this.set(o),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,o=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return PV.current&&PV.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>LV)return 0;let o=Math.min(this.updatedAt-this.prevUpdatedAt,LV);return Ax(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(t){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=t(o),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Pl(e,t){return new IA(e,t)}function Ple(e,t,o){e.hasValue(t)?e.getValue(t).set(o):e.addValue(t,Pl(o))}function EV(e,t){let o=Gc(e,t),{transitionEnd:r={},transition:n={},...a}=o||{};a={...a,...r};for(let s in a){let i=oV(a[s]);Ple(e,s,i)}}function BV(e){return!!(Qt(e)&&e.add)}function c1(e,t){let o=e.getValue("willChange");if(BV(o))return o.add(t)}function kx(e){return e.props[lx]}var Mx={current:!1};var DV=(e,t,o)=>(((1-3*o+3*t)*e+(3*o-6*t))*e+3*t)*e,Ele=1e-7,Ble=12;function Dle(e,t,o,r,n){let a,s,i=0;do s=t+(o-t)/2,a=DV(s,r,n)-e,a>0?o=s:t=s;while(Math.abs(a)>Ele&&++i<Ble);return s}function Kc(e,t,o,r){if(e===t&&o===r)return zt;let n=a=>Dle(a,0,1,e,o);return a=>a===0||a===1?a:DV(n(a),t,r)}var Lx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Px=e=>t=>1-e(1-t);var vA=Kc(.33,1.53,.69,.99),u1=Px(vA),Ex=Lx(u1);var Bx=e=>(e*=2)<1?.5*u1(e):.5*(2-Math.pow(2,-10*(e-1)));var Dx=e=>1-Math.sin(Math.acos(e)),Rx=Px(Dx),_x=Lx(Dx);var Fx=e=>/^0[^.\s]+$/u.test(e);function RV(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Fx(e):!0}var Qc=e=>Math.round(e*1e5)/1e5;var Lp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _V(e){return e==null}var FV=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Pp=(e,t)=>o=>!!(typeof o=="string"&&FV.test(o)&&o.startsWith(e)||t&&!_V(o)&&Object.prototype.hasOwnProperty.call(o,t)),Hx=(e,t,o)=>r=>{if(typeof r!="string")return r;let[n,a,s,i]=r.match(Lp);return{[e]:parseFloat(n),[t]:parseFloat(a),[o]:parseFloat(s),alpha:i!==void 0?parseFloat(i):1}};var Rle=e=>xn(0,255,e),CA={...Ai,transform:e=>Math.round(Rle(e))},Mi={test:Pp("rgb","red"),parse:Hx("red","green","blue"),transform:({red:e,green:t,blue:o,alpha:r=1})=>"rgba("+CA.transform(e)+", "+CA.transform(t)+", "+CA.transform(o)+", "+Qc(Ll.transform(r))+")"};function _le(e){let t="",o="",r="",n="";return e.length>5?(t=e.substring(1,3),o=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),o=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,o+=o,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var m1={test:Pp("#"),parse:_le,transform:Mi.transform};var Jc={test:Pp("hsl","hue"),parse:Hx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:o,alpha:r=1})=>"hsla("+Math.round(e)+", "+Wn.transform(Qc(t))+", "+Wn.transform(Qc(o))+", "+Qc(Ll.transform(r))+")"};var Rr={test:e=>Mi.test(e)||m1.test(e)||Jc.test(e),parse:e=>Mi.test(e)?Mi.parse(e):Jc.test(e)?Jc.parse(e):m1.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Mi.transform(e):Jc.transform(e)};var HV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Fle(e){var t,o;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Lp))===null||t===void 0?void 0:t.length)||0)+(((o=e.match(HV))===null||o===void 0?void 0:o.length)||0)>0}var VV="number",NV="color",Hle="var",Ole="var(",OV="${}",Vle=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Tm(e){let t=e.toString(),o=[],r={color:[],number:[],var:[]},n=[],a=0,i=t.replace(Vle,l=>(Rr.test(l)?(r.color.push(a),n.push(NV),o.push(Rr.parse(l))):l.startsWith(Ole)?(r.var.push(a),n.push(Hle),o.push(l)):(r.number.push(a),n.push(VV),o.push(parseFloat(l))),++a,OV)).split(OV);return{values:o,split:i,indexes:r,types:n}}function zV(e){return Tm(e).values}function WV(e){let{split:t,types:o}=Tm(e),r=t.length;return n=>{let a="";for(let s=0;s<r;s++)if(a+=t[s],n[s]!==void 0){let i=o[s];i===VV?a+=Qc(n[s]):i===NV?a+=Rr.transform(n[s]):a+=n[s]}return a}}var Nle=e=>typeof e=="number"?0:e;function zle(e){let t=zV(e);return WV(e)(t.map(Nle))}var Un={test:Fle,parse:zV,createTransformer:WV,getAnimatableNone:zle};var Wle=new Set(["brightness","contrast","saturate","opacity"]);function Ule(e){let[t,o]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=o.match(Lp)||[];if(!r)return e;let n=o.replace(r,""),a=Wle.has(t)?1:0;return r!==o&&(a*=100),t+"("+a+n+")"}var Zle=/\b([a-z-]*)\(.*?\)/gu,f1={...Un,getAnimatableNone:e=>{let t=e.match(Zle);return t?t.map(Ule).join(" "):e}};var jle={...pp,color:Rr,backgroundColor:Rr,outlineColor:Rr,fill:Rr,stroke:Rr,borderColor:Rr,borderTopColor:Rr,borderRightColor:Rr,borderBottomColor:Rr,borderLeftColor:Rr,filter:f1,WebkitFilter:f1},Ep=e=>jle[e];function Ox(e,t){let o=Ep(e);return o!==f1&&(o=Un),o.getAnimatableNone?o.getAnimatableNone(t):void 0}var Gle=new Set(["auto","none","0"]);function UV(e,t,o){let r=0,n;for(;r<e.length&&!n;){let a=e[r];typeof a=="string"&&!Gle.has(a)&&Tm(a).values.length&&(n=e[r]),r++}if(n&&o)for(let a of t)e[a]=Ox(o,n)}var wA=e=>e===Ai||e===ke,ZV=(e,t)=>parseFloat(e.split(", ")[t]),jV=(e,t)=>(o,{transform:r})=>{if(r==="none"||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/u);if(n)return ZV(n[1],t);{let a=r.match(/^matrix\((.+)\)$/u);return a?ZV(a[1],e):0}},$le=new Set(["x","y","z"]),qle=Ti.filter(e=>!$le.has(e));function GV(e){let t=[];return qle.forEach(o=>{let r=e.getValue(o);r!==void 0&&(t.push([o,r.get()]),r.set(o.startsWith("scale")?1:0))}),t}var Am={width:({x:e},{paddingLeft:t="0",paddingRight:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),height:({y:e},{paddingTop:t="0",paddingBottom:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:jV(4,13),y:jV(5,14)};Am.translateX=Am.x;Am.translateY=Am.y;var km=new Set,TA=!1,AA=!1;function $V(){if(AA){let e=Array.from(km).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),o=new Map;t.forEach(r=>{let n=GV(r);n.length&&(o.set(r,n),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let n=o.get(r);n&&n.forEach(([a,s])=>{var i;(i=r.getValue(a))===null||i===void 0||i.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}AA=!1,TA=!1,km.forEach(e=>e.complete()),km.clear()}function qV(){km.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(AA=!0)})}function XV(){qV(),$V()}var eu=class{constructor(t,o,r,n,a,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=o,this.name=r,this.motionValue=n,this.element=a,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(km.add(this),TA||(TA=!0,et.read(qV),et.resolveKeyframes($V))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:o,element:r,motionValue:n}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){let s=n?.get(),i=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&o){let l=r.readValue(o,i);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=i),n&&s===void 0&&n.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),km.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,km.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var Vx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var Xle=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Yle(e){let t=Xle.exec(e);if(!t)return[,];let[,o,r,n]=t;return[`--${o??r}`,n]}var Kle=4;function kA(e,t,o=1){Zs(o<=Kle,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,n]=Yle(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let s=a.trim();return Vx(s)?parseFloat(s):s}return dp(n)?kA(n,t,o+1):n}var Nx=e=>t=>t.test(e);var YV={test:e=>e==="auto",parse:e=>e};var MA=[Ai,ke,Wn,ki,aV,nV,YV],LA=e=>MA.find(Nx(e));var Bp=class extends eu{constructor(t,o,r,n,a){super(t,o,r,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:o,name:r}=this;if(!o||!o.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),dp(c))){let u=kA(c,o.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!wx.has(r)||t.length!==2)return;let[n,a]=t,s=LA(n),i=LA(a);if(s!==i)if(wA(s)&&wA(i))for(let l=0;l<t.length;l++){let c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:o}=this,r=[];for(let n=0;n<t.length;n++)RV(t[n])&&r.push(n);r.length&&UV(t,r,o)}measureInitialState(){let{element:t,unresolvedKeyframes:o,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Am[r](t.measureViewportBox(),window.getComputedStyle(t.current)),o[0]=this.measuredOrigin;let n=o[o.length-1];n!==void 0&&t.getValue(r,n).jump(n,!1)}measureEndState(){var t;let{element:o,name:r,unresolvedKeyframes:n}=this;if(!o||!o.current)return;let a=o.getValue(r);a&&a.jump(this.measuredOrigin,!1);let s=n.length-1,i=n[s];n[s]=Am[r](o.measureViewportBox(),window.getComputedStyle(o.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{o.getValue(l).set(c)}),this.resolveNoneKeyframes()}};var PA=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Un.test(e)||e==="0")&&!e.startsWith("url("));function Qle(e){let t=e[0];if(e.length===1)return!0;for(let o=0;o<e.length;o++)if(e[o]!==t)return!0}function KV(e,t,o,r){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],s=PA(n,t),i=PA(a,t);return Tl(s===i,`You are trying to animate ${t} from "${n}" to "${a}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${a} via the \`style\` property.`),!s||!i?!1:Qle(e)||(o==="spring"||qc(o))&&r}var Jle=e=>e!==null;function tu(e,{repeat:t,repeatType:o="loop"},r){let n=e.filter(Jle),a=t&&o!=="loop"&&t%2===1?0:n.length-1;return!a||r===void 0?n[a]:r}var ece=40,Dp=class{constructor({autoplay:t=!0,delay:o=0,type:r="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:s="loop",...i}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Mn.now(),this.options={autoplay:t,delay:o,type:r,repeat:n,repeatDelay:a,repeatType:s,...i},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>ece?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&XV(),this._resolved}onKeyframesResolved(t,o){this.resolvedAt=Mn.now(),this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:a,delay:s,onComplete:i,onUpdate:l,isGenerator:c}=this.options;if(!c&&!KV(t,r,n,a))if(Mx.current||!s){l&&l(tu(t,this.options,o)),i&&i(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(t,o);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:o,...u},this.onPostResolved())}onPostResolved(){}then(t,o){return this.currentFinishedPromise.then(t,o)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};var St=(e,t,o)=>e+(t-e)*o;function EA(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function QV({hue:e,saturation:t,lightness:o,alpha:r}){e/=360,t/=100,o/=100;let n=0,a=0,s=0;if(!t)n=a=s=o;else{let i=o<.5?o*(1+t):o+t-o*t,l=2*o-i;n=EA(l,i,e+1/3),a=EA(l,i,e),s=EA(l,i,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:r}}function Rp(e,t){return o=>o>0?t:e}var BA=(e,t,o)=>{let r=e*e,n=o*(t*t-r)+r;return n<0?0:Math.sqrt(n)},tce=[m1,Mi,Jc],oce=e=>tce.find(t=>t.test(e));function JV(e){let t=oce(e);if(Tl(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let o=t.parse(e);return t===Jc&&(o=QV(o)),o}var DA=(e,t)=>{let o=JV(e),r=JV(t);if(!o||!r)return Rp(e,t);let n={...o};return a=>(n.red=BA(o.red,r.red,a),n.green=BA(o.green,r.green,a),n.blue=BA(o.blue,r.blue,a),n.alpha=St(o.alpha,r.alpha,a),Mi.transform(n))};var rce=(e,t)=>o=>t(e(o)),Li=(...e)=>e.reduce(rce);var zx=new Set(["none","hidden"]);function eN(e,t){return zx.has(e)?o=>o<=0?e:t:o=>o>=1?t:e}function nce(e,t){return o=>St(e,t,o)}function Wx(e){return typeof e=="number"?nce:typeof e=="string"?dp(e)?Rp:Rr.test(e)?DA:ice:Array.isArray(e)?tN:typeof e=="object"?Rr.test(e)?DA:ace:Rp}function tN(e,t){let o=[...e],r=o.length,n=e.map((a,s)=>Wx(a)(a,t[s]));return a=>{for(let s=0;s<r;s++)o[s]=n[s](a);return o}}function ace(e,t){let o={...e,...t},r={};for(let n in o)e[n]!==void 0&&t[n]!==void 0&&(r[n]=Wx(e[n])(e[n],t[n]));return n=>{for(let a in r)o[a]=r[a](n);return o}}function sce(e,t){var o;let r=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let s=t.types[a],i=e.indexes[s][n[s]],l=(o=e.values[i])!==null&&o!==void 0?o:0;r[a]=l,n[s]++}return r}var ice=(e,t)=>{let o=Un.createTransformer(t),r=Tm(e),n=Tm(t);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?zx.has(e)&&!n.values.length||zx.has(t)&&!r.values.length?eN(e,t):Li(tN(sce(r,n),n.values),o):(Tl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Rp(e,t))};function Ux(e,t,o){return typeof e=="number"&&typeof t=="number"&&typeof o=="number"?St(e,t,o):Wx(e)(e,t)}var lce=5;function Zx(e,t,o){let r=Math.max(t-lce,0);return Ax(o-e(r),t-r)}var ao={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var RA=.001;function oN({duration:e=ao.duration,bounce:t=ao.bounce,velocity:o=ao.velocity,mass:r=ao.mass}){let n,a;Tl(e<=Bo(ao.maxDuration),"Spring duration must be 10 seconds or less");let s=1-t;s=xn(ao.minDamping,ao.maxDamping,s),e=xn(ao.minDuration,ao.maxDuration,Sn(e)),s<1?(n=c=>{let u=c*s,m=u*e,f=u-o,d=jx(c,s),p=Math.exp(-m);return RA-f/d*p},a=c=>{let m=c*s*e,f=m*o+o,d=Math.pow(s,2)*Math.pow(c,2)*e,p=Math.exp(-m),h=jx(Math.pow(c,2),s);return(-n(c)+RA>0?-1:1)*((f-d)*p)/h}):(n=c=>{let u=Math.exp(-c*e),m=(c-o)*e+1;return-RA+u*m},a=c=>{let u=Math.exp(-c*e),m=(o-c)*(e*e);return u*m});let i=5/e,l=uce(n,a,i);if(e=Bo(e),isNaN(l))return{stiffness:ao.stiffness,damping:ao.damping,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}var cce=12;function uce(e,t,o){let r=o;for(let n=1;n<cce;n++)r=r-e(r)/t(r);return r}function jx(e,t){return e*Math.sqrt(1-t*t)}var mce=["duration","bounce"],fce=["stiffness","damping","mass"];function rN(e,t){return t.some(o=>e[o]!==void 0)}function dce(e){let t={velocity:ao.velocity,stiffness:ao.stiffness,damping:ao.damping,mass:ao.mass,isResolvedFromDuration:!1,...e};if(!rN(e,fce)&&rN(e,mce))if(e.visualDuration){let o=e.visualDuration,r=2*Math.PI/(o*1.2),n=r*r,a=2*xn(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:ao.mass,stiffness:n,damping:a}}else{let o=oN(e);t={...t,...o,mass:ao.mass},t.isResolvedFromDuration=!0}return t}function Gx(e=ao.visualDuration,t=ao.bounce){let o=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:n}=o,a=o.keyframes[0],s=o.keyframes[o.keyframes.length-1],i={done:!1,value:a},{stiffness:l,damping:c,mass:u,duration:m,velocity:f,isResolvedFromDuration:d}=dce({...o,velocity:-Sn(o.velocity||0)}),p=f||0,h=c/(2*Math.sqrt(l*u)),S=s-a,g=Sn(Math.sqrt(l/u)),b=Math.abs(S)<5;r||(r=b?ao.restSpeed.granular:ao.restSpeed.default),n||(n=b?ao.restDelta.granular:ao.restDelta.default);let I;if(h<1){let C=jx(g,h);I=T=>{let w=Math.exp(-h*g*T);return s-w*((p+h*g*S)/C*Math.sin(C*T)+S*Math.cos(C*T))}}else if(h===1)I=C=>s-Math.exp(-g*C)*(S+(p+g*S)*C);else{let C=g*Math.sqrt(h*h-1);I=T=>{let w=Math.exp(-h*g*T),P=Math.min(C*T,300);return s-w*((p+h*g*S)*Math.sinh(P)+C*S*Math.cosh(P))/C}}let v={calculatedDuration:d&&m||null,next:C=>{let T=I(C);if(d)i.done=C>=m;else{let w=0;h<1&&(w=C===0?Bo(p):Zx(I,C,T));let P=Math.abs(w)<=r,k=Math.abs(s-T)<=n;i.done=P&&k}return i.value=i.done?s:T,i},toString:()=>{let C=Math.min(vp(v),2e4),T=l1(w=>v.next(C*w).value,C,30);return C+"ms "+T}};return v}function _A({keyframes:e,velocity:t=0,power:o=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:s,min:i,max:l,restDelta:c=.5,restSpeed:u}){let m=e[0],f={done:!1,value:m},d=P=>i!==void 0&&P<i||l!==void 0&&P>l,p=P=>i===void 0?l:l===void 0||Math.abs(i-P)<Math.abs(l-P)?i:l,h=o*t,S=m+h,g=s===void 0?S:s(S);g!==S&&(h=g-m);let b=P=>-h*Math.exp(-P/r),I=P=>g+b(P),v=P=>{let k=b(P),D=I(P);f.done=Math.abs(k)<=c,f.value=f.done?g:D},C,T,w=P=>{d(f.value)&&(C=P,T=Gx({keyframes:[f.value,p(f.value)],velocity:Zx(I,P,f.value),damping:n,stiffness:a,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:P=>{let k=!1;return!T&&C===void 0&&(k=!0,v(P),w(P)),C!==void 0&&P>=C?T.next(P-C):(!k&&v(P),f)}}}var nN=Kc(.42,0,1,1),aN=Kc(0,0,.58,1),$x=Kc(.42,0,.58,1);var sN=e=>Array.isArray(e)&&typeof e[0]!="number";var iN={linear:zt,easeIn:nN,easeInOut:$x,easeOut:aN,circIn:Dx,circInOut:_x,circOut:Rx,backIn:u1,backInOut:Ex,backOut:vA,anticipate:Bx},FA=e=>{if(Cp(e)){Zs(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,o,r,n]=e;return Kc(t,o,r,n)}else if(typeof e=="string")return Zs(iN[e]!==void 0,`Invalid easing type '${e}'`),iN[e];return e};function pce(e,t,o){let r=[],n=o||Ux,a=e.length-1;for(let s=0;s<a;s++){let i=n(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||zt:t;i=Li(l,i)}r.push(i)}return r}function lN(e,t,{clamp:o=!0,ease:r,mixer:n}={}){let a=e.length;if(Zs(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let i=pce(t,r,n),l=i.length,c=u=>{if(s&&u<e[0])return t[0];let m=0;if(l>1)for(;m<e.length-2&&!(u<e[m+1]);m++);let f=Va(e[m],e[m+1],u);return i[m](f)};return o?u=>c(xn(e[0],e[a-1],u)):c}function cN(e,t){let o=e[e.length-1];for(let r=1;r<=t;r++){let n=Va(0,t,r);e.push(St(o,1,n))}}function uN(e){let t=[0];return cN(t,e.length-1),t}function mN(e,t){return e.map(o=>o*t)}function hce(e,t){return e.map(()=>t||$x).splice(0,e.length-1)}function d1({duration:e=300,keyframes:t,times:o,ease:r="easeInOut"}){let n=sN(r)?r.map(FA):FA(r),a={done:!1,value:t[0]},s=mN(o&&o.length===t.length?o:uN(t),e),i=lN(s,t,{ease:Array.isArray(n)?n:hce(t,n)});return{calculatedDuration:e,next:l=>(a.value=i(l),a.done=l>=e,a)}}var fN=e=>{let t=({timestamp:o})=>e(o);return{start:()=>et.update(t,!0),stop:()=>Na(t),now:()=>Do.isProcessing?Do.timestamp:Mn.now()}};var gce={decay:_A,inertia:_A,tween:d1,keyframes:d1,spring:Gx},bce=e=>e/100,Mm=class extends Dp{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:l}=this.options;l&&l()};let{name:o,motionValue:r,element:n,keyframes:a}=this.options,s=n?.KeyframeResolver||eu,i=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new s(a,i,o,r,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let{type:o="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:a,velocity:s=0}=this.options,i=qc(o)?o:gce[o]||d1,l,c;i!==d1&&typeof t[0]!="number"&&(l=Li(bce,Ux(t[0],t[1])),t=[0,100]);let u=i({...this.options,keyframes:t});a==="mirror"&&(c=i({...this.options,keyframes:[...t].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=vp(u));let{calculatedDuration:m}=u,f=m+n,d=f*(r+1)-n;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:m,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,o=!1){let{resolved:r}=this;if(!r){let{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}let{finalKeyframe:n,generator:a,mirroredGenerator:s,mapPercentToKeyframes:i,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:m}=r;if(this.startTime===null)return a.next(0);let{delay:f,repeat:d,repeatType:p,repeatDelay:h,onUpdate:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),o?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-f*(this.speed>=0?1:-1),b=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let I=this.currentTime,v=a;if(d){let P=Math.min(this.currentTime,u)/m,k=Math.floor(P),D=P%1;!D&&P>=1&&(D=1),D===1&&k--,k=Math.min(k,d+1),!!(k%2)&&(p==="reverse"?(D=1-D,h&&(D-=h/m)):p==="mirror"&&(v=s)),I=xn(0,1,D)*m}let C=b?{done:!1,value:l[0]}:v.next(I);i&&(C.value=i(C.value));let{done:T}=C;!b&&c!==null&&(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let w=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return w&&n!==void 0&&(C.value=tu(l,this.options,n)),S&&S(C.value),w&&this.finish(),C}get duration(){let{resolved:t}=this;return t?Sn(t.calculatedDuration):0}get time(){return Sn(this.currentTime)}set time(t){t=Bo(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let o=this.playbackSpeed!==t;this.playbackSpeed=t,o&&(this.time=Sn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=fN,onPlay:o,startTime:r}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),o&&o();let n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=n):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};var dN=new Set(["opacity","clipPath","filter","transform"]);function pN(e,t,o,{delay:r=0,duration:n=300,repeat:a=0,repeatType:s="loop",ease:i="easeInOut",times:l}={}){let c={[t]:o};l&&(c.offset=l);let u=Tp(i,n);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}var hN=Im(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var qx=10,yce=2e4;function Sce(e){return qc(e.type)||e.type==="spring"||!Ix(e.ease)}function xce(e,t){let o=new Mm({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},n=[],a=0;for(;!r.done&&a<yce;)r=o.sample(a),n.push(r.value),a+=qx;return{times:void 0,keyframes:n,duration:a-qx,ease:"linear"}}var gN={anticipate:Bx,backInOut:Ex,circInOut:_x};function Ice(e){return e in gN}var p1=class extends Dp{constructor(t){super(t);let{name:o,motionValue:r,element:n,keyframes:a}=this.options;this.resolver=new Bp(a,(s,i)=>this.onKeyframesResolved(s,i),o,r,n),this.resolver.scheduleResolve()}initPlayback(t,o){let{duration:r=300,times:n,ease:a,type:s,motionValue:i,name:l,startTime:c}=this.options;if(!i.owner||!i.owner.current)return!1;if(typeof a=="string"&&Xc()&&Ice(a)&&(a=gN[a]),Sce(this.options)){let{onComplete:m,onUpdate:f,motionValue:d,element:p,...h}=this.options,S=xce(t,h);t=S.keyframes,t.length===1&&(t[1]=t[0]),r=S.duration,n=S.times,a=S.ease,s="keyframes"}let u=pN(i.owner.current,l,t,{...this.options,duration:r,times:n,ease:a});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(i1(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:m}=this.options;i.set(tu(t,this.options,o)),m&&m(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:n,type:s,ease:a,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:o}=t;return Sn(o)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:o}=t;return Sn(o.currentTime||0)}set time(t){let{resolved:o}=this;if(!o)return;let{animation:r}=o;r.currentTime=Bo(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:o}=t;return o.playbackRate}set speed(t){let{resolved:o}=this;if(!o)return;let{animation:r}=o;r.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:o}=t;return o.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:o}=t;return o.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:o}=this;if(!o)return zt;let{animation:r}=o;i1(r,t)}return zt}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:o}=t;o.playState==="finished"&&this.updateFinishedPromise(),o.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:o}=t;o.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:o,keyframes:r,duration:n,type:a,ease:s,times:i}=t;if(o.playState==="idle"||o.playState==="finished")return;if(this.time){let{motionValue:c,onUpdate:u,onComplete:m,element:f,...d}=this.options,p=new Mm({...d,keyframes:r,duration:n,type:a,ease:s,times:i,isGenerator:!0}),h=Bo(this.time);c.setWithVelocity(p.sample(h-qx).value,p.sample(h).value,qx)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:o,name:r,repeatDelay:n,repeatType:a,damping:s,type:i}=t;if(!o||!o.owner||!(o.owner.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:c}=o.owner.getProps();return hN()&&r&&dN.has(r)&&!l&&!c&&!n&&a!=="mirror"&&s!==0&&i!=="inertia"}};var vce={type:"spring",stiffness:500,damping:25,restSpeed:10},Cce=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),wce={type:"keyframes",duration:.8},Tce={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},bN=(e,{keyframes:t})=>t.length>2?wce:la.has(e)?e.startsWith("scale")?Cce(t[1]):vce:Tce;function yN({when:e,delay:t,delayChildren:o,staggerChildren:r,staggerDirection:n,repeat:a,repeatType:s,repeatDelay:i,from:l,elapsed:c,...u}){return!!Object.keys(u).length}var _p=(e,t,o,r={},n,a)=>s=>{let i=$c(r,e)||{},l=i.delay||r.delay||0,{elapsed:c=0}=r;c=c-Bo(l);let u={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:t.getVelocity(),...i,delay:-c,onUpdate:f=>{t.set(f),i.onUpdate&&i.onUpdate(f)},onComplete:()=>{s(),i.onComplete&&i.onComplete()},name:e,motionValue:t,element:a?void 0:n};yN(i)||(u={...u,...bN(e,u)}),u.duration&&(u.duration=Bo(u.duration)),u.repeatDelay&&(u.repeatDelay=Bo(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let m=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(m=!0)),(Mx.current||sp.skipAnimations)&&(m=!0,u.duration=0,u.delay=0),m&&!a&&t.get()!==void 0){let f=tu(u.keyframes,i);if(f!==void 0)return et.update(()=>{u.onUpdate(f),u.onComplete()}),new s1([])}return!a&&p1.supports(u)?new p1(u):new Mm(u)};function Ace({protectedKeys:e,needsAnimating:t},o){let r=e.hasOwnProperty(o)&&t[o]!==!0;return t[o]=!1,r}function Xx(e,t,{delay:o=0,transitionOverride:r,type:n}={}){var a;let{transition:s=e.getDefaultTransition(),transitionEnd:i,...l}=t;r&&(s=r);let c=[],u=n&&e.animationState&&e.animationState.getState()[n];for(let m in l){let f=e.getValue(m,(a=e.latestValues[m])!==null&&a!==void 0?a:null),d=l[m];if(d===void 0||u&&Ace(u,m))continue;let p={delay:o,...$c(s||{},m)},h=!1;if(window.MotionHandoffAnimation){let g=kx(e);if(g){let b=window.MotionHandoffAnimation(g,m,et);b!==null&&(p.startTime=b,h=!0)}}c1(e,m),f.start(_p(m,f,d,e.shouldReduceMotion&&wx.has(m)?{type:!1}:p,e,h));let S=f.animation;S&&c.push(S)}return i&&Promise.all(c).then(()=>{et.update(()=>{i&&EV(e,i)})}),c}function Yx(e,t,o={}){var r;let n=Gc(e,t,o.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=n||{};o.transitionOverride&&(a=o.transitionOverride);let s=n?()=>Promise.all(Xx(e,n,o)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:m,staggerDirection:f}=a;return kce(e,t,u+c,m,f,o)}:()=>Promise.resolve(),{when:l}=a;if(l){let[c,u]=l==="beforeChildren"?[s,i]:[i,s];return c().then(()=>u())}else return Promise.all([s(),i(o.delay)])}function kce(e,t,o=0,r=0,n=1,a){let s=[],i=(e.variantChildren.size-1)*r,l=n===1?(c=0)=>c*r:(c=0)=>i-c*r;return Array.from(e.variantChildren).sort(Mce).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(Yx(c,t,{...a,delay:o+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function Mce(e,t){return e.sortNodePosition(t)}function SN(e,t,o={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let n=t.map(a=>Yx(e,a,o));r=Promise.all(n)}else if(typeof t=="string")r=Yx(e,t,o);else{let n=typeof t=="function"?Gc(e,t,o.custom):t;r=Promise.all(Xx(e,n,o))}return r.then(()=>{e.notify("AnimationComplete",t)})}var Lce=t1.length;function HA(e){if(!e)return;if(!e.isControllingVariants){let o=e.parent?HA(e.parent)||{}:{};return e.props.initial!==void 0&&(o.initial=e.props.initial),o}let t={};for(let o=0;o<Lce;o++){let r=t1[o],n=e.props[r];(kl(n)||n===!1)&&(t[r]=n)}return t}var Pce=[...ax].reverse(),Ece=ax.length;function Bce(e){return t=>Promise.all(t.map(({animation:o,options:r})=>SN(e,o,r)))}function IN(e){let t=Bce(e),o=xN(),r=!0,n=l=>(c,u)=>{var m;let f=Gc(e,u,l==="exit"?(m=e.presenceContext)===null||m===void 0?void 0:m.custom:void 0);if(f){let{transition:d,transitionEnd:p,...h}=f;c={...c,...h,...p}}return c};function a(l){t=l(e)}function s(l){let{props:c}=e,u=HA(e.parent)||{},m=[],f=new Set,d={},p=1/0;for(let S=0;S<Ece;S++){let g=Pce[S],b=o[g],I=c[g]!==void 0?c[g]:u[g],v=kl(I),C=g===l?b.isActive:null;C===!1&&(p=S);let T=I===u[g]&&I!==c[g]&&v;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),b.protectedKeys={...d},!b.isActive&&C===null||!I&&!b.prevProp||jc(I)||typeof I=="boolean")continue;let w=Dce(b.prevProp,I),P=w||g===l&&b.isActive&&!T&&v||S>p&&v,k=!1,D=Array.isArray(I)?I:[I],H=D.reduce(n(g),{});C===!1&&(H={});let{prevResolvedValues:j={}}=b,se={...j,...H},X=W=>{P=!0,f.has(W)&&(k=!0,f.delete(W)),b.needsAnimating[W]=!0;let de=e.getValue(W);de&&(de.liveStyle=!1)};for(let W in se){let de=H[W],q=j[W];if(d.hasOwnProperty(W))continue;let me=!1;o1(de)&&o1(q)?me=!fA(de,q):me=de!==q,me?de!=null?X(W):f.add(W):de!==void 0&&f.has(W)?X(W):b.protectedKeys[W]=!0}b.prevProp=I,b.prevResolvedValues=H,b.isActive&&(d={...d,...H}),r&&e.blockInitialAnimation&&(P=!1),P&&(!(T&&w)||k)&&m.push(...D.map(W=>({animation:W,options:{type:g}})))}if(f.size){let S={};f.forEach(g=>{let b=e.getBaseTarget(g),I=e.getValue(g);I&&(I.liveStyle=!0),S[g]=b??null}),m.push({animation:S})}let h=!!m.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(m):Promise.resolve()}function i(l,c){var u;if(o[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(f=>{var d;return(d=f.animationState)===null||d===void 0?void 0:d.setActive(l,c)}),o[l].isActive=c;let m=s(l);for(let f in o)o[f].protectedKeys={};return m}return{animateChanges:s,setActive:i,setAnimateFunction:a,getState:()=>o,reset:()=>{o=xN(),r=!0}}}function Dce(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!fA(t,e):!1}function Lm(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xN(){return{animate:Lm(!0),whileInView:Lm(),whileHover:Lm(),whileTap:Lm(),whileDrag:Lm(),whileFocus:Lm(),exit:Lm()}}var nn=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var Kx=class extends nn{constructor(t){super(t),t.animationState||(t.animationState=IN(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();jc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:o}=this.node.prevProps||{};t!==o&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};var Rce=0,Qx=class extends nn{constructor(){super(...arguments),this.id=Rce++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:o}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let n=this.node.animationState.setActive("exit",!t);o&&!t&&n.then(()=>o(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}};var vN={animation:{Feature:Kx},exit:{Feature:Qx}};function El(e,t,o,r={passive:!0}){return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o)}function Bl(e){return{point:{x:e.pageX,y:e.pageY}}}var CN=e=>t=>Cm(t)&&e(t,Bl(t));function ou(e,t,o,r){return El(e,t,CN(o),r)}var wN=(e,t)=>Math.abs(e-t);function TN(e,t){let o=wN(e.x,t.x),r=wN(e.y,t.y);return Math.sqrt(o**2+r**2)}var Fp=class{constructor(t,o,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let m=VA(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=TN(m.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:p}=m,{timestamp:h}=Do;this.history.push({...p,timestamp:h});let{onStart:S,onMove:g}=this.handlers;f||(S&&S(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,m)},this.handlePointerMove=(m,f)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=OA(f,this.transformPagePoint),et.update(this.updatePoint,!0)},this.handlePointerUp=(m,f)=>{this.end();let{onEnd:d,onSessionEnd:p,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let S=VA(m.type==="pointercancel"?this.lastMoveEventInfo:OA(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(m,S),p&&p(m,S)},!Cm(t))return;this.dragSnapToOrigin=a,this.handlers=o,this.transformPagePoint=r,this.contextWindow=n||window;let s=Bl(t),i=OA(s,this.transformPagePoint),{point:l}=i,{timestamp:c}=Do;this.history=[{...l,timestamp:c}];let{onSessionStart:u}=o;u&&u(t,VA(i,this.history)),this.removeListeners=Li(ou(this.contextWindow,"pointermove",this.handlePointerMove),ou(this.contextWindow,"pointerup",this.handlePointerUp),ou(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Na(this.updatePoint)}};function OA(e,t){return t?{point:t(e.point)}:e}function AN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function VA({point:e},t){return{point:e,delta:AN(e,kN(t)),offset:AN(e,_ce(t)),velocity:Fce(t,.1)}}function _ce(e){return e[0]}function kN(e){return e[e.length-1]}function Fce(e,t){if(e.length<2)return{x:0,y:0};let o=e.length-1,r=null,n=kN(e);for(;o>=0&&(r=e[o],!(n.timestamp-r.timestamp>Bo(t)));)o--;if(!r)return{x:0,y:0};let a=Sn(n.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let s={x:(n.x-r.x)/a,y:(n.y-r.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}var EN=1e-4,Hce=1-EN,Oce=1+EN,BN=.01,Vce=0-BN,Nce=0+BN;function In(e){return e.max-e.min}function DN(e,t,o){return Math.abs(e-t)<=o}function MN(e,t,o,r=.5){e.origin=r,e.originPoint=St(t.min,t.max,e.origin),e.scale=In(o)/In(t),e.translate=St(o.min,o.max,e.origin)-e.originPoint,(e.scale>=Hce&&e.scale<=Oce||isNaN(e.scale))&&(e.scale=1),(e.translate>=Vce&&e.translate<=Nce||isNaN(e.translate))&&(e.translate=0)}function Hp(e,t,o,r){MN(e.x,t.x,o.x,r?r.originX:void 0),MN(e.y,t.y,o.y,r?r.originY:void 0)}function LN(e,t,o){e.min=o.min+t.min,e.max=e.min+In(t)}function RN(e,t,o){LN(e.x,t.x,o.x),LN(e.y,t.y,o.y)}function PN(e,t,o){e.min=t.min-o.min,e.max=e.min+In(t)}function Op(e,t,o){PN(e.x,t.x,o.x),PN(e.y,t.y,o.y)}function VN(e,{min:t,max:o},r){return t!==void 0&&e<t?e=r?St(t,e,r.min):Math.max(e,t):o!==void 0&&e>o&&(e=r?St(o,e,r.max):Math.min(e,o)),e}function _N(e,t,o){return{min:t!==void 0?e.min+t:void 0,max:o!==void 0?e.max+o-(e.max-e.min):void 0}}function NN(e,{top:t,left:o,bottom:r,right:n}){return{x:_N(e.x,o,n),y:_N(e.y,t,r)}}function FN(e,t){let o=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([o,r]=[r,o]),{min:o,max:r}}function zN(e,t){return{x:FN(e.x,t.x),y:FN(e.y,t.y)}}function WN(e,t){let o=.5,r=In(e),n=In(t);return n>r?o=Va(t.min,t.max-r,e.min):r>n&&(o=Va(e.min,e.max-n,t.min)),xn(0,1,o)}function UN(e,t){let o={};return t.min!==void 0&&(o.min=t.min-e.min),t.max!==void 0&&(o.max=t.max-e.min),o}var Jx=.35;function ZN(e=Jx){return e===!1?e=0:e===!0&&(e=Jx),{x:HN(e,"left","right"),y:HN(e,"top","bottom")}}function HN(e,t,o){return{min:ON(e,t),max:ON(e,o)}}function ON(e,t){return typeof e=="number"?e:e[t]||0}var jN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Pm=()=>({x:jN(),y:jN()}),GN=()=>({min:0,max:0}),so=()=>({x:GN(),y:GN()});function ca(e){return[e("x"),e("y")]}function eI({top:e,left:t,right:o,bottom:r}){return{x:{min:t,max:o},y:{min:e,max:r}}}function $N({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function qN(e,t){if(!t)return e;let o=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:o.y,left:o.x,bottom:r.y,right:r.x}}function NA(e){return e===void 0||e===1}function tI({scale:e,scaleX:t,scaleY:o}){return!NA(e)||!NA(t)||!NA(o)}function Dl(e){return tI(e)||zA(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function zA(e){return XN(e.x)||XN(e.y)}function XN(e){return e&&e!=="0%"}function h1(e,t,o){let r=e-o,n=t*r;return o+n}function YN(e,t,o,r,n){return n!==void 0&&(e=h1(e,n,r)),h1(e,o,r)+t}function WA(e,t=0,o=1,r,n){e.min=YN(e.min,t,o,r,n),e.max=YN(e.max,t,o,r,n)}function UA(e,{x:t,y:o}){WA(e.x,t.translate,t.scale,t.originPoint),WA(e.y,o.translate,o.scale,o.originPoint)}var KN=.999999999999,QN=1.0000000000001;function ez(e,t,o,r=!1){let n=o.length;if(!n)return;t.x=t.y=1;let a,s;for(let i=0;i<n;i++){a=o[i],s=a.projectionDelta;let{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Em(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,UA(e,s)),r&&Dl(a.latestValues)&&Em(e,a.latestValues))}t.x<QN&&t.x>KN&&(t.x=1),t.y<QN&&t.y>KN&&(t.y=1)}function ru(e,t){e.min=e.min+t,e.max=e.max+t}function JN(e,t,o,r,n=.5){let a=St(e.min,e.max,n);WA(e,t,o,a,r)}function Em(e,t){JN(e.x,t.x,t.scaleX,t.scale,t.originX),JN(e.y,t.y,t.scaleY,t.scale,t.originY)}function ZA(e,t){return eI(qN(e.getBoundingClientRect(),t))}function tz(e,t,o){let r=ZA(e,o),{scroll:n}=t;return n&&(ru(r.x,n.offset.x),ru(r.y,n.offset.y)),r}var oI=({current:e})=>e?e.ownerDocument.defaultView:null;var zce=new WeakMap,nI=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=so(),this.visualElement=t}start(t,{snapToCursor:o=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let n=u=>{let{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(Bl(u).point)},a=(u,m)=>{let{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openDragLock&&this.openDragLock(),this.openDragLock=xA(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ca(S=>{let g=this.getAxisMotionValue(S).get()||0;if(Wn.test(g)){let{projection:b}=this.visualElement;if(b&&b.layout){let I=b.layout.layoutBox[S];I&&(g=In(I)*(parseFloat(g)/100))}}this.originPoint[S]=g}),p&&et.postRender(()=>p(u,m)),c1(this.visualElement,"transform");let{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(u,m)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:h}=this.getProps();if(!f&&!this.openDragLock)return;let{offset:S}=m;if(d&&this.currentDirection===null){this.currentDirection=Wce(S),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",m.point,S),this.updateAxis("y",m.point,S),this.visualElement.render(),h&&h(u,m)},i=(u,m)=>this.stop(u,m),l=()=>ca(u=>{var m;return this.getAnimationState(u)==="paused"&&((m=this.getAxisMotionValue(u).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Fp(t,{onSessionStart:n,onStart:a,onMove:s,onSessionEnd:i,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:oI(this.visualElement)})}stop(t,o){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=o;this.startAnimation(n);let{onDragEnd:a}=this.getProps();a&&et.postRender(()=>a(t,o))}cancel(){this.isDragging=!1;let{projection:t,animationState:o}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(t,o,r){let{drag:n}=this.getProps();if(!r||!rI(t,n,this.currentDirection))return;let a=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=VN(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;let{dragConstraints:o,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;o&&Ml(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&n?this.constraints=NN(n.layoutBox,o):this.constraints=!1,this.elastic=ZN(r),a!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ca(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=UN(n.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:o}=this.getProps();if(!t||!Ml(t))return!1;let r=t.current;Zs(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let a=tz(r,n.root,this.visualElement.getTransformPagePoint()),s=zN(n.layout.layoutBox,a);if(o){let i=o($N(s));this.hasMutatedConstraints=!!i,i&&(s=eI(i))}return s}startAnimation(t){let{drag:o,dragMomentum:r,dragElastic:n,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},c=ca(u=>{if(!rI(u,o,this.currentDirection))return;let m=l&&l[u]||{};s&&(m={min:0,max:0});let f=n?200:1e6,d=n?40:1e7,p={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...a,...m};return this.startAxisValueAnimation(u,p)});return Promise.all(c).then(i)}startAxisValueAnimation(t,o){let r=this.getAxisMotionValue(t);return c1(this.visualElement,t),r.start(_p(t,r,0,o,this.visualElement,!1))}stopAnimation(){ca(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ca(t=>{var o;return(o=this.getAxisMotionValue(t).animation)===null||o===void 0?void 0:o.pause()})}getAnimationState(t){var o;return(o=this.getAxisMotionValue(t).animation)===null||o===void 0?void 0:o.state}getAxisMotionValue(t){let o=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),n=r[o];return n||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){ca(o=>{let{drag:r}=this.getProps();if(!rI(o,r,this.currentDirection))return;let{projection:n}=this.visualElement,a=this.getAxisMotionValue(o);if(n&&n.layout){let{min:s,max:i}=n.layout.layoutBox[o];a.set(t[o]-St(s,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:o}=this.getProps(),{projection:r}=this.visualElement;if(!Ml(o)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};ca(s=>{let i=this.getAxisMotionValue(s);if(i&&this.constraints!==!1){let l=i.get();n[s]=WN({min:l,max:l},this.constraints[s])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ca(s=>{if(!rI(s,t,null))return;let i=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];i.set(St(l,c,n[s]))})}addListeners(){if(!this.visualElement.current)return;zce.set(this.visualElement,this);let t=this.visualElement.current,o=ou(t,"pointerdown",l=>{let{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{let{dragConstraints:l}=this.getProps();Ml(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,a=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),et.read(r);let s=El(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(ca(u=>{let m=this.getAxisMotionValue(u);m&&(this.originPoint[u]+=l[u].translate,m.set(m.get()+l[u].translate))}),this.visualElement.render())}));return()=>{s(),o(),a(),i&&i()}}getProps(){let t=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:s=Jx,dragMomentum:i=!0}=t;return{...t,drag:o,dragDirectionLock:r,dragPropagation:n,dragConstraints:a,dragElastic:s,dragMomentum:i}}};function rI(e,t,o){return(t===!0||t===e)&&(o===null||o===e)}function Wce(e,t=10){let o=null;return Math.abs(e.y)>t?o="y":Math.abs(e.x)>t&&(o="x"),o}var aI=class extends nn{constructor(t){super(t),this.removeGroupControls=zt,this.removeListeners=zt,this.controls=new nI(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||zt}unmount(){this.removeGroupControls(),this.removeListeners()}};var oz=e=>(t,o)=>{e&&et.postRender(()=>e(t,o))},sI=class extends nn{constructor(){super(...arguments),this.removePointerDownListener=zt}onPointerDown(t){this.session=new Fp(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:oI(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:o,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:oz(t),onStart:oz(o),onMove:r,onEnd:(a,s)=>{delete this.session,n&&et.postRender(()=>n(a,s))}}}mount(){this.removePointerDownListener=ou(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var az=M(oe(),1),g1=M(F(),1);var Vp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rz(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Np={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ke.test(e))e=parseFloat(e);else return e;let o=rz(e,t.target.x),r=rz(e,t.target.y);return`${o}% ${r}%`}};var nz={correct:(e,{treeScale:t,projectionDelta:o})=>{let r=e,n=Un.parse(e);if(n.length>5)return r;let a=Un.createTransformer(e),s=typeof n[0]!="number"?1:0,i=o.x.scale*t.x,l=o.y.scale*t.y;n[0+s]/=i,n[1+s]/=l;let c=St(i,l,.5);return typeof n[2+s]=="number"&&(n[2+s]/=c),typeof n[3+s]=="number"&&(n[3+s]/=c),a(n)}};var jA=class extends g1.Component{componentDidMount(){let{visualElement:t,layoutGroup:o,switchLayoutGroup:r,layoutId:n}=this.props,{projection:a}=t;fV(Uce),a&&(o.group&&o.group.add(a),r&&r.register&&n&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Vp.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:o,visualElement:r,drag:n,isPresent:a}=this.props,s=r.projection;return s&&(s.isPresent=a,n||t.layoutDependency!==o||o===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||et.postRender(()=>{let i=s.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),lp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:o,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function iI(e){let[t,o]=xm(),r=(0,g1.useContext)(op);return(0,az.jsx)(jA,{...e,layoutGroup:r,switchLayoutGroup:(0,g1.useContext)(cx),isPresent:t,safeToRemove:o})}var Uce={borderRadius:{...Np,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Np,borderTopRightRadius:Np,borderBottomLeftRadius:Np,borderBottomRightRadius:Np,boxShadow:nz};function sz(e,t,o){let r=Qt(e)?e:Pl(e);return r.start(_p("",r,t,o)),r.animation}function iz(e){return e instanceof SVGElement&&e.tagName!=="svg"}var lz=(e,t)=>e.depth-t.depth;var lI=class{constructor(){this.children=[],this.isDirty=!1}add(t){kp(this.children,t),this.isDirty=!0}remove(t){Mp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(lz),this.isDirty=!1,this.children.forEach(t)}};function cz(e,t){let o=Mn.now(),r=({timestamp:n})=>{let a=n-o;a>=t&&(Na(r),e(a-t))};return et.read(r,!0),()=>Na(r)}var dz=["TopLeft","TopRight","BottomLeft","BottomRight"],Zce=dz.length,uz=e=>typeof e=="string"?parseFloat(e):e,mz=e=>typeof e=="number"||ke.test(e);function pz(e,t,o,r,n,a){n?(e.opacity=St(0,o.opacity!==void 0?o.opacity:1,jce(r)),e.opacityExit=St(t.opacity!==void 0?t.opacity:1,0,Gce(r))):a&&(e.opacity=St(t.opacity!==void 0?t.opacity:1,o.opacity!==void 0?o.opacity:1,r));for(let s=0;s<Zce;s++){let i=`border${dz[s]}Radius`,l=fz(t,i),c=fz(o,i);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||mz(l)===mz(c)?(e[i]=Math.max(St(uz(l),uz(c),r),0),(Wn.test(c)||Wn.test(l))&&(e[i]+="%")):e[i]=c}(t.rotate||o.rotate)&&(e.rotate=St(t.rotate||0,o.rotate||0,r))}function fz(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var jce=hz(0,.5,Rx),Gce=hz(.5,.95,zt);function hz(e,t,o){return r=>r<e?0:r>t?1:o(Va(e,t,r))}function gz(e,t){e.min=t.min,e.max=t.max}function Wa(e,t){gz(e.x,t.x),gz(e.y,t.y)}function GA(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function bz(e,t,o,r,n){return e-=t,e=h1(e,1/o,r),n!==void 0&&(e=h1(e,1/n,r)),e}function $ce(e,t=0,o=1,r=.5,n,a=e,s=e){if(Wn.test(t)&&(t=parseFloat(t),t=St(s.min,s.max,t/100)-s.min),typeof t!="number")return;let i=St(a.min,a.max,r);e===a&&(i-=t),e.min=bz(e.min,t,o,i,n),e.max=bz(e.max,t,o,i,n)}function yz(e,t,[o,r,n],a,s){$ce(e,t[o],t[r],t[n],t.scale,a,s)}var qce=["x","scaleX","originX"],Xce=["y","scaleY","originY"];function $A(e,t,o,r){yz(e.x,t,qce,o?o.x:void 0,r?r.x:void 0),yz(e.y,t,Xce,o?o.y:void 0,r?r.y:void 0)}function Sz(e){return e.translate===0&&e.scale===1}function qA(e){return Sz(e.x)&&Sz(e.y)}function xz(e,t){return e.min===t.min&&e.max===t.max}function vz(e,t){return xz(e.x,t.x)&&xz(e.y,t.y)}function Iz(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function XA(e,t){return Iz(e.x,t.x)&&Iz(e.y,t.y)}function YA(e){return In(e.x)/In(e.y)}function KA(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var cI=class{constructor(){this.members=[]}add(t){kp(this.members,t),t.scheduleRender()}remove(t){if(Mp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(t){let o=this.members.findIndex(n=>t===n);if(o===0)return!1;let r;for(let n=o;n>=0;n--){let a=this.members[n];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,o){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,o&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;n===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:o,resumingFrom:r}=t;o.onExitComplete&&o.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function Cz(e,t,o){let r="",n=e.x.translate/t.x,a=e.y.translate/t.y,s=o?.z||0;if((n||a||s)&&(r=`translate3d(${n}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),o){let{transformPerspective:c,rotate:u,rotateX:m,rotateY:f,skewX:d,skewY:p}=o;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),m&&(r+=`rotateX(${m}deg) `),f&&(r+=`rotateY(${f}deg) `),d&&(r+=`skewX(${d}deg) `),p&&(r+=`skewY(${p}deg) `)}let i=e.x.scale*t.x,l=e.y.scale*t.y;return(i!==1||l!==1)&&(r+=`scale(${i}, ${l})`),r||"none"}var Bm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},b1=typeof window<"u"&&window.MotionDebug!==void 0,QA=["","X","Y","Z"],Yce={visibility:"hidden"},wz=1e3,Kce=0;function JA(e,t,o,r){let{latestValues:n}=t;n[e]&&(o[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Bz(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let o=kx(t);if(window.MotionHasOptimisedAnimation(o,"transform")){let{layout:n,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(o,"transform",et,!(n||a))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Bz(r)}function uI({attachResizeListener:e,defaultParent:t,measureScroll:o,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(s={},i=t?.()){this.id=Kce++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,b1&&(Bm.totalNodes=Bm.resolvedTargetDeltas=Bm.recalculatedProjection=0),this.nodes.forEach(eue),this.nodes.forEach(aue),this.nodes.forEach(sue),this.nodes.forEach(tue),b1&&window.MotionDebug.record(Bm)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new lI)}addEventListener(s,i){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Yc),this.eventHandlers.get(s).add(i)}notifyListeners(s,...i){let l=this.eventHandlers.get(s);l&&l.notify(...i)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=iz(s),this.instance=s;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(c||l)&&(this.isLayoutDirty=!0),e){let m,f=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=cz(f,250),Vp.hasAnimatedSinceResize&&(Vp.hasAnimatedSinceResize=!1,this.nodes.forEach(Az))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:f,hasRelativeTargetChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let h=this.options.transition||u.getDefaultTransition()||mue,{onLayoutAnimationStart:S,onLayoutAnimationComplete:g}=u.getProps(),b=!this.targetLayout||!XA(this.targetLayout,p)||d,I=!f&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||I||f&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,I);let v={...$c(h,"layout"),onPlay:S,onComplete:g};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v)}else f||Az(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Na(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(iue),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Bz(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let m=this.path[u];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}let{layoutId:i,layout:l}=this.options;if(i===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Tz);return}this.isUpdating||this.nodes.forEach(rue),this.isUpdating=!1,this.nodes.forEach(nue),this.nodes.forEach(Qce),this.nodes.forEach(Jce),this.clearAllSnapshots();let i=Mn.now();Do.delta=xn(0,1e3/60,i-Do.timestamp),Do.timestamp=i,Do.isProcessing=!0,ox.update.process(Do),ox.preRender.process(Do),ox.render.process(Do),Do.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,lp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oue),this.sharedNodes.forEach(lue)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,et.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){et.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=so(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let i=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(i=!1),i){let l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!n)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,i=this.projectionDelta&&!qA(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&(i||Dl(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let i=this.measurePageBox(),l=this.removeElementScroll(i);return s&&(l=this.removeTransform(l)),fue(l),{animationId:this.root.animationId,measuredBox:i,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;let{visualElement:i}=this.options;if(!i)return so();let l=i.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(due))){let{scroll:u}=this.root;u&&(ru(l.x,u.offset.x),ru(l.y,u.offset.y))}return l}removeElementScroll(s){var i;let l=so();if(Wa(l,s),!((i=this.scroll)===null||i===void 0)&&i.wasRoot)return l;for(let c=0;c<this.path.length;c++){let u=this.path[c],{scroll:m,options:f}=u;u!==this.root&&m&&f.layoutScroll&&(m.wasRoot&&Wa(l,s),ru(l.x,m.offset.x),ru(l.y,m.offset.y))}return l}applyTransform(s,i=!1){let l=so();Wa(l,s);for(let c=0;c<this.path.length;c++){let u=this.path[c];!i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Em(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Dl(u.latestValues)&&Em(l,u.latestValues)}return Dl(this.latestValues)&&Em(l,this.latestValues),l}removeTransform(s){let i=so();Wa(i,s);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!Dl(c.latestValues))continue;tI(c.latestValues)&&c.updateSnapshot();let u=so(),m=c.measurePageBox();Wa(u,m),$A(i,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Dl(this.latestValues)&&$A(i,this.latestValues),i}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Do.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var i;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:m,layoutId:f}=this.options;if(!(!this.layout||!(m||f))){if(this.resolvedRelativeTargetAt=Do.timestamp,!this.targetDelta&&!this.relativeTarget){let d=this.getClosestProjectingParent();d&&d.layout&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=so(),this.relativeTargetOrigin=so(),Op(this.relativeTargetOrigin,this.layout.layoutBox,d.layout.layoutBox),Wa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=so(),this.targetWithTransforms=so()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),RN(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wa(this.target,this.layout.layoutBox),UA(this.target,this.targetDelta)):Wa(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let d=this.getClosestProjectingParent();d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=so(),this.relativeTargetOrigin=so(),Op(this.relativeTargetOrigin,this.target,d.target),Wa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}b1&&Bm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||tI(this.parent.latestValues)||zA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;let i=this.getLead(),l=!!this.resumingFrom||this!==i,c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Do.timestamp&&(c=!1),c)return;let{layout:u,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||m))return;Wa(this.layoutCorrected,this.layout.layoutBox);let f=this.treeScale.x,d=this.treeScale.y;ez(this.layoutCorrected,this.treeScale,this.path,l),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=so());let{target:p}=i;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(GA(this.prevProjectionDelta.x,this.projectionDelta.x),GA(this.prevProjectionDelta.y,this.projectionDelta.y)),Hp(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!KA(this.projectionDelta.x,this.prevProjectionDelta.x)||!KA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p)),b1&&Bm.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var i;if((i=this.options.visualElement)===null||i===void 0||i.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Pm(),this.projectionDelta=Pm(),this.projectionDeltaWithTransform=Pm()}setAnimationOrigin(s,i=!1){let l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},m=Pm();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let f=so(),d=l?l.source:void 0,p=this.layout?this.layout.source:void 0,h=d!==p,S=this.getStack(),g=!S||S.members.length<=1,b=!!(h&&!g&&this.options.crossfade===!0&&!this.path.some(uue));this.animationProgress=0;let I;this.mixTargetDelta=v=>{let C=v/1e3;kz(m.x,s.x,C),kz(m.y,s.y,C),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Op(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),cue(this.relativeTarget,this.relativeTargetOrigin,f,C),I&&vz(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=so()),Wa(I,this.relativeTarget)),h&&(this.animationValues=u,pz(u,c,this.latestValues,C,b,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Na(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=et.update(()=>{Vp.hasAnimatedSinceResize=!0,this.currentAnimation=sz(0,wz,{...s,onUpdate:i=>{this.mixTargetDelta(i),s.onUpdate&&s.onUpdate(i)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(wz),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:i,target:l,layout:c,latestValues:u}=s;if(!(!i||!l||!c)){if(this!==s&&this.layout&&c&&Dz(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||so();let m=In(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+m;let f=In(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Wa(i,l),Em(i,u),Hp(this.projectionDeltaWithTransform,this.layoutCorrected,i,u)}}registerSharedNode(s,i){this.sharedNodes.has(s)||this.sharedNodes.set(s,new cI),this.sharedNodes.get(s).add(i);let c=i.options.initialPromotionConfig;i.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(i):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:i}=this.options;return i?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:i}=this.options;return i?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:i,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let i=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(i=!0),!i)return;let c={};l.z&&JA("z",s,c,this.animationValues);for(let u=0;u<QA.length;u++)JA(`rotate${QA[u]}`,s,c,this.animationValues),JA(`skew${QA[u]}`,s,c,this.animationValues);s.render();for(let u in c)s.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);s.scheduleRender()}getProjectionStyles(s){var i,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Yce;let c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=fp(s?.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){let h={};return this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=fp(s?.pointerEvents)||""),this.hasProjected&&!Dl(this.latestValues)&&(h.transform=u?u({},""):"none",this.hasProjected=!1),h}let f=m.animationValues||m.latestValues;this.applyTransformsToTarget(),c.transform=Cz(this.projectionDeltaWithTransform,this.treeScale,f),u&&(c.transform=u(f,c.transform));let{x:d,y:p}=this.projectionDelta;c.transformOrigin=`${d.origin*100}% ${p.origin*100}% 0`,m.animationValues?c.opacity=m===this?(l=(i=f.opacity)!==null&&i!==void 0?i:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:c.opacity=m===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(let h in Sp){if(f[h]===void 0)continue;let{correct:S,applyTo:g}=Sp[h],b=c.transform==="none"?f[h]:S(f[h],m);if(g){let I=g.length;for(let v=0;v<I;v++)c[g[v]]=b}else c[h]=b}return this.options.layoutId&&(c.pointerEvents=m===this?fp(s?.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var i;return(i=s.currentAnimation)===null||i===void 0?void 0:i.stop()}),this.root.nodes.forEach(Tz),this.root.sharedNodes.clear()}}}function Qce(e){e.updateLayout()}function Jce(e){var t;let o=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:a}=e.options,s=o.source!==e.layout.source;a==="size"?ca(m=>{let f=s?o.measuredBox[m]:o.layoutBox[m],d=In(f);f.min=r[m].min,f.max=f.min+d}):Dz(a,o.layoutBox,r)&&ca(m=>{let f=s?o.measuredBox[m]:o.layoutBox[m],d=In(r[m]);f.max=f.min+d,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+d)});let i=Pm();Hp(i,r,o.layoutBox);let l=Pm();s?Hp(l,e.applyTransform(n,!0),o.measuredBox):Hp(l,r,o.layoutBox);let c=!qA(i),u=!1;if(!e.resumeFrom){let m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){let{snapshot:f,layout:d}=m;if(f&&d){let p=so();Op(p,o.layoutBox,f.layoutBox);let h=so();Op(h,r,d.layoutBox),XA(p,h)||(u=!0),m.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=p,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:o,delta:l,layoutDelta:i,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function eue(e){b1&&Bm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function tue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function oue(e){e.clearSnapshot()}function Tz(e){e.clearMeasurements()}function rue(e){e.isLayoutDirty=!1}function nue(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Az(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function aue(e){e.resolveTargetDelta()}function sue(e){e.calcProjection()}function iue(e){e.resetSkewAndRotation()}function lue(e){e.removeLeadSnapshot()}function kz(e,t,o){e.translate=St(t.translate,0,o),e.scale=St(t.scale,1,o),e.origin=t.origin,e.originPoint=t.originPoint}function Mz(e,t,o,r){e.min=St(t.min,o.min,r),e.max=St(t.max,o.max,r)}function cue(e,t,o,r){Mz(e.x,t.x,o.x,r),Mz(e.y,t.y,o.y,r)}function uue(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var mue={duration:.45,ease:[.4,0,.1,1]},Lz=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Pz=Lz("applewebkit/")&&!Lz("chrome/")?Math.round:zt;function Ez(e){e.min=Pz(e.min),e.max=Pz(e.max)}function fue(e){Ez(e.x),Ez(e.y)}function Dz(e,t,o){return e==="position"||e==="preserve-aspect"&&!DN(YA(t),YA(o),.2)}function due(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var Rz=uI({attachResizeListener:(e,t)=>El(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var e5={current:void 0},mI=uI({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!e5.current){let e=new Rz({});e.mount(window),e.setOptions({layoutScroll:!0}),e5.current=e}return e5.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var _z={pan:{Feature:sI},drag:{Feature:aI,ProjectionNode:mI,MeasureLayout:iI}};function Fz(e,t,o){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",o==="Start");let n="onHover"+o,a=r[n];a&&et.postRender(()=>a(t,Bl(t)))}var fI=class extends nn{mount(){let{current:t}=this.node;t&&(this.unmount=bA(t,o=>(Fz(this.node,o,"Start"),r=>Fz(this.node,r,"End"))))}unmount(){}};var dI=class extends nn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Li(El(this.node.current,"focus",()=>this.onFocus()),El(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function Hz(e,t,o){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",o==="Start");let n="onTap"+(o==="End"?"":o),a=r[n];a&&et.postRender(()=>a(t,Bl(t)))}var pI=class extends nn{mount(){let{current:t}=this.node;t&&(this.unmount=SA(t,o=>(Hz(this.node,o,"Start"),(r,{success:n})=>Hz(this.node,r,n?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var o5=new WeakMap,t5=new WeakMap,pue=e=>{let t=o5.get(e.target);t&&t(e)},hue=e=>{e.forEach(pue)};function gue({root:e,...t}){let o=e||document;t5.has(o)||t5.set(o,{});let r=t5.get(o),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(hue,{root:e,...t})),r[n]}function Oz(e,t,o){let r=gue(t);return o5.set(e,o),r.observe(e),()=>{o5.delete(e),r.unobserve(e)}}var bue={some:0,all:1},hI=class extends nn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:o,margin:r,amount:n="some",once:a}=t,s={root:o?o.current:void 0,rootMargin:r,threshold:typeof n=="number"?n:bue[n]},i=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:u,onViewportLeave:m}=this.node.getProps(),f=c?u:m;f&&f(l)};return Oz(this.node.current,s,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:o}=this.node;["amount","margin","root"].some(yue(t,o))&&this.startObserver()}unmount(){}};function yue({viewport:e={}},{viewport:t={}}={}){return o=>e[o]!==t[o]}var Vz={inView:{Feature:hI},tap:{Feature:pI},focus:{Feature:dI},hover:{Feature:fI}};var Nz={layout:{ProjectionNode:mI,MeasureLayout:iI}};var jz=M(F(),1);var y1={current:null},gI={current:!1};function zz(){if(gI.current=!0,!!ap)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>y1.current=e.matches;e.addListener(t),t()}else y1.current=!1}var Sue=[...MA,Rr,Un],Wz=e=>Sue.find(Nx(e));var r5=new WeakMap;function Uz(e,t,o){for(let r in t){let n=t[r],a=o[r];if(Qt(n))e.addValue(r,n);else if(Qt(a))e.addValue(r,Pl(n,{owner:e}));else if(a!==n)if(e.hasValue(r)){let s=e.getValue(r);s.liveStyle===!0?s.jump(n):s.hasAnimated||s.set(n)}else{let s=e.getStaticValue(r);e.addValue(r,Pl(s!==void 0?s:n,{owner:e}))}}for(let r in o)t[r]===void 0&&e.removeValue(r);return t}var Zz=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],bI=class{scrapeMotionValuesFromProps(t,o,r){return{}}constructor({parent:t,props:o,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:a,visualState:s},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eu,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let d=Mn.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,et.render(this.render,!1,!0))};let{latestValues:l,renderState:c,onUpdate:u}=s;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=o.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=o,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.blockInitialAnimation=!!a,this.isControllingVariants=vm(o),this.isVariantNode=sx(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:m,...f}=this.scrapeMotionValuesFromProps(o,{},this);for(let d in f){let p=f[d];l[d]!==void 0&&Qt(p)&&p.set(l[d],!1)}}mount(t){this.current=t,r5.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,r)=>this.bindToMotionValue(r,o)),gI.current||zz(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:y1.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){r5.delete(this.current),this.projection&&this.projection.unmount(),Na(this.notifyUpdate),Na(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let o=this.features[t];o&&(o.unmount(),o.isMounted=!1)}this.current=null}bindToMotionValue(t,o){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=la.has(t),n=o.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&et.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=o.on("renderRequest",this.scheduleRender),s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,o)),this.valueSubscriptions.set(t,()=>{n(),a(),s&&s(),o.owner&&o.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Al){let o=Al[t];if(!o)continue;let{isEnabled:r,Feature:n}=o;if(!this.features[t]&&n&&r(this.props)&&(this.features[t]=new n(this)),this.features[t]){let a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):so()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,o){this.latestValues[t]=o}update(t,o){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let r=0;r<Zz.length;r++){let n=Zz[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let a="on"+n,s=t[a];s&&(this.propEventSubscriptions[n]=this.on(n,s))}this.prevMotionValues=Uz(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(t),()=>o.variantChildren.delete(t)}addValue(t,o){let r=this.values.get(t);o!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,o),this.values.set(t,o),this.latestValues[t]=o.get())}removeValue(t){this.values.delete(t);let o=this.valueSubscriptions.get(t);o&&(o(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,o){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&o!==void 0&&(r=Pl(o===null?void 0:o,{owner:this}),this.addValue(t,r)),r}readValue(t,o){var r;let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(Vx(n)||Fx(n))?n=parseFloat(n):!Wz(n)&&Un.test(o)&&(n=Ox(t,o)),this.setBaseTarget(t,Qt(n)?n.get():n)),Qt(n)?n.get():n}setBaseTarget(t,o){this.baseTarget[t]=o}getBaseTarget(t){var o;let{initial:r}=this.props,n;if(typeof r=="string"||typeof r=="object"){let s=mp(this.props,r,(o=this.presenceContext)===null||o===void 0?void 0:o.custom);s&&(n=s[t])}if(r&&n!==void 0)return n;let a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Qt(a)?a:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,o){return this.events[t]||(this.events[t]=new Yc),this.events[t].add(o)}notify(t,...o){this.events[t]&&this.events[t].notify(...o)}};var zp=class extends bI{constructor(){super(...arguments),this.KeyframeResolver=Bp}sortInstanceNodePosition(t,o){return t.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(t,o){return t.style?t.style[o]:void 0}removeValueFromRenderState(t,{vars:o,style:r}){delete o[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Qt(t)&&(this.childSubscription=t.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}};function xue(e){return window.getComputedStyle(e)}var yI=class extends zp{constructor(){super(...arguments),this.type="html",this.renderInstance=hx}readValueFromInstance(t,o){if(la.has(o)){let r=Ep(o);return r&&r.default||0}else{let r=xue(t),n=(fx(o)?r.getPropertyValue(o):r[o])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:o}){return ZA(t,o)}build(t,o,r){hp(t,o,r.transformTemplate)}scrapeMotionValuesFromProps(t,o,r){return xp(t,o,r)}};var SI=class extends zp{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=so}getBaseTargetFromProps(t,o){return t[o]}readValueFromInstance(t,o){if(la.has(o)){let r=Ep(o);return r&&r.default||0}return o=gx.has(o)?o:ip(o),t.getAttribute(o)}scrapeMotionValuesFromProps(t,o,r){return Sx(t,o,r)}build(t,o,r){gp(t,o,this.isSVGTag,r.transformTemplate)}renderInstance(t,o,r,n){bx(t,o,r,n)}mount(t){this.isSVGTag=yp(t.tagName),super.mount(t)}};var Gz=(e,t)=>up(e)?new SI(t):new yI(t,{allowProjection:e!==jz.Fragment});var $z=IV({...vN,...Vz,..._z,...Nz},Gz);var js=zO($z);var yW=M(F(),1);var s5=M(oe(),1);var Rl=M(F(),1);var Iue=(e,t)=>e.find(o=>o.id===t);function n5(e,t){let o=a5(e,t),r=o?e[o].findIndex(n=>n.id===t):-1;return{position:o,index:r}}function a5(e,t){for(let[o,r]of Object.entries(e))if(Iue(r,t))return o}function qz(e){let t=e.includes("right"),o=e.includes("left"),r="center";return t&&(r="flex-end"),o&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function Xz(e){let o=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,n=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,a=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",s=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:o,top:r,bottom:n,right:a,left:s}}var nu=M(F());nx();var vue=!1,Cue=iA,wue=function(t){return t!=="theme"},Yz=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Cue:wue},Kz=function(t,o,r){var n;if(o){var a=o.shouldForwardProp;n=t.__emotion_forwardProp&&a?function(s){return t.__emotion_forwardProp(s)&&a(s)}:a}return typeof n!="function"&&r&&(n=t.__emotion_forwardProp),n},Tue=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return Yd(o,r,n),Yg(function(){return Kd(o,r,n)}),null},Qz=function e(t,o){var r=t.__emotion_real===t,n=r&&t.__emotion_base||t,a,s;o!==void 0&&(a=o.label,s=o.target);var i=Kz(t,o,r),l=i||Yz(n),c=!l("as");return function(){var u=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),u[0]==null||u[0].raw===void 0)m.push.apply(m,u);else{var f=u[0];m.push(f[0]);for(var d=u.length,p=1;p<d;p++)m.push(u[p],f[p])}var h=Qd(function(S,g,b){var I=c&&S.as||n,v="",C=[],T=S;if(S.theme==null){T={};for(var w in S)T[w]=S[w];T.theme=nu.useContext(Ci)}typeof S.className=="string"?v=$g(g.registered,C,S.className):S.className!=null&&(v=S.className+" ");var P=bm(m.concat(C),g.registered,T);v+=g.key+"-"+P.name,s!==void 0&&(v+=" "+s);var k=c&&i===void 0?Yz(I):l,D={};for(var H in S)c&&H==="as"||k(H)&&(D[H]=S[H]);return D.className=v,b&&(D.ref=b),nu.createElement(nu.Fragment,null,nu.createElement(Tue,{cache:g,serialized:P,isStringTag:typeof I=="string"}),nu.createElement(I,D))});return h.displayName=a!==void 0?a:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=n,h.__emotion_styles=m,h.__emotion_forwardProp=i,Object.defineProperty(h,"toString",{value:function(){return s===void 0&&vue?"NO_COMPONENT_SELECTOR":"."+s}}),h.withComponent=function(S,g){var b=e(S,zs({},o,g,{shouldForwardProp:Kz(h,g,!0)}));return b.apply(void 0,m)},h}};var mHe=M(F());nx();var Aue=["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","marquee","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"],xI=Qz.bind(null);Aue.forEach(function(e){xI[e]=xI(e)});var II=M(F(),1);var kue=new Set([...P3,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Mue=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Jz(e){return(Mue.has(e)||!kue.has(e))&&e[0]!=="_"}var Lue=i3(xI),Pue=({baseStyle:e})=>t=>{let{theme:o,css:r,__css:n,sx:a,...s}=t,[i]=u3(s,E3),l=Br(e,t),c=r3({},n,l,nm(i),a),u=Ag(c)(t.theme);return r?[u,r]:u};function vI(e,t){let{baseStyle:o,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=Jz);let n=Pue({baseStyle:o}),a=Lue(e,r)(n);return(0,II.forwardRef)(function(l,c){let{children:u,...m}=l,{colorMode:f,forced:d}=xl();return(0,II.createElement)(a,{ref:c,"data-theme":d?f:void 0,...m},u)})}function Eue(){let e=new Map;return new Proxy(vI,{apply(t,o,r){return vI(...r)},get(t,o){return e.has(o)||e.set(o,vI(o)),e.get(o)}})}var K=Eue();var Bue={initial:e=>{let{position:t}=e,o=["top","bottom"].includes(t)?"y":"x",r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[o]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},i5=(0,Rl.memo)(e=>{let{id:t,message:o,onCloseComplete:r,onRequestRemove:n,requestClose:a=!1,position:s="bottom",duration:i=5e3,containerStyle:l,motionVariants:c=Bue,toastSpacing:u="0.5rem"}=e,[m,f]=(0,Rl.useState)(i),d=aA();Td(()=>{d||r?.()},[d]),Td(()=>{f(i)},[i]);let p=()=>f(null),h=()=>f(i),S=()=>{d&&n()};(0,Rl.useEffect)(()=>{d&&a&&n()},[d,a,n]),T3(S,m);let g=(0,Rl.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),b=(0,Rl.useMemo)(()=>qz(s),[s]);return(0,s5.jsx)(js.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:p,onHoverEnd:h,custom:{position:s},style:b,children:(0,s5.jsx)(K.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:g,children:Br(o,{id:t,onClose:S})})})});i5.displayName="ToastComponent";var Fl=M(oe(),1);var AI=M(oe(),1);var Dm=M(oe(),1);var au=M(oe(),1);var eW=M(F(),1);function ue(e){return(0,eW.forwardRef)(e)}var TI=M(F(),1),nW=M(oW(),1);var rW=M(F(),1);function _l(){let e=(0,rW.useContext)(Ci);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function S1(){let e=xl(),t=_l();return{...e,theme:t}}function Hue(e,t,o){if(t==null)return t;let r=n=>e.__breakpoints?.asArray?.[n];return r(t)??r(o)??o}function Oue(e,t,o){if(t==null)return t;let r=n=>e.__cssMap?.[n]?.value;return r(t)??r(o)??o}function l5(e,t,o){let r=_l();return wI(e,t,o)(r)}function wI(e,t,o){let r=Array.isArray(t)?t:[t],n=Array.isArray(o)?o:[o];return a=>{let s=n.filter(Boolean),i=r.map((l,c)=>{if(e==="breakpoints")return Hue(a,l,s[c]??l);let u=`${e}.${l}`;return Oue(a,u,s[c]??l)});return Array.isArray(t)?i:i[0]}}function Vue(e){return Object.fromEntries(Object.entries(e).filter(([t,o])=>o!==void 0&&t!=="children"&&!(0,TI.isValidElement)(o)))}function aW(e,t={}){let{styleConfig:o,...r}=t,{theme:n,colorMode:a}=S1(),s=e?dg(n,`components.${e}`):void 0,i=o||s,l=(0,Zr.default)({theme:n,colorMode:a},i?.defaultProps??{},Vue(r),(u,m)=>u?void 0:m),c=(0,TI.useRef)({});if(i){let m=D3(i)(l);(0,nW.default)(c.current,m)||(c.current=m)}return c.current}function fo(e,t={}){return aW(e,t)}function To(e,t={}){return aW(e,t)}var sW={path:(0,au.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,au.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,au.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,au.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Ua=ue((e,t)=>{let{as:o,viewBox:r,color:n="currentColor",focusable:a=!1,children:s,className:i,__css:l,...c}=e,u=xe("chakra-icon",i),m=fo("Icon",e),f={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:n,...l,...m},d={ref:t,focusable:a,className:u,__css:f},p=r??sW.viewBox;if(o&&typeof o!="string")return(0,au.jsx)(K.svg,{as:o,...d,...c});let h=s??sW.path;return(0,au.jsx)(K.svg,{verticalAlign:"middle",viewBox:p,...d,...c,children:h})});Ua.displayName="Icon";function iW(e){return(0,Dm.jsx)(Ua,{viewBox:"0 0 24 24",...e,children:(0,Dm.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function lW(e){return(0,Dm.jsx)(Ua,{viewBox:"0 0 24 24",...e,children:(0,Dm.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function c5(e){return(0,Dm.jsx)(Ua,{viewBox:"0 0 24 24",...e,children:(0,Dm.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var u5=M(oe(),1);var Nue=Ws({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),su=ue((e,t)=>{let o=fo("Spinner",e),{label:r="Loading...",thickness:n="2px",speed:a="0.45s",emptyColor:s="transparent",className:i,...l}=Xe(e),c=xe("chakra-spinner",i),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:n,borderBottomColor:s,borderLeftColor:s,animation:`${Nue} ${a} linear infinite`,...o};return(0,u5.jsx)(K.div,{ref:t,__css:u,className:c,...l,children:r&&(0,u5.jsx)(K.span,{srOnly:!0,children:r})})});su.displayName="Spinner";var[cW,Wp]=qe({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[uW,Up]=qe({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),mW={info:{icon:lW,colorScheme:"blue"},warning:{icon:c5,colorScheme:"orange"},success:{icon:iW,colorScheme:"green"},error:{icon:c5,colorScheme:"red"},loading:{icon:su,colorScheme:"blue"}};function fW(e){return mW[e].colorScheme}function dW(e){return mW[e].icon}var dt=ue(function(t,o){let{status:r="info",addRole:n=!0,...a}=Xe(t),s=t.colorScheme??fW(r),i=To("Alert",{...t,colorScheme:s}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...i.container};return(0,AI.jsx)(cW,{value:{status:r},children:(0,AI.jsx)(uW,{value:i,children:(0,AI.jsx)(K.div,{"data-status":r,role:n?"alert":void 0,ref:o,...a,className:xe("chakra-alert",t.className),__css:l})})})});dt.displayName="Alert";var m5=M(oe(),1);function pt(e){let{status:t}=Wp(),o=dW(t),r=Up(),n=t==="loading"?r.spinner:r.icon;return(0,m5.jsx)(K.span,{display:"inherit","data-status":t,...e,className:xe("chakra-alert__icon",e.className),__css:n,children:e.children||(0,m5.jsx)(o,{h:"100%",w:"100%"})})}pt.displayName="AlertIcon";var pW=M(oe(),1);var f5=ue(function(t,o){let r=Up(),{status:n}=Wp();return(0,pW.jsx)(K.div,{ref:o,"data-status":n,...t,className:xe("chakra-alert__title",t.className),__css:r.title})});f5.displayName="AlertTitle";var hW=M(oe(),1);var ht=ue(function(t,o){let{status:r}=Wp(),n=Up(),a={display:"inline",...n.description};return(0,hW.jsx)(K.div,{ref:o,"data-status":r,...t,className:xe("chakra-alert__desc",t.className),__css:a})});ht.displayName="AlertDescription";var x1=M(oe(),1);function zue(e){return(0,x1.jsx)(Ua,{focusable:"false","aria-hidden":!0,...e,children:(0,x1.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var I1=ue(function(t,o){let r=fo("CloseButton",t),{children:n,isDisabled:a,__css:s,...i}=Xe(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return(0,x1.jsx)(K.button,{type:"button","aria-label":"Close",ref:o,disabled:a,__css:{...l,...r,...s},...i,children:n||(0,x1.jsx)(zue,{width:"1em",height:"1em"})})});I1.displayName="CloseButton";var Wue=e=>{let{status:t,variant:o="solid",id:r,title:n,isClosable:a,onClose:s,description:i,colorScheme:l,icon:c}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return(0,Fl.jsxs)(dt,{addRole:!1,status:t,variant:o,id:u?.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,Fl.jsx)(pt,{children:c}),(0,Fl.jsxs)(K.div,{flex:"1",maxWidth:"100%",children:[n&&(0,Fl.jsx)(f5,{id:u?.title,children:n}),i&&(0,Fl.jsx)(ht,{id:u?.description,display:"block",children:i})]}),a&&(0,Fl.jsx)(I1,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1})]})};function kI(e={}){let{render:t,toastComponent:o=Wue}=e;return n=>typeof t=="function"?t({...n,...e}):(0,Fl.jsx)(o,{...n,...e})}var Uue={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},hs=Zue(Uue);function Zue(e){let t=e,o=new Set,r=n=>{t=n(t),o.forEach(a=>a())};return{getState:()=>t,subscribe:n=>(o.add(n),()=>{r(()=>e),o.delete(n)}),removeToast:(n,a)=>{r(s=>({...s,[a]:s[a].filter(i=>i.id!=n)}))},notify:(n,a)=>{let s=jue(n,a),{position:i,id:l}=s;return r(c=>{let m=i.includes("top")?[s,...c[i]??[]]:[...c[i]??[],s];return{...c,[i]:m}}),l},update:(n,a)=>{n&&r(s=>{let i={...s},{position:l,index:c}=n5(i,n);return l&&c!==-1&&(i[l][c]={...i[l][c],...a,message:kI(a)}),i})},closeAll:({positions:n}={})=>{r(a=>(n??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,c)=>(l[c]=a[c].map(u=>({...u,requestClose:!0})),l),{...a}))},close:n=>{r(a=>{let s=a5(a,n);return s?{...a,[s]:a[s].map(i=>i.id==n?{...i,requestClose:!0}:i)}:a})},isActive:n=>!!n5(hs.getState(),n).position}}var gW=0;function jue(e,t={}){gW+=1;let o=t.id??gW,r=t.position??"bottom";return{id:o,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>hs.removeToast(String(o),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var iu=M(oe(),1);var Pi=M(F(),1),d5=M(Lv(),1);var[bW,Gue]=qe({strict:!1,name:"PortalContext"}),p5="chakra-portal",$ue=".chakra-portal",que=e=>(0,iu.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),Xue=e=>{let{appendToParentPortal:t,children:o}=e,[r,n]=(0,Pi.useState)(null),a=(0,Pi.useRef)(null),[,s]=(0,Pi.useState)({});(0,Pi.useEffect)(()=>s({}),[]);let i=Gue(),l=CO();ms(()=>{if(!r)return;let u=r.ownerDocument,m=t?i??u.body:u.body;if(!m)return;a.current=u.createElement("div"),a.current.className=p5,m.appendChild(a.current),s({});let f=a.current;return()=>{m.contains(f)&&m.removeChild(f)}},[r]);let c=l?.zIndex?(0,iu.jsx)(que,{zIndex:l?.zIndex,children:o}):o;return a.current?(0,d5.createPortal)((0,iu.jsx)(bW,{value:a.current,children:c}),a.current):(0,iu.jsx)("span",{ref:u=>{u&&n(u)}})},Yue=e=>{let{children:t,containerRef:o,appendToParentPortal:r}=e,n=o.current,a=n??(typeof window<"u"?document.body:void 0),s=(0,Pi.useMemo)(()=>{let l=n?.ownerDocument.createElement("div");return l&&(l.className=p5),l},[n]),[,i]=(0,Pi.useState)({});return ms(()=>i({}),[]),ms(()=>{if(!(!s||!a))return a.appendChild(s),()=>{a.removeChild(s)}},[s,a]),a&&s?(0,d5.createPortal)((0,iu.jsx)(bW,{value:r?s:null,children:t}),s):null};function Hl(e){let t={appendToParentPortal:!0,...e},{containerRef:o,...r}=t;return o?(0,iu.jsx)(Yue,{containerRef:o,...r}):(0,iu.jsx)(Xue,{...r})}Hl.className=p5;Hl.selector=$ue;Hl.displayName="Portal";var[SW,xW]=qe({name:"ToastOptionsContext",strict:!1}),IW=e=>{let t=(0,yW.useSyncExternalStore)(hs.subscribe,hs.getState,hs.getState),{motionVariants:o,component:r=i5,portalProps:n,animatePresenceProps:a}=e,i=Object.keys(t).map(l=>{let c=t[l];return(0,v1.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${l}`,id:`chakra-toast-manager-${l}`,style:Xz(l),children:(0,v1.jsx)(Us,{...a,initial:!1,children:c.map(u=>(0,v1.jsx)(r,{motionVariants:o,...u},u.id))})},l)});return(0,v1.jsx)(Hl,{...n,children:i})};var vW=e=>function({children:o,theme:r=e,toastOptions:n,...a}){return(0,C1.jsxs)(TO,{theme:r,...a,children:[(0,C1.jsx)(SW,{value:n?.defaultOptions,children:o}),(0,C1.jsx)(IW,{...n})]})};var h5=vW(wS);var w1=M(F(),1);var MI=M(F(),1);function g5(e){return e.sort((t,o)=>{let r=t.compareDocumentPosition(o);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var CW=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function b5(e,t,o){let r=e+1;return o&&r>=t&&(r=0),r}function y5(e,t,o){let r=e-1;return o&&r<0&&(r=t),r}var LI=typeof window<"u"?MI.useLayoutEffect:MI.useEffect,S5=e=>e;var Kue=Object.defineProperty,Que=(e,t,o)=>t in e?Kue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ao=(e,t,o)=>(Que(e,typeof t!="symbol"?t+"":t,o),o),PI=class{constructor(){Ao(this,"descendants",new Map),Ao(this,"register",t=>{if(t!=null)return CW(t)?this.registerNode(t):o=>{this.registerNode(o,t)}}),Ao(this,"unregister",t=>{this.descendants.delete(t);let o=g5(Array.from(this.descendants.keys()));this.assignIndex(o)}),Ao(this,"destroy",()=>{this.descendants.clear()}),Ao(this,"assignIndex",t=>{this.descendants.forEach(o=>{let r=t.indexOf(o.node);o.index=r,o.node.dataset.index=o.index.toString()})}),Ao(this,"count",()=>this.descendants.size),Ao(this,"enabledCount",()=>this.enabledValues().length),Ao(this,"values",()=>Array.from(this.descendants.values()).sort((o,r)=>o.index-r.index)),Ao(this,"enabledValues",()=>this.values().filter(t=>!t.disabled)),Ao(this,"item",t=>{if(this.count()!==0)return this.values()[t]}),Ao(this,"enabledItem",t=>{if(this.enabledCount()!==0)return this.enabledValues()[t]}),Ao(this,"first",()=>this.item(0)),Ao(this,"firstEnabled",()=>this.enabledItem(0)),Ao(this,"last",()=>this.item(this.descendants.size-1)),Ao(this,"lastEnabled",()=>{let t=this.enabledValues().length-1;return this.enabledItem(t)}),Ao(this,"indexOf",t=>t?this.descendants.get(t)?.index??-1:-1),Ao(this,"enabledIndexOf",t=>t==null?-1:this.enabledValues().findIndex(o=>o.node.isSameNode(t))),Ao(this,"next",(t,o=!0)=>{let r=b5(t,this.count(),o);return this.item(r)}),Ao(this,"nextEnabled",(t,o=!0)=>{let r=this.item(t);if(!r)return;let n=this.enabledIndexOf(r.node),a=b5(n,this.enabledCount(),o);return this.enabledItem(a)}),Ao(this,"prev",(t,o=!0)=>{let r=y5(t,this.count()-1,o);return this.item(r)}),Ao(this,"prevEnabled",(t,o=!0)=>{let r=this.item(t);if(!r)return;let n=this.enabledIndexOf(r.node),a=y5(n,this.enabledCount()-1,o);return this.enabledItem(a)}),Ao(this,"registerNode",(t,o)=>{if(!t||this.descendants.has(t))return;let r=Array.from(this.descendants.keys()).concat(t),n=g5(r);o?.disabled&&(o.disabled=!!o.disabled);let a={node:t,index:-1,...o};this.descendants.set(t,a),this.assignIndex(n)})}};function wW(){let[e,t]=qe({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});return[e,t,()=>{let n=(0,w1.useRef)(new PI);return LI(()=>()=>n.current.destroy()),n.current},n=>{let a=t(),[s,i]=(0,w1.useState)(-1),l=(0,w1.useRef)(null);LI(()=>()=>{l.current&&a.unregister(l.current)},[]),LI(()=>{if(!l.current)return;let u=Number(l.current.dataset.index);s!=u&&!Number.isNaN(u)&&i(u)});let c=n?S5(a.register(n)):S5(a.register);return{descendants:a,index:s,enabledIndex:a.enabledIndexOf(l.current),register:mo(c,l)}}]}var EI={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},T1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function BI(e){switch(e?.direction??"right"){case"right":return T1.slideRight;case"left":return T1.slideLeft;case"bottom":return T1.slideDown;case"top":return T1.slideUp;default:return T1.slideRight}}var x5={enter:{duration:.2,ease:EI.easeOut},exit:{duration:.1,ease:EI.easeIn}},Zp={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t?.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t?.exit})};var jp=M(oe(),1);var EW=M(F(),1);var[TW,AW]=qe({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"});var RI=M(oe(),1),PW=M(F(),1);var kW=M(oe(),1);function MW(e){let t=e.trim().split(" "),o=t[0]??"",r=t.length>1?t[t.length-1]:"";return o&&r?`${o.charAt(0)}${r.charAt(0)}`:o.charAt(0)}function I5(e){let{name:t,getInitials:o,...r}=e,n=AW();return(0,kW.jsx)(K.div,{role:"img","aria-label":t,...r,__css:n.label,children:t?o?.(t):null})}I5.displayName="AvatarName";var A1=M(oe(),1);var DI=e=>(0,A1.jsxs)(K.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[(0,A1.jsx)("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),(0,A1.jsx)("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]});var lu=M(F(),1);function LW(e){let{loading:t,src:o,srcSet:r,onLoad:n,onError:a,crossOrigin:s,sizes:i,ignoreFallback:l}=e,[c,u]=(0,lu.useState)("pending");(0,lu.useEffect)(()=>{u(o?"loading":"pending")},[o]);let m=(0,lu.useRef)(null),f=(0,lu.useCallback)(()=>{if(!o)return;d();let p=new Image;p.src=o,s&&(p.crossOrigin=s),r&&(p.srcset=r),i&&(p.sizes=i),t&&(p.loading=t),p.onload=h=>{d(),u("loaded"),n?.(h)},p.onerror=h=>{d(),u("failed"),a?.(h)},m.current=p},[o,s,r,i,n,a,t]),d=()=>{m.current&&(m.current.onload=null,m.current.onerror=null,m.current=null)};return ms(()=>{if(!l)return c==="loading"&&f(),()=>{d()}},[c,f,l]),l?"loaded":c}function v5(e){let{src:t,srcSet:o,onError:r,onLoad:n,getInitials:a,name:s,borderRadius:i,loading:l,iconLabel:c,icon:u=(0,RI.jsx)(DI,{}),ignoreFallback:m,referrerPolicy:f,crossOrigin:d}=e,h=LW({src:t,onError:r,crossOrigin:d,ignoreFallback:m})==="loaded";return!t||!h?s?(0,RI.jsx)(I5,{className:"chakra-avatar__initials",getInitials:a,name:s}):(0,PW.cloneElement)(u,{role:"img","aria-label":c}):(0,RI.jsx)(K.img,{src:t,srcSet:o,alt:s??c,onLoad:n,referrerPolicy:f,crossOrigin:d??void 0,className:"chakra-avatar__img",loading:l,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:i}})}v5.displayName="AvatarImage";var Jue={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},Gp=ue((e,t)=>{let o=To("Avatar",e),[r,n]=(0,EW.useState)(!1),{src:a,srcSet:s,name:i,showBorder:l,borderRadius:c="full",onError:u,onLoad:m,getInitials:f=MW,icon:d=(0,jp.jsx)(DI,{}),iconLabel:p=" avatar",loading:h,children:S,borderColor:g,ignoreFallback:b,crossOrigin:I,referrerPolicy:v,...C}=Xe(e),T={borderRadius:c,borderWidth:l?"2px":void 0,...Jue,...o.container};return g&&(T.borderColor=g),(0,jp.jsx)(K.span,{ref:t,...C,className:xe("chakra-avatar",e.className),"data-loaded":Me(r),__css:T,children:(0,jp.jsxs)(TW,{value:o,children:[(0,jp.jsx)(v5,{src:a,srcSet:s,loading:h,onLoad:Ue(m,()=>{n(!0)}),onError:u,getInitials:f,name:i,borderRadius:c,icon:d,iconLabel:p,ignoreFallback:b,crossOrigin:I,referrerPolicy:v}),S]})})});Gp.displayName="Avatar";var BW=M(oe(),1);var $=ue(function(t,o){let r=fo("Badge",t),{className:n,...a}=Xe(t);return(0,BW.jsx)(K.span,{ref:o,className:xe("chakra-badge",t.className),...a,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});$.displayName="Badge";var E=K("div");E.displayName="Box";var Ln=M(oe(),1);var OW=M(F(),1);var[$Ve,DW]=qe({strict:!1,name:"ButtonGroupContext"});var RW=M(oe(),1);var _I=M(F(),1);function $p(e){let{children:t,className:o,...r}=e,n=(0,_I.isValidElement)(t)?(0,_I.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,a=xe("chakra-button__icon",o);return(0,RW.jsx)(K.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:a,children:n})}$p.displayName="ButtonIcon";var C5=M(oe(),1);var _W=M(F(),1);function FI(e){let{label:t,placement:o,spacing:r="0.5rem",children:n=(0,C5.jsx)(su,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:s,...i}=e,l=xe("chakra-button__spinner",a),c=o==="start"?"marginEnd":"marginStart",u=(0,_W.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?r:0,fontSize:"1em",lineHeight:"normal",...s}),[s,t,c,r]);return(0,C5.jsx)(K.div,{className:l,...i,__css:u,children:n})}FI.displayName="ButtonSpinner";var HI=M(F(),1);function FW(e){let[t,o]=(0,HI.useState)(!e);return{ref:(0,HI.useCallback)(a=>{a&&o(a.tagName==="BUTTON")},[]),type:t?"button":void 0}}var gt=ue((e,t)=>{let o=DW(),r=fo("Button",{...o,...e}),{isDisabled:n=o?.isDisabled,isLoading:a,isActive:s,children:i,leftIcon:l,rightIcon:c,loadingText:u,iconSpacing:m="0.5rem",type:f,spinner:d,spinnerPlacement:p="start",className:h,as:S,shouldWrapChildren:g,...b}=Xe(e),I=(0,OW.useMemo)(()=>{let w={...r?._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!o&&{_focus:w}}},[r,o]),{ref:v,type:C}=FW(S),T={rightIcon:c,leftIcon:l,iconSpacing:m,children:i,shouldWrapChildren:g};return(0,Ln.jsxs)(K.button,{disabled:n||a,ref:w3(t,v),as:S,type:f??C,"data-active":Me(s),"data-loading":Me(a),__css:I,className:xe("chakra-button",h),...b,children:[a&&p==="start"&&(0,Ln.jsx)(FI,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:m,children:d}),a?u||(0,Ln.jsx)(K.span,{opacity:0,children:(0,Ln.jsx)(HW,{...T})}):(0,Ln.jsx)(HW,{...T}),a&&p==="end"&&(0,Ln.jsx)(FI,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:m,children:d})]})});gt.displayName="Button";function HW(e){let{leftIcon:t,rightIcon:o,children:r,iconSpacing:n,shouldWrapChildren:a}=e;return a?(0,Ln.jsxs)("span",{style:{display:"contents"},children:[t&&(0,Ln.jsx)($p,{marginEnd:n,children:t}),r,o&&(0,Ln.jsx)($p,{marginStart:n,children:o})]}):(0,Ln.jsxs)(Ln.Fragment,{children:[t&&(0,Ln.jsx)($p,{marginEnd:n,children:t}),r,o&&(0,Ln.jsx)($p,{marginStart:n,children:o})]})}var Fm=M(oe(),1);var zI=M(F(),1);var[hNe,VW]=qe({name:"CheckboxGroupContext",strict:!1});var Rm=M(oe(),1);function eme(e){return(0,Rm.jsx)(K.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,Rm.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function tme(e){return(0,Rm.jsx)(K.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,Rm.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function NW(e){let{isIndeterminate:t,isChecked:o,...r}=e,n=t?tme:eme;return o||t?(0,Rm.jsx)(K.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,Rm.jsx)(n,{...r})}):null}var zW=()=>typeof document<"u";var WW=!1,k1=null,_m=!1,w5=!1,T5=new Set;function A5(e,t){T5.forEach(o=>o(e,t))}var ome=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function rme(e){return!(e.metaKey||!ome&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function UW(e){_m=!0,rme(e)&&(k1="keyboard",A5("keyboard",e))}function qp(e){if(k1="pointer",e.type==="mousedown"||e.type==="pointerdown"){_m=!0;let t=e.composedPath?e.composedPath()[0]:e.target,o=!1;try{o=t.matches(":focus-visible")}catch{}if(o)return;A5("pointer",e)}}function nme(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function ame(e){nme(e)&&(_m=!0,k1="virtual")}function sme(e){e.target===window||e.target===document||e.target instanceof Element&&e.target.hasAttribute("tabindex")||(!_m&&!w5&&(k1="virtual",A5("virtual",e)),_m=!1,w5=!1)}function ime(){_m=!1,w5=!0}function ZW(){return k1!=="pointer"}function lme(){if(!zW()||WW)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...o){_m=!0,e.apply(this,o)},document.addEventListener("keydown",UW,!0),document.addEventListener("keyup",UW,!0),document.addEventListener("click",ame,!0),window.addEventListener("focus",sme,!0),window.addEventListener("blur",ime,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",qp,!0),document.addEventListener("pointermove",qp,!0),document.addEventListener("pointerup",qp,!0)):(document.addEventListener("mousedown",qp,!0),document.addEventListener("mousemove",qp,!0),document.addEventListener("mouseup",qp,!0)),WW=!0}function OI(e){lme(),e(ZW());let t=()=>e(ZW());return T5.add(t),()=>{T5.delete(t)}}var _r=M(F(),1);var M1=M(oe(),1);var gs=M(F(),1);var[cme,VI]=qe({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "<FormControl />" `}),[ume,Ol]=qe({strict:!1,name:"FormControlContext"});function mme(e){let{id:t,isRequired:o,isInvalid:r,isDisabled:n,isReadOnly:a,...s}=e,i=(0,gs.useId)(),l=t||`field-${i}`,c=`${l}-label`,u=`${l}-feedback`,m=`${l}-helptext`,[f,d]=(0,gs.useState)(!1),[p,h]=(0,gs.useState)(!1),[S,g]=(0,gs.useState)(!1),b=(0,gs.useCallback)((w={},P=null)=>({id:m,...w,ref:mo(P,k=>{k&&h(!0)})}),[m]),I=(0,gs.useCallback)((w={},P=null)=>({...w,ref:P,"data-focus":Me(S),"data-disabled":Me(n),"data-invalid":Me(r),"data-readonly":Me(a),id:w.id!==void 0?w.id:c,htmlFor:w.htmlFor!==void 0?w.htmlFor:l}),[l,n,S,r,a,c]),v=(0,gs.useCallback)((w={},P=null)=>({id:u,...w,ref:mo(P,k=>{k&&d(!0)}),"aria-live":"polite"}),[u]),C=(0,gs.useCallback)((w={},P=null)=>({...w,...s,ref:P,role:"group","data-focus":Me(S),"data-disabled":Me(n),"data-invalid":Me(r),"data-readonly":Me(a)}),[s,n,S,r,a]),T=(0,gs.useCallback)((w={},P=null)=>({...w,ref:P,role:"presentation","aria-hidden":!0,children:w.children||"*"}),[]);return{isRequired:!!o,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!n,isFocused:!!S,onFocus:()=>g(!0),onBlur:()=>g(!1),hasFeedbackText:f,setHasFeedbackText:d,hasHelpText:p,setHasHelpText:h,id:l,labelId:c,feedbackId:u,helpTextId:m,htmlProps:s,getHelpTextProps:b,getErrorMessageProps:v,getRootProps:C,getLabelProps:I,getRequiredIndicatorProps:T}}var Xp=ue(function(t,o){let r=To("Form",t),n=Xe(t),{getRootProps:a,htmlProps:s,...i}=mme(n),l=xe("chakra-form-control",t.className);return(0,M1.jsx)(ume,{value:i,children:(0,M1.jsx)(cme,{value:r,children:(0,M1.jsx)(K.div,{...a({},o),className:l,__css:r.container})})})});Xp.displayName="FormControl";var jW=ue(function(t,o){let r=Ol(),n=VI(),a=xe("chakra-form__helper-text",t.className);return(0,M1.jsx)(K.div,{...r?.getHelpTextProps(t,o),__css:n.helperText,className:a})});jW.displayName="FormHelperText";function GW(e){let{isDisabled:t,isInvalid:o,isReadOnly:r,isRequired:n,...a}=k5(e);return{...a,disabled:t,readOnly:r,required:n,"aria-invalid":ml(o),"aria-required":ml(n),"aria-readonly":ml(r)}}function k5(e){let t=Ol(),{id:o,disabled:r,readOnly:n,required:a,isRequired:s,isInvalid:i,isReadOnly:l,isDisabled:c,onFocus:u,onBlur:m,...f}=e,d=e["aria-describedby"]?[e["aria-describedby"]]:[];return t?.hasFeedbackText&&t?.isInvalid&&d.push(t.feedbackId),t?.hasHelpText&&d.push(t.helpTextId),{...f,"aria-describedby":d.join(" ")||void 0,id:o??t?.id,isDisabled:r??c??t?.isDisabled,isReadOnly:n??l??t?.isReadOnly,isRequired:a??s??t?.isRequired,isInvalid:i??t?.isInvalid,onFocus:Ue(t?.onFocus,u),onBlur:Ue(t?.onBlur,m)}}var NI={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function $W(e={}){let t=k5(e),{isDisabled:o,isReadOnly:r,isRequired:n,isInvalid:a,id:s,onBlur:i,onFocus:l,"aria-describedby":c}=t,{defaultChecked:u,isChecked:m,isFocusable:f,onChange:d,isIndeterminate:p,name:h,value:S,tabIndex:g=void 0,"aria-label":b,"aria-labelledby":I,"aria-invalid":v,...C}=e,T=fl(C,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),w=kn(d),P=kn(i),k=kn(l),[D,H]=(0,_r.useState)(!1),[j,se]=(0,_r.useState)(!1),[X,le]=(0,_r.useState)(!1),re=(0,_r.useRef)(!1);(0,_r.useEffect)(()=>OI(ce=>{re.current=ce}),[]);let W=(0,_r.useRef)(null),[de,q]=(0,_r.useState)(!0),[me,he]=(0,_r.useState)(!!u),pe=m!==void 0,Y=pe?m:me,ee=(0,_r.useCallback)(ce=>{if(r||o){ce.preventDefault();return}pe||he(Y?ce.currentTarget.checked:p?!0:ce.currentTarget.checked),w?.(ce)},[r,o,Y,pe,p,w]);ms(()=>{W.current&&(W.current.indeterminate=!!p)},[p]),Td(()=>{o&&H(!1)},[o,H]),ms(()=>{let ce=W.current;if(!ce?.form)return;let Pe=()=>{he(!!u)};return ce.form.addEventListener("reset",Pe),()=>ce.form?.removeEventListener("reset",Pe)},[]);let J=o&&!f,ge=(0,_r.useCallback)(ce=>{ce.key===" "&&le(!0)},[le]),_=(0,_r.useCallback)(ce=>{ce.key===" "&&le(!1)},[le]);ms(()=>{if(!W.current)return;W.current.checked!==Y&&he(W.current.checked)},[W.current]);let fe=(0,_r.useCallback)((ce={},Pe=null)=>{let Te=De=>{D&&De.preventDefault(),le(!0)};return{...ce,ref:Pe,"data-active":Me(X),"data-hover":Me(j),"data-checked":Me(Y),"data-focus":Me(D),"data-focus-visible":Me(D&&re.current),"data-indeterminate":Me(p),"data-disabled":Me(o),"data-invalid":Me(a),"data-readonly":Me(r),"aria-hidden":!0,onMouseDown:Ue(ce.onMouseDown,Te),onMouseUp:Ue(ce.onMouseUp,()=>le(!1)),onMouseEnter:Ue(ce.onMouseEnter,()=>se(!0)),onMouseLeave:Ue(ce.onMouseLeave,()=>se(!1))}},[X,Y,o,D,j,p,a,r]),Ce=(0,_r.useCallback)((ce={},Pe=null)=>({...ce,ref:Pe,"data-active":Me(X),"data-hover":Me(j),"data-checked":Me(Y),"data-focus":Me(D),"data-focus-visible":Me(D&&re.current),"data-indeterminate":Me(p),"data-disabled":Me(o),"data-invalid":Me(a),"data-readonly":Me(r)}),[X,Y,o,D,j,p,a,r]),ie=(0,_r.useCallback)((ce={},Pe=null)=>({...T,...ce,ref:mo(Pe,Te=>{Te&&q(Te.tagName==="LABEL")}),onClick:Ue(ce.onClick,()=>{de||(W.current?.click(),requestAnimationFrame(()=>{W.current?.focus({preventScroll:!0})}))}),"data-disabled":Me(o),"data-checked":Me(Y),"data-invalid":Me(a)}),[T,o,Y,a,de]),Ae=(0,_r.useCallback)((ce={},Pe=null)=>({...ce,ref:mo(W,Pe),type:"checkbox",name:h,value:S,id:s,tabIndex:g,onChange:Ue(ce.onChange,ee),onBlur:Ue(ce.onBlur,P,()=>H(!1)),onFocus:Ue(ce.onFocus,k,()=>H(!0)),onKeyDown:Ue(ce.onKeyDown,ge),onKeyUp:Ue(ce.onKeyUp,_),required:n,checked:Y,disabled:J,readOnly:r,"aria-label":b,"aria-labelledby":I,"aria-invalid":v?!!v:a,"aria-describedby":c,"aria-disabled":o,"aria-checked":p?"mixed":Y,style:NI}),[h,S,s,g,ee,P,k,ge,_,n,Y,J,r,b,I,v,a,c,o,p]),ye=(0,_r.useCallback)((ce={},Pe=null)=>({...ce,ref:Pe,onMouseDown:Ue(ce.onMouseDown,fme),"data-disabled":Me(o),"data-checked":Me(Y),"data-invalid":Me(a)}),[Y,o,a]);return{state:{isInvalid:a,isFocused:D,isChecked:Y,isActive:X,isHovered:j,isIndeterminate:p,isDisabled:o,isReadOnly:r,isRequired:n},getRootProps:ie,getCheckboxProps:fe,getIndicatorProps:Ce,getInputProps:Ae,getLabelProps:ye,htmlProps:T}}function fme(e){e.preventDefault(),e.stopPropagation()}var M5=M(F(),1);function qW(e){let[t,o]=(0,M5.useState)(e),[r,n]=(0,M5.useState)(!1);return e!==t&&(n(!0),o(e)),r}var dme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},pme={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},hme=Ws({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),gme=Ws({from:{opacity:0},to:{opacity:1}}),bme=Ws({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),WI=ue(function(t,o){let r=VW(),n={...r,...t},a=To("Checkbox",n),s=Xe(t),{spacing:i="0.5rem",className:l,children:c,iconColor:u,iconSize:m,icon:f=(0,Fm.jsx)(NW,{}),isChecked:d,isDisabled:p=r?.isDisabled,onChange:h,inputProps:S,...g}=s,b=d;r?.value&&s.value&&(b=r.value.includes(s.value));let I=h;r?.onChange&&s.value&&(I=fg(r.onChange,h));let{state:v,getInputProps:C,getCheckboxProps:T,getLabelProps:w,getRootProps:P}=$W({...g,isDisabled:p,isChecked:b,onChange:I}),k=qW(v.isChecked),D=(0,zI.useMemo)(()=>({animation:k?v.isIndeterminate?`${gme} 20ms linear, ${bme} 200ms linear`:`${hme} 200ms linear`:void 0,...a.icon,...nm({fontSize:m,color:u})}),[u,m,k,v.isIndeterminate,a.icon]),H=(0,zI.cloneElement)(f,{__css:D,isIndeterminate:v.isIndeterminate,isChecked:v.isChecked});return(0,Fm.jsxs)(K.label,{__css:{...pme,...a.container},className:xe("chakra-checkbox",l),...P(),children:[(0,Fm.jsx)("input",{className:"chakra-checkbox__input",...C(S,o)}),(0,Fm.jsx)(K.span,{__css:{...dme,...a.control},className:"chakra-checkbox__control",...T(),children:H}),c&&(0,Fm.jsx)(K.span,{className:"chakra-checkbox__label",...w(),__css:{marginStart:i,...a.label},children:c})]})});WI.displayName="Checkbox";var XW=M(oe(),1);var io=ue(function(t,o){let{borderLeftWidth:r,borderBottomWidth:n,borderTopWidth:a,borderRightWidth:s,borderWidth:i,borderStyle:l,borderColor:c,...u}=fo("Divider",t),{className:m,orientation:f="horizontal",__css:d,...p}=Xe(t),h={vertical:{borderLeftWidth:r||s||i||"1px",height:"100%"},horizontal:{borderBottomWidth:n||a||i||"1px",width:"100%"}};return(0,XW.jsx)(K.hr,{ref:o,"aria-orientation":f,...p,__css:{...u,border:"0",borderColor:c,borderStyle:l,...h[f],...d},className:xe("chakra-divider",m)})});io.displayName="Divider";function L1(e){return typeof e=="function"}function yme(...e){return t=>e.reduce((o,r)=>r(o),t)}var L5=e=>function(...o){let r=[...o],n=o[o.length-1];return HT(n)&&r.length>1?r=r.slice(0,r.length-1):n=e,yme(...r.map(a=>s=>L1(a)?a(s):YW(s,a)))(n)},P5=L5(wS),Sme=L5(gH);function YW(...e){return(0,Zr.default)({},...e,KW)}function KW(e,t,o,r){if((L1(e)||L1(t))&&Object.prototype.hasOwnProperty.call(r,o))return(...n)=>{let a=L1(e)?e(...n):e,s=L1(t)?t(...n):t;return(0,Zr.default)({},a,s,KW)};if(Et(e)&&mg(t)||mg(e)&&Et(t))return t}var QU=M(oe(),1);function QW(e,t){if(e==null)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;o[r]=e[r]}return o}var i4=M(F());var Wt=M(F());var P1="data-focus-lock",UI="data-focus-lock-disabled",JW="data-no-focus-lock",eU="data-autofocus-inside",tU="data-no-autofocus";function ZI(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var oU=M(F());function rU(e,t){var o=(0,oU.useState)(function(){return{value:e,callback:t,facade:{get current(){return o.value},set current(r){var n=o.value;n!==r&&(o.value=r,o.callback(r,n))}}}})[0];return o.callback=t,o.facade}var jI=M(F());var xme=typeof window<"u"?jI.useLayoutEffect:jI.useEffect,nU=new WeakMap;function E1(e,t){var o=rU(t||null,function(r){return e.forEach(function(n){return ZI(n,r)})});return xme(function(){var r=nU.get(o);if(r){var n=new Set(r),a=new Set(e),s=o.current;n.forEach(function(i){a.has(i)||ZI(i,null)}),a.forEach(function(i){n.has(i)||ZI(i,s)})}nU.set(o,e)},[e]),o}var Yp=M(F());var Kp={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},Ime=function(t){var o=t.children,r=o===void 0?null:o;return Yp.default.createElement(Yp.Fragment,null,Yp.default.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Kp}),r,r&&Yp.default.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Kp}))};Ime.propTypes={};var ua=function(){return ua=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a])}return t},ua.apply(this,arguments)};function GI(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o}function aU(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,a;r<n;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function sU(e){return e}function iU(e,t){t===void 0&&(t=sU);var o=[],r=!1,n={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:e},useMedium:function(a){var s=t(a,r);return o.push(s),function(){o=o.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(r=!0;o.length;){var s=o;o=[],s.forEach(a)}o={push:function(i){return a(i)},filter:function(){return o}}},assignMedium:function(a){r=!0;var s=[];if(o.length){var i=o;o=[],i.forEach(a),s=o}var l=function(){var u=s;s=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),o={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),o}}}};return n}function B1(e,t){return t===void 0&&(t=sU),iU(e,t)}function D1(e){e===void 0&&(e={});var t=iU(null);return t.options=ua({async:!0,ssr:!1},e),t}var lU=M(F()),cU=function(e){var t=e.sideCar,o=GI(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return lU.createElement(r,ua({},o))};cU.isSideCarExport=!0;function E5(e,t){return e.useMedium(t),cU}var $I=B1({},function(e){var t=e.target,o=e.currentTarget;return{target:t,currentTarget:o}}),qI=B1(),uU=B1(),mU=D1({async:!0,ssr:typeof document<"u"});var fU=M(F()),dU=(0,fU.createContext)(void 0);var vme=[],pU=(0,Wt.forwardRef)(function(t,o){var r,n=(0,Wt.useState)(),a=n[0],s=n[1],i=(0,Wt.useRef)(),l=(0,Wt.useRef)(!1),c=(0,Wt.useRef)(null),u=(0,Wt.useState)({}),m=u[1],f=t.children,d=t.disabled,p=d===void 0?!1:d,h=t.noFocusGuards,S=h===void 0?!1:h,g=t.persistentFocus,b=g===void 0?!1:g,I=t.crossFrame,v=I===void 0?!0:I,C=t.autoFocus,T=C===void 0?!0:C,w=t.allowTextSelection,P=t.group,k=t.className,D=t.whiteList,H=t.hasPositiveIndices,j=t.shards,se=j===void 0?vme:j,X=t.as,le=X===void 0?"div":X,re=t.lockProps,W=re===void 0?{}:re,de=t.sideCar,q=t.returnFocus,me=q===void 0?!1:q,he=t.focusOptions,pe=t.onActivation,Y=t.onDeactivation,ee=(0,Wt.useState)({}),J=ee[0],ge=(0,Wt.useCallback)(function(De){var Ct=De.captureFocusRestore;if(!c.current){var He,We=(He=document)==null?void 0:He.activeElement;c.current=We,We!==document.body&&(c.current=Ct(We))}i.current&&pe&&pe(i.current),l.current=!0,m()},[pe]),_=(0,Wt.useCallback)(function(){l.current=!1,Y&&Y(i.current),m()},[Y]),fe=(0,Wt.useCallback)(function(De){var Ct=c.current;if(Ct){var He=(typeof Ct=="function"?Ct():Ct)||document.body,We=typeof me=="function"?me(He):me;if(We){var Qe=typeof We=="object"?We:void 0;c.current=null,De?Promise.resolve().then(function(){return He.focus(Qe)}):He.focus(Qe)}}},[me]),Ce=(0,Wt.useCallback)(function(De){l.current&&$I.useMedium(De)},[]),ie=qI.useMedium,Ae=(0,Wt.useCallback)(function(De){i.current!==De&&(i.current=De,s(De))},[]),ye=zs((r={},r[UI]=p&&"disabled",r[P1]=P,r),W),Be=S!==!0,ce=Be&&S!=="tail",Pe=E1([o,Ae]),Te=(0,Wt.useMemo)(function(){return{observed:i,shards:se,enabled:!p,get active(){return l.current}}},[p,l,se,i]);return Wt.default.createElement(Wt.Fragment,null,Be&&[Wt.default.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:Kp}),H?Wt.default.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:Kp}):null],!p&&Wt.default.createElement(de,{id:J,sideCar:mU,observed:a,disabled:p,persistentFocus:b,crossFrame:v,autoFocus:T,whiteList:D,shards:se,onActivation:ge,onDeactivation:_,returnFocus:fe,focusOptions:he,noFocusGuards:S}),Wt.default.createElement(le,zs({ref:Pe},ye,{className:k,onBlur:ie,onFocus:Ce}),Wt.default.createElement(dU.Provider,{value:Te},f)),ce&&Wt.default.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:Kp}))});pU.propTypes={};var B5=pU;var NU=M(F());function XI(e,t){return XI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},XI(e,t)}function hU(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,XI(e,t)}function Hm(e){"@babel/helpers - typeof";return Hm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hm(e)}function gU(e,t){if(Hm(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,t||"default");if(Hm(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bU(e){var t=gU(e,"string");return Hm(t)=="symbol"?t:t+""}function yU(e,t,o){return(t=bU(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var YI=M(F());function Cme(e,t){function o(r){return r.displayName||r.name||"Component"}return function(n){var a=[],s;function i(){s=e(a.map(function(c){return c.props})),t(s)}var l=(function(c){hU(u,c);function u(){return c.apply(this,arguments)||this}u.peek=function(){return s};var m=u.prototype;return m.componentDidMount=function(){a.push(this),i()},m.componentDidUpdate=function(){i()},m.componentWillUnmount=function(){var d=a.indexOf(this);a.splice(d,1),i()},m.render=function(){return YI.default.createElement(n,this.props)},u})(YI.PureComponent);return yU(l,"displayName","SideEffect("+o(n)+")"),l}}var SU=Cme;var Pn=function(e){for(var t=Array(e.length),o=0;o<e.length;++o)t[o]=e[o];return t},Gs=function(e){return Array.isArray(e)?e:[e]},KI=function(e){return Array.isArray(e)?e[0]:e};var wme=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},xU=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},IU=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Tme=function(e){return e.hasAttribute("inert")},Ame=function(e,t){return!e||IU(e)||!wme(e)&&!Tme(e)&&t(xU(e))},D5=function(e,t){var o=e.get(t);if(o!==void 0)return o;var r=Ame(t,D5.bind(void 0,e));return e.set(t,r),r},kme=function(e,t){return e&&!IU(e)?Lme(e)?t(xU(e)):!1:!0},R5=function(e,t){var o=e.get(t);if(o!==void 0)return o;var r=kme(t,R5.bind(void 0,e));return e.set(t,r),r},_5=function(e){return e.dataset},Mme=function(e){return e.tagName==="BUTTON"},vU=function(e){return e.tagName==="INPUT"},F5=function(e){return vU(e)&&e.type==="radio"},CU=function(e){return!((vU(e)||Mme(e))&&(e.type==="hidden"||e.disabled))},Lme=function(e){var t=e.getAttribute(tU);return![!0,"true",""].includes(t)},R1=function(e){var t;return!!(e&&(!((t=_5(e))===null||t===void 0)&&t.focusGuard))},_1=function(e){return!R1(e)},wU=function(e){return!!e};var Pme=function(e,t){var o=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),n=o-r,a=e.index-t.index;if(n){if(!o)return 1;if(!r)return-1}return n||a},Eme=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},F1=function(e,t,o){return Pn(e).map(function(r,n){var a=Eme(r);return{node:r,index:n,tabIndex:o&&a===-1?(r.dataset||{}).focusGuard?0:-1:a}}).filter(function(r){return!t||r.tabIndex>=0}).sort(Pme)};var TU=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"];var H5=TU.join(","),Bme="".concat(H5,", [data-focus-guard]"),AU=function(e,t){return Pn((e.shadowRoot||e).children).reduce(function(o,r){return o.concat(r.matches(t?Bme:H5)?[r]:[],AU(r))},[])},Dme=function(e,t){var o;return e instanceof HTMLIFrameElement&&(!((o=e.contentDocument)===null||o===void 0)&&o.body)?cu([e.contentDocument.body],t):[e]},cu=function(e,t){return e.reduce(function(o,r){var n,a=AU(r,t),s=(n=[]).concat.apply(n,a.map(function(i){return Dme(i,t)}));return o.concat(s,r.parentNode?Pn(r.parentNode.querySelectorAll(H5)).filter(function(i){return i===r}):[])},[])},kU=function(e){var t=e.querySelectorAll("[".concat(eU,"]"));return Pn(t).map(function(o){return cu([o])}).reduce(function(o,r){return o.concat(r)},[])};var O5=function(e,t){return Pn(e).filter(function(o){return D5(t,o)}).filter(function(o){return CU(o)})},V5=function(e,t){return t===void 0&&(t=new Map),Pn(e).filter(function(o){return R5(t,o)})},Qp=function(e,t,o){return F1(O5(cu(e,o),t),!0,o)},Vl=function(e,t){return F1(O5(cu(e),t),!1)},MU=function(e,t){return O5(kU(e),t)},$s=function(e,t){return e.shadowRoot?$s(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:Pn(e.children).some(function(o){var r;if(o instanceof HTMLIFrameElement){var n=(r=o.contentDocument)===null||r===void 0?void 0:r.body;return n?$s(n,t):!1}return $s(o,t)})};var Rme=function(e){for(var t=new Set,o=e.length,r=0;r<o;r+=1)for(var n=r+1;n<o;n+=1){var a=e[r].compareDocumentPosition(e[n]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(n),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(s,i){return!t.has(i)})},LU=function(e){return e.parentNode?LU(e.parentNode):e},Jp=function(e){var t=Gs(e);return t.filter(Boolean).reduce(function(o,r){var n=r.getAttribute(P1);return o.push.apply(o,n?Rme(Pn(LU(r).querySelectorAll("[".concat(P1,'="').concat(n,'"]:not([').concat(UI,'="disabled"])')))):[r]),o},[])};var PU=function(e){try{return e()}catch{return}};var uu=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?uu(t.shadowRoot):t instanceof HTMLIFrameElement&&PU(function(){return t.contentWindow.document})?uu(t.contentWindow.document):t}};var _me=function(e,t){return e===t},Fme=function(e,t){return!!Pn(e.querySelectorAll("iframe")).some(function(o){return _me(o,t)})},QI=function(e,t){return t===void 0&&(t=uu(KI(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:Jp(e).some(function(o){return $s(o,t)||Fme(o,t)})};var N5=function(e){e===void 0&&(e=document);var t=uu(e);return t?Pn(e.querySelectorAll("[".concat(JW,"]"))).some(function(o){return $s(o,t)}):!1};var Hme=function(e,t){return t.filter(F5).filter(function(o){return o.name===e.name}).filter(function(o){return o.checked})[0]||e},JI=function(e,t){return F5(e)&&e.name?Hme(e,t):e},EU=function(e){var t=new Set;return e.forEach(function(o){return t.add(JI(o,e))}),e.filter(function(o){return t.has(o)})};var z5=function(e){return e[0]&&e.length>1?JI(e[0],e):e[0]},W5=function(e,t){return e.indexOf(JI(t,e))};var e4="NEW_FOCUS",BU=function(e,t,o,r,n){var a=e.length,s=e[0],i=e[a-1],l=R1(r);if(!(r&&e.indexOf(r)>=0)){var c=r!==void 0?o.indexOf(r):-1,u=n?o.indexOf(n):c,m=n?e.indexOf(n):-1;if(c===-1)return m!==-1?m:e4;if(m===-1)return e4;var f=c-u,d=o.indexOf(s),p=o.indexOf(i),h=EU(o),S=r!==void 0?h.indexOf(r):-1,g=n?h.indexOf(n):S,b=h.filter(function(P){return P.tabIndex>=0}),I=r!==void 0?b.indexOf(r):-1,v=n?b.indexOf(n):I,C=I>=0&&v>=0?v-I:g-S;if(!f&&m>=0||t.length===0)return m;var T=W5(e,t[0]),w=W5(e,t[t.length-1]);if(c<=d&&l&&Math.abs(f)>1)return w;if(c>=p&&l&&Math.abs(f)>1)return T;if(f&&Math.abs(C)>1)return m;if(c<=d)return w;if(c>p)return T;if(f)return Math.abs(f)>1?m:(a+m+f)%a}};var Ome=function(e){return function(t){var o,r=(o=_5(t))===null||o===void 0?void 0:o.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},U5=function(e,t,o){var r=e.map(function(a){var s=a.node;return s}),n=V5(r.filter(Ome(o)));return n&&n.length?z5(n):z5(V5(t))};var j5=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&j5(e.parentNode.host||e.parentNode,t),t},Z5=function(e,t){for(var o=j5(e),r=j5(t),n=0;n<o.length;n+=1){var a=o[n];if(r.indexOf(a)>=0)return a}return!1},t4=function(e,t,o){var r=Gs(e),n=Gs(t),a=r[0],s=!1;return n.filter(Boolean).forEach(function(i){s=Z5(s||i,i)||s,o.filter(Boolean).forEach(function(l){var c=Z5(a,l);c&&(!s||$s(c,s)?s=c:s=Z5(c,s))})}),s},G5=function(e,t){return e.reduce(function(o,r){return o.concat(MU(r,t))},[])};var Vme=function(e,t){var o=new Map;return t.forEach(function(r){return o.set(r.node,r)}),e.map(function(r){return o.get(r)}).filter(wU)},DU=function(e,t){var o=uu(Gs(e).length>0?document:KI(e).ownerDocument),r=Jp(e).filter(_1),n=t4(o||e,e,r),a=new Map,s=Vl(r,a),i=s.filter(function(p){var h=p.node;return _1(h)});if(i[0]){var l=Vl([n],a).map(function(p){var h=p.node;return h}),c=Vme(l,i),u=c.map(function(p){var h=p.node;return h}),m=c.filter(function(p){var h=p.tabIndex;return h>=0}).map(function(p){var h=p.node;return h}),f=BU(u,m,l,o,t);if(f===e4){var d=U5(s,m,G5(r,a))||U5(s,u,G5(r,a));if(d)return{node:d};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:c[f]}};var $5=function(e){var t=Jp(e).filter(_1),o=t4(e,e,t),r=F1(cu([o],!0),!0,!0),n=cu(t,!1);return r.map(function(a){var s=a.node,i=a.index;return{node:s,index:i,lockItem:n.indexOf(s)>=0,guard:R1(s)}})};var H1=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())};var q5=0,X5=!1,o4=function(e,t,o){o===void 0&&(o={});var r=DU(e,t);if(!X5&&r){if(q5>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),X5=!0,setTimeout(function(){X5=!1},1);return}q5++,H1(r.node,o.focusOptions),q5--}};function O1(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return t?.deref()||null}}var Nme=function(e){if(!e)return null;for(var t=[],o=e;o&&o!==document.body;)t.push({current:O1(o),parent:O1(o.parentElement),left:O1(o.previousElementSibling),right:O1(o.nextElementSibling)}),o=o.parentElement;return{element:O1(e),stack:t,ownerDocument:e.ownerDocument}},zme=function(e){var t,o,r,n,a;if(e)for(var s=e.stack,i=e.ownerDocument,l=new Map,c=0,u=s;c<u.length;c++){var m=u[c],f=(t=m.parent)===null||t===void 0?void 0:t.call(m);if(f&&i.contains(f)){for(var d=(o=m.left)===null||o===void 0?void 0:o.call(m),p=m.current(),h=f.contains(p)?p:void 0,S=(r=m.right)===null||r===void 0?void 0:r.call(m),g=Qp([f],l),b=(a=(n=h??d?.nextElementSibling)!==null&&n!==void 0?n:S)!==null&&a!==void 0?a:d;b;){for(var I=0,v=g;I<v.length;I++){var C=v[I];if(b?.contains(C.node))return C.node}b=b.nextElementSibling}if(g.length)return g[0].node}}},r4=function(e){var t=Nme(e);return function(){return zme(t)}};var RU=function(e,t,o){if(!e||!t)return console.error("no element or scope given"),{};var r=Gs(t);if(r.every(function(s){return!$s(s,e)}))return console.error("Active element is not contained in the scope"),{};var n=o?Qp(r,new Map):Vl(r,new Map),a=n.findIndex(function(s){var i=s.node;return i===e});if(a!==-1)return{prev:n[a-1],next:n[a+1],first:n[0],last:n[n.length-1]}},Wme=function(e,t){var o=t?Qp(Gs(e),new Map):Vl(Gs(e),new Map);return{first:o[0],last:o[o.length-1]}},Ume=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},_U=function(e,t,o){t===void 0&&(t={});var r=Ume(t),n=RU(e,r.scope,r.onlyTabbable);if(n){var a=o(n,r.cycle);a&&H1(a.node,r.focusOptions)}},Y5=function(e,t){t===void 0&&(t={}),_U(e,t,function(o,r){var n=o.next,a=o.first;return n||r&&a})},K5=function(e,t){t===void 0&&(t={}),_U(e,t,function(o,r){var n=o.prev,a=o.last;return n||r&&a})},FU=function(e,t,o){var r,n=Wme(e,(r=t.onlyTabbable)!==null&&r!==void 0?r:!0),a=n[o];a&&H1(a.node,t.focusOptions)},Q5=function(e,t){t===void 0&&(t={}),FU(e,t,"first")},J5=function(e,t){t===void 0&&(t={}),FU(e,t,"last")};function n4(e){setTimeout(e,1)}var HU=function(t){return t&&"current"in t?t.current:t};var zU=function(){return document&&document.activeElement===document.body},Zme=function(){return zU()||N5()},e0=null,ma=null,OU=function(){return null},t0=null,V1=!1,ek=!1,jme=function(){return!0},Gme=function(t){return(e0.whiteList||jme)(t)},$me=function(t,o){t0={observerNode:t,portaledElement:o}},qme=function(t){return t0&&t0.portaledElement===t};function VU(e,t,o,r){var n=null,a=e;do{var s=r[a];if(s.guard)s.node.dataset.focusAutoGuard&&(n=s);else if(s.lockItem){if(a!==e)return;n=null}else break}while((a+=o)!==t);n&&(n.node.tabIndex=0)}var Xme=function(t){return t?!!V1:V1==="meanwhile"},Yme=function e(t,o,r){return o&&(o.host===t&&(!o.activeElement||r.contains(o.activeElement))||o.parentNode&&e(t,o.parentNode,r))},Kme=function(t,o){return o.some(function(r){return Yme(t,r,r)})},WU=function(t){return Vl(t,new Map)},Qme=function(t){return!WU([t.parentNode]).some(function(o){return o.node===t})},a4=function(){var t=!1;if(e0){var o=e0,r=o.observed,n=o.persistentFocus,a=o.autoFocus,s=o.shards,i=o.crossFrame,l=o.focusOptions,c=o.noFocusGuards,u=r||t0&&t0.portaledElement;if(zU()&&ma&&ma!==document.body&&(!document.body.contains(ma)||Qme(ma))){var m=OU();m&&m.focus()}var f=document&&document.activeElement;if(u){var d=[u].concat(s.map(HU).filter(Boolean)),p=function(){if(!Xme(i)||!c||!ma||ek)return!1;var I=WU(d),v=I.findIndex(function(C){var T=C.node;return T===ma});return v===0||v===I.length-1};if((!f||Gme(f))&&(n||p()||!Zme()||!ma&&a)&&(u&&!(QI(d)||f&&Kme(f,d)||qme(f,u))&&(document&&!ma&&f&&!a?(f.blur&&f.blur(),document.body.focus()):(t=o4(d,ma,{focusOptions:l}),t0={})),ma=document&&document.activeElement,ma!==document.body&&(OU=r4(ma)),V1=!1),document&&f!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var h=document&&document.activeElement,S=$5(d),g=S.map(function(b){var I=b.node;return I}).indexOf(h);g>-1&&(S.filter(function(b){var I=b.guard,v=b.node;return I&&v.dataset.focusAutoGuard}).forEach(function(b){var I=b.node;return I.removeAttribute("tabIndex")}),VU(g,S.length,1,S),VU(g,-1,-1,S))}}}return t},UU=function(t){a4()&&t&&(t.stopPropagation(),t.preventDefault())},s4=function(){return n4(a4)},ZU=function(t){var o=t.target,r=t.currentTarget;r.contains(o)||$me(r,o)},Jme=function(){return null},efe=function(t){var o=t.children;return NU.default.createElement("div",{onBlur:s4,onFocus:ZU},o)};efe.propTypes={};var jU=function(){ek=!0},GU=function(){ek=!1,V1="just",n4(function(){V1="meanwhile"})},tfe=function(){document.addEventListener("focusin",UU),document.addEventListener("focusout",s4),window.addEventListener("focus",jU),window.addEventListener("blur",GU)},ofe=function(){document.removeEventListener("focusin",UU),document.removeEventListener("focusout",s4),window.removeEventListener("focus",jU),window.removeEventListener("blur",GU)};function rfe(e){return e.filter(function(t){var o=t.disabled;return!o})}var $U={moveFocusInside:o4,focusInside:QI,focusNextElement:Y5,focusPrevElement:K5,focusFirstElement:Q5,focusLastElement:J5,captureFocusRestore:r4};function nfe(e){var t=e.slice(-1)[0];t&&!e0&&tfe();var o=e0,r=o&&t&&t.id===o.id;e0=t,o&&!r&&(o.onDeactivation(),e.filter(function(n){var a=n.id;return a===o.id}).length||o.returnFocus(!t)),t?(ma=null,(!r||o.observed!==t.observed)&&t.onActivation($U),a4(!0),n4(a4)):(ofe(),ma=null)}$I.assignSyncMedium(ZU);qI.assignMedium(s4);uU.assignMedium(function(e){return e($U)});var qU=SU(rfe,nfe)(Jme);var XU=(0,i4.forwardRef)(function(t,o){return i4.default.createElement(B5,zs({sideCar:qU,ref:o},t))}),YU=B5.propTypes||{},EUe=YU.sideCar,BUe=QW(YU,["sideCar"]);XU.propTypes={};var KU=XU;var tk=KU;var ok=M(F(),1),afe=tk.default??tk,rk=e=>{let{initialFocusRef:t,finalFocusRef:o,contentRef:r,restoreFocus:n,children:a,isDisabled:s,autoFocus:i,persistentFocus:l,lockFocusAcrossFrames:c}=e,u=(0,ok.useCallback)(()=>{t?.current?t.current.focus():r?.current&&s3(r.current).length===0&&requestAnimationFrame(()=>{r.current?.focus()})},[t,r]),m=(0,ok.useCallback)(()=>{o?.current?.focus()},[o]);return(0,QU.jsx)(afe,{crossFrame:c,persistentFocus:l,autoFocus:i,disabled:s,onActivation:u,onDeactivation:m,returnFocus:n&&!o,children:a})};rk.displayName="FocusLock";var N1=M(oe(),1);var l4=ue(function(t,o){let r=fo("FormLabel",t),n=Xe(t),{className:a,children:s,requiredIndicator:i=(0,N1.jsx)(nk,{}),optionalIndicator:l=null,...c}=n,u=Ol(),m=u?.getLabelProps(c,o)??{ref:o,...c};return(0,N1.jsxs)(K.label,{...m,className:xe("chakra-form__label",n.className),__css:{display:"block",textAlign:"start",...r},children:[s,u?.isRequired?i:l]})});l4.displayName="FormLabel";var nk=ue(function(t,o){let r=Ol(),n=VI();if(!r?.isRequired)return null;let a=xe("chakra-form__required-indicator",t.className);return(0,N1.jsx)(K.span,{...r?.getRequiredIndicatorProps(t,o),__css:n.requiredIndicator,className:a})});nk.displayName="RequiredIndicator";var JU=M(oe(),1);var ak=ue(function(t,o){let{templateAreas:r,gap:n,rowGap:a,columnGap:s,column:i,row:l,autoFlow:c,autoRows:u,templateRows:m,autoColumns:f,templateColumns:d,...p}=t,h={display:"grid",gridTemplateAreas:r,gridGap:n,gridRowGap:a,gridColumnGap:s,gridAutoColumns:f,gridColumn:i,gridRow:l,gridAutoFlow:c,gridAutoRows:u,gridTemplateRows:m,gridTemplateColumns:d};return(0,JU.jsx)(K.div,{ref:o,__css:h,...p})});ak.displayName="Grid";var eZ=M(oe(),1);var Le=ue(function(t,o){let{columns:r,spacingX:n,spacingY:a,spacing:s,minChildWidth:i,...l}=t,c=_l(),u=i?ife(i,c):lfe(r);return(0,eZ.jsx)(ak,{ref:o,gap:s,columnGap:n,rowGap:a,templateColumns:u,...l})});Le.displayName="SimpleGrid";function sfe(e){return typeof e=="number"?`${e}px`:e}function ife(e,t){return Sd(e,o=>{let r=wI("sizes",o,sfe(o))(t);return o===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function lfe(e){return Sd(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var tZ=M(oe(),1);var o0=ue(function(t,o){let r=fo("Link",t),{className:n,isExternal:a,...s}=Xe(t);return(0,tZ.jsx)(K.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:o,className:xe("chakra-link",n),...s,__css:r})});o0.displayName="Link";var Om=M(oe(),1);var[cfe,sk]=qe({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),r0=ue(function(t,o){let r=To("List",t),{children:n,styleType:a="none",stylePosition:s,spacing:i,...l}=Xe(t),c=rm(n),m=i?{"& > *:not(style) ~ *:not(style)":{mt:i}}:{};return(0,Om.jsx)(cfe,{value:r,children:(0,Om.jsx)(K.ul,{ref:o,listStyleType:a,listStylePosition:s,role:"list",__css:{...r.container,...m},...l,children:c})})});r0.displayName="List";var oZ=ue((e,t)=>{let{as:o,...r}=e;return(0,Om.jsx)(r0,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});oZ.displayName="OrderedList";var c4=ue(function(t,o){let{as:r,...n}=t;return(0,Om.jsx)(r0,{ref:o,as:"ul",styleType:"initial",marginStart:"1em",...n})});c4.displayName="UnorderedList";var n0=ue(function(t,o){let r=sk();return(0,Om.jsx)(K.li,{ref:o,...t,__css:r.item})});n0.displayName="ListItem";var u4=ue(function(t,o){let r=sk();return(0,Om.jsx)(Ua,{ref:o,role:"presentation",...t,__css:r.icon})});u4.displayName="ListIcon";var ko="top",$r="bottom",Fr="right",Ro="left",m4="auto",mu=[ko,$r,Fr,Ro],Nl="start",Vm="end",rZ="clippingParents",f4="viewport",a0="popper",nZ="reference",ik=mu.reduce(function(e,t){return e.concat([t+"-"+Nl,t+"-"+Vm])},[]),d4=[].concat(mu,[m4]).reduce(function(e,t){return e.concat([t,t+"-"+Nl,t+"-"+Vm])},[]),ufe="beforeRead",mfe="read",ffe="afterRead",dfe="beforeMain",pfe="main",hfe="afterMain",gfe="beforeWrite",bfe="write",yfe="afterWrite",aZ=[ufe,mfe,ffe,dfe,pfe,hfe,gfe,bfe,yfe];function an(e){return e?(e.nodeName||"").toLowerCase():null}function po(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function bs(e){var t=po(e).Element;return e instanceof t||e instanceof Element}function qr(e){var t=po(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function s0(e){if(typeof ShadowRoot>"u")return!1;var t=po(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Sfe(e){var t=e.state;Object.keys(t.elements).forEach(function(o){var r=t.styles[o]||{},n=t.attributes[o]||{},a=t.elements[o];!qr(a)||!an(a)||(Object.assign(a.style,r),Object.keys(n).forEach(function(s){var i=n[s];i===!1?a.removeAttribute(s):a.setAttribute(s,i===!0?"":i)}))})}function xfe(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(r){var n=t.elements[r],a=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:o[r]),i=s.reduce(function(l,c){return l[c]="",l},{});!qr(n)||!an(n)||(Object.assign(n.style,i),Object.keys(a).forEach(function(l){n.removeAttribute(l)}))})}}var sZ={name:"applyStyles",enabled:!0,phase:"write",fn:Sfe,effect:xfe,requires:["computeStyles"]};function sn(e){return e.split("-")[0]}var qs=Math.max,Nm=Math.min,zl=Math.round;function i0(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function z1(){return!/^((?!chrome|android).)*safari/i.test(i0())}function ys(e,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var r=e.getBoundingClientRect(),n=1,a=1;t&&qr(e)&&(n=e.offsetWidth>0&&zl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&zl(r.height)/e.offsetHeight||1);var s=bs(e)?po(e):window,i=s.visualViewport,l=!z1()&&o,c=(r.left+(l&&i?i.offsetLeft:0))/n,u=(r.top+(l&&i?i.offsetTop:0))/a,m=r.width/n,f=r.height/a;return{width:m,height:f,top:u,right:c+m,bottom:u+f,left:c,x:c,y:u}}function zm(e){var t=ys(e),o=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function W1(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&s0(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Zn(e){return po(e).getComputedStyle(e)}function lk(e){return["table","td","th"].indexOf(an(e))>=0}function vn(e){return((bs(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wl(e){return an(e)==="html"?e:e.assignedSlot||e.parentNode||(s0(e)?e.host:null)||vn(e)}function iZ(e){return!qr(e)||Zn(e).position==="fixed"?null:e.offsetParent}function Ife(e){var t=/firefox/i.test(i0()),o=/Trident/i.test(i0());if(o&&qr(e)){var r=Zn(e);if(r.position==="fixed")return null}var n=Wl(e);for(s0(n)&&(n=n.host);qr(n)&&["html","body"].indexOf(an(n))<0;){var a=Zn(n);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return n;n=n.parentNode}return null}function Xs(e){for(var t=po(e),o=iZ(e);o&&lk(o)&&Zn(o).position==="static";)o=iZ(o);return o&&(an(o)==="html"||an(o)==="body"&&Zn(o).position==="static")?t:o||Ife(e)||t}function Wm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Um(e,t,o){return qs(e,Nm(t,o))}function lZ(e,t,o){var r=Um(e,t,o);return r>o?o:r}function U1(){return{top:0,right:0,bottom:0,left:0}}function Z1(e){return Object.assign({},U1(),e)}function j1(e,t){return t.reduce(function(o,r){return o[r]=e,o},{})}var vfe=function(t,o){return t=typeof t=="function"?t(Object.assign({},o.rects,{placement:o.placement})):t,Z1(typeof t!="number"?t:j1(t,mu))};function Cfe(e){var t,o=e.state,r=e.name,n=e.options,a=o.elements.arrow,s=o.modifiersData.popperOffsets,i=sn(o.placement),l=Wm(i),c=[Ro,Fr].indexOf(i)>=0,u=c?"height":"width";if(!(!a||!s)){var m=vfe(n.padding,o),f=zm(a),d=l==="y"?ko:Ro,p=l==="y"?$r:Fr,h=o.rects.reference[u]+o.rects.reference[l]-s[l]-o.rects.popper[u],S=s[l]-o.rects.reference[l],g=Xs(a),b=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,I=h/2-S/2,v=m[d],C=b-f[u]-m[p],T=b/2-f[u]/2+I,w=Um(v,T,C),P=l;o.modifiersData[r]=(t={},t[P]=w,t.centerOffset=w-T,t)}}function wfe(e){var t=e.state,o=e.options,r=o.element,n=r===void 0?"[data-popper-arrow]":r;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||W1(t.elements.popper,n)&&(t.elements.arrow=n))}var cZ={name:"arrow",enabled:!0,phase:"main",fn:Cfe,effect:wfe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ss(e){return e.split("-")[1]}var Tfe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Afe(e,t){var o=e.x,r=e.y,n=t.devicePixelRatio||1;return{x:zl(o*n)/n||0,y:zl(r*n)/n||0}}function uZ(e){var t,o=e.popper,r=e.popperRect,n=e.placement,a=e.variation,s=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,m=e.isFixed,f=s.x,d=f===void 0?0:f,p=s.y,h=p===void 0?0:p,S=typeof u=="function"?u({x:d,y:h}):{x:d,y:h};d=S.x,h=S.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),I=Ro,v=ko,C=window;if(c){var T=Xs(o),w="clientHeight",P="clientWidth";if(T===po(o)&&(T=vn(o),Zn(T).position!=="static"&&i==="absolute"&&(w="scrollHeight",P="scrollWidth")),T=T,n===ko||(n===Ro||n===Fr)&&a===Vm){v=$r;var k=m&&T===C&&C.visualViewport?C.visualViewport.height:T[w];h-=k-r.height,h*=l?1:-1}if(n===Ro||(n===ko||n===$r)&&a===Vm){I=Fr;var D=m&&T===C&&C.visualViewport?C.visualViewport.width:T[P];d-=D-r.width,d*=l?1:-1}}var H=Object.assign({position:i},c&&Tfe),j=u===!0?Afe({x:d,y:h},po(o)):{x:d,y:h};if(d=j.x,h=j.y,l){var se;return Object.assign({},H,(se={},se[v]=b?"0":"",se[I]=g?"0":"",se.transform=(C.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",se))}return Object.assign({},H,(t={},t[v]=b?h+"px":"",t[I]=g?d+"px":"",t.transform="",t))}function kfe(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=r===void 0?!0:r,a=o.adaptive,s=a===void 0?!0:a,i=o.roundOffsets,l=i===void 0?!0:i,c={placement:sn(t.placement),variation:Ss(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,uZ(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,uZ(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var mZ={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:kfe,data:{}};var p4={passive:!0};function Mfe(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,a=n===void 0?!0:n,s=r.resize,i=s===void 0?!0:s,l=po(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",o.update,p4)}),i&&l.addEventListener("resize",o.update,p4),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",o.update,p4)}),i&&l.removeEventListener("resize",o.update,p4)}}var fZ={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Mfe,data:{}};var Lfe={left:"right",right:"left",bottom:"top",top:"bottom"};function l0(e){return e.replace(/left|right|bottom|top/g,function(t){return Lfe[t]})}var Pfe={start:"end",end:"start"};function h4(e){return e.replace(/start|end/g,function(t){return Pfe[t]})}function Zm(e){var t=po(e),o=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:o,scrollTop:r}}function jm(e){return ys(vn(e)).left+Zm(e).scrollLeft}function ck(e,t){var o=po(e),r=vn(e),n=o.visualViewport,a=r.clientWidth,s=r.clientHeight,i=0,l=0;if(n){a=n.width,s=n.height;var c=z1();(c||!c&&t==="fixed")&&(i=n.offsetLeft,l=n.offsetTop)}return{width:a,height:s,x:i+jm(e),y:l}}function uk(e){var t,o=vn(e),r=Zm(e),n=(t=e.ownerDocument)==null?void 0:t.body,a=qs(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=qs(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-r.scrollLeft+jm(e),l=-r.scrollTop;return Zn(n||o).direction==="rtl"&&(i+=qs(o.clientWidth,n?n.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}function Gm(e){var t=Zn(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function g4(e){return["html","body","#document"].indexOf(an(e))>=0?e.ownerDocument.body:qr(e)&&Gm(e)?e:g4(Wl(e))}function fu(e,t){var o;t===void 0&&(t=[]);var r=g4(e),n=r===((o=e.ownerDocument)==null?void 0:o.body),a=po(r),s=n?[a].concat(a.visualViewport||[],Gm(r)?r:[]):r,i=t.concat(s);return n?i:i.concat(fu(Wl(s)))}function c0(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Efe(e,t){var o=ys(e,!1,t==="fixed");return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}function dZ(e,t,o){return t===f4?c0(ck(e,o)):bs(t)?Efe(t,o):c0(uk(vn(e)))}function Bfe(e){var t=fu(Wl(e)),o=["absolute","fixed"].indexOf(Zn(e).position)>=0,r=o&&qr(e)?Xs(e):e;return bs(r)?t.filter(function(n){return bs(n)&&W1(n,r)&&an(n)!=="body"}):[]}function mk(e,t,o,r){var n=t==="clippingParents"?Bfe(e):[].concat(t),a=[].concat(n,[o]),s=a[0],i=a.reduce(function(l,c){var u=dZ(e,c,r);return l.top=qs(u.top,l.top),l.right=Nm(u.right,l.right),l.bottom=Nm(u.bottom,l.bottom),l.left=qs(u.left,l.left),l},dZ(e,s,r));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function G1(e){var t=e.reference,o=e.element,r=e.placement,n=r?sn(r):null,a=r?Ss(r):null,s=t.x+t.width/2-o.width/2,i=t.y+t.height/2-o.height/2,l;switch(n){case ko:l={x:s,y:t.y-o.height};break;case $r:l={x:s,y:t.y+t.height};break;case Fr:l={x:t.x+t.width,y:i};break;case Ro:l={x:t.x-o.width,y:i};break;default:l={x:t.x,y:t.y}}var c=n?Wm(n):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case Nl:l[c]=l[c]-(t[u]/2-o[u]/2);break;case Vm:l[c]=l[c]+(t[u]/2-o[u]/2);break;default:}}return l}function Ys(e,t){t===void 0&&(t={});var o=t,r=o.placement,n=r===void 0?e.placement:r,a=o.strategy,s=a===void 0?e.strategy:a,i=o.boundary,l=i===void 0?rZ:i,c=o.rootBoundary,u=c===void 0?f4:c,m=o.elementContext,f=m===void 0?a0:m,d=o.altBoundary,p=d===void 0?!1:d,h=o.padding,S=h===void 0?0:h,g=Z1(typeof S!="number"?S:j1(S,mu)),b=f===a0?nZ:a0,I=e.rects.popper,v=e.elements[p?b:f],C=mk(bs(v)?v:v.contextElement||vn(e.elements.popper),l,u,s),T=ys(e.elements.reference),w=G1({reference:T,element:I,strategy:"absolute",placement:n}),P=c0(Object.assign({},I,w)),k=f===a0?P:T,D={top:C.top-k.top+g.top,bottom:k.bottom-C.bottom+g.bottom,left:C.left-k.left+g.left,right:k.right-C.right+g.right},H=e.modifiersData.offset;if(f===a0&&H){var j=H[n];Object.keys(D).forEach(function(se){var X=[Fr,$r].indexOf(se)>=0?1:-1,le=[ko,$r].indexOf(se)>=0?"y":"x";D[se]+=j[le]*X})}return D}function fk(e,t){t===void 0&&(t={});var o=t,r=o.placement,n=o.boundary,a=o.rootBoundary,s=o.padding,i=o.flipVariations,l=o.allowedAutoPlacements,c=l===void 0?d4:l,u=Ss(r),m=u?i?ik:ik.filter(function(p){return Ss(p)===u}):mu,f=m.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=m);var d=f.reduce(function(p,h){return p[h]=Ys(e,{placement:h,boundary:n,rootBoundary:a,padding:s})[sn(h)],p},{});return Object.keys(d).sort(function(p,h){return d[p]-d[h]})}function Dfe(e){if(sn(e)===m4)return[];var t=l0(e);return[h4(e),t,h4(t)]}function Rfe(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,a=n===void 0?!0:n,s=o.altAxis,i=s===void 0?!0:s,l=o.fallbackPlacements,c=o.padding,u=o.boundary,m=o.rootBoundary,f=o.altBoundary,d=o.flipVariations,p=d===void 0?!0:d,h=o.allowedAutoPlacements,S=t.options.placement,g=sn(S),b=g===S,I=l||(b||!p?[l0(S)]:Dfe(S)),v=[S].concat(I).reduce(function(ee,J){return ee.concat(sn(J)===m4?fk(t,{placement:J,boundary:u,rootBoundary:m,padding:c,flipVariations:p,allowedAutoPlacements:h}):J)},[]),C=t.rects.reference,T=t.rects.popper,w=new Map,P=!0,k=v[0],D=0;D<v.length;D++){var H=v[D],j=sn(H),se=Ss(H)===Nl,X=[ko,$r].indexOf(j)>=0,le=X?"width":"height",re=Ys(t,{placement:H,boundary:u,rootBoundary:m,altBoundary:f,padding:c}),W=X?se?Fr:Ro:se?$r:ko;C[le]>T[le]&&(W=l0(W));var de=l0(W),q=[];if(a&&q.push(re[j]<=0),i&&q.push(re[W]<=0,re[de]<=0),q.every(function(ee){return ee})){k=H,P=!1;break}w.set(H,q)}if(P)for(var me=p?3:1,he=function(J){var ge=v.find(function(_){var fe=w.get(_);if(fe)return fe.slice(0,J).every(function(Ce){return Ce})});if(ge)return k=ge,"break"},pe=me;pe>0;pe--){var Y=he(pe);if(Y==="break")break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}}var pZ={name:"flip",enabled:!0,phase:"main",fn:Rfe,requiresIfExists:["offset"],data:{_skip:!1}};function hZ(e,t,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function gZ(e){return[ko,Fr,$r,Ro].some(function(t){return e[t]>=0})}function _fe(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,a=t.modifiersData.preventOverflow,s=Ys(t,{elementContext:"reference"}),i=Ys(t,{altBoundary:!0}),l=hZ(s,r),c=hZ(i,n,a),u=gZ(l),m=gZ(c);t.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":m})}var bZ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:_fe};function Ffe(e,t,o){var r=sn(e),n=[Ro,ko].indexOf(r)>=0?-1:1,a=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,s=a[0],i=a[1];return s=s||0,i=(i||0)*n,[Ro,Fr].indexOf(r)>=0?{x:i,y:s}:{x:s,y:i}}function Hfe(e){var t=e.state,o=e.options,r=e.name,n=o.offset,a=n===void 0?[0,0]:n,s=d4.reduce(function(u,m){return u[m]=Ffe(m,t.rects,a),u},{}),i=s[t.placement],l=i.x,c=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}var yZ={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Hfe};function Ofe(e){var t=e.state,o=e.name;t.modifiersData[o]=G1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var SZ={name:"popperOffsets",enabled:!0,phase:"read",fn:Ofe,data:{}};function dk(e){return e==="x"?"y":"x"}function Vfe(e){var t=e.state,o=e.options,r=e.name,n=o.mainAxis,a=n===void 0?!0:n,s=o.altAxis,i=s===void 0?!1:s,l=o.boundary,c=o.rootBoundary,u=o.altBoundary,m=o.padding,f=o.tether,d=f===void 0?!0:f,p=o.tetherOffset,h=p===void 0?0:p,S=Ys(t,{boundary:l,rootBoundary:c,padding:m,altBoundary:u}),g=sn(t.placement),b=Ss(t.placement),I=!b,v=Wm(g),C=dk(v),T=t.modifiersData.popperOffsets,w=t.rects.reference,P=t.rects.popper,k=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,D=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),H=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(T){if(a){var se,X=v==="y"?ko:Ro,le=v==="y"?$r:Fr,re=v==="y"?"height":"width",W=T[v],de=W+S[X],q=W-S[le],me=d?-P[re]/2:0,he=b===Nl?w[re]:P[re],pe=b===Nl?-P[re]:-w[re],Y=t.elements.arrow,ee=d&&Y?zm(Y):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:U1(),ge=J[X],_=J[le],fe=Um(0,w[re],ee[re]),Ce=I?w[re]/2-me-fe-ge-D.mainAxis:he-fe-ge-D.mainAxis,ie=I?-w[re]/2+me+fe+_+D.mainAxis:pe+fe+_+D.mainAxis,Ae=t.elements.arrow&&Xs(t.elements.arrow),ye=Ae?v==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,Be=(se=H?.[v])!=null?se:0,ce=W+Ce-Be-ye,Pe=W+ie-Be,Te=Um(d?Nm(de,ce):de,W,d?qs(q,Pe):q);T[v]=Te,j[v]=Te-W}if(i){var De,Ct=v==="x"?ko:Ro,He=v==="x"?$r:Fr,We=T[C],Qe=C==="y"?"height":"width",st=We+S[Ct],ne=We-S[He],Re=[ko,Ro].indexOf(g)!==-1,Ze=(De=H?.[C])!=null?De:0,it=Re?st:We-w[Qe]-P[Qe]-Ze+D.altAxis,Tn=Re?We+w[Qe]+P[Qe]-Ze-D.altAxis:ne,Jt=d&&Re?lZ(it,We,Tn):Um(d?it:st,We,d?Tn:ne);T[C]=Jt,j[C]=Jt-We}t.modifiersData[r]=j}}var xZ={name:"preventOverflow",enabled:!0,phase:"main",fn:Vfe,requiresIfExists:["offset"]};function pk(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function hk(e){return e===po(e)||!qr(e)?Zm(e):pk(e)}function Nfe(e){var t=e.getBoundingClientRect(),o=zl(t.width)/e.offsetWidth||1,r=zl(t.height)/e.offsetHeight||1;return o!==1||r!==1}function gk(e,t,o){o===void 0&&(o=!1);var r=qr(t),n=qr(t)&&Nfe(t),a=vn(t),s=ys(e,n,o),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!o)&&((an(t)!=="body"||Gm(a))&&(i=hk(t)),qr(t)?(l=ys(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=jm(a))),{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function zfe(e){var t=new Map,o=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function n(a){o.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(i){if(!o.has(i)){var l=t.get(i);l&&n(l)}}),r.push(a)}return e.forEach(function(a){o.has(a.name)||n(a)}),r}function bk(e){var t=zfe(e);return aZ.reduce(function(o,r){return o.concat(t.filter(function(n){return n.phase===r}))},[])}function yk(e){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(e())})})),t}}function Sk(e){var t=e.reduce(function(o,r){var n=o[r.name];return o[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,o},{});return Object.keys(t).map(function(o){return t[o]})}var IZ={placement:"bottom",modifiers:[],strategy:"absolute"};function vZ(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function CZ(e){e===void 0&&(e={});var t=e,o=t.defaultModifiers,r=o===void 0?[]:o,n=t.defaultOptions,a=n===void 0?IZ:n;return function(i,l,c){c===void 0&&(c=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},IZ,a),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},m=[],f=!1,d={state:u,setOptions:function(g){var b=typeof g=="function"?g(u.options):g;h(),u.options=Object.assign({},a,u.options,b),u.scrollParents={reference:bs(i)?fu(i):i.contextElement?fu(i.contextElement):[],popper:fu(l)};var I=bk(Sk([].concat(r,u.options.modifiers)));return u.orderedModifiers=I.filter(function(v){return v.enabled}),p(),d.update()},forceUpdate:function(){if(!f){var g=u.elements,b=g.reference,I=g.popper;if(vZ(b,I)){u.rects={reference:gk(b,Xs(I),u.options.strategy==="fixed"),popper:zm(I)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(D){return u.modifiersData[D.name]=Object.assign({},D.data)});for(var v=0;v<u.orderedModifiers.length;v++){if(u.reset===!0){u.reset=!1,v=-1;continue}var C=u.orderedModifiers[v],T=C.fn,w=C.options,P=w===void 0?{}:w,k=C.name;typeof T=="function"&&(u=T({state:u,options:P,name:k,instance:d})||u)}}}},update:yk(function(){return new Promise(function(S){d.forceUpdate(),S(u)})}),destroy:function(){h(),f=!0}};if(!vZ(i,l))return d;d.setOptions(c).then(function(S){!f&&c.onFirstUpdate&&c.onFirstUpdate(S)});function p(){u.orderedModifiers.forEach(function(S){var g=S.name,b=S.options,I=b===void 0?{}:b,v=S.effect;if(typeof v=="function"){var C=v({state:u,name:g,instance:d,options:I}),T=function(){};m.push(C||T)}})}function h(){m.forEach(function(S){return S()}),m=[]}return d}}var Wfe=[fZ,SZ,mZ,sZ,yZ,pZ,xZ,cZ,bZ],xk=CZ({defaultModifiers:Wfe});var jn=M(F(),1);var u0=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),_o={arrowShadowColor:u0("--popper-arrow-shadow-color"),arrowSize:u0("--popper-arrow-size","8px"),arrowSizeHalf:u0("--popper-arrow-size-half"),arrowBg:u0("--popper-arrow-bg"),transformOrigin:u0("--popper-transform-origin"),arrowOffset:u0("--popper-arrow-offset")};function TZ(e){if(e.includes("top"))return"1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 0px 0 var(--popper-arrow-shadow-color)"}var Ufe={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},AZ=e=>Ufe[e],wZ={scroll:!0,resize:!0};function kZ(e){let t;return typeof e=="object"?t={enabled:!0,options:{...wZ,...e}}:t={enabled:e,options:wZ},t}var PZ={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{let t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},EZ={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{MZ(e)},effect:({state:e})=>()=>{MZ(e)}},MZ=e=>{e.elements.popper.style.setProperty(_o.transformOrigin.var,AZ(e.placement))},BZ={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{Zfe(e)}},Zfe=e=>{if(!e.placement)return;let t=jfe(e.placement);if(e.elements?.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:_o.arrowSize.varRef,height:_o.arrowSize.varRef,zIndex:-1});let o={[_o.arrowSizeHalf.var]:`calc(${_o.arrowSize.varRef} / 2 - 1px)`,[_o.arrowOffset.var]:`calc(${_o.arrowSizeHalf.varRef} * -1)`};for(let r in o)e.elements.arrow.style.setProperty(r,o[r])}},jfe=e=>{if(e.startsWith("top"))return{property:"bottom",value:_o.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:_o.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:_o.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:_o.arrowOffset.varRef}},DZ={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{LZ(e)},effect:({state:e})=>()=>{LZ(e)}},LZ=e=>{if(!e.elements.arrow)return;let t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;let o=TZ(e.placement);o&&t.style.setProperty("--popper-arrow-default-shadow",o),Object.assign(t.style,{transform:"rotate(45deg)",background:_o.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})};var Gfe={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},$fe={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function RZ(e,t="ltr"){let o=Gfe[e]?.[t]||e;return t==="ltr"?o:$fe[e]??o}function _Z(e={}){let{enabled:t=!0,modifiers:o,placement:r="bottom",strategy:n="absolute",arrowPadding:a=8,eventListeners:s=!0,offset:i,gutter:l=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:m=!0,matchWidth:f,direction:d="ltr"}=e,p=(0,jn.useRef)(null),h=(0,jn.useRef)(null),S=(0,jn.useRef)(null),g=RZ(r,d),b=(0,jn.useRef)(()=>{}),I=(0,jn.useCallback)(()=>{!t||!p.current||!h.current||(b.current?.(),S.current=xk(p.current,h.current,{placement:g,modifiers:[DZ,BZ,EZ,{...PZ,enabled:!!f},{name:"eventListeners",...kZ(s)},{name:"arrow",options:{padding:a}},{name:"offset",options:{offset:i??[0,l]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!m,options:{boundary:u}},...o??[]],strategy:n}),S.current.forceUpdate(),b.current=S.current.destroy)},[g,t,o,f,s,a,i,l,c,m,u,n]);(0,jn.useEffect)(()=>()=>{!p.current&&!h.current&&(S.current?.destroy(),S.current=null)},[]);let v=(0,jn.useCallback)(D=>{p.current=D,I()},[I]),C=(0,jn.useCallback)((D={},H=null)=>({...D,ref:mo(v,H)}),[v]),T=(0,jn.useCallback)(D=>{h.current=D,I()},[I]),w=(0,jn.useCallback)((D={},H=null)=>({...D,ref:mo(T,H),style:{...D.style,position:n,minWidth:f?void 0:"max-content",inset:"0 auto auto 0"}}),[n,T,f]),P=(0,jn.useCallback)((D={},H=null)=>{let{size:j,shadowColor:se,bg:X,style:le,...re}=D;return{...re,ref:H,"data-popper-arrow":"",style:qfe(D)}},[]),k=(0,jn.useCallback)((D={},H=null)=>({...D,ref:H,"data-popper-arrow-inner":""}),[]);return{update(){S.current?.update()},forceUpdate(){S.current?.forceUpdate()},transformOrigin:_o.transformOrigin.varRef,referenceRef:v,popperRef:T,getPopperProps:w,getArrowProps:P,getArrowInnerProps:k,getReferenceProps:C}}function qfe(e){let{size:t,shadowColor:o,bg:r,style:n}=e,a={...n,position:"absolute"};return t&&(a["--popper-arrow-size"]=t),o&&(a["--popper-arrow-shadow-color"]=o),r&&(a["--popper-arrow-bg"]=r),a}var Za=M(F(),1);var $m=M(F(),1);function FZ(){let e=(0,$m.useRef)(new Map),t=e.current,o=(0,$m.useCallback)((n,a,s,i)=>{e.current.set(s,{type:a,el:n,options:i}),n.addEventListener(a,s,i)},[]),r=(0,$m.useCallback)((n,a,s,i)=>{n.removeEventListener(a,s,i),e.current.delete(s)},[]);return(0,$m.useEffect)(()=>()=>{t.forEach((n,a)=>{r(n.el,n.type,a,n.options)})},[r,t]),{add:o,remove:r}}function Ik(e){let t=e.composedPath?.()?.[0]??e.target,{tagName:o,isContentEditable:r}=t;return o!=="INPUT"&&o!=="TEXTAREA"&&r!==!0}function HZ(e={}){let{ref:t,isDisabled:o,isFocusable:r,clickOnEnter:n=!0,clickOnSpace:a=!0,onMouseDown:s,onMouseUp:i,onClick:l,onKeyDown:c,onKeyUp:u,tabIndex:m,onMouseOver:f,onMouseLeave:d,...p}=e,[h,S]=(0,Za.useState)(!0),[g,b]=(0,Za.useState)(!1),I=FZ(),v=W=>{W&&W.tagName!=="BUTTON"&&S(!1)},C=h?m:m||0,T=o&&!r,w=(0,Za.useCallback)(W=>{if(o){W.stopPropagation(),W.preventDefault();return}W.currentTarget.focus(),l?.(W)},[o,l]),P=(0,Za.useCallback)(W=>{g&&Ik(W)&&(W.preventDefault(),W.stopPropagation(),b(!1),I.remove(document,"keyup",P,!1))},[g,I]),k=(0,Za.useCallback)(W=>{if(c?.(W),o||W.defaultPrevented||W.metaKey||!Ik(W.nativeEvent)||h)return;let de=n&&W.key==="Enter";a&&W.key===" "&&(W.preventDefault(),b(!0)),de&&(W.preventDefault(),W.currentTarget.click()),I.add(document,"keyup",P,!1)},[o,h,c,n,a,I,P]),D=(0,Za.useCallback)(W=>{if(u?.(W),o||W.defaultPrevented||W.metaKey||!Ik(W.nativeEvent)||h)return;a&&W.key===" "&&(W.preventDefault(),b(!1),W.currentTarget.click())},[a,h,o,u]),H=(0,Za.useCallback)(W=>{W.button===0&&(b(!1),I.remove(document,"mouseup",H,!1))},[I]),j=(0,Za.useCallback)(W=>{if(W.button!==0)return;if(o){W.stopPropagation(),W.preventDefault();return}h||b(!0),W.currentTarget.focus({preventScroll:!0}),I.add(document,"mouseup",H,!1),s?.(W)},[o,h,s,I,H]),se=(0,Za.useCallback)(W=>{W.button===0&&(h||b(!1),i?.(W))},[i,h]),X=(0,Za.useCallback)(W=>{if(o){W.preventDefault();return}f?.(W)},[o,f]),le=(0,Za.useCallback)(W=>{g&&(W.preventDefault(),b(!1)),d?.(W)},[g,d]),re=mo(t,v);return h?{...p,ref:re,type:"button","aria-disabled":T?void 0:o,disabled:T,onClick:w,onMouseDown:s,onMouseUp:i,onKeyUp:u,onKeyDown:c,onMouseOver:f,onMouseLeave:d}:{...p,ref:re,role:"button","data-active":Me(g),"aria-disabled":o?"true":void 0,tabIndex:T?void 0:C,onClick:w,onMouseDown:j,onMouseUp:se,onKeyUp:D,onKeyDown:k,onMouseOver:X,onMouseLeave:le}}var $1=M(oe(),1);var Xfe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},m0=new WeakMap,b4=new WeakMap,y4={},vk=0,OZ=function(e){return e&&(e.host||OZ(e.parentNode))},Yfe=function(e,t){return t.map(function(o){if(e.contains(o))return o;var r=OZ(o);return r&&e.contains(r)?r:(console.error("aria-hidden",o,"in not contained inside",e,". Doing nothing"),null)}).filter(function(o){return!!o})},Kfe=function(e,t,o,r){var n=Yfe(t,Array.isArray(e)?e:[e]);y4[o]||(y4[o]=new WeakMap);var a=y4[o],s=[],i=new Set,l=new Set(n),c=function(m){!m||i.has(m)||(i.add(m),c(m.parentNode))};n.forEach(c);var u=function(m){!m||l.has(m)||Array.prototype.forEach.call(m.children,function(f){if(i.has(f))u(f);else try{var d=f.getAttribute(r),p=d!==null&&d!=="false",h=(m0.get(f)||0)+1,S=(a.get(f)||0)+1;m0.set(f,h),a.set(f,S),s.push(f),h===1&&p&&b4.set(f,!0),S===1&&f.setAttribute(o,"true"),p||f.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return u(t),i.clear(),vk++,function(){s.forEach(function(m){var f=m0.get(m)-1,d=a.get(m)-1;m0.set(m,f),a.set(m,d),f||(b4.has(m)||m.removeAttribute(r),b4.delete(m)),d||m.removeAttribute(o)}),vk--,vk||(m0=new WeakMap,m0=new WeakMap,b4=new WeakMap,y4={})}},VZ=function(e,t,o){o===void 0&&(o="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),n=t||Xfe(e);return n?(r.push.apply(r,Array.from(n.querySelectorAll("[aria-live], script"))),Kfe(r,n,o,"aria-hidden")):function(){return null}};var Xr=M(F(),1);var x4=M(F(),1),Qfe=Object.defineProperty,Jfe=(e,t,o)=>t in e?Qfe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ede=(e,t,o)=>(Jfe(e,typeof t!="symbol"?t+"":t,o),o),Ck=class{constructor(){ede(this,"modals"),this.modals=new Set}add(t){return this.modals.add(t),this.modals.size}remove(t){this.modals.delete(t)}isTopModal(t){if(!t)return!1;let o=Array.from(this.modals)[this.modals.size-1];return t===o}},S4=new Ck;function I4(e,t){let[o,r]=(0,x4.useState)(0);return(0,x4.useEffect)(()=>{let n=e.current;if(n){if(t){let a=S4.add(n);r(a)}return()=>{S4.remove(n),r(0)}}},[t,e]),o}function NZ(e){let{isOpen:t,onClose:o,id:r,closeOnOverlayClick:n=!0,closeOnEsc:a=!0,useInert:s=!0,onOverlayClick:i,onEsc:l}=e,c=(0,Xr.useRef)(null),u=(0,Xr.useRef)(null),[m,f,d]=ode(r,"chakra-modal","chakra-modal--header","chakra-modal--body");tde(c,t&&s);let p=I4(c,t),h=(0,Xr.useRef)(null),S=(0,Xr.useCallback)(k=>{h.current=k.target},[]),g=(0,Xr.useCallback)(k=>{k.key==="Escape"&&(k.stopPropagation(),a&&o?.(),l?.())},[a,o,l]),[b,I]=(0,Xr.useState)(!1),[v,C]=(0,Xr.useState)(!1),T=(0,Xr.useCallback)((k={},D=null)=>({role:"dialog",...k,ref:mo(D,c),id:m,tabIndex:-1,"aria-modal":!0,"aria-labelledby":b?f:void 0,"aria-describedby":v?d:void 0,onClick:Ue(k.onClick,H=>H.stopPropagation())}),[d,v,m,f,b]),w=(0,Xr.useCallback)(k=>{k.stopPropagation(),h.current===k.target&&S4.isTopModal(c.current)&&(n&&o?.(),i?.())},[o,n,i]),P=(0,Xr.useCallback)((k={},D=null)=>({...k,ref:mo(D,u),onClick:Ue(k.onClick,w),onKeyDown:Ue(k.onKeyDown,g),onMouseDown:Ue(k.onMouseDown,S)}),[g,S,w]);return{isOpen:t,onClose:o,headerId:f,bodyId:d,setBodyMounted:C,setHeaderMounted:I,dialogRef:c,overlayRef:u,getDialogProps:T,getDialogContainerProps:P,index:p}}function tde(e,t){let o=e.current;(0,Xr.useEffect)(()=>{if(!(!e.current||!t))return VZ(e.current)},[t,e,o])}function ode(e,...t){let o=(0,Xr.useId)(),r=e||o;return(0,Xr.useMemo)(()=>t.map(n=>`${n}-${r}`),[r,t])}var[rde,Ei]=qe({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[nde,xs]=qe({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),wk=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:e.lockFocusAcrossFrames??!0},{portalProps:o,children:r,autoFocus:n,trapFocus:a,initialFocusRef:s,finalFocusRef:i,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:m,motionPreset:f,lockFocusAcrossFrames:d,animatePresenceProps:p,onCloseComplete:h}=t,S=To("Modal",t),b={...NZ(t),autoFocus:n,trapFocus:a,initialFocusRef:s,finalFocusRef:i,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:m,motionPreset:f,lockFocusAcrossFrames:d};return(0,$1.jsx)(nde,{value:b,children:(0,$1.jsx)(rde,{value:S,children:(0,$1.jsx)(Us,{...p,onExitComplete:h,children:b.isOpen&&(0,$1.jsx)(Hl,{...o,children:r})})})})};wk.displayName="Modal";var Fk=M(oe(),1);var ej=M(F(),1);var w4=M(F());var En=M(F());var qm="right-scroll-bar-position",Xm="width-before-scroll-bar",Tk="with-scroll-bars-hidden",Ak="--removed-body-scroll-bar-size";var v4=D1();var kk=function(){},q1=En.forwardRef(function(e,t){var o=En.useRef(null),r=En.useState({onScrollCapture:kk,onWheelCapture:kk,onTouchMoveCapture:kk}),n=r[0],a=r[1],s=e.forwardProps,i=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,m=e.shards,f=e.sideCar,d=e.noRelative,p=e.noIsolation,h=e.inert,S=e.allowPinchZoom,g=e.as,b=g===void 0?"div":g,I=e.gapMode,v=GI(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=f,T=E1([o,t]),w=ua(ua({},v),n);return En.createElement(En.Fragment,null,u&&En.createElement(C,{sideCar:v4,removeScrollBar:c,shards:m,noRelative:d,noIsolation:p,inert:h,setCallbacks:a,allowPinchZoom:!!S,lockRef:o,gapMode:I}),s?En.cloneElement(En.Children.only(i),ua(ua({},w),{ref:T})):En.createElement(b,ua({},w,{className:l,ref:T}),i))});q1.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};q1.classNames={fullWidth:Xm,zeroRight:qm};var lo=M(F());var d0=M(F());var UZ=M(F());var zZ;var WZ=function(){if(zZ)return zZ;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ade(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=WZ();return t&&e.setAttribute("nonce",t),e}function sde(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ide(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Mk=function(){var e=0,t=null;return{add:function(o){e==0&&(t=ade())&&(sde(t,o),ide(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var Lk=function(){var e=Mk();return function(t,o){UZ.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&o])}};var X1=function(){var e=Lk(),t=function(o){var r=o.styles,n=o.dynamic;return e(r,n),null};return t};var lde={left:0,top:0,right:0,gap:0},Pk=function(e){return parseInt(e||"",10)||0},cde=function(e){var t=window.getComputedStyle(document.body),o=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[Pk(o),Pk(r),Pk(n)]},Ek=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return lde;var t=cde(e),o=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-o+t[2]-t[0])}};var ude=X1(),f0="data-scroll-locked",mde=function(e,t,o,r){var n=e.left,a=e.top,s=e.right,i=e.gap;return o===void 0&&(o="margin"),`
|
|
1146
|
+
.`.concat(Tk,` {
|
|
1147
|
+
overflow: hidden `).concat(r,`;
|
|
1148
|
+
padding-right: `).concat(i,"px ").concat(r,`;
|
|
1149
|
+
}
|
|
1150
|
+
body[`).concat(f0,`] {
|
|
1151
|
+
overflow: hidden `).concat(r,`;
|
|
1152
|
+
overscroll-behavior: contain;
|
|
1153
|
+
`).concat([t&&"position: relative ".concat(r,";"),o==="margin"&&`
|
|
1154
|
+
padding-left: `.concat(n,`px;
|
|
1155
|
+
padding-top: `).concat(a,`px;
|
|
1156
|
+
padding-right: `).concat(s,`px;
|
|
1157
|
+
margin-left:0;
|
|
1158
|
+
margin-top:0;
|
|
1159
|
+
margin-right: `).concat(i,"px ").concat(r,`;
|
|
1160
|
+
`),o==="padding"&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.`).concat(qm,` {
|
|
1164
|
+
right: `).concat(i,"px ").concat(r,`;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.`).concat(Xm,` {
|
|
1168
|
+
margin-right: `).concat(i,"px ").concat(r,`;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.`).concat(qm," .").concat(qm,` {
|
|
1172
|
+
right: 0 `).concat(r,`;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.`).concat(Xm," .").concat(Xm,` {
|
|
1176
|
+
margin-right: 0 `).concat(r,`;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
body[`).concat(f0,`] {
|
|
1180
|
+
`).concat(Ak,": ").concat(i,`px;
|
|
1181
|
+
}
|
|
1182
|
+
`)},ZZ=function(){var e=parseInt(document.body.getAttribute(f0)||"0",10);return isFinite(e)?e:0},fde=function(){d0.useEffect(function(){return document.body.setAttribute(f0,(ZZ()+1).toString()),function(){var e=ZZ()-1;e<=0?document.body.removeAttribute(f0):document.body.setAttribute(f0,e.toString())}},[])},Bk=function(e){var t=e.noRelative,o=e.noImportant,r=e.gapMode,n=r===void 0?"margin":r;fde();var a=d0.useMemo(function(){return Ek(n)},[n]);return d0.createElement(ude,{styles:mde(a,!t,n,o?"":"!important")})};var Dk=!1;if(typeof window<"u")try{Y1=Object.defineProperty({},"passive",{get:function(){return Dk=!0,!0}}),window.addEventListener("test",Y1,Y1),window.removeEventListener("test",Y1,Y1)}catch{Dk=!1}var Y1,Ym=Dk?{passive:!1}:!1;var dde=function(e){return e.tagName==="TEXTAREA"},jZ=function(e,t){if(!(e instanceof Element))return!1;var o=window.getComputedStyle(e);return o[t]!=="hidden"&&!(o.overflowY===o.overflowX&&!dde(e)&&o[t]==="visible")},pde=function(e){return jZ(e,"overflowY")},hde=function(e){return jZ(e,"overflowX")},Rk=function(e,t){var o=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=GZ(e,r);if(n){var a=$Z(e,r),s=a[1],i=a[2];if(s>i)return!0}r=r.parentNode}while(r&&r!==o.body);return!1},gde=function(e){var t=e.scrollTop,o=e.scrollHeight,r=e.clientHeight;return[t,o,r]},bde=function(e){var t=e.scrollLeft,o=e.scrollWidth,r=e.clientWidth;return[t,o,r]},GZ=function(e,t){return e==="v"?pde(t):hde(t)},$Z=function(e,t){return e==="v"?gde(t):bde(t)},yde=function(e,t){return e==="h"&&t==="rtl"?-1:1},qZ=function(e,t,o,r,n){var a=yde(e,window.getComputedStyle(t).direction),s=a*r,i=o.target,l=t.contains(i),c=!1,u=s>0,m=0,f=0;do{if(!i)break;var d=$Z(e,i),p=d[0],h=d[1],S=d[2],g=h-S-a*p;(p||g)&&GZ(e,i)&&(m+=g,f+=p);var b=i.parentNode;i=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&i!==document.body||l&&(t.contains(i)||t===i));return(u&&(n&&Math.abs(m)<1||!n&&s>m)||!u&&(n&&Math.abs(f)<1||!n&&-s>f))&&(c=!0),c};var C4=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},XZ=function(e){return[e.deltaX,e.deltaY]},YZ=function(e){return e&&"current"in e?e.current:e},Sde=function(e,t){return e[0]===t[0]&&e[1]===t[1]},xde=function(e){return`
|
|
1183
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
1184
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
1185
|
+
`)},Ide=0,p0=[];function KZ(e){var t=lo.useRef([]),o=lo.useRef([0,0]),r=lo.useRef(),n=lo.useState(Ide++)[0],a=lo.useState(X1)[0],s=lo.useRef(e);lo.useEffect(function(){s.current=e},[e]),lo.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(n));var h=aU([e.lockRef.current],(e.shards||[]).map(YZ),!0).filter(Boolean);return h.forEach(function(S){return S.classList.add("allow-interactivity-".concat(n))}),function(){document.body.classList.remove("block-interactivity-".concat(n)),h.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(n))})}}},[e.inert,e.lockRef.current,e.shards]);var i=lo.useCallback(function(h,S){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!s.current.allowPinchZoom;var g=C4(h),b=o.current,I="deltaX"in h?h.deltaX:b[0]-g[0],v="deltaY"in h?h.deltaY:b[1]-g[1],C,T=h.target,w=Math.abs(I)>Math.abs(v)?"h":"v";if("touches"in h&&w==="h"&&T.type==="range")return!1;var P=window.getSelection(),k=P&&P.anchorNode,D=k?k===T||k.contains(T):!1;if(D)return!1;var H=Rk(w,T);if(!H)return!0;if(H?C=w:(C=w==="v"?"h":"v",H=Rk(w,T)),!H)return!1;if(!r.current&&"changedTouches"in h&&(I||v)&&(r.current=C),!C)return!0;var j=r.current||C;return qZ(j,S,h,j==="h"?I:v,!0)},[]),l=lo.useCallback(function(h){var S=h;if(!(!p0.length||p0[p0.length-1]!==a)){var g="deltaY"in S?XZ(S):C4(S),b=t.current.filter(function(C){return C.name===S.type&&(C.target===S.target||S.target===C.shadowParent)&&Sde(C.delta,g)})[0];if(b&&b.should){S.cancelable&&S.preventDefault();return}if(!b){var I=(s.current.shards||[]).map(YZ).filter(Boolean).filter(function(C){return C.contains(S.target)}),v=I.length>0?i(S,I[0]):!s.current.noIsolation;v&&S.cancelable&&S.preventDefault()}}},[]),c=lo.useCallback(function(h,S,g,b){var I={name:h,delta:S,target:g,should:b,shadowParent:vde(g)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(v){return v!==I})},1)},[]),u=lo.useCallback(function(h){o.current=C4(h),r.current=void 0},[]),m=lo.useCallback(function(h){c(h.type,XZ(h),h.target,i(h,e.lockRef.current))},[]),f=lo.useCallback(function(h){c(h.type,C4(h),h.target,i(h,e.lockRef.current))},[]);lo.useEffect(function(){return p0.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Ym),document.addEventListener("touchmove",l,Ym),document.addEventListener("touchstart",u,Ym),function(){p0=p0.filter(function(h){return h!==a}),document.removeEventListener("wheel",l,Ym),document.removeEventListener("touchmove",l,Ym),document.removeEventListener("touchstart",u,Ym)}},[]);var d=e.removeScrollBar,p=e.inert;return lo.createElement(lo.Fragment,null,p?lo.createElement(a,{styles:xde(n)}):null,d?lo.createElement(Bk,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function vde(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var QZ=E5(v4,KZ);var JZ=w4.forwardRef(function(e,t){return w4.createElement(q1,ua({},e,{ref:t,sideCar:QZ}))});JZ.classNames=q1.classNames;var _k=JZ;function tj(e){let{autoFocus:t,trapFocus:o,dialogRef:r,initialFocusRef:n,blockScrollOnMount:a,allowPinchZoom:s,finalFocusRef:i,returnFocusOnClose:l,preserveScrollBarGap:c,lockFocusAcrossFrames:u,isOpen:m}=xs(),[f,d]=xm();(0,ej.useEffect)(()=>{!f&&d&&setTimeout(d)},[f,d]);let p=I4(r,m);return(0,Fk.jsx)(rk,{autoFocus:t,isDisabled:!o,initialFocusRef:n,finalFocusRef:i,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:u,children:(0,Fk.jsx)(_k,{removeScrollBar:!c,allowPinchZoom:s,enabled:p===1&&a,forwardProps:!0,children:e.children})})}var oj=M(oe(),1);var rj=M(F(),1);var h0=ue((e,t)=>{let{className:o,...r}=e,{bodyId:n,setBodyMounted:a}=xs();(0,rj.useEffect)(()=>(a(!0),()=>a(!1)),[a]);let s=xe("chakra-modal__body",o),i=Ei();return(0,oj.jsx)(K.div,{ref:t,className:s,id:n,...r,__css:i.body})});h0.displayName="ModalBody";var nj=M(oe(),1);var g0=ue((e,t)=>{let{onClick:o,className:r,...n}=e,{onClose:a}=xs(),s=xe("chakra-modal__close-btn",r),i=Ei();return(0,nj.jsx)(I1,{ref:t,__css:i.closeButton,className:s,onClick:Ue(o,l=>{l.stopPropagation(),a()}),...n})});g0.displayName="ModalCloseButton";var aj=M(oe(),1);var sj=M(F(),1);var b0=ue((e,t)=>{let{className:o,...r}=e,{headerId:n,setHeaderMounted:a}=xs();(0,sj.useEffect)(()=>(a(!0),()=>a(!1)),[a]);let s=xe("chakra-modal__header",o),i=Ei(),l={flex:0,...i.header};return(0,aj.jsx)(K.header,{ref:t,className:s,id:n,...r,__css:l})});b0.displayName="ModalHeader";var lj=M(oe(),1);var Hk=M(oe(),1);var ij=M(F(),1);var Cde={enter:({transition:e,transitionEnd:t,delay:o}={})=>({opacity:1,transition:e?.enter??Zp.enter(x5.enter,o),transitionEnd:t?.enter}),exit:({transition:e,transitionEnd:t,delay:o}={})=>({opacity:0,transition:e?.exit??Zp.exit(x5.exit,o),transitionEnd:t?.exit})},Ok={initial:"exit",animate:"enter",exit:"exit",variants:Cde},wde=(0,ij.forwardRef)(function(t,o){let{unmountOnExit:r,in:n,className:a,transition:s,transitionEnd:i,delay:l,animatePresenceProps:c,...u}=t,m=n||r?"enter":"exit",f=r?n&&r:!0,d={transition:s,transitionEnd:i,delay:l};return(0,Hk.jsx)(Us,{...c,custom:d,children:f&&(0,Hk.jsx)(js.div,{ref:o,className:xe("chakra-fade",a),custom:d,...Ok,animate:m,...u})})});wde.displayName="Fade";var Tde=K(js.div),y0=ue((e,t)=>{let{className:o,transition:r,motionProps:n,...a}=e,s=xe("chakra-modal__overlay",o),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...Ei().overlay},{motionPreset:c}=xs();return(0,lj.jsx)(Tde,{...n||(c==="none"?{}:Ok),__css:l,ref:t,className:s,...a})});y0.displayName="ModalOverlay";var Vk=M(oe(),1);var[Ade,Nk]=qe(),kde={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function Mde(e,t){if(e)return kde[e]?.[t]??e}function zk(e){let{isOpen:t,onClose:o,placement:r="right",children:n,...a}=e,s=_l(),i=s.components?.Drawer,l=Mde(r,s.direction);return(0,Vk.jsx)(Ade,{value:{placement:l},children:(0,Vk.jsx)(wk,{isOpen:t,onClose:o,styleConfig:i,...a,children:n})})}var T4=M(oe(),1);var Wk=M(oe(),1);var uj=M(F(),1);var cj={exit:{duration:.15,ease:EI.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Lde={exit:({direction:e,transition:t,transitionEnd:o,delay:r})=>{let{exit:n}=BI({direction:e});return{...n,transition:t?.exit??Zp.exit(cj.exit,r),transitionEnd:o?.exit}},enter:({direction:e,transitionEnd:t,transition:o,delay:r})=>{let{enter:n}=BI({direction:e});return{...n,transition:o?.enter??Zp.enter(cj.enter,r),transitionEnd:t?.enter}}},Uk=(0,uj.forwardRef)(function(t,o){let{direction:r="right",style:n,unmountOnExit:a,in:s,className:i,transition:l,transitionEnd:c,delay:u,motionProps:m,animatePresenceProps:f,...d}=t,p=BI({direction:r}),h=Object.assign({position:"fixed"},p.position,n),S=a?s&&a:!0,g=s||a?"enter":"exit",b={transitionEnd:c,transition:l,direction:r,delay:u};return(0,Wk.jsx)(Us,{...f,custom:b,children:S&&(0,Wk.jsx)(js.div,{...d,ref:o,initial:"exit",className:xe("chakra-slide",i),animate:g,exit:"exit",custom:b,variants:Lde,style:h,...m})})});Uk.displayName="Slide";var Pde=K(Uk),A4=ue((e,t)=>{let{className:o,children:r,motionProps:n,containerProps:a,...s}=e,{getDialogProps:i,getDialogContainerProps:l,isOpen:c}=xs(),u=i(s,t),m=l(a),f=xe("chakra-modal__content",o),d=Ei(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...d.dialog},h={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...d.dialogContainer},{placement:S}=Nk();return(0,T4.jsx)(tj,{children:(0,T4.jsx)(K.div,{...m,className:"chakra-modal__content-container",__css:h,children:(0,T4.jsx)(Pde,{motionProps:n,direction:S,in:c,className:f,...u,__css:p,children:r})})})});A4.displayName="DrawerContent";var mj=M(F(),1);function fj(e){let t=mj.version;return typeof t!="string"||t.startsWith("18.")?e?.ref:e?.props?.ref}function Ede(e,t,o){return(e-t)*100/(o-t)}var wYe=Ws({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),TYe=Ws({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),dj=Ws({"0%":{left:"-40%"},"100%":{left:"100%"}}),pj=Ws({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function hj(e){let{value:t=0,min:o,max:r,valueText:n,getValueText:a,isIndeterminate:s,role:i="progressbar"}=e,l=Ede(t,o,r);return{bind:{"data-indeterminate":s?"":void 0,"aria-valuemax":r,"aria-valuemin":o,"aria-valuenow":s?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof a=="function"?a(t,l):n})(),role:i},percent:l,value:t}}var S0=M(oe(),1);var[Bde,gj]=qe({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Progress />" `}),Dde=ue((e,t)=>{let{min:o,max:r,value:n,isIndeterminate:a,role:s,...i}=e,l=hj({value:n,min:o,max:r,isIndeterminate:a,role:s}),u={height:"100%",...gj().filledTrack};return(0,S0.jsx)(K.div,{ref:t,style:{width:`${l.percent}%`,...i.style},...l.bind,...i,__css:u})}),fa=ue((e,t)=>{let{value:o,min:r=0,max:n=100,hasStripe:a,isAnimated:s,children:i,borderRadius:l,isIndeterminate:c,"aria-label":u,"aria-labelledby":m,"aria-valuetext":f,title:d,role:p,...h}=Xe(e),S=To("Progress",e),g=l??S.track?.borderRadius,b={animation:`${pj} 1s linear infinite`},C={...!c&&a&&s&&b,...c&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${dj} 1s ease infinite normal none running`}},T={overflow:"hidden",position:"relative",...S.track};return(0,S0.jsx)(K.div,{ref:t,borderRadius:g,__css:T,...h,children:(0,S0.jsxs)(Bde,{value:S,children:[(0,S0.jsx)(Dde,{"aria-label":u,"aria-labelledby":m,"aria-valuetext":f,min:r,max:n,value:o,isIndeterminate:c,css:C,borderRadius:g,title:d,role:p}),i]})})});fa.displayName="Progress";var x0=M(oe(),1);var Zk=M(oe(),1);var yj=M(F(),1);var Ks=M(F(),1);function Rde(e){return e&&Et(e)&&Et(e.target)}function bj(e={}){let{onChange:t,value:o,defaultValue:r,name:n,isDisabled:a,isFocusable:s,isNative:i,...l}=e,[c,u]=(0,Ks.useState)(r||""),m=typeof o<"u",f=m?o:c,d=(0,Ks.useRef)(null),p=(0,Ks.useCallback)(()=>{let C=d.current;if(!C)return;let T="input:not(:disabled):checked",w=C.querySelector(T);if(w){w.focus();return}T="input:not(:disabled)",C.querySelector(T)?.focus()},[]),S=`radio-${(0,Ks.useId)()}`,g=n||S,b=(0,Ks.useCallback)(C=>{let T=Rde(C)?C.target.value:C;m||u(T),t?.(String(T))},[t,m]),I=(0,Ks.useCallback)((C={},T=null)=>({...C,ref:mo(T,d),role:"radiogroup"}),[]),v=(0,Ks.useCallback)((C={},T=null)=>({...C,ref:T,name:g,[i?"checked":"isChecked"]:f!=null?C.value===f:void 0,onChange(P){b(P)},"data-radiogroup":!0}),[i,g,b,f]);return{getRootProps:I,getRadioProps:v,name:g,ref:d,focus:p,setValue:u,value:f,onChange:b,isDisabled:a,isFocusable:s,htmlProps:l}}var[_de,K1]=qe({name:"RadioGroupContext",strict:!1}),k4=ue((e,t)=>{let{colorScheme:o,size:r,variant:n,children:a,className:s,isDisabled:i,isFocusable:l,...c}=e,{value:u,onChange:m,getRootProps:f,name:d,htmlProps:p}=bj(c),h=(0,yj.useMemo)(()=>({name:d,size:r,onChange:m,colorScheme:o,value:u,variant:n,isDisabled:i,isFocusable:l}),[d,r,m,o,u,n,i,l]);return(0,Zk.jsx)(_de,{value:h,children:(0,Zk.jsx)(K.div,{...f(p,t),className:xe("chakra-radio-group",s),children:a})})});k4.displayName="RadioGroup";var Cn=M(F(),1);function Sj(e={}){let{defaultChecked:t,isChecked:o,isFocusable:r,isDisabled:n,isReadOnly:a,isRequired:s,onChange:i,isInvalid:l,name:c,value:u,id:m,"data-radiogroup":f,"aria-describedby":d,...p}=e,h=`radio-${(0,Cn.useId)()}`,S=Ol(),b=!!K1()||!!f,v=!!S&&!b?S.id:h;v=m??v;let C=n??S?.isDisabled,T=a??S?.isReadOnly,w=s??S?.isRequired,P=l??S?.isInvalid,[k,D]=(0,Cn.useState)(!1),[H,j]=(0,Cn.useState)(!1),[se,X]=(0,Cn.useState)(!1),[le,re]=(0,Cn.useState)(!!t),W=typeof o<"u",de=W?o:le,q=(0,Cn.useRef)(!1);(0,Cn.useEffect)(()=>OI(ie=>{q.current=ie}),[]);let me=(0,Cn.useCallback)(ie=>{if(T||C){ie.preventDefault();return}W||re(ie.currentTarget.checked),i?.(ie)},[W,C,T,i]),he=(0,Cn.useCallback)(ie=>{ie.key===" "&&X(!0)},[X]),pe=(0,Cn.useCallback)(ie=>{ie.key===" "&&X(!1)},[X]),Y=(0,Cn.useCallback)((ie={},Ae=null)=>({...ie,ref:Ae,"data-active":Me(se),"data-hover":Me(H),"data-disabled":Me(C),"data-invalid":Me(P),"data-checked":Me(de),"data-focus":Me(k),"data-focus-visible":Me(k&&q.current),"data-readonly":Me(T),"aria-hidden":!0,onMouseDown:Ue(ie.onMouseDown,()=>X(!0)),onMouseUp:Ue(ie.onMouseUp,()=>X(!1)),onMouseEnter:Ue(ie.onMouseEnter,()=>j(!0)),onMouseLeave:Ue(ie.onMouseLeave,()=>j(!1))}),[se,H,C,P,de,k,T]),{onFocus:ee,onBlur:J}=S??{},ge=(0,Cn.useCallback)((ie={},Ae=null)=>{let ye=C&&!r;return{...ie,id:v,ref:Ae,type:"radio",name:c,value:u,onChange:Ue(ie.onChange,me),onBlur:Ue(J,ie.onBlur,()=>D(!1)),onFocus:Ue(ee,ie.onFocus,()=>D(!0)),onKeyDown:Ue(ie.onKeyDown,he),onKeyUp:Ue(ie.onKeyUp,pe),checked:de,disabled:ye,readOnly:T,required:w,"aria-invalid":ml(P),"aria-disabled":ml(ye),"aria-required":ml(w),"data-readonly":Me(T),"aria-describedby":d,style:NI}},[C,r,v,c,u,me,J,ee,he,pe,de,T,w,P,d]);return{state:{isInvalid:P,isFocused:k,isChecked:de,isActive:se,isHovered:H,isDisabled:C,isReadOnly:T,isRequired:w},getRadioProps:Y,getInputProps:ge,getLabelProps:(ie={},Ae=null)=>({...ie,ref:Ae,onMouseDown:Ue(ie.onMouseDown,Fde),"data-disabled":Me(C),"data-checked":Me(de),"data-invalid":Me(P)}),getRootProps:(ie,Ae=null)=>({htmlFor:v,...ie,ref:Ae,"data-disabled":Me(C),"data-checked":Me(de),"data-invalid":Me(P)}),htmlProps:p}}function Fde(e){e.preventDefault(),e.stopPropagation()}var M4=ue((e,t)=>{let o=K1(),{onChange:r,value:n}=e,a=To("Radio",{...o,...e}),s=Xe(e),{spacing:i="0.5rem",children:l,isDisabled:c=o?.isDisabled,isFocusable:u=o?.isFocusable,inputProps:m,...f}=s,d=e.isChecked;o?.value!=null&&n!=null&&(d=o.value===n);let p=r;o?.onChange&&n!=null&&(p=fg(o.onChange,r));let h=e?.name??o?.name,{getInputProps:S,getRadioProps:g,getLabelProps:b,getRootProps:I,htmlProps:v}=Sj({...f,isChecked:d,isFocusable:u,isDisabled:c,onChange:p,name:h}),[C,T]=c3(v,L3),w=g(T),P=S(m,t),k=b(),D=Object.assign({},C,I()),H={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...a.container},j={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...a.control},se={userSelect:"none",marginStart:i,...a.label};return(0,x0.jsxs)(K.label,{className:"chakra-radio",...D,__css:H,children:[(0,x0.jsx)("input",{className:"chakra-radio__input",...P}),(0,x0.jsx)(K.span,{className:"chakra-radio__control",...w,__css:j}),l&&(0,x0.jsx)(K.span,{className:"chakra-radio__label",...k,__css:se,children:l})]})});M4.displayName="Radio";var vj=M(oe(),1);var Q1=M(oe(),1);var Km=M(F(),1);var xj=M(oe(),1);var jk=e=>(0,xj.jsx)(K.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});jk.displayName="StackItem";function Ij(e){let{spacing:t,direction:o}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Sd(o,n=>r[n])}}var z=ue((e,t)=>{let{isInline:o,direction:r,align:n,justify:a,spacing:s="0.5rem",wrap:i,children:l,divider:c,className:u,shouldWrapChildren:m,...f}=e,d=o?"row":r??"column",p=(0,Km.useMemo)(()=>Ij({spacing:s,direction:d}),[s,d]),h=!!c,S=!m&&!h,g=(0,Km.useMemo)(()=>{let I=rm(l);return S?I:I.map((v,C)=>{let T=typeof v.key<"u"?v.key:C,w=C+1===I.length,k=m?(0,Q1.jsx)(jk,{children:v},T):v;if(!h)return k;let D=(0,Km.cloneElement)(c,{__css:p});return(0,Q1.jsxs)(Km.Fragment,{children:[k,w?null:D]},T)})},[c,p,h,S,m,l]),b=xe("chakra-stack",u);return(0,Q1.jsx)(K.div,{ref:t,display:"flex",alignItems:n,justifyContent:a,flexDirection:d,flexWrap:i,gap:h?void 0:s,className:b,...f,children:g})});z.displayName="Stack";var Z=ue((e,t)=>(0,vj.jsx)(z,{align:"center",...e,direction:"row",ref:t}));Z.displayName="HStack";var Gk=M(oe(),1);var[Hde,Qs]=qe({name:"TableStylesContext",errorMessage:`useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Table />" `}),ja=ue((e,t)=>{let o=To("Table",e),{className:r,layout:n,...a}=Xe(e);return(0,Gk.jsx)(Hde,{value:o,children:(0,Gk.jsx)(K.table,{ref:t,__css:{tableLayout:n,...o.table},className:xe("chakra-table",r),...a})})});ja.displayName="Table";var Cj=M(oe(),1);var Is=ue((e,t)=>{let o=Qs();return(0,Cj.jsx)(K.tbody,{...e,ref:t,__css:o.tbody})});var wj=M(oe(),1);var we=ue(({isNumeric:e,...t},o)=>{let r=Qs();return(0,wj.jsx)(K.td,{...t,ref:o,__css:r.td,"data-is-numeric":e})});var Tj=M(oe(),1);var Ee=ue(({isNumeric:e,...t},o)=>{let r=Qs();return(0,Tj.jsx)(K.th,{...t,ref:o,__css:r.th,"data-is-numeric":e})});var Aj=M(oe(),1);var vs=ue((e,t)=>{let o=Qs();return(0,Aj.jsx)(K.thead,{...e,ref:t,__css:o.thead})});var kj=M(oe(),1);var yo=ue((e,t)=>{let o=Qs();return(0,kj.jsx)(K.tr,{...e,ref:t,__css:o.tr})});var Oj=M(oe(),1);var J1=M(oe(),1);var Hj=M(F(),1);var Cs=M(F(),1);var[Mj,Ode,Vde,Nde]=wW();function Lj(e){let{defaultIndex:t,onChange:o,index:r,isManual:n,isLazy:a,lazyBehavior:s="unmount",orientation:i="horizontal",direction:l="ltr",...c}=e,[u,m]=(0,Cs.useState)(t??0),[f,d]=v3({defaultValue:t??0,value:r,onChange:o});(0,Cs.useEffect)(()=>{r!=null&&m(r)},[r]);let p=Vde(),h=(0,Cs.useId)();return{id:`tabs-${e.id??h}`,selectedIndex:f,focusedIndex:u,setSelectedIndex:d,setFocusedIndex:m,isManual:n,isLazy:a,lazyBehavior:s,orientation:i,descendants:p,direction:l,htmlProps:c}}var[Pj,L4]=qe({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function Ej(e){let{focusedIndex:t,orientation:o,direction:r}=L4(),n=Ode(),a=(0,Cs.useCallback)(s=>{let i=()=>{let b=n.nextEnabled(t);b&&b.node?.focus()},l=()=>{let b=n.prevEnabled(t);b&&b.node?.focus()},c=()=>{let b=n.firstEnabled();b&&b.node?.focus()},u=()=>{let b=n.lastEnabled();b&&b.node?.focus()},m=o==="horizontal",f=o==="vertical",d=s.key,p=r==="ltr"?"ArrowLeft":"ArrowRight",h=r==="ltr"?"ArrowRight":"ArrowLeft",g={[p]:()=>m&&l(),[h]:()=>m&&i(),ArrowDown:()=>f&&i(),ArrowUp:()=>f&&l(),Home:c,End:u}[d];g&&(s.preventDefault(),g(s))},[n,t,o,r]);return{...e,role:"tablist","aria-orientation":o,onKeyDown:Ue(e.onKeyDown,a)}}function Bj(e){let{isDisabled:t=!1,isFocusable:o=!1,...r}=e,{setSelectedIndex:n,isManual:a,id:s,setFocusedIndex:i,selectedIndex:l}=L4(),{index:c,register:u}=Nde({disabled:t&&!o}),m=c===l,f=()=>{n(c)},d=()=>{i(c),!a&&!(t&&o)&&n(c)};return{...HZ({...r,ref:mo(u,e.ref),isDisabled:t,isFocusable:o,onClick:Ue(e.onClick,f)}),id:_j(s,c),role:"tab",tabIndex:m?0:-1,type:"button","aria-selected":m,"aria-controls":Fj(s,c),onFocus:t?void 0:Ue(e.onFocus,d)}}var[zde,Wde]=qe({});function Dj(e){let t=L4(),{id:o,selectedIndex:r}=t,a=rm(e.children).map((s,i)=>(0,Cs.createElement)(zde,{key:s.key??i,value:{isSelected:i===r,id:Fj(o,i),tabId:_j(o,i),selectedIndex:r}},s));return{...e,children:a}}function Rj(e){let{children:t,...o}=e,{isLazy:r,lazyBehavior:n}=L4(),{isSelected:a,id:s,tabId:i}=Wde(),l=(0,Cs.useRef)(!1);a&&(l.current=!0);let c=l3({wasSelected:l.current,isSelected:a,enabled:r,mode:n});return{tabIndex:0,...o,children:c?t:null,role:"tabpanel","aria-labelledby":i,hidden:!a,id:s}}function _j(e,t){return`${e}--tab-${t}`}function Fj(e,t){return`${e}--tabpanel-${t}`}var[Ude,Ul]=qe({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tabs />" `}),Hr=ue(function(t,o){let r=To("Tabs",t),{children:n,className:a,...s}=Xe(t),{htmlProps:i,descendants:l,...c}=Lj(s),u=(0,Hj.useMemo)(()=>c,[c]),{isFitted:m,...f}=i,d={position:"relative",...r.root};return(0,J1.jsx)(Mj,{value:l,children:(0,J1.jsx)(Pj,{value:u,children:(0,J1.jsx)(Ude,{value:r,children:(0,J1.jsx)(K.div,{className:xe("chakra-tabs",a),ref:o,...f,__css:d,children:n})})})})});Hr.displayName="Tabs";var rt=ue(function(t,o){let r=Ul(),n=Bj({...t,ref:o}),a={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return(0,Oj.jsx)(K.button,{...n,className:xe("chakra-tabs__tab",t.className),__css:a})});rt.displayName="Tab";var Vj=M(oe(),1);var Or=ue(function(t,o){let r=Ej({...t,ref:o}),n=Ul(),a={display:"flex",...n.tablist};return(0,Vj.jsx)(K.div,{...r,className:xe("chakra-tabs__tablist",t.className),__css:a})});Or.displayName="TabList";var Nj=M(oe(),1);var Ke=ue(function(t,o){let r=Rj({...t,ref:o}),n=Ul();return(0,Nj.jsx)(K.div,{outline:"0",...r,className:xe("chakra-tabs__tab-panel",t.className),__css:n.tabpanel})});Ke.displayName="TabPanel";var zj=M(oe(),1);var Vr=ue(function(t,o){let r=Dj(t),n=Ul();return(0,zj.jsx)(K.div,{...r,width:"100%",ref:o,className:xe("chakra-tabs__tab-panels",t.className),__css:n.tabpanels})});Vr.displayName="TabPanels";var Bi=M(oe(),1);var[Zde,$k]=qe({name:"TagStylesContext",errorMessage:`useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tag />" `}),e2=ue((e,t)=>{let o=To("Tag",e),r=Xe(e),n={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...o.container};return(0,Bi.jsx)(Zde,{value:o,children:(0,Bi.jsx)(K.span,{ref:t,...r,__css:n})})});e2.displayName="Tag";var t2=ue((e,t)=>{let o=$k();return(0,Bi.jsx)(K.span,{ref:t,noOfLines:1,...e,__css:o.label})});t2.displayName="TagLabel";var Wj=ue((e,t)=>(0,Bi.jsx)(Ua,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));Wj.displayName="TagLeftIcon";var Uj=ue((e,t)=>(0,Bi.jsx)(Ua,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}));Uj.displayName="TagRightIcon";var Zj=e=>(0,Bi.jsx)(Ua,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,Bi.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});Zj.displayName="TagCloseIcon";var jj=ue((e,t)=>{let{isDisabled:o,children:r,...n}=e,s={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...$k().closeButton};return(0,Bi.jsx)(K.button,{ref:t,"aria-label":"close",...n,type:"button",disabled:o,__css:s,children:r||(0,Bi.jsx)(Zj,{})})});jj.displayName="TagCloseButton";var Gj=M(oe(),1);var jde=["h","minH","height","minHeight"],o2=ue((e,t)=>{let o=fo("Textarea",e),{className:r,rows:n,...a}=Xe(e),s=GW(a),i=n?fl(o,jde):o;return(0,Gj.jsx)(K.textarea,{ref:t,rows:n,...s,className:xe("chakra-textarea",r),__css:i})});o2.displayName="Textarea";function $j(e,t){let o=e??"bottom";return{"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[o]?.[t]??o}function qj(e,t){let o=n=>({...t,...n,position:$j(n?.position??t?.position,e)}),r=n=>{let a=o(n),s=kI(a);return hs.notify(s,a)};return r.update=(n,a)=>{hs.update(n,o(a))},r.promise=(n,a)=>{let s=r({...a.loading,status:"loading",duration:null});n.then(i=>r.update(s,{status:"success",duration:5e3,...Br(a.success,i)})).catch(i=>r.update(s,{status:"error",duration:5e3,...Br(a.error,i)}))},r.closeAll=hs.closeAll,r.close=hs.close,r.isActive=hs.isActive,r}var Xj=M(F(),1);function r2(e){let{theme:t}=S1(),o=xW();return(0,Xj.useMemo)(()=>qj(t.direction,{...o,...e}),[e,t.direction,o])}var Gn=M(oe(),1);var I0=M(F(),1);var Yj={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};var Mo=M(F(),1);var Xk=e=>e.current?.ownerDocument||document,P4=e=>e.current?.ownerDocument?.defaultView||window;function Kj(e={}){let{openDelay:t=0,closeDelay:o=0,closeOnClick:r=!0,closeOnMouseDown:n,closeOnScroll:a,closeOnPointerDown:s=n,closeOnEsc:i=!0,onOpen:l,onClose:c,placement:u,id:m,isOpen:f,defaultIsOpen:d,arrowSize:p=10,arrowShadowColor:h,arrowPadding:S,modifiers:g,isDisabled:b,gutter:I,offset:v,direction:C,...T}=e,{isOpen:w,onOpen:P,onClose:k}=C3({isOpen:f,defaultIsOpen:d,onOpen:l,onClose:c}),{referenceRef:D,getPopperProps:H,getArrowInnerProps:j,getArrowProps:se}=_Z({enabled:w,placement:u,arrowPadding:S,modifiers:g,gutter:I,offset:v,direction:C}),X=(0,Mo.useId)(),re=`tooltip-${m??X}`,W=(0,Mo.useRef)(null),de=(0,Mo.useRef)(void 0),q=(0,Mo.useCallback)(()=>{de.current&&(clearTimeout(de.current),de.current=void 0)},[]),me=(0,Mo.useRef)(void 0),he=(0,Mo.useCallback)(()=>{me.current&&(clearTimeout(me.current),me.current=void 0)},[]),pe=(0,Mo.useCallback)(()=>{he(),k()},[k,he]),Y=Gde(W,pe),ee=(0,Mo.useCallback)(()=>{if(!b&&!de.current){w&&Y();let ye=P4(W);de.current=ye.setTimeout(P,t)}},[Y,b,w,P,t]),J=(0,Mo.useCallback)(()=>{q();let ye=P4(W);me.current=ye.setTimeout(pe,o)},[o,pe,q]),ge=(0,Mo.useCallback)(()=>{w&&r&&J()},[r,J,w]),_=(0,Mo.useCallback)(()=>{w&&s&&J()},[s,J,w]),fe=(0,Mo.useCallback)(ye=>{w&&ye.key==="Escape"&&J()},[w,J]);xg(()=>Xk(W),"keydown",i?fe:void 0),xg(()=>{if(!a)return null;let ye=W.current;if(!ye)return null;let Be=Oy(ye);return Be.localName==="body"?P4(W):Be},"scroll",()=>{w&&a&&pe()},{passive:!0,capture:!0}),(0,Mo.useEffect)(()=>{b&&(q(),w&&k())},[b,w,k,q]),(0,Mo.useEffect)(()=>()=>{q(),he()},[q,he]),xg(()=>W.current,"pointerleave",J);let Ce=(0,Mo.useCallback)((ye={},Be=null)=>({...ye,ref:mo(W,Be,D),onPointerEnter:Ue(ye.onPointerEnter,Pe=>{Pe.pointerType!=="touch"&&ee()}),onClick:Ue(ye.onClick,ge),onPointerDown:Ue(ye.onPointerDown,_),onFocus:Ue(ye.onFocus,ee),onBlur:Ue(ye.onBlur,J),"aria-describedby":w?re:void 0}),[ee,J,_,w,re,ge,D]),ie=(0,Mo.useCallback)((ye={},Be=null)=>H({...ye,style:{...ye.style,[_o.arrowSize.var]:p?`${p}px`:void 0,[_o.arrowShadowColor.var]:h}},Be),[H,p,h]),Ae=(0,Mo.useCallback)((ye={},Be=null)=>{let ce={...ye.style,position:"relative",transformOrigin:_o.transformOrigin.varRef};return{ref:Be,...T,...ye,id:re,role:"tooltip",style:ce}},[T,re]);return{isOpen:w,show:ee,hide:J,getTriggerProps:Ce,getTooltipProps:Ae,getTooltipPositionerProps:ie,getArrowProps:se,getArrowInnerProps:j}}var qk="chakra-ui:close-tooltip";function Gde(e,t){return(0,Mo.useEffect)(()=>{let o=Xk(e);return o.addEventListener(qk,t),()=>o.removeEventListener(qk,t)},[t,e]),()=>{let o=Xk(e),r=P4(e);o.dispatchEvent(new r.CustomEvent(qk))}}var $de=K(js.div),E4=ue((e,t)=>{let o=fo("Tooltip",e),r=Xe(e),n=_l(),{children:a,label:s,shouldWrapChildren:i,"aria-label":l,hasArrow:c,bg:u,portalProps:m,background:f,backgroundColor:d,bgColor:p,motionProps:h,animatePresenceProps:S,...g}=r,b=f??d??u??p;if(b){o.bg=b;let D=B3(n,"colors",b);o[_o.arrowBg.var]=D}let I=Kj({...g,direction:n.direction}),v=!(0,I0.isValidElement)(a)||i,C;if(v)C=(0,Gn.jsx)(K.span,{display:"inline-block",tabIndex:0,...I.getTriggerProps(),children:a});else{let D=I0.Children.only(a);C=(0,I0.cloneElement)(D,I.getTriggerProps(D.props,fj(D)))}let T=!!l,w=I.getTooltipProps({},t),P=T?fl(w,["role","id"]):w,k=pg(w,["role","id"]);return s?(0,Gn.jsxs)(Gn.Fragment,{children:[C,(0,Gn.jsx)(Us,{...S,children:I.isOpen&&(0,Gn.jsx)(Hl,{...m,children:(0,Gn.jsx)(K.div,{...I.getTooltipPositionerProps(),__css:{zIndex:o.zIndex,pointerEvents:"none"},children:(0,Gn.jsxs)($de,{variants:Yj,initial:"exit",animate:"enter",exit:"exit",...h,...P,__css:o,children:[s,T&&(0,Gn.jsx)(K.span,{srOnly:!0,...k,children:l}),c&&(0,Gn.jsx)(K.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,Gn.jsx)(K.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:o.bg}})})]})})})})]}):(0,Gn.jsx)(Gn.Fragment,{children:a})});E4.displayName="Tooltip";var Qj=M(oe(),1);var nt=ue(function(t,o){let r=fo("Heading",t),{className:n,...a}=Xe(t);return(0,Qj.jsx)(K.h2,{ref:o,className:xe("chakra-heading",t.className),...a,__css:r})});nt.displayName="Heading";var Jj=M(oe(),1);var x=ue(function(t,o){let r=fo("Text",t),{className:n,align:a,decoration:s,casing:i,...l}=Xe(t),c=nm({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return(0,Jj.jsx)(K.p,{ref:o,className:xe("chakra-text",t.className),...c,...l,__css:r})});x.displayName="Text";var n2=M(oe(),1);var B4=M(F(),1);var tt=ue(function(t,o){let{spacing:r="0.5rem",spacingX:n,spacingY:a,children:s,justify:i,direction:l,align:c,className:u,shouldWrapChildren:m,...f}=t,d=(0,B4.useMemo)(()=>m?B4.Children.map(s,(p,h)=>(0,n2.jsx)(Se,{children:p},h)):s,[s,m]);return(0,n2.jsx)(K.div,{ref:o,className:xe("chakra-wrap",u),...f,children:(0,n2.jsx)(K.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:i,alignItems:c,flexDirection:l,listStyleType:"none",gap:r,columnGap:n,rowGap:a,padding:"0"},children:d})})});tt.displayName="Wrap";var Se=ue(function(t,o){let{className:r,...n}=t;return(0,n2.jsx)(K.li,{ref:o,__css:{display:"flex",alignItems:"flex-start"},className:xe("chakra-wrap__listitem",r),...n})});Se.displayName="WrapItem";var a2=M(F(),1),Yr=a2.forwardRef((e,t)=>{let{alt:o,color:r="currentColor",size:n="1em",weight:a="regular",mirrored:s=!1,children:i,weights:l,...c}=e;return a2.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:n,height:n,fill:r,viewBox:"0 0 256 256",transform:s?"scale(-1, 1)":void 0,...c},!!o&&a2.createElement("title",null,o),i,l.get(a))});Yr.displayName="SSRBase";var Fo=M(F(),1),eG=new Map([["bold",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"}))],["duotone",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"}),Fo.createElement("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"}))],["fill",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"}))],["light",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"}))],["regular",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"}))],["thin",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"}))]]);var Ho=M(F(),1),tG=new Map([["bold",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"}))],["duotone",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z",opacity:"0.2"}),Ho.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["fill",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"}))],["light",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"}))],["regular",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["thin",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"}))]]);var Oo=M(F(),1),oG=new Map([["bold",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"}))],["duotone",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),Oo.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["fill",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["light",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"}))],["regular",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["thin",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"}))]]);var Vo=M(F(),1),rG=new Map([["bold",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z"}))],["duotone",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z",opacity:"0.2"}),Vo.createElement("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"}))],["fill",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z"}))],["light",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z"}))],["regular",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"}))],["thin",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z"}))]]);var No=M(F(),1),nG=new Map([["bold",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,204H228V96a20,20,0,0,0-20-20H172V32a20,20,0,0,0-28.45-18.12l-104,48.54A20.06,20.06,0,0,0,28,80.55V204H16a12,12,0,0,0,0,24H240a12,12,0,0,0,0-24ZM204,100V204H172V100ZM52,83.09,148,38.3V204H52ZM132,112v12a12,12,0,0,1-24,0V112a12,12,0,0,1,24,0Zm-40,0v12a12,12,0,0,1-24,0V112a12,12,0,0,1,24,0Zm0,52v12a12,12,0,0,1-24,0V164a12,12,0,0,1,24,0Zm40,0v12a12,12,0,0,1-24,0V164a12,12,0,0,1,24,0Z"}))],["duotone",No.createElement(No.Fragment,null,No.createElement("path",{d:"M136,32V216H40V85.35a8,8,0,0,1,3.56-6.66l80-53.33A8,8,0,0,1,136,32Z",opacity:"0.2"}),No.createElement("path",{d:"M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"}))],["fill",No.createElement(No.Fragment,null,No.createElement("path",{d:"M239.73,208H224V96a16,16,0,0,0-16-16H164a4,4,0,0,0-4,4V208H144V32.41a16.43,16.43,0,0,0-6.16-13,16,16,0,0,0-18.72-.69L39.12,72A16,16,0,0,0,32,85.34V208H16.27A8.18,8.18,0,0,0,8,215.47,8,8,0,0,0,16,224H240a8,8,0,0,0,8-8.53A8.18,8.18,0,0,0,239.73,208ZM76,184a8,8,0,0,1-8.53,8A8.18,8.18,0,0,1,60,183.72V168.27A8.19,8.19,0,0,1,67.47,160,8,8,0,0,1,76,168Zm0-56a8,8,0,0,1-8.53,8A8.19,8.19,0,0,1,60,127.72V112.27A8.19,8.19,0,0,1,67.47,104,8,8,0,0,1,76,112Zm40,56a8,8,0,0,1-8.53,8,8.18,8.18,0,0,1-7.47-8.26V168.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Zm0-56a8,8,0,0,1-8.53,8,8.19,8.19,0,0,1-7.47-8.26V112.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Z"}))],["light",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,210H222V96a14,14,0,0,0-14-14H142V32a14,14,0,0,0-21.77-11.64l-80,53.33A14,14,0,0,0,34,85.34V210H16a6,6,0,0,0,0,12H240a6,6,0,0,0,0-12ZM208,94a2,2,0,0,1,2,2V210H142V94ZM46,85.34a2,2,0,0,1,.89-1.66l80-53.34A2,2,0,0,1,130,32V210H46ZM110,112v16a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0Zm-32,0v16a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0Zm0,56v16a6,6,0,0,1-12,0V168a6,6,0,0,1,12,0Zm32,0v16a6,6,0,0,1-12,0V168a6,6,0,0,1,12,0Z"}))],["regular",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"}))],["thin",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,212H220V96a12,12,0,0,0-12-12H140V32a12,12,0,0,0-18.66-10l-80,53.33a12,12,0,0,0-5.34,10V212H16a4,4,0,0,0,0,8H240a4,4,0,0,0,0-8ZM208,92a4,4,0,0,1,4,4V212H140V92ZM44,85.34A4,4,0,0,1,45.78,82l80-53.33A4,4,0,0,1,132,32V212H44ZM108,112v16a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0Zm-32,0v16a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0Zm0,56v16a4,4,0,0,1-8,0V168a4,4,0,0,1,8,0Zm32,0v16a4,4,0,0,1-8,0V168a4,4,0,0,1,8,0Z"}))]]);var zo=M(F(),1),aG=new Map([["bold",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,196h-4V40a12,12,0,0,0-12-12H152a12,12,0,0,0-12,12V76H96A12,12,0,0,0,84,88v36H48a12,12,0,0,0-12,12v60H32a12,12,0,0,0,0,24H224a12,12,0,0,0,0-24ZM164,52h32V196H164Zm-56,48h32v96H108ZM60,148H84v48H60Z"}))],["duotone",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M208,40V208H152V40Z",opacity:"0.2"}),zo.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["fill",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16h8V136a8,8,0,0,1,8-8H72a8,8,0,0,1,8,8v64H96V88a8,8,0,0,1,8-8h32a8,8,0,0,1,8,8V200h16V40a8,8,0,0,1,8-8h40a8,8,0,0,1,8,8V200h8A8,8,0,0,1,232,208Z"}))],["light",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,202H214V40a6,6,0,0,0-6-6H152a6,6,0,0,0-6,6V82H96a6,6,0,0,0-6,6v42H48a6,6,0,0,0-6,6v66H32a6,6,0,0,0,0,12H224a6,6,0,0,0,0-12ZM158,46h44V202H158ZM102,94h44V202H102ZM54,142H90v60H54Z"}))],["regular",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["thin",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,204H212V40a4,4,0,0,0-4-4H152a4,4,0,0,0-4,4V84H96a4,4,0,0,0-4,4v44H48a4,4,0,0,0-4,4v68H32a4,4,0,0,0,0,8H224a4,4,0,0,0,0-8ZM156,44h48V204H156ZM100,92h48V204H100ZM52,140H92v64H52Z"}))]]);var D4=M(F(),1);var Wo=M(F(),1),sG=new Map([["bold",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M236,208a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V48a12,12,0,0,1,24,0v99l43.51-43.52a12,12,0,0,1,17,0L128,127l43-43H160a12,12,0,0,1,0-24h40a12,12,0,0,1,12,12v40a12,12,0,0,1-24,0V101l-51.51,51.52a12,12,0,0,1-17,0L96,129,44,181v15H224A12,12,0,0,1,236,208Z"}))],["duotone",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M224,64V208H32V48H208A16,16,0,0,1,224,64Z",opacity:"0.2"}),Wo.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0V156.69l50.34-50.35a8,8,0,0,1,11.32,0L128,132.69,180.69,80H160a8,8,0,0,1,0-16h40a8,8,0,0,1,8,8v40a8,8,0,0,1-16,0V91.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31l-56,56V200H224A8,8,0,0,1,232,208Z"}))],["fill",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM200,192H56a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v76.69l34.34-34.35a8,8,0,0,1,11.32,0L128,132.69,172.69,88H144a8,8,0,0,1,0-16h48a8,8,0,0,1,8,8v48a8,8,0,0,1-16,0V99.31l-50.34,50.35a8,8,0,0,1-11.32,0L104,131.31l-40,40V176H200a8,8,0,0,1,0,16Z"}))],["light",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M230,208a6,6,0,0,1-6,6H32a6,6,0,0,1-6-6V48a6,6,0,0,1,12,0V161.52l53.76-53.76a6,6,0,0,1,8.48,0L128,135.51,185.52,78H160a6,6,0,0,1,0-12h40a6,6,0,0,1,6,6v40a6,6,0,0,1-12,0V86.48l-61.76,61.76a6,6,0,0,1-8.48,0L96,120.49l-58,58V202H224A6,6,0,0,1,230,208Z"}))],["regular",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0V156.69l50.34-50.35a8,8,0,0,1,11.32,0L128,132.69,180.69,80H160a8,8,0,0,1,0-16h40a8,8,0,0,1,8,8v40a8,8,0,0,1-16,0V91.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31l-56,56V200H224A8,8,0,0,1,232,208Z"}))],["thin",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M228,208a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V48a4,4,0,0,1,8,0V166.34l57.17-57.17a4,4,0,0,1,5.66,0L128,138.34,190.34,76H160a4,4,0,0,1,0-8h40a4,4,0,0,1,4,4v40a4,4,0,0,1-8,0V81.66l-65.17,65.17a4,4,0,0,1-5.66,0L96,117.66l-60,60V204H224A4,4,0,0,1,228,208Z"}))]]);var Yk=D4.forwardRef((e,t)=>D4.createElement(Yr,{ref:t,...e,weights:sG}));Yk.displayName="ChartLineUpIcon";var Kk=Yk;var Uo=M(F(),1),iG=new Map([["bold",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M172,108a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,108Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24Zm76-8A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),Uo.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm40-104a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,112Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,144Z"}))],["fill",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm32,128H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M166,112a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M168,112a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,112Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm72-8A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M164,112a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-12A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]);var _4=M(F(),1);var Zo=M(F(),1),R4=new Map([["bold",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,44H40A20,20,0,0,0,20,64V224A19.82,19.82,0,0,0,31.56,242.1a20.14,20.14,0,0,0,8.49,1.9,19.91,19.91,0,0,0,12.82-4.72l.12-.11L84.47,212H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44Zm-4,144H80a11.93,11.93,0,0,0-7.84,2.92L44,215.23V68H212ZM84,108A12,12,0,0,1,96,96h64a12,12,0,1,1,0,24H96A12,12,0,0,1,84,108Zm0,40a12,12,0,0,1,12-12h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,148Z"}))],["duotone",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M224,64V192a8,8,0,0,1-8,8H80L45.15,230.11A8,8,0,0,1,32,224V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z",opacity:"0.2"}),Zo.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"}))],["fill",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM160,152H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,50H40A14,14,0,0,0,26,64V224a13.88,13.88,0,0,0,8.09,12.69A14.11,14.11,0,0,0,40,238a13.87,13.87,0,0,0,9-3.31l.06-.05L82.23,206H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50Zm2,142a2,2,0,0,1-2,2H80a6,6,0,0,0-3.92,1.46L41.26,225.53A2,2,0,0,1,38,224V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm-52-80a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,144Z"}))],["regular",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"}))],["thin",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,52H40A12,12,0,0,0,28,64V224a11.89,11.89,0,0,0,6.93,10.88A12.17,12.17,0,0,0,40,236a11.89,11.89,0,0,0,7.69-2.83l0,0L81.49,204H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52Zm4,140a4,4,0,0,1-4,4H80a4,4,0,0,0-2.62,1L42.56,227.06A4,4,0,0,1,36,224V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm-56-80a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,144Z"}))]]);var Qk=_4.forwardRef((e,t)=>_4.createElement(Yr,{ref:t,...e,weights:R4}));Qk.displayName="ChatTextIcon";var Jk=Qk;var jo=M(F(),1),lG=new Map([["bold",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),jo.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var Go=M(F(),1),cG=new Map([["bold",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Z"}))],["duotone",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Go.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["fill",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M232,128A104,104,0,1,1,128,24,104.13,104.13,0,0,1,232,128Z"}))],["light",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Z"}))],["regular",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["thin",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Z"}))]]);var $o=M(F(),1),uG=new Map([["bold",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M176,76a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,76Zm-48,24a24,24,0,1,1,24-24A24,24,0,0,1,128,100Zm60,24a48,48,0,1,0,48,48A48.05,48.05,0,0,0,188,124Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,188,196ZM68,124a48,48,0,1,0,48,48A48.05,48.05,0,0,0,68,124Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,68,196Z"}))],["duotone",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M128,112a36,36,0,1,1,36-36A36,36,0,0,1,128,112Zm60,24a36,36,0,1,0,36,36A36,36,0,0,0,188,136ZM68,136a36,36,0,1,0,36,36A36,36,0,0,0,68,136Z",opacity:"0.2"}),$o.createElement("path",{d:"M172,76a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,76Zm-44,28a28,28,0,1,1,28-28A28,28,0,0,1,128,104Zm60,24a44,44,0,1,0,44,44A44.05,44.05,0,0,0,188,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,188,200ZM68,128a44,44,0,1,0,44,44A44.05,44.05,0,0,0,68,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,68,200Z"}))],["fill",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M128,120a44,44,0,1,1,44-44A44.05,44.05,0,0,1,128,120Zm60,8a44,44,0,1,0,44,44A44.05,44.05,0,0,0,188,128ZM68,128a44,44,0,1,0,44,44A44.05,44.05,0,0,0,68,128Z"}))],["light",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M170,76a42,42,0,1,0-42,42A42,42,0,0,0,170,76Zm-42,30a30,30,0,1,1,30-30A30,30,0,0,1,128,106Zm60,24a42,42,0,1,0,42,42A42,42,0,0,0,188,130Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,188,202ZM68,130a42,42,0,1,0,42,42A42,42,0,0,0,68,130Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,68,202Z"}))],["regular",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M172,76a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,76Zm-44,28a28,28,0,1,1,28-28A28,28,0,0,1,128,104Zm60,24a44,44,0,1,0,44,44A44.05,44.05,0,0,0,188,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,188,200ZM68,128a44,44,0,1,0,44,44A44.05,44.05,0,0,0,68,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,68,200Z"}))],["thin",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M168,76a40,40,0,1,0-40,40A40,40,0,0,0,168,76Zm-40,32a32,32,0,1,1,32-32A32,32,0,0,1,128,108Zm60,24a40,40,0,1,0,40,40A40,40,0,0,0,188,132Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,188,204ZM68,132a40,40,0,1,0,40,40A40,40,0,0,0,68,132Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,68,204Z"}))]]);var qo=M(F(),1),mG=new Map([["bold",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),qo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]);var Xo=M(F(),1),fG=new Map([["bold",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M188,86.11V84c0-14.62-10.83-27.55-30.51-36.4C140.87,40.12,119,36,96,36S51.13,40.12,34.51,47.6C14.83,56.45,4,69.38,4,84v40c0,14.62,10.83,27.55,30.51,36.4A131.67,131.67,0,0,0,68,169.88V172c0,14.62,10.83,27.55,30.51,36.4C115.13,215.88,137,220,160,220s44.87-4.12,61.49-11.6C241.17,199.55,252,186.62,252,172V132C252,109.86,226.71,92.08,188,86.11ZM228,132c0,7.75-21.77,22.48-61.81,23.88C180.33,147.4,188,136.3,188,124V110.44C213.88,115.15,228,125.48,228,132ZM107.37,147.63c-3.63.24-7.42.37-11.37.37-5.08,0-9.89-.22-14.43-.61a10.94,10.94,0,0,0-1.14-.09c-1.51-.14-3-.3-4.43-.48V130.93A187,187,0,0,0,96,132a187,187,0,0,0,20-1.07v15.89c-2.49.3-5.07.56-7.75.75C108,147.58,107.66,147.6,107.37,147.63ZM164,117.14V124c0,4.78-8.28,12.21-24,17.54v-15a115.32,115.32,0,0,0,17.49-6.13Q160.93,118.86,164,117.14ZM96,60c44,0,68,15.85,68,24s-24,24-68,24S28,92.15,28,84,52,60,96,60ZM28,124v-6.86q3.08,1.71,6.51,3.26A115.32,115.32,0,0,0,52,126.53v15C36.28,136.21,28,128.78,28,124Zm64,48v0c1.33,0,2.66,0,4,0q5.44,0,10.77-.32,4.45,1.57,9.23,2.86v15C100.28,184.21,92,176.78,92,172Zm48,22.82V178.94A186.45,186.45,0,0,0,160,180a187,187,0,0,0,20-1.07v15.89a170.08,170.08,0,0,1-40,0Zm64-5.28v-15a115.32,115.32,0,0,0,17.49-6.13q3.44-1.54,6.51-3.26V172C228,176.78,219.72,184.21,204,189.54Z"}))],["duotone",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M240,132c0,19.88-35.82,36-80,36-19.6,0-37.56-3.17-51.47-8.44h0C146.76,156.85,176,142,176,124V96.72h0C212.52,100.06,240,114.58,240,132ZM176,84c0-19.88-35.82-36-80-36S16,64.12,16,84s35.82,36,80,36S176,103.88,176,84Z",opacity:"0.2"}),Xo.createElement("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z"}))],["fill",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM56,146.87C36.41,141.4,24,132.39,24,124V109.93c8.16,5.78,19.09,10.44,32,13.57Zm80-23.37c12.91-3.13,23.84-7.79,32-13.57V124c0,8.39-12.41,17.4-32,22.87Zm-16,71.37C100.41,189.4,88,180.39,88,172v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41Zm0-44.62A163,163,0,0,1,96,152a163,163,0,0,1-24-1.75V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54Zm64,48a165.45,165.45,0,0,1-48,0V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54ZM232,172c0,8.39-12.41,17.4-32,22.87V171.5c12.91-3.13,23.84-7.79,32-13.57Z"}))],["light",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M224.56,103.81C213.43,97.75,198.47,93.39,182,91.34V84c0-12.12-9.58-23.1-27-30.93C139.16,45.93,118.2,42,96,42S52.84,45.93,37,53.07C19.58,60.9,10,71.88,10,84v40c0,12.12,9.58,23.1,27,30.93,10.49,4.72,23.21,8,37,9.73V172c0,12.12,9.58,23.1,27,30.93C116.84,210.07,137.8,214,160,214s43.16-3.93,59-11.07c17.39-7.83,27-18.81,27-30.93V132C246,121.35,238.39,111.34,224.56,103.81Zm-5.74,10.54C228.61,119.68,234,126,234,132c0,14.19-30.39,30-74,30a166.9,166.9,0,0,1-21.21-1.34A110.79,110.79,0,0,0,155,154.93c17.39-7.83,27-18.81,27-30.93V103.43C196.4,105.36,209.3,109.16,218.82,114.35ZM108.16,153.58c-3.92.27-8,.42-12.16.42-5.3,0-10.4-.24-15.28-.67a2.22,2.22,0,0,0-.37,0c-3.58-.33-7-.77-10.35-1.3V124.12A178,178,0,0,0,96,126a178,178,0,0,0,26-1.88V152c-4.34.69-8.91,1.22-13.69,1.56ZM170,105.89V124c0,9.54-13.75,19.8-36,25.51V121.85a115,115,0,0,0,21-6.92A66.2,66.2,0,0,0,170,105.89ZM96,54c43.61,0,74,15.81,74,30s-30.39,30-74,30S22,98.19,22,84,52.39,54,96,54ZM22,124V105.89a66.2,66.2,0,0,0,15,9,115,115,0,0,0,21,6.92v27.66C35.75,143.8,22,133.54,22,124Zm64,48v-6.28c3.3.18,6.63.28,10,.28q5.91,0,11.66-.37A123.17,123.17,0,0,0,122,169.84v27.67C99.75,191.8,86,181.54,86,172Zm48,28V172.1a177.84,177.84,0,0,0,26,1.9,178,178,0,0,0,26-1.88V200a170,170,0,0,1-52,0Zm64-2.49V169.85a115,115,0,0,0,21-6.92,66.2,66.2,0,0,0,15-9V172C234,181.54,220.25,191.8,198,197.51Z"}))],["regular",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z"}))],["thin",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M180,93.11V84c0-22.43-36.9-40-84-40S12,61.57,12,84v40c0,19.14,26.86,34.72,64,38.89V172c0,22.43,36.9,40,84,40s84-17.57,84-40V132C244,113.12,217.87,97.37,180,93.11ZM236,132c0,15.45-30.54,32-76,32a165.71,165.71,0,0,1-28-2.34v-1.39c28.61-6.31,48-20,48-36.27V101.17C212.22,105,236,117.93,236,132ZM108.19,155.59Q102.3,156,96,156c-5.47,0-10.72-.25-15.73-.69l-.27,0h0c-4.16-.38-8.16-.9-12-1.56V121.8A174.87,174.87,0,0,0,96,124a174.87,174.87,0,0,0,28-2.2v31.92a155,155,0,0,1-15.52,1.85ZM172,101.32V124c0,10.88-15.16,22.3-40,28.11V120.27C149.63,116.38,163.75,109.69,172,101.32ZM96,52c45.46,0,76,16.55,76,32s-30.54,32-76,32S20,99.45,20,84,50.54,52,96,52ZM20,124V101.32c8.25,8.37,22.37,15.06,40,19v31.84C35.16,146.3,20,134.88,20,124Zm64,48v-8.4c3.91.26,7.92.4,12,.4s8.06-.14,12-.39a123.93,123.93,0,0,0,16,4.63v31.87C99.16,194.3,84,182.88,84,172Zm48,29.72V169.77A174.48,174.48,0,0,0,160,172a174.87,174.87,0,0,0,28-2.2v31.92a173.07,173.07,0,0,1-56,0ZM236,172c0,10.88-15.16,22.3-40,28.11V168.27c17.63-3.89,31.75-10.58,40-19Z"}))]]);var H4=M(F(),1);var Yo=M(F(),1),F4=new Map([["bold",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm44-64a32,32,0,0,1-32,32v4a12,12,0,0,1-24,0v-4H104a12,12,0,0,1,0-24h36a8,8,0,0,0,0-16H116a32,32,0,0,1,0-64V72a12,12,0,0,1,24,0v4h12a12,12,0,0,1,0,24H116a8,8,0,0,0,0,16h24A32,32,0,0,1,172,148Z"}))],["duotone",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Yo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm40-68a28,28,0,0,1-28,28h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24A28,28,0,0,1,168,148Z"}))],["fill",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm12,152h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24a28,28,0,0,1,0,56Z"}))],["light",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm38-70a26,26,0,0,1-26,26h-6v10a6,6,0,0,1-12,0V174H104a6,6,0,0,1,0-12h36a14,14,0,0,0,0-28H116a26,26,0,0,1,0-52h6V72a6,6,0,0,1,12,0V82h18a6,6,0,0,1,0,12H116a14,14,0,0,0,0,28h24A26,26,0,0,1,166,148Z"}))],["regular",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm40-68a28,28,0,0,1-28,28h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24A28,28,0,0,1,168,148Z"}))],["thin",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm36-72a24,24,0,0,1-24,24h-8v12a4,4,0,0,1-8,0V172H104a4,4,0,0,1,0-8h36a16,16,0,0,0,0-32H116a24,24,0,0,1,0-48h8V72a4,4,0,0,1,8,0V84h20a4,4,0,0,1,0,8H116a16,16,0,0,0,0,32h24A24,24,0,0,1,164,148Z"}))]]);var eM=H4.forwardRef((e,t)=>H4.createElement(Yr,{ref:t,...e,weights:F4}));eM.displayName="CurrencyCircleDollarIcon";var tM=eM;var Ko=M(F(),1),dG=new Map([["bold",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M224.15,179.17l-46.82-46.82,37.92-13.51c.26-.09.51-.19.76-.3a20,20,0,0,0-1.76-37.27L54.16,29A20,20,0,0,0,29,54.16L81.27,214.24A20,20,0,0,0,118.54,216c.11-.25.21-.5.3-.76l13.51-37.92,46.83,46.82a20,20,0,0,0,28.28,0l16.69-16.68A20,20,0,0,0,224.15,179.17Zm-30.83,25.17-48.48-48.48A20,20,0,0,0,130.7,150a20.47,20.47,0,0,0-3.73.35A20,20,0,0,0,112.35,162c-.11.25-.2.5-.3.76L100.4,195.5,54.29,54.29,195.5,100.4l-32.71,11.65c-.25.09-.51.19-.76.3a20,20,0,0,0-6.16,32.48h0l48.48,48.48ZM84,16V12a12,12,0,0,1,24,0v4a12,12,0,0,1-24,0ZM12,108a12,12,0,0,1,0-24h4a12,12,0,0,1,0,24ZM120.62,24.21l4-12a12,12,0,0,1,22.77,7.58l-4,12a12,12,0,0,1-22.77-7.58Zm-81.23,104a12,12,0,0,1-7.59,15.17l-12,4a12,12,0,1,1-7.59-22.76l12-4A12,12,0,0,1,39.39,128.21Z"}))],["duotone",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M213.66,201,201,213.66a8,8,0,0,1-11.31,0l-51.31-51.31a8,8,0,0,0-13,2.46l-17.82,46.41a8,8,0,0,1-14.85-.71L40.41,50.44a8,8,0,0,1,10-10L210.51,92.68a8,8,0,0,1,.71,14.85l-46.41,17.82a8,8,0,0,0-2.46,13l51.31,51.31A8,8,0,0,1,213.66,201Z",opacity:"0.2"}),Ko.createElement("path",{d:"M88,24V16a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM16,104h8a8,8,0,0,0,0-16H16a8,8,0,0,0,0,16ZM124.42,39.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.31-7.16l-8,16A8,8,0,0,0,124.42,39.16Zm-96,81.69-16,8a8,8,0,0,0,7.16,14.31l16-8a8,8,0,1,0-7.16-14.31ZM219.31,184a16,16,0,0,1,0,22.63l-12.68,12.68a16,16,0,0,1-22.63,0L132.7,168,115,214.09c0,.1-.08.21-.13.32a15.83,15.83,0,0,1-14.6,9.59l-.79,0a15.83,15.83,0,0,1-14.41-11L32.8,52.92A16,16,0,0,1,52.92,32.8L213,85.07a16,16,0,0,1,1.41,29.8l-.32.13L168,132.69ZM208,195.31,156.69,144h0a16,16,0,0,1,4.93-26l.32-.14,45.95-17.64L48,48l52.2,159.86,17.65-46c0-.11.08-.22.13-.33a16,16,0,0,1,11.69-9.34,16.72,16.72,0,0,1,3-.28,16,16,0,0,1,11.3,4.69L195.31,208Z"}))],["fill",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M220.49,190.83a12,12,0,0,1,0,17L207.8,220.49a12,12,0,0,1-17,0l-56.56-56.57L115,214.09c0,.1-.08.21-.13.32a15.83,15.83,0,0,1-14.6,9.59l-.79,0a15.83,15.83,0,0,1-14.41-11L32.8,52.92A16,16,0,0,1,52.92,32.8L213,85.07a16,16,0,0,1,1.41,29.8l-.32.13-50.17,19.27ZM96,32a8,8,0,0,0,8-8V16a8,8,0,0,0-16,0v8A8,8,0,0,0,96,32ZM16,104h8a8,8,0,0,0,0-16H16a8,8,0,0,0,0,16ZM124.42,39.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.31-7.16l-8,16A8,8,0,0,0,124.42,39.16Zm-96,81.69-16,8a8,8,0,0,0,7.16,14.31l16-8a8,8,0,1,0-7.16-14.31Z"}))],["light",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M90,24V16a6,6,0,0,1,12,0v8a6,6,0,0,1-12,0ZM16,102h8a6,6,0,0,0,0-12H16a6,6,0,0,0,0,12ZM125.32,37.37a6,6,0,0,0,8.05-2.69l8-16a6,6,0,0,0-10.74-5.37l-8,16A6,6,0,0,0,125.32,37.37Zm-96,85.26-16,8a6,6,0,0,0,5.36,10.74l16-8a6,6,0,1,0-5.36-10.74ZM217.9,185.41a14,14,0,0,1,0,19.8L205.21,217.9a14,14,0,0,1-19.8,0L134.1,166.59a2,2,0,0,0-3.21.54l-17.75,46.24a2.44,2.44,0,0,0-.1.24A13.85,13.85,0,0,1,100.26,222c-.23,0-.45,0-.68,0A13.85,13.85,0,0,1,87,212.38L34.7,52.3A14,14,0,0,1,52.3,34.7L212.38,87A14,14,0,0,1,213.61,113l-.24.09-46.25,17.76a2,2,0,0,0-.53,3.21Zm-8.49,8.49L158.1,142.59h0a14,14,0,0,1,4.32-22.74l.24-.1L208.91,102a2,2,0,0,0-.26-3.61L48.58,46.11a2.33,2.33,0,0,0-.65-.11,2,2,0,0,0-1.82,2.58L98.38,208.65a1.84,1.84,0,0,0,1.77,1.35,1.81,1.81,0,0,0,1.84-1.09l17.76-46.25.1-.24a14,14,0,0,1,22.74-4.32l51.31,51.31a2,2,0,0,0,2.83,0l12.68-12.68A2,2,0,0,0,209.41,193.9Z"}))],["regular",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M88,24V16a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM16,104h8a8,8,0,0,0,0-16H16a8,8,0,0,0,0,16ZM124.42,39.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.31-7.16l-8,16A8,8,0,0,0,124.42,39.16Zm-96,81.69-16,8a8,8,0,0,0,7.16,14.31l16-8a8,8,0,1,0-7.16-14.31ZM219.31,184a16,16,0,0,1,0,22.63l-12.68,12.68a16,16,0,0,1-22.63,0L132.7,168,115,214.09c0,.1-.08.21-.13.32a15.83,15.83,0,0,1-14.6,9.59l-.79,0a15.83,15.83,0,0,1-14.41-11L32.8,52.92A16,16,0,0,1,52.92,32.8L213,85.07a16,16,0,0,1,1.41,29.8l-.32.13L168,132.69ZM208,195.31,156.69,144h0a16,16,0,0,1,4.93-26l.32-.14,45.95-17.64L48,48l52.2,159.86,17.65-46c0-.11.08-.22.13-.33a16,16,0,0,1,11.69-9.34,16.72,16.72,0,0,1,3-.28,16,16,0,0,1,11.3,4.69L195.31,208Z"}))],["thin",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M92,24V16a4,4,0,0,1,8,0v8a4,4,0,0,1-8,0ZM16,100h8a4,4,0,0,0,0-8H16a4,4,0,0,0,0,8ZM126.21,35.58a4,4,0,0,0,5.37-1.79l8-16a4,4,0,0,0-7.16-3.58l-8,16A4,4,0,0,0,126.21,35.58Zm-96,88.84-16,8a4,4,0,0,0,3.58,7.16l16-8a4,4,0,1,0-3.58-7.16Zm186.28,62.41a12,12,0,0,1,0,17L203.8,216.49a12,12,0,0,1-17,0l-51.31-51.31a3.93,3.93,0,0,0-3.58-1.11,4,4,0,0,0-2.89,2.27l-17.78,46.31a.77.77,0,0,1-.07.16A11.85,11.85,0,0,1,100.26,220h-.59a11.88,11.88,0,0,1-10.8-8.23L36.6,51.68A12,12,0,0,1,51.68,36.6L211.76,88.87a12,12,0,0,1,1.05,22.33l-.16.07-46.31,17.78a4,4,0,0,0-1.17,6.47Zm-5.66,5.66-51.31-51.32a12,12,0,0,1,3.7-19.49l.16-.06,46.31-17.79a3.95,3.95,0,0,0-.42-7.35L49.2,44.21a4,4,0,0,0-5,5L96.48,209.27a4,4,0,0,0,7.36.42l17.78-46.31a1.11,1.11,0,0,1,.07-.16,12,12,0,0,1,8.76-7,12.21,12.21,0,0,1,2.24-.21,12,12,0,0,1,8.49,3.52l51.31,51.31a4,4,0,0,0,5.65,0l12.69-12.69A4,4,0,0,0,210.83,192.49Z"}))]]);var Qo=M(F(),1),pG=new Map([["bold",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M196,35.52C177.62,25.51,153.48,20,128,20S78.38,25.51,60,35.52C39.37,46.79,28,62.58,28,80v96c0,17.42,11.37,33.21,32,44.48,18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52c20.66-11.27,32-27.06,32-44.48V80C228,62.58,216.63,46.79,196,35.52ZM204,128c0,17-31.21,36-76,36s-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94ZM128,44c44.79,0,76,19,76,36s-31.21,36-76,36S52,97,52,80,83.21,44,128,44Zm0,168c-44.79,0-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94V176C204,193,172.79,212,128,212Z"}))],["duotone",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M216,80c0,26.51-39.4,48-88,48S40,106.51,40,80s39.4-48,88-48S216,53.49,216,80Z",opacity:"0.2"}),Qo.createElement("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"}))],["fill",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64Zm-21.61,74.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"}))],["light",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M128,26C75.29,26,34,49.72,34,80v96c0,30.28,41.29,54,94,54s94-23.72,94-54V80C222,49.72,180.71,26,128,26Zm0,12c44.45,0,82,19.23,82,42s-37.55,42-82,42S46,102.77,46,80,83.55,38,128,38Zm82,138c0,22.77-37.55,42-82,42s-82-19.23-82-42V154.79C62,171.16,92.37,182,128,182s66-10.84,82-27.21Zm0-48c0,22.77-37.55,42-82,42s-82-19.23-82-42V106.79C62,123.16,92.37,134,128,134s66-10.84,82-27.21Z"}))],["regular",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"}))],["thin",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"}))]]);var Jo=M(F(),1),hG=new Map([["bold",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"}))],["duotone",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"}),Jo.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["fill",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"}))],["light",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"}))],["regular",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["thin",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"}))]]);var er=M(F(),1),gG=new Map([["bold",er.createElement(er.Fragment,null,er.createElement("path",{d:"M225.15,197.71,164,95.81V44h4a12,12,0,0,0,0-24H88a12,12,0,0,0,0,24h4V95.81L30.85,197.71A20,20,0,0,0,48,228H208a20,20,0,0,0,17.15-30.29ZM140,44V99.14a12,12,0,0,0,1.71,6.17l35.13,58.54c-10.79.86-25.15-1.31-43.42-10.56-14-7.08-27.46-11.33-40.27-12.76l21.14-35.22A12,12,0,0,0,116,99.14V44ZM55.06,204,79,164.19c13-1.11,27.62,2.42,43.62,10.52,19.61,9.92,36.25,13.31,49.85,13.31A75.44,75.44,0,0,0,190.11,186l10.83,18Z"}))],["duotone",er.createElement(er.Fragment,null,er.createElement("path",{d:"M208,216H48a8,8,0,0,1-6.86-12.12l30.48-50.8h0c13.23-2.48,32-1.41,56.37,10.92,32.25,16.33,54.75,12.91,67.5,7.65h0l19.34,32.23A8,8,0,0,1,208,216Z",opacity:"0.2"}),er.createElement("path",{d:"M221.69,199.77,160,96.92V40h8a8,8,0,0,0,0-16H88a8,8,0,0,0,0,16h8V96.92L34.31,199.77A16,16,0,0,0,48,224H208a16,16,0,0,0,13.72-24.23ZM110.86,103.25A7.93,7.93,0,0,0,112,99.14V40h32V99.14a7.93,7.93,0,0,0,1.14,4.11L183.36,167c-12,2.37-29.07,1.37-51.75-10.11-15.91-8.05-31.05-12.32-45.22-12.81ZM48,208l28.54-47.58c14.25-1.73,30.31,1.85,47.82,10.72,19,9.61,35,12.88,48,12.88a69.89,69.89,0,0,0,19.55-2.7L208,208Z"}))],["fill",er.createElement(er.Fragment,null,er.createElement("path",{d:"M221.69,199.77,160,96.92V40h8a8,8,0,0,0,0-16H88a8,8,0,0,0,0,16h8V96.92L34.31,199.77A16,16,0,0,0,48,224H208a16,16,0,0,0,13.72-24.23Zm-90.08-42.91c-15.91-8.05-31.05-12.32-45.22-12.81l24.47-40.8A7.93,7.93,0,0,0,112,99.14V40h32V99.14a7.93,7.93,0,0,0,1.14,4.11L183.36,167C171.4,169.34,154.29,168.34,131.61,156.86Z"}))],["light",er.createElement(er.Fragment,null,er.createElement("path",{d:"M220,200.8,158,97.48V38h10a6,6,0,0,0,0-12H88a6,6,0,0,0,0,12H98V97.48L36,200.8A14,14,0,0,0,48,222H208a14,14,0,0,0,12-21.2ZM109.15,102.23a6,6,0,0,0,.85-3.09V38h36V99.14a6,6,0,0,0,.85,3.09l39.65,66.08c-12.41,3.16-30.86,3-55.79-9.66-16.94-8.58-33-12.8-47.83-12.64ZM209.72,209a2,2,0,0,1-1.74,1H48a2,2,0,0,1-1.71-3l29-48.41c14.89-2.08,31.68,1.55,49.94,10.79C144,178.8,159.67,182,172.42,182A67.89,67.89,0,0,0,192.89,179l16.8,28A2,2,0,0,1,209.72,209Z"}))],["regular",er.createElement(er.Fragment,null,er.createElement("path",{d:"M221.69,199.77,160,96.92V40h8a8,8,0,0,0,0-16H88a8,8,0,0,0,0,16h8V96.92L34.31,199.77A16,16,0,0,0,48,224H208a16,16,0,0,0,13.72-24.23ZM110.86,103.25A7.93,7.93,0,0,0,112,99.14V40h32V99.14a7.93,7.93,0,0,0,1.14,4.11L183.36,167c-12,2.37-29.07,1.37-51.75-10.11-15.91-8.05-31.05-12.32-45.22-12.81ZM48,208l28.54-47.58c14.25-1.74,30.31,1.85,47.82,10.72,19,9.61,35,12.88,48,12.88a69.89,69.89,0,0,0,19.55-2.7L208,208Z"}))],["thin",er.createElement(er.Fragment,null,er.createElement("path",{d:"M218.27,201.83,156,98V36h12a4,4,0,0,0,0-8H88a4,4,0,0,0,0,8h12V98L37.73,201.83A12,12,0,0,0,48,220H208a12,12,0,0,0,10.29-18.17ZM107.43,101.2a4.07,4.07,0,0,0,.57-2.06V36h40V99.14a4.07,4.07,0,0,0,.57,2.06l41,68.33c-12.76,3.94-32.54,4.68-59.75-9.1-18-9.14-35-13.24-50.54-12.29ZM211.46,210a3.94,3.94,0,0,1-3.48,2H48a4,4,0,0,1-3.43-6.06l29.53-49.21c15.54-2.43,33.05,1.21,52.07,10.84C144.54,176.86,160,180,172.42,180a65,65,0,0,0,21.36-3.46l17.63,29.38A3.92,3.92,0,0,1,211.46,210Z"}))]]);var tr=M(F(),1),bG=new Map([["bold",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M248.49,71.51l-32-32a12,12,0,0,0-17,17L211,68h-3c-52,0-64.8,30.71-75.08,55.38-8.82,21.17-15.45,37.05-42.75,40.09a44,44,0,1,0,.28,24.08c43.34-3.87,55.07-32,64.63-54.93C164.9,109,172,92,208,92h3l-11.52,11.51a12,12,0,0,0,17,17l32-32A12,12,0,0,0,248.49,71.51ZM48,196a20,20,0,1,1,20-20A20,20,0,0,1,48,196Z"}))],["duotone",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M80,176a32,32,0,1,1-32-32A32,32,0,0,1,80,176Z",opacity:"0.2"}),tr.createElement("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"}))],["fill",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M245.66,85.66l-32,32a8,8,0,0,1-11.32-11.32L220.69,88H208c-38.67,0-46.59,19-56.62,43.08C141.05,155.88,129.33,184,80,184H79a32,32,0,1,1,0-16h1c38.67,0,46.59-19,56.62-43.08C147,100.12,158.67,72,208,72h12.69L202.34,53.66a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,245.66,85.66Z"}))],["light",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M244.24,75.76l-32-32a6,6,0,0,0-8.48,8.48L225.51,74H208c-48,0-59.44,27.46-69.54,51.69-9.43,22.64-17.66,42.33-53,44.16a38,38,0,1,0,.06,12c43.34-2.06,54.29-28.29,64-51.55C159.44,106.53,168,86,208,86h17.51l-21.75,21.76a6,6,0,1,0,8.48,8.48l32-32A6,6,0,0,0,244.24,75.76ZM48,202a26,26,0,1,1,26-26A26,26,0,0,1,48,202Z"}))],["regular",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"}))],["thin",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M242.83,77.17l-32-32a4,4,0,0,0-5.66,5.66L230.34,76H208c-46.67,0-57.84,26.81-67.69,50.46-9.46,22.69-18.4,44.16-56.55,45.48a36,36,0,1,0,0,8c43.49-1.42,54.33-27.39,63.91-50.39C157.45,106.12,166.67,84,208,84h22.34l-25.17,25.17a4,4,0,0,0,5.66,5.66l32-32A4,4,0,0,0,242.83,77.17ZM48,204a28,28,0,1,1,28-28A28,28,0,0,1,48,204Z"}))]]);var or=M(F(),1),yG=new Map([["bold",or.createElement(or.Fragment,null,or.createElement("path",{d:"M234.29,47.91A20,20,0,0,0,216,36H40A20,20,0,0,0,25.2,69.45l.12.14L92,140.75V216a20,20,0,0,0,31.1,16.64l32-21.33A20,20,0,0,0,164,194.66V140.75l66.67-71.16.12-.14A20,20,0,0,0,234.29,47.91Zm-91,79.89A12,12,0,0,0,140,136v56.52l-24,16V136a12,12,0,0,0-3.25-8.2L49.23,60H206.77Z"}))],["duotone",or.createElement(or.Fragment,null,or.createElement("path",{d:"M221.9,61.38,152,136v58.65a8,8,0,0,1-3.56,6.66l-32,21.33A8,8,0,0,1,104,216V136L34.1,61.38A8,8,0,0,1,40,48H216A8,8,0,0,1,221.9,61.38Z",opacity:"0.2"}),or.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["fill",or.createElement(or.Fragment,null,or.createElement("path",{d:"M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z"}))],["light",or.createElement(or.Fragment,null,or.createElement("path",{d:"M228.77,50.34A13.8,13.8,0,0,0,216,42H40A14,14,0,0,0,29.67,65.42l.06.07L98,138.38V216a14,14,0,0,0,21.77,11.64l32-21.33A14,14,0,0,0,158,194.66V138.38l68.33-73A13.82,13.82,0,0,0,228.77,50.34Zm-11.26,6.94L147.62,131.9A6,6,0,0,0,146,136v58.66a2,2,0,0,1-.89,1.67l-32,21.33A2,2,0,0,1,110,216V136a6,6,0,0,0-1.62-4.1L38.53,57.32A2,2,0,0,1,40,54H216a1.9,1.9,0,0,1,1.83,1.19A1.86,1.86,0,0,1,217.51,57.28Z"}))],["regular",or.createElement(or.Fragment,null,or.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["thin",or.createElement(or.Fragment,null,or.createElement("path",{d:"M227,51.15A11.85,11.85,0,0,0,216,44H40a12,12,0,0,0-8.88,20.07l.05.05L100,137.59V216a12,12,0,0,0,18.66,10l32-21.33a12,12,0,0,0,5.35-10V137.59l68.86-73.52A11.85,11.85,0,0,0,227,51.15Zm-8,7.5-69.9,74.62A4,4,0,0,0,148,136v58.65a4,4,0,0,1-1.78,3.33l-32,21.33A4,4,0,0,1,108,216V136a4,4,0,0,0-1.08-2.74L37.05,58.67A4,4,0,0,1,40,52H216a4,4,0,0,1,3,6.65Z"}))]]);var rr=M(F(),1),SG=new Map([["bold",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"}))],["duotone",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),rr.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["fill",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["light",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"}))],["regular",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["thin",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"}))]]);var nr=M(F(),1),xG=new Map([["bold",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm84,108a83.64,83.64,0,0,1-4.47,27L167,130a19.65,19.65,0,0,0-7.8-2.78l-22.82-3.08A20.14,20.14,0,0,0,117.72,132h-4.07l-2.71-5.6a19.88,19.88,0,0,0-13.8-10.84L94.46,115l4-7h14.39a20,20,0,0,0,9.66-2.49l12.25-6.76a20.57,20.57,0,0,0,3.74-2.68l26.92-24.33A20,20,0,0,0,172,56.49,84,84,0,0,1,212,128ZM140.76,45l6.2,11.1L122.75,78l-10.93,6H96.14A20.05,20.05,0,0,0,78.78,94.06l-4.49,7.85L67.68,84.28l9.91-23.42A83.91,83.91,0,0,1,140.76,45ZM44,128a83.52,83.52,0,0,1,4.4-26.77l7.74,20.65a19.89,19.89,0,0,0,14.52,12.53l19.53,4.2,3,6.1a20.11,20.11,0,0,0,13.55,10.77l-5,11.12a20,20,0,0,0,3.58,21.71l.21.22,18.16,18.7-.89,4.59A84.09,84.09,0,0,1,44,128Zm103.65,81.66a20.11,20.11,0,0,0-5-17.3l-.21-.22-17.72-18.25,11.37-25.52,19,2.56,41.43,25.48A84.2,84.2,0,0,1,147.65,209.66Z"}))],["duotone",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M213.09,172.48a96,96,0,0,1-80.41,51.41l3.17-16.44a8,8,0,0,0-2-6.95l-19.74-20.33a8,8,0,0,1-1.44-8.69l13.7-30.74a8,8,0,0,1,8.38-4.67l22.82,3.08a8.11,8.11,0,0,1,3.12,1.11ZM116.71,95,129,88.24a7.46,7.46,0,0,0,1.5-1.07l26.91-24.33A8,8,0,0,0,159,53l-10.5-18.81A96.62,96.62,0,0,0,128,32,95.61,95.61,0,0,0,67.78,53.23L56,81.08A8,8,0,0,0,55.88,87l11.5,30.67a8,8,0,0,0,5.81,5l2.69.58L89.2,100a8,8,0,0,1,6.94-4h16.71A7.9,7.9,0,0,0,116.71,95Z",opacity:"0.2"}),nr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.62,87.62,0,0,1-6.4,32.94l-44.7-27.49a15.92,15.92,0,0,0-6.24-2.23l-22.82-3.08a16.11,16.11,0,0,0-16,7.86h-8.72l-3.8-7.86a15.91,15.91,0,0,0-11-8.67l-8-1.73L96.14,104h16.71a16.06,16.06,0,0,0,7.73-2l12.25-6.76a16.62,16.62,0,0,0,3-2.14l26.91-24.34A15.93,15.93,0,0,0,166,49.1l-.36-.65A88.11,88.11,0,0,1,216,128ZM143.31,41.34,152,56.9,125.09,81.24,112.85,88H96.14a16,16,0,0,0-13.88,8l-8.73,15.23L63.38,84.19,74.32,58.32a87.87,87.87,0,0,1,69-17ZM40,128a87.53,87.53,0,0,1,8.54-37.8l11.34,30.27a16,16,0,0,0,11.62,10l21.43,4.61L96.74,143a16.09,16.09,0,0,0,14.4,9h1.48l-7.23,16.23a16,16,0,0,0,2.86,17.37l.14.14L128,205.94l-1.94,10A88.11,88.11,0,0,1,40,128Zm102.58,86.78,1.13-5.81a16.09,16.09,0,0,0-4-13.9,1.85,1.85,0,0,1-.14-.14L120,174.74,133.7,144l22.82,3.08,45.72,28.12A88.18,88.18,0,0,1,142.58,214.78Z"}))],["fill",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.62,87.62,0,0,1-6.4,32.94l-44.7-27.49a15.92,15.92,0,0,0-6.24-2.23l-22.82-3.08a16.11,16.11,0,0,0-16,7.86h-8.72l-3.8-7.86a15.91,15.91,0,0,0-11-8.67l-8-1.73L96.14,104h16.71a16.06,16.06,0,0,0,7.73-2l12.25-6.76a16.62,16.62,0,0,0,3-2.14l26.91-24.34A15.93,15.93,0,0,0,166,49.1l-.36-.65A88.11,88.11,0,0,1,216,128ZM40,128a87.53,87.53,0,0,1,8.54-37.8l11.34,30.27a16,16,0,0,0,11.62,10l21.43,4.61L96.74,143a16.09,16.09,0,0,0,14.4,9h1.48l-7.23,16.23a16,16,0,0,0,2.86,17.37l.14.14L128,205.94l-1.94,10A88.11,88.11,0,0,1,40,128Z"}))],["light",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm90,102a89.55,89.55,0,0,1-7.46,35.86l-46.69-28.71a13.94,13.94,0,0,0-5.46-2l-22.82-3.07A14.06,14.06,0,0,0,121.06,138h-9.92a2,2,0,0,1-1.8-1.13l-3.8-7.86a13.94,13.94,0,0,0-9.66-7.59l-10.71-2.3L94.4,103a2,2,0,0,1,1.74-1h16.71a13.9,13.9,0,0,0,6.76-1.75l12.25-6.75a14.73,14.73,0,0,0,2.62-1.88l26.91-24.33a13.93,13.93,0,0,0,2.83-17.21L161,44.25A90.16,90.16,0,0,1,218,128ZM144.6,39.54l9.15,16.39a2,2,0,0,1-.41,2.46L126.43,82.72a1.84,1.84,0,0,1-.37.27l-12.25,6.76a2,2,0,0,1-1,.25H96.14A14,14,0,0,0,84,97L73.18,115.91a2,2,0,0,1-.19-.35L61.5,84.89a2,2,0,0,1,0-1.48L72.68,57.06A89.9,89.9,0,0,1,144.6,39.54ZM38,128A89.52,89.52,0,0,1,49.38,84.23a13.85,13.85,0,0,0,.89,4.87l11.49,30.67a13.94,13.94,0,0,0,10.16,8.78l21.44,4.6a2,2,0,0,1,1.38,1.09l3.8,7.86a14.07,14.07,0,0,0,12.6,7.9h4.56l-8.49,19a14,14,0,0,0,2.51,15.2l.1.11,19.68,20.26a2,2,0,0,1,.46,1.7L127.7,218A90.1,90.1,0,0,1,38,128Zm102.08,89.19,1.67-8.6a14.07,14.07,0,0,0-3.47-12.16l-.1-.11L118.5,176.06a2,2,0,0,1-.33-2.14l13.7-30.73A2,2,0,0,1,134,142l22.82,3.08a2,2,0,0,1,.78.27L205,174.55A90.18,90.18,0,0,1,140.08,217.19Z"}))],["regular",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.62,87.62,0,0,1-6.4,32.94l-44.7-27.49a15.92,15.92,0,0,0-6.24-2.23l-22.82-3.08a16.11,16.11,0,0,0-16,7.86h-8.72l-3.8-7.86a15.91,15.91,0,0,0-11-8.67l-8-1.73L96.14,104h16.71a16.06,16.06,0,0,0,7.73-2l12.25-6.76a16.62,16.62,0,0,0,3-2.14l26.91-24.34A15.93,15.93,0,0,0,166,49.1l-.36-.65A88.11,88.11,0,0,1,216,128ZM143.31,41.34,152,56.9,125.09,81.24,112.85,88H96.14a16,16,0,0,0-13.88,8l-8.73,15.23L63.38,84.19,74.32,58.32a87.87,87.87,0,0,1,69-17ZM40,128a87.53,87.53,0,0,1,8.54-37.8l11.34,30.27a16,16,0,0,0,11.62,10l21.43,4.61L96.74,143a16.09,16.09,0,0,0,14.4,9h1.48l-7.23,16.23a16,16,0,0,0,2.86,17.37l.14.14L128,205.94l-1.94,10A88.11,88.11,0,0,1,40,128Zm102.58,86.78,1.13-5.81a16.09,16.09,0,0,0-4-13.9,1.85,1.85,0,0,1-.14-.14L120,174.74,133.7,144l22.82,3.08,45.72,28.12A88.18,88.18,0,0,1,142.58,214.78Z"}))],["thin",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm92,100a91.44,91.44,0,0,1-8.58,38.76L162.8,136.85a12.07,12.07,0,0,0-4.68-1.67l-22.82-3.07a12,12,0,0,0-12.56,7l-.4.88h-11.2a4,4,0,0,1-3.6-2.26l-3.8-7.86a11.93,11.93,0,0,0-8.28-6.5L82.07,120.5,92.67,102a4,4,0,0,1,3.47-2h16.71a12,12,0,0,0,5.8-1.5l12.24-6.76a11.79,11.79,0,0,0,2.25-1.6L160.05,65.8a12,12,0,0,0,2.43-14.75l-5.86-10.49A92.17,92.17,0,0,1,220,128ZM145.89,37.75l9.6,17.2a4,4,0,0,1-.81,4.92L127.77,84.21a4.41,4.41,0,0,1-.75.53L114.78,91.5a4,4,0,0,1-1.93.5H96.14a12,12,0,0,0-10.41,6l-11.86,20.7a4,4,0,0,1-2.75-2.47L59.63,85.6a4,4,0,0,1,.06-3L71,55.81A91.51,91.51,0,0,1,128,36,92.53,92.53,0,0,1,145.89,37.75ZM36,128A91.52,91.52,0,0,1,56,70.77l-3.71,8.75a12,12,0,0,0-.18,8.88l11.49,30.67a11.93,11.93,0,0,0,8.72,7.52l21.43,4.61a4,4,0,0,1,2.76,2.17l3.8,7.86a12.07,12.07,0,0,0,10.8,6.77h7.64L109,169.85A12,12,0,0,0,111.26,183l19.68,20.26a4,4,0,0,1,1,3.47L129.36,220,128,220A92.1,92.1,0,0,1,36,128Zm101.6,91.5,2.18-11.29a12.08,12.08,0,0,0-3-10.49l-19.68-20.26a4,4,0,0,1-.71-4.35l13.7-30.74a4,4,0,0,1,4.18-2.33l22.82,3.07a4.12,4.12,0,0,1,1.56.56l49.11,30.2A92.12,92.12,0,0,1,137.6,219.5Z"}))]]);var ar=M(F(),1),IG=new Map([["bold",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M232.76,137.88A28.39,28.39,0,0,0,208.13,133L172,141.26c0-.42,0-.84,0-1.26a32,32,0,0,0-32-32H89.94a35.76,35.76,0,0,0-25.45,10.54L43,140H20A20,20,0,0,0,0,160v40a20,20,0,0,0,20,20H120a11.89,11.89,0,0,0,2.91-.36l64-16a11.4,11.4,0,0,0,1.79-.6l38.82-16.54c.23-.09.45-.19.67-.3a28.61,28.61,0,0,0,4.57-48.32ZM36,196H24V164H36Zm181.68-31.39-37.51,16L118.52,196H60V157l21.46-21.46A11.93,11.93,0,0,1,89.94,132H140a8,8,0,0,1,0,16H112a12,12,0,0,0,0,24h32a12.19,12.19,0,0,0,2.69-.3l67-15.41.47-.12a4.61,4.61,0,0,1,5.82,4.44A4.58,4.58,0,0,1,217.68,164.61ZM164,100a40.36,40.36,0,0,0,5.18-.34,40,40,0,1,0,29.67-59.32A40,40,0,1,0,164,100Zm40-36a16,16,0,1,1-16,16A16,16,0,0,1,204,64ZM164,44a16,16,0,0,1,12.94,6.58A39.9,39.9,0,0,0,164.2,76H164a16,16,0,0,1,0-32Z"}))],["duotone",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M16,152H48v56H16a8,8,0,0,1-8-8V160A8,8,0,0,1,16,152ZM204,56a28,28,0,0,0-12,2.71h0A28,28,0,1,0,176,85.29h0A28,28,0,1,0,204,56Z",opacity:"0.2"}),ar.createElement("path",{d:"M230.33,141.06a24.43,24.43,0,0,0-21.24-4.23l-41.84,9.62A28,28,0,0,0,140,112H89.94a31.82,31.82,0,0,0-22.63,9.37L44.69,144H16A16,16,0,0,0,0,160v40a16,16,0,0,0,16,16H120a7.93,7.93,0,0,0,1.94-.24l64-16a6.94,6.94,0,0,0,1.19-.4L226,182.82l.44-.2a24.6,24.6,0,0,0,3.93-41.56ZM16,160H40v40H16Zm203.43,8.21-38,16.18L119,200H56V155.31l22.63-22.62A15.86,15.86,0,0,1,89.94,128H140a12,12,0,0,1,0,24H112a8,8,0,0,0,0,16h32a8.32,8.32,0,0,0,1.79-.2l67-15.41.31-.08a8.6,8.6,0,0,1,6.3,15.9ZM164,96a36,36,0,0,0,5.9-.48,36,36,0,1,0,28.22-47A36,36,0,1,0,164,96Zm60-12a20,20,0,1,1-20-20A20,20,0,0,1,224,84ZM164,40a20,20,0,0,1,19.25,14.61,36,36,0,0,0-15,24.93A20.42,20.42,0,0,1,164,80a20,20,0,0,1,0-40Z"}))],["fill",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M128.09,57.38a36,36,0,0,1,55.17-27.82,4,4,0,0,1-.56,7A52.06,52.06,0,0,0,152,84c0,1.17,0,2.34.12,3.49a4,4,0,0,1-6,3.76A36,36,0,0,1,128.09,57.38ZM240,160.61a24.47,24.47,0,0,1-13.6,22l-.44.2-38.83,16.54a6.94,6.94,0,0,1-1.19.4l-64,16A7.93,7.93,0,0,1,120,216H16A16,16,0,0,1,0,200V160a16,16,0,0,1,16-16H44.69l22.62-22.63A31.82,31.82,0,0,1,89.94,112H140a28,28,0,0,1,27.25,34.45l41.84-9.62A24.61,24.61,0,0,1,240,160.61Zm-16,0a8.61,8.61,0,0,0-10.87-8.3l-.31.08-67,15.41a8.32,8.32,0,0,1-1.79.2H112a8,8,0,0,1,0-16h28a12,12,0,0,0,0-24H89.94a15.86,15.86,0,0,0-11.31,4.69L56,155.31V200h63l62.43-15.61,38-16.18A8.56,8.56,0,0,0,224,160.61ZM168,84a36,36,0,1,0,36-36A36,36,0,0,0,168,84Z"}))],["light",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M229.12,142.65a22.43,22.43,0,0,0-19.55-3.88l-45.24,10.4A26,26,0,0,0,140,114H89.94a29.78,29.78,0,0,0-21.21,8.79L45.52,146H16A14,14,0,0,0,2,160v40a14,14,0,0,0,14,14H120a6,6,0,0,0,1.46-.18l64-16a7.16,7.16,0,0,0,.89-.3L225.17,181l.33-.15a22.6,22.6,0,0,0,3.62-38.18ZM14,200V160a2,2,0,0,1,2-2H42v44H16A2,2,0,0,1,14,200Zm206.28-30-38.2,16.27L119.26,202H54V154.49l23.21-23.22A17.88,17.88,0,0,1,89.94,126H140a14,14,0,0,1,0,28H112a6,6,0,0,0,0,12h32a6,6,0,0,0,1.34-.15l67-15.41.24-.06A10.6,10.6,0,0,1,220.28,170ZM164,94a34.54,34.54,0,0,0,7.28-.78,34,34,0,1,0,25.46-42.43A34,34,0,1,0,164,94Zm62-10a22,22,0,1,1-22-22A22,22,0,0,1,226,84ZM164,38a21.94,21.94,0,0,1,21.51,17.49,34,34,0,0,0-15.38,25.65A22,22,0,1,1,164,38Z"}))],["regular",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M230.33,141.06a24.43,24.43,0,0,0-21.24-4.23l-41.84,9.62A28,28,0,0,0,140,112H89.94a31.82,31.82,0,0,0-22.63,9.37L44.69,144H16A16,16,0,0,0,0,160v40a16,16,0,0,0,16,16H120a7.93,7.93,0,0,0,1.94-.24l64-16a6.94,6.94,0,0,0,1.19-.4L226,182.82l.44-.2a24.6,24.6,0,0,0,3.93-41.56ZM16,160H40v40H16Zm203.43,8.21-38,16.18L119,200H56V155.31l22.63-22.62A15.86,15.86,0,0,1,89.94,128H140a12,12,0,0,1,0,24H112a8,8,0,0,0,0,16h32a8.32,8.32,0,0,0,1.79-.2l67-15.41.31-.08a8.6,8.6,0,0,1,6.3,15.9ZM164,96a36,36,0,0,0,5.9-.48,36,36,0,1,0,28.22-47A36,36,0,1,0,164,96Zm60-12a20,20,0,1,1-20-20A20,20,0,0,1,224,84ZM164,40a20,20,0,0,1,19.25,14.61,36,36,0,0,0-15,24.93A20.42,20.42,0,0,1,164,80a20,20,0,0,1,0-40Z"}))],["thin",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M227.9,144.24a20.45,20.45,0,0,0-17.84-3.53L160.75,152A23.76,23.76,0,0,0,164,140a24,24,0,0,0-24-24H89.94a27.81,27.81,0,0,0-19.8,8.2L46.34,148H16A12,12,0,0,0,4,160v40a12,12,0,0,0,12,12H120a4,4,0,0,0,1-.12l64-16a4.69,4.69,0,0,0,.6-.2l38.82-16.54.22-.1a20.6,20.6,0,0,0,3.29-34.8ZM12,200V160a4,4,0,0,1,4-4H44v48H16A4,4,0,0,1,12,200Zm209.13-28.17L182.72,188.2,119.51,204H52V153.66l23.8-23.8A19.86,19.86,0,0,1,89.94,124H140a16,16,0,0,1,0,32H112a4,4,0,0,0,0,8h32a3.94,3.94,0,0,0,.9-.1l67-15.41.16,0a12.6,12.6,0,0,1,9,23.38ZM164,92a31.88,31.88,0,0,0,8.73-1.2,32,32,0,1,0,22.55-37.58A32,32,0,1,0,164,92Zm64-8a24,24,0,1,1-24-24A24,24,0,0,1,228,84ZM164,36a24,24,0,0,1,23.74,20.46A32,32,0,0,0,172,82.62,24,24,0,1,1,164,36Z"}))]]);var sr=M(F(),1),vG=new Map([["bold",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a92.47,92.47,0,0,1-37,73.73,7.81,7.81,0,0,0-3,6.27,20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-.23a7.76,7.76,0,0,0-3.25-6.2,91.36,91.36,0,0,1-36.75-73C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.89,59.8,67.56,60,104.39a67.52,67.52,0,0,0,27.18,54h0A32.14,32.14,0,0,1,99.77,180H116V149L87.51,120.49a12,12,0,0,1,17-17L128,127l23.51-23.51a12,12,0,0,1,17,17L140,149v31h16.25a31.89,31.89,0,0,1,12.41-21.49A67.45,67.45,0,0,0,196,104Z"}))],["duotone",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),sr.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["fill",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-50.34,2.34a8,8,0,0,0-11.32,0L128,132.69l-26.34-26.35a8,8,0,0,0-11.32,11.32L120,147.31V184a8,8,0,0,0,16,0V147.31l29.66-29.65A8,8,0,0,0,165.66,106.34Z"}))],["light",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.25C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h26V146.49L91.76,116.24a6,6,0,0,1,8.48-8.48L128,135.52l27.76-27.76a6,6,0,0,1,8.48,8.48L134,146.49V194h26a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Z"}))],["regular",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["thin",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.84-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h28V145.66L93.17,114.83a4,4,0,0,1,5.66-5.66L128,138.34l29.17-29.17a4,4,0,1,1,5.66,5.66L132,145.66V196h28a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104Z"}))]]);var ir=M(F(),1),CG=new Map([["bold",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M219.71,117.38a12,12,0,0,0-7.25-8.52L161.28,88.39l10.59-70.61a12,12,0,0,0-20.64-10l-112,120a12,12,0,0,0,4.31,19.33l51.18,20.47L84.13,238.22a12,12,0,0,0,20.64,10l112-120A12,12,0,0,0,219.71,117.38ZM113.6,203.55l6.27-41.77a12,12,0,0,0-7.41-12.92L68.74,131.37,142.4,52.45l-6.27,41.77a12,12,0,0,0,7.41,12.92l43.72,17.49Z"}))],["duotone",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M96,240l16-80L48,136,160,16,144,96l64,24Z",opacity:"0.2"}),ir.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["fill",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z"}))],["light",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M213.84,118.63a6,6,0,0,0-3.73-4.25L150.88,92.17l15-75a6,6,0,0,0-10.27-5.27l-112,120a6,6,0,0,0,2.28,9.71l59.23,22.21-15,75a6,6,0,0,0,3.14,6.52A6.07,6.07,0,0,0,96,246a6,6,0,0,0,4.39-1.91l112-120A6,6,0,0,0,213.84,118.63ZM106,220.46l11.85-59.28a6,6,0,0,0-3.77-6.8l-55.6-20.85,91.46-98L138.12,94.82a6,6,0,0,0,3.77,6.8l55.6,20.85Z"}))],["regular",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["thin",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M211.89,119.09a4,4,0,0,0-2.49-2.84l-60.81-22.8,15.33-76.67a4,4,0,0,0-6.84-3.51l-112,120a4,4,0,0,0-1,3.64,4,4,0,0,0,2.49,2.84l60.81,22.8L92.08,239.22a4,4,0,0,0,6.84,3.51l112-120A4,4,0,0,0,211.89,119.09ZM102.68,227l13.24-66.2a4,4,0,0,0-2.52-4.53L55,134.36,153.32,29l-13.24,66.2a4,4,0,0,0,2.52,4.53L201,121.64Z"}))]]);var lr=M(F(),1),wG=new Map([["bold",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M87.5,151.52l64-64a12,12,0,0,1,17,17l-64,64a12,12,0,0,1-17-17Zm131-114a60.08,60.08,0,0,0-84.87,0L103.51,67.61a12,12,0,0,0,17,17l30.07-30.06a36,36,0,0,1,50.93,50.92L171.4,135.52a12,12,0,1,0,17,17l30.08-30.06A60.09,60.09,0,0,0,218.45,37.55ZM135.52,171.4l-30.07,30.08a36,36,0,0,1-50.92-50.93l30.06-30.07a12,12,0,0,0-17-17L37.55,133.58a60,60,0,0,0,84.88,84.87l30.06-30.07a12,12,0,0,0-17-17Z"}))],["duotone",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M209.94,113.94l-96,96a48,48,0,0,1-67.88-67.88l96-96a48,48,0,0,1,67.88,67.88Z",opacity:"0.2"}),lr.createElement("path",{d:"M165.66,90.34a8,8,0,0,1,0,11.32l-64,64a8,8,0,0,1-11.32-11.32l64-64A8,8,0,0,1,165.66,90.34ZM215.6,40.4a56,56,0,0,0-79.2,0L106.34,70.45a8,8,0,0,0,11.32,11.32l30.06-30a40,40,0,0,1,56.57,56.56l-30.07,30.06a8,8,0,0,0,11.31,11.32L215.6,119.6a56,56,0,0,0,0-79.2ZM138.34,174.22l-30.06,30.06a40,40,0,1,1-56.56-56.57l30.05-30.05a8,8,0,0,0-11.32-11.32L40.4,136.4a56,56,0,0,0,79.2,79.2l30.06-30.07a8,8,0,0,0-11.32-11.31Z"}))],["fill",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM144.56,173.66l-21.45,21.45a44,44,0,0,1-62.22-62.22l21.45-21.46a8,8,0,0,1,11.32,11.31L72.2,144.2a28,28,0,0,0,39.6,39.6l21.45-21.46a8,8,0,0,1,11.31,11.32Zm-34.9-16a8,8,0,0,1-11.32-11.32l48-48a8,8,0,0,1,11.32,11.32Zm85.45-34.55-21.45,21.45a8,8,0,0,1-11.32-11.31L183.8,111.8a28,28,0,0,0-39.6-39.6L122.74,93.66a8,8,0,0,1-11.31-11.32l21.46-21.45a44,44,0,0,1,62.22,62.22Z"}))],["light",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M164.25,91.75a6,6,0,0,1,0,8.49l-64,64a6,6,0,0,1-8.49-8.48l64-64A6,6,0,0,1,164.25,91.75ZM214.2,41.8a54.07,54.07,0,0,0-76.38,0L107.75,71.85a6,6,0,0,0,8.49,8.49l30.07-30.06a42,42,0,0,1,59.41,59.41l-30.08,30.07a6,6,0,1,0,8.49,8.49l30.07-30.07A54,54,0,0,0,214.2,41.8ZM139.76,175.64l-30.07,30.08a42,42,0,0,1-59.41-59.41l30.06-30.07a6,6,0,0,0-8.49-8.49l-30,30.07a54,54,0,0,0,76.38,76.39l30.07-30.08a6,6,0,0,0-8.49-8.49Z"}))],["regular",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M165.66,90.34a8,8,0,0,1,0,11.32l-64,64a8,8,0,0,1-11.32-11.32l64-64A8,8,0,0,1,165.66,90.34ZM215.6,40.4a56,56,0,0,0-79.2,0L106.34,70.45a8,8,0,0,0,11.32,11.32l30.06-30a40,40,0,0,1,56.57,56.56l-30.07,30.06a8,8,0,0,0,11.31,11.32L215.6,119.6a56,56,0,0,0,0-79.2ZM138.34,174.22l-30.06,30.06a40,40,0,1,1-56.56-56.57l30.05-30.05a8,8,0,0,0-11.32-11.32L40.4,136.4a56,56,0,0,0,79.2,79.2l30.06-30.07a8,8,0,0,0-11.32-11.31Z"}))],["thin",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M162.84,93.16a4,4,0,0,1,0,5.66l-64,64a4,4,0,0,1-5.66-5.66l64-64A4,4,0,0,1,162.84,93.16Zm49.95-49.95a52.07,52.07,0,0,0-73.56,0L109.17,73.27a4,4,0,0,0,5.65,5.66l30.07-30.06a44,44,0,0,1,62.24,62.24l-30.07,30.06a4,4,0,0,0,5.66,5.66l30.07-30.06A52.07,52.07,0,0,0,212.79,43.21ZM141.17,177.06l-30.06,30.07a44,44,0,0,1-62.24-62.24l30.06-30.06a4,4,0,0,0-5.66-5.66L43.21,139.23a52,52,0,0,0,73.56,73.56l30.06-30.07a4,4,0,1,0-5.66-5.66Z"}))]]);var cr=M(F(),1),TG=new Map([["bold",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128ZM128,76h88a12,12,0,0,0,0-24H128a12,12,0,0,0,0,24Zm88,104H128a12,12,0,0,0,0,24h88a12,12,0,0,0,0-24ZM79.51,39.51,56,63l-7.51-7.52a12,12,0,0,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,127l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,191l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Z"}))],["duotone",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M216,64V192H128V64Z",opacity:"0.2"}),cr.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["fill",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM117.66,149.66l-32,32a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,11.32-11.32L80,164.69l26.34-26.35a8,8,0,0,1,11.32,11.32Zm0-64-32,32a8,8,0,0,1-11.32,0l-16-16A8,8,0,0,1,69.66,90.34L80,100.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM192,168H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm0-64H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Z"}))],["light",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128ZM128,70h88a6,6,0,0,0,0-12H128a6,6,0,0,0,0,12Zm88,116H128a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12ZM83.76,43.76,56,71.51,44.24,59.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,135.51,44.24,123.76a6,6,0,1,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,199.51,44.24,187.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Z"}))],["regular",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["thin",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128ZM128,68h88a4,4,0,0,0,0-8H128a4,4,0,0,0,0,8Zm88,120H128a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8ZM85.17,45.17,56,74.34,42.83,61.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,138.34,42.83,125.17a4,4,0,1,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,202.34,42.83,189.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Z"}))]]);var O4=M(F(),1);var ur=M(F(),1),AG=new Map([["bold",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M229.7,82.84l-175.94-54-.16-.05A20,20,0,0,0,28,48V192a20,20,0,0,0,19.94,20,20.38,20.38,0,0,0,5.66-.81l.16,0,78.24-24V196a20,20,0,0,0,20,20h32a20,20,0,0,0,20-20V165.06l25.7-7.89A20.1,20.1,0,0,0,244,138V102A20.1,20.1,0,0,0,229.7,82.84ZM52,186.58V53.43L132,78V162ZM180,192H156V179.78l24-7.36Zm40-56.95-64,19.63V85.33L220,105Z"}))],["duotone",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M144,69.09V170.91L50.24,199.67A8,8,0,0,1,40,192V48a8,8,0,0,1,10.24-7.67Z",opacity:"0.2"}),ur.createElement("path",{d:"M228.54,86.66l-176.06-54A16,16,0,0,0,32,48V192a16,16,0,0,0,16,16,16,16,0,0,0,4.52-.65L136,181.73V192a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16v-29.9l28.54-8.75A16.09,16.09,0,0,0,240,138V102A16.09,16.09,0,0,0,228.54,86.66ZM136,165,48,192V48l88,27Zm48,27H152V176.82L184,167Zm40-54-.11,0L152,160.08V79.92l71.89,22,.11,0v36Z"}))],["fill",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M228.54,86.66l-176.06-54A16,16,0,0,0,32,48V192a16,16,0,0,0,16,16,16,16,0,0,0,4.52-.65L136,181.73V192a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16v-29.9l28.54-8.75A16.09,16.09,0,0,0,240,138V102A16.09,16.09,0,0,0,228.54,86.66ZM184,192H152V176.82L184,167Zm40-54-.11,0L152,160.08V79.91L223.89,102l.11,0v36Z"}))],["light",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M228,88.59l-176.08-54A14,14,0,0,0,34,48V192a14,14,0,0,0,14,14,14.59,14.59,0,0,0,4-.59L138,179v13a14,14,0,0,0,14,14h32a14,14,0,0,0,14-14V160.62l30-9.19A14.07,14.07,0,0,0,238,138V102A14,14,0,0,0,228,88.59ZM48.56,193.92a2,2,0,0,1-1.76-.32A2,2,0,0,1,46,192V48a2,2,0,0,1,.8-1.6A2.05,2.05,0,0,1,48,46a1.79,1.79,0,0,1,.49.08L138,73.53v92.95ZM186,192a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V175.35l36-11Zm40-54a2,2,0,0,1-1.44,1.92l-.08,0L150,162.8V77.21l74.56,22.87A2,2,0,0,1,226,102Z"}))],["regular",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M228.54,86.66l-176.06-54A16,16,0,0,0,32,48V192a16,16,0,0,0,16,16,16,16,0,0,0,4.52-.65L136,181.73V192a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16v-29.9l28.54-8.75A16.09,16.09,0,0,0,240,138V102A16.09,16.09,0,0,0,228.54,86.66ZM136,165,48,192V48l88,27Zm48,27H152V176.82L184,167Zm40-54-.11,0L152,160.08V79.92l71.89,22,.11,0v36Z"}))],["thin",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M227.41,90.5l-176-54A12,12,0,0,0,36,48V192a12,12,0,0,0,12,12,12.41,12.41,0,0,0,3.45-.5L140,176.32V192a12,12,0,0,0,12,12h32a12,12,0,0,0,12-12V159.14l31.39-9.63A12.06,12.06,0,0,0,236,138V102A12,12,0,0,0,227.41,90.5ZM49.12,195.84A4,4,0,0,1,44,192V48a4,4,0,0,1,1.6-3.2A4,4,0,0,1,48,44a3.89,3.89,0,0,1,1.07.15L140,72.05V168ZM188,192a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V173.87l40-12.27Zm40-54a4,4,0,0,1-2.88,3.84l-.05,0L148,165.5v-91l77.12,23.66A4,4,0,0,1,228,102Z"}))]]);var oM=O4.forwardRef((e,t)=>O4.createElement(Yr,{ref:t,...e,weights:AG}));oM.displayName="MegaphoneSimpleIcon";var rM=oM;var mr=M(F(),1),kG=new Map([["bold",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M84,108A12,12,0,0,1,96,96h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,108Zm32,28H96a12,12,0,0,0,0,24h20a12,12,0,0,0,0-24ZM228,48V156.69a19.86,19.86,0,0,1-5.86,14.14l-51.31,51.31A19.86,19.86,0,0,1,156.69,228H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28H208A20,20,0,0,1,228,48ZM52,204h92V156a12,12,0,0,1,12-12h48V52H52Zm139-36H168v23Z"}))],["duotone",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M216,160l-56,56V160Z",opacity:"0.2"}),mr.createElement("path",{d:"M88,96a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,96Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16Zm32,16H96a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16ZM224,48V156.69A15.86,15.86,0,0,1,219.31,168L168,219.31A15.86,15.86,0,0,1,156.69,224H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H152V160a8,8,0,0,1,8-8h48V48H48Zm120-40v28.7L196.69,168Z"}))],["fill",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H156.69A15.92,15.92,0,0,0,168,219.31L219.31,168A15.92,15.92,0,0,0,224,156.69V48A16,16,0,0,0,208,32ZM96,88h64a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16Zm32,80H96a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16ZM96,136a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm64,68.69V160h44.7Z"}))],["light",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M90,96a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H96A6,6,0,0,1,90,96Zm6,38h64a6,6,0,0,0,0-12H96a6,6,0,0,0,0,12Zm32,20H96a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12ZM222,48V156.69a13.94,13.94,0,0,1-4.1,9.9L166.59,217.9a13.94,13.94,0,0,1-9.9,4.1H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34H208A14,14,0,0,1,222,48ZM48,210H154V160a6,6,0,0,1,6-6h50V48a2,2,0,0,0-2-2H48a2,2,0,0,0-2,2V208A2,2,0,0,0,48,210Zm153.52-44H166v35.52Z"}))],["regular",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M88,96a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,96Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16Zm32,16H96a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16ZM224,48V156.69A15.86,15.86,0,0,1,219.31,168L168,219.31A15.86,15.86,0,0,1,156.69,224H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H152V160a8,8,0,0,1,8-8h48V48H48Zm120-40v28.7L196.69,168Z"}))],["thin",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M92,96a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H96A4,4,0,0,1,92,96Zm4,36h64a4,4,0,0,0,0-8H96a4,4,0,0,0,0,8Zm32,24H96a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8ZM220,48V156.69a11.9,11.9,0,0,1-3.52,8.48l-51.31,51.32a11.93,11.93,0,0,1-8.48,3.51H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36H208A12,12,0,0,1,220,48ZM48,212H156V160a4,4,0,0,1,4-4h52V48a4,4,0,0,0-4-4H48a4,4,0,0,0-4,4V208A4,4,0,0,0,48,212Zm158.35-48H164v42.35Z"}))]]);var fr=M(F(),1),MG=new Map([["bold",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,178.57,87.73l-72-39.42Zm0,78.83L56,76,81.56,62l72,39.41ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l24-13.13V152a12,12,0,0,0,24,0V109.92l24-13.13v76.65Z"}))],["duotone",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.18a8,8,0,0,1-4.16-7V80.18a8,8,0,0,1,.7-3.25Z",opacity:"0.2"}),fr.createElement("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"}))],["fill",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.35,44L178.57,92.29l-80.35-44Zm0,88L47.65,76,81.56,57.43l80.35,44Zm88,55.85h0l-80,43.79V133.83l32-17.51V152a8,8,0,0,0,16,0V107.56l32-17.51v85.76Z"}))],["light",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M222.72,67.91l-88-48.18a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.91ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,178.57,94.57,94.05,48.31ZM122,223,39,177.57a2,2,0,0,1-1-1.75V86.66l84,46ZM43.49,76,81.56,55.15l84.51,46.26L128,122.24ZM218,175.82a2,2,0,0,1-1,1.75h0L134,223V132.64l36-19.71V152a6,6,0,0,0,12,0V106.37l36-19.71Z"}))],["regular",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"}))],["thin",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,178.5,96.89a4,4,0,0,0-.58-.4l-88-48.18Zm1.92,96L39.33,76,81.56,52.87l88.67,48.54Zm-89.92,54.8a4,4,0,0,1-2.08-3.5V83.29l88,48.16v94.91Zm179.84,0h0l-85.92,47V131.45l40-21.89V152a4,4,0,0,0,8,0V105.18l40-21.89v92.53A4,4,0,0,1,217.92,179.32Z"}))]]);var dr=M(F(),1),LG=new Map([["bold",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,164a36.07,36.07,0,0,0-33.94,24H72a28,28,0,0,1,0-56h96a44,44,0,0,0,0-88H72a12,12,0,0,0,0,24h96a20,20,0,0,1,0,40H72a52,52,0,0,0,0,104h94.06A36,36,0,1,0,200,164Zm0,48a12,12,0,1,1,12-12A12,12,0,0,1,200,212Z"}))],["duotone",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M224,200a24,24,0,1,1-24-24A24,24,0,0,1,224,200Z",opacity:"0.2"}),dr.createElement("path",{d:"M200,168a32.06,32.06,0,0,0-31,24H72a32,32,0,0,1,0-64h96a40,40,0,0,0,0-80H72a8,8,0,0,0,0,16h96a24,24,0,0,1,0,48H72a48,48,0,0,0,0,96h97a32,32,0,1,0,31-40Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,200,216Z"}))],["fill",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M228,200a28,28,0,0,1-54.83,8H72a48,48,0,0,1,0-96h96a24,24,0,0,0,0-48H72a8,8,0,0,1,0-16h96a40,40,0,0,1,0,80H72a32,32,0,0,0,0,64H173.17A28,28,0,0,1,228,200Z"}))],["light",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,170a30.05,30.05,0,0,0-29.4,24H72a34,34,0,0,1,0-68h96a38,38,0,0,0,0-76H72a6,6,0,0,0,0,12h96a26,26,0,0,1,0,52H72a46,46,0,0,0,0,92h98.6A30,30,0,1,0,200,170Zm0,48a18,18,0,1,1,18-18A18,18,0,0,1,200,218Z"}))],["regular",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,168a32.06,32.06,0,0,0-31,24H72a32,32,0,0,1,0-64h96a40,40,0,0,0,0-80H72a8,8,0,0,0,0,16h96a24,24,0,0,1,0,48H72a48,48,0,0,0,0,96h97a32,32,0,1,0,31-40Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,200,216Z"}))],["thin",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,172a28,28,0,0,0-27.71,24H72a36,36,0,0,1,0-72h96a36,36,0,0,0,0-72H72a4,4,0,0,0,0,8h96a28,28,0,0,1,0,56H72a44,44,0,0,0,0,88H172.29A28,28,0,1,0,200,172Zm0,48a20,20,0,1,1,20-20A20,20,0,0,1,200,220Z"}))]]);var pr=M(F(),1),PG=new Map([["bold",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,36H140V24a12,12,0,0,0-24,0V36H40A20,20,0,0,0,20,56V176a20,20,0,0,0,20,20H71l-16.4,20.5a12,12,0,0,0,18.74,15l28.4-35.5h52.46l28.4,35.5a12,12,0,0,0,18.74-15L185,196h31a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,136H44V60H212ZM104,120v24a12,12,0,0,1-24,0V120a12,12,0,0,1,24,0Zm24-28a12,12,0,0,1,12,12v40a12,12,0,0,1-24,0V104A12,12,0,0,1,128,92Zm24,52V88a12,12,0,0,1,24,0v56a12,12,0,0,1-24,0Z"}))],["duotone",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M224,56V176a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),pr.createElement("path",{d:"M216,40H136V24a8,8,0,0,0-16,0V40H40A16,16,0,0,0,24,56V176a16,16,0,0,0,16,16H79.36L57.75,219a8,8,0,0,0,12.5,10l29.59-37h56.32l29.59,37a8,8,0,1,0,12.5-10l-21.61-27H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,136H40V56H216V176ZM104,120v24a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm32-16v40a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v56a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["fill",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,40H136V24a8,8,0,0,0-16,0V40H40A16,16,0,0,0,24,56V176a16,16,0,0,0,16,16H79.36L57.75,219a8,8,0,0,0,12.5,10l29.59-37h56.32l29.59,37a8,8,0,1,0,12.5-10l-21.61-27H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM104,144a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm32,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,0a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["light",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,42H134V24a6,6,0,0,0-12,0V42H40A14,14,0,0,0,26,56V176a14,14,0,0,0,14,14H83.52L59.31,220.25a6,6,0,0,0,9.38,7.5L98.88,190h58.24l30.19,37.75a6,6,0,0,0,9.38-7.5L172.48,190H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42Zm2,134a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2ZM102,120v24a6,6,0,0,1-12,0V120a6,6,0,0,1,12,0Zm32-16v40a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm32-16v56a6,6,0,0,1-12,0V88a6,6,0,0,1,12,0Z"}))],["regular",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,40H136V24a8,8,0,0,0-16,0V40H40A16,16,0,0,0,24,56V176a16,16,0,0,0,16,16H79.36L57.75,219a8,8,0,0,0,12.5,10l29.59-37h56.32l29.59,37a8,8,0,1,0,12.5-10l-21.61-27H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,136H40V56H216V176ZM104,120v24a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm32-16v40a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v56a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["thin",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,44H132V24a4,4,0,0,0-8,0V44H40A12,12,0,0,0,28,56V176a12,12,0,0,0,12,12H87.68l-26.8,33.5a4,4,0,1,0,6.24,5L97.92,188h60.16l30.8,38.5a4,4,0,0,0,6.24-5L168.32,188H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44Zm4,132a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4ZM100,120v24a4,4,0,0,1-8,0V120a4,4,0,0,1,8,0Zm32-16v40a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm32-16v56a4,4,0,0,1-8,0V88a4,4,0,0,1,8,0Z"}))]]);var hr=M(F(),1),EG=new Map([["bold",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,36H48A20,20,0,0,0,28,56v56c0,54.29,26.32,87.22,48.4,105.29,23.71,19.39,47.44,26,48.44,26.29a12.1,12.1,0,0,0,6.32,0c1-.28,24.73-6.9,48.44-26.29,22.08-18.07,48.4-51,48.4-105.29V56A20,20,0,0,0,208,36Zm-4,76c0,35.71-13.09,64.69-38.91,86.15A126.28,126.28,0,0,1,128,219.38a126.14,126.14,0,0,1-37.09-21.23C65.09,176.69,52,147.71,52,112V60H204ZM79.51,144.49a12,12,0,1,1,17-17L112,143l47.51-47.52a12,12,0,0,1,17,17l-56,56a12,12,0,0,1-17,0Z"}))],["duotone",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M216,56v56c0,96-88,120-88,120S40,208,40,112V56a8,8,0,0,1,8-8H208A8,8,0,0,1,216,56Z",opacity:"0.2"}),hr.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"}))],["fill",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,42H48A14,14,0,0,0,34,56v56c0,51.94,25.12,83.4,46.2,100.64,22.73,18.6,45.27,24.89,46.22,25.15a6,6,0,0,0,3.16,0c.95-.26,23.49-6.55,46.22-25.15C196.88,195.4,222,163.94,222,112V56A14,14,0,0,0,208,42Zm2,70c0,37.76-13.94,68.39-41.44,91.06A131.17,131.17,0,0,1,128,225.72a130.94,130.94,0,0,1-40.56-22.66C59.94,180.39,46,149.76,46,112V56a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76Z"}))],["regular",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"}))],["thin",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,44H48A12,12,0,0,0,36,56v56c0,51.16,24.73,82.12,45.47,99.1,22.4,18.32,44.55,24.5,45.48,24.76a4,4,0,0,0,2.1,0c.93-.26,23.08-6.44,45.48-24.76,20.74-17,45.47-47.94,45.47-99.1V56A12,12,0,0,0,208,44Zm4,68c0,38.44-14.23,69.63-42.29,92.71A132.45,132.45,0,0,1,128,227.82a132.23,132.23,0,0,1-41.71-23.11C58.23,181.63,44,150.44,44,112V56a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-41.17-10.83a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17Z"}))]]);var N4=M(F(),1);var gr=M(F(),1),V4=new Map([["bold",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"}))],["duotone",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"}),gr.createElement("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"}))],["fill",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"}))],["light",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"}))],["regular",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"}))],["thin",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"}))]]);var nM=N4.forwardRef((e,t)=>N4.createElement(Yr,{ref:t,...e,weights:V4}));nM.displayName="SparkleIcon";var v0=nM;var br=M(F(),1),BG=new Map([["bold",br.createElement(br.Fragment,null,br.createElement("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z"}))],["duotone",br.createElement(br.Fragment,null,br.createElement("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z",opacity:"0.2"}),br.createElement("path",{d:"M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z"}))],["fill",br.createElement(br.Fragment,null,br.createElement("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"}))],["light",br.createElement(br.Fragment,null,br.createElement("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z"}))],["regular",br.createElement(br.Fragment,null,br.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"}))],["thin",br.createElement(br.Fragment,null,br.createElement("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z"}))]]);var yr=M(F(),1),DG=new Map([["bold",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M236,96a12,12,0,0,0-.44-3.3L221.2,42.51A20.08,20.08,0,0,0,202,28H54A20.08,20.08,0,0,0,34.8,42.51L20.46,92.7A12,12,0,0,0,20,96h0v16a43.94,43.94,0,0,0,16,33.92V216a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V145.92A43.94,43.94,0,0,0,236,112V96ZM57.05,52H199l9.14,32H47.91Zm91,56v4a20,20,0,0,1-40,0v-4ZM53,128.71A20,20,0,0,1,44,112v-4H84v4a20,20,0,0,1-20,20,19.76,19.76,0,0,1-9.07-2.2A11.54,11.54,0,0,0,53,128.71ZM196,204H60V155.81c1.32.12,2.65.19,4,.19a43.86,43.86,0,0,0,32-13.85,43.89,43.89,0,0,0,64,0A43.86,43.86,0,0,0,192,156c1.35,0,2.68-.07,4-.19Zm16-92a20,20,0,0,1-9,16.71,11.66,11.66,0,0,0-1.88,1.09A20,20,0,0,1,172,112v-4h40Z"}))],["duotone",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M224,96v16a32,32,0,0,1-64,0V96H96v16a32,32,0,0,1-64,0V96L46.34,45.8A8,8,0,0,1,54,40H202a8,8,0,0,1,7.69,5.8Z",opacity:"0.2"}),yr.createElement("path",{d:"M231.69,93.81,217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.81A7.94,7.94,0,0,0,24,96v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96A7.94,7.94,0,0,0,231.69,93.81ZM54,48H202l11.42,40H42.61Zm98,56v8a24,24,0,0,1-48,0v-8ZM51.06,132.2A24,24,0,0,1,40,112v-8H88v8a24,24,0,0,1-35.12,21.26A7.88,7.88,0,0,0,51.06,132.2ZM200,208H56V151.2a40.57,40.57,0,0,0,8,.8,40,40,0,0,0,32-16,40,40,0,0,0,64,0,40,40,0,0,0,32,16,40.57,40.57,0,0,0,8-.8Zm16-96a24,24,0,0,1-11.07,20.2,8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48Z"}))],["fill",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M231.69,93.81,217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.81A7.94,7.94,0,0,0,24,96v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96A7.94,7.94,0,0,0,231.69,93.81ZM88,112a24,24,0,0,1-35.12,21.26,7.88,7.88,0,0,0-1.82-1.06A24,24,0,0,1,40,112v-8H88Zm64,0a24,24,0,0,1-48,0v-8h48Zm64,0a24,24,0,0,1-11.07,20.2,8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48Z"}))],["light",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M26.22,94.41A6,6,0,0,0,26,96v16A38,38,0,0,0,42,143V216a6,6,0,0,0,6,6H208a6,6,0,0,0,6-6V143A38,38,0,0,0,230,112V96a5.91,5.91,0,0,0-.23-1.64L215.43,44.15A14.07,14.07,0,0,0,202,34H54A14.07,14.07,0,0,0,40.57,44.15Zm25.89-47A2,2,0,0,1,54,46H202a2,2,0,0,1,1.92,1.45L216.05,90H40ZM102,102h52v10a26,26,0,0,1-52,0Zm-64,0H90v10a26,26,0,0,1-38.18,23,6,6,0,0,0-1.65-1A26,26,0,0,1,38,112ZM202,210H54V148.66a38,38,0,0,0,42-16.21,37.95,37.95,0,0,0,64,0,38,38,0,0,0,42,16.21Zm3.83-76a6,6,0,0,0-1.65,1A26,26,0,0,1,166,112V102h52v10A26,26,0,0,1,205.83,134Z"}))],["regular",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M232,96a7.89,7.89,0,0,0-.3-2.2L217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.8A7.89,7.89,0,0,0,24,96h0v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96ZM54,48H202l11.42,40H42.61Zm50,56h48v8a24,24,0,0,1-48,0Zm-16,0v8a24,24,0,0,1-35.12,21.26,7.88,7.88,0,0,0-1.82-1.06A24,24,0,0,1,40,112v-8ZM200,208H56V151.2a40.57,40.57,0,0,0,8,.8,40,40,0,0,0,32-16,40,40,0,0,0,64,0,40,40,0,0,0,32,16,40.57,40.57,0,0,0,8-.8Zm4.93-75.8a8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48v8A24,24,0,0,1,204.93,132.2Z"}))],["thin",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M28.15,95A3.81,3.81,0,0,0,28,96v16a36,36,0,0,0,16,29.92V216a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4V141.92A36,36,0,0,0,228,112V96a3.81,3.81,0,0,0-.17-1.08L213.5,44.7A12,12,0,0,0,202,36H54A12,12,0,0,0,42.5,44.7Zm22-48.08A4,4,0,0,1,54,44H202a4,4,0,0,1,3.84,2.9L218.7,92H37.3ZM100,100h56v12a28,28,0,0,1-56,0ZM36,112V100H92v12a28,28,0,0,1-41.37,24.59,4,4,0,0,0-1.31-.76A28,28,0,0,1,36,112ZM204,212H52V145.94a36,36,0,0,0,44-17.48,36,36,0,0,0,64,0,36,36,0,0,0,44,17.48Zm2.68-76.17a3.94,3.94,0,0,0-1.3.76A28,28,0,0,1,164,112V100h56v12A28,28,0,0,1,206.68,135.83Z"}))]]);var W4=M(F(),1);var Sr=M(F(),1),z4=new Map([["bold",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M229.26,90.4a108,108,0,0,1-177.63,114A108,108,0,0,1,195.41,43.63l20.1-20.11a12,12,0,0,1,17,17l-96,96a12,12,0,1,1-17-17l24-24a36,36,0,1,0,19.76,39.65,12,12,0,0,1,23.53,4.74,60,60,0,1,1-25.73-62L178.3,60.74a84,84,0,1,0,28.46,38,12,12,0,1,1,22.5-8.35Z"}))],["duotone",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z",opacity:"0.2"}),Sr.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["fill",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32L167.6,99.71h0l-37.71,37.71-23.95,23.95a40,40,0,0,0,62-35.67,8,8,0,1,1,16-.9,56,56,0,0,1-95.5,42.79h0a56,56,0,0,1,73.13-84.43L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["light",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M220.06,84a102.06,102.06,0,1,1-24.31-32.27l24-24a6,6,0,0,1,8.48,8.49l-96,96a6,6,0,1,1-8.48-8.49l29.39-29.4a42,42,0,1,0,16.78,31.24,6,6,0,1,1,12-.68A54,54,0,1,1,161.7,85.83l25.54-25.55a89.91,89.91,0,1,0,22,28.93A6,6,0,1,1,220.06,84Z"}))],["regular",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["thin",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M218.26,84.89a100.16,100.16,0,1,1-22.44-30.37l25.35-25.35a4,4,0,1,1,5.66,5.66l-96,96a4,4,0,0,1-5.66-5.66l31-31a44,44,0,1,0,15.78,31.3,4,4,0,0,1,8-.46,52,52,0,1,1-18.1-36.51l28.34-28.33A92,92,0,0,0,63,193.05,92,92,0,0,0,211,88.33a4,4,0,1,1,7.22-3.44Z"}))]]);var aM=W4.forwardRef((e,t)=>W4.createElement(Yr,{ref:t,...e,weights:z4}));aM.displayName="TargetIcon";var U4=aM;var j4=M(F(),1);var xr=M(F(),1),Z4=new Map([["bold",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"}))],["duotone",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M232,56v64L168,56Z",opacity:"0.2"}),xr.createElement("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"}))],["fill",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"}))],["light",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"}))],["regular",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"}))],["thin",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"}))]]);var sM=j4.forwardRef((e,t)=>j4.createElement(Yr,{ref:t,...e,weights:Z4}));sM.displayName="TrendUpIcon";var iM=sM;var Ir=M(F(),1),RG=new Map([["bold",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.75,4.75,0,0,1,8,0l87.45,151.87A3.56,3.56,0,0,1,219.46,201.8Z"}))],["duotone",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),Ir.createElement("path",{d:"M236.8,188.09,149.35,36.22a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.34,24.34,0,0,0,40.55,224h174.9a24.34,24.34,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8Z"}))],["fill",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M236.78,211.81A24.34,24.34,0,0,1,215.45,224H40.55a24.34,24.34,0,0,1-21.33-12.19,23.51,23.51,0,0,1,0-23.72L106.65,36.22a24.76,24.76,0,0,1,42.7,0L236.8,188.09A23.51,23.51,0,0,1,236.78,211.81Z"}))],["light",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M235.07,189.09,147.61,37.22a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.49,9.49,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.49,9.49,0,0,1,224.66,204.8Z"}))],["regular",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M236.8,188.09,149.35,36.22a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.34,24.34,0,0,0,40.55,224h174.9a24.34,24.34,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8Z"}))],["thin",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M233.34,190.09,145.88,38.22a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8Z"}))]]);var vr=M(F(),1),_G=new Map([["bold",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20ZM79.57,196.57a60,60,0,0,1,96.86,0,83.72,83.72,0,0,1-96.86,0ZM100,120a28,28,0,1,1,28,28A28,28,0,0,1,100,120ZM194,179.94a83.48,83.48,0,0,0-29-23.42,52,52,0,1,0-74,0,83.48,83.48,0,0,0-29,23.42,84,84,0,1,1,131.9,0Z"}))],["duotone",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M224,128a95.76,95.76,0,0,1-31.8,71.37A72,72,0,0,0,128,160a40,40,0,1,0-40-40,40,40,0,0,0,40,40,72,72,0,0,0-64.2,39.37h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),vr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"}))],["fill",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M172,120a44,44,0,1,1-44-44A44.05,44.05,0,0,1,172,120Zm60,8A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88.09,88.09,0,0,0-91.47-87.93C77.43,41.89,39.87,81.12,40,128.25a87.65,87.65,0,0,0,22.24,58.16A79.71,79.71,0,0,1,84,165.1a4,4,0,0,1,4.83.32,59.83,59.83,0,0,0,78.28,0,4,4,0,0,1,4.83-.32,79.71,79.71,0,0,1,21.79,21.31A87.62,87.62,0,0,0,216,128Z"}))],["light",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26ZM71.44,198a66,66,0,0,1,113.12,0,89.8,89.8,0,0,1-113.12,0ZM94,120a34,34,0,1,1,34,34A34,34,0,0,1,94,120Zm99.51,69.64a77.53,77.53,0,0,0-40-31.38,46,46,0,1,0-51,0,77.53,77.53,0,0,0-40,31.38,90,90,0,1,1,131,0Z"}))],["regular",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"}))],["thin",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28ZM68.87,198.42a68,68,0,0,1,118.26,0,91.8,91.8,0,0,1-118.26,0Zm124.3-5.55a75.61,75.61,0,0,0-44.51-34,44,44,0,1,0-41.32,0,75.61,75.61,0,0,0-44.51,34,92,92,0,1,1,130.34,0ZM128,156a36,36,0,1,1,36-36A36,36,0,0,1,128,156Z"}))]]);var $4=M(F(),1);var Cr=M(F(),1),G4=new Map([["bold",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M125.18,156.94a64,64,0,1,0-82.36,0,100.23,100.23,0,0,0-39.49,32,12,12,0,0,0,19.35,14.2,76,76,0,0,1,122.64,0,12,12,0,0,0,19.36-14.2A100.33,100.33,0,0,0,125.18,156.94ZM44,108a40,40,0,1,1,40,40A40,40,0,0,1,44,108Zm206.1,97.67a12,12,0,0,1-16.78-2.57A76.31,76.31,0,0,0,172,172a12,12,0,0,1,0-24,40,40,0,1,0-10.3-78.67,12,12,0,1,1-6.16-23.19,64,64,0,0,1,57.64,110.8,100.23,100.23,0,0,1,39.49,32A12,12,0,0,1,250.1,205.67Z"}))],["duotone",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M136,108A52,52,0,1,1,84,56,52,52,0,0,1,136,108Z",opacity:"0.2"}),Cr.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["fill",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M164.47,195.63a8,8,0,0,1-6.7,12.37H10.23a8,8,0,0,1-6.7-12.37,95.83,95.83,0,0,1,47.22-37.71,60,60,0,1,1,66.5,0A95.83,95.83,0,0,1,164.47,195.63Zm87.91-.15a95.87,95.87,0,0,0-47.13-37.56A60,60,0,0,0,144.7,54.59a4,4,0,0,0-1.33,6A75.83,75.83,0,0,1,147,150.53a4,4,0,0,0,1.07,5.53,112.32,112.32,0,0,1,29.85,30.83,23.92,23.92,0,0,1,3.65,16.47,4,4,0,0,0,3.95,4.64h60.3a8,8,0,0,0,7.73-5.93A8.22,8.22,0,0,0,252.38,195.48Z"}))],["light",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M112.6,158.43a58,58,0,1,0-57.2,0A93.83,93.83,0,0,0,5.21,196.72a6,6,0,0,0,10.05,6.56,82,82,0,0,1,137.48,0,6,6,0,0,0,10-6.56A93.83,93.83,0,0,0,112.6,158.43ZM38,108a46,46,0,1,1,46,46A46.06,46.06,0,0,1,38,108Zm211,97a6,6,0,0,1-8.3-1.74A81.8,81.8,0,0,0,172,166a6,6,0,0,1,0-12,46,46,0,1,0-17.08-88.73,6,6,0,1,1-4.46-11.14,58,58,0,0,1,50.14,104.3,93.83,93.83,0,0,1,50.19,38.29A6,6,0,0,1,249,205Z"}))],["regular",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["thin",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M107.19,159a56,56,0,1,0-46.38,0A91.83,91.83,0,0,0,6.88,197.81a4,4,0,1,0,6.7,4.37,84,84,0,0,1,140.84,0,4,4,0,1,0,6.7-4.37A91.83,91.83,0,0,0,107.19,159ZM36,108a48,48,0,1,1,48,48A48.05,48.05,0,0,1,36,108Zm212,95.35a4,4,0,0,1-5.53-1.17A83.81,83.81,0,0,0,172,164a4,4,0,0,1,0-8,48,48,0,1,0-17.82-92.58,4,4,0,1,1-3-7.43,56,56,0,0,1,44,103,91.83,91.83,0,0,1,53.93,38.86A4,4,0,0,1,248,203.35Z"}))]]);var lM=$4.forwardRef((e,t)=>$4.createElement(Yr,{ref:t,...e,weights:G4}));lM.displayName="UsersIcon";var q4=lM;var wr=M(F(),1),FG=new Map([["bold",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M24.79,121.59a12,12,0,0,0,16.81-2.38,48,48,0,0,1,76.81,0,12,12,0,0,0,16.8,2.39,12.24,12.24,0,0,0,2.38-2.39h0a48,48,0,0,1,76.81,0,12,12,0,1,0,19.19-14.41,72,72,0,0,0-25.3-21.22,40,40,0,1,0-64.58,0A71,71,0,0,0,128,94.31a71,71,0,0,0-15.71-10.74,40,40,0,1,0-64.58,0,72,72,0,0,0-25.3,21.22A12,12,0,0,0,24.79,121.59ZM176,44a16,16,0,1,1-16,16A16,16,0,0,1,176,44ZM80,44A16,16,0,1,1,64,60,16,16,0,0,1,80,44ZM208.29,195.57a40,40,0,1,0-64.58,0A71.31,71.31,0,0,0,128,206.3a71.31,71.31,0,0,0-15.71-10.73,40,40,0,1,0-64.58,0,72,72,0,0,0-25.3,21.22A12,12,0,0,0,41.6,231.21a48,48,0,0,1,76.81,0,12,12,0,0,0,16.8,2.39,12.24,12.24,0,0,0,2.38-2.39h0a48,48,0,0,1,76.81,0,12,12,0,1,0,19.19-14.41A71.91,71.91,0,0,0,208.29,195.57ZM80,156a16,16,0,1,1-16,16A16,16,0,0,1,80,156Zm96,0a16,16,0,1,1-16,16A16,16,0,0,1,176,156Z"}))],["duotone",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M112,168a32,32,0,1,1-32-32A32,32,0,0,1,112,168ZM80,32a32,32,0,1,0,32,32A32,32,0,0,0,80,32Zm96,104a32,32,0,1,0,32,32A32,32,0,0,0,176,136Zm0-40a32,32,0,1,0-32-32A32,32,0,0,0,176,96Z",opacity:"0.2"}),wr.createElement("path",{d:"M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"}))],["fill",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M230.4,219.19A8,8,0,0,1,224,232H32a8,8,0,0,1-6.4-12.8A67.88,67.88,0,0,1,53,197.51a40,40,0,1,1,53.93,0,67.42,67.42,0,0,1,21,14.29,67.42,67.42,0,0,1,21-14.29,40,40,0,1,1,53.93,0A67.85,67.85,0,0,1,230.4,219.19ZM27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,12.8,0,52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.93,0,67.42,67.42,0,0,0-21,14.29,67.42,67.42,0,0,0-21-14.29,40,40,0,1,0-53.93,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4Z"}))],["light",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M28.4,124.8a6,6,0,0,0,8.4-1.2,54,54,0,0,1,86.4,0,6,6,0,0,0,8.4,1.19,5.59,5.59,0,0,0,1.19-1.19h0a54,54,0,0,1,86.4,0,6,6,0,0,0,9.6-7.21,65.74,65.74,0,0,0-29.69-22.26,38,38,0,1,0-46.22,0A65.32,65.32,0,0,0,128,110.7a65.32,65.32,0,0,0-24.89-16.57,38,38,0,1,0-46.22,0A65.69,65.69,0,0,0,27.2,116.4,6,6,0,0,0,28.4,124.8ZM176,38a26,26,0,1,1-26,26A26,26,0,0,1,176,38ZM80,38A26,26,0,1,1,54,64,26,26,0,0,1,80,38ZM199.11,198.13a38,38,0,1,0-46.22,0A65.32,65.32,0,0,0,128,214.7a65.32,65.32,0,0,0-24.89-16.57,38,38,0,1,0-46.22,0A65.69,65.69,0,0,0,27.2,220.4a6,6,0,1,0,9.6,7.2,54,54,0,0,1,86.4,0,6,6,0,0,0,8.4,1.19,5.59,5.59,0,0,0,1.19-1.19h0a54,54,0,0,1,86.4,0,6,6,0,0,0,9.6-7.21A65.74,65.74,0,0,0,199.11,198.13ZM80,142a26,26,0,1,1-26,26A26,26,0,0,1,80,142Zm96,0a26,26,0,1,1-26,26A26,26,0,0,1,176,142Z"}))],["regular",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"}))],["thin",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M29.6,123.2a4,4,0,0,0,5.6-.8,56,56,0,0,1,89.6,0,3.93,3.93,0,0,0,6.38,0h0a56,56,0,0,1,89.6,0,4,4,0,1,0,6.4-4.8,63.55,63.55,0,0,0-32.5-22.85,36,36,0,1,0-37.4,0,63.39,63.39,0,0,0-29.3,19,63.34,63.34,0,0,0-29.3-19,36,36,0,1,0-37.4,0A63.61,63.61,0,0,0,28.8,117.6,4,4,0,0,0,29.6,123.2ZM148,64a28,28,0,1,1,28,28A28,28,0,0,1,148,64ZM52,64A28,28,0,1,1,80,92,28,28,0,0,1,52,64ZM194.7,198.75a36,36,0,1,0-37.4,0A63.39,63.39,0,0,0,128,217.7a63.34,63.34,0,0,0-29.3-18.95,36,36,0,1,0-37.4,0A63.61,63.61,0,0,0,28.8,221.6a4,4,0,0,0,6.4,4.8,56,56,0,0,1,89.6,0,3.93,3.93,0,0,0,6.38,0h0a56,56,0,0,1,89.6,0,4,4,0,0,0,6.4-4.8A63.55,63.55,0,0,0,194.7,198.75ZM52,168a28,28,0,1,1,28,28A28,28,0,0,1,52,168Zm96,0a28,28,0,1,1,28,28A28,28,0,0,1,148,168Z"}))]]);var Y4=M(F(),1);var Tr=M(F(),1),X4=new Map([["bold",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"}))],["duotone",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Tr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["fill",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))],["light",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"}))],["regular",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["thin",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"}))]]);var cM=Y4.forwardRef((e,t)=>Y4.createElement(Yr,{ref:t,...e,weights:X4}));cM.displayName="WarningCircleIcon";var s2=cM;var Ar=M(F(),1),HG=new Map([["bold",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Ar.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var Qm=M(F(),1);var OG=M(F(),1),VG=(0,OG.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var be=Qm.forwardRef((e,t)=>{let{alt:o,color:r,size:n,weight:a,mirrored:s,children:i,weights:l,...c}=e,{color:u="currentColor",size:m,weight:f="regular",mirrored:d=!1,...p}=Qm.useContext(VG);return Qm.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:n??m,height:n??m,fill:r??u,viewBox:"0 0 256 256",transform:s||d?"scale(-1, 1)":void 0,...p,...c},!!o&&Qm.createElement("title",null,o),i,l.get(a??f))});be.displayName="IconBase";var K4=M(F(),1);var uM=K4.forwardRef((e,t)=>K4.createElement(be,{ref:t,...e,weights:eG}));uM.displayName="ArrowRightIcon";var Zl=uM;var Q4=M(F(),1);var mM=Q4.forwardRef((e,t)=>Q4.createElement(be,{ref:t,...e,weights:tG}));mM.displayName="ArrowSquareOutIcon";var Jm=mM;var J4=M(F(),1);var fM=J4.forwardRef((e,t)=>J4.createElement(be,{ref:t,...e,weights:oG}));fM.displayName="ArrowsClockwiseIcon";var dM=fM;var e8=M(F(),1);var pM=e8.forwardRef((e,t)=>e8.createElement(be,{ref:t,...e,weights:rG}));pM.displayName="BookOpenTextIcon";var hM=pM;var t8=M(F(),1);var gM=t8.forwardRef((e,t)=>t8.createElement(be,{ref:t,...e,weights:nG}));gM.displayName="BuildingsIcon";var bM=gM;var o8=M(F(),1);var yM=o8.forwardRef((e,t)=>o8.createElement(be,{ref:t,...e,weights:aG}));yM.displayName="ChartBarIcon";var r8=yM;var n8=M(F(),1);var SM=n8.forwardRef((e,t)=>n8.createElement(be,{ref:t,...e,weights:iG}));SM.displayName="ChatCircleTextIcon";var i2=SM;var a8=M(F(),1);var xM=a8.forwardRef((e,t)=>a8.createElement(be,{ref:t,...e,weights:R4}));xM.displayName="ChatTextIcon";var IM=xM;var s8=M(F(),1);var vM=s8.forwardRef((e,t)=>s8.createElement(be,{ref:t,...e,weights:lG}));vM.displayName="CheckCircleIcon";var Js=vM;var i8=M(F(),1);var CM=i8.forwardRef((e,t)=>i8.createElement(be,{ref:t,...e,weights:cG}));CM.displayName="CircleIcon";var wM=CM;var l8=M(F(),1);var TM=l8.forwardRef((e,t)=>l8.createElement(be,{ref:t,...e,weights:uG}));TM.displayName="CirclesThreeIcon";var AM=TM;var c8=M(F(),1);var kM=c8.forwardRef((e,t)=>c8.createElement(be,{ref:t,...e,weights:mG}));kM.displayName="ClockIcon";var MM=kM;var u8=M(F(),1);var LM=u8.forwardRef((e,t)=>u8.createElement(be,{ref:t,...e,weights:fG}));LM.displayName="CoinsIcon";var PM=LM;var m8=M(F(),1);var EM=m8.forwardRef((e,t)=>m8.createElement(be,{ref:t,...e,weights:F4}));EM.displayName="CurrencyCircleDollarIcon";var BM=EM;var f8=M(F(),1);var DM=f8.forwardRef((e,t)=>f8.createElement(be,{ref:t,...e,weights:dG}));DM.displayName="CursorClickIcon";var RM=DM;var d8=M(F(),1);var _M=d8.forwardRef((e,t)=>d8.createElement(be,{ref:t,...e,weights:pG}));_M.displayName="DatabaseIcon";var l2=_M;var p8=M(F(),1);var FM=p8.forwardRef((e,t)=>p8.createElement(be,{ref:t,...e,weights:hG}));FM.displayName="DownloadSimpleIcon";var HM=FM;var h8=M(F(),1);var OM=h8.forwardRef((e,t)=>h8.createElement(be,{ref:t,...e,weights:gG}));OM.displayName="FlaskIcon";var g8=OM;var b8=M(F(),1);var VM=b8.forwardRef((e,t)=>b8.createElement(be,{ref:t,...e,weights:bG}));VM.displayName="FlowArrowIcon";var c2=VM;var y8=M(F(),1);var NM=y8.forwardRef((e,t)=>y8.createElement(be,{ref:t,...e,weights:yG}));NM.displayName="FunnelIcon";var zM=NM;var S8=M(F(),1);var WM=S8.forwardRef((e,t)=>S8.createElement(be,{ref:t,...e,weights:SG}));WM.displayName="GlobeIcon";var UM=WM;var x8=M(F(),1);var ZM=x8.forwardRef((e,t)=>x8.createElement(be,{ref:t,...e,weights:xG}));ZM.displayName="GlobeHemisphereWestIcon";var jM=ZM;var I8=M(F(),1);var GM=I8.forwardRef((e,t)=>I8.createElement(be,{ref:t,...e,weights:IG}));GM.displayName="HandCoinsIcon";var $M=GM;var v8=M(F(),1);var qM=v8.forwardRef((e,t)=>v8.createElement(be,{ref:t,...e,weights:vG}));qM.displayName="LightbulbFilamentIcon";var du=qM;var C8=M(F(),1);var XM=C8.forwardRef((e,t)=>C8.createElement(be,{ref:t,...e,weights:CG}));XM.displayName="LightningIcon";var YM=XM;var w8=M(F(),1);var KM=w8.forwardRef((e,t)=>w8.createElement(be,{ref:t,...e,weights:wG}));KM.displayName="LinkSimpleIcon";var QM=KM;var T8=M(F(),1);var JM=T8.forwardRef((e,t)=>T8.createElement(be,{ref:t,...e,weights:TG}));JM.displayName="ListChecksIcon";var u2=JM;var A8=M(F(),1);var eL=A8.forwardRef((e,t)=>A8.createElement(be,{ref:t,...e,weights:kG}));eL.displayName="NoteIcon";var tL=eL;var k8=M(F(),1);var oL=k8.forwardRef((e,t)=>k8.createElement(be,{ref:t,...e,weights:MG}));oL.displayName="PackageIcon";var rL=oL;var M8=M(F(),1);var nL=M8.forwardRef((e,t)=>M8.createElement(be,{ref:t,...e,weights:LG}));nL.displayName="PathIcon";var Di=nL;var L8=M(F(),1);var aL=L8.forwardRef((e,t)=>L8.createElement(be,{ref:t,...e,weights:PG}));aL.displayName="PresentationChartIcon";var sL=aL;var P8=M(F(),1);var iL=P8.forwardRef((e,t)=>P8.createElement(be,{ref:t,...e,weights:EG}));iL.displayName="ShieldCheckIcon";var E8=iL;var B8=M(F(),1);var lL=B8.forwardRef((e,t)=>B8.createElement(be,{ref:t,...e,weights:V4}));lL.displayName="SparkleIcon";var $n=lL;var D8=M(F(),1);var cL=D8.forwardRef((e,t)=>D8.createElement(be,{ref:t,...e,weights:BG}));cL.displayName="SquaresFourIcon";var m2=cL;var R8=M(F(),1);var uL=R8.forwardRef((e,t)=>R8.createElement(be,{ref:t,...e,weights:DG}));uL.displayName="StorefrontIcon";var mL=uL;var _8=M(F(),1);var fL=_8.forwardRef((e,t)=>_8.createElement(be,{ref:t,...e,weights:z4}));fL.displayName="TargetIcon";var da=fL;var F8=M(F(),1);var dL=F8.forwardRef((e,t)=>F8.createElement(be,{ref:t,...e,weights:Z4}));dL.displayName="TrendUpIcon";var f2=dL;var H8=M(F(),1);var pL=H8.forwardRef((e,t)=>H8.createElement(be,{ref:t,...e,weights:RG}));pL.displayName="TriangleIcon";var d2=pL;var O8=M(F(),1);var hL=O8.forwardRef((e,t)=>O8.createElement(be,{ref:t,...e,weights:_G}));hL.displayName="UserCircleIcon";var ef=hL;var V8=M(F(),1);var gL=V8.forwardRef((e,t)=>V8.createElement(be,{ref:t,...e,weights:G4}));gL.displayName="UsersIcon";var bL=gL;var N8=M(F(),1);var yL=N8.forwardRef((e,t)=>N8.createElement(be,{ref:t,...e,weights:FG}));yL.displayName="UsersFourIcon";var SL=yL;var z8=M(F(),1);var xL=z8.forwardRef((e,t)=>z8.createElement(be,{ref:t,...e,weights:X4}));xL.displayName="WarningCircleIcon";var pa=xL;var W8=M(F(),1);var IL=W8.forwardRef((e,t)=>W8.createElement(be,{ref:t,...e,weights:HG}));IL.displayName="XCircleIcon";var vL=IL;var p2="#26251E",NG="#F7F7F4",CL="#FFFFFC",zG="#E6E5E0",qde="#D9D5CF",Xde="#66645E",Yde="#FF4E00",WG="#FF8C66",UG="#DFFF1F",wL="polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px))",h2="polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px))",tf="polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px))",ZG="inset 0 -2px 0 rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,252,0.12), 0 10px 20px rgba(38,37,30,0.14)",TL="inset 0 -1px 0 rgba(38,37,30,0.10), 0 1px 0 rgba(255,255,252,0.70)",AL={50:"#FFF1EC",100:"#FFDED2",200:"#FFBCA6",300:"#FF8C66",400:"#FF6633",500:Yde,600:"#D63B00",700:"#A82E00",800:"#7A2508",900:"#4A1A0B"};function kL(e){return e==="brand"||e==="teal"||e==="purple"}var jG=P5({config:{initialColorMode:"light",useSystemColorMode:!1},zIndices:{modal:3e3},fonts:{heading:"var(--font-space-grotesk), ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif",body:"var(--font-space-grotesk), ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif"},styles:{global:e=>({"html, body":{bg:U("surface.canvas","gray.900")(e),color:U("text.default","gray.100")(e),fontSize:"16px",lineHeight:"1.6"},"*:focus-visible":{outline:"2px solid",outlineColor:U("brand.500","brand.200")(e),outlineOffset:"2px"},"@keyframes launchchairTabFadeIn":{from:{opacity:0,transform:"translateY(2px)"},to:{opacity:1,transform:"translateY(0)"}},".chakra-badge":{borderRadius:"0 !important",clipPath:tf,paddingInline:"0.625rem !important"},".chakra-tag":{borderRadius:"0 !important",clipPath:tf},".chakra-alert":{borderRadius:"0 !important",clipPath:h2},".chakra-progress__filled-track":{background:`${WG} !important`}})},colors:{brand:AL,teal:AL,purple:AL},semanticTokens:{colors:{"surface.base":{default:CL,_dark:"gray.800"},"surface.canvas":{default:NG,_dark:"gray.900"},"surface.muted":{default:NG,_dark:"gray.700"},"surface.border":{default:qde,_dark:"gray.600"},"text.default":{default:p2,_dark:"gray.100"},"text.muted":{default:Xde,_dark:"gray.300"},"overlay.header":{default:"rgba(247, 247, 244, 0.94)",_dark:"rgba(26, 32, 44, 0.94)"}}},layerStyles:{notchedCard:{bg:"surface.base",borderWidth:"1px",borderColor:"surface.border",borderRadius:0,clipPath:wL},notchedInset:{bg:"surface.muted",borderWidth:"1px",borderColor:"surface.border",borderRadius:0,clipPath:h2}},components:{Card:{baseStyle:e=>({container:{bg:U("surface.base","gray.800")(e),color:"text.default",borderWidth:"1px",borderColor:"surface.border",borderRadius:0,clipPath:wL}}),defaultProps:{variant:"elevated",size:"md"}},Table:{baseStyle:e=>({th:{borderInlineEndWidth:"1px",borderInlineEndColor:U("gray.200","gray.600")(e)},td:{borderInlineEndWidth:"1px",borderInlineEndColor:U("gray.200","gray.600")(e)},"th:last-of-type, td:last-of-type":{borderInlineEndWidth:0},'&[data-interactive="true"] tbody tr:hover td':{bg:U("gray.100","whiteAlpha.100")(e)},'&[data-interactive="true"] tbody tr:focus-visible td':{bg:U("gray.100","whiteAlpha.100")(e)}})},Button:{baseStyle:e=>({fontWeight:"semibold",borderRadius:0,clipPath:h2,transition:"transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease",_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`},_disabled:{transform:"none"}}),defaultProps:{variant:"surface",colorScheme:"brand"},variants:{surface:e=>{let t=e.colorScheme??"brand",o=kL(t);return{bg:U(o?"surface.base":`${t}.50`,`${t}.900`)(e),color:U(o?"text.default":`${t}.700`,`${t}.100`)(e),borderWidth:"1px",borderColor:U(o?"brand.300":`${t}.200`,`${t}.700`)(e),boxShadow:TL,_hover:{bg:U(o?zG:`${t}.100`,`${t}.800`)(e),borderColor:U(o?"brand.500":`${t}.300`,`${t}.600`)(e),transform:"translateY(-1px)",boxShadow:"inset 0 -1px 0 rgba(38,37,30,0.14), 0 8px 18px rgba(38,37,30,0.10)"},_active:{bg:U(o?"brand.100":`${t}.100`,`${t}.800`)(e),transform:"translateY(1px)"}}},outline:e=>{let t=e.colorScheme??"brand",o=kL(t);return{bg:U(o?"transparent":`${t}.50`,`${t}.900`)(e),color:U(o?"text.default":`${t}.700`,`${t}.100`)(e),borderWidth:"1px",borderColor:U(o?"surface.border":`${t}.200`,`${t}.700`)(e),boxShadow:TL,_hover:{bg:U(o?zG:`${t}.100`,`${t}.800`)(e),borderColor:U(o?"brand.500":`${t}.300`,`${t}.600`)(e),transform:"translateY(-1px)"},_active:{bg:U(o?"brand.50":`${t}.100`,`${t}.800`)(e),transform:"translateY(1px)"}}},solid:e=>{let t=e.colorScheme??"brand";return kL(t)?{bg:U(p2,"gray.100")(e),color:U(UG,p2)(e),borderWidth:0,boxShadow:ZG,_hover:{bg:U("#141414","white")(e),transform:"translateY(-1px)",boxShadow:"inset 0 -2px 0 rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,252,0.16), 0 16px 28px rgba(38,37,30,0.20)"},_active:{transform:"translateY(1px)",boxShadow:"inset 0 2px 0 rgba(0,0,0,0.34), 0 4px 10px rgba(38,37,30,0.12)"}}:{bg:U(`${t}.500`,`${t}.300`)(e),color:U("white","gray.900")(e),_hover:{bg:U(`${t}.600`,`${t}.200`)(e)},_active:{bg:U(`${t}.700`,`${t}.100`)(e)}}},surfacePrimary:e=>({bg:U(p2,"gray.100")(e),color:U(UG,p2)(e),borderWidth:0,boxShadow:ZG,_hover:{bg:U("#141414","white")(e),transform:"translateY(-1px)",boxShadow:"inset 0 -2px 0 rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,252,0.16), 0 16px 28px rgba(38,37,30,0.20)"},_active:{transform:"translateY(1px)",boxShadow:"inset 0 2px 0 rgba(0,0,0,0.34), 0 4px 10px rgba(38,37,30,0.12)"}}),surfaceSecondary:e=>({bg:U("surface.base","gray.700")(e),color:U("text.default","gray.100")(e),borderWidth:"1px",borderColor:U("surface.border","gray.600")(e),boxShadow:TL,_hover:{bg:U("surface.muted","gray.600")(e),borderColor:U("brand.500","brand.300")(e),transform:"translateY(-1px)"},_active:{bg:U("brand.50","gray.600")(e),transform:"translateY(1px)"}})}},IconButton:{defaultProps:{variant:"surface",size:"md",colorScheme:"brand"},baseStyle:e=>({borderRadius:0,clipPath:h2,_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`}})},Progress:{baseStyle:{filledTrack:{bg:WG}},defaultProps:{colorScheme:"brand"}},Spinner:{baseStyle:e=>({color:U("brand.500","brand.300")(e)})},Badge:{baseStyle:{borderRadius:0,clipPath:tf,px:2.5},variants:{counter:e=>({display:"inline-flex",alignItems:"center",justifyContent:"center",minW:"1.125rem",h:"1.125rem",px:"0.3rem !important",py:0,borderRadius:"0 !important",clipPath:tf,bg:U("brand.50","brand.900")(e),color:U("brand.700","brand.100")(e),borderWidth:"1px",borderColor:U("brand.200","brand.700")(e),fontSize:"0.675rem",fontWeight:"semibold",lineHeight:1,textTransform:"none",whiteSpace:"nowrap",fontVariantNumeric:"tabular-nums"}),surface:e=>{let t=e.colorScheme??"gray";return{bg:U(`${t}.100`,`${t}.800`)(e),color:U(`${t}.700`,`${t}.100`)(e),borderWidth:"1px",borderColor:U(`${t}.200`,`${t}.700`)(e)}}}},Modal:{baseStyle:e=>({overlay:{bg:"rgba(38, 37, 30, 0.54)",backdropFilter:"blur(8px)",zIndex:"modal"},dialogContainer:{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e.isCentered?"center":"flex-start",overflow:e.scrollBehavior==="inside"?"hidden":"auto",overscrollBehaviorY:"none"},dialog:{borderRadius:0,clipPath:wL,color:"text.default",my:e.isCentered?"auto":16,mx:e.isCentered?"auto":void 0,zIndex:"modal",maxH:e.scrollBehavior==="inside"?"calc(100% - 7.5rem)":void 0,bg:U("surface.base","gray.700")(e),borderWidth:"1px",borderColor:U("surface.border","gray.600")(e),boxShadow:U("0 28px 70px rgba(38,37,30,0.20)","dark-lg")(e)},header:{px:6,py:4,fontSize:"xl",fontWeight:"semibold",borderBottomWidth:"1px",borderColor:"surface.border"},closeButton:{position:"absolute",top:2,insetEnd:3,borderRadius:0,clipPath:tf},body:{px:6,py:3,flex:1,overflow:e.scrollBehavior==="inside"?"auto":void 0},footer:{px:6,py:4,borderTopWidth:"1px",borderColor:"surface.border"}}),defaultProps:{size:"md"}},Popover:{baseStyle:e=>({popper:{zIndex:"popover"},content:{"--popper-bg":U(CL,"var(--chakra-colors-gray-700)")(e),"--popper-arrow-bg":U(CL,"var(--chakra-colors-gray-700)")(e),bg:U("surface.base","gray.700")(e),width:"xs",borderWidth:"1px",borderColor:U("surface.border","gray.600")(e),borderRadius:0,clipPath:h2,boxShadow:U("0 18px 44px rgba(38,37,30,0.16)","dark-lg")(e),zIndex:"inherit",_focusVisible:{outline:0,boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.24)","rgba(255, 140, 102, 0.40)")(e)}`}},header:{px:3,py:2,borderBottomWidth:"1px",borderColor:"surface.border"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px",borderColor:"surface.border"},closeButton:{position:"absolute",borderRadius:0,clipPath:tf,top:1,insetEnd:2,padding:2}})},Tag:{baseStyle:{container:{borderRadius:0,clipPath:tf}}},Tabs:{variants:{line:e=>{let t=e.colorScheme??"brand";return{tablist:{borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"surface.border"},tab:{mb:"-1px",borderBottomWidth:"3px",borderBottomStyle:"solid",borderBottomColor:"transparent",_selected:{borderBottomColor:U(`${t}.500`,`${t}.300`)(e),color:U(`${t}.600`,`${t}.200`)(e)}},tabpanel:{animation:"launchchairTabFadeIn 180ms ease","@media (prefers-reduced-motion: reduce)":{animation:"none"}}}}},defaultProps:{variant:"line"}},Input:{defaultProps:{focusBorderColor:"brand.500",errorBorderColor:"red.500"},variants:{outline:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}}),filled:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}}),flushed:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}})}},Textarea:{defaultProps:{focusBorderColor:"brand.500",errorBorderColor:"red.500"},variants:{outline:e=>({_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}),filled:e=>({_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}),flushed:e=>({_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}})}},Select:{defaultProps:{focusBorderColor:"brand.500",errorBorderColor:"red.500"},variants:{outline:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}}),filled:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}})}},Checkbox:{defaultProps:{colorScheme:"brand"},baseStyle:e=>({control:{_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`},_checked:{bg:U("brand.500","brand.300")(e),borderColor:U("brand.500","brand.300")(e),color:"white",_hover:{bg:U("brand.600","brand.400")(e),borderColor:U("brand.600","brand.400")(e)}}}})},Radio:{defaultProps:{colorScheme:"brand"},baseStyle:e=>({control:{bg:U("white","gray.800")(e),borderColor:U("gray.300","gray.500")(e),_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`},_hover:{borderColor:U("brand.400","brand.300")(e)},_checked:{bg:U("white","gray.800")(e),borderColor:U("brand.500","brand.300")(e),_before:{bg:U("brand.500","brand.300")(e)},_hover:{bg:U("white","gray.800")(e),borderColor:U("brand.500","brand.300")(e)}}}})}}});var Ut=M(oe());function Kde(e){return e==="wedge"?"Wedge Opportunity Score":e==="wedge_feature"?"Wedge Feature Score":e==="packaging"?"Packaging Fit Score":"Willingness to buy score"}function Qde(e){return e>=70?{trackColor:"green.100",textColor:"green.700",badgeScheme:"green"}:e>=50?{trackColor:"yellow.100",textColor:"yellow.700",badgeScheme:"yellow"}:{trackColor:"red.100",textColor:"red.700",badgeScheme:"red"}}function ML({options:e,selectedOptionId:t,onChange:o,scoreKind:r,isDisabled:n=!1,readOnly:a=!1,columns:s={base:1,xl:2},minChildWidth:i}){let l=e.length?e.reduce((c,u)=>u.score>c.score?u:c,e[0]).id:"";return(0,Ut.jsx)(Xp,{isRequired:!a,children:(0,Ut.jsx)(k4,{value:t,onChange:o,isDisabled:n,children:(0,Ut.jsx)(Le,{columns:i?void 0:s,minChildWidth:i,spacing:4,children:e.map(c=>{let u=t===c.id,m=Qde(c.score);return(0,Ut.jsx)(E,{borderWidth:"1px",borderRadius:"md",p:5,bg:u?"purple.50":"surface.base",borderColor:u?"brand.500":"surface.border",cursor:a?"default":"pointer",onClick:()=>!a&&!n&&o(c.id),transition:"all 160ms ease",boxShadow:u?"0 0 0 1px var(--chakra-colors-brand-400) inset":"none",children:(0,Ut.jsxs)(z,{spacing:4,h:"full",children:[(0,Ut.jsxs)(z,{spacing:3,flex:"1",children:[(0,Ut.jsxs)(Z,{justify:"space-between",align:"start",spacing:3,children:[(0,Ut.jsxs)(Z,{spacing:3,align:"start",children:[a?null:(0,Ut.jsx)(M4,{value:c.id,inputProps:{"aria-label":c.title},colorScheme:"brand",size:"lg",mt:"1",onClick:f=>f.stopPropagation()}),(0,Ut.jsx)(z,{spacing:1,flex:"1",children:(0,Ut.jsx)(x,{fontWeight:"semibold",fontSize:"lg",lineHeight:"1.3",children:c.title})})]}),a?(0,Ut.jsx)($,{colorScheme:"green",children:"Saved"}):c.id===l?(0,Ut.jsx)($,{colorScheme:m.badgeScheme,borderRadius:"full",flexShrink:0,children:"Best Choice"}):null]}),(0,Ut.jsxs)(z,{spacing:2,children:[(0,Ut.jsxs)(Z,{justify:"space-between",align:"baseline",children:[(0,Ut.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:Kde(r)}),(0,Ut.jsxs)(x,{fontSize:"sm",fontWeight:"bold",color:m.textColor,children:[c.score,"%"]})]}),(0,Ut.jsx)(fa,{value:c.score,borderRadius:"full",bg:m.trackColor,colorScheme:m.badgeScheme,size:"sm"})]}),(0,Ut.jsx)(x,{color:"text.default",children:c.summary}),(0,Ut.jsx)(z,{spacing:2,children:c.bullets.map((f,d)=>(0,Ut.jsx)(E,{borderWidth:"1px",borderRadius:"md",borderColor:u?"purple.200":"surface.border",bg:u?"purple.100":"surface.muted",px:3,py:2.5,children:(0,Ut.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,Ut.jsx)(E,{color:"brand.400",flexShrink:0,pt:"1px",children:(0,Ut.jsx)($n,{size:20,weight:"duotone"})}),(0,Ut.jsx)(x,{fontSize:"sm",color:"text.default",children:f})]})},`${c.id}-bullet-${d}`))})]}),a?null:(0,Ut.jsx)(gt,{type:"button",isDisabled:n,w:"full",colorScheme:"brand",variant:u?"solid":"outline",onClick:f=>{f.stopPropagation(),o(c.id)},children:"Choose This"})]})},c.id)})})})})}var C0=M(oe());function at(e){return(0,C0.jsx)(r0,{styleType:"none",spacing:2,...e})}function Ge({children:e,indicatorColor:t="teal.400",indicatorIcon:o=wM,...r}){return(0,C0.jsxs)(n0,{display:"flex",alignItems:"flex-start",gap:2,...r,children:[(0,C0.jsx)(u4,{as:o,color:t,mt:"0.35rem",boxSize:"8px",minW:"8px"}),(0,C0.jsx)(E,{flex:"1",children:e})]})}var GG=M(F()),$G=M(oe()),Jde=(0,GG.forwardRef)(function({href:t,children:o,...r},n){let a;try{let s=document.getElementById("launchchair-widget-root")?.dataset.appUrl||"https://www.launchchair.io",i=new URL(t||"",s);["https:","http:"].includes(i.protocol)&&(a=i.href)}catch{}return(0,$G.jsx)("a",{...r,ref:n,href:a,target:"_blank",rel:"noopener noreferrer",children:o})}),wn=Jde;var ut=M(F());/*!
|
|
1186
|
+
* @kurkle/color v0.3.4
|
|
1187
|
+
* https://github.com/kurkle/color#readme
|
|
1188
|
+
* (c) 2024 Jukka Kurkela
|
|
1189
|
+
* Released under the MIT License
|
|
1190
|
+
*/function y2(e){return e+.5|0}var pu=(e,t,o)=>Math.max(Math.min(e,o),t);function g2(e){return pu(y2(e*2.55),0,255)}function hu(e){return pu(y2(e*255),0,255)}function jl(e){return pu(y2(e/2.55)/100,0,1)}function qG(e){return pu(y2(e*100),0,100)}var ws={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},PL=[..."0123456789ABCDEF"],epe=e=>PL[e&15],tpe=e=>PL[(e&240)>>4]+PL[e&15],U8=e=>(e&240)>>4===(e&15),ope=e=>U8(e.r)&&U8(e.g)&&U8(e.b)&&U8(e.a);function rpe(e){var t=e.length,o;return e[0]==="#"&&(t===4||t===5?o={r:255&ws[e[1]]*17,g:255&ws[e[2]]*17,b:255&ws[e[3]]*17,a:t===5?ws[e[4]]*17:255}:(t===7||t===9)&&(o={r:ws[e[1]]<<4|ws[e[2]],g:ws[e[3]]<<4|ws[e[4]],b:ws[e[5]]<<4|ws[e[6]],a:t===9?ws[e[7]]<<4|ws[e[8]]:255})),o}var npe=(e,t)=>e<255?t(e):"";function ape(e){var t=ope(e)?epe:tpe;return e?"#"+t(e.r)+t(e.g)+t(e.b)+npe(e.a,t):void 0}var spe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function QG(e,t,o){let r=t*Math.min(o,1-o),n=(a,s=(a+e/30)%12)=>o-r*Math.max(Math.min(s-3,9-s,1),-1);return[n(0),n(8),n(4)]}function ipe(e,t,o){let r=(n,a=(n+e/60)%6)=>o-o*t*Math.max(Math.min(a,4-a,1),0);return[r(5),r(3),r(1)]}function lpe(e,t,o){let r=QG(e,1,.5),n;for(t+o>1&&(n=1/(t+o),t*=n,o*=n),n=0;n<3;n++)r[n]*=1-t-o,r[n]+=t;return r}function cpe(e,t,o,r,n){return e===n?(t-o)/r+(t<o?6:0):t===n?(o-e)/r+2:(e-t)/r+4}function EL(e){let o=e.r/255,r=e.g/255,n=e.b/255,a=Math.max(o,r,n),s=Math.min(o,r,n),i=(a+s)/2,l,c,u;return a!==s&&(u=a-s,c=i>.5?u/(2-a-s):u/(a+s),l=cpe(o,r,n,u,a),l=l*60+.5),[l|0,c||0,i]}function BL(e,t,o,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,o,r)).map(hu)}function DL(e,t,o){return BL(QG,e,t,o)}function upe(e,t,o){return BL(lpe,e,t,o)}function mpe(e,t,o){return BL(ipe,e,t,o)}function JG(e){return(e%360+360)%360}function fpe(e){let t=spe.exec(e),o=255,r;if(!t)return;t[5]!==r&&(o=t[6]?g2(+t[5]):hu(+t[5]));let n=JG(+t[2]),a=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=upe(n,a,s):t[1]==="hsv"?r=mpe(n,a,s):r=DL(n,a,s),{r:r[0],g:r[1],b:r[2],a:o}}function dpe(e,t){var o=EL(e);o[0]=JG(o[0]+t),o=DL(o),e.r=o[0],e.g=o[1],e.b=o[2]}function ppe(e){if(!e)return;let t=EL(e),o=t[0],r=qG(t[1]),n=qG(t[2]);return e.a<255?`hsla(${o}, ${r}%, ${n}%, ${jl(e.a)})`:`hsl(${o}, ${r}%, ${n}%)`}var XG={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},YG={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function hpe(){let e={},t=Object.keys(YG),o=Object.keys(XG),r,n,a,s,i;for(r=0;r<t.length;r++){for(s=i=t[r],n=0;n<o.length;n++)a=o[n],i=i.replace(a,XG[a]);a=parseInt(YG[s],16),e[i]=[a>>16&255,a>>8&255,a&255]}return e}var Z8;function gpe(e){Z8||(Z8=hpe(),Z8.transparent=[0,0,0,0]);let t=Z8[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var bpe=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function ype(e){let t=bpe.exec(e),o=255,r,n,a;if(t){if(t[7]!==r){let s=+t[7];o=t[8]?g2(s):pu(s*255,0,255)}return r=+t[1],n=+t[3],a=+t[5],r=255&(t[2]?g2(r):pu(r,0,255)),n=255&(t[4]?g2(n):pu(n,0,255)),a=255&(t[6]?g2(a):pu(a,0,255)),{r,g:n,b:a,a:o}}}function Spe(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${jl(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var LL=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,w0=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function xpe(e,t,o){let r=w0(jl(e.r)),n=w0(jl(e.g)),a=w0(jl(e.b));return{r:hu(LL(r+o*(w0(jl(t.r))-r))),g:hu(LL(n+o*(w0(jl(t.g))-n))),b:hu(LL(a+o*(w0(jl(t.b))-a))),a:e.a+o*(t.a-e.a)}}function j8(e,t,o){if(e){let r=EL(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*o,t===0?360:1)),r=DL(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function e$(e,t){return e&&Object.assign(t||{},e)}function KG(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=hu(e[3]))):(t=e$(e,{r:0,g:0,b:0,a:1}),t.a=hu(t.a)),t}function Ipe(e){return e.charAt(0)==="r"?ype(e):fpe(e)}var b2=class e{constructor(t){if(t instanceof e)return t;let o=typeof t,r;o==="object"?r=KG(t):o==="string"&&(r=rpe(t)||gpe(t)||Ipe(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=e$(this._rgb);return t&&(t.a=jl(t.a)),t}set rgb(t){this._rgb=KG(t)}rgbString(){return this._valid?Spe(this._rgb):void 0}hexString(){return this._valid?ape(this._rgb):void 0}hslString(){return this._valid?ppe(this._rgb):void 0}mix(t,o){if(t){let r=this.rgb,n=t.rgb,a,s=o===a?.5:o,i=2*s-1,l=r.a-n.a,c=((i*l===-1?i:(i+l)/(1+i*l))+1)/2;a=1-c,r.r=255&c*r.r+a*n.r+.5,r.g=255&c*r.g+a*n.g+.5,r.b=255&c*r.b+a*n.b+.5,r.a=s*r.a+(1-s)*n.a,this.rgb=r}return this}interpolate(t,o){return t&&(this._rgb=xpe(this._rgb,t._rgb,o)),this}clone(){return new e(this.rgb)}alpha(t){return this._rgb.a=hu(t),this}clearer(t){let o=this._rgb;return o.a*=1-t,this}greyscale(){let t=this._rgb,o=y2(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=o,this}opaquer(t){let o=this._rgb;return o.a*=1+t,this}negate(){let t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return j8(this._rgb,2,t),this}darken(t){return j8(this._rgb,2,-t),this}saturate(t){return j8(this._rgb,1,t),this}desaturate(t){return j8(this._rgb,1,-t),this}rotate(t){return dpe(this._rgb,t),this}};/*!
|
|
1191
|
+
* Chart.js v4.5.1
|
|
1192
|
+
* https://www.chartjs.org
|
|
1193
|
+
* (c) 2025 Chart.js Contributors
|
|
1194
|
+
* Released under the MIT License
|
|
1195
|
+
*/function Ri(){}var l$=(()=>{let e=0;return()=>e++})();function Bt(e){return e==null}function ho(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Tt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Kr(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function ga(e,t){return Kr(e)?e:t}function wt(e,t){return typeof e>"u"?t:e}var c$=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Gt(e,t,o){if(e&&typeof e.call=="function")return e.apply(o,t)}function Dt(e,t,o,r){let n,a,s;if(ho(e))if(a=e.length,r)for(n=a-1;n>=0;n--)t.call(o,e[n],n);else for(n=0;n<a;n++)t.call(o,e[n],n);else if(Tt(e))for(s=Object.keys(e),a=s.length,n=0;n<a;n++)t.call(o,e[s[n]],s[n])}function I2(e,t){let o,r,n,a;if(!e||!t||e.length!==t.length)return!1;for(o=0,r=e.length;o<r;++o)if(n=e[o],a=t[o],n.datasetIndex!==a.datasetIndex||n.index!==a.index)return!1;return!0}function q8(e){if(ho(e))return e.map(q8);if(Tt(e)){let t=Object.create(null),o=Object.keys(e),r=o.length,n=0;for(;n<r;++n)t[o[n]]=q8(e[o[n]]);return t}return e}function u$(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function vpe(e,t,o,r){if(!u$(e))return;let n=t[e],a=o[e];Tt(n)&&Tt(a)?A0(n,a,r):t[e]=q8(a)}function A0(e,t,o){let r=ho(t)?t:[t],n=r.length;if(!Tt(e))return e;o=o||{};let a=o.merger||vpe,s;for(let i=0;i<n;++i){if(s=r[i],!Tt(s))continue;let l=Object.keys(s);for(let c=0,u=l.length;c<u;++c)a(l[c],e,s,o)}return e}function k0(e,t){return A0(e,t,{merger:Cpe})}function Cpe(e,t,o){if(!u$(e))return;let r=t[e],n=o[e];Tt(r)&&Tt(n)?k0(r,n):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=q8(n))}var t$={"":e=>e,x:e=>e.x,y:e=>e.y};function wpe(e){let t=e.split("."),o=[],r="";for(let n of t)r+=n,r.endsWith("\\")?r=r.slice(0,-1)+".":(o.push(r),r="");return o}function Tpe(e){let t=wpe(e);return o=>{for(let r of t){if(r==="")break;o=o&&o[r]}return o}}function af(e,t){return(t$[t]||(t$[t]=Tpe(t)))(e)}function K8(e){return e.charAt(0).toUpperCase()+e.slice(1)}var M0=e=>typeof e<"u",Gl=e=>typeof e=="function",HL=(e,t)=>{if(e.size!==t.size)return!1;for(let o of e)if(!t.has(o))return!1;return!0};function m$(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}var ln=Math.PI,Ts=2*ln,Pat=Ts+ln,X8=Number.POSITIVE_INFINITY,Ape=ln/180,ha=ln/2,of=ln/4,o$=ln*2/3,$l=Math.log10,ql=Math.sign;function v2(e,t,o){return Math.abs(e-t)<o}function OL(e){let t=Math.round(e);e=v2(e,t,e/1e3)?t:e;let o=Math.pow(10,Math.floor($l(e))),r=e/o;return(r<=1?1:r<=2?2:r<=5?5:10)*o}function f$(e){let t=[],o=Math.sqrt(e),r;for(r=1;r<o;r++)e%r===0&&(t.push(r),t.push(e/r));return o===(o|0)&&t.push(o),t.sort((n,a)=>n-a).pop(),t}function kpe(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function C2(e){return!kpe(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function d$(e,t){let o=Math.round(e);return o-t<=e&&o+t>=e}function VL(e,t,o){let r,n,a;for(r=0,n=e.length;r<n;r++)a=e[r][o],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}function Xl(e){return e*(ln/180)}function Q8(e){return e*(180/ln)}function NL(e){if(!Kr(e))return;let t=1,o=0;for(;Math.round(e*t)/t!==e;)t*=10,o++;return o}function p$(e,t){let o=t.x-e.x,r=t.y-e.y,n=Math.sqrt(o*o+r*r),a=Math.atan2(r,o);return a<-.5*ln&&(a+=Ts),{angle:a,distance:n}}function h$(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function ei(e){return(e%Ts+Ts)%Ts}function g$(e,t,o,r){let n=ei(e),a=ei(t),s=ei(o),i=ei(a-n),l=ei(s-n),c=ei(n-a),u=ei(n-s);return n===a||n===s||r&&a===s||i>l&&c<u}function As(e,t,o){return Math.max(t,Math.min(o,e))}function b$(e){return As(e,-32768,32767)}function sf(e,t,o,r=1e-6){return e>=Math.min(t,o)-r&&e<=Math.max(t,o)+r}function J8(e,t,o){o=o||(s=>e[s]<t);let r=e.length-1,n=0,a;for(;r-n>1;)a=n+r>>1,o(a)?n=a:r=a;return{lo:n,hi:r}}var e6=(e,t,o,r)=>J8(e,o,r?n=>{let a=e[n][t];return a<o||a===o&&e[n+1][t]===o}:n=>e[n][t]<o),y$=(e,t,o)=>J8(e,o,r=>e[r][t]>=o);function S$(e,t,o){let r=0,n=e.length;for(;r<n&&e[r]<t;)r++;for(;n>r&&e[n-1]>o;)n--;return r>0||n<e.length?e.slice(r,n):e}var x$=["push","pop","shift","splice","unshift"];function I$(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),x$.forEach(o=>{let r="_onData"+K8(o),n=e[o];Object.defineProperty(e,o,{configurable:!0,enumerable:!1,value(...a){let s=n.apply(this,a);return e._chartjs.listeners.forEach(i=>{typeof i[r]=="function"&&i[r](...a)}),s}})})}function zL(e,t){let o=e._chartjs;if(!o)return;let r=o.listeners,n=r.indexOf(t);n!==-1&&r.splice(n,1),!(r.length>0)&&(x$.forEach(a=>{delete e[a]}),delete e._chartjs)}function WL(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var UL=(function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame})();function ZL(e,t){let o=[],r=!1;return function(...n){o=n,r||(r=!0,UL.call(window,()=>{r=!1,e.apply(t,o)}))}}function v$(e,t){let o;return function(...r){return t?(clearTimeout(o),o=setTimeout(e,t,r)):e.apply(this,r),t}}var jL=e=>e==="start"?"left":e==="end"?"right":"center",ba=(e,t,o)=>e==="start"?t:e==="end"?o:(t+o)/2,C$=(e,t,o,r)=>e===(r?"left":"right")?o:e==="center"?(t+o)/2:t;var G8=e=>e===0||e===1,r$=(e,t,o)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Ts/o)),n$=(e,t,o)=>Math.pow(2,-10*e)*Math.sin((e-t)*Ts/o)+1,T0={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*ha)+1,easeOutSine:e=>Math.sin(e*ha),easeInOutSine:e=>-.5*(Math.cos(ln*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>G8(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>G8(e)?e:r$(e,.075,.3),easeOutElastic:e=>G8(e)?e:n$(e,.075,.3),easeInOutElastic(e){return G8(e)?e:e<.5?.5*r$(e*2,.1125,.45):.5+.5*n$(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-T0.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?T0.easeInBounce(e*2)*.5:T0.easeOutBounce(e*2-1)*.5+.5};function w$(e){if(e&&typeof e=="object"){let t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function GL(e){return w$(e)?e:new b2(e)}function RL(e){return w$(e)?e:new b2(e).saturate(.5).darken(.1).hexString()}var Mpe=["x","y","borderWidth","radius","tension"],Lpe=["color","borderColor","backgroundColor"];function Ppe(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:Lpe},numbers:{type:"number",properties:Mpe}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function Epe(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var a$=new Map;function Bpe(e,t){t=t||{};let o=e+JSON.stringify(t),r=a$.get(o);return r||(r=new Intl.NumberFormat(e,t),a$.set(o,r)),r}function t6(e,t,o){return Bpe(t,o).format(e)}var T$={values(e){return ho(e)?e:""+e},numeric(e,t,o){if(e===0)return"0";let r=this.chart.options.locale,n,a=e;if(o.length>1){let c=Math.max(Math.abs(o[0].value),Math.abs(o[o.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),a=Dpe(e,o)}let s=$l(Math.abs(a)),i=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:n,minimumFractionDigits:i,maximumFractionDigits:i};return Object.assign(l,this.options.ticks.format),t6(e,r,l)},logarithmic(e,t,o){if(e===0)return"0";let r=o[t].significand||e/Math.pow(10,Math.floor($l(e)));return[1,2,3,5,10,15].includes(r)||t>.8*o.length?T$.numeric.call(this,e,t,o):""}};function Dpe(e,t){let o=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(o)>=1&&e!==Math.floor(e)&&(o=e-Math.floor(e)),o}var w2={formatters:T$};function Rpe(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,o)=>o.lineWidth,tickColor:(t,o)=>o.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:w2.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}var bu=Object.create(null),o6=Object.create(null);function S2(e,t){if(!t)return e;let o=t.split(".");for(let r=0,n=o.length;r<n;++r){let a=o[r];e=e[a]||(e[a]=Object.create(null))}return e}function _L(e,t,o){return typeof t=="string"?A0(S2(e,t),o):A0(S2(e,""),t)}var FL=class{constructor(t,o){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,n)=>RL(n.backgroundColor),this.hoverBorderColor=(r,n)=>RL(n.borderColor),this.hoverColor=(r,n)=>RL(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(o)}set(t,o){return _L(this,t,o)}get(t){return S2(this,t)}describe(t,o){return _L(o6,t,o)}override(t,o){return _L(bu,t,o)}route(t,o,r,n){let a=S2(this,t),s=S2(this,r),i="_"+o;Object.defineProperties(a,{[i]:{value:a[o],writable:!0},[o]:{enumerable:!0,get(){let l=this[i],c=s[n];return Tt(l)?Object.assign({},c,l):wt(l,c)},set(l){this[i]=l}}})}apply(t){t.forEach(o=>o(this))}},So=new FL({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Ppe,Epe,Rpe]);function _pe(e){return!e||Bt(e.size)||Bt(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function x2(e,t,o,r,n){let a=t[n];return a||(a=t[n]=e.measureText(n).width,o.push(n)),a>r&&(r=a),r}function A$(e,t,o,r){r=r||{};let n=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(n=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0,i=o.length,l,c,u,m,f;for(l=0;l<i;l++)if(m=o[l],m!=null&&!ho(m))s=x2(e,n,a,s,m);else if(ho(m))for(c=0,u=m.length;c<u;c++)f=m[c],f!=null&&!ho(f)&&(s=x2(e,n,a,s,f));e.restore();let d=a.length/2;if(d>o.length){for(l=0;l<d;l++)delete n[a[l]];a.splice(0,d)}return s}function yu(e,t,o){let r=e.currentDevicePixelRatio,n=o!==0?Math.max(o/2,.5):0;return Math.round((t-n)*r)/r+n}function $L(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function qL(e,t,o,r){XL(e,t,o,r,null)}function XL(e,t,o,r,n){let a,s,i,l,c,u,m,f,d=t.pointStyle,p=t.rotation,h=t.radius,S=(p||0)*Ape;if(d&&typeof d=="object"&&(a=d.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){e.save(),e.translate(o,r),e.rotate(S),e.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),e.restore();return}if(!(isNaN(h)||h<=0)){switch(e.beginPath(),d){default:n?e.ellipse(o,r,n/2,h,0,0,Ts):e.arc(o,r,h,0,Ts),e.closePath();break;case"triangle":u=n?n/2:h,e.moveTo(o+Math.sin(S)*u,r-Math.cos(S)*h),S+=o$,e.lineTo(o+Math.sin(S)*u,r-Math.cos(S)*h),S+=o$,e.lineTo(o+Math.sin(S)*u,r-Math.cos(S)*h),e.closePath();break;case"rectRounded":c=h*.516,l=h-c,s=Math.cos(S+of)*l,m=Math.cos(S+of)*(n?n/2-c:l),i=Math.sin(S+of)*l,f=Math.sin(S+of)*(n?n/2-c:l),e.arc(o-m,r-i,c,S-ln,S-ha),e.arc(o+f,r-s,c,S-ha,S),e.arc(o+m,r+i,c,S,S+ha),e.arc(o-f,r+s,c,S+ha,S+ln),e.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*h,u=n?n/2:l,e.rect(o-u,r-l,2*u,2*l);break}S+=of;case"rectRot":m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+f,r-s),e.lineTo(o+m,r+i),e.lineTo(o-f,r+s),e.closePath();break;case"crossRot":S+=of;case"cross":m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+m,r+i),e.moveTo(o+f,r-s),e.lineTo(o-f,r+s);break;case"star":m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+m,r+i),e.moveTo(o+f,r-s),e.lineTo(o-f,r+s),S+=of,m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+m,r+i),e.moveTo(o+f,r-s),e.lineTo(o-f,r+s);break;case"line":s=n?n/2:Math.cos(S)*h,i=Math.sin(S)*h,e.moveTo(o-s,r-i),e.lineTo(o+s,r+i);break;case"dash":e.moveTo(o,r),e.lineTo(o+Math.cos(S)*(n?n/2:h),r+Math.sin(S)*h);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function lf(e,t,o){return o=o||.5,!t||e&&e.x>t.left-o&&e.x<t.right+o&&e.y>t.top-o&&e.y<t.bottom+o}function r6(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function n6(e){e.restore()}function Fpe(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Bt(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function Hpe(e,t,o,r,n){if(n.strikethrough||n.underline){let a=e.measureText(r),s=t-a.actualBoundingBoxLeft,i=t+a.actualBoundingBoxRight,l=o-a.actualBoundingBoxAscent,c=o+a.actualBoundingBoxDescent,u=n.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=n.decorationWidth||2,e.moveTo(s,u),e.lineTo(i,u),e.stroke()}}function Ope(e,t){let o=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=o}function cf(e,t,o,r,n,a={}){let s=ho(t)?t:[t],i=a.strokeWidth>0&&a.strokeColor!=="",l,c;for(e.save(),e.font=n.string,Fpe(e,a),l=0;l<s.length;++l)c=s[l],a.backdrop&&Ope(e,a.backdrop),i&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),Bt(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(c,o,r,a.maxWidth)),e.fillText(c,o,r,a.maxWidth),Hpe(e,o,r,c,a),r+=Number(n.lineHeight);e.restore()}function L0(e,t){let{x:o,y:r,w:n,h:a,radius:s}=t;e.arc(o+s.topLeft,r+s.topLeft,s.topLeft,1.5*ln,ln,!0),e.lineTo(o,r+a-s.bottomLeft),e.arc(o+s.bottomLeft,r+a-s.bottomLeft,s.bottomLeft,ln,ha,!0),e.lineTo(o+n-s.bottomRight,r+a),e.arc(o+n-s.bottomRight,r+a-s.bottomRight,s.bottomRight,ha,0,!0),e.lineTo(o+n,r+s.topRight),e.arc(o+n-s.topRight,r+s.topRight,s.topRight,0,-ha,!0),e.lineTo(o+s.topLeft,r)}var Vpe=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Npe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function zpe(e,t){let o=(""+e).match(Vpe);if(!o||o[1]==="normal")return t*1.2;switch(e=+o[2],o[3]){case"px":return e;case"%":e/=100;break}return t*e}var Wpe=e=>+e||0;function YL(e,t){let o={},r=Tt(t),n=r?Object.keys(t):t,a=Tt(e)?r?s=>wt(e[s],e[t[s]]):s=>e[s]:()=>e;for(let s of n)o[s]=Wpe(a(s));return o}function KL(e){return YL(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Su(e){return YL(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Bn(e){let t=KL(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function cn(e,t){e=e||{},t=t||So.font;let o=wt(e.size,t.size);typeof o=="string"&&(o=parseInt(o,10));let r=wt(e.style,t.style);r&&!(""+r).match(Npe)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);let n={family:wt(e.family,t.family),lineHeight:zpe(wt(e.lineHeight,t.lineHeight),o),size:o,style:r,weight:wt(e.weight,t.weight),string:""};return n.string=_pe(n),n}function T2(e,t,o,r){let n=!0,a,s,i;for(a=0,s=e.length;a<s;++a)if(i=e[a],i!==void 0&&(t!==void 0&&typeof i=="function"&&(i=i(t),n=!1),o!==void 0&&ho(i)&&(i=i[o%i.length],n=!1),i!==void 0))return r&&!n&&(r.cacheable=!1),i}function k$(e,t,o){let{min:r,max:n}=e,a=c$(t,(n-r)/2),s=(i,l)=>o&&i===0?0:i+l;return{min:s(r,-Math.abs(a)),max:s(n,a)}}function xu(e,t){return Object.assign(Object.create(e),t)}function a6(e,t=[""],o,r,n=()=>e[0]){let a=o||e;typeof r>"u"&&(r=P$("_fallback",e));let s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:n,override:i=>a6([i,...e],t,a,r)};return new Proxy(s,{deleteProperty(i,l){return delete i[l],delete i._keys,delete e[0][l],!0},get(i,l){return M$(i,l,()=>Ype(l,t,e,i))},getOwnPropertyDescriptor(i,l){return Reflect.getOwnPropertyDescriptor(i._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(i,l){return i$(i).includes(l)},ownKeys(i){return i$(i)},set(i,l,c){let u=i._storage||(i._storage=n());return i[l]=u[l]=c,delete i._keys,!0}})}function nf(e,t,o,r){let n={_cacheable:!1,_proxy:e,_context:t,_subProxy:o,_stack:new Set,_descriptors:QL(e,r),setContext:a=>nf(e,a,o,r),override:a=>nf(e.override(a),t,o,r)};return new Proxy(n,{deleteProperty(a,s){return delete a[s],delete e[s],!0},get(a,s,i){return M$(a,s,()=>Zpe(a,s,i))},getOwnPropertyDescriptor(a,s){return a._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(a,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(a,s,i){return e[s]=i,delete a[s],!0}})}function QL(e,t={scriptable:!0,indexable:!0}){let{_scriptable:o=t.scriptable,_indexable:r=t.indexable,_allKeys:n=t.allKeys}=e;return{allKeys:n,scriptable:o,indexable:r,isScriptable:Gl(o)?o:()=>o,isIndexable:Gl(r)?r:()=>r}}var Upe=(e,t)=>e?e+K8(t):t,JL=(e,t)=>Tt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function M$(e,t,o){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];let r=o();return e[t]=r,r}function Zpe(e,t,o){let{_proxy:r,_context:n,_subProxy:a,_descriptors:s}=e,i=r[t];return Gl(i)&&s.isScriptable(t)&&(i=jpe(t,i,e,o)),ho(i)&&i.length&&(i=Gpe(t,i,e,s.isIndexable)),JL(t,i)&&(i=nf(i,n,a&&a[t],s)),i}function jpe(e,t,o,r){let{_proxy:n,_context:a,_subProxy:s,_stack:i}=o;if(i.has(e))throw new Error("Recursion detected: "+Array.from(i).join("->")+"->"+e);i.add(e);let l=t(a,s||r);return i.delete(e),JL(e,l)&&(l=eP(n._scopes,n,e,l)),l}function Gpe(e,t,o,r){let{_proxy:n,_context:a,_subProxy:s,_descriptors:i}=o;if(typeof a.index<"u"&&r(e))return t[a.index%t.length];if(Tt(t[0])){let l=t,c=n._scopes.filter(u=>u!==l);t=[];for(let u of l){let m=eP(c,n,e,u);t.push(nf(m,a,s&&s[e],i))}}return t}function L$(e,t,o){return Gl(e)?e(t,o):e}var $pe=(e,t)=>e===!0?t:typeof e=="string"?af(t,e):void 0;function qpe(e,t,o,r,n){for(let a of t){let s=$pe(o,a);if(s){e.add(s);let i=L$(s._fallback,o,n);if(typeof i<"u"&&i!==o&&i!==r)return i}else if(s===!1&&typeof r<"u"&&o!==r)return null}return!1}function eP(e,t,o,r){let n=t._rootScopes,a=L$(t._fallback,o,r),s=[...e,...n],i=new Set;i.add(r);let l=s$(i,s,o,a||o,r);return l===null||typeof a<"u"&&a!==o&&(l=s$(i,s,a,l,r),l===null)?!1:a6(Array.from(i),[""],n,a,()=>Xpe(t,o,r))}function s$(e,t,o,r,n){for(;o;)o=qpe(e,t,o,r,n);return o}function Xpe(e,t,o){let r=e._getTarget();t in r||(r[t]={});let n=r[t];return ho(n)&&Tt(o)?o:n||{}}function Ype(e,t,o,r){let n;for(let a of t)if(n=P$(Upe(a,e),o),typeof n<"u")return JL(e,n)?eP(o,r,e,n):n}function P$(e,t){for(let o of t){if(!o)continue;let r=o[e];if(typeof r<"u")return r}}function i$(e){let t=e._keys;return t||(t=e._keys=Kpe(e._scopes)),t}function Kpe(e){let t=new Set;for(let o of e)for(let r of Object.keys(o).filter(n=>!n.startsWith("_")))t.add(r);return Array.from(t)}var Eat=Number.EPSILON||1e-14;function s6(){return typeof window<"u"&&typeof document<"u"}function i6(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Y8(e,t,o){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[o])):r=e,r}var l6=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function Qpe(e,t){return l6(e).getPropertyValue(t)}var Jpe=["top","right","bottom","left"];function rf(e,t,o){let r={};o=o?"-"+o:"";for(let n=0;n<4;n++){let a=Jpe[n];r[a]=parseFloat(e[t+"-"+a+o])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var e0e=(e,t,o)=>(e>0||t>0)&&(!o||!o.shadowRoot);function t0e(e,t){let o=e.touches,r=o&&o.length?o[0]:e,{offsetX:n,offsetY:a}=r,s=!1,i,l;if(e0e(n,a,e.target))i=n,l=a;else{let c=t.getBoundingClientRect();i=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:i,y:l,box:s}}function Iu(e,t){if("native"in e)return e;let{canvas:o,currentDevicePixelRatio:r}=t,n=l6(o),a=n.boxSizing==="border-box",s=rf(n,"padding"),i=rf(n,"border","width"),{x:l,y:c,box:u}=t0e(e,o),m=s.left+(u&&i.left),f=s.top+(u&&i.top),{width:d,height:p}=t;return a&&(d-=s.width+i.width,p-=s.height+i.height),{x:Math.round((l-m)/d*o.width/r),y:Math.round((c-f)/p*o.height/r)}}function o0e(e,t,o){let r,n;if(t===void 0||o===void 0){let a=e&&i6(e);if(!a)t=e.clientWidth,o=e.clientHeight;else{let s=a.getBoundingClientRect(),i=l6(a),l=rf(i,"border","width"),c=rf(i,"padding");t=s.width-c.width-l.width,o=s.height-c.height-l.height,r=Y8(i.maxWidth,a,"clientWidth"),n=Y8(i.maxHeight,a,"clientHeight")}}return{width:t,height:o,maxWidth:r||X8,maxHeight:n||X8}}var gu=e=>Math.round(e*10)/10;function E$(e,t,o,r){let n=l6(e),a=rf(n,"margin"),s=Y8(n.maxWidth,e,"clientWidth")||X8,i=Y8(n.maxHeight,e,"clientHeight")||X8,l=o0e(e,t,o),{width:c,height:u}=l;if(n.boxSizing==="content-box"){let f=rf(n,"border","width"),d=rf(n,"padding");c-=d.width+f.width,u-=d.height+f.height}return c=Math.max(0,c-a.width),u=Math.max(0,r?c/r:u-a.height),c=gu(Math.min(c,s,l.maxWidth)),u=gu(Math.min(u,i,l.maxHeight)),c&&!u&&(u=gu(c/2)),(t!==void 0||o!==void 0)&&r&&l.height&&u>l.height&&(u=l.height,c=gu(Math.floor(u*r))),{width:c,height:u}}function tP(e,t,o){let r=t||1,n=gu(e.height*r),a=gu(e.width*r);e.height=gu(e.height),e.width=gu(e.width);let s=e.canvas;return s.style&&(o||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==n||s.width!==a?(e.currentDevicePixelRatio=r,s.height=n,s.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var B$=(function(){let e=!1;try{let t={get passive(){return e=!0,!1}};s6()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e})();function oP(e,t){let o=Qpe(e,t),r=o&&o.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}var r0e=function(e,t){return{x(o){return e+e+t-o},setWidth(o){t=o},textAlign(o){return o==="center"?o:o==="right"?"left":"right"},xPlus(o,r){return o-r},leftForLtr(o,r){return o-r}}},n0e=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function uf(e,t,o){return e?r0e(t,o):n0e()}function rP(e,t){let o,r;(t==="ltr"||t==="rtl")&&(o=e.canvas.style,r=[o.getPropertyValue("direction"),o.getPropertyPriority("direction")],o.setProperty("direction",t,"important"),e.prevTextDirection=r)}function nP(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function $8(e,t,o){return e.options.clip?e[o]:t[o]}function a0e(e,t){let{xScale:o,yScale:r}=e;return o&&r?{left:$8(o,t,"left"),right:$8(o,t,"right"),top:$8(r,t,"top"),bottom:$8(r,t,"bottom")}:t}function D$(e,t){let o=t._clip;if(o.disabled)return!1;let r=a0e(t,e.chartArea);return{left:o.left===!1?0:r.left-(o.left===!0?0:o.left),right:o.right===!1?e.width:r.right+(o.right===!0?0:o.right),top:o.top===!1?0:r.top-(o.top===!0?0:o.top),bottom:o.bottom===!1?e.height:r.bottom+(o.bottom===!0?0:o.bottom)}}/*!
|
|
1196
|
+
* Chart.js v4.5.1
|
|
1197
|
+
* https://www.chartjs.org
|
|
1198
|
+
* (c) 2025 Chart.js Contributors
|
|
1199
|
+
* Released under the MIT License
|
|
1200
|
+
*/var pP=class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,o,r,n){let a=o.listeners[n],s=o.duration;a.forEach(i=>i({chart:t,initial:o.initial,numSteps:s,currentStep:Math.min(r-o.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=UL.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let o=0;this._charts.forEach((r,n)=>{if(!r.running||!r.items.length)return;let a=r.items,s=a.length-1,i=!1,l;for(;s>=0;--s)l=a[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),i=!0):(a[s]=a[a.length-1],a.pop());i&&(n.draw(),this._notify(n,r,t,"progress")),a.length||(r.running=!1,this._notify(n,r,t,"complete"),r.initial=!1),o+=a.length}),this._lastDate=t,o===0&&(this._running=!1)}_getAnims(t){let o=this._charts,r=o.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},o.set(t,r)),r}listen(t,o,r){this._getAnims(t).listeners[o].push(r)}add(t,o){!o||!o.length||this._getAnims(t).items.push(...o)}has(t){return this._getAnims(t).items.length>0}start(t){let o=this._charts.get(t);o&&(o.running=!0,o.start=Date.now(),o.duration=o.items.reduce((r,n)=>Math.max(r,n._duration),0),this._refresh())}running(t){if(!this._running)return!1;let o=this._charts.get(t);return!(!o||!o.running||!o.items.length)}stop(t){let o=this._charts.get(t);if(!o||!o.items.length)return;let r=o.items,n=r.length-1;for(;n>=0;--n)r[n].cancel();o.items=[],this._notify(t,o,Date.now(),"complete")}remove(t){return this._charts.delete(t)}},Yl=new pP,R$="transparent",s0e={boolean(e,t,o){return o>.5?t:e},color(e,t,o){let r=GL(e||R$),n=r.valid&&GL(t||R$);return n&&n.valid?n.mix(r,o).hexString():t},number(e,t,o){return e+(t-e)*o}},hP=class{constructor(t,o,r,n){let a=o[r];n=T2([t.to,n,a,t.from]);let s=T2([t.from,a,n]);this._active=!0,this._fn=t.fn||s0e[t.type||typeof s],this._easing=T0[t.easing]||T0.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=o,this._prop=r,this._from=s,this._to=n,this._promises=void 0}active(){return this._active}update(t,o,r){if(this._active){this._notify(!1);let n=this._target[this._prop],a=r-this._start,s=this._duration-a;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=a,this._loop=!!t.loop,this._to=T2([t.to,o,n,t.from]),this._from=T2([t.from,n,o])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){let o=t-this._start,r=this._duration,n=this._prop,a=this._from,s=this._loop,i=this._to,l;if(this._active=a!==i&&(s||o<r),!this._active){this._target[n]=i,this._notify(!0);return}if(o<0){this._target[n]=a;return}l=o/r%2,l=s&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(a,i,l)}wait(){let t=this._promises||(this._promises=[]);return new Promise((o,r)=>{t.push({res:o,rej:r})})}_notify(t){let o=t?"res":"rej",r=this._promises||[];for(let n=0;n<r.length;n++)r[n][o]()}},y6=class{constructor(t,o){this._chart=t,this._properties=new Map,this.configure(o)}configure(t){if(!Tt(t))return;let o=Object.keys(So.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(n=>{let a=t[n];if(!Tt(a))return;let s={};for(let i of o)s[i]=a[i];(ho(a.properties)&&a.properties||[n]).forEach(i=>{(i===n||!r.has(i))&&r.set(i,s)})})}_animateOptions(t,o){let r=o.options,n=l0e(t,r);if(!n)return[];let a=this._createAnimations(n,r);return r.$shared&&i0e(t.options.$animations,r).then(()=>{t.options=r},()=>{}),a}_createAnimations(t,o){let r=this._properties,n=[],a=t.$animations||(t.$animations={}),s=Object.keys(o),i=Date.now(),l;for(l=s.length-1;l>=0;--l){let c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,o));continue}let u=o[c],m=a[c],f=r.get(c);if(m)if(f&&m.active()){m.update(f,u,i);continue}else m.cancel();if(!f||!f.duration){t[c]=u;continue}a[c]=m=new hP(f,t,c,u),n.push(m)}return n}update(t,o){if(this._properties.size===0){Object.assign(t,o);return}let r=this._createAnimations(t,o);if(r.length)return Yl.add(this._chart,r),!0}};function i0e(e,t){let o=[],r=Object.keys(t);for(let n=0;n<r.length;n++){let a=e[r[n]];a&&a.active()&&o.push(a.wait())}return Promise.all(o)}function l0e(e,t){if(!t)return;let o=e.options;if(!o){e.options=t;return}return o.$shared&&(e.options=o=Object.assign({},o,{$shared:!1,$animations:{}})),o}function _$(e,t){let o=e&&e.options||{},r=o.reverse,n=o.min===void 0?t:0,a=o.max===void 0?t:0;return{start:r?a:n,end:r?n:a}}function c0e(e,t,o){if(o===!1)return!1;let r=_$(e,o),n=_$(t,o);return{top:n.end,right:r.end,bottom:n.start,left:r.start}}function u0e(e){let t,o,r,n;return Tt(e)?(t=e.top,o=e.right,r=e.bottom,n=e.left):t=o=r=n=e,{top:t,right:o,bottom:r,left:n,disabled:e===!1}}function wq(e,t){let o=[],r=e._getSortedDatasetMetas(t),n,a;for(n=0,a=r.length;n<a;++n)o.push(r[n].index);return o}function F$(e,t,o,r={}){let n=e.keys,a=r.mode==="single",s,i,l,c;if(t===null)return;let u=!1;for(s=0,i=n.length;s<i;++s){if(l=+n[s],l===o){if(u=!0,r.all)continue;break}c=e.values[l],Kr(c)&&(a||t===0||ql(t)===ql(c))&&(t+=c)}return!u&&!r.all?0:t}function m0e(e,t){let{iScale:o,vScale:r}=t,n=o.axis==="x"?"x":"y",a=r.axis==="x"?"x":"y",s=Object.keys(e),i=new Array(s.length),l,c,u;for(l=0,c=s.length;l<c;++l)u=s[l],i[l]={[n]:u,[a]:e[u]};return i}function aP(e,t){let o=e&&e.options.stacked;return o||o===void 0&&t.stack!==void 0}function f0e(e,t,o){return`${e.id}.${t.id}.${o.stack||o.type}`}function d0e(e){let{min:t,max:o,minDefined:r,maxDefined:n}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:n?o:Number.POSITIVE_INFINITY}}function p0e(e,t,o){let r=e[t]||(e[t]={});return r[o]||(r[o]={})}function H$(e,t,o,r){for(let n of t.getMatchingVisibleMetas(r).reverse()){let a=e[n.index];if(o&&a>0||!o&&a<0)return n.index}return null}function O$(e,t){let{chart:o,_cachedMeta:r}=e,n=o._stacks||(o._stacks={}),{iScale:a,vScale:s,index:i}=r,l=a.axis,c=s.axis,u=f0e(a,s,r),m=t.length,f;for(let d=0;d<m;++d){let p=t[d],{[l]:h,[c]:S}=p,g=p._stacks||(p._stacks={});f=g[c]=p0e(n,u,h),f[i]=S,f._top=H$(f,s,!0,r.type),f._bottom=H$(f,s,!1,r.type);let b=f._visualValues||(f._visualValues={});b[i]=S}}function sP(e,t){let o=e.scales;return Object.keys(o).filter(r=>o[r].axis===t).shift()}function h0e(e,t){return xu(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function g0e(e,t,o){return xu(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:o,index:t,mode:"default",type:"data"})}function A2(e,t){let o=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(let n of t){let a=n._stacks;if(!a||a[r]===void 0||a[r][o]===void 0)return;delete a[r][o],a[r]._visualValues!==void 0&&a[r]._visualValues[o]!==void 0&&delete a[r]._visualValues[o]}}}var iP=e=>e==="reset"||e==="none",V$=(e,t)=>t?e:Object.assign({},e),b0e=(e,t,o)=>e&&!t.hidden&&t._stacked&&{keys:wq(o,!0),values:null},df=class{constructor(t,o){this.chart=t,this._ctx=t.ctx,this.index=o,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=aP(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&A2(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,o=this._cachedMeta,r=this.getDataset(),n=(m,f,d,p)=>m==="x"?f:m==="r"?p:d,a=o.xAxisID=wt(r.xAxisID,sP(t,"x")),s=o.yAxisID=wt(r.yAxisID,sP(t,"y")),i=o.rAxisID=wt(r.rAxisID,sP(t,"r")),l=o.indexAxis,c=o.iAxisID=n(l,a,s,i),u=o.vAxisID=n(l,s,a,i);o.xScale=this.getScaleForId(a),o.yScale=this.getScaleForId(s),o.rScale=this.getScaleForId(i),o.iScale=this.getScaleForId(c),o.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let o=this._cachedMeta;return t===o.iScale?o.vScale:o.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&zL(this._data,this),t._stacked&&A2(t)}_dataCheck(){let t=this.getDataset(),o=t.data||(t.data=[]),r=this._data;if(Tt(o)){let n=this._cachedMeta;this._data=m0e(o,n)}else if(r!==o){if(r){zL(r,this);let n=this._cachedMeta;A2(n),n._parsed=[]}o&&Object.isExtensible(o)&&I$(o,this),this._syncList=[],this._data=o}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let o=this._cachedMeta,r=this.getDataset(),n=!1;this._dataCheck();let a=o._stacked;o._stacked=aP(o.vScale,o),o.stack!==r.stack&&(n=!0,A2(o),o.stack=r.stack),this._resyncElements(t),(n||a!==o._stacked)&&(O$(this,o._parsed),o._stacked=aP(o.vScale,o))}configure(){let t=this.chart.config,o=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),o,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,o){let{_cachedMeta:r,_data:n}=this,{iScale:a,_stacked:s}=r,i=a.axis,l=t===0&&o===n.length?!0:r._sorted,c=t>0&&r._parsed[t-1],u,m,f;if(this._parsing===!1)r._parsed=n,r._sorted=!0,f=n;else{ho(n[t])?f=this.parseArrayData(r,n,t,o):Tt(n[t])?f=this.parseObjectData(r,n,t,o):f=this.parsePrimitiveData(r,n,t,o);let d=()=>m[i]===null||c&&m[i]<c[i];for(u=0;u<o;++u)r._parsed[u+t]=m=f[u],l&&(d()&&(l=!1),c=m);r._sorted=l}s&&O$(this,f)}parsePrimitiveData(t,o,r,n){let{iScale:a,vScale:s}=t,i=a.axis,l=s.axis,c=a.getLabels(),u=a===s,m=new Array(n),f,d,p;for(f=0,d=n;f<d;++f)p=f+r,m[f]={[i]:u||a.parse(c[p],p),[l]:s.parse(o[p],p)};return m}parseArrayData(t,o,r,n){let{xScale:a,yScale:s}=t,i=new Array(n),l,c,u,m;for(l=0,c=n;l<c;++l)u=l+r,m=o[u],i[l]={x:a.parse(m[0],u),y:s.parse(m[1],u)};return i}parseObjectData(t,o,r,n){let{xScale:a,yScale:s}=t,{xAxisKey:i="x",yAxisKey:l="y"}=this._parsing,c=new Array(n),u,m,f,d;for(u=0,m=n;u<m;++u)f=u+r,d=o[f],c[u]={x:a.parse(af(d,i),f),y:s.parse(af(d,l),f)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,o,r){let n=this.chart,a=this._cachedMeta,s=o[t.axis],i={keys:wq(n,!0),values:o._stacks[t.axis]._visualValues};return F$(i,s,a.index,{mode:r})}updateRangeFromParsed(t,o,r,n){let a=r[o.axis],s=a===null?NaN:a,i=n&&r._stacks[o.axis];n&&i&&(n.values=i,s=F$(n,a,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,o){let r=this._cachedMeta,n=r._parsed,a=r._sorted&&t===r.iScale,s=n.length,i=this._getOtherScale(t),l=b0e(o,r,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:m}=d0e(i),f,d;function p(){d=n[f];let h=d[i.axis];return!Kr(d[t.axis])||u>h||m<h}for(f=0;f<s&&!(!p()&&(this.updateRangeFromParsed(c,t,d,l),a));++f);if(a){for(f=s-1;f>=0;--f)if(!p()){this.updateRangeFromParsed(c,t,d,l);break}}return c}getAllParsedValues(t){let o=this._cachedMeta._parsed,r=[],n,a,s;for(n=0,a=o.length;n<a;++n)s=o[n][t.axis],Kr(s)&&r.push(s);return r}getMaxOverflow(){return!1}getLabelAndValue(t){let o=this._cachedMeta,r=o.iScale,n=o.vScale,a=this.getParsed(t);return{label:r?""+r.getLabelForValue(a[r.axis]):"",value:n?""+n.getLabelForValue(a[n.axis]):""}}_update(t){let o=this._cachedMeta;this.update(t||"default"),o._clip=u0e(wt(this.options.clip,c0e(o.xScale,o.yScale,this.getMaxOverflow())))}update(t){}draw(){let t=this._ctx,o=this.chart,r=this._cachedMeta,n=r.data||[],a=o.chartArea,s=[],i=this._drawStart||0,l=this._drawCount||n.length-i,c=this.options.drawActiveElementsOnTop,u;for(r.dataset&&r.dataset.draw(t,a,i,l),u=i;u<i+l;++u){let m=n[u];m.hidden||(m.active&&c?s.push(m):m.draw(t,a))}for(u=0;u<s.length;++u)s[u].draw(t,a)}getStyle(t,o){let r=o?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,o,r){let n=this.getDataset(),a;if(t>=0&&t<this._cachedMeta.data.length){let s=this._cachedMeta.data[t];a=s.$context||(s.$context=g0e(this.getContext(),t,s)),a.parsed=this.getParsed(t),a.raw=n.data[t],a.index=a.dataIndex=t}else a=this.$context||(this.$context=h0e(this.chart.getContext(),this.index)),a.dataset=n,a.index=a.datasetIndex=this.index;return a.active=!!o,a.mode=r,a}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,o){return this._resolveElementOptions(this.dataElementType.id,o,t)}_resolveElementOptions(t,o="default",r){let n=o==="active",a=this._cachedDataOpts,s=t+"-"+o,i=a[s],l=this.enableOptionSharing&&M0(r);if(i)return V$(i,l);let c=this.chart.config,u=c.datasetElementScopeKeys(this._type,t),m=n?[`${t}Hover`,"hover",t,""]:[t,""],f=c.getOptionScopes(this.getDataset(),u),d=Object.keys(So.elements[t]),p=()=>this.getContext(r,n,o),h=c.resolveNamedOptions(f,d,p,m);return h.$shared&&(h.$shared=l,a[s]=Object.freeze(V$(h,l))),h}_resolveAnimations(t,o,r){let n=this.chart,a=this._cachedDataOpts,s=`animation-${o}`,i=a[s];if(i)return i;let l;if(n.options.animation!==!1){let u=this.chart.config,m=u.datasetAnimationScopeKeys(this._type,o),f=u.getOptionScopes(this.getDataset(),m);l=u.createResolver(f,this.getContext(t,r,o))}let c=new y6(n,l&&l.animations);return l&&l._cacheable&&(a[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,o){return!o||iP(t)||this.chart._animationsDisabled}_getSharedOptions(t,o){let r=this.resolveDataElementOptions(t,o),n=this._sharedOptions,a=this.getSharedOptions(r),s=this.includeOptions(o,a)||a!==n;return this.updateSharedOptions(a,o,r),{sharedOptions:a,includeOptions:s}}updateElement(t,o,r,n){iP(n)?Object.assign(t,r):this._resolveAnimations(o,n).update(t,r)}updateSharedOptions(t,o,r){t&&!iP(o)&&this._resolveAnimations(void 0,o).update(t,r)}_setStyle(t,o,r,n){t.active=n;let a=this.getStyle(o,n);this._resolveAnimations(o,r,n).update(t,{options:!n&&this.getSharedOptions(a)||a})}removeHoverStyle(t,o,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,o,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let o=this._data,r=this._cachedMeta.data;for(let[i,l,c]of this._syncList)this[i](l,c);this._syncList=[];let n=r.length,a=o.length,s=Math.min(a,n);s&&this.parse(0,s),a>n?this._insertElements(n,a-n,t):a<n&&this._removeElements(a,n-a)}_insertElements(t,o,r=!0){let n=this._cachedMeta,a=n.data,s=t+o,i,l=c=>{for(c.length+=o,i=c.length-1;i>=s;i--)c[i]=c[i-o]};for(l(a),i=t;i<s;++i)a[i]=new this.dataElementType;this._parsing&&l(n._parsed),this.parse(t,o),r&&this.updateElements(a,t,o,"reset")}updateElements(t,o,r,n){}_removeElements(t,o){let r=this._cachedMeta;if(this._parsing){let n=r._parsed.splice(t,o);r._stacked&&A2(r,n)}r.data.splice(t,o)}_sync(t){if(this._parsing)this._syncList.push(t);else{let[o,r,n]=t;this[o](r,n)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){let t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,o){o&&this._sync(["_removeElements",t,o]);let r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}};ot(df,"defaults",{}),ot(df,"datasetElementType",null),ot(df,"dataElementType",null);function y0e(e,t){if(!e._cache.$bar){let o=e.getMatchingVisibleMetas(t),r=[];for(let n=0,a=o.length;n<a;n++)r=r.concat(o[n].controller.getAllParsedValues(e));e._cache.$bar=WL(r.sort((n,a)=>n-a))}return e._cache.$bar}function S0e(e){let t=e.iScale,o=y0e(t,e.type),r=t._length,n,a,s,i,l=()=>{s===32767||s===-32768||(M0(i)&&(r=Math.min(r,Math.abs(s-i)||r)),i=s)};for(n=0,a=o.length;n<a;++n)s=t.getPixelForValue(o[n]),l();for(i=void 0,n=0,a=t.ticks.length;n<a;++n)s=t.getPixelForTick(n),l();return r}function x0e(e,t,o,r){let n=o.barThickness,a,s;return Bt(n)?(a=t.min*o.categoryPercentage,s=o.barPercentage):(a=n*r,s=1),{chunk:a/r,ratio:s,start:t.pixels[e]-a/2}}function I0e(e,t,o,r){let n=t.pixels,a=n[e],s=e>0?n[e-1]:null,i=e<n.length-1?n[e+1]:null,l=o.categoryPercentage;s===null&&(s=a-(i===null?t.end-t.start:i-a)),i===null&&(i=a+a-s);let c=a-(a-Math.min(s,i))/2*l;return{chunk:Math.abs(i-s)/2*l/r,ratio:o.barPercentage,start:c}}function v0e(e,t,o,r){let n=o.parse(e[0],r),a=o.parse(e[1],r),s=Math.min(n,a),i=Math.max(n,a),l=s,c=i;Math.abs(s)>Math.abs(i)&&(l=i,c=s),t[o.axis]=c,t._custom={barStart:l,barEnd:c,start:n,end:a,min:s,max:i}}function Tq(e,t,o,r){return ho(e)?v0e(e,t,o,r):t[o.axis]=o.parse(e,r),t}function N$(e,t,o,r){let n=e.iScale,a=e.vScale,s=n.getLabels(),i=n===a,l=[],c,u,m,f;for(c=o,u=o+r;c<u;++c)f=t[c],m={},m[n.axis]=i||n.parse(s[c],c),l.push(Tq(f,m,a,c));return l}function lP(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function C0e(e,t,o){return e!==0?ql(e):(t.isHorizontal()?1:-1)*(t.min>=o?1:-1)}function w0e(e){let t,o,r,n,a;return e.horizontal?(t=e.base>e.x,o="left",r="right"):(t=e.base<e.y,o="bottom",r="top"),t?(n="end",a="start"):(n="start",a="end"),{start:o,end:r,reverse:t,top:n,bottom:a}}function T0e(e,t,o,r){let n=t.borderSkipped,a={};if(!n){e.borderSkipped=a;return}if(n===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:s,end:i,reverse:l,top:c,bottom:u}=w0e(e);n==="middle"&&o&&(e.enableBorderRadius=!0,(o._top||0)===r?n=c:(o._bottom||0)===r?n=u:(a[z$(u,s,i,l)]=!0,n=c)),a[z$(n,s,i,l)]=!0,e.borderSkipped=a}function z$(e,t,o,r){return r?(e=A0e(e,t,o),e=W$(e,o,t)):e=W$(e,t,o),e}function A0e(e,t,o){return e===t?o:e===o?t:e}function W$(e,t,o){return e==="start"?t:e==="end"?o:e}function k0e(e,{inflateAmount:t},o){e.inflateAmount=t==="auto"?o===1?.33:0:t}var pf=class extends df{parsePrimitiveData(t,o,r,n){return N$(t,o,r,n)}parseArrayData(t,o,r,n){return N$(t,o,r,n)}parseObjectData(t,o,r,n){let{iScale:a,vScale:s}=t,{xAxisKey:i="x",yAxisKey:l="y"}=this._parsing,c=a.axis==="x"?i:l,u=s.axis==="x"?i:l,m=[],f,d,p,h;for(f=r,d=r+n;f<d;++f)h=o[f],p={},p[a.axis]=a.parse(af(h,c),f),m.push(Tq(af(h,u),p,s,f));return m}updateRangeFromParsed(t,o,r,n){super.updateRangeFromParsed(t,o,r,n);let a=r._custom;a&&o===this._cachedMeta.vScale&&(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(t){let o=this._cachedMeta,{iScale:r,vScale:n}=o,a=this.getParsed(t),s=a._custom,i=lP(s)?"["+s.start+", "+s.end+"]":""+n.getLabelForValue(a[n.axis]);return{label:""+r.getLabelForValue(a[r.axis]),value:i}}initialize(){this.enableOptionSharing=!0,super.initialize();let t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){let o=this._cachedMeta;this.updateElements(o.data,0,o.data.length,t)}updateElements(t,o,r,n){let a=n==="reset",{index:s,_cachedMeta:{vScale:i}}=this,l=i.getBasePixel(),c=i.isHorizontal(),u=this._getRuler(),{sharedOptions:m,includeOptions:f}=this._getSharedOptions(o,n);for(let d=o;d<o+r;d++){let p=this.getParsed(d),h=a||Bt(p[i.axis])?{base:l,head:l}:this._calculateBarValuePixels(d),S=this._calculateBarIndexPixels(d,u),g=(p._stacks||{})[i.axis],b={horizontal:c,base:h.base,enableBorderRadius:!g||lP(p._custom)||s===g._top||s===g._bottom,x:c?h.head:S.center,y:c?S.center:h.head,height:c?S.size:Math.abs(h.size),width:c?Math.abs(h.size):S.size};f&&(b.options=m||this.resolveDataElementOptions(d,t[d].active?"active":n));let I=b.options||t[d].options;T0e(b,I,g,s),k0e(b,I,u.ratio),this.updateElement(t[d],d,b,n)}}_getStacks(t,o){let{iScale:r}=this._cachedMeta,n=r.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),a=r.options.stacked,s=[],i=this._cachedMeta.controller.getParsed(o),l=i&&i[r.axis],c=u=>{let m=u._parsed.find(d=>d[r.axis]===l),f=m&&m[u.vScale.axis];if(Bt(f)||isNaN(f))return!0};for(let u of n)if(!(o!==void 0&&c(u))&&((a===!1||s.indexOf(u.stack)===-1||a===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let t=this.chart.scales,o=this.chart.options.indexAxis;return Object.keys(t).filter(r=>t[r].axis===o).shift()}_getAxis(){let t={},o=this.getFirstScaleIdForIndexAxis();for(let r of this.chart.data.datasets)t[wt(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,o)]=!0;return Object.keys(t)}_getStackIndex(t,o,r){let n=this._getStacks(t,r),a=o!==void 0?n.indexOf(o):-1;return a===-1?n.length-1:a}_getRuler(){let t=this.options,o=this._cachedMeta,r=o.iScale,n=[],a,s;for(a=0,s=o.data.length;a<s;++a)n.push(r.getPixelForValue(this.getParsed(a)[r.axis],a));let i=t.barThickness;return{min:i||S0e(o),pixels:n,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:i?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){let{_cachedMeta:{vScale:o,_stacked:r,index:n},options:{base:a,minBarLength:s}}=this,i=a||0,l=this.getParsed(t),c=l._custom,u=lP(c),m=l[o.axis],f=0,d=r?this.applyStack(o,l,r):m,p,h;d!==m&&(f=d-m,d=m),u&&(m=c.barStart,d=c.barEnd-c.barStart,m!==0&&ql(m)!==ql(c.barEnd)&&(f=0),f+=m);let S=!Bt(a)&&!u?a:f,g=o.getPixelForValue(S);if(this.chart.getDataVisibility(t)?p=o.getPixelForValue(f+d):p=g,h=p-g,Math.abs(h)<s){h=C0e(h,o,i)*s,m===i&&(g-=h/2);let b=o.getPixelForDecimal(0),I=o.getPixelForDecimal(1),v=Math.min(b,I),C=Math.max(b,I);g=Math.max(Math.min(g,C),v),p=g+h,r&&!u&&(l._stacks[o.axis]._visualValues[n]=o.getValueForPixel(p)-o.getValueForPixel(g))}if(g===o.getPixelForValue(i)){let b=ql(h)*o.getLineWidthForValue(i)/2;g+=b,h-=b}return{size:h,base:g,head:p,center:p+h/2}}_calculateBarIndexPixels(t,o){let r=o.scale,n=this.options,a=n.skipNull,s=wt(n.maxBarThickness,1/0),i,l,c=this._getAxisCount();if(o.grouped){let u=a?this._getStackCount(t):o.stackCount,m=n.barThickness==="flex"?I0e(t,o,n,u*c):x0e(t,o,n,u*c),f=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,d=this._getAxis().indexOf(wt(f,this.getFirstScaleIdForIndexAxis())),p=this._getStackIndex(this.index,this._cachedMeta.stack,a?t:void 0)+d;i=m.start+m.chunk*p+m.chunk/2,l=Math.min(s,m.chunk*m.ratio)}else i=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(s,o.min*o.ratio);return{base:i-l/2,head:i+l/2,center:i,size:l}}draw(){let t=this._cachedMeta,o=t.vScale,r=t.data,n=r.length,a=0;for(;a<n;++a)this.getParsed(a)[o.axis]!==null&&!r[a].hidden&&r[a].draw(this._ctx)}};ot(pf,"id","bar"),ot(pf,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),ot(pf,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function mf(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var gP=class e{constructor(t){ot(this,"options");this.options=t||{}}static override(t){Object.assign(e.prototype,t)}init(){}formats(){return mf()}parse(){return mf()}format(){return mf()}add(){return mf()}diff(){return mf()}startOf(){return mf()}endOf(){return mf()}},M0e={_date:gP};function L0e(e,t,o,r){let{controller:n,data:a,_sorted:s}=e,i=n._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(i&&t===i.axis&&t!=="r"&&s&&a.length){let c=i._reversePixels?y$:e6;if(r){if(n._sharedOptions){let u=a[0],m=typeof u.getRange=="function"&&u.getRange(t);if(m){let f=c(a,t,o-m),d=c(a,t,o+m);return{lo:f.lo,hi:d.hi}}}}else{let u=c(a,t,o);if(l){let{vScale:m}=n._cachedMeta,{_parsed:f}=e,d=f.slice(0,u.lo+1).reverse().findIndex(h=>!Bt(h[m.axis]));u.lo-=Math.max(0,d);let p=f.slice(u.hi).findIndex(h=>!Bt(h[m.axis]));u.hi+=Math.max(0,p)}return u}}return{lo:0,hi:a.length-1}}function F2(e,t,o,r,n){let a=e.getSortedVisibleDatasetMetas(),s=o[t];for(let i=0,l=a.length;i<l;++i){let{index:c,data:u}=a[i],{lo:m,hi:f}=L0e(a[i],t,s,n);for(let d=m;d<=f;++d){let p=u[d];p.skip||r(p,c,d)}}}function P0e(e){let t=e.indexOf("x")!==-1,o=e.indexOf("y")!==-1;return function(r,n){let a=t?Math.abs(r.x-n.x):0,s=o?Math.abs(r.y-n.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(s,2))}}function cP(e,t,o,r,n){let a=[];return!n&&!e.isPointInArea(t)||F2(e,o,t,function(i,l,c){!n&&!lf(i,e.chartArea,0)||i.inRange(t.x,t.y,r)&&a.push({element:i,datasetIndex:l,index:c})},!0),a}function E0e(e,t,o,r){let n=[];function a(s,i,l){let{startAngle:c,endAngle:u}=s.getProps(["startAngle","endAngle"],r),{angle:m}=p$(s,{x:t.x,y:t.y});g$(m,c,u)&&n.push({element:s,datasetIndex:i,index:l})}return F2(e,o,t,a),n}function B0e(e,t,o,r,n,a){let s=[],i=P0e(o),l=Number.POSITIVE_INFINITY;function c(u,m,f){let d=u.inRange(t.x,t.y,n);if(r&&!d)return;let p=u.getCenterPoint(n);if(!(!!a||e.isPointInArea(p))&&!d)return;let S=i(t,p);S<l?(s=[{element:u,datasetIndex:m,index:f}],l=S):S===l&&s.push({element:u,datasetIndex:m,index:f})}return F2(e,o,t,c),s}function uP(e,t,o,r,n,a){return!a&&!e.isPointInArea(t)?[]:o==="r"&&!r?E0e(e,t,o,n):B0e(e,t,o,r,n,a)}function U$(e,t,o,r,n){let a=[],s=o==="x"?"inXRange":"inYRange",i=!1;return F2(e,o,t,(l,c,u)=>{l[s]&&l[s](t[o],n)&&(a.push({element:l,datasetIndex:c,index:u}),i=i||l.inRange(t.x,t.y,n))}),r&&!i?[]:a}var D0e={evaluateInteractionItems:F2,modes:{index(e,t,o,r){let n=Iu(t,e),a=o.axis||"x",s=o.includeInvisible||!1,i=o.intersect?cP(e,n,a,r,s):uP(e,n,a,!1,r,s),l=[];return i.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{let u=i[0].index,m=c.data[u];m&&!m.skip&&l.push({element:m,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,o,r){let n=Iu(t,e),a=o.axis||"xy",s=o.includeInvisible||!1,i=o.intersect?cP(e,n,a,r,s):uP(e,n,a,!1,r,s);if(i.length>0){let l=i[0].datasetIndex,c=e.getDatasetMeta(l).data;i=[];for(let u=0;u<c.length;++u)i.push({element:c[u],datasetIndex:l,index:u})}return i},point(e,t,o,r){let n=Iu(t,e),a=o.axis||"xy",s=o.includeInvisible||!1;return cP(e,n,a,r,s)},nearest(e,t,o,r){let n=Iu(t,e),a=o.axis||"xy",s=o.includeInvisible||!1;return uP(e,n,a,o.intersect,r,s)},x(e,t,o,r){let n=Iu(t,e);return U$(e,n,"x",o.intersect,r)},y(e,t,o,r){let n=Iu(t,e);return U$(e,n,"y",o.intersect,r)}}},Aq=["left","top","right","bottom"];function k2(e,t){return e.filter(o=>o.pos===t)}function Z$(e,t){return e.filter(o=>Aq.indexOf(o.pos)===-1&&o.box.axis===t)}function M2(e,t){return e.sort((o,r)=>{let n=t?r:o,a=t?o:r;return n.weight===a.weight?n.index-a.index:n.weight-a.weight})}function R0e(e){let t=[],o,r,n,a,s,i;for(o=0,r=(e||[]).length;o<r;++o)n=e[o],{position:a,options:{stack:s,stackWeight:i=1}}=n,t.push({index:o,box:n,pos:a,horizontal:n.isHorizontal(),weight:n.weight,stack:s&&a+s,stackWeight:i});return t}function _0e(e){let t={};for(let o of e){let{stack:r,pos:n,stackWeight:a}=o;if(!r||!Aq.includes(n))continue;let s=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=a}return t}function F0e(e,t){let o=_0e(e),{vBoxMaxWidth:r,hBoxMaxHeight:n}=t,a,s,i;for(a=0,s=e.length;a<s;++a){i=e[a];let{fullSize:l}=i.box,c=o[i.stack],u=c&&i.stackWeight/c.weight;i.horizontal?(i.width=u?u*r:l&&t.availableWidth,i.height=n):(i.width=r,i.height=u?u*n:l&&t.availableHeight)}return o}function H0e(e){let t=R0e(e),o=M2(t.filter(c=>c.box.fullSize),!0),r=M2(k2(t,"left"),!0),n=M2(k2(t,"right")),a=M2(k2(t,"top"),!0),s=M2(k2(t,"bottom")),i=Z$(t,"x"),l=Z$(t,"y");return{fullSize:o,leftAndTop:r.concat(a),rightAndBottom:n.concat(l).concat(s).concat(i),chartArea:k2(t,"chartArea"),vertical:r.concat(n).concat(l),horizontal:a.concat(s).concat(i)}}function j$(e,t,o,r){return Math.max(e[o],t[o])+Math.max(e[r],t[r])}function kq(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function O0e(e,t,o,r){let{pos:n,box:a}=o,s=e.maxPadding;if(!Tt(n)){o.size&&(e[n]-=o.size);let m=r[o.stack]||{size:0,count:1};m.size=Math.max(m.size,o.horizontal?a.height:a.width),o.size=m.size/m.count,e[n]+=o.size}a.getPadding&&kq(s,a.getPadding());let i=Math.max(0,t.outerWidth-j$(s,e,"left","right")),l=Math.max(0,t.outerHeight-j$(s,e,"top","bottom")),c=i!==e.w,u=l!==e.h;return e.w=i,e.h=l,o.horizontal?{same:c,other:u}:{same:u,other:c}}function V0e(e){let t=e.maxPadding;function o(r){let n=Math.max(t[r]-e[r],0);return e[r]+=n,n}e.y+=o("top"),e.x+=o("left"),o("right"),o("bottom")}function N0e(e,t){let o=t.maxPadding;function r(n){let a={left:0,top:0,right:0,bottom:0};return n.forEach(s=>{a[s]=Math.max(t[s],o[s])}),a}return r(e?["left","right"]:["top","bottom"])}function E2(e,t,o,r){let n=[],a,s,i,l,c,u;for(a=0,s=e.length,c=0;a<s;++a){i=e[a],l=i.box,l.update(i.width||t.w,i.height||t.h,N0e(i.horizontal,t));let{same:m,other:f}=O0e(t,o,i,r);c|=m&&n.length,u=u||f,l.fullSize||n.push(i)}return c&&E2(n,t,o,r)||u}function c6(e,t,o,r,n){e.top=o,e.left=t,e.right=t+r,e.bottom=o+n,e.width=r,e.height=n}function G$(e,t,o,r){let n=o.padding,{x:a,y:s}=t;for(let i of e){let l=i.box,c=r[i.stack]||{count:1,placed:0,weight:1},u=i.stackWeight/c.weight||1;if(i.horizontal){let m=t.w*u,f=c.size||l.height;M0(c.start)&&(s=c.start),l.fullSize?c6(l,n.left,s,o.outerWidth-n.right-n.left,f):c6(l,t.left+c.placed,s,m,f),c.start=s,c.placed+=m,s=l.bottom}else{let m=t.h*u,f=c.size||l.width;M0(c.start)&&(a=c.start),l.fullSize?c6(l,a,n.top,f,o.outerHeight-n.bottom-n.top):c6(l,a,t.top+c.placed,f,m),c.start=a,c.placed+=m,a=l.right}}t.x=a,t.y=s}var vu={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(o){t.draw(o)}}]},e.boxes.push(t)},removeBox(e,t){let o=e.boxes?e.boxes.indexOf(t):-1;o!==-1&&e.boxes.splice(o,1)},configure(e,t,o){t.fullSize=o.fullSize,t.position=o.position,t.weight=o.weight},update(e,t,o,r){if(!e)return;let n=Bn(e.options.layout.padding),a=Math.max(t-n.width,0),s=Math.max(o-n.height,0),i=H0e(e.boxes),l=i.vertical,c=i.horizontal;Dt(e.boxes,h=>{typeof h.beforeLayout=="function"&&h.beforeLayout()});let u=l.reduce((h,S)=>S.box.options&&S.box.options.display===!1?h:h+1,0)||1,m=Object.freeze({outerWidth:t,outerHeight:o,padding:n,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/u,hBoxMaxHeight:s/2}),f=Object.assign({},n);kq(f,Bn(r));let d=Object.assign({maxPadding:f,w:a,h:s,x:n.left,y:n.top},n),p=F0e(l.concat(c),m);E2(i.fullSize,d,m,p),E2(l,d,m,p),E2(c,d,m,p)&&E2(l,d,m,p),V0e(d),G$(i.leftAndTop,d,m,p),d.x+=d.w,d.y+=d.h,G$(i.rightAndBottom,d,m,p),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},Dt(i.chartArea,h=>{let S=h.box;Object.assign(S,e.chartArea),S.update(d.w,d.h,{left:0,top:0,right:0,bottom:0})})}},S6=class{acquireContext(t,o){}releaseContext(t){return!1}addEventListener(t,o,r){}removeEventListener(t,o,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,o,r,n){return o=Math.max(0,o||t.width),r=r||t.height,{width:o,height:Math.max(0,n?Math.floor(o/n):r)}}isAttached(t){return!0}updateConfig(t){}},bP=class extends S6{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}},g6="$chartjs",z0e={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},$$=e=>e===null||e==="";function W0e(e,t){let o=e.style,r=e.getAttribute("height"),n=e.getAttribute("width");if(e[g6]={initial:{height:r,width:n,style:{display:o.display,height:o.height,width:o.width}}},o.display=o.display||"block",o.boxSizing=o.boxSizing||"border-box",$$(n)){let a=oP(e,"width");a!==void 0&&(e.width=a)}if($$(r))if(e.style.height==="")e.height=e.width/(t||2);else{let a=oP(e,"height");a!==void 0&&(e.height=a)}return e}var Mq=B$?{passive:!0}:!1;function U0e(e,t,o){e&&e.addEventListener(t,o,Mq)}function Z0e(e,t,o){e&&e.canvas&&e.canvas.removeEventListener(t,o,Mq)}function j0e(e,t){let o=z0e[e.type]||e.type,{x:r,y:n}=Iu(e,t);return{type:o,chart:t,native:e,x:r!==void 0?r:null,y:n!==void 0?n:null}}function x6(e,t){for(let o of e)if(o===t||o.contains(t))return!0}function G0e(e,t,o){let r=e.canvas,n=new MutationObserver(a=>{let s=!1;for(let i of a)s=s||x6(i.addedNodes,r),s=s&&!x6(i.removedNodes,r);s&&o()});return n.observe(document,{childList:!0,subtree:!0}),n}function $0e(e,t,o){let r=e.canvas,n=new MutationObserver(a=>{let s=!1;for(let i of a)s=s||x6(i.removedNodes,r),s=s&&!x6(i.addedNodes,r);s&&o()});return n.observe(document,{childList:!0,subtree:!0}),n}var R2=new Map,q$=0;function Lq(){let e=window.devicePixelRatio;e!==q$&&(q$=e,R2.forEach((t,o)=>{o.currentDevicePixelRatio!==e&&t()}))}function q0e(e,t){R2.size||window.addEventListener("resize",Lq),R2.set(e,t)}function X0e(e){R2.delete(e),R2.size||window.removeEventListener("resize",Lq)}function Y0e(e,t,o){let r=e.canvas,n=r&&i6(r);if(!n)return;let a=ZL((i,l)=>{let c=n.clientWidth;o(i,l),c<n.clientWidth&&o()},window),s=new ResizeObserver(i=>{let l=i[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||a(c,u)});return s.observe(n),q0e(e,a),s}function mP(e,t,o){o&&o.disconnect(),t==="resize"&&X0e(e)}function K0e(e,t,o){let r=e.canvas,n=ZL(a=>{e.ctx!==null&&o(j0e(a,e))},e);return U0e(r,t,n),n}var yP=class extends S6{acquireContext(t,o){let r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(W0e(t,o),r):null}releaseContext(t){let o=t.canvas;if(!o[g6])return!1;let r=o[g6].initial;["height","width"].forEach(a=>{let s=r[a];Bt(s)?o.removeAttribute(a):o.setAttribute(a,s)});let n=r.style||{};return Object.keys(n).forEach(a=>{o.style[a]=n[a]}),o.width=o.width,delete o[g6],!0}addEventListener(t,o,r){this.removeEventListener(t,o);let n=t.$proxies||(t.$proxies={}),s={attach:G0e,detach:$0e,resize:Y0e}[o]||K0e;n[o]=s(t,o,r)}removeEventListener(t,o){let r=t.$proxies||(t.$proxies={}),n=r[o];if(!n)return;({attach:mP,detach:mP,resize:mP}[o]||Z0e)(t,o,n),r[o]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,o,r,n){return E$(t,o,r,n)}isAttached(t){let o=t&&i6(t);return!!(o&&o.isConnected)}};function Q0e(e){return!s6()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?bP:yP}var Ql=class{constructor(){ot(this,"x");ot(this,"y");ot(this,"active",!1);ot(this,"options");ot(this,"$animations")}tooltipPosition(t){let{x:o,y:r}=this.getProps(["x","y"],t);return{x:o,y:r}}hasValue(){return C2(this.x)&&C2(this.y)}getProps(t,o){let r=this.$animations;if(!o||!r)return this;let n={};return t.forEach(a=>{n[a]=r[a]&&r[a].active()?r[a]._to:this[a]}),n}};ot(Ql,"defaults",{}),ot(Ql,"defaultRoutes");function J0e(e,t){let o=e.options.ticks,r=ehe(e),n=Math.min(o.maxTicksLimit||r,r),a=o.major.enabled?ohe(t):[],s=a.length,i=a[0],l=a[s-1],c=[];if(s>n)return rhe(t,c,a,s/n),c;let u=the(a,t,n);if(s>0){let m,f,d=s>1?Math.round((l-i)/(s-1)):null;for(u6(t,c,u,Bt(d)?0:i-d,i),m=0,f=s-1;m<f;m++)u6(t,c,u,a[m],a[m+1]);return u6(t,c,u,l,Bt(d)?t.length:l+d),c}return u6(t,c,u),c}function ehe(e){let t=e.options.offset,o=e._tickSize(),r=e._length/o+(t?0:1),n=e._maxLength/o;return Math.floor(Math.min(r,n))}function the(e,t,o){let r=nhe(e),n=t.length/o;if(!r)return Math.max(n,1);let a=f$(r);for(let s=0,i=a.length-1;s<i;s++){let l=a[s];if(l>n)return l}return Math.max(n,1)}function ohe(e){let t=[],o,r;for(o=0,r=e.length;o<r;o++)e[o].major&&t.push(o);return t}function rhe(e,t,o,r){let n=0,a=o[0],s;for(r=Math.ceil(r),s=0;s<e.length;s++)s===a&&(t.push(e[s]),n++,a=o[n*r])}function u6(e,t,o,r,n){let a=wt(r,0),s=Math.min(wt(n,e.length),e.length),i=0,l,c,u;for(o=Math.ceil(o),n&&(l=n-r,o=l/Math.floor(l/o)),u=a;u<0;)i++,u=Math.round(a+i*o);for(c=Math.max(a,0);c<s;c++)c===u&&(t.push(e[c]),i++,u=Math.round(a+i*o))}function nhe(e){let t=e.length,o,r;if(t<2)return!1;for(r=e[0],o=1;o<t;++o)if(e[o]-e[o-1]!==r)return!1;return r}var ahe=e=>e==="left"?"right":e==="right"?"left":e,X$=(e,t,o)=>t==="top"||t==="left"?e[t]+o:e[t]-o,Y$=(e,t)=>Math.min(t||e,e);function K$(e,t){let o=[],r=e.length/t,n=e.length,a=0;for(;a<n;a+=r)o.push(e[Math.floor(a)]);return o}function she(e,t,o){let r=e.ticks.length,n=Math.min(t,r-1),a=e._startPixel,s=e._endPixel,i=1e-6,l=e.getPixelForTick(n),c;if(!(o&&(r===1?c=Math.max(l-a,s-l):t===0?c=(e.getPixelForTick(1)-l)/2:c=(l-e.getPixelForTick(n-1))/2,l+=n<t?c:-c,l<a-i||l>s+i)))return l}function ihe(e,t){Dt(e,o=>{let r=o.gc,n=r.length/2,a;if(n>t){for(a=0;a<n;++a)delete o.data[r[a]];r.splice(0,n)}})}function L2(e){return e.drawTicks?e.tickLength:0}function Q$(e,t){if(!e.display)return 0;let o=cn(e.font,t),r=Bn(e.padding);return(ho(e.text)?e.text.length:1)*o.lineHeight+r.height}function lhe(e,t){return xu(e,{scale:t,type:"scale"})}function che(e,t,o){return xu(e,{tick:o,index:t,type:"tick"})}function uhe(e,t,o){let r=jL(e);return(o&&t!=="right"||!o&&t==="right")&&(r=ahe(r)),r}function mhe(e,t,o,r){let{top:n,left:a,bottom:s,right:i,chart:l}=e,{chartArea:c,scales:u}=l,m=0,f,d,p,h=s-n,S=i-a;if(e.isHorizontal()){if(d=ba(r,a,i),Tt(o)){let g=Object.keys(o)[0],b=o[g];p=u[g].getPixelForValue(b)+h-t}else o==="center"?p=(c.bottom+c.top)/2+h-t:p=X$(e,o,t);f=i-a}else{if(Tt(o)){let g=Object.keys(o)[0],b=o[g];d=u[g].getPixelForValue(b)-S+t}else o==="center"?d=(c.left+c.right)/2-S+t:d=X$(e,o,t);p=ba(r,s,n),m=o==="left"?-ha:ha}return{titleX:d,titleY:p,maxWidth:f,rotation:m}}var hf=class e extends Ql{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,o){return t}getUserBounds(){let{_userMin:t,_userMax:o,_suggestedMin:r,_suggestedMax:n}=this;return t=ga(t,Number.POSITIVE_INFINITY),o=ga(o,Number.NEGATIVE_INFINITY),r=ga(r,Number.POSITIVE_INFINITY),n=ga(n,Number.NEGATIVE_INFINITY),{min:ga(t,r),max:ga(o,n),minDefined:Kr(t),maxDefined:Kr(o)}}getMinMax(t){let{min:o,max:r,minDefined:n,maxDefined:a}=this.getUserBounds(),s;if(n&&a)return{min:o,max:r};let i=this.getMatchingVisibleMetas();for(let l=0,c=i.length;l<c;++l)s=i[l].controller.getMinMax(this,t),n||(o=Math.min(o,s.min)),a||(r=Math.max(r,s.max));return o=a&&o>r?r:o,r=n&&o>r?o:r,{min:ga(o,ga(r,o)),max:ga(r,ga(o,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Gt(this.options.beforeUpdate,[this])}update(t,o,r){let{beginAtZero:n,grace:a,ticks:s}=this.options,i=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=o,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=k$(this,a,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=i<this.ticks.length;this._convertTicksToLabels(l?K$(this.ticks,i):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=J0e(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,o,r;this.isHorizontal()?(o=this.left,r=this.right):(o=this.top,r=this.bottom,t=!t),this._startPixel=o,this._endPixel=r,this._reversePixels=t,this._length=r-o,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Gt(this.options.afterUpdate,[this])}beforeSetDimensions(){Gt(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Gt(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Gt(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Gt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){let o=this.options.ticks,r,n,a;for(r=0,n=t.length;r<n;r++)a=t[r],a.label=Gt(o.callback,[a.value,r,t],this)}afterTickToLabelConversion(){Gt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Gt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let t=this.options,o=t.ticks,r=Y$(this.ticks.length,t.ticks.maxTicksLimit),n=o.minRotation||0,a=o.maxRotation,s=n,i,l,c;if(!this._isVisible()||!o.display||n>=a||r<=1||!this.isHorizontal()){this.labelRotation=n;return}let u=this._getLabelSizes(),m=u.widest.width,f=u.highest.height,d=As(this.chart.width-m,0,this.maxWidth);i=t.offset?this.maxWidth/r:d/(r-1),m+6>i&&(i=d/(r-(t.offset?.5:1)),l=this.maxHeight-L2(t.grid)-o.padding-Q$(t.title,this.chart.options.font),c=Math.sqrt(m*m+f*f),s=Q8(Math.min(Math.asin(As((u.highest.height+6)/i,-1,1)),Math.asin(As(l/c,-1,1))-Math.asin(As(f/c,-1,1)))),s=Math.max(n,Math.min(a,s))),this.labelRotation=s}afterCalculateLabelRotation(){Gt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Gt(this.options.beforeFit,[this])}fit(){let t={width:0,height:0},{chart:o,options:{ticks:r,title:n,grid:a}}=this,s=this._isVisible(),i=this.isHorizontal();if(s){let l=Q$(n,o.options.font);if(i?(t.width=this.maxWidth,t.height=L2(a)+l):(t.height=this.maxHeight,t.width=L2(a)+l),r.display&&this.ticks.length){let{first:c,last:u,widest:m,highest:f}=this._getLabelSizes(),d=r.padding*2,p=Xl(this.labelRotation),h=Math.cos(p),S=Math.sin(p);if(i){let g=r.mirror?0:S*m.width+h*f.height;t.height=Math.min(this.maxHeight,t.height+g+d)}else{let g=r.mirror?0:h*m.width+S*f.height;t.width=Math.min(this.maxWidth,t.width+g+d)}this._calculatePadding(c,u,S,h)}}this._handleMargins(),i?(this.width=this._length=o.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=o.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,o,r,n){let{ticks:{align:a,padding:s},position:i}=this.options,l=this.labelRotation!==0,c=i!=="top"&&this.axis==="x";if(this.isHorizontal()){let u=this.getPixelForTick(0)-this.left,m=this.right-this.getPixelForTick(this.ticks.length-1),f=0,d=0;l?c?(f=n*t.width,d=r*o.height):(f=r*t.height,d=n*o.width):a==="start"?d=o.width:a==="end"?f=t.width:a!=="inner"&&(f=t.width/2,d=o.width/2),this.paddingLeft=Math.max((f-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((d-m+s)*this.width/(this.width-m),0)}else{let u=o.height/2,m=t.height/2;a==="start"?(u=0,m=t.height):a==="end"&&(u=o.height,m=0),this.paddingTop=u+s,this.paddingBottom=m+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Gt(this.options.afterFit,[this])}isHorizontal(){let{axis:t,position:o}=this.options;return o==="top"||o==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let o,r;for(o=0,r=t.length;o<r;o++)Bt(t[o].label)&&(t.splice(o,1),r--,o--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){let o=this.options.ticks.sampleSize,r=this.ticks;o<r.length&&(r=K$(r,o)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,o,r){let{ctx:n,_longestTextCache:a}=this,s=[],i=[],l=Math.floor(o/Y$(o,r)),c=0,u=0,m,f,d,p,h,S,g,b,I,v,C;for(m=0;m<o;m+=l){if(p=t[m].label,h=this._resolveTickFontOptions(m),n.font=S=h.string,g=a[S]=a[S]||{data:{},gc:[]},b=h.lineHeight,I=v=0,!Bt(p)&&!ho(p))I=x2(n,g.data,g.gc,I,p),v=b;else if(ho(p))for(f=0,d=p.length;f<d;++f)C=p[f],!Bt(C)&&!ho(C)&&(I=x2(n,g.data,g.gc,I,C),v+=b);s.push(I),i.push(v),c=Math.max(I,c),u=Math.max(v,u)}ihe(a,o);let T=s.indexOf(c),w=i.indexOf(u),P=k=>({width:s[k]||0,height:i[k]||0});return{first:P(0),last:P(o-1),widest:P(T),highest:P(w),widths:s,heights:i}}getLabelForValue(t){return t}getPixelForValue(t,o){return NaN}getValueForPixel(t){}getPixelForTick(t){let o=this.ticks;return t<0||t>o.length-1?null:this.getPixelForValue(o[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);let o=this._startPixel+t*this._length;return b$(this._alignToPixels?yu(this.chart,o,0):o)}getDecimalForPixel(t){let o=(t-this._startPixel)/this._length;return this._reversePixels?1-o:o}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:t,max:o}=this;return t<0&&o<0?o:t>0&&o>0?t:0}getContext(t){let o=this.ticks||[];if(t>=0&&t<o.length){let r=o[t];return r.$context||(r.$context=che(this.getContext(),t,r))}return this.$context||(this.$context=lhe(this.chart.getContext(),this))}_tickSize(){let t=this.options.ticks,o=Xl(this.labelRotation),r=Math.abs(Math.cos(o)),n=Math.abs(Math.sin(o)),a=this._getLabelSizes(),s=t.autoSkipPadding||0,i=a?a.widest.width+s:0,l=a?a.highest.height+s:0;return this.isHorizontal()?l*r>i*n?i/r:l/n:l*n<i*r?l/r:i/n}_isVisible(){let t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){let o=this.axis,r=this.chart,n=this.options,{grid:a,position:s,border:i}=n,l=a.offset,c=this.isHorizontal(),m=this.ticks.length+(l?1:0),f=L2(a),d=[],p=i.setContext(this.getContext()),h=p.display?p.width:0,S=h/2,g=function(re){return yu(r,re,h)},b,I,v,C,T,w,P,k,D,H,j,se;if(s==="top")b=g(this.bottom),w=this.bottom-f,k=b-S,H=g(t.top)+S,se=t.bottom;else if(s==="bottom")b=g(this.top),H=t.top,se=g(t.bottom)-S,w=b+S,k=this.top+f;else if(s==="left")b=g(this.right),T=this.right-f,P=b-S,D=g(t.left)+S,j=t.right;else if(s==="right")b=g(this.left),D=t.left,j=g(t.right)-S,T=b+S,P=this.left+f;else if(o==="x"){if(s==="center")b=g((t.top+t.bottom)/2+.5);else if(Tt(s)){let re=Object.keys(s)[0],W=s[re];b=g(this.chart.scales[re].getPixelForValue(W))}H=t.top,se=t.bottom,w=b+S,k=w+f}else if(o==="y"){if(s==="center")b=g((t.left+t.right)/2);else if(Tt(s)){let re=Object.keys(s)[0],W=s[re];b=g(this.chart.scales[re].getPixelForValue(W))}T=b-S,P=T-f,D=t.left,j=t.right}let X=wt(n.ticks.maxTicksLimit,m),le=Math.max(1,Math.ceil(m/X));for(I=0;I<m;I+=le){let re=this.getContext(I),W=a.setContext(re),de=i.setContext(re),q=W.lineWidth,me=W.color,he=de.dash||[],pe=de.dashOffset,Y=W.tickWidth,ee=W.tickColor,J=W.tickBorderDash||[],ge=W.tickBorderDashOffset;v=she(this,I,l),v!==void 0&&(C=yu(r,v,q),c?T=P=D=j=C:w=k=H=se=C,d.push({tx1:T,ty1:w,tx2:P,ty2:k,x1:D,y1:H,x2:j,y2:se,width:q,color:me,borderDash:he,borderDashOffset:pe,tickWidth:Y,tickColor:ee,tickBorderDash:J,tickBorderDashOffset:ge}))}return this._ticksLength=m,this._borderValue=b,d}_computeLabelItems(t){let o=this.axis,r=this.options,{position:n,ticks:a}=r,s=this.isHorizontal(),i=this.ticks,{align:l,crossAlign:c,padding:u,mirror:m}=a,f=L2(r.grid),d=f+u,p=m?-u:d,h=-Xl(this.labelRotation),S=[],g,b,I,v,C,T,w,P,k,D,H,j,se="middle";if(n==="top")T=this.bottom-p,w=this._getXAxisLabelAlignment();else if(n==="bottom")T=this.top+p,w=this._getXAxisLabelAlignment();else if(n==="left"){let le=this._getYAxisLabelAlignment(f);w=le.textAlign,C=le.x}else if(n==="right"){let le=this._getYAxisLabelAlignment(f);w=le.textAlign,C=le.x}else if(o==="x"){if(n==="center")T=(t.top+t.bottom)/2+d;else if(Tt(n)){let le=Object.keys(n)[0],re=n[le];T=this.chart.scales[le].getPixelForValue(re)+d}w=this._getXAxisLabelAlignment()}else if(o==="y"){if(n==="center")C=(t.left+t.right)/2-d;else if(Tt(n)){let le=Object.keys(n)[0],re=n[le];C=this.chart.scales[le].getPixelForValue(re)}w=this._getYAxisLabelAlignment(f).textAlign}o==="y"&&(l==="start"?se="top":l==="end"&&(se="bottom"));let X=this._getLabelSizes();for(g=0,b=i.length;g<b;++g){I=i[g],v=I.label;let le=a.setContext(this.getContext(g));P=this.getPixelForTick(g)+a.labelOffset,k=this._resolveTickFontOptions(g),D=k.lineHeight,H=ho(v)?v.length:1;let re=H/2,W=le.color,de=le.textStrokeColor,q=le.textStrokeWidth,me=w;s?(C=P,w==="inner"&&(g===b-1?me=this.options.reverse?"left":"right":g===0?me=this.options.reverse?"right":"left":me="center"),n==="top"?c==="near"||h!==0?j=-H*D+D/2:c==="center"?j=-X.highest.height/2-re*D+D:j=-X.highest.height+D/2:c==="near"||h!==0?j=D/2:c==="center"?j=X.highest.height/2-re*D:j=X.highest.height-H*D,m&&(j*=-1),h!==0&&!le.showLabelBackdrop&&(C+=D/2*Math.sin(h))):(T=P,j=(1-H)*D/2);let he;if(le.showLabelBackdrop){let pe=Bn(le.backdropPadding),Y=X.heights[g],ee=X.widths[g],J=j-pe.top,ge=0-pe.left;switch(se){case"middle":J-=Y/2;break;case"bottom":J-=Y;break}switch(w){case"center":ge-=ee/2;break;case"right":ge-=ee;break;case"inner":g===b-1?ge-=ee:g>0&&(ge-=ee/2);break}he={left:ge,top:J,width:ee+pe.width,height:Y+pe.height,color:le.backdropColor}}S.push({label:v,font:k,textOffset:j,options:{rotation:h,color:W,strokeColor:de,strokeWidth:q,textAlign:me,textBaseline:se,translation:[C,T],backdrop:he}})}return S}_getXAxisLabelAlignment(){let{position:t,ticks:o}=this.options;if(-Xl(this.labelRotation))return t==="top"?"left":"right";let n="center";return o.align==="start"?n="left":o.align==="end"?n="right":o.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(t){let{position:o,ticks:{crossAlign:r,mirror:n,padding:a}}=this.options,s=this._getLabelSizes(),i=t+a,l=s.widest.width,c,u;return o==="left"?n?(u=this.right+a,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-i,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u=this.left)):o==="right"?n?(u=this.left+a,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+i,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;let t=this.chart,o=this.options.position;if(o==="left"||o==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(o==="top"||o==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){let{ctx:t,options:{backgroundColor:o},left:r,top:n,width:a,height:s}=this;o&&(t.save(),t.fillStyle=o,t.fillRect(r,n,a,s),t.restore())}getLineWidthForValue(t){let o=this.options.grid;if(!this._isVisible()||!o.display)return 0;let n=this.ticks.findIndex(a=>a.value===t);return n>=0?o.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){let o=this.options.grid,r=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t)),a,s,i=(l,c,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(o.display)for(a=0,s=n.length;a<s;++a){let l=n[a];o.drawOnChartArea&&i({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),o.drawTicks&&i({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){let{chart:t,ctx:o,options:{border:r,grid:n}}=this,a=r.setContext(this.getContext()),s=r.display?a.width:0;if(!s)return;let i=n.setContext(this.getContext(0)).lineWidth,l=this._borderValue,c,u,m,f;this.isHorizontal()?(c=yu(t,this.left,s)-s/2,u=yu(t,this.right,i)+i/2,m=f=l):(m=yu(t,this.top,s)-s/2,f=yu(t,this.bottom,i)+i/2,c=u=l),o.save(),o.lineWidth=a.width,o.strokeStyle=a.color,o.beginPath(),o.moveTo(c,m),o.lineTo(u,f),o.stroke(),o.restore()}drawLabels(t){if(!this.options.ticks.display)return;let r=this.ctx,n=this._computeLabelArea();n&&r6(r,n);let a=this.getLabelItems(t);for(let s of a){let i=s.options,l=s.font,c=s.label,u=s.textOffset;cf(r,c,0,u,l,i)}n&&n6(r)}drawTitle(){let{ctx:t,options:{position:o,title:r,reverse:n}}=this;if(!r.display)return;let a=cn(r.font),s=Bn(r.padding),i=r.align,l=a.lineHeight/2;o==="bottom"||o==="center"||Tt(o)?(l+=s.bottom,ho(r.text)&&(l+=a.lineHeight*(r.text.length-1))):l+=s.top;let{titleX:c,titleY:u,maxWidth:m,rotation:f}=mhe(this,l,o,i);cf(t,r.text,0,0,a,{color:r.color,maxWidth:m,rotation:f,textAlign:uhe(i,o,n),textBaseline:"middle",translation:[c,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){let t=this.options,o=t.ticks&&t.ticks.z||0,r=wt(t.grid&&t.grid.z,-1),n=wt(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==e.prototype.draw?[{z:o,draw:a=>{this.draw(a)}}]:[{z:r,draw:a=>{this.drawBackground(),this.drawGrid(a),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:o,draw:a=>{this.drawLabels(a)}}]}getMatchingVisibleMetas(t){let o=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",n=[],a,s;for(a=0,s=o.length;a<s;++a){let i=o[a];i[r]===this.id&&(!t||i.type===t)&&n.push(i)}return n}_resolveTickFontOptions(t){let o=this.options.ticks.setContext(this.getContext(t));return cn(o.font)}_maxDigits(){let t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}},E0=class{constructor(t,o,r){this.type=t,this.scope=o,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){let o=Object.getPrototypeOf(t),r;phe(o)&&(r=this.register(o));let n=this.items,a=t.id,s=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+t);return a in n||(n[a]=t,fhe(t,s,r),this.override&&So.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){let o=this.items,r=t.id,n=this.scope;r in o&&delete o[r],n&&r in So[n]&&(delete So[n][r],this.override&&delete bu[r])}};function fhe(e,t,o){let r=A0(Object.create(null),[o?So.get(o):{},So.get(t),e.defaults]);So.set(t,r),e.defaultRoutes&&dhe(t,e.defaultRoutes),e.descriptors&&So.describe(t,e.descriptors)}function dhe(e,t){Object.keys(t).forEach(o=>{let r=o.split("."),n=r.pop(),a=[e].concat(r).join("."),s=t[o].split("."),i=s.pop(),l=s.join(".");So.route(a,n,l,i)})}function phe(e){return"id"in e&&"defaults"in e}var SP=class{constructor(){this.controllers=new E0(df,"datasets",!0),this.elements=new E0(Ql,"elements"),this.plugins=new E0(Object,"plugins"),this.scales=new E0(hf,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,o,r){[...o].forEach(n=>{let a=r||this._getRegistryForType(n);r||a.isForType(n)||a===this.plugins&&n.id?this._exec(t,a,n):Dt(n,s=>{let i=r||this._getRegistryForType(s);this._exec(t,i,s)})})}_exec(t,o,r){let n=K8(t);Gt(r["before"+n],[],r),o[t](r),Gt(r["after"+n],[],r)}_getRegistryForType(t){for(let o=0;o<this._typedRegistries.length;o++){let r=this._typedRegistries[o];if(r.isForType(t))return r}return this.plugins}_get(t,o,r){let n=o.get(t);if(n===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return n}},Fi=new SP,xP=class{constructor(){this._init=void 0}notify(t,o,r,n){if(o==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;let a=n?this._descriptors(t).filter(n):this._descriptors(t),s=this._notify(a,t,o,r);return o==="afterDestroy"&&(this._notify(a,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),s}_notify(t,o,r,n){n=n||{};for(let a of t){let s=a.plugin,i=s[r],l=[o,n,a.options];if(Gt(i,l,s)===!1&&n.cancelable)return!1}return!0}invalidate(){Bt(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;let o=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),o}_createDescriptors(t,o){let r=t&&t.config,n=wt(r.options&&r.options.plugins,{}),a=hhe(r);return n===!1&&!o?[]:bhe(t,a,n,o)}_notifyStateChanges(t){let o=this._oldCache||[],r=this._cache,n=(a,s)=>a.filter(i=>!s.some(l=>i.plugin.id===l.plugin.id));this._notify(n(o,r),t,"stop"),this._notify(n(r,o),t,"start")}};function hhe(e){let t={},o=[],r=Object.keys(Fi.plugins.items);for(let a=0;a<r.length;a++)o.push(Fi.getPlugin(r[a]));let n=e.plugins||[];for(let a=0;a<n.length;a++){let s=n[a];o.indexOf(s)===-1&&(o.push(s),t[s.id]=!0)}return{plugins:o,localIds:t}}function ghe(e,t){return!t&&e===!1?null:e===!0?{}:e}function bhe(e,{plugins:t,localIds:o},r,n){let a=[],s=e.getContext();for(let i of t){let l=i.id,c=ghe(r[l],n);c!==null&&a.push({plugin:i,options:yhe(e.config,{plugin:i,local:o[l]},c,s)})}return a}function yhe(e,{plugin:t,local:o},r,n){let a=e.pluginScopeKeys(t),s=e.getOptionScopes(r,a);return o&&t.defaults&&s.push(t.defaults),e.createResolver(s,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function IP(e,t){let o=So.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||o.indexAxis||"x"}function She(e,t){let o=e;return e==="_index_"?o=t:e==="_value_"&&(o=t==="x"?"y":"x"),o}function xhe(e,t){return e===t?"_index_":"_value_"}function J$(e){if(e==="x"||e==="y"||e==="r")return e}function Ihe(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function vP(e,...t){if(J$(e))return e;for(let o of t){let r=o.axis||Ihe(o.position)||e.length>1&&J$(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function eq(e,t,o){if(o[t+"AxisID"]===e)return{axis:t}}function vhe(e,t){if(t.data&&t.data.datasets){let o=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(o.length)return eq(e,"x",o[0])||eq(e,"y",o[0])}return{}}function Che(e,t){let o=bu[e.type]||{scales:{}},r=t.scales||{},n=IP(e.type,t),a=Object.create(null);return Object.keys(r).forEach(s=>{let i=r[s];if(!Tt(i))return console.error(`Invalid scale configuration for scale: ${s}`);if(i._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);let l=vP(s,i,vhe(s,e),So.scales[i.type]),c=xhe(l,n),u=o.scales||{};a[s]=k0(Object.create(null),[{axis:l},i,u[l],u[c]])}),e.data.datasets.forEach(s=>{let i=s.type||e.type,l=s.indexAxis||IP(i,t),u=(bu[i]||{}).scales||{};Object.keys(u).forEach(m=>{let f=She(m,l),d=s[f+"AxisID"]||f;a[d]=a[d]||Object.create(null),k0(a[d],[{axis:f},r[d],u[m]])})}),Object.keys(a).forEach(s=>{let i=a[s];k0(i,[So.scales[i.type],So.scale])}),a}function Pq(e){let t=e.options||(e.options={});t.plugins=wt(t.plugins,{}),t.scales=Che(e,t)}function Eq(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function whe(e){return e=e||{},e.data=Eq(e.data),Pq(e),e}var tq=new Map,Bq=new Set;function m6(e,t){let o=tq.get(e);return o||(o=t(),tq.set(e,o),Bq.add(o)),o}var P2=(e,t,o)=>{let r=af(t,o);r!==void 0&&e.add(r)},CP=class{constructor(t){this._config=whe(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Eq(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){let t=this._config;this.clearCache(),Pq(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return m6(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,o){return m6(`${t}.transition.${o}`,()=>[[`datasets.${t}.transitions.${o}`,`transitions.${o}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,o){return m6(`${t}-${o}`,()=>[[`datasets.${t}.elements.${o}`,`datasets.${t}`,`elements.${o}`,""]])}pluginScopeKeys(t){let o=t.id,r=this.type;return m6(`${r}-plugin-${o}`,()=>[[`plugins.${o}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,o){let r=this._scopeCache,n=r.get(t);return(!n||o)&&(n=new Map,r.set(t,n)),n}getOptionScopes(t,o,r){let{options:n,type:a}=this,s=this._cachedScopes(t,r),i=s.get(o);if(i)return i;let l=new Set;o.forEach(u=>{t&&(l.add(t),u.forEach(m=>P2(l,t,m))),u.forEach(m=>P2(l,n,m)),u.forEach(m=>P2(l,bu[a]||{},m)),u.forEach(m=>P2(l,So,m)),u.forEach(m=>P2(l,o6,m))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Bq.has(o)&&s.set(o,c),c}chartOptionScopes(){let{options:t,type:o}=this;return[t,bu[o]||{},So.datasets[o]||{},{type:o},So,o6]}resolveNamedOptions(t,o,r,n=[""]){let a={$shared:!0},{resolver:s,subPrefixes:i}=oq(this._resolverCache,t,n),l=s;if(Ahe(s,o)){a.$shared=!1,r=Gl(r)?r():r;let c=this.createResolver(t,r,i);l=nf(s,r,c)}for(let c of o)a[c]=l[c];return a}createResolver(t,o,r=[""],n){let{resolver:a}=oq(this._resolverCache,t,r);return Tt(o)?nf(a,o,void 0,n):a}};function oq(e,t,o){let r=e.get(t);r||(r=new Map,e.set(t,r));let n=o.join(),a=r.get(n);return a||(a={resolver:a6(t,o),subPrefixes:o.filter(i=>!i.toLowerCase().includes("hover"))},r.set(n,a)),a}var The=e=>Tt(e)&&Object.getOwnPropertyNames(e).some(t=>Gl(e[t]));function Ahe(e,t){let{isScriptable:o,isIndexable:r}=QL(e);for(let n of t){let a=o(n),s=r(n),i=(s||a)&&e[n];if(a&&(Gl(i)||The(i))||s&&ho(i))return!0}return!1}var khe="4.5.1",Mhe=["top","bottom","left","right","chartArea"];function rq(e,t){return e==="top"||e==="bottom"||Mhe.indexOf(e)===-1&&t==="x"}function nq(e,t){return function(o,r){return o[e]===r[e]?o[t]-r[t]:o[e]-r[e]}}function aq(e){let t=e.chart,o=t.options.animation;t.notifyPlugins("afterRender"),Gt(o&&o.onComplete,[e],t)}function Lhe(e){let t=e.chart,o=t.options.animation;Gt(o&&o.onProgress,[e],t)}function Dq(e){return s6()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var b6={},sq=e=>{let t=Dq(e);return Object.values(b6).filter(o=>o.canvas===t).pop()};function Phe(e,t,o){let r=Object.keys(e);for(let n of r){let a=+n;if(a>=t){let s=e[n];delete e[n],(o>0||a>t)&&(e[a+o]=s)}}}function Ehe(e,t,o,r){return!o||e.type==="mouseout"?null:r?t:e}var un=class{static register(...t){Fi.add(...t),iq()}static unregister(...t){Fi.remove(...t),iq()}constructor(t,o){let r=this.config=new CP(o),n=Dq(t),a=sq(n);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");let s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||Q0e(n)),this.platform.updateConfig(r);let i=this.platform.acquireContext(n,s.aspectRatio),l=i&&i.canvas,c=l&&l.height,u=l&&l.width;if(this.id=l$(),this.ctx=i,this.canvas=l,this.width=u,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new xP,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=v$(m=>this.update(m),s.resizeDelay||0),this._dataChanges=[],b6[this.id]=this,!i||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Yl.listen(this,"complete",aq),Yl.listen(this,"progress",Lhe),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:o},width:r,height:n,_aspectRatio:a}=this;return Bt(t)?o&&a?a:n?r/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Fi}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():tP(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return $L(this.canvas,this.ctx),this}stop(){return Yl.stop(this),this}resize(t,o){Yl.running(this)?this._resizeBeforeDraw={width:t,height:o}:this._resize(t,o)}_resize(t,o){let r=this.options,n=this.canvas,a=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(n,t,o,a),i=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,tP(this,i,!0)&&(this.notifyPlugins("resize",{size:s}),Gt(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){let o=this.options.scales||{};Dt(o,(r,n)=>{r.id=n})}buildOrUpdateScales(){let t=this.options,o=t.scales,r=this.scales,n=Object.keys(r).reduce((s,i)=>(s[i]=!1,s),{}),a=[];o&&(a=a.concat(Object.keys(o).map(s=>{let i=o[s],l=vP(s,i),c=l==="r",u=l==="x";return{options:i,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Dt(a,s=>{let i=s.options,l=i.id,c=vP(l,i),u=wt(i.type,s.dtype);(i.position===void 0||rq(i.position,c)!==rq(s.dposition))&&(i.position=s.dposition),n[l]=!0;let m=null;if(l in r&&r[l].type===u)m=r[l];else{let f=Fi.getScale(u);m=new f({id:l,type:u,ctx:this.ctx,chart:this}),r[m.id]=m}m.init(i,t)}),Dt(n,(s,i)=>{s||delete r[i]}),Dt(r,s=>{vu.configure(this,s,s.options),vu.addBox(this,s)})}_updateMetasets(){let t=this._metasets,o=this.data.datasets.length,r=t.length;if(t.sort((n,a)=>n.index-a.index),r>o){for(let n=o;n<r;++n)this._destroyDatasetMeta(n);t.splice(o,r-o)}this._sortedMetasets=t.slice(0).sort(nq("order","index"))}_removeUnreferencedMetasets(){let{_metasets:t,data:{datasets:o}}=this;t.length>o.length&&delete this._stacks,t.forEach((r,n)=>{o.filter(a=>a===r._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let t=[],o=this.data.datasets,r,n;for(this._removeUnreferencedMetasets(),r=0,n=o.length;r<n;r++){let a=o[r],s=this.getDatasetMeta(r),i=a.type||this.config.type;if(s.type&&s.type!==i&&(this._destroyDatasetMeta(r),s=this.getDatasetMeta(r)),s.type=i,s.indexAxis=a.indexAxis||IP(i,this.options),s.order=a.order||0,s.index=r,s.label=""+a.label,s.visible=this.isDatasetVisible(r),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{let l=Fi.getController(i),{datasetElementType:c,dataElementType:u}=So.datasets[i];Object.assign(l,{dataElementType:Fi.getElement(u),datasetElementType:c&&Fi.getElement(c)}),s.controller=new l(this,r),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){Dt(this.data.datasets,(t,o)=>{this.getDatasetMeta(o).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let o=this.config;o.update();let r=this._options=o.createResolver(o.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,u=this.data.datasets.length;c<u;c++){let{controller:m}=this.getDatasetMeta(c),f=!n&&a.indexOf(m)===-1;m.buildOrUpdateElements(f),s=Math.max(+m.getMaxOverflow(),s)}s=this._minPadding=r.layout.autoPadding?s:0,this._updateLayout(s),n||Dt(a,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(nq("z","_idx"));let{_active:i,_lastEvent:l}=this;l?this._eventHandler(l,!0):i.length&&this._updateHoverStyles(i,i,!0),this.render()}_updateScales(){Dt(this.scales,t=>{vu.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,o=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!HL(o,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,o=this._getUniformDataChanges()||[];for(let{method:r,start:n,count:a}of o){let s=r==="_removeElements"?-a:a;Phe(t,n,s)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let o=this.data.datasets.length,r=a=>new Set(t.filter(s=>s[0]===a).map((s,i)=>i+","+s.splice(1).join(","))),n=r(0);for(let a=1;a<o;a++)if(!HL(n,r(a)))return;return Array.from(n).map(a=>a.split(",")).map(a=>({method:a[1],start:+a[2],count:+a[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;vu.update(this,this.width,this.height,t);let o=this.chartArea,r=o.width<=0||o.height<=0;this._layers=[],Dt(this.boxes,n=>{r&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,a)=>{n._idx=a}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let o=0,r=this.data.datasets.length;o<r;++o)this.getDatasetMeta(o).controller.configure();for(let o=0,r=this.data.datasets.length;o<r;++o)this._updateDataset(o,Gl(t)?t({datasetIndex:o}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,o){let r=this.getDatasetMeta(t),n={meta:r,index:t,mode:o,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",n)!==!1&&(r.controller._update(o),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Yl.has(this)?this.attached&&!Yl.running(this)&&Yl.start(this):(this.draw(),aq({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){let{width:r,height:n}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,n)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;let o=this._layers;for(t=0;t<o.length&&o[t].z<=0;++t)o[t].draw(this.chartArea);for(this._drawDatasets();t<o.length;++t)o[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){let o=this._sortedMetasets,r=[],n,a;for(n=0,a=o.length;n<a;++n){let s=o[n];(!t||s.visible)&&r.push(s)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;let t=this.getSortedVisibleDatasetMetas();for(let o=t.length-1;o>=0;--o)this._drawDataset(t[o]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let o=this.ctx,r={meta:t,index:t.index,cancelable:!0},n=D$(this,t);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&r6(o,n),t.controller.draw(),n&&n6(o),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return lf(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,o,r,n){let a=D0e.modes[o];return typeof a=="function"?a(this,t,r,n):[]}getDatasetMeta(t){let o=this.data.datasets[t],r=this._metasets,n=r.filter(a=>a&&a._dataset===o).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:o&&o.order||0,index:t,_dataset:o,_parsed:[],_sorted:!1},r.push(n)),n}getContext(){return this.$context||(this.$context=xu(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let o=this.data.datasets[t];if(!o)return!1;let r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!o.hidden}setDatasetVisibility(t,o){let r=this.getDatasetMeta(t);r.hidden=!o}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,o,r){let n=r?"show":"hide",a=this.getDatasetMeta(t),s=a.controller._resolveAnimations(void 0,n);M0(o)?(a.data[o].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(a,{visible:r}),this.update(i=>i.datasetIndex===t?n:void 0))}hide(t,o){this._updateVisibility(t,o,!1)}show(t,o){this._updateVisibility(t,o,!0)}_destroyDatasetMeta(t){let o=this._metasets[t];o&&o.controller&&o.controller._destroy(),delete this._metasets[t]}_stop(){let t,o;for(this.stop(),Yl.remove(this),t=0,o=this.data.datasets.length;t<o;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:t,ctx:o}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),$L(t,o),this.platform.releaseContext(o),this.canvas=null,this.ctx=null),delete b6[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let t=this._listeners,o=this.platform,r=(a,s)=>{o.addEventListener(this,a,s),t[a]=s},n=(a,s,i)=>{a.offsetX=s,a.offsetY=i,this._eventHandler(a)};Dt(this.options.events,a=>r(a,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,o=this.platform,r=(l,c)=>{o.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(o.removeEventListener(this,l,c),delete t[l])},a=(l,c)=>{this.canvas&&this.resize(l,c)},s,i=()=>{n("attach",i),this.attached=!0,this.resize(),r("resize",a),r("detach",s)};s=()=>{this.attached=!1,n("resize",a),this._stop(),this._resize(0,0),r("attach",i)},o.isAttached(this.canvas)?i():s()}unbindEvents(){Dt(this._listeners,(t,o)=>{this.platform.removeEventListener(this,o,t)}),this._listeners={},Dt(this._responsiveListeners,(t,o)=>{this.platform.removeEventListener(this,o,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,o,r){let n=r?"set":"remove",a,s,i,l;for(o==="dataset"&&(a=this.getDatasetMeta(t[0].datasetIndex),a.controller["_"+n+"DatasetHoverStyle"]()),i=0,l=t.length;i<l;++i){s=t[i];let c=s&&this.getDatasetMeta(s.datasetIndex).controller;c&&c[n+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){let o=this._active||[],r=t.map(({datasetIndex:a,index:s})=>{let i=this.getDatasetMeta(a);if(!i)throw new Error("No dataset found at index "+a);return{datasetIndex:a,element:i.data[s],index:s}});!I2(r,o)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,o))}notifyPlugins(t,o,r){return this._plugins.notify(this,t,o,r)}isPluginEnabled(t){return this._plugins._cache.filter(o=>o.plugin.id===t).length===1}_updateHoverStyles(t,o,r){let n=this.options.hover,a=(l,c)=>l.filter(u=>!c.some(m=>u.datasetIndex===m.datasetIndex&&u.index===m.index)),s=a(o,t),i=r?t:a(t,o);s.length&&this.updateHoverStyle(s,n.mode,!1),i.length&&n.mode&&this.updateHoverStyle(i,n.mode,!0)}_eventHandler(t,o){let r={event:t,replay:o,cancelable:!0,inChartArea:this.isPointInArea(t)},n=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,n)===!1)return;let a=this._handleEvent(t,o,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,n),(a||r.changed)&&this.render(),this}_handleEvent(t,o,r){let{_active:n=[],options:a}=this,s=o,i=this._getActiveElements(t,n,r,s),l=m$(t),c=Ehe(t,this._lastEvent,r,l);r&&(this._lastEvent=null,Gt(a.onHover,[t,i,this],this),l&&Gt(a.onClick,[t,i,this],this));let u=!I2(i,n);return(u||o)&&(this._active=i,this._updateHoverStyles(i,n,o)),this._lastEvent=c,u}_getActiveElements(t,o,r,n){if(t.type==="mouseout")return[];if(!r)return o;let a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,n)}};ot(un,"defaults",So),ot(un,"instances",b6),ot(un,"overrides",bu),ot(un,"registry",Fi),ot(un,"version",khe),ot(un,"getChart",sq);function iq(){return Dt(un.instances,e=>e._plugins.invalidate())}function Rq(e,t){let{x:o,y:r,base:n,width:a,height:s}=e.getProps(["x","y","base","width","height"],t),i,l,c,u,m;return e.horizontal?(m=s/2,i=Math.min(o,n),l=Math.max(o,n),c=r-m,u=r+m):(m=a/2,i=o-m,l=o+m,c=Math.min(r,n),u=Math.max(r,n)),{left:i,top:c,right:l,bottom:u}}function Cu(e,t,o,r){return e?0:As(t,o,r)}function Bhe(e,t,o){let r=e.options.borderWidth,n=e.borderSkipped,a=KL(r);return{t:Cu(n.top,a.top,0,o),r:Cu(n.right,a.right,0,t),b:Cu(n.bottom,a.bottom,0,o),l:Cu(n.left,a.left,0,t)}}function Dhe(e,t,o){let{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),n=e.options.borderRadius,a=Su(n),s=Math.min(t,o),i=e.borderSkipped,l=r||Tt(n);return{topLeft:Cu(!l||i.top||i.left,a.topLeft,0,s),topRight:Cu(!l||i.top||i.right,a.topRight,0,s),bottomLeft:Cu(!l||i.bottom||i.left,a.bottomLeft,0,s),bottomRight:Cu(!l||i.bottom||i.right,a.bottomRight,0,s)}}function Rhe(e){let t=Rq(e),o=t.right-t.left,r=t.bottom-t.top,n=Bhe(e,o/2,r/2),a=Dhe(e,o/2,r/2);return{outer:{x:t.left,y:t.top,w:o,h:r,radius:a},inner:{x:t.left+n.l,y:t.top+n.t,w:o-n.l-n.r,h:r-n.t-n.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,a.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(n.b,n.r))}}}}function fP(e,t,o,r){let n=t===null,a=o===null,i=e&&!(n&&a)&&Rq(e,r);return i&&(n||sf(t,i.left,i.right))&&(a||sf(o,i.top,i.bottom))}function _he(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function Fhe(e,t){e.rect(t.x,t.y,t.w,t.h)}function dP(e,t,o={}){let r=e.x!==o.x?-t:0,n=e.y!==o.y?-t:0,a=(e.x+e.w!==o.x+o.w?t:0)-r,s=(e.y+e.h!==o.y+o.h?t:0)-n;return{x:e.x+r,y:e.y+n,w:e.w+a,h:e.h+s,radius:e.radius}}var ti=class extends Ql{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){let{inflateAmount:o,options:{borderColor:r,backgroundColor:n}}=this,{inner:a,outer:s}=Rhe(this),i=_he(s.radius)?L0:Fhe;t.save(),(s.w!==a.w||s.h!==a.h)&&(t.beginPath(),i(t,dP(s,o,a)),t.clip(),i(t,dP(a,-o,s)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),i(t,dP(a,o)),t.fillStyle=n,t.fill(),t.restore()}inRange(t,o,r){return fP(this,t,o,r)}inXRange(t,o){return fP(this,t,null,o)}inYRange(t,o){return fP(this,null,t,o)}getCenterPoint(t){let{x:o,y:r,base:n,horizontal:a}=this.getProps(["x","y","base","horizontal"],t);return{x:a?(o+n)/2:o,y:a?r:(r+n)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}};ot(ti,"id","bar"),ot(ti,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),ot(ti,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var lq=(e,t)=>{let{boxHeight:o=t,boxWidth:r=t}=e;return e.usePointStyle&&(o=Math.min(o,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:o,itemHeight:Math.max(t,o)}},Hhe=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,I6=class extends Ql{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,o,r){this.maxWidth=t,this.maxHeight=o,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let t=this.options.labels||{},o=Gt(t.generateLabels,[this.chart],this)||[];t.filter&&(o=o.filter(r=>t.filter(r,this.chart.data))),t.sort&&(o=o.sort((r,n)=>t.sort(r,n,this.chart.data))),this.options.reverse&&o.reverse(),this.legendItems=o}fit(){let{options:t,ctx:o}=this;if(!t.display){this.width=this.height=0;return}let r=t.labels,n=cn(r.font),a=n.size,s=this._computeTitleHeight(),{boxWidth:i,itemHeight:l}=lq(r,a),c,u;o.font=n.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(s,a,i,l)+10):(u=this.maxHeight,c=this._fitCols(s,n,i,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,o,r,n){let{ctx:a,maxWidth:s,options:{labels:{padding:i}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=n+i,m=t;a.textAlign="left",a.textBaseline="middle";let f=-1,d=-u;return this.legendItems.forEach((p,h)=>{let S=r+o/2+a.measureText(p.text).width;(h===0||c[c.length-1]+S+2*i>s)&&(m+=u,c[c.length-(h>0?0:1)]=0,d+=u,f++),l[h]={left:0,top:d,row:f,width:S,height:n},c[c.length-1]+=S+i}),m}_fitCols(t,o,r,n){let{ctx:a,maxHeight:s,options:{labels:{padding:i}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=s-t,m=i,f=0,d=0,p=0,h=0;return this.legendItems.forEach((S,g)=>{let{itemWidth:b,itemHeight:I}=Ohe(r,o,a,S,n);g>0&&d+I+2*i>u&&(m+=f+i,c.push({width:f,height:d}),p+=f+i,h++,f=d=0),l[g]={left:p,top:d,col:h,width:b,height:I},f=Math.max(f,b),d+=I+i}),m+=f,c.push({width:f,height:d}),m}adjustHitBoxes(){if(!this.options.display)return;let t=this._computeTitleHeight(),{legendHitBoxes:o,options:{align:r,labels:{padding:n},rtl:a}}=this,s=uf(a,this.left,this.width);if(this.isHorizontal()){let i=0,l=ba(r,this.left+n,this.right-this.lineWidths[i]);for(let c of o)i!==c.row&&(i=c.row,l=ba(r,this.left+n,this.right-this.lineWidths[i])),c.top+=this.top+t+n,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+n}else{let i=0,l=ba(r,this.top+t+n,this.bottom-this.columnSizes[i].height);for(let c of o)c.col!==i&&(i=c.col,l=ba(r,this.top+t+n,this.bottom-this.columnSizes[i].height)),c.top=l,c.left+=this.left+n,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let t=this.ctx;r6(t,this),this._draw(),n6(t)}}_draw(){let{options:t,columnSizes:o,lineWidths:r,ctx:n}=this,{align:a,labels:s}=t,i=So.color,l=uf(t.rtl,this.left,this.width),c=cn(s.font),{padding:u}=s,m=c.size,f=m/2,d;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;let{boxWidth:p,boxHeight:h,itemHeight:S}=lq(s,m),g=function(T,w,P){if(isNaN(p)||p<=0||isNaN(h)||h<0)return;n.save();let k=wt(P.lineWidth,1);if(n.fillStyle=wt(P.fillStyle,i),n.lineCap=wt(P.lineCap,"butt"),n.lineDashOffset=wt(P.lineDashOffset,0),n.lineJoin=wt(P.lineJoin,"miter"),n.lineWidth=k,n.strokeStyle=wt(P.strokeStyle,i),n.setLineDash(wt(P.lineDash,[])),s.usePointStyle){let D={radius:h*Math.SQRT2/2,pointStyle:P.pointStyle,rotation:P.rotation,borderWidth:k},H=l.xPlus(T,p/2),j=w+f;XL(n,D,H,j,s.pointStyleWidth&&p)}else{let D=w+Math.max((m-h)/2,0),H=l.leftForLtr(T,p),j=Su(P.borderRadius);n.beginPath(),Object.values(j).some(se=>se!==0)?L0(n,{x:H,y:D,w:p,h,radius:j}):n.rect(H,D,p,h),n.fill(),k!==0&&n.stroke()}n.restore()},b=function(T,w,P){cf(n,P.text,T,w+S/2,c,{strikethrough:P.hidden,textAlign:l.textAlign(P.textAlign)})},I=this.isHorizontal(),v=this._computeTitleHeight();I?d={x:ba(a,this.left+u,this.right-r[0]),y:this.top+u+v,line:0}:d={x:this.left+u,y:ba(a,this.top+v+u,this.bottom-o[0].height),line:0},rP(this.ctx,t.textDirection);let C=S+u;this.legendItems.forEach((T,w)=>{n.strokeStyle=T.fontColor,n.fillStyle=T.fontColor;let P=n.measureText(T.text).width,k=l.textAlign(T.textAlign||(T.textAlign=s.textAlign)),D=p+f+P,H=d.x,j=d.y;l.setWidth(this.width),I?w>0&&H+D+u>this.right&&(j=d.y+=C,d.line++,H=d.x=ba(a,this.left+u,this.right-r[d.line])):w>0&&j+C>this.bottom&&(H=d.x=H+o[d.line].width+u,d.line++,j=d.y=ba(a,this.top+v+u,this.bottom-o[d.line].height));let se=l.x(H);if(g(se,j,T),H=C$(k,H+p+f,I?H+D:this.right,t.rtl),b(l.x(H),j,T),I)d.x+=D+u;else if(typeof T.text!="string"){let X=c.lineHeight;d.y+=_q(T,X)+u}else d.y+=C}),nP(this.ctx,t.textDirection)}drawTitle(){let t=this.options,o=t.title,r=cn(o.font),n=Bn(o.padding);if(!o.display)return;let a=uf(t.rtl,this.left,this.width),s=this.ctx,i=o.position,l=r.size/2,c=n.top+l,u,m=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,m=ba(t.align,m,this.right-f);else{let p=this.columnSizes.reduce((h,S)=>Math.max(h,S.height),0);u=c+ba(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}let d=ba(i,m,m+f);s.textAlign=a.textAlign(jL(i)),s.textBaseline="middle",s.strokeStyle=o.color,s.fillStyle=o.color,s.font=r.string,cf(s,o.text,d,u,r)}_computeTitleHeight(){let t=this.options.title,o=cn(t.font),r=Bn(t.padding);return t.display?o.lineHeight+r.height:0}_getLegendItemAt(t,o){let r,n,a;if(sf(t,this.left,this.right)&&sf(o,this.top,this.bottom)){for(a=this.legendHitBoxes,r=0;r<a.length;++r)if(n=a[r],sf(t,n.left,n.left+n.width)&&sf(o,n.top,n.top+n.height))return this.legendItems[r]}return null}handleEvent(t){let o=this.options;if(!zhe(t.type,o))return;let r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){let n=this._hoveredItem,a=Hhe(n,r);n&&!a&&Gt(o.onLeave,[t,n,this],this),this._hoveredItem=r,r&&!a&&Gt(o.onHover,[t,r,this],this)}else r&&Gt(o.onClick,[t,r,this],this)}};function Ohe(e,t,o,r,n){let a=Vhe(r,e,t,o),s=Nhe(n,r,t.lineHeight);return{itemWidth:a,itemHeight:s}}function Vhe(e,t,o,r){let n=e.text;return n&&typeof n!="string"&&(n=n.reduce((a,s)=>a.length>s.length?a:s)),t+o.size/2+r.measureText(n).width}function Nhe(e,t,o){let r=e;return typeof t.text!="string"&&(r=_q(t,o)),r}function _q(e,t){let o=e.text?e.text.length:0;return t*o}function zhe(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var R0={id:"legend",_element:I6,start(e,t,o){let r=e.legend=new I6({ctx:e.ctx,options:o,chart:e});vu.configure(e,r,o),vu.addBox(e,r)},stop(e){vu.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,o){let r=e.legend;vu.configure(e,r,o),r.options=o},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,o){let r=t.datasetIndex,n=o.chart;n.isDatasetVisible(r)?(n.hide(r),t.hidden=!0):(n.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:o,pointStyle:r,textAlign:n,color:a,useBorderRadius:s,borderRadius:i}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(o?0:void 0),u=Bn(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:s&&(i||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};var B2={average(e){if(!e.length)return!1;let t,o,r=new Set,n=0,a=0;for(t=0,o=e.length;t<o;++t){let i=e[t].element;if(i&&i.hasValue()){let l=i.tooltipPosition();r.add(l.x),n+=l.y,++a}}return a===0||r.size===0?!1:{x:[...r].reduce((i,l)=>i+l)/r.size,y:n/a}},nearest(e,t){if(!e.length)return!1;let o=t.x,r=t.y,n=Number.POSITIVE_INFINITY,a,s,i;for(a=0,s=e.length;a<s;++a){let l=e[a].element;if(l&&l.hasValue()){let c=l.getCenterPoint(),u=h$(t,c);u<n&&(n=u,i=l)}}if(i){let l=i.tooltipPosition();o=l.x,r=l.y}return{x:o,y:r}}};function _i(e,t){return t&&(ho(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Kl(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
1201
|
+
`)>-1?e.split(`
|
|
1202
|
+
`):e}function Whe(e,t){let{element:o,datasetIndex:r,index:n}=t,a=e.getDatasetMeta(r).controller,{label:s,value:i}=a.getLabelAndValue(n);return{chart:e,label:s,parsed:a.getParsed(n),raw:e.data.datasets[r].data[n],formattedValue:i,dataset:a.getDataset(),dataIndex:n,datasetIndex:r,element:o}}function cq(e,t){let o=e.chart.ctx,{body:r,footer:n,title:a}=e,{boxWidth:s,boxHeight:i}=t,l=cn(t.bodyFont),c=cn(t.titleFont),u=cn(t.footerFont),m=a.length,f=n.length,d=r.length,p=Bn(t.padding),h=p.height,S=0,g=r.reduce((v,C)=>v+C.before.length+C.lines.length+C.after.length,0);if(g+=e.beforeBody.length+e.afterBody.length,m&&(h+=m*c.lineHeight+(m-1)*t.titleSpacing+t.titleMarginBottom),g){let v=t.displayColors?Math.max(i,l.lineHeight):l.lineHeight;h+=d*v+(g-d)*l.lineHeight+(g-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let b=0,I=function(v){S=Math.max(S,o.measureText(v).width+b)};return o.save(),o.font=c.string,Dt(e.title,I),o.font=l.string,Dt(e.beforeBody.concat(e.afterBody),I),b=t.displayColors?s+2+t.boxPadding:0,Dt(r,v=>{Dt(v.before,I),Dt(v.lines,I),Dt(v.after,I)}),b=0,o.font=u.string,Dt(e.footer,I),o.restore(),S+=p.width,{width:S,height:h}}function Uhe(e,t){let{y:o,height:r}=t;return o<r/2?"top":o>e.height-r/2?"bottom":"center"}function Zhe(e,t,o,r){let{x:n,width:a}=r,s=o.caretSize+o.caretPadding;if(e==="left"&&n+a+s>t.width||e==="right"&&n-a-s<0)return!0}function jhe(e,t,o,r){let{x:n,width:a}=o,{width:s,chartArea:{left:i,right:l}}=e,c="center";return r==="center"?c=n<=(i+l)/2?"left":"right":n<=a/2?c="left":n>=s-a/2&&(c="right"),Zhe(c,e,t,o)&&(c="center"),c}function uq(e,t,o){let r=o.yAlign||t.yAlign||Uhe(e,o);return{xAlign:o.xAlign||t.xAlign||jhe(e,t,o,r),yAlign:r}}function Ghe(e,t){let{x:o,width:r}=e;return t==="right"?o-=r:t==="center"&&(o-=r/2),o}function $he(e,t,o){let{y:r,height:n}=e;return t==="top"?r+=o:t==="bottom"?r-=n+o:r-=n/2,r}function mq(e,t,o,r){let{caretSize:n,caretPadding:a,cornerRadius:s}=e,{xAlign:i,yAlign:l}=o,c=n+a,{topLeft:u,topRight:m,bottomLeft:f,bottomRight:d}=Su(s),p=Ghe(t,i),h=$he(t,l,c);return l==="center"?i==="left"?p+=c:i==="right"&&(p-=c):i==="left"?p-=Math.max(u,f)+n:i==="right"&&(p+=Math.max(m,d)+n),{x:As(p,0,r.width-t.width),y:As(h,0,r.height-t.height)}}function f6(e,t,o){let r=Bn(o.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function fq(e){return _i([],Kl(e))}function qhe(e,t,o){return xu(e,{tooltip:t,tooltipItems:o,type:"tooltip"})}function dq(e,t){let o=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return o?e.override(o):e}var Fq={beforeTitle:Ri,title(e){if(e.length>0){let t=e[0],o=t.chart.data.labels,r=o?o.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return o[t.dataIndex]}return""},afterTitle:Ri,beforeBody:Ri,beforeLabel:Ri,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");let o=e.formattedValue;return Bt(o)||(t+=o),t},labelColor(e){let o=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:o.borderColor,backgroundColor:o.backgroundColor,borderWidth:o.borderWidth,borderDash:o.borderDash,borderDashOffset:o.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let o=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:o.pointStyle,rotation:o.rotation}},afterLabel:Ri,afterBody:Ri,beforeFooter:Ri,footer:Ri,afterFooter:Ri};function ya(e,t,o,r){let n=e[t].call(o,r);return typeof n>"u"?Fq[t].call(o,r):n}var D2=class extends Ql{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let t=this._cachedAnimations;if(t)return t;let o=this.chart,r=this.options.setContext(this.getContext()),n=r.enabled&&o.options.animation&&r.animations,a=new y6(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=qhe(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,o){let{callbacks:r}=o,n=ya(r,"beforeTitle",this,t),a=ya(r,"title",this,t),s=ya(r,"afterTitle",this,t),i=[];return i=_i(i,Kl(n)),i=_i(i,Kl(a)),i=_i(i,Kl(s)),i}getBeforeBody(t,o){return fq(ya(o.callbacks,"beforeBody",this,t))}getBody(t,o){let{callbacks:r}=o,n=[];return Dt(t,a=>{let s={before:[],lines:[],after:[]},i=dq(r,a);_i(s.before,Kl(ya(i,"beforeLabel",this,a))),_i(s.lines,ya(i,"label",this,a)),_i(s.after,Kl(ya(i,"afterLabel",this,a))),n.push(s)}),n}getAfterBody(t,o){return fq(ya(o.callbacks,"afterBody",this,t))}getFooter(t,o){let{callbacks:r}=o,n=ya(r,"beforeFooter",this,t),a=ya(r,"footer",this,t),s=ya(r,"afterFooter",this,t),i=[];return i=_i(i,Kl(n)),i=_i(i,Kl(a)),i=_i(i,Kl(s)),i}_createItems(t){let o=this._active,r=this.chart.data,n=[],a=[],s=[],i=[],l,c;for(l=0,c=o.length;l<c;++l)i.push(Whe(this.chart,o[l]));return t.filter&&(i=i.filter((u,m,f)=>t.filter(u,m,f,r))),t.itemSort&&(i=i.sort((u,m)=>t.itemSort(u,m,r))),Dt(i,u=>{let m=dq(t.callbacks,u);n.push(ya(m,"labelColor",this,u)),a.push(ya(m,"labelPointStyle",this,u)),s.push(ya(m,"labelTextColor",this,u))}),this.labelColors=n,this.labelPointStyles=a,this.labelTextColors=s,this.dataPoints=i,i}update(t,o){let r=this.options.setContext(this.getContext()),n=this._active,a,s=[];if(!n.length)this.opacity!==0&&(a={opacity:0});else{let i=B2[r.position].call(this,n,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);let l=this._size=cq(this,r),c=Object.assign({},i,l),u=uq(this.chart,r,c),m=mq(r,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,a={opacity:1,x:m.x,y:m.y,width:l.width,height:l.height,caretX:i.x,caretY:i.y}}this._tooltipItems=s,this.$context=void 0,a&&this._resolveAnimations().update(this,a),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:o})}drawCaret(t,o,r,n){let a=this.getCaretPosition(t,r,n);o.lineTo(a.x1,a.y1),o.lineTo(a.x2,a.y2),o.lineTo(a.x3,a.y3)}getCaretPosition(t,o,r){let{xAlign:n,yAlign:a}=this,{caretSize:s,cornerRadius:i}=r,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:m}=Su(i),{x:f,y:d}=t,{width:p,height:h}=o,S,g,b,I,v,C;return a==="center"?(v=d+h/2,n==="left"?(S=f,g=S-s,I=v+s,C=v-s):(S=f+p,g=S+s,I=v-s,C=v+s),b=S):(n==="left"?g=f+Math.max(l,u)+s:n==="right"?g=f+p-Math.max(c,m)-s:g=this.caretX,a==="top"?(I=d,v=I-s,S=g-s,b=g+s):(I=d+h,v=I+s,S=g+s,b=g-s),C=I),{x1:S,x2:g,x3:b,y1:I,y2:v,y3:C}}drawTitle(t,o,r){let n=this.title,a=n.length,s,i,l;if(a){let c=uf(r.rtl,this.x,this.width);for(t.x=f6(this,r.titleAlign,r),o.textAlign=c.textAlign(r.titleAlign),o.textBaseline="middle",s=cn(r.titleFont),i=r.titleSpacing,o.fillStyle=r.titleColor,o.font=s.string,l=0;l<a;++l)o.fillText(n[l],c.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+i,l+1===a&&(t.y+=r.titleMarginBottom-i)}}_drawColorBox(t,o,r,n,a){let s=this.labelColors[r],i=this.labelPointStyles[r],{boxHeight:l,boxWidth:c}=a,u=cn(a.bodyFont),m=f6(this,"left",a),f=n.x(m),d=l<u.lineHeight?(u.lineHeight-l)/2:0,p=o.y+d;if(a.usePointStyle){let h={radius:Math.min(c,l)/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:1},S=n.leftForLtr(f,c)+c/2,g=p+l/2;t.strokeStyle=a.multiKeyBackground,t.fillStyle=a.multiKeyBackground,qL(t,h,S,g),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,qL(t,h,S,g)}else{t.lineWidth=Tt(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;let h=n.leftForLtr(f,c),S=n.leftForLtr(n.xPlus(f,1),c-2),g=Su(s.borderRadius);Object.values(g).some(b=>b!==0)?(t.beginPath(),t.fillStyle=a.multiKeyBackground,L0(t,{x:h,y:p,w:c,h:l,radius:g}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),L0(t,{x:S,y:p+1,w:c-2,h:l-2,radius:g}),t.fill()):(t.fillStyle=a.multiKeyBackground,t.fillRect(h,p,c,l),t.strokeRect(h,p,c,l),t.fillStyle=s.backgroundColor,t.fillRect(S,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,o,r){let{body:n}=this,{bodySpacing:a,bodyAlign:s,displayColors:i,boxHeight:l,boxWidth:c,boxPadding:u}=r,m=cn(r.bodyFont),f=m.lineHeight,d=0,p=uf(r.rtl,this.x,this.width),h=function(P){o.fillText(P,p.x(t.x+d),t.y+f/2),t.y+=f+a},S=p.textAlign(s),g,b,I,v,C,T,w;for(o.textAlign=s,o.textBaseline="middle",o.font=m.string,t.x=f6(this,S,r),o.fillStyle=r.bodyColor,Dt(this.beforeBody,h),d=i&&S!=="right"?s==="center"?c/2+u:c+2+u:0,v=0,T=n.length;v<T;++v){for(g=n[v],b=this.labelTextColors[v],o.fillStyle=b,Dt(g.before,h),I=g.lines,i&&I.length&&(this._drawColorBox(o,t,v,p,r),f=Math.max(m.lineHeight,l)),C=0,w=I.length;C<w;++C)h(I[C]),f=m.lineHeight;Dt(g.after,h)}d=0,f=m.lineHeight,Dt(this.afterBody,h),t.y-=a}drawFooter(t,o,r){let n=this.footer,a=n.length,s,i;if(a){let l=uf(r.rtl,this.x,this.width);for(t.x=f6(this,r.footerAlign,r),t.y+=r.footerMarginTop,o.textAlign=l.textAlign(r.footerAlign),o.textBaseline="middle",s=cn(r.footerFont),o.fillStyle=r.footerColor,o.font=s.string,i=0;i<a;++i)o.fillText(n[i],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+r.footerSpacing}}drawBackground(t,o,r,n){let{xAlign:a,yAlign:s}=this,{x:i,y:l}=t,{width:c,height:u}=r,{topLeft:m,topRight:f,bottomLeft:d,bottomRight:p}=Su(n.cornerRadius);o.fillStyle=n.backgroundColor,o.strokeStyle=n.borderColor,o.lineWidth=n.borderWidth,o.beginPath(),o.moveTo(i+m,l),s==="top"&&this.drawCaret(t,o,r,n),o.lineTo(i+c-f,l),o.quadraticCurveTo(i+c,l,i+c,l+f),s==="center"&&a==="right"&&this.drawCaret(t,o,r,n),o.lineTo(i+c,l+u-p),o.quadraticCurveTo(i+c,l+u,i+c-p,l+u),s==="bottom"&&this.drawCaret(t,o,r,n),o.lineTo(i+d,l+u),o.quadraticCurveTo(i,l+u,i,l+u-d),s==="center"&&a==="left"&&this.drawCaret(t,o,r,n),o.lineTo(i,l+m),o.quadraticCurveTo(i,l,i+m,l),o.closePath(),o.fill(),n.borderWidth>0&&o.stroke()}_updateAnimationTarget(t){let o=this.chart,r=this.$animations,n=r&&r.x,a=r&&r.y;if(n||a){let s=B2[t.position].call(this,this._active,this._eventPosition);if(!s)return;let i=this._size=cq(this,t),l=Object.assign({},s,this._size),c=uq(o,t,l),u=mq(t,l,c,o);(n._to!==u.x||a._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=i.width,this.height=i.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){let o=this.options.setContext(this.getContext()),r=this.opacity;if(!r)return;this._updateAnimationTarget(o);let n={width:this.width,height:this.height},a={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;let s=Bn(o.padding),i=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;o.enabled&&i&&(t.save(),t.globalAlpha=r,this.drawBackground(a,t,n,o),rP(t,o.textDirection),a.y+=s.top,this.drawTitle(a,t,o),this.drawBody(a,t,o),this.drawFooter(a,t,o),nP(t,o.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,o){let r=this._active,n=t.map(({datasetIndex:i,index:l})=>{let c=this.chart.getDatasetMeta(i);if(!c)throw new Error("Cannot find a dataset at index "+i);return{datasetIndex:i,element:c.data[l],index:l}}),a=!I2(r,n),s=this._positionChanged(n,o);(a||s)&&(this._active=n,this._eventPosition=o,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,o,r=!0){if(o&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let n=this.options,a=this._active||[],s=this._getActiveElements(t,a,o,r),i=this._positionChanged(s,t),l=o||!I2(s,a)||i;return l&&(this._active=s,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,o))),l}_getActiveElements(t,o,r,n){let a=this.options;if(t.type==="mouseout")return[];if(!n)return o.filter(i=>this.chart.data.datasets[i.datasetIndex]&&this.chart.getDatasetMeta(i.datasetIndex).controller.getParsed(i.index)!==void 0);let s=this.chart.getElementsAtEventForMode(t,a.mode,a,r);return a.reverse&&s.reverse(),s}_positionChanged(t,o){let{caretX:r,caretY:n,options:a}=this,s=B2[a.position].call(this,t,o);return s!==!1&&(r!==s.x||n!==s.y)}};ot(D2,"positioners",B2);var _0={id:"tooltip",_element:D2,positioners:B2,afterInit(e,t,o){o&&(e.tooltip=new D2({chart:e,options:o}))},beforeUpdate(e,t,o){e.tooltip&&e.tooltip.initialize(o)},reset(e,t,o){e.tooltip&&e.tooltip.initialize(o)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let o={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...o,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",o)}},afterEvent(e,t){if(e.tooltip){let o=t.replay;e.tooltip.handleEvent(t.event,o,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Fq},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};var Xhe=(e,t,o,r)=>(typeof t=="string"?(o=e.push(t)-1,r.unshift({index:o,label:t})):isNaN(t)&&(o=null),o);function Yhe(e,t,o,r){let n=e.indexOf(t);if(n===-1)return Xhe(e,t,o,r);let a=e.lastIndexOf(t);return n!==a?o:n}var Khe=(e,t)=>e===null?null:As(Math.round(e),0,t);function pq(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}var Hi=class extends hf{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){let o=this._addedLabels;if(o.length){let r=this.getLabels();for(let{index:n,label:a}of o)r[n]===a&&r.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,o){if(Bt(t))return null;let r=this.getLabels();return o=isFinite(o)&&r[o]===t?o:Yhe(r,t,wt(o,t),this._addedLabels),Khe(o,r.length-1)}determineDataLimits(){let{minDefined:t,maxDefined:o}=this.getUserBounds(),{min:r,max:n}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),o||(n=this.getLabels().length-1)),this.min=r,this.max=n}buildTicks(){let t=this.min,o=this.max,r=this.options.offset,n=[],a=this.getLabels();a=t===0&&o===a.length-1?a:a.slice(t,o+1),this._valueRange=Math.max(a.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=o;s++)n.push({value:s});return n}getLabelForValue(t){return pq.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){let o=this.ticks;return t<0||t>o.length-1?null:this.getPixelForValue(o[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}};ot(Hi,"id","category"),ot(Hi,"defaults",{ticks:{callback:pq}});function Qhe(e,t){let o=[],{bounds:n,step:a,min:s,max:i,precision:l,count:c,maxTicks:u,maxDigits:m,includeBounds:f}=e,d=a||1,p=u-1,{min:h,max:S}=t,g=!Bt(s),b=!Bt(i),I=!Bt(c),v=(S-h)/(m+1),C=OL((S-h)/p/d)*d,T,w,P,k;if(C<1e-14&&!g&&!b)return[{value:h},{value:S}];k=Math.ceil(S/C)-Math.floor(h/C),k>p&&(C=OL(k*C/p/d)*d),Bt(l)||(T=Math.pow(10,l),C=Math.ceil(C*T)/T),n==="ticks"?(w=Math.floor(h/C)*C,P=Math.ceil(S/C)*C):(w=h,P=S),g&&b&&a&&d$((i-s)/a,C/1e3)?(k=Math.round(Math.min((i-s)/C,u)),C=(i-s)/k,w=s,P=i):I?(w=g?s:w,P=b?i:P,k=c-1,C=(P-w)/k):(k=(P-w)/C,v2(k,Math.round(k),C/1e3)?k=Math.round(k):k=Math.ceil(k));let D=Math.max(NL(C),NL(w));T=Math.pow(10,Bt(l)?D:l),w=Math.round(w*T)/T,P=Math.round(P*T)/T;let H=0;for(g&&(f&&w!==s?(o.push({value:s}),w<s&&H++,v2(Math.round((w+H*C)*T)/T,s,hq(s,v,e))&&H++):w<s&&H++);H<k;++H){let j=Math.round((w+H*C)*T)/T;if(b&&j>i)break;o.push({value:j})}return b&&f&&P!==i?o.length&&v2(o[o.length-1].value,i,hq(i,v,e))?o[o.length-1].value=i:o.push({value:i}):(!b||P===i)&&o.push({value:P}),o}function hq(e,t,{horizontal:o,minRotation:r}){let n=Xl(r),a=(o?Math.sin(n):Math.cos(n))||.001,s=.75*t*(""+e).length;return Math.min(t/a,s)}var D0=class extends hf{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,o){return Bt(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){let{beginAtZero:t}=this.options,{minDefined:o,maxDefined:r}=this.getUserBounds(),{min:n,max:a}=this,s=l=>n=o?n:l,i=l=>a=r?a:l;if(t){let l=ql(n),c=ql(a);l<0&&c<0?i(0):l>0&&c>0&&s(0)}if(n===a){let l=a===0?1:Math.abs(a*.05);i(a+l),t||s(n-l)}this.min=n,this.max=a}getTickLimit(){let t=this.options.ticks,{maxTicksLimit:o,stepSize:r}=t,n;return r?(n=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),o=o||11),o&&(n=Math.min(o,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let t=this.options,o=t.ticks,r=this.getTickLimit();r=Math.max(2,r);let n={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:o.precision,step:o.stepSize,count:o.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:o.minRotation||0,includeBounds:o.includeBounds!==!1},a=this._range||this,s=Qhe(n,a);return t.bounds==="ticks"&&VL(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){let t=this.ticks,o=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){let n=(r-o)/Math.max(t.length-1,1)/2;o-=n,r+=n}this._startValue=o,this._endValue=r,this._valueRange=r-o}getLabelForValue(t){return t6(t,this.chart.options.locale,this.options.ticks.format)}},Oi=class extends D0{determineDataLimits(){let{min:t,max:o}=this.getMinMax(!0);this.min=Kr(t)?t:0,this.max=Kr(o)?o:1,this.handleTickRangeOptions()}computeTickLimit(){let t=this.isHorizontal(),o=t?this.width:this.height,r=Xl(this.options.ticks.minRotation),n=(t?Math.sin(r):Math.cos(r))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(o/Math.min(40,a.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}};ot(Oi,"id","linear"),ot(Oi,"defaults",{ticks:{callback:w2.formatters.numeric}});var _2=e=>Math.floor($l(e)),ff=(e,t)=>Math.pow(10,_2(e)+t);function gq(e){return e/Math.pow(10,_2(e))===1}function bq(e,t,o){let r=Math.pow(10,o),n=Math.floor(e/r);return Math.ceil(t/r)-n}function Jhe(e,t){let o=t-e,r=_2(o);for(;bq(e,t,r)>10;)r++;for(;bq(e,t,r)<10;)r--;return Math.min(r,_2(e))}function ege(e,{min:t,max:o}){t=ga(e.min,t);let r=[],n=_2(t),a=Jhe(t,o),s=a<0?Math.pow(10,Math.abs(a)):1,i=Math.pow(10,a),l=n>a?Math.pow(10,n):0,c=Math.round((t-l)*s)/s,u=Math.floor((t-l)/i/10)*i*10,m=Math.floor((c-u)/Math.pow(10,a)),f=ga(e.min,Math.round((l+u+m*Math.pow(10,a))*s)/s);for(;f<o;)r.push({value:f,major:gq(f),significand:m}),m>=10?m=m<15?15:20:m++,m>=20&&(a++,m=2,s=a>=0?1:s),f=Math.round((l+u+m*Math.pow(10,a))*s)/s;let d=ga(e.max,f);return r.push({value:d,major:gq(d),significand:m}),r}var d6=class extends hf{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,o){let r=D0.prototype.parse.apply(this,[t,o]);if(r===0){this._zero=!0;return}return Kr(r)&&r>0?r:null}determineDataLimits(){let{min:t,max:o}=this.getMinMax(!0);this.min=Kr(t)?Math.max(0,t):null,this.max=Kr(o)?Math.max(0,o):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Kr(this._userMin)&&(this.min=t===ff(this.min,0)?ff(this.min,-1):ff(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:t,maxDefined:o}=this.getUserBounds(),r=this.min,n=this.max,a=i=>r=t?r:i,s=i=>n=o?n:i;r===n&&(r<=0?(a(1),s(10)):(a(ff(r,-1)),s(ff(n,1)))),r<=0&&a(ff(n,-1)),n<=0&&s(ff(r,1)),this.min=r,this.max=n}buildTicks(){let t=this.options,o={min:this._userMin,max:this._userMax},r=ege(o,this);return t.bounds==="ticks"&&VL(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":t6(t,this.chart.options.locale,this.options.ticks.format)}configure(){let t=this.min;super.configure(),this._startValue=$l(t),this._valueRange=$l(this.max)-$l(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:($l(t)-this._startValue)/this._valueRange)}getValueForPixel(t){let o=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+o*this._valueRange)}};ot(d6,"id","logarithmic"),ot(d6,"defaults",{ticks:{callback:w2.formatters.logarithmic,major:{enabled:!0}}});function wP(e){let t=e.ticks;if(t.display&&e.display){let o=Bn(t.backdropPadding);return wt(t.font&&t.font.size,So.font.size)+o.height}return 0}function tge(e,t,o){return o=ho(o)?o:[o],{w:A$(e,t.string,o),h:o.length*t.lineHeight}}function yq(e,t,o,r,n){return e===r||e===n?{start:t-o/2,end:t+o/2}:e<r||e>n?{start:t-o,end:t}:{start:t,end:t+o}}function oge(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},o=Object.assign({},t),r=[],n=[],a=e._pointLabels.length,s=e.options.pointLabels,i=s.centerPointLabels?ln/a:0;for(let l=0;l<a;l++){let c=s.setContext(e.getPointLabelContext(l));n[l]=c.padding;let u=e.getPointPosition(l,e.drawingArea+n[l],i),m=cn(c.font),f=tge(e.ctx,m,e._pointLabels[l]);r[l]=f;let d=ei(e.getIndexAngle(l)+i),p=Math.round(Q8(d)),h=yq(p,u.x,f.w,0,180),S=yq(p,u.y,f.h,90,270);rge(o,t,d,h,S)}e.setCenterPoint(t.l-o.l,o.r-t.r,t.t-o.t,o.b-t.b),e._pointLabelItems=sge(e,r,n)}function rge(e,t,o,r,n){let a=Math.abs(Math.sin(o)),s=Math.abs(Math.cos(o)),i=0,l=0;r.start<t.l?(i=(t.l-r.start)/a,e.l=Math.min(e.l,t.l-i)):r.end>t.r&&(i=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+i)),n.start<t.t?(l=(t.t-n.start)/s,e.t=Math.min(e.t,t.t-l)):n.end>t.b&&(l=(n.end-t.b)/s,e.b=Math.max(e.b,t.b+l))}function nge(e,t,o){let r=e.drawingArea,{extra:n,additionalAngle:a,padding:s,size:i}=o,l=e.getPointPosition(t,r+n+s,a),c=Math.round(Q8(ei(l.angle+ha))),u=cge(l.y,i.h,c),m=ige(c),f=lge(l.x,i.w,m);return{visible:!0,x:l.x,y:u,textAlign:m,left:f,top:u,right:f+i.w,bottom:u+i.h}}function age(e,t){if(!t)return!0;let{left:o,top:r,right:n,bottom:a}=e;return!(lf({x:o,y:r},t)||lf({x:o,y:a},t)||lf({x:n,y:r},t)||lf({x:n,y:a},t))}function sge(e,t,o){let r=[],n=e._pointLabels.length,a=e.options,{centerPointLabels:s,display:i}=a.pointLabels,l={extra:wP(a)/2,additionalAngle:s?ln/n:0},c;for(let u=0;u<n;u++){l.padding=o[u],l.size=t[u];let m=nge(e,u,l);r.push(m),i==="auto"&&(m.visible=age(m,c),m.visible&&(c=m))}return r}function ige(e){return e===0||e===180?"center":e<180?"left":"right"}function lge(e,t,o){return o==="right"?e-=t:o==="center"&&(e-=t/2),e}function cge(e,t,o){return o===90||o===270?e-=t/2:(o>270||o<90)&&(e-=t),e}function uge(e,t,o){let{left:r,top:n,right:a,bottom:s}=o,{backdropColor:i}=t;if(!Bt(i)){let l=Su(t.borderRadius),c=Bn(t.backdropPadding);e.fillStyle=i;let u=r-c.left,m=n-c.top,f=a-r+c.width,d=s-n+c.height;Object.values(l).some(p=>p!==0)?(e.beginPath(),L0(e,{x:u,y:m,w:f,h:d,radius:l}),e.fill()):e.fillRect(u,m,f,d)}}function mge(e,t){let{ctx:o,options:{pointLabels:r}}=e;for(let n=t-1;n>=0;n--){let a=e._pointLabelItems[n];if(!a.visible)continue;let s=r.setContext(e.getPointLabelContext(n));uge(o,s,a);let i=cn(s.font),{x:l,y:c,textAlign:u}=a;cf(o,e._pointLabels[n],l,c+i.lineHeight/2,i,{color:s.color,textAlign:u,textBaseline:"middle"})}}function Hq(e,t,o,r){let{ctx:n}=e;if(o)n.arc(e.xCenter,e.yCenter,t,0,Ts);else{let a=e.getPointPosition(0,t);n.moveTo(a.x,a.y);for(let s=1;s<r;s++)a=e.getPointPosition(s,t),n.lineTo(a.x,a.y)}}function fge(e,t,o,r,n){let a=e.ctx,s=t.circular,{color:i,lineWidth:l}=t;!s&&!r||!i||!l||o<0||(a.save(),a.strokeStyle=i,a.lineWidth=l,a.setLineDash(n.dash||[]),a.lineDashOffset=n.dashOffset,a.beginPath(),Hq(e,o,s,r),a.closePath(),a.stroke(),a.restore())}function dge(e,t,o){return xu(e,{label:o,index:t,type:"pointLabel"})}var P0=class extends D0{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let t=this._padding=Bn(wP(this.options)/2),o=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+o/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(o,r)/2)}determineDataLimits(){let{min:t,max:o}=this.getMinMax(!1);this.min=Kr(t)&&!isNaN(t)?t:0,this.max=Kr(o)&&!isNaN(o)?o:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/wP(this.options))}generateTickLabels(t){D0.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((o,r)=>{let n=Gt(this.options.pointLabels.callback,[o,r],this);return n||n===0?n:""}).filter((o,r)=>this.chart.getDataVisibility(r))}fit(){let t=this.options;t.display&&t.pointLabels.display?oge(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,o,r,n){this.xCenter+=Math.floor((t-o)/2),this.yCenter+=Math.floor((r-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,o,r,n))}getIndexAngle(t){let o=Ts/(this._pointLabels.length||1),r=this.options.startAngle||0;return ei(t*o+Xl(r))}getDistanceFromCenterForValue(t){if(Bt(t))return NaN;let o=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*o:(t-this.min)*o}getValueForDistanceFromCenter(t){if(Bt(t))return NaN;let o=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-o:this.min+o}getPointLabelContext(t){let o=this._pointLabels||[];if(t>=0&&t<o.length){let r=o[t];return dge(this.getContext(),t,r)}}getPointPosition(t,o,r=0){let n=this.getIndexAngle(t)-ha+r;return{x:Math.cos(n)*o+this.xCenter,y:Math.sin(n)*o+this.yCenter,angle:n}}getPointPositionForValue(t,o){return this.getPointPosition(t,this.getDistanceFromCenterForValue(o))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){let{left:o,top:r,right:n,bottom:a}=this._pointLabelItems[t];return{left:o,top:r,right:n,bottom:a}}drawBackground(){let{backgroundColor:t,grid:{circular:o}}=this.options;if(t){let r=this.ctx;r.save(),r.beginPath(),Hq(this,this.getDistanceFromCenterForValue(this._endValue),o,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){let t=this.ctx,o=this.options,{angleLines:r,grid:n,border:a}=o,s=this._pointLabels.length,i,l,c;if(o.pointLabels.display&&mge(this,s),n.display&&this.ticks.forEach((u,m)=>{if(m!==0||m===0&&this.min<0){l=this.getDistanceFromCenterForValue(u.value);let f=this.getContext(m),d=n.setContext(f),p=a.setContext(f);fge(this,d,l,s,p)}}),r.display){for(t.save(),i=s-1;i>=0;i--){let u=r.setContext(this.getPointLabelContext(i)),{color:m,lineWidth:f}=u;!f||!m||(t.lineWidth=f,t.strokeStyle=m,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(o.reverse?this.min:this.max),c=this.getPointPosition(i,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){let t=this.ctx,o=this.options,r=o.ticks;if(!r.display)return;let n=this.getIndexAngle(0),a,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((i,l)=>{if(l===0&&this.min>=0&&!o.reverse)return;let c=r.setContext(this.getContext(l)),u=cn(c.font);if(a=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,s=t.measureText(i.label).width,t.fillStyle=c.backdropColor;let m=Bn(c.backdropPadding);t.fillRect(-s/2-m.left,-a-u.size/2-m.top,s+m.width,u.size+m.height)}cf(t,i.label,0,-a,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}};ot(P0,"id","radialLinear"),ot(P0,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:w2.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),ot(P0,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),ot(P0,"descriptors",{angleLines:{_fallback:"grid"}});var v6={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Sa=Object.keys(v6);function Sq(e,t){return e-t}function xq(e,t){if(Bt(t))return null;let o=e._adapter,{parser:r,round:n,isoWeekday:a}=e._parseOpts,s=t;return typeof r=="function"&&(s=r(s)),Kr(s)||(s=typeof r=="string"?o.parse(s,r):o.parse(s)),s===null?null:(n&&(s=n==="week"&&(C2(a)||a===!0)?o.startOf(s,"isoWeek",a):o.startOf(s,n)),+s)}function Iq(e,t,o,r){let n=Sa.length;for(let a=Sa.indexOf(e);a<n-1;++a){let s=v6[Sa[a]],i=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((o-t)/(i*s.size))<=r)return Sa[a]}return Sa[n-1]}function pge(e,t,o,r,n){for(let a=Sa.length-1;a>=Sa.indexOf(o);a--){let s=Sa[a];if(v6[s].common&&e._adapter.diff(n,r,s)>=t-1)return s}return Sa[o?Sa.indexOf(o):0]}function hge(e){for(let t=Sa.indexOf(e)+1,o=Sa.length;t<o;++t)if(v6[Sa[t]].common)return Sa[t]}function vq(e,t,o){if(!o)e[t]=!0;else if(o.length){let{lo:r,hi:n}=J8(o,t),a=o[r]>=t?o[r]:o[n];e[a]=!0}}function gge(e,t,o,r){let n=e._adapter,a=+n.startOf(t[0].value,r),s=t[t.length-1].value,i,l;for(i=a;i<=s;i=+n.add(i,1,r))l=o[i],l>=0&&(t[l].major=!0);return t}function Cq(e,t,o){let r=[],n={},a=t.length,s,i;for(s=0;s<a;++s)i=t[s],n[i]=s,r.push({value:i,major:!1});return a===0||!o?r:gge(e,r,n,o)}var B0=class extends hf{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,o={}){let r=t.time||(t.time={}),n=this._adapter=new M0e._date(t.adapters.date);n.init(o),k0(r.displayFormats,n.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=o.normalized}parse(t,o){return t===void 0?null:xq(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let t=this.options,o=this._adapter,r=t.time.unit||"day",{min:n,max:a,minDefined:s,maxDefined:i}=this.getUserBounds();function l(c){!s&&!isNaN(c.min)&&(n=Math.min(n,c.min)),!i&&!isNaN(c.max)&&(a=Math.max(a,c.max))}(!s||!i)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),n=Kr(n)&&!isNaN(n)?n:+o.startOf(Date.now(),r),a=Kr(a)&&!isNaN(a)?a:+o.endOf(Date.now(),r)+1,this.min=Math.min(n,a-1),this.max=Math.max(n+1,a)}_getLabelBounds(){let t=this.getLabelTimestamps(),o=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(o=t[0],r=t[t.length-1]),{min:o,max:r}}buildTicks(){let t=this.options,o=t.time,r=t.ticks,n=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);let a=this.min,s=this.max,i=S$(n,a,s);return this._unit=o.unit||(r.autoSkip?Iq(o.minUnit,this.min,this.max,this._getLabelCapacity(a)):pge(this,i.length,o.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:hge(this._unit),this.initOffsets(n),t.reverse&&i.reverse(),Cq(this,i,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let o=0,r=0,n,a;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?o=1-n:o=(this.getDecimalForValue(t[1])-n)/2,a=this.getDecimalForValue(t[t.length-1]),t.length===1?r=a:r=(a-this.getDecimalForValue(t[t.length-2]))/2);let s=t.length<3?.5:.25;o=As(o,0,s),r=As(r,0,s),this._offsets={start:o,end:r,factor:1/(o+1+r)}}_generate(){let t=this._adapter,o=this.min,r=this.max,n=this.options,a=n.time,s=a.unit||Iq(a.minUnit,o,r,this._getLabelCapacity(o)),i=wt(n.ticks.stepSize,1),l=s==="week"?a.isoWeekday:!1,c=C2(l)||l===!0,u={},m=o,f,d;if(c&&(m=+t.startOf(m,"isoWeek",l)),m=+t.startOf(m,c?"day":s),t.diff(r,o,s)>1e5*i)throw new Error(o+" and "+r+" are too far apart with stepSize of "+i+" "+s);let p=n.ticks.source==="data"&&this.getDataTimestamps();for(f=m,d=0;f<r;f=+t.add(f,i,s),d++)vq(u,f,p);return(f===r||n.bounds==="ticks"||d===1)&&vq(u,f,p),Object.keys(u).sort(Sq).map(h=>+h)}getLabelForValue(t){let o=this._adapter,r=this.options.time;return r.tooltipFormat?o.format(t,r.tooltipFormat):o.format(t,r.displayFormats.datetime)}format(t,o){let n=this.options.time.displayFormats,a=this._unit,s=o||n[a];return this._adapter.format(t,s)}_tickFormatFunction(t,o,r,n){let a=this.options,s=a.ticks.callback;if(s)return Gt(s,[t,o,r],this);let i=a.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&i[l],m=c&&i[c],f=r[o],d=c&&m&&f&&f.major;return this._adapter.format(t,n||(d?m:u))}generateTickLabels(t){let o,r,n;for(o=0,r=t.length;o<r;++o)n=t[o],n.label=this._tickFormatFunction(n.value,o,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){let o=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((o.start+r)*o.factor)}getValueForPixel(t){let o=this._offsets,r=this.getDecimalForPixel(t)/o.factor-o.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){let o=this.options.ticks,r=this.ctx.measureText(t).width,n=Xl(this.isHorizontal()?o.maxRotation:o.minRotation),a=Math.cos(n),s=Math.sin(n),i=this._resolveTickFontOptions(0).size;return{w:r*a+i*s,h:r*s+i*a}}_getLabelCapacity(t){let o=this.options.time,r=o.displayFormats,n=r[o.unit]||r.millisecond,a=this._tickFormatFunction(t,0,Cq(this,[t],this._majorUnit),n),s=this._getLabelSize(a),i=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return i>0?i:1}getDataTimestamps(){let t=this._cache.data||[],o,r;if(t.length)return t;let n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(o=0,r=n.length;o<r;++o)t=t.concat(n[o].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){let t=this._cache.labels||[],o,r;if(t.length)return t;let n=this.getLabels();for(o=0,r=n.length;o<r;++o)t.push(xq(this,n[o]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return WL(t.sort(Sq))}};ot(B0,"id","time"),ot(B0,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function p6(e,t,o){let r=0,n=e.length-1,a,s,i,l;o?(t>=e[r].pos&&t<=e[n].pos&&({lo:r,hi:n}=e6(e,"pos",t)),{pos:a,time:i}=e[r],{pos:s,time:l}=e[n]):(t>=e[r].time&&t<=e[n].time&&({lo:r,hi:n}=e6(e,"time",t)),{time:a,pos:i}=e[r],{time:s,pos:l}=e[n]);let c=s-a;return c?i+(l-i)*(t-a)/c:i}var h6=class extends B0{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let t=this._getTimestampsForTable(),o=this._table=this.buildLookupTable(t);this._minPos=p6(o,this.min),this._tableRange=p6(o,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){let{min:o,max:r}=this,n=[],a=[],s,i,l,c,u;for(s=0,i=t.length;s<i;++s)c=t[s],c>=o&&c<=r&&n.push(c);if(n.length<2)return[{time:o,pos:0},{time:r,pos:1}];for(s=0,i=n.length;s<i;++s)u=n[s+1],l=n[s-1],c=n[s],Math.round((u+l)/2)!==c&&a.push({time:c,pos:s/(i-1)});return a}_generate(){let t=this.min,o=this.max,r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(o)||r.length===1)&&r.push(o),r.sort((n,a)=>n-a)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;let o=this.getDataTimestamps(),r=this.getLabelTimestamps();return o.length&&r.length?t=this.normalize(o.concat(r)):t=o.length?o:r,t=this._cache.all=t,t}getDecimalForValue(t){return(p6(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){let o=this._offsets,r=this.getDecimalForPixel(t)/o.factor-o.end;return p6(this._table,r*this._tableRange+this._minPos,!0)}};ot(h6,"id","timeseries"),ot(h6,"defaults",B0.defaults);var TP=M(oe(),1),Ga=M(F(),1);var Vq="label";function Oq(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function bge(e,t){let o=e.options;o&&t&&Object.assign(o,t)}function Nq(e,t){e.labels=t}function zq(e,t,o=Vq){let r=[];e.datasets=t.map(n=>{let a=e.datasets.find(s=>s[o]===n[o]);return!a||!n.data||r.includes(a)?{...n}:(r.push(a),Object.assign(a,n),a)})}function yge(e,t=Vq){let o={labels:[],datasets:[]};return Nq(o,e.labels),zq(o,e.datasets,t),o}function Sge(e,t){let{height:o=150,width:r=300,redraw:n=!1,datasetIdKey:a,type:s,data:i,options:l,plugins:c=[],fallbackContent:u,updateMode:m,...f}=e,d=(0,Ga.useRef)(null),p=(0,Ga.useRef)(null),h=()=>{d.current&&(p.current=new un(d.current,{type:s,data:yge(i,a),options:l&&{...l},plugins:c}),Oq(t,p.current))},S=()=>{Oq(t,null),p.current&&(p.current.destroy(),p.current=null)};return(0,Ga.useEffect)(()=>{!n&&p.current&&l&&bge(p.current,l)},[n,l]),(0,Ga.useEffect)(()=>{!n&&p.current&&Nq(p.current.config.data,i.labels)},[n,i.labels]),(0,Ga.useEffect)(()=>{!n&&p.current&&i.datasets&&zq(p.current.config.data,i.datasets,a)},[n,i.datasets]),(0,Ga.useEffect)(()=>{p.current&&(n?(S(),setTimeout(h)):p.current.update(m))},[n,l,i.labels,i.datasets,m]),(0,Ga.useEffect)(()=>{p.current&&(S(),setTimeout(h))},[s]),(0,Ga.useEffect)(()=>(h(),()=>S()),[]),(0,TP.jsx)("canvas",{ref:d,role:"img",height:o,width:r,...f,children:u})}var xge=(0,Ga.forwardRef)(Sge);function Ige(e,t){return un.register(t),(0,Ga.forwardRef)((o,r)=>(0,TP.jsx)(xge,{...o,ref:r,type:e}))}var F0=Ige("bar",pf);var Wq={mau:"MAU",dau:"DAU",kpi:"KPI",api:"API",seo:"SEO",ai:"AI",b2b:"B2B",b2c:"B2C",crm:"CRM",rls:"RLS"};function vge(e){let t=e.toLowerCase();return Wq[t]?Wq[t]:t?`${t[0].toUpperCase()}${t.slice(1)}`:""}function gf(e){let t=e.trim();if(!t)return"";let o=t.replace(/[_-]+/g," ").split(" ").filter(Boolean).map(s=>vge(s));if(o.length===0)return"";let[r,...n]=o,a=n.map(s=>s===s.toUpperCase()?s:s.toLowerCase());return[r,...a].join(" ")}var Uq=M(F());function Cge(e,t){let o=e.replace("#","");if(o.length!==6)return e;let r=Number.parseInt(o.slice(0,2),16),n=Number.parseInt(o.slice(2,4),16),a=Number.parseInt(o.slice(4,6),16);return`rgba(${r}, ${n}, ${a}, ${t})`}function H0(){let[e,t,o,r,n,a,s,i,l,c,u,m,f,d,p]=l5("colors",["brand.500","blue.500","green.500","yellow.500","purple.500","orange.500","teal.500","red.500","gray.500","gray.50","gray.200","gray.300","gray.600","gray.700","gray.800"]);return(0,Uq.useMemo)(()=>({series:{brand:e,blue:t,green:o,yellow:r,purple:n,orange:a,teal:s,red:i,gray:l},axisColor:f,axisTitleColor:d,gridColor:u,borderColor:m,tooltipBackground:p,tooltipTitleColor:c,tooltipBodyColor:c,tooltipBorderColor:d,fill(h,S=.72){return Cge(h,S)}}),[e,t,o,r,n,a,s,i,l,c,u,m,f,d,p])}var If=M(F()),XX=M(oe()),k1e={scrollbars:{theme:"os-theme-dark os-theme-founder",visibility:"auto",autoHide:"never",dragScroll:!0,clickScroll:!0}};function Ka({children:e,style:t,className:o,options:r,fill:n=!1}){let a=(0,If.useRef)(null),s=(0,If.useRef)(null),i=(0,If.useMemo)(()=>({...k1e,...r??{}}),[r]);return(0,If.useEffect)(()=>{let l=a.current;if(!l)return;let c=!0,u=0,m=null,f=0,d=!1,p=()=>{d||(d=!0,f=window.requestAnimationFrame(()=>{d=!1,s.current?.update()}))};Promise.resolve().then(()=>(qX(),$X)).then(({OverlayScrollbars:S})=>{if(!c)return;let g=S(l,i);s.current=g,u=window.requestAnimationFrame(()=>{g.update(!0)}),typeof ResizeObserver<"u"&&(m=new ResizeObserver(()=>{p()}),m.observe(l))});let h=()=>{p()};return window.addEventListener("resize",h),()=>{c=!1,window.cancelAnimationFrame(u),window.cancelAnimationFrame(f),window.removeEventListener("resize",h),m?.disconnect(),s.current?.destroy(),s.current=null}},[i]),(0,XX.jsx)("div",{ref:a,"data-scroll-area":!0,"data-overlayscrollbars-initialize":!0,className:o,style:n?{height:"100%",width:"100%",...t}:{width:"100%",...t},children:e})}var y=M(oe());un.register(Hi,Oi,ti,_0,R0);var G6={low:1,med:2,medium:2,high:3};function Io(e){return e==="high"||e==="med"||e==="medium"?e:"low"}function q6(e){return e==="high"?"green":e==="med"||e==="medium"?"yellow":"red"}function M1e(e){return e>=70?{colorScheme:"green",trackColor:"green.100",textColor:"green.700"}:e>=50?{colorScheme:"yellow",trackColor:"yellow.100",textColor:"yellow.700"}:{colorScheme:"red",trackColor:"red.100",textColor:"red.700"}}function tY(e){return e.source?.trim()?Io(e.confidence):"low"}function u9(e){if(!e.metrics||e.metrics.length===0)return"low";let t=G6.high;for(let o of e.metrics){let r=G6[tY(o)];t=Math.min(t,r)}return t>=G6.high?"high":t>=G6.med?"med":"low"}function YX(e){if(typeof e.value=="string"){let n=e.value.trim();if(n)return`${n}${e.unit?.trim()?` ${e.unit.trim()}`:""}`}let t=Number(e.value??0),o=Number.isFinite(t)&&t>0?t.toLocaleString():"\u2014",r=e.unit?.trim()?` ${e.unit}`:"";return`${o}${r}`}function oY(e){let t=e.trim().toLowerCase();return t?t==="mau"?"MAU":t==="app_store_reviews"?"App Store reviews":t==="app_store_rating"?"App Store rating":t==="subreddit_members"?"Subreddit members":t==="estimated_monthly_revenue"||t==="monthly_revenue"?"Estimated monthly revenue":gf(t):"Metric"}function KX(e){return e==="direct"?"green":e==="indirect"?"blue":"orange"}function m9(e){let t=e.trim().toLowerCase();return t.includes("free")?"green":t.includes("subscription")?"purple":t.includes("usage")?"blue":t.includes("one_time")||t.includes("one-time")?"teal":t.includes("ads")?"orange":t.includes("hybrid")?"pink":"gray"}function L1e(e,t=2){let r=["estimated_monthly_revenue","app_store_reviews","app_store_rating","subreddit_members"].map(i=>e.find(l=>l.metric.trim().toLowerCase()===i)).filter(i=>!!i);if(r.length>=t)return r.slice(0,t);let n=new Set(r.map(i=>i.metric.trim().toLowerCase()));function a(i){if(typeof i=="number"&&Number.isFinite(i))return i;if(typeof i=="string"){let l=Number(i.replace(/[^\d.-]/g,""));return Number.isFinite(l)?l:0}return 0}let s=[...e].filter(i=>!n.has(i.metric.trim().toLowerCase())).sort((i,l)=>a(l.value)-a(i.value)).slice(0,Math.max(0,t-r.length));return[...r,...s].slice(0,t)}function oc(e){return e.trim().toLowerCase()}function $6(e,t){let o=e.trim().toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"");return o||(typeof t=="number"?`competitor_${t+1}`:"competitor_unknown")}function QX(e){let t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleString()}function P1e(e){return[e.tam,e.sam,e.som].every(o=>Number(o.value??0)<=0&&!o.source?.trim())}function vt(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function E1e(e){return Array.isArray(e)?e.map(t=>{let o=typeof t=="object"&&t!==null&&!Array.isArray(t)?t:{},r=String(o.id??"").trim(),n=String(o.title??"").trim();return!r||!n?null:{id:r,title:n,summary:String(o.summary??"").trim(),score:Math.max(0,Math.min(100,Number(o.score??0)||0)),scoreLabel:String(o.scoreLabel??"").trim(),bullets:vt(o.bullets).slice(0,4)}}).filter(t=>t!==null):[]}function f9(e){let t=typeof e=="object"&&e!==null?e:{},o=Array.isArray(t.range)?t.range:[0,0],r=Number(o[0]??0),n=Number(o[1]??0);return{value:Number(t.value??0),unit:String(t.unit??"USD"),range:[Number.isFinite(r)?r:0,Number.isFinite(n)?n:0],source:String(t.source??""),confidence:Io(t.confidence),notes:String(t.notes??"")}}function B1e(e){let t=typeof e=="object"&&e!==null?e:{},o=typeof t.confidence=="object"&&t.confidence!==null?t.confidence:{};return{tam:f9(t.tam),sam:f9(t.sam),som:f9(t.som),confidence:{tam:Io(o.tam),sam:Io(o.sam),som:Io(o.som)},assumptions:vt(t.assumptions),missingData:vt(t.missingData)}}function D1e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string")return{name:t,type:"direct",targetIcp:"",buyer:"",endUser:"",corePromise:"",categoryClaim:"",onboardingModel:"",category:"",url:"",pricingModel:"",entryPrice:"",freeModel:"",annualDiscount:"",bestFeature:"",biggestWeakness:"",integrations:[],enterpriseReadiness:"low",seoStrength:"low",acquisitionChannels:[],reviewThemes:[],praiseThemes:[],complaintThemes:[],biggestComplaint:"",integrationDepth:"low",perceivedBrandStrength:"low",yourRelativeAdvantage:"",yourRelativeDisadvantage:"",identifiers:{subreddit:"",appStoreId:"",appStoreQuery:"",domain:""},features:[],metrics:[],notes:""};let o=typeof t=="object"&&t!==null?t:{},r=typeof o.identifiers=="object"&&o.identifiers!==null?o.identifiers:{},a=(Array.isArray(o.metrics)?o.metrics:[]).map(l=>{let c=typeof l=="object"&&l!==null?l:{};return{key:String(c.key??c.metric??""),metric:String(c.metric??c.key??""),value:typeof c.value=="string"?c.value:Number(c.value??0),unit:String(c.unit??""),date:String(c.date??""),source:String(c.source??""),confidence:Io(c.confidence),notes:String(c.notes??"")}}),s=String(o.type??"direct").trim().toLowerCase(),i=s==="indirect"||s==="substitute"?s:"direct";return{name:String(o.name??""),type:i,targetIcp:String(o.targetIcp??""),buyer:String(o.buyer??""),endUser:String(o.endUser??""),corePromise:String(o.corePromise??""),categoryClaim:String(o.categoryClaim??""),onboardingModel:String(o.onboardingModel??""),category:String(o.category??""),url:String(o.url??""),pricingModel:String(o.pricingModel??""),entryPrice:String(o.entryPrice??""),freeModel:String(o.freeModel??""),annualDiscount:String(o.annualDiscount??""),bestFeature:String(o.bestFeature??""),biggestWeakness:String(o.biggestWeakness??""),integrations:vt(o.integrations),enterpriseReadiness:Io(o.enterpriseReadiness),seoStrength:Io(o.seoStrength),acquisitionChannels:vt(o.acquisitionChannels),reviewThemes:vt(o.reviewThemes),praiseThemes:vt(o.praiseThemes),complaintThemes:vt(o.complaintThemes),biggestComplaint:String(o.biggestComplaint??""),integrationDepth:Io(o.integrationDepth),perceivedBrandStrength:Io(o.perceivedBrandStrength),yourRelativeAdvantage:String(o.yourRelativeAdvantage??""),yourRelativeDisadvantage:String(o.yourRelativeDisadvantage??""),identifiers:{subreddit:String(r.subreddit??""),appStoreId:String(r.appStoreId??""),appStoreQuery:String(r.appStoreQuery??""),domain:String(r.domain??"")},features:vt(o.features),metrics:a,notes:String(o.notes??"")}}):[]}function R1e(e){let t=typeof e=="object"&&e!==null?e:{};return{risks:vt(t.risks),testsNext:vt(t.testsNext),signalsToLookFor:vt(t.signalsToLookFor),missingData:vt(t.missingData),strongestOpening:String(t.strongestOpening??"").trim(),strongestSegment:String(t.strongestSegment??"").trim(),strongestChannelOpportunity:String(t.strongestChannelOpportunity??"").trim(),strongestSubstituteThreat:String(t.strongestSubstituteThreat??"").trim()}}function _1e(e){let t=typeof e=="object"&&e!==null?e:{},o=t.reachableAccountsOrUsers,r=o==null||String(o).trim()===""?null:Number(o);return{category:String(t.category??""),buyer:String(t.buyer??""),endUser:String(t.endUser??""),budgetOwner:String(t.budgetOwner??""),urgentJobToBeDone:String(t.urgentJobToBeDone??""),currentAlternatives:vt(t.currentAlternatives),marketTiming:String(t.marketTiming??""),replacementVsNetNew:String(t.replacementVsNetNew??""),reachableAccountsOrUsers:Number.isFinite(r)?r:null,spendingPatterns:String(t.spendingPatterns??""),marketGrowthRate:String(t.marketGrowthRate??""),notes:String(t.notes??"")}}function F1e(e){let t=typeof e=="object"&&e!==null?e:{};return(Array.isArray(t.segments)?t.segments:[]).map((r,n)=>{if(typeof r!="object"||r===null||Array.isArray(r))return null;let a=r,s=a.segmentSize,i=s==null||String(s).trim()===""?null:Number(s);return{id:String(a.id??`segment_${n+1}`),name:String(a.name??""),description:String(a.description??""),companySize:String(a.companySize??""),teamFunction:String(a.teamFunction??""),maturityStage:String(a.maturityStage??""),useCase:String(a.useCase??""),urgencyLevel:String(a.urgencyLevel??""),buyingMotion:String(a.buyingMotion??""),willingnessToPay:String(a.willingnessToPay??""),segmentSize:Number.isFinite(i)?i:null,likelyACV:String(a.likelyACV??""),salesCycle:String(a.salesCycle??""),painIntensity:Io(a.painIntensity),easeOfReach:Io(a.easeOfReach),timeToValue:Io(a.timeToValue),retentionPotential:Io(a.retentionPotential),supportBurden:Io(a.supportBurden),expansionPotential:Io(a.expansionPotential),recommended:a.recommended===!0,notes:String(a.notes??"")}}).filter(r=>!!r)}function H1e(e){return Array.isArray(e)?e.map((t,o)=>{if(typeof t!="object"||t===null||Array.isArray(t))return null;let r=t,n=String(r.type??"other").toLowerCase(),a=n==="spreadsheet"||n==="notion"||n==="agency"||n==="internal_workflow"||n==="do_nothing"?n:"other";return{id:String(r.id??`substitute_${o+1}`),type:a,name:String(r.name??""),whyPeopleUseIt:String(r.whyPeopleUseIt??""),whyTheyStickWithIt:String(r.whyTheyStickWithIt??""),biggestWeakness:String(r.biggestWeakness??""),yourAdvantage:String(r.yourAdvantage??""),notes:String(r.notes??"")}}).filter(t=>!!t):[]}function O1e(e){let t=typeof e=="object"&&e!==null?e:{};return{headlinePatterns:vt(t.headlinePatterns),ctaPatterns:vt(t.ctaPatterns),repeatedLanguage:vt(t.repeatedLanguage),categoryLanguage:vt(t.categoryLanguage),proofPatterns:vt(t.proofPatterns),messagingWhitespace:vt(t.messagingWhitespace),notes:String(t.notes??"")}}function V1e(e){let t=typeof e=="object"&&e!==null?e:{};return{channelPatterns:(Array.isArray(t.channelPatterns)?t.channelPatterns:[]).map(r=>{if(typeof r!="object"||r===null||Array.isArray(r))return null;let n=r;return{channel:String(n.channel??""),competitorsUsingIt:vt(n.competitorsUsingIt),saturation:Io(n.saturation),opportunity:String(n.opportunity??""),notes:String(n.notes??"")}}).filter(r=>!!r),topObservedChannels:vt(t.topObservedChannels),seoObservations:vt(t.seoObservations),directoriesAndReviewPresence:vt(t.directoriesAndReviewPresence),notes:String(t.notes??"")}}function N1e(e){let t=typeof e=="object"&&e!==null?e:{};return{topComplaintThemes:vt(t.topComplaintThemes),topDelightThemes:vt(t.topDelightThemes),onboardingPainPoints:vt(t.onboardingPainPoints),implementationPainPoints:vt(t.implementationPainPoints),churnTriggers:vt(t.churnTriggers),featureRequests:vt(t.featureRequests),happiestSegments:vt(t.happiestSegments),mostFrustratedSegments:vt(t.mostFrustratedSegments),repeatedLanguage:vt(t.repeatedLanguage),notes:String(t.notes??"")}}function z1e(e){let t=typeof e=="object"&&e!==null?e:{};return{proprietaryWorkflowPotential:String(t.proprietaryWorkflowPotential??""),embeddednessPotential:String(t.embeddednessPotential??""),switchingCostPotential:String(t.switchingCostPotential??""),dataAdvantagePotential:String(t.dataAdvantagePotential??""),distributionAdvantagePotential:String(t.distributionAdvantagePotential??""),integrationDependencyPotential:String(t.integrationDependencyPotential??""),notes:String(t.notes??"")}}function W1e({matched:e}){return(0,y.jsx)(E,{as:"span",display:"inline-flex",alignItems:"center",justifyContent:"center",w:"24px",h:"24px",borderRadius:"full",borderWidth:"1px",borderColor:e?"green.300":"gray.300",bg:e?"green.100":"gray.100",color:e?"green.700":"gray.500",fontSize:"sm",fontWeight:"bold","aria-label":e?"feature included":"feature missing",title:e?"Included":"Missing",children:e?"\u2713":"\u2013"})}function Ps({confidence:e,needsSource:t=!1}){let o=q6(e);return(0,y.jsx)($,{colorScheme:t?"red":o,variant:"subtle",textTransform:"capitalize",children:t?"Needs source":e})}function ni({children:e,colorScheme:t,variant:o="subtle"}){return(0,y.jsx)($,{colorScheme:t,variant:o,display:"inline-flex",alignItems:"flex-start",maxW:"100%",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",textAlign:"left",lineHeight:"1.25",py:1,children:e})}function Y0({children:e,colorScheme:t,variant:o="subtle"}){return(0,y.jsx)(e2,{size:"sm",colorScheme:t,variant:o,maxW:"100%",h:"auto",py:1,display:"inline-flex",alignItems:"flex-start",children:(0,y.jsx)(t2,{whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",lineHeight:"1.25",children:e})})}var JX=[$M,zM,sL,bM,SL,PM,jM,mL];function eY({icon:e,children:t}){return(0,y.jsxs)(Z,{align:"start",spacing:3,py:3,children:[(0,y.jsx)(E,{flexShrink:0,color:"brand.500",mt:"1px",children:(0,y.jsx)(e,{size:18,weight:"duotone"})}),(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:t})]})}function U1e({metric:e,value:t}){return(0,y.jsx)(e2,{size:"sm",variant:"subtle",colorScheme:"gray",maxW:"260px",children:(0,y.jsxs)(t2,{noOfLines:1,children:[oY(e),": ",t]})})}function rY({projectId:e,research:t,spec:o,readOnly:r=!1,onUpdateCompetitors:n}){let a=H0(),s=r2(),i=typeof o.choices=="object"&&o.choices!==null&&!Array.isArray(o.choices)?o.choices:{},l=typeof i.wedge=="object"&&i.wedge!==null&&!Array.isArray(i.wedge)?i.wedge:{},c=(0,ut.useMemo)(()=>E1e(l.options),[l.options]),u=String(l.selectedOptionId??"").trim(),m=c.find(R=>R.id===u)??null,f=(0,ut.useMemo)(()=>D1e(t.competitors),[t.competitors]),[d,p]=(0,ut.useState)(f),h=(0,ut.useMemo)(()=>vt(t.featureTags),[t.featureTags]),S=(0,ut.useMemo)(()=>_1e(t.marketDefinition),[t.marketDefinition]),g=(0,ut.useMemo)(()=>B1e(t.marketSizing),[t.marketSizing]),b=(0,ut.useMemo)(()=>F1e(t.segmentAnalysis),[t.segmentAnalysis]),I=(0,ut.useMemo)(()=>H1e(t.substitutes),[t.substitutes]),v=(0,ut.useMemo)(()=>O1e(t.positioningAnalysis),[t.positioningAnalysis]),C=(0,ut.useMemo)(()=>V1e(t.distributionAnalysis),[t.distributionAnalysis]),T=(0,ut.useMemo)(()=>N1e(t.customerSentiment),[t.customerSentiment]),w=(0,ut.useMemo)(()=>z1e(t.moatSignals),[t.moatSignals]),P=(0,ut.useMemo)(()=>R1e(t.validationInsights),[t.validationInsights]),[k,D]=(0,ut.useState)(null),[H,j]=(0,ut.useState)({}),[se,X]=(0,ut.useState)(!1),[le,re]=(0,ut.useState)(!1),W=(0,ut.useRef)(null),[de,q]=(0,ut.useState)(""),[me,he]=(0,ut.useState)(!1),[pe,Y]=(0,ut.useState)(null),[ee,J]=(0,ut.useState)(""),[ge,_]=(0,ut.useState)(!1),[fe,Ce]=(0,ut.useState)([]);(0,ut.useEffect)(()=>{p(f)},[f]);let ie=(0,ut.useMemo)(()=>{if(h.length>0)return Array.from(new Set(h.map(oc))).filter(Boolean);let R=new Set;for(let ae of d)for(let Fe of ae.features??[]){let Je=oc(Fe);Je&&R.add(Je)}return Array.from(R)},[h,d]),Ae=(0,ut.useMemo)(()=>{let R={};for(let ae of ie)R[ae]=0;for(let ae of d){let Fe=new Set((ae.features??[]).map(oc));for(let Je of ie)Fe.has(Je)&&(R[Je]+=1)}return R},[ie,d]),ye=(0,ut.useMemo)(()=>Object.entries(Ae).filter(([,R])=>R>1).sort((R,ae)=>ae[1]-R[1]).slice(0,5),[Ae]),Be=(0,ut.useMemo)(()=>Object.entries(Ae).filter(([,R])=>R<=1).sort((R,ae)=>R[1]-ae[1]).map(([R])=>R).slice(0,6),[Ae]),ce=P.testsNext.length>0?P.testsNext:Be.map(R=>`Differentiate around ${R} before competitors copy.`),Pe=b.find(R=>R.recommended)??null,Te=P.strongestOpening||ce[0]||"",De=P.strongestChannelOpportunity||C.channelPatterns.find(R=>R.saturation==="low")?.channel||"",Ct=(0,ut.useMemo)(()=>`${Math.max(900,220+ie.length*190)}px`,[ie.length]),He=[{label:"TAM",value:Number(g.tam.value??0),confidence:g.tam.confidence,source:g.tam.source},{label:"SAM",value:Number(g.sam.value??0),confidence:g.sam.confidence,source:g.sam.source},{label:"SOM",value:Number(g.som.value??0),confidence:g.som.confidence,source:g.som.source}],We={labels:He.map(R=>R.label),datasets:[{label:"Market size",data:He.map(R=>R.value),backgroundColor:[a.fill(a.series.blue),a.fill(a.series.green),a.fill(a.series.purple)],borderColor:[a.series.blue,a.series.green,a.series.purple],borderWidth:1,borderRadius:8}]},Qe={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:a.tooltipBackground,titleColor:a.tooltipTitleColor,bodyColor:a.tooltipBodyColor,borderColor:a.tooltipBorderColor,borderWidth:1,callbacks:{label(R){let ae=He[R.dataIndex];return`${ae.label}: ${Number(ae.value??0).toLocaleString()} (${ae.confidence})`},afterLabel(R){return`Source: ${He[R.dataIndex].source?.trim()||"\u2014"}`}}}},scales:{x:{ticks:{color:a.axisColor},grid:{color:a.gridColor},border:{color:a.borderColor}},y:{beginAtZero:!0,ticks:{color:a.axisColor},grid:{color:a.gridColor},border:{color:a.borderColor}}}},st=P1e(g),ne={position:"sticky",top:0,left:0,zIndex:4,bg:"surface.muted",borderInlineEndWidth:"1px",borderInlineEndColor:"surface.border","data-sticky":"start"},Re={position:"sticky",left:0,zIndex:1,borderInlineEndWidth:"1px",borderInlineEndColor:"surface.border","data-sticky":"start"},Ze={"thead th, tbody td":{borderInlineEndWidth:"1px",borderInlineEndColor:"surface.border"},"thead th:last-of-type, tbody td:last-of-type":{borderInlineEndWidth:0}};function it(R,ae){let Fe=$6(R.name,ae);D({key:Fe,competitor:R}),_(!1),Ce((R.features??[]).map(Je=>oc(Je))),Y(null),J("")}let Tn=(0,ut.useCallback)(async()=>{if(!r){X(!0);try{let R=await fetch(`/api/competitor-notes?projectId=${encodeURIComponent(e)}`,{method:"GET",cache:"no-store"}),ae=await R.json();if(!R.ok)throw new Error(ae.error??"Failed to load notes.");let Fe={};for(let Je of ae.notes??[]){let Zt=Je.competitor_key;Fe[Zt]||(Fe[Zt]=[]),Fe[Zt].push(Je)}j(Fe),q(ae.currentUserId??""),he(!!ae.canManageAllNotes)}catch(R){s({status:"error",title:R instanceof Error?R.message:"Failed to load notes.",duration:2800})}finally{X(!1)}}},[e,s,r]);(0,ut.useEffect)(()=>{Tn()},[Tn]);let Jt=k?H[k.key]??[]:[],Dn=k?Array.from(new Set([...ie,...(k.competitor.features??[]).map(R=>oc(R))])).filter(Boolean):ie;function ii(R){return me||de!==""&&R.created_by===de}async function Q(){if(!k)return;let R=W.current?.value.trim()??"";if(!R){s({status:"warning",title:"Note content is required.",duration:2200});return}re(!0);try{let ae=await fetch("/api/competitor-notes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e,competitorKey:k.key,competitorName:k.competitor.name,content:R})}),Fe=await ae.json();if(!ae.ok||!Fe.note)throw new Error(Fe.error??"Failed to create note.");j(Je=>{let Zt=Je[k.key]??[];return{...Je,[k.key]:[Fe.note,...Zt]}}),W.current&&(W.current.value="")}catch(ae){s({status:"error",title:ae instanceof Error?ae.message:"Failed to create note.",duration:2800})}finally{re(!1)}}async function bt(R){let ae=ee.trim();if(!ae){s({status:"warning",title:"Note content is required.",duration:2200});return}re(!0);try{let Fe=await fetch(`/api/competitor-notes/${R}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:ae})}),Je=await Fe.json();if(!Fe.ok||!Je.note)throw new Error(Je.error??"Failed to update note.");j(Zt=>{let li={};for(let[wa,Jr]of Object.entries(Zt))li[wa]=Jr.map(ci=>ci.id===R?Je.note:ci);return li}),Y(null),J("")}catch(Fe){s({status:"error",title:Fe instanceof Error?Fe.message:"Failed to update note.",duration:2800})}finally{re(!1)}}async function qt(R){re(!0);try{let ae=await fetch(`/api/competitor-notes/${R}`,{method:"DELETE"}),Fe=await ae.json();if(!ae.ok)throw new Error(Fe.error??"Failed to delete note.");j(Je=>{let Zt={};for(let[li,wa]of Object.entries(Je))Zt[li]=wa.filter(Jr=>Jr.id!==R);return Zt}),pe===R&&(Y(null),J(""))}catch(ae){s({status:"error",title:ae instanceof Error?ae.message:"Failed to delete note.",duration:2800})}finally{re(!1)}}async function Rn(R){if(r||!n)throw new Error("Open LaunchChair to edit competitor data.");let ae=await n({projectId:e,competitors:R});if(!ae.ok)throw new Error(ae.error)}async function kr(){if(!k)return;let R=d.map((ae,Fe)=>$6(ae.name,Fe)!==k.key?ae:{...ae,features:Array.from(new Set(fe.map(Zt=>oc(Zt)).filter(Boolean)))});try{re(!0),await Rn(R),p(R);let ae=R.find((Fe,Je)=>$6(Fe.name,Je)===k.key);ae&&D({key:k.key,competitor:ae}),_(!1),s({status:"success",title:"Features updated.",duration:2200})}catch(ae){s({status:"error",title:ae instanceof Error?ae.message:"Failed to save features.",duration:2800})}finally{re(!1)}}return(0,y.jsxs)(z,{spacing:5,children:[(0,y.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:(0,y.jsxs)(Hr,{variant:"line",colorScheme:"teal",children:[(0,y.jsxs)(Or,{children:[(0,y.jsx)(rt,{children:"Overview"}),(0,y.jsx)(rt,{children:"Competitors"}),(0,y.jsx)(rt,{children:"Customers + Segments"}),(0,y.jsx)(rt,{children:"Distribution + Opportunity"})]}),(0,y.jsxs)(Vr,{children:[(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Le,{columns:{base:1,md:2},spacing:4,children:[(0,y.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Z,{spacing:3,align:"start",children:[(0,y.jsx)(E,{w:"40px",h:"40px",borderRadius:"full",bg:"brand.50",color:"brand.500",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,children:(0,y.jsx)(da,{size:20,weight:"duotone"})}),(0,y.jsxs)(z,{spacing:.5,children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Market Definition"}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Core market framing for who this is for, why it matters now, and how the category should be understood."})]})]}),(0,y.jsx)(Le,{columns:{base:1,lg:2},spacing:3,children:[{label:"Category",value:S.category||"\u2014"},{label:"Buyer",value:S.buyer||"\u2014"},{label:"End user",value:S.endUser||"\u2014"},{label:"Budget owner",value:S.budgetOwner||"\u2014"},{label:"Replacement vs net-new",value:S.replacementVsNetNew||"\u2014"},{label:"Reachable accounts/users",value:typeof S.reachableAccountsOrUsers=="number"?S.reachableAccountsOrUsers.toLocaleString():S.reachableAccountsOrUsers||"\u2014"}].map(R=>{let ae=R.label==="Reachable accounts/users";return(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:2.5,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:R.label}),(0,y.jsx)(x,{mt:1,fontSize:ae?"lg":"sm",fontWeight:ae?"semibold":"normal",children:R.value})]},`market-definition-${R.label}`)})}),(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:3,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:"Urgent job"}),(0,y.jsx)(x,{mt:1.5,lineHeight:"1.7",children:S.urgentJobToBeDone||"\u2014"})]}),(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:3,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:"Timing"}),(0,y.jsx)(x,{mt:1.5,lineHeight:"1.7",children:S.marketTiming||"\u2014"})]})]})}),(0,y.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Z,{spacing:3,align:"start",children:[(0,y.jsx)(E,{w:"40px",h:"40px",borderRadius:"full",bg:"brand.50",color:"brand.500",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,children:(0,y.jsx)($n,{size:20,weight:"duotone"})}),(0,y.jsxs)(z,{spacing:.5,children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Strongest Opening"}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"The clearest initial positioning angle based on current market evidence."})]})]}),(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:3,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:"Opening statement"}),(0,y.jsx)(x,{mt:1.5,fontSize:"lg",fontWeight:"medium",lineHeight:"1.7",children:Te||"Not defined yet."})]}),(0,y.jsx)(z,{spacing:2.5,children:[{label:"Strongest segment",value:P.strongestSegment||Pe?.name||"\u2014"},{label:"Strongest channel",value:De||"\u2014"},{label:"Substitute threat",value:P.strongestSubstituteThreat||"\u2014"}].map(R=>(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",bg:"blue.50",borderColor:"blue.100",px:3,py:2.5,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"blue.700",textTransform:"uppercase",letterSpacing:"0.08em",children:R.label}),(0,y.jsx)(x,{mt:1,fontSize:"sm",fontWeight:"medium",lineHeight:"1.5",color:"blue.900",children:R.value})]},`strongest-opening-${R.label}`))})]})})]}),m?(0,y.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:(0,y.jsxs)(z,{spacing:3,children:[(0,y.jsx)(Z,{justify:"space-between",align:"start",flexWrap:"wrap",children:(0,y.jsxs)(Z,{spacing:2,children:[(0,y.jsx)($,{colorScheme:"purple",variant:"subtle",children:"Selected wedge direction"}),(0,y.jsx)(x,{fontWeight:"semibold",children:m.title})]})}),(()=>{let R=M1e(m.score);return(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{justify:"space-between",align:"baseline",children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:m.scoreLabel||"Wedge score"}),(0,y.jsxs)(x,{fontSize:"sm",fontWeight:"bold",color:R.textColor,children:[m.score,"%"]})]}),(0,y.jsx)(fa,{value:m.score,size:"sm",borderRadius:"full",bg:R.trackColor,colorScheme:R.colorScheme})]})})(),m.summary?(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:m.summary}):null,m.bullets.length>0?(0,y.jsx)(z,{spacing:2,children:m.bullets.map((R,ae)=>(0,y.jsx)(E,{borderWidth:"1px",borderRadius:"md",borderColor:"surface.border",bg:"surface.base",px:3,py:2.5,children:(0,y.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,y.jsx)(E,{color:"brand.400",flexShrink:0,pt:"1px",children:(0,y.jsx)($n,{size:20,weight:"duotone"})}),(0,y.jsx)(x,{fontSize:"sm",color:"text.default",children:R})]})},`selected-wedge-bullet-${ae}-${R}`))}):null]})}):null,(0,y.jsx)(x,{color:"text.muted",fontSize:"sm",children:"Detailed market sizing, validation dashboard, and full competitor intelligence remain available below."})]})}),(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Le,{columns:{base:1,md:3},spacing:4,children:[(0,y.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Competitors mapped"}),(0,y.jsx)(x,{fontSize:"2xl",fontWeight:"bold",children:d.length}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Direct + indirect + substitutes."})]}),(0,y.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Top observed channels"}),(0,y.jsx)(x,{fontSize:"sm",children:(C.topObservedChannels.length>0?C.topObservedChannels:C.channelPatterns.map(R=>R.channel)).slice(0,4).join(", ")||"\u2014"})]}),(0,y.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Messaging whitespace"}),(0,y.jsx)(x,{fontSize:"sm",children:v.messagingWhitespace.slice(0,3).join(", ")||"No whitespace captured yet."})]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Messaging / Positioning Gap"}),(0,y.jsxs)(Le,{columns:{base:1,md:2},spacing:3,children:[(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Repeated language"}),v.repeatedLanguage.length>0?(0,y.jsx)(at,{children:v.repeatedLanguage.slice(0,6).map((R,ae)=>(0,y.jsx)(Ge,{children:R},`repeated-language-${ae}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",fontSize:"sm",children:"No repeated language captured yet."})]}),(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"CTA patterns"}),v.ctaPatterns.length>0?(0,y.jsx)(at,{children:v.ctaPatterns.slice(0,6).map((R,ae)=>(0,y.jsx)(Ge,{children:R},`cta-pattern-${ae}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",fontSize:"sm",children:"No CTA pattern data yet."})]})]})]})]})}),(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:3,children:"Segment Attractiveness"}),b.length>0?(0,y.jsx)(Ka,{style:{maxHeight:"360px"},children:(0,y.jsxs)(ja,{size:"sm",w:"full",minW:"940px",sx:{...Ze},children:[(0,y.jsx)(vs,{children:(0,y.jsxs)(yo,{children:[(0,y.jsx)(Ee,{children:"Segment"}),(0,y.jsx)(Ee,{children:"Pain"}),(0,y.jsx)(Ee,{children:"Reach"}),(0,y.jsx)(Ee,{children:"TTV"}),(0,y.jsx)(Ee,{children:"Retention"}),(0,y.jsx)(Ee,{children:"Support"}),(0,y.jsx)(Ee,{children:"Expansion"}),(0,y.jsx)(Ee,{children:"Recommended"})]})}),(0,y.jsx)(Is,{children:b.map((R,ae)=>(0,y.jsxs)(yo,{children:[(0,y.jsxs)(we,{children:[(0,y.jsx)(x,{fontWeight:"semibold",children:R.name||"\u2014"}),(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",children:R.useCase||R.description||"\u2014"})]}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:R.painIntensity})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:R.easeOfReach})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:R.timeToValue})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:R.retentionPotential})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:R.supportBurden})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:R.expansionPotential})}),(0,y.jsx)(we,{children:R.recommended?(0,y.jsx)($,{colorScheme:"green",children:"Yes"}):(0,y.jsx)($,{children:"No"})})]},`${R.id||"segment"}-${ae}`))})]})}):(0,y.jsx)(x,{color:"text.muted",children:"No segment analysis captured yet."})]}),(0,y.jsxs)(Le,{columns:{base:1,md:2},spacing:4,children:[(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Substitute Behaviors"}),I.length>0?(0,y.jsx)(z,{spacing:3,children:I.slice(0,6).map((R,ae)=>(0,y.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",p:3,bg:"surface.muted",children:[(0,y.jsxs)(Z,{justify:"space-between",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:R.name||"Unnamed substitute"}),(0,y.jsx)($,{textTransform:"capitalize",children:R.type.replace(/_/g," ")})]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Why used:"})," ",R.whyPeopleUseIt||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Biggest weakness:"})," ",R.biggestWeakness||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Your opening:"})," ",R.yourAdvantage||"\u2014"]})]},`${R.id||R.name||R.type}-${ae}`))}):(0,y.jsx)(x,{color:"text.muted",children:"No substitute behavior data yet."})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Customer Sentiment Themes"}),(0,y.jsxs)(Le,{columns:1,spacing:3,children:[(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Top complaints"}),(0,y.jsx)(x,{fontSize:"sm",children:T.topComplaintThemes.slice(0,5).join(", ")||"\u2014"})]}),(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Top delight themes"}),(0,y.jsx)(x,{fontSize:"sm",children:T.topDelightThemes.slice(0,5).join(", ")||"\u2014"})]}),(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Onboarding pain points"}),(0,y.jsx)(x,{fontSize:"sm",children:T.onboardingPainPoints.slice(0,5).join(", ")||"\u2014"})]}),(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Churn triggers"}),(0,y.jsx)(x,{fontSize:"sm",children:T.churnTriggers.slice(0,5).join(", ")||"\u2014"})]})]})]})]})]})}),(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:3,children:"Distribution Analysis"}),C.channelPatterns.length>0?(0,y.jsx)(Ka,{style:{maxHeight:"360px"},children:(0,y.jsxs)(ja,{size:"sm",w:"full",minW:"840px",sx:{...Ze},children:[(0,y.jsx)(vs,{children:(0,y.jsxs)(yo,{children:[(0,y.jsx)(Ee,{children:"Channel"}),(0,y.jsx)(Ee,{children:"Saturation"}),(0,y.jsx)(Ee,{children:"Competitors using it"}),(0,y.jsx)(Ee,{children:"Opportunity"})]})}),(0,y.jsx)(Is,{children:C.channelPatterns.map((R,ae)=>(0,y.jsxs)(yo,{children:[(0,y.jsx)(we,{textTransform:"capitalize",children:R.channel.replace(/_/g," ")}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:R.saturation})}),(0,y.jsx)(we,{children:R.competitorsUsingIt.slice(0,3).join(", ")||"\u2014"}),(0,y.jsx)(we,{children:R.opportunity||"\u2014"})]},`${R.channel||"channel"}-${R.opportunity||"opportunity"}-${ae}`))})]})}):(0,y.jsx)(x,{color:"text.muted",children:"No channel pattern data yet."})]}),(0,y.jsxs)(Le,{columns:{base:1,md:2},spacing:4,children:[(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Moat Signals"}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Workflow:"})," ",w.proprietaryWorkflowPotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Embeddedness:"})," ",w.embeddednessPotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Switching cost:"})," ",w.switchingCostPotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Data advantage:"})," ",w.dataAdvantagePotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Distribution:"})," ",w.distributionAdvantagePotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Integration dependency:"})," ",w.integrationDependencyPotential||"\u2014"]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Opportunity Focus"}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Opening:"})," ",Te||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Segment:"})," ",P.strongestSegment||Pe?.name||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Channel:"})," ",De||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Substitute threat:"})," ",P.strongestSubstituteThreat||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",mt:2,children:[(0,y.jsx)("strong",{children:"Wedge opportunities:"})," ",ce.slice(0,3).join(" | ")||"No wedge opportunities captured yet."]})]})]})]})})]})]})}),(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:[(0,y.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,mb:3,children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Market Sizing"}),st?(0,y.jsx)(wn,{href:`/app/phases/market_validation/competitor_map?projectId=${e}`,children:(0,y.jsx)(gt,{size:"sm",colorScheme:"brand",variant:"outline",children:"Generate from Competitor Map"})}):null]}),st?(0,y.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,y.jsx)(pt,{}),(0,y.jsx)(ht,{children:"TAM/SAM/SOM is missing. Run the Competitor Map bucket to generate market sizing with assumptions and sources."})]}):(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsx)(Le,{columns:3,spacing:3,children:[{key:"tam",label:"TAM",value:g.tam},{key:"sam",label:"SAM",value:g.sam},{key:"som",label:"SOM",value:g.som}].map(R=>(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{justify:"space-between",mb:1,children:[(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:R.label}),(0,y.jsx)($,{colorScheme:q6(Io(R.value.confidence)),children:Io(R.value.confidence)})]}),(0,y.jsxs)(x,{fontWeight:"semibold",children:[Number(R.value.value??0).toLocaleString()," ",R.value.unit||"USD"]}),(0,y.jsxs)(x,{fontSize:"xs",color:"gray.500",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",children:["Source: ",R.value.source||"\u2014"]})]},R.key))}),(0,y.jsx)(E,{h:"260px",children:(0,y.jsx)(F0,{data:We,options:Qe})}),g.assumptions.length>0?(0,y.jsxs)(E,{children:[(0,y.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:2,flexWrap:"wrap",spacing:2,children:[(0,y.jsx)(x,{fontWeight:"medium",children:"Assumptions"}),(0,y.jsxs)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:[g.assumptions.length," sizing inputs"]})]}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:"The estimates above depend on the operating assumptions below."}),(0,y.jsx)(z,{spacing:0,divider:(0,y.jsx)(io,{borderColor:"surface.border"}),children:g.assumptions.map((R,ae)=>(0,y.jsx)(eY,{icon:JX[ae%JX.length],children:R},`assumption-${ae}-${R}`))})]}):null]})]}),(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:0,bg:"surface.base",overflow:"hidden",children:[(0,y.jsx)(Z,{justify:"space-between",align:"center",px:5,pt:5,pb:3,children:(0,y.jsx)(x,{fontWeight:"semibold",children:"Competitor Intelligence"})}),(0,y.jsx)(E,{maxW:"full",position:"relative",children:(0,y.jsx)(Ka,{style:{maxHeight:"560px"},children:(0,y.jsxs)(ja,{size:"sm","data-interactive":"true",w:"max-content",minW:"100%",sx:{"thead th":{bg:"surface.muted"},"tbody tr:nth-of-type(even) td":{bg:"gray.50"},"tbody tr":{transitionProperty:"background-color",transitionDuration:"140ms"},"thead th:nth-of-type(1), tbody td:nth-of-type(1)":{minW:"180px",maxW:"200px"},"thead th:nth-of-type(2), tbody td:nth-of-type(2)":{minW:"120px",maxW:"140px"},"thead th:nth-of-type(3), tbody td:nth-of-type(3)":{minW:"300px",maxW:"340px"},"thead th:nth-of-type(4), tbody td:nth-of-type(4)":{minW:"300px",maxW:"340px"},"thead th:nth-of-type(5), tbody td:nth-of-type(5)":{minW:"240px",maxW:"280px"},"thead th:nth-of-type(6), tbody td:nth-of-type(6)":{minW:"220px",maxW:"260px"},"thead th:nth-of-type(7), tbody td:nth-of-type(7)":{minW:"180px",maxW:"220px"},"thead th:nth-of-type(8), tbody td:nth-of-type(8)":{minW:"190px",maxW:"240px"},"thead th:nth-of-type(9), tbody td:nth-of-type(9)":{minW:"140px",maxW:"160px"},"thead th:nth-of-type(10), tbody td:nth-of-type(10)":{minW:"220px",maxW:"260px"},"thead th:nth-of-type(11), tbody td:nth-of-type(11)":{minW:"120px"},"thead th:nth-of-type(12), tbody td:nth-of-type(12)":{minW:"130px"},"thead th:nth-of-type(13), tbody td:nth-of-type(13)":{minW:"130px"},"thead th:nth-of-type(14), tbody td:nth-of-type(14)":{minW:"120px"},"thead th:nth-of-type(15), tbody td:nth-of-type(15)":{minW:"240px"},"thead th:nth-of-type(16), tbody td:nth-of-type(16)":{minW:"120px"},"thead th:nth-of-type(17), tbody td:nth-of-type(17)":{minW:"110px"},"thead th:nth-of-type(18), tbody td:nth-of-type(18)":{minW:"90px"},"thead th:nth-of-type(19), tbody td:nth-of-type(19)":{minW:"90px"},...Ze},children:[(0,y.jsx)(vs,{children:(0,y.jsxs)(yo,{children:[(0,y.jsx)(Ee,{...ne,whiteSpace:"nowrap",children:"Name"}),(0,y.jsx)(Ee,{children:"Type"}),(0,y.jsx)(Ee,{children:"Target ICP"}),(0,y.jsx)(Ee,{children:"Buyer / End User"}),(0,y.jsx)(Ee,{children:"Core Promise"}),(0,y.jsx)(Ee,{children:"Onboarding"}),(0,y.jsx)(Ee,{children:"Category"}),(0,y.jsx)(Ee,{children:"Pricing"}),(0,y.jsx)(Ee,{children:"Entry Price"}),(0,y.jsx)(Ee,{children:"Channels"}),(0,y.jsx)(Ee,{children:"SEO"}),(0,y.jsx)(Ee,{children:"Integration"}),(0,y.jsx)(Ee,{children:"Enterprise"}),(0,y.jsx)(Ee,{children:"Brand"}),(0,y.jsx)(Ee,{children:"Key Metrics"}),(0,y.jsx)(Ee,{children:"Confidence"}),(0,y.jsx)(Ee,{children:"Feature Count"}),(0,y.jsx)(Ee,{children:"Notes"}),(0,y.jsx)(Ee,{textAlign:"right",children:"Details"})]})}),(0,y.jsx)(Is,{children:d.length>0?d.map((R,ae)=>{let Fe=L1e(R.metrics??[]),Je=u9(R),Zt=ae%2===0?"white":"gray.50",li=$6(R.name,ae),wa=(H[li]??[]).length;return(0,y.jsxs)(yo,{cursor:"pointer",onClick:()=>it(R,ae),onKeyDown:Jr=>{(Jr.key==="Enter"||Jr.key===" ")&&(Jr.preventDefault(),it(R,ae))},tabIndex:0,role:"button","aria-label":`View details for ${R.name||"competitor"}`,children:[(0,y.jsx)(we,{...Re,bg:Zt,fontWeight:"semibold",maxW:"200px",children:(0,y.jsx)(x,{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",title:R.name||"\u2014",children:R.name||"\u2014"})}),(0,y.jsx)(we,{textTransform:"capitalize",children:(0,y.jsx)($,{colorScheme:KX(R.type),variant:"subtle",children:R.type||"direct"})}),(0,y.jsx)(we,{children:(0,y.jsx)(x,{noOfLines:2,children:R.targetIcp||"\u2014"})}),(0,y.jsxs)(we,{children:[(0,y.jsx)(x,{noOfLines:2,children:R.buyer||"\u2014"}),(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",noOfLines:1,children:R.endUser||"\u2014"})]}),(0,y.jsx)(we,{maxW:"220px",children:(0,y.jsx)(x,{noOfLines:2,children:R.corePromise||R.categoryClaim||"\u2014"})}),(0,y.jsx)(we,{children:(0,y.jsx)(x,{noOfLines:2,children:R.onboardingModel||"\u2014"})}),(0,y.jsx)(we,{children:(0,y.jsx)(x,{noOfLines:2,children:R.category||"\u2014"})}),(0,y.jsx)(we,{maxW:"240px",children:(0,y.jsx)($,{colorScheme:m9(R.pricingModel),variant:"subtle",display:"inline-block",maxW:"100%",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",lineHeight:"1.25",fontSize:"xs",py:1,children:R.pricingModel||"unknown"})}),(0,y.jsx)(we,{children:(0,y.jsx)(x,{noOfLines:2,children:R.entryPrice||"\u2014"})}),(0,y.jsx)(we,{children:(R.acquisitionChannels??[]).length>0?(0,y.jsx)(x,{noOfLines:2,children:R.acquisitionChannels.slice(0,3).join(", ")}):"\u2014"}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:Io(R.seoStrength)})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:Io(R.integrationDepth)})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:Io(R.enterpriseReadiness)})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:Io(R.perceivedBrandStrength)})}),(0,y.jsx)(we,{children:(0,y.jsx)(z,{spacing:1,children:Fe.length>0?Fe.map((Jr,ci)=>(0,y.jsx)(U1e,{metric:Jr.metric,value:YX(Jr)},`${Jr.metric}-${Jr.date}-${ci}`)):(0,y.jsx)(x,{fontSize:"xs",color:"gray.500",children:"No metrics"})})}),(0,y.jsx)(we,{children:(0,y.jsx)(Ps,{confidence:Je})}),(0,y.jsx)(we,{children:(R.features??[]).length}),(0,y.jsx)(we,{children:(0,y.jsx)($,{colorScheme:wa>0?"blue":"gray",children:wa})}),(0,y.jsx)(we,{textAlign:"right",color:"text.muted",fontWeight:"semibold",children:"View"})]},`${R.name}-${ae}`)}):(0,y.jsx)(yo,{children:(0,y.jsx)(we,{colSpan:19,children:"No competitors yet."})})})]})})})]}),(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:0,bg:"surface.base",overflow:"hidden",children:[(0,y.jsx)(E,{px:5,pt:5,pb:3,children:(0,y.jsx)(x,{fontWeight:"semibold",children:"Feature Overlap"})}),d.length===0||ie.length===0?(0,y.jsx)(E,{px:5,pb:5,children:(0,y.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,y.jsx)(pt,{}),(0,y.jsx)(ht,{children:"Add competitor features and feature tags in Competitor Map to unlock overlap insights."})]})}):(0,y.jsxs)(z,{spacing:4,px:5,pb:5,children:[(0,y.jsx)(E,{maxW:"full",position:"relative",children:(0,y.jsx)(Ka,{style:{maxHeight:"520px"},children:(0,y.jsxs)(ja,{size:"sm",variant:"simple",w:"max-content",minW:Ct,sx:{"thead th":{bg:"surface.muted"},"tbody tr:nth-of-type(even) td":{bg:"gray.50"},"thead th:first-of-type, tbody td:first-of-type":{minW:"220px",maxW:"220px"},"thead th:not(:first-of-type), tbody td:not(:first-of-type)":{minW:"190px",maxW:"190px"},...Ze},children:[(0,y.jsx)(vs,{children:(0,y.jsxs)(yo,{children:[(0,y.jsx)(Ee,{...ne,children:"Competitor"}),ie.map(R=>(0,y.jsx)(Ee,{whiteSpace:"nowrap",children:gf(R)},R))]})}),(0,y.jsx)(Is,{children:d.map((R,ae)=>{let Fe=new Set((R.features??[]).map(oc)),Je=ae%2===0?"white":"gray.50";return(0,y.jsxs)(yo,{children:[(0,y.jsx)(we,{...Re,bg:Je,fontWeight:"medium",maxW:"220px",children:(0,y.jsx)(x,{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",title:R.name||"\u2014",children:R.name||"\u2014"})}),ie.map(Zt=>(0,y.jsx)(we,{textAlign:"center",py:2,children:(0,y.jsx)(W1e,{matched:Fe.has(Zt)})},`${R.name}-${Zt}`))]},`${R.name}-${ae}`)})})]})})}),(0,y.jsxs)(Z,{align:"start",spacing:4,flexWrap:"wrap",children:[(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:3,minW:"280px",flex:"1",children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Top shared features"}),ye.length>0?(0,y.jsx)(z,{spacing:2.5,children:ye.map(([R,ae])=>(0,y.jsxs)(Z,{justify:"space-between",align:"start",spacing:3,children:[(0,y.jsxs)(Z,{align:"start",spacing:2.5,minW:0,children:[(0,y.jsx)(E,{flexShrink:0,color:"brand.500",mt:"1px",children:(0,y.jsx)(AM,{size:18,weight:"duotone"})}),(0,y.jsx)(x,{minW:0,children:gf(R)})]}),(0,y.jsxs)($,{variant:"subtle",colorScheme:"purple",flexShrink:0,children:[ae,"/",d.length]})]},R))}):(0,y.jsx)(x,{color:"gray.500",children:"No repeated feature clusters yet."})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderRadius:"md",p:3,minW:"280px",flex:"1",children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"White-space tags"}),Be.length>0?(0,y.jsx)(tt,{children:Be.map(R=>(0,y.jsx)(Se,{children:(0,y.jsx)($,{colorScheme:"purple",variant:"subtle",children:gf(R)})},R))}):(0,y.jsx)(x,{color:"gray.500",children:"No obvious white-space tags from current data."})]})]}),(0,y.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Your wedge opportunities"}),ce.length>0?(0,y.jsx)(z,{spacing:0,divider:(0,y.jsx)(io,{borderColor:"surface.border"}),children:ce.map((R,ae)=>(0,y.jsx)(eY,{icon:d2,children:R},`wedge-opportunity-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"Add tests and signals to identify wedge opportunities."})]})]})]}),(0,y.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:[(0,y.jsx)(x,{fontWeight:"semibold",mb:3,children:"Validation Dashboard"}),(0,y.jsxs)(Le,{columns:{base:1,lg:3},spacing:4,children:[(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{spacing:2,color:"brand.600",children:[(0,y.jsx)(pa,{size:18}),(0,y.jsx)(x,{fontWeight:"medium",color:"text.default",children:"Risks"})]}),P.risks.length>0?(0,y.jsx)(z,{spacing:2,children:P.risks.map((R,ae)=>(0,y.jsx)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2.5,bg:"surface.muted",children:(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:R})},`validation-risk-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"No risks captured yet."})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{spacing:2,color:"brand.600",children:[(0,y.jsx)(Di,{size:18}),(0,y.jsx)(x,{fontWeight:"medium",color:"text.default",children:"Tests next"})]}),P.testsNext.length>0?(0,y.jsx)(z,{spacing:2,children:P.testsNext.map((R,ae)=>(0,y.jsx)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2.5,bg:"surface.muted",children:(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:R})},`validation-test-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"No test plan captured yet."})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{spacing:2,color:"brand.600",children:[(0,y.jsx)(r8,{size:18}),(0,y.jsx)(x,{fontWeight:"medium",color:"text.default",children:"Signals to look for"})]}),P.signalsToLookFor.length>0?(0,y.jsx)(z,{spacing:2,children:P.signalsToLookFor.map((R,ae)=>(0,y.jsx)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2.5,bg:"surface.muted",children:(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:R})},`validation-signal-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"No signal definitions captured yet."})]})]})]}),(0,y.jsxs)(zk,{isOpen:!!k,placement:"right",onClose:()=>{D(null),Y(null),J(""),W.current&&(W.current.value=""),_(!1),Ce([])},size:"lg",children:[(0,y.jsx)(y0,{}),(0,y.jsxs)(A4,{children:[(0,y.jsx)(g0,{}),(0,y.jsx)(b0,{children:k?.competitor.name||"Competitor details"}),(0,y.jsx)(h0,{p:0,overflow:"hidden",children:(0,y.jsx)(Ka,{fill:!0,children:(0,y.jsx)(E,{p:4,children:k?(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:(0,y.jsxs)(tt,{spacing:2,children:[(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Y0,{colorScheme:KX(k.competitor.type),children:(0,y.jsx)(x,{as:"span",textTransform:"capitalize",children:k.competitor.type||"direct"})})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Y0,{colorScheme:m9(k.competitor.pricingModel),children:k.competitor.pricingModel||"unknown pricing"})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(Y0,{colorScheme:q6(u9(k.competitor)),children:["Confidence: ",u9(k.competitor)]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(Y0,{colorScheme:"blue",children:[Jt.length," team notes"]})})]})}),(0,y.jsxs)(Le,{columns:{base:1,md:2},spacing:3,children:[(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(da,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"ICP + Buyer"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Target ICP"}),(0,y.jsx)(x,{children:k.competitor.targetIcp||"\u2014"})]}),(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Buyer / End user"}),(0,y.jsx)(x,{children:k.competitor.buyer||"\u2014"}),(0,y.jsxs)(x,{fontSize:"sm",color:"text.muted",children:["End user: ",k.competitor.endUser||"\u2014"]})]})]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)($n,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Positioning"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Core promise"}),(0,y.jsx)(x,{children:k.competitor.corePromise||"\u2014"})]}),(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Category claim"}),(0,y.jsx)(x,{children:k.competitor.categoryClaim||"\u2014"})]}),(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Category"}),(0,y.jsx)(x,{children:k.competitor.category||"\u2014"})]})]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(BM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Onboarding + Pricing"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(x,{children:["Onboarding: ",k.competitor.onboardingModel||"\u2014"]}),(0,y.jsxs)(tt,{spacing:2,maxW:"full",children:[(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{colorScheme:m9(k.competitor.pricingModel),children:["Model: ",k.competitor.pricingModel||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{children:["Entry: ",k.competitor.entryPrice||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{children:["Free: ",k.competitor.freeModel||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{children:["Annual: ",k.competitor.annualDiscount||"\u2014"]})})]})]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(bL,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Strengths + Risks"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(x,{children:["Best feature: ",k.competitor.bestFeature||"\u2014"]}),(0,y.jsxs)(x,{children:["Biggest weakness: ",k.competitor.biggestWeakness||"\u2014"]}),(0,y.jsxs)(x,{color:"text.muted",children:["Biggest complaint: ",k.competitor.biggestComplaint||"\u2014"]})]})]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(IM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Channels + Sentiment Themes"})]}),(0,y.jsxs)(z,{spacing:3,children:[(0,y.jsxs)(E,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Acquisition channels"}),(k.competitor.acquisitionChannels??[]).length>0?(0,y.jsx)(tt,{spacing:2,maxW:"full",children:k.competitor.acquisitionChannels.map((R,ae)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Y0,{colorScheme:"teal",children:R})},`acquisition-channel-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"\u2014"})]}),(0,y.jsxs)(Le,{columns:{base:1,md:3},spacing:3,children:[(0,y.jsxs)(E,{minW:0,children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Review themes"}),(k.competitor.reviewThemes??[]).length>0?(0,y.jsx)(tt,{spacing:2,maxW:"full",children:k.competitor.reviewThemes.map((R,ae)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(ni,{children:R})},`review-theme-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"\u2014"})]}),(0,y.jsxs)(E,{minW:0,children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Praise themes"}),(k.competitor.praiseThemes??[]).length>0?(0,y.jsx)(tt,{spacing:2,maxW:"full",children:k.competitor.praiseThemes.map((R,ae)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(ni,{colorScheme:"green",children:R})},`praise-theme-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"\u2014"})]}),(0,y.jsxs)(E,{minW:0,children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Complaint themes"}),(k.competitor.complaintThemes??[]).length>0?(0,y.jsx)(tt,{spacing:2,maxW:"full",children:k.competitor.complaintThemes.map((R,ae)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(ni,{colorScheme:"red",children:R})},`complaint-theme-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"\u2014"})]})]})]})]}),(0,y.jsxs)(Le,{columns:{base:1,md:2},spacing:3,children:[(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(Di,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Relative Position"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(x,{children:["Advantage: ",k.competitor.yourRelativeAdvantage||"\u2014"]}),(0,y.jsxs)(x,{children:["Disadvantage: ",k.competitor.yourRelativeDisadvantage||"\u2014"]})]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(UM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Website + Enrichment IDs"})]}),(0,y.jsxs)(z,{spacing:2,children:[k.competitor.url?(0,y.jsx)(wn,{href:k.competitor.url,target:"_blank",rel:"noreferrer",children:(0,y.jsx)(x,{color:"blue.500",children:k.competitor.url})}):(0,y.jsx)(x,{children:"\u2014"}),(0,y.jsxs)(tt,{spacing:2,maxW:"full",children:[(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{children:["Subreddit: ",k.competitor.identifiers.subreddit||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{children:["App Store ID: ",k.competitor.identifiers.appStoreId||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{children:["App Store Query: ",k.competitor.identifiers.appStoreQuery||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ni,{children:["Domain: ",k.competitor.identifiers.domain||"\u2014"]})})]})]})]})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{justify:"space-between",align:"center",mb:2,children:[(0,y.jsxs)(Z,{spacing:2,children:[(0,y.jsx)(QM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Features"})]}),(0,y.jsx)(Z,{spacing:2,display:r?"none":void 0,children:ge?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(gt,{size:"xs",variant:"ghost",onClick:()=>{_(!1),Ce((k.competitor.features??[]).map(R=>oc(R)))},children:"Cancel"}),(0,y.jsx)(gt,{size:"xs",colorScheme:"brand",isLoading:le,onClick:()=>{kr()},children:"Save features"})]}):(0,y.jsx)(gt,{size:"xs",variant:"outline",onClick:()=>{_(!0),Ce((k.competitor.features??[]).map(R=>oc(R)))},children:"Edit features"})})]}),ge?Dn.length>0?(0,y.jsx)(Le,{columns:{base:1,sm:2},spacing:2,children:Dn.map((R,ae)=>(0,y.jsx)(WI,{isChecked:fe.includes(R),onChange:Fe=>{Ce(Je=>Fe.target.checked?Array.from(new Set([...Je,R])):Je.filter(Zt=>Zt!==R))},children:gf(R)},`feature-option-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"No feature tags available yet."}):(k.competitor.features??[]).length>0?(0,y.jsx)(tt,{spacing:2,maxW:"full",children:k.competitor.features.map((R,ae)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Y0,{colorScheme:"blue",children:gf(R)})},`selected-feature-${ae}-${R}`))}):(0,y.jsx)(x,{color:"gray.500",children:"No features listed."})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(r8,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Metrics"})]}),(k.competitor.metrics??[]).length>0?(0,y.jsx)(E,{maxW:"full",children:(0,y.jsx)(Ka,{style:{maxHeight:"300px"},children:(0,y.jsxs)(ja,{size:"sm",w:"full",minW:"680px",sx:{...Ze},children:[(0,y.jsx)(vs,{children:(0,y.jsxs)(yo,{children:[(0,y.jsx)(Ee,{children:"Metric"}),(0,y.jsx)(Ee,{children:"Value"}),(0,y.jsx)(Ee,{children:"Date"}),(0,y.jsx)(Ee,{children:"Source"}),(0,y.jsx)(Ee,{children:"Confidence"})]})}),(0,y.jsx)(Is,{children:k.competitor.metrics.map((R,ae)=>{let Fe=!R.source?.trim(),Je=tY(R);return(0,y.jsxs)(yo,{children:[(0,y.jsx)(we,{children:oY(R.metric||"metric")}),(0,y.jsx)(we,{children:YX(R)}),(0,y.jsx)(we,{children:R.date||"\u2014"}),(0,y.jsx)(we,{children:(0,y.jsxs)(z,{spacing:1,children:[(0,y.jsx)(x,{fontSize:"xs",children:R.source||"\u2014"}),Fe?(0,y.jsx)($,{colorScheme:"red",children:"needs source"}):null]})}),(0,y.jsx)(we,{children:(0,y.jsx)($,{colorScheme:q6(Je),children:Je})})]},`${R.metric}-${ae}`)})})]})})}):(0,y.jsx)(x,{color:"gray.500",children:"No metrics listed."})]}),(0,y.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(hM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Spec Notes"})]}),(0,y.jsx)(E4,{label:k.competitor.notes||"No notes",openDelay:350,children:(0,y.jsx)(x,{color:"text.default",children:k.competitor.notes||"\u2014"})})]}),(0,y.jsxs)(E,{display:r?"none":void 0,borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{justify:"space-between",align:"center",mb:2,children:[(0,y.jsxs)(Z,{spacing:2,children:[(0,y.jsx)(tL,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Team Notes"}),(0,y.jsx)($,{colorScheme:Jt.length>0?"blue":"gray",variant:"subtle",children:Jt.length})]}),(0,y.jsx)(x,{fontSize:"sm",color:"gray.500",children:"Visible to workspace members"})]}),(0,y.jsx)(z,{spacing:3,children:se?(0,y.jsxs)(Z,{children:[(0,y.jsx)(su,{size:"sm"}),(0,y.jsx)(x,{fontSize:"sm",color:"gray.500",children:"Loading notes..."})]}):Jt.length>0?Jt.map(R=>{let ae=ii(R),Fe=pe===R.id,Je=R.updated_at!==R.created_at;return(0,y.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:Fe?(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsx)(o2,{value:ee,onChange:Zt=>J(Zt.target.value),rows:3}),(0,y.jsxs)(Z,{justify:"end",children:[(0,y.jsx)(gt,{size:"xs",variant:"ghost",onClick:()=>{Y(null),J("")},children:"Cancel"}),(0,y.jsx)(gt,{size:"xs",colorScheme:"brand",isLoading:le,onClick:()=>{bt(R.id)},children:"Save"})]})]}):(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsx)(x,{whiteSpace:"pre-wrap",children:R.content}),(0,y.jsxs)(x,{fontSize:"xs",color:"gray.500",children:["Posted by ",R.created_by_email||"unknown"," on ",QX(R.created_at),Je?` \xB7 edited ${QX(R.updated_at)}`:""]}),ae?(0,y.jsxs)(Z,{justify:"end",children:[(0,y.jsx)(gt,{size:"xs",variant:"outline",onClick:()=>{Y(R.id),J(R.content)},children:"Edit"}),(0,y.jsx)(gt,{size:"xs",colorScheme:"red",variant:"outline",isLoading:le,onClick:()=>{qt(R.id)},children:"Delete"})]}):null]})},R.id)}):(0,y.jsx)(x,{fontSize:"sm",color:"gray.500",children:"No notes yet."})}),(0,y.jsx)(io,{my:4}),(0,y.jsxs)(z,{spacing:3,children:[(0,y.jsxs)(Xp,{children:[(0,y.jsx)(l4,{fontSize:"sm",color:"text.muted",children:"Add note"}),(0,y.jsx)(o2,{ref:W,placeholder:"Add insight, decision, or follow-up.",rows:3})]}),(0,y.jsx)(Z,{justify:"end",children:(0,y.jsx)(gt,{size:"sm",colorScheme:"brand",onClick:()=>{Q()},isLoading:le,children:"Post note"})})]})]})]}):null})})})]})]})]})}function nY(e){let t=(e.style??"avataaars").trim()||"avataaars",o=(e.seed??"").trim()||"persona";return`https://api.dicebear.com/9.x/${encodeURIComponent(t)}/svg?seed=${encodeURIComponent(o)}`}var d9=M(oe());un.register(Hi,Oi,ti,_0,R0);function Z1e(e,t){let o=e.toLowerCase();return o.includes("subscription")?t.blue:o.includes("free")?t.green:o.includes("ads")?t.yellow:o.includes("usage")?t.purple:o.includes("one_time")?t.orange:o.includes("hybrid")?t.teal:t.gray}var j1e=["subscription","free","ads","usage","one_time","hybrid","unknown"];function aY(e){let t=e.trim().toLowerCase();return t?t.includes("subscription")?"subscription":t.includes("free")?"free":t.includes("ads")?"ads":t.includes("usage")?"usage":t.includes("one_time")?"one_time":t.includes("hybrid")?"hybrid":"unknown":"unknown"}function G1e(e){return e==="one_time"?"One Time":e.charAt(0).toUpperCase()+e.slice(1)}function $1e(e){let t=[];return t.push(`Model: ${e.pricingModel||"unknown"}`),t.push(`Category: ${e.category||"\u2014"}`),t.push(`Pricing details: ${e.pricingDetails||"\u2014"}`),e.notes?.trim()&&t.push(`Notes: ${e.notes}`),e.url?.trim()&&t.push(`URL: ${e.url}`),t}function sY({data:e}){let t=H0(),o=j1e.filter(c=>e.some(u=>aY(u.pricingModel)===c)),r=o.length>0?o:["unknown"],n=r.map(c=>G1e(c)),a=e.map((c,u)=>{let m=aY(c.pricingModel),f=Z1e(m,t.series),d=t.fill(f,.72+u%3*.08),p=r.map(h=>h===m?1:0);return{label:c.name||`Competitor ${u+1}`,data:p,backgroundColor:d,borderColor:f,borderWidth:1,borderRadius:4,stack:"competitors"}}),s={labels:n,datasets:a},i={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:t.tooltipBackground,titleColor:t.tooltipTitleColor,bodyColor:t.tooltipBodyColor,borderColor:t.tooltipBorderColor,borderWidth:1,callbacks:{title(c){return`Model: ${c[0]?.label??"Unknown"}`},label(c){let u=e[c.datasetIndex];return u?.name?`Competitor: ${u.name}`:"Competitor"},afterLabel(c){let u=e[c.datasetIndex];return u?$1e(u):[]}}}},scales:{x:{stacked:!0,ticks:{color:t.axisColor},grid:{color:t.gridColor},border:{color:t.borderColor}},y:{stacked:!0,beginAtZero:!0,ticks:{color:t.axisColor,precision:0,stepSize:1},grid:{color:t.gridColor},border:{color:t.borderColor},title:{display:!0,text:"Competitor count",color:t.axisTitleColor}}}},l=Math.max(280,r.length*68);return(0,d9.jsx)(E,{h:`${l}px`,children:(0,d9.jsx)(F0,{data:s,options:i})})}function q1e(e){let t=String(e??"").trim().toLowerCase();return t==="b2b"||t==="b2c"||t==="both"||t==="free"?t:"both"}function X1e(e){return q1e(e)==="free"}function X6(e){let t=typeof e.meta=="object"&&e.meta!==null&&!Array.isArray(e.meta)?e.meta:{};return X1e(t.projectType)}var A=M(oe());function Ia(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function iY(e){if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"){let t=Number(e.replace(/[^\d.-]/g,"").trim());return Number.isFinite(t)?t:0}return 0}function nc(e){if(e==null)return null;if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"){let t=e.trim();if(!t)return null;let o=t.replace(/[^\d.-]/g,"");if(!o)return null;let r=Number(o);return Number.isFinite(r)?r:null}return null}function K6(e){return e==="high"||e==="med"||e==="medium"?e==="medium"?"med":e:"low"}function K0(e){return e==="high"?"green":e==="med"?"yellow":"red"}function Y1e(e){return e>=70?{colorScheme:"green",trackColor:"green.100",textColor:"green.700"}:e>=50?{colorScheme:"yellow",trackColor:"yellow.100",textColor:"yellow.700"}:{colorScheme:"red",trackColor:"red.100",textColor:"red.700"}}function mn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function Qa(e,t){for(let o of t){if(!(o in e))continue;let r=e[o];if(r!=null){if(typeof r=="string"){let n=r.trim();if(!n||n==="[object Object]")continue}if(!(typeof r=="number"&&!Number.isFinite(r)))return r}}}function rc(e){if(typeof e=="string"){let t=e.trim();return t==="[object Object]"?"":t}if(typeof e=="number"&&Number.isFinite(e))return String(e);if(Array.isArray(e))return e.map(t=>rc(t)).filter(Boolean).join(", ");if(typeof e=="object"&&e!==null){let t=mn(e),o=Eu([t.label,t.value,t.text,t.name,t.summary,t.description]);if(o)return o;let r=nc(t.min),n=nc(t.max),a=String(t.unit??t.currency??"").trim();if(r!==null&&n!==null)return a?`${a} ${r.toLocaleString()} - ${n.toLocaleString()}`:`${r.toLocaleString()} - ${n.toLocaleString()}`;if(r!==null)return a?`${a} ${r.toLocaleString()}+`:`${r.toLocaleString()}+`;let s=nc(t.days??t.lengthDays??t.salesDays);if(s!==null)return`${s.toLocaleString()} days`}return""}function K1e(e){let t=e.trim();return t?t.includes("_")||t.includes("-")?!0:/^[a-z0-9]+(?:[A-Z][a-z0-9]+)+$/.test(t):!1}function Q1e(e){let t=e.trim().replace(/^seg[_-]/i,"");if(!t)return"";let o=t.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim(),r=new Set(["acv","wtp","icp","mvp","seo","gtm","api","ui","ux","llm"]);return o.split(" ").map(n=>{let a=n.toLowerCase();return r.has(a)?a.toUpperCase():a.charAt(0).toUpperCase()+a.slice(1)}).join(" ")}function q2(e){let t=rc(e);return t?K1e(t)?Q1e(t):t:""}function p9(e){return q2(e)||"No Data"}function uY(e){if(typeof e=="string")return e.trim();if(typeof e=="number"&&Number.isFinite(e))return String(e);let t=mn(e),o=nc(t.min),r=nc(t.max),n=String(t.currency??"USD").trim()||"USD",a=String(t.label??"").trim();if(a)return a;if(o!==null&&r!==null)return`${n} ${o.toLocaleString()} - ${r.toLocaleString()}`;if(o!==null)return`${n} ${o.toLocaleString()}+`;if(r!==null)return`Up to ${n} ${r.toLocaleString()}`;let s=Array.isArray(t.range)?t.range:[];if(s.length>=2){let i=nc(s[0]),l=nc(s[1]);if(i!==null&&l!==null)return`${n} ${i.toLocaleString()} - ${l.toLocaleString()}`}return""}function Q0(e,t){let o=Qa(e,t);return typeof o=="number"?o>=4?"high":o>=2?"med":"low":K6(o)}function G2(e){return String(e??"").trim().toLowerCase()}function Eu(e){for(let t of e){let o=String(t??"").trim();if(o)return o}return""}function J1e(e){return Array.isArray(e)?e.map((t,o)=>{let r=mn(t),n=q2(r.name??r.segmentName??r.id);return n?{id:String(r.id??`segment_${o+1}`).trim()||`segment_${o+1}`,name:n,useCase:rc(Qa(r,["useCase","description"])),buyingMotion:rc(Qa(r,["buyingMotion","goToMarketMotion","motion"])),willingnessToPay:uY(Qa(r,["willingnessToPay","wtp","willingness","priceSensitivity"])),likelyACV:rc(Qa(r,["likelyACV","likelyAcv","acv","estimatedACV"])),salesCycle:rc(Qa(r,["salesCycle","salesCycleLength","cycleLength"])),painIntensity:Q0(r,["painIntensity","pain","urgencyLevel"]),easeOfReach:Q0(r,["easeOfReach","reachability","reach"]),timeToValue:Q0(r,["timeToValue","ttv","timeToFirstValue"]),retentionPotential:Q0(r,["retentionPotential","retention"]),supportBurden:Q0(r,["supportBurden","supportComplexity"]),expansionPotential:Q0(r,["expansionPotential","expansion"]),recommended:r.recommended===!0,notes:rc(Qa(r,["notes"]))}:null}).filter(t=>t!==null):[]}function e2e(e){return Array.isArray(e)?e.map((t,o)=>{let r=mn(t),n=String(r.name??"").trim();return n?{id:String(r.id??`substitute_${o+1}`).trim()||`substitute_${o+1}`,type:String(r.type??"other").trim()||"other",name:n,whyPeopleUseIt:String(r.whyPeopleUseIt??"").trim(),biggestWeakness:String(r.biggestWeakness??"").trim(),yourAdvantage:String(r.yourAdvantage??"").trim(),notes:String(r.notes??"").trim()}:null}).filter(t=>t!==null):[]}function t2e(e){return Array.isArray(e)?e.map(t=>{let o=mn(t),r=String(o.id??"").trim(),n=String(o.title??"").trim();return!r||!n?null:{id:r,title:n,summary:String(o.summary??"").trim(),score:Math.max(0,Math.min(100,Number(o.score??0)||0)),scoreLabel:String(o.scoreLabel??"").trim(),bullets:Ia(o.bullets).slice(0,4)}}).filter(t=>t!==null):[]}function o2e(e){let t=`${e.buyingMotion} ${e.salesCycle} ${e.likelyACV}`.toLowerCase();return t.includes("sales")||t.includes("procurement")||t.includes("quarter")?"sales-led":t.includes("self")||t.includes("trial")||t.includes("freemium")?"self-serve":t.includes("plg")||t.includes("product-led")?"product-led":"hybrid"}function r2e(e){if(e.length===0)return"No competitor pricing signals captured yet.";let t=e.reduce((a,s)=>{let i=s.pricingModel.trim().toLowerCase()||"unknown";return a[i]=(a[i]??0)+1,a},{}),o=Object.entries(t).sort((a,s)=>s[1]-a[1]),[r,n]=o[0]??["unknown",0];return`${n}/${e.length} mapped competitors lean ${r} pricing.`}function lY(e,t){let o=t.trim().toLowerCase();return o?e.find(r=>r.name.trim().toLowerCase()===o)??null:null}function n2e(e,t,o){let r=e.trim().toLowerCase(),n=t.trim().toLowerCase(),a=o.trim().toLowerCase();return!r&&!n&&!a?"Ownership roles are not defined yet.":r&&n&&r!==n?a&&a!==r?"Buyer, end user, and budget owner differ. Plan for multi-stakeholder messaging and sales friction.":"Buyer and end user differ. Expect extra proof + onboarding clarity before conversion.":a&&r&&a!==r?"Budget owner differs from buyer. Add an ROI narrative for budget approval.":"Buying and usage roles are mostly aligned, which supports faster conversion loops."}function Es(e){return e==="high"?3:e==="med"?2:1}function a2e(e){if(e.length===0)return null;let t=e.find(r=>r.recommended);return t||([...e].sort((r,n)=>{let a=Es(r.painIntensity)+Es(r.easeOfReach)+Es(r.timeToValue)+Es(r.retentionPotential)+Es(r.expansionPotential)-Es(r.supportBurden);return Es(n.painIntensity)+Es(n.easeOfReach)+Es(n.timeToValue)+Es(n.retentionPotential)+Es(n.expansionPotential)-Es(n.supportBurden)-a})[0]??null)}function s2e(e,t){let o=[],r=e.reduce((i,l)=>{let c=l.pricingModel.trim().toLowerCase()||"unknown";return i[c]=(i[c]??0)+1,i},{}),n=e.length,a=n>0?(r.subscription??0)/n:0,s=n>0?(r.unknown??0)/n:0;return a>=.6&&o.push("Most alternatives are subscription-first, so differentiation likely comes from packaging clarity and entry path."),s>=.3&&o.push("Many competitors have unclear public pricing, creating an opportunity to win with transparent packaging."),t.length>0&&o.push("Manual/workaround substitutes remain active, so entry tier value must beat status-quo effort quickly."),o.length===0&&o.push("Current category pricing appears mixed; validate willingness-to-pay before locking tier boundaries."),o}function i2e(e){return e.length===0?null:e.find(t=>t.whyPeopleUseIt)??e[0]??null}function Bu(e){return e==="med"?"medium":e}function $2(e,t){return e.filter(Boolean).slice(0,t)}function l2e(e){if(e.length===0)return"No explicit persona-to-tier mapping yet.";let t=new Set(e.map(o=>o.personaId).filter(Boolean));return`${e.length} mapping notes across ${t.size} persona(s).`}function c2e(e){return e.length===0?"Tier rationale is still sparse.":`${e.length} rationale entries define why each tier exists.`}function u2e(e,t){let o=[];return e.trim()&&o.push(`Demand pattern: ${e}`),t.trim()&&o.push(`Spending signal: ${t}`),o.join(" \xB7 ")||"No replacement/spending signal captured yet."}function m2e(e){return Array.isArray(e)?e.map(t=>{let o=mn(t),r=String(o.channel??"").trim();return r?{channel:r,saturation:K6(o.saturation),opportunity:String(o.opportunity??"").trim()}:null}).filter(t=>t!==null):[]}function f2e(e){let t=Bu(e.saturation);return`${e.channel}: saturation ${t}${e.opportunity?`, opportunity ${e.opportunity}`:""}`}function cY(e,t=180){return e.length<=t?e:`${e.slice(0,t-1)}\u2026`}function Yn({eyebrow:e,title:t,description:o,action:r}){return(0,A.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},spacing:3,flexWrap:"wrap",children:[(0,A.jsxs)(z,{spacing:.75,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",fontWeight:"semibold",children:e}),(0,A.jsx)(x,{fontWeight:"semibold",fontSize:"lg",lineHeight:"1.2",children:t}),o?(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",maxW:"72ch",children:o}):null]}),r??null]})}function d2e(e){return e==="usage"||e==="ads"||e==="one_time"||e==="hybrid"?e:"subscription"}function p2e(e){return Array.isArray(e)?e.map((t,o)=>{if(typeof t!="object"||t===null)return null;let r=t,n=typeof r.avatar=="object"&&r.avatar!==null?r.avatar:{},a=String(r.id??`persona_${o+1}`).trim()||`persona_${o+1}`,s=String(n.style??"avataaars").trim()||"avataaars",i=String(n.seed??a).trim()||a;return{id:a,name:String(r.name??"").trim()||`Persona ${o+1}`,segment:String(r.segment??"").trim(),archetype:String(Qa(r,["archetype","personaArchetype","persona_archetype","archetypeLabel"])??"").trim(),role:String(r.role??"").trim(),topPains:Ia(r.topPains),topGoals:Ia(r.topGoals),objections:Ia(r.objections),quote:String(r.quote??"").trim(),willingnessToPay:{min:iY(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.min:0),max:iY(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.max:0),currency:String(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.currency:"USD").trim()||"USD",confidence:K6(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.confidence:"low"),notes:String(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.notes:"").trim()},avatarUrl:String(n.url??"").trim()||nY({seed:i,style:s})}}).filter(t=>t!==null):[]}function h2e(e,t){let o=typeof e=="object"&&e!==null?e:{},n=(Array.isArray(o.tiers)?o.tiers:Array.isArray(t.tiers)?t.tiers:[]).map(a=>{if(typeof a!="object"||a===null)return null;let s=a,i=String(s.name??"").trim();return i?{name:i,monthly:nc(s.monthly??s.priceMonthly??s.monthlyPrice??s.price),yearly:nc(s.yearly??s.priceYearly??s.annual),features:Ia(s.features),limits:Ia(s.limits),targetPersonaIds:Ia(s.targetPersonaIds)}:null}).filter(a=>a!==null);return{currency:String(o.currency??t.currency??"USD").trim()||"USD",model:d2e(o.model??t.model??t.pricingModel),valueMetric:q2(Qa(o,["valueMetric","value_metric","metric","metricName"])??Qa(t,["valueMetric","value_metric","metric","metricName"])),tiers:n,tierRationale:(Array.isArray(o.tierRationale)?o.tierRationale:[]).map(a=>{let s=mn(a),i=String(s.tierName??"").trim(),l=String(s.whyItExists??"").trim();return!i&&!l?null:{tierName:i,whyItExists:l,personaIds:Ia(s.personaIds)}}).filter(a=>a!==null),personaFit:(Array.isArray(o.personaFit)?o.personaFit:[]).map(a=>{let s=mn(a),i=String(s.personaId??"").trim(),l=String(s.recommendedTier??"").trim(),c=String(s.why??"").trim();return!i&&!l&&!c?null:{personaId:i,recommendedTier:l,why:c}}).filter(a=>a!==null),confidence:K6(o.confidence??t.confidence),notes:String(o.notes??t.notes??"").trim(),risks:Ia(o.risks??t.risks),buyingMotionFit:String(o.buyingMotionFit??t.buyingMotionFit??"").trim(),expansionPath:String(o.expansionPath??t.expansionPath??"").trim()}}function g2e(e){let o=[e.pricingDetails,e.pricing,e.pricingSummary,e.startingPrice,e.price,e.monthlyPrice,e.yearlyPrice].map(r=>{if(typeof r=="string")return r.trim();if(typeof r=="number"&&Number.isFinite(r))return String(r);if(typeof r=="object"&&r!==null)try{return JSON.stringify(r)}catch{return""}return""}).filter(Boolean);return o.length>0?o.join(" | "):""}function Y6(e,t){return e===null||!Number.isFinite(e)?"\u2014":`${t} ${e.toLocaleString()}`}function b2e(e,t){if(t.length===0)return null;let o=t.find(a=>a.targetPersonaIds.includes(e.id));if(o)return o;let r=e.willingnessToPay.max;if(r<=0)return t[0];let n=[...t].sort((a,s)=>{let i=a.monthly??a.yearly??Number.MAX_SAFE_INTEGER,l=s.monthly??s.yearly??Number.MAX_SAFE_INTEGER;return i-l});return n.find(a=>{let s=a.monthly??a.yearly;return typeof s=="number"&&s>0&&s<=r})??n[n.length-1]}function y2e(e){let t=[];return e.model||t.push("model"),e.tiers.length===0&&t.push("tiers"),e.tiers.some(o=>o.features.length===0||o.limits.length===0)&&t.push("tier features/limits"),e.tiers.some(o=>o.monthly===null&&o.yearly===null)&&t.push("tier pricing"),{complete:t.length===0,missing:t}}function mY({projectId:e,spec:t}){let o=X6(t),r=t.icp??{},n=t.positioning??{},a=t.pricing??{},s=mn(t.choices),i=mn(s.pricing),l=t2e(i.options),c=String(i.selectedOptionId??"").trim(),u=l.find(Q=>Q.id===c)??null,m=t.research??{},f=mn(m.marketDefinition),d=mn(m.segmentAnalysis),p=mn(m.positioningAnalysis),h=mn(m.customerSentiment),S=mn(m.validationInsights),g=mn(m.distributionAnalysis),b=mn(d.recommended),I=Array.isArray(m.competitors)?m.competitors:[],v=J1e(d.segments),C=e2e(m.substitutes),T=p2e(r.personas),w=h2e(a,{...mn(n),...a}),P=y2e(w),k=lY(v,String(n.primarySegmentId??""))??lY(v,String(S.strongestSegment??""))??a2e(v),D=Eu([n.substituteThreat,n.wedgeAgainst,S.strongestSubstituteThreat])||i2e(C)?.name||"",H=Eu([n.strongestPainLead,S.strongestOpening,Array.isArray(h.topComplaintThemes)?h.topComplaintThemes[0]:""]),j=Eu([n.strongestProofAngle,Array.isArray(p.proofPatterns)?p.proofPatterns[0]:""]),se=Eu([n.buyer,f.buyer]),X=Eu([n.endUser,f.endUser]),le=Eu([n.budgetOwner,f.budgetOwner]),re=n2e(se,X,le),W=G2(se),de=G2(X),q=G2(le),me=new Set([W,de,q].filter(Boolean)).size,he=me>=3?"high":me===2?"med":"low",pe=he==="high"?"red":he==="med"?"yellow":"green",Y=!!(W&&de&&W===de),ee=q&&W&&q===W?"aligned":q?"separate":"unknown",J=$2(Ia(p.repeatedLanguage),8),ge=$2(Ia(n.messagingWhitespace??p.messagingWhitespace),8),_=$2(Ia(h.topComplaintThemes),6),fe=$2(Ia(h.topDelightThemes),6),Ce=m2e(g.channelPatterns),ie=$2(Ia(g.topObservedChannels),6),Ae=Eu([S.strongestChannelOpportunity,Ce.find(Q=>Q.opportunity)?.opportunity]),ye=String(f.replacementVsNetNew??"").trim(),Be=String(f.spendingPatterns??"").trim(),ce=k?.likelyACV||rc(Qa(b,["likelyACV","likelyAcv","acv","estimatedACV"])),Pe=k?.salesCycle||rc(Qa(b,["salesCycle","salesCycleLength","cycleLength"])),Te=k?.willingnessToPay||uY(Qa(b,["willingnessToPay","wtp","willingness","priceSensitivity"])),De=new Map(T.map(Q=>[Q.id,Q.name])),Ct=new Map(T.map(Q=>[Q.id,Q.avatarUrl])),He=I.map((Q,bt)=>{if(typeof Q!="object"||Q===null)return null;let qt=Q,Rn=String(qt.name??"").trim()||`Competitor ${bt+1}`,kr=String(qt.pricingModel??"unknown").trim()||"unknown",R=String(qt.category??"").trim(),ae=String(qt.notes??"").trim(),Fe=String(qt.url??"").trim(),Je=g2e(qt);return{name:Rn,category:R,pricingModel:kr,pricingDetails:Je,notes:ae,url:Fe}}).filter(Q=>Q!==null),We=s2e(He,C),Qe=w.personaFit.reduce((Q,bt)=>{let qt=bt.recommendedTier.trim();return qt&&(Q[qt]=(Q[qt]??0)+1),Q},{}),st=Object.values(Qe).reduce((Q,bt)=>Math.max(Q,bt),0),ne={borderWidth:"1px",borderColor:"surface.border",borderRadius:"xl",p:5,bg:"surface.base",boxShadow:"sm"},Re={borderWidth:"1px",borderColor:"surface.border",borderRadius:"lg",p:4,bg:"surface.muted",boxShadow:"sm",h:"full"},Ze={borderWidth:"1px",borderColor:"surface.border",borderRadius:"lg",p:4,bg:"surface.base",boxShadow:"sm",h:"full"},it={borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,bg:"surface.muted"},Tn={columnCount:{base:1,xl:2},columnGap:"16px"},Jt={display:"inline-block",width:"100%",mb:4,sx:{breakInside:"avoid",pageBreakInside:"avoid"}},Dn=[{title:"Segment",value:k?.name||"\u2014",icon:(0,A.jsx)(U4,{size:16})},{title:"Buyer",value:se||"\u2014",icon:(0,A.jsx)(q4,{size:16})},{title:"End user",value:X||"\u2014",icon:(0,A.jsx)(Jk,{size:16})},{title:"Budget owner",value:le||"\u2014",icon:(0,A.jsx)(tM,{size:16})}],ii=[{title:"Category",content:String(n.category??"\u2014")||"\u2014",icon:(0,A.jsx)(Kk,{size:20,weight:"duotone"})},{title:"Positioning statement",content:String(n.positioningStatement??"\u2014")||"\u2014",icon:(0,A.jsx)(rM,{size:20,weight:"duotone"})},{title:"Differentiator",content:String(n.differentiator??"\u2014")||"\u2014",icon:(0,A.jsx)(v0,{size:20,weight:"duotone"})},{title:"Strongest pain lead",content:H||"\u2014",icon:(0,A.jsx)(s2,{size:20,weight:"duotone"})},{title:"Strongest proof angle",content:j||"\u2014",icon:(0,A.jsx)(U4,{size:20,weight:"duotone"})},{title:"Strongest substitute threat",content:D||"\u2014",icon:(0,A.jsx)(q4,{size:20,weight:"duotone"})},{title:"Market signal",content:u2e(ye,Be),icon:(0,A.jsx)(iM,{size:20,weight:"duotone"})}];return(0,A.jsxs)(z,{spacing:5,children:[(0,A.jsxs)(E,{...ne,order:1,children:[(0,A.jsx)(x,{fontWeight:"semibold",mb:2,children:"Positioning Snapshot"}),(0,A.jsx)(Le,{columns:{base:1,md:2,xl:4},spacing:3,mb:4,children:Dn.map(Q=>(0,A.jsxs)(E,{...Re,h:"full",children:[(0,A.jsxs)(Z,{justify:"space-between",align:"flex-start",mb:1.5,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",fontWeight:"semibold",children:Q.title}),(0,A.jsx)(E,{color:"brand.600",children:Q.icon})]}),(0,A.jsx)(x,{fontWeight:"semibold",color:"text.default",lineHeight:"1.4",children:Q.value})]},Q.title))}),(0,A.jsx)(E,{color:"text.default",sx:{columnCount:{base:1,md:2},columnGap:"12px"},children:ii.map(Q=>(0,A.jsxs)(E,{borderWidth:"1px",borderColor:"blue.200",bg:"blue.50",borderRadius:"md",px:3.5,py:3,mb:3,sx:{breakInside:"avoid",pageBreakInside:"avoid"},children:[(0,A.jsxs)(Z,{justify:"flex-start",align:"center",spacing:2,mb:1.5,children:[(0,A.jsx)(E,{color:"blue.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:Q.icon}),(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"blue.700",fontWeight:"semibold",children:Q.title})]}),(0,A.jsx)(x,{color:"text.default",lineHeight:"1.5",children:Q.content})]},Q.title))})]}),(0,A.jsx)(E,{...ne,order:4,children:(0,A.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,A.jsxs)(Or,{children:[(0,A.jsx)(rt,{children:"Overview"}),(0,A.jsx)(rt,{children:"Messaging + Segments"}),(0,A.jsx)(rt,{children:o?"Packaging + Features":"Pricing + Packaging"})]}),(0,A.jsxs)(Vr,{children:[(0,A.jsx)(Ke,{px:0,pt:5,children:(0,A.jsxs)(E,{sx:Tn,children:[(0,A.jsx)(E,{...Ze,...Jt,children:k?(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Overview",title:"Segment-to-Positioning Fit",description:"Where the strongest segment, urgency, and monetization signals line up.",action:(0,A.jsx)($,{colorScheme:k.recommended?"green":"blue",variant:"subtle",children:k.recommended?"Recommended":"Candidate"})}),(0,A.jsx)(E,{...it,children:(0,A.jsxs)(z,{spacing:1,children:[(0,A.jsx)(x,{fontWeight:"semibold",children:k.name}),(0,A.jsx)(x,{color:"text.muted",fontSize:"sm",children:k.useCase||"Use case not captured yet."})]})}),(0,A.jsxs)(tt,{spacing:2,children:[(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:K0(k.painIntensity),variant:"subtle",children:["Pain: ",Bu(k.painIntensity)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:K0(k.easeOfReach),variant:"subtle",children:["Reach: ",Bu(k.easeOfReach)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:K0(k.timeToValue),variant:"subtle",children:["TTV: ",Bu(k.timeToValue)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:K0(k.retentionPotential),variant:"subtle",children:["Retention: ",Bu(k.retentionPotential)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:K0(k.supportBurden),variant:"subtle",children:["Support burden: ",Bu(k.supportBurden)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:K0(k.expansionPotential),variant:"subtle",children:["Expansion: ",Bu(k.expansionPotential)]})})]})]}):(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Overview",title:"Segment-to-Positioning Fit",description:"Where the strongest segment, urgency, and monetization signals line up."}),(0,A.jsx)(x,{color:"text.muted",children:"No segment analysis captured yet. Re-run Market & Validation segment analysis."})]})}),(0,A.jsx)(E,{...Ze,...Jt,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Pricing",title:"Pricing Opportunity",description:"Current packaging signals, whitespace, and monetization leverage from the mapped market."}),(0,A.jsx)(E,{...it,children:(0,A.jsx)(x,{color:"text.muted",fontSize:"sm",children:r2e(He)})}),(0,A.jsx)(at,{children:We.map(Q=>(0,A.jsx)(Ge,{children:Q},Q))}),(0,A.jsxs)(Le,{columns:{base:1,md:2},spacing:3,children:[(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Persona fit"}),(0,A.jsx)(x,{fontWeight:"semibold",children:l2e(w.personaFit)})]}),(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Tier rationale"}),(0,A.jsx)(x,{fontWeight:"semibold",children:c2e(w.tierRationale)})]})]})]})}),(0,A.jsx)(E,{...Ze,...Jt,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Buying Roles",title:"Role Friction Signal",description:"Derived friction view for role alignment without repeating raw role fields."}),(0,A.jsxs)(tt,{spacing:2,children:[(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:pe,variant:"subtle",children:["Friction: ",Bu(he)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:Y?"green":"yellow",variant:"subtle",children:["Buyer/User: ",Y?"aligned":"split"]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:ee==="aligned"?"green":ee==="separate"?"yellow":"gray",variant:"subtle",children:["Budget owner: ",ee]})})]}),(0,A.jsxs)(dt,{status:se&&X&&G2(se)!==G2(X)?"warning":"info",borderRadius:"lg",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:re})]})]})}),(0,A.jsx)(E,{...Ze,...Jt,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Economics",title:"Segment Economics",description:"Commercial shape of the recommended segment, plus the pricing risk stack."}),k?(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsxs)(Le,{columns:{base:1,md:2},spacing:3,children:[(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Likely ACV"}),(0,A.jsx)(x,{fontWeight:"semibold",children:p9(ce)})]}),(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Sales cycle"}),(0,A.jsx)(x,{fontWeight:"semibold",children:p9(Pe)})]}),(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"WTP signal"}),(0,A.jsx)(x,{fontWeight:"semibold",children:p9(Te)})]}),(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Recommended motion"}),(0,A.jsx)(x,{fontWeight:"semibold",children:o2e(k)})]})]}),(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Expansion path"}),(0,A.jsx)(x,{fontWeight:"semibold",children:w.expansionPath||"Not defined yet."})]}),w.risks.length>0?(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:2,children:"Top pricing risks"}),(0,A.jsx)(at,{children:w.risks.slice(0,4).map(Q=>(0,A.jsx)(Ge,{children:Q},Q))})]}):null]}):(0,A.jsx)(x,{color:"text.muted",children:"Add segment economics in Market & Validation to unlock this card."})]})})]})}),(0,A.jsx)(Ke,{px:0,pt:5,children:(0,A.jsxs)(E,{sx:Tn,children:[(0,A.jsx)(E,{...Ze,...Jt,children:(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Messaging",title:"Messaging Whitespace",description:"Capture the language everyone repeats, then sharpen the spaces they leave open."}),(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",mb:2,children:"Repeated category language"}),J.length>0?(0,A.jsx)(tt,{spacing:2,children:J.map((Q,bt)=>(0,A.jsx)(Se,{children:(0,A.jsx)($,{colorScheme:"gray",variant:"subtle",children:cY(Q,60)})},`repeat-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"No repeated language patterns captured yet."})]}),(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",mb:2,children:"Whitespace opportunities"}),ge.length>0?(0,A.jsx)(at,{children:ge.map((Q,bt)=>(0,A.jsx)(Ge,{children:Q},`whitespace-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"No messaging whitespace documented yet."})]})]})}),(0,A.jsx)(E,{...Ze,...Jt,children:_.length===0&&fe.length===0?(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Customer Voice",title:"Customer Sentiment Themes",description:"Signal from review language, complaints, and delight themes that should shape copy emphasis."}),(0,A.jsx)(x,{color:"text.muted",children:"No customer sentiment themes captured yet."})]}):(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Customer Voice",title:"Customer Sentiment Themes",description:"Signal from review language, complaints, and delight themes that should shape copy emphasis."}),(0,A.jsxs)(E,{children:[(0,A.jsxs)(Z,{spacing:2,mb:2,align:"center",children:[(0,A.jsx)(E,{color:"red.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(s2,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top complaints"})]}),_.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:_.map((Q,bt)=>(0,A.jsx)(E,{borderWidth:"1px",borderColor:"red.200",bg:"red.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"red.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:Q})},`complaint-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"\u2014"})]}),(0,A.jsxs)(E,{children:[(0,A.jsxs)(Z,{spacing:2,mb:2,align:"center",children:[(0,A.jsx)(E,{color:"green.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(v0,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top delights"})]}),fe.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:fe.map((Q,bt)=>(0,A.jsx)(E,{borderWidth:"1px",borderColor:"green.200",bg:"green.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"green.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:Q})},`delight-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"\u2014"})]})]})}),(0,A.jsx)(E,{...Ze,...Jt,children:C.length>0?(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Competitive Pressure",title:"Substitutes + Pricing Pressure",description:"What users are settling for today, and where pricing-page positioning should push hardest."}),(0,A.jsx)(E,{...it,children:(0,A.jsxs)(x,{color:"text.muted",fontSize:"sm",children:[C.length," substitute behavior pattern",C.length===1?"":"s"," mapped."]})}),(0,A.jsx)(at,{children:C.slice(0,4).map(Q=>(0,A.jsxs)(Ge,{children:[(0,A.jsx)("strong",{children:Q.name}),": ",Q.whyPeopleUseIt||"status quo convenience",". Weakness: ",Q.biggestWeakness||"not captured yet",". Your edge:"," ",Q.yourAdvantage||"not captured yet","."]},Q.id))}),D?(0,A.jsxs)(dt,{status:"warning",borderRadius:"lg",children:[(0,A.jsx)(pt,{}),(0,A.jsxs)(ht,{children:["Lead positioning against ",(0,A.jsx)("strong",{children:D})," in pricing-page copy and tier differentiation."]})]}):null]}):(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Competitive Pressure",title:"Substitutes + Pricing Pressure",description:"What users are settling for today, and where pricing-page positioning should push hardest."}),(0,A.jsx)(x,{color:"text.muted",children:"No substitute analysis yet. Map substitutes to strengthen switch messaging."})]})}),(0,A.jsx)(E,{...Ze,...Jt,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Channels",title:"Distribution Signals",description:"Observed channels plus where the next clear acquisition opening exists."}),ie.length>0?(0,A.jsx)(tt,{spacing:2,children:ie.map((Q,bt)=>(0,A.jsx)(Se,{children:(0,A.jsx)($,{colorScheme:"blue",variant:"subtle",children:Q})},`${Q}-${bt}`))}):(0,A.jsx)(x,{color:"text.muted",children:"No channel observations yet."}),Ce.length>0?(0,A.jsx)(E,{...it,children:(0,A.jsx)(at,{children:Ce.slice(0,4).map((Q,bt)=>(0,A.jsx)(Ge,{children:f2e(Q)},`${Q.channel}-${Q.opportunity}-${bt}`))})}):null,(0,A.jsxs)(E,{...it,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Strongest channel opportunity"}),(0,A.jsx)(x,{fontWeight:"semibold",children:Ae||"\u2014"})]})]})})]})}),(0,A.jsx)(Ke,{px:0,pt:5,children:(0,A.jsx)(z,{spacing:4,children:(0,A.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,A.jsx)(E,{...Ze,children:T.length===0?(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:o?"Packaging + Features":"Pricing + Packaging",title:o?"Persona \u2192 Feature Bundle Fit":"Persona \u2192 Tier Mapping",description:o?"Which feature bundle should lead for each persona, without adding paid tiers.":"Which persona should land on which tier, and what hook gets them there."}),(0,A.jsxs)(x,{color:"gray.500",children:["Generate personas to unlock ",o?"persona-package recommendations":"persona-tier recommendations","."]})]}):(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:o?"Packaging + Features":"Pricing + Packaging",title:o?"Persona \u2192 Feature Bundle Fit":"Persona \u2192 Tier Mapping",description:o?"Which feature bundle should lead for each persona, without adding paid tiers.":"Which persona should land on which tier, and what hook gets them there."}),(0,A.jsx)(E,{...it,maxW:"full",children:(0,A.jsx)(Ka,{children:(0,A.jsxs)(ja,{size:"sm",minW:"760px",children:[(0,A.jsx)(vs,{children:(0,A.jsxs)(yo,{children:[(0,A.jsx)(Ee,{children:"Persona"}),(0,A.jsx)(Ee,{children:o?"Feature bundle":"Recommended tier"}),(0,A.jsx)(Ee,{children:"Key objection"}),(0,A.jsx)(Ee,{children:"Messaging hook"})]})}),(0,A.jsx)(Is,{children:T.map(Q=>{let bt=o?null:b2e(Q,w.tiers);return(0,A.jsxs)(yo,{children:[(0,A.jsx)(we,{children:(0,A.jsxs)(Z,{children:[(0,A.jsx)(Gp,{name:Q.name,src:Q.avatarUrl,size:"sm"}),(0,A.jsxs)(E,{children:[(0,A.jsx)(x,{fontWeight:"semibold",children:Q.name}),(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",children:Q.role||"\u2014"})]})]})}),(0,A.jsx)(we,{children:bt?.name??(o?"Free core experience":"\u2014")}),(0,A.jsx)(we,{children:Q.objections[0]||"\u2014"}),(0,A.jsx)(we,{children:Q.quote||Q.topGoals[0]||"\u2014"})]},Q.id)})})]})})})]})}),(0,A.jsx)(E,{...Ze,children:He.length>0?(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:o?"Market Packaging":"Market Pricing",title:o?"Competitive Free Model Breakdown":"Competitive Pricing Model Breakdown",description:o?"Free-model signals across mapped competitors to pressure-test your feature packaging choice.":"Model concentration across mapped competitors to pressure-test your packaging choice."}),(0,A.jsx)(E,{...it,children:(0,A.jsx)(sY,{data:He})})]}):(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:o?"Market Packaging":"Market Pricing",title:o?"Competitive Free Model Breakdown":"Competitive Pricing Model Breakdown",description:o?"Free-model signals across mapped competitors to pressure-test your feature packaging choice.":"Model concentration across mapped competitors to pressure-test your packaging choice."}),(0,A.jsxs)(x,{color:"gray.500",children:["No competitor ",o?"free-model":"pricing model"," signals captured yet."]})]})})]})})})]})]})}),(0,A.jsxs)(E,{...ne,order:3,children:[(0,A.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:3,flexWrap:"wrap",spacing:3,children:[(0,A.jsxs)(z,{spacing:.5,children:[(0,A.jsx)(x,{fontWeight:"semibold",children:o?"Packaging Direction":"Pricing Tiers"}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:o?"Free-product packaging and feature-bundle choices for downstream execution.":"Tier cards designed for fast scan and buyer-facing packaging clarity."})]}),(0,A.jsx)(wn,{href:`/app/phases/positioning_pricing/pricing_packaging?projectId=${e}`,children:(0,A.jsxs)(gt,{size:"sm",variant:"surface",colorScheme:"teal",children:["Open ",o?"Packaging + Features":"Pricing + Packaging"]})})]}),u?(0,A.jsx)(E,{...it,mb:4,children:(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Z,{justify:"space-between",align:"start",flexWrap:"wrap",children:(0,A.jsxs)(Z,{spacing:2,children:[(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",children:["Selected ",o?"packaging direction":"pricing direction"]}),(0,A.jsx)(x,{fontWeight:"semibold",children:u.title})]})}),(()=>{let Q=Y1e(u.score);return(0,A.jsxs)(z,{spacing:2,children:[(0,A.jsxs)(Z,{justify:"space-between",align:"baseline",children:[(0,A.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:u.scoreLabel||(o?"Packaging fit score":"WTB score")}),(0,A.jsxs)(x,{fontSize:"sm",fontWeight:"bold",color:Q.textColor,children:[u.score,"%"]})]}),(0,A.jsx)(fa,{value:u.score,size:"sm",borderRadius:"full",bg:Q.trackColor,colorScheme:Q.colorScheme})]})})(),u.summary?(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:u.summary}):null,u.bullets.length>0?(0,A.jsx)(z,{spacing:2,children:u.bullets.map((Q,bt)=>(0,A.jsx)(E,{borderWidth:"1px",borderRadius:"md",borderColor:"surface.border",bg:"surface.base",px:3,py:2.5,children:(0,A.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,A.jsx)(E,{color:"brand.400",flexShrink:0,pt:"1px",children:(0,A.jsx)(v0,{size:20,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.default",children:cY(Q,72)})]})},`selected-pricing-bullet-${bt}-${Q}`))}):null,(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",children:o?"If this direction is not reflected downstream yet, rerun Packaging + Features.":"If tiers below do not reflect this direction yet, rerun Pricing + Packaging."})]})}):null,!o&&!P.complete?(0,A.jsxs)(dt,{status:"warning",borderRadius:"md",mb:3,children:[(0,A.jsx)(pt,{}),(0,A.jsxs)(ht,{children:["Pricing is incomplete (",P.missing.join(", ")||"missing fields","). Run Pricing + Packaging to fill /pricing/*."]})]}):null,o?(0,A.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:"This project is marked Free, so pricing tiers and paid-plan synthesis are intentionally omitted."})]}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(tt,{spacing:2,mb:4,children:[(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"blue",borderRadius:"md",maxW:{base:"100%",md:"320px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["Model: ",w.model||"\u2014"]})}),(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:w.confidence==="high"?"green":w.confidence==="med"?"yellow":"red",borderRadius:"md",maxW:{base:"100%",md:"320px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["Confidence: ",w.confidence]})}),(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"gray",borderRadius:"md",maxW:{base:"100%",md:"420px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["Value metric: ",w.valueMetric||"\u2014"]})})]}),w.tiers.length>0?(0,A.jsx)(Le,{columns:{base:1,md:2,xl:3},spacing:4,children:w.tiers.map((Q,bt)=>{let qt=Qe[Q.name]??0,Rn=qt>0&&qt===st;return(0,A.jsx)(E,{borderWidth:"1px",borderColor:Rn?"brand.400":"surface.border",borderRadius:"md",p:5,bg:Rn?"brand.50":"surface.muted",overflow:"hidden",children:(0,A.jsxs)(z,{spacing:3,align:"center",textAlign:"center",children:[(0,A.jsxs)(Z,{spacing:2,children:[(0,A.jsx)(x,{fontWeight:"semibold",fontSize:"lg",children:Q.name}),Rn?(0,A.jsx)($,{colorScheme:"purple",variant:"subtle",borderRadius:"full",children:"Recommended"}):null]}),(0,A.jsxs)(z,{spacing:.5,children:[(0,A.jsx)(x,{fontSize:"2xl",fontWeight:"bold",lineHeight:1.1,children:Y6(Q.monthly,w.currency)}),(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Per month"})]}),(0,A.jsxs)(x,{fontSize:"sm",color:"text.muted",children:["Annual: ",Y6(Q.yearly,w.currency)]}),(0,A.jsx)(io,{}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Included Features"}),Q.features.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.features.slice(0,6).map((kr,R)=>(0,A.jsx)(E,{borderWidth:"1px",borderColor:"blue.200",bg:"blue.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"blue.700",lineHeight:"1.2",textAlign:"center",overflowWrap:"anywhere",wordBreak:"break-word",children:kr})},`tier-feature-${Q.name}-${R}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No features listed."})]}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Limits"}),Q.limits.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.limits.slice(0,4).map((kr,R)=>(0,A.jsx)(E,{borderWidth:"1px",borderColor:"gray.200",bg:"gray.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"gray.700",lineHeight:"1.2",textAlign:"center",overflowWrap:"anywhere",wordBreak:"break-word",children:kr})},`tier-limit-${Q.name}-${R}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No limits specified."})]}),(0,A.jsxs)(z,{spacing:1,align:"center",children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Target Personas"}),Q.targetPersonaIds.length>0?(0,A.jsx)(tt,{spacing:2,justify:"center",w:"full",children:Q.targetPersonaIds.map(kr=>(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",borderRadius:"full",px:2,py:1,maxW:{base:"100%",md:"280px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",display:"inline-flex",alignItems:"center",gap:1.5,children:[(0,A.jsx)(Gp,{name:q2(De.get(kr)??kr)||kr,src:Ct.get(kr),size:"2xs"}),(0,A.jsx)(x,{as:"span",children:q2(De.get(kr)??kr)||kr})]})},`tier-persona-${Q.name}-${kr}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No persona mapping yet."})]})]})},`pricing-tier-${Q.name}-${bt}`)})}):(0,A.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:"No pricing tiers captured yet."})]})]})]}),(0,A.jsxs)(E,{...ne,order:2,children:[(0,A.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:3,flexWrap:"wrap",spacing:3,children:[(0,A.jsxs)(z,{spacing:.5,children:[(0,A.jsx)(x,{fontWeight:"semibold",children:"Personas"}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Persona snapshots tuned for messaging, objections, and pricing fit."})]}),(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",borderRadius:"full",children:[T.length," persona",T.length===1?"":"s"]})]}),T.length===0?(0,A.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:"No personas yet. Starter personas are generated automatically when you complete ICP/Positioning/Pricing buckets."})]}):(0,A.jsx)(Le,{columns:{base:1,md:2,xl:3},spacing:4,children:T.map((Q,bt)=>(0,A.jsx)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:5,bg:"surface.muted",overflow:"hidden",children:(0,A.jsxs)(z,{spacing:3.5,align:"center",textAlign:"center",children:[(0,A.jsx)(E,{p:1,borderWidth:"2px",borderColor:"brand.400",borderRadius:"full",bg:"surface.base",children:(0,A.jsx)(Gp,{name:Q.name,src:Q.avatarUrl,size:"lg"})}),(0,A.jsxs)(z,{spacing:.5,align:"center",children:[(0,A.jsx)(x,{fontWeight:"semibold",fontSize:"lg",lineHeight:1.2,children:Q.name}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:Q.role||"Role not captured"}),Q.archetype?(0,A.jsxs)($,{colorScheme:"gray",variant:"subtle",borderRadius:"full",children:["Archetype: ",Q.archetype]}):null]}),(0,A.jsxs)(tt,{spacing:2,justify:"center",w:"full",children:[(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",borderRadius:"md",maxW:{base:"100%",md:"280px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["WTP ",Y6(Q.willingnessToPay.min,Q.willingnessToPay.currency)," -"," ",Y6(Q.willingnessToPay.max,Q.willingnessToPay.currency)]})}),(0,A.jsx)(Se,{children:(0,A.jsx)($,{colorScheme:Q.willingnessToPay.confidence==="high"?"green":Q.willingnessToPay.confidence==="med"?"yellow":"red",borderRadius:"md",whiteSpace:"normal",lineHeight:"1.2",py:1,children:Q.willingnessToPay.confidence})})]}),(0,A.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.base",w:"full",children:(0,A.jsx)(x,{fontSize:"sm",fontStyle:"italic",color:"text.default",children:Q.quote||"No voice-of-customer quote captured yet."})}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsxs)(Z,{spacing:2,align:"center",children:[(0,A.jsx)(E,{color:"red.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(s2,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top pains"})]}),Q.topPains.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.topPains.slice(0,4).map((qt,Rn)=>(0,A.jsx)(E,{borderWidth:"1px",borderColor:"red.200",bg:"red.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"red.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:qt})},`persona-pain-${Q.id}-${Rn}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No pain themes captured."})]}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsxs)(Z,{spacing:2,align:"center",children:[(0,A.jsx)(E,{color:"green.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(v0,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top goals"})]}),Q.topGoals.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.topGoals.slice(0,4).map((qt,Rn)=>(0,A.jsx)(E,{borderWidth:"1px",borderColor:"green.200",bg:"green.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"green.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:qt})},`persona-goal-${Q.id}-${Rn}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No goals captured."})]}),(0,A.jsxs)(x,{fontSize:"sm",color:"text.muted",children:[(0,A.jsx)("strong",{children:"Top objection:"})," ",Q.objections[0]||"Not captured yet."]})]})},`persona-card-${Q.id}-${bt}`))})]})]})}var y9=M(F());function Nr(e){return typeof e=="string"?e.trim():""}function Wi(e){return Array.isArray(e)?e.map(t=>Nr(t)).filter(Boolean):[]}function h9(e,t=2){return Array.isArray(e)?e.map(o=>{if(typeof o=="string"){let r=o.trim().slice(0,400);return r?{text:r,notes:""}:null}if(typeof o=="object"&&o!==null&&!Array.isArray(o)){let r=o,n=Nr(r.text).slice(0,400),a=Nr(r.notes);return n?{text:n,notes:a}:null}return null}).filter(o=>o!==null).slice(0,Math.max(0,t)):[]}function Q6(e,t,o){let r=o.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,28);return`${e}_${String(t+1).padStart(2,"0")}_${r||"item"}`}function Ui(e){return Array.from(new Set(e.filter(Boolean)))}function S2e(e){let t=e.name.toLowerCase(),o=e.route.toLowerCase(),r=e.purpose.toLowerCase();return["profile","settings","account","preferences"].some(a=>t.includes(a)||o.includes(a)||r.includes(a))}function fY(e){return Ui(g9(e).map(t=>t.name))}function g9(e){return Array.isArray(e)?e.reduce((t,o,r)=>{if(typeof o=="string"){let s=o.trim();return s&&t.push({name:s,acceptanceCriteria:[],buildSlices:[],definitions:[]}),t}if(typeof o!="object"||o===null||Array.isArray(o))return t;let n=o,a=Nr(n.name)||`Feature ${r+1}`;return a&&t.push({name:a,acceptanceCriteria:Ui([...Wi(n.acceptanceCriteria),...Wi(n.acceptance),...Wi(n.criteria)].filter(Boolean)),buildSlices:Ui([...Wi(n.buildSlices),...Wi(n.implementationSlices),...Wi(n.deliverySlices)].filter(Boolean)),definitions:h9(n.definitions),workflow:Nr(n.workflow),painTargeted:Nr(n.painTargeted),timeToValueImpact:Nr(n.timeToValueImpact),retentionImpact:Nr(n.retentionImpact),evidence:Nr(n.evidence),contractCapabilityIds:Ui(Wi(n.contractCapabilityIds)),contractAcceptanceTestIds:Ui(Wi(n.contractAcceptanceTestIds))}),t},[]):[]}function dY(e,t){return Array.isArray(e)?e.reduce((o,r,n)=>{if(typeof r=="string"){let a=r.trim();return a&&o.push({id:Q6("screen",n,a),name:a,route:"",access:"protected",purpose:"",linkedFeatureNames:[],definitions:[]}),o}if(typeof r=="object"&&r!==null){let a=r,s=Nr(a.name);if(!s)return o;let i=Nr(a.route),l=Nr(a.access)==="public"?"public":"protected",c=Nr(a.purpose),u=Wi(a.linkedFeatureNames).filter(f=>t.includes(f)),m=h9(a.definitions);o.push({id:Nr(a.id)||Q6("screen",n,s),name:s,route:i,access:l,purpose:c,linkedFeatureNames:Ui(u),definitions:m})}return o},[]):[]}function x2e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string"){let o=t.trim();return o?{fromScreen:"",action:o,toScreen:"",success:""}:null}if(typeof t=="object"&&t!==null){let o=t,r=Nr(o.fromScreen),n=Nr(o.action),a=Nr(o.toScreen),s=Nr(o.success);return!r&&!n&&!a&&!s?null:{fromScreen:r,action:n,toScreen:a,success:s}}return null}).filter(t=>t!==null):[]}function pY(e,t){return Array.isArray(e)?e.reduce((o,r,n)=>{if(typeof r=="string"){let a=r.trim();return a&&o.push({id:Q6("flow",n,a),name:a,steps:[],coversFeatures:[],definitions:[]}),o}if(typeof r=="object"&&r!==null){let a=r,s=Nr(a.name);if(!s)return o;let i=Wi(a.coversFeatures).filter(u=>t.includes(u)),l=x2e(a.steps),c=h9(a.definitions);o.push({id:Nr(a.id)||Q6("flow",n,s),name:s,steps:l,coversFeatures:Ui(i),definitions:c})}return o},[]):[]}function hY(e){let t=Ui(e.featureNames),o=Ui(e.screens.flatMap(p=>p.linkedFeatureNames)),r=Ui(e.flows.flatMap(p=>p.coversFeatures)),n=t.filter(p=>r.includes(p)||o.includes(p)),a=t.filter(p=>!n.includes(p)),s=new Set;e.flows.forEach(p=>{p.steps.forEach(h=>{h.fromScreen&&s.add(h.fromScreen),h.toScreen&&s.add(h.toScreen)})});let i=e.screens.filter(p=>!s.has(p.name)).filter(p=>!S2e(p)).map(p=>p.name),l=t.length,c=n.length,u=l===0?1:c/l,m=l<=7,f=l===0?!0:m?c===l:u>=.8,d=[];return e.screens.length>10&&d.push("More than 10 screens detected. MVP may be over-scoped."),a.length>0&&d.push(`Uncovered P0 features: ${a.join(", ")}`),{totalP0:l,coveredP0:c,coverageRatio:u,coveredFeatureNames:n,missingFeatureNames:a,orphanScreenNames:i,warnings:d,gatePass:f}}var L=M(oe());un.register(Hi,Oi,ti,_0,R0);function Cf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function b9(e,t){for(let o of t){let r=String(e[o]??"").trim();if(r)return r}return""}function vf(e){let t=String(e??"").trim().toLowerCase();return t==="high"?"high":t==="med"||t==="medium"?"med":"low"}function I2e(e){if(typeof e=="string")return e.trim();if(typeof e=="number"&&Number.isFinite(e))return String(e);let t=Cf(e),o=Number(t.min),r=Number(t.max),n=String(t.currency??"USD").trim()||"USD";return Number.isFinite(o)&&Number.isFinite(r)?`${n} ${o.toLocaleString()} - ${r.toLocaleString()}`:Number.isFinite(o)?`${n} ${o.toLocaleString()}+`:Number.isFinite(r)?`Up to ${n} ${r.toLocaleString()}`:""}function ai(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function v2e(e){return g9(e).map(t=>({name:t.name,acceptanceCriteria:t.acceptanceCriteria,workflow:t.workflow??"",painTargeted:t.painTargeted??"",timeToValueImpact:t.timeToValueImpact??"",retentionImpact:t.retentionImpact??"",evidence:t.evidence??""}))}function gY(e){if(typeof e=="string")return e.trim();if(typeof e!="object"||e===null||Array.isArray(e))return"";let t=e,o=[String(t.rule??"").trim(),String(t.access??"").trim(),String(t.policy??"").trim(),String(t.description??"").trim(),String(t.summary??"").trim()].find(Boolean);if(o)return o;let r=String(t.entity??t.table??t.name??"").trim(),n=ai(t.roles),a=ai(t.actions),s=ai(t.conditions),i=ai(t.allow),l=ai(t.deny);return[r,n.length>0?`roles:${n.join("/")}`:"",a.length>0?`actions:${a.join("/")}`:"",i.length>0?`allow:${i.join("/")}`:"",l.length>0?`deny:${l.join("/")}`:"",s.length>0?`conditions:${s.join("/")}`:""].filter(Boolean).join(" ").trim()}function C2e(e){return Array.isArray(e)?e.map(gY).filter(Boolean):typeof e=="object"&&e!==null&&!Array.isArray(e)?Object.entries(e).map(([o,r])=>{let n=gY(r);if(n)return n;let a=ai(r);if(a.length>0)return`${o}: ${a.join("/")}`;let s=String(r??"").trim();return s?`${o}: ${s}`:""}).filter(Boolean):[]}function w2e(e){return Array.isArray(e)?e.map((t,o)=>{if(typeof t=="string"){let r=t.trim();return r?{name:r,fields:[]}:null}if(typeof t=="object"&&t!==null){let r=t,n=String(r.name??"").trim()||`Entity ${o+1}`,a=ai(r.fields);return{name:n,fields:a}}return null}).filter(t=>t!==null):[]}function T2e(e){return Array.isArray(e)?e.map((t,o)=>{let r=Cf(t),n=String(r.name??"").trim();return n?{id:String(r.id??`segment_${o+1}`).trim()||`segment_${o+1}`,name:n,useCase:b9(r,["useCase","description"]),likelyACV:b9(r,["likelyACV","likelyAcv","acv"]),salesCycle:b9(r,["salesCycle","salesCycleLength"]),willingnessToPay:I2e(r.willingnessToPay??r.wtp),painIntensity:vf(r.painIntensity??r.urgencyLevel),easeOfReach:vf(r.easeOfReach??r.reachability),timeToValue:vf(r.timeToValue??r.ttv),retentionPotential:vf(r.retentionPotential??r.retention),supportBurden:vf(r.supportBurden??r.supportComplexity),recommended:r.recommended===!0,notes:String(r.notes??"").trim()}:null}).filter(t=>t!==null):[]}function A2e(e){return Array.isArray(e)?e.map((t,o)=>{let r=Cf(t),n=String(r.name??"").trim();return n?{id:String(r.id??`substitute_${o+1}`).trim()||`substitute_${o+1}`,type:String(r.type??"other").trim()||"other",name:n,whyPeopleUseIt:String(r.whyPeopleUseIt??"").trim(),biggestWeakness:String(r.biggestWeakness??"").trim(),yourAdvantage:String(r.yourAdvantage??"").trim(),notes:String(r.notes??"").trim()}:null}).filter(t=>t!==null):[]}function ac(e){return e.toLowerCase().replace(/[^a-z0-9]+/g," ").split(" ").map(t=>t.trim()).filter(t=>t.length>=3)}function tv(e,t){if(e.length===0||t.length===0)return 0;let o=new Set(t),r=0;for(let n of e)o.has(n)&&(r+=1);return r}function k2e(e,t,o){if(o.length===0)return[];let r=t.filter(a=>(a.linkedFeatureNames??[]).includes(e)).map(a=>`${a.name} ${a.purpose}`.trim()),n=ac([e,...r].join(" "));return o.map(a=>{let s=ac(`${a.name} ${(a.fields??[]).join(" ")}`);return{name:a.name,score:tv(n,s)}}).filter(a=>a.score>0).sort((a,s)=>s.score-a.score).slice(0,3).map(a=>a.name)}function M2e(e,t){if(t.length===0)return[];let o=[e.name,...e.coversFeatures,...e.steps.map(n=>`${n.fromScreen} ${n.action} ${n.toScreen} ${n.success}`)].join(" "),r=ac(o);return t.map(n=>{let a=ac(`${n.name} ${(n.fields??[]).join(" ")}`);return{name:n.name,score:tv(r,a)}}).filter(n=>n.score>0).sort((n,a)=>a.score-n.score).slice(0,3).map(n=>n.name)}function L2e(e){let t=e.toLowerCase();return["stripe","calendar","google","slack","twilio","webhook","oauth","github","notion","salesforce"].filter(r=>t.includes(r))}function X2(e){return e==="high"?"green":e==="med"?"yellow":"red"}function Bs(e){for(let t of e){let o=String(t??"").trim();if(o)return o}return""}function bY(e,t){let o=e.toLowerCase();return t.some(r=>o.includes(r))}var J6="Not provided in MVP Scope JSON yet.";function P2e(e,t){let o=[e.name,e.workflow,e.painTargeted,e.acceptanceCriteria.join(" ")].join(" "),r=!!e.painTargeted.trim()||tv(ac(o),ac(t.strongestPain))>0,n=!!e.workflow.trim()||tv(ac(o),ac(t.wedgeWorkflow))>0,a=bY([e.timeToValueImpact,o].join(" "),["fast","quick","first value","onboarding","start","capture","login"])||vf(e.timeToValueImpact)==="high",s=bY([e.retentionImpact,o].join(" "),["repeat","retention","habit","daily","recurring","history","streak"])||vf(e.retentionImpact)==="high";return{painAligned:r,workflowAligned:n,ttvAligned:a,retentionAligned:s}}function E2e(e){let t=[],o=[],r=[e.p0.length>0&&e.p0.length<=7,e.screens.length>0&&e.screens.length<=10,e.flows.length>=1,e.coverageRatio>=.8,e.entities.length>0&&e.accessRules.length>0,e.p0.every(i=>i.acceptanceCriteria.length>0)];e.p0.length===0?t.push("No P0 features defined."):e.p0.length<3?o.push(`P0 scope has ${e.p0.length} features (target ${3}-${7} unless this is truly single-workflow).`):e.p0.length>7&&o.push(`P0 scope has ${e.p0.length} features (target ${3}-${7}).`),e.screens.length===0?t.push("No screens defined."):e.screens.length>10&&o.push(`Screen count is ${e.screens.length} (target <= 10).`),e.flows.length<1&&t.push("At least one flow is required."),e.coverageRatio<.8&&t.push("P0 coverage is below 80%."),e.entities.length===0&&t.push("Data model entities are missing."),e.accessRules.length===0&&t.push("Access rules are missing.");let n=e.p0.filter(i=>i.acceptanceCriteria.length===0).map(i=>i.name);n.length>0&&t.push(`Acceptance criteria missing for: ${n.join(", ")}.`);let a=r.filter(Boolean).length;return{score:Math.round(a/r.length*100),blockers:t,warnings:o}}function yY(e,t){let o=ac(e),r=t.join(" ").toLowerCase();return o.some(n=>r.includes(n))}function B2e(e){let t=e.join(" ").toLowerCase();return["owner_id","created_by","workspace_id","user_id"].some(o=>t.includes(o))}function SY({projectId:e,spec:t,onExportAiSpec:o}){let r=H0(),n=r2(),a=t.mvp??{},s=t.dataModel??{},i=t.research??{},l=Cf(i.marketDefinition),c=Cf(i.segmentAnalysis),u=Cf(i.customerSentiment),m=Cf(i.validationInsights),f=v2e(a.p0Features),d=fY(a.p0Features),p=dY(a.screens,d),h=pY(a.flows,d),S=w2e(s.entities),g=C2e(s.accessRules),b=T2e(c.segments),I=A2e(i.substitutes),v=ai(u.topComplaintThemes),C=ai(u.onboardingPainPoints),T=hY({featureNames:d,screens:p,flows:h}),w=E2e({p0:f,screens:p,flows:h,entities:S,accessRules:g,coverageRatio:T.coverageRatio}),P=L2e(JSON.stringify(t)),k={labels:["P0 Features","Screens","Flows","Entities","Integrations"],datasets:[{label:"Count",data:[f.length,p.length,h.length,S.length,P.length],backgroundColor:[r.fill(r.series.brand),r.fill(r.series.blue),r.fill(r.series.green),r.fill(r.series.yellow),r.fill(r.series.purple)],borderColor:[r.series.brand,r.series.blue,r.series.green,r.series.yellow,r.series.purple],borderWidth:1,borderRadius:8}]},D={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:r.tooltipBackground,titleColor:r.tooltipTitleColor,bodyColor:r.tooltipBodyColor,borderColor:r.tooltipBorderColor,borderWidth:1}},scales:{x:{ticks:{color:r.axisColor},grid:{color:r.gridColor},border:{color:r.borderColor}},y:{beginAtZero:!0,ticks:{color:r.axisColor,precision:0,stepSize:1},grid:{color:r.gridColor},border:{color:r.borderColor}}}},H=[];f.length>7&&H.push(`Cut or defer features until scope is back inside the ${3}-${7} P0 range.`),p.length>10&&H.push("Merge low-value screens into existing surfaces and avoid one-off routes."),T.coverageRatio<.8&&H.push("Add one happy-path flow that explicitly covers each missing P0 feature."),P.length>2&&H.push("Defer non-critical integrations to post-MVP to reduce launch risk.");let j=Bs([m.strongestSegment]),se=Bs([a.primarySegmentId,j]),X=b.find(ne=>ne.id===se)??b.find(ne=>ne.name.toLowerCase()===se.toLowerCase())??b.find(ne=>ne.recommended)??b[0]??null,le=Bs([a.wedgeWorkflow,h[0]?.name,""]),re=Bs([a.strongestPainTargeted,m.strongestOpening,v[0]]),W=Bs([a.strongestSubstituteTargeted,m.strongestSubstituteThreat,I[0]?.name]),de=Bs([a.whyThisWorkflow]),q=Bs([a.onboardingStrategy,C[0]]),me=Bs([a.timeToValueStrategy]),he=ai(a.exclusions),pe=ai(a.nonGoals),Y=Bs([a.retentionHypothesis]),ee=Bs([a.successMilestone]),J=Bs([a.successMilestoneRationale]),ge=Bs([a.roadmapLogic]),_=f.map(ne=>({feature:ne,signals:P2e(ne,{wedgeWorkflow:le,strongestPain:re})})),[fe,Ce]=(0,y9.useState)(d[0]??""),[ie,Ae]=(0,y9.useState)(!1),ye=fe?p.filter(ne=>ne.linkedFeatureNames.includes(fe)||h.some(Re=>Re.coversFeatures.includes(fe)&&Re.steps.some(Ze=>Ze.fromScreen===ne.name||Ze.toScreen===ne.name))):[],Be=fe?k2e(fe,p,S):[],ce=S.filter(ne=>!yY(ne.name,g)).map(ne=>ne.name),Pe={borderWidth:"1px",borderColor:"surface.border",borderRadius:"xl",p:5,bg:"surface.base",boxShadow:"sm"},Te={borderWidth:"1px",borderColor:"surface.border",borderRadius:"lg",p:4,bg:"surface.base",boxShadow:"sm",h:"full"},De={borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,bg:"surface.muted"},Ct={columnCount:{base:1,xl:2},columnGap:"16px"},He={display:"inline-block",width:"100%",mb:4,sx:{breakInside:"avoid",pageBreakInside:"avoid"}},We=w.score>=80?"green":w.score>=60?"yellow":"red",Qe=w.score>=80?"Build-ready signal":w.score>=60?"Needs tightening":"High risk";async function st(){if(!ie){Ae(!0);try{if(o){await o();return}let ne=await fetch(`/app/phase-summary/mvp_blueprint/export?projectId=${e}&format=ai_spec`,{method:"GET",credentials:"same-origin"});if(!ne.ok){let ii=await ne.text();throw new Error(ii||`Export failed with status ${ne.status}`)}let Re=await ne.blob(),Tn=((ne.headers.get("content-disposition")??"").match(/filename=\"?([^\";]+)\"?/i)?.[1]||"mvp-ai-spec.md").trim(),Jt=URL.createObjectURL(Re),Dn=document.createElement("a");Dn.href=Jt,Dn.download=Tn,document.body.appendChild(Dn),Dn.click(),Dn.remove(),URL.revokeObjectURL(Jt)}catch(ne){let Re=ne instanceof Error?ne.message:"Unable to export AI-ready spec.";n({title:"Export failed",description:Re,status:"error",duration:5e3,isClosable:!0})}finally{Ae(!1)}}}return(0,L.jsxs)(z,{spacing:5,children:[(0,L.jsxs)(E,{...Pe,children:[(0,L.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,L.jsxs)(z,{spacing:.5,children:[(0,L.jsx)(x,{fontWeight:"semibold",children:"MVP Blueprint Overview"}),(0,L.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Scope, workflow clarity, and build readiness from your current MVP blueprint."})]}),(0,L.jsx)($,{colorScheme:We,variant:"subtle",borderRadius:"full",children:Qe})]}),(0,L.jsxs)(Le,{columns:{base:1,md:2,xl:4},spacing:3,mt:4,children:[(0,L.jsxs)(E,{...De,children:[(0,L.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"P0 Features"}),(0,L.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:f.length})]}),(0,L.jsxs)(E,{...De,children:[(0,L.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Screens"}),(0,L.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:p.length})]}),(0,L.jsxs)(E,{...De,children:[(0,L.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Flows"}),(0,L.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:h.length})]}),(0,L.jsxs)(E,{...De,children:[(0,L.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Coverage"}),(0,L.jsxs)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:[Math.round(T.coverageRatio*100),"%"]})]})]})]}),(0,L.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,L.jsx)(E,{...Pe,children:(0,L.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,L.jsxs)(z,{spacing:.5,children:[(0,L.jsx)(x,{fontWeight:"semibold",children:"AI-ready Spec Export"}),(0,L.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Download a portable Markdown spec for GPT / Claude so new chats start with your latest MVP context."})]}),(0,L.jsx)(gt,{variant:"surfacePrimary",colorScheme:"brand",leftIcon:(0,L.jsx)(HM,{size:16}),isLoading:ie,loadingText:"Exporting...",isDisabled:ie,onClick:st,children:"Export AI-ready spec"})]})}),(0,L.jsxs)(E,{...Pe,children:[(0,L.jsxs)(Z,{justify:"space-between",align:"center",mb:3,children:[(0,L.jsx)(x,{fontWeight:"semibold",children:"MVP Readiness Score"}),(0,L.jsxs)($,{colorScheme:We,fontSize:"sm",children:[w.score,"/100"]})]}),(0,L.jsx)(fa,{value:w.score,borderRadius:"md",mb:3,colorScheme:We}),w.blockers.length>0?(0,L.jsxs)(dt,{status:"error",borderRadius:"md",mb:3,children:[(0,L.jsx)(pt,{}),(0,L.jsx)(ht,{children:w.blockers.join(" ")})]}):(0,L.jsxs)(dt,{status:"success",borderRadius:"md",mb:3,children:[(0,L.jsx)(pt,{}),(0,L.jsx)(ht,{children:"No critical blockers detected."})]}),w.warnings.length>0?(0,L.jsxs)(dt,{status:"warning",borderRadius:"md",children:[(0,L.jsx)(pt,{}),(0,L.jsx)(ht,{children:w.warnings.join(" ")})]}):null]})]}),(0,L.jsx)(E,{...Pe,children:(0,L.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,L.jsxs)(Or,{children:[(0,L.jsx)(rt,{children:"Scope + Flows"}),(0,L.jsx)(rt,{children:"Strategy"}),(0,L.jsx)(rt,{children:"Data + Risk"})]}),(0,L.jsxs)(Vr,{children:[(0,L.jsx)(Ke,{px:0,pt:5,children:(0,L.jsxs)(z,{spacing:4,children:[(0,L.jsxs)(E,{...Te,children:[(0,L.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,L.jsx)(x,{fontWeight:"semibold",children:"P0 Prioritization Signals"}),(0,L.jsxs)($,{colorScheme:"blue",children:[_.length," feature(s)"]})]}),(0,L.jsx)(E,{maxW:"full",children:(0,L.jsx)(Ka,{children:(0,L.jsxs)(ja,{size:"sm",minW:"820px",children:[(0,L.jsx)(vs,{children:(0,L.jsxs)(yo,{children:[(0,L.jsx)(Ee,{children:"Feature"}),(0,L.jsx)(Ee,{children:"Pain support"}),(0,L.jsx)(Ee,{children:"Workflow support"}),(0,L.jsx)(Ee,{children:"TTV support"}),(0,L.jsx)(Ee,{children:"Retention support"}),(0,L.jsx)(Ee,{children:"Evidence"})]})}),(0,L.jsx)(Is,{children:_.length>0?_.map(({feature:ne,signals:Re})=>(0,L.jsxs)(yo,{children:[(0,L.jsxs)(we,{children:[(0,L.jsx)(x,{fontWeight:"medium",children:ne.name}),ne.workflow?(0,L.jsxs)(x,{fontSize:"xs",color:"text.muted",children:["Workflow: ",ne.workflow]}):null]}),(0,L.jsx)(we,{children:(0,L.jsx)($,{colorScheme:Re.painAligned?"green":"orange",children:Re.painAligned?"Aligned":"Weak"})}),(0,L.jsx)(we,{children:(0,L.jsx)($,{colorScheme:Re.workflowAligned?"green":"orange",children:Re.workflowAligned?"Aligned":"Weak"})}),(0,L.jsx)(we,{children:(0,L.jsx)($,{colorScheme:Re.ttvAligned?"green":"orange",children:Re.ttvAligned?"Supports fast value":"Unclear"})}),(0,L.jsx)(we,{children:(0,L.jsx)($,{colorScheme:Re.retentionAligned?"green":"yellow",children:Re.retentionAligned?"Retention signal":"Needs retention loop"})}),(0,L.jsx)(we,{children:(0,L.jsx)(x,{fontSize:"xs",color:"text.muted",children:ne.evidence||"\u2014"})})]},ne.name)):(0,L.jsxs)(yo,{children:[(0,L.jsx)(we,{children:"\u2014"}),(0,L.jsx)(we,{children:"\u2014"}),(0,L.jsx)(we,{children:"\u2014"}),(0,L.jsx)(we,{children:"\u2014"}),(0,L.jsx)(we,{children:"\u2014"}),(0,L.jsx)(we,{children:"\u2014"})]})})]})})})]}),(0,L.jsxs)(E,{...Te,children:[(0,L.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:4,flexWrap:"wrap",children:[(0,L.jsxs)(z,{spacing:.5,children:[(0,L.jsx)(x,{fontWeight:"semibold",children:"Scope Map: Feature \u2192 Dependencies"}),(0,L.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Select a P0 feature, then review the mapped screens and inferred entities in the same workflow panel."})]}),(0,L.jsxs)($,{colorScheme:"blue",variant:"subtle",children:[d.length," feature(s)"]})]}),(0,L.jsxs)(Le,{columns:{base:1,xl:12},spacing:4,children:[(0,L.jsxs)(E,{gridColumn:{base:"span 1",xl:"span 4"},pr:{base:0,xl:3},borderRightWidth:{base:"0px",xl:"1px"},borderRightColor:"surface.border",children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:2,children:"1. Choose P0 Feature"}),(0,L.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:"Your selection controls the dependency map."}),d.length>0?(0,L.jsx)(z,{spacing:2.5,children:d.map(ne=>{let Re=ne===fe;return(0,L.jsx)(gt,{size:"sm",h:"auto",minH:"40px",py:2.5,px:3,variant:Re?"surfacePrimary":"surface",colorScheme:"brand",justifyContent:"flex-start",textAlign:"left",borderWidth:Re?"2px":"1px",borderColor:Re?"brand.500":"surface.border",bg:Re?"brand.50":"surface.base",onClick:()=>Ce(ne),sx:{whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",lineHeight:"1.35"},children:(0,L.jsxs)(Z,{w:"full",justify:"space-between",align:"start",spacing:2,children:[(0,L.jsx)(x,{as:"span",flex:"1 1 auto",children:ne}),Re?(0,L.jsx)($,{colorScheme:"brand",variant:"subtle",fontSize:"10px",children:"Selected"}):null]})},ne)})}):(0,L.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,L.jsx)(pt,{}),(0,L.jsxs)(ht,{children:["No P0 features yet."," ",(0,L.jsx)(wn,{href:`/app/phases/mvp_blueprint/mvp_scope?projectId=${e}`,children:(0,L.jsx)(gt,{size:"xs",ml:2,variant:"surface",colorScheme:"brand",children:"Open MVP Scope"})})]})]})]}),(0,L.jsxs)(E,{gridColumn:{base:"span 1",xl:"span 8"},pl:{base:0,xl:1},children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:2,children:"2. Dependency Map"}),(0,L.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:fe?`Showing dependencies for: ${fe}`:"Select a feature to view mapped screens and inferred entities."}),(0,L.jsxs)(Le,{columns:{base:1,lg:2},spacing:3,children:[(0,L.jsxs)(E,{...De,bg:"surface.base",children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Related Screens"}),fe?ye.length>0?(0,L.jsx)(z,{spacing:2,children:ye.map(ne=>(0,L.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:[(0,L.jsx)(x,{fontWeight:"medium",children:ne.name}),(0,L.jsxs)(x,{fontSize:"xs",color:"text.muted",children:[ne.route||"No route"," \u2022 ",ne.access]})]},ne.id))}):(0,L.jsx)(x,{color:"text.muted",children:"No direct screen mapping found for this feature."}):(0,L.jsx)(x,{color:"text.muted",children:"Select a feature to highlight related screens."})]}),(0,L.jsxs)(E,{...De,bg:"surface.base",children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Related Entities (Inferred)"}),fe?Be.length>0?(0,L.jsx)(z,{spacing:2,children:Be.map(ne=>(0,L.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"purple.200",p:2.5,bg:"purple.50",children:(0,L.jsx)(x,{fontWeight:"medium",fontSize:"sm",children:ne})},ne))}):(0,L.jsx)(x,{color:"text.muted",children:"No inferred entity mapping yet. Add clearer entity/field keywords."}):(0,L.jsx)(x,{color:"text.muted",children:"Select a feature to infer likely touched entities."})]})]})]})]})]}),(0,L.jsxs)(E,{...Te,children:[(0,L.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,L.jsx)(x,{fontWeight:"semibold",children:"Happy Path Flow Storyboards"}),(0,L.jsxs)($,{colorScheme:"blue",children:[h.length," flow(s)"]})]}),(0,L.jsx)(x,{fontSize:"sm",color:"text.muted",mb:4,children:"Follow each flow from start to success. Cards are arranged for quick horizontal scan."}),h.length>0?(0,L.jsx)(z,{spacing:4,children:h.map(ne=>{let Re=M2e(ne,S);return(0,L.jsxs)(E,{...De,bg:"surface.base",px:{base:3,md:4},py:{base:3,md:4},children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:2,fontSize:"md",children:ne.name}),(0,L.jsx)(tt,{mb:3,children:(ne.coversFeatures.length>0?ne.coversFeatures:["No covered features tagged"]).map(Ze=>(0,L.jsx)(Se,{children:(0,L.jsx)($,{colorScheme:"teal",variant:"subtle",children:Ze})},`${ne.id}-${Ze}`))}),(0,L.jsx)(E,{layerStyle:"notchedInset",maxW:"full",borderWidth:"1px",borderColor:"surface.border",bg:"surface.muted",children:(0,L.jsx)(Ka,{style:{paddingBottom:6},children:(0,L.jsx)(Z,{align:"stretch",spacing:2.5,minW:"max-content",px:2,pt:2,pb:4,children:ne.steps.map((Ze,it)=>(0,L.jsxs)(Z,{align:"stretch",spacing:2.5,children:[(0,L.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",p:3,minW:{base:"220px",md:"240px"},maxW:"260px",bg:"surface.base",children:[(0,L.jsxs)(Z,{justify:"space-between",align:"center",mb:2,children:[(0,L.jsxs)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:["Step ",it+1]}),(0,L.jsx)($,{colorScheme:"blue",variant:"subtle",fontSize:"10px",children:"Flow"})]}),(0,L.jsxs)(x,{fontWeight:"medium",lineHeight:"1.3",children:[Ze.fromScreen||"Start"," \u2192 ",Ze.toScreen||"Next"]}),(0,L.jsxs)(x,{fontSize:"sm",mt:2,children:[(0,L.jsx)("strong",{children:"Action:"})," ",Ze.action||"\u2014"]}),(0,L.jsxs)(x,{fontSize:"sm",mt:1.5,color:"green.700",children:[(0,L.jsx)("strong",{children:"Success:"})," ",Ze.success||"\u2014"]})]}),it<ne.steps.length-1?(0,L.jsx)(E,{alignSelf:"center",color:"text.muted","aria-hidden":"true",children:(0,L.jsx)(Zl,{size:18,weight:"duotone"})}):null]},`${ne.id}-step-${it}`))})})}),Re.length>0?(0,L.jsxs)(Z,{mt:3,spacing:2,flexWrap:"wrap",children:[(0,L.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Likely touched entities:"}),(0,L.jsx)(tt,{children:Re.map(Ze=>(0,L.jsx)(Se,{children:(0,L.jsx)($,{colorScheme:"purple",variant:"subtle",children:Ze})},`${ne.id}-${Ze}`))})]}):null]},ne.id)})}):(0,L.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,L.jsx)(pt,{}),(0,L.jsxs)(ht,{children:["No flows found."," ",(0,L.jsx)(wn,{href:`/app/phases/mvp_blueprint/screens_flows?projectId=${e}`,children:(0,L.jsx)(gt,{size:"xs",ml:2,variant:"surface",colorScheme:"teal",children:"Open Screens + Flows"})})]})]})]})]})}),(0,L.jsx)(Ke,{px:0,pt:5,children:(0,L.jsxs)(E,{sx:Ct,children:[(0,L.jsxs)(E,{...Te,...He,children:[(0,L.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,L.jsx)(x,{fontWeight:"semibold",children:"MVP Strategy Blueprint"}),X?.name?(0,L.jsxs)($,{colorScheme:"green",variant:"subtle",children:["Segment: ",X.name]}):null]}),(0,L.jsxs)(z,{spacing:2,children:[(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Wedge workflow:"})," ",le||"\u2014"]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Strongest pain targeted:"})," ",re||"\u2014"]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Strongest substitute targeted:"})," ",W||"\u2014"]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Urgent JTBD:"})," ",String(l.urgentJobToBeDone??"").trim()||"\u2014"]}),de?(0,L.jsxs)(x,{color:"text.muted",children:[(0,L.jsx)("strong",{children:"Why this workflow:"})," ",de]}):null]})]}),(0,L.jsxs)(E,{...Te,...He,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Time-to-Value + Onboarding Strategy"}),(0,L.jsxs)(z,{spacing:2,children:[(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Onboarding strategy:"})," ",q||"\u2014"]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Time-to-value strategy:"})," ",me||"\u2014"]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Replacement vs net-new:"})," ",String(l.replacementVsNetNew??"").trim()||"\u2014"]}),C.length>0?(0,L.jsxs)(x,{color:"text.muted",children:[(0,L.jsx)("strong",{children:"Competing-tool onboarding pain:"})," ",C.slice(0,3).join(", ")]}):null]}),q||me?null:(0,L.jsxs)(dt,{status:"info",borderRadius:"md",mt:3,children:[(0,L.jsx)(pt,{}),(0,L.jsx)(ht,{children:"Set onboarding/time-to-value strategy in MVP Scope for clearer build priorities."})]})]}),(0,L.jsxs)(E,{...Te,...He,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Segment-to-MVP Fit"}),X?(0,L.jsxs)(z,{spacing:3,children:[(0,L.jsxs)(Z,{justify:"space-between",children:[(0,L.jsx)(x,{fontWeight:"medium",children:X.name}),(0,L.jsx)($,{colorScheme:X.recommended?"green":"gray",children:X.recommended?"Recommended":"Candidate"})]}),(0,L.jsx)(x,{color:"text.muted",children:X.useCase||"Use case not captured yet."}),(0,L.jsxs)(tt,{children:[(0,L.jsx)(Se,{children:(0,L.jsxs)($,{colorScheme:X2(X.painIntensity),children:["Pain: ",X.painIntensity]})}),(0,L.jsx)(Se,{children:(0,L.jsxs)($,{colorScheme:X2(X.easeOfReach),children:["Reach: ",X.easeOfReach]})}),(0,L.jsx)(Se,{children:(0,L.jsxs)($,{colorScheme:X2(X.timeToValue),children:["TTV: ",X.timeToValue]})}),(0,L.jsx)(Se,{children:(0,L.jsxs)($,{colorScheme:X2(X.retentionPotential),children:["Retention: ",X.retentionPotential]})}),(0,L.jsx)(Se,{children:(0,L.jsxs)($,{colorScheme:X2(X.supportBurden),children:["Support: ",X.supportBurden]})})]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"WTP signal:"})," ",X.willingnessToPay||"\u2014"]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Likely ACV / Sales cycle:"})," ",X.likelyACV||"\u2014"," \xB7 ",X.salesCycle||"\u2014"]})]}):(0,L.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,L.jsx)(pt,{}),(0,L.jsx)(ht,{children:"No segment analysis mapped yet. Re-run Market & Validation segment analysis."})]})]}),(0,L.jsxs)(E,{...Te,...He,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Exclusions / Non-goals"}),(0,L.jsxs)(z,{spacing:3,children:[(0,L.jsxs)(E,{children:[(0,L.jsx)(x,{fontWeight:"medium",mb:1,children:"Exclusions"}),he.length>0?(0,L.jsx)(at,{children:he.map(ne=>(0,L.jsx)(Ge,{children:ne},`ex-${ne}`))}):(0,L.jsx)(x,{color:"text.muted",children:"No exclusions listed yet."})]}),(0,L.jsxs)(E,{children:[(0,L.jsx)(x,{fontWeight:"medium",mb:1,children:"Non-goals"}),pe.length>0?(0,L.jsx)(at,{children:pe.map(ne=>(0,L.jsx)(Ge,{children:ne},`ng-${ne}`))}):(0,L.jsx)(x,{color:"text.muted",children:"No non-goals listed yet."})]})]})]}),(0,L.jsxs)(E,{...Te,...He,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Retention Hypothesis"}),(0,L.jsxs)(z,{spacing:2,children:[(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Hypothesis:"})," ",Y||J6]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Success milestone:"})," ",ee||J6]}),J?(0,L.jsxs)(x,{color:"text.muted",children:[(0,L.jsx)("strong",{children:"Rationale:"})," ",J]}):(0,L.jsxs)(x,{color:"text.muted",children:[(0,L.jsx)("strong",{children:"Rationale:"})," ",J6]}),(0,L.jsxs)(x,{children:[(0,L.jsx)("strong",{children:"Roadmap logic:"})," ",ge||J6]})]})]}),(0,L.jsxs)(E,{...Te,...He,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Substitute Weakness Exploitation"}),I.length>0?(0,L.jsx)(z,{spacing:3,children:I.slice(0,4).map(ne=>(0,L.jsxs)(E,{borderWidth:"1px",borderColor:"blue.200",bg:"blue.50",borderRadius:"md",px:3.5,py:3,children:[(0,L.jsxs)(Z,{spacing:2,align:"center",mb:1.5,children:[(0,L.jsx)(E,{color:"blue.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,L.jsx)(pa,{size:18,weight:"duotone"})}),(0,L.jsx)(x,{fontWeight:"semibold",children:ne.name})]}),(0,L.jsx)($,{colorScheme:"blue",variant:"subtle",mb:2,children:ne.type}),(0,L.jsxs)(z,{spacing:1.5,children:[(0,L.jsxs)(x,{fontSize:"sm",lineHeight:"1.45",children:[(0,L.jsx)("strong",{children:"Why people use it:"})," ",ne.whyPeopleUseIt||"\u2014"]}),(0,L.jsxs)(x,{fontSize:"sm",lineHeight:"1.45",children:[(0,L.jsx)("strong",{children:"Biggest weakness:"})," ",ne.biggestWeakness||"\u2014"]}),(0,L.jsxs)(x,{fontSize:"sm",lineHeight:"1.45",children:[(0,L.jsx)("strong",{children:"Your opening:"})," ",ne.yourAdvantage||"\u2014"]})]})]},ne.id))}):(0,L.jsx)(x,{color:"text.muted",children:"No substitute map captured yet."})]}),(0,L.jsxs)(E,{...Te,...He,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:2,children:"Build Phase Preview"}),(0,L.jsxs)(at,{mb:3,children:[(0,L.jsx)(Ge,{children:"Repo interrogation"}),(0,L.jsx)(Ge,{children:"Scaffold"}),(0,L.jsx)(Ge,{children:"Auth + profile verification"}),(0,L.jsx)(Ge,{children:"DB schema + RLS"}),(0,L.jsxs)(Ge,{children:["Feature cards (",Math.max(1,f.length),")"]}),(0,L.jsx)(Ge,{children:"Deploy prep"}),(0,L.jsx)(Ge,{children:"QA smoke test"})]}),(0,L.jsx)(wn,{href:`/app/phases/build?projectId=${e}`,children:(0,L.jsx)(gt,{variant:"surfacePrimary",colorScheme:"brand",children:"Open Build Phase"})})]})]})}),(0,L.jsx)(Ke,{px:0,pt:5,children:(0,L.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,L.jsxs)(E,{...Te,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Complexity + Risk"}),(0,L.jsx)(E,{h:"280px",children:(0,L.jsx)(F0,{data:k,options:D})}),(0,L.jsx)(io,{my:3}),(0,L.jsx)(x,{fontWeight:"medium",mb:2,children:"Recommended cuts"}),H.length>0?(0,L.jsx)(at,{children:H.slice(0,3).map(ne=>(0,L.jsx)(Ge,{children:ne},ne))}):(0,L.jsx)(x,{color:"text.muted",children:"No major cut recommendations. Scope looks manageable."})]}),(0,L.jsxs)(E,{...Te,children:[(0,L.jsx)(x,{fontWeight:"semibold",mb:3,children:"Data Model Readiness"}),(0,L.jsx)(E,{maxW:"full",children:(0,L.jsx)(Ka,{children:(0,L.jsxs)(ja,{size:"sm",minW:"620px",children:[(0,L.jsx)(vs,{children:(0,L.jsxs)(yo,{children:[(0,L.jsx)(Ee,{children:"Entity"}),(0,L.jsx)(Ee,{children:"Access rule present?"}),(0,L.jsx)(Ee,{children:"Ownership field likely?"})]})}),(0,L.jsx)(Is,{children:S.length>0?S.map(ne=>{let Re=yY(ne.name,g),Ze=B2e(ne.fields);return(0,L.jsxs)(yo,{children:[(0,L.jsx)(we,{children:ne.name}),(0,L.jsx)(we,{children:(0,L.jsx)($,{colorScheme:Re?"green":"red",children:Re?"Yes":"No"})}),(0,L.jsx)(we,{children:(0,L.jsx)($,{colorScheme:Ze?"green":"yellow",children:Ze?"Likely":"Unknown"})})]},ne.name)}):(0,L.jsxs)(yo,{children:[(0,L.jsx)(we,{children:"\u2014"}),(0,L.jsx)(we,{children:"\u2014"}),(0,L.jsx)(we,{children:"\u2014"})]})})]})})}),ce.length>0?(0,L.jsxs)(dt,{status:"warning",borderRadius:"md",mt:3,children:[(0,L.jsx)(pt,{}),(0,L.jsxs)(ht,{children:["Missing access rules for: ",ce.join(", "),"."]})]}):null]})]})})]})]})})]})}function Y2(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function D2e(e){let t=String(e??"").trim().toLowerCase();return t==="hero"||t==="social_proof"||t==="features"||t==="how_it_works"||t==="pricing"||t==="faq"||t==="final_cta"?t:"hero"}function R2e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string"){let o=t.trim();return o?{q:o,a:""}:null}if(typeof t=="object"&&t!==null){let o=t,r=String(o.q??"").trim(),n=String(o.a??"").trim();return!r&&!n?null:{q:r,a:n}}return null}).filter(t=>t!==null):[]}function _2e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string"){let o=t.trim();return o?{url:"",alt:o}:null}if(typeof t=="object"&&t!==null){let o=t,r=String(o.url??"").trim(),n=String(o.alt??"").trim();return!r&&!n?null:{url:r,alt:n}}return null}).filter(t=>t!==null):[]}function F2e(e){return e.anchorId?e.anchorId:e.type==="pricing"?"pricing":e.type==="faq"?"faq":e.id||e.type}function S9(e){let t=e.landing??{},o=t.seo??{},r=o.onPage??{},n=t.assets??{},s=(Array.isArray(t.sections)?t.sections:[]).map((u,m)=>{if(typeof u!="object"||u===null)return null;let f=u,d=D2e(f.type);return{id:String(f.id??"").trim()||`${d}_${m+1}`,type:d,headline:String(f.headline??"").trim(),subhead:String(f.subhead??"").trim(),body:String(f.body??"").trim(),bullets:Y2(f.bullets),ctaText:String(f.ctaText??"").trim(),anchorId:String(f.anchorId??"").trim()}}).filter(u=>u!==null),i=t.cta??{},l=String(i.primary??i.label??"").trim(),c=String(i.secondary??i.action??"").trim();return{tone:["clear","friendly","premium"].includes(String(t.tone))?String(t.tone):"clear",cta:{primary:l,secondary:c},sections:s,assets:{heroImageUrl:String(n.heroImageUrl??"").trim(),featureImageUrls:Y2(n.featureImageUrls),ogImageUrl:String(n.ogImageUrl??"").trim(),videoUrl:String(n.videoUrl??"").trim()},seo:{primaryKeyword:String(o.primaryKeyword??"").trim(),secondaryKeywords:Y2(o.secondaryKeywords),onPage:{title:String(r.title??"").trim(),metaDescription:String(r.metaDescription??"").trim(),h1:String(r.h1??"").trim(),h2s:Y2(r.h2s),faq:R2e(r.faq),imageAlts:_2e(r.imageAlts),ctaAnchors:Y2(r.ctaAnchors)},verification:typeof o.verification=="object"&&o.verification!==null&&!Array.isArray(o.verification)?o.verification:{}}}}function xY(e){let t=S9(e),o=X6(e),r=t.sections.find(T=>T.type==="hero"),n=t.seo.onPage.h1||r?.headline||"",a=n?1:0,s=t.sections.map(F2e),i=t.seo.onPage.faq.filter(T=>T.q||T.a).length,l=!!(t.seo.onPage.title&&t.seo.onPage.metaDescription),c=t.seo.onPage.ctaAnchors,u=o?c.length>=1:c.length>=2,m=o?c.includes("faq")&&!c.includes("pricing"):c.includes("pricing")&&c.includes("faq"),f=c.every(T=>s.includes(T)),d=t.seo.onPage.imageAlts.filter(T=>T.alt.trim().length>0),p=t.assets.heroImageUrl,h=p?d.some(T=>T.url.trim()===p&&T.alt.trim().length>0):!1,S=p?h:d.length>=3,g=t.sections.length>=5,b=a===1,I=t.seo.onPage.h2s.length>=4,v=i>=6,C=g&&b&&I&&v&&l&&u&&m&&f&&S;return{sectionsCount:t.sections.length,hasMinSections:g,displayedH1:n,hasExactlyOneH1:b,h2Count:t.seo.onPage.h2s.length,hasMinH2s:I,faqCount:i,hasMinFaqs:v,hasTitleMeta:l,ctaAnchors:c,hasMinAnchors:u,hasRequiredAnchors:m,anchorsExistInSections:f,altCoveragePass:S,sectionAnchorIds:s,allPass:C}}var O=M(oe());function si(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function va(e){return Array.isArray(e)?e.map(t=>String(t??"").trim()).filter(Boolean):[]}function H2e(e){return Array.isArray(e)?e.map(t=>{let o=si(t),r=String(o.name??"").trim();return r?{id:String(o.id??"").trim(),name:r,description:String(o.useCase??o.description??"").trim(),painIntensity:String(o.painIntensity??o.urgencyLevel??"").trim(),easeOfReach:String(o.easeOfReach??"").trim(),timeToValue:String(o.timeToValue??"").trim(),retentionPotential:String(o.retentionPotential??"").trim(),recommended:o.recommended===!0}:null}).filter(t=>t!==null):[]}function O2e(e){return Array.isArray(e)?e.map(t=>{let o=si(t),r=String(o.name??"").trim();return r?{type:String(o.type??"other").trim()||"other",name:r,whyPeopleUseIt:String(o.whyPeopleUseIt??"").trim(),whyTheyStickWithIt:String(o.whyTheyStickWithIt??"").trim(),biggestWeakness:String(o.biggestWeakness??"").trim(),yourAdvantage:String(o.yourAdvantage??"").trim()}:null}).filter(t=>t!==null):[]}function ov(e){let t=e.trim().toLowerCase();return t==="high"?"green":t==="medium"||t==="med"?"yellow":t==="low"?"red":"gray"}function IY(e){return e.toLowerCase().replace(/[^a-z0-9]+/g," ").split(" ").map(t=>t.trim()).filter(t=>t.length>=4)}function nv(e,t){let o=new Set(IY(e));return IY(t).some(r=>o.has(r))}function rv(e){let t=e.trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"\u2014"}function V2e(e,t){if(e.length===0)return{covered:[],missing:[]};let o=t.join(" ").toLowerCase(),r=[],n=[];for(let a of e)a.trim()&&(nv(o,a)?r.push(a):n.push(a));return{covered:r,missing:n}}function N2e(e,t,o){let r=String(t.primarySegmentId??"").trim().toLowerCase();if(r){let a=e.find(s=>s.id.trim().toLowerCase()===r);if(a)return a}let n=String(o.strongestSegment??"").trim().toLowerCase();if(n){let a=e.find(s=>s.name.trim().toLowerCase()===n);if(a)return a}return e.find(a=>a.recommended)??e[0]??null}function z2e({h1:e,strongestPainLead:t,strongestOpening:o,messagingWhitespace:r}){if(!e.trim())return{label:"Hero H1 missing",color:"red",detail:"Landing copy currently has no H1 and cannot communicate a clear wedge above the fold."};let n=["best","all in one","everything","revolutionary","ultimate","for everyone"],a=e.toLowerCase(),s=n.some(u=>a.includes(u)),i=t?nv(e,t):!1,l=o?nv(e,o):!1,c=r.some(u=>nv(e,u));return!s&&(i||l||c)?{label:"Hero appears sharp",color:"green",detail:"H1 appears to reflect validated pain/opening language rather than generic category copy."}:{label:"Hero may be generic",color:"yellow",detail:"H1 currently does not strongly reflect validated pain/opening or messaging whitespace signals."}}function vY({projectId:e,spec:t}){let o=S9(t),r=si(t.landing),n=si(t.seo),a=si(t.research),s=si(a.marketDefinition),i=si(a.segmentAnalysis),l=H2e(i.segments),c=O2e(a.substitutes),u=si(a.positioningAnalysis),m=si(a.customerSentiment),f=si(a.distributionAnalysis),d=si(a.validationInsights),p=xY(t),h=String(r.strongestPainLead??"").trim(),S=String(r.strongestOpening??"").trim(),g=String(r.strongestSubstituteThreat??"").trim(),b=va(r.strongestObjections),I=va(r.strongestFaqThemes),v=va(r.messagingWhitespace),C=va(r.categoryLanguageToUse),T=va(r.categoryLanguageToAvoid),w=va(r.proofAngles),P=String(r.ctaStrategy??"").trim(),k=o.seo.onPage.faq.map(_=>`${_.q} ${_.a}`),D=V2e(b,k),H=N2e(l,r,d),j=String(n.primarySearchIntent??"").trim(),se=String(n.primaryUseCaseAngle??"").trim(),X=String(n.strongestKeywordTheme??"").trim(),le=String(n.strongestCategoryTerm??"").trim(),re=String(n.differentiatedTermStrategy??"").trim(),W=va(n.objectionKeywords),de=o.sections.find(_=>_.type==="hero"),q=o.seo.onPage.h1||de?.headline||"",me=z2e({h1:q,strongestPainLead:h,strongestOpening:S,messagingWhitespace:v}),he=va(m.topComplaintThemes),pe=va(m.topDelightThemes),Y=va(m.repeatedLanguage),ee=va(u.repeatedLanguage),J=v.length>0?v:va(u.messagingWhitespace),ge=c.find(_=>_.name.toLowerCase()===g.toLowerCase())??c[0]??null;return(0,O.jsxs)(Hr,{colorScheme:"teal",variant:"line",isLazy:!0,children:[(0,O.jsxs)(Or,{children:[(0,O.jsx)(rt,{children:"Overview"}),(0,O.jsx)(rt,{children:"Messaging + Conversion"}),(0,O.jsx)(rt,{children:"SEO + Objections"})]}),(0,O.jsxs)(Vr,{children:[(0,O.jsx)(Ke,{px:0,pt:4,children:(0,O.jsxs)(z,{spacing:4,children:[(0,O.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Landing Messaging Summary"}),(0,O.jsx)($,{colorScheme:"blue",children:H?"Segment-led":"Needs segment focus"})]}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Primary segment:"})," ",H?.name||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Strongest pain lead:"})," ",h||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Strongest opening:"})," ",S||String(d.strongestOpening??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Strongest substitute threat:"})," ",g||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"CTA strategy:"})," ",P||"\u2014"]})]}),w.length>0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(io,{my:3}),(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:2,children:"Proof angles"}),(0,O.jsx)(tt,{children:w.map(_=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"teal",variant:"subtle",children:_})},_))})]}):null]}),(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Hero / Headline Quality"}),(0,O.jsx)($,{colorScheme:me.color,children:me.label})]}),(0,O.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:me.detail}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Displayed H1:"})," ",q||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Subhead:"})," ",de?.subhead||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Body:"})," ",de?.body||"\u2014"]})]})]})]}),(0,O.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Segment-to-Landing Fit"}),H?.recommended?(0,O.jsx)($,{colorScheme:"green",children:"Recommended"}):null]}),H?(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsx)(x,{children:(0,O.jsx)("strong",{children:H.name})}),(0,O.jsx)(x,{color:"text.muted",children:H.description||"No segment description yet."}),(0,O.jsxs)(tt,{children:[(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:ov(H.painIntensity),children:["Pain: ",rv(H.painIntensity)]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:ov(H.easeOfReach),children:["Reach: ",rv(H.easeOfReach)]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:ov(H.timeToValue),children:["TTV: ",rv(H.timeToValue)]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:ov(H.retentionPotential),children:["Retention: ",rv(H.retentionPotential)]})})]})]}):(0,O.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsx)(ht,{children:"Segment signal is missing. Populate Market & Validation segment analysis and rerun landing prompts."})]})]}),(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"SEO Intent + Use Case"}),(0,O.jsx)($,{colorScheme:j?"green":"yellow",children:j?"Intent set":"Needs intent"})]}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Primary intent:"})," ",j||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Use-case angle:"})," ",se||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Keyword theme:"})," ",X||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Category term:"})," ",le||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Differentiated term strategy:"})," ",re||"\u2014"]})]})]})]}),(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"SEO Structure Snapshot"}),(0,O.jsx)($,{colorScheme:p.allPass?"green":"yellow",children:p.allPass?"Healthy":"Needs fixes"})]}),(0,O.jsxs)(tt,{spacing:2,children:[(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:p.hasMinSections?"green":"red",children:["Sections: ",p.sectionsCount]})}),(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:p.hasExactlyOneH1?"green":"red",children:"Exactly one H1"})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:p.hasMinH2s?"green":"red",children:["H2s: ",p.h2Count]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:p.hasMinFaqs?"green":"red",children:["FAQs: ",p.faqCount]})}),(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:p.hasTitleMeta?"green":"red",children:"Title + Meta"})}),(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:p.hasRequiredAnchors?"green":"red",children:"Pricing + FAQ anchors"})})]})]})]})}),(0,O.jsx)(Ke,{px:0,pt:4,children:(0,O.jsxs)(z,{spacing:4,children:[(0,O.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Messaging Whitespace"}),J.length>0||ee.length>0?(0,O.jsxs)(z,{spacing:3,children:[(0,O.jsxs)(E,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Whitespace opportunities"}),(0,O.jsx)(tt,{children:(J.length>0?J:["No whitespace tags captured yet."]).map(_=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"green",variant:"subtle",children:_})},_))})]}),(0,O.jsxs)(E,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Overused competitor language"}),(0,O.jsx)(tt,{children:(ee.length>0?ee:["No repeated language captured yet."]).map(_=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"orange",variant:"subtle",children:_})},_))})]})]}):(0,O.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsx)(ht,{children:"Messaging pattern data is sparse. Enrich Competitor Map to identify whitespace and generic language traps."})]})]}),(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Substitute Persuasion"}),ge?(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Substitute:"})," ",ge.name," ",(0,O.jsx)($,{ml:2,children:ge.type})]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Why users stick:"})," ",ge.whyTheyStickWithIt||ge.whyPeopleUseIt||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Weakness to exploit:"})," ",ge.biggestWeakness||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Your counter-angle:"})," ",ge.yourAdvantage||"\u2014"]})]}):(0,O.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsx)(ht,{children:"No substitute signals mapped yet."})]})]})]}),(0,O.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Customer Language Themes"}),(0,O.jsxs)(Le,{columns:{base:1,md:2},spacing:3,children:[(0,O.jsxs)(E,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Complaint language"}),(0,O.jsx)(at,{spacing:1,children:(he.length>0?he:["No complaint themes yet."]).slice(0,6).map(_=>(0,O.jsx)(Ge,{children:_},_))})]}),(0,O.jsxs)(E,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Delight language"}),(0,O.jsx)(at,{spacing:1,children:(pe.length>0?pe:["No delight themes yet."]).slice(0,6).map(_=>(0,O.jsx)(Ge,{children:_},_))})]})]}),Y.length>0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(io,{my:3}),(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:2,children:"Repeated customer phrasing"}),(0,O.jsx)(tt,{children:Y.slice(0,10).map(_=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"blue",variant:"subtle",children:_})},_))})]}):null]}),(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Buyer / User Context"}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Buyer:"})," ",String(s.buyer??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"End user:"})," ",String(s.endUser??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Budget owner:"})," ",String(s.budgetOwner??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Urgent JTBD:"})," ",String(s.urgentJobToBeDone??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Replacement vs net-new:"})," ",String(s.replacementVsNetNew??"\u2014")]})]})]})]})]})}),(0,O.jsx)(Ke,{px:0,pt:4,children:(0,O.jsxs)(z,{spacing:4,children:[(0,O.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Objection Map"}),(0,O.jsx)($,{colorScheme:D.missing.length===0?"green":"yellow",children:D.missing.length===0?"Covered":`${D.missing.length} gaps`})]}),(0,O.jsxs)(Le,{columns:{base:1,md:2},spacing:3,children:[(0,O.jsxs)(E,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Covered in FAQ"}),(0,O.jsx)(at,{spacing:1,children:(D.covered.length>0?D.covered:["No mapped objection coverage yet."]).map(_=>(0,O.jsx)(Ge,{children:_},_))})]}),(0,O.jsxs)(E,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Biggest unaddressed objections"}),(0,O.jsx)(at,{spacing:1,children:(D.missing.length>0?D.missing:["No major objection gaps detected."]).map(_=>(0,O.jsx)(Ge,{children:_},_))})]})]}),I.length>0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(io,{my:3}),(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:2,children:"Strongest FAQ themes"}),(0,O.jsx)(tt,{children:I.map(_=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"purple",variant:"subtle",children:_})},_))})]}):null]}),(0,O.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Keyword + Language Strategy"}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Category language to use:"})," ",C.join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Category language to avoid:"})," ",T.join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Objection keywords:"})," ",W.join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Top observed channels:"})," ",va(f.topObservedChannels).join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"SEO observations:"})," ",va(f.seoObservations).join(", ")||"\u2014"]})]})]})]}),p.allPass?null:(0,O.jsxs)(dt,{status:"warning",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsxs)(ht,{children:["SEO structure is incomplete. Update Landing Copy and On-page SEO buckets, then re-check preview + verification.",(0,O.jsxs)(Z,{mt:3,children:[(0,O.jsx)(wn,{href:`/app/phases/landing_onpage_seo/landing_copy?projectId=${e}`,children:(0,O.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Edit Landing Copy"})}),(0,O.jsx)(wn,{href:`/app/phases/landing_onpage_seo/onpage_seo?projectId=${e}`,children:(0,O.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Edit On-page SEO"})}),(0,O.jsx)(wn,{href:`/app/phases/landing_onpage_seo/landing_preview?projectId=${e}`,children:(0,O.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Open Landing Preview"})})]})]})]})]})})]})]})}function CY(e){return/^#[0-9a-fA-F]{6}$/.test(e.trim())}var W2e=["cover","section_divider","title_bullets","image_right","image_left","full_image","proof","closing"];function wY(e){let t=String(e??"").trim().toLowerCase();return W2e.includes(t)?t:""}function av(e,t){let o=String(e??"").trim();return CY(o)?o.toUpperCase():t}function wf(e){return typeof e!="object"||e===null||Array.isArray(e)?{}:e}function U2e(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function Z2e(e){let t=String(e??"").trim().toLowerCase();return t==="high"?"high":t==="med"?"med":t==="medium"?"medium":"low"}function j2e(e){return(Array.isArray(e)?e:[]).map((o,r)=>{let n=wf(o),a=String(n.type??"custom").trim(),s=["title","problem","solution","product","market","competition","gtm","traction","team","ask","custom"].includes(a)?a:"custom",i=String(n.emphasis??"").trim().toLowerCase(),l=String(n.visualPriority??"").trim().toLowerCase(),c=String(n.imagePlacement??"").trim().toLowerCase();return{index:Math.max(1,Number(n.index??r+1)||r+1),type:s,title:String(n.title??"").trim(),bullets:U2e(n.bullets),subtitle:String(n.subtitle??"").trim(),speakerNotes:String(n.speakerNotes??"").trim(),visualHint:String(n.visualHint??"").trim(),layout:wY(n.layout)||void 0,emphasis:["narrative","proof","visual","cta"].includes(i)?i:void 0,visualPriority:["low","medium","high"].includes(l)?l:void 0,imagePlacement:["none","left","right","full"].includes(c)?c:void 0,closingCta:String(n.closingCta??"").trim(),purpose:String(n.purpose??"").trim(),confidence:Z2e(n.confidence),proofNeeded:String(n.proofNeeded??"").trim(),targetPersonaId:String(n.targetPersonaId??"").trim(),targetSegmentId:String(n.targetSegmentId??"").trim(),assumptionFlag:n.assumptionFlag===!0}}).sort((o,r)=>o.index-r.index)}function TY(e){let t=wf(e.deck),o=wf(t.theme),r=wf(e.brand),n=wf(r.colors),a=wf(r.logo),s="brand",i={background:av(n.background,"#0B0F1A"),text:av(n.text,"#FFFFFF"),accent:av(n.primary,"#4F46E5")},l=String(a.pngPublicUrl??"").trim()||String(o.logoUrl??"").trim(),c=String(a.pngFilePath??"").trim()||String(o.logoFilePath??"").trim(),u=String(o.logoSvg??"").trim()||String(a.svg??"").trim();return{preset:s,font:"system",background:i.background,text:i.text,mutedText:av(o.mutedText,"#A1A1AA"),accent:i.accent,logoUrl:l,logoFilePath:c,...u?{logoSvg:u}:{}}}function AY(e){let t=wf(e.deck);return j2e(t.slides)}var N=M(oe());function vo(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function eh(e){return Array.isArray(e)?e.map(t=>String(t??"").trim()).filter(Boolean):[]}function Du(e){let t=e.trim().toLowerCase();return t==="high"?"green":t==="medium"||t==="med"?"yellow":t==="low"?"red":"gray"}function sc(e,t=120){let o=e.trim();return o?o.length<=t?o:`${o.slice(0,t-1)}\u2026`:""}function kY(e,t){let o=e.toLowerCase(),r=t.toLowerCase().replace(/[^a-z0-9]+/g," ").split(" ").map(n=>n.trim()).filter(n=>n.length>=4);return r.length===0?!1:r.some(n=>o.includes(n))}function G2e(e){return Array.isArray(e)?e.map(t=>{let o=vo(t),r=String(o.name??"").trim();return r?{id:String(o.id??"").trim(),name:r,useCase:String(o.useCase??o.description??"").trim(),painIntensity:String(o.painIntensity??o.urgencyLevel??"").trim(),likelyACV:String(o.likelyACV??"").trim(),salesCycle:String(o.salesCycle??"").trim(),easeOfReach:String(o.easeOfReach??"").trim(),timeToValue:String(o.timeToValue??"").trim(),retentionPotential:String(o.retentionPotential??"").trim(),recommended:o.recommended===!0}:null}).filter(t=>t!==null).slice(0,8):[]}function $2e(e){return Array.isArray(e)?e.map(t=>{let o=vo(t),r=String(o.name??"").trim();return r?{type:String(o.type??"other").trim(),name:r,whyPeopleUseIt:String(o.whyPeopleUseIt??"").trim(),biggestWeakness:String(o.biggestWeakness??"").trim(),yourAdvantage:String(o.yourAdvantage??"").trim()}:null}).filter(t=>t!==null).slice(0,8):[]}function q2e(e){return Array.isArray(e)?e.map(t=>{let o=vo(t),r=String(o.name??"").trim();return r?{name:r,type:String(o.type??"").trim(),corePromise:String(o.corePromise??"").trim(),biggestWeakness:String(o.biggestWeakness??"").trim(),pricingModel:String(o.pricingModel??"").trim(),entryPrice:String(o.entryPrice??"").trim(),acquisitionChannels:eh(o.acquisitionChannels).slice(0,5)}:null}).filter(t=>t!==null).slice(0,12):[]}function X2e(e,t,o){let r=String(t.primarySegmentId??"").trim().toLowerCase();if(r){let a=e.find(s=>s.id.trim().toLowerCase()===r);if(a)return a}let n=String(o.strongestSegment??"").trim().toLowerCase();if(n){let a=e.find(s=>s.name.trim().toLowerCase()===n);if(a)return a}return e.find(a=>a.recommended)??e[0]??null}function x9(e){let t=vo(e),o=Number(t.value??0),r=String(t.unit??"").trim();return!Number.isFinite(o)||o<=0?"\u2014":r?`${o.toLocaleString()} ${r}`:o.toLocaleString()}function MY({projectId:e,spec:t}){let o=vo(t.deck),r=vo(t.research),n=vo(r.marketDefinition),a=vo(r.marketSizing),s=vo(r.segmentAnalysis),i=vo(r.distributionAnalysis),l=vo(r.validationInsights),c=vo(r.moatSignals),u=vo(o.narrativeContext),m=AY(t),f=TY(t),d=m.filter(_=>_.confidence==="low"||_.assumptionFlag===!0||_.proofNeeded.trim().length>0),p=["title","problem","solution","market","competition","gtm","ask"],h=new Set(m.map(_=>_.type)),S=p.filter(_=>!h.has(_)),g=m.flatMap(_=>[_.title,..._.bullets,_.speakerNotes]).join(" ").toLowerCase(),b=G2e(s.segments),I=$2e(r.substitutes),v=q2e(r.competitors),C=X2e(b,u,l),T=String(u.strongestOpening??"").trim()||String(l.strongestOpening??"").trim(),w=String(u.strongestPainLead??"").trim()||String(t.positioning&&vo(t.positioning).strongestPainLead).trim(),P=String(u.strongestSubstituteThreat??"").trim()||String(l.strongestSubstituteThreat??"").trim(),k=String(u.strongestChannelOpportunity??"").trim()||String(l.strongestChannelOpportunity??"").trim(),D=String(u.buyer??"").trim()||String(n.buyer??"").trim(),H=String(u.endUser??"").trim()||String(n.endUser??"").trim(),j=String(n.budgetOwner??"").trim(),se=String(u.whyNow??"").trim()||String(t.idea&&vo(t.idea).whyNow).trim()||String(n.marketTiming??"").trim(),X=vo(a.confidence),le=eh(a.assumptions),re=eh(a.missingData),W=eh(i.topObservedChannels),de=Array.isArray(i.channelPatterns)?i.channelPatterns.map(_=>vo(_)).filter(_=>String(_.channel??"").trim()).slice(0,8):[],q=S.length===0?"Story arc complete":`Missing ${S.length} core sections`,me=S.length===0?"green":"yellow",he=d[0]??null,pe=Array.isArray(vo(o.verification).checklist)?vo(o.verification).checklist:[],Y=pe.filter(_=>vo(_).done===!0).length,ee=vo(o.export),J=String(vo(ee.pptx).publicUrl??"").trim(),ge=String(vo(ee.pdf).publicUrl??"").trim();return(0,N.jsxs)(Hr,{colorScheme:"teal",variant:"line",isLazy:!0,children:[(0,N.jsxs)(Or,{children:[(0,N.jsx)(rt,{children:"Overview"}),(0,N.jsx)(rt,{children:"Story + Proof"}),(0,N.jsx)(rt,{children:"Competition + GTM"}),(0,N.jsx)(rt,{children:"Audience + Credibility"})]}),(0,N.jsxs)(Vr,{children:[(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsxs)(z,{spacing:4,children:[(0,N.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:"Deck Story Summary"}),(0,N.jsx)($,{colorScheme:me,children:q})]}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Primary segment:"})," ",C?.name||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Strongest opening:"})," ",T||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Strongest pain lead:"})," ",w||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Substitute threat:"})," ",P||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Channel opportunity:"})," ",k||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Why now:"})," ",se||"\u2014"]})]})]}),(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:"Slide Quality + Confidence"}),(0,N.jsx)($,{colorScheme:d.length>0?"yellow":"green",children:d.length>0?`${d.length} proof gap(s)`:"Healthy"})]}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Total slides:"})," ",m.length]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Low confidence / assumption-heavy:"})," ",d.length]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Verification checklist:"})," ",Y,"/",pe.length]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Theme accent:"})," ",f.accent]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"PPTX export:"})," ",J?"Ready":"Missing"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"PDF export:"})," ",ge?"Ready":"Missing"]})]}),J||ge?(0,N.jsxs)(Z,{spacing:2,pt:2,children:[J?(0,N.jsx)(wn,{href:J,target:"_blank",rel:"noreferrer",children:(0,N.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Open PPTX"})}):null,ge?(0,N.jsx)(wn,{href:ge,target:"_blank",rel:"noreferrer",children:(0,N.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Open PDF"})}):null]}):null]})]}),!J||!ge?(0,N.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,N.jsx)(pt,{}),(0,N.jsxs)(ht,{children:["Deck exports are incomplete.",(0,N.jsx)(wn,{href:`/app/phases/pitch_deck/deck_export?projectId=${e}`,children:(0,N.jsx)(gt,{size:"sm",ml:3,colorScheme:"teal",variant:"outline",children:"Open deck export"})})]})]}):null]})}),(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsxs)(z,{spacing:4,children:[(0,N.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:"Story Arc Strength"}),(0,N.jsx)($,{colorScheme:me,children:S.length===0?"Strong":"Needs fixes"})]}),S.length===0?(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Core persuasion sequence is present: problem \u2192 solution \u2192 market \u2192 competition \u2192 GTM \u2192 ask."}):(0,N.jsxs)(x,{fontSize:"sm",color:"text.muted",children:["Missing sections: ",S.join(", "),"."]}),(0,N.jsx)(io,{my:3}),(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Proof Gap Widget"}),d.length>0?(0,N.jsx)(at,{spacing:2,children:d.slice(0,8).map(_=>(0,N.jsxs)(Ge,{children:["Slide ",_.index," (",_.type,"): ",_.proofNeeded||"Assumption-heavy claim needs evidence."]},`gap-${_.index}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No explicit proof gaps were flagged in current slide metadata."})]}),(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Market Credibility"}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"TAM:"})," ",x9(a.tam)," ",(0,N.jsx)($,{colorScheme:Du(String(X.tam??"")),children:String(X.tam??"low")||"low"})]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"SAM:"})," ",x9(a.sam)," ",(0,N.jsx)($,{colorScheme:Du(String(X.sam??"")),children:String(X.sam??"low")||"low"})]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"SOM:"})," ",x9(a.som)," ",(0,N.jsx)($,{colorScheme:Du(String(X.som??"")),children:String(X.som??"low")||"low"})]})]}),(0,N.jsx)(io,{my:3}),(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Top assumptions"}),le.length>0?(0,N.jsx)(at,{spacing:2,children:le.slice(0,6).map(_=>(0,N.jsx)(Ge,{children:_},`assumption-${_}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No explicit market assumptions tracked yet."}),re.length>0?(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(io,{my:3}),(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Missing proof areas"}),(0,N.jsx)(tt,{spacing:2,children:re.slice(0,8).map(_=>(0,N.jsx)(Se,{children:(0,N.jsx)($,{colorScheme:"orange",variant:"subtle",children:sc(_,60)})},`missing-${_}`))})]}):null]})]}),he?(0,N.jsxs)(dt,{status:"warning",borderRadius:"md",children:[(0,N.jsx)(pt,{}),(0,N.jsxs)(ht,{children:["Highest-leverage fix: add stronger proof to slide ",he.index," (",he.type,")."]})]}):null]})}),(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsx)(z,{spacing:4,children:(0,N.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Competition + Substitute Framing"}),v.length>0?(0,N.jsx)(z,{spacing:3,children:v.slice(0,4).map(_=>(0,N.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,N.jsxs)(Z,{justify:"space-between",mb:1,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:_.name}),(0,N.jsx)($,{colorScheme:_.type==="direct"?"red":_.type==="substitute"?"purple":"blue",children:_.type||"unknown"})]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Core promise:"})," ",sc(_.corePromise||"\u2014",90)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Weakness:"})," ",sc(_.biggestWeakness||"\u2014",90)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Pricing:"})," ",_.pricingModel||"\u2014",_.entryPrice?` (${_.entryPrice})`:""]})]},`competitor-${_.name}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No competitors mapped yet for deck framing."})]}),(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Substitute Persuasion"}),I.length>0?(0,N.jsx)(z,{spacing:3,children:I.slice(0,4).map(_=>(0,N.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,N.jsxs)(Z,{justify:"space-between",mb:1,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:_.name}),(0,N.jsx)($,{colorScheme:"purple",variant:"subtle",children:_.type||"other"})]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Why users stick:"})," ",sc(_.whyPeopleUseIt||"\u2014",100)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Weakness:"})," ",sc(_.biggestWeakness||"\u2014",100)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Your angle:"})," ",sc(_.yourAdvantage||"\u2014",100)]})]},`substitute-${_.name}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No substitute behaviors are documented yet."}),P?(0,N.jsxs)(dt,{status:kY(g,P)?"success":"warning",borderRadius:"md",mt:3,children:[(0,N.jsx)(pt,{}),(0,N.jsxs)(ht,{children:["Strongest substitute threat: ",P,". ",kY(g,P)?"Deck copy already addresses it.":"Deck copy does not clearly address it yet."]})]}):null]})]})})}),(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsxs)(z,{spacing:4,children:[(0,N.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Segment + Buyer Clarity"}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Primary segment:"})," ",C?.name||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Buyer:"})," ",D||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"End user:"})," ",H||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Budget owner:"})," ",j||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Segment use case:"})," ",C?.useCase||"\u2014"]})]}),(0,N.jsx)(io,{my:3}),(0,N.jsx)(tt,{spacing:2,children:C?(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:Du(C.painIntensity),variant:"subtle",children:["Pain: ",C.painIntensity||"unknown"]})}),(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:Du(C.easeOfReach),variant:"subtle",children:["Reach: ",C.easeOfReach||"unknown"]})}),(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:Du(C.timeToValue),variant:"subtle",children:["TTV: ",C.timeToValue||"unknown"]})}),(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:Du(C.retentionPotential),variant:"subtle",children:["Retention: ",C.retentionPotential||"unknown"]})})]}):(0,N.jsx)(Se,{children:(0,N.jsx)($,{colorScheme:"yellow",variant:"subtle",children:"No primary segment selected"})})}),(0,N.jsxs)(x,{fontSize:"sm",color:"text.muted",mt:3,children:["Likely ACV / sales cycle: ",C?.likelyACV||"\u2014"," \xB7 ",C?.salesCycle||"\u2014"]})]}),(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"GTM Credibility"}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Strongest channel opportunity:"})," ",k||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Observed channels:"})," ",W.slice(0,5).join(", ")||"\u2014"]})]}),(0,N.jsx)(io,{my:3}),de.length>0?(0,N.jsx)(z,{spacing:2,children:de.slice(0,5).map((_,fe)=>(0,N.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2,children:[(0,N.jsxs)(Z,{justify:"space-between",children:[(0,N.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:String(_.channel??"unknown")}),(0,N.jsxs)($,{colorScheme:Du(String(_.saturation??"")),children:[String(_.saturation??"unknown")||"unknown"," saturation"]})]}),(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:sc(String(_.opportunity??"").trim()||"No explicit opportunity note.",110)})]},`channel-${fe}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No distribution channel pattern data available yet."})]})]}),(0,N.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Moat Angle"}),(0,N.jsx)(at,{spacing:2,children:eh([c.proprietaryWorkflowPotential,c.embeddednessPotential,c.switchingCostPotential,c.dataAdvantagePotential,c.distributionAdvantagePotential,c.integrationDependencyPotential]).slice(0,6).map(_=>(0,N.jsx)(Ge,{children:sc(_,140)},`moat-${_}`))}),eh([c.proprietaryWorkflowPotential,c.embeddednessPotential,c.switchingCostPotential,c.dataAdvantagePotential,c.distributionAdvantagePotential,c.integrationDependencyPotential]).length===0?(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No moat hypotheses captured yet."}):null]}),(0,N.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Proof Gap Widget"}),d.length>0?(0,N.jsx)(at,{spacing:2,children:d.slice(0,8).map(_=>(0,N.jsxs)(Ge,{children:["Slide ",_.index," (",_.type,") \xB7 confidence=",_.confidence,_.assumptionFlag?" \xB7 assumption flagged":"",_.proofNeeded?` \xB7 ${sc(_.proofNeeded,80)}`:""]},`proof-${_.index}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No explicit proof gaps in slide metadata."})]})]})]})})]})]})}var Ne=M(oe());function LY(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function th(e){return typeof e=="string"?e.trim():""}function Y2e(e){return Array.isArray(e)?e.map(th).filter(Boolean):[]}function I9({label:e,value:t,icon:o}){return(0,Ne.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3.5,bg:"surface.muted",h:"full",children:[(0,Ne.jsxs)(Z,{spacing:2,mb:2,color:"brand.600",align:"center",children:[(0,Ne.jsx)(o,{size:20,weight:"duotone"}),(0,Ne.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"text.muted",children:e})]}),(0,Ne.jsx)(x,{fontWeight:"semibold",lineHeight:"tall",children:t||"Not captured yet."})]})}function PY({spec:e}){let t=LY(e.existingProduct),o=LY(e.feature),r=th(o.description),n=th(o.problem),a=th(t.description),s=th(o.currentWorkflow),i=th(o.desiredOutcome),l=Y2e(o.successMetrics),c=o.changesExistingWorkflow===!0,u=[r,n,s,i,...l].filter(Boolean).length;return(0,Ne.jsxs)(z,{spacing:4,children:[(0,Ne.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:(0,Ne.jsxs)(z,{spacing:4,children:[(0,Ne.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:2,children:[(0,Ne.jsxs)(z,{spacing:.5,children:[(0,Ne.jsx)(nt,{size:"sm",children:"Feature Definition Snapshot"}),(0,Ne.jsx)(x,{fontSize:"sm",color:"text.muted",children:"The same concise Product Ideation handoff pattern, focused on one feature inside an existing product."})]}),(0,Ne.jsxs)($,{colorScheme:u>=5?"green":"yellow",variant:"subtle",children:[u," definition signals"]})]}),(0,Ne.jsxs)(Le,{columns:{base:1,md:2,xl:3},spacing:3,children:[(0,Ne.jsx)(I9,{label:"Feature",value:r,icon:$n}),(0,Ne.jsx)(I9,{label:"Problem",value:n,icon:da}),(0,Ne.jsx)(I9,{label:"Existing product",value:a,icon:rL})]})]})}),(0,Ne.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:(0,Ne.jsxs)(z,{spacing:4,children:[(0,Ne.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:2,children:[(0,Ne.jsxs)(z,{spacing:.5,children:[(0,Ne.jsx)(nt,{size:"sm",children:"Feature JTBD Handoff"}),(0,Ne.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Starting state, desired outcome, and measurable success carried into validation."})]}),(0,Ne.jsx)($,{colorScheme:s&&i?"green":"gray",variant:"subtle",children:c?"Changes an existing workflow":"Adds a new capability"})]}),(0,Ne.jsxs)(Le,{columns:{base:1,lg:11},spacing:3,alignItems:"stretch",children:[(0,Ne.jsxs)(E,{layerStyle:"notchedInset",gridColumn:{lg:"span 5"},borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",children:[(0,Ne.jsxs)(Z,{spacing:2,mb:2,color:"brand.600",children:[(0,Ne.jsx)(ef,{size:20,weight:"duotone"}),(0,Ne.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"text.muted",children:c?"What happens today":"Starting state"})]}),(0,Ne.jsx)(x,{fontWeight:"semibold",lineHeight:"tall",children:s||"Not captured yet."})]}),(0,Ne.jsx)(E,{gridColumn:{lg:"span 1"},display:"flex",alignItems:"center",justifyContent:"center",color:"brand.500",transform:{base:"rotate(90deg)",lg:"none"},children:(0,Ne.jsx)(Zl,{size:24,weight:"duotone"})}),(0,Ne.jsxs)(E,{layerStyle:"notchedInset",gridColumn:{lg:"span 5"},borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",children:[(0,Ne.jsxs)(Z,{spacing:2,mb:2,color:"green.700",children:[(0,Ne.jsx)(Js,{size:20,weight:"duotone"}),(0,Ne.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",children:"What should happen instead"})]}),(0,Ne.jsx)(x,{fontWeight:"semibold",color:"green.900",lineHeight:"tall",children:i||"Not captured yet."})]})]}),(0,Ne.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",children:[(0,Ne.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,Ne.jsx)(nt,{size:"sm",children:"Observable success"}),(0,Ne.jsxs)($,{variant:"subtle",children:[l.length," metrics"]})]}),l.length>0?(0,Ne.jsx)(at,{children:l.map((m,f)=>(0,Ne.jsx)(Ge,{indicatorIcon:Js,indicatorColor:"green.400",children:(0,Ne.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:m})},`${f}-${m}`))}):(0,Ne.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No success metrics captured yet."})]})]})})]})}var B=M(oe()),C9=["statement","assumption","hypothesis","test","risk","pattern","summary","description","value","text"],K2e=new Set(["confidence","type","crowding","evidence strength","feature overlap","priority","saturation","status"]),Q2e=new Set(["evidence","evidence source","evidence sources","source","sources","url","urls"]);function Ca(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function zr(e){return typeof e=="string"?e.trim():typeof e=="number"||typeof e=="boolean"?String(e):""}function _u(e){let t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"Detail"}function EY(e){return/^id$/i.test(e)||/(?:^|[_-])ids?$/i.test(e)||/[a-z0-9]Ids?$/.test(e)}function w9(e){return e.split("\xB7").at(-1)?.trim().toLowerCase()??e.trim().toLowerCase()}function BY(e){return K2e.has(w9(e.label))&&e.values.every(t=>t.length<=32&&!/^https?:\/\//i.test(t))}function J2e(e){return Q2e.has(w9(e.label))||e.values.some(t=>/^https?:\/\//i.test(t))}function ebe(e,t){let o=w9(e.label),r=t.trim().toLowerCase();if(o==="confidence"||o==="evidence strength"){if(r==="high")return"green";if(r==="medium"||r==="med")return"yellow";if(r==="low")return"red"}return"gray"}function tbe(e){try{let t=new URL(e),o=t.hostname.replace(/^www\./,""),r=decodeURIComponent(t.pathname).replace(/\/$/,"");if(!r)return o;let n=r.length>46?`${r.slice(0,43)}\u2026`:r;return`${o}${n}`}catch{return e}}function Rs(e){let t=zr(e);return t?[t]:Array.isArray(e)?e.flatMap(o=>{let r=zr(o);if(r)return[r];let n=Ca(o),a=C9.map(s=>zr(n[s])).find(Boolean);return a?[a]:[]}):[]}function DY(e,t){return t.map(o=>zr(e[o])).find(Boolean)??""}function v9(e,t){for(let o of t){let r=Rs(e[o]);if(r.length>0)return r}return[]}function RY(e,t=[]){let o=new Set(t),r=[];for(let[n,a]of Object.entries(e)){if(o.has(n)||EY(n))continue;let s=Rs(a);if(s.length>0){r.push({label:_u(n),values:s});continue}let i=Ca(a);for(let[l,c]of Object.entries(i)){if(EY(l))continue;let u=Rs(c);u.length>0&&r.push({label:`${_u(n)} \xB7 ${_u(l)}`,values:u})}}return r}function ic({children:e}){return(0,B.jsx)(E,{minW:0,sx:{columnCount:{base:1,xl:2},columnGap:"var(--chakra-space-3)"},children:e})}function Ds({children:e}){return(0,B.jsx)(E,{mb:3,minW:0,sx:{breakInside:"avoid",pageBreakInside:"avoid"},children:e})}function iv(e){if(Array.isArray(e))return e;let t=Ca(e);return Object.keys(t).length===0?[]:C9.some(o=>o in t)||"title"in t||"name"in t?[t]:Object.entries(t).map(([o,r])=>{let n=Ca(r);return Object.keys(n).length>0?{title:_u(o),...n}:{title:_u(o),value:r}})}function oh(e,t){return iv(e).map((o,r)=>{let n=zr(o);if(n)return{title:`${t} ${r+1}`,lead:n,details:[]};let a=Ca(o),s=DY(a,["title","name","label","behavior","product","workflow","category"]),i=C9.find(m=>zr(a[m])),l=i?zr(a[i]):"",c=["title","name","label","behavior","product","workflow","category",...i?[i]:[]],u=RY(a,c);return!s&&!l&&u.length===0?null:{title:s||`${t} ${r+1}`,lead:l,details:u}}).filter(o=>o!==null)}function obe(e){return iv(e).map(t=>{let o=Ca(t),r=zr(o.id),n=zr(o.title);if(!r||!n)return null;let a=Number(o.score);return{id:r,title:n,summary:zr(o.summary),score:Number.isFinite(a)?Math.max(0,Math.min(100,Math.round(a))):0,scoreLabel:zr(o.scoreLabel),bullets:Rs(o.bullets).slice(0,6)}}).filter(t=>t!==null).slice(0,2)}function Ru({children:e}){return(0,B.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",children:(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",children:e})})}function rbe({rows:e,edgeToEdge:t=!1}){if(e.length===0)return null;let o=e.filter(BY),r=e.filter(n=>!BY(n));return(0,B.jsxs)(z,{spacing:t?0:3,minW:0,children:[o.length>0?(0,B.jsx)(E,{px:t?4:0,pb:t?3:0,children:(0,B.jsx)(tt,{spacing:2,children:o.flatMap(n=>n.values.map((a,s)=>(0,B.jsx)(Se,{children:(0,B.jsxs)($,{variant:"subtle",colorScheme:ebe(n,a),whiteSpace:"normal",maxW:"100%",overflowWrap:"anywhere",children:[n.label,": ",_u(a)]})},`${n.label}-${s}-${a}`)))})}):null,r.map((n,a)=>{let s=J2e(n);return(0,B.jsxs)(E,{borderTopWidth:"1px",borderColor:"surface.border",pt:3,pb:t?3:0,px:t?4:0,minW:0,children:[(0,B.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",mb:1.5,children:n.label}),(0,B.jsx)(z,{spacing:s?2:1.5,minW:0,children:n.values.map((i,l)=>{let c=/^https?:\/\//i.test(i);return s&&c?(0,B.jsxs)(o0,{href:i,isExternal:!0,color:"brand.600",fontSize:"sm",fontWeight:"semibold",lineHeight:"short",maxW:"100%",overflowWrap:"anywhere",textDecoration:"underline",textUnderlineOffset:"2px",title:i,children:[tbe(i)," ",(0,B.jsx)(Jm,{size:13,style:{display:"inline",verticalAlign:"-1px"}})]},`${n.label}-${l}-${i}`):(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:i},`${n.label}-${l}-${i}`)})})]},`${n.label}-${a}`)})]})}function rh({item:e,tone:t="default"}){let o=t==="risk"?{borderColor:"orange.200",bg:"orange.50"}:t==="test"?{borderColor:"blue.100",bg:"blue.50"}:{borderColor:"surface.border",bg:"surface.muted"},r=t==="risk"?pa:t==="test"?g8:du,n=t==="risk"?"orange.600":t==="test"?"blue.600":"brand.600";return(0,B.jsxs)(E,{borderWidth:"1px",borderRadius:"md",minW:0,overflow:"hidden",...o,children:[(0,B.jsx)(E,{px:4,pt:4,pb:e.details.length>0?3:4,children:(0,B.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,B.jsx)(E,{color:n,flexShrink:0,pt:"2px",children:(0,B.jsx)(r,{size:20,weight:"duotone"})}),(0,B.jsxs)(z,{spacing:1,minW:0,children:[(0,B.jsx)(x,{fontWeight:"semibold",lineHeight:"short",overflowWrap:"anywhere",children:e.title}),e.lead?(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:e.lead}):null]})]})}),(0,B.jsx)(rbe,{rows:e.details,edgeToEdge:!0})]})}function nbe({row:e}){let t=e.label.toLowerCase(),o=t.includes("language"),r=t.includes("urgency"),n=t.includes("frequency"),a=t.includes("trigger"),s=t.includes("substitute")||t.includes("workaround"),i=o?i2:r?YM:n?MM:a?RM:s?Di:du,l=r?"orange.600":a?"green.600":o?"purple.600":"brand.600",c=r?"orange.200":a?"green.200":o?"purple.200":"surface.border";return(0,B.jsxs)(E,{borderWidth:"1px",borderColor:c,borderRadius:"md",bg:r?"orange.50":a?"green.50":o?"purple.50":"surface.muted",minW:0,overflow:"hidden",children:[(0,B.jsxs)(Z,{spacing:2.5,px:4,py:3,color:l,align:"start",children:[(0,B.jsx)(E,{flexShrink:0,pt:"2px",children:(0,B.jsx)(i,{size:20,weight:"duotone"})}),(0,B.jsx)(x,{fontWeight:"semibold",color:"text.default",overflowWrap:"anywhere",children:e.label})]}),(0,B.jsx)(E,{borderTopWidth:"1px",borderColor:c,px:4,py:3,minW:0,children:e.values.length===1?(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:e.values[0]}):(0,B.jsx)(at,{children:e.values.map((m,f)=>(0,B.jsx)(Ge,{indicatorIcon:o?i2:void 0,indicatorColor:l,children:(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:m})},`${e.label}-${f}-${m}`))})})]})}function sv({label:e,value:t,helper:o}){return(0,B.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3.5,bg:"surface.muted",children:[(0,B.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:e}),(0,B.jsx)(x,{fontSize:{base:"2xl",md:"3xl"},fontWeight:"bold",lineHeight:"1.1",children:t}),(0,B.jsx)(x,{fontSize:"xs",color:"text.muted",mt:1.5,children:o})]})}function abe({option:e,selected:t}){let o=e.score>=80?"green":e.score>=60?"purple":"orange";return(0,B.jsx)(E,{borderWidth:t?"2px":"1px",borderColor:t?"brand.300":"surface.border",borderRadius:"md",p:4,bg:t?"purple.50":"surface.muted",children:(0,B.jsxs)(z,{spacing:3,children:[(0,B.jsxs)(Z,{justify:"space-between",align:"start",spacing:3,children:[(0,B.jsxs)(z,{spacing:1,children:[t?(0,B.jsx)($,{colorScheme:"purple",alignSelf:"start",children:"Selected wedge"}):null,(0,B.jsx)(nt,{size:"sm",children:e.title})]}),(0,B.jsxs)($,{colorScheme:o,variant:"subtle",flexShrink:0,children:[e.score,"%"]})]}),(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:1.5,children:[(0,B.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:e.scoreLabel||"Direction score"}),(0,B.jsxs)(x,{fontSize:"xs",fontWeight:"bold",children:[e.score,"/100"]})]}),(0,B.jsx)(fa,{value:e.score,size:"sm",borderRadius:"full",colorScheme:o,bg:"surface.border"})]}),e.summary?(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:e.summary}):null,e.bullets.length>0?(0,B.jsx)(at,{children:e.bullets.map((r,n)=>(0,B.jsx)(Ge,{indicatorIcon:$n,indicatorColor:"brand.400",children:(0,B.jsx)(x,{fontSize:"sm",children:r})},`${e.id}-${n}-${r}`))}):null]})})}function _Y({spec:e}){let t=Ca(e.feature),o=Ca(e.validation),r=Ca(e.choices),n=Ca(r.wedge),a=Ca(o.userHypothesis),s=Ca(o.customerSentiment),i=Ca(o.landscapeSummary),l=DY(a,["statement","hypothesis","summary","description"]),c=v9(a,["affectedUsers","targetUsers","users","segments"]),u=c.length>0?c:Rs(t.targetUsers),m=v9(a,["expectedValue","value","benefits","outcomes"]),f=[zr(t.desiredOutcome),...Rs(t.successMetrics)].filter(Boolean),d=m.length>0?m:f,p=v9(a,["likelyObjections","objections","barriers","concerns"]),h=RY(a,["statement","hypothesis","summary","description","affectedUsers","targetUsers","users","segments","expectedValue","value","benefits","outcomes","likelyObjections","objections","barriers","concerns"]),S=oh(o.assumptions,"Assumption"),g=oh(o.competitors,"Comparable product"),b=Rs(s.currentWorkarounds),I=iv(o.substituteBehaviors).length>0?o.substituteBehaviors:b.map(q=>({behavior:q,confidence:"low"})),v=oh(I,"Substitute behavior"),C=oh(o.comparablePatterns,"Pattern"),T=Rs(s.topComplaintThemes),w=Rs(s.topDelightThemes),P=Rs(s.repeatedLanguage),k=Rs(o.opportunityGaps),D=Array.from(new Set(iv(o.competitors).flatMap(q=>Rs(Ca(q).gaps)))),H=zr(i.evidenceStrength)||zr(s.evidenceStrength)||"Not rated",j=zr(i.crowding)||"Not rated",se=zr(s.targetSegment),X=oh(o.risks,"Risk"),le=oh(o.tests,"Test"),re=obe(n.options),W=zr(n.selectedOptionId),de=re.find(q=>q.id===W)??null;return(0,B.jsxs)(z,{spacing:5,minW:0,maxW:"100%",overflow:"hidden",children:[(0,B.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:(0,B.jsxs)(z,{spacing:4,children:[(0,B.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,B.jsxs)(z,{spacing:.5,children:[(0,B.jsx)(nt,{size:"sm",children:"Feature Validation Overview"}),(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",children:"The user case, evidence, risks, and decision\u2014organized for action."})]}),(0,B.jsx)($,{colorScheme:de?"green":"gray",variant:"subtle",children:de?"Wedge selected":"Wedge not selected"})]}),(0,B.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",children:(0,B.jsxs)(Z,{spacing:3,align:"start",children:[(0,B.jsx)(E,{color:"green.700",flexShrink:0,pt:"2px",children:(0,B.jsx)(da,{size:22,weight:"duotone"})}),(0,B.jsxs)(z,{spacing:1,children:[(0,B.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"green.700",children:"Core user hypothesis"}),(0,B.jsx)(x,{fontSize:{base:"md",md:"lg"},fontWeight:"semibold",color:"green.900",lineHeight:"tall",children:l||zr(t.problem)||"No user hypothesis captured yet."})]})]})}),(0,B.jsxs)(Le,{columns:{base:2,md:4},spacing:3,children:[(0,B.jsx)(sv,{label:"Complaint themes",value:T.length,helper:"Repeated pain signals"}),(0,B.jsx)(sv,{label:"Delight themes",value:w.length,helper:"Desired experience signals"}),(0,B.jsx)(sv,{label:"Substitute behaviors",value:v.length,helper:"What the ICP does instead"}),(0,B.jsx)(sv,{label:"Competitor gaps",value:D.length,helper:"Underserved openings"})]})]})}),(0,B.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:(0,B.jsxs)(z,{spacing:3,children:[(0,B.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:2,children:[(0,B.jsxs)(z,{spacing:.5,children:[(0,B.jsx)(nt,{size:"sm",children:"Your wedge opportunities"}),(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Openings triangulated from ICP complaints, delight themes, substitute behaviors, and competitor gaps."})]}),(0,B.jsx)($,{colorScheme:"purple",variant:"subtle",children:k.length})]}),k.length>0?(0,B.jsx)(z,{spacing:0,divider:(0,B.jsx)(io,{borderColor:"surface.border"}),children:k.map((q,me)=>(0,B.jsxs)(Z,{align:"start",spacing:3,py:3,children:[(0,B.jsx)(E,{color:"brand.500",flexShrink:0,pt:"2px",children:(0,B.jsx)(d2,{size:18,weight:"duotone"})}),(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:q})]},`${me}-${q}`))}):(0,B.jsx)(Ru,{children:"Complete Feature Landscape to identify evidence-backed wedge opportunities."})]})}),(0,B.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,overflow:"hidden",children:(0,B.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,B.jsxs)(Or,{overflowX:"auto",overflowY:"hidden",maxW:"100%",children:[(0,B.jsx)(rt,{whiteSpace:"nowrap",children:"User case"}),(0,B.jsx)(rt,{whiteSpace:"nowrap",children:"Landscape + risks"}),(0,B.jsx)(rt,{whiteSpace:"nowrap",children:"Validation plan"}),(0,B.jsx)(rt,{whiteSpace:"nowrap",children:"Wedge directions"})]}),(0,B.jsxs)(Vr,{children:[(0,B.jsx)(Ke,{px:0,pt:5,children:(0,B.jsxs)(z,{spacing:4,children:[(0,B.jsxs)(ic,{children:[(0,B.jsx)(Ds,{children:(0,B.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",minW:0,children:[(0,B.jsxs)(Z,{spacing:2.5,mb:3,color:"brand.600",children:[(0,B.jsx)(ef,{size:20,weight:"duotone"}),(0,B.jsx)(x,{fontWeight:"semibold",color:"text.default",children:"Who feels the problem"})]}),u.length>0?(0,B.jsx)(at,{children:u.map((q,me)=>(0,B.jsx)(Ge,{children:(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${me}-${q}`))}):(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No affected-user groups captured yet."})]})}),(0,B.jsx)(Ds,{children:(0,B.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",minW:0,children:[(0,B.jsxs)(Z,{spacing:2.5,mb:3,color:"brand.600",children:[(0,B.jsx)(f2,{size:20,weight:"duotone"}),(0,B.jsx)(x,{fontWeight:"semibold",color:"text.default",children:"Expected user value"})]}),d.length>0?(0,B.jsx)(at,{children:d.map((q,me)=>(0,B.jsx)(Ge,{indicatorIcon:Js,indicatorColor:"green.400",children:(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${me}-${q}`))}):(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No expected-value signals captured yet."})]})}),(0,B.jsx)(Ds,{children:(0,B.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"orange.200",p:4,bg:"orange.50",minW:0,children:[(0,B.jsxs)(Z,{spacing:2.5,color:"orange.700",mb:se?1.5:3,children:[(0,B.jsx)(pa,{size:20,weight:"duotone"}),(0,B.jsx)(x,{fontWeight:"semibold",color:"orange.900",children:"Target ICP Complaint Themes"})]}),se?(0,B.jsxs)(x,{fontSize:"xs",color:"orange.800",lineHeight:"tall",mb:3,overflowWrap:"anywhere",children:[(0,B.jsx)(x,{as:"span",fontWeight:"semibold",children:"Research focus:"})," ",se]}):null,T.length>0?(0,B.jsx)(at,{children:T.map((q,me)=>(0,B.jsx)(Ge,{indicatorColor:"orange.400",children:(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${me}-${q}`))}):(0,B.jsx)(x,{fontSize:"sm",color:"orange.800",children:"No repeated complaint evidence captured yet."})]})}),(0,B.jsx)(Ds,{children:(0,B.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",minW:0,children:[(0,B.jsxs)(Z,{spacing:2.5,mb:3,color:"green.700",children:[(0,B.jsx)($n,{size:20,weight:"duotone"}),(0,B.jsx)(x,{fontWeight:"semibold",color:"green.900",children:"Target ICP Delight Themes"})]}),w.length>0?(0,B.jsx)(at,{children:w.map((q,me)=>(0,B.jsx)(Ge,{indicatorIcon:Js,indicatorColor:"green.400",children:(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${me}-${q}`))}):(0,B.jsx)(x,{fontSize:"sm",color:"green.800",children:"No repeated delight evidence captured yet."})]})})]}),(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:3,align:"start",spacing:3,flexWrap:"wrap",children:[(0,B.jsxs)(z,{spacing:.5,children:[(0,B.jsxs)(Z,{spacing:2.5,children:[(0,B.jsx)(Di,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",children:"ICP Substitute Behaviors"})]}),(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",children:"What the target ICP does instead, why it persists, and where it fails."})]}),(0,B.jsx)($,{colorScheme:"purple",variant:"subtle",children:v.length})]}),v.length>0?(0,B.jsx)(ic,{children:v.map((q,me)=>(0,B.jsx)(Ds,{children:(0,B.jsx)(rh,{item:q})},`${q.title}-${me}`))}):(0,B.jsx)(Ru,{children:"No ICP substitute behaviors captured yet."})]}),P.length>0||h.length>0?(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:3,align:"start",spacing:3,flexWrap:"wrap",children:[(0,B.jsxs)(z,{spacing:.5,children:[(0,B.jsxs)(Z,{spacing:2.5,children:[(0,B.jsx)(i2,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",children:"Behavioral signals"})]}),(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Repeated language, urgency, frequency, triggers, and inferred substitute behavior."})]}),(0,B.jsx)($,{colorScheme:"purple",variant:"subtle",children:h.length+(P.length>0?1:0)})]}),(0,B.jsx)(ic,{children:[...P.length>0?[{label:"Repeated user language",values:P}]:[],...h].map((q,me)=>(0,B.jsx)(Ds,{children:(0,B.jsx)(nbe,{row:q})},`${q.label}-${me}`))})]}):null,(0,B.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"orange.200",p:4,bg:"orange.50",children:[(0,B.jsxs)(Z,{spacing:2.5,mb:3,color:"orange.700",children:[(0,B.jsx)(pa,{size:20,weight:"duotone"}),(0,B.jsx)(x,{fontWeight:"semibold",color:"orange.900",children:"Likely objections"})]}),p.length>0?(0,B.jsx)(at,{children:p.map((q,me)=>(0,B.jsx)(Ge,{indicatorColor:"orange.400",children:(0,B.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:q})},`${me}-${q}`))}):(0,B.jsx)(x,{fontSize:"sm",color:"orange.800",children:"No likely objections captured yet."})]})]})}),(0,B.jsx)(Ke,{px:0,pt:5,children:(0,B.jsxs)(z,{spacing:5,children:[(0,B.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,B.jsxs)(z,{spacing:1,minW:0,children:[(0,B.jsx)(x,{fontWeight:"semibold",children:"Landscape evidence read"}),(0,B.jsx)(x,{fontSize:"sm",color:"text.muted",lineHeight:"tall",overflowWrap:"anywhere",children:zr(i.notes)||zr(s.notes)||"Crowding is based on comparable-product overlap and pattern prevalence, not research volume."})]}),(0,B.jsxs)(tt,{spacing:2,children:[(0,B.jsx)(Se,{children:(0,B.jsxs)($,{colorScheme:"purple",variant:"subtle",children:["Crowding: ",_u(j)]})}),(0,B.jsx)(Se,{children:(0,B.jsxs)($,{colorScheme:"blue",variant:"subtle",children:["Evidence: ",_u(H)]})})]})]}),(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,B.jsxs)(Z,{spacing:2.5,children:[(0,B.jsx)(da,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",children:"Comparable products and substitutes"})]}),(0,B.jsx)($,{variant:"subtle",children:g.length})]}),g.length>0?(0,B.jsx)(ic,{children:g.map((q,me)=>(0,B.jsx)(Ds,{children:(0,B.jsx)(rh,{item:q})},`${q.title}-${me}`))}):(0,B.jsx)(Ru,{children:"No named comparable products captured yet."})]}),(0,B.jsx)(io,{borderColor:"surface.border"}),(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,B.jsxs)(Z,{spacing:2.5,children:[(0,B.jsx)(Di,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",children:"Comparable product patterns"})]}),(0,B.jsx)($,{variant:"subtle",children:C.length})]}),C.length>0?(0,B.jsx)(ic,{children:C.map((q,me)=>(0,B.jsx)(Ds,{children:(0,B.jsx)(rh,{item:q})},`${q.title}-${me}`))}):(0,B.jsx)(Ru,{children:"No comparable feature patterns captured yet."})]}),(0,B.jsx)(io,{borderColor:"surface.border"}),(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,B.jsxs)(Z,{spacing:2.5,color:"orange.600",children:[(0,B.jsx)(pa,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",color:"text.default",children:"Risks and failure modes"})]}),(0,B.jsx)($,{colorScheme:"orange",variant:"subtle",children:X.length})]}),X.length>0?(0,B.jsx)(ic,{children:X.map((q,me)=>(0,B.jsx)(Ds,{children:(0,B.jsx)(rh,{item:q,tone:"risk"})},`${q.title}-${me}`))}):(0,B.jsx)(Ru,{children:"No risks captured yet."})]})]})}),(0,B.jsx)(Ke,{px:0,pt:5,children:(0,B.jsxs)(z,{spacing:5,children:[(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,B.jsxs)(Z,{spacing:2.5,children:[(0,B.jsx)(du,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",children:"Assumptions to prove"})]}),(0,B.jsx)($,{variant:"subtle",children:S.length})]}),S.length>0?(0,B.jsx)(ic,{children:S.map((q,me)=>(0,B.jsx)(Ds,{children:(0,B.jsx)(rh,{item:q})},`${q.title}-${me}`))}):(0,B.jsx)(Ru,{children:"No assumptions captured yet."})]}),(0,B.jsx)(io,{borderColor:"surface.border"}),(0,B.jsxs)(E,{children:[(0,B.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,B.jsxs)(Z,{spacing:2.5,color:"blue.600",children:[(0,B.jsx)(g8,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",color:"text.default",children:"Tests and success thresholds"})]}),(0,B.jsx)($,{colorScheme:"blue",variant:"subtle",children:le.length})]}),le.length>0?(0,B.jsx)(ic,{children:le.map((q,me)=>(0,B.jsx)(Ds,{children:(0,B.jsx)(rh,{item:q,tone:"test"})},`${q.title}-${me}`))}):(0,B.jsx)(Ru,{children:"No validation tests captured yet."})]})]})}),(0,B.jsx)(Ke,{px:0,pt:5,children:(0,B.jsxs)(z,{spacing:4,children:[(0,B.jsxs)(Z,{spacing:2.5,children:[(0,B.jsx)($n,{size:20,weight:"duotone"}),(0,B.jsx)(nt,{size:"sm",children:"Wedge direction decision"})]}),re.length>0?(0,B.jsx)(ic,{children:[...re].sort((q,me)=>+(me.id===W)-+(q.id===W)).map(q=>(0,B.jsx)(Ds,{children:(0,B.jsx)(abe,{option:q,selected:q.id===W})},q.id))}):(0,B.jsx)(Ru,{children:"No wedge directions captured yet."}),de?(0,B.jsx)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",children:(0,B.jsxs)(Z,{spacing:3,align:"start",children:[(0,B.jsx)(Js,{size:22,weight:"duotone",color:"var(--chakra-colors-green-600)"}),(0,B.jsxs)(z,{spacing:1,children:[(0,B.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"green.700",children:"Decision handoff"}),(0,B.jsxs)(Z,{spacing:2,align:"center",children:[(0,B.jsx)(x,{fontWeight:"semibold",color:"green.900",children:"Validation"}),(0,B.jsx)(Zl,{size:16}),(0,B.jsx)(x,{fontWeight:"semibold",color:"green.900",children:"Feature Blueprint"})]}),(0,B.jsxs)(x,{fontSize:"sm",color:"green.900",children:[de.title," is the validated opportunity the Blueprint will use to define scope and generate two concrete feature directions."]})]})]})}):null]})})]})]})})]})}var G=M(oe()),sbe=new Set(["access","confidence","kind","method","priority","status","type"]),ibe=new Set(["evidence","evidence source","evidence sources","source","sources","url","urls"]);function Ja(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function _s(e){return typeof e=="string"?e.trim():typeof e=="number"||typeof e=="boolean"?String(e):""}function ah(e){let t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"Detail"}function FY(e){return/^id$/i.test(e)||/(?:^|[_-])ids?$/i.test(e)||/[a-z0-9]Ids?$/.test(e)}function OY(e){return e.split("\xB7").at(-1)?.trim().toLowerCase()??e.trim().toLowerCase()}function HY(e){return sbe.has(OY(e.label))&&e.values.every(t=>t.length<=32&&!/^https?:\/\//i.test(t))}function lbe(e){return ibe.has(OY(e.label))||e.values.some(t=>/^https?:\/\//i.test(t))}function cbe(e){let t=e.trim().toLowerCase();return["done","high","public","ready"].includes(t)?"green":["medium","protected","review"].includes(t)?"yellow":["blocked","high risk","low"].includes(t)?"red":"gray"}function ube(e){try{let t=new URL(e),o=t.hostname.replace(/^www\./,""),r=decodeURIComponent(t.pathname).replace(/\/$/,"");if(!r)return o;let n=r.length>46?`${r.slice(0,43)}\u2026`:r;return`${o}${n}`}catch{return e}}function K2(e){let t=_s(e);return t?[t]:Array.isArray(e)?e.flatMap(o=>{let r=_s(o);if(r)return[r];let n=Ja(o),a=["title","name","label","step","description","summary","text","value"].map(s=>_s(n[s])).find(Boolean);return a?[a]:[]}):[]}function VY(e,t=[]){let o=new Set(t);return Object.entries(e).flatMap(([r,n])=>{if(o.has(r)||FY(r))return[];let a=K2(n);if(a.length>0)return[{label:ah(r),values:a}];let s=Ja(n);return Object.entries(s).flatMap(([i,l])=>{if(FY(i))return[];let c=K2(l);return c.length>0?[{label:`${ah(r)} \xB7 ${ah(i)}`,values:c}]:[]})})}function T9(e,t){return(Array.isArray(e)?e:Object.entries(Ja(e)).map(([r,n])=>{let a=Ja(n);return Object.keys(a).length>0?{title:ah(r),...a}:{title:ah(r),value:n}})).map((r,n)=>{let a=_s(r);if(a)return{title:`${t} ${n+1}`,details:[{label:"Summary",values:[a]}]};let s=Ja(r);return{title:["title","name","label","surface","flow","area"].map(l=>_s(s[l])).find(Boolean)||`${t} ${n+1}`,details:VY(s,["title","name","label","surface","flow","area"])}})}function lv(e,t){for(let o of t){let r=K2(e[o]);if(r.length>0)return r}return[]}function nh({children:e}){return(0,G.jsx)(E,{minW:0,sx:{columnCount:{base:1,xl:2},columnGap:"var(--chakra-space-3)"},children:e})}function Zi({children:e}){return(0,G.jsx)(E,{mb:3,minW:0,sx:{breakInside:"avoid",pageBreakInside:"avoid"},children:e})}function mbe({details:e}){if(e.length===0)return null;let t=e.filter(HY),o=e.filter(r=>!HY(r));return(0,G.jsxs)(z,{spacing:0,minW:0,children:[t.length>0?(0,G.jsx)(E,{px:4,pb:3,children:(0,G.jsx)(tt,{spacing:2,children:t.flatMap(r=>r.values.map((n,a)=>(0,G.jsx)(Se,{children:(0,G.jsxs)($,{colorScheme:cbe(n),variant:"subtle",whiteSpace:"normal",maxW:"100%",overflowWrap:"anywhere",children:[r.label,": ",ah(n)]})},`${r.label}-${a}-${n}`)))})}):null,o.map((r,n)=>{let a=lbe(r);return(0,G.jsxs)(E,{borderTopWidth:"1px",borderColor:"surface.border",px:4,py:3,minW:0,children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"text.muted",mb:1.5,children:r.label}),(0,G.jsx)(z,{spacing:a?2:1.5,minW:0,children:r.values.map((s,i)=>{let l=/^https?:\/\//i.test(s);return a&&l?(0,G.jsxs)(o0,{href:s,isExternal:!0,color:"brand.600",fontSize:"sm",fontWeight:"semibold",lineHeight:"short",maxW:"100%",overflowWrap:"anywhere",textDecoration:"underline",textUnderlineOffset:"2px",title:s,children:[ube(s)," ",(0,G.jsx)(Jm,{size:13,style:{display:"inline",verticalAlign:"-1px"}})]},`${i}-${s}`):(0,G.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:s},`${i}-${s}`)})})]},`${r.label}-${n}`)})]})}function A9({item:e,kind:t="detail"}){return(0,G.jsxs)(E,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",bg:"surface.muted",minW:0,overflow:"hidden",children:[(0,G.jsxs)(Z,{spacing:2.5,px:4,py:3,align:"start",children:[(0,G.jsx)(E,{color:"brand.600",flexShrink:0,pt:"2px",children:(0,G.jsx)(t==="surface"?m2:t==="flow"?c2:t==="system"?l2:u2,{size:20,weight:"duotone"})}),(0,G.jsx)(nt,{size:"sm",overflowWrap:"anywhere",children:e.title})]}),(0,G.jsx)(mbe,{details:e.details})]})}function Tf({title:e,items:t,empty:o,icon:r,tone:n="default"}){let a=n==="success"?"green.200":n==="risk"?"orange.200":"surface.border";return(0,G.jsxs)(E,{borderWidth:"1px",borderColor:a,borderRadius:"md",bg:n==="success"?"green.50":n==="risk"?"orange.50":"surface.muted",minW:0,overflow:"hidden",children:[(0,G.jsxs)(Z,{spacing:2.5,px:4,py:3,color:n==="success"?"green.700":n==="risk"?"orange.700":"brand.600",align:"start",children:[(0,G.jsx)(E,{flexShrink:0,pt:"2px",children:r}),(0,G.jsx)(nt,{size:"sm",color:n==="success"?"green.900":n==="risk"?"orange.900":"text.default",children:e})]}),(0,G.jsx)(E,{borderTopWidth:"1px",borderColor:a,px:4,py:3,children:t.length>0?(0,G.jsx)(at,{children:t.map((l,c)=>(0,G.jsx)(Ge,{indicatorIcon:n==="success"?Js:void 0,indicatorColor:n==="success"?"green.400":n==="risk"?"orange.400":"brand.300",children:(0,G.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:l})},`${c}-${l}`))}):(0,G.jsx)(x,{fontSize:"sm",color:n==="success"?"green.800":n==="risk"?"orange.800":"text.muted",children:o})})]})}function fbe({label:e}){let t=e.toLowerCase();return t.includes("risk")||t.includes("failure")?(0,G.jsx)(pa,{size:20,weight:"duotone"}):t.includes("permission")||t.includes("access")?(0,G.jsx)(E8,{size:20,weight:"duotone"}):t.includes("metric")||t.includes("success")?(0,G.jsx)(f2,{size:20,weight:"duotone"}):t.includes("data")||t.includes("schema")?(0,G.jsx)(l2,{size:20,weight:"duotone"}):t.includes("flow")||t.includes("workflow")?(0,G.jsx)(Di,{size:20,weight:"duotone"}):(0,G.jsx)(u2,{size:20,weight:"duotone"})}function cv({label:e,value:t}){return(0,G.jsxs)(E,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:e}),(0,G.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:t})]})}function NY({spec:e}){let t=Ja(e.feature),o=Ja(e.blueprint),r=Ja(o.scope),n=Ja(e.choices),a=Ja(n.wedge),s=Ja(n.feature),i=_s(a.selectedOptionId),l=(Array.isArray(a.options)?a.options:[]).map(Ja).find(P=>_s(P.id)===i),c=_s(s.selectedOptionId),u=(Array.isArray(s.options)?s.options:[]).map(Ja).find(P=>_s(P.id)===c),m=lv(r,["acceptanceCriteria","acceptance","doneWhen"]),f=lv(r,["userVisibleBehavior","behavior","inScope","capabilities"]),d=lv(r,["edgeCases","failureBehavior","failureModes"]),p=lv(r,["permissions","authorization","accessRules"]),h=VY(r,["acceptanceCriteria","acceptance","doneWhen","userVisibleBehavior","behavior","inScope","capabilities","edgeCases","failureBehavior","failureModes","permissions","authorization","accessRules"]),S=T9(o.affectedSurfaces,"Surface"),g=T9(o.flows,"Flow"),b=T9(o.systemImpact,"System area"),I=K2(t.constraints),v=K2(t.nonGoals),C=[!!l,!!u,f.length>0||Object.keys(r).length>0,m.length>0,S.length>0,g.length>0,b.length>0],T=Math.round(C.filter(Boolean).length/C.length*100),w=T>=80?"green":T>=60?"yellow":"red";return(0,G.jsxs)(z,{spacing:5,minW:0,maxW:"100%",overflow:"hidden",children:[(0,G.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:[(0,G.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,G.jsxs)(z,{spacing:.5,children:[(0,G.jsx)(x,{fontWeight:"semibold",children:"Feature Blueprint Overview"}),(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Selected wedge, feature direction, scope, workflow coverage, and implementation readiness."})]}),(0,G.jsx)($,{colorScheme:w,variant:"subtle",borderRadius:"full",children:T>=80?"Build-ready signal":T>=60?"Needs tightening":"High risk"})]}),(0,G.jsxs)(Le,{columns:{base:2,md:4},spacing:3,mt:4,children:[(0,G.jsx)(cv,{label:"Acceptance criteria",value:m.length}),(0,G.jsx)(cv,{label:"Affected surfaces",value:S.length}),(0,G.jsx)(cv,{label:"User flows",value:g.length}),(0,G.jsx)(cv,{label:"System areas",value:b.length})]})]}),(0,G.jsxs)(Le,{columns:{base:1,xl:2},spacing:4,alignItems:"start",children:[(0,G.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,children:[(0,G.jsxs)(Z,{spacing:2.5,mb:3,color:"brand.600",children:[(0,G.jsx)(da,{size:20,weight:"duotone"}),(0,G.jsx)(x,{fontWeight:"semibold",color:"text.default",children:"Wedge \u2192 Feature direction"})]}),(0,G.jsxs)(z,{spacing:2,children:[(0,G.jsxs)(E,{children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",children:"Selected wedge"}),(0,G.jsx)(nt,{size:"sm",children:_s(l?.title)||"No wedge selected"})]}),(0,G.jsx)(c2,{size:20,weight:"duotone"}),(0,G.jsxs)(E,{children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",children:"Selected feature direction"}),(0,G.jsx)(nt,{size:"sm",children:_s(u?.title)||"No feature direction selected"}),(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",mt:2,lineHeight:"tall",children:_s(u?.summary)||"Choose a Feature direction to lock the Build Feature handoff."})]})]})]}),(0,G.jsxs)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsx)(x,{fontWeight:"semibold",children:"Feature Readiness Score"}),(0,G.jsxs)($,{colorScheme:w,children:[T,"/100"]})]}),(0,G.jsx)(fa,{value:T,borderRadius:"md",colorScheme:w,mb:3}),(0,G.jsxs)(dt,{status:T>=80?"success":T>=60?"warning":"error",borderRadius:"md",children:[(0,G.jsx)(pt,{}),(0,G.jsx)(ht,{children:T>=80?"Scope, acceptance, surfaces, flows, and system impact are represented.":"Complete the missing Blueprint areas before repository interrogation and implementation."})]})]})]}),(0,G.jsx)(E,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,overflow:"hidden",children:(0,G.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,G.jsxs)(Or,{overflowX:"auto",overflowY:"hidden",maxW:"100%",children:[(0,G.jsx)(rt,{whiteSpace:"nowrap",children:"Scope + Acceptance"}),(0,G.jsx)(rt,{whiteSpace:"nowrap",children:"Surfaces + Flows"}),(0,G.jsx)(rt,{whiteSpace:"nowrap",children:"System + Risk"})]}),(0,G.jsxs)(Vr,{children:[(0,G.jsx)(Ke,{px:0,pt:5,children:(0,G.jsxs)(z,{spacing:4,children:[(0,G.jsxs)(nh,{children:[(0,G.jsx)(Zi,{children:(0,G.jsx)(Tf,{title:"User-visible behavior",items:f,empty:"No user-visible behavior captured yet.",icon:(0,G.jsx)(m2,{size:20,weight:"duotone"})})}),(0,G.jsx)(Zi,{children:(0,G.jsx)(Tf,{title:"Acceptance criteria",items:m,empty:"No acceptance criteria captured yet.",icon:(0,G.jsx)(Js,{size:20,weight:"duotone"}),tone:"success"})}),(0,G.jsx)(Zi,{children:(0,G.jsx)(Tf,{title:"Edge + failure behavior",items:d,empty:"No edge cases captured yet.",icon:(0,G.jsx)(pa,{size:20,weight:"duotone"}),tone:"risk"})}),(0,G.jsx)(Zi,{children:(0,G.jsx)(Tf,{title:"Permissions",items:p,empty:"No permission behavior captured yet.",icon:(0,G.jsx)(E8,{size:20,weight:"duotone"})})})]}),h.length>0?(0,G.jsxs)(E,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(u2,{size:20,weight:"duotone"}),(0,G.jsx)(nt,{size:"sm",children:"Additional scope requirements"})]}),(0,G.jsx)($,{variant:"subtle",children:h.length})]}),(0,G.jsx)(nh,{children:h.map((P,k)=>(0,G.jsx)(Zi,{children:(0,G.jsx)(Tf,{title:P.label,items:P.values,empty:"No detail captured.",icon:(0,G.jsx)(fbe,{label:P.label})})},`${P.label}-${k}`))})]}):null]})}),(0,G.jsx)(Ke,{px:0,pt:5,children:(0,G.jsxs)(z,{spacing:5,children:[(0,G.jsxs)(E,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(m2,{size:20,weight:"duotone"}),(0,G.jsx)(nt,{size:"sm",children:"Affected surfaces"})]}),(0,G.jsx)($,{variant:"subtle",children:S.length})]}),S.length>0?(0,G.jsx)(nh,{children:S.map((P,k)=>(0,G.jsx)(Zi,{children:(0,G.jsx)(A9,{item:P,kind:"surface"})},`${P.title}-${k}`))}):(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No affected surfaces captured yet."})]}),(0,G.jsxs)(E,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(c2,{size:20,weight:"duotone"}),(0,G.jsx)(nt,{size:"sm",children:"Complete user flows"})]}),(0,G.jsx)($,{variant:"subtle",children:g.length})]}),g.length>0?(0,G.jsx)(nh,{children:g.map((P,k)=>(0,G.jsx)(Zi,{children:(0,G.jsx)(A9,{item:P,kind:"flow"})},`${P.title}-${k}`))}):(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No user flows captured yet."})]})]})}),(0,G.jsx)(Ke,{px:0,pt:5,children:(0,G.jsxs)(z,{spacing:5,children:[(0,G.jsxs)(E,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(l2,{size:20,weight:"duotone"}),(0,G.jsx)(nt,{size:"sm",children:"System impact requirements"})]}),(0,G.jsx)($,{variant:"subtle",children:b.length})]}),b.length>0?(0,G.jsx)(nh,{children:b.map((P,k)=>(0,G.jsx)(Zi,{children:(0,G.jsx)(A9,{item:P,kind:"system"})},`${P.title}-${k}`))}):(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No system-impact requirements captured yet."})]}),(0,G.jsxs)(nh,{children:[(0,G.jsx)(Zi,{children:(0,G.jsx)(Tf,{title:"Constraints",items:I,empty:"No constraints captured.",icon:(0,G.jsx)(pa,{size:20,weight:"duotone"}),tone:"risk"})}),(0,G.jsx)(Zi,{children:(0,G.jsx)(Tf,{title:"Explicit non-goals",items:v,empty:"No non-goals captured.",icon:(0,G.jsx)(vL,{size:20,weight:"duotone"})})})]})]})})]})]})})]})}var WY=M(oe());function zY({children:e}){return(0,WY.jsx)(E,{"data-aux-synthesis":!0,sx:{"& .chakra-tabs":{mx:-5},"& .chakra-tabs__tablist":{px:3,flexWrap:"wrap",overflowX:"visible"},"& .chakra-tabs__tab":{whiteSpace:"normal",fontSize:"sm",px:3},"& .chakra-tabs__tab-panel":{px:5},"& > .chakra-tabs":{mx:0},"& > .chakra-stack > div:first-of-type:has(> .chakra-tabs)":{border:0,clipPath:"none"},"& .chakra-divider":{position:"relative",border:0,height:"1px",opacity:1,"&::before":{content:'""',position:"absolute",insetInline:"-100vw",top:0,borderTop:"1px solid",borderColor:"surface.border",pointerEvents:"none"}}},children:e})}var ze=M(oe());function uv(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:{}}function k9(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"?String(e):""}function M9(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replaceAll("_"," ")}function mv({value:e}){return Array.isArray(e)?(0,ze.jsx)(at,{children:e.map((t,o)=>(0,ze.jsx)(Ge,{children:typeof t=="object"&&t!==null?(0,ze.jsx)(mv,{value:t}):(0,ze.jsx)(x,{fontSize:"sm",children:k9(t)})},o))}):e&&typeof e=="object"?(0,ze.jsx)(z,{spacing:3,children:Object.entries(uv(e)).filter(([t])=>!/^(id|specVersion)$/i.test(t)).map(([t,o])=>(0,ze.jsxs)(E,{children:[(0,ze.jsx)(x,{fontSize:"xs",textTransform:"uppercase",color:"text.muted",mb:1,children:M9(t)}),(0,ze.jsx)(mv,{value:o})]},t))}):(0,ze.jsx)(x,{fontSize:"sm",children:k9(e)||"Not captured yet."})}function dbe({spec:e}){let t=uv(e.idea),o=uv(e.meta);return(0,ze.jsx)(E,{layerStyle:"notchedCard",p:4,children:(0,ze.jsxs)(z,{spacing:4,children:[(0,ze.jsx)(nt,{size:"sm",children:"Product Ideation Snapshot"}),(0,ze.jsx)(Le,{columns:{base:1,md:2},spacing:3,children:[{label:"One-liner",value:o.oneLiner,icon:du},{label:"Target User",value:t.targetUser,icon:ef},{label:"Problem",value:t.problem,icon:da},{label:"Solution",value:t.solution,icon:$n},{label:"JTBD",value:t.jobToBeDone,icon:da},{label:"Why now",value:t.whyNow,icon:du}].map(r=>(0,ze.jsxs)(E,{layerStyle:"notchedInset",p:3,children:[(0,ze.jsxs)(Z,{color:"brand.600",spacing:2,mb:2,children:[(0,ze.jsx)(r.icon,{size:20}),(0,ze.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",fontWeight:"semibold",children:r.label})]}),(0,ze.jsx)(x,{fontWeight:"semibold",children:k9(r.value)||"Not captured yet."})]},r.label))})]})})}function UY({widget:e,onExportAiSpec:t}){let{projectId:o,spec:r,phaseKey:n,projectKind:a}=e,s;if(a==="feature"&&n==="foundations")s=(0,ze.jsx)(PY,{spec:r});else if(a==="feature"&&n==="market_validation")s=(0,ze.jsx)(_Y,{spec:r});else if(a==="feature"&&n==="mvp_blueprint")s=(0,ze.jsx)(NY,{spec:r});else if(n==="market_validation")s=(0,ze.jsx)(rY,{projectId:o,spec:r,research:uv(r.research),readOnly:!0});else if(n==="positioning_pricing")s=(0,ze.jsx)(mY,{projectId:o,spec:r});else if(n==="mvp_blueprint")s=(0,ze.jsx)(SY,{projectId:o,spec:r,onExportAiSpec:t});else if(n==="landing_onpage_seo")s=(0,ze.jsx)(vY,{projectId:o,spec:r});else if(n==="pitch_deck")s=(0,ze.jsx)(MY,{projectId:o,spec:r});else{let i=n==="foundations"?["idea","icp"]:n==="accounts_setup"?["setup"]:n==="build"?["build"]:n==="launch_sales"?["launch","outbound","leads"]:["seo"];s=(0,ze.jsxs)(Hr,{variant:"line",colorScheme:"brand",isLazy:!0,children:[(0,ze.jsxs)(Or,{children:[(0,ze.jsx)(rt,{children:"Overview"}),(0,ze.jsx)(rt,{children:n==="foundations"?"JTBD + audience":"Details"})]}),(0,ze.jsxs)(Vr,{children:[(0,ze.jsx)(Ke,{children:n==="foundations"?(0,ze.jsx)(dbe,{spec:r}):(0,ze.jsx)(Le,{columns:{base:1,md:2},gap:3,children:i.map(l=>(0,ze.jsxs)(E,{layerStyle:"notchedInset",p:4,children:[(0,ze.jsxs)(Z,{mb:3,children:[(0,ze.jsx)(nt,{size:"sm",textTransform:"capitalize",children:M9(l)}),(0,ze.jsx)($,{children:e.title})]}),(0,ze.jsx)(mv,{value:r[l]})]},l))})}),(0,ze.jsx)(Ke,{children:(0,ze.jsx)(z,{spacing:4,children:i.map(l=>(0,ze.jsxs)(E,{layerStyle:"notchedInset",p:4,children:[(0,ze.jsx)(nt,{size:"sm",textTransform:"capitalize",mb:3,children:M9(l)}),(0,ze.jsx)(mv,{value:r[l]})]},l))})})]})]})}return(0,ze.jsx)(zY,{children:s})}var fv=M(F()),Qr=M(oe()),ZY="M 12 60 A 48 48 0 0 1 108 60";function jY(e){return e==="High"?"green":e==="Medium"?"yellow":e==="Low"?"red":"gray"}function pbe(e){return e>=70?"red":e>=45?"yellow":"green"}function hbe(e){return e==="gray"?"gray.300":`${e}.500`}function GY({score:e,footer:t}){let o=typeof e.score!="number"||e.level===null,r=e.key==="market_saturation",n=o?"gray":pbe(e.score??0),a=r?n:jY(e.level),s=r?n:jY(e.level),i=hbe(s),l=o?"Needs data":e.level,c=o?0:Math.max(0,Math.min(e.score??0,100)),[u,m]=(0,fv.useState)(0);(0,fv.useEffect)(()=>{if(typeof window>"u")return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){m(c);return}let p=0,h=null,S=900;m(0);let g=b=>{h===null&&(h=b);let I=b-h,v=Math.min(I/S,1),C=1-Math.pow(1-v,3);m(c*C),v<1&&(p=window.requestAnimationFrame(g))};return p=window.requestAnimationFrame(g),()=>window.cancelAnimationFrame(p)},[c]);let f=o?"\u2014":`${Math.round(u)}%`;return(0,Qr.jsxs)(E,{"data-score-card":!0,layerStyle:"notchedCard",minH:"100%",display:"flex",flexDirection:"column",children:[(0,Qr.jsxs)(z,{spacing:1.5,p:4,flex:"1",children:[(0,Qr.jsxs)(z,{spacing:.25,children:[(0,Qr.jsx)(nt,{size:"sm",children:e.title.replace(/\s+Score$/i,"")}),(0,Qr.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:e.signalLabel??(r?"Crowding risk signal":"Opportunity signal")})]}),(0,Qr.jsxs)(z,{align:"center",spacing:1.5,flex:"1",children:[(0,Qr.jsxs)(E,{position:"relative",w:"168px",h:"126px",children:[(0,Qr.jsxs)(E,{as:"svg",viewBox:"0 0 120 72",w:"168px",h:"126px",overflow:"visible",children:[(0,Qr.jsx)(E,{as:"path",d:ZY,pathLength:100,fill:"none",color:"gray.100",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round"}),(0,Qr.jsx)(E,{as:"path",d:ZY,pathLength:100,fill:"none",color:i,stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round",strokeDasharray:`${u} 100`})]}),(0,Qr.jsxs)(z,{position:"absolute",left:"50%",top:"62%",transform:"translate(-50%, -50%)",spacing:2,align:"center",children:[(0,Qr.jsx)(x,{fontWeight:"bold",fontSize:"3xl",lineHeight:"1",color:i,children:f}),(0,Qr.jsx)($,{colorScheme:a,variant:"subtle",fontSize:"0.72rem",children:l})]})]}),(0,Qr.jsxs)(z,{spacing:1,w:"100%",align:"center",children:[(0,Qr.jsx)(x,{fontSize:"sm",textAlign:"center",children:e.explanation}),o&&e.insufficientDataMessage?(0,Qr.jsx)(x,{fontSize:"xs",color:"text.muted",lineHeight:"1.4",textAlign:"center",children:e.insufficientDataMessage}):null]})]})]}),t?(0,Qr.jsx)(E,{"data-score-card-footer":!0,borderTopWidth:"1px",borderColor:"surface.border",px:4,py:3,children:t}):null]})}function L9(e,t){let o=t?.privateContent;if(o?.identity!==sh(e))return;let r=e.type==="scores"?3:2;return{tab:Number.isInteger(o.tab)&&o.tab>=0&&o.tab<r?o.tab:0,draft:e.type==="choices"&&e.choice.options.some(n=>n.id===o.draft)?o.draft:e.type==="choices"?e.choice.selectedOptionId:""}}function Af(){return window.openai}function $Y(){let e=0,t=!1,o=Af()?.toolOutput?.widget,r=new Map,n=new Set,a=(c,u)=>window.parent.postMessage({jsonrpc:"2.0",method:c,params:u},"*"),s=(c,u,m=3e4)=>new Promise((f,d)=>{let p=++e,h=setTimeout(()=>{r.delete(p),d(new Error("The agent host did not respond. Try again."))},m);r.set(p,{resolve:f,reject:d,timer:h}),window.parent.postMessage({jsonrpc:"2.0",id:p,method:c,params:u},"*")});window.addEventListener("message",c=>{if(c.source!==window.parent||c.data?.jsonrpc!=="2.0")return;let u=c.data,m=r.get(u.id);m?(clearTimeout(m.timer),r.delete(u.id),u.error?m.reject(new Error(u.error.message||"Agent host request failed.")):m.resolve(u.result)):u.method==="ui/notifications/tool-result"&&u.params?.structuredContent?.widget?(o=u.params.structuredContent.widget,n.forEach(f=>f(u.params.structuredContent.widget))):u.method==="ui/notifications/host-context-changed"?i(u.params?.theme):u.method==="ui/resource-teardown"&&u.id!==void 0&&window.parent.postMessage({jsonrpc:"2.0",id:u.id,result:{}},"*")});function i(c){c!=="light"&&c!=="dark"||(document.documentElement.style.colorScheme=c,document.documentElement.dataset.hostTheme=c,window.dispatchEvent(new Event("launchchair:host-theme")))}let l=s("ui/initialize",{appInfo:{name:"launchchair-widgets",version:"1.0.0"},appCapabilities:{},protocolVersion:"2026-01-26"},2e3).then(c=>{t=!0,i(c?.hostContext?.theme),a("ui/notifications/initialized",{});let u=()=>a("ui/notifications/size-changed",{height:document.documentElement.scrollHeight});new ResizeObserver(u).observe(document.body),u()}).catch(()=>{});return{get initial(){return o},saved:Af()?.widgetState,async callTool(c,u){if(await l,t)return s("tools/call",{name:c,arguments:u});let m=Af();if(m?.callTool)return m.callTool(c,u);throw new Error("This host cannot call LaunchChair tools from a widget. Continue in the agent conversation.")},async message(c){if(await l,t)return s("ui/message",{role:"user",content:[{type:"text",text:c}]});let u=Af();if(u?.sendFollowUpMessage)return u.sendFollowUpMessage({prompt:c});throw new Error("This host cannot send a next action. Continue in the agent conversation.")},subscribe(c){n.add(c),o&&c(o);let u=m=>{let f=m.detail?.globals?.toolOutput?.widget;f&&c(f)};return window.addEventListener("openai:set_globals",u),()=>{n.delete(c),window.removeEventListener("openai:set_globals",u)}},persist(c,u,m){let f={projectId:c.projectId,view:c.type,...c.type==="choices"?{savedOptionId:c.choice.selectedOptionId,draftOptionId:m}:{}};Af()?.setWidgetState?.({modelContent:f,privateContent:{tab:u,draft:m,identity:sh(c)}})?.catch(()=>{})}}}function sh(e){return[e.projectId,e.type,"phaseKey"in e?e.phaseKey:"","bucketKey"in e?e.bucketKey:""].join(":")}function P9(e){if(e.isError){let o=e.content?.find(r=>r.type==="text")?.text||"LaunchChair could not complete this action.";try{o=JSON.parse(o).error||o}catch{}throw new Error(o)}return e}var ve=M(oe());function qY(e){try{let t=new URL(e);return["https:","http:"].includes(t.protocol)?t.href:void 0}catch{return}}function XY(){if(typeof window>"u")return"light";let e=document.documentElement.dataset.hostTheme??Af()?.theme;return e==="dark"||!e&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}var gbe={type:"cookie",get:XY,set:()=>{}};function bbe(){let{setColorMode:e}=xl();return(0,Kn.useEffect)(()=>{let t=window.matchMedia("(prefers-color-scheme: dark)"),o=()=>e(XY()),r=n=>{let a=n.detail?.globals?.theme;(a==="light"||a==="dark")&&e(a)};return o(),window.addEventListener("launchchair:host-theme",o),window.addEventListener("openai:set_globals",r),t.addEventListener("change",o),()=>{window.removeEventListener("launchchair:host-theme",o),window.removeEventListener("openai:set_globals",r),t.removeEventListener("change",o)}},[e]),null}function ybe({children:e}){return(0,ve.jsxs)(h5,{theme:jG,resetCSS:!0,colorModeManager:gbe,children:[(0,ve.jsx)(bbe,{}),e]})}function Sbe({widget:e,draft:t,setDraft:o,disabled:r}){let n=e.choice.options.find(s=>s.id===e.choice.selectedOptionId),a=e.choice.scoreKind??(e.choice.domain==="pricing"?"wtb":e.choice.domain==="feature"?"wedge_feature":"wedge");return[(0,ve.jsx)(Ke,{px:{base:3,md:5},children:e.choice.options.length?(0,ve.jsx)(ML,{options:e.choice.options,selectedOptionId:t,onChange:o,isDisabled:r,minChildWidth:"260px",scoreKind:a}):(0,ve.jsx)(x,{color:"text.muted",children:"Complete the strategy step to generate choices."})},"0"),(0,ve.jsx)(Ke,{px:{base:3,md:5},children:n?(0,ve.jsx)(ML,{options:[n],selectedOptionId:n.id,onChange:()=>{},scoreKind:a,readOnly:!0,columns:1}):(0,ve.jsx)(x,{color:"text.muted",children:"No choice has been saved yet."})},"1")]}function xbe({widget:e}){return[(0,ve.jsx)(Ke,{px:{base:3,md:5},children:(0,ve.jsx)(Le,{minChildWidth:"200px",spacing:3,children:e.scorecards.map(t=>(0,ve.jsx)(GY,{score:{...t,key:t.id},footer:(0,ve.jsxs)(z,{spacing:2,children:[(0,ve.jsxs)(x,{fontSize:"xs",color:"text.muted",whiteSpace:"nowrap",children:["Recommended ",t.optimization==="minimize"?"\u2264":"\u2265"," ",t.recommendedThreshold,"%"]}),(0,ve.jsx)($,{alignSelf:"start",colorScheme:t.passesRecommendedThreshold===null?"gray":t.passesRecommendedThreshold?"green":"yellow",children:t.passesRecommendedThreshold===null?"Needs data":t.passesRecommendedThreshold?"Meets threshold":"Outside threshold"})]})},t.id))})},"0"),(0,ve.jsx)(Ke,{px:{base:3,md:5},children:(0,ve.jsx)(z,{spacing:4,children:e.scorecards.map(t=>(0,ve.jsxs)(E,{layerStyle:"notchedInset",p:4,children:[(0,ve.jsx)(nt,{size:"sm",mb:2,children:t.title.replace(/\s+Score$/i,"")}),t.inputsUsed.length?(0,ve.jsx)(c4,{pl:4,spacing:1,children:t.inputsUsed.map((o,r)=>(0,ve.jsx)(n0,{children:o},r))}):(0,ve.jsx)(x,{children:t.insufficientDataMessage||"No evidence inputs available yet."}),(0,ve.jsxs)(x,{fontSize:"sm",color:"text.muted",mt:2,children:["Required phases: ",t.requiredPhases.join(", ")]})]},t.id))})},"1"),(0,ve.jsx)(Ke,{px:{base:3,md:5},children:(0,ve.jsxs)(z,{spacing:4,children:[(0,ve.jsx)(x,{color:"text.muted",fontSize:"sm",children:e.guidance.distinction}),e.directionOptions.length?e.directionOptions.map(t=>(0,ve.jsxs)(E,{"data-direction-option":!0,layerStyle:"notchedInset",p:4,children:[(0,ve.jsx)(nt,{size:"sm",mb:2,children:t.title}),(0,ve.jsxs)(Z,{"data-direction-badges":!0,spacing:2,flexWrap:"wrap",children:[(0,ve.jsxs)($,{children:[t.score,"% direction score"]}),t.selected?(0,ve.jsx)($,{colorScheme:"green",children:"Selected"}):null]}),(0,ve.jsx)(x,{mt:2,children:t.summary})]},t.id)):(0,ve.jsx)(x,{children:"No direction options available yet."})]})},"2")]}function Ibe({widget:e,bridge:t,replace:o}){let r=sh(e);(0,Kn.useEffect)(()=>{let T=document.getElementById("launchchair-widget-root");T&&(T.dataset.appUrl=e.url)},[e.url]);let n=L9(e,t.saved),[a,s]=(0,Kn.useState)(n?.tab??0),[i,l]=(0,Kn.useState)(n?.draft??(e.type==="choices"?e.choice.selectedOptionId:"")),[c,u]=(0,Kn.useState)(!1),[m,f]=(0,Kn.useState)(""),[d,p]=(0,Kn.useState)(""),h=e.type==="choices"?e.choice.selectedOptionId:"",S=(0,Kn.useRef)(h);(0,Kn.useEffect)(()=>{S.current!==h&&l(h),S.current=h},[h]),(0,Kn.useEffect)(()=>{let T=w=>{let P=w.detail?.globals;if(!P||!("widgetState"in P))return;let k=L9(e,P.widgetState);k&&(s(k.tab),l(k.draft))};return window.addEventListener("openai:set_globals",T),()=>window.removeEventListener("openai:set_globals",T)},[e]);let g=e.type==="choices"?["Options","Selected choice"]:["Scorecards","Inputs used","Direction options"],b=e.type==="scores"?e.projectKind==="feature"?"Feature Validation Scorecards":"Strategic Scorecards":e.type==="synthesis"?`${e.title} Synthesis`:e.title;async function I(T){if(!c){u(!0),p(""),f("");try{await T()}catch(w){p(w instanceof Error?w.message:"Unable to complete this action.")}finally{u(!1)}}}async function v(){let w=P9(await t.callTool(e.renderTool,e.renderArguments)).structuredContent?.widget;if(!w||sh(w)!==r)throw new Error("LaunchChair returned an unexpected widget. Refresh from the agent conversation.");return o(w),w}let C=T=>{l(T),f(""),t.persist(e,a,T)};return(0,ve.jsx)(z,{spacing:4,"data-widget-type":e.type,children:(0,ve.jsx)(E,{layerStyle:"notchedCard",children:(0,ve.jsxs)(z,{spacing:0,children:[(0,ve.jsxs)(z,{spacing:1,px:{base:3,md:5},py:4,pr:{base:3,md:20},children:[(0,ve.jsxs)(Z,{spacing:2,flexWrap:"wrap",children:[(0,ve.jsxs)(x,{fontSize:"xs",letterSpacing:"wide",textTransform:"uppercase",color:"text.muted",children:["LaunchChair \xB7 ",e.projectName]}),t.preview?(0,ve.jsx)($,{colorScheme:"gray",children:"Local example"}):null]}),(0,ve.jsx)(nt,{size:"md",children:b}),e.type==="synthesis"?(0,ve.jsx)($,{alignSelf:"start",colorScheme:e.complete?"green":"yellow",children:e.complete?"Phase complete":`In progress \xB7 ${e.percentage}%`}):null]}),e.type==="synthesis"?(0,ve.jsx)(E,{className:"launchchair-scrollbar","data-aux-scroll":!0,maxH:{base:"440px",md:"560px"},overflowY:"auto",overflowX:"hidden",children:(0,ve.jsx)(UY,{widget:e,onExportAiSpec:async()=>{await t.message(`Export the AI-ready MVP specification for LaunchChair project ${e.projectId} with launchchair_export_mvp_spec and return the resulting Markdown to me.`),f("Export requested from the agent.")}})}):(0,ve.jsxs)(Hr,{index:a,onChange:T=>{s(T),t.persist(e,T,i)},variant:"line",colorScheme:"brand",isLazy:!0,children:[(0,ve.jsx)(Or,{flexWrap:"wrap",px:{base:1,md:3},children:g.map(T=>(0,ve.jsx)(rt,{px:{base:2,md:4},fontSize:"sm",children:T},T))}),(0,ve.jsx)(E,{className:"launchchair-scrollbar","data-aux-scroll":!0,maxH:{base:"440px",md:"560px"},overflowY:"auto",overflowX:"hidden",children:(0,ve.jsx)(Vr,{children:e.type==="choices"?Sbe({widget:e,draft:i,setDraft:C,disabled:c}):xbe({widget:e})})})]}),d?(0,ve.jsx)(E,{px:{base:3,md:5},pb:4,children:(0,ve.jsxs)(dt,{status:"error",role:"alert",children:[(0,ve.jsx)(pt,{}),(0,ve.jsx)(ht,{children:d})]})}):null,(0,ve.jsx)(x,{"aria-live":"polite",fontSize:"sm",color:"text.muted",px:{base:3,md:5},pb:m||e.type==="choices"&&i&&i!==h?4:0,children:m||(e.type==="choices"&&i&&i!==h?"Selection changed. Save this choice to continue.":"")}),(0,ve.jsxs)(z,{spacing:3,as:"footer",borderTopWidth:"1px",borderColor:"surface.border",px:{base:3,md:5},py:4,children:[(0,ve.jsx)(nt,{size:"sm",children:"Next action"}),(0,ve.jsxs)(Z,{flexWrap:"wrap",spacing:2,children:[e.type==="choices"?(0,ve.jsx)(gt,{colorScheme:"brand",variant:"solid",size:"sm",isDisabled:c||!i||i===h,onClick:()=>void I(async()=>{P9(await t.callTool("launchchair_select_choice",{projectId:e.projectId,phaseKey:e.phaseKey,bucketKey:e.bucketKey,optionId:i,resetDownstream:!0}));let T=await v();if(T.type!=="choices"||T.choice.selectedOptionId!==i)throw new Error("The saved choice could not be verified. Refresh before continuing.");t.persist(T,a,i),f(t.preview?"Choice saved in this local example.":"Choice saved. Downstream phases will be regenerated from this selection.")}),children:"Save choice"}):null,(0,ve.jsx)(gt,{colorScheme:"brand",variant:e.type==="choices"?"surfaceSecondary":"solid",size:"sm",rightIcon:(0,ve.jsx)(Zl,{}),isDisabled:c||e.type==="choices"&&(!h||i!==h),onClick:()=>void I(async()=>{await t.message(`Continue LaunchChair project ${e.projectId} from ${e.type==="synthesis"?`${e.phaseKey} synthesis`:e.type==="choices"?`the saved ${e.choice.domain} choice ${h}`:"these validation scorecards"}. Call launchchair_next_step and execute the returned step in this host agent. Preserve existing validation gates and authorization boundaries.`),f(t.preview?"Next action selected in this local example.":"Next action sent to the agent.")}),children:e.type==="synthesis"&&e.complete?"Continue to next phase":"Continue project"}),e.type==="scores"?(0,ve.jsx)(gt,{variant:"surfaceSecondary",size:"sm",isDisabled:c,onClick:()=>void I(async()=>{await t.message(`Review validation evidence for LaunchChair project ${e.projectId}. Inspect the current scorecards and identify evidence gaps and appropriate validation steps. Preserve the supplied idea and configured gates.`),f(t.preview?"Validation review selected in this local example.":"Validation review sent to the agent.")}),children:"Review validation"}):null,(0,ve.jsx)(gt,{size:"sm",variant:"surfaceSecondary",leftIcon:(0,ve.jsx)(dM,{}),isDisabled:c,onClick:()=>void I(async()=>{await v(),f("Updated from LaunchChair.")}),children:"Refresh"}),qY(e.url)?(0,ve.jsx)(gt,{as:"a",href:qY(e.url),target:"_blank",rel:"noopener noreferrer",size:"sm",variant:"surfaceSecondary",rightIcon:(0,ve.jsx)(Jm,{}),children:"Open in LaunchChair"}):null]})]})]})})})}function YY({bridge:e}){let[t,o]=(0,Kn.useState)(e.initial);return(0,Kn.useEffect)(()=>e.subscribe(o),[e]),(0,ve.jsx)(ybe,{children:(0,ve.jsx)(E,{bg:"transparent",color:"text.default",sx:{overflowWrap:"anywhere","--font-space-grotesk":"'Space Grotesk'","*":{minWidth:0}},children:t?(0,ve.jsx)(Ibe,{widget:t,bridge:e,replace:o},sh(t)):(0,ve.jsx)(x,{p:4,role:"status",children:"Waiting for LaunchChair project data\u2026"})})})}var JY=M(oe()),KY=document.getElementById("launchchair-widget-root");KY&&(0,QY.createRoot)(KY).render((0,JY.jsx)(YY,{bridge:$Y()}));})();
|
|
1203
|
+
</script></body></html>
|