@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.
- package/dist/i18n.js +206 -22
- package/dist/np/client.js +3 -0
- package/dist/np/journey.js +236 -24
- package/dist/tool-names.js +7 -0
- package/dist/tools/action-flow.js +94 -0
- package/dist/tools/approvals.js +2 -2
- package/dist/tools/builds.js +23 -6
- package/dist/tools/create-link.js +163 -0
- package/dist/tools/create-service.js +149 -0
- package/dist/tools/delete-flow.js +30 -0
- package/dist/tools/delete-link.js +95 -0
- package/dist/tools/delete-param.js +76 -0
- package/dist/tools/delete-service.js +108 -0
- package/dist/tools/deployments.js +2 -2
- package/dist/tools/index.js +14 -0
- package/dist/tools/logs.js +2 -2
- package/dist/tools/metrics.js +4 -1
- package/dist/tools/overview.js +2 -2
- package/dist/tools/params.js +78 -17
- package/dist/tools/playbook.js +2 -1
- package/dist/tools/releases.js +2 -2
- package/dist/tools/services.js +2 -2
- package/dist/tools/set-params.js +61 -11
- package/dist/tools/shared.js +4 -0
- package/dist/tools/update-link.js +87 -0
- package/dist/tools/update-service.js +92 -0
- package/dist/ui.js +4 -1
- package/package.json +3 -1
- package/skills/starting-a-new-app/SKILL.md +71 -0
- package/widgets-dist/approvals.html +261 -57
- package/widgets-dist/builds.html +256 -52
- package/widgets-dist/create-app.html +252 -48
- package/widgets-dist/deployments.html +251 -47
- package/widgets-dist/find-apps.html +251 -47
- package/widgets-dist/logs.html +256 -52
- package/widgets-dist/manifest.json +16 -13
- package/widgets-dist/metrics.html +261 -57
- package/widgets-dist/np-panel.html +256 -52
- package/widgets-dist/overview.html +256 -52
- package/widgets-dist/params.html +257 -53
- package/widgets-dist/releases.html +257 -53
- package/widgets-dist/service-action.html +1118 -0
- package/widgets-dist/service-create.html +1117 -0
- package/widgets-dist/{playbook.html → service-delete.html} +258 -58
- package/widgets-dist/service-link.html +1117 -0
- package/widgets-dist/services.html +249 -45
|
@@ -0,0 +1,1118 @@
|
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><!--np-widget:service-action@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 v0=Object.create;var Bo=Object.defineProperty;var _0=Object.getOwnPropertyDescriptor;var y0=Object.getOwnPropertyNames;var b0=Object.getPrototypeOf,x0=Object.prototype.hasOwnProperty;var $0=(e,t,n)=>t in e?Bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Dt=(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 O=(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)Bo(e,n,{get:t[n],enumerable:!0})},S0=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of y0(t))!x0.call(e,r)&&r!==n&&Bo(e,r,{get:()=>t[r],enumerable:!(o=_0(t,r))||o.enumerable});return e};var ae=(e,t,n)=>(n=e!=null?v0(b0(e)):{},S0(t||!e||!e.__esModule?Bo(n,"default",{value:e,enumerable:!0}):n,e));var J=(e,t,n)=>$0(e,typeof t!="symbol"?t+"":t,n);function _(e,t,n){function o(s,c){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,c);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=c}let r=n?.Parent??Object;class i extends r{}Object.defineProperty(i,"name",{value:e});function a(s){var c;let l=n?.Parent?new i:this;o(l,s),(c=l._zod).deferred??(c.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 me(e){return e&&Object.assign(wn,e),wn}var ri,ni,ot,wn,cr=O(()=>{ri=Object.freeze({status:"aborted"});ni=Symbol("zod_brand"),ot=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},wn={}});var P={};$t(P,{BIGINT_FORMAT_RANGES:()=>Iu,Class:()=>yu,NUMBER_FORMAT_RANGES:()=>zu,aborted:()=>Mt,allowsEval:()=>Su,assert:()=>cO,assertEqual:()=>iO,assertIs:()=>sO,assertNever:()=>uO,assertNotEqual:()=>aO,assignProp:()=>$u,cached:()=>Pn,captureStackTrace:()=>oi,cleanEnum:()=>$O,cleanRegex:()=>Tn,clone:()=>De,createTransparentProxy:()=>gO,defineLazy:()=>G,esc:()=>Lt,escapeRegex:()=>gt,extend:()=>_O,finalizeIssue:()=>Fe,floatSafeRemainder:()=>xu,getElementAtPath:()=>lO,getEnumValues:()=>In,getLengthableOrigin:()=>jn,getParsedType:()=>fO,getSizableOrigin:()=>On,isObject:()=>lr,isPlainObject:()=>pr,issue:()=>Pu,joinValues:()=>S,jsonStringifyReplacer:()=>bu,merge:()=>yO,normalizeParams:()=>w,nullish:()=>wt,numKeys:()=>mO,omit:()=>vO,optionalKeys:()=>wu,partial:()=>bO,pick:()=>hO,prefixIssues:()=>qe,primitiveTypes:()=>ku,promiseAllObject:()=>pO,propertyKeyTypes:()=>An,randomString:()=>dO,required:()=>xO,stringifyPrimitive:()=>I,unwrapMessage:()=>zn});function iO(e){return e}function aO(e){return e}function sO(e){}function uO(e){throw new Error}function cO(e){}function In(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 Pn(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 Tn(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 lO(e,t){return t?t.reduce((n,o)=>n?.[o],e):e}function pO(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 dO(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let o=0;o<e;o++)n+=t[Math.floor(Math.random()*t.length)];return n}function Lt(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 mO(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 gO(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 hO(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 vO(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 _O(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 yO(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 bO(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 xO(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 Mt(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 zn(e){return typeof e=="string"?e:e?.message}function Fe(e,t,n){let o={...e,path:e.path??[]};if(!e.message){let r=zn(e.inst?._zod.def?.error?.(e))??zn(t?.error?.(e))??zn(n.customError?.(e))??zn(n.localeError?.(e))??"Invalid input";o.message=r}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function On(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function jn(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 $O(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var oi,Su,fO,An,ku,zu,Iu,yu,N=O(()=>{oi=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};Su=Pn(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});fO=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}`)}},An=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,c=0;for(;c<a.path.length;){let l=a.path[c];c===a.path.length-1?(s[l]=s[l]||{_errors:[]},s[l]._errors.push(n(a))):s[l]=s[l]||{_errors:[]},s=s[l],c++}}};return r(e),o}function ii(e,t){let n=t||function(i){return i.message},o={errors:[]},r=(i,a=[])=>{var s,c;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 u=o,h=0;for(;h<m.length;){let v=m[h],g=h===m.length-1;typeof v=="string"?(u.properties??(u.properties={}),(s=u.properties)[v]??(s[v]={errors:[]}),u=u.properties[v]):(u.items??(u.items=[]),(c=u.items)[v]??(c[v]={errors:[]}),u=u.items[v]),g&&u.errors.push(n(l)),h++}}};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,En,dr,Tu=O(()=>{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})},En=_("$ZodError",Wg),dr=_("$ZodError",Wg,{Parent:Error})});var si,Rn,ui,Cn,ci,gr,li,Nn,pi=O(()=>{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(c=>Fe(c,i,me())));throw oi(s,r?.callee),s}return a.value},Rn=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(c=>Fe(c,i,me())));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??En)(i.issues.map(a=>Fe(a,r,me())))}:{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,me())))}:{success:!0,data:i.value}},Nn=li(dr)});var zt={};$t(zt,{_emoji:()=>Hg,base64:()=>Fu,base64url:()=>di,bigint:()=>Yu,boolean:()=>ec,browserEmail:()=>OO,cidrv4:()=>Zu,cidrv6:()=>Wu,cuid:()=>Au,cuid2:()=>Ou,date:()=>Bu,datetime:()=>Ju,domain:()=>jO,duration:()=>Nu,e164:()=>Vu,email:()=>qu,emoji:()=>Uu,extendedDuration:()=>kO,guid:()=>Du,hostname:()=>Hu,html5Email:()=>PO,integer:()=>Qu,ipv4:()=>Lu,ipv6:()=>Mu,ksuid:()=>Ru,lowercase:()=>nc,nanoid:()=>Cu,null:()=>tc,number:()=>Xu,rfc5322Email:()=>TO,string:()=>Ku,time:()=>Gu,ulid:()=>ju,undefined:()=>rc,unicodeEmail:()=>AO,uppercase:()=>oc,uuid:()=>Zt,uuid4:()=>wO,uuid6:()=>zO,uuid7:()=>IO,xid:()=>Eu});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,Eu,Ru,Cu,Nu,kO,Du,Zt,wO,zO,IO,qu,PO,TO,AO,OO,Hg,Lu,Mu,Zu,Wu,Fu,di,Hu,jO,Vu,Vg,Bu,Ku,Yu,Qu,Xu,ec,tc,rc,nc,oc,mi=O(()=>{Au=/^[cC][^\s-]{8,}$/,Ou=/^[0-9a-z]+$/,ju=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Eu=/^[0-9a-vA-V]{20}$/,Ru=/^[A-Za-z0-9]{27}$/,Cu=/^[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)?)?)$/,kO=/^[-+]?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})$/,Zt=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)$/,wO=Zt(4),zO=Zt(6),IO=Zt(7),qu=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,PO=/^[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])?)*$/,TO=/^(([^<>()\[\]\\.,;:\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,}))$/,AO=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,OO=/^[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-]+$/,jO=/^([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 pe,Jg,fi,gi,ic,ac,sc,uc,cc,lc,pc,dc,mc,hr,fc,gc,hc,vc,_c,yc,bc,xc,$c,hi=O(()=>{cr();mi();N();pe=_("$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)=>{pe.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)=>{pe.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)=>{pe.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)=>{pe.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)=>{pe.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;pe.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:On(r),code:"too_big",maximum:t.maximum,input:r,inst:e,continue:!t.abort})}}),cc=_("$ZodCheckMinSize",(e,t)=>{var n;pe.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:On(r),code:"too_small",minimum:t.minimum,input:r,inst:e,continue:!t.abort})}}),lc=_("$ZodCheckSizeEquals",(e,t)=>{var n;pe.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:On(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;pe.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=jn(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;pe.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=jn(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;pe.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=jn(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;pe.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)=>{pe.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)=>{pe.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)=>{pe.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)=>{pe.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)=>{pe.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)=>{pe.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}})});var Dn,Sc=O(()=>{Dn=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=O(()=>{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,me())))}),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),Mt(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&&(An.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,me()))})),t.issues.length&&(An.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,me()))})),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 Mt(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,Wt,te,Ic,Pc,Tc,Ac,Oc,jc,Ec,Rc,Cc,Nc,Dc,qc,Uc,Lc,Mc,Zc,Wc,Fc,Hc,Bc,Gc,Jc,Kc,Yc,yi,Qc,qn,bi,Xc,el,tl,rl,nl,vr,ol,il,al,Un,sl,xi,ul,cl,Ft,ll,pl,dl,ml,fl,gl,Ln,hl,vl,_l,yl,bl,xl,$l,Sl,Mn,kl,wl,zl,Il,Pl,Zn=O(()=>{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 c=Mt(i),l;for(let m of a){if(m._zod.def.when){if(!m._zod.def.when(i))continue}else if(c)continue;let u=i.issues.length,h=m._zod.check(i);if(h instanceof Promise&&s?.async===!1)throw new ot;if(l||h instanceof Promise)l=(l??Promise.resolve()).then(async()=>{await h,i.issues.length!==u&&(c||(c=Mt(i,u)))});else{if(i.issues.length===u)continue;c||(c=Mt(i,u))}}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(c=>r(c,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 Nn(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}}),Wt=_("$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}}),te=_("$ZodStringFormat",(e,t)=>{hr.init(e,t),Wt.init(e,t)}),Ic=_("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Du),te.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=Zt(o))}else t.pattern??(t.pattern=Zt());te.init(e,t)}),Tc=_("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=qu),te.init(e,t)}),Ac=_("$ZodURL",(e,t)=>{te.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()),te.init(e,t)}),jc=_("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Cu),te.init(e,t)}),Ec=_("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Au),te.init(e,t)}),Rc=_("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Ou),te.init(e,t)}),Cc=_("$ZodULID",(e,t)=>{t.pattern??(t.pattern=ju),te.init(e,t)}),Nc=_("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Eu),te.init(e,t)}),Dc=_("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Ru),te.init(e,t)}),qc=_("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Ju(t)),te.init(e,t)}),Uc=_("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Bu),te.init(e,t)}),Lc=_("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Gu(t)),te.init(e,t)}),Mc=_("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Nu),te.init(e,t)}),Zc=_("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Lu),te.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),te.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),te.init(e,t)}),Hc=_("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Wu),te.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),te.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),te.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),te.init(e,t)});Kc=_("$ZodJWT",(e,t)=>{te.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)=>{te.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)}),qn=_("$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}});Un=_("$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],c=t.element._zod.run({value:s,issues:[]},o);c instanceof Promise?i.push(c.then(l=>Yg(l,n,a))):Yg(c,n,a)}return i.length?Promise.all(i).then(()=>n):n}});sl=_("$ZodObject",(e,t)=>{q.init(e,t);let n=Pn(()=>{let u=Object.keys(t.shape);for(let v of u)if(!(t.shape[v]instanceof q))throw new Error(`Invalid element at key "${v}": expected a Zod schema`);let h=wu(t.shape);return{shape:t.shape,keys:u,keySet:new Set(u),numKeys:u.length,optionalKeys:new Set(h)}});G(e._zod,"propValues",()=>{let u=t.shape,h={};for(let v in u){let g=u[v]._zod;if(g.values){h[v]??(h[v]=new Set);for(let x of g.values)h[v].add(x)}}return h});let o=u=>{let h=new Dn(["shape","payload","ctx"]),v=n.value,g=b=>{let z=Lt(b);return`shape[${z}]._zod.run({ value: input[${z}], issues: [] }, ctx)`};h.write("const input = payload.value;");let x=Object.create(null),$=0;for(let b of v.keys)x[b]=`key_${$++}`;h.write("const newResult = {}");for(let b of v.keys)if(v.optionalKeys.has(b)){let z=x[b];h.write(`const ${z} = ${g(b)};`);let j=Lt(b);h.write(`
|
|
1051
|
+
if (${z}.issues.length) {
|
|
1052
|
+
if (input[${j}] === undefined) {
|
|
1053
|
+
if (${j} in input) {
|
|
1054
|
+
newResult[${j}] = undefined;
|
|
1055
|
+
}
|
|
1056
|
+
} else {
|
|
1057
|
+
payload.issues = payload.issues.concat(
|
|
1058
|
+
${z}.issues.map((iss) => ({
|
|
1059
|
+
...iss,
|
|
1060
|
+
path: iss.path ? [${j}, ...iss.path] : [${j}],
|
|
1061
|
+
}))
|
|
1062
|
+
);
|
|
1063
|
+
}
|
|
1064
|
+
} else if (${z}.value === undefined) {
|
|
1065
|
+
if (${j} in input) newResult[${j}] = undefined;
|
|
1066
|
+
} else {
|
|
1067
|
+
newResult[${j}] = ${z}.value;
|
|
1068
|
+
}
|
|
1069
|
+
`)}else{let z=x[b];h.write(`const ${z} = ${g(b)};`),h.write(`
|
|
1070
|
+
if (${z}.issues.length) payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
|
|
1071
|
+
...iss,
|
|
1072
|
+
path: iss.path ? [${Lt(b)}, ...iss.path] : [${Lt(b)}]
|
|
1073
|
+
})));`),h.write(`newResult[${Lt(b)}] = ${z}.value`)}h.write("payload.value = newResult;"),h.write("return payload;");let k=h.compile();return(b,z)=>k(u,b,z)},r,i=lr,a=!wn.jitless,c=a&&Su.value,l=t.catchall,m;e._zod.parse=(u,h)=>{m??(m=n.value);let v=u.value;if(!i(v))return u.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),u;let g=[];if(a&&c&&h?.async===!1&&h.jitless!==!0)r||(r=o(t.shape)),u=r(u,h);else{u.value={};let z=m.shape;for(let j of m.keys){let W=z[j],M=W._zod.run({value:v[j],issues:[]},h),ce=W._zod.optin==="optional"&&W._zod.optout==="optional";M instanceof Promise?g.push(M.then(he=>ce?Qg(he,u,j,v):vi(he,u,j))):ce?Qg(M,u,j,v):vi(M,u,j)}}if(!l)return g.length?Promise.all(g).then(()=>u):u;let x=[],$=m.keySet,k=l._zod,b=k.def.type;for(let z of Object.keys(v)){if($.has(z))continue;if(b==="never"){x.push(z);continue}let j=k.run({value:v[z],issues:[]},h);j instanceof Promise?g.push(j.then(W=>vi(W,u,z))):vi(j,u,z)}return x.length&&u.issues.push({code:"unrecognized_keys",keys:x,input:v,inst:e}),g.length?Promise.all(g).then(()=>u):u}});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=>Tn(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,c]of Object.entries(a)){r[s]||(r[s]=new Set);for(let l of c)r[s].add(l)}}return r});let o=Pn(()=>{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 c of s){if(i.has(c))throw new Error(`Duplicate discriminator value "${String(c)}"`);i.set(c,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(([c,l])=>eh(n,c,l)):eh(n,i,a)}});Ft=_("$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 c=-1;for(let l of n){if(c++,c>=a.length&&c>=o)continue;let m=l._zod.run({value:a[c],issues:[]},i);m instanceof Promise?s.push(m.then(u=>_i(u,r,c))):_i(m,r,c)}if(t.rest){let l=a.slice(n.length);for(let m of l){c++;let u=t.rest._zod.run({value:m,issues:[]},i);u instanceof Promise?s.push(u.then(h=>_i(h,r,c))):_i(u,r,c)}}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 c of a)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){let l=t.valueType._zod.run({value:r[c],issues:[]},o);l instanceof Promise?i.push(l.then(m=>{m.issues.length&&n.issues.push(...qe(c,m.issues)),n.value[c]=m.value})):(l.issues.length&&n.issues.push(...qe(c,l.issues)),n.value[c]=l.value)}let s;for(let c in r)a.has(c)||(s=s??[],s.push(c));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,me())),input:a,path:[a],inst:e}),n.value[s.value]=s.value;continue}let c=t.valueType._zod.run({value:r[a],issues:[]},o);c instanceof Promise?i.push(c.then(l=>{l.issues.length&&n.issues.push(...qe(a,l.issues)),n.value[s.value]=l.value})):(c.issues.length&&n.issues.push(...qe(a,c.issues)),n.value[s.value]=c.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 c=t.keyType._zod.run({value:a,issues:[]},o),l=t.valueType._zod.run({value:s,issues:[]},o);c instanceof Promise||l instanceof Promise?i.push(Promise.all([c,l]).then(([m,u])=>{th(m,u,n,a,r,e,o)})):th(c,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(c=>rh(c,n))):rh(s,n)}return i.length?Promise.all(i).then(()=>n):n}});ml=_("$ZodEnum",(e,t)=>{q.init(e,t);let n=In(t.entries);e._zod.values=new Set(n),e._zod.pattern=new RegExp(`^(${n.filter(o=>An.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}}),Ln=_("$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(`^(${Tn(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(`^(${Tn(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,me()))},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,me()))},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)}),Mn=_("$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)=>{pe.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=O(()=>{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=O(()=>{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:CO()}}var CO,vh=O(()=>{N();CO=()=>{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),c=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()} ${c}`}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),c=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()} ${c}`}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:NO()}}var NO,yh=O(()=>{N();NO=()=>{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:DO()}}var DO,xh=O(()=>{N();DO=()=>{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:qO()}}var qO,Sh=O(()=>{N();qO=()=>{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:LO()}}var UO,LO,Tl=O(()=>{N();UO=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},LO=()=>{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 ${UO(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:ZO()}}var MO,ZO,wh=O(()=>{N();MO=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},ZO=()=>{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 ${MO(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:WO()}}var WO,Ih=O(()=>{N();WO=()=>{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:FO()}}var FO,Th=O(()=>{N();FO=()=>{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:HO()}}var HO,Oh=O(()=>{N();HO=()=>{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:VO()}}var VO,Eh=O(()=>{N();VO=()=>{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 Rh(){return{localeError:BO()}}var BO,Ch=O(()=>{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":"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:GO()}}var GO,Dh=O(()=>{N();GO=()=>{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:JO()}}var JO,Uh=O(()=>{N();JO=()=>{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:KO()}}var KO,Mh=O(()=>{N();KO=()=>{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:YO()}}var YO,Wh=O(()=>{N();YO=()=>{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:QO()}}var QO,Hh=O(()=>{N();QO=()=>{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:XO()}}var XO,Bh=O(()=>{N();XO=()=>{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:e1()}}var e1,Jh=O(()=>{N();e1=()=>{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),c=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${c} ${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),c=s?.unit??"\uC694\uC18C";return s?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${c} ${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:t1()}}var t1,Yh=O(()=>{N();t1=()=>{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:r1()}}var r1,Xh=O(()=>{N();r1=()=>{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:n1()}}var n1,tv=O(()=>{N();n1=()=>{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:o1()}}var o1,nv=O(()=>{N();o1=()=>{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:i1()}}var i1,iv=O(()=>{N();i1=()=>{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:a1()}}var a1,sv=O(()=>{N();a1=()=>{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:s1()}}var s1,cv=O(()=>{N();s1=()=>{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:u1()}}var u1,pv=O(()=>{N();u1=()=>{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:c1()}}var c1,fv=O(()=>{N();c1=()=>{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),c=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()} ${c}`}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),c=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()} ${c}`}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:l1()}}var l1,hv=O(()=>{N();l1=()=>{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:p1()}}var p1,_v=O(()=>{N();p1=()=>{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:d1()}}var d1,bv=O(()=>{N();d1=()=>{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:m1()}}var m1,$v=O(()=>{N();m1=()=>{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:g1()}}var f1,g1,kv=O(()=>{N();f1=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},g1=()=>{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 ${f1(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:h1()}}var h1,zv=O(()=>{N();h1=()=>{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:v1()}}var v1,Pv=O(()=>{N();v1=()=>{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:_1()}}var _1,Av=O(()=>{N();_1=()=>{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:y1()}}var y1,jv=O(()=>{N();y1=()=>{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 Ev(){return{localeError:b1()}}var b1,Rv=O(()=>{N();b1=()=>{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:()=>Rh,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:()=>Ev});var Al=O(()=>{dh();fh();vh();yh();xh();Sh();Tl();wh();Ih();Th();Oh();Eh();Ch();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();Rv()});function Wn(){return new yr}var Si,ki,yr,Qe,Ol=O(()=>{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=Wn()});function jl(e,t){return new e({type:"string",...w(t)})}function El(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 Fn(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 Ei(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...w(t)})}function Ri(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...w(t)})}function Ci(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 Rl(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...w(t)})}function Cl(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 Ce(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 Ce(0,e)}function It(e,t){return new ic({check:"multiple_of",...w(t),value:e})}function Ht(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 Vt(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 Bt(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 Hn(e,t,n){return new e({type:"array",element:t,...w(n)})}function x1(e,t,n){return new e({type:"union",options:t,...w(n)})}function $1(e,t,n,o){return new e({type:"union",options:n,discriminator:t,...w(o)})}function S1(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 k1(e,t,n,o){return new e({type:"record",keyType:t,valueType:n,...w(o)})}function w1(e,t,n,o){return new e({type:"map",keyType:t,valueType:n,...w(o)})}function z1(e,t,n){return new e({type:"set",valueType:t,...w(n)})}function I1(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 P1(e,t,n){return new e({type:"enum",entries:t,...w(n)})}function T1(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 A1(e,t){return new e({type:"transform",transform:t})}function O1(e,t){return new e({type:"optional",innerType:t})}function j1(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 C1(e,t){return new e({type:"success",innerType:t})}function N1(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}function D1(e,t,n){return new e({type:"pipe",in:t,out:n})}function q1(e,t){return new e({type:"readonly",innerType:t})}function U1(e,t,n){return new e({type:"template_literal",parts:t,...w(n)})}function L1(e,t){return new e({type:"lazy",getter:t})}function M1(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(g=>typeof g=="string"?g.toLowerCase():g),r=r.map(g=>typeof g=="string"?g.toLowerCase():g));let i=new Set(o),a=new Set(r),s=e.Pipe??Mn,c=e.Boolean??qn,l=e.String??Wt,m=e.Transform??Ln,u=new m({type:"transform",transform:(g,x)=>{let $=g;return n.case!=="sensitive"&&($=$.toLowerCase()),i.has($)?!0:a.has($)?!1:(x.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...a],input:x.value,inst:u}),{})},error:n.error}),h=new s({type:"pipe",in:new l({type:"string",error:n.error}),out:u,error:n.error});return new s({type:"pipe",in:h,out:new c({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=O(()=>{hi();Zn();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(Ft,e?.input):e?.input??Hn(Un,br(vr)),output:e?.output??br(vr)})}var Qi,Cv=O(()=>{dp();pi();Zn();Zn();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?Rn(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?Rn(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 Ft({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 Vn(t),r={};for(let s of e._idmap.entries()){let[c,l]=s;o.process(l)}let i={},a={registry:e,uri:t?.uri,defs:r};for(let s of e._idmap.entries()){let[c,l]=s;i[c]=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 Vn(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 Vn,Nv=O(()=>{Ol();N();Vn=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 c=t._zod.toJSONSchema?.();if(c)s.schema=c;else{let u={...n,schemaPath:[...n.schemaPath,t],path:n.path},h=t._zod.parent;if(h)s.ref=h,this.process(h,u),this.seen.get(h).isParent=!0;else{let v=s.schema;switch(r.type){case"string":{let g=v;g.type="string";let{minimum:x,maximum:$,format:k,patterns:b,contentEncoding:z}=t._zod.bag;if(typeof x=="number"&&(g.minLength=x),typeof $=="number"&&(g.maxLength=$),k&&(g.format=i[k]??k,g.format===""&&delete g.format),z&&(g.contentEncoding=z),b&&b.size>0){let j=[...b];j.length===1?g.pattern=j[0].source:j.length>1&&(s.schema.allOf=[...j.map(W=>({...this.target==="draft-7"?{type:"string"}:{},pattern:W.source}))])}break}case"number":{let g=v,{minimum:x,maximum:$,format:k,multipleOf:b,exclusiveMaximum:z,exclusiveMinimum:j}=t._zod.bag;typeof k=="string"&&k.includes("int")?g.type="integer":g.type="number",typeof j=="number"&&(g.exclusiveMinimum=j),typeof x=="number"&&(g.minimum=x,typeof j=="number"&&(j>=x?delete g.minimum:delete g.exclusiveMinimum)),typeof z=="number"&&(g.exclusiveMaximum=z),typeof $=="number"&&(g.maximum=$,typeof z=="number"&&(z<=$?delete g.maximum:delete g.exclusiveMaximum)),typeof b=="number"&&(g.multipleOf=b);break}case"boolean":{let g=v;g.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 g=v,{minimum:x,maximum:$}=t._zod.bag;typeof x=="number"&&(g.minItems=x),typeof $=="number"&&(g.maxItems=$),g.type="array",g.items=this.process(r.element,{...u,path:[...u.path,"items"]});break}case"object":{let g=v;g.type="object",g.properties={};let x=r.shape;for(let b in x)g.properties[b]=this.process(x[b],{...u,path:[...u.path,"properties",b]});let $=new Set(Object.keys(x)),k=new Set([...$].filter(b=>{let z=r.shape[b]._zod;return this.io==="input"?z.optin===void 0:z.optout===void 0}));k.size>0&&(g.required=Array.from(k)),r.catchall?._zod.def.type==="never"?g.additionalProperties=!1:r.catchall?r.catchall&&(g.additionalProperties=this.process(r.catchall,{...u,path:[...u.path,"additionalProperties"]})):this.io==="output"&&(g.additionalProperties=!1);break}case"union":{let g=v;g.anyOf=r.options.map((x,$)=>this.process(x,{...u,path:[...u.path,"anyOf",$]}));break}case"intersection":{let g=v,x=this.process(r.left,{...u,path:[...u.path,"allOf",0]}),$=this.process(r.right,{...u,path:[...u.path,"allOf",1]}),k=z=>"allOf"in z&&Object.keys(z).length===1,b=[...k(x)?x.allOf:[x],...k($)?$.allOf:[$]];g.allOf=b;break}case"tuple":{let g=v;g.type="array";let x=r.items.map((b,z)=>this.process(b,{...u,path:[...u.path,"prefixItems",z]}));if(this.target==="draft-2020-12"?g.prefixItems=x:g.items=x,r.rest){let b=this.process(r.rest,{...u,path:[...u.path,"items"]});this.target==="draft-2020-12"?g.items=b:g.additionalItems=b}r.rest&&(g.items=this.process(r.rest,{...u,path:[...u.path,"items"]}));let{minimum:$,maximum:k}=t._zod.bag;typeof $=="number"&&(g.minItems=$),typeof k=="number"&&(g.maxItems=k);break}case"record":{let g=v;g.type="object",g.propertyNames=this.process(r.keyType,{...u,path:[...u.path,"propertyNames"]}),g.additionalProperties=this.process(r.valueType,{...u,path:[...u.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 g=v,x=In(r.entries);x.every($=>typeof $=="number")&&(g.type="number"),x.every($=>typeof $=="string")&&(g.type="string"),g.enum=x;break}case"literal":{let g=v,x=[];for(let $ of r.values)if($===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof $=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");x.push(Number($))}else x.push($);if(x.length!==0)if(x.length===1){let $=x[0];g.type=$===null?"null":typeof $,g.const=$}else x.every($=>typeof $=="number")&&(g.type="number"),x.every($=>typeof $=="string")&&(g.type="string"),x.every($=>typeof $=="boolean")&&(g.type="string"),x.every($=>$===null)&&(g.type="null"),g.enum=x;break}case"file":{let g=v,x={type:"string",format:"binary",contentEncoding:"binary"},{minimum:$,maximum:k,mime:b}=t._zod.bag;$!==void 0&&(x.minLength=$),k!==void 0&&(x.maxLength=k),b?b.length===1?(x.contentMediaType=b[0],Object.assign(g,x)):g.anyOf=b.map(z=>({...x,contentMediaType:z})):Object.assign(g,x);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let g=this.process(r.innerType,u);v.anyOf=[g,{type:"null"}];break}case"nonoptional":{this.process(r.innerType,u),s.ref=r.innerType;break}case"success":{let g=v;g.type="boolean";break}case"default":{this.process(r.innerType,u),s.ref=r.innerType,v.default=JSON.parse(JSON.stringify(r.defaultValue));break}case"prefault":{this.process(r.innerType,u),s.ref=r.innerType,this.io==="input"&&(v._prefault=JSON.parse(JSON.stringify(r.defaultValue)));break}case"catch":{this.process(r.innerType,u),s.ref=r.innerType;let g;try{g=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}v.default=g;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let g=v,x=t._zod.pattern;if(!x)throw new Error("Pattern not found in template literal");g.type="string",g.pattern=x.source;break}case"pipe":{let g=this.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;this.process(g,u),s.ref=g;break}case"readonly":{this.process(r.innerType,u),s.ref=r.innerType,v.readOnly=!0;break}case"promise":{this.process(r.innerType,u),s.ref=r.innerType;break}case"optional":{this.process(r.innerType,u),s.ref=r.innerType;break}case"lazy":{let g=t._zod.innerType;this.process(g,u),s.ref=g;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 u=this.target==="draft-2020-12"?"$defs":"definitions";if(o.external){let x=o.external.registry.get(m[0])?.id,$=o.external.uri??(b=>b);if(x)return{ref:$(x)};let k=m[1].defId??m[1].schema.id??`schema${this.counter++}`;return m[1].defId=k,{defId:k,ref:`${$("__shared")}#/${u}/${k}`}}if(m[1]===r)return{ref:"#"};let v=`#/${u}/`,g=m[1].schema.id??`__schema${this.counter++}`;return{defId:g,ref:v+g}},a=m=>{if(m[1].schema.$ref)return;let u=m[1],{ref:h,defId:v}=i(m);u.def={...u.schema},v&&(u.defId=v);let g=u.schema;for(let x in g)delete g[x];g.$ref=h};if(o.cycles==="throw")for(let m of this.seen.entries()){let u=m[1];if(u.cycle)throw new Error(`Cycle detected: #/${u.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 u=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(u.cycle){a(m);continue}if(u.count>1&&o.reused==="ref"){a(m);continue}}let s=(m,u)=>{let h=this.seen.get(m),v=h.def??h.schema,g={...v};if(h.ref===null)return;let x=h.ref;if(h.ref=null,x){s(x,u);let $=this.seen.get(x).schema;$.$ref&&u.target==="draft-7"?(v.allOf=v.allOf??[],v.allOf.push($)):(Object.assign(v,$),Object.assign(v,g))}h.isParent||this.override({zodSchema:m,jsonSchema:v,path:h.path??[]})};for(let m of[...this.seen.entries()].reverse())s(m[0],{target:this.target});let c={};if(this.target==="draft-2020-12"?c.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?c.$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");c.$id=o.external.uri(m)}Object.assign(c,r.def);let l=o.external?.defs??{};for(let m of this.seen.entries()){let u=m[1];u.def&&u.defId&&(l[u.defId]=u.def)}o.external||Object.keys(l).length>0&&(this.target==="draft-2020-12"?c.$defs=l:c.definitions=l);try{return JSON.parse(JSON.stringify(c))}catch{throw new Error("Error converting schema to JSON.")}}}});var Dv={};var qv=O(()=>{});var ut={};$t(ut,{$ZodAny:()=>nl,$ZodArray:()=>Un,$ZodAsyncError:()=>ot,$ZodBase64:()=>Bc,$ZodBase64URL:()=>Gc,$ZodBigInt:()=>bi,$ZodBigIntFormat:()=>Xc,$ZodBoolean:()=>qn,$ZodCIDRv4:()=>Fc,$ZodCIDRv6:()=>Hc,$ZodCUID:()=>Ec,$ZodCUID2:()=>Rc,$ZodCatch:()=>$l,$ZodCheck:()=>pe,$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:()=>En,$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:()=>Mn,$ZodPrefault:()=>yl,$ZodPromise:()=>zl,$ZodReadonly:()=>kl,$ZodRealError:()=>dr,$ZodRecord:()=>ll,$ZodRegistry:()=>yr,$ZodSet:()=>dl,$ZodString:()=>Wt,$ZodStringFormat:()=>te,$ZodSuccess:()=>xl,$ZodSymbol:()=>el,$ZodTemplateLiteral:()=>wl,$ZodTransform:()=>Ln,$ZodTuple:()=>Ft,$ZodType:()=>q,$ZodULID:()=>Cc,$ZodURL:()=>Ac,$ZodUUID:()=>Pc,$ZodUndefined:()=>tl,$ZodUnion:()=>xi,$ZodUnknown:()=>vr,$ZodVoid:()=>il,$ZodXID:()=>Nc,$brand:()=>ni,$constructor:()=>_,$input:()=>ki,$output:()=>Si,Doc:()=>Dn,JSONSchema:()=>Dv,JSONSchemaGenerator:()=>Vn,NEVER:()=>ri,TimePrecision:()=>Vi,_any:()=>ep,_array:()=>Hn,_base64:()=>Zi,_base64url:()=>Wi,_bigint:()=>Bl,_boolean:()=>Hl,_catch:()=>N1,_cidrv4:()=>Li,_cidrv6:()=>Mi,_coercedBigint:()=>Gl,_coercedBoolean:()=>Vl,_coercedDate:()=>op,_coercedNumber:()=>Ul,_coercedString:()=>El,_cuid:()=>Ei,_cuid2:()=>Ri,_custom:()=>up,_date:()=>np,_default:()=>E1,_discriminatedUnion:()=>$1,_e164:()=>Fi,_email:()=>wi,_emoji:()=>Oi,_endsWith:()=>Ir,_enum:()=>I1,_file:()=>sp,_float32:()=>Ml,_float64:()=>Zl,_gt:()=>at,_gte:()=>Ce,_guid:()=>Fn,_includes:()=>wr,_int:()=>Ll,_int32:()=>Wl,_int64:()=>Jl,_intersection:()=>S1,_ipv4:()=>qi,_ipv6:()=>Ui,_isoDate:()=>Cl,_isoDateTime:()=>Rl,_isoDuration:()=>Dl,_isoTime:()=>Nl,_jwt:()=>Hi,_ksuid:()=>Di,_lazy:()=>L1,_length:()=>Bt,_literal:()=>T1,_lowercase:()=>Sr,_lt:()=>it,_lte:()=>He,_map:()=>w1,_max:()=>He,_maxLength:()=>Vt,_maxSize:()=>Ht,_mime:()=>Pr,_min:()=>Ce,_minLength:()=>ht,_minSize:()=>Pt,_multipleOf:()=>It,_nan:()=>ip,_nanoid:()=>ji,_nativeEnum:()=>P1,_negative:()=>Gi,_never:()=>tp,_nonnegative:()=>Ki,_nonoptional:()=>R1,_nonpositive:()=>Ji,_normalize:()=>Tr,_null:()=>Xl,_nullable:()=>j1,_number:()=>ql,_optional:()=>O1,_overwrite:()=>st,_parse:()=>si,_parseAsync:()=>ui,_pipe:()=>D1,_positive:()=>Bi,_promise:()=>M1,_property:()=>Yi,_readonly:()=>q1,_record:()=>k1,_refine:()=>cp,_regex:()=>$r,_safeParse:()=>ci,_safeParseAsync:()=>li,_set:()=>z1,_size:()=>xr,_startsWith:()=>zr,_string:()=>jl,_stringFormat:()=>pp,_stringbool:()=>lp,_success:()=>C1,_symbol:()=>Yl,_templateLiteral:()=>U1,_toLowerCase:()=>Or,_toUpperCase:()=>jr,_transform:()=>A1,_trim:()=>Ar,_tuple:()=>ap,_uint32:()=>Fl,_uint64:()=>Kl,_ulid:()=>Ci,_undefined:()=>Ql,_union:()=>x1,_unknown:()=>br,_uppercase:()=>kr,_url:()=>Ai,_uuid:()=>zi,_uuidv4:()=>Ii,_uuidv6:()=>Pi,_uuidv7:()=>Ti,_void:()=>rp,_xid:()=>Ni,clone:()=>De,config:()=>me,flattenError:()=>mr,formatError:()=>fr,function:()=>Xi,globalConfig:()=>wn,globalRegistry:()=>Qe,isValidBase64:()=>Vc,isValidBase64URL:()=>uh,isValidJWT:()=>ch,locales:()=>_r,parse:()=>Rn,parseAsync:()=>Cn,prettifyError:()=>ai,regexes:()=>zt,registry:()=>Wn,safeParse:()=>gr,safeParseAsync:()=>Nn,toDotPath:()=>Fg,toJSONSchema:()=>ea,treeifyError:()=>ii,util:()=>P,version:()=>kc});var Ue=O(()=>{cr();pi();Tu();Zn();hi();wc();N();mi();Al();Ol();Sc();Cv();dp();Nv();qv()});var mp=O(()=>{Ue()});var Gt={};$t(Gt,{ZodISODate:()=>Gn,ZodISODateTime:()=>Bn,ZodISODuration:()=>Kn,ZodISOTime:()=>Jn,date:()=>gp,datetime:()=>fp,duration:()=>vp,time:()=>hp});function fp(e){return Rl(Bn,e)}function gp(e){return Cl(Gn,e)}function hp(e){return Nl(Jn,e)}function vp(e){return Dl(Kn,e)}var Bn,Gn,Jn,Kn,na=O(()=>{Ue();oa();Bn=_("ZodISODateTime",(e,t)=>{qc.init(e,t),re.init(e,t)});Gn=_("ZodISODate",(e,t)=>{Uc.init(e,t),re.init(e,t)});Jn=_("ZodISOTime",(e,t)=>{Lc.init(e,t),re.init(e,t)});Kn=_("ZodISODuration",(e,t)=>{Mc.init(e,t),re.init(e,t)})});var Zv,Wv,Jt,_p=O(()=>{Ue();Ue();Zv=(e,t)=>{En.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),Jt=_("ZodError",Zv,{Parent:Error})});var ia,aa,sa,ua,yp=O(()=>{Ue();_p();ia=si(Jt),aa=ui(Jt),sa=ci(Jt),ua=li(Jt)});function y(e){return jl(Rr,e)}function Fv(e){return wi(pa,e)}function Hv(e){return Fn(Yn,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 Ei(ga,e)}function e_(e){return Ri(ha,e)}function t_(e){return Ci(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(Cr,e)}function ca(e){return Ll(Kt,e)}function m_(e){return Ml(Kt,e)}function f_(e){return Zl(Kt,e)}function g_(e){return Wl(Kt,e)}function h_(e){return Fl(Kt,e)}function fe(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 eo(e){return Xl(Sp,e)}function $_(){return ep(kp)}function oe(){return br(wp)}function to(e){return tp(zp,e)}function S_(e){return rp(Ip,e)}function k_(e){return np(ro,e)}function Z(e,t){return Hn(Pp,e,t)}function w_(e){let t=e._zod.def.shape;return R(Object.keys(t))}function T(e,t){let n={type:"object",get shape(){return P.assignProp(this,"shape",{...e}),this.shape},...P.normalizeParams(t)};return new no(n)}function z_(e,t){return new no({type:"object",get shape(){return P.assignProp(this,"shape",{...e}),this.shape},catchall:to(),...P.normalizeParams(t)})}function ke(e,t){return new no({type:"object",get shape(){return P.assignProp(this,"shape",{...e}),this.shape},catchall:oe(),...P.normalizeParams(t)})}function Q(e,t){return new Ta({type:"union",options:e,...P.normalizeParams(t)})}function oo(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,to()]),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 Ep({type:"set",valueType:e,...P.normalizeParams(t)})}function Te(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Er({type:"enum",entries:n,...P.normalizeParams(t)})}function O_(e,t){return new Er({type:"enum",entries:e,...P.normalizeParams(t)})}function R(e,t){return new Rp({type:"literal",values:Array.isArray(e)?e:[e],...P.normalizeParams(t)})}function j_(e){return sp(Cp,e)}function ja(e){return new Oa({type:"transform",transform:e})}function ne(e){return new Ea({type:"optional",innerType:e})}function Qn(e){return new Np({type:"nullable",innerType:e})}function E_(e){return ne(Qn(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 Ra({type:"nonoptional",innerType:e,...P.normalizeParams(t)})}function R_(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 C_(e){return ip(Hp,e)}function Xn(e,t){return new Ca({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 pe({check:"custom"});return t._zod.check=e,t}function Na(e,t){return up(io,e??(()=>!0),t)}function Xp(e,t={}){return cp(io,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 io({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(),fe(),eo(),Z(t),X(y(),t)]));return t}function ao(e,t){return Xn(ja(e),t)}var L,la,Rr,re,pa,Yn,ct,da,ma,fa,ga,ha,va,_a,ya,ba,xa,$a,Sa,ka,wa,za,Ia,bp,Cr,Kt,Nr,Dr,Pa,xp,$p,Sp,kp,wp,zp,Ip,ro,Pp,no,Ta,Tp,Ap,Op,Aa,jp,Ep,Er,Rp,Cp,Oa,Ea,Np,Dp,Up,Ra,Zp,Wp,Hp,Ca,Vp,Gp,Jp,Yp,io,U_,oa=O(()=>{Ue();Ue();mp();na();yp();L=_("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=()=>ne(e),e.nullable=()=>Qn(e),e.nullish=()=>ne(Qn(e)),e.nonoptional=n=>Mp(e,n),e.array=()=>Z(e),e.or=n=>Q([e,n]),e.and=n=>qr(e,n),e.transform=n=>Xn(e,ja(n)),e.default=n=>qp(e,n),e.prefault=n=>Lp(e,n),e.catch=n=>Fp(e,n),e.pipe=n=>Xn(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)=>{Wt.init(e,t),L.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(Vt(...o)),e.length=(...o)=>e.check(Bt(...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())}),Rr=_("ZodString",(e,t)=>{Wt.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(Fn(Yn,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(Fn(Yn,n)),e.cuid=n=>e.check(Ei(ga,n)),e.cuid2=n=>e.check(Ri(ha,n)),e.ulid=n=>e.check(Ci(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))});re=_("ZodStringFormat",(e,t)=>{te.init(e,t),la.init(e,t)}),pa=_("ZodEmail",(e,t)=>{Tc.init(e,t),re.init(e,t)});Yn=_("ZodGUID",(e,t)=>{Ic.init(e,t),re.init(e,t)});ct=_("ZodUUID",(e,t)=>{Pc.init(e,t),re.init(e,t)});da=_("ZodURL",(e,t)=>{Ac.init(e,t),re.init(e,t)});ma=_("ZodEmoji",(e,t)=>{Oc.init(e,t),re.init(e,t)});fa=_("ZodNanoID",(e,t)=>{jc.init(e,t),re.init(e,t)});ga=_("ZodCUID",(e,t)=>{Ec.init(e,t),re.init(e,t)});ha=_("ZodCUID2",(e,t)=>{Rc.init(e,t),re.init(e,t)});va=_("ZodULID",(e,t)=>{Cc.init(e,t),re.init(e,t)});_a=_("ZodXID",(e,t)=>{Nc.init(e,t),re.init(e,t)});ya=_("ZodKSUID",(e,t)=>{Dc.init(e,t),re.init(e,t)});ba=_("ZodIPv4",(e,t)=>{Zc.init(e,t),re.init(e,t)});xa=_("ZodIPv6",(e,t)=>{Wc.init(e,t),re.init(e,t)});$a=_("ZodCIDRv4",(e,t)=>{Fc.init(e,t),re.init(e,t)});Sa=_("ZodCIDRv6",(e,t)=>{Hc.init(e,t),re.init(e,t)});ka=_("ZodBase64",(e,t)=>{Bc.init(e,t),re.init(e,t)});wa=_("ZodBase64URL",(e,t)=>{Gc.init(e,t),re.init(e,t)});za=_("ZodE164",(e,t)=>{Jc.init(e,t),re.init(e,t)});Ia=_("ZodJWT",(e,t)=>{Kc.init(e,t),re.init(e,t)});bp=_("ZodCustomStringFormat",(e,t)=>{Yc.init(e,t),re.init(e,t)});Cr=_("ZodNumber",(e,t)=>{yi.init(e,t),L.init(e,t),e.gt=(o,r)=>e.check(at(o,r)),e.gte=(o,r)=>e.check(Ce(o,r)),e.min=(o,r)=>e.check(Ce(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(Ce(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});Kt=_("ZodNumberFormat",(e,t)=>{Qc.init(e,t),Cr.init(e,t)});Nr=_("ZodBoolean",(e,t)=>{qn.init(e,t),L.init(e,t)});Dr=_("ZodBigInt",(e,t)=>{bi.init(e,t),L.init(e,t),e.gte=(o,r)=>e.check(Ce(o,r)),e.min=(o,r)=>e.check(Ce(o,r)),e.gt=(o,r)=>e.check(at(o,r)),e.gte=(o,r)=>e.check(Ce(o,r)),e.min=(o,r)=>e.check(Ce(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(Ce(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),L.init(e,t)});$p=_("ZodUndefined",(e,t)=>{tl.init(e,t),L.init(e,t)});Sp=_("ZodNull",(e,t)=>{rl.init(e,t),L.init(e,t)});kp=_("ZodAny",(e,t)=>{nl.init(e,t),L.init(e,t)});wp=_("ZodUnknown",(e,t)=>{vr.init(e,t),L.init(e,t)});zp=_("ZodNever",(e,t)=>{ol.init(e,t),L.init(e,t)});Ip=_("ZodVoid",(e,t)=>{il.init(e,t),L.init(e,t)});ro=_("ZodDate",(e,t)=>{al.init(e,t),L.init(e,t),e.min=(o,r)=>e.check(Ce(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)=>{Un.init(e,t),L.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(Vt(n,o)),e.length=(n,o)=>e.check(Bt(n,o)),e.unwrap=()=>e.element});no=_("ZodObject",(e,t)=>{sl.init(e,t),L.init(e,t),P.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>Te(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:oe()}),e.loose=()=>e.clone({...e._zod.def,catchall:oe()}),e.strict=()=>e.clone({...e._zod.def,catchall:to()}),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(Ea,e,n[0]),e.required=(...n)=>P.required(Ra,e,n[0])});Ta=_("ZodUnion",(e,t)=>{xi.init(e,t),L.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),L.init(e,t)});Op=_("ZodTuple",(e,t)=>{Ft.init(e,t),L.init(e,t),e.rest=n=>e.clone({...e._zod.def,rest:n})});Aa=_("ZodRecord",(e,t)=>{ll.init(e,t),L.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});jp=_("ZodMap",(e,t)=>{pl.init(e,t),L.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});Ep=_("ZodSet",(e,t)=>{dl.init(e,t),L.init(e,t),e.min=(...n)=>e.check(Pt(...n)),e.nonempty=n=>e.check(Pt(1,n)),e.max=(...n)=>e.check(Ht(...n)),e.size=(...n)=>e.check(xr(...n))});Er=_("ZodEnum",(e,t)=>{ml.init(e,t),L.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 Er({...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 Er({...t,checks:[],...P.normalizeParams(r),entries:i})}});Rp=_("ZodLiteral",(e,t)=>{fl.init(e,t),L.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]}})});Cp=_("ZodFile",(e,t)=>{gl.init(e,t),L.init(e,t),e.min=(n,o)=>e.check(Pt(n,o)),e.max=(n,o)=>e.check(Ht(n,o)),e.mime=(n,o)=>e.check(Pr(Array.isArray(n)?n:[n],o))});Oa=_("ZodTransform",(e,t)=>{Ln.init(e,t),L.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)}});Ea=_("ZodOptional",(e,t)=>{hl.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});Np=_("ZodNullable",(e,t)=>{vl.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});Dp=_("ZodDefault",(e,t)=>{_l.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});Up=_("ZodPrefault",(e,t)=>{yl.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});Ra=_("ZodNonOptional",(e,t)=>{bl.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});Zp=_("ZodSuccess",(e,t)=>{xl.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});Wp=_("ZodCatch",(e,t)=>{$l.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});Hp=_("ZodNaN",(e,t)=>{Sl.init(e,t),L.init(e,t)});Ca=_("ZodPipe",(e,t)=>{Mn.init(e,t),L.init(e,t),e.in=t.in,e.out=t.out});Vp=_("ZodReadonly",(e,t)=>{kl.init(e,t),L.init(e,t)});Gp=_("ZodTemplateLiteral",(e,t)=>{wl.init(e,t),L.init(e,t)});Jp=_("ZodLazy",(e,t)=>{Il.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.getter()});Yp=_("ZodPromise",(e,t)=>{zl.init(e,t),L.init(e,t),e.unwrap=()=>e._zod.def.innerType});io=_("ZodCustom",(e,t)=>{Pl.init(e,t),L.init(e,t)});U_=(...e)=>lp({Pipe:Ca,Boolean:Nr,String:Rr,Transform:Oa},...e)});function Z_(e){me({customError:e})}function W_(){return me().customError}var M_,F_=O(()=>{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:()=>B1,boolean:()=>V1,date:()=>G1,number:()=>H1,string:()=>F1});function F1(e){return El(Rr,e)}function H1(e){return Ul(Cr,e)}function V1(e){return Vl(Nr,e)}function B1(e){return Gl(Dr,e)}function G1(e){return op(ro,e)}var H_=O(()=>{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:()=>io,ZodCustomStringFormat:()=>bp,ZodDate:()=>ro,ZodDefault:()=>Dp,ZodDiscriminatedUnion:()=>Tp,ZodE164:()=>za,ZodEmail:()=>pa,ZodEmoji:()=>ma,ZodEnum:()=>Er,ZodError:()=>Wv,ZodFile:()=>Cp,ZodGUID:()=>Yn,ZodIPv4:()=>ba,ZodIPv6:()=>xa,ZodISODate:()=>Gn,ZodISODateTime:()=>Bn,ZodISODuration:()=>Kn,ZodISOTime:()=>Jn,ZodIntersection:()=>Ap,ZodIssueCode:()=>M_,ZodJWT:()=>Ia,ZodKSUID:()=>ya,ZodLazy:()=>Jp,ZodLiteral:()=>Rp,ZodMap:()=>jp,ZodNaN:()=>Hp,ZodNanoID:()=>fa,ZodNever:()=>zp,ZodNonOptional:()=>Ra,ZodNull:()=>Sp,ZodNullable:()=>Np,ZodNumber:()=>Cr,ZodNumberFormat:()=>Kt,ZodObject:()=>no,ZodOptional:()=>Ea,ZodPipe:()=>Ca,ZodPrefault:()=>Up,ZodPromise:()=>Yp,ZodReadonly:()=>Vp,ZodRealError:()=>Jt,ZodRecord:()=>Aa,ZodSet:()=>Ep,ZodString:()=>Rr,ZodStringFormat:()=>re,ZodSuccess:()=>Zp,ZodSymbol:()=>xp,ZodTemplateLiteral:()=>Gp,ZodTransform:()=>Oa,ZodTuple:()=>Op,ZodType:()=>L,ZodULID:()=>va,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>$p,ZodUnion:()=>Ta,ZodUnknown:()=>wp,ZodVoid:()=>Ip,ZodXID:()=>_a,_ZodString:()=>la,_default:()=>qp,any:()=>$_,array:()=>Z,base64:()=>u_,base64url:()=>c_,bigint:()=>v_,boolean:()=>fe,catch:()=>Fp,check:()=>Qp,cidrv4:()=>a_,cidrv6:()=>s_,clone:()=>De,coerce:()=>Da,config:()=>me,core:()=>ut,cuid:()=>Xv,cuid2:()=>e_,custom:()=>Na,date:()=>k_,discriminatedUnion:()=>oo,e164:()=>l_,email:()=>Fv,emoji:()=>Yv,endsWith:()=>Ir,enum:()=>Te,file:()=>j_,flattenError:()=>mr,float32:()=>m_,float64:()=>f_,formatError:()=>fr,function:()=>Xi,getErrorMap:()=>W_,globalRegistry:()=>Qe,gt:()=>at,gte:()=>Ce,guid:()=>Hv,includes:()=>wr,instanceof:()=>q_,int:()=>ca,int32:()=>g_,int64:()=>__,intersection:()=>qr,ipv4:()=>o_,ipv6:()=>i_,iso:()=>Gt,json:()=>L_,jwt:()=>p_,keyof:()=>w_,ksuid:()=>n_,lazy:()=>Kp,length:()=>Bt,literal:()=>R,locales:()=>_r,looseObject:()=>ke,lowercase:()=>Sr,lt:()=>it,lte:()=>He,map:()=>T_,maxLength:()=>Vt,maxSize:()=>Ht,mime:()=>Pr,minLength:()=>ht,minSize:()=>Pt,multipleOf:()=>It,nan:()=>C_,nanoid:()=>Qv,nativeEnum:()=>O_,negative:()=>Gi,never:()=>to,nonnegative:()=>Ki,nonoptional:()=>Mp,nonpositive:()=>Ji,normalize:()=>Tr,null:()=>eo,nullable:()=>Qn,nullish:()=>E_,number:()=>B,object:()=>T,optional:()=>ne,overwrite:()=>st,parse:()=>ia,parseAsync:()=>aa,partialRecord:()=>P_,pipe:()=>Xn,positive:()=>Bi,prefault:()=>Lp,preprocess:()=>ao,prettifyError:()=>ai,promise:()=>D_,property:()=>Yi,readonly:()=>Bp,record:()=>X,refine:()=>Xp,regex:()=>$r,regexes:()=>zt,registry:()=>Wn,safeParse:()=>sa,safeParseAsync:()=>ua,set:()=>A_,setErrorMap:()=>Z_,size:()=>xr,startsWith:()=>zr,strictObject:()=>z_,string:()=>y,stringFormat:()=>d_,stringbool:()=>U_,success:()=>R_,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:()=>oe,uppercase:()=>kr,url:()=>Kv,uuid:()=>Vv,uuidv4:()=>Bv,uuidv6:()=>Gv,uuidv7:()=>Jv,void:()=>S_,xid:()=>r_});var td=O(()=>{Ue();oa();mp();_p();yp();F_();Ue();Tl();Ue();Al();na();na();H_();me($i())});var V_,rd=O(()=>{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:()=>io,ZodCustomStringFormat:()=>bp,ZodDate:()=>ro,ZodDefault:()=>Dp,ZodDiscriminatedUnion:()=>Tp,ZodE164:()=>za,ZodEmail:()=>pa,ZodEmoji:()=>ma,ZodEnum:()=>Er,ZodError:()=>Wv,ZodFile:()=>Cp,ZodGUID:()=>Yn,ZodIPv4:()=>ba,ZodIPv6:()=>xa,ZodISODate:()=>Gn,ZodISODateTime:()=>Bn,ZodISODuration:()=>Kn,ZodISOTime:()=>Jn,ZodIntersection:()=>Ap,ZodIssueCode:()=>M_,ZodJWT:()=>Ia,ZodKSUID:()=>ya,ZodLazy:()=>Jp,ZodLiteral:()=>Rp,ZodMap:()=>jp,ZodNaN:()=>Hp,ZodNanoID:()=>fa,ZodNever:()=>zp,ZodNonOptional:()=>Ra,ZodNull:()=>Sp,ZodNullable:()=>Np,ZodNumber:()=>Cr,ZodNumberFormat:()=>Kt,ZodObject:()=>no,ZodOptional:()=>Ea,ZodPipe:()=>Ca,ZodPrefault:()=>Up,ZodPromise:()=>Yp,ZodReadonly:()=>Vp,ZodRealError:()=>Jt,ZodRecord:()=>Aa,ZodSet:()=>Ep,ZodString:()=>Rr,ZodStringFormat:()=>re,ZodSuccess:()=>Zp,ZodSymbol:()=>xp,ZodTemplateLiteral:()=>Gp,ZodTransform:()=>Oa,ZodTuple:()=>Op,ZodType:()=>L,ZodULID:()=>va,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>$p,ZodUnion:()=>Ta,ZodUnknown:()=>wp,ZodVoid:()=>Ip,ZodXID:()=>_a,_ZodString:()=>la,_default:()=>qp,any:()=>$_,array:()=>Z,base64:()=>u_,base64url:()=>c_,bigint:()=>v_,boolean:()=>fe,catch:()=>Fp,check:()=>Qp,cidrv4:()=>a_,cidrv6:()=>s_,clone:()=>De,coerce:()=>Da,config:()=>me,core:()=>ut,cuid:()=>Xv,cuid2:()=>e_,custom:()=>Na,date:()=>k_,default:()=>J1,discriminatedUnion:()=>oo,e164:()=>l_,email:()=>Fv,emoji:()=>Yv,endsWith:()=>Ir,enum:()=>Te,file:()=>j_,flattenError:()=>mr,float32:()=>m_,float64:()=>f_,formatError:()=>fr,function:()=>Xi,getErrorMap:()=>W_,globalRegistry:()=>Qe,gt:()=>at,gte:()=>Ce,guid:()=>Hv,includes:()=>wr,instanceof:()=>q_,int:()=>ca,int32:()=>g_,int64:()=>__,intersection:()=>qr,ipv4:()=>o_,ipv6:()=>i_,iso:()=>Gt,json:()=>L_,jwt:()=>p_,keyof:()=>w_,ksuid:()=>n_,lazy:()=>Kp,length:()=>Bt,literal:()=>R,locales:()=>_r,looseObject:()=>ke,lowercase:()=>Sr,lt:()=>it,lte:()=>He,map:()=>T_,maxLength:()=>Vt,maxSize:()=>Ht,mime:()=>Pr,minLength:()=>ht,minSize:()=>Pt,multipleOf:()=>It,nan:()=>C_,nanoid:()=>Qv,nativeEnum:()=>O_,negative:()=>Gi,never:()=>to,nonnegative:()=>Ki,nonoptional:()=>Mp,nonpositive:()=>Ji,normalize:()=>Tr,null:()=>eo,nullable:()=>Qn,nullish:()=>E_,number:()=>B,object:()=>T,optional:()=>ne,overwrite:()=>st,parse:()=>ia,parseAsync:()=>aa,partialRecord:()=>P_,pipe:()=>Xn,positive:()=>Bi,prefault:()=>Lp,preprocess:()=>ao,prettifyError:()=>ai,promise:()=>D_,property:()=>Yi,readonly:()=>Bp,record:()=>X,refine:()=>Xp,regex:()=>$r,regexes:()=>zt,registry:()=>Wn,safeParse:()=>sa,safeParseAsync:()=>ua,set:()=>A_,setErrorMap:()=>Z_,size:()=>xr,startsWith:()=>zr,strictObject:()=>z_,string:()=>y,stringFormat:()=>d_,stringbool:()=>U_,success:()=>R_,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:()=>oe,uppercase:()=>kr,url:()=>Kv,uuid:()=>Vv,uuidv4:()=>Bv,uuidv6:()=>Gv,uuidv7:()=>Jv,void:()=>S_,xid:()=>r_,z:()=>d});var J1,so=O(()=>{rd();rd();J1=V_});var $o=p((ete,Iy)=>{var lR=Object.prototype;function pR(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||lR;return e===n}Iy.exports=pR});var Pd=p((tte,Py)=>{function dR(e,t){return function(n){return e(t(n))}}Py.exports=dR});var Ay=p((rte,Ty)=>{var mR=Pd(),fR=mR(Object.keys,Object);Ty.exports=fR});var ns=p((nte,Oy)=>{var gR=$o(),hR=Ay(),vR=Object.prototype,_R=vR.hasOwnProperty;function yR(e){if(!gR(e))return hR(e);var t=[];for(var n in Object(e))_R.call(e,n)&&n!="constructor"&&t.push(n);return t}Oy.exports=yR});var Td=p((ote,jy)=>{var bR=typeof global=="object"&&global&&global.Object===Object&&global;jy.exports=bR});var Ae=p((ite,Ey)=>{var xR=Td(),$R=typeof self=="object"&&self&&self.Object===Object&&self,SR=xR||$R||Function("return this")();Ey.exports=SR});var Yt=p((ate,Ry)=>{var kR=Ae(),wR=kR.Symbol;Ry.exports=wR});var qy=p((ste,Dy)=>{var Cy=Yt(),Ny=Object.prototype,zR=Ny.hasOwnProperty,IR=Ny.toString,So=Cy?Cy.toStringTag:void 0;function PR(e){var t=zR.call(e,So),n=e[So];try{e[So]=void 0;var o=!0}catch{}var r=IR.call(e);return o&&(t?e[So]=n:delete e[So]),r}Dy.exports=PR});var Ly=p((ute,Uy)=>{var TR=Object.prototype,AR=TR.toString;function OR(e){return AR.call(e)}Uy.exports=OR});var _t=p((cte,Wy)=>{var My=Yt(),jR=qy(),ER=Ly(),RR="[object Null]",CR="[object Undefined]",Zy=My?My.toStringTag:void 0;function NR(e){return e==null?e===void 0?CR:RR:Zy&&Zy in Object(e)?jR(e):ER(e)}Wy.exports=NR});var Le=p((lte,Fy)=>{function DR(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Fy.exports=DR});var Gr=p((pte,Hy)=>{var qR=_t(),UR=Le(),LR="[object AsyncFunction]",MR="[object Function]",ZR="[object GeneratorFunction]",WR="[object Proxy]";function FR(e){if(!UR(e))return!1;var t=qR(e);return t==MR||t==ZR||t==LR||t==WR}Hy.exports=FR});var By=p((dte,Vy)=>{var HR=Ae(),VR=HR["__core-js_shared__"];Vy.exports=VR});var Ky=p((mte,Jy)=>{var Ad=By(),Gy=(function(){var e=/[^.]+$/.exec(Ad&&Ad.keys&&Ad.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function BR(e){return!!Gy&&Gy in e}Jy.exports=BR});var Od=p((fte,Yy)=>{var GR=Function.prototype,JR=GR.toString;function KR(e){if(e!=null){try{return JR.call(e)}catch{}try{return e+""}catch{}}return""}Yy.exports=KR});var Xy=p((gte,Qy)=>{var YR=Gr(),QR=Ky(),XR=Le(),eC=Od(),tC=/[\\^$.*+?()[\]{}|]/g,rC=/^\[object .+?Constructor\]$/,nC=Function.prototype,oC=Object.prototype,iC=nC.toString,aC=oC.hasOwnProperty,sC=RegExp("^"+iC.call(aC).replace(tC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function uC(e){if(!XR(e)||QR(e))return!1;var t=YR(e)?sC:rC;return t.test(eC(e))}Qy.exports=uC});var tb=p((hte,eb)=>{function cC(e,t){return e?.[t]}eb.exports=cC});var jt=p((vte,rb)=>{var lC=Xy(),pC=tb();function dC(e,t){var n=pC(e,t);return lC(n)?n:void 0}rb.exports=dC});var ob=p((_te,nb)=>{var mC=jt(),fC=Ae(),gC=mC(fC,"DataView");nb.exports=gC});var os=p((yte,ib)=>{var hC=jt(),vC=Ae(),_C=hC(vC,"Map");ib.exports=_C});var sb=p((bte,ab)=>{var yC=jt(),bC=Ae(),xC=yC(bC,"Promise");ab.exports=xC});var cb=p((xte,ub)=>{var $C=jt(),SC=Ae(),kC=$C(SC,"Set");ub.exports=kC});var jd=p(($te,lb)=>{var wC=jt(),zC=Ae(),IC=wC(zC,"WeakMap");lb.exports=IC});var Et=p((Ste,vb)=>{var Ed=ob(),Rd=os(),Cd=sb(),Nd=cb(),Dd=jd(),hb=_t(),Jr=Od(),pb="[object Map]",PC="[object Object]",db="[object Promise]",mb="[object Set]",fb="[object WeakMap]",gb="[object DataView]",TC=Jr(Ed),AC=Jr(Rd),OC=Jr(Cd),jC=Jr(Nd),EC=Jr(Dd),Qt=hb;(Ed&&Qt(new Ed(new ArrayBuffer(1)))!=gb||Rd&&Qt(new Rd)!=pb||Cd&&Qt(Cd.resolve())!=db||Nd&&Qt(new Nd)!=mb||Dd&&Qt(new Dd)!=fb)&&(Qt=function(e){var t=hb(e),n=t==PC?e.constructor:void 0,o=n?Jr(n):"";if(o)switch(o){case TC:return gb;case AC:return pb;case OC:return db;case jC:return mb;case EC:return fb}return t});vb.exports=Qt});var Me=p((kte,_b)=>{function RC(e){return e!=null&&typeof e=="object"}_b.exports=RC});var bb=p((wte,yb)=>{var CC=_t(),NC=Me(),DC="[object Arguments]";function qC(e){return NC(e)&&CC(e)==DC}yb.exports=qC});var Kr=p((zte,Sb)=>{var xb=bb(),UC=Me(),$b=Object.prototype,LC=$b.hasOwnProperty,MC=$b.propertyIsEnumerable,ZC=xb((function(){return arguments})())?xb:function(e){return UC(e)&&LC.call(e,"callee")&&!MC.call(e,"callee")};Sb.exports=ZC});var ve=p((Ite,kb)=>{var WC=Array.isArray;kb.exports=WC});var is=p((Pte,wb)=>{var FC=9007199254740991;function HC(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=FC}wb.exports=HC});var yt=p((Tte,zb)=>{var VC=Gr(),BC=is();function GC(e){return e!=null&&BC(e.length)&&!VC(e)}zb.exports=GC});var Pb=p((Ate,Ib)=>{function JC(){return!1}Ib.exports=JC});var Qr=p((ko,Yr)=>{var KC=Ae(),YC=Pb(),Ob=typeof ko=="object"&&ko&&!ko.nodeType&&ko,Tb=Ob&&typeof Yr=="object"&&Yr&&!Yr.nodeType&&Yr,QC=Tb&&Tb.exports===Ob,Ab=QC?KC.Buffer:void 0,XC=Ab?Ab.isBuffer:void 0,eN=XC||YC;Yr.exports=eN});var Eb=p((Ote,jb)=>{var tN=_t(),rN=is(),nN=Me(),oN="[object Arguments]",iN="[object Array]",aN="[object Boolean]",sN="[object Date]",uN="[object Error]",cN="[object Function]",lN="[object Map]",pN="[object Number]",dN="[object Object]",mN="[object RegExp]",fN="[object Set]",gN="[object String]",hN="[object WeakMap]",vN="[object ArrayBuffer]",_N="[object DataView]",yN="[object Float32Array]",bN="[object Float64Array]",xN="[object Int8Array]",$N="[object Int16Array]",SN="[object Int32Array]",kN="[object Uint8Array]",wN="[object Uint8ClampedArray]",zN="[object Uint16Array]",IN="[object Uint32Array]",ue={};ue[yN]=ue[bN]=ue[xN]=ue[$N]=ue[SN]=ue[kN]=ue[wN]=ue[zN]=ue[IN]=!0;ue[oN]=ue[iN]=ue[vN]=ue[aN]=ue[_N]=ue[sN]=ue[uN]=ue[cN]=ue[lN]=ue[pN]=ue[dN]=ue[mN]=ue[fN]=ue[gN]=ue[hN]=!1;function PN(e){return nN(e)&&rN(e.length)&&!!ue[tN(e)]}jb.exports=PN});var as=p((jte,Rb)=>{function TN(e){return function(t){return e(t)}}Rb.exports=TN});var ss=p((wo,Xr)=>{var AN=Td(),Cb=typeof wo=="object"&&wo&&!wo.nodeType&&wo,zo=Cb&&typeof Xr=="object"&&Xr&&!Xr.nodeType&&Xr,ON=zo&&zo.exports===Cb,qd=ON&&AN.process,jN=(function(){try{var e=zo&&zo.require&&zo.require("util").types;return e||qd&&qd.binding&&qd.binding("util")}catch{}})();Xr.exports=jN});var Io=p((Ete,qb)=>{var EN=Eb(),RN=as(),Nb=ss(),Db=Nb&&Nb.isTypedArray,CN=Db?RN(Db):EN;qb.exports=CN});var Lb=p((Rte,Ub)=>{var NN=ns(),DN=Et(),qN=Kr(),UN=ve(),LN=yt(),MN=Qr(),ZN=$o(),WN=Io(),FN="[object Map]",HN="[object Set]",VN=Object.prototype,BN=VN.hasOwnProperty;function GN(e){if(e==null)return!0;if(LN(e)&&(UN(e)||typeof e=="string"||typeof e.splice=="function"||MN(e)||WN(e)||qN(e)))return!e.length;var t=DN(e);if(t==FN||t==HN)return!e.size;if(ZN(e))return!NN(e).length;for(var n in e)if(BN.call(e,n))return!1;return!0}Ub.exports=GN});var Ud=p((Cte,Mb)=>{function JN(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}Mb.exports=JN});var Wb=p((Nte,Zb)=>{function KN(e){return function(t){return e?.[t]}}Zb.exports=KN});var Hb=p((Dte,Fb)=>{var YN=Wb(),QN={\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"},XN=YN(QN);Fb.exports=XN});var Po=p((qte,Vb)=>{function eD(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}Vb.exports=eD});var Xt=p((Ute,Bb)=>{var tD=_t(),rD=Me(),nD="[object Symbol]";function oD(e){return typeof e=="symbol"||rD(e)&&tD(e)==nD}Bb.exports=oD});var Ld=p((Lte,Qb)=>{var Gb=Yt(),iD=Po(),aD=ve(),sD=Xt(),uD=1/0,Jb=Gb?Gb.prototype:void 0,Kb=Jb?Jb.toString:void 0;function Yb(e){if(typeof e=="string")return e;if(aD(e))return iD(e,Yb)+"";if(sD(e))return Kb?Kb.call(e):"";var t=e+"";return t=="0"&&1/e==-uD?"-0":t}Qb.exports=Yb});var er=p((Mte,Xb)=>{var cD=Ld();function lD(e){return e==null?"":cD(e)}Xb.exports=lD});var tx=p((Zte,ex)=>{var pD=Hb(),dD=er(),mD=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fD="\\u0300-\\u036f",gD="\\ufe20-\\ufe2f",hD="\\u20d0-\\u20ff",vD=fD+gD+hD,_D="["+vD+"]",yD=RegExp(_D,"g");function bD(e){return e=dD(e),e&&e.replace(mD,pD).replace(yD,"")}ex.exports=bD});var nx=p((Wte,rx)=>{var xD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function $D(e){return e.match(xD)||[]}rx.exports=$D});var ix=p((Fte,ox)=>{var SD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function kD(e){return SD.test(e)}ox.exports=kD});var kx=p((Hte,Sx)=>{var lx="\\ud800-\\udfff",wD="\\u0300-\\u036f",zD="\\ufe20-\\ufe2f",ID="\\u20d0-\\u20ff",PD=wD+zD+ID,px="\\u2700-\\u27bf",dx="a-z\\xdf-\\xf6\\xf8-\\xff",TD="\\xac\\xb1\\xd7\\xf7",AD="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",OD="\\u2000-\\u206f",jD=" \\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",mx="A-Z\\xc0-\\xd6\\xd8-\\xde",ED="\\ufe0e\\ufe0f",fx=TD+AD+OD+jD,gx="['\u2019]",ax="["+fx+"]",RD="["+PD+"]",hx="\\d+",CD="["+px+"]",vx="["+dx+"]",_x="[^"+lx+fx+hx+px+dx+mx+"]",ND="\\ud83c[\\udffb-\\udfff]",DD="(?:"+RD+"|"+ND+")",qD="[^"+lx+"]",yx="(?:\\ud83c[\\udde6-\\uddff]){2}",bx="[\\ud800-\\udbff][\\udc00-\\udfff]",en="["+mx+"]",UD="\\u200d",sx="(?:"+vx+"|"+_x+")",LD="(?:"+en+"|"+_x+")",ux="(?:"+gx+"(?:d|ll|m|re|s|t|ve))?",cx="(?:"+gx+"(?:D|LL|M|RE|S|T|VE))?",xx=DD+"?",$x="["+ED+"]?",MD="(?:"+UD+"(?:"+[qD,yx,bx].join("|")+")"+$x+xx+")*",ZD="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",WD="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",FD=$x+xx+MD,HD="(?:"+[CD,yx,bx].join("|")+")"+FD,VD=RegExp([en+"?"+vx+"+"+ux+"(?="+[ax,en,"$"].join("|")+")",LD+"+"+cx+"(?="+[ax,en+sx,"$"].join("|")+")",en+"?"+sx+"+"+ux,en+"+"+cx,WD,ZD,hx,HD].join("|"),"g");function BD(e){return e.match(VD)||[]}Sx.exports=BD});var zx=p((Vte,wx)=>{var GD=nx(),JD=ix(),KD=er(),YD=kx();function QD(e,t,n){return e=KD(e),t=n?void 0:t,t===void 0?JD(e)?YD(e):GD(e):e.match(t)||[]}wx.exports=QD});var Px=p((Bte,Ix)=>{var XD=Ud(),eq=tx(),tq=zx(),rq="['\u2019]",nq=RegExp(rq,"g");function oq(e){return function(t){return XD(tq(eq(t).replace(nq,"")),e,"")}}Ix.exports=oq});var Md=p((Gte,Tx)=>{function iq(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}Tx.exports=iq});var Ox=p((Jte,Ax)=>{var aq=Md();function sq(e,t,n){var o=e.length;return n=n===void 0?o:n,!t&&n>=o?e:aq(e,t,n)}Ax.exports=sq});var Zd=p((Kte,jx)=>{var uq="\\ud800-\\udfff",cq="\\u0300-\\u036f",lq="\\ufe20-\\ufe2f",pq="\\u20d0-\\u20ff",dq=cq+lq+pq,mq="\\ufe0e\\ufe0f",fq="\\u200d",gq=RegExp("["+fq+uq+dq+mq+"]");function hq(e){return gq.test(e)}jx.exports=hq});var Rx=p((Yte,Ex)=>{function vq(e){return e.split("")}Ex.exports=vq});var Zx=p((Qte,Mx)=>{var Cx="\\ud800-\\udfff",_q="\\u0300-\\u036f",yq="\\ufe20-\\ufe2f",bq="\\u20d0-\\u20ff",xq=_q+yq+bq,$q="\\ufe0e\\ufe0f",Sq="["+Cx+"]",Wd="["+xq+"]",Fd="\\ud83c[\\udffb-\\udfff]",kq="(?:"+Wd+"|"+Fd+")",Nx="[^"+Cx+"]",Dx="(?:\\ud83c[\\udde6-\\uddff]){2}",qx="[\\ud800-\\udbff][\\udc00-\\udfff]",wq="\\u200d",Ux=kq+"?",Lx="["+$q+"]?",zq="(?:"+wq+"(?:"+[Nx,Dx,qx].join("|")+")"+Lx+Ux+")*",Iq=Lx+Ux+zq,Pq="(?:"+[Nx+Wd+"?",Wd,Dx,qx,Sq].join("|")+")",Tq=RegExp(Fd+"(?="+Fd+")|"+Pq+Iq,"g");function Aq(e){return e.match(Tq)||[]}Mx.exports=Aq});var Fx=p((Xte,Wx)=>{var Oq=Rx(),jq=Zd(),Eq=Zx();function Rq(e){return jq(e)?Eq(e):Oq(e)}Wx.exports=Rq});var Vx=p((ere,Hx)=>{var Cq=Ox(),Nq=Zd(),Dq=Fx(),qq=er();function Uq(e){return function(t){t=qq(t);var n=Nq(t)?Dq(t):void 0,o=n?n[0]:t.charAt(0),r=n?Cq(n,1).join(""):t.slice(1);return o[e]()+r}}Hx.exports=Uq});var Gx=p((tre,Bx)=>{var Lq=Vx(),Mq=Lq("toUpperCase");Bx.exports=Mq});var Kx=p((rre,Jx)=>{var Zq=Px(),Wq=Gx(),Fq=Zq(function(e,t,n){return e+(n?" ":"")+Wq(t)});Jx.exports=Fq});var Qx=p((nre,Yx)=>{function Hq(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}Yx.exports=Hq});var tr=p((ore,Xx)=>{var Vq=9007199254740991,Bq=/^(?:0|[1-9]\d*)$/;function Gq(e,t){var n=typeof e;return t=t??Vq,!!t&&(n=="number"||n!="symbol"&&Bq.test(e))&&e>-1&&e%1==0&&e<t}Xx.exports=Gq});var Hd=p((ire,e$)=>{var Jq=Qx(),Kq=Kr(),Yq=ve(),Qq=Qr(),Xq=tr(),eU=Io(),tU=Object.prototype,rU=tU.hasOwnProperty;function nU(e,t){var n=Yq(e),o=!n&&Kq(e),r=!n&&!o&&Qq(e),i=!n&&!o&&!r&&eU(e),a=n||o||r||i,s=a?Jq(e.length,String):[],c=s.length;for(var l in e)(t||rU.call(e,l))&&!(a&&(l=="length"||r&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Xq(l,c)))&&s.push(l);return s}e$.exports=nU});var lt=p((are,t$)=>{var oU=Hd(),iU=ns(),aU=yt();function sU(e){return aU(e)?oU(e):iU(e)}t$.exports=sU});var n$=p((sre,r$)=>{var uU=Math.ceil,cU=Math.max;function lU(e,t,n,o){for(var r=-1,i=cU(uU((t-e)/(n||1)),0),a=Array(i);i--;)a[o?i:++r]=e,e+=n;return a}r$.exports=lU});var tn=p((ure,o$)=>{function pU(e,t){return e===t||e!==e&&t!==t}o$.exports=pU});var Vd=p((cre,i$)=>{var dU=tn(),mU=yt(),fU=tr(),gU=Le();function hU(e,t,n){if(!gU(n))return!1;var o=typeof t;return(o=="number"?mU(n)&&fU(t,n.length):o=="string"&&t in n)?dU(n[t],e):!1}i$.exports=hU});var s$=p((lre,a$)=>{var vU=/\s/;function _U(e){for(var t=e.length;t--&&vU.test(e.charAt(t)););return t}a$.exports=_U});var c$=p((pre,u$)=>{var yU=s$(),bU=/^\s+/;function xU(e){return e&&e.slice(0,yU(e)+1).replace(bU,"")}u$.exports=xU});var Bd=p((dre,d$)=>{var $U=c$(),l$=Le(),SU=Xt(),p$=NaN,kU=/^[-+]0x[0-9a-f]+$/i,wU=/^0b[01]+$/i,zU=/^0o[0-7]+$/i,IU=parseInt;function PU(e){if(typeof e=="number")return e;if(SU(e))return p$;if(l$(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=l$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=$U(e);var n=wU.test(e);return n||zU.test(e)?IU(e.slice(2),n?2:8):kU.test(e)?p$:+e}d$.exports=PU});var Gd=p((mre,f$)=>{var TU=Bd(),m$=1/0,AU=17976931348623157e292;function OU(e){if(!e)return e===0?e:0;if(e=TU(e),e===m$||e===-m$){var t=e<0?-1:1;return t*AU}return e===e?e:0}f$.exports=OU});var h$=p((fre,g$)=>{var jU=n$(),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),jU(t,n,o,e)}}g$.exports=RU});var _$=p((gre,v$)=>{var CU=h$(),NU=CU();v$.exports=NU});var us=p((hre,y$)=>{var DU=ve(),qU=Xt(),UU=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,LU=/^\w*$/;function MU(e,t){if(DU(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||qU(e)?!0:LU.test(e)||!UU.test(e)||t!=null&&e in Object(t)}y$.exports=MU});var To=p((vre,b$)=>{var ZU=jt(),WU=ZU(Object,"create");b$.exports=WU});var S$=p((_re,$$)=>{var x$=To();function FU(){this.__data__=x$?x$(null):{},this.size=0}$$.exports=FU});var w$=p((yre,k$)=>{function HU(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}k$.exports=HU});var I$=p((bre,z$)=>{var VU=To(),BU="__lodash_hash_undefined__",GU=Object.prototype,JU=GU.hasOwnProperty;function KU(e){var t=this.__data__;if(VU){var n=t[e];return n===BU?void 0:n}return JU.call(t,e)?t[e]:void 0}z$.exports=KU});var T$=p((xre,P$)=>{var YU=To(),QU=Object.prototype,XU=QU.hasOwnProperty;function e4(e){var t=this.__data__;return YU?t[e]!==void 0:XU.call(t,e)}P$.exports=e4});var O$=p(($re,A$)=>{var t4=To(),r4="__lodash_hash_undefined__";function n4(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=t4&&t===void 0?r4:t,this}A$.exports=n4});var E$=p((Sre,j$)=>{var o4=S$(),i4=w$(),a4=I$(),s4=T$(),u4=O$();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=o4;rn.prototype.delete=i4;rn.prototype.get=a4;rn.prototype.has=s4;rn.prototype.set=u4;j$.exports=rn});var C$=p((kre,R$)=>{function c4(){this.__data__=[],this.size=0}R$.exports=c4});var Ao=p((wre,N$)=>{var l4=tn();function p4(e,t){for(var n=e.length;n--;)if(l4(e[n][0],t))return n;return-1}N$.exports=p4});var q$=p((zre,D$)=>{var d4=Ao(),m4=Array.prototype,f4=m4.splice;function g4(e){var t=this.__data__,n=d4(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():f4.call(t,n,1),--this.size,!0}D$.exports=g4});var L$=p((Ire,U$)=>{var h4=Ao();function v4(e){var t=this.__data__,n=h4(t,e);return n<0?void 0:t[n][1]}U$.exports=v4});var Z$=p((Pre,M$)=>{var _4=Ao();function y4(e){return _4(this.__data__,e)>-1}M$.exports=y4});var F$=p((Tre,W$)=>{var b4=Ao();function x4(e,t){var n=this.__data__,o=b4(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}W$.exports=x4});var Oo=p((Are,H$)=>{var $4=C$(),S4=q$(),k4=L$(),w4=Z$(),z4=F$();function nn(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])}}nn.prototype.clear=$4;nn.prototype.delete=S4;nn.prototype.get=k4;nn.prototype.has=w4;nn.prototype.set=z4;H$.exports=nn});var G$=p((Ore,B$)=>{var V$=E$(),I4=Oo(),P4=os();function T4(){this.size=0,this.__data__={hash:new V$,map:new(P4||I4),string:new V$}}B$.exports=T4});var K$=p((jre,J$)=>{function A4(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}J$.exports=A4});var jo=p((Ere,Y$)=>{var O4=K$();function j4(e,t){var n=e.__data__;return O4(t)?n[typeof t=="string"?"string":"hash"]:n.map}Y$.exports=j4});var X$=p((Rre,Q$)=>{var E4=jo();function R4(e){var t=E4(this,e).delete(e);return this.size-=t?1:0,t}Q$.exports=R4});var tS=p((Cre,eS)=>{var C4=jo();function N4(e){return C4(this,e).get(e)}eS.exports=N4});var nS=p((Nre,rS)=>{var D4=jo();function q4(e){return D4(this,e).has(e)}rS.exports=q4});var iS=p((Dre,oS)=>{var U4=jo();function L4(e,t){var n=U4(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}oS.exports=L4});var cs=p((qre,aS)=>{var M4=G$(),Z4=X$(),W4=tS(),F4=nS(),H4=iS();function on(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])}}on.prototype.clear=M4;on.prototype.delete=Z4;on.prototype.get=W4;on.prototype.has=F4;on.prototype.set=H4;aS.exports=on});var cS=p((Ure,uS)=>{var sS=cs(),V4="Expected a function";function Kd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(V4);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||sS),n}Kd.Cache=sS;uS.exports=Kd});var pS=p((Lre,lS)=>{var B4=cS(),G4=500;function J4(e){var t=B4(e,function(o){return n.size===G4&&n.clear(),o}),n=t.cache;return t}lS.exports=J4});var Yd=p((Mre,dS)=>{var K4=pS(),Y4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q4=/\\(\\)?/g,X4=K4(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Y4,function(n,o,r,i){t.push(r?i.replace(Q4,"$1"):o||n)}),t});dS.exports=X4});var Eo=p((Zre,mS)=>{var eL=ve(),tL=us(),rL=Yd(),nL=er();function oL(e,t){return eL(e)?e:tL(e,t)?[e]:rL(nL(e))}mS.exports=oL});var Rt=p((Wre,fS)=>{var iL=Xt(),aL=1/0;function sL(e){if(typeof e=="string"||iL(e))return e;var t=e+"";return t=="0"&&1/e==-aL?"-0":t}fS.exports=sL});var ls=p((Fre,gS)=>{var uL=Eo(),cL=Rt();function lL(e,t){t=uL(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[cL(t[n++])];return n&&n==o?e:void 0}gS.exports=lL});var Qd=p((Hre,hS)=>{var pL=ls();function dL(e,t,n){var o=e==null?void 0:pL(e,t);return o===void 0?n:o}hS.exports=dL});var _S=p((Vre,vS)=>{var mL=Object.prototype,fL=mL.hasOwnProperty;function gL(e,t){return e!=null&&fL.call(e,t)}vS.exports=gL});var Xd=p((Bre,yS)=>{var hL=Eo(),vL=Kr(),_L=ve(),yL=tr(),bL=is(),xL=Rt();function $L(e,t,n){t=hL(t,e);for(var o=-1,r=t.length,i=!1;++o<r;){var a=xL(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&&bL(r)&&yL(a,r)&&(_L(e)||vL(e)))}yS.exports=$L});var xS=p((Gre,bS)=>{var SL=_S(),kL=Xd();function wL(e,t){return e!=null&&kL(e,t,SL)}bS.exports=wL});var SS=p((Jre,$S)=>{var zL=Oo();function IL(){this.__data__=new zL,this.size=0}$S.exports=IL});var wS=p((Kre,kS)=>{function PL(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}kS.exports=PL});var IS=p((Yre,zS)=>{function TL(e){return this.__data__.get(e)}zS.exports=TL});var TS=p((Qre,PS)=>{function AL(e){return this.__data__.has(e)}PS.exports=AL});var OS=p((Xre,AS)=>{var OL=Oo(),jL=os(),EL=cs(),RL=200;function CL(e,t){var n=this.__data__;if(n instanceof OL){var o=n.__data__;if(!jL||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}AS.exports=CL});var Ro=p((ene,jS)=>{var NL=Oo(),DL=SS(),qL=wS(),UL=IS(),LL=TS(),ML=OS();function an(e){var t=this.__data__=new NL(e);this.size=t.size}an.prototype.clear=DL;an.prototype.delete=qL;an.prototype.get=UL;an.prototype.has=LL;an.prototype.set=ML;jS.exports=an});var RS=p((tne,ES)=>{var ZL="__lodash_hash_undefined__";function WL(e){return this.__data__.set(e,ZL),this}ES.exports=WL});var NS=p((rne,CS)=>{function FL(e){return this.__data__.has(e)}CS.exports=FL});var qS=p((nne,DS)=>{var HL=cs(),VL=RS(),BL=NS();function ps(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new HL;++t<n;)this.add(e[t])}ps.prototype.add=ps.prototype.push=VL;ps.prototype.has=BL;DS.exports=ps});var LS=p((one,US)=>{function GL(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}US.exports=GL});var ZS=p((ine,MS)=>{function JL(e,t){return e.has(t)}MS.exports=JL});var em=p((ane,WS)=>{var KL=qS(),YL=LS(),QL=ZS(),XL=1,e6=2;function t6(e,t,n,o,r,i){var a=n&XL,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=i.get(e),m=i.get(t);if(l&&m)return l==t&&m==e;var u=-1,h=!0,v=n&e6?new KL:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var g=e[u],x=t[u];if(o)var $=a?o(x,g,u,t,e,i):o(g,x,u,e,t,i);if($!==void 0){if($)continue;h=!1;break}if(v){if(!YL(t,function(k,b){if(!QL(v,b)&&(g===k||r(g,k,n,o,i)))return v.push(b)})){h=!1;break}}else if(!(g===x||r(g,x,n,o,i))){h=!1;break}}return i.delete(e),i.delete(t),h}WS.exports=t6});var tm=p((sne,FS)=>{var r6=Ae(),n6=r6.Uint8Array;FS.exports=n6});var rm=p((une,HS)=>{function o6(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}HS.exports=o6});var BS=p((cne,VS)=>{function i6(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}VS.exports=i6});var QS=p((lne,YS)=>{var GS=Yt(),JS=tm(),a6=tn(),s6=em(),u6=rm(),c6=BS(),l6=1,p6=2,d6="[object Boolean]",m6="[object Date]",f6="[object Error]",g6="[object Map]",h6="[object Number]",v6="[object RegExp]",_6="[object Set]",y6="[object String]",b6="[object Symbol]",x6="[object ArrayBuffer]",$6="[object DataView]",KS=GS?GS.prototype:void 0,nm=KS?KS.valueOf:void 0;function S6(e,t,n,o,r,i,a){switch(n){case $6:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x6:return!(e.byteLength!=t.byteLength||!i(new JS(e),new JS(t)));case d6:case m6:case h6:return a6(+e,+t);case f6:return e.name==t.name&&e.message==t.message;case v6:case y6:return e==t+"";case g6:var s=u6;case _6:var c=o&l6;if(s||(s=c6),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;o|=p6,a.set(e,t);var m=s6(s(e),s(t),o,r,i,a);return a.delete(e),m;case b6:if(nm)return nm.call(e)==nm.call(t)}return!1}YS.exports=S6});var ds=p((pne,XS)=>{function k6(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}XS.exports=k6});var om=p((dne,ek)=>{var w6=ds(),z6=ve();function I6(e,t,n){var o=t(e);return z6(e)?o:w6(o,n(e))}ek.exports=I6});var im=p((mne,tk)=>{function P6(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}tk.exports=P6});var am=p((fne,rk)=>{function T6(){return[]}rk.exports=T6});var ms=p((gne,ok)=>{var A6=im(),O6=am(),j6=Object.prototype,E6=j6.propertyIsEnumerable,nk=Object.getOwnPropertySymbols,R6=nk?function(e){return e==null?[]:(e=Object(e),A6(nk(e),function(t){return E6.call(e,t)}))}:O6;ok.exports=R6});var sm=p((hne,ik)=>{var C6=om(),N6=ms(),D6=lt();function q6(e){return C6(e,D6,N6)}ik.exports=q6});var uk=p((vne,sk)=>{var ak=sm(),U6=1,L6=Object.prototype,M6=L6.hasOwnProperty;function Z6(e,t,n,o,r,i){var a=n&U6,s=ak(e),c=s.length,l=ak(t),m=l.length;if(c!=m&&!a)return!1;for(var u=c;u--;){var h=s[u];if(!(a?h in t:M6.call(t,h)))return!1}var v=i.get(e),g=i.get(t);if(v&&g)return v==t&&g==e;var x=!0;i.set(e,t),i.set(t,e);for(var $=a;++u<c;){h=s[u];var k=e[h],b=t[h];if(o)var z=a?o(b,k,h,t,e,i):o(k,b,h,e,t,i);if(!(z===void 0?k===b||r(k,b,n,o,i):z)){x=!1;break}$||($=h=="constructor")}if(x&&!$){var j=e.constructor,W=t.constructor;j!=W&&"constructor"in e&&"constructor"in t&&!(typeof j=="function"&&j instanceof j&&typeof W=="function"&&W instanceof W)&&(x=!1)}return i.delete(e),i.delete(t),x}sk.exports=Z6});var hk=p((_ne,gk)=>{var um=Ro(),W6=em(),F6=QS(),H6=uk(),ck=Et(),lk=ve(),pk=Qr(),V6=Io(),B6=1,dk="[object Arguments]",mk="[object Array]",fs="[object Object]",G6=Object.prototype,fk=G6.hasOwnProperty;function J6(e,t,n,o,r,i){var a=lk(e),s=lk(t),c=a?mk:ck(e),l=s?mk:ck(t);c=c==dk?fs:c,l=l==dk?fs:l;var m=c==fs,u=l==fs,h=c==l;if(h&&pk(e)){if(!pk(t))return!1;a=!0,m=!1}if(h&&!m)return i||(i=new um),a||V6(e)?W6(e,t,n,o,r,i):F6(e,t,c,n,o,r,i);if(!(n&B6)){var v=m&&fk.call(e,"__wrapped__"),g=u&&fk.call(t,"__wrapped__");if(v||g){var x=v?e.value():e,$=g?t.value():t;return i||(i=new um),r(x,$,n,o,i)}}return h?(i||(i=new um),H6(e,t,n,o,r,i)):!1}gk.exports=J6});var gs=p((yne,yk)=>{var K6=hk(),vk=Me();function _k(e,t,n,o,r){return e===t?!0:e==null||t==null||!vk(e)&&!vk(t)?e!==e&&t!==t:K6(e,t,n,o,_k,r)}yk.exports=_k});var xk=p((bne,bk)=>{var Y6=Ro(),Q6=gs(),X6=1,eM=2;function tM(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 c=s[0],l=e[c],m=s[1];if(a&&s[2]){if(l===void 0&&!(c in e))return!1}else{var u=new Y6;if(o)var h=o(l,m,c,e,t,u);if(!(h===void 0?Q6(m,l,X6|eM,o,u):h))return!1}}return!0}bk.exports=tM});var cm=p((xne,$k)=>{var rM=Le();function nM(e){return e===e&&!rM(e)}$k.exports=nM});var kk=p(($ne,Sk)=>{var oM=cm(),iM=lt();function aM(e){for(var t=iM(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,oM(r)]}return t}Sk.exports=aM});var lm=p((Sne,wk)=>{function sM(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}wk.exports=sM});var Ik=p((kne,zk)=>{var uM=xk(),cM=kk(),lM=lm();function pM(e){var t=cM(e);return t.length==1&&t[0][2]?lM(t[0][0],t[0][1]):function(n){return n===e||uM(n,e,t)}}zk.exports=pM});var Tk=p((wne,Pk)=>{function dM(e,t){return e!=null&&t in Object(e)}Pk.exports=dM});var Ok=p((zne,Ak)=>{var mM=Tk(),fM=Xd();function gM(e,t){return e!=null&&fM(e,t,mM)}Ak.exports=gM});var Ek=p((Ine,jk)=>{var hM=gs(),vM=Qd(),_M=Ok(),yM=us(),bM=cm(),xM=lm(),$M=Rt(),SM=1,kM=2;function wM(e,t){return yM(e)&&bM(t)?xM($M(e),t):function(n){var o=vM(n,e);return o===void 0&&o===t?_M(n,e):hM(t,o,SM|kM)}}jk.exports=wM});var Co=p((Pne,Rk)=>{function zM(e){return e}Rk.exports=zM});var Nk=p((Tne,Ck)=>{function IM(e){return function(t){return t?.[e]}}Ck.exports=IM});var qk=p((Ane,Dk)=>{var PM=ls();function TM(e){return function(t){return PM(t,e)}}Dk.exports=TM});var Lk=p((One,Uk)=>{var AM=Nk(),OM=qk(),jM=us(),EM=Rt();function RM(e){return jM(e)?AM(EM(e)):OM(e)}Uk.exports=RM});var Ct=p((jne,Mk)=>{var CM=Ik(),NM=Ek(),DM=Co(),qM=ve(),UM=Lk();function LM(e){return typeof e=="function"?e:e==null?DM:typeof e=="object"?qM(e)?NM(e[0],e[1]):CM(e):UM(e)}Mk.exports=LM});var Wk=p((Ene,Zk)=>{var MM=Ct(),ZM=yt(),WM=lt();function FM(e){return function(t,n,o){var r=Object(t);if(!ZM(t)){var i=MM(n,3);t=WM(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}}Zk.exports=FM});var pm=p((Rne,Fk)=>{function HM(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}Fk.exports=HM});var sn=p((Cne,Hk)=>{var VM=Gd();function BM(e){var t=VM(e),n=t%1;return t===t?n?t-n:t:0}Hk.exports=BM});var Bk=p((Nne,Vk)=>{var GM=pm(),JM=Ct(),KM=sn(),YM=Math.max;function QM(e,t,n){var o=e==null?0:e.length;if(!o)return-1;var r=n==null?0:KM(n);return r<0&&(r=YM(o+r,0)),GM(e,JM(t,3),r)}Vk.exports=QM});var Jk=p((Dne,Gk)=>{var XM=Wk(),e2=Bk(),t2=XM(e2);Gk.exports=t2});var Yk=p((qne,Kk)=>{function r2(e){return e!==e}Kk.exports=r2});var Xk=p((Une,Qk)=>{function n2(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}Qk.exports=n2});var dm=p((Lne,ew)=>{var o2=pm(),i2=Yk(),a2=Xk();function s2(e,t,n){return t===t?a2(e,t,n):o2(e,i2,n)}ew.exports=s2});var rw=p((Mne,tw)=>{var u2=_t(),c2=ve(),l2=Me(),p2="[object String]";function d2(e){return typeof e=="string"||!c2(e)&&l2(e)&&u2(e)==p2}tw.exports=d2});var ow=p((Zne,nw)=>{var m2=Po();function f2(e,t){return m2(t,function(n){return e[n]})}nw.exports=f2});var aw=p((Wne,iw)=>{var g2=ow(),h2=lt();function v2(e){return e==null?[]:g2(e,h2(e))}iw.exports=v2});var uw=p((Fne,sw)=>{var _2=dm(),y2=yt(),b2=rw(),x2=sn(),$2=aw(),S2=Math.max;function k2(e,t,n,o){e=y2(e)?e:$2(e),n=n&&!o?x2(n):0;var r=e.length;return n<0&&(n=S2(r+n,0)),b2(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&_2(e,t,n)>-1}sw.exports=k2});var lw=p((Bne,cw)=>{function z2(e){return function(t,n,o){for(var r=-1,i=Object(t),a=o(t),s=a.length;s--;){var c=a[e?s:++r];if(n(i[c],c,i)===!1)break}return t}}cw.exports=z2});var fm=p((Gne,pw)=>{var I2=lw(),P2=I2();pw.exports=P2});var mw=p((Jne,dw)=>{var T2=fm(),A2=lt();function O2(e,t){return e&&T2(e,t,A2)}dw.exports=O2});var gw=p((Kne,fw)=>{var j2=yt();function E2(e,t){return function(n,o){if(n==null)return n;if(!j2(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}}fw.exports=E2});var gm=p((Yne,hw)=>{var R2=mw(),C2=gw(),N2=C2(R2);hw.exports=N2});var _w=p((Qne,vw)=>{var D2=gm();function q2(e,t){var n=[];return D2(e,function(o,r,i){t(o,r,i)&&n.push(o)}),n}vw.exports=q2});var bw=p((Xne,yw)=>{var U2=im(),L2=_w(),M2=Ct(),Z2=ve();function W2(e,t){var n=Z2(e)?U2:L2;return n(e,M2(t,3))}yw.exports=W2});var $w=p((eoe,xw)=>{var F2=gs();function H2(e,t){return F2(e,t)}xw.exports=H2});var hm=p((toe,Sw)=>{var V2=jt(),B2=(function(){try{var e=V2(Object,"defineProperty");return e({},"",{}),e}catch{}})();Sw.exports=B2});var hs=p((roe,ww)=>{var kw=hm();function G2(e,t,n){t=="__proto__"&&kw?kw(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}ww.exports=G2});var vm=p((noe,zw)=>{var J2=hs(),K2=tn();function Y2(e,t,n){(n!==void 0&&!K2(e[t],n)||n===void 0&&!(t in e))&&J2(e,t,n)}zw.exports=Y2});var _m=p((Do,un)=>{var Q2=Ae(),Aw=typeof Do=="object"&&Do&&!Do.nodeType&&Do,Iw=Aw&&typeof un=="object"&&un&&!un.nodeType&&un,X2=Iw&&Iw.exports===Aw,Pw=X2?Q2.Buffer:void 0,Tw=Pw?Pw.allocUnsafe:void 0;function eZ(e,t){if(t)return e.slice();var n=e.length,o=Tw?Tw(n):new e.constructor(n);return e.copy(o),o}un.exports=eZ});var vs=p((ooe,jw)=>{var Ow=tm();function tZ(e){var t=new e.constructor(e.byteLength);return new Ow(t).set(new Ow(e)),t}jw.exports=tZ});var ym=p((ioe,Ew)=>{var rZ=vs();function nZ(e,t){var n=t?rZ(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}Ew.exports=nZ});var cn=p((aoe,Rw)=>{function oZ(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}Rw.exports=oZ});var qo=p((soe,Nw)=>{var iZ=Le(),Cw=Object.create,aZ=(function(){function e(){}return function(t){if(!iZ(t))return{};if(Cw)return Cw(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();Nw.exports=aZ});var _s=p((uoe,Dw)=>{var sZ=Pd(),uZ=sZ(Object.getPrototypeOf,Object);Dw.exports=uZ});var bm=p((coe,qw)=>{var cZ=qo(),lZ=_s(),pZ=$o();function dZ(e){return typeof e.constructor=="function"&&!pZ(e)?cZ(lZ(e)):{}}qw.exports=dZ});var Lw=p((loe,Uw)=>{var mZ=yt(),fZ=Me();function gZ(e){return fZ(e)&&mZ(e)}Uw.exports=gZ});var xm=p((poe,Zw)=>{var hZ=_t(),vZ=_s(),_Z=Me(),yZ="[object Object]",bZ=Function.prototype,xZ=Object.prototype,Mw=bZ.toString,$Z=xZ.hasOwnProperty,SZ=Mw.call(Object);function kZ(e){if(!_Z(e)||hZ(e)!=yZ)return!1;var t=vZ(e);if(t===null)return!0;var n=$Z.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Mw.call(n)==SZ}Zw.exports=kZ});var $m=p((doe,Ww)=>{function wZ(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}Ww.exports=wZ});var ys=p((moe,Fw)=>{var zZ=hs(),IZ=tn(),PZ=Object.prototype,TZ=PZ.hasOwnProperty;function AZ(e,t,n){var o=e[t];(!(TZ.call(e,t)&&IZ(o,n))||n===void 0&&!(t in e))&&zZ(e,t,n)}Fw.exports=AZ});var ln=p((foe,Hw)=>{var OZ=ys(),jZ=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],c=o?o(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),r?jZ(n,s,c):OZ(n,s,c)}return n}Hw.exports=EZ});var Bw=p((goe,Vw)=>{function RZ(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}Vw.exports=RZ});var Jw=p((hoe,Gw)=>{var CZ=Le(),NZ=$o(),DZ=Bw(),qZ=Object.prototype,UZ=qZ.hasOwnProperty;function LZ(e){if(!CZ(e))return DZ(e);var t=NZ(e),n=[];for(var o in e)o=="constructor"&&(t||!UZ.call(e,o))||n.push(o);return n}Gw.exports=LZ});var pn=p((voe,Kw)=>{var MZ=Hd(),ZZ=Jw(),WZ=yt();function FZ(e){return WZ(e)?MZ(e,!0):ZZ(e)}Kw.exports=FZ});var Qw=p((_oe,Yw)=>{var HZ=ln(),VZ=pn();function BZ(e){return HZ(e,VZ(e))}Yw.exports=BZ});var oz=p((yoe,nz)=>{var Xw=vm(),GZ=_m(),JZ=ym(),KZ=cn(),YZ=bm(),ez=Kr(),tz=ve(),QZ=Lw(),XZ=Qr(),eW=Gr(),tW=Le(),rW=xm(),nW=Io(),rz=$m(),oW=Qw();function iW(e,t,n,o,r,i,a){var s=rz(e,n),c=rz(t,n),l=a.get(c);if(l){Xw(e,n,l);return}var m=i?i(s,c,n+"",e,t,a):void 0,u=m===void 0;if(u){var h=tz(c),v=!h&&XZ(c),g=!h&&!v&&nW(c);m=c,h||v||g?tz(s)?m=s:QZ(s)?m=KZ(s):v?(u=!1,m=GZ(c,!0)):g?(u=!1,m=JZ(c,!0)):m=[]:rW(c)||ez(c)?(m=s,ez(s)?m=oW(s):(!tW(s)||eW(s))&&(m=YZ(c))):u=!1}u&&(a.set(c,m),r(m,c,o,i,a),a.delete(c)),Xw(e,n,m)}nz.exports=iW});var sz=p((boe,az)=>{var aW=Ro(),sW=vm(),uW=fm(),cW=oz(),lW=Le(),pW=pn(),dW=$m();function iz(e,t,n,o,r){e!==t&&uW(t,function(i,a){if(r||(r=new aW),lW(i))cW(e,t,a,n,iz,o,r);else{var s=o?o(dW(e,a),i,a+"",e,t,r):void 0;s===void 0&&(s=i),sW(e,a,s)}},pW)}az.exports=iz});var bs=p((xoe,uz)=>{function mW(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)}uz.exports=mW});var Sm=p(($oe,lz)=>{var fW=bs(),cz=Math.max;function gW(e,t,n){return t=cz(t===void 0?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=cz(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),fW(e,this,s)}}lz.exports=gW});var dz=p((Soe,pz)=>{function hW(e){return function(){return e}}pz.exports=hW});var gz=p((koe,fz)=>{var vW=dz(),mz=hm(),_W=Co(),yW=mz?function(e,t){return mz(e,"toString",{configurable:!0,enumerable:!1,value:vW(t),writable:!0})}:_W;fz.exports=yW});var km=p((woe,hz)=>{var bW=800,xW=16,$W=Date.now;function SW(e){var t=0,n=0;return function(){var o=$W(),r=xW-(o-n);if(n=o,r>0){if(++t>=bW)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}hz.exports=SW});var xs=p((zoe,vz)=>{var kW=gz(),wW=km(),zW=wW(kW);vz.exports=zW});var yz=p((Ioe,_z)=>{var IW=Co(),PW=Sm(),TW=xs();function AW(e,t){return TW(PW(e,t,IW),e+"")}_z.exports=AW});var xz=p((Poe,bz)=>{var OW=yz(),jW=Vd();function EW(e){return OW(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&&jW(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})}bz.exports=EW});var Sz=p((Toe,$z)=>{var RW=sz(),CW=xz(),NW=CW(function(e,t,n){RW(e,t,n)});$z.exports=NW});var $s=p((Aoe,kz)=>{function DW(e,t){for(var n=-1,o=e==null?0:e.length;++n<o&&t(e[n],n,e)!==!1;);return e}kz.exports=DW});var wm=p((Ooe,wz)=>{var qW=ln(),UW=lt();function LW(e,t){return e&&qW(t,UW(t),e)}wz.exports=LW});var Iz=p((joe,zz)=>{var MW=ln(),ZW=pn();function WW(e,t){return e&&MW(t,ZW(t),e)}zz.exports=WW});var Tz=p((Eoe,Pz)=>{var FW=ln(),HW=ms();function VW(e,t){return FW(e,HW(e),t)}Pz.exports=VW});var zm=p((Roe,Az)=>{var BW=ds(),GW=_s(),JW=ms(),KW=am(),YW=Object.getOwnPropertySymbols,QW=YW?function(e){for(var t=[];e;)BW(t,JW(e)),e=GW(e);return t}:KW;Az.exports=QW});var jz=p((Coe,Oz)=>{var XW=ln(),eF=zm();function tF(e,t){return XW(e,eF(e),t)}Oz.exports=tF});var Rz=p((Noe,Ez)=>{var rF=om(),nF=zm(),oF=pn();function iF(e){return rF(e,oF,nF)}Ez.exports=iF});var Nz=p((Doe,Cz)=>{var aF=Object.prototype,sF=aF.hasOwnProperty;function uF(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&sF.call(e,"index")&&(n.index=e.index,n.input=e.input),n}Cz.exports=uF});var qz=p((qoe,Dz)=>{var cF=vs();function lF(e,t){var n=t?cF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}Dz.exports=lF});var Lz=p((Uoe,Uz)=>{var pF=/\w*$/;function dF(e){var t=new e.constructor(e.source,pF.exec(e));return t.lastIndex=e.lastIndex,t}Uz.exports=dF});var Hz=p((Loe,Fz)=>{var Mz=Yt(),Zz=Mz?Mz.prototype:void 0,Wz=Zz?Zz.valueOf:void 0;function mF(e){return Wz?Object(Wz.call(e)):{}}Fz.exports=mF});var Bz=p((Moe,Vz)=>{var fF=vs(),gF=qz(),hF=Lz(),vF=Hz(),_F=ym(),yF="[object Boolean]",bF="[object Date]",xF="[object Map]",$F="[object Number]",SF="[object RegExp]",kF="[object Set]",wF="[object String]",zF="[object Symbol]",IF="[object ArrayBuffer]",PF="[object DataView]",TF="[object Float32Array]",AF="[object Float64Array]",OF="[object Int8Array]",jF="[object Int16Array]",EF="[object Int32Array]",RF="[object Uint8Array]",CF="[object Uint8ClampedArray]",NF="[object Uint16Array]",DF="[object Uint32Array]";function qF(e,t,n){var o=e.constructor;switch(t){case IF:return fF(e);case yF:case bF:return new o(+e);case PF:return gF(e,n);case TF:case AF:case OF:case jF:case EF:case RF:case CF:case NF:case DF:return _F(e,n);case xF:return new o;case $F:case wF:return new o(e);case SF:return hF(e);case kF:return new o;case zF:return vF(e)}}Vz.exports=qF});var Jz=p((Zoe,Gz)=>{var UF=Et(),LF=Me(),MF="[object Map]";function ZF(e){return LF(e)&&UF(e)==MF}Gz.exports=ZF});var Xz=p((Woe,Qz)=>{var WF=Jz(),FF=as(),Kz=ss(),Yz=Kz&&Kz.isMap,HF=Yz?FF(Yz):WF;Qz.exports=HF});var tI=p((Foe,eI)=>{var VF=Et(),BF=Me(),GF="[object Set]";function JF(e){return BF(e)&&VF(e)==GF}eI.exports=JF});var iI=p((Hoe,oI)=>{var KF=tI(),YF=as(),rI=ss(),nI=rI&&rI.isSet,QF=nI?YF(nI):KF;oI.exports=QF});var ks=p((Voe,cI)=>{var XF=Ro(),eH=$s(),tH=ys(),rH=wm(),nH=Iz(),oH=_m(),iH=cn(),aH=Tz(),sH=jz(),uH=sm(),cH=Rz(),lH=Et(),pH=Nz(),dH=Bz(),mH=bm(),fH=ve(),gH=Qr(),hH=Xz(),vH=Le(),_H=iI(),yH=lt(),bH=pn(),xH=1,$H=2,SH=4,aI="[object Arguments]",kH="[object Array]",wH="[object Boolean]",zH="[object Date]",IH="[object Error]",sI="[object Function]",PH="[object GeneratorFunction]",TH="[object Map]",AH="[object Number]",uI="[object Object]",OH="[object RegExp]",jH="[object Set]",EH="[object String]",RH="[object Symbol]",CH="[object WeakMap]",NH="[object ArrayBuffer]",DH="[object DataView]",qH="[object Float32Array]",UH="[object Float64Array]",LH="[object Int8Array]",MH="[object Int16Array]",ZH="[object Int32Array]",WH="[object Uint8Array]",FH="[object Uint8ClampedArray]",HH="[object Uint16Array]",VH="[object Uint32Array]",ie={};ie[aI]=ie[kH]=ie[NH]=ie[DH]=ie[wH]=ie[zH]=ie[qH]=ie[UH]=ie[LH]=ie[MH]=ie[ZH]=ie[TH]=ie[AH]=ie[uI]=ie[OH]=ie[jH]=ie[EH]=ie[RH]=ie[WH]=ie[FH]=ie[HH]=ie[VH]=!0;ie[IH]=ie[sI]=ie[CH]=!1;function Ss(e,t,n,o,r,i){var a,s=t&xH,c=t&$H,l=t&SH;if(n&&(a=r?n(e,o,r,i):n(e)),a!==void 0)return a;if(!vH(e))return e;var m=fH(e);if(m){if(a=pH(e),!s)return iH(e,a)}else{var u=lH(e),h=u==sI||u==PH;if(gH(e))return oH(e,s);if(u==uI||u==aI||h&&!r){if(a=c||h?{}:mH(e),!s)return c?sH(e,nH(a,e)):aH(e,rH(a,e))}else{if(!ie[u])return r?e:{};a=dH(e,u,s)}}i||(i=new XF);var v=i.get(e);if(v)return v;i.set(e,a),_H(e)?e.forEach(function($){a.add(Ss($,t,n,$,e,i))}):hH(e)&&e.forEach(function($,k){a.set(k,Ss($,t,n,k,e,i))});var g=l?c?cH:uH:c?bH:yH,x=m?void 0:g(e);return eH(x||e,function($,k){x&&(k=$,$=e[k]),tH(a,k,Ss($,t,n,k,e,i))}),a}cI.exports=Ss});var pI=p((Boe,lI)=>{var BH=ks(),GH=1,JH=4;function KH(e){return BH(e,GH|JH)}lI.exports=KH});var dI=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((Joe,mI)=>{mI.exports={}});var vI=p((Koe,hI)=>{var be=dI(),YH=ws(),fI=Array.prototype.push;function QH(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 gI(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function XH(e){return function(t){return e({},t)}}function eV(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&&fI.apply(a,i),t!=o&&fI.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:YH,c="curry"in o&&o.curry,l="fixed"in o&&o.fixed,m="rearg"in o&&o.rearg,u=r?n.runInContext():void 0,h=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=h.ary,g=h.assign,x=h.clone,$=h.curry,k=h.forEach,b=h.isArray,z=h.isError,j=h.isFunction,W=h.isWeakMap,M=h.keys,ce=h.rearg,he=h.toInteger,je=h.toPath,ft=M(be.aryMethod),c0={castArray:function(C){return function(){var A=arguments[0];return b(A)?C(gI(A)):C.apply(void 0,arguments)}},iteratee:function(C){return function(){var A=arguments[0],E=arguments[1],U=C(A,E),F=U.length;return a.cap&&typeof E=="number"?(E=E>2?E-2:1,F&&F<=E?U:Im(U,E)):U}},mixin:function(C){return function(A){var E=this;if(!j(E))return C(E,Object(A));var U=[];return k(M(A),function(F){j(A[F])&&U.push([F,E.prototype[F]])}),C(E,Object(A)),k(U,function(F){var Ee=F[1];j(Ee)?E.prototype[F[0]]=Ee:delete E.prototype[F[0]]}),E}},nthArg:function(C){return function(A){var E=A<0?1:he(A)+1;return $(C(A),E)}},rearg:function(C){return function(A,E){var U=E?E.length:0;return $(C(A,E),U)}},runInContext:function(C){return function(A){return Tm(e,C(A),o)}}};function l0(C,A){if(a.cap){var E=be.iterateeRearg[C];if(E)return g0(A,E);var U=!r&&be.iterateeAry[C];if(U)return f0(A,U)}return A}function p0(C,A,E){return c||a.curry&&E>1?$(A,E):A}function Lf(C,A,E){if(a.fixed&&(l||!be.skipFixed[C])){var U=be.methodSpread[C],F=U&&U.start;return F===void 0?v(A,E):eV(A,F)}return A}function Mf(C,A,E){return a.rearg&&E>1&&(m||!be.skipRearg[C])?ce(A,be.methodRearg[C]||be.aryRearg[E]):A}function d0(C,A){A=je(A);for(var E=-1,U=A.length,F=U-1,Ee=x(Object(C)),Xe=Ee;Xe!=null&&++E<U;){var Be=A[E],et=Xe[Be];et!=null&&!(j(et)||z(et)||W(et))&&(Xe[Be]=x(E==F?et:Object(et))),Xe=Xe[Be]}return Ee}function m0(C){return We.runInContext.convert(C)(void 0)}function Zf(C,A){var E=be.aliasToReal[C]||C,U=be.remap[E]||E,F=o;return function(Ee){var Xe=r?u:h,Be=r?u[U]:A,et=g(g({},F),Ee);return Tm(Xe,E,Be,et)}}function f0(C,A){return Wf(C,function(E){return typeof E=="function"?Im(E,A):E})}function g0(C,A){return Wf(C,function(E){var U=A.length;return QH(ce(Im(E,U),A),U)})}function Wf(C,A){return function(){var E=arguments.length;if(!E)return C();for(var U=Array(E);E--;)U[E]=arguments[E];var F=a.rearg?0:E-1;return U[F]=A(U[F]),C.apply(void 0,U)}}function Ff(C,A,E){var U,F=be.aliasToReal[C]||C,Ee=A,Xe=c0[F];return Xe?Ee=Xe(A):a.immutable&&(be.mutate.array[F]?Ee=Pm(A,gI):be.mutate.object[F]?Ee=Pm(A,XH(A)):be.mutate.set[F]&&(Ee=Pm(A,d0))),k(ft,function(Be){return k(be.aryMethod[Be],function(et){if(F==et){var Hf=be.methodSpread[F],h0=Hf&&Hf.afterRearg;return U=h0?Lf(F,Mf(F,Ee,Be),Be):Mf(F,Lf(F,Ee,Be),Be),U=l0(F,U),U=p0(F,U,Be),!1}}),!U}),U||(U=Ee),U==A&&(U=c?$(U,1):function(){return A.apply(this,arguments)}),U.convert=Zf(F,A),U.placeholder=A.placeholder=E,U}if(!i)return Ff(t,n,s);var We=n,_n=[];return k(ft,function(C){k(be.aryMethod[C],function(A){var E=We[be.remap[A]||A];E&&_n.push([A,Ff(A,E,We)])})}),k(M(We),function(C){var A=We[C];if(typeof A=="function"){for(var E=_n.length;E--;)if(_n[E][0]==C)return;A.convert=Zf(C,A),_n.push([C,A])}}),k(_n,function(C){We[C[0]]=C[1]}),We.convert=m0,We.placeholder=We,k(M(We),function(C){k(be.realToAlias[C]||[],function(A){We[A]=We[C]})}),We}hI.exports=Tm});var Am=p((Yoe,yI)=>{var _I=jd(),tV=_I&&new _I;yI.exports=tV});var Om=p((Qoe,xI)=>{var rV=Co(),bI=Am(),nV=bI?function(e,t){return bI.set(e,t),e}:rV;xI.exports=nV});var Uo=p((Xoe,$I)=>{var oV=qo(),iV=Le();function aV(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=oV(e.prototype),o=e.apply(n,t);return iV(o)?o:n}}$I.exports=aV});var kI=p((eie,SI)=>{var sV=Uo(),uV=Ae(),cV=1;function lV(e,t,n){var o=t&cV,r=sV(e);function i(){var a=this&&this!==uV&&this instanceof i?r:e;return a.apply(o?n:this,arguments)}return i}SI.exports=lV});var jm=p((tie,wI)=>{var pV=Math.max;function dV(e,t,n,o){for(var r=-1,i=e.length,a=n.length,s=-1,c=t.length,l=pV(i-a,0),m=Array(c+l),u=!o;++s<c;)m[s]=t[s];for(;++r<a;)(u||r<i)&&(m[n[r]]=e[r]);for(;l--;)m[s++]=e[r++];return m}wI.exports=dV});var Em=p((rie,zI)=>{var mV=Math.max;function fV(e,t,n,o){for(var r=-1,i=e.length,a=-1,s=n.length,c=-1,l=t.length,m=mV(i-s,0),u=Array(m+l),h=!o;++r<m;)u[r]=e[r];for(var v=r;++c<l;)u[v+c]=t[c];for(;++a<s;)(h||r<i)&&(u[v+n[a]]=e[r++]);return u}zI.exports=fV});var PI=p((nie,II)=>{function gV(e,t){for(var n=e.length,o=0;n--;)e[n]===t&&++o;return o}II.exports=gV});var zs=p((oie,TI)=>{function hV(){}TI.exports=hV});var Ps=p((iie,AI)=>{var vV=qo(),_V=zs(),yV=4294967295;function Is(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=yV,this.__views__=[]}Is.prototype=vV(_V.prototype);Is.prototype.constructor=Is;AI.exports=Is});var jI=p((aie,OI)=>{function bV(){}OI.exports=bV});var Rm=p((sie,RI)=>{var EI=Am(),xV=jI(),$V=EI?function(e){return EI.get(e)}:xV;RI.exports=$V});var NI=p((uie,CI)=>{var SV={};CI.exports=SV});var UI=p((cie,qI)=>{var DI=NI(),kV=Object.prototype,wV=kV.hasOwnProperty;function zV(e){for(var t=e.name+"",n=DI[t],o=wV.call(DI,t)?n.length:0;o--;){var r=n[o],i=r.func;if(i==null||i==e)return r.name}return t}qI.exports=zV});var Cm=p((lie,LI)=>{var IV=qo(),PV=zs();function Ts(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}Ts.prototype=IV(PV.prototype);Ts.prototype.constructor=Ts;LI.exports=Ts});var ZI=p((pie,MI)=>{var TV=Ps(),AV=Cm(),OV=cn();function jV(e){if(e instanceof TV)return e.clone();var t=new AV(e.__wrapped__,e.__chain__);return t.__actions__=OV(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}MI.exports=jV});var HI=p((die,FI)=>{var EV=Ps(),WI=Cm(),RV=zs(),CV=ve(),NV=Me(),DV=ZI(),qV=Object.prototype,UV=qV.hasOwnProperty;function As(e){if(NV(e)&&!CV(e)&&!(e instanceof EV)){if(e instanceof WI)return e;if(UV.call(e,"__wrapped__"))return DV(e)}return new WI(e)}As.prototype=RV.prototype;As.prototype.constructor=As;FI.exports=As});var BI=p((mie,VI)=>{var LV=Ps(),MV=Rm(),ZV=UI(),WV=HI();function FV(e){var t=ZV(e),n=WV[t];if(typeof n!="function"||!(t in LV.prototype))return!1;if(e===n)return!0;var o=MV(n);return!!o&&e===o[0]}VI.exports=FV});var Nm=p((fie,GI)=>{var HV=Om(),VV=km(),BV=VV(HV);GI.exports=BV});var KI=p((gie,JI)=>{var GV=/\{\n\/\* \[wrapped with (.+)\] \*/,JV=/,? & /;function KV(e){var t=e.match(GV);return t?t[1].split(JV):[]}JI.exports=KV});var QI=p((hie,YI)=>{var YV=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function QV(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(YV,`{
|
|
1076
|
+
/* [wrapped with `+t+`] */
|
|
1077
|
+
`)}YI.exports=QV});var eP=p((vie,XI)=>{var XV=dm();function e9(e,t){var n=e==null?0:e.length;return!!n&&XV(e,t,0)>-1}XI.exports=e9});var rP=p((_ie,tP)=>{var t9=$s(),r9=eP(),n9=1,o9=2,i9=8,a9=16,s9=32,u9=64,c9=128,l9=256,p9=512,d9=[["ary",c9],["bind",n9],["bindKey",o9],["curry",i9],["curryRight",a9],["flip",p9],["partial",s9],["partialRight",u9],["rearg",l9]];function m9(e,t){return t9(d9,function(n){var o="_."+n[0];t&n[1]&&!r9(e,o)&&e.push(o)}),e.sort()}tP.exports=m9});var Dm=p((yie,nP)=>{var f9=KI(),g9=QI(),h9=xs(),v9=rP();function _9(e,t,n){var o=t+"";return h9(e,g9(o,v9(f9(o),n)))}nP.exports=_9});var qm=p((bie,aP)=>{var y9=BI(),b9=Nm(),x9=Dm(),$9=1,S9=2,k9=4,w9=8,oP=32,iP=64;function z9(e,t,n,o,r,i,a,s,c,l){var m=t&w9,u=m?a:void 0,h=m?void 0:a,v=m?i:void 0,g=m?void 0:i;t|=m?oP:iP,t&=~(m?iP:oP),t&k9||(t&=~($9|S9));var x=[e,t,r,v,u,g,h,s,c,l],$=n.apply(void 0,x);return y9(e)&&b9($,x),$.placeholder=o,x9($,e,t)}aP.exports=z9});var Um=p((xie,sP)=>{function I9(e){var t=e;return t.placeholder}sP.exports=I9});var cP=p(($ie,uP)=>{var P9=cn(),T9=tr(),A9=Math.min;function O9(e,t){for(var n=e.length,o=A9(t.length,n),r=P9(e);o--;){var i=t[o];e[o]=T9(i,n)?r[i]:void 0}return e}uP.exports=O9});var Os=p((Sie,pP)=>{var lP="__lodash_placeholder__";function j9(e,t){for(var n=-1,o=e.length,r=0,i=[];++n<o;){var a=e[n];(a===t||a===lP)&&(e[n]=lP,i[r++]=n)}return i}pP.exports=j9});var Lm=p((kie,fP)=>{var E9=jm(),R9=Em(),C9=PI(),dP=Uo(),N9=qm(),D9=Um(),q9=cP(),U9=Os(),L9=Ae(),M9=1,Z9=2,W9=8,F9=16,H9=128,V9=512;function mP(e,t,n,o,r,i,a,s,c,l){var m=t&H9,u=t&M9,h=t&Z9,v=t&(W9|F9),g=t&V9,x=h?void 0:dP(e);function $(){for(var k=arguments.length,b=Array(k),z=k;z--;)b[z]=arguments[z];if(v)var j=D9($),W=C9(b,j);if(o&&(b=E9(b,o,r,v)),i&&(b=R9(b,i,a,v)),k-=W,v&&k<l){var M=U9(b,j);return N9(e,t,mP,$.placeholder,n,b,M,s,c,l-k)}var ce=u?n:this,he=h?ce[e]:e;return k=b.length,s?b=q9(b,s):g&&k>1&&b.reverse(),m&&c<k&&(b.length=c),this&&this!==L9&&this instanceof $&&(he=x||dP(he)),he.apply(ce,b)}return $}fP.exports=mP});var hP=p((wie,gP)=>{var B9=bs(),G9=Uo(),J9=Lm(),K9=qm(),Y9=Um(),Q9=Os(),X9=Ae();function eB(e,t,n){var o=G9(e);function r(){for(var i=arguments.length,a=Array(i),s=i,c=Y9(r);s--;)a[s]=arguments[s];var l=i<3&&a[0]!==c&&a[i-1]!==c?[]:Q9(a,c);if(i-=l.length,i<n)return K9(e,t,J9,r.placeholder,void 0,a,l,void 0,void 0,n-i);var m=this&&this!==X9&&this instanceof r?o:e;return B9(m,this,a)}return r}gP.exports=eB});var _P=p((zie,vP)=>{var tB=bs(),rB=Uo(),nB=Ae(),oB=1;function iB(e,t,n,o){var r=t&oB,i=rB(e);function a(){for(var s=-1,c=arguments.length,l=-1,m=o.length,u=Array(m+c),h=this&&this!==nB&&this instanceof a?i:e;++l<m;)u[l]=o[l];for(;c--;)u[l++]=arguments[++s];return tB(h,r?n:this,u)}return a}vP.exports=iB});var kP=p((Iie,SP)=>{var aB=jm(),sB=Em(),yP=Os(),bP="__lodash_placeholder__",Mm=1,uB=2,cB=4,xP=8,Lo=128,$P=256,lB=Math.min;function pB(e,t){var n=e[1],o=t[1],r=n|o,i=r<(Mm|uB|Lo),a=o==Lo&&n==xP||o==Lo&&n==$P&&e[7].length<=t[8]||o==(Lo|$P)&&t[7].length<=t[8]&&n==xP;if(!(i||a))return e;o&Mm&&(e[2]=t[2],r|=n&Mm?0:cB);var s=t[3];if(s){var c=e[3];e[3]=c?aB(c,s,t[4]):s,e[4]=c?yP(e[3],bP):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?sB(c,s,t[6]):s,e[6]=c?yP(e[5],bP):t[6]),s=t[7],s&&(e[7]=s),o&Lo&&(e[8]=e[8]==null?t[8]:lB(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}SP.exports=pB});var js=p((Pie,TP)=>{var dB=Om(),mB=kI(),fB=hP(),gB=Lm(),hB=_P(),vB=Rm(),_B=kP(),yB=Nm(),bB=Dm(),wP=sn(),xB="Expected a function",zP=1,$B=2,Zm=8,Wm=16,Fm=32,IP=64,PP=Math.max;function SB(e,t,n,o,r,i,a,s){var c=t&$B;if(!c&&typeof e!="function")throw new TypeError(xB);var l=o?o.length:0;if(l||(t&=~(Fm|IP),o=r=void 0),a=a===void 0?a:PP(wP(a),0),s=s===void 0?s:wP(s),l-=r?r.length:0,t&IP){var m=o,u=r;o=r=void 0}var h=c?void 0:vB(e),v=[e,t,n,o,r,m,u,i,a,s];if(h&&_B(v,h),e=v[0],t=v[1],n=v[2],o=v[3],r=v[4],s=v[9]=v[9]===void 0?c?0:e.length:PP(v[9]-l,0),!s&&t&(Zm|Wm)&&(t&=~(Zm|Wm)),!t||t==zP)var g=mB(e,t,n);else t==Zm||t==Wm?g=fB(e,t,s):(t==Fm||t==(zP|Fm))&&!r.length?g=hB(e,t,n,o):g=gB.apply(void 0,v);var x=h?dB:yB;return bB(x(g,v),e,t)}TP.exports=SB});var OP=p((Tie,AP)=>{var kB=js(),wB=128;function zB(e,t,n){return t=n?void 0:t,t=e&&t==null?e.length:t,kB(e,wB,void 0,void 0,void 0,void 0,t)}AP.exports=zB});var EP=p((Aie,jP)=>{var IB=ks(),PB=4;function TB(e){return IB(e,PB)}jP.exports=TB});var CP=p((Oie,RP)=>{var AB=js(),OB=8;function Hm(e,t,n){t=n?void 0:t;var o=AB(e,OB,void 0,void 0,void 0,void 0,void 0,t);return o.placeholder=Hm.placeholder,o}Hm.placeholder={};RP.exports=Hm});var DP=p((jie,NP)=>{var jB=_t(),EB=Me(),RB=xm(),CB="[object DOMException]",NB="[object Error]";function DB(e){if(!EB(e))return!1;var t=jB(e);return t==NB||t==CB||typeof e.message=="string"&&typeof e.name=="string"&&!RB(e)}NP.exports=DB});var UP=p((Eie,qP)=>{var qB=Et(),UB=Me(),LB="[object WeakMap]";function MB(e){return UB(e)&&qB(e)==LB}qP.exports=MB});var MP=p((Rie,LP)=>{var ZB=ks(),WB=Ct(),FB=1;function HB(e){return WB(typeof e=="function"?e:ZB(e,FB))}LP.exports=HB});var HP=p((Cie,FP)=>{var ZP=Yt(),VB=Kr(),BB=ve(),WP=ZP?ZP.isConcatSpreadable:void 0;function GB(e){return BB(e)||VB(e)||!!(WP&&e&&e[WP])}FP.exports=GB});var GP=p((Nie,BP)=>{var JB=ds(),KB=HP();function VP(e,t,n,o,r){var i=-1,a=e.length;for(n||(n=KB),r||(r=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?VP(s,t-1,n,o,r):JB(r,s):o||(r[r.length]=s)}return r}BP.exports=VP});var KP=p((Die,JP)=>{var YB=GP();function QB(e){var t=e==null?0:e.length;return t?YB(e,1):[]}JP.exports=QB});var QP=p((qie,YP)=>{var XB=KP(),e3=Sm(),t3=xs();function r3(e){return t3(e3(e,void 0,XB),e+"")}YP.exports=r3});var eT=p((Uie,XP)=>{var n3=js(),o3=QP(),i3=256,a3=o3(function(e,t){return n3(e,i3,void 0,void 0,void 0,t)});XP.exports=a3});var rT=p((Lie,tT)=>{var s3=Po(),u3=cn(),c3=ve(),l3=Xt(),p3=Yd(),d3=Rt(),m3=er();function f3(e){return c3(e)?s3(e,d3):l3(e)?[e]:u3(p3(m3(e)))}tT.exports=f3});var oT=p((Mie,nT)=>{nT.exports={ary:OP(),assign:wm(),clone:EP(),curry:CP(),forEach:$s(),isArray:ve(),isError:DP(),isFunction:Gr(),isWeakMap:UP(),iteratee:MP(),keys:ns(),rearg:eT(),toInteger:sn(),toPath:rT()}});var Vm=p((Zie,iT)=>{var g3=vI(),h3=oT();function v3(e,t,n){return g3(h3,e,t,n)}iT.exports=v3});var uT=p((Wie,sT)=>{var _3=ys(),y3=Eo(),b3=tr(),aT=Le(),x3=Rt();function $3(e,t,n,o){if(!aT(e))return e;t=y3(t,e);for(var r=-1,i=t.length,a=i-1,s=e;s!=null&&++r<i;){var c=x3(t[r]),l=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(r!=a){var m=s[c];l=o?o(m,c,s):void 0,l===void 0&&(l=aT(m)?m:b3(t[r+1])?[]:{})}_3(s,c,l),s=s[c]}return e}sT.exports=$3});var lT=p((Fie,cT)=>{var S3=uT();function k3(e,t,n){return e==null?e:S3(e,t,n)}cT.exports=k3});var mT=p((Hie,dT)=>{var w3=Vm(),pT=w3("set",lT());pT.placeholder=ws();dT.exports=pT});var Bm=p((Vie,fT)=>{function z3(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}fT.exports=z3});var hT=p((Bie,gT)=>{var I3=ls(),P3=Md();function T3(e,t){return t.length<2?e:I3(e,P3(t,0,-1))}gT.exports=T3});var Gm=p((Gie,_T)=>{var A3=Eo(),O3=Bm(),j3=hT(),vT=Rt(),E3=Object.prototype,R3=E3.hasOwnProperty;function C3(e,t){t=A3(t,e);var n=-1,o=t.length;if(!o)return!0;for(;++n<o;){var r=vT(t[n]);if(r==="__proto__"&&!R3.call(e,"__proto__")||(r==="constructor"||r==="prototype")&&n<o-1)return!1}var i=j3(e,t);return i==null||delete i[vT(O3(t))]}_T.exports=C3});var bT=p((Jie,yT)=>{var N3=Gm();function D3(e,t){return e==null?!0:N3(e,t)}yT.exports=D3});var ST=p((Kie,$T)=>{var q3=Vm(),xT=q3("unset",bT());xT.placeholder=ws();$T.exports=xT});var wT=p((Yie,kT)=>{var U3=Xt();function L3(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&&!U3(a):n(a,s)))var s=a,c=i}return c}kT.exports=L3});var IT=p((Qie,zT)=>{function M3(e,t){return e>t}zT.exports=M3});var Jm=p((Xie,PT)=>{var Z3=wT(),W3=IT(),F3=Ct();function H3(e,t){return e&&e.length?Z3(e,F3(t,2),W3):void 0}PT.exports=H3});var AT=p((eae,TT)=>{var V3=Gm(),B3=tr(),G3=Array.prototype,J3=G3.splice;function K3(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;B3(r)?J3.call(e,r,1):V3(e,r)}}return e}TT.exports=K3});var jT=p((tae,OT)=>{var Y3=Ct(),Q3=AT();function X3(e,t){var n=[];if(!(e&&e.length))return n;var o=-1,r=[],i=e.length;for(t=Y3(t,3);++o<i;){var a=e[o];t(a,o,e)&&(n.push(a),r.push(o))}return Q3(e,r),n}OT.exports=X3});var RT=p((rae,ET)=>{function e8(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=e8});var NT=p((nae,CT)=>{var t8=RT(),r8=Ld(),n8=sn(),o8=er();function i8(e,t,n){e=o8(e),t=r8(t);var o=e.length;n=n===void 0?o:t8(n8(n),0,o);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}CT.exports=i8});var qT=p((oae,DT)=>{function a8(e,t,n,o,r){return r(e,function(i,a,s){n=o?(o=!1,i):t(n,i,a,s)}),n}DT.exports=a8});var LT=p((iae,UT)=>{var s8=Ud(),u8=gm(),c8=Ct(),l8=qT(),p8=ve();function d8(e,t,n){var o=p8(e)?s8:l8,r=arguments.length<3;return o(e,c8(t,4),n,r,u8)}UT.exports=d8});var ZT=p((aae,MT)=>{var m8=Po();function f8(e,t){return m8(t,function(n){return[n,e[n]]})}MT.exports=f8});var FT=p((sae,WT)=>{function g8(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=[o,o]}),n}WT.exports=g8});var VT=p((uae,HT)=>{var h8=ZT(),v8=Et(),_8=rm(),y8=FT(),b8="[object Map]",x8="[object Set]";function $8(e){return function(t){var n=v8(t);return n==b8?_8(t):n==x8?y8(t):h8(t,e(t))}}HT.exports=$8});var GT=p((cae,BT)=>{var S8=VT(),k8=lt(),w8=S8(k8);BT.exports=w8});var KT=p((lae,JT)=>{function z8(e){return e===void 0}JT.exports=z8});var GA=p((Pae,BA)=>{var eJ=Ae(),tJ=function(){return eJ.Date.now()};BA.exports=tJ});var YA=p((Tae,KA)=>{var rJ=Le(),Rf=GA(),JA=Bd(),nJ="Expected a function",oJ=Math.max,iJ=Math.min;function aJ(e,t,n){var o,r,i,a,s,c,l=0,m=!1,u=!1,h=!0;if(typeof e!="function")throw new TypeError(nJ);t=JA(t)||0,rJ(n)&&(m=!!n.leading,u="maxWait"in n,i=u?oJ(JA(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h);function v(M){var ce=o,he=r;return o=r=void 0,l=M,a=e.apply(he,ce),a}function g(M){return l=M,s=setTimeout(k,t),m?v(M):a}function x(M){var ce=M-c,he=M-l,je=t-ce;return u?iJ(je,i-he):je}function $(M){var ce=M-c,he=M-l;return c===void 0||ce>=t||ce<0||u&&he>=i}function k(){var M=Rf();if($(M))return b(M);s=setTimeout(k,x(M))}function b(M){return s=void 0,h&&o?v(M):(o=r=void 0,a)}function z(){s!==void 0&&clearTimeout(s),l=0,o=c=r=s=void 0}function j(){return s===void 0?a:b(Rf())}function W(){var M=Rf(),ce=$(M);if(o=arguments,r=this,c=M,ce){if(s===void 0)return g(c);if(u)return clearTimeout(s),s=setTimeout(k,t),v(c)}return s===void 0&&(s=setTimeout(k,t)),a}return W.cancel=z,W.flush=j,W}KA.exports=aJ});var xn,D,Jf,k0,St,Vf,Kf,Yf,Js,Jo,yn,Qf,eu,Ks,Ys,Xf,Ko={},Yo=[],w0=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$n=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?xn.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 bn(e,a,o,r,null)}function bn(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 z0(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)&&!Qo.__r++||Vf!=D.debounceRendering)&&((Vf=D.debounceRendering)||Kf)(Qo)}function Qo(){try{for(var e,t=1;St.length;)St.length>t&&St.sort(Yf),e=St.shift(),t=St.length,z0(e)}finally{St.length=Qo.__r=0}}function tg(e,t,n,o,r,i,a,s,c,l,m){var u,h,v,g,x,$,k,b=o&&o.__k||Yo,z=t.length;for(c=I0(n,t,b,c,z),u=0;u<z;u++)(v=n.__k[u])!=null&&(h=v.__i!=-1&&b[v.__i]||Ko,v.__i=u,$=nu(e,v,h,r,i,a,s,c,l,m),g=v.__e,v.ref&&h.ref!=v.ref&&(h.ref&&ou(h.ref,null,v),m.push(v.ref,v.__c||g,v)),x==null&&g!=null&&(x=g),(k=!!(4&v.__u))||h.__k===v.__k?(c=rg(v,c,e,k),k&&h.__e&&(h.__e=null)):typeof v.type=="function"&&$!==void 0?c=$:g&&(c=g.nextSibling),v.__u&=-7);return n.__e=x,c}function I0(e,t,n,o,r){var i,a,s,c,l,m=n.length,u=m,h=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]=bn(null,a,null,null,null):$n(a)?a=e.__k[i]=bn(K,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?a=e.__k[i]=bn(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,c=i+h,a.__=e,a.__b=e.__b+1,s=null,(l=a.__i=P0(a,n,c,u))!=-1&&(u--,(s=n[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(r>m?h--:r<m&&h++),typeof a.type!="function"&&(a.__u|=4)):l!=c&&(l==c-1?h--:l==c+1?h++:(l>c?h--:h++,a.__u|=4))):e.__k[i]=null;if(u)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"||($n(e)?e.some(function(n){rt(n,t)}):t.push(e)),t}function P0(e,t,n,o){var r,i,a,s=e.key,c=e.type,l=t[n],m=l!=null&&(2&l.__u)==0;if(l===null&&s==null||m&&s==l.key&&c==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&&c==l.type)return a}return-1}function Bf(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||w0.test(t)?n:n+"px"}function Go(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[yn]=o[yn]:(n[yn]=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[Jo]==null)t[Jo]=eu++;else if(t[Jo]<n[yn])return;return n(D.event?D.event(t):t)}}}function nu(e,t,n,o,r,i,a,s,c,l){var m,u,h,v,g,x,$,k,b,z,j,W,M,ce,he,je=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),i=[s=t.__e=n.__e]),(m=D.__b)&&m(t);e:if(typeof je=="function")try{if(k=t.props,b=je.prototype&&je.prototype.render,z=(m=je.contextType)&&o[m.__c],j=m?z?z.props.value:m.__:o,n.__c?$=(u=t.__c=n.__c).__=u.__E:(b?t.__c=u=new je(k,j):(t.__c=u=new Ne(k,j),u.constructor=je,u.render=A0),z&&z.sub(u),u.state||(u.state={}),u.__n=o,h=u.__d=!0,u.__h=[],u._sb=[]),b&&u.__s==null&&(u.__s=u.state),b&&je.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=tt({},u.__s)),tt(u.__s,je.getDerivedStateFromProps(k,u.__s))),v=u.props,g=u.state,u.__v=t,h)b&&je.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),b&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(b&&je.getDerivedStateFromProps==null&&k!==v&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(k,j),t.__v==n.__v||!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(k,u.__s,j)===!1){t.__v!=n.__v&&(u.props=k,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(ft){ft&&(ft.__=t)}),Yo.push.apply(u.__h,u._sb),u._sb=[],u.__h.length&&a.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(k,u.__s,j),b&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(v,g,x)})}if(u.context=j,u.props=k,u.__P=e,u.__e=!1,W=D.__r,M=0,b)u.state=u.__s,u.__d=!1,W&&W(t),m=u.render(u.props,u.state,u.context),Yo.push.apply(u.__h,u._sb),u._sb=[];else do u.__d=!1,W&&W(t),m=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++M<25);u.state=u.__s,u.getChildContext!=null&&(o=tt(tt({},o),u.getChildContext())),b&&!h&&u.getSnapshotBeforeUpdate!=null&&(x=u.getSnapshotBeforeUpdate(v,g)),ce=m!=null&&m.type===K&&m.key==null?og(m.props.children):m,s=tg(e,$n(ce)?ce:[ce],t,n,o,r,i,a,s,c,l),u.base=t.__e,t.__u&=-161,u.__h.length&&a.push(u),$&&(u.__E=u.__=null)}catch(ft){if(t.__v=null,c||i!=null)if(ft.then){for(t.__u|=c?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else{for(he=i.length;he--;)tu(i[he]);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=T0(n.__e,t,n,o,r,i,a,c,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:$n(e)?e.map(og):e.constructor!==void 0?null:tt({},e)}function T0(e,t,n,o,r,i,a,s,c){var l,m,u,h,v,g,x,$=n.props||Ko,k=t.props,b=t.type;if(b=="svg"?r="http://www.w3.org/2000/svg":b=="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==!!b&&(b?v.localName==b:v.nodeType==3)){e=v,i[l]=null;break}}if(e==null){if(b==null)return document.createTextNode(k);e=document.createElementNS(r,b,k.is&&k),s&&(D.__m&&D.__m(t,i),s=!1),i=null}if(b==null)$===k||s&&e.data==k||(e.data=k);else{if(i=b=="textarea"&&k.defaultValue!=null?null:i&&xn.call(e.childNodes),!s&&i!=null)for($={},l=0;l<e.attributes.length;l++)$[(v=e.attributes[l]).name]=v.value;for(l in $)v=$[l],l=="dangerouslySetInnerHTML"?u=v:l=="children"||l in k||l=="value"&&"defaultValue"in k||l=="checked"&&"defaultChecked"in k||Go(e,l,null,v,r);for(l in k)v=k[l],l=="children"?h=v:l=="dangerouslySetInnerHTML"?m=v:l=="value"?g=v:l=="checked"?x=v:s&&typeof v!="function"||$[l]===v||Go(e,l,v,$[l],r);if(m)s||u&&(m.__html==u.__html||m.__html==e.innerHTML)||(e.innerHTML=m.__html),t.__k=[];else if(u&&(e.innerHTML=""),tg(t.type=="template"?e.content:e,$n(h)?h:[h],t,n,o,b=="foreignObject"?"http://www.w3.org/1999/xhtml":r,i,a,i?i[0]:n.__k&&or(n,0),s,c),i!=null)for(l=i.length;l--;)tu(i[l]);s&&b!="textarea"||(l="value",b=="progress"&&g==null?e.removeAttribute("value"):g!=null&&(g!==e[l]||b=="progress"&&!g||b=="option"&&g!=$[l])&&Go(e,l,g,$[l],r),l="checked",x!=null&&x!=e[l]&&Go(e,l,x,$[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 A0(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||Ko,Ko,t.namespaceURI,!o&&n?[n]:r?null:t.firstChild?xn.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?xn.call(arguments,2):n),bn(e.type,s,o||e.key,r||e.ref,null)}function Sn(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}xn=Yo.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,k0=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},Qo.__r=0,Js=Math.random().toString(8),Jo="__d"+Js,yn="__a"+Js,Qf=/(PointerCapture)$|Capture$/i,eu=0,Ks=Gf(!1),Ys=Gf(!0),Xf=0;var kt,se,au,sg,ar=0,gg=[],le=D,ug=le.__b,cg=le.__r,lg=le.diffed,pg=le.__c,dg=le.unmount,mg=le.__;function sr(e,t){le.__h&&le.__h(se,e,ar||t),ar=0;var n=se.__H||(se.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Pe(e){return ar=1,qt(hg,e)}function qt(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 c=o.__N?o.__N[0]:o.__[0],l=o.t(c,s);c!==l&&(o.__N=[l,o.__[1]],o.__c.setState({}))}],o.__c=se,!se.__f)){var r=function(s,c,l){if(!o.__c.__H)return!0;var m=o.__c.__H.__.filter(function(h){return h.__c});if(m.every(function(h){return!h.__N}))return!i||i.call(this,s,c,l);var u=o.__c.props!==s;return m.some(function(h){if(h.__N){var v=h.__[0];h.__=h.__N,h.__N=void 0,v!==h.__[0]&&(u=!0)}}),i&&i.call(this,s,c,l)||u};se.__f=!0;var i=se.shouldComponentUpdate,a=se.componentWillUpdate;se.componentWillUpdate=function(s,c,l){if(this.__e){var m=i;i=void 0,r(s,c,l),i=m}a&&a.call(this,s,c,l)},se.shouldComponentUpdate=r}return o.__N||o.__}function Re(e,t){var n=sr(kt++,3);!le.__s&&pu(n.__H,t)&&(n.__=e,n.u=t,se.__H.__h.push(n))}function ur(e,t){var n=sr(kt++,4);!le.__s&&pu(n.__H,t)&&(n.__=e,n.u=t,se.__h.push(n))}function nt(e){return ar=5,Se(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 Se(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,Se(function(){return e},t)}function Ut(e){var t=se.context[e.__c],n=sr(kt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(se)),t.props.value):e.__}function cu(e,t){le.useDebugValue&&le.useDebugValue(t?t(e):e)}function lu(){var e=sr(kt++,11);if(!e.__){for(var t=se.__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 O0(){for(var e;e=gg.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Xo),t.__h.some(su),t.__h=[]}catch(n){t.__h=[],le.__e(n,e.__v)}}}le.__b=function(e){se=null,ug&&ug(e)},le.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),mg&&mg(e,t)},le.__r=function(e){cg&&cg(e),kt=0;var t=(se=e.__c).__H;t&&(au===se?(t.__h=[],se.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(Xo),t.__h.some(su),t.__h=[],kt=0)),au=se},le.diffed=function(e){lg&&lg(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(gg.push(t)!==1&&sg===le.requestAnimationFrame||((sg=le.requestAnimationFrame)||j0)(O0)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),au=se=null},le.__c=function(e,t){t.some(function(n){try{n.__h.some(Xo),n.__h=n.__h.filter(function(o){return!o.__||su(o)})}catch(o){t.some(function(r){r.__h&&(r.__h=[])}),t=[],le.__e(o,n.__v)}}),pg&&pg(e,t)},le.unmount=function(e){dg&&dg(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(o){try{Xo(o)}catch(r){t=r}}),n.__H=void 0,t&&le.__e(t,n.__v))};var fg=typeof requestAnimationFrame=="function";function j0(e){var t,n=function(){clearTimeout(o),fg&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,35);fg&&(t=requestAnimationFrame(n))}function Xo(e){var t=se,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),se=t}function su(e){var t=se;e.__c=e.__(),se=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=Pe({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]),Re(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 E0(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 R0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function C0(e){function t(n){var o=wg({},n);return delete o.ref,e(o,n.ref||null)}return t.$$typeof=R0,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))},N0={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},D0=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)}D0(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 ei(){this.__u=0,this.o=null,this.__b=null}function Eg(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function q0(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 kn(){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)},(ei.prototype=new Ne).__c=function(e,t){var n=t.__c,o=this;o.o==null&&(o.o=[]),o.o.push(n);var r=Eg(o.__v),i=!1,a=function(){i||o.__z||(i=!0,n.__R=null,r?r(c):c())};n.__R=a;var s=n.__P;n.__P=null;var c=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)},ei.prototype.componentWillUnmount=function(){this.o=[]},ei.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 U0(e){return this.getChildContext=function(){return e.context},e.children}function L0(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(U0,{context:t.context},e.__v),t.v)}function M0(e,t){var n=Ye(L0,{__v:e,h:t});return n.containerInfo=t,n}(kn.prototype=new Ne).__a=function(e){var t=this,n=Eg(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()}},kn.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},kn.prototype.componentDidUpdate=kn.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){bg(e,n,t)})};var Rg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Z0=/^(?: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]/,W0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,F0=/[A-Z0-9]/g,H0=typeof document<"u",V0=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 Cg(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,B0={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||H0&&a==="children"&&o==="noscript"||a==="class"||a==="className")){var c=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&s===!0?s="":c==="translate"&&s==="no"?s=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?a="ondblclick":c!=="onchange"||o!=="input"&&o!=="textarea"||V0(n.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":W0.test(a)&&(a=c):c=a="oninput":i&&Z0.test(a)?a=a.replace(F0,"-$&").toLowerCase():s===null&&(s=void 0),c==="oninput"&&r[a=c]&&(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",B0)):n.className&&(r.class=r.className=n.className),t.props=r})(e),e.$$typeof=Rg,$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 G0={ReactCurrentDispatcher:{current:{readContext:function(e){return hu.__n[e.__c].props.value},useCallback:Ge,useContext:Ut,useDebugValue:cu,useDeferredValue:Pg,useEffect:Re,useId:lu,useImperativeHandle:uu,useInsertionEffect:Ag,useLayoutEffect:ur,useMemo:Se,useReducer:qt,useRef:nt,useState:Pe,useSyncExternalStore:zg,useTransition:Tg}}};function J0(e){return Ye.bind(null,e)}function ti(e){return!!e&&e.$$typeof===Rg}function K0(e){return ti(e)&&e.type===K}function Y0(e){return!!e&&typeof e.displayName=="string"&&e.displayName.indexOf("Memo(")==0}function Q0(e){return ti(e)?ag.apply(null,arguments):e}function vu(e){return!!e.__k&&(ir(null,e),!0)}function X0(e){return e&&(e.base||e.nodeType===1&&e)||null}var eO=function(e,t){return e(t)},tO=function(e,t){var n=D.debounceRendering;D.debounceRendering=function(r){return r()};var o=e(t);return D.debounceRendering=n,o},rO=ti,ee={useState:Pe,useId:lu,useReducer:qt,useEffect:Re,useLayoutEffect:ur,useInsertionEffect:Ag,useTransition:Tg,useDeferredValue:Pg,useSyncExternalStore:zg,startTransition:Ig,useRef:nt,useImperativeHandle:uu,useMemo:Se,useCallback:Ge,useContext:Ut,useDebugValue:cu,version:"18.3.1",Children:N0,render:gu,hydrate:Cg,unmountComponentAtNode:vu,createPortal:M0,createElement:Ye,createContext:Sn,createFactory:J0,cloneElement:Q0,createRef:ru,Fragment:K,isValidElement:ti,isElement:rO,isFragment:K0,isMemo:Y0,findDOMNode:X0,Component:Ne,PureComponent:fu,memo:E0,forwardRef:C0,flushSync:tO,unstable_batchedUpdates:eO,StrictMode:K,Suspense:ei,SuspenseList:kn,lazy:q0,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:G0};var nO=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":nO.has(e)?e==="finalized"?"ok":"bad":e==="active"||e==="successful"?"ok":Dg.has(e)?"run":"wait":"wait"}var oO=new Set([...Dg,...qg,"pending","creating_approval"]),Lg=e=>!!e&&oO.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}so();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(),g7=ke({ttl:B().optional(),pollInterval:B().optional()}),K1=T({ttl:B().optional()}),Y1=T({taskId:y()}),id=ke({progressToken:B_.optional(),[Tt]:Y1.optional()}),Ve=T({_meta:id.optional()}),uo=Ve.extend({task:K1.optional()}),J_=e=>uo.safeParse(e).success,we=T({method:y(),params:Ve.loose().optional()}),Je=T({_meta:id.optional()}),Ke=T({method:y(),params:Je.loose().optional()}),ze=ke({_meta:id.optional()}),Lr=Q([y(),B().int()]),K_=T({jsonrpc:R(Ua),id:Lr,...we.shape}).strict(),ad=e=>K_.safeParse(e).success,Y_=T({jsonrpc:R(Ua),...Ke.shape}).strict(),Q_=e=>Y_.safeParse(e).success,sd=T({jsonrpc:R(Ua),id:Lr,result:ze}).strict(),co=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=T({jsonrpc:R(Ua),id:Lr.optional(),error:T({code:B().int(),message:y(),data:oe().optional()})}).strict();var X_=e=>ud.safeParse(e).success;var ey=Q([K_,Y_,sd,ud]),h7=Q([sd,ud]),La=ze.strict(),Q1=Je.extend({requestId:Lr.optional(),reason:y().optional()}),Ma=Ke.extend({method:R("notifications/cancelled"),params:Q1}),X1=T({src:y(),mimeType:y().optional(),sizes:Z(y()).optional(),theme:Te(["light","dark"]).optional()}),lo=T({icons:Z(X1).optional()}),Ur=T({name:y(),title:y().optional()}),po=Ur.extend({...Ur.shape,...lo.shape,version:y(),websiteUrl:y().optional(),description:y().optional()}),ej=qr(T({applyDefaults:fe().optional()}),X(y(),oe())),tj=ao(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,qr(T({form:ej.optional(),url:ye.optional()}),X(y(),oe()).optional())),rj=ke({list:ye.optional(),cancel:ye.optional(),requests:ke({sampling:ke({createMessage:ye.optional()}).optional(),elicitation:ke({create:ye.optional()}).optional()}).optional()}),nj=ke({list:ye.optional(),cancel:ye.optional(),requests:ke({tools:ke({call:ye.optional()}).optional()}).optional()}),oj=T({experimental:X(y(),ye).optional(),sampling:T({context:ye.optional(),tools:ye.optional()}).optional(),elicitation:tj.optional(),roots:T({listChanged:fe().optional()}).optional(),tasks:rj.optional(),extensions:X(y(),ye).optional()}),ij=Ve.extend({protocolVersion:y(),capabilities:oj,clientInfo:po}),aj=we.extend({method:R("initialize"),params:ij});var sj=T({experimental:X(y(),ye).optional(),logging:ye.optional(),completions:ye.optional(),prompts:T({listChanged:fe().optional()}).optional(),resources:T({subscribe:fe().optional(),listChanged:fe().optional()}).optional(),tools:T({listChanged:fe().optional()}).optional(),tasks:nj.optional(),extensions:X(y(),ye).optional()}),uj=ze.extend({protocolVersion:y(),capabilities:sj,serverInfo:po,instructions:y().optional()}),cj=Ke.extend({method:R("notifications/initialized"),params:Je.optional()});var Mr=we.extend({method:R("ping"),params:Ve.optional()}),lj=T({progress:B(),total:ne(B()),message:ne(y())}),pj=T({...Je.shape,...lj.shape,progressToken:B_}),Za=Ke.extend({method:R("notifications/progress"),params:pj}),dj=Ve.extend({cursor:G_.optional()}),mo=we.extend({params:dj.optional()}),fo=ze.extend({nextCursor:G_.optional()}),mj=Te(["working","input_required","completed","failed","cancelled"]),go=T({taskId:y(),status:mj,ttl:Q([B(),eo()]),createdAt:y(),lastUpdatedAt:y(),pollInterval:ne(B()),statusMessage:ne(y())}),Wa=ze.extend({task:go}),fj=Je.merge(go),ho=Ke.extend({method:R("notifications/tasks/status"),params:fj}),Fa=we.extend({method:R("tasks/get"),params:Ve.extend({taskId:y()})}),Ha=ze.merge(go),Va=we.extend({method:R("tasks/result"),params:Ve.extend({taskId:y()})}),v7=ze.loose(),Ba=mo.extend({method:R("tasks/list")}),Ga=fo.extend({tasks:Z(go)}),Ja=we.extend({method:R("tasks/cancel"),params:Ve.extend({taskId:y()})}),ty=ze.merge(go),ry=T({uri:y(),mimeType:ne(y()),_meta:X(y(),oe()).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}),vo=Te(["user","assistant"]),Zr=T({audience:Z(vo).optional(),priority:B().min(0).max(1).optional(),lastModified:Gt.datetime({offset:!0}).optional()}),iy=T({...Ur.shape,...lo.shape,uri:y(),description:ne(y()),mimeType:ne(y()),size:ne(B()),annotations:Zr.optional(),_meta:ne(ke({}))}),gj=T({...Ur.shape,...lo.shape,uriTemplate:y(),description:ne(y()),mimeType:ne(y()),annotations:Zr.optional(),_meta:ne(ke({}))}),hj=mo.extend({method:R("resources/list")}),ld=fo.extend({resources:Z(iy)}),vj=mo.extend({method:R("resources/templates/list")}),_j=fo.extend({resourceTemplates:Z(gj)}),pd=Ve.extend({uri:y()}),yj=pd,bj=we.extend({method:R("resources/read"),params:yj}),dd=ze.extend({contents:Z(Q([ny,oy]))}),xj=Ke.extend({method:R("notifications/resources/list_changed"),params:Je.optional()}),$j=pd,Sj=we.extend({method:R("resources/subscribe"),params:$j}),kj=pd,wj=we.extend({method:R("resources/unsubscribe"),params:kj}),zj=Je.extend({uri:y()}),Ij=Ke.extend({method:R("notifications/resources/updated"),params:zj}),Pj=T({name:y(),description:ne(y()),required:ne(fe())}),Tj=T({...Ur.shape,...lo.shape,description:ne(y()),arguments:ne(Z(Pj)),_meta:ne(ke({}))}),Aj=mo.extend({method:R("prompts/list")}),Oj=fo.extend({prompts:Z(Tj)}),jj=Ve.extend({name:y(),arguments:X(y(),y()).optional()}),Ej=we.extend({method:R("prompts/get"),params:jj}),md=T({type:R("text"),text:y(),annotations:Zr.optional(),_meta:X(y(),oe()).optional()}),fd=T({type:R("image"),data:cd,mimeType:y(),annotations:Zr.optional(),_meta:X(y(),oe()).optional()}),gd=T({type:R("audio"),data:cd,mimeType:y(),annotations:Zr.optional(),_meta:X(y(),oe()).optional()}),Rj=T({type:R("tool_use"),name:y(),id:y(),input:X(y(),oe()),_meta:X(y(),oe()).optional()}),hd=T({type:R("resource"),resource:Q([ny,oy]),annotations:Zr.optional(),_meta:X(y(),oe()).optional()}),vd=iy.extend({type:R("resource_link")}),Wr=Q([md,fd,gd,vd,hd]),Cj=T({role:vo,content:Wr}),Nj=ze.extend({description:y().optional(),messages:Z(Cj)}),Dj=Ke.extend({method:R("notifications/prompts/list_changed"),params:Je.optional()}),qj=T({title:y().optional(),readOnlyHint:fe().optional(),destructiveHint:fe().optional(),idempotentHint:fe().optional(),openWorldHint:fe().optional()}),Uj=T({taskSupport:Te(["required","optional","forbidden"]).optional()}),Ka=T({...Ur.shape,...lo.shape,description:y().optional(),inputSchema:T({type:R("object"),properties:X(y(),ye).optional(),required:Z(y()).optional()}).catchall(oe()),outputSchema:T({type:R("object"),properties:X(y(),ye).optional(),required:Z(y()).optional()}).catchall(oe()).optional(),annotations:qj.optional(),execution:Uj.optional(),_meta:X(y(),oe()).optional()}),_d=mo.extend({method:R("tools/list")}),Lj=fo.extend({tools:Z(Ka)}),Fr=ze.extend({content:Z(Wr).default([]),structuredContent:X(y(),oe()).optional(),isError:fe().optional()}),_7=Fr.or(ze.extend({toolResult:oe()})),Mj=uo.extend({name:y(),arguments:X(y(),oe()).optional()}),yd=we.extend({method:R("tools/call"),params:Mj}),Zj=Ke.extend({method:R("notifications/tools/list_changed"),params:Je.optional()}),y7=T({autoRefresh:fe().default(!0),debounceMs:B().int().nonnegative().default(300)}),ay=Te(["debug","info","notice","warning","error","critical","alert","emergency"]),Wj=Ve.extend({level:ay}),Fj=we.extend({method:R("logging/setLevel"),params:Wj}),Hj=Je.extend({level:ay,logger:y().optional(),data:oe()}),Vj=Ke.extend({method:R("notifications/message"),params:Hj}),Bj=T({name:y().optional()}),Gj=T({hints:Z(Bj).optional(),costPriority:B().min(0).max(1).optional(),speedPriority:B().min(0).max(1).optional(),intelligencePriority:B().min(0).max(1).optional()}),Jj=T({mode:Te(["auto","required","none"]).optional()}),Kj=T({type:R("tool_result"),toolUseId:y().describe("The unique identifier for the corresponding tool call."),content:Z(Wr).default([]),structuredContent:T({}).loose().optional(),isError:fe().optional(),_meta:X(y(),oe()).optional()}),Yj=oo("type",[md,fd,gd]),qa=oo("type",[md,fd,gd,Rj,Kj]),Qj=T({role:vo,content:Q([qa,Z(qa)]),_meta:X(y(),oe()).optional()}),Xj=uo.extend({messages:Z(Qj),modelPreferences:Gj.optional(),systemPrompt:y().optional(),includeContext:Te(["none","thisServer","allServers"]).optional(),temperature:B().optional(),maxTokens:B().int(),stopSequences:Z(y()).optional(),metadata:ye.optional(),tools:Z(Ka).optional(),toolChoice:Jj.optional()}),eE=we.extend({method:R("sampling/createMessage"),params:Xj}),bd=ze.extend({model:y(),stopReason:ne(Te(["endTurn","stopSequence","maxTokens"]).or(y())),role:vo,content:Yj}),xd=ze.extend({model:y(),stopReason:ne(Te(["endTurn","stopSequence","maxTokens","toolUse"]).or(y())),role:vo,content:Q([qa,Z(qa)])}),tE=T({type:R("boolean"),title:y().optional(),description:y().optional(),default:fe().optional()}),rE=T({type:R("string"),title:y().optional(),description:y().optional(),minLength:B().optional(),maxLength:B().optional(),format:Te(["email","uri","date","date-time"]).optional(),default:y().optional()}),nE=T({type:Te(["number","integer"]),title:y().optional(),description:y().optional(),minimum:B().optional(),maximum:B().optional(),default:B().optional()}),oE=T({type:R("string"),title:y().optional(),description:y().optional(),enum:Z(y()),default:y().optional()}),iE=T({type:R("string"),title:y().optional(),description:y().optional(),oneOf:Z(T({const:y(),title:y()})),default:y().optional()}),aE=T({type:R("string"),title:y().optional(),description:y().optional(),enum:Z(y()),enumNames:Z(y()).optional(),default:y().optional()}),sE=Q([oE,iE]),uE=T({type:R("array"),title:y().optional(),description:y().optional(),minItems:B().optional(),maxItems:B().optional(),items:T({type:R("string"),enum:Z(y())}),default:Z(y()).optional()}),cE=T({type:R("array"),title:y().optional(),description:y().optional(),minItems:B().optional(),maxItems:B().optional(),items:T({anyOf:Z(T({const:y(),title:y()}))}),default:Z(y()).optional()}),lE=Q([uE,cE]),pE=Q([aE,sE,lE]),dE=Q([pE,tE,rE,nE]),mE=uo.extend({mode:R("form").optional(),message:y(),requestedSchema:T({type:R("object"),properties:X(y(),dE),required:Z(y()).optional()})}),fE=uo.extend({mode:R("url"),message:y(),elicitationId:y(),url:y().url()}),gE=Q([mE,fE]),hE=we.extend({method:R("elicitation/create"),params:gE}),vE=Je.extend({elicitationId:y()}),_E=Ke.extend({method:R("notifications/elicitation/complete"),params:vE}),yE=ze.extend({action:Te(["accept","decline","cancel"]),content:ao(e=>e===null?void 0:e,X(y(),Q([y(),B(),fe(),Z(y())])).optional())}),bE=T({type:R("ref/resource"),uri:y()});var xE=T({type:R("ref/prompt"),name:y()}),$E=Ve.extend({ref:Q([xE,bE]),argument:T({name:y(),value:y()}),context:T({arguments:X(y(),y()).optional()}).optional()}),SE=we.extend({method:R("completion/complete"),params:$E});var kE=ze.extend({completion:ke({values:Z(y()).max(100),total:ne(B().int()),hasMore:ne(fe())})}),wE=T({uri:y().startsWith("file://"),name:y().optional(),_meta:X(y(),oe()).optional()}),zE=we.extend({method:R("roots/list"),params:Ve.optional()}),IE=ze.extend({roots:Z(wE)}),PE=Ke.extend({method:R("notifications/roots/list_changed"),params:Je.optional()}),b7=Q([Mr,aj,SE,Fj,Ej,Aj,hj,vj,bj,Sj,wj,yd,_d,Fa,Va,Ba,Ja]),x7=Q([Ma,Za,cj,PE,ho]),$7=Q([La,bd,xd,yE,IE,Ha,Ga,Wa]),S7=Q([Mr,eE,hE,zE,Fa,Va,Ba,Ja]),k7=Q([Ma,Za,Vj,Ij,xj,Zj,Dj,ho,_E]),w7=Q([La,uj,kE,Nj,Oj,ld,_j,dd,Fr,Lj,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 oY=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 RE=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 c=s.message,l=c.id,m=this._requestResolvers.get(l);if(m)if(this._requestResolvers.delete(l),s.type==="response")m(c);else{let u=c,h=new H(u.error.code,u.error.message,u.error.data);m(h)}else{let u=s.type==="response"?"Response":"Error";this._onerror(new Error(`${u} 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),co(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(u=>this._onerror(new Error(`Failed to enqueue error response: ${u}`))):r?.send(m).catch(u=>this._onerror(new Error(`Failed to send an error response: ${u}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(t.id,a);let s=J_(t.params)?t.params.task:void 0,c=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 u={relatedRequestId:t.id};i&&(u.relatedTask={taskId:i}),await this.notification(m,u)},sendRequest:async(m,u,h)=>{if(a.signal.aborted)throw new H(Y.ConnectionClosed,"Request was cancelled");let v={...h,relatedRequestId:t.id};i&&!v.relatedTask&&(v.relatedTask={taskId:i});let g=v.relatedTask?.taskId??i;return g&&c&&await c.updateTaskStatus(g,"input_required"),await this.request(m,u,v)},authInfo:n?.authInfo,requestId:t.id,requestInfo:n?.requestInfo,taskId:i,taskStore:c,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 u={result:m,jsonrpc:"2.0",id:t.id};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:"response",message:u,timestamp:Date.now()},r?.sessionId):await r?.send(u)},async m=>{if(a.signal.aborted)return;let u={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:u,timestamp:Date.now()},r?.sessionId):await r?.send(u)}).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(c){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(c);return}i(o)}_onresponse(t){let n=Number(t.id),o=this._requestResolvers.get(n);if(o){if(this._requestResolvers.delete(n),co(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(co(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),co(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 c=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(l=>setTimeout(l,c)),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:c}=o??{};return new Promise((l,m)=>{let u=b=>{m(b)};if(!this._transport){u(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),s&&this.assertTaskCapability(t.method)}catch(b){u(b);return}o?.signal?.throwIfAborted();let h=this._requestMessageId++,v={...t,jsonrpc:"2.0",id:h};o?.onprogress&&(this._progressHandlers.set(h,o.onprogress),v.params={...t.params,_meta:{...t.params?._meta||{},progressToken:h}}),s&&(v.params={...v.params,task:s}),c&&(v.params={...v.params,_meta:{...v.params?._meta||{},[Tt]:c}});let g=b=>{this._responseHandlers.delete(h),this._progressHandlers.delete(h),this._cleanupTimeout(h),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:h,reason:String(b)}},{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(j=>this._onerror(new Error(`Failed to send cancellation: ${j}`)));let z=b instanceof H?b:new H(Y.RequestTimeout,String(b));m(z)};this._responseHandlers.set(h,b=>{if(!o?.signal?.aborted){if(b instanceof Error)return m(b);try{let z=ra(n,b.result);z.success?l(z.data):m(z.error)}catch(z){m(z)}}}),o?.signal?.addEventListener("abort",()=>{g(o?.signal?.reason)});let x=o?.timeout??RE,$=()=>g(H.fromError(Y.RequestTimeout,"Request timed out",{timeout:x}));this._setupTimeout(h,x,o?.maxTotalTimeout,$,o?.resetTimeoutOnProgress??!1);let k=c?.taskId;if(k){let b=z=>{let j=this._responseHandlers.get(h);j?j(z):this._onerror(new Error(`Response handler missing for side-channeled request ${h}`))};this._requestResolvers.set(h,b),this._enqueueTaskMessage(k,{type:"request",message:v,timestamp:Date.now()}).catch(z=>{this._cleanupTimeout(h),m(z)})}else this._transport.send(v,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(b=>{this._cleanupTimeout(h),m(b)})})}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(c=>this._onerror(c))});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 c=ho.parse({method:"notifications/tasks/status",params:s});await this.notification(c),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 c=await o.getTask(r,n);if(c){let l=ho.parse({method:"notifications/tasks/status",params:c});await this.notification(l),At(c.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}so();so();var nee=(e=>typeof Dt<"u"?Dt:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof Dt<"u"?Dt:t)[n]}):e)(function(e){if(typeof Dt<"u")return Dt.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 c=s.params;this.onEventDispatch(n,c),a.onHandler?.(c);for(let l of[...a.listeners])l(c)})}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)}},CE="2026-01-26";var NE="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!==NE&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}},DE=d.union([d.literal("light"),d.literal("dark")]).describe("Color theme preference for the host environment."),yo=d.union([d.literal("inline"),d.literal("fullscreen"),d.literal("pip")]).describe("Display mode for UI presentation."),qE=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."),UE=d.record(qE.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.`),lee=d.object({method:d.literal("ui/open-link"),params:d.object({url:d.string().describe("URL to open in the host's browser")})}),LE=d.object({isError:d.boolean().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),ME=d.object({isError:d.boolean().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),ZE=d.object({isError:d.boolean().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough(),pee=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.")}),dee=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.")})}),WE=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.")})}),FE=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).")})}),HE=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").')})}),VE=d.object({fonts:d.string().optional()}),BE=d.object({variables:UE.optional().describe("CSS variables for theming the app."),css:VE.optional().describe("CSS blocks that apps can inject.")}),GE=d.object({method:d.literal("ui/resource-teardown"),params:d.object({})}),mee=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.")}),fee=d.object({method:d.literal("ui/notifications/request-teardown"),params:d.object({}).optional()}),JE=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.")}),KE=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(yo).optional().describe("Display modes the app supports.")}),gee=d.object({method:d.literal("ui/notifications/initialized"),params:d.object({}).optional()}),hee=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`)}),vee=d.object({method:d.literal("ui/request-display-mode"),params:d.object({mode:yo.describe("The display mode being requested.")})}),YE=d.object({mode:yo.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),QE=d.union([d.literal("model"),d.literal("app")]).describe("Tool visibility scope - who can access the tool."),_ee=d.object({resourceUri:d.string().optional(),visibility:d.array(QE).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()}),yee=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.')}),bee=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.")})}),xee=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.).")})}),$ee=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.")})}),XE=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:DE.optional().describe("Current color theme preference."),styles:BE.optional().describe("Style configuration for theming the app."),displayMode:yo.optional().describe("How the UI is currently displayed."),availableDisplayModes:d.array(yo).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(),eR=d.object({method:d.literal("ui/notifications/host-context-changed"),params:dy.describe("Partial context update containing only changed fields.")}),See=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.")})}),kee=d.object({method:d.literal("ui/initialize"),params:d.object({appInfo:po.describe("App identification (name and version)."),appCapabilities:KE.describe("Features and capabilities this app provides."),protocolVersion:d.string().describe("Protocol version this app supports.")})}),tR=d.object({protocolVersion:d.string().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:po.describe("Host application identification and version."),hostCapabilities:JE.describe("Features and capabilities provided by the host."),hostContext:dy.describe("Rich context about the host environment.")}).passthrough(),rR={target:"draft-2020-12"};async function ly(e,t){let n=e["~standard"];if(n.jsonSchema)return n.jsonSchema[t](rR);if(n.vendor==="zod"){let{z:o}=await Promise.resolve().then(()=>(so(),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:WE,toolinputpartial:FE,toolresult:XE,toolcancelled:HE,hostcontextchanged:eR});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,c={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]===c&&(delete i._registeredTools[n],a())},handler:async(l,m)=>{if(!c.enabled)throw Error(`Tool ${n} is disabled`);let u;if(s){let h=c.inputSchema,v=h?await py(h,l??{},`Invalid input for tool ${n}: `):l??{};u=await r(v,m)}else u=await r(m);return c.outputSchema&&!u.isError&&(u.structuredContent=await py(c.outputSchema,u.structuredContent,`Invalid output for tool ${n}: `)),u}};return this._registeredTools[n]=c,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),a(),c}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(GE,(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},ZE,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},LE,o)}downloadFile(n,o){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:n},ME,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},YE,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,c=s.style.height;s.style.height="max-content";let l=Math.ceil(s.getBoundingClientRect().height);s.style.height=c;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:CE}},tR,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 nR(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=nR(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]=Pe(null),[o,r]=Pe(!1),i=nt(null);Re(()=>{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(()=>{})},[]),c=Ge(l=>{try{i.current?.updateModelContext({content:[{type:"text",text:l}]}).catch(()=>{})}catch{}},[]);return{result:t,call:a,send:s,brief:c,connected:o}}var oR={"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."},iR={"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."},aR={en:oR,es:iR};function vy(e){return e?.structuredContent?._locale==="es"?"es":"en"}function _y(e){let t=aR[e];return(n,o)=>t[n].replace(/\{(\w+)\}/g,(r,i)=>o?.[i]!==void 0?String(o[i]):r)}var yy=Sn(_y("en")),bo=yy.Provider,Hr=()=>Ut(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 sR=0;function f(e,t,n,o,r,i){t||(t={});var a,s,c=t;if("ref"in c)for(s in c={},t)s=="ref"?a=t[s]:c[s]=t[s];var l={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--sR,__i:-1,__u:0,__source:r,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return D.vnode&&D.vnode(l),l}var uR={clock:{body:f(K,{children:[f("circle",{cx:"12",cy:"12",r:"10"}),f("polyline",{points:"12 6 12 12 16 14"})]})},play:{fill:!0,body:f("polygon",{points:"6 3 20 12 6 21 6 3"})},pause:{fill:!0,body:f(K,{children:[f("rect",{x:"6",y:"4",width:"4",height:"16",rx:"1"}),f("rect",{x:"14",y:"4",width:"4",height:"16",rx:"1"})]})},refresh:{body:f(K,{children:[f("path",{d:"M21 12a9 9 0 1 1-2.64-6.36"}),f("polyline",{points:"21 3 21 8 16 8"})]})},rocket:{body:f(K,{children:[f("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"}),f("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"}),f("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),f("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"})]})},logs:{body:f(K,{children:[f("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),f("polyline",{points:"14 2 14 8 20 8"}),f("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),f("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),f("line",{x1:"10",y1:"9",x2:"8",y2:"9"})]})},metrics:{body:f(K,{children:[f("polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17"}),f("polyline",{points:"16 7 22 7 22 13"})]})},lock:{body:f(K,{children:[f("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),f("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]})},edit:{body:f("path",{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"})},copy:{body:f(K,{children:[f("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),f("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})},check:{body:f("polyline",{points:"20 6 9 17 4 12"})},package:{body:f(K,{children:[f("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"}),f("path",{d:"m3.3 7 8.7 5 8.7-5"}),f("path",{d:"M12 22V12"})]})},x:{body:f(K,{children:[f("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),f("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})},plus:{body:f(K,{children:[f("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),f("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})},chevronDown:{body:f("polyline",{points:"6 9 12 15 18 9"})},chevronLeft:{body:f("polyline",{points:"15 18 9 12 15 6"})},chevronRight:{body:f("polyline",{points:"9 18 15 12 9 6"})},arrowLeft:{body:f(K,{children:[f("line",{x1:"19",y1:"12",x2:"5",y2:"12"}),f("polyline",{points:"12 19 5 12 12 5"})]})}},Ot=({name:e,size:t=14,className:n})=>{let o=uR[e];return f("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 Vr=({children:e})=>f("div",{className:"card",children:e}),Sy=({children:e})=>f("div",{className:"row",children:e}),xo=({title:e,sub:t,right:n})=>f(Sy,{children:[f("div",{className:"grow",children:[f("div",{className:"title",children:e}),t?f("div",{className:"sub",children:t}):null]}),n]});var ts=({status:e})=>f("span",{className:`pill ${Ug(e)}`,children:[Lg(e)?f("span",{className:"spin","aria-hidden":!0}):null,Ng(e)||"\u2026"]}),Br=({tone:e,children:t})=>f("div",{className:`note${e?` ${e}`:""}`,children:t});var cR=({state:e})=>e==="active"?f("span",{className:"spin","aria-hidden":!0}):e==="failed"?f(Ot,{name:"x",size:13,className:"step-bad"}):f(Ot,{name:"check",size:13,className:"step-ok"}),ky=({items:e})=>f("div",{className:"steps",children:e.map((t,n)=>{let o=t.state??"done";return f("div",{className:"step",children:[f(cR,{state:o}),f("span",{className:o==="active"?"sub":void 0,children:t.label})]},n)})});var es=({variant:e,on:t,className:n,...o})=>f("button",{className:[e,t?"on":"",n].filter(Boolean).join(" "),...o}),rs=({label:e,children:t})=>f("div",{className:"field",children:[f("div",{className:"label",children:e}),t]});var wy=({label:e,onAct:t,pendingLabel:n,variant:o,confirm:r,onError:i,disabled:a})=>{let s=Hr(),[c,l]=Pe("idle"),[m,u]=Pe(""),h=g=>{let x=Mg(g);i?i(x):u(x),l("idle")},v=()=>{l("pending"),u("");let g;try{g=Promise.resolve(t())}catch(x){h(x);return}g.then(()=>l("idle")).catch(h)};return c==="pending"?f(es,{variant:o,className:"small",disabled:!0,children:[f("span",{className:"spin","aria-hidden":!0}),n??e]}):c==="confirming"?f("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:[f(es,{variant:"danger",className:"hasicon iconbtn",title:r,"aria-label":r,onClick:v,children:f(Ot,{name:"check",size:15})}),f(es,{className:"hasicon iconbtn",title:s("confirm.no"),"aria-label":s("confirm.no"),onClick:()=>l("idle"),children:f(Ot,{name:"x",size:15})})]}):f("span",{style:{display:"inline-flex",alignItems:"center",gap:8},children:[m?f("span",{className:"act-err",children:m}):null,f(es,{variant:o,className:"small",disabled:a,onClick:()=>r?l("confirming"):v(),children:e})]})},de=({w:e="100%",h:t=12,r:n=6})=>f("div",{className:"skel",style:{width:e,height:t,borderRadius:n}}),zy=({variant:e})=>f(Vr,{children:[f(Sy,{children:[f(de,{w:170,h:16}),e!=="form"&&f(K,{children:[f("div",{className:"grow"}),f(de,{w:110,h:28,r:8})]})]}),e==="list"&&f("div",{className:"skel-rows",children:[0,1,2,3,4,5].map(t=>f("div",{className:"skel-row",children:[f(de,{w:8,h:8,r:999}),f(de,{w:140,h:13}),f("div",{className:"grow"}),f(de,{w:90,h:11})]},t))}),e==="panel"&&f(K,{children:[f("div",{className:"section",children:[f(de,{w:64,h:10}),f("div",{style:{marginTop:10,display:"flex",flexDirection:"column",gap:10},children:[0,1].map(t=>f("div",{className:"skel-card",children:[f(de,{w:t?"45%":"55%",h:14}),f("div",{style:{height:8}}),f(de,{w:t?"70%":"85%",h:11})]},t))})]}),f("div",{className:"section",children:[f(de,{w:64,h:10}),f("div",{style:{marginTop:10,display:"flex",gap:8},children:[0,1,2].map(t=>f(de,{w:72,h:24,r:999},t))})]}),f("div",{className:"section",style:{display:"flex",gap:8},children:[f(de,{w:132,h:34,r:9}),f(de,{w:80,h:34,r:9})]})]}),e==="table"&&f("div",{className:"skel-rows",children:[0,1,2,3].map(t=>f("div",{className:"skel-row",children:[f(de,{w:"30%",h:13}),f("div",{className:"grow"}),f(de,{w:"42%",h:13}),f(de,{w:18,h:13})]},t))}),e==="grid"&&f("div",{className:"skel-grid",children:[0,1,2,3].map(t=>f("div",{className:"skel-card",children:[f(de,{w:"50%",h:10}),f("div",{style:{height:8}}),f(de,{w:"35%",h:20}),f("div",{style:{height:8}}),f(de,{w:"100%",h:40,r:8})]},t))}),e==="logs"&&f("div",{style:{marginTop:14},children:f(de,{w:"100%",h:150,r:10})}),e==="form"&&f("div",{className:"skel-rows",children:[[0,1,2].map(t=>f("div",{children:[f(de,{w:88,h:10}),f("div",{style:{height:7}}),f(de,{w:"100%",h:32,r:8})]},t)),f(de,{w:150,h:34,r:9})]})]});var V=ae(Lb()),af=ae(Kx()),nA=ae(lt()),oA=ae(_$()),$e=ae(Qd()),iA=ae(xS()),aA=ae(Jk()),sA=ae(ve()),sf=ae(uw());var w2=Object.assign(()=>!0,{errors:null}),No=class{compile(){return w2}validate(){return!0}addFormat(){return this}addKeyword(){return this}addMetaSchema(){return this}addSchema(){return this}removeSchema(){return this}getSchema(){}};function mm(){}var Ym=ae(bw()),uf=ae($w()),uA=ae(Sz()),Qm=ae(pI()),cA=ae(mT()),lA=ae(ST()),pA=ae(Gr()),I8=ae(Jm()),P8=ae(jT()),T8=ae(NT()),A8=ae(Bm()),O8=ae(LT()),j8=ae(GT()),E8=ae(KT()),Rs="additionalProperties",Cs="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)(Rs)},i=this.findOption(o)(Cs);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:{}}}}},dA=(e,t={})=>{let n=r=>i=>{switch(i){case Rs:return Object.prototype.hasOwnProperty.call(t,Rs)?t[Rs]:!0;case Cs:return Object.prototype.hasOwnProperty.call(t,Cs)?t[Cs](r):Object.keys(r);default:return}};return new Xm(n).schemaObject(e)},cf=new Set,mA=(e,t)=>t<=1?e:e+t.toString(),C8=(e,t)=>{let n=mA(e,t);return!cf.has(n)},lf=e=>{e===void 0&&(e="undefined");let t=0;for(;!C8(e,t);)t++;let n=mA(e,t);return cf.add(n),n},pf=e=>cf.delete(e);var N8=(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}`},D8=e=>{let o=e.replace(/(anyOf|allOf|oneOf)\/[\d]+\//g,"").replace(/(then|else)\//g,"").split("/").map(Fo),i=o[0]==="#"||o[0]===""?2:1;return(0,oA.default)(i,o.length,2).map(a=>o[a])};var q8=e=>e?.replace(/~/g,"~0").replace(/\//g,"~1"),Fo=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=Fo(n.substr(n.lastIndexOf("/")+1));return(0,af.default)(o)}return""};var U8=(e,t)=>{let n=e.label;if(typeof n=="boolean")return Es(Km(e,t),n);if(typeof n=="string")return Es(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 Es(o,r)}return Es(Km(e,t),!0)},Es=(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 L8=e=>e==="#"||e===void 0||e==="",pt=(e,t,n)=>{let o=t?.split("/").map(Fo);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(L8(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,c=[].concat(e.oneOf??[],e.allOf??[],e.anyOf??[],e.then??[],e.else??[]);for(let l of c)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 fA=(e,t)=>{if(!F8(e))return t??"";let n=D8(e.scope);return(0,V.default)(n)?t??"":N8(t,n.join("."))},gA=e=>typeof e=="object"&&e!==null&&typeof e.i18n=="string",M8=e=>e.type==="Group",Z8=e=>e.elements!==void 0,W8=e=>!!e&&typeof e=="object",F8=e=>W8(e)&&typeof e.scope=="string",H8=e=>!!e&&typeof e=="object";var V8=e=>e.type==="OR",B8=e=>e.type==="AND",G8=e=>e.type==="LEAF",J8=e=>(0,iA.default)(e,"schema"),YT=(e,t)=>fA(e,t),tf=(e,t,n,o)=>{if(B8(t))return t.conditions.reduce((r,i)=>r&&tf(e,i,n,o),!0);if(V8(t))return t.conditions.reduce((r,i)=>r||tf(e,i,n,o),!1);if(G8(t))return ef(e,YT(t,n))===t.expectedValue;if(J8(t)){let r=ef(e,YT(t,n));return t.failWhenUndefined&&r===void 0?!1:o.validate(t.schema,r)}else return!0},hA=(e,t,n,o)=>{let r=e.rule.condition;return tf(t,r,n,o)},K8=(e,t,n=void 0,o)=>{let r=hA(e,t,n,o);switch(e.rule.effect){case dt.HIDE:return!r;case dt.SHOW:return r;default:return!0}},Y8=(e,t,n=void 0,o)=>{let r=hA(e,t,n,o);switch(e.rule.effect){case dt.DISABLE:return!r;case dt.ENABLE:return r;default:return!0}},vA=e=>!!(e.rule&&(e.rule.effect===dt.SHOW||e.rule.effect===dt.HIDE)),Q8=e=>!!(e.rule&&(e.rule.effect===dt.ENABLE||e.rule.effect===dt.DISABLE)),df=(e,t,n=void 0,o)=>e.rule?K8(e,t,n,o):!0,X8=(e,t,n=void 0,o)=>e.rule?Y8(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),eG=e=>!!e&&typeof e=="object"&&(Object.prototype.hasOwnProperty.call(e,"enum")||Object.prototype.hasOwnProperty.call(e,"const"));var mn=(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,sA.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,aA.default)(e.allOf,n=>rr(n).length!==0);if(t)return rr(t)}return[]},Zo={schema:pt,data:ef};var tG=e=>{let t=new No({allErrors:!0,verbose:!0,strict:!1,addUsedSchema:!1,...e});return mm(t),t},bt=(e,t)=>e===void 0?[]:e(t)?[]:e.errors;var rG=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=rG(e);return n!==void 0&&!t.endsWith(n)&&(t=`${t}.${n}`),t=t.replace(/^./,""),t=Fo(t),t},nG=(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(iG.indexOf(i.keyword)!==-1&&!rf(i.parentSchema))return!1;let a=nf(i),s=n(a),c=i.parentSchema;return s&&!oG(c)&&!rf(c)&&r.findIndex(l=>e.startsWith(l))!==-1&&(s=s&&(0,uf.default)(c,t)),s})},oG=e=>e?.type==="object"||!!e?.properties,iG=["additionalProperties","allOf","anyOf","oneOf"],aG=e=>e==null?"":e.join(`
|
|
1116
|
+
`);var _A=e=>({type:e,elements:[]}),Ds=e=>({type:"Control",scope:e}),sG=(e,t)=>{if(!(0,V.default)(e)&&!Z8(e)){let n=_A(t);return n.elements.push(e),n}return e},uG=(e,t)=>{if(!(0,V.default)(t)){let n=(0,af.default)(t);if(M8(e))e.label=n;else{let o={type:"Label",text:n};e.elements.push(o)}}},cG=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(cG(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=_A(r);if(t.push(s),e.properties&&(0,nA.default)(e.properties).length>1&&uG(s,o),!(0,V.default)(e.properties)){let c=n+"/properties";Object.keys(e.properties).map(l=>{let m=e.properties[l],u=`${c}/${q8(l)}`;m.$ref!==void 0&&(m=pt(i,m.$ref,i)),of(m,s.elements,u,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))}},yA=(e,t="VerticalLayout",n="#",o=e)=>sG(of(e,[],n,"",t,o),t),Ho={jsonSchema:dA,uiSchema:yA,controlElement:Ds},mf="jsonforms/INIT",ff="jsonforms/UPDATE_CORE",gf="jsonforms/SET_AJV",hf="jsonforms/UPDATE",vf="jsonforms/UPDATE_ERRORS",lG="jsonforms/VALIDATE",bA="jsonforms/ADD_RENDERER",xA="jsonforms/REMOVE_RENDERER",$A="jsonforms/ADD_CELL",SA="jsonforms/REMOVE_CELL",_f="jsonforms/SET_CONFIG",kA="jsonforms/ADD_UI_SCHEMA",wA="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",zA="jsonforms/ADD_DEFAULT_DATA",IA="jsonforms/REMOVE_DEFAULT_DATA",pG=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}},dG=(e,t=dA(e),n,o)=>({type:mf,data:e,schema:t,uischema:typeof n=="object"?n:yA(t),options:o}),mG=(e,t,n,o)=>({type:ff,data:e,schema:t,uischema:n,options:o}),fG=(e,t)=>({type:zA,schemaPath:e,data:t}),gG=e=>({type:IA,schemaPath:e}),hG=e=>({type:gf,ajv:e}),PA=(e,t,n)=>({type:hf,path:e,updater:t,context:n}),vG=e=>({type:vf,errors:e}),_G=(e,t)=>({type:bA,tester:e,renderer:t}),yG=(e,t)=>({type:$A,tester:e,cell:t}),bG=(e,t)=>({type:SA,tester:e,cell:t}),xG=(e,t)=>({type:xA,tester:e,renderer:t}),$G=e=>({type:_f,config:e}),SG=e=>({type:xf,validationMode:e}),kG=(e,t)=>({type:kA,tester:e,uischema:t}),wG=e=>({type:wA,tester:e}),zG=e=>({type:$f,locale:e}),IG=e=>({type:yf,schema:e}),PG=(e,t)=>({type:Sf,translator:e,errorTranslator:t}),TG=(e,t,n)=>({type:kf,locale:e,translator:t,errorTranslator:n}),AG=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:lG,ADD_RENDERER:bA,REMOVE_RENDERER:xA,ADD_CELL:$A,REMOVE_CELL:SA,SET_CONFIG:_f,ADD_UI_SCHEMA:kA,REMOVE_UI_SCHEMA:wA,SET_SCHEMA:yf,SET_UISCHEMA:bf,SET_VALIDATION_MODE:xf,SET_LOCALE:$f,SET_TRANSLATOR:Sf,UPDATE_I18N:kf,ADD_DEFAULT_DATA:zA,REMOVE_DEFAULT_DATA:IA,isUpdateArrayContext:pG,init:dG,updateCore:mG,registerDefaultData:fG,unregisterDefaultData:gG,setAjv:hG,update:PA,updateErrors:vG,registerRenderer:_G,registerCell:yG,unregisterCell:bG,unregisterRenderer:xG,setConfig:$G,setValidationMode:SG,registerUISchema:kG,unregisterUISchema:wG,setLocale:zG,setSchema:IG,setTranslator:PG,updateI18n:TG,setUISchema:AG});var OG={restrict:!1,trim:!1,showUnfocusedDescription:!1,hideRequiredAsterisk:!1},QT=(e={})=>(0,uA.default)({},OG,e),wf=(e=QT(),t)=>t.type===_f?QT(t.config):e,jG={data:{},schema:{},uischema:void 0,errors:[],validator:void 0,ajv:void 0,validationMode:"ValidateAndShow",additionalErrors:[]},XT=(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,eA=(e,t)=>t&&RG(t.options)?t.options.additionalErrors:e.additionalErrors,tA=(e,t)=>{if(t){if(CG(t.options))return t.options.ajv;if(t.options!==void 0&&(0,pA.default)(t.options.compile))return t.options}return e.ajv?e.ajv:tG()},CG=e=>e?e.ajv!==void 0:!1,Ms=(e=jG,t)=>{switch(t.type){case mf:{let n=tA(e,t),o=XT(e,t),r=o==="NoValidation"?void 0:n.compile(t.schema),i=bt(r,t.data),a=eA(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=tA(e,t),o=XT(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=eA(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,cA.default)(t.path,o,e.data===void 0?{}:e.data):r=(0,lA.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 Oe;(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"})(Oe||(Oe={}));var NG=[{key:Oe.addTooltip,default:e=>e?`Add to ${e}`:"Add"},{key:Oe.addAriaLabel,default:e=>e?`Add to ${e} button`:"Add button"},{key:Oe.removeTooltip,default:()=>"Delete"},{key:Oe.removeAriaLabel,default:()=>"Delete button"},{key:Oe.upAriaLabel,default:()=>"Move item up"},{key:Oe.up,default:()=>"Up"},{key:Oe.down,default:()=>"Down"},{key:Oe.downAriaLabel,default:()=>"Move item down"},{key:Oe.noDataMessage,default:()=>"No data"},{key:Oe.noSelection,default:()=>"No selection"},{key:Oe.deleteDialogTitle,default:()=>"Confirm Deletion"},{key:Oe.deleteDialogMessage,default:()=>"Are you sure you want to delete the selected entry?"},{key:Oe.deleteDialogAccept,default:()=>"Yes"},{key:Oe.deleteDialogDecline,default:()=>"No"}],dn;(function(e){e.clearDialogTitle="clearDialogTitle",e.clearDialogMessage="clearDialogMessage",e.clearDialogAccept="clearDialogAccept",e.clearDialogDecline="clearDialogDecline"})(dn||(dn={}));var mae=[{key:dn.clearDialogTitle,default:()=>"Clear form?"},{key:dn.clearDialogMessage,default:()=>"Your data will be cleared. Do you want to proceed?"},{key:dn.clearDialogAccept,default:()=>"Yes"},{key:dn.clearDialogDecline,default:()=>"No"}],TA=(e,t)=>gA(t)?t.i18n:e?.i18n??void 0,DG=e=>e?.split(".").filter(t=>!/^\d+$/.test(t)).join(".")||"root",qs=(e,t,n)=>TA(e,t)??DG(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},AA=(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 aG(e.map(a=>t(a,n,r)))},qG=(e,t)=>{if(e.label===!1||(e.label===void 0||e.label===null||e.label===!0)&&!gA(e))return;let n=typeof e.label=="string"?e.label:JSON.stringify(e.label),o=TA(void 0,e),r=typeof o=="string"?`${o}.label`:n;return t(r,n,{uischema:e})};var UG=e=>e===void 0?zf:e.translate,LG=e=>e===void 0?If:e.translateError;var Wo=()=>e=>UG((0,$e.default)(e,"jsonforms.i18n")),OA=()=>e=>LG((0,$e.default)(e,"jsonforms.i18n")),Mo={locale:"en",translate:zf,translateError:If},Pf=(e=Mo,t)=>{switch(t.type){case kf:{let n=t.locale??Mo.locale,o=t.translator??Mo.translate,r=t.errorTranslator??Mo.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 MG=-1,gn=e=>!(0,V.default)(e)&&e.scope!==void 0,mt=e=>(t,n,o)=>{if((0,V.default)(t)||!gn(t)||(0,V.default)(n))return!1;let r=t.scope;if((0,V.default)(r))return!1;let i=n;return mn(n,"object")&&(i=pt(n,r,o?.rootSchema)),i===void 0?!1:e(i,o?.rootSchema)},jA=(e,t)=>(n,o,r)=>{if((0,V.default)(n)||!gn(n))return!1;let i=n.scope,a=o;return mn(o,"object")&&(a=pt(o,i,r?.rootSchema)),a=(0,$e.default)(a,e),a===void 0?!1:t(a,r?.rootSchema)},Nt=e=>mt(t=>!(0,V.default)(t)&&mn(t,e)),Tf=e=>mt(t=>!(0,V.default)(t)&&t.format===e&&mn(t,"string")),ge=e=>t=>!(0,V.default)(t)&&t.type===e,hn=(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:MG;var EA=xe(ge("Control"),Nt("boolean")),RA=xe(ge("Control"),Nt("object")),fae=xe(ge("Control"),mt(e=>Object.prototype.hasOwnProperty.call(e,"allOf"))),gae=xe(ge("Control"),mt(e=>Object.prototype.hasOwnProperty.call(e,"anyOf"))),hae=xe(ge("Control"),mt(e=>Object.prototype.hasOwnProperty.call(e,"oneOf"))),CA=xe(ge("Control"),mt(e=>eG(e))),vae=xe(ge("Control"),mt(e=>rf(e))),NA=xe(ge("Control"),Nt("integer")),DA=xe(ge("Control"),Nt("number")),qA=xe(ge("Control"),Nt("string")),_ae=xe(ge("Control"),hn("multi",!0)),yae=xe(ge("Control"),Zs(Tf("date"),hn("format","date"))),bae=xe(ge("Control"),Zs(Tf("time"),hn("format","time"))),xae=xe(ge("Control"),Zs(Tf("date-time"),hn("format","date-time"))),ZG=xe(mt((e,t)=>mn(e,"array")&&!Array.isArray(pt(e,"items",t))),jA("items",(e,t)=>{let n=e.$ref?pt(t,e.$ref,t):e;return mn(n,"object")})),$ae=xe(ge("Control"),ZG);var Sae=xe(ge("Control"),mt((e,t)=>rr(e).length!==0&&!Array.isArray(pt(e,"items",t))),jA("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])})),kae=xe(ge("Control"),Zs(Nt("number"),Nt("integer")),mt(e=>Object.prototype.hasOwnProperty.call(e,"maximum")&&Object.prototype.hasOwnProperty.call(e,"minimum")&&Object.prototype.hasOwnProperty.call(e,"default")),hn("slider",!0)),wae=xe(ge("Control"),Nt("integer"),hn("format",!0));var Af=(e,t,n)=>n(e,t),WG=(e,t,n)=>o=>{let r=o.errors??[],i=o.additionalErrors??[];return nG(e,t,n)(o.validationMode==="ValidateAndHide"?i:[...r,...i])},FG=(e,t)=>WG(e,t,n=>n===e);var UA=(e,t)=>n=>FG(e,t)(n.jsonforms.core);var Of=e=>GG((0,$e.default)(e,"jsonforms.core")),Ls=e=>JG((0,$e.default)(e,"jsonforms.core")),HG=e=>KG((0,$e.default)(e,"jsonforms.core")),Ws=e=>YG((0,$e.default)(e,"jsonforms.core")),VG=e=>(0,$e.default)(e,"jsonforms.renderers"),BG=e=>(0,$e.default)(e,"jsonforms.cells");var GG=e=>(0,$e.default)(e,"data"),JG=e=>(0,$e.default)(e,"schema"),KG=e=>(0,$e.default)(e,"uischema"),YG=e=>(0,$e.default)(e,"ajv"),fn=e=>e.jsonforms.config,jf=(e,t,n,o,r,i)=>e?.jsonforms?.readonly?!1:n&&Q8(n)?X8(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 QG=(e,t,n)=>{let o=t.split("/"),r=Fo(o[o.length-1]),a=o.slice(0,o.length-2).join("/"),s=Zo.schema(e,a,n);return s!==void 0&&s.required!==void 0&&s.required.indexOf(r)!==-1};var rA=(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=fA(n,t.path),i=t.visible===void 0||vA(n)?df(n,o,t.path,Ws(e)):t.visible,a=n,s=t.id,c=Ls(e),l=a.scope!==void 0&&QG(t.schema,a.scope,c),m=Zo.schema(t.schema||c,a.scope,c),u=UA(r,m)(e),h=m!==void 0?m.description:"",v=Zo.data(o,r),g=U8(n,m),x=g.show?g.text:"",$=fn(e),k=jf(e,t,n,m||c,o,$),b=m??c,z=Wo()(e),j=OA()(e),W=qs(b,n,r),M=z(Us(b,n,r,"label"),x,{schema:b,uischema:n,path:r,errors:u}),ce=z(Us(b,n,r,"description"),h,{schema:b,uischema:n,path:r,errors:u}),he=AA(u,j,z,b,n,r);return{data:v,description:ce,errors:he,label:M,visible:i,enabled:k,id:s,path:r,required:l,uischema:n,schema:b,config:fn(e),cells:t.cells||e.jsonforms.cells,rootSchema:c,i18nKeyPrefix:W}},LA=e=>({handleChange(t,n){e(PA(t,()=>n))}}),MA=(e,t)=>{let n=Fs(e,t),o=t.options||n.schema.enum?.map(r=>rA(r,Wo()(e),qs(n.schema,n.uischema,n.path)))||n.schema.const&&[rA(n.schema.const,Wo()(e),qs(n.schema,n.uischema,n.path))];return{...n,options:o}};var ZA=(e,t)=>{let{...n}=Fs(e,t);return{...n,uischemas:e.jsonforms.uischemas}};var Ef={visible:!0,enabled:!0,path:"",direction:"column"},XG=e=>e.type==="HorizontalLayout"?"row":e.type==="VerticalLayout"?"column":Ef.direction,WA=(e,t)=>{let n=Of(e),{uischema:o}=t,r=t.visible===void 0||vA(o)?df(t.uischema,n,t.path,Ws(e)):t.visible,i=Zo.data(n,t.path),a=fn(e),s=jf(e,t,o,void 0,n,a),c=Wo()(e),l=H8(o)?qG(o,c):void 0;return{...Ef,renderers:t.renderers||VG(e),cells:t.cells||BG(e),visible:r,enabled:s,path:t.path,data:i,uischema:t.uischema,schema:t.schema,direction:t.direction??XG(o),config:a,label:l}},FA=(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||HG(e),path:t.path,enabled:t.enabled,config:fn(e)}),zae={...Ef,errors:[]};var HA=(e,t)=>{let{id:n,schema:o,path:r,uischema:i,renderers:a,cells:s}=t,c=Of(e),l=t.visible!==void 0?t.visible:df(i,c,void 0,Ws(e)),m=Ls(e),u=fn(e),h;e.jsonforms.readonly===!0?h=!1:typeof t.enabled=="boolean"?h=t.enabled:h=jf(e,t,i,o||m,c,u);let v=Wo()(e),g=OA()(e),x=AA(UA(r,o)(e),g,v,o,i,r),$=(0,V.default)(x);return{data:Zo.data(c,r),visible:l,enabled:h,id:n,path:r,errors:x,isValid:$,schema:o,uischema:i,config:fn(e),rootSchema:m,renderers:a,cells:s}},VA=(e,t)=>{let n=HA(e,t),{renderers:o,cells:r,...i}=t;return{...n,...i,cells:r||e.jsonforms.cells||[]}};var Nf=ae(Jm());var XA=ae(YA()),QA=class extends ee.Component{constructor(t){super(t)}};var Hs=class extends Ne{render(){return ee.createElement("div",{style:{color:"red"}},"No applicable ",this.props.type," found.")}},sJ={data:{},schema:{},uischema:void 0,errors:[],additionalErrors:[],validator:void 0,ajv:void 0},e0=ee.createContext({core:sJ,renderers:[]}),uJ=(e,t)=>{let n=nt(!0);Re(()=>{if(n.current){n.current=!1;return}e()},t)},cJ=({children:e,initState:t,onChange:n,middleware:o})=>{let{data:r,schema:i,uischema:a,ajv:s,validationMode:c,additionalErrors:l}=t.core,m=nt(o??Af);m.current=o??Af;let[u,h]=Pe(()=>m.current(t.core,nr.init(r,i,a,{ajv:s,validationMode:c,additionalErrors:l}),Ms));Re(()=>h(W=>m.current(W,nr.updateCore(r,i,a,{ajv:s,validationMode:c,additionalErrors:l}),Ms)),[r,i,a,s,c,l]);let[v,g]=qt(wf,void 0,()=>wf(void 0,nr.setConfig(t.config)));uJ(()=>{g(nr.setConfig(t.config))},[t.config]);let[x,$]=qt(Pf,void 0,()=>Pf(t.i18n,nr.updateI18n(t.i18n?.locale,t.i18n?.translate,t.i18n?.translateError)));Re(()=>{$(nr.updateI18n(t.i18n?.locale,t.i18n?.translate,t.i18n?.translateError))},[t.i18n?.locale,t.i18n?.translate,t.i18n?.translateError]);let k=Ge(W=>{h(M=>m.current(M,W,Ms))},[]),b=Se(()=>({core:u,renderers:t.renderers,cells:t.cells,config:v,uischemas:t.uischemas,readonly:t.readonly,i18n:x,dispatch:k}),[u,t.renderers,t.cells,v,t.uischemas,t.readonly,x]),z=nt(n);Re(()=>{z.current=n},[n]);let j=Ge((0,XA.default)((...W)=>z.current?.(...W),10),[]);return Re(()=>{j({data:u.data,errors:u.errors})},[u.data,u.errors]),ee.createElement(e0.Provider,{value:b},e)},lJ=()=>Ut(e0);var pJ=(e,t)=>WA({jsonforms:{...e}},t),dJ=(e,t)=>Fs({jsonforms:{...e}},t),mJ=(e,t)=>{let n=MA({jsonforms:{...e}},t),o=Se(()=>n.options,[t.options,n.schema,e.i18n?.translate]);return{...n,options:o}};var fJ=(e,t)=>ZA({jsonforms:{...e}},t);var Df=e=>Se(()=>LA(e),[e]);var gJ=(e,t)=>FA({jsonforms:{...e}},t);var hJ=(e,t)=>VA({jsonforms:{...e}},t);var vn=e=>function(n){let o=lJ();return ee.createElement(e,{ctx:o,props:n})},vJ=e=>function({ctx:n,props:o}){let r=gJ(n,o);return ee.createElement(e,{...o,...r})},_J=e=>function({ctx:n,props:o}){let r=dJ(n,o),i=Df(n.dispatch);return ee.createElement(e,{...o,...r,...i})},yJ=e=>function({ctx:n,props:o}){let r=pJ(n,o);return ee.createElement(e,{...o,...r})};var bJ=e=>function({ctx:n,props:o}){let r=fJ(n,o);return ee.createElement(e,{...o,...r})};var xJ=e=>function({ctx:n,props:o}){let r=hJ(n,o),i=Df(n.dispatch);return ee.createElement(e,{...o,...i,...r})};var $J=e=>function({ctx:n,props:o}){let r=mJ(n,o),i=Df(n.dispatch);return ee.createElement(e,{...o,...i,...r})};var t0=(e,t=!0)=>vn(vJ(t?ee.memo(e):e)),Vo=(e,t=!0)=>vn(_J(t?ee.memo(e):e)),qf=(e,t=!0)=>vn(yJ(t?ee.memo(e):e));var r0=(e,t=!0)=>vn(bJ(t?ee.memo(e):e));var SJ=(e,t=!0)=>vn(xJ(t?ee.memo(e):e));var n0=(e,t=!0)=>vn($J(t?ee.memo(e):e));var Vs=class extends ee.Component{constructor(t){super(t),this.state={id:gn(t.uischema)?lf(t.uischema.scope):void 0}}componentWillUnmount(){gn(this.props.uischema)&&pf(this.state.id)}componentDidUpdate(t){t.schema!==this.props.schema&&(pf(this.state.id),this.setState({id:gn(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:c}=this.props;return ee.createElement(kJ,{uischema:o,schema:t,rootSchema:n,path:r,enabled:i,renderers:a,cells:s,id:this.state.id,config:c})}},kJ=ee.memo(function(t){let n=Se(()=>({rootSchema:t.rootSchema,config:t.config}),[t.rootSchema,t.config]),o=Se(()=>(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 ee.createElement(Hs,{type:"renderer"});{let r=o.renderer;return ee.createElement(r,{uischema:t.uischema,schema:t.schema,path:t.path,enabled:t.enabled,renderers:t.renderers,cells:t.cells,id:t.id})}}),Cf=class extends Vs{constructor(t){super(t)}},Bs=t0(Vs),Vae=t0(Cf),o0=e=>{let{ajv:t,data:n,schema:o,uischema:r,renderers:i,cells:a,onChange:s,config:c,uischemas:l,readonly:m,validationMode:u,i18n:h,additionalErrors:v,middleware:g}=e,x=Se(()=>o!==void 0?o:Ho.jsonSchema(n),[o,n]),$=Se(()=>typeof r=="object"?r:Ho.uiSchema(x,void 0,void 0,x),[r,x]);return ee.createElement(cJ,{initState:{core:{ajv:t,data:n,schema:x,uischema:$,validationMode:u,additionalErrors:v},config:c,uischemas:l,renderers:i,cells:a,readonly:m,i18n:h},onChange:s,middleware:g},ee.createElement(Bs,null))},wJ=({uischema:e,schema:t,rootSchema:n,path:o,cells:r,id:i,enabled:a,renderers:s,config:c})=>{let l=Se(()=>({rootSchema:n,config:c}),[n,c]),m=Se(()=>(0,Nf.default)(r,u=>u.tester(e,t,l)),[r,e,t,l]);if(m===void 0||m.tester(e,t,l)===-1)return ee.createElement(Hs,{type:"cell"});{let u=m.cell;return ee.createElement(u,{uischema:e,schema:t,enabled:a,path:o,id:i,renderers:s,cells:r})}},Bae=SJ(wJ);var Uf=(e,t)=>t?`${e} *`:e;function Gs({text:e}){return e?f("span",{className:"schema-desc",children:e}):null}function zJ({data:e,handleChange:t,path:n,label:o,required:r,description:i}){return f(rs,{label:Uf(o,r),children:[f("input",{type:"text",value:e??"",autoComplete:"off",onChange:a=>t(n,a.target.value===""?void 0:a.target.value)}),f(Gs,{text:i})]})}function i0({data:e,handleChange:t,path:n,label:o,required:r,description:i}){return f(rs,{label:Uf(o,r),children:[f("input",{type:"number",value:e==null?"":String(e),onChange:a=>t(n,a.target.value===""?void 0:Number(a.target.value))}),f(Gs,{text:i})]})}function IJ({data:e,handleChange:t,path:n,label:o,description:r}){return f("label",{className:"check-row",children:[f("input",{type:"checkbox",checked:!!e,onChange:i=>t(n,i.target.checked)}),f("span",{children:[o,f(Gs,{text:r})]})]})}function PJ({data:e,handleChange:t,path:n,label:o,required:r,description:i,options:a}){return f(rs,{label:Uf(o,r),children:[f("select",{value:e??"",onChange:s=>t(n,s.target.value===""?void 0:s.target.value),children:[f("option",{value:""}),(a??[]).map(s=>f("option",{value:String(s.value),children:s.label},String(s.value)))]}),f(Gs,{text:i})]})}function TJ({schema:e,path:t,label:n,renderers:o,cells:r}){let i=Ho.uiSchema(e,"Group",void 0,e);return n&&!i.label&&(i.label=n),f(Bs,{schema:e,uischema:i,path:t,renderers:o,cells:r})}function a0({uischema:e,schema:t,path:n,enabled:o,renderers:r,cells:i}){let a=e.elements??[],s=e.label;return f("div",{className:"schema-form",children:[s?f("div",{className:"schema-group-label",children:s}):null,a.map(c=>f(Bs,{uischema:c,schema:t,path:n,enabled:o,renderers:r,cells:i},c.scope??JSON.stringify(c)))]})}var AJ=[{tester:xt(2,ge("VerticalLayout")),renderer:qf(a0)},{tester:xt(2,ge("Group")),renderer:qf(a0)},{tester:xt(3,qA),renderer:Vo(zJ)},{tester:xt(3,DA),renderer:Vo(i0)},{tester:xt(3,NA),renderer:Vo(i0)},{tester:xt(3,EA),renderer:Vo(IJ)},{tester:xt(5,CA),renderer:n0(PJ)},{tester:xt(4,RA),renderer:r0(TJ)}];function s0({schema:e,value:t,onChange:n}){return f(o0,{schema:e,data:t,renderers:AJ,validationMode:"NoValidation",onChange:({data:o})=>n(o??{})})}function u0(e,t){return(e.required??[]).filter(n=>{let o=t[n];return o==null||o===""})}var OJ=e=>e.entity==="link"?"link":"service",jJ=e=>e==="success"||e==="active"||e==="finalized"?"done":e==="failed"||e==="cancelled"?"failed":"active";function EJ({data:e,onPick:t}){let n=Hr();return f(Vr,{children:[f(xo,{title:n("serviceActionW.pickTarget",{app:e.app_name??""})}),(e.targets??[]).map(o=>f("button",{type:"button",className:"list-row",onClick:()=>t(o.name),children:[f(Ot,{name:"package",size:15}),f("span",{className:"app-name",children:o.name}),f("span",{className:"grow"}),o.status?f(ts,{status:o.status}):null]},o.id))]})}function RJ({data:e,onPick:t}){let n=Hr();return f(Vr,{children:[f(xo,{title:n("serviceActionW.pickAction",{name:e.target?.name??""}),sub:e.app_name}),(e.actions??[]).map(o=>f("button",{type:"button",className:"list-row",onClick:()=>t(o.name),children:[f(Ot,{name:"play",size:15}),f("span",{className:"app-name",children:o.name})]},o.id))]})}function CJ({data:e}){let t=Hr(),{action:n}=e,o=n.status==="failed",r=[{label:t("serviceActionW.stepRequested"),state:"done"},{label:t("serviceActionW.stepRunning"),state:jJ(n.status)}],i=o?t("serviceActionW.failed",{action:n.name}):n.status==="success"?t("serviceActionW.ran",{action:n.name}):t("serviceActionW.runningTitle",{action:n.name}),a=n.results&&typeof n.results=="object"?Object.entries(n.results):[],s=Zg(e.dashboard);return f(Vr,{children:[f(xo,{title:i,sub:e.target?.name,right:f(ts,{status:n.status??"pending"})}),f(ky,{items:r}),a.length>0?f(Br,{children:f("span",{className:"mono",style:{whiteSpace:"pre-wrap"},children:a.map(([c,l])=>`${c}: ${typeof l=="string"?l:JSON.stringify(l)}`).join(`
|
|
1117
|
+
`)})}):o?f(Br,{tone:"bad",children:t("serviceActionW.failedHint")}):f(Br,{children:t("serviceActionW.runningNote")}),s?f("div",{className:"row",style:{marginTop:6},children:[f("span",{className:"grow"}),f("a",{href:s,rel:"noreferrer",children:t("serviceCreateW.dashboard")})]}):null]})}function NJ(){let{result:e,call:t,brief:n}=hy("np-service-action"),o=Se(()=>by(vy(e)),[e]),[r,i]=Pe(null),[a,s]=Pe({}),[c,l]=Pe(""),m=Ge(k=>{let b=k?.structuredContent;b&&i(b)},[]);if(Re(()=>m(e),[e,m]),!e)return f(zy,{variant:"form"});let u=r??e.structuredContent,h=u.tool??"",v=OJ(u);if(u.mode==="progress"&&u.action)return f(bo,{value:o,children:f(CJ,{data:{...u,action:u.action}})});if(u.mode==="pick-target")return f(bo,{value:o,children:f(EJ,{data:u,onPick:b=>{t(h,{app:u.app,[v]:b}).then(m)}})});if(u.mode==="pick-action")return f(bo,{value:o,children:f(RJ,{data:u,onPick:b=>{t(h,{app:u.app,[v]:u.target?.name,action:b}).then(m)}})});let g=u.action,x=u.parameters_schema?u0(u.parameters_schema,a):[],$=async()=>{l("");let k=await t(h,{app:u.app,[v]:u.target?.name??u.target?.id,action:g?.name??g?.id,parameters:a,run:!0});m(k);let b=k.structuredContent?.action;b&&n(`[action] user ran action ${b.id} on ${u.entity} ${u.target?.id??""}.`)};return f(bo,{value:o,children:f(Vr,{children:[f(xo,{title:g?.name??"",sub:u.target?.name,right:u.target?.status?f(ts,{status:u.target.status}):void 0}),u.parameters_schema?f("div",{className:"field",children:[f("div",{className:"label",children:o("serviceActionW.params")}),f(s0,{schema:u.parameters_schema,value:a,onChange:s})]}):null,f(Br,{children:o("serviceActionW.note")}),c?f(Br,{tone:"bad",children:c}):null,f("div",{className:"row",style:{marginTop:12},children:f(wy,{variant:"primary",label:o("serviceActionW.run"),pendingLabel:o("serviceActionW.running"),onAct:$,onError:l,disabled:x.length>0})})]})})}$y(f(NJ,{}));})();
|
|
1118
|
+
</script></body></html>
|