@tanstack/query-devtools 5.0.0-beta.33 → 5.0.0-beta.34

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/index.cjs CHANGED
@@ -39,7 +39,7 @@ function createRoot(fn, detachedOwner) {
39
39
  }
40
40
  function createSignal(value, options) {
41
41
  options = options ? Object.assign({}, signalOptions, options) : signalOptions;
42
- const s = {
42
+ const s2 = {
43
43
  value,
44
44
  observers: null,
45
45
  observerSlots: null,
@@ -47,50 +47,50 @@ function createSignal(value, options) {
47
47
  };
48
48
  const setter = (value2) => {
49
49
  if (typeof value2 === "function") {
50
- if (Transition && Transition.running && Transition.sources.has(s))
51
- value2 = value2(s.tValue);
50
+ if (Transition && Transition.running && Transition.sources.has(s2))
51
+ value2 = value2(s2.tValue);
52
52
  else
53
- value2 = value2(s.value);
53
+ value2 = value2(s2.value);
54
54
  }
55
- return writeSignal(s, value2);
55
+ return writeSignal(s2, value2);
56
56
  };
57
- return [readSignal.bind(s), setter];
57
+ return [readSignal.bind(s2), setter];
58
58
  }
59
59
  function createComputed(fn, value, options) {
60
- const c = createComputation(fn, value, true, STALE);
60
+ const c2 = createComputation(fn, value, true, STALE);
61
61
  if (Scheduler && Transition && Transition.running)
62
- Updates.push(c);
62
+ Updates.push(c2);
63
63
  else
64
- updateComputation(c);
64
+ updateComputation(c2);
65
65
  }
66
66
  function createRenderEffect(fn, value, options) {
67
- const c = createComputation(fn, value, false, STALE);
67
+ const c2 = createComputation(fn, value, false, STALE);
68
68
  if (Scheduler && Transition && Transition.running)
69
- Updates.push(c);
69
+ Updates.push(c2);
70
70
  else
71
- updateComputation(c);
71
+ updateComputation(c2);
72
72
  }
73
73
  function createEffect(fn, value, options) {
74
74
  runEffects = runUserEffects;
75
- const c = createComputation(fn, value, false, STALE), s = SuspenseContext && lookup(Owner, SuspenseContext.id);
76
- if (s)
77
- c.suspense = s;
75
+ const c2 = createComputation(fn, value, false, STALE), s2 = SuspenseContext && lookup(Owner, SuspenseContext.id);
76
+ if (s2)
77
+ c2.suspense = s2;
78
78
  if (!options || !options.render)
79
- c.user = true;
80
- Effects ? Effects.push(c) : updateComputation(c);
79
+ c2.user = true;
80
+ Effects ? Effects.push(c2) : updateComputation(c2);
81
81
  }
82
82
  function createMemo(fn, value, options) {
83
83
  options = options ? Object.assign({}, signalOptions, options) : signalOptions;
84
- const c = createComputation(fn, value, true, 0);
85
- c.observers = null;
86
- c.observerSlots = null;
87
- c.comparator = options.equals || void 0;
84
+ const c2 = createComputation(fn, value, true, 0);
85
+ c2.observers = null;
86
+ c2.observerSlots = null;
87
+ c2.comparator = options.equals || void 0;
88
88
  if (Scheduler && Transition && Transition.running) {
89
- c.tState = STALE;
90
- Updates.push(c);
89
+ c2.tState = STALE;
90
+ Updates.push(c2);
91
91
  } else
92
- updateComputation(c);
93
- return readSignal.bind(c);
92
+ updateComputation(c2);
93
+ return readSignal.bind(c2);
94
94
  }
95
95
  function createResource(pSource, pFetcher, pOptions) {
96
96
  let source;
@@ -117,17 +117,17 @@ function createResource(pSource, pFetcher, pOptions) {
117
117
  else if (sharedConfig.load && (v = sharedConfig.load(id)))
118
118
  initP = v[0];
119
119
  }
120
- function loadEnd(p, v, error2, key) {
121
- if (pr === p) {
120
+ function loadEnd(p2, v, error2, key) {
121
+ if (pr === p2) {
122
122
  pr = null;
123
123
  key !== void 0 && (resolved = true);
124
- if ((p === initP || v === initP) && options.onHydrated)
124
+ if ((p2 === initP || v === initP) && options.onHydrated)
125
125
  queueMicrotask(() => options.onHydrated(key, {
126
126
  value: v
127
127
  }));
128
128
  initP = NO_INIT;
129
- if (Transition && p && loadedUnderTransition) {
130
- Transition.promises.delete(p);
129
+ if (Transition && p2 && loadedUnderTransition) {
130
+ Transition.promises.delete(p2);
131
131
  loadedUnderTransition = false;
132
132
  runUpdates(() => {
133
133
  Transition.running = true;
@@ -144,24 +144,24 @@ function createResource(pSource, pFetcher, pOptions) {
144
144
  setValue(() => v);
145
145
  setState(err !== void 0 ? "errored" : resolved ? "ready" : "unresolved");
146
146
  setError(err);
147
- for (const c of contexts.keys())
148
- c.decrement();
147
+ for (const c2 of contexts.keys())
148
+ c2.decrement();
149
149
  contexts.clear();
150
150
  }, false);
151
151
  }
152
152
  function read() {
153
- const c = SuspenseContext && lookup(Owner, SuspenseContext.id), v = value(), err = error();
153
+ const c2 = SuspenseContext && lookup(Owner, SuspenseContext.id), v = value(), err = error();
154
154
  if (err !== void 0 && !pr)
155
155
  throw err;
156
- if (Listener && !Listener.user && c) {
156
+ if (Listener && !Listener.user && c2) {
157
157
  createComputed(() => {
158
158
  track();
159
159
  if (pr) {
160
- if (c.resolved && Transition && loadedUnderTransition)
160
+ if (c2.resolved && Transition && loadedUnderTransition)
161
161
  Transition.promises.add(pr);
162
- else if (!contexts.has(c)) {
163
- c.increment();
164
- contexts.add(c);
162
+ else if (!contexts.has(c2)) {
163
+ c2.increment();
164
+ contexts.add(c2);
165
165
  }
166
166
  }
167
167
  });
@@ -180,22 +180,22 @@ function createResource(pSource, pFetcher, pOptions) {
180
180
  }
181
181
  if (Transition && pr)
182
182
  Transition.promises.delete(pr);
183
- const p = initP !== NO_INIT ? initP : untrack(() => fetcher(lookup2, {
183
+ const p2 = initP !== NO_INIT ? initP : untrack(() => fetcher(lookup2, {
184
184
  value: value(),
185
185
  refetching
186
186
  }));
187
- if (typeof p !== "object" || !(p && "then" in p)) {
188
- loadEnd(pr, p, void 0, lookup2);
189
- return p;
187
+ if (typeof p2 !== "object" || !(p2 && "then" in p2)) {
188
+ loadEnd(pr, p2, void 0, lookup2);
189
+ return p2;
190
190
  }
191
- pr = p;
191
+ pr = p2;
192
192
  scheduled = true;
193
193
  queueMicrotask(() => scheduled = false);
194
194
  runUpdates(() => {
195
195
  setState(resolved ? "refreshing" : "pending");
196
196
  trigger();
197
197
  }, false);
198
- return p.then((v) => loadEnd(p, v, void 0, lookup2), (e) => loadEnd(p, void 0, castError(e), lookup2));
198
+ return p2.then((v) => loadEnd(p2, v, void 0, lookup2), (e2) => loadEnd(p2, void 0, castError(e2), lookup2));
199
199
  }
200
200
  Object.defineProperties(read, {
201
201
  state: {
@@ -206,8 +206,8 @@ function createResource(pSource, pFetcher, pOptions) {
206
206
  },
207
207
  loading: {
208
208
  get() {
209
- const s = state();
210
- return s === "pending" || s === "refreshing";
209
+ const s2 = state();
210
+ return s2 === "pending" || s2 === "refreshing";
211
211
  }
212
212
  },
213
213
  latest: {
@@ -249,8 +249,8 @@ function on(deps, fn, options) {
249
249
  let input;
250
250
  if (isArray3) {
251
251
  input = Array(deps.length);
252
- for (let i = 0; i < deps.length; i++)
253
- input[i] = deps[i]();
252
+ for (let i2 = 0; i2 < deps.length; i2++)
253
+ input[i2] = deps[i2]();
254
254
  } else
255
255
  input = deps();
256
256
  if (defer2) {
@@ -279,14 +279,14 @@ function startTransition(fn) {
279
279
  fn();
280
280
  return Transition.done;
281
281
  }
282
- const l = Listener;
283
- const o = Owner;
282
+ const l2 = Listener;
283
+ const o2 = Owner;
284
284
  return Promise.resolve().then(() => {
285
- Listener = l;
286
- Owner = o;
287
- let t;
285
+ Listener = l2;
286
+ Owner = o2;
287
+ let t2;
288
288
  if (Scheduler || SuspenseContext) {
289
- t = Transition || (Transition = {
289
+ t2 = Transition || (Transition = {
290
290
  sources: /* @__PURE__ */ new Set(),
291
291
  effects: [],
292
292
  promises: /* @__PURE__ */ new Set(),
@@ -294,12 +294,12 @@ function startTransition(fn) {
294
294
  queue: /* @__PURE__ */ new Set(),
295
295
  running: true
296
296
  });
297
- t.done || (t.done = new Promise((res) => t.resolve = res));
298
- t.running = true;
297
+ t2.done || (t2.done = new Promise((res) => t2.resolve = res));
298
+ t2.running = true;
299
299
  }
300
300
  runUpdates(fn, false);
301
301
  Listener = Owner = null;
302
- return t ? t.done : void 0;
302
+ return t2 ? t2.done : void 0;
303
303
  });
304
304
  }
305
305
  function useTransition() {
@@ -321,8 +321,8 @@ function children(fn) {
321
321
  const children2 = createMemo(fn);
322
322
  const memo = createMemo(() => resolveChildren(children2()));
323
323
  memo.toArray = () => {
324
- const c = memo();
325
- return Array.isArray(c) ? c : c != null ? [c] : [];
324
+ const c2 = memo();
325
+ return Array.isArray(c2) ? c2 : c2 != null ? [c2] : [];
326
326
  };
327
327
  return memo;
328
328
  }
@@ -359,38 +359,38 @@ function readSignal() {
359
359
  return this.tValue;
360
360
  return this.value;
361
361
  }
362
- function writeSignal(node2, value, isComp) {
363
- let current = Transition && Transition.running && Transition.sources.has(node2) ? node2.tValue : node2.value;
364
- if (!node2.comparator || !node2.comparator(current, value)) {
362
+ function writeSignal(node, value, isComp) {
363
+ let current = Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value;
364
+ if (!node.comparator || !node.comparator(current, value)) {
365
365
  if (Transition) {
366
366
  const TransitionRunning = Transition.running;
367
- if (TransitionRunning || !isComp && Transition.sources.has(node2)) {
368
- Transition.sources.add(node2);
369
- node2.tValue = value;
367
+ if (TransitionRunning || !isComp && Transition.sources.has(node)) {
368
+ Transition.sources.add(node);
369
+ node.tValue = value;
370
370
  }
371
371
  if (!TransitionRunning)
372
- node2.value = value;
372
+ node.value = value;
373
373
  } else
374
- node2.value = value;
375
- if (node2.observers && node2.observers.length) {
374
+ node.value = value;
375
+ if (node.observers && node.observers.length) {
376
376
  runUpdates(() => {
377
- for (let i = 0; i < node2.observers.length; i += 1) {
378
- const o = node2.observers[i];
377
+ for (let i2 = 0; i2 < node.observers.length; i2 += 1) {
378
+ const o2 = node.observers[i2];
379
379
  const TransitionRunning = Transition && Transition.running;
380
- if (TransitionRunning && Transition.disposed.has(o))
380
+ if (TransitionRunning && Transition.disposed.has(o2))
381
381
  continue;
382
- if (TransitionRunning ? !o.tState : !o.state) {
383
- if (o.pure)
384
- Updates.push(o);
382
+ if (TransitionRunning ? !o2.tState : !o2.state) {
383
+ if (o2.pure)
384
+ Updates.push(o2);
385
385
  else
386
- Effects.push(o);
387
- if (o.observers)
388
- markDownstream(o);
386
+ Effects.push(o2);
387
+ if (o2.observers)
388
+ markDownstream(o2);
389
389
  }
390
390
  if (!TransitionRunning)
391
- o.state = STALE;
391
+ o2.state = STALE;
392
392
  else
393
- o.tState = STALE;
393
+ o2.tState = STALE;
394
394
  }
395
395
  if (Updates.length > 1e6) {
396
396
  Updates = [];
@@ -403,19 +403,19 @@ function writeSignal(node2, value, isComp) {
403
403
  }
404
404
  return value;
405
405
  }
406
- function updateComputation(node2) {
407
- if (!node2.fn)
406
+ function updateComputation(node) {
407
+ if (!node.fn)
408
408
  return;
409
- cleanNode(node2);
409
+ cleanNode(node);
410
410
  const owner = Owner, listener = Listener, time = ExecCount;
411
- Listener = Owner = node2;
412
- runComputation(node2, Transition && Transition.running && Transition.sources.has(node2) ? node2.tValue : node2.value, time);
413
- if (Transition && !Transition.running && Transition.sources.has(node2)) {
411
+ Listener = Owner = node;
412
+ runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
413
+ if (Transition && !Transition.running && Transition.sources.has(node)) {
414
414
  queueMicrotask(() => {
415
415
  runUpdates(() => {
416
416
  Transition && (Transition.running = true);
417
- Listener = Owner = node2;
418
- runComputation(node2, node2.tValue, time);
417
+ Listener = Owner = node;
418
+ runComputation(node, node.tValue, time);
419
419
  Listener = Owner = null;
420
420
  }, false);
421
421
  });
@@ -423,38 +423,38 @@ function updateComputation(node2) {
423
423
  Listener = listener;
424
424
  Owner = owner;
425
425
  }
426
- function runComputation(node2, value, time) {
426
+ function runComputation(node, value, time) {
427
427
  let nextValue;
428
428
  try {
429
- nextValue = node2.fn(value);
429
+ nextValue = node.fn(value);
430
430
  } catch (err) {
431
- if (node2.pure) {
431
+ if (node.pure) {
432
432
  if (Transition && Transition.running) {
433
- node2.tState = STALE;
434
- node2.tOwned && node2.tOwned.forEach(cleanNode);
435
- node2.tOwned = void 0;
433
+ node.tState = STALE;
434
+ node.tOwned && node.tOwned.forEach(cleanNode);
435
+ node.tOwned = void 0;
436
436
  } else {
437
- node2.state = STALE;
438
- node2.owned && node2.owned.forEach(cleanNode);
439
- node2.owned = null;
437
+ node.state = STALE;
438
+ node.owned && node.owned.forEach(cleanNode);
439
+ node.owned = null;
440
440
  }
441
441
  }
442
- node2.updatedAt = time + 1;
442
+ node.updatedAt = time + 1;
443
443
  return handleError(err);
444
444
  }
445
- if (!node2.updatedAt || node2.updatedAt <= time) {
446
- if (node2.updatedAt != null && "observers" in node2) {
447
- writeSignal(node2, nextValue, true);
448
- } else if (Transition && Transition.running && node2.pure) {
449
- Transition.sources.add(node2);
450
- node2.tValue = nextValue;
445
+ if (!node.updatedAt || node.updatedAt <= time) {
446
+ if (node.updatedAt != null && "observers" in node) {
447
+ writeSignal(node, nextValue, true);
448
+ } else if (Transition && Transition.running && node.pure) {
449
+ Transition.sources.add(node);
450
+ node.tValue = nextValue;
451
451
  } else
452
- node2.value = nextValue;
453
- node2.updatedAt = time;
452
+ node.value = nextValue;
453
+ node.updatedAt = time;
454
454
  }
455
455
  }
456
456
  function createComputation(fn, init, pure, state = STALE, options) {
457
- const c = {
457
+ const c2 = {
458
458
  fn,
459
459
  state,
460
460
  updatedAt: null,
@@ -468,69 +468,69 @@ function createComputation(fn, init, pure, state = STALE, options) {
468
468
  pure
469
469
  };
470
470
  if (Transition && Transition.running) {
471
- c.state = 0;
472
- c.tState = state;
471
+ c2.state = 0;
472
+ c2.tState = state;
473
473
  }
474
474
  if (Owner === null)
475
475
  ;
476
476
  else if (Owner !== UNOWNED) {
477
477
  if (Transition && Transition.running && Owner.pure) {
478
478
  if (!Owner.tOwned)
479
- Owner.tOwned = [c];
479
+ Owner.tOwned = [c2];
480
480
  else
481
- Owner.tOwned.push(c);
481
+ Owner.tOwned.push(c2);
482
482
  } else {
483
483
  if (!Owner.owned)
484
- Owner.owned = [c];
484
+ Owner.owned = [c2];
485
485
  else
486
- Owner.owned.push(c);
486
+ Owner.owned.push(c2);
487
487
  }
488
488
  }
489
489
  if (ExternalSourceFactory) {
490
490
  const [track, trigger] = createSignal(void 0, {
491
491
  equals: false
492
492
  });
493
- const ordinary = ExternalSourceFactory(c.fn, trigger);
493
+ const ordinary = ExternalSourceFactory(c2.fn, trigger);
494
494
  onCleanup(() => ordinary.dispose());
495
495
  const triggerInTransition = () => startTransition(trigger).then(() => inTransition.dispose());
496
- const inTransition = ExternalSourceFactory(c.fn, triggerInTransition);
497
- c.fn = (x) => {
496
+ const inTransition = ExternalSourceFactory(c2.fn, triggerInTransition);
497
+ c2.fn = (x) => {
498
498
  track();
499
499
  return Transition && Transition.running ? inTransition.track(x) : ordinary.track(x);
500
500
  };
501
501
  }
502
- return c;
502
+ return c2;
503
503
  }
504
- function runTop(node2) {
504
+ function runTop(node) {
505
505
  const runningTransition = Transition && Transition.running;
506
- if ((runningTransition ? node2.tState : node2.state) === 0)
506
+ if ((runningTransition ? node.tState : node.state) === 0)
507
507
  return;
508
- if ((runningTransition ? node2.tState : node2.state) === PENDING)
509
- return lookUpstream(node2);
510
- if (node2.suspense && untrack(node2.suspense.inFallback))
511
- return node2.suspense.effects.push(node2);
512
- const ancestors = [node2];
513
- while ((node2 = node2.owner) && (!node2.updatedAt || node2.updatedAt < ExecCount)) {
514
- if (runningTransition && Transition.disposed.has(node2))
508
+ if ((runningTransition ? node.tState : node.state) === PENDING)
509
+ return lookUpstream(node);
510
+ if (node.suspense && untrack(node.suspense.inFallback))
511
+ return node.suspense.effects.push(node);
512
+ const ancestors = [node];
513
+ while ((node = node.owner) && (!node.updatedAt || node.updatedAt < ExecCount)) {
514
+ if (runningTransition && Transition.disposed.has(node))
515
515
  return;
516
- if (runningTransition ? node2.tState : node2.state)
517
- ancestors.push(node2);
516
+ if (runningTransition ? node.tState : node.state)
517
+ ancestors.push(node);
518
518
  }
519
- for (let i = ancestors.length - 1; i >= 0; i--) {
520
- node2 = ancestors[i];
519
+ for (let i2 = ancestors.length - 1; i2 >= 0; i2--) {
520
+ node = ancestors[i2];
521
521
  if (runningTransition) {
522
- let top = node2, prev2 = ancestors[i + 1];
523
- while ((top = top.owner) && top !== prev2) {
522
+ let top = node, prev = ancestors[i2 + 1];
523
+ while ((top = top.owner) && top !== prev) {
524
524
  if (Transition.disposed.has(top))
525
525
  return;
526
526
  }
527
527
  }
528
- if ((runningTransition ? node2.tState : node2.state) === STALE) {
529
- updateComputation(node2);
530
- } else if ((runningTransition ? node2.tState : node2.state) === PENDING) {
528
+ if ((runningTransition ? node.tState : node.state) === STALE) {
529
+ updateComputation(node);
530
+ } else if ((runningTransition ? node.tState : node.state) === PENDING) {
531
531
  const updates = Updates;
532
532
  Updates = null;
533
- runUpdates(() => lookUpstream(node2, ancestors[0]), false);
533
+ runUpdates(() => lookUpstream(node, ancestors[0]), false);
534
534
  Updates = updates;
535
535
  }
536
536
  }
@@ -574,9 +574,9 @@ function completeUpdates(wait) {
574
574
  const disposed = Transition.disposed;
575
575
  Effects.push.apply(Effects, Transition.effects);
576
576
  res = Transition.resolve;
577
- for (const e2 of Effects) {
578
- "tState" in e2 && (e2.state = e2.tState);
579
- delete e2.tState;
577
+ for (const e3 of Effects) {
578
+ "tState" in e3 && (e3.state = e3.tState);
579
+ delete e3.tState;
580
580
  }
581
581
  Transition = null;
582
582
  runUpdates(() => {
@@ -585,8 +585,8 @@ function completeUpdates(wait) {
585
585
  for (const v of sources) {
586
586
  v.value = v.tValue;
587
587
  if (v.owned) {
588
- for (let i = 0, len = v.owned.length; i < len; i++)
589
- cleanNode(v.owned[i]);
588
+ for (let i2 = 0, len = v.owned.length; i2 < len; i2++)
589
+ cleanNode(v.owned[i2]);
590
590
  }
591
591
  if (v.tOwned)
592
592
  v.owned = v.tOwned;
@@ -604,20 +604,20 @@ function completeUpdates(wait) {
604
604
  return;
605
605
  }
606
606
  }
607
- const e = Effects;
607
+ const e2 = Effects;
608
608
  Effects = null;
609
- if (e.length)
610
- runUpdates(() => runEffects(e), false);
609
+ if (e2.length)
610
+ runUpdates(() => runEffects(e2), false);
611
611
  if (res)
612
612
  res();
613
613
  }
614
614
  function runQueue(queue) {
615
- for (let i = 0; i < queue.length; i++)
616
- runTop(queue[i]);
615
+ for (let i2 = 0; i2 < queue.length; i2++)
616
+ runTop(queue[i2]);
617
617
  }
618
618
  function scheduleQueue(queue) {
619
- for (let i = 0; i < queue.length; i++) {
620
- const item = queue[i];
619
+ for (let i2 = 0; i2 < queue.length; i2++) {
620
+ const item = queue[i2];
621
621
  const tasks = Transition.queue;
622
622
  if (!tasks.has(item)) {
623
623
  tasks.add(item);
@@ -633,13 +633,13 @@ function scheduleQueue(queue) {
633
633
  }
634
634
  }
635
635
  function runUserEffects(queue) {
636
- let i, userLength = 0;
637
- for (i = 0; i < queue.length; i++) {
638
- const e = queue[i];
639
- if (!e.user)
640
- runTop(e);
636
+ let i2, userLength = 0;
637
+ for (i2 = 0; i2 < queue.length; i2++) {
638
+ const e2 = queue[i2];
639
+ if (!e2.user)
640
+ runTop(e2);
641
641
  else
642
- queue[userLength++] = e;
642
+ queue[userLength++] = e2;
643
643
  }
644
644
  if (sharedConfig.context) {
645
645
  if (sharedConfig.count) {
@@ -653,17 +653,17 @@ function runUserEffects(queue) {
653
653
  }
654
654
  setHydrateContext();
655
655
  }
656
- for (i = 0; i < userLength; i++)
657
- runTop(queue[i]);
656
+ for (i2 = 0; i2 < userLength; i2++)
657
+ runTop(queue[i2]);
658
658
  }
659
- function lookUpstream(node2, ignore) {
659
+ function lookUpstream(node, ignore) {
660
660
  const runningTransition = Transition && Transition.running;
661
661
  if (runningTransition)
662
- node2.tState = 0;
662
+ node.tState = 0;
663
663
  else
664
- node2.state = 0;
665
- for (let i = 0; i < node2.sources.length; i += 1) {
666
- const source = node2.sources[i];
664
+ node.state = 0;
665
+ for (let i2 = 0; i2 < node.sources.length; i2 += 1) {
666
+ const source = node.sources[i2];
667
667
  if (source.sources) {
668
668
  const state = runningTransition ? source.tState : source.state;
669
669
  if (state === STALE) {
@@ -674,69 +674,69 @@ function lookUpstream(node2, ignore) {
674
674
  }
675
675
  }
676
676
  }
677
- function markDownstream(node2) {
677
+ function markDownstream(node) {
678
678
  const runningTransition = Transition && Transition.running;
679
- for (let i = 0; i < node2.observers.length; i += 1) {
680
- const o = node2.observers[i];
681
- if (runningTransition ? !o.tState : !o.state) {
679
+ for (let i2 = 0; i2 < node.observers.length; i2 += 1) {
680
+ const o2 = node.observers[i2];
681
+ if (runningTransition ? !o2.tState : !o2.state) {
682
682
  if (runningTransition)
683
- o.tState = PENDING;
683
+ o2.tState = PENDING;
684
684
  else
685
- o.state = PENDING;
686
- if (o.pure)
687
- Updates.push(o);
685
+ o2.state = PENDING;
686
+ if (o2.pure)
687
+ Updates.push(o2);
688
688
  else
689
- Effects.push(o);
690
- o.observers && markDownstream(o);
689
+ Effects.push(o2);
690
+ o2.observers && markDownstream(o2);
691
691
  }
692
692
  }
693
693
  }
694
- function cleanNode(node2) {
695
- let i;
696
- if (node2.sources) {
697
- while (node2.sources.length) {
698
- const source = node2.sources.pop(), index = node2.sourceSlots.pop(), obs = source.observers;
694
+ function cleanNode(node) {
695
+ let i2;
696
+ if (node.sources) {
697
+ while (node.sources.length) {
698
+ const source = node.sources.pop(), index = node.sourceSlots.pop(), obs = source.observers;
699
699
  if (obs && obs.length) {
700
- const n = obs.pop(), s = source.observerSlots.pop();
700
+ const n2 = obs.pop(), s2 = source.observerSlots.pop();
701
701
  if (index < obs.length) {
702
- n.sourceSlots[s] = index;
703
- obs[index] = n;
704
- source.observerSlots[index] = s;
702
+ n2.sourceSlots[s2] = index;
703
+ obs[index] = n2;
704
+ source.observerSlots[index] = s2;
705
705
  }
706
706
  }
707
707
  }
708
708
  }
709
- if (Transition && Transition.running && node2.pure) {
710
- if (node2.tOwned) {
711
- for (i = node2.tOwned.length - 1; i >= 0; i--)
712
- cleanNode(node2.tOwned[i]);
713
- delete node2.tOwned;
709
+ if (Transition && Transition.running && node.pure) {
710
+ if (node.tOwned) {
711
+ for (i2 = node.tOwned.length - 1; i2 >= 0; i2--)
712
+ cleanNode(node.tOwned[i2]);
713
+ delete node.tOwned;
714
714
  }
715
- reset(node2, true);
716
- } else if (node2.owned) {
717
- for (i = node2.owned.length - 1; i >= 0; i--)
718
- cleanNode(node2.owned[i]);
719
- node2.owned = null;
715
+ reset(node, true);
716
+ } else if (node.owned) {
717
+ for (i2 = node.owned.length - 1; i2 >= 0; i2--)
718
+ cleanNode(node.owned[i2]);
719
+ node.owned = null;
720
720
  }
721
- if (node2.cleanups) {
722
- for (i = node2.cleanups.length - 1; i >= 0; i--)
723
- node2.cleanups[i]();
724
- node2.cleanups = null;
721
+ if (node.cleanups) {
722
+ for (i2 = node.cleanups.length - 1; i2 >= 0; i2--)
723
+ node.cleanups[i2]();
724
+ node.cleanups = null;
725
725
  }
726
726
  if (Transition && Transition.running)
727
- node2.tState = 0;
727
+ node.tState = 0;
728
728
  else
729
- node2.state = 0;
730
- node2.context = null;
729
+ node.state = 0;
730
+ node.context = null;
731
731
  }
732
- function reset(node2, top) {
732
+ function reset(node, top) {
733
733
  if (!top) {
734
- node2.tState = 0;
735
- Transition.disposed.add(node2);
734
+ node.tState = 0;
735
+ Transition.disposed.add(node);
736
736
  }
737
- if (node2.owned) {
738
- for (let i = 0; i < node2.owned.length; i++)
739
- reset(node2.owned[i]);
737
+ if (node.owned) {
738
+ for (let i2 = 0; i2 < node.owned.length; i2++)
739
+ reset(node.owned[i2]);
740
740
  }
741
741
  }
742
742
  function castError(err) {
@@ -750,8 +750,8 @@ function runErrors(err, fns, owner) {
750
750
  try {
751
751
  for (const f of fns)
752
752
  f(err);
753
- } catch (e) {
754
- handleError(e, owner && owner.owner || null);
753
+ } catch (e2) {
754
+ handleError(e2, owner && owner.owner || null);
755
755
  }
756
756
  }
757
757
  function handleError(err, owner = Owner) {
@@ -777,8 +777,8 @@ function resolveChildren(children2) {
777
777
  return resolveChildren(children2());
778
778
  if (Array.isArray(children2)) {
779
779
  const results = [];
780
- for (let i = 0; i < children2.length; i++) {
781
- const result = resolveChildren(children2[i]);
780
+ for (let i2 = 0; i2 < children2.length; i2++) {
781
+ const result = resolveChildren(children2[i2]);
782
782
  Array.isArray(result) ? results.push.apply(results, result) : results.push(result);
783
783
  }
784
784
  return results;
@@ -798,14 +798,14 @@ function createProvider(id, options) {
798
798
  };
799
799
  }
800
800
  function dispose(d) {
801
- for (let i = 0; i < d.length; i++)
802
- d[i]();
801
+ for (let i2 = 0; i2 < d.length; i2++)
802
+ d[i2]();
803
803
  }
804
804
  function mapArray(list, mapFn, options = {}) {
805
805
  let items = [], mapped = [], disposers = [], len = 0, indexes = mapFn.length > 1 ? [] : null;
806
806
  onCleanup(() => dispose(disposers));
807
807
  return () => {
808
- let newItems = list() || [], i, j;
808
+ let newItems = list() || [], i2, j;
809
809
  newItems[$TRACK];
810
810
  return untrack(() => {
811
811
  let newLen = newItems.length, newIndices, newIndicesNext, temp, tempdisposers, tempIndexes, start, end, newEnd, item;
@@ -848,21 +848,21 @@ function mapArray(list, mapFn, options = {}) {
848
848
  newIndicesNext = new Array(newEnd + 1);
849
849
  for (j = newEnd; j >= start; j--) {
850
850
  item = newItems[j];
851
- i = newIndices.get(item);
852
- newIndicesNext[j] = i === void 0 ? -1 : i;
851
+ i2 = newIndices.get(item);
852
+ newIndicesNext[j] = i2 === void 0 ? -1 : i2;
853
853
  newIndices.set(item, j);
854
854
  }
855
- for (i = start; i <= end; i++) {
856
- item = items[i];
855
+ for (i2 = start; i2 <= end; i2++) {
856
+ item = items[i2];
857
857
  j = newIndices.get(item);
858
858
  if (j !== void 0 && j !== -1) {
859
- temp[j] = mapped[i];
860
- tempdisposers[j] = disposers[i];
861
- indexes && (tempIndexes[j] = indexes[i]);
859
+ temp[j] = mapped[i2];
860
+ tempdisposers[j] = disposers[i2];
861
+ indexes && (tempIndexes[j] = indexes[i2]);
862
862
  j = newIndicesNext[j];
863
863
  newIndices.set(item, j);
864
864
  } else
865
- disposers[i]();
865
+ disposers[i2]();
866
866
  }
867
867
  for (j = start; j < newLen; j++) {
868
868
  if (j in temp) {
@@ -883,16 +883,16 @@ function mapArray(list, mapFn, options = {}) {
883
883
  function mapper(disposer) {
884
884
  disposers[j] = disposer;
885
885
  if (indexes) {
886
- const [s, set] = createSignal(j);
886
+ const [s2, set] = createSignal(j);
887
887
  indexes[j] = set;
888
- return mapFn(newItems[j], s);
888
+ return mapFn(newItems[j], s2);
889
889
  }
890
890
  return mapFn(newItems[j]);
891
891
  }
892
892
  };
893
893
  }
894
894
  function indexArray(list, mapFn, options = {}) {
895
- let items = [], mapped = [], disposers = [], signals = [], len = 0, i;
895
+ let items = [], mapped = [], disposers = [], signals = [], len = 0, i2;
896
896
  onCleanup(() => dispose(disposers));
897
897
  return () => {
898
898
  const newItems = list() || [];
@@ -924,36 +924,36 @@ function indexArray(list, mapFn, options = {}) {
924
924
  mapped = [];
925
925
  len = 0;
926
926
  }
927
- for (i = 0; i < newItems.length; i++) {
928
- if (i < items.length && items[i] !== newItems[i]) {
929
- signals[i](() => newItems[i]);
930
- } else if (i >= items.length) {
931
- mapped[i] = createRoot(mapper);
927
+ for (i2 = 0; i2 < newItems.length; i2++) {
928
+ if (i2 < items.length && items[i2] !== newItems[i2]) {
929
+ signals[i2](() => newItems[i2]);
930
+ } else if (i2 >= items.length) {
931
+ mapped[i2] = createRoot(mapper);
932
932
  }
933
933
  }
934
- for (; i < items.length; i++) {
935
- disposers[i]();
934
+ for (; i2 < items.length; i2++) {
935
+ disposers[i2]();
936
936
  }
937
937
  len = signals.length = disposers.length = newItems.length;
938
938
  items = newItems.slice(0);
939
939
  return mapped = mapped.slice(0, len);
940
940
  });
941
941
  function mapper(disposer) {
942
- disposers[i] = disposer;
943
- const [s, set] = createSignal(newItems[i]);
944
- signals[i] = set;
945
- return mapFn(s, i);
942
+ disposers[i2] = disposer;
943
+ const [s2, set] = createSignal(newItems[i2]);
944
+ signals[i2] = set;
945
+ return mapFn(s2, i2);
946
946
  }
947
947
  };
948
948
  }
949
949
  function createComponent(Comp, props) {
950
950
  if (hydrationEnabled) {
951
951
  if (sharedConfig.context) {
952
- const c = sharedConfig.context;
952
+ const c2 = sharedConfig.context;
953
953
  setHydrateContext(nextHydrateContext());
954
- const r = untrack(() => Comp(props || {}));
955
- setHydrateContext(c);
956
- return r;
954
+ const r2 = untrack(() => Comp(props || {}));
955
+ setHydrateContext(c2);
956
+ return r2;
957
957
  }
958
958
  }
959
959
  return untrack(() => Comp(props || {}));
@@ -961,43 +961,43 @@ function createComponent(Comp, props) {
961
961
  function trueFn() {
962
962
  return true;
963
963
  }
964
- function resolveSource(s) {
965
- return !(s = typeof s === "function" ? s() : s) ? {} : s;
964
+ function resolveSource(s2) {
965
+ return !(s2 = typeof s2 === "function" ? s2() : s2) ? {} : s2;
966
966
  }
967
967
  function resolveSources() {
968
- for (let i = 0, length2 = this.length; i < length2; ++i) {
969
- const v = this[i]();
968
+ for (let i2 = 0, length = this.length; i2 < length; ++i2) {
969
+ const v = this[i2]();
970
970
  if (v !== void 0)
971
971
  return v;
972
972
  }
973
973
  }
974
974
  function mergeProps(...sources) {
975
975
  let proxy = false;
976
- for (let i = 0; i < sources.length; i++) {
977
- const s = sources[i];
978
- proxy = proxy || !!s && $PROXY in s;
979
- sources[i] = typeof s === "function" ? (proxy = true, createMemo(s)) : s;
976
+ for (let i2 = 0; i2 < sources.length; i2++) {
977
+ const s2 = sources[i2];
978
+ proxy = proxy || !!s2 && $PROXY in s2;
979
+ sources[i2] = typeof s2 === "function" ? (proxy = true, createMemo(s2)) : s2;
980
980
  }
981
981
  if (proxy) {
982
982
  return new Proxy({
983
983
  get(property) {
984
- for (let i = sources.length - 1; i >= 0; i--) {
985
- const v = resolveSource(sources[i])[property];
984
+ for (let i2 = sources.length - 1; i2 >= 0; i2--) {
985
+ const v = resolveSource(sources[i2])[property];
986
986
  if (v !== void 0)
987
987
  return v;
988
988
  }
989
989
  },
990
990
  has(property) {
991
- for (let i = sources.length - 1; i >= 0; i--) {
992
- if (property in resolveSource(sources[i]))
991
+ for (let i2 = sources.length - 1; i2 >= 0; i2--) {
992
+ if (property in resolveSource(sources[i2]))
993
993
  return true;
994
994
  }
995
995
  return false;
996
996
  },
997
997
  keys() {
998
998
  const keys2 = [];
999
- for (let i = 0; i < sources.length; i++)
1000
- keys2.push(...Object.keys(resolveSource(sources[i])));
999
+ for (let i2 = 0; i2 < sources.length; i2++)
1000
+ keys2.push(...Object.keys(resolveSource(sources[i2])));
1001
1001
  return [...new Set(keys2)];
1002
1002
  }
1003
1003
  }, propTraps);
@@ -1005,13 +1005,13 @@ function mergeProps(...sources) {
1005
1005
  const target = {};
1006
1006
  const sourcesMap = {};
1007
1007
  const defined = /* @__PURE__ */ new Set();
1008
- for (let i = sources.length - 1; i >= 0; i--) {
1009
- const source = sources[i];
1008
+ for (let i2 = sources.length - 1; i2 >= 0; i2--) {
1009
+ const source = sources[i2];
1010
1010
  if (!source)
1011
1011
  continue;
1012
1012
  const sourceKeys = Object.getOwnPropertyNames(source);
1013
- for (let i2 = 0, length2 = sourceKeys.length; i2 < length2; i2++) {
1014
- const key = sourceKeys[i2];
1013
+ for (let i3 = 0, length = sourceKeys.length; i3 < length; i3++) {
1014
+ const key = sourceKeys[i3];
1015
1015
  if (key === "__proto__" || key === "constructor")
1016
1016
  continue;
1017
1017
  const desc = Object.getOwnPropertyDescriptor(source, key);
@@ -1045,23 +1045,23 @@ function mergeProps(...sources) {
1045
1045
  }
1046
1046
  function lazy(fn) {
1047
1047
  let comp;
1048
- let p;
1048
+ let p2;
1049
1049
  const wrap = (props) => {
1050
1050
  const ctx = sharedConfig.context;
1051
1051
  if (ctx) {
1052
- const [s, set] = createSignal();
1052
+ const [s2, set] = createSignal();
1053
1053
  sharedConfig.count || (sharedConfig.count = 0);
1054
1054
  sharedConfig.count++;
1055
- (p || (p = fn())).then((mod) => {
1055
+ (p2 || (p2 = fn())).then((mod) => {
1056
1056
  setHydrateContext(ctx);
1057
1057
  sharedConfig.count--;
1058
1058
  set(() => mod.default);
1059
1059
  setHydrateContext();
1060
1060
  });
1061
- comp = s;
1061
+ comp = s2;
1062
1062
  } else if (!comp) {
1063
- const [s] = createResource(() => (p || (p = fn())).then((mod) => mod.default));
1064
- comp = s;
1063
+ const [s2] = createResource(() => (p2 || (p2 = fn())).then((mod) => mod.default));
1064
+ comp = s2;
1065
1065
  }
1066
1066
  let Comp;
1067
1067
  return createMemo(() => (Comp = comp()) && untrack(() => {
@@ -1069,14 +1069,14 @@ function lazy(fn) {
1069
1069
  ;
1070
1070
  if (!ctx)
1071
1071
  return Comp(props);
1072
- const c = sharedConfig.context;
1072
+ const c2 = sharedConfig.context;
1073
1073
  setHydrateContext(ctx);
1074
- const r = Comp(props);
1075
- setHydrateContext(c);
1076
- return r;
1074
+ const r2 = Comp(props);
1075
+ setHydrateContext(c2);
1076
+ return r2;
1077
1077
  }));
1078
1078
  };
1079
- wrap.preload = () => p || ((p = fn()).then((mod) => comp = () => mod.default), p);
1079
+ wrap.preload = () => p2 || ((p2 = fn()).then((mod) => comp = () => mod.default), p2);
1080
1080
  return wrap;
1081
1081
  }
1082
1082
  function For(props) {
@@ -1094,14 +1094,14 @@ function Index(props) {
1094
1094
  function Show(props) {
1095
1095
  const keyed = props.keyed;
1096
1096
  const condition = createMemo(() => props.when, void 0, {
1097
- equals: (a, b) => keyed ? a === b : !a === !b
1097
+ equals: (a2, b2) => keyed ? a2 === b2 : !a2 === !b2
1098
1098
  });
1099
1099
  return createMemo(() => {
1100
- const c = condition();
1101
- if (c) {
1100
+ const c2 = condition();
1101
+ if (c2) {
1102
1102
  const child = props.children;
1103
1103
  const fn = typeof child === "function" && child.length > 0;
1104
- return fn ? untrack(() => child(keyed ? c : () => {
1104
+ return fn ? untrack(() => child(keyed ? c2 : () => {
1105
1105
  if (!untrack(condition))
1106
1106
  throw narrowedError("Show");
1107
1107
  return props.when;
@@ -1112,16 +1112,16 @@ function Show(props) {
1112
1112
  }
1113
1113
  function Switch(props) {
1114
1114
  let keyed = false;
1115
- const equals = (a, b) => a[0] === b[0] && (keyed ? a[1] === b[1] : !a[1] === !b[1]) && a[2] === b[2];
1115
+ const equals = (a2, b2) => a2[0] === b2[0] && (keyed ? a2[1] === b2[1] : !a2[1] === !b2[1]) && a2[2] === b2[2];
1116
1116
  const conditions = children(() => props.children), evalConditions = createMemo(() => {
1117
1117
  let conds = conditions();
1118
1118
  if (!Array.isArray(conds))
1119
1119
  conds = [conds];
1120
- for (let i = 0; i < conds.length; i++) {
1121
- const c = conds[i].when;
1122
- if (c) {
1123
- keyed = !!conds[i].keyed;
1124
- return [i, c, conds[i]];
1120
+ for (let i2 = 0; i2 < conds.length; i2++) {
1121
+ const c2 = conds[i2].when;
1122
+ if (c2) {
1123
+ keyed = !!conds[i2].keyed;
1124
+ return [i2, c2, conds[i2]];
1125
1125
  }
1126
1126
  }
1127
1127
  return [-1];
@@ -1132,13 +1132,13 @@ function Switch(props) {
1132
1132
  const [index, when, cond] = evalConditions();
1133
1133
  if (index < 0)
1134
1134
  return props.fallback;
1135
- const c = cond.children;
1136
- const fn = typeof c === "function" && c.length > 0;
1137
- return fn ? untrack(() => c(keyed ? when : () => {
1135
+ const c2 = cond.children;
1136
+ const fn = typeof c2 === "function" && c2.length > 0;
1137
+ return fn ? untrack(() => c2(keyed ? when : () => {
1138
1138
  if (untrack(evalConditions)[0] !== index)
1139
1139
  throw narrowedError("Match");
1140
1140
  return cond.when;
1141
- })) : c;
1141
+ })) : c2;
1142
1142
  }, void 0, void 0);
1143
1143
  }
1144
1144
  function Match(props) {
@@ -1151,7 +1151,7 @@ var init_solid = __esm({
1151
1151
  context: void 0,
1152
1152
  registry: void 0
1153
1153
  };
1154
- equalFn = (a, b) => a === b;
1154
+ equalFn = (a2, b2) => a2 === b2;
1155
1155
  $PROXY = Symbol("solid-proxy");
1156
1156
  $TRACK = Symbol("solid-track");
1157
1157
  signalOptions = {
@@ -1213,62 +1213,62 @@ var init_solid = __esm({
1213
1213
 
1214
1214
  // ../../node_modules/.pnpm/solid-js@1.7.8/node_modules/solid-js/web/dist/web.js
1215
1215
  function getPropAlias(prop, tagName) {
1216
- const a = PropAliases[prop];
1217
- return typeof a === "object" ? a[tagName] ? a["$"] : void 0 : a;
1216
+ const a2 = PropAliases[prop];
1217
+ return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
1218
1218
  }
1219
- function reconcileArrays(parentNode, a, b) {
1220
- let bLength = b.length, aEnd = a.length, bEnd = bLength, aStart = 0, bStart = 0, after = a[aEnd - 1].nextSibling, map = null;
1219
+ function reconcileArrays(parentNode, a2, b2) {
1220
+ let bLength = b2.length, aEnd = a2.length, bEnd = bLength, aStart = 0, bStart = 0, after = a2[aEnd - 1].nextSibling, map = null;
1221
1221
  while (aStart < aEnd || bStart < bEnd) {
1222
- if (a[aStart] === b[bStart]) {
1222
+ if (a2[aStart] === b2[bStart]) {
1223
1223
  aStart++;
1224
1224
  bStart++;
1225
1225
  continue;
1226
1226
  }
1227
- while (a[aEnd - 1] === b[bEnd - 1]) {
1227
+ while (a2[aEnd - 1] === b2[bEnd - 1]) {
1228
1228
  aEnd--;
1229
1229
  bEnd--;
1230
1230
  }
1231
1231
  if (aEnd === aStart) {
1232
- const node2 = bEnd < bLength ? bStart ? b[bStart - 1].nextSibling : b[bEnd - bStart] : after;
1232
+ const node = bEnd < bLength ? bStart ? b2[bStart - 1].nextSibling : b2[bEnd - bStart] : after;
1233
1233
  while (bStart < bEnd)
1234
- parentNode.insertBefore(b[bStart++], node2);
1234
+ parentNode.insertBefore(b2[bStart++], node);
1235
1235
  } else if (bEnd === bStart) {
1236
1236
  while (aStart < aEnd) {
1237
- if (!map || !map.has(a[aStart]))
1238
- a[aStart].remove();
1237
+ if (!map || !map.has(a2[aStart]))
1238
+ a2[aStart].remove();
1239
1239
  aStart++;
1240
1240
  }
1241
- } else if (a[aStart] === b[bEnd - 1] && b[bStart] === a[aEnd - 1]) {
1242
- const node2 = a[--aEnd].nextSibling;
1243
- parentNode.insertBefore(b[bStart++], a[aStart++].nextSibling);
1244
- parentNode.insertBefore(b[--bEnd], node2);
1245
- a[aEnd] = b[bEnd];
1241
+ } else if (a2[aStart] === b2[bEnd - 1] && b2[bStart] === a2[aEnd - 1]) {
1242
+ const node = a2[--aEnd].nextSibling;
1243
+ parentNode.insertBefore(b2[bStart++], a2[aStart++].nextSibling);
1244
+ parentNode.insertBefore(b2[--bEnd], node);
1245
+ a2[aEnd] = b2[bEnd];
1246
1246
  } else {
1247
1247
  if (!map) {
1248
1248
  map = /* @__PURE__ */ new Map();
1249
- let i = bStart;
1250
- while (i < bEnd)
1251
- map.set(b[i], i++);
1249
+ let i2 = bStart;
1250
+ while (i2 < bEnd)
1251
+ map.set(b2[i2], i2++);
1252
1252
  }
1253
- const index = map.get(a[aStart]);
1253
+ const index = map.get(a2[aStart]);
1254
1254
  if (index != null) {
1255
1255
  if (bStart < index && index < bEnd) {
1256
- let i = aStart, sequence = 1, t;
1257
- while (++i < aEnd && i < bEnd) {
1258
- if ((t = map.get(a[i])) == null || t !== index + sequence)
1256
+ let i2 = aStart, sequence = 1, t2;
1257
+ while (++i2 < aEnd && i2 < bEnd) {
1258
+ if ((t2 = map.get(a2[i2])) == null || t2 !== index + sequence)
1259
1259
  break;
1260
1260
  sequence++;
1261
1261
  }
1262
1262
  if (sequence > index - bStart) {
1263
- const node2 = a[aStart];
1263
+ const node = a2[aStart];
1264
1264
  while (bStart < index)
1265
- parentNode.insertBefore(b[bStart++], node2);
1265
+ parentNode.insertBefore(b2[bStart++], node);
1266
1266
  } else
1267
- parentNode.replaceChild(b[bStart++], a[aStart++]);
1267
+ parentNode.replaceChild(b2[bStart++], a2[aStart++]);
1268
1268
  } else
1269
1269
  aStart++;
1270
1270
  } else
1271
- a[aStart++].remove();
1271
+ a2[aStart++].remove();
1272
1272
  }
1273
1273
  }
1274
1274
  }
@@ -1284,106 +1284,106 @@ function render(code, element, init, options = {}) {
1284
1284
  };
1285
1285
  }
1286
1286
  function template(html, isCE, isSVG) {
1287
- let node2;
1287
+ let node;
1288
1288
  const create = () => {
1289
- const t = document.createElement("template");
1290
- t.innerHTML = html;
1291
- return isSVG ? t.content.firstChild.firstChild : t.content.firstChild;
1289
+ const t2 = document.createElement("template");
1290
+ t2.innerHTML = html;
1291
+ return isSVG ? t2.content.firstChild.firstChild : t2.content.firstChild;
1292
1292
  };
1293
- const fn = isCE ? () => untrack(() => document.importNode(node2 || (node2 = create()), true)) : () => (node2 || (node2 = create())).cloneNode(true);
1293
+ const fn = isCE ? () => untrack(() => document.importNode(node || (node = create()), true)) : () => (node || (node = create())).cloneNode(true);
1294
1294
  fn.cloneNode = fn;
1295
1295
  return fn;
1296
1296
  }
1297
1297
  function delegateEvents(eventNames, document2 = window.document) {
1298
- const e = document2[$$EVENTS] || (document2[$$EVENTS] = /* @__PURE__ */ new Set());
1299
- for (let i = 0, l = eventNames.length; i < l; i++) {
1300
- const name = eventNames[i];
1301
- if (!e.has(name)) {
1302
- e.add(name);
1298
+ const e2 = document2[$$EVENTS] || (document2[$$EVENTS] = /* @__PURE__ */ new Set());
1299
+ for (let i2 = 0, l2 = eventNames.length; i2 < l2; i2++) {
1300
+ const name = eventNames[i2];
1301
+ if (!e2.has(name)) {
1302
+ e2.add(name);
1303
1303
  document2.addEventListener(name, eventHandler);
1304
1304
  }
1305
1305
  }
1306
1306
  }
1307
- function setAttribute(node2, name, value) {
1307
+ function setAttribute(node, name, value) {
1308
1308
  if (value == null)
1309
- node2.removeAttribute(name);
1309
+ node.removeAttribute(name);
1310
1310
  else
1311
- node2.setAttribute(name, value);
1311
+ node.setAttribute(name, value);
1312
1312
  }
1313
- function setAttributeNS(node2, namespace, name, value) {
1313
+ function setAttributeNS(node, namespace, name, value) {
1314
1314
  if (value == null)
1315
- node2.removeAttributeNS(namespace, name);
1315
+ node.removeAttributeNS(namespace, name);
1316
1316
  else
1317
- node2.setAttributeNS(namespace, name, value);
1317
+ node.setAttributeNS(namespace, name, value);
1318
1318
  }
1319
- function className(node2, value) {
1319
+ function className(node, value) {
1320
1320
  if (value == null)
1321
- node2.removeAttribute("class");
1321
+ node.removeAttribute("class");
1322
1322
  else
1323
- node2.className = value;
1323
+ node.className = value;
1324
1324
  }
1325
- function addEventListener(node2, name, handler, delegate) {
1325
+ function addEventListener(node, name, handler, delegate) {
1326
1326
  if (delegate) {
1327
1327
  if (Array.isArray(handler)) {
1328
- node2[`$$${name}`] = handler[0];
1329
- node2[`$$${name}Data`] = handler[1];
1328
+ node[`$$${name}`] = handler[0];
1329
+ node[`$$${name}Data`] = handler[1];
1330
1330
  } else
1331
- node2[`$$${name}`] = handler;
1331
+ node[`$$${name}`] = handler;
1332
1332
  } else if (Array.isArray(handler)) {
1333
1333
  const handlerFn = handler[0];
1334
- node2.addEventListener(name, handler[0] = (e) => handlerFn.call(node2, handler[1], e));
1334
+ node.addEventListener(name, handler[0] = (e2) => handlerFn.call(node, handler[1], e2));
1335
1335
  } else
1336
- node2.addEventListener(name, handler);
1336
+ node.addEventListener(name, handler);
1337
1337
  }
1338
- function classList(node2, value, prev2 = {}) {
1339
- const classKeys = Object.keys(value || {}), prevKeys = Object.keys(prev2);
1340
- let i, len;
1341
- for (i = 0, len = prevKeys.length; i < len; i++) {
1342
- const key = prevKeys[i];
1338
+ function classList(node, value, prev = {}) {
1339
+ const classKeys = Object.keys(value || {}), prevKeys = Object.keys(prev);
1340
+ let i2, len;
1341
+ for (i2 = 0, len = prevKeys.length; i2 < len; i2++) {
1342
+ const key = prevKeys[i2];
1343
1343
  if (!key || key === "undefined" || value[key])
1344
1344
  continue;
1345
- toggleClassKey(node2, key, false);
1346
- delete prev2[key];
1345
+ toggleClassKey(node, key, false);
1346
+ delete prev[key];
1347
1347
  }
1348
- for (i = 0, len = classKeys.length; i < len; i++) {
1349
- const key = classKeys[i], classValue = !!value[key];
1350
- if (!key || key === "undefined" || prev2[key] === classValue || !classValue)
1348
+ for (i2 = 0, len = classKeys.length; i2 < len; i2++) {
1349
+ const key = classKeys[i2], classValue = !!value[key];
1350
+ if (!key || key === "undefined" || prev[key] === classValue || !classValue)
1351
1351
  continue;
1352
- toggleClassKey(node2, key, true);
1353
- prev2[key] = classValue;
1352
+ toggleClassKey(node, key, true);
1353
+ prev[key] = classValue;
1354
1354
  }
1355
- return prev2;
1355
+ return prev;
1356
1356
  }
1357
- function style(node2, value, prev2) {
1357
+ function style(node, value, prev) {
1358
1358
  if (!value)
1359
- return prev2 ? setAttribute(node2, "style") : value;
1360
- const nodeStyle = node2.style;
1359
+ return prev ? setAttribute(node, "style") : value;
1360
+ const nodeStyle = node.style;
1361
1361
  if (typeof value === "string")
1362
1362
  return nodeStyle.cssText = value;
1363
- typeof prev2 === "string" && (nodeStyle.cssText = prev2 = void 0);
1364
- prev2 || (prev2 = {});
1363
+ typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
1364
+ prev || (prev = {});
1365
1365
  value || (value = {});
1366
- let v, s;
1367
- for (s in prev2) {
1368
- value[s] == null && nodeStyle.removeProperty(s);
1369
- delete prev2[s];
1370
- }
1371
- for (s in value) {
1372
- v = value[s];
1373
- if (v !== prev2[s]) {
1374
- nodeStyle.setProperty(s, v);
1375
- prev2[s] = v;
1366
+ let v, s2;
1367
+ for (s2 in prev) {
1368
+ value[s2] == null && nodeStyle.removeProperty(s2);
1369
+ delete prev[s2];
1370
+ }
1371
+ for (s2 in value) {
1372
+ v = value[s2];
1373
+ if (v !== prev[s2]) {
1374
+ nodeStyle.setProperty(s2, v);
1375
+ prev[s2] = v;
1376
1376
  }
1377
1377
  }
1378
- return prev2;
1378
+ return prev;
1379
1379
  }
1380
- function spread(node2, props = {}, isSVG, skipChildren) {
1380
+ function spread(node, props = {}, isSVG, skipChildren) {
1381
1381
  const prevProps = {};
1382
1382
  if (!skipChildren) {
1383
- createRenderEffect(() => prevProps.children = insertExpression(node2, props.children, prevProps.children));
1383
+ createRenderEffect(() => prevProps.children = insertExpression(node, props.children, prevProps.children));
1384
1384
  }
1385
- createRenderEffect(() => props.ref && props.ref(node2));
1386
- createRenderEffect(() => assign(node2, props, isSVG, true, prevProps, true));
1385
+ createRenderEffect(() => props.ref && props.ref(node));
1386
+ createRenderEffect(() => assign(node, props, isSVG, true, prevProps, true));
1387
1387
  return prevProps;
1388
1388
  }
1389
1389
  function use(fn, element, arg) {
@@ -1396,123 +1396,123 @@ function insert(parent, accessor, marker, initial) {
1396
1396
  return insertExpression(parent, accessor, initial, marker);
1397
1397
  createRenderEffect((current) => insertExpression(parent, accessor(), current, marker), initial);
1398
1398
  }
1399
- function assign(node2, props, isSVG, skipChildren, prevProps = {}, skipRef = false) {
1399
+ function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = false) {
1400
1400
  props || (props = {});
1401
1401
  for (const prop in prevProps) {
1402
1402
  if (!(prop in props)) {
1403
1403
  if (prop === "children")
1404
1404
  continue;
1405
- prevProps[prop] = assignProp(node2, prop, null, prevProps[prop], isSVG, skipRef);
1405
+ prevProps[prop] = assignProp(node, prop, null, prevProps[prop], isSVG, skipRef);
1406
1406
  }
1407
1407
  }
1408
1408
  for (const prop in props) {
1409
1409
  if (prop === "children") {
1410
1410
  if (!skipChildren)
1411
- insertExpression(node2, props.children);
1411
+ insertExpression(node, props.children);
1412
1412
  continue;
1413
1413
  }
1414
1414
  const value = props[prop];
1415
- prevProps[prop] = assignProp(node2, prop, value, prevProps[prop], isSVG, skipRef);
1415
+ prevProps[prop] = assignProp(node, prop, value, prevProps[prop], isSVG, skipRef);
1416
1416
  }
1417
1417
  }
1418
1418
  function toPropertyName(name) {
1419
1419
  return name.toLowerCase().replace(/-([a-z])/g, (_, w) => w.toUpperCase());
1420
1420
  }
1421
- function toggleClassKey(node2, key, value) {
1421
+ function toggleClassKey(node, key, value) {
1422
1422
  const classNames = key.trim().split(/\s+/);
1423
- for (let i = 0, nameLen = classNames.length; i < nameLen; i++)
1424
- node2.classList.toggle(classNames[i], value);
1423
+ for (let i2 = 0, nameLen = classNames.length; i2 < nameLen; i2++)
1424
+ node.classList.toggle(classNames[i2], value);
1425
1425
  }
1426
- function assignProp(node2, prop, value, prev2, isSVG, skipRef) {
1426
+ function assignProp(node, prop, value, prev, isSVG, skipRef) {
1427
1427
  let isCE, isProp, isChildProp, propAlias, forceProp;
1428
1428
  if (prop === "style")
1429
- return style(node2, value, prev2);
1429
+ return style(node, value, prev);
1430
1430
  if (prop === "classList")
1431
- return classList(node2, value, prev2);
1432
- if (value === prev2)
1433
- return prev2;
1431
+ return classList(node, value, prev);
1432
+ if (value === prev)
1433
+ return prev;
1434
1434
  if (prop === "ref") {
1435
1435
  if (!skipRef)
1436
- value(node2);
1436
+ value(node);
1437
1437
  } else if (prop.slice(0, 3) === "on:") {
1438
- const e = prop.slice(3);
1439
- prev2 && node2.removeEventListener(e, prev2);
1440
- value && node2.addEventListener(e, value);
1438
+ const e2 = prop.slice(3);
1439
+ prev && node.removeEventListener(e2, prev);
1440
+ value && node.addEventListener(e2, value);
1441
1441
  } else if (prop.slice(0, 10) === "oncapture:") {
1442
- const e = prop.slice(10);
1443
- prev2 && node2.removeEventListener(e, prev2, true);
1444
- value && node2.addEventListener(e, value, true);
1442
+ const e2 = prop.slice(10);
1443
+ prev && node.removeEventListener(e2, prev, true);
1444
+ value && node.addEventListener(e2, value, true);
1445
1445
  } else if (prop.slice(0, 2) === "on") {
1446
1446
  const name = prop.slice(2).toLowerCase();
1447
1447
  const delegate = DelegatedEvents.has(name);
1448
- if (!delegate && prev2) {
1449
- const h = Array.isArray(prev2) ? prev2[0] : prev2;
1450
- node2.removeEventListener(name, h);
1448
+ if (!delegate && prev) {
1449
+ const h2 = Array.isArray(prev) ? prev[0] : prev;
1450
+ node.removeEventListener(name, h2);
1451
1451
  }
1452
1452
  if (delegate || value) {
1453
- addEventListener(node2, name, value, delegate);
1453
+ addEventListener(node, name, value, delegate);
1454
1454
  delegate && delegateEvents([name]);
1455
1455
  }
1456
1456
  } else if (prop.slice(0, 5) === "attr:") {
1457
- setAttribute(node2, prop.slice(5), value);
1458
- } else if ((forceProp = prop.slice(0, 5) === "prop:") || (isChildProp = ChildProperties.has(prop)) || !isSVG && ((propAlias = getPropAlias(prop, node2.tagName)) || (isProp = Properties.has(prop))) || (isCE = node2.nodeName.includes("-"))) {
1457
+ setAttribute(node, prop.slice(5), value);
1458
+ } else if ((forceProp = prop.slice(0, 5) === "prop:") || (isChildProp = ChildProperties.has(prop)) || !isSVG && ((propAlias = getPropAlias(prop, node.tagName)) || (isProp = Properties.has(prop))) || (isCE = node.nodeName.includes("-"))) {
1459
1459
  if (forceProp) {
1460
1460
  prop = prop.slice(5);
1461
1461
  isProp = true;
1462
1462
  }
1463
1463
  if (prop === "class" || prop === "className")
1464
- className(node2, value);
1464
+ className(node, value);
1465
1465
  else if (isCE && !isProp && !isChildProp)
1466
- node2[toPropertyName(prop)] = value;
1466
+ node[toPropertyName(prop)] = value;
1467
1467
  else
1468
- node2[propAlias || prop] = value;
1468
+ node[propAlias || prop] = value;
1469
1469
  } else {
1470
1470
  const ns = isSVG && prop.indexOf(":") > -1 && SVGNamespace[prop.split(":")[0]];
1471
1471
  if (ns)
1472
- setAttributeNS(node2, ns, prop, value);
1472
+ setAttributeNS(node, ns, prop, value);
1473
1473
  else
1474
- setAttribute(node2, Aliases[prop] || prop, value);
1474
+ setAttribute(node, Aliases[prop] || prop, value);
1475
1475
  }
1476
1476
  return value;
1477
1477
  }
1478
- function eventHandler(e) {
1479
- const key = `$$${e.type}`;
1480
- let node2 = e.composedPath && e.composedPath()[0] || e.target;
1481
- if (e.target !== node2) {
1482
- Object.defineProperty(e, "target", {
1478
+ function eventHandler(e2) {
1479
+ const key = `$$${e2.type}`;
1480
+ let node = e2.composedPath && e2.composedPath()[0] || e2.target;
1481
+ if (e2.target !== node) {
1482
+ Object.defineProperty(e2, "target", {
1483
1483
  configurable: true,
1484
- value: node2
1484
+ value: node
1485
1485
  });
1486
1486
  }
1487
- Object.defineProperty(e, "currentTarget", {
1487
+ Object.defineProperty(e2, "currentTarget", {
1488
1488
  configurable: true,
1489
1489
  get() {
1490
- return node2 || document;
1490
+ return node || document;
1491
1491
  }
1492
1492
  });
1493
1493
  if (sharedConfig.registry && !sharedConfig.done)
1494
1494
  sharedConfig.done = _$HY.done = true;
1495
- while (node2) {
1496
- const handler = node2[key];
1497
- if (handler && !node2.disabled) {
1498
- const data = node2[`${key}Data`];
1499
- data !== void 0 ? handler.call(node2, data, e) : handler.call(node2, e);
1500
- if (e.cancelBubble)
1495
+ while (node) {
1496
+ const handler = node[key];
1497
+ if (handler && !node.disabled) {
1498
+ const data = node[`${key}Data`];
1499
+ data !== void 0 ? handler.call(node, data, e2) : handler.call(node, e2);
1500
+ if (e2.cancelBubble)
1501
1501
  return;
1502
1502
  }
1503
- node2 = node2._$host || node2.parentNode || node2.host;
1503
+ node = node._$host || node.parentNode || node.host;
1504
1504
  }
1505
1505
  }
1506
1506
  function insertExpression(parent, value, current, marker, unwrapArray) {
1507
1507
  if (sharedConfig.context) {
1508
1508
  !current && (current = [...parent.childNodes]);
1509
1509
  let cleaned = [];
1510
- for (let i = 0; i < current.length; i++) {
1511
- const node2 = current[i];
1512
- if (node2.nodeType === 8 && node2.data.slice(0, 2) === "!$")
1513
- node2.remove();
1510
+ for (let i2 = 0; i2 < current.length; i2++) {
1511
+ const node = current[i2];
1512
+ if (node.nodeType === 8 && node.data.slice(0, 2) === "!$")
1513
+ node.remove();
1514
1514
  else
1515
- cleaned.push(node2);
1515
+ cleaned.push(node);
1516
1516
  }
1517
1517
  current = cleaned;
1518
1518
  }
@@ -1520,31 +1520,31 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
1520
1520
  current = current();
1521
1521
  if (value === current)
1522
1522
  return current;
1523
- const t = typeof value, multi = marker !== void 0;
1523
+ const t2 = typeof value, multi = marker !== void 0;
1524
1524
  parent = multi && current[0] && current[0].parentNode || parent;
1525
- if (t === "string" || t === "number") {
1525
+ if (t2 === "string" || t2 === "number") {
1526
1526
  if (sharedConfig.context)
1527
1527
  return current;
1528
- if (t === "number")
1528
+ if (t2 === "number")
1529
1529
  value = value.toString();
1530
1530
  if (multi) {
1531
- let node2 = current[0];
1532
- if (node2 && node2.nodeType === 3) {
1533
- node2.data = value;
1531
+ let node = current[0];
1532
+ if (node && node.nodeType === 3) {
1533
+ node.data = value;
1534
1534
  } else
1535
- node2 = document.createTextNode(value);
1536
- current = cleanChildren(parent, current, marker, node2);
1535
+ node = document.createTextNode(value);
1536
+ current = cleanChildren(parent, current, marker, node);
1537
1537
  } else {
1538
1538
  if (current !== "" && typeof current === "string") {
1539
1539
  current = parent.firstChild.data = value;
1540
1540
  } else
1541
1541
  current = parent.textContent = value;
1542
1542
  }
1543
- } else if (value == null || t === "boolean") {
1543
+ } else if (value == null || t2 === "boolean") {
1544
1544
  if (sharedConfig.context)
1545
1545
  return current;
1546
1546
  current = cleanChildren(parent, current, marker);
1547
- } else if (t === "function") {
1547
+ } else if (t2 === "function") {
1548
1548
  createRenderEffect(() => {
1549
1549
  let v = value();
1550
1550
  while (typeof v === "function")
@@ -1562,8 +1562,8 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
1562
1562
  if (sharedConfig.context) {
1563
1563
  if (!array.length)
1564
1564
  return current;
1565
- for (let i = 0; i < array.length; i++) {
1566
- if (array[i].parentNode)
1565
+ for (let i2 = 0; i2 < array.length; i2++) {
1566
+ if (array[i2].parentNode)
1567
1567
  return current = array;
1568
1568
  }
1569
1569
  }
@@ -1599,27 +1599,27 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
1599
1599
  }
1600
1600
  function normalizeIncomingArray(normalized, array, current, unwrap) {
1601
1601
  let dynamic = false;
1602
- for (let i = 0, len = array.length; i < len; i++) {
1603
- let item = array[i], prev2 = current && current[i], t;
1602
+ for (let i2 = 0, len = array.length; i2 < len; i2++) {
1603
+ let item = array[i2], prev = current && current[i2], t2;
1604
1604
  if (item == null || item === true || item === false)
1605
1605
  ;
1606
- else if ((t = typeof item) === "object" && item.nodeType) {
1606
+ else if ((t2 = typeof item) === "object" && item.nodeType) {
1607
1607
  normalized.push(item);
1608
1608
  } else if (Array.isArray(item)) {
1609
- dynamic = normalizeIncomingArray(normalized, item, prev2) || dynamic;
1610
- } else if (t === "function") {
1609
+ dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
1610
+ } else if (t2 === "function") {
1611
1611
  if (unwrap) {
1612
1612
  while (typeof item === "function")
1613
1613
  item = item();
1614
- dynamic = normalizeIncomingArray(normalized, Array.isArray(item) ? item : [item], Array.isArray(prev2) ? prev2 : [prev2]) || dynamic;
1614
+ dynamic = normalizeIncomingArray(normalized, Array.isArray(item) ? item : [item], Array.isArray(prev) ? prev : [prev]) || dynamic;
1615
1615
  } else {
1616
1616
  normalized.push(item);
1617
1617
  dynamic = true;
1618
1618
  }
1619
1619
  } else {
1620
1620
  const value = String(item);
1621
- if (prev2 && prev2.nodeType === 3 && prev2.data === value)
1622
- normalized.push(prev2);
1621
+ if (prev && prev.nodeType === 3 && prev.data === value)
1622
+ normalized.push(prev);
1623
1623
  else
1624
1624
  normalized.push(document.createTextNode(value));
1625
1625
  }
@@ -1627,29 +1627,29 @@ function normalizeIncomingArray(normalized, array, current, unwrap) {
1627
1627
  return dynamic;
1628
1628
  }
1629
1629
  function appendNodes(parent, array, marker = null) {
1630
- for (let i = 0, len = array.length; i < len; i++)
1631
- parent.insertBefore(array[i], marker);
1630
+ for (let i2 = 0, len = array.length; i2 < len; i2++)
1631
+ parent.insertBefore(array[i2], marker);
1632
1632
  }
1633
1633
  function cleanChildren(parent, current, marker, replacement) {
1634
1634
  if (marker === void 0)
1635
1635
  return parent.textContent = "";
1636
- const node2 = replacement || document.createTextNode("");
1636
+ const node = replacement || document.createTextNode("");
1637
1637
  if (current.length) {
1638
1638
  let inserted = false;
1639
- for (let i = current.length - 1; i >= 0; i--) {
1640
- const el = current[i];
1641
- if (node2 !== el) {
1639
+ for (let i2 = current.length - 1; i2 >= 0; i2--) {
1640
+ const el = current[i2];
1641
+ if (node !== el) {
1642
1642
  const isParent = el.parentNode === parent;
1643
- if (!inserted && !i)
1644
- isParent ? parent.replaceChild(node2, el) : parent.insertBefore(node2, marker);
1643
+ if (!inserted && !i2)
1644
+ isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
1645
1645
  else
1646
1646
  isParent && el.remove();
1647
1647
  } else
1648
1648
  inserted = true;
1649
1649
  }
1650
1650
  } else
1651
- parent.insertBefore(node2, marker);
1652
- return [node2];
1651
+ parent.insertBefore(node, marker);
1652
+ return [node];
1653
1653
  }
1654
1654
  var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGNamespace, $$EVENTS, isServer;
1655
1655
  var init_web = __esm({
@@ -1700,8 +1700,8 @@ var init_web = __esm({
1700
1700
 
1701
1701
  // ../../node_modules/.pnpm/@tanstack+match-sorter-utils@8.8.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
1702
1702
  function removeAccents(str) {
1703
- return str.replace(allAccents, (match2) => {
1704
- return characterMap[match2];
1703
+ return str.replace(allAccents, (match) => {
1704
+ return characterMap[match];
1705
1705
  });
1706
1706
  }
1707
1707
  function rankItem(item, value, options) {
@@ -1727,8 +1727,8 @@ function rankItem(item, value, options) {
1727
1727
  accessorThreshold: options.threshold,
1728
1728
  passed: false
1729
1729
  };
1730
- for (let i = 0; i < valuesToRank.length; i++) {
1731
- const rankValue = valuesToRank[i];
1730
+ for (let i2 = 0; i2 < valuesToRank.length; i2++) {
1731
+ const rankValue = valuesToRank[i2];
1732
1732
  let newRank = getMatchRanking(rankValue.itemValue, value, options);
1733
1733
  const {
1734
1734
  minRanking,
@@ -1744,7 +1744,7 @@ function rankItem(item, value, options) {
1744
1744
  if (newRank >= threshold && newRank > rankingInfo.rank) {
1745
1745
  rankingInfo.rank = newRank;
1746
1746
  rankingInfo.passed = true;
1747
- rankingInfo.accessorIndex = i;
1747
+ rankingInfo.accessorIndex = i2;
1748
1748
  rankingInfo.accessorThreshold = threshold;
1749
1749
  rankingInfo.rankedValue = rankValue.itemValue;
1750
1750
  }
@@ -1816,8 +1816,8 @@ function getClosenessRanking(testString, stringToRank) {
1816
1816
  return rankings.NO_MATCH;
1817
1817
  }
1818
1818
  charNumber = firstIndex;
1819
- for (let i = 1, I = stringToRank.length; i < I; i++) {
1820
- const matchChar = stringToRank[i];
1819
+ for (let i2 = 1, I = stringToRank.length; i2 < I; i2++) {
1820
+ const matchChar = stringToRank[i2];
1821
1821
  charNumber = findMatchingCharacter(matchChar, testString, charNumber);
1822
1822
  const found = charNumber > -1;
1823
1823
  if (!found) {
@@ -1857,9 +1857,9 @@ function getAllValuesToRank(item, accessors) {
1857
1857
  const accessor = accessors[j];
1858
1858
  const attributes = getAccessorAttributes(accessor);
1859
1859
  const itemValues = getItemValues(item, accessor);
1860
- for (let i = 0, I = itemValues.length; i < I; i++) {
1860
+ for (let i2 = 0, I = itemValues.length; i2 < I; i2++) {
1861
1861
  allValues.push({
1862
- itemValue: itemValues[i],
1862
+ itemValue: itemValues[i2],
1863
1863
  attributes
1864
1864
  });
1865
1865
  }
@@ -2298,1284 +2298,92 @@ var init_lib = __esm({
2298
2298
  }
2299
2299
  });
2300
2300
 
2301
- // ../../node_modules/.pnpm/@emotion+sheet@1.2.2/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js
2302
- function sheetForTag(tag) {
2303
- if (tag.sheet) {
2304
- return tag.sheet;
2305
- }
2306
- for (var i = 0; i < document.styleSheets.length; i++) {
2307
- if (document.styleSheets[i].ownerNode === tag) {
2308
- return document.styleSheets[i];
2309
- }
2310
- }
2311
- }
2312
- function createStyleElement(options) {
2313
- var tag = document.createElement("style");
2314
- tag.setAttribute("data-emotion", options.key);
2315
- if (options.nonce !== void 0) {
2316
- tag.setAttribute("nonce", options.nonce);
2317
- }
2318
- tag.appendChild(document.createTextNode(""));
2319
- tag.setAttribute("data-s", "");
2320
- return tag;
2321
- }
2322
- var StyleSheet;
2323
- var init_emotion_sheet_browser_esm = __esm({
2324
- "../../node_modules/.pnpm/@emotion+sheet@1.2.2/node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js"() {
2325
- StyleSheet = /* @__PURE__ */ function() {
2326
- function StyleSheet2(options) {
2327
- var _this = this;
2328
- this._insertTag = function(tag) {
2329
- var before;
2330
- if (_this.tags.length === 0) {
2331
- if (_this.insertionPoint) {
2332
- before = _this.insertionPoint.nextSibling;
2333
- } else if (_this.prepend) {
2334
- before = _this.container.firstChild;
2335
- } else {
2336
- before = _this.before;
2337
- }
2338
- } else {
2339
- before = _this.tags[_this.tags.length - 1].nextSibling;
2340
- }
2341
- _this.container.insertBefore(tag, before);
2342
- _this.tags.push(tag);
2343
- };
2344
- this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
2345
- this.tags = [];
2346
- this.ctr = 0;
2347
- this.nonce = options.nonce;
2348
- this.key = options.key;
2349
- this.container = options.container;
2350
- this.prepend = options.prepend;
2351
- this.insertionPoint = options.insertionPoint;
2352
- this.before = null;
2353
- }
2354
- var _proto = StyleSheet2.prototype;
2355
- _proto.hydrate = function hydrate2(nodes) {
2356
- nodes.forEach(this._insertTag);
2357
- };
2358
- _proto.insert = function insert2(rule) {
2359
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
2360
- this._insertTag(createStyleElement(this));
2361
- }
2362
- var tag = this.tags[this.tags.length - 1];
2363
- if (this.isSpeedy) {
2364
- var sheet2 = sheetForTag(tag);
2365
- try {
2366
- sheet2.insertRule(rule, sheet2.cssRules.length);
2367
- } catch (e) {
2368
- }
2369
- } else {
2370
- tag.appendChild(document.createTextNode(rule));
2371
- }
2372
- this.ctr++;
2373
- };
2374
- _proto.flush = function flush2() {
2375
- this.tags.forEach(function(tag) {
2376
- return tag.parentNode && tag.parentNode.removeChild(tag);
2377
- });
2378
- this.tags = [];
2379
- this.ctr = 0;
2380
- };
2381
- return StyleSheet2;
2382
- }();
2383
- }
2384
- });
2385
-
2386
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js
2387
- var MS, MOZ, WEBKIT, COMMENT, RULESET, DECLARATION, IMPORT, KEYFRAMES, LAYER;
2388
- var init_Enum = __esm({
2389
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js"() {
2390
- MS = "-ms-";
2391
- MOZ = "-moz-";
2392
- WEBKIT = "-webkit-";
2393
- COMMENT = "comm";
2394
- RULESET = "rule";
2395
- DECLARATION = "decl";
2396
- IMPORT = "@import";
2397
- KEYFRAMES = "@keyframes";
2398
- LAYER = "@layer";
2399
- }
2400
- });
2401
-
2402
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js
2403
- function hash(value, length2) {
2404
- return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
2405
- }
2406
- function trim(value) {
2407
- return value.trim();
2408
- }
2409
- function match(value, pattern) {
2410
- return (value = pattern.exec(value)) ? value[0] : value;
2411
- }
2412
- function replace(value, pattern, replacement) {
2413
- return value.replace(pattern, replacement);
2414
- }
2415
- function indexof(value, search) {
2416
- return value.indexOf(search);
2417
- }
2418
- function charat(value, index) {
2419
- return value.charCodeAt(index) | 0;
2420
- }
2421
- function substr(value, begin, end) {
2422
- return value.slice(begin, end);
2423
- }
2424
- function strlen(value) {
2425
- return value.length;
2426
- }
2427
- function sizeof(value) {
2428
- return value.length;
2429
- }
2430
- function append(value, array) {
2431
- return array.push(value), value;
2432
- }
2433
- function combine(array, callback) {
2434
- return array.map(callback).join("");
2435
- }
2436
- var abs, from, assign2;
2437
- var init_Utility = __esm({
2438
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js"() {
2439
- abs = Math.abs;
2440
- from = String.fromCharCode;
2441
- assign2 = Object.assign;
2442
- }
2443
- });
2444
-
2445
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js
2446
- function node(value, root, parent, type, props, children2, length2) {
2447
- return { value, root, parent, type, props, children: children2, line, column, length: length2, return: "" };
2448
- }
2449
- function copy(root, props) {
2450
- return assign2(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
2451
- }
2452
- function char() {
2453
- return character;
2454
- }
2455
- function prev() {
2456
- character = position > 0 ? charat(characters, --position) : 0;
2457
- if (column--, character === 10)
2458
- column = 1, line--;
2459
- return character;
2460
- }
2461
- function next() {
2462
- character = position < length ? charat(characters, position++) : 0;
2463
- if (column++, character === 10)
2464
- column = 1, line++;
2465
- return character;
2466
- }
2467
- function peek() {
2468
- return charat(characters, position);
2469
- }
2470
- function caret() {
2471
- return position;
2472
- }
2473
- function slice(begin, end) {
2474
- return substr(characters, begin, end);
2475
- }
2476
- function token(type) {
2477
- switch (type) {
2478
- case 0:
2479
- case 9:
2480
- case 10:
2481
- case 13:
2482
- case 32:
2483
- return 5;
2484
- case 33:
2485
- case 43:
2486
- case 44:
2487
- case 47:
2488
- case 62:
2489
- case 64:
2490
- case 126:
2491
- case 59:
2492
- case 123:
2493
- case 125:
2494
- return 4;
2495
- case 58:
2496
- return 3;
2497
- case 34:
2498
- case 39:
2499
- case 40:
2500
- case 91:
2501
- return 2;
2502
- case 41:
2503
- case 93:
2504
- return 1;
2505
- }
2506
- return 0;
2507
- }
2508
- function alloc(value) {
2509
- return line = column = 1, length = strlen(characters = value), position = 0, [];
2510
- }
2511
- function dealloc(value) {
2512
- return characters = "", value;
2513
- }
2514
- function delimit(type) {
2515
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
2516
- }
2517
- function whitespace(type) {
2518
- while (character = peek())
2519
- if (character < 33)
2520
- next();
2521
- else
2522
- break;
2523
- return token(type) > 2 || token(character) > 3 ? "" : " ";
2524
- }
2525
- function escaping(index, count) {
2526
- while (--count && next())
2527
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
2528
- break;
2529
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
2530
- }
2531
- function delimiter(type) {
2532
- while (next())
2533
- switch (character) {
2534
- case type:
2535
- return position;
2536
- case 34:
2537
- case 39:
2538
- if (type !== 34 && type !== 39)
2539
- delimiter(character);
2540
- break;
2541
- case 40:
2542
- if (type === 41)
2543
- delimiter(type);
2544
- break;
2545
- case 92:
2546
- next();
2547
- break;
2548
- }
2549
- return position;
2550
- }
2551
- function commenter(type, index) {
2552
- while (next())
2553
- if (type + character === 47 + 10)
2554
- break;
2555
- else if (type + character === 42 + 42 && peek() === 47)
2556
- break;
2557
- return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
2558
- }
2559
- function identifier(index) {
2560
- while (!token(peek()))
2561
- next();
2562
- return slice(index, position);
2563
- }
2564
- var line, column, length, position, character, characters;
2565
- var init_Tokenizer = __esm({
2566
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js"() {
2567
- init_Utility();
2568
- line = 1;
2569
- column = 1;
2570
- length = 0;
2571
- position = 0;
2572
- character = 0;
2573
- characters = "";
2574
- }
2575
- });
2576
-
2577
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js
2578
- function compile(value) {
2579
- return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
2580
- }
2581
- function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
2582
- var index = 0;
2583
- var offset = 0;
2584
- var length2 = pseudo;
2585
- var atrule = 0;
2586
- var property = 0;
2587
- var previous = 0;
2588
- var variable = 1;
2589
- var scanning = 1;
2590
- var ampersand = 1;
2591
- var character2 = 0;
2592
- var type = "";
2593
- var props = rules;
2594
- var children2 = rulesets;
2595
- var reference = rule;
2596
- var characters2 = type;
2597
- while (scanning)
2598
- switch (previous = character2, character2 = next()) {
2599
- case 40:
2600
- if (previous != 108 && charat(characters2, length2 - 1) == 58) {
2601
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
2602
- ampersand = -1;
2603
- break;
2604
- }
2605
- case 34:
2606
- case 39:
2607
- case 91:
2608
- characters2 += delimit(character2);
2609
- break;
2610
- case 9:
2611
- case 10:
2612
- case 13:
2613
- case 32:
2614
- characters2 += whitespace(previous);
2615
- break;
2616
- case 92:
2617
- characters2 += escaping(caret() - 1, 7);
2618
- continue;
2619
- case 47:
2620
- switch (peek()) {
2621
- case 42:
2622
- case 47:
2623
- append(comment(commenter(next(), caret()), root, parent), declarations);
2624
- break;
2625
- default:
2626
- characters2 += "/";
2627
- }
2628
- break;
2629
- case 123 * variable:
2630
- points[index++] = strlen(characters2) * ampersand;
2631
- case 125 * variable:
2632
- case 59:
2633
- case 0:
2634
- switch (character2) {
2635
- case 0:
2636
- case 125:
2637
- scanning = 0;
2638
- case 59 + offset:
2639
- if (ampersand == -1)
2640
- characters2 = replace(characters2, /\f/g, "");
2641
- if (property > 0 && strlen(characters2) - length2)
2642
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
2643
- break;
2644
- case 59:
2645
- characters2 += ";";
2646
- default:
2647
- append(reference = ruleset(characters2, root, parent, index, offset, rules, points, type, props = [], children2 = [], length2), rulesets);
2648
- if (character2 === 123)
2649
- if (offset === 0)
2650
- parse(characters2, root, reference, reference, props, rulesets, length2, points, children2);
2651
- else
2652
- switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
2653
- case 100:
2654
- case 108:
2655
- case 109:
2656
- case 115:
2657
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children2), rules, children2, length2, points, rule ? props : children2);
2658
- break;
2659
- default:
2660
- parse(characters2, reference, reference, reference, [""], children2, 0, points, children2);
2661
- }
2662
- }
2663
- index = offset = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
2664
- break;
2665
- case 58:
2666
- length2 = 1 + strlen(characters2), property = previous;
2667
- default:
2668
- if (variable < 1) {
2669
- if (character2 == 123)
2670
- --variable;
2671
- else if (character2 == 125 && variable++ == 0 && prev() == 125)
2672
- continue;
2673
- }
2674
- switch (characters2 += from(character2), character2 * variable) {
2675
- case 38:
2676
- ampersand = offset > 0 ? 1 : (characters2 += "\f", -1);
2677
- break;
2678
- case 44:
2679
- points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
2680
- break;
2681
- case 64:
2682
- if (peek() === 45)
2683
- characters2 += delimit(next());
2684
- atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
2685
- break;
2686
- case 45:
2687
- if (previous === 45 && strlen(characters2) == 2)
2688
- variable = 0;
2689
- }
2690
- }
2691
- return rulesets;
2692
- }
2693
- function ruleset(value, root, parent, index, offset, rules, points, type, props, children2, length2) {
2694
- var post = offset - 1;
2695
- var rule = offset === 0 ? rules : [""];
2696
- var size = sizeof(rule);
2697
- for (var i = 0, j = 0, k = 0; i < index; ++i)
2698
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
2699
- if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
2700
- props[k++] = z;
2701
- return node(value, root, parent, offset === 0 ? RULESET : type, props, children2, length2);
2702
- }
2703
- function comment(value, root, parent) {
2704
- return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
2705
- }
2706
- function declaration(value, root, parent, length2) {
2707
- return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
2708
- }
2709
- var init_Parser = __esm({
2710
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js"() {
2711
- init_Enum();
2712
- init_Utility();
2713
- init_Tokenizer();
2714
- }
2715
- });
2716
-
2717
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Prefixer.js
2718
- var init_Prefixer = __esm({
2719
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Prefixer.js"() {
2720
- }
2721
- });
2722
-
2723
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js
2724
- function serialize(children2, callback) {
2725
- var output = "";
2726
- var length2 = sizeof(children2);
2727
- for (var i = 0; i < length2; i++)
2728
- output += callback(children2[i], i, children2, callback) || "";
2729
- return output;
2730
- }
2731
- function stringify(element, index, children2, callback) {
2732
- switch (element.type) {
2733
- case LAYER:
2734
- if (element.children.length)
2735
- break;
2736
- case IMPORT:
2737
- case DECLARATION:
2738
- return element.return = element.return || element.value;
2739
- case COMMENT:
2740
- return "";
2741
- case KEYFRAMES:
2742
- return element.return = element.value + "{" + serialize(element.children, callback) + "}";
2743
- case RULESET:
2744
- element.value = element.props.join(",");
2745
- }
2746
- return strlen(children2 = serialize(element.children, callback)) ? element.return = element.value + "{" + children2 + "}" : "";
2747
- }
2748
- var init_Serializer = __esm({
2749
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js"() {
2750
- init_Enum();
2751
- init_Utility();
2752
- }
2753
- });
2754
-
2755
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js
2756
- function middleware(collection) {
2757
- var length2 = sizeof(collection);
2758
- return function(element, index, children2, callback) {
2759
- var output = "";
2760
- for (var i = 0; i < length2; i++)
2761
- output += collection[i](element, index, children2, callback) || "";
2762
- return output;
2763
- };
2764
- }
2765
- function rulesheet(callback) {
2766
- return function(element) {
2767
- if (!element.root) {
2768
- if (element = element.return)
2769
- callback(element);
2770
- }
2771
- };
2772
- }
2773
- var init_Middleware = __esm({
2774
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js"() {
2775
- init_Utility();
2776
- }
2777
- });
2778
-
2779
- // ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/index.js
2780
- var init_stylis = __esm({
2781
- "../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/index.js"() {
2782
- init_Enum();
2783
- init_Utility();
2784
- init_Parser();
2785
- init_Prefixer();
2786
- init_Tokenizer();
2787
- init_Serializer();
2788
- init_Middleware();
2789
- }
2790
- });
2791
-
2792
- // ../../node_modules/.pnpm/@emotion+weak-memoize@0.3.1/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
2793
- var init_emotion_weak_memoize_esm = __esm({
2794
- "../../node_modules/.pnpm/@emotion+weak-memoize@0.3.1/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js"() {
2795
- }
2796
- });
2797
-
2798
- // ../../node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
2799
- function memoize(fn) {
2800
- var cache2 = /* @__PURE__ */ Object.create(null);
2801
- return function(arg) {
2802
- if (cache2[arg] === void 0)
2803
- cache2[arg] = fn(arg);
2804
- return cache2[arg];
2805
- };
2806
- }
2807
- var init_emotion_memoize_esm = __esm({
2808
- "../../node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"() {
2809
- }
2810
- });
2811
-
2812
- // ../../node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
2813
- function prefix(value, length2) {
2814
- switch (hash(value, length2)) {
2815
- case 5103:
2816
- return WEBKIT + "print-" + value + value;
2817
- case 5737:
2818
- case 4201:
2819
- case 3177:
2820
- case 3433:
2821
- case 1641:
2822
- case 4457:
2823
- case 2921:
2824
- case 5572:
2825
- case 6356:
2826
- case 5844:
2827
- case 3191:
2828
- case 6645:
2829
- case 3005:
2830
- case 6391:
2831
- case 5879:
2832
- case 5623:
2833
- case 6135:
2834
- case 4599:
2835
- case 4855:
2836
- case 4215:
2837
- case 6389:
2838
- case 5109:
2839
- case 5365:
2840
- case 5621:
2841
- case 3829:
2842
- return WEBKIT + value + value;
2843
- case 5349:
2844
- case 4246:
2845
- case 4810:
2846
- case 6968:
2847
- case 2756:
2848
- return WEBKIT + value + MOZ + value + MS + value + value;
2849
- case 6828:
2850
- case 4268:
2851
- return WEBKIT + value + MS + value + value;
2852
- case 6165:
2853
- return WEBKIT + value + MS + "flex-" + value + value;
2854
- case 5187:
2855
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
2856
- case 5443:
2857
- return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
2858
- case 4675:
2859
- return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
2860
- case 5548:
2861
- return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
2862
- case 5292:
2863
- return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
2864
- case 6060:
2865
- return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
2866
- case 4554:
2867
- return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
2868
- case 6187:
2869
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
2870
- case 5495:
2871
- case 3959:
2872
- return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
2873
- case 4968:
2874
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
2875
- case 4095:
2876
- case 3583:
2877
- case 4068:
2878
- case 2532:
2879
- return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
2880
- case 8116:
2881
- case 7059:
2882
- case 5753:
2883
- case 5535:
2884
- case 5445:
2885
- case 5701:
2886
- case 4933:
2887
- case 4677:
2888
- case 5533:
2889
- case 5789:
2890
- case 5021:
2891
- case 4765:
2892
- if (strlen(value) - 1 - length2 > 6)
2893
- switch (charat(value, length2 + 1)) {
2894
- case 109:
2895
- if (charat(value, length2 + 4) !== 45)
2896
- break;
2897
- case 102:
2898
- return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
2899
- case 115:
2900
- return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
2901
- }
2902
- break;
2903
- case 4949:
2904
- if (charat(value, length2 + 1) !== 115)
2905
- break;
2906
- case 6444:
2907
- switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
2908
- case 107:
2909
- return replace(value, ":", ":" + WEBKIT) + value;
2910
- case 101:
2911
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
2912
- }
2913
- break;
2914
- case 5936:
2915
- switch (charat(value, length2 + 11)) {
2916
- case 114:
2917
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
2918
- case 108:
2919
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
2920
- case 45:
2921
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
2922
- }
2923
- return WEBKIT + value + MS + value + value;
2924
- }
2925
- return value;
2926
- }
2927
- var identifierWithPointTracking, toRules, getRules, fixedElements, compat, removeLabel, prefixer, defaultStylisPlugins, createCache;
2928
- var init_emotion_cache_browser_esm = __esm({
2929
- "../../node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js"() {
2930
- init_emotion_sheet_browser_esm();
2931
- init_stylis();
2932
- init_emotion_weak_memoize_esm();
2933
- init_emotion_memoize_esm();
2934
- identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
2935
- var previous = 0;
2936
- var character2 = 0;
2937
- while (true) {
2938
- previous = character2;
2939
- character2 = peek();
2940
- if (previous === 38 && character2 === 12) {
2941
- points[index] = 1;
2942
- }
2943
- if (token(character2)) {
2944
- break;
2945
- }
2946
- next();
2947
- }
2948
- return slice(begin, position);
2301
+ // ../../node_modules/.pnpm/goober@2.1.13_csstype@3.1.2/node_modules/goober/dist/goober.modern.js
2302
+ function u(e2) {
2303
+ let r2 = this || {}, l2 = e2.call ? e2(r2.p) : e2;
2304
+ return i(l2.unshift ? l2.raw ? p(l2, [].slice.call(arguments, 1), r2.p) : l2.reduce((e3, t2) => Object.assign(e3, t2 && t2.call ? t2(r2.p) : t2), {}) : l2, t(r2.target), r2.g, r2.o, r2.k);
2305
+ }
2306
+ var e, t, l, a, n, o, c, s, i, p;
2307
+ var init_goober_modern = __esm({
2308
+ "../../node_modules/.pnpm/goober@2.1.13_csstype@3.1.2/node_modules/goober/dist/goober.modern.js"() {
2309
+ e = { data: "" };
2310
+ t = (t2) => "object" == typeof window ? ((t2 ? t2.querySelector("#_goober") : window._goober) || Object.assign((t2 || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : t2 || e;
2311
+ l = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
2312
+ a = /\/\*[^]*?\*\/| +/g;
2313
+ n = /\n+/g;
2314
+ o = (e2, t2) => {
2315
+ let r2 = "", l2 = "", a2 = "";
2316
+ for (let n2 in e2) {
2317
+ let c2 = e2[n2];
2318
+ "@" == n2[0] ? "i" == n2[1] ? r2 = n2 + " " + c2 + ";" : l2 += "f" == n2[1] ? o(c2, n2) : n2 + "{" + o(c2, "k" == n2[1] ? "" : t2) + "}" : "object" == typeof c2 ? l2 += o(c2, t2 ? t2.replace(/([^,])+/g, (e3) => n2.replace(/(^:.*)|([^,])+/g, (t3) => /&/.test(t3) ? t3.replace(/&/g, e3) : e3 ? e3 + " " + t3 : t3)) : n2) : null != c2 && (n2 = /^--/.test(n2) ? n2 : n2.replace(/[A-Z]/g, "-$&").toLowerCase(), a2 += o.p ? o.p(n2, c2) : n2 + ":" + c2 + ";");
2319
+ }
2320
+ return r2 + (t2 && a2 ? t2 + "{" + a2 + "}" : a2) + l2;
2949
2321
  };
2950
- toRules = function toRules2(parsed, points) {
2951
- var index = -1;
2952
- var character2 = 44;
2953
- do {
2954
- switch (token(character2)) {
2955
- case 0:
2956
- if (character2 === 38 && peek() === 12) {
2957
- points[index] = 1;
2958
- }
2959
- parsed[index] += identifierWithPointTracking(position - 1, points, index);
2960
- break;
2961
- case 2:
2962
- parsed[index] += delimit(character2);
2963
- break;
2964
- case 4:
2965
- if (character2 === 44) {
2966
- parsed[++index] = peek() === 58 ? "&\f" : "";
2967
- points[index] = parsed[index].length;
2968
- break;
2969
- }
2970
- default:
2971
- parsed[index] += from(character2);
2972
- }
2973
- } while (character2 = next());
2974
- return parsed;
2322
+ c = {};
2323
+ s = (e2) => {
2324
+ if ("object" == typeof e2) {
2325
+ let t2 = "";
2326
+ for (let r2 in e2)
2327
+ t2 += r2 + s(e2[r2]);
2328
+ return t2;
2329
+ }
2330
+ return e2;
2975
2331
  };
2976
- getRules = function getRules2(value, points) {
2977
- return dealloc(toRules(alloc(value), points));
2332
+ i = (e2, t2, r2, i2, p2) => {
2333
+ let u2 = s(e2), d = c[u2] || (c[u2] = ((e3) => {
2334
+ let t3 = 0, r3 = 11;
2335
+ for (; t3 < e3.length; )
2336
+ r3 = 101 * r3 + e3.charCodeAt(t3++) >>> 0;
2337
+ return "go" + r3;
2338
+ })(u2));
2339
+ if (!c[d]) {
2340
+ let t3 = u2 !== e2 ? e2 : ((e3) => {
2341
+ let t4, r3, o2 = [{}];
2342
+ for (; t4 = l.exec(e3.replace(a, "")); )
2343
+ 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();
2344
+ return o2[0];
2345
+ })(e2);
2346
+ c[d] = o(p2 ? { ["@keyframes " + d]: t3 } : t3, r2 ? "" : "." + d);
2347
+ }
2348
+ let f = r2 && c.g ? c.g : null;
2349
+ return r2 && (c.g = c[d]), ((e3, t3, r3, l2) => {
2350
+ l2 ? t3.data = t3.data.replace(l2, e3) : -1 === t3.data.indexOf(e3) && (t3.data = r3 ? e3 + t3.data : t3.data + e3);
2351
+ })(c[d], t2, i2, f), d;
2978
2352
  };
2979
- fixedElements = /* @__PURE__ */ new WeakMap();
2980
- compat = function compat2(element) {
2981
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
2982
- // negative .length indicates that this rule has been already prefixed
2983
- element.length < 1) {
2984
- return;
2985
- }
2986
- var value = element.value, parent = element.parent;
2987
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
2988
- while (parent.type !== "rule") {
2989
- parent = parent.parent;
2990
- if (!parent)
2991
- return;
2992
- }
2993
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
2994
- return;
2995
- }
2996
- if (isImplicitRule) {
2997
- return;
2998
- }
2999
- fixedElements.set(element, true);
3000
- var points = [];
3001
- var rules = getRules(value, points);
3002
- var parentRules = parent.props;
3003
- for (var i = 0, k = 0; i < rules.length; i++) {
3004
- for (var j = 0; j < parentRules.length; j++, k++) {
3005
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
3006
- }
3007
- }
3008
- };
3009
- removeLabel = function removeLabel2(element) {
3010
- if (element.type === "decl") {
3011
- var value = element.value;
3012
- if (
3013
- // charcode for l
3014
- value.charCodeAt(0) === 108 && // charcode for b
3015
- value.charCodeAt(2) === 98
3016
- ) {
3017
- element["return"] = "";
3018
- element.value = "";
3019
- }
3020
- }
3021
- };
3022
- prefixer = function prefixer2(element, index, children2, callback) {
3023
- if (element.length > -1) {
3024
- if (!element["return"])
3025
- switch (element.type) {
3026
- case DECLARATION:
3027
- element["return"] = prefix(element.value, element.length);
3028
- break;
3029
- case KEYFRAMES:
3030
- return serialize([copy(element, {
3031
- value: replace(element.value, "@", "@" + WEBKIT)
3032
- })], callback);
3033
- case RULESET:
3034
- if (element.length)
3035
- return combine(element.props, function(value) {
3036
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
3037
- case ":read-only":
3038
- case ":read-write":
3039
- return serialize([copy(element, {
3040
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
3041
- })], callback);
3042
- case "::placeholder":
3043
- return serialize([copy(element, {
3044
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
3045
- }), copy(element, {
3046
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
3047
- }), copy(element, {
3048
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
3049
- })], callback);
3050
- }
3051
- return "";
3052
- });
3053
- }
3054
- }
3055
- };
3056
- defaultStylisPlugins = [prefixer];
3057
- createCache = function createCache2(options) {
3058
- var key = options.key;
3059
- if (key === "css") {
3060
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
3061
- Array.prototype.forEach.call(ssrStyles, function(node2) {
3062
- var dataEmotionAttribute = node2.getAttribute("data-emotion");
3063
- if (dataEmotionAttribute.indexOf(" ") === -1) {
3064
- return;
3065
- }
3066
- document.head.appendChild(node2);
3067
- node2.setAttribute("data-s", "");
3068
- });
3069
- }
3070
- var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
3071
- var inserted = {};
3072
- var container;
3073
- var nodesToHydrate = [];
3074
- {
3075
- container = options.container || document.head;
3076
- Array.prototype.forEach.call(
3077
- // this means we will ignore elements which don't have a space in them which
3078
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
3079
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
3080
- function(node2) {
3081
- var attrib = node2.getAttribute("data-emotion").split(" ");
3082
- for (var i = 1; i < attrib.length; i++) {
3083
- inserted[attrib[i]] = true;
3084
- }
3085
- nodesToHydrate.push(node2);
3086
- }
3087
- );
2353
+ p = (e2, t2, r2) => e2.reduce((e3, l2, a2) => {
2354
+ let n2 = t2[a2];
2355
+ if (n2 && n2.call) {
2356
+ let e4 = n2(r2), t3 = e4 && e4.props && e4.props.className || /^go/.test(e4) && e4;
2357
+ n2 = t3 ? "." + t3 : e4 && "object" == typeof e4 ? e4.props ? "" : o(e4, "") : false === e4 ? "" : e4;
3088
2358
  }
3089
- var _insert;
3090
- var omnipresentPlugins = [compat, removeLabel];
3091
- {
3092
- var currentSheet;
3093
- var finalizingPlugins = [stringify, rulesheet(function(rule) {
3094
- currentSheet.insert(rule);
3095
- })];
3096
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
3097
- var stylis = function stylis2(styles) {
3098
- return serialize(compile(styles), serializer);
3099
- };
3100
- _insert = function insert2(selector, serialized, sheet2, shouldCache) {
3101
- currentSheet = sheet2;
3102
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
3103
- if (shouldCache) {
3104
- cache2.inserted[serialized.name] = true;
3105
- }
3106
- };
3107
- }
3108
- var cache2 = {
3109
- key,
3110
- sheet: new StyleSheet({
3111
- key,
3112
- container,
3113
- nonce: options.nonce,
3114
- speedy: options.speedy,
3115
- prepend: options.prepend,
3116
- insertionPoint: options.insertionPoint
3117
- }),
3118
- nonce: options.nonce,
3119
- inserted,
3120
- registered: {},
3121
- insert: _insert
3122
- };
3123
- cache2.sheet.hydrate(nodesToHydrate);
3124
- return cache2;
3125
- };
3126
- }
3127
- });
3128
-
3129
- // ../../node_modules/.pnpm/@emotion+hash@0.9.1/node_modules/@emotion/hash/dist/emotion-hash.esm.js
3130
- function murmur2(str) {
3131
- var h = 0;
3132
- var k, i = 0, len = str.length;
3133
- for (; len >= 4; ++i, len -= 4) {
3134
- k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
3135
- k = /* Math.imul(k, m): */
3136
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
3137
- k ^= /* k >>> r: */
3138
- k >>> 24;
3139
- h = /* Math.imul(k, m): */
3140
- (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
3141
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
3142
- }
3143
- switch (len) {
3144
- case 3:
3145
- h ^= (str.charCodeAt(i + 2) & 255) << 16;
3146
- case 2:
3147
- h ^= (str.charCodeAt(i + 1) & 255) << 8;
3148
- case 1:
3149
- h ^= str.charCodeAt(i) & 255;
3150
- h = /* Math.imul(h, m): */
3151
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
3152
- }
3153
- h ^= h >>> 13;
3154
- h = /* Math.imul(h, m): */
3155
- (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
3156
- return ((h ^ h >>> 15) >>> 0).toString(36);
3157
- }
3158
- var init_emotion_hash_esm = __esm({
3159
- "../../node_modules/.pnpm/@emotion+hash@0.9.1/node_modules/@emotion/hash/dist/emotion-hash.esm.js"() {
3160
- }
3161
- });
3162
-
3163
- // ../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
3164
- var unitlessKeys;
3165
- var init_emotion_unitless_esm = __esm({
3166
- "../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"() {
3167
- unitlessKeys = {
3168
- animationIterationCount: 1,
3169
- aspectRatio: 1,
3170
- borderImageOutset: 1,
3171
- borderImageSlice: 1,
3172
- borderImageWidth: 1,
3173
- boxFlex: 1,
3174
- boxFlexGroup: 1,
3175
- boxOrdinalGroup: 1,
3176
- columnCount: 1,
3177
- columns: 1,
3178
- flex: 1,
3179
- flexGrow: 1,
3180
- flexPositive: 1,
3181
- flexShrink: 1,
3182
- flexNegative: 1,
3183
- flexOrder: 1,
3184
- gridRow: 1,
3185
- gridRowEnd: 1,
3186
- gridRowSpan: 1,
3187
- gridRowStart: 1,
3188
- gridColumn: 1,
3189
- gridColumnEnd: 1,
3190
- gridColumnSpan: 1,
3191
- gridColumnStart: 1,
3192
- msGridRow: 1,
3193
- msGridRowSpan: 1,
3194
- msGridColumn: 1,
3195
- msGridColumnSpan: 1,
3196
- fontWeight: 1,
3197
- lineHeight: 1,
3198
- opacity: 1,
3199
- order: 1,
3200
- orphans: 1,
3201
- tabSize: 1,
3202
- widows: 1,
3203
- zIndex: 1,
3204
- zoom: 1,
3205
- WebkitLineClamp: 1,
3206
- // SVG-related properties
3207
- fillOpacity: 1,
3208
- floodOpacity: 1,
3209
- stopOpacity: 1,
3210
- strokeDasharray: 1,
3211
- strokeDashoffset: 1,
3212
- strokeMiterlimit: 1,
3213
- strokeOpacity: 1,
3214
- strokeWidth: 1
3215
- };
2359
+ return e3 + l2 + (null == n2 ? "" : n2);
2360
+ }, "");
2361
+ u.bind({ g: 1 });
2362
+ u.bind({ k: 1 });
3216
2363
  }
3217
2364
  });
3218
2365
 
3219
- // ../../node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
3220
- function handleInterpolation(mergedProps, registered, interpolation) {
3221
- if (interpolation == null) {
3222
- return "";
3223
- }
3224
- if (interpolation.__emotion_styles !== void 0) {
3225
- return interpolation;
3226
- }
3227
- switch (typeof interpolation) {
3228
- case "boolean": {
3229
- return "";
3230
- }
3231
- case "object": {
3232
- if (interpolation.anim === 1) {
3233
- cursor = {
3234
- name: interpolation.name,
3235
- styles: interpolation.styles,
3236
- next: cursor
3237
- };
3238
- return interpolation.name;
3239
- }
3240
- if (interpolation.styles !== void 0) {
3241
- var next2 = interpolation.next;
3242
- if (next2 !== void 0) {
3243
- while (next2 !== void 0) {
3244
- cursor = {
3245
- name: next2.name,
3246
- styles: next2.styles,
3247
- next: cursor
3248
- };
3249
- next2 = next2.next;
3250
- }
3251
- }
3252
- var styles = interpolation.styles + ";";
3253
- return styles;
3254
- }
3255
- return createStringFromObject(mergedProps, registered, interpolation);
3256
- }
3257
- case "function": {
3258
- if (mergedProps !== void 0) {
3259
- var previousCursor = cursor;
3260
- var result = interpolation(mergedProps);
3261
- cursor = previousCursor;
3262
- return handleInterpolation(mergedProps, registered, result);
3263
- }
3264
- break;
3265
- }
3266
- }
3267
- if (registered == null) {
3268
- return interpolation;
3269
- }
3270
- var cached = registered[interpolation];
3271
- return cached !== void 0 ? cached : interpolation;
2366
+ // ../../node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs
2367
+ function r(e2) {
2368
+ var t2, f, n2 = "";
2369
+ if ("string" == typeof e2 || "number" == typeof e2)
2370
+ n2 += e2;
2371
+ else if ("object" == typeof e2)
2372
+ if (Array.isArray(e2))
2373
+ for (t2 = 0; t2 < e2.length; t2++)
2374
+ e2[t2] && (f = r(e2[t2])) && (n2 && (n2 += " "), n2 += f);
2375
+ else
2376
+ for (t2 in e2)
2377
+ e2[t2] && (n2 && (n2 += " "), n2 += t2);
2378
+ return n2;
3272
2379
  }
3273
- function createStringFromObject(mergedProps, registered, obj) {
3274
- var string = "";
3275
- if (Array.isArray(obj)) {
3276
- for (var i = 0; i < obj.length; i++) {
3277
- string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
3278
- }
3279
- } else {
3280
- for (var _key in obj) {
3281
- var value = obj[_key];
3282
- if (typeof value !== "object") {
3283
- if (registered != null && registered[value] !== void 0) {
3284
- string += _key + "{" + registered[value] + "}";
3285
- } else if (isProcessableValue(value)) {
3286
- string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
3287
- }
3288
- } else {
3289
- if (_key === "NO_COMPONENT_SELECTOR" && false) {
3290
- throw new Error(noComponentSelectorMessage);
3291
- }
3292
- if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
3293
- for (var _i = 0; _i < value.length; _i++) {
3294
- if (isProcessableValue(value[_i])) {
3295
- string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
3296
- }
3297
- }
3298
- } else {
3299
- var interpolated = handleInterpolation(mergedProps, registered, value);
3300
- switch (_key) {
3301
- case "animation":
3302
- case "animationName": {
3303
- string += processStyleName(_key) + ":" + interpolated + ";";
3304
- break;
3305
- }
3306
- default: {
3307
- string += _key + "{" + interpolated + "}";
3308
- }
3309
- }
3310
- }
3311
- }
3312
- }
3313
- }
3314
- return string;
3315
- }
3316
- var hyphenateRegex, animationRegex, isCustomProperty, isProcessableValue, processStyleName, processStyleValue, labelPattern, cursor, serializeStyles;
3317
- var init_emotion_serialize_browser_esm = __esm({
3318
- "../../node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js"() {
3319
- init_emotion_hash_esm();
3320
- init_emotion_unitless_esm();
3321
- init_emotion_memoize_esm();
3322
- hyphenateRegex = /[A-Z]|^ms/g;
3323
- animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
3324
- isCustomProperty = function isCustomProperty2(property) {
3325
- return property.charCodeAt(1) === 45;
3326
- };
3327
- isProcessableValue = function isProcessableValue2(value) {
3328
- return value != null && typeof value !== "boolean";
3329
- };
3330
- processStyleName = /* @__PURE__ */ memoize(function(styleName) {
3331
- return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
3332
- });
3333
- processStyleValue = function processStyleValue2(key, value) {
3334
- switch (key) {
3335
- case "animation":
3336
- case "animationName": {
3337
- if (typeof value === "string") {
3338
- return value.replace(animationRegex, function(match2, p1, p2) {
3339
- cursor = {
3340
- name: p1,
3341
- styles: p2,
3342
- next: cursor
3343
- };
3344
- return p1;
3345
- });
3346
- }
3347
- }
3348
- }
3349
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
3350
- return value + "px";
3351
- }
3352
- return value;
3353
- };
3354
- labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
3355
- serializeStyles = function serializeStyles2(args, registered, mergedProps) {
3356
- if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
3357
- return args[0];
3358
- }
3359
- var stringMode = true;
3360
- var styles = "";
3361
- cursor = void 0;
3362
- var strings = args[0];
3363
- if (strings == null || strings.raw === void 0) {
3364
- stringMode = false;
3365
- styles += handleInterpolation(mergedProps, registered, strings);
3366
- } else {
3367
- styles += strings[0];
3368
- }
3369
- for (var i = 1; i < args.length; i++) {
3370
- styles += handleInterpolation(mergedProps, registered, args[i]);
3371
- if (stringMode) {
3372
- styles += strings[i];
3373
- }
3374
- }
3375
- labelPattern.lastIndex = 0;
3376
- var identifierName = "";
3377
- var match2;
3378
- while ((match2 = labelPattern.exec(styles)) !== null) {
3379
- identifierName += "-" + // $FlowFixMe we know it's not null
3380
- match2[1];
3381
- }
3382
- var name = murmur2(styles) + identifierName;
3383
- return {
3384
- name,
3385
- styles,
3386
- next: cursor
3387
- };
3388
- };
3389
- }
3390
- });
3391
-
3392
- // ../../node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
3393
- function getRegisteredStyles(registered, registeredStyles, classNames) {
3394
- var rawClassName = "";
3395
- classNames.split(" ").forEach(function(className2) {
3396
- if (registered[className2] !== void 0) {
3397
- registeredStyles.push(registered[className2] + ";");
3398
- } else {
3399
- rawClassName += className2 + " ";
3400
- }
3401
- });
3402
- return rawClassName;
3403
- }
3404
- var isBrowser, registerStyles, insertStyles;
3405
- var init_emotion_utils_browser_esm = __esm({
3406
- "../../node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"() {
3407
- isBrowser = true;
3408
- registerStyles = function registerStyles2(cache2, serialized, isStringTag) {
3409
- var className2 = cache2.key + "-" + serialized.name;
3410
- if (
3411
- // we only need to add the styles to the registered cache if the
3412
- // class name could be used further down
3413
- // the tree but if it's a string tag, we know it won't
3414
- // so we don't have to add it to registered cache.
3415
- // this improves memory usage since we can avoid storing the whole style string
3416
- (isStringTag === false || // we need to always store it if we're in compat mode and
3417
- // in node since emotion-server relies on whether a style is in
3418
- // the registered cache to know whether a style is global or not
3419
- // also, note that this check will be dead code eliminated in the browser
3420
- isBrowser === false) && cache2.registered[className2] === void 0
3421
- ) {
3422
- cache2.registered[className2] = serialized.styles;
3423
- }
3424
- };
3425
- insertStyles = function insertStyles2(cache2, serialized, isStringTag) {
3426
- registerStyles(cache2, serialized, isStringTag);
3427
- var className2 = cache2.key + "-" + serialized.name;
3428
- if (cache2.inserted[serialized.name] === void 0) {
3429
- var current = serialized;
3430
- do {
3431
- cache2.insert(serialized === current ? "." + className2 : "", current, cache2.sheet, true);
3432
- current = current.next;
3433
- } while (current !== void 0);
3434
- }
3435
- };
3436
- }
3437
- });
3438
-
3439
- // ../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
3440
- function insertWithoutScoping(cache2, serialized) {
3441
- if (cache2.inserted[serialized.name] === void 0) {
3442
- return cache2.insert("", serialized, cache2.sheet, true);
3443
- }
3444
- }
3445
- function merge(registered, css2, className2) {
3446
- var registeredStyles = [];
3447
- var rawClassName = getRegisteredStyles(registered, registeredStyles, className2);
3448
- if (registeredStyles.length < 2) {
3449
- return className2;
3450
- }
3451
- return rawClassName + css2(registeredStyles);
3452
- }
3453
- var createEmotion, classnames;
3454
- var init_emotion_css_create_instance_esm = __esm({
3455
- "../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js"() {
3456
- init_emotion_cache_browser_esm();
3457
- init_emotion_serialize_browser_esm();
3458
- init_emotion_utils_browser_esm();
3459
- createEmotion = function createEmotion2(options) {
3460
- var cache2 = createCache(options);
3461
- cache2.sheet.speedy = function(value) {
3462
- this.isSpeedy = value;
3463
- };
3464
- cache2.compat = true;
3465
- var css2 = function css3() {
3466
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3467
- args[_key] = arguments[_key];
3468
- }
3469
- var serialized = serializeStyles(args, cache2.registered, void 0);
3470
- insertStyles(cache2, serialized, false);
3471
- return cache2.key + "-" + serialized.name;
3472
- };
3473
- var keyframes2 = function keyframes3() {
3474
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
3475
- args[_key2] = arguments[_key2];
3476
- }
3477
- var serialized = serializeStyles(args, cache2.registered);
3478
- var animation = "animation-" + serialized.name;
3479
- insertWithoutScoping(cache2, {
3480
- name: serialized.name,
3481
- styles: "@keyframes " + animation + "{" + serialized.styles + "}"
3482
- });
3483
- return animation;
3484
- };
3485
- var injectGlobal2 = function injectGlobal3() {
3486
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
3487
- args[_key3] = arguments[_key3];
3488
- }
3489
- var serialized = serializeStyles(args, cache2.registered);
3490
- insertWithoutScoping(cache2, serialized);
3491
- };
3492
- var cx2 = function cx3() {
3493
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
3494
- args[_key4] = arguments[_key4];
3495
- }
3496
- return merge(cache2.registered, css2, classnames(args));
3497
- };
3498
- return {
3499
- css: css2,
3500
- cx: cx2,
3501
- injectGlobal: injectGlobal2,
3502
- keyframes: keyframes2,
3503
- hydrate: function hydrate2(ids) {
3504
- ids.forEach(function(key) {
3505
- cache2.inserted[key] = true;
3506
- });
3507
- },
3508
- flush: function flush2() {
3509
- cache2.registered = {};
3510
- cache2.inserted = {};
3511
- cache2.sheet.flush();
3512
- },
3513
- // $FlowFixMe
3514
- sheet: cache2.sheet,
3515
- cache: cache2,
3516
- getRegisteredStyles: getRegisteredStyles.bind(null, cache2.registered),
3517
- merge: merge.bind(null, cache2.registered, css2)
3518
- };
3519
- };
3520
- classnames = function classnames2(args) {
3521
- var cls = "";
3522
- for (var i = 0; i < args.length; i++) {
3523
- var arg = args[i];
3524
- if (arg == null)
3525
- continue;
3526
- var toAdd = void 0;
3527
- switch (typeof arg) {
3528
- case "boolean":
3529
- break;
3530
- case "object": {
3531
- if (Array.isArray(arg)) {
3532
- toAdd = classnames2(arg);
3533
- } else {
3534
- toAdd = "";
3535
- for (var k in arg) {
3536
- if (arg[k] && k) {
3537
- toAdd && (toAdd += " ");
3538
- toAdd += k;
3539
- }
3540
- }
3541
- }
3542
- break;
3543
- }
3544
- default: {
3545
- toAdd = arg;
3546
- }
3547
- }
3548
- if (toAdd) {
3549
- cls && (cls += " ");
3550
- cls += toAdd;
3551
- }
3552
- }
3553
- return cls;
3554
- };
3555
- }
3556
- });
3557
-
3558
- // ../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/dist/emotion-css.esm.js
3559
- var _createEmotion, cx, css;
3560
- var init_emotion_css_esm = __esm({
3561
- "../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/dist/emotion-css.esm.js"() {
3562
- init_emotion_css_create_instance_esm();
3563
- init_emotion_cache_browser_esm();
3564
- init_emotion_serialize_browser_esm();
3565
- init_emotion_utils_browser_esm();
3566
- _createEmotion = createEmotion({
3567
- key: "css"
3568
- });
3569
- _createEmotion.flush;
3570
- _createEmotion.hydrate;
3571
- cx = _createEmotion.cx;
3572
- _createEmotion.merge;
3573
- _createEmotion.getRegisteredStyles;
3574
- _createEmotion.injectGlobal;
3575
- _createEmotion.keyframes;
3576
- css = _createEmotion.css;
3577
- _createEmotion.sheet;
3578
- _createEmotion.cache;
2380
+ function clsx() {
2381
+ for (var e2, t2, f = 0, n2 = ""; f < arguments.length; )
2382
+ (e2 = arguments[f++]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
2383
+ return n2;
2384
+ }
2385
+ var init_clsx = __esm({
2386
+ "../../node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs"() {
3579
2387
  }
3580
2388
  });
3581
2389
 
@@ -3583,8 +2391,8 @@ var init_emotion_css_esm = __esm({
3583
2391
  function createListTransition(source, options) {
3584
2392
  const initSource = untrack(source);
3585
2393
  if (isServer) {
3586
- const copy3 = initSource.slice();
3587
- return () => copy3;
2394
+ const copy2 = initSource.slice();
2395
+ return () => copy2;
3588
2396
  }
3589
2397
  const { onChange } = options;
3590
2398
  let prevSet = new Set(options.appear ? void 0 : initSource);
@@ -3592,29 +2400,29 @@ function createListTransition(source, options) {
3592
2400
  const [toRemove, setToRemove] = createSignal([], { equals: false });
3593
2401
  const [isTransitionPending] = useTransition();
3594
2402
  const finishRemoved = options.exitMethod === "remove" ? noop : (els) => {
3595
- setToRemove((p) => (p.push.apply(p, els), p));
2403
+ setToRemove((p2) => (p2.push.apply(p2, els), p2));
3596
2404
  for (const el of els)
3597
2405
  exiting.delete(el);
3598
2406
  };
3599
- const handleRemoved = options.exitMethod === "remove" ? noop : options.exitMethod === "keep-index" ? (els, el, i) => els.splice(i, 0, el) : (els, el) => els.push(el);
2407
+ const handleRemoved = options.exitMethod === "remove" ? noop : options.exitMethod === "keep-index" ? (els, el, i2) => els.splice(i2, 0, el) : (els, el) => els.push(el);
3600
2408
  return createMemo(
3601
- (prev2) => {
2409
+ (prev) => {
3602
2410
  const elsToRemove = toRemove();
3603
2411
  const sourceList = source();
3604
2412
  sourceList[$TRACK];
3605
2413
  if (untrack(isTransitionPending)) {
3606
2414
  isTransitionPending();
3607
- return prev2;
2415
+ return prev;
3608
2416
  }
3609
2417
  if (elsToRemove.length) {
3610
- const next2 = prev2.filter((e) => !elsToRemove.includes(e));
2418
+ const next = prev.filter((e2) => !elsToRemove.includes(e2));
3611
2419
  elsToRemove.length = 0;
3612
- onChange({ list: next2, added: [], removed: [], unchanged: next2, finishRemoved });
3613
- return next2;
2420
+ onChange({ list: next, added: [], removed: [], unchanged: next, finishRemoved });
2421
+ return next;
3614
2422
  }
3615
2423
  return untrack(() => {
3616
2424
  const nextSet = new Set(sourceList);
3617
- const next2 = sourceList.slice();
2425
+ const next = sourceList.slice();
3618
2426
  const added = [];
3619
2427
  const removed = [];
3620
2428
  const unchanged = [];
@@ -3622,23 +2430,23 @@ function createListTransition(source, options) {
3622
2430
  (prevSet.has(el) ? unchanged : added).push(el);
3623
2431
  }
3624
2432
  let nothingChanged = !added.length;
3625
- for (let i = 0; i < prev2.length; i++) {
3626
- const el = prev2[i];
2433
+ for (let i2 = 0; i2 < prev.length; i2++) {
2434
+ const el = prev[i2];
3627
2435
  if (!nextSet.has(el)) {
3628
2436
  if (!exiting.has(el)) {
3629
2437
  removed.push(el);
3630
2438
  exiting.add(el);
3631
2439
  }
3632
- handleRemoved(next2, el, i);
2440
+ handleRemoved(next, el, i2);
3633
2441
  }
3634
- if (nothingChanged && el !== next2[i])
2442
+ if (nothingChanged && el !== next[i2])
3635
2443
  nothingChanged = false;
3636
2444
  }
3637
2445
  if (!removed.length && nothingChanged)
3638
- return prev2;
3639
- onChange({ list: next2, added, removed, unchanged, finishRemoved });
2446
+ return prev;
2447
+ onChange({ list: next, added, removed, unchanged, finishRemoved });
3640
2448
  prevSet = nextSet;
3641
- return next2;
2449
+ return next;
3642
2450
  });
3643
2451
  },
3644
2452
  options.appear ? [] : initSource.slice()
@@ -3655,34 +2463,34 @@ var init_dist = __esm({
3655
2463
  });
3656
2464
 
3657
2465
  // ../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/chunk/APG4HSEJ.js
3658
- function handleDiffArray(current, prev2, handleAdded, handleRemoved) {
2466
+ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
3659
2467
  const currLength = current.length;
3660
- const prevLength = prev2.length;
3661
- let i = 0;
2468
+ const prevLength = prev.length;
2469
+ let i2 = 0;
3662
2470
  if (!prevLength) {
3663
- for (; i < currLength; i++)
3664
- handleAdded(current[i]);
2471
+ for (; i2 < currLength; i2++)
2472
+ handleAdded(current[i2]);
3665
2473
  return;
3666
2474
  }
3667
2475
  if (!currLength) {
3668
- for (; i < prevLength; i++)
3669
- handleRemoved(prev2[i]);
2476
+ for (; i2 < prevLength; i2++)
2477
+ handleRemoved(prev[i2]);
3670
2478
  return;
3671
2479
  }
3672
- for (; i < prevLength; i++) {
3673
- if (prev2[i] !== current[i])
2480
+ for (; i2 < prevLength; i2++) {
2481
+ if (prev[i2] !== current[i2])
3674
2482
  break;
3675
2483
  }
3676
2484
  let prevEl;
3677
2485
  let currEl;
3678
- prev2 = prev2.slice(i);
3679
- current = current.slice(i);
3680
- for (prevEl of prev2) {
2486
+ prev = prev.slice(i2);
2487
+ current = current.slice(i2);
2488
+ for (prevEl of prev) {
3681
2489
  if (!current.includes(prevEl))
3682
2490
  handleRemoved(prevEl);
3683
2491
  }
3684
2492
  for (currEl of current) {
3685
- if (!prev2.includes(currEl))
2493
+ if (!prev.includes(currEl))
3686
2494
  handleAdded(currEl);
3687
2495
  }
3688
2496
  }
@@ -3690,7 +2498,7 @@ var noop2, isNonNullable, filterNonNullable, access, asArray;
3690
2498
  var init_APG4HSEJ = __esm({
3691
2499
  "../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/chunk/APG4HSEJ.js"() {
3692
2500
  noop2 = () => void 0;
3693
- isNonNullable = (i) => i != null;
2501
+ isNonNullable = (i2) => i2 != null;
3694
2502
  filterNonNullable = (arr) => arr.filter(isNonNullable);
3695
2503
  access = (v) => typeof v === "function" && !v.length ? v() : v;
3696
2504
  asArray = (value) => Array.isArray(value) ? value : value ? [value] : [];
@@ -3759,8 +2567,8 @@ function createClassnames(props) {
3759
2567
  function nextFrame(fn) {
3760
2568
  requestAnimationFrame(() => requestAnimationFrame(fn));
3761
2569
  }
3762
- function enterTransition(classnames3, events, el, done) {
3763
- const { enterClasses, enterActiveClasses, enterToClasses } = classnames3, { onBeforeEnter, onEnter, onAfterEnter } = events;
2570
+ function enterTransition(classnames, events, el, done) {
2571
+ const { enterClasses, enterActiveClasses, enterToClasses } = classnames, { onBeforeEnter, onEnter, onAfterEnter } = events;
3764
2572
  onBeforeEnter?.(el);
3765
2573
  el.classList.add(...enterClasses);
3766
2574
  el.classList.add(...enterActiveClasses);
@@ -3777,8 +2585,8 @@ function enterTransition(classnames3, events, el, done) {
3777
2585
  el.addEventListener("animationend", endTransition);
3778
2586
  }
3779
2587
  });
3780
- function endTransition(e) {
3781
- if (!e || e.target === el) {
2588
+ function endTransition(e2) {
2589
+ if (!e2 || e2.target === el) {
3782
2590
  done?.();
3783
2591
  el.removeEventListener("transitionend", endTransition);
3784
2592
  el.removeEventListener("animationend", endTransition);
@@ -3788,8 +2596,8 @@ function enterTransition(classnames3, events, el, done) {
3788
2596
  }
3789
2597
  }
3790
2598
  }
3791
- function exitTransition(classnames3, events, el, done) {
3792
- const { exitClasses, exitActiveClasses, exitToClasses } = classnames3, { onBeforeExit, onExit, onAfterExit } = events;
2599
+ function exitTransition(classnames, events, el, done) {
2600
+ const { exitClasses, exitActiveClasses, exitToClasses } = classnames, { onBeforeExit, onExit, onAfterExit } = events;
3793
2601
  if (!el.parentNode)
3794
2602
  return done?.();
3795
2603
  onBeforeExit?.(el);
@@ -3804,8 +2612,8 @@ function exitTransition(classnames3, events, el, done) {
3804
2612
  el.addEventListener("animationend", endTransition);
3805
2613
  }
3806
2614
  });
3807
- function endTransition(e) {
3808
- if (!e || e.target === el) {
2615
+ function endTransition(e2) {
2616
+ if (!e2 || e2.target === el) {
3809
2617
  done?.();
3810
2618
  el.removeEventListener("transitionend", endTransition);
3811
2619
  el.removeEventListener("animationend", endTransition);
@@ -3822,12 +2630,12 @@ var init_dist3 = __esm({
3822
2630
  init_dist();
3823
2631
  init_dist2();
3824
2632
  TransitionGroup = (props) => {
3825
- const classnames3 = createClassnames(props);
2633
+ const classnames = createClassnames(props);
3826
2634
  return createListTransition(resolveElements(() => props.children).toArray, {
3827
2635
  appear: props.appear,
3828
2636
  exitMethod: "keep-index",
3829
2637
  onChange({ added, removed, finishRemoved, list }) {
3830
- const classes = classnames3();
2638
+ const classes = classnames();
3831
2639
  for (const el of added) {
3832
2640
  enterTransition(classes, props, el);
3833
2641
  }
@@ -3851,8 +2659,8 @@ var init_dist3 = __esm({
3851
2659
  }
3852
2660
  document.body.offsetHeight;
3853
2661
  for (const el of moved) {
3854
- let endTransition2 = function(e) {
3855
- if (e.target === el || /transform$/.test(e.propertyName)) {
2662
+ let endTransition2 = function(e2) {
2663
+ if (e2.target === el || /transform$/.test(e2.propertyName)) {
3856
2664
  el.removeEventListener("transitionend", endTransition2);
3857
2665
  el.classList.remove(...classes.moveClasses);
3858
2666
  }
@@ -3873,86 +2681,86 @@ var init_dist3 = __esm({
3873
2681
 
3874
2682
  // ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.7.8/node_modules/@solid-primitives/keyed/dist/index.js
3875
2683
  function dispose2(list) {
3876
- for (const o of list)
3877
- o.dispose();
2684
+ for (const o2 of list)
2685
+ o2.dispose();
3878
2686
  }
3879
2687
  function keyArray(items, keyFn, mapFn, options = {}) {
3880
2688
  if (isServer) {
3881
2689
  const itemsRef = items();
3882
- let s = [];
2690
+ let s2 = [];
3883
2691
  if (itemsRef && itemsRef.length) {
3884
- for (let i = 0, len = itemsRef.length; i < len; i++)
3885
- s.push(
2692
+ for (let i2 = 0, len = itemsRef.length; i2 < len; i2++)
2693
+ s2.push(
3886
2694
  mapFn(
3887
- () => itemsRef[i],
3888
- () => i
2695
+ () => itemsRef[i2],
2696
+ () => i2
3889
2697
  )
3890
2698
  );
3891
2699
  } else if (options.fallback)
3892
- s = [options.fallback()];
3893
- return () => s;
2700
+ s2 = [options.fallback()];
2701
+ return () => s2;
3894
2702
  }
3895
- const prev2 = /* @__PURE__ */ new Map();
3896
- onCleanup(() => dispose2(prev2.values()));
2703
+ const prev = /* @__PURE__ */ new Map();
2704
+ onCleanup(() => dispose2(prev.values()));
3897
2705
  return () => {
3898
2706
  const list = items() || [];
3899
2707
  list[$TRACK];
3900
2708
  return untrack(() => {
3901
2709
  if (!list.length) {
3902
- dispose2(prev2.values());
3903
- prev2.clear();
2710
+ dispose2(prev.values());
2711
+ prev.clear();
3904
2712
  if (!options.fallback)
3905
2713
  return [];
3906
2714
  const fb2 = createRoot((dispose22) => {
3907
- prev2.set(FALLBACK2, { dispose: dispose22 });
2715
+ prev.set(FALLBACK2, { dispose: dispose22 });
3908
2716
  return options.fallback();
3909
2717
  });
3910
2718
  return [fb2];
3911
2719
  }
3912
2720
  const result = new Array(list.length);
3913
- const fb = prev2.get(FALLBACK2);
3914
- if (!prev2.size || fb) {
2721
+ const fb = prev.get(FALLBACK2);
2722
+ if (!prev.size || fb) {
3915
2723
  fb?.dispose();
3916
- prev2.delete(FALLBACK2);
3917
- for (let i = 0; i < list.length; i++) {
3918
- const item = list[i];
3919
- const key = keyFn(item, i);
3920
- addNewItem(result, item, i, key);
2724
+ prev.delete(FALLBACK2);
2725
+ for (let i2 = 0; i2 < list.length; i2++) {
2726
+ const item = list[i2];
2727
+ const key = keyFn(item, i2);
2728
+ addNewItem(result, item, i2, key);
3921
2729
  }
3922
2730
  return result;
3923
2731
  }
3924
- const prevKeys = new Set(prev2.keys());
3925
- for (let i = 0; i < list.length; i++) {
3926
- const item = list[i];
3927
- const key = keyFn(item, i);
2732
+ const prevKeys = new Set(prev.keys());
2733
+ for (let i2 = 0; i2 < list.length; i2++) {
2734
+ const item = list[i2];
2735
+ const key = keyFn(item, i2);
3928
2736
  prevKeys.delete(key);
3929
- const lookup2 = prev2.get(key);
2737
+ const lookup2 = prev.get(key);
3930
2738
  if (lookup2) {
3931
- result[i] = lookup2.mapped;
3932
- lookup2.setIndex?.(i);
2739
+ result[i2] = lookup2.mapped;
2740
+ lookup2.setIndex?.(i2);
3933
2741
  lookup2.setItem(() => item);
3934
2742
  } else
3935
- addNewItem(result, item, i, key);
2743
+ addNewItem(result, item, i2, key);
3936
2744
  }
3937
2745
  for (const key of prevKeys) {
3938
- prev2.get(key)?.dispose();
3939
- prev2.delete(key);
2746
+ prev.get(key)?.dispose();
2747
+ prev.delete(key);
3940
2748
  }
3941
2749
  return result;
3942
2750
  });
3943
2751
  };
3944
- function addNewItem(list, item, i, key) {
2752
+ function addNewItem(list, item, i2, key) {
3945
2753
  createRoot((dispose22) => {
3946
2754
  const [getItem, setItem] = createSignal(item);
3947
2755
  const save = { setItem, dispose: dispose22 };
3948
2756
  if (mapFn.length > 1) {
3949
- const [index, setIndex] = createSignal(i);
2757
+ const [index, setIndex] = createSignal(i2);
3950
2758
  save.setIndex = setIndex;
3951
2759
  save.mapped = mapFn(getItem, index);
3952
2760
  } else
3953
2761
  save.mapped = mapFn(getItem);
3954
- prev2.set(key, save);
3955
- list[i] = save.mapped;
2762
+ prev.set(key, save);
2763
+ list[i2] = save.mapped;
3956
2764
  });
3957
2765
  }
3958
2766
  }
@@ -3986,27 +2794,27 @@ function createStorage(props) {
3986
2794
  setError(err instanceof Error ? err : new Error(fallback));
3987
2795
  };
3988
2796
  const apis = props?.api ? Array.isArray(props.api) ? props.api : [props.api] : [globalThis.localStorage].filter(Boolean);
3989
- const prefix2 = props?.prefix ? `${props.prefix}.` : "";
2797
+ const prefix = props?.prefix ? `${props.prefix}.` : "";
3990
2798
  const signals = /* @__PURE__ */ new Map();
3991
2799
  const store = new Proxy(
3992
2800
  {},
3993
2801
  {
3994
2802
  get(_, key) {
3995
- let node2 = signals.get(key);
3996
- if (!node2) {
3997
- node2 = createSignal(void 0, { equals: false });
3998
- signals.set(key, node2);
2803
+ let node = signals.get(key);
2804
+ if (!node) {
2805
+ node = createSignal(void 0, { equals: false });
2806
+ signals.set(key, node);
3999
2807
  }
4000
- node2[0]();
2808
+ node[0]();
4001
2809
  const value = apis.reduce(
4002
2810
  (result, api) => {
4003
2811
  if (result !== null || !api) {
4004
2812
  return result;
4005
2813
  }
4006
2814
  try {
4007
- return api.getItem(`${prefix2}${key}`);
2815
+ return api.getItem(`${prefix}${key}`);
4008
2816
  } catch (err) {
4009
- handleError2(err, `Error reading ${prefix2}${key} from ${api["name"]}`);
2817
+ handleError2(err, `Error reading ${prefix}${key} from ${api["name"]}`);
4010
2818
  return null;
4011
2819
  }
4012
2820
  },
@@ -4021,22 +2829,22 @@ function createStorage(props) {
4021
2829
  );
4022
2830
  const setter = (key, value, options) => {
4023
2831
  const filteredValue = props?.serializer ? props.serializer(value, key, options ?? props.options) : value;
4024
- const apiKey = `${prefix2}${key}`;
2832
+ const apiKey = `${prefix}${key}`;
4025
2833
  apis.forEach((api) => {
4026
2834
  try {
4027
2835
  api.getItem(apiKey) !== filteredValue && api.setItem(apiKey, filteredValue);
4028
2836
  } catch (err) {
4029
- handleError2(err, `Error setting ${prefix2}${key} to ${filteredValue} in ${api.name}`);
2837
+ handleError2(err, `Error setting ${prefix}${key} to ${filteredValue} in ${api.name}`);
4030
2838
  }
4031
2839
  });
4032
- const node2 = signals.get(key);
4033
- node2 && node2[1]();
2840
+ const node = signals.get(key);
2841
+ node && node[1]();
4034
2842
  };
4035
2843
  const remove = (key) => apis.forEach((api) => {
4036
2844
  try {
4037
- api.removeItem(`${prefix2}${key}`);
2845
+ api.removeItem(`${prefix}${key}`);
4038
2846
  } catch (err) {
4039
- handleError2(err, `Error removing ${prefix2}${key} from ${api.name}`);
2847
+ handleError2(err, `Error removing ${prefix}${key} from ${api.name}`);
4040
2848
  }
4041
2849
  });
4042
2850
  const clear = () => apis.forEach((api) => {
@@ -4187,15 +2995,15 @@ var init_dist5 = __esm({
4187
2995
  return key;
4188
2996
  },
4189
2997
  get length() {
4190
- let length2 = 0;
2998
+ let length = 0;
4191
2999
  cookieStorage._cookies[0][cookieStorage._cookies[1]].replace(
4192
3000
  /(?:^|;)\s*.+?\s*=\s*[^;]+/g,
4193
3001
  (found) => {
4194
- length2 += found ? 1 : 0;
3002
+ length += found ? 1 : 0;
4195
3003
  return "";
4196
3004
  }
4197
3005
  );
4198
- return length2;
3006
+ return length;
4199
3007
  }
4200
3008
  });
4201
3009
  }
@@ -4225,9 +3033,9 @@ function createResizeObserver(targets, onResize, options) {
4225
3033
  }
4226
3034
  }
4227
3035
  }, options);
4228
- createEffect((prev2) => {
3036
+ createEffect((prev) => {
4229
3037
  const refs = filterNonNullable(asArray(access(targets)));
4230
- handleDiffArray(refs, prev2, observe, unobserve);
3038
+ handleDiffArray(refs, prev, observe, unobserve);
4231
3039
  return refs;
4232
3040
  }, []);
4233
3041
  }
@@ -4590,14 +3398,14 @@ var init_registry = __esm({
4590
3398
  this.generateIdentifier = generateIdentifier;
4591
3399
  this.kv = new DoubleIndexedKV();
4592
3400
  }
4593
- Registry2.prototype.register = function(value, identifier2) {
3401
+ Registry2.prototype.register = function(value, identifier) {
4594
3402
  if (this.kv.getByValue(value)) {
4595
3403
  return;
4596
3404
  }
4597
- if (!identifier2) {
4598
- identifier2 = this.generateIdentifier(value);
3405
+ if (!identifier) {
3406
+ identifier = this.generateIdentifier(value);
4599
3407
  }
4600
- this.kv.set(identifier2, value);
3408
+ this.kv.set(identifier, value);
4601
3409
  };
4602
3410
  Registry2.prototype.clear = function() {
4603
3411
  this.kv.clear();
@@ -4605,8 +3413,8 @@ var init_registry = __esm({
4605
3413
  Registry2.prototype.getIdentifier = function(value) {
4606
3414
  return this.kv.getByValue(value);
4607
3415
  };
4608
- Registry2.prototype.getValue = function(identifier2) {
4609
- return this.kv.getByKey(identifier2);
3416
+ Registry2.prototype.getValue = function(identifier) {
3417
+ return this.kv.getByKey(identifier);
4610
3418
  };
4611
3419
  return Registry2;
4612
3420
  }();
@@ -4619,32 +3427,32 @@ var init_class_registry = __esm({
4619
3427
  "../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/class-registry.js"() {
4620
3428
  init_registry();
4621
3429
  __extends = function() {
4622
- var extendStatics = function(d, b) {
4623
- extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
4624
- d2.__proto__ = b2;
4625
- } || function(d2, b2) {
4626
- for (var p in b2)
4627
- if (Object.prototype.hasOwnProperty.call(b2, p))
4628
- d2[p] = b2[p];
3430
+ var extendStatics = function(d, b2) {
3431
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b3) {
3432
+ d2.__proto__ = b3;
3433
+ } || function(d2, b3) {
3434
+ for (var p2 in b3)
3435
+ if (Object.prototype.hasOwnProperty.call(b3, p2))
3436
+ d2[p2] = b3[p2];
4629
3437
  };
4630
- return extendStatics(d, b);
3438
+ return extendStatics(d, b2);
4631
3439
  };
4632
- return function(d, b) {
4633
- if (typeof b !== "function" && b !== null)
4634
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
4635
- extendStatics(d, b);
3440
+ return function(d, b2) {
3441
+ if (typeof b2 !== "function" && b2 !== null)
3442
+ throw new TypeError("Class extends value " + String(b2) + " is not a constructor or null");
3443
+ extendStatics(d, b2);
4636
3444
  function __() {
4637
3445
  this.constructor = d;
4638
3446
  }
4639
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3447
+ d.prototype = b2 === null ? Object.create(b2) : (__.prototype = b2.prototype, new __());
4640
3448
  };
4641
3449
  }();
4642
3450
  ClassRegistry = /** @class */
4643
3451
  function(_super) {
4644
3452
  __extends(ClassRegistry2, _super);
4645
3453
  function ClassRegistry2() {
4646
- var _this = _super.call(this, function(c) {
4647
- return c.name;
3454
+ var _this = _super.call(this, function(c2) {
3455
+ return c2.name;
4648
3456
  }) || this;
4649
3457
  _this.classToAllowedProps = /* @__PURE__ */ new Map();
4650
3458
  return _this;
@@ -4686,8 +3494,8 @@ function find(record, predicate) {
4686
3494
  return values.find(predicate);
4687
3495
  }
4688
3496
  var valuesNotNever = values;
4689
- for (var i = 0; i < valuesNotNever.length; i++) {
4690
- var value = valuesNotNever[i];
3497
+ for (var i2 = 0; i2 < valuesNotNever.length; i2++) {
3498
+ var value = valuesNotNever[i2];
4691
3499
  if (predicate(value)) {
4692
3500
  return value;
4693
3501
  }
@@ -4704,8 +3512,8 @@ function includes(arr, value) {
4704
3512
  return arr.indexOf(value) !== -1;
4705
3513
  }
4706
3514
  function findArr(record, predicate) {
4707
- for (var i = 0; i < record.length; i++) {
4708
- var value = record[i];
3515
+ for (var i2 = 0; i2 < record.length; i2++) {
3516
+ var value = record[i2];
4709
3517
  if (predicate(value)) {
4710
3518
  return value;
4711
3519
  }
@@ -4715,23 +3523,23 @@ function findArr(record, predicate) {
4715
3523
  var __read;
4716
3524
  var init_util = __esm({
4717
3525
  "../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/util.js"() {
4718
- __read = function(o, n) {
4719
- var m = typeof Symbol === "function" && o[Symbol.iterator];
3526
+ __read = function(o2, n2) {
3527
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
4720
3528
  if (!m)
4721
- return o;
4722
- var i = m.call(o), r, ar = [], e;
3529
+ return o2;
3530
+ var i2 = m.call(o2), r2, ar = [], e2;
4723
3531
  try {
4724
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
4725
- ar.push(r.value);
3532
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
3533
+ ar.push(r2.value);
4726
3534
  } catch (error) {
4727
- e = { error };
3535
+ e2 = { error };
4728
3536
  } finally {
4729
3537
  try {
4730
- if (r && !r.done && (m = i["return"]))
4731
- m.call(i);
3538
+ if (r2 && !r2.done && (m = i2["return"]))
3539
+ m.call(i2);
4732
3540
  } finally {
4733
- if (e)
4734
- throw e.error;
3541
+ if (e2)
3542
+ throw e2.error;
4735
3543
  }
4736
3544
  }
4737
3545
  return ar;
@@ -4854,21 +3662,21 @@ var init_pathstringifier = __esm({
4854
3662
  parsePath = function(string) {
4855
3663
  var result = [];
4856
3664
  var segment = "";
4857
- for (var i = 0; i < string.length; i++) {
4858
- var char2 = string.charAt(i);
4859
- var isEscapedDot = char2 === "\\" && string.charAt(i + 1) === ".";
3665
+ for (var i2 = 0; i2 < string.length; i2++) {
3666
+ var char = string.charAt(i2);
3667
+ var isEscapedDot = char === "\\" && string.charAt(i2 + 1) === ".";
4860
3668
  if (isEscapedDot) {
4861
3669
  segment += ".";
4862
- i++;
3670
+ i2++;
4863
3671
  continue;
4864
3672
  }
4865
- var isEndOfSegment = char2 === ".";
3673
+ var isEndOfSegment = char === ".";
4866
3674
  if (isEndOfSegment) {
4867
3675
  result.push(segment);
4868
3676
  segment = "";
4869
3677
  continue;
4870
3678
  }
4871
- segment += char2;
3679
+ segment += char;
4872
3680
  }
4873
3681
  var lastSegment = segment;
4874
3682
  result.push(lastSegment);
@@ -4907,41 +3715,41 @@ var init_transformer = __esm({
4907
3715
  init_is();
4908
3716
  init_util();
4909
3717
  __assign = function() {
4910
- __assign = Object.assign || function(t) {
4911
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4912
- s = arguments[i];
4913
- for (var p in s)
4914
- if (Object.prototype.hasOwnProperty.call(s, p))
4915
- t[p] = s[p];
3718
+ __assign = Object.assign || function(t2) {
3719
+ for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
3720
+ s2 = arguments[i2];
3721
+ for (var p2 in s2)
3722
+ if (Object.prototype.hasOwnProperty.call(s2, p2))
3723
+ t2[p2] = s2[p2];
4916
3724
  }
4917
- return t;
3725
+ return t2;
4918
3726
  };
4919
3727
  return __assign.apply(this, arguments);
4920
3728
  };
4921
- __read2 = function(o, n) {
4922
- var m = typeof Symbol === "function" && o[Symbol.iterator];
3729
+ __read2 = function(o2, n2) {
3730
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
4923
3731
  if (!m)
4924
- return o;
4925
- var i = m.call(o), r, ar = [], e;
3732
+ return o2;
3733
+ var i2 = m.call(o2), r2, ar = [], e2;
4926
3734
  try {
4927
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
4928
- ar.push(r.value);
3735
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
3736
+ ar.push(r2.value);
4929
3737
  } catch (error) {
4930
- e = { error };
3738
+ e2 = { error };
4931
3739
  } finally {
4932
3740
  try {
4933
- if (r && !r.done && (m = i["return"]))
4934
- m.call(i);
3741
+ if (r2 && !r2.done && (m = i2["return"]))
3742
+ m.call(i2);
4935
3743
  } finally {
4936
- if (e)
4937
- throw e.error;
3744
+ if (e2)
3745
+ throw e2.error;
4938
3746
  }
4939
3747
  }
4940
3748
  return ar;
4941
3749
  };
4942
- __spreadArray = function(to, from2) {
4943
- for (var i = 0, il = from2.length, j = to.length; i < il; i++, j++)
4944
- to[j] = from2[i];
3750
+ __spreadArray = function(to, from) {
3751
+ for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
3752
+ to[j] = from[i2];
4945
3753
  return to;
4946
3754
  };
4947
3755
  simpleRules = [
@@ -4973,13 +3781,13 @@ var init_transformer = __esm({
4973
3781
  });
4974
3782
  return baseError;
4975
3783
  }, function(v, superJson) {
4976
- var e = new Error(v.message);
4977
- e.name = v.name;
4978
- e.stack = v.stack;
3784
+ var e2 = new Error(v.message);
3785
+ e2.name = v.name;
3786
+ e2.stack = v.stack;
4979
3787
  superJson.allowedErrorProps.forEach(function(prop) {
4980
- e[prop] = v[prop];
3788
+ e2[prop] = v[prop];
4981
3789
  });
4982
- return e;
3790
+ return e2;
4983
3791
  }),
4984
3792
  simpleTransformation(isRegExp, "regexp", function(v) {
4985
3793
  return "" + v;
@@ -5028,19 +3836,19 @@ var init_transformer = __esm({
5028
3836
  return new URL(v);
5029
3837
  })
5030
3838
  ];
5031
- symbolRule = compositeTransformation(function(s, superJson) {
5032
- if (isSymbol(s)) {
5033
- var isRegistered = !!superJson.symbolRegistry.getIdentifier(s);
3839
+ symbolRule = compositeTransformation(function(s2, superJson) {
3840
+ if (isSymbol(s2)) {
3841
+ var isRegistered = !!superJson.symbolRegistry.getIdentifier(s2);
5034
3842
  return isRegistered;
5035
3843
  }
5036
3844
  return false;
5037
- }, function(s, superJson) {
5038
- var identifier2 = superJson.symbolRegistry.getIdentifier(s);
5039
- return ["symbol", identifier2];
3845
+ }, function(s2, superJson) {
3846
+ var identifier = superJson.symbolRegistry.getIdentifier(s2);
3847
+ return ["symbol", identifier];
5040
3848
  }, function(v) {
5041
3849
  return v.description;
5042
- }, function(_, a, superJson) {
5043
- var value = superJson.symbolRegistry.getValue(a[1]);
3850
+ }, function(_, a2, superJson) {
3851
+ var value = superJson.symbolRegistry.getValue(a2[1]);
5044
3852
  if (!value) {
5045
3853
  throw new Error("Trying to deserialize unknown symbol");
5046
3854
  }
@@ -5064,16 +3872,16 @@ var init_transformer = __esm({
5064
3872
  return ["typed-array", v.constructor.name];
5065
3873
  }, function(v) {
5066
3874
  return __spreadArray([], __read2(v));
5067
- }, function(v, a) {
5068
- var ctor = constructorToName[a[1]];
3875
+ }, function(v, a2) {
3876
+ var ctor = constructorToName[a2[1]];
5069
3877
  if (!ctor) {
5070
3878
  throw new Error("Trying to deserialize unknown typed array");
5071
3879
  }
5072
3880
  return new ctor(v);
5073
3881
  });
5074
3882
  classRule = compositeTransformation(isInstanceOfRegisteredClass, function(clazz, superJson) {
5075
- var identifier2 = superJson.classRegistry.getIdentifier(clazz.constructor);
5076
- return ["class", identifier2];
3883
+ var identifier = superJson.classRegistry.getIdentifier(clazz.constructor);
3884
+ return ["class", identifier];
5077
3885
  }, function(clazz, superJson) {
5078
3886
  var allowedProps = superJson.classRegistry.getAllowedProps(clazz.constructor);
5079
3887
  if (!allowedProps) {
@@ -5084,8 +3892,8 @@ var init_transformer = __esm({
5084
3892
  result[prop] = clazz[prop];
5085
3893
  });
5086
3894
  return result;
5087
- }, function(v, a, superJson) {
5088
- var clazz = superJson.classRegistry.getValue(a[1]);
3895
+ }, function(v, a2, superJson) {
3896
+ var clazz = superJson.classRegistry.getValue(a2[1]);
5089
3897
  if (!clazz) {
5090
3898
  throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
5091
3899
  }
@@ -5099,8 +3907,8 @@ var init_transformer = __esm({
5099
3907
  }, function(value, superJson) {
5100
3908
  var transformer = superJson.customTransformerRegistry.findApplicable(value);
5101
3909
  return transformer.serialize(value);
5102
- }, function(v, a, superJson) {
5103
- var transformer = superJson.customTransformerRegistry.findByName(a[1]);
3910
+ }, function(v, a2, superJson) {
3911
+ var transformer = superJson.customTransformerRegistry.findByName(a2[1]);
5104
3912
  if (!transformer) {
5105
3913
  throw new Error("Trying to deserialize unknown custom value");
5106
3914
  }
@@ -5174,23 +3982,23 @@ var init_accessDeep = __esm({
5174
3982
  "../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/accessDeep.js"() {
5175
3983
  init_is();
5176
3984
  init_util();
5177
- getNthKey = function(value, n) {
3985
+ getNthKey = function(value, n2) {
5178
3986
  var keys2 = value.keys();
5179
- while (n > 0) {
3987
+ while (n2 > 0) {
5180
3988
  keys2.next();
5181
- n--;
3989
+ n2--;
5182
3990
  }
5183
3991
  return keys2.next().value;
5184
3992
  };
5185
3993
  getDeep = function(object, path) {
5186
3994
  validatePath(path);
5187
- for (var i = 0; i < path.length; i++) {
5188
- var key = path[i];
3995
+ for (var i2 = 0; i2 < path.length; i2++) {
3996
+ var key = path[i2];
5189
3997
  if (isSet(object)) {
5190
3998
  object = getNthKey(object, +key);
5191
3999
  } else if (isMap(object)) {
5192
4000
  var row = +key;
5193
- var type = +path[++i] === 0 ? "key" : "value";
4001
+ var type = +path[++i2] === 0 ? "key" : "value";
5194
4002
  var keyOfRow = getNthKey(object, row);
5195
4003
  switch (type) {
5196
4004
  case "key":
@@ -5212,8 +4020,8 @@ var init_accessDeep = __esm({
5212
4020
  return mapper(object);
5213
4021
  }
5214
4022
  var parent = object;
5215
- for (var i = 0; i < path.length - 1; i++) {
5216
- var key = path[i];
4023
+ for (var i2 = 0; i2 < path.length - 1; i2++) {
4024
+ var key = path[i2];
5217
4025
  if (isArray(parent)) {
5218
4026
  var index = +key;
5219
4027
  parent = parent[index];
@@ -5223,12 +4031,12 @@ var init_accessDeep = __esm({
5223
4031
  var row = +key;
5224
4032
  parent = getNthKey(parent, row);
5225
4033
  } else if (isMap(parent)) {
5226
- var isEnd = i === path.length - 2;
4034
+ var isEnd = i2 === path.length - 2;
5227
4035
  if (isEnd) {
5228
4036
  break;
5229
4037
  }
5230
4038
  var row = +key;
5231
- var type = +path[++i] === 0 ? "key" : "value";
4039
+ var type = +path[++i2] === 0 ? "key" : "value";
5232
4040
  var keyOfRow = getNthKey(parent, row);
5233
4041
  switch (type) {
5234
4042
  case "key":
@@ -5349,8 +4157,8 @@ function generateReferentialEqualityAnnotations(identitites) {
5349
4157
  }
5350
4158
  var _a = __read3(paths.map(function(path) {
5351
4159
  return path.map(String);
5352
- }).sort(function(a, b) {
5353
- return a.length - b.length;
4160
+ }).sort(function(a2, b2) {
4161
+ return a2.length - b2.length;
5354
4162
  })), shortestPath = _a[0], identicalPaths = _a.slice(1);
5355
4163
  if (shortestPath.length === 0) {
5356
4164
  rootEqualityPaths = identicalPaths.map(stringifyPath);
@@ -5377,30 +4185,30 @@ var init_plainer = __esm({
5377
4185
  init_util();
5378
4186
  init_pathstringifier();
5379
4187
  init_accessDeep();
5380
- __read3 = function(o, n) {
5381
- var m = typeof Symbol === "function" && o[Symbol.iterator];
4188
+ __read3 = function(o2, n2) {
4189
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
5382
4190
  if (!m)
5383
- return o;
5384
- var i = m.call(o), r, ar = [], e;
4191
+ return o2;
4192
+ var i2 = m.call(o2), r2, ar = [], e2;
5385
4193
  try {
5386
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
5387
- ar.push(r.value);
4194
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
4195
+ ar.push(r2.value);
5388
4196
  } catch (error) {
5389
- e = { error };
4197
+ e2 = { error };
5390
4198
  } finally {
5391
4199
  try {
5392
- if (r && !r.done && (m = i["return"]))
5393
- m.call(i);
4200
+ if (r2 && !r2.done && (m = i2["return"]))
4201
+ m.call(i2);
5394
4202
  } finally {
5395
- if (e)
5396
- throw e.error;
4203
+ if (e2)
4204
+ throw e2.error;
5397
4205
  }
5398
4206
  }
5399
4207
  return ar;
5400
4208
  };
5401
- __spreadArray2 = function(to, from2) {
5402
- for (var i = 0, il = from2.length, j = to.length; i < il; i++, j++)
5403
- to[j] = from2[i];
4209
+ __spreadArray2 = function(to, from) {
4210
+ for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
4211
+ to[j] = from[i2];
5404
4212
  return to;
5405
4213
  };
5406
4214
  isDeep = function(object, superJson) {
@@ -5500,9 +4308,9 @@ function assignProp2(carry, key, newVal, originalObject, includeNonenumerable) {
5500
4308
  });
5501
4309
  }
5502
4310
  }
5503
- function copy2(target, options = {}) {
4311
+ function copy(target, options = {}) {
5504
4312
  if (isArray2(target)) {
5505
- return target.map((item) => copy2(item, options));
4313
+ return target.map((item) => copy(item, options));
5506
4314
  }
5507
4315
  if (!isPlainObject2(target)) {
5508
4316
  return target;
@@ -5514,7 +4322,7 @@ function copy2(target, options = {}) {
5514
4322
  return carry;
5515
4323
  }
5516
4324
  const val = target[key];
5517
- const newVal = copy2(val, options);
4325
+ const newVal = copy(val, options);
5518
4326
  assignProp2(carry, key, newVal, target, options.nonenumerable);
5519
4327
  return carry;
5520
4328
  }, {});
@@ -5526,7 +4334,7 @@ var init_index_es = __esm({
5526
4334
  });
5527
4335
 
5528
4336
  // ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/index.js
5529
- var __assign2, __read4, __spreadArray3, SuperJSON, serialize2, stringify2;
4337
+ var __assign2, __read4, __spreadArray3, SuperJSON, serialize, stringify;
5530
4338
  var init_esm = __esm({
5531
4339
  "../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/index.js"() {
5532
4340
  init_class_registry();
@@ -5535,50 +4343,50 @@ var init_esm = __esm({
5535
4343
  init_plainer();
5536
4344
  init_index_es();
5537
4345
  __assign2 = function() {
5538
- __assign2 = Object.assign || function(t) {
5539
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5540
- s = arguments[i];
5541
- for (var p in s)
5542
- if (Object.prototype.hasOwnProperty.call(s, p))
5543
- t[p] = s[p];
4346
+ __assign2 = Object.assign || function(t2) {
4347
+ for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
4348
+ s2 = arguments[i2];
4349
+ for (var p2 in s2)
4350
+ if (Object.prototype.hasOwnProperty.call(s2, p2))
4351
+ t2[p2] = s2[p2];
5544
4352
  }
5545
- return t;
4353
+ return t2;
5546
4354
  };
5547
4355
  return __assign2.apply(this, arguments);
5548
4356
  };
5549
- __read4 = function(o, n) {
5550
- var m = typeof Symbol === "function" && o[Symbol.iterator];
4357
+ __read4 = function(o2, n2) {
4358
+ var m = typeof Symbol === "function" && o2[Symbol.iterator];
5551
4359
  if (!m)
5552
- return o;
5553
- var i = m.call(o), r, ar = [], e;
4360
+ return o2;
4361
+ var i2 = m.call(o2), r2, ar = [], e2;
5554
4362
  try {
5555
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
5556
- ar.push(r.value);
4363
+ while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
4364
+ ar.push(r2.value);
5557
4365
  } catch (error) {
5558
- e = { error };
4366
+ e2 = { error };
5559
4367
  } finally {
5560
4368
  try {
5561
- if (r && !r.done && (m = i["return"]))
5562
- m.call(i);
4369
+ if (r2 && !r2.done && (m = i2["return"]))
4370
+ m.call(i2);
5563
4371
  } finally {
5564
- if (e)
5565
- throw e.error;
4372
+ if (e2)
4373
+ throw e2.error;
5566
4374
  }
5567
4375
  }
5568
4376
  return ar;
5569
4377
  };
5570
- __spreadArray3 = function(to, from2) {
5571
- for (var i = 0, il = from2.length, j = to.length; i < il; i++, j++)
5572
- to[j] = from2[i];
4378
+ __spreadArray3 = function(to, from) {
4379
+ for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
4380
+ to[j] = from[i2];
5573
4381
  return to;
5574
4382
  };
5575
4383
  SuperJSON = /** @class */
5576
4384
  function() {
5577
4385
  function SuperJSON2() {
5578
4386
  this.classRegistry = new ClassRegistry();
5579
- this.symbolRegistry = new Registry(function(s) {
4387
+ this.symbolRegistry = new Registry(function(s2) {
5580
4388
  var _a;
5581
- return (_a = s.description) !== null && _a !== void 0 ? _a : "";
4389
+ return (_a = s2.description) !== null && _a !== void 0 ? _a : "";
5582
4390
  });
5583
4391
  this.customTransformerRegistry = new CustomTransformerRegistry();
5584
4392
  this.allowedErrorProps = [];
@@ -5600,7 +4408,7 @@ var init_esm = __esm({
5600
4408
  };
5601
4409
  SuperJSON2.prototype.deserialize = function(payload) {
5602
4410
  var json = payload.json, meta = payload.meta;
5603
- var result = copy2(json);
4411
+ var result = copy(json);
5604
4412
  if (meta === null || meta === void 0 ? void 0 : meta.values) {
5605
4413
  result = applyValueAnnotations(result, meta.values, this);
5606
4414
  }
@@ -5618,8 +4426,8 @@ var init_esm = __esm({
5618
4426
  SuperJSON2.prototype.registerClass = function(v, options) {
5619
4427
  this.classRegistry.register(v, options);
5620
4428
  };
5621
- SuperJSON2.prototype.registerSymbol = function(v, identifier2) {
5622
- this.symbolRegistry.register(v, identifier2);
4429
+ SuperJSON2.prototype.registerSymbol = function(v, identifier) {
4430
+ this.symbolRegistry.register(v, identifier);
5623
4431
  };
5624
4432
  SuperJSON2.prototype.registerCustom = function(transformer, name) {
5625
4433
  this.customTransformerRegistry.register(__assign2({ name }, transformer));
@@ -5643,9 +4451,9 @@ var init_esm = __esm({
5643
4451
  SuperJSON2.allowErrorProps = SuperJSON2.defaultInstance.allowErrorProps.bind(SuperJSON2.defaultInstance);
5644
4452
  return SuperJSON2;
5645
4453
  }();
5646
- serialize2 = SuperJSON.serialize;
4454
+ serialize = SuperJSON.serialize;
5647
4455
  SuperJSON.deserialize;
5648
- stringify2 = SuperJSON.stringify;
4456
+ stringify = SuperJSON.stringify;
5649
4457
  SuperJSON.parse;
5650
4458
  SuperJSON.registerClass;
5651
4459
  SuperJSON.registerCustom;
@@ -5678,17 +4486,17 @@ var init_utils = __esm({
5678
4486
  displayValue = (value, beautify = false) => {
5679
4487
  const {
5680
4488
  json
5681
- } = serialize2(value);
4489
+ } = serialize(value);
5682
4490
  return JSON.stringify(json, null, beautify ? 2 : void 0);
5683
4491
  };
5684
4492
  getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
5685
- queryHashSort = (a, b) => a.queryHash.localeCompare(b.queryHash);
5686
- dateSort = (a, b) => a.state.dataUpdatedAt < b.state.dataUpdatedAt ? 1 : -1;
5687
- statusAndDateSort = (a, b) => {
5688
- if (getStatusRank(a) === getStatusRank(b)) {
5689
- return dateSort(a, b);
4493
+ queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
4494
+ dateSort = (a2, b2) => a2.state.dataUpdatedAt < b2.state.dataUpdatedAt ? 1 : -1;
4495
+ statusAndDateSort = (a2, b2) => {
4496
+ if (getStatusRank(a2) === getStatusRank(b2)) {
4497
+ return dateSort(a2, b2);
5690
4498
  }
5691
- return getStatusRank(a) > getStatusRank(b) ? 1 : -1;
4499
+ return getStatusRank(a2) > getStatusRank(b2) ? 1 : -1;
5692
4500
  };
5693
4501
  sortFns = {
5694
4502
  status: statusAndDateSort,
@@ -5772,11 +4580,11 @@ var init_icons = __esm({
5772
4580
  function chunkArray(array, size) {
5773
4581
  if (size < 1)
5774
4582
  return [];
5775
- let i = 0;
4583
+ let i2 = 0;
5776
4584
  const result = [];
5777
- while (i < array.length) {
5778
- result.push(array.slice(i, i + size));
5779
- i = i + size;
4585
+ while (i2 < array.length) {
4586
+ result.push(array.slice(i2, i2 + size));
4587
+ i2 = i2 + size;
5780
4588
  }
5781
4589
  return result;
5782
4590
  }
@@ -5790,8 +4598,8 @@ function Explorer(props) {
5790
4598
  const [expandedPages, setExpandedPages] = createSignal([]);
5791
4599
  const subEntries = createMemo(() => {
5792
4600
  if (Array.isArray(props.value)) {
5793
- return props.value.map((d, i) => ({
5794
- label: i.toString(),
4601
+ return props.value.map((d, i2) => ({
4602
+ label: i2.toString(),
5795
4603
  value: d
5796
4604
  }));
5797
4605
  } else if (props.value !== null && typeof props.value === "object" && isIterable(props.value) && typeof props.value[Symbol.iterator] === "function") {
@@ -5801,8 +4609,8 @@ function Explorer(props) {
5801
4609
  value: val
5802
4610
  }));
5803
4611
  }
5804
- return Array.from(props.value, (val, i) => ({
5805
- label: i.toString(),
4612
+ return Array.from(props.value, (val, i2) => ({
4613
+ label: i2.toString(),
5806
4614
  value: val
5807
4615
  }));
5808
4616
  } else if (typeof props.value === "object" && props.value !== null) {
@@ -6004,7 +4812,8 @@ var init_Explorer = __esm({
6004
4812
  init_web();
6005
4813
  init_web();
6006
4814
  init_esm();
6007
- init_emotion_css_esm();
4815
+ init_goober_modern();
4816
+ init_clsx();
6008
4817
  init_solid();
6009
4818
  init_dist4();
6010
4819
  init_theme();
@@ -6021,7 +4830,7 @@ var init_Explorer = __esm({
6021
4830
  const styles = getStyles();
6022
4831
  return (() => {
6023
4832
  const _el$ = _tmpl$12();
6024
- createRenderEffect(() => className(_el$, cx(styles.expander, css`
4833
+ createRenderEffect(() => className(_el$, clsx(styles.expander, u`
6025
4834
  transform: rotate(${props.expanded ? 90 : 0}deg);
6026
4835
  `)));
6027
4836
  return _el$;
@@ -6033,7 +4842,7 @@ var init_Explorer = __esm({
6033
4842
  return (() => {
6034
4843
  const _el$2 = _tmpl$22();
6035
4844
  addEventListener(_el$2, "click", copyState() === "NoCopy" ? () => {
6036
- navigator.clipboard.writeText(stringify2(props.value)).then(() => {
4845
+ navigator.clipboard.writeText(stringify(props.value)).then(() => {
6037
4846
  setCopyState("SuccessCopy");
6038
4847
  setTimeout(() => {
6039
4848
  setCopyState("NoCopy");
@@ -6091,7 +4900,7 @@ var init_Explorer = __esm({
6091
4900
  border
6092
4901
  } = tokens;
6093
4902
  return {
6094
- entry: css`
4903
+ entry: u`
6095
4904
  & * {
6096
4905
  font-size: ${font.size.sm};
6097
4906
  font-family: 'Menlo', 'Fira Code', monospace;
@@ -6101,12 +4910,12 @@ var init_Explorer = __esm({
6101
4910
  outline: none;
6102
4911
  word-break: break-word;
6103
4912
  `,
6104
- subEntry: css`
4913
+ subEntry: u`
6105
4914
  margin: 0 0 0 0.5em;
6106
4915
  padding-left: 0.75em;
6107
4916
  border-left: 2px solid ${colors.darkGray[400]};
6108
4917
  `,
6109
- expander: css`
4918
+ expander: u`
6110
4919
  & path {
6111
4920
  stroke: ${colors.gray[400]};
6112
4921
  }
@@ -6114,7 +4923,7 @@ var init_Explorer = __esm({
6114
4923
  align-items: center;
6115
4924
  transition: all 0.1s ease;
6116
4925
  `,
6117
- expanderButton: css`
4926
+ expanderButton: u`
6118
4927
  cursor: pointer;
6119
4928
  color: inherit;
6120
4929
  font: inherit;
@@ -6132,19 +4941,19 @@ var init_Explorer = __esm({
6132
4941
  outline: 2px solid ${colors.blue[800]};
6133
4942
  }
6134
4943
  `,
6135
- info: css`
4944
+ info: u`
6136
4945
  color: ${colors.gray[500]};
6137
4946
  font-size: ${font.size.xs};
6138
4947
  line-height: ${font.size.xs};
6139
4948
  margin-left: ${size[1]};
6140
4949
  `,
6141
- label: css`
4950
+ label: u`
6142
4951
  color: ${colors.gray[300]};
6143
4952
  `,
6144
- value: css`
4953
+ value: u`
6145
4954
  color: ${colors.purple[400]};
6146
4955
  `,
6147
- copyButton: css`
4956
+ copyButton: u`
6148
4957
  background-color: transparent;
6149
4958
  border: none;
6150
4959
  display: inline-flex;
@@ -6232,7 +5041,8 @@ var init_Devtools = __esm({
6232
5041
  init_web();
6233
5042
  init_solid();
6234
5043
  init_lib();
6235
- init_emotion_css_esm();
5044
+ init_goober_modern();
5045
+ init_clsx();
6236
5046
  init_dist3();
6237
5047
  init_dist4();
6238
5048
  init_dist5();
@@ -6247,17 +5057,17 @@ var init_Devtools = __esm({
6247
5057
  _tmpl$23 = /* @__PURE__ */ template(`<div>`);
6248
5058
  _tmpl$33 = /* @__PURE__ */ template(`<span>Asc`);
6249
5059
  _tmpl$43 = /* @__PURE__ */ template(`<span>Desc`);
6250
- _tmpl$53 = /* @__PURE__ */ template(`<div role="menu" tabindex="-1" aria-labelledby="TSQD-settings-menu-btn" id="TSQD-settings-menu"><div>Position</div><div><button aria-label="Position top"><span>Top</span></button><button aria-label="Position bottom"><span>Bottom</span></button><button aria-label="Position left"><span>Left</span></button><button aria-label="Position right"><span>Right`);
6251
- _tmpl$63 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools"></button><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div><div><div><div><input aria-label="Filter queries by query key" type="text" placeholder="Filter"></div><div><select></select></div><button></button></div><div><button></button><div><button id="TSQD-settings-menu-btn" aria-haspopup="true" aria-controls="TSQD-settings-menu"></button></div></div></div><div><div>`);
5060
+ _tmpl$53 = /* @__PURE__ */ template(`<div role="menu" tabindex="-1" aria-labelledby="tsqd-settings-menu-btn" id="tsqd-settings-menu"><div>Position</div><div><button aria-label="Position top" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-top"><span>Top</span></button><button aria-label="Position bottom" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-bottom"><span>Bottom</span></button><button aria-label="Position left" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-left"><span>Left</span></button><button aria-label="Position right" class="tsqd-settings-menu-position-btn tsqd-settings-menu-position-btn-right"><span>Right`);
5061
+ _tmpl$63 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools"></button><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div><div><div><div><input aria-label="Filter queries by query key" type="text" placeholder="Filter" class="tsqd-query-filter-textfield"></div><div><select></select></div><button class="tsqd-query-filter-sort-order-btn"></button></div><div><button></button><div><button id="tsqd-settings-menu-btn" aria-haspopup="true" aria-controls="tsqd-settings-menu"></button></div></div></div><div><div class="tsqd-queries-container">`);
6252
5062
  _tmpl$73 = /* @__PURE__ */ template(`<option>Sort by `);
6253
- _tmpl$82 = /* @__PURE__ */ template(`<div class="TSQDQueryDisabled">disabled`);
6254
- _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="TSQDQueryHash">`);
6255
- _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="TSQD-status-tooltip">`);
6256
- _tmpl$112 = /* @__PURE__ */ template(`<span>`);
5063
+ _tmpl$82 = /* @__PURE__ */ template(`<div class="tsqd-query-disabled-indicator">disabled`);
5064
+ _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="tsqd-query-hash">`);
5065
+ _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="tsqd-status-tooltip">`);
5066
+ _tmpl$112 = /* @__PURE__ */ template(`<span class="tsqd-query-status-tag-label">`);
6257
5067
  _tmpl$122 = /* @__PURE__ */ template(`<button><span></span><span>`);
6258
5068
  _tmpl$132 = /* @__PURE__ */ template(`<button><span></span> Error`);
6259
5069
  _tmpl$14 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value="" disabled selected>`);
6260
- _tmpl$15 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div><pre><code></code></pre><span></span></div><div><span>Observers:</span><span></span></div><div><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span> Loading</button></div><div>Data Explorer</div><div></div><div>Query Explorer</div><div>`);
5070
+ _tmpl$15 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div class="tsqd-query-details-summary"><pre><code></code></pre><span></span></div><div class="tsqd-query-details-observers-count"><span>Observers:</span><span></span></div><div class="tsqd-query-details-last-updated"><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span> Loading</button></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer"></div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
6261
5071
  _tmpl$16 = /* @__PURE__ */ template(`<option>`);
6262
5072
  firstBreakpoint = 1024;
6263
5073
  secondBreakpoint = 796;
@@ -6292,13 +5102,21 @@ var init_Devtools = __esm({
6292
5102
  const isOpen = createMemo(() => {
6293
5103
  return localStore.open === "true" ? true : localStore.open === "false" ? false : useQueryDevtoolsContext().initialIsOpen || INITIAL_IS_OPEN;
6294
5104
  });
6295
- const position2 = createMemo(() => {
5105
+ const position = createMemo(() => {
6296
5106
  return localStore.position || useQueryDevtoolsContext().position || POSITION;
6297
5107
  });
5108
+ createEffect(() => {
5109
+ const root = document.querySelector(".tsqd-parent-container");
5110
+ const height = localStore.height || DEFAULT_HEIGHT;
5111
+ const width = localStore.width || DEFAULT_WIDTH;
5112
+ const panelPosition = position();
5113
+ root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
5114
+ root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
5115
+ });
6298
5116
  return (() => {
6299
5117
  const _el$ = _tmpl$23();
6300
5118
  insert(_el$, createComponent(TransitionGroup, {
6301
- name: "TSQD-panel",
5119
+ name: "tsqd-panel-transition",
6302
5120
  get children() {
6303
5121
  return createComponent(Show, {
6304
5122
  get when() {
@@ -6314,7 +5132,7 @@ var init_Devtools = __esm({
6314
5132
  }
6315
5133
  }), null);
6316
5134
  insert(_el$, createComponent(TransitionGroup, {
6317
- name: "TSQD-button",
5135
+ name: "tsqd-button-transition",
6318
5136
  get children() {
6319
5137
  return createComponent(Show, {
6320
5138
  get when() {
@@ -6325,33 +5143,33 @@ var init_Devtools = __esm({
6325
5143
  insert(_el$3, createComponent(TanstackLogo, {}));
6326
5144
  _el$4.$$click = () => setLocalStore("open", "true");
6327
5145
  insert(_el$4, createComponent(TanstackLogo, {}));
6328
- createRenderEffect(() => className(_el$2, cx(styles.devtoolsBtn, styles[`devtoolsBtn-position-${buttonPosition()}`])));
5146
+ createRenderEffect(() => className(_el$2, clsx(styles.devtoolsBtn, styles[`devtoolsBtn-position-${buttonPosition()}`])));
6329
5147
  return _el$2;
6330
5148
  }
6331
5149
  });
6332
5150
  }
6333
5151
  }), null);
6334
- createRenderEffect(() => className(_el$, css`
6335
- & .TSQD-panel-exit-active,
6336
- & .TSQD-panel-enter-active {
6337
- transition: opacity 0.3s, transform 0.3s;
6338
- }
5152
+ createRenderEffect(() => className(_el$, clsx(u`
5153
+ & .tsqd-panel-transition-exit-active,
5154
+ & .tsqd-panel-transition-enter-active {
5155
+ transition: opacity 0.3s, transform 0.3s;
5156
+ }
6339
5157
 
6340
- & .TSQD-panel-exit-to,
6341
- & .TSQD-panel-enter {
6342
- ${position2() === "top" ? `transform: translateY(-${Number(localStore.height || DEFAULT_HEIGHT)}px);` : position2() === "left" ? `transform: translateX(-${Number(localStore.width || DEFAULT_WIDTH)}px);` : position2() === "right" ? `transform: translateX(${Number(localStore.width || DEFAULT_WIDTH)}px);` : `transform: translateY(${Number(localStore.height || DEFAULT_HEIGHT)}px);`}
6343
- }
5158
+ & .tsqd-panel-transition-exit-to,
5159
+ & .tsqd-panel-transition-enter {
5160
+ ${position() === "top" || position() === "bottom" ? `transform: translateY(var(--tsqd-panel-height));` : `transform: translateX(var(--tsqd-panel-width));`}
5161
+ }
6344
5162
 
6345
- & .TSQD-button-exit-active,
6346
- & .TSQD-button-enter-active {
6347
- transition: opacity 0.3s, transform 0.3s;
6348
- }
5163
+ & .tsqd-button-transition-exit-active,
5164
+ & .tsqd-button-transition-enter-active {
5165
+ transition: opacity 0.3s, transform 0.3s;
5166
+ }
6349
5167
 
6350
- & .TSQD-button-exit-to,
6351
- & .TSQD-button-enter {
6352
- transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
6353
- }
6354
- `));
5168
+ & .tsqd-button-transition-exit-to,
5169
+ & .tsqd-button-transition-enter {
5170
+ transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
5171
+ }
5172
+ `, "tsqd-transitions-container")));
6355
5173
  return _el$;
6356
5174
  })();
6357
5175
  };
@@ -6362,19 +5180,19 @@ var init_Devtools = __esm({
6362
5180
  const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
6363
5181
  const [offline, setOffline] = createSignal(false);
6364
5182
  const [settingsOpen, setSettingsOpen] = createSignal(false);
6365
- const position2 = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
5183
+ const position = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
6366
5184
  const sortFn = createMemo(() => sortFns[sort()]);
6367
5185
  const onlineManager = createMemo(() => useQueryDevtoolsContext().onlineManager);
6368
- const cache2 = createMemo(() => {
5186
+ const cache = createMemo(() => {
6369
5187
  return useQueryDevtoolsContext().client.getQueryCache();
6370
5188
  });
6371
5189
  const queryCount = createSubscribeToQueryCacheBatcher((queryCache) => {
6372
5190
  return queryCache().getAll().length;
6373
5191
  }, false);
6374
5192
  const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder()], () => {
6375
- const curr = cache2().getAll();
5193
+ const curr = cache().getAll();
6376
5194
  const filtered = props.localStore.filter ? curr.filter((item) => rankItem(item.queryHash, props.localStore.filter || "").passed) : [...curr];
6377
- const sorted = sortFn() ? filtered.sort((a, b) => sortFn()(a, b) * sortOrder()) : filtered;
5195
+ const sorted = sortFn() ? filtered.sort((a2, b2) => sortFn()(a2, b2) * sortOrder()) : filtered;
6378
5196
  return sorted;
6379
5197
  }));
6380
5198
  const handleDragStart = (event) => {
@@ -6393,8 +5211,8 @@ var init_Devtools = __esm({
6393
5211
  const minWidth = convertRemToPixels(12);
6394
5212
  const runDrag = (moveEvent) => {
6395
5213
  moveEvent.preventDefault();
6396
- if (position2() === "left" || position2() === "right") {
6397
- const valToAdd = position2() === "right" ? startX - moveEvent.clientX : moveEvent.clientX - startX;
5214
+ if (position() === "left" || position() === "right") {
5215
+ const valToAdd = position() === "right" ? startX - moveEvent.clientX : moveEvent.clientX - startX;
6398
5216
  newSize = Math.round(width + valToAdd);
6399
5217
  if (newSize < minWidth) {
6400
5218
  newSize = minWidth;
@@ -6405,7 +5223,7 @@ var init_Devtools = __esm({
6405
5223
  props.setLocalStore("width", String(newWidth));
6406
5224
  }
6407
5225
  } else {
6408
- const valToAdd = position2() === "bottom" ? startY - moveEvent.clientY : moveEvent.clientY - startY;
5226
+ const valToAdd = position() === "bottom" ? startY - moveEvent.clientY : moveEvent.clientY - startY;
6409
5227
  newSize = Math.round(height + valToAdd);
6410
5228
  if (newSize < minHeight) {
6411
5229
  newSize = minHeight;
@@ -6481,8 +5299,8 @@ var init_Devtools = __esm({
6481
5299
  insert(_el$12, () => useQueryDevtoolsContext().version, null);
6482
5300
  insert(_el$9, createComponent(QueryStatusCount, {}), null);
6483
5301
  insert(_el$16, createComponent(Search, {}), _el$17);
6484
- _el$17.$$input = (e) => props.setLocalStore("filter", e.currentTarget.value);
6485
- _el$19.addEventListener("change", (e) => props.setLocalStore("sort", e.currentTarget.value));
5302
+ _el$17.$$input = (e2) => props.setLocalStore("filter", e2.currentTarget.value);
5303
+ _el$19.addEventListener("change", (e2) => props.setLocalStore("sort", e2.currentTarget.value));
6486
5304
  insert(_el$19, () => Object.keys(sortFns).map((key) => (() => {
6487
5305
  const _el$40 = _tmpl$73(); _el$40.firstChild;
6488
5306
  _el$40.value = key;
@@ -6523,7 +5341,7 @@ var init_Devtools = __esm({
6523
5341
  return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
6524
5342
  })());
6525
5343
  _el$25.style.setProperty("position", "relative");
6526
- _el$26.$$click = () => setSettingsOpen((prev2) => !prev2);
5344
+ _el$26.$$click = () => setSettingsOpen((prev) => !prev);
6527
5345
  insert(_el$26, createComponent(Settings, {}));
6528
5346
  insert(_el$25, createComponent(Show, {
6529
5347
  get when() {
@@ -6548,7 +5366,7 @@ var init_Devtools = __esm({
6548
5366
  };
6549
5367
  insert(_el$36, createComponent(ArrowDown, {}), _el$37);
6550
5368
  createRenderEffect((_p$) => {
6551
- const _v$ = styles.settingsMenu, _v$2 = styles.settingsMenuHeader, _v$3 = styles.settingsMenuSection;
5369
+ const _v$ = clsx(styles.settingsMenu, "tsqd-settings-menu"), _v$2 = clsx(styles.settingsMenuHeader, "tsqd-settings-menu-header"), _v$3 = clsx(styles.settingsMenuSection, "tsqd-settings-menu-section");
6552
5370
  _v$ !== _p$._v$ && className(_el$27, _p$._v$ = _v$);
6553
5371
  _v$2 !== _p$._v$2 && className(_el$28, _p$._v$2 = _v$2);
6554
5372
  _v$3 !== _p$._v$3 && className(_el$29, _p$._v$3 = _v$3);
@@ -6581,20 +5399,19 @@ var init_Devtools = __esm({
6581
5399
  }
6582
5400
  }), null);
6583
5401
  createRenderEffect((_p$) => {
6584
- const _v$4 = `${styles.panel} ${styles[`panel-position-${position2()}`]} ${css`
6585
- flex-direction: ${panelWidth() < secondBreakpoint ? "column" : "row"};
6586
- background-color: ${panelWidth() < secondBreakpoint ? tokens.colors.gray[600] : tokens.colors.darkGray[900]};
6587
- ${panelWidth() < thirdBreakpoint && (position2() === "right" || position2() === "left") ? `
5402
+ const _v$4 = clsx(styles.panel, styles[`panel-position-${position()}`], u`
5403
+ flex-direction: ${panelWidth() < secondBreakpoint ? "column" : "row"};
5404
+ background-color: ${panelWidth() < secondBreakpoint ? tokens.colors.gray[600] : tokens.colors.darkGray[900]};
5405
+ `, {
5406
+ [u`
6588
5407
  min-width: min-content;
6589
- ` : ""}
6590
- `}`, _v$5 = position2() === "bottom" || position2() === "top" ? `${props.localStore.height || DEFAULT_HEIGHT}px` : "auto", _v$6 = position2() === "right" || position2() === "left" ? `${props.localStore.width || DEFAULT_WIDTH}px` : "auto", _v$7 = cx(styles.dragHandle, styles[`dragHandle-position-${position2()}`]), _v$8 = cx(styles.closeBtn, styles[`closeBtn-position-${position2()}`]), _v$9 = `${styles.queriesContainer} ${css`
6591
- ${panelWidth() < secondBreakpoint && selectedQueryHash() ? `
6592
- height: 50%;
6593
- max-height: 50%;
6594
- ` : ""}
6595
- `}`, _v$10 = cx(styles.row), _v$11 = styles.logo, _v$12 = styles.tanstackLogo, _v$13 = styles.queryFlavorLogo, _v$14 = cx(styles.row, css`
5408
+ `]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
5409
+ }, "tsqd-main-panel"), _v$5 = position() === "bottom" || position() === "top" ? `${props.localStore.height || DEFAULT_HEIGHT}px` : "auto", _v$6 = position() === "right" || position() === "left" ? `${props.localStore.width || DEFAULT_WIDTH}px` : "auto", _v$7 = clsx(styles.dragHandle, styles[`dragHandle-position-${position()}`], "tsqd-drag-handle"), _v$8 = clsx(styles.closeBtn, styles[`closeBtn-position-${position()}`], "tsqd-minimize-btn"), _v$9 = clsx(styles.queriesContainer, panelWidth() < secondBreakpoint && selectedQueryHash() && u`
5410
+ height: 50%;
5411
+ max-height: 50%;
5412
+ `, "tsqd-queries-container"), _v$10 = clsx(styles.row, "tsqd-header"), _v$11 = clsx(styles.logo, "tsqd-text-logo-container"), _v$12 = clsx(styles.tanstackLogo, "tsqd-text-logo-tanstack"), _v$13 = clsx(styles.queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$14 = clsx(styles.row, u`
6596
5413
  gap: ${tokens.size[2.5]};
6597
- `), _v$15 = styles.filtersContainer, _v$16 = styles.filterInput, _v$17 = styles.filterSelect, _v$18 = `Sort order ${sortOrder() === -1 ? "descending" : "ascending"}`, _v$19 = sortOrder() === -1, _v$20 = styles.actionsContainer, _v$21 = styles.actionsBtn, _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = styles.actionsBtn, _v$25 = `${settingsOpen() ? "Close" : "Open"} settings menu`, _v$26 = styles.overflowQueryContainer;
5414
+ `, "tsqd-filters-actions-container"), _v$15 = clsx(styles.filtersContainer, "tsqd-filters-container"), _v$16 = clsx(styles.filterInput, "tsqd-query-filter-textfield-container"), _v$17 = clsx(styles.filterSelect, "tsqd-query-filter-sort-container"), _v$18 = `Sort order ${sortOrder() === -1 ? "descending" : "ascending"}`, _v$19 = sortOrder() === -1, _v$20 = clsx(styles.actionsContainer, "tsqd-actions-container"), _v$21 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$22 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$23 = offline(), _v$24 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-settings"), _v$25 = `${settingsOpen() ? "Close" : "Open"} settings menu`, _v$26 = clsx(styles.overflowQueryContainer, "tsqd-queries-overflow-container");
6598
5415
  _v$4 !== _p$._v$4 && className(_el$5, _p$._v$4 = _v$4);
6599
5416
  _v$5 !== _p$._v$5 && ((_p$._v$5 = _v$5) != null ? _el$5.style.setProperty("height", _v$5) : _el$5.style.removeProperty("height"));
6600
5417
  _v$6 !== _p$._v$6 && ((_p$._v$6 = _v$6) != null ? _el$5.style.setProperty("width", _v$6) : _el$5.style.removeProperty("width"));
@@ -6686,13 +5503,13 @@ var init_Devtools = __esm({
6686
5503
  }
6687
5504
  }), null);
6688
5505
  createRenderEffect((_p$) => {
6689
- const _v$27 = cx(styles.queryRow, selectedQueryHash() === props.query.queryHash && styles.selectedQueryRow), _v$28 = `Query key ${props.query.queryHash}`, _v$29 = cx("TSQDObserverCount", color() === "gray" ? css`
5506
+ const _v$27 = clsx(styles.queryRow, selectedQueryHash() === props.query.queryHash && styles.selectedQueryRow, "tsqd-query-row"), _v$28 = `Query key ${props.query.queryHash}`, _v$29 = clsx(color() === "gray" ? u`
6690
5507
  background-color: ${tokens.colors[color()][700]};
6691
5508
  color: ${tokens.colors[color()][300]};
6692
- ` : css`
5509
+ ` : u`
6693
5510
  background-color: ${tokens.colors[color()][900]};
6694
- color: ${tokens.colors[color()][300]} !important;
6695
- `);
5511
+ color: ${tokens.colors[color()][300]};
5512
+ `, "tsqd-query-observer-count");
6696
5513
  _v$27 !== _p$._v$27 && className(_el$42, _p$._v$27 = _v$27);
6697
5514
  _v$28 !== _p$._v$28 && setAttribute(_el$42, "aria-label", _p$._v$28 = _v$28);
6698
5515
  _v$29 !== _p$._v$29 && className(_el$43, _p$._v$29 = _v$29);
@@ -6750,7 +5567,7 @@ var init_Devtools = __esm({
6750
5567
  return inactive();
6751
5568
  }
6752
5569
  }), null);
6753
- createRenderEffect(() => className(_el$46, styles.queryStatusContainer));
5570
+ createRenderEffect(() => className(_el$46, clsx(styles.queryStatusContainer, "tsqd-query-status-container")));
6754
5571
  return _el$46;
6755
5572
  })();
6756
5573
  };
@@ -6786,15 +5603,15 @@ var init_Devtools = __esm({
6786
5603
  return showLabel();
6787
5604
  },
6788
5605
  get ["class"]() {
6789
- return cx(styles.queryStatusTag, !showLabel() ? css`
6790
- cursor: pointer;
6791
- &:hover {
6792
- background: ${tokens.colors.darkGray[400]}${tokens.alpha[80]};
6793
- }
6794
- ` : null);
5606
+ return clsx(styles.queryStatusTag, !showLabel() && u`
5607
+ cursor: pointer;
5608
+ &:hover {
5609
+ background: ${tokens.colors.darkGray[400]}${tokens.alpha[80]};
5610
+ }
5611
+ `, "tsqd-query-status-tag", `tsqd-query-status-tag-${props.label.toLowerCase()}`);
6795
5612
  }
6796
5613
  }, () => mouseOver() || focused() ? {
6797
- "aria-describedby": "TSQD-status-tooltip"
5614
+ "aria-describedby": "tsqd-status-tooltip"
6798
5615
  } : {}), false, true);
6799
5616
  insert(_el$47, createComponent(Show, {
6800
5617
  get when() {
@@ -6803,7 +5620,7 @@ var init_Devtools = __esm({
6803
5620
  get children() {
6804
5621
  const _el$48 = _tmpl$102();
6805
5622
  insert(_el$48, () => props.label);
6806
- createRenderEffect(() => className(_el$48, cx(styles.statusTooltip)));
5623
+ createRenderEffect(() => className(_el$48, clsx(styles.statusTooltip, "tsqd-query-status-tooltip")));
6807
5624
  return _el$48;
6808
5625
  }
6809
5626
  }), _el$49);
@@ -6819,17 +5636,17 @@ var init_Devtools = __esm({
6819
5636
  }), _el$51);
6820
5637
  insert(_el$51, () => props.count);
6821
5638
  createRenderEffect((_p$) => {
6822
- const _v$30 = css`
6823
- width: ${tokens.size[2]};
6824
- height: ${tokens.size[2]};
6825
- border-radius: ${tokens.border.radius.full};
6826
- background-color: ${tokens.colors[props.color][500]};
6827
- `, _v$31 = cx(styles.queryStatusCount, props.count > 0 && props.color !== "gray" ? css`
5639
+ const _v$30 = clsx(u`
5640
+ width: ${tokens.size[2]};
5641
+ height: ${tokens.size[2]};
5642
+ border-radius: ${tokens.border.radius.full};
5643
+ background-color: ${tokens.colors[props.color][500]};
5644
+ `, "tsqd-query-status-tag-dot"), _v$31 = clsx(styles.queryStatusCount, props.count > 0 && props.color !== "gray" ? u`
6828
5645
  background-color: ${tokens.colors[props.color][900]};
6829
- color: ${tokens.colors[props.color][300]} !important;
6830
- ` : css`
6831
- color: ${tokens.colors["gray"][400]} !important;
6832
- `);
5646
+ color: ${tokens.colors[props.color][300]};
5647
+ ` : u`
5648
+ color: ${tokens.colors["gray"][400]};
5649
+ `, "tsqd-query-status-tag-count");
6833
5650
  _v$30 !== _p$._v$30 && className(_el$49, _p$._v$30 = _v$30);
6834
5651
  _v$31 !== _p$._v$31 && className(_el$51, _p$._v$31 = _v$31);
6835
5652
  return _p$;
@@ -6955,9 +5772,9 @@ var init_Devtools = __esm({
6955
5772
  };
6956
5773
  insert(_el$76, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$78);
6957
5774
  createRenderEffect((_p$) => {
6958
- const _v$32 = css`
6959
- color: ${tokens.colors.red[400]};
6960
- `, _v$33 = queryStatus() === "pending", _v$34 = css`
5775
+ const _v$32 = clsx(u`
5776
+ color: ${tokens.colors.red[400]};
5777
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$33 = queryStatus() === "pending", _v$34 = u`
6961
5778
  background-color: ${tokens.colors.red[400]};
6962
5779
  `;
6963
5780
  _v$32 !== _p$._v$32 && className(_el$76, _p$._v$32 = _v$32);
@@ -6978,8 +5795,8 @@ var init_Devtools = __esm({
6978
5795
  },
6979
5796
  get children() {
6980
5797
  const _el$79 = _tmpl$14(), _el$80 = _el$79.firstChild, _el$81 = _el$80.nextSibling, _el$82 = _el$81.nextSibling; _el$82.firstChild;
6981
- _el$82.addEventListener("change", (e) => {
6982
- const errorType = errorTypes().find((t) => t.name === e.currentTarget.value);
5798
+ _el$82.addEventListener("change", (e2) => {
5799
+ const errorType = errorTypes().find((t2) => t2.name === e2.currentTarget.value);
6983
5800
  triggerError(errorType);
6984
5801
  });
6985
5802
  insert(_el$82, createComponent(For, {
@@ -6995,7 +5812,7 @@ var init_Devtools = __esm({
6995
5812
  }), null);
6996
5813
  insert(_el$79, createComponent(ChevronDown, {}), null);
6997
5814
  createRenderEffect((_p$) => {
6998
- const _v$35 = styles.actionsSelect, _v$36 = css`
5815
+ const _v$35 = clsx(styles.actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$36 = u`
6999
5816
  background-color: ${tokens.colors.red[400]};
7000
5817
  `, _v$37 = queryStatus() === "pending";
7001
5818
  _v$35 !== _p$._v$35 && className(_el$79, _p$._v$35 = _v$35);
@@ -7028,31 +5845,31 @@ var init_Devtools = __esm({
7028
5845
  }
7029
5846
  }));
7030
5847
  createRenderEffect((_p$) => {
7031
- const _v$38 = styles.detailsContainer, _v$39 = styles.detailsHeader, _v$40 = styles.detailsBody, _v$41 = cx(styles.queryDetailsStatus, color() === "gray" ? css`
5848
+ const _v$38 = clsx(styles.detailsContainer, "tsqd-query-details-container"), _v$39 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$40 = clsx(styles.detailsBody, "tsqd-query-details-summary-container"), _v$41 = clsx(styles.queryDetailsStatus, color() === "gray" ? u`
7032
5849
  background-color: ${tokens.colors[color()][700]};
7033
5850
  color: ${tokens.colors[color()][300]};
7034
5851
  border-color: ${tokens.colors[color()][600]};
7035
- ` : css`
5852
+ ` : u`
7036
5853
  background-color: ${tokens.colors[color()][900]};
7037
5854
  color: ${tokens.colors[color()][300]};
7038
5855
  border-color: ${tokens.colors[color()][600]};
7039
- `), _v$42 = styles.detailsHeader, _v$43 = styles.actionsBody, _v$44 = css`
7040
- color: ${tokens.colors.blue[400]};
7041
- `, _v$45 = statusLabel() === "fetching", _v$46 = css`
5856
+ `), _v$42 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$43 = clsx(styles.actionsBody, "tsqd-query-details-actions-container"), _v$44 = clsx(u`
5857
+ color: ${tokens.colors.blue[400]};
5858
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$45 = statusLabel() === "fetching", _v$46 = u`
7042
5859
  background-color: ${tokens.colors.blue[400]};
7043
- `, _v$47 = css`
7044
- color: ${tokens.colors.yellow[400]};
7045
- `, _v$48 = queryStatus() === "pending", _v$49 = css`
5860
+ `, _v$47 = clsx(u`
5861
+ color: ${tokens.colors.yellow[400]};
5862
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$48 = queryStatus() === "pending", _v$49 = u`
7046
5863
  background-color: ${tokens.colors.yellow[400]};
7047
- `, _v$50 = css`
7048
- color: ${tokens.colors.gray[300]};
7049
- `, _v$51 = queryStatus() === "pending", _v$52 = css`
5864
+ `, _v$50 = clsx(u`
5865
+ color: ${tokens.colors.gray[300]};
5866
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$51 = queryStatus() === "pending", _v$52 = u`
7050
5867
  background-color: ${tokens.colors.gray[400]};
7051
- `, _v$53 = css`
7052
- color: ${tokens.colors.cyan[400]};
7053
- `, _v$54 = restoringLoading(), _v$55 = css`
5868
+ `, _v$53 = clsx(u`
5869
+ color: ${tokens.colors.cyan[400]};
5870
+ `, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$54 = restoringLoading(), _v$55 = u`
7054
5871
  background-color: ${tokens.colors.cyan[400]};
7055
- `, _v$56 = styles.detailsHeader, _v$57 = styles.detailsHeader;
5872
+ `, _v$56 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$57 = clsx(styles.detailsHeader, "tsqd-query-details-header");
7056
5873
  _v$38 !== _p$._v$38 && className(_el$52, _p$._v$38 = _v$38);
7057
5874
  _v$39 !== _p$._v$39 && className(_el$53, _p$._v$39 = _v$39);
7058
5875
  _v$40 !== _p$._v$40 && className(_el$54, _p$._v$40 = _v$40);
@@ -7146,10 +5963,11 @@ var init_Devtools = __esm({
7146
5963
  border
7147
5964
  } = tokens;
7148
5965
  return {
7149
- devtoolsBtn: css`
5966
+ devtoolsBtn: u`
7150
5967
  z-index: 100000;
7151
5968
  position: fixed;
7152
5969
  padding: 4px;
5970
+ text-align: left;
7153
5971
 
7154
5972
  display: flex;
7155
5973
  align-items: center;
@@ -7199,7 +6017,7 @@ var init_Devtools = __esm({
7199
6017
  }
7200
6018
  }
7201
6019
  `,
7202
- panel: css`
6020
+ panel: u`
7203
6021
  position: fixed;
7204
6022
  z-index: 9999;
7205
6023
  display: flex;
@@ -7211,23 +6029,23 @@ var init_Devtools = __esm({
7211
6029
  text-transform: none;
7212
6030
  }
7213
6031
  `,
7214
- "devtoolsBtn-position-bottom-right": css`
6032
+ "devtoolsBtn-position-bottom-right": u`
7215
6033
  bottom: 12px;
7216
6034
  right: 12px;
7217
6035
  `,
7218
- "devtoolsBtn-position-bottom-left": css`
6036
+ "devtoolsBtn-position-bottom-left": u`
7219
6037
  bottom: 12px;
7220
6038
  left: 12px;
7221
6039
  `,
7222
- "devtoolsBtn-position-top-left": css`
6040
+ "devtoolsBtn-position-top-left": u`
7223
6041
  top: 12px;
7224
6042
  left: 12px;
7225
6043
  `,
7226
- "devtoolsBtn-position-top-right": css`
6044
+ "devtoolsBtn-position-top-right": u`
7227
6045
  top: 12px;
7228
6046
  right: 12px;
7229
6047
  `,
7230
- "panel-position-top": css`
6048
+ "panel-position-top": u`
7231
6049
  top: 0;
7232
6050
  right: 0;
7233
6051
  left: 0;
@@ -7235,7 +6053,7 @@ var init_Devtools = __esm({
7235
6053
  min-height: 3.5rem;
7236
6054
  border-bottom: ${colors.darkGray[300]} 1px solid;
7237
6055
  `,
7238
- "panel-position-bottom": css`
6056
+ "panel-position-bottom": u`
7239
6057
  bottom: 0;
7240
6058
  right: 0;
7241
6059
  left: 0;
@@ -7243,21 +6061,21 @@ var init_Devtools = __esm({
7243
6061
  min-height: 3.5rem;
7244
6062
  border-top: ${colors.darkGray[300]} 1px solid;
7245
6063
  `,
7246
- "panel-position-right": css`
6064
+ "panel-position-right": u`
7247
6065
  bottom: 0;
7248
6066
  right: 0;
7249
6067
  top: 0;
7250
6068
  border-left: ${colors.darkGray[300]} 1px solid;
7251
6069
  max-width: 90%;
7252
6070
  `,
7253
- "panel-position-left": css`
6071
+ "panel-position-left": u`
7254
6072
  bottom: 0;
7255
6073
  left: 0;
7256
6074
  top: 0;
7257
6075
  border-right: ${colors.darkGray[300]} 1px solid;
7258
6076
  max-width: 90%;
7259
6077
  `,
7260
- closeBtn: css`
6078
+ closeBtn: u`
7261
6079
  position: absolute;
7262
6080
  cursor: pointer;
7263
6081
  z-index: 5;
@@ -7272,7 +6090,7 @@ var init_Devtools = __esm({
7272
6090
  outline: 2px solid ${colors.blue[600]};
7273
6091
  }
7274
6092
  `,
7275
- "closeBtn-position-top": css`
6093
+ "closeBtn-position-top": u`
7276
6094
  bottom: 0;
7277
6095
  right: ${size[3]};
7278
6096
  transform: translate(0, 100%);
@@ -7297,7 +6115,7 @@ var init_Devtools = __esm({
7297
6115
  transform: rotate(180deg);
7298
6116
  }
7299
6117
  `,
7300
- "closeBtn-position-bottom": css`
6118
+ "closeBtn-position-bottom": u`
7301
6119
  top: 0;
7302
6120
  right: ${size[3]};
7303
6121
  transform: translate(0, -100%);
@@ -7318,7 +6136,7 @@ var init_Devtools = __esm({
7318
6136
  width: calc(100% + ${size[5]});
7319
6137
  }
7320
6138
  `,
7321
- "closeBtn-position-right": css`
6139
+ "closeBtn-position-right": u`
7322
6140
  bottom: ${size[3]};
7323
6141
  left: 0;
7324
6142
  transform: translate(-100%, 0);
@@ -7342,7 +6160,7 @@ var init_Devtools = __esm({
7342
6160
  transform: rotate(-90deg);
7343
6161
  }
7344
6162
  `,
7345
- "closeBtn-position-left": css`
6163
+ "closeBtn-position-left": u`
7346
6164
  bottom: ${size[3]};
7347
6165
  right: 0;
7348
6166
  transform: translate(100%, 0);
@@ -7366,13 +6184,13 @@ var init_Devtools = __esm({
7366
6184
  transform: rotate(90deg);
7367
6185
  }
7368
6186
  `,
7369
- queriesContainer: css`
6187
+ queriesContainer: u`
7370
6188
  flex: 1 1 700px;
7371
6189
  background-color: ${colors.darkGray[700]};
7372
6190
  display: flex;
7373
6191
  flex-direction: column;
7374
6192
  `,
7375
- dragHandle: css`
6193
+ dragHandle: u`
7376
6194
  position: absolute;
7377
6195
  transition: background-color 0.125s ease;
7378
6196
  &:hover {
@@ -7380,31 +6198,31 @@ var init_Devtools = __esm({
7380
6198
  }
7381
6199
  z-index: 4;
7382
6200
  `,
7383
- "dragHandle-position-top": css`
6201
+ "dragHandle-position-top": u`
7384
6202
  bottom: 0;
7385
6203
  width: 100%;
7386
6204
  height: ${tokens.size[1]};
7387
6205
  cursor: ns-resize;
7388
6206
  `,
7389
- "dragHandle-position-bottom": css`
6207
+ "dragHandle-position-bottom": u`
7390
6208
  top: 0;
7391
6209
  width: 100%;
7392
6210
  height: ${tokens.size[1]};
7393
6211
  cursor: ns-resize;
7394
6212
  `,
7395
- "dragHandle-position-right": css`
6213
+ "dragHandle-position-right": u`
7396
6214
  left: 0;
7397
6215
  width: ${tokens.size[1]};
7398
6216
  height: 100%;
7399
6217
  cursor: ew-resize;
7400
6218
  `,
7401
- "dragHandle-position-left": css`
6219
+ "dragHandle-position-left": u`
7402
6220
  right: 0;
7403
6221
  width: ${tokens.size[1]};
7404
6222
  height: 100%;
7405
6223
  cursor: ew-resize;
7406
6224
  `,
7407
- row: css`
6225
+ row: u`
7408
6226
  display: flex;
7409
6227
  justify-content: space-between;
7410
6228
  padding: ${tokens.size[2.5]} ${tokens.size[3]};
@@ -7419,7 +6237,7 @@ var init_Devtools = __esm({
7419
6237
  flex-direction: column;
7420
6238
  }
7421
6239
  `,
7422
- logo: css`
6240
+ logo: u`
7423
6241
  cursor: pointer;
7424
6242
  &:hover {
7425
6243
  opacity: 0.7;
@@ -7430,27 +6248,28 @@ var init_Devtools = __esm({
7430
6248
  outline: 2px solid ${colors.blue[800]};
7431
6249
  }
7432
6250
  `,
7433
- tanstackLogo: css`
6251
+ tanstackLogo: u`
7434
6252
  font-size: ${font.size.lg};
7435
6253
  font-weight: ${font.weight.extrabold};
7436
6254
  line-height: ${font.lineHeight.sm};
7437
6255
  white-space: nowrap;
7438
6256
  `,
7439
- queryFlavorLogo: css`
6257
+ queryFlavorLogo: u`
7440
6258
  font-weight: ${font.weight.semibold};
7441
6259
  font-size: ${font.size.sm};
7442
6260
  background: linear-gradient(to right, #dd524b, #e9a03b);
7443
6261
  background-clip: text;
6262
+ -webkit-background-clip: text;
7444
6263
  line-height: ${font.lineHeight.xs};
7445
6264
  -webkit-text-fill-color: transparent;
7446
6265
  white-space: nowrap;
7447
6266
  `,
7448
- queryStatusContainer: css`
6267
+ queryStatusContainer: u`
7449
6268
  display: flex;
7450
6269
  gap: ${tokens.size[2]};
7451
6270
  height: min-content;
7452
6271
  `,
7453
- queryStatusTag: css`
6272
+ queryStatusTag: u`
7454
6273
  display: flex;
7455
6274
  gap: ${tokens.size[1.5]};
7456
6275
  background: ${colors.darkGray[500]};
@@ -7472,7 +6291,7 @@ var init_Devtools = __esm({
7472
6291
  color: ${colors.gray[300]}${alpha[80]};
7473
6292
  }
7474
6293
  `,
7475
- statusTooltip: css`
6294
+ statusTooltip: u`
7476
6295
  position: absolute;
7477
6296
  z-index: 1;
7478
6297
  background-color: ${colors.darkGray[500]};
@@ -7511,10 +6330,10 @@ var init_Devtools = __esm({
7511
6330
  border-width: 7px;
7512
6331
  }
7513
6332
  `,
7514
- selectedQueryRow: css`
6333
+ selectedQueryRow: u`
7515
6334
  background-color: ${colors.darkGray[500]};
7516
6335
  `,
7517
- queryStatusCount: css`
6336
+ queryStatusCount: u`
7518
6337
  padding: 0 8px;
7519
6338
  display: flex;
7520
6339
  align-items: center;
@@ -7524,7 +6343,7 @@ var init_Devtools = __esm({
7524
6343
  border-radius: 3px;
7525
6344
  font-variant-numeric: tabular-nums;
7526
6345
  `,
7527
- filtersContainer: css`
6346
+ filtersContainer: u`
7528
6347
  display: flex;
7529
6348
  gap: ${tokens.size[2.5]};
7530
6349
  & > button {
@@ -7547,7 +6366,7 @@ var init_Devtools = __esm({
7547
6366
  }
7548
6367
  }
7549
6368
  `,
7550
- filterInput: css`
6369
+ filterInput: u`
7551
6370
  padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
7552
6371
  border-radius: ${tokens.border.radius.md};
7553
6372
  background-color: ${colors.darkGray[400]};
@@ -7585,7 +6404,7 @@ var init_Devtools = __esm({
7585
6404
  outline: 2px solid ${colors.blue[800]};
7586
6405
  }
7587
6406
  `,
7588
- filterSelect: css`
6407
+ filterSelect: u`
7589
6408
  padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
7590
6409
  border-radius: ${tokens.border.radius.md};
7591
6410
  background-color: ${colors.darkGray[400]};
@@ -7617,15 +6436,15 @@ var init_Devtools = __esm({
7617
6436
  outline: 2px solid ${colors.blue[800]};
7618
6437
  }
7619
6438
  `,
7620
- actionsContainer: css`
6439
+ actionsContainer: u`
7621
6440
  display: flex;
7622
6441
  gap: ${tokens.size[2.5]};
7623
6442
  `,
7624
- actionsBtn: css`
6443
+ actionsBtn: u`
7625
6444
  border-radius: ${tokens.border.radius.md};
7626
6445
  background-color: ${colors.darkGray[400]};
7627
- width: 2.125rem; // 34px
7628
- height: 2.125rem; // 34px
6446
+ width: 2.125rem;
6447
+ height: 2.125rem;
7629
6448
  justify-content: center;
7630
6449
  display: flex;
7631
6450
  align-items: center;
@@ -7647,7 +6466,7 @@ var init_Devtools = __esm({
7647
6466
  outline: 2px solid ${colors.blue[800]};
7648
6467
  }
7649
6468
  `,
7650
- overflowQueryContainer: css`
6469
+ overflowQueryContainer: u`
7651
6470
  flex: 1;
7652
6471
  overflow-y: auto;
7653
6472
  & > div {
@@ -7655,27 +6474,30 @@ var init_Devtools = __esm({
7655
6474
  flex-direction: column;
7656
6475
  }
7657
6476
  `,
7658
- queryRow: css`
6477
+ queryRow: u`
7659
6478
  display: flex;
7660
6479
  align-items: center;
7661
6480
  padding: 0;
7662
6481
  background-color: inherit;
7663
6482
  border: none;
7664
6483
  cursor: pointer;
6484
+ &:focus {
6485
+ outline: none;
6486
+ }
7665
6487
  &:focus-visible {
7666
6488
  outline-offset: -2px;
7667
6489
  border-radius: ${border.radius.xs};
7668
6490
  outline: 2px solid ${colors.blue[800]};
7669
6491
  }
7670
- &:hover .TSQDQueryHash {
6492
+ &:hover .tsqd-query-hash {
7671
6493
  background-color: ${colors.darkGray[600]};
7672
6494
  }
7673
6495
 
7674
- & .TSQDObserverCount {
6496
+ & .tsqd-query-observer-count {
7675
6497
  padding: 0 ${tokens.size[1]};
7676
6498
  user-select: none;
7677
6499
  min-width: ${tokens.size[8]};
7678
- align-self: stretch !important;
6500
+ align-self: stretch;
7679
6501
  display: flex;
7680
6502
  align-items: center;
7681
6503
  justify-content: center;
@@ -7683,7 +6505,7 @@ var init_Devtools = __esm({
7683
6505
  font-weight: ${font.weight.medium};
7684
6506
  border-bottom: 1px solid ${colors.darkGray[700]};
7685
6507
  }
7686
- & .TSQDQueryHash {
6508
+ & .tsqd-query-hash {
7687
6509
  user-select: text;
7688
6510
  font-size: ${font.size.sm};
7689
6511
  display: flex;
@@ -7691,16 +6513,15 @@ var init_Devtools = __esm({
7691
6513
  min-height: ${tokens.size[8]};
7692
6514
  flex: 1;
7693
6515
  padding: ${tokens.size[1]} ${tokens.size[2]};
7694
- font-family: 'Menlo', 'Fira Code', monospace !important;
6516
+ font-family: 'Menlo', 'Fira Code', monospace;
7695
6517
  border-bottom: 1px solid ${colors.darkGray[400]};
7696
6518
  text-align: left;
7697
6519
  text-overflow: clip;
7698
6520
  word-break: break-word;
7699
6521
  }
7700
6522
 
7701
- & .TSQDQueryDisabled {
6523
+ & .tsqd-query-disabled-indicator {
7702
6524
  align-self: stretch;
7703
- align-self: stretch !important;
7704
6525
  display: flex;
7705
6526
  align-items: center;
7706
6527
  padding: 0 ${tokens.size[3]};
@@ -7710,15 +6531,16 @@ var init_Devtools = __esm({
7710
6531
  font-size: ${font.size.sm};
7711
6532
  }
7712
6533
  `,
7713
- detailsContainer: css`
6534
+ detailsContainer: u`
7714
6535
  flex: 1 1 700px;
7715
6536
  background-color: ${colors.darkGray[700]};
7716
6537
  display: flex;
7717
6538
  flex-direction: column;
7718
6539
  overflow-y: auto;
7719
6540
  display: flex;
6541
+ text-align: left;
7720
6542
  `,
7721
- detailsHeader: css`
6543
+ detailsHeader: u`
7722
6544
  position: sticky;
7723
6545
  top: 0;
7724
6546
  z-index: 2;
@@ -7726,8 +6548,9 @@ var init_Devtools = __esm({
7726
6548
  padding: ${tokens.size[2]} ${tokens.size[2]};
7727
6549
  font-weight: ${font.weight.medium};
7728
6550
  font-size: ${font.size.sm};
6551
+ text-align: left;
7729
6552
  `,
7730
- detailsBody: css`
6553
+ detailsBody: u`
7731
6554
  margin: ${tokens.size[2]} 0px ${tokens.size[3]} 0px;
7732
6555
  & > div {
7733
6556
  display: flex;
@@ -7748,19 +6571,19 @@ var init_Devtools = __esm({
7748
6571
  }
7749
6572
 
7750
6573
  & code {
7751
- font-family: 'Menlo', 'Fira Code', monospace !important;
6574
+ font-family: 'Menlo', 'Fira Code', monospace;
7752
6575
  margin: 0;
7753
6576
  font-size: ${font.size.sm};
7754
6577
  line-height: ${font.lineHeight.sm};
7755
6578
  }
7756
6579
  `,
7757
- queryDetailsStatus: css`
6580
+ queryDetailsStatus: u`
7758
6581
  border: 1px solid ${colors.darkGray[200]};
7759
6582
  border-radius: ${tokens.border.radius.md};
7760
6583
  font-weight: ${font.weight.medium};
7761
6584
  padding: ${tokens.size[1]} ${tokens.size[2.5]};
7762
6585
  `,
7763
- actionsBody: css`
6586
+ actionsBody: u`
7764
6587
  flex-wrap: wrap;
7765
6588
  margin: ${tokens.size[3]} 0px ${tokens.size[3]} 0px;
7766
6589
  display: flex;
@@ -7799,7 +6622,7 @@ var init_Devtools = __esm({
7799
6622
  }
7800
6623
  }
7801
6624
  `,
7802
- actionsSelect: css`
6625
+ actionsSelect: u`
7803
6626
  font-size: ${font.size.sm};
7804
6627
  padding: ${tokens.size[2]} ${tokens.size[2]};
7805
6628
  display: flex;
@@ -7841,10 +6664,10 @@ var init_Devtools = __esm({
7841
6664
  }
7842
6665
 
7843
6666
  & svg path {
7844
- stroke: ${tokens.colors.red[400]} !important;
6667
+ stroke: ${tokens.colors.red[400]};
7845
6668
  }
7846
6669
  `,
7847
- settingsMenu: css`
6670
+ settingsMenu: u`
7848
6671
  position: absolute;
7849
6672
  top: calc(100% + ${tokens.size[2]});
7850
6673
  border-radius: ${tokens.border.radius.lg};
@@ -7856,12 +6679,12 @@ var init_Devtools = __esm({
7856
6679
  color: ${colors.gray[500]};
7857
6680
  z-index: 7;
7858
6681
  `,
7859
- settingsMenuHeader: css`
6682
+ settingsMenuHeader: u`
7860
6683
  padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
7861
6684
  color: ${colors.gray[300]};
7862
6685
  font-weight: ${font.weight.medium};
7863
6686
  `,
7864
- settingsMenuSection: css`
6687
+ settingsMenuSection: u`
7865
6688
  border-top: 1px solid ${colors.gray[600]};
7866
6689
  display: flex;
7867
6690
  flex-direction: column;
@@ -7916,7 +6739,7 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
7916
6739
  version,
7917
6740
  onlineManager,
7918
6741
  buttonPosition,
7919
- position: position2,
6742
+ position,
7920
6743
  initialIsOpen,
7921
6744
  errorTypes
7922
6745
  } = config;
@@ -7925,15 +6748,15 @@ exports.TanstackQueryDevtools = class TanstackQueryDevtools {
7925
6748
  this.version = version;
7926
6749
  this.onlineManager = onlineManager;
7927
6750
  this.buttonPosition = createSignal(buttonPosition);
7928
- this.position = createSignal(position2);
6751
+ this.position = createSignal(position);
7929
6752
  this.initialIsOpen = createSignal(initialIsOpen);
7930
6753
  this.errorTypes = createSignal(errorTypes);
7931
6754
  }
7932
- setButtonPosition(position2) {
7933
- this.buttonPosition[1](position2);
6755
+ setButtonPosition(position) {
6756
+ this.buttonPosition[1](position);
7934
6757
  }
7935
- setPosition(position2) {
7936
- this.position[1](position2);
6758
+ setPosition(position) {
6759
+ this.position[1](position);
7937
6760
  }
7938
6761
  setInitialIsOpen(isOpen) {
7939
6762
  this.initialIsOpen[1](isOpen);