@nullplatform/mcp 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/i18n.js +206 -22
  2. package/dist/np/client.js +3 -0
  3. package/dist/np/journey.js +236 -24
  4. package/dist/tool-names.js +7 -0
  5. package/dist/tools/action-flow.js +94 -0
  6. package/dist/tools/approvals.js +2 -2
  7. package/dist/tools/builds.js +23 -6
  8. package/dist/tools/create-link.js +163 -0
  9. package/dist/tools/create-service.js +149 -0
  10. package/dist/tools/delete-flow.js +30 -0
  11. package/dist/tools/delete-link.js +95 -0
  12. package/dist/tools/delete-param.js +76 -0
  13. package/dist/tools/delete-service.js +108 -0
  14. package/dist/tools/deployments.js +2 -2
  15. package/dist/tools/index.js +14 -0
  16. package/dist/tools/logs.js +2 -2
  17. package/dist/tools/metrics.js +4 -1
  18. package/dist/tools/overview.js +2 -2
  19. package/dist/tools/params.js +78 -17
  20. package/dist/tools/playbook.js +2 -1
  21. package/dist/tools/releases.js +2 -2
  22. package/dist/tools/services.js +2 -2
  23. package/dist/tools/set-params.js +61 -11
  24. package/dist/tools/shared.js +4 -0
  25. package/dist/tools/update-link.js +87 -0
  26. package/dist/tools/update-service.js +92 -0
  27. package/dist/ui.js +4 -1
  28. package/package.json +3 -1
  29. package/skills/starting-a-new-app/SKILL.md +71 -0
  30. package/widgets-dist/approvals.html +261 -57
  31. package/widgets-dist/builds.html +256 -52
  32. package/widgets-dist/create-app.html +252 -48
  33. package/widgets-dist/deployments.html +251 -47
  34. package/widgets-dist/find-apps.html +251 -47
  35. package/widgets-dist/logs.html +256 -52
  36. package/widgets-dist/manifest.json +16 -13
  37. package/widgets-dist/metrics.html +261 -57
  38. package/widgets-dist/np-panel.html +256 -52
  39. package/widgets-dist/overview.html +256 -52
  40. package/widgets-dist/params.html +257 -53
  41. package/widgets-dist/releases.html +257 -53
  42. package/widgets-dist/service-action.html +1118 -0
  43. package/widgets-dist/service-create.html +1117 -0
  44. package/widgets-dist/{playbook.html → service-delete.html} +258 -58
  45. package/widgets-dist/service-link.html +1117 -0
  46. package/widgets-dist/services.html +249 -45
@@ -0,0 +1,1117 @@
1
+ <!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><!--np-widget:service-create@react--><style>/* Design tokens: derived from the HOST's design system (MCP Apps style variables),
2
+ falling back to our palette on hosts that send none. */
3
+ :root {
4
+ --bg: var(--color-background-primary, #ffffff);
5
+ --card: var(--color-background-secondary, #fafaf9);
6
+ --fg: var(--color-text-primary, #1c1917);
7
+ --muted: var(--color-text-secondary, #78716c);
8
+ --line: var(--color-border-primary, #e7e5e4);
9
+ /* Accent: hosts name this differently — adopt whichever they send so the primary
10
+ actions match the host's brand color (e.g. Claude's clay), not our indigo fallback. */
11
+ --accent: var(--color-accent-primary, var(--color-ring-primary, var(--color-accent, #6366f1)));
12
+ --accent-fg: var(--color-text-inverse, #ffffff);
13
+ --ok: var(--color-text-success, #16a34a);
14
+ --bad: var(--color-text-danger, #dc2626);
15
+ --warn: var(--color-text-warning, #d97706);
16
+ --radius: var(--border-radius-lg, 12px);
17
+ --term-bg: #1c1917;
18
+ --term-fg: #d6d3d1;
19
+ }
20
+ @media (prefers-color-scheme: dark) {
21
+ :root:not(.light) {
22
+ --bg: var(--color-background-primary, transparent);
23
+ --card: var(--color-background-secondary, rgba(255, 255, 255, 0.04));
24
+ --fg: var(--color-text-primary, #e7e5e4);
25
+ --muted: var(--color-text-secondary, #a8a29e);
26
+ --line: var(--color-border-primary, #3f3f46);
27
+ --accent: var(--color-accent-primary, var(--color-ring-primary, var(--color-accent, #818cf8)));
28
+ --accent-fg: var(--color-text-inverse, #1e1b4b);
29
+ --ok: var(--color-text-success, #4ade80);
30
+ --bad: var(--color-text-danger, #f87171);
31
+ --warn: var(--color-text-warning, #fbbf24);
32
+ --term-bg: rgba(0, 0, 0, 0.45);
33
+ }
34
+ }
35
+ html.dark {
36
+ --bg: var(--color-background-primary, transparent);
37
+ --card: var(--color-background-secondary, rgba(255, 255, 255, 0.04));
38
+ --fg: var(--color-text-primary, #e7e5e4);
39
+ --muted: var(--color-text-secondary, #a8a29e);
40
+ --line: var(--color-border-primary, #3f3f46);
41
+ --accent: var(--color-accent-primary, var(--color-ring-primary, var(--color-accent, #818cf8)));
42
+ --accent-fg: var(--color-text-inverse, #1e1b4b);
43
+ --ok: var(--color-text-success, #4ade80);
44
+ --bad: var(--color-text-danger, #f87171);
45
+ --warn: var(--color-text-warning, #fbbf24);
46
+ --term-bg: rgba(0, 0, 0, 0.45);
47
+ }
48
+
49
+ * {
50
+ box-sizing: border-box;
51
+ }
52
+ html,
53
+ body {
54
+ margin: 0;
55
+ padding: 0;
56
+ background: var(--bg);
57
+ }
58
+ body {
59
+ font: 14px / 1.45 var(--font-sans, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
60
+ color: var(--fg);
61
+ /* The only gutter — enough breathing room off the host's container edge, but small
62
+ enough not to fight a host that already pads the iframe. */
63
+ padding: 12px;
64
+ }
65
+
66
+ /* layout */
67
+ .card {
68
+ /* No self-chrome: hosts embed the widget in their own card/container, so a border +
69
+ background here would double-frame it. Inner cards (scopes, metrics) and the row
70
+ separators carry the grouping instead; the body's small padding is the only gutter,
71
+ so it also reads cleanly on a host that embeds the iframe bare. */
72
+ width: 100%;
73
+ }
74
+ .row {
75
+ display: flex;
76
+ align-items: center;
77
+ gap: 10px;
78
+ flex-wrap: wrap;
79
+ }
80
+ .grow {
81
+ flex: 1;
82
+ min-width: 0;
83
+ }
84
+ .section {
85
+ margin-top: 18px;
86
+ }
87
+ .section + .section {
88
+ padding-top: 4px;
89
+ }
90
+ .label {
91
+ font-size: 11px;
92
+ text-transform: uppercase;
93
+ letter-spacing: 0.08em;
94
+ color: var(--muted);
95
+ margin-bottom: 6px;
96
+ }
97
+ .grid {
98
+ display: grid;
99
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
100
+ gap: 10px;
101
+ margin-top: 12px;
102
+ }
103
+
104
+ /* text */
105
+ .title {
106
+ font-weight: 650;
107
+ font-size: 15px;
108
+ }
109
+ .sub {
110
+ color: var(--muted);
111
+ font-size: 12.5px;
112
+ word-break: break-word;
113
+ }
114
+ .note {
115
+ font-size: 12.5px;
116
+ color: var(--muted);
117
+ margin-top: 8px;
118
+ min-height: 16px;
119
+ white-space: pre-wrap;
120
+ }
121
+ .note.ok {
122
+ color: var(--ok);
123
+ }
124
+ .note.bad {
125
+ color: var(--bad);
126
+ }
127
+ .hint {
128
+ font-size: 12.5px;
129
+ border-left: 3px solid var(--accent);
130
+ padding: 6px 10px;
131
+ margin-top: 12px;
132
+ color: var(--muted);
133
+ }
134
+ a {
135
+ color: var(--accent);
136
+ text-decoration: none;
137
+ }
138
+
139
+ /* pill */
140
+ .pill {
141
+ font-size: 12px;
142
+ font-weight: 600;
143
+ padding: 3px 10px;
144
+ border-radius: 999px;
145
+ border: 1px solid var(--line);
146
+ white-space: nowrap;
147
+ }
148
+ .pill.ok {
149
+ color: var(--ok);
150
+ border-color: var(--ok);
151
+ }
152
+ .pill.bad {
153
+ color: var(--bad);
154
+ border-color: var(--bad);
155
+ }
156
+ .pill.run {
157
+ color: var(--accent);
158
+ border-color: var(--accent);
159
+ }
160
+ .pill.wait {
161
+ color: var(--warn);
162
+ border-color: var(--warn);
163
+ }
164
+
165
+ /* controls */
166
+ button {
167
+ font: inherit;
168
+ font-size: 13px;
169
+ font-weight: 600;
170
+ border-radius: 9px;
171
+ padding: 7px 14px;
172
+ cursor: pointer;
173
+ border: 1px solid var(--line);
174
+ background: transparent;
175
+ color: var(--fg);
176
+ }
177
+ button.primary {
178
+ background: var(--accent);
179
+ border-color: var(--accent);
180
+ color: var(--accent-fg);
181
+ }
182
+ button.danger {
183
+ color: var(--bad);
184
+ border-color: var(--bad);
185
+ }
186
+ button.small {
187
+ font-size: 12px;
188
+ padding: 4px 10px;
189
+ border-radius: 7px;
190
+ }
191
+ button.chipbtn {
192
+ padding: 1px 8px;
193
+ font-size: 11.5px;
194
+ border-radius: 999px;
195
+ }
196
+ button.on {
197
+ border-color: var(--accent);
198
+ color: var(--accent);
199
+ }
200
+ button.linklike {
201
+ border: none;
202
+ background: none;
203
+ color: var(--accent);
204
+ padding: 0;
205
+ font-size: 12px;
206
+ }
207
+ button:disabled {
208
+ opacity: 0.45;
209
+ cursor: default;
210
+ }
211
+ /* an async ActionButton's inline failure — compact red text beside the retry button */
212
+ .act-err {
213
+ font-size: 12px;
214
+ color: var(--bad);
215
+ text-align: right;
216
+ line-height: 1.3;
217
+ max-width: 150px;
218
+ }
219
+ /* icon-only button (e.g. the ActionButton confirm check / dismiss x) — square-ish, compact */
220
+ button.iconbtn {
221
+ padding: 5px 8px;
222
+ }
223
+ /* inline SVG icons (see ui/icons.tsx) — sit on the text baseline, never shrink in flex rows */
224
+ .icon {
225
+ flex: none;
226
+ vertical-align: -0.15em;
227
+ }
228
+ /* buttons that pair an icon with a label (or are icon-only): center + even gap */
229
+ button.hasicon {
230
+ display: inline-flex;
231
+ align-items: center;
232
+ justify-content: center;
233
+ gap: 6px;
234
+ }
235
+ button.hasicon .icon {
236
+ vertical-align: 0;
237
+ }
238
+ /* the time-range button's dropdown caret sits a touch dimmer than the clock + label */
239
+ .tr-caret {
240
+ opacity: 0.6;
241
+ }
242
+ /* the lock marking a secret parameter — muted, it's an annotation not an action */
243
+ .muted-icon {
244
+ color: var(--muted);
245
+ vertical-align: -0.15em;
246
+ }
247
+ input[type="text"],
248
+ input[type="number"],
249
+ input[type="datetime-local"],
250
+ select {
251
+ font: inherit;
252
+ font-size: 13px;
253
+ color: var(--fg);
254
+ background: transparent;
255
+ border: 1px solid var(--line);
256
+ border-radius: 8px;
257
+ padding: 6px 10px;
258
+ }
259
+ select {
260
+ /* Native chevron overlaps the border in some hosts — draw our own and reserve room. */
261
+ appearance: none;
262
+ -webkit-appearance: none;
263
+ background-color: var(--card);
264
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12' fill='none' stroke='%23999' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
265
+ background-repeat: no-repeat;
266
+ background-position: right 10px center;
267
+ padding-right: 30px;
268
+ }
269
+ input[type="datetime-local"] {
270
+ padding-right: 8px;
271
+ }
272
+ input[type="datetime-local"]::-webkit-calendar-picker-indicator {
273
+ cursor: pointer;
274
+ }
275
+ html.dark input[type="datetime-local"]::-webkit-calendar-picker-indicator {
276
+ filter: invert(0.85);
277
+ }
278
+ @media (prefers-color-scheme: dark) {
279
+ :root:not(.light) input[type="datetime-local"]::-webkit-calendar-picker-indicator {
280
+ filter: invert(0.85);
281
+ }
282
+ }
283
+ input[type="range"] {
284
+ width: 100%;
285
+ accent-color: var(--accent);
286
+ margin: 10px 0 2px;
287
+ }
288
+ .field {
289
+ margin-bottom: 10px;
290
+ }
291
+ .field input,
292
+ .field select {
293
+ width: 100%;
294
+ }
295
+
296
+ /* dynamic JSON-Schema forms (ui/schema-form.tsx) */
297
+ .schema-form {
298
+ display: flex;
299
+ flex-direction: column;
300
+ }
301
+ .schema-form .field:last-child,
302
+ .schema-form .check-row:last-child {
303
+ margin-bottom: 0;
304
+ }
305
+ .schema-group-label {
306
+ font-weight: 600;
307
+ font-size: 13px;
308
+ margin: 4px 0;
309
+ }
310
+ .schema-desc {
311
+ display: block;
312
+ margin-top: 3px;
313
+ color: var(--muted);
314
+ font-size: 11.5px;
315
+ }
316
+
317
+ /* create-app: repository mode toggle, generated-URL row, monorepo checkbox */
318
+ .segmented {
319
+ display: flex;
320
+ gap: 6px;
321
+ }
322
+ .segmented .seg {
323
+ flex: 1;
324
+ justify-content: center;
325
+ }
326
+ .repo-url {
327
+ display: flex;
328
+ align-items: center;
329
+ gap: 0;
330
+ border: 1px solid var(--line);
331
+ border-radius: 8px;
332
+ padding: 0 4px 0 10px;
333
+ background: var(--card);
334
+ }
335
+ .repo-url .repo-base {
336
+ flex: none;
337
+ color: var(--muted);
338
+ font-family: var(--font-mono, ui-monospace, Menlo, monospace);
339
+ font-size: 12.5px;
340
+ white-space: nowrap;
341
+ max-width: 45%;
342
+ overflow: hidden;
343
+ text-overflow: ellipsis;
344
+ }
345
+ .repo-url input {
346
+ border: none;
347
+ background: transparent;
348
+ padding: 7px 4px;
349
+ border-radius: 0;
350
+ }
351
+ .repo-url input:disabled {
352
+ opacity: 1;
353
+ color: var(--fg);
354
+ }
355
+ .check-row {
356
+ display: flex;
357
+ align-items: center;
358
+ gap: 8px;
359
+ font-size: 13px;
360
+ margin-bottom: 10px;
361
+ cursor: pointer;
362
+ }
363
+ .check-row input {
364
+ width: auto;
365
+ }
366
+
367
+ /* table */
368
+ table {
369
+ width: 100%;
370
+ border-collapse: collapse;
371
+ font-size: 13px;
372
+ }
373
+ th {
374
+ text-align: left;
375
+ font-size: 11px;
376
+ text-transform: uppercase;
377
+ letter-spacing: 0.06em;
378
+ color: var(--muted);
379
+ padding: 4px 8px 6px 0;
380
+ }
381
+ td {
382
+ padding: 4px 8px 4px 0;
383
+ border-top: 1px solid var(--line);
384
+ }
385
+ .mono {
386
+ font-family: var(--font-mono, ui-monospace, Menlo, monospace);
387
+ font-size: 12.5px;
388
+ }
389
+
390
+ /* terminal pane */
391
+ .term {
392
+ background: var(--term-bg);
393
+ color: var(--term-fg);
394
+ border-radius: 10px;
395
+ padding: 6px 12px;
396
+ font: 12px / 1.55 var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
397
+ max-height: 320px;
398
+ overflow-y: auto;
399
+ }
400
+ .term.nowrap {
401
+ overflow-x: auto;
402
+ }
403
+ .logline {
404
+ display: flex;
405
+ align-items: flex-start;
406
+ gap: 10px;
407
+ padding: 3px 0;
408
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
409
+ }
410
+ .logline:last-child {
411
+ border-bottom: none;
412
+ }
413
+ .logline .t {
414
+ opacity: 0.5;
415
+ flex: none;
416
+ white-space: nowrap;
417
+ }
418
+ .logline .msg {
419
+ flex: 1;
420
+ min-width: 0;
421
+ white-space: pre-wrap;
422
+ word-break: break-word;
423
+ }
424
+ .term.nowrap .msg {
425
+ white-space: pre;
426
+ }
427
+ .logline .copyline {
428
+ flex: none;
429
+ display: inline-flex;
430
+ align-items: center;
431
+ /* Match one text line and pin to the row's top so the icon sits on the first line,
432
+ centered against the timestamp/message — not floated by baseline alignment. */
433
+ align-self: flex-start;
434
+ height: 1.55em;
435
+ opacity: 0;
436
+ border: none;
437
+ background: transparent;
438
+ color: var(--term-fg);
439
+ cursor: pointer;
440
+ padding: 0 2px;
441
+ font-size: 12px;
442
+ transition: opacity 0.12s ease;
443
+ }
444
+ .logline:hover .copyline {
445
+ opacity: 0.55;
446
+ }
447
+ .logline .copyline:hover {
448
+ opacity: 1;
449
+ }
450
+ .term .warn {
451
+ color: var(--warn);
452
+ }
453
+ .term .err {
454
+ color: var(--bad);
455
+ }
456
+
457
+ /* live tail indicator + log toolbar */
458
+ .live {
459
+ display: inline-flex;
460
+ align-items: center;
461
+ gap: 6px;
462
+ font-size: 12px;
463
+ color: var(--muted);
464
+ white-space: nowrap;
465
+ }
466
+ .live-dot {
467
+ width: 7px;
468
+ height: 7px;
469
+ border-radius: 999px;
470
+ background: var(--ok);
471
+ animation: live-pulse 1.6s ease-in-out infinite;
472
+ }
473
+ @media (prefers-reduced-motion: reduce) {
474
+ .live-dot {
475
+ animation: none;
476
+ }
477
+ }
478
+ @keyframes live-pulse {
479
+ 0%,
480
+ 100% {
481
+ opacity: 1;
482
+ }
483
+ 50% {
484
+ opacity: 0.35;
485
+ }
486
+ }
487
+
488
+ /* spinner inside a status pill — mid-flight states (build in_progress, deploy creating/…) */
489
+ .spin {
490
+ display: inline-block;
491
+ width: 9px;
492
+ height: 9px;
493
+ margin-right: 5px;
494
+ vertical-align: -1px;
495
+ border: 1.5px solid currentColor;
496
+ border-right-color: transparent;
497
+ border-radius: 999px;
498
+ animation: spin 0.7s linear infinite;
499
+ }
500
+ @media (prefers-reduced-motion: reduce) {
501
+ .spin {
502
+ animation: none;
503
+ }
504
+ }
505
+ @keyframes spin {
506
+ to {
507
+ transform: rotate(360deg);
508
+ }
509
+ }
510
+ .toolbar {
511
+ display: flex;
512
+ align-items: center;
513
+ flex-wrap: wrap;
514
+ gap: 8px;
515
+ margin-top: 10px;
516
+ }
517
+
518
+ /* unified time-range picker — one button opens a panel of presets + a custom from/to */
519
+ .timerange {
520
+ position: relative;
521
+ }
522
+ /* Keep the toolbar's controls a single, shared height — the small time-range button would
523
+ otherwise sit shorter than the scope select and the filter input beside it. (Declared
524
+ after `.timerange` so specificity ascends.) */
525
+ .toolbar > select,
526
+ .toolbar > input,
527
+ .toolbar .timerange,
528
+ .toolbar .timerange > button {
529
+ height: 34px;
530
+ box-sizing: border-box;
531
+ }
532
+ .tr-panel {
533
+ position: absolute;
534
+ top: calc(100% + 6px);
535
+ left: 0;
536
+ z-index: 30;
537
+ min-width: 280px;
538
+ background: var(--card);
539
+ border: 1px solid var(--line);
540
+ border-radius: 10px;
541
+ padding: 10px;
542
+ box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
543
+ }
544
+ .tr-closed {
545
+ display: none;
546
+ }
547
+ .tr-presets {
548
+ display: grid;
549
+ grid-template-columns: 1fr 1fr;
550
+ gap: 4px;
551
+ }
552
+ .tr-preset {
553
+ text-align: left;
554
+ border: 1px solid transparent;
555
+ background: transparent;
556
+ color: var(--fg);
557
+ border-radius: 7px;
558
+ padding: 6px 9px;
559
+ font-size: 13px;
560
+ cursor: pointer;
561
+ }
562
+ .tr-preset:hover {
563
+ background: rgba(127, 127, 127, 0.1);
564
+ }
565
+ .tr-preset.on {
566
+ border-color: var(--accent);
567
+ color: var(--accent);
568
+ }
569
+ .tr-custom {
570
+ margin-top: 10px;
571
+ border-top: 1px solid var(--line);
572
+ padding-top: 10px;
573
+ }
574
+ .tr-field {
575
+ display: flex;
576
+ align-items: center;
577
+ gap: 8px;
578
+ margin-bottom: 6px;
579
+ }
580
+ .tr-field .sub {
581
+ width: 38px;
582
+ }
583
+ .tr-field input {
584
+ flex: 1;
585
+ }
586
+
587
+ /* domain-specific */
588
+ .scope-card {
589
+ border: 1px solid var(--line);
590
+ border-radius: 10px;
591
+ padding: 12px 14px;
592
+ margin-bottom: 10px;
593
+ }
594
+ .scope-card .row + .row {
595
+ margin-top: 8px;
596
+ }
597
+ .chip {
598
+ display: inline-flex;
599
+ align-items: center;
600
+ gap: 6px;
601
+ border: 1px solid var(--line);
602
+ border-radius: 999px;
603
+ padding: 3px 10px;
604
+ font-size: 12.5px;
605
+ }
606
+ .chip .live {
607
+ color: var(--ok);
608
+ font-weight: 600;
609
+ }
610
+ .chips {
611
+ display: flex;
612
+ gap: 6px;
613
+ flex-wrap: wrap;
614
+ }
615
+ .bar {
616
+ height: 8px;
617
+ border-radius: 6px;
618
+ background: var(--line);
619
+ overflow: hidden;
620
+ position: relative;
621
+ }
622
+ .bar .fill {
623
+ height: 100%;
624
+ background: var(--accent);
625
+ border-radius: 6px;
626
+ transition: width 0.6s ease;
627
+ }
628
+ .bar .ghost {
629
+ position: absolute;
630
+ inset: 0 auto 0 0;
631
+ height: 100%;
632
+ background: var(--accent);
633
+ opacity: 0.3;
634
+ border-radius: 6px;
635
+ transition: width 0.3s ease;
636
+ }
637
+ .traffic-nums {
638
+ display: flex;
639
+ justify-content: space-between;
640
+ font-size: 12px;
641
+ color: var(--muted);
642
+ margin-top: 5px;
643
+ }
644
+ .metric-card {
645
+ border: 1px solid var(--line);
646
+ border-radius: 10px;
647
+ padding: 10px 12px;
648
+ }
649
+ .metric-card .val {
650
+ font-size: 20px;
651
+ font-weight: 700;
652
+ margin: 2px 0 6px;
653
+ }
654
+ .metric-card .val small {
655
+ font-size: 12px;
656
+ font-weight: 500;
657
+ color: var(--muted);
658
+ }
659
+ .metric-card canvas {
660
+ width: 100%;
661
+ height: 44px;
662
+ display: block;
663
+ }
664
+ .list-row {
665
+ display: flex;
666
+ align-items: center;
667
+ gap: 12px;
668
+ width: 100%;
669
+ text-align: left;
670
+ padding: 11px 12px;
671
+ position: relative;
672
+ border: 1px solid transparent;
673
+ cursor: pointer;
674
+ border-radius: 8px;
675
+ transition: background 0.12s ease;
676
+ }
677
+ /* Separator between rows: a straight, inset hairline drawn as a positioned child, so the
678
+ row's corner radius can't bend it into hooks the way a single-sided border did. */
679
+ .list-row:not(:last-child)::after {
680
+ content: "";
681
+ position: absolute;
682
+ left: 12px;
683
+ right: 12px;
684
+ bottom: 0;
685
+ height: 1px;
686
+ background: var(--line);
687
+ }
688
+ .list-row:hover {
689
+ background: rgba(127, 127, 127, 0.1);
690
+ }
691
+ /* A hovered row reads as one solid rounded block: drop its own bottom divider AND the one above
692
+ it (`:has` targets the row immediately before the hovered one) so no hairline cuts the corners. */
693
+ .list-row:hover::after,
694
+ .list-row:has(+ .list-row:hover)::after {
695
+ opacity: 0;
696
+ }
697
+ .list-row .app-name {
698
+ font-weight: 600;
699
+ }
700
+ .list-row .app-repo {
701
+ margin-left: auto;
702
+ font-size: 12px;
703
+ color: var(--muted);
704
+ font-family: var(--font-mono, ui-monospace, Menlo, monospace);
705
+ white-space: nowrap;
706
+ overflow: hidden;
707
+ text-overflow: ellipsis;
708
+ max-width: 42%;
709
+ }
710
+ /* A fixed-ish pill slot so a column of status pills leaves the next column aligned whatever the
711
+ status text width — the build list starts each row with a pill. */
712
+ .list-row .pill-slot {
713
+ flex: none;
714
+ min-width: 96px;
715
+ display: flex;
716
+ align-items: center;
717
+ }
718
+ /* The build row's trailing column: timestamp over the muted "released as" line, right-aligned and
719
+ held from shrinking while the id/branch/description cell takes the slack and wraps. */
720
+ .list-row .build-side {
721
+ flex: none;
722
+ display: flex;
723
+ flex-direction: column;
724
+ align-items: flex-end;
725
+ gap: 2px;
726
+ text-align: right;
727
+ }
728
+ /* The build description under the detail header. */
729
+ .build-desc {
730
+ margin-top: 6px;
731
+ }
732
+ /* Steps primitive (ui/Steps) — a finite vertical workflow timeline: each step a glyph + label,
733
+ ✓ done / ✗ failed / spinner active. Shared by create-app; release/scope creation as they adopt it. */
734
+ .steps {
735
+ display: flex;
736
+ flex-direction: column;
737
+ gap: 1px;
738
+ margin: 14px 0 4px;
739
+ }
740
+ .step {
741
+ display: flex;
742
+ align-items: center;
743
+ gap: 10px;
744
+ padding: 5px 0;
745
+ font-size: 13px;
746
+ }
747
+ .step .step-ok {
748
+ color: var(--ok);
749
+ }
750
+ .step .step-bad {
751
+ color: var(--bad);
752
+ }
753
+ .step .spin {
754
+ color: var(--accent);
755
+ }
756
+ /* A centered empty state — a muted icon over a short line. */
757
+ .empty {
758
+ display: flex;
759
+ flex-direction: column;
760
+ align-items: center;
761
+ gap: 12px;
762
+ padding: 34px 16px 30px;
763
+ color: var(--muted);
764
+ text-align: center;
765
+ font-size: 13px;
766
+ }
767
+ .empty .icon {
768
+ opacity: 0.4;
769
+ }
770
+
771
+ /* status dot — compact, colored by lifecycle, for dense lists */
772
+ .sdot {
773
+ width: 8px;
774
+ height: 8px;
775
+ border-radius: 999px;
776
+ flex: none;
777
+ background: var(--muted);
778
+ }
779
+ .sdot.ok {
780
+ background: var(--ok);
781
+ }
782
+ .sdot.bad {
783
+ background: var(--bad);
784
+ }
785
+ .sdot.run {
786
+ background: var(--accent);
787
+ }
788
+ .sdot.wait {
789
+ background: var(--warn);
790
+ }
791
+
792
+ /* grouped list header (e.g. apps by namespace) */
793
+ .group-head {
794
+ display: flex;
795
+ align-items: baseline;
796
+ gap: 8px;
797
+ margin: 18px 2px 6px;
798
+ }
799
+ .group-head:first-child {
800
+ margin-top: 8px;
801
+ }
802
+ .group-head .gname {
803
+ font-weight: 650;
804
+ font-size: 12.5px;
805
+ }
806
+ .group-head .gcount {
807
+ color: var(--muted);
808
+ font-size: 11.5px;
809
+ }
810
+
811
+ /* list pagination */
812
+ .pager {
813
+ display: flex;
814
+ align-items: center;
815
+ justify-content: center;
816
+ gap: 14px;
817
+ margin-top: 14px;
818
+ }
819
+ .pager .sub {
820
+ min-width: 96px;
821
+ text-align: center;
822
+ }
823
+ .auto {
824
+ display: inline-flex;
825
+ align-items: center;
826
+ gap: 6px;
827
+ }
828
+
829
+ /* dimension chips (an execution environment's where: env, country, …) */
830
+ .dims {
831
+ display: inline-flex;
832
+ flex-wrap: wrap;
833
+ gap: 5px;
834
+ }
835
+ .dim {
836
+ font-size: 11.5px;
837
+ color: var(--muted);
838
+ border: 1px solid var(--line);
839
+ border-radius: 6px;
840
+ padding: 1px 7px;
841
+ white-space: nowrap;
842
+ }
843
+
844
+ /* skeleton loading — shimmer placeholders shown until the first tool result lands */
845
+ @keyframes skel-shimmer {
846
+ 0% {
847
+ background-position: 100% 0;
848
+ }
849
+ 100% {
850
+ background-position: 0 0;
851
+ }
852
+ }
853
+ .skel {
854
+ background: linear-gradient(90deg, var(--line) 25%, rgba(127, 127, 127, 0.22) 37%, var(--line) 63%);
855
+ background-size: 400% 100%;
856
+ animation: skel-shimmer 1.4s ease-in-out infinite;
857
+ border-radius: 6px;
858
+ flex: none;
859
+ }
860
+ @media (prefers-reduced-motion: reduce) {
861
+ .skel {
862
+ animation: none;
863
+ }
864
+ }
865
+ .skel-rows {
866
+ display: flex;
867
+ flex-direction: column;
868
+ gap: 12px;
869
+ margin-top: 16px;
870
+ }
871
+ .skel-row {
872
+ display: flex;
873
+ align-items: center;
874
+ gap: 12px;
875
+ }
876
+ .skel-grid {
877
+ display: grid;
878
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
879
+ gap: 10px;
880
+ margin-top: 14px;
881
+ }
882
+ .skel-card {
883
+ border: 1px solid var(--line);
884
+ border-radius: 10px;
885
+ padding: 12px 14px;
886
+ }
887
+
888
+ [hidden] {
889
+ display: none;
890
+ }
891
+
892
+ /* ---- parameters widget ---- */
893
+ textarea {
894
+ font: inherit;
895
+ font-size: 12.5px;
896
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
897
+ color: var(--fg);
898
+ background: transparent;
899
+ border: 1px solid var(--line);
900
+ border-radius: 8px;
901
+ padding: 7px 10px;
902
+ width: 100%;
903
+ resize: vertical;
904
+ }
905
+ /* one parameter: name/handle line, then its values as context chips (or the resolved value) */
906
+ .prow {
907
+ padding: 11px 0;
908
+ border-top: 1px solid var(--line);
909
+ }
910
+ .prow:first-child {
911
+ border-top: 0;
912
+ }
913
+ .pname {
914
+ display: flex;
915
+ align-items: baseline;
916
+ gap: 8px;
917
+ flex-wrap: wrap;
918
+ }
919
+ .pvar {
920
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
921
+ font-size: 13px;
922
+ }
923
+ .ptype,
924
+ .pro {
925
+ color: var(--muted);
926
+ font-size: 11px;
927
+ border: 1px solid var(--line);
928
+ border-radius: 5px;
929
+ padding: 0 5px;
930
+ }
931
+ .pdesc {
932
+ color: var(--muted);
933
+ font-size: 11.5px;
934
+ width: 100%;
935
+ }
936
+ .pchips {
937
+ display: flex;
938
+ flex-wrap: wrap;
939
+ gap: 6px;
940
+ margin-top: 8px;
941
+ }
942
+ /* a value as a context chip: muted context + mono value, click to edit */
943
+ .pchip {
944
+ display: inline-flex;
945
+ align-items: center;
946
+ gap: 7px;
947
+ border: 1px solid var(--line);
948
+ border-radius: 999px;
949
+ padding: 2px 10px;
950
+ font-size: 12px;
951
+ background: rgba(127, 127, 127, 0.08);
952
+ color: var(--fg);
953
+ font-family: inherit;
954
+ cursor: pointer;
955
+ }
956
+ .pchip:hover {
957
+ border-color: var(--accent);
958
+ }
959
+ .pchip .pctx {
960
+ color: var(--muted);
961
+ }
962
+ .pchip .pval {
963
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
964
+ display: inline-flex;
965
+ align-items: center;
966
+ gap: 4px;
967
+ }
968
+ .pchip.scope {
969
+ border-color: var(--accent);
970
+ }
971
+ .pchip.add {
972
+ color: var(--muted);
973
+ padding: 3px 9px;
974
+ }
975
+ /* the single effective value, in scope-resolved mode, with its winning source */
976
+ .presolved {
977
+ display: flex;
978
+ align-items: baseline;
979
+ gap: 10px;
980
+ margin-top: 8px;
981
+ }
982
+ .presolved .pval {
983
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
984
+ font-size: 13px;
985
+ display: inline-flex;
986
+ align-items: center;
987
+ gap: 4px;
988
+ }
989
+ .presolved .psource {
990
+ color: var(--muted);
991
+ font-size: 11.5px;
992
+ margin-left: auto;
993
+ display: inline-flex;
994
+ align-items: center;
995
+ gap: 4px;
996
+ }
997
+ .psub {
998
+ display: flex;
999
+ align-items: center;
1000
+ gap: 10px;
1001
+ margin-top: 7px;
1002
+ }
1003
+ /* add/edit value editor */
1004
+ .peditor {
1005
+ display: flex;
1006
+ flex-direction: column;
1007
+ margin-top: 8px;
1008
+ }
1009
+ .pfield {
1010
+ display: flex;
1011
+ flex-direction: column;
1012
+ gap: 4px;
1013
+ margin-bottom: 10px;
1014
+ }
1015
+ .ptarget {
1016
+ border: 1px solid var(--line);
1017
+ border-radius: 8px;
1018
+ padding: 8px 11px;
1019
+ }
1020
+ .popt {
1021
+ display: flex;
1022
+ align-items: center;
1023
+ gap: 8px;
1024
+ padding: 4px 0;
1025
+ font-size: 13px;
1026
+ }
1027
+ .popt-sub {
1028
+ display: flex;
1029
+ flex-wrap: wrap;
1030
+ gap: 8px;
1031
+ padding: 2px 0 6px 24px;
1032
+ }
1033
+ .ptarget-fixed {
1034
+ font-size: 13px;
1035
+ border: 1px solid var(--line);
1036
+ border-radius: 8px;
1037
+ padding: 7px 10px;
1038
+ color: var(--muted);
1039
+ }
1040
+ .pswitch {
1041
+ display: inline-flex;
1042
+ align-items: center;
1043
+ gap: 8px;
1044
+ font-size: 13px;
1045
+ margin-bottom: 6px;
1046
+ }
1047
+ </style></head><body><div id="root"></div><script>"use strict";(()=>{var _A=Object.create;var Vo=Object.defineProperty;var yA=Object.getOwnPropertyDescriptor;var bA=Object.getOwnPropertyNames;var xA=Object.getPrototypeOf,$A=Object.prototype.hasOwnProperty;var SA=(e,t,n)=>t in e?Vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Nt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var j=(e,t)=>()=>(e&&(t=e(e=0)),t);var p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$t=(e,t)=>{for(var n in t)Vo(e,n,{get:t[n],enumerable:!0})},kA=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of bA(t))!$A.call(e,r)&&r!==n&&Vo(e,r,{get:()=>t[r],enumerable:!(o=yA(t,r))||o.enumerable});return e};var ue=(e,t,n)=>(n=e!=null?_A(xA(e)):{},kA(t||!e||!e.__esModule?Vo(n,"default",{value:e,enumerable:!0}):n,e));var J=(e,t,n)=>SA(e,typeof t!="symbol"?t+"":t,n);function _(e,t,n){function o(s,u){var l;Object.defineProperty(s,"_zod",{value:s._zod??{},enumerable:!1}),(l=s._zod).traits??(l.traits=new Set),s._zod.traits.add(e),t(s,u);for(let m in a.prototype)m in s||Object.defineProperty(s,m,{value:a.prototype[m].bind(s)});s._zod.constr=a,s._zod.def=u}let r=n?.Parent??Object;class i extends r{}Object.defineProperty(i,"name",{value:e});function a(s){var u;let l=n?.Parent?new i:this;o(l,s),(u=l._zod).deferred??(u.deferred=[]);for(let m of l._zod.deferred)m();return l}return Object.defineProperty(a,"init",{value:o}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}function fe(e){return e&&Object.assign(Sn,e),Sn}var ri,ni,ot,Sn,cr=j(()=>{ri=Object.freeze({status:"aborted"});ni=Symbol("zod_brand"),ot=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Sn={}});var P={};$t(P,{BIGINT_FORMAT_RANGES:()=>Iu,Class:()=>yu,NUMBER_FORMAT_RANGES:()=>zu,aborted:()=>Lt,allowsEval:()=>Su,assert:()=>lO,assertEqual:()=>aO,assertIs:()=>uO,assertNever:()=>cO,assertNotEqual:()=>sO,assignProp:()=>$u,cached:()=>zn,captureStackTrace:()=>oi,cleanEnum:()=>SO,cleanRegex:()=>In,clone:()=>De,createTransparentProxy:()=>hO,defineLazy:()=>G,esc:()=>Ut,escapeRegex:()=>gt,extend:()=>yO,finalizeIssue:()=>Fe,floatSafeRemainder:()=>xu,getElementAtPath:()=>pO,getEnumValues:()=>wn,getLengthableOrigin:()=>An,getParsedType:()=>gO,getSizableOrigin:()=>Tn,isObject:()=>lr,isPlainObject:()=>pr,issue:()=>Pu,joinValues:()=>S,jsonStringifyReplacer:()=>bu,merge:()=>bO,normalizeParams:()=>w,nullish:()=>wt,numKeys:()=>fO,omit:()=>_O,optionalKeys:()=>wu,partial:()=>xO,pick:()=>vO,prefixIssues:()=>qe,primitiveTypes:()=>ku,promiseAllObject:()=>dO,propertyKeyTypes:()=>Pn,randomString:()=>mO,required:()=>$O,stringifyPrimitive:()=>I,unwrapMessage:()=>kn});function aO(e){return e}function sO(e){return e}function uO(e){}function cO(e){throw new Error}function lO(e){}function wn(e){let t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,r])=>t.indexOf(+o)===-1).map(([o,r])=>r)}function S(e,t="|"){return e.map(n=>I(n)).join(t)}function bu(e,t){return typeof t=="bigint"?t.toString():t}function zn(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function wt(e){return e==null}function In(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function xu(e,t){let n=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,r=n>o?n:o,i=Number.parseInt(e.toFixed(r).replace(".","")),a=Number.parseInt(t.toFixed(r).replace(".",""));return i%a/10**r}function G(e,t,n){Object.defineProperty(e,t,{get(){{let r=n();return e[t]=r,r}throw new Error("cached value already set")},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function $u(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function pO(e,t){return t?t.reduce((n,o)=>n?.[o],e):e}function dO(e){let t=Object.keys(e),n=t.map(o=>e[o]);return Promise.all(n).then(o=>{let r={};for(let i=0;i<t.length;i++)r[t[i]]=o[i];return r})}function mO(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let o=0;o<e;o++)n+=t[Math.floor(Math.random()*t.length)];return n}function Ut(e){return JSON.stringify(e)}function lr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function pr(e){if(lr(e)===!1)return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(lr(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function fO(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function gt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function De(e,t,n){let o=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(o._zod.parent=e),o}function w(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function hO(e){let t;return new Proxy({},{get(n,o,r){return t??(t=e()),Reflect.get(t,o,r)},set(n,o,r,i){return t??(t=e()),Reflect.set(t,o,r,i)},has(n,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(n,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(n,o,r){return t??(t=e()),Reflect.defineProperty(t,o,r)}})}function I(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function wu(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}function vO(e,t){let n={},o=e._zod.def;for(let r in t){if(!(r in o.shape))throw new Error(`Unrecognized key: "${r}"`);t[r]&&(n[r]=o.shape[r])}return De(e,{...e._zod.def,shape:n,checks:[]})}function _O(e,t){let n={...e._zod.def.shape},o=e._zod.def;for(let r in t){if(!(r in o.shape))throw new Error(`Unrecognized key: "${r}"`);t[r]&&delete n[r]}return De(e,{...e._zod.def,shape:n,checks:[]})}function yO(e,t){if(!pr(t))throw new Error("Invalid input to extend: expected a plain object");let n={...e._zod.def,get shape(){let o={...e._zod.def.shape,...t};return $u(this,"shape",o),o},checks:[]};return De(e,n)}function bO(e,t){return De(e,{...e._zod.def,get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return $u(this,"shape",n),n},catchall:t._zod.def.catchall,checks:[]})}function xO(e,t,n){let o=t._zod.def.shape,r={...o};if(n)for(let i in n){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);n[i]&&(r[i]=e?new e({type:"optional",innerType:o[i]}):o[i])}else for(let i in o)r[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return De(t,{...t._zod.def,shape:r,checks:[]})}function $O(e,t,n){let o=t._zod.def.shape,r={...o};if(n)for(let i in n){if(!(i in r))throw new Error(`Unrecognized key: "${i}"`);n[i]&&(r[i]=new e({type:"nonoptional",innerType:o[i]}))}else for(let i in o)r[i]=new e({type:"nonoptional",innerType:o[i]});return De(t,{...t._zod.def,shape:r,checks:[]})}function Lt(e,t=0){for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function qe(e,t){return t.map(n=>{var o;return(o=n).path??(o.path=[]),n.path.unshift(e),n})}function kn(e){return typeof e=="string"?e:e?.message}function Fe(e,t,n){let o={...e,path:e.path??[]};if(!e.message){let r=kn(e.inst?._zod.def?.error?.(e))??kn(t?.error?.(e))??kn(n.customError?.(e))??kn(n.localeError?.(e))??"Invalid input";o.message=r}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function Tn(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function An(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Pu(...e){let[t,n,o]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:o}:{...t}}function SO(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var oi,Su,gO,Pn,ku,zu,Iu,yu,N=j(()=>{oi=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};Su=zn(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});gO=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},Pn=new Set(["string","number","symbol"]),ku=new Set(["string","number","bigint","boolean","symbol","undefined"]);zu={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Iu={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};yu=class{constructor(...t){}}});function mr(e,t=n=>n.message){let n={},o=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):o.push(t(r));return{formErrors:o,fieldErrors:n}}function fr(e,t){let n=t||function(i){return i.message},o={_errors:[]},r=i=>{for(let a of i.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(s=>r({issues:s}));else if(a.code==="invalid_key")r({issues:a.issues});else if(a.code==="invalid_element")r({issues:a.issues});else if(a.path.length===0)o._errors.push(n(a));else{let s=o,u=0;for(;u<a.path.length;){let l=a.path[u];u===a.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(n(a))):s[l]=s[l]||{_errors:[]},s=s[l],u++}}};return r(e),o}function ii(e,t){let n=t||function(i){return i.message},o={errors:[]},r=(i,a=[])=>{var s,u;for(let l of i.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(m=>r({issues:m},l.path));else if(l.code==="invalid_key")r({issues:l.issues},l.path);else if(l.code==="invalid_element")r({issues:l.issues},l.path);else{let m=[...a,...l.path];if(m.length===0){o.errors.push(n(l));continue}let c=o,g=0;for(;g<m.length;){let v=m[g],f=g===m.length-1;typeof v=="string"?(c.properties??(c.properties={}),(s=c.properties)[v]??(s[v]={errors:[]}),c=c.properties[v]):(c.items??(c.items=[]),(u=c.items)[v]??(u[v]={errors:[]}),c=c.items[v]),f&&c.errors.push(n(l)),g++}}};return r(e),o}function Fg(e){let t=[];for(let n of e)typeof n=="number"?t.push(`[${n}]`):typeof n=="symbol"?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function ai(e){let t=[],n=[...e.issues].sort((o,r)=>o.path.length-r.path.length);for(let o of n)t.push(`\u2716 ${o.message}`),o.path?.length&&t.push(` \u2192 at ${Fg(o.path)}`);return t.join(`
1048
+ `)}var Wg,On,dr,Tu=j(()=>{cr();N();Wg=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,bu,2)},enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},On=_("$ZodError",Wg),dr=_("$ZodError",Wg,{Parent:Error})});var si,jn,ui,Cn,ci,gr,li,En,pi=j(()=>{cr();Tu();N();si=e=>(t,n,o,r)=>{let i=o?Object.assign(o,{async:!1}):{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new ot;if(a.issues.length){let s=new(r?.Err??e)(a.issues.map(u=>Fe(u,i,fe())));throw oi(s,r?.callee),s}return a.value},jn=si(dr),ui=e=>async(t,n,o,r)=>{let i=o?Object.assign(o,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(r?.Err??e)(a.issues.map(u=>Fe(u,i,fe())));throw oi(s,r?.callee),s}return a.value},Cn=ui(dr),ci=e=>(t,n,o)=>{let r=o?{...o,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},r);if(i instanceof Promise)throw new ot;return i.issues.length?{success:!1,error:new(e??On)(i.issues.map(a=>Fe(a,r,fe())))}:{success:!0,data:i.value}},gr=ci(dr),li=e=>async(t,n,o)=>{let r=o?Object.assign(o,{async:!0}):{async:!0},i=t._zod.run({value:n,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(a=>Fe(a,r,fe())))}:{success:!0,data:i.value}},En=li(dr)});var zt={};$t(zt,{_emoji:()=>Hg,base64:()=>Fu,base64url:()=>di,bigint:()=>Yu,boolean:()=>ec,browserEmail:()=>jO,cidrv4:()=>Zu,cidrv6:()=>Wu,cuid:()=>Au,cuid2:()=>Ou,date:()=>Bu,datetime:()=>Ju,domain:()=>CO,duration:()=>Nu,e164:()=>Vu,email:()=>qu,emoji:()=>Uu,extendedDuration:()=>wO,guid:()=>Du,hostname:()=>Hu,html5Email:()=>TO,integer:()=>Qu,ipv4:()=>Lu,ipv6:()=>Mu,ksuid:()=>Eu,lowercase:()=>nc,nanoid:()=>Ru,null:()=>tc,number:()=>Xu,rfc5322Email:()=>AO,string:()=>Ku,time:()=>Gu,ulid:()=>ju,undefined:()=>rc,unicodeEmail:()=>OO,uppercase:()=>oc,uuid:()=>Mt,uuid4:()=>zO,uuid6:()=>IO,uuid7:()=>PO,xid:()=>Cu});function Uu(){return new RegExp(Hg,"u")}function Bg(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Gu(e){return new RegExp(`^${Bg(e)}$`)}function Ju(e){let t=Bg({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-]\\d{2}:\\d{2})");let o=`${t}(?:${n.join("|")})`;return new RegExp(`^${Vg}T(?:${o})$`)}var Au,Ou,ju,Cu,Eu,Ru,Nu,wO,Du,Mt,zO,IO,PO,qu,TO,AO,OO,jO,Hg,Lu,Mu,Zu,Wu,Fu,di,Hu,CO,Vu,Vg,Bu,Ku,Yu,Qu,Xu,ec,tc,rc,nc,oc,mi=j(()=>{Au=/^[cC][^\s-]{8,}$/,Ou=/^[0-9a-z]+$/,ju=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Cu=/^[0-9a-vA-V]{20}$/,Eu=/^[A-Za-z0-9]{27}$/,Ru=/^[a-zA-Z0-9_-]{21}$/,Nu=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,wO=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Du=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Mt=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,zO=Mt(4),IO=Mt(6),PO=Mt(7),qu=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,TO=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,AO=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,OO=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,jO=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Hg="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";Lu=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Mu=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,Zu=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Wu=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Fu=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,di=/^[A-Za-z0-9_-]*$/,Hu=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,CO=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Vu=/^\+(?:[0-9]){6,14}[0-9]$/,Vg="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Bu=new RegExp(`^${Vg}$`);Ku=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Yu=/^\d+n?$/,Qu=/^\d+$/,Xu=/^-?\d+(?:\.\d+)?/i,ec=/true|false/i,tc=/null/i,rc=/undefined/i,nc=/^[^A-Z]*$/,oc=/^[^a-z]*$/});function Gg(e,t,n){e.issues.length&&t.issues.push(...qe(n,e.issues))}var de,Jg,fi,gi,ic,ac,sc,uc,cc,lc,pc,dc,mc,hr,fc,gc,hc,vc,_c,yc,bc,xc,$c,hi=j(()=>{cr();mi();N();de=_("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Jg={number:"number",bigint:"bigint",object:"date"},fi=_("$ZodCheckLessThan",(e,t)=>{de.init(e,t);let n=Jg[typeof t.value];e._zod.onattach.push(o=>{let r=o._zod.bag,i=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:n,code:"too_big",maximum:t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),gi=_("$ZodCheckGreaterThan",(e,t)=>{de.init(e,t);let n=Jg[typeof t.value];e._zod.onattach.push(o=>{let r=o._zod.bag,i=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:n,code:"too_small",minimum:t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ic=_("$ZodCheckMultipleOf",(e,t)=>{de.init(e,t),e._zod.onattach.push(n=>{var o;(o=n._zod.bag).multipleOf??(o.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):xu(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),ac=_("$ZodCheckNumberFormat",(e,t)=>{de.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),o=n?"int":"number",[r,i]=zu[t.format];e._zod.onattach.push(a=>{let s=a._zod.bag;s.format=t.format,s.minimum=r,s.maximum=i,n&&(s.pattern=Qu)}),e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:o,format:t.format,code:"invalid_type",input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,continue:!t.abort});return}}s<r&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inst:e})}}),sc=_("$ZodCheckBigIntFormat",(e,t)=>{de.init(e,t);let[n,o]=Iu[t.format];e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,i.minimum=n,i.maximum=o}),e._zod.check=r=>{let i=r.value;i<n&&r.issues.push({origin:"bigint",input:i,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),i>o&&r.issues.push({origin:"bigint",input:i,code:"too_big",maximum:o,inst:e})}}),uc=_("$ZodCheckMaxSize",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!wt(r)&&r.size!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(o._zod.bag.maximum=t.maximum)}),e._zod.check=o=>{let r=o.value;r.size<=t.maximum||o.issues.push({origin:Tn(r),code:"too_big",maximum:t.maximum,input:r,inst:e,continue:!t.abort})}}),cc=_("$ZodCheckMinSize",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!wt(r)&&r.size!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(o._zod.bag.minimum=t.minimum)}),e._zod.check=o=>{let r=o.value;r.size>=t.minimum||o.issues.push({origin:Tn(r),code:"too_small",minimum:t.minimum,input:r,inst:e,continue:!t.abort})}}),lc=_("$ZodCheckSizeEquals",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!wt(r)&&r.size!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=o=>{let r=o.value,i=r.size;if(i===t.size)return;let a=i>t.size;o.issues.push({origin:Tn(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),pc=_("$ZodCheckMaxLength",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!wt(r)&&r.length!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(o._zod.bag.maximum=t.maximum)}),e._zod.check=o=>{let r=o.value;if(r.length<=t.maximum)return;let a=An(r);o.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),dc=_("$ZodCheckMinLength",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!wt(r)&&r.length!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(o._zod.bag.minimum=t.minimum)}),e._zod.check=o=>{let r=o.value;if(r.length>=t.minimum)return;let a=An(r);o.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),mc=_("$ZodCheckLengthEquals",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!wt(r)&&r.length!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=o=>{let r=o.value,i=r.length;if(i===t.length)return;let a=An(r),s=i>t.length;o.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),hr=_("$ZodCheckStringFormat",(e,t)=>{var n,o;de.init(e,t),e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(o=e._zod).check??(o.check=()=>{})}),fc=_("$ZodCheckRegex",(e,t)=>{hr.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),gc=_("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=nc),hr.init(e,t)}),hc=_("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=oc),hr.init(e,t)}),vc=_("$ZodCheckIncludes",(e,t)=>{de.init(e,t);let n=gt(t.includes),o=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=o,e._zod.onattach.push(r=>{let i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(o)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),_c=_("$ZodCheckStartsWith",(e,t)=>{de.init(e,t);let n=new RegExp(`^${gt(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(o=>{let r=o._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),yc=_("$ZodCheckEndsWith",(e,t)=>{de.init(e,t);let n=new RegExp(`.*${gt(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(o=>{let r=o._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}});bc=_("$ZodCheckProperty",(e,t)=>{de.init(e,t),e._zod.check=n=>{let o=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(o instanceof Promise)return o.then(r=>Gg(r,n,t.property));Gg(o,n,t.property)}}),xc=_("$ZodCheckMimeType",(e,t)=>{de.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(o=>{o._zod.bag.mime=t.mime}),e._zod.check=o=>{n.has(o.value.type)||o.issues.push({code:"invalid_value",values:t.mime,input:o.value.type,inst:e})}}),$c=_("$ZodCheckOverwrite",(e,t)=>{de.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}})});var Rn,Sc=j(()=>{Rn=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let o=t.split(`
1049
+ `).filter(a=>a),r=Math.min(...o.map(a=>a.length-a.trimStart().length)),i=o.map(a=>a.slice(r)).map(a=>" ".repeat(this.indent*2)+a);for(let a of i)this.content.push(a)}compile(){let t=Function,n=this?.args,r=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...n,r.join(`
1050
+ `))}}});var kc,wc=j(()=>{kc={major:4,minor:0,patch:0}});function Vc(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}function uh(e){if(!di.test(e))return!1;let t=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return Vc(n)}function ch(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[o]=n;if(!o)return!1;let r=JSON.parse(atob(o));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}function Yg(e,t,n){e.issues.length&&t.issues.push(...qe(n,e.issues)),t.value[n]=e.value}function vi(e,t,n){e.issues.length&&t.issues.push(...qe(n,e.issues)),t.value[n]=e.value}function Qg(e,t,n,o){e.issues.length?o[n]===void 0?n in o?t.value[n]=void 0:t.value[n]=e.value:t.issues.push(...qe(n,e.issues)):e.value===void 0?n in o&&(t.value[n]=void 0):t.value[n]=e.value}function Xg(e,t,n,o){for(let r of e)if(r.issues.length===0)return t.value=r.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(r=>r.issues.map(i=>Fe(i,o,fe())))}),t}function zc(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(pr(e)&&pr(t)){let n=Object.keys(t),o=Object.keys(e).filter(i=>n.indexOf(i)!==-1),r={...e,...t};for(let i of o){let a=zc(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r[i]=a.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let o=0;o<e.length;o++){let r=e[o],i=t[o],a=zc(r,i);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function eh(e,t,n){if(t.issues.length&&e.issues.push(...t.issues),n.issues.length&&e.issues.push(...n.issues),Lt(e))return e;let o=zc(t.value,n.value);if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}function _i(e,t,n){e.issues.length&&t.issues.push(...qe(n,e.issues)),t.value[n]=e.value}function th(e,t,n,o,r,i,a){e.issues.length&&(Pn.has(typeof o)?n.issues.push(...qe(o,e.issues)):n.issues.push({origin:"map",code:"invalid_key",input:r,inst:i,issues:e.issues.map(s=>Fe(s,a,fe()))})),t.issues.length&&(Pn.has(typeof o)?n.issues.push(...qe(o,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:i,key:o,issues:t.issues.map(s=>Fe(s,a,fe()))})),n.value.set(e.value,t.value)}function rh(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function nh(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function oh(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function ih(e,t,n){return Lt(e)?e:t.out._zod.run({value:e.value,issues:e.issues},n)}function ah(e){return e.value=Object.freeze(e.value),e}function sh(e,t,n,o){if(!e){let r={code:"custom",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(r.params=o._zod.def.params),t.issues.push(Pu(r))}}var q,Zt,ne,Ic,Pc,Tc,Ac,Oc,jc,Cc,Ec,Rc,Nc,Dc,qc,Uc,Lc,Mc,Zc,Wc,Fc,Hc,Bc,Gc,Jc,Kc,Yc,yi,Qc,Nn,bi,Xc,el,tl,rl,nl,vr,ol,il,al,Dn,sl,xi,ul,cl,Wt,ll,pl,dl,ml,fl,gl,qn,hl,vl,_l,yl,bl,xl,$l,Sl,Un,kl,wl,zl,Il,Pl,Ln=j(()=>{hi();cr();Sc();pi();mi();N();wc();N();q=_("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=kc;let o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(let r of o)for(let i of r._zod.onattach)i(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(i,a,s)=>{let u=Lt(i),l;for(let m of a){if(m._zod.def.when){if(!m._zod.def.when(i))continue}else if(u)continue;let c=i.issues.length,g=m._zod.check(i);if(g instanceof Promise&&s?.async===!1)throw new ot;if(l||g instanceof Promise)l=(l??Promise.resolve()).then(async()=>{await g,i.issues.length!==c&&(u||(u=Lt(i,c)))});else{if(i.issues.length===c)continue;u||(u=Lt(i,c))}}return l?l.then(()=>i):i};e._zod.run=(i,a)=>{let s=e._zod.parse(i,a);if(s instanceof Promise){if(a.async===!1)throw new ot;return s.then(u=>r(u,o,a))}return r(s,o,a)}}e["~standard"]={validate:r=>{try{let i=gr(e,r);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return En(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}}),Zt=_("$ZodString",(e,t)=>{q.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Ku(e._zod.bag),e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),ne=_("$ZodStringFormat",(e,t)=>{hr.init(e,t),Zt.init(e,t)}),Ic=_("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Du),ne.init(e,t)}),Pc=_("$ZodUUID",(e,t)=>{if(t.version){let o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Mt(o))}else t.pattern??(t.pattern=Mt());ne.init(e,t)}),Tc=_("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=qu),ne.init(e,t)}),Ac=_("$ZodURL",(e,t)=>{ne.init(e,t),e._zod.check=n=>{try{let o=n.value,r=new URL(o),i=r.href;t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Hu.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),!o.endsWith("/")&&i.endsWith("/")?n.value=i.slice(0,-1):n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Oc=_("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Uu()),ne.init(e,t)}),jc=_("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Ru),ne.init(e,t)}),Cc=_("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Au),ne.init(e,t)}),Ec=_("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Ou),ne.init(e,t)}),Rc=_("$ZodULID",(e,t)=>{t.pattern??(t.pattern=ju),ne.init(e,t)}),Nc=_("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Cu),ne.init(e,t)}),Dc=_("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Eu),ne.init(e,t)}),qc=_("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Ju(t)),ne.init(e,t)}),Uc=_("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Bu),ne.init(e,t)}),Lc=_("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Gu(t)),ne.init(e,t)}),Mc=_("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Nu),ne.init(e,t)}),Zc=_("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Lu),ne.init(e,t),e._zod.onattach.push(n=>{let o=n._zod.bag;o.format="ipv4"})}),Wc=_("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Mu),ne.init(e,t),e._zod.onattach.push(n=>{let o=n._zod.bag;o.format="ipv6"}),e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),Fc=_("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Zu),ne.init(e,t)}),Hc=_("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Wu),ne.init(e,t),e._zod.check=n=>{let[o,r]=n.value.split("/");try{if(!r)throw new Error;let i=Number(r);if(`${i}`!==r)throw new Error;if(i<0||i>128)throw new Error;new URL(`http://[${o}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});Bc=_("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Fu),ne.init(e,t),e._zod.onattach.push(n=>{n._zod.bag.contentEncoding="base64"}),e._zod.check=n=>{Vc(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});Gc=_("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=di),ne.init(e,t),e._zod.onattach.push(n=>{n._zod.bag.contentEncoding="base64url"}),e._zod.check=n=>{uh(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Jc=_("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Vu),ne.init(e,t)});Kc=_("$ZodJWT",(e,t)=>{ne.init(e,t),e._zod.check=n=>{ch(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),Yc=_("$ZodCustomStringFormat",(e,t)=>{ne.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),yi=_("$ZodNumber",(e,t)=>{q.init(e,t),e._zod.pattern=e._zod.bag.pattern??Xu,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let i=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...i?{received:i}:{}}),n}}),Qc=_("$ZodNumber",(e,t)=>{ac.init(e,t),yi.init(e,t)}),Nn=_("$ZodBoolean",(e,t)=>{q.init(e,t),e._zod.pattern=ec,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),bi=_("$ZodBigInt",(e,t)=>{q.init(e,t),e._zod.pattern=Yu,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),Xc=_("$ZodBigInt",(e,t)=>{sc.init(e,t),bi.init(e,t)}),el=_("$ZodSymbol",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),tl=_("$ZodUndefined",(e,t)=>{q.init(e,t),e._zod.pattern=rc,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,o)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),rl=_("$ZodNull",(e,t)=>{q.init(e,t),e._zod.pattern=tc,e._zod.values=new Set([null]),e._zod.parse=(n,o)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),nl=_("$ZodAny",(e,t)=>{q.init(e,t),e._zod.parse=n=>n}),vr=_("$ZodUnknown",(e,t)=>{q.init(e,t),e._zod.parse=n=>n}),ol=_("$ZodNever",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),il=_("$ZodVoid",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),al=_("$ZodDate",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,i=r instanceof Date;return i&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...i?{received:"Invalid Date"}:{},inst:e}),n}});Dn=_("$ZodArray",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let i=[];for(let a=0;a<r.length;a++){let s=r[a],u=t.element._zod.run({value:s,issues:[]},o);u instanceof Promise?i.push(u.then(l=>Yg(l,n,a))):Yg(u,n,a)}return i.length?Promise.all(i).then(()=>n):n}});sl=_("$ZodObject",(e,t)=>{q.init(e,t);let n=zn(()=>{let c=Object.keys(t.shape);for(let v of c)if(!(t.shape[v]instanceof q))throw new Error(`Invalid element at key "${v}": expected a Zod schema`);let g=wu(t.shape);return{shape:t.shape,keys:c,keySet:new Set(c),numKeys:c.length,optionalKeys:new Set(g)}});G(e._zod,"propValues",()=>{let c=t.shape,g={};for(let v in c){let f=c[v]._zod;if(f.values){g[v]??(g[v]=new Set);for(let x of f.values)g[v].add(x)}}return g});let o=c=>{let g=new Rn(["shape","payload","ctx"]),v=n.value,f=$=>{let z=Ut($);return`shape[${z}]._zod.run({ value: input[${z}], issues: [] }, ctx)`};g.write("const input = payload.value;");let x=Object.create(null),b=0;for(let $ of v.keys)x[$]=`key_${b++}`;g.write("const newResult = {}");for(let $ of v.keys)if(v.optionalKeys.has($)){let z=x[$];g.write(`const ${z} = ${f($)};`);let T=Ut($);g.write(`
1051
+ if (${z}.issues.length) {
1052
+ if (input[${T}] === undefined) {
1053
+ if (${T} in input) {
1054
+ newResult[${T}] = undefined;
1055
+ }
1056
+ } else {
1057
+ payload.issues = payload.issues.concat(
1058
+ ${z}.issues.map((iss) => ({
1059
+ ...iss,
1060
+ path: iss.path ? [${T}, ...iss.path] : [${T}],
1061
+ }))
1062
+ );
1063
+ }
1064
+ } else if (${z}.value === undefined) {
1065
+ if (${T} in input) newResult[${T}] = undefined;
1066
+ } else {
1067
+ newResult[${T}] = ${z}.value;
1068
+ }
1069
+ `)}else{let z=x[$];g.write(`const ${z} = ${f($)};`),g.write(`
1070
+ if (${z}.issues.length) payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
1071
+ ...iss,
1072
+ path: iss.path ? [${Ut($)}, ...iss.path] : [${Ut($)}]
1073
+ })));`),g.write(`newResult[${Ut($)}] = ${z}.value`)}g.write("payload.value = newResult;"),g.write("return payload;");let k=g.compile();return($,z)=>k(c,$,z)},r,i=lr,a=!Sn.jitless,u=a&&Su.value,l=t.catchall,m;e._zod.parse=(c,g)=>{m??(m=n.value);let v=c.value;if(!i(v))return c.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),c;let f=[];if(a&&u&&g?.async===!1&&g.jitless!==!0)r||(r=o(t.shape)),c=r(c,g);else{c.value={};let z=m.shape;for(let T of m.keys){let U=z[T],M=U._zod.run({value:v[T],issues:[]},g),ee=U._zod.optin==="optional"&&U._zod.optout==="optional";M instanceof Promise?f.push(M.then(te=>ee?Qg(te,c,T,v):vi(te,c,T))):ee?Qg(M,c,T,v):vi(M,c,T)}}if(!l)return f.length?Promise.all(f).then(()=>c):c;let x=[],b=m.keySet,k=l._zod,$=k.def.type;for(let z of Object.keys(v)){if(b.has(z))continue;if($==="never"){x.push(z);continue}let T=k.run({value:v[z],issues:[]},g);T instanceof Promise?f.push(T.then(U=>vi(U,c,z))):vi(T,c,z)}return x.length&&c.issues.push({code:"unrecognized_keys",keys:x,input:v,inst:e}),f.length?Promise.all(f).then(()=>c):c}});xi=_("$ZodUnion",(e,t)=>{q.init(e,t),G(e._zod,"optin",()=>t.options.some(n=>n._zod.optin==="optional")?"optional":void 0),G(e._zod,"optout",()=>t.options.some(n=>n._zod.optout==="optional")?"optional":void 0),G(e._zod,"values",()=>{if(t.options.every(n=>n._zod.values))return new Set(t.options.flatMap(n=>Array.from(n._zod.values)))}),G(e._zod,"pattern",()=>{if(t.options.every(n=>n._zod.pattern)){let n=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${n.map(o=>In(o.source)).join("|")})$`)}}),e._zod.parse=(n,o)=>{let r=!1,i=[];for(let a of t.options){let s=a._zod.run({value:n.value,issues:[]},o);if(s instanceof Promise)i.push(s),r=!0;else{if(s.issues.length===0)return s;i.push(s)}}return r?Promise.all(i).then(a=>Xg(a,n,e,o)):Xg(i,n,e,o)}}),ul=_("$ZodDiscriminatedUnion",(e,t)=>{xi.init(e,t);let n=e._zod.parse;G(e._zod,"propValues",()=>{let r={};for(let i of t.options){let a=i._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(let[s,u]of Object.entries(a)){r[s]||(r[s]=new Set);for(let l of u)r[s].add(l)}}return r});let o=zn(()=>{let r=t.options,i=new Map;for(let a of r){let s=a._zod.propValues[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let u of s){if(i.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);i.set(u,a)}}return i});e._zod.parse=(r,i)=>{let a=r.value;if(!lr(a))return r.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),r;let s=o.value.get(a?.[t.discriminator]);return s?s._zod.run(r,i):t.unionFallback?n(r,i):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:a,path:[t.discriminator],inst:e}),r)}}),cl=_("$ZodIntersection",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value,i=t.left._zod.run({value:r,issues:[]},o),a=t.right._zod.run({value:r,issues:[]},o);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([u,l])=>eh(n,u,l)):eh(n,i,a)}});Wt=_("$ZodTuple",(e,t)=>{q.init(e,t);let n=t.items,o=n.length-[...n].reverse().findIndex(r=>r._zod.optin!=="optional");e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];let s=[];if(!t.rest){let l=a.length>n.length,m=a.length<o-1;if(l||m)return r.issues.push({input:a,inst:e,origin:"array",...l?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length}}),r}let u=-1;for(let l of n){if(u++,u>=a.length&&u>=o)continue;let m=l._zod.run({value:a[u],issues:[]},i);m instanceof Promise?s.push(m.then(c=>_i(c,r,u))):_i(m,r,u)}if(t.rest){let l=a.slice(n.length);for(let m of l){u++;let c=t.rest._zod.run({value:m,issues:[]},i);c instanceof Promise?s.push(c.then(g=>_i(g,r,u))):_i(c,r,u)}}return s.length?Promise.all(s).then(()=>r):r}});ll=_("$ZodRecord",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!pr(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let i=[];if(t.keyType._zod.values){let a=t.keyType._zod.values;n.value={};for(let u of a)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){let l=t.valueType._zod.run({value:r[u],issues:[]},o);l instanceof Promise?i.push(l.then(m=>{m.issues.length&&n.issues.push(...qe(u,m.issues)),n.value[u]=m.value})):(l.issues.length&&n.issues.push(...qe(u,l.issues)),n.value[u]=l.value)}let s;for(let u in r)a.has(u)||(s=s??[],s.push(u));s&&s.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:s})}else{n.value={};for(let a of Reflect.ownKeys(r)){if(a==="__proto__")continue;let s=t.keyType._zod.run({value:a,issues:[]},o);if(s instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(s.issues.length){n.issues.push({origin:"record",code:"invalid_key",issues:s.issues.map(l=>Fe(l,o,fe())),input:a,path:[a],inst:e}),n.value[s.value]=s.value;continue}let u=t.valueType._zod.run({value:r[a],issues:[]},o);u instanceof Promise?i.push(u.then(l=>{l.issues.length&&n.issues.push(...qe(a,l.issues)),n.value[s.value]=l.value})):(u.issues.length&&n.issues.push(...qe(a,u.issues)),n.value[s.value]=u.value)}}return i.length?Promise.all(i).then(()=>n):n}}),pl=_("$ZodMap",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let i=[];n.value=new Map;for(let[a,s]of r){let u=t.keyType._zod.run({value:a,issues:[]},o),l=t.valueType._zod.run({value:s,issues:[]},o);u instanceof Promise||l instanceof Promise?i.push(Promise.all([u,l]).then(([m,c])=>{th(m,c,n,a,r,e,o)})):th(u,l,n,a,r,e,o)}return i.length?Promise.all(i).then(()=>n):n}});dl=_("$ZodSet",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let i=[];n.value=new Set;for(let a of r){let s=t.valueType._zod.run({value:a,issues:[]},o);s instanceof Promise?i.push(s.then(u=>rh(u,n))):rh(s,n)}return i.length?Promise.all(i).then(()=>n):n}});ml=_("$ZodEnum",(e,t)=>{q.init(e,t);let n=wn(t.entries);e._zod.values=new Set(n),e._zod.pattern=new RegExp(`^(${n.filter(o=>Pn.has(typeof o)).map(o=>typeof o=="string"?gt(o):o.toString()).join("|")})$`),e._zod.parse=(o,r)=>{let i=o.value;return e._zod.values.has(i)||o.issues.push({code:"invalid_value",values:n,input:i,inst:e}),o}}),fl=_("$ZodLiteral",(e,t)=>{q.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?gt(n):n?n.toString():String(n)).join("|")})$`),e._zod.parse=(n,o)=>{let r=n.value;return e._zod.values.has(r)||n.issues.push({code:"invalid_value",values:t.values,input:r,inst:e}),n}}),gl=_("$ZodFile",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),qn=_("$ZodTransform",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=t.transform(n.value,n);if(o.async)return(r instanceof Promise?r:Promise.resolve(r)).then(a=>(n.value=a,n));if(r instanceof Promise)throw new ot;return n.value=r,n}}),hl=_("$ZodOptional",(e,t)=>{q.init(e,t),e._zod.optin="optional",e._zod.optout="optional",G(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),G(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${In(n.source)})?$`):void 0}),e._zod.parse=(n,o)=>t.innerType._zod.optin==="optional"?t.innerType._zod.run(n,o):n.value===void 0?n:t.innerType._zod.run(n,o)}),vl=_("$ZodNullable",(e,t)=>{q.init(e,t),G(e._zod,"optin",()=>t.innerType._zod.optin),G(e._zod,"optout",()=>t.innerType._zod.optout),G(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${In(n.source)}|null)$`):void 0}),G(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),_l=_("$ZodDefault",(e,t)=>{q.init(e,t),e._zod.optin="optional",G(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>nh(i,t)):nh(r,t)}});yl=_("$ZodPrefault",(e,t)=>{q.init(e,t),e._zod.optin="optional",G(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>(n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),bl=_("$ZodNonOptional",(e,t)=>{q.init(e,t),G(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>oh(i,e)):oh(r,e)}});xl=_("$ZodSuccess",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>(n.value=i.issues.length===0,n)):(n.value=r.issues.length===0,n)}}),$l=_("$ZodCatch",(e,t)=>{q.init(e,t),e._zod.optin="optional",G(e._zod,"optout",()=>t.innerType._zod.optout),G(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>(n.value=i.value,i.issues.length&&(n.value=t.catchValue({...n,error:{issues:i.issues.map(a=>Fe(a,o,fe()))},input:n.value}),n.issues=[]),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(i=>Fe(i,o,fe()))},input:n.value}),n.issues=[]),n)}}),Sl=_("$ZodNaN",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),Un=_("$ZodPipe",(e,t)=>{q.init(e,t),G(e._zod,"values",()=>t.in._zod.values),G(e._zod,"optin",()=>t.in._zod.optin),G(e._zod,"optout",()=>t.out._zod.optout),e._zod.parse=(n,o)=>{let r=t.in._zod.run(n,o);return r instanceof Promise?r.then(i=>ih(i,t,o)):ih(r,t,o)}});kl=_("$ZodReadonly",(e,t)=>{q.init(e,t),G(e._zod,"propValues",()=>t.innerType._zod.propValues),G(e._zod,"values",()=>t.innerType._zod.values),G(e._zod,"optin",()=>t.innerType._zod.optin),G(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(ah):ah(r)}});wl=_("$ZodTemplateLiteral",(e,t)=>{q.init(e,t);let n=[];for(let o of t.parts)if(o instanceof q){if(!o._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);let r=o._zod.pattern instanceof RegExp?o._zod.pattern.source:o._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${o._zod.traits}`);let i=r.startsWith("^")?1:0,a=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(i,a))}else if(o===null||ku.has(typeof o))n.push(gt(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(o,r)=>typeof o.value!="string"?(o.issues.push({input:o.value,inst:e,expected:"template_literal",code:"invalid_type"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:"invalid_format",format:"template_literal",pattern:e._zod.pattern.source}),o)}),zl=_("$ZodPromise",(e,t)=>{q.init(e,t),e._zod.parse=(n,o)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},o))}),Il=_("$ZodLazy",(e,t)=>{q.init(e,t),G(e._zod,"innerType",()=>t.getter()),G(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),G(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),G(e._zod,"optin",()=>e._zod.innerType._zod.optin),G(e._zod,"optout",()=>e._zod.innerType._zod.optout),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),Pl=_("$ZodCustom",(e,t)=>{de.init(e,t),q.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{let o=n.value,r=t.fn(o);if(r instanceof Promise)return r.then(i=>sh(i,n,o,e));sh(r,n,o,e)}})});function ph(){return{localeError:EO()}}var EO,dh=j(()=>{N();EO=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"};return r=>{switch(r.code){case"invalid_type":return`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${r.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${I(r.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()} ${a.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${r.prefix}"`:i.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${i.suffix}"`:i.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${i.includes}"`:i.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${i.pattern}`:`${o[i.format]??r.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${r.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${r.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${r.keys.length>1?"\u0629":""}: ${S(r.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}}});function mh(){return{localeError:RO()}}var RO,fh=j(()=>{N();RO=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${r.expected}, daxil olan ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${I(r.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()} ${a.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${i.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:i.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${i.suffix}" il\u0259 bitm\u0259lidir`:i.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${i.includes}" daxil olmal\u0131d\u0131r`:i.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${i.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${o[i.format]??r.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${r.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${r.keys.length>1?"lar":""}: ${S(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${r.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}}});function gh(e,t,n,o){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?o:i===1?t:i>=2&&i<=4?n:o}function hh(){return{localeError:NO()}}var NO,vh=j(()=>{N();NO=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u043B\u0456\u043A";case"object":{if(Array.isArray(r))return"\u043C\u0430\u0441\u0456\u045E";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"};return r=>{switch(r.code){case"invalid_type":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${r.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${I(r.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),u=gh(s,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${i}${r.maximum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);if(a){let s=Number(r.minimum),u=gh(s,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${i}${r.minimum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${r.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${S(r.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${r.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}}});function _h(){return{localeError:DO()}}var DO,yh=j(()=>{N();DO=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return r=>{switch(r.code){case"invalid_type":return`Tipus inv\xE0lid: s'esperava ${r.expected}, s'ha rebut ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Valor inv\xE0lid: s'esperava ${I(r.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${S(r.values," o ")}`;case"too_big":{let i=r.inclusive?"com a m\xE0xim":"menys de",a=t(r.origin);return a?`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xE9s ${i} ${r.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"com a m\xEDnim":"m\xE9s de",a=t(r.origin);return a?`Massa petit: s'esperava que ${r.origin} contingu\xE9s ${i} ${r.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${i.prefix}"`:i.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${i.suffix}"`:i.format==="includes"?`Format inv\xE0lid: ha d'incloure "${i.includes}"`:i.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${i.pattern}`:`Format inv\xE0lid per a ${o[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${r.origin}`;default:return"Entrada inv\xE0lida"}}}});function bh(){return{localeError:qO()}}var qO,xh=j(()=>{N();qO=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u010D\xEDslo";case"string":return"\u0159et\u011Bzec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(r))return"pole";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"};return r=>{switch(r.code){case"invalid_type":return`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${r.expected}, obdr\u017Eeno ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${I(r.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.maximum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.minimum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${i.prefix}"`:i.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${i.suffix}"`:i.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${i.includes}"`:i.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${i.pattern}`:`Neplatn\xFD form\xE1t ${o[i.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${S(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}}});function $h(){return{localeError:UO()}}var UO,Sh=j(()=>{N();UO=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"Zahl";case"object":{if(Array.isArray(r))return"Array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"};return r=>{switch(r.code){case"invalid_type":return`Ung\xFCltige Eingabe: erwartet ${r.expected}, erhalten ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ung\xFCltige Eingabe: erwartet ${I(r.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ist`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ist`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ung\xFCltiger String: muss mit "${i.prefix}" beginnen`:i.format==="ends_with"?`Ung\xFCltiger String: muss mit "${i.suffix}" enden`:i.format==="includes"?`Ung\xFCltiger String: muss "${i.includes}" enthalten`:i.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${i.pattern} entsprechen`:`Ung\xFCltig: ${o[i.format]??r.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${S(r.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${r.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${r.origin}`;default:return"Ung\xFCltige Eingabe"}}}});function $i(){return{localeError:MO()}}var LO,MO,Tl=j(()=>{N();LO=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},MO=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function t(o){return e[o]??null}let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return o=>{switch(o.code){case"invalid_type":return`Invalid input: expected ${o.expected}, received ${LO(o.input)}`;case"invalid_value":return o.values.length===1?`Invalid input: expected ${I(o.values[0])}`:`Invalid option: expected one of ${S(o.values,"|")}`;case"too_big":{let r=o.inclusive?"<=":"<",i=t(o.origin);return i?`Too big: expected ${o.origin??"value"} to have ${r}${o.maximum.toString()} ${i.unit??"elements"}`:`Too big: expected ${o.origin??"value"} to be ${r}${o.maximum.toString()}`}case"too_small":{let r=o.inclusive?">=":">",i=t(o.origin);return i?`Too small: expected ${o.origin} to have ${r}${o.minimum.toString()} ${i.unit}`:`Too small: expected ${o.origin} to be ${r}${o.minimum.toString()}`}case"invalid_format":{let r=o;return r.format==="starts_with"?`Invalid string: must start with "${r.prefix}"`:r.format==="ends_with"?`Invalid string: must end with "${r.suffix}"`:r.format==="includes"?`Invalid string: must include "${r.includes}"`:r.format==="regex"?`Invalid string: must match pattern ${r.pattern}`:`Invalid ${n[r.format]??o.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${o.divisor}`;case"unrecognized_keys":return`Unrecognized key${o.keys.length>1?"s":""}: ${S(o.keys,", ")}`;case"invalid_key":return`Invalid key in ${o.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${o.origin}`;default:return"Invalid input"}}}});function kh(){return{localeError:WO()}}var ZO,WO,wh=j(()=>{N();ZO=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":{if(Array.isArray(e))return"tabelo";if(e===null)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},WO=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(o){return e[o]??null}let n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"};return o=>{switch(o.code){case"invalid_type":return`Nevalida enigo: atendi\u011Dis ${o.expected}, ricevi\u011Dis ${ZO(o.input)}`;case"invalid_value":return o.values.length===1?`Nevalida enigo: atendi\u011Dis ${I(o.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${S(o.values,"|")}`;case"too_big":{let r=o.inclusive?"<=":"<",i=t(o.origin);return i?`Tro granda: atendi\u011Dis ke ${o.origin??"valoro"} havu ${r}${o.maximum.toString()} ${i.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${o.origin??"valoro"} havu ${r}${o.maximum.toString()}`}case"too_small":{let r=o.inclusive?">=":">",i=t(o.origin);return i?`Tro malgranda: atendi\u011Dis ke ${o.origin} havu ${r}${o.minimum.toString()} ${i.unit}`:`Tro malgranda: atendi\u011Dis ke ${o.origin} estu ${r}${o.minimum.toString()}`}case"invalid_format":{let r=o;return r.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${r.prefix}"`:r.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${r.suffix}"`:r.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${r.includes}"`:r.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${r.pattern}`:`Nevalida ${n[r.format]??o.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${o.divisor}`;case"unrecognized_keys":return`Nekonata${o.keys.length>1?"j":""} \u015Dlosilo${o.keys.length>1?"j":""}: ${S(o.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${o.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${o.origin}`;default:return"Nevalida enigo"}}}});function zh(){return{localeError:FO()}}var FO,Ih=j(()=>{N();FO=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(r))return"arreglo";if(r===null)return"nulo";if(Object.getPrototypeOf(r)!==Object.prototype)return r.constructor.name}}return i},o={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return r=>{switch(r.code){case"invalid_type":return`Entrada inv\xE1lida: se esperaba ${r.expected}, recibido ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: se esperaba ${I(r.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Demasiado grande: se esperaba que ${r.origin??"valor"} tuviera ${i}${r.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${r.origin??"valor"} fuera ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Demasiado peque\xF1o: se esperaba que ${r.origin} tuviera ${i}${r.minimum.toString()} ${a.unit}`:`Demasiado peque\xF1o: se esperaba que ${r.origin} fuera ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${i.prefix}"`:i.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${i.suffix}"`:i.format==="includes"?`Cadena inv\xE1lida: debe incluir "${i.includes}"`:i.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${i.pattern}`:`Inv\xE1lido ${o[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${r.origin}`;default:return"Entrada inv\xE1lida"}}}});function Ph(){return{localeError:HO()}}var HO,Th=j(()=>{N();HO=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(r))return"\u0622\u0631\u0627\u06CC\u0647";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"};return r=>{switch(r.code){case"invalid_type":return`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${r.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${n(r.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;case"invalid_value":return r.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${I(r.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${S(r.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${a.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:i.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:i.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${i.includes}" \u0628\u0627\u0634\u062F`:i.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${i.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${o[i.format]??r.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${r.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${r.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${S(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${r.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${r.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}}});function Ah(){return{localeError:VO()}}var VO,Oh=j(()=>{N();VO=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"};return r=>{switch(r.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${r.expected}, oli ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${I(r.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Liian suuri: ${a.subject} t\xE4ytyy olla ${i}${r.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Liian pieni: ${a.subject} t\xE4ytyy olla ${i}${r.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${i.prefix}"`:i.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${i.suffix}"`:i.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${i.includes}"`:i.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${i.pattern}`:`Virheellinen ${o[i.format]??r.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${S(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}}});function jh(){return{localeError:BO()}}var BO,Ch=j(()=>{N();BO=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"nombre";case"object":{if(Array.isArray(r))return"tableau";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"};return r=>{switch(r.code){case"invalid_type":return`Entr\xE9e invalide : ${r.expected} attendu, ${n(r.input)} re\xE7u`;case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : ${I(r.values[0])} attendu`:`Option invalide : une valeur parmi ${S(r.values,"|")} attendue`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Trop grand : ${r.origin??"valeur"} doit ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${r.origin??"valeur"} doit \xEAtre ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Trop petit : ${r.origin} doit ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : ${r.origin} doit \xEAtre ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${i.pattern}`:`${o[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${S(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}}});function Eh(){return{localeError:GO()}}var GO,Rh=j(()=>{N();GO=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"};return r=>{switch(r.code){case"invalid_type":return`Entr\xE9e invalide : attendu ${r.expected}, re\xE7u ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : attendu ${I(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u2264":"<",a=t(r.origin);return a?`Trop grand : attendu que ${r.origin??"la valeur"} ait ${i}${r.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${r.origin??"la valeur"} soit ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u2265":">",a=t(r.origin);return a?`Trop petit : attendu que ${r.origin} ait ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${r.origin} soit ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${i.pattern}`:`${o[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${S(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}}});function Nh(){return{localeError:JO()}}var JO,Dh=j(()=>{N();JO=()=>{let e={string:{unit:"\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u05E7\u05DC\u05D8",email:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",url:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",emoji:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",date:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",time:"\u05D6\u05DE\u05DF ISO",duration:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",ipv4:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",ipv6:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",cidrv4:"\u05D8\u05D5\u05D5\u05D7 IPv4",cidrv6:"\u05D8\u05D5\u05D5\u05D7 IPv6",base64:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",base64url:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",json_string:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",e164:"\u05DE\u05E1\u05E4\u05E8 E.164",jwt:"JWT",template_literal:"\u05E7\u05DC\u05D8"};return r=>{switch(r.code){case"invalid_type":return`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${r.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${I(r.values[0])}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05D0\u05D7\u05EA \u05DE\u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${r.origin??"value"} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.maximum.toString()} ${a.unit??"elements"}`:`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${r.origin??"value"} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${r.origin} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.minimum.toString()} ${a.unit}`:`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${r.origin} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1"${i.prefix}"`:i.format==="ends_with"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${i.suffix}"`:i.format==="includes"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${i.includes}"`:i.format==="regex"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${i.pattern}`:`${o[i.format]??r.format} \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${r.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${r.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${r.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${S(r.keys,", ")}`;case"invalid_key":return`\u05DE\u05E4\u05EA\u05D7 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r.origin}`;case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r.origin}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}}});function qh(){return{localeError:KO()}}var KO,Uh=j(()=>{N();KO=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"sz\xE1m";case"object":{if(Array.isArray(r))return"t\xF6mb";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"};return r=>{switch(r.code){case"invalid_type":return`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${r.expected}, a kapott \xE9rt\xE9k ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${I(r.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`T\xFAl nagy: ${r.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${i}${r.maximum.toString()} ${a.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${r.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} m\xE9rete t\xFAl kicsi ${i}${r.minimum.toString()} ${a.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} t\xFAl kicsi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\xC9rv\xE9nytelen string: "${i.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:i.format==="ends_with"?`\xC9rv\xE9nytelen string: "${i.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:i.format==="includes"?`\xC9rv\xE9nytelen string: "${i.includes}" \xE9rt\xE9ket kell tartalmaznia`:i.format==="regex"?`\xC9rv\xE9nytelen string: ${i.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${o[i.format]??r.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${r.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${r.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}}});function Lh(){return{localeError:YO()}}var YO,Mh=j(()=>{N();YO=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Input tidak valid: diharapkan ${r.expected}, diterima ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${I(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${i}${r.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Terlalu kecil: diharapkan ${r.origin} memiliki ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak valid: harus dimulai dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak valid: harus berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak valid: harus menyertakan "${i.includes}"`:i.format==="regex"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${o[i.format]??r.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`;default:return"Input tidak valid"}}}});function Zh(){return{localeError:QO()}}var QO,Wh=j(()=>{N();QO=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"numero";case"object":{if(Array.isArray(r))return"vettore";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Input non valido: atteso ${r.expected}, ricevuto ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Input non valido: atteso ${I(r.values[0])}`:`Opzione non valida: atteso uno tra ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Troppo grande: ${r.origin??"valore"} deve avere ${i}${r.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${r.origin??"valore"} deve essere ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Troppo piccolo: ${r.origin} deve avere ${i}${r.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${r.origin} deve essere ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Stringa non valida: deve iniziare con "${i.prefix}"`:i.format==="ends_with"?`Stringa non valida: deve terminare con "${i.suffix}"`:i.format==="includes"?`Stringa non valida: deve includere "${i.includes}"`:i.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Invalid ${o[i.format]??r.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${S(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`;default:return"Input non valido"}}}});function Fh(){return{localeError:XO()}}var XO,Hh=j(()=>{N();XO=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u6570\u5024";case"object":{if(Array.isArray(r))return"\u914D\u5217";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"};return r=>{switch(r.code){case"invalid_type":return`\u7121\u52B9\u306A\u5165\u529B: ${r.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${n(r.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;case"invalid_value":return r.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${I(r.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${S(r.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let i=r.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",a=t(r.origin);return a?`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${a.unit??"\u8981\u7D20"}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let i=r.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",a=t(r.origin);return a?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${a.unit}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${i.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${o[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${r.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${r.keys.length>1?"\u7FA4":""}: ${S(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}}});function Vh(){return{localeError:e1()}}var e1,Bh=j(()=>{N();e1=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u179B\u17C1\u1781 (NaN)":"\u179B\u17C1\u1781";case"object":{if(Array.isArray(r))return"\u17A2\u17B6\u179A\u17C1 (Array)";if(r===null)return"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"};return r=>{switch(r.code){case"invalid_type":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${I(r.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()} ${a.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()} ${a.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${i.prefix}"`:i.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${i.suffix}"`:i.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${i.includes}"`:i.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${i.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${r.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${S(r.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}}});function Gh(){return{localeError:t1()}}var t1,Jh=j(()=>{N();t1=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"};return r=>{switch(r.code){case"invalid_type":return`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${r.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${n(r.input)}\uC785\uB2C8\uB2E4`;case"invalid_value":return r.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${I(r.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${S(r.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let i=r.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",a=i==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(r.origin),u=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${u} ${i}${a}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()} ${i}${a}`}case"too_small":{let i=r.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",a=i==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(r.origin),u=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${u} ${i}${a}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()} ${i}${a}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:i.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${i.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${o[i.format]??r.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${r.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${S(r.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${r.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${r.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}}});function Kh(){return{localeError:r1()}}var r1,Yh=j(()=>{N();r1=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0431\u0440\u043E\u0458";case"object":{if(Array.isArray(r))return"\u043D\u0438\u0437\u0430";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"};return r=>{switch(r.code){case"invalid_type":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Invalid input: expected ${I(r.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.minimum.toString()} ${a.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${i.pattern}`:`Invalid ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${S(r.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${r.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${r.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}}});function Qh(){return{localeError:n1()}}var n1,Xh=j(()=>{N();n1=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"nombor";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Input tidak sah: dijangka ${r.expected}, diterima ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${I(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Terlalu besar: dijangka ${r.origin??"nilai"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Terlalu kecil: dijangka ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak sah: mesti bermula dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak sah: mesti mengandungi "${i.includes}"`:i.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${o[i.format]??r.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${S(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`;default:return"Input tidak sah"}}}});function ev(){return{localeError:o1()}}var o1,tv=j(()=>{N();o1=()=>{let e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"getal";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"};return r=>{switch(r.code){case"invalid_type":return`Ongeldige invoer: verwacht ${r.expected}, ontving ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${I(r.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Te lang: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} ${a.unit??"elementen"} bevat`:`Te lang: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} is`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Te kort: verwacht dat ${r.origin} ${i}${r.minimum.toString()} ${a.unit} bevat`:`Te kort: verwacht dat ${r.origin} ${i}${r.minimum.toString()} is`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ongeldige tekst: moet met "${i.prefix}" beginnen`:i.format==="ends_with"?`Ongeldige tekst: moet op "${i.suffix}" eindigen`:i.format==="includes"?`Ongeldige tekst: moet "${i.includes}" bevatten`:i.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${o[i.format]??r.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`;default:return"Ongeldige invoer"}}}});function rv(){return{localeError:i1()}}var i1,nv=j(()=>{N();i1=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"tall";case"object":{if(Array.isArray(r))return"liste";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Ugyldig input: forventet ${r.expected}, fikk ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${I(r.values[0])}`:`Ugyldig valg: forventet en av ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${i.pattern}`:`Ugyldig ${o[i.format]??r.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${S(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}}});function ov(){return{localeError:a1()}}var a1,iv=j(()=>{N();a1=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"numara";case"object":{if(Array.isArray(r))return"saf";if(r===null)return"gayb";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"};return r=>{switch(r.code){case"invalid_type":return`F\xE2sit giren: umulan ${r.expected}, al\u0131nan ${n(r.input)}`;case"invalid_value":return r.values.length===1?`F\xE2sit giren: umulan ${I(r.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} ${a.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} ${a.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let i=r;return i.format==="starts_with"?`F\xE2sit metin: "${i.prefix}" ile ba\u015Flamal\u0131.`:i.format==="ends_with"?`F\xE2sit metin: "${i.suffix}" ile bitmeli.`:i.format==="includes"?`F\xE2sit metin: "${i.includes}" ihtiv\xE2 etmeli.`:i.format==="regex"?`F\xE2sit metin: ${i.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${o[i.format]??r.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${r.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${r.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}}});function av(){return{localeError:s1()}}var s1,sv=j(()=>{N();s1=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(r))return"\u0627\u0631\u06D0";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"};return r=>{switch(r.code){case"invalid_type":return`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${r.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${n(r.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;case"invalid_value":return r.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${I(r.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${S(r.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0648\u064A`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${a.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0648\u064A`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:i.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:i.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${i.includes}" \u0648\u0644\u0631\u064A`:i.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${i.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${o[i.format]??r.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${r.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${r.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${S(r.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${r.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${r.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}}});function uv(){return{localeError:u1()}}var u1,cv=j(()=>{N();u1=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"liczba";case"object":{if(Array.isArray(r))return"tablica";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"};return r=>{switch(r.code){case"invalid_type":return`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${r.expected}, otrzymano ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${I(r.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.maximum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.minimum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${i.prefix}"`:i.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${i.suffix}"`:i.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${i.includes}"`:i.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${i.pattern}`:`Nieprawid\u0142ow(y/a/e) ${o[i.format]??r.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${r.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${r.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}}});function lv(){return{localeError:c1()}}var c1,pv=j(()=>{N();c1=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(r))return"array";if(r===null)return"nulo";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return r=>{switch(r.code){case"invalid_type":return`Tipo inv\xE1lido: esperado ${r.expected}, recebido ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: esperado ${I(r.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${i}${r.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Muito pequeno: esperado que ${r.origin} tivesse ${i}${r.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${i.prefix}"`:i.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${i.suffix}"`:i.format==="includes"?`Texto inv\xE1lido: deve incluir "${i.includes}"`:i.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${i.pattern}`:`${o[i.format]??r.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${S(r.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${r.origin}`;default:return"Campo inv\xE1lido"}}}});function dv(e,t,n,o){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?o:i===1?t:i>=2&&i<=4?n:o}function mv(){return{localeError:l1()}}var l1,fv=j(()=>{N();l1=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(r))return"\u043C\u0430\u0441\u0441\u0438\u0432";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"};return r=>{switch(r.code){case"invalid_type":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${I(r.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),u=dv(s,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.maximum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);if(a){let s=Number(r.minimum),u=dv(s,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.minimum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${r.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0438":""}: ${S(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}}});function gv(){return{localeError:p1()}}var p1,hv=j(()=>{N();p1=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0161tevilo";case"object":{if(Array.isArray(r))return"tabela";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"};return r=>{switch(r.code){case"invalid_type":return`Neveljaven vnos: pri\u010Dakovano ${r.expected}, prejeto ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${I(r.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} imelo ${i}${r.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Premajhno: pri\u010Dakovano, da bo ${r.origin} imelo ${i}${r.minimum.toString()} ${a.unit}`:`Premajhno: pri\u010Dakovano, da bo ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${i.prefix}"`:i.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${i.suffix}"`:i.format==="includes"?`Neveljaven niz: mora vsebovati "${i.includes}"`:i.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${o[i.format]??r.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${S(r.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${r.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`;default:return"Neveljaven vnos"}}}});function vv(){return{localeError:d1()}}var d1,_v=j(()=>{N();d1=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"antal";case"object":{if(Array.isArray(r))return"lista";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"};return r=>{switch(r.code){case"invalid_type":return`Ogiltig inmatning: f\xF6rv\xE4ntat ${r.expected}, fick ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${I(r.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`F\xF6r stor(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()} ${a.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()} ${a.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${i.prefix}"`:i.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${i.suffix}"`:i.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${i.includes}"`:i.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${i.pattern}"`:`Ogiltig(t) ${o[i.format]??r.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${S(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${r.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}}});function yv(){return{localeError:m1()}}var m1,bv=j(()=>{N();m1=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u0B8E\u0BA3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BBE\u0BA4\u0BA4\u0BC1":"\u0B8E\u0BA3\u0BCD";case"object":{if(Array.isArray(r))return"\u0B85\u0BA3\u0BBF";if(r===null)return"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${I(r.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${S(r.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} ${a.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${i.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${r.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${r.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${S(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}}});function xv(){return{localeError:f1()}}var f1,$v=j(()=>{N();f1=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 (NaN)":"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02";case"object":{if(Array.isArray(r))return"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)";if(r===null)return"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"};return r=>{switch(r.code){case"invalid_type":return`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${r.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${I(r.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",a=t(r.origin);return a?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()} ${a.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",a=t(r.origin);return a?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()} ${a.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${i.prefix}"`:i.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${i.suffix}"`:i.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${i.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:i.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${i.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${r.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${S(r.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}}});function Sv(){return{localeError:h1()}}var g1,h1,kv=j(()=>{N();g1=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},h1=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(o){return e[o]??null}let n={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"};return o=>{switch(o.code){case"invalid_type":return`Ge\xE7ersiz de\u011Fer: beklenen ${o.expected}, al\u0131nan ${g1(o.input)}`;case"invalid_value":return o.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${I(o.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${S(o.values,"|")}`;case"too_big":{let r=o.inclusive?"<=":"<",i=t(o.origin);return i?`\xC7ok b\xFCy\xFCk: beklenen ${o.origin??"de\u011Fer"} ${r}${o.maximum.toString()} ${i.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${o.origin??"de\u011Fer"} ${r}${o.maximum.toString()}`}case"too_small":{let r=o.inclusive?">=":">",i=t(o.origin);return i?`\xC7ok k\xFC\xE7\xFCk: beklenen ${o.origin} ${r}${o.minimum.toString()} ${i.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${o.origin} ${r}${o.minimum.toString()}`}case"invalid_format":{let r=o;return r.format==="starts_with"?`Ge\xE7ersiz metin: "${r.prefix}" ile ba\u015Flamal\u0131`:r.format==="ends_with"?`Ge\xE7ersiz metin: "${r.suffix}" ile bitmeli`:r.format==="includes"?`Ge\xE7ersiz metin: "${r.includes}" i\xE7ermeli`:r.format==="regex"?`Ge\xE7ersiz metin: ${r.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${n[r.format]??o.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${o.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${o.keys.length>1?"lar":""}: ${S(o.keys,", ")}`;case"invalid_key":return`${o.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${o.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}}});function wv(){return{localeError:v1()}}var v1,zv=j(()=>{N();v1=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(r))return"\u043C\u0430\u0441\u0438\u0432";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"};return r=>{switch(r.code){case"invalid_type":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${r.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${I(r.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} \u0431\u0443\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0456":""}: ${S(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${r.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}}});function Iv(){return{localeError:_1()}}var _1,Pv=j(()=>{N();_1=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0646\u0645\u0628\u0631";case"object":{if(Array.isArray(r))return"\u0622\u0631\u06D2";if(r===null)return"\u0646\u0644";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"};return r=>{switch(r.code){case"invalid_type":return`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${r.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${n(r.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;case"invalid_value":return r.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${I(r.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${S(r.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${i}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${i}${r.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u06D2 ${i}${r.minimum.toString()} ${a.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u0627 ${i}${r.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${i.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${r.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${r.keys.length>1?"\u0632":""}: ${S(r.keys,"\u060C ")}`;case"invalid_key":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}}});function Tv(){return{localeError:y1()}}var y1,Av=j(()=>{N();y1=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"s\u1ED1";case"object":{if(Array.isArray(r))return"m\u1EA3ng";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"};return r=>{switch(r.code){case"invalid_type":return`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${r.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${I(r.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${i.prefix}"`:i.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${i.suffix}"`:i.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${i.includes}"`:i.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${i.pattern}`:`${o[i.format]??r.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${r.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${S(r.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}}});function Ov(){return{localeError:b1()}}var b1,jv=j(()=>{N();b1=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u975E\u6570\u5B57(NaN)":"\u6570\u5B57";case"object":{if(Array.isArray(r))return"\u6570\u7EC4";if(r===null)return"\u7A7A\u503C(null)";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"};return r=>{switch(r.code){case"invalid_type":return`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${r.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${I(r.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()} ${a.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.prefix}" \u5F00\u5934`:i.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.suffix}" \u7ED3\u5C3E`:i.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${i.pattern}`:`\u65E0\u6548${o[i.format]??r.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${r.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${S(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${r.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}}});function Cv(){return{localeError:x1()}}var x1,Ev=j(()=>{N();x1=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"};return r=>{switch(r.code){case"invalid_type":return`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${r.expected}\uFF0C\u4F46\u6536\u5230 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${I(r.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${S(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()} ${a.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",a=t(r.origin);return a?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()} ${a.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.prefix}" \u958B\u982D`:i.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.suffix}" \u7D50\u5C3E`:i.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${i.pattern}`:`\u7121\u6548\u7684 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${r.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${r.keys.length>1?"\u5011":""}\uFF1A${S(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}}});var _r={};$t(_r,{ar:()=>ph,az:()=>mh,be:()=>hh,ca:()=>_h,cs:()=>bh,de:()=>$h,en:()=>$i,eo:()=>kh,es:()=>zh,fa:()=>Ph,fi:()=>Ah,fr:()=>jh,frCA:()=>Eh,he:()=>Nh,hu:()=>qh,id:()=>Lh,it:()=>Zh,ja:()=>Fh,kh:()=>Vh,ko:()=>Gh,mk:()=>Kh,ms:()=>Qh,nl:()=>ev,no:()=>rv,ota:()=>ov,pl:()=>uv,ps:()=>av,pt:()=>lv,ru:()=>mv,sl:()=>gv,sv:()=>vv,ta:()=>yv,th:()=>xv,tr:()=>Sv,ua:()=>wv,ur:()=>Iv,vi:()=>Tv,zhCN:()=>Ov,zhTW:()=>Cv});var Al=j(()=>{dh();fh();vh();yh();xh();Sh();Tl();wh();Ih();Th();Oh();Ch();Rh();Dh();Uh();Mh();Wh();Hh();Bh();Jh();Yh();Xh();tv();nv();iv();sv();cv();pv();fv();hv();_v();bv();$v();kv();zv();Pv();Av();jv();Ev()});function Mn(){return new yr}var Si,ki,yr,Qe,Ol=j(()=>{Si=Symbol("ZodOutput"),ki=Symbol("ZodInput"),yr=class{constructor(){this._map=new Map,this._idmap=new Map}add(t,...n){let o=n[0];if(this._map.set(t,o),o&&typeof o=="object"&&"id"in o){if(this._idmap.has(o.id))throw new Error(`ID ${o.id} already exists in the registry`);this._idmap.set(o.id,t)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let o={...this.get(n)??{}};return delete o.id,{...o,...this._map.get(t)}}return this._map.get(t)}has(t){return this._map.has(t)}};Qe=Mn()});function jl(e,t){return new e({type:"string",...w(t)})}function Cl(e,t){return new e({type:"string",coerce:!0,...w(t)})}function wi(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...w(t)})}function Zn(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...w(t)})}function zi(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...w(t)})}function Ii(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...w(t)})}function Pi(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...w(t)})}function Ti(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...w(t)})}function Ai(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...w(t)})}function Oi(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...w(t)})}function ji(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...w(t)})}function Ci(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...w(t)})}function Ei(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...w(t)})}function Ri(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...w(t)})}function Ni(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...w(t)})}function Di(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...w(t)})}function qi(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...w(t)})}function Ui(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...w(t)})}function Li(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...w(t)})}function Mi(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...w(t)})}function Zi(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...w(t)})}function Wi(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...w(t)})}function Fi(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...w(t)})}function Hi(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...w(t)})}function El(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...w(t)})}function Rl(e,t){return new e({type:"string",format:"date",check:"string_format",...w(t)})}function Nl(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...w(t)})}function Dl(e,t){return new e({type:"string",format:"duration",check:"string_format",...w(t)})}function ql(e,t){return new e({type:"number",checks:[],...w(t)})}function Ul(e,t){return new e({type:"number",coerce:!0,checks:[],...w(t)})}function Ll(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...w(t)})}function Ml(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...w(t)})}function Zl(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...w(t)})}function Wl(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...w(t)})}function Fl(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...w(t)})}function Hl(e,t){return new e({type:"boolean",...w(t)})}function Vl(e,t){return new e({type:"boolean",coerce:!0,...w(t)})}function Bl(e,t){return new e({type:"bigint",...w(t)})}function Gl(e,t){return new e({type:"bigint",coerce:!0,...w(t)})}function Jl(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...w(t)})}function Kl(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...w(t)})}function Yl(e,t){return new e({type:"symbol",...w(t)})}function Ql(e,t){return new e({type:"undefined",...w(t)})}function Xl(e,t){return new e({type:"null",...w(t)})}function ep(e){return new e({type:"any"})}function br(e){return new e({type:"unknown"})}function tp(e,t){return new e({type:"never",...w(t)})}function rp(e,t){return new e({type:"void",...w(t)})}function np(e,t){return new e({type:"date",...w(t)})}function op(e,t){return new e({type:"date",coerce:!0,...w(t)})}function ip(e,t){return new e({type:"nan",...w(t)})}function it(e,t){return new fi({check:"less_than",...w(t),value:e,inclusive:!1})}function He(e,t){return new fi({check:"less_than",...w(t),value:e,inclusive:!0})}function at(e,t){return new gi({check:"greater_than",...w(t),value:e,inclusive:!1})}function Re(e,t){return new gi({check:"greater_than",...w(t),value:e,inclusive:!0})}function Bi(e){return at(0,e)}function Gi(e){return it(0,e)}function Ji(e){return He(0,e)}function Ki(e){return Re(0,e)}function It(e,t){return new ic({check:"multiple_of",...w(t),value:e})}function Ft(e,t){return new uc({check:"max_size",...w(t),maximum:e})}function Pt(e,t){return new cc({check:"min_size",...w(t),minimum:e})}function xr(e,t){return new lc({check:"size_equals",...w(t),size:e})}function Ht(e,t){return new pc({check:"max_length",...w(t),maximum:e})}function ht(e,t){return new dc({check:"min_length",...w(t),minimum:e})}function Vt(e,t){return new mc({check:"length_equals",...w(t),length:e})}function $r(e,t){return new fc({check:"string_format",format:"regex",...w(t),pattern:e})}function Sr(e){return new gc({check:"string_format",format:"lowercase",...w(e)})}function kr(e){return new hc({check:"string_format",format:"uppercase",...w(e)})}function wr(e,t){return new vc({check:"string_format",format:"includes",...w(t),includes:e})}function zr(e,t){return new _c({check:"string_format",format:"starts_with",...w(t),prefix:e})}function Ir(e,t){return new yc({check:"string_format",format:"ends_with",...w(t),suffix:e})}function Yi(e,t,n){return new bc({check:"property",property:e,schema:t,...w(n)})}function Pr(e,t){return new xc({check:"mime_type",mime:e,...w(t)})}function st(e){return new $c({check:"overwrite",tx:e})}function Tr(e){return st(t=>t.normalize(e))}function Ar(){return st(e=>e.trim())}function Or(){return st(e=>e.toLowerCase())}function jr(){return st(e=>e.toUpperCase())}function Wn(e,t,n){return new e({type:"array",element:t,...w(n)})}function $1(e,t,n){return new e({type:"union",options:t,...w(n)})}function S1(e,t,n,o){return new e({type:"union",options:n,discriminator:t,...w(o)})}function k1(e,t,n){return new e({type:"intersection",left:t,right:n})}function ap(e,t,n,o){let r=n instanceof q,i=r?o:n,a=r?n:null;return new e({type:"tuple",items:t,rest:a,...w(i)})}function w1(e,t,n,o){return new e({type:"record",keyType:t,valueType:n,...w(o)})}function z1(e,t,n,o){return new e({type:"map",keyType:t,valueType:n,...w(o)})}function I1(e,t,n){return new e({type:"set",valueType:t,...w(n)})}function P1(e,t,n){let o=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:o,...w(n)})}function T1(e,t,n){return new e({type:"enum",entries:t,...w(n)})}function A1(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...w(n)})}function sp(e,t){return new e({type:"file",...w(t)})}function O1(e,t){return new e({type:"transform",transform:t})}function j1(e,t){return new e({type:"optional",innerType:t})}function C1(e,t){return new e({type:"nullable",innerType:t})}function E1(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():n}})}function R1(e,t,n){return new e({type:"nonoptional",innerType:t,...w(n)})}function N1(e,t){return new e({type:"success",innerType:t})}function D1(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}function q1(e,t,n){return new e({type:"pipe",in:t,out:n})}function U1(e,t){return new e({type:"readonly",innerType:t})}function L1(e,t,n){return new e({type:"template_literal",parts:t,...w(n)})}function M1(e,t){return new e({type:"lazy",getter:t})}function Z1(e,t){return new e({type:"promise",innerType:t})}function up(e,t,n){let o=w(n);return o.abort??(o.abort=!0),new e({type:"custom",check:"custom",fn:t,...o})}function cp(e,t,n){return new e({type:"custom",check:"custom",fn:t,...w(n)})}function lp(e,t){let n=w(t),o=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(o=o.map(f=>typeof f=="string"?f.toLowerCase():f),r=r.map(f=>typeof f=="string"?f.toLowerCase():f));let i=new Set(o),a=new Set(r),s=e.Pipe??Un,u=e.Boolean??Nn,l=e.String??Zt,m=e.Transform??qn,c=new m({type:"transform",transform:(f,x)=>{let b=f;return n.case!=="sensitive"&&(b=b.toLowerCase()),i.has(b)?!0:a.has(b)?!1:(x.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...a],input:x.value,inst:c}),{})},error:n.error}),g=new s({type:"pipe",in:new l({type:"string",error:n.error}),out:c,error:n.error});return new s({type:"pipe",in:g,out:new u({type:"boolean",error:n.error}),error:n.error})}function pp(e,t,n,o={}){let r=w(o),i={...w(o),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:s=>n.test(s),...r};return n instanceof RegExp&&(i.pattern=n),new e(i)}var Vi,dp=j(()=>{hi();Ln();N();Vi={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function Xi(e){return new Qi({type:"function",input:Array.isArray(e?.input)?ap(Wt,e?.input):e?.input??Wn(Dn,br(vr)),output:e?.output??br(vr)})}var Qi,Rv=j(()=>{dp();pi();Ln();Ln();Qi=class{constructor(t){this._def=t,this.def=t}implement(t){if(typeof t!="function")throw new Error("implement() must be called with a function");let n=((...o)=>{let r=this._def.input?jn(this._def.input,o,void 0,{callee:n}):o;if(!Array.isArray(r))throw new Error("Invalid arguments schema: not an array or tuple schema.");let i=t(...r);return this._def.output?jn(this._def.output,i,void 0,{callee:n}):i});return n}implementAsync(t){if(typeof t!="function")throw new Error("implement() must be called with a function");let n=(async(...o)=>{let r=this._def.input?await Cn(this._def.input,o,void 0,{callee:n}):o;if(!Array.isArray(r))throw new Error("Invalid arguments schema: not an array or tuple schema.");let i=await t(...r);return this._def.output?Cn(this._def.output,i,void 0,{callee:n}):i});return n}input(...t){let n=this.constructor;return Array.isArray(t[0])?new n({type:"function",input:new Wt({type:"tuple",items:t[0],rest:t[1]}),output:this._def.output}):new n({type:"function",input:t[0],output:this._def.output})}output(t){let n=this.constructor;return new n({type:"function",input:this._def.input,output:t})}}});function ea(e,t){if(e instanceof yr){let o=new Fn(t),r={};for(let s of e._idmap.entries()){let[u,l]=s;o.process(l)}let i={},a={registry:e,uri:t?.uri,defs:r};for(let s of e._idmap.entries()){let[u,l]=s;i[u]=o.emit(l,{...t,external:a})}if(Object.keys(r).length>0){let s=o.target==="draft-2020-12"?"$defs":"definitions";i.__shared={[s]:r}}return{schemas:i}}let n=new Fn(t);return n.process(e),n.emit(e,t)}function _e(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;switch(r.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return _e(r.element,n);case"object":{for(let i in r.shape)if(_e(r.shape[i],n))return!0;return!1}case"union":{for(let i of r.options)if(_e(i,n))return!0;return!1}case"intersection":return _e(r.left,n)||_e(r.right,n);case"tuple":{for(let i of r.items)if(_e(i,n))return!0;return!!(r.rest&&_e(r.rest,n))}case"record":return _e(r.keyType,n)||_e(r.valueType,n);case"map":return _e(r.keyType,n)||_e(r.valueType,n);case"set":return _e(r.valueType,n);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return _e(r.innerType,n);case"lazy":return _e(r.getter(),n);case"default":return _e(r.innerType,n);case"prefault":return _e(r.innerType,n);case"custom":return!1;case"transform":return!0;case"pipe":return _e(r.in,n)||_e(r.out,n);case"success":return!1;case"catch":return!1;default:}throw new Error(`Unknown schema type: ${r.type}`)}var Fn,Nv=j(()=>{Ol();N();Fn=class{constructor(t){this.counter=0,this.metadataRegistry=t?.metadata??Qe,this.target=t?.target??"draft-2020-12",this.unrepresentable=t?.unrepresentable??"throw",this.override=t?.override??(()=>{}),this.io=t?.io??"output",this.seen=new Map}process(t,n={path:[],schemaPath:[]}){var o;let r=t._zod.def,i={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},a=this.seen.get(t);if(a)return a.count++,n.schemaPath.includes(t)&&(a.cycle=n.path),a.schema;let s={schema:{},count:1,cycle:void 0,path:n.path};this.seen.set(t,s);let u=t._zod.toJSONSchema?.();if(u)s.schema=u;else{let c={...n,schemaPath:[...n.schemaPath,t],path:n.path},g=t._zod.parent;if(g)s.ref=g,this.process(g,c),this.seen.get(g).isParent=!0;else{let v=s.schema;switch(r.type){case"string":{let f=v;f.type="string";let{minimum:x,maximum:b,format:k,patterns:$,contentEncoding:z}=t._zod.bag;if(typeof x=="number"&&(f.minLength=x),typeof b=="number"&&(f.maxLength=b),k&&(f.format=i[k]??k,f.format===""&&delete f.format),z&&(f.contentEncoding=z),$&&$.size>0){let T=[...$];T.length===1?f.pattern=T[0].source:T.length>1&&(s.schema.allOf=[...T.map(U=>({...this.target==="draft-7"?{type:"string"}:{},pattern:U.source}))])}break}case"number":{let f=v,{minimum:x,maximum:b,format:k,multipleOf:$,exclusiveMaximum:z,exclusiveMinimum:T}=t._zod.bag;typeof k=="string"&&k.includes("int")?f.type="integer":f.type="number",typeof T=="number"&&(f.exclusiveMinimum=T),typeof x=="number"&&(f.minimum=x,typeof T=="number"&&(T>=x?delete f.minimum:delete f.exclusiveMinimum)),typeof z=="number"&&(f.exclusiveMaximum=z),typeof b=="number"&&(f.maximum=b,typeof z=="number"&&(z<=b?delete f.maximum:delete f.exclusiveMaximum)),typeof $=="number"&&(f.multipleOf=$);break}case"boolean":{let f=v;f.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{v.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{v.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{let f=v,{minimum:x,maximum:b}=t._zod.bag;typeof x=="number"&&(f.minItems=x),typeof b=="number"&&(f.maxItems=b),f.type="array",f.items=this.process(r.element,{...c,path:[...c.path,"items"]});break}case"object":{let f=v;f.type="object",f.properties={};let x=r.shape;for(let $ in x)f.properties[$]=this.process(x[$],{...c,path:[...c.path,"properties",$]});let b=new Set(Object.keys(x)),k=new Set([...b].filter($=>{let z=r.shape[$]._zod;return this.io==="input"?z.optin===void 0:z.optout===void 0}));k.size>0&&(f.required=Array.from(k)),r.catchall?._zod.def.type==="never"?f.additionalProperties=!1:r.catchall?r.catchall&&(f.additionalProperties=this.process(r.catchall,{...c,path:[...c.path,"additionalProperties"]})):this.io==="output"&&(f.additionalProperties=!1);break}case"union":{let f=v;f.anyOf=r.options.map((x,b)=>this.process(x,{...c,path:[...c.path,"anyOf",b]}));break}case"intersection":{let f=v,x=this.process(r.left,{...c,path:[...c.path,"allOf",0]}),b=this.process(r.right,{...c,path:[...c.path,"allOf",1]}),k=z=>"allOf"in z&&Object.keys(z).length===1,$=[...k(x)?x.allOf:[x],...k(b)?b.allOf:[b]];f.allOf=$;break}case"tuple":{let f=v;f.type="array";let x=r.items.map(($,z)=>this.process($,{...c,path:[...c.path,"prefixItems",z]}));if(this.target==="draft-2020-12"?f.prefixItems=x:f.items=x,r.rest){let $=this.process(r.rest,{...c,path:[...c.path,"items"]});this.target==="draft-2020-12"?f.items=$:f.additionalItems=$}r.rest&&(f.items=this.process(r.rest,{...c,path:[...c.path,"items"]}));let{minimum:b,maximum:k}=t._zod.bag;typeof b=="number"&&(f.minItems=b),typeof k=="number"&&(f.maxItems=k);break}case"record":{let f=v;f.type="object",f.propertyNames=this.process(r.keyType,{...c,path:[...c.path,"propertyNames"]}),f.additionalProperties=this.process(r.valueType,{...c,path:[...c.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{let f=v,x=wn(r.entries);x.every(b=>typeof b=="number")&&(f.type="number"),x.every(b=>typeof b=="string")&&(f.type="string"),f.enum=x;break}case"literal":{let f=v,x=[];for(let b of r.values)if(b===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof b=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");x.push(Number(b))}else x.push(b);if(x.length!==0)if(x.length===1){let b=x[0];f.type=b===null?"null":typeof b,f.const=b}else x.every(b=>typeof b=="number")&&(f.type="number"),x.every(b=>typeof b=="string")&&(f.type="string"),x.every(b=>typeof b=="boolean")&&(f.type="string"),x.every(b=>b===null)&&(f.type="null"),f.enum=x;break}case"file":{let f=v,x={type:"string",format:"binary",contentEncoding:"binary"},{minimum:b,maximum:k,mime:$}=t._zod.bag;b!==void 0&&(x.minLength=b),k!==void 0&&(x.maxLength=k),$?$.length===1?(x.contentMediaType=$[0],Object.assign(f,x)):f.anyOf=$.map(z=>({...x,contentMediaType:z})):Object.assign(f,x);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let f=this.process(r.innerType,c);v.anyOf=[f,{type:"null"}];break}case"nonoptional":{this.process(r.innerType,c),s.ref=r.innerType;break}case"success":{let f=v;f.type="boolean";break}case"default":{this.process(r.innerType,c),s.ref=r.innerType,v.default=JSON.parse(JSON.stringify(r.defaultValue));break}case"prefault":{this.process(r.innerType,c),s.ref=r.innerType,this.io==="input"&&(v._prefault=JSON.parse(JSON.stringify(r.defaultValue)));break}case"catch":{this.process(r.innerType,c),s.ref=r.innerType;let f;try{f=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}v.default=f;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let f=v,x=t._zod.pattern;if(!x)throw new Error("Pattern not found in template literal");f.type="string",f.pattern=x.source;break}case"pipe":{let f=this.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;this.process(f,c),s.ref=f;break}case"readonly":{this.process(r.innerType,c),s.ref=r.innerType,v.readOnly=!0;break}case"promise":{this.process(r.innerType,c),s.ref=r.innerType;break}case"optional":{this.process(r.innerType,c),s.ref=r.innerType;break}case"lazy":{let f=t._zod.innerType;this.process(f,c),s.ref=f;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}default:}}}let l=this.metadataRegistry.get(t);return l&&Object.assign(s.schema,l),this.io==="input"&&_e(t)&&(delete s.schema.examples,delete s.schema.default),this.io==="input"&&s.schema._prefault&&((o=s.schema).default??(o.default=s.schema._prefault)),delete s.schema._prefault,this.seen.get(t).schema}emit(t,n){let o={cycles:n?.cycles??"ref",reused:n?.reused??"inline",external:n?.external??void 0},r=this.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=m=>{let c=this.target==="draft-2020-12"?"$defs":"definitions";if(o.external){let x=o.external.registry.get(m[0])?.id,b=o.external.uri??($=>$);if(x)return{ref:b(x)};let k=m[1].defId??m[1].schema.id??`schema${this.counter++}`;return m[1].defId=k,{defId:k,ref:`${b("__shared")}#/${c}/${k}`}}if(m[1]===r)return{ref:"#"};let v=`#/${c}/`,f=m[1].schema.id??`__schema${this.counter++}`;return{defId:f,ref:v+f}},a=m=>{if(m[1].schema.$ref)return;let c=m[1],{ref:g,defId:v}=i(m);c.def={...c.schema},v&&(c.defId=v);let f=c.schema;for(let x in f)delete f[x];f.$ref=g};if(o.cycles==="throw")for(let m of this.seen.entries()){let c=m[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
1074
+
1075
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let m of this.seen.entries()){let c=m[1];if(t===m[0]){a(m);continue}if(o.external){let v=o.external.registry.get(m[0])?.id;if(t!==m[0]&&v){a(m);continue}}if(this.metadataRegistry.get(m[0])?.id){a(m);continue}if(c.cycle){a(m);continue}if(c.count>1&&o.reused==="ref"){a(m);continue}}let s=(m,c)=>{let g=this.seen.get(m),v=g.def??g.schema,f={...v};if(g.ref===null)return;let x=g.ref;if(g.ref=null,x){s(x,c);let b=this.seen.get(x).schema;b.$ref&&c.target==="draft-7"?(v.allOf=v.allOf??[],v.allOf.push(b)):(Object.assign(v,b),Object.assign(v,f))}g.isParent||this.override({zodSchema:m,jsonSchema:v,path:g.path??[]})};for(let m of[...this.seen.entries()].reverse())s(m[0],{target:this.target});let u={};if(this.target==="draft-2020-12"?u.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?u.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),o.external?.uri){let m=o.external.registry.get(t)?.id;if(!m)throw new Error("Schema is missing an `id` property");u.$id=o.external.uri(m)}Object.assign(u,r.def);let l=o.external?.defs??{};for(let m of this.seen.entries()){let c=m[1];c.def&&c.defId&&(l[c.defId]=c.def)}o.external||Object.keys(l).length>0&&(this.target==="draft-2020-12"?u.$defs=l:u.definitions=l);try{return JSON.parse(JSON.stringify(u))}catch{throw new Error("Error converting schema to JSON.")}}}});var Dv={};var qv=j(()=>{});var ut={};$t(ut,{$ZodAny:()=>nl,$ZodArray:()=>Dn,$ZodAsyncError:()=>ot,$ZodBase64:()=>Bc,$ZodBase64URL:()=>Gc,$ZodBigInt:()=>bi,$ZodBigIntFormat:()=>Xc,$ZodBoolean:()=>Nn,$ZodCIDRv4:()=>Fc,$ZodCIDRv6:()=>Hc,$ZodCUID:()=>Cc,$ZodCUID2:()=>Ec,$ZodCatch:()=>$l,$ZodCheck:()=>de,$ZodCheckBigIntFormat:()=>sc,$ZodCheckEndsWith:()=>yc,$ZodCheckGreaterThan:()=>gi,$ZodCheckIncludes:()=>vc,$ZodCheckLengthEquals:()=>mc,$ZodCheckLessThan:()=>fi,$ZodCheckLowerCase:()=>gc,$ZodCheckMaxLength:()=>pc,$ZodCheckMaxSize:()=>uc,$ZodCheckMimeType:()=>xc,$ZodCheckMinLength:()=>dc,$ZodCheckMinSize:()=>cc,$ZodCheckMultipleOf:()=>ic,$ZodCheckNumberFormat:()=>ac,$ZodCheckOverwrite:()=>$c,$ZodCheckProperty:()=>bc,$ZodCheckRegex:()=>fc,$ZodCheckSizeEquals:()=>lc,$ZodCheckStartsWith:()=>_c,$ZodCheckStringFormat:()=>hr,$ZodCheckUpperCase:()=>hc,$ZodCustom:()=>Pl,$ZodCustomStringFormat:()=>Yc,$ZodDate:()=>al,$ZodDefault:()=>_l,$ZodDiscriminatedUnion:()=>ul,$ZodE164:()=>Jc,$ZodEmail:()=>Tc,$ZodEmoji:()=>Oc,$ZodEnum:()=>ml,$ZodError:()=>On,$ZodFile:()=>gl,$ZodFunction:()=>Qi,$ZodGUID:()=>Ic,$ZodIPv4:()=>Zc,$ZodIPv6:()=>Wc,$ZodISODate:()=>Uc,$ZodISODateTime:()=>qc,$ZodISODuration:()=>Mc,$ZodISOTime:()=>Lc,$ZodIntersection:()=>cl,$ZodJWT:()=>Kc,$ZodKSUID:()=>Dc,$ZodLazy:()=>Il,$ZodLiteral:()=>fl,$ZodMap:()=>pl,$ZodNaN:()=>Sl,$ZodNanoID:()=>jc,$ZodNever:()=>ol,$ZodNonOptional:()=>bl,$ZodNull:()=>rl,$ZodNullable:()=>vl,$ZodNumber:()=>yi,$ZodNumberFormat:()=>Qc,$ZodObject:()=>sl,$ZodOptional:()=>hl,$ZodPipe:()=>Un,$ZodPrefault:()=>yl,$ZodPromise:()=>zl,$ZodReadonly:()=>kl,$ZodRealError:()=>dr,$ZodRecord:()=>ll,$ZodRegistry:()=>yr,$ZodSet:()=>dl,$ZodString:()=>Zt,$ZodStringFormat:()=>ne,$ZodSuccess:()=>xl,$ZodSymbol:()=>el,$ZodTemplateLiteral:()=>wl,$ZodTransform:()=>qn,$ZodTuple:()=>Wt,$ZodType:()=>q,$ZodULID:()=>Rc,$ZodURL:()=>Ac,$ZodUUID:()=>Pc,$ZodUndefined:()=>tl,$ZodUnion:()=>xi,$ZodUnknown:()=>vr,$ZodVoid:()=>il,$ZodXID:()=>Nc,$brand:()=>ni,$constructor:()=>_,$input:()=>ki,$output:()=>Si,Doc:()=>Rn,JSONSchema:()=>Dv,JSONSchemaGenerator:()=>Fn,NEVER:()=>ri,TimePrecision:()=>Vi,_any:()=>ep,_array:()=>Wn,_base64:()=>Zi,_base64url:()=>Wi,_bigint:()=>Bl,_boolean:()=>Hl,_catch:()=>D1,_cidrv4:()=>Li,_cidrv6:()=>Mi,_coercedBigint:()=>Gl,_coercedBoolean:()=>Vl,_coercedDate:()=>op,_coercedNumber:()=>Ul,_coercedString:()=>Cl,_cuid:()=>Ci,_cuid2:()=>Ei,_custom:()=>up,_date:()=>np,_default:()=>E1,_discriminatedUnion:()=>S1,_e164:()=>Fi,_email:()=>wi,_emoji:()=>Oi,_endsWith:()=>Ir,_enum:()=>P1,_file:()=>sp,_float32:()=>Ml,_float64:()=>Zl,_gt:()=>at,_gte:()=>Re,_guid:()=>Zn,_includes:()=>wr,_int:()=>Ll,_int32:()=>Wl,_int64:()=>Jl,_intersection:()=>k1,_ipv4:()=>qi,_ipv6:()=>Ui,_isoDate:()=>Rl,_isoDateTime:()=>El,_isoDuration:()=>Dl,_isoTime:()=>Nl,_jwt:()=>Hi,_ksuid:()=>Di,_lazy:()=>M1,_length:()=>Vt,_literal:()=>A1,_lowercase:()=>Sr,_lt:()=>it,_lte:()=>He,_map:()=>z1,_max:()=>He,_maxLength:()=>Ht,_maxSize:()=>Ft,_mime:()=>Pr,_min:()=>Re,_minLength:()=>ht,_minSize:()=>Pt,_multipleOf:()=>It,_nan:()=>ip,_nanoid:()=>ji,_nativeEnum:()=>T1,_negative:()=>Gi,_never:()=>tp,_nonnegative:()=>Ki,_nonoptional:()=>R1,_nonpositive:()=>Ji,_normalize:()=>Tr,_null:()=>Xl,_nullable:()=>C1,_number:()=>ql,_optional:()=>j1,_overwrite:()=>st,_parse:()=>si,_parseAsync:()=>ui,_pipe:()=>q1,_positive:()=>Bi,_promise:()=>Z1,_property:()=>Yi,_readonly:()=>U1,_record:()=>w1,_refine:()=>cp,_regex:()=>$r,_safeParse:()=>ci,_safeParseAsync:()=>li,_set:()=>I1,_size:()=>xr,_startsWith:()=>zr,_string:()=>jl,_stringFormat:()=>pp,_stringbool:()=>lp,_success:()=>N1,_symbol:()=>Yl,_templateLiteral:()=>L1,_toLowerCase:()=>Or,_toUpperCase:()=>jr,_transform:()=>O1,_trim:()=>Ar,_tuple:()=>ap,_uint32:()=>Fl,_uint64:()=>Kl,_ulid:()=>Ri,_undefined:()=>Ql,_union:()=>$1,_unknown:()=>br,_uppercase:()=>kr,_url:()=>Ai,_uuid:()=>zi,_uuidv4:()=>Ii,_uuidv6:()=>Pi,_uuidv7:()=>Ti,_void:()=>rp,_xid:()=>Ni,clone:()=>De,config:()=>fe,flattenError:()=>mr,formatError:()=>fr,function:()=>Xi,globalConfig:()=>Sn,globalRegistry:()=>Qe,isValidBase64:()=>Vc,isValidBase64URL:()=>uh,isValidJWT:()=>ch,locales:()=>_r,parse:()=>jn,parseAsync:()=>Cn,prettifyError:()=>ai,regexes:()=>zt,registry:()=>Mn,safeParse:()=>gr,safeParseAsync:()=>En,toDotPath:()=>Fg,toJSONSchema:()=>ea,treeifyError:()=>ii,util:()=>P,version:()=>kc});var Ue=j(()=>{cr();pi();Tu();Ln();hi();wc();N();mi();Al();Ol();Sc();Rv();dp();Nv();qv()});var mp=j(()=>{Ue()});var Bt={};$t(Bt,{ZodISODate:()=>Vn,ZodISODateTime:()=>Hn,ZodISODuration:()=>Gn,ZodISOTime:()=>Bn,date:()=>gp,datetime:()=>fp,duration:()=>vp,time:()=>hp});function fp(e){return El(Hn,e)}function gp(e){return Rl(Vn,e)}function hp(e){return Nl(Bn,e)}function vp(e){return Dl(Gn,e)}var Hn,Vn,Bn,Gn,na=j(()=>{Ue();oa();Hn=_("ZodISODateTime",(e,t)=>{qc.init(e,t),oe.init(e,t)});Vn=_("ZodISODate",(e,t)=>{Uc.init(e,t),oe.init(e,t)});Bn=_("ZodISOTime",(e,t)=>{Lc.init(e,t),oe.init(e,t)});Gn=_("ZodISODuration",(e,t)=>{Mc.init(e,t),oe.init(e,t)})});var Zv,Wv,Gt,_p=j(()=>{Ue();Ue();Zv=(e,t)=>{On.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>fr(e,n)},flatten:{value:n=>mr(e,n)},addIssue:{value:n=>e.issues.push(n)},addIssues:{value:n=>e.issues.push(...n)},isEmpty:{get(){return e.issues.length===0}}})},Wv=_("ZodError",Zv),Gt=_("ZodError",Zv,{Parent:Error})});var ia,aa,sa,ua,yp=j(()=>{Ue();_p();ia=si(Gt),aa=ui(Gt),sa=ci(Gt),ua=li(Gt)});function y(e){return jl(Er,e)}function Fv(e){return wi(pa,e)}function Hv(e){return Zn(Jn,e)}function Vv(e){return zi(ct,e)}function Bv(e){return Ii(ct,e)}function Gv(e){return Pi(ct,e)}function Jv(e){return Ti(ct,e)}function Kv(e){return Ai(da,e)}function Yv(e){return Oi(ma,e)}function Qv(e){return ji(fa,e)}function Xv(e){return Ci(ga,e)}function e_(e){return Ei(ha,e)}function t_(e){return Ri(va,e)}function r_(e){return Ni(_a,e)}function n_(e){return Di(ya,e)}function o_(e){return qi(ba,e)}function i_(e){return Ui(xa,e)}function a_(e){return Li($a,e)}function s_(e){return Mi(Sa,e)}function u_(e){return Zi(ka,e)}function c_(e){return Wi(wa,e)}function l_(e){return Fi(za,e)}function p_(e){return Hi(Ia,e)}function d_(e,t,n={}){return pp(bp,e,t,n)}function B(e){return ql(Rr,e)}function ca(e){return Ll(Jt,e)}function m_(e){return Ml(Jt,e)}function f_(e){return Zl(Jt,e)}function g_(e){return Wl(Jt,e)}function h_(e){return Fl(Jt,e)}function ge(e){return Hl(Nr,e)}function v_(e){return Bl(Dr,e)}function __(e){return Jl(Pa,e)}function y_(e){return Kl(Pa,e)}function b_(e){return Yl(xp,e)}function x_(e){return Ql($p,e)}function Qn(e){return Xl(Sp,e)}function $_(){return ep(kp)}function ae(){return br(wp)}function Xn(e){return tp(zp,e)}function S_(e){return rp(Ip,e)}function k_(e){return np(eo,e)}function W(e,t){return Wn(Pp,e,t)}function w_(e){let t=e._zod.def.shape;return E(Object.keys(t))}function A(e,t){let n={type:"object",get shape(){return P.assignProp(this,"shape",{...e}),this.shape},...P.normalizeParams(t)};return new to(n)}function z_(e,t){return new to({type:"object",get shape(){return P.assignProp(this,"shape",{...e}),this.shape},catchall:Xn(),...P.normalizeParams(t)})}function we(e,t){return new to({type:"object",get shape(){return P.assignProp(this,"shape",{...e}),this.shape},catchall:ae(),...P.normalizeParams(t)})}function Q(e,t){return new Ta({type:"union",options:e,...P.normalizeParams(t)})}function ro(e,t,n){return new Tp({type:"union",options:t,discriminator:e,...P.normalizeParams(n)})}function qr(e,t){return new Ap({type:"intersection",left:e,right:t})}function I_(e,t,n){let o=t instanceof q,r=o?n:t,i=o?t:null;return new Op({type:"tuple",items:e,rest:i,...P.normalizeParams(r)})}function X(e,t,n){return new Aa({type:"record",keyType:e,valueType:t,...P.normalizeParams(n)})}function P_(e,t,n){return new Aa({type:"record",keyType:Q([e,Xn()]),valueType:t,...P.normalizeParams(n)})}function T_(e,t,n){return new jp({type:"map",keyType:e,valueType:t,...P.normalizeParams(n)})}function A_(e,t){return new Cp({type:"set",valueType:e,...P.normalizeParams(t)})}function Ae(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Cr({type:"enum",entries:n,...P.normalizeParams(t)})}function O_(e,t){return new Cr({type:"enum",entries:e,...P.normalizeParams(t)})}function E(e,t){return new Ep({type:"literal",values:Array.isArray(e)?e:[e],...P.normalizeParams(t)})}function j_(e){return sp(Rp,e)}function ja(e){return new Oa({type:"transform",transform:e})}function ie(e){return new Ca({type:"optional",innerType:e})}function Kn(e){return new Np({type:"nullable",innerType:e})}function C_(e){return ie(Kn(e))}function qp(e,t){return new Dp({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}function Lp(e,t){return new Up({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}function Mp(e,t){return new Ea({type:"nonoptional",innerType:e,...P.normalizeParams(t)})}function E_(e){return new Zp({type:"success",innerType:e})}function Fp(e,t){return new Wp({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}function R_(e){return ip(Hp,e)}function Yn(e,t){return new Ra({type:"pipe",in:e,out:t})}function Bp(e){return new Vp({type:"readonly",innerType:e})}function N_(e,t){return new Gp({type:"template_literal",parts:e,...P.normalizeParams(t)})}function Kp(e){return new Jp({type:"lazy",getter:e})}function D_(e){return new Yp({type:"promise",innerType:e})}function Qp(e){let t=new de({check:"custom"});return t._zod.check=e,t}function Na(e,t){return up(no,e??(()=>!0),t)}function Xp(e,t={}){return cp(no,e,t)}function ed(e){let t=Qp(n=>(n.addIssue=o=>{if(typeof o=="string")n.issues.push(P.issue(o,n.value,t._zod.def));else{let r=o;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(P.issue(r))}},e(n.value,n)));return t}function q_(e,t={error:`Input not instance of ${e.name}`}){let n=new no({type:"custom",check:"custom",fn:o=>o instanceof e,abort:!0,...P.normalizeParams(t)});return n._zod.bag.Class=e,n}function L_(e){let t=Kp(()=>Q([y(e),B(),ge(),Qn(),W(t),X(y(),t)]));return t}function oo(e,t){return Yn(ja(e),t)}var Z,la,Er,oe,pa,Jn,ct,da,ma,fa,ga,ha,va,_a,ya,ba,xa,$a,Sa,ka,wa,za,Ia,bp,Rr,Jt,Nr,Dr,Pa,xp,$p,Sp,kp,wp,zp,Ip,eo,Pp,to,Ta,Tp,Ap,Op,Aa,jp,Cp,Cr,Ep,Rp,Oa,Ca,Np,Dp,Up,Ea,Zp,Wp,Hp,Ra,Vp,Gp,Jp,Yp,no,U_,oa=j(()=>{Ue();Ue();mp();na();yp();Z=_("ZodType",(e,t)=>(q.init(e,t),e.def=t,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone({...t,checks:[...t.checks??[],...n.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]}),e.clone=(n,o)=>De(e,n,o),e.brand=()=>e,e.register=((n,o)=>(n.add(e,o),e)),e.parse=(n,o)=>ia(e,n,o,{callee:e.parse}),e.safeParse=(n,o)=>sa(e,n,o),e.parseAsync=async(n,o)=>aa(e,n,o,{callee:e.parseAsync}),e.safeParseAsync=async(n,o)=>ua(e,n,o),e.spa=e.safeParseAsync,e.refine=(n,o)=>e.check(Xp(n,o)),e.superRefine=n=>e.check(ed(n)),e.overwrite=n=>e.check(st(n)),e.optional=()=>ie(e),e.nullable=()=>Kn(e),e.nullish=()=>ie(Kn(e)),e.nonoptional=n=>Mp(e,n),e.array=()=>W(e),e.or=n=>Q([e,n]),e.and=n=>qr(e,n),e.transform=n=>Yn(e,ja(n)),e.default=n=>qp(e,n),e.prefault=n=>Lp(e,n),e.catch=n=>Fp(e,n),e.pipe=n=>Yn(e,n),e.readonly=()=>Bp(e),e.describe=n=>{let o=e.clone();return Qe.add(o,{description:n}),o},Object.defineProperty(e,"description",{get(){return Qe.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return Qe.get(e);let o=e.clone();return Qe.add(o,n[0]),o},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),la=_("_ZodString",(e,t)=>{Zt.init(e,t),Z.init(e,t);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...o)=>e.check($r(...o)),e.includes=(...o)=>e.check(wr(...o)),e.startsWith=(...o)=>e.check(zr(...o)),e.endsWith=(...o)=>e.check(Ir(...o)),e.min=(...o)=>e.check(ht(...o)),e.max=(...o)=>e.check(Ht(...o)),e.length=(...o)=>e.check(Vt(...o)),e.nonempty=(...o)=>e.check(ht(1,...o)),e.lowercase=o=>e.check(Sr(o)),e.uppercase=o=>e.check(kr(o)),e.trim=()=>e.check(Ar()),e.normalize=(...o)=>e.check(Tr(...o)),e.toLowerCase=()=>e.check(Or()),e.toUpperCase=()=>e.check(jr())}),Er=_("ZodString",(e,t)=>{Zt.init(e,t),la.init(e,t),e.email=n=>e.check(wi(pa,n)),e.url=n=>e.check(Ai(da,n)),e.jwt=n=>e.check(Hi(Ia,n)),e.emoji=n=>e.check(Oi(ma,n)),e.guid=n=>e.check(Zn(Jn,n)),e.uuid=n=>e.check(zi(ct,n)),e.uuidv4=n=>e.check(Ii(ct,n)),e.uuidv6=n=>e.check(Pi(ct,n)),e.uuidv7=n=>e.check(Ti(ct,n)),e.nanoid=n=>e.check(ji(fa,n)),e.guid=n=>e.check(Zn(Jn,n)),e.cuid=n=>e.check(Ci(ga,n)),e.cuid2=n=>e.check(Ei(ha,n)),e.ulid=n=>e.check(Ri(va,n)),e.base64=n=>e.check(Zi(ka,n)),e.base64url=n=>e.check(Wi(wa,n)),e.xid=n=>e.check(Ni(_a,n)),e.ksuid=n=>e.check(Di(ya,n)),e.ipv4=n=>e.check(qi(ba,n)),e.ipv6=n=>e.check(Ui(xa,n)),e.cidrv4=n=>e.check(Li($a,n)),e.cidrv6=n=>e.check(Mi(Sa,n)),e.e164=n=>e.check(Fi(za,n)),e.datetime=n=>e.check(fp(n)),e.date=n=>e.check(gp(n)),e.time=n=>e.check(hp(n)),e.duration=n=>e.check(vp(n))});oe=_("ZodStringFormat",(e,t)=>{ne.init(e,t),la.init(e,t)}),pa=_("ZodEmail",(e,t)=>{Tc.init(e,t),oe.init(e,t)});Jn=_("ZodGUID",(e,t)=>{Ic.init(e,t),oe.init(e,t)});ct=_("ZodUUID",(e,t)=>{Pc.init(e,t),oe.init(e,t)});da=_("ZodURL",(e,t)=>{Ac.init(e,t),oe.init(e,t)});ma=_("ZodEmoji",(e,t)=>{Oc.init(e,t),oe.init(e,t)});fa=_("ZodNanoID",(e,t)=>{jc.init(e,t),oe.init(e,t)});ga=_("ZodCUID",(e,t)=>{Cc.init(e,t),oe.init(e,t)});ha=_("ZodCUID2",(e,t)=>{Ec.init(e,t),oe.init(e,t)});va=_("ZodULID",(e,t)=>{Rc.init(e,t),oe.init(e,t)});_a=_("ZodXID",(e,t)=>{Nc.init(e,t),oe.init(e,t)});ya=_("ZodKSUID",(e,t)=>{Dc.init(e,t),oe.init(e,t)});ba=_("ZodIPv4",(e,t)=>{Zc.init(e,t),oe.init(e,t)});xa=_("ZodIPv6",(e,t)=>{Wc.init(e,t),oe.init(e,t)});$a=_("ZodCIDRv4",(e,t)=>{Fc.init(e,t),oe.init(e,t)});Sa=_("ZodCIDRv6",(e,t)=>{Hc.init(e,t),oe.init(e,t)});ka=_("ZodBase64",(e,t)=>{Bc.init(e,t),oe.init(e,t)});wa=_("ZodBase64URL",(e,t)=>{Gc.init(e,t),oe.init(e,t)});za=_("ZodE164",(e,t)=>{Jc.init(e,t),oe.init(e,t)});Ia=_("ZodJWT",(e,t)=>{Kc.init(e,t),oe.init(e,t)});bp=_("ZodCustomStringFormat",(e,t)=>{Yc.init(e,t),oe.init(e,t)});Rr=_("ZodNumber",(e,t)=>{yi.init(e,t),Z.init(e,t),e.gt=(o,r)=>e.check(at(o,r)),e.gte=(o,r)=>e.check(Re(o,r)),e.min=(o,r)=>e.check(Re(o,r)),e.lt=(o,r)=>e.check(it(o,r)),e.lte=(o,r)=>e.check(He(o,r)),e.max=(o,r)=>e.check(He(o,r)),e.int=o=>e.check(ca(o)),e.safe=o=>e.check(ca(o)),e.positive=o=>e.check(at(0,o)),e.nonnegative=o=>e.check(Re(0,o)),e.negative=o=>e.check(it(0,o)),e.nonpositive=o=>e.check(He(0,o)),e.multipleOf=(o,r)=>e.check(It(o,r)),e.step=(o,r)=>e.check(It(o,r)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});Jt=_("ZodNumberFormat",(e,t)=>{Qc.init(e,t),Rr.init(e,t)});Nr=_("ZodBoolean",(e,t)=>{Nn.init(e,t),Z.init(e,t)});Dr=_("ZodBigInt",(e,t)=>{bi.init(e,t),Z.init(e,t),e.gte=(o,r)=>e.check(Re(o,r)),e.min=(o,r)=>e.check(Re(o,r)),e.gt=(o,r)=>e.check(at(o,r)),e.gte=(o,r)=>e.check(Re(o,r)),e.min=(o,r)=>e.check(Re(o,r)),e.lt=(o,r)=>e.check(it(o,r)),e.lte=(o,r)=>e.check(He(o,r)),e.max=(o,r)=>e.check(He(o,r)),e.positive=o=>e.check(at(BigInt(0),o)),e.negative=o=>e.check(it(BigInt(0),o)),e.nonpositive=o=>e.check(He(BigInt(0),o)),e.nonnegative=o=>e.check(Re(BigInt(0),o)),e.multipleOf=(o,r)=>e.check(It(o,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});Pa=_("ZodBigIntFormat",(e,t)=>{Xc.init(e,t),Dr.init(e,t)});xp=_("ZodSymbol",(e,t)=>{el.init(e,t),Z.init(e,t)});$p=_("ZodUndefined",(e,t)=>{tl.init(e,t),Z.init(e,t)});Sp=_("ZodNull",(e,t)=>{rl.init(e,t),Z.init(e,t)});kp=_("ZodAny",(e,t)=>{nl.init(e,t),Z.init(e,t)});wp=_("ZodUnknown",(e,t)=>{vr.init(e,t),Z.init(e,t)});zp=_("ZodNever",(e,t)=>{ol.init(e,t),Z.init(e,t)});Ip=_("ZodVoid",(e,t)=>{il.init(e,t),Z.init(e,t)});eo=_("ZodDate",(e,t)=>{al.init(e,t),Z.init(e,t),e.min=(o,r)=>e.check(Re(o,r)),e.max=(o,r)=>e.check(He(o,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});Pp=_("ZodArray",(e,t)=>{Dn.init(e,t),Z.init(e,t),e.element=t.element,e.min=(n,o)=>e.check(ht(n,o)),e.nonempty=n=>e.check(ht(1,n)),e.max=(n,o)=>e.check(Ht(n,o)),e.length=(n,o)=>e.check(Vt(n,o)),e.unwrap=()=>e.element});to=_("ZodObject",(e,t)=>{sl.init(e,t),Z.init(e,t),P.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>Ae(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:ae()}),e.loose=()=>e.clone({...e._zod.def,catchall:ae()}),e.strict=()=>e.clone({...e._zod.def,catchall:Xn()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>P.extend(e,n),e.merge=n=>P.merge(e,n),e.pick=n=>P.pick(e,n),e.omit=n=>P.omit(e,n),e.partial=(...n)=>P.partial(Ca,e,n[0]),e.required=(...n)=>P.required(Ea,e,n[0])});Ta=_("ZodUnion",(e,t)=>{xi.init(e,t),Z.init(e,t),e.options=t.options});Tp=_("ZodDiscriminatedUnion",(e,t)=>{Ta.init(e,t),ul.init(e,t)});Ap=_("ZodIntersection",(e,t)=>{cl.init(e,t),Z.init(e,t)});Op=_("ZodTuple",(e,t)=>{Wt.init(e,t),Z.init(e,t),e.rest=n=>e.clone({...e._zod.def,rest:n})});Aa=_("ZodRecord",(e,t)=>{ll.init(e,t),Z.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});jp=_("ZodMap",(e,t)=>{pl.init(e,t),Z.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});Cp=_("ZodSet",(e,t)=>{dl.init(e,t),Z.init(e,t),e.min=(...n)=>e.check(Pt(...n)),e.nonempty=n=>e.check(Pt(1,n)),e.max=(...n)=>e.check(Ft(...n)),e.size=(...n)=>e.check(xr(...n))});Cr=_("ZodEnum",(e,t)=>{ml.init(e,t),Z.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(o,r)=>{let i={};for(let a of o)if(n.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Cr({...t,checks:[],...P.normalizeParams(r),entries:i})},e.exclude=(o,r)=>{let i={...t.entries};for(let a of o)if(n.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new Cr({...t,checks:[],...P.normalizeParams(r),entries:i})}});Ep=_("ZodLiteral",(e,t)=>{fl.init(e,t),Z.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});Rp=_("ZodFile",(e,t)=>{gl.init(e,t),Z.init(e,t),e.min=(n,o)=>e.check(Pt(n,o)),e.max=(n,o)=>e.check(Ft(n,o)),e.mime=(n,o)=>e.check(Pr(Array.isArray(n)?n:[n],o))});Oa=_("ZodTransform",(e,t)=>{qn.init(e,t),Z.init(e,t),e._zod.parse=(n,o)=>{n.addIssue=i=>{if(typeof i=="string")n.issues.push(P.issue(i,n.value,t));else{let a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=n.value),a.inst??(a.inst=e),a.continue??(a.continue=!0),n.issues.push(P.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(i=>(n.value=i,n)):(n.value=r,n)}});Ca=_("ZodOptional",(e,t)=>{hl.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType});Np=_("ZodNullable",(e,t)=>{vl.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType});Dp=_("ZodDefault",(e,t)=>{_l.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});Up=_("ZodPrefault",(e,t)=>{yl.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType});Ea=_("ZodNonOptional",(e,t)=>{bl.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType});Zp=_("ZodSuccess",(e,t)=>{xl.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType});Wp=_("ZodCatch",(e,t)=>{$l.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});Hp=_("ZodNaN",(e,t)=>{Sl.init(e,t),Z.init(e,t)});Ra=_("ZodPipe",(e,t)=>{Un.init(e,t),Z.init(e,t),e.in=t.in,e.out=t.out});Vp=_("ZodReadonly",(e,t)=>{kl.init(e,t),Z.init(e,t)});Gp=_("ZodTemplateLiteral",(e,t)=>{wl.init(e,t),Z.init(e,t)});Jp=_("ZodLazy",(e,t)=>{Il.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.getter()});Yp=_("ZodPromise",(e,t)=>{zl.init(e,t),Z.init(e,t),e.unwrap=()=>e._zod.def.innerType});no=_("ZodCustom",(e,t)=>{Pl.init(e,t),Z.init(e,t)});U_=(...e)=>lp({Pipe:Ra,Boolean:Nr,String:Er,Transform:Oa},...e)});function Z_(e){fe({customError:e})}function W_(){return fe().customError}var M_,F_=j(()=>{Ue();M_={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"}});var Da={};$t(Da,{bigint:()=>G1,boolean:()=>B1,date:()=>J1,number:()=>V1,string:()=>H1});function H1(e){return Cl(Er,e)}function V1(e){return Ul(Rr,e)}function B1(e){return Vl(Nr,e)}function G1(e){return Gl(Dr,e)}function J1(e){return op(eo,e)}var H_=j(()=>{Ue();oa()});var d={};$t(d,{$brand:()=>ni,$input:()=>ki,$output:()=>Si,NEVER:()=>ri,TimePrecision:()=>Vi,ZodAny:()=>kp,ZodArray:()=>Pp,ZodBase64:()=>ka,ZodBase64URL:()=>wa,ZodBigInt:()=>Dr,ZodBigIntFormat:()=>Pa,ZodBoolean:()=>Nr,ZodCIDRv4:()=>$a,ZodCIDRv6:()=>Sa,ZodCUID:()=>ga,ZodCUID2:()=>ha,ZodCatch:()=>Wp,ZodCustom:()=>no,ZodCustomStringFormat:()=>bp,ZodDate:()=>eo,ZodDefault:()=>Dp,ZodDiscriminatedUnion:()=>Tp,ZodE164:()=>za,ZodEmail:()=>pa,ZodEmoji:()=>ma,ZodEnum:()=>Cr,ZodError:()=>Wv,ZodFile:()=>Rp,ZodGUID:()=>Jn,ZodIPv4:()=>ba,ZodIPv6:()=>xa,ZodISODate:()=>Vn,ZodISODateTime:()=>Hn,ZodISODuration:()=>Gn,ZodISOTime:()=>Bn,ZodIntersection:()=>Ap,ZodIssueCode:()=>M_,ZodJWT:()=>Ia,ZodKSUID:()=>ya,ZodLazy:()=>Jp,ZodLiteral:()=>Ep,ZodMap:()=>jp,ZodNaN:()=>Hp,ZodNanoID:()=>fa,ZodNever:()=>zp,ZodNonOptional:()=>Ea,ZodNull:()=>Sp,ZodNullable:()=>Np,ZodNumber:()=>Rr,ZodNumberFormat:()=>Jt,ZodObject:()=>to,ZodOptional:()=>Ca,ZodPipe:()=>Ra,ZodPrefault:()=>Up,ZodPromise:()=>Yp,ZodReadonly:()=>Vp,ZodRealError:()=>Gt,ZodRecord:()=>Aa,ZodSet:()=>Cp,ZodString:()=>Er,ZodStringFormat:()=>oe,ZodSuccess:()=>Zp,ZodSymbol:()=>xp,ZodTemplateLiteral:()=>Gp,ZodTransform:()=>Oa,ZodTuple:()=>Op,ZodType:()=>Z,ZodULID:()=>va,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>$p,ZodUnion:()=>Ta,ZodUnknown:()=>wp,ZodVoid:()=>Ip,ZodXID:()=>_a,_ZodString:()=>la,_default:()=>qp,any:()=>$_,array:()=>W,base64:()=>u_,base64url:()=>c_,bigint:()=>v_,boolean:()=>ge,catch:()=>Fp,check:()=>Qp,cidrv4:()=>a_,cidrv6:()=>s_,clone:()=>De,coerce:()=>Da,config:()=>fe,core:()=>ut,cuid:()=>Xv,cuid2:()=>e_,custom:()=>Na,date:()=>k_,discriminatedUnion:()=>ro,e164:()=>l_,email:()=>Fv,emoji:()=>Yv,endsWith:()=>Ir,enum:()=>Ae,file:()=>j_,flattenError:()=>mr,float32:()=>m_,float64:()=>f_,formatError:()=>fr,function:()=>Xi,getErrorMap:()=>W_,globalRegistry:()=>Qe,gt:()=>at,gte:()=>Re,guid:()=>Hv,includes:()=>wr,instanceof:()=>q_,int:()=>ca,int32:()=>g_,int64:()=>__,intersection:()=>qr,ipv4:()=>o_,ipv6:()=>i_,iso:()=>Bt,json:()=>L_,jwt:()=>p_,keyof:()=>w_,ksuid:()=>n_,lazy:()=>Kp,length:()=>Vt,literal:()=>E,locales:()=>_r,looseObject:()=>we,lowercase:()=>Sr,lt:()=>it,lte:()=>He,map:()=>T_,maxLength:()=>Ht,maxSize:()=>Ft,mime:()=>Pr,minLength:()=>ht,minSize:()=>Pt,multipleOf:()=>It,nan:()=>R_,nanoid:()=>Qv,nativeEnum:()=>O_,negative:()=>Gi,never:()=>Xn,nonnegative:()=>Ki,nonoptional:()=>Mp,nonpositive:()=>Ji,normalize:()=>Tr,null:()=>Qn,nullable:()=>Kn,nullish:()=>C_,number:()=>B,object:()=>A,optional:()=>ie,overwrite:()=>st,parse:()=>ia,parseAsync:()=>aa,partialRecord:()=>P_,pipe:()=>Yn,positive:()=>Bi,prefault:()=>Lp,preprocess:()=>oo,prettifyError:()=>ai,promise:()=>D_,property:()=>Yi,readonly:()=>Bp,record:()=>X,refine:()=>Xp,regex:()=>$r,regexes:()=>zt,registry:()=>Mn,safeParse:()=>sa,safeParseAsync:()=>ua,set:()=>A_,setErrorMap:()=>Z_,size:()=>xr,startsWith:()=>zr,strictObject:()=>z_,string:()=>y,stringFormat:()=>d_,stringbool:()=>U_,success:()=>E_,superRefine:()=>ed,symbol:()=>b_,templateLiteral:()=>N_,toJSONSchema:()=>ea,toLowerCase:()=>Or,toUpperCase:()=>jr,transform:()=>ja,treeifyError:()=>ii,trim:()=>Ar,tuple:()=>I_,uint32:()=>h_,uint64:()=>y_,ulid:()=>t_,undefined:()=>x_,union:()=>Q,unknown:()=>ae,uppercase:()=>kr,url:()=>Kv,uuid:()=>Vv,uuidv4:()=>Bv,uuidv6:()=>Gv,uuidv7:()=>Jv,void:()=>S_,xid:()=>r_});var td=j(()=>{Ue();oa();mp();_p();yp();F_();Ue();Tl();Ue();Al();na();na();H_();fe($i())});var V_,rd=j(()=>{td();td();V_=d});var nd={};$t(nd,{$brand:()=>ni,$input:()=>ki,$output:()=>Si,NEVER:()=>ri,TimePrecision:()=>Vi,ZodAny:()=>kp,ZodArray:()=>Pp,ZodBase64:()=>ka,ZodBase64URL:()=>wa,ZodBigInt:()=>Dr,ZodBigIntFormat:()=>Pa,ZodBoolean:()=>Nr,ZodCIDRv4:()=>$a,ZodCIDRv6:()=>Sa,ZodCUID:()=>ga,ZodCUID2:()=>ha,ZodCatch:()=>Wp,ZodCustom:()=>no,ZodCustomStringFormat:()=>bp,ZodDate:()=>eo,ZodDefault:()=>Dp,ZodDiscriminatedUnion:()=>Tp,ZodE164:()=>za,ZodEmail:()=>pa,ZodEmoji:()=>ma,ZodEnum:()=>Cr,ZodError:()=>Wv,ZodFile:()=>Rp,ZodGUID:()=>Jn,ZodIPv4:()=>ba,ZodIPv6:()=>xa,ZodISODate:()=>Vn,ZodISODateTime:()=>Hn,ZodISODuration:()=>Gn,ZodISOTime:()=>Bn,ZodIntersection:()=>Ap,ZodIssueCode:()=>M_,ZodJWT:()=>Ia,ZodKSUID:()=>ya,ZodLazy:()=>Jp,ZodLiteral:()=>Ep,ZodMap:()=>jp,ZodNaN:()=>Hp,ZodNanoID:()=>fa,ZodNever:()=>zp,ZodNonOptional:()=>Ea,ZodNull:()=>Sp,ZodNullable:()=>Np,ZodNumber:()=>Rr,ZodNumberFormat:()=>Jt,ZodObject:()=>to,ZodOptional:()=>Ca,ZodPipe:()=>Ra,ZodPrefault:()=>Up,ZodPromise:()=>Yp,ZodReadonly:()=>Vp,ZodRealError:()=>Gt,ZodRecord:()=>Aa,ZodSet:()=>Cp,ZodString:()=>Er,ZodStringFormat:()=>oe,ZodSuccess:()=>Zp,ZodSymbol:()=>xp,ZodTemplateLiteral:()=>Gp,ZodTransform:()=>Oa,ZodTuple:()=>Op,ZodType:()=>Z,ZodULID:()=>va,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>$p,ZodUnion:()=>Ta,ZodUnknown:()=>wp,ZodVoid:()=>Ip,ZodXID:()=>_a,_ZodString:()=>la,_default:()=>qp,any:()=>$_,array:()=>W,base64:()=>u_,base64url:()=>c_,bigint:()=>v_,boolean:()=>ge,catch:()=>Fp,check:()=>Qp,cidrv4:()=>a_,cidrv6:()=>s_,clone:()=>De,coerce:()=>Da,config:()=>fe,core:()=>ut,cuid:()=>Xv,cuid2:()=>e_,custom:()=>Na,date:()=>k_,default:()=>K1,discriminatedUnion:()=>ro,e164:()=>l_,email:()=>Fv,emoji:()=>Yv,endsWith:()=>Ir,enum:()=>Ae,file:()=>j_,flattenError:()=>mr,float32:()=>m_,float64:()=>f_,formatError:()=>fr,function:()=>Xi,getErrorMap:()=>W_,globalRegistry:()=>Qe,gt:()=>at,gte:()=>Re,guid:()=>Hv,includes:()=>wr,instanceof:()=>q_,int:()=>ca,int32:()=>g_,int64:()=>__,intersection:()=>qr,ipv4:()=>o_,ipv6:()=>i_,iso:()=>Bt,json:()=>L_,jwt:()=>p_,keyof:()=>w_,ksuid:()=>n_,lazy:()=>Kp,length:()=>Vt,literal:()=>E,locales:()=>_r,looseObject:()=>we,lowercase:()=>Sr,lt:()=>it,lte:()=>He,map:()=>T_,maxLength:()=>Ht,maxSize:()=>Ft,mime:()=>Pr,minLength:()=>ht,minSize:()=>Pt,multipleOf:()=>It,nan:()=>R_,nanoid:()=>Qv,nativeEnum:()=>O_,negative:()=>Gi,never:()=>Xn,nonnegative:()=>Ki,nonoptional:()=>Mp,nonpositive:()=>Ji,normalize:()=>Tr,null:()=>Qn,nullable:()=>Kn,nullish:()=>C_,number:()=>B,object:()=>A,optional:()=>ie,overwrite:()=>st,parse:()=>ia,parseAsync:()=>aa,partialRecord:()=>P_,pipe:()=>Yn,positive:()=>Bi,prefault:()=>Lp,preprocess:()=>oo,prettifyError:()=>ai,promise:()=>D_,property:()=>Yi,readonly:()=>Bp,record:()=>X,refine:()=>Xp,regex:()=>$r,regexes:()=>zt,registry:()=>Mn,safeParse:()=>sa,safeParseAsync:()=>ua,set:()=>A_,setErrorMap:()=>Z_,size:()=>xr,startsWith:()=>zr,strictObject:()=>z_,string:()=>y,stringFormat:()=>d_,stringbool:()=>U_,success:()=>E_,superRefine:()=>ed,symbol:()=>b_,templateLiteral:()=>N_,toJSONSchema:()=>ea,toLowerCase:()=>Or,toUpperCase:()=>jr,transform:()=>ja,treeifyError:()=>ii,trim:()=>Ar,tuple:()=>I_,uint32:()=>h_,uint64:()=>y_,ulid:()=>t_,undefined:()=>x_,union:()=>Q,unknown:()=>ae,uppercase:()=>kr,url:()=>Kv,uuid:()=>Vv,uuidv4:()=>Bv,uuidv6:()=>Gv,uuidv7:()=>Jv,void:()=>S_,xid:()=>r_,z:()=>d});var K1,io=j(()=>{rd();rd();K1=V_});var xo=p((tte,Py)=>{var pE=Object.prototype;function dE(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||pE;return e===n}Py.exports=dE});var Pd=p((rte,Ty)=>{function mE(e,t){return function(n){return e(t(n))}}Ty.exports=mE});var Oy=p((nte,Ay)=>{var fE=Pd(),gE=fE(Object.keys,Object);Ay.exports=gE});var ns=p((ote,jy)=>{var hE=xo(),vE=Oy(),_E=Object.prototype,yE=_E.hasOwnProperty;function bE(e){if(!hE(e))return vE(e);var t=[];for(var n in Object(e))yE.call(e,n)&&n!="constructor"&&t.push(n);return t}jy.exports=bE});var Td=p((ite,Cy)=>{var xE=typeof global=="object"&&global&&global.Object===Object&&global;Cy.exports=xE});var Oe=p((ate,Ey)=>{var $E=Td(),SE=typeof self=="object"&&self&&self.Object===Object&&self,kE=$E||SE||Function("return this")();Ey.exports=kE});var Yt=p((ste,Ry)=>{var wE=Oe(),zE=wE.Symbol;Ry.exports=zE});var Uy=p((ute,qy)=>{var Ny=Yt(),Dy=Object.prototype,IE=Dy.hasOwnProperty,PE=Dy.toString,$o=Ny?Ny.toStringTag:void 0;function TE(e){var t=IE.call(e,$o),n=e[$o];try{e[$o]=void 0;var o=!0}catch{}var r=PE.call(e);return o&&(t?e[$o]=n:delete e[$o]),r}qy.exports=TE});var My=p((cte,Ly)=>{var AE=Object.prototype,OE=AE.toString;function jE(e){return OE.call(e)}Ly.exports=jE});var _t=p((lte,Fy)=>{var Zy=Yt(),CE=Uy(),EE=My(),RE="[object Null]",NE="[object Undefined]",Wy=Zy?Zy.toStringTag:void 0;function DE(e){return e==null?e===void 0?NE:RE:Wy&&Wy in Object(e)?CE(e):EE(e)}Fy.exports=DE});var Le=p((pte,Hy)=>{function qE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Hy.exports=qE});var Vr=p((dte,Vy)=>{var UE=_t(),LE=Le(),ME="[object AsyncFunction]",ZE="[object Function]",WE="[object GeneratorFunction]",FE="[object Proxy]";function HE(e){if(!LE(e))return!1;var t=UE(e);return t==ZE||t==WE||t==ME||t==FE}Vy.exports=HE});var Gy=p((mte,By)=>{var VE=Oe(),BE=VE["__core-js_shared__"];By.exports=BE});var Yy=p((fte,Ky)=>{var Ad=Gy(),Jy=(function(){var e=/[^.]+$/.exec(Ad&&Ad.keys&&Ad.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function GE(e){return!!Jy&&Jy in e}Ky.exports=GE});var Od=p((gte,Qy)=>{var JE=Function.prototype,KE=JE.toString;function YE(e){if(e!=null){try{return KE.call(e)}catch{}try{return e+""}catch{}}return""}Qy.exports=YE});var eb=p((hte,Xy)=>{var QE=Vr(),XE=Yy(),eR=Le(),tR=Od(),rR=/[\\^$.*+?()[\]{}|]/g,nR=/^\[object .+?Constructor\]$/,oR=Function.prototype,iR=Object.prototype,aR=oR.toString,sR=iR.hasOwnProperty,uR=RegExp("^"+aR.call(sR).replace(rR,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function cR(e){if(!eR(e)||XE(e))return!1;var t=QE(e)?uR:nR;return t.test(tR(e))}Xy.exports=cR});var rb=p((vte,tb)=>{function lR(e,t){return e?.[t]}tb.exports=lR});var Ot=p((_te,nb)=>{var pR=eb(),dR=rb();function mR(e,t){var n=dR(e,t);return pR(n)?n:void 0}nb.exports=mR});var ib=p((yte,ob)=>{var fR=Ot(),gR=Oe(),hR=fR(gR,"DataView");ob.exports=hR});var os=p((bte,ab)=>{var vR=Ot(),_R=Oe(),yR=vR(_R,"Map");ab.exports=yR});var ub=p((xte,sb)=>{var bR=Ot(),xR=Oe(),$R=bR(xR,"Promise");sb.exports=$R});var lb=p(($te,cb)=>{var SR=Ot(),kR=Oe(),wR=SR(kR,"Set");cb.exports=wR});var jd=p((Ste,pb)=>{var zR=Ot(),IR=Oe(),PR=zR(IR,"WeakMap");pb.exports=PR});var jt=p((kte,_b)=>{var Cd=ib(),Ed=os(),Rd=ub(),Nd=lb(),Dd=jd(),vb=_t(),Br=Od(),db="[object Map]",TR="[object Object]",mb="[object Promise]",fb="[object Set]",gb="[object WeakMap]",hb="[object DataView]",AR=Br(Cd),OR=Br(Ed),jR=Br(Rd),CR=Br(Nd),ER=Br(Dd),Qt=vb;(Cd&&Qt(new Cd(new ArrayBuffer(1)))!=hb||Ed&&Qt(new Ed)!=db||Rd&&Qt(Rd.resolve())!=mb||Nd&&Qt(new Nd)!=fb||Dd&&Qt(new Dd)!=gb)&&(Qt=function(e){var t=vb(e),n=t==TR?e.constructor:void 0,o=n?Br(n):"";if(o)switch(o){case AR:return hb;case OR:return db;case jR:return mb;case CR:return fb;case ER:return gb}return t});_b.exports=Qt});var Me=p((wte,yb)=>{function RR(e){return e!=null&&typeof e=="object"}yb.exports=RR});var xb=p((zte,bb)=>{var NR=_t(),DR=Me(),qR="[object Arguments]";function UR(e){return DR(e)&&NR(e)==qR}bb.exports=UR});var Gr=p((Ite,kb)=>{var $b=xb(),LR=Me(),Sb=Object.prototype,MR=Sb.hasOwnProperty,ZR=Sb.propertyIsEnumerable,WR=$b((function(){return arguments})())?$b:function(e){return LR(e)&&MR.call(e,"callee")&&!ZR.call(e,"callee")};kb.exports=WR});var ve=p((Pte,wb)=>{var FR=Array.isArray;wb.exports=FR});var is=p((Tte,zb)=>{var HR=9007199254740991;function VR(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=HR}zb.exports=VR});var yt=p((Ate,Ib)=>{var BR=Vr(),GR=is();function JR(e){return e!=null&&GR(e.length)&&!BR(e)}Ib.exports=JR});var Tb=p((Ote,Pb)=>{function KR(){return!1}Pb.exports=KR});var Kr=p((So,Jr)=>{var YR=Oe(),QR=Tb(),jb=typeof So=="object"&&So&&!So.nodeType&&So,Ab=jb&&typeof Jr=="object"&&Jr&&!Jr.nodeType&&Jr,XR=Ab&&Ab.exports===jb,Ob=XR?YR.Buffer:void 0,eN=Ob?Ob.isBuffer:void 0,tN=eN||QR;Jr.exports=tN});var Eb=p((jte,Cb)=>{var rN=_t(),nN=is(),oN=Me(),iN="[object Arguments]",aN="[object Array]",sN="[object Boolean]",uN="[object Date]",cN="[object Error]",lN="[object Function]",pN="[object Map]",dN="[object Number]",mN="[object Object]",fN="[object RegExp]",gN="[object Set]",hN="[object String]",vN="[object WeakMap]",_N="[object ArrayBuffer]",yN="[object DataView]",bN="[object Float32Array]",xN="[object Float64Array]",$N="[object Int8Array]",SN="[object Int16Array]",kN="[object Int32Array]",wN="[object Uint8Array]",zN="[object Uint8ClampedArray]",IN="[object Uint16Array]",PN="[object Uint32Array]",le={};le[bN]=le[xN]=le[$N]=le[SN]=le[kN]=le[wN]=le[zN]=le[IN]=le[PN]=!0;le[iN]=le[aN]=le[_N]=le[sN]=le[yN]=le[uN]=le[cN]=le[lN]=le[pN]=le[dN]=le[mN]=le[fN]=le[gN]=le[hN]=le[vN]=!1;function TN(e){return oN(e)&&nN(e.length)&&!!le[rN(e)]}Cb.exports=TN});var as=p((Cte,Rb)=>{function AN(e){return function(t){return e(t)}}Rb.exports=AN});var ss=p((ko,Yr)=>{var ON=Td(),Nb=typeof ko=="object"&&ko&&!ko.nodeType&&ko,wo=Nb&&typeof Yr=="object"&&Yr&&!Yr.nodeType&&Yr,jN=wo&&wo.exports===Nb,qd=jN&&ON.process,CN=(function(){try{var e=wo&&wo.require&&wo.require("util").types;return e||qd&&qd.binding&&qd.binding("util")}catch{}})();Yr.exports=CN});var zo=p((Ete,Ub)=>{var EN=Eb(),RN=as(),Db=ss(),qb=Db&&Db.isTypedArray,NN=qb?RN(qb):EN;Ub.exports=NN});var Mb=p((Rte,Lb)=>{var DN=ns(),qN=jt(),UN=Gr(),LN=ve(),MN=yt(),ZN=Kr(),WN=xo(),FN=zo(),HN="[object Map]",VN="[object Set]",BN=Object.prototype,GN=BN.hasOwnProperty;function JN(e){if(e==null)return!0;if(MN(e)&&(LN(e)||typeof e=="string"||typeof e.splice=="function"||ZN(e)||FN(e)||UN(e)))return!e.length;var t=qN(e);if(t==HN||t==VN)return!e.size;if(WN(e))return!DN(e).length;for(var n in e)if(GN.call(e,n))return!1;return!0}Lb.exports=JN});var Ud=p((Nte,Zb)=>{function KN(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}Zb.exports=KN});var Fb=p((Dte,Wb)=>{function YN(e){return function(t){return e?.[t]}}Wb.exports=YN});var Vb=p((qte,Hb)=>{var QN=Fb(),XN={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},eD=QN(XN);Hb.exports=eD});var Io=p((Ute,Bb)=>{function tD(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}Bb.exports=tD});var Xt=p((Lte,Gb)=>{var rD=_t(),nD=Me(),oD="[object Symbol]";function iD(e){return typeof e=="symbol"||nD(e)&&rD(e)==oD}Gb.exports=iD});var Ld=p((Mte,Xb)=>{var Jb=Yt(),aD=Io(),sD=ve(),uD=Xt(),cD=1/0,Kb=Jb?Jb.prototype:void 0,Yb=Kb?Kb.toString:void 0;function Qb(e){if(typeof e=="string")return e;if(sD(e))return aD(e,Qb)+"";if(uD(e))return Yb?Yb.call(e):"";var t=e+"";return t=="0"&&1/e==-cD?"-0":t}Xb.exports=Qb});var er=p((Zte,ex)=>{var lD=Ld();function pD(e){return e==null?"":lD(e)}ex.exports=pD});var rx=p((Wte,tx)=>{var dD=Vb(),mD=er(),fD=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gD="\\u0300-\\u036f",hD="\\ufe20-\\ufe2f",vD="\\u20d0-\\u20ff",_D=gD+hD+vD,yD="["+_D+"]",bD=RegExp(yD,"g");function xD(e){return e=mD(e),e&&e.replace(fD,dD).replace(bD,"")}tx.exports=xD});var ox=p((Fte,nx)=>{var $D=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function SD(e){return e.match($D)||[]}nx.exports=SD});var ax=p((Hte,ix)=>{var kD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function wD(e){return kD.test(e)}ix.exports=wD});var wx=p((Vte,kx)=>{var px="\\ud800-\\udfff",zD="\\u0300-\\u036f",ID="\\ufe20-\\ufe2f",PD="\\u20d0-\\u20ff",TD=zD+ID+PD,dx="\\u2700-\\u27bf",mx="a-z\\xdf-\\xf6\\xf8-\\xff",AD="\\xac\\xb1\\xd7\\xf7",OD="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",jD="\\u2000-\\u206f",CD=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fx="A-Z\\xc0-\\xd6\\xd8-\\xde",ED="\\ufe0e\\ufe0f",gx=AD+OD+jD+CD,hx="['\u2019]",sx="["+gx+"]",RD="["+TD+"]",vx="\\d+",ND="["+dx+"]",_x="["+mx+"]",yx="[^"+px+gx+vx+dx+mx+fx+"]",DD="\\ud83c[\\udffb-\\udfff]",qD="(?:"+RD+"|"+DD+")",UD="[^"+px+"]",bx="(?:\\ud83c[\\udde6-\\uddff]){2}",xx="[\\ud800-\\udbff][\\udc00-\\udfff]",Qr="["+fx+"]",LD="\\u200d",ux="(?:"+_x+"|"+yx+")",MD="(?:"+Qr+"|"+yx+")",cx="(?:"+hx+"(?:d|ll|m|re|s|t|ve))?",lx="(?:"+hx+"(?:D|LL|M|RE|S|T|VE))?",$x=qD+"?",Sx="["+ED+"]?",ZD="(?:"+LD+"(?:"+[UD,bx,xx].join("|")+")"+Sx+$x+")*",WD="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",FD="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",HD=Sx+$x+ZD,VD="(?:"+[ND,bx,xx].join("|")+")"+HD,BD=RegExp([Qr+"?"+_x+"+"+cx+"(?="+[sx,Qr,"$"].join("|")+")",MD+"+"+lx+"(?="+[sx,Qr+ux,"$"].join("|")+")",Qr+"?"+ux+"+"+cx,Qr+"+"+lx,FD,WD,vx,VD].join("|"),"g");function GD(e){return e.match(BD)||[]}kx.exports=GD});var Ix=p((Bte,zx)=>{var JD=ox(),KD=ax(),YD=er(),QD=wx();function XD(e,t,n){return e=YD(e),t=n?void 0:t,t===void 0?KD(e)?QD(e):JD(e):e.match(t)||[]}zx.exports=XD});var Tx=p((Gte,Px)=>{var eq=Ud(),tq=rx(),rq=Ix(),nq="['\u2019]",oq=RegExp(nq,"g");function iq(e){return function(t){return eq(rq(tq(t).replace(oq,"")),e,"")}}Px.exports=iq});var Md=p((Jte,Ax)=>{function aq(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o<r;)i[o]=e[o+t];return i}Ax.exports=aq});var jx=p((Kte,Ox)=>{var sq=Md();function uq(e,t,n){var o=e.length;return n=n===void 0?o:n,!t&&n>=o?e:sq(e,t,n)}Ox.exports=uq});var Zd=p((Yte,Cx)=>{var cq="\\ud800-\\udfff",lq="\\u0300-\\u036f",pq="\\ufe20-\\ufe2f",dq="\\u20d0-\\u20ff",mq=lq+pq+dq,fq="\\ufe0e\\ufe0f",gq="\\u200d",hq=RegExp("["+gq+cq+mq+fq+"]");function vq(e){return hq.test(e)}Cx.exports=vq});var Rx=p((Qte,Ex)=>{function _q(e){return e.split("")}Ex.exports=_q});var Wx=p((Xte,Zx)=>{var Nx="\\ud800-\\udfff",yq="\\u0300-\\u036f",bq="\\ufe20-\\ufe2f",xq="\\u20d0-\\u20ff",$q=yq+bq+xq,Sq="\\ufe0e\\ufe0f",kq="["+Nx+"]",Wd="["+$q+"]",Fd="\\ud83c[\\udffb-\\udfff]",wq="(?:"+Wd+"|"+Fd+")",Dx="[^"+Nx+"]",qx="(?:\\ud83c[\\udde6-\\uddff]){2}",Ux="[\\ud800-\\udbff][\\udc00-\\udfff]",zq="\\u200d",Lx=wq+"?",Mx="["+Sq+"]?",Iq="(?:"+zq+"(?:"+[Dx,qx,Ux].join("|")+")"+Mx+Lx+")*",Pq=Mx+Lx+Iq,Tq="(?:"+[Dx+Wd+"?",Wd,qx,Ux,kq].join("|")+")",Aq=RegExp(Fd+"(?="+Fd+")|"+Tq+Pq,"g");function Oq(e){return e.match(Aq)||[]}Zx.exports=Oq});var Hx=p((ere,Fx)=>{var jq=Rx(),Cq=Zd(),Eq=Wx();function Rq(e){return Cq(e)?Eq(e):jq(e)}Fx.exports=Rq});var Bx=p((tre,Vx)=>{var Nq=jx(),Dq=Zd(),qq=Hx(),Uq=er();function Lq(e){return function(t){t=Uq(t);var n=Dq(t)?qq(t):void 0,o=n?n[0]:t.charAt(0),r=n?Nq(n,1).join(""):t.slice(1);return o[e]()+r}}Vx.exports=Lq});var Jx=p((rre,Gx)=>{var Mq=Bx(),Zq=Mq("toUpperCase");Gx.exports=Zq});var Yx=p((nre,Kx)=>{var Wq=Tx(),Fq=Jx(),Hq=Wq(function(e,t,n){return e+(n?" ":"")+Fq(t)});Kx.exports=Hq});var Xx=p((ore,Qx)=>{function Vq(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}Qx.exports=Vq});var tr=p((ire,e$)=>{var Bq=9007199254740991,Gq=/^(?:0|[1-9]\d*)$/;function Jq(e,t){var n=typeof e;return t=t??Bq,!!t&&(n=="number"||n!="symbol"&&Gq.test(e))&&e>-1&&e%1==0&&e<t}e$.exports=Jq});var Hd=p((are,t$)=>{var Kq=Xx(),Yq=Gr(),Qq=ve(),Xq=Kr(),eU=tr(),tU=zo(),rU=Object.prototype,nU=rU.hasOwnProperty;function oU(e,t){var n=Qq(e),o=!n&&Yq(e),r=!n&&!o&&Xq(e),i=!n&&!o&&!r&&tU(e),a=n||o||r||i,s=a?Kq(e.length,String):[],u=s.length;for(var l in e)(t||nU.call(e,l))&&!(a&&(l=="length"||r&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||eU(l,u)))&&s.push(l);return s}t$.exports=oU});var lt=p((sre,r$)=>{var iU=Hd(),aU=ns(),sU=yt();function uU(e){return sU(e)?iU(e):aU(e)}r$.exports=uU});var o$=p((ure,n$)=>{var cU=Math.ceil,lU=Math.max;function pU(e,t,n,o){for(var r=-1,i=lU(cU((t-e)/(n||1)),0),a=Array(i);i--;)a[o?i:++r]=e,e+=n;return a}n$.exports=pU});var Xr=p((cre,i$)=>{function dU(e,t){return e===t||e!==e&&t!==t}i$.exports=dU});var Vd=p((lre,a$)=>{var mU=Xr(),fU=yt(),gU=tr(),hU=Le();function vU(e,t,n){if(!hU(n))return!1;var o=typeof t;return(o=="number"?fU(n)&&gU(t,n.length):o=="string"&&t in n)?mU(n[t],e):!1}a$.exports=vU});var u$=p((pre,s$)=>{var _U=/\s/;function yU(e){for(var t=e.length;t--&&_U.test(e.charAt(t)););return t}s$.exports=yU});var l$=p((dre,c$)=>{var bU=u$(),xU=/^\s+/;function $U(e){return e&&e.slice(0,bU(e)+1).replace(xU,"")}c$.exports=$U});var Bd=p((mre,m$)=>{var SU=l$(),p$=Le(),kU=Xt(),d$=NaN,wU=/^[-+]0x[0-9a-f]+$/i,zU=/^0b[01]+$/i,IU=/^0o[0-7]+$/i,PU=parseInt;function TU(e){if(typeof e=="number")return e;if(kU(e))return d$;if(p$(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=p$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=SU(e);var n=zU.test(e);return n||IU.test(e)?PU(e.slice(2),n?2:8):wU.test(e)?d$:+e}m$.exports=TU});var Gd=p((fre,g$)=>{var AU=Bd(),f$=1/0,OU=17976931348623157e292;function jU(e){if(!e)return e===0?e:0;if(e=AU(e),e===f$||e===-f$){var t=e<0?-1:1;return t*OU}return e===e?e:0}g$.exports=jU});var v$=p((gre,h$)=>{var CU=o$(),EU=Vd(),Jd=Gd();function RU(e){return function(t,n,o){return o&&typeof o!="number"&&EU(t,n,o)&&(n=o=void 0),t=Jd(t),n===void 0?(n=t,t=0):n=Jd(n),o=o===void 0?t<n?1:-1:Jd(o),CU(t,n,o,e)}}h$.exports=RU});var y$=p((hre,_$)=>{var NU=v$(),DU=NU();_$.exports=DU});var us=p((vre,b$)=>{var qU=ve(),UU=Xt(),LU=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,MU=/^\w*$/;function ZU(e,t){if(qU(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||UU(e)?!0:MU.test(e)||!LU.test(e)||t!=null&&e in Object(t)}b$.exports=ZU});var Po=p((_re,x$)=>{var WU=Ot(),FU=WU(Object,"create");x$.exports=FU});var k$=p((yre,S$)=>{var $$=Po();function HU(){this.__data__=$$?$$(null):{},this.size=0}S$.exports=HU});var z$=p((bre,w$)=>{function VU(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}w$.exports=VU});var P$=p((xre,I$)=>{var BU=Po(),GU="__lodash_hash_undefined__",JU=Object.prototype,KU=JU.hasOwnProperty;function YU(e){var t=this.__data__;if(BU){var n=t[e];return n===GU?void 0:n}return KU.call(t,e)?t[e]:void 0}I$.exports=YU});var A$=p(($re,T$)=>{var QU=Po(),XU=Object.prototype,e4=XU.hasOwnProperty;function t4(e){var t=this.__data__;return QU?t[e]!==void 0:e4.call(t,e)}T$.exports=t4});var j$=p((Sre,O$)=>{var r4=Po(),n4="__lodash_hash_undefined__";function o4(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r4&&t===void 0?n4:t,this}O$.exports=o4});var E$=p((kre,C$)=>{var i4=k$(),a4=z$(),s4=P$(),u4=A$(),c4=j$();function en(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}en.prototype.clear=i4;en.prototype.delete=a4;en.prototype.get=s4;en.prototype.has=u4;en.prototype.set=c4;C$.exports=en});var N$=p((wre,R$)=>{function l4(){this.__data__=[],this.size=0}R$.exports=l4});var To=p((zre,D$)=>{var p4=Xr();function d4(e,t){for(var n=e.length;n--;)if(p4(e[n][0],t))return n;return-1}D$.exports=d4});var U$=p((Ire,q$)=>{var m4=To(),f4=Array.prototype,g4=f4.splice;function h4(e){var t=this.__data__,n=m4(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():g4.call(t,n,1),--this.size,!0}q$.exports=h4});var M$=p((Pre,L$)=>{var v4=To();function _4(e){var t=this.__data__,n=v4(t,e);return n<0?void 0:t[n][1]}L$.exports=_4});var W$=p((Tre,Z$)=>{var y4=To();function b4(e){return y4(this.__data__,e)>-1}Z$.exports=b4});var H$=p((Are,F$)=>{var x4=To();function $4(e,t){var n=this.__data__,o=x4(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}F$.exports=$4});var Ao=p((Ore,V$)=>{var S4=N$(),k4=U$(),w4=M$(),z4=W$(),I4=H$();function tn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}tn.prototype.clear=S4;tn.prototype.delete=k4;tn.prototype.get=w4;tn.prototype.has=z4;tn.prototype.set=I4;V$.exports=tn});var J$=p((jre,G$)=>{var B$=E$(),P4=Ao(),T4=os();function A4(){this.size=0,this.__data__={hash:new B$,map:new(T4||P4),string:new B$}}G$.exports=A4});var Y$=p((Cre,K$)=>{function O4(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}K$.exports=O4});var Oo=p((Ere,Q$)=>{var j4=Y$();function C4(e,t){var n=e.__data__;return j4(t)?n[typeof t=="string"?"string":"hash"]:n.map}Q$.exports=C4});var eS=p((Rre,X$)=>{var E4=Oo();function R4(e){var t=E4(this,e).delete(e);return this.size-=t?1:0,t}X$.exports=R4});var rS=p((Nre,tS)=>{var N4=Oo();function D4(e){return N4(this,e).get(e)}tS.exports=D4});var oS=p((Dre,nS)=>{var q4=Oo();function U4(e){return q4(this,e).has(e)}nS.exports=U4});var aS=p((qre,iS)=>{var L4=Oo();function M4(e,t){var n=L4(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}iS.exports=M4});var cs=p((Ure,sS)=>{var Z4=J$(),W4=eS(),F4=rS(),H4=oS(),V4=aS();function rn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}rn.prototype.clear=Z4;rn.prototype.delete=W4;rn.prototype.get=F4;rn.prototype.has=H4;rn.prototype.set=V4;sS.exports=rn});var lS=p((Lre,cS)=>{var uS=cs(),B4="Expected a function";function Kd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(B4);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(Kd.Cache||uS),n}Kd.Cache=uS;cS.exports=Kd});var dS=p((Mre,pS)=>{var G4=lS(),J4=500;function K4(e){var t=G4(e,function(o){return n.size===J4&&n.clear(),o}),n=t.cache;return t}pS.exports=K4});var Yd=p((Zre,mS)=>{var Y4=dS(),Q4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X4=/\\(\\)?/g,eL=Y4(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Q4,function(n,o,r,i){t.push(r?i.replace(X4,"$1"):o||n)}),t});mS.exports=eL});var jo=p((Wre,fS)=>{var tL=ve(),rL=us(),nL=Yd(),oL=er();function iL(e,t){return tL(e)?e:rL(e,t)?[e]:nL(oL(e))}fS.exports=iL});var Ct=p((Fre,gS)=>{var aL=Xt(),sL=1/0;function uL(e){if(typeof e=="string"||aL(e))return e;var t=e+"";return t=="0"&&1/e==-sL?"-0":t}gS.exports=uL});var ls=p((Hre,hS)=>{var cL=jo(),lL=Ct();function pL(e,t){t=cL(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[lL(t[n++])];return n&&n==o?e:void 0}hS.exports=pL});var Qd=p((Vre,vS)=>{var dL=ls();function mL(e,t,n){var o=e==null?void 0:dL(e,t);return o===void 0?n:o}vS.exports=mL});var yS=p((Bre,_S)=>{var fL=Object.prototype,gL=fL.hasOwnProperty;function hL(e,t){return e!=null&&gL.call(e,t)}_S.exports=hL});var Xd=p((Gre,bS)=>{var vL=jo(),_L=Gr(),yL=ve(),bL=tr(),xL=is(),$L=Ct();function SL(e,t,n){t=vL(t,e);for(var o=-1,r=t.length,i=!1;++o<r;){var a=$L(t[o]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++o!=r?i:(r=e==null?0:e.length,!!r&&xL(r)&&bL(a,r)&&(yL(e)||_L(e)))}bS.exports=SL});var $S=p((Jre,xS)=>{var kL=yS(),wL=Xd();function zL(e,t){return e!=null&&wL(e,t,kL)}xS.exports=zL});var kS=p((Kre,SS)=>{var IL=Ao();function PL(){this.__data__=new IL,this.size=0}SS.exports=PL});var zS=p((Yre,wS)=>{function TL(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}wS.exports=TL});var PS=p((Qre,IS)=>{function AL(e){return this.__data__.get(e)}IS.exports=AL});var AS=p((Xre,TS)=>{function OL(e){return this.__data__.has(e)}TS.exports=OL});var jS=p((ene,OS)=>{var jL=Ao(),CL=os(),EL=cs(),RL=200;function NL(e,t){var n=this.__data__;if(n instanceof jL){var o=n.__data__;if(!CL||o.length<RL-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new EL(o)}return n.set(e,t),this.size=n.size,this}OS.exports=NL});var Co=p((tne,CS)=>{var DL=Ao(),qL=kS(),UL=zS(),LL=PS(),ML=AS(),ZL=jS();function nn(e){var t=this.__data__=new DL(e);this.size=t.size}nn.prototype.clear=qL;nn.prototype.delete=UL;nn.prototype.get=LL;nn.prototype.has=ML;nn.prototype.set=ZL;CS.exports=nn});var RS=p((rne,ES)=>{var WL="__lodash_hash_undefined__";function FL(e){return this.__data__.set(e,WL),this}ES.exports=FL});var DS=p((nne,NS)=>{function HL(e){return this.__data__.has(e)}NS.exports=HL});var US=p((one,qS)=>{var VL=cs(),BL=RS(),GL=DS();function ps(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new VL;++t<n;)this.add(e[t])}ps.prototype.add=ps.prototype.push=BL;ps.prototype.has=GL;qS.exports=ps});var MS=p((ine,LS)=>{function JL(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}LS.exports=JL});var WS=p((ane,ZS)=>{function KL(e,t){return e.has(t)}ZS.exports=KL});var em=p((sne,FS)=>{var YL=US(),QL=MS(),XL=WS(),e6=1,t6=2;function r6(e,t,n,o,r,i){var a=n&e6,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var l=i.get(e),m=i.get(t);if(l&&m)return l==t&&m==e;var c=-1,g=!0,v=n&t6?new YL:void 0;for(i.set(e,t),i.set(t,e);++c<s;){var f=e[c],x=t[c];if(o)var b=a?o(x,f,c,t,e,i):o(f,x,c,e,t,i);if(b!==void 0){if(b)continue;g=!1;break}if(v){if(!QL(t,function(k,$){if(!XL(v,$)&&(f===k||r(f,k,n,o,i)))return v.push($)})){g=!1;break}}else if(!(f===x||r(f,x,n,o,i))){g=!1;break}}return i.delete(e),i.delete(t),g}FS.exports=r6});var tm=p((une,HS)=>{var n6=Oe(),o6=n6.Uint8Array;HS.exports=o6});var rm=p((cne,VS)=>{function i6(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}VS.exports=i6});var GS=p((lne,BS)=>{function a6(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}BS.exports=a6});var XS=p((pne,QS)=>{var JS=Yt(),KS=tm(),s6=Xr(),u6=em(),c6=rm(),l6=GS(),p6=1,d6=2,m6="[object Boolean]",f6="[object Date]",g6="[object Error]",h6="[object Map]",v6="[object Number]",_6="[object RegExp]",y6="[object Set]",b6="[object String]",x6="[object Symbol]",$6="[object ArrayBuffer]",S6="[object DataView]",YS=JS?JS.prototype:void 0,nm=YS?YS.valueOf:void 0;function k6(e,t,n,o,r,i,a){switch(n){case S6:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case $6:return!(e.byteLength!=t.byteLength||!i(new KS(e),new KS(t)));case m6:case f6:case v6:return s6(+e,+t);case g6:return e.name==t.name&&e.message==t.message;case _6:case b6:return e==t+"";case h6:var s=c6;case y6:var u=o&p6;if(s||(s=l6),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;o|=d6,a.set(e,t);var m=u6(s(e),s(t),o,r,i,a);return a.delete(e),m;case x6:if(nm)return nm.call(e)==nm.call(t)}return!1}QS.exports=k6});var ds=p((dne,ek)=>{function w6(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}ek.exports=w6});var om=p((mne,tk)=>{var z6=ds(),I6=ve();function P6(e,t,n){var o=t(e);return I6(e)?o:z6(o,n(e))}tk.exports=P6});var im=p((fne,rk)=>{function T6(e,t){for(var n=-1,o=e==null?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}rk.exports=T6});var am=p((gne,nk)=>{function A6(){return[]}nk.exports=A6});var ms=p((hne,ik)=>{var O6=im(),j6=am(),C6=Object.prototype,E6=C6.propertyIsEnumerable,ok=Object.getOwnPropertySymbols,R6=ok?function(e){return e==null?[]:(e=Object(e),O6(ok(e),function(t){return E6.call(e,t)}))}:j6;ik.exports=R6});var sm=p((vne,ak)=>{var N6=om(),D6=ms(),q6=lt();function U6(e){return N6(e,q6,D6)}ak.exports=U6});var ck=p((_ne,uk)=>{var sk=sm(),L6=1,M6=Object.prototype,Z6=M6.hasOwnProperty;function W6(e,t,n,o,r,i){var a=n&L6,s=sk(e),u=s.length,l=sk(t),m=l.length;if(u!=m&&!a)return!1;for(var c=u;c--;){var g=s[c];if(!(a?g in t:Z6.call(t,g)))return!1}var v=i.get(e),f=i.get(t);if(v&&f)return v==t&&f==e;var x=!0;i.set(e,t),i.set(t,e);for(var b=a;++c<u;){g=s[c];var k=e[g],$=t[g];if(o)var z=a?o($,k,g,t,e,i):o(k,$,g,e,t,i);if(!(z===void 0?k===$||r(k,$,n,o,i):z)){x=!1;break}b||(b=g=="constructor")}if(x&&!b){var T=e.constructor,U=t.constructor;T!=U&&"constructor"in e&&"constructor"in t&&!(typeof T=="function"&&T instanceof T&&typeof U=="function"&&U instanceof U)&&(x=!1)}return i.delete(e),i.delete(t),x}uk.exports=W6});var vk=p((yne,hk)=>{var um=Co(),F6=em(),H6=XS(),V6=ck(),lk=jt(),pk=ve(),dk=Kr(),B6=zo(),G6=1,mk="[object Arguments]",fk="[object Array]",fs="[object Object]",J6=Object.prototype,gk=J6.hasOwnProperty;function K6(e,t,n,o,r,i){var a=pk(e),s=pk(t),u=a?fk:lk(e),l=s?fk:lk(t);u=u==mk?fs:u,l=l==mk?fs:l;var m=u==fs,c=l==fs,g=u==l;if(g&&dk(e)){if(!dk(t))return!1;a=!0,m=!1}if(g&&!m)return i||(i=new um),a||B6(e)?F6(e,t,n,o,r,i):H6(e,t,u,n,o,r,i);if(!(n&G6)){var v=m&&gk.call(e,"__wrapped__"),f=c&&gk.call(t,"__wrapped__");if(v||f){var x=v?e.value():e,b=f?t.value():t;return i||(i=new um),r(x,b,n,o,i)}}return g?(i||(i=new um),V6(e,t,n,o,r,i)):!1}hk.exports=K6});var gs=p((bne,bk)=>{var Y6=vk(),_k=Me();function yk(e,t,n,o,r){return e===t?!0:e==null||t==null||!_k(e)&&!_k(t)?e!==e&&t!==t:Y6(e,t,n,o,yk,r)}bk.exports=yk});var $k=p((xne,xk)=>{var Q6=Co(),X6=gs(),eM=1,tM=2;function rM(e,t,n,o){var r=n.length,i=r,a=!o;if(e==null)return!i;for(e=Object(e);r--;){var s=n[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){s=n[r];var u=s[0],l=e[u],m=s[1];if(a&&s[2]){if(l===void 0&&!(u in e))return!1}else{var c=new Q6;if(o)var g=o(l,m,u,e,t,c);if(!(g===void 0?X6(m,l,eM|tM,o,c):g))return!1}}return!0}xk.exports=rM});var cm=p(($ne,Sk)=>{var nM=Le();function oM(e){return e===e&&!nM(e)}Sk.exports=oM});var wk=p((Sne,kk)=>{var iM=cm(),aM=lt();function sM(e){for(var t=aM(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,iM(r)]}return t}kk.exports=sM});var lm=p((kne,zk)=>{function uM(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}zk.exports=uM});var Pk=p((wne,Ik)=>{var cM=$k(),lM=wk(),pM=lm();function dM(e){var t=lM(e);return t.length==1&&t[0][2]?pM(t[0][0],t[0][1]):function(n){return n===e||cM(n,e,t)}}Ik.exports=dM});var Ak=p((zne,Tk)=>{function mM(e,t){return e!=null&&t in Object(e)}Tk.exports=mM});var jk=p((Ine,Ok)=>{var fM=Ak(),gM=Xd();function hM(e,t){return e!=null&&gM(e,t,fM)}Ok.exports=hM});var Ek=p((Pne,Ck)=>{var vM=gs(),_M=Qd(),yM=jk(),bM=us(),xM=cm(),$M=lm(),SM=Ct(),kM=1,wM=2;function zM(e,t){return bM(e)&&xM(t)?$M(SM(e),t):function(n){var o=_M(n,e);return o===void 0&&o===t?yM(n,e):vM(t,o,kM|wM)}}Ck.exports=zM});var Eo=p((Tne,Rk)=>{function IM(e){return e}Rk.exports=IM});var Dk=p((Ane,Nk)=>{function PM(e){return function(t){return t?.[e]}}Nk.exports=PM});var Uk=p((One,qk)=>{var TM=ls();function AM(e){return function(t){return TM(t,e)}}qk.exports=AM});var Mk=p((jne,Lk)=>{var OM=Dk(),jM=Uk(),CM=us(),EM=Ct();function RM(e){return CM(e)?OM(EM(e)):jM(e)}Lk.exports=RM});var Et=p((Cne,Zk)=>{var NM=Pk(),DM=Ek(),qM=Eo(),UM=ve(),LM=Mk();function MM(e){return typeof e=="function"?e:e==null?qM:typeof e=="object"?UM(e)?DM(e[0],e[1]):NM(e):LM(e)}Zk.exports=MM});var Fk=p((Ene,Wk)=>{var ZM=Et(),WM=yt(),FM=lt();function HM(e){return function(t,n,o){var r=Object(t);if(!WM(t)){var i=ZM(n,3);t=FM(t),n=function(s){return i(r[s],s,r)}}var a=e(t,n,o);return a>-1?r[i?t[a]:a]:void 0}}Wk.exports=HM});var pm=p((Rne,Hk)=>{function VM(e,t,n,o){for(var r=e.length,i=n+(o?1:-1);o?i--:++i<r;)if(t(e[i],i,e))return i;return-1}Hk.exports=VM});var on=p((Nne,Vk)=>{var BM=Gd();function GM(e){var t=BM(e),n=t%1;return t===t?n?t-n:t:0}Vk.exports=GM});var Gk=p((Dne,Bk)=>{var JM=pm(),KM=Et(),YM=on(),QM=Math.max;function XM(e,t,n){var o=e==null?0:e.length;if(!o)return-1;var r=n==null?0:YM(n);return r<0&&(r=QM(o+r,0)),JM(e,KM(t,3),r)}Bk.exports=XM});var Kk=p((qne,Jk)=>{var e2=Fk(),t2=Gk(),r2=e2(t2);Jk.exports=r2});var Qk=p((Une,Yk)=>{function n2(e){return e!==e}Yk.exports=n2});var ew=p((Lne,Xk)=>{function o2(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}Xk.exports=o2});var dm=p((Mne,tw)=>{var i2=pm(),a2=Qk(),s2=ew();function u2(e,t,n){return t===t?s2(e,t,n):i2(e,a2,n)}tw.exports=u2});var nw=p((Zne,rw)=>{var c2=_t(),l2=ve(),p2=Me(),d2="[object String]";function m2(e){return typeof e=="string"||!l2(e)&&p2(e)&&c2(e)==d2}rw.exports=m2});var iw=p((Wne,ow)=>{var f2=Io();function g2(e,t){return f2(t,function(n){return e[n]})}ow.exports=g2});var sw=p((Fne,aw)=>{var h2=iw(),v2=lt();function _2(e){return e==null?[]:h2(e,v2(e))}aw.exports=_2});var cw=p((Hne,uw)=>{var y2=dm(),b2=yt(),x2=nw(),$2=on(),S2=sw(),k2=Math.max;function w2(e,t,n,o){e=b2(e)?e:S2(e),n=n&&!o?$2(n):0;var r=e.length;return n<0&&(n=k2(r+n,0)),x2(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&y2(e,t,n)>-1}uw.exports=w2});var pw=p((Gne,lw)=>{function I2(e){return function(t,n,o){for(var r=-1,i=Object(t),a=o(t),s=a.length;s--;){var u=a[e?s:++r];if(n(i[u],u,i)===!1)break}return t}}lw.exports=I2});var fm=p((Jne,dw)=>{var P2=pw(),T2=P2();dw.exports=T2});var fw=p((Kne,mw)=>{var A2=fm(),O2=lt();function j2(e,t){return e&&A2(e,t,O2)}mw.exports=j2});var hw=p((Yne,gw)=>{var C2=yt();function E2(e,t){return function(n,o){if(n==null)return n;if(!C2(n))return e(n,o);for(var r=n.length,i=t?r:-1,a=Object(n);(t?i--:++i<r)&&o(a[i],i,a)!==!1;);return n}}gw.exports=E2});var gm=p((Qne,vw)=>{var R2=fw(),N2=hw(),D2=N2(R2);vw.exports=D2});var yw=p((Xne,_w)=>{var q2=gm();function U2(e,t){var n=[];return q2(e,function(o,r,i){t(o,r,i)&&n.push(o)}),n}_w.exports=U2});var xw=p((eoe,bw)=>{var L2=im(),M2=yw(),Z2=Et(),W2=ve();function F2(e,t){var n=W2(e)?L2:M2;return n(e,Z2(t,3))}bw.exports=F2});var Sw=p((toe,$w)=>{var H2=gs();function V2(e,t){return H2(e,t)}$w.exports=V2});var hm=p((roe,kw)=>{var B2=Ot(),G2=(function(){try{var e=B2(Object,"defineProperty");return e({},"",{}),e}catch{}})();kw.exports=G2});var hs=p((noe,zw)=>{var ww=hm();function J2(e,t,n){t=="__proto__"&&ww?ww(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}zw.exports=J2});var vm=p((ooe,Iw)=>{var K2=hs(),Y2=Xr();function Q2(e,t,n){(n!==void 0&&!Y2(e[t],n)||n===void 0&&!(t in e))&&K2(e,t,n)}Iw.exports=Q2});var _m=p((No,an)=>{var X2=Oe(),Ow=typeof No=="object"&&No&&!No.nodeType&&No,Pw=Ow&&typeof an=="object"&&an&&!an.nodeType&&an,eZ=Pw&&Pw.exports===Ow,Tw=eZ?X2.Buffer:void 0,Aw=Tw?Tw.allocUnsafe:void 0;function tZ(e,t){if(t)return e.slice();var n=e.length,o=Aw?Aw(n):new e.constructor(n);return e.copy(o),o}an.exports=tZ});var vs=p((ioe,Cw)=>{var jw=tm();function rZ(e){var t=new e.constructor(e.byteLength);return new jw(t).set(new jw(e)),t}Cw.exports=rZ});var ym=p((aoe,Ew)=>{var nZ=vs();function oZ(e,t){var n=t?nZ(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}Ew.exports=oZ});var sn=p((soe,Rw)=>{function iZ(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}Rw.exports=iZ});var Do=p((uoe,Dw)=>{var aZ=Le(),Nw=Object.create,sZ=(function(){function e(){}return function(t){if(!aZ(t))return{};if(Nw)return Nw(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();Dw.exports=sZ});var _s=p((coe,qw)=>{var uZ=Pd(),cZ=uZ(Object.getPrototypeOf,Object);qw.exports=cZ});var bm=p((loe,Uw)=>{var lZ=Do(),pZ=_s(),dZ=xo();function mZ(e){return typeof e.constructor=="function"&&!dZ(e)?lZ(pZ(e)):{}}Uw.exports=mZ});var Mw=p((poe,Lw)=>{var fZ=yt(),gZ=Me();function hZ(e){return gZ(e)&&fZ(e)}Lw.exports=hZ});var xm=p((doe,Ww)=>{var vZ=_t(),_Z=_s(),yZ=Me(),bZ="[object Object]",xZ=Function.prototype,$Z=Object.prototype,Zw=xZ.toString,SZ=$Z.hasOwnProperty,kZ=Zw.call(Object);function wZ(e){if(!yZ(e)||vZ(e)!=bZ)return!1;var t=_Z(e);if(t===null)return!0;var n=SZ.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Zw.call(n)==kZ}Ww.exports=wZ});var $m=p((moe,Fw)=>{function zZ(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}Fw.exports=zZ});var ys=p((foe,Hw)=>{var IZ=hs(),PZ=Xr(),TZ=Object.prototype,AZ=TZ.hasOwnProperty;function OZ(e,t,n){var o=e[t];(!(AZ.call(e,t)&&PZ(o,n))||n===void 0&&!(t in e))&&IZ(e,t,n)}Hw.exports=OZ});var un=p((goe,Vw)=>{var jZ=ys(),CZ=hs();function EZ(e,t,n,o){var r=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=o?o(n[s],e[s],s,n,e):void 0;u===void 0&&(u=e[s]),r?CZ(n,s,u):jZ(n,s,u)}return n}Vw.exports=EZ});var Gw=p((hoe,Bw)=>{function RZ(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}Bw.exports=RZ});var Kw=p((voe,Jw)=>{var NZ=Le(),DZ=xo(),qZ=Gw(),UZ=Object.prototype,LZ=UZ.hasOwnProperty;function MZ(e){if(!NZ(e))return qZ(e);var t=DZ(e),n=[];for(var o in e)o=="constructor"&&(t||!LZ.call(e,o))||n.push(o);return n}Jw.exports=MZ});var cn=p((_oe,Yw)=>{var ZZ=Hd(),WZ=Kw(),FZ=yt();function HZ(e){return FZ(e)?ZZ(e,!0):WZ(e)}Yw.exports=HZ});var Xw=p((yoe,Qw)=>{var VZ=un(),BZ=cn();function GZ(e){return VZ(e,BZ(e))}Qw.exports=GZ});var iz=p((boe,oz)=>{var ez=vm(),JZ=_m(),KZ=ym(),YZ=sn(),QZ=bm(),tz=Gr(),rz=ve(),XZ=Mw(),eW=Kr(),tW=Vr(),rW=Le(),nW=xm(),oW=zo(),nz=$m(),iW=Xw();function aW(e,t,n,o,r,i,a){var s=nz(e,n),u=nz(t,n),l=a.get(u);if(l){ez(e,n,l);return}var m=i?i(s,u,n+"",e,t,a):void 0,c=m===void 0;if(c){var g=rz(u),v=!g&&eW(u),f=!g&&!v&&oW(u);m=u,g||v||f?rz(s)?m=s:XZ(s)?m=YZ(s):v?(c=!1,m=JZ(u,!0)):f?(c=!1,m=KZ(u,!0)):m=[]:nW(u)||tz(u)?(m=s,tz(s)?m=iW(s):(!rW(s)||tW(s))&&(m=QZ(u))):c=!1}c&&(a.set(u,m),r(m,u,o,i,a),a.delete(u)),ez(e,n,m)}oz.exports=aW});var uz=p((xoe,sz)=>{var sW=Co(),uW=vm(),cW=fm(),lW=iz(),pW=Le(),dW=cn(),mW=$m();function az(e,t,n,o,r){e!==t&&cW(t,function(i,a){if(r||(r=new sW),pW(i))lW(e,t,a,n,az,o,r);else{var s=o?o(mW(e,a),i,a+"",e,t,r):void 0;s===void 0&&(s=i),uW(e,a,s)}},dW)}sz.exports=az});var bs=p(($oe,cz)=>{function fW(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}cz.exports=fW});var Sm=p((Soe,pz)=>{var gW=bs(),lz=Math.max;function hW(e,t,n){return t=lz(t===void 0?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=lz(o.length-t,0),a=Array(i);++r<i;)a[r]=o[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=o[r];return s[t]=n(a),gW(e,this,s)}}pz.exports=hW});var mz=p((koe,dz)=>{function vW(e){return function(){return e}}dz.exports=vW});var hz=p((woe,gz)=>{var _W=mz(),fz=hm(),yW=Eo(),bW=fz?function(e,t){return fz(e,"toString",{configurable:!0,enumerable:!1,value:_W(t),writable:!0})}:yW;gz.exports=bW});var km=p((zoe,vz)=>{var xW=800,$W=16,SW=Date.now;function kW(e){var t=0,n=0;return function(){var o=SW(),r=$W-(o-n);if(n=o,r>0){if(++t>=xW)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}vz.exports=kW});var xs=p((Ioe,_z)=>{var wW=hz(),zW=km(),IW=zW(wW);_z.exports=IW});var bz=p((Poe,yz)=>{var PW=Eo(),TW=Sm(),AW=xs();function OW(e,t){return AW(TW(e,t,PW),e+"")}yz.exports=OW});var $z=p((Toe,xz)=>{var jW=bz(),CW=Vd();function EW(e){return jW(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&CW(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o<r;){var s=n[o];s&&e(t,s,o,i)}return t})}xz.exports=EW});var kz=p((Aoe,Sz)=>{var RW=uz(),NW=$z(),DW=NW(function(e,t,n){RW(e,t,n)});Sz.exports=DW});var $s=p((Ooe,wz)=>{function qW(e,t){for(var n=-1,o=e==null?0:e.length;++n<o&&t(e[n],n,e)!==!1;);return e}wz.exports=qW});var wm=p((joe,zz)=>{var UW=un(),LW=lt();function MW(e,t){return e&&UW(t,LW(t),e)}zz.exports=MW});var Pz=p((Coe,Iz)=>{var ZW=un(),WW=cn();function FW(e,t){return e&&ZW(t,WW(t),e)}Iz.exports=FW});var Az=p((Eoe,Tz)=>{var HW=un(),VW=ms();function BW(e,t){return HW(e,VW(e),t)}Tz.exports=BW});var zm=p((Roe,Oz)=>{var GW=ds(),JW=_s(),KW=ms(),YW=am(),QW=Object.getOwnPropertySymbols,XW=QW?function(e){for(var t=[];e;)GW(t,KW(e)),e=JW(e);return t}:YW;Oz.exports=XW});var Cz=p((Noe,jz)=>{var eF=un(),tF=zm();function rF(e,t){return eF(e,tF(e),t)}jz.exports=rF});var Rz=p((Doe,Ez)=>{var nF=om(),oF=zm(),iF=cn();function aF(e){return nF(e,iF,oF)}Ez.exports=aF});var Dz=p((qoe,Nz)=>{var sF=Object.prototype,uF=sF.hasOwnProperty;function cF(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&uF.call(e,"index")&&(n.index=e.index,n.input=e.input),n}Nz.exports=cF});var Uz=p((Uoe,qz)=>{var lF=vs();function pF(e,t){var n=t?lF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}qz.exports=pF});var Mz=p((Loe,Lz)=>{var dF=/\w*$/;function mF(e){var t=new e.constructor(e.source,dF.exec(e));return t.lastIndex=e.lastIndex,t}Lz.exports=mF});var Vz=p((Moe,Hz)=>{var Zz=Yt(),Wz=Zz?Zz.prototype:void 0,Fz=Wz?Wz.valueOf:void 0;function fF(e){return Fz?Object(Fz.call(e)):{}}Hz.exports=fF});var Gz=p((Zoe,Bz)=>{var gF=vs(),hF=Uz(),vF=Mz(),_F=Vz(),yF=ym(),bF="[object Boolean]",xF="[object Date]",$F="[object Map]",SF="[object Number]",kF="[object RegExp]",wF="[object Set]",zF="[object String]",IF="[object Symbol]",PF="[object ArrayBuffer]",TF="[object DataView]",AF="[object Float32Array]",OF="[object Float64Array]",jF="[object Int8Array]",CF="[object Int16Array]",EF="[object Int32Array]",RF="[object Uint8Array]",NF="[object Uint8ClampedArray]",DF="[object Uint16Array]",qF="[object Uint32Array]";function UF(e,t,n){var o=e.constructor;switch(t){case PF:return gF(e);case bF:case xF:return new o(+e);case TF:return hF(e,n);case AF:case OF:case jF:case CF:case EF:case RF:case NF:case DF:case qF:return yF(e,n);case $F:return new o;case SF:case zF:return new o(e);case kF:return vF(e);case wF:return new o;case IF:return _F(e)}}Bz.exports=UF});var Kz=p((Woe,Jz)=>{var LF=jt(),MF=Me(),ZF="[object Map]";function WF(e){return MF(e)&&LF(e)==ZF}Jz.exports=WF});var eI=p((Foe,Xz)=>{var FF=Kz(),HF=as(),Yz=ss(),Qz=Yz&&Yz.isMap,VF=Qz?HF(Qz):FF;Xz.exports=VF});var rI=p((Hoe,tI)=>{var BF=jt(),GF=Me(),JF="[object Set]";function KF(e){return GF(e)&&BF(e)==JF}tI.exports=KF});var aI=p((Voe,iI)=>{var YF=rI(),QF=as(),nI=ss(),oI=nI&&nI.isSet,XF=oI?QF(oI):YF;iI.exports=XF});var ks=p((Boe,lI)=>{var eH=Co(),tH=$s(),rH=ys(),nH=wm(),oH=Pz(),iH=_m(),aH=sn(),sH=Az(),uH=Cz(),cH=sm(),lH=Rz(),pH=jt(),dH=Dz(),mH=Gz(),fH=bm(),gH=ve(),hH=Kr(),vH=eI(),_H=Le(),yH=aI(),bH=lt(),xH=cn(),$H=1,SH=2,kH=4,sI="[object Arguments]",wH="[object Array]",zH="[object Boolean]",IH="[object Date]",PH="[object Error]",uI="[object Function]",TH="[object GeneratorFunction]",AH="[object Map]",OH="[object Number]",cI="[object Object]",jH="[object RegExp]",CH="[object Set]",EH="[object String]",RH="[object Symbol]",NH="[object WeakMap]",DH="[object ArrayBuffer]",qH="[object DataView]",UH="[object Float32Array]",LH="[object Float64Array]",MH="[object Int8Array]",ZH="[object Int16Array]",WH="[object Int32Array]",FH="[object Uint8Array]",HH="[object Uint8ClampedArray]",VH="[object Uint16Array]",BH="[object Uint32Array]",se={};se[sI]=se[wH]=se[DH]=se[qH]=se[zH]=se[IH]=se[UH]=se[LH]=se[MH]=se[ZH]=se[WH]=se[AH]=se[OH]=se[cI]=se[jH]=se[CH]=se[EH]=se[RH]=se[FH]=se[HH]=se[VH]=se[BH]=!0;se[PH]=se[uI]=se[NH]=!1;function Ss(e,t,n,o,r,i){var a,s=t&$H,u=t&SH,l=t&kH;if(n&&(a=r?n(e,o,r,i):n(e)),a!==void 0)return a;if(!_H(e))return e;var m=gH(e);if(m){if(a=dH(e),!s)return aH(e,a)}else{var c=pH(e),g=c==uI||c==TH;if(hH(e))return iH(e,s);if(c==cI||c==sI||g&&!r){if(a=u||g?{}:fH(e),!s)return u?uH(e,oH(a,e)):sH(e,nH(a,e))}else{if(!se[c])return r?e:{};a=mH(e,c,s)}}i||(i=new eH);var v=i.get(e);if(v)return v;i.set(e,a),yH(e)?e.forEach(function(b){a.add(Ss(b,t,n,b,e,i))}):vH(e)&&e.forEach(function(b,k){a.set(k,Ss(b,t,n,k,e,i))});var f=l?u?lH:cH:u?xH:bH,x=m?void 0:f(e);return tH(x||e,function(b,k){x&&(k=b,b=e[k]),rH(a,k,Ss(b,t,n,k,e,i))}),a}lI.exports=Ss});var dI=p((Goe,pI)=>{var GH=ks(),JH=1,KH=4;function YH(e){return GH(e,JH|KH)}pI.exports=YH});var mI=p(Ze=>{Ze.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"};Ze.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]};Ze.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]};Ze.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2};Ze.iterateeRearg={mapKeys:[1],reduceRight:[1,0]};Ze.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]};Ze.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}};Ze.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}};Ze.realToAlias=(function(){var e=Object.prototype.hasOwnProperty,t=Ze.aliasToReal,n={};for(var o in t){var r=t[o];e.call(n,r)?n[r].push(o):n[r]=[o]}return n})();Ze.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"};Ze.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0};Ze.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}});var ws=p((Koe,fI)=>{fI.exports={}});var _I=p((Yoe,vI)=>{var be=mI(),QH=ws(),gI=Array.prototype.push;function XH(e,t){return t==2?function(n,o){return e.apply(void 0,arguments)}:function(n){return e.apply(void 0,arguments)}}function Im(e,t){return t==2?function(n,o){return e(n,o)}:function(n){return e(n)}}function hI(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function eV(e){return function(t){return e({},t)}}function tV(e,t){return function(){for(var n=arguments.length,o=n-1,r=Array(n);n--;)r[n]=arguments[n];var i=r[t],a=r.slice(0,t);return i&&gI.apply(a,i),t!=o&&gI.apply(a,r.slice(t+1)),e.apply(this,a)}}function Pm(e,t){return function(){var n=arguments.length;if(n){for(var o=Array(n);n--;)o[n]=arguments[n];var r=o[0]=t.apply(void 0,o);return e.apply(void 0,o),r}}}function Tm(e,t,n,o){var r=typeof t=="function",i=t===Object(t);if(i&&(o=n,n=t,t=void 0),n==null)throw new TypeError;o||(o={});var a={cap:"cap"in o?o.cap:!0,curry:"curry"in o?o.curry:!0,fixed:"fixed"in o?o.fixed:!0,immutable:"immutable"in o?o.immutable:!0,rearg:"rearg"in o?o.rearg:!0},s=r?n:QH,u="curry"in o&&o.curry,l="fixed"in o&&o.fixed,m="rearg"in o&&o.rearg,c=r?n.runInContext():void 0,g=r?n:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},v=g.ary,f=g.assign,x=g.clone,b=g.curry,k=g.forEach,$=g.isArray,z=g.isError,T=g.isFunction,U=g.isWeakMap,M=g.keys,ee=g.rearg,te=g.toInteger,Ce=g.toPath,ft=M(be.aryMethod),lA={castArray:function(R){return function(){var O=arguments[0];return $(O)?R(hI(O)):R.apply(void 0,arguments)}},iteratee:function(R){return function(){var O=arguments[0],C=arguments[1],L=R(O,C),F=L.length;return a.cap&&typeof C=="number"?(C=C>2?C-2:1,F&&F<=C?L:Im(L,C)):L}},mixin:function(R){return function(O){var C=this;if(!T(C))return R(C,Object(O));var L=[];return k(M(O),function(F){T(O[F])&&L.push([F,C.prototype[F]])}),R(C,Object(O)),k(L,function(F){var Ee=F[1];T(Ee)?C.prototype[F[0]]=Ee:delete C.prototype[F[0]]}),C}},nthArg:function(R){return function(O){var C=O<0?1:te(O)+1;return b(R(O),C)}},rearg:function(R){return function(O,C){var L=C?C.length:0;return b(R(O,C),L)}},runInContext:function(R){return function(O){return Tm(e,R(O),o)}}};function pA(R,O){if(a.cap){var C=be.iterateeRearg[R];if(C)return hA(O,C);var L=!r&&be.iterateeAry[R];if(L)return gA(O,L)}return O}function dA(R,O,C){return u||a.curry&&C>1?b(O,C):O}function Lf(R,O,C){if(a.fixed&&(l||!be.skipFixed[R])){var L=be.methodSpread[R],F=L&&L.start;return F===void 0?v(O,C):tV(O,F)}return O}function Mf(R,O,C){return a.rearg&&C>1&&(m||!be.skipRearg[R])?ee(O,be.methodRearg[R]||be.aryRearg[C]):O}function mA(R,O){O=Ce(O);for(var C=-1,L=O.length,F=L-1,Ee=x(Object(R)),Xe=Ee;Xe!=null&&++C<L;){var Be=O[C],et=Xe[Be];et!=null&&!(T(et)||z(et)||U(et))&&(Xe[Be]=x(C==F?et:Object(et))),Xe=Xe[Be]}return Ee}function fA(R){return We.runInContext.convert(R)(void 0)}function Zf(R,O){var C=be.aliasToReal[R]||R,L=be.remap[C]||C,F=o;return function(Ee){var Xe=r?c:g,Be=r?c[L]:O,et=f(f({},F),Ee);return Tm(Xe,C,Be,et)}}function gA(R,O){return Wf(R,function(C){return typeof C=="function"?Im(C,O):C})}function hA(R,O){return Wf(R,function(C){var L=O.length;return XH(ee(Im(C,L),O),L)})}function Wf(R,O){return function(){var C=arguments.length;if(!C)return R();for(var L=Array(C);C--;)L[C]=arguments[C];var F=a.rearg?0:C-1;return L[F]=O(L[F]),R.apply(void 0,L)}}function Ff(R,O,C){var L,F=be.aliasToReal[R]||R,Ee=O,Xe=lA[F];return Xe?Ee=Xe(O):a.immutable&&(be.mutate.array[F]?Ee=Pm(O,hI):be.mutate.object[F]?Ee=Pm(O,eV(O)):be.mutate.set[F]&&(Ee=Pm(O,mA))),k(ft,function(Be){return k(be.aryMethod[Be],function(et){if(F==et){var Hf=be.methodSpread[F],vA=Hf&&Hf.afterRearg;return L=vA?Lf(F,Mf(F,Ee,Be),Be):Mf(F,Lf(F,Ee,Be),Be),L=pA(F,L),L=dA(F,L,Be),!1}}),!L}),L||(L=Ee),L==O&&(L=u?b(L,1):function(){return O.apply(this,arguments)}),L.convert=Zf(F,O),L.placeholder=O.placeholder=C,L}if(!i)return Ff(t,n,s);var We=n,hn=[];return k(ft,function(R){k(be.aryMethod[R],function(O){var C=We[be.remap[O]||O];C&&hn.push([O,Ff(O,C,We)])})}),k(M(We),function(R){var O=We[R];if(typeof O=="function"){for(var C=hn.length;C--;)if(hn[C][0]==R)return;O.convert=Zf(R,O),hn.push([R,O])}}),k(hn,function(R){We[R[0]]=R[1]}),We.convert=fA,We.placeholder=We,k(M(We),function(R){k(be.realToAlias[R]||[],function(O){We[O]=We[R]})}),We}vI.exports=Tm});var Am=p((Qoe,bI)=>{var yI=jd(),rV=yI&&new yI;bI.exports=rV});var Om=p((Xoe,$I)=>{var nV=Eo(),xI=Am(),oV=xI?function(e,t){return xI.set(e,t),e}:nV;$I.exports=oV});var qo=p((eie,SI)=>{var iV=Do(),aV=Le();function sV(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=iV(e.prototype),o=e.apply(n,t);return aV(o)?o:n}}SI.exports=sV});var wI=p((tie,kI)=>{var uV=qo(),cV=Oe(),lV=1;function pV(e,t,n){var o=t&lV,r=uV(e);function i(){var a=this&&this!==cV&&this instanceof i?r:e;return a.apply(o?n:this,arguments)}return i}kI.exports=pV});var jm=p((rie,zI)=>{var dV=Math.max;function mV(e,t,n,o){for(var r=-1,i=e.length,a=n.length,s=-1,u=t.length,l=dV(i-a,0),m=Array(u+l),c=!o;++s<u;)m[s]=t[s];for(;++r<a;)(c||r<i)&&(m[n[r]]=e[r]);for(;l--;)m[s++]=e[r++];return m}zI.exports=mV});var Cm=p((nie,II)=>{var fV=Math.max;function gV(e,t,n,o){for(var r=-1,i=e.length,a=-1,s=n.length,u=-1,l=t.length,m=fV(i-s,0),c=Array(m+l),g=!o;++r<m;)c[r]=e[r];for(var v=r;++u<l;)c[v+u]=t[u];for(;++a<s;)(g||r<i)&&(c[v+n[a]]=e[r++]);return c}II.exports=gV});var TI=p((oie,PI)=>{function hV(e,t){for(var n=e.length,o=0;n--;)e[n]===t&&++o;return o}PI.exports=hV});var zs=p((iie,AI)=>{function vV(){}AI.exports=vV});var Ps=p((aie,OI)=>{var _V=Do(),yV=zs(),bV=4294967295;function Is(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=bV,this.__views__=[]}Is.prototype=_V(yV.prototype);Is.prototype.constructor=Is;OI.exports=Is});var CI=p((sie,jI)=>{function xV(){}jI.exports=xV});var Em=p((uie,RI)=>{var EI=Am(),$V=CI(),SV=EI?function(e){return EI.get(e)}:$V;RI.exports=SV});var DI=p((cie,NI)=>{var kV={};NI.exports=kV});var LI=p((lie,UI)=>{var qI=DI(),wV=Object.prototype,zV=wV.hasOwnProperty;function IV(e){for(var t=e.name+"",n=qI[t],o=zV.call(qI,t)?n.length:0;o--;){var r=n[o],i=r.func;if(i==null||i==e)return r.name}return t}UI.exports=IV});var Rm=p((pie,MI)=>{var PV=Do(),TV=zs();function Ts(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}Ts.prototype=PV(TV.prototype);Ts.prototype.constructor=Ts;MI.exports=Ts});var WI=p((die,ZI)=>{var AV=Ps(),OV=Rm(),jV=sn();function CV(e){if(e instanceof AV)return e.clone();var t=new OV(e.__wrapped__,e.__chain__);return t.__actions__=jV(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}ZI.exports=CV});var VI=p((mie,HI)=>{var EV=Ps(),FI=Rm(),RV=zs(),NV=ve(),DV=Me(),qV=WI(),UV=Object.prototype,LV=UV.hasOwnProperty;function As(e){if(DV(e)&&!NV(e)&&!(e instanceof EV)){if(e instanceof FI)return e;if(LV.call(e,"__wrapped__"))return qV(e)}return new FI(e)}As.prototype=RV.prototype;As.prototype.constructor=As;HI.exports=As});var GI=p((fie,BI)=>{var MV=Ps(),ZV=Em(),WV=LI(),FV=VI();function HV(e){var t=WV(e),n=FV[t];if(typeof n!="function"||!(t in MV.prototype))return!1;if(e===n)return!0;var o=ZV(n);return!!o&&e===o[0]}BI.exports=HV});var Nm=p((gie,JI)=>{var VV=Om(),BV=km(),GV=BV(VV);JI.exports=GV});var YI=p((hie,KI)=>{var JV=/\{\n\/\* \[wrapped with (.+)\] \*/,KV=/,? & /;function YV(e){var t=e.match(JV);return t?t[1].split(KV):[]}KI.exports=YV});var XI=p((vie,QI)=>{var QV=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function XV(e,t){var n=t.length;if(!n)return e;var o=n-1;return t[o]=(n>1?"& ":"")+t[o],t=t.join(n>2?", ":" "),e.replace(QV,`{
1076
+ /* [wrapped with `+t+`] */
1077
+ `)}QI.exports=XV});var tP=p((_ie,eP)=>{var e9=dm();function t9(e,t){var n=e==null?0:e.length;return!!n&&e9(e,t,0)>-1}eP.exports=t9});var nP=p((yie,rP)=>{var r9=$s(),n9=tP(),o9=1,i9=2,a9=8,s9=16,u9=32,c9=64,l9=128,p9=256,d9=512,m9=[["ary",l9],["bind",o9],["bindKey",i9],["curry",a9],["curryRight",s9],["flip",d9],["partial",u9],["partialRight",c9],["rearg",p9]];function f9(e,t){return r9(m9,function(n){var o="_."+n[0];t&n[1]&&!n9(e,o)&&e.push(o)}),e.sort()}rP.exports=f9});var Dm=p((bie,oP)=>{var g9=YI(),h9=XI(),v9=xs(),_9=nP();function y9(e,t,n){var o=t+"";return v9(e,h9(o,_9(g9(o),n)))}oP.exports=y9});var qm=p((xie,sP)=>{var b9=GI(),x9=Nm(),$9=Dm(),S9=1,k9=2,w9=4,z9=8,iP=32,aP=64;function I9(e,t,n,o,r,i,a,s,u,l){var m=t&z9,c=m?a:void 0,g=m?void 0:a,v=m?i:void 0,f=m?void 0:i;t|=m?iP:aP,t&=~(m?aP:iP),t&w9||(t&=~(S9|k9));var x=[e,t,r,v,c,f,g,s,u,l],b=n.apply(void 0,x);return b9(e)&&x9(b,x),b.placeholder=o,$9(b,e,t)}sP.exports=I9});var Um=p(($ie,uP)=>{function P9(e){var t=e;return t.placeholder}uP.exports=P9});var lP=p((Sie,cP)=>{var T9=sn(),A9=tr(),O9=Math.min;function j9(e,t){for(var n=e.length,o=O9(t.length,n),r=T9(e);o--;){var i=t[o];e[o]=A9(i,n)?r[i]:void 0}return e}cP.exports=j9});var Os=p((kie,dP)=>{var pP="__lodash_placeholder__";function C9(e,t){for(var n=-1,o=e.length,r=0,i=[];++n<o;){var a=e[n];(a===t||a===pP)&&(e[n]=pP,i[r++]=n)}return i}dP.exports=C9});var Lm=p((wie,gP)=>{var E9=jm(),R9=Cm(),N9=TI(),mP=qo(),D9=qm(),q9=Um(),U9=lP(),L9=Os(),M9=Oe(),Z9=1,W9=2,F9=8,H9=16,V9=128,B9=512;function fP(e,t,n,o,r,i,a,s,u,l){var m=t&V9,c=t&Z9,g=t&W9,v=t&(F9|H9),f=t&B9,x=g?void 0:mP(e);function b(){for(var k=arguments.length,$=Array(k),z=k;z--;)$[z]=arguments[z];if(v)var T=q9(b),U=N9($,T);if(o&&($=E9($,o,r,v)),i&&($=R9($,i,a,v)),k-=U,v&&k<l){var M=L9($,T);return D9(e,t,fP,b.placeholder,n,$,M,s,u,l-k)}var ee=c?n:this,te=g?ee[e]:e;return k=$.length,s?$=U9($,s):f&&k>1&&$.reverse(),m&&u<k&&($.length=u),this&&this!==M9&&this instanceof b&&(te=x||mP(te)),te.apply(ee,$)}return b}gP.exports=fP});var vP=p((zie,hP)=>{var G9=bs(),J9=qo(),K9=Lm(),Y9=qm(),Q9=Um(),X9=Os(),eB=Oe();function tB(e,t,n){var o=J9(e);function r(){for(var i=arguments.length,a=Array(i),s=i,u=Q9(r);s--;)a[s]=arguments[s];var l=i<3&&a[0]!==u&&a[i-1]!==u?[]:X9(a,u);if(i-=l.length,i<n)return Y9(e,t,K9,r.placeholder,void 0,a,l,void 0,void 0,n-i);var m=this&&this!==eB&&this instanceof r?o:e;return G9(m,this,a)}return r}hP.exports=tB});var yP=p((Iie,_P)=>{var rB=bs(),nB=qo(),oB=Oe(),iB=1;function aB(e,t,n,o){var r=t&iB,i=nB(e);function a(){for(var s=-1,u=arguments.length,l=-1,m=o.length,c=Array(m+u),g=this&&this!==oB&&this instanceof a?i:e;++l<m;)c[l]=o[l];for(;u--;)c[l++]=arguments[++s];return rB(g,r?n:this,c)}return a}_P.exports=aB});var wP=p((Pie,kP)=>{var sB=jm(),uB=Cm(),bP=Os(),xP="__lodash_placeholder__",Mm=1,cB=2,lB=4,$P=8,Uo=128,SP=256,pB=Math.min;function dB(e,t){var n=e[1],o=t[1],r=n|o,i=r<(Mm|cB|Uo),a=o==Uo&&n==$P||o==Uo&&n==SP&&e[7].length<=t[8]||o==(Uo|SP)&&t[7].length<=t[8]&&n==$P;if(!(i||a))return e;o&Mm&&(e[2]=t[2],r|=n&Mm?0:lB);var s=t[3];if(s){var u=e[3];e[3]=u?sB(u,s,t[4]):s,e[4]=u?bP(e[3],xP):t[4]}return s=t[5],s&&(u=e[5],e[5]=u?uB(u,s,t[6]):s,e[6]=u?bP(e[5],xP):t[6]),s=t[7],s&&(e[7]=s),o&Uo&&(e[8]=e[8]==null?t[8]:pB(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}kP.exports=dB});var js=p((Tie,AP)=>{var mB=Om(),fB=wI(),gB=vP(),hB=Lm(),vB=yP(),_B=Em(),yB=wP(),bB=Nm(),xB=Dm(),zP=on(),$B="Expected a function",IP=1,SB=2,Zm=8,Wm=16,Fm=32,PP=64,TP=Math.max;function kB(e,t,n,o,r,i,a,s){var u=t&SB;if(!u&&typeof e!="function")throw new TypeError($B);var l=o?o.length:0;if(l||(t&=~(Fm|PP),o=r=void 0),a=a===void 0?a:TP(zP(a),0),s=s===void 0?s:zP(s),l-=r?r.length:0,t&PP){var m=o,c=r;o=r=void 0}var g=u?void 0:_B(e),v=[e,t,n,o,r,m,c,i,a,s];if(g&&yB(v,g),e=v[0],t=v[1],n=v[2],o=v[3],r=v[4],s=v[9]=v[9]===void 0?u?0:e.length:TP(v[9]-l,0),!s&&t&(Zm|Wm)&&(t&=~(Zm|Wm)),!t||t==IP)var f=fB(e,t,n);else t==Zm||t==Wm?f=gB(e,t,s):(t==Fm||t==(IP|Fm))&&!r.length?f=vB(e,t,n,o):f=hB.apply(void 0,v);var x=g?mB:bB;return xB(x(f,v),e,t)}AP.exports=kB});var jP=p((Aie,OP)=>{var wB=js(),zB=128;function IB(e,t,n){return t=n?void 0:t,t=e&&t==null?e.length:t,wB(e,zB,void 0,void 0,void 0,void 0,t)}OP.exports=IB});var EP=p((Oie,CP)=>{var PB=ks(),TB=4;function AB(e){return PB(e,TB)}CP.exports=AB});var NP=p((jie,RP)=>{var OB=js(),jB=8;function Hm(e,t,n){t=n?void 0:t;var o=OB(e,jB,void 0,void 0,void 0,void 0,void 0,t);return o.placeholder=Hm.placeholder,o}Hm.placeholder={};RP.exports=Hm});var qP=p((Cie,DP)=>{var CB=_t(),EB=Me(),RB=xm(),NB="[object DOMException]",DB="[object Error]";function qB(e){if(!EB(e))return!1;var t=CB(e);return t==DB||t==NB||typeof e.message=="string"&&typeof e.name=="string"&&!RB(e)}DP.exports=qB});var LP=p((Eie,UP)=>{var UB=jt(),LB=Me(),MB="[object WeakMap]";function ZB(e){return LB(e)&&UB(e)==MB}UP.exports=ZB});var ZP=p((Rie,MP)=>{var WB=ks(),FB=Et(),HB=1;function VB(e){return FB(typeof e=="function"?e:WB(e,HB))}MP.exports=VB});var VP=p((Nie,HP)=>{var WP=Yt(),BB=Gr(),GB=ve(),FP=WP?WP.isConcatSpreadable:void 0;function JB(e){return GB(e)||BB(e)||!!(FP&&e&&e[FP])}HP.exports=JB});var JP=p((Die,GP)=>{var KB=ds(),YB=VP();function BP(e,t,n,o,r){var i=-1,a=e.length;for(n||(n=YB),r||(r=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?BP(s,t-1,n,o,r):KB(r,s):o||(r[r.length]=s)}return r}GP.exports=BP});var YP=p((qie,KP)=>{var QB=JP();function XB(e){var t=e==null?0:e.length;return t?QB(e,1):[]}KP.exports=XB});var XP=p((Uie,QP)=>{var e3=YP(),t3=Sm(),r3=xs();function n3(e){return r3(t3(e,void 0,e3),e+"")}QP.exports=n3});var tT=p((Lie,eT)=>{var o3=js(),i3=XP(),a3=256,s3=i3(function(e,t){return o3(e,a3,void 0,void 0,void 0,t)});eT.exports=s3});var nT=p((Mie,rT)=>{var u3=Io(),c3=sn(),l3=ve(),p3=Xt(),d3=Yd(),m3=Ct(),f3=er();function g3(e){return l3(e)?u3(e,m3):p3(e)?[e]:c3(d3(f3(e)))}rT.exports=g3});var iT=p((Zie,oT)=>{oT.exports={ary:jP(),assign:wm(),clone:EP(),curry:NP(),forEach:$s(),isArray:ve(),isError:qP(),isFunction:Vr(),isWeakMap:LP(),iteratee:ZP(),keys:ns(),rearg:tT(),toInteger:on(),toPath:nT()}});var Vm=p((Wie,aT)=>{var h3=_I(),v3=iT();function _3(e,t,n){return h3(v3,e,t,n)}aT.exports=_3});var cT=p((Fie,uT)=>{var y3=ys(),b3=jo(),x3=tr(),sT=Le(),$3=Ct();function S3(e,t,n,o){if(!sT(e))return e;t=b3(t,e);for(var r=-1,i=t.length,a=i-1,s=e;s!=null&&++r<i;){var u=$3(t[r]),l=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(r!=a){var m=s[u];l=o?o(m,u,s):void 0,l===void 0&&(l=sT(m)?m:x3(t[r+1])?[]:{})}y3(s,u,l),s=s[u]}return e}uT.exports=S3});var pT=p((Hie,lT)=>{var k3=cT();function w3(e,t,n){return e==null?e:k3(e,t,n)}lT.exports=w3});var fT=p((Vie,mT)=>{var z3=Vm(),dT=z3("set",pT());dT.placeholder=ws();mT.exports=dT});var Bm=p((Bie,gT)=>{function I3(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}gT.exports=I3});var vT=p((Gie,hT)=>{var P3=ls(),T3=Md();function A3(e,t){return t.length<2?e:P3(e,T3(t,0,-1))}hT.exports=A3});var Gm=p((Jie,yT)=>{var O3=jo(),j3=Bm(),C3=vT(),_T=Ct(),E3=Object.prototype,R3=E3.hasOwnProperty;function N3(e,t){t=O3(t,e);var n=-1,o=t.length;if(!o)return!0;for(;++n<o;){var r=_T(t[n]);if(r==="__proto__"&&!R3.call(e,"__proto__")||(r==="constructor"||r==="prototype")&&n<o-1)return!1}var i=C3(e,t);return i==null||delete i[_T(j3(t))]}yT.exports=N3});var xT=p((Kie,bT)=>{var D3=Gm();function q3(e,t){return e==null?!0:D3(e,t)}bT.exports=q3});var kT=p((Yie,ST)=>{var U3=Vm(),$T=U3("unset",xT());$T.placeholder=ws();ST.exports=$T});var zT=p((Qie,wT)=>{var L3=Xt();function M3(e,t,n){for(var o=-1,r=e.length;++o<r;){var i=e[o],a=t(i);if(a!=null&&(s===void 0?a===a&&!L3(a):n(a,s)))var s=a,u=i}return u}wT.exports=M3});var PT=p((Xie,IT)=>{function Z3(e,t){return e>t}IT.exports=Z3});var Jm=p((eae,TT)=>{var W3=zT(),F3=PT(),H3=Et();function V3(e,t){return e&&e.length?W3(e,H3(t,2),F3):void 0}TT.exports=V3});var OT=p((tae,AT)=>{var B3=Gm(),G3=tr(),J3=Array.prototype,K3=J3.splice;function Y3(e,t){for(var n=e?t.length:0,o=n-1;n--;){var r=t[n];if(n==o||r!==i){var i=r;G3(r)?K3.call(e,r,1):B3(e,r)}}return e}AT.exports=Y3});var CT=p((rae,jT)=>{var Q3=Et(),X3=OT();function e8(e,t){var n=[];if(!(e&&e.length))return n;var o=-1,r=[],i=e.length;for(t=Q3(t,3);++o<i;){var a=e[o];t(a,o,e)&&(n.push(a),r.push(o))}return X3(e,r),n}jT.exports=e8});var RT=p((nae,ET)=>{function t8(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}ET.exports=t8});var DT=p((oae,NT)=>{var r8=RT(),n8=Ld(),o8=on(),i8=er();function a8(e,t,n){e=i8(e),t=n8(t);var o=e.length;n=n===void 0?o:r8(o8(n),0,o);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}NT.exports=a8});var UT=p((iae,qT)=>{function s8(e,t,n,o,r){return r(e,function(i,a,s){n=o?(o=!1,i):t(n,i,a,s)}),n}qT.exports=s8});var MT=p((aae,LT)=>{var u8=Ud(),c8=gm(),l8=Et(),p8=UT(),d8=ve();function m8(e,t,n){var o=d8(e)?u8:p8,r=arguments.length<3;return o(e,l8(t,4),n,r,c8)}LT.exports=m8});var WT=p((sae,ZT)=>{var f8=Io();function g8(e,t){return f8(t,function(n){return[n,e[n]]})}ZT.exports=g8});var HT=p((uae,FT)=>{function h8(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=[o,o]}),n}FT.exports=h8});var BT=p((cae,VT)=>{var v8=WT(),_8=jt(),y8=rm(),b8=HT(),x8="[object Map]",$8="[object Set]";function S8(e){return function(t){var n=_8(t);return n==x8?y8(t):n==$8?b8(t):v8(t,e(t))}}VT.exports=S8});var JT=p((lae,GT)=>{var k8=BT(),w8=lt(),z8=k8(w8);GT.exports=z8});var YT=p((pae,KT)=>{function I8(e){return e===void 0}KT.exports=I8});var J0=p((Tae,G0)=>{var tJ=Oe(),rJ=function(){return tJ.Date.now()};G0.exports=rJ});var Q0=p((Aae,Y0)=>{var nJ=Le(),Ef=J0(),K0=Bd(),oJ="Expected a function",iJ=Math.max,aJ=Math.min;function sJ(e,t,n){var o,r,i,a,s,u,l=0,m=!1,c=!1,g=!0;if(typeof e!="function")throw new TypeError(oJ);t=K0(t)||0,nJ(n)&&(m=!!n.leading,c="maxWait"in n,i=c?iJ(K0(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g);function v(M){var ee=o,te=r;return o=r=void 0,l=M,a=e.apply(te,ee),a}function f(M){return l=M,s=setTimeout(k,t),m?v(M):a}function x(M){var ee=M-u,te=M-l,Ce=t-ee;return c?aJ(Ce,i-te):Ce}function b(M){var ee=M-u,te=M-l;return u===void 0||ee>=t||ee<0||c&&te>=i}function k(){var M=Ef();if(b(M))return $(M);s=setTimeout(k,x(M))}function $(M){return s=void 0,g&&o?v(M):(o=r=void 0,a)}function z(){s!==void 0&&clearTimeout(s),l=0,o=u=r=s=void 0}function T(){return s===void 0?a:$(Ef())}function U(){var M=Ef(),ee=b(M);if(o=arguments,r=this,u=M,ee){if(s===void 0)return f(u);if(c)return clearTimeout(s),s=setTimeout(k,t),v(u)}return s===void 0&&(s=setTimeout(k,t)),a}return U.cancel=z,U.flush=T,U}Y0.exports=sJ});var yn,D,Jf,wA,St,Vf,Kf,Yf,Js,Go,vn,Qf,eu,Ks,Ys,Xf,Jo={},Ko=[],zA=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,bn=Array.isArray;function tt(e,t){for(var n in t)e[n]=t[n];return e}function tu(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Ye(e,t,n){var o,r,i,a={};for(i in t)i=="key"?o=t[i]:i=="ref"?r=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?yn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return _n(e,a,o,r,null)}function _n(e,t,n,o,r){var i={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r??++Jf,__i:-1,__u:0};return r==null&&D.vnode!=null&&D.vnode(i),i}function ru(){return{current:null}}function K(e){return e.children}function Ne(e,t){this.props=e,this.context=t}function or(e,t){if(t==null)return e.__?or(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?or(e):null}function IA(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,o=[],r=[],i=tt({},t);i.__v=t.__v+1,D.vnode&&D.vnode(i),nu(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,o,n??or(t),!!(32&t.__u),r),i.__v=t.__v,i.__.__k[i.__i]=i,ng(o,i,r),t.__e=t.__=null,i.__e!=n&&eg(i)}}function eg(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),eg(e)}function Qs(e){(!e.__d&&(e.__d=!0)&&St.push(e)&&!Yo.__r++||Vf!=D.debounceRendering)&&((Vf=D.debounceRendering)||Kf)(Yo)}function Yo(){try{for(var e,t=1;St.length;)St.length>t&&St.sort(Yf),e=St.shift(),t=St.length,IA(e)}finally{St.length=Yo.__r=0}}function tg(e,t,n,o,r,i,a,s,u,l,m){var c,g,v,f,x,b,k,$=o&&o.__k||Ko,z=t.length;for(u=PA(n,t,$,u,z),c=0;c<z;c++)(v=n.__k[c])!=null&&(g=v.__i!=-1&&$[v.__i]||Jo,v.__i=c,b=nu(e,v,g,r,i,a,s,u,l,m),f=v.__e,v.ref&&g.ref!=v.ref&&(g.ref&&ou(g.ref,null,v),m.push(v.ref,v.__c||f,v)),x==null&&f!=null&&(x=f),(k=!!(4&v.__u))||g.__k===v.__k?(u=rg(v,u,e,k),k&&g.__e&&(g.__e=null)):typeof v.type=="function"&&b!==void 0?u=b:f&&(u=f.nextSibling),v.__u&=-7);return n.__e=x,u}function PA(e,t,n,o,r){var i,a,s,u,l,m=n.length,c=m,g=0;for(e.__k=new Array(r),i=0;i<r;i++)(a=t[i])!=null&&typeof a!="boolean"&&typeof a!="function"?(typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?a=e.__k[i]=_n(null,a,null,null,null):bn(a)?a=e.__k[i]=_n(K,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?a=e.__k[i]=_n(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,u=i+g,a.__=e,a.__b=e.__b+1,s=null,(l=a.__i=TA(a,n,u,c))!=-1&&(c--,(s=n[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(r>m?g--:r<m&&g++),typeof a.type!="function"&&(a.__u|=4)):l!=u&&(l==u-1?g--:l==u+1?g++:(l>u?g--:g++,a.__u|=4))):e.__k[i]=null;if(c)for(i=0;i<m;i++)(s=n[i])!=null&&(2&s.__u)==0&&(s.__e==o&&(o=or(s)),ig(s,s));return o}function rg(e,t,n,o){var r,i;if(typeof e.type=="function"){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=rg(r[i],t,n,o));return t}e.__e!=t&&(o&&(t&&e.type&&!t.parentNode&&(t=or(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function rt(e,t){return t=t||[],e==null||typeof e=="boolean"||(bn(e)?e.some(function(n){rt(n,t)}):t.push(e)),t}function TA(e,t,n,o){var r,i,a,s=e.key,u=e.type,l=t[n],m=l!=null&&(2&l.__u)==0;if(l===null&&s==null||m&&s==l.key&&u==l.type)return n;if(o>(m?1:0)){for(r=n-1,i=n+1;r>=0||i<t.length;)if((l=t[a=r>=0?r--:i++])!=null&&(2&l.__u)==0&&s==l.key&&u==l.type)return a}return-1}function Bf(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||zA.test(t)?n:n+"px"}function Bo(e,t,n,o,r){var i,a;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof o=="string"&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||Bf(e.style,t,"");if(n)for(t in n)o&&n[t]==o[t]||Bf(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(Qf,"$1")),a=t.toLowerCase(),t=a in e||t=="onFocusOut"||t=="onFocusIn"?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?o?n[vn]=o[vn]:(n[vn]=eu,e.addEventListener(t,i?Ys:Ks,i)):e.removeEventListener(t,i?Ys:Ks,i);else{if(r=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Gf(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t[Go]==null)t[Go]=eu++;else if(t[Go]<n[vn])return;return n(D.event?D.event(t):t)}}}function nu(e,t,n,o,r,i,a,s,u,l){var m,c,g,v,f,x,b,k,$,z,T,U,M,ee,te,Ce=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=t.__e=n.__e]),(m=D.__b)&&m(t);e:if(typeof Ce=="function")try{if(k=t.props,$=Ce.prototype&&Ce.prototype.render,z=(m=Ce.contextType)&&o[m.__c],T=m?z?z.props.value:m.__:o,n.__c?b=(c=t.__c=n.__c).__=c.__E:($?t.__c=c=new Ce(k,T):(t.__c=c=new Ne(k,T),c.constructor=Ce,c.render=OA),z&&z.sub(c),c.state||(c.state={}),c.__n=o,g=c.__d=!0,c.__h=[],c._sb=[]),$&&c.__s==null&&(c.__s=c.state),$&&Ce.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=tt({},c.__s)),tt(c.__s,Ce.getDerivedStateFromProps(k,c.__s))),v=c.props,f=c.state,c.__v=t,g)$&&Ce.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),$&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if($&&Ce.getDerivedStateFromProps==null&&k!==v&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(k,T),t.__v==n.__v||!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(k,c.__s,T)===!1){t.__v!=n.__v&&(c.props=k,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(ft){ft&&(ft.__=t)}),Ko.push.apply(c.__h,c._sb),c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(k,c.__s,T),$&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(v,f,x)})}if(c.context=T,c.props=k,c.__P=e,c.__e=!1,U=D.__r,M=0,$)c.state=c.__s,c.__d=!1,U&&U(t),m=c.render(c.props,c.state,c.context),Ko.push.apply(c.__h,c._sb),c._sb=[];else do c.__d=!1,U&&U(t),m=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++M<25);c.state=c.__s,c.getChildContext!=null&&(o=tt(tt({},o),c.getChildContext())),$&&!g&&c.getSnapshotBeforeUpdate!=null&&(x=c.getSnapshotBeforeUpdate(v,f)),ee=m!=null&&m.type===K&&m.key==null?og(m.props.children):m,s=tg(e,bn(ee)?ee:[ee],t,n,o,r,i,a,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),b&&(c.__E=c.__=null)}catch(ft){if(t.__v=null,u||i!=null)if(ft.then){for(t.__u|=u?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else{for(te=i.length;te--;)tu(i[te]);Xs(t)}else t.__e=n.__e,t.__k=n.__k,ft.then||Xs(t);D.__e(ft,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=AA(n.__e,t,n,o,r,i,a,u,l);return(m=D.diffed)&&m(t),128&t.__u?void 0:s}function Xs(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(Xs))}function ng(e,t,n){for(var o=0;o<n.length;o++)ou(n[o],n[++o],n[++o]);D.__c&&D.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(i){i.call(r)})}catch(i){D.__e(i,r.__v)}})}function og(e){return typeof e!="object"||e==null||e.__b>0?e:bn(e)?e.map(og):e.constructor!==void 0?null:tt({},e)}function AA(e,t,n,o,r,i,a,s,u){var l,m,c,g,v,f,x,b=n.props||Jo,k=t.props,$=t.type;if($=="svg"?r="http://www.w3.org/2000/svg":$=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),i!=null){for(l=0;l<i.length;l++)if((v=i[l])&&"setAttribute"in v==!!$&&($?v.localName==$:v.nodeType==3)){e=v,i[l]=null;break}}if(e==null){if($==null)return document.createTextNode(k);e=document.createElementNS(r,$,k.is&&k),s&&(D.__m&&D.__m(t,i),s=!1),i=null}if($==null)b===k||s&&e.data==k||(e.data=k);else{if(i=$=="textarea"&&k.defaultValue!=null?null:i&&yn.call(e.childNodes),!s&&i!=null)for(b={},l=0;l<e.attributes.length;l++)b[(v=e.attributes[l]).name]=v.value;for(l in b)v=b[l],l=="dangerouslySetInnerHTML"?c=v:l=="children"||l in k||l=="value"&&"defaultValue"in k||l=="checked"&&"defaultChecked"in k||Bo(e,l,null,v,r);for(l in k)v=k[l],l=="children"?g=v:l=="dangerouslySetInnerHTML"?m=v:l=="value"?f=v:l=="checked"?x=v:s&&typeof v!="function"||b[l]===v||Bo(e,l,v,b[l],r);if(m)s||c&&(m.__html==c.__html||m.__html==e.innerHTML)||(e.innerHTML=m.__html),t.__k=[];else if(c&&(e.innerHTML=""),tg(t.type=="template"?e.content:e,bn(g)?g:[g],t,n,o,$=="foreignObject"?"http://www.w3.org/1999/xhtml":r,i,a,i?i[0]:n.__k&&or(n,0),s,u),i!=null)for(l=i.length;l--;)tu(i[l]);s&&$!="textarea"||(l="value",$=="progress"&&f==null?e.removeAttribute("value"):f!=null&&(f!==e[l]||$=="progress"&&!f||$=="option"&&f!=b[l])&&Bo(e,l,f,b[l],r),l="checked",x!=null&&x!=e[l]&&Bo(e,l,x,b[l],r))}return e}function ou(e,t,n){try{if(typeof e=="function"){var o=typeof e.__u=="function";o&&e.__u(),o&&t==null||(e.__u=e(t))}else e.current=t}catch(r){D.__e(r,n)}}function ig(e,t,n){var o,r;if(D.unmount&&D.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||ou(o,null,t)),(o=e.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(i){D.__e(i,t)}o.base=o.__P=null}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&ig(o[r],t,n||typeof e.type!="function");n||tu(e.__e),e.__c=e.__=e.__e=void 0}function OA(e,t,n){return this.constructor(e,n)}function ir(e,t,n){var o,r,i,a;t==document&&(t=document.documentElement),D.__&&D.__(e,t),r=(o=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],nu(t,e=(!o&&n||t).__k=Ye(K,null,[e]),r||Jo,Jo,t.namespaceURI,!o&&n?[n]:r?null:t.firstChild?yn.call(t.childNodes):null,i,!o&&n?n:r?r.__e:t.firstChild,o,a),ng(i,e,a)}function iu(e,t){ir(e,t,iu)}function ag(e,t,n){var o,r,i,a,s=tt({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?o=t[i]:i=="ref"?r=t[i]:s[i]=t[i]===void 0&&a!=null?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?yn.call(arguments,2):n),_n(e.type,s,o||e.key,r||e.ref,null)}function xn(e){function t(n){var o,r;return this.getChildContext||(o=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&o.forEach(function(a){a.__e=!0,Qs(a)})},this.sub=function(i){o.add(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.delete(i),a&&a.call(i)}}),n.children}return t.__c="__cC"+Xf++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,o){return n.children(o)}).contextType=t,t}yn=Ko.slice,D={__e:function(e,t,n,o){for(var r,i,a;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&i.getDerivedStateFromError!=null&&(r.setState(i.getDerivedStateFromError(e)),a=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(e,o||{}),a=r.__d),a)return r.__E=r}catch(s){e=s}throw e}},Jf=0,wA=function(e){return e!=null&&e.constructor===void 0},Ne.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=tt({},this.state),typeof e=="function"&&(e=e(tt({},n),this.props)),e&&tt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Qs(this))},Ne.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qs(this))},Ne.prototype.render=K,St=[],Kf=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Yf=function(e,t){return e.__v.__b-t.__v.__b},Yo.__r=0,Js=Math.random().toString(8),Go="__d"+Js,vn="__a"+Js,Qf=/(PointerCapture)$|Capture$/i,eu=0,Ks=Gf(!1),Ys=Gf(!0),Xf=0;var kt,ce,au,sg,ar=0,gg=[],pe=D,ug=pe.__b,cg=pe.__r,lg=pe.diffed,pg=pe.__c,dg=pe.unmount,mg=pe.__;function sr(e,t){pe.__h&&pe.__h(ce,e,ar||t),ar=0;var n=ce.__H||(ce.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Se(e){return ar=1,Dt(hg,e)}function Dt(e,t,n){var o=sr(kt++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):hg(void 0,t),function(s){var u=o.__N?o.__N[0]:o.__[0],l=o.t(u,s);u!==l&&(o.__N=[l,o.__[1]],o.__c.setState({}))}],o.__c=ce,!ce.__f)){var r=function(s,u,l){if(!o.__c.__H)return!0;var m=o.__c.__H.__.filter(function(g){return g.__c});if(m.every(function(g){return!g.__N}))return!i||i.call(this,s,u,l);var c=o.__c.props!==s;return m.some(function(g){if(g.__N){var v=g.__[0];g.__=g.__N,g.__N=void 0,v!==g.__[0]&&(c=!0)}}),i&&i.call(this,s,u,l)||c};ce.__f=!0;var i=ce.shouldComponentUpdate,a=ce.componentWillUpdate;ce.componentWillUpdate=function(s,u,l){if(this.__e){var m=i;i=void 0,r(s,u,l),i=m}a&&a.call(this,s,u,l)},ce.shouldComponentUpdate=r}return o.__N||o.__}function Te(e,t){var n=sr(kt++,3);!pe.__s&&pu(n.__H,t)&&(n.__=e,n.u=t,ce.__H.__h.push(n))}function ur(e,t){var n=sr(kt++,4);!pe.__s&&pu(n.__H,t)&&(n.__=e,n.u=t,ce.__h.push(n))}function nt(e){return ar=5,ke(function(){return{current:e}},[])}function uu(e,t,n){ar=6,ur(function(){if(typeof e=="function"){var o=e(t());return function(){e(null),o&&typeof o=="function"&&o()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function ke(e,t){var n=sr(kt++,7);return pu(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Ge(e,t){return ar=8,ke(function(){return e},t)}function qt(e){var t=ce.context[e.__c],n=sr(kt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(ce)),t.props.value):e.__}function cu(e,t){pe.useDebugValue&&pe.useDebugValue(t?t(e):e)}function lu(){var e=sr(kt++,11);if(!e.__){for(var t=ce.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function jA(){for(var e;e=gg.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Qo),t.__h.some(su),t.__h=[]}catch(n){t.__h=[],pe.__e(n,e.__v)}}}pe.__b=function(e){ce=null,ug&&ug(e)},pe.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),mg&&mg(e,t)},pe.__r=function(e){cg&&cg(e),kt=0;var t=(ce=e.__c).__H;t&&(au===ce?(t.__h=[],ce.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(Qo),t.__h.some(su),t.__h=[],kt=0)),au=ce},pe.diffed=function(e){lg&&lg(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(gg.push(t)!==1&&sg===pe.requestAnimationFrame||((sg=pe.requestAnimationFrame)||CA)(jA)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),au=ce=null},pe.__c=function(e,t){t.some(function(n){try{n.__h.some(Qo),n.__h=n.__h.filter(function(o){return!o.__||su(o)})}catch(o){t.some(function(r){r.__h&&(r.__h=[])}),t=[],pe.__e(o,n.__v)}}),pg&&pg(e,t)},pe.unmount=function(e){dg&&dg(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(o){try{Qo(o)}catch(r){t=r}}),n.__H=void 0,t&&pe.__e(t,n.__v))};var fg=typeof requestAnimationFrame=="function";function CA(e){var t,n=function(){clearTimeout(o),fg&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,35);fg&&(t=requestAnimationFrame(n))}function Qo(e){var t=ce,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),ce=t}function su(e){var t=ce;e.__c=e.__(),ce=t}function pu(e,t){return!e||e.length!==t.length||t.some(function(n,o){return n!==e[o]})}function hg(e,t){return typeof t=="function"?t(e):t}function wg(e,t){for(var n in t)e[n]=t[n];return e}function mu(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var o in t)if(o!=="__source"&&e[o]!==t[o])return!0;return!1}function zg(e,t){var n=t(),o=Se({t:{__:n,u:t}}),r=o[0].t,i=o[1];return ur(function(){r.__=n,r.u=t,du(r)&&i({t:r})},[e,n,t]),Te(function(){return du(r)&&i({t:r}),e(function(){du(r)&&i({t:r})})},[e]),n}function du(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Ig(e){e()}function Pg(e){return e}function Tg(){return[!1,Ig]}var Ag=ur;function fu(e,t){this.props=e,this.context=t}function EA(e,t){function n(r){var i=this.props.ref;return i!=r.ref&&i&&(typeof i=="function"?i(null):i.current=null),t?!t(this.props,r)||i!=r.ref:mu(this.props,r)}function o(r){return this.shouldComponentUpdate=n,Ye(e,r)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.__f=o.prototype.isReactComponent=!0,o.type=e,o}(fu.prototype=new Ne).isPureReactComponent=!0,fu.prototype.shouldComponentUpdate=function(e,t){return mu(this.props,e)||mu(this.state,t)};var vg=D.__b;D.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),vg&&vg(e)};var RA=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function NA(e){function t(n){var o=wg({},n);return delete o.ref,e(o,n.ref||null)}return t.$$typeof=RA,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var _g=function(e,t){return e==null?null:rt(rt(e).map(t))},DA={map:_g,forEach:_g,count:function(e){return e?rt(e).length:0},only:function(e){var t=rt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:rt},qA=D.__e;D.__e=function(e,t,n,o){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}qA(e,t,n,o)};var yg=D.unmount;function Og(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),e.__c.__H=null),(e=wg({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(o){return Og(o,t,n)})),e}function jg(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(o){return jg(o,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Xo(){this.__u=0,this.o=null,this.__b=null}function Cg(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function UA(e){var t,n,o,r=null;function i(a){if(t||(t=e()).then(function(s){s&&(r=s.default||s),o=!0},function(s){n=s,o=!0}),n)throw n;if(!o)throw t;return r?Ye(r,a):null}return i.displayName="Lazy",i.__f=!0,i}function $n(){this.i=null,this.l=null}D.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),yg&&yg(e)},(Xo.prototype=new Ne).__c=function(e,t){var n=t.__c,o=this;o.o==null&&(o.o=[]),o.o.push(n);var r=Cg(o.__v),i=!1,a=function(){i||o.__z||(i=!0,n.__R=null,r?r(u):u())};n.__R=a;var s=n.__P;n.__P=null;var u=function(){if(!--o.__u){if(o.state.__a){var l=o.state.__a;o.__v.__k[0]=jg(l,l.__c.__P,l.__c.__O)}var m;for(o.setState({__a:o.__b=null});m=o.o.pop();)m.__P=s,m.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(a,a)},Xo.prototype.componentWillUnmount=function(){this.o=[]},Xo.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Og(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&Ye(K,null,e.fallback);return r&&(r.__u&=-33),[Ye(K,null,t.__a?null:e.children),r]};var bg=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function LA(e){return this.getChildContext=function(){return e.context},e.children}function MA(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){ir(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var o=t.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(r,i){this.childNodes.push(r),t.h.insertBefore(r,i)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}}ir(Ye(LA,{context:t.context},e.__v),t.v)}function ZA(e,t){var n=Ye(MA,{__v:e,h:t});return n.containerInfo=t,n}($n.prototype=new Ne).__a=function(e){var t=this,n=Cg(t.__v),o=t.l.get(e);return o[0]++,function(r){var i=function(){t.props.revealOrder?(o.push(r),bg(t,e,o)):r()};n?n(i):i()}},$n.prototype.render=function(e){this.i=null,this.l=new Map;var t=rt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},$n.prototype.componentDidUpdate=$n.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){bg(e,n,t)})};var Eg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,WA=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,FA=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,HA=/[A-Z0-9]/g,VA=typeof document<"u",BA=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function gu(e,t,n){return t.__k==null&&(t.textContent=""),ir(e,t),typeof n=="function"&&n(),e?e.__c:null}function Rg(e,t,n){return iu(e,t),typeof n=="function"&&n(),e?e.__c:null}Ne.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ne.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var xg=D.event;D.event=function(e){return xg&&(e=xg(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var hu,GA={configurable:!0,get:function(){return this.class}},$g=D.vnode;D.vnode=function(e){typeof e.type=="string"&&(function(t){var n=t.props,o=t.type,r={},i=o.indexOf("-")==-1;for(var a in n){var s=n[a];if(!(a==="value"&&"defaultValue"in n&&s==null||VA&&a==="children"&&o==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&s===!0?s="":u==="translate"&&s==="no"?s=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?a="ondblclick":u!=="onchange"||o!=="input"&&o!=="textarea"||BA(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":FA.test(a)&&(a=u):u=a="oninput":i&&WA.test(a)?a=a.replace(HA,"-$&").toLowerCase():s===null&&(s=void 0),u==="oninput"&&r[a=u]&&(a="oninputCapture"),r[a]=s}}o=="select"&&(r.multiple&&Array.isArray(r.value)&&(r.value=rt(n.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),r.defaultValue!=null&&(r.value=rt(n.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value}))),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",GA)):n.className&&(r.class=r.className=n.className),t.props=r})(e),e.$$typeof=Eg,$g&&$g(e)};var Sg=D.__r;D.__r=function(e){Sg&&Sg(e),hu=e.__c};var kg=D.diffed;D.diffed=function(e){kg&&kg(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),hu=null};var JA={ReactCurrentDispatcher:{current:{readContext:function(e){return hu.__n[e.__c].props.value},useCallback:Ge,useContext:qt,useDebugValue:cu,useDeferredValue:Pg,useEffect:Te,useId:lu,useImperativeHandle:uu,useInsertionEffect:Ag,useLayoutEffect:ur,useMemo:ke,useReducer:Dt,useRef:nt,useState:Se,useSyncExternalStore:zg,useTransition:Tg}}};function KA(e){return Ye.bind(null,e)}function ei(e){return!!e&&e.$$typeof===Eg}function YA(e){return ei(e)&&e.type===K}function QA(e){return!!e&&typeof e.displayName=="string"&&e.displayName.indexOf("Memo(")==0}function XA(e){return ei(e)?ag.apply(null,arguments):e}function vu(e){return!!e.__k&&(ir(null,e),!0)}function eO(e){return e&&(e.base||e.nodeType===1&&e)||null}var tO=function(e,t){return e(t)},rO=function(e,t){var n=D.debounceRendering;D.debounceRendering=function(r){return r()};var o=e(t);return D.debounceRendering=n,o},nO=ei,re={useState:Se,useId:lu,useReducer:Dt,useEffect:Te,useLayoutEffect:ur,useInsertionEffect:Ag,useTransition:Tg,useDeferredValue:Pg,useSyncExternalStore:zg,startTransition:Ig,useRef:nt,useImperativeHandle:uu,useMemo:ke,useCallback:Ge,useContext:qt,useDebugValue:cu,version:"18.3.1",Children:DA,render:gu,hydrate:Rg,unmountComponentAtNode:vu,createPortal:ZA,createElement:Ye,createContext:xn,createFactory:KA,cloneElement:XA,createRef:ru,Fragment:K,isValidElement:ei,isElement:nO,isFragment:YA,isMemo:QA,findDOMNode:eO,Component:Ne,PureComponent:fu,memo:EA,forwardRef:NA,flushSync:rO,unstable_batchedUpdates:tO,StrictMode:K,Suspense:Xo,SuspenseList:$n,lazy:UA,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:JA};var ti={applicationCreate:"application_create",applicationList:"application_list",applicationGet:"application_get",applicationLogList:"application_log_list",applicationMetricList:"application_metric_list",applicationBuildList:"application_build_list",applicationReleaseList:"application_release_list",applicationDeploymentList:"application_deployment_list",applicationParameterList:"application_parameter_list",applicationParameterCreate:"application_parameter_create",applicationDeploymentCreate:"application_deployment_create",applicationDeploymentUpdate:"application_deployment_update",applicationReleaseCreate:"application_release_create",applicationScopeCreate:"application_scope_create",applicationServiceList:"application_service_list",applicationServiceCreate:"application_service_create",applicationServiceUpdate:"application_service_update",applicationServiceDelete:"application_service_delete",applicationLinkCreate:"application_link_create",applicationLinkUpdate:"application_link_update",applicationLinkDelete:"application_link_delete",applicationParameterDelete:"application_parameter_delete",applicationApprovalList:"application_approval_list",organizationGet:"organization_get",playbookGet:"playbook_get"};var oO=new Set(["finalized","cancelled","rolled_back","failed","deleted","creating_approval_denied"]);var Ng=e=>(e??"").replace(/_/g," "),Dg=new Set(["running","switching_traffic","creating","waiting_for_instances","finalizing","in_progress","building","updating"]),qg=new Set(["cancelling","rolling_back","deleting"]);function Ug(e){return e?qg.has(e)?"bad":oO.has(e)?e==="finalized"?"ok":"bad":e==="active"||e==="successful"?"ok":Dg.has(e)?"run":"wait":"wait"}var iO=new Set([...Dg,...qg,"pending","creating_approval"]),Lg=e=>!!e&&iO.has(e);function Mg(e){return e instanceof Error?e.message:String(e)}var Zg=e=>e&&/^https?:\/\/\S+$/.test(e)?e:void 0;Ue();function ta(e){return!!e._zod}function ra(e,t){return ta(e)?gr(e,t):e.safeParse(t)}function Uv(e){if(!e)return;let t;if(ta(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t=="function")try{return t()}catch{return}return t}}function Lv(e){if(ta(e)){let i=e._zod?.def;if(i){if(i.value!==void 0)return i.value;if(Array.isArray(i.values)&&i.values.length>0)return i.values[0]}}let n=e._def;if(n){if(n.value!==void 0)return n.value;if(Array.isArray(n.values)&&n.values.length>0)return n.values[0]}let o=e.value;if(o!==void 0)return o}io();var Tt="io.modelcontextprotocol/related-task",Ua="2.0",ye=Na(e=>e!==null&&(typeof e=="object"||typeof e=="function")),B_=Q([y(),B().int()]),G_=y(),h7=we({ttl:B().optional(),pollInterval:B().optional()}),Y1=A({ttl:B().optional()}),Q1=A({taskId:y()}),id=we({progressToken:B_.optional(),[Tt]:Q1.optional()}),Ve=A({_meta:id.optional()}),ao=Ve.extend({task:Y1.optional()}),J_=e=>ao.safeParse(e).success,ze=A({method:y(),params:Ve.loose().optional()}),Je=A({_meta:id.optional()}),Ke=A({method:y(),params:Je.loose().optional()}),Ie=we({_meta:id.optional()}),Lr=Q([y(),B().int()]),K_=A({jsonrpc:E(Ua),id:Lr,...ze.shape}).strict(),ad=e=>K_.safeParse(e).success,Y_=A({jsonrpc:E(Ua),...Ke.shape}).strict(),Q_=e=>Y_.safeParse(e).success,sd=A({jsonrpc:E(Ua),id:Lr,result:Ie}).strict(),so=e=>sd.safeParse(e).success;var Y;(function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Y||(Y={}));var ud=A({jsonrpc:E(Ua),id:Lr.optional(),error:A({code:B().int(),message:y(),data:ae().optional()})}).strict();var X_=e=>ud.safeParse(e).success;var ey=Q([K_,Y_,sd,ud]),v7=Q([sd,ud]),La=Ie.strict(),X1=Je.extend({requestId:Lr.optional(),reason:y().optional()}),Ma=Ke.extend({method:E("notifications/cancelled"),params:X1}),ej=A({src:y(),mimeType:y().optional(),sizes:W(y()).optional(),theme:Ae(["light","dark"]).optional()}),uo=A({icons:W(ej).optional()}),Ur=A({name:y(),title:y().optional()}),co=Ur.extend({...Ur.shape,...uo.shape,version:y(),websiteUrl:y().optional(),description:y().optional()}),tj=qr(A({applyDefaults:ge().optional()}),X(y(),ae())),rj=oo(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,qr(A({form:tj.optional(),url:ye.optional()}),X(y(),ae()).optional())),nj=we({list:ye.optional(),cancel:ye.optional(),requests:we({sampling:we({createMessage:ye.optional()}).optional(),elicitation:we({create:ye.optional()}).optional()}).optional()}),oj=we({list:ye.optional(),cancel:ye.optional(),requests:we({tools:we({call:ye.optional()}).optional()}).optional()}),ij=A({experimental:X(y(),ye).optional(),sampling:A({context:ye.optional(),tools:ye.optional()}).optional(),elicitation:rj.optional(),roots:A({listChanged:ge().optional()}).optional(),tasks:nj.optional(),extensions:X(y(),ye).optional()}),aj=Ve.extend({protocolVersion:y(),capabilities:ij,clientInfo:co}),sj=ze.extend({method:E("initialize"),params:aj});var uj=A({experimental:X(y(),ye).optional(),logging:ye.optional(),completions:ye.optional(),prompts:A({listChanged:ge().optional()}).optional(),resources:A({subscribe:ge().optional(),listChanged:ge().optional()}).optional(),tools:A({listChanged:ge().optional()}).optional(),tasks:oj.optional(),extensions:X(y(),ye).optional()}),cj=Ie.extend({protocolVersion:y(),capabilities:uj,serverInfo:co,instructions:y().optional()}),lj=Ke.extend({method:E("notifications/initialized"),params:Je.optional()});var Mr=ze.extend({method:E("ping"),params:Ve.optional()}),pj=A({progress:B(),total:ie(B()),message:ie(y())}),dj=A({...Je.shape,...pj.shape,progressToken:B_}),Za=Ke.extend({method:E("notifications/progress"),params:dj}),mj=Ve.extend({cursor:G_.optional()}),lo=ze.extend({params:mj.optional()}),po=Ie.extend({nextCursor:G_.optional()}),fj=Ae(["working","input_required","completed","failed","cancelled"]),mo=A({taskId:y(),status:fj,ttl:Q([B(),Qn()]),createdAt:y(),lastUpdatedAt:y(),pollInterval:ie(B()),statusMessage:ie(y())}),Wa=Ie.extend({task:mo}),gj=Je.merge(mo),fo=Ke.extend({method:E("notifications/tasks/status"),params:gj}),Fa=ze.extend({method:E("tasks/get"),params:Ve.extend({taskId:y()})}),Ha=Ie.merge(mo),Va=ze.extend({method:E("tasks/result"),params:Ve.extend({taskId:y()})}),_7=Ie.loose(),Ba=lo.extend({method:E("tasks/list")}),Ga=po.extend({tasks:W(mo)}),Ja=ze.extend({method:E("tasks/cancel"),params:Ve.extend({taskId:y()})}),ty=Ie.merge(mo),ry=A({uri:y(),mimeType:ie(y()),_meta:X(y(),ae()).optional()}),ny=ry.extend({text:y()}),cd=y().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),oy=ry.extend({blob:cd}),go=Ae(["user","assistant"]),Zr=A({audience:W(go).optional(),priority:B().min(0).max(1).optional(),lastModified:Bt.datetime({offset:!0}).optional()}),iy=A({...Ur.shape,...uo.shape,uri:y(),description:ie(y()),mimeType:ie(y()),size:ie(B()),annotations:Zr.optional(),_meta:ie(we({}))}),hj=A({...Ur.shape,...uo.shape,uriTemplate:y(),description:ie(y()),mimeType:ie(y()),annotations:Zr.optional(),_meta:ie(we({}))}),vj=lo.extend({method:E("resources/list")}),ld=po.extend({resources:W(iy)}),_j=lo.extend({method:E("resources/templates/list")}),yj=po.extend({resourceTemplates:W(hj)}),pd=Ve.extend({uri:y()}),bj=pd,xj=ze.extend({method:E("resources/read"),params:bj}),dd=Ie.extend({contents:W(Q([ny,oy]))}),$j=Ke.extend({method:E("notifications/resources/list_changed"),params:Je.optional()}),Sj=pd,kj=ze.extend({method:E("resources/subscribe"),params:Sj}),wj=pd,zj=ze.extend({method:E("resources/unsubscribe"),params:wj}),Ij=Je.extend({uri:y()}),Pj=Ke.extend({method:E("notifications/resources/updated"),params:Ij}),Tj=A({name:y(),description:ie(y()),required:ie(ge())}),Aj=A({...Ur.shape,...uo.shape,description:ie(y()),arguments:ie(W(Tj)),_meta:ie(we({}))}),Oj=lo.extend({method:E("prompts/list")}),jj=po.extend({prompts:W(Aj)}),Cj=Ve.extend({name:y(),arguments:X(y(),y()).optional()}),Ej=ze.extend({method:E("prompts/get"),params:Cj}),md=A({type:E("text"),text:y(),annotations:Zr.optional(),_meta:X(y(),ae()).optional()}),fd=A({type:E("image"),data:cd,mimeType:y(),annotations:Zr.optional(),_meta:X(y(),ae()).optional()}),gd=A({type:E("audio"),data:cd,mimeType:y(),annotations:Zr.optional(),_meta:X(y(),ae()).optional()}),Rj=A({type:E("tool_use"),name:y(),id:y(),input:X(y(),ae()),_meta:X(y(),ae()).optional()}),hd=A({type:E("resource"),resource:Q([ny,oy]),annotations:Zr.optional(),_meta:X(y(),ae()).optional()}),vd=iy.extend({type:E("resource_link")}),Wr=Q([md,fd,gd,vd,hd]),Nj=A({role:go,content:Wr}),Dj=Ie.extend({description:y().optional(),messages:W(Nj)}),qj=Ke.extend({method:E("notifications/prompts/list_changed"),params:Je.optional()}),Uj=A({title:y().optional(),readOnlyHint:ge().optional(),destructiveHint:ge().optional(),idempotentHint:ge().optional(),openWorldHint:ge().optional()}),Lj=A({taskSupport:Ae(["required","optional","forbidden"]).optional()}),Ka=A({...Ur.shape,...uo.shape,description:y().optional(),inputSchema:A({type:E("object"),properties:X(y(),ye).optional(),required:W(y()).optional()}).catchall(ae()),outputSchema:A({type:E("object"),properties:X(y(),ye).optional(),required:W(y()).optional()}).catchall(ae()).optional(),annotations:Uj.optional(),execution:Lj.optional(),_meta:X(y(),ae()).optional()}),_d=lo.extend({method:E("tools/list")}),Mj=po.extend({tools:W(Ka)}),Fr=Ie.extend({content:W(Wr).default([]),structuredContent:X(y(),ae()).optional(),isError:ge().optional()}),y7=Fr.or(Ie.extend({toolResult:ae()})),Zj=ao.extend({name:y(),arguments:X(y(),ae()).optional()}),yd=ze.extend({method:E("tools/call"),params:Zj}),Wj=Ke.extend({method:E("notifications/tools/list_changed"),params:Je.optional()}),b7=A({autoRefresh:ge().default(!0),debounceMs:B().int().nonnegative().default(300)}),ay=Ae(["debug","info","notice","warning","error","critical","alert","emergency"]),Fj=Ve.extend({level:ay}),Hj=ze.extend({method:E("logging/setLevel"),params:Fj}),Vj=Je.extend({level:ay,logger:y().optional(),data:ae()}),Bj=Ke.extend({method:E("notifications/message"),params:Vj}),Gj=A({name:y().optional()}),Jj=A({hints:W(Gj).optional(),costPriority:B().min(0).max(1).optional(),speedPriority:B().min(0).max(1).optional(),intelligencePriority:B().min(0).max(1).optional()}),Kj=A({mode:Ae(["auto","required","none"]).optional()}),Yj=A({type:E("tool_result"),toolUseId:y().describe("The unique identifier for the corresponding tool call."),content:W(Wr).default([]),structuredContent:A({}).loose().optional(),isError:ge().optional(),_meta:X(y(),ae()).optional()}),Qj=ro("type",[md,fd,gd]),qa=ro("type",[md,fd,gd,Rj,Yj]),Xj=A({role:go,content:Q([qa,W(qa)]),_meta:X(y(),ae()).optional()}),eC=ao.extend({messages:W(Xj),modelPreferences:Jj.optional(),systemPrompt:y().optional(),includeContext:Ae(["none","thisServer","allServers"]).optional(),temperature:B().optional(),maxTokens:B().int(),stopSequences:W(y()).optional(),metadata:ye.optional(),tools:W(Ka).optional(),toolChoice:Kj.optional()}),tC=ze.extend({method:E("sampling/createMessage"),params:eC}),bd=Ie.extend({model:y(),stopReason:ie(Ae(["endTurn","stopSequence","maxTokens"]).or(y())),role:go,content:Qj}),xd=Ie.extend({model:y(),stopReason:ie(Ae(["endTurn","stopSequence","maxTokens","toolUse"]).or(y())),role:go,content:Q([qa,W(qa)])}),rC=A({type:E("boolean"),title:y().optional(),description:y().optional(),default:ge().optional()}),nC=A({type:E("string"),title:y().optional(),description:y().optional(),minLength:B().optional(),maxLength:B().optional(),format:Ae(["email","uri","date","date-time"]).optional(),default:y().optional()}),oC=A({type:Ae(["number","integer"]),title:y().optional(),description:y().optional(),minimum:B().optional(),maximum:B().optional(),default:B().optional()}),iC=A({type:E("string"),title:y().optional(),description:y().optional(),enum:W(y()),default:y().optional()}),aC=A({type:E("string"),title:y().optional(),description:y().optional(),oneOf:W(A({const:y(),title:y()})),default:y().optional()}),sC=A({type:E("string"),title:y().optional(),description:y().optional(),enum:W(y()),enumNames:W(y()).optional(),default:y().optional()}),uC=Q([iC,aC]),cC=A({type:E("array"),title:y().optional(),description:y().optional(),minItems:B().optional(),maxItems:B().optional(),items:A({type:E("string"),enum:W(y())}),default:W(y()).optional()}),lC=A({type:E("array"),title:y().optional(),description:y().optional(),minItems:B().optional(),maxItems:B().optional(),items:A({anyOf:W(A({const:y(),title:y()}))}),default:W(y()).optional()}),pC=Q([cC,lC]),dC=Q([sC,uC,pC]),mC=Q([dC,rC,nC,oC]),fC=ao.extend({mode:E("form").optional(),message:y(),requestedSchema:A({type:E("object"),properties:X(y(),mC),required:W(y()).optional()})}),gC=ao.extend({mode:E("url"),message:y(),elicitationId:y(),url:y().url()}),hC=Q([fC,gC]),vC=ze.extend({method:E("elicitation/create"),params:hC}),_C=Je.extend({elicitationId:y()}),yC=Ke.extend({method:E("notifications/elicitation/complete"),params:_C}),bC=Ie.extend({action:Ae(["accept","decline","cancel"]),content:oo(e=>e===null?void 0:e,X(y(),Q([y(),B(),ge(),W(y())])).optional())}),xC=A({type:E("ref/resource"),uri:y()});var $C=A({type:E("ref/prompt"),name:y()}),SC=Ve.extend({ref:Q([$C,xC]),argument:A({name:y(),value:y()}),context:A({arguments:X(y(),y()).optional()}).optional()}),kC=ze.extend({method:E("completion/complete"),params:SC});var wC=Ie.extend({completion:we({values:W(y()).max(100),total:ie(B().int()),hasMore:ie(ge())})}),zC=A({uri:y().startsWith("file://"),name:y().optional(),_meta:X(y(),ae()).optional()}),IC=ze.extend({method:E("roots/list"),params:Ve.optional()}),PC=Ie.extend({roots:W(zC)}),TC=Ke.extend({method:E("notifications/roots/list_changed"),params:Je.optional()}),x7=Q([Mr,sj,kC,Hj,Ej,Oj,vj,_j,xj,kj,zj,yd,_d,Fa,Va,Ba,Ja]),$7=Q([Ma,Za,lj,TC,fo]),S7=Q([La,bd,xd,bC,PC,Ha,Ga,Wa]),k7=Q([Mr,tC,vC,IC,Fa,Va,Ba,Ja]),w7=Q([Ma,Za,Bj,Pj,$j,Wj,qj,fo,yC]),z7=Q([La,cj,wC,Dj,jj,ld,yj,dd,Fr,Mj,Ha,Ga,Wa]),H=class e extends Error{constructor(t,n,o){super(`MCP error ${t}: ${n}`),this.code=t,this.data=o,this.name="McpError"}static fromError(t,n,o){if(t===Y.UrlElicitationRequired&&o){let r=o;if(r.elicitations)return new od(r.elicitations,n)}return new e(t,n,o)}},od=class extends H{constructor(t,n=`URL elicitation${t.length>1?"s":""} required`){super(Y.UrlElicitationRequired,n,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}};function At(e){return e==="completed"||e==="failed"||e==="cancelled"}var iY=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function $d(e){let n=Uv(e)?.method;if(!n)throw new Error("Schema is missing a method literal");let o=Lv(n);if(typeof o!="string")throw new Error("Schema method literal must be a string");return o}function Sd(e,t){let n=ra(e,t);if(!n.success)throw n.error;return n.data}var RC=6e4,Ya=class{constructor(t){this._options=t,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(Ma,n=>{this._oncancel(n)}),this.setNotificationHandler(Za,n=>{this._onprogress(n)}),this.setRequestHandler(Mr,n=>({})),this._taskStore=t?.taskStore,this._taskMessageQueue=t?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Fa,async(n,o)=>{let r=await this._taskStore.getTask(n.params.taskId,o.sessionId);if(!r)throw new H(Y.InvalidParams,"Failed to retrieve task: Task not found");return{...r}}),this.setRequestHandler(Va,async(n,o)=>{let r=async()=>{let i=n.params.taskId;if(this._taskMessageQueue){let s;for(;s=await this._taskMessageQueue.dequeue(i,o.sessionId);){if(s.type==="response"||s.type==="error"){let u=s.message,l=u.id,m=this._requestResolvers.get(l);if(m)if(this._requestResolvers.delete(l),s.type==="response")m(u);else{let c=u,g=new H(c.error.code,c.error.message,c.error.data);m(g)}else{let c=s.type==="response"?"Response":"Error";this._onerror(new Error(`${c} handler missing for request ${l}`))}continue}await this._transport?.send(s.message,{relatedRequestId:o.requestId})}}let a=await this._taskStore.getTask(i,o.sessionId);if(!a)throw new H(Y.InvalidParams,`Task not found: ${i}`);if(!At(a.status))return await this._waitForTaskUpdate(i,o.signal),await r();if(At(a.status)){let s=await this._taskStore.getTaskResult(i,o.sessionId);return this._clearTaskQueue(i),{...s,_meta:{...s._meta,[Tt]:{taskId:i}}}}return await r()};return await r()}),this.setRequestHandler(Ba,async(n,o)=>{try{let{tasks:r,nextCursor:i}=await this._taskStore.listTasks(n.params?.cursor,o.sessionId);return{tasks:r,nextCursor:i,_meta:{}}}catch(r){throw new H(Y.InvalidParams,`Failed to list tasks: ${r instanceof Error?r.message:String(r)}`)}}),this.setRequestHandler(Ja,async(n,o)=>{try{let r=await this._taskStore.getTask(n.params.taskId,o.sessionId);if(!r)throw new H(Y.InvalidParams,`Task not found: ${n.params.taskId}`);if(At(r.status))throw new H(Y.InvalidParams,`Cannot cancel task in terminal status: ${r.status}`);await this._taskStore.updateTaskStatus(n.params.taskId,"cancelled","Client cancelled task execution.",o.sessionId),this._clearTaskQueue(n.params.taskId);let i=await this._taskStore.getTask(n.params.taskId,o.sessionId);if(!i)throw new H(Y.InvalidParams,`Task not found after cancellation: ${n.params.taskId}`);return{_meta:{},...i}}catch(r){throw r instanceof H?r:new H(Y.InvalidRequest,`Failed to cancel task: ${r instanceof Error?r.message:String(r)}`)}}))}async _oncancel(t){if(!t.params.requestId)return;this._requestHandlerAbortControllers.get(t.params.requestId)?.abort(t.params.reason)}_setupTimeout(t,n,o,r,i=!1){this._timeoutInfo.set(t,{timeoutId:setTimeout(r,n),startTime:Date.now(),timeout:n,maxTotalTimeout:o,resetTimeoutOnProgress:i,onTimeout:r})}_resetTimeout(t){let n=this._timeoutInfo.get(t);if(!n)return!1;let o=Date.now()-n.startTime;if(n.maxTotalTimeout&&o>=n.maxTotalTimeout)throw this._timeoutInfo.delete(t),H.fromError(Y.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:n.maxTotalTimeout,totalElapsed:o});return clearTimeout(n.timeoutId),n.timeoutId=setTimeout(n.onTimeout,n.timeout),!0}_cleanupTimeout(t){let n=this._timeoutInfo.get(t);n&&(clearTimeout(n.timeoutId),this._timeoutInfo.delete(t))}async connect(t){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=t;let n=this.transport?.onclose;this._transport.onclose=()=>{n?.(),this._onclose()};let o=this.transport?.onerror;this._transport.onerror=i=>{o?.(i),this._onerror(i)};let r=this._transport?.onmessage;this._transport.onmessage=(i,a)=>{r?.(i,a),so(i)||X_(i)?this._onresponse(i):ad(i)?this._onrequest(i,a):Q_(i)?this._onnotification(i):this._onerror(new Error(`Unknown message type: ${JSON.stringify(i)}`))},await this._transport.start()}_onclose(){let t=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let o of this._timeoutInfo.values())clearTimeout(o.timeoutId);this._timeoutInfo.clear();for(let o of this._requestHandlerAbortControllers.values())o.abort();this._requestHandlerAbortControllers.clear();let n=H.fromError(Y.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let o of t.values())o(n)}_onerror(t){this.onerror?.(t)}_onnotification(t){let n=this._notificationHandlers.get(t.method)??this.fallbackNotificationHandler;n!==void 0&&Promise.resolve().then(()=>n(t)).catch(o=>this._onerror(new Error(`Uncaught error in notification handler: ${o}`)))}_onrequest(t,n){let o=this._requestHandlers.get(t.method)??this.fallbackRequestHandler,r=this._transport,i=t.params?._meta?.[Tt]?.taskId;if(o===void 0){let m={jsonrpc:"2.0",id:t.id,error:{code:Y.MethodNotFound,message:"Method not found"}};i&&this._taskMessageQueue?this._enqueueTaskMessage(i,{type:"error",message:m,timestamp:Date.now()},r?.sessionId).catch(c=>this._onerror(new Error(`Failed to enqueue error response: ${c}`))):r?.send(m).catch(c=>this._onerror(new Error(`Failed to send an error response: ${c}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(t.id,a);let s=J_(t.params)?t.params.task:void 0,u=this._taskStore?this.requestTaskStore(t,r?.sessionId):void 0,l={signal:a.signal,sessionId:r?.sessionId,_meta:t.params?._meta,sendNotification:async m=>{if(a.signal.aborted)return;let c={relatedRequestId:t.id};i&&(c.relatedTask={taskId:i}),await this.notification(m,c)},sendRequest:async(m,c,g)=>{if(a.signal.aborted)throw new H(Y.ConnectionClosed,"Request was cancelled");let v={...g,relatedRequestId:t.id};i&&!v.relatedTask&&(v.relatedTask={taskId:i});let f=v.relatedTask?.taskId??i;return f&&u&&await u.updateTaskStatus(f,"input_required"),await this.request(m,c,v)},authInfo:n?.authInfo,requestId:t.id,requestInfo:n?.requestInfo,taskId:i,taskStore:u,taskRequestedTtl:s?.ttl,closeSSEStream:n?.closeSSEStream,closeStandaloneSSEStream:n?.closeStandaloneSSEStream};Promise.resolve().then(()=>{s&&this.assertTaskHandlerCapability(t.method)}).then(()=>o(t,l)).then(async m=>{if(a.signal.aborted)return;let c={result:m,jsonrpc:"2.0",id:t.id};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:"response",message:c,timestamp:Date.now()},r?.sessionId):await r?.send(c)},async m=>{if(a.signal.aborted)return;let c={jsonrpc:"2.0",id:t.id,error:{code:Number.isSafeInteger(m.code)?m.code:Y.InternalError,message:m.message??"Internal error",...m.data!==void 0&&{data:m.data}}};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:"error",message:c,timestamp:Date.now()},r?.sessionId):await r?.send(c)}).catch(m=>this._onerror(new Error(`Failed to send response: ${m}`))).finally(()=>{this._requestHandlerAbortControllers.get(t.id)===a&&this._requestHandlerAbortControllers.delete(t.id)})}_onprogress(t){let{progressToken:n,...o}=t.params,r=Number(n),i=this._progressHandlers.get(r);if(!i){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(t)}`));return}let a=this._responseHandlers.get(r),s=this._timeoutInfo.get(r);if(s&&a&&s.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(u){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(u);return}i(o)}_onresponse(t){let n=Number(t.id),o=this._requestResolvers.get(n);if(o){if(this._requestResolvers.delete(n),so(t))o(t);else{let a=new H(t.error.code,t.error.message,t.error.data);o(a)}return}let r=this._responseHandlers.get(n);if(r===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(t)}`));return}this._responseHandlers.delete(n),this._cleanupTimeout(n);let i=!1;if(so(t)&&t.result&&typeof t.result=="object"){let a=t.result;if(a.task&&typeof a.task=="object"){let s=a.task;typeof s.taskId=="string"&&(i=!0,this._taskProgressTokens.set(s.taskId,n))}}if(i||this._progressHandlers.delete(n),so(t))r(t);else{let a=H.fromError(t.error.code,t.error.message,t.error.data);r(a)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(t,n,o){let{task:r}=o??{};if(!r){try{yield{type:"result",result:await this.request(t,n,o)}}catch(a){yield{type:"error",error:a instanceof H?a:new H(Y.InternalError,String(a))}}return}let i;try{let a=await this.request(t,Wa,o);if(a.task)i=a.task.taskId,yield{type:"taskCreated",task:a.task};else throw new H(Y.InternalError,"Task creation did not return a task");for(;;){let s=await this.getTask({taskId:i},o);if(yield{type:"taskStatus",task:s},At(s.status)){s.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:i},n,o)}:s.status==="failed"?yield{type:"error",error:new H(Y.InternalError,`Task ${i} failed`)}:s.status==="cancelled"&&(yield{type:"error",error:new H(Y.InternalError,`Task ${i} was cancelled`)});return}if(s.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:i},n,o)};return}let u=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(l=>setTimeout(l,u)),o?.signal?.throwIfAborted()}}catch(a){yield{type:"error",error:a instanceof H?a:new H(Y.InternalError,String(a))}}}request(t,n,o){let{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,task:s,relatedTask:u}=o??{};return new Promise((l,m)=>{let c=$=>{m($)};if(!this._transport){c(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),s&&this.assertTaskCapability(t.method)}catch($){c($);return}o?.signal?.throwIfAborted();let g=this._requestMessageId++,v={...t,jsonrpc:"2.0",id:g};o?.onprogress&&(this._progressHandlers.set(g,o.onprogress),v.params={...t.params,_meta:{...t.params?._meta||{},progressToken:g}}),s&&(v.params={...v.params,task:s}),u&&(v.params={...v.params,_meta:{...v.params?._meta||{},[Tt]:u}});let f=$=>{this._responseHandlers.delete(g),this._progressHandlers.delete(g),this._cleanupTimeout(g),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:g,reason:String($)}},{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(T=>this._onerror(new Error(`Failed to send cancellation: ${T}`)));let z=$ instanceof H?$:new H(Y.RequestTimeout,String($));m(z)};this._responseHandlers.set(g,$=>{if(!o?.signal?.aborted){if($ instanceof Error)return m($);try{let z=ra(n,$.result);z.success?l(z.data):m(z.error)}catch(z){m(z)}}}),o?.signal?.addEventListener("abort",()=>{f(o?.signal?.reason)});let x=o?.timeout??RC,b=()=>f(H.fromError(Y.RequestTimeout,"Request timed out",{timeout:x}));this._setupTimeout(g,x,o?.maxTotalTimeout,b,o?.resetTimeoutOnProgress??!1);let k=u?.taskId;if(k){let $=z=>{let T=this._responseHandlers.get(g);T?T(z):this._onerror(new Error(`Response handler missing for side-channeled request ${g}`))};this._requestResolvers.set(g,$),this._enqueueTaskMessage(k,{type:"request",message:v,timestamp:Date.now()}).catch(z=>{this._cleanupTimeout(g),m(z)})}else this._transport.send(v,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch($=>{this._cleanupTimeout(g),m($)})})}async getTask(t,n){return this.request({method:"tasks/get",params:t},Ha,n)}async getTaskResult(t,n,o){return this.request({method:"tasks/result",params:t},n,o)}async listTasks(t,n){return this.request({method:"tasks/list",params:t},Ga,n)}async cancelTask(t,n){return this.request({method:"tasks/cancel",params:t},ty,n)}async notification(t,n){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(t.method);let o=n?.relatedTask?.taskId;if(o){let s={...t,jsonrpc:"2.0",params:{...t.params,_meta:{...t.params?._meta||{},[Tt]:n.relatedTask}}};await this._enqueueTaskMessage(o,{type:"notification",message:s,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&!n?.relatedRequestId&&!n?.relatedTask){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(t.method),!this._transport)return;let s={...t,jsonrpc:"2.0"};n?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[Tt]:n.relatedTask}}}),this._transport?.send(s,n).catch(u=>this._onerror(u))});return}let a={...t,jsonrpc:"2.0"};n?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[Tt]:n.relatedTask}}}),await this._transport.send(a,n)}setRequestHandler(t,n){let o=$d(t);this.assertRequestHandlerCapability(o),this._requestHandlers.set(o,(r,i)=>{let a=Sd(t,r);return Promise.resolve(n(a,i))})}removeRequestHandler(t){this._requestHandlers.delete(t)}assertCanSetRequestHandler(t){if(this._requestHandlers.has(t))throw new Error(`A request handler for ${t} already exists, which would be overridden`)}setNotificationHandler(t,n){let o=$d(t);this._notificationHandlers.set(o,r=>{let i=Sd(t,r);return Promise.resolve(n(i))})}removeNotificationHandler(t){this._notificationHandlers.delete(t)}_cleanupTaskProgressHandler(t){let n=this._taskProgressTokens.get(t);n!==void 0&&(this._progressHandlers.delete(n),this._taskProgressTokens.delete(t))}async _enqueueTaskMessage(t,n,o){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(t,n,o,r)}async _clearTaskQueue(t,n){if(this._taskMessageQueue){let o=await this._taskMessageQueue.dequeueAll(t,n);for(let r of o)if(r.type==="request"&&ad(r.message)){let i=r.message.id,a=this._requestResolvers.get(i);a?(a(new H(Y.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(i)):this._onerror(new Error(`Resolver missing for request ${i} during task ${t} cleanup`))}}}async _waitForTaskUpdate(t,n){let o=this._options?.defaultTaskPollInterval??1e3;try{let r=await this._taskStore?.getTask(t);r?.pollInterval&&(o=r.pollInterval)}catch{}return new Promise((r,i)=>{if(n.aborted){i(new H(Y.InvalidRequest,"Request cancelled"));return}let a=setTimeout(r,o);n.addEventListener("abort",()=>{clearTimeout(a),i(new H(Y.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(t,n){let o=this._taskStore;if(!o)throw new Error("No task store configured");return{createTask:async r=>{if(!t)throw new Error("No request provided");return await o.createTask(r,t.id,{method:t.method,params:t.params},n)},getTask:async r=>{let i=await o.getTask(r,n);if(!i)throw new H(Y.InvalidParams,"Failed to retrieve task: Task not found");return i},storeTaskResult:async(r,i,a)=>{await o.storeTaskResult(r,i,a,n);let s=await o.getTask(r,n);if(s){let u=fo.parse({method:"notifications/tasks/status",params:s});await this.notification(u),At(s.status)&&this._cleanupTaskProgressHandler(r)}},getTaskResult:r=>o.getTaskResult(r,n),updateTaskStatus:async(r,i,a)=>{let s=await o.getTask(r,n);if(!s)throw new H(Y.InvalidParams,`Task "${r}" not found - it may have been cleaned up`);if(At(s.status))throw new H(Y.InvalidParams,`Cannot update task "${r}" from terminal status "${s.status}" to "${i}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await o.updateTaskStatus(r,i,a,n);let u=await o.getTask(r,n);if(u){let l=fo.parse({method:"notifications/tasks/status",params:u});await this.notification(l),At(u.status)&&this._cleanupTaskProgressHandler(r)}},listTasks:r=>o.listTasks(r,n)}}};function sy(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function uy(e,t){let n={...e};for(let o in t){let r=o,i=t[r];if(i===void 0)continue;let a=n[r];sy(a)&&sy(i)?n[r]={...a,...i}:n[r]=i}return n}io();io();var oee=(e=>typeof Nt<"u"?Nt:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof Nt<"u"?Nt:t)[n]}):e)(function(e){if(typeof Nt<"u")return Nt.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),kd=class extends Ya{constructor(){super(...arguments);J(this,"_registeredMethods",new Set);J(this,"_eventSlots",new Map);J(this,"setRequestHandler",(n,o)=>{this._assertMethodNotRegistered(n,"setRequestHandler"),super.setRequestHandler(n,o)});J(this,"setNotificationHandler",(n,o)=>{this._assertMethodNotRegistered(n,"setNotificationHandler"),super.setNotificationHandler(n,o)});J(this,"replaceRequestHandler",(n,o)=>{let r=n.shape.method.value;this._registeredMethods.add(r),super.setRequestHandler(n,o)})}onEventDispatch(n,o){}_ensureEventSlot(n){let o=this._eventSlots.get(n);if(!o){let r=this.eventSchemas[n];if(!r)throw Error(`Unknown event: ${String(n)}`);o={listeners:[]},this._eventSlots.set(n,o);let i=r.shape.method.value;this._registeredMethods.add(i);let a=o;super.setNotificationHandler(r,s=>{let u=s.params;this.onEventDispatch(n,u),a.onHandler?.(u);for(let l of[...a.listeners])l(u)})}return o}setEventHandler(n,o){let r=this._ensureEventSlot(n);r.onHandler&&o&&console.warn(`[MCP Apps] on${String(n)} handler replaced. Use addEventListener("${String(n)}", \u2026) to add multiple listeners without replacing.`),r.onHandler=o}getEventHandler(n){return this._eventSlots.get(n)?.onHandler}addEventListener(n,o){this._ensureEventSlot(n).listeners.push(o)}removeEventListener(n,o){let r=this._eventSlots.get(n);if(!r)return;let i=r.listeners.indexOf(o);i!==-1&&r.listeners.splice(i,1)}warnIfRequestHandlerReplaced(n,o,r){o&&r&&console.warn(`[MCP Apps] ${n} handler replaced. Previous handler will no longer be called.`)}_assertMethodNotRegistered(n,o){let r=n.shape.method.value;if(this._registeredMethods.has(r))throw Error(`Handler for "${r}" already registered (via ${o}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(r)}},NC="2026-01-26";var DC="ui/notifications/tool-input-partial";var wd=class{constructor(t=window.parent,n){J(this,"eventTarget");J(this,"eventSource");J(this,"messageListener");J(this,"onclose");J(this,"onerror");J(this,"onmessage");J(this,"sessionId");J(this,"setProtocolVersion");this.eventTarget=t,this.eventSource=n,this.messageListener=o=>{if(n&&o.source!==this.eventSource){console.debug("Ignoring message from unknown source",o);return}let r=ey.safeParse(o.data);r.success?(console.debug("Parsed message",r.data),this.onmessage?.(r.data)):o.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",r.error.message,o):(console.error("Failed to parse message",r.error.message,o),this.onerror?.(Error("Invalid JSON-RPC message received: "+r.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,n){t.method!==DC&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}},qC=d.union([d.literal("light"),d.literal("dark")]).describe("Color theme preference for the host environment."),vo=d.union([d.literal("inline"),d.literal("fullscreen"),d.literal("pip")]).describe("Display mode for UI presentation."),UC=d.union([d.literal("--color-background-primary"),d.literal("--color-background-secondary"),d.literal("--color-background-tertiary"),d.literal("--color-background-inverse"),d.literal("--color-background-ghost"),d.literal("--color-background-info"),d.literal("--color-background-danger"),d.literal("--color-background-success"),d.literal("--color-background-warning"),d.literal("--color-background-disabled"),d.literal("--color-text-primary"),d.literal("--color-text-secondary"),d.literal("--color-text-tertiary"),d.literal("--color-text-inverse"),d.literal("--color-text-ghost"),d.literal("--color-text-info"),d.literal("--color-text-danger"),d.literal("--color-text-success"),d.literal("--color-text-warning"),d.literal("--color-text-disabled"),d.literal("--color-border-primary"),d.literal("--color-border-secondary"),d.literal("--color-border-tertiary"),d.literal("--color-border-inverse"),d.literal("--color-border-ghost"),d.literal("--color-border-info"),d.literal("--color-border-danger"),d.literal("--color-border-success"),d.literal("--color-border-warning"),d.literal("--color-border-disabled"),d.literal("--color-ring-primary"),d.literal("--color-ring-secondary"),d.literal("--color-ring-inverse"),d.literal("--color-ring-info"),d.literal("--color-ring-danger"),d.literal("--color-ring-success"),d.literal("--color-ring-warning"),d.literal("--font-sans"),d.literal("--font-mono"),d.literal("--font-weight-normal"),d.literal("--font-weight-medium"),d.literal("--font-weight-semibold"),d.literal("--font-weight-bold"),d.literal("--font-text-xs-size"),d.literal("--font-text-sm-size"),d.literal("--font-text-md-size"),d.literal("--font-text-lg-size"),d.literal("--font-heading-xs-size"),d.literal("--font-heading-sm-size"),d.literal("--font-heading-md-size"),d.literal("--font-heading-lg-size"),d.literal("--font-heading-xl-size"),d.literal("--font-heading-2xl-size"),d.literal("--font-heading-3xl-size"),d.literal("--font-text-xs-line-height"),d.literal("--font-text-sm-line-height"),d.literal("--font-text-md-line-height"),d.literal("--font-text-lg-line-height"),d.literal("--font-heading-xs-line-height"),d.literal("--font-heading-sm-line-height"),d.literal("--font-heading-md-line-height"),d.literal("--font-heading-lg-line-height"),d.literal("--font-heading-xl-line-height"),d.literal("--font-heading-2xl-line-height"),d.literal("--font-heading-3xl-line-height"),d.literal("--border-radius-xs"),d.literal("--border-radius-sm"),d.literal("--border-radius-md"),d.literal("--border-radius-lg"),d.literal("--border-radius-xl"),d.literal("--border-radius-full"),d.literal("--border-width-regular"),d.literal("--shadow-hairline"),d.literal("--shadow-sm"),d.literal("--shadow-md"),d.literal("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),LC=d.record(UC.describe(`Style variables for theming MCP apps.
1078
+
1079
+ Individual style keys are optional - hosts may provide any subset of these values.
1080
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
1081
+
1082
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
1083
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),d.union([d.string(),d.undefined()]).describe(`Style variables for theming MCP apps.
1084
+
1085
+ Individual style keys are optional - hosts may provide any subset of these values.
1086
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
1087
+
1088
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
1089
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.
1090
+
1091
+ Individual style keys are optional - hosts may provide any subset of these values.
1092
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
1093
+
1094
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
1095
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),pee=d.object({method:d.literal("ui/open-link"),params:d.object({url:d.string().describe("URL to open in the host's browser")})}),MC=d.object({isError:d.boolean().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),ZC=d.object({isError:d.boolean().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),WC=d.object({isError:d.boolean().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough(),dee=d.object({method:d.literal("ui/notifications/sandbox-proxy-ready"),params:d.object({})}),zd=d.object({connectDomains:d.array(d.string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
1096
+
1097
+ - Maps to CSP \`connect-src\` directive
1098
+ - Empty or omitted \u2192 no network connections (secure default)`),resourceDomains:d.array(d.string()).optional().describe("Origins for static resources (images, scripts, stylesheets, fonts, media).\n\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\n- Wildcard subdomains supported: `https://*.example.com`\n- Empty or omitted \u2192 no network resources (secure default)"),frameDomains:d.array(d.string()).optional().describe("Origins for nested iframes.\n\n- Maps to CSP `frame-src` directive\n- Empty or omitted \u2192 no nested iframes allowed (`frame-src 'none'`)"),baseUriDomains:d.array(d.string()).optional().describe("Allowed base URIs for the document.\n\n- Maps to CSP `base-uri` directive\n- Empty or omitted \u2192 only same origin allowed (`base-uri 'self'`)")}),Id=d.object({camera:d.object({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),microphone:d.object({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),geolocation:d.object({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:d.object({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")}),mee=d.object({method:d.literal("ui/notifications/size-changed"),params:d.object({width:d.number().optional().describe("New width in pixels."),height:d.number().optional().describe("New height in pixels.")})}),FC=d.object({method:d.literal("ui/notifications/tool-input"),params:d.object({arguments:d.record(d.string(),d.unknown().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),HC=d.object({method:d.literal("ui/notifications/tool-input-partial"),params:d.object({arguments:d.record(d.string(),d.unknown().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),VC=d.object({method:d.literal("ui/notifications/tool-cancelled"),params:d.object({reason:d.string().optional().describe('Optional reason for the cancellation (e.g., "user action", "timeout").')})}),BC=d.object({fonts:d.string().optional()}),GC=d.object({variables:LC.optional().describe("CSS variables for theming the app."),css:BC.optional().describe("CSS blocks that apps can inject.")}),JC=d.object({method:d.literal("ui/resource-teardown"),params:d.object({})}),fee=d.record(d.string(),d.unknown()),cy=d.object({text:d.object({}).optional().describe("Host supports text content blocks."),image:d.object({}).optional().describe("Host supports image content blocks."),audio:d.object({}).optional().describe("Host supports audio content blocks."),resource:d.object({}).optional().describe("Host supports resource content blocks."),resourceLink:d.object({}).optional().describe("Host supports resource link content blocks."),structuredContent:d.object({}).optional().describe("Host supports structured content.")}),gee=d.object({method:d.literal("ui/notifications/request-teardown"),params:d.object({}).optional()}),KC=d.object({experimental:d.object({}).optional().describe("Experimental features (structure TBD)."),openLinks:d.object({}).optional().describe("Host supports opening external URLs."),downloadFile:d.object({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:d.object({listChanged:d.boolean().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:d.object({listChanged:d.boolean().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:d.object({}).optional().describe("Host accepts log messages."),sandbox:d.object({permissions:Id.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:zd.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:cy.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),message:cy.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:d.object({tools:d.object({}).optional().describe("Host supports tool use via `tools` and `toolChoice` parameters.")}).optional().describe("Host supports LLM sampling (sampling/createMessage) from the view.\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.")}),YC=d.object({experimental:d.object({}).optional().describe("Experimental features (structure TBD)."),tools:d.object({listChanged:d.boolean().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:d.array(vo).optional().describe("Display modes the app supports.")}),hee=d.object({method:d.literal("ui/notifications/initialized"),params:d.object({}).optional()}),vee=d.object({csp:zd.optional().describe("Content Security Policy configuration for UI resources."),permissions:Id.optional().describe("Sandbox permissions requested by the UI resource."),domain:d.string().optional().describe(`Dedicated origin for view sandbox.
1099
+
1100
+ Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.
1101
+
1102
+ **Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:
1103
+ - Hash-based subdomains (e.g., \`{hash}.claudemcpcontent.com\`)
1104
+ - URL-derived subdomains (e.g., \`www-example-com.oaiusercontent.com\`)
1105
+
1106
+ If omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:d.boolean().optional().describe(`Visual boundary preference - true if view prefers a visible border.
1107
+
1108
+ Boolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.
1109
+
1110
+ - \`true\`: request visible border + background
1111
+ - \`false\`: request no visible border + background
1112
+ - omitted: host decides border`)}),_ee=d.object({method:d.literal("ui/request-display-mode"),params:d.object({mode:vo.describe("The display mode being requested.")})}),QC=d.object({mode:vo.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),XC=d.union([d.literal("model"),d.literal("app")]).describe("Tool visibility scope - who can access the tool."),yee=d.object({resourceUri:d.string().optional(),visibility:d.array(XC).optional().describe(`Who can access this tool. Default: ["model", "app"]
1113
+ - "model": Tool visible to and callable by the agent
1114
+ - "app": Tool callable by the app from this server only`),csp:d.never().optional(),permissions:d.never().optional()}),bee=d.object({mimeTypes:d.array(d.string()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')}),xee=d.object({method:d.literal("ui/download-file"),params:d.object({contents:d.array(d.union([hd,vd])).describe("Resource contents to download \u2014 embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})}),$ee=d.object({method:d.literal("ui/message"),params:d.object({role:d.literal("user").describe('Message role, currently only "user" is supported.'),content:d.array(Wr).describe("Message content blocks (text, image, etc.).")})}),See=d.object({method:d.literal("ui/notifications/sandbox-resource-ready"),params:d.object({html:d.string().describe("HTML content to load into the inner iframe."),sandbox:d.string().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:zd.optional().describe("CSP configuration from resource metadata."),permissions:Id.optional().describe("Sandbox permissions from resource metadata.")})}),eE=d.object({method:d.literal("ui/notifications/tool-result"),params:Fr.describe("Standard MCP tool execution result.")}),dy=d.object({toolInfo:d.object({id:Lr.optional().describe("JSON-RPC id of the tools/call request."),tool:Ka.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:qC.optional().describe("Current color theme preference."),styles:GC.optional().describe("Style configuration for theming the app."),displayMode:vo.optional().describe("How the UI is currently displayed."),availableDisplayModes:d.array(vo).optional().describe("Display modes the host supports."),containerDimensions:d.union([d.object({height:d.number().describe("Fixed container height in pixels.")}),d.object({maxHeight:d.union([d.number(),d.undefined()]).optional().describe("Maximum container height in pixels.")})]).and(d.union([d.object({width:d.number().describe("Fixed container width in pixels.")}),d.object({maxWidth:d.union([d.number(),d.undefined()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
1115
+ container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:d.string().optional().describe("User's language and region preference in BCP 47 format."),timeZone:d.string().optional().describe("User's timezone in IANA format."),userAgent:d.string().optional().describe("Host application identifier."),platform:d.union([d.literal("web"),d.literal("desktop"),d.literal("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:d.object({touch:d.boolean().optional().describe("Whether the device supports touch input."),hover:d.boolean().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:d.object({top:d.number().describe("Top safe area inset in pixels."),right:d.number().describe("Right safe area inset in pixels."),bottom:d.number().describe("Bottom safe area inset in pixels."),left:d.number().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),tE=d.object({method:d.literal("ui/notifications/host-context-changed"),params:dy.describe("Partial context update containing only changed fields.")}),kee=d.object({method:d.literal("ui/update-model-context"),params:d.object({content:d.array(Wr).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:d.record(d.string(),d.unknown().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})}),wee=d.object({method:d.literal("ui/initialize"),params:d.object({appInfo:co.describe("App identification (name and version)."),appCapabilities:YC.describe("Features and capabilities this app provides."),protocolVersion:d.string().describe("Protocol version this app supports.")})}),rE=d.object({protocolVersion:d.string().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:co.describe("Host application identification and version."),hostCapabilities:KC.describe("Features and capabilities provided by the host."),hostContext:dy.describe("Rich context about the host environment.")}).passthrough(),nE={target:"draft-2020-12"};async function ly(e,t){let n=e["~standard"];if(n.jsonSchema)return n.jsonSchema[t](nE);if(n.vendor==="zod"){let{z:o}=await Promise.resolve().then(()=>(io(),nd));return o.toJSONSchema(e,{io:t})}throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function py(e,t,n=""){let o=await e["~standard"].validate(t);if(o.issues){let r=o.issues.map(i=>{let a=i.path?.map(s=>typeof s=="object"?s.key:s).join(".");return a?`${a}: ${i.message}`:i.message}).join("; ");throw Error(n+r)}return o.value}function my(e,t=document.documentElement){for(let[n,o]of Object.entries(e))o!==void 0&&t.style.setProperty(n,o)}function fy(e){if(document.getElementById("__mcp-host-fonts"))return;let t=document.createElement("style");t.id="__mcp-host-fonts",t.textContent=e,document.head.appendChild(t)}var Xa=class Xa extends kd{constructor(n,o={},r={autoResize:!0}){super(r);J(this,"_appInfo");J(this,"_capabilities");J(this,"options");J(this,"_hostCapabilities");J(this,"_hostInfo");J(this,"_hostContext");J(this,"_registeredTools",{});J(this,"_initializedSent",!1);J(this,"eventSchemas",{toolinput:FC,toolinputpartial:HC,toolresult:eE,toolcancelled:VC,hostcontextchanged:tE});J(this,"_everHadListener",new Set);J(this,"_toolHandlersInitialized",!1);J(this,"_onteardown");J(this,"_oncalltool");J(this,"_onlisttools");J(this,"sendOpenLink",this.openLink);this._appInfo=n,this._capabilities=o,this.options=r,r.allowUnsafeEval||d.config({jitless:!0}),this.setRequestHandler(Mr,i=>(console.log("Received ping:",i.params),{})),this.setEventHandler("hostcontextchanged",void 0)}_assertInitialized(n){if(this._initializedSent)return;let o=`[ext-apps] App.${n}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(o);console.warn(`${o}. This will throw in a future release.`)}_assertHandlerTiming(n){if(!Xa.ONE_SHOT_EVENTS.has(n)||this._everHadListener.has(n)||(this._everHadListener.add(n),!this._initializedSent))return;let o=`[ext-apps] "${String(n)}" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(o);console.warn(o)}setEventHandler(n,o){o&&this._assertHandlerTiming(n),super.setEventHandler(n,o)}addEventListener(n,o){this._assertHandlerTiming(n),super.addEventListener(n,o)}onEventDispatch(n,o){n==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...o})}registerCapabilities(n){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._capabilities=uy(this._capabilities,n)}registerTool(n,o,r){if(this._registeredTools[n])throw Error(`Tool ${n} is already registered`);let i=this,a=()=>{i._initializedSent&&i._capabilities.tools?.listChanged&&i.sendToolListChanged()},s=o.inputSchema!==void 0,u={title:o.title,description:o.description,inputSchema:o.inputSchema,outputSchema:o.outputSchema,annotations:o.annotations,_meta:o._meta,enabled:!0,enable(){this.enabled=!0,a()},disable(){this.enabled=!1,a()},update(l){Object.assign(this,l),a()},remove(){i._registeredTools[n]===u&&(delete i._registeredTools[n],a())},handler:async(l,m)=>{if(!u.enabled)throw Error(`Tool ${n} is disabled`);let c;if(s){let g=u.inputSchema,v=g?await py(g,l??{},`Invalid input for tool ${n}: `):l??{};c=await r(v,m)}else c=await r(m);return u.outputSchema&&!c.isError&&(c.structuredContent=await py(u.outputSchema,c.structuredContent,`Invalid output for tool ${n}: `)),c}};return this._registeredTools[n]=u,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),a(),u}ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(n,o)=>{let r=this._registeredTools[n.name];if(!r)throw Error(`Tool ${n.name} not found`);return r.handler(n.arguments,o)},this.onlisttools=async(n,o)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([r,i])=>i.enabled).map(async([r,i])=>{let a={name:r,title:i.title,description:i.description,inputSchema:i.inputSchema?await ly(i.inputSchema,"input"):{type:"object",properties:{}}};return i.outputSchema&&(a.outputSchema=await ly(i.outputSchema,"output")),i.annotations&&(a.annotations=i.annotations),i._meta&&(a._meta=i._meta),a}))}))}async sendToolListChanged(n={}){this._assertInitialized("sendToolListChanged"),await this.notification({method:"notifications/tools/list_changed",params:n})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler("toolinput")}set ontoolinput(n){this.setEventHandler("toolinput",n)}get ontoolinputpartial(){return this.getEventHandler("toolinputpartial")}set ontoolinputpartial(n){this.setEventHandler("toolinputpartial",n)}get ontoolresult(){return this.getEventHandler("toolresult")}set ontoolresult(n){this.setEventHandler("toolresult",n)}get ontoolcancelled(){return this.getEventHandler("toolcancelled")}set ontoolcancelled(n){this.setEventHandler("toolcancelled",n)}get onhostcontextchanged(){return this.getEventHandler("hostcontextchanged")}set onhostcontextchanged(n){this.setEventHandler("hostcontextchanged",n)}get onteardown(){return this._onteardown}set onteardown(n){this.warnIfRequestHandlerReplaced("onteardown",this._onteardown,n),this._onteardown=n,this.replaceRequestHandler(JC,(o,r)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(o.params,r)})}get oncalltool(){return this._oncalltool}set oncalltool(n){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,n),this._oncalltool=n,this.replaceRequestHandler(yd,(o,r)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(o.params,r)})}get onlisttools(){return this._onlisttools}set onlisttools(n){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,n),this._onlisttools=n,this.replaceRequestHandler(_d,(o,r)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(o.params,r)})}assertCapabilityForMethod(n){switch(n){case"sampling/createMessage":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${n})`);break}}assertRequestHandlerCapability(n){switch(n){case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${n})`);return;case"ping":case"ui/resource-teardown":return;default:throw Error(`No handler for method ${n} registered`)}}assertNotificationCapability(n){}assertTaskCapability(n){throw Error("Tasks are not supported in MCP Apps")}assertTaskHandlerCapability(n){throw Error("Task handlers are not supported in MCP Apps")}async callServerTool(n,o){if(this._assertInitialized("callServerTool"),typeof n=="string")throw Error(`callServerTool() expects an object as its first argument, but received a string ("${n}"). Did you mean: callServerTool({ name: "${n}", arguments: { ... } })?`);return await this.request({method:"tools/call",params:n},Fr,{onprogress:()=>{},resetTimeoutOnProgress:!0,...o})}async readServerResource(n,o){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:n},dd,o)}async listServerResources(n,o){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:n},ld,o)}async createSamplingMessage(n,o){this._assertInitialized("createSamplingMessage");let r=n.tools?xd:bd;return await this.request({method:"sampling/createMessage",params:n},r,o)}sendMessage(n,o){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:n},WC,o)}sendLog(n){return this.notification({method:"notifications/message",params:n})}updateModelContext(n,o){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:n},La,o)}openLink(n,o){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:n},MC,o)}downloadFile(n,o){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:n},ZC,o)}requestTeardown(n={}){return this.notification({method:"ui/notifications/request-teardown",params:n})}requestDisplayMode(n,o){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:n},QC,o)}sendSizeChanged(n){return this.notification({method:"ui/notifications/size-changed",params:n})}setupSizeChangedNotifications(){let n=!1,o=0,r=0,i=()=>{n||(n=!0,requestAnimationFrame(()=>{n=!1;let s=document.documentElement,u=s.style.height;s.style.height="max-content";let l=Math.ceil(s.getBoundingClientRect().height);s.style.height=u;let m=Math.ceil(window.innerWidth);(m!==o||l!==r)&&(o=m,r=l,this.sendSizeChanged({width:m,height:l}))}))};i();let a=new ResizeObserver(i);return a.observe(document.documentElement),a.observe(document.body),()=>a.disconnect()}async connect(n=new wd(window.parent,window.parent),o){if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1,await super.connect(n);try{let r=await this.request({method:"ui/initialize",params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:NC}},rE,o);if(r===void 0)throw Error(`Server sent invalid initialize result: ${r}`);this._hostCapabilities=r.hostCapabilities,this._hostInfo=r.hostInfo,this._hostContext=r.hostContext,await this.notification({method:"ui/notifications/initialized"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(r){throw this.close(),r}}};J(Xa,"ONE_SHOT_EVENTS",new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]));var Qa=Xa;function oE(e){if(!e)return;let t=e.trim().toLowerCase(),n,o,r,i=/^#([0-9a-f]{3}|[0-9a-f]{6})$/.exec(t)?.[1];if(i){let a=i.length===3?i.split("").map(s=>s+s).join(""):i;n=parseInt(a.slice(0,2),16),o=parseInt(a.slice(2,4),16),r=parseInt(a.slice(4,6),16)}else{let a=/^rgba?\(\s*([\d.]+)[ ,]+([\d.]+)[ ,]+([\d.]+)/.exec(t);a&&([n,o,r]=[Number(a[1]),Number(a[2]),Number(a[3])]);let s=/^hsla?\(\s*[\d.]+[ ,]+[\d.]+%?[ ,]+([\d.]+)%/.exec(t);if(s)return Number(s[1])/100}if(!(n===void 0||o===void 0||r===void 0))return(.2126*n+.7152*o+.0722*r)/255}function gy(e){if(!e)return;let t=document.documentElement,n=e.theme==="dark"||e.theme==="light"?e.theme:void 0,o=e.styles?.variables;if(!n&&o){let r=oE(o["--color-background-primary"]??o["--color-background-secondary"]);r!==void 0&&(n=r<.5?"dark":"light")}n&&(t.classList.toggle("dark",n==="dark"),t.classList.toggle("light",n==="light"),t.style.colorScheme=n);try{o&&my(o),e.styles?.css?.fonts&&fy(e.styles.css.fonts)}catch{}console.debug("[np-widget] theme:",e.theme,"->",n??"os-fallback","| tokens:",!!o,"| fonts:",!!e.styles?.css?.fonts)}function hy(e){let[t,n]=Se(null),[o,r]=Se(!1),i=nt(null);Te(()=>{let l=new Qa({name:e,version:"0.3.0"},{},{autoResize:!0});i.current=l,l.ontoolresult=m=>n(m),l.onhostcontextchanged=m=>gy(m),l.connect().then(()=>{gy(l.getHostContext()),r(!0)}).catch(()=>r(!1))},[e]);let a=Ge(async(l,m)=>{if(!i.current)throw new Error("not connected");return await i.current.callServerTool({name:l,arguments:m})},[]),s=Ge(l=>{i.current?.sendMessage({role:"user",content:[{type:"text",text:l}]}).catch(()=>{})},[]),u=Ge(l=>{try{i.current?.updateModelContext({content:[{type:"text",text:l}]}).catch(()=>{})}catch{}},[]);return{result:t,call:a,send:s,brief:u,connected:o}}var iE={"confirm.yes":"Yes, do it","confirm.no":"Cancel","chooser.pick":"pick a scope:","term.empty":"no output yet\u2026","term.copyLine":"copy line",hint:"Next:",loadMore:"Load more","panel.scopes":"Scopes","panel.releases":"Releases","panel.latestBuild":"Latest build","panel.noScopes":"No scopes yet \u2014 create one to have somewhere to deploy.","panel.scopePlaceholder":"scope name, e.g. dev","panel.typePlaceholder":"type\u2026","panel.createScope":"Create scope","panel.ship":"ship","panel.live":"live","panel.openRollout":"Open rollout","panel.nothingDeployed":"nothing deployed","panel.noReleases":"none yet","panel.noBuild":"none \u2014 push a commit so CI builds","panel.deployLatest":"Deploy latest","panel.logs":"Logs","panel.metrics":"Metrics","panel.pickType":"Pick a scope type and create again.","panel.waitingData":"waiting for data\u2026","panel.backToList":"apps","rollout.deployingTo":"Deploying to {scope}","rollout.release":"release","rollout.backToApp":"app","rollout.trafficLabel":"Traffic on new version","rollout.live":"{pct}% live","rollout.movingTo":"moving to {pct}%","rollout.move":"Move traffic","rollout.finalize":"Finalize","rollout.rollback":"Rollback","rollout.confirmFinalize":"Finalize and retire the old version?","rollout.confirmRollback":"Return ALL traffic to the previous version?","rollout.log":"Deployment log","rollout.waiting":"waiting for activity\u2026","rollout.failed":"Failed: {message}","rollout.deployment":"Deployment #{id}","rollout.busyMove":"Moving traffic\u2026","rollout.busyFinalize":"Finalizing\u2026","rollout.busyRollback":"Rolling back\u2026","rollout.autoDone":"Done \u2014 the release is fully live.","rollout.autoRolledBack":"Rolled back \u2014 previous version is serving traffic.","rollout.autoFailed":"Deployment failed \u2014 previous version keeps serving.","rollout.autoWaiting":"Waiting for instances \u2014 controls unlock when the rollout is running.","rollout.autoFull":"All traffic on the new version \u2014 finalize to retire the old one.","rollout.autoLabel":"Auto-advance","rollout.autoOff":"off","rollout.trafficHelp":"Drag to move traffic now; auto-advance ramps it to 100%.","rollout.appLogs":"Application logs","rollout.appLogsEmpty":"no application logs yet\u2026","logs.title":"{app} \xB7 logs","logs.heading":"Logs","logs.filter":"filter\u2026","logs.live":"live","logs.refresh":"Refresh","logs.updated":"updated {time}","logs.wrap":"Wrap","logs.copyAll":"Copy all","logs.copied":"Copied","logs.rangeLive":"Live","logs.range15m":"Last 15m","logs.range1h":"Last 1h","logs.range6h":"Last 6h","logs.range24h":"Last 24h","logs.rangeCustom":"Custom\u2026","logs.apply":"Apply","logs.from":"From","logs.to":"To","logs.empty":"no log lines yet\u2026","logs.noMatch":"nothing matches the filter","logs.count":"{count} line(s){scope}","logs.scopeSuffix":" \xB7 scope {scope}","logs.refreshFailed":"refresh failed: {message}","metrics.title":"{app} \xB7 {scope} metrics","metrics.heading":"Metrics","metrics.live":"live","metrics.loading":"loading {window}\u2026","metrics.refreshFailed":"refresh failed: {message}","metrics.noData":"no datapoints in this window","metrics.avgMax":"avg {avg} \xB7 max {max}","params.title":"{app} \xB7 parameters","params.heading":"Parameters","params.value":"Value","params.secret":"Secret","params.add":"Add","params.addValue":"Add value","params.editValue":"Edit value","params.parameter":"Parameter","params.allScopes":"All scopes","params.effectiveFor":"Effective values for {scope}","params.ctxApplication":"Application","params.noValues":"No configured values","params.empty":"No parameters yet \u2014 add one to configure this app.","params.readOnly":"read only","params.unset":"unset","params.appliesTo":"Applies to","params.targetApp":"Application","params.targetAppHint":"every scope","params.targetDimension":"By dimension","params.targetScope":"Scope","params.targetScopeHint":"one scope only","params.anyDim":"Any {dim}","params.secretNewOnly":"new parameter only","params.secretPlaceholder":"Enter a new secret value","params.overrides":"Overrides the existing {ctx} value","params.overwriteConfirm":"Overwrite?","params.cancel":"Cancel","params.saveValue":"Save value","params.savingValue":"Saving\u2026","params.applyNote":"Changed values apply on the next deploy.","params.unavailable":"Existing values can't be listed here \u2014 new ones can still be added below.","params.resolveFailed":"Couldn't resolve values: {message}","createApp.title":"Create application","createApp.name":"Name","createApp.namespace":"Namespace","createApp.repository":"Repository","createApp.newRepo":"New repository","createApp.importRepo":"Import existing","createApp.template":"Template","createApp.noTemplates":"No templates available","createApp.repoUrl":"Repository URL","createApp.editName":"Customize the repository name","createApp.lockName":"Reset to the generated name","createApp.importUrl":"Existing repository URL","createApp.monorepo":"This repository is a monorepo","createApp.appPath":"Application path inside the repository","createApp.submit":"Create application","createApp.needName":"Name is required.","createApp.needNamespace":"Pick a namespace.","createApp.needTemplate":"Pick a template for the new repository.","createApp.needImportUrl":"Enter the repository URL to import.","createApp.noBaseUrl":"This account has no git provider configured \u2014 use \u201CImport existing\u201D.","createApp.failed":"Failed: {message}","createApp.creatingTitle":"Creating {name}\u2026","createApp.readyTitle":"{name} is ready","createApp.failedTitle":"Couldn't create {name}","createApp.provisioning":"Provisioning\u2026","createApp.readyHint":"Push a commit to trigger the first build, then deploy.","createApp.failedHint":"Creation failed \u2014 open the dashboard to see what went wrong.","createApp.openDashboard":"Open in dashboard","findApps.count":"{count} application(s)","findApps.filter":"filter\u2026","findApps.across":"across {ns} namespace(s)","findApps.noMatch":"Nothing matches the filter.","findApps.loadMore":"Load {more} more","findApps.hint":"Click an application to open its panel.","buildsW.title":"{app} \xB7 {count} build(s)","buildsW.none":"No builds yet \u2014 push a commit so CI produces one.","buildsW.buildTitle":"Build #{id}","buildsW.back":"Builds","buildsW.loadingAssets":"Loading assets\u2026","buildsW.noAssets":"No assets for this build.","buildsW.noAssetsRunning":"No assets yet \u2014 the build is still running.","buildsW.noAssetsFailed":"No assets \u2014 the build failed before producing any.","buildsW.assets":"Assets","buildsW.newRelease":"New release","buildsW.creatingRelease":"Creating release\u2026","buildsW.releaseDone":"Release {semver} created.","buildsW.releasedAs":"Released as {semver}","releasesW.title":"{app} \xB7 {count} release(s)","releasesW.none":"No releases yet.","releasesW.deploy":"Deploy","deploymentsW.title":"{app} \xB7 {count} deployment(s)","deploymentsW.none":"No deployments yet.","deploymentsW.group":"{count} scopes","approvalsW.title":"{app} \xB7 {count} approval(s)","approvalsW.none":"No pending approvals.","approvalsW.approve":"Approve","approvalsW.approving":"Approving\u2026","approvalsW.cancel":"Cancel","approvalsW.cancelling":"Cancelling\u2026","approvalsW.confirmCancel":"Cancel this approval request?","approvalsW.by":"by {who}","overviewW.title":"Org health \xB7 {count} app(s) scanned","overviewW.truncated":"showing the first apps \u2014 narrow with a query for the rest","overviewW.active":"Mid-rollout ({count})","overviewW.noActive":"Nothing deploying right now.","overviewW.trouble":"Needs attention ({count})","overviewW.noTrouble":"No failed or rolled-back scopes.","servicesW.title":"{app} \xB7 {count} dependency(ies)","servicesW.none":"No dependencies attached.","servicesW.catalog":"Available to provision","servicesW.dashboard":"Open in dashboard","servicesW.provisionHint":"Provisioning a dependency is a guided flow \u2014 open the dashboard to add one.","serviceCreateW.pick":"Provision a dependency for {app}","serviceCreateW.name":"Name","serviceCreateW.namePlaceholder":"service name","serviceCreateW.params":"Configuration","serviceCreateW.linkParams":"Link configuration","serviceCreateW.linkTo":"Link to","serviceCreateW.wholeApp":"the whole app (all scopes)","serviceCreateW.costNote":"Provisioning creates real cloud resources (cost-bearing).","serviceCreateW.provision":"Provision","serviceCreateW.provisioning":"Provisioning\u2026","serviceCreateW.creating":"Provisioning {name}\u2026","serviceCreateW.ready":"{name} is ready","serviceCreateW.failed":"Couldn't provision {name}","serviceCreateW.stepRequested":"Service requested","serviceCreateW.stepResources":"Provisioning cloud resources","serviceCreateW.stepLinked":"Linked \u2014 connection parameters on the next deploy","serviceCreateW.paramsNote":"Its connection parameters appear after the next deploy.","serviceCreateW.linkNote":"Once it's active, link it to a scope to wire its connection parameters.","serviceCreateW.dashboard":"Open in dashboard","serviceCreateW.failedHint":"Open the dashboard to see what went wrong.","serviceLinkW.pick":"Link a service to {app}","serviceLinkW.service":"Service","serviceLinkW.note":"A credential link (e.g. a database user) provisions resources.","serviceLinkW.link":"Link","serviceLinkW.linking":"Linking\u2026","serviceLinkW.creating":"Linking {service}\u2026","serviceLinkW.ready":"{service} is linked","serviceLinkW.failed":"Couldn't link {service}","serviceLinkW.stepRequested":"Link requested","serviceLinkW.stepProvisioning":"Wiring the connection","serviceLinkW.paramsNote":"Its connection parameters reach the runtime on the next deploy.","serviceActionW.pickTarget":"Run an action in {app}","serviceActionW.pickAction":"Which action on {name}?","serviceActionW.params":"Parameters","serviceActionW.note":"A custom action runs an operation the platform team defined.","serviceActionW.run":"Run","serviceActionW.running":"Running\u2026","serviceActionW.runningTitle":"Running {action}\u2026","serviceActionW.ran":"{action} ran","serviceActionW.failed":"{action} failed","serviceActionW.stepRequested":"Action requested","serviceActionW.stepRunning":"Running","serviceActionW.runningNote":"The action runs asynchronously; its result appears when it finishes.","serviceActionW.failedHint":"Open the dashboard to see what went wrong.","serviceDeleteW.pickTarget":"Delete in {app}","serviceDeleteW.warning":"This destroys the resource and its data. It can't be undone.","serviceDeleteW.delete":"Delete","serviceDeleteW.deleting":"Deleting\u2026","serviceDeleteW.confirm":"Delete it?","serviceDeleteW.stepRequested":"Delete requested","serviceDeleteW.stepRemoving":"Removing","serviceDeleteW.removed":"{name} was deleted","serviceDeleteW.deprovisioning":"Deleting {name}\u2026","serviceDeleteW.removedNote":"The record and its resources are gone.","serviceDeleteW.deprovisioningNote":"An agent is deprovisioning its resources; the record goes once it finishes."},aE={"confirm.yes":"S\xED, hacelo","confirm.no":"Cancelar","chooser.pick":"eleg\xED un scope:","term.empty":"sin salida todav\xEDa\u2026","term.copyLine":"copiar l\xEDnea",hint:"Siguiente:",loadMore:"Cargar m\xE1s","panel.scopes":"Scopes","panel.releases":"Releases","panel.latestBuild":"\xDAltimo build","panel.noScopes":"Sin scopes todav\xEDa \u2014 cre\xE1 uno para tener d\xF3nde deployar.","panel.scopePlaceholder":"nombre del scope, p. ej. dev","panel.typePlaceholder":"tipo\u2026","panel.createScope":"Crear scope","panel.ship":"publicar","panel.live":"en vivo","panel.openRollout":"Abrir rollout","panel.nothingDeployed":"nada deployado","panel.noReleases":"ninguna todav\xEDa","panel.noBuild":"ninguno \u2014 pushe\xE1 un commit para que CI compile","panel.deployLatest":"Deployar lo \xFAltimo","panel.logs":"Logs","panel.metrics":"M\xE9tricas","panel.pickType":"Eleg\xED un tipo de scope y cre\xE1 de nuevo.","panel.waitingData":"esperando datos\u2026","panel.backToList":"apps","rollout.deployingTo":"Deployando a {scope}","rollout.release":"release","rollout.backToApp":"app","rollout.trafficLabel":"Tr\xE1fico en la versi\xF3n nueva","rollout.live":"{pct}% en vivo","rollout.movingTo":"yendo a {pct}%","rollout.move":"Mover tr\xE1fico","rollout.finalize":"Finalizar","rollout.rollback":"Revertir","rollout.confirmFinalize":"\xBFFinalizar y retirar la versi\xF3n anterior?","rollout.confirmRollback":"\xBFDevolver TODO el tr\xE1fico a la versi\xF3n anterior?","rollout.log":"Log del deployment","rollout.waiting":"esperando actividad\u2026","rollout.failed":"Fall\xF3: {message}","rollout.deployment":"Deployment #{id}","rollout.busyMove":"Moviendo tr\xE1fico\u2026","rollout.busyFinalize":"Finalizando\u2026","rollout.busyRollback":"Revirtiendo\u2026","rollout.autoDone":"Listo \u2014 la release est\xE1 completamente en vivo.","rollout.autoRolledBack":"Revertido \u2014 la versi\xF3n anterior est\xE1 sirviendo tr\xE1fico.","rollout.autoFailed":"El deployment fall\xF3 \u2014 la versi\xF3n anterior sigue sirviendo.","rollout.autoWaiting":"Esperando instancias \u2014 los controles se habilitan cuando el rollout est\xE1 corriendo.","rollout.autoFull":"Todo el tr\xE1fico en la versi\xF3n nueva \u2014 finaliz\xE1 para retirar la anterior.","rollout.autoLabel":"Auto-avance","rollout.autoOff":"off","rollout.trafficHelp":"Arrastr\xE1 para mover el tr\xE1fico ahora; el auto-avance sube hasta 100%.","rollout.appLogs":"Logs de la aplicaci\xF3n","rollout.appLogsEmpty":"sin logs de la aplicaci\xF3n todav\xEDa\u2026","logs.title":"{app} \xB7 logs","logs.heading":"Logs","logs.filter":"filtrar\u2026","logs.live":"vivo","logs.refresh":"Refrescar","logs.updated":"actualizado {time}","logs.wrap":"Ajustar","logs.copyAll":"Copiar todo","logs.copied":"Copiado","logs.rangeLive":"En vivo","logs.range15m":"\xDAltimos 15m","logs.range1h":"\xDAltima 1h","logs.range6h":"\xDAltimas 6h","logs.range24h":"\xDAltimas 24h","logs.rangeCustom":"Personalizado\u2026","logs.apply":"Aplicar","logs.from":"Desde","logs.to":"Hasta","logs.empty":"sin l\xEDneas de log todav\xEDa\u2026","logs.noMatch":"nada coincide con el filtro","logs.count":"{count} l\xEDnea(s){scope}","logs.scopeSuffix":" \xB7 scope {scope}","logs.refreshFailed":"fall\xF3 el refresh: {message}","metrics.title":"{app} \xB7 m\xE9tricas de {scope}","metrics.heading":"M\xE9tricas","metrics.live":"vivo","metrics.loading":"cargando {window}\u2026","metrics.refreshFailed":"fall\xF3 el refresh: {message}","metrics.noData":"sin datapoints en esta ventana","metrics.avgMax":"prom {avg} \xB7 m\xE1x {max}","params.title":"{app} \xB7 par\xE1metros","params.heading":"Par\xE1metros","params.value":"Valor","params.secret":"Secreto","params.add":"Agregar","params.addValue":"Agregar valor","params.editValue":"Editar valor","params.parameter":"Par\xE1metro","params.allScopes":"Todos los scopes","params.effectiveFor":"Valores efectivos para {scope}","params.ctxApplication":"Aplicaci\xF3n","params.noValues":"Sin valores configurados","params.empty":"Todav\xEDa no hay par\xE1metros \u2014 agreg\xE1 uno para configurar esta app.","params.readOnly":"solo lectura","params.unset":"sin valor","params.appliesTo":"Aplica a","params.targetApp":"Aplicaci\xF3n","params.targetAppHint":"todos los scopes","params.targetDimension":"Por dimensi\xF3n","params.targetScope":"Scope","params.targetScopeHint":"un solo scope","params.anyDim":"Cualquier {dim}","params.secretNewOnly":"solo par\xE1metro nuevo","params.secretPlaceholder":"Ingres\xE1 un nuevo valor secreto","params.overrides":"Sobrescribe el valor existente de {ctx}","params.overwriteConfirm":"\xBFSobrescribir?","params.cancel":"Cancelar","params.saveValue":"Guardar valor","params.savingValue":"Guardando\u2026","params.applyNote":"Los valores cambiados aplican en el pr\xF3ximo deploy.","params.unavailable":"Los valores existentes no se pueden listar ac\xE1 \u2014 igual pod\xE9s agregar nuevos abajo.","params.resolveFailed":"No pude resolver los valores: {message}","createApp.title":"Crear aplicaci\xF3n","createApp.name":"Nombre","createApp.namespace":"Namespace","createApp.repository":"Repositorio","createApp.newRepo":"Nuevo repositorio","createApp.importRepo":"Importar existente","createApp.template":"Template","createApp.noTemplates":"Sin templates disponibles","createApp.repoUrl":"URL del repositorio","createApp.editName":"Personalizar el nombre del repositorio","createApp.lockName":"Volver al nombre generado","createApp.importUrl":"URL del repositorio existente","createApp.monorepo":"Este repositorio es un monorepo","createApp.appPath":"Ruta de la aplicaci\xF3n dentro del repositorio","createApp.submit":"Crear aplicaci\xF3n","createApp.needName":"El nombre es obligatorio.","createApp.needNamespace":"Eleg\xED un namespace.","createApp.needTemplate":"Eleg\xED un template para el nuevo repositorio.","createApp.needImportUrl":"Ingres\xE1 la URL del repositorio a importar.","createApp.noBaseUrl":"Esta cuenta no tiene proveedor de git configurado \u2014 us\xE1 \u201CImportar existente\u201D.","createApp.failed":"Fall\xF3: {message}","createApp.creatingTitle":"Creando {name}\u2026","createApp.readyTitle":"{name} est\xE1 lista","createApp.failedTitle":"No se pudo crear {name}","createApp.provisioning":"Aprovisionando\u2026","createApp.readyHint":"Pushe\xE1 un commit para disparar el primer build y despu\xE9s deploy\xE1.","createApp.failedHint":"La creaci\xF3n fall\xF3 \u2014 abr\xED el dashboard para ver qu\xE9 pas\xF3.","createApp.openDashboard":"Abrir en el dashboard","findApps.count":"{count} aplicaci\xF3n(es)","findApps.filter":"filtrar\u2026","findApps.across":"en {ns} namespace(s)","findApps.noMatch":"Nada coincide con el filtro.","findApps.loadMore":"Cargar {more} m\xE1s","findApps.hint":"Hac\xE9 clic en una aplicaci\xF3n para abrir su panel.","buildsW.title":"{app} \xB7 {count} build(s)","buildsW.none":"Todav\xEDa no hay builds \u2014 pushe\xE1 un commit para que CI genere uno.","buildsW.buildTitle":"Build #{id}","buildsW.back":"Builds","buildsW.loadingAssets":"Cargando assets\u2026","buildsW.noAssets":"Sin assets para este build.","buildsW.noAssetsRunning":"Todav\xEDa sin assets \u2014 el build sigue corriendo.","buildsW.noAssetsFailed":"Sin assets \u2014 el build fall\xF3 antes de producir alguno.","buildsW.assets":"Assets","buildsW.newRelease":"Nuevo release","buildsW.creatingRelease":"Creando release\u2026","buildsW.releaseDone":"Release {semver} creado.","buildsW.releasedAs":"Publicado como {semver}","releasesW.title":"{app} \xB7 {count} release(s)","releasesW.none":"Todav\xEDa no hay releases.","releasesW.deploy":"Deployar","deploymentsW.title":"{app} \xB7 {count} deployment(s)","deploymentsW.none":"Todav\xEDa no hay deployments.","deploymentsW.group":"{count} scopes","approvalsW.title":"{app} \xB7 {count} aprobaci\xF3n(es)","approvalsW.none":"No hay aprobaciones pendientes.","approvalsW.approve":"Aprobar","approvalsW.approving":"Aprobando\u2026","approvalsW.cancel":"Cancelar","approvalsW.cancelling":"Cancelando\u2026","approvalsW.confirmCancel":"\xBFCancelar esta solicitud de aprobaci\xF3n?","approvalsW.by":"por {who}","overviewW.title":"Salud del org \xB7 {count} app(s) escaneadas","overviewW.truncated":"mostrando las primeras apps \u2014 filtr\xE1 con una b\xFAsqueda para el resto","overviewW.active":"En despliegue ({count})","overviewW.noActive":"Nada despleg\xE1ndose ahora.","overviewW.trouble":"Requiere atenci\xF3n ({count})","overviewW.noTrouble":"Ning\xFAn scope fall\xF3 ni se revirti\xF3.","servicesW.title":"{app} \xB7 {count} dependencia(s)","servicesW.none":"No hay dependencias adjuntas.","servicesW.catalog":"Disponibles para aprovisionar","servicesW.dashboard":"Abrir en el dashboard","servicesW.provisionHint":"Aprovisionar una dependencia es un flujo guiado \u2014 abr\xED el dashboard para agregar una.","serviceCreateW.pick":"Provisionar una dependencia para {app}","serviceCreateW.name":"Nombre","serviceCreateW.namePlaceholder":"nombre del servicio","serviceCreateW.params":"Configuraci\xF3n","serviceCreateW.linkParams":"Configuraci\xF3n del link","serviceCreateW.linkTo":"Linkear a","serviceCreateW.wholeApp":"toda la app (todos los scopes)","serviceCreateW.costNote":"Provisionar crea recursos cloud reales (tiene costo).","serviceCreateW.provision":"Provisionar","serviceCreateW.provisioning":"Provisionando\u2026","serviceCreateW.creating":"Provisionando {name}\u2026","serviceCreateW.ready":"{name} est\xE1 listo","serviceCreateW.failed":"No se pudo provisionar {name}","serviceCreateW.stepRequested":"Servicio solicitado","serviceCreateW.stepResources":"Provisionando recursos cloud","serviceCreateW.stepLinked":"Linkeado \u2014 par\xE1metros de conexi\xF3n en el pr\xF3ximo deploy","serviceCreateW.paramsNote":"Sus par\xE1metros de conexi\xF3n aparecen despu\xE9s del pr\xF3ximo deploy.","serviceCreateW.linkNote":"Una vez activo, linkealo a un scope para conectar sus par\xE1metros.","serviceCreateW.dashboard":"Abrir en el dashboard","serviceCreateW.failedHint":"Abr\xED el dashboard para ver qu\xE9 pas\xF3.","serviceLinkW.pick":"Linkear un servicio a {app}","serviceLinkW.service":"Servicio","serviceLinkW.note":"Un link de credenciales (p. ej. un usuario de base de datos) provisiona recursos.","serviceLinkW.link":"Linkear","serviceLinkW.linking":"Linkeando\u2026","serviceLinkW.creating":"Linkeando {service}\u2026","serviceLinkW.ready":"{service} est\xE1 linkeado","serviceLinkW.failed":"No se pudo linkear {service}","serviceLinkW.stepRequested":"Link solicitado","serviceLinkW.stepProvisioning":"Conectando","serviceLinkW.paramsNote":"Sus par\xE1metros de conexi\xF3n llegan al runtime en el pr\xF3ximo deploy.","serviceActionW.pickTarget":"Correr una acci\xF3n en {app}","serviceActionW.pickAction":"\xBFQu\xE9 acci\xF3n en {name}?","serviceActionW.params":"Par\xE1metros","serviceActionW.note":"Una custom action corre una operaci\xF3n definida por el equipo de plataforma.","serviceActionW.run":"Correr","serviceActionW.running":"Corriendo\u2026","serviceActionW.runningTitle":"Corriendo {action}\u2026","serviceActionW.ran":"{action} corri\xF3","serviceActionW.failed":"{action} fall\xF3","serviceActionW.stepRequested":"Acci\xF3n solicitada","serviceActionW.stepRunning":"Corriendo","serviceActionW.runningNote":"La acci\xF3n corre de forma as\xEDncrona; su resultado aparece cuando termina.","serviceActionW.failedHint":"Abr\xED el dashboard para ver qu\xE9 pas\xF3.","serviceDeleteW.pickTarget":"Borrar en {app}","serviceDeleteW.warning":"Esto destruye el recurso y sus datos. No se puede deshacer.","serviceDeleteW.delete":"Borrar","serviceDeleteW.deleting":"Borrando\u2026","serviceDeleteW.confirm":"\xBFBorrarlo?","serviceDeleteW.stepRequested":"Borrado solicitado","serviceDeleteW.stepRemoving":"Eliminando","serviceDeleteW.removed":"{name} fue borrado","serviceDeleteW.deprovisioning":"Borrando {name}\u2026","serviceDeleteW.removedNote":"El registro y sus recursos ya no est\xE1n.","serviceDeleteW.deprovisioningNote":"Un agente est\xE1 desaprovisionando sus recursos; el registro se va cuando termina."},sE={en:iE,es:aE};function vy(e){return e?.structuredContent?._locale==="es"?"es":"en"}function _y(e){let t=sE[e];return(n,o)=>t[n].replace(/\{(\w+)\}/g,(r,i)=>o?.[i]!==void 0?String(o[i]):r)}var yy=xn(_y("en")),es=yy.Provider,_o=()=>qt(yy),by=e=>_y(e);function xy(e){return{render:function(t){gu(t,e)},unmount:function(){vu(e)}}}function $y(e){let t=document.getElementById("root");t&&xy(t).render(e)}var uE=0;function h(e,t,n,o,r,i){t||(t={});var a,s,u=t;if("ref"in u)for(s in u={},t)s=="ref"?a=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--uE,__i:-1,__u:0,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return D.vnode&&D.vnode(l),l}var cE={clock:{body:h(K,{children:[h("circle",{cx:"12",cy:"12",r:"10"}),h("polyline",{points:"12 6 12 12 16 14"})]})},play:{fill:!0,body:h("polygon",{points:"6 3 20 12 6 21 6 3"})},pause:{fill:!0,body:h(K,{children:[h("rect",{x:"6",y:"4",width:"4",height:"16",rx:"1"}),h("rect",{x:"14",y:"4",width:"4",height:"16",rx:"1"})]})},refresh:{body:h(K,{children:[h("path",{d:"M21 12a9 9 0 1 1-2.64-6.36"}),h("polyline",{points:"21 3 21 8 16 8"})]})},rocket:{body:h(K,{children:[h("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"}),h("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"}),h("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),h("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"})]})},logs:{body:h(K,{children:[h("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),h("polyline",{points:"14 2 14 8 20 8"}),h("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),h("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),h("line",{x1:"10",y1:"9",x2:"8",y2:"9"})]})},metrics:{body:h(K,{children:[h("polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17"}),h("polyline",{points:"16 7 22 7 22 13"})]})},lock:{body:h(K,{children:[h("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),h("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]})},edit:{body:h("path",{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"})},copy:{body:h(K,{children:[h("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),h("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})},check:{body:h("polyline",{points:"20 6 9 17 4 12"})},package:{body:h(K,{children:[h("path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"}),h("path",{d:"m3.3 7 8.7 5 8.7-5"}),h("path",{d:"M12 22V12"})]})},x:{body:h(K,{children:[h("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),h("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},plus:{body:h(K,{children:[h("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),h("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})},chevronDown:{body:h("polyline",{points:"6 9 12 15 18 9"})},chevronLeft:{body:h("polyline",{points:"15 18 9 12 15 6"})},chevronRight:{body:h("polyline",{points:"9 18 15 12 9 6"})},arrowLeft:{body:h(K,{children:[h("line",{x1:"19",y1:"12",x2:"5",y2:"12"}),h("polyline",{points:"12 19 5 12 12 5"})]})}},Kt=({name:e,size:t=14,className:n})=>{let o=cE[e];return h("svg",{className:["icon",n].filter(Boolean).join(" "),width:t,height:t,viewBox:"0 0 24 24",fill:o.fill?"currentColor":"none",stroke:o.fill?"none":"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:o.body})};var yo=({children:e})=>h("div",{className:"card",children:e}),Sy=({children:e})=>h("div",{className:"row",children:e}),rs=({title:e,sub:t,right:n})=>h(Sy,{children:[h("div",{className:"grow",children:[h("div",{className:"title",children:e}),t?h("div",{className:"sub",children:t}):null]}),n]});var ky=({status:e})=>h("span",{className:`pill ${Ug(e)}`,children:[Lg(e)?h("span",{className:"spin","aria-hidden":!0}):null,Ng(e)||"\u2026"]}),bo=({tone:e,children:t})=>h("div",{className:`note${e?` ${e}`:""}`,children:t});var lE=({state:e})=>e==="active"?h("span",{className:"spin","aria-hidden":!0}):e==="failed"?h(Kt,{name:"x",size:13,className:"step-bad"}):h(Kt,{name:"check",size:13,className:"step-ok"}),wy=({items:e})=>h("div",{className:"steps",children:e.map((t,n)=>{let o=t.state??"done";return h("div",{className:"step",children:[h(lE,{state:o}),h("span",{className:o==="active"?"sub":void 0,children:t.label})]},n)})});var ts=({variant:e,on:t,className:n,...o})=>h("button",{className:[e,t?"on":"",n].filter(Boolean).join(" "),...o}),Hr=({label:e,children:t})=>h("div",{className:"field",children:[h("div",{className:"label",children:e}),t]});var zy=({label:e,onAct:t,pendingLabel:n,variant:o,confirm:r,onError:i,disabled:a})=>{let s=_o(),[u,l]=Se("idle"),[m,c]=Se(""),g=f=>{let x=Mg(f);i?i(x):c(x),l("idle")},v=()=>{l("pending"),c("");let f;try{f=Promise.resolve(t())}catch(x){g(x);return}f.then(()=>l("idle")).catch(g)};return u==="pending"?h(ts,{variant:o,className:"small",disabled:!0,children:[h("span",{className:"spin","aria-hidden":!0}),n??e]}):u==="confirming"?h("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:[h(ts,{variant:"danger",className:"hasicon iconbtn",title:r,"aria-label":r,onClick:v,children:h(Kt,{name:"check",size:15})}),h(ts,{className:"hasicon iconbtn",title:s("confirm.no"),"aria-label":s("confirm.no"),onClick:()=>l("idle"),children:h(Kt,{name:"x",size:15})})]}):h("span",{style:{display:"inline-flex",alignItems:"center",gap:8},children:[m?h("span",{className:"act-err",children:m}):null,h(ts,{variant:o,className:"small",disabled:a,onClick:()=>r?l("confirming"):v(),children:e})]})},me=({w:e="100%",h:t=12,r:n=6})=>h("div",{className:"skel",style:{width:e,height:t,borderRadius:n}}),Iy=({variant:e})=>h(yo,{children:[h(Sy,{children:[h(me,{w:170,h:16}),e!=="form"&&h(K,{children:[h("div",{className:"grow"}),h(me,{w:110,h:28,r:8})]})]}),e==="list"&&h("div",{className:"skel-rows",children:[0,1,2,3,4,5].map(t=>h("div",{className:"skel-row",children:[h(me,{w:8,h:8,r:999}),h(me,{w:140,h:13}),h("div",{className:"grow"}),h(me,{w:90,h:11})]},t))}),e==="panel"&&h(K,{children:[h("div",{className:"section",children:[h(me,{w:64,h:10}),h("div",{style:{marginTop:10,display:"flex",flexDirection:"column",gap:10},children:[0,1].map(t=>h("div",{className:"skel-card",children:[h(me,{w:t?"45%":"55%",h:14}),h("div",{style:{height:8}}),h(me,{w:t?"70%":"85%",h:11})]},t))})]}),h("div",{className:"section",children:[h(me,{w:64,h:10}),h("div",{style:{marginTop:10,display:"flex",gap:8},children:[0,1,2].map(t=>h(me,{w:72,h:24,r:999},t))})]}),h("div",{className:"section",style:{display:"flex",gap:8},children:[h(me,{w:132,h:34,r:9}),h(me,{w:80,h:34,r:9})]})]}),e==="table"&&h("div",{className:"skel-rows",children:[0,1,2,3].map(t=>h("div",{className:"skel-row",children:[h(me,{w:"30%",h:13}),h("div",{className:"grow"}),h(me,{w:"42%",h:13}),h(me,{w:18,h:13})]},t))}),e==="grid"&&h("div",{className:"skel-grid",children:[0,1,2,3].map(t=>h("div",{className:"skel-card",children:[h(me,{w:"50%",h:10}),h("div",{style:{height:8}}),h(me,{w:"35%",h:20}),h("div",{style:{height:8}}),h(me,{w:"100%",h:40,r:8})]},t))}),e==="logs"&&h("div",{style:{marginTop:14},children:h(me,{w:"100%",h:150,r:10})}),e==="form"&&h("div",{className:"skel-rows",children:[[0,1,2].map(t=>h("div",{children:[h(me,{w:88,h:10}),h("div",{style:{height:7}}),h(me,{w:"100%",h:32,r:8})]},t)),h(me,{w:150,h:34,r:9})]})]});var V=ue(Mb()),af=ue(Yx()),o0=ue(lt()),i0=ue(y$()),$e=ue(Qd()),a0=ue($S()),s0=ue(Kk()),u0=ue(ve()),sf=ue(cw());var z2=Object.assign(()=>!0,{errors:null}),Ro=class{compile(){return z2}validate(){return!0}addFormat(){return this}addKeyword(){return this}addMetaSchema(){return this}addSchema(){return this}removeSchema(){return this}getSchema(){}};function mm(){}var Ym=ue(xw()),uf=ue(Sw()),c0=ue(kz()),Qm=ue(dI()),l0=ue(fT()),p0=ue(kT()),d0=ue(Vr()),P8=ue(Jm()),T8=ue(CT()),A8=ue(DT()),O8=ue(Bm()),j8=ue(MT()),C8=ue(JT()),E8=ue(YT()),Es="additionalProperties",Rs="required",R8=(e,t)=>{let n={};return e.filter(o=>{let r=t(o);return Object.prototype.hasOwnProperty.call(n,r)?!1:(n[r]=!0,!0)})},Xm=class{constructor(t){this.findOption=t,this.schemaObject=n=>{let o=this.properties(n),r={type:"object",properties:o,additionalProperties:this.findOption(o)(Es)},i=this.findOption(o)(Rs);return i.length>0&&(r.required=i),r},this.properties=n=>{let o={};return Object.keys(n).reduce((r,i)=>(r[i]=this.property(n[i]),r),o)},this.property=n=>{switch(typeof n){case"string":return{type:"string"};case"boolean":return{type:"boolean"};case"number":return Number.isInteger(n)?{type:"integer"}:{type:"number"};case"object":return n==null?{type:"null"}:this.schemaObjectOrArray(n);default:return{}}},this.schemaObjectOrArray=n=>n instanceof Array?this.schemaArray(n):this.schemaObject(n),this.schemaArray=n=>{if(n.length>0){let o=n.map(this.property),r=R8(o,i=>JSON.stringify(i));return r.length===1?{type:"array",items:r[0]}:{type:"array",items:{oneOf:r}}}else return{type:"array",items:{}}}}},m0=(e,t={})=>{let n=r=>i=>{switch(i){case Es:return Object.prototype.hasOwnProperty.call(t,Es)?t[Es]:!0;case Rs:return Object.prototype.hasOwnProperty.call(t,Rs)?t[Rs](r):Object.keys(r);default:return}};return new Xm(n).schemaObject(e)},cf=new Set,f0=(e,t)=>t<=1?e:e+t.toString(),N8=(e,t)=>{let n=f0(e,t);return!cf.has(n)},lf=e=>{e===void 0&&(e="undefined");let t=0;for(;!N8(e,t);)t++;let n=f0(e,t);return cf.add(n),n},pf=e=>cf.delete(e);var D8=(e,t)=>{let n=e;return!(0,V.default)(e)&&!(0,V.default)(t)&&!t.startsWith("[")&&(n=e+"."),(0,V.default)(n)?t:(0,V.default)(t)?n:`${n}${t}`},q8=e=>{let o=e.replace(/(anyOf|allOf|oneOf)\/[\d]+\//g,"").replace(/(then|else)\//g,"").split("/").map(Wo),i=o[0]==="#"||o[0]===""?2:1;return(0,i0.default)(i,o.length,2).map(a=>o[a])};var U8=e=>e?.replace(/~/g,"~0").replace(/\//g,"~1"),Wo=e=>e?.replace(/~1/g,"/").replace(/~0/,"~");var Km=(e,t)=>{if(t&&typeof t.title=="string")return t.title;if(typeof e.scope=="string"){let n=e.scope,o=Wo(n.substr(n.lastIndexOf("/")+1));return(0,af.default)(o)}return""};var L8=(e,t)=>{let n=e.label;if(typeof n=="boolean")return Cs(Km(e,t),n);if(typeof n=="string")return Cs(n,!0);if(typeof n=="object"){let o=typeof n.text=="string"?n.text:Km(e,t),r=typeof n.show=="boolean"?n.show:!0;return Cs(o,r)}return Cs(Km(e,t),!0)},Cs=(e,t)=>({text:e,show:t});var ef=(e,t)=>(0,V.default)(t)?e:t.split(".").reduce((o,r)=>{if(!(!o||!Object.prototype.hasOwnProperty.call(o,r)))return o[r]},e);var M8=e=>e==="#"||e===void 0||e==="",pt=(e,t,n)=>{let o=t?.split("/").map(Wo);return Ns(e,o,n)},Ns=(e,t,n)=>{if((0,V.default)(e))return;if(typeof e.$ref=="string"&&(e=pt(n,e.$ref,n)),!t||t.length===0)return e;let[o,...r]=t;if(M8(o))return Ns(e,r,n);let i=(0,$e.default)(e,o),a=Ns(i,r,n);if(a)return a;if(o==="properties"||o==="items"){let s,u=[].concat(e.oneOf??[],e.allOf??[],e.anyOf??[],e.then??[],e.else??[]);for(let l of u)if(s=Ns(l,[o,...r],n),s)break;return s}};var dt;(function(e){e.HIDE="HIDE",e.SHOW="SHOW",e.ENABLE="ENABLE",e.DISABLE="DISABLE"})(dt||(dt={}));var g0=(e,t)=>{if(!H8(e))return t??"";let n=q8(e.scope);return(0,V.default)(n)?t??"":D8(t,n.join("."))},h0=e=>typeof e=="object"&&e!==null&&typeof e.i18n=="string",Z8=e=>e.type==="Group",W8=e=>e.elements!==void 0,F8=e=>!!e&&typeof e=="object",H8=e=>F8(e)&&typeof e.scope=="string",V8=e=>!!e&&typeof e=="object";var B8=e=>e.type==="OR",G8=e=>e.type==="AND",J8=e=>e.type==="LEAF",K8=e=>(0,a0.default)(e,"schema"),QT=(e,t)=>g0(e,t),tf=(e,t,n,o)=>{if(G8(t))return t.conditions.reduce((r,i)=>r&&tf(e,i,n,o),!0);if(B8(t))return t.conditions.reduce((r,i)=>r||tf(e,i,n,o),!1);if(J8(t))return ef(e,QT(t,n))===t.expectedValue;if(K8(t)){let r=ef(e,QT(t,n));return t.failWhenUndefined&&r===void 0?!1:o.validate(t.schema,r)}else return!0},v0=(e,t,n,o)=>{let r=e.rule.condition;return tf(t,r,n,o)},Y8=(e,t,n=void 0,o)=>{let r=v0(e,t,n,o);switch(e.rule.effect){case dt.HIDE:return!r;case dt.SHOW:return r;default:return!0}},Q8=(e,t,n=void 0,o)=>{let r=v0(e,t,n,o);switch(e.rule.effect){case dt.DISABLE:return!r;case dt.ENABLE:return r;default:return!0}},_0=e=>!!(e.rule&&(e.rule.effect===dt.SHOW||e.rule.effect===dt.HIDE)),X8=e=>!!(e.rule&&(e.rule.effect===dt.ENABLE||e.rule.effect===dt.DISABLE)),df=(e,t,n=void 0,o)=>e.rule?Y8(e,t,n,o):!0,eG=(e,t,n=void 0,o)=>e.rule?Q8(e,t,n,o):!0;var rf=e=>!!e&&Object.prototype.hasOwnProperty.call(e,"oneOf")&&e.oneOf&&e.oneOf.every(t=>t.const!==void 0),tG=e=>!!e&&typeof e=="object"&&(Object.prototype.hasOwnProperty.call(e,"enum")||Object.prototype.hasOwnProperty.call(e,"const"));var pn=(e,t)=>(0,sf.default)(rr(e),t),rr=e=>{if((0,V.default)(e))return[];if(!(0,V.default)(e.type)&&typeof e.type=="string")return[e.type];if((0,u0.default)(e.type))return e.type;if(!(0,V.default)(e.properties)||!(0,V.default)(e.additionalProperties))return["object"];if(!(0,V.default)(e.items))return["array"];if(!(0,V.default)(e.enum)){let t=new Set;return e.enum.forEach(n=>{typeof n=="string"?t.add("string"):rr(n).forEach(o=>t.add(o))}),Array.from(t)}if(!(0,V.default)(e.allOf)){let t=(0,s0.default)(e.allOf,n=>rr(n).length!==0);if(t)return rr(t)}return[]},Mo={schema:pt,data:ef};var rG=e=>{let t=new Ro({allErrors:!0,verbose:!0,strict:!1,addUsedSchema:!1,...e});return mm(t),t},bt=(e,t)=>e===void 0?[]:e(t)?[]:e.errors;var nG=e=>{switch(e.keyword){case"required":case"dependencies":return e.params.missingProperty;case"additionalProperties":return e.params.additionalProperty;default:return}},nf=e=>{let t=e.dataPath||e.instancePath||"";t=t.replace(/\//g,".");let n=nG(e);return n!==void 0&&!t.endsWith(n)&&(t=`${t}.${n}`),t=t.replace(/^./,""),t=Wo(t),t},oG=(e,t,n)=>o=>{let r=(0,Ym.default)(o,i=>i.keyword==="oneOf"||i.keyword==="anyOf").map(i=>nf(i));return(0,Ym.default)(o,i=>{if(aG.indexOf(i.keyword)!==-1&&!rf(i.parentSchema))return!1;let a=nf(i),s=n(a),u=i.parentSchema;return s&&!iG(u)&&!rf(u)&&r.findIndex(l=>e.startsWith(l))!==-1&&(s=s&&(0,uf.default)(u,t)),s})},iG=e=>e?.type==="object"||!!e?.properties,aG=["additionalProperties","allOf","anyOf","oneOf"],sG=e=>e==null?"":e.join(`
1116
+ `);var y0=e=>({type:e,elements:[]}),Ds=e=>({type:"Control",scope:e}),uG=(e,t)=>{if(!(0,V.default)(e)&&!W8(e)){let n=y0(t);return n.elements.push(e),n}return e},cG=(e,t)=>{if(!(0,V.default)(t)){let n=(0,af.default)(t);if(Z8(e))e.label=n;else{let o={type:"Label",text:n};e.elements.push(o)}}},lG=e=>!(0,V.default)(e)&&(!(0,V.default)(e.oneOf)||!(0,V.default)(e.anyOf)||!(0,V.default)(e.allOf)),of=(e,t,n,o,r,i)=>{if(!(0,V.default)(e)&&e.$ref!==void 0)return of(pt(i,e.$ref,i),t,n,o,r,i);if(lG(e)){let s=Ds(n);return t.push(s),s}let a=rr(e);if(a.length===0)return null;if(a.length>1){let s=Ds(n);return t.push(s),s}if(n==="#"&&a[0]==="object"){let s=y0(r);if(t.push(s),e.properties&&(0,o0.default)(e.properties).length>1&&cG(s,o),!(0,V.default)(e.properties)){let u=n+"/properties";Object.keys(e.properties).map(l=>{let m=e.properties[l],c=`${u}/${U8(l)}`;m.$ref!==void 0&&(m=pt(i,m.$ref,i)),of(m,s.elements,c,l,r,i)})}return s}switch(a[0]){case"object":case"array":case"string":case"number":case"integer":case"null":case"boolean":{let s=Ds(n);return t.push(s),s}default:throw new Error("Unknown type: "+JSON.stringify(e))}},b0=(e,t="VerticalLayout",n="#",o=e)=>uG(of(e,[],n,"",t,o),t),Fo={jsonSchema:m0,uiSchema:b0,controlElement:Ds},mf="jsonforms/INIT",ff="jsonforms/UPDATE_CORE",gf="jsonforms/SET_AJV",hf="jsonforms/UPDATE",vf="jsonforms/UPDATE_ERRORS",pG="jsonforms/VALIDATE",x0="jsonforms/ADD_RENDERER",$0="jsonforms/REMOVE_RENDERER",S0="jsonforms/ADD_CELL",k0="jsonforms/REMOVE_CELL",_f="jsonforms/SET_CONFIG",w0="jsonforms/ADD_UI_SCHEMA",z0="jsonforms/REMOVE_UI_SCHEMA",yf="jsonforms/SET_SCHEMA",bf="jsonforms/SET_UISCHEMA",xf="jsonforms/SET_VALIDATION_MODE",$f="jsonforms/SET_LOCALE",Sf="jsonforms/SET_TRANSLATOR",kf="jsonforms/UPDATE_I18N",I0="jsonforms/ADD_DEFAULT_DATA",P0="jsonforms/REMOVE_DEFAULT_DATA",dG=e=>{if(!("type"in e)||typeof e.type!="string")return!1;switch(e.type){case"ADD":return"values"in e&&Array.isArray(e.values)&&e.values.length>0;case"REMOVE":return"indices"in e&&Array.isArray(e.indices)&&e.indices.length>0&&e.indices.every(t=>typeof t=="number");case"MOVE":return"moves"in e&&Array.isArray(e.moves)&&e.moves.length>0&&e.moves.every(t=>typeof t=="object"&&t!==null&&"from"in t&&"to"in t&&typeof t.from=="number"&&typeof t.to=="number");default:return!1}},mG=(e,t=m0(e),n,o)=>({type:mf,data:e,schema:t,uischema:typeof n=="object"?n:b0(t),options:o}),fG=(e,t,n,o)=>({type:ff,data:e,schema:t,uischema:n,options:o}),gG=(e,t)=>({type:I0,schemaPath:e,data:t}),hG=e=>({type:P0,schemaPath:e}),vG=e=>({type:gf,ajv:e}),T0=(e,t,n)=>({type:hf,path:e,updater:t,context:n}),_G=e=>({type:vf,errors:e}),yG=(e,t)=>({type:x0,tester:e,renderer:t}),bG=(e,t)=>({type:S0,tester:e,cell:t}),xG=(e,t)=>({type:k0,tester:e,cell:t}),$G=(e,t)=>({type:$0,tester:e,renderer:t}),SG=e=>({type:_f,config:e}),kG=e=>({type:xf,validationMode:e}),wG=(e,t)=>({type:w0,tester:e,uischema:t}),zG=e=>({type:z0,tester:e}),IG=e=>({type:$f,locale:e}),PG=e=>({type:yf,schema:e}),TG=(e,t)=>({type:Sf,translator:e,errorTranslator:t}),AG=(e,t,n)=>({type:kf,locale:e,translator:t,errorTranslator:n}),OG=e=>({type:bf,uischema:e}),nr=Object.freeze({__proto__:null,INIT:mf,UPDATE_CORE:ff,SET_AJV:gf,UPDATE_DATA:hf,UPDATE_ERRORS:vf,VALIDATE:pG,ADD_RENDERER:x0,REMOVE_RENDERER:$0,ADD_CELL:S0,REMOVE_CELL:k0,SET_CONFIG:_f,ADD_UI_SCHEMA:w0,REMOVE_UI_SCHEMA:z0,SET_SCHEMA:yf,SET_UISCHEMA:bf,SET_VALIDATION_MODE:xf,SET_LOCALE:$f,SET_TRANSLATOR:Sf,UPDATE_I18N:kf,ADD_DEFAULT_DATA:I0,REMOVE_DEFAULT_DATA:P0,isUpdateArrayContext:dG,init:mG,updateCore:fG,registerDefaultData:gG,unregisterDefaultData:hG,setAjv:vG,update:T0,updateErrors:_G,registerRenderer:yG,registerCell:bG,unregisterCell:xG,unregisterRenderer:$G,setConfig:SG,setValidationMode:kG,registerUISchema:wG,unregisterUISchema:zG,setLocale:IG,setSchema:PG,setTranslator:TG,updateI18n:AG,setUISchema:OG});var jG={restrict:!1,trim:!1,showUnfocusedDescription:!1,hideRequiredAsterisk:!1},XT=(e={})=>(0,c0.default)({},jG,e),wf=(e=XT(),t)=>t.type===_f?XT(t.config):e,CG={data:{},schema:{},uischema:void 0,errors:[],validator:void 0,ajv:void 0,validationMode:"ValidateAndShow",additionalErrors:[]},e0=(e,t)=>t&&EG(t.options)?t.options.validationMode:e.validationMode,EG=e=>e?e.validationMode!==void 0:!1,RG=e=>e?e.additionalErrors!==void 0:!1,t0=(e,t)=>t&&RG(t.options)?t.options.additionalErrors:e.additionalErrors,r0=(e,t)=>{if(t){if(NG(t.options))return t.options.ajv;if(t.options!==void 0&&(0,d0.default)(t.options.compile))return t.options}return e.ajv?e.ajv:rG()},NG=e=>e?e.ajv!==void 0:!1,Ms=(e=CG,t)=>{switch(t.type){case mf:{let n=r0(e,t),o=e0(e,t),r=o==="NoValidation"?void 0:n.compile(t.schema),i=bt(r,t.data),a=t0(e,t);return{...e,data:t.data,schema:t.schema,uischema:t.uischema,additionalErrors:a,errors:i,validator:r,ajv:n,validationMode:o}}case ff:{let n=r0(e,t),o=e0(e,t),r=e.validator,i=e.errors;e.schema!==t.schema||e.validationMode!==o||e.ajv!==n?(r=o==="NoValidation"?void 0:n.compile(t.schema),i=bt(r,t.data)):e.data!==t.data&&(i=bt(r,t.data));let a=t0(e,t);return e.data!==t.data||e.schema!==t.schema||e.uischema!==t.uischema||e.ajv!==n||e.errors!==i||e.validator!==r||e.validationMode!==o||e.additionalErrors!==a?{...e,data:t.data,schema:t.schema,uischema:t.uischema,ajv:n,errors:(0,uf.default)(i,e.errors)?e.errors:i,validator:r,validationMode:o,additionalErrors:a}:e}case gf:{let n=t.ajv,o=e.validationMode==="NoValidation"?void 0:n.compile(e.schema),r=bt(o,e.data);return{...e,validator:o,errors:r}}case yf:{let o=t.schema&&e.ajv&&e.validationMode!=="NoValidation"?e.ajv.compile(t.schema):e.validator,r=bt(o,e.data);return{...e,validator:o,schema:t.schema,errors:r}}case bf:return{...e,uischema:t.uischema};case hf:{if(t.path===void 0||t.path===null)return e;if(t.path===""){let n=t.updater((0,Qm.default)(e.data)),o=bt(e.validator,n);return{...e,data:n,errors:o}}else{let n=(0,$e.default)(e.data,t.path),o=t.updater((0,Qm.default)(n)),r;o!==void 0?r=(0,l0.default)(t.path,o,e.data===void 0?{}:e.data):r=(0,p0.default)(t.path,e.data===void 0?{}:e.data);let i=bt(e.validator,r);return{...e,data:r,errors:i}}}case vf:return{...e,errors:t.errors};case xf:{if(e.validationMode===t.validationMode)return e;if(t.validationMode==="NoValidation"){let n=bt(void 0,e.data);return{...e,errors:n,validationMode:t.validationMode}}if(e.validationMode==="NoValidation"){let n=e.ajv.compile(e.schema),o=bt(n,e.data);return{...e,validator:n,errors:o,validationMode:t.validationMode}}return{...e,validationMode:t.validationMode}}default:return e}};var je;(function(e){e.addTooltip="addTooltip",e.addAriaLabel="addAriaLabel",e.removeTooltip="removeTooltip",e.upAriaLabel="upAriaLabel",e.downAriaLabel="downAriaLabel",e.noSelection="noSelection",e.removeAriaLabel="removeAriaLabel",e.noDataMessage="noDataMessage",e.deleteDialogTitle="deleteDialogTitle",e.deleteDialogMessage="deleteDialogMessage",e.deleteDialogAccept="deleteDialogAccept",e.deleteDialogDecline="deleteDialogDecline",e.up="up",e.down="down"})(je||(je={}));var DG=[{key:je.addTooltip,default:e=>e?`Add to ${e}`:"Add"},{key:je.addAriaLabel,default:e=>e?`Add to ${e} button`:"Add button"},{key:je.removeTooltip,default:()=>"Delete"},{key:je.removeAriaLabel,default:()=>"Delete button"},{key:je.upAriaLabel,default:()=>"Move item up"},{key:je.up,default:()=>"Up"},{key:je.down,default:()=>"Down"},{key:je.downAriaLabel,default:()=>"Move item down"},{key:je.noDataMessage,default:()=>"No data"},{key:je.noSelection,default:()=>"No selection"},{key:je.deleteDialogTitle,default:()=>"Confirm Deletion"},{key:je.deleteDialogMessage,default:()=>"Are you sure you want to delete the selected entry?"},{key:je.deleteDialogAccept,default:()=>"Yes"},{key:je.deleteDialogDecline,default:()=>"No"}],ln;(function(e){e.clearDialogTitle="clearDialogTitle",e.clearDialogMessage="clearDialogMessage",e.clearDialogAccept="clearDialogAccept",e.clearDialogDecline="clearDialogDecline"})(ln||(ln={}));var fae=[{key:ln.clearDialogTitle,default:()=>"Clear form?"},{key:ln.clearDialogMessage,default:()=>"Your data will be cleared. Do you want to proceed?"},{key:ln.clearDialogAccept,default:()=>"Yes"},{key:ln.clearDialogDecline,default:()=>"No"}],A0=(e,t)=>h0(t)?t.i18n:e?.i18n??void 0,qG=e=>e?.split(".").filter(t=>!/^\d+$/.test(t)).join(".")||"root",qs=(e,t,n)=>A0(e,t)??qG(n),Us=(e,t,n,o)=>`${qs(e,t,n)}.${o}`;var zf=(e,t)=>t,If=(e,t,n)=>{let o=Us(e.parentSchema,n,nf(e),`error.${e.keyword}`),r=t(o,void 0,{error:e});if(r!==void 0)return r;let i=t(`error.${e.keyword}`,void 0,{error:e});if(i!==void 0)return i;let a=t(e.message,void 0,{error:e});return a!==void 0?a:e.keyword==="required"&&e.message?.startsWith("must have required property")?t("is a required property","is a required property",{error:e}):e.message},O0=(e,t,n,o,r,i)=>{if(e.length>0&&n){let a=Us(o,r,i,"error.custom"),s=n(a,void 0,{schema:o,uischema:r,path:i,errors:e});if(s!==void 0)return s}return sG(e.map(a=>t(a,n,r)))},UG=(e,t)=>{if(e.label===!1||(e.label===void 0||e.label===null||e.label===!0)&&!h0(e))return;let n=typeof e.label=="string"?e.label:JSON.stringify(e.label),o=A0(void 0,e),r=typeof o=="string"?`${o}.label`:n;return t(r,n,{uischema:e})};var LG=e=>e===void 0?zf:e.translate,MG=e=>e===void 0?If:e.translateError;var Zo=()=>e=>LG((0,$e.default)(e,"jsonforms.i18n")),j0=()=>e=>MG((0,$e.default)(e,"jsonforms.i18n")),Lo={locale:"en",translate:zf,translateError:If},Pf=(e=Lo,t)=>{switch(t.type){case kf:{let n=t.locale??Lo.locale,o=t.translator??Lo.translate,r=t.errorTranslator??Lo.translateError;return n!==e.locale||o!==e.translate||r!==e.translateError?{...e,locale:n,translate:o,translateError:r}:e}case Sf:return{...e,translate:t.translator??zf,translateError:t.errorTranslator??If};case $f:return{...e,locale:t.locale??navigator.languages[0]};default:return e}};var ZG=-1,mn=e=>!(0,V.default)(e)&&e.scope!==void 0,mt=e=>(t,n,o)=>{if((0,V.default)(t)||!mn(t)||(0,V.default)(n))return!1;let r=t.scope;if((0,V.default)(r))return!1;let i=n;return pn(n,"object")&&(i=pt(n,r,o?.rootSchema)),i===void 0?!1:e(i,o?.rootSchema)},C0=(e,t)=>(n,o,r)=>{if((0,V.default)(n)||!mn(n))return!1;let i=n.scope,a=o;return pn(o,"object")&&(a=pt(o,i,r?.rootSchema)),a=(0,$e.default)(a,e),a===void 0?!1:t(a,r?.rootSchema)},Rt=e=>mt(t=>!(0,V.default)(t)&&pn(t,e)),Tf=e=>mt(t=>!(0,V.default)(t)&&t.format===e&&pn(t,"string")),he=e=>t=>!(0,V.default)(t)&&t.type===e,fn=(e,t)=>n=>{if((0,V.default)(n))return!1;let o=n.options;return!(0,V.default)(o)&&o[e]===t};var xe=(...e)=>(t,n,o)=>e.reduce((r,i)=>r&&i(t,n,o),!0),Zs=(...e)=>(t,n,o)=>e.reduce((r,i)=>r||i(t,n,o),!1),xt=(e,t)=>(n,o,r)=>t(n,o,r)?e:ZG;var E0=xe(he("Control"),Rt("boolean")),R0=xe(he("Control"),Rt("object")),gae=xe(he("Control"),mt(e=>Object.prototype.hasOwnProperty.call(e,"allOf"))),hae=xe(he("Control"),mt(e=>Object.prototype.hasOwnProperty.call(e,"anyOf"))),vae=xe(he("Control"),mt(e=>Object.prototype.hasOwnProperty.call(e,"oneOf"))),N0=xe(he("Control"),mt(e=>tG(e))),_ae=xe(he("Control"),mt(e=>rf(e))),D0=xe(he("Control"),Rt("integer")),q0=xe(he("Control"),Rt("number")),U0=xe(he("Control"),Rt("string")),yae=xe(he("Control"),fn("multi",!0)),bae=xe(he("Control"),Zs(Tf("date"),fn("format","date"))),xae=xe(he("Control"),Zs(Tf("time"),fn("format","time"))),$ae=xe(he("Control"),Zs(Tf("date-time"),fn("format","date-time"))),WG=xe(mt((e,t)=>pn(e,"array")&&!Array.isArray(pt(e,"items",t))),C0("items",(e,t)=>{let n=e.$ref?pt(t,e.$ref,t):e;return pn(n,"object")})),Sae=xe(he("Control"),WG);var kae=xe(he("Control"),mt((e,t)=>rr(e).length!==0&&!Array.isArray(pt(e,"items",t))),C0("items",(e,t)=>{let n=e.$ref?pt(t,e.$ref,t):e,o=rr(n);return o.length===1&&(0,sf.default)(["integer","number","boolean","string"],o[0])})),wae=xe(he("Control"),Zs(Rt("number"),Rt("integer")),mt(e=>Object.prototype.hasOwnProperty.call(e,"maximum")&&Object.prototype.hasOwnProperty.call(e,"minimum")&&Object.prototype.hasOwnProperty.call(e,"default")),fn("slider",!0)),zae=xe(he("Control"),Rt("integer"),fn("format",!0));var Af=(e,t,n)=>n(e,t),FG=(e,t,n)=>o=>{let r=o.errors??[],i=o.additionalErrors??[];return oG(e,t,n)(o.validationMode==="ValidateAndHide"?i:[...r,...i])},HG=(e,t)=>FG(e,t,n=>n===e);var L0=(e,t)=>n=>HG(e,t)(n.jsonforms.core);var Of=e=>JG((0,$e.default)(e,"jsonforms.core")),Ls=e=>KG((0,$e.default)(e,"jsonforms.core")),VG=e=>YG((0,$e.default)(e,"jsonforms.core")),Ws=e=>QG((0,$e.default)(e,"jsonforms.core")),BG=e=>(0,$e.default)(e,"jsonforms.renderers"),GG=e=>(0,$e.default)(e,"jsonforms.cells");var JG=e=>(0,$e.default)(e,"data"),KG=e=>(0,$e.default)(e,"schema"),YG=e=>(0,$e.default)(e,"uischema"),QG=e=>(0,$e.default)(e,"ajv"),dn=e=>e.jsonforms.config,jf=(e,t,n,o,r,i)=>e?.jsonforms?.readonly?!1:n&&X8(n)?eG(n,r,t?.path,Ws(e)):typeof n?.options?.readonly=="boolean"?!n.options.readonly:typeof n?.options?.readOnly=="boolean"?!n.options.readOnly:typeof i?.readonly=="boolean"?!i.readonly:typeof i?.readOnly=="boolean"?!i.readOnly:o?.readOnly===!0?!1:typeof t?.enabled=="boolean"?t.enabled:!0;var XG=(e,t,n)=>{let o=t.split("/"),r=Wo(o[o.length-1]),a=o.slice(0,o.length-2).join("/"),s=Mo.schema(e,a,n);return s!==void 0&&s.required!==void 0&&s.required.indexOf(r)!==-1};var n0=(e,t,n)=>{let o=typeof e=="string"?e:JSON.stringify(e);return t&&(n?o=t(`${n}.${o}`,o):o=t(o,o)),{label:o,value:e}};var Fs=(e,t)=>{let{uischema:n}=t,o=Of(e),r=g0(n,t.path),i=t.visible===void 0||_0(n)?df(n,o,t.path,Ws(e)):t.visible,a=n,s=t.id,u=Ls(e),l=a.scope!==void 0&&XG(t.schema,a.scope,u),m=Mo.schema(t.schema||u,a.scope,u),c=L0(r,m)(e),g=m!==void 0?m.description:"",v=Mo.data(o,r),f=L8(n,m),x=f.show?f.text:"",b=dn(e),k=jf(e,t,n,m||u,o,b),$=m??u,z=Zo()(e),T=j0()(e),U=qs($,n,r),M=z(Us($,n,r,"label"),x,{schema:$,uischema:n,path:r,errors:c}),ee=z(Us($,n,r,"description"),g,{schema:$,uischema:n,path:r,errors:c}),te=O0(c,T,z,$,n,r);return{data:v,description:ee,errors:te,label:M,visible:i,enabled:k,id:s,path:r,required:l,uischema:n,schema:$,config:dn(e),cells:t.cells||e.jsonforms.cells,rootSchema:u,i18nKeyPrefix:U}},M0=e=>({handleChange(t,n){e(T0(t,()=>n))}}),Z0=(e,t)=>{let n=Fs(e,t),o=t.options||n.schema.enum?.map(r=>n0(r,Zo()(e),qs(n.schema,n.uischema,n.path)))||n.schema.const&&[n0(n.schema.const,Zo()(e),qs(n.schema,n.uischema,n.path))];return{...n,options:o}};var W0=(e,t)=>{let{...n}=Fs(e,t);return{...n,uischemas:e.jsonforms.uischemas}};var Cf={visible:!0,enabled:!0,path:"",direction:"column"},eJ=e=>e.type==="HorizontalLayout"?"row":e.type==="VerticalLayout"?"column":Cf.direction,F0=(e,t)=>{let n=Of(e),{uischema:o}=t,r=t.visible===void 0||_0(o)?df(t.uischema,n,t.path,Ws(e)):t.visible,i=Mo.data(n,t.path),a=dn(e),s=jf(e,t,o,void 0,n,a),u=Zo()(e),l=V8(o)?UG(o,u):void 0;return{...Cf,renderers:t.renderers||BG(e),cells:t.cells||GG(e),visible:r,enabled:s,path:t.path,data:i,uischema:t.uischema,schema:t.schema,direction:t.direction??eJ(o),config:a,label:l}},H0=(e,t)=>({renderers:t.renderers||(0,$e.default)(e.jsonforms,"renderers"),cells:t.cells||(0,$e.default)(e.jsonforms,"cells"),schema:t.schema||Ls(e),rootSchema:Ls(e),uischema:t.uischema||VG(e),path:t.path,enabled:t.enabled,config:dn(e)}),Iae={...Cf,errors:[]};var V0=(e,t)=>{let{id:n,schema:o,path:r,uischema:i,renderers:a,cells:s}=t,u=Of(e),l=t.visible!==void 0?t.visible:df(i,u,void 0,Ws(e)),m=Ls(e),c=dn(e),g;e.jsonforms.readonly===!0?g=!1:typeof t.enabled=="boolean"?g=t.enabled:g=jf(e,t,i,o||m,u,c);let v=Zo()(e),f=j0()(e),x=O0(L0(r,o)(e),f,v,o,i,r),b=(0,V.default)(x);return{data:Mo.data(u,r),visible:l,enabled:g,id:n,path:r,errors:x,isValid:b,schema:o,uischema:i,config:dn(e),rootSchema:m,renderers:a,cells:s}},B0=(e,t)=>{let n=V0(e,t),{renderers:o,cells:r,...i}=t;return{...n,...i,cells:r||e.jsonforms.cells||[]}};var Nf=ue(Jm());var eA=ue(Q0()),X0=class extends re.Component{constructor(t){super(t)}};var Hs=class extends Ne{render(){return re.createElement("div",{style:{color:"red"}},"No applicable ",this.props.type," found.")}},uJ={data:{},schema:{},uischema:void 0,errors:[],additionalErrors:[],validator:void 0,ajv:void 0},tA=re.createContext({core:uJ,renderers:[]}),cJ=(e,t)=>{let n=nt(!0);Te(()=>{if(n.current){n.current=!1;return}e()},t)},lJ=({children:e,initState:t,onChange:n,middleware:o})=>{let{data:r,schema:i,uischema:a,ajv:s,validationMode:u,additionalErrors:l}=t.core,m=nt(o??Af);m.current=o??Af;let[c,g]=Se(()=>m.current(t.core,nr.init(r,i,a,{ajv:s,validationMode:u,additionalErrors:l}),Ms));Te(()=>g(U=>m.current(U,nr.updateCore(r,i,a,{ajv:s,validationMode:u,additionalErrors:l}),Ms)),[r,i,a,s,u,l]);let[v,f]=Dt(wf,void 0,()=>wf(void 0,nr.setConfig(t.config)));cJ(()=>{f(nr.setConfig(t.config))},[t.config]);let[x,b]=Dt(Pf,void 0,()=>Pf(t.i18n,nr.updateI18n(t.i18n?.locale,t.i18n?.translate,t.i18n?.translateError)));Te(()=>{b(nr.updateI18n(t.i18n?.locale,t.i18n?.translate,t.i18n?.translateError))},[t.i18n?.locale,t.i18n?.translate,t.i18n?.translateError]);let k=Ge(U=>{g(M=>m.current(M,U,Ms))},[]),$=ke(()=>({core:c,renderers:t.renderers,cells:t.cells,config:v,uischemas:t.uischemas,readonly:t.readonly,i18n:x,dispatch:k}),[c,t.renderers,t.cells,v,t.uischemas,t.readonly,x]),z=nt(n);Te(()=>{z.current=n},[n]);let T=Ge((0,eA.default)((...U)=>z.current?.(...U),10),[]);return Te(()=>{T({data:c.data,errors:c.errors})},[c.data,c.errors]),re.createElement(tA.Provider,{value:$},e)},pJ=()=>qt(tA);var dJ=(e,t)=>F0({jsonforms:{...e}},t),mJ=(e,t)=>Fs({jsonforms:{...e}},t),fJ=(e,t)=>{let n=Z0({jsonforms:{...e}},t),o=ke(()=>n.options,[t.options,n.schema,e.i18n?.translate]);return{...n,options:o}};var gJ=(e,t)=>W0({jsonforms:{...e}},t);var Df=e=>ke(()=>M0(e),[e]);var hJ=(e,t)=>H0({jsonforms:{...e}},t);var vJ=(e,t)=>B0({jsonforms:{...e}},t);var gn=e=>function(n){let o=pJ();return re.createElement(e,{ctx:o,props:n})},_J=e=>function({ctx:n,props:o}){let r=hJ(n,o);return re.createElement(e,{...o,...r})},yJ=e=>function({ctx:n,props:o}){let r=mJ(n,o),i=Df(n.dispatch);return re.createElement(e,{...o,...r,...i})},bJ=e=>function({ctx:n,props:o}){let r=dJ(n,o);return re.createElement(e,{...o,...r})};var xJ=e=>function({ctx:n,props:o}){let r=gJ(n,o);return re.createElement(e,{...o,...r})};var $J=e=>function({ctx:n,props:o}){let r=vJ(n,o),i=Df(n.dispatch);return re.createElement(e,{...o,...i,...r})};var SJ=e=>function({ctx:n,props:o}){let r=fJ(n,o),i=Df(n.dispatch);return re.createElement(e,{...o,...i,...r})};var rA=(e,t=!0)=>gn(_J(t?re.memo(e):e)),Ho=(e,t=!0)=>gn(yJ(t?re.memo(e):e)),qf=(e,t=!0)=>gn(bJ(t?re.memo(e):e));var nA=(e,t=!0)=>gn(xJ(t?re.memo(e):e));var kJ=(e,t=!0)=>gn($J(t?re.memo(e):e));var oA=(e,t=!0)=>gn(SJ(t?re.memo(e):e));var Vs=class extends re.Component{constructor(t){super(t),this.state={id:mn(t.uischema)?lf(t.uischema.scope):void 0}}componentWillUnmount(){mn(this.props.uischema)&&pf(this.state.id)}componentDidUpdate(t){t.schema!==this.props.schema&&(pf(this.state.id),this.setState({id:mn(this.props.uischema)?lf(this.props.uischema.scope):void 0}))}render(){let{schema:t,rootSchema:n,uischema:o,path:r,enabled:i,renderers:a,cells:s,config:u}=this.props;return re.createElement(wJ,{uischema:o,schema:t,rootSchema:n,path:r,enabled:i,renderers:a,cells:s,id:this.state.id,config:u})}},wJ=re.memo(function(t){let n=ke(()=>({rootSchema:t.rootSchema,config:t.config}),[t.rootSchema,t.config]),o=ke(()=>(0,Nf.default)(t.renderers,r=>r.tester(t.uischema,t.schema,n)),[t.renderers,t.uischema,t.schema,n]);if(o===void 0||o.tester(t.uischema,t.schema,n)===-1)return re.createElement(Hs,{type:"renderer"});{let r=o.renderer;return re.createElement(r,{uischema:t.uischema,schema:t.schema,path:t.path,enabled:t.enabled,renderers:t.renderers,cells:t.cells,id:t.id})}}),Rf=class extends Vs{constructor(t){super(t)}},Bs=rA(Vs),Bae=rA(Rf),iA=e=>{let{ajv:t,data:n,schema:o,uischema:r,renderers:i,cells:a,onChange:s,config:u,uischemas:l,readonly:m,validationMode:c,i18n:g,additionalErrors:v,middleware:f}=e,x=ke(()=>o!==void 0?o:Fo.jsonSchema(n),[o,n]),b=ke(()=>typeof r=="object"?r:Fo.uiSchema(x,void 0,void 0,x),[r,x]);return re.createElement(lJ,{initState:{core:{ajv:t,data:n,schema:x,uischema:b,validationMode:c,additionalErrors:v},config:u,uischemas:l,renderers:i,cells:a,readonly:m,i18n:g},onChange:s,middleware:f},re.createElement(Bs,null))},zJ=({uischema:e,schema:t,rootSchema:n,path:o,cells:r,id:i,enabled:a,renderers:s,config:u})=>{let l=ke(()=>({rootSchema:n,config:u}),[n,u]),m=ke(()=>(0,Nf.default)(r,c=>c.tester(e,t,l)),[r,e,t,l]);if(m===void 0||m.tester(e,t,l)===-1)return re.createElement(Hs,{type:"cell"});{let c=m.cell;return re.createElement(c,{uischema:e,schema:t,enabled:a,path:o,id:i,renderers:s,cells:r})}},Gae=kJ(zJ);var Uf=(e,t)=>t?`${e} *`:e;function Gs({text:e}){return e?h("span",{className:"schema-desc",children:e}):null}function IJ({data:e,handleChange:t,path:n,label:o,required:r,description:i}){return h(Hr,{label:Uf(o,r),children:[h("input",{type:"text",value:e??"",autoComplete:"off",onChange:a=>t(n,a.target.value===""?void 0:a.target.value)}),h(Gs,{text:i})]})}function aA({data:e,handleChange:t,path:n,label:o,required:r,description:i}){return h(Hr,{label:Uf(o,r),children:[h("input",{type:"number",value:e==null?"":String(e),onChange:a=>t(n,a.target.value===""?void 0:Number(a.target.value))}),h(Gs,{text:i})]})}function PJ({data:e,handleChange:t,path:n,label:o,description:r}){return h("label",{className:"check-row",children:[h("input",{type:"checkbox",checked:!!e,onChange:i=>t(n,i.target.checked)}),h("span",{children:[o,h(Gs,{text:r})]})]})}function TJ({data:e,handleChange:t,path:n,label:o,required:r,description:i,options:a}){return h(Hr,{label:Uf(o,r),children:[h("select",{value:e??"",onChange:s=>t(n,s.target.value===""?void 0:s.target.value),children:[h("option",{value:""}),(a??[]).map(s=>h("option",{value:String(s.value),children:s.label},String(s.value)))]}),h(Gs,{text:i})]})}function AJ({schema:e,path:t,label:n,renderers:o,cells:r}){let i=Fo.uiSchema(e,"Group",void 0,e);return n&&!i.label&&(i.label=n),h(Bs,{schema:e,uischema:i,path:t,renderers:o,cells:r})}function sA({uischema:e,schema:t,path:n,enabled:o,renderers:r,cells:i}){let a=e.elements??[],s=e.label;return h("div",{className:"schema-form",children:[s?h("div",{className:"schema-group-label",children:s}):null,a.map(u=>h(Bs,{uischema:u,schema:t,path:n,enabled:o,renderers:r,cells:i},u.scope??JSON.stringify(u)))]})}var OJ=[{tester:xt(2,he("VerticalLayout")),renderer:qf(sA)},{tester:xt(2,he("Group")),renderer:qf(sA)},{tester:xt(3,U0),renderer:Ho(IJ)},{tester:xt(3,q0),renderer:Ho(aA)},{tester:xt(3,D0),renderer:Ho(aA)},{tester:xt(3,E0),renderer:Ho(PJ)},{tester:xt(5,N0),renderer:oA(TJ)},{tester:xt(4,R0),renderer:nA(AJ)}];function uA({schema:e,value:t,onChange:n}){return h(iA,{schema:e,data:t,renderers:OJ,validationMode:"NoValidation",onChange:({data:o})=>n(o??{})})}function cA(e,t){return(e.required??[]).filter(n=>{let o=t[n];return o==null||o===""})}var jJ=new Set(["active","failed","cancelled"]),CJ=e=>e==="active"||e==="finalized"?"done":e==="failed"||e==="cancelled"?"failed":"active";function EJ({data:e,onPick:t}){let n=_o();return h(yo,{children:[h(rs,{title:n("serviceCreateW.pick",{app:e.app_name??""})}),(e.specs??[]).map(o=>h("button",{type:"button",className:"list-row",onClick:()=>t(o.id),children:[h(Kt,{name:"package",size:15}),h("span",{className:"app-name",children:o.name}),o.category?h("span",{className:"sub",children:o.category}):null,h("span",{className:"grow"}),o.provider?h("span",{className:"dim",children:o.provider}):null]},o.id))]})}function RJ({data:e}){let t=_o(),{service:n}=e,o=n.status==="failed",r=[{label:t("serviceCreateW.stepRequested"),state:"done"},{label:t("serviceCreateW.stepResources"),state:CJ(n.status)}],i=o?t("serviceCreateW.failed",{name:n.name}):n.status==="active"?t("serviceCreateW.ready",{name:n.name}):t("serviceCreateW.creating",{name:n.name}),a=Zg(e.dashboard);return h(yo,{children:[h(rs,{title:i,sub:n.spec,right:h(ky,{status:n.status})}),h(wy,{items:r}),o?h(bo,{tone:"bad",children:t("serviceCreateW.failedHint")}):h(bo,{children:t("serviceCreateW.linkNote")}),a?h("div",{className:"row",style:{marginTop:6},children:[h("span",{className:"grow"}),h("a",{href:a,rel:"noreferrer",children:t("serviceCreateW.dashboard")})]}):null]})}function NJ(){let{result:e,call:t,brief:n}=hy("np-service-create"),o=ke(()=>by(vy(e)),[e]),[r,i]=Se(null),[a,s]=Se(""),[u,l]=Se({}),[m,c]=Se(""),g=Ge(T=>{let U=T?.structuredContent;U&&(i(U),U.mode==="form"&&s(M=>M||U.name_default||""))},[]);Te(()=>g(e),[e,g]);let v=r?.service?.id,f=r?.service?.status,x=r?.app;if(Te(()=>{if(r?.mode!=="progress"||!v||!f||jJ.has(f)||!x)return;let T=setInterval(async()=>{try{let ee=((await t(ti.applicationServiceList,{app:x})).structuredContent?.services??[]).find(te=>te.id===v);ee?.status&&i(te=>te?.service?{...te,service:{...te.service,status:ee.status}}:te)}catch{}},4e3);return()=>clearInterval(T)},[r?.mode,v,f,x,t]),!e)return h(Iy,{variant:"form"});let b=r??e.structuredContent;if(b.mode==="progress"&&b.service)return h(es,{value:o,children:h(RJ,{data:{...b,service:b.service}})});if(b.mode==="pick-spec")return h(es,{value:o,children:h(EJ,{data:b,onPick:U=>{t(ti.applicationServiceCreate,{app:b.app,specification_id:U}).then(g)}})});let k=b.spec,$=b.parameters_schema?cA(b.parameters_schema,u):[],z=async()=>{c("");let T=await t(ti.applicationServiceCreate,{app:b.app,specification_id:k?.id,name:a.trim()||b.name_default,parameters:u,provision:!0});g(T);let U=T.structuredContent?.service;U&&n(`[service] user provisioned service ${U.id} for ${b.app}.`)};return h(es,{value:o,children:h(yo,{children:[h(rs,{title:k?.name??"",sub:k?.category,right:k?.provider?h("span",{className:"dim",children:k.provider}):void 0}),h(Hr,{label:o("serviceCreateW.name"),children:h("input",{type:"text",value:a,placeholder:o("serviceCreateW.namePlaceholder"),autoComplete:"off",onChange:T=>s(T.target.value)})}),b.parameters_schema?h("div",{className:"field",children:[h("div",{className:"label",children:o("serviceCreateW.params")}),h(uA,{schema:b.parameters_schema,value:u,onChange:l})]}):null,h(bo,{children:o("serviceCreateW.costNote")}),m?h(bo,{tone:"bad",children:m}):null,h("div",{className:"row",style:{marginTop:12},children:h(zy,{variant:"primary",label:o("serviceCreateW.provision"),pendingLabel:o("serviceCreateW.provisioning"),onAct:z,onError:c,disabled:$.length>0})})]})})}$y(h(NJ,{}));})();
1117
+ </script></body></html>