@tanstack/query-devtools 5.67.2 → 5.71.3
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/build/DevtoolsComponent/{J3FDRF32.js → CPIOZS5X.js} +3 -4
- package/build/DevtoolsComponent/{VONRGPZ6.js → SUXNJKMM.js} +3 -4
- package/build/DevtoolsPanelComponent/{2QQPFIXG.js → LDUQ2GE4.js} +3 -4
- package/build/DevtoolsPanelComponent/{3VW64HDT.js → OKF6E45R.js} +3 -4
- package/build/chunk/{67EVQ76A.js → DZBXNQB4.js} +73 -102
- package/build/chunk/{4F76KWFD.js → HR7YXZ5H.js} +237 -418
- package/build/chunk/{YIUCDINQ.js → V5T5VJKG.js} +237 -418
- package/build/chunk/{TBLV65XX.js → WXAWMS3D.js} +72 -103
- package/build/dev.cjs +362 -575
- package/build/dev.js +3 -3
- package/build/index.cjs +362 -575
- package/build/index.d.cts +9 -5
- package/build/index.d.ts +9 -5
- package/build/index.js +3 -3
- package/package.json +4 -4
package/build/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
|
|
14
14
|
function getContextId(count) {
|
|
15
15
|
const num = String(count), len = num.length - 1;
|
|
16
16
|
return sharedConfig.context.id + (len ? String.fromCharCode(96 + len) : "") + num;
|
|
@@ -51,10 +51,8 @@ function createSignal(value, options) {
|
|
|
51
51
|
};
|
|
52
52
|
const setter = (value2) => {
|
|
53
53
|
if (typeof value2 === "function") {
|
|
54
|
-
if (Transition && Transition.running && Transition.sources.has(s2))
|
|
55
|
-
|
|
56
|
-
else
|
|
57
|
-
value2 = value2(s2.value);
|
|
54
|
+
if (Transition && Transition.running && Transition.sources.has(s2)) value2 = value2(s2.tValue);
|
|
55
|
+
else value2 = value2(s2.value);
|
|
58
56
|
}
|
|
59
57
|
return writeSignal(s2, value2);
|
|
60
58
|
};
|
|
@@ -62,25 +60,19 @@ function createSignal(value, options) {
|
|
|
62
60
|
}
|
|
63
61
|
function createComputed(fn, value, options) {
|
|
64
62
|
const c2 = createComputation(fn, value, true, STALE);
|
|
65
|
-
if (Scheduler && Transition && Transition.running)
|
|
66
|
-
|
|
67
|
-
else
|
|
68
|
-
updateComputation(c2);
|
|
63
|
+
if (Scheduler && Transition && Transition.running) Updates.push(c2);
|
|
64
|
+
else updateComputation(c2);
|
|
69
65
|
}
|
|
70
66
|
function createRenderEffect(fn, value, options) {
|
|
71
67
|
const c2 = createComputation(fn, value, false, STALE);
|
|
72
|
-
if (Scheduler && Transition && Transition.running)
|
|
73
|
-
|
|
74
|
-
else
|
|
75
|
-
updateComputation(c2);
|
|
68
|
+
if (Scheduler && Transition && Transition.running) Updates.push(c2);
|
|
69
|
+
else updateComputation(c2);
|
|
76
70
|
}
|
|
77
71
|
function createEffect(fn, value, options) {
|
|
78
72
|
runEffects = runUserEffects;
|
|
79
73
|
const c2 = createComputation(fn, value, false, STALE), s2 = SuspenseContext && useContext(SuspenseContext);
|
|
80
|
-
if (s2)
|
|
81
|
-
|
|
82
|
-
if (!options || !options.render)
|
|
83
|
-
c2.user = true;
|
|
74
|
+
if (s2) c2.suspense = s2;
|
|
75
|
+
if (!options || !options.render) c2.user = true;
|
|
84
76
|
Effects ? Effects.push(c2) : updateComputation(c2);
|
|
85
77
|
}
|
|
86
78
|
function createMemo(fn, value, options) {
|
|
@@ -92,8 +84,7 @@ function createMemo(fn, value, options) {
|
|
|
92
84
|
if (Scheduler && Transition && Transition.running) {
|
|
93
85
|
c2.tState = STALE;
|
|
94
86
|
Updates.push(c2);
|
|
95
|
-
} else
|
|
96
|
-
updateComputation(c2);
|
|
87
|
+
} else updateComputation(c2);
|
|
97
88
|
return readSignal.bind(c2);
|
|
98
89
|
}
|
|
99
90
|
function isPromise(v) {
|
|
@@ -114,10 +105,8 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
114
105
|
}), [state, setState] = createSignal(resolved ? "ready" : "unresolved");
|
|
115
106
|
if (sharedConfig.context) {
|
|
116
107
|
id = sharedConfig.getNextContextId();
|
|
117
|
-
if (options.ssrLoadFrom === "initial")
|
|
118
|
-
|
|
119
|
-
else if (sharedConfig.load && sharedConfig.has(id))
|
|
120
|
-
initP = sharedConfig.load(id);
|
|
108
|
+
if (options.ssrLoadFrom === "initial") initP = options.initialValue;
|
|
109
|
+
else if (sharedConfig.load && sharedConfig.has(id)) initP = sharedConfig.load(id);
|
|
121
110
|
}
|
|
122
111
|
function loadEnd(p2, v, error2, key) {
|
|
123
112
|
if (pr === p2) {
|
|
@@ -137,32 +126,27 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
137
126
|
Transition.running = true;
|
|
138
127
|
completeLoad(v, error2);
|
|
139
128
|
}, false);
|
|
140
|
-
} else
|
|
141
|
-
completeLoad(v, error2);
|
|
129
|
+
} else completeLoad(v, error2);
|
|
142
130
|
}
|
|
143
131
|
return v;
|
|
144
132
|
}
|
|
145
133
|
function completeLoad(v, err) {
|
|
146
134
|
runUpdates(() => {
|
|
147
|
-
if (err === void 0)
|
|
148
|
-
setValue(() => v);
|
|
135
|
+
if (err === void 0) setValue(() => v);
|
|
149
136
|
setState(err !== void 0 ? "errored" : resolved ? "ready" : "unresolved");
|
|
150
137
|
setError(err);
|
|
151
|
-
for (const c2 of contexts.keys())
|
|
152
|
-
c2.decrement();
|
|
138
|
+
for (const c2 of contexts.keys()) c2.decrement();
|
|
153
139
|
contexts.clear();
|
|
154
140
|
}, false);
|
|
155
141
|
}
|
|
156
142
|
function read() {
|
|
157
143
|
const c2 = SuspenseContext && useContext(SuspenseContext), v = value(), err = error();
|
|
158
|
-
if (err !== void 0 && !pr)
|
|
159
|
-
throw err;
|
|
144
|
+
if (err !== void 0 && !pr) throw err;
|
|
160
145
|
if (Listener && !Listener.user && c2) {
|
|
161
146
|
createComputed(() => {
|
|
162
147
|
track();
|
|
163
148
|
if (pr) {
|
|
164
|
-
if (c2.resolved && Transition && loadedUnderTransition)
|
|
165
|
-
Transition.promises.add(pr);
|
|
149
|
+
if (c2.resolved && Transition && loadedUnderTransition) Transition.promises.add(pr);
|
|
166
150
|
else if (!contexts.has(c2)) {
|
|
167
151
|
c2.increment();
|
|
168
152
|
contexts.add(c2);
|
|
@@ -173,8 +157,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
173
157
|
return v;
|
|
174
158
|
}
|
|
175
159
|
function load(refetching = true) {
|
|
176
|
-
if (refetching !== false && scheduled)
|
|
177
|
-
return;
|
|
160
|
+
if (refetching !== false && scheduled) return;
|
|
178
161
|
scheduled = false;
|
|
179
162
|
const lookup = dynamic ? dynamic() : source;
|
|
180
163
|
loadedUnderTransition = Transition && Transition.running;
|
|
@@ -182,8 +165,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
182
165
|
loadEnd(pr, untrack(value));
|
|
183
166
|
return;
|
|
184
167
|
}
|
|
185
|
-
if (Transition && pr)
|
|
186
|
-
Transition.promises.delete(pr);
|
|
168
|
+
if (Transition && pr) Transition.promises.delete(pr);
|
|
187
169
|
const p2 = initP !== NO_INIT ? initP : untrack(
|
|
188
170
|
() => fetcher(lookup, {
|
|
189
171
|
value: value(),
|
|
@@ -196,10 +178,8 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
196
178
|
}
|
|
197
179
|
pr = p2;
|
|
198
180
|
if ("value" in p2) {
|
|
199
|
-
if (p2.status === "success")
|
|
200
|
-
|
|
201
|
-
else
|
|
202
|
-
loadEnd(pr, void 0, castError(p2.value), lookup);
|
|
181
|
+
if (p2.status === "success") loadEnd(pr, p2.value, void 0, lookup);
|
|
182
|
+
else loadEnd(pr, void 0, castError(p2.value), lookup);
|
|
203
183
|
return p2;
|
|
204
184
|
}
|
|
205
185
|
scheduled = true;
|
|
@@ -228,19 +208,15 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
228
208
|
},
|
|
229
209
|
latest: {
|
|
230
210
|
get() {
|
|
231
|
-
if (!resolved)
|
|
232
|
-
return read();
|
|
211
|
+
if (!resolved) return read();
|
|
233
212
|
const err = error();
|
|
234
|
-
if (err && !pr)
|
|
235
|
-
throw err;
|
|
213
|
+
if (err && !pr) throw err;
|
|
236
214
|
return value();
|
|
237
215
|
}
|
|
238
216
|
}
|
|
239
217
|
});
|
|
240
|
-
if (dynamic)
|
|
241
|
-
|
|
242
|
-
else
|
|
243
|
-
load(false);
|
|
218
|
+
if (dynamic) createComputed(() => load(false));
|
|
219
|
+
else load(false);
|
|
244
220
|
return [
|
|
245
221
|
read,
|
|
246
222
|
{
|
|
@@ -253,13 +229,11 @@ function batch(fn) {
|
|
|
253
229
|
return runUpdates(fn, false);
|
|
254
230
|
}
|
|
255
231
|
function untrack(fn) {
|
|
256
|
-
if (!ExternalSourceConfig && Listener === null)
|
|
257
|
-
return fn();
|
|
232
|
+
if (!ExternalSourceConfig && Listener === null) return fn();
|
|
258
233
|
const listener = Listener;
|
|
259
234
|
Listener = null;
|
|
260
235
|
try {
|
|
261
|
-
if (ExternalSourceConfig)
|
|
262
|
-
return ExternalSourceConfig.untrack(fn);
|
|
236
|
+
if (ExternalSourceConfig) return ExternalSourceConfig.untrack(fn);
|
|
263
237
|
return fn();
|
|
264
238
|
} finally {
|
|
265
239
|
Listener = listener;
|
|
@@ -273,10 +247,8 @@ function on(deps, fn, options) {
|
|
|
273
247
|
let input;
|
|
274
248
|
if (isArray3) {
|
|
275
249
|
input = Array(deps.length);
|
|
276
|
-
for (let i2 = 0; i2 < deps.length; i2++)
|
|
277
|
-
|
|
278
|
-
} else
|
|
279
|
-
input = deps();
|
|
250
|
+
for (let i2 = 0; i2 < deps.length; i2++) input[i2] = deps[i2]();
|
|
251
|
+
} else input = deps();
|
|
280
252
|
if (defer2) {
|
|
281
253
|
defer2 = false;
|
|
282
254
|
return prevValue;
|
|
@@ -290,12 +262,9 @@ function onMount(fn) {
|
|
|
290
262
|
createEffect(() => untrack(fn));
|
|
291
263
|
}
|
|
292
264
|
function onCleanup(fn) {
|
|
293
|
-
if (Owner === null)
|
|
294
|
-
|
|
295
|
-
else
|
|
296
|
-
Owner.cleanups = [fn];
|
|
297
|
-
else
|
|
298
|
-
Owner.cleanups.push(fn);
|
|
265
|
+
if (Owner === null) ;
|
|
266
|
+
else if (Owner.cleanups === null) Owner.cleanups = [fn];
|
|
267
|
+
else Owner.cleanups.push(fn);
|
|
299
268
|
return fn;
|
|
300
269
|
}
|
|
301
270
|
function getOwner() {
|
|
@@ -370,8 +339,7 @@ function children(fn) {
|
|
|
370
339
|
function readSignal() {
|
|
371
340
|
const runningTransition = Transition && Transition.running;
|
|
372
341
|
if (this.sources && (runningTransition ? this.tState : this.state)) {
|
|
373
|
-
if ((runningTransition ? this.tState : this.state) === STALE)
|
|
374
|
-
updateComputation(this);
|
|
342
|
+
if ((runningTransition ? this.tState : this.state) === STALE) updateComputation(this);
|
|
375
343
|
else {
|
|
376
344
|
const updates = Updates;
|
|
377
345
|
Updates = null;
|
|
@@ -396,8 +364,7 @@ function readSignal() {
|
|
|
396
364
|
this.observerSlots.push(Listener.sources.length - 1);
|
|
397
365
|
}
|
|
398
366
|
}
|
|
399
|
-
if (runningTransition && Transition.sources.has(this))
|
|
400
|
-
return this.tValue;
|
|
367
|
+
if (runningTransition && Transition.sources.has(this)) return this.tValue;
|
|
401
368
|
return this.value;
|
|
402
369
|
}
|
|
403
370
|
function writeSignal(node, value, isComp) {
|
|
@@ -409,34 +376,25 @@ function writeSignal(node, value, isComp) {
|
|
|
409
376
|
Transition.sources.add(node);
|
|
410
377
|
node.tValue = value;
|
|
411
378
|
}
|
|
412
|
-
if (!TransitionRunning)
|
|
413
|
-
|
|
414
|
-
} else
|
|
415
|
-
node.value = value;
|
|
379
|
+
if (!TransitionRunning) node.value = value;
|
|
380
|
+
} else node.value = value;
|
|
416
381
|
if (node.observers && node.observers.length) {
|
|
417
382
|
runUpdates(() => {
|
|
418
383
|
for (let i2 = 0; i2 < node.observers.length; i2 += 1) {
|
|
419
384
|
const o2 = node.observers[i2];
|
|
420
385
|
const TransitionRunning = Transition && Transition.running;
|
|
421
|
-
if (TransitionRunning && Transition.disposed.has(o2))
|
|
422
|
-
continue;
|
|
386
|
+
if (TransitionRunning && Transition.disposed.has(o2)) continue;
|
|
423
387
|
if (TransitionRunning ? !o2.tState : !o2.state) {
|
|
424
|
-
if (o2.pure)
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
Effects.push(o2);
|
|
428
|
-
if (o2.observers)
|
|
429
|
-
markDownstream(o2);
|
|
388
|
+
if (o2.pure) Updates.push(o2);
|
|
389
|
+
else Effects.push(o2);
|
|
390
|
+
if (o2.observers) markDownstream(o2);
|
|
430
391
|
}
|
|
431
|
-
if (!TransitionRunning)
|
|
432
|
-
|
|
433
|
-
else
|
|
434
|
-
o2.tState = STALE;
|
|
392
|
+
if (!TransitionRunning) o2.state = STALE;
|
|
393
|
+
else o2.tState = STALE;
|
|
435
394
|
}
|
|
436
395
|
if (Updates.length > 1e6) {
|
|
437
396
|
Updates = [];
|
|
438
|
-
if (
|
|
439
|
-
;
|
|
397
|
+
if (IS_DEV) ;
|
|
440
398
|
throw new Error();
|
|
441
399
|
}
|
|
442
400
|
}, false);
|
|
@@ -445,8 +403,7 @@ function writeSignal(node, value, isComp) {
|
|
|
445
403
|
return value;
|
|
446
404
|
}
|
|
447
405
|
function updateComputation(node) {
|
|
448
|
-
if (!node.fn)
|
|
449
|
-
return;
|
|
406
|
+
if (!node.fn) return;
|
|
450
407
|
cleanNode(node);
|
|
451
408
|
const time = ExecCount;
|
|
452
409
|
runComputation(
|
|
@@ -495,8 +452,7 @@ function runComputation(node, value, time) {
|
|
|
495
452
|
} else if (Transition && Transition.running && node.pure) {
|
|
496
453
|
Transition.sources.add(node);
|
|
497
454
|
node.tValue = nextValue;
|
|
498
|
-
} else
|
|
499
|
-
node.value = nextValue;
|
|
455
|
+
} else node.value = nextValue;
|
|
500
456
|
node.updatedAt = time;
|
|
501
457
|
}
|
|
502
458
|
}
|
|
@@ -518,19 +474,14 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
518
474
|
c2.state = 0;
|
|
519
475
|
c2.tState = state;
|
|
520
476
|
}
|
|
521
|
-
if (Owner === null)
|
|
522
|
-
;
|
|
477
|
+
if (Owner === null) ;
|
|
523
478
|
else if (Owner !== UNOWNED) {
|
|
524
479
|
if (Transition && Transition.running && Owner.pure) {
|
|
525
|
-
if (!Owner.tOwned)
|
|
526
|
-
|
|
527
|
-
else
|
|
528
|
-
Owner.tOwned.push(c2);
|
|
480
|
+
if (!Owner.tOwned) Owner.tOwned = [c2];
|
|
481
|
+
else Owner.tOwned.push(c2);
|
|
529
482
|
} else {
|
|
530
|
-
if (!Owner.owned)
|
|
531
|
-
|
|
532
|
-
else
|
|
533
|
-
Owner.owned.push(c2);
|
|
483
|
+
if (!Owner.owned) Owner.owned = [c2];
|
|
484
|
+
else Owner.owned.push(c2);
|
|
534
485
|
}
|
|
535
486
|
}
|
|
536
487
|
if (ExternalSourceConfig && c2.fn) {
|
|
@@ -550,26 +501,20 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
550
501
|
}
|
|
551
502
|
function runTop(node) {
|
|
552
503
|
const runningTransition = Transition && Transition.running;
|
|
553
|
-
if ((runningTransition ? node.tState : node.state) === 0)
|
|
554
|
-
|
|
555
|
-
if (
|
|
556
|
-
return lookUpstream(node);
|
|
557
|
-
if (node.suspense && untrack(node.suspense.inFallback))
|
|
558
|
-
return node.suspense.effects.push(node);
|
|
504
|
+
if ((runningTransition ? node.tState : node.state) === 0) return;
|
|
505
|
+
if ((runningTransition ? node.tState : node.state) === PENDING) return lookUpstream(node);
|
|
506
|
+
if (node.suspense && untrack(node.suspense.inFallback)) return node.suspense.effects.push(node);
|
|
559
507
|
const ancestors = [node];
|
|
560
508
|
while ((node = node.owner) && (!node.updatedAt || node.updatedAt < ExecCount)) {
|
|
561
|
-
if (runningTransition && Transition.disposed.has(node))
|
|
562
|
-
|
|
563
|
-
if (runningTransition ? node.tState : node.state)
|
|
564
|
-
ancestors.push(node);
|
|
509
|
+
if (runningTransition && Transition.disposed.has(node)) return;
|
|
510
|
+
if (runningTransition ? node.tState : node.state) ancestors.push(node);
|
|
565
511
|
}
|
|
566
512
|
for (let i2 = ancestors.length - 1; i2 >= 0; i2--) {
|
|
567
513
|
node = ancestors[i2];
|
|
568
514
|
if (runningTransition) {
|
|
569
515
|
let top = node, prev = ancestors[i2 + 1];
|
|
570
516
|
while ((top = top.owner) && top !== prev) {
|
|
571
|
-
if (Transition.disposed.has(top))
|
|
572
|
-
return;
|
|
517
|
+
if (Transition.disposed.has(top)) return;
|
|
573
518
|
}
|
|
574
519
|
}
|
|
575
520
|
if ((runningTransition ? node.tState : node.state) === STALE) {
|
|
@@ -583,37 +528,29 @@ function runTop(node) {
|
|
|
583
528
|
}
|
|
584
529
|
}
|
|
585
530
|
function runUpdates(fn, init) {
|
|
586
|
-
if (Updates)
|
|
587
|
-
return fn();
|
|
531
|
+
if (Updates) return fn();
|
|
588
532
|
let wait = false;
|
|
589
|
-
if (!init)
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
wait = true;
|
|
593
|
-
else
|
|
594
|
-
Effects = [];
|
|
533
|
+
if (!init) Updates = [];
|
|
534
|
+
if (Effects) wait = true;
|
|
535
|
+
else Effects = [];
|
|
595
536
|
ExecCount++;
|
|
596
537
|
try {
|
|
597
538
|
const res = fn();
|
|
598
539
|
completeUpdates(wait);
|
|
599
540
|
return res;
|
|
600
541
|
} catch (err) {
|
|
601
|
-
if (!wait)
|
|
602
|
-
Effects = null;
|
|
542
|
+
if (!wait) Effects = null;
|
|
603
543
|
Updates = null;
|
|
604
544
|
handleError(err);
|
|
605
545
|
}
|
|
606
546
|
}
|
|
607
547
|
function completeUpdates(wait) {
|
|
608
548
|
if (Updates) {
|
|
609
|
-
if (Scheduler && Transition && Transition.running)
|
|
610
|
-
|
|
611
|
-
else
|
|
612
|
-
runQueue(Updates);
|
|
549
|
+
if (Scheduler && Transition && Transition.running) scheduleQueue(Updates);
|
|
550
|
+
else runQueue(Updates);
|
|
613
551
|
Updates = null;
|
|
614
552
|
}
|
|
615
|
-
if (wait)
|
|
616
|
-
return;
|
|
553
|
+
if (wait) return;
|
|
617
554
|
let res;
|
|
618
555
|
if (Transition) {
|
|
619
556
|
if (!Transition.promises.size && !Transition.queue.size) {
|
|
@@ -627,16 +564,13 @@ function completeUpdates(wait) {
|
|
|
627
564
|
}
|
|
628
565
|
Transition = null;
|
|
629
566
|
runUpdates(() => {
|
|
630
|
-
for (const d of disposed)
|
|
631
|
-
cleanNode(d);
|
|
567
|
+
for (const d of disposed) cleanNode(d);
|
|
632
568
|
for (const v of sources) {
|
|
633
569
|
v.value = v.tValue;
|
|
634
570
|
if (v.owned) {
|
|
635
|
-
for (let i2 = 0, len = v.owned.length; i2 < len; i2++)
|
|
636
|
-
cleanNode(v.owned[i2]);
|
|
571
|
+
for (let i2 = 0, len = v.owned.length; i2 < len; i2++) cleanNode(v.owned[i2]);
|
|
637
572
|
}
|
|
638
|
-
if (v.tOwned)
|
|
639
|
-
v.owned = v.tOwned;
|
|
573
|
+
if (v.tOwned) v.owned = v.tOwned;
|
|
640
574
|
delete v.tValue;
|
|
641
575
|
delete v.tOwned;
|
|
642
576
|
v.tState = 0;
|
|
@@ -653,14 +587,11 @@ function completeUpdates(wait) {
|
|
|
653
587
|
}
|
|
654
588
|
const e2 = Effects;
|
|
655
589
|
Effects = null;
|
|
656
|
-
if (e2.length)
|
|
657
|
-
|
|
658
|
-
if (res)
|
|
659
|
-
res();
|
|
590
|
+
if (e2.length) runUpdates(() => runEffects(e2), false);
|
|
591
|
+
if (res) res();
|
|
660
592
|
}
|
|
661
593
|
function runQueue(queue) {
|
|
662
|
-
for (let i2 = 0; i2 < queue.length; i2++)
|
|
663
|
-
runTop(queue[i2]);
|
|
594
|
+
for (let i2 = 0; i2 < queue.length; i2++) runTop(queue[i2]);
|
|
664
595
|
}
|
|
665
596
|
function scheduleQueue(queue) {
|
|
666
597
|
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
@@ -683,10 +614,8 @@ function runUserEffects(queue) {
|
|
|
683
614
|
let i2, userLength = 0;
|
|
684
615
|
for (i2 = 0; i2 < queue.length; i2++) {
|
|
685
616
|
const e2 = queue[i2];
|
|
686
|
-
if (!e2.user)
|
|
687
|
-
|
|
688
|
-
else
|
|
689
|
-
queue[userLength++] = e2;
|
|
617
|
+
if (!e2.user) runTop(e2);
|
|
618
|
+
else queue[userLength++] = e2;
|
|
690
619
|
}
|
|
691
620
|
if (sharedConfig.context) {
|
|
692
621
|
if (sharedConfig.count) {
|
|
@@ -701,15 +630,12 @@ function runUserEffects(queue) {
|
|
|
701
630
|
userLength += sharedConfig.effects.length;
|
|
702
631
|
delete sharedConfig.effects;
|
|
703
632
|
}
|
|
704
|
-
for (i2 = 0; i2 < userLength; i2++)
|
|
705
|
-
runTop(queue[i2]);
|
|
633
|
+
for (i2 = 0; i2 < userLength; i2++) runTop(queue[i2]);
|
|
706
634
|
}
|
|
707
635
|
function lookUpstream(node, ignore) {
|
|
708
636
|
const runningTransition = Transition && Transition.running;
|
|
709
|
-
if (runningTransition)
|
|
710
|
-
|
|
711
|
-
else
|
|
712
|
-
node.state = 0;
|
|
637
|
+
if (runningTransition) node.tState = 0;
|
|
638
|
+
else node.state = 0;
|
|
713
639
|
for (let i2 = 0; i2 < node.sources.length; i2 += 1) {
|
|
714
640
|
const source = node.sources[i2];
|
|
715
641
|
if (source.sources) {
|
|
@@ -717,8 +643,7 @@ function lookUpstream(node, ignore) {
|
|
|
717
643
|
if (state === STALE) {
|
|
718
644
|
if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
|
|
719
645
|
runTop(source);
|
|
720
|
-
} else if (state === PENDING)
|
|
721
|
-
lookUpstream(source, ignore);
|
|
646
|
+
} else if (state === PENDING) lookUpstream(source, ignore);
|
|
722
647
|
}
|
|
723
648
|
}
|
|
724
649
|
}
|
|
@@ -727,14 +652,10 @@ function markDownstream(node) {
|
|
|
727
652
|
for (let i2 = 0; i2 < node.observers.length; i2 += 1) {
|
|
728
653
|
const o2 = node.observers[i2];
|
|
729
654
|
if (runningTransition ? !o2.tState : !o2.state) {
|
|
730
|
-
if (runningTransition)
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
if (o2.pure)
|
|
735
|
-
Updates.push(o2);
|
|
736
|
-
else
|
|
737
|
-
Effects.push(o2);
|
|
655
|
+
if (runningTransition) o2.tState = PENDING;
|
|
656
|
+
else o2.state = PENDING;
|
|
657
|
+
if (o2.pure) Updates.push(o2);
|
|
658
|
+
else Effects.push(o2);
|
|
738
659
|
o2.observers && markDownstream(o2);
|
|
739
660
|
}
|
|
740
661
|
}
|
|
@@ -755,26 +676,21 @@ function cleanNode(node) {
|
|
|
755
676
|
}
|
|
756
677
|
}
|
|
757
678
|
if (node.tOwned) {
|
|
758
|
-
for (i2 = node.tOwned.length - 1; i2 >= 0; i2--)
|
|
759
|
-
cleanNode(node.tOwned[i2]);
|
|
679
|
+
for (i2 = node.tOwned.length - 1; i2 >= 0; i2--) cleanNode(node.tOwned[i2]);
|
|
760
680
|
delete node.tOwned;
|
|
761
681
|
}
|
|
762
682
|
if (Transition && Transition.running && node.pure) {
|
|
763
683
|
reset(node, true);
|
|
764
684
|
} else if (node.owned) {
|
|
765
|
-
for (i2 = node.owned.length - 1; i2 >= 0; i2--)
|
|
766
|
-
cleanNode(node.owned[i2]);
|
|
685
|
+
for (i2 = node.owned.length - 1; i2 >= 0; i2--) cleanNode(node.owned[i2]);
|
|
767
686
|
node.owned = null;
|
|
768
687
|
}
|
|
769
688
|
if (node.cleanups) {
|
|
770
|
-
for (i2 = node.cleanups.length - 1; i2 >= 0; i2--)
|
|
771
|
-
node.cleanups[i2]();
|
|
689
|
+
for (i2 = node.cleanups.length - 1; i2 >= 0; i2--) node.cleanups[i2]();
|
|
772
690
|
node.cleanups = null;
|
|
773
691
|
}
|
|
774
|
-
if (Transition && Transition.running)
|
|
775
|
-
|
|
776
|
-
else
|
|
777
|
-
node.state = 0;
|
|
692
|
+
if (Transition && Transition.running) node.tState = 0;
|
|
693
|
+
else node.state = 0;
|
|
778
694
|
}
|
|
779
695
|
function reset(node, top) {
|
|
780
696
|
if (!top) {
|
|
@@ -782,21 +698,18 @@ function reset(node, top) {
|
|
|
782
698
|
Transition.disposed.add(node);
|
|
783
699
|
}
|
|
784
700
|
if (node.owned) {
|
|
785
|
-
for (let i2 = 0; i2 < node.owned.length; i2++)
|
|
786
|
-
reset(node.owned[i2]);
|
|
701
|
+
for (let i2 = 0; i2 < node.owned.length; i2++) reset(node.owned[i2]);
|
|
787
702
|
}
|
|
788
703
|
}
|
|
789
704
|
function castError(err) {
|
|
790
|
-
if (err instanceof Error)
|
|
791
|
-
return err;
|
|
705
|
+
if (err instanceof Error) return err;
|
|
792
706
|
return new Error(typeof err === "string" ? err : "Unknown error", {
|
|
793
707
|
cause: err
|
|
794
708
|
});
|
|
795
709
|
}
|
|
796
710
|
function runErrors(err, fns, owner) {
|
|
797
711
|
try {
|
|
798
|
-
for (const f of fns)
|
|
799
|
-
f(err);
|
|
712
|
+
for (const f of fns) f(err);
|
|
800
713
|
} catch (e2) {
|
|
801
714
|
handleError(e2, owner && owner.owner || null);
|
|
802
715
|
}
|
|
@@ -804,8 +717,7 @@ function runErrors(err, fns, owner) {
|
|
|
804
717
|
function handleError(err, owner = Owner) {
|
|
805
718
|
const fns = ERROR && owner && owner.context && owner.context[ERROR];
|
|
806
719
|
const error = castError(err);
|
|
807
|
-
if (!fns)
|
|
808
|
-
throw error;
|
|
720
|
+
if (!fns) throw error;
|
|
809
721
|
if (Effects)
|
|
810
722
|
Effects.push({
|
|
811
723
|
fn() {
|
|
@@ -813,12 +725,10 @@ function handleError(err, owner = Owner) {
|
|
|
813
725
|
},
|
|
814
726
|
state: STALE
|
|
815
727
|
});
|
|
816
|
-
else
|
|
817
|
-
runErrors(error, fns, owner);
|
|
728
|
+
else runErrors(error, fns, owner);
|
|
818
729
|
}
|
|
819
730
|
function resolveChildren(children2) {
|
|
820
|
-
if (typeof children2 === "function" && !children2.length)
|
|
821
|
-
return resolveChildren(children2());
|
|
731
|
+
if (typeof children2 === "function" && !children2.length) return resolveChildren(children2());
|
|
822
732
|
if (Array.isArray(children2)) {
|
|
823
733
|
const results = [];
|
|
824
734
|
for (let i2 = 0; i2 < children2.length; i2++) {
|
|
@@ -846,8 +756,7 @@ function createProvider(id, options) {
|
|
|
846
756
|
};
|
|
847
757
|
}
|
|
848
758
|
function dispose(d) {
|
|
849
|
-
for (let i2 = 0; i2 < d.length; i2++)
|
|
850
|
-
d[i2]();
|
|
759
|
+
for (let i2 = 0; i2 < d.length; i2++) d[i2]();
|
|
851
760
|
}
|
|
852
761
|
function mapArray(list, mapFn, options = {}) {
|
|
853
762
|
let items = [], mapped = [], disposers = [], len = 0, indexes = mapFn.length > 1 ? [] : null;
|
|
@@ -885,8 +794,7 @@ function mapArray(list, mapFn, options = {}) {
|
|
|
885
794
|
temp = new Array(newLen);
|
|
886
795
|
tempdisposers = new Array(newLen);
|
|
887
796
|
indexes && (tempIndexes = new Array(newLen));
|
|
888
|
-
for (start = 0, end = Math.min(len, newLen); start < end && items[start] === newItems[start]; start++)
|
|
889
|
-
;
|
|
797
|
+
for (start = 0, end = Math.min(len, newLen); start < end && items[start] === newItems[start]; start++) ;
|
|
890
798
|
for (end = len - 1, newEnd = newLen - 1; end >= start && newEnd >= start && items[end] === newItems[newEnd]; end--, newEnd--) {
|
|
891
799
|
temp[newEnd] = mapped[end];
|
|
892
800
|
tempdisposers[newEnd] = disposers[end];
|
|
@@ -909,8 +817,7 @@ function mapArray(list, mapFn, options = {}) {
|
|
|
909
817
|
indexes && (tempIndexes[j] = indexes[i2]);
|
|
910
818
|
j = newIndicesNext[j];
|
|
911
819
|
newIndices.set(item, j);
|
|
912
|
-
} else
|
|
913
|
-
disposers[i2]();
|
|
820
|
+
} else disposers[i2]();
|
|
914
821
|
}
|
|
915
822
|
for (j = start; j < newLen; j++) {
|
|
916
823
|
if (j in temp) {
|
|
@@ -920,8 +827,7 @@ function mapArray(list, mapFn, options = {}) {
|
|
|
920
827
|
indexes[j] = tempIndexes[j];
|
|
921
828
|
indexes[j](j);
|
|
922
829
|
}
|
|
923
|
-
} else
|
|
924
|
-
mapped[j] = createRoot(mapper);
|
|
830
|
+
} else mapped[j] = createRoot(mapper);
|
|
925
831
|
}
|
|
926
832
|
mapped = mapped.slice(0, len = newLen);
|
|
927
833
|
items = newItems.slice(0);
|
|
@@ -1015,8 +921,7 @@ function resolveSource(s2) {
|
|
|
1015
921
|
function resolveSources() {
|
|
1016
922
|
for (let i2 = 0, length = this.length; i2 < length; ++i2) {
|
|
1017
923
|
const v = this[i2]();
|
|
1018
|
-
if (v !== void 0)
|
|
1019
|
-
return v;
|
|
924
|
+
if (v !== void 0) return v;
|
|
1020
925
|
}
|
|
1021
926
|
}
|
|
1022
927
|
function mergeProps(...sources) {
|
|
@@ -1032,14 +937,12 @@ function mergeProps(...sources) {
|
|
|
1032
937
|
get(property) {
|
|
1033
938
|
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1034
939
|
const v = resolveSource(sources[i2])[property];
|
|
1035
|
-
if (v !== void 0)
|
|
1036
|
-
return v;
|
|
940
|
+
if (v !== void 0) return v;
|
|
1037
941
|
}
|
|
1038
942
|
},
|
|
1039
943
|
has(property) {
|
|
1040
944
|
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1041
|
-
if (property in resolveSource(sources[i2]))
|
|
1042
|
-
return true;
|
|
945
|
+
if (property in resolveSource(sources[i2])) return true;
|
|
1043
946
|
}
|
|
1044
947
|
return false;
|
|
1045
948
|
},
|
|
@@ -1057,13 +960,11 @@ function mergeProps(...sources) {
|
|
|
1057
960
|
const defined = /* @__PURE__ */ Object.create(null);
|
|
1058
961
|
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1059
962
|
const source = sources[i2];
|
|
1060
|
-
if (!source)
|
|
1061
|
-
continue;
|
|
963
|
+
if (!source) continue;
|
|
1062
964
|
const sourceKeys = Object.getOwnPropertyNames(source);
|
|
1063
965
|
for (let i3 = sourceKeys.length - 1; i3 >= 0; i3--) {
|
|
1064
966
|
const key = sourceKeys[i3];
|
|
1065
|
-
if (key === "__proto__" || key === "constructor")
|
|
1066
|
-
continue;
|
|
967
|
+
if (key === "__proto__" || key === "constructor") continue;
|
|
1067
968
|
const desc = Object.getOwnPropertyDescriptor(source, key);
|
|
1068
969
|
if (!defined[key]) {
|
|
1069
970
|
defined[key] = desc.get ? {
|
|
@@ -1074,10 +975,8 @@ function mergeProps(...sources) {
|
|
|
1074
975
|
} else {
|
|
1075
976
|
const sources2 = sourcesMap[key];
|
|
1076
977
|
if (sources2) {
|
|
1077
|
-
if (desc.get)
|
|
1078
|
-
|
|
1079
|
-
else if (desc.value !== void 0)
|
|
1080
|
-
sources2.push(() => desc.value);
|
|
978
|
+
if (desc.get) sources2.push(desc.get.bind(source));
|
|
979
|
+
else if (desc.value !== void 0) sources2.push(() => desc.value);
|
|
1081
980
|
}
|
|
1082
981
|
}
|
|
1083
982
|
}
|
|
@@ -1086,10 +985,8 @@ function mergeProps(...sources) {
|
|
|
1086
985
|
const definedKeys = Object.keys(defined);
|
|
1087
986
|
for (let i2 = definedKeys.length - 1; i2 >= 0; i2--) {
|
|
1088
987
|
const key = definedKeys[i2], desc = defined[key];
|
|
1089
|
-
if (desc && desc.get)
|
|
1090
|
-
|
|
1091
|
-
else
|
|
1092
|
-
target[key] = desc ? desc.value : void 0;
|
|
988
|
+
if (desc && desc.get) Object.defineProperty(target, key, desc);
|
|
989
|
+
else target[key] = desc ? desc.value : void 0;
|
|
1093
990
|
}
|
|
1094
991
|
return target;
|
|
1095
992
|
}
|
|
@@ -1173,10 +1070,8 @@ function lazy(fn) {
|
|
|
1173
1070
|
let Comp;
|
|
1174
1071
|
return createMemo(
|
|
1175
1072
|
() => (Comp = comp()) ? untrack(() => {
|
|
1176
|
-
if (
|
|
1177
|
-
|
|
1178
|
-
if (!ctx || sharedConfig.done)
|
|
1179
|
-
return Comp(props);
|
|
1073
|
+
if (IS_DEV) ;
|
|
1074
|
+
if (!ctx || sharedConfig.done) return Comp(props);
|
|
1180
1075
|
const c2 = sharedConfig.context;
|
|
1181
1076
|
setHydrateContext(ctx);
|
|
1182
1077
|
const r2 = Comp(props);
|
|
@@ -1206,8 +1101,9 @@ function Index(props) {
|
|
|
1206
1101
|
}
|
|
1207
1102
|
function Show(props) {
|
|
1208
1103
|
const keyed = props.keyed;
|
|
1209
|
-
const
|
|
1210
|
-
|
|
1104
|
+
const conditionValue = createMemo(() => props.when, void 0, void 0);
|
|
1105
|
+
const condition = keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1106
|
+
equals: (a2, b2) => !a2 === !b2
|
|
1211
1107
|
});
|
|
1212
1108
|
return createMemo(
|
|
1213
1109
|
() => {
|
|
@@ -1218,9 +1114,8 @@ function Show(props) {
|
|
|
1218
1114
|
return fn ? untrack(
|
|
1219
1115
|
() => child(
|
|
1220
1116
|
keyed ? c2 : () => {
|
|
1221
|
-
if (!untrack(condition))
|
|
1222
|
-
|
|
1223
|
-
return props.when;
|
|
1117
|
+
if (!untrack(condition)) throw narrowedError("Show");
|
|
1118
|
+
return conditionValue();
|
|
1224
1119
|
}
|
|
1225
1120
|
)
|
|
1226
1121
|
) : child;
|
|
@@ -1232,43 +1127,42 @@ function Show(props) {
|
|
|
1232
1127
|
);
|
|
1233
1128
|
}
|
|
1234
1129
|
function Switch(props) {
|
|
1235
|
-
|
|
1236
|
-
const
|
|
1237
|
-
|
|
1238
|
-
()
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
equals
|
|
1130
|
+
const chs = children(() => props.children);
|
|
1131
|
+
const switchFunc = createMemo(() => {
|
|
1132
|
+
const ch = chs();
|
|
1133
|
+
const mps = Array.isArray(ch) ? ch : [ch];
|
|
1134
|
+
let func = () => void 0;
|
|
1135
|
+
for (let i2 = 0; i2 < mps.length; i2++) {
|
|
1136
|
+
const index = i2;
|
|
1137
|
+
const mp = mps[i2];
|
|
1138
|
+
const prevFunc = func;
|
|
1139
|
+
const conditionValue = createMemo(
|
|
1140
|
+
() => prevFunc() ? void 0 : mp.when,
|
|
1141
|
+
void 0,
|
|
1142
|
+
void 0
|
|
1143
|
+
);
|
|
1144
|
+
const condition = mp.keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1145
|
+
equals: (a2, b2) => !a2 === !b2
|
|
1146
|
+
});
|
|
1147
|
+
func = () => prevFunc() || (condition() ? [index, conditionValue, mp] : void 0);
|
|
1254
1148
|
}
|
|
1255
|
-
|
|
1149
|
+
return func;
|
|
1150
|
+
});
|
|
1256
1151
|
return createMemo(
|
|
1257
1152
|
() => {
|
|
1258
|
-
const
|
|
1259
|
-
if (
|
|
1260
|
-
|
|
1261
|
-
const
|
|
1262
|
-
const fn = typeof
|
|
1153
|
+
const sel = switchFunc()();
|
|
1154
|
+
if (!sel) return props.fallback;
|
|
1155
|
+
const [index, conditionValue, mp] = sel;
|
|
1156
|
+
const child = mp.children;
|
|
1157
|
+
const fn = typeof child === "function" && child.length > 0;
|
|
1263
1158
|
return fn ? untrack(
|
|
1264
|
-
() =>
|
|
1265
|
-
keyed ?
|
|
1266
|
-
if (untrack(
|
|
1267
|
-
|
|
1268
|
-
return cond.when;
|
|
1159
|
+
() => child(
|
|
1160
|
+
mp.keyed ? conditionValue() : () => {
|
|
1161
|
+
if (untrack(switchFunc)()?.[0] !== index) throw narrowedError("Match");
|
|
1162
|
+
return conditionValue();
|
|
1269
1163
|
}
|
|
1270
1164
|
)
|
|
1271
|
-
) :
|
|
1165
|
+
) : child;
|
|
1272
1166
|
},
|
|
1273
1167
|
void 0,
|
|
1274
1168
|
void 0
|
|
@@ -1277,9 +1171,9 @@ function Switch(props) {
|
|
|
1277
1171
|
function Match(props) {
|
|
1278
1172
|
return props;
|
|
1279
1173
|
}
|
|
1280
|
-
var sharedConfig, equalFn, $PROXY, SUPPORTS_PROXY, $TRACK, signalOptions, ERROR, runEffects, STALE, PENDING, UNOWNED, NO_INIT, Owner, Transition, Scheduler, ExternalSourceConfig, Listener, Updates, Effects, ExecCount, transPending, setTransPending, SuspenseContext, FALLBACK, hydrationEnabled, propTraps, counter, narrowedError, DEV;
|
|
1174
|
+
var sharedConfig, IS_DEV, equalFn, $PROXY, SUPPORTS_PROXY, $TRACK, signalOptions, ERROR, runEffects, STALE, PENDING, UNOWNED, NO_INIT, Owner, Transition, Scheduler, ExternalSourceConfig, Listener, Updates, Effects, ExecCount, transPending, setTransPending, SuspenseContext, FALLBACK, hydrationEnabled, propTraps, counter, narrowedError, DEV;
|
|
1281
1175
|
var init_solid = __esm({
|
|
1282
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1176
|
+
"../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js"() {
|
|
1283
1177
|
sharedConfig = {
|
|
1284
1178
|
context: void 0,
|
|
1285
1179
|
registry: void 0,
|
|
@@ -1292,6 +1186,7 @@ var init_solid = __esm({
|
|
|
1292
1186
|
return getContextId(this.context.count++);
|
|
1293
1187
|
}
|
|
1294
1188
|
};
|
|
1189
|
+
IS_DEV = false;
|
|
1295
1190
|
equalFn = (a2, b2) => a2 === b2;
|
|
1296
1191
|
$PROXY = Symbol("solid-proxy");
|
|
1297
1192
|
SUPPORTS_PROXY = typeof Proxy === "function";
|
|
@@ -1323,13 +1218,11 @@ var init_solid = __esm({
|
|
|
1323
1218
|
hydrationEnabled = false;
|
|
1324
1219
|
propTraps = {
|
|
1325
1220
|
get(_, property, receiver) {
|
|
1326
|
-
if (property === $PROXY)
|
|
1327
|
-
return receiver;
|
|
1221
|
+
if (property === $PROXY) return receiver;
|
|
1328
1222
|
return _.get(property);
|
|
1329
1223
|
},
|
|
1330
1224
|
has(_, property) {
|
|
1331
|
-
if (property === $PROXY)
|
|
1332
|
-
return true;
|
|
1225
|
+
if (property === $PROXY) return true;
|
|
1333
1226
|
return _.has(property);
|
|
1334
1227
|
},
|
|
1335
1228
|
set: trueFn,
|
|
@@ -1355,7 +1248,7 @@ var init_solid = __esm({
|
|
|
1355
1248
|
}
|
|
1356
1249
|
});
|
|
1357
1250
|
|
|
1358
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1251
|
+
// ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js
|
|
1359
1252
|
function getPropAlias(prop, tagName) {
|
|
1360
1253
|
const a2 = PropAliases[prop];
|
|
1361
1254
|
return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
|
|
@@ -1374,12 +1267,10 @@ function reconcileArrays(parentNode, a2, b2) {
|
|
|
1374
1267
|
}
|
|
1375
1268
|
if (aEnd === aStart) {
|
|
1376
1269
|
const node = bEnd < bLength ? bStart ? b2[bStart - 1].nextSibling : b2[bEnd - bStart] : after;
|
|
1377
|
-
while (bStart < bEnd)
|
|
1378
|
-
parentNode.insertBefore(b2[bStart++], node);
|
|
1270
|
+
while (bStart < bEnd) parentNode.insertBefore(b2[bStart++], node);
|
|
1379
1271
|
} else if (bEnd === bStart) {
|
|
1380
1272
|
while (aStart < aEnd) {
|
|
1381
|
-
if (!map || !map.has(a2[aStart]))
|
|
1382
|
-
a2[aStart].remove();
|
|
1273
|
+
if (!map || !map.has(a2[aStart])) a2[aStart].remove();
|
|
1383
1274
|
aStart++;
|
|
1384
1275
|
}
|
|
1385
1276
|
} else if (a2[aStart] === b2[bEnd - 1] && b2[bStart] === a2[aEnd - 1]) {
|
|
@@ -1391,28 +1282,22 @@ function reconcileArrays(parentNode, a2, b2) {
|
|
|
1391
1282
|
if (!map) {
|
|
1392
1283
|
map = /* @__PURE__ */ new Map();
|
|
1393
1284
|
let i2 = bStart;
|
|
1394
|
-
while (i2 < bEnd)
|
|
1395
|
-
map.set(b2[i2], i2++);
|
|
1285
|
+
while (i2 < bEnd) map.set(b2[i2], i2++);
|
|
1396
1286
|
}
|
|
1397
1287
|
const index = map.get(a2[aStart]);
|
|
1398
1288
|
if (index != null) {
|
|
1399
1289
|
if (bStart < index && index < bEnd) {
|
|
1400
1290
|
let i2 = aStart, sequence = 1, t2;
|
|
1401
1291
|
while (++i2 < aEnd && i2 < bEnd) {
|
|
1402
|
-
if ((t2 = map.get(a2[i2])) == null || t2 !== index + sequence)
|
|
1403
|
-
break;
|
|
1292
|
+
if ((t2 = map.get(a2[i2])) == null || t2 !== index + sequence) break;
|
|
1404
1293
|
sequence++;
|
|
1405
1294
|
}
|
|
1406
1295
|
if (sequence > index - bStart) {
|
|
1407
1296
|
const node = a2[aStart];
|
|
1408
|
-
while (bStart < index)
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
} else
|
|
1413
|
-
aStart++;
|
|
1414
|
-
} else
|
|
1415
|
-
a2[aStart++].remove();
|
|
1297
|
+
while (bStart < index) parentNode.insertBefore(b2[bStart++], node);
|
|
1298
|
+
} else parentNode.replaceChild(b2[bStart++], a2[aStart++]);
|
|
1299
|
+
} else aStart++;
|
|
1300
|
+
} else a2[aStart++].remove();
|
|
1416
1301
|
}
|
|
1417
1302
|
}
|
|
1418
1303
|
}
|
|
@@ -1427,7 +1312,7 @@ function render(code, element, init, options = {}) {
|
|
|
1427
1312
|
element.textContent = "";
|
|
1428
1313
|
};
|
|
1429
1314
|
}
|
|
1430
|
-
function template(html, isImportNode, isSVG) {
|
|
1315
|
+
function template(html, isImportNode, isSVG, isMathML) {
|
|
1431
1316
|
let node;
|
|
1432
1317
|
const create = () => {
|
|
1433
1318
|
const t2 = document.createElement("template");
|
|
@@ -1450,78 +1335,61 @@ function delegateEvents(eventNames, document2 = window.document) {
|
|
|
1450
1335
|
}
|
|
1451
1336
|
function clearDelegatedEvents(document2 = window.document) {
|
|
1452
1337
|
if (document2[$$EVENTS]) {
|
|
1453
|
-
for (let name of document2[$$EVENTS].keys())
|
|
1454
|
-
document2.removeEventListener(name, eventHandler);
|
|
1338
|
+
for (let name of document2[$$EVENTS].keys()) document2.removeEventListener(name, eventHandler);
|
|
1455
1339
|
delete document2[$$EVENTS];
|
|
1456
1340
|
}
|
|
1457
1341
|
}
|
|
1458
1342
|
function setAttribute(node, name, value) {
|
|
1459
|
-
if (isHydrating(node))
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
node.removeAttribute(name);
|
|
1463
|
-
else
|
|
1464
|
-
node.setAttribute(name, value);
|
|
1343
|
+
if (isHydrating(node)) return;
|
|
1344
|
+
if (value == null) node.removeAttribute(name);
|
|
1345
|
+
else node.setAttribute(name, value);
|
|
1465
1346
|
}
|
|
1466
1347
|
function setAttributeNS(node, namespace, name, value) {
|
|
1467
|
-
if (isHydrating(node))
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
node.removeAttributeNS(namespace, name);
|
|
1471
|
-
else
|
|
1472
|
-
node.setAttributeNS(namespace, name, value);
|
|
1348
|
+
if (isHydrating(node)) return;
|
|
1349
|
+
if (value == null) node.removeAttributeNS(namespace, name);
|
|
1350
|
+
else node.setAttributeNS(namespace, name, value);
|
|
1473
1351
|
}
|
|
1474
1352
|
function setBoolAttribute(node, name, value) {
|
|
1475
|
-
if (isHydrating(node))
|
|
1476
|
-
return;
|
|
1353
|
+
if (isHydrating(node)) return;
|
|
1477
1354
|
value ? node.setAttribute(name, "") : node.removeAttribute(name);
|
|
1478
1355
|
}
|
|
1479
1356
|
function className(node, value) {
|
|
1480
|
-
if (isHydrating(node))
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
node.removeAttribute("class");
|
|
1484
|
-
else
|
|
1485
|
-
node.className = value;
|
|
1357
|
+
if (isHydrating(node)) return;
|
|
1358
|
+
if (value == null) node.removeAttribute("class");
|
|
1359
|
+
else node.className = value;
|
|
1486
1360
|
}
|
|
1487
1361
|
function addEventListener(node, name, handler, delegate) {
|
|
1488
1362
|
if (delegate) {
|
|
1489
1363
|
if (Array.isArray(handler)) {
|
|
1490
1364
|
node[`$$${name}`] = handler[0];
|
|
1491
1365
|
node[`$$${name}Data`] = handler[1];
|
|
1492
|
-
} else
|
|
1493
|
-
node[`$$${name}`] = handler;
|
|
1366
|
+
} else node[`$$${name}`] = handler;
|
|
1494
1367
|
} else if (Array.isArray(handler)) {
|
|
1495
1368
|
const handlerFn = handler[0];
|
|
1496
1369
|
node.addEventListener(name, handler[0] = (e2) => handlerFn.call(node, handler[1], e2));
|
|
1497
|
-
} else
|
|
1498
|
-
node.addEventListener(name, handler, typeof handler !== "function" && handler);
|
|
1370
|
+
} else node.addEventListener(name, handler, typeof handler !== "function" && handler);
|
|
1499
1371
|
}
|
|
1500
1372
|
function classList(node, value, prev = {}) {
|
|
1501
1373
|
const classKeys = Object.keys(value || {}), prevKeys = Object.keys(prev);
|
|
1502
1374
|
let i2, len;
|
|
1503
1375
|
for (i2 = 0, len = prevKeys.length; i2 < len; i2++) {
|
|
1504
1376
|
const key = prevKeys[i2];
|
|
1505
|
-
if (!key || key === "undefined" || value[key])
|
|
1506
|
-
continue;
|
|
1377
|
+
if (!key || key === "undefined" || value[key]) continue;
|
|
1507
1378
|
toggleClassKey(node, key, false);
|
|
1508
1379
|
delete prev[key];
|
|
1509
1380
|
}
|
|
1510
1381
|
for (i2 = 0, len = classKeys.length; i2 < len; i2++) {
|
|
1511
1382
|
const key = classKeys[i2], classValue = !!value[key];
|
|
1512
|
-
if (!key || key === "undefined" || prev[key] === classValue || !classValue)
|
|
1513
|
-
continue;
|
|
1383
|
+
if (!key || key === "undefined" || prev[key] === classValue || !classValue) continue;
|
|
1514
1384
|
toggleClassKey(node, key, true);
|
|
1515
1385
|
prev[key] = classValue;
|
|
1516
1386
|
}
|
|
1517
1387
|
return prev;
|
|
1518
1388
|
}
|
|
1519
1389
|
function style(node, value, prev) {
|
|
1520
|
-
if (!value)
|
|
1521
|
-
return prev ? setAttribute(node, "style") : value;
|
|
1390
|
+
if (!value) return prev ? setAttribute(node, "style") : value;
|
|
1522
1391
|
const nodeStyle = node.style;
|
|
1523
|
-
if (typeof value === "string")
|
|
1524
|
-
return nodeStyle.cssText = value;
|
|
1392
|
+
if (typeof value === "string") return nodeStyle.cssText = value;
|
|
1525
1393
|
typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
|
|
1526
1394
|
prev || (prev = {});
|
|
1527
1395
|
value || (value = {});
|
|
@@ -1554,18 +1422,15 @@ function use(fn, element, arg) {
|
|
|
1554
1422
|
return untrack(() => fn(element, arg));
|
|
1555
1423
|
}
|
|
1556
1424
|
function insert(parent, accessor, marker, initial) {
|
|
1557
|
-
if (marker !== void 0 && !initial)
|
|
1558
|
-
|
|
1559
|
-
if (typeof accessor !== "function")
|
|
1560
|
-
return insertExpression(parent, accessor, initial, marker);
|
|
1425
|
+
if (marker !== void 0 && !initial) initial = [];
|
|
1426
|
+
if (typeof accessor !== "function") return insertExpression(parent, accessor, initial, marker);
|
|
1561
1427
|
createRenderEffect((current) => insertExpression(parent, accessor(), current, marker), initial);
|
|
1562
1428
|
}
|
|
1563
1429
|
function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = false) {
|
|
1564
1430
|
props || (props = {});
|
|
1565
1431
|
for (const prop in prevProps) {
|
|
1566
1432
|
if (!(prop in props)) {
|
|
1567
|
-
if (prop === "children")
|
|
1568
|
-
continue;
|
|
1433
|
+
if (prop === "children") continue;
|
|
1569
1434
|
prevProps[prop] = assignProp(node, prop, null, prevProps[prop], isSVG, skipRef, props);
|
|
1570
1435
|
}
|
|
1571
1436
|
}
|
|
@@ -1582,8 +1447,7 @@ function getNextElement(template2) {
|
|
|
1582
1447
|
if (!hydrating || !(node = sharedConfig.registry.get(key = getHydrationKey()))) {
|
|
1583
1448
|
return template2();
|
|
1584
1449
|
}
|
|
1585
|
-
if (sharedConfig.completed)
|
|
1586
|
-
sharedConfig.completed.add(node);
|
|
1450
|
+
if (sharedConfig.completed) sharedConfig.completed.add(node);
|
|
1587
1451
|
sharedConfig.registry.delete(key);
|
|
1588
1452
|
return node;
|
|
1589
1453
|
}
|
|
@@ -1600,15 +1464,11 @@ function toggleClassKey(node, key, value) {
|
|
|
1600
1464
|
}
|
|
1601
1465
|
function assignProp(node, prop, value, prev, isSVG, skipRef, props) {
|
|
1602
1466
|
let isCE, isProp, isChildProp, propAlias, forceProp;
|
|
1603
|
-
if (prop === "style")
|
|
1604
|
-
|
|
1605
|
-
if (
|
|
1606
|
-
return classList(node, value, prev);
|
|
1607
|
-
if (value === prev)
|
|
1608
|
-
return prev;
|
|
1467
|
+
if (prop === "style") return style(node, value, prev);
|
|
1468
|
+
if (prop === "classList") return classList(node, value, prev);
|
|
1469
|
+
if (value === prev) return prev;
|
|
1609
1470
|
if (prop === "ref") {
|
|
1610
|
-
if (!skipRef)
|
|
1611
|
-
value(node);
|
|
1471
|
+
if (!skipRef) value(node);
|
|
1612
1472
|
} else if (prop.slice(0, 3) === "on:") {
|
|
1613
1473
|
const e2 = prop.slice(3);
|
|
1614
1474
|
prev && node.removeEventListener(e2, prev, typeof prev !== "function" && prev);
|
|
@@ -1636,27 +1496,20 @@ function assignProp(node, prop, value, prev, isSVG, skipRef, props) {
|
|
|
1636
1496
|
if (forceProp) {
|
|
1637
1497
|
prop = prop.slice(5);
|
|
1638
1498
|
isProp = true;
|
|
1639
|
-
} else if (isHydrating(node))
|
|
1640
|
-
|
|
1641
|
-
if (
|
|
1642
|
-
|
|
1643
|
-
else if (isCE && !isProp && !isChildProp)
|
|
1644
|
-
node[toPropertyName(prop)] = value;
|
|
1645
|
-
else
|
|
1646
|
-
node[propAlias || prop] = value;
|
|
1499
|
+
} else if (isHydrating(node)) return value;
|
|
1500
|
+
if (prop === "class" || prop === "className") className(node, value);
|
|
1501
|
+
else if (isCE && !isProp && !isChildProp) node[toPropertyName(prop)] = value;
|
|
1502
|
+
else node[propAlias || prop] = value;
|
|
1647
1503
|
} else {
|
|
1648
1504
|
const ns = isSVG && prop.indexOf(":") > -1 && SVGNamespace[prop.split(":")[0]];
|
|
1649
|
-
if (ns)
|
|
1650
|
-
|
|
1651
|
-
else
|
|
1652
|
-
setAttribute(node, Aliases[prop] || prop, value);
|
|
1505
|
+
if (ns) setAttributeNS(node, ns, prop, value);
|
|
1506
|
+
else setAttribute(node, Aliases[prop] || prop, value);
|
|
1653
1507
|
}
|
|
1654
1508
|
return value;
|
|
1655
1509
|
}
|
|
1656
1510
|
function eventHandler(e2) {
|
|
1657
1511
|
if (sharedConfig.registry && sharedConfig.events) {
|
|
1658
|
-
if (sharedConfig.events.find(([el, ev]) => ev === e2))
|
|
1659
|
-
return;
|
|
1512
|
+
if (sharedConfig.events.find(([el, ev]) => ev === e2)) return;
|
|
1660
1513
|
}
|
|
1661
1514
|
let node = e2.target;
|
|
1662
1515
|
const key = `$$${e2.type}`;
|
|
@@ -1671,15 +1524,13 @@ function eventHandler(e2) {
|
|
|
1671
1524
|
if (handler && !node.disabled) {
|
|
1672
1525
|
const data = node[`${key}Data`];
|
|
1673
1526
|
data !== void 0 ? handler.call(node, data, e2) : handler.call(node, e2);
|
|
1674
|
-
if (e2.cancelBubble)
|
|
1675
|
-
return;
|
|
1527
|
+
if (e2.cancelBubble) return;
|
|
1676
1528
|
}
|
|
1677
1529
|
node.host && typeof node.host !== "string" && !node.host._$host && node.contains(e2.target) && retarget(node.host);
|
|
1678
1530
|
return true;
|
|
1679
1531
|
};
|
|
1680
1532
|
const walkUpTree = () => {
|
|
1681
|
-
while (handleNode() && (node = node._$host || node.parentNode || node.host))
|
|
1682
|
-
;
|
|
1533
|
+
while (handleNode() && (node = node._$host || node.parentNode || node.host)) ;
|
|
1683
1534
|
};
|
|
1684
1535
|
Object.defineProperty(e2, "currentTarget", {
|
|
1685
1536
|
configurable: true,
|
|
@@ -1687,15 +1538,13 @@ function eventHandler(e2) {
|
|
|
1687
1538
|
return node || document;
|
|
1688
1539
|
}
|
|
1689
1540
|
});
|
|
1690
|
-
if (sharedConfig.registry && !sharedConfig.done)
|
|
1691
|
-
sharedConfig.done = _$HY.done = true;
|
|
1541
|
+
if (sharedConfig.registry && !sharedConfig.done) sharedConfig.done = _$HY.done = true;
|
|
1692
1542
|
if (e2.composedPath) {
|
|
1693
1543
|
const path = e2.composedPath();
|
|
1694
1544
|
retarget(path[0]);
|
|
1695
1545
|
for (let i2 = 0; i2 < path.length - 2; i2++) {
|
|
1696
1546
|
node = path[i2];
|
|
1697
|
-
if (!handleNode())
|
|
1698
|
-
break;
|
|
1547
|
+
if (!handleNode()) break;
|
|
1699
1548
|
if (node._$host) {
|
|
1700
1549
|
node = node._$host;
|
|
1701
1550
|
walkUpTree();
|
|
@@ -1705,8 +1554,7 @@ function eventHandler(e2) {
|
|
|
1705
1554
|
break;
|
|
1706
1555
|
}
|
|
1707
1556
|
}
|
|
1708
|
-
} else
|
|
1709
|
-
walkUpTree();
|
|
1557
|
+
} else walkUpTree();
|
|
1710
1558
|
retarget(oriTarget);
|
|
1711
1559
|
}
|
|
1712
1560
|
function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
@@ -1716,49 +1564,39 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1716
1564
|
let cleaned = [];
|
|
1717
1565
|
for (let i2 = 0; i2 < current.length; i2++) {
|
|
1718
1566
|
const node = current[i2];
|
|
1719
|
-
if (node.nodeType === 8 && node.data.slice(0, 2) === "!$")
|
|
1720
|
-
|
|
1721
|
-
else
|
|
1722
|
-
cleaned.push(node);
|
|
1567
|
+
if (node.nodeType === 8 && node.data.slice(0, 2) === "!$") node.remove();
|
|
1568
|
+
else cleaned.push(node);
|
|
1723
1569
|
}
|
|
1724
1570
|
current = cleaned;
|
|
1725
1571
|
}
|
|
1726
|
-
while (typeof current === "function")
|
|
1727
|
-
|
|
1728
|
-
if (value === current)
|
|
1729
|
-
return current;
|
|
1572
|
+
while (typeof current === "function") current = current();
|
|
1573
|
+
if (value === current) return current;
|
|
1730
1574
|
const t2 = typeof value, multi = marker !== void 0;
|
|
1731
1575
|
parent = multi && current[0] && current[0].parentNode || parent;
|
|
1732
1576
|
if (t2 === "string" || t2 === "number") {
|
|
1733
|
-
if (hydrating)
|
|
1734
|
-
return current;
|
|
1577
|
+
if (hydrating) return current;
|
|
1735
1578
|
if (t2 === "number") {
|
|
1736
1579
|
value = value.toString();
|
|
1737
|
-
if (value === current)
|
|
1738
|
-
return current;
|
|
1580
|
+
if (value === current) return current;
|
|
1739
1581
|
}
|
|
1740
1582
|
if (multi) {
|
|
1741
1583
|
let node = current[0];
|
|
1742
1584
|
if (node && node.nodeType === 3) {
|
|
1743
1585
|
node.data !== value && (node.data = value);
|
|
1744
|
-
} else
|
|
1745
|
-
node = document.createTextNode(value);
|
|
1586
|
+
} else node = document.createTextNode(value);
|
|
1746
1587
|
current = cleanChildren(parent, current, marker, node);
|
|
1747
1588
|
} else {
|
|
1748
1589
|
if (current !== "" && typeof current === "string") {
|
|
1749
1590
|
current = parent.firstChild.data = value;
|
|
1750
|
-
} else
|
|
1751
|
-
current = parent.textContent = value;
|
|
1591
|
+
} else current = parent.textContent = value;
|
|
1752
1592
|
}
|
|
1753
1593
|
} else if (value == null || t2 === "boolean") {
|
|
1754
|
-
if (hydrating)
|
|
1755
|
-
return current;
|
|
1594
|
+
if (hydrating) return current;
|
|
1756
1595
|
current = cleanChildren(parent, current, marker);
|
|
1757
1596
|
} else if (t2 === "function") {
|
|
1758
1597
|
createRenderEffect(() => {
|
|
1759
1598
|
let v = value();
|
|
1760
|
-
while (typeof v === "function")
|
|
1761
|
-
v = v();
|
|
1599
|
+
while (typeof v === "function") v = v();
|
|
1762
1600
|
current = insertExpression(parent, v, current, marker);
|
|
1763
1601
|
});
|
|
1764
1602
|
return () => current;
|
|
@@ -1770,62 +1608,50 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1770
1608
|
return () => current;
|
|
1771
1609
|
}
|
|
1772
1610
|
if (hydrating) {
|
|
1773
|
-
if (!array.length)
|
|
1774
|
-
|
|
1775
|
-
if (marker === void 0)
|
|
1776
|
-
return current = [...parent.childNodes];
|
|
1611
|
+
if (!array.length) return current;
|
|
1612
|
+
if (marker === void 0) return current = [...parent.childNodes];
|
|
1777
1613
|
let node = array[0];
|
|
1778
|
-
if (node.parentNode !== parent)
|
|
1779
|
-
return current;
|
|
1614
|
+
if (node.parentNode !== parent) return current;
|
|
1780
1615
|
const nodes = [node];
|
|
1781
|
-
while ((node = node.nextSibling) !== marker)
|
|
1782
|
-
nodes.push(node);
|
|
1616
|
+
while ((node = node.nextSibling) !== marker) nodes.push(node);
|
|
1783
1617
|
return current = nodes;
|
|
1784
1618
|
}
|
|
1785
1619
|
if (array.length === 0) {
|
|
1786
1620
|
current = cleanChildren(parent, current, marker);
|
|
1787
|
-
if (multi)
|
|
1788
|
-
return current;
|
|
1621
|
+
if (multi) return current;
|
|
1789
1622
|
} else if (currentArray) {
|
|
1790
1623
|
if (current.length === 0) {
|
|
1791
1624
|
appendNodes(parent, array, marker);
|
|
1792
|
-
} else
|
|
1793
|
-
reconcileArrays(parent, current, array);
|
|
1625
|
+
} else reconcileArrays(parent, current, array);
|
|
1794
1626
|
} else {
|
|
1795
1627
|
current && cleanChildren(parent);
|
|
1796
1628
|
appendNodes(parent, array);
|
|
1797
1629
|
}
|
|
1798
1630
|
current = array;
|
|
1799
1631
|
} else if (value.nodeType) {
|
|
1800
|
-
if (hydrating && value.parentNode)
|
|
1801
|
-
return current = multi ? [value] : value;
|
|
1632
|
+
if (hydrating && value.parentNode) return current = multi ? [value] : value;
|
|
1802
1633
|
if (Array.isArray(current)) {
|
|
1803
|
-
if (multi)
|
|
1804
|
-
return current = cleanChildren(parent, current, marker, value);
|
|
1634
|
+
if (multi) return current = cleanChildren(parent, current, marker, value);
|
|
1805
1635
|
cleanChildren(parent, current, null, value);
|
|
1806
1636
|
} else if (current == null || current === "" || !parent.firstChild) {
|
|
1807
1637
|
parent.appendChild(value);
|
|
1808
|
-
} else
|
|
1809
|
-
parent.replaceChild(value, parent.firstChild);
|
|
1638
|
+
} else parent.replaceChild(value, parent.firstChild);
|
|
1810
1639
|
current = value;
|
|
1811
|
-
} else
|
|
1812
|
-
;
|
|
1640
|
+
} else ;
|
|
1813
1641
|
return current;
|
|
1814
1642
|
}
|
|
1815
1643
|
function normalizeIncomingArray(normalized, array, current, unwrap) {
|
|
1816
1644
|
let dynamic = false;
|
|
1817
1645
|
for (let i2 = 0, len = array.length; i2 < len; i2++) {
|
|
1818
1646
|
let item = array[i2], prev = current && current[normalized.length], t2;
|
|
1819
|
-
if (item == null || item === true || item === false)
|
|
1820
|
-
;
|
|
1647
|
+
if (item == null || item === true || item === false) ;
|
|
1821
1648
|
else if ((t2 = typeof item) === "object" && item.nodeType) {
|
|
1822
1649
|
normalized.push(item);
|
|
1823
1650
|
} else if (Array.isArray(item)) {
|
|
1824
1651
|
dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
|
|
1825
1652
|
} else if (t2 === "function") {
|
|
1826
1653
|
if (unwrap) {
|
|
1827
|
-
while (typeof item === "function")
|
|
1828
|
-
item = item();
|
|
1654
|
+
while (typeof item === "function") item = item();
|
|
1829
1655
|
dynamic = normalizeIncomingArray(
|
|
1830
1656
|
normalized,
|
|
1831
1657
|
Array.isArray(item) ? item : [item],
|
|
@@ -1837,21 +1663,17 @@ function normalizeIncomingArray(normalized, array, current, unwrap) {
|
|
|
1837
1663
|
}
|
|
1838
1664
|
} else {
|
|
1839
1665
|
const value = String(item);
|
|
1840
|
-
if (prev && prev.nodeType === 3 && prev.data === value)
|
|
1841
|
-
|
|
1842
|
-
else
|
|
1843
|
-
normalized.push(document.createTextNode(value));
|
|
1666
|
+
if (prev && prev.nodeType === 3 && prev.data === value) normalized.push(prev);
|
|
1667
|
+
else normalized.push(document.createTextNode(value));
|
|
1844
1668
|
}
|
|
1845
1669
|
}
|
|
1846
1670
|
return dynamic;
|
|
1847
1671
|
}
|
|
1848
1672
|
function appendNodes(parent, array, marker = null) {
|
|
1849
|
-
for (let i2 = 0, len = array.length; i2 < len; i2++)
|
|
1850
|
-
parent.insertBefore(array[i2], marker);
|
|
1673
|
+
for (let i2 = 0, len = array.length; i2 < len; i2++) parent.insertBefore(array[i2], marker);
|
|
1851
1674
|
}
|
|
1852
1675
|
function cleanChildren(parent, current, marker, replacement) {
|
|
1853
|
-
if (marker === void 0)
|
|
1854
|
-
return parent.textContent = "";
|
|
1676
|
+
if (marker === void 0) return parent.textContent = "";
|
|
1855
1677
|
const node = replacement || document.createTextNode("");
|
|
1856
1678
|
if (current.length) {
|
|
1857
1679
|
let inserted = false;
|
|
@@ -1861,13 +1683,10 @@ function cleanChildren(parent, current, marker, replacement) {
|
|
|
1861
1683
|
const isParent = el.parentNode === parent;
|
|
1862
1684
|
if (!inserted && !i2)
|
|
1863
1685
|
isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
|
|
1864
|
-
else
|
|
1865
|
-
|
|
1866
|
-
} else
|
|
1867
|
-
inserted = true;
|
|
1686
|
+
else isParent && el.remove();
|
|
1687
|
+
} else inserted = true;
|
|
1868
1688
|
}
|
|
1869
|
-
} else
|
|
1870
|
-
parent.insertBefore(node, marker);
|
|
1689
|
+
} else parent.insertBefore(node, marker);
|
|
1871
1690
|
return [node];
|
|
1872
1691
|
}
|
|
1873
1692
|
function getHydrationKey() {
|
|
@@ -1882,8 +1701,7 @@ function Portal(props) {
|
|
|
1882
1701
|
let hydrating = !!sharedConfig.context;
|
|
1883
1702
|
createEffect(
|
|
1884
1703
|
() => {
|
|
1885
|
-
if (hydrating)
|
|
1886
|
-
getOwner().user = hydrating = false;
|
|
1704
|
+
if (hydrating) getOwner().user = hydrating = false;
|
|
1887
1705
|
content || (content = runWithOwner(owner, () => createMemo(() => props.children)));
|
|
1888
1706
|
const el = mount();
|
|
1889
1707
|
if (el instanceof HTMLHeadElement) {
|
|
@@ -1914,25 +1732,28 @@ function Portal(props) {
|
|
|
1914
1732
|
);
|
|
1915
1733
|
return marker;
|
|
1916
1734
|
}
|
|
1917
|
-
function
|
|
1918
|
-
const
|
|
1919
|
-
const cached = createMemo(() => p2.component);
|
|
1735
|
+
function createDynamic(component, props) {
|
|
1736
|
+
const cached = createMemo(component);
|
|
1920
1737
|
return createMemo(() => {
|
|
1921
|
-
const
|
|
1922
|
-
switch (typeof
|
|
1738
|
+
const component2 = cached();
|
|
1739
|
+
switch (typeof component2) {
|
|
1923
1740
|
case "function":
|
|
1924
|
-
return untrack(() =>
|
|
1741
|
+
return untrack(() => component2(props));
|
|
1925
1742
|
case "string":
|
|
1926
|
-
const isSvg = SVGElements.has(
|
|
1927
|
-
const el = sharedConfig.context ? getNextElement() : createElement(
|
|
1928
|
-
spread(el,
|
|
1743
|
+
const isSvg = SVGElements.has(component2);
|
|
1744
|
+
const el = sharedConfig.context ? getNextElement() : createElement(component2, isSvg);
|
|
1745
|
+
spread(el, props, isSvg);
|
|
1929
1746
|
return el;
|
|
1930
1747
|
}
|
|
1931
1748
|
});
|
|
1932
1749
|
}
|
|
1750
|
+
function Dynamic(props) {
|
|
1751
|
+
const [, others] = splitProps(props, ["component"]);
|
|
1752
|
+
return createDynamic(() => props.component, others);
|
|
1753
|
+
}
|
|
1933
1754
|
var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGElements, SVGNamespace, $$EVENTS, isServer, SVG_NAMESPACE;
|
|
1934
1755
|
var init_web = __esm({
|
|
1935
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1756
|
+
"../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js"() {
|
|
1936
1757
|
init_solid();
|
|
1937
1758
|
init_solid();
|
|
1938
1759
|
booleans = [
|
|
@@ -3126,11 +2947,9 @@ var init_utils = __esm({
|
|
|
3126
2947
|
return oldData;
|
|
3127
2948
|
};
|
|
3128
2949
|
setupStyleSheet = (nonce, target) => {
|
|
3129
|
-
if (!nonce)
|
|
3130
|
-
return;
|
|
2950
|
+
if (!nonce) return;
|
|
3131
2951
|
const styleExists = document.querySelector("#_goober") || target?.querySelector("#_goober");
|
|
3132
|
-
if (styleExists)
|
|
3133
|
-
return;
|
|
2952
|
+
if (styleExists) return;
|
|
3134
2953
|
const styleTag = document.createElement("style");
|
|
3135
2954
|
const textNode = document.createTextNode("");
|
|
3136
2955
|
styleTag.appendChild(textNode);
|
|
@@ -3145,7 +2964,7 @@ var init_utils = __esm({
|
|
|
3145
2964
|
}
|
|
3146
2965
|
});
|
|
3147
2966
|
|
|
3148
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2967
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
3149
2968
|
function chain(callbacks) {
|
|
3150
2969
|
return (...args) => {
|
|
3151
2970
|
for (const callback of callbacks)
|
|
@@ -3188,7 +3007,7 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3188
3007
|
}
|
|
3189
3008
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3190
3009
|
var init_R5675YMU = __esm({
|
|
3191
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3010
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3192
3011
|
init_solid();
|
|
3193
3012
|
init_web();
|
|
3194
3013
|
isClient = !isServer;
|
|
@@ -3202,14 +3021,14 @@ var init_R5675YMU = __esm({
|
|
|
3202
3021
|
}
|
|
3203
3022
|
});
|
|
3204
3023
|
|
|
3205
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3024
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3206
3025
|
var init_index = __esm({
|
|
3207
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3026
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3208
3027
|
init_R5675YMU();
|
|
3209
3028
|
}
|
|
3210
3029
|
});
|
|
3211
3030
|
|
|
3212
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3031
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js
|
|
3213
3032
|
function createStorage(props) {
|
|
3214
3033
|
const [error, setError] = createSignal();
|
|
3215
3034
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3354,7 +3173,7 @@ function createStorage(props) {
|
|
|
3354
3173
|
}
|
|
3355
3174
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3356
3175
|
var init_dist4 = __esm({
|
|
3357
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3176
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3358
3177
|
init_solid();
|
|
3359
3178
|
createLocalStorage = createStorage;
|
|
3360
3179
|
addClearMethod = (storage) => {
|
|
@@ -4059,8 +3878,7 @@ var init_goober_modern = __esm({
|
|
|
4059
3878
|
s = (e2) => {
|
|
4060
3879
|
if ("object" == typeof e2) {
|
|
4061
3880
|
let t2 = "";
|
|
4062
|
-
for (let r2 in e2)
|
|
4063
|
-
t2 += r2 + s(e2[r2]);
|
|
3881
|
+
for (let r2 in e2) t2 += r2 + s(e2[r2]);
|
|
4064
3882
|
return t2;
|
|
4065
3883
|
}
|
|
4066
3884
|
return e2;
|
|
@@ -4068,15 +3886,13 @@ var init_goober_modern = __esm({
|
|
|
4068
3886
|
i = (e2, t2, r2, i2, p2) => {
|
|
4069
3887
|
let u2 = s(e2), d = c[u2] || (c[u2] = ((e3) => {
|
|
4070
3888
|
let t3 = 0, r3 = 11;
|
|
4071
|
-
for (; t3 < e3.length; )
|
|
4072
|
-
r3 = 101 * r3 + e3.charCodeAt(t3++) >>> 0;
|
|
3889
|
+
for (; t3 < e3.length; ) r3 = 101 * r3 + e3.charCodeAt(t3++) >>> 0;
|
|
4073
3890
|
return "go" + r3;
|
|
4074
3891
|
})(u2));
|
|
4075
3892
|
if (!c[d]) {
|
|
4076
3893
|
let t3 = u2 !== e2 ? e2 : ((e3) => {
|
|
4077
3894
|
let t4, r3, o2 = [{}];
|
|
4078
|
-
for (; t4 = l.exec(e3.replace(a, "")); )
|
|
4079
|
-
t4[4] ? o2.shift() : t4[3] ? (r3 = t4[3].replace(n, " ").trim(), o2.unshift(o2[0][r3] = o2[0][r3] || {})) : o2[0][t4[1]] = t4[2].replace(n, " ").trim();
|
|
3895
|
+
for (; t4 = l.exec(e3.replace(a, "")); ) t4[4] ? o2.shift() : t4[3] ? (r3 = t4[3].replace(n, " ").trim(), o2.unshift(o2[0][r3] = o2[0][r3] || {})) : o2[0][t4[1]] = t4[2].replace(n, " ").trim();
|
|
4080
3896
|
return o2[0];
|
|
4081
3897
|
})(e2);
|
|
4082
3898
|
c[d] = o(p2 ? { ["@keyframes " + d]: t3 } : t3, r2 ? "" : "." + d);
|
|
@@ -4102,21 +3918,15 @@ var init_goober_modern = __esm({
|
|
|
4102
3918
|
// ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
4103
3919
|
function r(e2) {
|
|
4104
3920
|
var t2, f, n2 = "";
|
|
4105
|
-
if ("string" == typeof e2 || "number" == typeof e2)
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
for (t2 = 0; t2 < o2; t2++)
|
|
4111
|
-
e2[t2] && (f = r(e2[t2])) && (n2 && (n2 += " "), n2 += f);
|
|
4112
|
-
} else
|
|
4113
|
-
for (f in e2)
|
|
4114
|
-
e2[f] && (n2 && (n2 += " "), n2 += f);
|
|
3921
|
+
if ("string" == typeof e2 || "number" == typeof e2) n2 += e2;
|
|
3922
|
+
else if ("object" == typeof e2) if (Array.isArray(e2)) {
|
|
3923
|
+
var o2 = e2.length;
|
|
3924
|
+
for (t2 = 0; t2 < o2; t2++) e2[t2] && (f = r(e2[t2])) && (n2 && (n2 += " "), n2 += f);
|
|
3925
|
+
} else for (f in e2) e2[f] && (n2 && (n2 += " "), n2 += f);
|
|
4115
3926
|
return n2;
|
|
4116
3927
|
}
|
|
4117
3928
|
function clsx() {
|
|
4118
|
-
for (var e2, t2, f = 0, n2 = "", o2 = arguments.length; f < o2; f++)
|
|
4119
|
-
(e2 = arguments[f]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
3929
|
+
for (var e2, t2, f = 0, n2 = "", o2 = arguments.length; f < o2; f++) (e2 = arguments[f]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
4120
3930
|
return n2;
|
|
4121
3931
|
}
|
|
4122
3932
|
var init_clsx = __esm({
|
|
@@ -4124,7 +3934,7 @@ var init_clsx = __esm({
|
|
|
4124
3934
|
}
|
|
4125
3935
|
});
|
|
4126
3936
|
|
|
4127
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
3937
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
4128
3938
|
function createListTransition(source, options) {
|
|
4129
3939
|
const initSource = untrack(source);
|
|
4130
3940
|
if (isServer) {
|
|
@@ -4190,13 +4000,13 @@ function createListTransition(source, options) {
|
|
|
4190
4000
|
);
|
|
4191
4001
|
}
|
|
4192
4002
|
var init_dist5 = __esm({
|
|
4193
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4003
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4194
4004
|
init_solid();
|
|
4195
4005
|
init_web();
|
|
4196
4006
|
}
|
|
4197
4007
|
});
|
|
4198
4008
|
|
|
4199
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4009
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js
|
|
4200
4010
|
function mergeRefs(...refs) {
|
|
4201
4011
|
return chain(refs);
|
|
4202
4012
|
}
|
|
@@ -4229,7 +4039,7 @@ function resolveElements(fn, predicate = defaultElementPredicate, serverPredicat
|
|
|
4229
4039
|
}
|
|
4230
4040
|
var defaultElementPredicate;
|
|
4231
4041
|
var init_dist6 = __esm({
|
|
4232
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4042
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4233
4043
|
init_index();
|
|
4234
4044
|
init_solid();
|
|
4235
4045
|
init_web();
|
|
@@ -4237,7 +4047,7 @@ var init_dist6 = __esm({
|
|
|
4237
4047
|
}
|
|
4238
4048
|
});
|
|
4239
4049
|
|
|
4240
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4050
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js
|
|
4241
4051
|
function createClassnames(props) {
|
|
4242
4052
|
return createMemo(() => {
|
|
4243
4053
|
const name = props.name || "s";
|
|
@@ -4312,7 +4122,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4312
4122
|
}
|
|
4313
4123
|
var TransitionGroup;
|
|
4314
4124
|
var init_dist7 = __esm({
|
|
4315
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4125
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js"() {
|
|
4316
4126
|
init_solid();
|
|
4317
4127
|
init_dist5();
|
|
4318
4128
|
init_dist6();
|
|
@@ -4365,7 +4175,7 @@ var init_dist7 = __esm({
|
|
|
4365
4175
|
}
|
|
4366
4176
|
});
|
|
4367
4177
|
|
|
4368
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4178
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4369
4179
|
function dispose2(list) {
|
|
4370
4180
|
for (const o2 of list)
|
|
4371
4181
|
o2.dispose();
|
|
@@ -4463,14 +4273,14 @@ function Key(props) {
|
|
|
4463
4273
|
}
|
|
4464
4274
|
var FALLBACK2;
|
|
4465
4275
|
var init_dist8 = __esm({
|
|
4466
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4276
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4467
4277
|
init_solid();
|
|
4468
4278
|
init_web();
|
|
4469
4279
|
FALLBACK2 = Symbol("fallback");
|
|
4470
4280
|
}
|
|
4471
4281
|
});
|
|
4472
4282
|
|
|
4473
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4283
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4474
4284
|
function makeEventListener(target, type, handler, options) {
|
|
4475
4285
|
target.addEventListener(type, handler, options);
|
|
4476
4286
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4490,14 +4300,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4490
4300
|
createRenderEffect(attachListeners);
|
|
4491
4301
|
}
|
|
4492
4302
|
var init_dist9 = __esm({
|
|
4493
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4303
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4494
4304
|
init_index();
|
|
4495
4305
|
init_solid();
|
|
4496
4306
|
init_web();
|
|
4497
4307
|
}
|
|
4498
4308
|
});
|
|
4499
4309
|
|
|
4500
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4310
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4501
4311
|
function makeResizeObserver(callback, options) {
|
|
4502
4312
|
if (isServer) {
|
|
4503
4313
|
return { observe: noop, unobserve: noop };
|
|
@@ -4528,14 +4338,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4528
4338
|
}, []);
|
|
4529
4339
|
}
|
|
4530
4340
|
var init_dist10 = __esm({
|
|
4531
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4341
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4532
4342
|
init_index();
|
|
4533
4343
|
init_solid();
|
|
4534
4344
|
init_web();
|
|
4535
4345
|
}
|
|
4536
4346
|
});
|
|
4537
4347
|
|
|
4538
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4348
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js
|
|
4539
4349
|
function stringStyleToObject(style2) {
|
|
4540
4350
|
const object = {};
|
|
4541
4351
|
let match;
|
|
@@ -4556,12 +4366,12 @@ function combineStyle(a2, b2) {
|
|
|
4556
4366
|
}
|
|
4557
4367
|
var extractCSSregex;
|
|
4558
4368
|
var init_dist11 = __esm({
|
|
4559
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4369
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4560
4370
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4561
4371
|
}
|
|
4562
4372
|
});
|
|
4563
4373
|
|
|
4564
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4374
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js
|
|
4565
4375
|
function addItemToArray(array, item, index = -1) {
|
|
4566
4376
|
if (!(index in array)) {
|
|
4567
4377
|
return [...array, item];
|
|
@@ -4947,7 +4757,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4947
4757
|
}
|
|
4948
4758
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4949
4759
|
var init_dist12 = __esm({
|
|
4950
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4760
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4951
4761
|
init_solid();
|
|
4952
4762
|
init_dist9();
|
|
4953
4763
|
init_dist6();
|
|
@@ -5012,7 +4822,7 @@ var init_dist12 = __esm({
|
|
|
5012
4822
|
}
|
|
5013
4823
|
});
|
|
5014
4824
|
|
|
5015
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4825
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
5016
4826
|
function createRegisterId(setter) {
|
|
5017
4827
|
return (id) => {
|
|
5018
4828
|
setter(id);
|
|
@@ -5020,11 +4830,11 @@ function createRegisterId(setter) {
|
|
|
5020
4830
|
};
|
|
5021
4831
|
}
|
|
5022
4832
|
var init_E4R2EMM4 = __esm({
|
|
5023
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4833
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
5024
4834
|
}
|
|
5025
4835
|
});
|
|
5026
4836
|
|
|
5027
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4837
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
5028
4838
|
function createTagName(ref, fallback) {
|
|
5029
4839
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
5030
4840
|
createEffect(() => {
|
|
@@ -5036,13 +4846,13 @@ function stringOrUndefined(value) {
|
|
|
5036
4846
|
return isString2(value) ? value : void 0;
|
|
5037
4847
|
}
|
|
5038
4848
|
var init_ET5T45DO = __esm({
|
|
5039
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4849
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
5040
4850
|
init_dist12();
|
|
5041
4851
|
init_solid();
|
|
5042
4852
|
}
|
|
5043
4853
|
});
|
|
5044
4854
|
|
|
5045
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4855
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
5046
4856
|
function Polymorphic(props) {
|
|
5047
4857
|
const [local, others] = splitProps(props, ["as"]);
|
|
5048
4858
|
if (!local.as) {
|
|
@@ -5058,13 +4868,13 @@ function Polymorphic(props) {
|
|
|
5058
4868
|
);
|
|
5059
4869
|
}
|
|
5060
4870
|
var init_Y7B2NEO = __esm({
|
|
5061
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4871
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
5062
4872
|
init_web();
|
|
5063
4873
|
init_solid();
|
|
5064
4874
|
}
|
|
5065
4875
|
});
|
|
5066
4876
|
|
|
5067
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4877
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
5068
4878
|
function createFormControl(props) {
|
|
5069
4879
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
5070
4880
|
const mergedProps = mergeDefaultProps({
|
|
@@ -5185,7 +4995,7 @@ function FormControlLabel(props) {
|
|
|
5185
4995
|
}
|
|
5186
4996
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
5187
4997
|
var init_Q2DJLZQE = __esm({
|
|
5188
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4998
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
5189
4999
|
init_E4R2EMM4();
|
|
5190
5000
|
init_ET5T45DO();
|
|
5191
5001
|
init_Y7B2NEO();
|
|
@@ -5197,7 +5007,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5197
5007
|
}
|
|
5198
5008
|
});
|
|
5199
5009
|
|
|
5200
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5010
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5201
5011
|
function createFormResetListener(element, handler) {
|
|
5202
5012
|
createEffect(
|
|
5203
5013
|
on(element, (element2) => {
|
|
@@ -5222,12 +5032,12 @@ function isFormElement(element) {
|
|
|
5222
5032
|
return element.matches("textarea, input, select, button");
|
|
5223
5033
|
}
|
|
5224
5034
|
var init_ANN3A2QM = __esm({
|
|
5225
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5035
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5226
5036
|
init_solid();
|
|
5227
5037
|
}
|
|
5228
5038
|
});
|
|
5229
5039
|
|
|
5230
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5040
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5231
5041
|
function createControllableSignal(props) {
|
|
5232
5042
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5233
5043
|
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
@@ -5257,13 +5067,13 @@ function createControllableArraySignal(props) {
|
|
|
5257
5067
|
return [value, setValue];
|
|
5258
5068
|
}
|
|
5259
5069
|
var init_BLN63FDC = __esm({
|
|
5260
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5070
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5261
5071
|
init_dist12();
|
|
5262
5072
|
init_solid();
|
|
5263
5073
|
}
|
|
5264
5074
|
});
|
|
5265
5075
|
|
|
5266
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5076
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5267
5077
|
function createToggleState(props = {}) {
|
|
5268
5078
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5269
5079
|
value: () => access(props.isSelected),
|
|
@@ -5287,16 +5097,16 @@ function createToggleState(props = {}) {
|
|
|
5287
5097
|
};
|
|
5288
5098
|
}
|
|
5289
5099
|
var init_YGDQXQ2B = __esm({
|
|
5290
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5100
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5291
5101
|
init_BLN63FDC();
|
|
5292
5102
|
init_dist12();
|
|
5293
5103
|
}
|
|
5294
5104
|
});
|
|
5295
5105
|
|
|
5296
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5106
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5297
5107
|
var __defProp2, __export2;
|
|
5298
5108
|
var init_ZKAE4VZ = __esm({
|
|
5299
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5109
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5300
5110
|
__defProp2 = Object.defineProperty;
|
|
5301
5111
|
__export2 = (target, all) => {
|
|
5302
5112
|
for (var name in all)
|
|
@@ -5305,7 +5115,7 @@ var init_ZKAE4VZ = __esm({
|
|
|
5305
5115
|
}
|
|
5306
5116
|
});
|
|
5307
5117
|
|
|
5308
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5118
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5309
5119
|
function useOptionalDomCollectionContext() {
|
|
5310
5120
|
return useContext(DomCollectionContext);
|
|
5311
5121
|
}
|
|
@@ -5469,7 +5279,7 @@ function createDomCollectionItem(props) {
|
|
|
5469
5279
|
}
|
|
5470
5280
|
var DomCollectionContext;
|
|
5471
5281
|
var init_CVNMTYF = __esm({
|
|
5472
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5282
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5473
5283
|
init_BLN63FDC();
|
|
5474
5284
|
init_dist12();
|
|
5475
5285
|
init_solid();
|
|
@@ -5477,7 +5287,7 @@ var init_CVNMTYF = __esm({
|
|
|
5477
5287
|
}
|
|
5478
5288
|
});
|
|
5479
5289
|
|
|
5480
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5290
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5481
5291
|
function buildNodes(params) {
|
|
5482
5292
|
let index = params.startIndex ?? 0;
|
|
5483
5293
|
const level = params.startLevel ?? 0;
|
|
@@ -5586,13 +5396,13 @@ function createCollection(props, deps = []) {
|
|
|
5586
5396
|
});
|
|
5587
5397
|
}
|
|
5588
5398
|
var init_JMA2RWU6 = __esm({
|
|
5589
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5399
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5590
5400
|
init_dist12();
|
|
5591
5401
|
init_solid();
|
|
5592
5402
|
}
|
|
5593
5403
|
});
|
|
5594
5404
|
|
|
5595
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5405
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5596
5406
|
function isRTL(locale) {
|
|
5597
5407
|
if (Intl.Locale) {
|
|
5598
5408
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5669,7 +5479,7 @@ function createCollator(options) {
|
|
|
5669
5479
|
}
|
|
5670
5480
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5671
5481
|
var init_XHJPQEZP = __esm({
|
|
5672
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5482
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5673
5483
|
init_solid();
|
|
5674
5484
|
init_web();
|
|
5675
5485
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5714,7 +5524,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5714
5524
|
}
|
|
5715
5525
|
});
|
|
5716
5526
|
|
|
5717
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5527
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5718
5528
|
function createControllableSelectionSignal(props) {
|
|
5719
5529
|
const [_value, setValue] = createControllableSignal(props);
|
|
5720
5530
|
const value = () => _value() ?? new Selection();
|
|
@@ -6323,7 +6133,7 @@ function createListState(props) {
|
|
|
6323
6133
|
}
|
|
6324
6134
|
var Selection, SelectionManager, ListCollection;
|
|
6325
6135
|
var init_H6DSIDEC = __esm({
|
|
6326
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6136
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6327
6137
|
init_JMA2RWU6();
|
|
6328
6138
|
init_XHJPQEZP();
|
|
6329
6139
|
init_BLN63FDC();
|
|
@@ -6709,32 +6519,31 @@ var init_H6DSIDEC = __esm({
|
|
|
6709
6519
|
}
|
|
6710
6520
|
});
|
|
6711
6521
|
|
|
6712
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6522
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6713
6523
|
var access2;
|
|
6714
6524
|
var init_ZV6G25TT = __esm({
|
|
6715
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6525
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6716
6526
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6717
6527
|
}
|
|
6718
6528
|
});
|
|
6719
6529
|
|
|
6720
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6530
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6721
6531
|
var init_reactivity = __esm({
|
|
6722
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6532
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6723
6533
|
init_ZV6G25TT();
|
|
6724
6534
|
}
|
|
6725
6535
|
});
|
|
6726
6536
|
|
|
6727
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6537
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js
|
|
6728
6538
|
var createPresence, presence_default, src_default;
|
|
6729
6539
|
var init_dist13 = __esm({
|
|
6730
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6540
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js"() {
|
|
6731
6541
|
init_reactivity();
|
|
6732
6542
|
init_solid();
|
|
6733
6543
|
createPresence = (props) => {
|
|
6734
6544
|
const refStyles = createMemo(() => {
|
|
6735
6545
|
const element = access2(props.element);
|
|
6736
|
-
if (!element)
|
|
6737
|
-
return;
|
|
6546
|
+
if (!element) return;
|
|
6738
6547
|
return getComputedStyle(element);
|
|
6739
6548
|
});
|
|
6740
6549
|
const getAnimationName = () => {
|
|
@@ -6745,8 +6554,7 @@ var init_dist13 = __esm({
|
|
|
6745
6554
|
createEffect((prevShow) => {
|
|
6746
6555
|
const show = access2(props.show);
|
|
6747
6556
|
untrack(() => {
|
|
6748
|
-
if (prevShow === show)
|
|
6749
|
-
return show;
|
|
6557
|
+
if (prevShow === show) return show;
|
|
6750
6558
|
const prevAnimationName = animationName;
|
|
6751
6559
|
const currentAnimationName = getAnimationName();
|
|
6752
6560
|
if (show) {
|
|
@@ -6766,8 +6574,7 @@ var init_dist13 = __esm({
|
|
|
6766
6574
|
});
|
|
6767
6575
|
createEffect(() => {
|
|
6768
6576
|
const element = access2(props.element);
|
|
6769
|
-
if (!element)
|
|
6770
|
-
return;
|
|
6577
|
+
if (!element) return;
|
|
6771
6578
|
const handleAnimationStart = (event) => {
|
|
6772
6579
|
if (event.target === element) {
|
|
6773
6580
|
animationName = getAnimationName();
|
|
@@ -6801,7 +6608,7 @@ var init_dist13 = __esm({
|
|
|
6801
6608
|
}
|
|
6802
6609
|
});
|
|
6803
6610
|
|
|
6804
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6611
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6805
6612
|
function indexOf(node) {
|
|
6806
6613
|
return layers.findIndex((layer) => layer.node === node);
|
|
6807
6614
|
}
|
|
@@ -6862,7 +6669,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6862
6669
|
}
|
|
6863
6670
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6864
6671
|
var init_ZKYDDHM6 = __esm({
|
|
6865
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6672
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6866
6673
|
init_dist12();
|
|
6867
6674
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6868
6675
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6883,7 +6690,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6883
6690
|
}
|
|
6884
6691
|
});
|
|
6885
6692
|
|
|
6886
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6693
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6887
6694
|
function isButton(element) {
|
|
6888
6695
|
const tagName = element.tagName.toLowerCase();
|
|
6889
6696
|
if (tagName === "button") {
|
|
@@ -6945,7 +6752,7 @@ function ButtonRoot(props) {
|
|
|
6945
6752
|
}
|
|
6946
6753
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6947
6754
|
var init_OVKXYPU = __esm({
|
|
6948
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6755
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6949
6756
|
init_ET5T45DO();
|
|
6950
6757
|
init_Y7B2NEO();
|
|
6951
6758
|
init_ZKAE4VZ();
|
|
@@ -7022,8 +6829,7 @@ function getSideList(side, isStart, rtl) {
|
|
|
7022
6829
|
switch (side) {
|
|
7023
6830
|
case "top":
|
|
7024
6831
|
case "bottom":
|
|
7025
|
-
if (rtl)
|
|
7026
|
-
return isStart ? rl : lr;
|
|
6832
|
+
if (rtl) return isStart ? rl : lr;
|
|
7027
6833
|
return isStart ? lr : rl;
|
|
7028
6834
|
case "left":
|
|
7029
6835
|
case "right":
|
|
@@ -7816,8 +7622,7 @@ function getContainingBlock(element) {
|
|
|
7816
7622
|
return null;
|
|
7817
7623
|
}
|
|
7818
7624
|
function isWebKit() {
|
|
7819
|
-
if (typeof CSS === "undefined" || !CSS.supports)
|
|
7820
|
-
return false;
|
|
7625
|
+
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
7821
7626
|
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
7822
7627
|
}
|
|
7823
7628
|
function isLastTraversableNode(node) {
|
|
@@ -8452,7 +8257,7 @@ var init_floating_ui_dom = __esm({
|
|
|
8452
8257
|
}
|
|
8453
8258
|
});
|
|
8454
8259
|
|
|
8455
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8260
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8456
8261
|
function usePopperContext() {
|
|
8457
8262
|
const context = useContext(PopperContext);
|
|
8458
8263
|
if (context === void 0) {
|
|
@@ -8757,7 +8562,7 @@ function PopperRoot(props) {
|
|
|
8757
8562
|
}
|
|
8758
8563
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8759
8564
|
var init_X2EKUJ3 = __esm({
|
|
8760
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8565
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8761
8566
|
init_XHJPQEZP();
|
|
8762
8567
|
init_Y7B2NEO();
|
|
8763
8568
|
init_web();
|
|
@@ -8790,7 +8595,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8790
8595
|
}
|
|
8791
8596
|
});
|
|
8792
8597
|
|
|
8793
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8598
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8794
8599
|
function createEscapeKeyDown(props) {
|
|
8795
8600
|
const handleKeyDown = (event) => {
|
|
8796
8601
|
if (event.key === EventKey.Escape) {
|
|
@@ -8812,14 +8617,14 @@ function createEscapeKeyDown(props) {
|
|
|
8812
8617
|
});
|
|
8813
8618
|
}
|
|
8814
8619
|
var init_QEMPLYZX = __esm({
|
|
8815
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8620
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8816
8621
|
init_dist12();
|
|
8817
8622
|
init_solid();
|
|
8818
8623
|
init_web();
|
|
8819
8624
|
}
|
|
8820
8625
|
});
|
|
8821
8626
|
|
|
8822
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8627
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8823
8628
|
function createInteractOutside(props, ref) {
|
|
8824
8629
|
let pointerDownTimeoutId;
|
|
8825
8630
|
let clickHandler = noop3;
|
|
@@ -8920,7 +8725,7 @@ function createInteractOutside(props, ref) {
|
|
|
8920
8725
|
}
|
|
8921
8726
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8922
8727
|
var init_QGCMYLTA = __esm({
|
|
8923
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8728
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8924
8729
|
init_ZKYDDHM6();
|
|
8925
8730
|
init_dist12();
|
|
8926
8731
|
init_solid();
|
|
@@ -8930,7 +8735,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8930
8735
|
}
|
|
8931
8736
|
});
|
|
8932
8737
|
|
|
8933
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8738
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8934
8739
|
function useOptionalDismissableLayerContext() {
|
|
8935
8740
|
return useContext(DismissableLayerContext);
|
|
8936
8741
|
}
|
|
@@ -9049,7 +8854,7 @@ function DismissableLayer(props) {
|
|
|
9049
8854
|
}
|
|
9050
8855
|
var DismissableLayerContext;
|
|
9051
8856
|
var init_G7G3PFRJ = __esm({
|
|
9052
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8857
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
9053
8858
|
init_QEMPLYZX();
|
|
9054
8859
|
init_QGCMYLTA();
|
|
9055
8860
|
init_ZKYDDHM6();
|
|
@@ -9061,7 +8866,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
9061
8866
|
}
|
|
9062
8867
|
});
|
|
9063
8868
|
|
|
9064
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8869
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
9065
8870
|
function createDisclosureState(props = {}) {
|
|
9066
8871
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
9067
8872
|
value: () => access(props.open),
|
|
@@ -9086,13 +8891,13 @@ function createDisclosureState(props = {}) {
|
|
|
9086
8891
|
};
|
|
9087
8892
|
}
|
|
9088
8893
|
var init_LCANGHD = __esm({
|
|
9089
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8894
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
9090
8895
|
init_BLN63FDC();
|
|
9091
8896
|
init_dist12();
|
|
9092
8897
|
}
|
|
9093
8898
|
});
|
|
9094
8899
|
|
|
9095
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8900
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
9096
8901
|
function useRadioGroupContext() {
|
|
9097
8902
|
const context = useContext(RadioGroupContext);
|
|
9098
8903
|
if (context === void 0) {
|
|
@@ -9427,7 +9232,7 @@ function RadioGroupRoot(props) {
|
|
|
9427
9232
|
}
|
|
9428
9233
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9429
9234
|
var init_Q2BOFK7I = __esm({
|
|
9430
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9235
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9431
9236
|
init_Q2DJLZQE();
|
|
9432
9237
|
init_ANN3A2QM();
|
|
9433
9238
|
init_E4R2EMM4();
|
|
@@ -9469,7 +9274,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9469
9274
|
}
|
|
9470
9275
|
});
|
|
9471
9276
|
|
|
9472
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9277
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9473
9278
|
function createSelectableList(props, ref, scrollRef) {
|
|
9474
9279
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9475
9280
|
const delegate = createMemo(() => {
|
|
@@ -9499,7 +9304,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9499
9304
|
}
|
|
9500
9305
|
var ListKeyboardDelegate;
|
|
9501
9306
|
var init_GLKC2QFF = __esm({
|
|
9502
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9307
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9503
9308
|
init_H6DSIDEC();
|
|
9504
9309
|
init_XHJPQEZP();
|
|
9505
9310
|
init_dist12();
|
|
@@ -9613,7 +9418,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9613
9418
|
}
|
|
9614
9419
|
});
|
|
9615
9420
|
|
|
9616
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9421
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9617
9422
|
function createFocusScope(props, ref) {
|
|
9618
9423
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9619
9424
|
const focusScope = {
|
|
@@ -9791,7 +9596,7 @@ function createFocusScope(props, ref) {
|
|
|
9791
9596
|
}
|
|
9792
9597
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9793
9598
|
var init_ISKHZMHS = __esm({
|
|
9794
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9599
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9795
9600
|
init_ZKYDDHM6();
|
|
9796
9601
|
init_dist12();
|
|
9797
9602
|
init_solid();
|
|
@@ -9823,15 +9628,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9823
9628
|
}
|
|
9824
9629
|
});
|
|
9825
9630
|
|
|
9826
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9631
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9827
9632
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9828
9633
|
var init_YA7DCYMB = __esm({
|
|
9829
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9634
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9830
9635
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9831
9636
|
}
|
|
9832
9637
|
});
|
|
9833
9638
|
|
|
9834
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9639
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9835
9640
|
function createHideOutside(props) {
|
|
9836
9641
|
createEffect(() => {
|
|
9837
9642
|
if (access(props.isDisabled)) {
|
|
@@ -9950,7 +9755,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9950
9755
|
}
|
|
9951
9756
|
var refCountMap, observerStack;
|
|
9952
9757
|
var init_TZGE2AQH = __esm({
|
|
9953
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9758
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9954
9759
|
init_YA7DCYMB();
|
|
9955
9760
|
init_ZKYDDHM6();
|
|
9956
9761
|
init_dist12();
|
|
@@ -9960,10 +9765,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9960
9765
|
}
|
|
9961
9766
|
});
|
|
9962
9767
|
|
|
9963
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9768
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9964
9769
|
var activeStyles, createStyle, style_default;
|
|
9965
9770
|
var init_HD4B7J7A = __esm({
|
|
9966
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9771
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9967
9772
|
init_ZV6G25TT();
|
|
9968
9773
|
init_solid();
|
|
9969
9774
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -9991,8 +9796,7 @@ var init_HD4B7J7A = __esm({
|
|
|
9991
9796
|
}
|
|
9992
9797
|
onCleanup(() => {
|
|
9993
9798
|
const activeStyle2 = activeStyles.get(props.key);
|
|
9994
|
-
if (!activeStyle2)
|
|
9995
|
-
return;
|
|
9799
|
+
if (!activeStyle2) return;
|
|
9996
9800
|
if (activeStyle2.activeCount !== 1) {
|
|
9997
9801
|
activeStyle2.activeCount--;
|
|
9998
9802
|
return;
|
|
@@ -10015,17 +9819,17 @@ var init_HD4B7J7A = __esm({
|
|
|
10015
9819
|
}
|
|
10016
9820
|
});
|
|
10017
9821
|
|
|
10018
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9822
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/create/style.js
|
|
10019
9823
|
var init_style = __esm({
|
|
10020
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9824
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
10021
9825
|
init_HD4B7J7A();
|
|
10022
9826
|
}
|
|
10023
9827
|
});
|
|
10024
9828
|
|
|
10025
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9829
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js
|
|
10026
9830
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
10027
9831
|
var init_scroll = __esm({
|
|
10028
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9832
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
10029
9833
|
getScrollDimensions = (element, axis) => {
|
|
10030
9834
|
switch (axis) {
|
|
10031
9835
|
case "x":
|
|
@@ -10067,10 +9871,10 @@ var init_scroll = __esm({
|
|
|
10067
9871
|
}
|
|
10068
9872
|
});
|
|
10069
9873
|
|
|
10070
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9874
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js
|
|
10071
9875
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
10072
9876
|
var init_dist14 = __esm({
|
|
10073
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9877
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
10074
9878
|
init_reactivity();
|
|
10075
9879
|
init_solid();
|
|
10076
9880
|
init_style();
|
|
@@ -10095,8 +9899,7 @@ var init_dist14 = __esm({
|
|
|
10095
9899
|
let currentTouchStartAxis = null;
|
|
10096
9900
|
let currentTouchStartDelta = null;
|
|
10097
9901
|
createEffect(() => {
|
|
10098
|
-
if (!access2(defaultedProps.enabled))
|
|
10099
|
-
return;
|
|
9902
|
+
if (!access2(defaultedProps.enabled)) return;
|
|
10100
9903
|
setPreventScrollStack((stack) => [...stack, preventScrollId]);
|
|
10101
9904
|
onCleanup(() => {
|
|
10102
9905
|
setPreventScrollStack(
|
|
@@ -10147,8 +9950,7 @@ var init_dist14 = __esm({
|
|
|
10147
9950
|
}
|
|
10148
9951
|
});
|
|
10149
9952
|
createEffect(() => {
|
|
10150
|
-
if (!isActive(preventScrollId) || !access2(defaultedProps.enabled))
|
|
10151
|
-
return;
|
|
9953
|
+
if (!isActive(preventScrollId) || !access2(defaultedProps.enabled)) return;
|
|
10152
9954
|
document.addEventListener("wheel", maybePreventWheel, {
|
|
10153
9955
|
passive: false
|
|
10154
9956
|
});
|
|
@@ -10243,12 +10045,10 @@ var init_dist14 = __esm({
|
|
|
10243
10045
|
return true;
|
|
10244
10046
|
};
|
|
10245
10047
|
contains2 = (wrapper, target) => {
|
|
10246
|
-
if (wrapper.contains(target))
|
|
10247
|
-
return true;
|
|
10048
|
+
if (wrapper.contains(target)) return true;
|
|
10248
10049
|
let currentElement = target;
|
|
10249
10050
|
while (currentElement) {
|
|
10250
|
-
if (currentElement === wrapper)
|
|
10251
|
-
return true;
|
|
10051
|
+
if (currentElement === wrapper) return true;
|
|
10252
10052
|
currentElement = currentElement._$host ?? currentElement.parentElement;
|
|
10253
10053
|
}
|
|
10254
10054
|
return false;
|
|
@@ -10258,7 +10058,7 @@ var init_dist14 = __esm({
|
|
|
10258
10058
|
}
|
|
10259
10059
|
});
|
|
10260
10060
|
|
|
10261
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
10061
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10262
10062
|
function useOptionalMenuContext() {
|
|
10263
10063
|
return useContext(MenuContext);
|
|
10264
10064
|
}
|
|
@@ -11501,7 +11301,7 @@ function MenuRoot(props) {
|
|
|
11501
11301
|
}
|
|
11502
11302
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11503
11303
|
var init_F4B62RP = __esm({
|
|
11504
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11304
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11505
11305
|
init_X2EKUJ3();
|
|
11506
11306
|
init_CVNMTYF();
|
|
11507
11307
|
init_GLKC2QFF();
|
|
@@ -11558,7 +11358,7 @@ var init_F4B62RP = __esm({
|
|
|
11558
11358
|
}
|
|
11559
11359
|
});
|
|
11560
11360
|
|
|
11561
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11361
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11562
11362
|
function SeparatorRoot(props) {
|
|
11563
11363
|
let ref;
|
|
11564
11364
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11585,7 +11385,7 @@ function SeparatorRoot(props) {
|
|
|
11585
11385
|
}
|
|
11586
11386
|
var separator_exports, Separator;
|
|
11587
11387
|
var init_STGRFJHZ = __esm({
|
|
11588
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11388
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11589
11389
|
init_ET5T45DO();
|
|
11590
11390
|
init_Y7B2NEO();
|
|
11591
11391
|
init_ZKAE4VZ();
|
|
@@ -11601,7 +11401,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11601
11401
|
}
|
|
11602
11402
|
});
|
|
11603
11403
|
|
|
11604
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11404
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11605
11405
|
function DropdownMenuContent(props) {
|
|
11606
11406
|
const rootContext = useMenuRootContext();
|
|
11607
11407
|
const context = useMenuContext();
|
|
@@ -11635,7 +11435,7 @@ function DropdownMenuRoot(props) {
|
|
|
11635
11435
|
}
|
|
11636
11436
|
var dropdown_menu_exports, DropdownMenu;
|
|
11637
11437
|
var init_V2JBZ7BJ = __esm({
|
|
11638
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11438
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11639
11439
|
init_F4B62RP();
|
|
11640
11440
|
init_STGRFJHZ();
|
|
11641
11441
|
init_X2EKUJ3();
|
|
@@ -11689,9 +11489,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11689
11489
|
}
|
|
11690
11490
|
});
|
|
11691
11491
|
|
|
11692
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11492
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js
|
|
11693
11493
|
var init_dist15 = __esm({
|
|
11694
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11494
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js"() {
|
|
11695
11495
|
init_Q2BOFK7I();
|
|
11696
11496
|
init_V2JBZ7BJ();
|
|
11697
11497
|
}
|
|
@@ -13322,8 +13122,7 @@ var init_Devtools = __esm({
|
|
|
13322
13122
|
createEffect(() => {
|
|
13323
13123
|
const win = pip().pipWindow;
|
|
13324
13124
|
const resizeCB = () => {
|
|
13325
|
-
if (!win)
|
|
13326
|
-
return;
|
|
13125
|
+
if (!win) return;
|
|
13327
13126
|
setPanelWidth(win.innerWidth);
|
|
13328
13127
|
};
|
|
13329
13128
|
if (win) {
|
|
@@ -13411,8 +13210,7 @@ var init_Devtools = __esm({
|
|
|
13411
13210
|
const position = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
|
|
13412
13211
|
const handleDragStart = (event) => {
|
|
13413
13212
|
const panelElement = event.currentTarget.parentElement;
|
|
13414
|
-
if (!panelElement)
|
|
13415
|
-
return;
|
|
13213
|
+
if (!panelElement) return;
|
|
13416
13214
|
setIsResizing(true);
|
|
13417
13215
|
const {
|
|
13418
13216
|
height,
|
|
@@ -13468,8 +13266,7 @@ var init_Devtools = __esm({
|
|
|
13468
13266
|
});
|
|
13469
13267
|
createEffect(() => {
|
|
13470
13268
|
const rootContainer = panelRef.parentElement?.parentElement?.parentElement;
|
|
13471
|
-
if (!rootContainer)
|
|
13472
|
-
return;
|
|
13269
|
+
if (!rootContainer) return;
|
|
13473
13270
|
const currentPosition = props.localStore.position || POSITION;
|
|
13474
13271
|
const styleProp = getSidedProp("padding", currentPosition);
|
|
13475
13272
|
const isVertical = props.localStore.position === "left" || props.localStore.position === "right";
|
|
@@ -14152,15 +13949,13 @@ var init_Devtools = __esm({
|
|
|
14152
13949
|
const isPaused = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14153
13950
|
const mutations = mutationCache().getAll();
|
|
14154
13951
|
const mutation = mutations.find((m) => m.mutationId === props.mutation.mutationId);
|
|
14155
|
-
if (!mutation)
|
|
14156
|
-
return false;
|
|
13952
|
+
if (!mutation) return false;
|
|
14157
13953
|
return mutation.state.isPaused;
|
|
14158
13954
|
});
|
|
14159
13955
|
const status = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14160
13956
|
const mutations = mutationCache().getAll();
|
|
14161
13957
|
const mutation = mutations.find((m) => m.mutationId === props.mutation.mutationId);
|
|
14162
|
-
if (!mutation)
|
|
14163
|
-
return "idle";
|
|
13958
|
+
if (!mutation) return "idle";
|
|
14164
13959
|
return mutation.state.status;
|
|
14165
13960
|
});
|
|
14166
13961
|
const color = createMemo(() => getMutationStatusColor({
|
|
@@ -14481,14 +14276,12 @@ var init_Devtools = __esm({
|
|
|
14481
14276
|
}, false);
|
|
14482
14277
|
const statusLabel = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
14483
14278
|
const query = queryCache().getAll().find((q) => q.queryHash === selectedQueryHash());
|
|
14484
|
-
if (!query)
|
|
14485
|
-
return "inactive";
|
|
14279
|
+
if (!query) return "inactive";
|
|
14486
14280
|
return getQueryStatusLabel(query);
|
|
14487
14281
|
});
|
|
14488
14282
|
const queryStatus = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
14489
14283
|
const query = queryCache().getAll().find((q) => q.queryHash === selectedQueryHash());
|
|
14490
|
-
if (!query)
|
|
14491
|
-
return "pending";
|
|
14284
|
+
if (!query) return "pending";
|
|
14492
14285
|
return query.state.status;
|
|
14493
14286
|
});
|
|
14494
14287
|
const observerCount = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().getAll().find((query) => query.queryHash === selectedQueryHash())?.getObserversCount() ?? 0);
|
|
@@ -14568,8 +14361,7 @@ var init_Devtools = __esm({
|
|
|
14568
14361
|
restoreQueryAfterLoadingOrError();
|
|
14569
14362
|
} else {
|
|
14570
14363
|
const activeQueryVal = activeQuery();
|
|
14571
|
-
if (!activeQueryVal)
|
|
14572
|
-
return;
|
|
14364
|
+
if (!activeQueryVal) return;
|
|
14573
14365
|
const __previousQueryOptions = activeQueryVal.options;
|
|
14574
14366
|
activeQueryVal.fetch({
|
|
14575
14367
|
...__previousQueryOptions,
|
|
@@ -14835,15 +14627,13 @@ var init_Devtools = __esm({
|
|
|
14835
14627
|
const isPaused = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14836
14628
|
const mutations = mutationCache().getAll();
|
|
14837
14629
|
const mutation = mutations.find((m) => m.mutationId === selectedMutationId());
|
|
14838
|
-
if (!mutation)
|
|
14839
|
-
return false;
|
|
14630
|
+
if (!mutation) return false;
|
|
14840
14631
|
return mutation.state.isPaused;
|
|
14841
14632
|
});
|
|
14842
14633
|
const status = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14843
14634
|
const mutations = mutationCache().getAll();
|
|
14844
14635
|
const mutation = mutations.find((m) => m.mutationId === selectedMutationId());
|
|
14845
|
-
if (!mutation)
|
|
14846
|
-
return "idle";
|
|
14636
|
+
if (!mutation) return "idle";
|
|
14847
14637
|
return mutation.state.status;
|
|
14848
14638
|
});
|
|
14849
14639
|
const color = createMemo(() => getMutationStatusColor({
|
|
@@ -14965,8 +14755,7 @@ var init_Devtools = __esm({
|
|
|
14965
14755
|
const unsubscribe = queryCache().subscribe((q) => {
|
|
14966
14756
|
batch(() => {
|
|
14967
14757
|
for (const [callback, value] of queryCacheMap.entries()) {
|
|
14968
|
-
if (!value.shouldUpdate(q))
|
|
14969
|
-
continue;
|
|
14758
|
+
if (!value.shouldUpdate(q)) continue;
|
|
14970
14759
|
value.setter(callback(queryCache));
|
|
14971
14760
|
}
|
|
14972
14761
|
});
|
|
@@ -16086,8 +15875,7 @@ var init_DevtoolsComponent = __esm({
|
|
|
16086
15875
|
const colorScheme = getPreferredColorScheme();
|
|
16087
15876
|
const theme = createMemo(() => {
|
|
16088
15877
|
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
16089
|
-
if (preference !== "system")
|
|
16090
|
-
return preference;
|
|
15878
|
+
if (preference !== "system") return preference;
|
|
16091
15879
|
return colorScheme();
|
|
16092
15880
|
});
|
|
16093
15881
|
return createComponent(QueryDevtoolsContext.Provider, {
|
|
@@ -16137,8 +15925,7 @@ var init_DevtoolsPanelComponent = __esm({
|
|
|
16137
15925
|
const colorScheme = getPreferredColorScheme();
|
|
16138
15926
|
const theme = createMemo(() => {
|
|
16139
15927
|
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
16140
|
-
if (preference !== "system")
|
|
16141
|
-
return preference;
|
|
15928
|
+
if (preference !== "system") return preference;
|
|
16142
15929
|
return colorScheme();
|
|
16143
15930
|
});
|
|
16144
15931
|
return createComponent(QueryDevtoolsContext.Provider, {
|